@layer legacy{.portal{background:var(--bg);min-height:100vh}.portal-header{border-bottom:1px solid var(--line);background:var(--glass);justify-content:space-between;align-items:center;gap:20px;padding:18px 36px;display:flex}.portal-header-actions,.portal-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.portal-header-actions>a{text-underline-offset:4px;font-size:14px;text-decoration:underline}.portal-local{text-align:center;background:var(--surface-alt);color:var(--muted);padding:12px 20px;font-size:14px;line-height:1.7}.portal-local a{color:var(--pink);text-decoration:underline}.portal-auth{grid-template-columns:1fr 1fr;align-items:center;gap:70px;max-width:1160px;margin:auto;padding:70px 40px;display:grid}.portal-welcome h1{margin-bottom:28px;font-size:clamp(50px,5vw,76px)}.portal-welcome p{max-width:400px}.portal-shell{grid-template-columns:240px minmax(0,1fr);max-width:1560px;margin:auto;display:grid}.portal-sidebar{border-right:1px solid var(--line);padding:32px 22px}.portal-person{overflow-wrap:anywhere;flex-direction:column;gap:8px;padding:0 12px 28px;display:flex}.portal-person small{color:var(--muted);letter-spacing:1.5px;font-size:14px}.portal-avatar{background:var(--gradient);width:48px;height:48px;color:var(--bg);border-radius:16px;place-items:center;margin-bottom:6px;font-size:24px;font-weight:700;display:grid}.portal-sidebar nav{flex-direction:column;gap:5px;display:flex}.portal-sidebar nav button{text-align:left;color:var(--muted);background:0 0;border:0;border-radius:12px;justify-content:space-between;min-height:48px;padding:15px 12px;font-size:14px;display:flex}.portal-sidebar nav button[aria-current=page]{background:var(--surface);color:var(--ink);box-shadow:var(--shadow);font-weight:650}.portal-sidebar nav button:hover{background:var(--surface-alt)}.portal-sidebar>p{margin:30px 12px;font-size:14px}.portal-content{min-width:0;padding:42px}.portal-title{margin-bottom:30px;padding-right:92px;position:relative}.portal-title h1{letter-spacing:-.05em;font-size:clamp(32px,3.8vw,52px);line-height:1.12}.portal-title .eyebrow{margin-bottom:12px}.portal-title>button{position:absolute;bottom:0;right:0}.portal-card{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:24px;min-width:0;margin-bottom:24px;padding:30px}.portal-card>h2{letter-spacing:-.035em;margin-bottom:18px;font-size:25px;line-height:1.3}.portal-card p{margin-bottom:20px;font-size:14px;line-height:1.8}.portal-form{flex-direction:column;gap:20px;margin:22px 0;display:flex}.portal-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));align-items:start;gap:18px;display:grid}.portal-field{flex-direction:column;gap:9px;min-width:0;font-size:14px;font-weight:550;line-height:1.5;display:flex}.portal-field>span{color:var(--muted)}.portal-field input,.portal-field select,.portal-multi>input{border:1px solid var(--line);background:var(--input);width:100%;height:50px;min-height:50px;color:var(--ink);border-radius:12px;min-width:0;padding:11px 13px;font-size:16px;line-height:24px}.portal-field input[type=checkbox],.portal-check input{width:19px;height:19px;min-height:19px;accent-color:var(--pink);flex-shrink:0}.portal-check{align-items:center;gap:10px;min-height:40px;font-size:14px;font-weight:400;line-height:1.7;display:flex}.portal-button{border:1px solid var(--line);background:var(--surface-alt);min-height:44px;color:var(--ink);white-space:normal;border-radius:12px;justify-content:center;align-items:center;padding:10px 17px;font-size:14px;font-weight:550;line-height:1.6;display:inline-flex}.portal-button:hover{border-color:var(--pink)}.portal-primary{background:var(--ink);color:var(--bg);border-color:var(--ink)}.portal-button:disabled{opacity:.6;cursor:wait}.portal-danger{color:var(--pink)}.portal-form-end{flex-wrap:wrap;align-items:center;gap:15px;display:flex}.portal-form-end p{margin:0;font-size:14px}.portal-error{background:var(--surface-alt);border-left:3px solid var(--pink);overflow-wrap:anywhere;border-radius:8px;margin:12px 0;padding:15px;font-size:14px;line-height:1.7}.portal-links{flex-wrap:wrap;gap:18px;margin:20px 0;display:flex}.portal-links button{color:var(--pink);background:0 0;border:0;min-height:44px;padding:8px 0;font-size:14px;text-decoration:underline}.portal-auth .text-link{font-size:14px}.portal-multi{border:1px solid var(--line);border-radius:16px;min-width:0;margin:0;padding:18px}.portal-multi legend{padding:0 7px;font-size:14px}.portal-multi>div{max-height:230px;margin:12px 0;overflow:auto}.portal-multi small,.portal-card small{color:var(--muted);font-size:14px;line-height:1.7}.portal-metrics{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px;margin:20px 0 26px;display:grid}.portal-metric{background:var(--surface-alt);border-radius:18px;flex-direction:column;gap:14px;min-height:120px;padding:22px;display:flex}.portal-metric span{color:var(--muted);font-size:14px}.portal-metric strong{letter-spacing:-.025em;overflow-wrap:anywhere;font-size:25px;line-height:1.25}.portal-appointment-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:16px;margin-top:20px;display:grid}.portal-appointment{border:1px solid var(--line);border-radius:18px;flex-direction:column;align-items:start;padding:22px;display:flex}.portal-appointment-top{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;width:100%;margin-bottom:18px;display:flex}.portal-appointment-top strong{font-size:14px}.portal-status{letter-spacing:.4px;border:1px solid var(--line);background:var(--surface-alt);border-radius:999px;padding:5px 9px;font-size:14px;font-weight:650;display:inline-block}.status-pending{color:var(--pink)}.portal-appointment h3{letter-spacing:-.02em;margin-bottom:10px;font-size:19px;line-height:1.45}.portal-appointment .portal-actions{margin-top:auto;padding-top:12px}.portal-appointment p{margin-bottom:12px;font-size:14px}.portal-note{border:1px solid var(--pink);background:var(--surface);overflow-wrap:anywhere;border-radius:16px;margin:20px 0;padding:20px;font-size:14px;line-height:1.8}.portal-note button{margin-left:12px}.portal-table-scroll{border:1px solid var(--line);border-radius:14px;max-width:100%;margin-top:20px;overflow:auto}.portal table{border-collapse:collapse;text-align:left;width:100%;font-size:14px;line-height:1.8}.portal th{color:var(--muted);background:var(--surface-alt);letter-spacing:.3px;font-size:14px;font-weight:600}.portal th,.portal td{border-bottom:1px solid var(--line);vertical-align:top;overflow-wrap:anywhere;min-width:100px;padding:15px 18px}.portal tr:last-child td{border-bottom:0}.portal td small{max-width:260px;display:block}.portal-empty{text-align:center;padding:30px 10px}.portal-progress{border-top:1px solid var(--line);margin-top:20px;padding-top:20px}.portal-progress progress{width:100%;height:12px;accent-color:var(--pink);margin-bottom:20px}.portal-week fieldset{border:1px solid var(--line);border-radius:14px;min-width:0;margin-bottom:16px;padding:16px}.portal-week legend{padding:0 6px}.portal-week .portal-grid{margin:12px 0}.portal-permission{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:20px;padding:8px;display:flex}.portal-permission>span{flex:1;min-width:200px;font-size:14px}.portal details{margin:20px 0;line-height:1.8}.portal summary{cursor:pointer;min-height:44px;padding:10px 0;font-size:14px;font-weight:550}.portal code{overflow-wrap:anywhere;white-space:pre-wrap;margin:15px 0;font-size:14px;line-height:2;display:block}.portal-enrollment img{background:#fff;border-radius:12px;margin:15px 0}.portal-recovery{border:1px solid var(--pink);border-radius:16px;padding:20px}.portal-session,.portal-bundle{border-top:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:15px;padding:20px 0;font-size:14px;display:flex}.portal-bundle{display:block}.portal dl{font-size:14px}.portal dd{color:var(--muted);margin-left:0}.portal-footer{border-top:1px solid var(--line);color:var(--muted);flex-wrap:wrap;justify-content:space-between;gap:16px;padding:24px 36px;font-size:14px;display:flex}.portal-footer a{text-decoration:underline}.portal-subtitle{margin:25px 0;font-size:28px}.portal-loading{text-align:center;color:var(--muted);padding:100px 30px}.portal #portal-main:focus{outline:none}@media (width<=1000px){.portal-shell{grid-template-columns:200px minmax(0,1fr)}.portal-content{padding:28px 22px}.portal-card{padding:24px}.portal-auth{gap:35px;padding:45px 30px}}@media (width<=700px){.portal-header{gap:10px;padding:16px 20px}.portal-header-actions{gap:10px}.portal-header-actions>a{font-size:14px}.portal-header .brand>span{font-size:16px}.portal-header .brand img{width:30px;height:30px}.portal-local{font-size:14px}.portal-auth{grid-template-columns:1fr;gap:24px;padding:35px 20px}.portal-welcome h1{font-size:48px}.portal-welcome>p:not(.eyebrow),.portal-welcome>.text-link{display:none}.portal-shell{display:block}.portal-sidebar{border-right:0;border-bottom:1px solid var(--line);padding:18px 0 0}.portal-person{display:none}.portal-sidebar nav{flex-direction:row;gap:8px;padding:0 16px 12px;overflow:auto}.portal-sidebar nav button{white-space:nowrap;gap:14px;min-height:44px;font-size:14px}.portal-sidebar>p{display:none}.portal-content{padding:25px 16px}.portal-card{border-radius:20px;padding:22px 18px}.portal-title{margin-bottom:24px}.portal-title h1{font-size:32px}.portal-title .eyebrow{font-size:14px}.portal-title>button{padding:8px 12px;font-size:14px}.portal-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.portal-metric{min-height:110px;padding:16px}.portal-metric strong{font-size:23px}.portal-grid{grid-template-columns:1fr}.portal-note{padding:16px;font-size:14px}.portal-note button{margin:12px 0 0;display:flex}.portal-footer{padding:22px 20px}.portal-auth .portal-card{margin-bottom:0}.portal-permission{gap:10px}.portal-permission>span{min-width:150px}.portal-appointment{padding:18px}}.portal-calendar{grid-template-columns:repeat(7,minmax(80px,1fr));gap:8px;margin:22px 0;padding:3px;display:grid;overflow:auto}.portal-calendar button{background:var(--surface-alt);border:1px solid var(--line);min-height:100px;color:var(--ink);border-radius:14px;flex-direction:column;align-items:center;gap:8px;padding:12px 8px;font-size:14px;display:flex}.portal-calendar button.selected{border-color:var(--pink)}.portal-calendar strong{font-size:16px}.portal-calendar small{font-size:14px}.booking-intro{max-width:1200px;margin:0 auto;padding:48px 28px 12px}.booking-intro h1{letter-spacing:-.05em;margin:12px 0;font-size:clamp(2.4rem,5vw,4rem)}.public-booking{grid-template-columns:1fr 1fr;align-items:start;gap:24px;max-width:1200px;margin:auto;padding:24px;display:grid}.public-booking .portal-auth{padding:0;display:block}.public-booking .portal-welcome{display:none}.public-booking fieldset{max-height:520px;overflow:auto}.portal-header-actions{flex-wrap:wrap;justify-content:flex-end}.portal-header{gap:16px}@media (width<=760px){.public-booking{grid-template-columns:1fr;padding:16px}.portal-header{align-items:flex-start}.portal-header-actions{gap:10px;font-size:.8rem}.public-booking fieldset{max-height:320px}}}.dashboard-shortcuts,.portal-toolbar,.portal-pagination{flex-wrap:wrap;align-items:center;gap:12px;margin:20px 0;display:flex}.portal-toolbar{justify-content:space-between;align-items:flex-start}.portal-toolbar>p{flex:24rem;min-width:0;margin:0}.dashboard-shortcuts>.portal-button{flex:12rem;justify-content:space-between}.portal-pagination{justify-content:space-between}.service-editor{scroll-margin-top:110px}.header-call{white-space:nowrap}@media (width<=480px){.global-header .nav-inner{gap:8px}.header-call{padding-inline:10px}.global-header .brand{max-width:calc(100% - 186px)}.global-header .header-book{min-width:52px;padding-inline:10px}.global-header .menu-toggle{width:40px;height:44px}.portal-pagination>.portal-button{flex:6rem}.global-header .nav-inner{flex-wrap:wrap}.global-header .brand{flex:96px;max-width:none}.global-header .brand img{width:24px;height:24px}.global-header .brand small{display:none}.global-header .brand{gap:6px;font-size:1rem}.global-header .menu-toggle{width:44px}.global-header .header-call{padding-inline:8px}}.portal-row-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.dashboard-shortcuts{align-items:stretch}.portal-metrics{grid-auto-rows:1fr}.portal-metric strong{margin-top:auto}.portal-owner-note{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.portal-owner-note>span{flex:24rem;min-width:0}.portal-owner-note>button{margin-left:0}