:root{--topbar-height:72px}
@media screen{
.app-shell .account-cards{gap:14px;margin-bottom:18px}
.app-shell .account-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:9px 14px;padding:14px 18px;border-radius:14px}
.app-shell .account-card-top{grid-column:1/-1;gap:8px;min-height:30px;font-size:.75rem}
.app-shell .account-icon{width:30px;height:30px;border-radius:9px}
.app-shell .account-icon>.icon{width:18px;height:18px}
.app-shell .account-card h3{margin:0;line-height:1.8;font-size:.9375rem;overflow-wrap:anywhere;color:var(--text);min-width:0}
.app-shell .account-type{font-size:.8125rem;line-height:1.8;color:var(--muted)}
.app-shell .account-card>strong{font-size:1.6rem;line-height:1.4;white-space:nowrap}
.app-shell .account-selection{margin-inline-start:auto;display:grid;place-items:center;width:30px;height:30px;flex-shrink:0;border-radius:50%;background:linear-gradient(150deg,#349768,#1b6b47);color:#fff;border:1px solid #20774f;box-shadow:0 0 0 3px #ffffffb3,0 3px 8px #174d3826,inset 0 1px 0 #ffffff66}
.app-shell .account-selection>.icon{width:20px;height:20px;stroke-width:2.8}
html[data-theme="dark"] .app-shell .account-selection{box-shadow:0 0 0 3px #315940,0 3px 8px #0003;border-color:#6eb68b}
@media(max-width:760px){.app-shell .account-card{flex-basis:260px;padding:13px 15px}.app-shell .account-cards{gap:12px}.app-shell .account-card h3{font-size:.875rem}.app-shell .account-card>strong{font-size:1.4rem}}
}
.app-shell .subscriptions-panel>.panel-heading{padding:11px 20px 7px;gap:10px}
.app-shell .subscriptions-panel>.panel-heading .btn{min-height:32px;padding:4px 9px}
.app-shell .subscription-toolbar{display:grid;grid-template-columns:minmax(300px,1fr) minmax(220px,360px) minmax(455px,1fr);align-items:center;gap:14px;padding:6px 20px 11px;border-bottom:1px solid var(--border)}
.app-shell .subscription-toolbar>.segmented{justify-self:start;max-width:100%;padding:3px}
.app-shell .subscription-toolbar>.segmented button{padding:5px 10px;min-height:32px}
.app-shell .subscription-toolbar>.search-input{width:100%;min-width:0;max-width:360px;justify-self:center}
.app-shell .subscription-toolbar .search-input input{height:38px}
.app-shell .subscription-toolbar .search-input>.icon{top:11px}
.app-shell .subscription-toolbar>.range-filters{display:flex;align-items:center;justify-content:flex-end;justify-self:end;flex-wrap:nowrap;gap:9px;margin:0;min-width:0}
.app-shell .subscription-toolbar>.range-filters label{display:flex;align-items:center;gap:7px;flex:0 1 auto;white-space:nowrap;font-size:.8125rem;min-width:0}
.app-shell .subscription-toolbar>.range-filters input{width:151px;min-width:0;max-width:151px;height:38px;min-height:38px;padding:6px 9px;font-size:.8125rem}
.app-shell .subscription-toolbar>.range-filters .btn{min-height:38px;padding:6px 12px;font-size:.8125rem;flex-shrink:0}
@media(max-width:1200px){.app-shell .subscription-toolbar{grid-template-columns:minmax(0,1fr) auto;gap:8px 14px}.app-shell .subscription-toolbar>.search-input{grid-column:1/-1;grid-row:2;max-width:none}.app-shell .subscription-toolbar>.range-filters{grid-column:2;grid-row:1}}
@media(max-width:850px){.app-shell .subscription-toolbar{grid-template-columns:minmax(0,1fr);gap:9px;padding:6px 14px 11px}.app-shell .subscription-toolbar>.segmented{justify-self:stretch;justify-content:space-between}.app-shell .subscription-toolbar>.search-input{grid-column:1;grid-row:2}.app-shell .subscription-toolbar>.range-filters{grid-column:1;grid-row:3;justify-self:stretch;justify-content:space-between;gap:8px}.app-shell .subscription-toolbar>.range-filters label{flex:1 1 0;min-width:0}.app-shell .subscription-toolbar>.range-filters input{width:100%;max-width:none;min-width:0}.app-shell .subscriptions-panel>.panel-heading{padding:11px 14px 7px}.app-shell .subscriptions-panel>.panel-heading>div:first-child{min-width:0}.app-shell .subscriptions-panel>.panel-heading h2{font-size:1rem}}
@media(max-width:400px){.app-shell .subscription-toolbar>.range-filters{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}.app-shell .subscription-toolbar>.range-filters label{grid-column:1;display:grid;grid-template-columns:22px minmax(0,1fr)}.app-shell .subscription-toolbar>.range-filters .btn{grid-column:2;grid-row:1/3}.app-shell .subscription-toolbar>.segmented button{font-size:.75rem;padding-inline:8px}}
@media print{.app-shell .subscription-toolbar{display:none!important}}
.app-shell{padding-top:var(--topbar-height)}
.app-shell>.topbar{position:fixed;inset:0 0 auto;z-index:60;width:100%;height:var(--topbar-height);padding:0 24px;background:linear-gradient(105deg,#e0f0e6,#edf7f1 68%,#e5f3eb);border-bottom:1px solid #cddfd3;box-shadow:0 4px 18px #174d3812;gap:20px}
.topbar-start{display:flex;align-items:center;gap:16px;min-width:0}
.topbar .sidebar-toggle{display:grid;width:36px;height:36px;flex-shrink:0;color:#3b7051;border:1px solid #c7dfcf;background:#ffffff70;border-radius:9px}
.topbar .sidebar-toggle:hover,.topbar .sidebar-toggle[aria-expanded="true"]{background:#d0e8d8;border-color:#b2d3be}
.topbar .topbar-brand{padding:0;gap:9px;flex-shrink:0}
.topbar-brand>img{width:41px;height:41px;border-radius:13px;box-shadow:0 3px 10px #174d3810}
.topbar-brand .brand-wordmark{width:87px;height:37px;object-fit:contain}
.topbar .topbar-brand .brand-wordmark{width:150px;height:64px}
.topbar-page{border-right:1px solid #bed6c7;margin-right:5px;padding-right:20px;font-size:.875rem;line-height:1.5;color:#456c53;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.topbar .date-pill{color:#6b8b76;font-size:.8125rem}
.topbar .user-wrap{border-color:#c9ddd0;padding-right:19px}
.topbar .avatar{background:#fff9;border:1px solid #c9dfd1;color:#387451}
.topbar .user-text small{color:#7e9b87}
.app-shell>.sidebar{top:var(--topbar-height);bottom:0;width:var(--sidebar);padding:16px 14px 0;z-index:45;transform:translateX(100%);visibility:hidden;pointer-events:none;box-shadow:none;border-left:1px solid #e1ebe4;transition:transform .2s ease,visibility .2s}
.app-shell.sidebar-open>.sidebar{transform:translateX(0);visibility:visible;pointer-events:auto}
.sidebar .org-card{margin:0 0 18px;padding:12px 10px;min-height:57px;gap:9px;border-radius:10px}
.sidebar .org-card>strong{font-size:.875rem;line-height:1.7;overflow-wrap:anywhere}
.sidebar .org-icon{width:29px;height:31px;flex-shrink:0;border-radius:8px}
.sidebar .nav-link{padding:11px 12px;gap:10px;min-height:45px}
.sidebar .nav-link.active:after{right:-14px}
.sidebar .sidebar-bottom{padding-top:20px}
.sidebar .sidebar-foot{padding-block:16px}
.app-shell>.workspace{margin-right:0;min-height:calc(100dvh - var(--topbar-height));transition:margin-right .2s ease}
.app-shell.sidebar-open>.workspace{margin-right:var(--sidebar)}
.app-shell>.sidebar-shade{display:none}
.app-shell .content{max-width:none;padding:20px 24px 16px}
.app-shell .page-head{margin-bottom:16px;gap:12px}
.app-shell .page-head h1{font-size:1.5rem;line-height:1.5}
.app-shell .page-actions{margin-top:0}
.app-shell .page-head .btn{min-height:40px;padding:8px 15px}
.app-shell .workspace-footer{margin:0 24px;padding:13px 0}
.app-shell .settings-layout{gap:16px}
.app-shell .settings-panel{min-height:0}
.app-shell .panel-heading{padding:17px 20px 15px}
.app-shell .filter-bar{padding:0 20px 14px}
.app-shell .table-meta{padding:10px 20px}
.subscription-stats{gap:12px;margin-bottom:16px}
.subscription-stats .stat-card{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:center;column-gap:12px;padding:12px 16px;border:1px solid #d4e8da;background:linear-gradient(110deg,#eef8f2,#e4f3e9);border-radius:12px;box-shadow:0 3px 12px #174d3804;min-height:82px}
.subscription-stats .stat-top{display:contents}
.subscription-stats .stat-top>span:first-child{grid-column:1;grid-row:1;max-width:none;font-size:.875rem;line-height:1.55;color:#668b73}
.subscription-stats .stat-icon{grid-column:2;grid-row:1/3;width:35px;height:35px;border-radius:10px;background:#fff9;color:#42845e;border:1px solid #d0e7d8}
.subscription-stats .stat-icon .icon{width:18px;height:18px}
.subscription-stats .stat-value{grid-column:1;grid-row:2;margin:2px 0 0;gap:6px;font-size:1.65rem;line-height:1.25;color:#245c3e;font-weight:600}
.subscription-stats .stat-value small{font-size:.6875rem;color:#7b9d87}
@media(max-width:1000px){.app-shell>.topbar{padding-inline:20px}.topbar-start{gap:13px}.topbar-page{padding-right:15px}.subscription-stats .stat-card{padding-inline:13px;column-gap:9px}.subscription-stats .stat-top>span:first-child{font-size:.8125rem}}
@media(max-width:760px){.app-shell>.topbar{padding-inline:16px;gap:12px}.app-shell.sidebar-open>.workspace{margin-right:0}.app-shell.sidebar-open>.sidebar-shade{display:block;position:fixed;inset:var(--topbar-height) 0 0;background:#0e3b2e35;backdrop-filter:blur(3px);z-index:40}.app-shell.sidebar-open>.sidebar{box-shadow:-10px 0 32px #174d3812}.app-shell .content{padding:18px 16px 14px}.app-shell .workspace-footer{margin-inline:16px}.topbar-start{gap:12px}.topbar-page{font-size:.8125rem;padding-right:13px}.topbar .topbar-tools{gap:12px}.subscription-stats{gap:10px}.subscription-stats .stat-top>span:first-child{font-size:.875rem}}
@media(max-width:620px){.topbar .date-pill{display:none}.topbar-page{display:none}.topbar .user-wrap{border:0;padding:0}.topbar-brand>img{width:37px;height:37px}.topbar-brand .brand-wordmark{width:79px;height:34px}}
@media(max-width:520px){:root{--topbar-height:64px}.app-shell>.topbar{padding-inline:14px}.topbar-start{gap:12px}.topbar .sidebar-toggle{width:34px;height:34px}.topbar .topbar-brand{gap:7px}.topbar-brand>img{width:35px;height:35px;border-radius:11px}.topbar-brand .brand-wordmark{width:76px;height:32px}.app-shell .content{padding:16px 14px 12px}.app-shell .page-head{margin-bottom:13px;align-items:center;flex-wrap:nowrap}.app-shell .page-head>div:first-child{min-width:0}.app-shell .page-head h1{font-size:1.3rem}.app-shell .page-head .page-actions{margin:0}.app-shell .page-head .btn{min-height:38px;font-size:.8125rem;padding:7px 11px}.app-shell .panel-heading{padding:15px 14px 13px;gap:9px}.app-shell .filter-bar{padding:0 14px 12px}.app-shell .table-meta{padding:9px 14px}.app-shell .workspace-footer{margin-inline:14px;padding-block:12px}.subscription-stats{margin-bottom:14px}.subscription-stats .stat-card{min-height:77px;padding:11px 12px;column-gap:8px}.subscription-stats .stat-top>span:first-child{font-size:.8125rem;line-height:1.6}.subscription-stats .stat-value{font-size:1.5rem}.subscription-stats .stat-icon{width:29px;height:29px;border-radius:8px}.subscription-stats .stat-icon .icon{width:16px;height:16px}}
@media(max-width:400px){.subscription-stats .stat-card{grid-template-columns:minmax(0,1fr)}.subscription-stats .stat-icon{display:none}.subscription-stats .stat-top>span:first-child{min-height:21px}}
@media(prefers-reduced-motion:reduce){.app-shell>.sidebar,.app-shell>.workspace{transition:none}}
@media print{.app-shell{padding-top:0}.app-shell>.topbar,.app-shell>.sidebar,.app-shell>.sidebar-shade{display:none!important}.app-shell>.workspace,.app-shell.sidebar-open>.workspace{margin:0;min-height:0}.app-shell .content{padding:0}.subscription-stats .stat-card{min-height:0;padding:9px 12px;box-shadow:none}.subscription-stats .stat-value{font-size:19px}.subscription-stats .stat-top>span:first-child{font-size:10px}.subscription-stats .stat-icon{display:none}.app-shell .page-head h1{font-size:20px}}
@media(max-width:520px){.topbar .topbar-brand .brand-wordmark{width:132px;height:57px}}
