:root{color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#202326;background:#f6f4ef}*{box-sizing:border-box}body{margin:0;min-width:320px;overflow-x:hidden}button,input,select,textarea{font:inherit}button,a.primary-button,a.secondary-button{cursor:pointer}.app-shell{min-height:100vh;padding:20px}.login-shell{display:grid;min-height:100vh;place-items:center;padding:20px;background:linear-gradient(135deg,rgba(184,50,43,.08),transparent 36%),#f6f4ef}.login-panel{width:min(100%,420px);border:1px solid #d7d1c6;border-radius:8px;background:#fff;padding:28px;box-shadow:0 18px 42px #2023261f}.login-mark{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;margin-bottom:18px;border-radius:8px;background:#b8322b;color:#fff}.login-panel>p{margin:0 0 5px;color:#6a4935;font-size:.78rem;font-weight:700;text-transform:uppercase}.login-panel h1{margin:0 0 22px;font-size:1.85rem;letter-spacing:0}.login-form{display:grid;gap:14px}.login-input{position:relative}.login-input svg{position:absolute;top:11px;left:10px;color:#6f7479}.login-input input{padding-left:34px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.topbar p,.drawer-header p{margin:0 0 4px;color:#6a4935;font-size:.78rem;font-weight:700;text-transform:uppercase}.topbar h1,.drawer-header h2{margin:0;letter-spacing:0}.topbar h1{font-size:clamp(1.6rem,2.4vw,2.4rem)}.topbar-actions,.drawer-actions,.drawer-actions>div{display:flex;align-items:center;gap:10px}.signed-in-user{display:inline-flex;align-items:center;gap:7px;min-height:38px;color:#555b61;font-weight:700}.primary-button,.secondary-button,.danger-button,.icon-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;border:1px solid transparent;border-radius:6px;padding:0 12px;font-weight:700;text-decoration:none}.primary-button{background:#b8322b;color:#fff}.secondary-button{background:#fff;color:#2d3033;border-color:#d7d1c6}.danger-button{background:#fff;color:#a42525;border-color:#e0b7b7}.icon-button{width:38px;padding:0;background:#fff;color:#2d3033;border-color:#d7d1c6}button:disabled{opacity:.6;cursor:wait}.filters{display:grid;grid-template-columns:repeat(6,minmax(140px,1fr));gap:10px;margin-bottom:10px;align-items:end}label{display:grid;gap:5px;min-width:0}label span{color:#555b61;font-size:.78rem;font-weight:700}input,select,textarea{width:100%;min-height:38px;border:1px solid #d7d1c6;border-radius:6px;background:#fff;color:#202326;padding:8px 10px}textarea{resize:vertical}.search-field div{position:relative}.search-field svg{position:absolute;top:11px;left:10px;color:#6f7479}.search-field input{padding-left:34px}.notice-row{min-height:24px;margin-bottom:8px;color:#555b61}.success-message{color:#1f6c3f;font-weight:700}.error-message{color:#a42525;font-weight:700}.calendar-surface{height:calc(100vh - 180px);min-height:560px;border:1px solid #d7d1c6;border-radius:8px;background:#fff;padding:12px}.fc{--fc-border-color: #e3ddd3;--fc-today-bg-color: #fff8dd;--fc-neutral-bg-color: #faf9f6;--fc-button-bg-color: #2d3033;--fc-button-border-color: #2d3033;--fc-button-active-bg-color: #b8322b;--fc-button-active-border-color: #b8322b}.fc .fc-toolbar{gap:8px}.fc .fc-toolbar-title{font-size:1.25rem}.fc .fc-button{border-radius:6px;min-height:34px;padding:5px 9px}.pizza-event{border:0;border-left:4px solid;border-radius:4px;padding:2px 4px}.event-chip-content{display:grid;gap:1px;overflow:hidden;line-height:1.2}.event-chip-content strong,.event-chip-content span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.event-chip-content span{font-size:.72rem;opacity:.88}.status-planning-hold{background:#e8f3f1;color:#143d3a;border-left-color:#2d8d83}.status-applied{background:#fff1c7;color:#402f00;border-left-color:#c99511}.status-approved{background:#dff4e6;color:#143c25;border-left-color:#2d8a50}.status-declined,.status-cancelled{background:#f7dcdc;color:#551b1b;border-left-color:#b8322b}.status-postponed{background:#e6edf7;color:#1f334f;border-left-color:#4f77aa}.status-complete{background:#e9e2f0;color:#372543;border-left-color:#77608b}.drawer{position:fixed;top:0;right:0;z-index:20;display:flex;flex-direction:column;width:min(520px,100vw);height:100vh;border-left:1px solid #d7d1c6;background:#fbfaf7;box-shadow:-16px 0 32px #20232629}.drawer-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:18px;border-bottom:1px solid #e3ddd3}.drawer-header h2{font-size:1.25rem;overflow-wrap:anywhere}.drawer-body{overflow:auto;padding:16px 18px 96px}.drawer-group{padding:14px 0;border-bottom:1px solid #e3ddd3}.drawer-group h3{margin:0 0 10px;color:#6a4935;font-size:.82rem;letter-spacing:0;text-transform:uppercase}.drawer-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.wide{grid-column:1 / -1}.check-row{display:flex;align-items:center;gap:9px;min-height:38px;padding-top:21px}.check-row input{width:18px;min-height:18px}.drawer-actions{position:sticky;bottom:0;justify-content:space-between;margin:18px -18px -96px;padding:14px 18px;border-top:1px solid #e3ddd3;background:#fbfaf7}@media(max-width:900px){.app-shell{padding:12px}.topbar,.topbar-actions{align-items:stretch;flex-direction:column}.topbar-actions{width:100%}.signed-in-user{justify-content:flex-start}.filters{grid-template-columns:repeat(2,minmax(0,1fr))}.calendar-surface{height:min(680px,calc(100vh - 260px));min-height:520px;padding:8px;overflow:hidden}.fc .fc-toolbar{align-items:stretch;flex-direction:column;gap:8px}.fc .fc-toolbar-chunk{display:flex;justify-content:center}.fc .fc-button-group{display:flex;min-width:0}.fc .fc-button{flex:1 1 auto;white-space:nowrap}}@media(max-width:560px){.login-shell{align-items:stretch;padding:12px}.login-panel{align-self:center;padding:22px}.login-panel h1{font-size:1.55rem}.filters,.drawer-grid{grid-template-columns:1fr}.filters{gap:8px}.calendar-surface{height:calc(100vh - 310px);min-height:430px;border-radius:6px;padding:6px}.fc .fc-toolbar-title{font-size:1rem;line-height:1.25;text-align:center}.fc .fc-button{min-height:32px;padding:4px 7px;font-size:.82rem}.fc .fc-col-header-cell-cushion,.fc .fc-daygrid-day-number{font-size:.76rem}.event-chip-content span{display:none}.drawer{width:100vw;border-left:0}.drawer-header{padding:14px}.drawer-body{padding:12px 14px 88px}.check-row{padding-top:0}.drawer-actions,.drawer-actions>div{align-items:stretch;flex-direction:column-reverse}.drawer-actions{margin-right:-14px;margin-left:-14px;padding:12px 14px}}
