:root{color-scheme:light;--bg:#f4f6f8;--surface:#fff;--ink:#18282c;--muted:#68777b;--line:#e3e9ec;--brand:#147d71;--soft:#e8f4ef;--warm:#fff5de;--amber:#9c6613;--red:#bf4756;--red-soft:#fcebed;--nav:#102e2d;--nav-ink:#edf7f3;--shadow:0 14px 50px #142e3212;font:14px/1.5 'Segoe UI',system-ui,sans-serif}
:root[data-theme=dark]{color-scheme:dark;--bg:#0f181d;--surface:#17252b;--ink:#ecf4f4;--muted:#acbdc3;--line:#2b3a42;--brand:#69d2bc;--soft:#233c35;--warm:#423622;--amber:#e8c075;--red:#ffadb4;--red-soft:#452b32;--nav:#0b2423;--shadow:0 14px 50px #0002}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{opacity:.6;cursor:wait}a{color:var(--brand);text-decoration:none}h1,h2,h3,p{margin:0}h1{font-size:29px;line-height:1.25;letter-spacing:-1px;font-weight:600}h2{font-size:18px;font-weight:600;letter-spacing:-.3px}h3{font-size:15px;font-weight:600}small{font-size:12px}.muted{color:var(--muted)}.eyebrow{font-size:11px;letter-spacing:1.4px;text-transform:uppercase;color:var(--muted);margin-bottom:7px}.layout{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--nav);color:var(--nav-ink);padding:29px 17px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:10px;padding:0 9px 29px;font-size:22px;font-weight:600;letter-spacing:-.7px}.brand-mark{background:#76dcc2;color:#103e33;width:35px;height:35px;border-radius:11px;display:grid;place-items:center;font-size:22px;line-height:1}.sidebar-label{color:#9ebbb4;font-size:10px;text-transform:uppercase;letter-spacing:1.8px;padding:12px 13px}.sidebar nav{display:grid;gap:5px}.nav{border:0;background:transparent;color:#c8ded8;display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:9px;text-align:left}.nav:hover{background:#ffffff0b}.nav.active{background:#d9f7eb16;color:#a4f3d9}.nav span:first-child{width:18px;text-align:center;font-size:17px}.sidebar-foot{margin-top:auto;border-top:1px solid #ffffff16;padding:22px 10px 0;display:flex;gap:10px;align-items:center}.avatar{display:grid;place-items:center;flex-shrink:0;width:37px;height:37px;border-radius:11px;background:var(--soft);color:var(--brand);font-weight:600}.sidebar-foot .avatar{background:#284a44;color:#abdfcd}.sidebar-foot small{display:block;color:#a2bfb6}.shell{min-width:0}.topbar{height:76px;padding:0 36px;background:var(--surface);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px}.topbar-left{display:flex;gap:12px;align-items:center}.topbar .divider{color:var(--line)}.top-actions{display:flex;align-items:center;gap:16px}.local{font-size:11px;color:var(--brand);background:var(--soft);border-radius:20px;padding:5px 10px;white-space:nowrap}.main{padding:32px 36px 50px;max-width:1600px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px}.page-heading p{color:var(--muted);margin-top:8px}.button{border:1px solid var(--line);border-radius:9px;padding:10px 15px;min-height:41px;background:var(--surface);color:var(--ink);display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:500;white-space:nowrap}.button.primary{background:var(--brand);border-color:var(--brand);color:var(--surface)}:root[data-theme=dark] .button.primary{color:#102c25}.button.danger{color:var(--red)}.button.small{padding:6px 11px;min-height:33px;font-size:12px}.text-button{background:none;border:0;color:var(--brand);padding:5px 0;text-align:left;font-weight:500}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.stat{border:1px solid var(--line);border-radius:13px;padding:21px;background:var(--surface);min-width:0}.stat-top{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:12px;margin-bottom:12px}.stat-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;color:var(--brand);background:var(--soft)}.stat-value{font-size:29px;letter-spacing:-1px;font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.stat-foot{font-size:11px;color:var(--muted);margin-top:5px}.two-col{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(290px,1fr);gap:20px;margin-bottom:22px}.panel{background:var(--surface);border:1px solid var(--line);border-radius:13px;overflow:hidden;margin-bottom:22px}.two-col .panel{margin-bottom:0}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:20px 22px;border-bottom:1px solid var(--line)}.panel-head small{display:block;color:var(--muted);margin-top:4px}.panel-body{padding:22px}.chart{display:flex;align-items:end;gap:20px;height:195px;padding:20px 20px 0;border-bottom:1px solid var(--line)}.chart-col{flex:1;display:flex;align-items:center;flex-direction:column;justify-content:end;gap:7px;min-width:0;height:100%}.bar{width:min(100%,40px);border-radius:6px 6px 0 0;background:var(--brand);opacity:.85;min-height:3px}.bar-value{font-size:11px;color:var(--muted);white-space:nowrap}.chart-labels{display:flex;gap:20px;padding:9px 20px 0;color:var(--muted);font-size:11px;text-align:center}.chart-labels span{flex:1}.distribution{display:grid;gap:19px}.distribution-row{display:grid;grid-template-columns:75px 1fr 22px;gap:12px;align-items:center;font-size:12px}.track{height:7px;background:var(--bg);border-radius:8px;overflow:hidden}.fill{height:100%;background:var(--brand);border-radius:8px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px}th{font-size:10px;letter-spacing:.7px;font-weight:600;text-align:left;text-transform:uppercase;color:var(--muted);background:var(--bg);padding:13px 20px;white-space:nowrap}td{padding:15px 20px;border-top:1px solid var(--line);vertical-align:middle}tbody tr:hover{background:color-mix(in srgb,var(--soft) 40%,transparent)}.company{display:flex;align-items:center;gap:11px;min-width:170px}.company .avatar{width:34px;height:34px;border-radius:9px;font-size:11px}.company strong{display:block;font-size:12px;font-weight:600}.company small{display:block;color:var(--muted);font-size:11px}.pill{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;padding:4px 8px;font-size:10px;border-radius:6px;background:var(--soft);color:var(--brand);font-weight:500}.pill.gray{background:var(--bg);color:var(--muted)}.pill.warn{background:var(--warm);color:var(--amber)}.pill.danger{background:var(--red-soft);color:var(--red)}.table-note{padding:14px 22px;font-size:11px;color:var(--muted);border-top:1px solid var(--line)}.toolbar{display:flex;gap:10px;align-items:center;margin-bottom:18px;flex-wrap:wrap}.search{flex:1;min-width:200px;max-width:380px}.input{padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);min-height:41px;width:100%;min-width:0}.toolbar select{width:auto;max-width:210px}label{display:grid;gap:6px;font-size:12px;color:var(--muted)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.full{grid-column:1/-1}.form-grid .input{color:var(--ink);font-size:14px}.form-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:22px}.notice{padding:13px 15px;background:var(--soft);color:var(--brand);border-radius:9px;font-size:12px;margin-bottom:18px}.notice.warn{background:var(--warm);color:var(--amber)}.error{color:var(--red);font-size:13px;margin:12px 0}.empty{padding:42px 24px;text-align:center;color:var(--muted)}.row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.space-between{justify-content:space-between}.detail-grid{display:grid;grid-template-columns:minmax(240px,1fr) minmax(0,2fr);gap:22px}.definition{display:grid;gap:0}.definition div{display:flex;justify-content:space-between;gap:18px;padding:13px 0;border-bottom:1px solid var(--line);font-size:12px}.definition dt{color:var(--muted)}.definition dd{margin:0;text-align:right;overflow-wrap:anywhere}.tabs{display:flex;gap:8px;border-bottom:1px solid var(--line);margin-bottom:20px}.tab{border:0;border-bottom:2px solid transparent;background:none;padding:12px 14px;color:var(--muted)}.tab.active{border-color:var(--brand);color:var(--brand)}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.plan-price{font-size:32px;letter-spacing:-1px;margin:18px 0 7px;font-weight:600}.plan-price small{font-size:12px;color:var(--muted);font-weight:400}.plan-list{list-style:none;padding:0;margin:20px 0;display:grid;gap:14px;font-size:13px}.plan-list li:before{content:'✓';color:var(--brand);margin-right:9px}.billing-box{margin:15px 0}.check-label{display:flex;align-items:center;gap:9px}.check-label input{accent-color:var(--brand);width:17px;height:17px}.footer-note{color:var(--muted);font-size:11px;margin-top:20px}.loading{padding:60px;color:var(--muted)}dialog{width:min(600px,calc(100vw - 40px));border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:16px;padding:0;box-shadow:var(--shadow);max-height:90vh}dialog::backdrop{background:#07191870;backdrop-filter:blur(3px)}.modal-head{display:flex;justify-content:space-between;gap:18px;align-items:center;border-bottom:1px solid var(--line);padding:21px 25px}.modal-body{padding:24px}.close{border:0;background:var(--bg);color:var(--ink);border-radius:7px;width:32px;height:32px;font-size:20px}#toast{position:fixed;bottom:25px;right:28px;z-index:20;padding:14px 20px;border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);border-radius:10px;max-width:420px;color:var(--brand)}.login-shell{max-width:450px;margin:8vh auto;padding:20px}.login-shell .brand{padding:0 0 25px}.login-shell h1{font-size:24px;margin-bottom:9px}.login-shell form{display:grid;gap:17px;margin-top:25px}.login-shell .panel-body{padding:30px}.business-shell{max-width:1050px;margin:auto;padding:38px}.password{font-family:ui-monospace,monospace;user-select:all;overflow-wrap:anywhere;background:var(--bg);border:1px dashed var(--line);padding:15px;border-radius:8px;font-size:17px;margin:16px 0}.mini-note{font-size:11px;color:var(--muted);margin-top:6px}[hidden]{display:none!important}@media(max-width:1100px){.layout{grid-template-columns:190px minmax(0,1fr)}.main{padding:25px}.topbar{padding:0 25px}.sidebar{padding:24px 12px}.brand{font-size:20px}.stats{gap:10px}.stat{padding:17px}.stat-value{font-size:25px}.two-col{grid-template-columns:1.5fr 1fr}.chart{gap:10px}.chart-labels{gap:10px}td,th{padding:13px 14px}}@media(max-width:850px){.layout{grid-template-columns:170px minmax(0,1fr)}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.two-col,.detail-grid{grid-template-columns:1fr}.plan-grid{grid-template-columns:1fr}.topbar .muted{display:none}.page-heading{align-items:flex-start}.main{padding:20px}.sidebar .brand{font-size:16px}.nav{padding:11px}.form-grid{gap:12px}.chart{height:170px}}@media(max-width:620px){.layout{display:block}.sidebar{position:static;height:auto;padding:14px}.sidebar nav{display:flex;overflow:auto}.nav{white-space:nowrap}.sidebar-label,.sidebar-foot{display:none}.brand{padding:0 0 12px}.topbar{padding:12px 18px;height:auto}.main{padding:18px}.top-actions{gap:8px}.page-heading{flex-wrap:wrap}.form-grid{grid-template-columns:1fr}.full{grid-column:auto}.stats{gap:10px}.stat-value{font-size:23px}.tabs{overflow:auto}.tab{white-space:nowrap}.business-shell{padding:20px}}

.legal-links{display:flex;flex-wrap:wrap;gap:12px;margin:22px 0}.legal-fields{display:grid;gap:18px;margin:22px 0}.legal-fields label,.legal-document label{display:grid;gap:8px}.legal-document{margin:20px 0}.legal-document summary{cursor:pointer;font-weight:600;margin-bottom:14px}.legal-document textarea{width:100%;resize:vertical;line-height:1.6}.legal-public{max-width:900px}.legal-copy{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75;margin:28px 0}.legal-public h1{margin:12px 0 24px}

/* Subscription periods: amounts are totals, monthly equivalents are secondary. */
:root{--discount-bg:#c33140;--discount-ink:#fff}
:root[data-theme=dark]{--discount-bg:#f5cf60;--discount-ink:#211b09}
.discount-badge{display:inline-flex;align-items:center;justify-content:center;background:var(--discount-bg);color:var(--discount-ink);border-radius:7px;padding:4px 8px;font-size:11px;font-weight:650;white-space:nowrap;letter-spacing:.1px}
.billing-plans{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));margin-top:20px;gap:14px}
.billing-plans .panel{margin:0;min-width:0}.billing-plans .billing-plan-card{padding:18px;display:flex;flex-direction:column;height:100%;min-width:0}.billing-plan-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}.billing-plans .plan-price{font-size:26px;margin:0;white-space:nowrap}.billing-plans .plan-price small{margin-left:3px}.billing-plans .billing-capacity{font-size:12px;line-height:1.6}.billing-feature{margin:8px 0 0;color:var(--muted);font-size:12px;line-height:1.6}.period-chips{display:flex;flex-wrap:wrap;gap:7px;margin:14px 0}.period-chips span{background:var(--bg);border-radius:6px;padding:5px 10px;font-size:12px;color:var(--muted);white-space:nowrap}.billing-plan-card>.button{width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.45;margin-top:auto;min-height:44px}

/* Brand-colored package cards; prices and purchase eligibility stay dynamic. */
.billing-showcase>.panel-head{background:linear-gradient(115deg,var(--surface),var(--soft));border-bottom-color:var(--line)}
.billing-showcase-intro{font-size:13px;line-height:1.8}
.billing-offer.panel{margin:0;min-width:0;position:relative;isolation:isolate;border-radius:19px;border-color:#bfdfd3;box-shadow:0 7px 20px #1169580b;transition:transform .18s,box-shadow .18s,border-color .18s}
.billing-offer-pro{background:radial-gradient(ellipse at 100% 0,#c6ece350,transparent 62%),linear-gradient(135deg,#effaf5,#fbfefd 60%,#e3f5ef)}
.billing-offer::before{content:'';position:absolute;z-index:-1;width:180px;height:180px;right:-85px;top:-100px;border:24px solid #2b9d8120;border-radius:50%;pointer-events:none}
.billing-offer.billing-offer-business{border-color:#227e6f;color:#f5fffc;background:radial-gradient(ellipse at 110% -10%,#2da68e70,transparent 65%),linear-gradient(135deg,#123e3a,#146d60 60%,#168575);box-shadow:0 9px 24px #126b6229}
.billing-offer-business::before{border-color:#d5fff51c}
.billing-offer.panel .billing-plan-card{padding:20px;position:relative;display:flex;flex-direction:column;height:100%;min-width:0}
.billing-offer .billing-plan-heading{gap:10px;margin-bottom:18px;align-items:center}
.billing-plan-kicker{display:block;margin-bottom:5px;font-size:10px;letter-spacing:.4px;font-weight:500;color:#397268}
.billing-offer .billing-plan-heading h3{font-size:22px;line-height:1.2;letter-spacing:-.5px}
.billing-offer .plan-price{margin:0;white-space:nowrap;font-size:28px;font-variant-numeric:tabular-nums;color:#154e44;letter-spacing:-1px}
.billing-offer .plan-price small{color:#47746c;font-size:11px;letter-spacing:0}
.billing-plan-benefits{display:grid;gap:10px;list-style:none;padding:16px 0 0;margin:0;border-top:1px solid #1b786426;font-size:12px;line-height:1.6;color:#315e55}
.billing-plan-benefits li{display:flex;gap:9px;align-items:flex-start;overflow-wrap:anywhere}
.billing-plan-benefits li>span{display:grid;place-items:center;flex:0 0 18px;width:18px;height:18px;margin-top:1px;border-radius:50%;background:#d5efe4;color:#176b55;font-size:11px;font-weight:700}
.billing-offer .period-chips{margin:18px 0;gap:8px}.billing-offer .period-chips span{border:1px solid #206f5a26;background:#ffffff8c;color:#3e7065;font-size:11px;padding:4px 10px;border-radius:7px}
.billing-offer-business .billing-plan-kicker,.billing-offer-business .plan-price small{color:#bfebde}
.billing-offer-business .plan-price{color:#f5fffc}.billing-offer-business .billing-plan-benefits{color:#e0f6ed;border-color:#b7e9d82b}
.billing-offer-business .billing-plan-benefits li>span{background:#a6eedb24;color:#bdf9e3}
.billing-offer-business .period-chips span{color:#d6f7ea;background:#d5fff510;border-color:#c7f2e329}
.billing-offer .billing-offer-cta{justify-content:space-between;gap:12px;min-height:46px;border:0;border-radius:11px;font-weight:650;font-size:13px;padding:12px 15px;background:linear-gradient(110deg,#167c68,#11695e);color:#fff;box-shadow:0 4px 10px #155f4f20}
.billing-offer-cta svg{width:19px;height:19px;flex:0 0 19px;transition:transform .18s}
.billing-offer-business .billing-offer-cta{background:linear-gradient(105deg,#c6f7e2,#f3fff9);color:#124d40;box-shadow:0 5px 14px #072d3433}
.billing-offer-cta:focus-visible{outline:3px solid var(--brand);outline-offset:3px}.billing-offer-business .billing-offer-cta:focus-visible{outline-color:#dcfff0}
@media(hover:hover){.billing-offer:not(.is-unavailable):hover{transform:translateY(-2px);box-shadow:0 12px 26px #14665820;border-color:#71bba5}.billing-offer-cta:not(:disabled):hover svg{transform:translateX(3px)}.billing-offer-cta:not(:disabled):hover{filter:brightness(1.06)}}
:root[data-theme=dark] .billing-offer-pro{background:radial-gradient(ellipse at 100% 0,#28766050,transparent 65%),linear-gradient(135deg,#193c35,#172e2b);border-color:#356256}
:root[data-theme=dark] .billing-offer-pro .billing-plan-kicker,:root[data-theme=dark] .billing-offer-pro .plan-price small{color:#a6cbbf}
:root[data-theme=dark] .billing-offer-pro .plan-price{color:#c4f4df}
:root[data-theme=dark] .billing-offer-pro .billing-plan-benefits{color:#d4e9e1;border-color:#b7e9d82b}
:root[data-theme=dark] .billing-offer-pro .billing-plan-benefits li>span{background:#a6eedb24;color:#bdf9e3}
:root[data-theme=dark] .billing-offer-pro .period-chips span{color:#d4e9e1;background:#d5fff510;border-color:#c7f2e329}
:root[data-theme=dark] .billing-offer-pro .billing-offer-cta{color:#fff}
.billing-offer.billing-offer-compact .billing-plan-card{padding:18px}
.billing-offer-compact .billing-plan-heading{margin-bottom:14px}.billing-offer-compact .billing-plan-heading h3{font-size:20px}
.billing-offer-compact .plan-price{font-size:24px}.billing-offer-compact .billing-plan-benefits{padding-top:13px;gap:8px}
.billing-offer-compact .period-chips{margin:14px 0}.billing-offer-compact .billing-plan-kicker{font-size:10px;line-height:1.5}
.billing-offer-no-periods .billing-offer-cta{margin-top:18px}
.billing-offer .billing-offer-description{font-size:12px;line-height:1.8;margin:0 0 16px;color:var(--muted)}
.billing-offer-business .billing-offer-description{color:#e0f6ed}
.billing-offer.is-unavailable{box-shadow:none;filter:saturate(.35)}.billing-offer.is-unavailable .billing-offer-cta{cursor:not-allowed;opacity:.7;box-shadow:none}
.mobile-app dialog:has(.billing-upgrade) .modal-head{position:sticky;top:0;z-index:2;background:var(--surface)}
@media(prefers-reduced-motion:reduce){.billing-offer.panel,.billing-offer-cta svg{transition:none}.billing-offer:not(.is-unavailable):hover,.billing-offer-cta:not(:disabled):hover svg{transform:none}}
.billing-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:10px;margin-top:18px}.billing-actions .button{width:100%;min-width:0;min-height:44px;white-space:normal;text-align:center;line-height:1.5}
.catalogue-periods{display:grid;gap:10px;padding:15px 0;border-top:1px solid var(--line)}.catalogue-periods>div{display:flex;align-items:center;gap:8px;font-variant-numeric:tabular-nums}.catalogue-periods>div>span:first-child{min-width:35px;color:var(--muted);font-size:12px}.catalogue-periods strong{margin-left:auto;font-size:13px}.catalogue-periods .discount-badge{min-width:43px}
.term-intro{color:var(--ink);font-size:13px;margin-bottom:18px}.term-intro span{color:var(--muted);display:inline-block;margin-top:5px}
.billing-periods{border:0;padding:0;margin:0;display:grid;gap:12px;min-width:0}.billing-periods>legend{padding:0 0 12px;font-size:12px;color:var(--muted)}
.billing-term{display:flex;gap:12px;align-items:flex-start;border:1px solid var(--line);border-radius:15px;padding:16px;background:var(--bg);color:var(--ink);cursor:pointer;transition:border-color .15s,background .15s}
.billing-term:has(input:checked){border-color:var(--brand);background:var(--soft);box-shadow:inset 0 0 0 1px var(--brand)}
.billing-term:has(input:focus-visible){outline:2px solid var(--brand);outline-offset:3px}.billing-term input{width:18px;height:18px;accent-color:var(--brand);flex:0 0 18px;margin:3px 0 0}
.term-content{display:grid;gap:8px;flex:1;min-width:0}.term-top{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}.term-top>strong{font-size:14px;font-weight:600}.term-price{display:flex;align-items:baseline;gap:5px 8px;flex-wrap:wrap;font-variant-numeric:tabular-nums}.term-price>strong{font-size:25px;letter-spacing:-.7px;line-height:1.2;font-weight:650;overflow-wrap:anywhere}.term-price>span,.term-price del{font-size:12px;color:var(--muted)}.term-price del{margin-left:auto}.term-foot{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 10px;font-size:11px;color:var(--muted)}.term-foot>span{color:var(--brand)}
.term-summary{display:flex;justify-content:space-between;gap:15px;margin:22px 0 12px;padding-top:18px;border-top:1px solid var(--line)}.term-summary>span{display:grid;gap:4px;font-size:11px;color:var(--muted)}.term-summary>span:last-child{text-align:right}.term-summary strong{color:var(--ink);font-size:14px}.billing-purchase{margin-top:22px}.billing-purchase .button{width:100%;white-space:normal;cursor:not-allowed}.billing-purchase .mini-note{margin-top:10px;line-height:1.6}
.pricing-editor{margin:24px 0 20px}.pricing-editor>.mini-note{margin:6px 0 18px}.pricing-edit-period{min-width:0;margin:0 0 16px;padding:14px 16px 16px;border:1px solid var(--line);border-radius:12px;background:var(--bg)}.pricing-edit-period legend{font-size:13px;font-weight:600;padding:0 7px;color:var(--ink)}.pricing-inputs{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:12px}.pricing-result{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:12px;margin-top:13px}.pricing-result>span:first-child{color:var(--muted)}.pricing-result strong{margin-left:auto;font-variant-numeric:tabular-nums}
@media(max-width:620px){.billing-plans{grid-template-columns:1fr}.billing-picker .term-price>strong{font-size:23px}.billing-picker .term-price del{margin-left:0}.modal-body:has(.billing-picker),.modal-body:has(.pricing-editor){padding:18px}.billing-term{padding:14px 12px;gap:10px}.pricing-inputs{gap:10px}.pricing-edit-period{padding:12px}}
@media(prefers-reduced-motion:reduce){.billing-term{transition:none}}
body:has(dialog[open]){overflow:hidden}
dialog:has(.billing-picker) .modal-head,dialog:has(.pricing-editor) .modal-head{position:sticky;top:0;z-index:2;background:var(--surface)}
.billing-periods>legend{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.mobile-app dialog:has(.billing-picker){width:min(414px,calc(100vw - 32px))}
.mobile-app dialog:has(.billing-picker) .modal-body{padding:18px}
.mobile-app .billing-picker .billing-term{padding:14px 12px;gap:10px}
.mobile-app .billing-picker .term-price>strong{font-size:23px}
.mobile-app .billing-picker .term-price del{margin-left:0}

/* Shared heading style; HeadingCase in app.js supplies Turkish-aware casing.
   Keep acronyms, brand spelling and stored values intact. */
:root :is(
  h1,h2,h3,h4,h5,h6,[role="heading"],th,legend,summary,
  .eyebrow,.auth-eyebrow,.sidebar-label,.sidebar-foot>div:last-child,
  .sidebar .nav,.topbar-left,.tabs .tab,[role="tab"],.ws-nav-label,
  .ws-menu-copy>strong,.stat-top,.definition dt,
  .ws-overview>div:first-child>span,.ws-staff-break-label,
  .br-income>span,.br-counts dt,.br-booked>div>span,.br-chart figcaption>strong,
  .theme-choice-label,.theme-system strong,.integration-heading strong,
  .push-device strong,.push-flow b,.booking-slot-head>strong,
  .booking-requests-empty>strong,.ws-empty>strong,.ws-calendar-empty>strong,.auth-day strong,.term-top>strong,.ui-title
){text-transform:none}
:root label:not(:has(input[type="checkbox"],input[type="radio"])){text-transform:none}
/* Explanations and editable values retain their original casing. */
:root :is(h1,h2,h3,h4,h5,h6,summary,label,.sidebar-foot) :is(small,p,.muted,.mini-note,.pill),
:root :is(input,textarea,select,option,code,pre,[contenteditable="true"]){text-transform:none}

/* Public legal pages and the shared account-deletion form. */
.legal-delete-intro{margin-bottom:22px}.legal-delete-form>label+label{margin-top:14px}.legal-delete-note{margin-top:14px;line-height:1.7}.legal-subscription-link{margin-top:10px;font-size:12px;line-height:1.7}.legal-delete-actions{justify-content:flex-start;margin-top:24px}.legal-retention{margin-top:18px;line-height:1.7}

/* Readable document rows in the owner's package and invoices page. */
.legal-owner-documents{display:grid;padding:6px 20px}
.legal-owner-document{display:grid;grid-template-columns:36px minmax(0,1fr) 16px;align-items:center;gap:12px;min-height:78px;padding:15px 0;color:var(--ink)}
.legal-owner-document+.legal-owner-document{border-top:1px solid var(--line)}
.legal-owner-icon{display:grid;place-items:center;width:36px;height:40px;border-radius:11px;background:var(--soft);color:var(--brand)}
.legal-owner-icon svg{width:21px;height:21px}.legal-owner-copy{display:grid;gap:4px;min-width:0}
.legal-owner-copy strong{font-size:13px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}.legal-owner-copy small{font-size:11px;color:var(--muted);line-height:1.6}
.legal-owner-external{display:flex;color:var(--muted)}.legal-owner-external svg{width:16px;height:16px}
.legal-owner-document:hover .legal-owner-copy strong,.legal-owner-document:hover .legal-owner-external{color:var(--brand)}
.legal-owner-document:hover .legal-owner-copy strong{text-decoration:underline;text-underline-offset:3px}
.legal-owner-document:focus-visible{outline:2px solid var(--brand);outline-offset:3px;border-radius:6px}
.legal-owner-delete{border-top:1px solid var(--line);padding:20px;background:var(--bg)}
.legal-owner-delete h3{font-size:13px}.legal-owner-delete p{margin-top:6px;font-size:12px;line-height:1.7;color:var(--muted)}
.legal-owner-delete .button{width:100%;max-width:340px;min-height:44px;margin-top:16px;color:var(--red);white-space:normal}
.legal-owner-delete .button svg{width:18px;height:18px;flex:0 0 18px}.legal-owner-delete .button:hover{border-color:var(--red);background:var(--red-soft)}
.legal-owner-delete .button:focus-visible{outline:2px solid var(--red)}
.legal-owner-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.business-delete-summary{margin-bottom:20px}.business-delete-form>.mini-note{margin-bottom:20px;line-height:1.7}.business-delete-form .form-actions{flex-wrap:wrap}.business-delete-form .button.danger{border-color:var(--red);background:var(--red-soft);white-space:normal}

/* Admin legal requests: separate decisions, policy fields and final erasure. */
.nav .legal-menu-count{display:inline-flex;align-items:center;justify-content:center;margin-left:auto;min-width:23px;height:23px;padding:0 6px;border-radius:7px;background:#b83d4d;color:#fff;font-size:11px;font-weight:700;flex-shrink:0;text-transform:none}.nav .legal-menu-count[hidden]{display:none}
.legal-requests-panel .panel-head{align-items:center;gap:18px}.legal-requests-panel .panel-head h2{display:flex;align-items:center;gap:10px}.legal-section-count{display:inline-flex;align-items:center;justify-content:center;min-width:25px;height:25px;padding:0 7px;border-radius:8px;background:var(--soft);color:var(--brand);font-size:12px}
.legal-request-intro{margin-bottom:18px;color:var(--muted);line-height:1.7}.legal-policy-notice{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px;margin-bottom:20px;border:1px solid var(--line);border-radius:12px;background:var(--bg)}.legal-policy-notice p{margin-top:6px;color:var(--muted);line-height:1.7;font-size:12px}.legal-policy-notice .button{flex-shrink:0}
.legal-request-card{padding:20px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.legal-request-card+.legal-request-card{margin-top:12px}.legal-request-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.legal-request-top>div{min-width:0}.legal-request-top h3{margin:7px 0 0;font-size:16px;overflow-wrap:anywhere}.legal-request-top .eyebrow{font-size:10px}.legal-request-top .pill{flex-shrink:0}.legal-request-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}.legal-request-actions .button.danger{background:var(--red-soft);border-color:var(--red)}.legal-request-note{font-size:12px;color:var(--muted);line-height:1.7;margin-top:14px}
.legal-completed{margin-top:24px}.legal-completed>summary{cursor:pointer;font-weight:600;color:var(--muted);padding:12px 0}.legal-completed[open]>summary{margin-bottom:10px}
.legal-readiness{border:1px solid var(--line);background:var(--bg);border-radius:12px;padding:18px;margin-bottom:24px}.legal-readiness>p{font-size:12px;color:var(--muted);line-height:1.7;margin:8px 0 0}.legal-readiness.is-ready{background:var(--soft)}.legal-missing-links{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.legal-missing-links button{font:inherit;font-size:12px;cursor:pointer;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--brand);padding:8px 10px;text-align:left}.legal-missing-links button:hover{border-color:var(--brand)}
.legal-approval{padding:18px;background:var(--bg);border:1px solid var(--line);border-radius:12px;margin-top:24px}.legal-approval .booking-switch{margin:0}.legal-approval .mini-note{margin-top:10px;line-height:1.7}#legal-policy-panel [aria-invalid="true"]{border-color:var(--red);box-shadow:0 0 0 1px var(--red)}#legal-policy-panel .error{margin-top:18px}
.legal-erase-warning{background:var(--red-soft);color:var(--red)}.legal-erase-warning p,.legal-retention-box p,.legal-blocked p{margin-top:8px;line-height:1.7}.legal-retention-box{padding:16px;border:1px solid var(--line);border-radius:10px;margin-bottom:16px}.legal-retention-box p{font-size:12px;color:var(--muted)}.business-delete-form>.error{margin-top:16px}
@media(max-width:650px){.legal-requests-panel .panel-head,.legal-policy-notice,.legal-request-top{align-items:flex-start;flex-direction:column}.legal-request-card{padding:16px}.legal-request-actions{justify-content:flex-start}.legal-request-actions .button{white-space:normal}.legal-requests-panel .panel-head h2{font-size:16px}.business-delete-form .form-actions .button{flex:1}}

/* Editable share metadata and a responsive, illustrative link card. */
.share-meta-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(240px,.7fr);gap:32px;align-items:start}
.share-meta-fields label{display:grid;gap:8px}.share-meta-fields .input{font-size:14px}.share-meta-fields textarea{min-height:112px;resize:vertical;line-height:1.6}
.share-field-help{display:flex;justify-content:space-between;gap:12px;margin:8px 0 22px}.share-field-help span{white-space:nowrap}
.share-preview-label{display:block;font-size:12px;color:var(--muted);margin-bottom:10px}
.share-preview-card{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--surface)}
.share-preview-image{display:flex;align-items:center;justify-content:center;background:var(--soft);padding:20px}
.share-preview-image .brand-app-icon{width:128px;height:128px;object-fit:contain;border-radius:24px}
.share-preview-copy{padding:16px;overflow-wrap:anywhere}.share-preview-copy strong{display:block;font-size:15px;line-height:1.4}
.share-preview-copy p{font-size:13px;line-height:1.6;color:var(--muted);margin:8px 0;white-space:normal}
.share-preview-copy>span{font-size:12px;color:var(--muted)}
.share-meta-actions{margin-top:24px;padding-top:20px;border-top:1px solid var(--line);flex-wrap:wrap;gap:12px}
@media(max-width:760px){.share-meta-layout{grid-template-columns:minmax(0,1fr);gap:16px}.share-preview-area{max-width:420px}.share-field-help{flex-wrap:wrap}.share-meta-actions .button{width:100%}}

/* Platform settings tabs and the editable registration catalogue. */
.platform-settings-tabs{margin-bottom:24px}.platform-settings-tabs .tab{font-size:14px}
.business-type-fields{border:0;padding:0;margin:0;min-width:0}.business-type-list{display:grid;gap:12px;max-width:860px}
.business-type-row{display:grid;grid-template-columns:32px minmax(0,1fr) auto;gap:12px;align-items:center}
.business-type-number{display:grid;place-items:center;width:30px;height:30px;background:var(--soft);color:var(--brand);border-radius:8px;font-size:12px}
.business-type-add{margin-top:18px}.business-type-note{margin:24px 0 0;line-height:1.7}
.business-type-fields>.form-actions{border-top:1px solid var(--line);padding-top:20px}
@media(max-width:620px){.business-type-row{grid-template-columns:28px minmax(0,1fr);gap:8px}.business-type-row .button{grid-column:2;justify-self:start;font-size:12px}.business-type-fields>.form-actions .button{width:100%}}

.business-type-fields .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Category-specific starting services for new business accounts. */
.business-template-notice{margin-bottom:24px;line-height:1.7}
.business-type-list{max-width:none;gap:16px}
.business-type-row{display:block;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:var(--surface)}
.business-type-heading{display:grid;grid-template-columns:32px minmax(0,1fr) auto;gap:14px;align-items:center;padding:18px 20px}
.business-type-heading label{margin:0;max-width:540px}.business-type-heading .business-type-number{align-self:end;margin-bottom:6px}
.business-type-heading [data-type-remove]{align-self:end;margin-bottom:1px;font-size:12px;color:var(--muted)}
.business-type-services{border-top:1px solid var(--line)}
.business-type-services>summary{display:flex;align-items:center;gap:12px;cursor:pointer;padding:15px 20px;background:var(--soft);font-size:13px;color:var(--brand);list-style:none}
.business-type-services>summary::-webkit-details-marker{display:none}
.business-type-services>summary:before{content:'›';font-size:22px;line-height:1;transition:transform .15s}.business-type-services[open]>summary:before{transform:rotate(90deg)}
.business-type-services>summary .pill{margin-left:auto;background:var(--surface);color:var(--brand)}
.business-type-services>summary:focus-visible{outline:2px solid var(--brand);outline-offset:-3px}
.default-service-editor{padding:18px 20px 20px}.default-service-editor>.mini-note{margin:0 0 16px}
.default-service-list{display:grid;gap:14px;margin-bottom:16px}
.default-service-row{display:grid;grid-template-columns:minmax(160px,1fr) 110px 140px auto;gap:12px;align-items:end}
.default-service-row label{margin:0}.default-service-remove{margin-bottom:1px;color:var(--red);font-size:12px}
.default-service-empty{padding:16px;border:1px dashed var(--line);border-radius:10px;margin:0 0 16px;color:var(--muted);font-size:13px;line-height:1.6}
.default-service-empty[hidden]{display:none}.business-template-limits{margin:16px 0 10px}
.business-type-fields>.form-actions{justify-content:space-between;align-items:center;gap:16px}
.business-template-status{font-size:12px;color:var(--muted)}
@media(max-width:760px){.default-service-row{grid-template-columns:1fr 1fr}.default-service-row label:first-child{grid-column:1/-1}.default-service-remove{grid-column:1/-1;justify-self:end}.default-service-row{padding-bottom:14px;border-bottom:1px solid var(--line)}}
@media(max-width:620px){.business-type-heading{grid-template-columns:28px minmax(0,1fr);gap:10px;padding:16px}.business-type-heading [data-type-remove]{grid-column:2;justify-self:end}.business-type-row .button{grid-column:auto}.business-type-heading [data-type-remove],.default-service-row .default-service-remove{grid-column:2;justify-self:end}.default-service-editor{padding:16px}.business-type-services>summary{padding:14px 16px}.business-type-fields>.form-actions{flex-wrap:wrap}}

.billing-upgrade-intro{margin:0 0 20px;color:var(--muted);font-size:13px;line-height:1.7}
.billing-upgrade-options{display:grid;gap:14px}
.billing-upgrade-option{display:grid;gap:12px;width:100%;min-width:0;padding:20px;text-align:left;border:1px solid var(--line);border-radius:16px;background:var(--surface);color:var(--ink);font:inherit;cursor:pointer}
.billing-upgrade-option:hover:not(:disabled){border-color:var(--brand);background:var(--soft)}
.billing-upgrade-option:focus-visible,.billing-upgrade-back:focus-visible{outline:2px solid var(--brand);outline-offset:3px}
.billing-upgrade-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.billing-upgrade-heading>strong{font-size:18px}.billing-upgrade-heading>span{font-size:19px;font-weight:600}.billing-upgrade-heading small{font-size:12px;font-weight:400;color:var(--muted);margin-left:5px}
.billing-upgrade-capacity{font-size:13px;font-weight:600;color:var(--brand);line-height:1.5}
.billing-upgrade-feature{font-size:13px;line-height:1.6;color:var(--muted)}
.billing-upgrade-link{border-top:1px solid var(--line);padding-top:12px;font-size:12px;line-height:1.6;font-weight:600;color:var(--brand)}
.billing-upgrade-option:disabled{cursor:default;opacity:.65}.billing-upgrade-option:disabled .billing-upgrade-link{color:var(--muted)}
.billing-upgrade-back{display:inline-flex;align-items:center;min-height:44px;margin:-4px 0 12px;padding:0 4px;border:0;background:transparent;color:var(--brand);font:inherit;font-size:13px;cursor:pointer}
.mobile-app dialog:has(.billing-upgrade){width:min(414px,calc(100vw - 32px))}.mobile-app .modal-body:has(.billing-upgrade){padding:20px}
