:root{font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;color:#17343b;background:#f2f6f6;font-size:15px;line-height:1.6;--teal:#147e8c;--orange:#b94824}*{box-sizing:border-box}body{margin:0}header{background:#17343b;color:white;padding:38px max(24px,calc((100vw - 1280px)/2));display:flex;justify-content:space-between;gap:24px;align-items:center}.brand{font-size:14px;letter-spacing:.12em;color:#8ad2d8}h1{font-size:30px;margin:10px 0}header p{color:#d1e6e8;margin:0}.badge{border:1px solid #628187;border-radius:20px;padding:6px 13px;white-space:nowrap;font-size:14px}main{max-width:1328px;padding:26px 24px;margin:auto}h2{font-size:22px;margin:0 0 5px}p{margin:8px 0 16px;color:#516970}.notice{background:#e5f1f2;border-left:4px solid var(--teal);padding:13px 16px;border-radius:5px;font-size:14px}.small{margin:16px 0}.toolbar,.section-head,.actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.toolbar{margin:22px 0 4px}button,input,select{font:inherit;min-height:40px;border:1px solid #b6cbce;border-radius:7px;padding:7px 11px;background:white;color:#17343b}button{cursor:pointer;background:var(--teal);color:white;border-color:var(--teal);font-weight:600}button:hover{filter:brightness(.93)}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #dd936c;outline-offset:2px}.secondary{background:white;color:var(--teal)}.quiet{background:transparent;color:#b94824;border-color:transparent}label{display:inline-flex;gap:8px;align-items:center;flex-wrap:wrap}input[type=number]{width:78px}input[type=checkbox]{width:18px;min-height:18px;accent-color:var(--teal)}nav{display:flex;border-bottom:1px solid #bbd1d4;margin:22px 0}nav button{border:0;border-radius:8px 8px 0 0;background:transparent;color:#597177;padding:12px 22px}nav button[aria-selected=true]{background:white;color:var(--teal);box-shadow:inset 0 -3px var(--teal)}section{background:white;padding:24px;border:1px solid #dce6e7;border-radius:10px}.summary{display:flex;gap:14px;flex-wrap:wrap;margin:20px 0}.metric{padding:12px 18px;border-radius:8px;background:#f1f7f7;min-width:145px}.metric strong{display:block;font-size:24px;color:var(--teal)}.metric.warn strong{color:var(--orange)}.legend{display:flex;flex-wrap:wrap;gap:18px;font-size:14px;margin-bottom:10px}.table-scroll{overflow:auto;max-width:100%;border:1px solid #d8e4e6;border-radius:8px}table{border-collapse:separate;border-spacing:0;font-size:14px;width:100%}th,td{border-right:1px solid #e1eaeb;border-bottom:1px solid #e1eaeb;text-align:center;padding:7px;white-space:nowrap}th{background:#edf4f4;font-weight:600}th:first-child,td:first-child{position:sticky;left:0;z-index:1;background:white;text-align:left;min-width:155px}th:first-child{background:#edf4f4;z-index:2}.closed{background:#f0f2f3;color:#788b90}.sun{border-left:2px solid #a1bfc4}.cell{min-width:40px;padding:5px 7px;background:#f4f7f7;color:#53686d;border:0;min-height:35px;font-weight:500}.cell.work{background:#d7eff0;color:#146b78}.cell.fixed{box-shadow:inset 0 0 0 2px #d29d74}.cell.request{background:#fff0e6;color:#a44725}.cell em{font-style:normal;font-size:10px;display:block}details{border:1px solid #dce6e7;border-radius:8px;margin-top:18px;padding:0 16px}summary{cursor:pointer;font-weight:600;padding:14px 0}details>div{padding:0 0 16px}.warning-list{max-height:320px;overflow:auto;padding-left:24px;margin:0}.warning-list li{margin:7px 0;color:#9b3b20}.ok{color:#147e8c;padding:10px}.settings-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.field-group{border:1px solid #dce6e7;border-radius:8px;padding:15px}.field-group h3{margin:0 0 12px;font-size:16px}.checks{display:flex;gap:10px;flex-wrap:wrap}.setting-row{display:flex;align-items:center;gap:8px;margin:10px 0;flex-wrap:wrap}.needs{margin-top:18px}.person-card{display:grid;grid-template-columns:1fr 1fr;gap:12px;border-bottom:1px solid #dce6e7;padding:17px 0}.person-card .checks{align-items:center}.person-card input[type=text]{width:100%;max-width:240px}.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;max-width:700px;margin:20px 0}.calendar .weekday{text-align:center;color:#5a7278;font-size:14px}.calendar button{min-height:74px;color:#17343b;background:#f3f7f7;border-color:#dce6e7;font-size:18px}.calendar button.selected{background:#fff1e8;border-color:#b94824;color:#b94824}.calendar small{display:block;font-size:14px}.calendar button.closed{background:#e9eeee;color:#849297}dialog{border:0;box-shadow:0 15px 70px #17343b44;border-radius:12px;max-width:460px;padding:25px}dialog::backdrop{background:#17343b66}dialog label{display:flex;margin:16px 0}dialog .actions{justify-content:flex-end}footer{text-align:center;padding:25px;color:#627c82;font-size:14px}#status{font-size:14px;color:#147e8c;min-height:24px}[hidden]{display:none!important}@media(max-width:760px){header{padding:24px 18px;display:block}h1{font-size:24px}.badge{display:inline-block;margin-top:18px}main{padding:16px 12px}.toolbar,.section-head{align-items:flex-start;flex-direction:column}.actions{flex-wrap:wrap;justify-content:flex-start}section{padding:16px 12px}nav button{padding:12px 9px;font-size:14px}.settings-grid{grid-template-columns:1fr}.person-card{grid-template-columns:1fr}.calendar{gap:4px}.calendar button{padding:3px;min-height:65px}.metric{min-width:115px;flex:1;padding:10px}.metric strong{font-size:21px}.legend{gap:8px 14px}}
:is(h1 span),.keep{display:inline-block;white-space:nowrap}
.shift-custom{background:#eee6f6!important;color:#76528f!important}
.inactive-shift{opacity:.7;text-decoration:underline dotted #b94824}
.facility-tabs{display:flex;gap:6px;background:#edf3f5;border-radius:8px;padding:5px;margin-bottom:22px}
.facility-tabs button{flex:1;min-height:40px;background:transparent;color:#5e7882;border:0}
.facility-tabs button[aria-selected=true]{background:white;color:#147e8c;box-shadow:0 1px 4px #17343b14}
.facility-section{padding:0;background:transparent;border:0}
.facility-section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:15px}
.facility-section-head h3{margin:0;font-size:18px}
.facility-section-head>span{font-size:12px;color:#799098}
.shift-list{display:grid;gap:10px}
.shift-card{display:grid;grid-template-columns:32px minmax(135px,1.4fr) 64px 110px 110px 84px;align-items:center;gap:12px;border:1px solid #dce6e9;border-radius:9px;padding:15px;background:#fbfcfc}
.shift-card>.swatch{text-align:center;margin:18px 0 0;font-size:14px;padding:6px 0}
.shift-card>label,.shift-add-fields>label{display:flex;flex-direction:column;align-items:stretch;gap:5px;font-size:12px;color:#6c858e}
.shift-card input,.shift-add-fields input{min-width:0;width:100%;font-size:14px;color:#17343b}
.shift-card .shift-active{flex-direction:row;align-items:center;gap:5px;margin-top:19px;white-space:nowrap}
.shift-card .shift-active input{width:18px;min-height:18px}
.shift-card .shift-active span{font-size:12px}
.add-shift-box{margin:20px 0;border:1px dashed #b5cdd2;background:#f7fafb;padding:0 16px}
.add-shift-box>summary{font-size:14px;padding:13px 0}
.add-shift-box>p{font-size:12px;margin:11px 0 0}
.add-shift-box>.text-button{margin:4px 0 10px;padding-left:0}
.shift-add-fields{display:grid;grid-template-columns:minmax(120px,1.2fr) 100px 110px 110px auto;gap:10px;align-items:end;padding-bottom:0}
.business-calendar-layout{display:grid;grid-template-columns:minmax(290px,1.3fr) minmax(240px,1fr);gap:25px;margin:18px 0}
.business-calendar-layout h4{font-size:14px;margin:0 0 12px}
.business-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}
.business-calendar .weekday{text-align:center;color:#7b9199;font-size:12px}
.business-calendar button{min-width:0;min-height:56px;padding:5px 1px;font-size:16px;border:1px solid #dce8eb;font-weight:500}
.business-calendar button small{display:block;font-size:10px;margin-top:2px}
.business-open{background:#edf7f4;color:#327b6a}
.business-closed{background:#f0f3f4;color:#82949b}
.business-calendar .picked{box-shadow:inset 0 0 0 2px #147e8c;border-color:#147e8c}
.calendar-override{background:#f4f8f9;border:1px solid #dfe9ec;border-radius:8px;padding:17px;align-self:start}
.calendar-override>input{width:100%;font-size:15px}
.calendar-override label{display:flex;flex-direction:column;align-items:stretch;font-size:12px;gap:5px;margin-top:14px}
.calendar-override label select{width:100%;font-size:13px}
.calendar-override>p{font-size:13px;margin:12px 0 0}
.form-hint{font-size:12px;line-height:1.7;color:#758b94;margin:8px 0 14px}
.calendar-override .form-hint{font-size:11px}
.regular-closed{background:#f0f3f4!important}
.regular-closed input{background:#f6f8f9}
.needs th small{display:block;font-size:10px;color:#8da0a7}
.facility-save-bar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 20px;border-top:1px solid #dce6e9;margin:25px 0 15px;padding-top:20px;align-items:center}
.facility-save-bar strong{font-size:13px}
.facility-save-bar p{font-size:12px;margin:4px 0 0}
.facility-save-bar small{grid-column:2;font-size:10px;color:#82979f}
@media(max-width:1200px){.shift-card{grid-template-columns:28px minmax(120px,1fr) 62px 105px 105px 78px;gap:8px}.shift-add-fields{grid-template-columns:1fr 90px 105px 105px}.shift-add-fields>button{grid-column:1/-1}.business-calendar-layout{gap:18px}}
@media(max-width:760px){.shift-card{grid-template-columns:28px minmax(130px,1fr) 65px;gap:10px}.shift-card label:nth-of-type(3){grid-column:2}.shift-card label:nth-of-type(4){grid-column:3;min-width:0}.shift-card label:nth-of-type(3) input,.shift-card label:nth-of-type(4) input{width:100%}.shift-card .shift-active{grid-column:2/-1;margin:0}.shift-add-fields{grid-template-columns:1fr 1fr}.shift-add-fields label:first-child{grid-column:1/-1}.shift-add-fields label:nth-child(2){grid-column:1/-1}.business-calendar-layout{grid-template-columns:1fr}.facility-section-head{flex-direction:column;align-items:flex-start;gap:3px}.facility-tabs{gap:2px}.facility-tabs button{font-size:12px;padding:6px}.facility-save-bar{grid-template-columns:1fr;gap:12px}.facility-save-bar small{grid-column:1}.facility-save-bar>button{width:100%}.shift-card{padding:12px}.add-shift-box{padding:0 12px}.business-calendar button{min-height:55px}}
/* 業務画面の情報階層。条件入力と勤務表を独立したpanelとして配置する。 */
body{font-size:14px;background:#f3f6f7}.app-header{padding:14px 28px;min-height:72px;gap:22px;justify-content:flex-start;background:#17343b}.brand{font-size:26px;color:white;text-decoration:none;letter-spacing:.02em;white-space:nowrap;font-weight:700}.brand span{font-size:13px;color:#b8d3d8;margin-left:10px;font-weight:400}.role-tabs{margin-left:auto;display:flex;background:#29474e;border-radius:9px;padding:4px;gap:4px}.role-tabs button{background:transparent;border:0;color:#d8e7e9}.role-tabs button[aria-selected=true]{background:white;color:#17343b}.save-state{border:1px solid #69868c;border-radius:20px;padding:4px 10px;white-space:nowrap;font-size:12px}.save-state.unsaved{color:#ffe1c7;border-color:#c09470}.demo-strip{display:flex;align-items:center;gap:18px;padding:6px 28px;background:#eaf2f3;color:#4e6b73;font-size:12px}.text-button{padding:4px 7px;background:transparent;color:#147e8c;border:0;min-height:30px;font-size:13px}.danger{color:#b94824}.demo-strip .text-button{margin-left:auto;font-size:12px}main{max-width:1600px;padding:24px 28px}.page-bar{display:flex;align-items:center;justify-content:space-between;gap:20px}.page-bar h1{font-size:25px;margin:0}.page-bar p{margin:4px 0 0;font-size:13px}.month-control{font-weight:600}.status{padding:5px 0 12px;margin:0;font-size:12px!important;min-height:33px!important}.help-panel{padding:20px;background:white;border:1px solid #dce6e9;border-radius:10px;margin-bottom:20px}.help-panel p{margin-top:10px}.admin-shell{display:grid;grid-template-columns:175px minmax(0,1fr);gap:22px}#adminView{padding:0;background:transparent;border:0}.sidebar{position:sticky;top:16px;align-self:start}.sidebar nav{display:grid;gap:5px;border:0;margin:0}.sidebar nav button{border-radius:7px;padding:12px 13px;text-align:left;background:transparent;color:#59727b;font-size:14px}.sidebar nav button[aria-selected=true]{background:#dfeef0;color:#147e8c;box-shadow:none}.sidebar-note{font-size:12px;margin:22px 0 12px}.sidebar>#save{width:100%}.storage-tools{display:flex;justify-content:space-between;margin-top:8px}.storage-tools button{font-size:12px}.admin-content{min-width:0}.admin-panel{padding:0;background:transparent;border:0}.guide{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:18px}.guide>div,.guide>button{display:flex;align-items:center;gap:12px;padding:12px 15px;border:1px solid #dce6e9;background:white;border-radius:9px;text-align:left;color:#17343b;font-weight:500}.guide b{display:grid;place-items:center;border-radius:50%;width:27px;height:27px;background:#e7f2f3;color:#147e8c;flex-shrink:0}.guide small{display:block;font-size:11px;color:#75878e}.summary{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:0 0 22px}.metric{padding:15px 17px;border:1px solid #dce6e9;background:white;min-width:0;display:flex;flex-direction:column;gap:5px}.metric-label{font-size:12px;color:#5a747d}.metric strong{font-size:25px;color:#17343b;line-height:1.25}.metric strong small{font-size:12px;font-weight:400;margin-left:4px}.metric-note{font-size:11px;color:#85969c}.metric.good strong{color:#147e8c}.roster-heading,.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:15px}.roster-heading p{font-size:12px;margin:3px 0 0}.view-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.segmented{display:flex;background:#e8eff1;border-radius:8px;padding:3px}.segmented button{background:transparent;color:#5e7983;border:0;min-height:32px;padding:5px 12px}.segmented button[aria-selected=true]{background:white;color:#17343b;box-shadow:0 1px 3px #17343b14}.week-control{display:flex;align-items:center;gap:10px;font-size:12px}.icon-button{background:white;color:#526e78;border-color:#dce6e9;min-height:32px;padding:0 10px;font-size:21px}.legend{font-size:12px;gap:8px 14px}.swatch{display:inline-block;padding:1px 5px;border-radius:3px;font-weight:600;margin-right:4px}.shift-early{background:#e3edf9!important;color:#3f6597!important}.shift-day{background:#d9f0eb!important;color:#287866!important}.shift-late{background:#f7e9d8!important;color:#94642e!important}.schedule-scroll{max-height:540px;background:white}.schedule-table{table-layout:fixed;min-width:1080px;font-size:13px}.schedule-table th:first-child,.schedule-table td:first-child{width:153px;min-width:0}.schedule-table th:last-child,.schedule-table td:last-child{width:87px;font-size:12px}.schedule-table thead th{position:sticky;top:0;z-index:3;padding:5px 1px;font-size:12px}.schedule-table thead th:first-child{z-index:4}.schedule-table td{padding:4px 2px;height:43px}.schedule-table td:first-child{padding:7px 10px}.schedule-table small{font-size:11px;color:#8599a0}.schedule-table.week{min-width:680px}.date-button{background:transparent;color:inherit;border:0;width:100%;padding:2px;min-height:40px;font-size:12px}.date-button.has-shortage{color:#b94824}.date-dot{display:block;line-height:10px;height:10px;font-size:10px;color:#b94824}.selected-day{background:#e5f1f4!important}.cell{width:100%;min-width:24px;min-height:32px;font-size:13px;padding:4px 1px;border-radius:4px;color:#96a4a9;background:#f5f8f9}.cell.off{color:#7a8f96;background:#f0f3f4}.cell.fixed{box-shadow:inset 0 0 0 1px #ab8b69}.cell.request{border-bottom:3px solid #e9b190;background:inherit}.cell.conflict{box-shadow:inset 0 0 0 2px #b94824}.fixed-mark{font-size:8px}.boundary-note{margin:10px 0 20px;font-size:11px;color:#84949b}.review-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.review-card,.panel-card{padding:20px;background:white;border:1px solid #dce6e9;border-radius:10px}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.card-heading h3{font-size:16px;margin:0}.card-heading>span{font-size:12px;color:#5e7982;padding:2px 9px;background:#edf3f5;border-radius:20px}.review-card>p{font-size:12px;margin:4px 0 14px}.review-card input[type=date]{width:153px;min-height:32px;font-size:12px;padding:5px 8px}.warning-section{border:0;border-top:1px solid #e7edef;margin:0;padding:10px 0;border-radius:0}.warning-section summary{font-size:13px;padding:0}.warning-list{display:flex;flex-wrap:wrap;gap:6px;padding:0;margin:9px 0 0;max-height:180px}.warning-chip{background:#fff3ec;color:#a44827;border-color:#f0d6c6;font-size:12px;min-height:31px;padding:4px 8px;text-align:left}.review-link{background:#eaf3f5;border-color:#d5e6eb;color:#416d7d}.empty-note{padding:12px 0;font-size:13px;color:#769096}.day-role{margin:14px 0}.day-role h4{font-size:13px;margin:0 0 7px}.day-coverage{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.coverage-slot{background:#f3f7f8;border:1px solid #e4edef;border-radius:6px;padding:8px;text-align:center;font-size:12px}.coverage-slot strong{display:block;font-size:17px;margin-top:3px}.coverage-slot.short{background:#fff3eb;border-color:#eac7b1;color:#a94d2e}.coverage-slot small{font-size:11px;color:#7a8b93}.day-staff{display:flex;flex-wrap:wrap;gap:5px;margin-top:10px;max-height:140px;overflow:auto}.person-chip{background:#f3f7f8;color:#54707a;border:1px solid #dce7eb;padding:4px 8px;min-height:30px;font-size:12px}.day-issues{font-size:12px;color:#a34b2b;max-height:140px;overflow:auto;padding-left:18px}.panel-heading{display:block}.panel-heading p{margin:5px 0 0;font-size:13px}#peoplePanel .panel-heading{display:flex}.settings-grid{grid-template-columns:1fr 1fr}.field-group.full{grid-column:1/-1}.needs-title{margin:24px 0 10px;font-size:16px}.person-card{border:1px solid #dce6e9;border-radius:8px;margin-bottom:13px;padding:17px;gap:12px 20px}.group-label{font-size:12px;color:#78919a;margin-bottom:5px}.notice{margin:0 0 14px;font-size:13px}.notice.warning{background:#fff3ec;border-color:#b94824;color:#a44929}.closed-list{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.closed-pill{background:#edf3f5;border-radius:5px;padding:3px 7px;font-size:13px}.closed-pill button{color:#6d8189;min-height:26px;padding:0 5px;background:transparent;border:0}.panel-next{margin-top:16px}#staffView{max-width:710px;padding:24px;margin:auto}.staff-intro p{margin:5px 0 0;font-size:13px}.staff-selector{display:flex;flex-direction:column;align-items:stretch;margin:21px 0 16px;font-size:13px}.staff-selector select{font-size:16px;min-height:46px}.calendar-heading{display:flex;align-items:center;justify-content:space-between}.calendar-heading strong{font-size:18px}.calendar-heading span{font-size:13px;color:#147e8c}.staff-legend{display:flex;gap:6px 12px;flex-wrap:wrap;font-size:11px;color:#769099;margin-top:10px}.conflict-text{color:#b94824}.calendar{margin:15px 0 21px;gap:7px}.calendar .weekday{font-size:12px}.calendar button{position:relative;min-height:76px;padding:7px 2px;color:#17343b;background:#f5f8f9;border-color:#e0e9ed;font-size:19px;font-weight:500}.calendar button.selected{background:#e1f0f1;border:2px solid #147e8c;color:#147e8c;padding:6px 1px}.calendar small{font-size:11px;white-space:nowrap;line-height:1.3;margin-top:5px;color:#80949c}.calendar button.selected small{color:#147e8c}.calendar button.conflict{background:#fff2e9;border-color:#b94824;color:#b94824}.calendar button.conflict small{color:#b94824}.request-dot{position:absolute;top:3px;right:4px;font-size:9px}.request-selection{border-top:1px solid #dce6e9;padding-top:17px}.request-selection h3{margin:0 0 9px;font-size:14px}.request-list{display:flex;flex-wrap:wrap;gap:6px}.request-tag{padding:5px 10px;background:#eaf3f4;color:#287983;border-radius:6px;font-size:13px}.request-tag.conflict{background:#fff1e8;color:#b94824}.staff-save{width:100%;min-height:48px;margin-top:22px;font-size:16px}.staff-save-note{text-align:center;font-size:12px;margin:10px 0 0}.staff-conflict{font-size:13px;color:#b94824;margin-top:12px}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:15px}.dialog-header h2{font-size:18px}.cell-context{background:#f3f7f8;border-radius:7px;padding:13px 14px;margin:16px 0;font-size:13px}.cell-context p{margin:5px 0}.dialog-field{display:flex;align-items:stretch;flex-direction:column;margin-bottom:15px}.dialog-note{font-size:12px;margin:12px 0}dialog{width:min(480px,calc(100% - 28px));max-width:480px}footer{font-size:11px;color:#8a9ba1}
@media(min-width:1350px){.schedule-table{min-width:0}.schedule-table th:first-child,.schedule-table td:first-child{width:137px}.schedule-table th:last-child,.schedule-table td:last-child{width:74px}.schedule-table td:first-child{font-size:12px}.schedule-table .cell{font-size:12px}.schedule-table thead th{font-size:11px}}
@media(max-width:1050px){.admin-shell{grid-template-columns:1fr}.sidebar{position:static;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.sidebar nav{display:flex;flex:1;min-width:500px}.sidebar nav button{padding:9px 13px}.sidebar-note{display:none}.sidebar>#save{width:auto}.storage-tools{margin:0}.guide{gap:8px}.guide>div,.guide>button{padding:10px}}
@media(max-width:650px){.app-header{padding:13px 14px;display:flex;min-height:66px;gap:10px;flex-wrap:wrap}.brand{font-size:24px}.brand span{font-size:12px;margin-left:6px}.role-tabs{order:3;width:100%;margin:0}.role-tabs button{flex:1;font-size:14px;min-height:37px}.save-state{margin-left:auto}.demo-strip{padding:8px 14px;gap:4px 12px;flex-wrap:wrap;font-size:11px}.demo-strip span:nth-child(2){font-size:10px}.demo-strip .text-button{min-height:22px;font-size:11px;padding:0}main{padding:18px 12px}.page-bar{flex-direction:column;align-items:flex-start;gap:12px}.page-bar h1{font-size:21px}.page-bar p{font-size:12px}.month-control{width:100%;justify-content:space-between;font-size:13px}.month-control input{width:170px;min-height:39px}.sidebar nav{min-width:0;display:grid;grid-template-columns:1fr 1fr;width:100%;flex:auto}.sidebar nav button{font-size:13px;text-align:center}.sidebar{gap:8px}.storage-tools{margin-left:auto}.guide{display:none}.summary{grid-template-columns:1fr 1fr;gap:8px;margin-bottom:18px}.metric{padding:12px 13px}.metric strong{font-size:22px}.metric-note{font-size:10px}.roster-heading{flex-direction:column;align-items:flex-start;gap:11px}.roster-heading>#generate{width:100%}.view-bar{flex-wrap:wrap}.week-control{font-size:12px;gap:8px}.legend{font-size:11px;gap:7px 10px}.review-grid{grid-template-columns:1fr}.review-card,.panel-card{padding:15px}.settings-grid{grid-template-columns:1fr}.field-group.full{grid-column:auto}.person-card{grid-template-columns:1fr;padding:14px}#peoplePanel .panel-heading{flex-direction:column;align-items:flex-start}.boundary-note{font-size:11px}#staffView{padding:18px 12px;border-radius:10px}.calendar{gap:4px}.calendar button{min-height:66px;font-size:18px}.calendar small{font-size:10px}.staff-legend{font-size:10px;gap:5px 10px}.request-tag{font-size:12px;padding:5px 8px}.staff-save{font-size:15px}.help-panel{padding:16px}.help-panel p{font-size:13px}footer{font-size:10px;padding:16px 12px}}
@media(max-width:760px){.shift-card{grid-template-columns:28px minmax(110px,1fr) minmax(110px,1fr)}}
/* 公開デモの戻り導線と常時注意。入力禁止は機能保証ではなく利用案内。 */
.return-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;background:white;padding:8px 28px;border-bottom:1px solid #e2ecee;font-size:12px;color:#789098}
.return-bar a{color:#147e8c;text-decoration:none;font-weight:600}
.return-bar a:hover{text-decoration:underline}
.demo-notes{display:flex;flex-direction:column;gap:2px;line-height:1.7}
@media(max-width:650px){.return-bar{padding:8px 14px;font-size:11px}.demo-strip .demo-notes{flex:1 1 240px}.demo-strip .demo-notes span{font-size:11px}.demo-strip:has(.demo-notes){align-items:flex-start}.demo-strip .demo-notes+button{margin-left:auto}}
