/* Higgsfield reference: neutral company rows and clear typography. */
body.portal-page{min-height:100dvh}
.portal-topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;height:64px;padding:0 max(24px,calc((100vw - 1120px)/2));background:var(--ui-surface)}
.portal-brand{display:inline-flex;align-items:center;gap:10px;font-size:20px;font-weight:750;line-height:1.3;letter-spacing:-.045em;color:var(--ui-text)}
.portal-brand-mark{display:grid;place-items:center;width:30px;height:32px;color:var(--ui-text)}.portal-brand-mark svg{width:28px;height:28px}.portal-brand-caption{display:none}
.portal-top-actions{display:flex;gap:18px;align-items:center;font-size:13px;color:var(--ui-muted)}
body.portal-page .portal-theme{display:grid;place-items:center;width:40px;height:40px;padding:0;background:transparent;border:0}.portal-theme svg{width:20px;height:20px}
.portal-main{max-width:824px;padding:36px 32px 28px;margin:0 auto}
.portal-intro{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:32px}
.portal-eyebrow{display:block;color:var(--ui-muted);font-size:14px;font-weight:600;margin-bottom:12px}
body.portal-page h1{font-size:34px;font-weight:750;letter-spacing:-.055em;line-height:1.4}
.portal-intro p{margin:12px 0 0;color:var(--ui-muted);font-size:16px}.portal-mobile-break,.portal-date{display:none}
.portal-grid{display:grid;gap:12px}
.workspace-card{display:grid;grid-template-columns:54px minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:center;column-gap:20px;min-width:0;padding:25px 28px;border:1px solid var(--ui-border);border-radius:18px;background:var(--ui-surface);color:var(--ui-text);transition:background .16s,box-shadow .16s}
.workspace-card:hover{background:var(--ui-elevated);box-shadow:var(--ui-shadow)}
.workspace-card-top{display:contents}
.workspace-monogram{display:grid;place-items:center;grid-column:1;grid-row:1 / 3;width:54px;height:54px;border:0;border-radius:15px;background:var(--ui-elevated);color:var(--ui-text)}.workspace-monogram svg{width:26px;height:26px}
.workspace-state{display:none}
body.portal-page .workspace-card h2{grid-column:2;grid-row:1;font-size:21px;font-weight:700;letter-spacing:-.035em;line-height:1.4}
.workspace-category{grid-column:2;grid-row:2;margin:5px 0 0;font-size:14px;color:var(--ui-muted)}
.workspace-description,.workspace-tags{display:none}
.workspace-card-bottom{grid-column:3;grid-row:1 / 3;display:flex;align-items:center;gap:12px;color:var(--ui-muted);font-size:13px;font-weight:500}
.workspace-card-bottom>[data-entry-label]{display:none}.workspace-card-bottom>span:last-child{font-size:24px;font-weight:400;line-height:1}
.portal-secondary{display:flex;flex-direction:column;gap:14px;padding:30px 0 24px}
body.portal-page .portal-secondary h2{font-size:14px;font-weight:600;color:var(--ui-muted);margin:0}
.portal-secondary>div>p{display:none}
.workspace-shortcut{display:flex;align-items:center;gap:16px;padding:20px 24px;border:1px solid var(--ui-border);border-radius:16px;background:var(--ui-surface)}
.workspace-shortcut:hover{background:var(--ui-elevated)}
.shortcut-icon{display:grid;place-items:center;width:38px;height:38px;flex-shrink:0;color:var(--ui-muted)}.shortcut-icon svg{width:24px;height:24px}
.workspace-shortcut strong{font-size:16px;font-weight:650;color:var(--ui-text)}.workspace-shortcut small{display:block;font-size:13px;color:var(--ui-muted);margin-top:3px}
.workspace-shortcut>span:last-child{margin-left:auto;color:var(--ui-muted);font-size:24px}
.portal-footer{display:flex;justify-content:center;padding-top:12px;font-size:12px;color:var(--ui-muted);text-align:center}.portal-footer>span:last-child{display:none}
.portal-alert{display:flex;align-items:center;justify-content:space-between;gap:16px;background:var(--ui-surface);border:1px solid var(--ui-border);padding:16px;border-radius:12px;margin-bottom:20px;font-size:14px}
.portal-empty{padding:32px;background:var(--ui-surface);border-radius:16px;text-align:center;margin-bottom:24px}
body.portal-page dialog.workspace-access{width:440px;padding:32px;max-height:calc(100dvh - 32px);overflow:auto}
.access-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.access-head .portal-eyebrow{margin:0;font-size:13px}.access-head button{font-size:26px;width:40px;line-height:1;padding:0}
body.portal-page #access-title{font-size:28px;margin:16px 0 8px}
#access-description{color:var(--ui-muted);font-size:14px;margin-bottom:24px}
#workspace-access-form>label{display:block;font-weight:600;font-size:14px;margin:16px 0 8px}
#workspace-access-form>input{width:100%;min-height:48px}
#workspace-access-form label.access-remember{display:flex;align-items:center;gap:8px;min-height:44px;font-weight:400;color:var(--ui-muted)}
#access-error{margin:6px 0 12px;font-size:14px}#access-error:empty{display:none}
body.portal-page #access-submit{display:block;width:100%;min-height:50px;margin-top:16px}
.access-note{text-align:center;font-size:12px;line-height:1.6;color:var(--ui-muted);margin-top:16px}
@media(max-width:767px){
 .portal-topbar{height:56px;padding:0 20px}.portal-brand{font-size:18px}.portal-top-actions>span{display:none}
 .portal-main{padding:32px 20px 24px}.portal-intro{margin-bottom:25px}body.portal-page h1{font-size:27px}.portal-intro p{font-size:14px}.portal-mobile-break{display:block}
 .workspace-card{grid-template-columns:44px minmax(0,1fr) 16px;padding:21px 18px;gap:0 14px;border-radius:16px}
 .workspace-monogram{width:44px;height:44px;border-radius:12px}.workspace-monogram svg{width:24px;height:24px}
 body.portal-page .workspace-card h2{font-size:19px}.workspace-category{font-size:12px}.workspace-card-bottom{justify-content:flex-end}
 .portal-secondary{padding-top:26px}.workspace-shortcut{padding:18px;gap:12px}.workspace-shortcut strong{font-size:15px}.workspace-shortcut small{font-size:12px}
 .portal-alert{flex-wrap:wrap}body.portal-page dialog.workspace-access{padding:24px}
}

