:root{--blue: #2563eb;--blue-dark: #1d4ed8;--blue-deep: #1e3a8a;--cyan: #06b6d4;--violet: #8b5cf6;--violet-dark: #6d28d9;--ink: #0b1020;--text: #0b1020;--text-2: #334155;--muted: #475569;--line: #e2e8f0;--line-soft: #f1f5f9;--field: #cbd5e1;--canvas: #f8fafc;--surface: #ffffff;--soft-blue: #eff6ff;--soft-violet: #f5f3ff;--danger: #b91c1c;--danger-line: #fca5a5;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;color:var(--text);background:var(--canvas);-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;background:var(--canvas)}a{color:var(--blue-dark)}a:hover{color:var(--blue-deep)}h1,h2,h3,p{margin:0}button,input,select{font-family:inherit}:focus-visible{outline:3px solid rgba(37,99,235,.45);outline-offset:2px}.row{display:flex;align-items:center}.col{display:flex;flex-direction:column}.wrap{flex-wrap:wrap}.gap4{gap:4px}.gap8{gap:8px}.gap10{gap:10px}.gap12{gap:12px}.gap16{gap:16px}.gap24{gap:24px}.muted{color:var(--muted)}.small{font-size:13px}.strong{font-weight:600}.right{text-align:right}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.layout{min-height:100vh;display:flex;flex-wrap:wrap}.sidebar{flex:1 1 232px;max-width:100%;background:var(--surface);border-right:1px solid var(--line);padding:24px 16px;display:flex;flex-direction:column;gap:24px}.brand{display:flex;align-items:center;gap:10px;padding:0 8px}.brand img{height:28px;width:auto}.brand-name{font-size:18px;font-weight:700}.badge-admin{font-size:11px;font-weight:600;padding:3px 8px;border-radius:999px;background:var(--soft-violet);color:var(--violet-dark)}.nav{display:flex;flex-direction:column;gap:4px}.nav a{display:flex;align-items:center;gap:12px;height:44px;padding:0 12px;border-radius:10px;color:var(--text-2);font-size:15px;font-weight:500;text-decoration:none}.nav a:hover{background:var(--canvas);color:var(--ink)}.nav a.active{background:var(--soft-blue);color:var(--blue-dark);font-weight:600}.nav .count{margin-left:auto;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--violet);color:#fff;font-size:12px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}.me{margin-top:auto;display:flex;align-items:center;gap:10px;padding:12px;border-radius:12px;background:var(--canvas)}.me .who{display:flex;flex-direction:column;min-width:0;flex:1}.me .who span:first-child{font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.me .who span:last-child{font-size:12px;color:var(--muted)}.icon-btn{width:40px;height:40px;border-radius:10px;border:1px solid var(--line);background:var(--surface);color:var(--text-2);display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.icon-btn:hover{color:var(--ink);border-color:var(--field)}.main{flex:999 1 560px;min-width:0;padding:32px 40px 48px;display:flex;flex-direction:column;gap:24px}@media(max-width:720px){.main{padding:20px 16px 40px}.sidebar{padding:16px;gap:12px;border-right:0;border-bottom:1px solid var(--line)}.nav{flex-direction:row;flex-wrap:wrap}.nav a{height:40px;font-size:14px}.me{margin-top:0}}.page-header{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px}.page-header h1{font-size:30px;font-weight:700;letter-spacing:-.01em}.subtitle{font-size:15px;color:var(--muted)}.crumbs{font-size:14px;color:var(--muted);display:flex;gap:8px}.crumbs a{text-decoration:none;font-weight:500}.card{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:24px;display:flex;flex-direction:column;gap:16px;min-width:0}.card h2{font-size:18px;font-weight:600}.card-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:12px}.card.flush{padding:0;gap:0;overflow:hidden}.kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}.kpi{padding:20px;gap:8px}.kpi-label{font-size:14px;font-weight:500;color:var(--muted)}.kpi-value{font-size:30px;font-weight:700;letter-spacing:-.02em}.kpi-hint{font-size:13px;font-weight:600;color:var(--muted)}.split{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-start}.split>.wide{flex:2 1 520px;min-width:0}.split>.narrow{flex:1 1 300px;min-width:0}.bars{height:220px;display:flex;align-items:flex-end;gap:4px;border-bottom:1px solid var(--line)}.bars>div{flex:1 1 0;min-width:0;display:flex;flex-direction:column;justify-content:flex-end;gap:2px;height:100%}.bars .seg{border-radius:3px 3px 0 0}.axis{display:flex;justify-content:space-between;font-size:12px;color:var(--muted)}.hbar{background:var(--line-soft);border-radius:999px;overflow:hidden;flex:1 1 auto}.legend{display:flex;flex-wrap:wrap;gap:14px;font-size:13px;color:var(--text-2)}.legend span{display:inline-flex;align-items:center;gap:6px}.swatch{width:10px;height:10px;border-radius:3px;display:inline-block}.stack{display:flex;height:10px;border-radius:999px;overflow:hidden;background:var(--line-soft)}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:14px}th{text-align:left;color:var(--muted);font-size:13px;font-weight:500;padding:12px;border-bottom:1px solid var(--line);background:var(--canvas);white-space:nowrap}td{padding:12px;border-bottom:1px solid var(--line-soft);vertical-align:middle}th:first-child,td:first-child{padding-left:20px}th:last-child,td:last-child{padding-right:20px}tr.click{cursor:pointer}tr.click:hover td{background:#fbfdff}.person{display:flex;align-items:center;gap:12px;color:var(--ink);text-decoration:none}.person .names{display:flex;flex-direction:column;min-width:0}.person .names span:first-child{font-weight:600}.person .names span:last-child{font-size:12px;color:var(--muted)}.avatar{color:#fff;font-weight:700;display:inline-flex;align-items:center;justify-content:center;flex:none}.chip{font-size:12px;font-weight:600;padding:4px 10px;border-radius:999px;white-space:nowrap;display:inline-block}.dots{display:inline-flex;gap:3px}.dots span{width:8px;height:14px;border-radius:3px}.pagination{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:14px 20px;font-size:14px;color:var(--muted)}.empty{padding:24px 20px;color:var(--muted);font-size:14px}.btn{height:40px;padding:0 14px;border-radius:10px;border:1px solid var(--field);background:var(--surface);font-size:14px;font-weight:600;color:var(--ink);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;white-space:nowrap}.btn:hover:not(:disabled){border-color:#94a3b8}.btn:disabled{opacity:.5;cursor:not-allowed}.btn.lg{height:44px;padding:0 18px;border-radius:12px}.btn.primary{border:0;background:var(--blue);color:#fff}.btn.primary:hover:not(:disabled){background:var(--blue-dark)}.btn.gradient{border:0;background:linear-gradient(90deg,var(--blue),var(--violet));color:#fff}.btn.danger{border-color:var(--danger-line);color:var(--danger)}.btn.link{border:0;background:transparent;color:var(--blue-dark);padding:0;height:auto}.segmented{display:flex;padding:4px;border-radius:12px;background:var(--surface);border:1px solid var(--line)}.segmented button{height:36px;padding:0 14px;border:0;border-radius:9px;background:transparent;font-size:14px;font-weight:500;color:var(--text-2);cursor:pointer}.segmented button.on{background:var(--blue);color:#fff;font-weight:600}.filters{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end}.field{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:500;color:var(--text-2);flex:1 1 150px}.field.grow{flex:2 1 280px}.field input,.field select{height:44px;padding:0 12px;border-radius:12px;border:1px solid var(--field);background:var(--surface);font-size:14px;color:var(--ink);width:100%}.search{position:relative;display:block}.check{display:inline-flex;align-items:center;gap:8px;height:44px;font-size:14px;font-weight:500;color:var(--text-2);cursor:pointer}.check input{width:18px;height:18px;accent-color:var(--blue)}.search svg{position:absolute;left:14px;top:13px;color:var(--muted)}.search input{padding-left:42px}.tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);flex-wrap:wrap}.tabs button{height:44px;padding:0 16px;border:0;border-bottom:2px solid transparent;background:transparent;font-size:15px;font-weight:500;color:var(--muted);cursor:pointer}.tabs button[aria-selected=true]{border-bottom-color:var(--blue);color:var(--blue-dark);font-weight:600}.state{display:flex;align-items:center;gap:12px;padding:32px 20px;color:var(--muted);font-size:14px}.state.error{color:#7f1d1d;background:#fef2f2;border:1px solid #fecaca;border-radius:12px;padding:16px;justify-content:space-between;flex-wrap:wrap}.spinner{width:18px;height:18px;border-radius:50%;border:2px solid var(--line);border-top-color:var(--blue);animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.notice{display:flex;gap:10px;padding:14px 16px;border-radius:12px;font-size:13px;line-height:1.55}.notice svg{margin-top:1px}.notice.violet{background:var(--soft-violet);color:#4c1d95}.notice.blue{background:var(--soft-blue);color:var(--blue-deep)}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%);background:var(--ink);color:#fff;padding:12px 18px;border-radius:12px;font-size:14px;z-index:10}.tile{display:flex;align-items:center;gap:14px;padding:14px;border-radius:12px;text-decoration:none;color:var(--ink)}.tile .big{font-size:24px;font-weight:700;min-width:32px}.tile .txt{display:flex;flex-direction:column;gap:2px}.tile .txt span:first-child{font-size:14px;font-weight:600}.tile .txt span:last-child{font-size:13px;color:var(--muted)}dl.info{margin:0;display:grid;grid-template-columns:auto 1fr;gap:10px 16px;font-size:14px}dl.info dt{color:var(--muted)}dl.info dd{margin:0;min-width:0;overflow-wrap:anywhere}.timeline{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}.timeline li{display:flex;gap:14px;padding:12px 0;border-bottom:1px solid var(--line-soft)}.timeline .dot{width:10px;height:10px;margin-top:5px;border-radius:50%;flex:none}.timeline .what{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0;font-size:14px}.timeline .when{font-size:13px;color:var(--muted);white-space:nowrap}blockquote.excerpt{margin:0;padding:14px 16px;border-radius:12px;background:var(--canvas);font-size:14px;line-height:1.55;color:var(--text-2);white-space:pre-wrap;overflow-wrap:anywhere}.login{min-height:100vh;display:flex;flex-wrap:wrap}.login-brand{flex:1 1 480px;background:var(--ink);color:#fff;padding:56px;display:flex;flex-direction:column;justify-content:space-between;gap:48px;min-height:420px}.login-brand h1{font-size:44px;line-height:1.1;font-weight:800;letter-spacing:-.02em}.login-brand p{font-size:17px;line-height:1.6;color:#cbd5e1}.login-form{flex:1 1 480px;display:flex;align-items:center;justify-content:center;padding:48px 24px}.login-form>div{width:100%;max-width:400px;display:flex;flex-direction:column;gap:28px}.google-btn{height:52px;display:flex;align-items:center;justify-content:center;gap:12px;border-radius:12px;border:1px solid var(--field);background:#fff;font-size:16px;font-weight:600;color:var(--ink);cursor:pointer}.google-btn:hover:not(:disabled){border-color:#94a3b8}.google-btn:disabled{opacity:.6;cursor:progress}.denied{display:flex;gap:12px;padding:14px 16px;border-radius:12px;background:#fef2f2;border:1px solid #fecaca}@media(max-width:720px){.login-brand{padding:32px 24px;min-height:0;gap:24px}.login-brand h1{font-size:32px}}
