@font-face {
  font-family: "Jost";
  src: url("./assets/jost.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("./assets/cormorant-regular.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("./assets/cormorant-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #1c1b19;
  --paper: #f4f1ed;
  --surface: #f8f6f2;
  --white: #fffcf8;
  --black: #141413;
  --muted: #77736b;
  --line: #e2ddd5;
  --champagne: #ae9476;
  --champagne-light: #e7ddd0;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", Arial, sans-serif;
  --sidebar-width: 228px;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--paper); }
body { margin: 0; color: var(--ink); font: 400 14px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
button, input, select, textarea { border-radius: 2px; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { display: block; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.12; }
ul, ol { padding: 0; margin: 0; list-style: none; }
strong { font-weight: 500; }
::selection { color: var(--black); background: #d9c7b0; }
:focus-visible { outline: 2px solid #8f7353; outline-offset: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.icon { width: 21px; height: 21px; flex: 0 0 auto; stroke-width: 1.4; }
.muted { color: var(--muted); }
.eyebrow { font-size: 10px; font-weight: 400; letter-spacing: .25em; text-transform: uppercase; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 40px; padding: 10px 18px; border: 1px solid var(--black); background: var(--black); color: var(--white); font-size: 12px; line-height: 1.3; text-align: center; transition: background .16s, border-color .16s; }
.button:hover { background: #34312c; border-color: #34312c; }
.button.secondary, .button--secondary, .button.light { color: var(--ink); background: transparent; border-color: #cfc7bb; }
.button.secondary:hover, .button--secondary:hover, .button.light:hover { background: #e9e3db; }
.button.danger { background: #6d3329; border-color: #6d3329; }
.button.small, .button--small { min-height: 32px; padding: 6px 11px; font-size: 11px; }
.button .icon { width: 17px; height: 17px; }
.text-link { display: inline-flex; align-items: center; gap: 7px; padding: 0; background: none; border: 0; color: #655b4e; font-size: 12px; line-height: 1.5; text-decoration: none; text-underline-offset: 4px; }
.text-link:hover { color: #2d2821; text-decoration: underline; }
.text-link .icon { width: 15px; height: 15px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 7px; border: 0; background: transparent; }
.icon-button:hover { background: #e9e4dc; }
.avatar { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; background: #e1d0b8; color: #3b3329; font-size: 12px; font-weight: 400; letter-spacing: -.03em; }
.avatar.dark { color: white; background: var(--black); }
.pill { display: inline-flex; align-items: center; gap: 5px; width: fit-content; padding: 4px 8px; border-radius: 2px; background: #eae5dd; color: #665a4c; font-size: 10px; line-height: 1.35; white-space: nowrap; }
.pill.success, .pill.paid, .pill.confirmed { color: #526047; background: #e2e7dc; }
.pill.pending, .pill.warning { color: #826638; background: #eee6d7; }
.pill.danger, .pill.overdue { color: #8a5546; background: #eee0d9; }

/* The login uses the photograph as an editorial cover. */
.login-page { display: grid; grid-template-columns: 48% 52%; min-height: 100svh; background: var(--paper); }
.login-story { position: relative; isolation: isolate; min-height: 100svh; color: #f6f2eb; background: #15130f ; }
.login-story::before { content: ""; position: absolute; z-index: -1; inset: 0; background: rgba(0,0,0,.24); }
.login-content { display: flex; flex-direction: column; min-height: 100svh; padding: 72px clamp(40px, 7.5vw, 120px) 40px; }
.login-brand { display: block; width: 222px; max-width: 80%; }
.login-brand img { width: 100%; height: auto; }
img.login-brand { height: auto; }
.login-copy { margin-top: clamp(65px, 12vh, 132px); max-width: 370px; }
.login-copy .eyebrow { font-size: 11px; letter-spacing: .32em; }
.login-copy h1, .login-copy h2 { margin: 16px 0 21px; font-family: var(--serif); font-size: clamp(42px, 4.3vw, 65px); line-height: 1.04; font-weight: 400; letter-spacing: -.025em; }
.login-copy h1 em, .login-copy h2 em { font-weight: 400; }
.login-copy > p:not(.eyebrow) { max-width: 266px; color: #e0dbd3; font-size: 15px; line-height: 1.65; }
.login-copy::after { content: ""; display: block; width: 40px; height: 1px; margin-top: 31px; background: #e8e0d5; }
.login-footer { margin-top: auto; padding-top: 60px; font-size: 9px; line-height: 1.9; letter-spacing: .29em; text-transform: uppercase; }
.login-form-panel { display: flex; align-items: center; justify-content: center; padding: 68px 42px; }
.login-form-wrap { width: 100%; max-width: 360px; }
.login-heading { font-size: 47px; font-weight: 400; letter-spacing: -.035em; text-align: center; }
.login-subtitle { margin-top: 4px; color: #655f57; font: 400 20px/1.5 var(--serif); text-align: center; }
.login-form { margin-top: 38px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; margin-bottom: 18px; font-size: 12px; }
.field label, .field > span:first-child { font-size: 12px; color: #39362f; }
.field input, .field select, .field textarea, input.form-input, select.form-input, textarea.form-input { width: 100%; min-height: 43px; padding: 10px 12px; border: 1px solid #d5cfc5; background: transparent; color: var(--ink); font-size: 13px; line-height: 1.5; transition: border-color .15s; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #ac9f8c; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 1px solid #a38d70; outline-offset: 1px; border-color: #a38d70; }
.field input::placeholder, .field textarea::placeholder { color: #959087; }
.field textarea { resize: vertical; min-height: 108px; }
.field small { font-size: 11px; color: var(--muted); }
.field input[type="checkbox"], .field input[type="radio"] { width: 15px; min-height: 15px; accent-color: #937b5e; }
.forgot-link { display: block; width: fit-content; margin: -7px 0 32px auto; padding: 0; border: 0; color: #5f594f; background: transparent; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.login-submit { width: 100%; min-height: 48px; font-size: 10px; letter-spacing: .19em; text-transform: uppercase; }
.contact-copy { margin-top: 30px; color: #625b52; font-size: 12px; line-height: 1.8; text-align: center; }
.contact-copy a, .contact-copy button { display: inline-block; padding: 0; border: 0; background: transparent; text-decoration: underline; text-underline-offset: 4px; }
.demo-access { margin-top: 42px; padding-top: 21px; border-top: 1px solid var(--line); text-align: center; }
.demo-access > p { margin-bottom: 11px; color: var(--muted); font-size: 11px; }
.demo-access .button { padding: 8px 11px; min-height: 33px; font-size: 11px; }
.demo-access .button + .button { margin-left: 6px; }
.login-error, .form-error { margin: 0 0 16px; padding: 10px 12px; color: #873f30; background: #efe1d9; font-size: 12px; }

/* Application chrome stays quiet around the event. */
.app-shell { display: flex; min-height: 100svh; }
.sidebar { position: fixed; z-index: 40; inset: 0 auto 0 0; display: flex; flex-direction: column; width: var(--sidebar-width); padding: 35px 18px 23px; background: var(--black); color: #e2dfd8; }
.sidebar-brand, .sidebar-logo { display: block; width: 164px; max-width: 100%; margin: 0 auto 47px; }
.sidebar-brand img { width: 100%; height: auto; }
.sidebar nav { display: flex; flex: 0 1 auto; flex-direction: column; gap: 9px; min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #534a3c transparent; }
.sidebar nav .nav-item { flex-shrink: 0; }
.nav-item { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 42px; padding: 10px 14px; border: 1px solid transparent; border-radius: 2px; background: transparent; color: #d8d5cf; font-size: 13px; line-height: 1.3; text-align: left; transition: background .15s, color .15s; }
.nav-item:hover { color: white; background: #272621; }
.nav-item.active { color: #fff9f0; border-color: #5a5043; background: #4c4439; }
.nav-item .icon { width: 21px; height: 21px; }
.nav-label { flex: 1; }
.nav-count { min-width: 18px; padding: 1px 5px; border-radius: 2px; color: #eadcc7; background: #514839; font-size: 10px; text-align: center; }
.sidebar-footer { display: flex; flex-shrink: 0; align-items: center; gap: 10px; margin-top: auto; padding: 32px 6px 0; }
.sidebar-footer .avatar { width: 39px; height: 39px; font-size: 13px; }
.sidebar-footer p, .sidebar-footer strong { color: #eee9e0; font-size: 11px; line-height: 1.4; }
.sidebar-footer small, .sidebar-footer .muted { display: block; margin-top: 2px; color: #aaa69d; font-size: 10px; }
.sidebar-footer .icon-button { margin-left: auto; width: 27px; height: 31px; padding: 6px; color: #aaa69d; }
.sidebar-footer .icon-button:hover { color: white; background: #2b2924; }
.workspace { flex: 1; width: calc(100% - var(--sidebar-width)); min-width: 0; margin-left: var(--sidebar-width); padding: 0 42px 30px; }
.topbar { display: flex; align-items: center; justify-content: flex-end; gap: 20px; min-height: 76px; max-width: 1250px; margin: 0 auto; }
.topbar > .search-box { margin-right: auto; }
.topbar .avatar { width: 31px; height: 31px; background: #6b6153; color: white; font-size: 10px; }
.topbar .topbar-actions { display: flex; align-items: center; gap: 20px; }
.topbar .icon-button { width: 32px; height: 32px; padding: 7px; }
.topbar .icon { width: 19px; height: 19px; }
.mobile-toggle, .mobile-brand, .sidebar-backdrop { display: none; }
.page-content, .page-main, .page { max-width: 1250px; margin: 0 auto; }
.page-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 25px; }
.page-heading h1 { font-size: 43px; font-weight: 500; letter-spacing: -.035em; }
.page-heading p { margin-top: 4px; color: #696156; font-family: var(--serif); font-size: 18px; line-height: 1.35; }
.page-heading .event-names { margin-top: 7px; color: #1e1c18; font-size: 30px; line-height: 1.2; }
.page-heading .event-details { margin-top: 7px; color: #645e54; font-size: 14px; }
.page-heading .date, .page-date { padding-bottom: 3px; color: var(--muted); font-size: 11px; text-align: right; }
.page-heading .date::after, .page-date::after { content: ""; display: block; width: 31px; height: 1px; margin: 14px 0 0 auto; background: #a89a87; }
.heading-quote { max-width: 245px; min-width: 215px; padding: 18px 22px; color: #87735a; background: #eee8df; font: italic 23px/1.18 var(--serif); }
.heading-quote::after { content: ""; display: block; width: 26px; height: 1px; margin-top: 12px; background: #b49b7d; }
.breadcrumb { display: flex; align-items: center; gap: 9px; margin-bottom: 20px; color: var(--muted); font-size: 11px; }
.breadcrumb button, .breadcrumb a { border: 0; padding: 0; background: transparent; }
.breadcrumb button:hover, .breadcrumb a:hover { text-decoration: underline; }
.card { padding: 23px 24px; border: 1px solid var(--line); border-radius: 2px; background: rgba(255,255,255,.16); }
.card-title { font-family: var(--serif); font-size: 21px; line-height: 1.2; font-weight: 500; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 21px; }
.section-head h2, .section-head h3 { font-size: 23px; font-weight: 500; }
.section-head .text-link { font-size: 11px; }
.section-head .button { flex: 0 0 auto; }
.page-footer { margin-top: 36px; color: #8c8171; font-size: 9px; letter-spacing: .28em; text-align: center; text-transform: uppercase; }
.search-box { position: relative; display: flex; align-items: center; width: min(380px, 100%); background: #e9e5df; border: 1px solid transparent; }
.search-box .icon { position: absolute; left: 12px; width: 15px; height: 15px; color: #918777; pointer-events: none; }
.search-box input { width: 100%; height: 35px; padding: 7px 12px 7px 34px; color: #4e473c; border: 0; background: transparent; font-size: 11px; }
.search-box input::placeholder { color: #8d867b; }

/* The dashboard mirrors the compact, fine-bordered reference. */
.overview-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 13px; margin-bottom: 16px; }
.overview-card { display: flex; flex-direction: column; min-height: 253px; padding: 24px 25px 19px; border: 1px solid var(--line); background: rgba(255,255,255,.12); }
.overview-card .card-title { font-size: 20px; }
.overview-card > .icon { width: 30px; height: 30px; margin: 22px 0 15px; color: #a58b6c; stroke-width: 1.2; }
.overview-card h3:not(.card-title), .overview-title { margin: 0 0 6px; font-family: var(--serif); font-size: 25px; font-weight: 500; line-height: 1.2; }
.overview-card p { font-size: 12px; color: #80766a; }
.overview-card > .text-link { margin-top: auto; padding-top: 17px; }
.overview-card.progress-card { text-align: center; }
.overview-card.progress-card .card-title { text-align: left; }
.overview-card.progress-card > .text-link { justify-content: center; }
.progress-ring { position: relative; display: grid; place-items: center; width: 108px; height: 108px; flex: 0 0 auto; margin: 10px auto 8px; border-radius: 50%; background: conic-gradient(var(--champagne) calc(var(--progress, 68) * 1%), #e4ded4 0); }
.progress-ring::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--paper); }
.ring-value { position: relative; z-index: 1; font-family: var(--serif); font-size: 32px; line-height: 1; font-variant-numeric: lining-nums; }
.progress-caption { max-width: 130px; margin: 0 auto; text-align: center; font-size: 11px !important; line-height: 1.4; }
.client-bottom { display: grid; grid-template-columns: minmax(0,42fr) minmax(0,58fr); gap: 16px; }
.services-list { display: flex; flex-direction: column; gap: 23px; margin-top: 23px; }
.service-row { display: flex; align-items: center; gap: 14px; }
.service-row > .icon { color: #a68c6b; width: 22px; height: 22px; }
.service-row > span, .service-row > p { flex: 1; font-family: var(--serif); font-size: 18px; line-height: 1.25; }
.service-row > .icon:last-child { width: 19px; height: 19px; }
.editorial-card { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: flex-end; min-height: 271px; overflow: hidden; border-radius: 2px; background: #17140f; color: #f7f1e7; }
.editorial-card > img, .editorial-image { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 82%; }
.editorial-card::before { content: ""; position: absolute; z-index: -1; inset: 0 0 0 58%; background: rgba(9,8,6,.78); }
.editorial-copy { width: 42%; padding: 28px 24px; }
.editorial-copy p, .editorial-copy blockquote { margin: 0; font-family: var(--serif); font-size: clamp(24px,2.05vw,31px); font-style: italic; line-height: 1.08; font-weight: 400; }
.editorial-copy::after { content: ""; display: block; width: 27px; height: 1px; margin-top: 20px; background: #dfd3bf; }
.editorial-copy small { display: block; margin-top: 18px; font-size: 8px; line-height: 1.7; letter-spacing: .21em; text-transform: uppercase; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin-bottom: 18px; }
.metric-card { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 106px; padding: 20px 22px; border: 1px solid var(--line); background: rgba(255,255,255,.12); }
.metric-value { font-family: var(--serif); font-size: clamp(25px,2.1vw,33px); line-height: 1.12; font-weight: 500; font-variant-numeric: lining-nums; letter-spacing: -.025em; }
.metric-label { margin-top: 8px; color: #777063; font-size: 11px; line-height: 1.25; }
.metric-icon { position: absolute; right: 20px; top: 22px; color: #a88b64; }
.metric-icon .icon { width: 26px; height: 26px; stroke-width: 1.15; }
.metric-card.with-icon .metric-value { padding-right: 35px; }
.metric-card .mini-ring { position: absolute; top: 26px; right: 21px; width: 30px; height: 30px; margin: 0; }
.metric-card .mini-ring::before { inset: 3px; }
.metric-card .mini-ring .ring-value { display: none; }
.admin-bottom { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr) minmax(0,1.1fr); gap: 14px; }
.admin-bottom .card { padding: 22px 21px; }
.admin-bottom .card-title { font-size: 21px; }
.task-list { display: flex; flex-direction: column; gap: 17px; margin: 23px 0; }
.task-row { display: flex; align-items: flex-start; gap: 9px; font-size: 11px; line-height: 1.4; }
.task-row input[type="checkbox"] { width: 13px; height: 13px; margin: 2px 0 0; flex: 0 0 auto; accent-color: #a18a6b; cursor: pointer; }
.task-row .task-label, .task-row > span:first-of-type { flex: 1; }
.task-row time, .task-row .task-due { min-width: 43px; margin-left: auto; color: #928674; font-size: 10px; text-align: right; }
.task-row.is-done .task-label { color: #8c867d; text-decoration: line-through; }
.wedding-list { display: flex; flex-direction: column; gap: 14px; margin: 22px 0; }
.wedding-row { display: flex; align-items: center; gap: 12px; width: 100%; border: 0; padding: 0; background: transparent; text-align: left; }
.wedding-row img { width: 50px; height: 39px; object-fit: cover; }
.wedding-row strong { display: block; font-size: 11px; font-weight: 400; }
.wedding-row small { display: block; margin-top: 3px; color: #928778; font-size: 10px; }
.wedding-row:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.finance-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 24px 0 1px; }
.finance-heading strong { font: 500 28px/1 var(--serif); white-space: nowrap; }
.finance-label { color: #817969; font-size: 10px; }
.finance-chart { width: 100%; height: 112px; margin-top: 17px; overflow: visible; }
.chart-labels { display: flex; justify-content: space-between; gap: 3px; color: #978d7b; font-size: 9px; }
.chart-caption { margin-top: 13px; color: #8d8374; font-size: 10px; }

.tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 0 0 20px; }
.tab { min-height: 33px; padding: 7px 19px; border: 1px solid #e4dfd7; border-radius: 2px; background: #ede9e2; color: #5e574d; font-size: 11px; line-height: 1.4; }
.tab:hover { border-color: #b3a28b; }
.tab.active { color: #fffaf2; border-color: var(--black); background: var(--black); }
.budget-metrics { display: grid; grid-template-columns: 1.35fr 1.05fr 1.05fr 1fr; gap: 12px; margin-bottom: 16px; }
.budget-metrics .metric-card { min-height: 145px; padding: 20px 22px; }
.budget-metrics .metric-label { margin: 0 0 13px; }
.budget-metrics .metric-value { font-size: 31px; }
.metric-card.dark { color: #f5f0e8; border-color: #24231f; background: var(--black); }
.metric-card.dark .metric-label, .metric-card.dark .muted { color: #c4bbb0; }
.metric-card small { display: block; margin-top: 12px; color: #8a8071; font-size: 9px; }
.metric-card.dark small { color: #b4ab9d; }
.linear-progress { width: 100%; height: 6px; margin-top: 12px; overflow: hidden; border-radius: 2px; background: #e4ddd2; }
.linear-progress > i { display: block; height: 100%; background: #b59975; }
.budget-metrics .ring-card { align-items: center; padding: 10px 14px 14px; text-align: center; }
.ring-card .progress-ring { width: 96px; height: 96px; margin: 0 auto 6px; }
.ring-card .progress-ring::before { background: var(--black); }
.ring-card .ring-value { font-size: 31px; }
.ring-card .metric-label { margin: 0; color: #d4cbbd; font-size: 11px; }
.budget-bottom { display: grid; grid-template-columns: minmax(0,1.32fr) minmax(0,1fr); gap: 16px; }
.budget-categories { display: flex; flex-direction: column; gap: 14px; margin-top: 23px; }
.category-row { display: grid; grid-template-columns: 19px minmax(120px,1.8fr) 34px minmax(42px,.85fr) minmax(76px,1fr); gap: 10px; align-items: center; font-size: 11px; }
.category-row .icon { width: 17px; height: 17px; color: #a18a6b; }
.category-row .category-percent { color: #8e8372; text-align: right; }
.category-row .category-amount { color: #5c5141; text-align: right; white-space: nowrap; }
.category-bar { height: 6px; border-radius: 2px; overflow: hidden; background: #e9e1d5; }
.category-bar > span { display: block; height: 100%; width: var(--width,50%); background: #c8b293; }
.budget-categories + .text-link, .budget-categories + .button { margin-top: 25px; }
.budget-bottom .editorial-card { min-height: 321px; }
.budget-bottom .editorial-copy p { font-size: 21px; font-style: normal; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase; }
.budget-bottom .editorial-copy { padding: 28px 17px; }

/* Detail pages share the same restrained type and surfaces. */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 22px; }
.toolbar-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.toolbar select, .page-heading select { max-width: 230px; min-height: 37px; padding: 8px 35px 8px 13px; border: 1px solid #d6cfc3; background: transparent; color: #645b4c; font-size: 12px; }
.table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 2px; }
.data-table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; font-size: 12px; }
.data-table th { padding: 14px 20px; background: #eee9e2; color: #807360; font-size: 10px; font-weight: 400; }
.data-table td { padding: 17px 20px; border-top: 1px solid var(--line); background: rgba(255,255,255,.14); vertical-align: middle; }
.data-table tbody tr:hover td { background: #efe9e0; }
.data-table td small { display: block; color: var(--muted); font-size: 10px; }
.data-table td .text-link { font-size: 11px; }
.data-table .row-actions { display: flex; justify-content: flex-end; gap: 8px; }
.data-table .icon-button { width: 30px; height: 30px; }
.data-table .icon { width: 17px; height: 17px; }
.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 280px; padding: 40px 25px; border: 1px solid var(--line); text-align: center; }
.empty-state > .icon { width: 35px; height: 35px; margin-bottom: 20px; color: #ab9272; }
.empty-state h2, .empty-state h3 { margin-bottom: 9px; font-size: 29px; }
.empty-state p { max-width: 390px; color: #897d6b; font-size: 13px; }
.empty-state .button { margin-top: 23px; }
.record-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.record-card { display: flex; flex-direction: column; gap: 12px; padding: 24px; border: 1px solid var(--line); background: rgba(255,255,255,.2); }
.record-card .card-title { font-size: 25px; }
.record-card > .icon { width: 27px; height: 27px; color: #a99172; }
.record-card p { color: #7d7160; font-size: 12px; }
.record-card .text-link { margin-top: auto; padding-top: 10px; }
.record-card .record-actions { display: flex; gap: 10px; margin-top: auto; padding-top: 12px; }
.event-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.event-card { overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.event-image { width: 100%; aspect-ratio: 1.65; object-fit: cover; }
.event-card-body { padding: 21px 22px 24px; }
.event-card-body h2 { margin: 9px 0 4px; font-size: 28px; }
.event-card-body p { color: #827664; font-size: 12px; }
.event-card-body .text-link { margin-top: 21px; }
.event-card-body .event-progress { margin: 21px 0 14px; }
.event-progress + .linear-progress { height: 4px; }
.event-progress p { display: flex; justify-content: space-between; color: #8f806c; font-size: 10px; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 20px; }
.form-grid .full, .form-grid .full-width { grid-column: 1 / -1; }
.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item { position: relative; display: grid; grid-template-columns: 90px minmax(0,1fr) auto; gap: 25px; padding: 24px 24px 24px 33px; border-bottom: 1px solid var(--line); }
.timeline-item::before { content: ""; position: absolute; left: 0; top: 31px; width: 8px; height: 8px; border: 1px solid #b39a7a; border-radius: 50%; background: var(--paper); }
.timeline-item::after { content: ""; position: absolute; left: 4px; top: 43px; bottom: -18px; width: 1px; background: #d5c7b3; }
.timeline-item:last-child::after { display: none; }
.timeline-date { color: #957d5f; font-size: 12px; }
.timeline-item h3 { margin-bottom: 7px; font-size: 25px; }
.timeline-item p { color: #7d7161; font-size: 12px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.gallery-item { position: relative; padding: 0; overflow: hidden; border: 0; background: #d4c4ac; }
.gallery-item img { width: 100%; aspect-ratio: 1.2; object-fit: cover; transition: transform .35s; }
.gallery-item:hover img { transform: scale(1.025); }
.gallery-item span { position: absolute; right: 12px; bottom: 12px; left: 12px; width: fit-content; padding: 5px 9px; background: rgba(18,17,13,.7); color: white; font-size: 10px; }
.messages-layout { display: grid; grid-template-columns: 280px minmax(0,1fr); min-height: 480px; border: 1px solid var(--line); }
.message-contacts { border-right: 1px solid var(--line); }
.message-contact { display: flex; gap: 11px; align-items: center; width: 100%; padding: 19px; background: transparent; border: 0; border-bottom: 1px solid var(--line); text-align: left; }
.message-contact.active, .message-contact:hover { background: #eae3d8; }
.message-contact strong { display: block; font-size: 12px; }
.message-contact small { display: block; color: var(--muted); font-size: 10px; }
.message-thread { display: flex; flex-direction: column; min-width: 0; }
.message-thread-header { padding: 18px 25px; border-bottom: 1px solid var(--line); font: 500 23px var(--serif); }
.message-history { display: flex; flex: 1; flex-direction: column; gap: 18px; max-height: 420px; padding: 28px; overflow-y: auto; }
.message-bubble { width: fit-content; max-width: 83%; padding: 14px 17px; background: #e9e2d7; font-size: 12px; }
.message-bubble.own { align-self: flex-end; color: #f3ede2; background: #655b4c; }
.message-bubble small { display: block; margin-top: 7px; opacity: .7; font-size: 9px; }
.message-form { display: flex; gap: 12px; padding: 18px 23px; border-top: 1px solid var(--line); }
.message-form input, .message-form textarea { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid #d3c8b8; background: transparent; font-size: 12px; }
.message-form textarea { resize: vertical; min-height: 41px; max-height: 120px; }

/* Dialogs, feedback, and keyboard states. */
dialog { width: min(600px, calc(100% - 36px)); max-height: calc(100svh - 50px); padding: 30px; overflow-y: auto; border: 1px solid #c6bba9; border-radius: 2px; background: var(--paper); color: var(--ink); box-shadow: 0 22px 65px rgba(0,0,0,.22); }
dialog::backdrop { background: rgba(14,13,10,.56); }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 26px; }
.modal-head h2 { font-size: 33px; }
.modal-head .icon-button { flex: 0 0 auto; }
.modal-description { margin: -11px 0 23px; color: #81715c; font-size: 13px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 9px; padding-top: 16px; margin-top: 8px; border-top: 1px solid var(--line); }
.modal-photo { width: 100%; max-height: 65svh; object-fit: contain; }
.toast { position: fixed; z-index: 100; right: 26px; bottom: 24px; display: flex; align-items: center; gap: 11px; max-width: min(420px, calc(100% - 40px)); padding: 15px 20px; border: 1px solid #716048; border-radius: 2px; background: #28241d; color: #f6eee1; box-shadow: 0 5px 18px rgba(0,0,0,.14); font-size: 12px; }
.toast .icon { color: #d6c0a1; width: 19px; height: 19px; }
.toast.error { background: #693d30; border-color: #794532; }
.notification-dot { position: absolute; top: 6px; right: 8px; width: 5px; height: 5px; border-radius: 50%; background: #ac8f67; }
.notification-button { position: relative; }
.notification-list { display: flex; flex-direction: column; gap: 0; }
.notification-item { padding: 16px 0; border-top: 1px solid var(--line); }
.notification-item strong { display: block; margin-bottom: 5px; font-size: 13px; }
.notification-item p { color: #897a66; font-size: 12px; }
.notification-item small { display: block; margin-top: 7px; color: #a5957f; font-size: 10px; }

/* View-specific composition. */
.skip-link { position: fixed; z-index: 150; top: 8px; left: 8px; transform: translateY(-150%); padding: 10px 16px; border: 1px solid #b49b79; background: var(--black); color: white; font-size: 12px; }
.skip-link:focus { transform: translateY(0); }
.initial-loading { display: grid; place-content: center; min-height: 100svh; gap: 12px; text-align: center; }
.initial-loading .wordmark { font: 400 46px var(--serif); }
.initial-loading p { color: var(--muted); font-size: 12px; }
.brand-logo { width: 100%; height: auto; }
.sidebar-brand { flex-shrink: 0; }
.login-heading h2 { font-size: inherit; font-weight: 400; letter-spacing: inherit; }
.login-form-wrap form { margin-top: 38px; }
.login-form-wrap .field { font-size: 12px; }
.password-input { position: relative; display: block; }
.password-input input { padding-right: 42px; }
.password-toggle { position: absolute; top: 0; right: 0; display: grid; place-items: center; width: 41px; height: 43px; padding: 0; border: 0; background: transparent; color: #9c9181; }
.password-toggle .icon { width: 16px; height: 16px; }
.password-toggle:hover { color: var(--ink); }
.form-error:empty { display: none; }
.login-copy::after, .editorial-copy::after { display: none; }
.editorial-rule { display: block; width: 38px; height: 1px; margin-top: 28px; background: #ddd2c1; }
.login-form-panel { position: relative; }
.back-to-site { position: absolute; bottom: 25px; left: 50%; display: inline-flex; align-items: center; gap: 7px; color: #958b7c; font-size: 10px; white-space: nowrap; transform: translateX(-50%); }
.back-to-site .icon { width: 12px; height: 12px; }
.back-to-site:hover { color: #655640; }
.demo-access > span { display: block; margin-bottom: 12px; color: #8b8070; font-size: 11px; }
.demo-access > div { display: flex; justify-content: center; gap: 9px; }
.demo-access button { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid #d9d0c3; background: transparent; color: #72634f; font-size: 10px; }
.demo-access button .icon { width: 12px; height: 12px; }
.demo-access button:hover { border-color: #ac9474; background: #eae2d7; }
.demo-access small { display: block; margin-top: 10px; color: #a09585; font-size: 9px; }
.sidebar-section-label { display: none; }
.nav-dot { width: 4px; height: 4px; margin-left: auto; border-radius: 50%; background: #b59b79; }
.return-admin { margin: 21px 10px 0; padding: 12px 0 0; border: 0; border-top: 1px solid #39352d; background: none; color: #b9aa94; font-size: 10px; text-align: left; }
.return-admin:hover { color: #f0e4d3; }
.mobile-menu { display: none; }
.topbar .breadcrumb { margin: 0 auto 0 0; }
.topbar .breadcrumb .icon { width: 12px; height: 12px; }
.demo-badge { color: #a2927c; font-size: 9px; letter-spacing: .035em; }
.notification-button > i { position: absolute; top: 5px; right: 8px; width: 4px; height: 4px; border-radius: 50%; background: #a98e68; }
.workspace-footer { max-width: 1250px; margin: 35px auto 0; color: #8c8171; font-size: 9px; letter-spacing: .28em; text-align: center; text-transform: uppercase; }
.event-heading { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 27px; }
.event-heading h1 { font-size: 43px; line-height: 1.04; letter-spacing: -.025em; }
.event-heading h2 { margin-top: 7px; font-size: 31px; line-height: 1.15; font-weight: 500; }
.event-heading > div > p { margin-top: 8px; color: #6c6255; font: 400 16px/1.35 var(--serif); }
.event-heading > div > p > span { margin: 0 5px; }
.event-note { flex: 0 0 auto; margin-top: 7px; padding: 20px 26px; background: #eee8df; color: #998064; }
.event-note p { font: italic 23px/1.2 var(--serif); }
.event-note > span { display: block; width: 27px; height: 1px; margin-top: 13px; background: #ad9270; }
.overview-card > h3 { margin: 0 !important; font-size: 20px !important; text-align: left; }
.overview-detail { margin-top: 23px; }
.overview-detail .large-icon { width: 30px; height: 30px; margin-bottom: 15px; color: #a98b66; stroke-width: 1.15; }
.overview-detail h4 { margin-bottom: 6px; font-size: 25px; line-height: 1.15; }
.overview-detail h4.amount { font-size: 32px; letter-spacing: -.015em; }
.overview-card.progress-card > p { color: #8a7f70; font-size: 11px; line-height: 1.35; }
.services-card .section-head { margin-bottom: 0; }
.services-card .section-head h3 { font-size: 22px; }
.services-list > div { display: flex; align-items: center; gap: 14px; }
.services-list > div > .icon { width: 23px; height: 23px; color: #a98e6e; }
.services-list > div > span { flex: 1; font-family: var(--serif); font-size: 19px; line-height: 1.2; }
.services-list > div > .service-check { width: 18px; height: 18px; }
.services-card > .text-link { margin-top: 22px; }
.event-bottom-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 24px; color: #a09584; font-size: 10px; }
.event-bottom-note .icon { width: 12px; height: 12px; }
.editorial-copy blockquote { font-size: clamp(25px,2.4vw,35px); }
.editorial-copy .editorial-rule { width: 27px; margin-top: 20px; }
.budget-editorial .editorial-copy h3 { font-size: 21px; line-height: 1.45; font-weight: 400; letter-spacing: .09em; }
.budget-editorial .editorial-copy p { margin-top: 19px; font: 400 8px/1.8 var(--sans); letter-spacing: .19em; }
.budget-editorial .editorial-copy .editorial-rule { width: 22px; margin-top: 15px; }
.today { max-width: 235px; padding-bottom: 4px; color: #83796a; font-size: 11px; text-align: right; }
.today > span { display: block; width: 28px; height: 1px; margin: 17px 0 0 auto; background: #9c8b73; }
.metric-card .metric-value, .metric-card .metric-label { display: block; }
.metric-card > .metric-icon { width: 27px; height: 27px; top: 20px; stroke-width: 1.15; }
.metrics-grid .metric-card:nth-child(-n+4) .metric-value, .metrics-grid .metric-card:nth-child(n+7) .metric-value { padding-right: 35px; }
.metrics-grid .metric-card:nth-child(5) .metric-icon, .metrics-grid .metric-card:nth-child(6) .metric-icon { top: 22px; left: 18px; right: auto; width: 20px; height: 20px; }
.metrics-grid .metric-card:nth-child(5) .metric-value, .metrics-grid .metric-card:nth-child(6) .metric-value { padding-left: 27px; font-size: 28px; }
.metrics-grid .metric-card:nth-child(5) .metric-label, .metrics-grid .metric-card:nth-child(6) .metric-label { padding-left: 27px; }
.progress-ring.small { position: absolute; right: 21px; top: 27px; width: 33px; height: 33px; margin: 0; }
.progress-ring.small::before { inset: 3px; }
.progress-ring.small .ring-value { display: none; }
.admin-bottom h3 { font-size: 22px; }
.admin-bottom .section-head { margin-bottom: 19px; }
.count { color: #a39580; font-size: 10px; }
.task-preview { display: flex; flex-direction: column; gap: 16px; margin-bottom: 22px; }
.task-preview-row { display: flex; align-items: flex-start; gap: 9px; }
.task-check { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 13px; height: 13px; margin-top: 2px; padding: 0; border: 1px solid #b9a48a; background: transparent; color: #a68d6b; }
.task-check .icon { width: 10px; height: 10px; }
.task-check:hover { border-color: #716049; background: #d8c7ae; color: #58452d; }
.task-preview-row > div { flex: 1; min-width: 0; }
.task-preview-row > div > span { display: block; font-size: 11px; line-height: 1.25; }
.task-preview-row > div > small { display: block; margin-top: 3px; color: #9a8d7a; font-size: 9px; line-height: 1.2; }
.task-due { flex: 0 0 auto; padding-top: 1px; color: #93836b; font-size: 9px; }
.urgent-text { color: #8d5a47; }
.wedding-preview { display: flex; align-items: center; gap: 10px; width: 100%; margin: 17px 0; padding: 0; border: 0; background: none; text-align: left; }
.wedding-preview > img { width: 51px; height: 43px; flex: 0 0 auto; object-fit: cover; }
.wedding-preview > span { flex: 1; }
.wedding-preview strong { display: block; font-size: 11px; line-height: 1.25; font-weight: 400; }
.wedding-preview small { display: block; margin-top: 4px; color: #998b77; font-size: 9px; line-height: 1.2; }
.wedding-preview > .icon { width: 12px; height: 12px; color: #a5967f; }
.wedding-preview:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.upcoming-weddings > .text-link { margin-top: 2px; }
.finance-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 24px; }
.finance-head strong { display: block; font: 500 27px/1 var(--serif); letter-spacing: -.015em; white-space: nowrap; }
.finance-head small { display: block; margin-top: 5px; color: #8f826c; font-size: 10px; }
.finance-head .pill { flex: 0 0 auto; padding: 3px 6px; font-size: 8px; }
.finance-chart text { fill: #9d8e78; font: 9px var(--sans); }
.budget-metrics > .card { display: flex; flex-direction: column; justify-content: center; min-height: 150px; padding: 22px; }
.budget-total { color: #f5efe5; border-color: #24231f; background: var(--black); }
.budget-total > span, .budget-metric > span { display: block; margin-bottom: 13px; font-size: 11px; }
.budget-total > strong, .budget-metric > strong { display: block; font: 500 32px/1.2 var(--serif); letter-spacing: -.02em; white-space: nowrap; }
.budget-total > small { display: block; margin-top: 11px; color: #b7ad9e; font-size: 9px; }
.budget-metric > small { display: block; margin-top: 9px; color: #877a64; font-size: 10px; }
.budget-metric .linear-progress { margin-top: 9px; }
.budget-metrics > .budget-progress { align-items: center; justify-content: center; padding: 12px 13px 15px; color: #f5efe5; border-color: #24231f; background: var(--black); text-align: center; }
.budget-progress .progress-ring { width: 97px; height: 97px; margin: 0 0 7px; background: conic-gradient(#b69c77 calc(var(--progress,68) * 1%), #47413a 0); }
.budget-progress .progress-ring::before { background: var(--black); }
.budget-progress > small { font-size: 10px; color: #d8cfc1; }
.budget-bottom > .budget-categories { display: block; margin-top: 0; }
.budget-categories .section-head { margin-bottom: 21px; }
.budget-categories .section-head h3 { font-size: 22px; }
.budget-categories .category-row + .category-row { margin-top: 14px; }
.category-row > strong { font-weight: 400; text-align: right; white-space: nowrap; font-size: 11px; }
.category-bar > i { display: block; height: 100%; background: #c8b293; }
.budget-categories > .button { margin-top: 24px; }
.budget-categories > .button[data-add] { margin: 0 0 20px; min-height: 31px; padding: 7px 10px; font-size: 10px; }
.category-row > span:nth-child(2) > .icon-button { display: inline-flex; width: 23px; height: 23px; margin: -4px 0 -4px 5px; padding: 4px; vertical-align: middle; color: #a48963; }
.category-row > span:nth-child(2) > .icon-button .icon { width: 14px; height: 14px; }
.button.champagne { color: #5c4d37; border-color: #e6dbc9; background: #e6dbc9; }
.button.champagne:hover { border-color: #d5c2a5; background: #d5c2a5; }
.button.compact { min-height: 30px; padding: 6px 11px; font-size: 10px; }
.category-note { margin-top: 24px; font-size: 11px; line-height: 1.6; }
.pill.positive { color: #5f6a51; background: #e3e6dc; }
.pill.urgent { color: #946849; background: #eee1d2; }
.inline-link { padding: 0; border: 0; background: none; color: #7e694c; font-size: inherit; text-align: left; text-underline-offset: 3px; }
.inline-link:hover { text-decoration: underline; }
.table-card { padding: 0; overflow: hidden; }
.table-card .table-wrap { border: 0; }
.table-card > .section-head { padding: 22px 24px 0; }
.table-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; }
.table-toolbar > span { color: #8c7d66; font-size: 11px; }
.filter-select { display: flex; align-items: center; gap: 10px; color: #8c7d66; font-size: 11px; }
.filter-select select { min-width: 118px; padding: 5px 27px 5px 10px; border: 1px solid #d7ccbc; background: transparent; color: #72624b; font-size: 11px; }
.table-title { display: flex; align-items: center; gap: 9px; }
.table-title > .icon { color: #ac9270; }
.table-subtitle { margin: 4px 0 0 26px; }
.money-cell { font-family: var(--serif); font-size: 20px !important; }
.connection-note { margin-top: 18px; color: #9b8e7c; font-size: 11px; }
.subnav { display: flex; gap: 18px; margin-bottom: 23px; border-bottom: 1px solid var(--line); }
.subnav > button { padding: 0 0 11px; border: 0; border-bottom: 1px solid transparent; border-radius: 0; color: #9a896f; background: none; font-size: 12px; }
.subnav > button.active { color: #403322; border-bottom-color: #aa8d65; }
.service-detail { display: flex; flex-direction: column; align-items: flex-start; min-height: 245px; }
.service-detail > .large-icon { width: 27px; height: 27px; margin-bottom: 23px; color: #ad906a; }
.service-detail > h3 { margin-bottom: 13px; font-size: 27px; }
.service-detail > p { margin-bottom: 25px; color: #8a7a62; font-size: 12px; line-height: 1.7; }
.service-detail > .pill { margin-top: auto; }
.gallery-card { min-width: 0; }
.gallery-card .gallery-item { width: 100%; }
.gallery-card > .row-actions { display: flex; justify-content: flex-end; gap: 2px; padding-top: 5px; }
.gallery-card > .row-actions .icon-button { width: 31px; height: 29px; color: #a18a6a; }
.gallery-card > .row-actions .icon { width: 16px; height: 16px; }
.event-card.card { padding: 0; }
.event-card .event-image { position: relative; display: block; padding: 0; border: 0; background: #d2c7b7; }
.event-image > img { width: 100%; height: 100%; aspect-ratio: inherit; object-fit: cover; }
.event-image > .pill { position: absolute; left: 14px; bottom: 13px; background: rgba(249,244,235,.93); }
.event-card-body > .section-head { margin-bottom: 12px; }
.event-card-body > .section-head h3 { font-size: 27px; }
.event-card-body > p { display: flex; align-items: center; gap: 7px; margin-top: 5px; font-size: 11px; }
.event-card-body > p .icon { width: 13px; height: 13px; color: #b09774; }
.event-progress { display: flex; align-items: center; justify-content: space-between; margin-top: 23px; color: #927e61; font-size: 10px; }
.event-progress + .linear-progress { margin-top: 8px; }
.timeline-item { display: flex; align-items: flex-start; gap: 22px; padding: 0 0 24px; border: 0; }
.timeline-item::before { display: none; }
.timeline-item::after { left: 19px; top: 49px; bottom: 9px; background: #dccdb7; }
.timeline-marker { z-index: 1; display: grid; place-items: center; flex: 0 0 auto; width: 40px; height: 40px; margin-top: 15px; border: 1px solid #cbbb9f; border-radius: 50%; color: #a68b64; background: var(--paper); }
.timeline-marker .icon { width: 18px; height: 18px; }
.timeline-item.done .timeline-marker { color: #6f795c; border-color: #c3cab7; background: #e8ebdf; }
.timeline-item > .card { flex: 1; min-width: 0; padding: 23px 25px; }
.timeline-item .section-head { margin-bottom: 15px; }
.timeline-item h3 { margin-bottom: 10px; font-size: 27px; }
.timeline-item p { max-width: 640px; font-size: 12px; }
.messages-card { max-width: 920px; padding: 0; }
.messages-header { display: flex; align-items: center; gap: 13px; padding: 21px 25px; border-bottom: 1px solid var(--line); }
.messages-header .avatar { width: 40px; height: 40px; }
.messages-header strong { font: 500 22px/1.2 var(--serif); }
.messages-header p { margin-top: 4px; color: #98876e; font-size: 11px; }
.message-list { display: flex; flex-direction: column; gap: 18px; min-height: 340px; max-height: 52svh; overflow-y: auto; padding: 27px; }
.message-author { display: block; margin-bottom: 7px; opacity: .76; font-size: 10px; }
.message-bubble > p { max-width: 570px; white-space: pre-wrap; overflow-wrap: anywhere; }
.message-bubble > time { display: block; margin-top: 9px; opacity: .6; font-size: 9px; text-align: right; }
#message-form { display: flex; align-items: flex-end; gap: 12px; padding: 20px 25px; border-top: 1px solid var(--line); }
#message-form textarea { flex: 1; min-width: 0; min-height: 67px; max-height: 170px; padding: 12px 14px; resize: vertical; border: 1px solid #d4c6b1; background: transparent; font-size: 12px; }
#message-form .button { min-height: 42px; }
.report-metric { min-height: 140px; display: flex; flex-direction: column; justify-content: center; }
.report-metric > span { margin-bottom: 15px; color: #92816a; font-size: 12px; }
.report-metric > strong { font: 500 36px/1.1 var(--serif); }
#toast:empty { display: none; }
.event-tools { display: flex; flex-wrap: wrap; gap: 9px; margin: -8px 0 24px; }
.event-tools .button { min-height: 33px; padding: 7px 12px; font-size: 10px; }
.event-tools .button .icon { width: 14px; height: 14px; }
.form-grid .wide { grid-column: 1 / -1; }
.field input[type="file"] { padding: 9px; font-size: 11px; }
.field input[type="file"]::file-selector-button { margin-right: 12px; padding: 5px 9px; border: 1px solid #cbbcA6; border-radius: 2px; background: #e6ddce; color: #645239; font: inherit; cursor: pointer; }
.modal-intro { margin-bottom: 24px; color: #7f705b; font-size: 13px; line-height: 1.7; }
.detail-body > .eyebrow { margin-bottom: 20px; color: #a38a67; font-size: 9px; letter-spacing: .15em; }
.detail-body > p:not(.eyebrow):not(.detail-amount) { color: #7c6c56; font-size: 13px; line-height: 1.75; white-space: pre-wrap; overflow-wrap: anywhere; }
.detail-amount { margin-bottom: 20px; font: 500 41px/1.1 var(--serif); }
.detail-body dl { display: grid; grid-template-columns: 100px minmax(0,1fr); gap: 11px 20px; padding: 20px 0; margin: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 12px; }
.detail-body dt { color: #a18a6c; }
.detail-body dd { margin: 0; overflow-wrap: anywhere; }
.notification-list > article { display: flex; align-items: flex-start; gap: 17px; padding: 18px 0; border-top: 1px solid var(--line); }
.notification-list > article > .icon { width: 23px; height: 23px; margin-top: 3px; color: #ae8e61; }
.notification-list h3 { margin-bottom: 7px; font-size: 25px; }
.notification-list p { color: #9b8a72; font-size: 11px; }
.lightbox-image { max-height: 65svh; width: 100%; object-fit: contain; }
.lightbox-image + p { margin-top: 16px; color: #8a7c68; font-size: 12px; }
.connection-error { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100svh; padding: 30px; text-align: center; }
.connection-error .brand-logo { width: 180px; margin-bottom: 48px; filter: brightness(.2); }
.connection-error h1 { font-size: 43px; }
.connection-error p { max-width: 400px; margin: 19px 0 30px; color: #8e7a5e; font-size: 13px; }
#toast { position: fixed; z-index: 100; right: 26px; bottom: 24px; max-width: min(420px, calc(100% - 40px)); padding: 15px 20px; border: 1px solid #716048; border-radius: 2px; background: #28241d; color: #f6eee1; box-shadow: 0 5px 18px rgba(0,0,0,.14); font-size: 12px; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .18s, transform .18s; }
#toast.show { opacity: 1; transform: translateY(0); }

@media (min-width: 1600px) {
  .workspace { padding-right: 65px; padding-left: 65px; }
  .topbar { min-height: 92px; }
  .overview-card { min-height: 285px; }
  .overview-card > .icon { margin-top: 28px; }
  .client-bottom .card, .client-bottom .editorial-card { min-height: 320px; }
  .services-list { gap: 30px; }
  .metric-card { min-height: 125px; }
  .admin-bottom .card { min-height: 290px; }
}

@media (max-width: 1200px) {
  :root { --sidebar-width: 200px; }
  .sidebar { padding: 31px 12px 22px; }
  .sidebar-brand, .sidebar-logo { width: 149px; }
  .nav-item { gap: 11px; padding-right: 9px; padding-left: 12px; font-size: 12px; }
  .workspace { padding-right: 28px; padding-left: 28px; }
  .overview-card { padding: 20px; min-height: 240px; }
  .overview-card h3:not(.card-title), .overview-title { font-size: 23px; }
  .card { padding: 21px; }
  .metric-card { padding: 18px; }
  .metric-icon { right: 15px; top: 18px; }
  .metric-icon .icon { width: 23px; height: 23px; }
  .metric-value { font-size: 27px; }
  .metric-label { font-size: 10px; }
  .admin-bottom { grid-template-columns: minmax(0,1.18fr) minmax(0,1fr); }
  .admin-bottom > :last-child { grid-column: 1 / -1; }
  .admin-bottom > :last-child .finance-chart { height: 130px; }
  .heading-quote { min-width: 175px; max-width: 195px; font-size: 21px; padding: 16px 19px; }
  .budget-metrics { grid-template-columns: 1.3fr 1.1fr 1.1fr 1fr; gap: 10px; }
  .budget-metrics .metric-card { padding: 17px 15px; }
  .budget-metrics .metric-value { font-size: 27px; }
  .budget-bottom { grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); }
  .category-row { grid-template-columns: 16px minmax(115px,1fr) 26px minmax(35px,.5fr) minmax(69px,.65fr); gap: 7px; font-size: 10px; }
  .editorial-copy { padding-right: 15px; padding-left: 19px; }
  .editorial-copy p { font-size: 26px; }
  .budget-bottom .editorial-copy p { font-size: 17px; }
  .record-grid, .event-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .login-content { padding-left: 55px; padding-right: 40px; }
  .login-copy h1, .login-copy h2 { font-size: 53px; }
  .budget-total > strong, .budget-metric > strong { font-size: 29px; }
  .budget-metrics > .card { padding: 19px 16px; }
  .budget-metrics > .budget-progress { padding: 12px 13px 15px; }
  .budget-editorial .editorial-copy h3 { font-size: 18px; }
  .budget-editorial .editorial-copy p { font-size: 7px; }
  .metrics-grid .metric-card:nth-child(5) .metric-value, .metrics-grid .metric-card:nth-child(6) .metric-value { font-size: 25px; }
}

@media (max-width: 980px) {
  :root { --sidebar-width: 184px; }
  .sidebar-brand, .sidebar-logo { width: 140px; }
  .nav-item { gap: 10px; font-size: 11px; }
  .sidebar-footer { gap: 8px; }
  .sidebar-footer .avatar { width: 32px; height: 32px; font-size: 11px; }
  .sidebar-footer p, .sidebar-footer strong { font-size: 10px; }
  .workspace { padding-right: 22px; padding-left: 22px; }
  .page-heading h1 { font-size: 38px; }
  .page-heading .event-names { font-size: 27px; }
  .heading-quote { max-width: 165px; min-width: 150px; padding: 14px; font-size: 19px; }
  .overview-grid { gap: 10px; }
  .overview-card { min-height: 236px; padding: 17px 16px; }
  .overview-card .card-title { font-size: 18px; }
  .overview-card h3:not(.card-title), .overview-title { font-size: 22px; }
  .overview-card p { font-size: 11px; }
  .overview-card > .text-link { font-size: 10px; }
  .client-bottom { grid-template-columns: minmax(0,1fr); }
  .services-list { display: grid; grid-template-columns: 1fr 1fr; gap: 23px 28px; }
  .service-row > span, .service-row > p { font-size: 17px; }
  .editorial-card { min-height: 300px; }
  .editorial-card::before { left: 63%; }
  .editorial-copy { width: 37%; padding: 30px; }
  .editorial-copy p { font-size: 32px; }
  .metrics-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .metric-value { font-size: 30px; }
  .budget-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .budget-metrics .metric-card { min-height: 145px; padding: 20px 23px; }
  .budget-metrics .metric-value { font-size: 31px; }
  .budget-metrics .ring-card { padding-top: 10px; }
  .budget-bottom { grid-template-columns: minmax(0,1fr); }
  .category-row { grid-template-columns: 20px minmax(130px,1.5fr) 30px minmax(60px,1fr) minmax(80px,.8fr); gap: 12px; font-size: 12px; }
  .budget-bottom .editorial-card { min-height: 300px; }
  .budget-bottom .editorial-copy { padding: 26px; }
  .budget-bottom .editorial-copy p { font-size: 22px; }
  .messages-layout { grid-template-columns: 210px minmax(0,1fr); }
  .message-contact { padding: 15px 12px; gap: 8px; }
  .message-contact .avatar { width: 30px; height: 30px; font-size: 10px; }
  .message-history { padding: 20px; }
  .gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .login-content { padding-left: 38px; padding-right: 30px; }
  .login-brand { width: 195px; }
  .login-copy h1, .login-copy h2 { font-size: 47px; }
  .login-copy > p:not(.eyebrow) { font-size: 14px; }
  .login-form-panel { padding: 50px 30px; }
  .login-heading { font-size: 43px; }
  .login-subtitle { font-size: 18px; }
  .event-heading h1 { font-size: 39px; }
  .event-heading h2 { font-size: 29px; }
  .event-heading > div > p { font-size: 14px; }
  .event-note { padding: 16px 18px; }
  .event-note p { font-size: 21px; }
  .overview-detail h4 { font-size: 22px; }
  .overview-detail h4.amount { font-size: 29px; }
  .editorial-copy blockquote { font-size: 34px; }
  .budget-editorial .editorial-copy h3 { font-size: 24px; }
  .budget-editorial .editorial-copy p { font-size: 8px; }
  .budget-total > strong, .budget-metric > strong { font-size: 32px; }
  .budget-metrics > .card { min-height: 150px; padding: 20px 23px; }
  .budget-metrics > .budget-progress { padding: 12px 13px 15px; }
  .metrics-grid .metric-card:nth-child(5) .metric-value, .metrics-grid .metric-card:nth-child(6) .metric-value { font-size: 30px; }
}

@media (max-width: 760px) {
  :root { --sidebar-width: 240px; }
  .sidebar { z-index: 60; transform: translateX(-100%); transition: transform .2s ease; padding: 29px 17px 22px; }
  .sidebar.is-open, .app-shell.menu-open .sidebar, body.menu-open .sidebar { transform: translateX(0); }
  .sidebar-brand, .sidebar-logo { width: 165px; margin-bottom: 37px; }
  .nav-item { gap: 14px; font-size: 13px; min-height: 42px; }
  .sidebar nav { gap: 7px; }
  .sidebar-footer p, .sidebar-footer strong { font-size: 11px; }
  .sidebar-footer .avatar { width: 38px; height: 38px; font-size: 12px; }
  .sidebar-backdrop { position: fixed; z-index: 50; inset: 0; display: none; width: 100%; height: 100%; border: 0; background: rgba(10,9,7,.48); }
  .sidebar-backdrop.is-open, .app-shell.menu-open .sidebar-backdrop, body.menu-open .sidebar-backdrop { display: block; }
  .workspace { width: 100%; margin: 0; padding: 0 23px 27px; }
  .topbar { position: relative; min-height: 74px; gap: 11px; }
  .mobile-toggle { display: inline-flex; margin-left: -8px; margin-right: auto; }
  .mobile-brand { display: block; width: 102px; margin-right: auto; }
  .topbar > .search-box { display: none; }
  .topbar .topbar-actions { gap: 10px; }
  .page-heading { gap: 18px; margin-top: 7px; margin-bottom: 24px; }
  .page-heading h1 { font-size: 39px; }
  .page-heading p { font-size: 17px; }
  .page-heading .event-names { font-size: 29px; }
  .page-heading .event-details { font-size: 12px; }
  .heading-quote { display: none; }
  .page-date, .page-heading .date { max-width: 130px; font-size: 10px; }
  .page-heading .button { padding-right: 12px; padding-left: 12px; font-size: 11px; }
  .overview-card { min-height: 236px; padding: 19px 16px; }
  .client-bottom { gap: 15px; }
  .editorial-copy { padding: 27px; }
  .page-footer { max-width: 330px; margin: 30px auto 0; line-height: 1.8; font-size: 8px; }
  .breadcrumb { margin-top: 6px; margin-bottom: 17px; font-size: 10px; }
  .record-grid, .event-grid { gap: 15px; }
  .event-card-body { padding: 17px; }
  .event-card-body h2 { font-size: 26px; }
  .record-card { padding: 20px; }
  .messages-layout { grid-template-columns: minmax(0,1fr); }
  .message-contacts { display: flex; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .message-contact { flex: 0 0 auto; width: 200px; border-bottom: 0; border-right: 1px solid var(--line); }
  .message-thread-header { padding: 15px 20px; }
  .message-history { min-height: 260px; }
  .login-page { grid-template-columns: 42% 58%; }
  .login-content { padding: 48px 26px 30px; }
  .login-brand { width: 173px; max-width: 100%; }
  .login-copy { margin-top: 100px; }
  .login-copy h1, .login-copy h2 { font-size: 39px; }
  .login-copy .eyebrow { font-size: 8px; }
  .login-copy > p:not(.eyebrow) { font-size: 12px; }
  .login-footer { font-size: 7px; }
  .login-form-panel { padding: 44px 28px; }
  .login-heading { font-size: 39px; }
  .login-subtitle { font-size: 16px; }
  .demo-access .button { display: flex; width: 100%; }
  .demo-access .button + .button { margin-top: 8px; margin-left: 0; }
  .mobile-menu { display: inline-flex; margin-left: -8px; margin-right: 0; }
  .topbar .breadcrumb { font-size: 9px; gap: 5px; }
  .topbar .breadcrumb button { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .event-heading { margin-top: 6px; gap: 20px; }
  .event-note { display: none; }
  .workspace-footer { max-width: 340px; margin-top: 29px; font-size: 8px; line-height: 1.8; }
  .back-to-site { bottom: 17px; }
  .demo-access > div { flex-wrap: wrap; gap: 7px; }
  .demo-access button { justify-content: center; width: 100%; padding: 7px 8px; }
  .demo-access small { font-size: 8px; }
}

@media (max-width: 540px) {
  .login-page { display: block; }
  .login-story { min-height: 395px; background-position: center 60%; }
  .login-story::before { background: rgba(0,0,0,.31); }
  .login-content { min-height: 395px; padding: 28px 30px 34px; }
  .login-brand { width: 152px; }
  .login-copy { margin-top: 44px; max-width: 260px; }
  .login-copy .eyebrow { font-size: 8px; }
  .login-copy h1, .login-copy h2 { margin-top: 12px; margin-bottom: 14px; font-size: 43px; }
  .login-copy > p:not(.eyebrow) { max-width: 225px; font-size: 12px; line-height: 1.55; }
  .login-copy::after { width: 30px; margin-top: 21px; }
  .login-footer { display: none; }
  .login-form-panel { padding: 41px 30px 42px; }
  .login-form-wrap { max-width: 380px; }
  .login-heading { font-size: 40px; }
  .login-subtitle { font-size: 18px; }
  .login-form { margin-top: 29px; }
  .demo-access { margin-top: 30px; }
  .demo-access .button { display: inline-flex; width: auto; }
  .demo-access .button + .button { margin-top: 0; margin-left: 6px; }
  .workspace { padding: 0 18px 26px; }
  .topbar { min-height: 70px; }
  .page-heading { align-items: flex-start; gap: 13px; margin-top: 6px; margin-bottom: 22px; }
  .page-heading h1 { font-size: 36px; }
  .page-heading .event-names { font-size: 28px; }
  .page-heading .event-details { max-width: 260px; line-height: 1.5; }
  .page-heading > .button { margin-top: 5px; padding: 9px 10px; font-size: 10px; }
  .page-heading > .button .icon { width: 13px; height: 13px; }
  .page-date, .page-heading .date { display: none; }
  .page-heading select { max-width: 143px; padding-right: 21px; font-size: 10px; }
  .overview-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px; }
  .overview-card { min-height: 228px; padding: 18px 16px; }
  .overview-card:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; min-height: 162px; text-align: left; }
  .overview-card:first-child .card-title { grid-column: 1; padding-top: 5px; }
  .overview-card:first-child .progress-ring { grid-column: 2; grid-row: 1 / 4; align-self: center; margin: 0 auto; width: 110px; height: 110px; }
  .overview-card:first-child .progress-caption { grid-column: 1; margin: 9px 0 0; max-width: 140px; text-align: left; }
  .overview-card:first-child > .text-link { grid-column: 1; justify-content: flex-start; align-self: end; padding-top: 10px; }
  .overview-card .card-title { font-size: 20px; }
  .overview-card h3:not(.card-title), .overview-title { font-size: 23px; }
  .overview-card p { font-size: 11px; }
  .overview-card > .icon { width: 26px; height: 26px; margin: 19px 0 14px; }
  .overview-card > .text-link { font-size: 11px; }
  .card { padding: 22px 20px; }
  .services-list { display: flex; gap: 21px; }
  .service-row > span, .service-row > p { font-size: 19px; }
  .editorial-card { min-height: 287px; }
  .editorial-card::before { left: 54%; }
  .editorial-copy { width: 46%; padding: 23px 18px; }
  .editorial-copy p { font-size: 27px; }
  .metrics-grid { gap: 11px; }
  .metric-card { min-height: 107px; padding: 18px 15px; }
  .metric-value { font-size: 28px; }
  .metric-label { margin-top: 10px; font-size: 10px; }
  .metric-icon { top: 19px; right: 13px; }
  .metric-icon .icon { width: 20px; height: 20px; }
  .metric-card.with-icon .metric-value { padding-right: 27px; }
  .metric-card .mini-ring { right: 14px; width: 25px; height: 25px; }
  .admin-bottom { grid-template-columns: minmax(0,1fr); }
  .admin-bottom > :last-child { grid-column: auto; }
  .admin-bottom .card { padding: 24px 22px; }
  .task-row { font-size: 12px; gap: 10px; }
  .task-row time, .task-row .task-due { font-size: 10px; }
  .task-list { gap: 18px; }
  .wedding-row img { width: 66px; height: 49px; }
  .wedding-row strong { font-size: 13px; }
  .wedding-row small { font-size: 11px; }
  .finance-heading strong { font-size: 31px; }
  .admin-bottom > :last-child .finance-chart { height: 140px; }
  .chart-labels { font-size: 10px; }
  .tabs { gap: 5px; margin-bottom: 18px; }
  .tab { padding: 7px 12px; font-size: 10px; }
  .budget-metrics { gap: 11px; }
  .budget-metrics .metric-card { min-height: 133px; padding: 17px 15px; }
  .budget-metrics .metric-value { font-size: 29px; }
  .budget-metrics .metric-label { margin-bottom: 11px; font-size: 10px; }
  .budget-metrics .ring-card { padding-top: 8px; padding-bottom: 9px; }
  .ring-card .progress-ring { width: 91px; height: 91px; }
  .budget-metrics .ring-card .metric-label { margin: 0; }
  .budget-categories { gap: 17px; }
  .category-row { grid-template-columns: 17px minmax(105px,1fr) 26px minmax(65px,.6fr); gap: 8px; font-size: 10px; }
  .category-row .category-bar { display: none; }
  .category-row .category-amount { font-size: 10px; }
  .budget-bottom .editorial-card { min-height: 285px; }
  .budget-bottom .editorial-copy { padding: 22px 17px; }
  .budget-bottom .editorial-copy p { font-size: 19px; }
  .toolbar { gap: 12px; align-items: stretch; }
  .toolbar > .search-box { width: 100%; }
  .toolbar-actions { width: 100%; }
  .toolbar select { flex: 1; max-width: 100%; }
  .data-table th { padding: 12px 14px; }
  .data-table td { padding: 15px 14px; font-size: 11px; }
  .record-grid, .event-grid { grid-template-columns: minmax(0,1fr); }
  .event-image { aspect-ratio: 1.75; }
  .event-card-body { padding: 23px; }
  .event-card-body h2 { font-size: 29px; }
  .record-card { padding: 24px; }
  .form-grid { grid-template-columns: minmax(0,1fr); gap: 0; }
  .form-grid .full, .form-grid .full-width { grid-column: auto; }
  .timeline-item { grid-template-columns: minmax(0,1fr) auto; gap: 8px 13px; padding: 20px 0 22px 22px; }
  .timeline-date { grid-column: 1 / -1; font-size: 11px; }
  .timeline-item > .pill { align-self: start; }
  .timeline-item h3 { font-size: 24px; }
  .timeline-item::before { top: 25px; }
  .timeline-item::after { top: 37px; }
  .gallery-grid { gap: 11px; }
  .gallery-item img { aspect-ratio: .88; }
  .gallery-item span { right: 8px; bottom: 8px; left: 8px; padding: 4px 6px; font-size: 8px; }
  .message-history { gap: 15px; padding: 19px 15px; }
  .message-bubble { max-width: 90%; padding: 13px 14px; }
  .message-form { padding: 15px 13px; gap: 8px; }
  .message-form .button { padding: 10px 13px; }
  dialog { padding: 24px 20px; max-height: calc(100svh - 30px); }
  .modal-head { margin-bottom: 23px; }
  .modal-head h2 { font-size: 30px; }
  .modal-actions { flex-wrap: wrap; }
  .modal-actions .button { flex: 1; }
  .toast { right: 18px; bottom: 18px; max-width: calc(100% - 36px); padding: 13px 17px; font-size: 11px; }
  .login-form-wrap form { margin-top: 29px; }
  .login-copy .editorial-rule { width: 30px; margin-top: 21px; }
  .login-form-panel { padding-bottom: 62px; }
  .back-to-site { bottom: 20px; }
  .demo-access > div { flex-wrap: nowrap; }
  .demo-access button { width: auto; padding: 7px 10px; }
  .demo-access small { font-size: 9px; }
  .topbar { gap: 5px; }
  .topbar .breadcrumb { max-width: 160px; flex-wrap: wrap; gap: 3px; line-height: 1.4; }
  .topbar .breadcrumb button { max-width: 100px; }
  .topbar-actions { margin-left: auto; }
  .topbar .topbar-actions { gap: 6px; }
  .demo-badge { font-size: 8px; }
  .topbar .avatar { width: 28px; height: 28px; }
  .event-heading { margin-bottom: 23px; }
  .event-heading h1 { font-size: 37px; }
  .event-heading h2 { font-size: 30px; }
  .event-heading > div > p { max-width: 300px; font-size: 15px; line-height: 1.4; }
  .overview-card:first-child > p { grid-column: 1; margin-top: 9px; text-align: left; }
  .overview-card:first-child .progress-ring { width: 110px; height: 110px; }
  .overview-card > h3 { font-size: 20px !important; }
  .overview-detail { margin-top: 20px; }
  .overview-detail h4 { font-size: 23px; }
  .overview-detail h4.amount { font-size: 27px; }
  .overview-detail .large-icon { width: 27px; height: 27px; margin-bottom: 15px; }
  .editorial-copy blockquote { font-size: 29px; }
  .budget-editorial .editorial-copy h3 { font-size: 21px; }
  .budget-editorial .editorial-copy p { font-size: 7px; }
  .today { display: none; }
  .metric-card > .metric-icon { width: 23px; height: 23px; top: 18px; }
  .progress-ring.small { right: 15px; top: 23px; width: 29px; height: 29px; }
  .metrics-grid .metric-card:nth-child(5) .metric-icon, .metrics-grid .metric-card:nth-child(6) .metric-icon { top: 20px; left: 13px; width: 16px; height: 16px; }
  .metrics-grid .metric-card:nth-child(5) .metric-value, .metrics-grid .metric-card:nth-child(6) .metric-value { padding-left: 19px; font-size: 25px; }
  .metrics-grid .metric-card:nth-child(5) .metric-label, .metrics-grid .metric-card:nth-child(6) .metric-label { padding-left: 19px; }
  .task-preview { gap: 18px; }
  .task-preview-row > div > span { font-size: 12px; }
  .task-preview-row > div > small { font-size: 10px; }
  .task-due { font-size: 10px; }
  .wedding-preview { margin: 20px 0; }
  .wedding-preview > img { width: 65px; height: 49px; }
  .wedding-preview strong { font-size: 12px; }
  .wedding-preview small { font-size: 10px; }
  .finance-head strong { font-size: 30px; }
  .budget-metrics > .card { min-height: 134px; padding: 17px 15px; }
  .budget-metrics > .budget-progress { padding: 10px 12px; }
  .budget-total > span, .budget-metric > span { font-size: 10px; margin-bottom: 10px; }
  .budget-total > strong, .budget-metric > strong { font-size: 29px; }
  .budget-total > small { font-size: 8px; }
  .budget-progress .progress-ring { width: 91px; height: 91px; margin-bottom: 6px; }
  .budget-progress > small { font-size: 9px; }
  .category-row > strong { font-size: 10px; }
  .event-tools { gap: 7px; margin: -4px 0 20px; }
  .event-tools .button { min-height: 31px; padding: 6px 9px; font-size: 9px; }
  .table-toolbar { padding: 15px; }
  .filter-select { gap: 6px; font-size: 10px; }
  .filter-select select { min-width: 104px; font-size: 10px; }
  .timeline-item { gap: 13px; padding: 0 0 20px; }
  .timeline-marker { width: 30px; height: 30px; margin-top: 18px; }
  .timeline-marker .icon { width: 14px; height: 14px; }
  .timeline-item::after { left: 14px; top: 55px; bottom: 11px; }
  .timeline-item > .card { padding: 19px 17px; }
  .timeline-item .section-head { gap: 7px; }
  .timeline-item .timeline-date { font-size: 10px; }
  .timeline-item h3 { font-size: 25px; }
  .messages-header { padding: 17px 19px; }
  .message-list { min-height: 300px; padding: 20px 15px; }
  #message-form { padding: 16px 13px; gap: 8px; }
  #message-form textarea { min-height: 71px; padding: 10px; font-size: 11px; }
  #message-form .button { padding: 10px; font-size: 11px; }
  #message-form .button .icon { width: 13px; height: 13px; }
  .report-metric { min-height: 125px; }
  .report-metric:last-child { grid-column: 1 / -1; }
  .report-metric > strong { font-size: 29px; }
  .report-metric > span { font-size: 11px; }
  .form-grid .wide { grid-column: auto; }
  .detail-body dl { grid-template-columns: 75px minmax(0,1fr); gap: 11px 15px; }
  #toast { right: 18px; bottom: 18px; max-width: calc(100% - 36px); padding: 13px 17px; font-size: 11px; }
}

@media (min-width: 761px) and (min-height: 700px) {
  .login-form-panel .demo-access { position: absolute; left: 50%; bottom: 21px; width: min(360px, calc(100% - 70px)); margin: 0; padding-top: 12px; transform: translateX(-50%); }
  .login-form-panel .demo-access > span { margin-bottom: 8px; font-size: 10px; }
  .login-form-panel .demo-access small { margin-top: 8px; }
  .login-form-panel:has(.demo-access) .back-to-site { right: 19px; bottom: 11px; left: auto; font-size: 8px; transform: none; }
}

@media (min-width: 761px) and (min-height: 820px) {
  .login-form-panel .demo-access { bottom: 46px; }
  .login-form-panel:has(.demo-access) .back-to-site { bottom: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
/* Cross-section administrative search. */
.search-results { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.search-results h3 { margin-bottom:15px; font-size:25px; }
.search-result { display:flex; gap:14px; align-items:center; width:100%; padding:16px 0; border:0; border-bottom:1px solid var(--line); background:none; text-align:left; }
.search-result > .icon { color:var(--champagne); }
.search-result > span { flex:1; min-width:0; }
.search-result strong,.search-result small { display:block; }
.search-result strong { font-weight:400; }
.search-result small { margin-top:4px; color:var(--muted); font-size:12px; }
.search-result:hover strong { text-decoration:underline; }
@media(max-width:760px){ .search-results { grid-template-columns:1fr; } }

.initial-loading .loading-logo { display: block; width: min(280px, 70vw); height: auto; margin-inline: auto; }
