/* Revenue Hub 1.2.0 – high-contrast US/USD interface. Loaded after base CSS. */
.dcsrh, body.dcsrh-standalone {font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif;font-size:15px;line-height:1.55;-webkit-font-smoothing:antialiased;}
body.dcsrh-standalone {background:#eef2f6;color:#142435;}
.dcsrh .rh-panel {background:#ffffff;color:#152637;border-color:#cbd5df;}
.dcsrh .rh-panel h1,.dcsrh .rh-panel h2,.dcsrh .rh-panel h3,.dcsrh .rh-panel h4 {color:#112338;line-height:1.28;}
.dcsrh .rh-panel p,.dcsrh .rh-panel li,.dcsrh .rh-panel label,.dcsrh .rh-panel td,.dcsrh .rh-panel th {color:#253648;}
.dcsrh .rh-panel table{background:#fff;color:#243549;border-collapse:collapse;width:100%;}
.dcsrh .rh-panel th{background:#e8eef5;color:#10263b!important;font-size:14px;font-weight:750;border-bottom:2px solid #b9c8d6;}
.dcsrh .rh-panel td{font-size:14px;border-bottom:1px solid #d9e1e9;}
.dcsrh .rh-panel tr:nth-child(even) td{background:#f7fafc;}
.dcsrh .rh-panel a:not(.button){color:#164e84;font-weight:650;text-decoration:underline;text-underline-offset:2px;}
.dcsrh .rh-panel a:not(.button):hover{color:#0b355b;}
.dcsrh .rh-form,.dcsrh .rh-team-form{background:#f0f5f9;border:1px solid #d2dce7;}
.dcsrh .rh-form label,.dcsrh .rh-team-form label{color:#182a3d;font-size:14px;font-weight:650;}
.dcsrh .rh-form input,.dcsrh .rh-form select,.dcsrh .rh-form textarea,.dcsrh .rh-team-form input:not([type=checkbox]),.dcsrh .rh-team-form select {background:#fff!important;color:#112335!important;border:1.5px solid #879bad!important;box-shadow:none!important;font-size:15px;min-height:44px;}
.dcsrh input::placeholder, body.dcsrh-standalone input::placeholder{color:#586b7e;opacity:1;}
.dcsrh .rh-form input:focus,.dcsrh .rh-form select:focus,.dcsrh .rh-form textarea:focus,.dcsrh .rh-team-form input:focus{border-color:#8b5b16!important;outline:3px solid #f3daaa;outline-offset:1px;}
.dcsrh .rh-nav a{background:#fff;color:#142d44;border-color:#bfcddd;font-size:14px;}
.dcsrh .rh-nav a.on{background:#1a3047;color:#ffda9f;border-color:#9e6923;}
.dcsrh .rh-nav a:focus-visible,.dcsrh a:focus-visible,.dcsrh button:focus-visible,body.dcsrh-standalone a:focus-visible,body.dcsrh-standalone button:focus-visible{outline:3px solid #d89934;outline-offset:3px;}
.dcsrh .rh-head{background:linear-gradient(120deg,#142436 0%,#2d3b49 55%,#5b431f 100%);}
.dcsrh .rh-head p{color:#e6edf5;font-size:15px;}
.dcsrh .rh-metric{background:#172d40;color:#fff;}
.dcsrh .rh-metric strong{color:#ffe0a9;}
.dcsrh .rh-metric small{color:#e0eaf3;font-size:13px;}
.dcsrh .rh-note{background:#fff3d8;border-left:4px solid #9f6a1c;color:#3e311f;}
.dcsrh .rh-note *{color:inherit;}
.dcsrh .rh-warning{background:#fff3e3;color:#603710;border:1px solid #d7a45c;border-left:5px solid #a15f07;border-radius:9px;padding:14px 17px;margin:10px 0 20px;font-size:14px;}
.dcsrh .rh-policy-strip{background:#e8f0f8;border:1px solid #c4d4e5;color:#14334d;display:flex;gap:10px 26px;flex-wrap:wrap;align-items:center;border-radius:10px;padding:12px 16px;font-size:14px;margin-bottom:22px;}
.dcsrh .rh-policy-strip strong{color:#0f3554;}
.dcsrh .rh-inline .button,.dcsrh .rh-form button,.dcsrh .rh-team-form .rh-primary{color:#fff!important;background:#1c3851!important;border-color:#1c3851!important;font-size:14px;font-weight:700;}
.dcsrh .rh-inline .button:hover,.dcsrh .rh-form button:hover,.dcsrh .rh-team-form .rh-primary:hover{background:#244e70!important;}
body.dcsrh-standalone .rh-app-main{background:#edf2f7;}
body.dcsrh-standalone .rh-login-form-panel{background:#fff;}
body.dcsrh-standalone .rh-login-form-container h2{color:#112637;font-weight:800;line-height:1.25;}
body.dcsrh-standalone .rh-login-description{color:#354e63;font-size:15px;}
body.dcsrh-standalone .rh-login-form-container form>label{color:#142c41;font-size:14px;}
body.dcsrh-standalone .rh-login-form-container input:not([type=checkbox]){background:#fff;color:#142435;border:1.5px solid #8298ab;font-size:16px;min-height:52px;}
body.dcsrh-standalone .rh-login-options label{color:#203d56;font-size:14px;}
body.dcsrh-standalone .rh-login-options a{color:#70420d!important;text-decoration:underline;}
body.dcsrh-standalone .rh-login-help{color:#3a5266;font-size:13px;}
body.dcsrh-standalone .rh-login-hero p{color:#e0eaf4;font-size:17px;}
body.dcsrh-standalone .rh-login-copyright{color:#bdcddd;}
body.dcsrh-standalone .rh-login-region{font-size:14px;color:#173c58;background:#e8f1f9;border:1px solid #ccdae7;border-radius:9px;padding:12px 15px;margin:0 0 18px;}
body.dcsrh-standalone .rh-login-submit{background:#a96c19;color:#fff;font-size:16px;min-height:53px;}
body.dcsrh-standalone .rh-login-submit:hover{background:#83500f;color:#fff;}
body.dcsrh-standalone .rh-app-user span{color:#f0f4fa;}
body.dcsrh-standalone .rh-app-user a{border-color:#f1c47c;color:#ffe0aa!important;}
@media(max-width:640px){.dcsrh .rh-panel{padding:16px}.dcsrh .rh-policy-strip{display:grid;gap:4px}.dcsrh .rh-panel th,.dcsrh .rh-panel td{font-size:13px}.dcsrh .rh-nav a{font-size:13px;padding:10px}.rh-login-shell{grid-template-columns:1fr}}
/* Revenue Hub invoice management */
.dcsrh .rh-invoice-action {margin:12px 0;padding:12px 16px;border:1px solid #c9d2dd;border-radius:9px;background:#fff;color:#172334;}
.dcsrh .rh-invoice-action summary {cursor:pointer;font-size:15px;font-weight:700;color:#16253a;}
.dcsrh .rh-invoice-action[open] {border-color:#9aafc6;}
.dcsrh .rh-invoice-action .rh-destructive {margin-top:14px;padding-top:12px;border-top:1px solid #e3e8ed;}
.dcsrh .rh-invoice-action .rh-destructive button {border:1px solid #aa3141;color:#902536;background:#fff;font-weight:700;}
.dcsrh .rh-invoice-action label {color:#132339;}

/* v1.4.0: invoice editor legibility and prominent destructive controls */
.dcsrh .rh-invoice-action{border:1px solid #b1c2d2;box-shadow:0 2px 7px rgba(15,36,56,.06);margin:14px 0;padding:16px;background:#fff}
.dcsrh .rh-invoice-action summary{font-size:16px;line-height:1.6;color:#17324b;list-style-position:inside}
.dcsrh .rh-invoice-action summary:hover{color:#65420e}
.dcsrh .rh-action-hint{font-weight:500;color:#385b78}
.dcsrh .rh-invoice-action form{margin-top:14px}
.dcsrh .rh-line-item{border:1px solid #d3dde6;padding:12px 16px;margin:10px 0;border-radius:8px;background:#fff}
.dcsrh .rh-line-item legend{font-weight:700;color:#263d53}
.dcsrh .rh-invoice-action .rh-confirm{display:flex;align-items:flex-start;gap:10px;font-weight:650;line-height:1.5}
.dcsrh .rh-invoice-action .rh-confirm input{width:19px;height:19px;min-height:0;flex:none}
.dcsrh .rh-invoice-action .rh-destructive{border-top:2px solid #c6d2de}
.dcsrh .rh-invoice-action .rh-destructive button{border:1px solid #9b1f2e!important;background:#921e2d!important;color:#fff!important}
.dcsrh .rh-invoice-action .rh-destructive button:hover{background:#751827!important}
