.account-page [hidden] { display:none; }
.account-band { padding-block:clamp(36px,6vw,82px); }
.account-entry { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); align-items:start; gap:clamp(26px,8vw,100px); }
.account-intro { padding-top:clamp(0px,3vw,40px); }
.account-card { min-width:0; background:var(--white); border:1px solid var(--line); padding:clamp(19px,3vw,36px); }
.account-card h2 { font-size:clamp(24px,3vw,36px); }
.account-choices { display:flex; gap:20px; border-bottom:1px solid var(--line); margin-bottom:20px; }
.account-choices button { border:0; border-bottom:2px solid transparent; background:transparent; color:var(--muted); padding:9px 0; min-height:44px; }
.account-choices button[aria-pressed="true"] { color:var(--red); border-bottom-color:var(--red); font-weight:700; }
.account-form { display:grid; gap:8px; }
.account-form label { margin-top:6px; font-weight:650; }
.account-form label span { color:var(--muted); font-weight:400; font-size:.88rem; }
.account-form :is(input:not([type="checkbox"]),textarea) { width:100%; min-width:0; min-height:44px; padding:9px 11px; border:1px solid #858585; border-radius:2px; background:var(--white); color:var(--ink); font:inherit; }
.account-form textarea { resize:vertical; }
.account-form input[type="file"] { font-size:.9rem; padding:7px; }
.account-form input[type="file"]::file-selector-button { border:0; background:var(--pale); padding:5px 9px; margin-inline-end:8px; color:var(--ink); cursor:pointer; }
.account-form .account-check { display:flex; gap:8px; align-items:center; min-height:44px; margin:0; color:var(--muted); font-size:.91rem; font-weight:400; }
.account-check input { accent-color:var(--red); }
.account-form .button { justify-self:start; margin-top:9px; }
.account-check + .button { margin-top:0; }
.account-border { color:var(--ink); border-color:#858585; background:var(--white); }
.account-status { overflow-wrap:anywhere; color:var(--muted); font-size:.92rem; margin:0 0 14px; }
.account-status:empty { margin:0; }
.account-status[data-kind="error"] { color:var(--red); }
.account-help { color:var(--muted); font-size:.9rem; margin:0; }
.account-email { font-size:1.05rem; font-weight:650; overflow-wrap:anywhere; margin:11px 0 4px; }
#logout { margin-top:15px; }
.account-password { margin-top:20px; border-top:1px solid var(--line); padding-top:12px; }
.account-password summary { cursor:pointer; min-height:37px; }
.account-password .account-form { margin-top:10px; }
.account-project-layout { display:grid; align-items:start; grid-template-columns:minmax(0,.87fr) minmax(0,1.13fr); gap:clamp(22px,5vw,64px); margin-top:23px; }
.account-project-list { margin-top:23px; }
.account-page h3 { font-size:1.25rem; margin:0; }
.account-row { display:flex; justify-content:space-between; align-items:center; gap:14px; flex-wrap:wrap; }
.account-inline { display:inline-block; padding:6px 0; min-height:40px; background:none; border:0; color:var(--ink); text-decoration:underline; text-underline-offset:4px; }
.account-inline:hover { color:var(--red); }
.account-list { margin:0; padding:0; list-style:none; }
.account-list li { border-top:1px solid var(--line); padding-block:10px; overflow-wrap:anywhere; }
.account-project-list .account-list li { padding:0; }
.account-project-link { display:block; width:100%; min-height:44px; padding:10px 4px; text-align:left; color:var(--ink); border:0; background:none; overflow-wrap:anywhere; }
.account-project-link:hover, .account-project-link[aria-pressed="true"] { color:var(--red); }
.account-project-link[aria-pressed="true"] { font-weight:650; }
.account-project-name { margin:6px 0 0; font-weight:650; overflow-wrap:anywhere; }
#selected-project-description { white-space:pre-wrap; overflow-wrap:anywhere; }
.account-files .account-form { margin:12px 0 17px; }
.account-files .account-list a { text-decoration:underline; text-underline-offset:3px; display:block; padding:4px 0; min-height:27px; }
.account-files .account-list a:hover { color:var(--red); }
.account-list small { color:var(--muted); font-size:.85rem; }
.account-audit-list li { display:flex; justify-content:space-between; gap:10px; flex-wrap:wrap; }
.account-audit-list small { display:block; }
@media (max-width:880px) {
  .account-header { height:auto; min-height:78px; padding-block:12px; gap:5px 16px; flex-wrap:wrap; }
  .account-header nav { display:flex; flex-basis:100%; order:3; margin:0; flex-wrap:wrap; gap:3px 17px; }
  .account-header > .button { margin-left:auto; }
}
@media (max-width:700px) {
  .account-entry,.account-project-layout { grid-template-columns:minmax(0,1fr); }
}
