/* The tailor block as settled (the product's `.tailor-block`, sites/jobsfind/views/tailwind.css). The CV field white
   with no outline at rest — the filters' hover outline (ink 50 %) under the pointer, the ink line while its list is
   out; the filters' switch; "Tailor my CV" black. The block's corner is the product's `rounded-card`, 36. */
.tb { background-color: #fff; }
.tb > canvas.tb-canvas { position: absolute; inset: 0; z-index: -1; display: block; width: 100%; height: 100%; border-radius: inherit; pointer-events: none; }
.tb > canvas.tb-pixelated { image-rendering: pixelated; }
.tb .tb-field { border: 1px solid transparent !important; background-color: #fff; transition: border-color 200ms cubic-bezier(0.2, 0, 0, 1); }
@media (hover: hover) { .tb .tb-field:not(.tb-focus):hover { border-color: #0F131A80 !important; } }
.tb .tb-field.tb-focus { border-color: #0F131A !important; }
.tb.tb-open { z-index: 1; }

/* The job card's lines, measured from the outer edges as the owner measures: its hairline is 1px INSIDE its size, so
   its inner plate stands 1 + 8 = 9 from its outer edge (1 + 6 = 7 on a phone) and its texts 9 + 18 = 27 (25). This block
   has no hairline and takes those numbers as they are: the heading, the texts, the field, the button and the switch
   on 27 (25); the result cells, the error plate and the no-CV plate 9 (7) from the sides and the foot and 9 (7)
   apart, their corner the inner plate's, 36 − 8 = 28 (30 on a phone). Inside a cell 18 from its outer edge to the
   text on the left and to its button on the right (its 1px edge, transparent, + 17). */
.tb.tb-g8 {
  --tb-in: calc(var(--card-inset, 8px) + 1px);
  --tb-line: calc(var(--card-inset, 8px) + 19px);
  padding-inline: var(--tb-line);
}
/* The result cells: white at 60 %, a 1px edge kept transparent. */
.tb .tb-card { border: 1px solid transparent; }
.tb .tb-k1 { background-color: rgb(255 255 255 / 0.6); }
.tb.tb-g8 .tb-card { border-radius: calc(36px - var(--card-inset, 8px)); padding-inline: 17px; }
.tb.tb-g8 [data-tailor-done] > .space-y-2 { margin-inline: -18px; }
.tb.tb-g8 [data-tailor-done] > .space-y-2 > * + * { margin-top: var(--tb-in); }
.tb.tb-g8:has([data-tailor-done]:not([hidden])) { padding-bottom: var(--tb-in); }

/* The start error: a plate across the block's whole width and foot, its 36 corners at the foot, 24 under the switch
   row (as the switch row is under the field row), 16 over and under the text, the text on the line. See-through, as
   the cells are: over N9 #F4DEDD (the ground) / #EDD9DC (a strand), the danger text 5.1 / 4.85 : 1 on it. */
.tb .tb-err { background-color: rgb(255 212 200 / 0.6); }
.tb .tb-err-bleed { border-radius: 0 0 36px 36px; }
.tb.tb-g8 .tb-err-bleed { margin: 24px calc(-1 * var(--tb-line)) -24px; padding: 16px var(--tb-line); }

/* No CV: the sentence and the two ways in on a white-60 % plate where the cells stand, 24 under the description. */
.tb.tb-g8 .tb-alert { margin: 24px -18px calc(var(--tb-in) - 24px); border-radius: calc(36px - var(--card-inset, 8px)); padding: 18px; background-color: rgb(255 255 255 / 0.6); }

/* The open CV list: the product draws it in <body>, at the body's weight; the sheet draws it inside the "Which CV"
   label, which is semibold, so it takes the product's weight back here. */
.tb .field-list { font-weight: 400; }

/* No CV on a phone: the two buttons the plate's whole width, one under the other (the row's gap, 12). The sheet's 370
   column is a phone (`.sh-phone`: the phone's card inset, 6, too); page.html below 640. */
.sh-phone .tb-btns > * { flex: 1 1 100%; }
@media (max-width: 639.98px) { .tb-btns > * { flex: 1 1 100%; } }

/* The sheet's own chrome on the states page (not on page.html). */
.sh-top { position: sticky; top: 0; z-index: 50; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; padding: 12px 24px; background: #fffffff2; border-bottom: 1px solid #0F131A1A; backdrop-filter: blur(8px); font: 14px/1.4 Figtree, system-ui, sans-serif; }
.sh-top h1 { margin: 0; font: 600 17px/1.3 Sora, sans-serif; }
.sh-top .sh-muted { color: #0F131A9E; }
.sh-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; flex-basis: 100%; }
.sh-nav b { font-weight: 500; color: #0F131A9E; font-size: 13px; margin-right: 2px; }
.sh-nav a { font-size: 13px; padding: 3px 10px; border-radius: 999px; border: 1px solid #0F131A1A; background: #fff; color: #0F131A; text-decoration: none; }
.sh-nav a:hover { border-color: #0F131A80; }
.sh-wrap { padding: 24px; }
.sh-note { max-width: 1180px; margin: 0 0 20px; color: #0F131AC9; font-size: 15px; }
.sh-row { display: grid; grid-template-columns: 180px 768px 370px; gap: 24px; align-items: start; padding: 22px 0; border-top: 1px solid #0F131A14; }
.sh-row:first-of-type { border-top: 0; }
.sh-cap b { display: block; font: 600 16px/1.3 Sora, sans-serif; margin-bottom: 6px; }
.sh-cap span { display: block; color: #0F131A9E; font-size: 14px; line-height: 1.45; }
.sh-cap a { color: #0F131A; }
.sh-col-h { font-size: 12px; color: #0F131A9E; margin-bottom: 6px; }
.sh-col .tb { margin-top: 0 !important; }
.sh-phone { --card-inset: 6px; }
.sh-pad { padding-bottom: 110px; }
