@import "./styles-operations.css";
/* Ownership: occurrence workspace additions share the compact Booking surface. */
.occurrence-grid { display: grid; grid-template-columns: minmax(240px, 360px) 1fr; gap: 20px; margin-top: 24px; }
.occurrence-row { display: grid; gap: 5px; padding: 14px 0; border-bottom: 1px solid #e5e7eb; }
.occurrence-row strong { font-size: 15px; font-weight: 500; }
.occurrence-row span, .occurrence-row small { color: #64748b; font-size: 12px; }
.occurrence-list:empty::before { content: "No occurrences loaded yet."; color: #94a3b8; font-size: 13px; }
.occurrence-reservations-toggle { justify-self: start; min-height: 32px; padding: 0 9px; font-size: 11px; }
.occurrence-reservations { display: grid; gap: 5px; margin-top: 8px; padding: 8px; border-left: 2px solid #10b981; background: #f8fbf9; }
.reservation-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid #e5ece8; }
.reservation-row:last-child { border-bottom: 0; }
.reservation-customer { color: #334155; font-size: 11px; overflow-wrap: anywhere; }
.reservation-quantity { color: #64748b; font-size: 11px; }
.reservation-status { min-height: 28px; padding: 0 6px; color: #047857; border: 1px solid #bbf7d0; border-radius: 7px; background: #ecfdf5; font: inherit; font-size: 10px; text-transform: capitalize; }
@media (max-width: 720px) { .occurrence-grid { grid-template-columns: 1fr; } }
/* Ownership: NOVA-aligned Booking shell tokens and responsive layout. */
:root { font-family: "Hanken Grotesk", sans-serif; color: #171717; background: #f7f8f6; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: #f7f8f6; }
button, a { font: inherit; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 200px 1fr; }
.rail { display: flex; flex-direction: column; gap: 20px; padding: 20px 14px; color: #fff; background: #064e3b; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 500; }
.brand-mark { width: 12px; height: 12px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 5px #064e3b; }
.eyebrow { margin: 0; color: #64748b; font-size: 10px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; }
.rail .eyebrow { color: #94a3b8; }
nav { display: grid; gap: 8px; }
.nav-item { min-height: 44px; display: flex; align-items: center; padding: 0 10px; color: #cbd5e1; border-radius: 8px; text-decoration: none; font-size: 14px; }
.nav-item:hover, .nav-item:focus-visible, .nav-item.active { color: #fff; background: #064e3b; outline: none; }
.rail-footer { display: flex; gap: 8px; align-items: center; margin-top: auto; color: #94a3b8; font-size: 12px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #10b981; }
.workspace { min-width: 0; padding: 24px clamp(20px, 4vw, 56px); }
.topbar { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; max-width: 1120px; margin: 0 auto; }
h1, h2 { margin: 0; font-weight: 400; letter-spacing: -.03em; }
h1 { margin-top: 6px; font-size: clamp(24px, 2.6vw, 30px); font-weight: 400; }
h2 { font-size: clamp(18px, 2vw, 22px); font-weight: 400; }
.account-button, .primary-button { min-height: 48px; padding: 0 18px; border: 1px solid #d1d5db; border-radius: 12px; background: #fff; cursor: pointer; }
.account-button:hover, .account-button:focus-visible { border-color: #10b981; outline: 3px solid #d1fae5; }
.empty-state { max-width: 640px; margin: 14vh auto 0; padding: 32px 24px; text-align: center; background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; box-shadow: 0 8px 24px rgb(15 23 42 / 5%); }
.empty-icon { width: 48px; height: 48px; display: grid; place-items: center; margin: 0 auto 24px; color: #047857; border-radius: 50%; background: #d1fae5; font-size: 28px; }
.empty-state .eyebrow { color: #047857; }
.empty-copy { max-width: 480px; margin: 16px auto 24px; color: #64748b; line-height: 1.6; }
.primary-button { color: #fff; border-color: #10b981; background: #10b981; }
.primary-button:hover, .primary-button:focus-visible { background: #047857; outline: 3px solid #d1fae5; }
.state-note { margin: 24px 0 0; color: #94a3b8; font-size: 13px; }
.studio-page { max-width: 1180px; margin: 0 auto; }
.studio-lede { margin: 12px 0 0; }
.studio-grid { display: grid; grid-template-columns: minmax(240px, 340px) 1fr; gap: 20px; margin-top: 28px; }
.studio-panel, .print-preview { padding: 24px; background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; box-shadow: 0 8px 24px rgb(15 23 42 / 5%); }
.studio-panel { display: grid; align-content: start; gap: 16px; }
.studio-panel label { display: grid; gap: 6px; color: #475569; font-size: 12px; font-weight: 500; }
.studio-panel input, .studio-panel select { min-height: 44px; width: 100%; padding: 0 12px; color: #171717; border: 1px solid #d1d5db; border-radius: 10px; background: #fff; }
.studio-panel input:focus-visible, .studio-panel select:focus-visible { border-color: #10b981; outline: 3px solid #d1fae5; }
.print-preview { min-height: 440px; text-align: center; }
.print-preview .eyebrow { color: #047857; }
.qr-placeholder { width: min(240px, 70%); aspect-ratio: 1; display: grid; place-items: center; margin: 42px auto 24px; color: #64748b; border: 12px solid #f1f5f9; outline: 2px dashed #cbd5e1; background: repeating-conic-gradient(#f8fafc 0 25%, #fff 0 50%) 50% / 24px 24px; font-size: 24px; font-weight: 600; }
.diagnostic-note { max-width: 480px; margin: 24px auto 0; padding: 12px 16px; color: #047857; border-radius: 10px; background: #d1fae5; font-size: 13px; }
.management-grid, .settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 36px; }
.compact-state, .settings-card { margin: 0; max-width: none; padding: 32px 28px; text-align: left; }
.settings-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; box-shadow: 0 12px 32px rgb(15 23 42 / 5%); }
.settings-card h2 { margin-top: 10px; }
.settings-card .empty-copy { margin: 14px 0 24px; }
.public-feedback-page { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: #f7f8f6; }
.feedback-card { width: min(100%, 560px); padding: 32px 24px; text-align: center; background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; box-shadow: 0 8px 24px rgb(15 23 42 / 5%); }
.feedback-card .eyebrow { color: #047857; }
.feedback-card h1 { margin-top: 12px; }
.feedback-copy { max-width: 440px; margin: 16px auto 24px; color: #64748b; line-height: 1.6; }
.feedback-status { padding: 14px 16px; color: #475569; border-radius: 10px; background: #f1f5f9; font-size: 14px; }
.feedback-progress { margin: 12px 0 18px; color: #64748b; font-size: 12px; }
.feedback-status[data-state="loading"] { color: #0369a1; background: #eff6ff; }
.feedback-status[data-state="success"] { color: #047857; background: #d1fae5; }
.feedback-status[data-state="error"] { color: #9f1239; background: #fff1f2; }
.public-feedback-form { display: grid; gap: 16px; text-align: left; }
.feedback-step-copy { margin: 0; color: #64748b; font-size: 13px; line-height: 1.5; }
.public-question { min-width: 0; margin: 0; padding: 16px; border: 1px solid #dfe7e2; border-radius: 12px; background: #f8fbf9; }
.public-question legend { max-width: 100%; padding: 0; color: #171717; font-size: 17px; font-weight: 400; line-height: 1.35; }
.question-required { color: #047857; font-size: 11px; font-weight: 500; }
.public-question textarea { width: 100%; min-height: 112px; margin-top: 13px; padding: 11px; border: 1px solid #d1d5db; border-radius: 9px; background: #fff; font: inherit; font-size: 14px; resize: vertical; }
.public-question textarea:focus-visible, .public-options label:focus-within { border-color: #10b981; outline: 3px solid #d1fae5; }
.public-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 8px; margin-top: 13px; }
.public-options label { display: flex; min-height: 44px; align-items: center; gap: 8px; padding: 9px 10px; color: #334155; border: 1px solid #d1d5db; border-radius: 9px; background: #fff; font-size: 13px; cursor: pointer; }
.public-options input { accent-color: #10b981; }
.feedback-actions { display: flex; justify-content: flex-end; gap: 8px; }
.feedback-actions .account-button { min-height: 44px; }
@media (max-width: 520px) { .feedback-card { padding: 26px 18px; } .public-question legend { font-size: 16px; } .feedback-actions { justify-content: stretch; } .feedback-actions > * { flex: 1; } }
.preview-shell { min-height: 100vh; display: grid; grid-template-columns: 192px 1fr; background: #f7f8f6; color: #171717; }
.preview-rail { display: flex; flex-direction: column; gap: 18px; padding: 20px 12px; color: rgb(255 255 255 / 65%); background: #064e3b; }
.preview-nav, .preview-nav-secondary { display: grid; gap: 4px; }
.preview-nav-secondary { margin-top: 12px; }
.preview-nav a { min-height: 40px; display: flex; align-items: center; padding: 0 10px; color: #cbd5e1; border-radius: 8px; text-decoration: none; font-size: 13px; transition: color 140ms ease, background-color 140ms ease, transform 140ms ease; }
.preview-nav a:hover, .preview-nav a:focus-visible, .preview-nav a.active { color: #fff; background: #064e3b; outline: none; }
.preview-profile { display: flex; align-items: center; gap: 8px; margin-top: auto; padding: 10px; color: rgb(255 255 255 / 70%); border-radius: 10px; background: rgb(255 255 255 / 5%); font-size: 12px; }
.preview-profile strong, .preview-profile small { display: block; font-weight: 400; }
.preview-profile small { margin-top: 2px; color: #94a3b8; font-size: 10px; }
.profile-dot { width: 28px; height: 28px; display: grid; place-items: center; color: #064e3b; border-radius: 50%; background: #d1fae5; font-size: 12px; font-weight: 500; }
.preview-main { min-width: 0; }
.preview-header { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px clamp(20px, 4vw, 48px); border-bottom: 1px solid #e5e7eb; background: rgb(247 248 246 / 92%); }
.preview-header h1 { margin-top: 4px; }
.preview-header-actions { display: flex; align-items: center; gap: 8px; }
.preview-search { width: min(220px, 30vw); min-height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 10px; color: #94a3b8; border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; }
.preview-search input { width: 100%; border: 0; outline: 0; color: #171717; font-size: 13px; }
.icon-button, .profile-button, .slider-button { min-width: 40px; min-height: 40px; border: 1px solid #e5e7eb; border-radius: 8px; color: #475569; background: #fff; cursor: pointer; transition: border-color 140ms ease, color 140ms ease, background-color 140ms ease, transform 140ms ease; }
.profile-button { color: #064e3b; background: #d1fae5; border-color: #d1fae5; font-size: 13px; }
.preview-content { max-width: 1120px; margin: 0 auto; padding: 28px clamp(20px, 4vw, 48px); }
.preview-title-row, .section-row { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.preview-title-row h2, .section-row h2 { margin-top: 5px; }
.preview-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.preview-metrics article { min-height: 104px; padding: 16px; border: 1px solid #e5e7eb; border-radius: 12px; background: #fff; }
.preview-metrics span, .preview-metrics small { display: block; color: #64748b; font-size: 12px; }
.preview-metrics strong { display: block; margin: 8px 0 4px; color: #171717; font-size: 24px; font-weight: 400; }
.schedule-panel { margin-top: 20px; padding: 20px; border: 1px solid #e5e7eb; border-radius: 12px; background: #fff; }
.slider-actions { display: flex; gap: 6px; }
.slider-button { min-width: 32px; min-height: 32px; font-size: 18px; }
.schedule-track { display: flex; gap: 10px; overflow-x: auto; margin-top: 16px; padding-bottom: 6px; scroll-snap-type: x proximity; }
.schedule-card { min-width: 216px; display: grid; grid-template-columns: 42px 1fr; gap: 10px; padding: 14px; scroll-snap-align: start; border: 1px solid #e5e7eb; border-radius: 10px; background: #f8fafc; }
.schedule-card time { color: #64748b; font-size: 12px; }
.schedule-card strong, .schedule-card span { display: block; font-size: 13px; font-weight: 400; }
.schedule-card span { margin-top: 3px; color: #64748b; font-size: 11px; }
.schedule-card b { grid-column: 2; justify-self: start; padding: 3px 7px; color: #047857; border-radius: 999px; background: #d1fae5; font-size: 10px; font-weight: 500; }
.schedule-card-active { border-color: #10b981; box-shadow: inset 3px 0 #10b981; }
.schedule-card { transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
.schedule-card:hover { border-color: #a7f3d0; transform: translateY(-2px); }
.slider-button:hover, .slider-button:focus-visible { color: #047857; border-color: #10b981; outline: 3px solid #d1fae5; transform: translateY(-1px); }
.preview-nav a:hover { transform: translateX(2px); }
.fixture-note { margin: 14px 0 0; color: #94a3b8; font-size: 11px; }
@media (max-width: 760px) { .preview-shell { display: block; } .preview-rail { min-height: auto; flex-direction: row; align-items: center; padding: 12px 16px; } .preview-rail .eyebrow, .preview-nav, .preview-profile { display: none; } .preview-header { align-items: stretch; flex-direction: column; } .preview-header-actions, .preview-search { width: 100%; } .preview-search { flex: 1; } .preview-metrics { grid-template-columns: 1fr; } .preview-title-row { align-items: stretch; flex-direction: column; } }
@media (prefers-reduced-motion: reduce) { .preview-nav a, .icon-button, .profile-button, .slider-button, .schedule-card { transition: none; } .schedule-card:hover, .preview-nav a:hover, .slider-button:hover { transform: none; } }
@media (max-width: 720px) { .app-shell { display: block; } .rail { min-height: auto; flex-direction: row; align-items: center; padding: 12px 16px; } .rail .eyebrow, .rail nav, .rail-footer { display: none; } .workspace { padding: 24px 16px; } .topbar { align-items: stretch; flex-direction: column; } .account-button { width: 100%; } .empty-state { margin-top: 10vh; padding: 36px 20px; } }
@media (max-width: 820px) { .studio-grid { grid-template-columns: 1fr; } .studio-panel, .print-preview { padding: 22px; } }
@media (max-width: 720px) { .management-grid, .settings-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 24px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }
/* NOVA Booking shell refinement: shared rail/header baseline, quieter hierarchy, and data-honest empty states. */
.app-shell { grid-template-columns: 208px minmax(0, 1fr); background: #f7f8f6; }
.rail { gap: 14px; padding: 0 12px 16px; background: #064e3b; border-right: 0; }
.rail-header { min-height: 64px; display: flex; align-items: center; margin: 0 -12px 2px; padding: 0 18px; border-bottom: 1px solid rgb(255 255 255 / 9%); }
.rail-header .brand { width: 100%; gap: 10px; color: #f8fafc; text-decoration: none; }
.brand-mark { width: 30px; height: 30px; display: grid; flex: 0 0 30px; place-items: center; border-radius: 9px; background: #d1fae5; box-shadow: none; }
.brand-mark svg { width: 17px; height: 17px; fill: none; stroke: #047857; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.brand-copy { display: grid; gap: 2px; }
.brand-copy strong { color: #f8fafc; font-size: 14px; font-weight: 500; letter-spacing: -.01em; }
.brand-copy small { color: #94a3b8; font-size: 10px; font-weight: 400; }
.rail-label { margin: 4px 8px 0; color: #94a3b8 !important; font-size: 10px; letter-spacing: .12em; }
.rail nav { display: grid; gap: 3px; }
.nav-item { min-height: 40px; gap: 10px; padding: 0 10px; color: #cbd5e1; border-radius: 8px; font-size: 13px; transition: color 150ms ease, background-color 150ms ease, transform 150ms ease; }
.nav-item svg { width: 17px; height: 17px; flex: 0 0 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.55; transition: transform 150ms ease, color 150ms ease; }
.nav-item:hover, .nav-item:focus-visible, .nav-item.active { color: #fff; background: rgb(16 185 129 / 18%); outline: none; }
.nav-item:hover svg, .nav-item:focus-visible svg { color: #a7f3d0; transform: translateX(1px) scale(1.04); }
.nav-item.active { color: #f8fafc; font-weight: 500; box-shadow: inset 2px 0 #10b981; }
.rail-footer { align-items: center; gap: 9px; margin: auto 4px 0; padding: 10px 9px; color: #cbd5e1; border: 1px solid rgb(255 255 255 / 8%); border-radius: 9px; background: rgb(23 32 51 / 78%); font-size: 11px; }
.rail-footer > span:last-child { display: grid; gap: 2px; }
.rail-footer strong { color: #e2e8f0; font-size: 11px; font-weight: 400; }
.rail-footer small { color: #94a3b8; font-size: 10px; }
.status-dot { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 3px rgb(16 185 129 / 14%); }
.workspace { min-width: 0; padding: 0; }
.topbar { min-height: 64px; max-width: none; align-items: center; padding: 0 clamp(20px, 4vw, 44px); border-bottom: 1px solid #e5e7eb; background: rgb(247 248 246 / 94%); }
.topbar-context { display: flex; align-items: center; gap: 9px; color: #64748b; font-size: 13px; }
.topbar-actions { display: flex; align-items: center; gap: 7px; }
.icon-button { min-width: 40px; min-height: 40px; display: grid; place-items: center; padding: 0; color: #64748b; border: 1px solid transparent; border-radius: 8px; background: transparent; cursor: pointer; transition: color 150ms ease, background-color 150ms ease, transform 150ms ease; }
.icon-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.icon-button:hover, .icon-button:focus-visible { color: #047857; background: #d1fae5; outline: none; transform: translateY(-1px); }
.account-button { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; color: #047857; border-color: #bfe6d2; border-radius: 8px; background: #fff; text-decoration: none; font-size: 12px; font-weight: 500; }
.account-button:hover, .account-button:focus-visible { border-color: #10b981; background: #f4fbf7; outline: 3px solid #d1fae5; }
.workspace-content { max-width: 1120px; margin: 0 auto; padding: 28px clamp(20px, 4vw, 44px) 44px; }
.page-intro { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid #e5e7eb; }
.page-intro h1 { margin-top: 6px; color: #171717; font-size: clamp(24px, 2.4vw, 30px); font-weight: 400; }
.intro-copy { margin: 7px 0 0; color: #64748b; font-size: 14px; line-height: 1.5; }
.page-intro .primary-button { flex: 0 0 auto; }
.empty-state { max-width: none; margin: 20px 0 0; padding: 34px clamp(22px, 4vw, 42px); text-align: left; border-color: #dfe7e2; border-radius: 14px; box-shadow: 0 8px 24px rgb(15 23 42 / 4%); }
.empty-icon { width: 44px; height: 44px; margin: 0 0 20px; border-radius: 11px; background: #d1fae5; }
.empty-icon svg { width: 21px; height: 21px; fill: none; stroke: #047857; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.55; }
.empty-state .eyebrow { color: #047857; }
.empty-state h2 { margin-top: 7px; font-size: 21px; }
.empty-copy { max-width: 560px; margin: 11px 0 22px; color: #64748b; font-size: 14px; line-height: 1.6; }
.empty-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.primary-button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 16px; border-radius: 9px; background: #10b981; font-size: 13px; font-weight: 500; }
.primary-button:hover, .primary-button:focus-visible { background: #047857; outline: 3px solid #d1fae5; }
.state-note { margin: 22px 0 0; color: #94a3b8; font-size: 11px; }
@media (max-width: 720px) {
  .app-shell { display: block; }
  .rail { min-height: 64px; flex-direction: row; align-items: center; padding: 0 16px; }
  .rail-header { min-height: 64px; flex: 1; margin: 0; padding: 0; border: 0; }
  .rail-label, .rail nav, .rail-footer { display: none; }
  .workspace-content { padding: 24px 16px 32px; }
  .page-intro { align-items: stretch; flex-direction: column; gap: 16px; }
  .page-intro .primary-button { width: 100%; }
  .topbar { min-height: 56px; padding: 0 16px; }
  .topbar-context { font-size: 12px; }
  .topbar-actions .icon-button { display: none; }
  .empty-state { margin-top: 16px; padding: 26px 20px; }
}
/* Communication settings: real tenant-backed controls with explicit loading and denied states. */
.communications-page { max-width: 1180px; margin: 0 auto; }
.communications-page .topbar { max-width: none; padding: 24px 0 20px; align-items: end; background: transparent; }
.communications-content { padding: 0 0 40px; }
.communication-status { min-height: 24px; margin: 0 0 12px; color: #64748b; font-size: 13px; }
.communication-status[data-state="loading"] { color: #64748b; }
.communication-status[data-state="ready"] { color: #047857; }
.communication-status[data-state="error"], .communication-status[data-state="denied"] { padding: 10px 12px; color: #9f1239; border: 1px solid #fecdd3; border-radius: 9px; background: #fff1f2; }
.public-occurrence-page .feedback-card { text-align: left; }
.public-occurrence-page .feedback-card h1, .public-occurrence-page .feedback-copy { text-align: center; }
.public-occurrence-form { display: grid; gap: 4px; }
.public-occurrence-form select, .public-occurrence-form input:not([type="checkbox"]) { width: 100%; min-height: 42px; padding: 0 11px; border: 1px solid #d1d5db; border-radius: 9px; background: #fff; font: inherit; font-size: 13px; }
.public-occurrence-form select:focus-visible, .public-occurrence-form input:focus-visible { border-color: #10b981; outline: 3px solid #d1fae5; }
.settings-form { display: grid; gap: 18px; }
.settings-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 14px; margin: 0; }
.settings-card { min-width: 0; padding: 22px; border: 1px solid #dfe7e2; border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgb(15 23 42 / 4%); }
.settings-card h2 { margin-top: 6px; font-size: 19px; }
.settings-help { margin: 8px 0 18px; color: #64748b; font-size: 13px; line-height: 1.5; }
.field-label { display: block; margin: 14px 0 6px; color: #475569; font-size: 12px; font-weight: 500; }
.settings-card input[type="text"], .settings-card input[type="number"], .settings-card input:not([type]) { width: 100%; min-height: 44px; padding: 0 11px; border: 1px solid #d1d5db; border-radius: 9px; background: #fff; }
.settings-card input:focus-visible, .rule-row input:focus-visible { border-color: #10b981; outline: 3px solid #d1fae5; }
.setting-check { display: flex; gap: 9px; align-items: flex-start; margin-top: 16px; color: #171717; font-size: 13px; }
.setting-check input { width: 17px; height: 17px; margin-top: 1px; accent-color: #10b981; }
.setting-check span { display: grid; gap: 3px; }
.setting-check strong { font-weight: 500; }
.setting-check small { color: #64748b; font-size: 11px; line-height: 1.4; }
.settings-card-heading { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.settings-card-heading .account-button { min-height: 40px; padding: 0 11px; }
.reminder-rules { display: grid; gap: 10px; }
.rule-empty { margin: 0; padding: 14px; color: #64748b; border: 1px dashed #cbd5e1; border-radius: 9px; background: #f8fafc; font-size: 12px; line-height: 1.5; }
.rule-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 13px; border: 1px solid #dfe7e2; border-radius: 10px; background: #f8fbf9; }
.rule-row label, .rule-row legend { color: #475569; font-size: 11px; font-weight: 500; }
.rule-row label { display: grid; gap: 5px; }
.rule-row input[type="number"] { min-height: 38px; width: 100%; padding: 0 9px; border: 1px solid #d1d5db; border-radius: 8px; background: #fff; }
.rule-enabled { display: flex !important; grid-column: 1 / -1; grid-template-columns: auto 1fr; align-items: center; gap: 7px; }
.rule-enabled input, fieldset input { accent-color: #10b981; }
.rule-row fieldset { display: flex; flex-wrap: wrap; gap: 10px; grid-column: 1 / -1; margin: 0; padding: 0; border: 0; }
.rule-row fieldset label { display: flex; align-items: center; gap: 5px; font-weight: 400; }
.remove-rule { grid-column: 1 / -1; justify-self: start; min-height: 34px; padding: 0 10px; color: #be123c; border: 1px solid #fecdd3; border-radius: 8px; background: #fff1f2; font-size: 11px; cursor: pointer; }
.form-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
@media (max-width: 760px) { .communications-page .topbar { align-items: stretch; padding: 22px 0 16px; } .settings-grid { grid-template-columns: 1fr; } .settings-card { padding: 18px; } .form-actions > * { width: 100%; } }
/* Feedback reporting: aggregate-first staff surface. */
.feedback-admin-page { max-width: 1180px; margin: 0 auto; }
.feedback-admin-page .topbar { max-width: none; padding: 24px 0 20px; align-items: end; background: transparent; }
.feedback-admin-page .topbar-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.feedback-admin-content { padding-bottom: 40px; }
.template-form { margin-bottom: 14px; }
.campaign-form { margin-bottom: 14px; }
.template-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.template-fields label { display: grid; gap: 6px; color: #475569; font-size: 11px; font-weight: 500; }
.template-fields input, .template-fields select, .template-fields textarea { width: 100%; min-height: 42px; padding: 8px 10px; color: #171717; border: 1px solid #d1d5db; border-radius: 8px; background: #fff; font: inherit; font-size: 12px; resize: vertical; }
.template-fields input:focus-visible, .template-fields select:focus-visible, .template-fields textarea:focus-visible { border-color: #10b981; outline: 3px solid #d1fae5; }
.field-help { color: #64748b; font-size: 10px; font-weight: 400; line-height: 1.35; }
.template-check { display: flex !important; grid-template-columns: auto 1fr; align-items: center; gap: 7px; }
.template-check input { width: 17px; min-height: 17px; accent-color: #10b981; }
.question-header { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-top: 20px; }
.question-header h3 { margin-top: 4px; color: #171717; font-size: 15px; font-weight: 500; }
.question-header .account-button { min-height: 40px; padding: 0 11px; }
.feedback-questions { display: grid; gap: 10px; max-height: min(62vh, 720px); margin-top: 10px; padding: 2px 6px 2px 0; overflow-y: auto; overscroll-behavior: contain; }
.question-row { padding: 13px; border: 1px solid #dfe7e2; border-radius: 10px; background: #f8fbf9; }
.question-row-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.question-row-heading strong { color: #171717; font-size: 12px; font-weight: 500; }
.remove-question { min-height: 32px; padding: 0 9px; color: #be123c; border: 1px solid #fecdd3; border-radius: 8px; background: #fff1f2; font-size: 10px; cursor: pointer; }
.question-fields { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 10px; }
.question-fields label { display: grid; gap: 5px; color: #475569; font-size: 11px; font-weight: 500; }
.question-fields input, .question-fields select { width: 100%; min-height: 40px; padding: 0 9px; color: #171717; border: 1px solid #d1d5db; border-radius: 8px; background: #fff; font: inherit; font-size: 12px; }
.question-fields input:focus-visible, .question-fields select:focus-visible { border-color: #10b981; outline: 3px solid #d1fae5; }
.question-prompt { min-width: 0; }
.question-fields .template-check { display: flex; grid-template-columns: auto 1fr; align-items: center; gap: 7px; }
.question-fields [data-field="choices-wrap"] { grid-column: 2; }
.feedback-workspace-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 14px; }
.campaign-filter { display: flex; align-items: center; gap: 6px; color: #64748b; font-size: 11px; }
.campaign-filter select { min-height: 38px; max-width: 190px; padding: 0 9px; color: #475569; border: 1px solid #d1d5db; border-radius: 8px; background: #fff; font: inherit; }
.campaign-list, .feedback-report { display: grid; gap: 9px; margin-top: 16px; }
.campaign-card { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 13px; border: 1px solid #dfe7e2; border-radius: 10px; background: #f8fbf9; }
.campaign-card-actions { display: flex; align-items: start; gap: 7px; }
.campaign-toggle { min-height: 30px; padding: 0 9px; font-size: 11px; }
.campaign-toggle:disabled { cursor: wait; opacity: .6; }
.campaign-card h2 { margin-top: 4px; font-size: 15px; overflow-wrap: anywhere; }
.campaign-status { align-self: start; padding: 4px 8px; color: #64748b; border-radius: 999px; background: #e2e8f0; font-size: 10px; }
.campaign-status.enabled { color: #047857; background: #d1fae5; }
.campaign-card dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; grid-column: 1 / -1; margin: 0; padding-top: 9px; border-top: 1px solid #e5ece8; }
.campaign-card dt { color: #64748b; font-size: 10px; }
.campaign-card dd { margin: 3px 0 0; color: #171717; font-size: 11px; }
.feedback-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.feedback-metric { padding: 12px; border-radius: 9px; background: #f1f5f3; }
.feedback-metric span { display: block; color: #64748b; font-size: 10px; }
.feedback-metric strong { display: block; margin-top: 5px; color: #047857; font-size: 20px; font-weight: 400; }
.feedback-report h3 { margin: 8px 0 0; font-size: 13px; font-weight: 500; }
.choice-trends { display: grid; gap: 7px; margin: 0; }
.choice-trends div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid #e5ece8; }
.choice-trends dt, .choice-trends dd { margin: 0; font-size: 11px; }
.choice-trends dt { color: #475569; }
.choice-trends dd { color: #64748b; text-align: right; }
.surface-message { margin: 0; padding: 14px; border-radius: 9px; font-size: 12px; line-height: 1.5; }
.surface-message.muted { color: #64748b; border: 1px dashed #cbd5e1; background: #f8fafc; }
.surface-message.loading { color: #0369a1; background: #eff6ff; }
.surface-message.error, .surface-message.denied { color: #9f1239; background: #fff1f2; }
.response-panel { margin-top: 14px; }
.privacy-note { color: #64748b; font-size: 11px; }
.response-list { display: grid; gap: 7px; }
.response-row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 13px; border: 1px solid #dfe7e2; border-radius: 9px; background: #f8fbf9; }
.response-row div:last-child { text-align: right; }
.response-row strong, .response-row span { display: block; }
.response-row strong { color: #171717; font-size: 11px; font-weight: 500; }
.response-row span { margin-top: 3px; color: #64748b; font-size: 10px; }
@media (max-width: 760px) { .feedback-admin-page .topbar { align-items: stretch; padding: 22px 0 16px; } .feedback-admin-page .topbar-actions { flex-direction: column; } .feedback-admin-page .topbar-actions > * { width: 100%; } .feedback-workspace-grid { grid-template-columns: 1fr; } .campaign-card dl { grid-template-columns: 1fr; } .feedback-metrics { grid-template-columns: 1fr; } .settings-card-heading { align-items: stretch; flex-direction: column; } .campaign-filter { justify-content: space-between; } .campaign-filter select { flex: 1; max-width: none; } .template-fields { grid-template-columns: 1fr; } .question-header { align-items: stretch; flex-direction: column; } .question-header .account-button { width: 100%; } .question-fields { grid-template-columns: 1fr; } .question-fields [data-field="choices-wrap"] { grid-column: auto; } }
@media (prefers-reduced-motion: reduce) { .nav-item, .nav-item svg, .icon-button { transition: none; } .nav-item:hover svg, .icon-button:hover { transform: none; } }
.preview-rail .brand-mark { width: 12px; height: 12px; flex-basis: 12px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 5px #064e3b; }
/* NOVA POS shell parity: keep Booking on the same compact, light workspace system. */ /* Remaining operations and customer surfaces live in the size-bounded companion sheet. */
