:root{font-family:Inter,sans-serif;color:#102b3b;background:#f7fbfc;--navy:#071f31;--teal:#078798;--aqua:#20c4ce;--ice:#e7fafb;--line:#dce8ec}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}h1,h2,h3,.brand{font-family:Manrope,sans-serif}a{color:inherit;text-decoration:none}.brand{display:flex;flex-direction:column;font-weight:800;letter-spacing:.12em}.brand small{font-size:9px;letter-spacing:.42em;margin-top:2px}.button{border:0;border-radius:999px;padding:15px 22px;background:linear-gradient(135deg,var(--teal),var(--aqua));color:#fff;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;box-shadow:0 12px 30px #07879838}.button.small{padding:11px 17px;font-size:13px}.eyebrow{font-size:12px;letter-spacing:.25em;font-weight:800;color:#13aeb9}label{font-size:13px;font-weight:700;display:flex;flex-direction:column;gap:8px}input,select,textarea{width:100%;border:1px solid #cfdee3;border-radius:12px;padding:13px 14px;font:inherit;background:#fff}textarea{resize:vertical}.form-result{color:var(--teal);font-weight:700}.error{color:#c0392b!important}.table-wrap{background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden}.table-wrap table{width:100%;border-collapse:collapse}.table-wrap th,.table-wrap td{padding:16px;text-align:left;border-bottom:1px solid #edf2f4;font-size:14px}.table-wrap th{font-size:12px;color:#647b85;background:#f8fbfc}.table-wrap td small{display:block;color:#7b9098;margin-top:4px}.table-wrap td a{font-weight:800;color:var(--teal)}@media (max-width:620px){.table-wrap{overflow:auto}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}.portal-auth,.portal-shell{--portal-canvas: #f3f6f8;--portal-surface: #ffffff;--portal-surface-soft: #f8fafb;--portal-border: #dce3e8;--portal-border-strong: #cbd5dc;--portal-ink: #172431;--portal-ink-2: #516170;--portal-ink-3: #81909e;--portal-brand: #0b7182;--portal-brand-dark: #075d6b;--portal-brand-soft: #e8f3f5;--portal-brand-line: #b9dfe4;--portal-green: #17783a;--portal-green-soft: #e7f4eb;--portal-blue: #255da7;--portal-blue-soft: #ebf1fa;--portal-warn: #8a5b09;--portal-warn-soft: #fbf1d8;--portal-danger: #b23b32;--portal-danger-soft: #fae9e7;--portal-shadow: 0 1px 2px rgba(20, 34, 48, .04), 0 8px 24px rgba(20, 34, 48, .05);min-height:100vh;background:var(--portal-canvas);color:var(--portal-ink);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:14px;line-height:1.5}.portal-auth *,.portal-shell *{box-sizing:border-box}.portal-auth button,.portal-shell button,.portal-shell a{font:inherit}.portal-auth :focus-visible,.portal-shell :focus-visible{outline:2px solid var(--portal-brand);outline-offset:2px}.portal-auth{display:grid;place-items:center;padding:36px 18px;background:radial-gradient(circle at 10% 0%,rgba(11,113,130,.1),transparent 34%),var(--portal-canvas)}.portal-auth-card{width:min(100%,420px);padding:28px;background:var(--portal-surface);border:1px solid var(--portal-border);border-radius:12px;box-shadow:var(--portal-shadow)}.portal-brand{display:flex;align-items:center;gap:10px}.portal-brand>span{width:34px;height:34px;flex:none;display:grid;place-items:center;color:#fff;background:var(--portal-brand);border-radius:8px}.portal-brand>span svg{width:18px;height:18px}.portal-brand div{display:grid;line-height:1.15}.portal-brand strong{color:var(--portal-ink);font-size:15px;font-weight:700}.portal-brand small{color:var(--portal-ink-3);font-size:11.5px}.portal-auth-copy{margin:24px 0 18px}.portal-auth-copy .eyebrow{display:block;margin:0 0 5px;color:var(--portal-brand);font-size:10.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.portal-auth h1{margin:0 0 6px;color:var(--portal-ink);font-size:23px;line-height:1.2;letter-spacing:-.02em}.portal-auth p{margin:0;color:var(--portal-ink-2);font-size:13px}.portal-auth form{display:grid;gap:13px}.portal-auth label{display:grid;gap:5px;color:var(--portal-ink-2);font-size:12px;font-weight:650}.portal-auth input{width:100%;height:40px;padding:0 11px;border:1px solid var(--portal-border-strong);border-radius:7px;background:#fff;color:var(--portal-ink);font:inherit;outline:none}.portal-auth input:focus{border-color:var(--portal-brand);box-shadow:0 0 0 3px #0b71821a}.portal-auth form button{min-height:40px;margin-top:2px;border:1px solid var(--portal-brand);border-radius:7px;background:var(--portal-brand);color:#fff;cursor:pointer;font-weight:700}.portal-auth form button:hover{background:var(--portal-brand-dark)}.portal-auth button:disabled{opacity:.62;cursor:wait}.portal-auth-actions{display:flex;justify-content:center;margin-top:12px}.portal-auth .portal-auth-link{border:0;padding:3px 5px;background:transparent;color:var(--portal-brand);cursor:pointer;font-size:12.5px;font-weight:650}.portal-auth .portal-auth-link:hover{text-decoration:underline}.portal-help{margin-top:18px!important;color:var(--portal-ink-3)!important;text-align:center;font-size:11.5px!important}.portal-error,.portal-success{display:flex;align-items:center;gap:8px;padding:10px 12px;margin:0 0 13px;border-radius:7px;font-size:12.5px;font-weight:550}.portal-error{color:var(--portal-danger);background:var(--portal-danger-soft);border:1px solid #efc5c1}.portal-success{color:var(--portal-green);background:var(--portal-green-soft);border:1px solid #c8e4d1}.portal-header{position:sticky;top:0;z-index:20;width:100%;border-bottom:1px solid var(--portal-border);background:#fffffff5;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.portal-header-inner{width:min(100%,1240px);min-height:64px;margin:0 auto;padding:0 24px;display:flex;align-items:center;justify-content:space-between;gap:20px}.portal-brand-header>span{width:36px;height:36px;border-radius:9px}.portal-brand-header strong{font-size:16px}.portal-header-actions,.portal-customer{display:flex;align-items:center;gap:10px}.portal-customer>div{display:grid;min-width:110px;padding-right:2px;text-align:right;line-height:1.25}.portal-customer strong{color:var(--portal-ink);font-size:12.5px;font-weight:650}.portal-customer small{color:var(--portal-ink-3);font-size:10.5px}.portal-refresh-btn,.portal-customer button{height:34px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 11px;border:1px solid var(--portal-border-strong);border-radius:7px;background:#fff;color:var(--portal-ink-2);cursor:pointer;font-size:12px;font-weight:600}.portal-refresh-btn:hover,.portal-customer button:hover{background:var(--portal-surface-soft);color:var(--portal-ink)}.portal-refresh-btn:disabled{opacity:.65;cursor:wait}.portal-layout{width:min(100%,1240px);margin:0 auto;padding:24px 24px 52px}.portal-hero{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.75fr);gap:24px;padding:26px 28px;border:1px solid var(--portal-brand-line);border-radius:14px;background:radial-gradient(circle at 100% 0%,rgba(11,113,130,.12),transparent 36%),linear-gradient(135deg,#f9fdfd 0%,var(--portal-brand-soft) 100%);box-shadow:0 1px 2px #14223008}.portal-account-chip{display:inline-flex;align-items:center;height:24px;padding:0 9px;margin-bottom:12px;border:1px solid var(--portal-brand-line);border-radius:999px;background:#ffffffb8;color:var(--portal-brand-dark);font-size:10.5px;font-weight:700;letter-spacing:.02em}.portal-hero h1{margin:0 0 7px;color:var(--portal-ink);font-size:clamp(25px,3vw,34px);line-height:1.12;letter-spacing:-.035em}.portal-hero-copy>p{max-width:650px;margin:0;color:var(--portal-ink-2);font-size:14px}.portal-live-state{display:flex;align-items:center;gap:7px;margin-top:16px;color:var(--portal-ink-3);font-size:11.5px}.portal-live-dot{width:7px;height:7px;border-radius:50%;background:var(--portal-green);box-shadow:0 0 0 4px #17783a1a}.portal-hero-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-self:stretch;overflow:hidden;border:1px solid rgba(185,223,228,.9);border-radius:10px;background:#ffffffc7}.portal-hero-summary>div{display:grid;align-content:center;min-width:0;padding:16px}.portal-hero-summary>div+div{border-left:1px solid var(--portal-brand-line)}.portal-hero-summary span{color:var(--portal-ink-3);font-size:10.5px;font-weight:650;text-transform:uppercase;letter-spacing:.06em}.portal-hero-summary strong{margin:3px 0 1px;color:var(--portal-ink);font-size:18px;line-height:1.25}.portal-hero-summary small{color:var(--portal-ink-3);font-size:10.5px;line-height:1.35}.portal-nav{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:18px 0 22px}.portal-nav button{min-width:0;height:52px;display:flex;align-items:center;justify-content:center;gap:7px;padding:0 10px;border:1px solid var(--portal-border);border-radius:9px;background:var(--portal-surface);color:var(--portal-ink-2);cursor:pointer;font-size:12.5px;font-weight:600;transition:border-color .15s ease,background .15s ease,color .15s ease}.portal-nav button:hover{border-color:var(--portal-brand-line);color:var(--portal-brand-dark);background:#fbfefe}.portal-nav button.active{border-color:var(--portal-brand);background:var(--portal-brand-soft);color:var(--portal-brand-dark);box-shadow:inset 0 -2px 0 var(--portal-brand)}.portal-nav button svg{flex:none}.portal-nav button b{min-width:20px;height:20px;display:inline-grid;place-items:center;margin-left:auto;padding:0 5px;border-radius:999px;background:var(--portal-surface-soft);color:var(--portal-ink-3);font-size:10px;font-weight:700}.portal-nav button.active b{background:#fff;color:var(--portal-brand-dark)}.portal-content{min-width:0}.portal-inline-error{justify-content:space-between;margin-bottom:16px}.portal-inline-error button{border:0;background:transparent;color:inherit;cursor:pointer;font-size:12px;font-weight:700;text-decoration:underline}.portal-section-head{min-height:58px;display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:14px}.portal-section-kicker{display:block;margin-bottom:3px;color:var(--portal-brand);font-size:10px;font-weight:750;letter-spacing:.08em;text-transform:uppercase}.portal-section-head h2{margin:0 0 3px;color:var(--portal-ink);font-size:20px;line-height:1.2;letter-spacing:-.02em}.portal-section-head p{margin:0;color:var(--portal-ink-2);font-size:12.5px}.portal-count{min-width:34px;height:28px;display:inline-grid;place-items:center;padding:0 9px;border:1px solid var(--portal-border);border-radius:999px;background:var(--portal-surface);color:var(--portal-ink-2);font-size:11.5px;font-weight:700}.portal-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}.portal-metric{min-width:0;min-height:82px;display:flex;align-items:center;gap:13px;padding:14px 15px;border:1px solid var(--portal-border);border-radius:10px;background:var(--portal-surface);box-shadow:0 1px 2px #14223008}.portal-metric>span{width:38px;height:38px;flex:none;display:grid;place-items:center;border-radius:9px}.portal-metric>span svg{width:18px;height:18px}.portal-metric>div{display:grid;min-width:0}.portal-metric strong{color:var(--portal-ink);font-size:22px;line-height:1.05;font-variant-numeric:tabular-nums}.portal-metric small{margin-top:3px;color:var(--portal-ink-3);font-size:11px}.portal-metric.tone-brand>span{color:var(--portal-brand-dark);background:var(--portal-brand-soft)}.portal-metric.tone-green>span{color:var(--portal-green);background:var(--portal-green-soft)}.portal-metric.tone-blue>span{color:var(--portal-blue);background:var(--portal-blue-soft)}.portal-metric.tone-slate>span{color:#556575;background:#eef1f4}.portal-overview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.portal-panel{min-width:0;padding:17px;border:1px solid var(--portal-border);border-radius:10px;background:var(--portal-surface);box-shadow:0 1px 2px #14223008}.portal-panel-head{display:flex;align-items:center;gap:10px;margin-bottom:13px}.portal-panel-icon,.portal-record-icon{width:34px;height:34px;flex:none;display:grid;place-items:center;border-radius:8px;background:var(--portal-brand-soft);color:var(--portal-brand-dark)}.portal-panel-icon svg,.portal-record-icon svg{width:16px;height:16px}.portal-panel-head>div{display:grid;min-width:0}.portal-panel-head span:not(.portal-panel-icon){color:var(--portal-ink-3);font-size:10.5px}.portal-panel h3{margin:1px 0 0;color:var(--portal-ink);font-size:14px;font-weight:700}.portal-panel>p{margin:0;color:var(--portal-ink-2);font-size:12.5px}.portal-feature-date{margin:-1px 0 4px;color:var(--portal-ink);font-size:18px;font-weight:700;letter-spacing:-.015em}.portal-next-panel{border-color:var(--portal-brand-line)}.portal-text-action{display:inline-flex;align-items:center;gap:5px;margin-top:13px;padding:0;border:0;background:transparent;color:var(--portal-brand);cursor:pointer;font-size:11.5px;font-weight:700}.portal-text-action svg{width:13px;height:13px}.portal-text-action:hover{color:var(--portal-brand-dark);text-decoration:underline}.portal-account-lines{display:grid;gap:9px}.portal-account-lines>div{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:start;gap:6px;color:var(--portal-ink-2);font-size:12px}.portal-account-lines svg{width:14px;height:14px;margin-top:1px;color:var(--portal-ink-3)}.portal-records{display:grid;gap:10px}.portal-record{overflow:hidden;border:1px solid var(--portal-border);border-radius:10px;background:var(--portal-surface);box-shadow:0 1px 2px #14223006}.portal-record>header{min-height:66px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 15px;border-bottom:1px solid #edf1f4;background:#fbfcfd}.portal-record-title{min-width:0;display:flex;align-items:center;gap:10px}.portal-record-title>div{min-width:0}.portal-record h3{margin:0 0 2px;overflow:hidden;color:var(--portal-ink);font-size:14px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.portal-record-title p{margin:0;color:var(--portal-ink-3);font-size:10.5px}.portal-record-body{padding:14px 15px 15px}.portal-record dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 22px;margin:0}.portal-record dl>div{min-width:0;display:grid;gap:2px}.portal-record dt{color:var(--portal-ink-3);font-size:10.5px;font-weight:500}.portal-record dd{min-width:0;margin:0;overflow-wrap:anywhere;color:var(--portal-ink);font-size:12.5px;font-weight:600}.portal-record-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:14px;padding-top:12px;border-top:1px solid #edf1f4}.portal-record-actions a{height:30px;display:inline-flex;align-items:center;gap:6px;padding:0 9px;border:1px solid var(--portal-border-strong);border-radius:6px;background:#fff;color:var(--portal-ink-2);text-decoration:none;font-size:11.5px;font-weight:650}.portal-record-actions a:hover{border-color:var(--portal-brand-line);color:var(--portal-brand-dark)}.portal-record-actions svg{width:14px;height:14px}.status{min-height:22px;display:inline-flex;align-items:center;flex:none;padding:2px 8px;border-radius:999px;background:#eef1f4;color:var(--portal-ink-2);font-size:10.5px;font-weight:700;white-space:nowrap}.status-active,.status-paid,.status-completed{color:var(--portal-green);background:var(--portal-green-soft)}.status-expiring_soon,.status-due,.status-renewal_due,.status-service_due,.status-partially_paid{color:var(--portal-warn);background:var(--portal-warn-soft)}.status-overdue,.status-failed,.status-expired,.status-refunded,.status-partially_refunded{color:var(--portal-danger);background:var(--portal-danger-soft)}.status-scheduled,.status-upcoming,.status-pending,.status-processing,.status-dispatched,.status-en_route,.status-in_progress{color:var(--portal-blue);background:var(--portal-blue-soft)}.portal-empty,.portal-loading{padding:34px 20px;border:1px dashed var(--portal-border-strong);border-radius:10px;background:var(--portal-surface);color:var(--portal-ink-3);text-align:center;font-size:12.5px}.portal-loading{display:flex;justify-content:center;align-items:center;gap:8px}.portal-loading-page{min-height:180px;margin-top:30px}.spin{animation:portal-spin .9s linear infinite}@keyframes portal-spin{to{transform:rotate(360deg)}}@media (max-width: 1040px){.portal-hero{grid-template-columns:1fr}.portal-nav{grid-template-columns:repeat(3,minmax(0,1fr))}.portal-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 760px){.portal-header-inner{min-height:58px;padding:0 14px}.portal-layout{padding:16px 14px 38px}.portal-header-actions{gap:6px}.portal-refresh-btn span,.portal-customer>div{display:none}.portal-refresh-btn{width:34px;padding:0}.portal-customer button span{display:none}.portal-customer button{width:34px;padding:0}.portal-hero{padding:20px;border-radius:11px}.portal-hero-summary{grid-template-columns:1fr}.portal-hero-summary>div+div{border-left:0;border-top:1px solid var(--portal-brand-line)}.portal-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-overview-grid{grid-template-columns:1fr}.portal-record dl{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 520px){.portal-auth-card{padding:22px}.portal-brand-header small{display:none}.portal-hero h1{font-size:25px}.portal-nav button{height:46px;justify-content:flex-start}.portal-metrics{grid-template-columns:1fr}.portal-section-head{align-items:flex-start}.portal-record>header{align-items:flex-start}.portal-record dl{grid-template-columns:1fr}}@media (prefers-reduced-motion: reduce){.portal-auth *,.portal-shell *{animation:none!important;transition:none!important}}
