.period-strip{display:flex;flex-wrap:wrap;gap:18px;background:#fff;padding:18px 22px;border:1px solid #e3e7ed;border-radius:14px;margin:18px 0}.period-strip span{color:#657080}.period-strip strong{color:#192537;margin-left:6px}.p-table-card{padding:0!important}.p-grid{max-height:72vh;overflow:auto}.p-grid table{border-collapse:separate;border-spacing:0;font-size:12px}.p-grid td,.p-grid th{border-bottom:1px solid #edf0f4;white-space:nowrap;padding:7px}.p-grid thead th{position:sticky;top:0;background:#f5f7fa;z-index:4}.p-grid .p-name{position:sticky;left:0;min-width:230px;max-width:280px;white-space:normal;background:#fff;z-index:3;border-right:1px solid #dee3ea}.p-grid thead .p-name{z-index:6;background:#f5f7fa}.p-flag{font-size:11px;margin-top:7px}.p-flag label{display:flex;gap:6px;align-items:center}.p-flag input{width:14px!important;min-height:14px!important;padding:0!important}.p-cell{border:0;background:transparent;display:block;width:90px;min-height:64px;border-radius:8px;color:#172033;cursor:pointer;padding:4px}.p-cell[disabled]{cursor:default;opacity:.85}.p-cell small{display:block;font-size:10px;color:#738090}.p-cell strong{display:block;font-size:16px;margin:4px 0}.p-over{background:#fff6df}.p-under{background:#fff1f0}.p-missing{background:#fdf8f4}.p-error{background:#ffd9dd}.p-double{background:#eef3ff}.p-double-mark{font-size:10px;color:#3c5ca5}.p-grid .p-summary{position:sticky;background:#fff;min-width:85px;text-align:center;z-index:2;border-left:1px solid #e4e8ee}.p-grid .p-norm{right:170px}.p-grid .p-fact{right:85px}.p-grid .p-delta{right:0}.p-grid thead .p-summary{z-index:5;background:#f5f7fa}.positive{color:#236ca4}.p-extra{text-align:center;min-width:45px}pre{white-space:pre-wrap;overflow-wrap:anywhere;max-width:900px;font-size:12px}fieldset{border:0;padding:0;min-width:0}dialog{border:1px solid #dfe4ea;border-radius:18px;max-width:560px;width:calc(100% - 32px);max-height:90vh;overflow:auto;padding:24px}dialog::backdrop{background:#17203388}.print-only{display:none}@media(max-width:700px){.p-grid .p-name{min-width:155px;max-width:155px}.p-grid .p-summary{position:static;min-width:75px}.p-grid .p-cell{width:76px}.period-strip{gap:9px;font-size:12px}.toolbar{flex-wrap:wrap}.form-grid{grid-template-columns:1fr!important}.p-grid{max-height:65vh}}@media print{.sidebar,.topbar,.toolbar,.toolbar-actions,.btn,form{display:none!important}.main{padding:0!important;margin:0!important}.app-shell{display:block!important}.table-wrap{overflow:visible!important;max-height:none!important}table{font-size:9px!important}.p-name,.p-summary{position:static!important}.print-only{display:block}@page{size:A4 landscape;margin:10mm}}
.mobile-summary{display:none}@media(max-width:700px){.app-shell{grid-template-columns:minmax(0,1fr);width:100%;max-width:100vw}.sidebar,.main{min-width:0;max-width:100vw}.sidebar nav{width:100%;min-width:0}.p-grid,.table-wrap{max-width:100%;width:100%}.toolbar{flex-direction:row;align-items:center;justify-content:flex-start;gap:8px}.toolbar .btn{font-size:11px;padding:8px 10px}.mobile-summary{display:block!important;font-size:10px!important;line-height:1.5;color:#657080!important;margin-top:8px}}

@media print{html,body,.app-shell,.main{min-height:0!important;height:auto!important;background:#fff!important}.p-print-help{display:none!important}thead{display:table-header-group}tr{break-inside:avoid}}
.schedule-grid .schedule-day{min-width:64px;text-align:center;padding:7px 4px}.schedule-hour{width:58px!important;min-height:36px!important;padding:6px!important;text-align:center;font-weight:700;border-color:transparent!important;background:#f0f5ff!important}.schedule-day small{display:block;font-size:9px;color:#738090;margin-top:3px}.schedule-off{background:#f0f2f5}.schedule-off .schedule-hour{background:#e7ebf0!important;color:#7b8795}.schedule-grid .schedule-mode{font-size:11px;margin:8px 0 2px;padding:7px;max-width:210px}.schedule-row-status{font-size:10px!important}.schedule-total{position:sticky;right:0;background:#fff!important;z-index:2;min-width:100px;text-align:center;border-left:1px solid #e4e8ee}.schedule-grid thead .schedule-total{z-index:5;background:#f5f7fa!important}.schedule-changed .p-name{box-shadow:inset 4px 0 #c7a521}.schedule-tools .form-grid{margin-bottom:12px}.schedule-recipients,.schedule-months{display:flex;flex-wrap:wrap;gap:12px;margin:12px 0}.schedule-grid td.p-name>strong{font-size:13px}.schedule-grid{max-height:65vh}@media(max-width:700px){.schedule-grid .schedule-mode{max-width:145px}.schedule-total{position:static}.schedule-recipients{display:block}.schedule-recipients label{margin:8px 0}}

.p-day-head small{display:block;font-size:10px;color:#738090}
