:root{font-family:Segoe UI,Yu Gothic UI,Meiryo,sans-serif;color:#243b37;background:#f5f7f4;font-synthesis:none;font-size:14px;line-height:1.6}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer;border:1px solid transparent;border-radius:8px;background:#175c4b;color:#fff;padding:10px 16px;font-weight:600;transition:background .15s}button:hover{background:#104635}button:disabled{opacity:.45;cursor:default}.secondary{background:#fff;border-color:#d6dfd9;color:#31574b}.secondary:hover{background:#edf3ef}.text{background:transparent;color:#40675a;border:0;padding:4px 6px;font-size:12px}.text:hover{background:#eaf2ed}.danger{color:#a34236}.compact{padding:6px 12px;font-size:12px}header{height:84px;background:#fff;border-bottom:1px solid #e1e7e0;display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100% - 1240px)/2))}.brand{display:flex;gap:12px;align-items:center;font-size:21px;font-weight:700;letter-spacing:.05em}.brand small{display:block;font-size:10px;font-weight:400;letter-spacing:.12em;color:#7a8b81}.logo{background:#175c4b;color:#fff;width:40px;height:40px;border-radius:12px;display:grid;place-items:center;font-size:24px}.local-badge{font-size:12px;color:#60796b;padding:6px 12px;background:#f1f6f1;border-radius:20px}main{max-width:1288px;margin:auto;padding:32px 24px}.page-title,.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.page-title{margin-bottom:20px}.eyebrow{font-size:10px;letter-spacing:.17em;color:#628776;font-weight:700;margin:0 0 8px}h1{font-size:30px;letter-spacing:.03em;margin:0 0 8px}h2{font-size:17px;margin:0}h3{font-size:16px;margin:6px 0}p{margin:6px 0}.muted{color:#78877e;font-size:12px}.notice{padding:9px 14px;background:#ebf2ea;color:#4e735d;border-radius:8px;font-size:12px;margin-bottom:20px}.error{color:#a33a32}.notice.error{background:#ffebe8}.overview{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:24px}.summary{background:#fff;border:1px solid #e1e7df;border-radius:12px;padding:22px 24px}.summary>span{font-size:12px;color:#718378}.summary strong{display:block;font-size:36px;line-height:1.6;letter-spacing:-.03em}.summary strong small{font-size:13px;font-weight:400;margin-left:8px}.summary p{font-size:11px;color:#819086}.summary.margin{background:#175c4b;color:#fff;border-color:#175c4b}.summary.margin>span,.summary.margin p{color:#c4dacf}.summary.shortage{background:#fff0e9;color:#a34c33}.panel{background:#fff;border:1px solid #e1e7df;border-radius:12px;padding:24px;margin-bottom:20px}.section-heading{margin-bottom:16px}.date-select{display:flex;align-items:center;gap:8px;font-size:12px;color:#6d7d71}.date-select input{width:auto}.week-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:10px}.day{padding:14px 12px;background:#f6f8f4;border-radius:8px;border:1px solid transparent}.day.selected{border-color:#a3c4ad;background:#eff5ed}.day>span{font-size:11px;color:#6c7c70}.day strong{display:block;font-size:23px;margin:5px 0}.day small{font-size:10px;color:#899488;font-weight:400}.bar{height:4px;background:#e2e9df;border-radius:3px;margin:8px 0}.bar i{display:block;height:100%;background:#71977d;border-radius:3px}.hint{font-size:11px;color:#7b877c;margin-top:14px}.content-grid{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(300px,1fr);gap:20px;align-items:start}.task-panel{min-height:410px}.check{display:flex;align-items:center;gap:7px;font-size:12px;color:#687b6c}.check input{width:15px;height:15px;accent-color:#175c4b}.task-list{margin-top:16px}.task{border:1px solid #e0e7df;border-radius:10px;padding:18px;margin-top:14px}.task-head{display:flex;justify-content:space-between;align-items:start;gap:12px}.task-head h3{font-size:18px}.tag{font-size:10px;color:#517661;background:#edf4ec;padding:3px 7px;border-radius:5px}.actions{display:flex;gap:4px;flex-wrap:wrap;align-items:center}.note{font-size:12px;color:#79857b;white-space:pre-wrap;overflow-wrap:anywhere}.totals{display:flex;gap:24px;font-size:11px;color:#778779;border-bottom:1px solid #edf0e9;padding:12px 0}.totals b{color:#385644;font-size:13px;margin-left:6px}.stage{padding:14px 0;border-bottom:1px solid #edf0e9;margin-bottom:12px}.stage-title{display:flex;align-items:center;gap:10px}.stage-title strong{font-size:13px;overflow-wrap:anywhere}.stage-numbers{display:flex;gap:18px;color:#768477;font-size:11px;margin:6px 0}.completed{background:#f8faf6}.completed h3,.completed .stage-title strong{color:#819081}details{font-size:11px;color:#718173;margin:10px 0}summary{cursor:pointer}.log{display:flex;justify-content:space-between;gap:8px;border-top:1px solid #edf0e9;padding:6px 0;overflow-wrap:anywhere}.schedule{display:flex;justify-content:space-between;align-items:start;border-bottom:1px solid #edf0e9;padding:14px 0;gap:8px}.schedule h3{font-size:14px;overflow-wrap:anywhere}.schedule p{font-size:11px;color:#778b7b}.empty{text-align:center;padding:44px 12px;color:#829084;font-size:12px}.empty>span{font-size:36px;color:#89a68b}.empty h3{color:#536f59;font-size:15px}.empty.small{padding:22px 0}.guide{background:#eff4ea}.guide ol{padding-left:20px;font-size:12px;color:#66806b;line-height:2.3}footer{display:flex;justify-content:space-between;gap:12px;color:#8b978c;font-size:11px;border-top:1px solid #e2e7de;padding-top:20px}dialog{width:min(500px,calc(100% - 32px));max-height:90vh;overflow:auto;border:0;border-radius:16px;padding:28px;box-shadow:0 20px 80px #19392d33;color:#243b37}dialog::backdrop{background:#182c2466}dialog label{display:block;font-size:12px;color:#536b5b;margin-top:16px}input,textarea{display:block;width:100%;padding:10px 12px;border:1px solid #cedbcf;border-radius:7px;color:#294b37;background:#fff;margin-top:6px}textarea{min-height:90px;resize:vertical}input:focus,textarea:focus,button:focus-visible,summary:focus-visible{outline:3px solid #87bba0;outline-offset:2px}.dialog-head{display:flex;justify-content:space-between;align-items:center}.dialog-head h2{font-size:20px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid #e4eae1;padding-top:18px;margin-top:24px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}fieldset{border:1px solid #dbe5d7;border-radius:8px;margin-top:18px}legend{font-size:12px}.weekdays{display:flex;gap:12px;flex-wrap:wrap}.weekdays .check{margin:0}h3{overflow-wrap:anywhere}@media(max-width:900px){.content-grid{grid-template-columns:1fr}.week-grid{gap:5px}.day{padding:10px 6px}.panel{padding:18px}.task-head{flex-direction:column}.overview{gap:10px}.summary{padding:16px}.summary strong{font-size:30px}}@media(max-width:600px){header{padding:0 16px;height:70px}.local-badge{font-size:10px}.brand{font-size:17px}main{padding:24px 14px}h1{font-size:24px}.page-title{align-items:start;flex-direction:column}.overview{grid-template-columns:1fr}.summary{padding:14px 18px;display:grid;grid-template-columns:1fr auto;align-items:center}.summary strong{grid-column:2;grid-row:1/3}.summary p{margin:0}.section-heading{align-items:start;flex-wrap:wrap}.week-grid{grid-template-columns:repeat(4,1fr)}.day strong{font-size:21px}.totals{gap:10px;flex-wrap:wrap}.stage-numbers{gap:8px;flex-wrap:wrap}footer{flex-direction:column}.task{padding:14px}.notice{font-size:11px}.date-select input{max-width:160px}}[hidden]{display:none!important}.view-nav{display:flex;gap:10px;margin-bottom:20px;background:#f5f7f4;padding:8px 0;position:sticky;top:0;z-index:5}.view-nav button{min-height:44px;flex:1;max-width:220px}.free-panel textarea{min-height:180px;font-size:16px}.free-panel>label{font-weight:600}.draft-status{font-size:12px;color:#53755f}.free-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:16px}.free-actions button{min-height:44px}.review-group{margin-bottom:24px}.review-group>h2{padding:10px 0}.review-group>h2 small{font-size:12px;color:#718476}.candidate{padding:24px;background:#fff;border:1px solid #d5e1d5;border-radius:12px;margin-bottom:14px}.candidate.excluded{background:#f0f2ef;border-style:dashed}.candidate-heading{display:flex;justify-content:space-between;gap:12px;align-items:center}.source{font-size:12px;color:#6b7f70;white-space:pre-wrap;overflow-wrap:anywhere;background:#f6f8f4;padding:12px;border-radius:6px}.uncertain{background:#fff4d9;color:#835a17;border-left:3px solid #cea642;padding:10px 12px;font-size:12px}.candidate label{display:block;font-size:12px;margin-top:14px;color:#536b5b}.candidate label.check{display:flex}.candidate-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}.candidate-fields .form-row{grid-column:1/-1}select{font:inherit;width:100%;padding:10px 12px;border:1px solid #cedbcf;border-radius:7px;background:#fff;color:#294b37;margin-top:6px;min-height:44px}select:focus-visible{outline:3px solid #87bba0;outline-offset:2px}.confirmed{padding-top:12px;border-top:1px solid #e2e9df;font-weight:600}.candidate .check input{width:20px;height:20px;margin:0}.comparison{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px;font-size:12px}.comparison>div{background:#f2f6ef;padding:12px;border-radius:6px}.comparison>div:last-child{background:#e5f2e9}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;font-size:12px;margin:6px 0}.batch-save{background:#e9f2e6;border:1px solid #c9dec7;border-radius:10px;padding:18px;margin-bottom:24px;display:flex;align-items:center;justify-content:space-between;gap:14px}.batch-save p{font-size:12px}.batch-save button{min-height:48px}.batch-history{padding:12px 0;border-bottom:1px solid #e2e9df}.batch-history summary{min-height:44px;padding:10px 0}.batch-history pre{max-height:240px;overflow:auto;background:#f5f7f3;padding:12px}.saved-note{padding:12px;background:#f5f7f3;border-radius:6px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}.due-date{font-size:12px;color:#92621c}@media(max-width:600px){button,.text,.compact{min-height:44px}.text{padding:10px 8px;font-size:13px}.view-nav{gap:6px}.view-nav button{padding:8px;font-size:12px}.candidate{padding:16px}.candidate-fields{grid-template-columns:1fr}.candidate-fields .form-row{grid-column:auto}.candidate input,.candidate select,.candidate textarea{font-size:16px}.candidate-heading{align-items:flex-start;flex-direction:column}.candidate-heading label.check{margin:0}.comparison{grid-template-columns:1fr}.batch-save{align-items:stretch;flex-direction:column}.free-actions button{flex:1;min-width:150px}#work-content{display:flex;flex-direction:column}#work-content .content-grid{order:1}#work-content .overview{order:2}#work-content .capacity-panel{order:3}.actions{gap:4px}.check input{width:20px;height:20px}.page-title h1{font-size:23px}.page-title{margin-bottom:12px}.guide{display:none}.log{flex-wrap:wrap}}.history-candidates{padding-left:18px;font-size:12px;color:#587361}.history-candidates li{padding:6px 0;overflow-wrap:anywhere}.login-page{max-width:500px;margin:6vh auto}.login-page label{display:block;margin-top:18px}.login-page form button{width:100%;margin-top:24px;min-height:48px}.sync-panel{background:#edf5eb;border:1px solid #d7e6d5;border-radius:10px;padding:18px;margin-bottom:18px;display:flex;flex-direction:column;gap:12px}.sync-panel p{font-size:12px}.sync-panel small{font-size:11px;color:#718476}.sync-panel.error{background:#fff1e9;border-color:#efcdbf}.sync-panel button{min-height:44px}.login-page h1{font-size:26px}
