/* Workspace home: quiet status, compact destinations, optional people context. */
.o_landing { background: var(--o-ground); }
.o_landing_inner { width: min(1120px, 100%); padding: 30px 28px 36px; }
.o_landing h1 { font-size: clamp(24px, 2.5vw, 30px); line-height: 1.2; }
.o_launch_header { align-items: center; gap: 20px; padding-bottom: 14px; }
.o_landing_lead { margin-top: 4px; font-size: 13px; }
.o_launch_actions { gap: 22px; }
.o_launch_time { font-size: 16px; }
.o_launch_continue { font-size: 12px; color: var(--o-brand-dark); }
.o_launch_continue:hover { color: var(--o-brand-deep); }
.o_launch_context { min-height: 28px; border: 0; padding: 0; margin-bottom: 8px; background: transparent; flex-wrap: wrap; row-gap: 6px; }
.o_launch_context_item { padding: 0 12px; }
.o_home_workspace_grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.o_landing .o_area_card { min-height: 94px; padding: 14px; gap: 12px; grid-template-columns: 38px minmax(0, 1fr) 16px; border-radius: 9px; }
.o_landing .area-icon { width: 38px; height: 38px; border-radius: 9px; }
.o_landing .area-icon svg { width: 23px; height: 23px; }
.o_landing .area-copy strong { font-size: 15px; }
.o_landing .area-copy span { font-size: 12px; }
.o_landing .o_area_card.recent { border-left: 3px solid var(--area); padding-left: 12px; }
.o_landing .o_area_card.recent :is(.area-icon, .area-copy, .area-open) { margin-top: 0; }
.o_launch_board { margin-top: 18px; }
.o_landing_recent { margin-top: 20px; padding-top: 14px; border-color: var(--o-border); }
.o_landing_recent_item { min-height: 48px; }
.o_home_celebrations { margin: 16px 0 0; padding: 12px 14px; border-left: 3px solid var(--o-brand); background: var(--o-sheet); border-radius: 0 8px 8px 0; }
.o_home_celebrations_heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.o_home_celebrations h2 { margin: 0; font-size: 13px; color: var(--o-text-strong); }
.o_home_celebrations_heading > span, .o_home_celebrations_empty { font-size: 11px; color: var(--o-muted); }
.o_home_celebrations_empty { margin: 0; }
.o_home_celebrations_list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; list-style: none; padding: 0; margin: 12px 0 0; }
.o_home_celebrations_list li { display: flex; align-items: center; gap: 10px; min-width: 0; }
.o_home_celebration_mark { font-size: 21px; }
.o_home_celebrations_list li > div { display: grid; gap: 2px; flex: 1; min-width: 0; }
.o_home_celebrations_list strong { font-size: 13px; color: var(--o-text-strong); overflow-wrap: anywhere; }
.o_home_celebrations_list div span, .o_home_event_date { font-size: 11px; color: var(--o-muted); }
.o_home_today { color: var(--o-brand-dark); background: var(--o-brand-soft); padding: 3px 7px; border-radius: 5px; font-size: 11px; font-weight: 700; }
.o_home_team { color: var(--o-muted); font-size: 12px; margin-bottom: 12px; }
.o_home_team summary { cursor: pointer; padding: 6px 0; min-height: 32px; }
.o_home_team_names { padding: 0 12px; border-left: 2px solid var(--o-border); max-width: 650px; }
.o_home_team_names p { margin: 5px 0; line-height: 1.6; }
.o_home_team_names strong { display: block; color: var(--o-text-strong); font-size: 11px; }
.o_home_notice { display: flex; gap: 12px; padding: 12px 14px; margin: 12px 0; background: var(--o-brand-soft); color: var(--o-text); border-radius: 7px; font-size: 13px; line-height: 1.5; }
.o_home_notice strong { flex-shrink: 0; color: var(--o-brand-dark); }
.o_home_notice > span { white-space: pre-wrap; overflow-wrap: anywhere; }
.o_home_downloads { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin-top: 20px; padding-top: 10px; border-top: 1px solid var(--o-border); color: var(--o-muted); font-size: 12px; }
.o_home_store_link { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: var(--o-brand-dark); text-decoration: none; font-weight: 600; }
.o_home_store_link:hover { text-decoration: underline; }
.o_home_notice_editor { margin-left: auto; }
.o_home_notice_editor summary { cursor: pointer; padding: 12px 0; }
.o_home_notice_editor[open] { flex-basis: 100%; margin-left: 0; }
.o_home_notice_editor form { display: grid; gap: 12px; max-width: 600px; background: var(--o-sheet); padding: 16px; border: 1px solid var(--o-border); border-radius: 8px; }
.o_home_notice_editor label { display: grid; gap: 6px; }
.o_home_notice_editor :is(textarea, input) { width: 100%; min-height: 42px; padding: 8px; border: 1px solid var(--o-border); border-radius: 5px; background: var(--o-ground); color: var(--o-text); font: inherit; }
.o_home_notice_actions { display: flex; flex-wrap: wrap; gap: 8px; }
.o_home_notice_actions button { min-height: 44px; }
.o_landing :is(summary, a):focus-visible { outline: 2px solid var(--o-brand-dark); outline-offset: 3px; border-radius: 4px; }
.o_landing [hidden] { display: none !important; }
html[data-theme="dark"] .o_landing .o_launch_context { background: transparent; }
@media (max-width: 800px) {
  .o_home_workspace_grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .o_launch_continue { white-space: normal; }
}
@media (max-width: 720px) {
  .o_landing_inner { padding: 20px 16px calc(24px + var(--o-safe-bottom, 0px)); }
  .o_launch_header { display: block; padding-bottom: 6px; }
  .o_launch_welcome h1 { font-size: 25px; }
  .o_launch_actions { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 10px; }
  .o_landing .o_launch_datetime { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 6px; border: 0; padding: 0; background: transparent; }
  .o_launch_time { font-size: 12px; }
  .o_launch_date { font-size: 12px; white-space: normal; }
  .o_launch_continue { width: auto; min-height: 44px; padding: 0; color: var(--o-brand-dark); background: transparent; box-shadow: none; border-radius: 0; font-size: 12px; justify-content: flex-start; }
  .o_launch_context { margin: 4px 0; min-height: 28px; font-size: 11px; }
  .o_launch_context_item { padding: 0 7px; }
  .o_home_team summary { min-height: 44px; display: list-item; padding: 12px 0; font-size: 11px; }
  .o_home_team { margin-bottom: 4px; }
  .o_home_workspace_grid { grid-template-columns: 1fr; gap: 8px; }
  .o_landing .o_area_card { min-height: 72px; padding: 11px 12px; }
  .o_landing .o_area_card.recent { padding-left: 10px; }
  .o_home_celebrations_list { grid-template-columns: 1fr; }
  .o_home_notice { display: block; }
  .o_home_notice strong { display: block; margin-bottom: 3px; }
  .o_landing_recent_list { grid-template-columns: 1fr; }
  .o_home_downloads { gap: 0 16px; }
  .o_home_downloads > span { flex-basis: 100%; }
  .o_home_notice_editor { margin-left: 0; }
}

/* The launch board uses two balanced rows at desktop widths. */
.o_landing_inner { width: min(1240px, 100%); padding: 22px 28px 18px; }
.o_launch_header { gap: 18px; }
.o_launch_welcome { flex: 1; }
.o_launch_welcome h1 { font-size: clamp(22px, 2vw, 28px); }
.o_launch_actions { flex-direction: column; align-items: flex-end; gap: 2px; }
.o_launch_continue { min-height: 32px; padding: 4px 0; font-size: 11px; }
.o_home_workspace_grid { display: grid; grid-template-columns: 1fr; }
.o_home_workspace_row { display: grid; grid-template-columns: repeat(var(--workspace-columns), minmax(0, 1fr)); gap: 10px; }
.o_launch_board { margin-top: 10px; }
.o_landing_attention { margin-bottom: 0; padding: 7px 12px; }
.o_landing_recent { margin-top: 16px; padding-top: 12px; }
.o_home_downloads { margin-top: 12px; padding-top: 4px; }
.o_home_celebrations { position: relative; flex: 0 1 300px; min-width: 0; margin: 0; padding: 0; border: 0; background: transparent; }
.o_home_celebrations > summary { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; cursor: pointer; font-size: 12px; color: var(--o-brand-dark); list-style: none; }
.o_home_celebrations > summary::-webkit-details-marker { display: none; }
.o_home_celebration_label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.o_home_celebrations_panel { position: absolute; z-index: 10; top: 100%; left: 50%; transform: translateX(-50%); width: min(380px, calc(100vw - 48px)); max-height: 320px; overflow: auto; padding: 16px; border: 1px solid var(--o-border); border-radius: 8px; background: var(--o-sheet); box-shadow: 0 8px 24px #0002; }
.o_home_celebrations_list { grid-template-columns: 1fr; }
@media (max-width: 1000px) and (min-width: 721px) {
  .o_landing .o_area_card { grid-template-columns: 30px minmax(0, 1fr); padding: 12px; gap: 8px; }
  .o_landing .area-icon { width: 30px; height: 30px; }
  .o_landing .area-open { display: none; }
  .o_landing .area-copy strong { font-size: 13px; }
}
@media (max-width: 720px) {
  .o_landing_inner { padding: 14px 16px calc(12px + var(--o-safe-bottom, 0px)); }
  .o_launch_header { display: flex; flex-wrap: wrap; gap: 0 12px; }
  .o_launch_welcome { flex-basis: 100%; }
  .o_launch_welcome h1 { font-size: 23px; }
  .o_landing_lead { display: none; }
  .o_launch_actions { margin-top: 4px; align-items: flex-start; }
  .o_launch_continue { display: none; }
  .o_home_celebrations { flex-basis: 100%; order: 3; }
  .o_home_celebrations > summary { justify-content: flex-start; }
  .o_home_workspace_grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .o_home_workspace_row { display: contents; }
  .o_landing .o_area_card { min-height: 64px; padding: 10px; gap: 8px; grid-template-columns: 28px minmax(0, 1fr); }
  .o_landing .area-icon { width: 28px; height: 28px; }
  .o_landing .area-icon svg { width: 20px; height: 20px; }
  .o_landing .area-copy strong { font-size: 13px; }
  .o_landing .area-copy > span, .o_landing .area-open { display: none; }
  .o_landing_recent { margin-top: 12px; padding-top: 8px; }
  .o_landing_recent_list { gap: 4px; }
  .o_landing_recent_item { min-height: 44px; padding: 6px 10px; }
  .o_landing_recent_heading > span { display: none; }
  .o_home_downloads { gap: 0 12px; font-size: 11px; }
  .o_home_downloads > span { display: none; }
}
@media (min-width: 721px) and (max-height: 800px) {
  .o_landing_inner { padding-top: 14px; padding-bottom: 10px; }
  .o_launch_header { padding-bottom: 8px; }
  .o_landing .o_area_card { min-height: 80px; }
  .o_home_team { margin-bottom: 4px; }
  .o_home_notice { margin: 6px 0; padding: 8px 12px; }
}
