:root{color-scheme:light;--paper:#f7f8fc;--paper-line:#e7eaf2;--ink:#1f2633;--ink-2:#3a4352;--muted:#5b6573;--subtle:#758196;--line:#e3e7ee;--blue:#0b6bde;--blue-hover:#0857b6;--blue-ink:#0b4f9c;--grad:linear-gradient(90deg,#2b8afb 0%,#6b6cf2 55%,#a46ade 100%);--gutter:clamp(20px,4vw,56px);font-family:-apple-system,BlinkMacSystemFont,'SF Pro Text','Segoe UI','PingFang SC','Hiragino Sans GB','Microsoft YaHei',sans-serif;color:var(--ink);background:#fff;font-synthesis:none;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}
body{margin:0;min-height:100svh;display:flex;flex-direction:column;background:#fff}
a{color:inherit;text-decoration:none}
.auth-layout{width:min(1240px,calc(100% - 2 * var(--gutter)));margin-inline:auto}
.auth-header,.auth-footer{width:calc(100% - 2 * var(--gutter));margin-inline:auto}
.auth-header{display:flex;align-items:center;justify-content:space-between;gap:20px;height:72px;flex-shrink:0}
.auth-header img{display:block;width:144px;height:34px}
.auth-header>span{font-size:11px;font-weight:600;letter-spacing:1.6px;color:var(--subtle)}
.auth-header .nl-app-center{display:inline-flex;align-items:center;padding:8px 18px;border:1.5px solid #dfe4ec;border-radius:999px;font-size:14px;font-weight:600;color:var(--blue-ink);transition:border-color .15s,background .15s}
.auth-header .nl-app-center:hover{border-color:#b9cdea;background:#f6f9ff}

.auth-layout{flex:1;display:grid;grid-template-columns:1.08fr 1fr;gap:clamp(24px,3vw,48px);align-items:stretch;min-height:620px;padding-block:12px 40px}
.auth-story{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;padding:clamp(40px,4.4vw,64px);border:1px solid var(--paper-line);border-radius:28px;background:radial-gradient(520px 300px at 100% 0%,rgba(123,108,240,.12),transparent 70%),radial-gradient(420px 260px at 0% 100%,rgba(43,138,251,.08),transparent 70%),var(--paper)}
.auth-story:before{content:'';position:absolute;inset:0;z-index:-1;background-image:radial-gradient(rgba(31,38,51,.07) 1px,transparent 1px);background-size:22px 22px;-webkit-mask-image:linear-gradient(180deg,#000,transparent 70%);mask-image:linear-gradient(180deg,#000,transparent 70%)}
.eyebrow{font-size:11px;font-weight:600;letter-spacing:1.6px;color:var(--blue-ink);margin:0 0 18px}
h1{font-size:clamp(40px,4.2vw,60px);line-height:1.18;font-weight:700;letter-spacing:-.03em;margin:0;position:relative;z-index:1;color:var(--ink)}
h1 span{background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent}
.story-caption{font-size:17px;line-height:1.6;color:var(--muted);margin:18px 0 0}
.story-tags{display:flex;flex-wrap:wrap;gap:8px;margin:26px 0 0;padding:0;list-style:none;position:relative;z-index:1}
.story-tags li{padding:6px 14px;border:1px solid #e2e3ea;border-radius:999px;background:rgba(255,255,255,.75);font-size:13px;font-weight:500;color:var(--ink-2)}
.science-art{position:absolute;z-index:-1;width:min(92%,560px);height:auto;right:-6px;bottom:28px;pointer-events:none}
.art-caption{position:relative;font-size:10px;font-weight:600;letter-spacing:2px;color:var(--subtle);margin-top:248px}

.auth-panel{display:flex;align-items:center;justify-content:center;padding:clamp(24px,3vw,48px) 0}
.form-wrap{width:100%;max-width:420px;padding:clamp(28px,3vw,40px);border:1px solid var(--line);border-radius:24px;background:#fff;box-shadow:0 30px 60px -36px rgba(31,45,80,.32),0 2px 6px rgba(31,45,80,.04)}
.form-wrap>.eyebrow{margin-bottom:12px}
h2{font-size:30px;line-height:1.3;font-weight:700;letter-spacing:-.02em;margin:0 0 8px;overflow-wrap:anywhere;color:var(--ink)}
.form-intro{color:var(--muted);font-size:15px;line-height:1.7;margin:0 0 28px}
label{display:block;font-size:14px;font-weight:600;color:var(--ink-2);margin:18px 0 8px}
input:not([type=hidden]){display:block;width:100%;height:48px;padding:0 16px;border:1px solid #dde2ea;border-radius:12px;background:#fafbfc;color:var(--ink);font:inherit;font-size:15px;transition:border-color .15s,box-shadow .15s,background .15s}
input:not([type=hidden]):hover{border-color:#c9d1dd}
input::placeholder{color:#a3abb8;font-size:14px}
input:focus{outline:none;border-color:var(--blue);background:#fff;box-shadow:0 0 0 4px rgba(11,107,222,.12)}
button{cursor:pointer;font:inherit}
.primary{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:50px;margin-top:26px;padding:0 24px;border:0;border-radius:999px;background:var(--blue);color:#fff;font-size:16px;font-weight:600;box-shadow:0 1px 2px rgba(11,107,222,.2);transition:background .15s,box-shadow .15s,transform .15s}
.primary:hover{background:var(--blue-hover);box-shadow:0 10px 22px -10px rgba(11,107,222,.55)}
.primary:active{transform:translateY(1px)}
.primary span{font-size:17px;font-weight:500}
.access-note{color:var(--muted);font-size:13px;line-height:1.8;padding-top:22px;margin:26px 0 0;border-top:1px solid #eef0f4}
.note-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--grad);vertical-align:middle;margin:0 9px 2px 0}
.contact-note{display:block;margin:4px 0 0 16px;color:var(--subtle)}
.message{font-size:14px;line-height:1.7;background:#f2f7ff;border:1px solid #c7dafa;color:var(--blue-ink);border-radius:12px;padding:12px 14px;margin:0 0 18px}
.message.error{background:#fff4f2;color:#a23b2a;border-color:#f3cfc7}
.label-hint{float:right;font-size:12px;font-weight:400;color:var(--subtle)}
.field-note{font-size:12px;color:var(--subtle);line-height:1.7}
.back-link{display:inline-flex;align-items:center;gap:4px;font-size:13px;font-weight:500;color:var(--blue-ink);margin-bottom:24px}
.back-link:hover{color:var(--blue)}
.back-link+.eyebrow{margin-top:-4px}
.form-wrap>.back-link:not(:first-child){display:flex;margin:-8px 0 18px;padding:10px 14px;border:1px solid #e6ebf3;border-radius:12px;background:#f8faff}
.logout-form{border-top:1px solid #eef0f4;margin-top:22px;padding-top:20px}
.secondary{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 22px;border:1.5px solid #dfe4ec;border-radius:999px;background:#fff;color:var(--ink-2);font-size:14px;font-weight:600;transition:border-color .15s,background .15s}
.secondary:hover{border-color:#c9d1dd;background:#f6f8fb}
.account-layout .form-intro{margin-bottom:20px}
.account-layout{grid-template-columns:minmax(0,560px);justify-content:center;min-height:0}
:is(a,button):focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.captcha-row{display:grid;grid-template-columns:minmax(0,1fr) 156px;gap:10px;align-items:center}
.captcha-row img{display:block;width:156px;height:48px;border:1px solid #dde2ea;border-radius:12px;background:#f4f6f9;object-fit:cover}
.captcha-row input{min-width:0;letter-spacing:2px}
.captcha-row input::placeholder{letter-spacing:0;font-size:13px}
.captcha-refresh{float:right;background:none;border:0;color:var(--blue-ink);padding:0;font:inherit;font-size:13px;font-weight:500;line-height:1.5}
.captcha-refresh:hover{color:var(--blue)}
.captcha-refresh:disabled{opacity:.5;cursor:wait}
.captcha-status{font-size:12px;color:var(--subtle);line-height:1.5;min-height:18px;margin:8px 0 0}
.captcha-status + noscript + .primary{margin-top:22px}
.auth-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:64px;border-top:1px solid #eef0f4;font-size:12px;color:var(--subtle)}
@media(max-width:900px){.auth-layout{grid-template-columns:1fr;min-height:0;max-width:560px;padding-top:4px}.auth-story{min-height:0;padding:36px 32px 32px}.science-art,.art-caption{display:none}h1{font-size:40px}.auth-panel{padding:0}.form-wrap{max-width:none}}
@media(max-width:620px){.auth-header{height:62px}.auth-header>span{display:none}.auth-layout{gap:16px;padding-bottom:28px}.auth-story{padding:28px 24px;border-radius:22px}h1{font-size:32px}.story-caption{font-size:15px;margin-top:12px}.story-tags{margin-top:18px}.story-tags li{font-size:12px;padding:5px 11px}.form-wrap{padding:26px 22px;border-radius:20px}h2{font-size:26px}.auth-footer{font-size:11px;gap:10px}}
.account-layout{grid-template-columns:minmax(0,920px)}
.account-stack{width:100%;display:flex;flex-direction:column;gap:18px}
.account-tasks{padding:clamp(22px,3vw,32px);border:1px solid var(--line);border-radius:24px;background:#fff;box-shadow:0 30px 60px -36px rgba(31,45,80,.32),0 2px 6px rgba(31,45,80,.04)}
.account-tasks h2{font-size:26px}
.account-tasks .form-intro{margin-bottom:8px}
.account-task-status{margin:0 0 8px;color:var(--muted);font-size:14px;line-height:1.6}
.account-task-status[data-kind="ok"]{color:var(--blue-ink)}
.account-task-status[data-kind="error"]{color:#a23b2a}
.account-task-quota{margin:0;color:var(--subtle);font-size:12px}
.account-empty{margin:8px 0 0;color:var(--muted);line-height:1.7}
.account-task-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;align-items:center;padding:14px 0;border-top:1px solid #eef0f4}
.account-task-row strong{display:block;font-size:15px;overflow-wrap:anywhere}
.account-task-row small{display:block;margin-top:3px;color:var(--subtle);font-size:12px}
.account-task-actions{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}
.account-task-actions button,.account-task-actions input{min-height:34px;padding:0 12px;border:1px solid #dfe4ec;border-radius:999px;background:#fff;color:var(--ink-2);font:inherit;font-size:13px;font-weight:600}
.account-task-actions button:hover{border-color:#c9d1dd;background:#f6f8fb}
.account-task-actions button.danger{color:#a23b2a;border-color:#f3cfc7;background:#fff4f2}
.account-task-actions input{border-radius:10px;min-width:8em;padding:0 10px}
.account-task-list button.retry,.account-stack #nl-account-task-list>button{min-height:36px;padding:0 16px;border:1px solid #dfe4ec;border-radius:999px;background:#fff;font:inherit;font-weight:600}
.account-dialog{width:min(440px,calc(100vw - 24px));padding:0;border:1px solid var(--line);border-radius:16px;background:#fff;color:var(--ink)}
.account-dialog::backdrop{background:rgba(31,38,51,.28)}
.account-dialog form{margin:0}
.account-dialog header{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid #eef0f4}
.account-dialog header button{border:0;background:transparent;color:var(--subtle);font-size:22px;line-height:1}
.account-dialog .body{padding:16px}
.account-dialog .body p{margin:0 0 14px;line-height:1.6}
.account-dialog .actions{display:flex;justify-content:flex-end;gap:8px}
.account-dialog .actions button{min-height:36px;padding:0 16px;border:1px solid #dfe4ec;border-radius:999px;background:#fff;font:inherit;font-weight:600}
.account-dialog .actions button.danger{color:#a23b2a;border-color:#f3cfc7;background:#fff4f2}
.account-stack .form-wrap{max-width:480px;margin-inline:auto}
@media(max-width:900px){.account-layout{max-width:920px}}
@media(max-width:620px){
  .account-tasks{padding:22px 18px;border-radius:20px}
  .account-task-row{grid-template-columns:1fr}
  .account-task-actions{justify-content:flex-start}
  .account-task-actions button{flex:1}
  .account-stack .form-wrap{max-width:none}
}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
.access-note a{color:var(--blue-ink);font-weight:600;margin-right:14px;white-space:nowrap}
.access-note a:hover{color:var(--blue)}
.account-center{padding:clamp(22px,3vw,32px);border:1px solid var(--line);border-radius:24px;background:#fff;box-shadow:0 30px 60px -36px rgba(31,45,80,.32),0 2px 6px rgba(31,45,80,.04)}
.account-center h2{font-size:26px}
.account-center h3{margin:6px 0 0;font-size:16px;line-height:1.4}
.account-facts{display:grid;margin:0 0 8px}
.account-facts div{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:10px 0;border-bottom:1px solid var(--line)}
.account-facts dt{margin:0;color:var(--muted);font-size:14px;font-weight:600}
.account-facts dd{margin:0;font-weight:600;text-align:right;overflow-wrap:anywhere}
@media(max-width:620px){
  .account-center{padding:22px 18px;border-radius:20px}
  .account-facts dd{max-width:68%}
  .access-note a{display:inline-flex;margin:8px 14px 0 0}
}

/* Account pages share the workspace's quiet surfaces and readable hierarchy. */
.account-layout .account-stack { gap: 24px; }
.account-layout :is(.account-tasks,.account-center,.form-wrap) { box-shadow: 0 6px 28px -16px rgba(31,45,80,.17); border-color: #e1e6ef; }
.account-task-row { padding-block: 18px; }
.account-task-row:hover { background: #fafbfe; }
@media(min-width:901px){.account-layout{padding-top:32px}}

/* Personal projects: application navigation and account settings are separate views. */
body:has(.project-hub){background:var(--paper)}
.account-layout{width:min(1680px,calc(100% - 2 * var(--gutter)));max-width:none;grid-template-columns:minmax(0,1fr);padding:28px 0 56px}
.account-layout>.auth-panel{padding:0;align-items:flex-start}
.project-hub{width:100%;display:grid;grid-template-columns:240px minmax(0,1fr);gap:42px;align-items:start}
.project-hub [hidden]{display:none!important}
.project-sidebar{position:sticky;top:28px;min-width:0}
.project-identity{display:flex;gap:12px;align-items:center;padding:4px 10px 26px}
.project-avatar{display:grid;place-items:center;width:42px;height:42px;border:1px solid #dfe5f2;border-radius:14px;background:linear-gradient(145deg,#eaf2ff,#f1eaff);font-size:18px;font-weight:700;color:var(--blue-ink);flex-shrink:0}
.project-identity strong{display:block;font-size:15px;overflow-wrap:anywhere;line-height:1.4}
.project-identity div>span{display:block;font-size:12px;color:var(--subtle);margin-top:4px}
.project-navigation{display:flex;flex-direction:column;gap:5px}
.project-navigation button,.project-navigation a{display:flex;align-items:center;gap:9px;width:100%;min-height:43px;padding:9px 12px;border:0;border-radius:10px;background:transparent;color:var(--muted);font-size:14px;text-align:left;transition:background .15s,color .15s}
.project-navigation button:hover,.project-navigation a:hover{background:#eef1f8;color:var(--ink)}
.project-navigation button[aria-current=page]{background:#e8effb;color:var(--blue-ink);font-weight:600}
.project-navigation small{margin-left:auto;font-size:11px;color:var(--subtle);font-variant-numeric:tabular-nums}
.project-nav-label{margin:22px 12px 8px;color:var(--subtle);font-size:11px;font-weight:600;letter-spacing:.05em}
.project-app-filter>span:not(.project-app-icon){min-width:0;overflow-wrap:anywhere;font-size:13px}
#project-app-nav{display:grid;gap:3px}
.project-navigation .project-app-icon{width:28px;height:28px;border-radius:8px;flex-shrink:0}
.project-navigation .project-app-icon svg{width:22px;height:22px}
.project-nav-bottom{margin-top:23px;padding-top:16px;border-top:1px solid var(--line)}
.project-storage{margin:25px 10px 0;padding-top:18px;border-top:1px solid var(--line)}
.project-storage>div{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:var(--muted)}
.project-storage meter{display:block;width:100%;height:6px;margin:10px 0;border:0;background:#e3e9f4;border-radius:99px;appearance:none}
.project-storage meter::-webkit-meter-bar{height:6px;border:0;border-radius:99px;background:#e3e9f4}
.project-storage meter::-webkit-meter-optimum-value{background:#7c91c9;border-radius:99px}
.project-storage meter::-moz-meter-bar{background:#7c91c9;border-radius:99px}
.project-storage p{color:var(--subtle);font-size:11px;line-height:1.7;margin:10px 0}
.project-content{min-width:0}
.project-hub .account-tasks,.project-hub .account-center{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.project-page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 28px}
.project-page-heading .eyebrow{margin-bottom:10px;color:var(--subtle);font-size:10px}
.project-page-heading h1{font-size:32px;font-weight:650;letter-spacing:-.025em;line-height:1.3}
.project-page-heading .form-intro{margin:10px 0 0;font-size:14px}
.project-primary{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:42px;padding:10px 20px;border:1px solid var(--blue);border-radius:11px;background:var(--blue);color:#fff;font-size:14px;font-weight:600;white-space:nowrap}
.project-primary:hover{background:var(--blue-hover);border-color:var(--blue-hover)}
.project-toolbar{display:flex;align-items:center;gap:12px;padding-bottom:18px;border-bottom:1px solid var(--line)}
.project-search{display:flex;align-items:center;gap:10px;width:min(480px,100%);margin:0;min-width:0;height:44px;padding:0 14px;border:1px solid var(--line);border-radius:11px;background:#fff;font-weight:400}
.project-search:focus-within{border-color:var(--blue);box-shadow:0 0 0 3px #0b6bde13}
.project-search>span[aria-hidden]{color:var(--subtle);font-size:23px;line-height:1}
.project-search input:not([type=hidden]){padding:0;border:0;border-radius:0;height:40px;background:transparent;font-size:14px;min-width:0}
.project-search input:focus{box-shadow:none}
.project-sort{margin:0 0 0 auto;flex-shrink:0}
.project-sort select,#project-refresh{height:42px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--muted);font:inherit;font-size:13px;padding:0 12px}
#project-refresh{min-width:42px;font-size:20px}
#project-refresh:hover{background:#eef3fc}
button:disabled{opacity:.5;cursor:wait}
.project-hub .account-task-status{min-height:20px;font-size:12px;margin:14px 0 24px;color:var(--subtle)}
.project-hub .account-task-status[data-kind=error]{color:#a23b2a}
.project-hub .account-task-status[data-kind=ok]{color:var(--blue-ink)}
.project-group{margin:0 0 32px}
.project-group-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 14px}
.project-group-heading h2{font-size:16px;font-weight:600;letter-spacing:0;margin:0;display:flex;align-items:center;gap:9px}
.project-group-count{font-size:11px;color:var(--subtle);padding:2px 7px;border:1px solid var(--line);border-radius:6px;font-weight:500}
.project-group-heading button{background:transparent;border:0;color:var(--subtle);font-size:12px;padding:6px 0}
.project-group-heading button:hover{color:var(--blue-ink)}
.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:start}
.project-card{min-width:0;padding:22px 22px 0;border:1px solid #e1e6ef;border-radius:16px;background:#fff;box-shadow:0 2px 6px -3px #2337610d;transition:border-color .15s,box-shadow .15s}
.project-card:hover{border-color:#cad5e8;box-shadow:0 8px 24px -14px #23376130}
.project-card-top{display:flex;align-items:center;gap:10px;min-width:0}
.project-app-icon{display:inline-grid;place-items:center;width:38px;height:38px;border-radius:11px;color:#617fae;background:#edf3fc;flex-shrink:0}
.project-app-icon svg{width:28px;height:28px}
.project-app-icon.tone-violet{background:#f0ecfb;color:#8067bf}
.project-app-icon.tone-pink{background:#fcf0f5;color:#bf7193}
.project-app-icon.tone-amber{background:#fbf5e7;color:#ae8d47}
.project-app-label{color:var(--subtle);font-size:11px;min-width:0;overflow-wrap:anywhere}
.project-card h3{font-size:16px;font-weight:600;line-height:1.5;overflow-wrap:anywhere;margin:20px 0 10px;min-height:24px;color:var(--ink)}
.project-card-meta{display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px;font-size:11px;color:var(--subtle);margin:0 0 22px;font-variant-numeric:tabular-nums}
.project-card-footer{display:flex;align-items:center;justify-content:space-between;min-height:48px;border-top:1px solid #edf0f6}
.project-card-footer a{color:var(--blue-ink);font-size:12px;font-weight:600;padding-block:10px}
.project-download{display:grid;place-items:center;border:0;border-radius:7px;background:transparent;color:var(--subtle);width:30px;height:30px;font-size:18px}
.project-download:hover{background:#f0f4fb;color:var(--blue-ink)}
.project-locked{color:var(--subtle);font-size:12px}
.project-menu{margin-left:auto;position:relative;flex-shrink:0}
.project-menu summary{list-style:none;display:grid;place-items:center;width:30px;height:30px;border-radius:7px;cursor:pointer;font-size:20px;line-height:1;color:var(--subtle);font-weight:600}
.project-menu summary::-webkit-details-marker{display:none}
.project-menu[open] summary,.project-menu summary:hover{background:#f0f3f8;color:var(--ink)}
.project-menu-actions{position:absolute;z-index:3;top:36px;right:0;width:156px;padding:5px;border:1px solid var(--line);border-radius:11px;background:#fff;box-shadow:0 10px 30px -8px #20325225}
.project-menu-actions button{display:block;text-align:left;width:100%;padding:10px;border:0;border-radius:7px;background:transparent;color:var(--ink-2);font-size:12px}
.project-menu-actions button:hover{background:#f2f5fa}
.project-menu-actions .danger{color:#a23b2a}
.project-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:340px;padding:36px 20px;border:1px dashed #d7e0ee;border-radius:18px;background:#ffffff70}
.project-empty>.project-app-icon{width:58px;height:58px;border-radius:17px;margin-bottom:20px}
.project-empty h2{font-size:20px;margin:0 0 10px}
.project-empty p{font-size:14px;color:var(--muted);margin:0 0 25px;line-height:1.8}
.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}
.settings-card{padding:28px;border:1px solid var(--line);border-radius:18px;background:#fff}
.project-hub .settings-card h2{font-size:17px;font-weight:600;margin-bottom:22px}
.settings-card .primary{height:44px;font-size:14px;max-width:200px;border-radius:11px}
.settings-card .account-facts dd{font-size:14px;max-width:70%}
.project-page-heading>.back-link{margin:0;white-space:nowrap}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.project-app-dialog{width:min(640px,calc(100vw - 32px))}
.project-app-picker{display:grid;grid-template-columns:1fr 1fr;gap:10px;max-height:55vh;overflow:auto}
.project-app-picker a{display:flex;align-items:center;gap:12px;min-width:0;padding:13px;border:1px solid var(--line);border-radius:12px;font-size:13px}
.project-app-picker strong{font-weight:600;overflow-wrap:anywhere;min-width:0}
.project-app-picker a>span:last-child{margin-left:auto;color:var(--subtle)}
.project-app-picker a:hover{border-color:#c4d3e9;background:#f8faff}
.account-dialog .actions button.project-primary{border-color:var(--blue);background:var(--blue);color:#fff}
@media(min-width:1900px){.project-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1200px){.project-hub{grid-template-columns:210px minmax(0,1fr);gap:28px}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-grid{grid-template-columns:1fr}}
@media(max-width:800px){.account-layout{padding-top:18px}.project-hub{grid-template-columns:1fr;gap:24px}.project-sidebar{position:static}.project-identity{padding:0 0 14px}.project-navigation{flex-direction:row;flex-wrap:wrap;gap:6px}.project-navigation>button{width:auto}.project-nav-label,.project-storage{display:none}#project-app-nav{display:flex;width:100%;overflow-x:auto;gap:6px;padding-bottom:4px}.project-navigation .project-app-filter{width:auto;flex-shrink:0}.project-nav-bottom{margin:0;padding:0;border:0}.project-nav-bottom button{width:auto}.project-nav-bottom>a{display:none}.project-page-heading{gap:14px}.project-page-heading h1{font-size:28px}.project-search{width:100%}.project-toolbar{flex-wrap:wrap}.project-sort{margin-left:0}.project-search{flex:1 1 100%}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.project-page-heading{align-items:flex-start;flex-wrap:wrap}.project-page-heading .project-primary{min-height:38px;font-size:12px;padding:9px 14px}.project-grid{grid-template-columns:1fr}.project-card{padding:20px 20px 0}.project-toolbar{gap:8px}.project-app-picker{grid-template-columns:1fr}.project-group-heading h2{font-size:15px}.settings-card{padding:22px}.project-nav-bottom button{font-size:13px}.project-navigation button{min-height:38px;font-size:13px}}
@media(min-width:801px){.project-sidebar{max-height:calc(100svh - 56px);overflow:auto;scrollbar-width:thin;padding-right:4px}}

#project-group-toggle{margin-left:auto;min-height:42px;padding:0 14px;border:1px solid var(--line);border-radius:10px;background:#fff;font:inherit;font-size:12px;color:var(--muted);white-space:nowrap}
#project-group-toggle[aria-pressed=true]{background:#e8effb;border-color:#ccd9ee;color:var(--blue-ink)}
.project-sort{margin-left:0}
.project-search+ #project-group-toggle[hidden]+.project-sort{margin-left:auto}
@media(max-width:800px){#project-group-toggle{margin-left:0}.project-search+ #project-group-toggle[hidden]+.project-sort{margin-left:0}}
body:has(.project-hub) .auth-header{width:100%;padding-inline:var(--gutter);background:#fff;border-bottom:1px solid var(--line)}

/* Personal space: password is a discrete account action. */
.settings-grid{grid-template-columns:minmax(0,920px)}
.settings-profile .account-facts{margin-bottom:0}
.settings-profile .account-facts>div{min-height:62px;align-items:center}
.settings-profile .account-facts dd{display:flex;align-items:center;gap:28px}
.password-mask{letter-spacing:3px;color:var(--muted);font-size:15px}
.settings-text-button{padding:7px 0;border:0;background:transparent;color:var(--blue-ink);font:inherit;font-size:13px;cursor:pointer;white-space:nowrap}
.settings-text-button:hover{text-decoration:underline;text-underline-offset:4px}
.settings-card-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:26px;padding-top:20px;border-top:1px solid var(--line)}
.settings-card-footer>p{margin:0;color:var(--subtle);font-size:12px;line-height:1.7}
.settings-card-footer .logout-form{margin:0;flex-shrink:0}
.password-dialog{width:min(480px,calc(100vw - 32px));max-height:calc(100svh - 32px);overflow:auto}
.password-dialog>header{align-items:flex-start;padding:24px 26px 20px}
.password-dialog>header h2{font-size:20px;line-height:1.4;margin:0}
.password-dialog>header p{font-size:12px;color:var(--muted);margin:7px 0 0;line-height:1.7}
.password-dialog>header button{border:0;background:transparent;border-radius:7px;padding:3px 8px;color:var(--muted);font-size:23px;cursor:pointer}
.password-dialog .body{padding:22px 26px 26px;margin:0}
.password-dialog .field-note{margin:18px 0 0}
.password-dialog .actions{margin-top:24px;gap:10px}
.password-dialog .actions button{min-height:40px;padding:0 16px;font-size:13px}
.password-dialog input:focus-visible,.settings-text-button:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
@media(max-width:520px){.settings-card-footer{align-items:flex-start;flex-direction:column}.settings-profile .account-facts dd{gap:14px}.password-dialog>header,.password-dialog .body{padding:20px}}

.settings-card-footer .logout-form{border:0;padding:0}

/* Public introduction: one statement, one description, one login action. */
.landing-page{background:linear-gradient(180deg,#fff 0%,#f9faff 100%)}
.landing-header{height:88px}
.landing-login{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:44px;padding:0 24px;border-radius:999px;background:var(--blue);color:#fff;font-size:15px;font-weight:600;transition:background .15s}
.landing-login:hover{background:var(--blue-hover)}
.landing-main{width:min(1240px,calc(100% - 2 * var(--gutter)));margin-inline:auto;flex:1;display:grid;grid-template-columns:1.15fr 1fr;gap:32px;align-items:center;min-height:540px;padding-block:48px 72px}
.landing-copy h1{font-size:clamp(38px,4.7vw,66px);line-height:1.4;letter-spacing:-.03em}
.landing-copy p{max-width:440px;margin:24px 0 0;color:var(--muted);font-size:17px;line-height:1.9}
.landing-visual{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;border-radius:40px;background:radial-gradient(ellipse at center,rgba(107,108,242,.06),transparent 68%)}
.landing-visual .landing-art{display:block;width:100%;max-width:620px;height:auto;overflow:visible}
@media(max-width:900px){.landing-main{grid-template-columns:1fr;gap:12px;min-height:0;padding-block:48px 24px}.landing-copy{max-width:560px}.landing-visual{width:min(100%,480px);justify-self:center}.landing-copy h1{font-size:clamp(34px,6vw,52px)}}
@media(max-width:620px){.landing-header{height:72px}.landing-login{min-height:40px;padding-inline:20px}.landing-main{padding-top:40px}.landing-copy h1{font-size:clamp(30px,8.2vw,42px)}.landing-copy p{font-size:15px;margin-top:18px}.landing-visual{max-width:360px}}

.landing-page .auth-footer{flex-wrap:wrap;gap:8px 24px;padding-block:16px}
