/* Shared visual system for the authenticated workspace. */
.layout{--line:#e0e6ef;--muted:#617189;background:#f3f5f9}.layout .content{max-width:1800px;margin:auto;padding-top:30px}.layout .topbar{height:68px;box-shadow:0 2px 12px #15283e03}.layout .topbar>.pill{margin-left:auto}.layout .sidebar{background:#101e32;padding-top:24px}.nav-section{display:grid;gap:3px;margin:12px 0}.nav-section .nav-label{font-size:9px;letter-spacing:1.4px;margin:8px 0;color:#98a9c2}.layout .nav-link{font-size:12px;padding:10px 12px;border-radius:8px}.layout .nav-link.active{background:#263a55}.layout .brand strong{font-size:14px;letter-spacing:.5px}.layout .workspace-label{margin-bottom:8px}.layout .connection-card{background:#16263d}.layout .page-heading{padding:0 0 24px;border-bottom:1px solid var(--line);margin-bottom:26px;align-items:center}.layout .page-heading h1{font-size:30px;letter-spacing:-1px;line-height:1.2;margin:10px 0}.layout .page-heading .eyebrow{color:#a8233c;font-size:10px;letter-spacing:1.5px;font-weight:750}.layout .page-heading p{max-width:720px;line-height:1.7;margin:6px 0}.workspace-user{font-size:11px;color:#6d7d93}.layout .btn{border-radius:9px;min-height:38px;font-size:12px;font-weight:650;transition:background .15s,box-shadow .15s}.layout .btn.primary{background:#b92540;box-shadow:0 4px 10px #b9254018}.layout .btn.secondary{background:#fff;border:1px solid #dbe2ed;color:#344c6b}.layout .btn:hover:not(:disabled){box-shadow:0 3px 10px #23374f12}.layout .btn:disabled{opacity:.5}.layout :is(input,select,textarea){border-radius:8px!important;border-color:#d6dfeb!important}.layout .form-field{font-size:12px;font-weight:550}.layout .form-field :is(input,select,textarea){font-weight:400;min-height:42px;background:#fcfdff}.layout .live-notice,.layout .live-table{box-shadow:0 3px 14px #21334804;border:1px solid #dfe6ef;border-radius:16px;margin-bottom:22px}.layout .live-notice{padding:26px;margin-top:0}.layout .live-notice h2{font-size:21px;letter-spacing:-.4px;line-height:1.35}.layout .live-notice p{color:#596b84;font-size:13px}.layout .live-table-heading{padding:22px 24px;align-items:center;border-bottom:1px solid #e6ebf2}.layout .live-table-heading strong{font-size:15px}.layout .live-table-heading>span{font-size:11px}.layout .live-table table{width:100%}.layout .live-table th{font-size:10px;letter-spacing:.5px;color:#526781;background:#f7f9fc;white-space:nowrap;padding:14px 18px}.layout .live-table td{padding:17px 18px;font-size:12px;line-height:1.65;min-width:115px;vertical-align:top;border-color:#edf0f5}.layout .live-table tbody tr:hover{background:#f9fbfe}.layout .live-table td:first-child{font-weight:600;color:#253d5b}.layout .table-footer{padding:18px 24px;border-top:1px solid #e5eaf2;display:flex;justify-content:space-between;align-items:center}.record-status{display:inline-flex;border-radius:6px;padding:3px 9px;font-size:11px;font-weight:600;white-space:nowrap;background:#edf1f7;color:#4b6280}.record-status.positive{background:#e8f4ee;color:#27664c}.record-status.negative{background:#fcecef;color:#a52b43}.cell-muted{color:#8794a6}.cell-details{min-width:180px;max-width:300px;font-weight:400}.cell-details summary{cursor:pointer;color:#3e618b}.cell-details p{font-size:11px;line-height:1.8;overflow-wrap:anywhere}.layout time{font-size:11px;color:#61718a;white-space:nowrap}.records-summary{display:flex;align-items:center;gap:24px;padding:15px 20px;margin-bottom:18px;border:1px solid #dfe6ef;background:#fff;border-radius:12px;font-size:11px;color:#65758d}.records-summary strong{font-size:20px;color:#253d5b;margin-right:5px}.records-summary span:last-child{margin-left:auto}.section-empty{padding:55px 24px!important;text-align:center}.empty-symbol{display:grid;place-items:center;width:54px;height:54px;margin:0 auto 18px;background:#edf2f8;border:1px solid #e0e8f2;border-radius:16px;color:#607fa3}.section-empty h3{font-size:18px;color:#2a405c}.section-empty p{max-width:490px;margin:12px auto;line-height:1.8;font-size:13px}.section-empty small{font-size:11px;color:#6b7e95}.workspace-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:24px 0}.workspace-shortcuts a{background:#fff;border:1px solid #dfe5ed;padding:22px;border-radius:14px;display:flex;flex-direction:column;align-items:flex-start}.workspace-shortcuts a:hover{border-color:#a5b7ce;box-shadow:0 6px 18px #253c5510}.shortcut-icon{background:#edf2f8;color:#526f95;border-radius:10px;padding:10px;margin-bottom:18px}.workspace-shortcuts strong{font-size:14px}.workspace-shortcuts p{font-size:12px;line-height:1.7;color:#64758b}.shortcut-link{font-size:11px;font-weight:650;color:#a52841;margin-top:auto;padding-top:12px}.layout .live-metrics{margin-bottom:24px}.layout .live-metrics article{border-top:3px solid #344f72;padding:24px}.layout .live-metrics article>span{font-size:12px;color:#61728a}.layout .live-metrics strong{font-size:38px;letter-spacing:-1px;color:#1a304e}.layout .live-table>h2,.layout .live-table>p{margin:20px 24px}.layout #audience-load{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:14px;margin:20px 0}.layout [id$="-result"]:not(:empty),.layout [role="status"]:not(:empty){line-height:1.7}.layout #inbox-root{box-shadow:0 8px 24px #20324906}.layout .inbox-status{background:#182e4b;padding:20px}.layout .inbox-sidebar{background:#f7f9fc}.layout .chat-bubble{border:1px solid #e2e8ee;border-radius:14px}.layout .chat-bubble p{line-height:1.8}.layout .chat-messages{background:#f1f4f8}.layout #inbox-details{background:#fcfdff}.layout details>summary:focus-visible{outline:3px solid #7899c8;outline-offset:4px}.layout .page-footer{padding-top:22px;color:#64768e}.mobile-scrim{cursor:pointer}
@media(max-width:1100px){.workspace-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}.layout #audience-load{grid-template-columns:1fr 1fr}.layout #audience-load>.btn{justify-self:start}}
@media(max-width:760px){.layout .content{padding:20px 14px}.layout .page-heading{display:flex;align-items:flex-start;gap:12px;flex-wrap:wrap}.layout .page-heading h1{font-size:25px}.layout .live-notice{padding:20px}.layout .topbar{height:60px}.records-summary{gap:12px;flex-wrap:wrap}.records-summary span:last-child{margin-left:0}.layout .table-footer{padding:16px;flex-wrap:wrap;gap:12px}.layout #audience-load{grid-template-columns:1fr}.layout .live-table-heading{padding:18px;gap:12px;flex-wrap:wrap}.workspace-shortcuts{grid-template-columns:1fr}.layout .workspace-user{display:block}.layout .inbox-status{padding:16px}}
@media(prefers-reduced-motion:reduce){.layout *{transition:none!important}}
/* Dialogs are outside the application layout. */
#import-dialog,.import-dialog,dialog{border-radius:18px;border-color:#dce4ef;box-shadow:0 24px 80px #12253e35}dialog .form-field{font-size:12px;color:#435e7c}dialog .form-field :is(input,select,textarea){min-height:42px;border-color:#d6dfeb;border-radius:9px}dialog h2{letter-spacing:-.5px}dialog .btn{border-radius:9px}dialog summary{cursor:pointer}.import-mapping{gap:16px}
.layout .team-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:20px}.layout .team-member{border:1px solid #dfe6ef;background:#fff;padding:24px;border-radius:16px}.layout .team-member h3{font-size:18px;margin:16px 0 8px}.layout .team-member>p{font-size:13px}.layout .team-member>small{font-size:10px;color:#6d7f95;overflow-wrap:anywhere}.layout .team-member details{margin-top:20px}.layout .team-member summary{cursor:pointer;color:#315d78;font-size:13px;font-weight:600}.layout .team-member form{display:grid;gap:16px;margin-top:18px}.layout .team-member form p{font-size:11px;line-height:1.7}
/* Administrative overview */
.dash-hero{display:flex;justify-content:space-between;gap:36px;padding:32px;background:#12253f;border-radius:18px;color:#fff;margin-bottom:22px}.dash-hero>div>span{font-size:10px;letter-spacing:1.8px;color:#b5c8e1;font-weight:700}.dash-hero h2{font-size:30px;line-height:1.2;letter-spacing:-.8px;color:#fff;margin:16px 0}.dash-hero p{font-size:12px;line-height:1.8;color:#c0cee0;max-width:480px}.dash-connection{align-self:center;max-width:260px;padding:20px;border:1px solid #455570;border-radius:12px;background:#ffffff06}.dash-connection strong{font-size:12px;color:#f5d69c}.dash-filters{display:flex;gap:12px;align-items:end;flex-wrap:wrap;padding:18px 20px;background:#fff;border:1px solid #dfe6ef;border-radius:12px}.dash-filters p:empty{display:none}.dash-filters p{flex-basis:100%;font-size:12px;color:#a92a42}.dash-scope{font-size:11px;color:#63758d;margin:15px 0 22px}.dash-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:20px 0}.dash-kpi{background:#fff;border:1px solid #dfe6ef;border-radius:14px;padding:22px;display:flex;flex-direction:column;gap:13px}.dash-kpi>span{font-size:12px;color:#465f7d;font-weight:550}.dash-kpi>strong{font-size:32px;color:#203b5d;letter-spacing:-1px;line-height:1.2;overflow-wrap:anywhere}.dash-kpi>small{font-size:11px;color:#677b92;line-height:1.6}.dash-kpi[href]:hover{border-color:#9db2cc}.dash-columns{display:grid;grid-template-columns:1.3fr 1fr;gap:22px}.dash-panel{border:1px solid #dfe6ef;border-radius:16px;padding:26px;background:#fff;margin-bottom:22px;min-width:0}.dash-panel-title>span{font-size:9px;color:#a12840;letter-spacing:1.5px;font-weight:700}.dash-panel-title h3{font-size:20px;letter-spacing:-.3px;margin:10px 0}.dash-panel-title p{color:#697c93;font-size:11px;line-height:1.8}.dash-task{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:19px 0;border-bottom:1px solid #ebeff5;font-size:12px;color:#314c6b}.dash-task small{display:block;font-size:10px;color:#6e7f94;margin-top:6px}.dash-task strong{font-size:22px}.dash-lab{display:flex;align-items:center;gap:20px;padding:23px;background:#f1f6fa;border-radius:12px;margin-top:20px}.dash-lab strong{font-size:38px;color:#254c70}.dash-lab span{font-size:13px}.dash-note{font-size:11px;color:#67798e;line-height:1.8}.dash-flow{padding:0;list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:22px}.dash-flow li{border-top:3px solid #b8c9dd;background:#f7f9fc;padding:20px;border-radius:0 0 10px 10px}.dash-flow li>span{color:#a32941;font-size:11px;font-weight:700}.dash-flow strong{display:block;font-size:13px;margin:12px 0}.dash-flow small{font-size:11px;color:#6a7d94;line-height:1.7}.layout #dashboard-campaign{display:flex;align-items:end;gap:12px;max-width:650px}.layout #dashboard-campaign label{flex:1}
@media(max-width:1150px){.dash-kpis,.dash-flow{grid-template-columns:repeat(2,minmax(0,1fr))}.dash-columns{grid-template-columns:1fr}.dash-hero{gap:20px}.dash-hero h2{font-size:26px}}
@media(max-width:650px){.dash-hero{display:block;padding:24px}.dash-connection{max-width:none;margin-top:22px}.dash-panel{padding:20px}.dash-kpis{gap:10px}.dash-kpi{padding:16px}.dash-kpi>strong{font-size:27px}.dash-filters>*{flex:1 1 140px}.dash-flow{grid-template-columns:1fr}.layout #dashboard-campaign{flex-wrap:wrap}}
.layout .template-apply{margin-top:20px;padding-top:16px;border-top:1px solid #e3eaf0;display:grid;gap:12px}.layout .template-apply p{font-size:11px;line-height:1.7;color:#62748c}.layout #template-live-preview{margin-top:20px}.layout #template-live-preview .live-notice{background:#edf6f1}.layout #template-editor p{font-size:12px;line-height:1.7}
