:root {
  --ink: #182120;
  --muted: #6d7773;
  --soft: #f6f7f4;
  --line: #e6eae4;
  --card: #ffffff;
  --sidebar: #172422;
  --sidebar-soft: #243532;
  --mint: #b8f1d3;
  --mint-strong: #65d99d;
  --yellow: #f8e8a6;
  --coral: #ffb6a9;
  --lavender: #ddd8ff;
  --shadow: 0 16px 44px rgba(24, 33, 32, 0.07);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #f7f8f5;
  font: 14px/1.45 "DM Sans", system-ui, sans-serif;
}
button, input { font: inherit; }
button { cursor: pointer; }

.app-shell { min-height: 100vh; display: flex; }
.sidebar {
  width: 256px;
  flex: 0 0 256px;
  min-height: 100vh;
  padding: 27px 16px 17px;
  display: flex;
  flex-direction: column;
  background: var(--sidebar);
  color: #eef8f1;
}
.brand-lockup { display: flex; align-items: center; gap: 11px; padding: 0 12px 28px; }
.brand-mark {
  width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px;
  background: var(--mint); color: var(--sidebar); font: 800 20px Manrope, sans-serif;
}
.brand-name { font: 800 17px Manrope, sans-serif; letter-spacing: -0.04em; }
.brand-subtitle { color: #9db1a6; font-size: 11px; margin-top: 1px; }
.workspace-switcher {
  display: flex; align-items: center; gap: 10px; padding: 11px 10px; border: 1px solid #345049;
  border-radius: 13px; background: rgba(255,255,255,.035); margin-bottom: 25px;
}
.workspace-avatar, .user-avatar { display: grid; place-items: center; flex: 0 0 auto; border-radius: 10px; background: #f8dd9c; color: #483b23; font-weight: 700; }
.workspace-avatar { width: 31px; height: 31px; }
.workspace-copy { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.workspace-copy strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12px; }
.workspace-copy span { color: #91a59b; font-size: 11px; margin-top: 2px; }
.chevron { color: #91a59b; font-size: 17px; }
.nav-label { color: #70867a; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; padding: 0 12px 9px; }
.builder-label { margin-top: 25px; }
.main-nav { display: flex; flex-direction: column; gap: 3px; }
.nav-item { border: 0; background: transparent; color: #b4c3bb; width: 100%; display: flex; align-items: center; gap: 11px; padding: 11px 12px; border-radius: 11px; text-align: left; transition: .18s ease; }
.nav-item:hover { background: rgba(255,255,255,.06); color: #f5fff8; }
.nav-item.active { background: #2d413b; color: #f4fff7; }
.nav-icon { width: 17px; text-align: center; color: #9bb0a5; font-size: 17px; line-height: 1; }
.nav-item.active .nav-icon { color: var(--mint); }
.nav-count { margin-left: auto; color: #94a89e; background: rgba(255,255,255,.06); border-radius: 7px; padding: 2px 7px; font-size: 11px; }
.nav-count.warm { color: #ffe49b; }
.new-pill { margin-left: auto; color: #cff9dc; background: #3d624d; border-radius: 6px; padding: 3px 5px; font-size: 8px; letter-spacing: .08em; font-weight: 700; }
.sidebar-bottom { margin-top: auto; }
.security-card { display: flex; gap: 10px; padding: 13px 11px; margin-bottom: 15px; background: rgba(184, 241, 211, .07); border: 1px solid rgba(184, 241, 211, .15); border-radius: 13px; }
.security-icon { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: #355849; color: var(--mint); font-size: 17px; }
.security-card strong { display: block; color: #e0f4e8; font-size: 11px; }
.security-card span { display: block; color: #8eaa9b; font-size: 10px; margin-top: 3px; }
.settings-item { margin-bottom: 9px; }
.user-chip { border-top: 1px solid #2f433d; padding: 16px 8px 0; display: flex; align-items: center; gap: 9px; }
.user-avatar { width: 32px; height: 32px; border-radius: 50%; background: #cbd5ff; color: #36426c; font-size: 11px; }
.more { color: #7f978b; font-weight: 700; letter-spacing: 2px; }

.main-content { flex: 1; min-width: 0; }
.topbar { height: 78px; padding: 0 43px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.65); }
.breadcrumb { display: flex; align-items: center; gap: 9px; color: #8b9590; font-size: 13px; }
.breadcrumb strong { color: var(--ink); font-weight: 600; }
.slash { color: #bcc4be; }
.topbar-actions { display: flex; align-items: center; gap: 14px; }
.live-status { display:flex; align-items:center; gap:6px; color:#7b8a81; font-size:10px; white-space:nowrap; }
.live-dot { width:7px; height:7px; border-radius:50%; background:#63b882; box-shadow:0 0 0 3px rgba(99,184,130,.14); }
.live-status.syncing .live-dot { background:#d7b647; box-shadow:0 0 0 3px rgba(215,182,71,.14); }
.live-status.syncing { color:#9a7d34; }
.icon-button { border: 0; width: 33px; height: 33px; display: grid; place-items: center; border-radius: 50%; color: #66736c; background: transparent; font-size: 21px; position: relative; }
.icon-button:hover { background: var(--soft); }
.notification-button span { position: absolute; top: 6px; right: 6px; width: 5px; height: 5px; border-radius: 50%; background: #ff927e; }
.view-switcher { background: #eef0ec; padding: 3px; border-radius: 10px; display: flex; gap: 2px; }
.view-switch { border: 0; border-radius: 8px; padding: 8px 12px; background: transparent; color: #7a8580; font-size: 11px; }
.view-switch.active { background: white; color: var(--ink); box-shadow: 0 3px 10px rgba(26,39,31,.08); font-weight: 600; }
#app-content { padding: 38px 43px 54px; max-width: 1600px; }

.eyebrow { color: #7c8c83; text-transform: uppercase; letter-spacing: .12em; font-size: 10px; font-weight: 700; }
.page-heading { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 28px; }
h1, h2, h3, p { margin: 0; }
h1 { margin-top: 6px; font: 800 31px/1.12 Manrope, sans-serif; letter-spacing: -0.055em; }
h2 { font: 700 17px Manrope, sans-serif; letter-spacing: -.035em; }
h3 { font: 700 14px Manrope, sans-serif; letter-spacing: -.025em; }
.page-description { color: var(--muted); margin-top: 8px; max-width: 600px; }
.primary-button, .secondary-button, .text-button { border: 0; border-radius: 10px; padding: 11px 15px; font-weight: 600; transition: .18s ease; }
.primary-button { background: var(--ink); color: white; box-shadow: 0 5px 12px rgba(24,33,32,.14); }
.primary-button:hover { transform: translateY(-1px); background: #2d413b; }
.secondary-button { background: white; color: var(--ink); border: 1px solid var(--line); }
.secondary-button:hover { border-color: #bdc8bf; }
.text-button { background: transparent; color: #5b8b72; padding: 5px 0; }
.text-button:hover { color: var(--ink); }
.button-row { display: flex; align-items: center; gap: 9px; }

.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 23px; }
.stat-card { padding: 18px 19px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 3px 10px rgba(20,30,20,.018); position: relative; overflow: hidden; }
.stat-card::after { content: ""; position: absolute; width: 72px; height: 72px; border-radius: 50%; right: -26px; bottom: -28px; opacity: .45; }
.stat-card.mint::after { background: var(--mint); }
.stat-card.yellow::after { background: var(--yellow); }
.stat-card.coral::after { background: var(--coral); }
.stat-card.lavender::after { background: var(--lavender); }
.stat-label { color: var(--muted); font-size: 12px; }
.stat-number { font: 800 27px Manrope, sans-serif; letter-spacing: -.06em; margin-top: 7px; }
.stat-note { color: #5d9576; font-size: 11px; margin-top: 7px; }
.stat-note.neutral { color: #929b96; }

.content-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(290px, .85fr); gap: 22px; align-items: start; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 3px 10px rgba(20,30,20,.018); }
.panel-header { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px 15px; border-bottom: 1px solid #edf0ec; }
.panel-header p { color: var(--muted); font-size: 11px; margin-top: 4px; }
.panel-header .text-button { font-size: 12px; }
.review-list { padding: 3px 20px 7px; }
.review-row { display: flex; align-items: center; gap: 13px; padding: 16px 0; border-bottom: 1px solid #f0f2ef; }
.review-row:last-child { border-bottom: 0; }
.file-icon { width: 38px; height: 42px; border-radius: 9px; display: grid; place-items: center; font-size: 17px; font-weight: 700; flex: 0 0 auto; }
.file-icon.pdf { color: #b8574b; background: #fff0ec; }
.file-icon.doc { color: #5579b2; background: #edf3ff; }
.file-icon.zip { color: #9b7e44; background: #fff8dc; }
.file-meta { min-width: 0; flex: 1; }
.file-name { font-weight: 600; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-subline { color: var(--muted); font-size: 11px; margin-top: 4px; }
.review-status { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; }
.status-pill { padding: 5px 8px; border-radius: 7px; background: #fff4d9; color: #967329; font-size: 10px; font-weight: 600; white-space: nowrap; }
.status-pill.clean { color: #3c805a; background: #e8f8ed; }
.status-pill.rejected { color: #a45349; background: #fff0ed; }
.mini-button { background: transparent; border: 0; color: #668f77; font-size: 11px; font-weight: 600; padding: 0; }
.mini-button:hover { color: var(--ink); }
.activity-list { padding: 5px 20px 10px; }
.activity-row { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid #f0f2ef; }
.activity-row:last-child { border: 0; }
.activity-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint-strong); margin-top: 6px; flex: 0 0 auto; }
.activity-dot.yellow { background: #d7b647; }
.activity-dot.coral { background: #ee907d; }
.activity-text { color: #48544e; font-size: 12px; }
.activity-text strong { color: var(--ink); }
.activity-time { color: #9ca7a1; font-size: 10px; margin-top: 4px; }
.progress-section { margin: 4px 20px 20px; padding: 15px; border-radius: 12px; background: #f8faf7; border: 1px solid #edf1eb; }
.progress-top { display: flex; justify-content: space-between; font-size: 11px; margin-bottom: 8px; }
.progress-top span { color: var(--muted); }
.progress-track { height: 7px; border-radius: 99px; background: #e5ebe5; overflow: hidden; }
.progress-value { height: 100%; width: 72%; border-radius: inherit; background: var(--mint-strong); }

.section-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.client-card { padding: 18px; }
.client-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.client-avatar { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; font-weight: 700; }
.avatar-blue { background: #e8ecff; color: #5265a3; }.avatar-peach { background: #fff0dc; color: #a96d3d; }.avatar-green { background: #e5f7e8; color: #4c8b60; }.avatar-lilac { background: #eee8ff; color: #7561a8; }.avatar-pink { background: #ffe9ec; color: #a65c6d; }.avatar-sky { background: #e4f3f8; color: #4b8394; }
.client-card h3 { margin-bottom: 5px; }
.client-card p { color: var(--muted); font-size: 11px; }
.client-card-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #f0f2ef; padding-top: 13px; margin-top: 16px; color: var(--muted); font-size: 11px; }
.client-card-footer strong { color: #4e8d6a; font-weight: 600; }
.search-box { display: flex; align-items: center; gap: 9px; padding: 9px 12px; border: 1px solid var(--line); background: white; border-radius: 10px; color: #9ba69e; }
.search-box input { border: 0; outline: 0; width: 155px; color: var(--ink); }
.upload-dropzone { display:flex; align-items:center; gap:13px; padding:14px 17px; margin-bottom:17px; border:1px dashed #a9cdb5; border-radius:14px; background:#f4fbf5; color:#52665a; }.upload-dropzone > div:nth-child(2) { flex:1; }.upload-dropzone strong { display:block; font-size:12px; color:#365243; }.upload-dropzone span { display:block; margin-top:3px; font-size:10px; color:#84958a; }.upload-drop-icon { width:33px; height:33px; display:grid; place-items:center; border-radius:10px; background:#d9f3e0; color:#4f966a; font-size:20px; font-weight:600; }.upload-dropzone .secondary-button { padding:8px 10px; font-size:10px; }
.table-panel { overflow: hidden; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; min-width: 650px; }
th, td { text-align: left; padding: 14px 20px; border-bottom: 1px solid #eff2ee; font-size: 12px; }
th { color: #89958d; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; background: #fbfcfa; }
td { color: #4e5b54; }.person-cell { display: flex; align-items: center; gap: 10px; }.person-cell strong { display: block; color: var(--ink); font-size: 12px; }.person-cell span { display: block; color: #96a19a; font-size: 10px; margin-top: 3px; }
.small-avatar { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 9px; font-size: 10px; font-weight: 700; }
.table-action { border: 0; background: transparent; color: #5b8b72; font-size: 11px; font-weight: 600; }

.builder-layout { display: grid; grid-template-columns: 220px minmax(400px, 1fr) 270px; gap: 18px; align-items: start; }
.builder-panel { padding: 16px; }
.builder-panel h3 { margin-bottom: 4px; }.builder-panel > p { color: var(--muted); font-size: 11px; margin-bottom: 16px; }
.widget-library { display: flex; flex-direction: column; gap: 7px; }.widget-item { border: 1px solid var(--line); background: #fbfcfa; border-radius: 10px; padding: 10px; display: flex; align-items: center; gap: 9px; cursor: grab; color: #4f5c55; font-size: 11px; }.widget-item:hover { border-color: #a4cdb4; background: #f1fbf4; }.widget-icon { width: 25px; height: 25px; display: grid; place-items: center; background: #e5f7eb; color: #50916b; border-radius: 7px; font-size: 13px; }
.builder-canvas { padding: 22px; background: #edf1ec; border: 1px solid #e1e8e0; border-radius: var(--radius); min-height: 598px; }.canvas-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }.canvas-top span { color: #829087; font-size: 11px; }.canvas-actions { display: flex; gap: 7px; }.canvas-actions button { padding: 7px 10px; border: 1px solid #dbe4db; background: white; border-radius: 8px; color: #58705f; font-size: 10px; font-weight: 600; }.canvas-actions .publish-button { background: #253d32; color: white; border-color: #253d32; }
.portal-preview { background: white; border-radius: 13px; box-shadow: var(--shadow); overflow: hidden; }.portal-preview-head { background: #20382f; color: white; padding: 19px 22px; display: flex; justify-content: space-between; align-items: center; }.portal-logo { display: flex; align-items: center; gap: 9px; font: 700 15px Manrope; }.portal-logo-mark { width: 25px; height: 25px; display: grid; place-items: center; background: var(--mint); color: #20382f; border-radius: 7px; font-size: 12px; }.portal-preview-head span { font-size: 10px; color: #9eb6a8; }.portal-preview-body { padding: 21px; }.portal-preview-title { padding-bottom: 18px; }.portal-preview-title h2 { font-size: 21px; }.portal-preview-title p { color: var(--muted); margin-top: 5px; font-size: 11px; }.preview-widget { border: 1px solid #edf0ed; border-radius: 11px; padding: 14px; margin-bottom: 11px; cursor: grab; transition: .15s ease; }.preview-widget:hover, .preview-widget.drag-over { border-color: #91c6a6; box-shadow: 0 0 0 3px rgba(145,198,166,.17); }.preview-widget.selected { border: 2px solid #73bf91; padding: 13px; }.preview-widget-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }.preview-widget-header strong { font: 700 12px Manrope; }.drag-handle { color: #b3bdb7; letter-spacing: 2px; cursor: grab; }.widget-copy { color: #829087; font-size: 10px; }.widget-lines { display: flex; flex-direction: column; gap: 7px; }.widget-line { display: flex; align-items: center; gap: 7px; font-size: 10px; color: #637169; }.line-icon { width: 21px; height: 23px; border-radius: 5px; display: grid; place-items: center; background: #fff1ee; color: #bd7066; }.line-status { margin-left: auto; color: #7aaf8b; background: #edf9ef; padding: 3px 6px; border-radius: 5px; font-size: 9px; }.widget-task { display: flex; justify-content: space-between; align-items: center; background: #fafbf9; padding: 9px; border-radius: 8px; }.task-info { display: flex; gap: 8px; align-items: center; }.task-check { width: 15px; height: 15px; border: 1px solid #b8c8bc; border-radius: 5px; }.task-due { color: #a27b3c; font-size: 9px; }.selected-label { color: #57976e; font-size: 9px; background: #e9f8ee; padding: 3px 6px; border-radius: 4px; }
.theme-row { display: flex; justify-content: space-between; align-items: center; margin: 16px 0; font-size: 11px; color: #65736a; }.theme-row input[type="color"] { width: 38px; height: 25px; padding: 2px; border: 1px solid var(--line); border-radius: 6px; background: white; }.theme-input { width: 100%; border: 1px solid var(--line); padding: 9px 10px; border-radius: 8px; outline: 0; color: var(--ink); font-size: 11px; }.theme-input:focus { border-color: #88bf9a; box-shadow: 0 0 0 3px #e8f7ec; }.toggle-row { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-top: 1px solid #eef1ed; color: #65736a; font-size: 11px; }.toggle { width: 31px; height: 18px; padding: 2px; background: #aadfbf; border: 0; border-radius: 99px; transition: background .16s ease; }.toggle::after { content: ""; width: 14px; height: 14px; display: block; border-radius: 50%; background: white; margin-left: 13px; box-shadow: 0 1px 2px rgba(0,0,0,.12); transition: margin .16s ease; }.toggle.off { background:#d7dfd8; }.toggle.off::after { margin-left:0; }

.client-shell { max-width: 1120px; margin: 0 auto; }.client-hero { padding: 27px 28px; border-radius: 19px; background: #20382f; color: white; position: relative; overflow: hidden; }.client-hero::after { content:""; position:absolute; width:310px; height:310px; border-radius:50%; right:-115px; top:-170px; background: rgba(184,241,211,.14); }.client-hero-top { display:flex; justify-content:space-between; align-items:center; position:relative; z-index:1; }.client-company { display:flex; align-items:center; gap:10px; font:700 15px Manrope; }.client-company-mark { width:28px; height:28px; display:grid; place-items:center; border-radius:8px; color:#20382f; background:var(--mint); }.client-hero-top button { border:1px solid rgba(255,255,255,.2); border-radius:8px; padding:8px 11px; background:transparent; color:#e3f4e8; font-size:10px; }.client-welcome { margin-top:51px; position:relative; z-index:1; }.client-welcome .eyebrow { color:#97c8a8; }.client-welcome h1 { font-size:30px; margin-top:8px; color:white; }.client-welcome p { color:#afc4b6; margin-top:8px; max-width:420px; }.client-actions { display:flex; gap:8px; margin-top:21px; }.client-actions button { border:0; border-radius:9px; padding:10px 13px; font-size:11px; font-weight:600; }.client-actions .light-action { background:var(--mint); color:#20382f; }.client-actions .dark-action { color:#eff9f2; background:rgba(255,255,255,.12); }.client-grid { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr); gap:17px; margin-top:18px; }.client-panel { padding:20px; }.client-panel .panel-header { padding:0 0 15px; }.client-panel .panel-header p { margin-top:4px; }.request-card { display:flex; align-items:center; gap:11px; padding:13px 0; border-bottom:1px solid #f0f2ef; }.request-card:last-child { border-bottom:0; }.request-icon { width:35px; height:35px; display:grid; place-items:center; border-radius:9px; background:#fff2ef; color:#af6960; }.request-card .file-meta { min-width:0; }.request-card .status-pill { margin-left:auto; }.client-message { display:flex; gap:10px; padding:12px 0; border-bottom:1px solid #f0f2ef; }.client-message:last-child { border:0; }.message-bubble { background:#f1f8f2; border-radius:10px; padding:10px 11px; color:#536257; font-size:11px; flex:1; }.message-bubble strong { display:block; color:var(--ink); font-size:11px; margin-bottom:4px; }.message-bubble span { color:#89958c; font-size:10px; display:block; margin-top:5px; }.client-task { display:flex; align-items:center; gap:10px; padding:11px 0; }.client-task .task-check { width:17px; height:17px; }.client-task .task-info { flex:1; font-size:11px; color:#536159; }.client-task .task-info span { display:block; color:#9ca79f; font-size:10px; margin-top:2px; }.task-overdue { color:#be695b; font-size:10px; }.task-upcoming { color:#ae8640; font-size:10px; }

.empty-state { text-align:center; padding:52px 20px; color:var(--muted); }.empty-state .empty-icon { width:45px; height:45px; display:grid; place-items:center; margin:0 auto 12px; border-radius:14px; background:#eaf7ed; color:#5c9c72; font-size:21px; }.empty-state p { margin-top:6px; font-size:12px; }
.setting-hint { color:#8b9790; font-size:10px; line-height:1.45; margin-top:8px; }
.page-tabs { display:flex; gap:6px; flex-wrap:wrap; margin-bottom:14px; }.page-tab { border:1px solid #dbe4db; background:white; color:#58705f; border-radius:8px; padding:7px 10px; font-size:10px; font-weight:600; }.page-tab.active { color:#20382f; border-color:#88bf9a; background:#eef9f0; }
.preview-widget { border-top:3px solid var(--widget-accent, #b8f1d3); }
.client-mode .sidebar { display:none; }
.client-mode .main-content { margin-left:0; }
.client-mode .topbar { padding-left:32px; }
.client-mode .topbar-actions .icon-button, .client-mode .view-switcher { display:none; }
.client-mode #app-content { max-width:1240px; margin:0 auto; }
.client-session-tag { color:#cde5d5; font-size:10px; }
.client-widget-copy { color:#64736a; font-size:12px; line-height:1.55; padding:3px 0 4px; }
.client-panel { border-top:3px solid var(--widget-accent, #b8f1d3); }
.appearance-editor { border-bottom:1px solid #edf0ec; margin:0 0 16px; padding:0 0 14px; }
.appearance-editor h3 { margin-bottom:4px; }
.appearance-editor > p { color:var(--muted); font-size:10px; margin-bottom:12px; }
.form-label { margin:10px 0; }
.form-label input, .form-label textarea, .form-label select { min-width:0; width:100%; }
.form-label textarea { min-height:68px; resize:vertical; }
.client-brandbar { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:14px; padding:12px 17px; background:white; border:1px solid var(--line); border-radius:14px; box-shadow:0 3px 10px rgba(20,30,20,.018); }
.client-brandbar .client-company { color:var(--ink); }
.client-brandbar .client-company-mark { color:var(--client-primary); background:var(--client-accent); }
.client-brand-actions { display:flex; align-items:center; gap:12px; }
.client-brand-actions .client-session-tag { color:#87958c; }
.client-help-button { border:0; background:transparent; color:#528363; font-size:11px; }
.client-hero { background:var(--client-primary, #20382f); }
.client-hero::after { background:color-mix(in srgb, var(--client-accent, #b8f1d3) 15%, transparent); }
.client-hero .eyebrow { color:var(--client-accent, #97c8a8); }
.client-hero .light-action { background:var(--client-accent, #b8f1d3); color:var(--client-primary, #20382f); }
.client-portal-nav { display:flex; gap:8px; flex-wrap:wrap; margin-top:13px; padding:9px 11px; background:#fff; border:1px solid var(--line); border-radius:12px; }
.client-nav-link { color:#5d7466; font-size:11px; text-decoration:none; padding:6px 9px; border-radius:7px; }
.client-nav-link:hover { color:var(--client-primary); background:color-mix(in srgb, var(--client-accent) 35%, white); }
.client-layout-wide .client-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.client-layout-balanced .client-grid { grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr); }
.client-layout-compact .client-grid { grid-template-columns:1fr; }
.client-layout-compact .client-panel { padding:15px 18px; }
.portal-preview-body.client-layout-wide { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:11px; }
.portal-preview-body.client-layout-wide .portal-preview-title { grid-column:1 / -1; }
.portal-preview-body.client-layout-compact .preview-widget { padding:10px 12px; margin-bottom:7px; }
.portal-preview-head { background:var(--client-primary, #20382f); }
.portal-logo-mark { background:var(--client-accent, #b8f1d3); color:var(--client-primary, #20382f); }
.client-panel .client-widget-copy { margin:-4px 0 9px; }
.client-panel[data-client-widget="welcome"] .client-widget-copy { margin:0; }
.canvas-actions button:disabled { opacity:.45; cursor:not-allowed; }
.toast { position: fixed; right: 26px; bottom: 24px; padding: 12px 15px; border-radius: 10px; color: #eaffef; background: #243a31; box-shadow: 0 12px 28px rgba(20,35,27,.24); font-size: 12px; opacity: 0; transform: translateY(12px); pointer-events: none; transition: .25s ease; z-index: 20; }.toast.show { opacity:1; transform:none; }
.modal-backdrop { position:fixed; inset:0; display:grid; place-items:center; padding:20px; background:rgba(20,31,26,.38); backdrop-filter:blur(5px); z-index:30; }.modal-card { width:min(490px,100%); padding:24px; border:1px solid #e4eae4; border-radius:18px; background:white; box-shadow:0 28px 80px rgba(20,35,27,.22); }.modal-header { display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:20px; }.modal-header h2 { font-size:20px; }.modal-header p { color:var(--muted); font-size:11px; margin-top:5px; }.modal-close { border:0; background:#f3f6f2; color:#718078; width:28px; height:28px; border-radius:8px; font-size:18px; }.form-grid { display:grid; gap:13px; }.form-label { display:grid; gap:6px; color:#68766d; font-size:11px; font-weight:600; }.form-label input, .form-label textarea, .form-label select { border:1px solid var(--line); border-radius:9px; outline:0; padding:10px 11px; background:#fbfcfa; color:var(--ink); }.form-label textarea { min-height:85px; resize:vertical; }.form-label input:focus, .form-label textarea:focus, .form-label select:focus { border-color:#88bf9a; box-shadow:0 0 0 3px #e8f7ec; }.modal-footer { display:flex; justify-content:flex-end; gap:8px; margin-top:22px; }.modal-footer button { padding:10px 14px; }
.client-task .task-check { width:17px; height:17px; padding:0; display:grid; place-items:center; border:1px solid #b8c8bc; border-radius:5px; background:white; color:#4f9568; font-size:11px; }.client-task .task-check.complete { background:#e7f7ec; border-color:#8dc29d; }

@media (max-width: 1100px) { .builder-layout { grid-template-columns: 190px minmax(350px,1fr); }.theme-panel { grid-column: 1 / -1; }.stat-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 820px) { .sidebar { width: 74px; flex-basis:74px; padding:20px 10px; }.brand-lockup { padding:0 9px 25px; }.brand-lockup > div:not(.brand-mark), .workspace-copy, .chevron, .nav-label, .nav-count, .new-pill, .security-card, .user-chip .workspace-copy, .user-chip .more { display:none; }.workspace-switcher { justify-content:center; padding:9px; }.nav-item { justify-content:center; padding:12px 0; }.nav-icon { font-size:20px; }.user-chip { justify-content:center; }.topbar { padding:0 22px; }.topbar-actions { gap:6px; }.view-switch { padding:7px 8px; }.view-switcher { display:none; } #app-content { padding:28px 22px; }.content-grid, .client-grid, .client-layout-wide .client-grid, .client-layout-balanced .client-grid { grid-template-columns:1fr; }.section-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width: 560px) { .page-heading { flex-direction:column; gap:16px; }.page-heading .button-row { width:100%; }.page-heading .primary-button { flex:1; }.stat-grid, .section-grid { grid-template-columns:1fr; }.builder-layout { grid-template-columns:1fr; }.builder-canvas { min-height:0; }.builder-panel { grid-column:auto; }.client-hero { padding:22px 19px; }.client-welcome { margin-top:38px; }.client-welcome h1 { font-size:25px; }.review-row { align-items:flex-start; }.review-status { text-align:right; }.topbar { height:68px; } h1 { font-size:27px; } }
