:root{--paper:#f6f0e7;--surface:#fffdf9;--content-gradient:linear-gradient(145deg,#fffdf9 0%,#fbf5ee 100%);--ink:#1b1714;--muted:#756a62;--line:#e4dbd0;--red:#ef512f;--orange:#f47a34;--dark:#171311;--green:#1e8e5a;--yellow:#a76500;--blue:#215db0;--shadow:0 18px 55px rgba(45,30,19,.09);}
*{box-sizing:border-box;}html{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);}body{margin:0;}a{color:inherit;text-decoration:none;}button,input,select,textarea{font:inherit;}.portal-body{min-height:100vh;background:linear-gradient(180deg,#faf6ef 0,#f2eadf 100%);}
.portal-topbar{height:78px;padding:0 28px;display:flex;align-items:center;justify-content:space-between;background:rgba(255,253,249,.94);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:30;backdrop-filter:blur(12px);}.portal-brand{display:flex;align-items:center;gap:13px;font-weight:800;}.portal-brand img{width:52px;height:52px;object-fit:contain;}.portal-brand span{padding-left:12px;border-left:1px solid var(--line);font-size:14px;}.portal-user{display:flex;align-items:center;gap:16px;}.portal-user-main{display:flex;align-items:center;gap:10px;}.portal-user-main strong,.portal-user-main small{display:block;}.portal-user-main strong{font-size:14px;}.portal-user-main small{font-size:11px;color:var(--muted);margin-top:2px;}.portal-avatar,.portal-avatar-img{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:var(--dark);color:#fff;font-size:12px;font-weight:800;object-fit:cover;}.portal-logout{font-size:12px;font-weight:700;color:var(--muted);}
.portal-shell{display:grid;grid-template-columns:230px minmax(0,1fr);max-width:1500px;margin:auto;min-height:calc(100vh - 118px);}.portal-sidebar{padding:28px 18px;border-right:1px solid var(--line);display:flex;flex-direction:column;gap:5px;}.portal-sidebar a{padding:11px 13px;border-radius:12px;font-size:14px;font-weight:700;color:#544a43;}.portal-sidebar a:hover{background:#fff;color:var(--ink);}.portal-sidebar .portal-site-link{margin-top:auto;color:var(--muted);}.portal-main{padding:42px clamp(24px,4vw,62px) 70px;min-width:0;}.portal-footer{text-align:center;color:#8a7d74;font-size:11px;padding:17px;border-top:1px solid var(--line);background:#faf6ef;}
.page-title{max-width:760px;margin-bottom:30px;}.page-title>span{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--red);font-weight:900;}.page-title h1{font-size:clamp(31px,4vw,52px);line-height:1.02;margin:9px 0 12px;letter-spacing:-.04em;}.page-title p{font-size:15px;line-height:1.6;color:var(--muted);margin:0;}.top-actions{margin:-66px 0 32px;}
.grid{display:grid;gap:18px;}.grid-4{grid-template-columns:repeat(4,minmax(0,1fr));}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr));}.grid-2{grid-template-columns:repeat(2,minmax(0,1fr));}.stat-card,.panel{background:var(--content-gradient);border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow);}.stat-card{padding:23px;}.stat-card span{font-size:11px;text-transform:uppercase;letter-spacing:.09em;font-weight:800;color:var(--muted);}.stat-card strong{display:block;font-size:35px;letter-spacing:-.04em;margin-top:8px;}.panel{padding:24px;margin-top:20px;}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px;}.panel-head h2{font-size:18px;margin:0;}.panel-head p{font-size:13px;color:var(--muted);margin:4px 0 0;}.empty{padding:35px;text-align:center;border:1px dashed #d8cdc1;border-radius:17px;color:var(--muted);font-size:14px;}
.table-wrap{overflow:auto;}.data-table{width:100%;border-collapse:collapse;min-width:720px;}.data-table th{text-align:left;font-size:10px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);padding:0 12px 10px;}.data-table td{padding:14px 12px;border-top:1px solid #eee6dc;font-size:13px;vertical-align:middle;}.data-table td strong{font-size:14px;}.data-table td small{display:block;color:var(--muted);margin-top:3px;}.row-actions{display:flex;flex-wrap:wrap;gap:6px;}.status{display:inline-flex;align-items:center;justify-content:center;text-align:center;line-height:1.1;padding:6px 9px;border-radius:999px;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;background:#eee7de;color:#62574f;}.status-active,.status-approved,.status-completed{background:#dcf4e8;color:#12653e;}.status-pending,.status-submitted,.status-pending_approval,.status-scheduled{background:#fff0c9;color:#855500;}.status-rejected,.status-paused{background:#fee1dc;color:#a53625;}.status-draft{background:#e9e9e9;}.status-inactive,.status-suspended{background:#e7e3e0;}.status-running{background:#dfeafa;color:#1f5a9d;}
.btn{appearance:none;border:0;border-radius:999px;padding:11px 16px;font-size:12px;font-weight:800;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:7px;}.btn-primary{background:linear-gradient(135deg,var(--red),var(--orange));color:#fff;}.btn-dark{background:var(--dark);color:#fff;}.btn-light{background:#fff;border:1px solid var(--line);color:var(--ink);}.btn-danger{background:#fff0ed;color:#aa3828;border:1px solid #f1c9c2;}.btn-sm{padding:7px 10px;font-size:10px;}.btn[disabled]{opacity:.5;cursor:not-allowed;}
.form-card{max-width:840px;background:var(--content-gradient);border:1px solid var(--line);border-radius:24px;padding:28px;box-shadow:var(--shadow);}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;}.field{display:flex;flex-direction:column;gap:7px;}.field.full{grid-column:1/-1;}.field label{letter-spacing:.06em;}.field textarea{min-height:110px;resize:vertical;}.field small{color:var(--muted);font-size:11px;line-height:1.45;}.check-row{display:flex;align-items:center;gap:9px;font-size:13px;}.form-actions{display:flex;gap:10px;align-items:center;margin-top:22px;}.form-errors{background:#fff0ed;border:1px solid #f1c5bd;border-radius:14px;padding:12px 15px;margin-bottom:18px;color:#963526;font-size:13px;}.flash{max-width:1000px;padding:12px 15px;border-radius:13px;margin:0 0 18px;font-size:13px;}.flash-success{background:#ddf5e9;color:#165f3e;}.flash-error{background:#fee4df;color:#973829;}.flash-info{background:#e6eefb;color:#285b98;}
.auth-main{min-height:calc(100vh - 118px);display:grid;place-items:center;padding:45px 20px;}.auth-card{width:min(100%,520px);background:var(--surface);border:1px solid var(--line);border-radius:28px;padding:34px;box-shadow:var(--shadow);}.auth-brand{text-align:center;margin-bottom:25px;}.auth-brand img{width:76px;height:76px;object-fit:contain;}.auth-brand h1{font-size:31px;letter-spacing:-.04em;margin:7px 0;}.auth-brand p{margin:0;color:var(--muted);font-size:13px;line-height:1.5;}.auth-links{text-align:center;margin-top:20px;font-size:12px;color:var(--muted);}.auth-links a{font-weight:800;color:var(--ink);}
.agency-identity{display:flex;align-items:center;gap:14px;}.agency-logo{width:54px;height:54px;border-radius:14px;background:#fff;border:1px solid var(--line);display:grid;place-items:center;object-fit:contain;padding:5px;}.agency-logo-placeholder{width:54px;height:54px;border-radius:14px;background:var(--dark);color:#fff;display:grid;place-items:center;font-weight:900;}.brand-list{display:flex;flex-wrap:wrap;gap:8px;}.brand-pill{padding:8px 11px;background:#f4ece3;border-radius:999px;font-size:11px;font-weight:800;}.location-card{padding:22px;background:var(--content-gradient);border:1px solid var(--line);border-radius:20px;}.location-card h3{margin:0 0 5px;}.location-card p{margin:0;color:var(--muted);font-size:12px;}.location-specs{display:flex;flex-wrap:wrap;gap:7px;margin:14px 0;}.location-specs span{font-size:10px;background:#f1e8de;border-radius:999px;padding:6px 8px;font-weight:800;}
.profile-block{display:flex;align-items:center;gap:18px;}.profile-large,.profile-large img{width:92px;height:92px;border-radius:50%;object-fit:cover;}.profile-large{display:grid;place-items:center;background:var(--dark);color:#fff;font-size:26px;font-weight:900;}.note{font-size:12px;line-height:1.55;color:var(--muted);padding:12px 14px;background:#f5eee6;border-radius:13px;}.divider{height:1px;background:var(--line);margin:22px 0;}
@media(max-width:1050px){.grid-4{grid-template-columns:repeat(2,1fr)}.grid-3{grid-template-columns:repeat(2,1fr)}.portal-shell{grid-template-columns:190px 1fr}.portal-main{padding:36px 28px 60px}}
@media(max-width:760px){.portal-topbar{height:70px;padding:0 15px}.portal-brand img{width:45px;height:45px}.portal-brand span{display:none}.portal-user-main span:not(.portal-avatar){display:none}.portal-sidebar{border-right:0;border-bottom:1px solid var(--line);padding:10px 12px;display:flex;flex-direction:row;overflow:auto;position:sticky;top:70px;background:#f8f2ea;z-index:20}.portal-sidebar a{white-space:nowrap;padding:9px 10px}.portal-sidebar .portal-site-link{margin:0}.portal-main{padding:28px 16px 50px}.grid-4,.grid-3,.grid-2,.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.page-title h1{font-size:34px}.top-actions{margin:0 0 22px;justify-content:flex-start}.auth-card{padding:25px 20px}.portal-logout{display:none}}
.agency-top-chip{display:flex;align-items:center;gap:8px;padding:5px 10px 5px 5px;border:1px solid var(--line);border-radius:999px;background:#fff;}.agency-top-chip img,.agency-top-chip>span{width:30px;height:30px;border-radius:50%;object-fit:contain;display:grid;place-items:center;background:var(--dark);color:#fff;font-size:9px;font-weight:900;}.agency-top-chip img{background:#fff;padding:3px;}.agency-top-chip b{font-size:11px;max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}@media(max-width:760px){.agency-top-chip b{display:none}.agency-top-chip{padding-right:5px}}
.staff-summary{margin-bottom:20px;}.staff-filter{display:grid;grid-template-columns:minmax(220px,1.4fr) minmax(150px,.6fr) auto;gap:14px;align-items:end;}.staff-filter .form-actions{margin:0;}.staff-person{display:flex;align-items:center;gap:10px;}.staff-person>img,.staff-person>span{width:38px;height:38px;border-radius:50%;object-fit:cover;display:grid;place-items:center;background:var(--dark);color:#fff;font-size:11px;font-weight:900;flex:0 0 auto;}.staff-table{min-width:980px;}.danger-zone{border-color:#efc8c0;background:#fffaf8;}.danger-zone h2{color:#9d3324;}@media(max-width:760px){.staff-filter{grid-template-columns:1fr}.staff-edit-grid{grid-template-columns:1fr}}
.upload-status{margin-top:8px;padding:8px 10px;border-radius:10px;background:#f4ece3;color:var(--muted);font-size:11px;line-height:1.4;}.upload-status.is-progress{background:#fff2d7;color:#7b5600;}.upload-status.is-ready{background:#ddf5e9;color:#165f3e;}.upload-status.is-error{background:#fee4df;color:#973829;font-weight:700;}

/* Bootstrap form system */
.form-control,.form-select,.field .form-control,.field .form-select{min-height:48px;border-radius:14px;border:1px solid #ded4ca;background-color:#fffdfb;color:var(--ink);padding:.72rem .9rem;box-shadow:0 1px 2px rgba(32,20,12,.025);transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease;}
.form-control:hover,.form-select:hover,.field .form-control:hover,.field .form-select:hover{border-color:#cfc1b4;background-color:#fff;}
.form-control:focus,.form-select:focus,.field .form-control:focus,.field .form-select:focus{border-color:#ef6a47;background-color:#fff;box-shadow:0 0 0 .22rem rgba(239,81,47,.12);color:var(--ink);}
.form-control::placeholder{color:#a69a90;opacity:1;}.form-control-sm,.form-select-sm{min-height:36px;border-radius:10px;padding:.4rem .65rem;font-size:.78rem;}.form-control[type=file]{padding:.55rem .7rem;}.form-control[type=file]::file-selector-button{border:0;border-right:1px solid var(--line);background:#f4ece3;color:var(--ink);font-weight:800;margin:-.55rem .75rem -.55rem -.7rem;padding:.68rem .9rem;}.form-control[type=file]:hover::file-selector-button{background:#ede2d6;}
.field input:not([type="checkbox"]):not([type="radio"]),.field select,.field textarea{width:100%;}.field .form-check-input,.check-row .form-check-input{width:1.05em;height:1.05em;min-height:0;padding:0;flex:0 0 auto;border-radius:.3em;}.form-check-input:checked{background-color:var(--red);border-color:var(--red);}.form-check-input:focus{border-color:#ef6a47;box-shadow:0 0 0 .2rem rgba(239,81,47,.12);}
.field label{font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.065em;color:#4d433d;}.field small{margin-top:1px;}.form-grid>.form-actions{align-self:end;}
.input-hint{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:11px;}.input-hint:before{content:"i";width:17px;height:17px;border-radius:50%;display:grid;place-items:center;background:#f0e5da;font-weight:900;font-size:10px;color:#6b5c52;}

/* Same-page media / document preview */
.portal-media-modal .modal-content{border:1px solid rgba(255,255,255,.1);border-radius:26px;background:#171311;color:#fff;box-shadow:0 34px 100px rgba(0,0,0,.35);}.portal-media-modal .modal-header{border:0;padding:20px 22px;background:linear-gradient(180deg,#211b17,#171311);}.portal-media-modal .modal-title{margin:3px 0 0;font-weight:800;}.portal-media-modal .media-kicker{letter-spacing:.14em;color:#f69a73;}.portal-media-modal .btn-close{filter:invert(1);opacity:.8;}.portal-media-modal .modal-body{background:#0d0b0a;}.portal-media-modal .modal-footer{border:0;padding:14px 18px;background:#171311;justify-content:space-between;}.media-stage{min-height:420px;display:grid;place-items:center;background:radial-gradient(circle at 50% 20%,#2a221e 0,#0c0a09 68%);position:relative;overflow:hidden;}.media-stage:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);background-size:28px 28px;pointer-events:none;}.media-preview-video{position:relative;z-index:1;max-width:min(100%,760px);max-height:72vh;width:auto;height:auto;background:#000;box-shadow:0 25px 70px rgba(0,0,0,.45);}.media-preview-image{position:relative;z-index:1;display:block;max-width:100%;max-height:72vh;object-fit:contain;}.media-preview-frame{position:relative;z-index:1;height:72vh;}.media-preview-note{font-size:11px;color:#b9aca4;}.preview-btn{white-space:nowrap;}.creative-file{display:flex;align-items:center;gap:10px;}.creative-file-icon{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:#f1e8de;font-size:16px;}.datetime-stack{display:flex;flex-direction:column;gap:2px;}.datetime-stack strong{font-size:13px;}.datetime-stack small{margin:0!important;}
@media(max-width:760px){.media-stage{min-height:260px}.media-preview-video,.media-preview-image{max-height:60vh}.media-preview-frame{height:65vh}.portal-media-modal .modal-dialog{margin:.6rem}.portal-media-modal .modal-content{border-radius:20px}}

.portal-media-modal{--bs-modal-width:1120px;}.portal-media-modal .modal-dialog{max-width:min(1120px,calc(100vw - 28px));}.portal-media-modal.show{display:block;}.portal-fallback-backdrop{position:fixed;inset:0;z-index:1050;background:#000;opacity:.55;}.modal-open{overflow:hidden;}

/* Native fallback: controls stay modern before/without JavaScript class enhancement */
.field input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),.field select,.field textarea{min-height:48px;border-radius:14px;border:1px solid #ded4ca;background-color:#fffdfb;color:var(--ink);padding:.72rem .9rem;box-shadow:0 1px 2px rgba(32,20,12,.025);outline:none;transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease;}
.field input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):hover,.field select:hover,.field textarea:hover{border-color:#cfc1b4;background-color:#fff;}
.field input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus,.field select:focus,.field textarea:focus{border-color:#ef6a47;background-color:#fff;box-shadow:0 0 0 .22rem rgba(239,81,47,.12);}
.field input[type="file"]{padding:.55rem .7rem;}.field input[type="file"]::file-selector-button{border:0;border-right:1px solid var(--line);background:#f4ece3;color:var(--ink);font-weight:800;margin:-.55rem .75rem -.55rem -.7rem;padding:.68rem .9rem;}

/* Desktop alignment, readability and modern operational cards */
.portal-topbar{padding:0;background:rgba(255,253,249,.96);}
.portal-topbar-inner{width:min(1500px,100%);height:100%;margin:0 auto;display:grid;grid-template-columns:230px minmax(0,1fr);align-items:center;}
.portal-brand-zone{height:100%;display:flex;align-items:center;padding:0 18px;}
.portal-user-zone{height:100%;display:flex;align-items:center;justify-content:flex-end;padding:0 clamp(24px,4vw,62px);}
.portal-brand{width:100%;gap:12px;}.portal-brand span{font-size:15px;}
.portal-user{justify-content:flex-end;}.portal-user-main strong{font-size:15px;}.portal-user-main small{font-size:12px;}.portal-logout{font-size:13px;}
.portal-sidebar a{font-size:15px;line-height:1.25;padding:12px 13px;}
.page-title>span{font-size:12px;}.page-title p{font-size:16px;line-height:1.65;}
.panel{padding:27px;}.panel-head h2{font-size:21px;line-height:1.2;}.panel-head p{font-size:15px;line-height:1.5;}
.panel p,.panel li{font-size:15px;line-height:1.55;}.panel small{font-size:13px;line-height:1.45;}.empty{font-size:15px;}
.stat-card span{font-size:12px;}.stat-card strong{font-size:37px;}.stat-card small{font-size:13px;}
.data-table th{font-size:12px;letter-spacing:.075em;padding:0 13px 12px;}.data-table td{font-size:15px;line-height:1.4;padding:16px 13px;}.data-table td strong{font-size:16px;}.data-table td small{font-size:13px;line-height:1.4;margin-top:4px;}
.status{font-size:11px;padding:7px 10px;}.btn{font-size:14px;padding:11px 17px;}.btn-sm{font-size:12px;padding:8px 11px;}
.field label{font-size:12px;}.field small,.input-hint,.note,.upload-status{font-size:13px;}.form-control,.form-select,.field .form-control,.field .form-select,.field input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),.field select,.field textarea{font-size:15px;min-height:50px;}
.brand-pill{font-size:13px;padding:9px 12px;}.location-specs span{font-size:12px;}

/* Change-password layout: desktop only. Current password sits top-right; new fields share the row below. */
.password-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;}
.password-layout .password-current{grid-column:2;grid-row:1;}
.password-layout .password-new{grid-column:1;grid-row:2;}
.password-layout .password-confirm{grid-column:2;grid-row:2;}
.password-layout .password-actions{grid-column:2;grid-row:3;justify-content:flex-end;margin-top:2px;}

/* Campaign package price emphasis */
.campaign-price-display{display:block;margin-top:10px;padding:13px 15px;border-radius:14px;background:#171311;font-size:18px!important;line-height:1.35!important;font-weight:900!important;letter-spacing:-.01em;}
.campaign-price-display.is-placeholder{background:#f3ece4;font-size:15px!important;font-weight:800!important;}

/* Creative state and switch-request treatments */
.creative-current-badge{display:inline-flex;align-items:center;gap:7px;margin-top:5px;padding:7px 10px;border-radius:999px;background:#dbf4e7;color:#11633c;font-size:12px;font-weight:900;}
.creative-current-badge:before{content:"●";font-size:9px;}.creative-request-badge{display:inline-flex;margin-top:5px;padding:7px 10px;border-radius:999px;background:#fff0c9;color:#855500;font-size:12px;font-weight:900;}
.current-creative-row{background:linear-gradient(90deg,rgba(30,142,90,.07),transparent);}

/* LED location cards: specs and live brands are visually separate. */
.led-location-card{position:relative;overflow:visible;border:1px solid var(--line)!important;border-radius:24px!important;background:var(--content-gradient);box-shadow:var(--shadow);}
.led-location-card .card-body{padding:0;}.led-location-head{padding:24px 24px 18px;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;border-radius:23px 23px 0 0;background:linear-gradient(145deg,#fffdf9,#f7efe6);}
.led-location-head h3{font-size:22px;margin:0 0 6px;letter-spacing:-.02em;}.led-location-head p{margin:0;color:var(--muted);font-size:14px;}
.led-detail-zone{padding:20px 24px 22px;}.led-detail-label{display:block;margin-bottom:12px;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.11em;color:#8a7d74;}
.led-spec-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;}.led-spec-item{min-height:78px;padding:13px;border:1px solid #ebe2d8;border-radius:15px;background:#fff;}.led-spec-item small{display:block;color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.06em;font-weight:800;}.led-spec-item strong{display:block;margin-top:7px;font-size:16px;line-height:1.15;}
.led-live-zone{padding:21px 24px 24px;border-radius:0 0 23px 23px;background:#191411;color:#fff;}.led-live-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;}.led-live-head strong{font-size:17px;}.led-live-count{display:inline-flex;padding:6px 9px;border-radius:999px;background:rgba(255,255,255,.1);font-size:12px;font-weight:800;color:#f3e9e2;}
.led-brand-grid{display:flex;flex-wrap:wrap;gap:9px;}.led-brand-pill{display:inline-flex;align-items:center;gap:6px;padding:9px 12px;border-radius:12px;background:#fff;color:#1d1714;font-size:13px;font-weight:850;}.led-brand-pill.is-own{background:linear-gradient(135deg,#ef512f,#f47a34);color:#fff;}.led-brand-pill.is-empty{background:rgba(255,255,255,.08);color:#d4c7bf;}.led-brand-pill small{font-size:10px!important;opacity:.75;}.led-card-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:17px;}
.led-admin-hero{display:grid;grid-template-columns:minmax(260px,1.4fr) minmax(260px,.8fr);gap:18px;margin-bottom:22px;}.led-admin-overview,.led-admin-live{border-radius:24px;padding:25px;border:1px solid var(--line);box-shadow:var(--shadow);}.led-admin-overview{background:var(--content-gradient);}.led-admin-live{background:#191411;color:#fff;}.led-admin-overview h2,.led-admin-live h2{font-size:22px;margin:0 0 7px;}.led-admin-overview p,.led-admin-live p{margin:0;}.led-admin-live .led-live-number{font-size:46px;line-height:1;font-weight:900;letter-spacing:-.05em;margin:20px 0 5px;}.led-admin-live small{color:#cbbdb4;}

@media(max-width:1050px){.portal-topbar-inner{grid-template-columns:190px minmax(0,1fr)}.led-spec-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
  .portal-topbar{padding:0 15px}.portal-topbar-inner{display:flex;justify-content:space-between}.portal-brand-zone,.portal-user-zone{padding:0}.portal-brand-zone{flex:0 0 auto}.portal-user-zone{min-width:0}.portal-brand{width:auto}
  .password-layout{grid-template-columns:1fr}.password-layout .password-current,.password-layout .password-new,.password-layout .password-confirm,.password-layout .password-actions{grid-column:auto;grid-row:auto}.password-layout .password-actions{justify-content:flex-start}
  .panel{padding:21px}.panel-head h2{font-size:19px}.panel-head p,.panel p,.data-table td{font-size:14px}.data-table th{font-size:11px}.field label{font-size:11px}
  .led-location-head{padding:20px;flex-direction:column}.led-detail-zone,.led-live-zone{padding:18px 20px}.led-spec-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.led-admin-hero{grid-template-columns:1fr}
}
.status-switch_requested{background:#fff0c9;color:#855500;}
.led-lineup-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;}.led-lineup-card{padding:20px;border:1px solid #e8ddd2;border-radius:19px;background:linear-gradient(145deg,#fff,#fbf5ee);}.led-lineup-brand{display:flex;align-items:center;gap:10px;}.led-lineup-brand small{display:block;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-size:10px!important;font-weight:850;}.led-lineup-brand strong{display:block;margin-top:3px;font-size:20px;}.live-dot{width:11px;height:11px;border-radius:50%;background:#23a36a;box-shadow:0 0 0 5px rgba(35,163,106,.12);}.led-lineup-meta{display:flex;flex-wrap:wrap;gap:7px;margin:14px 0;}.led-lineup-meta span{padding:6px 9px;border-radius:999px;background:#f0e7dd;font-size:12px;font-weight:750;color:#554942;}.led-current-creative{padding:13px 14px;border-radius:14px;background:#191411;color:#fff;margin-bottom:14px;}.led-current-creative small,.led-current-creative strong,.led-current-creative span{display:block;}.led-current-creative small{color:#c8b9b0;font-size:10px!important;text-transform:uppercase;letter-spacing:.08em;}.led-current-creative strong{font-size:14px;margin-top:5px;}.led-current-creative span{font-size:11px;color:#c8b9b0;margin-top:3px;}@media(max-width:900px){.led-lineup-grid{grid-template-columns:1fr}}
/* Inline creative preview keeps the user inside the campaign/LED panel. */
.inline-media-viewer{margin:0 0 22px;border:1px solid #2e2723;border-radius:20px;overflow:hidden;background:#100d0b;color:#fff;box-shadow:0 18px 45px rgba(22,14,10,.18);}.inline-media-viewer-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;background:linear-gradient(180deg,#221c18,#171310);}.inline-media-viewer-head span,.inline-media-viewer-head strong{display:block;}.inline-media-viewer-head span{font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:#f39a75;font-weight:900;}.inline-media-viewer-head strong{margin-top:4px;font-size:15px;word-break:break-word;}.inline-media-close{border-radius:999px;padding:7px 11px;font-size:12px;font-weight:800;cursor:pointer;}.inline-media-stage{min-height:330px;max-height:68vh;display:grid;place-items:center;padding:16px;background:radial-gradient(circle at 50% 20%,#2a221e,#0c0a09 70%);overflow:hidden;}.inline-media-video,.inline-media-image{display:block;max-width:100%;max-height:62vh;width:auto;height:auto;object-fit:contain;background:#000;border-radius:10px;box-shadow:0 20px 55px rgba(0,0,0,.42);}@media(max-width:760px){.inline-media-stage{min-height:230px;padding:10px}.inline-media-video,.inline-media-image{max-height:55vh}}

/* Clean numeric fields. Values remain keyboard-editable without browser spinner arrows. */
input[type="number"]{-moz-appearance:textfield;appearance:textfield;}
input[type="number"]::-webkit-outer-spin-button,input[type="number"]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}

/* Modern campaign CTA and per-LED private pricelist. */
.led-location-actions{display:flex;flex-direction:column;align-items:stretch;gap:9px;min-width:205px;}
.btn-create-campaign{position:relative;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:14px;border:1px solid rgba(255,255,255,.15)!important;border-radius:15px!important;padding:12px 13px 12px 18px!important;background:linear-gradient(135deg,#e94727 0%,#f46f32 58%,#fb8a3c 100%)!important;font-size:14px!important;font-weight:900!important;letter-spacing:-.01em;box-shadow:0 10px 26px rgba(225,69,37,.24),inset 0 1px 0 rgba(255,255,255,.18);transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;overflow:hidden;}
.btn-create-campaign:before{content:"";position:absolute;inset:0;background:linear-gradient(115deg,transparent 0%,transparent 48%,rgba(255,255,255,.12) 50%,transparent 64%);transform:translateX(-120%);transition:transform .4s ease;pointer-events:none;}
.btn-create-campaign:hover{transform:translateY(-2px);box-shadow:0 15px 34px rgba(225,69,37,.3),inset 0 1px 0 rgba(255,255,255,.2);filter:saturate(1.04);}
.btn-create-campaign:hover:before{transform:translateX(120%);}
.btn-create-campaign:hover:after{transform:translateX(2px);background:rgba(255,255,255,.22);}
.btn-create-campaign:focus-visible{outline:3px solid rgba(239,81,47,.22)!important;outline-offset:3px;}
.btn-create-campaign-compact{padding:9px 10px 9px 14px!important;font-size:13px!important;border-radius:12px!important;gap:10px;}.btn-create-campaign-compact:after{width:26px;height:26px;flex-basis:26px;border-radius:8px;font-size:15px;}
.btn-pricelist{width:100%;border:1px solid #ded2c6!important;border-radius:14px!important;padding:11px 15px!important;background:rgba(255,255,255,.92)!important;color:#241d19!important;font-size:13px!important;font-weight:900!important;box-shadow:0 7px 18px rgba(44,30,21,.06);justify-content:flex-start!important;transition:background .18s ease,border-color .18s ease,transform .18s ease;}
.btn-pricelist:before{content:"€";width:24px;height:24px;border-radius:8px;display:grid;place-items:center;background:#1b1714;color:#fff;font-size:12px;font-weight:900;}.btn-pricelist:after{content:"›";margin-left:auto;font-size:20px;line-height:1;transition:transform .18s ease;}.btn-pricelist[aria-expanded="true"]:after{transform:translateX(2px);}.btn-pricelist:hover{background:#fff!important;border-color:#cfc0b1!important;transform:translateY(-1px);}
.led-pricelist-dropend{position:relative;}.led-pricelist-menu{--bs-dropdown-min-width:0;width:360px;max-width:min(360px,calc(100vw - 34px));margin-left:10px!important;padding:0!important;border:1px solid #eadfd4!important;border-radius:20px!important;background:#fffaf4!important;box-shadow:0 22px 55px rgba(42,29,20,.2)!important;overflow:hidden;z-index:1085;}.led-pricelist-menu.show{animation:led-pricelist-fade .14s ease-out;}.led-pricelist-zone{padding:18px;}.led-pricelist-head{display:flex;align-items:flex-start;justify-content:space-between;flex-direction:column;gap:5px;margin-bottom:14px;}.led-pricelist-head .led-detail-label{margin-bottom:4px;}.led-pricelist-head strong{display:block;font-size:18px;letter-spacing:-.02em;}.led-pricelist-head>small{color:var(--muted);font-size:11px;text-align:left;}.led-price-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}.led-price-item{position:relative;overflow:hidden;min-height:100px;padding:14px;border:1px solid #e7ddd3;border-radius:16px;background:#fff;}.led-price-item:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:#d8c8ba;}.led-price-item.is-custom:before{background:linear-gradient(180deg,#ef512f,#f47a34);}.led-price-item>span{display:block;color:#7d7067;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.06em;}.led-price-item>strong{display:block;margin-top:7px;color:#1b1714;font-size:20px;line-height:1.08;letter-spacing:-.03em;}.led-price-item>small{display:block;margin-top:7px;color:#887970;font-size:11px!important;line-height:1.35;}.led-price-empty{padding:20px;}.led-dashboard-panel .led-location-card{margin:0;}.led-dashboard-panel .led-location-grid{align-items:start;overflow:visible;}@keyframes led-pricelist-fade{from{opacity:0}to{opacity:1}}
@media(max-width:760px){.led-location-actions{width:100%;min-width:0}.btn-create-campaign,.btn-pricelist{width:100%}.led-pricelist-menu{width:min(340px,calc(100vw - 34px));max-height:70vh;overflow:auto}.led-price-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.led-price-item>strong{font-size:19px}}
@media(max-width:420px){.led-pricelist-menu{width:min(300px,calc(100vw - 24px))}.led-price-grid{grid-template-columns:1fr}}

/* Campaign creative file restrictions and inline replacement upload. */
.file-type-warning{font-weight:900!important;color:#3d342e!important;letter-spacing:.005em;}
.upload-status.is-error{font-weight:900;}
.creative-version-form{display:block;margin:0;}
.creative-upload-field{max-width:100%;}
.creative-upload-control{display:flex;align-items:stretch;gap:10px;width:100%;}
.creative-upload-control input[type="file"]{flex:1 1 auto;min-width:0;margin:0;}
.creative-upload-submit{flex:0 0 auto;min-width:174px;border-radius:14px!important;padding-left:20px!important;padding-right:20px!important;white-space:nowrap;}
@media(max-width:760px){.creative-upload-control{flex-direction:column;align-items:stretch}.creative-upload-submit{width:100%;min-width:0;min-height:48px}}

/* Consistent modern action buttons and iconography. */
.btn-icon{width:18px;height:18px;flex:0 0 18px;display:block;}.btn-sm .btn-icon{width:15px;height:15px;flex-basis:15px;}.btn-icon-action{gap:9px;}.nav-icon{width:17px;height:17px;flex:0 0 17px;display:block;}
.portal-sidebar a{display:flex;align-items:center;gap:9px;}
.btn-new-action{position:relative;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:10px;border:1px solid rgba(255,255,255,.16)!important;border-radius:15px!important;padding:12px 12px 12px 16px!important;background:linear-gradient(135deg,#1d1916 0%,#322821 100%)!important;color:#fff!important;font-size:14px!important;font-weight:900!important;box-shadow:0 12px 26px rgba(34,24,18,.18),inset 0 1px 0 rgba(255,255,255,.08);transition:transform .18s ease,box-shadow .18s ease,background .18s ease;}
.btn-new-action>.btn-icon{width:20px;height:20px;flex-basis:20px;color:#ff8b57;}.btn-new-action:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(34,24,18,.24);background:linear-gradient(135deg,#211c18 0%,#3b2d24 100%)!important;color:#fff!important;}.btn-new-action:focus-visible{outline:3px solid rgba(239,81,47,.22)!important;outline-offset:3px;}
.btn-create-campaign{gap:10px!important;}.btn-create-campaign>.btn-icon{width:20px;height:20px;flex-basis:20px;position:relative;z-index:1;}.btn-create-campaign>span{position:relative;z-index:1;}
@media(max-width:760px){.btn-new-action{width:100%;justify-content:flex-start!important}}

/* Agency campaign CTA now matches the dark L Group admin action style. */
.btn-create-campaign{
  border-color:rgba(255,255,255,.16)!important;
  background:linear-gradient(135deg,#1d1916 0%,#322821 100%)!important;
  color:#fff!important;
  box-shadow:0 12px 26px rgba(34,24,18,.18),inset 0 1px 0 rgba(255,255,255,.08)!important;
  filter:none!important;
}
.btn-create-campaign>.btn-icon{color:#ff8b57!important;}
.btn-create-campaign:before{
  background:linear-gradient(115deg,transparent 0%,transparent 48%,rgba(255,255,255,.07) 50%,transparent 64%)!important;
}
.btn-create-campaign:hover{
  background:linear-gradient(135deg,#211c18 0%,#3b2d24 100%)!important;
  color:#fff!important;
  box-shadow:0 16px 34px rgba(34,24,18,.24),inset 0 1px 0 rgba(255,255,255,.08)!important;
  filter:none!important;
}

/* Homepage-style portal account controls and view-only agency access. */
.portal-session-inline{
  display:inline-grid;
  grid-template-columns:minmax(0,auto) auto auto;
  align-items:center;
  gap:6px;
  min-width:0;
  padding:4px;
  border:1px solid rgba(24,18,15,.12);
  border-radius:999px;
  background:#fffdf9;
  box-shadow:0 9px 26px rgba(30,20,14,.09);
}
.portal-session-inline .portal-user-main{
  min-width:0;
  max-width:220px;
  padding:4px 10px 4px 4px;
  border-radius:999px;
  background:#f7efe7;
  transition:background .16s ease;
}
.portal-session-inline .portal-user-main:hover{background:#f1e5da;}
.portal-session-inline .portal-user-main>span:last-child{min-width:0;}
.portal-session-inline .portal-user-main strong,
.portal-session-inline .portal-user-main small{max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.portal-session-inline .portal-avatar,
.portal-session-inline .portal-avatar-img{width:34px;height:34px;flex:0 0 34px;font-size:10px;}
.portal-header-action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:0 11px;
  border:1px solid #ddd2c8;
  border-radius:999px;
  font-size:11px;
  line-height:1;
  font-weight:850;
  white-space:nowrap;
  transition:transform .16s ease,background .16s ease,border-color .16s ease;
}
.portal-header-action:hover{transform:translateY(-1px);}
.portal-header-home{background:#18120f;border-color:#18120f;color:#fff!important;}
.portal-header-home:hover{background:#ef512f;border-color:#ef512f;color:#fff!important;}
.portal-header-logout{background:#fff0ed;border-color:#f0cec6;color:#a53c2b!important;}
.portal-header-logout:hover{background:#ffe4de;border-color:#eab9ae;color:#a53c2b!important;}
.status-view-only{background:#eee8e2;color:#665a52;}
.view-only-banner{display:flex;align-items:flex-start;gap:12px;margin:0 0 20px;padding:15px 17px;border:1px solid #e4d9ce;border-radius:16px;background:#f8f2ec;color:#564b44;}
.view-only-banner strong{flex:0 0 auto;color:#211a17;font-size:14px;}
.view-only-banner span{font-size:14px;line-height:1.5;}

@media(max-width:1050px){
  .portal-session-inline .portal-user-main{max-width:175px}
  .portal-session-inline .portal-user-main strong,.portal-session-inline .portal-user-main small{max-width:105px}
  .portal-header-action{padding-inline:9px}
  .agency-top-chip b{display:none}.agency-top-chip{padding-right:5px}
}
@media(max-width:760px){
  .portal-user{gap:7px}
  .agency-top-chip{display:none}
  .portal-session-inline{gap:4px;padding:3px}
  .portal-session-inline .portal-user-main{padding:3px;max-width:none}
  .portal-session-inline .portal-user-main>span:last-child{display:none}
  .portal-session-inline .portal-avatar,.portal-session-inline .portal-avatar-img{width:32px;height:32px;flex-basis:32px}
  .portal-header-action{min-height:32px;padding:0 8px;font-size:10px}
  .view-only-banner{flex-direction:column;gap:5px}
}
@media(max-width:430px){
  .portal-brand img{width:40px;height:40px}
  .portal-session-inline .portal-user-main{display:none}
  .portal-header-action{padding-inline:9px}
}

/* Agency identity in the topbar mirrors the signed-in profile design. */
.portal-agency-main{
  display:flex;
  align-items:center;
  gap:9px;
  min-width:0;
  max-width:235px;
  padding:4px 11px 4px 4px;
  border:1px solid rgba(24,18,15,.12);
  border-radius:999px;
  background:#fffdf9;
  box-shadow:0 9px 26px rgba(30,20,14,.07);
  transition:background .16s ease,border-color .16s ease,transform .16s ease,box-shadow .16s ease;
}
.portal-agency-main.is-editable{cursor:pointer;}
.portal-agency-main.is-editable:hover{
  background:#f7efe7;
  border-color:#d7c8bb;
  transform:translateY(-1px);
  box-shadow:0 11px 28px rgba(30,20,14,.1);
}
.portal-agency-logo,.portal-agency-logo-placeholder{
  width:34px;
  height:34px;
  flex:0 0 34px;
  border-radius:50%;
  display:grid;
  place-items:center;
  object-fit:contain;
  background:#fff;
  border:1px solid #e6dcd2;
}
.portal-agency-logo{padding:4px;}
.portal-agency-logo-placeholder{
  background:var(--dark);
  border-color:var(--dark);
  color:#fff;
  font-size:10px;
  font-weight:900;
}
.portal-agency-copy{min-width:0;display:block;}
.portal-agency-copy strong,.portal-agency-copy small{
  display:block;
  max-width:165px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.portal-agency-copy small{margin-top:2px;color:var(--muted);}
#agency-identity-edit{scroll-margin-top:96px;}
@media(max-width:1180px){
  .portal-agency-main{max-width:178px}
  .portal-agency-copy strong,.portal-agency-copy small{max-width:110px}
}
@media(max-width:900px){
  .portal-agency-main{padding-right:4px;max-width:none}
  .portal-agency-copy{display:none}
}
@media(max-width:760px){
  .portal-agency-main{display:none}
}

/* Larger agency identity chip; director edit affordance is visual-only (no Edit label). */
.portal-agency-main{
  min-height:50px;
  padding:7px 14px 7px 7px;
  gap:10px;
  background:#f7efe7;
  border-color:#e7dcd2;
  box-shadow:0 9px 26px rgba(30,20,14,.09);
}
.portal-agency-logo,.portal-agency-logo-placeholder{
  width:36px;
  height:36px;
  flex-basis:36px;
}
.portal-agency-logo{padding:3px;}
.portal-agency-copy strong{font-size:14px;line-height:1.15;}
.portal-agency-copy small{font-size:11px;line-height:1.15;}
.portal-agency-main.is-editable:hover{background:#f1e5da;}
@media(max-width:900px){
  .portal-agency-main{padding:6px;min-height:46px}
  .portal-agency-logo,.portal-agency-logo-placeholder{width:34px;height:34px;flex-basis:34px}
}

/* Cleaner agency identity, domain approval requests and branded calendar. */
.agency-logo,
.portal-agency-logo{
  background:#fff!important;
  border:0!important;
  box-shadow:none!important;
}
.agency-logo{border-radius:50%!important;padding:5px!important;}
.portal-agency-logo{padding:3px!important;}
.agency-profile-identity{gap:18px;}
.agency-profile-identity .agency-logo-large,
.agency-profile-identity .agency-logo-placeholder.agency-logo-large{
  width:92px;
  height:92px;
  flex:0 0 92px;
  border-radius:50%!important;
}
.agency-profile-identity .agency-logo-large{padding:7px!important;background:#fff!important;border:0!important;box-shadow:none!important;}
.agency-profile-identity .agency-logo-placeholder.agency-logo-large{font-size:25px;border:0!important;}
.agency-profile-name{display:block;font-size:25px;line-height:1.08;letter-spacing:-.025em;}
.agency-profile-subtitle{display:block;color:var(--muted);margin-top:6px;font-size:13px!important;}
.agency-profile-edit-card{max-width:none!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;}
.domain-request-form{max-width:680px;}
.domain-request-card{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 19px;border:1px solid #ead6c7;border-radius:18px;background:linear-gradient(135deg,#fffaf4 0%,#fff 100%);box-shadow:0 10px 28px rgba(50,32,21,.06);}
.domain-request-copy{min-width:0;}.domain-request-copy>*{display:block;}.domain-request-kicker{font-size:11px!important;line-height:1;text-transform:uppercase;letter-spacing:.09em;font-weight:900;color:var(--orange);}
.domain-request-copy strong{margin-top:7px;font-size:19px;line-height:1.15;word-break:break-word;}.domain-request-copy small{margin-top:5px;color:var(--muted);font-size:12px!important;}.domain-admin-request-list{display:grid;gap:10px;}
@media(max-width:760px){.agency-profile-identity .agency-logo-large,.agency-profile-identity .agency-logo-placeholder.agency-logo-large{width:76px;height:76px;flex-basis:76px}.agency-profile-name{font-size:21px}.domain-request-card{align-items:flex-start;flex-direction:column}.domain-request-card form,.domain-request-card .btn{width:100%}}

/* Branded Flatpickr date dropdown. It inherits the exact width of its date field. */
.portal-date-input{cursor:pointer!important;padding-right:44px!important;background-color:#fffdfb!important;background-repeat:no-repeat!important;background-position:right 14px center!important;background-size:18px 18px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23ef512f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 10h18'/%3E%3C/svg%3E")!important;}
.portal-date-input:focus{background-color:#fff!important;}
.data-table .portal-date-input{min-width:220px;}
.flatpickr-calendar.portal-flatpickr{width:var(--portal-date-width,320px)!important;min-width:0!important;border:1px solid #e4d5c9!important;border-radius:18px!important;background:#fffdf9!important;box-shadow:0 24px 65px rgba(42,27,18,.2)!important;overflow:hidden!important;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;}
.portal-flatpickr:before,.portal-flatpickr:after{display:none!important;}
.portal-flatpickr .flatpickr-months{height:50px;background:linear-gradient(135deg,#1b1714,#332820);align-items:center;}
.portal-flatpickr .flatpickr-months .flatpickr-month{height:50px;background:transparent;color:#fff;fill:#fff;}
.portal-flatpickr .flatpickr-current-month{height:50px;padding:13px 0 0;font-size:16px;font-weight:850;color:#fff;}
.portal-flatpickr .flatpickr-current-month .flatpickr-monthDropdown-months{background:#211a17;color:#fff;font-weight:800;border-radius:8px;padding:2px 4px;}
.portal-flatpickr .flatpickr-current-month input.cur-year{color:#fff;font-weight:800;}
.portal-flatpickr .numInputWrapper span{border-color:rgba(255,255,255,.12);}
.portal-flatpickr .numInputWrapper span:after{border-bottom-color:#fff;border-top-color:#fff;}
.portal-flatpickr .flatpickr-prev-month,.portal-flatpickr .flatpickr-next-month{height:50px;padding:15px 14px;color:#fff;fill:#fff;}
.portal-flatpickr .flatpickr-prev-month:hover svg,.portal-flatpickr .flatpickr-next-month:hover svg{fill:#ff8b57;}
.portal-flatpickr .flatpickr-weekdays{height:38px;background:#f7eee5;}
.portal-flatpickr span.flatpickr-weekday{background:transparent;color:#76675d;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.045em;}
.portal-flatpickr .flatpickr-innerContainer,.portal-flatpickr .flatpickr-rContainer,.portal-flatpickr .flatpickr-days{width:100%!important;min-width:0!important;max-width:none!important;}
.portal-flatpickr .dayContainer{width:100%!important;min-width:0!important;max-width:none!important;display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr));padding:8px 9px 11px;}
.portal-flatpickr .flatpickr-day{width:auto!important;max-width:none!important;height:36px;line-height:36px;margin:1px;border-radius:10px;color:#302720;font-size:13px;font-weight:650;border:0;}
.portal-flatpickr .flatpickr-day:hover,.portal-flatpickr .flatpickr-day:focus{background:#f5e8de;border-color:#f5e8de;color:#201915;}
.portal-flatpickr .flatpickr-day.today{background:#fff4ee;color:#d74627;box-shadow:inset 0 0 0 1px #f2a185;}
.portal-flatpickr .flatpickr-day.selected,.portal-flatpickr .flatpickr-day.startRange,.portal-flatpickr .flatpickr-day.endRange,.portal-flatpickr .flatpickr-day.selected:hover,.portal-flatpickr .flatpickr-day.selected:focus{background:linear-gradient(135deg,var(--red),var(--orange));border-color:var(--red);color:#fff;box-shadow:0 6px 14px rgba(239,81,47,.22);}
.portal-flatpickr .flatpickr-day.prevMonthDay,.portal-flatpickr .flatpickr-day.nextMonthDay{color:#b6aaa0;}
.portal-flatpickr .flatpickr-day.flatpickr-disabled{color:#d7cec7;}
@media(max-width:760px){.flatpickr-calendar.portal-flatpickr{width:min(var(--portal-date-width,320px),calc(100vw - 28px))!important}.data-table .portal-date-input{min-width:190px}}

/* Unified L Group form language, cleaner agency identity, secure previews and campaign duration helper. */
.portal-agency-logo{
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  object-fit:contain!important;
}
.portal-agency-main{border-color:#e7dcd2!important;}

/* Text fields, dropdowns and file controls now share the same warm L Group visual language as the date picker. */
.form-control,.form-select,
.field .form-control,.field .form-select,
.field input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.field select,.field textarea{
  min-height:52px!important;
  border:1px solid #dfd0c3!important;
  border-radius:15px!important;
  background-color:#fffdf9!important;
  color:#251d18!important;
  font-size:15px!important;
  font-weight:650;
  line-height:1.25;
  padding:.82rem .95rem!important;
  box-shadow:0 4px 14px rgba(45,30,19,.035)!important;
  transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease,transform .16s ease!important;
}
.form-control:hover,.form-select:hover,
.field .form-control:hover,.field .form-select:hover,
.field input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):hover,
.field select:hover,.field textarea:hover{border-color:#cbb8a8!important;background-color:#fff!important;}
.form-control:focus,.form-select:focus,
.field .form-control:focus,.field .form-select:focus,
.field input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus,
.field select:focus,.field textarea:focus{
  border-color:#ef6643!important;
  background-color:#fff!important;
  box-shadow:0 0 0 .24rem rgba(239,81,47,.12),0 8px 22px rgba(45,30,19,.05)!important;
  outline:0!important;
}
.form-select,.field select{
  appearance:none!important;
  -webkit-appearance:none!important;
  padding-right:46px!important;
  background-repeat:no-repeat!important;
  background-position:right 15px center!important;
  background-size:18px 18px!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23ef512f' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;
}
.form-control-sm,.form-select-sm,.data-table .form-control-sm,.data-table .form-select-sm,.row-actions .form-control-sm,.row-actions .form-select-sm{
  min-height:40px!important;border-radius:12px!important;font-size:13px!important;padding:.54rem .72rem!important;}
.form-select-sm,.data-table .form-select-sm,.row-actions .form-select-sm{padding-right:36px!important;background-position:right 10px center!important;background-size:15px 15px!important;}
.field textarea,.form-control:is(textarea){min-height:125px!important;line-height:1.5!important;resize:vertical;}
.form-control[type=file],.field input[type=file]{padding:.58rem .72rem!important;background:#fffdf9!important;}
.form-control[type=file]::file-selector-button,.field input[type=file]::file-selector-button{
  min-height:34px;border:0!important;border-right:1px solid #e5d7ca!important;border-radius:10px 0 0 10px!important;
  background:linear-gradient(135deg,#211b17,#362a22)!important;color:#fff!important;font-weight:850!important;
  margin:-.58rem .8rem -.58rem -.72rem!important;padding:.72rem 1rem!important;}
.form-control[type=file]:hover::file-selector-button,.field input[type=file]:hover::file-selector-button{background:linear-gradient(135deg,#2b211b,#493427)!important;}
.field label{color:#4a3c34!important;font-size:12px!important;letter-spacing:.055em!important;}
.field small{color:#7d7067!important;font-size:13px!important;}
.form-check-input{border-color:#cdbdaf!important;background-color:#fffdf9!important;}.form-check-input:checked{background-color:#ef512f!important;border-color:#ef512f!important;}
.portal-date-input{min-height:52px!important;border-radius:15px!important;}

/* Native option lists keep a readable portal palette where the browser allows it. */
.form-select option,.field select option{background:#fffdf9;color:#241c17;font-weight:650;}

/* Preview UI never prints the protected endpoint. Only the filename is shown. */
.portal-media-modal .modal-content{border:0!important;border-radius:24px!important;overflow:hidden;background:#fffdf9;box-shadow:0 28px 90px rgba(22,14,10,.32);}
.portal-media-modal .modal-header{padding:18px 20px;border-bottom:1px solid #eadfd5;background:linear-gradient(145deg,#fffdf9,#f8efe6);}
.portal-media-modal .modal-title{margin-top:4px;font-size:18px;font-weight:900;color:#1e1713;word-break:break-word;}
.portal-media-modal .media-kicker{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#ef512f;font-weight:900;}
.portal-media-modal .modal-body{padding:0;background:#17120f;}
.portal-media-modal .media-stage{min-height:58vh;max-height:74vh;overflow:auto;display:grid;place-items:center;padding:20px;background:radial-gradient(circle at 50% 8%,#332720,#130f0d 70%);}
.portal-preview-footer{display:flex!important;justify-content:flex-end!important;gap:10px!important;padding:14px 18px!important;border-top:1px solid #eadfd5!important;background:#fffdf9!important;}
.portal-preview-download{margin-right:0!important;}
.pdf-preview-loading{color:#fff;font-size:14px;font-weight:800;padding:40px;}
.pdf-preview-pages{width:100%;display:grid;gap:18px;justify-items:center;padding:2px 0;}
.pdf-preview-page{position:relative;width:min(100%,850px);padding:10px;border-radius:14px;background:#2a211c;box-shadow:0 16px 42px rgba(0,0,0,.25);}
.pdf-preview-page canvas{display:block;width:100%;height:auto;border-radius:8px;background:#fff;}
.pdf-preview-page-number{position:absolute;left:18px;bottom:18px;padding:5px 8px;border-radius:999px;background:rgba(20,15,12,.76);color:#fff;font-size:10px;font-weight:850;backdrop-filter:blur(8px);}
.media-preview-video,.media-preview-image{display:block;max-width:100%;max-height:66vh;object-fit:contain;border-radius:12px;background:#000;}
.media-preview-frame{width:100%;height:68vh;border:0;border-radius:10px;background:#fff;}

.inline-media-viewer-head{padding:16px 18px!important;}
.inline-media-viewer-footer{justify-content:flex-end;padding:13px 15px;background:#171310;border-top:1px solid rgba(255,255,255,.09);}
.inline-media-download,.inline-media-close{display:inline-flex;align-items:center;justify-content:center;min-height:38px;border-radius:999px;padding:8px 14px;font-size:12px;font-weight:850;text-decoration:none;cursor:pointer;}
.inline-media-download{background:#fff;color:#1b1714;border:1px solid #fff;}
.inline-media-download:hover{background:#f6ece3;color:#1b1714;}
.inline-media-close{background:rgba(255,255,255,.08);color:#fff;border:1px solid rgba(255,255,255,.16);}
.inline-media-close:hover{background:rgba(255,255,255,.14);}

/* Campaign duration helper is deliberately visually grouped with the date range. */
.field [data-campaign-duration]{font-weight:800!important;}
.field [data-campaign-start],.field [data-campaign-end]{font-weight:750!important;}

@media(max-width:760px){
  .form-control,.form-select,.field .form-control,.field .form-select,.field input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),.field select,.field textarea{min-height:50px!important}
  .portal-preview-footer,.inline-media-viewer-footer{align-items:stretch;flex-direction:column}
  .portal-preview-footer .btn,.inline-media-download,.inline-media-close{width:100%}
  .portal-media-modal .media-stage{min-height:52vh;padding:10px}
  .pdf-preview-page{padding:6px;border-radius:10px}
}

/* Campaign duration pricing layout and admin campaign status actions. */
.campaign-create-card{max-width:920px;}
.campaign-duration-field{align-self:start;}
.campaign-price-field{align-self:stretch;}
.campaign-price-display{
  min-height:96px;
  margin-top:0;
  padding:16px 18px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  background:linear-gradient(135deg,#171311 0%,#2c221c 100%);
  color:#fff;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:3px;
  box-shadow:0 12px 30px rgba(31,21,15,.14),inset 0 1px 0 rgba(255,255,255,.05);
}
.campaign-price-display.is-placeholder{
  min-height:96px;
  background:linear-gradient(145deg,#f7efe7,#fffdf9);
  border:1px solid #e4d8cc;
  color:#62574f;
  box-shadow:none;
}
.campaign-price-placeholder{font-size:14px;font-weight:800;line-height:1.45;}
.campaign-price-kicker{font-size:10px!important;font-weight:900!important;letter-spacing:.12em;text-transform:uppercase;color:#ff9a6b;}
.campaign-price-amount{display:block;font-size:30px!important;line-height:1.05;font-weight:950!important;letter-spacing:-.04em;color:#fff;margin:4px 0 3px;}
.campaign-price-meta{font-size:12px!important;line-height:1.4!important;color:#cfc0b6!important;font-weight:700!important;}

.btn-status-active,.btn-status-paused,.btn-status-scheduled{
  border:0!important;
  border-radius:999px!important;
  padding:11px 16px!important;
  font-size:12px!important;
  font-weight:900!important;
  transition:transform .16s ease,box-shadow .16s ease,filter .16s ease;
}
.btn-status-active{background:#28A745!important;box-shadow:0 8px 18px rgba(40,167,69,.20);}
.btn-status-active:hover{background:#218838!important;color:#fff!important;transform:translateY(-1px);box-shadow:0 11px 22px rgba(40,167,69,.28);}
.btn-status-paused{background:#FFC107!important;color:#2b2100!important;box-shadow:0 8px 18px rgba(255,193,7,.20);}
.btn-status-paused:hover{background:#e0a800!important;color:#211900!important;transform:translateY(-1px);box-shadow:0 11px 22px rgba(255,193,7,.28);}
.btn-status-scheduled{background:#17A2B8!important;box-shadow:0 8px 18px rgba(23,162,184,.20);}
.btn-status-scheduled:hover{background:#138496!important;color:#fff!important;transform:translateY(-1px);box-shadow:0 11px 22px rgba(23,162,184,.28);}
.btn-status-active:focus-visible,.btn-status-paused:focus-visible,.btn-status-scheduled:focus-visible{outline:3px solid rgba(27,23,20,.12)!important;outline-offset:3px;}

@media(max-width:760px){
  .campaign-price-display,.campaign-price-display.is-placeholder{min-height:82px}
  .campaign-price-amount{font-size:27px!important}
}

/* Calmer campaign status palette and motion-free button hovers. */
.btn-status-active,.btn-status-paused,.btn-status-scheduled,.btn-status-complete{
  min-height:42px;
  gap:8px!important;
  border:1px solid transparent!important;
  border-radius:13px!important;
  padding:10px 15px!important;
  font-size:13px!important;
  font-weight:900!important;
  box-shadow:0 5px 14px rgba(31,23,18,.08)!important;
  transition:background-color .16s ease,border-color .16s ease,color .16s ease!important;
}
.btn-status-active>.btn-icon,.btn-status-paused>.btn-icon,.btn-status-scheduled>.btn-icon,.btn-status-complete>.btn-icon{width:17px;height:17px;flex-basis:17px;}
.btn-status-active{background:#267A52!important;border-color:#206A47!important;color:#fff!important;}
.btn-status-active:hover,.btn-status-active:focus{background:#216A47!important;border-color:#1B5A3D!important;color:#fff!important;box-shadow:0 5px 14px rgba(31,23,18,.08)!important;}
.btn-status-paused{background:#D49A24!important;border-color:#BF8614!important;color:#241A06!important;}
.btn-status-paused:hover,.btn-status-paused:focus{background:#BF8614!important;border-color:#A9730F!important;color:#201705!important;box-shadow:0 5px 14px rgba(31,23,18,.08)!important;}
.btn-status-scheduled{background:#486FA8!important;border-color:#3C6094!important;color:#fff!important;}
.btn-status-scheduled:hover,.btn-status-scheduled:focus{background:#3C6094!important;border-color:#34537F!important;color:#fff!important;box-shadow:0 5px 14px rgba(31,23,18,.08)!important;}
.btn-status-complete{background:#241D19!important;border-color:#241D19!important;color:#fff!important;}
.btn-status-complete:hover,.btn-status-complete:focus{background:#171310!important;border-color:#171310!important;color:#fff!important;box-shadow:0 5px 14px rgba(31,23,18,.08)!important;}
.btn-status-active:focus-visible{outline:3px solid rgba(38,122,82,.18)!important;outline-offset:3px;}
.btn-status-paused:focus-visible{outline:3px solid rgba(212,154,36,.22)!important;outline-offset:3px;}
.btn-status-scheduled:focus-visible{outline:3px solid rgba(72,111,168,.20)!important;outline-offset:3px;}

/* Buttons stay physically still on hover: no lift, scale, pop, or sliding shine. */
.portal-body .btn,
.portal-body .portal-header-action,
.portal-body button.btn,
.portal-body a.btn{
  transform:none!important;
}
.portal-body .btn:hover,
.portal-body .btn:focus,
.portal-body .portal-header-action:hover,
.portal-body .portal-header-action:focus,
.portal-body button.btn:hover,
.portal-body button.btn:focus,
.portal-body a.btn:hover,
.portal-body a.btn:focus{
  transform:none!important;
}
.btn-new-action:hover{
  transform:none!important;
  box-shadow:0 12px 26px rgba(34,24,18,.18),inset 0 1px 0 rgba(255,255,255,.08)!important;
}
.btn-create-campaign:before{display:none!important;transform:none!important;transition:none!important;}
.btn-create-campaign:hover,
.btn-create-campaign:focus{
  transform:none!important;
  box-shadow:0 12px 26px rgba(34,24,18,.18),inset 0 1px 0 rgba(255,255,255,.08)!important;
}
.btn-pricelist:hover,.btn-pricelist:focus{
  transform:none!important;
  box-shadow:0 7px 18px rgba(44,30,21,.06)!important;
}
.portal-header-action:hover,.portal-header-action:focus{transform:none!important;}

/* Locked calculated campaign end date and restored dark invoice preview chrome. */
.portal-date-locked{
  pointer-events:none!important;
  cursor:default!important;
  background:linear-gradient(145deg,#f3ece5,#faf6f1)!important;
  color:#70645c!important;
  border-color:#e0d4c9!important;
  box-shadow:none!important;
}
.portal-date-locked:focus{border-color:#e0d4c9!important;box-shadow:none!important;outline:0!important;}

.portal-preview-footer{justify-content:space-between!important;align-items:center!important;}
.portal-preview-actions{display:flex;align-items:center;gap:10px;}
.portal-preview-print{background:#ef512f!important;border:1px solid #ef512f!important;font-weight:850!important;}
.portal-preview-print:hover,.portal-preview-print:focus{background:#dc4528!important;border-color:#dc4528!important;}
.portal-preview-print[hidden]{display:none!important;}
.portal-print-frame{position:fixed!important;right:0!important;bottom:0!important;width:0!important;height:0!important;border:0!important;opacity:0!important;pointer-events:none!important;}

/* Invoice PDFs use the darker preview header/footer treatment from the earlier portal design. */
.portal-media-modal.is-pdf-preview .modal-content{border:1px solid rgba(255,255,255,.1)!important;background:#171311!important;color:#fff!important;}
.portal-media-modal.is-pdf-preview .modal-header{border:0!important;background:linear-gradient(180deg,#211b17,#171311)!important;}
.portal-media-modal.is-pdf-preview .modal-title{color:#fff!important;}
.portal-media-modal.is-pdf-preview .media-kicker{color:#f69a73!important;}
.portal-media-modal.is-pdf-preview .btn-close{filter:invert(1)!important;opacity:.82!important;}
.portal-media-modal.is-pdf-preview .portal-preview-footer{border-top:1px solid rgba(255,255,255,.08)!important;background:#171311!important;}
.portal-media-modal.is-pdf-preview .portal-preview-download{border-color:#fff!important;}
.portal-media-modal.is-pdf-preview .portal-preview-download:hover,.portal-media-modal.is-pdf-preview .portal-preview-download:focus{background:#f5ebe3!important;border-color:#f5ebe3!important;color:#1b1714!important;}

.portal-media-modal.is-pdf-preview .portal-preview-close:hover,.portal-media-modal.is-pdf-preview .portal-preview-close:focus{background:rgba(255,255,255,.13)!important;border-color:rgba(255,255,255,.22)!important;color:#fff!important;}

@media(max-width:760px){
  .portal-preview-footer{align-items:stretch!important}
  .portal-preview-actions{display:grid;grid-template-columns:1fr;gap:8px}
  .portal-preview-actions .btn,.portal-preview-close{width:100%!important}
}

/* Unified dark action buttons, clearer creative review actions and spacious campaign controls. */
.btn-dark-action{
  appearance:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  border:1px solid rgba(255,255,255,.16)!important;
  border-radius:12px!important;
  padding:10px 14px!important;
  background:linear-gradient(135deg,#1d1916 0%,#322821 100%)!important;
  color:#fff!important;
  font-size:12px!important;
  font-weight:900!important;
  line-height:1.1!important;
  box-shadow:0 8px 18px rgba(34,24,18,.14),inset 0 1px 0 rgba(255,255,255,.07)!important;
  text-decoration:none!important;
  transform:none!important;
  transition:background-color .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease!important;
}
.btn-dark-action.btn-sm{padding:8px 11px!important;font-size:11px!important;border-radius:10px!important;}
.btn-dark-action>.btn-icon{color:#ff8b57!important;}
.btn-dark-action:hover,.btn-dark-action:focus{
  background:linear-gradient(135deg,#241e1a 0%,#3a2e27 100%)!important;
  color:#fff!important;
  border-color:rgba(255,255,255,.19)!important;
  box-shadow:0 8px 18px rgba(34,24,18,.14),inset 0 1px 0 rgba(255,255,255,.07)!important;
  transform:none!important;
}
.btn-dark-action:focus-visible{outline:3px solid rgba(239,81,47,.20)!important;outline-offset:2px;}

.btn-decline-action{
  appearance:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  border:1px solid #65251f!important;
  border-radius:12px!important;
  padding:10px 14px!important;
  background:linear-gradient(135deg,#5b211c 0%,#7b2b23 100%)!important;
  color:#fff!important;
  font-size:12px!important;
  font-weight:900!important;
  line-height:1.1!important;
  box-shadow:0 8px 18px rgba(91,33,28,.15),inset 0 1px 0 rgba(255,255,255,.07)!important;
  transform:none!important;
  transition:background-color .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease!important;
}
.btn-decline-action.btn-sm{padding:8px 11px!important;font-size:11px!important;border-radius:10px!important;}
.btn-decline-action>.btn-icon{color:#ffc1b7!important;}
.btn-decline-action:hover,.btn-decline-action:focus{
  background:linear-gradient(135deg,#68251f 0%,#873127 100%)!important;
  border-color:#732920!important;
  color:#fff!important;
  box-shadow:0 8px 18px rgba(91,33,28,.15),inset 0 1px 0 rgba(255,255,255,.07)!important;
  transform:none!important;
}

.preview-btn{white-space:nowrap!important;}
.preview-btn>.btn-icon{color:#ff8b57!important;}

.campaign-operation-actions{gap:0!important;}
.campaign-operation-form{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:12px!important;
  width:100%!important;
}
.campaign-operation-form .btn{margin:0!important;}

#creative .row-actions{gap:10px!important;align-items:center!important;}
#creative .row-actions form{margin:0!important;}
#creative .row-actions form[style]{gap:9px!important;}
#creative .row-actions input[name="reason"]{min-width:180px;}

@media(max-width:760px){
  .campaign-operation-form{gap:10px!important}
  .campaign-operation-form .btn{flex:1 1 calc(50% - 5px)!important}
  #creative .row-actions{align-items:stretch!important}
}

/* Semantic action buttons keep the dark-action geometry while preserving action colors. */
.btn-semantic-action{
  appearance:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  border:1px solid transparent!important;
  border-radius:12px!important;
  padding:10px 14px!important;
  font-size:12px!important;
  font-weight:900!important;
  line-height:1.1!important;
  text-decoration:none!important;
  box-shadow:0 8px 18px rgba(34,24,18,.12),inset 0 1px 0 rgba(255,255,255,.08)!important;
  transform:none!important;
  transition:background-color .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease!important;
}
.btn-semantic-action.btn-sm{padding:8px 11px!important;font-size:11px!important;border-radius:10px!important;}
.btn-semantic-action>.btn-icon{width:17px;height:17px;flex-basis:17px;}
.btn-primary-action{background:#0d6efd!important;border-color:#0d6efd!important;color:#fff!important;}
.btn-primary-action>.btn-icon{color:#fff!important;}
.btn-primary-action:hover,.btn-primary-action:focus{background:#0b5ed7!important;border-color:#0a58ca!important;color:#fff!important;box-shadow:0 8px 18px rgba(13,110,253,.16)!important;}
.btn-danger-action{background:#dc3545!important;border-color:#dc3545!important;color:#fff!important;}
.btn-danger-action>.btn-icon{color:#fff!important;}
.btn-danger-action:hover,.btn-danger-action:focus{background:#bb2d3b!important;border-color:#b02a37!important;color:#fff!important;box-shadow:0 8px 18px rgba(220,53,69,.16)!important;}
.btn-light-action{background:#f8f9fa!important;border-color:#ded2c6!important;color:#2a211c!important;box-shadow:0 8px 18px rgba(34,24,18,.07)!important;}
.btn-light-action>.btn-icon{color:#6b5b50!important;}
.btn-light-action:hover,.btn-light-action:focus{background:#e9ecef!important;border-color:#d2c3b5!important;color:#211a16!important;box-shadow:0 8px 18px rgba(34,24,18,.07)!important;}
.led-edit-actions{gap:10px!important;align-items:center!important;}
.domain-remove-button{display:inline-grid;place-items:center;width:26px;height:26px;margin-left:5px;padding:0;border:0;border-radius:8px;background:transparent;color:#7c2c27;cursor:pointer;vertical-align:middle;}
.domain-remove-button .btn-icon{width:14px;height:14px;}
.domain-remove-button:hover,.domain-remove-button:focus{background:#f8e7e4;color:#69231f;outline:0;}

/* Designed portal confirmation replaces native browser confirm dialogs. */
.portal-confirm-modal .modal-dialog{max-width:470px;}
.portal-confirm-modal .modal-content{overflow:hidden;border:1px solid #e1d4c8;border-radius:24px;background:#fffdf9;box-shadow:0 30px 90px rgba(45,30,21,.28);}
.portal-confirm-modal .modal-body{padding:30px 30px 22px;text-align:center;}
.portal-confirm-icon{width:62px;height:62px;margin:0 auto 18px;border-radius:20px;display:grid;place-items:center;background:linear-gradient(145deg,#fbe9e6,#f7d9d4);color:#9e2f28;border:1px solid #f0c8c2;}
.portal-confirm-icon svg{width:29px;height:29px;display:block;}
.portal-confirm-modal.is-dark-confirm .portal-confirm-icon{background:linear-gradient(145deg,#f1e9e2,#e9ddd3);color:#2b211b;border-color:#dfd0c4;}
.portal-confirm-kicker{display:block;margin-bottom:7px;color:#a13d2d;font-size:11px;font-weight:900;letter-spacing:.1em;text-transform:uppercase;}
.portal-confirm-modal.is-dark-confirm .portal-confirm-kicker{color:#7c675a;}
.portal-confirm-modal .modal-title{margin:0;color:#201914;font-size:23px;font-weight:900;letter-spacing:-.025em;}
.portal-confirm-message{margin:12px auto 0;max-width:390px;color:#74655b;font-size:14px;line-height:1.55;font-weight:600;}
.portal-confirm-modal .modal-footer{display:flex;gap:10px;justify-content:flex-end;padding:18px 22px 22px;border:0;background:#f8f1ea;}
.portal-confirm-modal .modal-footer .btn{min-width:130px;}
.portal-confirm-modal .btn-close{position:absolute;right:18px;top:18px;z-index:2;}
@media(max-width:560px){.portal-confirm-modal .modal-body{padding:28px 22px 18px}.portal-confirm-modal .modal-footer{display:grid;grid-template-columns:1fr;padding:16px 20px 20px}.portal-confirm-modal .modal-footer .btn{width:100%;min-width:0}}

/* Consistent LED actions, inline agency domains, modern campaign controls and in-panel completion report preview. */
.led-action-button,
.led-header-action{
  min-height:40px!important;
  height:40px!important;
  padding:9px 13px!important;
  border-radius:12px!important;
  font-size:11px!important;
  line-height:1!important;
  white-space:nowrap!important;
}
.top-actions>form{display:flex!important;align-items:stretch!important;margin:0!important;}
.top-actions .led-header-action{height:42px!important;min-height:42px!important;font-size:12px!important;padding:10px 14px!important;}
.led-card-actions{align-items:center!important;}
.led-card-actions>form{display:flex!important;align-items:stretch!important;margin:0!important;}
.led-card-actions .led-action-button{align-self:stretch!important;}

.inline-domain-form{margin-top:18px;}
.inline-domain-control{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:stretch;}
.inline-domain-control .form-control{min-height:46px!important;}
.inline-domain-control .btn{min-height:46px!important;white-space:nowrap!important;}

.manual-email-actions form{display:flex!important;flex-wrap:wrap!important;gap:10px!important;margin:0!important;}
.manual-email-actions .btn{margin:0!important;}

/* Completion report preview stays inside the Admin Panel. */
.portal-report-modal{--bs-modal-width:1180px;}
.portal-report-modal .modal-dialog{max-width:min(1180px,calc(100vw - 28px));}
.portal-report-modal .modal-content{overflow:hidden;border:1px solid rgba(255,255,255,.1);border-radius:25px;background:#171311;color:#fff;box-shadow:0 34px 100px rgba(0,0,0,.38);}
.portal-report-modal .modal-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border:0;background:linear-gradient(180deg,#211b17,#171311);}
.portal-report-modal .report-kicker{display:block;color:#f69a73;font-size:10px;font-weight:900;letter-spacing:.13em;text-transform:uppercase;}
.portal-report-modal .modal-title{margin:4px 0 0;color:#fff;font-size:18px;font-weight:900;word-break:break-word;}
.portal-report-modal .btn-close{filter:invert(1);opacity:.82;}
.portal-report-modal .modal-body{padding:0;background:#0f0c0a;}
.portal-report-stage{height:min(72vh,840px);min-height:520px;padding:18px;background:radial-gradient(circle at 50% 8%,#332720,#130f0d 72%);}
.portal-report-frame{display:block;width:100%;height:100%;border:0;border-radius:14px;background:#f4eee8;box-shadow:0 20px 55px rgba(0,0,0,.28);}
.portal-report-modal .modal-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border:0;border-top:1px solid rgba(255,255,255,.08);background:#171311;}
.portal-report-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
.btn-report-download,.btn-report-print,.btn-report-close{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-height:40px!important;border-radius:12px!important;padding:9px 13px!important;font-size:11px!important;font-weight:900!important;transform:none!important;transition:background-color .16s ease,border-color .16s ease,color .16s ease!important;}
.btn-report-download{background:#fff!important;border:1px solid #fff!important;color:#1b1714!important;}
.btn-report-download>.btn-icon{color:#ef512f!important;}
.btn-report-download:hover,.btn-report-download:focus{background:#f3e8df!important;border-color:#f3e8df!important;color:#1b1714!important;transform:none!important;}
.btn-report-print{background:#ef512f!important;border:1px solid #ef512f!important;color:#fff!important;}
.btn-report-print>.btn-icon{color:#fff!important;}
.btn-report-print:hover,.btn-report-print:focus{background:#dc4528!important;border-color:#dc4528!important;color:#fff!important;transform:none!important;}
.btn-report-close{background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important;}
.btn-report-close>.btn-icon{color:#d8cbc3!important;}
.btn-report-close:hover,.btn-report-close:focus{background:rgba(255,255,255,.13)!important;border-color:rgba(255,255,255,.22)!important;color:#fff!important;transform:none!important;}

@media(max-width:760px){
  .inline-domain-control{grid-template-columns:1fr}
  .inline-domain-control .btn{width:100%!important}
  .portal-report-modal .modal-dialog{margin:.6rem}
  .portal-report-stage{height:65vh;min-height:360px;padding:10px}
  .portal-report-modal .modal-footer{align-items:stretch;flex-direction:column}
  .portal-report-actions{display:grid;grid-template-columns:1fr;width:100%}
  .portal-report-actions .btn,.btn-report-close{width:100%!important}
}

/* Pricing/staff action consistency, all-user directory and revised pause treatment. */
.btn-status-paused{
  background:#FFF8E1!important;
  border-color:#EEDC9A!important;
  color:#665119!important;
  box-shadow:0 5px 14px rgba(118,91,21,.08)!important;
}
.btn-status-paused>.btn-icon{color:#8B6B18!important;}
.btn-status-paused:hover,.btn-status-paused:focus{
  background:#FFF8E1!important;
  border-color:#DFC97C!important;
  color:#574412!important;
  box-shadow:0 5px 14px rgba(118,91,21,.08)!important;
  transform:none!important;
}
.status-paused{background:#FFF8E1!important;color:#745C17!important;border:1px solid #F0E2B6!important;}

.inline-discount-form{margin-top:0;}
.inline-discount-control{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:stretch;}
.inline-discount-control input{min-height:46px!important;}
.inline-discount-control .btn{min-height:46px!important;white-space:nowrap!important;}

.all-users-filter{display:grid;grid-template-columns:minmax(220px,1.6fr) minmax(190px,.8fr) minmax(180px,.7fr) auto;gap:14px;align-items:end;}
.all-users-filter .form-actions{margin:0;align-items:stretch;}
.all-users-table .staff-person{min-width:210px;}

/* All new-style buttons remain stationary on hover/focus. */
.btn-dark-action:hover,.btn-dark-action:focus,
.btn-semantic-action:hover,.btn-semantic-action:focus,
.btn-new-action:hover,.btn-new-action:focus,
.btn-create-campaign:hover,.btn-create-campaign:focus{
  transform:none!important;
}

@media(max-width:980px){
  .all-users-filter{grid-template-columns:1fr 1fr}
  .all-users-filter .form-actions{grid-column:1/-1}
}
@media(max-width:760px){
  .inline-discount-control{grid-template-columns:1fr}
  .inline-discount-control .btn{width:100%!important}
  .all-users-filter{grid-template-columns:1fr}
  .all-users-filter .form-actions{grid-column:auto}
}

/* Automation settings cards and consistent current-creative/settings actions. */
.settings-panel{overflow:hidden;}
.settings-panel-head{margin-bottom:20px;}
.settings-eyebrow{display:block;margin-bottom:7px;font-size:11px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;color:var(--red);}
.settings-form{display:grid;gap:12px;}
.settings-option-row{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:16px;min-height:84px;padding:16px 18px;border:1px solid #e8ddd2;border-radius:17px;background:linear-gradient(145deg,#fffdf9 0%,#faf3eb 100%);box-shadow:0 5px 16px rgba(45,30,19,.045);}
.settings-option-row:hover{border-color:#dfcfc1;background:linear-gradient(145deg,#fff 0%,#fbf4ed 100%);}
.settings-option-icon{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:#1d1916;color:#ff8b57;box-shadow:0 7px 15px rgba(34,24,18,.12);}
.settings-row-icon{width:22px;height:22px;display:block;}
.settings-option-copy strong{display:block;font-size:16px;line-height:1.25;color:#211914;}
.settings-option-copy small{display:block;margin-top:5px;font-size:13px;line-height:1.45;color:var(--muted);}
.settings-check{position:relative;display:inline-flex;align-items:center;justify-content:center;margin:0;cursor:pointer;}
.settings-check input{position:absolute;opacity:0;pointer-events:none;}
.settings-check span{position:relative;display:block;width:52px;height:30px;border-radius:999px;background:#e8ded4;border:1px solid #d8cabd;box-shadow:inset 0 1px 2px rgba(38,25,17,.08);transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease;}
.settings-check span:after{content:"";position:absolute;top:4px;left:4px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 2px 7px rgba(35,23,15,.18);transition:left .16s ease;}
.settings-check input:checked+span{background:linear-gradient(135deg,#ef512f,#f47a34);border-color:#ef512f;}
.settings-check input:checked+span:after{left:26px;}
.settings-check input:focus-visible+span{outline:3px solid rgba(239,81,47,.20);outline-offset:3px;}
.settings-option-row-days{grid-template-columns:52px minmax(0,1fr) minmax(220px,280px);}
.settings-days-control{display:grid;grid-template-columns:82px 1fr;align-items:center;overflow:hidden;border:1px solid #ded4ca;border-radius:14px;background:#fffdfb;min-height:50px;}
.settings-days-control input{width:82px!important;min-height:48px!important;border:0!important;border-radius:0!important;background:#fff!important;padding:0 14px!important;text-align:center;font-size:17px!important;font-weight:900!important;box-shadow:none!important;}
.settings-days-control span{display:flex;align-items:center;min-height:48px;padding:0 14px;border-left:1px solid #eadfd5;color:#6d6057;font-size:13px;font-weight:800;background:#faf4ed;}
.settings-save-actions{justify-content:flex-end;margin-top:6px;}
@media(max-width:760px){
  .settings-option-row,.settings-option-row-days{grid-template-columns:46px minmax(0,1fr) auto;padding:15px;gap:12px}
  .settings-option-icon{width:44px;height:44px}
  .settings-option-row-days .settings-days-control{grid-column:1/-1;width:100%}
  .settings-save-actions .btn{width:100%!important}
}

/* Invoice delivery switch uses the same visual language as Settings. */
.invoice-send-option{display:grid!important;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:16px;min-height:84px;padding:16px 18px!important;border:1px solid #e8ddd2;border-radius:17px;background:linear-gradient(145deg,#fffdf9 0%,#faf3eb 100%);box-shadow:0 5px 16px rgba(45,30,19,.045);}
.invoice-send-icon{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:#1d1916;color:#ff8b57;box-shadow:0 7px 15px rgba(34,24,18,.12);}
.invoice-send-copy strong{display:block;font-size:16px;line-height:1.25;color:#211914;}
.invoice-send-copy small{display:block;margin-top:5px;font-size:13px;line-height:1.45;color:var(--muted);}
@media(max-width:760px){.invoice-send-option{grid-template-columns:46px minmax(0,1fr) auto;gap:12px;padding:15px!important}.invoice-send-icon{width:44px;height:44px}}

/* Campaign duration, invoice billing and financial management. */
.grid-5{grid-template-columns:repeat(5,minmax(0,1fr));}
.campaign-summary-grid .stat-card{min-width:0;}.campaign-duration-card{background:linear-gradient(145deg,#fffdf9,#f8efe6);}.campaign-duration-card strong{text-transform:capitalize;}
.invoice-limit-note{padding:18px 20px;font-size:14px;}.invoice-limit-note strong{font-size:16px;color:var(--ink);}
.invoice-month-picker{position:relative;border:1px solid #ded4ca;border-radius:15px;background:#fffdf9;overflow:visible;}.invoice-month-picker summary{list-style:none;min-height:52px;padding:0 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;font-size:14px;font-weight:800;color:#302720;}.invoice-month-picker summary::-webkit-details-marker{display:none;}.invoice-month-picker[open]{border-color:#cdb9a8;box-shadow:0 0 0 3px rgba(239,81,47,.08);}.invoice-picker-caret{font-size:20px;color:var(--orange);}.invoice-month-options{display:grid;gap:8px;padding:10px;border-top:1px solid #eee2d7;background:#fff;}.invoice-month-option{display:grid;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:10px;padding:11px 12px;border-radius:12px;background:#faf4ed;cursor:pointer;}.invoice-month-option:hover{background:#f6eadf;}.invoice-month-option input{width:18px;height:18px;accent-color:var(--orange);}.invoice-month-option strong,.invoice-month-option small{display:block;}.invoice-month-option strong{font-size:14px;}.invoice-month-option small{margin-top:2px;font-size:12px;color:var(--muted);}
.invoice-list{display:grid;gap:14px;}.invoice-card{border:1px solid #e7ddd3;border-radius:20px;background:var(--content-gradient);overflow:hidden;box-shadow:0 8px 24px rgba(45,30,19,.045);}.invoice-card.is-paid{border-color:#cfe6d8;}.invoice-card-main{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:15px;padding:18px;}.invoice-file-icon{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:#1d1916;color:#ff8b57;}.invoice-card-copy{min-width:0;}.invoice-card-copy .invoice-eyebrow{display:block;margin-bottom:4px;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;color:var(--orange);}.invoice-card-copy strong{display:block;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.invoice-card-copy small{display:block;margin-top:4px;font-size:12px;color:var(--muted);}.invoice-payment-state{text-align:right;}.invoice-payment-state small{display:block;margin-top:5px;font-size:11px;color:var(--muted);}.invoice-status{display:inline-flex;align-items:center;gap:6px;padding:8px 10px;border-radius:999px;font-size:11px;font-weight:900;}.invoice-status svg{width:15px;height:15px;}.invoice-status.awaiting{background:#fff4d8;color:#755414;}.invoice-status.paid{background:#e1f2e8;color:#1b6845;}.invoice-card-actions{padding:0 18px 18px;border-top:1px solid #f0e6dc;padding-top:14px;}.btn-payment-confirm{background:#1f6d4a!important;min-height:42px;}.btn-payment-confirm:hover,.btn-payment-confirm:focus{background:#1b6142!important;}.invoice-slip-zone{padding:14px 18px;border-top:1px solid #f0e6dc;background:#faf6f0;}.invoice-slip-zone>strong{display:block;margin-bottom:9px;font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#74675d;}.invoice-slip-list{display:grid;gap:8px;}.invoice-slip-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid #e6dbd0;border-radius:13px;background:#fff;}.invoice-slip-item>div{display:flex;align-items:center;gap:10px;min-width:0;}.invoice-slip-item>div>span{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#1d1916;color:#ff8b57;}.invoice-slip-item>div>span svg{width:17px;height:17px;}.invoice-slip-item strong,.invoice-slip-item small{display:block;}.invoice-slip-item strong{font-size:13px;}.invoice-slip-item small{margin-top:2px;font-size:11px;color:var(--muted);}.payment-slip-upload{padding:16px 18px;border-top:1px solid #f0e6dc;background:#fffdf9;}.payment-slip-upload .creative-upload-control{margin-top:4px;}
.financial-summary-grid{margin-bottom:20px;}.financial-stat strong{font-size:29px;}.financial-stat.is-paid{background:linear-gradient(145deg,#f7fff9,#eaf7ef);border-color:#cfe6d8;}.financial-stat.is-awaiting{background:linear-gradient(145deg,#fffdf9,#fff7e7);border-color:#eedfb4;}.financial-filters{display:flex;gap:8px;flex-wrap:wrap;}.financial-table td{vertical-align:top;}
@media(max-width:1200px){.grid-5{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.grid-5{grid-template-columns:repeat(2,minmax(0,1fr))}.invoice-card-main{grid-template-columns:48px minmax(0,1fr)}.invoice-payment-state{grid-column:1/-1;text-align:left;padding-left:63px}}
@media(max-width:760px){.grid-5{grid-template-columns:1fr}.invoice-card-main{grid-template-columns:42px minmax(0,1fr);padding:15px}.invoice-file-icon{width:42px;height:42px}.invoice-payment-state{padding-left:52px}.invoice-card-actions{padding:12px 15px 15px}.invoice-card-actions .btn,.invoice-card-actions form{width:100%}.invoice-card-actions form .btn{width:100%}.invoice-slip-item{align-items:flex-start;flex-direction:column}.invoice-slip-item .btn{width:100%}.creative-upload-control{grid-template-columns:1fr!important}.payment-slip-upload .btn{width:100%!important}}
.invoice-billing-locked{min-height:52px;display:flex;align-items:center;padding:0 16px;border:1px solid #ded4ca;border-radius:15px;background:#f7f0e8;color:#302720;font-size:14px;font-weight:850;}

/* Unified media/payment controls, one-slip UX and paid invoice treatment. */
.portal-file-preview-button{
  min-height:40px!important;
  height:40px!important;
  padding:9px 13px!important;
  border-radius:12px!important;
  font-size:11px!important;
  white-space:nowrap!important;
}

/* Media preview footer actions now use the same squared premium portal geometry. */
.portal-preview-footer{gap:12px!important;}
.portal-preview-actions{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important;}
.portal-preview-actions .btn,.portal-preview-close{
  min-height:42px!important;
  height:42px!important;
  border-radius:12px!important;
  padding:10px 14px!important;
  font-size:12px!important;
  font-weight:900!important;
  transform:none!important;
}
.portal-preview-download>.btn-icon,.portal-preview-print>.btn-icon{color:#ff8b57!important;}
.portal-preview-close>.btn-icon{color:#6b5b50!important;}
.portal-preview-print{
  background:linear-gradient(135deg,#1d1916 0%,#322821 100%)!important;
  border:1px solid rgba(255,255,255,.16)!important;
  color:#fff!important;
  box-shadow:0 8px 18px rgba(34,24,18,.14),inset 0 1px 0 rgba(255,255,255,.07)!important;
}
.portal-preview-print:hover,.portal-preview-print:focus{
  background:linear-gradient(135deg,#241e1a 0%,#3a2e27 100%)!important;
  border-color:rgba(255,255,255,.19)!important;
  color:#fff!important;
  transform:none!important;
}
/* Keep the preferred dark invoice/slip preview chrome while using new action shapes. */
.portal-media-modal.is-pdf-preview .portal-preview-download{
  background:#fff!important;
  border:1px solid #fff!important;
  color:#1b1714!important;
  box-shadow:none!important;
}
.portal-media-modal.is-pdf-preview .portal-preview-download>.btn-icon{color:#1f1915!important;}
.portal-media-modal.is-pdf-preview .portal-preview-print{
  background:linear-gradient(135deg,#2b241f 0%,#3b3029 100%)!important;
  border-color:rgba(255,255,255,.16)!important;
}
.portal-media-modal.is-pdf-preview .portal-preview-close{
  background:rgba(255,255,255,.08)!important;
  border:1px solid rgba(255,255,255,.16)!important;
  color:#fff!important;
  box-shadow:none!important;
}
.portal-media-modal.is-pdf-preview .portal-preview-close>.btn-icon{color:#fff!important;}

/* Inline creative preview actions match the new portal button language. */
.inline-media-viewer-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:14px 16px;background:#171311;border-top:1px solid rgba(255,255,255,.08);}
.inline-media-download,.inline-media-close{
  min-height:42px!important;
  height:42px!important;
  border-radius:12px!important;
  padding:10px 14px!important;
  font-size:12px!important;
  font-weight:900!important;
  transform:none!important;
}
.inline-media-download>.btn-icon{color:#ff8b57!important;}
.inline-media-close>.btn-icon{color:#6b5b50!important;}
.inline-media-download:hover,.inline-media-close:hover{transform:none!important;}

/* One payment slip maximum per invoice. */
.payment-slip-limit-note{
  display:flex;
  align-items:center;
  gap:10px;
  padding:14px 18px;
  border-top:1px solid #eadfd5;
  background:#f7f1ea;
  color:#685b52;
  font-size:12px;
  font-weight:750;
  line-height:1.45;
}
.payment-slip-limit-note>.btn-icon{width:19px;height:19px;flex:0 0 19px;color:#8b6b58;}

/* A paid invoice becomes a complete green state, not only a green badge. */
.invoice-card.is-paid{
  border-color:#9fd3b3!important;
  background:linear-gradient(145deg,#f4fff8 0%,#e3f6ea 100%)!important;
  box-shadow:0 12px 30px rgba(31,109,74,.10)!important;
}
.invoice-card.is-paid .invoice-card-main{
  background:linear-gradient(145deg,#f5fff8 0%,#e7f7ed 100%)!important;
}
.invoice-card.is-paid .invoice-file-icon{
  background:linear-gradient(145deg,#1f6d4a,#2e8a61)!important;
  color:#dcf7e7!important;
  box-shadow:0 8px 18px rgba(31,109,74,.18)!important;
}
.invoice-card.is-paid .invoice-eyebrow{color:#1f6d4a!important;}
.invoice-card.is-paid .invoice-card-copy>strong{color:#174c36!important;}
.invoice-card.is-paid .invoice-card-copy small,.invoice-card.is-paid .invoice-payment-state small{color:#537263!important;}
.invoice-card.is-paid .invoice-status.paid{
  background:#ccebd8!important;
  color:#155b3b!important;
  border:1px solid #a8d7bb!important;
}
.invoice-card.is-paid .invoice-card-actions{
  border-top-color:#b9dfc7!important;
  background:#eaf8ef!important;
}
.invoice-card.is-paid .invoice-slip-zone{
  border-top-color:#b9dfc7!important;
  background:#def3e6!important;
}
.invoice-card.is-paid .invoice-slip-zone>strong{color:#37634c!important;}
.invoice-card.is-paid .invoice-slip-item{
  border-color:#b6ddc5!important;
  background:#f7fff9!important;
}
.invoice-card.is-paid .invoice-slip-item>div>span{
  background:#226f4d!important;
  color:#dff8e9!important;
}
.invoice-card.is-paid .invoice-slip-item small{color:#5b7768!important;}

/* Admin invoice actions share one exact height/shape. */
.invoice-card-actions{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  flex-wrap:wrap!important;
}
.invoice-card-actions>form{display:flex!important;align-items:stretch!important;margin:0!important;}
.invoice-card-actions .btn,.invoice-card-actions .invoice-operation-button{
  min-height:42px!important;
  height:42px!important;
  border-radius:12px!important;
  padding:10px 14px!important;
  font-size:12px!important;
  line-height:1.1!important;
  white-space:nowrap!important;
}
.btn-payment-confirm{
  appearance:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  background:linear-gradient(135deg,#1f6d4a 0%,#2e8a61 100%)!important;
  color:#fff!important;
  border:1px solid #1f6d4a!important;
  border-radius:12px!important;
  padding:10px 14px!important;
  font-size:12px!important;
  font-weight:900!important;
  line-height:1.1!important;
  box-shadow:0 8px 18px rgba(31,109,74,.16),inset 0 1px 0 rgba(255,255,255,.09)!important;
  transform:none!important;
}
.btn-payment-confirm>.btn-icon{color:#dcf7e7!important;}
.btn-payment-confirm:hover,.btn-payment-confirm:focus{
  background:linear-gradient(135deg,#235f46 0%,#287b58 100%)!important;
  border-color:#235f46!important;
  color:#fff!important;
  box-shadow:0 8px 18px rgba(31,109,74,.16),inset 0 1px 0 rgba(255,255,255,.09)!important;
  transform:none!important;
}

@media(max-width:760px){
  .portal-preview-actions{display:grid!important;grid-template-columns:1fr!important;width:100%!important}
  .portal-preview-actions .btn,.portal-preview-close,.inline-media-download,.inline-media-close{width:100%!important}
  .inline-media-viewer-footer{align-items:stretch!important;flex-direction:column!important}
  .invoice-card-actions .btn,.invoice-card-actions form{width:100%!important}
  .invoice-card-actions form .btn{width:100%!important}
}

/* Completed campaigns lock creative changes and use a complete green state. */
.campaign-completed-summary{
  border-color:#a9d7bb!important;
  background:linear-gradient(145deg,#f5fff8 0%,#e7f7ed 100%)!important;
}
.campaign-completed-creative-panel{
  border-color:#9fd3b3!important;
  background:linear-gradient(145deg,#f6fff9 0%,#e7f7ed 100%)!important;
  box-shadow:0 12px 30px rgba(31,109,74,.10)!important;
}
.campaign-completed-creative-panel .panel-head{
  border-bottom-color:#b9dfc7!important;
}
.creative-completed-banner{
  display:flex;
  align-items:center;
  gap:13px;
  margin:4px 0 18px;
  padding:15px 16px;
  border:1px solid #a8d7bb;
  border-radius:16px;
  background:linear-gradient(145deg,#e2f5e9,#d3eedf);
  color:#174c36;
}
.creative-completed-icon{
  width:34px;
  height:34px;
  flex:0 0 34px;
  padding:7px;
  border-radius:50%;
  background:#1f6d4a;
  color:#e7fff0;
}
.creative-completed-banner strong,.creative-completed-banner span{display:block;}
.creative-completed-banner strong{font-size:16px;font-weight:900;}
.creative-completed-banner span{margin-top:2px;font-size:13px;color:#52715f;}
.campaign-completed-creative-panel .table-wrap{
  border:1px solid #b6ddc5;
  border-radius:16px;
  background:#f7fff9;
}
.completed-creative-row td{
  background:linear-gradient(90deg,#f4fff8 0%,#e9f8ef 100%)!important;
  border-top-color:#b9dfc7!important;
}
.completed-creative-row:first-child td{border-top:0!important;}
.completed-creative-row .creative-file-icon{
  background:#226f4d!important;
  color:#dff8e9!important;
}
.creative-completed-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-top:5px;
  padding:7px 10px;
  border:1px solid #a8d7bb;
  border-radius:999px;
  background:#ccebd8;
  color:#155b3b;
  font-size:12px;
  font-weight:900;
  line-height:1;
}
.creative-completed-mini-icon{width:15px;height:15px;flex:0 0 15px;}

/* Completed status glows gently without moving or scaling. */
.status-completed{

  
  border:1px solid #a8d7bb!important;
  background:#dff5e8!important;
  color:#145b3b!important;
  box-shadow:0 0 0 0 rgba(31,109,74,.22);
  animation:completed-status-glow 1.8s ease-in-out infinite;
}
.status-completed:before{
  content:"";
  width:7px;
  height:7px;
  border-radius:50%;
  background:#1f8a5b;
  box-shadow:0 0 0 3px rgba(31,138,91,.12);
  animation:completed-status-dot 1.15s ease-in-out infinite;
}
@keyframes completed-status-glow{
  0%,100%{box-shadow:0 0 0 0 rgba(31,109,74,.08);background:#dff5e8}
  50%{box-shadow:0 0 0 6px rgba(31,109,74,.10);background:#cfeeda}
}
@keyframes completed-status-dot{
  0%,100%{opacity:1}
  50%{opacity:.28}
}
@media (prefers-reduced-motion:reduce){
  .status-completed,.status-completed:before{animation:none!important}
}

/* Pulse means live. Completed is a darker, static checked state. */
@keyframes live-status-glow{
  0%,100%{box-shadow:0 0 0 0 rgba(31,109,74,.08);background:#dff5e8}
  50%{box-shadow:0 0 0 6px rgba(31,109,74,.11);background:#cfeeda}
}
@keyframes live-status-dot{
  0%,100%{opacity:1}
  50%{opacity:.28}
}

/* Active campaign status gets the former completed live pulse. */
.campaign-status-display .status-active{
  position:relative;
  align-items:center;
  gap:7px;
  border:1px solid #a8d7bb!important;
  background:#dff5e8!important;
  color:#145b3b!important;
  box-shadow:0 0 0 0 rgba(31,109,74,.22);
  animation:live-status-glow 1.8s ease-in-out infinite;
}
.campaign-status-display .status-active:before{
  content:"";
  width:7px;
  height:7px;
  flex:0 0 7px;
  border-radius:50%;
  background:#1f8a5b;
  box-shadow:0 0 0 3px rgba(31,138,91,.12);
  animation:live-status-dot 1.15s ease-in-out infinite;
}

/* Current / live creative selection uses the same live pulse language. */
.creative-current-badge{
  position:relative;
  border:1px solid #a8d7bb!important;
  background:#dff5e8!important;
  color:#145b3b!important;
  box-shadow:0 0 0 0 rgba(31,109,74,.22);
  animation:live-status-glow 1.8s ease-in-out infinite;
}
.creative-current-badge:before{
  content:""!important;
  width:7px;
  height:7px;
  flex:0 0 7px;
  border-radius:50%;
  background:#1f8a5b;
  box-shadow:0 0 0 3px rgba(31,138,91,.12);
  animation:live-status-dot 1.15s ease-in-out infinite;
}
.current-creative-row{
  background:linear-gradient(90deg,rgba(30,142,90,.10),rgba(30,142,90,.02) 68%,transparent)!important;
}

/* Completed status is intentionally static and darker. */
.status-completed{
  position:relative;
  align-items:center;
  gap:7px;
  border:1px solid #1d6747!important;
  background:#246f4f!important;
  color:#fff!important;
  box-shadow:none!important;
  animation:none!important;
}
.status-completed:before{display:none!important;content:none!important;animation:none!important;}
.status-completed .creative-completed-icon{
  width:16px!important;
  height:16px!important;
  flex:0 0 16px!important;
  padding:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#eafff1!important;
}
.creative-completed-badge{
  border-color:#1d6747!important;
  background:#246f4f!important;
  color:#fff!important;
  box-shadow:none!important;
}

@media (prefers-reduced-motion:reduce){
  .campaign-status-display .status-active,
  .campaign-status-display .status-active:before,
  .creative-current-badge,
  .creative-current-badge:before{animation:none!important}
}

/* Campaign list uses the same live Active pulse as campaign detail. */
.campaign-status-inline{display:inline-flex;margin:0;}
.campaign-status-inline .status-active{
  position:relative;
  align-items:center;
  gap:7px;
  border:1px solid #a8d7bb!important;
  background:#dff5e8!important;
  color:#145b3b!important;
  box-shadow:0 0 0 0 rgba(31,109,74,.22);
  animation:live-status-glow 1.8s ease-in-out infinite;
}
.campaign-status-inline .status-active:before{
  content:"";
  width:7px;
  height:7px;
  flex:0 0 7px;
  border-radius:50%;
  background:#1f8a5b;
  box-shadow:0 0 0 3px rgba(31,138,91,.12);
  animation:live-status-dot 1.15s ease-in-out infinite;
}
/* Keep Completed label white inside stat cards, where generic stat-card span styling is muted. */
.campaign-status-display .status-completed > span{color:#fff!important;}
@media (prefers-reduced-motion:reduce){
  .campaign-status-inline .status-active,
  .campaign-status-inline .status-active:before{animation:none!important}
}

/* Email-code verification during agency registration. */
.registration-auth-card{width:min(100%,860px)!important;}
.registration-email-control{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:stretch;}
.registration-email-control .registration-code-send{min-height:50px;white-space:nowrap;}
.registration-code-status{display:block;margin-top:2px;min-height:19px;}
.registration-code-status.is-success{color:#176340!important;font-weight:750;}
.registration-code-status.is-error{color:#9a392a!important;font-weight:750;}
.registration-code-field input{
  max-width:270px;
  font-size:22px!important;
  font-weight:900!important;
  letter-spacing:.22em;
  font-variant-numeric:tabular-nums;
}
.registration-code-send:disabled{opacity:.66!important;cursor:not-allowed!important;}
@media(max-width:760px){
  .registration-email-control{grid-template-columns:1fr}
  .registration-email-control .registration-code-send{width:100%}
  .registration-code-field input{max-width:none}
}

/* Reveal email confirmation only after the full registration form passes validation. */
.registration-verification-step{
  padding:18px!important;
  border:1px solid #e5d7ca;
  border-radius:18px;
  background:#fffaf5;
  gap:14px!important;
}
.registration-verification-step[hidden]{display:none!important;}
.registration-verification-heading{display:flex;align-items:flex-start;gap:11px;}
.registration-verification-heading .portal-icon{flex:0 0 auto;margin-top:2px;}
.registration-verification-heading>div{display:flex;flex-direction:column;gap:4px;min-width:0;}
.registration-verification-heading strong{font-size:15px;color:#241b15;}
.registration-code-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;}
.registration-code-field{display:flex;flex-direction:column;gap:7px;}
.registration-code-field input{max-width:310px;}
.registration-code-row .registration-code-send{min-height:50px;white-space:nowrap;}
.registration-precheck-status{min-height:20px;margin-top:10px;font-size:13px;font-weight:700;}
.registration-precheck-status.is-success{color:#176340;}
.registration-precheck-status.is-error{color:#9a392a;}
@media(max-width:760px){
  .registration-code-row{grid-template-columns:1fr}
  .registration-code-row .registration-code-send{width:100%}
}

/* Financial analytics dashboard. */
.financial-analytics-toolbar{margin-top:0;padding:18px 20px;}.financial-toolbar-main{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;}.financial-toolbar-label{display:block;margin-bottom:8px;font-size:10px;font-weight:900;letter-spacing:.11em;text-transform:uppercase;color:var(--muted);}.financial-view-switch{display:inline-flex;align-items:center;gap:4px;padding:4px;border:1px solid #e4d8cc;border-radius:14px;background:#f7efe7;}.financial-view-switch a{min-height:38px;padding:0 14px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:900;color:#66594f;transition:background-color .15s ease,color .15s ease,box-shadow .15s ease;}.financial-view-switch a:hover{color:var(--ink);background:rgba(255,255,255,.65);}.financial-view-switch a.is-active{background:#1d1916;color:#fff;box-shadow:0 6px 14px rgba(30,23,18,.14);}.financial-year-form{display:flex;align-items:center;gap:10px;}.financial-year-form label{font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.07em;color:var(--muted);}.financial-year-form select{min-width:105px;min-height:42px;border:1px solid #ded4ca;border-radius:12px;background:#fff;padding:0 34px 0 13px;font-weight:850;color:var(--ink);}.financial-scope-pill{padding:10px 13px;border:1px solid #e4d8cc;border-radius:999px;background:#fff8ef;color:#6b5f55;font-size:11px;font-weight:800;}.financial-stat small{display:block;margin-top:7px;color:var(--muted);font-size:11px;line-height:1.35;}.financial-stat.is-cash{background:linear-gradient(145deg,#f5fbff,#e9f4fb);border-color:#cddfea;}.financial-stat.is-rate{background:linear-gradient(145deg,#fff9f4,#ffefe4);border-color:#efd6c6;}.financial-chart-panel{overflow:hidden;}.financial-chart-legend{display:flex;align-items:center;gap:14px;flex-wrap:wrap;}.financial-chart-legend span{display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:850;color:var(--muted);}.financial-chart-legend span:before{content:"";width:9px;height:9px;border-radius:50%;background:#aaa;}.financial-chart-legend .legend-invoiced:before{background:#f47a34;}.financial-chart-legend .legend-paid:before{background:#1e8e5a;}.financial-chart-wrap{position:relative;width:100%;}.financial-chart-wrap-lg{height:360px;}.financial-chart-wrap-bars{height:330px;}.financial-chart-wrap-donut{height:250px;min-width:0;}.financial-chart-grid{align-items:stretch;}.financial-chart-grid>.panel{min-width:0;}.financial-donut-layout{display:grid;grid-template-columns:minmax(240px,1fr) minmax(180px,.7fr);align-items:center;gap:22px;}.financial-status-detail{display:grid;gap:10px;}.financial-status-detail>div{padding:13px 14px;border:1px solid #eadfd4;border-radius:14px;background:#faf5ef;}.financial-status-detail span,.financial-status-detail strong{display:block;}.financial-status-detail span{font-size:10px;font-weight:900;letter-spacing:.07em;text-transform:uppercase;color:var(--muted);}.financial-status-detail strong{margin-top:5px;font-size:18px;letter-spacing:-.02em;}.financial-detail-table{min-width:640px;}.financial-detail-table td{padding-top:12px;padding-bottom:12px;}.financial-money-paid strong{color:#1b6845;}.financial-money-awaiting strong{color:#8a5a08;}.financial-detail-panel .table-wrap{max-height:390px;}.financial-detail-panel .data-table thead th{position:sticky;top:0;background:var(--surface);z-index:2;padding-top:6px;}.financial-filters .btn{min-width:58px;}
@media(max-width:1180px){.financial-summary-grid.grid-5{grid-template-columns:repeat(3,minmax(0,1fr))}.financial-chart-grid.grid-2{grid-template-columns:1fr}}
@media(max-width:760px){.financial-analytics-toolbar{padding:15px}.financial-toolbar-main{align-items:stretch;flex-direction:column}.financial-view-switch{display:grid;grid-template-columns:repeat(3,1fr);width:100%}.financial-view-switch a{padding:0 8px;text-align:center}.financial-year-form{justify-content:space-between}.financial-year-form select{flex:0 0 120px}.financial-summary-grid.grid-5{grid-template-columns:1fr}.financial-chart-wrap-lg{height:300px}.financial-chart-wrap-bars{height:340px}.financial-donut-layout{grid-template-columns:1fr}.financial-chart-wrap-donut{height:230px}.financial-chart-legend{display:none}}

/* Dashboard campaign CTA consistency and a distinct LED locations navigation action. */
.btn-locations-action{
  appearance:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  
  border:1px solid rgba(8,108,126,.18)!important;

  background:linear-gradient(135deg,#16839a 0%,#22a69a 100%)!important;
  color:#fff!important;
  font-size:11px!important;
  font-weight:900!important;
  line-height:1.1!important;
  letter-spacing:.005em!important;
  box-shadow:0 9px 20px rgba(22,131,154,.18),inset 0 1px 0 rgba(255,255,255,.20)!important;
  text-decoration:none!important;
  transition:background .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease!important;
}
.btn-locations-action>.btn-icon{

  
  color:#d9fffb!important;
}
.btn-locations-action:hover,.btn-locations-action:focus{
  background:linear-gradient(135deg,#11758b 0%,#1d948a 100%)!important;
  border-color:rgba(8,108,126,.25)!important;
  color:#fff!important;
  box-shadow:0 11px 23px rgba(22,131,154,.22),inset 0 1px 0 rgba(255,255,255,.22)!important;
  
}
.btn-locations-action:focus-visible{
  outline:3px solid rgba(34,166,154,.20)!important;
  outline-offset:2px!important;
}
@media(max-width:760px){
  .led-dashboard-panel .panel-head{align-items:flex-start;flex-direction:column}
  .led-dashboard-panel .btn-locations-action{width:100%}
}

/* Locations action now uses the exact same compact geometry as the campaign Open action. */
.btn-locations-action{border-radius:10px!important;padding:8px 11px!important;gap:8px!important;transform:none!important;}
.btn-locations-action>.btn-icon{width:15px!important;height:15px!important;flex-basis:15px!important;}
.btn-locations-action:hover,.btn-locations-action:focus{transform:none!important;}

/* Creative material cards + concise agency campaign activity. */
.creative-material-list{
  display:grid;
  gap:13px;
}
.creative-material-card{
  position:relative;
  display:grid;
  grid-template-columns:78px minmax(0,1fr) minmax(220px,auto);
  gap:17px;
  align-items:center;
  padding:17px;
  border:1px solid #e3d8cd;
  border-radius:20px;
  background:var(--content-gradient);
  box-shadow:0 8px 22px rgba(43,29,20,.045);
  overflow:hidden;
}
.creative-material-card:before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:4px;
  background:#d9cbbf;
}
.creative-material-card.is-live{
  border-color:#a9d7bb;
  background:linear-gradient(145deg,#fbfffc 0%,#f0faf4 100%);
  box-shadow:0 10px 26px rgba(31,109,74,.08);
}
.creative-material-card.is-live:before{background:#1f8a5b;}
.creative-material-card.is-requested{
  border-color:#e9cc83;
  background:linear-gradient(145deg,#fffdf8 0%,#fff7df 100%);
}
.creative-material-card.is-requested:before{background:#d99a1e;}
.creative-version-tile{
  min-height:78px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  border-radius:16px;
  background:linear-gradient(145deg,#28211d,#171311);
  color:#fff;
  box-shadow:0 9px 20px rgba(26,19,15,.14);
}
.creative-version-tile>span{
  font-size:9px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#bfb0a5;
}
.creative-version-tile>strong{
  margin-top:2px;
  font-size:23px;
  line-height:1;
  letter-spacing:-.03em;
}
.creative-version-tile>small{
  margin-top:6px!important;
  padding:3px 7px;
  border-radius:999px;
  background:#ff8755;
  color:#231713!important;
  font-size:9px!important;
  font-weight:900;
  line-height:1;
}
.creative-card-main{min-width:0;}
.creative-card-title-row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
}
.creative-file-modern{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.creative-file-icon-modern{
  width:46px;
  height:46px;
  flex:0 0 46px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:#eee4da;
  color:#4b3d34;
  font-size:17px;
  font-weight:900;
}
.is-live .creative-file-icon-modern{background:#dcefe4;color:#17603f;}
.is-requested .creative-file-icon-modern{background:#ffedbf;color:#81530b;}
.creative-file-modern>div{min-width:0;}
.creative-file-modern strong{
  display:block;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:15px;
  color:#241d18;
}
.creative-file-modern small{
  display:block;
  margin-top:4px!important;
  color:#84756a!important;
  font-size:11px!important;
  font-weight:700;
}
.creative-card-badges{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:7px;
  flex:0 0 auto;
}
.creative-card-badges .creative-current-badge,
.creative-card-badges .creative-request-badge{margin-top:0;}
.creative-card-meta{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px 16px;
  margin-top:12px;
}
.creative-card-meta>span{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:#75685f;
  font-size:11px;
  line-height:1.2;
}
.creative-card-meta b{
  color:#a09186;
  font-size:9px;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.creative-rejection-note{
  display:flex;
  gap:8px;
  align-items:flex-start;
  margin-top:11px;
  padding:9px 11px;
  border:1px solid #e9b9ae;
  border-radius:12px;
  background:#fff0ed;
  color:#8b3326;
  font-size:11px;
}
.creative-rejection-note strong{white-space:nowrap;}
.creative-card-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:8px;
  min-width:220px;
}
.creative-card-actions form{margin:0;}
.creative-card-actions .btn{white-space:nowrap;}
.creative-live-copy{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:8px 11px;
  border-radius:10px;
  background:#e6f4eb;
  color:#1f6d4a;
  font-size:11px;
  font-weight:900;
}
.creative-reject-form{
  display:flex;
  align-items:center;
  gap:7px;
  flex:1 1 100%;
  justify-content:flex-end;
}
.creative-reject-form input[name="reason"]{
  min-width:170px;
  max-width:230px;
  
  padding:7px 10px;
  border-radius:10px;
}
.campaign-completed-creative-panel .creative-material-card{
  border-color:#b7ddc5;
  background:linear-gradient(145deg,#fbfffc,#eff9f3);
}
.campaign-completed-creative-panel .creative-material-card:before{background:#6aa983;}

.agency-activity-list{display:grid;gap:9px;}
.agency-activity-item{
  display:grid;
  grid-template-columns:38px minmax(0,1fr) auto;
  gap:12px;
  align-items:center;
  padding:12px 13px;
  border:1px solid #e5dbd1;
  border-radius:15px;
  background:var(--content-gradient);
}
.agency-activity-icon{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:#eee5dc;
  color:#5e4c41;
}
.agency-activity-icon.is-email{background:#e7f0f7;color:#2d6387;}
.agency-activity-icon.is-status{background:#f8eadf;color:#9b512e;}
.agency-activity-icon .settings-row-icon{width:18px;height:18px;}
.agency-activity-item>div{min-width:0;}
.agency-activity-item strong{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:13px;
}
.agency-activity-item small{
  display:block;
  margin-top:3px!important;
  color:#796b62!important;
  font-size:11px!important;
}
.agency-activity-item time{
  color:#9a8d84;
  font-size:10px;
  font-weight:800;
  white-space:nowrap;
}

@media(max-width:1080px){
  .creative-material-card{grid-template-columns:72px minmax(0,1fr)}
  .creative-card-actions{grid-column:2;justify-content:flex-start;min-width:0;padding-top:2px}
  .creative-material-admin-list .creative-card-actions{grid-column:1/-1;padding-left:89px}
}
@media(max-width:760px){
  .creative-material-card{
    grid-template-columns:58px minmax(0,1fr);
    gap:12px;
    padding:14px;
    border-radius:17px;
  }
  .creative-version-tile{min-height:62px;border-radius:13px}
  .creative-version-tile>strong{font-size:19px}
  .creative-version-tile>small{display:none}
  .creative-card-title-row{display:block}
  .creative-card-badges{justify-content:flex-start;margin-top:10px}
  .creative-card-meta{display:grid;gap:6px;margin-top:10px}
  .creative-card-actions,
  .creative-material-admin-list .creative-card-actions{
    grid-column:1/-1;
    padding:12px 0 0;
    border-top:1px solid #eadfd5;
    justify-content:stretch;
  }
  .creative-card-actions .btn,.creative-card-actions form{flex:1 1 100%;width:100%}
  .creative-card-actions form .btn{width:100%}
  .creative-reject-form{display:grid;grid-template-columns:1fr;gap:7px}
  .creative-reject-form input[name="reason"]{max-width:none;width:100%;min-width:0}
  .agency-activity-item{grid-template-columns:36px minmax(0,1fr);padding:11px}
  .agency-activity-icon{width:36px;height:36px}
  .agency-activity-item time{grid-column:2;margin-top:-3px}
}

/* Cleaner creative cards, right-side Live state and one-line equal-height actions. */
.creative-version-tile>small{display:none!important;}
.creative-card-actions{
  flex-wrap:nowrap!important;
  gap:8px!important;
  overflow-x:auto;
  overflow-y:hidden;
  scrollbar-width:thin;
  padding-bottom:2px;
}
.creative-card-actions form{
  display:flex;
  align-items:center;
  flex:0 0 auto!important;
  margin:0!important;
}
.creative-card-actions .btn,
.creative-card-actions form .btn{
  flex:0 0 auto!important;
  width:auto!important;
  height:36px!important;
  min-height:36px!important;
  max-height:36px!important;
  padding:8px 11px!important;
  box-sizing:border-box!important;
  white-space:nowrap!important;
}
.creative-card-actions>.status,
.creative-card-actions .creative-current-badge{
  flex:0 0 auto;
  min-height:36px;
  height:36px;
  box-sizing:border-box;
  display:inline-flex;
  align-items:center;
  white-space:nowrap;
  margin-top:0!important;
}
.creative-live-right{
  
  order:99;
  padding:8px 12px!important;
}
.creative-reject-form{
  display:flex!important;
  align-items:center!important;
  flex:0 0 auto!important;
  gap:7px!important;
  justify-content:flex-end!important;
}
.creative-reject-form input[name="reason"]{
  flex:0 0 190px;
  width:190px;
  min-width:190px;
  max-width:190px;
  height:36px;
  min-height:36px;
  box-sizing:border-box;
}
@media(max-width:1080px){
  .creative-card-actions,
  .creative-material-admin-list .creative-card-actions{
    grid-column:1/-1!important;
    justify-content:flex-end!important;
    min-width:0!important;
    padding:10px 0 2px!important;
  }
}
@media(max-width:760px){
  .creative-card-actions,
  .creative-material-admin-list .creative-card-actions{
    display:flex!important;
    flex-wrap:nowrap!important;
    justify-content:flex-start!important;
    width:100%;
    padding:12px 0 3px!important;
    border-top:1px solid #eadfd5;
    overflow-x:auto;
  }
  .creative-card-actions .btn,
  .creative-card-actions form,
  .creative-card-actions form .btn{
    flex:0 0 auto!important;
    width:auto!important;
  }
  .creative-reject-form{
    display:flex!important;
    grid-template-columns:none!important;
  }
  .creative-reject-form input[name="reason"]{
    flex:0 0 180px;
    width:180px;
    min-width:180px;
    max-width:180px;
  }
}

/* One creative status per version; status badges align with action buttons. */
.creative-card-actions>.status,
.creative-card-actions .creative-current-badge{
  flex:0 0 auto!important;
  width:auto!important;
  height:36px!important;
  min-height:36px!important;
  max-height:36px!important;
  padding:8px 11px!important;
  border-radius:10px!important;
  box-sizing:border-box!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  margin:0!important;
  line-height:1!important;
  white-space:nowrap!important;
}
.creative-card-actions>.status{font-size:10px!important;font-weight:900!important;}
.creative-card-actions>.status-switch_requested{background:#fff0c9!important;color:#855500!important;}
.creative-card-actions>.status-approved{background:#dcf4e8!important;color:#12653e!important;}
.creative-card-actions>.status-pending,
.creative-card-actions>.status-submitted,
.creative-card-actions>.status-pending_approval,
.creative-card-actions>.status-scheduled{background:#fff0c9!important;color:#855500!important;}
.creative-card-actions>.status-rejected,
.creative-card-actions>.status-paused{background:#fee1dc!important;color:#a53625!important;}
.creative-card-actions>.status-view-only{height:36px!important;min-height:36px!important;}
.creative-live-right{margin-left:auto!important;order:99!important;}

/* Lighter campaign identity header with brand-first hierarchy. */
.campaign-identity-hero{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  margin:0 0 22px;
  padding:27px 28px 25px;
  border:1px solid #e4d8cc;
  border-radius:24px;
  background:
    radial-gradient(circle at 92% 0%,rgba(244,122,52,.11),transparent 29%),
    linear-gradient(135deg,#fffdf9 0%,#fbf6f0 58%,#f5ece4 100%);
  color:#211a16;
  box-shadow:0 14px 34px rgba(55,38,26,.075),inset 0 1px 0 rgba(255,255,255,.9);
}
.campaign-identity-hero:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:linear-gradient(180deg,#ef512f,#f48a45);}
.campaign-identity-hero:after{content:"";position:absolute;right:-80px;top:-110px;width:260px;height:260px;border-radius:50%;border:38px solid rgba(239,81,47,.035);pointer-events:none;z-index:-1;}
.campaign-identity-top{display:flex;align-items:flex-start;justify-content:space-between;gap:28px;}
.campaign-identity-copy{min-width:0;flex:1 1 auto;}
.campaign-identity-kicker{display:inline-flex;align-items:center;gap:8px;margin-bottom:11px;color:#e45b34;font-size:10px;font-weight:900;letter-spacing:.13em;text-transform:uppercase;}
.campaign-identity-kicker-icon{width:16px;height:16px;flex:0 0 16px;}
.campaign-identity-heading{display:block;min-width:0;}
.campaign-identity-brand-label{display:block;margin-bottom:4px;color:#8c7b70;font-size:10px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;}
.campaign-identity-heading h1{margin:0;color:#211a16;font-size:clamp(34px,4vw,52px);line-height:1;letter-spacing:-.045em;overflow-wrap:anywhere;}
.campaign-identity-campaign-name{display:flex;align-items:baseline;gap:9px;margin-top:10px;min-width:0;}
.campaign-identity-campaign-name>span{flex:0 0 auto;color:#e25b35;font-size:9px;font-weight:900;letter-spacing:.11em;text-transform:uppercase;}
.campaign-identity-campaign-name>strong{min-width:0;color:#5a4c43;font-size:17px;line-height:1.3;font-weight:800;overflow-wrap:anywhere;}
.campaign-identity-controls{flex:0 0 auto;display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap;}
.campaign-identity-status{display:inline-flex;align-items:center;justify-content:center;}
/* Campaign detail status intentionally uses the exact campaigns.php inline badge sizing and pulse. */
.campaign-identity-back{flex:0 0 auto;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;height:42px!important;min-height:42px!important;padding:0 14px!important;border:1px solid #dfd2c7!important;border-radius:11px!important;background:#fff!important;color:#2c241f!important;font-size:12px!important;font-weight:900!important;box-shadow:0 5px 14px rgba(45,30,19,.045)!important;}
.campaign-identity-back>.btn-icon{color:#e45d36;}
.campaign-identity-back:hover,.campaign-identity-back:focus{background:#f8eee7!important;color:#211a16!important;border-color:#d7c4b5!important;transform:none!important;}
.campaign-identity-stats{display:grid;grid-template-columns:1.22fr 1fr 1fr;gap:10px;margin-top:24px;padding-top:18px;border-top:1px solid #e8ddd3;}
.campaign-identity-stat{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:12px;min-height:88px;padding:14px 15px;border:1px solid #e7dcd2;border-radius:15px;background:rgba(255,255,255,.82);box-shadow:0 5px 15px rgba(45,30,19,.025);}
.campaign-identity-stat-featured{background:linear-gradient(135deg,#fff8f2 0%,#fceee4 100%);border-color:#efd5c4;}
.campaign-identity-stat-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:#f7ece4;color:#e45d36;}
.campaign-identity-stat-featured .campaign-identity-stat-icon{background:#fff;color:#e45d36;box-shadow:0 4px 12px rgba(86,51,31,.05);}
.campaign-identity-meta-icon{width:20px;height:20px;}
.campaign-identity-stat div{min-width:0;}
.campaign-identity-stat small,.campaign-identity-stat strong,.campaign-identity-stat div>span{display:block;}
.campaign-identity-stat small{margin-bottom:5px;color:#8a796f;font-size:9px;font-weight:900;letter-spacing:.11em;text-transform:uppercase;}
.campaign-identity-stat strong{color:#241c18;font-size:18px;line-height:1.16;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.campaign-identity-stat div>span{margin-top:5px;color:#75665d;font-size:11px;line-height:1.3;}
.campaign-identity-stat .campaign-identity-dates{margin-top:7px;color:#3a302a;font-size:14px;font-weight:850;letter-spacing:-.01em;white-space:nowrap;}
.campaign-identity-stat .campaign-identity-dates b{display:inline-block;margin:0 5px;color:#e45d36;font-size:15px;font-weight:900;}

.campaign-private-panel{overflow:hidden;padding:0!important;border-color:#e5d9ce!important;background:linear-gradient(145deg,#fffdf9 0%,#fbf5ee 100%)!important;}
.campaign-private-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px 24px;border-bottom:1px solid #eadfd5;background:linear-gradient(135deg,#fffdf9 0%,#f8eee5 100%);}
.campaign-private-title{display:flex;align-items:center;gap:14px;min-width:0;}
.campaign-private-title-icon{width:48px;height:48px;flex:0 0 48px;border-radius:14px;display:grid;place-items:center;background:#1d1916;color:#ff8b57;box-shadow:0 8px 18px rgba(34,24,18,.12);}
.campaign-private-title-svg{width:22px;height:22px;}
.campaign-private-eyebrow{display:block;margin-bottom:4px;color:#e95d32;font-size:9px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;}
.campaign-private-title h2{margin:0;font-size:20px;letter-spacing:-.02em;}
.campaign-private-title p{margin:4px 0 0;color:#786b62;font-size:13px;line-height:1.4;}
.campaign-private-badge{flex:0 0 auto;display:inline-flex;align-items:center;min-height:34px;padding:0 11px;border:1px solid #e1d1c3;border-radius:10px;background:#fff;color:#5e5148;font-size:10px;font-weight:900;letter-spacing:.075em;text-transform:uppercase;box-shadow:0 4px 12px rgba(45,30,19,.045);}
.campaign-private-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:18px 24px 22px;}
.campaign-private-item{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:12px;min-height:92px;padding:14px;border:1px solid #e9ddd2;border-radius:15px;background:#fff;box-shadow:0 7px 18px rgba(45,30,19,.035);}
.campaign-private-item-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:#f7eee6;color:#df5a35;}
.campaign-private-item-svg{width:19px;height:19px;}
.campaign-private-item div{min-width:0;}
.campaign-private-item small,.campaign-private-item strong,.campaign-private-item div>span,.campaign-private-item a{display:block;}
.campaign-private-item small{margin-bottom:4px;color:#88796f;font-size:9px;font-weight:900;letter-spacing:.1em;text-transform:uppercase;}
.campaign-private-item strong{color:#211a16;font-size:15px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.campaign-private-item div>span,.campaign-private-item a{margin-top:4px;color:#7c6d63;font-size:11px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.campaign-private-item a:hover{color:#d65331;text-decoration:underline;}
.campaign-private-note{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:flex-start;gap:12px;margin:0 24px 22px;padding:13px 15px;border:1px solid #eddfd3;border-radius:14px;background:#fff9f3;}
.campaign-private-note>span{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#1d1916;color:#ff8b57;}
.campaign-private-note-icon{width:18px;height:18px;}
.campaign-private-note small{display:block;margin-bottom:3px;color:#d95b37;font-size:9px;font-weight:900;letter-spacing:.1em;text-transform:uppercase;}
.campaign-private-note p{margin:0;color:#4a4039;font-size:13px;line-height:1.5;}

@media(max-width:1000px){
  .campaign-identity-stats{grid-template-columns:1fr 1fr}.campaign-identity-stat-featured{grid-column:1/-1}
  .campaign-private-grid{grid-template-columns:1fr 1fr}.campaign-private-item:last-child{grid-column:1/-1}
}
@media(max-width:760px){
  .campaign-identity-hero{padding:22px 18px 20px;border-radius:20px}.campaign-identity-top{display:block}.campaign-identity-heading h1{font-size:36px}.campaign-identity-campaign-name{align-items:flex-start;flex-direction:column;gap:3px}.campaign-identity-controls{justify-content:flex-start;margin-top:18px}.campaign-identity-back{width:auto}.campaign-identity-stats{grid-template-columns:1fr;margin-top:20px}.campaign-identity-stat-featured{grid-column:auto}.campaign-identity-stat strong{white-space:normal}.campaign-identity-stat .campaign-identity-dates{font-size:13px;white-space:normal}
  .campaign-private-head{align-items:flex-start;flex-direction:column;padding:19px 18px}.campaign-private-badge{margin-left:62px}.campaign-private-grid{grid-template-columns:1fr;padding:15px 18px 18px}.campaign-private-item:last-child{grid-column:auto}.campaign-private-item strong,.campaign-private-item div>span,.campaign-private-item a{white-space:normal;overflow:visible}.campaign-private-note{margin:0 18px 18px}
}

/* Unified Campaign Details gradient across portal content surfaces. */
/* Main panels, summary cards, form containers, LED cards, invoice cards and activity items now share the same warm light gradient. Semantic states (paid/live/requested/danger) retain their own colors. */

/* Completed agency campaigns use one consistent green workspace state. */
.campaign-completed-section{
  border-color:#9fd3b3!important;
  background:linear-gradient(145deg,#f6fff9 0%,#e7f7ed 100%)!important;
  box-shadow:0 12px 30px rgba(31,109,74,.10)!important;
}
.campaign-completed-section>.panel-head{
  border-bottom-color:#b9dfc7!important;
}
.campaign-completed-section.campaign-private-panel{
  border-color:#9fd3b3!important;
  background:linear-gradient(145deg,#f6fff9 0%,#e7f7ed 100%)!important;
}
.campaign-completed-section .campaign-private-head{
  border-bottom-color:#b9dfc7!important;
  background:linear-gradient(135deg,#f3fff7 0%,#e3f5ea 100%)!important;
}
.campaign-completed-section .campaign-private-item{
  border-color:#b7ddc5!important;
  background:linear-gradient(145deg,#fbfffc 0%,#eff9f3 100%)!important;
  box-shadow:0 7px 18px rgba(31,109,74,.055)!important;
}
.campaign-completed-section .campaign-private-note{
  border-color:#b7ddc5!important;
  background:linear-gradient(145deg,#f5fff8 0%,#eaf7ef 100%)!important;
}
.campaign-completed-section .invoice-card{
  border-color:#b7ddc5!important;
  background:linear-gradient(145deg,#fbfffc 0%,#eff9f3 100%)!important;
}
.campaign-completed-section .invoice-card-actions,
.campaign-completed-section .invoice-slip-zone,
.campaign-completed-section .payment-slip-upload{
  border-color:#c7e4d2!important;
}
.campaign-completed-section .invoice-slip-zone,
.campaign-completed-section .payment-slip-upload{
  background:rgba(246,255,249,.74)!important;
}
.campaign-completed-section .invoice-slip-item{
  border-color:#c4e2cf!important;
  background:#fbfffc!important;
}
.campaign-completed-section .agency-activity-item{
  border-color:#b7ddc5!important;
  background:linear-gradient(145deg,#fbfffc 0%,#eff9f3 100%)!important;
}
.campaign-completed-section .empty{
  border-color:#afd9bf!important;
  background:rgba(251,255,252,.62)!important;
  color:#52715f!important;
}

/* Global page-title and workspace sidebar redesign for Admin + Agency. */
.portal-shell{
  grid-template-columns:272px minmax(0,1fr);
  max-width:1540px;
  gap:0;
}
.portal-sidebar{
  align-self:start;
  position:sticky;
  top:96px;
  max-height:calc(100vh - 116px);
  overflow-y:auto;
  margin:18px 0 22px 18px;
  padding:14px;
  border:1px solid #e6d9ce;
  border-radius:24px;
  background:
    radial-gradient(circle at 18% 0%,rgba(244,122,52,.10),transparent 28%),
    linear-gradient(180deg,#fffdf9 0%,#f8f1e9 100%);
  box-shadow:0 16px 38px rgba(48,32,22,.07),inset 0 1px 0 rgba(255,255,255,.9);
  gap:0;
  scrollbar-width:thin;
  scrollbar-color:#d9c8ba transparent;
}
.portal-sidebar::-webkit-scrollbar{width:6px;}
.portal-sidebar::-webkit-scrollbar-thumb{background:#d9c8ba;border-radius:999px;}
.portal-sidebar-head{
  display:flex;
  align-items:center;
  gap:12px;
  min-height:66px;
  padding:10px 11px 13px;
  margin-bottom:8px;
  border-bottom:1px solid #eadfd5;
}
.portal-sidebar-head-icon{
  width:42px;
  height:42px;
  flex:0 0 42px;
  display:grid;
  place-items:center;
  border:1px solid #f0cdb9;
  border-radius:13px;
  background:linear-gradient(145deg,#fff3e9 0%,#fde3d1 100%);
  color:#e85a32;
  box-shadow:0 7px 16px rgba(131,71,40,.07);
}
.portal-sidebar-head-svg{width:21px;height:21px;}
.portal-sidebar-head-copy{min-width:0;}
.portal-sidebar-head-copy small,
.portal-sidebar-head-copy strong{display:block;}
.portal-sidebar-head-copy small{
  margin-bottom:3px;
  color:#a06b54;
  font-size:9px;
  line-height:1;
  font-weight:900;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.portal-sidebar-head-copy strong{
  color:#231b17;
  font-size:15px;
  line-height:1.2;
  font-weight:900;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.portal-sidebar-nav{display:grid;gap:15px;}
.portal-nav-group{display:grid;gap:4px;}
.portal-nav-label{
  display:block;
  padding:0 10px 5px;
  color:#9a8a7f;
  font-size:9px;
  line-height:1;
  font-weight:900;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.portal-sidebar a.portal-nav-link{
  position:relative;
  display:flex;
  align-items:center;
  gap:10px;
  min-height:44px;
  padding:6px 10px 6px 8px;
  border:1px solid transparent;
  border-radius:13px;
  color:#5d5149;
  font-size:13px;
  line-height:1.2;
  font-weight:820;
  transition:background .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease;
}
.portal-sidebar a.portal-nav-link:before{
  content:"";
  position:absolute;
  left:-1px;
  top:9px;
  bottom:9px;
  width:3px;
  border-radius:0 999px 999px 0;
  background:linear-gradient(180deg,#ef512f,#f58a45);
  opacity:0;
  transform:scaleY(.45);
  transition:opacity .16s ease,transform .16s ease;
}
.portal-sidebar a.portal-nav-link:hover{
  background:rgba(255,255,255,.78);
  border-color:#eadfd5;
  color:#241c18;
  transform:translateX(2px);
}
.portal-nav-icon{
  width:31px;
  height:31px;
  flex:0 0 31px;
  padding:7px;
  border:1px solid #e9ded4;
  border-radius:10px;
  background:#fffaf5;
  color:#8f7869;
  transition:background .16s ease,border-color .16s ease,color .16s ease;
}
.portal-sidebar a.portal-nav-link.is-active{
  border-color:#efcfbd;
  background:linear-gradient(135deg,#fff 0%,#fff6ef 100%);
  color:#211914;
  box-shadow:0 8px 20px rgba(65,40,25,.07);
  transform:none;
}
.portal-sidebar a.portal-nav-link.is-active:before{opacity:1;transform:scaleY(1);}
.portal-sidebar a.portal-nav-link.is-active .portal-nav-icon{
  border-color:#ef9d76;
  background:linear-gradient(145deg,#ef512f,#f58142);
  color:#fff;
  box-shadow:0 6px 13px rgba(226,83,45,.18);
}
.portal-sidebar a.portal-nav-link.is-active span{font-weight:900;}

.page-title{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  display:grid;
  grid-template-columns:58px minmax(0,1fr);
  align-items:center;
  gap:18px;
  max-width:none;
  min-height:128px;
  margin:0 0 22px;
  padding:23px 27px;
  border:1px solid #e4d8cd;
  border-radius:23px;
  background:
    radial-gradient(circle at 96% 0%,rgba(244,122,52,.10),transparent 27%),
    linear-gradient(145deg,#fffdf9 0%,#faf4ed 100%);
  box-shadow:0 13px 32px rgba(50,33,22,.065),inset 0 1px 0 rgba(255,255,255,.92);
}
.page-title:before{
  content:"";
  position:absolute;
  left:0;
  top:20px;
  bottom:20px;
  width:4px;
  border-radius:0 999px 999px 0;
  background:linear-gradient(180deg,#ef512f,#f58a45);
}
.page-title:after{
  content:"";
  position:absolute;
  z-index:-1;
  right:-72px;
  top:-110px;
  width:235px;
  height:235px;
  border:34px solid rgba(239,81,47,.035);
  border-radius:50%;
}
.page-title-icon{
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  border:1px solid #efd2c0;
  border-radius:17px;
  background:linear-gradient(145deg,#fff4eb 0%,#fde4d3 100%);
  color:#e75a33;
  box-shadow:0 8px 18px rgba(118,66,39,.07);
}
.page-title-icon-svg{width:25px;height:25px;}
.page-title-copy{min-width:0;}
.page-title-eyebrow,
.page-title>.page-title-copy>.page-title-eyebrow{
  display:inline-flex;
  align-items:center;
  min-height:24px;
  margin:0 0 7px;
  padding:0 8px;
  border:1px solid #f0d4c3;
  border-radius:999px;
  background:#fff5ed;
  color:#d95732;
  font-size:9px;
  line-height:1;
  font-weight:900;
  letter-spacing:.11em;
  text-transform:uppercase;
}
.page-title h1{
  margin:0;
  color:#211914;
  font-size:clamp(29px,3.2vw,41px);
  line-height:1.04;
  letter-spacing:-.035em;
  overflow-wrap:anywhere;
}
.page-title p{
  max-width:900px;
  margin:8px 0 0;
  color:#766960;
  font-size:14px;
  line-height:1.55;
}
/* Backward-compatible title markup used by password-change screens. */
.page-title>span:not(.page-title-icon):not(.page-title-copy){
  color:#d95732;
  font-size:10px;
  font-weight:900;
  letter-spacing:.11em;
  text-transform:uppercase;
}
.page-title>span:not(.page-title-icon):not(.page-title-copy)+h1{grid-column:2;margin-top:5px;}
.page-title>span:not(.page-title-icon):not(.page-title-copy)+h1+p{grid-column:2;}
.top-actions{
  position:relative;
  z-index:2;
  display:flex;
  justify-content:flex-end;
  gap:10px;
  margin:-8px 0 28px;
}

@media(max-width:1050px){
  .portal-shell{grid-template-columns:236px minmax(0,1fr)}
  .portal-sidebar{margin-left:12px;padding:11px}
  .portal-sidebar-head{padding-inline:8px}
  .portal-sidebar a.portal-nav-link{font-size:12px;padding-right:8px}
}
@media(max-width:760px){
  .portal-shell{display:block}
  .portal-sidebar{
    position:sticky;
    top:70px;
    z-index:20;
    display:block;
    max-height:none;
    margin:0;
    padding:8px 10px;
    overflow-x:auto;
    overflow-y:hidden;
    border-width:0 0 1px;
    border-radius:0;
    background:rgba(250,246,239,.96);
    box-shadow:0 8px 20px rgba(45,30,19,.045);
    backdrop-filter:blur(12px);
  }
  .portal-sidebar-head,.portal-nav-label{display:none}
  .portal-sidebar-nav{display:flex;gap:6px;width:max-content}
  .portal-nav-group{display:contents}
  .portal-sidebar a.portal-nav-link{
    flex:0 0 auto;
    min-height:40px;
    padding:4px 9px 4px 5px;
    white-space:nowrap;
    background:rgba(255,255,255,.55);
    border-color:#eadfd5;
    transform:none!important;
  }
  .portal-sidebar a.portal-nav-link:before{display:none}
  .portal-nav-icon{width:29px;height:29px;flex-basis:29px;padding:7px}
  .portal-sidebar a.portal-nav-link.is-active{background:#fff5ed;border-color:#efb493;box-shadow:none}
  .page-title{
    grid-template-columns:47px minmax(0,1fr);
    gap:13px;
    min-height:0;
    padding:19px 17px 18px;
    border-radius:19px;
  }
  .page-title:before{top:16px;bottom:16px}
  .page-title-icon{width:47px;height:47px;border-radius:14px}
  .page-title-icon-svg{width:21px;height:21px}
  .page-title h1{font-size:30px}
  .page-title p{font-size:13px;line-height:1.5}
  .page-title-eyebrow,.page-title>.page-title-copy>.page-title-eyebrow{min-height:22px;margin-bottom:6px;font-size:8px}
  .top-actions{justify-content:flex-start;margin:0 0 22px}
}
@media(max-width:430px){
  .page-title{grid-template-columns:1fr;gap:11px}
  .page-title-icon{width:44px;height:44px}
  .page-title>span:not(.page-title-icon):not(.page-title-copy)+h1,
  .page-title>span:not(.page-title-icon):not(.page-title-copy)+h1+p{grid-column:1}
}

/* Workspace-contained LED pricelist dropright, restored package flow. */
.led-location-card{position:relative!important;overflow:visible!important;}
.led-pricelist-dropend{position:static!important;width:100%;}
.led-location-grid>.led-location-card{min-width:0;}
.led-pricelist-menu,
.dropend .led-pricelist-menu[data-bs-popper]{
  position:absolute!important;
  top:0!important;
  right:auto!important;
  left:calc(100% + 18px)!important;
  transform:none!important;
  margin:0!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
}
.led-location-grid>.led-location-card:nth-child(even) .led-pricelist-menu,
.led-location-grid>.led-location-card:nth-child(even) .dropend .led-pricelist-menu[data-bs-popper]{
  right:calc(100% + 18px)!important;
  left:auto!important;
}
.led-location-card:has(.led-pricelist-menu.show){z-index:25;}
.led-pricelist-zone{padding:16px!important;}
.led-pricelist-head{margin-bottom:12px!important;}
.led-price-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  grid-template-rows:repeat(4,minmax(0,auto));
  gap:8px!important;
}
.led-price-item{
  min-height:88px!important;
  padding:12px 12px 11px!important;
}
.led-price-item>strong{font-size:18px!important;margin-top:5px!important;}
.led-price-item>small{margin-top:5px!important;font-size:10px!important;}
@media(max-width:900px) and (min-width:761px){
  .led-price-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:760px){
  .led-pricelist-menu,
  .dropend .led-pricelist-menu[data-bs-popper]{
    position:fixed!important;
    top:86px!important;
    right:16px!important;
    left:16px!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    max-height:calc(100vh - 104px)!important;
    overflow:auto!important;
  }
  .led-location-grid>.led-location-card:nth-child(even) .led-pricelist-menu,
  .led-location-grid>.led-location-card:nth-child(even) .dropend .led-pricelist-menu[data-bs-popper]{
    right:16px!important;
    left:16px!important;
  }
  .led-price-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:auto}
}
@media(max-width:620px){
  .led-price-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:auto}
}
@media(max-width:420px){
  .led-price-grid{grid-template-columns:1fr!important;grid-template-rows:auto}
}

/* V6.13 compact pricelist hierarchy: centered duration, centered price + small adjacent VAT, price type. */
.led-price-item{
  display:flex!important;
  flex-direction:column;
  justify-content:flex-start;
}
.led-price-duration{
  align-self:center;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:58px;
  padding:5px 10px;
  margin:0 auto 10px;
  border:1px solid #eaded2;
  border-radius:10px;
  background:#f8f1ea;
  color:#5f5148;
  font-size:12px;
  font-weight:900;
  line-height:1;
  letter-spacing:.04em;
  text-align:center;
  text-transform:uppercase;
}
.led-price-item.is-custom .led-price-duration{
  border-color:#f3c8b6;
  background:#fff2eb;
  color:#9b4327;
}
.led-price-main{
  display:flex;
  align-items:baseline;
  justify-content:center;
  gap:4px;
  width:100%;
  min-width:0;
}
.led-price-main>strong{
  color:#1b1714;
  font-size:16px!important;
  font-weight:900;
  line-height:1.12;
  letter-spacing:-.025em;
  white-space:nowrap;
}
.led-price-vat{
  margin-left:0;
  color:#887970;
  font-size:10px!important;
  font-weight:800;
  line-height:1.35;
  letter-spacing:0;
  white-space:nowrap;
  text-align:right;
}
.led-price-main-agreement{justify-content:center;}
.led-price-main-agreement>strong{font-size:15px!important;}
.led-price-type{
  display:block;
  margin-top:8px!important;
  color:#887970!important;
  font-size:10px!important;
  font-weight:800;
  line-height:1.25!important;
  text-align:center;
}
@media(max-width:420px){
  .led-price-main>strong{font-size:17px!important;}
}

/* Profile and agency-image controls: upload left, destructive remove right. */
.profile-media-actions{justify-content:space-between!important;flex-wrap:nowrap!important;gap:12px!important;}
.profile-media-actions .btn{margin:0!important;}
.profile-media-actions .btn-danger-action:disabled,
.profile-media-actions .btn-danger-action.disabled{opacity:.42!important;cursor:not-allowed!important;pointer-events:none!important;box-shadow:none!important;}
.profile-remove-hidden-form{display:none!important;}
@media(max-width:560px){
  .profile-media-actions{gap:8px!important;}
  .profile-media-actions .btn{padding-left:11px!important;padding-right:11px!important;}
}
