/* ── DESIGN TOKENS ── */
:root {
  /* Long Steward Trades palette — inherits TLS foundation, adds Trade Steel */
  --marsh:     #1F3D3B;
  --marsh-deep:#152B29;
  --sand:      #F7F3EC;
  --terra:     #C9622D;
  --brass:     #C8A24A;
  --steel:     #2E4A5A;   /* Long Steward Trades accent — industrial, trustworthy */
  --steel-lt:  #3D6275;
  --white:     #FFFFFF;
  --ink:       #1A1A1A;
  --ink-mid:   #444444;
  --ink-lt:    #717171;
  --rule:      rgba(31,61,59,0.12);
  --error:     #C0392B;
  --success:   #2E7D5E;

  /* Type scale */
  --f-xs:  0.72rem;
  --f-sm:  0.85rem;
  --f-base:1rem;
  --f-md:  1.15rem;
  --f-lg:  1.4rem;
  --f-xl:  1.9rem;
  --f-2xl: 2.8rem;
  --f-3xl: 4rem;

  --radius: 6px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.13);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Source Sans 3", sans-serif;
  font-size: var(--f-base);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4 {
  font-family: "Fraunces", serif;
  line-height: 1.15;
}

/* ── NAV ── */
.stc-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--marsh);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 60px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.stc-nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.stc-nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.stc-nav-brand-text .name {
  font-family: "Fraunces", serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--sand);
  letter-spacing: 0.01em;
}

.stc-nav-brand-text .sub {
  font-size: var(--f-xs);
  color: var(--brass);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stc-nav-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn-nav-login {
  background: transparent;
  border: 1.5px solid rgba(247,243,236,0.35);
  color: var(--sand);
  padding: 6px 16px;
  border-radius: var(--radius);
  font-family: "Source Sans 3", sans-serif;
  font-size: var(--f-sm);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.btn-nav-login:hover {
  border-color: var(--brass);
  background: rgba(200,162,74,0.1);
}

.btn-nav-join {
  background: var(--terra);
  border: none;
  color: var(--white);
  padding: 7px 18px;
  border-radius: var(--radius);
  font-family: "Source Sans 3", sans-serif;
  font-size: var(--f-sm);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-nav-join:hover { background: #b8561f; }

/* ── VIEWS ── */
.stc-view { display: none; }
.stc-view.active { display: block; }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--marsh-deep) 0%, var(--steel) 60%, var(--marsh) 100%);
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Signature element: diagonal ruled lines suggesting a blueprint / trade drawing */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -55deg,
    transparent,
    transparent 38px,
    rgba(200,162,74,0.045) 38px,
    rgba(200,162,74,0.045) 39px
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
}

.hero-eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: var(--f-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1.5px;
  background: var(--brass);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, var(--f-3xl));
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.4rem;
  line-height: 1.05;
}

.hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--brass);
}

.hero-lead {
  font-size: var(--f-md);
  color: rgba(247,243,236,0.82);
  max-width: 520px;
  margin-bottom: 2.2rem;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--terra);
  color: var(--white);
  border: none;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: "Source Sans 3", sans-serif;
  font-size: var(--f-base);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover { background: #b8561f; transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--sand);
  border: 1.5px solid rgba(247,243,236,0.4);
  padding: 12px 26px;
  border-radius: var(--radius);
  font-family: "Source Sans 3", sans-serif;
  font-size: var(--f-base);
  cursor: pointer;
  transition: border-color 0.2s;
}

.btn-outline:hover { border-color: var(--brass); color: var(--brass); }

/* Hero tier preview card */
.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(200,162,74,0.25);
  border-radius: 10px;
  padding: 1.8rem;
  backdrop-filter: blur(8px);
}

.hero-card-title {
  font-family: "Fraunces", serif;
  font-size: var(--f-lg);
  color: var(--sand);
  margin-bottom: 1.2rem;
}

.tier-preview {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tier-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
}

.tier-badge {
  font-family: "JetBrains Mono", monospace;
  font-size: var(--f-xs);
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.tier-badge.t1 { background: var(--brass); color: var(--marsh); }
.tier-badge.t2 { background: rgba(200,162,74,0.22); color: var(--brass); border: 1px solid var(--brass); }
.tier-badge.t3 { background: rgba(247,243,236,0.08); color: rgba(247,243,236,0.5); border: 1px solid rgba(247,243,236,0.15); }

.tier-row-text {
  font-size: var(--f-sm);
  color: rgba(247,243,236,0.8);
  line-height: 1.3;
}

.tier-row-text strong {
  display: block;
  color: var(--sand);
  font-size: var(--f-sm);
}

/* ── HOW IT WORKS ── */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.section-eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: var(--f-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 0.7rem;
}

.section h2 {
  font-size: var(--f-2xl);
  color: var(--marsh);
  margin-bottom: 0.5rem;
}

.section-sub {
  font-size: var(--f-md);
  color: var(--ink-mid);
  max-width: 600px;
  margin-bottom: 3rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 1.8rem 1.6rem;
  position: relative;
}

.step-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 2.8rem;
  font-weight: 600;
  color: rgba(31,61,59,0.08);
  line-height: 1;
  margin-bottom: 0.8rem;
}

.step-card h3 {
  font-size: var(--f-md);
  color: var(--marsh);
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: var(--f-sm);
  color: var(--ink-mid);
  line-height: 1.55;
}

/* ── CATEGORIES ── */
.categories-bg {
  background: var(--marsh);
  padding: 4rem 0;
}

.categories-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.categories-inner .section-eyebrow { color: var(--brass); }
.categories-inner h2 { color: var(--sand); margin-bottom: 0.5rem; }
.categories-inner .section-sub { color: rgba(247,243,236,0.7); margin-bottom: 2rem; }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

.cat-chip {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(200,162,74,0.2);
  border-radius: var(--radius);
  padding: 14px 12px;
  text-align: center;
  color: var(--sand);
  font-size: var(--f-sm);
  font-weight: 600;
  cursor: default;
  transition: border-color 0.2s, background 0.2s;
}

.cat-chip:hover {
  border-color: var(--brass);
  background: rgba(200,162,74,0.1);
}

.cat-icon {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 6px;
}

/* ── CTA BAND ── */
.cta-band {
  background: var(--terra);
  padding: 4rem 2rem;
  text-align: center;
}

.cta-band h2 {
  font-size: var(--f-2xl);
  color: var(--white);
  margin-bottom: 0.6rem;
}

.cta-band p {
  color: rgba(255,255,255,0.85);
  font-size: var(--f-md);
  margin-bottom: 2rem;
}

.btn-cta-white {
  background: var(--white);
  color: var(--terra);
  border: none;
  padding: 14px 34px;
  border-radius: var(--radius);
  font-family: "Source Sans 3", sans-serif;
  font-size: var(--f-base);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn-cta-white:hover { background: var(--sand); transform: translateY(-1px); }

/* ── AUTH MODAL ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,26,22,0.72);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.open { display: flex; }

.modal {
  background: var(--white);
  border-radius: 12px;
  width: 100%;
  max-width: 520px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.modal-header {
  background: var(--marsh);
  padding: 1.6rem 2rem 1.4rem;
  border-radius: 12px 12px 0 0;
}

.modal-header h2 {
  color: var(--sand);
  font-size: var(--f-lg);
}

.modal-header p {
  color: rgba(247,243,236,0.7);
  font-size: var(--f-sm);
  margin-top: 4px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: rgba(247,243,236,0.6);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
}

.modal-close:hover { color: var(--sand); }

.modal-body {
  padding: 1.8rem 2rem 2rem;
}

/* Tab switcher inside modal */
.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 1.8rem;
  border: 1.5px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}

.auth-tab {
  flex: 1;
  background: transparent;
  border: none;
  padding: 9px 0;
  font-family: "Source Sans 3", sans-serif;
  font-size: var(--f-sm);
  font-weight: 600;
  color: var(--ink-lt);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.auth-tab.active {
  background: var(--marsh);
  color: var(--sand);
}

/* Form elements */
.form-group {
  margin-bottom: 1.1rem;
}

.form-label {
  display: block;
  font-size: var(--f-sm);
  font-weight: 600;
  color: var(--marsh);
  margin-bottom: 5px;
}

.form-label .req { color: var(--terra); margin-left: 2px; }

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid rgba(31,61,59,0.2);
  border-radius: var(--radius);
  font-family: "Source Sans 3", sans-serif;
  font-size: var(--f-base);
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--marsh);
}

.form-input.error,
.form-select.error { border-color: var(--error); }

.form-hint {
  font-size: var(--f-xs);
  color: var(--ink-lt);
  margin-top: 4px;
}

.form-error {
  font-size: var(--f-xs);
  color: var(--error);
  margin-top: 4px;
  display: none;
}

.form-error.visible { display: block; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Category checkboxes */
.cat-check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.cat-check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--f-sm);
  color: var(--ink);
  cursor: pointer;
  padding: 6px 10px;
  border: 1.5px solid var(--rule);
  border-radius: var(--radius);
  transition: border-color 0.15s, background 0.15s;
}

.cat-check-label:hover { border-color: var(--marsh); }

.cat-check-label input[type="checkbox"] {
  accent-color: var(--marsh);
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.cat-check-label.checked {
  border-color: var(--marsh);
  background: rgba(31,61,59,0.06);
}

/* Divider */
.form-divider {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 1.4rem 0;
}

/* Submit button */
.btn-submit {
  width: 100%;
  background: var(--marsh);
  color: var(--sand);
  border: none;
  padding: 13px;
  border-radius: var(--radius);
  font-family: "Source Sans 3", sans-serif;
  font-size: var(--f-base);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 0.4rem;
}

.btn-submit:hover { background: var(--marsh-deep); }
.btn-submit:disabled { opacity: 0.55; cursor: not-allowed; }

.btn-submit.loading::after {
  content: ' …';
}

/* Auth message */
.auth-msg {
  font-size: var(--f-sm);
  padding: 10px 14px;
  border-radius: var(--radius);
  margin-top: 1rem;
  display: none;
}

.auth-msg.error { background: #fdf0ef; color: var(--error); display: block; }
.auth-msg.success { background: #eef7f2; color: var(--success); display: block; }

/* ── VENDOR PORTAL SHELL ── */
#view-portal {
  min-height: calc(100vh - 60px);
}

.portal-header {
  background: var(--marsh);
  padding: 2rem;
}

.portal-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.portal-welcome {
  color: var(--sand);
}

.portal-welcome .greeting {
  font-family: "Fraunces", serif;
  font-size: var(--f-xl);
  line-height: 1.1;
}

.portal-welcome .biz-name {
  font-size: var(--f-sm);
  color: var(--brass);
  margin-top: 2px;
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.06em;
}

.portal-tier-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.portal-tier-label {
  font-size: var(--f-xs);
  color: rgba(247,243,236,0.55);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: "JetBrains Mono", monospace;
}

/* Portal nav tabs */
.portal-nav {
  background: var(--white);
  border-bottom: 2px solid var(--rule);
  position: sticky;
  top: 60px;
  z-index: 90;
}

.portal-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 0;
  padding: 0 2rem;
  overflow-x: auto;
}

.portal-tab {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 14px 20px;
  font-family: "Source Sans 3", sans-serif;
  font-size: var(--f-sm);
  font-weight: 600;
  color: var(--ink-lt);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
  margin-bottom: -2px;
}

.portal-tab.active {
  color: var(--marsh);
  border-bottom-color: var(--marsh);
}

.portal-tab:hover:not(.active) { color: var(--marsh); }

/* Portal content area */
.portal-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.4rem 2rem;
}

.portal-panel { display: none; }
.portal-panel.active { display: block; }

/* Welcome panel */
.welcome-panel {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
}

.welcome-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 2rem;
}

.welcome-card h3 {
  font-size: var(--f-lg);
  color: var(--marsh);
  margin-bottom: 0.7rem;
}

.welcome-card p {
  font-size: var(--f-sm);
  color: var(--ink-mid);
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Checklist */
.setup-checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 1.2rem;
}

.setup-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--f-sm);
  color: var(--ink-mid);
  padding: 8px 0;
  border-bottom: 1px solid var(--rule);
}

.setup-item:last-child { border-bottom: none; }

.setup-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.7rem;
}

.setup-check.done {
  background: var(--success);
  border-color: var(--success);
  color: var(--white);
}

.setup-check.pending {
  border-color: var(--brass);
}

/* Status summary card */
.status-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 1.6rem;
}

.status-card h4 {
  font-size: var(--f-base);
  color: var(--marsh);
  margin-bottom: 1rem;
}

.status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--f-sm);
  padding: 7px 0;
  border-bottom: 1px solid var(--rule);
}

.status-row:last-child { border-bottom: none; }

.status-row .label { color: var(--ink-mid); }

.status-pill {
  font-size: var(--f-xs);
  font-family: "JetBrains Mono", monospace;
  padding: 3px 9px;
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.status-pill.pending { background: #FFF8E6; color: #8B6200; }
.status-pill.active  { background: #EEF7F2; color: var(--success); }
.status-pill.missing { background: #FDF0EF; color: var(--error); }
.status-pill.t3 { background: rgba(31,61,59,0.07); color: var(--marsh); }
.status-pill.t2 { background: rgba(200,162,74,0.15); color: #7A6100; }
.status-pill.t1 { background: var(--brass); color: var(--marsh); }

/* Logout button */
.btn-logout {
  background: none;
  border: 1.5px solid rgba(247,243,236,0.25);
  color: rgba(247,243,236,0.7);
  padding: 6px 14px;
  border-radius: var(--radius);
  font-family: "Source Sans 3", sans-serif;
  font-size: var(--f-sm);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.btn-logout:hover { border-color: var(--terra); color: var(--terra); }

/* ── FOOTER ── */
footer {
  background: var(--marsh-deep);
  padding: 2rem;
  text-align: center;
}

.footer-brand {
  font-family: "Fraunces", serif;
  font-size: var(--f-sm);
  color: var(--sand);
  margin-bottom: 4px;
}

.footer-sub {
  font-size: var(--f-xs);
  color: rgba(247,243,236,0.45);
  margin-bottom: 8px;
}

.footer-tls-link {
  font-size: var(--f-xs);
  color: var(--brass);
  text-decoration: none;
}

.footer-tls-link:hover { text-decoration: underline; }

.footer-version {
  margin-top: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  color: rgba(247,243,236,0.25);
  letter-spacing: 0.08em;
}

/* ── SESSION 2: PROFILE EDITOR ── */
.profile-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.6rem;
  align-items: start;
}
.profile-sidebar { display: flex; flex-direction: column; gap: 1.2rem; }
.profile-card { background: var(--white); border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; }
.profile-card-header { background: var(--marsh); padding: 10px 16px; font-family: "JetBrains Mono", monospace; font-size: var(--f-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass); }
.profile-card-body { padding: 1.2rem; }

.logo-upload-zone { width: 100%; aspect-ratio: 1; max-width: 160px; margin: 0 auto 1rem; border: 2px dashed var(--rule); border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; transition: border-color 0.2s, background 0.2s; position: relative; overflow: hidden; background: var(--sand); }
.logo-upload-zone:hover { border-color: var(--marsh); background: rgba(31,61,59,0.04); }
.logo-upload-zone.has-image { border-style: solid; border-color: var(--marsh); }
.logo-upload-zone img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.logo-upload-zone .upload-hint { font-size: var(--f-xs); color: var(--ink-lt); text-align: center; padding: 0 8px; line-height: 1.4; }
.logo-upload-zone .upload-icon { font-size: 1.8rem; margin-bottom: 6px; opacity: 0.4; }
.logo-upload-zone input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }

.upload-progress { width: 100%; height: 4px; background: var(--rule); border-radius: 2px; overflow: hidden; margin-top: 8px; display: none; }
.upload-progress.active { display: block; }
.upload-progress-bar { height: 100%; background: var(--marsh); border-radius: 2px; width: 0%; transition: width 0.3s ease; }

.color-swatch-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; margin-top: 8px; }
.color-swatch { width: 100%; aspect-ratio: 1; border-radius: 4px; cursor: pointer; border: 2px solid transparent; transition: transform 0.15s, border-color 0.15s; }
.color-swatch:hover { transform: scale(1.15); }
.color-swatch.selected { border-color: var(--ink); transform: scale(1.1); }
.color-custom-input { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.color-preview-dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--rule); flex-shrink: 0; }

.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 0.8rem; }
.photo-thumb { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; position: relative; background: var(--sand); border: 1px solid var(--rule); }
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.photo-thumb-remove { position: absolute; top: 4px; right: 4px; background: rgba(0,0,0,0.6); color: var(--white); border: none; border-radius: 50%; width: 22px; height: 22px; font-size: 0.75rem; cursor: pointer; display: flex; align-items: center; justify-content: center; line-height: 1; opacity: 0; transition: opacity 0.15s; }
.photo-thumb:hover .photo-thumb-remove { opacity: 1; }
.photo-add-btn { aspect-ratio: 1; border: 2px dashed var(--rule); border-radius: var(--radius); background: var(--sand); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: var(--f-xs); color: var(--ink-lt); transition: border-color 0.2s; position: relative; }
.photo-add-btn:hover { border-color: var(--marsh); color: var(--marsh); }
.photo-add-btn input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

.profile-main { display: flex; flex-direction: column; gap: 1.2rem; }
.profile-section-card { background: var(--white); border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; }
.profile-section-head { background: rgba(31,61,59,0.04); border-bottom: 1px solid var(--rule); padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; }
.profile-section-head h4 { font-size: var(--f-sm); color: var(--marsh); font-family: "Source Sans 3", sans-serif; font-weight: 700; }
.profile-section-body { padding: 1.2rem; }

.map-zone { width: 100%; height: 220px; background: linear-gradient(135deg, #e8f0ed 0%, #d4e4de 100%); border-radius: var(--radius); border: 1px solid var(--rule); display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--marsh); font-size: var(--f-sm); text-align: center; padding: 1rem; gap: 8px; margin-bottom: 1rem; }
.map-zone-icon { font-size: 2rem; opacity: 0.5; }

.zip-tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; min-height: 32px; }
.zip-tag { background: rgba(31,61,59,0.08); color: var(--marsh); border: 1px solid rgba(31,61,59,0.2); border-radius: 20px; padding: 3px 10px; font-size: var(--f-xs); font-family: "JetBrains Mono", monospace; display: flex; align-items: center; gap: 5px; }
.zip-tag-remove { cursor: pointer; opacity: 0.5; font-size: 0.8rem; line-height: 1; background: none; border: none; color: inherit; padding: 0; }
.zip-tag-remove:hover { opacity: 1; }
.zip-input-row { display: flex; gap: 8px; margin-top: 8px; }
.zip-input-row .form-input { max-width: 120px; }
.btn-add-zip { background: var(--marsh); color: var(--sand); border: none; padding: 9px 16px; border-radius: var(--radius); font-family: "Source Sans 3", sans-serif; font-size: var(--f-sm); font-weight: 600; cursor: pointer; white-space: nowrap; }
.btn-add-zip:hover { background: var(--marsh-deep); }

.save-bar { position: sticky; bottom: 0; background: var(--white); border-top: 1px solid var(--rule); padding: 12px 1.2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 -1.2rem -1.2rem; border-radius: 0 0 10px 10px; }
.save-bar-msg { font-size: var(--f-sm); color: var(--success); display: none; }
.save-bar-msg.visible { display: block; }
.btn-save-profile { background: var(--marsh); color: var(--sand); border: none; padding: 10px 24px; border-radius: var(--radius); font-family: "Source Sans 3", sans-serif; font-size: var(--f-sm); font-weight: 600; cursor: pointer; transition: background 0.2s; }
.btn-save-profile:hover { background: var(--marsh-deep); }
.btn-save-profile:disabled { opacity: 0.5; cursor: not-allowed; }

/* ── SESSION 2: DOCUMENT UPLOAD ── */
.doc-section-title { font-family: "JetBrains Mono", monospace; font-size: var(--f-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--terra); margin: 1.4rem 0 0.8rem; }
.doc-section-title:first-child { margin-top: 0; }
.doc-list { display: flex; flex-direction: column; gap: 10px; }
.doc-row { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 12px 14px; display: flex; align-items: center; gap: 12px; }
.doc-row.uploaded { border-color: rgba(46,125,94,0.3); background: rgba(46,125,94,0.03); }
.doc-status-icon { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; background: var(--sand); border: 1.5px solid var(--rule); }
.doc-row.uploaded .doc-status-icon { background: rgba(46,125,94,0.1); border-color: var(--success); color: var(--success); }
.doc-row-info { flex: 1; min-width: 0; }
.doc-row-name { font-size: var(--f-sm); font-weight: 600; color: var(--ink); }
.doc-row-meta { font-size: var(--f-xs); color: var(--ink-lt); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.doc-row-required { font-size: var(--f-xs); color: var(--terra); font-weight: 600; }
.btn-doc-upload { background: transparent; border: 1.5px solid var(--marsh); color: var(--marsh); padding: 5px 12px; border-radius: var(--radius); font-family: "Source Sans 3", sans-serif; font-size: var(--f-xs); font-weight: 600; cursor: pointer; white-space: nowrap; transition: background 0.2s, color 0.2s; position: relative; overflow: hidden; }
.btn-doc-upload:hover { background: var(--marsh); color: var(--sand); }
.btn-doc-upload input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.btn-doc-view { background: transparent; border: 1.5px solid rgba(46,125,94,0.4); color: var(--success); padding: 5px 12px; border-radius: var(--radius); font-family: "Source Sans 3", sans-serif; font-size: var(--f-xs); font-weight: 600; cursor: pointer; text-decoration: none; white-space: nowrap; }
.doc-upload-progress { width: 100%; height: 3px; background: var(--rule); border-radius: 2px; overflow: hidden; margin-top: 6px; display: none; }
.doc-upload-progress.active { display: block; }
.doc-upload-progress-bar { height: 100%; background: var(--marsh); border-radius: 2px; transition: width 0.3s ease; }
.doc-panel-note { background: rgba(200,162,74,0.1); border: 1px solid rgba(200,162,74,0.3); border-radius: var(--radius); padding: 10px 14px; font-size: var(--f-sm); color: var(--ink-mid); margin-bottom: 1.2rem; line-height: 1.5; }

/* ── SESSION 2b: WEBSITE AUDIT TAB ── */
.audit-trigger-zone {
  background: linear-gradient(135deg, rgba(31,61,59,0.04) 0%, rgba(200,162,74,0.06) 100%);
  border: 1px solid rgba(200,162,74,0.25);
  border-radius: var(--radius);
  padding: 10px 14px;
  margin-top: 8px;
  font-size: var(--f-sm);
  color: var(--ink-mid);
  display: none;
}
.audit-trigger-zone.visible { display: block; }
.audit-trigger-msg { display: flex; align-items: center; gap: 8px; }
.audit-trigger-msg .spark { font-size: 1.1rem; }

.audit-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  gap: 1rem;
  color: var(--ink-mid);
}
.audit-spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--rule);
  border-top-color: var(--marsh);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.audit-loading-text { font-size: var(--f-sm); color: var(--ink-lt); text-align: center; }
.audit-loading-steps { font-size: var(--f-xs); color: var(--ink-lt); font-family: "JetBrains Mono", monospace; }

.audit-result { display: flex; flex-direction: column; gap: 1.4rem; }

.audit-score-row {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 1.4rem;
}
.audit-score-circle {
  width: 80px; height: 80px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 4px solid var(--marsh);
  background: rgba(31,61,59,0.05);
}
.audit-score-num {
  font-family: "Fraunces", serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--marsh);
  line-height: 1;
}
.audit-score-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-lt);
  font-family: "JetBrains Mono", monospace;
}
.audit-score-info { flex: 1; }
.audit-score-info h3 { font-size: var(--f-md); color: var(--marsh); margin-bottom: 4px; }
.audit-score-info p { font-size: var(--f-sm); color: var(--ink-mid); line-height: 1.55; }

.audit-section {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 10px;
  overflow: hidden;
}
.audit-section-head {
  background: rgba(31,61,59,0.04);
  border-bottom: 1px solid var(--rule);
  padding: 10px 16px;
  font-family: "JetBrains Mono", monospace;
  font-size: var(--f-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terra);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.audit-section-body { padding: 1.2rem; }

.audit-services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.audit-service-tag {
  background: rgba(31,61,59,0.07);
  color: var(--marsh);
  border: 1px solid rgba(31,61,59,0.15);
  border-radius: 20px;
  padding: 3px 11px;
  font-size: var(--f-xs);
  font-weight: 600;
}

.audit-usability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}
.audit-usability-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--f-xs);
  color: var(--ink-mid);
}
.audit-check { font-size: 0.85rem; }
.audit-check.pass { color: var(--success); }
.audit-check.fail { color: var(--error); }
.audit-check.neutral { color: var(--ink-lt); }

.audit-reviews-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 10px;
}
.audit-stars {
  font-size: 1.1rem;
  letter-spacing: 2px;
}
.audit-rating-num {
  font-family: "Fraunces", serif;
  font-size: 1.4rem;
  color: var(--marsh);
}
.audit-review-count {
  font-size: var(--f-xs);
  color: var(--ink-lt);
}
.audit-highlights { display: flex; flex-direction: column; gap: 4px; }
.audit-highlight {
  font-size: var(--f-sm);
  color: var(--ink-mid);
  padding-left: 14px;
  position: relative;
}
.audit-highlight::before {
  content: '"';
  position: absolute;
  left: 0;
  color: var(--brass);
  font-family: "Fraunces", serif;
}

.audit-opps { display: flex; flex-direction: column; gap: 10px; }
.audit-opp {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  background: var(--white);
}
.audit-opp-impact {
  font-size: var(--f-xs);
  font-family: "JetBrains Mono", monospace;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}
.audit-opp-impact.high   { background: rgba(201,98,45,0.12); color: var(--terra); }
.audit-opp-impact.medium { background: rgba(200,162,74,0.15); color: #7A6100; }
.audit-opp-impact.low    { background: rgba(31,61,59,0.07); color: var(--marsh); }
.audit-opp-text { flex: 1; }
.audit-opp-issue { font-size: var(--f-sm); font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.audit-opp-detail { font-size: var(--f-xs); color: var(--ink-mid); line-height: 1.5; }

.audit-cta {
  background: linear-gradient(135deg, var(--marsh) 0%, var(--steel) 100%);
  border-radius: 10px;
  padding: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.audit-cta-text h4 { color: var(--sand); font-size: var(--f-md); margin-bottom: 4px; }
.audit-cta-text p  { color: rgba(247,243,236,0.75); font-size: var(--f-sm); }
.btn-audit-cta {
  background: var(--terra);
  color: var(--white);
  border: none;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-family: "Source Sans 3", sans-serif;
  font-size: var(--f-sm);
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
  flex-shrink: 0;
}
.btn-audit-cta:hover { background: #b8561f; }

.audit-rerun-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
}
.audit-timestamp {
  font-size: var(--f-xs);
  color: var(--ink-lt);
  font-family: "JetBrains Mono", monospace;
}
.btn-audit-rerun {
  background: none;
  border: 1.5px solid var(--rule);
  color: var(--ink-mid);
  padding: 5px 14px;
  border-radius: var(--radius);
  font-family: "Source Sans 3", sans-serif;
  font-size: var(--f-xs);
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s;
}
.btn-audit-rerun:hover { border-color: var(--marsh); color: var(--marsh); }

.audit-error {
  background: #fdf0ef;
  border: 1px solid rgba(192,57,43,0.2);
  border-radius: var(--radius);
  padding: 1.2rem;
  color: var(--error);
  font-size: var(--f-sm);
  text-align: center;
}

/* Guest Work Order delivery — always visible, glove-friendly, and explicit
   about the one prerequisite (an accepted job must have an assignment). */
.job-detail-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  font-size: var(--f-sm);
  color: var(--ink-mid);
  margin-bottom: 18px;
}
.job-assign-controls { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
#jobAssignBtn { min-height: 56px; padding: 12px 22px !important; }
.guest-wo-card {
  margin-top: 20px;
  padding: 16px;
  border: 1.5px solid var(--rule);
  border-radius: 12px;
  background: #fff;
}
.guest-wo-title { margin-bottom: 6px; font-size: var(--f-sm); font-weight: 700; color: var(--marsh); }
.guest-wo-copy { font-size: var(--f-sm); color: var(--ink-lt); margin: 0 0 12px; line-height: 1.5; }
.guest-wo-lock { background: #F4F0E8; border-radius: 9px; padding: 12px; color: var(--ink-mid); font-size: var(--f-sm); }
.guest-wo-current { background: var(--card, #EFE7D8); border-radius: 9px; padding: 12px 14px; margin-bottom: 12px; }
.guest-wo-form { display: grid; grid-template-columns: minmax(140px,.7fr) minmax(220px,1fr); gap: 10px; }
.guest-wo-input { width: 100%; min-height: 56px; padding: 12px 14px; border: 1.5px solid var(--rule); border-radius: 9px; font: inherit; font-size: 16px; }
.guest-wo-action {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 60px;
  border: none;
  border-radius: 9px;
  padding: 13px 18px;
  background: var(--marsh);
  color: #fff;
  font: inherit;
  font-size: var(--f-sm);
  font-weight: 700;
  cursor: pointer;
  touch-action: manipulation;
}
.guest-wo-secondary { margin-top: 10px; background: #fff; color: #A13D32; border: 1.5px solid #A13D32; }
.guest-wo-action:disabled { opacity: .62; cursor: wait; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.4rem;
    padding: 3rem 1.4rem;
  }

  .hero-card { display: none; }

  .form-row { grid-template-columns: 1fr; }

  .welcome-panel { grid-template-columns: 1fr; }

  .portal-header-inner { flex-direction: column; align-items: flex-start; }

  .cat-check-grid { grid-template-columns: 1fr; }

  .stc-nav { padding: 0 1rem; }

  .stc-nav-brand-text .name { font-size: 0.92rem; }
}

@media (max-width: 480px) {
  /* v10.65: the 60px sticky nav was cramming the two-line brand, a
     back-link, and two buttons into 390px — everything wrapped and spilled
     out of the bar. Phone width: drop the tagline and the back-link (the
     hero and footer both link home), keep the two real actions on one line. */
  .stc-nav-brand-text .sub { display: none; }
  .stc-nav-brand { flex: 1 1 auto; min-width: 0; padding-right: 8px; }
  .stc-nav-brand-text .name { font-size: 0.86rem; line-height: 1.1; }
  .stc-nav { padding: 0 0.75rem; }
  .stc-nav-actions { flex-shrink: 0; gap: 6px; }
  .stc-nav-actions a.btn-nav-login { display: none; }
  .btn-nav-login, .btn-nav-join { padding: 7px 9px; font-size: 0.84rem; white-space: nowrap; }
  .hero h1 { font-size: 1.9rem; }
  .modal { border-radius: 0; max-height: 100vh; }
  .modal-header { border-radius: 0; }
  #jobDetailBody { padding: 0 1rem 1.25rem !important; }
  .job-detail-facts { grid-template-columns: 1fr; gap: 8px; }
  .job-assign-controls > * { width: 100%; flex-basis: 100%; }
  .guest-wo-card { padding: 14px; }
  .guest-wo-form { grid-template-columns: 1fr; }
}

/* Vendor Command Center — read-only owner dashboard */
.vc-shell { display:grid; gap:1.25rem; color:var(--ink); }
.vc-command-hero { padding:1.6rem; background:linear-gradient(135deg,#173b39 0%,#24514d 72%,#315d55 100%); color:#fff; border-radius:14px; box-shadow:0 12px 30px rgba(18,48,46,.14); }
.vc-eyebrow { font-family:'JetBrains Mono',monospace; font-size:var(--f-xs); letter-spacing:.11em; text-transform:uppercase; color:var(--brass-lt); }
.vc-command-hero h2 { margin:.45rem 0 .3rem; color:#fff; font-size:clamp(1.45rem,3vw,2.2rem); }
.vc-command-hero p { margin:0; max-width:760px; color:rgba(255,255,255,.78); line-height:1.55; }
.vc-status-strip { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); border:1px solid var(--rule); border-radius:12px; background:var(--white); overflow:hidden; }
.vc-stat { padding:1rem 1.1rem; border:0; border-right:1px solid var(--rule); background:var(--white); text-align:left; font:inherit; color:inherit; cursor:pointer; min-height:96px; position:relative; touch-action:manipulation; transition:background .15s,box-shadow .15s; }
.vc-stat:last-child { border-right:0; }
.vc-stat span { display:block; color:var(--ink-lt); font-size:var(--f-xs); }
.vc-stat strong { display:block; margin-top:.2rem; color:var(--marsh); font-size:1.45rem; }
.vc-stat small { display:block; margin-top:.3rem; color:var(--marsh); font-size:.68rem; font-weight:700; }
.vc-stat:hover { background:#f4f6f1; }
.vc-stat:focus-visible { outline:3px solid var(--brass); outline-offset:-3px; z-index:1; }
.vc-stat.is-active { background:#eef4ef; box-shadow:inset 0 4px 0 var(--brass); }
.vc-layout { display:grid; grid-template-columns:minmax(0,1.55fr) minmax(270px,.75fr); gap:1.25rem; align-items:start; }
.vc-section { background:var(--white); border:1px solid var(--rule); border-radius:12px; padding:1.3rem; min-width:0; }
.vc-section-head { display:flex; justify-content:space-between; align-items:flex-start; gap:1rem; flex-wrap:wrap; margin-bottom:.75rem; }
.vc-section-head h3 { margin:0; color:var(--marsh); font-size:1rem; }
.vc-sub { color:var(--ink-lt); font-size:var(--f-xs); margin-top:.15rem; }
.vc-badge { display:inline-flex; align-items:center; border-radius:999px; padding:.28rem .58rem; background:var(--sand); color:var(--marsh); font:600 var(--f-xs) 'JetBrains Mono',monospace; }
.vc-job-list,.vc-attention-list,.vc-worker-list,.vc-readiness-list { display:grid; }
.vc-job { width:100%; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:.8rem; padding:.85rem .35rem; text-align:left; background:transparent; border:0; border-bottom:1px solid var(--rule); cursor:pointer; color:var(--ink); }
.vc-job:last-child { border-bottom:0; }
.vc-job:hover,.vc-job.is-selected { background:#f4f6f1; }
.vc-job strong,.vc-attention strong { color:var(--marsh); }
.vc-job-meta { margin-top:.22rem; color:var(--ink-lt); font-size:var(--f-xs); }
.vc-job-status { white-space:nowrap; font-size:var(--f-xs); font-weight:600; color:var(--ink-mid); }
.vc-command-panel { display:grid; gap:.85rem; position:sticky; top:1rem; }
.vc-command-facts { display:grid; grid-template-columns:1fr 1fr; gap:.7rem; }
.vc-fact { padding-bottom:.55rem; border-bottom:1px solid var(--rule); }
.vc-fact span { display:block; color:var(--ink-lt); font-size:var(--f-xs); }
.vc-fact strong { display:block; margin-top:.15rem; color:var(--marsh); font-size:var(--f-sm); }
.vc-action { width:100%; padding:.75rem 1rem; border:0; border-radius:8px; background:var(--marsh); color:#fff; font-weight:600; cursor:pointer; }
.vc-attention { display:grid; grid-template-columns:8px minmax(0,1fr) auto; gap:.7rem; align-items:center; padding:.78rem 0; border-bottom:1px solid var(--rule); }
.vc-attention:last-child { border-bottom:0; }
.vc-signal { width:8px; height:8px; border-radius:50%; background:var(--brass); }
.vc-signal.high { background:#b6503e; }
.vc-link { border:0; background:transparent; color:var(--marsh); font-weight:600; cursor:pointer; font-size:var(--f-xs); }
.vc-grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:1.25rem; }
.vc-worker { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:.7rem; padding:.72rem 0; border-bottom:1px solid var(--rule); }
.vc-worker:last-child { border-bottom:0; }
.vc-worker small { display:block; color:var(--ink-lt); margin-top:.15rem; }
.vc-capacity { display:grid; gap:.7rem; }
.vc-week { display:grid; grid-template-columns:72px minmax(0,1fr) 92px; gap:.65rem; align-items:center; font-size:var(--f-xs); }
.vc-track { height:13px; position:relative; overflow:hidden; border-radius:999px; background:#e9ece6; }
.vc-track span { display:block; height:100%; min-width:2px; border-radius:inherit; background:var(--brass); }
.vc-ready-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:.75rem; padding:.65rem 0; border-bottom:1px solid var(--rule); }
.vc-ready-row:last-child { border-bottom:0; }
.vc-ready-row small { display:block; color:var(--ink-lt); margin-top:.12rem; }
.vc-ready-state { color:var(--ink-lt); font-size:var(--f-xs); white-space:nowrap; }
.vc-ready-state.yes { color:#2e7d5e; font-weight:600; }
.vc-empty,.vc-loading,.vc-error { padding:1.7rem .5rem; color:var(--ink-lt); text-align:center; font-size:var(--f-sm); }
.vc-error { color:#a34334; }
.vc-hidden-status { display:none; }
@media (max-width:900px) { .vc-status-strip { grid-template-columns:repeat(3,1fr); } .vc-stat { border-bottom:1px solid var(--rule); } .vc-layout,.vc-grid-2 { grid-template-columns:1fr; } .vc-command-panel { position:static; } }
@media (max-width:560px) { .vc-status-strip { grid-template-columns:1fr 1fr; } .vc-stat { min-height:112px; border-bottom:1px solid var(--rule); } .vc-command-hero,.vc-section { padding:1rem; } .vc-command-facts { grid-template-columns:1fr; } .vc-job,.vc-attention { grid-template-columns:1fr; min-height:70px; } .vc-attention .vc-signal { display:none; } .vc-week { grid-template-columns:58px minmax(0,1fr); } .vc-week > span:last-child { grid-column:2; } }
