/* Shared by the trial looks (body.look): the pieces a look adds to the key pages, drawn with the
   look's own variables. Each look-<name>.css then sets the variables and its own character.
   Loaded only in the demo (?look=...). app.css is unchanged underneath. */
.look { --display: var(--sans); --num: var(--sans); --lead-bg: var(--accent); --lead-ink: var(--on-accent);
        --side-bg: var(--surface); --side-ink: var(--ink); }

/* type: one step more contrast between levels; small print that can be read */
.look .pagehead h1, .look .hero h1, .look .auth-head h1, .look .authside-title { font-family: var(--display); }
.look .hint { font-size: 13.5px; color: var(--ink-2); }
.look .field > label, .look .field > .label, .look .detail > label { font-size: 14.5px; }
.look .lede { color: var(--ink-2); }
.look .panel-head h2, .look .card-head h2 { font-size: 19px; }

/* sign-in: what the product does and why it can be trusted, beside the form */
.look .authwrap { display: grid; gap: 24px; max-width: 1000px; margin: 28px auto; align-items: stretch; }
.look .authwrap .auth { margin: 0; max-width: none; align-content: center; padding: 34px 30px; }
.look .authside { display: grid; gap: 16px; align-content: center; padding: 34px 30px; border-radius: var(--radius);
                  background: var(--side-bg); color: var(--side-ink); border: 1px solid var(--line); }
.look .authside-brand { font-weight: 700; letter-spacing: 0.02em; font-size: 15px; }
.look .authside-title { font-size: 34px; line-height: 1.18; font-weight: 700; letter-spacing: -0.02em; }
.look .authside-body { font-size: 16.5px; line-height: 1.6; opacity: 0.86; max-width: 40ch; }
.look .trust { display: grid; gap: 16px; margin-top: 10px; }
.look .trust li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; }
.look .trust-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
                    background: color-mix(in srgb, currentColor 10%, transparent); }
.look .trust-title { font-weight: 650; }
.look .trust-body { font-size: 14px; line-height: 1.55; opacity: 0.8; }
@media (min-width: 860px) { .look .authwrap { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); margin-top: 48px; } }

/* main page: what we did, in numbers */
.look .stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 880px; margin-bottom: 14px; }
.look .stat { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.look .stat-num { font: 700 30px/1 var(--num); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.look .stat-text { margin-top: 8px; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.look .stat-lead { grid-column: 1 / -1; background: var(--lead-bg); color: var(--lead-ink); border-color: transparent; }
.look .stat-lead .stat-num { font-size: 40px; }
.look .stat-lead .stat-text { color: inherit; opacity: 0.88; font-size: 14.5px; }
@media (min-width: 640px) {
  .look .stats { grid-template-columns: minmax(0, 2.6fr) repeat(3, minmax(0, 1fr)); }
  .look .stat-lead { grid-column: auto; }
}
.look .assure { display: flex; gap: 10px; align-items: flex-start; max-width: 880px; margin-bottom: 18px; font-size: 14.5px; color: var(--ink-2); }
.look .assure .icon { margin-top: 2px; color: var(--ok); }
.look .assure-strong { padding: 14px 16px; border-radius: var(--radius); background: var(--ok-soft); color: var(--ok); font-weight: 600; }
.look .assure-strong .icon { color: inherit; }

/* a recommended job: how well it fits, and why, in normal ink; the rest steps back */
.look .jobrow { padding: 16px 0; gap: 14px 16px; }
.look .jobmain { gap: 5px; }
.look .jobtitle { font-size: 16.5px; }
.look .fitline { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; font-size: 14.5px; line-height: 1.5; color: var(--ink); }
.look .fit { flex: none; padding: 1px 8px; border-radius: 6px; font-size: 12px; font-weight: 700; line-height: 1.6; }
.look .fit-a { background: var(--accent); color: var(--on-accent); }
.look .fit-b { background: var(--accent-soft); color: var(--accent-text); }
.look .fit-c { background: var(--surface-2); color: var(--ink-2); }
.look .jobside .btn-quiet { min-height: 28px; font-size: 13.5px; font-weight: 500; }

/* confirm page: per job, how much is already prepared */
.look .tally { display: flex; flex-wrap: wrap; gap: 8px; }
.look .tally-item { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 8px;
                    background: var(--surface-2); color: var(--ink-2); font-size: 13.5px; }
.look .tally-item .icon { width: 14px; height: 14px; }
.look .tally-done { background: var(--ok-soft); color: var(--ok); font-weight: 600; }
.look .tally-ask { background: var(--warn-soft); color: var(--warn); font-weight: 600; }

/* options: the chosen one says so without relying on colour alone */
.look .choice input:checked + span::before { content: "\2713"; margin-right: 6px; font-weight: 700; }
.look .choices { gap: 8px 8px; }

/* ---- fewer words: one fixed mark per state, numbers as tiles, details on demand ---- */
.look .wordy { display: none; }
.look .mark { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px 2px 6px; border-radius: 999px; white-space: nowrap;
              font-size: 12.5px; font-weight: 650; line-height: 1.5; background: var(--surface-2); color: var(--ink-2); vertical-align: middle; }
.look .mark .icon { width: 14px; height: 14px; }
.look .mark-auto { background: var(--ok-soft); color: var(--ok); }
.look .mark-wait { background: transparent; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-strong); }
.look .mark-no { background: var(--surface-2); color: var(--ink-3); }
.look .mark-new { background: var(--accent-soft); color: var(--accent-text); }
.look .mark-mine { padding: 2px 6px; background: transparent; color: var(--ink-3); }
.look .iconlink { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; color: var(--ink-2); }
.look .iconlink:hover { background: var(--surface-2); color: var(--accent-text); }
.look .iconlink:focus-visible, .look .why summary:focus-visible, .look a.stat:focus-visible, .look a.signal:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.look .jobrow-tight { padding: 12px 0; align-items: center; }
.look .jobrow-tight .jobmain { gap: 3px; }
.look .jobrow-tight .jobtitle { font-size: 16px; }
.look .jobrow-tight .jobside { display: flex; align-items: center; gap: 6px; }
.look .why summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; width: fit-content; }
.look .why summary::-webkit-details-marker { display: none; }
.look .why-open { font-size: 13px; color: var(--ink-3); }
.look .why-open::after { content: " \25B8"; }
.look .why[open] .why-open::after { content: " \25BE"; }
.look .why p { margin-top: 6px; font-size: 14.5px; line-height: 1.5; max-width: 62ch; }

.look .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 16px; }
.look a.stat { color: inherit; text-decoration: none; }
.look a.stat:hover { border-color: var(--line-strong); }
.look .stat-text { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.look .stat-text .icon { width: 15px; height: 15px; }
.look .stat-alert .stat-num, .look .stat-alert .stat-text { color: var(--warn); }
@media (min-width: 640px) { .look .stats { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); } }

.look .signals { display: flex; flex-wrap: wrap; gap: 8px; }
.look .signal { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 9px; border-radius: 999px; text-decoration: none;
                font-size: 13.5px; font-weight: 600; background: var(--ok-soft); color: var(--ok); }
.look .signal .icon { width: 15px; height: 15px; }
.look .signal + .signal { background: var(--surface-2); color: var(--ink-2); }
.look .signal.signal-warn { background: var(--warn-soft); color: var(--warn); }
.look .panel-tools { display: inline-flex; align-items: center; gap: 12px; }
.look .panel-tools .btn { width: auto; }

.look .trust { gap: 12px; }
.look .trust li { align-items: center; }
.look .tag { display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px 1px 6px; border-radius: 999px; background: var(--surface-2);
             color: var(--ink-2); font-size: 12.5px; font-weight: 600; }
.look .tag .icon { width: 13px; height: 13px; }
.look .tally-item { font-weight: 600; }
.look .jobline { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.look .why[open] { flex-basis: 100%; }
.look .panel-tools .btn { min-height: 34px; padding: 0 12px; font-size: 14px; gap: 6px; }
.look .panel-tools .btn .icon { width: 15px; height: 15px; }

/* ---- explanations that open on a tap ---- */
.look .tip { position: relative; display: inline-block; vertical-align: middle; }
.look .tip > summary { list-style: none; cursor: pointer; border-radius: 999px; }
.look .tip > summary::-webkit-details-marker { display: none; }
.look .tip > summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.look .tipbox { position: absolute; z-index: 30; top: calc(100% + 8px); right: 0; width: max-content; max-width: min(300px, 78vw);
                padding: 10px 14px; border-radius: 14px; background: var(--ink); color: var(--bg); font-size: 13.5px; font-weight: 500;
                line-height: 1.5; text-align: left; white-space: normal; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18); }
.look .tip-left .tipbox { right: auto; left: 0; }
.look .trust-row { display: inline-flex; align-items: center; gap: 12px; }
.look .authside .tipbox { background: #fff; color: #2b201b; }

/* ---- the other pages: one heading, tools in a row, marks instead of sentences ---- */
.look .pagehead .lede:not(.keep) { display: none; }
.look .toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; }
.look .toolbar .btn { width: auto; }
.look .paste > summary { list-style: none; }
.look .paste > summary::-webkit-details-marker { display: none; }
.look .paste[open] { flex: 1 1 100%; display: grid; gap: 10px; }
.look .paste[open] > summary { justify-self: start; }
.look .pasteform { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.look .pasteform .btn { width: auto; }
.look .findbar { grid-template-columns: minmax(0, 1fr); align-items: end; }
@media (min-width: 640px) { .look .findbar { grid-template-columns: minmax(0, 1fr) auto auto; } }
.look .findbar .btn { width: auto; }
.look .st-idle { background: var(--surface-2); color: var(--ink-2); }
.look .st-busy { background: var(--surface-2); color: var(--ink-2); }
.look .st-ok { background: var(--ok-soft); color: var(--ok); }
.look .st-you { background: var(--warn-soft); color: var(--warn); }
.look button.iconlink { border: 0; background: transparent; cursor: pointer; }
.look .jobside { align-items: center; }
.look .jobrow .jobside { display: flex; gap: 6px; }
.look .signal-plain { background: var(--surface-2); color: var(--ink-2); }
.look .signals > * { flex: 0 0 auto; }
.look .signal { width: fit-content; }
.look .node-done .card > .body:not(.keep) { display: none; }
.look .todoacts .btn { gap: 6px; }
.look .todoacts .btn .icon { width: 15px; height: 15px; }
@media (max-width: 480px) {
  .look .tipbox { right: auto; left: 0; max-width: 72vw; }
  .look .jobrow .jobside { grid-column: 2; }
}
@media (max-width: 639px) {
  .look .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .look .stats .stat-lead { grid-column: 1 / -1; }
  .look .stat { padding: 12px 14px; }
}
.look .stat-wait .stat-num .icon { width: 30px; height: 30px; }
@media (min-width: 640px) { .look .stats:has(.stat-wait) { grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: no-preference) {
  .look .stat-wait .stat-num .icon { animation: turn 2.4s linear infinite; }
  @keyframes turn { to { transform: rotate(360deg); } }
}

/* ---- the main page as a briefing: to do, progress, the recommended jobs; beside them the month's number and three
   counts. Icons and numbers instead of words; an icon's sentence is its hover text, and the marks open on a tap. ---- */
.look .brief { display: grid; gap: 18px; }
.look .brief-main { display: grid; gap: 24px; min-width: 0; }
.look .brief-side { display: flex; align-items: center; gap: 12px; min-width: 0; }
@media (min-width: 960px) {
  .look .brief { grid-template-columns: minmax(0, 1fr) 248px; gap: 24px; align-items: start; }
  .look .brief-main { grid-column: 1; grid-row: 1; }
  .look .brief-side { grid-column: 2; grid-row: 1; flex-direction: column; align-items: stretch; gap: 16px; }
}

.look .ringcard { flex: none; display: grid; place-items: center; }
.look .ringcard .tip, .look .ringcard .tip > summary { display: block; border-radius: 50%; }
.look .ring { position: relative; display: block; width: 68px; height: 68px; }
.look .ring svg { display: block; width: 100%; height: 100%; }
.look .ring-track { fill: var(--surface); stroke: var(--line); stroke-width: 12; }
.look .ring-left { fill: none; stroke: var(--accent-hover); stroke-width: 12; stroke-linecap: round; }
.look .ring-empty .ring-left { display: none; }
.look .ring-in { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; line-height: 1; }
.look .ring-in .icon, .look .ring-in span { display: none; }
.look .ring-in b { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
@media (min-width: 960px) {
  .look .ringcard { padding: 22px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
  .look .ring { width: 140px; height: 140px; }
  .look .ring-track { fill: none; }
  .look .ring-in .icon { display: block; width: 16px; height: 16px; margin-bottom: 5px; color: var(--ink-2); }
  .look .ring-in b { font-size: 42px; }
  .look .ring-in span { display: block; margin-top: 5px; font-size: 13px; color: var(--ink-2); }
}

.look .tiles { flex: 1 1 auto; display: flex; padding: 6px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.look .tile { flex: 1 1 0; display: grid; justify-items: center; gap: 2px; padding: 8px 0; border-radius: 14px; color: var(--ink-2); text-decoration: none; }
.look .tile:hover { background: var(--surface-2); }
.look .tile:focus-visible, .look .tcard:focus-visible, .look .nrow:focus-visible, .look .toolbtn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.look .tile .icon { width: 19px; height: 19px; }
.look .tile b { font-size: 21px; font-weight: 800; line-height: 1.2; color: var(--ink); font-variant-numeric: tabular-nums; }
.look .tile-ok { color: var(--ok); }
/* What a count is, when the mouse is over it (or the keyboard is on it). A touch screen has no hover: a tap opens the list. */
.look .tiles { position: relative; }
.look .tilebox { display: none; position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; right: 0;
                 padding: 10px 14px; border-radius: 14px; background: var(--ink); color: var(--bg); font-size: 13px; font-weight: 500;
                 line-height: 1.45; text-align: left; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18); }
.look .tilebox strong { display: block; font-size: 13.5px; font-weight: 700; }
.look .tilebox span { display: block; margin-top: 6px; overflow-wrap: anywhere; }
.look .tilebox i { font-style: normal; opacity: 0.7; }
.look .tile:focus-visible .tilebox { display: block; }
@media (hover: hover) { .look .tile:hover .tilebox { display: block; } }

/* An entry that is not open yet (cover letters): a row with a lock; a tap says so. On a phone it takes a line of its own. */
.look .brief-side { flex-wrap: wrap; }
.look .lettertip { display: block; flex: 1 1 100%; }
.look .lettertip > summary { display: block; border-radius: var(--radius); }
.look .letterpill { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 16px; border-radius: var(--radius);
                    background: var(--surface); box-shadow: var(--shadow); color: var(--ink-2); }
.look .letterpill b { flex: 1 1 auto; font-size: 14.5px; font-weight: 700; color: var(--ink); }
.look .letterpill .icon { flex: none; width: 19px; height: 19px; }
.look .letterpill .letter-lock { width: 16px; height: 16px; color: var(--ink-3); }
@media (min-width: 960px) { .look .brief-side { flex-wrap: nowrap; } .look .lettertip { flex: none; } }

.look .seek { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px; border-radius: 999px;
              background: var(--surface); box-shadow: var(--shadow); color: var(--ink-3); }
.look .seek:focus-within { box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow); }
.look .seek .icon { flex: none; width: 18px; height: 18px; }
.look .seek input { flex: 1 1 auto; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; color: var(--ink); }

.look .bsec { display: grid; gap: 10px; min-width: 0; }
.look .bsec-top { display: flex; align-items: center; gap: 8px; min-height: 40px; }
.look .bsec-h { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; line-height: 1.4; }
.look .bsec-h .icon { width: 18px; height: 18px; }
.look .bsec-warn { color: var(--warn); }
.look .bsec-tools { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.look .toolbtn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink-2); }
.look .toolbtn:hover { background: var(--surface-2); color: var(--accent-text); }
.look .toolbtn .icon { width: 19px; height: 19px; }
.look .tool-warn { color: var(--warn); }
.look .bcard { min-width: 0; padding: 10px 12px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.look .bcard > .callout { margin: 6px 0; }

.look .cards { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.look .tcard { display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 68px; box-sizing: border-box; padding: 12px 14px;
               border-radius: 18px; background: var(--warn-soft); color: var(--ink); text-decoration: none; }
.look .tcard-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--surface); color: var(--warn); }
.look .tcard-icon .icon { width: 20px; height: 20px; }
.look .tcard-text { flex: 1 1 auto; min-width: 0; display: grid; }
.look .tcard-text b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.look .tcard-text span { font-size: 13.5px; color: var(--ink-2); }
.look .tcard-n { flex: none; font-size: 18px; font-weight: 800; color: var(--warn); }
.look .tcard > .icon { flex: none; width: 18px; height: 18px; color: var(--warn); }

.look .nrow { display: flex; align-items: center; gap: 12px; padding: 7px 4px; border-radius: 12px; color: var(--ink); text-decoration: none; }
.look .nrow-icon { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--surface-2); color: var(--ink-2); }
.look .nrow-icon .icon { width: 17px; height: 17px; }
.look .nrow-icon.is-delivered { background: var(--ok-soft); color: var(--ok); }
.look .nrow-icon.is-sent { color: var(--ink); }
.look .nrow-text { flex: 1 1 auto; min-width: 0; display: grid; }
.look .nrow-text b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.look .nrow-text span, .look .nrow-at { font-size: 13.5px; color: var(--ink-2); }
.look .nrow-at { flex: none; }

.look .blist, .look .blist-in { display: grid; margin: 0; padding: 0; list-style: none; }
.look .brow { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: 2px 14px; padding: 6px; }
.look .brow > .fitbars { margin-top: 13px; }               /* level with the middle of the title and the line under it */
.look .brow-acts { margin-top: 1px; }
.look .blist > .brow { padding-left: 12px; padding-right: 12px; }
.look .fitbars { display: inline-flex; align-items: flex-end; gap: 2px; width: 16px; height: 16px; }
.look .fitbars i { width: 4px; border-radius: 2px; background: var(--line-strong); }
.look .fitbars i:nth-child(1) { height: 6px; }
.look .fitbars i:nth-child(2) { height: 11px; }
.look .fitbars i:nth-child(3) { height: 16px; }
.look .fitbars-1 i:nth-child(1), .look .fitbars-2 i:nth-child(-n+2), .look .fitbars-3 i { background: var(--accent-hover); }
.look .brow-main { min-width: 0; }
.look .brow-main > summary { display: grid; list-style: none; cursor: pointer; border-radius: 10px; }
.look .brow-main > summary::-webkit-details-marker { display: none; }
.look .brow-main > summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.look .brow-main > summary:hover .brow-title { color: var(--accent-text); }
.look .brow-title { font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }
.look .brow-sub { font-size: 13.5px; color: var(--ink-2); }
.look .newdot { display: inline-block; position: relative; top: -1px; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--accent-hover); vertical-align: middle; }
.look .brow-more { display: grid; gap: 8px; max-width: 66ch; padding: 8px 0 6px; font-size: 14.5px; line-height: 1.55; }
.look .brow-line { display: flex; gap: 10px; }
.look .brow-line .icon { flex: none; width: 16px; height: 16px; margin-top: 3px; color: var(--ink-3); }
.look .brow-gap { color: var(--ink-2); }
.look .brow-open { display: inline-flex; align-items: center; gap: 6px; width: fit-content; font-weight: 600; }
.look .brow-open .icon { width: 15px; height: 15px; }
.look .brow-acts { display: flex; align-items: center; gap: 2px; }
.look .brow-acts > .tip { margin-right: 8px; }
.look .brow .mark { padding: 0; background: transparent; }
.look .brow .mark > span { display: none; }                 /* the icon alone; its sentence opens on a tap */
.look .brow .mark .icon { width: 18px; height: 18px; }
.look .pickbtn, .look .brow .nofit > summary { position: relative; display: grid; place-items: center; width: 40px; height: 40px;
                                               border-radius: 50%; color: var(--ink); cursor: pointer; }
.look .pickbtn input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.look .pickbtn .icon, .look .brow .nofit > summary .icon { width: 18px; height: 18px; }
.look .pickbtn:hover { background: var(--surface-2); }
.look .pickbtn:has(input:focus-visible), .look a.pickbtn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.look .brow .nofit > summary { color: var(--ink-3); }
.look .pick-go { background: var(--accent-soft); color: var(--accent-text); }
.look .pick-go:hover { background: color-mix(in srgb, var(--accent) 24%, var(--surface)); }
.look .pick-go:has(input:checked) { background: var(--accent-hover); color: #fff; box-shadow: 0 6px 16px var(--accent-glow); }
.look .pick-keep:has(input:checked) { background: var(--ink); color: var(--bg); }
.look .pick-keep:has(input:checked) .icon, .look .is-mine .icon { fill: currentColor; }
.look .is-mine { color: var(--ink-3); }
.look .pick-self { border: 1px solid var(--line-strong); }
.look .pick-gap { visibility: hidden; cursor: default; }    /* keeps the buttons of every row in the same columns */
@media (min-width: 640px) {
  .look .brow-main:not([open]) .brow-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
@media (max-width: 639px) {
  .look .brow { grid-template-columns: auto minmax(0, 1fr); }
  .look .brow > .fitbars { margin-top: 4px; }
  .look .brow-acts { grid-column: 2; justify-content: flex-end; }
  .look .brow-acts > .tip { margin-right: auto; }
  .look .pickbtn, .look .brow .nofit > summary { width: 44px; height: 44px; }
}

.look .bgroup { margin: 4px 0; padding: 8px 6px 4px; border-radius: 16px; background: var(--bg); }
.look .bgroup-head { display: flex; align-items: center; gap: 10px; padding: 2px 6px 4px; }
.look .bgroup-mark { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--ink); color: var(--bg); font-size: 14px; font-weight: 800; }
.look .bgroup-name { font-weight: 800; min-width: 0; overflow-wrap: anywhere; }
.look .dots { flex: none; margin-left: auto; display: inline-flex; align-items: center; gap: 5px; padding-right: 6px; }
.look .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.look .dots i.was { background: var(--ink); }
.look .dots i.now { background: var(--accent-hover); }
.look .dots-warn { display: none; width: 16px; height: 16px; margin-right: 2px; color: var(--warn); }
.look .dots.is-full .dots-warn { display: block; }

.look .morebtn { display: grid; place-items: center; width: 44px; height: 44px; margin: 6px auto 2px; border: 0; border-radius: 50%;
                 background: var(--surface-2); color: var(--ink); cursor: pointer; }
.look .morebtn:hover { color: var(--accent-text); }
.look .morebtn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.look .dock { position: sticky; bottom: 14px; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px;
              margin: 10px 0 2px; padding: 8px 8px 8px 20px; border-radius: 28px; background: var(--ink); color: var(--bg);
              box-shadow: 0 12px 30px rgba(43, 32, 27, 0.28); }
.look .dock-n { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-variant-numeric: tabular-nums; }
.look .dock-n .icon { width: 17px; height: 17px; }
.look .dock-crowd { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: #ffd98a; }
.look .dock-crowd > .icon { flex: none; width: 16px; height: 16px; }
.look .dock .crowd-line { display: inline; margin-right: 8px; font-weight: 600; }
.look .dock > .tip { margin-left: auto; }
.look .dock-safe { display: grid; place-items: center; width: 36px; height: 36px; opacity: 0.85; }
.look .dock-safe .icon { width: 18px; height: 18px; }
.look .dock .tipbox { top: auto; bottom: calc(100% + 10px); background: var(--surface); color: var(--ink); }
.look .dock-btn { width: auto; min-height: 44px; padding: 0 20px; gap: 6px; }
.look .dock-btn .icon { width: 17px; height: 17px; }

.look .bcard .gone { margin: 8px 6px 4px; }
.look .bcard .gone > summary { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink-3); }
.look .bcard .gone > summary .icon { width: 15px; height: 15px; }

/* The progress page (portal.progress): every application on three steps. A dot per step: green = done, a green
   ring = we are on it, red = waiting for the customer, a grey ring = stopped there. */
.look .pfilter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 16px; }
.look .ppill { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 16px; border: 1px solid var(--line-strong);
               border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 14.5px; font-weight: 600; text-decoration: none; }
.look .ppill em { font-style: normal; font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.look .ppill:hover { border-color: var(--ink-3); }
.look .ppill.is-on { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.look .ppill.is-on em { color: var(--line); }
.look .ppill:focus-visible, .look .pgo:focus-visible, .look .pout:focus-visible, .look a.psoft:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.look .pdot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.look .pfilter-gap { width: 1px; height: 22px; margin: 0 4px; background: var(--line-strong); }

.look .pcard { border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.look .plist { margin: 0; padding: 0; list-style: none; }
.look .prow { display: grid; grid-template-columns: minmax(0, 1fr) 220px 92px 132px; align-items: center; gap: 20px; padding: 11px 24px; border-top: 1px solid var(--line); }
.look .phead { border-top: 0; padding-top: 14px; padding-bottom: 10px; font-size: 12.5px; color: var(--ink-2); }
.look .pleg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: center; }
.look .pleg span { display: grid; justify-items: center; gap: 3px; }
.look .pleg .icon { width: 17px; height: 17px; }
.look .pwho { display: flex; align-items: center; gap: 12px; min-width: 0; }
.look .pav { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--surface-2); color: var(--ink-2); font-size: 14px; font-weight: 700; }
.look .pnm { min-width: 0; }
.look .pnm b { display: block; font-size: 14.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.look .pnm small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--ink-2); }
.look .p-ago { font-size: 12.5px; color: var(--ink-2); text-align: right; white-space: nowrap; }
.look .p-ago-in { display: none; }
.look .pmail { display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); font-weight: 600; vertical-align: middle; white-space: nowrap; }
.look .pmail .icon { width: 13px; height: 13px; }

.look .ptrk { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; }
.look .ptrk span { position: relative; display: flex; justify-content: center; align-items: center; height: 26px; }
.look .ptrk span::before { content: ""; position: absolute; top: 50%; right: 50%; width: 100%; height: 3px; margin-top: -1.5px; background: var(--line-strong); opacity: 0.6; }
.look .ptrk span:first-child::before { display: none; }
.look .ptrk span.is-done::before, .look .ptrk span.is-busy::before, .look .ptrk span.is-you::before, .look .ptrk span.is-stop::before { background: var(--ok); opacity: 1; }
.look .ptrk i { position: relative; z-index: 1; display: block; box-sizing: border-box; width: 14px; height: 14px; border-radius: 50%; background: #f1dfcf; }
.look .ptrk .is-done i { background: var(--ok); }
.look .ptrk .is-busy i { background: var(--surface); border: 3px solid var(--ok); }
.look .ptrk .is-you i { width: 18px; height: 18px; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.look .ptrk .is-stop i { background: var(--surface); border: 3px solid var(--ink-3); }

.look .pact { display: flex; justify-content: flex-end; }
.look .pgo, .look .pout, .look .psoft { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 999px;
                                        font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.look .pgo { background: var(--accent-text); color: var(--on-accent); }
.look .pgo:hover { background: var(--accent-hover); color: var(--on-accent); }
.look .pout { border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font-weight: 600; }
.look .pout:hover { border-color: var(--ink-3); color: var(--ink); }
.look .psoft { background: var(--surface-2); color: var(--ink-2); font-weight: 600; }
.look a.psoft:hover { color: var(--ink); }
.look .pgo .icon, .look .pout .icon, .look .psoft .icon { width: 16px; height: 16px; }
.look .pempty { display: grid; justify-items: center; gap: 14px; padding: 36px 24px; color: var(--ink-2); }
.look .pempty p { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 600; }

@media (max-width: 759px) {
  .look .pfilter-gap { display: none; }
  .look .ppill { min-height: 44px; padding: 0 14px; }
  .look .pcard { background: none; box-shadow: none; overflow: visible; }
  .look .pcard.pempty { background: var(--surface); box-shadow: var(--shadow); }
  .look .phead { grid-template-columns: minmax(0, 1fr); padding: 0 16px 8px; }
  .look .phead > :not(.pleg) { display: none; }
  .look .plist { display: grid; gap: 12px; }
  .look .plist .prow { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 12px; padding: 14px 16px; border: 0; border-radius: 20px;
                       background: var(--surface); box-shadow: 0 2px 6px rgba(140, 70, 20, 0.05), 0 12px 30px rgba(140, 70, 20, 0.08); }
  .look .plist .pwho { grid-column: 1; grid-row: 1; }
  .look .plist .pact { grid-column: 2; grid-row: 1; }
  .look .plist .ptrk { grid-column: 1 / -1; grid-row: 2; }
  .look .pav, .look .p-ago { display: none; }
  .look .p-ago-in { display: inline; }
  .look .pnm b { font-size: 15px; }
  .look .pgo, .look .pout, .look .psoft { min-height: 44px; font-size: 13.5px; }
}

/* The four places (Ken, 2026-12-05): signed in, a short list down the left side; on a narrower screen the same four
   along the bottom. What is within a place is tabs at the top of its pages. */
.look .jobfilter a { display: inline-flex; align-items: center; gap: 6px; }
.look .jobfilter a .icon { width: 15px; height: 15px; }
.look .jobfilter em { font-style: normal; font-size: 12.5px; opacity: 0.75; font-variant-numeric: tabular-nums; }
.look.has-side .topbar-inner, .look.has-side .foot { max-width: 1400px; }
.look .shell { max-width: 1400px; margin: 0 auto; }
.look .side { display: flex; }
.look .snav { position: relative; display: flex; align-items: center; gap: 10px; color: var(--ink-2); text-decoration: none; font-weight: 600; }
.look .snav .icon { flex: none; width: 19px; height: 19px; }
.look .snav-badge { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; box-sizing: border-box; border-radius: 999px;
                    background: var(--accent); color: var(--on-accent); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.look .snav:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.look .tabs { display: flex; gap: 26px; margin: 0 0 20px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.look .tabs::-webkit-scrollbar { display: none; }
.look .tab { position: relative; flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 2px; margin-bottom: -1px;
             border-bottom: 2px solid transparent; color: var(--ink-3); text-decoration: none; font-size: 15px; font-weight: 600; white-space: nowrap; }
.look .tab:hover { color: var(--ink); }
.look .tab.is-on { color: var(--ink); border-bottom-color: var(--accent); }
.look .tab em { font-style: normal; font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.look .tab:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.look .allclear { display: flex; align-items: center; gap: 8px; margin: 0; min-height: 40px; color: var(--ink-3); font-weight: 600; }
.look .allclear .icon { width: 18px; height: 18px; color: var(--ok, var(--ink-3)); }
.look a.morebtn { text-decoration: none; }

@media (min-width: 1000px) {
  .look .shell { display: grid; grid-template-columns: 176px minmax(0, 1fr); align-items: start; }
  .look .shell > .page { max-width: none; margin: 0; padding-left: 12px; }
  .look .side { position: sticky; top: 76px; flex-direction: column; gap: 4px; padding: 20px 8px 20px max(20px, env(safe-area-inset-left)); }
  .look .snav { min-height: 46px; padding: 0 14px; border-radius: 14px; font-size: 15.5px; }
  .look .snav > span:first-of-type { flex: 1 1 auto; min-width: 0; }
  .look .snav:hover { background: var(--surface-2); color: var(--ink); }
  .look .snav.is-on { background: var(--surface); color: var(--ink); box-shadow: 0 2px 6px rgba(140, 70, 20, 0.05), 0 8px 20px rgba(140, 70, 20, 0.07); }
  .look .snav.is-on .icon { color: var(--accent-text); }
}
@media (max-width: 999px) {
  .look.has-side { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .look .side { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; justify-content: space-around; padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
                background: color-mix(in srgb, var(--surface) 94%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
                border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(140, 70, 20, 0.07); }
  .look .snav { flex: 1 1 0; flex-direction: column; justify-content: center; gap: 2px; min-height: 50px; border-radius: 14px; font-size: 11.5px; }
  .look .snav .icon { width: 21px; height: 21px; }
  .look .snav.is-on { color: var(--accent-text); }
  .look .snav-badge { position: absolute; top: 2px; left: calc(50% + 4px); min-width: 17px; height: 17px; padding: 0 5px; font-size: 11px; }
  .look.has-side .dock { bottom: calc(76px + env(safe-area-inset-bottom)); }
  .look .tabs { gap: 20px; }
}
.look .tabs ~ a.back[href="/setup"] { display: none; }      /* "back to settings": the tabs above are the way around now */
.look .brow .mark-wait { box-shadow: none; }                /* in a row of the list the level is its icon alone */

/* Home, the summary (Ken, 2026-12-05): four numbers with their names, then three lists in one column. */
.look .hometitle { margin: 0 0 16px; font-size: 26px; font-weight: 800; letter-spacing: -0.01em; }
.look .home { display: grid; gap: 20px; max-width: 920px; min-width: 0; }
.look .htiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .look .htiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.look .htile { display: grid; gap: 2px; padding: 16px 18px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow);
               color: var(--ink-2); text-decoration: none; min-width: 0; }
.look a.htile:hover { background: var(--surface-2); }
.look a.htile:focus-visible, .look .hrow:focus-visible, .look .hmore:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.look .htile b { font-size: 30px; font-weight: 800; line-height: 1.15; color: var(--ink); font-variant-numeric: tabular-nums; }
.look .htile b small { font-size: 15px; font-weight: 600; color: var(--ink-3); }
.look .htile > span { font-size: 13.5px; font-weight: 600; color: var(--ink-3); }
.look .htile.is-you b { color: var(--accent-text); }
.look .htile.is-none b { color: var(--ink-3); }
.look .hcard { padding: 6px 18px 8px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); min-width: 0; }
.look .hhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; }
.look .hhead h2 { margin: 0; font-size: 15.5px; font-weight: 750; }
.look .hmore { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; color: var(--ink-3); text-decoration: none; font-size: 13.5px; font-weight: 600; white-space: nowrap; border-radius: 8px; }
.look .hmore:hover { color: var(--accent-text); }
.look .hmore .icon { width: 15px; height: 15px; }
.look .hrow { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); color: inherit; text-decoration: none; min-width: 0; }
.look .hrow:hover .hwhat b { color: var(--accent-text); }
.look .hwhat { flex: 1 1 auto; display: grid; gap: 1px; min-width: 0; }
.look .hwhat b { font-size: 15px; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.look .hwhat span { font-size: 13px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.look .hrow .pgo, .look .hrow .pout { flex: none; }
.look .hrow .ptrk { flex: none; width: 96px; }
.look .hstate { flex: none; display: grid; justify-items: end; gap: 1px; min-width: 84px; font-size: 13px; }
.look .hstate b { font-weight: 650; color: var(--ink-2); }
.look .hstate em { font-style: normal; color: var(--ink-3); font-size: 12.5px; }
.look .bsec-home .bsec-top { padding: 0 2px; }
.look .bsec-home .bsec-h { font-size: 15.5px; font-weight: 750; }
.look .seekrow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.look .seekrow .seek { flex: 1 1 260px; }
.look .seekrow .lettertip { flex: none; }
@media (max-width: 639px) {
  .look .hrow { flex-wrap: wrap; gap: 8px 12px; }
  .look .hrow .hwhat { flex-basis: 100%; }
  .look .hrow .hwhat b { white-space: normal; }
  .look .hstate { margin-left: auto; }
}
