:root{--bg:#f5f6f8;--card:#fff;--ink:#17202c;--muted:#68727e;--line:#e3e7eb;--purple:#6757d9;--green:#0d9f74;--dark:#17201f;--shadow:0 12px 35px #1e2d410f}*{box-sizing:border-box}html,body{background:var(--bg);min-height:100%;color:var(--ink);margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,textarea,select{font:inherit}button,a{cursor:pointer}button{border:0}a{color:inherit;text-decoration:none}.loading{height:100vh;color:var(--muted);justify-content:center;align-items:center;gap:12px;display:flex}.brand-mark,.side-logo{color:#fff;background:#17201f;border-radius:13px;place-items:center;width:40px;height:40px;font-size:24px;font-weight:800;display:grid}.app-shell{min-height:100vh;display:flex}.sidebar{border-right:1px solid var(--line);z-index:3;background:#fff;flex-direction:column;align-items:center;width:112px;padding:14px 8px;display:flex;position:fixed;inset:0 auto 0 0}.side-logo{cursor:pointer;background:#17201f;margin:0 0 22px}.sidebar nav,.side-bottom{flex-direction:column;gap:6px;width:100%;display:flex}.side-bottom{margin-top:auto}.side-item{color:#68727e;background:0 0;border-radius:12px;flex-direction:column;align-items:center;gap:6px;width:100%;padding:11px 3px;font-size:11px;display:flex}.side-item span{font-size:23px;line-height:1}.side-item b{font-weight:600}.side-item:hover,.side-item.active{color:var(--ink);background:#eef0f3}.side-item.active{box-shadow:inset 3px 0 var(--purple)}.main-content{flex:1;min-width:0;margin-left:112px}.topbar{border-bottom:1px solid var(--line);background:#fff;justify-content:space-between;align-items:center;gap:32px;height:76px;padding:0 42px;display:flex}.search{color:#87919b;border:1px solid #d6dce3;border-radius:10px;align-items:center;gap:10px;width:100%;max-width:620px;height:42px;padding:0 14px;display:flex}.search input{border:0;outline:0;width:100%;font-size:15px}.top-links{color:#45515e;align-items:center;gap:28px;font-size:15px;display:flex}.avatar{color:#fff;background:#7968e2;border-radius:50%;place-items:center;width:34px;height:34px;font-weight:700;display:grid}.page-content{max-width:1600px;margin:auto;padding:38px 42px 70px}.welcome-row,.tool-hero{justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:28px;display:flex}.welcome-row h1,.tool-hero h1{letter-spacing:-.03em;margin:5px 0 8px;font-size:34px}.welcome-row p,.tool-hero p{color:var(--muted);margin:0}.eyebrow{letter-spacing:.13em;color:var(--purple);font-size:11px;font-weight:800;margin:0!important}.primary,.secondary,.dark,.danger{white-space:nowrap;border-radius:9px;justify-content:center;align-items:center;padding:11px 16px;font-size:14px;font-weight:700;display:inline-flex}.primary{background:var(--purple);color:#fff}.primary:hover{background:#5547c9}.dark{background:var(--dark);color:#fff}.secondary{color:#3f4a56;background:#fff;border:1px solid #cfd6df}.secondary:hover{border-color:var(--purple);color:var(--purple)}.danger{color:#c44444;background:#fff0f0}.small{padding:7px 10px;font-size:12px}.wide{width:100%}.feature-strip{grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:28px;display:grid}.feature-card,.section-card{background:var(--card);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:14px}.feature-card{min-height:150px;padding:22px}.feature-icon{color:#745ce9;margin-bottom:20px;font-size:27px;display:block}.feature-card h3{margin:0 0 8px;font-size:18px}.feature-card p{color:var(--muted);margin:0;font-size:14px;line-height:1.55}.section-card{margin:20px 0;overflow:hidden}.section-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:18px;padding:22px 26px;display:flex}.section-head h2{margin:0 0 5px;font-size:20px}.section-head p{color:var(--muted);margin:0;font-size:13px}.project-grid{grid-template-columns:repeat(3,1fr);gap:16px;padding:24px;display:grid}.project-card{border:1px solid var(--line);border-radius:12px;padding:18px}.project-top{justify-content:space-between;display:flex}.project-avatar{color:#6d53d8;background:#eee9ff;border-radius:12px;place-items:center;width:38px;height:38px;font-weight:800;display:grid}.project-card h3{margin:16px 0 5px}.project-card p,.project-card small{color:var(--muted);margin:0 0 12px}.icon-button{color:#8b949e;background:0 0;font-size:24px}.empty{text-align:center;color:var(--muted);grid-column:1/-1;padding:35px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;min-width:720px}th,td{text-align:left;border-bottom:1px solid var(--line);vertical-align:middle;padding:16px 26px;font-size:13px}th{color:var(--muted);background:#fafbfc;font-weight:700}td{color:#4d5864}td b{color:var(--ink)}td small{color:var(--muted)}.pill{color:#0d8b69;background:#e8f8f2;border-radius:999px;align-items:center;padding:5px 9px;font-size:12px;font-weight:700;display:inline-flex}.pill.off{color:#7c858e;background:#f0f1f3}.tool-layout{grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);gap:20px;display:grid}.tool-form{overflow:visible}.form-grid{grid-template-columns:1fr 1fr;gap:18px;padding:24px 26px;display:grid}.form-grid label,.login-card label,.modal label{color:#4c5762;flex-direction:column;gap:7px;font-size:13px;font-weight:700;display:flex}.form-grid .full{grid-column:1/-1}input,textarea,select{color:var(--ink);background:#fff;border:1px solid #d7dde4;border-radius:8px;outline:none;padding:11px 12px;font-size:14px}textarea{resize:vertical;min-height:90px}input:focus,textarea:focus,select:focus{border-color:var(--purple);box-shadow:0 0 0 3px #6757d91a}.form-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;padding:0 26px 24px;display:flex}.result-card pre{color:#d9e4f0;white-space:pre-wrap;background:#151b24;min-height:420px;max-height:620px;margin:0;padding:24px;font:12px/1.65 ui-monospace,SFMono-Regular,Menlo,monospace;overflow:auto}.admin-grid{grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:20px;display:grid}.stat{border:1px solid var(--line);background:#fff;border-radius:12px;padding:20px}.stat span{color:var(--muted);font-size:13px}.stat strong{margin-top:10px;font-size:27px;display:block}.inline-form{gap:12px;padding:22px 26px;display:flex}.inline-form input{flex:1;min-width:0}.modal-backdrop{z-index:10;background:#11192659;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal{background:#fff;border-radius:15px;gap:16px;width:min(480px,100%);padding:24px;display:grid;box-shadow:0 30px 90px #0003}.modal-head{justify-content:space-between;align-items:center;display:flex}.modal-head h2{margin:0}.modal-head button{color:var(--muted);background:0 0;font-size:24px}.login-page{background:#fff;grid-template-columns:1.1fr .9fr;min-height:100vh;display:grid}.login-hero{color:#fff;background:linear-gradient(145deg,#182321,#344b44);flex-direction:column;justify-content:space-between;padding:58px clamp(32px,8vw,130px);display:flex}.brand-lockup{align-items:center;gap:12px;font-size:18px;display:flex}.login-hero h1{letter-spacing:-.06em;max-width:700px;margin:18px 0;font-size:clamp(38px,5vw,70px);line-height:1.03}.login-hero>div:nth-child(2)>p:not(.eyebrow){color:#c6d2cc;max-width:560px;font-size:17px;line-height:1.7}.hero-chips{flex-wrap:wrap;gap:9px;margin-top:28px;display:flex}.hero-chips span{color:#d8e8df;border:1px solid #fff3;border-radius:99px;padding:8px 12px;font-size:12px}.login-hero small{color:#a9bbb1}.login-panel{place-items:center;padding:32px;display:grid}.login-card{gap:16px;width:min(390px,100%);display:grid}.login-card h2{margin:0;font-size:34px}.login-card>p:not(.eyebrow){color:var(--muted);margin:0 0 15px}.login-card .muted{color:var(--muted);text-align:center;font-size:12px;font-weight:400}.form-error{color:#be3f3f;background:#fff0f0;border:1px solid #f3cccc;border-radius:8px;padding:10px;font-size:13px}.toast{color:#fff;z-index:20;background:#182321;border-radius:9px;padding:13px 17px;font-size:13px;position:fixed;bottom:26px;right:26px;box-shadow:0 12px 30px #0000002e}@media (max-width:1050px){.feature-strip{grid-template-columns:repeat(2,1fr)}.tool-layout{grid-template-columns:1fr}.project-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:720px){.sidebar{width:72px}.main-content{margin-left:72px}.side-item b{display:none}.topbar{padding:0 18px}.top-links a{display:none}.page-content{padding:25px 16px 50px}.welcome-row,.tool-hero{flex-direction:column;align-items:flex-start}.feature-strip,.admin-grid,.project-grid,.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.inline-form{flex-direction:column}.login-page{grid-template-columns:1fr}.login-hero{min-height:360px;padding:30px}.login-hero h1{font-size:42px}}
