/* Phase 1.5 — shared application presentation. No behavior or visibility rules. */
:root{--background:var(--hl-ivory);--foreground:var(--hl-text);--primary:var(--hl-forest);--primary-foreground:var(--hl-paper);--secondary:var(--hl-sage);--muted:#edf1eb;--muted-foreground:var(--hl-muted);--accent:var(--hl-sage);--accent-foreground:var(--hl-forest-dark);--card:var(--hl-paper);--card-foreground:var(--hl-text);--popover:var(--hl-paper);--popover-foreground:var(--hl-text);--border:var(--hl-border);--input:var(--hl-border);--ring:var(--hl-forest);--ink:var(--hl-text);--ink-2:var(--hl-muted);--ocean:var(--hl-forest);--ocean-2:var(--hl-forest-dark);--cream:var(--hl-ivory);--paper:var(--hl-paper);--sand:var(--hl-beige);--terracotta:var(--hl-forest);--line:var(--hl-border);--soft:#edf1eb;--hl-error:#923d32;--hl-error-bg:#fcf0eb;--hl-success-bg:#eaf1e9}
body{background:var(--hl-ivory);color:var(--hl-text);font-family:var(--hl-sans);line-height:1.65}body h1,body h2{font-family:var(--hl-serif);font-weight:400;letter-spacing:-.02em}body :is(a,button,input,textarea,select,summary):focus-visible{outline:2px solid var(--hl-forest);outline-offset:4px}body :is(input,textarea,select){accent-color:var(--hl-forest)}body button:disabled{opacity:.55;cursor:not-allowed}body .eyebrow,body .overline{color:var(--hl-forest);font-size:12px;letter-spacing:.13em;font-weight:600}body .muted,body .account-note,body .preview-note{color:var(--hl-muted)}
body .site-header{max-width:none;min-height:88px;padding:18px clamp(20px,4vw,64px);background:var(--hl-paper);border-color:var(--hl-border);font-size:14px}body .site-header .brand{display:inline-flex;align-items:center;gap:10px;font-size:21px;font-weight:400;text-decoration:none;color:var(--hl-forest-dark)}body .site-header .brand img{width:39px;height:39px;object-fit:contain;flex-shrink:0;mix-blend-mode:multiply}body .site-header>a:last-child{font-size:14px}body .profile-topnav{gap:10px;font-size:14px}body .profile-topnav>a{padding:9px 12px;border-radius:999px;text-decoration:none}body .profile-topnav [aria-current]{background:var(--hl-sage);color:var(--hl-forest-dark);font-weight:500}
body .account-shell{max-width:680px;padding:48px 28px 80px}body .account-shell h1{font-size:clamp(32px,4vw,44px);line-height:1.18;margin:12px 0 22px}body .account-shell>p{color:var(--hl-muted);margin:16px 0}body .account-shell a:not(.brand){color:var(--hl-forest);text-underline-offset:4px}body .editor-card,body .surface{background:var(--hl-paper);border:1px solid var(--hl-border);border-radius:var(--hl-radius);box-shadow:var(--hl-shadow)}body .editor-card{padding:30px}body .editor-card h2{font-size:28px;margin:0 0 18px}body .editor-card>p{font-size:16px;color:var(--hl-muted);line-height:1.65}body .account-form,body .auth-form{gap:24px}body .auth-form{margin:28px 0}body .auth-form label{font-size:14px;font-weight:500;gap:9px}body .auth-form label:has(input[type=checkbox]){display:flex;align-items:flex-start;gap:12px}body .auth-form input[type=checkbox]{flex-shrink:0;margin-top:4px}body .auth-form p{font-size:14px;color:var(--hl-muted);margin:0}body .auth-form input:not([type=checkbox]),body .auth-form select,body .account-form input:not([type=radio]):not([type=checkbox]),body .account-form textarea,body .profile-field input,body .profile-field textarea,body .service-editor input{font-size:16px;min-height:48px;border:1px solid var(--hl-border);border-radius:var(--hl-radius-sm);background:white;color:var(--hl-text);box-shadow:none;padding:12px 14px}body .auth-form button{border-radius:999px;background:var(--hl-forest);min-height:48px;padding:12px 22px;font-size:15px}body .auth-form button[type=submit]{width:100%}body .auth-form button[type=button]{background:var(--hl-sage);color:var(--hl-forest-dark)}body .auth-form [role=status]:not(:empty),body .profile-save-notice{padding:14px 18px;border:1px solid var(--hl-border);background:var(--hl-success-bg);border-radius:var(--hl-radius-sm)}body .auth-form+nav{font-size:14px;line-height:2}body [data-slot=button]{border-radius:999px;min-height:44px;white-space:normal}body .role-choice{border-color:var(--hl-border);background:var(--hl-paper);border-radius:var(--hl-radius);padding:20px;gap:10px}body .role-choice.selected{background:var(--hl-success-bg);border-color:var(--hl-forest);padding:19px}body .role-choice span{color:var(--hl-muted)}body .form-error{background:var(--hl-error-bg);color:var(--hl-error);border:1px solid #e7c8bf}body .privacy-card{background:#faf6ef}body .privacy-card h2{font-size:26px}body .editor-card blockquote{background:var(--hl-success-bg);border-left-color:var(--hl-forest)}
body .profile-editor{max-width:1180px;padding:40px 28px 80px}body .editor-heading h1{font-size:42px}body .editor-heading p{color:var(--hl-muted)}body .profile-state{background:var(--hl-sage);color:var(--hl-forest-dark);font-size:13px}body .editor-tabs{background:var(--hl-beige);border-radius:999px;padding:5px;height:auto}body .editor-tabs button{border-radius:999px;padding:9px 18px;min-height:40px}body .editor-tabs button[data-state=active]{background:var(--hl-paper);box-shadow:var(--hl-shadow);color:var(--hl-forest)}body .image-preview{background:var(--hl-success-bg);color:var(--hl-muted);border:1px solid var(--hl-border)}body .image-edit-grid input[type=file]{background:var(--hl-ivory);border-color:var(--hl-border);border-radius:10px}body input[type=file]::file-selector-button{border:0;background:var(--hl-sage);color:var(--hl-forest-dark);border-radius:8px;padding:8px 12px;margin-right:12px;font:inherit;cursor:pointer}body .editor-actions{background:var(--hl-beige);border:1px solid var(--hl-border);border-radius:var(--hl-radius);padding:26px}body .editor-actions small{color:var(--hl-muted)}body .editor-buttons{gap:12px}body .service-editor{border-color:var(--hl-border)}
body .published-profile{max-width:1120px;padding:40px 28px 80px}body .personal-page{border-color:var(--hl-border);border-radius:20px;background:var(--hl-paper);box-shadow:var(--hl-shadow)}body .personal-banner{height:280px;background:var(--hl-sage)}body .personal-intro{padding:0 38px 30px}body .personal-photo{width:144px;height:144px;border:6px solid var(--hl-paper);margin-top:-72px;color:var(--hl-forest);background:var(--hl-beige);font-family:var(--hl-serif);font-size:48px}body .profile-role{font:500 13px var(--hl-sans);padding:6px 12px;background:var(--hl-sage);color:var(--hl-forest-dark);margin-top:20px}body .personal-intro h1{font-size:42px;letter-spacing:-.025em;margin:14px 0 12px}body .personal-practice{color:var(--hl-muted);font-size:16px}body .personal-tagline{color:var(--hl-forest-dark);font:italic 23px/1.5 var(--hl-serif);margin-top:22px}body .personal-sections{padding:0 38px 20px}body .personal-sections section{border-color:var(--hl-border);padding:30px 0}body .personal-sections h2{font-size:27px;margin-bottom:20px}body .personal-sections p{line-height:1.8;max-width:760px}body .personal-service{border-color:var(--hl-border);gap:20px}body .personal-service strong{font-weight:500;color:var(--hl-forest)}body .personal-service span{color:var(--hl-muted)}body .hl-profile-nav{display:flex;flex-wrap:wrap;gap:8px;border-top:1px solid var(--hl-border);border-bottom:1px solid var(--hl-border);padding:12px 30px;margin-bottom:0}body .hl-profile-nav a{padding:10px 12px;color:var(--hl-forest-dark);font-size:14px;text-decoration:none;border-radius:8px}body .hl-profile-nav a:hover{background:var(--hl-success-bg)}body .personal-sections section{scroll-margin-top:30px}body .profile-publication{padding:24px 0;border-color:var(--hl-border)}body .profile-publication small{color:var(--hl-muted)}body .profile-publication p{line-height:1.75;margin:12px 0}body .discussion-shell{max-width:900px;padding:40px 24px 80px}body .discussion-shell h1{font-size:36px;line-height:1.25}body .discussion-body{font-size:17px}body .notification-list{border-color:var(--hl-border);background:var(--hl-paper);box-shadow:var(--hl-shadow)}body .notification-list li+li{border-color:var(--hl-border)}body .notification-list a:hover,body .notification-unread{background:var(--hl-success-bg)}body .notification-unread{border-left-color:var(--hl-forest)}body .notification-symbol{background:var(--hl-sage);color:var(--hl-forest)}body .notification-count{background:var(--hl-forest)}body .post-attachment :is(img,video){background:var(--hl-success-bg);border-radius:12px}body .crop-modal{background:var(--hl-paper);color:var(--hl-text);border-color:var(--hl-border);border-radius:20px;box-shadow:0 24px 80px #1c242030}body .crop-modal::backdrop{background:#1c242099}body .crop-buttons button,body .crop-modal select{border-color:var(--hl-border);border-radius:10px;background:var(--hl-success-bg);color:var(--hl-forest-dark)}
/* Legacy network: the same components and tokens, existing event handlers preserved. */
body>.demo{background:var(--hl-beige);color:var(--hl-muted);font-size:12px;font-weight:400}#social{padding:34px 28px 70px}#social .social-layout{grid-template-columns:200px minmax(0,1fr) 260px;gap:24px}#social .social-layout>section{min-width:0}#social .side a{font-size:14px;font-weight:500;padding:12px 14px;border-radius:10px}#social .side a.current{background:var(--hl-sage);color:var(--hl-forest-dark)}#social .side p{font-size:13px;line-height:1.6;color:var(--hl-muted)}#social .welcome{padding:12px 0 24px;background:transparent;color:var(--hl-text);border-radius:0;margin:0}#social .welcome h1{font-size:38px;margin:12px 0}#social .welcome p{color:var(--hl-muted);font-size:16px}#social .welcome .eyebrow{color:var(--hl-forest)}#social .surface{padding:24px}#social .surface h2{font-size:27px}#social .first-steps{background:var(--hl-success-bg);padding:22px;border-color:var(--hl-border)}#social .first-steps h2{font-size:24px;margin:8px 0}#social .first-steps p{font-size:14px}#social .first-step-links{gap:10px}#social .first-step-links a{background:var(--hl-paper);border:1px solid var(--hl-border);padding:14px}#social .first-step-links strong{font-size:14px}#social .first-step-links span{font-size:13px}#social .community-surface{padding:0;border:0;background:transparent;box-shadow:none}#social .community-surface>h2{font-size:26px;margin-top:28px}#social #communityGreeting{color:var(--hl-muted);font-size:14px;margin:12px 0 20px}#social #compose{padding:24px;background:var(--hl-paper);border:1px solid var(--hl-border);border-radius:var(--hl-radius);box-shadow:var(--hl-shadow)}#social #compose label{font-size:14px;font-weight:500}#social #compose textarea{background:var(--hl-ivory);border:1px solid var(--hl-border);border-radius:12px;color:var(--hl-text)}#social #compose .muted{font-size:13px;line-height:1.6}#social #compose input{font:14px var(--hl-sans)}#social button.primary,#social button.ghost,body .primary{border-radius:999px;min-height:42px;font-size:14px}#social button.primary,body .primary{background:var(--hl-forest);color:white;border-color:var(--hl-forest)}#social button.ghost{color:var(--hl-forest-dark);background:var(--hl-success-bg);border:1px solid var(--hl-border)}#social button:hover:not(:disabled){filter:brightness(.97)}#social .chip{background:var(--hl-paper);border:1px solid var(--hl-border);font-size:14px;min-height:42px;color:var(--hl-muted)}#social .chip.active{background:var(--hl-sage);color:var(--hl-forest-dark);border-color:var(--hl-forest)}#social .community-post{background:var(--hl-paper);border:1px solid var(--hl-border);border-radius:var(--hl-radius);padding:24px;margin:18px 0;box-shadow:var(--hl-shadow)}#social .community-post>a:first-child,#social .community-post>strong:first-child{font-size:16px;font-weight:600;text-decoration:none}#social .community-post>p{line-height:1.75;margin:14px 0}#social .community-post>p.muted{font-size:13px;line-height:1.5;margin-top:5px}#social .community-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;border-top:1px solid var(--hl-border);padding-top:16px;margin-top:20px;font-size:14px}#social .community-actions>a{padding:8px 0;text-underline-offset:4px}#social .community-actions :is(a:last-child,button:last-child){font-size:13px}#social .member-directory{margin:32px 0;padding:24px;background:var(--hl-paper);border:1px solid var(--hl-border);border-radius:var(--hl-radius)}#social .member-directory h3{font:26px var(--hl-serif);margin-bottom:18px}#social .member-directory h4{font-size:14px;color:var(--hl-forest);margin:24px 0 12px}#social .member-directory>a{font-size:15px;text-decoration:none;line-height:1.5}#social .right-column .surface{padding:20px;background:#f0ece2}#social .right-column h2{font-size:23px}#social .right-column .person-link{gap:10px;font-size:14px}#social .right-column .person-link small{font-size:13px}#social .demo-examples summary{font-size:14px;color:var(--hl-muted)}#social .demo-badge{color:#705744;background:#f6efe4;border-color:#ded0bb}#social .profile-cover{background:var(--hl-forest-dark);border-radius:20px 20px 0 0}#social .profile-intro{background:var(--hl-paper);border-color:var(--hl-border)}#social .profile-nav a{background:var(--hl-success-bg)}#social .notice{background:var(--hl-beige);font-size:14px}#social .empty-state{background:var(--hl-paper);border:1px solid var(--hl-border);font-size:16px}body>footer{background:var(--hl-ivory);border-color:var(--hl-border);color:var(--hl-muted);font-size:13px}
@media(max-width:1100px){#social .social-layout{grid-template-columns:180px minmax(0,1fr)}#social .right-column{display:none}}
@media(max-width:760px){body .site-header{padding:14px 18px;min-height:72px;gap:14px}body .site-header .brand{font-size:19px}body .profile-topnav{gap:3px;width:100%;font-size:13px}body .profile-topnav>a{padding:8px}body .account-shell{padding:30px 20px 56px}body .account-shell h1{font-size:34px}body .editor-card{padding:22px}body .auth-form{padding:22px}body .auth-form label{font-size:15px}body .role-choices{grid-template-columns:1fr}body .profile-editor,body .published-profile{padding:26px 16px 60px}body .editor-heading h1{font-size:34px}body .editor-heading{display:block}body .personal-banner{height:190px}body .personal-photo{width:112px;height:112px;margin-top:-56px;font-size:38px}body .personal-intro{padding:0 22px 24px}body .personal-intro h1{font-size:33px}body .personal-tagline{font-size:21px}body .personal-sections{padding:0 22px 14px}body .personal-sections h2{font-size:25px}body .hl-profile-nav{padding:8px 12px;gap:0}body .hl-profile-nav a{font-size:14px;padding:10px}body .discussion-shell{padding:28px 16px 60px}body .discussion-shell h1{font-size:30px}body .editor-actions{padding:20px}body .notification-list a{padding:18px;gap:12px}body .notification-link{font-size:14px}#social{padding:24px 16px 50px}#social .social-layout{display:block}#social .side{position:static;display:flex;flex-wrap:wrap;gap:4px;margin-bottom:20px}#social .side a{font-size:13px;padding:10px;margin:0}#social .side p{display:none}#social .welcome h1{font-size:32px}#social .surface,#social .first-steps,#social #compose,#social .community-post,#social .member-directory{padding:20px}#social .community-surface{padding:0}#social .first-step-links{grid-template-columns:1fr}#social .first-step-links a{min-height:0;padding:12px}#social .first-step-links span{font-size:14px}#social .community-actions{gap:10px}#social .social-post p{font-size:16px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}body *{animation-duration:.01ms!important;transition-duration:.01ms!important}}
body .site-header>a.brand{font-size:21px;text-decoration:none}@media(max-width:760px){body .site-header>a.brand{font-size:19px}}
body .profile-role.professional,body .profile-role.member{background:var(--hl-sage);color:var(--hl-forest-dark)}body .site-header a{color:var(--hl-forest-dark)}
#social .social-layout>section{display:flex;flex-direction:column}#social .social-layout>section>.welcome{order:0}#social .social-layout>section>.community-surface{order:1}#social .social-layout>section>.first-steps{order:2}#social .social-layout>section>.demo-examples{order:3}#social .community-surface>h2{margin:0 0 8px}#social .composer-disclosure{margin:18px 0 24px}#social .composer-disclosure>summary{display:inline-flex;align-items:center;min-height:46px;background:var(--hl-forest);color:var(--hl-paper);font:500 15px var(--hl-sans);padding:12px 22px;border-radius:999px;cursor:pointer;list-style:none}#social .composer-disclosure>summary:before{content:'+';margin-right:12px;font-size:20px}#social .composer-disclosure[open]>summary:before{content:'−'}#social .composer-disclosure #compose{margin-top:18px}#social .community-surface>.chips{border-bottom:1px solid var(--hl-border);padding-bottom:16px}
body .image-edit-grid>div{min-width:0}body .image-edit-grid input{width:100%;min-width:0;max-width:100%}body .editor-row>div,body .service-editor>div{min-width:0}@media(max-width:700px){body .image-edit-grid,body .editor-row{grid-template-columns:minmax(0,1fr)}}

/* G80: optional consent and public notice use the established account styles. */
/* Early feedback access; removing this prompt later leaves existing menu links intact. */
#social .community-feedback-prompt{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px;margin:18px 0 22px;border:1px solid var(--hl-border);border-radius:16px;background:var(--hl-success-bg)}
#social .community-feedback-prompt>div{min-width:0}#social .community-feedback-prompt h3{margin:0 0 6px;font-family:inherit;font-size:18px;line-height:1.35;color:var(--hl-text)}
#social .community-feedback-prompt p{margin:0 0 6px;font-size:14px;line-height:1.5}#social .community-feedback-prompt small{display:block;font-size:12px;color:var(--hl-muted)}
#social .community-feedback-prompt a{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border-radius:999px;background:var(--hl-forest);color:#fff;text-align:center;text-decoration:none;font-size:14px;font-weight:600}
#social .community-feedback-prompt a:focus-visible{outline:3px solid var(--hl-text);outline-offset:4px}
@media(max-width:640px){#social .community-feedback-prompt{flex-direction:column;align-items:stretch;gap:12px;padding:16px}#social .community-feedback-prompt h3{font-size:17px}}
body .hl-consent-choice{min-width:0;border:1px solid var(--hl-border);border-radius:var(--hl-radius-sm);padding:18px;display:grid;gap:14px;background:var(--hl-success-bg)}
body .hl-consent-choice legend{font-weight:600;padding:0 6px}body .hl-consent-choice h2{font-size:21px;margin:0}body .hl-consent-choice a,body .hl-privacy-notice a{overflow-wrap:anywhere;text-decoration:underline;text-underline-offset:4px}
body .hl-privacy-notice{max-width:840px}body .hl-privacy-notice nav{display:flex;flex-wrap:wrap;gap:10px 22px;margin:24px 0}body .hl-privacy-notice nav a{min-height:44px;display:inline-flex;align-items:center}
body .hl-privacy-notice section{margin:24px 0;scroll-margin-top:110px}body .hl-privacy-notice section p+ p{margin-top:16px}body .hl-privacy-notice dt{font-weight:600;margin:22px 0 6px}body .hl-privacy-notice dd{margin:0;color:var(--hl-muted);overflow-wrap:anywhere}
@media(max-width:760px){body .hl-consent-choice{padding:14px}body .hl-privacy-notice section{padding:20px}}
