
:root{--paper:#f5f4ed;--card:#fffef9;--ink:#203d32;--muted:#6a766c;--line:#d9dfd2;--green:#244f3e;--light:#e9efdf;--copper:#9e512d;--reserved:#f4e3d6;--error:#9d3828}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.65 'Leelawadee UI','Segoe UI',Tahoma,sans-serif}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer;min-width:44px;min-height:44px;border:1px solid var(--line);border-radius:7px;padding:9px 16px;background:var(--card);font-weight:600}button:hover{border-color:var(--green);background:#edf2e5}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #b86236;outline-offset:3px}.primary{background:var(--green);border-color:var(--green);color:white}.primary:hover{background:#153d2a;color:white}.quiet{background:transparent}.full{width:100%}[hidden]{display:none!important}h1,h2,h3,p{margin:0}h1{font-size:29px;line-height:1.4;font-weight:600}h2{font-size:23px;line-height:1.45;font-weight:600}h3{font-size:16px}small,.small{font-size:12px;color:var(--muted)}.eyebrow{font-size:11px;letter-spacing:.07em;color:var(--muted)}
.app-header{min-height:86px;background:var(--card);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 4%}.brand{font-family:Georgia,serif;font-size:26px;letter-spacing:.08em;line-height:1.1}.brand-sub{font:11px/1.5 'Leelawadee UI',Tahoma,sans-serif;letter-spacing:0;color:var(--muted);margin-top:5px}.account-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.identity{font-size:13px;max-width:180px;overflow-wrap:anywhere}.identity small{display:block}.account-bar button{font-size:12px}.page{max-width:1400px;padding:30px 4%;margin:auto}.login-wrap{max-width:450px;margin:44px auto 56px}.login-intro{text-align:center;margin-bottom:25px}.login-intro h1{margin:6px 0 9px}.login-card{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:30px}.login-card h2{font-size:20px;margin-bottom:19px}.field{margin-bottom:17px}label{display:block;font-size:13px;font-weight:600;margin-bottom:6px}input,select,textarea{display:block;width:100%;background:white;border:1px solid #c9d2c2;border-radius:6px;padding:10px 11px;min-height:44px;min-width:0}textarea{min-height:80px;resize:vertical}.field small{display:block;margin-top:5px}.login-help{font-size:12px;color:var(--muted);margin-top:15px}.login-bottom{text-align:center;margin-top:17px}.login-bottom button{font-size:12px}.error{color:var(--error);background:#faeae3;padding:10px 13px;border-radius:6px;font-size:13px;margin-bottom:15px}.system-error{margin:16px auto;max-width:1300px}.scope-note{color:var(--muted);font-size:11px;text-align:center;padding:15px 20px 22px}.staff-warning{font-size:12px;padding:10px 14px;background:#eee9d7;border-radius:7px;margin-bottom:16px;color:#66502d}
.calendar-layout{display:grid;grid-template-columns:minmax(0,1fr) 344px;gap:24px;align-items:start}.calendar-card,.visit-card{background:var(--card);border:1px solid var(--line);border-radius:12px;overflow:hidden}.calendar-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;padding:23px 24px 16px}.calendar-heading h1{font-size:28px;margin-top:5px}.month-nav{display:flex;gap:6px}.month-nav button{padding:8px 13px;font-size:12px}.calendar-context{padding:0 24px 16px;color:var(--muted);font-size:12px}.calendar-scroll{overflow-x:auto;padding:3px 22px}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(44px,1fr));gap:4px;min-width:332px}.weekday{text-align:center;color:var(--muted);font-size:12px;padding:5px 0 8px}.day{padding:8px;min-height:85px;min-width:44px;border-radius:6px;background:#f7f9f2;border-color:#e0e5d8;text-align:left;display:flex;flex-direction:column;justify-content:space-between;font-weight:400}.day-num{font-size:16px}.day-count{font-size:10px;color:#46643a;white-space:nowrap}.day.busy{background:#f8eee5}.day.busy .day-count{color:#92502e}.day[aria-pressed=true]{outline:2px solid var(--green);outline-offset:-2px;background:var(--light)}.day.blank{visibility:hidden}.legend{display:flex;gap:20px;flex-wrap:wrap;font-size:12px;color:var(--muted);padding:17px 24px 15px}.swatch{display:inline-block;width:9px;height:9px;border-radius:2px;margin-right:6px;background:#ccdfbe}.swatch.reserved{background:#c88d67}.swatch.unknown{background:#bfc7c1}.units-area{border-top:1px solid var(--line);padding:20px 24px 22px}.units-heading{display:flex;justify-content:space-between;align-items:baseline;gap:15px;margin-bottom:13px}.units-heading h2{font-size:17px}.units-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.unit{min-width:44px;padding:11px 8px;background:#edf3e5;display:flex;flex-direction:column;align-items:flex-start;gap:3px;text-align:left}.unit strong{font-size:13px}.unit span{font-size:11px;font-weight:400;color:#47633e}.unit.reserved{background:var(--reserved);border-color:#ddb799}.unit.reserved span{color:#864725}.unit.unknown{background:#e7ebe6}.unit[aria-pressed=true]{outline:2px solid var(--green);outline-offset:0}.calendar-foot{font-size:11px;color:var(--muted);padding:0 24px 20px}.visit-card{padding:24px}.visit-card h2{font-size:22px;margin:3px 0 14px}.row{display:grid;grid-template-columns:1.2fr 1fr;gap:10px}.interval{font-size:12px;color:var(--muted);padding:10px 0 14px;border-bottom:1px solid var(--line);margin-bottom:15px}.selected-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:6px}.badge{font-size:11px;border-radius:5px;padding:4px 8px;display:inline-block;background:var(--light);color:#3f5e37;white-space:normal}.badge.reserved,.badge.rejected{background:#f2dfd1;color:#804c2e}.badge.requested{background:#eee9d8;color:#6b5c2b}.badge.approved{background:#e4ecf0;color:#3a5e71}.badge.unknown{background:#e8ebe6;color:#59655b}.contact-summary{padding:12px 0;border-top:1px solid var(--line);font-size:12px;overflow-wrap:anywhere}.contact-summary strong{display:block;font-size:13px;margin-top:2px}.price{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin:15px 0}.price strong{font-size:22px;font-weight:500}.visit-note{font-size:11px;color:var(--muted);margin-top:13px}.selected-intervals{font-size:12px;color:var(--copper);margin-bottom:15px}.empty{padding:36px 12px;text-align:center;color:var(--muted);font-size:13px}
dialog{border:1px solid var(--line);border-radius:14px;background:var(--card);color:var(--ink);padding:0;width:calc(100% - 30px);max-width:680px;max-height:88vh}dialog::backdrop{background:#18382d88}.dialog-head{position:sticky;top:0;background:var(--card);display:flex;align-items:center;justify-content:space-between;gap:15px;padding:19px 24px;border-bottom:1px solid var(--line);z-index:1}.dialog-head h2{font-size:22px}.dialog-head button{padding:6px 12px}.records{padding:20px 24px;display:grid;gap:15px}.record{border:1px solid var(--line);border-radius:9px;padding:18px}.record-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.record-heading strong{font-size:15px}.record-facts{font-size:13px;display:grid;gap:4px}.record-contact{font-size:13px;margin-bottom:12px;overflow-wrap:anywhere}.record-contact a{color:var(--green);display:inline-flex;align-items:center;min-height:44px}.staff-form{margin-top:15px;padding-top:15px;border-top:1px solid var(--line)}.staff-form label{font-size:12px}.staff-form .field{margin-bottom:12px}.checkline{display:flex;gap:10px;align-items:flex-start;font-weight:400;font-size:12px;padding:10px 0}.checkline input{width:22px;height:22px;min-height:22px;flex-shrink:0;margin-top:3px}.staff-note{background:#f1f4e9;padding:12px;border-radius:6px;margin-top:12px;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}.updated{font-size:11px;color:var(--muted);margin-top:10px}.toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);max-width:calc(100% - 30px);padding:12px 20px;background:var(--green);color:white;border-radius:8px;z-index:20;font-size:13px;box-shadow:0 4px 25px #203d3220}.dialog-footer{padding:0 24px 20px;font-size:11px;color:var(--muted)}
@media(max-width:1000px){.calendar-layout{grid-template-columns:minmax(0,1fr) 315px}.calendar-heading{padding:20px 18px 14px}.calendar-heading h1{font-size:24px}.calendar-scroll{padding-inline:14px}.units-area{padding:18px}.units-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.calendar-context,.calendar-foot{padding-inline:18px}.visit-card{padding:20px}.identity{max-width:130px}}
@media(max-width:800px){.calendar-layout{grid-template-columns:1fr}.page{padding:22px 18px}.app-header{padding:14px 18px;align-items:flex-start}.brand{font-size:23px}.account-bar{justify-content:flex-end;gap:7px}.identity{width:100%;text-align:right;max-width:220px}.calendar-card{order:0}.visit-card{order:1}.calendar-heading{padding:20px 18px 12px}.calendar-scroll{padding-inline:14px}.units-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.login-wrap{margin-top:35px}.calendar-context{font-size:11px}.visit-card .row{grid-template-columns:1fr 1fr}.calendar-heading h1{font-size:25px}}
@media(max-width:440px){.app-header{gap:12px}.brand{font-size:20px}.brand-sub{font-size:10px}.account-bar{max-width:220px}.account-bar button{padding:8px 10px;font-size:11px}.identity{font-size:12px}.identity small{font-size:10px}.page{padding:20px 14px}.login-card{padding:24px}.login-intro h1{font-size:26px}.login-wrap{margin:30px auto}.calendar-heading{gap:12px;padding:17px 12px 12px}.month-nav{width:100%;justify-content:space-between}.month-nav button{font-size:12px}.calendar-context{padding:0 12px 13px}.calendar-scroll{padding-inline:8px}.calendar-grid{min-width:308px;gap:0}.weekday{font-size:11px}.day{min-height:70px;padding:5px 3px}.day-num{font-size:14px}.day-count{font-size:9px}.legend{padding:14px 12px;gap:13px;font-size:11px}.units-area{padding:17px 12px}.units-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.units-heading{align-items:flex-start}.units-heading h2{font-size:15px}.unit{padding:10px 8px}.calendar-foot{padding-inline:12px}.visit-card{padding:22px}.dialog-head{padding:15px 18px}.dialog-head h2{font-size:20px}.records{padding:15px}.record{padding:15px}.row{gap:9px}.scope-note{font-size:10px}.record-heading{align-items:flex-start}.badge{font-size:10px}.selected-heading h2{font-size:21px}.staff-warning{font-size:11px}.toast{font-size:12px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
:root{--free-color:#15803d;--occupied-color:#dc2626;--pending-color:#eab308}
.swatch{background:var(--free-color)}.swatch.reserved{background:var(--occupied-color)}.swatch.processing{background:var(--pending-color)}.day.busy{background:#fce8e6}.day.pending{background:#fff8d1}.day.pending .day-count{color:#775b09}.badge.processing{background:#fef3c7;color:#785500}.badge.reserved{background:#fee2e2;color:#991b1b}
.plan-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:14px;flex-wrap:wrap}.plan-heading h2{font-size:20px}.plan-heading .small{margin-top:3px}.plan-jump{display:flex;align-items:center;gap:9px}.plan-jump label{font-size:12px;margin:0;white-space:nowrap}.plan-jump select{width:125px;font-size:13px;min-height:44px}
.site-viewport{width:100%;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;border:1px solid #ccd8c6;border-radius:9px;background:#e8ecd9;scrollbar-color:#779180 #e6ece3;scrollbar-width:thin}.site-stage{position:relative;width:100%;min-width:820px;aspect-ratio:1000/420;isolation:isolate}.site-landscape{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.units-grid.site-plan{position:absolute;inset:0;display:block;min-height:0}
.site-plan .unit{--hut-color:var(--free-color);--hut-ink:white;position:absolute;width:5.2%;min-width:44px;min-height:96px;padding:0;gap:0;border:0;border-radius:5px;background:transparent;box-shadow:none;align-items:center;justify-content:flex-end;transform:translate(-50%,-62%);z-index:2}.site-plan .unit.reserved{--hut-color:var(--occupied-color);--hut-ink:white;background:transparent}.site-plan .unit.processing{--hut-color:var(--pending-color);--hut-ink:#463800;background:transparent}.site-plan .unit.unknown{--hut-color:#8b9890;--hut-ink:#12261b;background:transparent}.site-plan .unit:hover{background:transparent;filter:brightness(1.08);z-index:3}.site-plan .unit[aria-pressed=true]{outline:none;z-index:4}.site-plan .unit:focus-visible{outline:3px solid #243e30;outline-offset:5px}.site-plan .unit[aria-pressed=true] .unit-label{outline:2px solid #203e2e;outline-offset:3px}.site-plan .hut-art{display:block;width:62px;max-width:116%;height:60px;overflow:visible}.site-plan .unit .unit-label{width:100%;text-align:center;white-space:nowrap;font-size:11px;line-height:20px;border-radius:4px;background:var(--hut-color);color:var(--hut-ink);font-weight:700;box-shadow:0 2px 4px #1c32291a}.site-plan .unit .unit-state{display:block;white-space:nowrap;font-size:9px;line-height:16px;color:#243c31;background:#fffdf4;border-radius:0 0 4px 4px;padding:0 3px;margin-top:2px;max-width:120%}
.plan-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}.plan-nav button{font-size:12px;padding:8px 13px;flex-shrink:0}.plan-nav p{text-align:center;color:var(--muted);font-size:11px}.plan-note{font-size:11px;color:var(--muted);margin-top:10px}.plan-note strong{color:#795b00;font-weight:500}
@media(max-width:440px){.plan-heading{gap:12px}.plan-heading h2{font-size:18px}.plan-jump{width:100%;justify-content:space-between}.plan-jump select{width:150px}.plan-nav{gap:8px}.plan-nav button{padding:8px 10px}.plan-nav p{font-size:10px}.plan-note{font-size:10px}}
.request-summary{font-size:13px;line-height:1.8;padding:12px;margin:0 0 20px;background:var(--light);border:1px solid var(--line);border-radius:7px}.contact-back{margin-top:12px}
.product-switch{display:flex;gap:9px;margin-bottom:16px;flex-wrap:wrap}.product-switch button[aria-pressed=true]{background:var(--green);color:white;border-color:var(--green)}.orange-house{position:absolute;left:94%;top:30%;transform:translate(-50%,-50%);width:86px;min-height:105px;background:transparent;border:0;padding:0;display:flex;flex-direction:column;align-items:center;gap:2px;z-index:5}.orange-house:hover{background:transparent}.orange-house[aria-pressed=true]{outline:2px solid #284a36;outline-offset:4px}.house-art{width:80px;height:68px}.orange-house .house-name{font-size:11px;background:#fff9ec;border-radius:4px;padding:0 5px;white-space:nowrap}.orange-house .house-state{font-size:10px;line-height:20px;border-radius:4px;background:#15803d;color:white;padding:0 7px}.orange-house[data-status=reserved] .house-state{background:#dc2626}.orange-house[data-status=processing] .house-state{background:#eab308;color:#463800}.orange-house[data-status=unknown] .house-state{background:#8b9890;color:#12261b}.house-rate-guide{font-size:11px;color:var(--muted);margin:10px 0 17px}.house-rate-guide strong{color:var(--ink)}.house-nightly{font-size:11px;padding:0;margin:0 0 16px;list-style:none}.house-nightly li{padding:7px 0;border-bottom:1px solid var(--line)}.house-error{margin:10px 0}.day.house-day .day-count{font-size:10px}.day.house-unknown{background:#edf0ec;color:#738077}
@media(max-width:440px){.product-switch button{font-size:12px;flex:1}.house-rate-guide{font-size:10px}.house-nightly{font-size:10px}}
.visit-card .row{grid-template-columns:repeat(2,minmax(0,1fr))}.visit-card .field{min-width:0}.visit-card input[type=date]{min-width:0;width:100%}
.day:disabled,.day:disabled:hover{background:#f0f0ed;color:#969b94;border-color:#e4e5df;cursor:not-allowed;opacity:.65;box-shadow:none}.day:disabled .day-count{color:#969b94}
