:root{--bg: #ffffff;--bg-2: #f6f6f6;--hover: #ececec;--line: #e3e3e3;--line-strong: #d0d0d0;--fg: #222222;--muted: #5c5c5c;--faint: #6e6e6e;--accent: #7852ee;--accent-hover: #6a42ea;--accent-soft: rgba(120, 82, 238, .1);--accent-text: #6a42ea;--on-accent: #ffffff;--red: #e93147;--red-soft: rgba(233, 49, 71, .1);--red-text: #c8243a;--orange: #d97706;--orange-soft: rgba(217, 119, 6, .12);--orange-text: #a14807;--green: #08a35a;--green-soft: rgba(8, 163, 90, .1);--green-text: #047a43;--blue: #086ddd;--blue-soft: rgba(8, 109, 221, .1);--radius-s: 4px;--radius-m: 6px;--radius-l: 10px;--sidebar-width: 248px;--nav-height: 60px;--font: system-ui, -apple-system, "Segoe UI", Roboto, "Inter", "Helvetica Neue", Arial, sans-serif;--font-mono: ui-monospace, "SF Mono", Consolas, "Liberation Mono", monospace;color-scheme:light}@media(prefers-color-scheme:dark){:root{--bg: #1e1e1e;--bg-2: #262626;--hover: #2f2f2f;--line: #333333;--line-strong: #404040;--fg: #dcddde;--muted: #a3a3a3;--faint: #909090;--accent: #8b6cef;--accent-hover: #9d84f2;--accent-soft: rgba(139, 108, 239, .16);--accent-text: #a891f5;--red: #fb464c;--red-soft: rgba(251, 70, 76, .14);--red-text: #fb464c;--orange: #e9973f;--orange-soft: rgba(233, 151, 63, .14);--orange-text: #e9973f;--green: #44cf6e;--green-soft: rgba(68, 207, 110, .13);--green-text: #44cf6e;--blue: #53a3f6;--blue-soft: rgba(83, 163, 246, .14);color-scheme:dark}}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{margin:0;background:var(--bg);color:var(--fg);font-family:var(--font);font-size:15px;line-height:1.5;-webkit-font-smoothing:antialiased}h1,h2,h3,p{margin:0}a{color:var(--accent-text)}svg{flex-shrink:0}.icon{width:18px;height:18px;stroke-width:1.75}.muted{color:var(--muted)}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition-duration:0ms!important;animation-duration:0ms!important}}.brand-mark{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;border-radius:8px;background:#000;overflow:hidden}.brand-mark img{width:100%;height:100%;object-fit:cover;display:block}.brand-mark--large{width:72px;height:72px;border-radius:16px}.avatar{width:34px;height:34px;border-radius:50%;flex-shrink:0;display:flex;align-items:center;justify-content:center;background:var(--bg-2);border:1px solid var(--line);color:var(--muted);font-size:.8rem;font-weight:600;text-decoration:none}.bell{position:relative;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:var(--radius-m);color:var(--muted);text-decoration:none}.bell:hover{background:var(--hover);color:var(--fg)}.bell .icon{width:20px;height:20px}.bell__badge{position:absolute;top:6px;right:4px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--red);color:#fff;font-size:.68rem;font-weight:700;line-height:18px;text-align:center}.shell{min-height:100dvh;padding-bottom:calc(var(--nav-height) + env(safe-area-inset-bottom,0px))}.sidebar{display:none}.view-header{position:sticky;top:0;z-index:10;display:flex;align-items:center;gap:10px;min-height:52px;padding:8px 16px;padding-top:calc(8px + env(safe-area-inset-top,0px));background:var(--bg);border-bottom:1px solid var(--line)}.view-header__context{min-width:0;flex:1;display:flex;flex-direction:column}.view-header__title{font-weight:600;font-size:.95rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.view-header__subtitle{font-size:.8rem;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.view-content{max-width:720px;margin:0 auto;padding:20px 16px 32px}.view-content--wide,.view-content:has(.page--wide){max-width:1440px}.bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:10;display:flex;height:calc(var(--nav-height) + env(safe-area-inset-bottom,0px));padding-bottom:env(safe-area-inset-bottom,0px);background:var(--bg-2);border-top:1px solid var(--line)}.bottom-nav__item{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:var(--faint);text-decoration:none;font-size:.75rem;font-weight:500}.bottom-nav__item .icon{width:21px;height:21px}.bottom-nav__item.active{color:var(--accent-text)}@media(min-width:900px){.shell{display:grid;grid-template-columns:var(--sidebar-width) minmax(0,1fr);padding-bottom:0}.sidebar{position:sticky;top:0;height:100dvh;display:flex;flex-direction:column;gap:4px;padding:12px 8px;background:var(--bg-2);border-right:1px solid var(--line);overflow-y:auto;overscroll-behavior:contain}.sidebar>*{flex-shrink:0}.sidebar__workspace{display:flex;align-items:center;gap:10px;padding:6px 8px 14px;color:inherit;text-decoration:none}.sidebar__workspace-name{font-weight:600;font-size:.9rem;line-height:1.25}.sidebar__workspace-meta{font-size:.78rem;color:var(--muted)}.nav-group{padding:8px 10px 2px;font-size:.75rem;font-weight:600;color:var(--muted)}.nav-group--gap{padding:4px 0 0}.nav-item{display:flex;align-items:center;gap:10px;padding:6px 10px;border-radius:var(--radius-m);color:var(--muted);text-decoration:none;font-size:.9rem}.nav-item:hover{background:var(--hover);color:var(--fg)}.nav-item.active{background:var(--accent-soft);color:var(--accent-text)}.sidebar__footer{margin-top:auto;display:flex;align-items:center;gap:10px;padding:10px 8px 4px;border-top:1px solid var(--line);font-size:.85rem}.bottom-nav,.view-header .brand-mark{display:none}.view-content{padding:36px 40px 48px}}.page{display:flex;flex-direction:column;gap:20px}.page__title{font-size:1.75rem;font-weight:700;line-height:1.2;letter-spacing:-.01em}.page__lead{color:var(--muted);margin-top:-12px}.home-head{display:flex;flex-direction:column;gap:4px}.home-head p{color:var(--muted)}.grid-2{display:grid;gap:20px}@media(min-width:1024px){.page--wide .grid-2{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start}}.card{border:1px solid var(--line);border-radius:var(--radius-l);padding:16px;background:var(--bg);display:flex;flex-direction:column;gap:12px}.card>h2{font-size:1rem;font-weight:600}.card>:where(p,.field,.item,.row,.msg){margin:0}@media(min-width:640px){.card>button:not(.block):not(.link){align-self:flex-start}}.empty{padding:20px 12px;text-align:center;color:var(--muted);border:1px dashed var(--line);border-radius:var(--radius-l);font-size:.92rem}.field{display:flex;flex-direction:column;gap:6px;min-width:0}.field>span{font-size:.88rem;font-weight:500;color:var(--muted)}.form-grid{display:grid;gap:14px}@media(min-width:640px){.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px}.form-grid .span-2{grid-column:1 / -1}}input,select,textarea{width:100%;min-height:44px;padding:9px 12px;border:1px solid var(--line-strong);border-radius:var(--radius-m);background:var(--bg);color:var(--fg);font:inherit;font-size:16px;transition:border-color .12s,box-shadow .12s}input:focus,select:focus,textarea:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}input[type=checkbox]{width:20px;height:20px;min-height:0;padding:0;accent-color:var(--accent);box-shadow:none}input[type=password][inputmode=numeric]{font-family:var(--font-mono);letter-spacing:.3em}.check{display:flex;gap:10px;align-items:center;min-height:44px;cursor:pointer}button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 16px;border:1px solid transparent;border-radius:var(--radius-m);background:var(--accent);color:var(--on-accent);font:inherit;font-size:.95rem;font-weight:600;cursor:pointer;white-space:nowrap;transition:background-color .12s,border-color .12s;touch-action:manipulation}button:not(:disabled):hover{background:var(--accent-hover)}button:disabled{opacity:.45;cursor:not-allowed}button.secondary{background:var(--bg-2);border-color:var(--line);color:var(--fg)}button.secondary:not(:disabled):hover{background:var(--hover)}button.link{background:none;border:0;padding:0;min-height:36px;justify-content:flex-start;text-align:left;white-space:normal;color:var(--accent-text);font-size:.9rem;font-weight:500}button.link:not(:disabled):hover{background:none;text-decoration:underline}button.block{width:100%}button.big{min-height:52px;font-size:1rem}.row{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.row>.field{flex:1 1 160px}.wrap{flex-wrap:wrap}.msg{display:flex;gap:10px;padding:10px 12px;border-radius:var(--radius-m);border-left:3px solid var(--blue);background:var(--blue-soft);font-size:.92rem}.msg>.icon{margin-top:2px;color:var(--blue)}.msg-error{border-left-color:var(--red);background:var(--red-soft)}.msg-error>.icon{color:var(--red-text)}.msg-ok{border-left-color:var(--green);background:var(--green-soft)}.msg-ok>.icon{color:var(--green-text)}.msg button.link{min-height:0;display:inline}.badges{display:flex;flex-wrap:wrap;gap:6px}.badge{display:inline-flex;align-items:center;padding:1px 9px;border-radius:999px;background:var(--accent-soft);color:var(--accent-text);font-size:.78rem;font-weight:500;white-space:nowrap}.badge-sah,.badge-disetujui,.badge-disahkan,.badge-tepat_waktu{background:var(--green-soft);color:var(--green-text)}.badge-ditolak,.badge-dibatalkan{background:var(--red-soft);color:var(--red-text)}.badge-menunggu,.badge-menunggu_atasan,.badge-menunggu_hrd,.badge-terlambat{background:var(--orange-soft);color:var(--orange-text)}.badge-faint{background:var(--bg-2);color:var(--faint)}.list{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}.list li,.list__item{padding:12px 4px;border-bottom:1px solid var(--line)}.item{display:flex;flex-direction:column;gap:6px;padding:12px 0;border-top:1px solid var(--line)}.card>h2+.item,.card>.empty+.item{border-top:0;padding-top:0}.item p{color:var(--muted)}.meta{color:var(--muted);font-size:.88rem}.subform{display:flex;flex-direction:column;gap:14px;border-top:1px solid var(--line);padding-top:14px}.subform.form-grid{display:grid}.subform h3{font-size:.95rem;font-weight:600}.menu-list{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}.menu-list a{display:flex;align-items:center;gap:12px;min-height:52px;padding:0 4px;color:var(--fg);text-decoration:none;border-bottom:1px solid var(--line)}.menu-list a .icon{color:var(--muted)}.menu-list .chev{margin-left:auto;color:var(--faint)}.summary{display:grid;grid-template-columns:repeat(2,1fr);border:1px solid var(--line);border-radius:var(--radius-l);overflow:hidden}.summary__item{display:flex;flex-direction:column;gap:2px;padding:10px 12px;border-left:1px solid var(--line)}.summary__item:first-child{border-left:0}.summary__value{font-size:1.35rem;font-weight:700;font-variant-numeric:tabular-nums}.summary__label{font-size:.78rem;color:var(--muted)}.absen-card__head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 12px}.absen-card__head h2{font-size:1rem;font-weight:600}.absen-card__head .muted{font-size:.85rem}.absen-card__rows{display:flex;flex-direction:column;border-top:1px solid var(--line)}.absen-row{display:grid;grid-template-columns:64px 64px 1fr;align-items:center;gap:8px;padding:8px 0;border-bottom:1px solid var(--line)}.absen-row__label{color:var(--muted);font-size:.9rem}.absen-row__time{font-weight:700;font-variant-numeric:tabular-nums}.absen-card__actions{display:flex;flex-direction:column;gap:10px}.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--line);border-radius:var(--radius-l)}table{border-collapse:separate;border-spacing:0;width:100%;font-size:.88rem;font-variant-numeric:tabular-nums}th,td{border-bottom:1px solid var(--line);padding:8px 10px;text-align:left;vertical-align:top;white-space:nowrap}tr:last-child td{border-bottom:0}th{font-weight:600;color:var(--muted);background:var(--bg-2);font-size:.8rem}th:first-child,td:first-child{position:sticky;left:0;background:var(--bg);z-index:1}th:first-child{background:var(--bg-2)}td select{min-width:120px;min-height:38px;padding:6px 8px;font-size:.88rem}.bukti{margin:0;font-size:.88rem;color:var(--muted)}.bukti--gagal{color:var(--red-text)}.bukti__tombol{padding:0;min-height:0;border:1px solid var(--line);border-radius:var(--radius-m);background:#000;overflow:hidden;display:block}.bukti__tombol:not(:disabled):hover{background:#000}.bukti img{display:block;width:160px;height:120px;object-fit:cover}.bukti--besar img{width:100%;max-width:560px;height:auto;object-fit:contain}.bukti figcaption{margin-top:4px;font-size:.78rem}.camera{display:flex;flex-direction:column;gap:12px;max-width:560px;margin:0 auto}.camera video{width:100%;max-height:70dvh;object-fit:cover;border-radius:var(--radius-l);background:#000}.auth{min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:24px 16px;background:var(--bg-2)}.auth__panel{width:100%;max-width:380px;display:flex;flex-direction:column;gap:18px}.auth__head{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;margin-bottom:4px}.auth__title{font-size:1.45rem;font-weight:700;letter-spacing:-.01em}.auth__subtitle{color:var(--muted);font-size:.92rem;margin-top:-6px}.auth .card{background:var(--bg)}.form{display:flex;flex-direction:column;gap:14px}.splash{display:grid;place-items:center;min-height:100dvh;color:var(--faint)}
