/* Starindo — stylesheet utama (dashboard + login). Tanpa build step. */
:root{
  --font:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display","Inter","Segoe UI",system-ui,sans-serif;
  --lime:#DCDE01; --leaf:#88B820; --mid:#508326; --forest:#1D5305; --deep:#0C2A06;

  --bg:#EDF0E8;
  --glow:rgba(136,184,32,.20);
  --surface:rgba(255,255,255,.74);
  --surface-solid:#fff;
  --fill:rgba(20,40,10,.045);
  --fill-2:rgba(20,40,10,.08);
  --line:rgba(20,40,10,.09);
  --line-2:rgba(20,40,10,.16);
  --text:#10170C;
  --text-2:rgba(16,23,12,.62);
  --text-3:rgba(16,23,12,.40);
  --accent:#1D5305; --accent-ink:#fff;
  --tint:rgba(80,131,38,.14); --tint-ink:#1D5305;
  --side:rgba(246,248,242,.70);
  --c1:#1D5305; --c2:#88B820;
  --good:#2E7D12; --warn:#B36B00; --info:#1B6FA8; --danger:#B3341E;
  --shadow:0 0 0 .5px rgba(20,40,10,.07),0 1px 2px rgba(20,40,10,.05),0 10px 28px -12px rgba(20,40,10,.14);
  --hi:inset 0 1px 0 rgba(255,255,255,.7);
  --r:14px;
}
:root[data-theme="dark"]{
  --bg:#070C06;
  --glow:rgba(136,184,32,.13);
  --surface:rgba(255,255,255,.055);
  --surface-solid:#111A0F;
  --fill:rgba(255,255,255,.06);
  --fill-2:rgba(255,255,255,.10);
  --line:rgba(255,255,255,.09);
  --line-2:rgba(255,255,255,.17);
  --text:#F1F5EB;
  --text-2:rgba(241,245,235,.64);
  --text-3:rgba(241,245,235,.40);
  --accent:#DCDE01; --accent-ink:#1A2000;
  --tint:rgba(220,222,1,.13); --tint-ink:#E8EA3C;
  --side:rgba(12,18,10,.62);
  --c1:#5F9A2C; --c2:#DCDE01;
  --good:#7ED34E; --warn:#FFB340; --info:#6DB9F2; --danger:#FF8A78;
  --shadow:0 0 0 .5px rgba(255,255,255,.07),0 12px 32px -14px rgba(0,0,0,.7);
  --hi:inset 0 1px 0 rgba(255,255,255,.07);
}

*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{font-family:var(--font);font-size:14px;line-height:1.45;letter-spacing:-.006em;color:var(--text);background:var(--bg);min-height:100vh;-webkit-font-smoothing:antialiased;font-feature-settings:"tnum" 1,"cv11" 1;transition:background-color .3s}
body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;
  background:radial-gradient(900px 520px at 88% -8%,var(--glow),transparent 70%),radial-gradient(700px 480px at -6% 105%,var(--glow),transparent 70%)}
a{color:inherit;text-decoration:none}
button,input,select{font:inherit;color:inherit;letter-spacing:inherit}
button{cursor:pointer;border:0;background:none}
svg.i{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:8px}
.glass{backdrop-filter:saturate(180%) blur(22px);-webkit-backdrop-filter:saturate(180%) blur(22px)}
[hidden]{display:none!important}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* ── Shell ── */
.app{display:grid;grid-template-columns:248px minmax(0,1fr);min-height:100vh}
.side{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:16px 12px 12px;background:var(--side);border-right:1px solid var(--line);overflow-y:auto}
.brand{display:flex;align-items:center;gap:10px;padding:2px 8px 18px}
.tile{width:36px;height:36px;border-radius:10px;background:#fff;display:grid;place-items:center;flex:none;box-shadow:0 0 0 .5px rgba(0,0,0,.12),0 2px 6px rgba(0,0,0,.14)}
.tile img{width:30px;height:30px;object-fit:contain}
.brand b{display:block;font-size:13.5px;font-weight:600;line-height:1.2;letter-spacing:-.01em}
.brand small{font-size:11px;color:var(--text-3)}
.group{font-size:11px;font-weight:600;color:var(--text-3);padding:14px 10px 5px}
.nav a{display:flex;align-items:center;gap:10px;height:34px;padding:0 10px;border-radius:9px;font-size:13.5px;font-weight:500;color:var(--text-2);transition:background .15s,color .15s}
.nav a:hover{background:var(--fill);color:var(--text)}
.nav a.on{background:var(--tint);color:var(--tint-ink);font-weight:600}
.side .me{margin-top:auto;display:flex;align-items:center;gap:10px;padding:10px;border-radius:12px;border:1px solid var(--line);background:var(--fill)}
.me .who{min-width:0;flex:1}
.me b{display:block;font-size:12.5px;font-weight:600;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.me small{font-size:11px;color:var(--text-3)}
.av{width:30px;height:30px;border-radius:50%;background:linear-gradient(160deg,var(--leaf),var(--forest));color:#fff;display:grid;place-items:center;font-size:11.5px;font-weight:600;flex:none}
.ib-logout{width:30px;height:30px;border-radius:8px;display:grid;place-items:center;color:var(--text-2)}
.ib.menu-btn{display:none}
.ib-logout:hover{background:var(--fill-2);color:var(--text)}

.main{min-width:0;display:flex;flex-direction:column}
.bar{position:sticky;top:0;z-index:20;height:56px;display:flex;align-items:center;gap:10px;padding:0 clamp(20px,2.2vw,40px);background:var(--side);border-bottom:1px solid var(--line)}
.brand-m{display:none;align-items:center;gap:9px;font-weight:600;font-size:14px}
.brand-m .tile{width:30px;height:30px;border-radius:8px}.brand-m .tile img{width:25px;height:25px}
.sp{flex:1}
.ib{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;color:var(--text-2);transition:.15s}
.ib:hover{background:var(--fill);color:var(--text)}
.ib.danger:hover{color:var(--danger)}
.sun{display:none}:root[data-theme="dark"] .sun{display:block}:root[data-theme="dark"] .moon{display:none}
.page{width:100%;padding:26px clamp(20px,2.2vw,40px) 56px}

/* ── Page header & buttons ── */
.head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:20px}
.head h1{font-size:27px;font-weight:700;letter-spacing:-.022em;line-height:1.15}
.head p{color:var(--text-2);font-size:13.5px;margin-top:3px}
.acts{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:32px;padding:0 14px;border-radius:9px;font-size:13px;font-weight:600;transition:.15s;white-space:nowrap}
.btn.p{background:var(--accent);color:var(--accent-ink)}.btn.p:hover{filter:brightness(1.08)}.btn.p:active{transform:scale(.97)}
.btn.s{background:var(--fill);color:var(--text)}.btn.s:hover{background:var(--fill-2)}
.btn.ghost{color:var(--text-2)}.btn.ghost:hover{background:var(--fill);color:var(--text)}
.btn.lg{height:40px;padding:0 18px;font-size:14px}

.card{background:var(--surface);border-radius:var(--r);box-shadow:var(--shadow),var(--hi);backdrop-filter:saturate(170%) blur(20px);-webkit-backdrop-filter:saturate(170%) blur(20px)}
.ch{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px 0;flex-wrap:wrap}
.ch h2{font-size:15px;font-weight:600;letter-spacing:-.012em}
.ch p{font-size:12.5px;color:var(--text-3)}

.flash{display:flex;align-items:center;gap:10px;padding:11px 14px;border-radius:12px;margin-bottom:16px;background:var(--tint);color:var(--tint-ink);font-weight:500;box-shadow:inset 0 0 0 1px var(--line-2)}
.flash::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--good);flex:none}

/* ── Stats ── */
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:12px}
.stat{padding:16px 18px;display:flex;flex-direction:column;gap:4px}
.stat .l{font-size:12.5px;color:var(--text-2);font-weight:500}
.stat .v{font-size:26px;font-weight:600;letter-spacing:-.03em;line-height:1.2}

/* ── Filters ── */
.filters{display:flex;gap:8px;flex-wrap:wrap;align-items:center;padding:14px 16px;border-bottom:1px solid var(--line)}
.search-in{display:flex;align-items:center;gap:8px;height:34px;flex:1 1 260px;min-width:0;padding:0 10px;border-radius:9px;background:var(--fill);border:1px solid transparent;color:var(--text-3)}
.search-in:focus-within{border-color:var(--line-2);background:var(--surface-solid)}
.search-in input{flex:1;min-width:0;border:0;background:none;outline:0;color:var(--text);font-size:13px}
.search-in input::placeholder{color:var(--text-3)}
.sel{height:34px;padding:0 30px 0 10px;border-radius:9px;background:var(--fill);border:1px solid transparent;font-size:13px;color:var(--text);appearance:none;background-image:linear-gradient(45deg,transparent 50%,var(--text-3) 50%),linear-gradient(135deg,var(--text-3) 50%,transparent 50%);background-position:calc(100% - 15px) 52%,calc(100% - 10px) 52%;background-size:5px 5px;background-repeat:no-repeat;max-width:100%}
.sel:focus{outline:0;border-color:var(--line-2);background-color:var(--surface-solid)}

/* ── Table ── */
.tw{padding:4px 8px 8px;overflow-x:auto}
table{width:100%;border-collapse:collapse}
th{text-align:left;font-size:11.5px;font-weight:500;color:var(--text-3);padding:12px 12px;border-bottom:1px solid var(--line);white-space:nowrap}
td{padding:11px 12px;border-bottom:1px solid var(--line);font-size:13.5px;white-space:nowrap}
tbody tr:last-child td{border-bottom:0}
tbody tr{transition:background .12s}tbody tr:hover{background:var(--fill)}
td.id{font-weight:600;font-variant-numeric:tabular-nums}
td.nm{font-weight:500;white-space:normal;min-width:180px}
td.r,th.r{text-align:right}
td.act{width:1%}
td.act form{display:inline}
td.act .ib{display:inline-grid;margin-left:2px}
.badge{display:inline-block;font-size:12px;font-weight:500;padding:2px 9px;border-radius:99px;background:var(--fill-2);color:var(--text-2)}
.badge.L{background:rgba(27,111,168,.12);color:var(--info)}
.badge.P{background:rgba(204,95,160,.14);color:#B0437E}
:root[data-theme="dark"] .badge.P{color:#F28EC8}
.empty{text-align:center;color:var(--text-3);padding:36px 12px!important}

/* ── Pager ── */
.pager{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 16px 16px;border-top:1px solid var(--line)}
.pager-info{font-size:12.5px;color:var(--text-3)}
.pager-links{display:flex;gap:4px;align-items:center}
.pg{min-width:32px;height:32px;padding:0 8px;border-radius:8px;display:grid;place-items:center;font-size:13px;font-weight:500;color:var(--text-2)}
a.pg:hover{background:var(--fill);color:var(--text)}
.pg.on{background:var(--accent);color:var(--accent-ink);font-weight:600}
.pg.dis{opacity:.35}

/* ── Form ── */
.form{padding:24px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px;max-width:820px}
.fld{display:flex;flex-direction:column;gap:6px;min-width:0}
.fld.full{grid-column:1/-1}
.fld label{font-size:12.5px;font-weight:600;color:var(--text-2)}
.fld input,.fld select{height:38px;padding:0 12px;border-radius:10px;background:var(--fill);border:1px solid var(--line);color:var(--text);font-size:14px;outline:0;width:100%}
.fld input:focus,.fld select:focus{border-color:var(--accent);background:var(--surface-solid);box-shadow:0 0 0 3px var(--tint)}
.fld input.is-invalid{border-color:var(--danger)}
.fe{font-size:12px;color:var(--danger)}
.hint{font-size:12px;color:var(--text-3)}
.form-actions{grid-column:1/-1;display:flex;gap:8px;justify-content:flex-end;padding-top:6px;border-top:1px solid var(--line);margin-top:4px;padding-top:18px}

/* ── Mobile chrome ── */
.tabbar,.sheet,.scrim{display:none}

@media (max-width:1100px){
  .stats{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:860px){
  .app{grid-template-columns:minmax(0,1fr)}
  .side{display:none}
  .bar{padding:0 16px;height:52px}
  .brand-m{display:flex}
  .page{padding:18px 16px calc(96px + env(safe-area-inset-bottom))}
  .head h1{font-size:30px;letter-spacing:-.03em}
  .head .acts{width:100%}
  .head .acts .btn{flex:1}
  .stat{padding:14px}
  .stat .v{font-size:22px}
  .filters{padding:12px}
  .filters .search-in{flex-basis:100%}
  .filters .sel{flex:1 1 0}
  .form{grid-template-columns:minmax(0,1fr);padding:18px}
  .form-actions .btn{flex:1}

  .tw{padding:2px 12px 6px;overflow:visible}
  table,thead,tbody,tr,td{display:block}
  thead{display:none}
  tbody tr{display:grid;grid-template-columns:1fr auto;grid-template-areas:"nm act" "id jb" "gd up";column-gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}
  tbody tr:last-child{border-bottom:0}
  tbody tr:hover{background:none}
  td{border:0;padding:1px 0;font-size:13.5px;white-space:normal;min-width:0}
  td.nm{grid-area:nm;font-size:15px;font-weight:600;min-width:0}
  td.id{grid-area:id;font-size:12px;color:var(--text-3);font-weight:500}
  td:nth-child(3){grid-area:gd;justify-self:start;margin-top:4px}
  td:nth-child(4){grid-area:jb;text-align:right;color:var(--text-2);font-size:12.5px;justify-self:end}
  td:nth-child(5){grid-area:up;text-align:right;font-weight:600;align-self:end;justify-self:end;margin-top:4px}
  td.act{grid-area:act;width:auto;align-self:start;justify-self:end}
  td.empty{display:block;text-align:center;padding:24px 0!important}
  td.empty::before{content:none}
  td::before{content:none}
  .act .ib{width:36px;height:36px}
  .tw-scroll{overflow-x:auto;padding:2px 8px 6px}
  .tw-scroll table{display:table}
  .tw-scroll thead{display:table-header-group}
  .tw-scroll tbody{display:table-row-group}
  .tw-scroll tr{display:table-row}
  .tw-scroll th,.tw-scroll td{display:table-cell}
  .tw-scroll th{padding:10px 12px}
  .tw-scroll td{padding:11px 12px;border-bottom:1px solid var(--line)}
  .tw-scroll tbody tr:last-child td{border-bottom:0}
  .pager{justify-content:center;text-align:center}
  .pager-info{width:100%}

  .tabbar{display:flex;position:fixed;z-index:40;left:0;right:0;bottom:0;padding:6px 8px calc(6px + env(safe-area-inset-bottom));background:var(--side);border-top:1px solid var(--line);justify-content:space-around}
  .tabbar a,.tabbar button{flex:1;display:flex;flex-direction:column;align-items:center;gap:2px;font-size:10.5px;font-weight:500;color:var(--text-3);padding:5px 0;border-radius:10px}
  .tabbar svg.i{width:23px;height:23px}
  .tabbar .on{color:var(--tint-ink)}
  .scrim{display:block;position:fixed;inset:0;z-index:50;background:rgba(0,0,0,.4);opacity:0;pointer-events:none;transition:opacity .25s}
  .sheet{display:block;position:fixed;z-index:60;left:0;right:0;bottom:0;max-height:82vh;overflow:auto;border-radius:22px 22px 0 0;background:var(--side);border-top:1px solid var(--line-2);padding:8px 16px calc(20px + env(safe-area-inset-bottom));transform:translateY(105%);transition:transform .32s cubic-bezier(.2,.8,.2,1)}
  body.sheet-open .scrim{opacity:1;pointer-events:auto}
  body.sheet-open .sheet{transform:none}
  .grab{width:38px;height:5px;border-radius:99px;background:var(--line-2);margin:4px auto 14px}
  .ib.menu-btn{display:grid}
  .sheet .me{margin:0 0 6px;border-radius:14px}
  .sheet-nav{margin-bottom:8px}
  .sheet-nav .group{padding:12px 12px 4px}
  .sheet-nav a{height:44px;font-size:15px;padding:0 12px;border-radius:12px}
  .sheet-nav a svg.i{width:20px;height:20px}
  .sheet .logout{width:100%;margin-top:10px;height:44px;border-radius:12px;background:var(--fill);font-weight:600;color:var(--danger)}
}
@media (max-width:420px){
  .stat .v{font-size:20px}
  .stats{gap:10px}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}

/* ══════════════ Absensi (upload & rekap) ══════════════ */
.mt{margin-top:16px}
.tw-scroll{overflow-x:auto}
.form-3{grid-template-columns:repeat(3,minmax(0,1fr));max-width:none}
.drop{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:32px 20px;border-radius:14px;border:1.5px dashed var(--line-2);background:var(--fill);cursor:pointer;text-align:center;transition:.15s}
.drop:hover{border-color:var(--accent);background:var(--tint)}
.drop input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}
.drop svg{color:var(--tint-ink);margin-bottom:4px}
.drop b{font-size:14.5px;font-weight:600}
.drop span{font-size:12.5px;color:var(--text-3)}
.drop em{font-style:normal;font-size:13px;font-weight:600;color:var(--tint-ink);margin-top:4px;min-height:1em}
.rules{margin-top:18px;padding:16px 18px;border-radius:12px;background:var(--fill)}
.rules h3{font-size:13px;font-weight:600;margin-bottom:8px}
.rules ul{list-style:none;display:flex;flex-direction:column;gap:6px;font-size:13px;color:var(--text-2)}
.rules li::before{content:"";display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--accent);margin:0 9px 2px 0;vertical-align:middle}
.up-actions{display:flex;justify-content:flex-end;margin-top:18px}
.st{display:inline-flex;align-items:center;gap:7px;font-size:12.5px;font-weight:500;color:var(--text-2);white-space:nowrap}
.st::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
.st.lengkap{color:var(--good)}
.st.hanya_masuk{color:var(--warn)}
.jam{font-variant-numeric:tabular-nums;font-weight:500}
.jam.kosong{color:var(--text-3)}
.sub-h{font-size:13px;font-weight:600;color:var(--text-2);padding:14px 18px 4px}
.pill-list{display:flex;flex-wrap:wrap;gap:6px;padding:6px 18px 16px}

/* ══════════════ Login (mengikuti referensi: panel gelap kiri, kartu putih kanan) ══════════════ */
.auth{min-height:100vh;display:grid;grid-template-columns:minmax(0,42fr) minmax(0,58fr)}
.auth-hero{position:relative;overflow:hidden;color:#fff;padding:40px 48px 28px;display:flex;flex-direction:column;background:
  radial-gradient(620px 420px at 10% -6%,rgba(136,184,32,.55),transparent 62%),
  radial-gradient(520px 380px at 96% 110%,rgba(220,222,1,.14),transparent 64%),
  linear-gradient(165deg,#2C6A10 0%,#1D5305 38%,#0C2A06 100%)}
.auth-hero::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.5;
  background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);background-size:44px 44px;
  mask-image:linear-gradient(180deg,#000,transparent 85%)}
.auth-hero::after{content:"";position:absolute;right:-120px;bottom:-140px;width:420px;height:420px;border-radius:50%;
  background:radial-gradient(circle at 40% 40%,rgba(220,222,1,.20),rgba(220,222,1,0) 68%);pointer-events:none}
.auth-hero > *{position:relative;z-index:1}
.auth-logo{display:inline-flex;align-items:center;gap:10px;background:#fff;border-radius:12px;padding:8px 12px 8px 8px;align-self:flex-start;box-shadow:0 8px 24px rgba(0,0,0,.2)}
.auth-logo img{height:38px;width:auto;display:block}
.auth-hero-body{margin-top:auto;margin-bottom:auto;padding-top:60px}
.auth-pill{display:inline-flex;align-items:center;gap:8px;height:30px;padding:0 13px;border-radius:99px;background:rgba(255,255,255,.12);box-shadow:inset 0 0 0 1px rgba(255,255,255,.18);font-size:11.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.auth-pill i{width:7px;height:7px;border-radius:50%;background:var(--lime);box-shadow:0 0 0 3px rgba(220,222,1,.25)}
.auth-hero h1{font-size:clamp(28px,3vw,38px);font-weight:700;letter-spacing:-.025em;line-height:1.14;margin:20px 0 28px;max-width:16ch}
.auth-mods{display:grid;grid-template-columns:1fr 1fr;gap:12px;max-width:560px}
.auth-mod{padding:16px 16px 15px;border-radius:14px;background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,.14);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.auth-mod b{display:block;font-size:14px;font-weight:600;margin-bottom:3px}
.auth-mod span{font-size:12.5px;color:rgba(255,255,255,.72)}
.auth-foot{font-size:12.5px;color:rgba(255,255,255,.62)}

.auth-form-side{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 24px;background:#F4F6F1;position:relative}
:root[data-theme="dark"] .auth-form-side{background:#0A110A}
.auth-card{width:100%;max-width:380px;background:#fff;border-radius:18px;padding:36px 32px 30px;box-shadow:0 0 0 1px rgba(20,40,10,.08),0 24px 48px -24px rgba(20,40,10,.25);display:flex;flex-direction:column;align-items:stretch}
:root[data-theme="dark"] .auth-card{background:#111A0F;box-shadow:0 0 0 1px rgba(255,255,255,.08),0 24px 48px -24px rgba(0,0,0,.7)}
.auth-mark{width:60px;height:60px;border-radius:14px;background:#fff;display:grid;place-items:center;margin:0 auto 16px;box-shadow:0 0 0 1px rgba(20,40,10,.1),0 4px 12px rgba(20,40,10,.08)}
.auth-mark img{width:46px;height:46px;object-fit:contain}
.auth-card h2{text-align:center;font-size:22px;font-weight:700;letter-spacing:-.02em}
.auth-sub{text-align:center;font-size:12.5px;color:var(--text-3);margin:2px 0 24px;letter-spacing:.02em}
.auth-err{font-size:13px;color:var(--danger);background:rgba(179,52,30,.08);border-radius:10px;padding:10px 12px;margin-bottom:14px}
.field{display:flex;flex-direction:column;gap:6px;margin-bottom:16px}
.field > span{font-size:13px;font-weight:600;color:var(--text-2)}
.field input{height:44px;padding:0 14px;border-radius:10px;border:1.5px solid var(--line-2);background:#fff;color:var(--text);font-size:14.5px;outline:0;width:100%;transition:border-color .15s,box-shadow .15s}
:root[data-theme="dark"] .field input{background:#0C140B}
.field input:focus{border-color:var(--forest);box-shadow:0 0 0 4px rgba(80,131,38,.15)}
.pw{position:relative;display:block}
.pw input{padding-right:46px}
.pw-toggle{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:34px;height:34px;border-radius:8px;display:grid;place-items:center;color:var(--text-3)}
.pw-toggle:hover{color:var(--text);background:var(--fill)}
.remember{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--text-2);margin:-2px 0 18px;cursor:pointer}
.remember input{width:16px;height:16px;accent-color:var(--forest)}
.auth-btn{height:46px;border-radius:11px;background:var(--forest);color:#fff;font-weight:600;font-size:15px;transition:background .15s,transform .05s}
.auth-btn:hover{background:var(--mid)}
.auth-btn:active{transform:scale(.99)}
.auth-note{position:absolute;bottom:22px;font-size:12px;color:var(--text-3);text-align:center;width:100%}

@media (max-width:900px){
  .auth{grid-template-columns:minmax(0,1fr)}
  .auth-hero{display:none}
  .auth-form-side{min-height:100vh;padding:28px 18px 60px}
  .auth-note{bottom:18px}
}
@media (max-width:480px){
  .auth-mods{grid-template-columns:1fr}
  .auth-card{padding:28px 22px 24px}
}
