:root {
  --paper: #eef1f0;
  --surface: #ffffff;
  --ink: #171b24;
  --night: #111722;
  --muted: #667078;
  --line: #d9dfdf;
  --line-dark: #adb8b8;
  --gold: #bd8c2f;
  --gold-bright: #e2b95c;
  --gold-soft: #f5e9ca;
  --green: #187862;
  --green-bright: #2db99a;
  --green-soft: #dff2ec;
  --blue: #296d98;
  --blue-bright: #6eb4db;
  --blue-soft: #e1f0f7;
  --coral: #d65f49;
  --coral-soft: #f8e4df;
  --magenta: #b94786;
  --magenta-soft: #f5e1ed;
  --violet: #6557a8;
  --violet-soft: #e9e5f6;
  --red: #a33f48;
  --red-soft: #f5e1e4;
  --shadow: 0 18px 46px rgba(25, 34, 43, .12);
  --shadow-soft: 0 8px 26px rgba(25, 34, 43, .08);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--paper); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 14px; line-height: 1.5; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .62; transform: none !important; box-shadow: none !important; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(45,185,154,.35); outline-offset: 2px; }
.hidden { display: none !important; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 200; padding: 10px 13px; color: #fff; background: var(--ink); font-weight: 700; text-decoration: none; transform: translateY(-150%); transition: transform .16s ease; }
.skip-link:focus { transform: translateY(0); }
.eyebrow { margin: 0 0 5px; color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: 0; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 600; }
h1 { margin-bottom: 0; font-size: 36px; line-height: 1; }
h2 { margin-bottom: 0; font-size: 24px; line-height: 1.1; }

.login { position: relative; min-height: 100vh; display: grid; place-content: center; justify-items: center; overflow: hidden; padding: 28px; color: #fff; text-align: center; background: var(--night); }
#loginScene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.login::after { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(5,8,14,.08), rgba(5,8,14,.2) 58%, rgba(5,8,14,.72)); content: ""; pointer-events: none; }
.login-arrival { position: relative; z-index: 4; width: min(100%, 410px); display: grid; justify-items: center; opacity: 0; transform: scale(1.08) translateY(18px); filter: blur(12px); pointer-events: none; transition: opacity .8s ease, transform 1.1s cubic-bezier(.2,.8,.2,1), filter .8s ease; }
.login.login-arrived .login-arrival { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); pointer-events: auto; }
.flight-hud { position: absolute; left: 28px; bottom: 26px; z-index: 3; width: min(310px, calc(100vw - 56px)); display: grid; gap: 8px; color: #c4d5dc; text-align: left; }
.flight-hud > span { display: flex; align-items: center; gap: 8px; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.flight-hud > span i { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 16px var(--coral); }
.flight-hud strong { font-family: var(--serif); font-size: 18px; font-weight: 500; }
.flight-line { width: 100%; height: 2px; overflow: hidden; background: rgba(255,255,255,.16); }
.flight-line b { width: 0; height: 100%; display: block; background: var(--green-bright); box-shadow: 0 0 14px var(--green-bright); transition: width .14s linear; }
.skip-flight { position: absolute; top: 24px; right: 25px; z-index: 5; display: inline-flex; align-items: center; gap: 8px; padding: 9px 11px; color: #d9e3e7; border: 1px solid rgba(255,255,255,.24); background: rgba(7,10,17,.46); font-size: 9px; font-weight: 700; text-transform: uppercase; backdrop-filter: blur(8px); }
.skip-flight:hover { color: #fff; border-color: var(--green-bright); }
.skip-flight svg { width: 14px; }
.login-mark, .brand-mark { display: grid; place-items: center; background: var(--ink); color: var(--surface); border: 3px double var(--gold-bright); font-family: var(--serif); box-shadow: 0 0 0 5px rgba(226,185,92,.08), 0 0 22px rgba(226,185,92,.16); }
.login-mark { width: 64px; height: 64px; margin-bottom: 24px; font-size: 26px; }
.login h1 { margin-bottom: 8px; font-size: 42px; }
.login p { margin-bottom: 28px; color: #9dafb7; }
.login-panel { width: min(100%, 370px); padding: 22px; color: var(--ink); border: 1px solid #50616f; border-radius: 6px; background: rgba(248,250,249,.96); text-align: left; box-shadow: 0 24px 70px rgba(0,0,0,.36); backdrop-filter: blur(18px); }
.login-panel h2 { margin-bottom: 8px; text-align: center; }
.login-panel > p { margin-bottom: 18px; text-align: center; }
.identity-button { width: 100%; min-height: 46px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 700; }
.identity-button:hover { border-color: var(--gold); }
.identity-button.dark { color: #fff; border-color: var(--ink); background: var(--ink); }
.identity-button svg { width: 18px; height: 18px; }
.login-divider { display: flex; align-items: center; gap: 10px; margin: 18px 0; color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.login-divider::before, .login-divider::after { height: 1px; flex: 1; background: var(--line); content: ""; }
.login-form { display: grid; gap: 13px; }
.login-form label { display: grid; gap: 5px; color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.login-form input { min-height: 44px; padding: 10px 12px; color: var(--ink); border: 1px solid var(--line); background: #fff; text-transform: none; }
.login-form input:focus { outline: 2px solid var(--gold-soft); border-color: var(--gold); }
.login-link { display: block; margin: 14px auto 0; padding: 4px; color: var(--muted); border: 0; background: transparent; font-size: 11px; text-decoration: underline; }
.login-message { max-width: 370px; min-height: 24px; margin-top: 14px; color: var(--red); font-size: 12px; }

.shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 30; width: 238px; display: flex; flex-direction: column; padding: 22px 14px; color: #f7f5ef; border-right: 1px solid #29323e; background: linear-gradient(180deg, #101722 0%, #121923 52%, #0d131c 100%); box-shadow: 14px 0 40px rgba(16,23,34,.08); }
.sidebar::before { position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--coral) 0 16.6%, var(--gold-bright) 16.6% 33.2%, var(--green-bright) 33.2% 49.8%, var(--blue-bright) 49.8% 66.4%, var(--magenta) 66.4% 83%, var(--violet) 83%); box-shadow: 0 0 18px rgba(110,180,219,.4); content: ""; }
.brand { display: flex; align-items: center; gap: 12px; min-height: 46px; margin: 0 4px 30px; color: inherit; text-decoration: none; }
.brand-mark { flex: 0 0 42px; width: 42px; height: 42px; font-size: 18px; }
.brand strong, .brand small { display: block; }
.brand strong { font-family: var(--serif); font-size: 19px; line-height: 1; }
.brand small { margin-top: 4px; color: #a9a69e; font-size: 9px; font-weight: 600; text-transform: uppercase; }
nav { display: grid; gap: 4px; }
.nav-button { position: relative; width: 100%; min-height: 46px; display: grid; grid-template-columns: 20px 1fr auto; align-items: center; gap: 10px; overflow: hidden; padding: 3px 12px 0; border: 1px solid transparent; border-top: 3px solid color-mix(in srgb, var(--nav-accent, var(--green-bright)) 72%, transparent); color: #acb8c1; background: transparent; text-align: left; transition: color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.nav-button::after { position: absolute; top: calc(var(--nav-y, 50) * 1% - 10px); left: -3px; width: 3px; height: 20px; border-radius: 3px; background: var(--nav-accent, var(--green-bright)); box-shadow: 0 0 15px 4px var(--nav-accent, var(--green-bright)); opacity: 0; content: ""; transition: opacity .2s ease, top .08s linear; }
.nav-button:hover { color: #fff; background: #1d2733; transform: translateX(2px); }
.nav-button:hover::after, .nav-button.active::after { opacity: 1; }
.nav-button.active { color: #fff; border-color: color-mix(in srgb, var(--nav-accent) 48%, #26313d); border-top-color: var(--nav-accent); background: #202c38; box-shadow: inset 0 0 24px color-mix(in srgb, var(--nav-accent) 12%, transparent), 0 0 18px color-mix(in srgb, var(--nav-accent) 12%, transparent); }
.nav-button svg { width: 17px; height: 17px; }
.nav-button b { min-width: 21px; padding: 2px 6px; border-radius: 8px; color: #10221d; background: #a9e7d8; font-size: 10px; text-align: center; }
.sidebar-footer { display: flex; align-items: center; gap: 8px; margin-top: auto; padding: 16px 4px 0; border-top: 1px solid #32322e; }
.sidebar-footer span { min-width: 0; flex: 1; overflow: hidden; color: #a9a69e; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.sidebar .icon-button { color: #d8d5cd; border-color: #45443f; }

.mobile-header { display: none; }
.workspace { min-height: 100vh; margin-left: 238px; padding: 34px clamp(24px, 4vw, 62px) 70px; }
.board-rail { height: 11px; display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px; margin: -34px calc(clamp(24px, 4vw, 62px) * -1) 27px; padding: 0 2px; background: #111722; box-shadow: 0 3px 18px rgba(17,23,34,.16); }
.board-rail span:nth-child(1) { background: var(--coral); }
.board-rail span:nth-child(2) { background: var(--gold-bright); }
.board-rail span:nth-child(3) { background: var(--green-bright); }
.board-rail span:nth-child(4) { background: var(--blue-bright); }
.board-rail span:nth-child(5) { background: var(--magenta); }
.board-rail span:nth-child(6) { background: var(--violet); }
.board-rail span:nth-child(7) { background: #ef8e4c; }
.board-rail span:nth-child(8) { background: #f2f0e9; }
.data-health { max-width: 1260px; display: flex; align-items: center; gap: 10px; margin: 0 auto 18px; padding: 11px 14px; color: #654c17; border: 1px solid #d8bc78; background: #fff7df; font-size: 11px; }
.data-health svg { flex: 0 0 auto; width: 17px; }
.view { max-width: 1260px; margin: 0 auto; }
.page-heading { position: relative; min-height: 64px; display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 3px double var(--line-dark); }
.page-heading::after { position: absolute; right: 0; bottom: -3px; width: min(28%, 190px); height: 3px; background: linear-gradient(90deg, var(--green-bright), var(--blue-bright), var(--magenta)); content: ""; }
.heading-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }

.button, .icon-button, .text-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; text-decoration: none; }
.button { min-height: 40px; padding: 9px 14px; border-radius: 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.button svg { width: 15px; height: 15px; }
.button.primary { color: #fff; background: var(--ink); }
.button.primary:hover { background: #263443; }
.button.secondary { color: var(--ink); border-color: var(--line-dark); background: var(--surface); }
.button.danger { color: var(--red); border-color: #d9aaa5; background: var(--surface); }
.icon-button { width: 38px; height: 38px; padding: 0; color: var(--ink); border-color: var(--line); background: transparent; }
.icon-button svg { width: 17px; height: 17px; }
.text-button { padding: 4px 0; color: var(--green); border: 0; background: transparent; font-size: 10px; font-weight: 700; text-transform: uppercase; }

.overview-stage { position: relative; min-height: 322px; margin-bottom: 18px; overflow: hidden; color: #fff; background: radial-gradient(circle at 75% 45%, #142536 0%, #0a111c 42%, #070b12 100%); isolation: isolate; }
#officeScene { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; display: block; opacity: 0; filter: brightness(1.08) saturate(1.18) contrast(1.04); animation: scene-reveal .9s .1s ease forwards; }
#officeScene.scene-unavailable { display: none; }
.overview-stage::before { position: absolute; right: 0; bottom: 0; left: 0; z-index: 1; height: 2px; background: linear-gradient(90deg, transparent, var(--green-bright), var(--gold-bright), var(--coral), transparent); box-shadow: 0 0 18px rgba(45,185,154,.45); content: ""; pointer-events: none; }
.overview-stage::after { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(7,11,18,.97) 0%, rgba(7,11,18,.88) 25%, rgba(7,11,18,.44) 34%, rgba(7,11,18,.07) 48%, rgba(7,11,18,.02) 82%, rgba(7,11,18,.22) 100%); content: ""; pointer-events: none; }
.stage-copy { position: relative; z-index: 2; max-width: 520px; padding: 38px 34px; }
.stage-copy .eyebrow { color: var(--gold-bright); }
.stage-copy h1 { max-width: 460px; color: #fff; font-size: 45px; text-wrap: balance; }
.stage-intention { margin: 12px 0 0; color: #a8bbc4; font-family: var(--serif); font-size: 20px; }
.stage-status { position: absolute; top: 28px; right: 30px; z-index: 3; display: grid; justify-items: end; color: #fff; }
.stage-status strong { margin-top: 10px; font-family: var(--serif); font-size: 30px; font-weight: 500; line-height: 1; }
.stage-status > span:last-child { margin-top: 4px; color: #a9b7bf; font-size: 9px; text-transform: uppercase; }
.live-status { display: inline-flex; align-items: center; gap: 7px; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.live-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 0 5px rgba(45,185,154,.12); animation: status-pulse 2s ease-in-out infinite; }
.scene-legend { position: absolute; right: 30px; bottom: 25px; z-index: 3; display: flex; gap: 16px; color: #d6e0e4; font-size: 9px; text-transform: uppercase; }
.scene-legend span { display: inline-flex; align-items: center; gap: 6px; }
.scene-legend i { width: 7px; height: 7px; border-radius: 50%; }
.scene-legend .active-dot { background: var(--green-bright); }
.scene-legend .sold-dot { background: var(--gold-bright); }
.scene-legend b { color: #fff; }
.stage-link { position: absolute; left: 34px; bottom: 24px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; color: #b9c7cc; font-size: 9px; font-weight: 700; text-decoration: none; text-transform: uppercase; }
.stage-link:hover { color: #fff; }
.stage-link svg { width: 15px; }

.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 24px; }
.metric { position: relative; min-height: 126px; padding: 21px 20px 18px; overflow: hidden; border: 3px double var(--line-dark); border-top: 8px solid var(--metric-color); border-radius: 4px; background: var(--surface); box-shadow: var(--shadow-soft), inset 0 0 0 2px #fff; transition: transform .22s ease, box-shadow .22s ease; }
.metric:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.metric.tone-aqua { --metric-color: var(--green-bright); --metric-soft: var(--green-soft); }
.metric.tone-gold { --metric-color: var(--gold-bright); --metric-soft: var(--gold-soft); }
.metric.tone-coral { --metric-color: var(--coral); --metric-soft: var(--coral-soft); }
.metric.tone-sky { --metric-color: var(--blue-bright); --metric-soft: var(--blue-soft); }
.metric-icon { position: absolute; top: 14px; right: 14px; width: 33px; height: 33px; display: grid; place-items: center; color: var(--metric-color); border-radius: 50%; background: var(--metric-soft); }
.metric-icon svg { width: 16px; height: 16px; }
.metric p { margin-bottom: 17px; color: var(--muted); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.metric strong { display: block; font-family: var(--serif); font-size: 34px; line-height: 1; }
.metric small { color: var(--muted); font-size: 9px; }
.daily-desk { position: relative; margin-bottom: 22px; padding: 24px; overflow: hidden; color: #fff; border-left: 4px solid var(--gold-bright); background: #171e29; box-shadow: var(--shadow); }
.daily-desk::after { position: absolute; top: 0; right: 0; width: 22%; height: 4px; background: var(--coral); content: ""; }
.daily-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.daily-heading h2 { color: #fff; }
.checkin-state { padding: 5px 8px; color: #27251f; background: var(--gold-soft); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.daily-desk form { display: grid; grid-template-columns: minmax(280px, 1.2fr) minmax(260px, .8fr); gap: 22px; }
.goal-list { display: grid; gap: 8px; }
.goal-row { min-height: 43px; display: grid; grid-template-columns: 18px 22px minmax(0, 1fr); align-items: center; gap: 8px; padding: 0 10px; border: 1px solid #3b4a56; background: #202a36; transition: border-color .18s ease, transform .18s ease; }
.goal-row:focus-within { border-color: var(--green-bright); transform: translateX(2px); }
.goal-row > span { color: var(--gold); font-family: var(--serif); font-size: 18px; }
.goal-row input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--gold); }
.goal-input { width: 100%; min-height: 40px; color: #fff; border: 0; outline: 0; background: transparent; }
.daily-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.daily-fields .field label { color: #aaa79f; }
.daily-fields .field input, .daily-fields .field textarea { color: #fff; border-color: #3b4a56; background: #202a36; }
.daily-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 8px; }
.daily-desk .button.secondary { color: #fff; border-color: #52606b; background: #26323f; }
.daily-desk .button.primary { color: #11211d; background: #a9e7d8; }
.news-strip { min-height: 48px; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 16px; margin-bottom: 24px; padding: 0 14px; border: 1px solid #cad9df; border-left: 3px solid var(--blue-bright); background: #f8fbfc; overflow: hidden; }
.news-label { display: inline-flex; align-items: center; gap: 7px; color: var(--blue); font-size: 9px; font-weight: 700; text-transform: uppercase; white-space: nowrap; }
.news-label svg { width: 15px; }
.news-track { min-width: 0; overflow: hidden; white-space: nowrap; }
.news-track::-webkit-scrollbar { display: none; }
.news-track a { color: var(--ink); font-size: 10px; text-decoration: none; }
.news-track a:hover { color: var(--blue); text-decoration: none; }
.news-track b { margin-right: 5px; color: var(--green); font-size: 8px; text-transform: uppercase; }
.news-runner { width: max-content; display: flex; animation: market-scroll 84s linear infinite; will-change: transform; }
.news-track:hover .news-runner, .news-track:focus-within .news-runner { animation-play-state: paused; }
.news-set { display: flex; align-items: center; gap: 20px; padding-right: 20px; }
.news-set > span { color: var(--ink); font-size: 10px; }
.news-set > span[aria-hidden="true"] { color: var(--coral); }
.overview-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(320px, .7fr); gap: 24px; }
.panel { overflow: hidden; border: 3px double var(--line-dark); border-top: 7px solid var(--green-bright); border-radius: 4px; background: var(--surface); box-shadow: var(--shadow-soft); }
.overview-grid .panel:nth-child(2) { border-top-color: var(--coral); }
.panel-heading { display: flex; justify-content: space-between; align-items: center; min-height: 78px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.timeline, #overviewInquiries { min-height: 240px; padding: 8px 20px; }
.timeline-item, .inquiry-brief { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; min-height: 70px; border-bottom: 1px solid var(--line); }
.plain-row { width: 100%; padding: 0; color: inherit; border: 0; background: transparent; text-align: left; }
.timeline-item:last-child, .inquiry-brief:last-child { border-bottom: 0; }
.timeline-time { color: var(--gold); font-family: var(--serif); font-size: 18px; }
.item-title { margin: 0; font-size: 12px; font-weight: 700; }
.item-meta { margin: 3px 0 0; color: var(--muted); font-size: 10px; }
.empty-state { display: grid; place-items: center; min-height: 180px; padding: 30px; color: var(--muted); text-align: center; }
.empty-state svg { width: 24px; height: 24px; margin-bottom: 10px; color: var(--gold); }
.daily-tip { display: flex; align-items: flex-start; gap: 12px; margin-top: 24px; padding: 16px 18px; border: 1px solid #cfe0e9; border-left: 3px solid var(--blue-bright); background: var(--blue-soft); }
.daily-tip > svg { flex: 0 0 auto; width: 19px; color: var(--blue); }
.daily-tip p:last-child { margin: 0; font-family: var(--serif); font-size: 18px; }

.filters { display: grid; grid-template-columns: minmax(220px, 1fr) 190px 190px; gap: 10px; margin-bottom: 8px; }
.filters select, .search-field { min-height: 42px; border: 1px solid var(--line-dark); background: var(--surface); }
.filters select { padding: 0 12px; color: var(--ink); }
.search-field { display: flex; align-items: center; gap: 9px; padding: 0 12px; }
.search-field svg { flex: 0 0 auto; width: 16px; height: 16px; color: var(--muted); }
.search-field input { width: 100%; border: 0; outline: 0; background: transparent; }
.filter-meta { min-height: 30px; display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 12px; color: var(--muted); font-size: 10px; }
.filter-meta .text-button { visibility: hidden; }
.filter-meta.has-filters .text-button { visibility: visible; }

.property-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-bottom: 16px; border: 1px solid var(--line); background: var(--line); }
.property-summary > div { min-height: 72px; display: flex; align-items: center; gap: 12px; padding: 15px; border-top: 5px solid var(--summary-color); background: var(--surface); }
.property-summary > div:nth-child(1) { --summary-color: var(--green-bright); }
.property-summary > div:nth-child(2) { --summary-color: var(--gold-bright); }
.property-summary > div:nth-child(3) { --summary-color: var(--blue-bright); }
.property-summary > div:nth-child(4) { --summary-color: var(--coral); }
.property-summary svg { width: 18px; color: var(--green); }
.property-summary span, .property-summary strong, .property-summary small { display: block; }
.property-summary strong { font-family: var(--serif); font-size: 24px; line-height: 1; }
.property-summary small { margin-top: 3px; color: var(--muted); font-size: 8px; font-weight: 700; text-transform: uppercase; }
.property-list { border-top: 5px double var(--ink); }
.property-list-head { min-height: 34px; display: grid; grid-template-columns: 86px minmax(190px, 1.2fr) 145px 115px 130px 150px 30px; gap: 14px; align-items: center; padding: 0 10px; color: var(--muted); border-bottom: 1px solid var(--line-dark); background: #e5eae9; font-size: 8px; font-weight: 700; text-transform: uppercase; }
.property-row { position: relative; display: grid; grid-template-columns: 86px minmax(190px, 1.2fr) 145px 115px 130px 150px 30px; gap: 14px; align-items: center; min-height: 112px; padding: 12px 10px; border-bottom: 1px solid var(--line); border-left: 2px solid transparent; background: transparent; }
.property-row { transition: background .18s ease, transform .18s ease; }
.property-row:hover { background: rgba(255,255,255,.82); transform: translateX(3px); }
.property-row.status-active { border-left-color: var(--green-bright); box-shadow: inset 12px 0 24px -22px var(--green-bright); }
.property-row.status-pending, .property-row.status-under-contract { border-left-color: var(--gold-bright); box-shadow: inset 12px 0 24px -22px var(--gold-bright); }
.property-row.needs-data::after { content: "Needs data"; position: absolute; right: 48px; top: 8px; padding: 2px 7px; border: 1px solid rgba(226,185,92,.45); color: #71571f; background: rgba(255,249,225,.92); font-size: 10px; font-weight: 800; text-transform: uppercase; border-radius: 3px; box-shadow: 0 0 15px rgba(226,185,92,.18); animation: data-breathe 3.6s ease-in-out infinite; }
.property-photo { width: 86px; height: 72px; object-fit: cover; border-radius: 4px; background: #e6e3dc; }
.property-placeholder { display: grid; place-items: center; color: #9b978e; }
.property-placeholder svg { width: 20px; }
.property-address { font-family: var(--serif); font-size: 20px; font-weight: 600; line-height: 1.05; }
.property-sub { margin-top: 5px; color: var(--muted); font-size: 10px; }
.property-listing, .property-market, .property-money, .property-specs { min-width: 0; }
.property-listing strong, .property-listing small, .property-market strong, .property-market small, .property-money strong, .property-money small, .property-specs small { display: block; }
.property-listing strong { color: var(--blue); font-size: 10px; }
.property-listing small, .property-market small, .property-money small, .property-specs small { margin-top: 5px; color: var(--muted); font-size: 8px; }
.property-market { display: grid; justify-items: start; }
.property-market strong { margin-top: 7px; font-family: var(--serif); font-size: 22px; line-height: 1; }
.property-money { font-family: var(--serif); }
.property-money strong { font-size: 20px; line-height: 1; }
.property-money small { color: var(--coral); font-family: var(--sans); }
.property-specs { color: var(--muted); font-size: 10px; }
.row-action { color: var(--muted); border: 0; background: transparent; }

.due-soon { position: relative; box-shadow: inset 3px 0 0 var(--green-bright), inset 13px 0 28px -25px var(--green-bright); animation: action-breathe 3s ease-in-out infinite; }
.needs-response { position: relative; box-shadow: inset 3px 0 0 var(--coral), inset 14px 0 28px -25px var(--coral); animation: response-breathe 2.8s ease-in-out infinite; }
.daily-desk.needs-checkin { box-shadow: 0 0 0 1px rgba(226,185,92,.25), 0 0 34px rgba(226,185,92,.16), var(--shadow); }

.badge { display: inline-flex; align-items: center; min-height: 23px; padding: 3px 8px; border-radius: 8px; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.badge.new, .badge.draft, .badge.planned { color: var(--blue); background: var(--blue-soft); }
.badge.active, .badge.contacted, .badge.confirmed, .badge.synced { color: var(--green); background: var(--green-soft); }
.badge.pending, .badge.appointment, .badge.coming-soon, .badge.under-contract { color: #795a1d; background: var(--gold-soft); }
.badge.archived, .badge.closed, .badge.sold { color: #595752; background: #e9e7e2; }
.badge.failed, .badge.needs-attention { color: var(--red); background: var(--red-soft); }

.table-wrap { overflow: auto; border-top: 5px double var(--ink); background: var(--surface); }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th { padding: 13px 16px; color: var(--muted); border-bottom: 1px solid var(--line-dark); font-size: 9px; text-align: left; text-transform: uppercase; }
td { padding: 15px 16px; border-bottom: 1px solid var(--line); font-size: 11px; vertical-align: middle; }
tbody tr:hover { background: #faf9f6; }
.contact-name { font-weight: 700; }
.contact-detail { color: var(--muted); font-size: 10px; }

.agenda { border-top: 5px double var(--ink); }
.calendar-status { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; padding: 12px 14px; color: var(--muted); border: 1px solid var(--line); background: var(--surface); font-size: 10px; }
.calendar-status svg { width: 17px; color: var(--green); }
.agenda-item a { color: inherit; }
.agenda-day { display: grid; grid-template-columns: 160px 1fr; border-bottom: 1px solid var(--line-dark); }
.agenda-date { padding: 20px 14px 20px 0; font-family: var(--serif); font-size: 21px; }
.agenda-items { border-left: 1px solid var(--line); }
.agenda-item { display: grid; grid-template-columns: 100px 1fr auto; align-items: center; min-height: 80px; gap: 18px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--surface); }
.agenda-item:last-child { border-bottom: 0; }

.journal-note { display: flex; gap: 12px; align-items: center; margin-bottom: 20px; padding: 14px 16px; color: #514a3c; border: 1px solid #d5c59f; background: var(--gold-soft); font-size: 11px; }
.journal-note svg { flex: 0 0 auto; width: 19px; height: 19px; }
.journal-filters { grid-template-columns: minmax(240px, 1fr) 210px; }
.journal-list { border-top: 5px double var(--ink); background: var(--surface); }
.journal-loading { margin: 0; padding: 24px 16px; color: var(--muted); font-size: 11px; }
.journal-entry { display: grid; grid-template-columns: 74px 150px minmax(0, 1fr) 88px; gap: 16px; padding: 16px; border-bottom: 1px solid var(--line); }
.journal-sequence { font-family: var(--serif); font-size: 20px; }
.journal-time, .journal-actor, .journal-hash { color: var(--muted); font-size: 9px; }
.journal-summary { margin-bottom: 4px; font-size: 11px; font-weight: 700; }
.journal-details { color: var(--muted); font-size: 10px; overflow-wrap: anywhere; }
.journal-details summary { width: max-content; color: var(--green); cursor: pointer; font-weight: 700; }
.journal-details pre { max-height: 170px; margin: 8px 0 0; overflow: auto; padding: 10px; color: #43505a; border: 1px solid var(--line); background: #f4f7f6; font: 9px/1.5 Consolas, monospace; white-space: pre-wrap; }
.journal-hash { text-align: right; }
.notes-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.note-composer { border-top-color: var(--gold-bright); }
.notes-grid .note-composer:nth-child(2) { border-top-color: var(--coral); }
.note-form { display: grid; gap: 14px; padding: 20px; }
.note-form > .button { justify-self: end; }
.voice-row { display: flex; align-items: center; gap: 12px; min-height: 40px; }
.voice-row span { color: var(--muted); font-size: 10px; }
.note-history { margin-top: 28px; border-top: 5px double var(--ink); }
.note-history-heading { padding: 20px 0 12px; }
.saved-note { padding: 18px 2px; border-bottom: 1px solid var(--line); }
.saved-note > div { display: flex; align-items: center; gap: 10px; }
.saved-note time { color: var(--muted); font-size: 9px; }
.saved-note h3 { margin: 10px 0 5px; font-family: var(--serif); font-size: 20px; }
.saved-note p { margin: 0; color: var(--muted); white-space: pre-wrap; }

.money-assistant { position: fixed; right: 24px; bottom: 22px; z-index: 52; width: 68px; height: 68px; display: none; place-items: center; padding: 0; color: #e8fff8; border: 1px solid #66ddc2; border-radius: 50%; background: #17252a; box-shadow: 0 0 0 7px rgba(45,185,154,.09), 0 0 30px rgba(45,185,154,.45), 0 16px 34px rgba(17,23,34,.28); animation: assistant-float 3.8s ease-in-out infinite; }
#appView:not(.hidden) + .money-assistant { display: grid; }
.money-assistant:hover, .money-assistant.open { transform: translateY(-3px) scale(1.04); box-shadow: 0 0 0 10px rgba(45,185,154,.08), 0 0 42px rgba(45,185,154,.68), 0 20px 42px rgba(17,23,34,.34); }
.assistant-face { position: relative; width: 39px; height: 32px; display: grid; place-items: center; border: 1px solid #7be6ce; border-radius: 8px; background: #20353a; }
.assistant-face b { color: var(--gold-bright); font-family: var(--serif); font-size: 23px; line-height: 1; text-shadow: 0 0 12px rgba(226,185,92,.8); }
.assistant-face i { position: absolute; top: 8px; width: 4px; height: 4px; border-radius: 50%; background: #d9fff6; box-shadow: 0 0 7px #d9fff6; }
.assistant-face i:first-of-type { left: 6px; }
.assistant-face i:last-of-type { right: 6px; }
.assistant-antenna { position: absolute; top: 7px; left: 50%; width: 1px; height: 8px; background: #7be6ce; }
.assistant-antenna::after { position: absolute; top: -3px; left: -2px; width: 5px; height: 5px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 8px var(--coral); content: ""; }
.assistant-label { position: absolute; right: 72px; padding: 5px 8px; color: #fff; border-radius: 3px; background: var(--night); font-size: 9px; font-weight: 700; text-transform: uppercase; white-space: nowrap; opacity: 0; transform: translateX(6px); transition: opacity .18s ease, transform .18s ease; pointer-events: none; }
.money-assistant:hover .assistant-label, .money-assistant:focus-visible .assistant-label { opacity: 1; transform: translateX(0); }
.assistant-panel { position: fixed; right: 24px; bottom: 102px; z-index: 51; width: min(390px, calc(100vw - 28px)); overflow: hidden; border: 1px solid #8ca49f; border-top: 3px solid var(--green-bright); border-radius: 7px; background: rgba(249,251,250,.98); box-shadow: 0 24px 70px rgba(17,23,34,.28); animation: assistant-panel-in .24s ease; backdrop-filter: blur(16px); }
.assistant-heading { min-height: 75px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 18px; color: #fff; background: var(--night); }
.assistant-heading h2 { color: #fff; font-size: 23px; }
.assistant-heading .icon-button { color: #d9e4e8; border-color: #46535e; }
.assistant-context { margin: 0; padding: 10px 18px; color: var(--muted); border-bottom: 1px solid var(--line); font-size: 9px; text-transform: uppercase; }
.assistant-context strong { color: var(--green); }
.assistant-panel .note-form { padding-top: 16px; }
.voice-row .listening { color: #fff; border-color: var(--coral); background: var(--coral); box-shadow: 0 0 20px rgba(214,95,73,.28); }

.drawer-backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(15,15,13,.42); }
.drawer { position: fixed; inset: 0 0 0 auto; z-index: 70; width: min(720px, 94vw); overflow: auto; background: var(--surface); box-shadow: -22px 0 60px rgba(17,23,34,.2); animation: drawer-in .24s ease; }
.drawer-header { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; gap: 20px; align-items: center; min-height: 92px; padding: 20px 26px; border-bottom: 1px solid var(--line-dark); background: rgba(255,255,255,.96); }
.drawer-body { padding: 24px 26px 48px; }
.form-section { margin: 0 0 28px; padding: 0; border: 0; }
.form-section legend { width: 100%; margin-bottom: 16px; padding-bottom: 8px; color: var(--gold); border-bottom: 1px solid var(--line); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field { min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 5px; color: var(--muted); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.field input, .field select, .field textarea { width: 100%; min-height: 40px; padding: 9px 10px; color: var(--ink); border: 1px solid var(--line-dark); border-radius: 0; background: var(--surface); outline: 0; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.check-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; }
.check input { width: 16px; height: 16px; accent-color: var(--ink); }
.photo-manager { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.photo-tile { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--line); background: #ece9e2; }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; }
.photo-tile button { position: absolute; top: 5px; right: 5px; width: 28px; height: 28px; display: grid; place-items: center; color: #fff; border: 0; background: rgba(23,23,21,.85); }
.photo-add { aspect-ratio: 4 / 3; display: grid; place-items: center; color: var(--gold); border: 1px dashed var(--gold); background: #fbfaf7; }
.photo-add input { display: none; }
.form-help { margin:-5px 0 14px; color:var(--muted); font-size:11px; line-height:1.55; }
.document-manager { display:grid; gap:9px; }
.document-row { display:grid; grid-template-columns:42px minmax(0,1fr) auto 30px; gap:10px; align-items:center; padding:10px; border:1px solid var(--line); background:#fbfaf7; }
.document-open { width:42px; height:42px; display:grid; place-items:center; color:var(--gold); border:1px solid var(--line); background:#fff; }
.document-open:hover { color:#fff; background:var(--ink); }
.document-fields { min-width:0; }
.document-fields input { width:100%; min-height:34px; padding:7px 8px; color:var(--ink); border:1px solid var(--line-dark); background:#fff; }
.document-fields small { display:block; margin-top:4px; overflow:hidden; color:var(--muted); font-size:9px; text-overflow:ellipsis; white-space:nowrap; }
.document-public { display:inline-flex; align-items:center; gap:6px; color:var(--muted); font-size:10px; font-weight:700; text-transform:uppercase; }
.document-public input { width:15px; height:15px; accent-color:var(--ink); }
.document-remove { width:30px; height:30px; display:grid; place-items:center; color:var(--red); border:0; background:transparent; }
.document-add { min-height:68px; display:grid; place-items:center; color:var(--gold); border:1px dashed var(--gold); background:#fbfaf7; font-size:11px; font-weight:700; text-transform:uppercase; }
.document-add span { display:flex; align-items:center; gap:8px; }
.document-add input { display:none; }
.drawer-actions { position: sticky; bottom: 0; display: flex; justify-content: flex-end; gap: 10px; margin: 30px -26px -48px; padding: 16px 26px; border-top: 1px solid var(--line); background: rgba(255,255,255,.97); }
.detail-list { display: grid; grid-template-columns: 140px 1fr; margin: 0; }
.detail-list dt, .detail-list dd { margin: 0; padding: 11px 0; border-bottom: 1px solid var(--line); }
.detail-list dt { color: var(--muted); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.detail-list dd { font-size: 12px; overflow-wrap: anywhere; }

.toast { position: fixed; right: 20px; bottom: 20px; z-index: 100; max-width: min(390px, calc(100vw - 40px)); padding: 12px 16px; color: #fff; background: var(--ink); box-shadow: var(--shadow); opacity: 0; transform: translateY(8px); pointer-events: none; transition: .18s ease; }
.toast.show { opacity: 1; transform: translateY(0); }
.toast.error { background: var(--red); }

.nav-backdrop { display: none; }

.view-entering { animation: view-enter .34s ease both; }

@keyframes view-enter { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@keyframes drawer-in { from { transform: translateX(24px); opacity: .7; } to { transform: translateX(0); opacity: 1; } }
@keyframes scene-reveal { from { opacity: 0; transform: scale(1.025); } to { opacity: 1; transform: scale(1); } }
@keyframes status-pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(45,185,154,.1); } 50% { box-shadow: 0 0 0 8px rgba(45,185,154,.03); } }
@keyframes market-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes assistant-float { 0%, 100% { margin-bottom: 0; } 50% { margin-bottom: 5px; } }
@keyframes assistant-panel-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes action-breathe { 0%, 100% { filter: drop-shadow(0 0 0 rgba(45,185,154,0)); } 50% { filter: drop-shadow(0 0 7px rgba(45,185,154,.2)); } }
@keyframes data-breathe { 0%, 100% { box-shadow: 0 0 8px rgba(226,185,92,.12); } 50% { box-shadow: 0 0 20px rgba(226,185,92,.34); } }
@keyframes response-breathe { 0%, 100% { filter: drop-shadow(0 0 0 rgba(214,95,73,0)); } 50% { filter: drop-shadow(0 0 7px rgba(214,95,73,.2)); } }

@media (max-width: 980px) {
  .overview-stage { min-height: 238px; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .overview-grid { grid-template-columns: 1fr; }
  .property-list-head, .property-row { grid-template-columns: 80px minmax(180px, 1fr) 130px 105px 120px 30px; }
  .property-list-head span:nth-child(6) { display: none; }
  .property-row .property-specs { display: none; }
  .daily-desk form { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .sidebar { transform: translateX(-100%); transition: transform .18s ease; box-shadow: var(--shadow); }
  .sidebar.open { transform: translateX(0); }
  .nav-backdrop { position: fixed; inset: 0; z-index: 25; display: block; background: rgba(7,11,18,.62); opacity: 1; backdrop-filter: blur(2px); }
  .mobile-header { position: sticky; top: 0; z-index: 20; height: 56px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; border-bottom: 1px solid var(--line); background: rgba(249,251,250,.96); font-family: var(--serif); font-size: 19px; backdrop-filter: blur(12px); }
  .workspace { margin-left: 0; padding: 24px 14px 60px; }
  .board-rail { margin: -24px -14px 18px; }
  .overview-stage { min-height: 270px; margin: -24px -14px 14px; }
  .stage-copy { padding: 34px 22px; }
  .stage-copy h1 { max-width: 300px; font-size: 36px; }
  .stage-status { top: 28px; right: 20px; }
  .stage-status strong { font-size: 24px; }
  .stage-link { left: 22px; bottom: 21px; }
  .scene-legend { right: 20px; bottom: 21px; gap: 10px; }
  .scene-legend span { font-size: 8px; }
  h1 { font-size: 31px; }
  .page-heading { align-items: center; margin-bottom: 20px; }
  .page-heading .button { min-width: 40px; }
  .heading-actions { max-width: 56%; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metric { min-height: 108px; padding: 15px; }
  .metric-icon { top: 11px; right: 11px; width: 29px; height: 29px; }
  .filters { grid-template-columns: 1fr 1fr; }
  .search-field { grid-column: 1 / -1; }
  .journal-filters { grid-template-columns: 1fr; }
  .journal-filters .search-field { grid-column: auto; }
  .property-summary { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .property-list-head { display: none; }
  .property-row { grid-template-columns: 76px minmax(0, 1fr) 28px; gap: 8px 11px; min-height: 156px; padding: 14px 8px; }
  .property-row.needs-data::after { top: auto; right: 40px; bottom: 10px; }
  .property-photo { width: 76px; height: 60px; }
  .property-photo { grid-column: 1; grid-row: 1 / span 2; }
  .property-row > div:nth-child(2) { grid-column: 2; grid-row: 1; }
  .property-listing { grid-column: 2; grid-row: 2; }
  .property-market { grid-column: 1; grid-row: 3; }
  .property-money { grid-column: 2 / 4; grid-row: 3; }
  .property-specs { grid-column: 2 / 4; grid-row: 4; display: block !important; }
  .row-action { grid-column: 3; grid-row: 1; }
  .property-address { font-size: 17px; }
  .agenda-day { grid-template-columns: 1fr; }
  .agenda-date { padding: 20px 0 8px; }
  .agenda-items { border-left: 0; }
  .agenda-item { grid-template-columns: 72px 1fr auto; gap: 10px; padding: 12px; }
  .table-wrap { overflow: visible; background: transparent; }
  table { min-width: 0; }
  thead { display: none; }
  tbody { display: grid; gap: 10px; padding-top: 12px; }
  tr[data-inquiry] { position: relative; display: grid; gap: 0; padding: 10px 44px 10px 10px; border: 3px double var(--line-dark); border-top: 6px solid var(--blue-bright); border-radius: 4px; background: var(--surface); box-shadow: var(--shadow-soft); }
  tr[data-inquiry]:has(.badge.new) { border-top-color: var(--coral); }
  tr[data-inquiry] td { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px; padding: 6px 4px; border: 0; overflow-wrap: anywhere; }
  tr[data-inquiry] td::before { color: var(--muted); content: attr(data-label); font-size: 8px; font-weight: 700; text-transform: uppercase; }
  tr[data-inquiry] td:last-child { position: absolute; top: 12px; right: 7px; display: block; padding: 0; }
  tr[data-inquiry] td:last-child::before { display: none; }
  #inquiryTable > tr:not([data-inquiry]) { display: block; }
  #inquiryTable > tr:not([data-inquiry]) td { display: block; padding: 0; border: 0; }
  .journal-entry { grid-template-columns: 52px 1fr; gap: 8px 12px; }
  .journal-entry > div:nth-child(3) { grid-column: 2; }
  .journal-hash { display: none; }
  .notes-grid { grid-template-columns: 1fr; }
  .news-strip { grid-template-columns: 1fr; gap: 5px; padding: 9px 12px; }
  .form-grid, .form-grid.three { grid-template-columns: 1fr; }
  .document-row { grid-template-columns:38px minmax(0,1fr) 28px; }
  .document-open { width:38px; height:38px; }
  .document-public { grid-column:2; justify-self:start; }
  .document-remove { grid-column:3; grid-row:1; }
  .drawer-header, .drawer-body { padding-left: 18px; padding-right: 18px; }
  .drawer-actions { margin-left: -18px; margin-right: -18px; padding-left: 18px; padding-right: 18px; }
  .money-assistant { right: 15px; bottom: 16px; width: 62px; height: 62px; }
  .assistant-panel { right: 14px; bottom: 88px; }
  .flight-hud { left: 18px; bottom: 18px; }
  .skip-flight { top: 16px; right: 16px; }
}

@media (max-width: 430px) {
  .overview-stage { min-height: 298px; }
  .overview-stage::after { background: linear-gradient(90deg, rgba(7,11,18,.91), rgba(7,11,18,.24)); }
  .stage-copy h1 { max-width: 240px; font-size: 34px; }
  .stage-intention { font-size: 17px; }
  .stage-status > span:last-child { display: none; }
  .stage-link span { display: none; }
  .scene-legend { max-width: 170px; flex-wrap: wrap; justify-content: flex-end; }
  .page-heading { align-items: flex-end; }
  .page-heading .button { padding: 9px 11px; }
  .page-heading .button svg + * { display: none; }
  .heading-actions .button { padding: 9px; }
  .metric strong { font-size: 29px; }
  .daily-desk { margin-left: -14px; margin-right: -14px; padding: 18px 14px; }
  .daily-heading { align-items: flex-start; }
  .daily-fields { grid-template-columns: 1fr; }
  .daily-actions { justify-content: stretch; }
  .daily-actions .button { flex: 1; }
  .timeline-item, .inquiry-brief { grid-template-columns: 62px 1fr; }
  .timeline-item .badge, .inquiry-brief .badge { display: none; }
  .filters { grid-template-columns: 1fr; }
  .search-field { grid-column: auto; }
  .filter-meta { align-items: center; }
  .property-row { grid-template-columns: 68px minmax(0,1fr) 28px; }
  .property-photo { width: 68px; height: 56px; }
  .property-row .badge { display: none; }
  .agenda-item { grid-template-columns: 64px 1fr; }
  .agenda-item .badge { display: none; }
  .drawer-actions { flex-wrap: wrap; }
  .drawer-actions .button { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  #officeScene { opacity: 1; }
  .news-track { overflow-x: auto; }
  .news-runner { animation: none; }
  .news-set[aria-hidden="true"] { display: none; }
}

/* ===== Blog manager + SEO section ===== */
.blog-list { margin-top: 4px; }
.blog-row { position: relative; display: grid; grid-template-columns: 74px minmax(190px, 1fr) 120px 30px; gap: 14px; align-items: center; min-height: 84px; padding: 12px 10px; border-bottom: 1px solid var(--line); border-left: 2px solid transparent; cursor: pointer; transition: background .18s ease; }
.blog-row:hover { background: var(--gold-soft); border-left-color: var(--gold); }
.blog-cover { width: 74px; height: 60px; border-radius: 10px; overflow: hidden; background: linear-gradient(135deg, var(--ink), var(--gold)); display: flex; align-items: center; justify-content: center; color: #fff; font-family: 'Cormorant Garamond', serif; font-size: 26px; }
.blog-cover img { width: 100%; height: 100%; object-fit: cover; }
.blog-title { font-weight: 600; color: var(--ink); font-size: 16px; line-height: 1.25; }
.blog-sub { color: var(--muted); font-size: 12.5px; margin-top: 3px; }
.badge.published { background: var(--green-soft); color: var(--green); }
.badge.draft { background: var(--gold-soft); color: var(--gold); }
.badge.archived { background: var(--line); color: var(--muted); }
@media (max-width: 720px) { .blog-row { grid-template-columns: 64px minmax(0,1fr) 28px; } .blog-row .blog-status { display: none; } }

.tips-panel { margin-top: 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: hidden; }
.tips-panel > summary { list-style: none; cursor: pointer; padding: 16px 20px; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 10px; background: var(--gold-soft); }
.tips-panel > summary::-webkit-details-marker { display: none; }
.tips-panel > summary i { color: var(--gold); }
.tips-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; padding: 18px 20px 22px; }
.tip-card { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: var(--paper); }
.tip-card h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--gold); margin-bottom: 8px; }
.tip-card ul { margin: 0; padding-left: 18px; }
.tip-card li { font-size: 13px; color: var(--ink); margin-bottom: 6px; line-height: 1.5; }
.tip-card.sound-human { border-color: var(--coral); }
.tip-card.sound-human h4 { color: var(--coral); }

.seo-intro { max-width: 760px; color: var(--muted); font-size: 15px; margin: -8px 0 26px; line-height: 1.6; }
.seo-stage { margin-bottom: 26px; }
.seo-stage-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.seo-n { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--ink), var(--gold)); color: #fff; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; flex: none; }
.seo-stage-head h2 { font-size: 21px; font-weight: 600; color: var(--ink); }
.seo-why { margin-left: auto; font-size: 11px; color: var(--gold); background: var(--gold-soft); border-radius: 999px; padding: 4px 12px; white-space: nowrap; }
.seo-note { background: var(--gold-soft); border: 1px solid var(--gold); border-radius: 12px; padding: 13px 16px; font-size: 13px; color: var(--ink); line-height: 1.55; margin-bottom: 12px; }
.seo-step { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 14px 18px; margin-bottom: 10px; }
.seo-step h3 { font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.seo-step p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.seo-step p b { color: var(--ink); }
.seo-link { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--gold); text-decoration: none; }
.seo-rhythm { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 6px; }
.seo-rc { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 16px 18px; }
.seo-rc h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--gold); margin-bottom: 10px; }
.seo-rc ul { margin: 0; padding-left: 16px; }
.seo-rc li { font-size: 13px; color: var(--ink); margin-bottom: 7px; line-height: 1.5; }
@media (max-width: 720px) { .seo-rhythm { grid-template-columns: 1fr; } }
