:root{--bg: #f5f5f4;--surface: #ffffff;--surface2: #f6f6f5;--line: #ecebe9;--line-strong: #dddcda;--txt: #1d1f20;--txt-strong: #131516;--muted: #717376;--faint: #9fa0a2;--sidebar: #ffffff;--side-txt: #1d1f20;--nav-hover: #fdf7f2;--nav-on: #fdf1e2;--acc: #f6821f;--acc-hover: #e2700b;--acc-deep: #a13e00;--btn-bg: #f6821f;--btn-txt: #fff;--okbg: #e2f1e4;--ok: #18794e;--errbg: #fbe3e1;--err: #c62828;--warnbg: #fbf0d6;--warn: #96680a;--row-hover: #fdf7f2;--shadow-sm: 0 1px 2px rgba(24, 24, 24, .05);--shadow-lg: 0 20px 40px -16px rgba(24, 24, 24, .22), 0 6px 14px -8px rgba(24, 24, 24, .1);--r-sm: 6px;--r-md: 8px;--r-lg: 12px;--radius: 6px;--font: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif}html[data-theme=dark]{--bg: #17181a;--surface: #1f2022;--surface2: #2a2b2e;--line: #38393c;--line-strong: #45464a;--txt: #e9eaeb;--txt-strong: #f7f7f8;--muted: #a4a6ab;--faint: #636569;--sidebar: #1b1c1e;--side-txt: #e9eaeb;--nav-hover: #26272a;--nav-on: #3a2410;--acc: #f6821f;--acc-hover: #ff8f3c;--acc-deep: #f8a95e;--btn-bg: #f6821f;--btn-txt: #fff;--okbg: #143026;--ok: #57d98b;--errbg: #3d2220;--err: #ff9b95;--warnbg: #342a15;--warn: #ffcf5e;--row-hover: #26272a;--shadow-sm: 0 1px 2px rgba(0, 0, 0, .35);--shadow-lg: 0 20px 40px -16px rgba(0, 0, 0, .6), 0 6px 14px -8px rgba(0, 0, 0, .35)}*{box-sizing:border-box}body{margin:0;font-family:var(--font);background:var(--bg);color:var(--txt);min-height:100vh;font-size:14px;line-height:1.55;-webkit-font-smoothing:antialiased}button{font-family:var(--font);cursor:pointer}::placeholder{color:var(--faint)}:focus-visible{outline:2px solid var(--acc);outline-offset:2px}.layout{display:flex;min-height:100vh}.sidebar{width:240px;background:var(--sidebar);border-right:1px solid var(--line);color:var(--side-txt);display:flex;flex-direction:column;flex-shrink:0;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:600;color:var(--txt);letter-spacing:-.01em;height:56px;padding:0 20px;flex-shrink:0}.brand .logo{width:26px;height:26px;flex-shrink:0;display:flex;align-items:center;justify-content:center;border-radius:7px;box-shadow:var(--shadow-sm)}.brand .logo svg{width:26px;height:26px;display:block}.brand b{font-weight:800;color:var(--acc)}.nav-toggle{display:none;width:32px;height:32px;align-items:center;justify-content:center;border-radius:6px;border:none;background:none;color:var(--txt);flex-shrink:0}.nav-toggle svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round}.side-nav{padding:8px 12px 12px;display:flex;flex-direction:column;gap:2px;flex:1;overflow-y:auto}.side-nav button{position:relative;display:flex;align-items:center;gap:11px;width:100%;padding:8px 12px;border-radius:6px;color:var(--side-txt);background:none;border:none;text-align:left;font:inherit;font-size:13px;font-weight:500;transition:background .12s ease}.side-nav button:hover{background:var(--nav-hover);color:var(--txt)}.side-nav button.on{background:var(--nav-on);color:var(--acc-deep);font-weight:600}.side-nav button.on:before{content:"";position:absolute;left:0;top:8px;bottom:8px;width:3px;border-radius:0 3px 3px 0;background:var(--acc)}.side-nav button svg{width:16px;height:16px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;opacity:.9}.side-bottom{height:48px;padding:8px 12px;border-top:1px solid var(--line);display:flex;align-items:center;flex-shrink:0}.collapse-btn{width:32px;height:32px;border:none;background:transparent;border-radius:6px;color:var(--muted);display:flex;align-items:center;justify-content:center;padding:0}.collapse-btn:hover{background:var(--nav-hover);color:var(--txt)}.collapse-btn svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.9}.sidebar.collapsed{width:56px}.sidebar.collapsed .brand{padding:0;justify-content:center}.sidebar.collapsed .brand span:not(.logo){display:none}.sidebar.collapsed .side-nav{padding:8px 6px}.sidebar.collapsed .side-nav button{padding:9px;justify-content:center}.sidebar.collapsed .side-nav .nav-label{display:none}.sidebar.collapsed .side-bottom{justify-content:center;padding:8px 6px}.content{flex:1;min-width:0;display:flex;flex-direction:column;min-height:100vh}.topbar{position:sticky;top:0;z-index:20;background:var(--surface);border-bottom:1px solid var(--line);display:flex;align-items:center;gap:4px;padding:0 12px 0 16px;flex-shrink:0;min-height:56px}.topbar .icon-btn{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:6px;border:none;background:none;color:var(--txt)}.topbar .icon-btn:hover{background:var(--nav-hover)}.topbar .icon-btn svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.theme-pill{width:auto;height:32px;display:flex;align-items:center;gap:4px;padding:0 6px;border-radius:6px;border:none;background:none;color:var(--txt);font-size:13px;font-weight:600}.theme-pill:hover{background:var(--nav-hover)}.theme-pill svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.theme-pill .icon-sun{display:block}.theme-pill .icon-moon,html[data-theme=dark] .theme-pill .icon-sun{display:none}html[data-theme=dark] .theme-pill .icon-moon{display:block}.tb-act{display:flex;align-items:center;gap:6px;margin-left:auto}.page-head{font-size:22px;font-weight:700;letter-spacing:-.02em;color:var(--txt-strong);margin:0 0 6px}.page-sub{color:var(--muted);font-size:13px;margin:0 0 20px;max-width:760px}.main{flex:1;min-width:0;padding:24px 40px 32px}.app-footer{flex-shrink:0;height:48px;padding:0 32px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:flex-end;font-size:12px;color:var(--muted);background:var(--bg);margin-top:auto}.user-menu{position:relative}.user-chip{display:flex;align-items:center;background:none;border:none;padding:0;border-radius:6px}.user-chip:hover{background:var(--nav-hover)}.user-avatar{width:32px;height:32px;border-radius:6px;color:var(--txt);display:flex;align-items:center;justify-content:center}.user-avatar svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.user-drop{position:absolute;right:0;top:calc(100% + 8px);width:230px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-md);box-shadow:var(--shadow-lg);padding:6px 0;z-index:30;animation:menuFadeIn .12s ease-out}@keyframes menuFadeIn{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.account-menu-email{padding:8px 16px;font-size:13px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-drop-sep{height:1px;background:var(--line);margin:5px 0}.acc-item{display:flex;width:100%;align-items:center;justify-content:space-between;background:none;border:none;text-align:left;padding:8px 16px;font-size:13.5px;font-weight:500;color:var(--txt);font-family:var(--font)}.acc-item:hover{background:var(--nav-hover)}.acc-item.danger{color:var(--err)}.acc-item.danger:hover{background:var(--errbg)}.acc-item .lang-chev{transition:transform .12s ease}.acc-item[aria-expanded=true] .lang-chev{transform:rotate(180deg)}.lang-sub{max-height:0;overflow:hidden;transition:max-height .15s ease}.lang-sub.open{max-height:90px}.lang-sub .lang-opt{padding-left:28px}.lang-sub .lang-opt.active{color:var(--acc-deep);font-weight:600}.section{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-md);margin-bottom:20px}.section-head{padding:14px 20px;border-bottom:1px solid var(--line);font-size:14px;font-weight:600;color:var(--txt-strong);display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.section-body{padding:24px}table{width:100%;border-collapse:collapse}th{text-align:left;padding:10px 20px;font-size:11px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.05em;border-bottom:1px solid var(--line-strong);white-space:nowrap}td{padding:12px 20px;border-bottom:1px solid var(--line);vertical-align:middle;font-size:13px}tr:last-child td{border-bottom:none}tr:hover td{background:var(--row-hover)}.cell-main{font-weight:500;color:var(--txt-strong)}.cell-sub{color:var(--muted);font-size:12px;font-family:ui-monospace,Menlo,Consolas,monospace}.num{text-align:right;font-variant-numeric:tabular-nums}.dest{max-width:340px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:13px}.actions-cell{white-space:nowrap;text-align:right}.actions-cell .btn{margin-left:6px}.mono{font-family:ui-monospace,Menlo,Consolas,monospace}input,select,textarea{background:var(--surface);color:var(--txt);border:1px solid var(--line-strong);border-radius:var(--r-sm);padding:9px 12px;font-size:13px;width:100%;font-family:var(--font)}input:hover,select:hover{border-color:var(--muted)}input:focus,select:focus{outline:none;border-color:var(--acc);box-shadow:0 0 0 3px #f6821f2e}.field{display:flex;gap:14px;flex-wrap:wrap;align-items:end}.field>*{flex:1;min-width:150px}.lbl{display:block;font-size:11px;font-weight:600;color:var(--muted);margin-bottom:6px;letter-spacing:.02em}.btn{background:var(--btn-bg);color:var(--btn-txt);border:1px solid transparent;border-radius:var(--r-sm);padding:8px 18px;font-size:13px;font-weight:600;width:auto;white-space:nowrap;transition:background .12s ease;box-shadow:var(--shadow-sm)}.btn:hover{background:var(--acc-hover)}.btn.sm{font-size:12px;padding:6px 12px}.btn.ghost{background:var(--surface);color:var(--txt);border:1px solid var(--line-strong);box-shadow:none}.btn.ghost:hover{background:var(--row-hover);border-color:var(--muted)}.btn.danger{background:var(--surface);color:var(--err);border:1px solid rgba(198,40,40,.4);box-shadow:none}.btn.danger:hover{background:var(--errbg);border-color:var(--err)}.btn:disabled{opacity:.45;cursor:not-allowed;pointer-events:none}.link-btn{background:none;border:none;padding:2px 8px;font:inherit;font-size:12px;font-weight:600;color:var(--muted);border-radius:6px}.link-btn:hover{color:var(--txt-strong);background:var(--row-hover)}.link-btn.danger{color:var(--err)}.badge{display:inline-block;padding:1px 9px;border-radius:999px;font-size:11px;font-weight:600;line-height:18px}.badge.ok{background:var(--okbg);color:var(--ok)}.badge.no{background:var(--surface2);color:var(--muted)}.badge.err{background:var(--errbg);color:var(--err)}.badge.warn{background:var(--warnbg);color:var(--warn)}.si{position:relative;flex:1;min-width:150px;max-width:400px}.si>svg{position:absolute;left:11px;top:50%;transform:translateY(-50%);width:15px;height:15px;stroke:var(--muted);fill:none;stroke-width:2;stroke-linecap:round;pointer-events:none}.si input{padding-left:34px}.si:focus-within>svg{stroke:var(--acc)}.list-bar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:14px}.mgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin-bottom:16px}.metric{display:flex;align-items:center;gap:14px;background:var(--surface);border:1px solid var(--line);border-left:3px solid var(--line-strong);border-radius:var(--r-md);padding:16px 18px}.metric .mic{width:40px;height:40px;border-radius:10px;flex-shrink:0;display:flex;align-items:center;justify-content:center}.metric .mic svg{width:19px;height:19px;stroke:#7c2d12;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.metric .ml{font-size:10.5px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}.metric .mv{font-size:19px;font-weight:700;letter-spacing:-.02em;color:var(--txt-strong);font-variant-numeric:tabular-nums}.metric.orange{border-left-color:#a13e00}.metric.orange .mic{background:#fde8cf}.metric.green{border-left-color:#ea580c}.metric.green .mic{background:#ffedd5}.metric.blue{border-left-color:#f59e0b}.metric.blue .mic{background:#fef3c7}.metric.violet{border-left-color:#6d28d9}.metric.violet .mic{background:#ede9fe}.modal-overlay{position:fixed;inset:0;background:#14141680;display:flex;align-items:center;justify-content:center;z-index:50;padding:20px}.modal-card{width:100%;max-width:520px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:var(--shadow-lg);padding:28px;max-height:calc(100dvh - 40px);overflow-y:auto}.modal-card h3{margin:0 0 8px;font-size:17px;font-weight:600;letter-spacing:-.01em;color:var(--txt-strong)}.modal-card .modal-desc{margin:0 0 22px;color:var(--muted);font-size:13px;line-height:1.6;word-break:break-word}.modal-card input{margin-bottom:16px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.fm{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:end}.fm .span2{grid-column:span 2}.email-chip{display:inline-flex;align-items:center;gap:8px;max-width:100%;background:var(--surface2);border:1px solid var(--line-strong);border-radius:999px;padding:5px 12px;font:inherit;font-family:ui-monospace,Menlo,Consolas,monospace;font-size:12.5px;color:var(--txt);cursor:copy;transition:border-color .12s ease,background .12s ease;margin-bottom:12px}.email-chip:hover{border-color:var(--acc);background:var(--nav-on);color:var(--acc-deep)}.email-chip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.email-chip svg{width:13px;height:13px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;opacity:.7}.auth-wrap{min-height:100vh;display:flex;align-items:center;justify-content:center;background:var(--bg);padding:24px}.auth-card{width:100%;max-width:400px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:var(--shadow-sm);padding:36px 38px}.auth-card h1{font-size:20px;margin:0 0 20px;font-weight:600;color:var(--txt-strong)}.auth-card .field{margin-bottom:16px}.auth-card .ts-wrap{display:flex;justify-content:center;margin-bottom:16px}.pw-wrap{position:relative;display:flex;width:100%}.pw-wrap input{padding-right:40px}.pw-eye{position:absolute;right:4px;top:50%;transform:translateY(-50%);background:none;border:none;cursor:pointer;color:var(--muted);padding:6px;line-height:0;display:flex}.pw-eye:hover{color:var(--txt)}.pw-eye svg{width:18px;height:18px}.auth-row{display:flex;justify-content:space-between;align-items:center;margin-top:16px}.auth-link{color:var(--acc-deep);font-weight:500;font-size:13px;background:none;border:none;padding:0}.auth-link:hover{text-decoration:underline}.google-btn{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;background:var(--surface);border:1px solid var(--line-strong);border-radius:var(--r-sm);color:var(--txt);padding:9px 18px;font-size:13px;font-weight:600}.google-btn:hover{background:var(--row-hover);border-color:var(--muted)}.google-btn svg{width:17px;height:17px;flex-shrink:0}.auth-divider{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:12px;margin:14px 0 0}.auth-divider:before,.auth-divider:after{content:"";flex:1;height:1px;background:var(--line-strong)}.msg{position:fixed;top:16px;left:50%;transform:translate(-50%);z-index:80;padding:10px 18px;border-radius:var(--r-md);font-size:13px;font-weight:600;box-shadow:var(--shadow-lg);border:1px solid var(--line);background:var(--surface);animation:menuFadeIn .15s ease-out;max-width:90vw}.msg.ok{background:var(--okbg);color:var(--ok);border-color:transparent}.msg.err{background:var(--errbg);color:var(--err);border-color:transparent}.verify-banner{background:var(--warnbg);border:1px solid var(--line);border-radius:var(--radius);padding:10px 16px;margin:0 0 16px;font-size:13px;display:flex;gap:12px;align-items:center;justify-content:space-between;color:var(--warn)}.spinner{width:20px;height:20px;border:2px solid var(--line);border-top-color:var(--acc);border-radius:50%;animation:spin .7s linear infinite;margin:0 auto}@keyframes spin{to{transform:rotate(360deg)}}.center-box{display:flex;flex-direction:column;align-items:center;gap:12px;padding:48px 0;color:var(--muted);font-size:13px}.chart{width:100%;height:180px;display:block}.chart .bar{fill:var(--acc);opacity:.85}.chart .bar:hover{opacity:1}.chart .axis{stroke:var(--line-strong)}@media(max-width:820px){.sidebar{position:fixed;left:-260px;z-index:40;transition:left .18s ease;height:100dvh}.sidebar.open{left:0;box-shadow:var(--shadow-lg)}.nav-overlay{position:fixed;inset:0;background:#14141673;z-index:35}.nav-toggle{display:flex}.main{padding:18px 16px 28px}.theme-pill span{display:none}.fm{grid-template-columns:1fr}.fm .span2{grid-column:auto}}
