/* brand.css - JOB BRAND (25 Nov 2026): "My Future Plans" is longer than the old name, so on the narrowest
   phones (320 to 359 px) the wordmark may use two short lines instead of being cut off. */
@media (max-width: 359px) {
  html body a.brand, html body .brand {
    white-space: normal !important; overflow: visible !important; text-overflow: clip !important;
    line-height: 1.05; font-size: .8rem !important; display: inline-flex !important; align-items: center;
    min-width: 0; max-width: 100%; overflow-wrap: normal;
  }
  html body .brand .dot { flex: none; }
}

/* the logo (Inese, 25 Nov, note 45): her drawing, dark blue on light themes, pale on dark ones */
html body a.brand { color: #213d54; gap: 9px; display: inline-flex; align-items: center; text-decoration: none; }
html body a.brand .mfp-mark { height: 34px; width: auto; flex: none; display: block; }
@media (prefers-color-scheme: dark) { html:root:not([data-theme="light"]):not([data-vibe="forest"]):not([data-vibe="sunset"]) body a.brand { color: #eef1ff; } }
html:root[data-theme="dark"]:not([data-vibe="forest"]):not([data-vibe="sunset"]) body a.brand, html:root[data-vibe="midnight"] body a.brand { color: #eef1ff; }
/* phones: the name on two lines (MyFuture / Plans), so it is never cut off beside the counters */
@media (max-width: 430px) {
  html body a.brand { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; line-height: 1.05; gap: 6px; font-size: .9rem !important; min-width: 0; }
  html body a.brand .mfp-word { width: min-content; }
}
@media (max-width: 359px) { html body a.brand { font-size: .8rem !important; gap: 4px; } html body a.brand .mfp-mark { height: 26px; } }

/* JOB FSMALL (25 Nov 2026, note 27): the same logo at the top of the menu panel, so it is
   in sight on every page. The name is on two lines on a phone, like the top bar's. */
html body .sm-logo { color: #213d54; gap: 9px; display: inline-flex; align-items: center;
  text-decoration: none; min-height: 44px; font-weight: 700; font-size: 1.05rem; align-self: flex-start; }
html body .sm-logo .mfp-mark { height: 38px; width: auto; flex: none; display: block; }
/* on a laptop the menu is a row of columns: the logo has its own line, so the columns stay put */
@media (min-width: 900px) { html body .sm-in > .sm-logo { flex: 0 0 100%; } }
@media (prefers-color-scheme: dark) { html:root:not([data-theme="light"]):not([data-vibe="forest"]):not([data-vibe="sunset"]) body .sm-logo { color: #eef1ff; } }
html:root[data-theme="dark"]:not([data-vibe="forest"]):not([data-vibe="sunset"]) body .sm-logo, html:root[data-vibe="midnight"] body .sm-logo { color: #eef1ff; }
@media (max-width: 430px) {
  html body .sm-logo { white-space: normal !important; overflow: visible !important; text-overflow: clip !important;
    line-height: 1.05; gap: 7px; font-size: 1rem !important; min-width: 0; }
  html body .sm-logo .mfp-word { width: min-content; }
}
@media (max-width: 359px) { html body .sm-logo { font-size: .92rem !important; gap: 5px; } html body .sm-logo .mfp-mark { height: 30px; } }

/* JOB FSMALL (25 Nov 2026, note 44): the three tiles on a picture card - "Do you enjoy it",
   "How clear this is" and "Can you become good at it" - in ONE aligned row, and smaller.
   On a narrow phone the three are too cramped side by side, so there the face tile keeps
   its own full-width line, as before. The face tile is drawn by the page's own script,
   so it is lined up here with the other two: label on top, then the face and the words. */
.pic-status { gap: 8px; }
.pic-st { padding: 8px 10px; gap: 2px; border-radius: 16px; }
.pic-st .pic-q { font-size: .8rem; line-height: 1.15; }
.pic-st .pic-a b, .pic-st .pic-a { font-size: 1rem; }
.pic-st .pic-a svg:not(.pic-heart) { width: 26px; height: 26px; }
.pic-st .pic-heart { width: 26px; height: 26px; }
.pic-status > .facebox { flex: 1 1 100%; }
@media (min-width: 640px) {
  .pic-status { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
  .pic-status > .pic-st, .pic-status > .facebox { flex: none; min-width: 0; }
  .pic-status .facebox.pic-progress { padding: 0; margin: 0; }
  .pic-status .facebox .facebtn { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 8px;
    align-items: center; align-content: start; text-align: left; width: 100%; height: 100%; padding: 8px 10px; border-radius: 16px; min-height: 0; }
  .pic-status .facebox .facebtn .facetext { display: contents; }
  .pic-status .facebox .facebtn .facetext em { grid-column: 1 / -1; order: -1; font-size: .8rem; line-height: 1.15; }
  .pic-status .facebox .facebtn .face { width: 26px; height: 26px; grid-column: 1; grid-row: 2; }
  .pic-status .facebox .facebtn .facetext b { font-size: 1rem; grid-column: 2; grid-row: 2; }
  .pic-status .facebox .facebtn .facetext span { font-size: .75rem; grid-column: 1 / -1; }
  .pic-status .facebox .facebtn .pips { grid-column: 1 / -1; }
}

/* JOB FSMALL (note 14): the extra questions in the side panel - a gap between them, and the picked answer shows. */
.fit-q { margin: 0 0 18px; display: flex; flex-direction: column; gap: 6px; }
.fit-q p { margin: 0; }
.fit-qt { font-weight: 700; }
.fit-why { font-size: .9rem; }
html body .fit-q button[data-fit-ans][aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--card); }
html body .fit-q button[data-fit-ans][aria-pressed="true"]::after { content: "\2713"; margin-left: 6px; }
