:root{--bg:#f6f8fb;--surface:#ffffff;--border:#e3e8ef;--text:#1f2937;--muted:#6b7280;--primary:#2563eb;--primary-dark:#1d4ed8;--primary-soft:#eff6ff;--surface-2:#f8fafc;--danger:#dc2626;--danger-soft:#fef2f2;--warn:#b45309;--warn-soft:#fef3c7;--ok:#059669;--ok-soft:#ecfdf5;--send:#6d28d9;--send-soft:#f5f3ff;--accent:var(--primary);--accent-bg:var(--primary-soft);--panel:var(--surface-2);--warn-bg:var(--warn-soft);--sp-1:4px;--sp-2:8px;--sp-3:12px;--sp-4:16px;--ctl-h:32px}*{box-sizing:border-box}body,html{margin:0;padding:0;height:100%}body{background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Malgun Gothic,sans-serif;font-size:14px}#root,.app{height:100%}.app{display:flex;flex-direction:column;height:100vh}.topnav{display:flex;align-items:center;gap:4px;padding:0 16px;min-height:52px;background:var(--surface);border-bottom:1px solid var(--border);flex:0 0 auto;flex-wrap:wrap;align-content:center;row-gap:2px;padding-block:4px}.topnav .brand{font-weight:800;font-size:17px;color:var(--primary);margin-right:16px;letter-spacing:-.5px}.topnav a{text-decoration:none;color:var(--muted);font-weight:600;padding:8px 14px;border-radius:8px}.topnav a:hover{background:#eef2f7;color:var(--text)}.topnav a.active{background:var(--primary);color:#fff}.topnav .nav-group{position:relative}.topnav .nav-group-btn,.topnav a{white-space:nowrap}.topnav .nav-group,.topnav>a{flex:0 0 auto}.topnav .nav-group-btn{font:inherit;color:var(--muted);font-weight:600;padding:8px 12px 8px 14px;border-radius:8px;border:0;background:transparent;cursor:pointer;display:block;text-align:left}.topnav .nav-group-btn.open,.topnav .nav-group-btn:hover{background:#eef2f7;color:var(--text)}.topnav .nav-group-btn.active{background:var(--primary);color:#fff}.topnav .nav-group-btn .caret{font-size:10px;opacity:.75;margin-left:5px}.topnav .nav-drop{position:absolute;top:calc(100% + 6px);left:0;z-index:60;min-width:190px;padding:6px;background:var(--surface);border:1px solid var(--border);border-radius:10px;box-shadow:0 10px 28px rgba(15,23,42,.16);display:flex;flex-direction:column;gap:2px}.topnav .nav-drop a{padding:8px 12px;border-radius:7px;white-space:nowrap}.topnav .grow{flex:1 1}.topnav .nav-logout{border:1px solid var(--border);background:#fff;color:var(--muted);font-weight:600;padding:7px 12px;border-radius:8px;cursor:pointer;margin-left:6px}.topnav .nav-logout:hover{background:#f3f4f6;color:var(--text)}.body{flex:1 1 auto;overflow:hidden}.body,.sheet-wrap{min-height:0;display:flex;flex-direction:column}.sheet-wrap{height:100%}.sheet-toolbar{display:flex;align-items:center;gap:8px;padding:8px 16px;border-bottom:1px solid var(--border);background:var(--surface);flex:0 0 auto;flex-wrap:wrap;row-gap:6px}.sheet-toolbar .title{font-weight:700;font-size:15px}.sheet-toolbar .grow{flex:1 1}.sheet-toolbar .msg{color:var(--muted);font-size:13px}.sheet-container{flex:1 1 auto;min-height:0;width:100%}.btn{border:1px solid var(--primary);background:var(--primary);color:#fff;font-weight:600;padding:7px 14px;border-radius:8px;cursor:pointer;font-size:13.5px;white-space:nowrap;flex:0 0 auto}.btn:hover{background:var(--primary-dark)}.btn:disabled{opacity:.5;cursor:not-allowed}.btn.secondary{background:#fff;color:var(--text);border-color:var(--border)}.btn.secondary:hover{background:#f3f4f6}.btn.send{background:var(--send-soft);color:var(--send);border-color:#c4b5fd}.btn.send:hover{background:#ede9fe}.btn.danger{background:#fff;color:var(--danger);border-color:#fca5a5}.btn.danger:hover{background:var(--danger-soft)}.btn.ghost{background:transparent;color:var(--muted);border-color:transparent}.btn.ghost:hover{background:#f1f5f9;color:var(--text)}.btn.sm{padding:3px 9px;font-size:12.5px;border-radius:7px}:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.tb-group{gap:5px;flex:0 0 auto}.tb-group,.tb-num{display:inline-flex;align-items:center}.tb-num{justify-content:center;width:18px;height:18px;border-radius:999px;background:#e2e8f0;color:#475569;font-size:11px;font-weight:800}.tb-label{color:var(--muted);font-size:12px;font-weight:600;white-space:nowrap}.tb-sep{width:1px;align-self:stretch;min-height:22px;background:var(--border);margin:0 4px;flex:0 0 auto}.tb-pct{width:34px;padding:3px 4px;text-align:center;border:1px solid var(--border);border-radius:6px;font-size:12.5px}.tb-note{color:var(--muted);font-size:12px;white-space:nowrap}.tb-end{margin-left:auto}.op-toast{position:fixed;right:16px;bottom:16px;z-index:900;max-width:min(620px,calc(100vw - 32px));max-height:min(50vh,420px);overflow-y:auto;padding:10px 34px 10px 14px;border-radius:10px;font-size:13px;line-height:1.5;box-shadow:0 10px 30px rgba(15,23,42,.18);background:#1f2937;color:#f9fafb;cursor:pointer;white-space:pre-wrap;word-break:break-word}.op-toast.ok{background:#065f46}.op-toast.err{background:#991b1b}.op-toast.warn{background:#92400e}.op-toast .x{position:absolute;right:10px;top:8px;opacity:.7;font-weight:700}.op-toast .prev{display:block;font-size:11.5px;opacity:.75;margin-bottom:2px}.page{padding:20px 24px;max-width:1100px}.page h1{font-size:20px;margin:0 0 4px}.hint{color:var(--muted);font-size:13px;margin:0 0 16px;line-height:1.6}.banner{padding:10px 14px;border-radius:8px;margin-bottom:14px;font-size:13.5px}.banner.info{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}.card{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:18px;margin-bottom:16px}.card h2{font-size:16px;margin:0 0 4px}.login-wrap{display:flex;align-items:center;justify-content:center;height:100%;background:var(--bg)}.login-card{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:32px 28px;width:340px;box-shadow:0 8px 30px rgba(0,0,0,.06);display:flex;flex-direction:column;gap:12px}.login-brand{font-weight:800;font-size:22px;color:var(--primary);letter-spacing:-.5px}.login-sub{color:var(--muted);margin:-6px 0 8px}.login-field{display:flex;flex-direction:column;gap:5px;font-size:13px;color:var(--muted);font-weight:600}.login-field input{padding:10px 12px;border:1px solid var(--border);border-radius:8px;font-size:14px;color:var(--text)}.login-err{color:#dc2626;font-size:13px;background:#fef2f2;border:1px solid #fecaca;padding:8px 10px;border-radius:8px}.sub-tabs{display:flex;gap:6px;margin-bottom:14px;flex-wrap:wrap;align-items:center}.sub-tabs a.tab,.sub-tabs button{border:1px solid var(--border);background:#fff;color:var(--muted);font-weight:600;padding:7px 16px;border-radius:8px;cursor:pointer;text-decoration:none;display:inline-block}.sub-tabs a.tab.active,.sub-tabs button.active{background:var(--primary);color:#fff;border-color:var(--primary)}.sheet-head{background:var(--surface);border-bottom:1px solid var(--border);padding:10px 16px 8px;flex:0 0 auto}.sub-tabs .grow{flex:1 1}.st-chip{text-decoration:none;border-radius:999px;padding:3px 11px;font-size:12.5px;font-weight:700;border:1px solid transparent;white-space:nowrap}.st-chip.fail{background:var(--danger-soft);color:var(--danger);border-color:#fecaca}.st-chip.done{background:var(--ok-soft);color:var(--ok);border-color:#a7f3d0}.st-chip.on{box-shadow:0 0 0 2px #111827}.st-chip.zero{opacity:.55}.hint-line{color:var(--muted);font-size:12.5px;min-width:0;flex:1 1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hint-line.open{white-space:normal}.statcards{display:grid;grid-template-columns:repeat(6,1fr);grid-gap:10px;gap:10px;margin-bottom:12px}@media (max-width:1180px){.statcards{grid-template-columns:repeat(3,1fr)}}.statcard{display:flex;align-items:center;gap:10px;background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:11px 14px;text-decoration:none;color:var(--text);transition:box-shadow .12s,border-color .12s,transform .12s}.statcard:hover{border-color:#cbd5e1;box-shadow:0 4px 14px rgba(15,23,42,.07);transform:translateY(-1px)}.statcard.on{border-color:var(--primary);box-shadow:0 0 0 1px var(--primary) inset}.statcard .ic{width:34px;height:34px;border-radius:9px;display:flex;align-items:center;justify-content:center;font-size:16px;flex:0 0 auto}.statcard .lab{flex:1 1;color:var(--muted);font-weight:600;font-size:13px}.statcard .num{font-size:23px;font-weight:800;letter-spacing:-.5px}.sheet-titlebar{display:flex;align-items:center;gap:10px;margin-bottom:8px}.sheet-title{font-size:18px;font-weight:800;margin:0;letter-spacing:-.3px;white-space:nowrap;flex:0 0 auto}.sheet-title .dot{color:var(--muted);font-weight:400}.sheet-titlebar .saved{color:var(--muted);font-size:12px}.sum-badge{background:#eef2ff;color:#3730a3;border:1px solid #e0e7ff;border-radius:999px;padding:3px 12px;font-size:12.5px;font-weight:600}.sum-badge b{font-weight:800}.sum-badge .dot{color:#a5b4fc;margin:0 2px}.sheet-titlebar .grow{flex:1 1}.tab-sep{width:1px;align-self:stretch;background:var(--border);margin:2px 6px}.pipe-row{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-top:10px}.pipe-row b{color:var(--muted);font-size:12.5px;font-weight:700}.pipe-chip{color:#fff;border-radius:999px;padding:2px 10px;font-size:12px;font-weight:600;cursor:pointer;text-decoration:none;transition:opacity .1s,box-shadow .1s}.pipe-chip:hover{filter:brightness(1.06)}.pipe-clear{color:var(--muted);font-size:12px;text-decoration:none;border:1px solid var(--border);border-radius:999px;padding:2px 10px;background:#fff}.pipe-clear:hover{background:#f3f4f6;color:var(--text)}.dd{position:relative;display:inline-block}.dd-back{position:fixed;inset:0;z-index:40}.dd-menu{position:absolute;top:calc(100% + 4px);left:0;z-index:41;background:#fff;border:1px solid var(--border);border-radius:10px;box-shadow:0 10px 30px rgba(15,23,42,.14);padding:6px;min-width:220px;display:flex;flex-direction:column;gap:2px}.dd-menu button{text-align:left;border:none;background:transparent;color:var(--text);font-weight:600;font-size:13.5px;padding:9px 12px;border-radius:8px;cursor:pointer;white-space:nowrap}.dd-menu button:hover{background:#f1f5f9}.op-polished{--bg:#f3f6fc;--border:#e5eaf4;--text:#25314a;--muted:#637087;--primary:#3f5bea;--primary-dark:#304bd0;--primary-soft:#eef1ff;--send:#6941be;--send-soft:#f4f0ff;--ok:#237b59;--ok-soft:#ecfaf3;--danger:#c13e48;--danger-soft:#fff1f2;--panel-shadow:0 2px 10px rgba(46,67,120,.025);--accent:var(--primary);--accent-bg:var(--primary-soft);background:var(--bg);line-height:1.45}.op-polished .ui-icon{width:16px;height:16px;flex:0 0 16px;vertical-align:-3px}.op-polished .ui-icon--excel{color:var(--ok)}.op-polished .topnav--polished{min-height:60px;padding:8px 26px;gap:5px;border-bottom-color:#e9edf6;box-shadow:0 1px 6px rgba(46,67,120,.025)}.op-polished .topnav--polished .brand{margin-right:23px;color:#3f5bea}.op-polished .topnav--polished>a{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 15px;font-size:13px;border-radius:9px}.op-polished .topnav--polished>a.active{background:linear-gradient(135deg,#4968f7,#3852e7);box-shadow:0 2px 5px rgba(63,91,234,.15)}.op-polished .topnav--polished .nav-group-btn{padding:10px 13px;font-size:13px;line-height:inherit}.op-polished .topnav--polished .nav-logout{min-height:38px;padding:8px 17px;font-family:inherit;font-size:12.5px}.op-polished .sheet-wrap--polished{padding:16px 20px}.sheet-wrap--polished .sheet-head{display:flex;flex-direction:column;gap:12px;padding:0;margin-bottom:12px;border:0;background:transparent}.sheet-wrap--polished .sheet-filters,.sheet-wrap--polished .sheet-titlebar,.sheet-wrap--polished .sheet-toolbar{background:var(--surface);border:1px solid #eaf0f8;border-radius:14px;box-shadow:var(--panel-shadow)}.sheet-wrap--polished .sheet-titlebar{display:grid;grid-template-columns:auto auto auto minmax(0,1fr) auto auto;grid-column-gap:10px;column-gap:10px;grid-row-gap:5px;row-gap:5px;align-content:center;min-height:88px;padding:14px 22px;margin:0}.sheet-wrap--polished .sheet-title{font-size:23px;line-height:1.35;color:#17213b}.sheet-wrap--polished .sheet-title .dot{color:inherit;font-weight:inherit}.sheet-wrap--polished .sum-badge{display:inline-flex;gap:5px;align-items:center;white-space:nowrap;padding:5px 12px;border:0;background:#eef0ff;color:#4056bd;font-size:12px}.sheet-wrap--polished .sheet-titlebar .saved{display:inline-flex;align-items:center;gap:6px;grid-column:5;grid-row:1/span 2;margin-right:8px;font-size:11.5px}.sheet-wrap--polished .sheet-titlebar>.grow{display:none}.sheet-wrap--polished .sheet-titlebar>.btn{grid-column:6;grid-row:1/span 2}.sheet-wrap--polished .sheet-description{grid-column:1/5;grid-row:2;margin:0;font-size:12.5px;color:var(--muted)}.sheet-wrap--polished .btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:8px 13px;font-family:inherit;font-size:12.5px;line-height:20px;border-radius:8px}.sheet-wrap--polished .btn:not(.secondary):not(.send):not(.danger):not(.ghost){background:linear-gradient(135deg,#4968f7,#3852e7);border-color:#4965ed;box-shadow:0 2px 5px rgba(63,91,234,.12)}.sheet-wrap--polished .btn:not(.secondary):not(.send):not(.danger):not(.ghost):hover{background:var(--primary-dark)}.sheet-wrap--polished .btn.secondary{box-shadow:0 1px 3px rgba(46,67,120,.035)}.sheet-wrap--polished .btn.send{border-color:#f0ebfc}.sheet-wrap--polished .btn.danger{border-color:#f19aa2}.sheet-wrap--polished .sheet-filters{padding:13px 18px}.sheet-wrap--polished .sub-tabs{margin:0;gap:8px}.sheet-wrap--polished .sub-tabs a.tab{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:8px 17px;font-size:13px;color:#4e5c76;white-space:nowrap;box-shadow:0 1px 3px rgba(46,67,120,.035)}.sheet-wrap--polished .sub-tabs a.tab.active{color:#fff;border-color:#4965ed;background:linear-gradient(135deg,#4968f7,#3852e7);box-shadow:0 2px 5px rgba(63,91,234,.12)}.sheet-wrap--polished .tab-count{padding:0 5px;border-radius:7px;background:#f0f3f9;color:#57657f;font-size:11px;line-height:17px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.sheet-wrap--polished .tab.active .tab-count{color:#fff;background:rgba(255,255,255,.13)}.sheet-wrap--polished .tab-sep{margin:3px 9px}.sheet-wrap--polished .st-chip{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;padding:6px 13px;border-color:transparent;border-radius:10px;font-size:12px}.sheet-wrap--polished .pipe-row{margin-top:10px;gap:8px}.sheet-wrap--polished .pipe-row>b{display:inline-flex;align-items:center;gap:7px;margin-right:8px;font-size:12px}.sheet-wrap--polished .pipe-row>b .ui-icon{color:#8260b1}.sheet-wrap--polished .pipe-chip{padding:4px 13px;font-size:11px;line-height:16px;opacity:1;box-shadow:none;text-decoration:none;white-space:nowrap}.sheet-wrap--polished .pipe-chip--waiting{background:#66748f}.sheet-wrap--polished .pipe-chip--creating{background:#a86008}.sheet-wrap--polished .pipe-chip--created{background:#227b9d}.sheet-wrap--polished .pipe-chip--key-waiting{background:#7541d1}.sheet-wrap--polished .pipe-chip--checking{background:#3e5cd5}.sheet-wrap--polished .pipe-chip--done{background:#27815c}.sheet-wrap--polished .pipe-chip--failed{background:#c64049}.sheet-wrap--polished .sheet-toolbar{min-height:62px;padding:11px 18px;column-gap:8px;row-gap:7px;color:var(--muted);font-size:12px}.sheet-wrap--polished .toolbar-search{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto}.sheet-wrap--polished .toolbar-search-input{width:150px;height:38px;padding:8px 10px;border:1px solid var(--border);border-radius:8px;font:inherit;font-size:12.5px;color:var(--text);background:#fff}.sheet-wrap--polished .toolbar-search-input::placeholder{color:var(--muted);opacity:1}.sheet-wrap--polished .tb-group{gap:6px}.sheet-wrap--polished .tb-num{width:20px;height:20px;background:#edf0f8;color:#596789;font-size:11px;font-weight:700}.sheet-wrap--polished .tb-pct{width:38px;height:34px;padding:5px 4px;background:#fff;color:var(--text);font-family:inherit}.sheet-wrap--polished .tb-label{font-size:12px;font-weight:500}.sheet-wrap--polished .tb-sep{align-self:center;height:24px;min-height:24px;margin:0 2px}.sheet-wrap--polished .toolbar-caret{color:var(--muted);font-size:10px}.sheet-wrap--polished .timezone-label,.sheet-wrap--polished .toolbar-timezone{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.sheet-wrap--polished .toolbar-timezone{margin-left:3px;color:var(--muted);font-size:12px}.sheet-wrap--polished .timezone-label{cursor:pointer}.sheet-wrap--polished .timezone-label input{width:14px;height:14px;margin:0;accent-color:var(--primary)}.sheet-wrap--polished .tb-note{font-size:11px}.sheet-wrap--polished .tb-end{margin-left:auto}.sheet-wrap--polished .event-log{flex:0 0 auto}.sheet-wrap--polished .event-log-row{display:flex;align-items:center;gap:10px;min-height:44px;padding:5px 12px;font-size:12px}.sheet-wrap--polished .event-log-title{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;font-size:13px}.sheet-wrap--polished .event-log-title .ui-icon{color:#61708e}.sheet-wrap--polished .event-log-muted{color:var(--muted)}.sheet-wrap--polished .event-log-fail{margin-left:6px;color:var(--danger)}.sheet-wrap--polished .event-log-grow{flex:1 1}.sheet-wrap--polished .event-log-action{min-height:32px;padding:4px 13px;font-size:12px}.sheet-wrap--polished .sheet-container{border:1px solid #e5eaf4;border-radius:14px}@media (max-width:1600px){.op-polished .topnav--polished{min-height:54px;padding:6px 18px;gap:3px}.op-polished .topnav--polished .brand{margin-right:14px;font-size:16px}.op-polished .topnav--polished>a{padding:9px 11px;font-size:12px}.op-polished .topnav--polished .nav-group-btn{padding:9px 10px;font-size:12px}.op-polished .topnav--polished .nav-logout{min-height:34px;padding:7px 12px;font-size:12px}.op-polished .sheet-wrap--polished{padding:10px 16px}.sheet-wrap--polished .sheet-head{gap:10px;margin-bottom:10px}.sheet-wrap--polished .sheet-titlebar{min-height:76px;padding:10px 18px;row-gap:4px}.sheet-wrap--polished .sheet-title{font-size:21px}.sheet-wrap--polished .sum-badge{padding:4px 10px;font-size:11.5px}.sheet-wrap--polished .sheet-description{font-size:12px}.sheet-wrap--polished .sheet-filters{padding:10px 14px}.sheet-wrap--polished .sub-tabs{gap:6px}.sheet-wrap--polished .sub-tabs a.tab{min-height:34px;padding:6px 13px;font-size:12px}.sheet-wrap--polished .st-chip{min-height:30px;padding:4px 10px}.sheet-wrap--polished .pipe-row{margin-top:8px;gap:7px}.sheet-wrap--polished .pipe-chip{padding:3px 11px}.sheet-wrap--polished .btn{min-height:34px;padding:6px 11px;font-size:12px;gap:6px}.sheet-wrap--polished .sheet-toolbar{min-height:48px;padding:6px 14px;row-gap:6px;column-gap:7px}.sheet-wrap--polished .toolbar-search-input{height:34px;width:170px;font-size:12px}.sheet-wrap--polished .tb-pct{height:30px;width:34px}.sheet-wrap--polished .event-log-row{min-height:34px;padding:3px 10px;font-size:11.5px}.sheet-wrap--polished .event-log-action{min-height:28px;padding:3px 11px;font-size:11.5px}}@media (max-width:1100px){.sheet-wrap--polished .sheet-titlebar{grid-template-columns:auto auto auto minmax(0,1fr) auto}.sheet-wrap--polished .sheet-titlebar>.btn{grid-column:5}.sheet-wrap--polished .sheet-titlebar .saved{grid-column:4;grid-row:1;margin:0;justify-self:end}.sheet-wrap--polished .sub-tabs .grow{flex-basis:100%;height:0}.sheet-wrap--polished .sub-tabs .st-chip.done{margin-left:auto}.sheet-wrap--polished .event-log-row{flex-wrap:wrap}}