:root {font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;color:#243449;background:#f6f8fb;font-synthesis:none;-webkit-text-size-adjust:100%}
*{box-sizing:border-box} body{margin:0} button,input,select,textarea{font:inherit} button{cursor:pointer} a{color:#305e93} .app-shell{max-width:730px;margin:0 auto;min-height:100vh;padding-bottom:calc(95px + env(safe-area-inset-bottom));} .header{background:#385d86;color:white;padding:calc(env(safe-area-inset-top) + 20px) 20px 26px;border-radius:0 0 26px 26px} .header .brand{font-size:12px;letter-spacing:.13em;opacity:.8;font-weight:750}.header h1{font-size:22px;margin:5px 0 0;letter-spacing:.01em}.header .sub{font-size:12px;color:#e6eef8;margin:8px 0 0}.content{padding:20px 16px 24px}.card{background:#fff;border:1px solid #e5eaf1;border-radius:17px;padding:17px;margin-bottom:14px;box-shadow:0 3px 16px rgba(26,52,85,.035)} .hero{background:#eef3f9;border-color:#dce8f3}.hero-label,.muted{color:#697b91}.hero-label{font-size:12px;font-weight:700}.amount{font-size:30px;letter-spacing:-.04em;font-weight:800;font-variant-numeric:tabular-nums;margin:6px 0 10px}.sub-amount{font-size:16px;font-weight:800} .sml{font-size:12px}.xs{font-size:11px}.title-row,.between{display:flex;justify-content:space-between;align-items:center;gap:10px}.title-row{margin:17px 1px 12px}h2{font-size:16px;margin:0} h3{font-size:15px;margin:0 0 12px}.intro{font-size:13px;color:#60738a;line-height:1.65;margin:5px 0 15px}.pill{display:inline-flex;align-items:center;gap:5px;border-radius:99px;padding:4px 9px;background:#eef2f6;color:#586f85;font-size:11px;font-weight:750;white-space:nowrap}.pill.done{background:#def3e9;color:#197357}.pill.warn{background:#fff2df;color:#95601a}.pill.blue{background:#e4edfa;color:#2d5b8e}.payout-row,.shift-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;border-top:1px solid #edf0f5}.payout-row:first-of-type,.shift-row:first-of-type{border-top:0}.payout-row strong,.shift-row strong{font-size:14px}.right{text-align:right}.mini{font-size:12px;color:#6c7d90;line-height:1.65}.row-amount{font-size:17px;font-weight:800;font-variant-numeric:tabular-nums}.btn{border:1px solid #cad6e4;background:#fff;border-radius:11px;padding:11px 13px;color:#375879;font-size:13px;font-weight:750;min-height:42px}.btn.primary{background:#385d86;color:#fff;border-color:#385d86}.btn.solid2{background:#e9f2f9;border-color:#e9f2f9}.btn.danger{color:#b14c4c;border-color:#f0d9d9}.btn.block{display:block;width:100%}.btn.small{padding:6px 9px;min-height:32px;font-size:12px}.btn:disabled{opacity:.45;cursor:not-allowed}.actions{display:flex;flex-wrap:wrap;gap:8px}.actions>.btn{flex:1}.navigation{position:fixed;bottom:0;left:0;right:0;max-width:730px;margin:0 auto;z-index:5;background:#fff;border-top:1px solid #e3e8ed;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:9px 4px calc(9px + env(safe-area-inset-bottom));box-shadow:0 -5px 20px rgba(14,33,55,.05)}.nav-btn{border:0;background:transparent;display:flex;flex-direction:column;align-items:center;gap:4px;color:#8190a0;font-size:11px;min-height:51px;font-weight:600}.nav-btn .nav-icon{font-size:22px;line-height:1.2}.nav-btn.active{color:#315e8d}.nav-btn.active .nav-icon{filter:saturate(1.2)}.switcher{display:flex;align-items:center;gap:5px}.switcher button{min-width:32px;min-height:34px;background:white;border:1px solid #e0e6ee;border-radius:9px;color:#3d5d7d}.switcher strong{font-size:14px;min-width:97px;text-align:center}.segmented{display:flex;background:#eaf0f6;border-radius:12px;padding:4px;margin-bottom:14px}.segmented button{flex:1;border:none;background:transparent;border-radius:9px;padding:10px 8px;color:#60768e;font-size:13px;font-weight:700}.segmented button.active{background:white;color:#2b4e73;box-shadow:0 1px 5px #00000012}.summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.summary-box{background:white;border:1px solid #e4e9f0;border-radius:13px;padding:13px}.summary-box .amt{font-size:20px;font-weight:800;margin-top:7px;font-variant-numeric:tabular-nums;white-space:nowrap}.summary-box .sml{font-size:11px}.footnote,.hint{font-size:12px;line-height:1.7;color:#728195}.hint{padding:10px 13px;background:#f0f5fa;border-radius:10px}.notice{padding:12px 14px;border-radius:12px;background:#fff6e9;color:#835c29;font-size:12px;line-height:1.7;margin-bottom:14px}.error{background:#fff0f0;color:#ac3e3e}.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.cal-wd{text-align:center;font-size:11px;color:#8393a3;padding:4px 0 8px}.day-cell{border:1px solid #e3eaf2;background:#fff;border-radius:10px;padding:7px 2px 4px;min-height:66px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:5px;color:#3d536c}.day-cell.today{border:2px solid #6992ba}.day-cell.selected{background:#e4edf7;border:2px solid #4779a8}.day-cell.empty{background:transparent;border:none;pointer-events:none}.day-no{font-size:13px;font-weight:750}.dot-row{display:flex;gap:3px;flex-wrap:wrap;justify-content:center}.dot{width:7px;height:7px;border-radius:50%;background:#71a3d1}.dot.spot{background:#e0a25f}.dot.cancel{background:#aeb9c4}.section-caption{font-size:12px;font-weight:800;color:#74869a;margin:20px 0 6px}.empty-state{padding:23px 14px;text-align:center;color:#8290a0;font-size:13px;line-height:1.8}.table-scroll{overflow-x:auto}.table{width:100%;border-collapse:collapse;font-size:12px}.table th,.table td{padding:10px 6px;border-bottom:1px solid #edf0f4;text-align:left;white-space:nowrap}.table th{color:#74849a;font-weight:750;background:#f8fafc}.table td:last-child{text-align:right}.click-row{cursor:pointer}.click-row:active{background:#f0f5fb}.chart-row{display:grid;grid-template-columns:38px 1fr 85px;align-items:center;gap:8px;margin:13px 0;font-size:12px}.chart-track{height:11px;border-radius:7px;background:#edf0f5;overflow:hidden}.chart-bar{height:100%;background:#7194b8;border-radius:7px}.chart-bar.actual{background:#5fb09c}.bar-legend{display:flex;gap:15px;font-size:11px;color:#8191a3}.bar-legend span:before{content:'';display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:5px;background:#7194b8}.bar-legend span+span:before{background:#5fb09c}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.field{min-width:0}.field label,.field>span{display:block;color:#64788f;font-size:12px;font-weight:700;margin-bottom:6px}.field input,.field select,.field textarea{display:block;width:100%;min-height:42px;border:1px solid #d9e1eb;border-radius:10px;background:white;color:#25384d;padding:9px 10px;font-size:16px}.field textarea{min-height:70px}.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid #bfd8f0;border-color:#648eb8}.field input[type="checkbox"]{width:auto;min-height:0}.field .help{font-size:11px;color:#8492a2;margin-top:5px}.full{grid-column:1/-1}.checkline{display:flex;gap:9px;align-items:center;font-size:13px;line-height:1.6;padding:5px 0}.checkline input{width:18px;height:18px}.modal-backdrop{position:fixed;inset:0;z-index:10;background:#172b406b;display:flex;align-items:flex-end;justify-content:center}.sheet{background:#fff;width:100%;max-width:730px;max-height:94dvh;overflow-y:auto;border-radius:23px 23px 0 0;padding:0 16px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -5px 30px #172b4033}.sheet-head{position:sticky;top:0;background:#fff;z-index:1;padding:20px 0 13px;border-bottom:1px solid #e7edf3;margin-bottom:16px;display:flex;align-items:center;justify-content:space-between}.sheet-head h2{font-size:17px}.xbtn{border:0;background:#edf1f5;color:#53687d;border-radius:50%;width:34px;height:34px;font-size:21px}.sheet-footer{padding-top:18px;display:flex;gap:10px;flex-wrap:wrap}.sheet-footer .btn{flex:1}.divider{border:0;border-top:1px solid #e8edf2;margin:17px 0}.twobuttons{display:flex;gap:8px;margin:12px 0}.chip-btn{border:1px solid #d7e3ee;background:#f8fbfd;color:#466f93;border-radius:9px;padding:7px 10px;font-size:12px}.batch-row{background:#f8fafc;border:1px solid #e6edf4;border-radius:12px;padding:12px;margin:9px 0}.batch-row-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.inline-remove{border:0;background:transparent;color:#a05757;font-size:12px}.jobtag{display:inline-block;font-size:11px;color:#54718f;background:#edf3f9;padding:3px 7px;border-radius:7px}.highlight{color:#315c87}.hidden{display:none!important}#toast{position:fixed;z-index:40;bottom:calc(94px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);background:#293d52;color:#fff;border-radius:12px;padding:12px 16px;max-width:90%;min-width:180px;font-size:13px;text-align:center;opacity:0;transition:opacity .2s;pointer-events:none}#toast.show{opacity:1}.loading{padding:60px;text-align:center;color:#5d718a}.fatal{padding:24px}.warning-dot{color:#a3661b;font-weight:750}
@media(min-width:650px){.content{padding:25px 24px}.header{padding-left:28px;padding-right:28px}.sheet{border-radius:23px;margin-bottom:3vh;max-height:90dvh}.modal-backdrop{align-items:center}}
