/* Personal archives, publishing desk and account dialogs.
   Loaded after art.css; selectors stay within these workspaces. */
body[data-page="profile"] .f-shell{max-width:1240px;padding-top:48px}
.f-account-layout{grid-template-columns:172px minmax(0,1fr);gap:60px}
.f-account-nav{top:124px}
.f-account-nav-heading{padding:0 0 20px;margin-bottom:18px}
.f-account-nav-heading h2{font-family:inherit;font-size:22px;font-weight:600;letter-spacing:.04em}
.f-account-nav-heading .f-textbtn{font-size:12px}
.f-account-group+.f-account-group{margin-top:24px}
.f-account-group h3{padding-left:14px;font-size:11px;letter-spacing:.08em}
.f-account-link-item{position:relative;min-height:40px;padding:8px 14px;border-radius:0;font-size:13px}
.f-account-link-item.active{background:transparent;color:var(--f-ink);font-weight:600}
.f-account-link-item.active::before{content:"";position:absolute;left:0;top:11px;bottom:11px;width:2px;background:var(--f-accent)}
.f-account-link-item:hover{background:var(--f-soft)}
.f-account-body .f-profile-hero{gap:24px;padding:0 0 28px;margin:0 0 8px;align-items:center}
.f-account-body .f-profile-hero .f-avatar.large{width:72px;height:72px;font-size:29px}
.f-account-body .f-profile-hero h1{font-family:inherit;font-size:38px;font-weight:600;line-height:1.35;letter-spacing:.01em}
.f-account-body .f-profile-hero p{font-size:13px;margin-top:8px;line-height:1.8}
.f-account-body .f-profile-hero>.f-btn{background:transparent;border-color:var(--f-line);border-radius:4px;min-height:38px;font-size:12px}
.f-account-body .f-profile-hero-compact{padding-bottom:25px;margin-bottom:32px;border-bottom:1px solid var(--f-line);gap:16px}
.f-account-body .f-profile-hero-compact .f-avatar.large{width:44px;height:44px;font-size:20px}
.f-account-body .f-profile-hero-compact h1{font-size:23px}
.f-account-body .f-profile-hero-compact p{font-size:12px;margin-top:3px}
.f-account-body .f-sectionhead{margin:0 0 22px;align-items:baseline}
.f-account-body .f-sectionhead h2,.f-account-body>.f-panel>h2{font-family:inherit;font-size:25px;line-height:1.4;font-weight:600;letter-spacing:.02em}
.f-account-body .f-sectionhead .f-meta{font-family:"PingFang SC",sans-serif;font-size:12px;font-weight:400;letter-spacing:0}
.f-account-body .f-stat-grid{border:0;border-top:1px solid var(--f-line);border-bottom:1px solid var(--f-line);border-radius:0;background:transparent;padding:20px 0;margin:0 0 36px}
.f-account-body .f-stat{display:flex;align-items:baseline;gap:11px;padding:0 24px}
.f-account-body .f-stat:first-child{padding-left:0}
.f-account-body .f-stat b{font-family:inherit;font-size:31px;font-weight:500;line-height:1.2;letter-spacing:0;margin:0}
.f-account-body .f-stat small{font-size:12px}
.f-overview-media{grid-template-columns:1.12fr 1fr;gap:32px;margin-top:0}
.f-overview-media .f-sectionhead{margin-bottom:16px;gap:10px}
.f-overview-media .f-sectionhead h2{font-size:23px}
.f-overview-media .f-sectionhead .f-textbtn{font-size:11px;white-space:nowrap}
.f-overview-media .f-resume-card{gap:15px;border:0;border-radius:0;background:transparent;padding:0 0 17px;border-bottom:1px solid var(--f-line)}
.f-overview-media .f-resume-thumb{width:120px;aspect-ratio:16/11;border-radius:3px}
.f-overview-media .f-resume-copy strong{font-size:14px;line-height:1.65;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.f-overview-media .f-resume-copy small{font-size:11px;margin-top:9px}
.f-overview-media .f-resume-arrow{display:none}
.f-overview-media>.f-resume-section:first-child:not(.f-saved-section) .f-resume-card{display:grid;gap:14px;grid-template-columns:1fr;border:0;padding:0}
.f-overview-media>.f-resume-section:first-child:not(.f-saved-section) .f-resume-thumb{width:100%;aspect-ratio:16/9}
.f-overview-media>.f-resume-section:first-child:not(.f-saved-section) .f-resume-copy strong{font-size:17px}
.f-overview-media .f-resume-play{opacity:1;background:transparent}
.f-overview-media .f-resume-play svg{width:34px;height:34px;padding:8px;border-radius:50%;background:#20221f8c}
.f-account-body .f-welcome{margin:36px 0;padding:26px 0;border:0;border-top:1px solid var(--f-line);border-bottom:1px solid var(--f-line);border-radius:0;background:transparent;gap:24px}
.f-account-body .f-welcome h2{font-family:inherit;font-size:25px;font-weight:600;line-height:1.45}
.f-account-body .f-welcome p{font-size:13px;max-width:46ch}
.f-account-body>.f-panel{background:transparent;border:0;border-radius:0;padding:0;max-width:760px}
.f-account-body>.f-panel:has(.f-form){max-width:680px}
.f-account-body>.f-panel>h2{margin-bottom:20px}
.f-account-body .f-row{padding:24px 0;gap:18px}
.f-account-body .f-row-copy h3{font-size:15px;font-weight:550;line-height:1.7}
.f-account-body .f-row-copy p{font-size:13px;line-height:1.9;max-width:67ch;margin-top:7px}
.f-account-body .f-row-copy>.f-meta{font-size:11px;gap:9px;margin-bottom:7px}
.f-account-body .f-row>.f-avatar{width:30px;height:30px;background:transparent;color:var(--f-muted)}
.f-account-body .f-row-actions{gap:9px;align-self:flex-start;padding-top:5px}
.f-account-body .f-row-actions .f-btn{border-radius:4px;background:transparent}
.f-account-body .f-row-actions .f-textbtn{font-size:12px}
.f-account-body .f-status{font-size:11px;letter-spacing:.02em;border-radius:2px;padding:3px 6px}
.f-account-body .f-status.draft{background:var(--f-soft);color:var(--f-muted)}
.f-account-body .f-notice.unread{background:transparent;border-radius:0;border-left:2px solid var(--f-accent);padding:19px 20px;margin:5px 0 0}
.f-account-body .f-notice.unread>.gq-icon{color:var(--f-accent)}
.f-account-body .f-notice .f-meta{margin-top:12px;row-gap:6px}
.f-account-body .f-report-resolution{border-left:2px solid var(--f-line);border-radius:0;background:transparent;padding:10px 14px;font-size:13px}
.f-account-body .f-grid{gap:32px 24px}
.f-account-body .f-card .f-cover{border-radius:4px}
.f-account-body .f-card h3{font-size:16px;line-height:1.65;margin-top:13px}
.f-account-body .f-form{gap:25px;max-width:640px}
:where(.f-account-body,#submission-form,#auth-form) :is(input,textarea,select):not([type="checkbox"]):not([type="radio"]){border:1px solid var(--f-line);border-radius:4px;background:var(--f-paper);padding:12px 14px;font-weight:400;color:var(--f-ink);line-height:1.7}
:where(.f-account-body,#submission-form,#auth-form) :is(input,textarea)::placeholder{color:var(--f-muted);font-weight:400;opacity:.85}
:where(.f-account-body,#submission-form,#auth-form) :is(input,textarea,select):focus-visible{outline:1.5px solid var(--f-ink);outline-offset:2px}
:where(.f-account-body,#submission-form,#auth-form) .f-form label,:is(#submission-form,#auth-form)>label{font-size:13px;font-weight:500;gap:9px}
:where(.f-account-body,#submission-form,#auth-form) .f-help{font-size:12px;line-height:1.85;font-weight:400}
.f-account-body .f-form input:disabled{background:var(--f-soft);color:var(--f-muted)}
.f-account-body .f-form-actions{padding-top:23px;margin-top:3px}
.f-account-body .f-avatar-upload-row{background:transparent;border:0;border-bottom:1px solid var(--f-line);border-radius:0;padding:5px 0 22px;grid-template-columns:58px minmax(0,1fr);gap:5px 18px}
.f-account-body .f-avatar-upload-row>input[type="file"]{padding:0;border:0;background:transparent;font-size:12px}
.f-account-body .f-avatar-upload-row>p{font-size:11px}
.f-account-body .f-color-list{gap:15px}
.f-account-body .f-color-list span{width:31px;height:31px}
.f-account-body .f-switchrow{padding:23px 0;gap:28px!important}
.f-account-body .f-switchrow h3{font-size:15px;font-weight:500}
.f-account-body .f-switchrow p{font-size:13px;font-weight:400;line-height:1.9;margin-top:8px}
.f-account-body .f-panel:has([data-act="logout"]){border-top:1px solid var(--f-line);padding-top:28px;margin-top:40px!important;max-width:680px}
body[data-page="submit"] .f-main{max-width:820px}
body[data-page="submit"] .f-pagehead{margin-bottom:36px;align-items:flex-end;padding-bottom:28px;border-bottom:1px solid var(--f-line)}
body[data-page="submit"] .f-pagehead h1{font-family:inherit;font-size:40px;font-weight:600;letter-spacing:.01em;line-height:1.4}
body[data-page="submit"] .f-subtitle{font-size:13px;line-height:1.9;margin-top:13px}
#submission-form{border:0;border-radius:0;background:transparent;padding:0;gap:26px}
#submission-form .f-form-section-heading{padding:0 0 2px}
#submission-form .f-form-section-heading h2{font-family:inherit;font-size:26px;letter-spacing:.02em;font-weight:600}
#submission-form .f-form-section-heading:not(:first-child){margin-top:9px;padding-top:33px;border-top:1px solid var(--f-line)}
#submission-form .f-form-grid{gap:24px}
#submission-form .f-upload{padding:24px;border-radius:4px;background:transparent;border-color:var(--f-line)}
#submission-form .f-upload>span{font-size:14px;font-weight:500}
#submission-form .f-upload p{font-size:12px;margin:9px 0 17px}
#submission-form .f-upload input[type="file"]{padding:0;border:0;background:transparent;font-size:12px}
:is(.f-account-body,#submission-form) input::file-selector-button{min-height:40px;padding:8px 14px;margin-right:12px;border:1px solid var(--f-line);border-radius:4px;background:var(--f-paper);color:var(--f-ink);font:inherit;cursor:pointer}
#submission-form .f-filters{margin:0;gap:13px 20px}
#submission-form .f-checkline{font-size:13px;line-height:1.6}
#submission-form>div:has(#source-editors){border-top:1px solid var(--f-line);padding-top:28px;margin-top:9px}
#submission-form>div:has(#source-editors)>.f-sectionhead h3{font-family:inherit;font-size:26px;letter-spacing:.02em;font-weight:600}
#submission-form .f-source-editor{padding:18px 0 0;border:0;border-top:1px solid var(--f-line);border-radius:0;margin-top:18px}
#submission-form .f-source-editor .f-form-grid{gap:12px}
#submission-form .f-source-editor input{font-size:13px}
#submission-form .f-source-editor button{font-size:12px;min-height:36px;padding:4px 0}
#submission-form>.f-note{background:var(--f-soft);color:var(--f-muted);font-size:12px;line-height:1.9;border-radius:4px;padding:14px 17px;margin:0;border:0}
#submission-form .f-form-actions{padding-top:24px;padding-bottom:0;gap:12px}
#submission-error:empty{display:none}
.gq-modal:has(#auth-form){width:min(500px,calc(100% - 36px));border:1px solid var(--f-line);border-radius:8px;background:var(--f-bg);box-shadow:0 24px 100px #20221f26}
.gq-modal:has(#auth-form)::backdrop{background:#20221f78;backdrop-filter:blur(6px)}
.gq-modal:has(#auth-form) .gq-modal-header{border:0;background:var(--f-bg);padding:32px 32px 0;gap:15px;position:relative}
.gq-modal:has(#auth-form) .gq-modal-header h2{font-family:inherit;font-size:29px;font-weight:600;letter-spacing:.01em;line-height:1.4}
.gq-modal:has(#auth-form) .gq-modal-close{background:transparent;border-radius:50%;width:32px;height:32px;flex-shrink:0}
.gq-modal:has(#auth-form) .gq-modal-content{padding:18px 32px 30px}
#auth-form{gap:22px}
#auth-form>.f-subtitle{font-size:13px;line-height:1.9;margin-bottom:3px!important;max-width:32ch}
#auth-form .f-btn.primary{min-height:46px;font-size:14px;border-radius:4px;margin-top:2px}
#auth-error:empty{display:none}
.gq-modal:has(#auth-form) .f-auth-note{border-top:1px solid var(--f-line);padding-top:20px;margin-top:24px;font-size:12px}
.gq-modal:has(#auth-form) .f-auth-switch{font-size:12px;min-height:32px}
@media(max-width:1050px){
  .f-account-layout{grid-template-columns:150px minmax(0,1fr);gap:36px}
  .f-overview-media{grid-template-columns:1fr;gap:32px}
  .f-overview-media>.f-resume-section:first-child:not(.f-saved-section) .f-resume-card{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:20px}
  .f-overview-media .f-saved-section .f-resume-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .f-overview-media .f-saved-section .f-resume-card{display:block}
  .f-overview-media .f-saved-section .f-resume-thumb{width:100%;aspect-ratio:16/9;margin-bottom:12px}
}
@media(max-width:760px){
  body[data-page="profile"] .f-shell{padding-top:22px}
  .f-account-layout{display:block}
  .f-account-nav{margin-bottom:28px}
  .f-account-menu-button{border:0;border-bottom:1px solid var(--f-line);border-radius:0;background:transparent;padding:8px 0 14px;min-height:43px}
  .f-account-nav.is-open .f-account-menu-button{border-radius:0}
  .f-account-nav.is-open .f-account-sections{background:var(--f-bg);border:0;border-bottom:1px solid var(--f-line);border-radius:0;padding:20px 0;gap:20px}
  .f-account-group+.f-account-group{margin-top:0}
  .f-account-group h3{font-size:11px}
  .f-account-link-item{font-size:13px;min-height:42px}
  .f-account-body .f-profile-hero{gap:16px;padding-bottom:24px;flex-wrap:nowrap}
  .f-account-body .f-profile-hero .f-avatar.large{width:56px;height:56px;font-size:23px;flex-shrink:0}
  .f-account-body .f-profile-hero h1{font-size:30px}
  .f-account-body .f-profile-hero p{font-size:11px;margin-top:6px}
  .f-account-body .f-profile-copy{min-width:0}
  .f-account-body .f-profile-hero>.f-btn{padding:7px 9px;font-size:11px;white-space:nowrap;flex-shrink:0;margin-left:0}
  .f-account-body .f-profile-hero-compact{gap:12px;padding-bottom:22px;margin-bottom:26px}
  .f-account-body .f-profile-hero-compact .f-avatar.large{width:36px;height:36px;font-size:17px}
  .f-account-body .f-profile-hero-compact h1{font-size:21px}
  .f-account-body .f-profile-hero-compact p{font-size:11px;line-height:1.65;margin-top:4px}
  .f-account-body .f-sectionhead{margin-bottom:20px;flex-wrap:wrap;row-gap:8px}
  .f-account-body .f-sectionhead h2,.f-account-body>.f-panel>h2{font-size:24px}
  .f-account-body .f-stat-grid{padding:19px 0;margin-bottom:30px}
  .f-account-body .f-stat{display:block;text-align:center;padding:0 12px}
  .f-account-body .f-stat:first-child{padding-left:12px}
  .f-account-body .f-stat b{font-size:29px;margin-bottom:5px}
  .f-account-body .f-stat small{font-size:11px}
  .f-overview-media{gap:30px}
  .f-overview-media>.f-resume-section:first-child:not(.f-saved-section) .f-resume-card{grid-template-columns:1fr;gap:12px}
  .f-overview-media .f-saved-section .f-resume-grid{grid-template-columns:1fr}
  .f-overview-media .f-saved-section .f-resume-card{display:flex;gap:16px;padding-bottom:17px}
  .f-overview-media .f-saved-section .f-resume-thumb{width:128px;aspect-ratio:16/10;margin:0}
  .f-overview-media .f-resume-copy strong{font-size:14px}
  .f-overview-media .f-sectionhead{flex-wrap:nowrap;margin-bottom:16px}
  .f-account-body .f-welcome{padding:24px 0;margin:30px 0;gap:18px}
  .f-account-body .f-welcome h2{font-size:24px}
  .f-account-body .f-welcome p{font-size:12px;line-height:1.9}
  .f-account-body .f-row{gap:12px;padding:22px 0}
  .f-account-body .f-row:has(.f-row-actions){display:block}
  .f-account-body .f-row:has(.f-row-actions) .f-row-actions{justify-content:flex-start;margin:14px 0 0;padding:0;gap:10px}
  .f-account-body .f-row-copy h3{font-size:15px}
  .f-account-body .f-row-copy p{font-size:13px;line-height:1.9}
  .f-account-body .f-row-copy>.f-meta{font-size:11px;gap:7px}
  .f-account-body .f-notice{display:grid;grid-template-columns:18px minmax(0,1fr);gap:13px}
  .f-account-body .f-notice.unread{padding:18px 13px}
  .f-account-body .f-notice>.f-btn{grid-column:2;justify-self:start;margin-top:2px}
  .f-account-body .f-notice>.gq-icon{margin-top:5px}
  .f-account-body .f-panel:has(.f-form){max-width:none}
  .f-account-body .f-form{gap:24px;max-width:none}
  :where(.f-account-body,#submission-form,#auth-form) :is(input,textarea,select):not([type="checkbox"]):not([type="radio"]){font-size:16px;padding:11px 12px}
  .f-account-body .f-avatar-upload-row{padding:2px 0 20px;grid-template-columns:44px minmax(0,1fr);gap:6px 13px}
  .f-account-body .f-avatar-upload-row>input[type="file"]{font-size:11px;padding:0}
  .f-account-body .f-avatar-upload-row>p{font-size:11px}
  .f-account-body .f-avatar-upload-preview .f-avatar.large{width:44px;height:44px;font-size:20px}
  .f-account-body .f-color-list span{width:35px;height:35px}
  .f-account-body .f-switchrow{gap:22px!important}
  .f-account-body .f-switchrow p{font-size:13px}
  .f-account-body .f-panel:has([data-act="logout"]){margin-top:32px!important;padding-top:24px}
  body[data-page="submit"] .f-pagehead{display:block;padding-bottom:24px;margin-bottom:28px}
  body[data-page="submit"] .f-pagehead h1{font-size:32px}
  body[data-page="submit"] .f-pagehead>.f-textbtn{display:inline-flex;margin-top:14px}
  body[data-page="submit"] .f-subtitle{font-size:13px;margin-top:9px}
  #submission-form{gap:24px}
  #submission-form .f-form-section-heading h2,#submission-form>div:has(#source-editors)>.f-sectionhead h3{font-size:24px}
  #submission-form .f-form-grid{gap:24px;grid-template-columns:1fr}
  #submission-form .f-upload{padding:20px 15px}
  #submission-form .f-upload input[type="file"]{font-size:12px;padding:0}
  #submission-form .f-source-editor .f-form-grid{gap:12px}
  #submission-form .f-source-editor input{font-size:16px}
  #submission-form .f-form-actions{position:static;background:transparent;padding-top:22px;gap:10px}
  #submission-form .f-form-actions .f-btn{font-size:12px;min-height:44px;padding:10px 13px}
  .gq-modal:has(#auth-form){border-radius:6px;max-height:calc(100svh - 32px)}
  .gq-modal:has(#auth-form) .gq-modal-header{padding:26px 22px 0}
  .gq-modal:has(#auth-form) .gq-modal-header h2{font-size:26px}
  .gq-modal:has(#auth-form) .gq-modal-content{padding:16px 22px 24px}
  #auth-form{gap:21px}
  #auth-form>.f-subtitle{font-size:12px}
}
@media(max-width:360px){
  .f-account-body .f-profile-hero{gap:11px;flex-wrap:wrap}
  .f-account-body .f-profile-hero h1{font-size:27px}
  .f-account-body .f-profile-hero:not(.f-profile-hero-compact)>.f-btn{margin-left:67px}
  .f-account-body .f-profile-hero-compact{gap:10px;flex-wrap:nowrap}
  .f-account-body .f-profile-hero-compact h1{font-size:19px}
  .f-account-body .f-profile-hero-compact>.f-btn{font-size:10px;padding:7px;min-height:36px}
  .f-account-body .f-profile-hero-compact .f-avatar.large{width:30px;height:30px;font-size:15px}
  .f-overview-media .f-saved-section .f-resume-thumb{width:104px}
  .f-account-body .f-avatar-upload-row{grid-template-columns:1fr}
  .f-account-body .f-avatar-upload-preview{grid-column:1;grid-row:auto}
  .f-account-body .f-avatar-upload-row>input,.f-account-body .f-avatar-upload-row>p{grid-column:1}
  body[data-page="submit"] .f-pagehead h1{font-size:29px}
  #submission-form .f-form-actions{flex-wrap:wrap;justify-content:flex-start}
  .gq-modal:has(#auth-form){width:calc(100% - 24px)}
  .gq-modal:has(#auth-form) .gq-modal-header{padding:23px 18px 0}
  .gq-modal:has(#auth-form) .gq-modal-header h2{font-size:24px}
  .gq-modal:has(#auth-form) .gq-modal-content{padding:15px 18px 22px}
}
@media(prefers-reduced-motion:reduce){
  .f-account-body *,.f-account-nav *,#submission-form *,#auth-form *{scroll-behavior:auto;transition:none;animation:none}
}

/* Account and form headings are functional; serif type belongs to story headlines. */
.f-account-nav-heading h2{font-size:18px;letter-spacing:0}
.f-account-body .f-profile-hero h1{font-size:30px;letter-spacing:0}
.f-account-body .f-profile-hero-compact h1{font-size:23px}
.f-account-body .f-sectionhead h2,.f-account-body>.f-panel>h2,.f-overview-media .f-sectionhead h2,.f-account-body .f-welcome h2{font-size:20px;letter-spacing:0}
body[data-page=submit] .f-pagehead h1{font-size:32px;letter-spacing:0}
#submission-form .f-form-section-heading h2,#submission-form>div:has(#source-editors)>.f-sectionhead h3{font-size:20px;letter-spacing:0}
.gq-modal:has(#auth-form) .gq-modal-header h2{font-size:24px;letter-spacing:0}
.gq-modal:has(#auth-form) .gq-modal-close{width:44px;height:44px}
@media(max-width:760px){.f-account-body .f-profile-hero h1{font-size:26px}.f-account-body .f-profile-hero-compact h1{font-size:21px}.f-account-body .f-profile-hero:has(>.f-avatar-fallback)>.f-btn{margin-left:auto;min-height:44px}.f-account-body .f-profile-hero .f-profile-copy{flex:1}.f-account-body .f-sectionhead h2,.f-account-body>.f-panel>h2,.f-overview-media .f-sectionhead h2,.f-account-body .f-welcome h2{font-size:19px}body[data-page=submit] .f-pagehead h1{font-size:28px}}
@media(max-width:360px){.f-account-body .f-profile-hero h1{font-size:24px}.f-account-body .f-profile-hero-compact h1{font-size:20px}}
