:root{--surface-shadow:0 2px 10px rgba(22,34,28,.045);--surface-shadow-raised:0 5px 18px rgba(22,34,28,.065);--surface-shadow-focus:0 0 0 3px rgba(47,103,83,.11)}

/* Visual polish v1: one restrained elevation language across the hotel app. */
.login-card,.panel,.today-card,.today-executive,.client-overview,.copilot-role-card,.copilot-command-panel,.copilot-dock,.chat-composer,.chat-bubble.user{box-shadow:var(--surface-shadow)!important}
.copilot-dock{box-shadow:var(--surface-shadow-raised)!important}
.chat-composer:focus-within{box-shadow:var(--surface-shadow-focus)!important}

/* Redundant labels are removed by JS; these rules also prevent a first-paint flash. */
.tenant-label,#screen-overview .page-head .kicker,.client-overview-kicker,.top-actions #sync-label{display:none!important}
#screen-overview .page-head button[onclick*="organization"]{display:none!important}

/* Header: hotel identity + one temporary Settings entry until the navigation refactor. */
.topbar>div:first-child{display:flex;align-items:center;min-width:0}
.topbar #tenant-name{font:700 14px/1.2 Manrope,Figtree,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.top-actions{gap:10px}
.top-settings{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 11px;border:1px solid #d9ded9;border-radius:9px;background:#fff;color:#355246;text-decoration:none;font-size:12px;font-weight:700;transition:background .16s ease,border-color .16s ease}
.top-settings:hover{background:#f5f8f6;border-color:#c8d3cc}
.top-settings:focus-visible{outline:2px solid #35684f;outline-offset:2px}

/* Overview briefing: same geometry, typography and rhythm for all three answers. */
.today-executive{padding:22px!important;border-color:#e1e4df!important;background:#fff!important}
.today-head{align-items:center!important}
.today-kicker{display:none!important}
.today-head h2{font:700 24px/1.22 Manrope,Figtree,sans-serif!important;letter-spacing:-.025em}
.today-head button{background:#fff!important;color:#315d49!important;border:1px solid #d8dfda!important;min-height:36px!important;padding:8px 12px!important}
.today-questions{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;align-items:stretch!important}
.today-questions article{display:flex!important;flex-direction:column!important;min-width:0!important;min-height:164px!important;padding:17px 17px 16px!important;border:1px solid #e2e5e1!important;border-left-width:3px!important;border-radius:14px!important;background:#fbfcfb!important;box-shadow:none!important}
.today-questions article.today-status-positive{border-left-color:#4d8068!important;background:#f8fbf9!important}
.today-questions article.today-status-stable{border-left-color:#84988b!important;background:#fafbf9!important}
.today-questions article.today-status-attention{border-left-color:#b36b58!important;background:#fffaf8!important}
.today-questions article.today-status-neutral{border-left-color:#c7c4ba!important;background:#fbfaf8!important}
.today-questions article>span{display:block!important;min-height:30px!important;font:800 10.5px/1.35 Manrope,Figtree,sans-serif!important;letter-spacing:.055em!important;color:#657169!important}
.today-questions article>p{margin:11px 0 0!important;font-size:14px!important;line-height:1.52!important;color:#24342c!important}
.today-signal-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;align-items:stretch!important;margin:14px 0 20px!important}
.today-signal-grid>section{min-width:0!important;min-height:112px!important;padding:15px 16px!important;border:1px solid #e2e5e1!important;border-radius:14px!important;background:#fbfcfb!important}
.today-positive{background:#f8fbf9!important;border-color:#d7e3dc!important}
.today-alert-summary{background:#fffaf8!important;border-color:#eaded9!important}
.today-subhead{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:start!important;gap:10px!important;min-height:31px!important;margin-bottom:10px!important}
.today-subhead strong{font:700 13px/1.35 Manrope,Figtree,sans-serif!important;color:#25372e!important}
.today-subhead span{font-size:10px!important;line-height:1.35!important;letter-spacing:.045em!important;text-transform:none!important;color:#818982!important;text-align:right!important}
.today-alert-summary #today-alert-count{align-items:center!important}
.today-alert-summary #today-alert-count strong{font:750 27px/1 Manrope,Figtree,sans-serif!important;color:#60473f!important}
.today-brief.priority-alta,.today-brief.priority-media{box-shadow:none!important}
.today-brief.priority-alta{border-left:3px solid #b36b58!important}
.today-brief.priority-media{border-left:3px solid #aa824d!important}

/* Copilot briefing now lives immediately below the three executive answers. */
#today-brief-card{margin:12px 0 14px!important;padding:18px!important;border:1px solid #dce4df!important;border-radius:14px!important;background:#f8faf9!important;box-shadow:none!important}
#today-brief-card .today-brief-live{align-items:flex-start!important}
#today-brief-card .copilot-icon{width:32px!important;height:32px!important;border-radius:9px!important}
#today-brief-card #today-brief-title{font:700 15px/1.3 Manrope,Figtree,sans-serif!important;margin-bottom:5px!important}
#today-brief-card #today-brief-copy{max-width:920px;font-size:13.5px!important;line-height:1.55!important;color:#55635b!important}
.today-brief-suggestions{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}
.today-brief-suggestions button{border:1px solid #d4ddd7;border-radius:999px;background:#fff;color:#315d49;padding:7px 10px;font:700 11.5px/1.2 Figtree,system-ui,sans-serif;cursor:pointer}
.today-brief-suggestions button:hover{background:#f1f6f3;border-color:#becfc4}
.today-brief-suggestions button:focus-visible{outline:2px solid #35684f;outline-offset:2px}
.today-brief-actions{margin-top:10px!important}
.today-brief-actions button,.today-brief-actions a{min-height:34px!important;display:inline-flex!important;align-items:center!important;box-shadow:none!important}

/* KPI panorama: remove the dashboard-inside-dashboard effect and use the same surface system. */
.client-overview{background:#fff!important;color:#24312a!important;border:1px solid #e1e4df!important;border-radius:18px!important;padding:20px!important;box-shadow:var(--surface-shadow)!important}
.client-overview-kicker{display:none!important}
.client-overview h2,.client-overview h3,.client-overview strong{color:#24312a!important}
.client-overview p,.client-overview span,.client-overview small{color:#717b74}
.client-overview-head{align-items:flex-start!important}
.client-overview-head p{max-width:760px!important;color:#6f7972!important}
.client-overview-actions button,.client-overview-actions a{background:#fff!important;color:#315d49!important;border:1px solid #d9dfdb!important;box-shadow:none!important}
.client-overview-meta span{background:#f6f8f6!important;border:1px solid #e0e5e1!important;color:#68736c!important}
.client-kpi-grid{gap:10px!important}
.client-kpi{background:#fafbf9!important;border:1px solid #e2e6e2!important;box-shadow:none!important}
.client-kpi .value{color:#21342a!important}
.client-kpi .label,.client-kpi .sub{color:#747d77!important}
.client-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;align-items:stretch!important}
.client-overview-panel,.client-overview-panel.wide{grid-column:auto!important;background:#fff!important;border:1px solid #e2e5e1!important;color:#26352e!important;box-shadow:none!important;min-width:0!important}
.client-overview-panel.wide{grid-column:1/-1!important}
.client-overview-panel h3,.client-overview-panel strong{color:#26352e!important}
.client-overview-panel .muted,.client-overview-panel small,.client-overview-panel p{color:#727d76!important}
.client-insight,.client-alert,.client-channel-row,.client-event-row{background:#fafbf9!important;border-color:#e5e8e5!important;color:#2b3b32!important;box-shadow:none!important}
.client-alert.danger{background:#fff9f7!important;border-color:#eadbd6!important}
.client-alert.warn{background:#fffbf4!important;border-color:#ebe1ce!important}
.client-alert.ok{background:#f7faf8!important;border-color:#dce6df!important}
.client-chart svg text{fill:#748078!important}

/* Copilot: remove dead grid space and keep the memory card comfortably readable. */
.copilot-grid{grid-template-columns:1fr!important;gap:14px!important}
.copilot-approvals,.copilot-memory{grid-column:1/-1!important;min-width:0!important}
.copilot-role-card,.copilot-command-panel,.brief-center,.brief-settings,.copilot-approvals,.copilot-memory{box-shadow:var(--surface-shadow)!important}

/* Chat: flatter composer and answer surfaces; the obsolete square stop control is never surfaced. */
.chat-bubble.user{box-shadow:none!important}
.chat-composer{box-shadow:var(--surface-shadow)!important}
.chat-composer:focus-within{box-shadow:var(--surface-shadow-focus)!important}
#copilot-chat-stop{display:none!important}

@media(max-width:900px){
  .today-questions,.today-signal-grid,.client-overview-grid{grid-template-columns:1fr!important}
  .today-questions article{min-height:0!important}
  .today-subhead{grid-template-columns:1fr!important;min-height:0!important}
  .today-subhead span{text-align:left!important}
  .client-overview-panel,.client-overview-panel.wide{grid-column:1!important}
}
@media(max-width:620px){
  .topbar #tenant-name{max-width:42vw}
  .top-settings{padding:0 9px;font-size:11px}
  #today-brief-card{padding:15px!important}
}
