/* Design room, Phase 1a (R-519). Generated by design/design-room/room.py: HQ's phase1a.css and the R-516 pop-up's
   styles as they are, then the room's frame layout, then HQ's fix round (room-fix.css, R-519.23), then the phone view (R-523). */
.chooser, #notes-show { display: none !important; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#room { display: block; }
#stage { min-width: 0; overflow-x: clip; }
#bar1a { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 9; background: #f3efe6; color: #1e2b25; border-bottom: 1px solid #d9d2c3;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0 24px; min-height: 60px;
  padding: 0 max(20px, env(safe-area-inset-right, 0px)) 0 max(20px, env(safe-area-inset-left, 0px)); font: 15px/1.4 -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; }
#bar1a .home { display: flex; align-items: center; gap: 14px; color: inherit; text-decoration: none; justify-self: start; }
#bar1a .home .eqlogo { width: 124px; height: auto; display: block; margin-left: -4px; }
#bar1a .home span { padding-left: 14px; border-left: 1px solid #c9c1b0; font: 400 17px/1 Georgia, "Times New Roman", serif; }
#bar1a .home:hover span { text-decoration: underline; text-underline-offset: 4px; }
#bar1a .what { margin: 0; text-align: center; display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }
#bar1a .what i { font: italic 400 15px/1 Georgia, "Times New Roman", serif; color: #9a4f24; }
#bar1a .what b { font: 400 19px/1 Georgia, "Times New Roman", serif; }
#bar1a .what span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #5d665f; }
#bar1a nav { display: flex; gap: 26px; justify-self: end; }
#bar1a nav a { color: inherit; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #b9b09c; padding: 8px 0; }
#bar1a nav a:hover, #bar1a nav button:hover { text-decoration-color: #9a4f24; }
#bar1a nav .exit { display: inline-flex; align-items: center; gap: 9px; padding-left: 24px; border-left: 1px solid #c9c1b0; text-decoration: none; }
#bar1a nav .exit svg { width: 13px; height: 13px; display: block; }
#bar1a nav .exit:hover span { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #9a4f24; }
#bar1a nav .exit:hover svg { color: #9a4f24; }
#bar1a nav button { background: none; border: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #b9b09c; padding: 8px 0; }
#tray .hint { margin: -8px 0 18px; color: #4c554e; }
#bar1a a:focus-visible, #bar1a button:focus-visible, #t-tab:focus-visible, #t-tab2:focus-visible, #tray button:focus-visible, #tray a:focus-visible { outline: 2px solid #1e3b2f; outline-offset: 3px; }

#t-tabs { position: fixed; right: 0; top: 38%; z-index: 8; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; transition: transform .28s cubic-bezier(.2, .7, .2, 1); }
#t-tab, #t-tab2 { background: #f3efe6; color: #1e2b25; border: 1px solid #d9d2c3; border-right: 0; border-left: 3px solid #b5632f;
  padding: 18px 11px; cursor: pointer; font: 600 14px/1 -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; letter-spacing: .04em;
  writing-mode: vertical-rl; box-shadow: -6px 6px 22px rgba(30, 43, 37, .16); }
#t-tab2 { border-left-color: #1e3b2f; }
#t-tab:hover, #t-tab2:hover { background: #faf7f0; }
body.tray #t-tabs { transform: translateX(110%); }
#tray { position: fixed; right: 0; top: var(--bh, 61px); bottom: 0; width: 372px; max-width: 100vw; z-index: 8; display: flex; flex-direction: column;
  background: #f3efe6; color: #1e2b25; border-left: 1px solid #d9d2c3; box-shadow: -18px 0 50px rgba(30, 43, 37, .18);
  font: 15px/1.5 -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; transform: translateX(104%); transition: transform .32s cubic-bezier(.2, .7, .2, 1); }
body.tray #tray { transform: none; }
#tray .scroll { flex: 1; overflow-y: auto; padding: 24px 28px 20px; }
#tray .head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; }
#tray h2 { font: 400 30px/1.15 Georgia, "Times New Roman", serif; margin: 0; }
#tray .linkish { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
#tray .on, #tray h3 { font: 600 12px/1.3 -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #5d665f; margin: 0 0 6px; }
#tray .cur { margin: 0 0 12px; padding-left: 14px; border-left: 3px solid #b5632f; }
#tray .cur i, #t-seen i { display: block; font: italic 400 15px/1.3 Georgia, "Times New Roman", serif; color: #9a4f24; }
#tray .cur b { display: block; font: 400 22px/1.2 Georgia, "Times New Roman", serif; }
#tray textarea { width: 100%; box-sizing: border-box; background: #fbf9f4; border: 1px solid #cfc7b6; border-radius: 3px; padding: 12px 13px; font: inherit; color: inherit; resize: vertical; min-height: 118px; }
#tray textarea:focus { outline: 2px solid #1e3b2f; outline-offset: 1px; }
#tray .saved { min-height: 20px; margin: 6px 0 0; font-size: 13px; color: #5d665f; }
#tray h3 { margin: 22px 0 4px; }
#t-seen a { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: start; padding: 14px 0; border-top: 1px solid #d9d2c3; color: inherit; text-decoration: none; }
#t-seen a:first-child { border-top: 0; }
#t-seen img { width: 96px; aspect-ratio: 3 / 2; object-fit: cover; object-position: top; display: block; background: #e4dece; box-shadow: 0 2px 10px rgba(30, 43, 37, .16); }
#t-seen b { display: block; font: 400 18px/1.25 Georgia, "Times New Roman", serif; }
#t-seen a:hover b { text-decoration: underline; text-underline-offset: 3px; }
#t-seen em { display: block; font-style: normal; font-size: 13.5px; line-height: 1.4; color: #4c554e; margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#t-seen em.none { color: #7a8179; }
#t-seen .empty { margin: 8px 0 0; color: #5d665f; }
#tray .keep { border-top: 1px solid #d9d2c3; background: #ece6d9; padding: 18px 28px 22px; }
#tray .keep p { margin: 0 0 12px; }
#tray .keep p.k { font: 400 19px/1.3 Georgia, "Times New Roman", serif; margin-bottom: 6px; }
#tray .keep .btn { display: block; width: 100%; box-sizing: border-box; text-align: center; font: 600 15px/1 -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; color: #faf7f0; background: #1e3b2f; border: 0; border-radius: 3px; padding: 15px 20px; cursor: pointer; text-decoration: none; }
#tray .keep .btn:hover { background: #16291f; }
#tray .keep label { display: block; font-weight: 600; font-size: 13.5px; margin: 0 0 10px; }
#tray .keep input { display: block; width: 100%; box-sizing: border-box; margin-top: 5px; background: #fbf9f4; border: 1px solid #cfc7b6; border-radius: 3px; padding: 11px 12px; font: 400 15px/1.3 inherit; font-family: inherit; color: inherit; }
#tray .keep .err { color: #9a3418; font-size: 13.5px; min-height: 0; margin: 0 0 8px; }
#tray .keep .alt, #t-send .alt { display: block; width: 100%; box-sizing: border-box; margin-top: 12px; background: none; border: 0; padding: 4px 0; font: inherit; color: inherit; text-align: center; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #b9b09c; cursor: pointer; }
#tray .keep .alt:hover, #t-send .alt:hover { text-decoration-color: #9a4f24; }
#t-send .lead { margin: -8px 0 0; color: #4c554e; }
#t-send .going { list-style: none; margin: 0; padding: 0; }
#t-send .going li { padding: 12px 0; border-top: 1px solid #d9d2c3; }
#t-send .going li:first-child { border-top: 0; }
#t-send .going i { display: block; font: italic 400 14px/1.3 Georgia, "Times New Roman", serif; color: #9a4f24; }
#t-send .going b { display: block; font: 400 17px/1.25 Georgia, "Times New Roman", serif; }
#t-send .going em { font-style: normal; font-size: 13.5px; line-height: 1.4; color: #4c554e; margin-top: 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#t-send .empty { margin: 8px 0 0; color: #5d665f; }
#t-send form { margin-top: 16px; border-top: 1px solid #d9d2c3; padding-top: 18px; }
#t-send label { display: block; font-size: 13.5px; color: #4c554e; margin-bottom: 12px; }
#t-send label input:not([type=checkbox]) { display: block; width: 100%; box-sizing: border-box; margin-top: 5px; background: #fbf9f4; border: 1px solid #cfc7b6; border-radius: 3px; padding: 11px 12px; font: 400 15px/1.3 -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; color: #1e2b25; }
#t-send label input:focus { outline: 2px solid #1e3b2f; outline-offset: 1px; }
#t-send .agree { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; font-size: 14px; line-height: 1.45; color: inherit; margin: 16px 0 14px; cursor: pointer; }
#t-send .agree input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: #1e3b2f; }
#t-send .agree a { color: inherit; text-underline-offset: 3px; }
#t-send .err { color: #9a3418; font-size: 13.5px; margin: 0 0 10px; }
#t-send .err:empty { display: none; }
#t-send .btn { display: block; width: 100%; box-sizing: border-box; text-align: center; font: 600 15px/1 -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; color: #faf7f0; background: #1e3b2f; border: 0; border-radius: 3px; padding: 15px 20px; cursor: pointer; }
#t-send .btn:hover { background: #16291f; }
@media (max-width: 860px) {
  #bar1a { grid-template-columns: 1fr auto; row-gap: 0; min-height: 0; padding-top: 10px; padding-bottom: 8px; }
  #bar1a .home span { display: none; }
  #bar1a .what { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; flex-wrap: wrap; gap: 2px 10px; white-space: normal; text-align: left; padding-top: 6px; }
  #bar1a .what span { display: none; }
  #bar1a nav { gap: 18px; font-size: 14px; }
  #bar1a nav .exit { padding-left: 16px; }
  #bar1a nav .exit span { display: none; }
  #bar1a nav .exit svg { width: 15px; height: 15px; }
  #t-tabs { top: auto; bottom: max(18px, env(safe-area-inset-bottom, 0px)); right: 14px; }
  #t-tab2 { display: none; }
  #t-tab { writing-mode: horizontal-tb; border: 0; border-radius: 3px; background: #1e3b2f; color: #faf7f0; padding: 15px 22px; font-size: 15px; }
  #t-tab:hover { background: #16291f; }
  body.tray #t-tabs { transform: translateY(300%); }
  #tray { top: 0; width: 100vw; border-left: 0; transform: translateY(104%); }
}
@media (prefers-reduced-motion: reduce) { #tray, #t-tabs { transition: none; } }
#t-places section { border-top: 1px solid #d9d2c3; }
#t-places section:last-child { border-bottom: 1px solid #d9d2c3; }
#t-places .pl { display: block; width: 100%; text-align: left; background: none; border: 0; border-left: 3px solid transparent; padding: 13px 0 13px 14px; margin-left: -17px; cursor: pointer; color: #5d665f; font: inherit; }
#t-places .pl b { display: block; font: 400 22px/1.2 Georgia, "Times New Roman", serif; }
#t-places .pl span { display: block; font-size: 13.5px; margin-top: 3px; }
#t-places .pl:hover, #t-places section[data-open="true"] .pl { color: #1e2b25; }
#t-places section[data-open="true"] .pl { border-left-color: #b0613a; }
#t-places .lks { display: grid; gap: 12px; padding: 2px 0 18px; }
#t-places .lk { display: grid; grid-template-columns: 136px 1fr; gap: 14px; align-items: center; color: inherit; text-decoration: none; }
#t-places .lk img { display: block; width: 136px; height: 94px; object-fit: cover; object-position: top; border: 1px solid #d9d2c3; box-shadow: 0 6px 16px rgba(30, 43, 37, .12); }
#t-places .lk i { display: block; font: italic 400 13.5px/1.3 Georgia, "Times New Roman", serif; color: #8a4b2a; }
#t-places .lk b { display: block; font: 400 19px/1.2 Georgia, "Times New Roman", serif; margin-top: 2px; }
#t-places .lk em { display: block; font-style: normal; font-size: 12.5px; color: #5d665f; margin-top: 4px; }
#t-places .lk[aria-current="true"] img { outline: 2px solid #b0613a; outline-offset: 2px; }
#t-places .lk:hover b { text-decoration: underline; text-underline-offset: 3px; }
#t-places a:focus-visible, #t-places button:focus-visible { outline: 2px solid #1e3b2f; outline-offset: 2px; }
#t-places .lks { gap: 16px; }
#t-places .lk em { margin-top: 6px; }
#t-places .vibe { margin: 6px 0 0; font: 400 16.5px/1.4 Georgia, "Times New Roman", serif; color: #1e2b25; }
#t-places .vibe span { display: block; margin-bottom: 5px; font: 600 11.5px/1.3 -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #5d665f; }
#tray .scroll.br { overflow: hidden; overscroll-behavior: contain; }
@keyframes eq-up { from { opacity: .25; transform: translateY(46px); } to { opacity: 1; transform: none; } }
@keyframes eq-dn { from { opacity: .25; transform: translateY(-46px); } to { opacity: 1; transform: none; } }
#t-places.up { animation: eq-up .34s cubic-bezier(.2, .7, .2, 1); }
#t-places.dn { animation: eq-dn .34s cubic-bezier(.2, .7, .2, 1); }
@media (prefers-reduced-motion: reduce) { #t-places.up, #t-places.dn { animation: none; } }

#note { border: 0; padding: 0; background: #faf7f0; color: #1e2b25; width: min(520px, calc(100vw - 32px)); border-radius: 6px;
  box-shadow: 0 24px 70px rgba(30, 43, 37, .28); font: 16px/1.55 -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; }
#note::backdrop { background: rgba(244, 240, 231, .78); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
#note .in { padding: 36px 36px 32px; }
#note .eqlogo { display: block; width: 168px; height: auto; margin: 0 0 26px -6px; }
#note h2 { margin: 0 0 14px; font: 600 25px/1.2 Georgia, "Times New Roman", serif; letter-spacing: -.005em; text-wrap: balance; }
#note p { margin: 0 0 12px; }
#note .ride { font-weight: 600; }
#note button { margin-top: 14px; font: 600 15px/1 inherit; font-family: inherit; color: #faf7f0; background: #1e3b2f; border: 0; border-radius: 3px; padding: 15px 30px; cursor: pointer; }
#note button:hover { background: #16291f; }
#note button:focus-visible { outline: 2px solid #1e3b2f; outline-offset: 3px; }
@media (max-width: 520px) { #note .in { padding: 28px 24px 26px; } #note h2 { font-size: 22px; } }

/* room.py: the frame layout */
html, body { height: 100%; }
body { margin: 0; height: 100vh; height: 100dvh; overflow: hidden; display: flex; flex-direction: column; background: #fff; color: #1e2b25;
  font: 15px/1.4 -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; }
#bar1a { flex: none; }
#look { flex: 1 1 auto; min-height: 0; width: 100%; border: 0; display: block; background: #fff; }
.dr-still #tray, .dr-still #t-tabs { transition: none !important; }
/* Narrow phones (360 is most Android): HQ's bar is 6 to 8 px too wide below 375 and the Close X goes off the edge
   (fit_check.py --rooms). Tighter spacing only; the words and the order are HQ's. */
@media (max-width: 374px) { #bar1a nav { gap: 12px; } #bar1a nav .exit { padding-left: 12px; } }
@media (max-width: 359px) { #bar1a nav { gap: 8px; } #bar1a nav .exit { padding-left: 8px; } #bar1a .home .eqlogo { width: 108px; } }
/* Mid widths: Niagara's names are the longest and the one-line bar ran 25 to 67 px past the edge at 1024, and up to 57 px
   at 861 (Niagara and The upcountry retreat). The place name steps out below 1200 and "Design room" beside the logo
   below 1024, as HQ's phone bar already does for both below 861. */
@media (min-width: 861px) and (max-width: 1199px) { #bar1a .what span { display: none; } }
@media (min-width: 861px) and (max-width: 1023px) { #bar1a .home span { display: none; } }
/* Phones: HQ's phone rule puts the tray at top 0 and the bar (z 9) is drawn over its head, so "Your notes", Hide and
   "You are looking at" sat under the bar and a phone had no way to close the tray. It starts under the bar, as on desktop. */
@media (max-width: 860px) { #tray { top: var(--bh, 99px); } }

/* Design room look pages, fix round R-519.21. Goes after room.css.
   4. The filled buttons in the notes tray, the send step and the pop-up darkened by a shade on hover, which nobody could see.
      They now take the copper that "Open this look" takes on the design room page. */
#tray .keep .btn, #t-send .btn, #note button, #t-tab { transition: background-color .15s; }
#tray .keep .btn:hover, #t-send .btn:hover, #note button:hover, #t-tab:hover { background: #9a552e; color: #faf7f0; }
#tray .keep .btn:active, #t-send .btn:active, #note button:active, #t-tab:active { background: #7f4423; }
#tray .keep .alt, #t-send .alt { transition: color .15s, text-decoration-color .15s; }
#tray .keep .alt:hover, #t-send .alt:hover { color: #9a552e; text-decoration-color: #9a552e; }
@media (prefers-reduced-motion: reduce) { #tray .keep .btn, #t-send .btn, #note button, #t-tab, #tray .keep .alt, #t-send .alt { transition: none; } }

/* Phone view in the design room (R-522; he picked B, the top bar, R-523), HQ's drawing (hq deliverables/phone-view-options-2026-11-19).
   Factory: option A's third side tab taken out (not picked). Goes after room.css. Desk widths only. */
#b-pv, #pv-say { display: none; }
@media (min-width: 861px) and (min-height: 560px) {
  /* B. a word in the top bar, before "All looks" */
  body[data-pv-opt="b"] #b-pv { display: inline-flex; align-items: center; gap: 8px; }
  #b-pv svg { width: 11px; height: 17px; display: block; flex: none; }
  /* B has a cost: the bar has no room for a fifth word, so the place name steps out, and "All looks" too below 1200 (its side tab stays) */
  body[data-pv-opt="b"] #bar1a nav { white-space: nowrap; gap: 24px; }
  body[data-pv-opt="b"] #bar1a .what span { display: none; }
  body.pv-on #b-pv svg { width: 19px; height: 15px; }

  /* The phone itself: the look's own frame, narrowed. The look takes its phone treatment by itself at this width. */
  body.pv-on { background: #e7e2d6; }
  body.pv-on #look { flex: 0 1 812px; align-self: center; box-sizing: content-box; width: 390px; min-height: 0; margin: auto;
    border: 11px solid #1c2420; border-radius: 44px; background: #fff; box-shadow: 0 24px 60px rgba(30, 43, 37, .22), 0 2px 6px rgba(30, 43, 37, .18); }
  body.pv-on #bar1a { margin-bottom: 26px; }
  body.pv-on { padding-bottom: 26px; box-sizing: border-box; }
  body.pv-on #pv-say { display: block; position: fixed; z-index: 2; top: 50%; right: calc(50% + 206px + 64px); width: 270px; transform: translateY(-30%);
    color: #1e2b25; font: 15px/1.55 -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; }
  #pv-say .k { margin: 0 0 10px; font: 600 12px/1.3 -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #5d665f; }
  #pv-say h2 { margin: 0 0 12px; font: 400 30px/1.15 Georgia, "Times New Roman", serif; text-wrap: balance; }
  #pv-say p { margin: 0 0 18px; color: #3e4842; text-wrap: pretty; }
  #pv-say button { background: none; border: 0; padding: 8px 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #b9b09c; }
  #pv-say button:hover { color: #9a552e; text-decoration-color: #9a552e; }
  #pv-say button:focus-visible { outline: 2px solid #1e3b2f; outline-offset: 3px; }
  body.pv-fade #look { opacity: 0; }
  #look { transition: opacity .16s; }
}
@media (min-width: 861px) and (max-width: 1139px) { body.pv-on #pv-say { display: none; } }
@media (min-width: 861px) and (max-width: 1459px) { body.pv-on.tray #pv-say { display: none; } }
@media (min-width: 861px) and (max-width: 1299px) { body.pv-on.tray #look { margin-left: max(24px, calc(100vw - 372px - 412px - 28px)); } }
@media (prefers-reduced-motion: reduce) { #look { transition: none; } }
@media (min-width: 861px) and (max-width: 1199px) { body[data-pv-opt="b"] #b-all { display: none; } }
/* room.py (R-523): where the bar does not fit on one line, its words wrap, as before the phone view; still not, the gaps
   narrow; still not, the barn and look names stack (PV_FIT_JS adds each class only while the bar still does not fit). */
@media (min-width: 861px) and (min-height: 560px) {
  body.pv-tight[data-pv-opt="b"] #bar1a nav { white-space: normal; }
  body.pv-tight2[data-pv-opt="b"] #bar1a nav { gap: 16px; }
  body.pv-tight3[data-pv-opt="b"] #bar1a .what { white-space: normal; flex-wrap: wrap; justify-content: center; row-gap: 2px; }
}
