/* PUBLIC FICTIONAL SAMPLE: production portal dashboard.css, every rule scoped under .portal-sample so it cannot affect the
   marketing header/footer. Values are unchanged except: sidebar position fixed->absolute (pinned to the sample frame) and
   workspace min-height 100vh->900px. Dialog header element is a div.dialog-head (marketing CSS restyles every <header>). */
.portal-sample{--navy:#1F2E5C;--sidebar:#17224c;--orange:#E87A2C;--page:#f5f6fb;--line:#e1e6f2;--muted:#56617c;--ink:#1d2b54;--green:#176541;--red:#a3283d}.portal-sample,.portal-sample *{box-sizing:border-box}.portal-sample{margin:0;background:var(--page);font-family:Inter,system-ui,-apple-system,sans-serif;color:var(--ink);font-size:14px;line-height:1.45}.portal-sample button,.portal-sample select{font:inherit}.portal-sample button,.portal-sample select{min-height:40px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);padding:7px 10px}.portal-sample button{cursor:pointer}.portal-sample button:disabled{cursor:not-allowed;color:#57617a;background:#f0f2f7;opacity:1}.portal-sample a{color:var(--navy)}.portal-sample :focus-visible{outline:3px solid #a7440b;outline-offset:3px}.portal-sample [hidden]{display:none!important}.portal-sample .sidebar{position:absolute;inset:0 auto 0 0;width:224px;background:var(--sidebar);color:#f0f2fa;padding:24px 14px;display:flex;flex-direction:column;gap:20px;overflow-y:auto}.portal-sample .logo{display:block;width:176px;max-width:100%;margin:0 auto 4px;line-height:0}.portal-sample .logo svg{width:100%;height:auto;display:block}.portal-sample .account-chip,.portal-sample .side-note{background:#25325d;border-radius:10px;padding:12px;font-size:12px}.portal-sample .account-chip strong{display:block;color:white;font-size:13px}.portal-sample .account-chip span,.portal-sample .side-note span{color:#e1e5f4}.portal-sample .nav{display:grid;gap:5px}.portal-sample .nav button{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left;border:0;background:transparent;color:#f0f2fa;font-size:13px;border-radius:9px;padding:9px 12px}.portal-sample .nav button.active{background:var(--orange);color:#17224c;font-weight:750}.portal-sample .nav button:disabled{color:#c4cbe0;background:transparent}.portal-sample .nav button .badge{font-size:10px;background:#34436d;color:#fff;padding:1px 6px;border-radius:9px}.portal-sample .nav button.active .badge{background:#17224c}.portal-sample .side-note{margin-top:auto}.portal-sample .side-note strong{display:block}.portal-sample .workspace{margin-left:224px;min-height:900px}.portal-sample .topbar{background:white;border-bottom:1px solid var(--line);padding:14px 24px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.portal-sample .topbar h1{margin:0;font-size:22px}.portal-sample .toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px}.portal-sample .toolbar label{display:flex;gap:5px;align-items:center}.portal-sample .owner-badge{border-radius:24px;background:var(--navy);color:white;padding:9px 12px;font-size:11px}.portal-sample .content{padding:20px 24px;max-width:1740px;margin:auto}.portal-sample .banner{background:#fff4df;border:1px solid #e5bd70;color:#67451a;border-radius:10px;padding:11px 14px;font-size:12px;margin-bottom:16px}.portal-sample .status{font-size:12px;color:var(--muted);margin:0 0 12px;min-height:18px}.portal-sample .error{padding:16px;background:#fff0f0;color:#792334;border:1px solid #d59ca7;border-radius:10px}.portal-sample .kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-bottom:16px}.portal-sample .tile,.portal-sample .card{background:white;border:1px solid var(--line);border-radius:12px;min-width:0}.portal-sample .tile{padding:16px 13px;min-height:128px}.portal-sample .tile.focus{border:2px solid var(--orange);padding:15px 12px}.portal-sample .tile .label{font-size:12px}.portal-sample .tile .number{font-size:30px;font-weight:800;letter-spacing:-1px;line-height:1.2;margin:8px 0 4px}.portal-sample .tile .hint{font-size:11px;color:var(--muted)}.portal-sample .columns{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:16px;align-items:start}.portal-sample .stack{display:grid;gap:16px}.portal-sample .card{padding:17px}.portal-sample .card h2{font-size:15px;margin:0}.portal-sample .card h3{font-size:13px;margin:0}.portal-sample .card-head{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:12px}.portal-sample .muted{font-size:12px;color:var(--muted)}.portal-sample .tag{font-size:11px;background:#eef0f7;color:#465374;border-radius:6px;padding:3px 6px}.portal-sample .chart-wrap{overflow-x:auto;overscroll-behavior-x:contain;scrollbar-gutter:stable;border-radius:6px}.portal-sample .chart-wrap svg{display:block;max-width:none;height:auto}.portal-sample .chart-help{font-size:12px;color:var(--muted);margin:2px 0 10px}.portal-sample .chart-summary{font-size:12px;color:var(--ink);margin:10px 0 4px}.portal-sample .chart-data{margin-top:12px;font-size:12px}.portal-sample .chart-data summary{cursor:pointer;color:var(--navy);min-height:32px;padding:5px 0}.portal-sample .chart-data .table-wrap{max-height:280px;overflow:auto}.portal-sample .chart-data table{min-width:440px}.portal-sample .chart-data thead th{position:sticky;top:0;background:#fff}.portal-sample .chart-data tbody th{font-size:12px;letter-spacing:normal;font-weight:500;padding:8px 7px;color:var(--ink)}.portal-sample .chart-data caption{text-align:left;color:var(--muted);padding:8px 7px}.portal-sample .chart-data td{padding:8px 7px}.portal-sample .legend{display:flex;gap:14px;flex-wrap:wrap;font-size:11px;color:var(--muted);margin-top:8px}.portal-sample .legend span{display:flex;align-items:center;gap:5px}.portal-sample .dot{width:9px;height:9px;border-radius:2px;display:inline-block}.portal-sample .filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:10px 0 14px;font-size:12px}.portal-sample .filters label{display:flex;align-items:center;gap:5px}.portal-sample .table-wrap{overflow-x:auto}.portal-sample table{border-collapse:collapse;width:100%;font-size:12px;min-width:590px}.portal-sample th{text-align:left;font-size:10px;letter-spacing:.05em;color:var(--muted);padding:8px 7px;border-bottom:1px solid var(--line)}.portal-sample td{padding:13px 7px;border-bottom:1px solid #edf0f7;vertical-align:top}.portal-sample td strong{display:block}.portal-sample .pill{display:inline-block;border-radius:20px;background:#edf0f7;color:#314269;padding:3px 7px;font-size:10px;font-weight:650}.portal-sample .pill.booked{background:#e4f2e9;color:#176541}.portal-sample .pill.forwarded{background:#fff0e8;color:#8a3c0c}.portal-sample .pill.message{background:#fff4d9;color:#765000}.portal-sample .detail-btn{font-size:11px;min-height:32px;padding:5px 9px}.portal-sample .fact-row{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #edf0f7;font-size:12px}.portal-sample .fact-row:last-child{border:0}.portal-sample .fact-row b{text-align:right}.portal-sample .unbooked{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid #edf0f7}.portal-sample .unbooked:last-child{border:0}.portal-sample .unbooked strong{display:block;font-size:12px}.portal-sample .unbooked button{font-size:11px;min-height:32px}.portal-sample .bottom{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:16px}.portal-sample .bottom .card{min-height:180px}.portal-sample .empty{padding:24px 0;color:var(--muted);font-size:13px}.portal-sample .footer{text-align:center;font-size:11px;color:var(--muted);padding:20px 0 4px}.portal-sample .dialog-shade{position:fixed;inset:0;background:#17224c99;display:flex;align-items:center;justify-content:center;padding:20px;z-index:4}.portal-sample .dialog{background:#fff;border-radius:14px;padding:22px;width:min(560px,100%);max-height:90vh;overflow:auto}.portal-sample .dialog h2{margin:0;font-size:18px}.portal-sample .dialog .dialog-head{display:flex;justify-content:space-between;gap:12px;align-items:center}.portal-sample .detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.portal-sample .controls-note{padding-top:8px}.portal-sample .off{color:#8a3c0c;font-weight:650}.portal-sample .mobile-note{display:none}
@media(max-width:1200px){.portal-sample .sidebar{width:190px}.portal-sample .workspace{margin-left:190px}.portal-sample .kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.portal-sample .columns{grid-template-columns:minmax(0,1.4fr) minmax(250px,1fr)}.portal-sample .content{padding:16px}.portal-sample .topbar{padding:14px 16px}.portal-sample .logo{width:160px}}
@media(max-width:900px){.portal-sample .columns{grid-template-columns:1fr}.portal-sample .bottom{grid-template-columns:1fr}.portal-sample .sidebar{width:180px}.portal-sample .workspace{margin-left:180px}.portal-sample .toolbar{width:100%}.portal-sample .side-note{font-size:11px}.portal-sample .kpis{gap:8px}.portal-sample .tile{padding:12px}.portal-sample .tile.focus{padding:11px}}
@media(max-width:640px){.portal-sample .sidebar{position:static;width:100%;padding:14px;gap:12px;overflow:visible}.portal-sample .logo{margin:0;width:175px}.portal-sample .account-chip{padding:9px}.portal-sample .nav{display:flex;overflow-x:auto;gap:6px;padding-bottom:5px}.portal-sample .nav button{width:auto;min-width:max-content;background:#25325d}.portal-sample .nav button:disabled{background:#25325d}.portal-sample .side-note{display:none}.portal-sample .workspace{margin:0}.portal-sample .topbar h1{font-size:20px}.portal-sample .toolbar{gap:7px}.portal-sample .toolbar label{font-size:12px}.portal-sample .toolbar select{max-width:180px}.portal-sample .owner-badge{display:none}.portal-sample .content{padding:12px}.portal-sample .kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-sample .tile{min-height:122px}.portal-sample .tile .number{font-size:28px}.portal-sample .filters{align-items:stretch}.portal-sample .filters label{width:100%;justify-content:space-between}.portal-sample .filters select{width:70%}.portal-sample .detail-grid{grid-template-columns:1fr}.portal-sample .mobile-note{display:block}}


.portal-sample .dot.dot-handled{background:#cbd1e8}.portal-sample .dot.dot-booked{background:#E87A2C}.portal-sample .dot.dot-emergency{background:#b93743}.portal-sample .pill.handled{background:#e8eefc;color:#1F2E5C}.portal-sample .recording{margin-top:12px}.portal-sample .recording audio{width:100%;margin-top:6px}.portal-sample .pill.urgent{background:#fde8ea;color:#8f1f31;margin-top:4px}.portal-sample .caller-block{margin:12px 0 4px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#fafbfe}.portal-sample .caller-block h3{margin-bottom:4px}
.portal-sample .trend-head{display:flex;justify-content:space-between;align-items:flex-start;gap:8px 16px;flex-wrap:wrap;margin-bottom:8px}.portal-sample .trend-card .trend-title{display:flex;align-items:center;gap:8px;margin:0;font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}.portal-sample .trend-mark{width:8px;height:8px;border-radius:2px;background:#E87A2C;display:inline-block;flex:none}.portal-sample .trend-legend{display:flex;gap:6px 14px;flex-wrap:wrap;margin-left:auto;font-size:11px;color:var(--muted)}.portal-sample .trend-legend span{display:flex;align-items:center;gap:6px}.portal-sample .trend-swatch{width:16px;height:0;border-top:2px solid #E87A2C;display:inline-block}.portal-sample .trend-swatch.trend-last{border-top:2px dashed #7b88a5}.portal-sample .trend-wrap{position:relative;min-height:200px;touch-action:pan-y}.portal-sample .trend-wrap svg{display:block;width:100%;height:auto;overflow:visible}.portal-sample .trend-wrap svg:focus{outline:none}.portal-sample .trend-wrap svg:focus-visible{outline:3px solid #a7440b;outline-offset:3px}.portal-sample .trend-tip{position:absolute;z-index:2;pointer-events:none;background:#fff;border:1px solid #E87A2C;border-radius:8px;padding:6px 10px;font-size:12px;line-height:1.5;color:var(--ink);white-space:nowrap}.portal-sample .trend-tip b{display:block;font-size:10px;font-weight:650;letter-spacing:.05em;color:var(--muted);text-transform:uppercase}.portal-sample .trend-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.portal-sample .trend-note{font-size:12px;color:var(--muted);margin:10px 0 0}
.portal-sample{position:relative;text-align:left;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
