/* The editor keeps all seven days visible at every viewport width. */
.schedule-panel .schedule-table{width:100%;min-width:0;table-layout:fixed}.schedule-panel .schedule-table th[data-day],.schedule-panel .schedule-table td[data-day]{display:table-cell!important}.grid-panel-tools{display:flex;gap:13px;align-items:center}.grid-panel-tools .button{font-size:10px;padding:7px 10px;min-height:30px}.schedule-panel+.metrics{margin-top:0}
body.editor-focus .sidebar,body.editor-focus .topbar,body.editor-focus .prototype-banner,body.editor-focus .page-heading,body.editor-focus .page-footer,body.editor-focus .metrics,body.editor-focus .panel:has(.summary-table){display:none}body.editor-focus .main-shell{margin:0;width:100%;padding-bottom:0}body.editor-focus main{max-width:none;padding:4px}body.editor-focus .week-toolbar{position:sticky;top:0;z-index:35;margin-bottom:8px;padding:8px 4px;background:#f6f7f9;border-bottom:1px solid #e0e6e9}body.editor-focus .schedule-panel,body.editor-focus .schedule-panel .table-scroll{overflow:visible}body.editor-focus .schedule-panel .panel-heading{padding:11px 14px}body.editor-focus #focus-editor{display:none}body.editor-focus .schedule-table thead th{position:sticky;top:var(--focus-toolbar-height,88px);z-index:6;background:#f8fafb}body.editor-focus .schedule-table thead th.weekend{background:#f5f2ed}
dialog{max-height:calc(100vh - 20px);max-height:calc(100dvh - 20px);overflow-y:auto;overscroll-behavior:contain}.dialog-footer{background:#fff;z-index:3}
#cell-dialog{--assignment-padding:28px;padding:var(--assignment-padding)}
#cell-dialog .assignment-footer{display:grid;grid-template-columns:1fr auto;gap:10px;position:sticky;bottom:calc(-1 * var(--assignment-padding));margin:24px calc(-1 * var(--assignment-padding)) calc(-1 * var(--assignment-padding));padding:12px var(--assignment-padding) max(16px,env(safe-area-inset-bottom));border-top:1px solid #e4e9ec;background:#fff}
#cell-dialog #clear-cell{justify-self:start;min-height:44px}
#cell-dialog .assignment-footer>[data-close]{min-height:44px;min-width:76px}
#cell-dialog .assignment-footer #cell-save{grid-column:1/-1;min-height:56px;width:100%;font-size:18px;font-weight:650;padding:15px 24px;justify-content:center}
#cell-dialog .person-option.selection-disabled{opacity:.4;cursor:not-allowed}
#cell-selection-rule.selection-error{color:#bd443b;font-weight:600}
@media(max-width:600px){#cell-dialog{--assignment-padding:20px}#cell-dialog .assignment-footer>[data-close],#cell-dialog #clear-cell{font-size:13px}#cell-selection-rule{font-size:11px}#cell-dialog .field-help{font-size:12px;line-height:1.7}}
@media screen and (max-width:1024px) and (max-height:600px) and (orientation:landscape){#cell-dialog{--assignment-padding:16px}}
@media screen and (max-width:1024px){.schedule-panel .schedule-table th:first-child{width:108px;padding-left:12px}.schedule-panel .schedule-table td:first-child{padding:9px 8px 9px 12px}.schedule-panel .weekday{font-size:8px;letter-spacing:0}.schedule-panel .day-number{font-size:13px}.schedule-panel .cell-button{padding:7px 3px;gap:4px;justify-content:center;min-height:60px}.schedule-panel .person-chip{font-size:10px;padding:5px 5px;gap:0}.schedule-panel .person-chip.front small{display:none}.schedule-panel .clean-row .person-chip{font-size:10px;padding:4px}.schedule-panel .clean-row .cell-button{min-height:48px;padding:6px 3px}.schedule-panel .rest-tags{font-size:9px;justify-content:center;padding:6px 3px}.schedule-panel .row-label{font-size:10px}.schedule-panel .row-sub{font-size:8px}.schedule-panel .rest-strip td:first-child{font-size:9px!important}dialog select,dialog textarea{font-size:16px!important}.dialog-footer{position:sticky;bottom:0}}
@media screen and (max-width:600px){main{padding:12px 10px 18px}.page-heading{padding:18px 0 16px}.page-heading h1{font-size:24px}.page-heading .eyebrow{display:none}.heading-actions{margin-top:12px}.week-toolbar{gap:9px;margin-bottom:12px}.week-left{gap:7px}.week-range{font-size:12px}.week-actions{gap:6px}.week-actions .button{font-size:10px;padding:8px 10px}.schedule-panel .panel-heading{padding:13px 10px;gap:5px}.schedule-panel .panel-title{font-size:11px;gap:5px}.schedule-panel .panel-caption{font-size:8px;max-width:180px}.grid-panel-tools{flex-direction:column;align-items:flex-end;gap:6px}.grid-panel-tools .legend{font-size:7px;margin:0}.grid-panel-tools .button{font-size:9px;padding:6px 9px;min-height:29px}.schedule-panel .schedule-table th:first-child{width:70px;padding:7px 4px;font-size:8px}.schedule-panel .schedule-table th{padding:8px 1px;height:54px}.schedule-panel .schedule-table td:first-child{padding:7px 4px}.schedule-panel .row-label{font-size:8.5px;line-height:1.45;font-weight:550}.schedule-panel .row-sub{font-size:6.5px;line-height:1.3;margin-top:4px}.schedule-panel .clean-row .row-sub{display:none}.schedule-panel .weekday{font-size:6.5px;line-height:1.4;letter-spacing:0}.schedule-panel .day-number{font-size:10px;margin-top:5px}.schedule-panel .schedule-table td{height:62px}.schedule-panel .cell-button{min-height:61px;padding:5px 1px;gap:3px;justify-content:center;align-content:center}.schedule-panel .person-chip{font-size:8.5px;padding:4px 2px;line-height:1.1;min-height:17px;border-radius:3px}.schedule-panel .clean-row td{height:49px}.schedule-panel .clean-row .cell-button{min-height:48px;padding:5px 1px}.schedule-panel .clean-row .person-chip{font-size:8px;padding:4px 2px}.schedule-panel .group-row td{padding:6px 8px!important;font-size:8px}.schedule-panel .rest-tags{font-size:7px;gap:2px;padding:4px 1px;justify-content:center}.schedule-panel .rest-tags span{padding:3px 2px}.schedule-panel .rest-strip td:first-child{font-size:7px!important}.schedule-panel .table-note{padding:9px 10px}.schedule-panel .warning-box{margin:0 10px 12px}.manual-note{font-size:16px}.schedule-panel+.metrics{margin-top:0}body.editor-focus .schedule-panel .schedule-table th:first-child{width:60px}body.editor-focus .schedule-panel .panel-heading{padding:10px 8px}body.editor-focus .week-left{width:100%}body.editor-focus .week-actions{justify-content:space-between}body.editor-focus .week-actions .button{padding:8px;font-size:9px}}
@media screen and (max-width:1024px) and (max-height:600px) and (orientation:landscape){.sidebar{position:fixed;inset:auto 0 0;width:100%;height:42px;background:#fff;padding:0 10px;border-top:1px solid #e4e9ec}.sidebar .brand,.sidebar .workspace,.sidebar .nav-label,.sidebar .sidebar-note,.sidebar .sidebar-bottom{display:none}.sidebar nav{margin:0;display:flex;height:100%;gap:6px}.sidebar .nav-item{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:6px;height:100%;width:100%;padding:5px;font-size:10px;color:#8b9aa3;background:transparent}.sidebar .nav-item.active{color:#426d5c}.sidebar .nav-icon{font-size:18px}.sidebar .nav-tail{display:none}.main-shell{margin:0;width:100%;padding-bottom:44px}.topbar{height:38px;padding:0 14px}.topbar .breadcrumb{font-size:9px}.identity{gap:7px}.identity .avatar{height:25px;width:25px}.identity select{font-size:11px}.prototype-banner{font-size:9px;padding:6px 9px}.page-heading{padding:10px 0;align-items:center}.page-heading .eyebrow,.page-heading p{display:none}.page-heading h1{font-size:21px;margin:0}.heading-actions{margin:0;gap:8px}.heading-actions .save-status{display:none}.heading-actions .button{font-size:10px;padding:7px 12px;min-height:30px}main{padding:8px 12px 12px}.week-toolbar{margin-bottom:10px;gap:8px}.week-range{font-size:13px}.week-left{gap:8px}.week-actions{width:auto;gap:6px}.week-actions .button{padding:7px 10px;font-size:10px}.schedule-panel .panel-heading{padding:10px 14px}.schedule-panel .panel-caption{font-size:9px;margin-top:3px}.schedule-panel .panel-title{font-size:12px}.schedule-panel .schedule-table th{height:51px;padding:7px 2px}.schedule-panel .schedule-table th:first-child{width:110px}.schedule-panel .weekday{font-size:8px}.schedule-panel .day-number{font-size:13px;margin-top:3px}.schedule-panel .person-chip{font-size:12px;padding:5px 6px}.schedule-panel .clean-row .person-chip{font-size:11px;padding:4px 6px}.schedule-panel .row-label{font-size:11px}.schedule-panel .row-sub{font-size:8px}.schedule-panel .clean-row .row-sub{display:block}#cell-dialog{width:min(700px,calc(100% - 24px));padding:16px}#cell-dialog .dialog-heading h2{font-size:18px;margin:4px 0}#cell-dialog .dialog-heading p{font-size:10px;margin:0 0 8px}#cell-dialog .eyebrow{font-size:7px}#cell-dialog .people-picker{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-bottom:10px}#cell-dialog .person-option{padding:7px;gap:7px}#cell-dialog .person-option strong{font-size:10px}#cell-dialog .person-option small{font-size:9px}#cell-dialog .tiny-avatar{width:23px;height:23px;font-size:8px}#cell-dialog .field-label{margin:7px 0;font-size:11px}#cell-dialog .field-label>span{font-size:9px}#cell-dialog .full-select{padding:7px}#cell-dialog .field-help{display:none}#cell-dialog .dialog-footer{margin-top:10px;padding-top:8px}#cell-dialog .dialog-footer .button{min-height:31px;padding:7px 12px;font-size:10px}body.editor-focus .week-left{width:auto}body.editor-focus .week-actions{width:auto}body.editor-focus main{padding:4px}body.editor-focus .week-toolbar{padding:6px 4px}.toast{left:50%;bottom:52px}}
@media print{body.editor-focus .panel:has(.summary-table){display:block!important}body.editor-focus .week-toolbar{display:none!important}body.editor-focus .schedule-table thead th{position:static!important}.grid-panel-tools .button{display:none!important}.schedule-panel .schedule-table th[data-day],.schedule-panel .schedule-table td[data-day]{display:table-cell!important}}
.schedule-notes{padding:12px 16px;border-top:1px solid #e4e9ec;color:#273b47;font-size:12px;line-height:1.65;background:#fff}.schedule-notes>div{white-space:normal;overflow-wrap:anywhere}.schedule-notes>div:nth-child(3){margin-top:8px}.staff-roster{padding:10px 16px;background:#f6f8f9;font-size:11px;color:#50616c;border-top:1px solid #e4e9ec}.heading-actions{flex-wrap:wrap}.heading-actions #export-current{flex-basis:100%;font-size:12px;min-height:40px}.heading-actions #save-status{flex-basis:100%}body.editor-focus .week-actions{flex-wrap:wrap}@media screen and (max-width:600px){.schedule-notes{padding:12px 10px;font-size:12px}.staff-roster{padding:10px;font-size:11px}.heading-actions #export-current{font-size:13px}.heading-actions #save-status{display:none}body.editor-focus .week-actions{justify-content:flex-start}body.editor-focus #focus-export{flex-grow:1;min-height:34px}}@media screen and (min-width:601px){.heading-actions #export-current,.heading-actions #save-status{flex-basis:auto}}@media print{.schedule-notes{font-size:9px;padding:7px 10px}.staff-roster{font-size:8px;padding:6px 10px}}
#image-save-dialog{width:min(680px,calc(100% - 20px));padding:18px}#image-save-dialog .dialog-heading h2{font-size:21px;margin:5px 0 9px}#image-save-status{font-size:13px;line-height:1.7;margin:0;color:#536875;max-width:530px}#saved-image{display:block;width:100%;height:auto;background:#fff;border:1px solid #dce3e7;margin-top:12px;-webkit-touch-callout:default;user-select:auto;-webkit-user-select:auto}.image-save-actions{position:sticky;top:-18px;padding:10px 0;background:#fff;z-index:5;display:flex;flex-wrap:wrap;gap:9px}.image-save-actions .button{min-height:42px;font-size:13px;text-decoration:none}.image-save-tip{font-size:12px;line-height:1.6;color:#657783;margin:5px 0}#image-save-dialog .dialog-heading{align-items:flex-start}@media screen and (max-width:600px){#image-save-dialog{padding:14px}.image-save-actions{top:-14px}.image-save-actions .button{flex:1}#image-save-status{font-size:13px}}
