/* Account workspace — one type scale, spacing system, and action hierarchy. */
.profile-page{--ink:#202020;--muted:#737373;--line:#e7e7e7;--surface:#fff;--soft:#f5f5f5;--accent:#454545;background:#fff;color:var(--ink)}
.profile-page main{max-width:1120px;padding:48px 40px 88px}
.profile-page [hidden]{display:none!important}
.profile-page .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.profile-page-loading{display:none}
html[data-profile-page-state=loading] .profile-page-loading{display:block}
html[data-profile-page-state=loading] .profile-page-content{display:none}
.profile-loading-person{display:flex;align-items:center;gap:20px;height:98px;margin-bottom:30px}
.profile-loading-person>span{width:76px;height:76px;border-radius:50%;flex-shrink:0}
.profile-loading-person>div{flex:1;max-width:240px}
.profile-loading-person>div>span:first-child{height:30px;width:100%;margin-bottom:14px}
.profile-loading-person>div>span:last-child{height:16px;width:120px}
.profile-loading-verification{height:86px;margin-bottom:32px;border-radius:12px}
.profile-loading-tabs{display:flex;align-items:center;gap:30px;height:49px;border-bottom:1px solid var(--line);margin-bottom:30px}
.profile-loading-tabs>span{height:14px;width:100px;max-width:28%}
.profile-loading-content>span:first-child{width:165px;height:24px;margin-bottom:12px}
.profile-loading-content>span:nth-child(2){width:280px;max-width:80%;height:14px;margin-bottom:26px}
.profile-loading-content>div{height:300px;border-radius:12px;opacity:.5}
html[data-profile-page-state=ready] .profile-page-content{animation:profile-reveal .2s ease-out}
@keyframes profile-reveal{from{opacity:0}to{opacity:1}}
@media(max-width:700px){.profile-loading-person{height:77px;gap:15px;margin-bottom:24px}.profile-loading-person>span{width:60px;height:60px}.profile-loading-person>div{max-width:170px}.profile-loading-person>div>span:first-child{height:27px}.profile-loading-verification{height:129px;margin-bottom:22px}.profile-loading-tabs{height:46px;gap:24px;margin-bottom:26px}.profile-loading-content>div{height:280px}}
@media(max-width:460px){.profile-loading-person{height:141px;align-items:flex-start;padding-top:4px}.profile-loading-person>div{padding-top:8px}.profile-loading-tabs{justify-content:space-between;gap:12px}}
@media(prefers-reduced-motion:reduce){html[data-profile-page-state=ready] .profile-page-content{animation:none}}
.profile-page button,.profile-page a{touch-action:manipulation}
.profile-page button{transition:background .16s,color .16s,border-color .16s,box-shadow .16s}
.profile-page :is(button,a,summary,select):focus-visible{outline:2px solid #555;outline-offset:4px}
.profile-page .eyebrow{font-size:10px;line-height:1.4;font-weight:600;letter-spacing:.12em;color:#858585;margin:0 0 9px}
.profile-heading{display:flex;align-items:center;justify-content:space-between;gap:28px;margin:0 0 30px}
.profile-person{display:flex;align-items:center;gap:20px;min-width:0}
.profile-avatar{position:relative;display:grid;place-items:center;width:76px;height:76px;flex-shrink:0;overflow:hidden;border-radius:50%;background:#ededed;border:3px solid #fff;box-shadow:0 0 0 1px var(--line);color:var(--accent);font-size:25px;font-weight:500}
.profile-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.profile-details{min-width:0}.profile-heading h1{margin:0;font-size:32px;font-weight:600;letter-spacing:-1px;line-height:1.2;overflow-wrap:anywhere}
.profile-meta{display:flex;align-items:center;gap:12px;margin-top:10px}
.identity-pill{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--muted);line-height:20px}
.identity-pill svg{width:13px;height:13px;flex-shrink:0}
.profile-page .button,.profile-page .button.compact{display:inline-flex;align-items:center;justify-content:center;gap:10px;width:auto;min-height:42px;padding:11px 17px;border-radius:9px;font-size:13px;font-weight:500;line-height:20px;background:var(--ink);color:#fff;text-decoration:none}
.profile-page .button:hover{background:#383838}
.profile-page .find-table{flex-shrink:0;white-space:nowrap}.profile-page .find-table span{font-size:17px;font-weight:400}
.profile-page .text-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;width:auto;min-height:36px;padding:7px 9px;border-radius:7px;background:transparent;color:#555;font-size:13px;font-weight:500;line-height:20px;text-align:left}
.profile-page .text-button:hover{background:#f0f0f0;color:#222}
.profile-page .text-button.muted{color:var(--muted)}
.profile-page .text-button svg{width:16px;height:16px;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
#profile-status:empty,#verification-status:empty{display:none}#profile-status{font-size:13px;color:#a34535;margin:10px 0 0}
.profile-page .verification-card{display:flex;align-items:center;gap:16px;padding:14px 18px;margin:0 0 32px;border:1px solid #ececec;border-radius:12px;background:#fafafa;box-shadow:none}
.profile-page .verification-card.is-verified{background:#f5f9ff;border-color:#dbe8ff}
.profile-page .verification-emblem{display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;border:1px solid #e4e4e4;border-radius:50%;background:#f5f5f5;color:#555;box-shadow:none}
.profile-page .is-verified .verification-emblem{background:#005cff;border-color:#005cff;color:#fff;width:34px;height:34px}
.profile-page .verification-card h2{color:#444}
.profile-page .verification-card.is-verified h2{color:#004ecc}
.profile-page .verification-emblem>svg{width:32px;height:32px}.profile-page .verification-seal{display:none}
.profile-page .verification-copy{flex:1;min-width:0}.profile-page .verification-card h2{font-size:15px;font-weight:600;letter-spacing:-.2px;line-height:1.4;margin:0 0 3px}
.profile-page .verification-card p{font-size:13px;line-height:1.6;color:#777;margin:0}
.profile-page .verification-actions{display:flex;align-items:center;gap:16px;flex-shrink:0}
.profile-page .verification-complete{display:inline-flex;align-items:center;gap:5px;color:#004ecc;font-size:12px;font-weight:500;padding:0;border:0;white-space:nowrap}
.profile-page .verification-complete svg{width:15px;height:15px}
.profile-page #verification-start{margin:0;padding:10px 15px;font-size:13px;min-height:40px}
.profile-page .verification-disconnect{width:auto;margin:0;padding:7px 0;border:0;border-radius:0;background:none;color:#777;font-size:12px;font-weight:400}
.profile-page .verification-disconnect:hover{color:#333}
.profile-page #verification-status:not(:empty){margin-top:7px;color:#a34535}
.profile-tabs{display:flex;align-items:center;gap:30px;min-height:49px;border-bottom:1px solid var(--line);margin:0 0 30px}
.profile-tabs [role=tab]{position:relative;display:inline-flex;align-items:center;justify-content:center;width:auto;min-height:49px;padding:12px 2px 17px;margin-bottom:-1px;border:0;border-bottom:2px solid transparent;border-radius:0;background:none;color:#777;font-size:14px;font-weight:500;white-space:nowrap}
.profile-tabs [role=tab]:hover{color:var(--ink)}.profile-tabs [aria-selected=true]{color:var(--ink);border-bottom-color:#222}
.profile-tabs [role=tab]:focus-visible{outline-offset:-4px;border-radius:4px}
.account-panel{min-width:0}.account-panel:focus-visible{outline:2px solid #555;outline-offset:8px;border-radius:8px}
.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:0 0 26px}
.panel-heading h2{font-size:23px;font-weight:600;line-height:1.3;letter-spacing:-.6px;margin:0 0 7px}.panel-heading p{font-size:14px;color:var(--muted);line-height:1.6;margin:0}
.panel-heading .refresh-button{flex-shrink:0;margin-top:3px;color:var(--muted)}
.assistant-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:36px;align-items:start}
.assistant-main{min-width:0}.assistant-setup{border-left:1px solid var(--line);padding:2px 0 0 30px}
.setup-heading .eyebrow{font-size:9px;display:block;margin-bottom:12px}.setup-heading h3{font-size:17px;font-weight:600;letter-spacing:-.3px;line-height:1.4;margin:0 0 6px}.setup-heading p{font-size:13px;line-height:1.6;color:var(--muted);margin:0}
.guide-steps{list-style:none;display:grid;gap:20px;margin:25px 0;padding:0}
.guide-steps li{display:flex;gap:12px;min-width:0}.guide-step-number{display:grid;place-items:center;flex-shrink:0;width:24px;height:24px;border-radius:50%;background:#f0f0f0;border:1px solid #e5e5e5;color:#555;font-size:11px;font-weight:500;margin:0}
.guide-steps h4{font-size:13px;line-height:1.5;font-weight:600;margin:1px 0 4px}.guide-steps p,.guide-details-content p{font-size:12px;line-height:1.7;margin:0;color:var(--muted)}
.connector-address{border:1px solid var(--line);border-radius:10px;background:#fff;padding:14px;margin:0 0 20px}
.connector-address .field-label{display:block;font-size:11px;font-weight:500;color:var(--muted);margin:0 0 8px}
.connector-address code{display:block;overflow-wrap:anywhere;user-select:all;font-size:12px;line-height:1.65;color:#444}
.profile-page .copy-address{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;min-height:36px;padding:8px 10px;margin-top:13px;border:1px solid #e5e5e5;border-radius:6px;background:#fafafa;color:#444;font-size:12px;font-weight:500}
.copy-address svg{width:14px;height:14px;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}.profile-page .copy-address:hover{background:#f2f2f2}
.setup-note{font-size:12px;color:var(--muted);line-height:1.6}
.guide-details{border-top:1px solid var(--line);padding-top:3px}.guide-details>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:13px 0;cursor:pointer;font-size:12px;font-weight:500;color:#555;list-style:none}
.guide-details>summary::-webkit-details-marker{display:none}.guide-details>summary svg{width:14px;height:14px;flex-shrink:0;stroke:currentColor;stroke-width:1.5;transition:transform .15s}.guide-details[open]>summary svg{transform:rotate(180deg)}
.guide-details-content{padding:0 0 6px}.guide-details-content h4{font-size:12px;font-weight:600;margin:16px 0 6px}.guide-details-content .text-button{font-size:12px;padding-left:0;margin-top:8px;text-align:left;justify-content:flex-start}
.assistant-empty{min-height:340px;padding:50px 32px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fff;border:1px solid var(--line);border-radius:12px;text-align:center}
.empty-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:18px;border:1px solid #e7e7e7;background:#fafafa;color:#888;margin-bottom:20px}.empty-icon svg{width:32px;height:32px;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}
.assistant-empty h3{font-size:18px;font-weight:500;letter-spacing:-.35px;margin:0 0 10px}.assistant-empty p{max-width:290px;font-size:13px;line-height:1.75;color:var(--muted);margin:0}
.empty-permission{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:#888;margin-top:25px}.empty-permission svg{width:15px;height:15px;stroke:currentColor;stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round}
.connection-notice{font-size:13px;line-height:1.65;color:#555;margin:0 0 18px;padding:12px 14px;border:1px solid #e6e6e6;border-radius:8px;background:#f7f7f7}.connection-notice:empty{display:none}.connection-notice.is-error{color:#9f4939;background:#fbf2ef;border-color:#f0ded7}
.connection-list{display:grid;gap:14px;list-style:none;margin:0;padding:0}.assistant-connection{padding:22px;background:var(--surface);border:1px solid var(--line);border-radius:12px}
.connection-top{display:flex;align-items:center;gap:13px}.connection-icon{display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;border:1px solid #e5e5e5;border-radius:10px;background:#f5f5f5;color:#666;font-size:12px;font-weight:500}
.connection-copy{flex:1;min-width:0}.connection-copy h4{font-size:15px;line-height:1.4;font-weight:600;letter-spacing:-.2px;margin:0;overflow-wrap:anywhere}.connection-copy p{font-size:12px;color:var(--muted);margin:4px 0 0}
.connection-badge{display:inline-flex;align-items:center;gap:5px;font-size:11px;color:#5b7446;white-space:nowrap}.connection-badge:before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor}.connection-badge.is-disconnected{color:#888}
.scope-chips{display:flex;gap:7px;flex-wrap:wrap;margin:19px 0 16px}.scope-chips span{padding:4px 8px;border:1px solid #e9e9e9;border-radius:5px;background:#fafafa;color:#666;font-size:11px;line-height:18px}
.connection-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;border-top:1px solid #f0f0f0;padding-top:10px;margin-top:4px}.connection-actions .text-button{font-size:12px}.connection-actions .text-button.muted:hover{color:#9b4435;background:#fbf1ed}
.connection-footnote{font-size:12px;color:var(--muted);line-height:1.6;margin:18px 2px 0}
.assistant-editor{background:#fff;border:1px solid #ddd;border-radius:12px;padding:24px;margin-bottom:22px;box-shadow:0 4px 14px #00000004}.editor-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:22px}.editor-heading .eyebrow{font-size:9px}.editor-heading h3{font-size:19px;letter-spacing:-.4px;font-weight:600;margin:0;overflow-wrap:anywhere}
.profile-page .editor-close{display:grid;place-items:center;width:32px;height:32px;padding:6px;flex-shrink:0;border-radius:6px;background:#f5f5f5;color:#777}.editor-close svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}
.field-label,#xaa-scopes legend{display:block;padding:0;margin:0 0 10px;font-size:12px;font-weight:600;color:#555}
#xaa-host{appearance:auto;width:100%;font:inherit;font-size:13px;line-height:22px;border:1px solid #ddd;border-radius:7px;padding:10px 12px;background:#fafafa;color:var(--ink);margin:0 0 24px}#xaa-host:disabled{opacity:.65}
#xaa-scopes{padding:0;margin:0;border:0}.permission-option{display:flex;align-items:center;gap:13px;padding:14px;border:1px solid #e5e5e5;border-radius:8px;margin-bottom:9px;cursor:pointer}.permission-option:has(:checked){background:#f7f7f7;border-color:#aaa}.permission-option:focus-within{outline:2px solid #444;outline-offset:2px}.permission-option input{width:17px;height:17px;margin:0;flex-shrink:0;accent-color:#222}.permission-copy{display:flex;flex-direction:column;gap:4px}.permission-copy strong{font-size:13px;font-weight:500}.permission-copy>span{font-size:12px;line-height:1.5;color:var(--muted)}
.editor-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}.editor-footer p{font-size:12px;color:var(--muted);line-height:1.5;margin:0}
.profile-page .connected-apps{background:none;border:0;border-radius:0;padding:0;margin:0 0 22px;box-shadow:none}.profile-page .connected-apps>p{font-size:13px;margin:5px 0 0;color:var(--muted)}
.profile-page .profile-sign-out{width:auto;min-height:36px;padding:8px 11px;border-radius:7px;border:1px solid var(--line);background:#fff;color:#666;font-size:12px;font-weight:500;line-height:18px}.profile-page .profile-sign-out:hover{background:#f5f5f5;color:var(--ink)}
.profile-page #connected-app-list{display:grid;gap:14px;margin:0}.profile-page .connected-app{display:flex;align-items:center;gap:14px;padding:24px;border:1px solid var(--line);border-radius:12px;background:#fff}.profile-page .connected-app>div:nth-child(2){flex:1;min-width:0}.profile-page .connected-app h3{font-size:15px;margin:0;font-weight:600;letter-spacing:-.2px}.profile-page .connected-app p{font-size:12px;color:var(--muted);margin:4px 0 0}
.profile-page .connected-app .connected-app-id{font-size:11px;overflow-wrap:anywhere}.app-connection-actions{margin-left:auto}
.browser-session{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:16px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:24px}.browser-session h3{font-size:15px;font-weight:600;letter-spacing:-.2px;margin:0 0 5px}.browser-session p{font-size:12px;line-height:1.6;color:var(--muted);margin:0}.browser-session .session-detail{margin-top:7px;color:#888}.browser-session [data-sign-out-status]{grid-column:2/-1}.browser-session [data-sign-out-status]:empty{display:none}.session-icon svg{width:21px;height:21px;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}
.profile-page #reservation-list{gap:18px}.profile-page .reservation{grid-template-columns:185px minmax(0,1fr);border:1px solid var(--line);border-radius:12px;box-shadow:none}.profile-page .reservation-photo{min-height:205px;background:#eee}.profile-page .photo-fallback{color:#999;font-size:32px;font-family:inherit;font-weight:400}.profile-page .reservation-body{padding:24px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-content:center}.profile-page .reservation h3{font-size:21px;letter-spacing:-.4px;margin:0 0 8px}.profile-page .reservation p{margin:4px 0}.profile-page .reservation .reservation-time{font-size:13px;color:#555}.profile-page .reservation .guest-name{font-size:12px;color:var(--muted)}.profile-page .reservation .status{font-size:10px;font-weight:500;line-height:18px;padding:3px 8px;margin:0 0 12px;background:#eef4e6;color:#577343;border-radius:5px}.profile-page .reservation .cancelled{background:#f1f1f1;color:#888}.profile-page .reservation .request{background:#f8f2e4;color:#8b702e}
.profile-page .reservation button{min-height:36px;padding:8px 0;background:none;color:#777;font-size:12px;font-weight:500;margin-left:20px;max-width:140px}.profile-page .reservation button:hover{text-decoration:underline;text-underline-offset:3px}.profile-page .history-note{font-size:12px;color:#999;margin-top:22px}
.reservation-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:300px;padding:40px 24px;border:1px solid var(--line);border-radius:12px;background:#fff}.empty-eyebrow{font-size:11px;color:#888;letter-spacing:.02em}.reservation-empty h3{font-size:24px;letter-spacing:-.6px;font-weight:500;margin:14px 0 8px}.reservation-empty p{font-size:13px;color:var(--muted);margin:0 0 24px}
.profile-page .profile-verification-skeleton{display:none}.skeleton-block{display:block;border-radius:5px}
html[data-profile-state=loading] .profile-heading h1{width:240px;max-width:100%}html[data-profile-state=loading] .identity-pill{width:120px;height:20px}html[data-profile-state=loading] .identity-pill>*{visibility:hidden}html[data-profile-state=unavailable] .profile-meta{display:none}
html[data-verification-state=loading] .profile-verification-skeleton{display:flex}
.profile-page .profile-verification-skeleton.verification-card{background:#fafafa;border-color:#ececec;pointer-events:none}
.profile-page .profile-verification-skeleton .verification-emblem{background:#ededed;border-color:transparent}
.skeleton-text{color:transparent!important;background:#ededed;border-radius:4px;box-decoration-break:clone;-webkit-box-decoration-break:clone;user-select:none}
.connection-loading{display:grid;gap:14px}.connection-loading>div{display:flex;align-items:center;gap:14px;padding:28px 22px;border:1px solid var(--line);border-radius:12px;background:#fff}.connection-loading>div>span{width:40px;height:40px;border-radius:10px}.connection-loading>div>div{flex:1}.connection-loading>div>div>span:first-child{width:45%;height:15px;margin-bottom:12px}.connection-loading>div>div>span:last-child{width:65%;height:11px}
html[data-account-tab=assistants] #panel-reservations,html[data-account-tab=apps] #panel-reservations,html[data-account-tab=services] #panel-reservations{display:none}
@media(max-width:900px){.assistant-layout{grid-template-columns:minmax(0,1fr) 270px;gap:26px}.assistant-setup{padding-left:24px}.profile-page main{padding-left:28px;padding-right:28px}.profile-page .reservation-body{display:block}.profile-page .reservation button{margin:12px 0 0}.profile-page .verification-actions{gap:12px}.profile-page .verification-disconnect{max-width:95px;line-height:1.5}}
@media(max-width:700px){
 .profile-page main{padding:30px 20px 56px}.profile-heading{gap:18px;margin-bottom:24px}.profile-person{gap:15px}.profile-avatar{width:60px;height:60px;font-size:22px}.profile-heading h1{font-size:27px;letter-spacing:-.7px}.profile-details .eyebrow{font-size:9px;margin-bottom:7px}.profile-meta{margin-top:8px}.identity-pill{font-size:11px}.profile-page .find-table{font-size:12px;min-height:40px;padding:10px 13px}
 .profile-page .verification-card{gap:13px;padding:17px;margin-bottom:22px;flex-wrap:wrap}.profile-page .verification-card h2{font-size:14px}.profile-page .verification-card p{font-size:12px}.profile-page .verification-copy{flex-basis:calc(100% - 57px)}.profile-page .verification-actions{margin-left:57px;gap:14px}.profile-page .verification-disconnect{max-width:none;min-height:32px;font-size:12px;padding:4px 0}.profile-page .verification-complete{font-size:11px}
 .profile-tabs{gap:24px;margin-bottom:26px;min-height:46px}.profile-tabs [role=tab]{font-size:13px;min-height:46px;padding:10px 0 15px}.panel-heading{margin-bottom:22px;gap:12px}.panel-heading h2{font-size:22px}.panel-heading p{font-size:13px}.panel-heading .refresh-button{font-size:12px;padding-right:0}
 .assistant-layout{grid-template-columns:1fr;gap:30px}.assistant-setup{padding:27px 0 0;border:0;border-top:1px solid var(--line)}.setup-heading h3{font-size:18px}.guide-steps{gap:18px;margin:24px 0}.guide-steps p,.guide-details-content p{font-size:13px}.guide-steps h4{font-size:14px}.guide-steps li{gap:13px}.connector-address{padding:16px}.connector-address code{font-size:13px}.profile-page .copy-address{width:auto;min-width:135px}.guide-details>summary{font-size:13px}.guide-details-content h4{font-size:13px}
 .assistant-empty{min-height:290px;padding:32px 24px}.assistant-empty h3{font-size:18px}.empty-icon{width:52px;height:52px;margin-bottom:17px}.assistant-connection{padding:18px}.connection-top{gap:11px}.connection-copy h4{font-size:14px}.connection-badge{font-size:10px}.connection-copy p{font-size:11px}.connection-icon{width:36px;height:36px}.connection-actions{gap:6px}.connection-footnote{font-size:11px}
 .assistant-editor{padding:20px}.editor-footer{align-items:stretch;flex-direction:column;gap:13px}.editor-footer .button{width:100%}.editor-heading h3{font-size:18px}
 .profile-page .connected-app{padding:20px;display:grid;grid-template-columns:36px minmax(0,1fr);gap:12px}.app-connection-actions{grid-column:2;margin:0;justify-self:start}.profile-page .connected-app .profile-sign-out{border:0;padding:6px 0}.browser-session{padding:20px;gap:12px;grid-template-columns:36px minmax(0,1fr)}.browser-session>button{grid-column:2;justify-self:start}.browser-session .session-detail{font-size:11px}
 .profile-page .reservation{grid-template-columns:1fr}.profile-page .reservation-photo{min-height:140px;aspect-ratio:2/1}.profile-page .reservation-body{padding:20px}.profile-page .reservation h3{font-size:21px}.reservation-empty h3{font-size:22px}.reservation-empty{min-height:280px}
 html[data-profile-state=loading] .profile-heading h1{width:170px}
}
@media(max-width:460px){.profile-heading{align-items:flex-start;flex-direction:column;gap:20px}.profile-heading .find-table{margin-left:75px;margin-top:-4px}.profile-tabs{gap:0;justify-content:space-between}.profile-page .verification-actions{margin-left:0;width:100%;justify-content:space-between;padding-top:10px}.profile-page .verification-disconnect{border:0;padding-left:0}.panel-heading .refresh-button svg{display:block}}
@media(prefers-reduced-motion:reduce){.profile-page button,.guide-details>summary svg{transition:none}}

/* Reservation failures stay in context, with one clear recovery action. */
.reservation-error-icon{display:none}
.profile-page .reservation-feedback.is-error{display:flex;align-items:center;gap:18px;padding:24px;margin:0 0 24px;border:1px solid var(--line);border-radius:12px;background:#fff}
.reservation-feedback.is-error .reservation-error-icon{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border:1px solid #e8e8e8;border-radius:12px;background:#fafafa;color:#777}
.reservation-error-icon svg{width:24px;height:24px;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.profile-page .reservation-feedback.is-error #reservation-status{flex:1;min-width:0;margin:0}
.reservation-feedback h3{font-size:15px;font-weight:500;line-height:1.5;letter-spacing:-.15px;margin:0 0 5px}
.reservation-feedback p{max-width:480px;font-size:13px;line-height:1.6;color:var(--muted);margin:0}
.profile-page .reservation-retry{flex-shrink:0;min-height:40px;padding:9px 13px;border:1px solid #e5e5e5;border-radius:8px;background:#fff;color:var(--ink);font-size:12px}
.profile-page .reservation-retry:hover{background:#f7f7f7}.profile-page .reservation-retry:disabled{cursor:wait;opacity:.65}.reservation-retry[aria-busy=true] svg{visibility:hidden}
@media(max-width:700px){.profile-page .reservation-feedback.is-error{display:grid;grid-template-columns:40px minmax(0,1fr);align-items:start;gap:14px;padding:20px}.reservation-feedback.is-error .reservation-error-icon{width:40px;height:40px}.profile-page .reservation-retry{grid-column:2;justify-self:start}.reservation-feedback h3{font-size:14px}}

html[data-account-tab=apps] #panel-apps[hidden],html[data-account-tab=assistants] #panel-assistants[hidden],html[data-account-tab=services] #panel-services[hidden]{display:block!important}

/* Keep refresh labels and layout stable while the existing icon spins. */
.profile-page .refresh-button[aria-busy=true]{color:var(--muted)!important}
.profile-page .refresh-button[aria-busy=true]::after{content:none}
.profile-page .refresh-button[aria-busy=true] svg{animation:busy-spin .8s linear infinite}
@media(prefers-reduced-motion:reduce){.profile-page .refresh-button[aria-busy=true] svg{animation:none}}

.connection-icon-openai{background:#fff}
.connection-icon-openai img{display:block;width:100%;height:100%;object-fit:contain}

.booking-service-card{display:flex;gap:20px;border:1px solid #deded7;border-radius:18px;padding:24px}.service-monogram{display:grid;place-items:center;flex-shrink:0;width:48px;height:48px;border-radius:12px;background:#222;color:white;font-size:24px}.booking-service-card h3{margin:0 0 8px}.service-note{font-size:13px;color:#73776c}.service-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:18px}.profile-tabs{overflow-x:auto}.profile-tabs button{white-space:nowrap}

.profile-page .reservation.reservation-external{grid-template-columns:minmax(0,1fr)}
.profile-page .service-actions button{width:auto;margin:0;min-height:40px}
.booking-service-card>div:last-child{min-width:0;flex:1}
#booking-service-status{min-height:1.5em}

/* Match the service card's status and action geometry before its first check resolves. */
.service-state-frame{display:grid}
.service-state-frame>div{grid-area:1/1;min-width:0}
.booking-service-card[data-load-state=loading] #booking-service-content{visibility:hidden;pointer-events:none}
.booking-service-card[data-load-state=ready] .booking-service-skeleton{display:none}
#booking-service-status{margin:0;line-height:22px;min-height:22px}
.service-loading-status{display:block;width:260px;max-width:90%;height:22px;border-radius:5px}
.service-loading-actions{display:flex;align-items:center;gap:12px;margin-top:18px;min-height:42px}
.service-loading-actions>span:first-child{width:150px;height:42px;border-radius:9px}
.service-loading-actions>span:last-child{width:60px;height:20px;border-radius:5px}
.service-actions{min-height:42px}
.profile-loading-service{display:none;gap:20px;align-items:flex-start;border:1px solid #deded7;border-radius:18px;padding:24px}
.profile-loading-service>div{flex:1;min-width:0}
.service-loading-icon{width:48px;height:48px;border-radius:12px;flex-shrink:0}
.service-loading-title{width:90px;height:22px;margin-bottom:8px}
html[data-account-tab=services] .profile-loading-content>div{display:none}
html[data-account-tab=services] .profile-loading-service{display:flex}
@media(max-width:700px){
  .booking-service-card{display:block;position:relative;padding:20px}
  .booking-service-card .service-monogram{position:absolute;left:20px;top:20px;width:40px;height:40px;border-radius:10px}
  .profile-page .booking-service-card .service-monogram .blackbird-icon{width:40px;height:40px;border-radius:10px}
  .booking-service-card h3{display:flex;align-items:center;min-height:40px;margin:0 0 16px 56px}
  #booking-service-status{min-height:44px}
  .service-loading-status{height:44px;background:linear-gradient(#ededed 0 16px,transparent 16px 26px,#ededed 26px 42px,transparent 42px);animation:none}
  .service-actions{gap:10px}
  .profile-page .service-actions button{white-space:nowrap}
  html[data-account-tab=services] .profile-loading-service{display:block;position:relative;padding:20px}
  .profile-loading-service>.service-loading-icon{position:absolute;left:20px;top:20px;width:40px;height:40px;border-radius:10px}
  .profile-loading-service .service-loading-title{height:40px;margin:0 0 16px 56px}
}
