:root{color-scheme:dark;--bg:#071f18;--gold:#dec17d;--cream:#f4edda;--muted:#b3bfb1;--line:#61776260;--panel:#ffffff06;--serif:Georgia,'Times New Roman',serif}
*{box-sizing:border-box}body{margin:0;background:#061711;color:var(--cream);font:15px/1.45 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:default}button:focus-visible,a:focus-visible{outline:2px solid var(--gold);outline-offset:3px}button,a{touch-action:manipulation}a{color:var(--gold)}button{color:var(--cream)}
.shell{max-width:440px;height:100dvh;min-height:540px;margin:auto;background:radial-gradient(ellipse at 90% 40%,#23412b55,transparent 60%),linear-gradient(150deg,#0b271e,#041b14 70%);display:flex;flex-direction:column;position:relative;overflow:hidden}header{display:flex;align-items:center;justify-content:space-between;padding:calc(12px + env(safe-area-inset-top)) 20px 10px;flex-shrink:0}.brand{font:25px var(--serif);display:flex;align-items:center;gap:10px;color:var(--cream);text-decoration:none}.brand img{width:32px;height:32px}.icon-button{border:0;background:transparent;color:var(--gold);font-size:27px;width:44px;height:44px}main{padding:0 20px 16px;flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain}h1,h2,h3{font-family:var(--serif);font-weight:400}h1{font-size:38px;line-height:1.15;margin:18px 0 24px;color:#edd9ac}h2{font-size:27px;line-height:1.2;margin:15px 0 20px;text-align:center}h3{font-size:19px;margin:0 0 12px}p{margin:8px 0}.muted,small{color:var(--muted)}small{font-size:12px}.backlink{border:0;padding:6px 0;background:transparent;color:var(--gold);font-size:14px;min-height:34px}.card{border:1px solid var(--line);border-radius:15px;background:linear-gradient(110deg,#ffffff06,#446c4310);padding:15px;margin-bottom:11px}.row{display:flex;align-items:center;justify-content:space-between;gap:10px}.row.top{align-items:flex-start}.gold{border:1px solid #e8d4a0;background:linear-gradient(#f2dda4,#c19b53);color:#101e14;box-shadow:inset 0 1px #fff7;font-weight:600;padding:14px 16px;border-radius:13px;min-height:48px}.wide{width:100%}.quiet{background:#ffffff05;border:1px solid var(--line);padding:12px;border-radius:12px;min-height:44px}.details{padding:0}.details summary{cursor:pointer;padding:14px;list-style:none;display:flex;justify-content:space-between}.details summary:after{content:'⌄';color:var(--gold)}.details p{padding:0 14px 14px;white-space:pre-wrap}.contact-row{margin:18px 0;display:flex;gap:13px}.contact-row svg,.field-icon{width:23px;height:23px;flex-shrink:0;color:var(--gold)}.contact-row strong{font-weight:400}.contact-row small{display:block;margin-top:3px}.hero{height:170px;background:linear-gradient(0deg,#061c15,transparent 70%),url('assets/hero-massage-v10-1.webp') center/cover;border-radius:16px;margin-top:17px}.list-button{width:100%;text-align:left;display:block;color:var(--cream)}.list-button strong{font-family:var(--serif);font-size:23px;font-weight:400;display:block}.list-button small{display:block;margin-top:4px}.intro{color:var(--muted);margin-bottom:20px}.toolbar{display:flex;gap:10px;margin:15px 0}input,textarea,select{color:var(--cream);background:#ffffff08;border:1px solid var(--line);border-radius:10px;padding:11px;width:100%;min-width:0;font-size:16px}input:focus,textarea:focus,select:focus{outline:1px solid var(--gold)}textarea{resize:vertical;line-height:1.55}label{display:block;color:var(--muted);font-size:14px;margin-bottom:12px}label input,label textarea,label select{display:block;margin-top:6px}option{background:#153025}input[type=date],input[type=time]{min-height:46px;color-scheme:dark}.field{display:flex;gap:13px;align-items:center;margin:0 0 12px;padding:12px 13px;border:1px solid var(--line);border-radius:14px;background:var(--panel)}.field label{flex:1;margin:0;color:var(--cream)}.field input,.field select{padding:4px 0;border:0;background:transparent;min-height:30px;width:100%;margin-top:4px}.field-icon{font-size:24px;line-height:1;text-align:center}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.center{text-align:center}.empty{padding:24px 12px;color:var(--muted);text-align:center}.visit-date{font-size:15px;color:var(--cream);font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;margin-top:6px}.visit-heading{margin:12px 0 17px}.arrow{border:1px solid var(--line);border-radius:50%;background:#ffffff08;width:40px;height:40px;font-size:22px;flex-shrink:0}.visit-copy{white-space:pre-wrap;line-height:1.6;max-height:142px;overflow:auto;font-size:15px;margin-top:8px}.copy-dialog{white-space:pre-wrap;line-height:1.65}.audio-player{margin-top:12px}audio{width:100%;height:40px;margin-top:7px}.audio-label{font-size:13px;display:flex;justify-content:space-between;align-items:center}.link-button{background:transparent;border:0;padding:10px 0;color:var(--gold);min-height:40px}.tag{display:inline-flex;border:1px solid var(--line);background:#ffffff06;border-radius:18px;padding:6px 10px;font-size:13px;min-height:34px;margin:3px 3px 3px 0}.tag.active{background:var(--gold);color:#10251a;border-color:var(--gold)}.tags{padding-top:3px}.segmented{display:flex;gap:2px;border:1px solid var(--line);background:#ffffff05;border-radius:20px;padding:2px;margin-bottom:10px}.segmented button{flex:1;border:0;border-radius:18px;padding:7px 8px;background:transparent;min-height:32px;font-size:13px}.segmented button.active{background:linear-gradient(#ecd498,#c6a660);color:#142218}.map-tools{display:flex;gap:12px}.map-tools .segmented{flex:1}.body-wrap{position:relative;height:238px;display:flex;justify-content:center;margin:1px 0 5px}.body-map{position:relative;width:148px;height:238px;touch-action:none}.body-map img{height:100%;width:100%;object-fit:contain;pointer-events:none;opacity:.88}.body-map .point{position:absolute;transform:translate(-50%,-50%);width:20px;height:20px;border:2px solid #fff9;border-radius:50%;box-shadow:0 0 14px currentColor;pointer-events:none}.palette{position:absolute;right:6px;top:25px;display:flex;flex-direction:column;gap:11px}.swatch{width:33px;height:33px;border:1px solid var(--line);background:#09271c;border-radius:50%;padding:7px;display:grid;place-items:center}.swatch span{display:block;width:16px;height:16px;border-radius:50%;background:var(--color)}.swatch.active{border-color:var(--gold);box-shadow:0 0 0 2px #d0ae5f30}.mic{width:64px;height:64px;border-radius:50%;font-size:28px;border:2px solid #f8e6b4;background:radial-gradient(circle at 40% 30%,#cda967,#76551e);color:#fff1c5;box-shadow:0 0 0 4px #dec17d25;flex-shrink:0}.mic.recording{background:#b43e31;animation:pulse 1.3s infinite}.record-row{display:flex;align-items:center;justify-content:center;gap:15px;margin:8px 0 12px}.record-label{font-size:13px;color:var(--muted);max-width:190px}.record-label strong{color:var(--cream);font-weight:400;display:block;margin-bottom:2px}.note-compact{margin-bottom:9px}.note-compact textarea{min-height:86px;height:86px;margin-top:6px}.today h2{margin:4px 0 12px}.today .card{padding:11px;margin-bottom:8px}.today .tags{max-height:93px;overflow:auto}.today .tags .tag{font-size:12px;padding:4px 9px}.note-tab textarea{height:190px;min-height:100px}.notes-page .card{margin-bottom:12px}.notes-page .record-row{margin:22px 0}.save-visit{margin-top:4px}nav{display:grid;grid-template-columns:repeat(4,1fr);gap:2px;flex-shrink:0;padding:9px 9px calc(9px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#09251d}nav button{border:0;background:transparent;border-radius:10px;color:var(--muted);padding:8px 2px;min-height:53px;font-size:11px}nav button span{display:block;font-family:var(--serif);font-size:21px;line-height:1;margin-bottom:5px}nav button.active{background:#dcc07917;color:var(--gold)}#toast{position:fixed;bottom:calc(95px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);background:#e6cf91;color:#14291b;padding:12px 18px;border-radius:12px;z-index:10;max-width:330px;width:max-content;text-align:center;box-shadow:0 5px 30px #0008}#error{padding:11px 15px;background:#55251e;color:#ffded6;font-size:13px;flex-shrink:0}#error button{margin-top:6px}dialog{width:calc(100% - 24px);max-width:420px;max-height:calc(100dvh - 48px);border:1px solid #8d8651;background:#0e2a20;color:var(--cream);border-radius:18px;padding:22px;overflow:auto}dialog::backdrop{background:#0009;backdrop-filter:blur(4px)}dialog h2{text-align:left;margin:0 0 18px}dialog .quiet{margin-top:10px}.danger{color:#ffbbb0}.dialog-error{color:#ffbbb0;white-space:pre-wrap}.space{margin:14px 0}.hint{font-size:13px;color:var(--muted)}[hidden]{display:none!important}@keyframes pulse{50%{box-shadow:0 0 0 7px #ed625830}}@media(min-width:600px){.shell{margin:22px auto;height:calc(100dvh - 44px);max-height:850px;border:1px solid #61776250;border-radius:27px;box-shadow:0 15px 90px #0009}body{background:radial-gradient(ellipse at 50% 30%,#20382d,#081610 65%)}}@media(max-height:700px){header{padding-top:calc(6px + env(safe-area-inset-top));padding-bottom:4px}.body-wrap,.body-map{height:202px}.body-map{width:125px}.record-row{margin:4px 0 8px}.mic{width:54px;height:54px}.today .note-compact textarea{height:69px;min-height:69px}.today h2{font-size:25px}.hero{height:135px}h1{margin-top:12px}}
/* The map screen fits the available phone height; recordings open separately. */
main.today{display:flex;flex-direction:column;overflow:hidden;padding-bottom:8px}
.today>.backlink{flex-shrink:0;align-self:flex-start;min-height:26px;padding:3px 0}
.today #view{display:flex;flex-direction:column;flex:1;min-height:0}
.today h2{margin:3px 0 9px;flex-shrink:0}
.today #view>.segmented{flex-shrink:0;margin-bottom:8px}
.today .map-page{display:flex;flex-direction:column;flex:1;min-height:0}
.today .map-tools{flex-shrink:0}.today .map-tools .segmented{margin-bottom:5px}
.today .map-zone{position:relative;flex:1;min-height:120px;max-height:290px;margin-bottom:8px}
.today .body-wrap{height:100%;margin:0}.today .body-map{height:100%;width:140px}
.today .body-map img{object-fit:fill}.today .palette{top:5px;gap:8px}
.today .map-zone .record-row{position:absolute;bottom:0;left:8px;display:block;margin:0}
.today .map-zone .record-label{font-size:11px;max-width:100px;margin-top:5px}
.today .map-zone .record-label strong{display:none}
.today .map-zone .record-label #recordTime{display:none}
.today .map-zone:has(.recording) .record-label #recordTime{display:block}
.today .map-zone .mic{width:58px;height:58px}
.today .note-compact{flex-shrink:0;font-size:13px;margin-bottom:8px}
.today .note-compact textarea{height:60px;min-height:60px;resize:none;padding:8px 11px}
.today .today-audio{flex-shrink:0;min-height:39px;padding:8px 12px;margin-bottom:8px;text-align:left;color:var(--gold)}
.today .save-visit{flex-shrink:0;min-height:46px;padding:11px 14px;margin-top:0}
.today .center{flex-shrink:0;line-height:19px}
.today .notes-page{overflow-y:auto;flex:1;min-height:0;padding-bottom:8px}
.today .notes-page .note-tab textarea{height:140px;min-height:100px}
@media(max-height:700px){.today h2{margin:0 0 6px}.today .segmented button{padding:5px 6px;min-height:28px}.today .map-zone{max-height:190px}.today .palette{gap:5px}.today .swatch{width:29px;height:29px;padding:5px}}
.field label{display:flex;align-items:center;justify-content:space-between;gap:7px;font-size:14px}.field input,.field select{width:54%;margin-top:0;flex-shrink:0}.field{padding:11px 12px;min-height:62px}
@media(max-height:700px){.field{padding:8px 11px;margin-bottom:10px;min-height:59px}.field input,.field select{font-size:15px}#view:has(.visit-heading) .card{padding:11px;margin-bottom:9px}#view:has(.visit-heading)>.card:not(:last-child){display:flex;gap:12px;align-items:center}#view:has(.visit-heading)>.card:not(:last-child) small{flex:0 0 105px}#view:has(.visit-heading)>.card:not(:last-child) p{margin:0;font-size:14px}.visit-copy{max-height:108px}.visit-heading{margin:8px 0 12px}.visit-heading h2{font-size:24px}.visit-date{font-size:14px}.visit-heading~.card .link-button{padding:7px 0;min-height:33px}}
/* V18: client-centered workflow. No numbered navigation. */
#nav{display:none!important}.client-title{font-size:34px;margin:13px 0 12px}.client-contacts{display:flex;flex-wrap:wrap;gap:5px 16px;margin:0 0 19px;font-size:14px}.client-contacts a{overflow-wrap:anywhere;text-decoration:none}.client-last strong{display:block;font-size:19px;font-weight:400;margin-top:4px}.note-preview{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;color:#d0d6c5;white-space:pre-wrap;font-size:14px;line-height:1.55}.primary-action{margin:9px 0 16px}.client-actions{display:grid;gap:10px}.client-actions .link-button{font-size:14px}.client-actions .quiet{padding:13px}.saved-confirmation{text-align:center;padding:46px 0 20px}.saved-mark{border:1px solid var(--gold);color:var(--gold);border-radius:50%;font-size:36px;width:76px;height:76px;line-height:76px;margin:0 auto 24px}.saved-confirmation h2{margin-bottom:13px}.saved-confirmation .gold{margin-top:30px}.work #view{padding-bottom:78px}.work h2{margin:3px 0 15px}.work .projection{max-width:230px;margin:0 auto 12px}.work-map{position:relative;width:100%;margin:0 0 18px}.work-map .body-map{width:calc(100% - 38px);height:auto;aspect-ratio:160/300;max-width:none}.work-map .body-map img{width:100%;height:100%;object-fit:fill}.work-map .palette{right:0;top:30px;gap:13px}.work-map .swatch{width:36px;height:36px}.work-map .point,.history-body .point{position:absolute;transform:translate(-50%,-50%);width:22px;height:22px;border:2px solid #fff9;border-radius:50%;box-shadow:0 0 14px currentColor;pointer-events:none}.visit-note-controls{border-top:1px solid var(--line);padding-top:12px}.visit-note-controls .record-row{justify-content:flex-start;margin-bottom:18px}.visit-note-controls textarea{resize:vertical;min-height:100px}.visit-save-bar{position:absolute;left:0;right:0;bottom:0;padding:10px 20px calc(8px + env(safe-area-inset-bottom));background:#08241df5;border-top:1px solid var(--line);text-align:center;z-index:4}.visit-save-bar small{display:block;margin-top:4px;line-height:15px;font-size:11px}.visit-save-bar button{padding:11px}.history-body{position:relative;width:220px;aspect-ratio:160/300;margin:0 auto 18px}.history-body img{width:100%;height:100%}.audio-import{margin:15px 0}.audio-import input{padding:10px 8px;font-size:13px}.work .record-label{max-width:none}.work .tags{max-height:none}.work .mic{display:grid;place-items:center}.work .record-label strong{font-size:15px}
@media(max-height:700px){.client-title{margin-top:6px;margin-bottom:10px;font-size:32px}.client-last{padding:13px}.client-actions{gap:8px}.primary-action{margin:5px 0 13px}.client-contacts{margin-bottom:13px}.work-map .body-map{width:calc(100% - 38px);height:auto}.work .mic{width:58px;height:58px}.saved-confirmation{padding-top:25px}}
.card.row>svg{width:25px;height:25px;color:var(--gold);flex-shrink:0}.card.row>div{min-width:0;flex:1}

/* V20: anatomy layers share all previous point coordinates. */
.map-viewport{width:calc(100% - 38px);overflow:auto;max-height:560px;border-radius:12px;background:#082018}.work-map .map-viewport .body-map{max-width:none;flex-shrink:0;touch-action:pan-x pan-y}.work-map .body-map img{opacity:1}.anatomy-tools{display:flex;gap:12px;align-items:center;justify-content:space-between;margin:12px 0;font-size:12px;color:var(--muted)}.anatomy-tools button{font-size:13px;min-width:110px;padding:9px}.anatomy-caption{color:var(--gold);font-size:16px;margin:8px 0}.anatomy-hint{font-size:12px;color:var(--muted);margin:8px 0 18px}.vertebra-picker{display:flex;gap:10px;align-items:center;font-size:12px}.vertebra-picker select{width:55%;margin:0}.history-body{width:100%;max-width:300px}.work-map .point{width:16px;height:16px;box-shadow:0 0 6px currentColor}.backlink{font-size:16px;min-height:44px;padding:9px 0}

/* V21: compact views and thumb-reachable actions. */
header{padding:calc(4px + env(safe-area-inset-top)) 16px 2px}.brand{font-size:21px;gap:8px}.brand img{width:25px;height:25px}.icon-button{font-size:24px;height:40px}main{padding:0 16px 12px}.backlink{font-size:14px;min-height:36px;padding:6px 0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.clients-page{display:flex;flex-direction:column;overflow:hidden}.clients-page h1{font-size:27px;margin:7px 0 13px}.clients-page #clientList{flex:1;overflow:auto;min-height:0}.clients-page .list-button{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;margin-bottom:8px}.list-button strong{font-size:22px;overflow-wrap:anywhere}.client-chevron{font-size:24px;color:var(--gold)}.client-list-controls{display:grid;gap:9px;padding:10px 0 calc(4px + env(safe-area-inset-bottom));flex-shrink:0;background:#08231b}.client-list-controls button{min-height:46px;padding:11px}
dialog:has(#clientForm){margin:auto auto calc(12px + env(safe-area-inset-bottom));padding:17px;max-height:calc(100dvh - 24px)}dialog:has(#clientForm) h2{font-size:25px;margin-bottom:12px}#clientForm label{margin-bottom:9px}#clientForm input{padding:9px;min-height:44px}.contact-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.client-notes{margin:3px 0 12px}.client-notes summary{min-height:36px;cursor:pointer;color:var(--gold)}#clientSaveLabel{min-height:16px;font-size:11px;margin:5px 0}#clientError:empty{display:none}dialog:has(#clientForm) #closeDialog{min-height:40px;padding:8px;margin-top:3px}
.client-page{display:flex;flex-direction:column;overflow:hidden}.client-page #view{flex:1;display:flex;flex-direction:column;min-height:0}.client-page .client-title{font-size:30px;margin:4px 0 10px;overflow-wrap:anywhere}.client-page .client-contacts{margin-bottom:10px}.client-page .card{padding:11px 13px;margin-bottom:9px}.client-page .note-preview{margin:4px 0 0;-webkit-line-clamp:2}.client-page .primary-action{margin: auto 0 9px;min-height:46px;padding:11px}.client-page .client-actions{grid-template-columns:1fr 1fr;gap:8px}.client-page .client-actions .quiet{font-size:13px;padding:9px;min-height:44px}.client-page #editClient{grid-column:1/-1;min-height:36px;padding:6px}
.work{overflow:hidden}.work #view{padding-bottom:74px;height:calc(100% - 36px);display:flex;flex-direction:column}.visit-tabs{display:flex;gap:6px;flex-shrink:0;margin:2px 0 5px}.visit-tabs .segmented{flex:1;margin:0;max-width:none}.visit-tabs .projection{flex:.95}.visit-tabs button{padding:6px 4px;min-height:36px;font-size:12px}.anatomy-tools{margin:0;height:31px;flex-shrink:0;justify-content:flex-end}.anatomy-tools button{min-height:30px;padding:3px 8px;font-size:12px;min-width:98px}.work-map{margin:3px 0 0;flex:1;min-height:0;overflow:hidden}.map-viewport{height:100%;max-height:none}.work-map .map-viewport .body-map{margin:auto}.work-map:has(#mapZoom) .body-map{margin:0}.work-map .palette{top:6px;gap:9px}.work-map .swatch{width:34px;height:34px}.point-tools{display:flex;gap:8px;align-items:center;min-height:37px;flex-shrink:0}.anatomy-caption{flex:1;min-width:0;font-size:12px;margin:4px 0;line-height:1.3}.vertebra-picker{margin:0;flex-shrink:0;width:112px}.vertebra-picker select{width:100%;font-size:12px;padding:6px;min-height:32px}.work .visit-note-controls{flex:1;min-height:0;overflow:auto;border:0;padding-top:8px}.work .visit-note-controls .record-row{margin:0 0 10px;gap:11px}.work .mic{width:48px;height:48px}.work .record-label{font-size:12px}.work .record-label strong{font-size:14px}.work .visit-note-controls textarea{min-height:100px;height:118px;resize:vertical}.work .visit-note-controls label{font-size:13px;margin-bottom:10px}.compact-tags{padding:0;margin-bottom:8px}.compact-tags summary{padding:10px 12px;min-height:42px;font-size:13px;cursor:pointer}.compact-tags .tags{padding:0 9px 9px}.visit-save-bar{padding:7px 16px calc(5px + env(safe-area-inset-bottom))}.visit-save-bar button{min-height:44px;padding:9px}.visit-save-bar small{font-size:10px;margin-top:3px}
@media(max-height:580px){.client-page{overflow:auto}.client-page #view{min-height:390px}.work #view{height:calc(100% - 36px)}.contact-fields{grid-template-columns:1fr 1fr}}
.client-page .backlink{align-self:flex-start}.client-page .client-title{font-size:28px;line-height:1.15}

.page-number{font:12px -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--muted);border:1px solid var(--line);padding:4px 6px;border-radius:7px;margin-left:auto;margin-right:8px}.visit-summary p{font-size:16px;line-height:1.55;margin-bottom:0}.anatomy-details{margin:8px 0 15px}.anatomy-details>summary{cursor:pointer;min-height:44px;padding:11px;color:var(--gold)}.anatomy-details .history-body{margin-top:10px}.feedback-section h3{font-size:20px}.feedback-section>.muted{font-size:12px;margin-bottom:14px}.feedback-section textarea{resize:vertical}.feeling-history article{border-top:1px solid var(--line);margin-top:14px;padding-top:10px;overflow-wrap:anywhere}.feeling-history p{white-space:pre-wrap}.live-summary{font-size:11px;line-height:1.3;max-height:30px;overflow:auto;flex-shrink:0;color:var(--muted);margin:3px 0}.work .map-viewport .body-map{max-width:none}

.client-page{overflow:auto}.client-page #view{min-height:520px}.client-page #clientAccess,.client-page #serverRefresh{font-size:12px;min-height:32px;padding:4px}.request-card p{font-size:13px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.request-card button{font-size:12px;padding:3px;min-height:30px}.portal h1{font-size:29px}.portal h2{font-size:24px;margin:18px 0 12px}.portal details>summary{cursor:pointer;min-height:44px;padding:9px 0;color:var(--gold)}.portal #openRequest{margin:4px 0 12px}.portal .history-body .point{position:absolute;width:16px;height:16px;border-radius:50%;transform:translate(-50%,-50%)}.work #clientBack{position:absolute;bottom:160px;left:16px;right:16px;z-index:4;background:#09271f;max-height:32px;overflow:hidden}.work #view{height:100%;padding-bottom:166px}.work .visit-tabs{position:absolute;bottom:117px;left:16px;right:16px;z-index:4;background:#08251d}.work .point-tools{position:absolute;bottom:76px;left:16px;right:16px;z-index:4;background:#08251d}.work .live-summary{max-height:28px}.work .anatomy-tools{height:32px}

.personal-qr{width:min(264px,100%);margin:16px auto;background:#fff;border-radius:10px;padding:8px}.personal-qr svg{display:block;width:100%;height:auto}.request-body{position:relative;width:min(230px,100%);margin:10px auto;cursor:crosshair}.request-body img{display:block;width:100%}.request-body .point{pointer-events:none}.request-labels{font-size:14px;margin:8px 0}#clientAccess{border:1px solid var(--gold);border-radius:12px;padding:12px;font-weight:600}.backlink{min-height:44px;padding:8px 10px;font-size:16px}

.client-page #clientAccess{font-size:15px;min-height:44px;padding:10px}.work #clientBack{min-height:32px;font-size:14px}

.request-body{touch-action:pan-y}.request-body img{pointer-events:none;user-select:none;-webkit-user-drag:none}.request-body .point{position:absolute;width:20px;height:20px;border:2px solid #fff;border-radius:50%;transform:translate(-50%,-50%);box-shadow:0 0 6px #ed6551;pointer-events:none;z-index:2}.request-labels{min-height:22px}.portal-visit>summary{font-weight:600}.portal-visit [data-feeling-saved]:not(:empty),[data-request-status]:not(:empty),[data-feeling-status]:not(:empty){padding:10px;border:1px solid var(--gold);border-radius:10px}

#freeSlots{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}#freeSlots button{min-width:64px;min-height:44px}.booking-consent{display:flex;align-items:center;gap:10px}.booking-consent input{width:22px;min-height:22px;flex:0 0 22px}

.month-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:12px 0}.month-heading button{min-width:44px;min-height:44px;background:transparent;color:var(--gold);border:1px solid #ffffff20;border-radius:12px}.month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;text-align:center;margin:4px 0}.month-grid span{font-size:12px;padding:8px 0}.month-grid button{min-height:40px;padding:4px;border-radius:10px;border:1px solid #ffffff18}.available-day{background:#dabe70;color:#092219}.closed-day{background:transparent;color:#83958a;opacity:.5}.selected-day{box-shadow:inset 0 0 0 3px #fff}#availableCalendar{margin:10px 0}

.portal h1{font-size:clamp(25px,7vw,34px);margin-bottom:14px}.portal .client-name{margin-top:-6px;color:var(--gold)}

.portal #openRequest,.portal #portalDone{position:sticky;bottom:calc(16px + env(safe-area-inset-bottom));z-index:3;order:10;margin-top:auto}.portal #openRequest.secondary{position:static}.portal{display:flex;flex-direction:column;gap:12px;min-height:calc(100dvh - 85px)}.portal.request-open #openRequest,.portal.request-open>.card,.portal.request-open>.portal-visit,.portal.request-open>h2{display:none}.portal.request-complete>.portal-visit,.portal.request-complete>h2{display:none}.portal.request-open #requestArea{flex:1}.visit-case p{line-height:1.6}
