:root{--bg: #F2F5F8;--surface: #FFFFFF;--fg: #12202E;--muted: #33475B;--line: #DDE3EA;--line2: #C5CFDA;--blue: #0668A8;--blue-bg: #E3F0FA;--blue-btn: #0668A8;--red: #C40012;--red-bg: #FDECEC;--red-line: #E2474F;--brand-red: #C40012;--green: #2E7D4F;color-scheme:light}*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;background:var(--bg);color:var(--fg);font-family:Noto Sans JP,Hiragino Sans,Yu Gothic,system-ui,sans-serif;font-size:16px;-webkit-text-size-adjust:100%}button,input,select,textarea{font:inherit;color:inherit}h1{margin:0;font-size:22px}h2,p{margin:0}.app{max-width:560px;margin:0 auto;min-height:100%;padding-bottom:calc(96px + env(safe-area-inset-bottom))}.screen{display:flex;flex-direction:column}.head{background:var(--surface);border-bottom:1px solid var(--line);padding:calc(14px + env(safe-area-inset-top)) 16px 12px;display:flex;flex-direction:column;gap:10px}.list{padding:12px 16px;display:flex;flex-direction:column;gap:8px}.logo{height:28px;width:auto;mix-blend-mode:multiply}.row{display:flex}.between{justify-content:space-between;align-items:center}.baseline{align-items:baseline}.gap{gap:8px;flex-wrap:wrap}.center-v{align-items:center}.push{margin-left:auto}.nowrap{white-space:nowrap}.muted{color:var(--muted)}.small{font-size:13px}.b{font-weight:700}.red{color:var(--red)}.center{min-height:100%;display:flex;flex-direction:column;gap:12px;align-items:center;justify-content:center;padding:24px;text-align:center}.center-text{text-align:center}.sr{position:absolute;left:-9999px}.error{color:var(--red);font-weight:700}.pill{font-size:13px;padding:4px 10px;border-radius:999px;background:#eef0f3;color:var(--muted)}.pill.red{background:var(--red-bg);color:var(--red);font-weight:700}.pill.blue{background:var(--blue-bg);color:var(--blue);font-weight:700}.seg{display:grid;grid-template-columns:1fr 1fr;background:#eef0f3;border-radius:10px;padding:3px}.seg button{min-height:44px;border:0;border-radius:8px;background:none;color:var(--muted)}.seg button.on{background:var(--surface);color:var(--blue);font-weight:700}.sec{font-size:14px;font-weight:700;margin-top:6px}.sec.red{color:var(--red)}.sec.blue{color:var(--blue)}.group{display:flex;flex-direction:column;gap:8px}.card{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:10px 12px;display:flex;gap:12px;align-items:flex-start}.card.late{border:2px solid var(--red-line)}.check{width:44px;height:44px;flex:none;border:2px solid #8A94A3;border-radius:10px;background:var(--surface)}.check.late{border-color:var(--red)}.check:active{background:var(--green)}.avatar{width:44px;height:44px;flex:none;border-radius:999px;background:#eef0f3;color:var(--muted);display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700}.card-body{flex:1;min-width:0;text-align:left;border:0;background:none;padding:0;display:flex;flex-direction:column;gap:3px}.meta{display:flex;gap:6px;align-items:center;flex-wrap:wrap;font-size:13px}.kind{font-size:12px;font-weight:700;background:var(--fg);color:#fff;padding:2px 8px;border-radius:6px}.time{color:var(--blue)}.tail{font-size:15px;color:var(--fg)}.memo{font-size:16px;font-weight:500;overflow-wrap:anywhere}.memo.big{font-size:17px}.later{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:12px 14px;text-align:left;margin-top:6px}.tabbar{position:fixed;left:0;right:0;bottom:0;background:var(--surface);border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 96px 1fr;align-items:center;padding:6px 16px calc(6px + env(safe-area-inset-bottom));max-width:560px;margin:0 auto}.tabbar button{border:0;background:none;min-height:56px;color:var(--muted);font-size:14px}.tabbar button.on{color:var(--blue);font-weight:700}.tabbar .fab{justify-self:center;width:72px;height:72px;border-radius:999px;background:var(--brand-red);display:flex;align-items:center;justify-content:center;margin-top:-30px;box-shadow:0 6px 16px #e5001259}.sheet-bg{position:fixed;top:0;right:0;bottom:0;left:0;background:#1b243073;display:flex;align-items:flex-end;justify-content:center;z-index:20}.sheet{background:var(--surface);width:100%;max-width:560px;border-radius:20px 20px 0 0;padding:14px 16px calc(18px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:10px;max-height:94vh;overflow-y:auto}.sheet.tall{min-height:80vh}.step{font-size:13px;color:var(--muted);font-weight:700}.grid2,.grid3,.grid4{display:grid;gap:8px}.grid2{grid-template-columns:1fr 1fr}.grid3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid4{grid-template-columns:repeat(4,minmax(0,1fr))}.choice{min-height:56px;border:1px solid var(--line2);border-radius:12px;background:var(--surface);font-size:15px}.choice.on{border:2px solid var(--blue-btn);background:var(--blue-bg);color:var(--blue);font-weight:700}textarea,input:not([type=checkbox]),select{width:100%;min-height:44px;border:1px solid var(--line2);border-radius:10px;padding:8px 10px;background:var(--surface);font-size:16px}textarea{resize:vertical}input[type=checkbox]{width:24px;height:24px;accent-color:var(--blue-btn);flex:none}.btn{min-height:48px;border:1px solid var(--line2);border-radius:12px;background:var(--surface);padding:0 14px}.btn:disabled{opacity:.5}.btn.big{min-height:58px;font-size:18px;font-weight:700}.btn.primary{background:var(--blue-btn);border-color:var(--blue-btn);color:#fff}.btn.red{background:var(--brand-red);border-color:var(--brand-red);color:#fff}.btn.green{background:var(--green);border-color:var(--green);color:#fff;font-weight:700}.btn.danger{border-color:var(--red);color:var(--red);font-weight:700}.link{border:0;background:none;color:var(--muted);min-height:44px;padding:0 4px}.box{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:12px 14px;display:flex;flex-direction:column;gap:8px}.box.soft{background:var(--blue-bg);border-color:#b7d3ea}.check-row{display:flex;gap:12px;align-items:center;min-height:52px;border-bottom:1px solid #EEF0F3}.check-row:last-of-type{border-bottom:0}.hist{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:4px;font-size:13px}.hist li{display:flex;gap:8px}.hist li .muted{flex:none;width:92px}.toast{position:fixed;left:50%;transform:translate(-50%);bottom:calc(100px + env(safe-area-inset-bottom));background:var(--fg);color:#fff;padding:10px 16px;border-radius:999px;font-size:14px;z-index:30;max-width:90%;text-align:center}.login{max-width:400px;margin:0 auto;padding:calc(40px + env(safe-area-inset-top)) 20px 40px;display:flex;flex-direction:column;gap:10px}.login-logo{width:180px;align-self:center;margin-bottom:8px;mix-blend-mode:multiply}.login h1{text-align:center;margin-bottom:12px}.login label{font-size:14px;color:var(--muted)}.surname-row{display:flex;gap:8px;align-items:center}.surname-row input{flex:1;width:auto;min-width:0}.kind.ins{background:#7a1f00}.act{font-size:12px;font-weight:700;color:var(--blue);border:1px solid var(--blue);padding:1px 7px;border-radius:6px}.seg button.on.ins{color:#7a1f00}.chip{min-height:40px;padding:0 14px;border:1px solid var(--line2);border-radius:999px;background:var(--surface);font-size:14px}.chip.on{border:2px solid var(--blue-btn);background:var(--blue-bg);color:var(--blue);font-weight:700}.choice.sm{min-height:48px;font-size:14px;padding:0 2px}.dhead{height:calc(64px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 16px 0;background:var(--surface);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:8px}.dlogo{height:48px;width:auto;mix-blend-mode:multiply}.dlogo.sm{height:40px}.dh1{font-size:20px;font-weight:900;margin:0}.dmain{padding:14px 16px;display:flex;flex-direction:column;gap:12px}.pillbtn{position:relative;height:44px;padding:0 12px;border-radius:22px;border:1px solid var(--line2);background:var(--surface);font-weight:700;font-size:14px;display:inline-flex;align-items:center}.pillbtn.blue{border:2px solid var(--blue);color:var(--blue)}.dot{position:absolute;top:-6px;right:-6px;min-width:22px;height:22px;border-radius:11px;background:var(--red);color:#fff;font-size:12px;font-weight:900;display:flex;align-items:center;justify-content:center;padding:0 5px}.alert{display:flex;align-items:center;gap:12px;border-radius:14px;padding:10px 16px;min-height:56px;text-align:left;font-size:20px;border:0}.alert .num{font-size:32px;font-weight:900;line-height:1}.alert b{display:block;font-size:16px}.alert small{display:block;font-size:13px}.alert.red{background:var(--red);color:#fff}.alert.amber{background:#ffe3c2;border:2px solid #9A5200;color:var(--fg)}.grow{flex:1;min-width:0}.ell{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.widget{background:var(--surface);border:2px solid var(--blue);border-radius:14px;padding:12px 14px;display:flex;flex-direction:column;gap:8px}.wtitle{border:0;background:none;padding:0;font-size:17px;font-weight:900;color:var(--blue)}.wrow{display:flex;align-items:center;gap:8px;min-height:42px;border:0;border-bottom:1px solid #E9EEF3;background:none;padding:0;text-align:left;font-size:15px;font-weight:700}.tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.tile{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:10px 4px 12px;display:flex;flex-direction:column;align-items:center;gap:2px}.tnum{font-size:34px;font-weight:900;line-height:1.15}.tlabel{font-size:13px;font-weight:700;color:var(--muted)}.dsec{margin:4px 0 0;font-size:16px;font-weight:700;color:var(--muted)}.dlist{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:2px 14px}.drow{display:flex;align-items:center;gap:10px;min-height:48px;border-bottom:1px solid #E9EEF3}.drow:last-child{border-bottom:0}.dtime{font-size:13px;font-weight:700;color:var(--blue);width:84px;flex:none}.pad{padding:12px 0}.jcard{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:14px 16px;display:flex;flex-direction:column;gap:6px}.jcar{font-size:20px;font-weight:900}.jid{font-size:13px;font-weight:700;color:#54667a}.jid b{font-weight:900;color:var(--fg)}.badge{font-size:14px;font-weight:700;border-radius:8px;padding:3px 10px}.search{padding:10px 16px 0}.chips{display:flex;gap:8px;padding:10px 16px 0;overflow-x:auto}.fchip{flex:none;height:44px;padding:0 16px;border-radius:22px;border:1px solid var(--line2);background:var(--surface);font-weight:700;font-size:15px}.fchip.on{background:var(--blue);border-color:var(--blue);color:#fff}.dnav{position:fixed;left:0;right:0;bottom:0;max-width:560px;margin:0 auto;background:var(--surface);border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:center;justify-items:center;padding:6px 4px calc(6px + env(safe-area-inset-bottom));z-index:10}.nitem{border:0;background:none;display:flex;flex-direction:column;align-items:center;gap:2px;min-height:52px;justify-content:center;color:#54667a;font-size:12px;font-weight:700}.nitem.on{color:var(--blue)}.nfab{width:62px;height:62px;border-radius:31px;border:0;background:var(--red);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:11px;font-weight:700;margin-top:-24px;box-shadow:0 4px 10px #12202e40}.tabbar.todo{grid-template-columns:1fr 1fr 80px 1fr 1fr;padding-left:4px;padding-right:4px}.tabbar.todo .fab{width:64px;height:64px}.blue{color:var(--blue)}.jid{white-space:nowrap;flex:none;margin-left:8px}.jcar{min-width:0}.nitem,.tabbar button{white-space:nowrap}.tabbar.todo button{font-size:13px}.choice.sm{font-size:13px;letter-spacing:-.04em}.grid4.subrow{grid-template-columns:1fr 1.5fr 1.25fr 1.1fr}.rcp{padding-bottom:120px}.rhead{position:sticky;top:0;z-index:5;height:calc(56px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 12px 0 4px;background:var(--surface);border-bottom:1px solid var(--line);display:flex;align-items:center;gap:8px}.bars{display:grid;grid-auto-flow:column;gap:4px;padding:8px 16px;background:var(--surface);border-bottom:1px solid var(--line)}.bars span{height:6px;border-radius:3px;background:var(--line2)}.bars span.on{background:var(--blue)}.optrow{display:flex;flex-wrap:wrap;gap:8px}.opt{min-height:48px;padding:0 14px;border:1px solid var(--line2);border-radius:12px;background:var(--surface);font-size:15px;font-weight:700;text-align:left}.opt.on{border:2px solid var(--blue);background:var(--blue-bg);color:var(--blue)}.opt.wide{width:100%;padding:10px 14px}.seg.big button{min-height:56px;font-size:18px}.subbox{background:#f7f9fb;border:1px dashed var(--line2);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:6px}.btn.dashed{border-style:dashed;font-weight:700}.newcar{display:flex;flex-direction:column;gap:6px;border-top:1px solid var(--line);padding-top:8px}.field{display:flex;flex-direction:column;gap:2px}.box.ins{border-color:#7a1f00}.kv{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #EEF0F3;font-size:15px}.kv b{text-align:right}.warnbox{background:#fff4d6;border:2px solid #9A5200;border-radius:12px;padding:10px 12px;display:flex;flex-direction:column;gap:6px;font-weight:700}.rfoot{position:fixed;left:0;right:0;bottom:0;max-width:560px;margin:0 auto;background:var(--surface);border-top:1px solid var(--line);padding:10px 16px calc(12px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:6px;z-index:10}
