/* ZSOne Platform v0.2.7 — professional empty workspace dashboard. */

/* ---------- Sidebar project tool structure ---------- */
.zs-sidebar-section{padding:4px 0 14px;border-top:1px solid rgba(255,255,255,.07)}
.zs-sidebar-section-label{display:block;padding:15px 12px 8px;color:#767d88;font-size:8px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}
.zs-sidebar-nav--modules{padding:0;gap:3px}
.zs-sidebar-static{min-height:38px;display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:10px;padding:0 10px;border-radius:9px;color:#7f858f;font-size:11px;font-weight:700;cursor:default;user-select:none}
.zs-sidebar-static .zs-nav-icon{width:27px;height:27px;background:rgba(255,255,255,.035);color:#787f89}
.zs-sidebar-static .zs-nav-icon .auth-icon{width:15px;height:15px}
.zs-sidebar-static small{display:inline-flex;align-items:center;min-height:18px;padding:0 6px;border-radius:999px;background:rgba(224,185,104,.12);color:#c99b43;font-size:7px;font-weight:900;letter-spacing:.07em;text-transform:uppercase}
.zs-sidebar-static.is-next{color:#bfc3ca;background:rgba(255,255,255,.025)}
.zs-sidebar-static.is-next .zs-nav-icon{color:#d4a64e;background:rgba(212,166,78,.1)}
.zs-sidebar-lock{width:12px;height:12px;color:#626974}

/* ---------- Top project context ---------- */
.zs-project-context{height:44px;min-width:190px;max-width:240px;display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:8px;padding:4px 10px 4px 6px;border:1px solid #e1ddd4;border-radius:11px;background:#f8f6f1;color:#30343a}
.zs-project-context-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:8px;background:#efe8da;color:#9a6d22}
.zs-project-context-icon .auth-icon{width:16px;height:16px}
.zs-project-context small,.zs-project-context strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.zs-project-context small{margin-bottom:2px;color:#92969d;font-size:7px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}
.zs-project-context strong{font-size:10px;font-weight:800;color:#4b4f55}

/* ---------- Workspace welcome ---------- */
.zs-workspace-welcome{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 24px;margin-bottom:14px;border:1px solid #e3ded4;border-radius:15px;background:linear-gradient(105deg,#fff 0%,#fff 72%,#fbf5e8 100%);box-shadow:0 8px 26px rgba(43,38,29,.035)}
.zs-workspace-eyebrow,.zs-section-kicker{display:inline-flex;align-items:center;gap:7px;color:#9a6d22;font-size:8px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
.zs-workspace-eyebrow .auth-icon,.zs-section-kicker .auth-icon{width:14px;height:14px}
.zs-workspace-welcome h3{margin:7px 0 0;font-size:22px;line-height:1.16;letter-spacing:-.03em}
.zs-workspace-welcome p{margin:6px 0 0;color:#7b7f86;font-size:11px;line-height:1.5}
.zs-workspace-welcome p strong{color:#41454b;font-weight:750}
.zs-workspace-welcome-meta{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px}
.zs-workspace-role,.zs-workspace-protected{min-height:32px;display:inline-flex;align-items:center;gap:7px;padding:0 10px;border-radius:999px;font-size:9px;font-weight:850;white-space:nowrap}
.zs-workspace-role{background:#f1e2be;color:#7e581c}
.zs-workspace-protected{background:#edf5ef;color:#397149}
.zs-workspace-role .auth-icon,.zs-workspace-protected .auth-icon{width:14px;height:14px}

/* ---------- Compact live-status tiles ---------- */
.zs-workspace-status-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}
.zs-status-tile{position:relative;min-height:72px;display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px 14px;border:1px solid #e5e1d8;border-radius:12px;background:#fff;box-shadow:0 5px 18px rgba(43,38,29,.025)}
.zs-status-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:10px;background:#f4f0e7;color:#906621}
.zs-status-icon .auth-icon{width:18px;height:18px}
.zs-status-tile small,.zs-status-tile strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.zs-status-tile small{color:#94989f;font-size:8px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.zs-status-tile strong{margin-top:4px;color:#30343a;font-size:10px;font-weight:800}
.zs-status-tile.is-ready .zs-status-icon{background:#eaf4ed;color:#327144}
.zs-status-dot{width:7px;height:7px;border-radius:50%;background:#3f985d;box-shadow:0 0 0 4px #edf6f0}

/* ---------- Main workspace dashboard ---------- */
.zs-workspace-main-grid{display:grid;grid-template-columns:minmax(0,1.72fr) minmax(300px,.82fr);gap:14px;align-items:start;margin-bottom:14px}
.zs-project-hub{overflow:hidden}
.zs-project-hub-head{align-items:center}
.zs-project-hub-head h3{margin-top:6px;font-size:17px;letter-spacing:-.025em}
.zs-project-state{min-height:28px;display:inline-flex;align-items:center;gap:6px;padding:0 9px;border-radius:999px;background:#f6f1e7;color:#866024;font-size:8px;font-weight:850;white-space:nowrap}
.zs-project-state .auth-icon{width:13px;height:13px}
.zs-project-state.is-neutral{background:#f3f3f1;color:#777c84}
.zs-project-empty-stage{min-height:322px;display:grid;grid-template-columns:72px minmax(0,1fr);gap:18px;align-content:center;padding:36px 34px;background:linear-gradient(145deg,#fbfaf7,#f6f3eb);border-bottom:1px solid #eee9e0}
.zs-project-empty-mark{width:72px;height:72px;display:grid;place-items:center;border-radius:18px;background:#fff;border:1px solid #e5dfd2;color:#a1762e;box-shadow:0 10px 26px rgba(58,49,33,.06)}
.zs-project-empty-mark .auth-icon{width:32px;height:32px}
.zs-project-empty-copy{max-width:590px}
.zs-project-empty-copy strong{display:block;color:#272b31;font-size:16px;letter-spacing:-.015em}
.zs-project-empty-copy p{margin:7px 0 0;color:#7f838a;font-size:11px;line-height:1.62}
.zs-project-next-step{grid-column:2;display:inline-grid;justify-self:start;gap:3px;margin-top:4px;padding:9px 12px;border:1px solid #e8d8b5;border-radius:9px;background:#fff9ec}
.zs-project-next-step span{color:#9f7c42;font-size:7px;font-weight:850;letter-spacing:.07em;text-transform:uppercase}
.zs-project-next-step strong{color:#674a1b;font-size:9px}
.zs-project-hub-foot{min-height:54px;display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px;padding:11px 20px;background:#fff}
.zs-project-hub-foot span{display:inline-flex;align-items:center;gap:7px;color:#7d8188;font-size:9px;font-weight:650}
.zs-project-hub-foot .auth-icon{width:14px;height:14px;color:#9c7129}

.zs-workspace-side-stack{display:grid;gap:14px}
.zs-readiness-list{padding:8px 14px 14px}
.zs-readiness-row{min-height:61px;display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px 5px;border-bottom:1px solid #eee9e0}
.zs-readiness-row:last-child{border-bottom:0}
.zs-readiness-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:#f1eee8;color:#858a92}
.zs-readiness-icon .auth-icon{width:16px;height:16px}
.zs-readiness-row strong,.zs-readiness-row small{display:block}
.zs-readiness-row strong{color:#34383e;font-size:10px}
.zs-readiness-row small{margin-top:4px;color:#92969c;font-size:8px;line-height:1.35}
.zs-readiness-row em{font-style:normal;color:#83878e;font-size:7px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}
.zs-readiness-row.is-ready .zs-readiness-icon{background:#e9f3ec;color:#367448}
.zs-readiness-row.is-ready em{color:#367448}
.zs-readiness-row.is-next .zs-readiness-icon{background:#f5e9cc;color:#91651f}
.zs-readiness-row.is-next em{color:#91651f}

.zs-quick-access-list{padding:8px}
.zs-quick-access-list a{min-height:58px;display:grid;grid-template-columns:36px minmax(0,1fr) 16px;align-items:center;gap:10px;padding:9px 10px;border-radius:10px;color:#32363c;text-decoration:none;transition:background .15s ease,transform .15s ease}
.zs-quick-access-list a:hover{background:#f7f4ed;transform:translateX(2px)}
.zs-quick-icon{width:36px;height:36px;display:grid;place-items:center;border:1px solid #e7e1d6;border-radius:10px;background:#fff;color:#976c27}
.zs-quick-icon .auth-icon{width:17px;height:17px}
.zs-quick-access-list strong,.zs-quick-access-list small{display:block}
.zs-quick-access-list strong{font-size:10px}
.zs-quick-access-list small{margin-top:4px;color:#969aa0;font-size:8px;line-height:1.3}
.zs-quick-access-list>a>.auth-icon{width:14px;height:14px;color:#9da1a8}

/* ---------- Project module map ---------- */
.zs-platform-modules{padding:22px 0 18px}
.zs-module-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:13px}
.zs-module-section-head h3{margin:6px 0 0;font-size:18px;letter-spacing:-.025em}
.zs-module-section-head p{margin:6px 0 0;color:#858990;font-size:10px;line-height:1.5}
.zs-module-security{min-height:28px;display:inline-flex;align-items:center;gap:6px;padding:0 9px;border:1px solid #e5e1d8;border-radius:999px;background:#fff;color:#737880;font-size:8px;font-weight:800;white-space:nowrap}
.zs-module-security .auth-icon{width:13px;height:13px;color:#9b702a}
.zs-module-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px}
.zs-module-card{min-height:142px;display:flex;flex-direction:column;padding:14px;border:1px solid #e5e1d8;border-radius:12px;background:#fff;color:#6f747c}
.zs-module-card.is-next{border-color:#e2c990;background:linear-gradient(150deg,#fff,#fff8e9)}
.zs-module-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:16px}
.zs-module-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:#f3f0e9;color:#8c9198}
.zs-module-icon .auth-icon{width:16px;height:16px}
.zs-module-card.is-next .zs-module-icon{background:#f1dfb5;color:#8a611e}
.zs-module-state{display:inline-flex;align-items:center;justify-content:center;min-width:20px;min-height:20px;color:#8d9299;font-size:7px;font-weight:900;text-transform:uppercase}
.zs-module-state .auth-icon{width:11px;height:11px}
.zs-module-card.is-next .zs-module-state{padding:0 6px;border-radius:999px;background:#f3e5c3;color:#89601f}
.zs-module-card>strong{color:#3d4147;font-size:10px;line-height:1.3}
.zs-module-card>p{margin:6px 0 0;color:#969aa1;font-size:8px;line-height:1.45}

/* ---------- Empty project activity ---------- */
.zs-project-activity{margin-top:0}
.zs-activity-empty{min-height:112px;display:grid;grid-template-columns:46px minmax(0,1fr);gap:14px;align-items:center;padding:20px}
.zs-activity-empty-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:12px;background:#f2efe9;color:#8d929a}
.zs-activity-empty-icon .auth-icon{width:20px;height:20px}
.zs-activity-empty strong{display:block;font-size:11px;color:#3b3f45}
.zs-activity-empty p{margin:5px 0 0;max-width:720px;color:#92969d;font-size:9px;line-height:1.55}

@media(max-width:1180px){
  .zs-workspace-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .zs-workspace-main-grid{grid-template-columns:minmax(0,1.35fr) minmax(280px,.8fr)}
  .zs-module-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .zs-project-context{display:none}
}
@media(max-width:900px){
  .zs-workspace-main-grid{grid-template-columns:1fr}
  .zs-workspace-side-stack{grid-template-columns:1fr 1fr}
  .zs-module-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:820px){
  .zs-sidebar-section{border-top:0}
  .zs-sidebar-nav--modules{padding-bottom:8px}
}
@media(max-width:680px){
  .zs-workspace-welcome{align-items:flex-start;flex-direction:column;padding:18px}
  .zs-workspace-welcome-meta{justify-content:flex-start}
  .zs-workspace-status-grid{grid-template-columns:1fr}
  .zs-workspace-main-grid{gap:12px}
  .zs-workspace-side-stack{grid-template-columns:1fr}
  .zs-project-empty-stage{min-height:280px;grid-template-columns:52px minmax(0,1fr);gap:13px;padding:26px 20px}
  .zs-project-empty-mark{width:52px;height:52px;border-radius:13px}.zs-project-empty-mark .auth-icon{width:24px;height:24px}
  .zs-project-next-step{grid-column:1/-1;margin-left:65px}
  .zs-project-hub-foot{display:grid;gap:8px;padding:12px 16px}
  .zs-module-section-head{align-items:flex-start;flex-direction:column}.zs-module-security{align-self:flex-start}
  .zs-module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:430px){
  .zs-module-grid{grid-template-columns:1fr 1fr}
  .zs-module-card{min-height:132px;padding:12px}
  .zs-project-next-step{margin-left:0}
  .zs-project-empty-stage{grid-template-columns:1fr}
  .zs-project-empty-copy,.zs-project-next-step{grid-column:1}
  .zs-platform-actions{gap:6px}
}

.zs-platform-sidebar{overflow-y:auto;overflow-x:hidden}
