/* Project Hub layout. Shared components and tokens live in palmwave.css. */
.hub-shell { display:grid; grid-template-columns:216px minmax(0,1fr); min-height:100vh; }
.hub-sidebar { position:sticky; top:0; height:100vh; display:flex; flex-direction:column; padding:24px 14px 16px; border-right:1px solid var(--pw-border); background:var(--pw-surface); }
.hub-brand { display:flex; align-items:center; gap:10px; color:var(--pw-fg)!important; font-size:15px; font-weight:650; text-decoration:none!important; margin:0 8px 36px; }
.hub-monogram { display:inline-flex; align-items:center; justify-content:center; width:32px; height:32px; border-radius:6px; background:var(--pw-primary); color:var(--pw-on-primary); font-size:11px; font-weight:650; letter-spacing:-.3px; flex:none; }
.hub-brand-sub { display:block; font-size:11px; color:var(--pw-muted); font-weight:400; margin-top:1px; }
.hub-nav-label { font-size:11px; color:var(--pw-muted); margin:0 12px 10px; }
.hub-sidebar-foot { margin-top:auto; padding:18px 10px 0; border-top:1px solid var(--pw-border); display:flex; flex-direction:column; }
.hub-email { font-size:12px; overflow-wrap:anywhere; }
.hub-sidebar-foot form { margin-top:12px; }
.hub-sidebar-foot button { margin-left:-9px; }
.hub-workspace { min-width:0; display:flex; flex-direction:column; }
.hub-topbar { height:64px; padding:0 30px; border-bottom:1px solid var(--pw-border); display:flex; align-items:center; justify-content:space-between; gap:12px; background:var(--pw-surface); }
.hub-topbar span[aria-hidden] { margin:0 9px; color:var(--pw-control-border); }
.hub-section-label { color:var(--pw-fg); }
.hub-main { width:100%; max-width:1600px; margin:0 auto; padding:28px 30px; flex:1; }
.hub-updated { text-align:right; flex-shrink:0; }
.hub-updated strong { font-weight:500; color:var(--pw-fg); }
.hub-summary { display:grid; grid-template-columns:repeat(3,1fr); margin:0 0 28px; border:1px solid var(--pw-border); border-radius:var(--pw-radius); background:var(--pw-surface); }
.hub-summary > div { padding:16px 20px; }
.hub-summary > div + div { border-left:1px solid var(--pw-border); }
.hub-summary dt { font-size:12px; color:var(--pw-muted); }
.hub-summary dd { font-size:26px; font-weight:600; letter-spacing:-.6px; margin:4px 0 0; line-height:1.25; font-variant-numeric:tabular-nums; }
.hub-list-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:14px; }
.hub-list-heading h2 span { margin-left:7px; font-size:12px; }
.hub-filters { display:flex; align-items:end; gap:10px; flex-wrap:wrap; }
.hub-filters .pw-field { flex:1 1 130px; }
.hub-filters .hub-search { flex:2.4 1 240px; }
.hub-filter-help { margin:8px 0 16px!important; }
.hub-project-table { min-width:780px; }
.hub-project-table th:first-child { width:38%; }
.hub-project-name { font-size:14px; font-weight:600; color:var(--pw-fg)!important; }
.hub-project-name:hover { color:var(--pw-accent)!important; }
.hub-site-link { display:inline-block; margin-left:8px; padding:4px 2px; color:var(--pw-accent)!important; font-size:12px; font-weight:700; text-decoration:underline; text-underline-offset:3px; white-space:nowrap; }
.hub-no-url { display:inline-block; margin-left:8px; color:var(--pw-muted); font-size:12px; font-weight:400; white-space:nowrap; }
.hub-description { font-size:12px; color:var(--pw-muted); font-weight:400; margin-top:4px!important; line-height:1.5; max-width:480px; }
.hub-cell-note { display:block; font-size:11px; color:var(--pw-muted); font-weight:400; margin-top:4px; }
.hub-date { font-size:12px; min-width:105px; }
.hub-table-note { margin-top:12px!important; }
.hub-footer { display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px; padding:14px 30px; border-top:1px solid var(--pw-border); font-size:11px; color:var(--pw-muted); }
.hub-detail-description { max-width:720px; }
.hub-project-strip { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; padding:18px 20px; border:1px solid var(--pw-border); border-radius:var(--pw-radius); background:var(--pw-surface); margin-bottom:10px; font-size:13px; }
.hub-detail-grid { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(260px,1fr); gap:20px; margin-top:24px; }
.hub-prose { white-space:pre-line; overflow-wrap:anywhere; }
.hub-access-grid { display:grid; grid-template-columns:minmax(260px,.85fr) minmax(0,1.5fr); gap:20px; margin-top:22px; align-items:start; }
.hub-account-cell { overflow-wrap:anywhere; }
.hub-revoke { min-width:110px; }
.hub-revoke summary { cursor:pointer; color:var(--pw-danger); font-size:12px; }
.hub-revoke p { margin:10px 0!important; overflow-wrap:anywhere; }
.hub-audit { margin-top:24px; }
.hub-audit table { min-width:650px; }
.hub-public { min-height:100vh; display:grid; place-items:center; padding:24px; }
.hub-public-main { width:100%; max-width:440px; }
.hub-login .pw-panel-body { padding:32px; }
.hub-login h1 { margin-top:20px; font-size:22px; }
.hub-login h1 + p { margin-top:8px; }
.hub-login .pw-button { margin-top:24px; width:100%; white-space:normal; }
.hub-login .pw-alert { margin-top:20px; }
@media (max-width:1100px) { .hub-shell { grid-template-columns:190px minmax(0,1fr); } .hub-main { padding:24px; } .hub-topbar { padding:0 24px; } .hub-access-grid { grid-template-columns:1fr; } }
@media (max-width:800px) { .hub-shell { display:block; } .hub-sidebar { position:static; width:100%; height:auto; padding:14px 20px; border-right:0; border-bottom:1px solid var(--pw-border); flex-direction:row; align-items:center; gap:20px; flex-wrap:wrap; } .hub-brand { margin:0; } .hub-nav-label,.hub-sidebar-foot > span { display:none; } .hub-sidebar .pw-nav { flex-direction:row; margin-left:auto; } .hub-sidebar-foot { margin:0; padding:0; border:0; } .hub-sidebar-foot form { margin:0; } .hub-topbar { height:52px; } .hub-detail-grid { grid-template-columns:1fr; } .hub-project-strip { grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px) { .hub-sidebar { padding:14px 16px; gap:10px; } .hub-brand { width:100%; } .hub-sidebar .pw-nav { margin-left:0; } .hub-sidebar-foot { margin-left:auto; } .hub-main { padding:22px 16px; } .hub-topbar { padding:0 16px; } .hub-updated { text-align:left; } .hub-summary > div { padding:12px; } .hub-summary dt { font-size:11px; } .hub-summary dd { font-size:23px; } .hub-list-heading { align-items:flex-start; flex-direction:column; gap:3px; } .hub-filters .hub-search { flex-basis:100%; } .hub-filters .pw-field { flex-basis:40%; } .hub-filters button { flex:1; } .hub-footer { padding:14px 16px; } }
@media print { .hub-sidebar,.hub-topbar,.hub-filters,.hub-footer { display:none; } .hub-shell { display:block; } .hub-main { padding:0; } .pw-table-wrap { overflow:visible; } .hub-project-table { min-width:0; } }
