/* The existing editorial world, extended to accounts and shared work. */
:root{--accent:#99bc9e;--brand:#568c63;--width:960px;--error:#ffb5a5}
::selection{background:#426c49;color:#fff}body{overflow-wrap:anywhere}button,a{-webkit-user-select:auto}a.underlined{text-decoration:underline}a:focus-visible,button:focus-visible{outline:2px solid #b3c9ac;outline-offset:4px}form{margin:0}.outline{background:transparent;border:1px dashed #d5d8d2}.outline:hover{background:transparent;border-style:solid}.home-intro>form{flex-shrink:0}.page-lead{max-width:68ch;color:#c3c6bc;font-size:15px;line-height:1.65;margin-bottom:16px}.intro h1{max-width:24ch}.narrow{max-width:660px}.muted{color:#aeafa7}.preserve-lines{white-space:pre-line}.section-caption{font:14px/1.4 var(--sans);color:var(--muted);margin-bottom:10px}
.demo-bar{display:flex;justify-content:space-between;gap:10px;align-items:center;color:#a8b4a7;font-size:11px;border-bottom:1px solid #30362f;padding:0 0 8px;margin-bottom:8px}.demo-bar .text-button{font-size:11px;min-height:36px;padding:4px 0}.inline-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.notice-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;min-height:20px;margin-left:7px;color:var(--ink);background:#244f30;font:12px var(--sans)}.messages{margin:12px 0}.message{background:#1c291e;padding:14px 16px;margin:8px 0;font-size:14px;line-height:1.55}.message.error{background:#2d211e;color:var(--error)}.messages a{color:inherit}.errorlist{list-style:none;padding:0;margin:8px 0 14px;color:var(--error);font-size:14px;line-height:1.55}.field:has(.errorlist) input,.field:has(.errorlist) textarea{border-color:var(--error)}
.live-filters{grid-template-columns:minmax(180px,1.5fr) minmax(130px,1fr) minmax(130px,1fr) 56px}.results-heading>span{font-size:12px;color:var(--muted)}.project-description{font-size:14px}.project-facts dd,.role-line{font-size:13px}.role-line .role-label,.project-facts dt{font-size:12px}.project-row{padding:16px}.project-row:hover .project-heading a{text-decoration:underline}.pagination{display:flex;align-items:center;justify-content:center;gap:20px;margin:28px 0;color:var(--muted);font-size:13px}.detail-copy,.detail-notes>p,.participation dd,.role-item p{font-size:14px}.role-item h3{color:#a2c1a4}.role-location{margin-top:12px;color:#a7ada4;font-size:12px!important}.role-cta{margin-top:16px}.state-label{color:#b3c9ac;font-size:13px;display:inline-block;margin-top:8px}.freshness{font-size:11px;color:var(--muted);margin-top:20px}.preview-conditions{margin:20px 0;color:var(--muted);font-size:14px}.detail-bottom>.actions{gap:12px 20px}
.editor .field{margin-bottom:18px}.editor .field>label{display:block;margin-bottom:8px}.editor .check{align-items:flex-start;font-size:14px}.editor .check input{margin-top:3px;flex:none}.editor .check span{line-height:1.55}.editor .field small{max-width:65ch}.editor textarea{min-height:100px}.editor .form-grid{align-items:start}.editor .form-grid>.field{margin:0}.editor .form-grid{margin-bottom:18px}.editor-save-bar{padding:4px 0 20px}.editor-save-bar>p{font-size:12px;color:var(--muted);min-height:20px}.editor-save-bar>p.save-error{color:var(--error)}.role-editor{padding:16px 0}.role-editor+.role-editor{border-top:1px solid #3a4037}.role-editor-title{font:14px var(--sans);color:var(--muted);margin-bottom:16px}.role-editor .optional{margin-top:0}.role-editor:has(.role-delete input:checked)>.field,.role-editor:has(.role-delete input:checked)>details{opacity:.45}.privacy-hint{max-width:70ch}.account-settings{margin-top:32px;max-width:800px}.auth-layout{display:grid;grid-template-columns:1fr 1fr;gap:48px;padding:12px 0 40px}.auth-copy{color:#c3c6bc;font-size:15px;line-height:1.65;max-width:45ch}.auth-form{padding:0}.auth-form>.primary{margin-top:16px}.auth-form .text-button{margin-left:12px}
.people-controls{grid-template-columns:minmax(180px,1.6fr) 1fr auto;align-items:center;padding:10px 12px}.people-controls input,.people-controls select{min-height:44px}.person .bio,.person .ability{font-size:14px}.person-detail>h1{font:32px/1.2 var(--serif);margin-bottom:12px}.profile-facts{display:grid;gap:16px;margin:24px 0}.profile-facts>div{display:grid;grid-template-columns:140px 1fr;gap:16px}.profile-facts dt{font-size:13px;color:var(--muted)}.profile-facts dd{margin:0;font-size:14px}
.personal-nav{flex-wrap:wrap;gap:8px 24px;margin-top:20px}.personal-nav>a{color:var(--ink)}.dashboard-section{margin:32px 0;scroll-margin-top:20px}.dashboard-section>h2,.section-heading>h2{font:25px/1.2 var(--serif);margin-bottom:16px}.section-heading{display:flex;gap:20px;justify-content:space-between;align-items:center;margin-bottom:12px}.section-heading>h2{margin:0}.activity-row{display:flex;justify-content:space-between;align-items:center;gap:12px 24px;padding:14px 0;border-bottom:1px solid #30362f;font-size:14px}.activity-row>span:last-child{color:var(--muted);font-size:12px}.activity-row>a:first-child{font:19px/1.3 var(--serif)}.activity-row>.text-button{font-size:13px}.empty-copy{max-width:64ch;color:#aeb7ab;font-size:14px;line-height:1.65;padding:8px 0}.participation-row{padding:18px 0;display:flex;justify-content:space-between;align-items:flex-start;gap:24px;border-bottom:1px solid #30362f}.participation-row h3{font:21px/1.3 var(--serif);margin-bottom:8px}.participation-row p{font-size:14px}.participation-row details{max-width:62ch;margin-top:6px}.participation-row details p{color:#c3c6bc}.attention{background:#171f18;padding:20px 24px}.attention .participation-row:last-child{border:0;padding-bottom:0}.application-entry{padding:24px 0;border-bottom:1px solid #30362f}.application-entry header{margin-bottom:16px}.application-entry h3{font:23px var(--serif);margin-bottom:7px}.application-entry p{font-size:14px;max-width:70ch}.candidate-facts{display:grid;gap:8px;margin:16px 0;color:#c3c6bc}.candidate-facts span{display:inline-block;min-width:130px;color:var(--muted);font-size:12px}.about-copy p+p{margin-top:16px}details summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.copy-status{color:var(--accent);font-size:12px;margin-left:8px}footer{flex-wrap:wrap}footer>.school-footer-link{margin-left:auto}
@media(max-width:760px){.live-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 56px}.live-filters .search-wrap{grid-column:1/-1}.auth-layout{grid-template-columns:1fr;gap:24px}.auth-form{max-width:500px}.people-controls{grid-template-columns:1fr auto}.people-controls>label:first-child{grid-column:1/-1}.participation-row{flex-direction:column;gap:12px}.attention{padding:18px}.demo-bar{align-items:flex-start;flex-direction:column;gap:0}.demo-bar .inline-actions{gap:20px}}
@media(max-width:700px){.home-intro>form{margin-top:14px}.intro .inline-actions{margin-top:8px}.editor .form-grid{gap:18px}.form-grid>.field{width:100%}.activity-row{flex-wrap:wrap;gap:6px 16px}.activity-row>a:first-child{flex-basis:100%}.section-heading{align-items:flex-start;gap:12px}.section-heading>h2{font-size:23px}.section-heading button{font-size:12px}.profile-facts>div{grid-template-columns:1fr;gap:6px}.profile-facts{gap:18px}.intro h1{font-size:30px}.person-detail>h1{font-size:28px}.candidate-facts span{display:block;margin-bottom:3px}.personal-nav{column-gap:20px}.editor .actions .secondary{width:100%}}
@media(max-width:420px){.live-filters{grid-template-columns:minmax(0,1fr) 56px}.live-filters .filter-field{grid-column:1}.live-filters>button{grid-column:2;grid-row:3}.controls input,.controls select,.controls .search-wrap input,.people-controls input,.people-controls select{font-size:16px}.home-intro .home-promise{font-size:15px}.profile-link{font-size:13px}.detail-card{padding:18px 16px}.section-heading{flex-direction:column}.pagination{gap:12px}.notice-count{margin-left:4px}.school-footer-link img{width:125px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important}}
/* Account forms use the shared compact field styles. */
.security-layout h2{margin-bottom:10px}.security-layout .hint{margin-bottom:20px}.auth-form .actions .text-button{margin-left:0}.auth-form .hint{line-height:1.6}.auth-layout>*,.security-layout form{min-width:0}

.editor .field>label.check{display:flex;gap:8px}

.product-name{font-family:var(--serif);font-weight:400;align-items:baseline}
.home-intro .home-promise{max-width:none;font:italic 14px/1.5 var(--serif);color:#60655f;letter-spacing:0}
.home-promise span{white-space:nowrap}
@media(max-width:700px){.home-intro>form{margin-top:16px}}

.project-facts dt.sr-only{position:absolute}
.project-facts dd{margin:0}

.project-row .project-description{font-family:var(--sans);font-weight:400;font-style:normal}
.project-row .project-heading h2{font-family:var(--serif);font-weight:400;font-style:normal}

/* The wordmark keeps the light; the physical lamp is archived. */
:root{--lamp-milk:#f2ebd7;--filter-paper:rgb(242 235 215 / .09);--filter-edge:rgb(242 235 215 / .13)}
.masthead{position:sticky;top:0;z-index:10;padding-top:28px;padding-bottom:5px;background:var(--bg);isolation:isolate}
.product-name{position:relative;color:var(--lamp-milk);text-shadow:1px 4px 2px rgb(0 0 0 / .9),0 0 22px rgb(255 226 165 / .19)}
.product-name::before{content:"";position:absolute;inset:-24px -36px -32px;z-index:-1;pointer-events:none;background:radial-gradient(ellipse,rgb(255 226 165 / .12),transparent 70%);filter:blur(10px)}
.home-intro{padding-top:0;align-items:flex-start}
.home-intro .home-promise{margin-left:0}
@media(max-width:700px){.masthead{padding-top:20px}.product-name{font-size:clamp(28px,6.8vw,38px)}.home-intro .home-promise{margin-left:0}}
@media(max-width:600px){.masthead{row-gap:10px}.product-name{justify-self:start}.masthead nav{margin-top:0}}
@media(forced-colors:active){.product-name::before{display:none}.live-filters .filter-field select,.live-filters .search-wrap input{border:1px solid ButtonText}}

/* Three equal, edge-to-edge hit areas within one uninterrupted toolbar. */
.filter-panel:has(.live-filters){padding:0}
.controls.live-filters{grid-template-columns:repeat(3,minmax(0,1fr));gap:0;align-items:stretch}
.controls.live-filters>label{grid-column:auto;grid-row:auto;align-self:stretch;margin:0;min-width:0}
.controls.live-filters>label:hover,.controls.live-filters>label:focus-within{background:var(--filter-paper)}
.controls.live-filters input,.controls.live-filters select,.controls.live-filters .search-wrap input{display:block;box-sizing:border-box;width:100%;height:52px;min-height:52px;margin:0;padding:0 20px;border:0;border-radius:0;background:transparent;box-shadow:none;outline:none}
.controls.live-filters select{display:flex;align-items:center;justify-content:space-between;cursor:pointer}
.controls.live-filters .search-wrap input{padding-left:42px}
.controls.live-filters .search-icon{left:18px}
.controls.live-filters input:focus-visible,.controls.live-filters select:focus-visible{background:transparent;box-shadow:none;outline:none}
@media(max-width:700px){.controls.live-filters input,.controls.live-filters select{padding-right:8px;padding-left:10px}.controls.live-filters .search-wrap input{padding-left:28px;padding-right:8px}.controls.live-filters .search-icon{left:8px}}
@media(forced-colors:active){.controls.live-filters>label:focus-within{outline:1px solid Highlight;outline-offset:-1px}}

/* Center the option text independently from its dropdown indicator. */
.controls.live-filters select{position:relative;justify-content:center;text-align:center;text-align-last:center;padding-left:28px;padding-right:28px;white-space:nowrap;word-spacing:normal}
.controls.live-filters select::picker-icon{position:absolute;right:18px;top:50%;margin:-5px 0 0}
.controls.live-filters .search-icon{top:50%;transform:translateY(-50%);left:16px}
.controls.live-filters .search-wrap input{padding-left:38px}
.home-promise span+span{margin-left:0}
.results-heading{padding-left:16px}
@media(max-width:700px){.home-promise span+span{margin-left:0}.controls.live-filters .search-icon{left:8px}.controls.live-filters .search-wrap input{padding-left:30px}.controls.live-filters select{padding-left:14px;padding-right:14px}.controls.live-filters select::picker-icon{right:6px}}

/* A shared typographic baseline across the masthead. */
.masthead{align-items:baseline;column-gap:40px}
.masthead .product-name{display:block;min-height:0;text-shadow:none}
.masthead nav{position:static;top:auto;align-items:baseline;gap:12px}
.masthead nav a,.masthead .profile-link{display:block;min-height:0;padding:0}
.masthead nav::after{content:"/";order:1;color:var(--muted);font-size:14px}
.masthead nav a:first-child{order:0}
.masthead nav a:last-child{order:2}
.masthead nav a[aria-current="page"]{color:var(--lamp-milk);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}
@media(max-width:700px){.masthead{column-gap:22px}}

.masthead nav a,.masthead nav a[aria-current="page"],.masthead nav a:focus-visible{text-decoration:none}
.masthead nav a:hover{ text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}

.project-row .project-facts dd{filter:brightness(.5)}

/* People shares the projects introduction, toolbar, and card typography. */
.controls.live-filters.people-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
.people-list{gap:10px;align-items:stretch}
.person{padding:16px;display:flex;flex-direction:column}
.person h2{font-family:var(--serif);font-weight:400;font-size:21px;font-style:normal}
.person h2 a{text-decoration:none}
.person h2 a:hover{text-decoration:underline}
.person .ability,.person .bio{font:14px/1.5 var(--sans);color:var(--ink)}
.person .status{font:13px/1.5 var(--sans);color:var(--facts);filter:brightness(.5);margin:20px 0 0;padding-top:0}
.person .bio{margin-bottom:auto}
@media(max-width:700px){.home-intro>a.primary{margin-top:16px}.home-intro .home-promise span{white-space:normal}}

/* Equal breathing room between the wordmark, two-line intro, and search. */
.home-intro{padding-top:6px;padding-bottom:11px}
.home-intro .home-promise{margin-top:1px;margin-bottom:1px}


/* Plain wordmark, without texture or glow. */
.masthead .product-name::before{display:none}
.masthead .product-name{text-shadow:none}

/* Center the compact form between the masthead and the bottom footer. */
.login-page{min-height:100vh;min-height:100svh;display:grid;grid-template-rows:auto 1fr auto}
.login-page>.masthead,.login-page>main,.login-page>footer{width:100%}
.login-page>main{min-height:0;display:flex;flex-direction:column;justify-content:center;padding-top:24px;padding-bottom:24px}
.login-page>footer{margin-top:0}
.login-layout{display:block;width:100%;max-width:340px;margin:0 auto;padding:0}
.login-layout .auth-form{width:100%;max-width:none}
.login-layout .field{margin-bottom:12px}
.login-layout .field>label{margin-bottom:6px;font-size:13px}
.login-layout input:not([type=hidden]){min-height:36px;height:36px;padding:6px 10px}
.login-layout .actions{margin-top:14px;gap:12px;align-items:center}
.login-layout .actions>.primary{width:auto;min-height:36px;padding:6px 12px;font-size:13px}
.login-links{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.login-link{display:inline-flex;align-items:center;min-height:44px;font-size:13px;border:0;background:none;text-decoration:none}
.login-link:hover{text-decoration:underline;text-underline-offset:5px}
.login-link:focus-visible{outline:2px solid var(--accent);outline-offset:3px;text-decoration:none}
@media(max-width:380px){.login-links{width:100%;justify-content:space-between;gap:12px}}

/* Registration: the compact introduction aligns with the first form label. */
.register-layout{align-items:start;padding-top:48px}
.register-layout .field{margin-bottom:12px}
.register-layout .field>label{margin-bottom:6px}
.register-layout .auth-copy>:last-child{margin-bottom:0}
.register-layout .auth-copy h1{margin:0 0 20px;font-size:28px;line-height:1.15;letter-spacing:-.5px}
.register-layout .auth-copy .register-signin{margin-top:12px}
.register-signin .login-link{font-size:inherit;margin-left:4px}
.registration-rules{margin-top:4px;font-size:12px}
.registration-rules summary{width:fit-content;cursor:pointer;padding:8px 0;line-height:1.5}
.registration-rules summary:hover{text-decoration:underline;text-underline-offset:4px}
.registration-rules summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.registration-rules .hint{margin-top:8px}
.registration-rules .hint p{margin:0 0 12px}
@media(max-width:760px){.register-layout{padding-top:32px}.register-layout .auth-copy h1{font-size:28px}.register-layout .auth-copy .register-signin{margin-top:12px}}

/* Links stay quiet until hovered; keyboard focus keeps a visible outline. */
a.underlined,.text-button,.masthead .profile-link[aria-current],a:focus-visible{text-decoration:none}
a.underlined:hover,.text-button:hover,.masthead .profile-link:hover{text-decoration:underline}
a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.project-row:has(a:focus-visible):not(:hover) .project-heading a{text-decoration:none}
.profile-page .intro,.dashboard-page .intro{padding-bottom:12px}
.profile-page .intro h1,.dashboard-page .intro h1{font-size:28px}
.profile-page .page-lead{margin-bottom:16px;font-size:14px}
.profile-editor{max-width:800px;padding-top:0}
.profile-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px 24px;align-items:start}
.profile-editor .field{margin:0}
.profile-editor .field>label,.profile-editor .field-label{margin-bottom:6px}
.profile-editor .field small{margin-top:6px}
.profile-contacts{display:grid;gap:12px}
.profile-visibility{display:grid;gap:0}
.profile-visibility .field>label.check{min-height:32px;margin:0}
.profile-bio{align-self:stretch}
.profile-bio .field{height:100%;display:flex;flex-direction:column}
.profile-editor .profile-bio textarea{height:200px;min-height:180px;resize:vertical;flex:1}
.profile-editor .privacy-hint{margin-top:16px}
.profile-editor .actions{margin-top:12px}
.profile-page .account-settings{margin-top:20px}
.profile-multiselect{position:relative}
.profile-multiselect summary{display:flex;justify-content:space-between;gap:12px;align-items:center;min-height:40px;padding:8px 11px;background:var(--field);border:1px solid var(--line);font-size:14px;list-style:none}
.profile-multiselect summary::-webkit-details-marker{display:none}
.profile-multiselect summary>[data-selection]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* Malachite selection panel: editorial rows and scale-shaped checkmarks. */
.profile-multiselect[open]>summary{border-color:var(--accent)}
.profile-multiselect[open]>summary>span[aria-hidden]{transform:rotate(180deg)}
.profile-options{position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:5;max-height:300px;overflow:auto;overscroll-behavior:contain;background:var(--field);border:1px solid var(--line);border-top:2px solid var(--accent);padding:4px;scrollbar-width:thin;scrollbar-color:var(--accent) var(--field)}
.profile-options label{display:flex;align-items:center;gap:12px;min-height:40px;padding:9px 12px;cursor:pointer;font:16px/1.35 var(--serif);color:var(--muted);border-bottom:1px solid color-mix(in srgb,var(--line) 40%,transparent)}
.profile-options>div>div:last-child label{border-bottom-color:transparent}
.profile-options label:hover{background:var(--panel);color:var(--ink)}
.profile-options label:has(input:checked){background:var(--action);color:var(--ink)}
.profile-options label:focus-within{outline:1px solid var(--accent);outline-offset:-1px;color:var(--ink)}
.profile-options input{appearance:none;-webkit-appearance:none;display:grid;place-content:center;flex:none;width:16px;height:18px;min-height:0;margin:0;padding:0;background:transparent;border:1px solid var(--accent);border-radius:3px 3px 8px 8px;cursor:pointer}
.profile-options input::after{content:"";width:9px;height:7px;clip-path:polygon(0 45%,20% 30%,40% 58%,82% 0,100% 18%,42% 100%);background:var(--ink);visibility:hidden}
.profile-options input:checked{background:var(--accent);border-color:var(--accent)}
.profile-options input:checked::after{visibility:visible}
.profile-options input:focus-visible{outline:none}
@media(forced-colors:active){.profile-options input{appearance:auto;-webkit-appearance:auto}.profile-options input::after{display:none}.profile-options label:focus-within{outline:1px solid Highlight}}
.profile-choice.has-error summary{border-color:var(--error)}
.dashboard-page .personal-nav{margin:8px 0 16px;gap:8px 20px}
.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px 32px}
.dashboard-page .dashboard-section{margin:16px 0}
.dashboard-grid>.dashboard-section{margin:0;min-width:0}
.dashboard-page .dashboard-section h2{font-size:23px;margin-bottom:10px}
.dashboard-page .section-heading{gap:12px;flex-wrap:wrap;margin-bottom:8px}
.dashboard-page .section-heading h2{margin:0}
.dashboard-page .empty-copy{font-size:14px;padding:0}
.dashboard-page .activity-row,.dashboard-page .participation-row{padding:10px 0;flex-wrap:wrap;gap:8px 12px}
@media(max-width:700px){.profile-fields,.dashboard-grid{grid-template-columns:1fr}.profile-fields{gap:14px}.profile-contacts{gap:12px}.profile-editor .profile-bio textarea{height:120px;min-height:120px}.dashboard-grid{gap:24px}}
.profile-page,.dashboard-page{min-height:100vh;min-height:100svh;display:grid;grid-template-rows:auto 1fr auto}
.profile-page>.masthead,.profile-page>main,.profile-page>footer,.dashboard-page>.masthead,.dashboard-page>main,.dashboard-page>footer{width:100%}

.profile-page .intro{padding-top:32px}
.profile-page .intro h1{font-family:var(--sans);font-weight:400;line-height:1.15;letter-spacing:-.5px}
.profile-editor input:not([type=checkbox]):not([type=hidden]),.profile-editor textarea{font-family:var(--sans);font-size:14px}
.optional-input::placeholder{font-size:11px;color:color-mix(in srgb,var(--muted) 75%,var(--field))}
.optional-input:focus::placeholder{color:transparent}

.profile-actions{max-width:800px;display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:12px}
.profile-actions>.primary,.profile-outline{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:8px 12px;font-size:13px;line-height:1.4}
.profile-outline{background:transparent;border:1px solid var(--line);color:var(--ink);text-decoration:none}
.profile-outline:hover{background:transparent;border-color:var(--accent);text-decoration:none}

/* Project editor shares the compact profile form typography. */
.project-editor-page .intro{padding:32px 0 12px}
.project-editor-page .intro h1{font:28px/1.15 var(--sans);letter-spacing:-.5px}
.project-editor-page .page-lead{font-size:14px;max-width:720px;margin-bottom:20px}
.project-editor{max-width:720px;padding-top:0}
.project-section{padding:18px 0;border-top:1px solid var(--line)}
.project-section>h2{font:23px/1.2 var(--serif);margin:0 0 14px}
.project-section>.hint{margin:0 0 12px}
.project-editor .field{margin-bottom:12px}
.project-editor .field>label{margin-bottom:6px}
.project-editor .form-grid{gap:12px 20px;margin-bottom:12px;align-items:start}
.project-editor .form-grid>.field{margin:0}
.project-editor input:not([type=hidden]),.project-editor textarea,.project-editor select{font-size:14px}
.project-editor textarea{height:88px;min-height:72px;resize:vertical}
.project-editor #id_description{height:100px}
.project-editor select{min-height:40px;width:100%;padding:8px 10px;background:var(--field);color:var(--ink);border:1px solid var(--line)}
.project-editor select option{background:var(--field);color:var(--ink)}
.project-editor .role-editor{padding:0 0 12px;margin:0}
.project-editor .role-editor+.role-editor{padding-top:12px}
.project-role-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.project-role-heading .role-editor-title{margin:0;font:14px/1.4 var(--sans)}
.project-role-heading .text-button{min-height:32px;padding:4px 0;font-size:13px;color:var(--muted)}
.project-editor .is-removed .role-editor-title{text-decoration:line-through;color:var(--muted)}
.project-editor .editor-save-bar{padding:8px 0 20px}
.project-editor .actions{margin-top:8px;gap:10px;align-items:center;flex-wrap:wrap}
.project-editor .actions>.primary{min-height:36px;padding:8px 12px;font-size:13px}
@media(max-width:700px){.project-editor .form-grid{grid-template-columns:1fr;gap:12px}.project-editor .actions>.primary{width:auto}.project-editor .actions .text-button{margin:0}}

/* Dashboard: profile-aligned heading, work first, compact participation below. */
.dashboard-page .dashboard-intro{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 24px;padding:32px 0 24px}
.dashboard-intro h1{font:28px/1.15 var(--sans);letter-spacing:-.5px;margin:0}
.dashboard-intro .dashboard-name{grid-column:1/-1;margin:0;color:var(--muted);font-size:14px}
.dashboard-account-actions{display:flex;align-items:center;gap:16px}
.dashboard-account-actions form{margin:0;display:flex}
.dashboard-page .text-button{display:inline-flex;align-items:center;min-height:36px;padding:8px 0;font-size:13px;line-height:1.4;color:var(--muted)}
.dashboard-page .text-button:hover{color:var(--accent)}
.dashboard-work{display:grid;gap:20px}
.dashboard-page .dashboard-work>.dashboard-section,.dashboard-page .dashboard-secondary>.dashboard-section{margin:0;min-width:0}
.dashboard-work>.dashboard-section,.dashboard-secondary{border-top:1px solid var(--line);padding-top:16px}
.dashboard-page .section-heading{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.dashboard-page .section-heading .primary{min-height:36px}
.dashboard-page .dashboard-section h2{font:23px/1.2 var(--serif);margin-bottom:8px}
.dashboard-page .section-heading h2{margin:0}
.dashboard-page .empty-copy{color:var(--muted);margin:0;padding:0;font-size:14px;line-height:1.55}
.dashboard-page .activity-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px 24px;padding:8px 0;border-color:var(--line)}
.dashboard-page .activity-row>a:first-child{font:19px/1.3 var(--serif);overflow-wrap:anywhere;min-height:32px;display:flex;align-items:center}
.dashboard-page .activity-meta{color:var(--muted);font:12px/1.5 var(--sans);font-variant-numeric:tabular-nums}
.dashboard-page .activity-row form{margin:0}
.dashboard-secondary{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px 32px;margin-top:24px}
.dashboard-page .participation-row{border-color:var(--line)}
.dashboard-page .participation-row h3{overflow-wrap:anywhere}
@media(max-width:700px){
.dashboard-page .dashboard-intro{grid-template-columns:1fr;gap:8px;padding-bottom:24px}
.dashboard-intro .dashboard-name{grid-row:2}
.dashboard-account-actions{flex-wrap:wrap;gap:12px;margin-top:4px}
.dashboard-secondary{grid-template-columns:1fr;gap:20px}
.dashboard-page .activity-row{grid-template-columns:minmax(0,1fr) auto;gap:0 16px}
.dashboard-page .activity-row>a:first-child{grid-column:1/-1}
.dashboard-page .activity-row form{justify-self:end}
}

.dashboard-page #my-drafts>.activity-row:last-child,.dashboard-secondary .participation-row:last-child{border-bottom:0}

/* Align the project action with the heading’s text baseline. */
.dashboard-page #my-projects .section-heading{align-items:baseline}

/* Two independent pools of light, with an untouched background between them. */
.dashboard-page .dashboard-secondary{border-top:0;padding:0;gap:24px 32px;align-items:start}
.dashboard-secondary>.dashboard-section{position:relative;isolation:isolate;padding:16px 16px 8px}
.dashboard-secondary>.dashboard-section::before{content:"";position:absolute;z-index:-1;inset:0;max-height:180px;pointer-events:none;background:linear-gradient(to bottom,transparent,color-mix(in srgb,var(--action) 22%,transparent) 12%,color-mix(in srgb,var(--action) 10%,transparent) 45%,transparent 100%);mask-image:linear-gradient(to right,transparent,#000 8%,#000 92%,transparent)}
.dashboard-page #my-applications .participation-row{flex-direction:column;align-items:flex-start;gap:0;padding:8px 0}
.dashboard-page #my-applications .participation-row>form{margin:0}
@media(max-width:700px){.dashboard-page .dashboard-secondary{gap:20px}.dashboard-secondary>.dashboard-section{padding:12px 12px 8px}}

.dashboard-page .dashboard-work h2{font-family:var(--sans);font-weight:400;letter-spacing:-.5px}
.dashboard-page #my-applications .participation-row .text-button{min-height:24px;padding:2px 0}
.dashboard-page #my-applications button[value="withdraw"]{color:color-mix(in srgb,var(--muted) 78%,var(--bg))}
.dashboard-page #my-applications button[value="withdraw"]:hover{color:var(--accent)}

.dashboard-page .dashboard-secondary h2{font-family:var(--sans);font-weight:400;letter-spacing:-.5px}
.dashboard-secondary #my-teams::before{left:-12px}
