:root { color-scheme: light; --ink:#16211b; --muted:#718078; --line:#e4e9e6; --bg:#f4f7f5; --card:#fff; --green:#176b49; --green2:#e4f2eb; --danger:#c13e3e; }
* { box-sizing:border-box; }
body { margin:0; font:14px/1.5 ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; color:var(--ink); background:var(--bg); }
button,input,textarea { font:inherit; }
button { cursor:pointer; }
.hidden { display:none !important; }
.login-shell { min-height:100vh; display:grid; place-items:center; padding:24px; background:radial-gradient(circle at 20% 10%,#d9efe3,transparent 35%),linear-gradient(145deg,#f7faf8,#edf2ef); }
.card { background:var(--card); border:1px solid var(--line); border-radius:20px; box-shadow:0 20px 60px rgba(33,64,48,.1); }
.login-card { width:min(420px,100%); padding:40px; }
.brand-mark { width:50px; height:50px; display:grid; place-items:center; border-radius:14px; background:var(--green); color:white; font-weight:800; letter-spacing:.08em; }
.brand-mark.small { width:38px; height:38px; border-radius:11px; font-size:12px; }
.login-card h1 { margin:20px 0 4px; font-size:25px; }
.login-card p { margin:0 0 28px; color:var(--muted); }
label { display:grid; gap:7px; margin:16px 0; font-weight:600; }
input,textarea { width:100%; border:1px solid #d6ddd9; border-radius:10px; padding:11px 13px; color:var(--ink); background:#fff; outline:none; }
input:focus,textarea:focus { border-color:var(--green); box-shadow:0 0 0 3px rgba(23,107,73,.1); }
textarea { min-height:120px; resize:vertical; }
button.primary,.login-card button[type=submit] { border:0; border-radius:10px; background:var(--green); color:#fff; padding:11px 16px; font-weight:700; }
.login-card button[type=submit] { width:100%; margin-top:8px; }
.error { min-height:20px; color:var(--danger); margin-top:10px; font-size:13px; }
.app { min-height:100vh; display:grid; grid-template-columns:260px 1fr; }
aside { position:sticky; top:0; height:100vh; padding:22px 16px; background:#10251c; color:#dce9e3; display:flex; flex-direction:column; overflow:auto; }
.side-brand { display:flex; align-items:center; gap:11px; padding:0 8px 22px; border-bottom:1px solid rgba(255,255,255,.1); }
.side-brand strong,.side-brand span { display:block; }
.side-brand span { color:#8dab9d; font-size:11px; text-transform:uppercase; letter-spacing:.08em; }
.nav-group h3 { margin:22px 10px 8px; color:#78998a; font-size:11px; text-transform:uppercase; letter-spacing:.12em; }
.nav-item { width:100%; display:grid; grid-template-columns:1fr auto; gap:8px; align-items:center; text-align:left; color:#bcd0c7; background:transparent; border:0; border-radius:9px; padding:9px 10px; }
.nav-item span { overflow:hidden; text-overflow:ellipsis; }
.nav-item b { min-width:25px; padding:1px 6px; border-radius:10px; background:rgba(255,255,255,.08); color:#8fac9f; font-size:11px; text-align:center; }
.nav-item i { grid-column:1/-1; color:#79978a; font-size:10px; font-style:normal; }
.nav-item:hover,.nav-item.active { color:white; background:#1d3e30; }
.nav-item.active b { background:#2a664b; color:#fff; }
.ghost { border:1px solid var(--line); background:#fff; color:var(--ink); border-radius:9px; padding:9px 13px; }
.logout { margin-top:auto; border-color:rgba(255,255,255,.12); background:transparent; color:#9db7ab; }
main { min-width:0; padding:36px clamp(18px,4vw,54px); }
header { display:flex; align-items:end; justify-content:space-between; gap:18px; margin-bottom:24px; }
header h1 { margin:3px 0 0; font-size:28px; }
.eyebrow { color:var(--green); font-size:11px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.toolbar { display:flex; align-items:center; gap:10px; margin-bottom:14px; }
.toolbar input { width:min(380px,50vw); background:#fff; }
.toolbar span { color:var(--muted); }
.toolbar #summary { margin-left:auto; }
.timezone { padding:5px 9px; border-radius:8px; color:var(--green) !important; background:var(--green2); font-size:12px; font-weight:700; }
.notice { margin:0 0 14px; padding:10px 13px; border-radius:9px; color:#725d1b; background:#fff7d6; border:1px solid #efe1a8; }
.notice.error-notice { color:#9d3131; background:#fff0f0; border-color:#f1caca; }
.table-card { background:#fff; border:1px solid var(--line); border-radius:14px; overflow:hidden; box-shadow:0 5px 22px rgba(33,64,48,.04); }
.table-wrap { overflow:auto; max-height:calc(100vh - 245px); }
table { width:100%; border-collapse:separate; border-spacing:0; white-space:nowrap; }
th,td { padding:12px 14px; border-bottom:1px solid #edf0ee; max-width:320px; overflow:hidden; text-overflow:ellipsis; text-align:left; }
th { position:sticky; top:0; z-index:1; background:#f8faf9; color:#637068; font-size:11px; letter-spacing:.03em; }
th em { margin-left:5px; color:var(--green); font-style:normal; }
th small { display:block; color:var(--green); font-size:9px; font-weight:600; }
tr:last-child td { border-bottom:0; }
tbody tr:hover { background:#fafcfb; }
th.actions,td.actions { position:sticky; right:0; background:inherit; border-left:1px solid #edf0ee; }
.link { border:0; background:transparent; color:var(--green); padding:3px 7px; }
.link.delete { color:var(--danger); }
.link.restore { color:var(--green); font-weight:700; }
.link:disabled { color:#adb7b2; cursor:not-allowed; }
.empty { text-align:center; color:var(--muted); padding:50px; }
.pager { display:flex; justify-content:flex-end; align-items:center; gap:12px; margin-top:14px; color:var(--muted); }
button:disabled { opacity:.45; cursor:not-allowed; }
dialog { width:min(680px,calc(100vw - 28px)); max-height:88vh; border:0; border-radius:18px; padding:0; box-shadow:0 30px 90px rgba(10,30,20,.25); }
dialog::backdrop { background:rgba(7,22,15,.55); backdrop-filter:blur(3px); }
dialog form { padding:26px; }
.dialog-head { display:flex; justify-content:space-between; align-items:start; }
.dialog-head h2 { margin:3px 0 8px; }
.icon { border:0; background:#f0f4f2; border-radius:50%; width:34px; height:34px; font-size:22px; color:#65736c; }
.fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 16px; max-height:58vh; overflow:auto; padding-right:5px; }
.fields label:has(textarea) { grid-column:1/-1; }
label span small { margin-left:6px; color:var(--muted); font-weight:400; }
.dialog-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:22px; }
.danger { border:0; border-radius:9px; background:var(--danger); color:white; padding:10px 15px; font-weight:700; }
.danger-icon { width:42px; height:42px; display:grid; place-items:center; border-radius:50%; color:var(--danger); background:#ffebeb; font-size:22px; font-weight:800; }
#confirm h2 { margin-bottom:6px; } #confirm p { color:var(--muted); }
@media (max-width:780px) { .app { grid-template-columns:1fr; } aside { position:static; height:auto; max-height:320px; } main { padding:22px 14px; } header { align-items:center; } .fields { grid-template-columns:1fr; } .table-wrap { max-height:none; } }
