.enthy-profile { min-height:100vh; color:var(--ink); background:var(--sky-base); font-family:'Manrope',var(--sans); }
.enthy-profile .profile-topbar { position:sticky; top:0; z-index:20; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:12px; margin:0; padding:16px clamp(16px,3vw,40px) 8px; }
.enthy-profile .profile-topbar::before { content:''; position:absolute; inset:0 0 -26px; z-index:-1; pointer-events:none; backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); -webkit-mask-image:linear-gradient(to bottom,#000 58%,transparent); mask-image:linear-gradient(to bottom,#000 58%,transparent); }
.enthy-profile .profile-topbar > #global-navigation { grid-column:2; justify-self:center; min-width:0; max-width:100%; }
.enthy-profile .profile-topbar-actions { grid-column:3; justify-self:end; display:flex; align-items:center; gap:9px; min-width:0; }
.enthy-profile .profile-topbar .product-nav { grid-column:2; justify-self:center; }
.enthy-profile .global-top-actions { grid-column:3; justify-self:end; }
.enthy-profile .profile-main { position:relative; z-index:1; width:min(100%,1280px); margin:0 auto; padding:20px clamp(16px,3vw,40px) 28px; }
.enthy-profile .profile-intro { max-width:790px; padding:16px 5px 22px; }
.enthy-profile .profile-intro h1 { margin:8px 0; font-size:clamp(30px,4vw,43px); font-weight:650; letter-spacing:-.045em; line-height:1.07; }
.enthy-profile .profile-intro>p { max-width:680px; margin:0; color:var(--ink-soft); font-size:14px; line-height:1.7; }
.enthy-profile #profile-content { display:grid; gap:18px; }
.enthy-profile .profile-card,.enthy-profile .login { margin:0; padding:clamp(20px,3vw,30px); border:1px solid var(--gl-edge); border-radius:24px; background:linear-gradient(135deg,color-mix(in srgb,var(--gl-bg-2) 90%,#e4f0e8),color-mix(in srgb,var(--gl-bg-2) 95%,#e9edf1)); color:var(--ink); box-shadow:var(--gl-shadow),var(--gl-inner),0 0 0 1px var(--gl-ring); backdrop-filter:var(--gl-blur); -webkit-backdrop-filter:var(--gl-blur); }
.enthy-profile .profile-card h2,.enthy-profile .login h2 { margin:4px 0 8px; font-size:21px; letter-spacing:-.025em; }
.enthy-profile .profile-card>p,.enthy-profile .login>p { max-width:720px; color:var(--ink-soft); font-size:13px; line-height:1.65; }
.enthy-profile .profile-identity { display:grid; grid-template-columns:minmax(0,1fr) 42px; gap:10px 22px; align-items:center; }
.enthy-profile .profile-identity-copy { min-width:0; }
.enthy-profile .profile-identity-copy h2 { overflow-wrap:anywhere; }
.enthy-profile .profile-identity-copy p { margin:4px 0 0; color:var(--ink-soft); font-size:12px; }
.enthy-profile .profile-avatar-large { grid-column:2; grid-row:1; display:grid; place-items:center; width:42px; height:42px; border-radius:16px; background:linear-gradient(145deg,#367c81,#17545b); color:white; font-size:15px; font-weight:750; box-shadow:inset 0 1px #ffffff66,0 9px 20px #17545b30; }
.enthy-profile .profile-form { max-width:700px; margin-top:12px; }
.enthy-profile .profile-form label { display:block; margin:12px 0 6px; color:var(--ink); font-size:12px; font-weight:650; }
.enthy-profile .profile-form input,.enthy-profile .profile-form textarea { display:block; width:100%; min-height:44px; padding:10px 12px; border:1px solid var(--gl-edge); border-radius:13px; background:var(--gl-bg-2); color:var(--ink); font:inherit; }
.enthy-profile .login input { display:block; width:100%; min-height:44px; padding:10px 12px; border:1px solid var(--gl-edge); border-radius:13px; background:var(--reading); color:var(--ink); font:inherit; }
.enthy-profile .profile-form textarea { min-height:100px; resize:vertical; }
.enthy-profile :is(button,.btn) { min-height:42px; padding:9px 16px; border:1px solid var(--gl-edge); border-radius:999px; background:var(--gl-bg-2); color:var(--ink); font-family:inherit; font-size:12px; font-weight:600; line-height:1.3; text-decoration:none; cursor:pointer; }
.enthy-profile button.primary,.enthy-profile .btn.primary { border-color:#ffffff30; background:linear-gradient(145deg,#367c81,#17545b); color:#fff; box-shadow:0 12px 30px -12px #14484c99,inset 0 1px #ffffff55; }
.enthy-profile :is(button,a,input,textarea,summary):focus-visible { outline:3px solid #70a9a2; outline-offset:3px; }
.enthy-profile .profile-form button { margin-top:12px; }
.enthy-profile .profile-notice:empty { display:none; }
.enthy-profile .profile-notice:not(:empty) { margin:0 0 4px; padding:12px 15px; border:1px solid var(--gl-edge); border-radius:15px; background:var(--gl-bg-2); color:var(--ink); font-size:12px; line-height:1.6; }
.enthy-profile .profile-notice.is-error { color:var(--bad,#9b3934); }
.enthy-profile .subscription-return { border-color:color-mix(in srgb,var(--accent) 38%,var(--gl-edge)); }
.enthy-profile .subscription-return h2 { margin:5px 0 7px; }
.enthy-profile .subscription-return p { max-width:780px; color:var(--ink-soft); font-size:12.5px; line-height:1.65; }
.enthy-profile .subscription-return button { margin-top:6px; }
.enthy-profile .subscription-return-message { display:block; min-height:1em; margin-top:8px; color:var(--ink-soft); font-size:11.5px; }
.enthy-profile :is(#account-trial,#account-shared-plan) { margin:0; padding:clamp(19px,3vw,28px); border:1px solid var(--gl-edge); border-radius:24px; background:linear-gradient(135deg,color-mix(in srgb,var(--gl-bg-2) 88%,#e4f0e8),color-mix(in srgb,var(--gl-bg-2) 94%,#e9edf1)); box-shadow:var(--gl-shadow),var(--gl-inner),0 0 0 1px var(--gl-ring); backdrop-filter:var(--gl-blur); -webkit-backdrop-filter:var(--gl-blur); }
.enthy-profile #account-shared-plan .shared-plan-panel { margin:0; padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; backdrop-filter:none; -webkit-backdrop-filter:none; }
.enthy-profile #account-trial .trial-heading,.enthy-profile #account-shared-plan .shared-plan-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:15px; }
.enthy-profile #account-trial .trial-heading h2,.enthy-profile #account-shared-plan .shared-plan-heading h2 { margin:5px 0 8px; font-size:clamp(19px,2.5vw,27px); letter-spacing:-.035em; }
.enthy-profile #account-trial .trial-assurance,.enthy-profile #account-trial .trial-content>p,.enthy-profile #account-shared-plan .shared-plan-intro,.enthy-profile #account-shared-plan .shared-plan-active>p { color:var(--ink-soft); font-size:12px; line-height:1.65; }
.enthy-profile .trial-budget,.enthy-profile .trial-terms,.enthy-profile .shared-plan-budget { max-width:720px; margin:13px 0; padding:15px; border:1px solid var(--gl-edge); border-radius:17px; background:color-mix(in srgb,var(--gl-bg-2) 86%,transparent); }
.enthy-profile .trial-budget-head { display:flex; justify-content:space-between; align-items:baseline; gap:12px; color:var(--ink-soft); font-size:12px; }
.enthy-profile .trial-budget-head strong,.enthy-profile .shared-plan-budget strong { color:var(--ink); font-size:19px; font-variant-numeric:tabular-nums; }
.enthy-profile .trial-budget-head small,.enthy-profile .shared-plan-budget strong small { color:var(--ink-soft); font-size:11px; font-weight:500; }
.enthy-profile .trial-budget progress { width:100%; height:8px; margin:11px 0; accent-color:var(--accent); }
.enthy-profile .trial-budget>p,.enthy-profile .trial-budget details,.enthy-profile .trial-terms,.enthy-profile .trial-activity,.enthy-profile .trial-next,.enthy-profile .trial-hold,.enthy-profile .trial-missing { color:var(--ink-soft); font-size:11.5px; line-height:1.65; }
.enthy-profile .trial-budget summary,.enthy-profile .trial-activity>summary { color:var(--ink); cursor:pointer; font-weight:650; }
.enthy-profile .trial-budget-stats { display:flex; flex-wrap:wrap; gap:8px 20px; color:var(--ink-soft); font-size:11px; }
.enthy-profile .trial-budget-stats b { color:var(--ink); }
.enthy-profile .trial-consents { display:grid; gap:8px; margin:12px 0; }
.enthy-profile .trial-consents label { display:flex; align-items:flex-start; gap:8px; margin:0; color:var(--ink-soft); font-size:12px; line-height:1.55; }
.enthy-profile .trial-consents input { flex:none; margin-top:3px; accent-color:var(--accent); }
.enthy-profile .trial-start { min-height:46px; }
.enthy-profile .trial-activity { margin-top:15px; padding-top:12px; border-top:1px solid var(--gl-edge); }
.enthy-profile .trial-activity-list { display:grid; gap:8px; margin-top:10px; }
.enthy-profile .trial-activity-item { padding:10px 12px; border:1px solid var(--gl-edge); border-radius:13px; background:var(--gl-bg-2); }
.enthy-profile .trial-activity-item>div { display:flex; justify-content:space-between; flex-wrap:wrap; gap:4px 12px; }
.enthy-profile .trial-activity-item p,.enthy-profile .trial-activity-item time,.enthy-profile .trial-activity-note { color:var(--ink-soft); font-size:10.5px; }
.enthy-profile .shared-plan-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr)); gap:12px; margin-top:14px; }
.enthy-profile .shared-plan-card { display:flex; flex-direction:column; padding:17px; border:1px solid color-mix(in srgb,var(--accent) 25%,var(--gl-edge)); border-radius:18px; background:var(--gl-bg-2); }
.enthy-profile .shared-plan-price { display:flex; align-items:baseline; flex-wrap:wrap; gap:7px; }
.enthy-profile .shared-plan-price strong { color:var(--ink); font-size:29px; letter-spacing:-.04em; }
.enthy-profile .shared-plan-price span,.enthy-profile .shared-plan-card>p,.enthy-profile .shared-plan-card li,.enthy-profile .shared-plan-note { color:var(--ink-soft); font-size:11.5px; line-height:1.6; }
.enthy-profile .shared-plan-card ul { padding-left:18px; }
.enthy-profile .shared-plan-card button { width:100%; justify-content:center; margin-top:auto; }
.enthy-profile .shared-plan-actions { display:flex; flex-wrap:wrap; gap:8px 16px; margin-top:10px; }
.enthy-profile .shared-plan-message,.enthy-profile .trial-message { color:var(--accent); font-size:12px; line-height:1.6; }
.enthy-profile .contribution-panel { padding:clamp(22px,3vw,32px); border:1px solid var(--gl-edge); border-radius:24px; background:linear-gradient(140deg,color-mix(in srgb,var(--gl-bg-2) 88%,#e4f0e8),color-mix(in srgb,var(--gl-bg-2) 94%,#e9edf1)); box-shadow:var(--gl-shadow),var(--gl-inner),0 0 0 1px var(--gl-ring); backdrop-filter:var(--gl-blur); -webkit-backdrop-filter:var(--gl-blur); }
.enthy-profile .contribution-commission { min-width:0; margin:0; padding:20px; border:1px solid var(--gl-edge); border-radius:20px; background:var(--gl-bg-2); }
.enthy-profile .contribution-commission form { max-width:none; margin-top:16px; padding-top:14px; border-top:1px solid var(--hair); }
.enthy-profile .contribution-commission textarea { min-height:200px; resize:vertical; line-height:1.6; }
.enthy-profile .session-panel { margin:0; padding:clamp(20px,3vw,30px); border:1px solid var(--gl-edge); border-radius:24px; background:var(--gl-bg-2); color:var(--ink); box-shadow:var(--gl-shadow),var(--gl-inner); backdrop-filter:var(--gl-blur); -webkit-backdrop-filter:var(--gl-blur); }
.enthy-profile .session-panel p,.enthy-profile .session-panel small,.enthy-profile .session-panel .session-note { color:var(--ink-soft); }
.enthy-profile footer { color:var(--ink-soft); font-size:11.5px; line-height:1.8; }
.enthy-profile footer a { color:var(--ink-soft); }
html[data-theme="dark"] .enthy-profile .profile-card,html[data-theme="dark"] .enthy-profile .login,html[data-theme="dark"] .enthy-profile :is(#account-trial,#account-shared-plan),html[data-theme="dark"] .enthy-profile .contribution-panel { background:linear-gradient(140deg,color-mix(in srgb,var(--gl-bg-2) 90%,#174144),color-mix(in srgb,var(--gl-bg-2) 95%,#1d3036)); }
html[data-theme="dark"] .enthy-profile .profile-avatar-large { background:linear-gradient(145deg,#b3e5df,#88caca); color:#143238; }
html[data-theme="dark"] .enthy-profile button.primary,html[data-theme="dark"] .enthy-profile .btn.primary { background:linear-gradient(145deg,#b3e5df,#88caca); color:#143238; border-color:#d6ffff4a; }
body.enthy-profile #pilot-access { padding:clamp(20px,3vw,30px); border:1px solid var(--gl-edge); border-radius:24px; background:var(--gl-bg-2); color:var(--ink); box-shadow:var(--gl-shadow),var(--gl-inner); backdrop-filter:var(--gl-blur); -webkit-backdrop-filter:var(--gl-blur); }
html[data-theme="dark"] body.enthy-profile #pilot-access { background:var(--gl-bg-2); color:var(--ink); }
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
  .enthy-profile :is(.profile-topbar .product-nav,.global-profile-link,.global-theme-button,.profile-card,.login,#account-trial,#account-shared-plan,.contribution-panel,.session-panel,#pilot-access) { background:var(--reading); }
}
@media(prefers-reduced-transparency:reduce) {
  .enthy-profile .profile-topbar::before { display:none; }
  .enthy-profile :is(.profile-topbar .product-nav,.global-profile-link,.global-theme-button,.profile-card,.login,#account-trial,#account-shared-plan,.contribution-panel,.session-panel) { backdrop-filter:none; -webkit-backdrop-filter:none; background:var(--reading); }
  .enthy-profile #pilot-access { backdrop-filter:none; -webkit-backdrop-filter:none; background:var(--reading); }
}
@media(max-width:700px) {
  .enthy-profile .profile-topbar { grid-template-columns:minmax(0,1fr) auto; padding:10px 12px 6px; }
  .enthy-profile .profile-topbar > #global-navigation { grid-column:1; justify-self:start; max-width:100%; }
  .enthy-profile .profile-topbar-actions { grid-column:2; }
  .enthy-profile .profile-identity { grid-template-columns:minmax(0,1fr) 38px; gap:8px 12px; }
  .enthy-profile .profile-avatar-large { width:38px; height:38px; }
  .enthy-profile #account-trial .trial-heading,.enthy-profile #account-shared-plan .shared-plan-heading { flex-direction:column; gap:9px; }
  .enthy-profile #account-trial .trial-heading>.badge,.enthy-profile #account-shared-plan .shared-plan-heading>.badge { order:-1; }
  .enthy-profile .trial-budget-head { align-items:flex-start; flex-direction:column; gap:4px; }
  .enthy-profile .shared-plan-actions>* { flex:1 1 auto; justify-content:center; }
}

@media(min-width:760px) {
  .enthy-profile .profile-topbar { grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); }
  .enthy-profile .profile-topbar > #global-navigation { grid-column:2; grid-row:1; justify-self:center; width:max-content; max-width:100%; }
  .enthy-profile .profile-topbar-actions { grid-column:3; grid-row:1; justify-self:end; }
}
@media(max-width:759px) {
  .enthy-profile .profile-topbar { grid-template-columns:minmax(0,1fr) auto; padding:10px 12px 6px; }
  .enthy-profile .profile-topbar > #global-navigation { grid-column:1/-1; grid-row:2; justify-self:stretch; width:100%; max-width:100%; }
  .enthy-profile .profile-topbar-actions { grid-column:2; grid-row:1; justify-self:end; }
  .enthy-profile #global-navigation { justify-content:center; }
}

@media(min-width:760px) {
  body.enthy-profile { min-height:100dvh; height:auto; overflow-x:hidden; overflow-y:auto; }
  .enthy-profile .profile-main { display:flex; flex-direction:column; min-height:calc(100dvh - 70px); height:auto; padding-bottom:14px; overflow:visible; }
  .enthy-profile .profile-intro { flex:none; max-width:none; padding:8px 5px 14px; }
  .enthy-profile .profile-intro>p { max-width:790px; }
  .enthy-profile #profile-content { grid-template-columns:170px minmax(0,1fr); flex:1; align-items:start; min-height:0; gap:24px; }
  .enthy-profile .profile-sections { position:sticky; top:90px; display:flex; flex-direction:column; align-items:stretch; align-self:start; gap:7px; min-width:0; padding:5px 0; }
  .enthy-profile .profile-sections button { justify-content:flex-start; width:100%; padding-inline:13px; text-align:left; background:transparent; border-color:transparent; }
  .enthy-profile .profile-sections button:hover { background:var(--pill-bg); }
  .enthy-profile .profile-sections button[aria-current] { background:var(--gl-bg-2); border-color:var(--gl-edge); box-shadow:var(--gl-inner); }
  .enthy-profile #profile-panels { min-width:0; min-height:0; height:auto; overflow:visible; }
  .enthy-profile #profile-panels>[data-profile-panel] { margin:0; }
  .enthy-profile #profile-panels>[data-profile-panel]>section+section { margin-top:16px; }
  .enthy-profile [data-profile-panel][hidden] { display:none!important; }
}
@media(min-width:760px) {
  .enthy-profile #profile-content:has(.auth-shell) { display:block; flex:1; height:auto; min-height:0; overflow:visible; }
  .enthy-profile #profile-content:has(.auth-shell) .auth-shell { margin-top:8px; }
}
@media(max-width:759px) {
  body.enthy-profile { height:auto; min-height:100vh; overflow:auto; }
  .enthy-profile .profile-main { display:block; height:auto; min-height:0; overflow:visible; }
  .enthy-profile #profile-content { display:grid; grid-template-columns:minmax(0,1fr); height:auto; min-height:0; overflow:visible; }
  .enthy-profile .profile-sections { display:flex; flex-direction:row; flex-wrap:wrap; gap:7px; }
  .enthy-profile .profile-sections button { flex:1 1 auto; }
  .enthy-profile #profile-panels { height:auto; min-height:0; overflow:visible; }
  .enthy-profile [data-profile-panel][hidden] { display:none!important; }
}

/* One compact plan surface. Only the document scrolls; controls stay nearby. */
.enthy-profile .profile-intro { padding-bottom:20px; }
.enthy-profile .profile-intro h1 { font-size:32px; }
.enthy-profile footer { margin-top:26px; padding:12px 0; }
/* Push the footer to the bottom of the viewport once there's room for it to matter. */
@media(min-width:760px) { .enthy-profile footer { margin-top:auto; } }
/* Match the Studio's plain 40x40 circle: the generic profile button rule above
   outranks the shared glass style at equal specificity by coming later, so beat it back. */
.enthy-profile .profile-topbar-actions .global-theme-button { min-height:0; padding:0; border-radius:50%; }
.enthy-profile #account-shared-plan .plan-current-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.enthy-profile #account-shared-plan h2 { margin:5px 0 0; font-size:29px; letter-spacing:-.04em; }
.enthy-profile .plan-status { padding:6px 11px; border:1px solid var(--gl-edge); border-radius:999px; font-size:11px; color:var(--ink-soft); }
.enthy-profile .plan-status.is-active { background:color-mix(in srgb,#75b5a4 14%,transparent); color:var(--ink); }
.enthy-profile .plan-status.is-active::before { content:''; display:inline-block; width:6px; height:6px; margin-right:7px; border-radius:50%; background:#408a78; }
.enthy-profile .plan-meter { margin:25px 0 12px; }
.enthy-profile .plan-meter-label { display:flex; align-items:baseline; justify-content:space-between; gap:12px; font-size:12px; color:var(--ink-soft); }
.enthy-profile .plan-meter-label strong { font-size:20px; font-variant-numeric:tabular-nums; color:var(--ink); }
.enthy-profile .plan-meter-label small { font-size:11px; font-weight:500; color:var(--ink-soft); }
.enthy-profile .plan-meter progress { display:block; width:100%; height:8px; margin:12px 0 8px; border:0; border-radius:999px; overflow:hidden; accent-color:#438f87; background:color-mix(in srgb,var(--ink) 8%,transparent); }
.enthy-profile .plan-meter progress::-webkit-progress-bar { background:color-mix(in srgb,var(--ink) 8%,transparent); }
.enthy-profile .plan-meter progress::-webkit-progress-value { background:linear-gradient(90deg,#84baa7,#387e85); border-radius:999px; }
.enthy-profile .plan-meter progress::-moz-progress-bar { background:linear-gradient(90deg,#84baa7,#387e85); border-radius:999px; }
.enthy-profile .plan-reserved,.enthy-profile .plan-current-footer,.enthy-profile .plan-quiet { color:var(--ink-soft); font-size:11px; line-height:1.5; }
.enthy-profile .plan-current-footer { display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; }
.enthy-profile .plan-current-footer a { color:inherit; }
.enthy-profile .plan-options-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:25px 0 12px; padding-top:20px; border-top:1px solid var(--gl-edge); }
.enthy-profile .plan-options-heading h3 { font-size:13px; font-weight:600; margin:0; }
.enthy-profile .plan-options-heading>span { font-size:10px; color:var(--ink-soft); }
.enthy-profile .plan-options { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.enthy-profile .plan-option { min-width:0; padding:17px; border:1px solid var(--gl-edge); border-radius:20px; background:color-mix(in srgb,var(--gl-bg) 70%,transparent); box-shadow:var(--gl-inner); }
.enthy-profile .plan-option h3 { margin:0 0 9px; font-size:17px; }
.enthy-profile .plan-option p { margin:8px 0; color:var(--ink-soft); font-size:11px; }
.enthy-profile .plan-option-price { display:flex; align-items:baseline; gap:6px; flex-wrap:wrap; }
.enthy-profile .plan-option-price strong { color:var(--ink); font-size:27px; font-weight:650; letter-spacing:-.04em; }
.enthy-profile .plan-option button { margin-top:8px; width:100%; }
.enthy-profile .plan-option button:disabled { cursor:default; opacity:.65; }
.enthy-profile .plan-message { font-size:12px; color:var(--ink-soft); }
.enthy-profile .plan-message:empty { display:none; }
.enthy-profile .plan-setup-dialog { max-width:min(620px,calc(100% - 24px)); max-height:85dvh; overflow:auto; padding:24px; border:1px solid var(--gl-edge); border-radius:24px; color:var(--ink); background:var(--reading); }
.enthy-profile .plan-setup-dialog::backdrop { background:#142b3655; backdrop-filter:blur(8px); }
.enthy-profile .plan-dialog-close { display:block; margin-left:auto; }
@media(max-width:480px) {
  .enthy-profile .plan-meter-label { align-items:flex-start; flex-direction:column; gap:5px; }
  .enthy-profile .plan-options { gap:8px; }
  .enthy-profile .plan-option { padding:12px; }
  .enthy-profile .plan-option-price strong { font-size:23px; }
  .enthy-profile .plan-option button { padding-inline:7px; font-size:11px; }
}
