:root{color-scheme:light;--accent:#4f5de0;--accent-dark:#3d48a1;--primary:#4f5de0;--primary-dark:#3d48a1;--tint-line:#e3e6fb;--tint-ink:#4d578b;--amber-line:#f4e9c7;--red-line:#f6d5d0;--green-line:#cdebd9;--bar:#dce0fc;--canvas:#fafbfe;--canvas-dot:#d9dde9;--ink:#101010;--muted:#606060;--bg:#f5f5f5;--surface:#fff;--surface-muted:#fafafa;--line:#ededed;--field-line:#d6d6dc;--hover:#f8f8fc;--tint:#f2f3fe;--focus:#959eef;--green-ink:#28593f;--green-bg:#e6f8ee;--amber-ink:#6b5815;--amber-bg:#fff6d8;--red-ink:#8e1f0b;--red-bg:#fff0f0;--blue-bg:#eef0ff;--neutral-bg:#f1f1f4;--neutral-ink:#62626c;--scope:#19191d;--scope-hover:#292931;--radius:12px;font:14px/1.5 Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg)}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]){color-scheme:dark;--accent:#8f9af0;--accent-dark:#b3baf5;--tint-line:#3a3f66;--tint-ink:#c3c9f5;--amber-line:#5a4c1c;--red-line:#6b2c22;--green-line:#2c5740;--bar:#3a4080;--canvas:#16161a;--canvas-dot:#34343d;--ink:#ececf1;--muted:#a3a3ad;--bg:#121214;--surface:#1b1b1f;--surface-muted:#202025;--line:#2c2c33;--field-line:#3a3a42;--hover:#24242b;--tint:#23263f;--green-ink:#8fdcb0;--green-bg:#17301f;--amber-ink:#ebd58a;--amber-bg:#352c10;--red-ink:#ffb4a6;--red-bg:#3a1712;--blue-bg:#23263f;--neutral-bg:#26262c;--neutral-ink:#b4b4bd;--scope:#0b0b0d;--scope-hover:#19191d}:root:not([data-theme=light]) .scope-button{color:#fff;border:1px solid var(--line)}}
:root[data-theme=dark]{color-scheme:dark;--accent:#8f9af0;--accent-dark:#b3baf5;--tint-line:#3a3f66;--tint-ink:#c3c9f5;--amber-line:#5a4c1c;--red-line:#6b2c22;--green-line:#2c5740;--bar:#3a4080;--canvas:#16161a;--canvas-dot:#34343d;--ink:#ececf1;--muted:#a3a3ad;--bg:#121214;--surface:#1b1b1f;--surface-muted:#202025;--line:#2c2c33;--field-line:#3a3a42;--hover:#24242b;--tint:#23263f;--green-ink:#8fdcb0;--green-bg:#17301f;--amber-ink:#ebd58a;--amber-bg:#352c10;--red-ink:#ffb4a6;--red-bg:#3a1712;--blue-bg:#23263f;--neutral-bg:#26262c;--neutral-ink:#b4b4bd;--scope:#0b0b0d;--scope-hover:#19191d}:root[data-theme=dark] .scope-button{color:#fff;border:1px solid var(--line)}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink)}
button,input,select,textarea{font:inherit}
a{color:var(--accent)}
:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
h1,h2,h3,p{margin:0}
h1{font-size:25px;letter-spacing:-.7px;font-weight:650;line-height:1.2}
h2{font-size:16px;font-weight:600}
h3{font-size:14px}
small,.muted{color:var(--muted)}
small{font-size:12px}
p.sub{color:var(--muted);margin-top:5px}
code{font:12px ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--neutral-ink);background:var(--neutral-bg);padding:3px 6px;border-radius:4px;word-break:break-all}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip-link{position:absolute;left:-999px;top:8px;z-index:100;background:var(--surface);padding:8px 12px;border-radius:6px}
.skip-link:focus{left:8px}
.button,button{border:1px solid var(--field-line);background:var(--surface);color:var(--ink);border-radius:7px;padding:9px 14px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:500;min-height:40px;cursor:pointer;text-decoration:none;white-space:nowrap}
.button:hover,button:hover{background:var(--hover)}
.button.primary,button.primary{background:var(--primary);color:#fff;border-color:var(--primary)}
.button.primary:hover,button.primary:hover{background:var(--primary-dark)}
.button.danger,button.danger{color:var(--red-ink)}
.button.ghost,button.ghost{border:0;background:transparent}
.button.small,button.small{padding:5px 10px;min-height:32px;font-size:12px}
.button.disabled{opacity:.5;pointer-events:none}
.link-button{padding:0;border:0;min-height:25px;color:var(--accent);background:none;font-weight:550}
.link-button:hover{background:none;text-decoration:underline}
svg.icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
svg.icon.filled{fill:currentColor;stroke:none}
input:not([type=checkbox]):not([type=radio]),select,textarea{border:1px solid var(--field-line);border-radius:7px;padding:10px 12px;background:var(--surface);color:var(--ink);width:100%;min-height:42px}
select{appearance:none;-webkit-appearance:none;padding-right:34px;cursor:pointer;text-overflow:ellipsis;background-image:linear-gradient(45deg,transparent 50%,var(--muted) 50%),linear-gradient(135deg,var(--muted) 50%,transparent 50%);background-position:calc(100% - 18px) 52%,calc(100% - 13px) 52%;background-size:5px 5px;background-repeat:no-repeat}
select:hover,input:not([type=checkbox]):not([type=radio]):hover{border-color:var(--muted)}select:disabled{cursor:default;opacity:.6}
input[type=checkbox],input[type=radio]{accent-color:var(--accent);width:17px;height:17px;margin:0}
textarea{resize:vertical;font:13px ui-monospace,SFMono-Regular,Menlo,monospace}
label.field{display:grid;gap:7px;font-size:13px;font-weight:500;margin-bottom:16px}
label.check{display:flex;align-items:center;gap:9px;padding:8px 0;font-weight:400}
.site-list>.row{border-bottom:1px solid var(--line);gap:12px}.site-list>.row:last-child{border-bottom:0}
form.inline{display:inline}
.error{color:var(--red-ink);font-weight:600}.ok{color:var(--green-ink);font-weight:600}
.frame{display:flex;min-height:100vh}
.sidebar{flex:0 0 248px;width:248px;position:sticky;top:0;height:100vh;overflow-y:auto;background:var(--surface);display:flex;flex-direction:column;padding:24px 12px;z-index:20}
.brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:17px;padding:12px;margin-bottom:35px;color:var(--ink);text-decoration:none}
.brandmark{width:29px;height:29px;border-radius:8px;background:var(--primary);color:#fff;display:grid;place-items:center}
.nav{display:flex;flex-direction:column;gap:4px}
.nav a{display:flex;align-items:center;gap:12px;min-height:45px;padding:12px;border-radius:6px;color:var(--ink);text-decoration:none}
.nav a:hover{background:var(--hover)}
.nav .nav-count{margin-left:auto}
.nav a.nav-sub{min-height:36px;padding:8px 12px 8px 36px;font-size:14px}:root[data-menu=collapsed] .nav a.nav-sub{padding:8px 12px}
.nav a[aria-current=page]{background:var(--tint);color:var(--accent);font-weight:550}
.aside-bottom{margin-top:auto}
.frame-main{flex:1 1 auto;min-width:0;display:flex;flex-direction:column}
.topbar{height:93px;background:var(--surface);display:flex;align-items:center;gap:18px;padding:24px 32px;position:sticky;top:0;z-index:15}
.search{max-width:340px;flex:1;position:relative;margin:0}
.search .icon{position:absolute;left:12px;top:12px;color:var(--muted)}
.search input{padding-left:39px!important}
.menu-toggle{display:none}
.drawer-state{display:none}
details.menu{position:relative}
details.menu>summary{list-style:none;cursor:pointer}
details.menu>summary::-webkit-details-marker{display:none}
.scope{margin-right:4px}
.scope .panel{left:0;right:auto}
.topbar-actions{margin-left:auto;display:flex;align-items:center;gap:10px}
.theme-toggle.theme-to-light{display:none}:root[data-theme=dark] .theme-toggle.theme-to-dark{display:none}:root[data-theme=dark] .theme-toggle.theme-to-light{display:inline-flex}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .theme-toggle.theme-to-dark{display:none}:root:not([data-theme=light]) .theme-toggle.theme-to-light{display:inline-flex}}
.bell>summary{position:relative}.bell-count{position:absolute;top:4px;right:4px;min-width:17px;height:17px;padding:0 4px;border-radius:9px;background:var(--red-ink);color:#fff;font-size:10px;font-weight:700;display:grid;place-items:center}.bell-panel a{display:flex;align-items:center;gap:10px;padding:9px 8px;border-radius:8px;color:var(--ink);text-decoration:none}.bell-panel a:hover{background:var(--hover)}.bell-panel .badge{margin-left:auto}.bell-panel h2{font-size:13px;padding:6px 8px}
.sidebar-collapse{position:fixed;top:32px;left:232px;z-index:45;width:32px;height:32px;border-radius:50%;border:1px solid var(--ink);background:var(--surface);color:var(--ink);display:inline-flex;align-items:center;justify-content:center}
:root[data-menu=collapsed] .sidebar-collapse{left:60px}.sidebar-collapse:hover{background:var(--hover)}.expand-menu{display:none}
:root[data-menu=collapsed] .sidebar{flex-basis:76px;width:76px}:root[data-menu=collapsed] .nav a span,:root[data-menu=collapsed] .brand,:root[data-menu=collapsed] .collapse-menu{display:none}:root[data-menu=collapsed] .nav a{justify-content:center}:root[data-menu=collapsed] .expand-menu{display:inline-flex}
.scope-button{background:var(--scope);color:#fff;border-radius:7px;min-width:185px;min-height:45px;padding:10px 16px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-weight:600}
.scope-button:hover{background:var(--scope-hover)}
.scope-name{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.panel{position:absolute;right:0;top:calc(100% + 8px);padding:8px;background:var(--surface);border:1px solid var(--line);box-shadow:0 12px 40px #13142825;border-radius:12px;z-index:40;width:300px;max-height:calc(100vh - 120px);overflow:auto}
.panel h2{font-size:11px;font-weight:500;color:var(--muted);text-transform:uppercase;letter-spacing:1px;padding:8px 10px}
.panel a{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:6px;color:var(--ink);text-decoration:none}
.panel a:hover{background:var(--hover)}
.panel a[aria-current=page],.panel a[aria-current=true]{color:var(--accent);font-weight:550}
.panel .company{background:var(--tint)}
.panel .other small{display:block}
.panel .sites{list-style:none;margin:4px 0;padding:0 0 0 38px}
.panel .other{list-style:none;margin:4px 0;padding:0;border-top:1px solid var(--line)}
.panel .footer{border-top:1px solid var(--line);margin-top:6px;padding-top:6px}
.panel .add{color:var(--accent)}
.panel .stats{margin-left:auto;color:var(--muted)}
.language-button{height:44px;padding:0 12px;border-radius:6px;border:1px solid var(--line);background:var(--surface);color:var(--ink);display:flex;align-items:center;gap:6px;flex-shrink:0;font-size:14px;font-weight:550;white-space:nowrap;cursor:pointer}.language-button:hover{background:var(--hover)}.language-button .icon{width:16px;height:16px}.language-code{display:none}.language-panel{width:200px}.language-panel a{justify-content:space-between}
.icon-button{width:44px;height:44px;border-radius:6px;border:1px solid var(--line);background:var(--surface);color:var(--ink);display:grid;place-items:center;flex-shrink:0}.icon-button:hover{background:var(--hover)}
.initials,.avatar-circle{width:34px;height:34px;border-radius:50%;background:var(--blue-bg);color:var(--accent);display:grid;place-items:center;font-size:12px;font-weight:700;flex-shrink:0}
.initials.alt{background:var(--neutral-bg);color:var(--neutral-ink)}
main{padding:28px 32px 40px;width:100%;max-width:1700px;margin:0 auto;flex:1}
.crumb{font-size:12px;color:var(--muted);margin-bottom:18px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.crumb a{color:inherit}
.heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}
.actions,.row{display:flex;gap:12px;align-items:center}
.row.between{justify-content:space-between}.cardbody>.row.between{flex-wrap:wrap}
.wrap{flex-wrap:wrap}
.stack{display:grid;gap:20px}
.mt{margin-top:20px}.mb{margin-bottom:20px}
.grid{display:grid;gap:20px;grid-template-columns:repeat(3,minmax(0,1fr))}
.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:22px;box-shadow:0 1px 2px #13142803}
.card.flush{padding:0;overflow:hidden}
.cardhead{padding:20px 22px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:15px}
.pager{flex-wrap:wrap}.cardfoot{padding:15px 22px;border-top:1px solid var(--line);font-size:12px;color:var(--muted);display:flex;justify-content:space-between;align-items:center;gap:12px}
.cardbody{padding:22px}
.stat{font-size:30px;letter-spacing:-1px;line-height:1.25;margin:12px 0 10px;font-weight:620}
.trend{color:var(--green-ink);font-size:12px}
.badge{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;border-radius:6px;padding:3px 8px;background:var(--neutral-bg);color:var(--neutral-ink);font-size:11px;font-weight:550}
.badge.green{background:var(--green-bg);color:var(--green-ink)}
.badge.amber{background:var(--amber-bg);color:var(--amber-ink)}
.badge.red{background:var(--red-bg);color:var(--red-ink)}
.badge.blue{background:var(--blue-bg);color:var(--accent)}
.dot{width:6px;height:6px;border-radius:50%;background:currentColor}
.table-scroll{overflow:visible;container-type:inline-size}
table{border-collapse:collapse;width:100%;text-align:left}
th,td{overflow-wrap:break-word}
td code,td .long,td .excerpt{overflow-wrap:anywhere}
.row>h2.long{overflow-wrap:anywhere;min-width:0}
td .excerpt{max-width:34ch}
th{font-size:11px;font-weight:500;color:var(--muted);background:var(--surface-muted);padding:13px 20px;border-bottom:1px solid var(--line)}
td{padding:17px 20px;border-bottom:1px solid var(--line);font-size:13px;vertical-align:middle}
tr:last-child td{border-bottom:0}
td small{display:block;margin-top:3px}
tbody tr:hover{background:var(--hover)}
td input:not([type=checkbox]){max-width:110px;min-height:34px!important;padding:5px 8px!important}
.filterbar{display:flex;gap:12px;padding:16px 20px;align-items:center;margin:0}
.filterbar input{max-width:300px}
.filterbar select{max-width:200px}
.filternote{padding:0 20px 14px;margin:0}
.tinyicon{width:37px;height:37px;border-radius:9px;background:var(--tint);color:var(--accent);display:grid;place-items:center;flex-shrink:0}
.connector{padding:24px}
.connector .brandrow{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}
.connector .wordmark{font-weight:800;font-size:20px;letter-spacing:-.5px}
.connector .metrics{display:flex;gap:35px;margin:23px 0;color:var(--muted);font-size:12px;flex-wrap:wrap}
.connector .metrics strong{display:block;color:var(--ink);font-size:17px;margin-top:5px}
.connector .bottom{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:18px;gap:12px}
.notice{padding:13px 16px;background:var(--tint);border:1px solid var(--tint-line);color:var(--tint-ink);border-radius:9px;font-size:12px;display:flex;gap:10px;align-items:flex-start;margin-bottom:20px}
.notice.amber{color:var(--amber-ink);background:var(--amber-bg);border-color:var(--amber-line)}
.notice.red{color:var(--red-ink);background:var(--red-bg);border-color:var(--red-line)}
.notice.green{color:var(--green-ink);background:var(--green-bg);border-color:var(--green-line)}
.chart{height:230px;display:flex;align-items:flex-end;gap:12px;border-bottom:1px solid var(--line);margin:25px 0 10px;background:repeating-linear-gradient(to top,transparent 0,transparent 56px,var(--line) 57px,var(--line) 58px);padding:0 12px}
.bar{flex:1;background:var(--bar);border-radius:5px 5px 0 0}
.bar.today{background:var(--accent)}
.chart-labels{display:flex;justify-content:space-between;color:var(--muted);font-size:11px;margin-top:10px}
.progress{height:7px;background:var(--neutral-bg);border-radius:20px;overflow:hidden;margin:9px 0}
.progress span{display:block;height:100%;background:var(--accent);border-radius:20px}
.progress.narrow{width:120px}
.split{margin-top:28px}
.tabs{display:flex;gap:22px;border-bottom:1px solid var(--line);margin-bottom:22px;flex-wrap:wrap}
.tabs a{color:var(--muted);padding:12px 2px;text-decoration:none}
.tabs a[aria-current=page]{color:var(--accent);box-shadow:inset 0 -2px var(--accent)}
.strategy{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:20px 0}
.strategy label{display:block;text-align:left;padding:14px;font-size:12px;border:1px solid var(--field-line);border-radius:7px;cursor:pointer;font-weight:500}
.strategy label small{display:block;margin-top:5px;font-size:11px;font-weight:400}
.strategy input{position:absolute;opacity:0}
.strategy label:has(input:checked){border-color:var(--accent);background:var(--tint);color:var(--accent)}
.strategy label:has(input:focus-visible){outline:3px solid var(--focus);outline-offset:3px}
.routing-form:has(input[name=strategy][value=weighted_deficit]:checked) .by-mode:not(.in-weighted),.routing-form:has(input[name=strategy][value=round_robin]:checked) .by-mode:not(.in-rotation),.routing-form:has(input[name=strategy][value=balanced]:checked) .by-mode:not(.in-balanced),.routing-form:has(input[name=strategy][value=fill]:checked) .by-mode:not(.in-fill){display:none}
.empty{text-align:center;padding:50px 20px}
.empty .tinyicon{margin:auto}
.empty h2{margin:15px 0 8px}
.empty .button{margin-top:20px}
.definition{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:18px 0 0}
.definition dt{font-size:12px;color:var(--muted);margin-bottom:4px}
.definition dd{margin:0;font-size:13px}
.timeline{list-style:none;padding:0 0 0 10px;margin:20px 0}
.timeline li{border-left:1px solid var(--line);padding:0 0 22px 23px;position:relative}
.timeline li:before{content:'';position:absolute;left:-5px;top:5px;width:9px;height:9px;border-radius:50%;background:var(--accent);border:2px solid var(--surface)}
.timeline li:last-child{padding-bottom:0;border:0}
.timeline small{display:block;margin-top:4px}
.overlay{position:fixed;inset:0;z-index:60;display:grid;place-items:center;padding:28px 16px}
.backdrop{position:absolute;inset:0;background:#16192e66;backdrop-filter:blur(2px)}
.dialog{position:relative;border-radius:18px;width:min(740px,100%);max-height:calc(100dvh - 56px);box-shadow:0 30px 100px #171c3d40;background:var(--surface);overflow:hidden;display:flex;flex-direction:column}
.dialog>form{display:flex;flex-direction:column;min-height:0;margin:0}
.modalhead{background:var(--surface-muted);padding:20px 24px;display:flex;justify-content:space-between;align-items:flex-start;gap:20px;border-bottom:1px solid var(--line)}
.modalhead h2{font-size:18px;letter-spacing:-.3px}
.modalhead p{font-size:12px;color:var(--muted);margin-top:5px}
.modalhead .close{border:0;background:transparent;padding:0;min-height:28px;width:28px;font-size:22px;font-weight:300;color:var(--ink);text-decoration:none;display:grid;place-items:center}
.modalbody{padding:24px;overflow:auto;min-height:0}
.modalfoot{border-top:1px solid var(--line);padding:16px 24px;display:flex;align-items:center;justify-content:flex-end;gap:10px;background:var(--surface-muted);flex-wrap:wrap}
.modalfoot .left{margin-right:auto;font-size:11px;color:var(--muted)}
.choice{width:100%;text-align:left;display:flex;align-items:flex-start;gap:16px;padding:20px;border-radius:12px;border:1px solid var(--field-line);color:var(--ink);text-decoration:none;background:var(--surface)}
.choice p{font-weight:400;color:var(--muted);font-size:12px;margin-top:5px}
.choice .tinyicon{width:42px;height:42px}
.choice .go{margin-left:auto;align-self:center}
.choice:hover{border-color:var(--accent);background:var(--hover)}
.section-note{color:var(--muted);font-size:11px;margin-top:20px}
.secret{display:block;padding:12px;font-size:13px}
.login{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,692px);place-items:stretch;gap:16px;min-height:100vh;padding:16px;background:var(--surface)}
.login-column{display:flex;flex-direction:column;padding:88px 64px 48px;max-width:712px}
.login-brand{display:flex;align-items:center;gap:12px;margin:0 0 72px;font-size:32px;font-weight:600;letter-spacing:-.02em}
.login-brand .brandmark{width:40px;height:40px;font-size:22px;border-radius:8px}
.login-visual{position:sticky;top:16px;height:calc(100vh - 32px);border-radius:24px;background:radial-gradient(120% 80% at 80% 10%,rgb(255 255 255/.18),transparent 60%),linear-gradient(160deg,#6f7cf5 0%,#4f5de0 55%,#2f3aa8 100%)}
.login-card{max-width:548px}
.login-card h1{margin:0 0 16px;font-size:40px;line-height:1.2;font-weight:500;letter-spacing:-.02em}
.login-card>.muted:first-of-type{margin:0 0 32px;font-size:16px}
.login-card label{display:block;font-size:16px;font-weight:500;margin:20px 0 8px}
.login-card label.check{display:flex;font-weight:400}
.login-card input:not([type=checkbox]):not([type=radio]){min-height:56px;padding:0 16px;font-size:16px}
.login-card p{margin-top:24px}
.login-card button:not(.link-button),.login-card a.button{width:100%;min-height:56px;font-size:16px}
.login-card button[type=submit],.login-card a.button{background:var(--primary);color:#fff;border-color:var(--primary)}
.login-card button[type=submit]:hover,.login-card a.button:hover{background:var(--primary-dark)}
.login-card .login-foot{margin-top:32px;padding-top:32px;border-top:1px solid var(--line);font-size:16px}
.login-card .login-foot a{font-weight:500}
.login-card [hidden]{display:none}
@media (max-width:900px){.login{grid-template-columns:minmax(0,1fr)}.login-visual{display:none}.login-column{padding:32px 16px}.login-brand{margin-bottom:40px}}
.auth{max-width:420px;margin:60px auto;padding:0 16px}
.auth .brand{justify-content:center;margin-bottom:20px}
.auth .card h1{margin-bottom:16px}
.auth label{display:block;font-weight:500;font-size:13px;margin:14px 0 6px}
.auth p{margin-top:14px}
fieldset.off{border:0;padding:0;margin:0;min-width:0;opacity:.6}fieldset.plain-group{border:0;padding:0;margin:0;min-width:0}.auth [hidden]{display:none}.plain{max-width:960px;margin:0 auto;padding:28px 16px}
.plain .card{margin-bottom:16px}
.plain label{display:block;font-weight:500;font-size:13px;margin:12px 0 6px}
.plain .choice-row{display:flex;align-items:center;gap:9px;padding:8px 0;border-bottom:1px solid var(--line)}
label.choice{display:flex;align-items:center;gap:9px;padding:10px 0;border:0;border-bottom:1px solid var(--line);border-radius:0;font-weight:400;margin:0}
.narrow{max-width:520px;margin:20px auto}
.auth .narrow{margin:0}
.auth button[type=submit]:not(.secondary),.auth a.button:not(.secondary),.plain button[type=submit]:not(.secondary):not(.danger),.legacy button[type=submit]:not(.secondary):not(.danger){background:var(--primary);color:#fff;border-color:var(--primary)}
.legacy label{display:block;font-weight:500;font-size:13px;margin:12px 0 6px}
.legacy .row{flex-wrap:wrap}
.legacy details{margin-top:16px}.legacy summary{cursor:pointer;font-weight:600}
.legacy form{margin:0}
.h-0{height:2%}.w-0{width:0%}.h-5{height:5%}.w-5{width:5%}.h-10{height:10%}.w-10{width:10%}.h-15{height:15%}.w-15{width:15%}.h-20{height:20%}.w-20{width:20%}.h-25{height:25%}.w-25{width:25%}.h-30{height:30%}.w-30{width:30%}.h-35{height:35%}.w-35{width:35%}.h-40{height:40%}.w-40{width:40%}.h-45{height:45%}.w-45{width:45%}.h-50{height:50%}.w-50{width:50%}.h-55{height:55%}.w-55{width:55%}.h-60{height:60%}.w-60{width:60%}.h-65{height:65%}.w-65{width:65%}.h-70{height:70%}.w-70{width:70%}.h-75{height:75%}.w-75{width:75%}.h-80{height:80%}.w-80{width:80%}.h-85{height:85%}.w-85{width:85%}.h-90{height:90%}.w-90{width:90%}.h-95{height:95%}.w-95{width:95%}.h-100{height:100%}.w-100{width:100%}
.pop{border:0;padding:0;background:transparent;width:min(740px,calc(100% - 32px));max-height:calc(100dvh - 56px);overflow:visible;margin:auto}
.pop::backdrop{background:#16192e66;backdrop-filter:blur(2px)}
.pop .dialog{width:100%}
.pop .close{cursor:pointer}
.search-field{display:flex;align-items:center;gap:8px;border:1px solid var(--field-line);border-radius:7px;padding:0 12px;margin-bottom:10px;background:var(--surface);color:var(--muted);cursor:text}
.search-field:hover{border-color:var(--muted)}.search-field:has(input:focus-visible){outline:3px solid var(--focus);outline-offset:3px}
.search-field input:not([type=checkbox]):not([type=radio]){border:0;min-height:42px;padding:0;background:transparent;box-shadow:none;outline:none;color:var(--ink)}
.provider-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.provider-grid [hidden]{display:none}
.provider-grid>li{display:flex}
.provider-card{position:relative;width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:14px;border-radius:12px;border:1px solid var(--line);background:var(--surface);color:var(--ink);text-align:left}
.provider-card>.caps{min-height:21px}.provider-actions{width:100%;margin-top:auto;padding-top:6px}.provider-detail{position:relative;z-index:1}.provider-add:disabled{opacity:.5}
.provider-add::after{content:"";position:absolute;inset:0;border-radius:12px;cursor:pointer}.provider-add:disabled::after{cursor:default}
.provider-card:has(.provider-add:not(:disabled):hover){border-color:var(--accent)}
.provider-card.off>:not(.provider-actions){opacity:.5}
.provider-scroll{flex:1 1 auto;min-height:0;overflow:auto;scrollbar-gutter:stable;padding:2px 2px 24px}
.pop.fixed{height:calc(100dvh - 56px)}.pop.fixed .dialog{height:100%}.pop.fixed .modalbody,.pop.wide.fixed .modalbody{flex:1 1 auto;display:flex;flex-direction:column;overflow:hidden;max-height:none;padding-bottom:0}
.pop.small{width:min(480px,calc(100% - 32px))}.pop.small .definition{margin-top:0}.modalhead .provider-name h2{margin:0}
.caps{display:flex;flex-wrap:wrap;gap:5px;align-items:center}
.cap{position:relative;z-index:1;display:inline-grid;place-items:center;width:32px;height:21px;border:1px solid var(--line);border-radius:4px;background:#fff;color:#4f5de0}
.cap svg{width:20px;height:15px;fill:currentColor}.cap svg.icon{width:14px;height:14px;fill:none}
.cap-apple-pay{color:#000}.cap-google-pay{color:#4285f4}.cap-visa{color:#1a1f71}.cap-mastercard{color:#eb001b}.cap-amex{color:#2e77bc}.cap-discover{color:#ff6000}.cap-diners{color:#004c97}.cap-jcb{color:#0b4ea2}
.cap-legend{list-style:none;margin:0 0 14px;padding:0;display:flex;flex-wrap:wrap;gap:6px 16px;font-size:12px;color:var(--muted)}.cap-legend li{display:inline-flex;align-items:center;gap:6px}
.card.flush>.tabs{padding:0 22px;margin-bottom:0}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.row.end{justify-content:flex-end}
.icon-button.small{width:32px;height:32px;min-height:32px;padding:0;cursor:pointer}.icon-button.small svg{width:16px;height:16px}.icon-button.danger{color:var(--red-ink)}
button.primary.danger{background:var(--red-ink);border-color:var(--red-ink);color:#fff}
fieldset.choices{border:0;padding:0;margin:0;min-width:0}fieldset.choices legend{font-size:13px;font-weight:600;padding:0;margin-bottom:6px}label.field.indent{margin:4px 0 8px 26px}
.pop.wide{width:min(980px,calc(100% - 32px))}
.app-name{display:flex;align-items:center;gap:12px}.app-name small{display:block;color:var(--muted);font-size:12px;font-weight:400}.app-mark{width:26px;height:26px;border-radius:7px}.app-mark svg{width:15px;height:15px}.app-tile-head{width:100%;flex-wrap:wrap;gap:8px}.app-tile-head>.row{flex-wrap:wrap;gap:6px;min-width:0}.app-tile-head>.button,.app-tile-head>form{margin-left:auto}.empty .app-add{margin-top:20px}
.catalogue-filters .filterbar{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding:0;margin:0 0 12px}.catalogue-filters .filterbar select{max-width:none;min-height:38px;padding-top:8px;padding-bottom:8px;font-size:13px}
@media(max-width:850px){.catalogue-filters .filterbar{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.pop .provider-grid{grid-template-columns:minmax(0,1fr)}}
.provider-card small{color:var(--muted);font-size:12px}
.provider-mark{width:36px;height:36px;border-radius:9px;display:inline-grid;place-items:center;font-weight:800;font-size:14px;color:#fff;background:#5b5f73;flex-shrink:0}
.provider-sandbox{background:var(--accent)}.provider-adyen{background:#0abf53}.provider-braintree,.provider-unzer{background:#000}.provider-klarna{background:#ffb3c7;color:#17120f}.provider-paypal{background:#002991}.provider-checkout{background:#006cff}.provider-fiserv{background:#f60}.provider-global-payments{background:#003c71}.provider-monext,.provider-stancer{background:#141414}.provider-nexi{background:#2d32aa}.provider-payplug{background:#212225}.provider-systempay{background:#1b1340}.provider-worldline{background:#46beaa}.provider-worldpay{background:#ff1f3e}.provider-stancer svg .accent{fill:#d0e9ff}.provider-stripe{background:#635bff}.provider-paysafe{background:#5a28ff}.provider-hipay{background:#2c0a64}.provider-truevo{background:#1b1b1b}.provider-mark svg .accent{fill:#a6c54c}.provider-airwallex{background:#612fff}.provider-dlocal{background:#1043fa}.provider-mollie{background:#000}.provider-nuvei{background:#160850}.provider-rapyd{background:#fb3b3b}.provider-dlocal svg .accent{fill:currentColor}.provider-nuvei svg .accent{fill:#0c98d4}
.provider-mark svg{width:20px;height:20px;fill:currentColor}
.provider-mark svg.icon{fill:none;stroke:currentColor}
.provider-mark.generic{background:var(--neutral-bg);color:var(--muted)}.provider-mark.wordmark-only{width:auto;min-width:36px;padding:0 9px;background:var(--neutral-bg);color:var(--ink);font-size:12px;letter-spacing:-.2px}
.provider-mark.wide{width:auto;padding:0 10px}.provider-mark.wide svg{width:auto;height:13px}.provider-name .provider-mark svg{width:15px;height:15px}.provider-name .provider-mark.wide svg{width:auto;height:10px}.provider-name .provider-mark.wide{width:auto;padding:0 7px}
.provider-name{display:inline-flex;align-items:center;gap:8px}
.provider-name .provider-mark{width:26px;height:26px;font-size:11px;border-radius:7px}
label.check{flex-wrap:wrap}label.check>span.text{flex:1 1 0;min-width:0}label.check small{flex-basis:100%;color:var(--muted);font-size:12px;margin-top:2px}
.routing-toggle{gap:10px;border:0;background:transparent;cursor:pointer;font:inherit}
.routing-toggle span.on{font-weight:650}
.tip{position:relative;cursor:help;display:inline-flex;gap:4px;align-items:center}
.tip::after{content:attr(data-tip);position:absolute;right:0;top:calc(100% + 6px);z-index:30;width:min(260px,80vw);padding:10px 12px;border-radius:8px;background:var(--ink);color:var(--surface);font-size:12px;font-weight:400;line-height:1.4;white-space:normal;box-shadow:0 10px 30px #0003;opacity:0;pointer-events:none;transition:opacity .12s}
.tip:hover::after,.tip:focus-visible::after{opacity:1}
.add-mid{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;border-top:1px solid var(--line)}
.add-mid .field{margin:0;min-width:220px}
/* Closer cells first: a table shown as cards (below) keeps the room of the names of its columns. */
@container (max-width:1200px){table.rows.widest th,table.rows.widest td,table.rows.many th,table.rows.many td{padding-left:12px;padding-right:12px}}
@container (max-width:620px){table.rows thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}table.rows,table.rows tbody,table.rows tr,table.rows td{display:block}table.rows tr{padding:12px 18px;border-bottom:1px solid var(--line)}table.rows tr:last-child{border-bottom:0}table.rows td{position:relative;min-height:36px;padding:7px 0 7px 40%;border:0}table.rows td::before{content:attr(data-label);position:absolute;left:0;top:8px;width:37%;color:var(--muted);font-size:12px}table.rows td:first-child,table.rows td:not([data-label]){padding-left:0}table.rows td:first-child::before{content:none}table.rows td[data-label]:has(input,select,textarea,.badge){padding-left:0}table.rows td[data-label]:has(input,select,textarea,.badge)::before{position:static;display:block;width:auto;margin-bottom:4px}table.rows td .badge{white-space:normal}table.rows td:empty{display:none}}
@container (max-width:900px){table.rows.wide thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}table.rows.wide,table.rows.wide tbody,table.rows.wide tr,table.rows.wide td{display:block}table.rows.wide tr{padding:12px 18px;border-bottom:1px solid var(--line)}table.rows.wide tr:last-child{border-bottom:0}table.rows.wide td{position:relative;min-height:36px;padding:7px 0 7px 40%;border:0}table.rows.wide td::before{content:attr(data-label);position:absolute;left:0;top:8px;width:37%;color:var(--muted);font-size:12px}table.rows.wide td:first-child,table.rows.wide td:not([data-label]){padding-left:0}table.rows.wide td:first-child::before{content:none}table.rows.wide td[data-label]:has(input,select,textarea,.badge){padding-left:0}table.rows.wide td[data-label]:has(input,select,textarea,.badge)::before{position:static;display:block;width:auto;margin-bottom:4px}table.rows.wide td .badge{white-space:normal}table.rows.wide td:empty{display:none}}
@container (max-width:1080px){table.rows.widest thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}table.rows.widest,table.rows.widest tbody,table.rows.widest tr,table.rows.widest td{display:block}table.rows.widest tr{padding:12px 18px;border-bottom:1px solid var(--line)}table.rows.widest tr:last-child{border-bottom:0}table.rows.widest td{position:relative;min-height:36px;padding:7px 0 7px 40%;border:0}table.rows.widest td::before{content:attr(data-label);position:absolute;left:0;top:8px;width:37%;color:var(--muted);font-size:12px}table.rows.widest td:first-child,table.rows.widest td:not([data-label]){padding-left:0}table.rows.widest td:first-child::before{content:none}table.rows.widest td[data-label]:has(input,select,textarea,.badge){padding-left:0}table.rows.widest td[data-label]:has(input,select,textarea,.badge)::before{position:static;display:block;width:auto;margin-bottom:4px}table.rows.widest td .badge{white-space:normal}table.rows.widest td:empty{display:none}}
@media(min-width:1450px){main{padding:32px 44px}.topbar{padding-left:44px;padding-right:44px}}
@media(max-width:1100px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.strategy{grid-template-columns:1fr 1fr}.topbar{gap:12px;padding:20px}.heading{align-items:flex-start}main{padding:24px}.search{max-width:250px}}
@media(max-width:850px){.provider-grid{grid-template-columns:repeat(2,minmax(0,1fr))}th,td{padding:12px 16px}.sidebar-collapse,:root[data-menu=collapsed] .expand-menu{display:none}.sidebar{display:none;position:fixed;left:0;top:0;bottom:0;box-shadow:20px 0 60px #0002}.drawer-state:checked~.frame .sidebar{display:flex}.drawer-state:checked~.frame .drawer-backdrop{display:block;position:fixed;inset:0;background:#0005;z-index:19}.menu-toggle{display:inline-flex}.drawer-state{display:block;position:fixed;opacity:0;pointer-events:none;top:28px;left:28px}.drawer-state:focus-visible~.frame .menu-toggle{outline:3px solid var(--focus)}.topbar{height:78px;padding:16px;gap:10px}.search{display:none}.scope{margin-left:0;min-width:0}.scope-button{min-width:0;max-width:100%}.scope-name{min-width:0;max-width:none;flex:1 1 auto}.grid,.grid.two,.grid.three{grid-template-columns:1fr}.heading{flex-wrap:wrap;gap:14px}.heading .actions{flex-wrap:wrap}main{padding:22px 16px}.card{padding:18px}.card.flush{padding:0}.cardhead{padding:16px;flex-wrap:wrap}.filterbar{flex-wrap:wrap}.filterbar input,.filterbar select{max-width:none}.modalbody{padding:20px}.modalhead{padding:18px 20px}.modalfoot{padding:14px 20px}.heading h1{font-size:23px}.definition{grid-template-columns:1fr}.panel,.scope .panel{position:fixed;left:16px;right:16px;top:86px;width:auto}}
@media(max-width:560px){.topbar{gap:6px;padding:16px 12px}.topbar-actions{gap:6px}.scope{flex:1 1 auto;margin:0}.scope-button{padding:10px 12px;gap:6px}.scope-button>.icon:first-child{display:none}.topbar .icon-button{width:38px;height:40px}.language-name{display:none}.language-code{display:inline}.topbar .language-button{height:40px;padding:0 4px;gap:2px;border-color:transparent;background:none}.menu-toggle{padding:9px 6px}}
.drawer-backdrop{display:none}
.theme-toggle{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 4px;color:var(--ink);font-size:14px;text-decoration:none}
.theme-track{position:relative;width:48px;height:26px;border-radius:13px;background:var(--field-line);transition:background .15s}
.theme-track::after{content:'';position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgb(0 0 0 / .2);transition:transform .15s}
.theme-toggle[aria-checked=true] .theme-track{background:var(--accent)}
.theme-toggle[aria-checked=true] .theme-track::after{transform:translateX(22px)}
.theme-toggle:focus-visible{outline:2px solid var(--focus);outline-offset:2px;border-radius:6px}
@media(max-width:760px){.theme-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}}
.as-panel a[aria-disabled=true]{opacity:.5;cursor:default}
.method-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-top:1px solid var(--line)}.method-row:first-of-type{margin-top:14px}
.method-row>select{width:72px;flex-shrink:0}.method-row>label{flex:1 1 0;min-width:0;display:grid;gap:2px}.method-row>label small{font-weight:400}
.icon-button.wheel{width:36px;height:36px;cursor:pointer}.icon-button.wheel .icon{width:16px;height:16px}.field .row>.wheel{width:42px;height:42px}
input[type=checkbox].switch{appearance:none;width:40px;height:22px;border-radius:999px;background:var(--field-line);position:relative;cursor:pointer;flex-shrink:0;transition:background .15s}
input[type=checkbox].switch::after{content:"";position:absolute;top:2px;left:2px;width:18px;height:18px;border-radius:50%;background:#fff;transition:transform .15s}
input[type=checkbox].switch:checked{background:var(--accent)}input[type=checkbox].switch:checked::after{transform:translateX(18px)}
input[type=checkbox].switch:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
.lang-tabs{display:flex;flex-wrap:wrap;gap:0 18px}.lang-tabs>input{position:absolute;opacity:0;pointer-events:none}
.lang-tabs>label{padding:8px 2px;color:var(--muted);cursor:pointer}.lang-tabs>input:checked+label{color:var(--accent);box-shadow:inset 0 -2px var(--accent)}
.lang-tabs>input:focus-visible+label{outline:2px solid var(--focus);outline-offset:2px}
.lang-panel.grid{display:none;flex-basis:100%;margin-top:16px}
#texts-fr:checked~.lang-panel[lang=fr],#texts-en:checked~.lang-panel[lang=en],#texts-de:checked~.lang-panel[lang=de],#texts-es:checked~.lang-panel[lang=es],#texts-it:checked~.lang-panel[lang=it],#texts-nl:checked~.lang-panel[lang=nl],#texts-pt:checked~.lang-panel[lang=pt]{display:grid}
.switch-row{display:flex;align-items:center;gap:14px}.switch-row>label:first-child{flex:1 1 0;min-width:0;display:grid;gap:3px;font-weight:600;cursor:pointer}.switch-row>label small{font-weight:400}
label.switch{width:40px;height:22px;border-radius:999px;background:var(--field-line);position:relative;cursor:pointer;flex-shrink:0;transition:background .15s}
label.switch::after{content:"";position:absolute;top:2px;left:2px;width:18px;height:18px;border-radius:50%;background:#fff;transition:transform .15s}
input[type=checkbox].switch-state{position:absolute;opacity:0;pointer-events:none}
.switch-state:checked~.card label.switch{background:var(--accent)}.switch-state:checked~.card label.switch::after{transform:translateX(18px)}
.switch-state:focus-visible~.card label.switch{outline:2px solid var(--focus);outline-offset:2px}
.when-on{display:none}.switch-state:checked~.when-on{display:block}
.sites-choice{display:grid;gap:10px;margin-top:14px}.sites-choice:has(input.switch:checked) .sites-pick{display:none}
.sites-pick{border:1px solid var(--field-line);border-radius:10px}.sites-pick>summary{padding:10px 14px;cursor:pointer;font-weight:600}.sites-pick>.site-list{padding:0 14px 8px;max-height:260px;overflow:auto}
.app-copy{flex-wrap:wrap;padding:8px 0}
body[data-access=read] form[action^="/s/"]:not([action$="/payments/search"]) :is(button[type=submit],button:not([type]),input[type=submit]),body[data-access=read] .overlay:has(>.dialog>form[action^="/s/"]:not([action$="/payments/search"])),body[data-access=read] [popover]:has(>form[action^="/s/"]:not([action$="/payments/search"])),body[data-access=read] [popovertarget]:not([popovertargetaction=hide]),body[data-access=read] .notice:has(>form[action^="/s/"]:not([action$="/payments/search"])),body[data-access=read] form[action^="/s/"]:not([action$="/payments/search"]).row:has(input:placeholder-shown),body[data-access=read] a[href*="/shops/"][href*="/apps/"],body[data-access=read] a[href$="/settings/payment-providers"],body[data-access=read] a[href*="?bibliotheque="],body[data-access=read] a[href*="&bibliotheque="],body[data-access=read] a[href*="?ajout="],body[data-access=read] a[href*="&ajout="],body[data-access=read] a[href*="?connect="],body[data-access=read] a[href*="&connect="],body[data-access=read] a[href*="?reglages="],body[data-access=read] a[href*="&reglages="],body[data-access=read] a[href*="?notify="],body[data-access=read] a[href*="&notify="],body[data-access=read] a[href*="?copie="],body[data-access=read] a[href*="&copie="],body[data-access=read] a[href*="?disconnect="],body[data-access=read] a[href*="&disconnect="],body[data-access=read] a[href*="?app="],body[data-access=read] a[href*="&app="],body[data-access=read] a[href*="?mid="],body[data-access=read] a[href*="&mid="],body[data-access=read] a[href*="?cles="],body[data-access=read] a[href*="&cles="],body[data-access=read] a[href*="?supprimer="],body[data-access=read] a[href*="&supprimer="],body[data-access=read] a[href*="?add="],body[data-access=read] a[href*="&add="],body[data-access=read] a[href*="?archive="],body[data-access=read] a[href*="&archive="],body[data-access=read] a[href*="?create="],body[data-access=read] a[href*="&create="],body[data-access=read] a[href*="?destination="],body[data-access=read] a[href*="&destination="],body[data-access=read] a[href*="?simulate="],body[data-access=read] a[href*="&simulate="],body[data-access=read] a[href*="?edit="],body[data-access=read] a[href*="&edit="],body[data-access=read] a[href*="?modeles="],body[data-access=read] a[href*="&modeles="],body[data-access=read] a[href*="?revoke="],body[data-access=read] a[href*="&revoke="]{display:none!important}
body[data-access=read] form[action^="/s/"]:not([action$="/payments/search"]) :is(input,select,textarea,label){pointer-events:none}

/*
 * Account menu shared by the CMS administration and the orchestrator console
 * (@cms-crm-ecom/account-shell). Colours come from each tool's tokens (--surface, --ink, --muted,
 * --line, --accent, --tint), with the ShopSwift values as fallbacks; [data-theme='dark'] on the
 * root element switches both tools.
 */
.as-account {
  position: relative;
}

.as-avatar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink, #101010);
  text-align: left;
  cursor: pointer;
  list-style: none;
}

.as-avatar::-webkit-details-marker {
  display: none;
}

.as-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent, #4f5de0);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  flex: none;
}

.as-text {
  display: flex;
  flex-direction: column;
  max-width: 180px;
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
}

.as-name,
.as-email {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.as-email {
  color: var(--muted, #878787);
}

.as-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 50;
  width: 260px;
  max-width: calc(100vw - 32px);
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px;
  background: var(--surface, #ffffff);
  color: var(--ink, #101010);
  border: 1px solid var(--line, #ededed);
  border-radius: 12px;
  box-shadow:
    0 12px 16px -4px rgb(16 24 40 / 8%),
    0 4px 6px -2px rgb(16 24 40 / 3%);
}

.as-panel[hidden] {
  display: none;
}

.as-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px 10px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--line, #ededed);
}

.as-title {
  padding: 6px 8px 2px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted, #878787);
}

.as-panel a,
.as-signout {
  display: flex;
  width: 100%;
  padding: 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink, #101010);
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.as-panel a:hover,
.as-signout:hover {
  background: var(--tint, #f2f3fe);
}

.as-signout {
  margin-top: 4px;
  border-top: 1px solid var(--line, #ededed);
  border-radius: 0 0 8px 8px;
}

.as-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line, #ededed);
  border-radius: 8px;
  background: var(--surface, #ffffff);
  color: var(--ink, #101010);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.as-switch:hover {
  background: var(--tint, #f2f3fe);
}

@media (max-width: 1100px) {
  .as-text {
    display: none;
  }
}
