@font-face { font-family: Inter; src: url('/static/fonts/inter-latin.woff2') format('woff2'); font-style: normal; font-weight: 400 700; font-display: swap; }
@font-face { font-family: Montserrat; src: url('/static/fonts/montserrat-latin.woff2') format('woff2'); font-style: normal; font-weight: 400 700; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url('/static/fonts/playfair-latin.woff2') format('woff2'); font-style: normal; font-weight: 500 600; font-display: swap; }

:root {
  --ink: #171717;
  --muted: #646464;
  --rose: #b76e5a;
  --rose-dark: #8c4c39;
  --line: #dedbd9;
  --paper: #f5f6f7;
  --blush: #f9efeb;
  --v2-ink: #171717;
  --v2-muted: #646464;
  --v2-line: #dedbd9;
  --v2-soft: #f5f6f7;
  --v2-sidebar: #ffffff;
  --v2-rose: #8c4c39;
}
body, button, input, textarea, select { font-family: Inter, Arial, sans-serif; letter-spacing: 0; }
h1, h2, h3, .workspace-header h1 { font-family: Inter, Arial, sans-serif; letter-spacing: 0; }
:focus-visible { outline: 2px solid #8c4c39; outline-offset: 3px; }
#flash-area { position: fixed; right: 20px; top: 84px; z-index: 90; width: min(340px, calc(100vw - 40px)); pointer-events: none; }
.sidebar-brand { display: flex; align-items: center; justify-content: center; gap: 12px; min-width: 0; min-height: 72px; margin: 0 0 18px; padding: 0 8px 14px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: #fff; color: var(--ink); box-shadow: none; }
.sidebar-brand .brand { display: block; width: 200px; max-width: 100%; height: auto; aspect-ratio: 640 / 219; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; object-fit: contain; mix-blend-mode: normal; }
.sidebar-brand strong, .sidebar-brand span { color: var(--ink); }
.sidebar-brand > div { display: none; }
.public-website-link { font-family: Inter, Arial, sans-serif; }

/* The working portal keeps its routes and modules; only presentation changes. */
.manager-v2 .sidebar { background: #fff; border-right-color: var(--line); }
.manager-v2 .sidebar-brand { padding-bottom: 12px; border-bottom-color: var(--line); }
.manager-v2 .workspace-logo { display: block; width: 200px; max-width: 100%; height: auto; aspect-ratio: 640 / 219; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; object-fit: contain; }
.manager-v2 .sidebar-brand .brand-caption { color: #686868; font-size: 11px; }

@media (max-width: 760px) {
  body:not(.manager-v2) .sidebar-brand { justify-content: space-between; min-height: 52px; padding: 6px 10px; margin-bottom: 0; }
  .sidebar-brand .brand { width: 150px; max-width: calc(100% - 90px); }
  body:not(.manager-v2) .mobile-menu-toggle { color: var(--ink); border-color: var(--line); border-radius: 4px; background: #fff; }
}
.manager-v2 .sidebar nav .nav-section-label { color: #737373; font-size: 10px; }
.manager-v2 .sidebar nav a { color: #515151; font-size: 13px; border-radius: 4px; min-height: 40px; }
.manager-v2 .sidebar nav a:hover { color: #171717; background: #f5f3f2; }
.manager-v2 .sidebar nav a.active { color: #171717; background: #f6e9e3; box-shadow: inset 3px 0 #b76e5a; }
.manager-v2 .sidebar-footer { border-color: var(--line); }
.manager-v2 .legacy-link { color: #666; font-size: 11px; }
.manager-v2 .sidebar .text-button { color: #515151; border-color: var(--line); }
.manager-v2 .workspace-header { min-height: 72px; }
.manager-v2 .workspace-header h1 { font-family: Inter, Arial, sans-serif; font-size: 22px; font-weight: 600; }
.manager-v2 .workspace-header .eyebrow { color: #8c4c39; }
.manager-v2 .btn, .manager-v2 .btn.small, .manager-v2 .btn.tiny { font-size: 12px; font-weight: 600; border-radius: 4px; }
.manager-v2 .btn.primary { background: #171717; border-color: #171717; color: #fff; }
.manager-v2 .panel, .manager-v2 .record-card { border-radius: 4px; }
.manager-v2 .work-grid { align-items: start; }
.manager-v2 .manager-hero h1, .manager-v2 .topbar h1 { font-size: 24px; font-weight: 600; }
.manager-v2 .stat { background: #fff; border-radius: 4px; border-top: 2px solid #d2b4a7; }
.manager-v2 .stat small { font-size: 10px; color: #646464; }
.manager-v2 .stat p { font-size: 12px; }
.manager-v2 .row-item strong, .manager-v2 .website-ops-row strong { font-size: 13px; }
.manager-v2 .row-item p, .manager-v2 .row-item small, .manager-v2 .website-ops-row span { font-size: 12px; }
.manager-v2 .panel-head .muted { font-size: 12px; }
.manager-v2 .filter-pill { font-size: 12px; border-radius: 4px; }
.manager-v2 .record-topbar .workspace-title p { font-size: 12px; }
.manager-v2 .profile-summary-strip span { font-size: 10px; }
.manager-v2 .profile-summary-strip strong { font-size: 13px; }
.manager-v2 .profile-summary-strip small { font-size: 11px; }

.profile-summary-strip.project-command-strip > .website-status-summary {
  background: var(--status-background);
  border-color: var(--status-border);
  color: var(--status-text);
}
.profile-summary-strip.project-command-strip > .website-status-summary > span,
.profile-summary-strip.project-command-strip > .website-status-summary > strong,
.profile-summary-strip.project-command-strip > .website-status-summary > small {
  color: var(--status-text);
}
.website-ios-section {
  margin: 0 14px 14px;
  padding-top: 14px;
  border-top: 1px solid #e5e7eb;
}

.website-ios-section h3 {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.4;
}

.website-ios-section .record-edit-grid {
  padding: 0;
}

@media (max-width: 820px) {
  .website-ios-section .record-field input,
  .website-ios-section .record-field select {
    font-size: 16px;
    min-height: 44px;
  }
}

.website-status-green {
  --status-background: #dcfce7;
  --status-border: #86efac;
  --status-text: #166534;
}
.website-status-yellow {
  --status-background: #fef3c7;
  --status-border: #f3ca62;
  --status-text: #854d0e;
}
.website-status-red {
  --status-background: #fee2e2;
  --status-border: #fca5a5;
  --status-text: #991b1b;
}
.website-status-neutral {
  --status-background: #f3f4f6;
  --status-border: #d1d5db;
  --status-text: #4b5563;
}
.manager-v2 .record-field span { font-size: 11px; }
.manager-v2 .v2-profile-tab { font-family: Inter, Arial, sans-serif; font-size: 12px; border-radius: 4px; }
.manager-v2 .website-group-panel > .workspace-subtabs button { font-size: 12px; }
.manager-v2 .mobile-menu-toggle { color: #171717; border-color: var(--line); }
.manager-v2 .ops-attention-button { grid-template-columns: minmax(0, 1fr) auto; border-radius: 4px; }
.manager-v2 .ops-attention-button > span { display: none; }
.manager-v2 .ops-attention-button strong { font-size: 11px; }
@media (min-width: 1181px) {
  .manager-v2 .website-ops-row { grid-template-columns: minmax(220px, 1.8fr) minmax(150px, 1.1fr) 85px minmax(125px, .9fr) 268px; }
  .manager-v2 .ops-row-actions { grid-template-columns: 96px 120px 42px; gap: 5px; }
}

/* No autofocus or undersized fields: preserve comfortable iPhone sign-in. */
.login-shell { min-height: 100dvh; padding: 32px 20px; background: #f3f4f5; display: grid; place-items: center; }
.login-card { width: min(100%, 430px); padding: 36px; border-radius: 8px; border: 1px solid #dedbd9; border-top: 3px solid #b76e5a; background: #fff; box-shadow: 0 12px 40px rgba(0,0,0,.06); }
.login-logo { display: block; width: 224px; max-width: 100%; height: auto; margin: 0 0 26px; mix-blend-mode: normal; }
.login-card .eyebrow { font-size: 11px; text-transform: none; color: #8c4c39; margin: 0 0 8px; }
.login-card h1 { font-family: 'Playfair Display', Georgia, serif; font-size: 30px; line-height: 1.25; font-weight: 500; margin: 0 0 10px; }
.login-card .muted { font-size: 14px; line-height: 1.6; margin: 0 0 26px; }
.login-card label { font-size: 13px; font-weight: 600; }
.login-card input { width: 100%; min-height: 46px; font-size: 16px !important; border-radius: 4px; }
.login-card .btn { min-height: 46px; border-radius: 4px; font-size: 14px; margin-top: 8px; }
.login-card .login-public-link { font-size: 13px; margin-top: 20px; }
@media (max-width: 480px) {
  .login-shell { padding: 24px 16px; align-items: start; }
  .login-card { padding: 28px 22px; margin-top: 20px; }
  .login-card h1 { font-size: 28px; }
  .manager-v2 .workspace-header { min-height: 66px; }
  .manager-v2 .workspace-header h1 { font-size: 18px; }
}
.website-demo-passcode { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin: 12px 0; }
.website-demo-passcode .record-field { flex: 1; min-width: 0; }
.website-demo-passcode input { font-size: 16px; }
.website-demo-passcode .btn { flex: none; min-height: 40px; }
.website-demo-reveal { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; }
.website-demo-reveal[hidden] { display: none; }
.website-demo-reveal input { max-width: 380px; width: 100%; font-size: 16px; }
@media (max-width: 480px) { .website-demo-passcode { flex-wrap: wrap; } .website-demo-passcode .record-field { flex-basis: 100%; } }

.website-demo-open-actions { margin-bottom: 18px; }
.website-workspace-page .btn.website-demo-open {
  min-height: 44px;
  min-width: 160px;
  max-width: 100%;
  padding: 10px 16px;
  border: 1px solid #e9b6c8;
  border-radius: 6px;
  background: #fce7ef;
  color: #6d2945;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
}
.website-workspace-page .btn.website-demo-open:hover {
  background: #f8d8e5;
  border-color: #d695ae;
  color: #6d2945;
}
.website-workspace-page .btn.website-demo-open:focus-visible {
  outline: 2px solid #6d2945;
  outline-offset: 3px;
}
.website-workspace-page .btn.website-demo-open:disabled {
  background: #f4f0f2;
  border-color: #ded5da;
  color: #776c72;
  cursor: not-allowed;
}
