/* Application composition transcribed from the approved workspace prototype.
   Component dimensions are deliberate; keep prototype comparisons with changes. */
/* Material tokens: bright edges on raised surfaces, translucent navigation only. */
:root{--surface-gloss:linear-gradient(145deg,#ffffff09,transparent 65%);--surface-shadow:inset 0 1px 0 #ffffff0c,0 8px 24px #0002}
html[data-theme="light"]{--surface-gloss:linear-gradient(145deg,#ffffffd9,#ffffff20 65%);--surface-shadow:inset 0 1px 0 #fff,0 5px 20px #26392309}
.reference-authenticated .hm-sidebar{position:fixed;inset:0 auto 0 0;width:226px;min-width:226px;height:100dvh;padding:27px 16px 16px;z-index:50;display:flex;flex-direction:column;gap:0;background:var(--side)}
.reference-brand{display:block;padding:0 10px 29px;flex-shrink:0}.reference-brand img{width:174px;height:65px;object-fit:contain}.reference-business{display:flex;align-items:center;gap:10px;padding:12px 9px;border:1px solid var(--line);border-radius:8px;font-size:12px;color:var(--text)!important;margin-bottom:22px}.reference-business>span:last-child{min-width:0;overflow-wrap:anywhere}.reference-business small,.reference-profile small{display:block;color:var(--muted);font-size:11px;margin-top:2px}.reference-avatar{display:grid;place-items:center;flex-shrink:0;width:30px;height:30px;border-radius:7px;background:var(--raised);color:var(--green);font-size:12px}.reference-profile{margin-top:auto;padding-top:24px;font-size:12px}.reference-profile>a{display:flex;align-items:center;gap:12px;padding:12px 8px;color:var(--muted)}.reference-profile>a:last-child{border-top:1px solid var(--line);margin-top:10px;color:var(--text)}
.reference-authenticated .hm-unified-header{margin-left:226px;width:calc(100% - 226px);height:72px;padding:0 30px;position:sticky;top:0}.reference-crumb{display:flex;gap:15px;align-items:center;font-size:11px;color:var(--muted);min-width:0}.reference-crumb strong{font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reference-crumb>span{color:var(--faint)}.reference-authenticated .hm-unified-header nav{gap:12px}.reference-authenticated .hm-unified-header .appearance-button{background:transparent;box-shadow:none;border:0}.reference-authenticated .hm-account-shell,.reference-authenticated #main.main{display:block;margin-left:226px;min-height:calc(100vh - 72px)}.reference-authenticated .hm-account-shell>main,.reference-authenticated #main #content{padding:29px 30px 48px;max-width:1600px;width:100%;margin:auto}.reference-authenticated .hm-location,.reference-authenticated div.breadcrumbs{display:none}.reference-authenticated footer{margin-left:226px}.hm-nav-search{font-size:10px;margin-bottom:16px}.hm-nav-search input{font-size:11px;min-height:34px}.hm-nav-label,.hm-nav-group>details>summary{font-size:10px;letter-spacing:1.1px;margin:24px 13px 8px}.hm-nav-group a{font-size:12px;padding:11px 13px;line-height:1.5;border-radius:6px;margin:2px 0}.hm-nav-group a.current{box-shadow:none;background:var(--raised)}.hm-nav-group a.current .nav-icon{color:var(--accent)}.reference-product-nav>a{padding-left:13px}.reference-menu{display:none}.reference-authenticated .hm-navigation-drawer{flex:1;overflow:auto;min-height:0}.hm-platform-admin #content-start{width:100%}
/* Match the reference's compact typography and clear, level surfaces. */
body{-webkit-font-smoothing:antialiased}h1,.hm-platform-admin #content>h1,.hm-account-shell h1,.hm-main h1{font-size:29px!important;letter-spacing:-1px;font-weight:600;line-height:1.25}h2{font-size:16px}h3{font-size:14px}.card,.panel,.module,.booking-task{border-radius:14px}.card{padding:20px}.heading,.page-heading,.hm-hub-heading{margin-bottom:25px}.heading p,.page-heading p,.hm-hub-heading p{font-size:14px;line-height:1.6;max-width:65ch}.primary-button,button[type=submit],a.button,button:not(.secondary){border-radius:6px}.booking-table th,#result_list th{font-size:10px;text-transform:none;letter-spacing:0;background:var(--raised)!important}.booking-table td,#result_list td{font-size:12px;padding:18px 16px}.booking-section-heading{padding:17px}.booking-section-heading h2{font-size:14px}.booking-status{font-size:10px;padding:3px 7px;border:0;border-radius:4px}.booking-status.is-good{background:color-mix(in srgb,var(--green) 9%,transparent)}.metrics{gap:16px}.metrics article{padding:18px 19px;min-height:136px}.metrics article>span{font-size:11px}.metrics strong{font-size:29px;font-weight:550}.payment-metrics{gap:0;border-block:1px solid var(--line);padding:20px 0;margin:20px 0 26px}.payment-metrics>div{border:0;border-radius:0;background:transparent;padding:0 22px;border-right:1px solid var(--line)}.payment-metrics>div:first-child{padding-left:0}.payment-metrics>div:last-child{border-right:0}.payment-metrics dt{font-size:11px}.payment-metrics dd{font-size:27px}.hm-hub-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px}.hm-hub-link{padding:20px 0;border-bottom:1px solid var(--line)}.hm-hub-link h3{font-size:14px}.hm-hub-link p{font-size:12px}.hm-hub-section{margin-top:28px}.hm-hub-heading{margin-top:0}.hm-hub-heading h1{margin-bottom:8px}.hm-setup{border-radius:8px}.hm-product-card{border-radius:9px!important}.hm-product-art{border-radius:8px!important}.hm-product-copy h2,.hm-product-copy h3{font-size:19px!important}.hm-product-copy{padding:20px!important}.hm-product-copy p{font-size:12px}.hm-product-grid{gap:20px!important}.hm-product-bottom strong{font-size:20px}.booking-create{border-radius:8px}.hm-platform-admin .form-row{padding:16px 20px}.hm-platform-admin .module h2{padding:16px 20px}.hm-package-workspace #package-layout{gap:24px}.hm-package-workspace .package-preview{border-radius:9px}.catalogue-records .package-card{border-radius:9px}.record-search{margin:18px 0}.crm-heading h1{font-size:29px!important}.crm-panel{border-radius:9px!important}.crm-heading{margin:0 0 25px}.hm-customer-owner .crm-tabs{display:none}.hm-team-heading{margin-top:0}.hm-team-stats{gap:16px}.hm-team-stats>a,.hm-team-stats>div{border-radius:9px}.hm-team-session{border-radius:0}.hm-page-tabs{margin:16px 0 20px}.hm-team-list{padding:0}.hm-team-search{margin-bottom:20px}.hm-team-session{padding:18px 20px}
/* Record detail drawers use real links and server validated actions. */
.reference-dialog{padding:26px;width:480px;max-width:calc(100vw - 24px);max-height:90dvh;overflow:auto;color:var(--text);background:var(--panel);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}.reference-dialog::backdrop{background:#0009;backdrop-filter:blur(4px)}.reference-dialog .dialog-close{float:right;width:36px;height:36px;padding:0}.reference-dialog h2{font-size:23px;margin:16px 0 12px}.reference-dialog .detail-meta{display:grid;grid-template-columns:1fr 1fr;gap:20px;border-block:1px solid var(--line);padding:20px 0;margin:20px 0}.reference-dialog .detail-meta small{display:block}.reference-dialog .dialog-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.reference-dialog .dialog-context{font-size:10px;letter-spacing:1.2px;color:var(--muted)}.reference-dialog form{margin-top:20px}.reference-dialog .booking-form-grid{grid-template-columns:1fr}.reference-dialog::backdrop{background:#0009}
@media(max-width:1100px){.hm-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:760px){.reference-authenticated .hm-unified-header{margin-left:0;width:100%;padding:0 16px;height:64px}.reference-authenticated .hm-sidebar{display:none;inset:64px 0 auto 0;width:100%;height:calc(100dvh - 64px);min-width:0;padding:16px;box-shadow:var(--shadow)}.reference-authenticated .hm-sidebar.is-open{display:flex}.reference-authenticated .hm-navigation-drawer>summary{display:none}.reference-authenticated .hm-navigation-drawer[open]{max-height:none}.reference-brand{display:none}.reference-business{margin-bottom:12px}.reference-profile{padding-top:10px}.reference-menu{display:inline-flex;min-width:40px;min-height:40px;font-size:18px;padding:0}.reference-crumb{gap:8px;font-size:10px;flex:1}.reference-crumb>strong{max-width:135px}.reference-authenticated .hm-unified-header nav{gap:0}.reference-authenticated .hm-account-shell,.reference-authenticated #main.main{margin-left:0}.reference-authenticated .hm-account-shell>main,.reference-authenticated #main #content{padding:23px 16px 40px}.reference-authenticated footer{margin-left:0}.hm-account-shell h1,.hm-platform-admin #content>h1{font-size:26px!important}.hm-hub-grid{grid-template-columns:1fr}.hm-product-grid{grid-template-columns:1fr!important}.metrics article{min-height:105px;padding:14px}.reference-crumb{overflow:hidden}.reference-dialog{padding:20px}.reference-dialog .detail-meta{gap:14px}.payment-metrics>div{padding:0 10px}.payment-metrics dd{font-size:22px}}

.hm-schedule .workspace-grid{display:grid;grid-template-columns:minmax(0,1fr) 264px;gap:24px}.hm-schedule .schedule-section{min-width:0}.hm-schedule .section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;gap:12px}.hm-schedule .section-heading p{font-size:11px;color:var(--muted);margin-top:2px}.hm-schedule .team-stack{display:flex;padding-left:7px}.hm-schedule .team-stack .avatar{margin-left:-7px}.hm-schedule .team-filter{display:flex;align-items:center;gap:8px}.hm-schedule .team-filter select,.hm-schedule .calendar-toolbar select{color:var(--text);background:var(--panel);border:1px solid var(--line);border-radius:5px;padding:6px 8px;font-size:11px;max-width:145px}.hm-schedule .calendar{border:1px solid var(--line);border-radius:9px;overflow:hidden;background:var(--panel)}.hm-schedule .calendar-toolbar{display:flex;align-items:center;gap:6px;padding:13px 14px;border-bottom:1px solid var(--line);flex-wrap:wrap}.hm-schedule .date-range{font-size:11px;font-weight:550;margin-left:3px;flex:1;white-space:nowrap}.hm-schedule .calendar-toolbar .icon-button{width:25px;height:26px}.hm-schedule .today-button{font-size:11px;border:1px solid var(--line);border-radius:4px;padding:4px 8px}.hm-schedule .segmented{display:flex;background:var(--bg);border:1px solid var(--line);border-radius:5px;padding:2px;margin-left:auto}.hm-schedule .segmented button{padding:4px 9px;font-size:11px;color:var(--muted);border-radius:3px}.hm-schedule .segmented button.active{background:var(--raised);color:var(--text)}.hm-schedule .week-head{display:grid;grid-template-columns:43px repeat(5,minmax(0,1fr));border-bottom:1px solid var(--line)}.hm-schedule .day-head{text-align:center;padding:12px 0 10px;border-left:1px solid var(--line);color:var(--muted);font-size:11px;letter-spacing:.3px}.hm-schedule .day-head strong{display:block;color:var(--text);font-size:16px;font-weight:500;line-height:26px;margin-top:2px}.hm-schedule .day-head.today strong{background:var(--accent);color:var(--accent-ink);border-radius:50%;width:26px;margin:2px auto 0}.hm-schedule .week-body{display:grid;grid-template-columns:43px repeat(5,minmax(0,1fr));height:462px;position:relative}.hm-schedule .time-column{display:flex;flex-direction:column;justify-content:space-between;padding:0 5px 0;color:var(--faint);font-size:11px;transform:translateY(-7px);text-align:center}.hm-schedule .day-column{position:relative;border-left:1px solid var(--line);background:repeating-linear-gradient(to bottom,transparent 0,transparent 65px,var(--line) 65px,var(--line) 66px)}.hm-schedule .event{position:absolute;left:5px;right:5px;text-align:left;align-items:flex-start;flex-direction:column;justify-content:flex-start;gap:2px;border-radius:5px;padding:8px 7px;background:#22322c;border:1px solid #334e3f;border-left:2px solid var(--green);color:#dbe9df;overflow:hidden}.hm-schedule .event.purple{background:#2a2838;border-color:#403c51;border-left-color:var(--purple);color:#e2def2}.hm-schedule .event.amber{background:#342f25;border-color:#4e4432;border-left-color:var(--amber);color:#eee2cc}.hm-schedule .event:hover{filter:brightness(1.22);z-index:3}.hm-schedule .event strong{font-size:11px;font-weight:550;line-height:1.35}.hm-schedule .event .event-time{font-size:11px;opacity:.8}.hm-schedule .event .event-meta{display:flex;align-items:center;gap:4px;font-size:11px;opacity:.8;margin-top:auto}.hm-schedule .event .event-meta svg{width:10px;height:10px}.hm-schedule .calendar-foot{display:flex;gap:15px;align-items:center;padding:11px 14px;font-size:11px;color:var(--muted);border-top:1px solid var(--line)}.hm-schedule .legend-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--green);margin-right:5px}.hm-schedule .legend-dot.purple{background:var(--purple)}.hm-schedule .legend-dot.amber{background:var(--amber)}.hm-schedule .calendar-foot>span:last-child{margin-left:auto}.hm-schedule .activity-rail{border-left:1px solid var(--line);padding-left:24px}.hm-schedule .rail-section+.rail-section{margin-top:26px;padding-top:23px;border-top:1px solid var(--line)}.hm-schedule .rail-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.hm-schedule .rail-title h2{font-size:13px}.hm-schedule .rail-title>span{font-size:11px;color:var(--muted)}.hm-schedule .next-session{padding:15px;background:var(--panel);border:1px solid var(--line);border-radius:8px}.hm-schedule .next-label{font-size:11px;color:var(--green);display:flex;align-items:center;gap:6px;margin-bottom:10px}.hm-schedule .next-label:before{content:'';width:5px;height:5px;background:var(--green);border-radius:50%}.hm-schedule .next-session h3{font-size:15px;margin-bottom:4px}.hm-schedule .next-session p{font-size:11px;color:var(--muted)}.hm-schedule .host-row{display:flex;gap:7px;align-items:center;margin:14px 0;font-size:11px;color:var(--muted)}.hm-schedule .next-session .secondary{width:100%;margin-top:12px}.hm-schedule .capacity{height:3px;background:var(--line);border-radius:2px;margin:8px 0}.hm-schedule .capacity>span{display:block;width:75%;height:100%;background:var(--green);border-radius:2px}.hm-schedule .capacity-note{font-size:11px;color:var(--muted);display:flex;justify-content:space-between}.hm-schedule .activity-item{display:flex;gap:9px;align-items:flex-start;padding:10px 0}.hm-schedule .activity-item .avatar{width:26px;height:26px;font-size:11px}.hm-schedule .activity-item strong{display:block;font-size:11px;font-weight:500}.hm-schedule .activity-item p{font-size:11px;color:var(--muted);line-height:1.7}.hm-schedule .activity-item time{font-size:11px;color:var(--faint);margin-left:auto;white-space:nowrap}.hm-schedule .setup-summary{font-size:11px;color:var(--muted);margin:9px 0 15px}.hm-schedule .setup-task{justify-content:space-between;width:100%;padding:9px 0;border-top:1px solid var(--line);font-size:11px}.hm-schedule .setup-task svg{width:13px}.hm-schedule .small-progress{display:flex;gap:4px;margin-top:12px}.hm-schedule .small-progress i{height:3px;flex:1;border-radius:3px;background:var(--accent)}.hm-schedule .small-progress i:last-child{background:var(--line)}.hm-schedule .agenda{padding:0 16px}.hm-schedule .agenda-date{font-size:11px;padding:17px 0 8px;color:var(--muted)}.hm-schedule .agenda-event{width:100%;display:flex;justify-content:flex-start;text-align:left;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}.hm-schedule .agenda-event .time{font-size:11px;color:var(--muted);width:42px}.hm-schedule .agenda-event strong{display:block;font-size:12px;font-weight:550}.hm-schedule .agenda-event small{font-size:11px;color:var(--muted)}.hm-schedule .agenda-event .event-tick{width:3px;height:29px;border-radius:3px;background:var(--green)}.hm-schedule .agenda-event .event-tick.purple{background:var(--purple)}.hm-schedule .agenda-event .event-tick.amber{background:var(--amber)}.hm-schedule .agenda-event>svg{margin-left:auto;width:14px}.hm-schedule .empty{padding:60px 20px;text-align:center;color:var(--muted);font-size:12px}


.hm-schedule .page-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px;gap:16px}.hm-schedule .page-title p{font-size:12px;margin:7px 0 0}.hm-schedule .page-title h1{margin:0!important}.hm-schedule .primary{background:var(--accent);color:var(--accent-ink);padding:10px 14px;font-size:12px;border-radius:6px}.hm-schedule .week-head,.hm-schedule .week-body{grid-template-columns:43px repeat(7,minmax(0,1fr))}.hm-schedule .workspace-grid{grid-template-columns:minmax(0,1fr) 230px;gap:24px}.hm-schedule .calendar button{min-height:0;box-shadow:none}.hm-schedule .event{cursor:pointer;min-height:42px}.hm-schedule .event strong{color:inherit}.hm-schedule .day-column{background:repeating-linear-gradient(to bottom,transparent 0,transparent 65px,var(--line) 65px,var(--line) 66px)}.hm-schedule .event-meta{white-space:nowrap}.hm-schedule .schedule-limit{font-size:11px;margin-top:14px;color:var(--muted)}.hm-schedule .agenda-event{flex-direction:column;align-items:flex-start;gap:3px;min-height:70px;background:none;color:var(--text);box-shadow:none;border-radius:0}.hm-schedule .agenda-event strong{font-size:13px}.hm-schedule .setup-task{display:flex;justify-content:space-between;color:var(--muted);font-size:12px;padding:12px 0;border-top:1px solid var(--line)}.hm-schedule .calendar-toolbar button{font-size:11px;background:transparent;color:var(--muted);padding:6px 9px}.hm-schedule .calendar-toolbar .active{background:var(--raised);color:var(--text)}.hm-schedule .calendar-toolbar .icon-button{font-size:22px;padding:0}.schedule-ready>.booking-toolbar:not(.schedule-scope){display:none}.schedule-scope{margin-bottom:18px!important}.schedule-scope label{font-size:11px}.schedule-scope select{min-height:34px;font-size:11px}.schedule-scope button{min-height:34px;padding:5px 10px;font-size:11px}.hm-schedule .calendar-foot{font-size:10px}.hm-schedule .calendar-foot>span:last-child{font-size:9px}.hm-schedule .event .event-time{font-size:10px}.hm-schedule .next-session .secondary{display:block;text-align:center}.hm-schedule .event{font-size:11px}.hm-schedule .week-body{max-height:1056px}.hm-schedule .calendar-toolbar .segmented{margin-left:auto}.hm-schedule .calendar-toolbar{padding:10px}
html[data-theme=light] .hm-schedule .event{background:#e7eee7;color:#254634;border-color:#c5d7ca}html[data-theme=light] .hm-schedule .event.purple{background:#ece8f4;color:#514167;border-color:#d9d0e6}
@media(max-width:1200px){.hm-schedule .workspace-grid{grid-template-columns:1fr}.hm-schedule .activity-rail{display:grid;grid-template-columns:1fr 1fr;gap:24px;border-left:0;padding-left:0}.hm-schedule .rail-section+.rail-section{margin-top:0;padding-top:0;border-top:0}}
@media(max-width:760px){.hm-schedule .page-title{align-items:flex-start}.hm-schedule .primary{font-size:11px;min-height:42px}.hm-schedule .activity-rail{grid-template-columns:1fr}.hm-schedule .section-heading{flex-wrap:wrap}.hm-schedule .calendar:has(.week-body){overflow:auto}.hm-schedule .week-head,.hm-schedule .week-body{min-width:670px}.hm-schedule .calendar-toolbar{position:sticky;left:0}.hm-schedule .calendar-foot{min-width:0}.hm-schedule .segmented button{min-height:36px}.hm-schedule .workspace-grid{gap:20px}.hm-schedule .event strong{font-size:11px}.hm-schedule .date-range{flex-basis:120px}.hm-schedule .calendar-toolbar .segmented{margin:0}}

.reference-home .page-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}.reference-home .page-title h1{margin-bottom:7px!important}.reference-home .page-title p,.reference-home time{font-size:12px;color:var(--muted)}.reference-home .home-layout{display:grid;grid-template-columns:minmax(0,1fr) 265px;gap:30px}.reference-home .section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.reference-home .section-heading h2{margin-bottom:5px}.reference-home .section-heading p{font-size:11px;margin:0}.reference-home .section-heading a{font-size:11px;color:var(--muted)}.home-agenda{border:1px solid var(--line);border-radius:9px;background:var(--panel)}.home-session{display:flex;align-items:center;gap:16px;padding:20px;border-bottom:1px solid var(--line);color:var(--text)!important}.home-session:last-child{border:0}.home-session:hover{background:var(--raised);text-decoration:none}.home-session time{width:64px;flex-shrink:0}.home-session small{display:block;font-size:11px;color:var(--muted);margin-top:4px}.home-session strong{font-size:13px;font-weight:550}.home-session-mark{width:3px;height:35px;background:var(--green);border-radius:3px;flex-shrink:0}.home-session-count{margin-left:auto;font-size:12px;text-align:right;white-space:nowrap}.home-rail{padding-left:24px;border-left:1px solid var(--line)}.home-rail h2{margin:0 0 12px}.home-rail>a{display:flex;justify-content:space-between;padding:15px 0;border-bottom:1px solid var(--line);font-size:12px;color:var(--text)}.home-rail small{display:block;font-size:11px;color:var(--muted);margin-top:5px}.home-empty{padding:30px}.home-empty p{font-size:12px}.reference-home-products{margin-top:36px;border-top:1px solid var(--line);padding-top:26px}.reference-home-products .hm-market-hero{margin-bottom:20px}.reference-home-products .hm-product-art{display:none}.reference-home-products .hm-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.reference-home-products .hm-product-copy{padding:20px!important}.reference-home-products .hm-product-copy>p:not(.hm-for){display:none}.reference-home-products .hm-product-bottom{margin-top:15px}.reference-home-products .hm-direct-tasks{padding-top:12px}.reference-home-products .hm-product-card{background:var(--panel)}
@media(max-width:1100px){.reference-home .home-layout{grid-template-columns:1fr 225px;gap:22px}.reference-home-products .hm-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.reference-home .home-layout{grid-template-columns:1fr}.home-rail{padding:0;border:0}.reference-home .page-title>time{display:none}.home-session{padding:16px;gap:10px}.home-session-count{display:none}.reference-home-products .hm-product-grid{grid-template-columns:1fr}.reference-home .section-heading{gap:12px}.reference-home-products .hm-market-hero{display:block}}

.hm-product-art{height:180px;position:relative;overflow:hidden;background:radial-gradient(ellipse at 80% 10%,var(--art-glow),transparent 80%),var(--art-bg);border-bottom:1px solid #ffffff08;--art-bg:#182921;--art-glow:#71a58b38;--art-ink:#badbc7;--art-card:#21392fcc}.hm-product-art.lavender{--art-bg:#252135;--art-glow:#9884dd40;--art-ink:#d5caef;--art-card:#353046dd}.hm-product-art.sky{--art-bg:#192a34;--art-glow:#81b9d540;--art-ink:#c1ddeb;--art-card:#263d49dd}.hm-product-art.sand{--art-bg:#302b20;--art-glow:#c9b57635;--art-ink:#e5d8b3;--art-card:#403c2bdd}.hm-product-art.rose{--art-bg:#32242c;--art-glow:#c0829b38;--art-ink:#eccada;--art-card:#44313bdd}.hm-product-art.peach{--art-bg:#352b25;--art-glow:#dcaa7838;--art-ink:#ecd1b7;--art-card:#49382cdd}.art-orbit{position:absolute;width:310px;height:310px;border:1px solid #ffffff09;border-radius:50%;right:-65px;top:-125px;box-shadow:0 0 0 30px #ffffff02,0 0 0 60px #ffffff02}.art-window{position:absolute;left:30px;right:30px;top:29px;color:var(--art-ink);background:linear-gradient(150deg,#ffffff08,var(--art-card));border:1px solid #ffffff20;border-radius:8px;box-shadow:0 16px 25px #0002,inset 0 1px 0 #ffffff0d;transform:rotate(-3deg);padding:16px;min-height:128px}.art-product-mark{position:absolute;bottom:12px;right:15px;background:var(--art-card);border:1px solid #ffffff29;border-radius:10px;width:38px;height:38px;display:grid;place-items:center;box-shadow:0 5px 10px #0002;color:var(--art-ink);backdrop-filter:blur(12px)}.art-product-mark svg{width:20px}.art-calendar-head{display:flex;justify-content:space-between;font-size:8px;letter-spacing:.7px;margin-bottom:10px}.art-calendar-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.art-calendar-grid i{height:20px;border-top:1px solid #ffffff12}.art-calendar-grid b{font-size:8px;background:#bbdfca18;padding:5px;border-left:2px solid var(--art-ink);grid-row:span 2;font-weight:500}.art-calendar-grid small{display:block;font-size:7px;opacity:.8;margin-top:4px}.art-profile{display:flex;align-items:center;gap:10px}.art-profile>span{display:grid;place-items:center;border:1px solid #ffffff22;border-radius:50%;background:#ffffff0b;height:32px;width:32px;font-size:10px}.art-profile strong{display:block;font-size:11px;font-weight:500}.art-profile small{font-size:9px;opacity:.7}.art-slots{display:flex;gap:6px;margin-top:17px}.art-slots i{font-style:normal;font-size:9px;border:1px solid #ffffff1c;border-radius:4px;padding:6px;flex:1;text-align:center}.art-slots .chosen{background:var(--art-ink);color:var(--art-bg)}.art-pipeline{display:grid;grid-template-columns:1fr 1fr;gap:13px}.art-pipeline small{font-size:8px;letter-spacing:.5px}.art-pipeline span{display:block;background:#ffffff08;border:1px solid #ffffff13;border-radius:4px;padding:10px 7px;font-size:9px;margin-top:10px}.art-pipeline i{display:inline-block;font-size:8px;font-style:normal;background:#ffffff12;border-radius:50%;padding:4px}.art-pipeline b{display:block;font-size:8px;font-weight:400;margin-top:8px;opacity:.7}.art-form strong{display:block;font-size:11px;margin-bottom:10px}.art-form span{display:block;font-size:8px;margin:7px 0 4px}.art-form i{display:block;font-size:9px;font-style:normal;border:1px solid #ffffff19;border-radius:4px;padding:6px;background:#ffffff05}.art-payment{display:flex;align-items:center;gap:15px;padding:6px}.art-payment-check{width:35px;height:35px;border-radius:50%;display:grid;place-items:center;background:#ffffff10;font-size:18px}.art-payment small{display:block;font-size:8px;letter-spacing:.8px}.art-payment strong{display:block;font-size:30px;font-weight:500;margin:3px 0}.art-payment div>span{font-size:9px;opacity:.7}.art-review{text-align:center;padding:8px}.art-review>span{letter-spacing:4px;display:block;font-size:20px}.art-review strong{display:block;font-size:13px;font-weight:500;margin:9px 0}.art-review small{font-size:9px;opacity:.7}.art-qr{display:flex;gap:18px;align-items:center}.qr-shape{font-size:70px;line-height:1.2;border:1px solid #ffffff20;border-radius:5px;padding:0 6px}.art-qr strong{display:block;font-size:12px}.art-qr small{display:block;font-size:10px;margin-top:8px;opacity:.7}.art-qr b{font-size:24px;font-weight:400}.art-chat>span{display:block;font-size:9px;padding:9px;background:#ffffff09;border-radius:6px;margin-bottom:8px;width:90%}.art-chat>span:nth-child(2){margin-left:auto;background:#b0dbbc20}.art-chat small{font-size:8px;display:block;text-align:center;opacity:.7}
.hm-product-art,.hm-product-art *{color:var(--art-ink)!important}.hm-product-art{height:180px!important;border-radius:0!important}.hm-art-crm,.hm-art-forms{--art-bg:#252135;--art-glow:#9884dd40;--art-ink:#d5caef;--art-card:#353046dd}.hm-art-appointments{--art-bg:#192a34;--art-glow:#81b9d540;--art-ink:#c1ddeb;--art-card:#263d49dd}.hm-art-payments,.hm-art-service{--art-bg:#302b20;--art-glow:#c9b57635;--art-ink:#e5d8b3;--art-card:#403c2bdd}.hm-product-art .art-window strong{font-size:13px}.hm-product-art .art-payment strong{font-size:19px}.hm-product-copy{background:linear-gradient(140deg,color-mix(in srgb,var(--raised) 40%,transparent),var(--panel))}.hm-product-bottom{border-top:1px solid var(--line);padding-top:15px}.hm-product-meta{font-size:10px}.hm-badge{font-size:9px;border:1px solid color-mix(in srgb,var(--green) 25%,transparent);color:var(--green);padding:2px 6px;border-radius:4px}.hm-market-controls{padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:24px 0}.hm-market-controls label{font-size:11px}.hm-market-controls input,.hm-market-controls select{min-height:38px;font-size:12px}.hm-market-controls button{font-size:12px}.hm-market-how{margin-top:28px!important;border-top:1px solid var(--line);padding-top:24px}.hm-market-how h3{font-size:14px!important}.hm-market-how p{font-size:12px!important}
.hm-package-workspace #package-steps{display:flex;gap:24px;padding:0;margin:25px 0 32px;border:0}.hm-package-workspace #package-steps button{padding:0;display:flex;gap:10px;align-items:center;border:0;background:transparent;box-shadow:none;font-size:12px;color:var(--muted);min-height:40px}.hm-package-workspace #package-steps button>span:first-child{border:1px solid var(--line);border-radius:50%;width:28px;height:28px;display:grid;place-items:center;flex-shrink:0}.hm-package-workspace #package-steps button[aria-current]{color:var(--text);outline:0}.hm-package-workspace #package-steps button[aria-current]>span:first-child{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}.hm-package-workspace #package-steps button:focus-visible{outline:2px solid var(--focus);outline-offset:5px}.hm-package-workspace .package-guided fieldset.module{border:0;background:transparent;box-shadow:none}.hm-package-workspace .package-guided .form-row{border:0;padding:14px 0}.hm-package-workspace .package-guided fieldset.module>h2{padding:0 0 16px;font-size:22px;border:0}.hm-package-workspace .package-preview{padding:28px;background:var(--panel);border-radius:12px;box-shadow:inset 0 1px 0 #ffffff15}.hm-package-workspace .package-preview h2{font-size:20px}.hm-package-workspace .package-preview li{font-size:12px}.hm-package-workspace #package-step-controls{border-top:1px solid var(--line);padding-top:20px}
@media(max-width:760px){.hm-package-workspace #package-steps{gap:14px;flex-wrap:wrap}.hm-package-workspace #package-steps button{font-size:11px}.hm-package-workspace .package-preview{padding:20px}.hm-product-grid .hm-product-card{max-width:none}}

.reference-authenticated .hm-unified-header .reference-menu{display:none}.reference-nav-find{margin:0 0 10px}.reference-nav-find>summary{font-size:11px;color:var(--muted);padding:5px 12px;min-height:30px}.reference-nav-find .hm-nav-search{font-size:0}.reference-nav-find input{font-size:11px}.hm-navigation-drawer>.hm-nav-group:first-of-type>.hm-nav-label{display:none}.hm-schedule .section-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 16px;gap:12px}.hm-schedule .section-heading h2{margin:0 0 4px;font-size:16px}.hm-schedule .section-heading p{margin:0;font-size:11px}.hm-schedule .team-filter{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.hm-schedule .team-filter .schedule-scope{display:flex;align-items:center;gap:6px;margin:0!important}.hm-schedule .team-filter label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.hm-schedule .team-filter select{min-width:0;min-height:34px;font-size:11px;width:130px}.hm-schedule .next-session p{margin:7px 0}.hm-schedule .next-session h3{margin:0 0 4px}.hm-schedule .rail-title h2{margin:0}.hm-schedule .calendar-toolbar .date-range{font-size:11px}
@media(max-width:760px){.reference-authenticated .hm-unified-header .reference-menu{display:inline-flex}.hm-schedule .section-heading{align-items:flex-start;flex-direction:column}.hm-schedule .team-filter{width:100%}.hm-schedule .team-filter select{width:115px}.reference-crumb{max-width:40vw}}

/* Settings and hubs share the prototype's section navigation and quiet rows. */
.reference-settings-layout{display:grid;grid-template-columns:175px minmax(0,760px);gap:38px;align-items:start}.reference-settings-layout>nav{display:grid;gap:5px;position:sticky;top:96px}.reference-settings-layout>nav>a{padding:12px 14px;min-height:44px;font-size:13px;color:var(--muted);border-radius:6px}.reference-settings-layout>nav>a:hover{background:var(--raised);color:var(--text)}.reference-settings-layout section{scroll-margin-top:95px;margin-bottom:24px}.reference-settings-layout header{padding-bottom:17px;border-bottom:1px solid var(--line)}.reference-settings-layout h2{font-size:18px;margin:0 0 6px}.reference-settings-layout p{font-size:14px;margin:0;color:var(--muted)}.reference-setting-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;border-bottom:1px solid var(--line);color:var(--text)!important}.reference-setting-row strong{font-size:14px;font-weight:600}.reference-setting-row small{display:block;font-size:13px;line-height:1.6;color:var(--muted);margin-top:6px}.reference-setting-row>span:last-child{font-size:11px;white-space:nowrap}.reference-setting-row form{margin:0}.reference-setting-row:hover{text-decoration:none}.reference-setting-row:hover strong{color:var(--accent)}.reference-hub-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;scroll-margin-top:96px}.reference-hub-sections .hm-hub-section{margin:0;padding:22px;border:1px solid var(--line);border-radius:9px;background:var(--panel)}.reference-hub-sections .hm-hub-grid{display:block}.reference-hub-sections h2{margin:0 0 8px}.reference-hub-sections .hm-hub-link:last-child{border-bottom:0;padding-bottom:0}.reference-revenue>summary{font-size:15px;padding:8px}.reference-revenue>.revenue-panel{border:0;margin:18px 0 0;padding:0;background:transparent;box-shadow:none}.hm-dashboard .dashboard-grid{margin:26px 0}.hm-schedule .week-body{max-height:none}.hm-schedule .event{min-height:0;padding:6px 7px;overflow:hidden}.hm-schedule .event strong{font-size:10px}.hm-schedule .event .event-time,.hm-schedule .event .event-meta{font-size:9px}.hm-schedule .event:focus-visible{z-index:5}.reference-authenticated .hm-sidebar .reference-profile{padding-top:12px}.reference-authenticated .hm-sidebar .reference-profile>a{margin-top:0}
@media(max-width:900px){.reference-settings-layout{grid-template-columns:140px minmax(0,1fr);gap:22px}.reference-hub-sections{grid-template-columns:1fr}}@media(max-width:760px){.reference-settings-layout{display:block}.reference-settings-layout>nav{position:static;display:flex;overflow:auto;gap:4px;margin-bottom:24px;border-bottom:1px solid var(--line)}.reference-settings-layout>nav>a{padding:12px;white-space:nowrap}.reference-setting-row{gap:12px}.reference-setting-row small{font-size:13px}.reference-hub-sections .hm-hub-section{padding:18px}}

.reference-menu-open{overflow:hidden}

.hm-platform .hm-product-art{background:radial-gradient(ellipse at 75% 10%,var(--art-glow),transparent 65%),var(--art-bg)!important}.hm-platform .hm-market-controls{padding:18px 0;margin:24px 0;gap:12px}.hm-platform .hm-market-controls input,.hm-platform .hm-market-controls select,.hm-platform .hm-market-controls button{height:40px;min-height:40px;font-size:12px}.hm-platform .hm-market-controls label{font-size:11px;margin-bottom:8px}.hm-platform .hm-results-heading h2{font-size:17px}.hm-platform .hm-product-card .hm-product-copy>p{font-size:12px}.hm-platform .hm-product-meta,.hm-platform .hm-badge{font-size:10px}.hm-platform .hm-product-card{padding-bottom:0;border:1px solid var(--line);overflow:hidden}.hm-platform .hm-product-copy h2,.hm-platform .hm-product-copy h3{font-size:19px!important}.hm-platform .hm-product-bottom strong{font-size:16px}.hm-platform .hm-product-copy .hm-for{font-size:11px}.hm-platform .hm-market-hero{padding:0 0 16px}.hm-platform .hm-market-hero>p:not(.eyebrow){font-size:12px}

.hm-product-art .art-slots .chosen{color:var(--art-bg)!important}

.reference-authenticated .hm-unified-header{flex-shrink:0;min-height:72px}.hm-dashboard .booking-task-grid{border-block:1px solid var(--line);gap:0;background:transparent}.hm-dashboard .booking-task-grid .booking-task{border:0;background:transparent;box-shadow:none;border-right:1px solid var(--line);border-radius:0;padding:20px 24px}.hm-dashboard .booking-task-grid .booking-task:last-child{border:0}.hm-dashboard .booking-task strong{font-size:14px;color:var(--text)}.hm-dashboard .booking-task p{font-size:12px}.hm-dashboard .metrics article{min-height:130px}.hm-dashboard .metrics strong{margin:10px 0}.hm-dashboard .reference-revenue,.hm-dashboard details.panel{padding:16px 20px;margin-top:18px}.hm-dashboard .reference-revenue>summary{padding:0}.hm-platform .reference-hub-sections{margin-top:26px}
@media(max-width:760px){.reference-authenticated .hm-unified-header{min-height:64px}.hm-dashboard .booking-task-grid .booking-task{border-right:0;border-bottom:1px solid var(--line);padding:16px 0}}

.hm-team-workspace .hm-team-heading{gap:20px;margin-bottom:22px}.hm-team-workspace .hm-team-heading p{font-size:12px;margin:8px 0}.hm-team-workspace .hm-team-heading .booking-row-actions{display:flex;gap:8px;flex-wrap:wrap}.hm-team-workspace .hm-team-heading a{font-size:12px;min-height:40px}.hm-team-workspace .hm-team-search{display:flex;align-items:end;gap:10px}.hm-team-workspace .hm-team-search label{flex:1;min-width:0;font-size:11px}.hm-team-workspace .hm-team-search input{min-width:0;width:100%;height:40px;min-height:40px;font-size:12px}.hm-team-workspace .hm-team-search button{height:40px;min-height:40px;font-size:12px}.hm-team-workspace .hm-team-session{border-bottom:1px solid var(--line)}.hm-team-workspace .hm-team-session h3{font-size:15px}
@media(max-width:760px){.hm-team-workspace .hm-team-heading{margin-bottom:16px;gap:12px}.hm-team-workspace .hm-team-heading .booking-row-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.hm-team-workspace .hm-team-heading a{padding:9px 10px;font-size:11px;min-height:38px}.hm-team-workspace .hm-team-stats>a{min-height:76px;padding:12px}.hm-team-workspace .hm-team-stats strong{font-size:23px;margin-bottom:5px}.hm-team-workspace .hm-team-stats>div strong{font-size:11px}.hm-team-workspace .hm-team-stats span{font-size:11px}.hm-team-workspace .hm-team-search{margin-bottom:16px}.hm-team-workspace .hm-page-tabs{margin:14px 0}.hm-team-workspace .hm-team-search button{width:auto}.hm-team-workspace .hm-team-session{padding:16px}}

.reference-payment-summary.card{padding:0;border:0;background:transparent;box-shadow:none}.reference-payment-summary h2{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.reference-payment-summary>p{font-size:11px;margin:10px 0}.reference-payment-summary .payment-metrics{padding:15px 0;margin:14px 0;gap:18px 0;grid-template-columns:repeat(3,minmax(0,1fr))}.reference-payment-summary .payment-metrics>div{padding:0 18px}.reference-payment-summary .payment-metrics>div:nth-child(3n+1){padding-left:0}.reference-payment-summary .payment-metrics dd{font-size:25px;margin-top:8px}.reference-payment-summary .payment-metrics>div:nth-child(3n){border-right:0}
@media(max-width:1050px){.reference-home .home-layout{grid-template-columns:1fr}.reference-home .home-rail{padding:0;border:0;min-width:0}.reference-home .home-session{min-width:0}.reference-home .home-session-count{display:none}}@media(max-width:760px){.reference-payment-summary .payment-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.reference-payment-summary .payment-metrics>div{padding:0 12px;border-right:0}.reference-payment-summary .payment-metrics>div:nth-child(2n+1){padding-left:0}.reference-payment-summary .payment-metrics>div:nth-child(2n){padding-left:12px;border-left:1px solid var(--line)}}

/* Shared material finish, kept after layout rules so page structure stays stable. */
body.reference-authenticated{background-image:radial-gradient(ellipse at 90% 0%,#47766b18,transparent 48%);background-attachment:fixed}
.reference-authenticated .hm-sidebar{background:linear-gradient(155deg,color-mix(in srgb,var(--side) 94%,#69897c),var(--side) 65%);box-shadow:inset -1px 0 #ffffff08}
.reference-authenticated .hm-unified-header{background:color-mix(in srgb,var(--side) 86%,transparent);backdrop-filter:blur(22px);box-shadow:inset 0 -1px #ffffff05}
.reference-authenticated .reference-business,.reference-authenticated .secondary,.reference-authenticated .account-menu>div{background-image:var(--surface-gloss);box-shadow:var(--surface-shadow)}
.reference-authenticated .hm-nav-group a.current{background:linear-gradient(100deg,color-mix(in srgb,var(--accent) 14%,transparent),#ffffff04);box-shadow:inset 2px 0 var(--accent),inset 0 1px #ffffff09}
.reference-authenticated .reference-product-nav .hm-nav-label{margin-top:10px}
.workspace-account-nav{border-top:1px solid var(--line);margin-top:20px;padding-top:12px}.workspace-account-nav>summary{padding:8px 13px;color:var(--muted);font-size:12px}.workspace-account-nav .hm-nav-label:empty{display:none}
.reference-authenticated .card,.reference-authenticated .panel,.reference-authenticated .metrics article,.reference-authenticated .reference-dialog{background-image:var(--surface-gloss);box-shadow:var(--surface-shadow)}
.reference-authenticated .primary{background:linear-gradient(150deg,#ffd176,#ffb329);box-shadow:inset 0 1px #fff0c7,0 4px 14px #d48a1725;border:1px solid #ffc862;color:#261b08}
.reference-authenticated :is(a,button){transition:background-color .16s,box-shadow .16s,border-color .16s}
@media(prefers-reduced-motion:reduce){.reference-authenticated :is(a,button){transition:none}}

/* Shared operational records: one scan line, a clear destination, quieter metadata. */
.workspace-toolbar{display:flex;align-items:end;gap:12px;flex-wrap:wrap;padding:18px 0;margin:0 0 16px;border-block:1px solid var(--line)}
.workspace-toolbar label{display:block;font-size:13px;margin-bottom:6px}.workspace-toolbar input,.workspace-toolbar select{min-height:44px;max-width:100%}.workspace-toolbar>div{min-width:0}
.workspace-records{border:1px solid var(--line);border-radius:16px;background:var(--panel);background-image:var(--surface-gloss);box-shadow:var(--surface-shadow);overflow:hidden}
.workspace-record{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:23px 24px;border-bottom:1px solid var(--line);color:var(--text);min-width:0}.workspace-record:last-child{border-bottom:0}
.workspace-record:hover{background-color:var(--raised);text-decoration:none}.workspace-record>div{min-width:0}.workspace-record h2,.workspace-record h3{margin:0 0 7px;font-size:15px;font-weight:600;overflow-wrap:anywhere}.workspace-record p{margin:0;color:var(--muted);font-size:13px;line-height:1.6}.workspace-record-meta{text-align:right;flex-shrink:0}.workspace-record-meta strong{display:block;font-size:16px;font-weight:600;margin-bottom:7px}.workspace-record-meta span{font-size:12px;color:var(--muted)}
.workspace-empty{padding:44px 28px;max-width:640px}.workspace-empty h2{font-size:20px;margin:0 0 12px}.workspace-empty p{color:var(--muted);font-size:14px;line-height:1.7;margin-bottom:20px}
@media(max-width:600px){.workspace-record{gap:12px;padding:20px 17px;align-items:flex-start}.workspace-record-meta{max-width:38%;white-space:normal}.workspace-record-meta strong{font-size:14px}.workspace-toolbar>div{flex:1 1 150px}.workspace-toolbar input,.workspace-toolbar select{width:100%}.workspace-empty{padding:28px 20px}.hm-product-settings-link{margin-left:0}}

.workspace-editor{max-width:760px;margin:24px 0;padding:26px;border:1px solid var(--line);border-radius:16px;background:var(--panel);background-image:var(--surface-gloss);box-shadow:var(--surface-shadow)}
/* Shared editor fields keep labels, help and validation together. */
.editor-fields{display:grid;gap:24px;margin-bottom:24px;min-width:0}
.editor-field{min-width:0}.editor-field[hidden]{display:none}.editor-field>label,.editor-field legend{display:block;font-size:14px;font-weight:600;margin:0 0 8px;line-height:1.5;color:var(--text)}
.editor-field fieldset{border:0;padding:0;margin:0;min-width:0}.editor-field .helptext{margin:8px 0 0;max-width:65ch}
.editor-field input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.editor-field select,.editor-field textarea{width:100%;max-width:100%;min-height:44px;box-sizing:border-box;font-size:16px;line-height:1.5;border:1px solid var(--control-border);transition:border-color 160ms ease,box-shadow 160ms ease}
.editor-field textarea{min-height:120px;resize:vertical}.editor-field input:focus-visible,.editor-field select:focus-visible,.editor-field textarea:focus-visible{outline:2px solid var(--focus);outline-offset:3px}
.editor-field--choice{padding:16px;border:1px solid var(--line);border-radius:10px;background:var(--raised)}.editor-field--choice input{min-width:20px;min-height:20px;margin:8px 10px 8px 0;accent-color:var(--accent)}
.editor-field--invalid input,.editor-field--invalid select,.editor-field--invalid textarea{border-color:var(--error-fg)}
.editor-errors{padding:18px 20px;border:1px solid var(--error-fg);border-radius:10px;margin-bottom:24px;background:var(--panel)}.editor-errors h2{font-size:16px;margin:0 0 8px}.editor-errors ul{padding-left:20px}.editor-errors a,.editor-field .errorlist{color:var(--error-fg);font-size:14px}
.editor-save-status{font-size:13px;line-height:1.6;color:var(--muted);min-height:21px;margin:12px 0 0}.editor-save-status.is-dirty{color:var(--text)}.editor-save-status.is-dirty:before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--amber);margin-right:8px}
.reference-settings-layout>nav>a[aria-current]{background:var(--raised);color:var(--text);box-shadow:inset 3px 0 var(--accent)}
@media(prefers-reduced-motion:reduce){.editor-field input,.editor-field select,.editor-field textarea{transition:none}}
.workspace-editor>p{margin:0 0 22px}.workspace-editor>p>label{display:block;margin:0 0 8px;font-size:14px;font-weight:600}.workspace-editor>p>input:not([type=checkbox]):not([type=radio]),.workspace-editor>p>select,.workspace-editor>p>textarea{width:100%;min-height:44px;max-width:100%}.workspace-editor .helptext{display:block;font-size:13px;line-height:1.6;color:var(--muted);margin-top:8px}.workspace-editor .errorlist{font-size:13px}.workspace-editor>button{margin-top:6px}
@media(max-width:600px){.workspace-editor{padding:20px 16px}.workspace-editor>button{width:100%}}

.card>.workspace-editor{padding:0;border:0;background:none;box-shadow:none;margin:0}

/* Setup and record detail share the existing workspace surfaces. */
.workspace-next{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px;margin:24px 0;border:1px solid var(--line);border-radius:14px;background:var(--panel);box-shadow:inset 0 1px 0 #ffffff08}
.workspace-next h2{margin:0 0 8px}.workspace-next p{margin:8px 0 0;color:var(--muted)}.workspace-next progress{display:block;width:100%;min-width:180px;height:8px;margin-top:14px;accent-color:var(--accent)}
.workspace-steps{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}.workspace-step{padding:24px;background:var(--panel);border:1px solid var(--line);border-radius:14px;scroll-margin-top:100px}.workspace-step header{display:flex;gap:14px;align-items:flex-start}.workspace-step h2{font-size:18px;margin:0 0 8px}.workspace-step-number{border:1px solid var(--line);border-radius:50%;width:32px;height:32px;display:grid;place-items:center;flex-shrink:0}.workspace-step p{color:var(--muted);line-height:1.65}.workspace-check{margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}.workspace-check label{display:flex;align-items:center;gap:10px;margin:12px 0}.workspace-check button{min-height:44px}
.workspace-detail{max-width:1180px;margin:auto}.workspace-back{display:inline-flex;align-items:center;min-height:44px}.workspace-detail-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,1fr);gap:24px;align-items:start}.workspace-detail .card{margin-bottom:24px;min-width:0}.workspace-detail h2{font-size:18px}.workspace-detail h3{font-size:16px}.workspace-detail-row{padding:16px 0;border-top:1px solid var(--line)}.workspace-detail-row h3{margin:0 0 8px}.workspace-detail-row span{display:block;color:var(--muted);margin-top:6px}.workspace-facts{margin:0}.workspace-facts>div{padding:12px 0;border-bottom:1px solid var(--line)}.workspace-facts dt{font-size:12px;color:var(--muted)}.workspace-facts dd{margin:6px 0 0;overflow-wrap:anywhere}.workspace-reference{overflow-wrap:anywhere;color:var(--muted);font-size:12px}.workspace-amount{font-size:28px}.workspace-detail details>summary{min-height:44px;cursor:pointer}.workspace-detail form label{display:block;margin:12px 0}.workspace-detail form button{min-height:44px}
@media(max-width:1100px){.workspace-detail-grid,.workspace-steps{grid-template-columns:1fr}}
@media(max-width:760px){.workspace-next{align-items:stretch;flex-direction:column;padding:20px}.workspace-step{padding:20px}.workspace-detail .page-heading{align-items:flex-start;gap:16px;flex-wrap:wrap}.workspace-detail .card{padding:20px}}

.workspace-step{min-width:0}.workspace-step .secondary{white-space:normal}.workspace-step header>div{min-width:0}

/* Grouped editors compose the shared field, card and theme primitives. */
.editor-sections{display:grid;gap:28px}.editor-section{min-width:0;margin:0;padding:24px 0 0;border:0;border-top:1px solid var(--line)}.editor-section legend{padding:0 12px 0 0;font-size:18px;font-weight:600;color:var(--text)}.editor-section-intro{margin:0 0 22px;color:var(--muted);font-size:14px;line-height:1.6}.editor-section .editor-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 24px}.editor-section .editor-field{margin:0;min-width:0}.editor-section .editor-field:has(textarea),.editor-section .editor-field--choice{grid-column:1/-1}.editor-question{display:flex;align-items:center;justify-content:space-between;gap:20px}.editor-question>div{min-width:0;overflow-wrap:anywhere}.editor-question-group{border-top:1px solid var(--line);padding:8px 0}.editor-question-group>summary{font-weight:600;cursor:pointer}.editor-question-group>summary>span{font-size:13px;color:var(--muted);margin-left:12px}.editor-guidance{margin:16px 0 24px;padding:12px 16px;border:1px solid var(--line);border-radius:10px;background:var(--raised)}.editor-guidance>summary{cursor:pointer;min-height:44px;align-content:center}.availability-workspace .workspace-editor{max-width:none;padding:20px 0;border:0;background:none;box-shadow:none}.availability-workspace .editor-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.availability-workspace .editor-field{min-width:0;margin:0}.availability-workspace .editor-field:has(textarea){grid-column:1/-1}.editor-field[hidden]{display:none}.editor-section .editor-field[hidden]{display:none}
@media(max-width:760px){.editor-section .editor-fields,.availability-workspace .editor-fields{grid-template-columns:1fr}.editor-section{padding-top:18px}.editor-question{gap:12px}.editor-question .button{flex-shrink:0}}

/* Page discovery and record navigation use the shared surfaces. */
.page-finder>summary{cursor:pointer;list-style:none;min-height:44px;padding:10px 14px;border:1px solid var(--control-border);border-radius:10px;background:var(--raised);color:var(--text);display:flex;align-items:center;gap:12px;box-sizing:border-box;font-size:13px}.page-finder kbd{color:var(--muted);font:inherit;font-size:11px}.page-finder-panel{position:absolute;right:16px;top:calc(100% - 4px);width:min(520px,calc(100vw - 32px));box-sizing:border-box;max-height:75vh;overflow:auto;padding:20px;border:1px solid var(--control-border);border-radius:14px;background:var(--panel);box-shadow:var(--surface-shadow);z-index:100}.page-finder-panel>label{display:block;font-size:16px;font-weight:600;margin-bottom:12px}.page-finder-panel input{width:100%;min-height:44px;box-sizing:border-box;font-size:16px;padding:10px 12px;border:1px solid var(--control-border);border-radius:8px;background:var(--raised);color:var(--text)}.page-finder-count{font-size:13px;color:var(--muted);margin:12px 0}.page-finder-results{display:grid;gap:4px}.page-finder-results>a{display:flex;flex-direction:column;gap:4px;padding:12px;border-radius:8px;color:var(--text);text-decoration:none;min-height:44px;box-sizing:border-box}.page-finder-results>a:hover,.page-finder-results>a:focus-visible{background:var(--raised);outline:2px solid var(--focus);outline-offset:-2px}.page-finder-results small{font-size:12px;color:var(--muted)}.page-finder-results>[hidden]{display:none}.page-finder-panel [hidden]{display:none}.workspace-pagination{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 0;font-size:14px;color:var(--muted)}.workspace-pagination>div{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.workspace-pagination p{margin:0}.workspace-filter-choice{display:flex;align-items:center;gap:10px;min-height:44px}.workspace-filter-choice input{width:20px;min-height:20px}.workspace-record h2,.workspace-record p{overflow-wrap:anywhere}
@media(max-width:900px){.page-finder kbd{display:none}}
@media(max-width:760px){.workspace-pagination{align-items:flex-start;flex-direction:column}.page-finder>summary{padding:8px;font-size:12px}.page-finder-panel{position:fixed;top:80px;max-height:calc(100dvh - 112px)}.workspace-toolbar{flex-wrap:wrap}.workspace-toolbar>div{min-width:0;flex:1 1 100%}}
