@font-face{font-family:Noto IKEA Latin;src:url(/fonts/NotoIKEALatin-Regular.ttf) format("truetype");font-weight:400;font-display:swap}@font-face{font-family:Noto IKEA Latin;src:url(/fonts/NotoIKEALatin-Bold.ttf) format("truetype");font-weight:600 700;font-display:swap}:root{--blue: #0057ad;--blue-dark: #003e7e;--blue-tint: #e7eff8;--yellow: #fbda0c;--ink: #111111;--ink-2: #484848;--ink-3: #595959;--muted: #767676;--line: #e5e5e5;--line-2: #f0f0f0;--field: #929292;--bg: #f5f5f5;--card: #ffffff;--off: #b54708;--off-bar: #e8590c;--off-tint: #fdf0e8;--off-ink: #8a3300;--ok: #0a7a3d;--ok-tint: #e7f5ec;--radius: 14px;--font: "Noto IKEA Latin", "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif;--mono: ui-monospace, Menlo, Consolas, monospace}*{box-sizing:border-box}html,body{margin:0;height:100%}body{font-family:var(--font);color:var(--ink);background:var(--bg);font-size:15px;line-height:1.45;-webkit-font-smoothing:antialiased}a{color:var(--blue)}a:hover{color:var(--blue-dark)}h1{margin:0;font-size:30px;font-weight:700}h2{margin:0;font-size:18px;font-weight:700}h3{margin:0;font-size:15px;font-weight:700}p{margin:0}:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.page{padding:32px 40px 48px;display:flex;flex-direction:column;gap:24px;min-width:0}.page-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}.page-head .sub{font-size:14px;color:var(--ink-2);margin-top:6px}.row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.row.end{justify-content:flex-end}.row.between{justify-content:space-between}.stack{display:flex;flex-direction:column;gap:12px}.stack.lg{gap:20px}.grid-cards{display:flex;flex-wrap:wrap;gap:16px}.grow{flex:1;min-width:0}.muted{color:var(--ink-3)}.small{font-size:13px}.mono{font-family:var(--mono)}.num{font-variant-numeric:tabular-nums}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:20px;display:flex;flex-direction:column;gap:14px;min-width:0}.card.flush{padding:20px 0 8px}.card.flush>.card-head{padding:0 20px}.card-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}.stat{flex:1 1 200px}.stat .label{font-size:14px;color:var(--ink-2)}.stat .value{font-size:34px;font-weight:700;line-height:1.1}.stat .value small{font-size:20px;color:var(--muted);font-weight:500}.stat .value.off{color:var(--off)}.kv{display:flex;justify-content:space-between;gap:12px;font-size:14px}.kv>:first-child{color:var(--ink-2)}.kv>:last-child{font-weight:600;text-align:right}.btn{height:40px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 18px;border-radius:20px;border:1px solid var(--ink);background:var(--card);color:var(--ink);font:600 14px var(--font);cursor:pointer;text-decoration:none;white-space:nowrap}.btn:hover{background:var(--bg);color:var(--ink)}.btn.primary{background:var(--blue);border-color:var(--blue);color:#fff}.btn.primary:hover{background:var(--blue-dark)}.btn.dark{background:var(--ink);border-color:var(--ink);color:#fff}.btn.danger{border-color:var(--off);color:var(--off)}.btn.danger:hover{background:var(--off-tint)}.btn.lg{height:48px;border-radius:24px;font-size:16px;padding:0 24px}.btn.sm{height:32px;padding:0 12px;font-size:13px}.btn.link{border:0;background:none;padding:0;height:auto;color:var(--blue)}.btn:disabled{opacity:.5;cursor:not-allowed}.card>.btn.sm,.stack>.btn.sm{align-self:flex-start}.icon-btn{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #dfdfdf;border-radius:8px;background:var(--card);cursor:pointer;color:var(--ink)}.icon-btn:hover{background:var(--bg)}.icon-btn svg{width:16px;height:16px}label,.label{font-size:14px;font-weight:600}.field{display:flex;flex-direction:column;gap:6px;min-width:0}.field .hint{font-size:13px;color:var(--ink-3);font-weight:400}input[type=text],input[type=email],input[type=number],input[type=url],input[type=search],select,textarea{height:44px;border:1px solid var(--field);border-radius:8px;padding:0 12px;font:15px var(--font);color:var(--ink);background:#fff;width:100%;min-width:0}textarea{height:auto;min-height:120px;padding:10px 12px;resize:vertical;line-height:1.5}textarea.code{font-family:var(--mono);font-size:13px}input[type=color]{width:44px;height:36px;padding:2px;border:1px solid var(--field);border-radius:8px;background:#fff}input:focus,select:focus,textarea:focus{outline:2px solid var(--blue);outline-offset:1px}.check{display:flex;align-items:center;gap:10px;font-weight:500;cursor:pointer}.check input{width:18px;height:18px;accent-color:var(--blue)}.form-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px}fieldset{border:0;margin:0;padding:0;min-width:0}.switch{display:inline-flex;align-items:center;gap:10px;cursor:pointer;font-weight:600}.switch input{appearance:none;width:44px;height:26px;border-radius:13px;background:#bdbdbd;position:relative;cursor:pointer;transition:background .15s;margin:0}.switch input:after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;transition:transform .15s}.switch input:checked{background:var(--blue)}.switch input:checked:after{transform:translate(18px)}.table-wrap{overflow-x:auto}table.t{width:100%;border-collapse:collapse;font-size:14px}table.t th{text-align:left;color:var(--ink-3);font-size:13px;font-weight:600;padding:10px 12px;border-bottom:1px solid var(--line);white-space:nowrap}table.t td{padding:12px;border-bottom:1px solid var(--line-2);vertical-align:middle}table.t th:first-child,table.t td:first-child{padding-left:20px}table.t th:last-child,table.t td:last-child{padding-right:20px}table.t tr.clickable{cursor:pointer}table.t tr.clickable:hover td{background:#fafafa}table.t tr.selected td{background:var(--blue-tint)}.cell-title{display:flex;flex-direction:column;gap:2px;min-width:150px;overflow-wrap:anywhere}.cell-title>:first-child{font-weight:600}.cell-title>:last-child{font-size:13px;color:var(--ink-3)}.empty{padding:32px 20px;text-align:center;color:var(--ink-3)}.badge{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;padding:3px 8px;border-radius:6px;background:var(--bg);color:var(--ink-2);white-space:nowrap}.badge.yellow{background:var(--yellow);color:var(--ink)}.badge.blue{background:var(--blue-tint);color:var(--blue)}.badge.off{background:var(--off-tint);color:var(--off-ink)}.badge.ok{background:var(--ok-tint);color:var(--ok)}.status{display:inline-flex;align-items:center;gap:6px;font-weight:600;color:var(--blue);white-space:nowrap}.status:before{content:"";width:8px;height:8px;border-radius:50%;background:currentColor}.status.off{color:var(--off)}.status.off:before{background:var(--off-bar)}.status.idle{color:var(--ink-3)}.strip{display:flex;gap:2px}.strip span{width:6px;height:20px;border-radius:2px;background:var(--blue)}.strip span.off{background:var(--off-bar)}.strip span.none{background:#dcdcdc}.legend{display:flex;align-items:center;gap:16px;font-size:13px;color:var(--ink-2);flex-wrap:wrap}.legend i{display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:6px;vertical-align:-1px}.alert{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:10px;font-size:14px;line-height:1.5;background:var(--blue-tint);color:var(--blue-dark)}.alert.error{background:var(--off-tint);color:var(--off-ink)}.alert.ok{background:var(--ok-tint);color:var(--ok)}.alert ul{margin:4px 0 0;padding-left:18px}.panel-backdrop{position:fixed;inset:0;background:#11111159;z-index:40}.panel{position:fixed;top:0;right:0;bottom:0;width:min(520px,100vw);background:#fff;z-index:41;box-shadow:-8px 0 32px #0000001f;display:flex;flex-direction:column}.panel header{padding:20px 24px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}.panel .body{padding:24px;overflow-y:auto;flex:1;display:flex;flex-direction:column;gap:18px}.panel footer{padding:16px 24px;border-top:1px solid var(--line);display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%);background:var(--ink);color:#fff;padding:12px 20px;border-radius:24px;font-size:14px;font-weight:600;z-index:60;box-shadow:0 6px 24px #0003}.toast.error{background:var(--off)}.code-box{font-family:var(--mono);font-size:30px;letter-spacing:6px;font-weight:700;background:var(--bg);padding:14px 18px;border-radius:10px;text-align:center}@media(max-width:760px){.page{padding:20px 16px 40px;gap:18px}h1{font-size:26px}.stat{flex:1 1 140px;padding:16px}.stat .value{font-size:28px}.page-head .btn.lg{height:44px;font-size:15px}.form-grid{grid-template-columns:1fr!important}}
