@font-face{font-family:Poppins;src:url(assets/Poppins-400.ttf);font-weight:400;font-display:swap}@font-face{font-family:Poppins;src:url(assets/Poppins-600.ttf);font-weight:600;font-display:swap}
:root{--ink:#242820;--muted:#64695f;--paper:#fff;--field:#faf8ef;--yellow:#f2d348;--line:#e4e7df;--field-line:#817a64;--error:#b3261e;--success:#48663b;--pending:#876009;--pad:24px;color-scheme:light;font-family:Poppins,sans-serif;color:var(--ink);background:var(--paper)}*{box-sizing:border-box}body{margin:0;font-size:13px}button,input,select{font:inherit;color:inherit}button{cursor:pointer;border:0;border-radius:0;background:transparent;min-height:48px;padding:6px 14px;display:inline-flex;align-items:center;justify-content:center;gap:6px;font-size:11px;font-weight:600;letter-spacing:0}button:disabled{opacity:.4;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #745d00;outline-offset:3px}.primary{background:var(--yellow);color:#25210f}.full{width:100%}.icon{width:20px;height:20px;object-fit:contain;flex-shrink:0}.action{width:44px;min-width:44px;padding:0}.action .icon{width:20px;height:20px}.line-icon{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.shell{height:100dvh;display:flex;flex-direction:column;max-width:1040px;margin:auto;padding-top:env(safe-area-inset-top)}.header{padding:8px var(--pad);display:flex;align-items:center;min-height:64px;flex-shrink:0}.header h1{font-size:27px;line-height:1.35;font-weight:600;flex:1;margin:0}.header .action{width:48px;min-width:48px}.progress{height:2px;position:absolute;top:0;left:0;right:0;overflow:hidden;background:var(--line);z-index:4}.progress:after{content:'';display:block;background:var(--yellow);height:2px;width:35%;animation:loading 1s ease-in-out infinite}main{flex:1;overflow:auto;min-height:0;padding:8px var(--pad) 0;overscroll-behavior:contain;scrollbar-gutter:stable}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0 16px}.toolbar .primary .icon{width:18px;height:18px}.coins{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;font-weight:600;font-size:20px}.coins .icon{width:24px;height:24px}.groups{display:grid;gap:16px}.group h2{font-size:13px;font-weight:600;margin:16px 0 4px;line-height:1.5}.booking{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid var(--line)}.booking>.icon{width:24px;height:24px}.booking-details{min-width:0;flex:1}.booking-details h3{font-size:13px;font-weight:600;margin:0;overflow-wrap:anywhere;line-height:1.5}.booking-time{font-size:13px;line-height:1.5;margin:2px 0}.status{font-size:11px;line-height:1.5;color:var(--pending)}.status.success{color:var(--success)}.status.failed{color:var(--error)}.booking-actions{display:flex;gap:0;flex-shrink:0}.empty{padding-top:16px}.empty h2{font-size:18px;margin:0 0 4px;font-weight:400}.muted{font-size:12px;color:var(--muted);line-height:1.6}h1,h2,h3,p{overflow-wrap:anywhere}.error{color:var(--error);font-size:12px;line-height:1.6;margin:12px 0}.banner{margin-bottom:16px;padding:12px;background:#ffdad6}.banner p{margin:0;color:var(--error)}.banner button{padding-left:0}.editor-header{display:flex;gap:0;align-items:center;margin-bottom:0;min-height:44px}.editor-header .action{width:36px;min-width:36px;justify-content:flex-start}.editor-header h1{font-size:23px;line-height:1.4;font-weight:600;margin:0;flex:1}.editor{padding-top:8px}.field{display:flex;flex-direction:column;gap:6px;margin-top:14px;min-width:0}.field label{font-size:12px;line-height:1.5;display:flex;align-items:center;gap:6px}.field label .icon{width:18px;height:18px}input,select{border:0;border-bottom:1px solid var(--field-line);border-radius:0;background:var(--field);width:100%;min-height:48px;padding:10px 12px;font-size:13px;line-height:1.5}select{appearance:none;padding-right:32px;background-image:url("assets/chevron.svg");background-position:right 10px center;background-repeat:no-repeat;background-size:18px}input[type=number]{appearance:textfield}input[type=number]::-webkit-inner-spin-button{appearance:none}.fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.room-fields{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}.meeting-fields{display:grid;grid-template-rows:0fr;transition:grid-template-rows 160ms ease-out}.meeting-fields.expanded{grid-template-rows:1fr}.meeting-inner{overflow:hidden;min-height:0}.date-wrap{position:relative;height:48px;background:var(--field);border-bottom:1px solid var(--field-line)}.date-wrap input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%;border:0;z-index:1}.date-text{display:flex;align-items:center;justify-content:space-between;height:100%;padding:10px 12px;pointer-events:none}.date-text .line-icon{width:18px;height:18px}.date-wrap:focus-within{outline:2px solid #745d00;outline-offset:3px}.form-actions{display:flex;align-items:center;justify-content:flex-end;gap:0;margin-top:20px;padding-top:0}.form-actions .primary .icon{width:24px;height:24px}.form-actions .primary{gap:8px;font-size:11px}.login{padding-top:32px;max-width:440px}.login h1{font-size:32px;font-weight:600;margin:0 0 32px}.login h2{font-size:23px;line-height:1.4;margin:0 0 8px;font-weight:400}.login p{margin:0 0 12px}.login .primary{margin-top:20px}dialog{padding:20px 24px 16px;border:0;border-radius:0;max-width:100%;width:100%;max-height:calc(100dvh - 32px);margin:auto 0 0;color:var(--ink);background:white;overflow:auto}dialog::backdrop{background:#24282055}dialog h2{font-size:23px;font-weight:600;line-height:1.4;margin:0 0 12px}.account-name{font-size:12px;font-weight:600;margin:0 0 14px;line-height:1.4}dialog h2.account-title{margin-bottom:0}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px;padding-top:12px;border-top:1px solid var(--line)}dialog[open]{animation:sheet-in 110ms ease-out}dialog.closing{animation:sheet-out 100ms ease-in forwards}.toast{position:fixed;left:24px;right:24px;bottom:max(20px,env(safe-area-inset-bottom));background:var(--ink);color:white;padding:12px 16px;font-size:12px;z-index:10;pointer-events:none;animation:toast-in 110ms ease-out}.skeleton{display:block;background:var(--field);animation:pulse 1s infinite}.loading{padding-top:16px}.heading-skeleton{height:32px;width:180px;margin-bottom:24px}.row-skeleton{height:76px;width:100%;margin-bottom:12px}.session-error{padding-top:32px}.session-error h1{font-size:23px}.page-enter{animation:page-in 110ms ease-out}[hidden]{display:none!important}
@keyframes page-in{from{transform:translateX(8px)}to{transform:translateX(0)}}@keyframes sheet-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes sheet-out{to{opacity:0;transform:translateY(8px)}}@keyframes toast-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes loading{from{transform:translateX(-100%)}to{transform:translateX(400%)}}@keyframes pulse{50%{opacity:.55}}
@media(min-width:768px){body{background:#faf8ef}.shell{height:calc(100dvh - 64px);margin:32px auto;background:white;border:1px solid var(--line)}.header{padding:20px 32px 12px}.header h1{font-size:30px}main{padding:8px 32px 0}.toolbar{margin:4px 0 12px}.groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 32px}.group h2{font-size:14px}.booking{padding:16px 0}.login{margin:24px auto;padding-top:16px}.editor{max-width:640px;margin:12px auto}.editor-header h1{font-size:27px}.field{margin-top:16px}dialog{width:440px;margin:auto;padding:24px;max-height:calc(100dvh - 64px)}.toast{left:auto;right:32px;bottom:32px;max-width:480px}.session-error{max-width:440px;margin:auto}}@media(min-width:1100px){.shell{height:calc(100dvh - 80px);margin:40px auto}}@media(max-width:360px){.toolbar button{padding-left:10px;padding-right:10px}.booking-actions .action{width:40px;min-width:40px}.booking{gap:8px}.room-fields{grid-template-columns:minmax(0,3fr) minmax(0,2fr)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
/* Selected prototype: availability page, compact modal, two bookings per date. */
.groups{display:block}.group{margin:0 0 16px}.reservation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}.group h2{margin-top:16px}.booking{min-width:0}.availability-page{padding-bottom:24px}.availability-title{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin:24px 0 16px}.availability-title h2{font-size:17px;margin:0 0 4px;font-weight:600}.availability-title p{margin:0}.availability-title>.primary{flex-shrink:0}.desk-range-row{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}.desk-range-row strong{font-size:13px;font-weight:400;flex:1}.desk-range-row>span:last-child{color:#41743c;font-size:11px}.range-marker{width:5px;height:32px;background:#edf8ed}.availability-legend{display:flex;gap:16px;font-size:11px;margin-bottom:14px}.availability-legend span{padding:4px 8px}.available{background:#edf8ed;color:#41743c;border-color:#a4cba1!important}.occupied{background:#fbece8;color:#ae5442;border-color:#e6b9b0!important}.unavailable{background:#f0f0eb;color:#64695f;border-color:#d9dbd2!important}.meeting-grid{width:100%;table-layout:fixed;border-collapse:collapse;border:1px solid var(--line);font-size:11px}.meeting-grid th{font-weight:400;padding:12px 4px;text-align:center}.meeting-grid thead th{background:var(--field);border-bottom:1px solid var(--line)}.meeting-grid th:first-child{width:62px}.meeting-grid small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.meeting-grid td{padding:4px;border-top:1px solid var(--line)}.meeting-grid tbody th{border-top:1px solid var(--line);color:var(--muted)}.availability-cell{display:flex;align-items:center;justify-content:center;height:36px;border:1px solid;font-size:16px}
.reservation-dialog{width:500px;max-width:calc(100% - 24px);margin:auto;padding:18px 22px;max-height:calc(100dvh - 32px)}.reservation-dialog .editor{margin:0;padding:0;max-width:none}.reservation-dialog .editor-header h1{font-size:20px}.reservation-dialog .field{margin-top:9px;gap:4px}.reservation-dialog label{font-size:10px;min-height:20px}.reservation-dialog input,.reservation-dialog select{min-height:38px;padding:7px 10px;font-size:12px}.reservation-dialog select{padding-right:30px}.reservation-dialog .date-wrap{height:38px}.reservation-dialog .fields{gap:10px}.reservation-dialog .form-actions{margin-top:12px}.reservation-dialog button{min-height:38px}.reservation-dialog .error{margin:6px 0}.reservation-dialog #facility:focus,.reservation-dialog #facility:focus-visible{outline:none}.reservation-dialog .date-text{font-size:12px}.reservation-dialog .editor-header{min-height:34px}.reservation-dialog .editor-header .action{min-height:34px}
@media(max-width:600px){.reservation-grid{grid-template-columns:1fr}.availability-title h2{font-size:13px}.availability-title>.primary{font-size:10px;padding:8px;gap:4px}.availability-title>.primary .icon{width:18px;height:18px}.availability-title .muted{font-size:10px}.meeting-grid th:first-child{width:46px}.meeting-grid th{font-size:10px}.meeting-grid small{font-size:9px}.meeting-grid td{padding:3px}.availability-cell{height:32px}}
/* Selected insufficient-balance feedback: red price, small red note, clickable save. */
.reservation-cost.insufficient,.insufficient-balance-note{color:var(--error)}.insufficient-balance-note{font-size:10px;margin-right:auto;line-height:1.4}
/* Picker focus stays within the field; no outer focus frame. */
input:focus,input:focus-visible,select:focus,select:focus-visible,.date-wrap:focus-within{outline:none;box-shadow:none}
input:focus-visible,select:focus-visible{border-bottom-color:var(--ink)}
