:root{font-family:"Nunito",system-ui,"Noto Sans",sans-serif;color:#254d4b;background:#e3eee7;font-weight:700;color-scheme:light}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 20% 10%,#faf4de,#dbe9df)}button,select{font:inherit;color:inherit;border:2px solid #749f91;border-radius:12px;background:#fff8e6;min-height:44px;padding:8px 12px;cursor:pointer;max-width:100%}button:hover{background:#fcdf9e}button:active{transform:scale(.97)}button:disabled{opacity:.55;cursor:default}button:focus-visible,select:focus-visible{outline:3px solid #d36243;outline-offset:2px}.primary{background:#167b72;color:#fff;border-color:#0f635c}.primary:hover{background:#12594f}button[aria-pressed=true]{background:#f3c876;border-color:#a66a32}button[hidden],section[hidden]{display:none}#app{max-width:1440px;margin:auto;padding:12px}header{display:flex;gap:12px;align-items:center;margin-bottom:10px}header>a{font-size:28px;text-decoration:none;color:#b36039}header>div{flex:1}h1{font-size:clamp(20px,2.5vw,30px);line-height:1;margin:0 0 4px}h2{margin:8px 0 14px}small{font-weight:600}.hud{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}.hud>*{background:#fff5de;border:1px solid #c9b98f;border-radius:12px;padding:8px 12px}.layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:12px}.building{min-width:0}.hotelwrap{position:relative;background:#c5dfd9;border:3px solid #b58a61;border-radius:20px;overflow:hidden}canvas{display:block;width:100%;height:auto;aspect-ratio:1000/720}#rooms{position:absolute;inset:0;pointer-events:none}.room{position:absolute;pointer-events:auto;padding:3px;border:2px solid transparent;border-radius:10px;background:transparent;min-height:44px;display:flex;flex-direction:column;justify-content:space-between;text-align:left;overflow:hidden}.room:hover{background:#fff2cc30}.room.selected{border-color:#c2633d;background:#ffe7a530}.room strong{background:#fff7e5dd;color:#2b5953;align-self:start;padding:1px 5px;border-radius:6px;font-size:13px}.room small{align-self:stretch;text-align:center;border-radius:5px;background:#f8f3e6ed;font-size:clamp(9px,1vw,12px);line-height:1.1;white-space:normal;overflow-wrap:anywhere}.room[data-state=closed]{background:#52686c80}.room[data-state=cleaning] small,.room[data-state=dirty] small{color:#9f452b}.room[data-state=occupied] small{background:#178476;color:white}#floorzones{position:absolute;inset:0;pointer-events:none}#floorzones>div{position:absolute;left:1%;width:5%;height:18%;display:flex;align-items:center;justify-content:center;font-size:18px;color:#315e59}#floorzones>div:nth-child(1){top:5.8%}#floorzones>div:nth-child(2){top:27.2%}#floorzones>div:nth-child(3){top:48.6%}#floorzones>div:nth-child(4){top:70%}body.dragging #floorzones{pointer-events:auto}body.dragging #floorzones>div{left:0;width:84%;background:#fce8a255;border:3px dashed #bd653c;z-index:5}.daybar{display:flex;gap:8px;align-items:center;margin-top:8px}.daybar progress{flex:1;min-width:40px;height:18px;accent-color:#167b72}.daybar button{flex-shrink:0}#goal{padding:8px;background:#fff4d8;border-radius:12px;font-size:14px;margin:8px 0}#notice{min-height:22px;margin:6px 0;font-size:14px}#savehint{font-size:12px;margin:0;opacity:.75}aside{background:#f9f1de;border:2px solid #c3ab7f;border-radius:18px;padding:10px;min-width:0}nav{display:flex;gap:4px;margin-bottom:10px}nav button{flex:1;padding:6px;font-size:13px}label{display:flex;gap:8px;align-items:center;justify-content:space-between;margin:6px 0}label span{min-width:0}select{max-width:65%;min-width:85px}#bookings{max-height:54vh;overflow:auto;margin:8px 0;scrollbar-width:thin}.booking{border:1px solid #c5b697;border-radius:12px;padding:8px;margin-bottom:6px;background:#fffaf0}.bookingtop{display:flex;align-items:center;gap:8px}.bookingtop img{width:46px;height:46px;object-fit:contain}.bookingtop strong{flex:1;font-size:14px}.booking p{margin:4px 0;font-size:12px}.booking button{width:100%;font-size:13px}.booking.accepted{border:2px solid #4a9d86;background:#e7f2e4}#open{width:100%}aside p{font-size:13px;line-height:1.4}.worker{border:1px solid #c5b697;border-radius:12px;margin:7px 0;padding:8px;background:#fffaf0}.workerhead{display:flex;align-items:center;gap:8px}.workerhead img{width:42px;height:42px}.workerhead strong{flex:1;font-size:14px}.workerhead button{font-size:12px;padding:6px;min-width:48px}.handle{touch-action:none;cursor:grab;background:#ecd6aa;border-radius:7px;padding:7px;min-width:44px;min-height:44px;display:grid;place-items:center}.dragbadge{position:fixed;z-index:30;background:#fff8dc;pointer-events:none;padding:8px;border-radius:8px;border:2px solid #9a693a}#toggle,#comfort,#liftupgrade{width:100%;margin:5px 0}dialog{border:3px solid #b58a61;border-radius:22px;background:#fff5df;color:#254d4b;padding:22px;max-width:min(92vw,600px);max-height:90dvh;overflow:auto;box-shadow:0 16px 70px #23494266}dialog::backdrop{background:#143d4bbb;backdrop-filter:blur(3px)}dialog button{margin:5px 2px}#menu{padding:0;width:min(620px,94vw)}.cover{height:220px;background:url('cover.webp') center/cover}.menucontent{padding:16px 22px}.menucontent>button{display:block;width:100%}.settings{display:flex;flex-wrap:wrap;gap:5px;align-items:center}.settings select{max-width:100%}.settings button{font-size:13px}ol{padding-left:22px}li{margin:10px 0;line-height:1.5}dl{display:grid;grid-template-columns:1fr auto;gap:8px}dt,dd{margin:0;padding:4px;border-bottom:1px solid #cfbe98}#roomstatus{font-size:18px}
@media(max-width:850px){.layout{grid-template-columns:minmax(0,1fr) 280px}#app{padding:8px}aside{padding:8px}.hud>*{padding:6px 8px;font-size:13px}}@media(max-width:620px){.layout{grid-template-columns:1fr}.hotelwrap{border-width:2px}aside{margin-bottom:10px}.hud{gap:4px}.hud>*{font-size:12px}header small{font-size:11px}header{gap:6px}#bookings{max-height:360px}.room small{font-size:10px}.room strong{font-size:11px}.cover{height:180px}.menucontent{padding:12px}nav button{font-size:14px}#goal{font-size:12px}.workerhead img{width:44px;height:44px}}
@media(max-height:500px) and (min-width:621px){.layout{grid-template-columns:minmax(0,1fr) 280px}#bookings{max-height:260px}header small{display:none}.cover{height:110px}#app{padding:6px}.hud{margin-bottom:6px}}
@media(prefers-reduced-motion:reduce){button:active{transform:none}*{scroll-behavior:auto}}
