/* Panel Desk 1.4 — local assets only, responsive, reduced-motion aware. */
:root{color-scheme:light;--bg:#f4f6fa;--surface:#fff;--surface-alt:#f8f9fc;--text:#172239;--muted:#657186;--subtle:#7a8597;--line:#e6eaf0;--primary:#3d5ce8;--primary-hover:#2e49cd;--primary-soft:#eef2ff;--green:#18735a;--green-bg:#eaf7f1;--amber:#95611b;--amber-bg:#fff5e4;--red:#b43d4a;--red-bg:#fff0f1;--shadow:0 2px 4px #152b4803,0 6px 20px #152b4803;--sidebar:#111d33;--radius:14px;--focus:#3d5ce8}
:root[data-theme=dark]{color-scheme:dark;--bg:#111824;--surface:#1a2433;--surface-alt:#151e2b;--text:#e7edf8;--muted:#a6b2c5;--subtle:#96a4bb;--line:#2b394c;--primary:#90a7ff;--primary-hover:#b1c1ff;--primary-soft:#263551;--green:#98ddbe;--green-bg:#203d34;--amber:#f3ce8a;--amber-bg:#403325;--red:#ffb3bd;--red-bg:#412a36;--shadow:none;--sidebar:#0c1525;--focus:#a8b8ff}
*{box-sizing:border-box}body{margin:0;background:var(--bg);font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);-webkit-font-smoothing:antialiased}h1,h2,h3,p{margin:0}h1{font-size:30px;line-height:1.2;font-weight:650;letter-spacing:-1px}h2{font-size:17px;line-height:1.4;letter-spacing:-.35px;font-weight:650}h3{font-size:14px;font-weight:650;letter-spacing:-.1px}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}button{touch-action:manipulation}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--focus);outline-offset:3px}input:focus,select:focus,textarea:focus{border-color:var(--focus);outline:3px solid color-mix(in srgb,var(--focus) 15%,transparent)}[hidden]{display:none!important}i[data-icon]{display:inline-flex;align-items:center;justify-content:center;flex:none;width:20px;height:20px;font-style:normal}svg.icon{width:20px;height:20px;display:block;flex:none}input,select,textarea{width:100%;min-width:0;background:var(--surface);border:1px solid var(--line);border-radius:9px;padding:11px 13px;min-height:44px;transition:border-color .12s,box-shadow .12s}input::placeholder,textarea::placeholder{color:var(--subtle)}input[type=checkbox]{width:17px;height:17px;min-height:17px;padding:0;accent-color:var(--primary);flex:none;margin:0}textarea{min-height:92px;line-height:1.6;resize:vertical}label{display:block;font-size:13px;font-weight:550;margin-bottom:8px}label small{font-size:11px;font-weight:400;color:var(--muted);display:block;margin-top:3px}select{padding-right:27px}code,.mono{font:12px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere}code{background:var(--surface-alt);border:1px solid var(--line);border-radius:5px;padding:3px 5px}kbd{font:10px ui-monospace,monospace;padding:3px 5px;border:1px solid var(--line);border-radius:4px;color:var(--subtle);white-space:nowrap}.muted{font-size:13px;color:var(--muted);line-height:1.7}.small{font-size:12px}.hint{font-size:12px;color:var(--muted);line-height:1.7;margin-top:10px;overflow-wrap:anywhere}.eyebrow{font-size:10px;line-height:1.5;letter-spacing:1.65px;font-weight:700;color:var(--muted);margin-bottom:10px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 16px;border-radius:9px;border:1px solid var(--line);background:var(--surface);font-size:13px;font-weight:600;line-height:1.35;transition:background .12s,border-color .12s;white-space:nowrap}.button:hover:not(:disabled),.icon-button:hover:not(:disabled){background:var(--surface-alt);border-color:#b6c1d2}.button.primary{background:var(--primary);color:#fff;border-color:var(--primary);box-shadow:0 2px 3px #243d951a}.button.primary:hover:not(:disabled){background:var(--primary-hover);border-color:var(--primary-hover)}:root[data-theme=dark] .button.primary{color:#142040}.button.secondary{background:var(--surface)}.button.ghost{border-color:transparent;background:transparent;color:var(--muted)}.button.ghost:hover:not(:disabled){background:var(--surface-alt)}.button.danger{color:var(--red);border-color:var(--red)}.button.full{width:100%}.button .icon{width:17px;height:17px}.icon-button{border:1px solid transparent;background:transparent;display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;padding:9px;border-radius:8px;color:var(--muted);flex:none}.icon-button.bordered{border-color:var(--line);background:var(--surface)}.text-button{border:0;background:none;color:var(--primary);font-weight:600;min-height:40px;padding:8px 0}.skip-link{position:fixed;left:10px;top:-100px;background:var(--surface);padding:10px;z-index:200;color:var(--primary)}.skip-link:focus{top:10px}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* Shell */
.layout{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:100dvh}.sidebar{height:100dvh;position:sticky;top:0;background:var(--sidebar);color:#afbed3;padding:32px 17px 20px;display:flex;flex-direction:column;overflow:auto;scrollbar-width:thin}.brand{display:flex;align-items:center;gap:11px;padding:0 9px}.brand strong{font-size:20px;color:#f7faff;letter-spacing:-.6px;font-weight:650}.brand small{display:block;font-size:10px;color:#9baac0;margin-top:1px;letter-spacing:.1px}.brand-mark{display:inline-flex;align-items:center;justify-content:center;background:#4264f5;color:white;font-size:32px;letter-spacing:-3px;line-height:1;font-weight:750;width:40px;height:40px;border-radius:11px;flex:none;padding-bottom:5px}.brand-mark>span{color:#ace3d8;margin-left:1px}.workspace-label{display:flex;align-items:center;gap:10px;margin:31px 3px 30px;padding:11px 9px;border:1px solid #304057;border-radius:9px;background:#1a2940}.workspace-label b{display:block;font-size:11px;font-weight:600;color:#e6edf9}.workspace-label small{display:block;font-size:10px;color:#9aaec7}.workspace-label>i{margin-left:auto;width:14px}.workspace-avatar{background:#293a52;padding:7px;border-radius:7px;display:flex;color:#c4d1e8}.workspace-avatar .icon{width:16px;height:16px}.nav-label{font-size:9px;letter-spacing:1.4px;color:#8a9bb5;font-weight:600;padding:0 12px;margin-bottom:10px}.side-nav{display:flex;flex-direction:column;gap:5px;margin-bottom:27px}.side-nav button{width:100%;display:flex;align-items:center;gap:11px;min-height:45px;padding:11px 12px;border:1px solid transparent;background:transparent;border-radius:8px;color:#a5b6cc;font-size:12px;text-align:left;font-weight:500}.side-nav .icon{width:18px;height:18px}.side-nav button:hover{background:#1b2c45;color:#fff}.side-nav button.active{background:#294477;color:#f4f7ff;border-color:#35548b}.nav-count{margin-left:auto;background:#37588c;color:#e0eaff;border-radius:5px;padding:1px 6px;min-width:21px;font-size:10px;text-align:center}.warn-count{background:#463e32;color:#ecd09b}.notification-dot{margin-left:auto;width:7px;height:7px;border-radius:50%;background:#e2a394}.sidebar-bottom{margin-top:auto;padding-top:20px}.phone-promo{padding:16px 13px 13px;border:1px solid #2c3e56;border-radius:10px;background:#18283d}.mini-icon{display:flex;align-items:center;justify-content:center;width:30px;height:30px;background:#2b405b;color:#bdd1ea;border-radius:8px;margin-bottom:12px}.mini-icon .icon{width:17px;height:17px}.phone-promo h3{font-size:12px;color:#e8effb}.phone-promo p{font-size:11px;color:#a3b5cc;line-height:1.7;margin:7px 0}.side-link{display:flex;align-items:center;gap:8px;color:#c2d3fd;background:none;border:0;font-size:11px;font-weight:600;min-height:38px;padding:3px 0}.side-link .icon{width:16px}.private-label{display:flex;align-items:center;gap:9px;margin:20px 8px 0;font-size:10px;color:#b4c3d7}.private-label .icon{width:17px;height:17px}.private-label small{display:block;font-size:9px;color:#899db9;letter-spacing:.7px;margin-top:2px}.workspace{min-width:0}.topbar{height:75px;display:flex;justify-content:space-between;align-items:center;padding:0 36px;border-bottom:1px solid var(--line);background:var(--surface)}.breadcrumb{display:flex;align-items:center;gap:13px;font-size:12px;color:var(--subtle)}.breadcrumb strong{font-weight:550;color:var(--text)}.breadcrumb .icon{width:13px;height:13px}.topbar-actions{display:flex;align-items:center;gap:10px}.today{font-size:11px;color:var(--muted);margin-right:9px}.mobile-logo{display:none}main{max-width:1700px;margin:auto;padding:26px 36px 19px;outline:0}.environment-banner{display:flex;align-items:center;gap:8px;color:#526eae;font-size:11px;font-weight:450;line-height:1.6}.environment-banner .icon{width:15px;height:15px}.environment-banner.live{color:var(--muted)}:root[data-theme=dark] .environment-banner{color:#aabff4}.heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:24px 0 26px}.heading .eyebrow{margin-bottom:8px}.heading .muted{margin-top:9px}.actions{display:flex;gap:10px;flex:none}.blocked-banner{display:flex;align-items:center;gap:14px;background:var(--red-bg);color:var(--red);border:1px solid color-mix(in srgb,var(--red) 22%,transparent);border-radius:10px;padding:15px 18px;margin-top:18px}.blocked-banner strong{font-size:13px}.blocked-banner p{font-size:12px;margin-top:4px;max-width:670px}.blocked-banner>.button{margin-left:auto;color:var(--red)}
/* Metrics */
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:28px}.stat-card{border-radius:var(--radius);padding:18px 19px 12px;border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);min-width:0}.stat-top{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px;font-weight:500;color:var(--muted)}.stat-icon{width:30px;height:30px;display:grid;place-items:center;border-radius:8px;flex:none;background:#ffffff17;color:inherit}.stat-icon .icon{width:16px;height:16px}.stat-icon.blue{background:#eef3ff;color:#4a69d5}.stat-icon.violet{background:#f2effc;color:#8b68c3}.stat-icon.amber{background:#fff4e7;color:#b7813d}.stat-card>strong,.credit-value>strong{display:block;font-size:34px;font-weight:650;letter-spacing:-1.2px;line-height:1.2;margin-top:10px;font-variant-numeric:tabular-nums}.stat-link{border:0;background:transparent;color:var(--muted);padding:8px 0 1px;min-height:40px;display:flex;align-items:center;justify-content:space-between;width:100%;gap:4px;font-size:10px;text-align:left}.stat-link:hover{color:var(--primary)}.stat-link .icon{width:14px;height:14px}.credit-card{background:#163c45;border-color:#254d55;color:#e8fbf5}.credit-card .stat-top{color:#c2e0da}.credit-value{display:flex;align-items:baseline;gap:9px}.credit-value strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.credit-value>span{font-size:9px;color:#acd4ca;white-space:nowrap}.credit-check{display:flex;align-items:center;gap:6px;background:transparent;border:0;color:#d0f1e7;font-size:10px;font-weight:550;min-height:40px;padding:8px 0 1px;width:100%;text-align:left}.credit-check>.icon:first-child{width:13px;height:13px}.credit-check>.icon:last-child{margin-left:auto;width:14px;height:14px}.credit-check:hover:not(:disabled){color:#fff}.credit-check:focus-visible{outline-color:#adedd8}
/* Lists */
.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;min-width:0}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px 23px 18px}.panel-heading h2{display:flex;align-items:center;gap:9px}.panel-heading .muted{margin-top:5px}.count-badge{font-size:10px;letter-spacing:0;background:var(--surface-alt);border:1px solid var(--line);border-radius:6px;min-width:23px;padding:2px 6px;color:var(--muted);font-weight:600;text-align:center}.list-tabs{display:flex;gap:24px;padding:0 23px;border-bottom:1px solid var(--line)}.list-tabs button{position:relative;font-size:12px;border:0;background:none;color:var(--muted);padding:12px 0 15px;min-height:44px;font-weight:550;white-space:nowrap}.list-tabs button.active{color:var(--primary)}.list-tabs button.active::after{content:'';position:absolute;bottom:0;left:0;right:0;height:2px;background:var(--primary);border-radius:2px}.toolbar{padding:17px 23px;display:flex;align-items:center;justify-content:space-between;gap:16px}.search-wrap{display:flex;position:relative;align-items:center;flex:1;max-width:370px;min-width:170px}.search-wrap>i{position:absolute;left:12px;color:var(--subtle)}.search-wrap .icon{width:17px;height:17px}.search-wrap input{padding-left:37px;padding-right:57px;font-size:12px;height:42px;min-height:42px;background:var(--surface-alt)}.search-wrap kbd{position:absolute;right:10px}.filter-tools{display:flex;align-items:center;gap:9px}.filter-tools select{width:auto;min-height:42px;font-size:11px;padding:10px 24px 10px 11px}.table-wrap{width:100%;overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;table-layout:auto}th{font-size:10px;font-weight:600;letter-spacing:.2px;padding:12px 20px;background:var(--surface-alt);color:var(--muted);border-top:1px solid var(--line);border-bottom:1px solid var(--line);white-space:nowrap}td{padding:18px 20px;border-bottom:1px solid var(--line);font-size:12px;vertical-align:middle}td:first-child,th:first-child{padding-left:24px}td:last-child,th:last-child{padding-right:23px}tbody tr:last-child td{border-bottom:0}tbody tr{transition:background .1s}tbody tr:hover{background:var(--surface-alt)}.name-cell{display:flex;align-items:center;gap:11px;min-width:160px}.avatar{width:37px;height:37px;display:grid;place-items:center;flex:none;background:#edf1fc;color:#5270bd;border:1px solid #e0e7f7;border-radius:11px;font-size:11px;font-weight:650}.avatar.c1{background:#f1eefb;color:#8163b5;border-color:#e6e0f5}.avatar.c2{background:#eaf5f0;color:#47896f;border-color:#dcece4}.avatar.c3{background:#faf0e8;color:#a77953;border-color:#f0e4d7}.avatar.c4{background:#f8edf2;color:#b36c88;border-color:#f0dfe6}.customer-name{color:var(--text);font-size:13px;font-weight:600;word-break:break-word}.sub{display:block;font-size:10px;color:var(--muted);margin-top:4px;line-height:1.45}.account-value{max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:var(--muted);font-family:ui-monospace,Consolas,monospace;display:block}.date-value{white-space:nowrap;font-weight:500;font-size:12px}.expiry-warn{color:var(--amber)}.row-actions{display:flex;gap:6px;align-items:center;justify-content:flex-end}.row-open{min-height:36px;display:flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:7px;background:var(--surface);padding:8px 10px;font-size:11px;font-weight:550;white-space:nowrap}.row-open .icon{width:13px;height:13px}.row-open:hover{border-color:#afbfe8;color:var(--primary)}.row-copy{width:36px;height:36px;padding:8px;border-radius:7px}.row-copy .icon{width:16px;height:16px}.pill{display:inline-flex;align-items:center;gap:5px;min-height:25px;padding:4px 8px;border-radius:6px;white-space:nowrap;background:var(--surface-alt);color:var(--muted);font-size:10px;font-weight:550;line-height:1.2}.pill.dot::before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor}.pill.good{background:var(--green-bg);color:var(--green)}.pill.warn{background:var(--amber-bg);color:var(--amber)}.pill.bad{background:var(--red-bg);color:var(--red)}.pill.info{background:var(--primary-soft);color:var(--primary)}.align-right{text-align:right}.panel-foot{border-top:1px solid var(--line);padding:12px 23px;display:flex;justify-content:space-between;align-items:center;gap:14px;font-size:11px;color:var(--muted)}.panel-foot>div:first-child{display:flex;align-items:center;gap:18px}.check-label{display:flex;align-items:center;gap:8px;margin:0;font-size:11px;line-height:1.65;font-weight:400;color:var(--muted)}.check-label input{width:15px;height:15px;min-height:15px}.pagination{display:flex;gap:10px;align-items:center;font-size:11px}.pagination>.icon-button{width:32px;height:32px;padding:6px}.pagination .icon{width:16px;height:16px}.list-caption{display:flex;gap:8px;color:var(--muted);font-size:11px;line-height:1.7;margin:16px 2px 0}.list-caption .icon{width:15px;height:15px;margin-top:2px}.workspace-footer{font-size:10px;color:var(--muted);display:flex;align-items:center;justify-content:space-between;gap:15px;padding-top:24px;margin-top:5px}.workspace-footer>span:first-child{display:flex;align-items:center;gap:7px}.workspace-footer .icon{width:13px;height:13px}.workspace-footer b{font-weight:550;margin-left:4px}.empty{text-align:center!important;padding:52px 25px!important;white-space:normal}.empty .empty-icon{display:grid;place-items:center;width:54px;height:54px;margin:0 auto 16px;background:var(--primary-soft);color:var(--primary);border-radius:15px}.empty h3{font-size:16px}.empty p{max-width:390px;color:var(--muted);margin:9px auto 15px;font-size:12px;line-height:1.75}.activity-table td{font-size:12px}.activity-table td:first-child{font-family:ui-monospace,Consolas,monospace;font-size:11px}.activity-table .sub{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.mobile-nav{display:none}
/* Settings */
.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.settings-card{padding:26px}.settings-card>h2{font-size:18px;margin-bottom:7px}.settings-card>.muted{margin-bottom:16px}.section-icon{display:grid;place-items:center;width:40px;height:40px;background:var(--primary-soft);border-radius:11px;color:var(--primary);margin-bottom:16px}.connection-list{margin:20px 0}.connection-list>div{display:flex;justify-content:space-between;gap:20px;padding:10px 0;border-bottom:1px solid var(--line);font-size:12px}.connection-list dt{color:var(--muted)}.connection-list dd{margin:0;text-align:right;overflow-wrap:anywhere;max-width:65%;font-weight:500}.notice{padding:12px 14px;border-radius:9px;background:var(--surface-alt);border:1px solid var(--line);font-size:12px;color:var(--muted);line-height:1.7;margin:16px 0}.notice.good{background:var(--green-bg);border-color:transparent;color:var(--green)}.instruction-list{margin:20px 0 0;padding:0;counter-reset:steps;list-style:none;display:grid;gap:16px}.instruction-list li{position:relative;padding-left:38px;counter-increment:steps}.instruction-list li::before{content:counter(steps);position:absolute;left:0;top:0;width:25px;height:25px;background:var(--surface-alt);border:1px solid var(--line);border-radius:7px;display:grid;place-items:center;color:var(--muted);font-size:11px}.instruction-list b{display:block;font-size:12px;font-weight:600}.instruction-list span{display:block;color:var(--muted);font-size:12px;margin-top:5px;line-height:1.7;overflow-wrap:anywhere}.boundary-item{display:flex;gap:10px;margin:20px 0}.boundary-item>.icon{width:17px;height:17px;margin-top:2px;color:var(--primary)}.boundary-item b{font-size:12px}.boundary-item p{font-size:12px;color:var(--muted);line-height:1.7;margin-top:4px}.device-illustration{height:141px;position:relative;width:220px;max-width:100%;margin:22px auto 13px}.device-monitor{position:absolute;top:5px;left:0;width:195px;height:109px;border:6px solid #334d71;border-radius:9px;background:#f3f6fc;display:flex;overflow:hidden;box-shadow:0 6px 12px #152f5810}.device-side{width:37px;height:100%;background:#18324d}.device-lines{padding:14px 10px;flex:1;display:flex;flex-direction:column;gap:8px}.device-lines b{background:#c0cff4;width:90%;height:17px;border-radius:3px;margin-bottom:2px}.device-lines span{background:#e2e8f2;height:7px;border-radius:3px}.device-illustration::after{content:'';position:absolute;top:114px;left:58px;width:66px;height:10px;border-bottom:5px solid #334d71;border-left:5px solid transparent;border-right:5px solid transparent}.device-phone{position:absolute;right:0;bottom:2px;width:54px;height:94px;border:4px solid #334d71;border-radius:10px;background:#fff;display:flex;flex-direction:column;gap:5px;padding:7px 4px}.device-phone span{height:6px;background:#334d71;width:17px;margin:-5px auto 5px;border-radius:0 0 5px 5px}.device-phone b{height:15px;background:#dae3fa;border-radius:3px}.disclosure{border:1px solid var(--line);border-radius:9px;padding:0 15px;margin-top:18px;background:var(--surface-alt)}.disclosure>summary{padding:14px 0;font-size:12px;font-weight:550;cursor:pointer;min-height:44px}.disclosure>p{font-size:12px;color:var(--muted);line-height:1.75;margin-bottom:13px}.disclosure>.grid,.disclosure>.check-label{margin-bottom:16px}
/* Login */
.login-wrap{min-height:100dvh;display:grid;grid-template-columns:minmax(370px,45%) 1fr;background:var(--surface)}.login-story{background:#111f36;padding:42px 50px;color:#f0f5ff;display:flex;flex-direction:column;min-height:100dvh;position:relative;overflow:hidden}.login-story::after{content:'';position:absolute;width:390px;height:390px;right:-260px;bottom:-150px;border:65px solid #213859;border-radius:50%;pointer-events:none}.login-story .brand{padding:0}.story-copy{margin:auto 0;padding:60px 0}.story-copy>.eyebrow{color:#a5b8da;font-size:9px;letter-spacing:2px}.story-copy h1{font-size:clamp(42px,4.3vw,70px);line-height:1.1;letter-spacing:-2.8px;margin:20px 0 25px;max-width:450px}.story-copy p{font-size:14px;line-height:1.9;color:#b2c3dd}.story-points{display:flex;flex-direction:column;gap:18px;margin-top:35px}.story-points span{display:flex;gap:12px;align-items:center;color:#d1dff3;font-size:12px}.story-points .icon{color:#99c8bd;width:18px;height:18px}.story-foot{font-size:9px;letter-spacing:1.5px;color:#a0b5d3}.login-side{display:flex;align-items:center;justify-content:center;flex-direction:column;padding:50px 30px;min-width:0}.login-card{width:390px;max-width:100%}.login-card>.icon-tile{display:grid;place-items:center;background:var(--primary-soft);border:1px solid var(--line);color:var(--primary);width:50px;height:50px;border-radius:13px;margin-bottom:28px}.login-card>.eyebrow{font-size:9px;margin-bottom:9px}.login-card h2{font-size:30px;letter-spacing:-1px}.login-card>.muted{margin:13px 0 28px}.password-wrap{position:relative}.password-wrap input{padding-right:50px}.password-wrap button{position:absolute;right:2px;top:2px}.login-card>.primary{margin-top:20px;min-height:47px;justify-content:space-between;padding:13px 17px}.login-hint{display:flex;gap:10px;align-items:flex-start;padding-top:24px;margin-top:25px;border-top:1px solid var(--line);color:var(--muted);font-size:11px;line-height:1.8}.login-hint .icon{width:17px;height:17px;margin-top:3px}.login-version{color:var(--muted);font-size:10px;margin-top:55px}.login-mobile-brand{display:none}
/* Dialogs & guided workflows */
body:has(dialog[open]){overflow:hidden}dialog{width:min(760px,calc(100vw - 48px));max-height:calc(100dvh - 48px);margin:auto;padding:0;border:1px solid var(--line);border-radius:18px;background:var(--surface);color:var(--text);box-shadow:0 25px 100px #10213e40;overflow:auto;overscroll-behavior:contain}dialog.wide-modal{width:min(830px,calc(100vw - 48px))}dialog::backdrop{background:#0b183c80;backdrop-filter:blur(3px)}.modal-header{padding:24px 28px 20px;display:flex;gap:20px;align-items:flex-start;justify-content:space-between;border-bottom:1px solid var(--line);background:var(--surface);position:sticky;top:0;z-index:4}.modal-header h2{font-size:23px;letter-spacing:-.7px;line-height:1.3;overflow-wrap:anywhere}.modal-header .eyebrow{font-size:9px;margin-bottom:7px;color:var(--primary)}.modal-header p:last-child{font-size:12px;color:var(--muted);margin-top:6px;line-height:1.7}.modal-body{padding:24px 28px 26px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.grid>div{min-width:0}.wide{grid-column:1/-1}.modal-body h3{margin-bottom:12px}.grid>.wide>.grid{margin-top:14px}.modal-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:24px}.modal-actions.left{justify-content:flex-start}.modal-actions .hint{margin:0 auto 0 0}.warning,.error{background:var(--amber-bg);color:var(--amber);border:1px solid color-mix(in srgb,var(--amber) 20%,transparent);border-radius:9px;padding:13px 15px;font-size:12px;line-height:1.75;margin:16px 0;overflow-wrap:anywhere}.error{background:var(--red-bg);color:var(--red);border-color:color-mix(in srgb,var(--red) 20%,transparent)}.error .button{color:var(--red);margin-top:10px}.confirm{display:flex;align-items:flex-start;gap:11px;padding:16px;background:var(--primary-soft);border:1px solid color-mix(in srgb,var(--primary) 22%,transparent);border-radius:10px;font-size:12px;color:var(--text);line-height:1.8;font-weight:450;margin:18px 0 0}.confirm input{margin-top:3px}.secret-row{display:flex;gap:7px;align-items:stretch}.secret-row input{min-width:0;font-family:ui-monospace,Consolas,monospace;font-size:12px;background:var(--surface-alt)}.secret-row .button{padding:9px 11px;min-width:47px;flex:none}.secret-row .icon-button{height:auto;min-height:44px;border:1px solid var(--line)}.secret-row .button .icon{width:16px}.summary{display:flex;align-items:center;gap:12px;flex-wrap:wrap;color:var(--muted);font-size:12px;margin-bottom:20px}.rule{height:1px;background:var(--line);margin:24px 0}.response{white-space:pre-wrap;overflow-wrap:anywhere;max-height:300px;overflow:auto;background:var(--surface-alt);border:1px solid var(--line);border-radius:9px;padding:14px;font:12px/1.75 ui-monospace,Consolas,monospace;margin:10px 0}.stepper{display:flex;align-items:center;gap:0;padding:0;margin:0 0 27px;list-style:none}.stepper li{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:11px;flex:1;font-weight:550}.stepper li:not(:last-child)::after{content:'';height:1px;background:var(--line);flex:1;margin:0 13px}.stepper .step-number{display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;background:var(--surface-alt);width:27px;height:27px;flex:none;font-size:11px}.stepper li.active{color:var(--primary)}.stepper li.active .step-number{background:var(--primary);color:#fff;border-color:var(--primary)}:root[data-theme=dark] .stepper li.active .step-number{color:#142040}.stepper li.done .step-number{background:var(--green-bg);color:var(--green);border-color:transparent}.step-title{font-size:17px!important;margin:0 0 5px!important}.step-description{font-size:12px;color:var(--muted);line-height:1.8;margin-bottom:22px}.step-actions{border-top:1px solid var(--line);padding-top:19px;display:flex;justify-content:space-between;gap:12px;margin-top:25px}.step-actions>span{display:flex;gap:9px;align-items:center}.step-label{color:var(--muted);font-size:11px;align-self:center}.provider-options{margin:18px 0}.provider-options .check-label{margin-top:12px;font-size:12px;align-items:flex-start}.provider-options .check-label input{margin-top:3px}.note-preview{min-height:102px;font:12px/1.7 ui-monospace,Consolas,monospace;background:var(--surface-alt)}.review-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 22px;border:1px solid var(--line);border-radius:10px;padding:9px 16px;margin-bottom:23px;background:var(--surface-alt)}.review-grid>div{padding:10px 0;font-size:12px;min-width:0}.review-grid dt{color:var(--muted);font-size:11px;margin-bottom:5px}.review-grid dd{margin:0;font-weight:600;overflow-wrap:anywhere}.package-choice{margin-top:9px}.detail-overview{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:16px 18px;border:1px solid var(--line);background:var(--surface-alt);border-radius:11px;margin-bottom:22px}.detail-overview .meta-label{color:var(--muted);font-size:10px;display:block;margin-bottom:5px}.detail-overview strong{font-size:14px;font-weight:600}.detail-overview .meta-small{color:var(--muted);font-size:11px}.detail-tabs{display:flex;gap:7px;border-bottom:1px solid var(--line);margin-bottom:23px}.detail-tabs button{border:0;border-bottom:2px solid transparent;color:var(--muted);background:none;min-height:44px;padding:10px 13px 12px;font-size:12px;font-weight:550}.detail-tabs button[aria-selected=true]{border-bottom-color:var(--primary);color:var(--primary)}.detail-actions{display:flex;gap:10px;flex-wrap:wrap;margin:24px 0 9px}.detail-actions>.button:first-child{flex:1}.detail-actions>.button{min-height:45px}.message-preview{min-height:200px}.operation-result{border-radius:10px;background:var(--surface-alt);padding:15px 17px;margin-bottom:20px;font-size:12px;color:var(--muted);line-height:1.75}.operation-result .pill{margin-bottom:9px}.flow-tip{display:flex;gap:10px;background:var(--surface-alt);border:1px solid var(--line);border-radius:9px;padding:13px 14px;margin-top:18px;color:var(--muted);font-size:12px;line-height:1.75}.flow-tip .icon{width:17px;height:17px;margin-top:2px;color:var(--primary)}.modal-body .check-label{white-space:normal}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);width:max-content;max-width:min(640px,calc(100vw - 32px));display:flex;align-items:flex-start;gap:11px;z-index:1100;padding:15px 18px;background:#162d35;color:#edfaf6;border:1px solid #42666a;border-radius:12px;box-shadow:0 8px 40px #081f4230;font-size:12px;line-height:1.7}.toast .icon{width:17px;height:17px;margin-top:2px}.toast.error-toast{background:#542f3a;border-color:#955a6a;color:#fff0f4}.spinner{width:16px;height:16px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;display:inline-block;flex:none;animation:spin .75s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
/* Medium screens */
@media(min-width:1550px){main{padding:32px 46px 24px}.topbar{padding:0 46px}.stats{gap:20px}.stat-card{padding:22px 23px 14px}.stat-card>strong,.credit-value>strong{font-size:38px}.heading{margin-bottom:30px}}
@media(max-width:1220px){.layout{grid-template-columns:208px minmax(0,1fr)}.sidebar{padding-left:12px;padding-right:12px}.brand{gap:9px}.brand strong{font-size:18px}.brand small{font-size:9px}.topbar{padding:0 24px}main{padding:23px 24px 18px}.heading{gap:14px}h1{font-size:27px}.actions .button{padding:10px 12px}.stats{gap:12px}.stat-card{padding:15px 14px 9px}.stat-icon{width:27px;height:27px}.stat-top{font-size:11px}.stat-link,.credit-check{font-size:9px}.stat-link .icon{width:12px}.stat-card>strong,.credit-value>strong{font-size:31px}.credit-value>span{font-size:8px}.toolbar{gap:10px;padding-left:19px;padding-right:19px}.filter-tools{gap:6px}.filter-tools select{font-size:10px}th,td{padding-left:14px;padding-right:14px}.name-cell{min-width:135px;gap:9px}.customer-name{font-size:12px}.account-value{max-width:150px}.row-actions{gap:2px}.account-value,.sub{font-size:10px}.row-open{padding:8px}.search-wrap kbd{display:none}.search-wrap input{padding-right:12px}.today{display:none}}
@media(max-width:1030px){.layout{grid-template-columns:188px minmax(0,1fr)}.brand strong{font-size:16px}.brand small{display:none}.sidebar{padding-top:26px}.workspace-label{gap:7px;padding:10px 7px}.workspace-label b{font-size:10px}.workspace-label small{font-size:9px}.side-nav button{font-size:11px;gap:9px;padding:11px 9px}.brand-mark{width:36px;height:36px;font-size:30px}.heading{align-items:flex-start;flex-direction:column;gap:18px}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.stat-card{padding:16px 18px 9px}.stat-top{font-size:12px}.stat-link,.credit-check{font-size:11px}.credit-value>span{font-size:10px}.toolbar{flex-wrap:wrap}.search-wrap{max-width:none;width:100%}.filter-tools{width:100%}.filter-tools select{font-size:11px;flex:1}.filter-tools .icon-button{margin-left:auto}.table-wrap{overflow-x:auto}.customer-table{min-width:610px}.settings-grid{grid-template-columns:1fr}.panel-heading{padding:20px}.today{display:none}.topbar-actions{gap:6px}.phone-promo{padding:14px 10px}.login-story{padding:35px}.login-wrap{grid-template-columns:42% 1fr}.story-copy h1{font-size:48px}}
/* Phones: real cards, thumb navigation, full-screen dialogs. */
@media(max-width:900px){.layout{display:block}.sidebar{display:none}.topbar{height:65px;padding:0 17px;position:sticky;top:0;z-index:8}.mobile-logo{display:inline-flex;width:29px;height:29px;font-size:25px;border-radius:8px;padding-bottom:4px}.desktop-label{display:none!important}.breadcrumb{gap:9px}.breadcrumb strong{font-size:12px}.topbar-actions{gap:4px}.topbar-actions .icon-button{width:36px;height:40px;padding:8px}.topbar-actions .icon{width:18px;height:18px}#mode{font-size:9px;padding:5px 7px;min-height:25px}.today{display:none}main{padding:19px 17px 100px}.environment-banner{font-size:10px;line-height:1.65;align-items:flex-start}.environment-banner .icon{width:14px;height:14px;margin-top:1px}.heading{margin:22px 0;gap:19px}h1{font-size:27px;line-height:1.2;letter-spacing:-.9px}.heading .eyebrow{font-size:9px;margin-bottom:7px}.heading .muted{font-size:12px;margin-top:8px;max-width:325px}.actions{width:100%;gap:9px}.actions>.button{flex:1;min-height:45px;font-size:12px}.stats{gap:10px;margin-bottom:23px}.stat-card{padding:14px 14px 7px;border-radius:12px}.stat-top{font-size:11px;gap:5px}.stat-icon{width:26px;height:26px;border-radius:7px}.stat-icon .icon{width:14px;height:14px}.stat-card>strong,.credit-value>strong{font-size:29px;margin-top:10px}.stat-link,.credit-check{font-size:9px;min-height:40px;line-height:1.5;padding-top:7px}.stat-link .icon{width:12px;height:12px}.credit-check{gap:4px;font-size:9px}.credit-check>.icon:first-child{width:11px;height:11px}.credit-check>.icon:last-child{width:11px;height:11px}.credit-value{gap:7px}.credit-value>span{font-size:8px}.panel-heading{padding:18px 16px 11px;align-items:flex-start;gap:12px}.panel-heading h2{font-size:16px;gap:7px}.panel-heading .muted{font-size:11px;max-width:205px}.panel-heading>.button{font-size:11px;min-height:42px;padding:8px 0 8px 8px}.panel-heading>.button .icon{width:14px;height:14px}.list-tabs{gap:22px;padding:0 16px}.list-tabs button{font-size:11px;padding-top:11px;padding-bottom:13px}.toolbar{padding:15px 16px;gap:11px}.search-wrap{min-width:0;width:100%;flex-basis:100%}.search-wrap input{font-size:16px;min-height:44px;padding-left:36px;padding-right:10px}.search-wrap input::placeholder{font-size:12px}.filter-tools select{font-size:12px;min-height:44px;padding-top:9px;padding-bottom:9px}.filter-tools .icon-button{height:44px;width:40px}.table-wrap{overflow:visible}.customer-table,.activity-table{display:block;min-width:0}.customer-table thead,.activity-table thead{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.customer-table tbody,.activity-table tbody{display:grid;padding:0 15px 16px;gap:12px}.customer-table tr,.activity-table tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border:1px solid var(--line);border-radius:11px;background:var(--surface);overflow:hidden;padding:15px;gap:13px 12px}.customer-table td,.activity-table td{border:0!important;padding:0!important;min-width:0;font-size:12px}.customer-table td::before{content:attr(data-label);display:block;font-size:10px;color:var(--muted);margin-bottom:5px}.customer-table td:first-child,.customer-table td:nth-child(2),.customer-table td:last-child{grid-column:1/-1}.customer-table td:first-child::before,.customer-table td:last-child::before,.customer-table td:nth-child(2)::before{display:none}.name-cell{gap:10px;min-width:0}.avatar{width:37px;height:37px;border-radius:10px}.customer-name{font-size:13px}.sub{font-size:10px}.account-value{font-size:11px;max-width:100%;overflow-wrap:anywhere;white-space:normal}.customer-table td:nth-child(2){padding:10px 11px!important;background:var(--surface-alt);border:1px solid var(--line)!important;border-radius:7px}.customer-table td:nth-child(2)>.sub{display:none}.customer-table td:last-child{border-top:1px solid var(--line)!important;padding-top:11px!important}.row-actions{gap:9px}.row-open{flex:1;justify-content:center;min-height:44px;font-size:12px;border-radius:8px}.row-copy{height:44px;width:45px;border:1px solid var(--line);border-radius:8px}.row-open .icon{width:14px;height:14px}.pill{font-size:10px}.panel-foot{padding:13px 16px;flex-wrap:wrap;font-size:10px}.panel-foot>div:first-child{flex-direction:column;align-items:flex-start;gap:9px}.check-label{font-size:10px}.check-label input{width:16px;height:16px}.pagination{gap:8px}.pagination>.icon-button{width:36px;height:38px}.list-caption{font-size:10px;margin-top:13px}.workspace-footer{padding-top:20px;font-size:9px;align-items:flex-start}.workspace-footer>span:first-child{max-width:235px;align-items:flex-start}.workspace-footer .icon{margin-top:1px}.workspace-footer>span:last-child{white-space:nowrap}.blocked-banner{align-items:flex-start;flex-wrap:wrap;gap:9px;padding:14px}.blocked-banner>div{flex:1;min-width:180px}.blocked-banner strong{font-size:12px}.blocked-banner p{font-size:11px}.blocked-banner>.button{width:100%;margin:2px 0 0}.activity-table tbody{padding-top:4px}.activity-table td:first-child,.activity-table td:nth-child(3),.activity-table td:last-child{grid-column:1/-1}.activity-table td:first-child{font-size:12px}.activity-table td:nth-child(3){font-weight:550}.activity-table td:last-child{padding-top:10px!important;border-top:1px solid var(--line)!important}.activity-table td .row-open{width:100%}.activity-table td:nth-child(2)::before{content:'Action';display:block;color:var(--muted);font-size:10px;margin-bottom:5px}.activity-table td:nth-child(4){grid-column:2;grid-row:2}.activity-table td:nth-child(4)::before{content:'Result';display:block;color:var(--muted);font-size:10px;margin-bottom:5px}.activity-table td:nth-child(3){grid-row:3}.empty{grid-column:1/-1!important;padding:25px 5px!important}.customer-table tr:has(.empty),.activity-table tr:has(.empty){display:block;border:0}.mobile-nav{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;bottom:0;left:0;right:0;z-index:9;background:var(--surface);border-top:1px solid var(--line);padding:6px 8px max(8px,env(safe-area-inset-bottom));box-shadow:0 -3px 15px #122a5005}.mobile-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:50px;padding:6px 4px;border:0;border-radius:9px;background:transparent;color:var(--muted);font-size:9px;font-weight:550}.mobile-nav button.active{color:var(--primary);background:var(--primary-soft)}.mobile-nav .icon{width:19px;height:19px}.settings-grid{gap:15px}.settings-card{padding:22px 19px}.settings-card>h2{font-size:17px}.settings-card>.muted{font-size:12px}.connection-list>div{font-size:11px;gap:13px}.notice{font-size:11px}.login-wrap{display:block;min-height:100dvh}.login-story{display:none}.login-side{min-height:100dvh;padding:40px 24px}.login-card{max-width:380px}.login-mobile-brand{display:flex;align-items:center;gap:10px;font-size:20px;letter-spacing:-.6px;margin-bottom:46px}.login-mobile-brand>.brand-mark{width:37px;height:37px}.login-card>.icon-tile{display:none}.login-card h2{font-size:28px}.login-card>.muted{font-size:13px}.login-version{margin-top:40px}.login-card input{font-size:16px}dialog,dialog.wide-modal{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border:0;border-radius:0;margin:0;inset:0;overscroll-behavior:contain}.modal-header{padding:19px 18px 16px;gap:12px}.modal-header h2{font-size:22px}.modal-header p:last-child{font-size:11px}.modal-header .eyebrow{font-size:9px}.modal-header .icon-button{width:42px;height:42px;border:1px solid var(--line)}.modal-body{padding:22px 18px max(30px,env(safe-area-inset-bottom))}.grid{grid-template-columns:1fr;gap:17px}label{font-size:12px}input,select,textarea{font-size:16px}label small{font-size:11px}.grid .wide{grid-column:1}.stepper{margin-bottom:24px}.stepper li{font-size:10px;gap:5px}.stepper li:not(:last-child)::after{margin:0 8px}.stepper .step-number{width:25px;height:25px;font-size:10px}.step-actions{position:sticky;bottom:0;background:var(--surface);padding:15px 0 max(15px,env(safe-area-inset-bottom));margin-bottom:-22px;z-index:2;flex-wrap:wrap}.step-actions .button{font-size:12px}.step-label{font-size:10px}.step-title{font-size:17px!important}.step-description{font-size:12px}.review-grid{gap:0 15px;padding:8px 13px}.review-grid>div{font-size:12px}.confirm{font-size:12px;padding:14px}.confirm input{width:18px;height:18px}.modal-actions>.button{min-height:44px}.modal-actions .hint{width:100%}.secret-row{gap:5px}.secret-row input{font-size:16px}.secret-row>.button{min-width:43px;padding:9px;gap:5px;font-size:11px}.secret-row .icon-button{width:42px}.detail-overview{gap:16px;padding:15px;margin-bottom:18px}.detail-overview>div{flex:1;min-width:120px}.detail-overview .meta-small{font-size:10px}.detail-tabs{gap:0}.detail-tabs button{padding:10px 9px 12px;font-size:11px;flex:1}.detail-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:22px}.detail-actions>.button:first-child{grid-column:1/-1}.detail-actions .button{padding:10px 8px;font-size:12px}.disclosure{padding:0 13px}.disclosure>summary{font-size:12px}.provider-options .check-label{font-size:11px}.hint{font-size:11px}.toast{bottom:88px;font-size:11px;padding:13px 15px;max-width:calc(100vw - 26px)}body:has(dialog[open]) .toast{bottom:22px}.flow-tip{font-size:11px}.modal-body .response{font-size:11px}.modal-body .note-preview{font-size:13px}.modal-body .message-preview{font-size:13px}}
@media(max-width:365px){main{padding-left:12px;padding-right:12px}.topbar{padding-left:12px;padding-right:12px}.breadcrumb strong{font-size:11px}.topbar-actions{gap:0}.topbar-actions .icon-button{width:32px}.stats{gap:8px}.stat-card{padding:12px 10px 6px}.stat-top{font-size:10px}.stat-icon{width:23px;height:23px}.credit-value>span{font-size:7px}.stat-link,.credit-check{font-size:8px}.list-tabs{gap:18px;padding:0 13px}.toolbar{padding-left:12px;padding-right:12px}.filter-tools{gap:5px}.filter-tools select{font-size:11px;padding-left:8px}.panel-heading{padding-left:13px;padding-right:13px}.panel-heading h2{font-size:15px}.panel-heading .muted{font-size:10px}.panel-heading>.button{font-size:10px}.stepper li:not(:last-child)::after{margin:0 5px}.step-actions .button{padding:10px 12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition:none!important;scroll-behavior:auto!important}}
@media print{.sidebar,.topbar,.mobile-nav,.actions,.row-actions,.stats,.environment-banner,.workspace-footer{display:none!important}.layout{display:block}main{padding:0}body{background:white;color:black}.panel{box-shadow:none}}
/* Clear credit action; safe-area-aware keyboard scrolling. */
html{scroll-padding-top:85px;scroll-padding-bottom:90px}
.credit-check{background:#ffffff10;border:1px solid #ffffff28;border-radius:7px;min-height:36px;margin-top:8px;padding:7px 9px;font-size:10px}
.credit-check:hover:not(:disabled){background:#ffffff1e;border-color:#ffffff45}
.credit-check>i:first-child,.credit-check>i:first-child .icon{width:13px;height:13px}
.credit-check>i:last-child{margin-left:auto}
.credit-check>i:last-child,.credit-check>i:last-child .icon{width:14px;height:14px}
@media(max-width:900px){.stat-card{padding:12px 12px 9px}.stat-top{font-size:10px}.stat-icon{width:23px;height:23px}.stat-card>strong,.credit-value>strong{font-size:27px;margin-top:5px}.stat-link{font-size:9px;min-height:32px;padding-top:4px}.credit-check{font-size:9px;min-height:32px;margin-top:4px;padding:6px 7px}.credit-check>i:first-child,.credit-check>i:first-child .icon{width:11px;height:11px}.credit-check>i:last-child,.credit-check>i:last-child .icon{width:12px;height:12px}.credit-value>span{font-size:8px}.heading{margin-top:19px;margin-bottom:20px}.stats{margin-bottom:21px}}
@media(max-width:365px){.stat-card{padding-left:10px;padding-right:10px}.stat-link,.credit-check{font-size:8px}.credit-value>span{font-size:7px}.credit-check{padding-left:5px;padding-right:5px}}

/* Local importer: readable mappings, masked review, no wide mobile table. */
.import-actions{display:flex;gap:7px;flex-shrink:0;align-items:center}.bulk-source{margin:9px 0 18px;font-family:ui-monospace,monospace;font-size:13px;min-height:160px}.bulk-mappings{margin-bottom:22px}.bulk-preview-list{border:1px solid var(--line);border-radius:11px;overflow:hidden;margin:18px 0}.bulk-review-row{display:flex;gap:13px;align-items:center;padding:13px 15px;border-bottom:1px solid var(--line)}.bulk-review-row:last-child{border:0}.bulk-row-number{color:var(--muted);min-width:20px;font-size:12px}.bulk-review-row>div{flex:1;min-width:0}.bulk-review-row strong{font-size:13px;overflow-wrap:anywhere}.bulk-review-row p{font-size:11px;margin:5px 0 0;color:var(--muted);overflow-wrap:anywhere}.bulk-review-row .pill{flex-shrink:0}#bulk-file{font-size:12px;max-width:100%}#bulk-source>.check-label{margin:18px 0}#bulk-source .flow-tip{margin:0 0 20px}#bulk-preview .confirm{margin-top:20px}
@media(max-width:900px){.panel-heading:has(.import-actions){flex-wrap:wrap;gap:13px}.import-actions{width:100%;justify-content:flex-end}.import-actions .button{min-height:44px}.bulk-source{font-size:16px}.bulk-review-row{padding:12px 10px;gap:7px}.bulk-review-row strong{font-size:12px}.bulk-review-row p{font-size:10px}.bulk-row-number{min-width:13px}.bulk-review-row .pill{font-size:9px}}

/* 1.3 — local player presets and one clear, touch-friendly playlist action. */
.row-playlist{color:var(--primary);border-color:var(--line);background:var(--primary-soft)}
.playlist-builder{border:1px solid var(--line);background:var(--surface-alt);padding:20px;border-radius:13px;margin:0 0 22px;min-width:0}
.playlist-block-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.playlist-block-heading h3{margin:5px 0 0!important;font-size:17px!important}.playlist-block-heading .eyebrow{font-size:9px;margin:0}
.playlist-select-row{display:flex;gap:8px;min-width:0}.playlist-select-row select{flex:1;min-width:0;max-width:100%;text-overflow:ellipsis}.playlist-select-row .button{flex-shrink:0}
.delivery-status{font-size:11px;color:var(--muted);margin:9px 0 19px;line-height:1.6}
.copy-playlist-button{margin-top:14px;min-height:46px}.playlist-builder .hint{margin-bottom:0}.http-warning{display:flex;gap:7px;align-items:flex-start;color:var(--amber);font-size:11px;line-height:1.6;margin:13px 0 0}.http-warning .icon{flex-shrink:0;width:14px;height:14px;margin-top:2px}
.server-editor-list{display:grid;gap:17px;margin:18px 0}.server-editor{border:1px solid var(--line);padding:14px 17px 18px;min-width:0;border-radius:11px;background:var(--surface-alt)}.server-editor legend{padding:0 7px;font-size:11px;color:var(--muted);font-weight:600}.server-editor-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:16px}.server-editor .grid{grid-template-columns:minmax(0,.85fr) minmax(0,1.3fr)}.server-editor input[type=radio]{appearance:auto;width:17px;height:17px;min-height:17px;accent-color:var(--primary);flex-shrink:0}.server-editor .check-label{margin:0;font-size:12px}.server-editor .icon-button{flex-shrink:0}.playlist-settings-card dd{overflow-wrap:anywhere;min-width:0}
@media(max-width:900px){.playlist-builder{padding:17px 14px}.playlist-select-row{flex-wrap:wrap}.playlist-select-row select{flex-basis:100%;font-size:16px}.playlist-select-row .button{margin-left:auto;min-height:40px}.playlist-block-heading h3{font-size:16px!important}.playlist-block-heading .pill{font-size:9px;white-space:nowrap}.server-editor{padding:12px 13px 16px}.server-editor .grid{grid-template-columns:minmax(0,1fr)}.server-editor input{font-size:16px}.server-editor-head .icon-button{width:44px;height:44px}.import-actions{flex-wrap:wrap}.import-actions .button{font-size:11px;padding-left:10px;padding-right:10px}.row-actions>.row-playlist{flex:1}.http-warning{font-size:11px}.playlist-builder .grid{grid-template-columns:1fr}}
