:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f3f4f3;--surface:#fff;--surface-2:#f8f9f8;--border:#dde0de;--border-strong:#c3c8c5;--ink:#161a18;--ink-2:#4a524e;--ink-3:#6d7571;--accent:#1f6f54;--accent-hover:#185a44;--accent-soft:#e6f0ec;--amber:#7d5200;--amber-soft:#fbefd5;--red:#a02a21;--red-soft:#fae8e6;--radius:4px;--font:"Segoe UI", system-ui, -apple-system, sans-serif;--mono:Consolas, "Cascadia Mono", monospace;--text:14px;--text-sm:12px;--text-lg:18px}*{box-sizing:border-box}body{background:var(--bg);color:var(--ink);font:var(--text)/1.45 var(--font);font-variant-numeric:tabular-nums;margin:0}h1{font-size:var(--text-lg);margin:0;font-weight:600}h2{font-size:var(--text);margin:0;font-weight:600}p{margin:0}a{color:var(--accent)}.muted{color:var(--ink-3)}.small{font-size:var(--text-sm)}.mono{font-family:var(--mono)}.num{text-align:right}.shell{grid-template-columns:208px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{background:var(--surface);border-right:1px solid var(--border);flex-direction:column;gap:2px;padding:12px 8px;display:flex}.brand{border-bottom:1px solid var(--border);margin-bottom:8px;padding:4px 8px 14px}.brand img{width:100%;max-width:156px;height:auto;display:block}.brand span{color:var(--ink-3);font-size:var(--text-sm);overflow-wrap:anywhere;margin-top:8px;display:block}.login-logo{object-fit:contain;align-self:center;width:auto;max-width:100%;height:132px;margin-bottom:4px;display:block}.nav-item{border-radius:var(--radius);width:100%;color:var(--ink-2);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:6px 8px;text-decoration:none;display:block}.nav-item:hover{background:var(--surface-2);color:var(--ink)}.nav-item[aria-current=page]{background:var(--accent-soft);color:var(--accent);font-weight:600}.sidebar-foot{border-top:1px solid var(--border);margin-top:auto;padding:8px}.main{flex-direction:column;gap:16px;min-width:0;padding:20px 24px;display:flex}.page-head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:12px;display:flex}.toolbar{flex-wrap:wrap;align-items:end;gap:8px;display:flex}.panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius)}.panel-head{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:8px;padding:8px 12px;display:flex}.panel-body{padding:12px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%}th,td{border-bottom:1px solid var(--border);text-align:left;white-space:nowrap;padding:6px 12px}td.wrap{white-space:normal;min-width:11rem}th{color:var(--ink-3);font-size:var(--text-sm);background:var(--surface-2);font-weight:600}tbody tr:last-child td{border-bottom:0}th.num,td.num{text-align:right}tr.selectable{cursor:pointer}tr.selectable:hover td{background:var(--surface-2)}tr[aria-selected=true] td{background:var(--accent-soft)}label{color:var(--ink-2);font-size:var(--text-sm);flex-direction:column;gap:3px;display:flex}input,select{border:1px solid var(--border-strong);border-radius:var(--radius);background:var(--surface);height:30px;color:var(--ink);font:inherit;min-width:0;padding:0 8px}button.btn{border:1px solid var(--border-strong);border-radius:var(--radius);background:var(--surface);height:30px;color:var(--ink);font:inherit;cursor:pointer;padding:0 12px}button.btn:hover{background:var(--surface-2)}button.btn.primary{background:var(--accent);border-color:var(--accent);color:#fff}button.btn.primary:hover{background:var(--accent-hover)}button.btn.danger{color:var(--red)}button.btn:disabled{opacity:.55;cursor:default}.link-button{color:var(--accent);font:inherit;cursor:pointer;background:0 0;border:0;padding:0}:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.status{border-radius:var(--radius);font-size:var(--text-sm);background:var(--surface-2);color:var(--ink-2);padding:0 6px;font-weight:600;display:inline-block}.status.ok{background:var(--accent-soft);color:var(--accent)}.status.warn{background:var(--amber-soft);color:var(--amber)}.status.bad{background:var(--red-soft);color:var(--red)}.notice{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);padding:8px 12px}.notice.bad{border-color:var(--red);background:var(--red-soft);color:var(--red)}.notice.warn{border-color:var(--amber);background:var(--amber-soft);color:var(--amber)}.strip{flex-wrap:wrap;display:flex}.strip>div{border-right:1px solid var(--border);flex:130px;padding:10px 14px}.strip>div:last-child{border-right:0}.strip dt{color:var(--ink-3);font-size:var(--text-sm)}.strip dd{margin:0;font-size:22px;font-weight:600}@media (width<=760px){.shell{grid-template-columns:1fr}.sidebar{border-right:0;border-bottom:1px solid var(--border);flex-flow:wrap}.brand{border:0;margin:0;padding:4px 8px}.brand img{width:130px}.nav-item{width:auto}.sidebar-foot{border-top:0;margin:0 0 0 auto;padding:4px 8px}.main{padding:12px}}.login{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);flex-direction:column;gap:12px;width:320px;max-width:calc(100vw - 24px);margin:12vh auto 0;padding:20px;display:flex}.split{grid-template-columns:minmax(0,1fr) 380px;align-items:start;gap:16px;display:grid}@media (width<=1200px){.split{grid-template-columns:minmax(0,1fr)}}@media (width<=1600px){.split .optional{display:none}}.stack{flex-direction:column;gap:10px;display:flex}.grid-form{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));align-items:end;gap:10px;display:grid}.actions{flex-wrap:wrap;align-items:end;gap:8px;display:flex}.section{border-top:1px solid var(--border);flex-direction:column;gap:8px;padding-top:10px;display:flex}dl.facts{grid-template-columns:auto 1fr;gap:4px 12px;margin:0;display:grid}dl.facts dt{color:var(--ink-3)}dl.facts dd{margin:0}.code{border:1px dashed var(--border-strong);border-radius:var(--radius);font-family:var(--mono);font-size:var(--text-lg);letter-spacing:.08em;text-align:center;-webkit-user-select:all;user-select:all;padding:8px;display:block}label.check{flex-direction:row;align-items:center;gap:6px}label.check input{height:auto}td.wrap{white-space:normal;word-break:break-word}.actions.end{justify-content:flex-end;align-items:center}.nav-group{color:var(--ink-3);font-size:var(--text-sm);margin-top:10px;padding:4px 8px;font-weight:600}.tabbar{border-bottom:1px solid var(--border);flex-wrap:wrap;display:flex}.tabbar button{color:var(--ink-2);font:inherit;cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;padding:4px 10px}.tabbar button[aria-current=page]{border-bottom-color:var(--accent);color:var(--accent);font-weight:600}fieldset.options{border:1px solid var(--border);border-radius:var(--radius);flex-direction:column;gap:4px;margin:0;padding:8px;display:flex}fieldset.options legend{color:var(--ink-2);font-size:var(--text-sm);padding:0 4px}fieldset.options.scroll{max-height:220px;overflow-y:auto}table.grid th,table.grid td{border-right:1px solid var(--border);text-align:center;min-width:28px;font-size:var(--text-sm);padding:4px 2px}table.grid th span{font-weight:400;display:block}table.grid .who{background:var(--surface);text-align:left;min-width:170px;font-size:var(--text);padding-inline:8px;position:sticky;left:0}table.grid thead .who{background:var(--surface-2);font-size:var(--text-sm)}table.grid td.rest{background:var(--surface-2);color:var(--ink-3)}table.grid td.holiday{background:var(--amber-soft);color:var(--amber)}table.grid td.leave{background:var(--accent-soft);color:var(--accent);font-weight:700}table.grid td.missing{background:var(--red-soft);color:var(--red)}table.grid td.own{text-underline-offset:3px;text-decoration:underline}.print-sheet{color:#000;border:1px solid var(--border);border-radius:var(--radius);text-align:center;background:#fff;flex-direction:column;align-items:center;gap:8px;max-width:480px;padding:24px;display:flex}.print-sheet strong{font-size:22px}.print-sheet span{font-size:var(--text-lg)}.print-sheet svg{width:100%;height:auto}@media print{.sidebar,.no-print{display:none!important}.shell{display:block}body{background:#fff}.print-sheet{border:0;max-width:150mm;margin:0 auto}}.attendance-wrap{max-height:calc(100vh - 210px);overflow:auto}table.grid.attendance{border-collapse:separate;border-spacing:0;width:max-content;min-width:100%}table.grid.attendance th,table.grid.attendance td{min-width:34px;padding:0}table.grid.attendance thead th{z-index:2;padding:4px 2px;line-height:1.2;position:sticky;top:0}table.grid.attendance .who{z-index:1;padding:4px 10px}table.grid.attendance thead .who{z-index:3}table.grid.attendance td button{width:100%;min-height:30px;color:inherit;font:inherit;font-weight:inherit;-webkit-text-decoration:inherit;text-decoration:inherit;text-underline-offset:3px;cursor:pointer;background:0 0;border:0;padding:0 2px;display:block}table.grid.attendance td button:disabled{cursor:default}table.grid.attendance td[aria-selected=true]{box-shadow:inset 0 0 0 2px var(--accent)}table.grid.attendance .sum{z-index:1;background:var(--surface);text-align:right;white-space:normal;width:72px;min-width:72px;max-width:72px;padding:4px 6px;font-weight:600;position:sticky}table.grid.attendance thead .sum{z-index:3;background:var(--surface-2)}table.grid.attendance .sum:last-child{right:0}table.grid.attendance .sum:nth-last-child(2){right:72px}table.grid.attendance .sum:nth-last-child(3){right:144px}table.grid.attendance .sum:nth-last-child(4){border-left:1px solid var(--border-strong);right:216px}table.grid.attendance .sum .small{font-weight:400}table.grid.attendance td.off{background:var(--surface-2);color:var(--ink-3)}table.grid.attendance td.missing{background:var(--amber-soft);color:var(--amber);font-weight:700}table.grid.attendance td.absent{background:var(--red-soft);color:var(--red);font-weight:700}table.grid.attendance td.extra{font-weight:700}table.grid.attendance td.pending{-webkit-text-decoration:underline dotted;text-decoration:underline dotted}@media (width<=760px){table.grid.attendance .sum{position:static}}.legend{flex-wrap:wrap;align-items:center;gap:6px 14px;display:flex}.legend .pending{text-underline-offset:3px;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.columns{grid-template-columns:repeat(auto-fit,minmax(340px,1fr));align-items:start;gap:20px;display:grid}.struck{text-decoration:line-through}ul.plain{max-height:220px;margin:6px 0 0;padding-left:18px;overflow-y:auto}summary{cursor:pointer}fieldset.plain-set{border:0;flex-direction:column;gap:12px;min-width:0;margin:0;padding:0;display:flex}tr.total td{border-top:1px solid var(--border-strong);font-weight:700}textarea{border:1px solid var(--border-strong);border-radius:var(--radius);background:var(--surface);color:var(--ink);font:inherit;resize:vertical;padding:6px 8px}.assistant{grid-template-columns:220px minmax(0,1fr);align-items:start;gap:16px;display:grid}.assistant .history{flex-direction:column;gap:4px;padding:8px;display:flex}.assistant .history .nav-item{text-overflow:ellipsis;white-space:nowrap;text-align:left;overflow:hidden}.chat{flex-direction:column;gap:10px;min-width:0;display:flex}.turn{flex-direction:column;gap:4px;min-width:0;display:flex}.bubble{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);white-space:pre-wrap;overflow-wrap:anywhere;max-width:70ch;padding:8px 10px}.turn.mine .bubble{background:var(--accent-soft)}.card-table .table-wrap{max-height:320px;margin-top:6px;overflow:auto}.composer{align-items:end;gap:8px;display:flex}.composer textarea{flex:1;min-width:0}.quota{flex-wrap:wrap;align-items:center;gap:8px;display:inline-flex}.badge{border:1px solid var(--border-strong);border-radius:var(--radius);color:var(--ink-2);font-size:var(--text-sm);vertical-align:middle;margin-left:8px;padding:2px 8px;font-weight:600}.assistant-settings{margin-bottom:12px;padding:8px 12px}.consent{max-width:90ch;margin:8px 0 0}@media (width<=900px){.assistant{grid-template-columns:minmax(0,1fr)}}.ai-action{flex-direction:column;gap:10px;max-width:70ch;padding:10px 12px;display:flex}.ai-action header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.ai-action .fact{display:contents}.print-sheet .print-logo{width:auto;max-width:100%;height:56px}
