/* ═══════════════════════════════════════════════════════════════════════════
   TODAY, CALM (founder 2026-10-31: "the app feels crowded", "show one example").
   The one example the rest of the app follows once she approves it. Loaded after
   today-arranged.css; every rule is scoped to the room js/20-today.js marks
   .td--calm, so removing that one class word restores the arranged room exactly.

   What changes, and why (constitution §1, §4, §6, §9; her rule: no divider lines):
   1. One column of squares beside the hero from 1024px, not two by two: the eye
      reads one thing at a time, top to bottom, while the hero stays in view.
   2. The squares keep the indigo glass, at half strength: a thin light edge, a light
      tint, a soft top light, a faint depth shadow instead of the blue glow.
   3. Space separates, never a line: the Clear Head rows lose their hairlines,
      the rows of Your Areté gain air.
   4. One primary action on the screen: while Today is open the header's
      "Check a decision" stands quiet, because the hero's pill is the same act.
   Every function stays where it was and reachable (her ruling "nothing hidden").
   ═══════════════════════════════════════════════════════════════════════════ */

/* 1 · the room: hero left, one reading column right, more air between them */
@media (min-width:1024px){
  #view-brief .td.td--arranged.td--calm:not(#_):not(#__):not(#___):not(#____):not(#_____){
    grid-template-columns:minmax(0,5fr) minmax(0,6fr) !important; column-gap:72px !important; max-width:1180px !important;
  }
  /* the hero stays in view while the column reads */
  #view-brief .td--arranged.td--calm .td-hero:not(#_):not(#__):not(#___):not(#____){ position:sticky !important; top:24px; align-self:start; }
  #view-brief .td--arranged.td--calm .td-squares:not(#_):not(#__):not(#___):not(#____){
    grid-template-columns:minmax(0,1fr) !important; gap:40px !important; max-width:620px; padding-top:28px;
  }
  #view-brief .td--arranged.td--calm .td-foot:not(#_):not(#__):not(#___):not(#____){ justify-self:start !important; margin-top:28px !important; }
  #view-brief .td--arranged.td--calm .td-foot .td-sqhint:not(#_){ text-align:left; }
}

/* 2 · the squares: the original indigo glass, quieter (founder 2026-10-31: "i liked the original color
   like indigo and glasmorphism but can we introduce it in a calmer way"; ui-ux-pro-max glass rules:
   blur 10-20px, one subtle 1px light edge, low tint, text contrast 4.5:1 kept).
   Same colour family as today-arranged.css, every value about two thirds (her 'a little bit more glass'), then more see-through and premium: a thinner tint, a stronger frost, a brighter light along the top edge: lighter tint, a thinner edge,
   a soft top light, and the blue glow under each square reduced to a faint depth shadow. */
#view-brief .td--arranged.td--calm .td-squares .td-clear:not(#_):not(#__):not(#___):not(#____),
#view-brief .td--arranged.td--calm .td-squares .td-attn-wrap:not(#_):not(#__):not(#___):not(#____),
#view-brief .td--arranged.td--calm .td-squares #td-now:not(#_):not(#__):not(#___):not(#____),
#view-brief .td--arranged.td--calm .td-squares .td-rooms:not(#_):not(#__):not(#___):not(#____){
  /* the values live in tokens.css (--calm-glass-*), shared with every calm screen */
  border:1px solid var(--calm-glass-edge) !important;
  background:var(--calm-glass-bg) !important;
  -webkit-backdrop-filter:var(--calm-glass-blur) !important; backdrop-filter:var(--calm-glass-blur) !important;
  box-shadow:var(--calm-glass-shadow) !important;
  transition:border-color .3s ease, background .3s ease;
  padding:28px 28px 26px !important; border-radius:var(--calm-glass-radius);
}
@media (hover:hover){
  #view-brief .td--arranged.td--calm .td-squares .td-clear:hover, #view-brief .td--arranged.td--calm .td-squares .td-attn-wrap:hover,
  #view-brief .td--arranged.td--calm .td-squares #td-now:hover, #view-brief .td--arranged.td--calm .td-squares .td-rooms:hover{ border-color:var(--calm-glass-edge-hover) !important; }
}
/* the square lifted to move keeps a visible state */
#view-brief .td--arranged.td--calm .td-squares .td-sq-lifted:not(#_):not(#__):not(#___):not(#____){ border-color:rgba(160,225,255,.30) !important; }
#view-brief .td--arranged.td--calm .td-squares .td-sq-target:not(#_):not(#__):not(#___):not(#____){ border-color:rgba(160,225,255,.22) !important; }

/* the label of each square: the same Ice Blue line on all four (her ruling, today-home.css), Clear Head included,
   and every label starts on the same left edge as the words under it */
#view-brief .td.td--arranged.td--calm:not(#_):not(#__):not(#___):not(#____) .td-ch__h{ margin:0 0 10px !important; font:500 var(--fs-13)/1.3 var(--f-body) !important; color:var(--mg-ice) !important; }
#view-brief .td.td--arranged.td--calm:not(#_):not(#__):not(#___):not(#____):not(#_____) .td-rooms__h,
#view-brief .td.td--arranged.td--calm:not(#_):not(#__):not(#___):not(#____):not(#_____) .td-fw{ padding-left:0 !important; padding-right:0 !important; margin-left:0 !important; }

/* 3 · space, not lines */
#view-brief .td--arranged.td--calm .td-ch__row:not(#_){ border-top:0 !important; min-height:40px; }
#view-brief .td--arranged.td--calm .td-ch__s:not(#_){ margin-top:6px; }
#view-brief .td--arranged.td--calm .td-rooms .td-rooms__h:not(#_):not(#__){ margin:0 0 10px !important; }
#view-brief .td--arranged.td--calm .td-rooms .td-fw:not(#_):not(#__):not(#___):not(#____):not(#_____){ padding:0 0 22px !important; }
#view-brief .td--arranged.td--calm .td-rooms .td-room:not(#_):not(#__){ padding:12px 0 !important; min-height:48px; border:0 !important; }
@media (min-width:1024px){
  /* the wider column lets each row read on one line: name, what it holds, the way in */
  #view-brief .td--arranged.td--calm .td-rooms .td-room:not(#_):not(#__):not(#___){ grid-template-columns:132px minmax(0,1fr) 18px !important; column-gap:16px !important; }
  #view-brief .td--arranged.td--calm .td-rooms .td-room__v:not(#_){ color:rgb(var(--ink3)); }
}
#view-brief .td--arranged.td--calm .td-rooms .td-room:hover:not(#_){ background:transparent !important; }
#view-brief .td--arranged.td--calm .td-rooms .td-room:hover .td-room__k:not(#_){ color:var(--ice-hi,#dff4ff); }

/* the hero: the senses step back so the sentence and the pill lead */
#view-brief .td--arranged.td--calm .td-hero .td-sensewrap:not(#_):not(#__):not(#___):not(#____){ margin-top:36px !important; }
#view-brief .td--arranged.td--calm .td-hero .td-senses:not(#_){ color:rgb(var(--ink3)); }

/* 4 · one primary action: the header's door stands quiet while Today is open */
body:has(#view-brief:not(.hidden) .td--calm) #content-wrap > header #intercept-btn:not(#_){
  background:transparent !important; border-color:rgba(160,225,255,.14) !important; box-shadow:none !important; color:rgb(var(--ink2));
}
body:has(#view-brief:not(.hidden) .td--calm) #content-wrap > header #intercept-btn:hover:not(#_){ color:rgb(var(--ink)); }

/* phone: one column already; the squares breathe further apart */
@media (max-width:1023px){
  #view-brief .td--arranged.td--calm .td-squares:not(#_):not(#__):not(#___):not(#____){ gap:28px !important; }
  #view-brief .td--arranged.td--calm .td-squares .td-clear:not(#_):not(#__):not(#___):not(#____),
  #view-brief .td--arranged.td--calm .td-squares .td-attn-wrap:not(#_):not(#__):not(#___):not(#____),
  #view-brief .td--arranged.td--calm .td-squares #td-now:not(#_):not(#__):not(#___):not(#____),
  #view-brief .td--arranged.td--calm .td-squares .td-rooms:not(#_):not(#__):not(#___):not(#____){ padding:24px 20px 22px !important; }
}
@media (prefers-reduced-motion:reduce){ #view-brief .td--arranged.td--calm .td-squares > *{ transition:none !important; } }

/* THE HERO AFTER THE QUIET LINE (founder 2026-11-01: "place them in a way it makes sense after having
   moved that"). With the line under the sentence quiet (css/quiet.css), the column had ~110px of empty
   air before the pill: an empty hidden step slot still took its 28px (the [hidden] rule lost to the
   four-id rule in today-arranged.css) and the actions carried their own padding. Now the sentence, the
   quiet line, the pill and "Check in again" read as one group, and Body/Voice sit as a short footnote
   under it. */
#view-brief .td--arranged .td-hero .td-step-slot[hidden]:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______){ display:none !important; }
@media (min-width:1024px){
  #view-brief .td--arranged .td-hero .td-meaning .td-actions:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______){ margin-top:20px !important; padding:0 !important; gap:8px !important; }
  #view-brief .td--arranged .td-hero .td-sensewrap:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______){ margin-top:30px !important; }
  #view-brief .td--arranged .td-hero .td-sensewrap .td-senses:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______){ margin-top:0 !important; }
  #view-brief .td--arranged .td-hero .td-sensewrap .td-senses *:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______){ line-height:26px !important; min-height:0 !important; }
}
