:root{font-family:"Segoe UI Variable","Segoe UI",sans-serif;color:#2c2723;background:#f7f6f6;font-synthesis:none;--accent:#644730;--line:#e9e7e5;--muted:#837d78}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer;border:1px solid var(--line);background:#fff;color:inherit;border-radius:9px;padding:10px 16px;font-size:14px;transition:background .15s,border-color .15s}button:hover{border-color:#aea49c;background:#f9f7f6}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #d4cac1;outline-offset:3px}.primary{background:var(--accent);color:#fff;border-color:var(--accent);font-weight:600}.primary:hover{background:#513a27;color:#fff}.muted{color:var(--muted);line-height:1.6}h1,h2,h3,p{margin-top:0}h1{font-size:30px;letter-spacing:-.7px;margin-bottom:8px}h2{font-size:18px;letter-spacing:-.25px;margin-bottom:6px}h3{font-size:16px;margin-bottom:8px}label{display:block;font-size:13px;font-weight:500;margin:18px 0 0}input:not([type=checkbox]),textarea,select{display:block;width:100%;background:#f9f9f9;border:1px solid var(--line);border-radius:9px;padding:11px 12px;margin-top:7px;color:inherit;outline:none}input:focus,textarea:focus,select:focus{border-color:var(--accent);box-shadow:0 0 0 3px #64473010}input:disabled{color:var(--muted)}input::placeholder,textarea::placeholder{color:#9c9997}textarea{resize:vertical}.checkbox-label{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:400}.checkbox-label input{width:17px;height:17px;accent-color:var(--accent);margin:0}.help-text,.footnote{font-size:12px;line-height:1.6;color:var(--muted);margin:8px 0 20px}.error{color:#b83b3b;font-size:13px;line-height:1.5;min-height:10px}.auth-screen{min-height:100vh;display:grid;place-items:center;padding:30px}.auth-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:38px;width:min(440px,100%);box-shadow:0 20px 70px #352f2a10}.auth-card h1{margin-top:16px}.auth-card h2{margin-top:28px}.auth-card button{width:100%;margin-top:8px}.brand-mark{width:50px;height:50px;background:#f2efec;border:1px solid #e8e2dd;color:var(--accent);border-radius:14px;display:grid;place-items:center;font-weight:700;font-size:18px}.brand-mark.small{width:38px;height:38px;border-radius:11px;font-size:14px;background:#3c352f;border-color:#4b433d;color:#d4c5b9}.workspace{display:grid;grid-template-columns:232px minmax(0,1fr);min-height:100vh}aside{background:#2c2723;color:#e0dcd8;padding:28px 16px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;gap:12px;text-decoration:none;color:#fff;font-size:22px;font-weight:600;align-items:center;padding:0 8px}.brand small{display:block;font-size:8px;letter-spacing:1.4px;color:#bbb4af;font-weight:400;margin-top:5px}nav{margin-top:42px}.nav-button{border:0;background:transparent;color:#d4d0cc;text-align:left;display:flex;align-items:center;gap:12px;width:100%;margin-bottom:7px;padding:13px 12px}.nav-button:hover{background:#38322d;border:0}.nav-button.active{background:#403933;color:#fff}.nav-icon{font-size:19px;line-height:20px;width:22px;text-align:center}.sidebar-bottom{margin-top:auto;padding:18px 12px 0;font-size:12px;color:#bbb4af}.connection-dot{display:inline-block;width:6px;height:6px;background:#8d6b50;border-radius:50%;margin-right:5px}.logout{display:block;background:transparent;color:#e0dcd8;border:0;padding:20px 0 0;font-size:12px}.logout:hover{background:transparent;color:#fff}.main-content{padding:38px 44px;max-width:1600px;width:100%;margin:0 auto}header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:38px}header .muted{font-size:14px;margin-bottom:0}.eyebrow{font-size:10px;letter-spacing:1.8px;color:var(--muted);margin-bottom:12px}.admin-badge,.pill{display:inline-block;border:1px solid var(--line);background:#fff;border-radius:6px;padding:6px 10px;font-size:11px;color:var(--muted);white-space:nowrap}.admin-badge{margin-top:30px}.section-heading{display:flex;gap:20px;justify-content:space-between;align-items:center;margin-bottom:20px}.section-heading .muted{font-size:13px;max-width:650px;margin:5px 0 0}.section-heading button{flex-shrink:0}.table-card,.settings-card{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:auto}table{border-collapse:collapse;width:100%;font-size:13px}th{color:var(--muted);font-weight:500;font-size:11px;text-align:left;padding:15px 20px;background:#fbfbfb;border-bottom:1px solid var(--line);white-space:nowrap}td{padding:18px 20px;border-bottom:1px solid #f0efee;vertical-align:middle}tbody tr:last-child td{border-bottom:0}td strong{font-weight:600}td .secondary{display:block;font-size:11px;color:var(--muted);margin-top:5px}.uuid{max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:var(--muted)}.table-action{border:0;color:var(--accent);font-size:12px;background:transparent;padding:8px}.empty-state{text-align:center;padding:65px 24px 72px;color:var(--muted)}.empty-state h3{color:#544e4a}.empty-state p{font-size:13px;margin-bottom:0}.empty-symbol{width:46px;height:46px;border-radius:13px;background:#f4f3f2;color:#92857b;margin:0 auto 16px;display:grid;place-items:center;font-size:22px}.pill.online{background:#f2efec;color:#5e442e;border-color:#e8e3df}.pill.offline{background:#f8f8f8}.pill.blocked{color:#b83b3b;background:#fcf0f0;border-color:#f1dede}.footnote{margin-top:15px}.settings-card{padding:28px;max-width:820px;margin-bottom:16px}.settings-card.compact{padding:24px 28px}.settings-card.compact p{font-size:13px;margin:0}.settings-card form{max-width:640px}.settings-card .section-heading{margin-bottom:24px}.settings-card form>.primary{margin-top:6px}.notice{border:1px solid #e6e1dd;border-radius:9px;background:#f6f3f1;padding:12px 16px;color:#554436;font-size:13px;margin:0 0 24px}.notice.failure{color:#a63333;background:#fff4f2;border-color:#f0d9d5}dialog{border:1px solid var(--line);border-radius:16px;padding:28px;width:min(560px,calc(100% - 32px));max-height:90vh;color:inherit;box-shadow:0 30px 100px #231e1a30}dialog::backdrop{background:#221d1955;backdrop-filter:blur(2px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.dialog-heading h2{margin:0}.icon-button{width:32px;height:32px;padding:0;border:0;font-size:22px;color:var(--muted);background:transparent}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:14px}.code-result{background:#f7f5f4;border:1px solid #e8e3df;border-radius:10px;padding:18px;margin-top:20px}.code-result strong{font-size:13px}.code-result output{display:block;font-family:Consolas,monospace;overflow-wrap:anywhere;font-size:19px;letter-spacing:1px;margin:16px 0;color:var(--accent)}#code-form>.primary{margin-top:24px}[hidden]{display:none!important}@media(max-width:1000px){.main-content{padding:28px 24px}.workspace{grid-template-columns:195px 1fr}aside{padding:24px 12px}.brand{font-size:19px;gap:8px}.brand-mark.small{width:32px;height:32px}}@media(max-width:700px){.workspace{display:block}aside{position:static;height:auto;padding:18px}.brand small,.sidebar-bottom{display:none}nav{display:flex;margin-top:20px;gap:6px}.nav-button{justify-content:center;font-size:12px;padding:10px 6px;gap:6px;margin:0}.nav-icon{font-size:16px}.main-content{padding:24px 16px}header{margin-bottom:26px}.admin-badge{display:none}.section-heading{align-items:flex-start;flex-direction:column;gap:14px}th,td{padding:14px 16px}.settings-card{padding:22px}.two-columns{grid-template-columns:1fr}.auth-card{padding:28px}h1{font-size:27px}}
#store-folder-options{max-height:210px;overflow:auto;background:#f9f9f9;border:1px solid var(--line);border-radius:9px;padding:4px 14px 18px;margin-top:12px}#history-search{max-width:580px;margin-bottom:20px}
@media(max-width:700px){nav{flex-wrap:wrap}.nav-button{flex:1 1 30%}}
.template-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:22px 0}.template-card{padding:18px;border:1px solid var(--line);border-radius:12px}.template-card>.muted{font-size:12px}.template-card img{display:block;width:100%;border:1px solid var(--line);border-radius:5px;background:white;margin:14px 0}.template-card>.pill{display:table;margin-bottom:12px}.template-card button{font-size:12px}@media(max-width:700px){.template-grid{grid-template-columns:1fr}}
