/* Local profile and authentication preview. The production account is not used. */
.profile-content{padding:4px 0 28px;color:var(--ink)}
.profile-content .profile-page-title{font-size:22px;line-height:1.2;font-weight:600;letter-spacing:-.04em;margin:0 0 23px}
.profile-menu-group{display:grid;background:#f4f4f5;border-radius:18px;overflow:hidden;margin:0 0 15px}
.profile-menu-row{display:flex;align-items:center;gap:12px;min-height:61px;width:100%;padding:12px 15px;text-align:left;color:var(--ink);position:relative}
.profile-menu-row+.profile-menu-row:before{content:'';position:absolute;left:61px;right:15px;top:0;height:1px;background:#e6e6e8}
.profile-menu-row:hover{background:#ebebee}.profile-menu-row:focus-visible{outline-offset:-3px}
.profile-menu-icon{display:grid;place-items:center;width:33px;height:33px;flex:0 0 33px;border-radius:50%;color:#fff;background:#6a6b72}
.profile-menu-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7}
.profile-icon-saved{background:#779ce9}.profile-icon-recent{background:#a28acb}.profile-icon-bookings{background:#db84a7}.profile-icon-support{background:#59a58d}.profile-icon-documents{background:#8d929c}
.profile-row-label{font-size:14px;line-height:1.35;font-weight:500;letter-spacing:-.025em;flex:1;min-width:0}
.profile-row-count{font-size:12px;font-variant-numeric:tabular-nums;color:var(--secondary)}
.profile-chevron{height:15px;width:15px;flex:0 0 15px;color:#a0a0a6}
.profile-local-note,.profile-page-note{font-size:12px;line-height:1.6;color:var(--secondary);margin:21px 2px 0;max-width:50ch}
.profile-page-note{margin:0 0 22px}
.profile-subheader{display:flex;align-items:center;gap:10px;margin-bottom:22px}
.profile-subheader .profile-page-title{font-size:20px;margin:0}
.profile-back{width:36px;height:36px;display:grid;place-items:center;flex:none;border-radius:50%;background:var(--soft)}
.profile-back svg{width:19px;height:19px}
.profile-blank,.profile-info{background:#f4f4f5;border-radius:18px;padding:22px}
.profile-blank>p,.profile-info>p{font-size:14px;line-height:1.6;color:var(--secondary);margin:0}
.profile-blank .profile-primary{margin-top:20px}
.profile-primary,.profile-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:11px 15px;border-radius:11px;font-size:13px;line-height:1.35;font-weight:550;text-align:center}
.profile-primary{background:#181818;color:#fff;width:100%;border:1px solid #181818}
.profile-secondary{background:var(--soft);color:var(--ink);border:1px solid var(--line)}
.profile-primary:hover{background:#303030}.profile-secondary:hover{background:var(--line)}
.profile-primary[disabled],.profile-secondary[disabled]{opacity:.6;cursor:wait}
a.profile-primary{box-sizing:border-box;text-decoration:none}
.profile-auth-body>.profile-secondary{margin-top:12px}
.guest-signin.is-authenticated{padding:0;border:0;background:transparent;border-radius:50%;width:40px;height:40px;flex:none}
.verified-avatar{display:block;width:38px;height:38px;object-fit:cover;border-radius:50%}
.verified-avatar-fallback{display:grid;place-items:center;background:var(--soft);color:var(--ink);font-size:18px;font-weight:600}
.profile-section-title{font-size:16px;font-weight:600;margin:27px 0 14px;letter-spacing:-.03em}
.profile-appointment{border:1px solid var(--line);border-radius:16px;padding:18px;margin:0 0 12px}
.profile-appointment-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.profile-appointment h3{font-size:15px;line-height:1.35;font-weight:600;letter-spacing:-.025em}
.profile-status{font-size:10px;line-height:1.3;white-space:nowrap;color:var(--secondary);border-radius:6px;background:var(--soft);padding:5px 7px}
.profile-status.is-cancelled{color:var(--secondary)}
.profile-time{font-size:13px;line-height:1.5;font-weight:550;margin:12px 0}
.profile-request{font-size:13px;line-height:1.6;color:var(--secondary);white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0 16px}
.profile-draft-actions{display:flex;gap:8px;flex-wrap:wrap}
.profile-cancel-confirm{border-top:1px solid var(--line);padding-top:14px;margin-top:12px}
.profile-cancel-confirm>p{font-size:13px;margin:0 0 12px}
.profile-cancel-confirm>div{display:flex;gap:8px}
.profile-cancel-confirm .profile-primary{width:auto;flex:1}
.profile-info .profile-menu-icon{margin-bottom:18px}
.profile-info h2{font-size:18px;line-height:1.25;font-weight:600;letter-spacing:-.03em;margin:0 0 12px}
.profile-auth-dialog.app-dialog{height:auto;max-height:calc(100dvh - 32px);width:min(440px,calc(100% - 32px));margin:auto;border-radius:24px;overflow-y:auto}
.profile-auth-dialog .dialog-header{padding:12px 17px;min-height:55px}
.profile-auth-body{padding:24px 26px 28px;text-align:center}
.profile-auth-symbol{width:58px;height:58px;display:grid;place-items:center;background:#78a8da;color:#fff;border-radius:50%;margin:0 auto 18px}
.profile-auth-symbol svg{width:29px;height:29px}
.profile-preview-badge{font-size:11px;line-height:1.4;color:var(--secondary);margin:0 0 10px}
.profile-auth-body h1{font-size:24px;line-height:1.2;font-weight:600;letter-spacing:-.04em;margin:0 0 13px}
.profile-auth-description{font-size:14px;line-height:1.6;color:var(--secondary);margin:0 0 24px}
.profile-auth-footnote{font-size:11px;line-height:1.6;color:var(--secondary);margin:22px 0 0}
.profile-auth-state{display:flex;align-items:flex-start;gap:10px;border:1px solid var(--line);border-radius:14px;padding:15px;margin:0 0 20px;text-align:left}
.profile-auth-state-dot{width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:#9a9ba1;margin-top:5px}
.profile-auth-state-dot.is-preview{background:#669b83}
.profile-auth-state strong{font-size:13px;font-weight:600;line-height:1.4}
.profile-auth-state p{font-size:12px;line-height:1.5;color:var(--secondary);margin:5px 0 0}
.profile-auth-reset{font-size:12px;text-decoration:underline;text-underline-offset:3px;color:var(--secondary);min-height:40px;padding:10px 0;margin-top:5px}
[data-theme=night] .profile-menu-group,[data-theme=night] .profile-blank,[data-theme=night] .profile-info{background:#28292e}
[data-theme=night] .profile-menu-row+.profile-menu-row:before{background:#3b3c42}
[data-theme=night] .profile-menu-row:hover{background:#33353b}
[data-theme=night] .profile-primary{border-color:#666}
@media(max-width:359px){.profile-menu-row{padding:12px;gap:10px}.profile-row-label{font-size:13px}.profile-menu-row+.profile-menu-row:before{left:55px;right:12px}.profile-auth-body{padding:22px 19px}.profile-auth-body h1{font-size:22px}.profile-appointment{padding:14px}.profile-appointment-top{display:block}.profile-status{display:inline-block;margin-top:7px}.profile-draft-actions .profile-secondary{flex:1}}
@media(prefers-reduced-motion:reduce){.profile-content *,.profile-auth-dialog *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Theme is a profile preference; keep it out of the home header. */
.profile-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 23px}
.profile-toolbar[hidden]{display:none}
.profile-toolbar h2{font-size:22px;line-height:1.2;font-weight:600;letter-spacing:-.035em;margin:0}
.profile-toolbar .theme-switch{flex:none;margin:0}

/* Local preferences remain separate from access to materials and bookings. */
.profile-notifications{background:#f4f4f5;border-radius:18px;padding:18px;margin:0 0 15px}
.profile-notification-label{display:flex;align-items:flex-start;gap:12px;cursor:pointer}
.profile-notification-label input{width:20px;height:20px;flex:none;margin:0;accent-color:#252525;cursor:pointer}
.profile-notification-label span{font-size:var(--type-body);font-weight:var(--weight-medium);line-height:var(--leading-body)}
.profile-notifications>p{font-size:var(--type-body);line-height:var(--leading-body);color:var(--secondary);margin:10px 0 0 32px}
.profile-notifications>p.profile-preference-status{font-size:var(--type-caption);line-height:var(--leading-caption);margin-top:12px}
.profile-support-dialog.app-dialog{height:auto;width:min(480px,calc(100% - 28px));max-height:calc(100dvh - 28px);margin:auto;border-radius:24px;overflow-y:auto}
.profile-support-dialog .dialog-header{padding:12px 17px;min-height:55px}
.profile-support-dialog .profile-support-header{display:grid;grid-template-columns:36px 1fr 36px;gap:10px}
.profile-support-header>span{text-align:center}
.profile-support-body{padding:24px}
.profile-support-body h1{font-family:var(--font-ui);font-size:var(--type-title);font-weight:var(--weight-semibold);line-height:var(--leading-title);margin:0 0 12px}
.profile-support-intro{font-size:var(--type-body);line-height:var(--leading-body);color:var(--secondary);margin:0 0 22px}
.profile-support-field{display:grid;gap:7px;margin:0 0 20px}
.profile-support-field>span:first-child{font-size:var(--type-body);line-height:var(--leading-body);font-weight:var(--weight-medium)}
.profile-support-field input,.profile-support-field textarea{display:block;box-sizing:border-box;width:100%;min-width:0;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--page,#fff);color:var(--ink);font-size:var(--type-body-large);line-height:var(--leading-body);font-weight:var(--weight-regular)}
.profile-support-field textarea{resize:vertical;min-height:136px;max-height:300px}
.profile-support-field input:focus,.profile-support-field textarea:focus{outline:2px solid var(--ink);outline-offset:2px}
.profile-support-field small{font-size:var(--type-caption);line-height:var(--leading-caption);color:var(--secondary)}
.profile-support-field .profile-field-error{font-size:var(--type-caption);line-height:var(--leading-caption);color:#a62b34}
.profile-support-field [aria-invalid=true]{border-color:#a62b34}
.profile-support-field [hidden],.profile-support-status[hidden]{display:none}
.profile-support-status{padding:14px;background:var(--soft);border-radius:12px;font-size:var(--type-body);line-height:var(--leading-body);margin:0 0 18px}
.profile-support-status:focus{outline:2px solid var(--ink);outline-offset:2px}
.profile-document-list .profile-row-label{overflow-wrap:anywhere}
.profile-legal-document{padding:0 2px;overflow-wrap:anywhere}
.profile-legal-document .profile-legal-note{padding:14px 16px;border-radius:12px;background:var(--soft);color:var(--secondary);font-size:var(--type-caption);line-height:var(--leading-caption);margin:0 0 26px}
.profile-legal-document section{margin:0 0 28px}
.profile-legal-document h2{font-size:var(--type-heading);line-height:var(--leading-heading);font-weight:var(--weight-semibold);margin:0 0 14px}
.profile-legal-document p,.profile-legal-document li{font-size:var(--type-body-large);line-height:var(--leading-reading);font-weight:var(--weight-regular);margin:0 0 12px}
.profile-legal-document ul{margin:0;padding-left:22px}
[data-theme=night] .profile-notifications{background:#28292e}
[data-theme=night] .profile-notification-label input{accent-color:#a6b9f5}
[data-theme=night] .profile-support-field input,[data-theme=night] .profile-support-field textarea{background:#222327}
[data-theme=night] .profile-support-field .profile-field-error{color:#ffacb3}
[data-theme=night] .profile-support-field [aria-invalid=true]{border-color:#ffacb3}
@media(max-width:359px){.profile-support-body{padding:20px 17px}.profile-notifications{padding:16px}.profile-notifications>p{margin-left:0}}
@media(prefers-reduced-motion:reduce){.profile-support-dialog *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
