.page-heading{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:16px}.page-heading h2{margin:0;font-family:var(--font-serif);font-size:20px}.page-heading p{margin:5px 0 0;color:var(--text-muted);font-size:11px}.intake-panel{padding:16px;margin-bottom:16px}.segmented-row,.usage-chip-row,.edit-switch-row,.compact-filters{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.segment-btn{min-width:150px;padding:10px 22px;border:1px solid var(--border);background:#fff;color:var(--text);font-weight:700;cursor:pointer}.segment-btn:first-child{border-radius:7px 0 0 7px}.segment-btn:nth-child(2){margin-left:-8px;border-radius:0 7px 7px 0}.segment-btn.active{position:relative;z-index:1;background:var(--accent);border-color:var(--accent);color:#fff}.segment-help,.usage-chip-row>span:first-child,.edit-switch-row>span:first-child{color:var(--text-muted);font-size:10px}.usage-chip-row{margin-top:11px}.filter-chip{padding:5px 10px;border:1px solid var(--border);border-radius:999px;background:#fff;color:var(--text-secondary);font-size:10px;cursor:pointer}.filter-chip.active{border-color:var(--accent);background:var(--accent);color:#fff}.batch-drop{display:flex;justify-content:center;align-items:center;gap:12px;margin-top:14px;padding:24px;border:2px dashed var(--border);border-radius:10px;background:#fafafa}.batch-drop.dragging{border-color:var(--accent);background:rgba(44,95,77,.06)}.batch-drop span{color:var(--text-muted);font-size:10px}.batch-files{margin-top:10px;border-top:1px solid var(--border-light)}.batch-file,.batch-actions{display:flex;align-items:center;gap:10px;padding:8px 4px;border-bottom:1px solid var(--border-light);font-size:10px}.batch-file span{flex:1}.batch-file b{color:var(--text-muted)}.batch-file b.done{color:var(--success)}.batch-file b.error{color:var(--danger)}.batch-file button{border:0;background:none;cursor:pointer}.batch-actions{justify-content:flex-end;border:0}.batch-actions span{margin-right:auto}.inline-editor{margin-bottom:16px}.inline-editor .card-header p{margin:4px 0 0;color:var(--text-muted);font-size:9px}.edit-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:14px 16px}.edit-grid label{font-size:9px;color:var(--text-muted)}.edit-grid .form-input{margin-top:4px}.edit-grid .wide{grid-column:span 2}.edit-switch-row{padding:0 16px 10px}.edit-switch-row>span:first-child{width:62px}.edit-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px;padding:10px 16px 16px}.edit-actions .login-error{margin-right:auto}.compact-filters{padding:10px 12px}.compact-filters .form-input{max-width:190px}.assignment-table td strong,.assignment-table td small{display:block}.assignment-table td small{margin-top:3px;color:var(--text-muted);font-size:8px}.mono{font-family:var(--font-mono);font-size:10px}.usage-badge{display:inline-flex;padding:3px 7px;border-radius:999px;background:rgba(44,95,77,.09);color:var(--accent);font-size:9px;font-weight:700}.no-wrap{white-space:nowrap}.action-cell{white-space:nowrap}
.schedule-case-picker{margin-bottom:14px}.case-button-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;padding:0 12px 12px;max-height:205px;overflow:auto}.case-select-btn{text-align:left;padding:9px;border:1px solid var(--border);border-radius:7px;background:#fff;cursor:pointer;min-width:0}.case-select-btn b,.case-select-btn span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.case-select-btn b{font-size:10px}.case-select-btn span{margin-top:4px;color:var(--text-muted);font-size:8px}.case-select-btn.active{border-color:var(--accent);background:rgba(44,95,77,.07);box-shadow:0 0 0 1px var(--accent)}.schedule-workbench{padding-bottom:14px}.workbench-head{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px}.workbench-head h3{margin:8px 0 3px;font-size:16px}.workbench-head p{margin:0;color:var(--text-muted);font-size:9px}.estimate-control{display:flex;align-items:center;gap:5px}.estimate-control span{margin-right:6px;color:var(--text-muted);font-size:10px}.estimate-control button{width:30px;height:30px;border:1px solid var(--border);background:#fff;cursor:pointer}.estimate-control input{width:55px;height:30px;border:1px solid var(--border);text-align:center;font-weight:700}.capacity-note{margin-left:auto;color:var(--text-muted);font-size:9px}.worker-selector{display:flex;align-items:center;gap:10px;padding:5px 16px 10px}.selected-workers{display:flex;gap:6px;flex-wrap:wrap}.selected-workers span{padding:5px 7px;border-radius:5px;background:var(--bg-hover);font-size:9px}.selected-workers button{border:0;background:none;cursor:pointer}.selected-workers em{color:var(--danger);font-size:9px}.worker-chip-panel{display:flex;gap:5px;flex-wrap:wrap;margin:0 16px 10px;padding:10px;border:1px solid var(--border-light);border-radius:7px}.worker-chip{padding:5px 8px;border:1px solid var(--border);border-radius:5px;background:#fff;font-size:9px;cursor:pointer}.worker-chip.active{background:var(--accent);border-color:var(--accent);color:#fff}.timeline-legend{display:flex;align-items:center;gap:13px;padding:9px 16px;background:#fafafa;color:var(--text-muted);font-size:9px}.timeline-legend span{display:flex;align-items:center;gap:4px}.timeline-legend i{width:12px;height:12px;border-radius:2px}.timeline-legend i.free{background:#f2f2f0}.timeline-legend i.used{background:#e8c96b}.timeline-legend i.draft{background:#d9685c}.timeline-legend b{margin-left:auto;color:var(--text)}.usage-capacity-summary{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;padding:10px 16px}.usage-capacity-summary>div{padding:7px;border:1px solid var(--border-light);border-radius:5px}.usage-capacity-summary strong,.usage-capacity-summary span{display:block;font-size:8px}.usage-capacity-summary span{margin:3px 0;color:var(--text-muted)}.usage-capacity-summary i,.customer-five-summary i{display:block;height:4px;border-radius:4px;background:var(--border-light);overflow:hidden}.usage-capacity-summary i b,.customer-five-summary i b{display:block;height:100%;background:var(--accent)}.time-grid{margin:0 16px;border:1px solid var(--border);border-radius:7px;overflow:hidden;user-select:none}.time-grid-head,.time-grid-row{display:grid;grid-template-columns:104px repeat(8,minmax(58px,1fr))}.time-grid-head span,.time-grid-head b{padding:7px 3px;border-right:1px solid var(--border-light);background:#f7f7f5;text-align:center;font-size:8px}.time-grid-row header{display:flex;flex-direction:column;justify-content:center;padding:8px;border-top:1px solid var(--border-light)}.time-grid-row header b{font-size:11px}.time-grid-row header span,.time-grid-row header small{color:var(--text-muted);font-size:8px}.time-slot{min-height:57px;padding:5px 3px;border-top:1px solid var(--border-light);border-left:1px solid var(--border-light);background:#f6f6f4;cursor:crosshair;overflow:hidden}.time-slot.occupied{background:#f3df9f}.time-slot.draft{background:#d9685c;color:#fff}.time-slot span{display:block;font-size:8px;line-height:1.35;overflow-wrap:anywhere}.draft-list{margin:10px 16px}.draft-list>div{display:flex;gap:12px;padding:7px 9px;border-bottom:1px solid var(--border-light);font-size:9px}.draft-list b{margin-left:auto}.draft-list button{border:0;background:none;color:var(--danger);cursor:pointer}.schedule-total{display:flex;gap:24px;margin:10px 16px;padding:10px;border-radius:6px;background:var(--bg-hover);font-size:10px}.schedule-total .bad{color:var(--danger)}.schedule-placeholder{padding:60px;text-align:center;color:var(--text-muted)}
.customer-calendar-only{max-width:1280px;margin:auto}.customer-calendar-head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:20px}.customer-calendar-head p{margin:0;color:var(--accent);font-size:9px;letter-spacing:.13em}.customer-calendar-head h1{margin:5px 0;font-size:24px}.customer-calendar-head span{color:var(--text-muted);font-size:10px}.customer-summary{display:flex;gap:10px}.customer-summary b{padding:9px 12px;border:1px solid var(--border);border-radius:6px;font-size:10px}.customer-day-tabs{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin-bottom:10px}.customer-day-tabs button{display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:6px;padding:10px;border:1px solid var(--border);background:#fff;cursor:pointer}.customer-day-tabs button.active{border-color:var(--accent);box-shadow:inset 0 -3px var(--accent)}.customer-day-tabs strong{font-size:13px}.customer-day-tabs span{color:var(--text-muted);font-size:9px}.customer-day-tabs em{text-align:right;color:var(--accent);font-style:normal;font-weight:700}.customer-timeline-card{padding-bottom:14px}.customer-day-capacity{display:grid;grid-template-columns:200px 1fr 150px;align-items:center;gap:15px;padding:14px 16px}.customer-day-capacity div:first-child strong,.customer-day-capacity div:first-child span{display:block}.customer-day-capacity div:first-child span,.customer-day-capacity>span{color:var(--text-muted);font-size:9px}.customer-day-capacity>div:nth-child(2){height:8px;border-radius:9px;background:var(--border-light);overflow:hidden}.customer-day-capacity>div:nth-child(2) b{display:block;height:100%;background:var(--accent)}.customer-grid-head,.customer-case-row{display:grid;grid-template-columns:190px repeat(8,minmax(70px,1fr));margin:0 16px}.customer-grid-head span,.customer-grid-head b{padding:7px;border:1px solid var(--border-light);background:#f7f7f5;text-align:center;font-size:8px}.customer-case-row header{padding:10px 8px;border:1px solid var(--border-light);min-width:0}.customer-case-row header strong,.customer-case-row header span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-case-row header strong{font-size:9px}.customer-case-row header span{margin-top:5px;color:var(--text-muted);font-size:8px}.customer-hour{min-height:58px;border:1px solid var(--border-light);background:#f7f7f5}.customer-hour.active{background:#d8e8df}.customer-hour.first{background:var(--accent);color:#fff}.customer-hour div{padding:7px}.customer-hour strong,.customer-hour span,.customer-hour small{display:block;font-size:8px}.customer-hour span{margin:3px 0}.customer-empty{padding:50px;text-align:center;color:var(--text-muted)}.customer-five-summary{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:10px}.customer-five-summary>div{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:7px;padding:10px;border:1px solid var(--border);border-radius:6px;background:#fff;font-size:8px}.customer-five-summary i{grid-column:1/-1}.customer-five-summary em{font-style:normal;color:var(--accent);font-weight:700}
@media(max-width:1000px){.edit-grid{grid-template-columns:repeat(2,1fr)}.case-button-grid{grid-template-columns:repeat(2,1fr)}.time-grid,.customer-timeline-card{overflow-x:auto}.time-grid-head,.time-grid-row{min-width:780px}.customer-grid-head,.customer-case-row{min-width:900px}.customer-day-tabs,.usage-capacity-summary,.customer-five-summary{grid-template-columns:repeat(2,1fr)}}
/* Current shared layout. */
