/* PM24 V73 — approved hospitality Front Desk room-ball board */
body.app-frontdesk main.workspace-main{padding:14px 16px!important;overflow:hidden}
.fd-compact-shell{max-width:none!important;margin:0!important;height:calc(100vh - 92px);display:flex;flex-direction:column;gap:10px;min-height:620px}
.fd-compact-header{padding:0 2px!important;min-height:56px;display:flex;align-items:center;justify-content:space-between;gap:14px}
.fd-compact-header h1{font-size:24px!important;margin:2px 0!important}.fd-compact-header p{margin:0!important;font-size:13px}
.fd-compact-stats{display:grid!important;grid-template-columns:repeat(5,minmax(120px,1fr));gap:8px!important}
.fd-compact-stats article{min-height:66px!important;padding:10px 14px!important;border-radius:16px!important}.fd-compact-stats small{font-size:11px!important}.fd-compact-stats b{font-size:22px!important}
.fd-compact-workspace{display:grid!important;grid-template-columns:minmax(0,1fr) 340px!important;gap:10px!important;min-height:0;flex:1}
.fd-room-board,.fd-active-guests{height:100%;min-height:0;overflow:hidden!important;border-radius:18px!important}
.fd-room-board{padding:12px!important;display:flex;flex-direction:column}.fd-active-guests{padding:14px!important;display:flex;flex-direction:column}
.fd-board-toolbar{gap:12px!important;margin-bottom:8px!important}.fd-board-toolbar h2{font-size:19px!important;margin:0!important}.fd-search{height:40px!important;max-width:390px!important}
.fd-status-legend{display:flex!important;flex-wrap:wrap;gap:7px 12px!important;padding:7px 0!important;font-size:11px!important}.fd-status-legend span{display:flex;align-items:center;gap:4px}.fd-status-legend i{width:9px!important;height:9px!important}.fd-status-legend em{font-style:normal;color:#64748b}.fd-status-legend b{font-size:10px}
.fd-filter-row{display:flex!important;gap:6px!important;margin:4px 0 8px!important;overflow-x:auto;scrollbar-width:none}.fd-filter-row button{padding:6px 10px!important;font-size:11px!important;white-space:nowrap}
.fd-floor-tabs{display:flex!important;gap:6px!important;margin:0 0 8px!important;overflow-x:auto;scrollbar-width:none}.fd-floor-tabs button{min-width:88px;padding:8px 12px!important;border-radius:10px!important;font-weight:800!important}
.fd-floor-stack{flex:1;min-height:0;overflow:hidden}.fd-floor-section{height:100%;overflow:auto;padding-right:3px}.fd-floor-title{margin:0 0 8px!important}.fd-floor-title h3{font-size:17px!important}
.fd-ac-pair{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;height:auto}.fd-ac-column{padding:10px!important;border:1px solid #e3ebf7!important;border-radius:16px!important;background:#fbfdff!important;min-width:0}.fd-ac-heading{margin-bottom:8px!important;font-size:14px!important}.fd-ac-heading b{width:28px;height:28px;display:grid;place-items:center;border-radius:10px;background:#edf4ff;color:#345078}
.fd-ball-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(80px,1fr))!important;gap:10px 8px!important;align-content:start!important}.fd-room-ball{min-width:0!important;width:auto!important;height:92px!important;display:grid!important;place-items:center!important;background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important}.fd-room-ball>a,.fd-room-ball>button,.fd-room-ball>span,.fd-room-ball form,.fd-room-ball form button{width:76px!important;height:76px!important;border-radius:999px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:1px!important;text-decoration:none!important;border:3px solid rgba(255,255,255,.9)!important;box-shadow:0 7px 16px rgba(15,23,42,.15),inset 0 -7px 10px rgba(0,0,0,.08)!important;color:#fff!important;font-weight:900!important;padding:0!important;cursor:pointer!important}.fd-room-ball strong{font-size:21px!important;line-height:1!important;color:#fff!important}.fd-room-ball small{font-size:10px!important;line-height:1.1!important;color:#fff!important;font-weight:950!important;letter-spacing:.35px!important}.fd-room-ball.available>a,.fd-room-ball.available>button,.fd-room-ball.available>span{background:linear-gradient(145deg,#20c875,#07964f)!important}.fd-room-ball.occupied>a,.fd-room-ball.occupied>button,.fd-room-ball.occupied>span{background:linear-gradient(145deg,#ff4d55,#dc2029)!important}.fd-room-ball.due>a,.fd-room-ball.due>button,.fd-room-ball.due>span{background:linear-gradient(145deg,#ff9a22,#ec6500)!important}.fd-room-ball.cleaning>a,.fd-room-ball.cleaning>button,.fd-room-ball.cleaning>span,.fd-room-ball.cleaning form button{background:linear-gradient(145deg,#9b6cff,#6845e8)!important}.fd-room-ball.booked>a,.fd-room-ball.booked>button,.fd-room-ball.booked>span{background:linear-gradient(145deg,#ffd428,#edae00)!important}.fd-room-ball.maintenance>a,.fd-room-ball.maintenance>button,.fd-room-ball.maintenance>span{background:linear-gradient(145deg,#9aa8b9,#687587)!important}.fd-room-ball:hover>a,.fd-room-ball:hover>button,.fd-room-ball:hover form button{transform:translateY(-3px) scale(1.04)!important;transition:.16s ease}.fd-no-mode-rooms{min-height:76px!important}
.fd-guest-list{flex:1;min-height:0;overflow:auto}.fd-guest-row{padding:10px!important}.fd-day-report-mini{margin-top:8px!important}
.fd-dialog{position:fixed!important;top:0!important;right:0!important;left:auto!important;bottom:0!important;margin:0!important;width:min(430px,96vw)!important;max-width:none!important;height:100vh!important;max-height:none!important;border:0!important;border-radius:22px 0 0 22px!important;padding:20px!important;box-shadow:-24px 0 60px rgba(15,23,42,.22)!important;overflow:auto!important}.fd-dialog::backdrop{background:rgba(15,23,42,.38)!important;backdrop-filter:blur(2px)}.fd-dialog-head{position:sticky;top:-20px;background:#fff;z-index:2;padding:8px 0 14px!important}.fd-dialog h2{font-size:23px!important}.fd-dialog-actions{position:sticky;bottom:-20px;background:#fff;padding:12px 0 4px!important}
@media(max-width:1100px){.fd-compact-workspace{grid-template-columns:1fr!important}.fd-active-guests{display:none!important}.fd-ball-grid{grid-template-columns:repeat(auto-fill,minmax(74px,1fr))!important}.fd-room-ball>a,.fd-room-ball>button,.fd-room-ball>span,.fd-room-ball form,.fd-room-ball form button{width:70px!important;height:70px!important}.fd-ac-pair{gap:8px!important}}
@media(max-width:760px){body.app-frontdesk main.workspace-main{overflow:auto!important;padding:10px!important}.fd-compact-shell{height:auto!important}.fd-compact-stats{grid-template-columns:repeat(2,1fr)!important}.fd-compact-workspace{display:block!important}.fd-room-board{overflow:visible!important}.fd-floor-stack{overflow:visible!important}.fd-floor-section{overflow:visible!important}.fd-ac-pair{grid-template-columns:1fr!important}.fd-ball-grid{grid-template-columns:repeat(auto-fill,minmax(68px,1fr))!important}.fd-dialog{width:100vw!important;border-radius:0!important}.fd-compact-header{align-items:flex-start}.fd-compact-header-actions{display:flex;gap:6px}}
/* V74 automatic 23-hour checkout cycle */
.fd-auto-checkout input{background:#f3f7ff!important;color:#16325c!important;font-weight:800!important;cursor:not-allowed}.fd-auto-checkout small{display:block;margin-top:6px;color:#64748b;font-size:12px;line-height:1.35}.fd-checkout-clock{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:12px 0;padding:12px 14px;border:1px solid #cbd5e1;border-radius:16px;background:#f8fafc}.fd-checkout-clock span{display:grid;gap:3px}.fd-checkout-clock b{font-size:12px;letter-spacing:.08em}.fd-checkout-clock small{color:#475569}.fd-checkout-clock.due-soon{border-color:#f59e0b;background:#fff7ed;color:#9a3412}.fd-checkout-clock.overdue{border-color:#ef4444;background:#fff1f2;color:#991b1b}.fd-checkout-clock strong{white-space:nowrap;font-size:12px}.fd-remind-form{margin:8px 0}.fd-inline-form select[name="extension_cycles"]{min-width:190px}@media(max-width:640px){.fd-checkout-clock{align-items:flex-start;flex-direction:column}.fd-checkout-clock strong{white-space:normal}}
