:root{color-scheme:dark;--bg:#0a0a0a;--surface:#141414;--field:#242424;--line:#525252;--quiet:#2e2e2e;--text:#e5e5e5;--muted:#a3a3a3;--orange:#ef7e00;--focus:#ffc166;--error:#ff3b3b;--font:"Segoe UI",Tahoma,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:15px/1.45 var(--font)}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer;border:1px solid var(--line);background:transparent;border-radius:7px;min-height:44px;padding:10px 15px;font-weight:600}button:hover{background:var(--quiet)}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--focus);outline-offset:3px}input,textarea,select{background:var(--field);border:1px solid var(--line);border-radius:6px;min-height:48px;width:100%;padding:10px 12px;min-width:0}input:focus,textarea:focus,select:focus{outline:2px solid var(--orange);outline-offset:1px;border-color:var(--orange)}textarea{resize:vertical;line-height:1.5;min-height:104px}input::placeholder,textarea::placeholder{color:var(--muted)}label{display:block;font-weight:500}label input,label textarea{margin-top:7px;font-weight:400;font-size:16px}h1,h2,p{margin:0}h1{font-size:23px;line-height:1.3;font-weight:650}h2{font-size:19px;font-weight:600}small,.muted{color:var(--muted)}.primary{background:var(--orange);border-color:var(--orange);color:#0a0a0a}.primary:hover{background:#ff9d2e}.preview{display:flex;justify-content:center;align-items:center;gap:20px;padding:5px 20px;border-bottom:1px solid var(--quiet);font-size:12px;color:var(--muted)}.preview select{width:auto;min-height:30px;padding:2px 26px 2px 8px;font-size:12px;background:transparent;border-color:var(--quiet)}.appbar{max-width:1440px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:10px 28px;border-bottom:1px solid var(--quiet)}.brand{font-size:25px;font-weight:750;letter-spacing:-1px;text-decoration:none;color:var(--text)}.brand span{color:var(--orange)}nav{display:flex;gap:6px}nav button{border:0;color:var(--muted);min-height:40px;padding:8px 16px}nav button.active{color:var(--text);box-shadow:inset 0 -2px var(--orange);border-radius:0}main{max-width:1440px;margin:auto}.workspace{display:grid;grid-template-columns:minmax(360px,1fr) minmax(500px,620px);height:calc(100dvh - 103px);min-height:570px}.booking-only{max-width:720px;margin:auto;height:calc(100dvh - 103px)}.editor{background:var(--surface);display:flex;flex-direction:column;min-width:0;min-height:0}.workspace .editor{border-left:1px solid var(--quiet)}.editorhead{padding:20px 28px 16px;display:flex;align-items:center;justify-content:space-between;gap:14px}.editorhead small{display:block;margin-top:4px}.editorhead button{font-size:14px}.formscroll{overflow:auto;overscroll-behavior:contain;padding:0 28px 24px;flex:1}.required{display:grid;gap:18px;margin-bottom:24px}.required label>span{color:var(--muted);font-size:13px;font-weight:400;margin-left:6px}.details{border-top:1px solid var(--quiet)}summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;min-height:64px;font-weight:600}summary::-webkit-details-marker{display:none}summary:after{content:'+';font-size:22px;font-weight:400;color:var(--muted)}details[open]>summary:after{content:'−'}summary .summarytext{flex:1;min-width:0}summary small{display:block;font-size:14px;font-weight:400;margin-top:2px;overflow-wrap:anywhere}.detailbody{padding-bottom:22px}.pair{display:grid;grid-template-columns:1fr 1fr;gap:16px}.pair+.pair,.detailbody>.pair+label,.detailbody>label+.pair{margin-top:18px}.services{display:grid;gap:16px}.service{border-bottom:1px solid var(--quiet);padding-bottom:16px}.service-title{display:flex;align-items:start;gap:12px;justify-content:space-between}.service-title strong{font-weight:500;overflow-wrap:anywhere;padding-top:8px}.remove{min-width:44px;padding:8px;font-size:22px;color:var(--muted);border:0}.service-bottom{display:flex;align-items:center;gap:12px;margin-top:9px}.price{display:flex;align-items:center;gap:8px;max-width:180px;font-size:14px}.price input{width:112px;text-align:right;margin:0}.service-bottom>small{font-size:13px}.addworks{width:100%;margin-top:16px}.total{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:18px}.total strong{font-size:20px;font-weight:600}.total small{display:block}.editorfooter{border-top:1px solid var(--quiet);padding:16px 28px calc(16px + env(safe-area-inset-bottom));display:flex;align-items:center;justify-content:space-between;gap:16px;background:var(--surface)}.editorfooter .primary{min-width:210px}.editorfooter small{font-size:13px}.agenda{overflow:auto;padding:24px 28px}.agendahead{display:flex;justify-content:space-between;align-items:center;gap:16px}.daynav{display:flex;align-items:center;gap:8px;margin:24px 0 18px}.daynav strong{flex:1;font-size:19px}.daynav button{font-size:20px;min-width:44px;padding:6px}.daynote{color:var(--muted);margin-bottom:16px}.arrival{display:grid;grid-template-columns:64px 1fr;gap:16px;align-items:start;border-top:1px solid var(--quiet);padding:14px 0}.arrival>time{color:var(--muted);padding-top:13px;font-size:16px;font-variant-numeric:tabular-nums}.entry{width:100%;text-align:left;background:var(--surface);border:1px solid transparent;padding:13px 16px;display:block;font-weight:400;min-width:0}.entry.selected{border-color:var(--orange);box-shadow:inset 3px 0 var(--orange)}.entry strong{display:block;font-size:17px;font-weight:600}.entry small{display:block;margin-top:5px;font-size:14px;overflow-wrap:anywhere}.entry .entry-price{color:var(--text);margin-top:9px}.slot{width:100%;text-align:left;color:var(--muted);border:1px dashed var(--line);font-weight:400}.unscheduled{margin-top:25px}.unscheduled h2{font-size:16px;margin-bottom:12px}.empty{padding:24px 0;color:var(--muted)}dialog{background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:10px;width:min(560px,calc(100% - 24px));padding:24px;max-height:calc(100dvh - 28px);overflow:auto}dialog::backdrop{background:#000b}dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}dialog header button{font-size:14px}dialog footer{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:24px}dialog p{color:var(--muted);margin-bottom:20px}.search{margin-bottom:18px}.catalogrow{display:flex;justify-content:space-between;align-items:center;gap:12px;text-align:left;width:100%;min-height:60px;border:0;border-bottom:1px solid var(--quiet);border-radius:0;font-weight:500;padding:12px 4px}.catalogrow small{display:block;margin-top:4px}.catalogrow.picked{color:var(--focus)}.crumb{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:12px}.crumb button{font-size:14px;padding:8px}.customwork{margin-top:22px;border-top:1px solid var(--quiet);padding-top:16px}.customwork summary{min-height:44px}.customwork label{margin:14px 0}.error{color:var(--error);margin-top:8px}#notice{position:fixed;bottom:90px;left:50%;transform:translateX(-50%);background:var(--text);color:var(--bg);border-radius:6px;padding:12px 20px;z-index:10;max-width:calc(100% - 32px);display:none}a{color:var(--focus)}.ready{margin-top:16px}.ready summary{font-size:14px;min-height:44px}.mobileback{display:none}@media(max-width:800px){.preview{padding:5px 12px;gap:8px;justify-content:space-between;font-size:11px}.preview select{max-width:144px;font-size:11px}.appbar{padding:6px 16px}.brand{font-size:23px}nav button{padding:8px 12px;font-size:14px}.workspace{display:block;height:auto;min-height:0}.workspace .editor{display:none}.workspace.editing .editor{display:flex;height:calc(100dvh - 91px);border:0}.workspace.editing .agenda{display:none}.workspace .mobileback{display:block}.booking-only{height:calc(100dvh - 91px)}.editorhead{padding:18px 18px 16px}.editorhead h1{font-size:21px}.formscroll{padding:0 18px 20px}.editorfooter{padding:12px 18px calc(12px + env(safe-area-inset-bottom))}.editorfooter small{display:none}.editorfooter .primary{width:100%;min-height:50px}.required{gap:17px;margin-bottom:18px}summary{min-height:63px}.agenda{padding:22px 18px}.agendahead h1{font-size:22px}.agendahead button{padding:10px}.arrival{grid-template-columns:50px 1fr;gap:10px}.pair{gap:12px}.price{max-width:160px}.price input{width:100px}dialog{padding:18px}dialog footer{align-items:stretch;flex-direction:column}dialog footer .primary{width:100%}.keyboard .editorfooter{display:none}}@media(max-width:350px){.editorhead,.formscroll{padding-left:14px;padding-right:14px}.preview>span{max-width:132px}.pair{grid-template-columns:1fr}.service-bottom{flex-wrap:wrap}.editorhead button{padding:8px}.agendahead{align-items:start}.agendahead button{max-width:116px}}
.booking-only>.editor{height:100%}
