@font-face {
  font-family: Inter;
  src: url(fonts/InterVariable.woff2) format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-optical-sizing: auto;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  color: #20202b;
  background: #fbfaf9;
  --muted: #777588;
  --line: #eae6ec;
  --purple: #5946d6;
  --soft: #f3f0ff;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
  background: none;
  color: inherit;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #aca0eb;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.14;
  letter-spacing: -0.035em;
  font-weight: 600;
}
h2 {
  font-size: 25px;
  letter-spacing: -0.025em;
  font-weight: 600;
}
h3 {
  font-size: 18px;
  font-weight: 500;
}
p {
  line-height: 1.55;
}
small,
.muted {
  color: var(--muted);
}
.header {
  height: 90px;
  max-width: 1280px;
  margin: auto;
  padding: 0 36px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -1.7px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand svg {
  color: var(--purple);
  width: 27px;
  height: 27px;
  stroke: none;
}
.header nav {
  display: flex;
  gap: 6px;
  margin-left: auto;
}
#workspace-choice {
  width: auto;
  max-width: 260px;
  min-width: 0;
  font-size: 13px;
  border-color: transparent;
  background: transparent;
  text-overflow: ellipsis;
}
#workspace-choice:disabled { opacity: 1; appearance: none; }
.property-filter { width: min(100%, 290px); margin: 22px 0 0; }
.property-filter select { margin-top: 6px; }
.property-name { color: var(--purple); font-size: 13px; font-weight: 500; }
.header nav a {
  font-size: 14px;
  color: var(--muted);
  padding: 11px 16px;
  border-radius: 12px;
}
.header nav a[aria-current="page"] {
  background: var(--soft);
  color: var(--purple);
}
.profile {
  margin-left: auto;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  background: var(--soft);
  color: var(--purple);
}
.language-picker { position: relative; flex: none; }
.language-toggle { display: grid; place-items: center; width: 36px; height: 38px; border-radius: 10px; }
.language-flag { width: 19px; height: 13px; overflow: hidden; border-radius: 1.5px; stroke: none; filter: grayscale(1); opacity: .62; }
.language-menu { position: absolute; right: 0; top: calc(100% + 9px); z-index: 5; width: 176px; padding: 6px; background: white; border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 10px 35px #30264616; animation: appear 180ms var(--ease); }
.language-menu button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 11px 10px; border-radius: 10px; font-size: 13px; text-align: left; }
.language-menu button:hover, .language-menu button[aria-checked="true"] { background: var(--soft); }
.language-check { margin-left: auto; color: var(--purple); visibility: hidden; }
.language-menu button[aria-checked="true"] .language-check { visibility: visible; }
.language-toggle:hover .language-flag { opacity: .9; }
main {
  max-width: 1208px;
  margin: 32px auto;
  padding: 0 36px 40px;
  animation: appear 260ms var(--ease);
}
.loading {
  margin-top: 20vh;
  text-align: center;
  color: var(--muted);
}
.loading-panel{padding:36px 8px;min-height:170px;color:#8a8296;font-size:14px;animation:workspace-reveal .2s ease-out}
.loading-orbit{display:block;width:22px;height:22px;border:1.5px solid #ece7f4;border-top-color:#937fc0;border-radius:50%;animation:loading-orbit 1s linear infinite}
.loading-lines{display:grid;gap:12px;max-width:380px;margin-top:28px}
.loading-lines i{display:block;height:9px;border-radius:5px;background:linear-gradient(100deg,#f0edf5 15%,#faf9fc 40%,#f0edf5 65%);background-size:220% 100%;animation:loading-shimmer 1.7s ease-in-out infinite}
.loading-lines i:nth-child(2){width:88%}.loading-lines i:nth-child(3){width:64%}
@keyframes loading-orbit{to{transform:rotate(360deg)}}
@keyframes loading-shimmer{to{background-position:-220% 0}}
@keyframes workspace-reveal{from{opacity:.3;transform:translateY(3px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.loading-panel,.loading-orbit,.loading-lines i{animation:none}}
.welcome {
  margin-bottom: 32px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.welcome > div { min-width: 0; }
.companion-mascot { width: 130px; height: 144px; object-fit: contain; flex: none; }
.login > .companion-mascot { display: block; margin: 0 auto 20px; width: 100px; height: 110px; }
.journal-shell .welcome { display: block; padding-right: 150px; min-height: 140px; }
.journal-shell .welcome .companion-mascot { position: absolute; right: 0; top: -20px; }
.welcome p {
  color: var(--muted);
  margin-bottom: 12px;
}
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
}
.cards {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.card {
  display: block;
  text-align: left;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  padding: 25px;
  transition:
    transform 180ms var(--ease),
    border-color 180ms,
    box-shadow 180ms;
}
.card h2 {
  font-size: 21px;
  line-height: 1.3;
}
.card p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 12px;
}
.card-footer {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
}
.card-footer .view {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--purple);
  padding: 9px 12px;
  background: var(--soft);
  border-radius: 12px;
  white-space: nowrap;
  transition: background 180ms, transform 180ms var(--ease);
}
.assessment {
  color: #258568;
}
.assessment.pending {
  color: #9c672f;
}
.assessment.info {
  color: var(--muted);
}
.tools {
  background: #fdfbfd;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 23px;
  height: fit-content;
}
.tools h2 {
  font-size: 21px;
}
.tools > p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}
.source-row {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  width: 100%;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-top: 12px;
  padding: 16px 13px;
  font-size: 13px;
  transition: border-color 180ms, box-shadow 180ms;
}
.source-row small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 5px;
}
.source-row > span:nth-child(2) { min-width: 0; overflow-wrap: anywhere; }
.source-glyph { display: grid; place-items: center; width: 34px; height: 38px; border-radius: 10px; background: var(--soft); color: var(--purple); font-size: 24px; font-weight: 600; flex: none; }
.source-indicator { margin-left: auto; color: var(--muted); flex: none; }
.source-indicator svg { width: 17px; height: 17px; }
.source-indicator.ready { color: #258568; }
.source-status { margin-bottom: 16px; color: var(--purple); }
.tools > .secondary { width: 100%; margin-top: 20px; }
.tools > .text-button { margin-top: 10px; }
.sources { margin-top: 22px; }
.source-row strong {
  font-weight: 500;
}
.empty {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px;
  max-width: 740px;
}
.empty h2 {
  margin-bottom: 12px;
}
.empty p {
  color: var(--muted);
  max-width: 540px;
}
.empty .primary {
  margin-top: 24px;
}
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  border-radius: 12px;
  padding: 11px 18px;
  font-size: 14px;
  transition:
    background 180ms,
    transform 180ms;
}
.primary {
  background: var(--purple);
  color: white;
}
.secondary {
  background: var(--soft);
  color: var(--purple);
}
.text-button {
  color: var(--purple);
  font-size: 13px;
  padding: 10px 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.login {
  max-width: 370px;
  margin: 9vh auto 0;
}
.login h1 {
  font-size: 34px;
}
.login > p {
  margin-top: 13px;
  color: var(--muted);
  font-size: 14px;
}
.login form {
  margin-top: 30px;
}
.login .primary {
  width: 100%;
  margin-top: 8px;
}
label {
  display: block;
  font-size: 13px;
  margin: 18px 0 8px;
  color: #5c596c;
}
input,
textarea,
select {
  width: 100%;
  border: 1px solid #ddd9e3;
  border-radius: 11px;
  padding: 12px 13px;
  color: inherit;
  background: white;
  min-height: 45px;
}
textarea {
  min-height: 90px;
  resize: vertical;
  line-height: 1.5;
}
input[type="file"] {
  font-size: 13px;
}
.outcome-fields {
  margin: 24px 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
summary {
  cursor: pointer;
  font-weight: 500;
}
.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}
.check-row input {
  width: 18px;
  height: 18px;
  min-height: 0;
  accent-color: var(--purple);
}
.password {
  position: relative;
}
.password input {
  padding-right: 50px;
}
.password button {
  position: absolute;
  right: 8px;
  top: 3px;
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  color: var(--muted);
}
.error {
  color: #a6484a;
  font-size: 13px;
  margin-top: 15px;
  min-height: 20px;
}
.form-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 14px;
}
.journal {
  max-width: 780px;
}
.journal-entry {
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}
.journal-entry h2 {
  font-size: 17px;
}
.journal-entry p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 7px;
}
.journal-entry time {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 8px;
}
.section {
  margin: 25px 0;
}
.section h3 {
  margin-bottom: 10px;
}
.section p,
.section li {
  font-size: 14px;
  line-height: 1.6;
  color: #605d70;
}
.section ul {
  padding-left: 18px;
}
.proof-row {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.proof-row dt {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 5px;
}
.proof-row dd {
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 24px;
}
.divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 25px 0;
}
.status-note {
  padding: 15px 18px;
  border-radius: 14px;
  background: #f8f4eb;
  color: #886a42;
  font-size: 13px;
  margin: 18px 0;
}
.status-note.ok {
  background: #eef7f2;
  color: #33785d;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 25px;
  padding: 30px;
  width: min(620px, calc(100vw - 30px));
  max-height: calc(100dvh - 44px);
  color: inherit;
  background: #fff;
  box-shadow: 0 25px 100px #28203d25;
  overflow: auto;
  overscroll-behavior: contain;
}
dialog[open] {
  animation: dialog-in 220ms var(--ease);
}
dialog[open].closing { animation: dialog-out 160ms var(--ease) forwards; pointer-events: none; }
dialog[open].closing::backdrop { animation: backdrop-out 160ms ease forwards; }
dialog::backdrop {
  background: #29223840;
  backdrop-filter: blur(5px);
}
.dialog-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 22px;
}
.dialog-head h2 {
  line-height: 1.25;
}
.icon-button {
  display: grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f6f4f8;
}
.account-actions {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.account-actions button {
  justify-content: flex-start;
}
#notice {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100vw - 30px);
  padding: 12px 20px;
  border-radius: 16px;
  background: #292535;
  color: white;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 150ms;
}
#notice.visible {
  opacity: 1;
}
@media (hover: hover) {
  .card:hover {
    transform: translateY(-2px);
    border-color: #d9cfee;
    box-shadow: 0 10px 25px #3b2e6209;
  }
  .card:hover .view { background: #eae4fb; }
  .source-row:hover { border-color: #d9cfee; box-shadow: 0 6px 16px #3b2e6207; }
  .primary:hover {
    background: #4935c2;
  }
  .secondary:hover {
    background: #e9e3fb;
  }
  .header nav a:hover {
    color: var(--purple);
  }
}
@media (min-width: 1000px) and (min-height: 700px) {
  .today-shell:not(.commercial-shell) { height: calc(100dvh - 106px); margin-top: 16px; margin-bottom: 0; padding-bottom: 24px; display: flex; flex-direction: column; }
  .today-shell:not(.commercial-shell) .welcome { flex: none; margin-bottom: 16px; }
  .today-shell:not(.commercial-shell) .welcome h1 { font-size: 34px; }
  .today-shell:not(.commercial-shell) .welcome p { font-size: 14px; margin-bottom: 8px; }
  .today-shell:not(.commercial-shell) .welcome .companion-mascot { width: 104px; height: 114px; }
  .today-shell:not(.commercial-shell) .property-filter { margin-top: 14px; font-size: 12px; }
  .today-shell:not(.commercial-shell) .property-filter select { padding: 8px 12px; min-height: 36px; }
  .today-shell:not(.commercial-shell) .layout { min-height: 0; flex: 1; }
  .today-findings { min-width: 0; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px 7px 4px 4px; scrollbar-width: thin; scrollbar-color: #ded8e7 transparent; }
  .today-shell:not(.commercial-shell) .tools { max-height: 100%; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #ded8e7 transparent; }
  .today-shell:not(.commercial-shell) .card { padding: 17px 20px; }
  .today-shell:not(.commercial-shell) .card h2 { font-size: 19px; }
  .today-shell:not(.commercial-shell) .card p { font-size: 13px; margin-top: 7px; }
  .today-shell:not(.commercial-shell) .card .property-name { margin-top: 0; margin-bottom: 7px; font-size: 12px; }
  .today-shell:not(.commercial-shell) .card .form-note { font-size: 11px; }
  .today-shell:not(.commercial-shell) .card-footer { margin-top: 12px; }
  .today-shell:not(.commercial-shell) .card-footer .view { padding: 7px 10px; }
}
@media (min-width: 1000px) and (min-height: 700px) and (max-height: 820px) {
  .today-shell:not(.commercial-shell) .cards { gap: 10px; }
  .today-shell:not(.commercial-shell) .card { padding: 13px 18px; }
  .today-shell:not(.commercial-shell) .card p { font-size: 12px; margin-top: 5px; }
  .today-shell:not(.commercial-shell) .card .form-note { font-size: 10px; }
  .today-shell:not(.commercial-shell) .card-footer { margin-top: 8px; font-size: 11px; }
  .today-shell:not(.commercial-shell) .card-footer .view { padding: 5px 10px; }
}
.welcome, .card, .tools, .journal-entry { animation: appear 320ms var(--ease) both; }
.card:nth-child(2) { animation-delay: 35ms; }
.card:nth-child(3) { animation-delay: 70ms; }
.card:active, .source-row:active { transform: scale(.997); }
@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes dialog-out { to { opacity: 0; transform: translateY(8px) scale(.99); } }
@keyframes backdrop-out { to { opacity: 0; } }
@media (max-width: 760px) {
  .header {
    height: auto;
    min-height: 76px;
    padding: 18px 22px 0;
    gap: 9px;
    flex-wrap: wrap;
  }
  #workspace-choice { order: 4; width: 100%; max-width: none; padding-left: 0; }
  .brand {
    font-size: 28px;
  }
  .brand svg {
    width: 23px;
  }
  .header nav {
    margin-left: auto;
    gap: 0;
  }
  .header nav a {
    font-size: 12px;
    padding: 9px;
  }
  .profile {
    margin-left: 0;
    width: 32px;
    height: 32px;
    flex: none;
  }
  .language-toggle { width: 27px; }
  main {
    padding: 0 22px 28px;
    margin-top: 25px;
  }
  .layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .tools {
    padding: 22px;
  }
  .card {
    padding: 22px;
  }
  .welcome { gap: 12px; align-items: flex-end; }
  .welcome .companion-mascot { width: 82px; height: 110px; }
  .welcome h1 { font-size: 30px; }
  .journal-shell .welcome { padding-right: 95px; }
  .journal-shell .welcome .companion-mascot { top: 0; }
  .card-footer { gap: 8px; flex-wrap: wrap; }
  .card-footer .view { margin-left: auto; }
  .empty {
    padding: 27px;
  }
  .login {
    margin-top: 7vh;
  }
  .split {
    grid-template-columns: 1fr;
    gap: 0;
  }
  dialog {
    padding: 23px;
    border-radius: 22px;
    max-height: calc(100dvh - 24px);
  }
  .dialog-head h2 {
    font-size: 23px;
  }
  .actions {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* Companion commercial surface: one attention column, one quiet follow-up rail. */

/* Companion: one action per card; evidence and decisions open on demand. */
:root { --muted:#686676; --line:#e8e5ed; }
#main:focus, dialog:focus { outline:none; }
.commercial-shell { max-width:1208px; margin:20px auto 0; padding-bottom:24px; }
.commercial-welcome { min-height:94px; margin-bottom:22px; }
.commercial-welcome h1 { font-size:36px; line-height:1.15; letter-spacing:-.04em; font-weight:620; }
.commercial-welcome p { font-size:14px; margin-bottom:9px; }
.commercial-welcome .companion-mascot { width:90px; height:102px; object-fit:contain; }
.commercial-shell .layout { grid-template-columns:minmax(0,1fr) 284px; gap:28px; align-items:start; }
.commercial-shell .cards { gap:14px; }
.commercial-shell .today-findings { padding:0; overflow:visible; }
.commercial-shell .commercial-card { position:relative; padding:23px 25px; border-radius:21px; min-height:142px; }
.commercial-period { display:block; color:var(--muted); font-size:13px; line-height:1.45; margin:0 0 8px; }
.commercial-shell .commercial-card h2 { font-size:25px; font-weight:600; line-height:1.22; letter-spacing:-.025em; }
.commercial-shell .commercial-card .action-reason { font-size:13px; line-height:1.5; margin:8px 0 0; padding-right:90px; }
.commercial-shell .commercial-card .action-reason { padding-right:12px; font-size:14px; }
.decision-next { font-size:14px; line-height:1.5; margin-top:12px; padding-right:34px; color:#554d73; font-weight:500; }
.decision-measure { font-size:13px; line-height:1.6; color:var(--muted); }
.decision-measure strong { font-size:17px; color:var(--ink); margin-right:6px; font-variant-numeric:tabular-nums; }
.decision-limit { font-size:13px; line-height:1.6; color:var(--muted); margin:15px 0; }
.coordination { font-size:13px; line-height:1.6; margin:14px 0; color:#605a70; }
.context-reminder { position:relative; display:flex; flex-direction:column; gap:5px; width:100%; text-align:left; border-bottom:1px solid var(--line); padding:13px 20px 13px 0; font-size:13px; line-height:1.45; }
.context-reminder strong { font-weight:550; }
.reminder-date { color:var(--muted); font-size:11px; }
.context-reminder svg { width:15px; height:15px; position:absolute; right:0; bottom:16px; color:var(--purple); }
.context-reminder:focus-visible { outline:2px solid var(--purple); outline-offset:3px; border-radius:4px; }
.commercial-shell .commercial-card .action-value { display:flex; gap:12px; align-items:baseline; margin:15px 0 0; font-size:12px; padding-right:90px; }
.action-value strong { font-size:15px; font-weight:550; color:#34303e; font-variant-numeric:tabular-nums; }
.action-value strong span { font-size:11px; font-weight:400; color:var(--muted); }
.action-view { position:absolute; right:24px; bottom:24px; display:flex; align-items:center; gap:9px; color:var(--purple); font-size:12px; }
.action-view svg { width:18px; height:18px; transition:transform .2s var(--ease); }
.commercial-card:focus-visible { outline:2px solid var(--purple); outline-offset:3px; }
.commercial-aside { display:flex; flex-direction:column; gap:22px; }
.team-panel { padding:25px; border:1px solid var(--line); border-radius:21px; background:#f8f6fc; }
.team-panel h2 { font-size:19px; font-weight:600; letter-spacing:-.025em; margin-bottom:15px; }
.ongoing-empty { font-size:14px; line-height:1.6; }
.ongoing-item { display:flex; text-align:left; flex-direction:column; gap:8px; padding:15px 0; border-bottom:1px solid var(--line); width:100%; }
.ongoing-item strong { font-size:12px; color:var(--purple); }
.ongoing-item span { font-size:15px; font-weight:550; }
.ongoing-item small { color:var(--muted); line-height:1.5; }
.ongoing-item svg { align-self:end; }
.context-entry { display:flex; align-items:center; gap:10px; text-align:left; padding:17px 0 8px; color:var(--purple); font-size:13px; line-height:1.5; width:100%; }
.context-entry svg { width:16px; height:16px; margin-left:auto; }
.team-note { font-size:12px; line-height:1.5; color:var(--muted); margin-top:14px; }
.commercial-watch { display:flex; gap:12px; padding:3px 13px; font-size:12px; line-height:1.6; color:var(--muted); }
.commercial-watch strong { font-size:14px; color:#403d51; font-weight:600; }
.commercial-watch p { margin-top:8px; }
.commercial-watch .text-button { font-size:12px; }
.status-dot { width:6px; height:6px; border-radius:50%; background:#b18e61; flex:none; margin-top:8px; box-shadow:0 0 0 4px #b18e6110; }
.status-dot.ready { background:#4d9c85; box-shadow:0 0 0 4px #4d9c8510; }
.commercial-links { display:flex; gap:25px; flex-wrap:wrap; margin-top:13px; }
.commercial-links .text-button { font-size:12px; min-height:30px; padding:5px 0; color:var(--muted); }
.action-lead { margin:15px 0 22px; font-size:17px; line-height:1.65; color:#393541; }
.action-partners h3 { font-size:14px; font-weight:600; margin:20px 0 9px; }
.action-partners article { display:grid; grid-template-columns:1fr auto; gap:6px 14px; padding:14px 0; border-bottom:1px solid var(--line); }
.action-partners article>strong { font-size:16px; font-weight:550; }
.action-partners article>span { grid-column:1; font-size:12px; color:var(--muted); }
.action-partners article>b { grid-column:2; grid-row:1/3; align-self:center; font-size:15px; font-weight:550; font-variant-numeric:tabular-nums; }
.action-partners article>b span { font-size:11px; color:var(--muted); font-weight:400; }
.action-context { background:#f7f5fc; border-radius:14px; padding:15px 17px; margin-top:22px; }
.action-context strong { font-size:13px; font-weight:600; }
.action-context p { font-size:13px; margin-top:5px; color:#605a70; }
.action-observation { font-size:14px; color:#605a70; margin:10px 0 20px; }
.decision-actions { display:flex; gap:10px; flex-wrap:wrap; margin:20px 0 26px; }
.secondary { border:1px solid var(--line); }
.commercial-evidence { border-top:1px solid var(--line); margin:0; }
.commercial-evidence>summary { padding:18px 0; cursor:pointer; font-weight:500; font-size:14px; }
.commercial-evidence[open] { padding-bottom:20px; animation:appear .2s var(--ease); }
.commercial-facts { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:20px 0; }
.commercial-facts>div { background:#f8f6fc; padding:18px; border-radius:16px; display:flex; flex-direction:column; gap:9px; }
.commercial-facts strong { font-size:24px; font-weight:550; }
.commercial-facts span { font-size:12px; color:var(--muted); }
.commercial-steps { padding-left:23px; margin:18px 0; line-height:1.65; }
.commercial-steps li { padding:6px 0 6px 7px; }
.commercial-steps li::marker { color:var(--purple); }
.partner-investigation { margin-top:6px; }
.partner-target { display:grid; grid-template-columns:1fr auto; gap:12px; padding:18px 0; border-bottom:1px solid var(--line); }
.partner-target>div { display:grid; gap:7px; }
.partner-target>div>span { font-size:13px; color:var(--muted); }
.partner-target details { grid-column:1/-1; font-size:12px; color:var(--muted); }
.partner-zero { display:grid; place-items:center; align-content:center; min-width:75px; }
.partner-zero strong { font-size:26px; font-weight:550; }
.partner-zero small { font-size:11px; color:var(--muted); }
.source-dossiers { margin:14px 0; display:grid; gap:10px; font-size:11px; }
.source-dossiers>div { display:grid; grid-template-columns:55px 1fr auto; gap:8px; }
.source-dossiers strong { font-weight:500; }
.source-code { display:block; margin-top:5px; font-size:10px; color:var(--muted); }
.context-list { margin-top:20px; }
.context-item { border-bottom:1px solid var(--line); padding:0 0 3px; }
.context-item>summary { display:flex; align-items:center; gap:16px; justify-content:space-between; padding:17px 0; cursor:pointer; }
.context-item summary small { display:block; font-size:12px; color:var(--muted); margin-bottom:6px; }
.context-item summary strong { font-size:14px; font-weight:550; line-height:1.5; display:block; }
.context-state { font-size:11px; color:var(--muted); white-space:nowrap; }
.context-item p { font-size:14px; }
.context-item .form-note { font-size:12px; }
.context-item .secondary { margin:15px 0; }
.month-row { border-bottom:1px solid var(--line); padding:2px 0; }
.month-row>summary { display:flex; justify-content:space-between; align-items:center; gap:20px; padding:16px 0; cursor:pointer; }
.month-row>summary strong { font-size:16px; font-weight:550; color:var(--purple); }
.month-row>summary::after { content:'+'; font-size:20px; color:var(--muted); }
.month-row[open]>summary::after { content:'−'; }
.month-row>summary>span { margin-right:auto; }
.month-row[open] { padding-bottom:20px; }
.month-row .commercial-breakdown { padding-top:18px; }
.price-detail { margin-top:20px; }
.price-detail>summary { cursor:pointer; color:var(--purple); }
.price-row { display:flex; flex-wrap:wrap; gap:7px 18px; padding:12px 0; font-size:12px; border-bottom:1px solid var(--line); }
.price-row span:first-child { width:100%; }
.price-row strong { margin-left:auto; font-weight:500; }
@media(hover:hover) {
  .commercial-card:hover { transform:translateY(-2px); border-color:#cfc6e8; box-shadow:0 7px 25px #34255408; }
  .commercial-card:hover .action-view svg { transform:translate(2px,-2px); }
}
@media(min-width:1000px) and (max-height:800px) {
  .header { height:76px; }
  .commercial-shell { margin-top:8px; padding-bottom:12px; }
  .commercial-welcome { min-height:72px; margin-bottom:16px; }
  .commercial-welcome h1 { font-size:32px; }
  .commercial-welcome .companion-mascot { width:70px; height:76px; }
  .commercial-shell .commercial-card { padding:16px 23px; min-height:0; }
  .commercial-shell .commercial-card h2 { font-size:23px; }
  .commercial-shell .cards { gap:11px; }
  .commercial-shell .commercial-card .action-value { margin-top:11px; }
  .action-view { bottom:20px; right:22px; }
}
@media(max-width:999px) {
  .commercial-shell .layout { grid-template-columns:1fr; }
  .commercial-aside { display:grid; grid-template-columns:1fr 1fr; }
  .commercial-welcome h1 { font-size:32px; }
}
@media(max-width:550px) {
  .commercial-shell { margin-top:24px; padding:0 20px 30px; }
  .commercial-welcome { min-height:76px; gap:10px; margin-bottom:20px; }
  .commercial-welcome h1 { font-size:29px; max-width:250px; }
  .commercial-welcome .companion-mascot { width:64px; height:82px; }
  .commercial-shell .commercial-card { padding:22px 20px 56px; border-radius:20px; }
  .commercial-shell .commercial-card h2 { font-size:23px; }
  .commercial-shell .commercial-card .action-reason { font-size:14px; padding-right:0; }
  .commercial-shell .commercial-card .action-value { padding-right:0; flex-direction:column; gap:4px; margin-top:17px; }
  .action-value strong { font-size:18px; }
  .action-view { bottom:20px; right:20px; font-size:13px; }
  .commercial-aside { display:flex; }
  .team-panel { padding:23px; }
  .commercial-watch { padding:0 8px; }
  .commercial-links { gap:4px 20px; }
  .action-lead { font-size:16px; }
  .action-partners article { gap:6px 9px; }
  .action-partners article>strong { font-size:14px; }
  .action-partners article>b { font-size:13px; }
  .decision-actions { gap:8px; }
  .decision-actions .primary,.decision-actions .secondary { padding:11px 13px; font-size:13px; }
  .source-dossiers>div { grid-template-columns:50px 1fr; }
  .source-dossiers strong { grid-column:2; }
  .commercial-facts { gap:8px; }
  .commercial-facts>div { padding:14px; }
}
@media(prefers-reduced-motion:reduce) {
  .commercial-evidence[open] { animation:none; }
  .commercial-card,.action-view svg { transition:none; }
}
.tools-dialog{width:min(740px,calc(100vw - 30px))}
.tools-intro{display:flex;gap:30px;align-items:center;margin-bottom:22px}.tools-intro p{font-size:17px;line-height:1.55;max-width:470px}.tools-intro .companion-mascot{width:86px;height:106px;margin:0}
.connected-tool{display:flex;align-items:center;gap:18px;width:100%;padding:20px;border:1px solid var(--line);border-radius:18px;text-align:left}.connected-tool strong{display:block;font-weight:500;font-size:20px}.connected-tool small{display:block;color:var(--muted);font-size:12px;margin-top:5px}.tool-connected{color:#258b70;font-size:23px;margin-left:auto}
.tool-glyph{display:grid;place-items:center;flex:none;width:47px;height:47px;border-radius:14px;background:var(--soft);color:var(--purple)}.tool-glyph svg{width:25px;height:25px;stroke-width:1.65}.tool-glyph.seven{font-weight:500;font-size:30px;background:#fff;border:1px solid #e5ddff}
.tool-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:20px}.access-choice{position:relative;display:flex;flex-direction:column;align-items:start;text-align:left;border:1px solid var(--line);border-radius:18px;padding:20px;gap:12px;transition:background .18s,border-color .18s,transform .18s}
.access-choice strong{font-size:19px;font-weight:500;letter-spacing:-.02em}.tool-benefit{font-size:13px;line-height:1.5;color:var(--muted)}.tool-link{display:flex;align-items:center;gap:10px;margin-top:auto;color:var(--purple);font-size:13px;padding-top:6px}.tool-link svg{width:17px;height:17px}.access-lock{position:absolute;right:18px;top:20px;width:29px;height:29px;display:grid;place-items:center;border-radius:50%;background:#f3f1f6;color:#948b9f}.access-lock svg{width:16px;height:16px;stroke-width:1.55}
.tools-note{margin-top:22px}.access-heading{display:flex;gap:16px;align-items:center;margin-bottom:20px}.access-heading h3{font-weight:500;font-size:23px}.access-steps li strong{font-weight:500}.access-steps li p{color:var(--muted);font-size:14px;margin-top:4px}
#dialog-content>*{animation:appear .22s var(--ease) both}
@media(hover:hover){.access-choice:hover,.connected-tool:hover{background:#fcfaff;border-color:#d4c9f0}.access-choice:hover .access-lock{background:#eae4fa;color:var(--purple)}}

@media(max-width:550px){.tool-grid{gap:10px}.access-choice{padding:15px}.access-choice strong{font-size:17px}.tool-benefit{font-size:12px}.tool-link{font-size:12px;gap:5px}.access-lock{right:12px;top:17px;width:25px;height:25px}.tools-intro{gap:10px}.tools-intro p{font-size:15px}.tools-intro .companion-mascot{width:65px;height:85px}}
@media(prefers-reduced-motion:reduce){#dialog-content>*{animation:none}.access-choice{transition:none}}

.agency-insight { font-size:13px; line-height:1.6; color:#4e4960; margin-top:15px; }
/* Quiet, progressive disclosure for the real daily investigation. */
.research-status{display:flex;gap:12px;padding:0 0 22px;color:var(--muted);font-size:13px;line-height:1.5}
.research-status p{margin:0 0 4px;color:#20202b}
.research-status time{display:block;font-size:12px}
.research-status .text-button{margin-top:5px;padding-left:0}
.research-facts{display:flex;gap:28px;flex-wrap:wrap;margin:20px 0}
.research-facts>div{display:flex;flex-direction:column-reverse;gap:4px}
.research-facts dt{font-size:12px;color:var(--muted)}
.research-facts dd{margin:0;font-size:30px;font-weight:600;line-height:1.15;letter-spacing:-.04em}
.commercial-card .research-facts{margin:9px 0;gap:24px}
.commercial-card .research-facts dd{font-size:25px}
.commercial-card .research-facts>div{flex-direction:row;align-items:baseline;gap:8px}
.commercial-card .research-facts dd{order:-1}
.commercial-card .research-facts dt{max-width:130px;font-size:11px;line-height:1.25}
.commercial-card:has(.research-facts) .decision-next{font-size:13px;line-height:1.5;margin-top:8px}
.research-steps{padding-left:20px;line-height:1.65}
.research-steps li+li{margin-top:10px}
.research-rejected{padding:14px 0;border-bottom:1px solid var(--line)}
.research-rejected h4{margin:0 0 8px;font-size:16px}
.research-rejected p{margin:0 0 10px;line-height:1.6}
.research-rejected details{font-size:13px}
@media(max-width:760px){.research-facts{gap:18px}.research-facts dd{font-size:27px}.research-status{padding:4px 0 20px}}
@media(min-width:1000px) and (max-height:820px){
  .commercial-aside{gap:16px}
  .research-status{padding-bottom:0}
  .team-panel{padding:20px 24px}
}

.research-stale{font-size:12px;line-height:1.4;color:#906d35;margin:8px 0}

.memory-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:24px 0}.memory-filters label{display:grid;gap:6px}.memory-filters input,.memory-filters select{width:100%;min-width:0}.research-status time{font-size:13px}.research-status .form-note{font-size:12px}
@media(max-width:600px){.memory-filters{grid-template-columns:1fr 1fr;gap:10px}}

@media(min-width:1000px) and (max-height:820px){.commercial-aside{gap:12px}.team-panel{padding:16px 22px}.team-panel h2{margin-bottom:8px}.context-entry{padding-top:12px}.research-status .text-button{min-height:30px}.commercial-watch p{margin-top:5px}}

/* The weekly brief and the analyst's context share one quiet reading surface. */
.executive-home {
  max-width: 1360px;
  margin: 26px auto 0;
  padding: 0 36px 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  grid-template-areas: "welcome analyst" "findings analyst" "links analyst";
  gap: 22px 26px;
  align-items: start;
}
body:has(.executive-home) .header { max-width: 1360px; }
.executive-home .commercial-welcome { grid-area: welcome; min-height: 0; margin: 8px 0 0; }
.executive-home .commercial-welcome h1 { font-size: clamp(30px, 2.7vw, 40px); line-height: 1.14; font-weight: 650; }
.executive-home .commercial-welcome p { font-size: 15px; margin-bottom: 9px; }
.executive-home .commercial-welcome .home-subtitle { font-size: 16px; margin: 10px 0 0; line-height: 1.45; }
.executive-home .today-findings { grid-area: findings; min-width: 0; }
.executive-home .cards { gap: 15px; }
.executive-home .home-finding { display: flex; align-items: center; gap: 22px; padding: 22px; min-height: 195px; border-radius: 19px; border-color: #e9e5f0; }
.home-hotel { width: 84px; flex: none; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 7px; color: #666174; }
.home-hotel-icon { width: 65px; height: 65px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 3px; }
.home-hotel-icon svg { width: 30px; height: 30px; stroke-width: 1.65; }
.home-hotel strong { font-size: 13px; font-weight: 600; color: #49445d; overflow-wrap: anywhere; }
.home-period { font-size: 11px; line-height: 1.45; color: var(--muted); }
.violet .home-hotel-icon, .home-context-glyph.violet { color: var(--purple); background: #f0ecff; }
.mint .home-hotel-icon, .home-context-glyph.mint { color: #388a75; background: #edf8f3; }
.home-finding-copy { display: block; min-width: 0; flex: 1; }
.home-card-meta { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 8px 12px; margin-bottom: 10px; }
.home-category { font-size: 10px; line-height: 1.35; font-weight: 500; color: #655292; background: #f1edfa; padding: 5px 10px; border-radius: 20px; }
.home-category.amber { color: #8a6935; background: #fbf3e5; }
.home-analysis-date { color: #868095; font-size: 10px; line-height: 1.4; }
.executive-home .home-finding h2 { font-size: 20px; font-weight: 620; line-height: 1.25; letter-spacing: -.03em; }
.executive-home .home-finding .home-summary { color: #777184; font-size: 12px; line-height: 1.55; margin: 7px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.home-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 19px; }
.home-metrics { display: flex; flex: 1; flex-wrap: wrap; gap: 14px 20px; margin: 0; }
.home-metrics > div { display: flex; align-items: center; gap: 9px; min-width: 0; }
.home-metrics > div > div { display: flex; flex-direction: column-reverse; gap: 4px; }
.home-metrics dt { color: #827b90; font-size: 10px; line-height: 1.3; max-width: 112px; }
.home-metrics dd { margin: 0; color: #2c263a; font-size: 21px; line-height: 1; font-weight: 620; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.home-metric-icon { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 50%; color: #746b8b; background: #f8f6fc; }
.home-metric-icon svg { width: 17px; height: 17px; stroke-width: 1.6; }
.home-occupancy { width: 34px; height: 34px; flex: none; fill: none; stroke-width: 5; stroke-linecap: butt; }
.home-occupancy-track { stroke: #ede9f6; }
.home-occupancy-value { stroke: var(--purple); }
.executive-home .action-view { position: static; font-size: 11px; padding: 11px 12px; border-radius: 10px; background: var(--soft); flex: none; gap: 8px; }
.executive-home .action-view svg { width: 16px; height: 16px; }
.executive-home .commercial-aside { grid-area: analyst; background: #f7f5fc; border: 1px solid #eae5f5; border-radius: 21px; padding: 24px; gap: 23px; }
.home-mako > div { display: flex; align-items: center; gap: 14px; }
.home-mako .companion-mascot { width: 72px; height: 98px; }
.home-mako h2 { font-size: 16px; font-weight: 600; line-height: 1.35; letter-spacing: -.025em; margin-bottom: 8px; }
.home-mako p { font-size: 12px; line-height: 1.6; color: #797186; }
.home-mako p + p { margin-top: 5px; }
.home-team, .home-sources { border-top: 1px solid #e9e3f2; padding-top: 21px; }
.home-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.home-section-heading h2, .home-sources h2 { font-size: 17px; line-height: 1.3; font-weight: 600; letter-spacing: -.025em; }
.home-section-heading .text-button { margin: 0; padding: 0; min-height: 32px; gap: 7px; font-size: 11px; flex: none; }
.home-section-heading .text-button svg { width: 14px; height: 14px; }
.home-context-item { display: flex; align-items: center; gap: 12px; text-align: left; width: 100%; background: #ffffffc2; border: 1px solid #eae5f2; border-radius: 14px; padding: 14px; }
.home-context-item + .home-context-item { margin-top: 10px; }
.home-context-glyph { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; flex: none; }
.home-context-glyph svg { width: 21px; height: 21px; }
.home-context-copy { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.home-context-hotel { font-size: 11px; color: #797186; }
.home-context-copy strong { font-size: 12px; line-height: 1.35; font-weight: 550; letter-spacing: -.015em; }
.home-context-note { font-size: 12px; line-height: 1.5; color: #797186; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.home-context-copy small { font-size: 9px; line-height: 1.5; color: #92899f; margin-top: 2px; }
.home-context-item > svg { width: 14px; height: 14px; color: var(--purple); }
.home-context-empty { color: var(--muted); font-size: 12px; }
.home-sources h2 { margin-bottom: 17px; }
.home-source { display: flex; gap: 12px; }
.home-source + .home-source { border-top: 1px solid #e9e3f2; margin-top: 14px; padding-top: 14px; }
.home-source h3 { font-size: 13px; font-weight: 600; margin-bottom: 7px; }
.home-source p { font-size: 12px; line-height: 1.65; color: #82798f; }
.home-source .home-source-state { color: #927542; margin: 5px 0; }
.home-source .status-dot { width: 5px; height: 5px; margin-top: 6px; }
.home-source .text-button { font-size: 10px; padding: 4px 0 0; margin-top: 4px; min-height: 26px; gap: 8px; }
.home-source .text-button svg { width: 13px; height: 13px; }
.executive-home .commercial-links { grid-area: links; margin-top: 0; gap: 22px; align-self: start; }
.executive-home .commercial-links .text-button { font-size: 11px; gap: 8px; }
.executive-home .commercial-links svg { width: 15px; height: 15px; }
@media (hover: hover) {
  .executive-home .home-finding:hover { transform: translateY(-1px); box-shadow: none; border-color: #d3cae4; }
  .executive-home .home-finding:hover .action-view svg { transform: translateX(2px); }
  .home-context-item:hover { border-color: #d7cce9; background: #fff; }
}
@media (min-width: 1440px) {
  .executive-home { grid-template-columns: minmax(0, 1fr) 375px; gap: 24px 28px; }
  .executive-home .home-finding { padding: 24px; gap: 24px; min-height: 202px; }
  .executive-home .home-finding h2 { font-size: 22px; }
  .executive-home .home-finding .home-summary { font-size: 13px; }
  .home-metrics { gap: 20px; }
  .home-metrics dt { font-size: 10px; }
  .home-metrics dd { font-size: 23px; }
  .home-category, .home-analysis-date { font-size: 11px; }
  .home-mako h2 { font-size: 17px; }
  .home-mako p { font-size: 13px; }
  .home-context-copy strong { font-size: 13px; }
  .home-context-note, .home-source p { font-size: 12px; }
}
@media (max-width: 1180px) and (min-width: 961px) {
  .executive-home { grid-template-columns: minmax(0, 1fr) 310px; padding-left: 28px; padding-right: 28px; gap: 20px; }
  .executive-home .commercial-aside { padding: 20px; }
  .executive-home .home-finding { gap: 15px; padding: 20px; }
  .home-hotel { width: 64px; }
  .home-hotel-icon { width: 54px; height: 54px; }
  .home-card-bottom { flex-wrap: wrap; gap: 14px; }
  .executive-home .action-view { margin-left: auto; }
  .home-metrics { flex-basis: 100%; gap: 12px; }
  .home-mako .companion-mascot { width: 56px; height: 80px; }
}
@media (max-width: 960px) {
  .executive-home { display: flex; flex-direction: column; margin-top: 22px; padding: 0 28px 30px; gap: 22px; }
  .executive-home > * { width: 100%; }
  .executive-home .commercial-welcome { order: 0; margin: 0; }
  .executive-home .commercial-welcome h1 { max-width: none; font-size: 34px; }
  .executive-home .commercial-welcome .home-subtitle { font-size: 15px; }
  .executive-home .commercial-aside { display: contents; }
  .home-mako, .home-team, .home-sources { width: 100%; }
  .home-mako { order: 1; padding: 17px 22px; background: #f7f5fc; border: 1px solid #eae5f5; border-radius: 17px; }
  .home-mako > div { gap: 17px; }
  .home-mako .companion-mascot { width: 58px; height: 70px; }
  .home-mako h2 { font-size: 16px; margin-bottom: 5px; }
  .home-mako p { font-size: 12px; }
  .home-mako p + p { display: none; }
  .executive-home .today-findings { order: 2; }
  .home-team { order: 3; padding-top: 5px; border-top: 0; }
  .home-context-item { padding: 16px; }
  .home-context-copy strong { font-size: 14px; }
  .home-context-hotel, .home-context-note, .home-source p { font-size: 12px; }
  .home-context-copy small { font-size: 10px; }
  .home-sources { order: 4; padding-top: 22px; }
  .home-source h3 { font-size: 15px; }
  .home-source .text-button { font-size: 12px; }
  .executive-home .commercial-links { order: 5; gap: 6px 20px; }
}
@media (max-width: 600px) {
  .executive-home { padding: 0 20px 28px; margin-top: 18px; gap: 20px; }
  .executive-home .commercial-welcome h1 { font-size: 30px; max-width: 330px; }
  .executive-home .commercial-welcome p { font-size: 14px; }
  .executive-home .commercial-welcome .home-subtitle { font-size: 14px; }
  .home-mako { padding: 14px 17px; }
  .home-mako .companion-mascot { width: 49px; height: 68px; }
  .home-mako h2 { font-size: 15px; }
  .executive-home .home-finding { display: block; padding: 19px; min-height: 0; border-radius: 17px; }
  .home-hotel { flex-direction: row; width: 100%; text-align: left; gap: 9px; flex-wrap: wrap; margin-bottom: 16px; }
  .home-hotel-icon { width: 36px; height: 36px; margin: 0; }
  .home-hotel-icon svg { width: 21px; height: 21px; }
  .home-hotel strong { font-size: 13px; }
  .home-period { margin-left: auto; font-size: 10px; max-width: 46%; text-align: right; }
  .home-card-meta { gap: 8px; margin-bottom: 9px; }
  .home-analysis-date { font-size: 9px; }
  .home-category { font-size: 9px; padding: 4px 8px; }
  .executive-home .home-finding h2 { font-size: 21px; }
  .executive-home .home-finding .home-summary { font-size: 12px; margin-top: 9px; }
  .home-card-bottom { flex-direction: column; align-items: stretch; margin-top: 20px; gap: 18px; }
  .home-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .home-metrics > div { flex-direction: column; align-items: start; gap: 9px; }
  .home-metrics > div > div { gap: 6px; }
  .home-metrics dt { font-size: 10px; line-height: 1.4; }
  .home-metrics dd { font-size: 23px; }
  .home-metric-icon, .home-occupancy { width: 28px; height: 28px; }
  .home-metric-icon svg { width: 16px; height: 16px; }
  .executive-home .action-view { align-self: end; font-size: 12px; min-height: 40px; padding: 10px 13px; }
  .home-context-glyph { width: 36px; height: 36px; }
  .home-context-item { padding: 15px; gap: 10px; }
  .home-context-item > svg { width: 14px; }
  .home-section-heading h2, .home-sources h2 { font-size: 19px; }
  .home-source p { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .executive-home .home-finding, .home-context-item { animation: none; transition: none; }
  .executive-home .home-finding:hover { transform: none; }
}

/* Desktop keeps the brief's frame still; each column scrolls independently. */
@media (min-width: 961px) {
  body:has(.executive-home) { height: 100dvh; overflow: hidden; display: grid; grid-template-rows: 90px minmax(0,1fr); }
  body:has(.executive-home) .header { width: 100%; height: 90px; }
  .executive-home { width: 100%; height: 100%; min-height: 0; margin: 0 auto; padding-top: 18px; padding-bottom: 18px; grid-template-rows: auto minmax(0,1fr) auto; }
  .executive-home .today-findings { height: 100%; min-height: 0; overflow-y: auto; overscroll-behavior-y: contain; scrollbar-width: thin; scrollbar-color: #d4cce5 transparent; padding: 5px 7px 5px 5px; margin: -5px 0 -5px -5px; }
  .executive-home .cards { padding: 0 0 4px; }
  .executive-home .commercial-aside { height: 100%; min-height: 0; gap: 18px; padding: 20px; overflow-y: auto; overscroll-behavior-y: contain; scrollbar-width: thin; scrollbar-color: #d4cce5 transparent; }
  .executive-home .commercial-aside > * { flex-shrink: 0; }
  .executive-home .commercial-links { align-self: end; }
}
@media (min-width: 961px) and (max-height: 820px) {
  body:has(.executive-home) { grid-template-rows: 72px minmax(0,1fr); }
  body:has(.executive-home) .header { height: 72px; }
  .executive-home { padding-top: 10px; padding-bottom: 14px; row-gap: 15px; }
  .executive-home .commercial-welcome { margin-top: 0; }
  .executive-home .commercial-welcome h1 { font-size: 32px; }
  .executive-home .commercial-welcome .home-subtitle { margin-top: 7px; font-size: 14px; }
  .executive-home .commercial-aside { padding: 16px 18px; gap: 14px; }
  .executive-home .home-mako .companion-mascot { width: 55px; height: 65px; }
  .executive-home .home-mako h2 { font-size: 15px; }
  .executive-home .home-mako p { font-size: 12px; }
  .executive-home .home-section-heading { margin-bottom: 10px; }
  .executive-home .home-context-item { padding: 10px; gap: 9px; }
  .executive-home .home-context-item + .home-context-item { margin-top: 7px; }
  .executive-home .home-context-note { -webkit-line-clamp: 1; }
  .executive-home .home-context-copy small { display: none; }
  .executive-home .home-context-glyph { width: 30px; height: 30px; }
  .executive-home .home-sources h2 { margin-bottom: 10px; }
  .executive-home .home-source p { font-size: 11px; line-height: 1.5; }
  .executive-home .home-source + .home-source { margin-top: 9px; padding-top: 9px; }
  .executive-home .home-source h3 { margin-bottom: 5px; }
}

/* Compact follow-ups and a human activity journal. */
.home-followup-group + .home-followup-group { margin-top: 20px; }
.home-followup-group h3 { font-size: 11px; font-weight: 500; margin: 0 0 10px; color: #514b60; }
.home-memory-link { display: flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 11px; }
.home-memory-link .home-context-glyph { width: 30px; height: 30px; }
.home-memory-link .home-context-glyph svg { width: 16px; height: 16px; }
.home-memory-link > svg { width: 14px; height: 14px; }
.home-context-hotel time { display: inline; }
.journal-shell { max-width: 1040px; }
.journal-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 20px 0 28px; }
.journal-hotel select { width: auto; min-width: 150px; font-size: 12px; padding: 10px 32px 10px 12px; }
.journal-toolbar .text-button { margin: 0; font-size: 12px; }
.journal-timeline { max-width: none; }
.journal-day { display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 550; color: var(--muted); margin: 26px 0 12px; }
.journal-day::after { content: ''; height: 1px; background: var(--line); flex: 1; }
.journal-day time { flex: none; }
.journal-timeline .journal-entry { position: relative; display: grid; grid-template-columns: 50px 36px minmax(0,1fr); gap: 14px; padding: 12px 0 20px; border: 0; }
.journal-timeline .journal-entry::before { content: ''; position: absolute; width: 1px; background: #e5def4; top: 44px; bottom: -12px; left: 82px; }
.journal-timeline .journal-entry:has(+ .journal-day)::before, .journal-timeline .journal-entry:last-of-type::before { bottom: 15px; }
.journal-timeline .journal-hour { font-size: 11px; margin: 5px 0 0; font-variant-numeric: tabular-nums; }
.journal-avatar { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #f0ecff; color: var(--purple); z-index: 1; }
.journal-avatar svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.journal-timeline .journal-action { margin: 2px 0 4px; color: #20202b; font-size: 12px; }
.journal-timeline .journal-scope { font-size: 12px; margin: 0 0 5px; }
.journal-scope time { display: inline; font-size: inherit; margin: 0; }
.journal-subject { font-size: 14px; font-weight: 550; line-height: 1.45; margin: 0 0 8px; letter-spacing: -.015em; }
.journal-status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 20px; font-size: 11px; background: #f1edfa; color: #655292; }
.journal-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.journal-status.confirmed, .journal-status.closed { background: #edf8f3; color: #388a75; }
.journal-status.reported { background: #fbf3e5; color: #8a6935; }
.journal-timeline .journal-entry .text-button { display: flex; width: fit-content; font-size: 12px; margin-top: 5px; padding-left: 0; }
.journal-timeline .journal-conclusion { max-width: 680px; line-height: 1.6; }
.journal-analysis { border-top: 1px solid var(--line); margin-top: 26px; padding-top: 15px; color: var(--muted); }
.journal-analysis > summary { cursor: pointer; width: fit-content; font-size: 12px; }
.journal-more { margin-left: 114px; }
@media (max-width: 680px) {
  .journal-toolbar { gap: 12px; flex-wrap: wrap; }
  .journal-toolbar .text-button { font-size: 11px; }
  .journal-hotel select { min-width: 135px; }
  .journal-timeline .journal-entry { grid-template-columns: 36px minmax(0,1fr); column-gap: 12px; row-gap: 0; }
  .journal-timeline .journal-hour { grid-column: 2; margin-bottom: 7px; }
  .journal-avatar { grid-column: 1; grid-row: 1 / span 2; }
  .journal-entry-body { grid-column: 2; }
  .journal-timeline .journal-entry::before { left: 18px; top: 47px; }
  .journal-day { font-size: 12px; }
  .journal-more { margin-left: 48px; }
}

.journal-hotel .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; }
