:root{--ink:#102033;--ink-soft:#24364c;--muted:#718096;--muted-2:#92a0af;--line:#e6ebef;--line-strong:#d6dee5;--paper:#fff;--canvas:#f5f7f8;--nav:#101c2b;--nav-muted:#a8b4c0;--teal:#0e8177;--teal-dark:#086a62;--teal-pale:#e8f5f3;--blue:#4678d2;--blue-pale:#edf3ff;--amber:#af7413;--amber-pale:#fff6e6;--red:#bd4b4b;--red-pale:#fff0ef;--green:#278568;--green-pale:#eaf6f0;--shadow:0 16px 42px rgba(28,47,66,.07);--radius:16px;--radius-sm:11px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);font-synthesis:none;text-rendering:optimizeLegibility}
*{box-sizing:border-box}html{min-width:320px;background:var(--canvas)}body{margin:0;background:var(--canvas);font-size:14px;line-height:1.45}button,input,select,textarea{font:inherit}button{cursor:pointer}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.icon-library{position:absolute;width:0;height:0;overflow:hidden}
.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:258px;background:var(--nav);color:#fff;display:flex;flex-direction:column;padding:22px 15px 14px;z-index:30;overflow-y:auto}.brand-lockup{display:flex;align-items:center;gap:11px;padding:0 6px 22px;border-bottom:1px solid rgba(255,255,255,.08)}.brand-mark{width:39px;height:39px;border-radius:13px;background:linear-gradient(145deg,#1db3a0,#087c74);display:grid;place-items:center;box-shadow:0 7px 18px rgba(0,148,135,.28);font-size:24px;font-weight:600}.brand-mark span{line-height:1;margin-top:-2px}.brand-copy{display:flex;flex-direction:column;gap:2px}.brand-copy strong{font-size:14px;letter-spacing:.09em}.brand-copy span{color:#8fa0b2;font-size:8px;letter-spacing:.15em;font-weight:700}.sidebar-close{display:none!important;margin-left:auto!important}.workspace-switch{margin:20px 2px 26px;padding:11px 10px;background:rgba(255,255,255,.065);border:1px solid rgba(255,255,255,.07);border-radius:13px;display:flex;align-items:center;gap:9px}.workspace-avatar{width:36px;height:36px;background:#1a766f;color:#e7fffb;border-radius:10px;display:grid;place-items:center;font-size:11px;font-weight:800;flex:none}.workspace-copy{display:flex;flex-direction:column;min-width:0;gap:1px}.workspace-copy span{color:#90a2b3;font-size:8px;font-weight:800;letter-spacing:.12em}.workspace-copy strong{font-size:11px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.workspace-copy small{color:#a6b2bd;font-size:10px}.chevron{color:#96a5b5;font-size:17px;margin-left:auto;line-height:1}.nav-caption{padding:0 12px 8px;font-size:9px;letter-spacing:.15em;color:#8293a3;font-weight:800}.nav-caption-spaced{margin-top:25px}.main-nav{display:grid;gap:4px}.nav-link{width:100%;height:43px;border:0;background:transparent;border-radius:10px;color:var(--nav-muted);display:flex;align-items:center;gap:12px;padding:0 12px;text-align:left;font-size:12px;font-weight:600;transition:background .15s,color .15s}.nav-link svg{width:17px;height:17px;opacity:.92}.nav-link:hover{background:rgba(255,255,255,.07);color:#fff}.nav-link.active{background:#183541;color:#e6fffb;box-shadow:inset 3px 0 #20b5a1}.nav-link.active svg{color:#60d1c0}.nav-count{margin-left:auto;color:#a5b3c1;font-size:10px}.nav-dot{width:6px;height:6px;border-radius:100%;background:#e2b251;margin-left:auto;box-shadow:0 0 0 3px rgba(226,178,81,.12)}.sidebar-bottom{margin-top:auto;padding-top:25px}.support-card{padding:12px 10px;display:flex;align-items:center;gap:9px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.06);border-radius:12px;color:#d4dfe8}.support-icon{width:30px;height:30px;background:rgba(46,178,161,.13);color:#75dacb;border-radius:9px;display:grid;place-items:center;flex:none}.support-icon svg{width:16px;height:16px}.support-card>div:nth-child(2){display:flex;flex-direction:column;gap:2px}.support-card strong{font-size:10px}.support-card span{font-size:9px;color:#9babb9}.support-arrow{width:15px;height:15px;margin-left:auto;color:#8292a2}.sidebar-user{margin-top:14px;padding:14px 2px 0;border-top:1px solid rgba(255,255,255,.08);display:flex;align-items:center;gap:9px}.user-avatar{width:34px;height:34px;border-radius:11px;background:#d9eeeb;color:#116e68;display:grid;place-items:center;font-weight:800;font-size:10px;flex:none}.user-copy{display:flex;flex-direction:column;gap:2px}.user-copy strong{font-size:10px}.user-copy span{font-size:9px;color:#96a5b3}.icon-btn{border:0;background:transparent;color:inherit;display:inline-grid;place-items:center;padding:0;border-radius:9px;width:36px;height:36px}.sidebar-user .icon-btn{margin-left:auto;color:#8fa0ae}.icon-btn:hover{background:rgba(16,32,51,.06)}.sidebar-user .icon-btn:hover{background:rgba(255,255,255,.08)}
.main-area{margin-left:258px;min-height:100vh}.topbar{height:72px;background:rgba(255,255,255,.93);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 34px;position:sticky;top:0;z-index:20;backdrop-filter:blur(14px)}.topbar-left,.topbar-right{display:flex;align-items:center;gap:17px}.breadcrumbs{display:flex;align-items:center;gap:9px;font-size:11px;color:#8b98a6}.breadcrumbs i{font-style:normal;color:#c0c8d0}.breadcrumbs strong{color:#35455a;font-weight:700}.topbar-right{gap:15px}.global-search{height:37px;width:252px;background:#f7f9fa;border:1px solid #e8edf1;border-radius:10px;display:flex;align-items:center;gap:8px;padding:0 10px;position:relative;color:#8b99a7}.global-search svg{width:16px;height:16px;flex:none}.global-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;font-size:11px;color:var(--ink)}.global-search input::placeholder{color:#9aa5b1}.global-search kbd{white-space:nowrap;border:1px solid #e1e6ea;border-radius:5px;background:white;padding:2px 5px;font-size:8px;color:#93a0ae}.notification-btn{position:relative;color:#526477}.notification-btn svg{width:18px;height:18px}.notification-btn span{position:absolute;right:7px;top:7px;width:6px;height:6px;border-radius:50%;background:#e09e47;border:1px solid white}.topbar-divider{height:27px;width:1px;background:#e8ecef}.topbar-profile{display:flex;align-items:center;gap:9px}.user-avatar.small{width:31px;height:31px;border-radius:10px;font-size:9px}.profile-copy{display:flex;flex-direction:column;gap:1px}.profile-copy strong{font-size:10px;color:#34465a}.profile-copy span{font-size:9px;color:#8e9aa7}.menu-toggle{display:none;color:#526477}.mobile-backdrop{display:none}
.page-container{max-width:1450px;margin:0 auto;padding:20px 34px 18px}.prototype-banner{min-height:34px;border:1px solid #dcebe8;background:#f2fbf9;color:#526f70;border-radius:9px;display:flex;align-items:center;gap:9px;padding:6px 11px;font-size:10px;margin-bottom:23px}.prototype-banner strong{font-size:9px;letter-spacing:.07em;color:#16756d}.prototype-banner>span:nth-of-type(2){color:#758a8b}.prototype-banner button{margin-left:auto;border:1px solid #d2e4e1;background:#fff;color:#6f8988;width:20px;height:20px;border-radius:50%;font-weight:700;font-size:10px}.prototype-pulse{width:7px;height:7px;border-radius:50%;background:#20a08e;box-shadow:0 0 0 3px #d9f1ec;flex:none}.page-footer{margin-top:35px;padding:14px 0 2px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;color:#9ba6b1;font-size:9px}.page-header{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:4px 0 22px}.eyebrow{color:#7b8a99;text-transform:uppercase;letter-spacing:.12em;font-size:9px;font-weight:800;display:flex;align-items:center;gap:7px}.eyebrow-dot{width:6px;height:6px;background:#0e9b8d;border-radius:50%}.page-title{font-size:26px;line-height:1.15;letter-spacing:-.035em;margin:7px 0 5px;color:#13243a;font-weight:750}.page-subtitle{font-size:11px;color:#7b8795;margin:0}.header-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.btn{border:1px solid transparent;border-radius:9px;min-height:36px;padding:0 13px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:10px;font-weight:700;transition:.15s;white-space:nowrap}.btn svg{width:15px;height:15px}.btn-primary{color:#fff;background:var(--teal);box-shadow:0 4px 9px rgba(14,129,119,.12)}.btn-primary:hover{background:var(--teal-dark);transform:translateY(-1px)}.btn-secondary{background:#fff;color:#42556a;border-color:#e2e7ec}.btn-secondary:hover{border-color:#c5d1d9;background:#fbfcfd}.btn-quiet{background:transparent;color:#5d6e7f;border-color:transparent}.btn-quiet:hover{background:#f0f4f5}.btn-danger{color:#a64141;background:#fff4f3;border-color:#f2dbd9}.btn-small{min-height:29px;padding:0 10px;font-size:9px;border-radius:8px}.btn:disabled{opacity:.45;cursor:not-allowed;transform:none}.currency-select{border:1px solid #e2e7ec;background:#fff;border-radius:9px;padding:0 30px 0 10px;height:36px;color:#546477;font-size:10px;font-weight:700;outline:none}
.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:16px}.metric-card{background:#fff;border:1px solid #e9edf0;border-radius:14px;padding:17px 18px;min-height:117px;box-shadow:0 3px 10px rgba(24,49,66,.018);position:relative;overflow:hidden}.metric-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.metric-label{color:#718092;font-size:10px;font-weight:600}.metric-icon{width:29px;height:29px;border-radius:9px;display:grid;place-items:center;color:#187f76;background:#e8f5f3}.metric-icon svg{width:15px;height:15px}.metric-icon.blue{color:#527fd1;background:#edf3ff}.metric-icon.amber{color:#b27d22;background:#fff5e5}.metric-icon.purple{color:#7b68c1;background:#f2efff}.metric-value{font-size:24px;letter-spacing:-.04em;font-weight:750;margin-top:8px;line-height:1.1;color:#172b40}.metric-foot{font-size:9px;color:#84919f;margin-top:7px;display:flex;align-items:center;gap:5px}.trend-up{color:#208368;font-weight:700}.trend-warn{color:#a7751b;font-weight:700}.metric-spark{position:absolute;right:18px;bottom:13px;width:64px;height:25px;opacity:.85}.metric-spark svg{width:100%;height:100%;stroke:#50b3a7;stroke-width:2.3}.metric-spark.blue svg{stroke:#7193d6}.metric-spark.amber svg{stroke:#d2aa5b}
.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(285px,.9fr);gap:15px;margin-bottom:15px}.panel{background:#fff;border:1px solid #e8edf0;border-radius:14px;box-shadow:0 3px 10px rgba(24,49,66,.018);min-width:0}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 18px 12px}.panel-heading{margin:0;font-size:12px;font-weight:750;color:#26384d}.panel-description{margin:3px 0 0;font-size:9px;color:#8693a0}.panel-body{padding:0 18px 17px}.panel-action{border:0;background:transparent;color:#718193;font-size:9px;font-weight:700;display:inline-flex;gap:5px;align-items:center}.panel-action:hover{color:var(--teal)}.panel-action svg{width:13px;height:13px}.activity-chart{height:178px;display:flex;align-items:stretch;gap:13px;padding:16px 3px 0;border-bottom:1px solid #edf0f2;position:relative}.chart-y-labels{display:flex;flex-direction:column;justify-content:space-between;padding:0 0 2px;color:#a5b0ba;font-size:8px;width:26px}.chart-bars{flex:1;display:grid;grid-template-columns:repeat(7,1fr);gap:13px;align-items:end;position:relative;background:repeating-linear-gradient(to bottom,transparent 0,transparent 41px,#eef1f3 42px,#eef1f3 43px)}.chart-day{height:100%;display:flex;align-items:flex-end;justify-content:center;gap:4px;position:relative}.chart-bar{width:9px;border-radius:4px 4px 1px 1px;background:#cfe6e2;min-height:8px;transition:height .25s}.chart-bar.strong{background:#168b80}.chart-bar.alt{background:#9ecfc8}.chart-labels{display:grid;grid-template-columns:repeat(7,1fr);gap:13px;padding:7px 0 0 39px;color:#9aa5af;font-size:8px;text-align:center}.chart-legend{display:flex;align-items:center;gap:14px;margin-top:13px;color:#82909c;font-size:8px}.legend-dot{width:7px;height:7px;border-radius:2px;background:#168b80;display:inline-block;margin-right:5px}.legend-dot.light{background:#cfe6e2}.chart-legend span{display:inline-flex;align-items:center}.currency-inline{display:flex;align-items:center;gap:7px;color:#8794a1;font-size:9px}.currency-inline select{border:0;background:transparent;color:#475a6e;font-size:9px;font-weight:700;outline:0}
.todo-list{display:grid;gap:3px}.todo-row{display:flex;align-items:center;gap:10px;padding:10px 1px;border-bottom:1px solid #f0f2f4}.todo-row:last-child{border-bottom:0}.todo-icon{width:29px;height:29px;border-radius:9px;display:grid;place-items:center;flex:none;background:#edf6f5;color:#238b81}.todo-icon svg{width:14px;height:14px}.todo-icon.warn{color:#b27b1c;background:#fff5e4}.todo-icon.blue{color:#557fce;background:#edf3ff}.todo-copy{display:flex;flex-direction:column;min-width:0;gap:2px;flex:1}.todo-copy strong{font-size:10px;color:#3b4b5f;font-weight:700}.todo-copy span{font-size:8px;color:#8a97a3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.todo-time{font-size:8px;color:#96a2ad;white-space:nowrap}.token-banner{border-radius:13px;background:linear-gradient(110deg,#123c48,#167a72);padding:17px 19px;color:white;display:flex;justify-content:space-between;gap:18px;align-items:center;position:relative;overflow:hidden;margin-bottom:15px}.token-banner:after{content:"";position:absolute;width:200px;height:200px;border-radius:50%;right:15%;top:-132px;border:1px solid rgba(255,255,255,.11);box-shadow:0 0 0 25px rgba(255,255,255,.035),0 0 0 51px rgba(255,255,255,.025)}.token-banner-copy{position:relative;z-index:1}.token-banner .eyebrow{color:#b3d6d3;font-size:8px}.token-banner h2{margin:6px 0 4px;font-size:17px;letter-spacing:-.02em}.token-banner p{margin:0;color:#c0dedd;font-size:9px}.token-banner .btn{position:relative;z-index:1;background:#fff;color:#166f68;border:0}.token-banner .token-count{font-size:24px;font-weight:800;letter-spacing:-.04em}.token-banner .token-count small{font-size:9px;font-weight:600;letter-spacing:0;color:#c0dedd;margin-left:4px}
.content-grid{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:15px;align-items:start}.table-panel{overflow:hidden}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:650px}th{padding:10px 15px;text-align:left;background:#fafbfc;color:#84919e;text-transform:uppercase;font-size:8px;letter-spacing:.09em;font-weight:800;border-top:1px solid #eff2f4;border-bottom:1px solid #edf0f2;white-space:nowrap}td{padding:12px 15px;border-bottom:1px solid #f0f2f4;color:#46586c;font-size:10px;vertical-align:middle}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fbfcfc}.person-cell{display:flex;align-items:center;gap:9px;min-width:155px}.person-avatar{width:31px;height:31px;border-radius:10px;background:#e8f1f3;color:#287b7d;display:grid;place-items:center;font-size:9px;font-weight:800;flex:none}.person-avatar.pink{background:#f8eaea;color:#b05b6d}.person-avatar.lilac{background:#eeeafd;color:#7366aa}.person-avatar.sand{background:#f7f0e3;color:#a47a36}.person-avatar.mint{background:#e7f4eb;color:#488965}.person-detail{display:flex;flex-direction:column;gap:2px}.person-detail strong{font-size:10px;color:#33475c;font-weight:700}.person-detail span{font-size:8px;color:#929da8}.mono{font-variant-numeric:tabular-nums;font-feature-settings:"tnum";color:#778696;font-size:9px}.status{display:inline-flex;align-items:center;gap:5px;border-radius:20px;padding:4px 8px;font-size:8px;font-weight:700;white-space:nowrap}.status:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}.status.green{background:#eaf6f0;color:#268565}.status.amber{background:#fff6e7;color:#aa7418}.status.red{background:#fff0ef;color:#b84949}.status.blue{background:#eef3ff;color:#5179ca}.status.gray{background:#f0f3f5;color:#71808d}.table-link{background:transparent;border:0;padding:0;color:#2b705f;font-weight:700;text-align:left}.table-link:hover{text-decoration:underline}.table-footer{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border-top:1px solid #edf0f2;color:#8e9aa5;font-size:9px}.page-toolbar{display:flex;align-items:center;gap:9px;margin:0 0 13px}.toolbar-search{height:34px;border:1px solid #e1e7eb;background:#fff;border-radius:9px;display:flex;align-items:center;gap:7px;padding:0 10px;min-width:210px;color:#8c99a6}.toolbar-search svg{width:14px;height:14px}.toolbar-search input{border:0;outline:0;min-width:0;font-size:10px;color:var(--ink);background:transparent}.toolbar-search input::placeholder{color:#a0aab3}.filter-select{height:34px;border:1px solid #e1e7eb;background:#fff;border-radius:9px;padding:0 28px 0 10px;color:#718092;font-size:9px;outline:0}.toolbar-spacer{flex:1}.section-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.small-stat{background:#fff;border:1px solid #e8edf0;border-radius:12px;padding:15px}.small-stat-label{color:#7d8b99;font-size:9px}.small-stat-value{font-size:20px;font-weight:750;margin-top:5px;letter-spacing:-.03em}.small-stat-note{font-size:8px;color:#8b98a4;margin-top:3px}.card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.encounter-card{background:#fff;border:1px solid #e5ebee;border-radius:13px;padding:15px;box-shadow:0 3px 10px rgba(24,49,66,.018)}.encounter-top{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.encounter-code{font-size:8px;color:#93a0ac;letter-spacing:.07em;font-weight:800}.encounter-card h3{margin:8px 0 2px;font-size:12px;color:#31465b}.encounter-card .encounter-sub{font-size:9px;color:#8794a1;margin:0}.encounter-meta{display:flex;gap:12px;flex-wrap:wrap;color:#788796;font-size:8px;margin:14px 0}.encounter-meta span{display:flex;align-items:center;gap:4px}.encounter-meta svg{width:12px;height:12px}.encounter-actions{border-top:1px solid #eef1f3;padding-top:11px;display:flex;align-items:center;justify-content:space-between;gap:10px}.token-note{color:#7f8d99;font-size:8px}.token-note b{color:#287f73}.alert-note{border:1px solid #f1e4c9;background:#fffbf3;color:#846324;border-radius:10px;padding:10px 12px;font-size:9px;display:flex;gap:8px;align-items:flex-start;margin-bottom:13px}.alert-note svg{width:15px;height:15px;flex:none;margin-top:1px}
.amount-cell{font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:700;color:#354a5f}.balance-cell{font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:750}.balance-cell.due{color:#bd6a26}.balance-cell.paid{color:#288469}.service-chip{display:inline-flex;align-items:center;background:#f1f5f6;color:#697a89;font-size:8px;border-radius:6px;padding:3px 7px}.currency-chip{font-size:8px;color:#566b7e;background:#eff3f5;border-radius:5px;padding:3px 5px;font-weight:800}.empty-state{padding:35px 20px;text-align:center;color:#8b98a5}.empty-state strong{display:block;font-size:12px;color:#536477;margin-bottom:5px}.empty-state span{font-size:9px}.split-panels{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(255px,.7fr);gap:14px}.platform-hero{padding:19px 21px;background:linear-gradient(120deg,#102536,#155f65);color:white;border-radius:15px;display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:15px;position:relative;overflow:hidden}.platform-hero:after{content:"";position:absolute;right:14%;top:-115px;width:220px;height:220px;border:1px solid rgba(255,255,255,.12);border-radius:50%;box-shadow:0 0 0 23px rgba(255,255,255,.025),0 0 0 48px rgba(255,255,255,.025)}.platform-hero>*{position:relative;z-index:1}.platform-hero .eyebrow{color:#a8d1cf;font-size:8px}.platform-hero h2{font-size:18px;margin:6px 0 4px;letter-spacing:-.025em}.platform-hero p{margin:0;color:#c0d4d7;font-size:9px}.platform-token-total{text-align:right}.platform-token-total strong{display:block;font-size:27px;letter-spacing:-.04em}.platform-token-total span{font-size:8px;color:#b5cbce}.price-editor{display:grid;gap:12px}.price-row{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #edf0f2;border-radius:10px}.currency-badge{width:34px;height:34px;border-radius:10px;background:#edf6f5;color:#217a72;display:grid;place-items:center;font-size:9px;font-weight:800;flex:none}.price-info{flex:1;display:flex;flex-direction:column;gap:2px}.price-info strong{font-size:10px}.price-info span{font-size:8px;color:#8996a2}.price-input-wrap{display:flex;align-items:center;gap:5px;color:#7d8b98;font-size:9px}.price-input{width:98px;height:32px;border:1px solid #dfe6ea;border-radius:8px;padding:0 8px;text-align:right;color:#34485c;font-size:10px;font-weight:700;outline:0}.price-input:focus{border-color:#54a89f;box-shadow:0 0 0 3px #e6f5f2}.ledger-list{display:grid}.ledger-row{padding:10px 0;border-bottom:1px solid #f0f2f4;display:flex;gap:9px;align-items:center}.ledger-row:last-child{border-bottom:0}.ledger-mark{width:28px;height:28px;border-radius:9px;background:#eaf6f0;color:#288565;display:grid;place-items:center;font-size:14px;font-weight:700;flex:none}.ledger-mark.debit{background:#fff2ed;color:#b7663b}.ledger-copy{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}.ledger-copy strong{font-size:9px;color:#415267}.ledger-copy span{font-size:8px;color:#8a97a2}.ledger-units{font-size:10px;font-weight:800;color:#288565;white-space:nowrap}.ledger-units.debit{color:#b7663b}.tenant-card{border:1px solid #e8edf0;background:#fff;border-radius:12px;padding:13px;display:flex;align-items:center;gap:11px}.tenant-card+.tenant-card{margin-top:8px}.tenant-logo{width:37px;height:37px;background:#e8f3f4;color:#367b83;border-radius:11px;display:grid;place-items:center;font-size:10px;font-weight:800;flex:none}.tenant-copy{flex:1;min-width:0}.tenant-copy strong{display:block;font-size:10px;color:#34495d}.tenant-copy span{display:block;font-size:8px;color:#8794a0;margin-top:3px}.tenant-balance{text-align:right}.tenant-balance strong{display:block;font-size:10px}.tenant-balance span{font-size:8px;color:#8d99a5}.security-note{background:#f8fbfc;border:1px solid #e7edf0;border-radius:11px;padding:13px;color:#748392;font-size:9px;line-height:1.55}.security-note strong{color:#40566a}.role-list{display:grid;gap:7px}.role-row{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid #edf0f2;border-radius:10px}.role-symbol{width:29px;height:29px;border-radius:9px;background:#eef3ff;color:#5279c7;display:grid;place-items:center;font-size:9px;font-weight:800;flex:none}.role-copy{flex:1}.role-copy strong{display:block;font-size:9px;color:#3c5065}.role-copy span{display:block;font-size:8px;color:#8b97a3;margin-top:2px}.role-members{font-size:9px;color:#6e7e8e;font-weight:700;white-space:nowrap}
.modal-backdrop{position:fixed;inset:0;background:rgba(9,22,35,.46);z-index:60;display:grid;place-items:center;padding:20px;backdrop-filter:blur(3px)}.modal{width:min(100%,510px);max-height:min(90vh,760px);overflow:auto;background:#fff;border-radius:17px;box-shadow:0 25px 80px rgba(8,22,35,.25);animation:modal-in .17s ease-out}.modal.wide{width:min(100%,680px)}@keyframes modal-in{from{opacity:.4;transform:translateY(8px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}.modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding:20px 22px 13px;border-bottom:1px solid #edf0f2}.modal-head h2{font-size:16px;margin:0;color:#1b3045;letter-spacing:-.02em}.modal-head p{font-size:9px;color:#8895a1;margin:4px 0 0}.modal-close{border:0;background:#f4f6f7;color:#82909d;border-radius:8px;width:29px;height:29px;display:grid;place-items:center}.modal-close svg{width:14px;height:14px}.modal-body{padding:18px 22px 21px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.form-field{display:flex;flex-direction:column;gap:5px;min-width:0}.form-field.full{grid-column:1/-1}.form-field label{font-size:9px;color:#657587;font-weight:700}.form-field input,.form-field select,.form-field textarea{width:100%;min-height:37px;border:1px solid #dfe6ea;background:#fff;border-radius:8px;padding:8px 10px;color:#30455a;font-size:10px;outline:0}.form-field textarea{min-height:70px;resize:vertical}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:#67afa6;box-shadow:0 0 0 3px #e8f6f3}.form-hint{font-size:8px;color:#8c99a5;line-height:1.45}.modal-callout{padding:10px 11px;background:#f1f8f7;border:1px solid #e0efed;color:#547773;border-radius:9px;font-size:9px;line-height:1.5;margin:12px 0 0}.modal-callout strong{color:#287d74}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:17px}.modal-summary{border:1px solid #ebeff1;border-radius:10px;padding:11px 12px;display:flex;justify-content:space-between;gap:15px;margin:0 0 14px;font-size:9px;color:#788694}.modal-summary strong{color:#35485d}.toast-region{position:fixed;right:22px;bottom:22px;z-index:80;display:grid;gap:9px}.toast{min-width:250px;max-width:390px;padding:12px 14px;background:#142d3a;color:#f3fffd;border-radius:11px;box-shadow:0 12px 35px rgba(15,35,47,.2);display:flex;align-items:flex-start;gap:9px;font-size:10px;animation:toast-in .2s ease-out}.toast-mark{width:17px;height:17px;border-radius:50%;background:#38a58e;color:white;display:grid;place-items:center;flex:none;font-size:10px;font-weight:800}.toast.error .toast-mark{background:#c45d55}.toast strong{display:block;font-size:10px}.toast span{display:block;color:#b9cece;margin-top:2px;font-size:9px}.hidden{display:none!important}.search-popover{position:absolute;top:43px;right:0;width:min(370px,calc(100vw - 45px));background:#fff;border:1px solid #e7edf0;border-radius:12px;box-shadow:0 16px 40px rgba(20,39,56,.14);padding:8px;z-index:40}.search-popover-title{padding:6px 8px;color:#98a3ad;font-size:8px;letter-spacing:.08em;font-weight:800;text-transform:uppercase}.search-result{width:100%;border:0;background:transparent;border-radius:8px;padding:9px;display:flex;align-items:center;gap:9px;text-align:left}.search-result:hover{background:#f4f8f8}.search-result-icon{width:28px;height:28px;border-radius:8px;background:#eef6f5;color:#39877e;display:grid;place-items:center;flex:none}.search-result-icon svg{width:14px;height:14px}.search-result-copy{display:flex;flex-direction:column;gap:2px}.search-result-copy strong{font-size:9px;color:#40546a}.search-result-copy span{font-size:8px;color:#8794a0}.search-empty{padding:16px 10px;color:#8e9aa5;font-size:9px;text-align:center}
@media(max-width:1160px){.sidebar{width:235px}.main-area{margin-left:235px}.topbar{padding:0 24px}.page-container{padding-left:24px;padding-right:24px}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:minmax(0,1.35fr) minmax(260px,.85fr)}.global-search{width:220px}}
@media(max-width:850px){.sidebar{transform:translateX(-102%);transition:transform .23s ease;width:270px}.sidebar.open{transform:translateX(0)}.sidebar-close{display:inline-grid!important}.main-area{margin-left:0}.menu-toggle{display:inline-grid}.mobile-backdrop.show{display:block;position:fixed;inset:0;background:rgba(6,15,25,.4);z-index:25}.topbar{height:64px;padding:0 17px}.topbar-right{gap:8px}.profile-copy,.topbar-profile>.chevron{display:none}.topbar-divider{display:none}.global-search{width:min(230px,38vw)}.page-container{padding:15px 17px}.dashboard-grid{grid-template-columns:1fr}.content-grid,.split-panels{grid-template-columns:1fr}.page-footer{flex-wrap:wrap}.page-footer span:last-child{display:none}}
@media(max-width:560px){.topbar{padding:0 11px}.topbar-left{gap:7px}.breadcrumbs{font-size:9px;gap:5px}.global-search{width:38px;justify-content:center;padding:0;border-color:transparent;background:transparent}.global-search input,.global-search kbd{display:none}.global-search.open{position:absolute;left:55px;right:105px;width:auto;background:#f7f9fa;border-color:#e8edf1;padding:0 9px;z-index:3}.global-search.open input{display:block}.global-search.open kbd{display:none}.topbar-right{gap:4px}.page-container{padding:12px 12px}.prototype-banner{font-size:8px;gap:6px;padding:6px 8px;margin-bottom:18px}.prototype-banner>span:nth-of-type(2){max-width:46%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.page-header{align-items:flex-start;flex-direction:column;gap:13px;margin-bottom:16px}.page-title{font-size:23px}.header-actions{width:100%}.header-actions .btn{flex:1}.metric-grid{gap:8px}.metric-card{min-height:106px;padding:13px 12px}.metric-value{font-size:21px}.metric-foot{font-size:8px}.metric-spark{right:10px;bottom:11px;width:47px}.panel-header{padding:14px 13px 10px}.panel-body{padding:0 13px 14px}.activity-chart{height:154px;gap:7px}.chart-bars,.chart-labels{gap:7px}.chart-bar{width:7px}.chart-labels{padding-left:32px}.chart-y-labels{width:20px}.token-banner{align-items:flex-start;flex-direction:column;padding:15px}.token-banner .btn{width:100%}.page-toolbar{flex-wrap:wrap}.toolbar-search{min-width:0;flex:1}.toolbar-spacer{display:none}.filter-select{flex:1;min-width:110px}.card-grid,.section-grid{grid-template-columns:1fr}.platform-hero{align-items:flex-start;flex-direction:column}.platform-token-total{text-align:left}.platform-token-total strong{font-size:22px}.price-row{flex-wrap:wrap}.price-input-wrap{margin-left:auto}.page-footer{font-size:8px;gap:7px}.page-footer span:nth-child(2){display:none}.modal-backdrop{padding:10px}.modal{border-radius:14px}.modal-head{padding:16px 16px 11px}.modal-body{padding:15px 16px 17px}.form-grid{grid-template-columns:1fr;gap:10px}.form-field.full{grid-column:auto}.toast-region{right:10px;left:10px;bottom:10px}.toast{min-width:0;max-width:none}.tenant-balance{max-width:100px}.search-popover{right:-60px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
