:root{--ink: #111111;--orange: #E8591A;--orange-hover: #D14E14;--ivory: #F7F5F2;--forest: #1E3D34;--sage: #9FD0B8;--stone: #888888;--bg: var(--ivory);--surface: #FFFFFF;--surface-2: #EFECE7;--text: var(--ink);--muted: #6B6966;--border: #E3DFD8;--accent: var(--orange);--accent-text: #B7430F;--on-accent: #FFFFFF;--success-bg: #DCEFE5;--success-text: var(--forest);--warn-bg: #FCE6DA;--warn-text: #A33F10;--danger-text: #B42318;--info-bg: #E8E6F5;--info-text: #3E3A78;--shadow: 0 1px 2px rgba(17,17,17,.04), 0 4px 16px rgba(17,17,17,.05);--radius: 14px;--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;color-scheme:light}@media (prefers-color-scheme: dark){:root:not([data-theme=light]){--bg: #111111;--surface: #1A1A1A;--surface-2: #242424;--text: #F7F5F2;--muted: #A3A09B;--border: #2E2E2E;--accent-text: #F27A45;--success-bg: #1E3D34;--success-text: #9FD0B8;--warn-bg: #3A2015;--warn-text: #F7A27A;--danger-text: #F98A80;--info-bg: #25233D;--info-text: #BDB8F2;--shadow: none;color-scheme:dark}}:root[data-theme=dark]{--bg: #111111;--surface: #1A1A1A;--surface-2: #242424;--text: #F7F5F2;--muted: #A3A09B;--border: #2E2E2E;--accent-text: #F27A45;--success-bg: #1E3D34;--success-text: #9FD0B8;--warn-bg: #3A2015;--warn-text: #F7A27A;--danger-text: #F98A80;--info-bg: #25233D;--info-text: #BDB8F2;--shadow: none;color-scheme:dark}*{box-sizing:border-box}html,body{margin:0}body{background:var(--bg);color:var(--text);font-family:var(--font);font-size:15px;line-height:1.5;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit;color:inherit}a{color:var(--accent-text)}h1,h2,h3{margin:0;letter-spacing:-.02em;line-height:1.2}h1{font-size:26px;font-weight:700}h2{font-size:17px;font-weight:650}h3{font-size:15px;font-weight:600}.muted{color:var(--muted)}.small{font-size:13px}.tnum{font-variant-numeric:tabular-nums}.logo{display:inline-flex;flex-direction:column;line-height:1;-webkit-user-select:none;user-select:none}.logo-word{font-weight:800;font-size:22px;letter-spacing:-.03em;color:var(--text)}.logo-word .n,.logo-word .dot{color:var(--orange)}.logo-sub{font-size:9.5px;font-weight:600;letter-spacing:.42em;color:var(--muted);margin-top:4px}.logo.lg .logo-word{font-size:34px}.logo.lg .logo-sub{font-size:12px;margin-top:6px}.shell{display:grid;grid-template-columns:240px 1fr;min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;gap:24px;padding:24px 16px;border-right:1px solid var(--border);background:var(--surface)}.nav{display:flex;flex-direction:column;gap:2px}.nav a{display:flex;align-items:center;gap:10px;padding:9px 12px;border-radius:10px;color:var(--muted);text-decoration:none;font-weight:500}.nav a:hover{background:var(--surface-2);color:var(--text)}.nav a.active{background:var(--surface-2);color:var(--text);font-weight:600}.nav a.active svg{color:var(--accent)}.nav .count{margin-left:auto;min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:var(--accent);color:var(--on-accent);font-size:11.5px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}.sidebar-foot{margin-top:auto;display:flex;flex-direction:column;gap:10px}.who{display:flex;align-items:center;gap:10px}.avatar{width:34px;height:34px;border-radius:50%;flex:none;background:var(--forest);color:var(--ivory);display:inline-flex;align-items:center;justify-content:center;font-weight:700;font-size:13px}.who-name{font-weight:600;font-size:14px}.who-role{font-size:12px;color:var(--muted);text-transform:capitalize}.foot-row{display:flex;gap:8px}.main{padding:32px 40px 48px;max-width:1080px;width:100%}.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:24px;flex-wrap:wrap}.page-head p{margin:4px 0 0;color:var(--muted)}.topbar,.tabbar{display:none}@media (max-width: 860px){.shell{grid-template-columns:1fr}.sidebar{display:none}.topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;position:sticky;top:0;z-index:10;padding:12px 16px;background:var(--surface);border-bottom:1px solid var(--border)}.main{padding:20px 16px calc(96px + env(safe-area-inset-bottom))}h1{font-size:22px}.tabbar{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;position:fixed;bottom:0;left:0;right:0;z-index:10;background:var(--surface);border-top:1px solid var(--border);padding:6px 4px calc(6px + env(safe-area-inset-bottom))}.tabbar a{position:relative;display:flex;flex-direction:column;align-items:center;gap:2px;padding:6px 2px;border-radius:10px;font-size:10.5px;font-weight:500;color:var(--muted);text-decoration:none;min-width:0}.tabbar a span.lbl{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.tabbar a.active{color:var(--text);font-weight:600}.tabbar a.active svg{color:var(--accent)}.tabbar .dotcount{position:absolute;top:2px;left:calc(50% + 6px);min-width:16px;height:16px;padding:0 4px;border-radius:8px;background:var(--accent);color:var(--on-accent);font-size:10px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:20px}.card+.card{margin-top:16px}.card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;flex-wrap:wrap}.stack{display:flex;flex-direction:column;gap:16px}.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.stats{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}.stat{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:14px 16px}.stat .v{font-size:26px;font-weight:700;letter-spacing:-.02em;font-variant-numeric:tabular-nums}.stat .l{font-size:12.5px;color:var(--muted);margin-top:2px}@media (max-width: 860px){.grid-2{grid-template-columns:1fr}.card{padding:16px}}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:40px;padding:0 16px;border-radius:10px;border:1px solid var(--border);background:var(--surface);color:var(--text);font-weight:600;font-size:14px;cursor:pointer;text-decoration:none;white-space:nowrap;transition:background .15s,border-color .15s,transform .05s}.btn:hover{background:var(--surface-2)}.btn:active{transform:translateY(1px)}.btn:disabled{opacity:.55;cursor:not-allowed}.btn:focus-visible,.nav a:focus-visible,.seg button:focus-visible,.chip:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.btn.primary{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}.btn.primary:hover{background:var(--orange-hover);border-color:var(--orange-hover)}.btn.dark{background:var(--text);border-color:var(--text);color:var(--bg)}.btn.ghost{background:transparent;border-color:transparent;color:var(--muted)}.btn.ghost:hover{background:var(--surface-2);color:var(--text)}.btn.sm{height:32px;padding:0 12px;font-size:13px;border-radius:8px}.btn.block{width:100%}.btn.icon{width:36px;height:36px;padding:0}.btn.danger{color:var(--danger-text)}.field{display:flex;flex-direction:column;gap:6px}.field label{font-size:13px;font-weight:600}.input,select.input,textarea.input{height:42px;padding:0 12px;border-radius:10px;border:1px solid var(--border);background:var(--surface);width:100%;min-width:0}textarea.input{height:auto;min-height:72px;padding:10px 12px;resize:vertical}.input::placeholder{color:var(--muted)}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;align-items:end}.row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.row.between{justify-content:space-between}.chips{display:flex;gap:8px;flex-wrap:wrap}.chip{height:36px;padding:0 14px;border-radius:18px;border:1px solid var(--border);background:var(--surface);font-weight:500;font-size:14px;cursor:pointer}.chip.on{background:var(--text);color:var(--bg);border-color:var(--text)}.seg{display:inline-flex;background:var(--surface-2);border-radius:10px;padding:3px;gap:2px}.seg button{border:0;background:transparent;padding:6px 12px;border-radius:8px;font-size:13px;font-weight:500;color:var(--muted);cursor:pointer;white-space:nowrap}.seg button.on{background:var(--surface);color:var(--text);font-weight:600;box-shadow:0 1px 2px #00000014}.seg button:disabled{cursor:default}.badge{display:inline-flex;align-items:center;gap:5px;height:22px;padding:0 8px;border-radius:6px;font-size:12px;font-weight:600;white-space:nowrap;background:var(--surface-2);color:var(--muted)}.badge.urgent{background:var(--warn-bg);color:var(--warn-text)}.badge.green{background:var(--success-bg);color:var(--success-text)}.badge.orange{background:var(--warn-bg);color:var(--warn-text)}.badge.info{background:var(--info-bg);color:var(--info-text)}.badge.red{color:var(--danger-text);background:transparent;border:1px solid currentColor}.list{display:flex;flex-direction:column}.item{display:flex;align-items:center;gap:14px;padding:14px 0;border-top:1px solid var(--border)}.item:first-child{border-top:0;padding-top:0}.item:last-child{padding-bottom:0}.item .grow{flex:1;min-width:0}.item .title{font-weight:600}.item .meta{display:flex;gap:8px;flex-wrap:wrap;align-items:center;color:var(--muted);font-size:13px;margin-top:3px}@media (max-width: 600px){.item.wrap{flex-wrap:wrap}.item.wrap>.actions{width:100%}}.task{padding:14px 0;border-top:1px solid var(--border);display:flex;flex-direction:column;gap:10px}.task:first-child{border-top:0;padding-top:0}.task:last-child{padding-bottom:0}.task-top{display:flex;gap:12px;justify-content:space-between;align-items:flex-start}.note{font-size:13px;background:var(--surface-2);border-radius:8px;padding:8px 10px}.note b{font-weight:600}.empty{text-align:center;padding:28px 12px;color:var(--muted)}.empty .big{font-size:15px;font-weight:600;color:var(--text);margin-bottom:4px}table.tbl{width:100%;border-collapse:collapse;font-size:14px}.tbl th{text-align:left;font-size:12px;font-weight:600;color:var(--muted);padding:0 10px 10px 0;border-bottom:1px solid var(--border)}.tbl td{padding:12px 10px 12px 0;border-bottom:1px solid var(--border);vertical-align:middle}.tbl tr:last-child td{border-bottom:0}.tbl-wrap{overflow-x:auto}.alert{padding:10px 12px;border-radius:10px;font-size:14px}.alert.err{background:var(--warn-bg);color:var(--warn-text)}.alert.ok{background:var(--success-bg);color:var(--success-text)}.toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%);z-index:50;background:var(--text);color:var(--bg);padding:10px 16px;border-radius:10px;font-size:14px;font-weight:500;box-shadow:0 8px 24px #0003;max-width:calc(100vw - 32px)}@media (max-width: 860px){.toast{bottom:calc(84px + env(safe-area-inset-bottom))}}.hero{display:grid;grid-template-columns:1.2fr 1fr;gap:16px}.hero>.card{margin-top:0}.clock-card{display:flex;flex-direction:column;justify-content:center}.clock .ampm{font-size:18px;color:#cfcbc4;margin-left:10px;font-weight:600;letter-spacing:.02em}@media (max-width: 860px){.hero{grid-template-columns:1fr}}.clock-card{background:var(--ink);color:var(--ivory);border-color:var(--ink)}:root[data-theme=dark] .clock-card{background:var(--forest);border-color:var(--forest)}@media (prefers-color-scheme: dark){:root:not([data-theme=light]) .clock-card{background:var(--forest);border-color:var(--forest)}}.clock{font-size:52px;font-weight:700;letter-spacing:-.04em;font-variant-numeric:tabular-nums;line-height:1}.clock .sec{font-size:22px;color:var(--sage);margin-left:4px;font-weight:600}.clock-date{color:#cfcbc4;margin-top:10px;font-weight:500}.clock-greet{color:var(--sage);font-size:13px;font-weight:600;margin-bottom:14px}.big-btn{width:100%;height:64px;border-radius:14px;border:0;cursor:pointer;font-size:17px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:10px}.big-btn.in{background:var(--accent);color:var(--on-accent)}.big-btn.in:hover{background:var(--orange-hover)}.big-btn.out{background:var(--text);color:var(--bg)}.big-btn:disabled{opacity:.6;cursor:wait}.att-line{display:flex;justify-content:space-between;font-size:14px;padding:8px 0;border-top:1px solid var(--border)}.att-line:first-of-type{border-top:0}.auth-wrap{min-height:100vh;display:grid;place-items:center;padding:24px 16px}.auth-card{width:100%;max-width:400px}.auth-card .card{padding:28px}.auth-logo{display:flex;justify-content:center;margin-bottom:28px}.tabs{display:grid;grid-template-columns:1fr 1fr;background:var(--surface-2);border-radius:10px;padding:3px;margin-bottom:22px}.tabs button{border:0;background:transparent;height:36px;border-radius:8px;font-weight:600;color:var(--muted);cursor:pointer}.tabs button.on{background:var(--surface);color:var(--text);box-shadow:0 1px 2px #00000014}.divider{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:12px;margin:18px 0}.divider:before,.divider:after{content:"";flex:1;height:1px;background:var(--border)}.linkbtn{background:none;border:0;padding:0;color:var(--accent-text);font-weight:600;cursor:pointer;font-size:13px}.center-screen{min-height:100vh;display:grid;place-items:center;padding:24px;text-align:center}.spinner{width:22px;height:22px;border:2.5px solid var(--border);border-top-color:var(--accent);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion: reduce){.spinner{animation-duration:2s}}.fb-box{display:flex;flex-direction:column;gap:8px}.rec-dot{width:9px;height:9px;border-radius:50%;background:currentColor;animation:pulse 1s ease-in-out infinite}@keyframes pulse{50%{opacity:.3}}@media (prefers-reduced-motion: reduce){.rec-dot{animation:none}}.fb-input{position:relative}.fb-input textarea{padding-bottom:48px}.fb-tools{position:absolute;right:8px;bottom:8px;display:flex;align-items:center;gap:6px}.fb-mic{width:34px;height:34px;border-radius:50%;border:0;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;background:var(--surface-2);color:var(--text);transition:background .15s,color .15s}.fb-mic:hover{background:var(--border)}.fb-mic svg{width:17px;height:17px}.fb-mic.on{background:var(--accent);color:var(--on-accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 25%,transparent);animation:pulse 1.2s ease-in-out infinite}.fb-lang{height:26px;min-width:34px;padding:0 8px;border-radius:13px;border:1px solid var(--border);background:transparent;color:var(--muted);font-size:12px;font-weight:600;cursor:pointer}.fb-lang:hover{color:var(--text)}.fb-mic:focus-visible,.fb-lang:focus-visible{outline:2px solid var(--accent);outline-offset:2px}@media (prefers-reduced-motion: reduce){.fb-mic.on{animation:none}}
