:root{color:#173a3e;font-synthesis:none;background:#edf4f3;font-family:Noto Sans JP,Hiragino Kaku Gothic ProN,Yu Gothic,sans-serif}*{box-sizing:border-box}body{min-width:960px;min-height:100vh;margin:0}button{font:inherit}.app-shell{flex-direction:column;width:min(1240px,100% - 64px);min-height:100vh;margin:0 auto;display:flex}.app-header{justify-content:space-between;align-items:center;padding:36px 0 24px;display:flex}.eyebrow,.panel-label{color:#318072;letter-spacing:.12em;text-transform:uppercase;margin:0 0 6px;font-size:12px;font-weight:700}h1{letter-spacing:.04em;margin:0;font-size:28px}.version{color:#476965;background:#fff;border:1px solid #b8cfca;border-radius:999px;padding:8px 13px;font-size:13px}.intro{color:#fff;background:#173a3e;border-left:5px solid #318072;border-radius:4px 12px 12px 4px;padding:30px 34px;box-shadow:0 12px 30px #173a3e1f}.intro h2{margin:0 0 12px;font-size:22px}.intro p{color:#dcebe8;max-width:920px;margin:0;line-height:1.9}.workspace{background:#fff;border:1px solid #d6e3e0;border-radius:12px;margin-top:26px;overflow:hidden;box-shadow:0 10px 24px #173a3e12}.tabs{background:#f7faf9;border-bottom:1px solid #d6e3e0;grid-template-columns:repeat(5,1fr);display:grid}.tab{color:#476965;cursor:pointer;background:0 0;border:0;border-right:1px solid #d6e3e0;padding:18px 12px;font-weight:700}.tab:last-child{border-right:0}.tab:hover{background:#e8f3f0}.tab.active{color:#18584f;background:#fff;box-shadow:inset 0 -4px #318072}.panel{min-height:250px;padding:42px}.panel h2{margin:0 0 12px;font-size:26px}.panel>p:last-child{color:#647b78;margin:0}footer{color:#6f8581;text-align:right;margin-top:auto;padding:28px 0;font-size:12px}.management-panel{padding:34px}.management-panel>h2{margin-bottom:22px}.staff-summary,.staff-group-heading,.form-heading,.form-actions{justify-content:space-between;align-items:center;gap:16px;display:flex}.staff-summary{background:#edf6f4;border-radius:8px;margin-bottom:22px;padding:14px 18px}.staff-summary p{color:#476965;margin:0}.staff-summary strong{white-space:nowrap;color:#18584f}.staff-groups{gap:20px;display:grid}.staff-group{border:1px solid #d6e3e0;border-radius:10px;overflow:hidden}.staff-group-heading{background:#f7faf9;padding:14px 18px}.staff-group-heading h3,.form-heading h3{margin:0;font-size:18px}.staff-group-heading span{color:#6f8581;font-size:13px}.table-scroll{overflow-x:auto}.staff-table{border-collapse:collapse;text-align:center;width:100%;min-width:1050px;font-size:13px}.staff-table th,.staff-table td{white-space:nowrap;border-top:1px solid #e3ecea;padding:12px 10px}.staff-table th{color:#58736f;background:#fbfcfc;font-size:12px}.staff-table tbody tr:hover{background:#f7fbfa}.staff-table .staff-name{color:#18584f;text-align:left;font-weight:700}.availability{border-radius:4px;min-width:36px;padding:3px 6px;font-size:12px;font-weight:700;display:inline-block}.availability.yes{color:#1e6b5e;background:#dff1eb}.availability.no{color:#7c8a87;background:#f1f3f2}.row-actions{gap:8px;display:flex}.text-button{color:#277266;cursor:pointer;background:0 0;border:0;padding:5px 7px;font-weight:700}.text-button:hover{text-decoration:underline}.text-button.danger{color:#a94b4b}.staff-form-section{background:#f7faf9;border:1px solid #c8dcd7;border-radius:10px;margin-top:28px;padding:24px}.form-heading{margin-bottom:22px}.editing-badge{color:#1e6b5e;background:#dff1eb;border-radius:5px;padding:7px 10px;font-size:12px;font-weight:700}.staff-form{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 20px;display:grid}.staff-form label>span,.staff-form legend{color:#476965;margin-bottom:7px;font-size:13px;font-weight:700;display:block}.staff-form input:not([type=checkbox]),.staff-form select,.staff-form textarea{color:#173a3e;width:100%;font:inherit;background:#fff;border:1px solid #b8cfca;border-radius:6px;padding:10px 11px}.staff-form input:focus,.staff-form select:focus,.staff-form textarea:focus{border-color:#318072;outline:3px solid #31807229}.availability-fields{border:0;grid-column:1/-1;margin:0;padding:0}.availability-fields legend{padding:0}.checkbox-field{cursor:pointer;align-items:center;margin-right:28px;display:inline-flex}.checkbox-field input{accent-color:#318072;width:17px;height:17px;margin:0 8px 0 0}.checkbox-field>span{margin:0!important}.notes-field,.form-actions{grid-column:1/-1}.staff-form textarea{resize:vertical}.form-actions{justify-content:flex-start}.primary-button,.secondary-button{cursor:pointer;border-radius:6px;padding:10px 20px;font-weight:700}.primary-button{color:#fff;background:#277266;border:1px solid #277266}.secondary-button{color:#476965;background:#fff;border:1px solid #b8cfca}.visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.requirements-toolbar{justify-content:space-between;align-items:center;gap:20px;margin-bottom:14px;display:flex}.target-month{align-items:baseline;gap:12px;display:flex}.target-month span{color:#6f8581;font-size:13px;font-weight:700}.target-month strong{font-size:22px}.requirements-actions{gap:10px;display:flex}.requirements-note{color:#647b78;margin:0 0 18px;font-size:13px}.requirements-table-wrap{border:1px solid #d6e3e0;border-radius:10px;overflow-x:auto}.requirements-table{border-collapse:collapse;text-align:center;width:100%;min-width:1460px;font-size:13px}.requirements-table th,.requirements-table td{white-space:nowrap;border-bottom:1px solid #e3ecea;border-right:1px solid #e3ecea;padding:9px 8px}.requirements-table th:last-child,.requirements-table td:last-child{border-right:0}.requirements-table tbody tr:last-child th,.requirements-table tbody tr:last-child td{border-bottom:0}.requirements-table thead th{color:#476965;background:#edf4f3;padding:12px 8px;font-size:12px;line-height:1.5}.requirements-table tbody th{color:#355d58;text-align:left;background:#f9fbfa}.requirements-table tbody tr:hover th,.requirements-table tbody tr:hover td{background:#f4f9f8}.requirements-table .rotational-row th,.requirements-table .rotational-row td{background:#fff8df}.requirements-table .rotational-row:hover th,.requirements-table .rotational-row:hover td{background:#fff3c5}.requirements-table input[type=number]{color:#173a3e;width:58px;font:inherit;text-align:center;background:#fff;border:1px solid #b8cfca;border-radius:5px;padding:7px 6px}.requirements-table input:focus{border-color:#318072;outline:3px solid #31807229}.weekday-土{color:#3477a5}.weekday-日{color:#b84f4f}.rotation-toggle{color:#6f8581;cursor:pointer;align-items:center;gap:6px;font-size:11px;font-weight:700;display:inline-flex}.rotation-toggle input{accent-color:#c28a22;width:17px;height:17px;margin:0}.rotational-row .rotation-toggle{color:#9a6713}.requirements-summary{grid-template-columns:repeat(5,1fr);gap:14px;margin-top:20px;display:grid}.requirements-summary>div{background:#f7faf9;border:1px solid #d6e3e0;border-radius:8px;justify-content:space-between;align-items:center;padding:16px;display:flex}.requirements-summary span{color:#58736f;font-size:13px;font-weight:700}.requirements-summary strong{color:#18584f;font-size:24px}.requirements-summary small{color:#6f8581;margin-left:4px;font-size:11px}.schedule-header,.schedule-list-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.schedule-header{margin-bottom:18px}.schedule-count{color:#277266;background:#edf6f4;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:700}.schedule-form-section{background:#f7faf9;border:1px solid #c8dcd7;border-radius:10px;padding:24px}.schedule-form{grid-template-columns:1.5fr 1fr 1fr .8fr;gap:18px 20px;display:grid}.schedule-form label>span{color:#476965;margin-bottom:7px;font-size:13px;font-weight:700;display:block}.schedule-form input,.schedule-form select{color:#173a3e;width:100%;font:inherit;background:#fff;border:1px solid #b8cfca;border-radius:6px;padding:10px 11px}.schedule-form input:focus,.schedule-form select:focus{border-color:#318072;outline:3px solid #31807229}.schedule-memo-field,.schedule-form .form-actions,.night-symbol-hint{grid-column:1/-1}.night-symbol-hint{color:#7a684a;margin:-8px 0 0;font-size:12px}.schedule-notes{grid-template-columns:repeat(2,1fr);gap:12px;margin:18px 0 26px;display:grid}.schedule-notes p{color:#58736f;background:#f1f6f5;border-left:3px solid #86aaa3;border-radius:4px 7px 7px 4px;margin:0;padding:13px 15px;font-size:12px;line-height:1.6}.schedule-list{border:1px solid #d6e3e0;border-radius:10px;overflow:hidden}.schedule-list-heading{background:#f7faf9;padding:15px 18px}.schedule-list-heading h3{margin:0;font-size:17px}.schedule-list-heading span{color:#738783;font-size:12px}.schedule-table{border-collapse:collapse;text-align:center;width:100%;min-width:1080px;font-size:13px}.schedule-table th,.schedule-table td{white-space:nowrap;border-top:1px solid #e3ecea;padding:12px 10px}.schedule-table thead th{color:#58736f;background:#fbfcfc;font-size:12px}.schedule-table tbody tr:hover{background:#f7fbfa}.schedule-table .staff-name{color:#18584f;font-weight:700}.schedule-table .schedule-memo{text-align:left;text-overflow:ellipsis;min-width:180px;max-width:280px;overflow:hidden}.schedule-type,.duplicate-badge,.night-related{border-radius:4px;font-size:11px;font-weight:700;display:inline-block}.schedule-type{min-width:64px;padding:5px 8px}.schedule-type.request{color:#8a6417;background:#fff1bd}.schedule-type.fixed{color:#536360;background:#e9edec}.night-related{color:#4d6879;background:#e7eef3;margin-left:6px;padding:3px 5px}.duplicate-schedule{background:#fff8e2}.duplicate-schedule:hover{background:#fff3ca!important}.duplicate-badge{color:#765312;background:#f5d77a;width:max-content;margin-top:4px;padding:2px 5px;display:block}.schedule-grid-toolbar,.schedule-grid-status{align-items:center;gap:16px;display:flex}.schedule-grid-toolbar{justify-content:space-between;margin-bottom:14px}.schedule-grid-status>span{color:#6f8581;font-size:12px;font-weight:700}.schedule-grid-status>strong{color:#18584f;font-size:21px}.schedule-grid-status small{color:#7c918d;font-size:12px}.danger-button{color:#9b4545}.danger-button:disabled{opacity:.45;cursor:not-allowed}.schedule-grid-description{color:#476965;background:#edf6f4;border-left:4px solid #318072;border-radius:4px 7px 7px 4px;margin:0 0 18px;padding:13px 16px;font-size:13px}.schedule-summary-note{color:#6f8581;text-align:right;margin:-8px 0 14px;font-size:11px}.schedule-grid-wrap{border:1px solid #c8dcd7;border-radius:10px;max-height:620px;overflow:auto}.schedule-grid-table{border-collapse:separate;border-spacing:0;color:#355d58;text-align:center;width:max-content;min-width:100%;font-size:12px}.schedule-grid-table th,.schedule-grid-table td{white-space:nowrap;background:#fff;border-bottom:1px solid #dce8e5;border-right:1px solid #dce8e5;height:48px;padding:5px}.schedule-grid-table thead th{z-index:3;color:#476965;background:#edf4f3;height:54px;position:sticky;top:0}.schedule-grid-table tbody tr:last-child th,.schedule-grid-table tbody tr:last-child td{border-bottom:0}.schedule-grid-table tbody tr:hover th,.schedule-grid-table tbody tr:hover td{background-color:#f7fbfa}.schedule-grid-table .sticky-staff{z-index:2;background:#f9fbfa;position:sticky}.schedule-grid-table thead .sticky-staff{z-index:5;background:#e5efed}.display-name-col{color:#18584f;text-align:left;width:112px;min-width:112px;font-weight:700;left:0}.real-name-col{width:100px;min-width:100px;left:112px}.team-col{width:68px;min-width:68px;left:212px;box-shadow:5px 0 8px #173a3e12}.date-heading{width:60px;min-width:60px}.date-heading strong,.date-heading span{display:block}.date-heading strong{margin-bottom:3px;font-size:14px}.date-heading span{font-size:11px}.shift-cell{width:60px;min-width:60px}.shift-cell.weekend-土,.schedule-grid-table tbody tr:hover .shift-cell.weekend-土{background-color:#f4f8fb}.shift-cell.weekend-日,.schedule-grid-table tbody tr:hover .shift-cell.weekend-日{background-color:#fcf6f5}.shift-select{color:#173a3e;width:52px;height:34px;font:inherit;text-align:center;cursor:pointer;background:#fff;border:1px solid #c5d7d3;border-radius:5px;padding:4px 2px;font-weight:700}.shift-select:focus{border-color:#318072;outline:3px solid #31807229}.shift-select.shift-off{color:#657572;background:#f1f3f2}.shift-select.shift-leave{color:#85621c;background:#fff5d7}.shift-select.shift-training{color:#506b7b;background:#edf2f5}.personal-summary-heading,.personal-summary-cell{width:64px;min-width:64px;font-size:11px;background:#f5f8f7!important}.personal-summary-heading{line-height:1.3;color:#496965!important;white-space:normal!important}.personal-summary-cell{color:#355d58;font-size:13px;font-weight:700}.summary-start{border-left:3px solid #86aaa3}.schedule-grid-table tfoot th,.schedule-grid-table tfoot td{background:#f5f8f7;border-bottom:1px solid #d3e0dd;height:32px;padding:5px;font-size:11px;font-weight:700}.daily-summary-label{z-index:2;color:#355d58;text-align:left;width:280px;min-width:280px;position:sticky;left:0;background:#e8f1ef!important;border-right:3px solid #86aaa3!important}.daily-summary-value{color:#355d58;text-align:center;width:60px;min-width:60px}.summary-spacer{color:#9aaba8;text-align:left;border-left:3px solid #86aaa3}.warning-panel{background:#fbfcfc;border:1px solid #d6e3e0;border-radius:10px;margin-bottom:20px;padding:20px}.warning-panel-header,.warning-summary,.warning-filter{align-items:center;display:flex}.warning-panel-header{justify-content:space-between;gap:16px}.warning-panel-header h3{margin:0;font-size:18px}.warning-filter{color:#58736f;gap:8px;font-size:12px;font-weight:700}.warning-filter select{color:#355d58;font:inherit;background:#fff;border:1px solid #b8cfca;border-radius:5px;padding:7px 28px 7px 9px}.warning-summary{grid-template-columns:repeat(4,1fr);gap:10px;margin:16px 0 10px;display:grid}.warning-summary>div{background:#f5f8f7;border:1px solid #d6e3e0;border-radius:7px;justify-content:space-between;align-items:center;padding:11px 13px;display:flex}.warning-summary span{color:#647b78;font-size:11px;font-weight:700}.warning-summary strong{color:#355d58;font-size:19px}.warning-summary .error{background:#fdf1f1;border-color:#e7b9b9}.warning-summary .warning{background:#fff8e5;border-color:#e9d49a}.warning-summary .info{background:#f1f6f9;border-color:#c7d9e5}.warning-future-note{color:#7a8b88;text-align:right;margin:0 0 12px;font-size:11px}.warning-table-wrap{border:1px solid #dce8e5;border-radius:7px;max-height:280px;overflow:auto}.warning-table{border-collapse:separate;border-spacing:0;text-align:left;width:100%;font-size:12px}.warning-table th,.warning-table td{white-space:nowrap;background:#fff;border-bottom:1px solid #e3ecea;padding:9px 10px}.warning-table th{z-index:1;color:#58736f;background:#edf4f3;font-size:11px;position:sticky;top:0}.warning-table tbody tr:last-child td{border-bottom:0}.warning-row.severity-error td{background:#fff8f8}.warning-row.severity-warning td{background:#fffdf7}.warning-row.severity-info td{background:#f8fbfd}.severity-badge{text-align:center;border-radius:4px;min-width:54px;padding:4px 7px;font-size:10px;font-weight:700;display:inline-block}.severity-badge.error{color:#9c3636;background:#f4d4d4}.severity-badge.warning{color:#846019;background:#f6e6b7}.severity-badge.info{color:#466879;background:#dce8ef}.no-warnings{color:#277266;text-align:center;background:#edf6f4;border-radius:7px;margin:14px 0 0;padding:18px}.backup-screen{gap:18px;display:grid}.backup-status{border:1px solid;border-radius:7px;margin:0;padding:13px 16px;font-size:13px}.backup-status.success{color:#27685e;background:#edf7f4;border-color:#b9d8cf}.backup-status.error{color:#963d3d;background:#fdf1f1;border-color:#e4b7b7}.backup-section{background:#f9fbfa;border:1px solid #d6e3e0;border-radius:10px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:28px;padding:24px;display:grid}.backup-section h3{margin:0 0 8px;font-size:19px}.backup-section p:not(.panel-label){color:#647b78;margin:0;font-size:13px;line-height:1.7}.backup-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;max-width:540px;display:flex}.file-button{align-items:center;display:inline-flex}.file-button input{clip:rect(0, 0, 0, 0);width:1px;height:1px;position:absolute;overflow:hidden}.privacy-warning{color:#8a5f20!important}.backup-notes{grid-template-columns:240px 1fr;align-items:start}.backup-notes ul{color:#58736f;margin:0;padding-left:20px;font-size:13px;line-height:1.9}.print-export-screen{gap:22px;display:grid}.output-actions-section{background:#f7faf9;border:1px solid #c8dcd7;border-radius:10px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:24px;padding:22px;display:grid}.output-actions-section h3{margin:0 0 9px;font-size:19px}.output-actions-section p:not(.panel-label){color:#647b78;margin:5px 0 0;font-size:12px;line-height:1.6}.output-action-buttons{gap:10px;display:flex}.print-area{background:#fff;border:1px solid #d6e3e0;border-radius:10px;padding:22px}.print-document-header,.print-warning-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.print-document-header p,.print-document-header h3,.print-warning-heading h4,.print-warning-heading p{margin:0}.print-document-header p{color:#58736f;font-size:11px}.print-document-header h3{margin-top:3px;font-size:22px}.print-document-header>strong{font-size:18px}.print-document-note{color:#647b78;margin:10px 0 18px;font-size:11px}.print-schedule-section h4,.print-warning-section h4{margin:0 0 9px;font-size:15px}.print-preview-scroll,.print-warning-list{border:1px solid #bdceca;overflow:auto}.print-preview-scroll{max-height:600px}.print-schedule-table{border-collapse:collapse;color:#263f3c;text-align:center;width:max-content;min-width:2700px;font-size:9px}.print-schedule-table th,.print-schedule-table td{white-space:nowrap;background:#fff;border:1px solid #9dafab;min-width:42px;padding:4px 3px}.print-schedule-table thead th,.print-schedule-table tfoot th,.print-schedule-table tfoot td{background:#edf2f1;font-weight:700}.print-schedule-table th:nth-child(-n+3),.print-schedule-table td:nth-child(-n+3){min-width:66px}.print-schedule-table thead small{margin-top:2px;font-size:8px;display:block}.print-schedule-table .print-summary-start{border-left-width:2px}.print-warning-section{margin-top:24px}.print-warning-heading{align-items:baseline;margin-bottom:9px}.print-warning-heading h4{margin:0}.print-warning-heading p{color:#58736f;font-size:10px}.print-warning-list{max-height:320px}.print-warning-list table{border-collapse:collapse;text-align:left;width:100%;font-size:10px}.print-warning-list th,.print-warning-list td{background:#fff;border:1px solid #bdceca;padding:5px 6px}.print-warning-list th{background:#edf2f1}.print-no-warnings{color:#277266;text-align:center;border:1px solid #c8dcd7;padding:14px}.backup-panel-container{border-top:1px solid #d6e3e0;padding-top:22px}@page{size:A3 landscape;margin:8mm}@media print{:root,body{background:#fff;min-width:0}body *{visibility:hidden}.print-area,.print-area *{visibility:visible}.no-print{display:none!important}.print-area{border:0;border-radius:0;width:100%;padding:0;position:absolute;inset:0}.print-document-header h3{font-size:14pt}.print-document-header>strong{font-size:11pt}.print-document-note{margin:2mm 0 3mm;font-size:7pt}.print-preview-scroll,.print-warning-list{border:0;max-height:none;overflow:visible}.print-schedule-table{table-layout:fixed;width:100%;min-width:0;font-size:5pt}.print-schedule-table th,.print-schedule-table td{white-space:normal;border:.3mm solid #555;padding:1px;min-width:0!important}.print-schedule-table thead small{font-size:4.5pt}.print-schedule-table thead{display:table-header-group}.print-schedule-table tr,.print-warning-list tr{break-inside:avoid}.print-warning-section{break-before:page;margin-top:0}.print-warning-list table{font-size:7pt}.print-warning-list th,.print-warning-list td{border:.3mm solid #555;padding:1.2mm}.print-warning-list thead{display:table-header-group}}
