/* Elixirs Work, on top of Studio's app.css (same tokens). */

:root {
  --display: var(--ed-font-display);
  --accent-soft: color-mix(in srgb, var(--accent) 12%, transparent);
  --shadow: 0 1px 2px rgb(22 21 15 / 0.04), 0 8px 24px -12px rgb(22 21 15 / 0.12);
  --side: 248px;
}
/* Dark follows the system setting or [data-theme], the way the package switches. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 10px 30px -14px rgb(0 0 0 / 0.6); }
}
[data-theme="dark"] { --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 10px 30px -14px rgb(0 0 0 / 0.6); }

/* Heading tracking comes from the package (about -0.02em). Headlines are Inter since
   elixirs-design v1.4.0. The fonts stop at weight 700. */

h1, .display { font-family: var(--display); font-weight: 700; letter-spacing: var(--ed-text-h1-tracking); }
h1 { font-size: clamp(26px, 3.2vw, 34px); line-height: 1.08; }
.ic { display: inline-grid; place-items: center; flex: none; }
.ic svg { display: block; }
.link { font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn { display: inline-flex; align-items: center; gap: 8px; justify-content: center;
       text-decoration: none; transition: transform .12s ease, border-color .12s, background .12s; }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn.lg { padding: 12px 20px; font-size: 15px; border-radius: 8px; }
.btn.accent:hover { filter: brightness(1.06); }
.btn.busy { cursor: progress; }
.btn.busy::after { content: ""; width: 12px; height: 12px; border-radius: 99px;
                   border: 2px solid currentColor; border-right-color: transparent;
                   animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.notice { display: flex; gap: 10px; align-items: flex-start; }
.notice .ic { margin-top: 2px; }
.card { box-shadow: var(--shadow); }
.req { color: var(--accent); margin-left: 3px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font: 500 12.5px var(--sans);
        padding: 3px 10px; border-radius: 99px; background: var(--sunk); color: var(--ink); }
.taglist { display: flex; flex-wrap: wrap; gap: 6px; }

/* ------------------------------------------------------------------ app layout */
body.app { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); min-height: 100vh;
           align-content: start; }  /* a short page never stretches the phone's top bar */
body.app > main { grid-column: 2; width: 100%; max-width: 1040px; margin: 0 auto;
                  padding: 40px 40px 96px; }
.side { position: sticky; top: 0; z-index: 30; height: 100vh; display: flex; flex-direction: column; gap: 28px;
        padding: 22px 16px; border-right: 1px solid var(--line); background: var(--card); }
.side .brand { padding: 0 8px; font-size: 18px; }
.side nav { display: grid; gap: 2px; }
.side nav a, .tabbar a { display: flex; align-items: center; gap: 12px; padding: 9px 10px;
  border-radius: 8px; text-decoration: none; color: var(--muted); font-weight: 550; }
.side nav a:hover { background: var(--sunk); color: var(--ink); }
.side nav a.on { background: var(--accent-soft); color: var(--accent); }
.avatar { width: 34px; height: 34px; border-radius: 99px; display: grid; place-items: center;
          background: var(--ink); color: var(--paper); font: 700 13px var(--display); flex: none; }
/* The name card at the foot of the menu, and the account menu it opens. */
.side .account { margin-top: auto; position: relative; }
.side .me { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 10px;
  background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 10px;
  font: inherit; text-align: left; cursor: pointer; transition: background .12s, border-color .12s; }
.side .me:hover, .side .me[aria-expanded="true"] { background: var(--sunk); }
.side .me .avatar, .acct-head .avatar { border-radius: 6px; width: 32px; height: 32px; font-size: 12px; }
.side .who, .acct-head .who { display: grid; min-width: 0; line-height: 1.3; flex: 1; }
.side .who b, .acct-head .who b { font-size: 13.5px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side .who .role, .acct-head .who .role { font-size: 12px; color: var(--muted); }
.side .me .dots { color: var(--muted); display: grid; }
.acct-menu { position: absolute; left: calc(100% + 14px); bottom: 0; z-index: 40; width: 220px;
  background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 6px 0;
  box-shadow: 0 12px 32px rgb(0 0 0 / .14); }
.acct-menu[hidden] { display: none; }
.acct-head { display: flex; align-items: center; gap: 10px; padding: 8px 14px 12px;
  border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.acct-group { padding-bottom: 6px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.acct-label { margin: 8px 14px 6px; font-size: 11px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); }
.acct-menu .item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 14px;
  background: none; border: 0; font: inherit; font-size: 14px; color: var(--ink); text-align: left;
  text-decoration: none; cursor: pointer; }
.acct-menu .item:hover, .acct-menu .item:focus-visible { background: var(--sunk); outline: none; }
.acct-menu .item .ic { color: var(--muted); }
.acct-menu .dot { width: 16px; display: grid; place-items: center; }
.acct-menu [aria-checked="true"] .dot::before { content: ""; width: 7px; height: 7px; border-radius: 99px;
  background: var(--accent); }
.iconbtn { background: none; border: 0; color: var(--muted); padding: 6px; border-radius: 6px;
           cursor: pointer; }
.iconbtn:hover { color: var(--ink); background: var(--sunk); }
.tabbar { display: none; }

/* The side menu folds to icons (shell.js, side.js): the icon replaces the lockup, the fold button
   sits under it, then the menu's icons. Each link's name stays in the page for screen readers. */
.side .side-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.side .side-head .brand { min-width: 0; }
.side .brand img.lockup { height: 30px; max-width: 100%; }
.side .fold { display: grid; place-items: center; }
.brand img.mark { height: 34px; width: 34px; display: none; }
@media (min-width: 861px) {
  body.app { transition: grid-template-columns .18s ease; }
  :root.side-folded { --side: 76px; }
  .side-folded .side { padding: 22px 12px; align-items: center; }
  .side-folded .side .side-head { flex-direction: column; gap: 14px; }
  .side-folded .side .brand { padding: 0; }
  /* Outranks app.css's dark-mode rule that shows the light lockup
     (:root:not([data-theme="light"]) .brand img.lockup.on-dark). */
  :root.side-folded aside.side .brand img.lockup { display: none; }
  .side-folded .brand img.mark.on-light { display: block; }
  .side-folded .side nav { width: 100%; justify-items: center; }
  .side-folded .side nav a { justify-content: center; width: 44px; height: 40px; padding: 0; }
  .side-folded .side nav a .label, .side-folded .side .me .who { position: absolute; width: 1px; height: 1px;
    margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .side-folded .side .account { width: 100%; display: grid; justify-items: center; }
  .side-folded .side .me { width: auto; padding: 6px; border-color: transparent; background: none; }
  .side-folded .side .me:hover, .side-folded .side .me[aria-expanded="true"] { background: var(--sunk); }
  .side-folded .side .me .dots { display: none; }
}
@media (min-width: 861px) and (prefers-color-scheme: dark) {
  :root.side-folded:not([data-theme="light"]) .brand img.mark.on-light { display: none; }
  :root.side-folded:not([data-theme="light"]) .brand img.mark.on-dark { display: block; }
}
@media (min-width: 861px) {
  [data-theme="dark"].side-folded .brand img.mark.on-light { display: none; }
  [data-theme="dark"].side-folded .brand img.mark.on-dark { display: block; }
}
@media (prefers-reduced-motion: reduce) { body.app { transition: none; } }

@media (max-width: 860px) {
  .side .fold { display: none; }
  body.app { grid-template-columns: minmax(0, 1fr); }
  body.app > main { grid-column: 1; padding: 24px 16px 104px; }
  .side { position: static; height: auto; flex-direction: row; align-items: center; padding: 12px 16px;
          border-right: 0; border-bottom: 1px solid var(--line); }
  .side nav { display: none; }
  .side .account { margin: 0 0 0 auto; }
  .side .me { border: 0; padding: 4px; background: none; }
  .side .me .who, .side .me .dots { display: none; }
  .acct-menu { left: auto; right: 0; bottom: auto; top: calc(100% + 8px); }
  .tabbar { display: flex; position: fixed; inset: auto 0 0 0; z-index: 20; background: var(--card);
            border-top: 1px solid var(--line); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); }
  .tabbar a { flex: 1; flex-direction: column; gap: 3px; font-size: 11.5px; padding: 6px 4px; }
  .tabbar a.on { color: var(--accent); }
}

/* ------------------------------------------------------------------ page parts */
.pagehead { margin-bottom: 28px; }
.pagehead p { color: var(--muted); margin: 6px 0 0; max-width: 620px; }
.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
                 margin: 36px 0 12px; }
.section-title h2 { font: 700 18px var(--display); letter-spacing: var(--ed-text-h2-tracking); }
.reveal > * { animation: rise .45s cubic-bezier(.2,.7,.2,1) both; }
.reveal > *:nth-child(2) { animation-delay: .05s; }
.reveal > *:nth-child(3) { animation-delay: .1s; }
.reveal > *:nth-child(4) { animation-delay: .15s; }
.reveal > *:nth-child(5) { animation-delay: .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .reveal > * { animation: none; } }

/* The road to Studio: where you are, at a glance. */
.road { display: grid; grid-template-columns: repeat(5, 1fr); position: relative; padding: 4px 0 0;
        list-style: none; margin: 0; }
.road::before, .road::after { content: ""; position: absolute; top: 18px; left: 10%; height: 2px;
  background: var(--line); width: 80%; }
.road::after { background: var(--accent); width: calc(80% * var(--done, 0)); transition: width .6s ease; }
.road li { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center;
           gap: 8px; padding: 0 6px; align-content: start; }
.road .dot { width: 36px; height: 36px; border-radius: 99px; display: grid; place-items: center;
             background: var(--card); border: 2px solid var(--line); color: var(--muted);
             font: 600 13px var(--mono); }
.road li.done .dot { background: var(--accent); border-color: var(--accent); color: #fff; }
.road li.now .dot { border-color: var(--accent); color: var(--accent);
                    box-shadow: 0 0 0 6px var(--accent-soft); }
.road .lbl { font-size: 13px; font-weight: 600; line-height: 1.3; }
.road li:not(.done):not(.now) .lbl { color: var(--muted); font-weight: 500; }
.road .sub { font-size: 12px; color: var(--muted); }
@media (max-width: 640px) {
  .road { grid-template-columns: 1fr; gap: 14px; }
  .road::before, .road::after { left: 17px; top: 18px; width: 2px; height: calc(100% - 36px); }
  .road::after { height: calc((100% - 36px) * var(--done, 0)); width: 2px; }
  .road li { grid-template-columns: 36px 1fr; justify-items: start; text-align: left; column-gap: 12px;
             row-gap: 0; align-items: center; }
  .road li .sub { grid-column: 2; }
}

/* The one thing to do next. */
.next { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center;
        padding: 24px 26px; border-radius: 14px; background: var(--ink); color: var(--paper);
        position: relative; overflow: hidden; }
.next::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 320px; height: 320px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 55%, transparent), transparent);
  pointer-events: none; }
.next > * { position: relative; }
.next .kicker { font: 500 12px var(--mono); letter-spacing: .1em; text-transform: uppercase;
                color: color-mix(in srgb, var(--paper) 65%, transparent); }
.next h2 { font: 700 22px/1.2 var(--display); letter-spacing: var(--ed-text-h2-tracking); margin: 6px 0 4px; }
.next p { margin: 0; color: color-mix(in srgb, var(--paper) 75%, transparent); max-width: 520px; }
.next .btn.accent { border: 0; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .next { background: #26231d; color: var(--ink); }
  :root:not([data-theme="light"]) .next .kicker { color: var(--muted); }
  :root:not([data-theme="light"]) .next p { color: color-mix(in srgb, var(--ink) 75%, transparent); }
}
[data-theme="dark"] .next { background: #26231d; color: var(--ink); }
[data-theme="dark"] .next .kicker { color: var(--muted); }
[data-theme="dark"] .next p { color: color-mix(in srgb, var(--ink) 75%, transparent); }
@media (max-width: 640px) { .next { grid-template-columns: 1fr; } }

/* Applications */
.apps { display: grid; gap: 12px; }
.app-card { padding: 18px 20px; display: grid; gap: 14px; }
.app-card .line1 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.app-card .line1 h3 { margin: 0; text-transform: none; letter-spacing: -0.01em; color: var(--ink);
                    font: 650 16px var(--sans); }
.phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.phases span { height: 4px; border-radius: 99px; background: var(--sunk); }
.phases span.on { background: var(--accent); }
.phases.ok span.on { background: var(--ok); }
.phases.bad span.on { background: var(--bad); }
.app-card .what { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.app-card .what .ic { color: var(--muted); margin-top: 2px; }
.app-card .reason { background: var(--sunk); border-radius: 8px; padding: 10px 12px; font-size: 14px; }

/* Opportunities (tracks) */
.opps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.opp { display: grid; gap: 14px; padding: 22px; align-content: start; position: relative;
       transition: border-color .15s, transform .15s; }
a.opp { color: inherit; text-decoration: none; }
a.opp:hover { border-color: var(--ink); transform: translateY(-2px); }
.opp h3 { margin: 0; text-transform: none; letter-spacing: var(--ed-text-h3-tracking); color: var(--ink);
          font: 700 19px/1.2 var(--display); }
.opp p { margin: 0; color: var(--muted); font-size: 14.5px; }
.facts { display: grid; gap: 6px; font-size: 13.5px; }
.facts div { display: flex; gap: 8px; align-items: flex-start; }
.facts .ic { margin-top: 2px; }
.facts .ic { color: var(--muted); }
.opp .foot { display: flex; align-items: center; gap: 10px; margin-top: 4px; }

/* Profile */
.profile { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: start; }
.toc { position: sticky; top: 24px; display: grid; gap: 4px; }
.toc .meter { margin-bottom: 14px; }
.meter b { font: 700 30px var(--display); letter-spacing: var(--ed-text-h1-tracking); }
.meter .fill { height: 6px; border-radius: 99px; background: var(--sunk); overflow: hidden; margin: 8px 0 6px; }
.meter .fill i { display: block; height: 100%; background: var(--accent); transition: width .5s ease; }
.toc a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 99px;
         color: var(--muted); text-decoration: none; font-weight: 550; font-size: 14px; }
.toc a .lbl { flex: 1; min-width: 0; }
.toc a:hover { background: var(--sunk); color: var(--ink); }
/* The tick sits on the right: an empty ring until the step is done, then a filled check. */
.toc a .tick { width: 20px; height: 20px; border-radius: 99px; border: 1.5px solid var(--line);
               display: grid; place-items: center; flex: none; }
.toc a.done { color: var(--ink); }
.toc a.done .tick { background: var(--ok); border-color: var(--ok); color: #fff; }
.toc a.need .tick { border-color: var(--accent); }
/* The section on screen: an ink pill (dark on light pages, light on dark ones). */
.toc a.on { background: var(--ink); color: var(--paper); }
.toc a.on .tick { border-color: color-mix(in srgb, var(--paper) 55%, transparent); }
.toc a.on.done .tick { border-color: var(--ok); }
.psec { scroll-margin-top: 24px; }
.psec > header h2 { font: 700 17px var(--display); letter-spacing: var(--ed-text-h2-tracking); }
.psec > header .state { font-size: 13px; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.psec > header .state.done { color: var(--ok); }
.psec .foot { display: flex; align-items: center; gap: 12px; justify-content: flex-end;
              padding: 14px 18px; border-top: 1px solid var(--line); }
.saved { font-size: 13px; color: var(--ok); display: inline-flex; gap: 6px; align-items: center; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
/* On a phone the step list is a compact strip of pills across the top, kept in view. */
@media (max-width: 860px) {
  .profile { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .toc { position: sticky; top: 0; z-index: 6; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
         background: var(--paper); padding: 8px 0; margin: 0 -2px; }
  .toc::-webkit-scrollbar { display: none; }
  .toc .meter { display: none; }
  .toc a { flex: none; border: 1px solid var(--line); padding: 6px 10px; font-size: 13px; gap: 6px; }
  .toc a .tick { width: 16px; height: 16px; }
  .psec { scroll-margin-top: 64px; }
}
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } }

.drop { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 34px 20px;
        border: 2px dashed var(--line); border-radius: 12px; cursor: pointer; background: var(--paper);
        transition: border-color .15s, background .15s; }
.drop:hover, .drop.over { border-color: var(--accent); background: var(--accent-soft); }
.drop .ic { color: var(--accent); }
.drop b { font-size: 15px; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.filecard { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 10px;
            border: 1px solid var(--line); background: var(--paper); }
.filecard .ic.doc { width: 40px; height: 40px; border-radius: 8px; background: var(--accent-soft);
                    color: var(--accent); }
.filecard .nm { flex: 1; min-width: 0; }
.filecard .nm b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* "Fill my profile from my resume": one row per suggestion, used or left one at a time. */
.suggest-row { flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.suggest-row .muted { flex: 1 1 260px; }
.suggest-list { display: grid; gap: 8px; padding: 14px 16px; border: 1px solid var(--line);
                border-radius: 10px; background: var(--paper); }
.suggest-list:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.suggest-list h3 { margin: 0; font-size: 15px; }
.suggest-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.suggest-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: start;
                padding: 10px 0; border-top: 1px solid var(--line); }
.suggest-value { overflow-wrap: anywhere; white-space: pre-line; }
.suggest-actions { gap: 6px; flex-wrap: nowrap; }
.help.suggested { color: var(--accent); }
@media (max-width: 560px) { .suggest-item { grid-template-columns: 1fr; } }

.langs { display: grid; gap: 10px; }
.lang-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center;
            padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.levels { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.levels button { font: 500 13px var(--sans); border: 0; background: none; color: var(--muted);
              padding: 6px 10px; cursor: pointer; }
.levels button + button { border-left: 1px solid var(--line); }
.levels button.on { background: var(--ink); color: var(--paper); }
.pick { display: flex; flex-wrap: wrap; gap: 8px; }
.pick button { font: 500 13.5px var(--sans); border: 1px dashed var(--line); background: none;
               color: var(--ink); border-radius: 99px; padding: 6px 12px; cursor: pointer; }
.pick button:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 560px) { .lang-row { grid-template-columns: 1fr auto; } .lang-row .levels { grid-row: 2; } }

.tagbox { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 6px 8px;
          border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.tagbox:focus-within { outline: 2px solid var(--accent); outline-offset: -1px; }
.tagbox input { border: 0; outline: 0; flex: 1; min-width: 140px; font: 15px var(--sans);
                background: none; color: var(--ink); padding: 4px; }
.tagbox .chip button { border: 0; background: none; color: var(--muted); cursor: pointer; padding: 0; }

.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 550; }
.switch input { appearance: none; width: 40px; height: 24px; border-radius: 99px; background: var(--line);
                position: relative; cursor: pointer; transition: background .15s; margin: 0; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px;
                       border-radius: 99px; background: #fff; transition: left .15s; }
.switch input:checked { background: var(--ok); }
.switch input:checked::after { left: 19px; }

/* Toasts: top right, readable, and they leave on their own. */
.toasts { position: fixed; top: 16px; right: 16px; z-index: 60; display: grid; gap: 8px;
          max-width: min(420px, calc(100vw - 32px)); }
.toast { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px;
         background: var(--card); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow);
         font-size: 14px; animation: rise .25s ease both; transition: opacity .3s, transform .3s; }
.toast.ok .ic { color: var(--ok); }
.toast.bad { border-color: var(--bad); }
.toast.bad .ic { color: var(--bad); }
.toast.leaving { opacity: 0; transform: translateY(-6px); }

/* ------------------------------------------------------------------ public pages */
.publicnav { display: flex; gap: 16px; align-items: center; padding: 18px clamp(16px, 4vw, 40px);
             max-width: 1240px; margin: 0 auto; }
.publicnav .row { gap: 16px; }
.hero { padding: clamp(40px, 8vw, 96px) clamp(16px, 4vw, 40px) 48px; max-width: 1240px; margin: 0 auto;
        display: grid; gap: 22px; }
.hero h1 { font-size: clamp(38px, 6.4vw, 76px); line-height: .98; letter-spacing: var(--ed-text-display-lg-tracking);
           max-width: 940px; font-weight: 600; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { max-width: 600px; color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); margin: 0; }
.langstrip { display: flex; flex-wrap: wrap; gap: 8px; }
.langstrip span, .langstrip a { font: 500 13px var(--mono); padding: 6px 12px; border: 1px solid var(--line);
                  border-radius: 99px; color: var(--muted); text-decoration: none; }
.langstrip a:hover { border-color: var(--accent); color: var(--accent); }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px) 96px; }
.promise { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px;
           background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
           margin-top: 56px; }
.promise div { background: var(--card); padding: 22px; display: grid; gap: 6px; align-content: start; }
.promise b { font: 700 16px var(--display); letter-spacing: -0.01em; }
.promise span { color: var(--muted); font-size: 14px; }
.promise .n { font: 500 12px var(--mono); color: var(--accent); }
.pub-foot { border-top: 1px solid var(--line); padding: 24px clamp(16px, 4vw, 40px); color: var(--muted);
            font-size: 13px; max-width: 1240px; margin: 0 auto; display: flex; gap: 16px; flex-wrap: wrap; }

.howto { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 1px;
          grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); background: var(--line);
          border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.howto li { counter-increment: s; background: var(--card); padding: 22px; display: grid; gap: 6px;
            align-content: start; }
.howto li::before { content: counter(s, decimal-leading-zero); font: 500 12px var(--mono); color: var(--accent); }
.howto b, .paynotes b { font: 600 18px var(--display); letter-spacing: -0.01em; }
.howto span, .paynotes span { color: var(--muted); font-size: 14px; }
.paynotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.paynotes div { display: grid; gap: 6px; align-content: start; border-top: 2px solid var(--accent); padding-top: 14px; }
.ledger-empty { display: grid; gap: 8px; }

.trackpage { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.trackpage aside { position: sticky; top: 24px; }
.trackpage .lead { font-size: 18px; color: var(--muted); }
@media (max-width: 860px) { .trackpage { grid-template-columns: 1fr; } .trackpage aside { position: static; } }

/* ------------------------------------------------------------------ sign-in pages */
.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.auth .art { position: relative; overflow: hidden; padding: 48px clamp(28px, 4vw, 56px);
             display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
             background: #0e0e0c; color: #fafaf7; }
.auth .art::before { content: ""; position: absolute; inset: auto -20% -30% -20%; height: 70%;
  background: radial-gradient(closest-side, rgb(240 106 46 / .45), transparent 70%); pointer-events: none; }
.auth .art::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgb(246 244 239 / .07) 1px, transparent 1px); background-size: 18px 18px; }
.auth .art > * { position: relative; z-index: 1; }
.auth .art .brand { color: #fafaf7; }
.auth .art h2 { font: 700 clamp(30px, 3.6vw, 46px)/1.02 var(--display); letter-spacing: var(--ed-text-display-tracking);
                max-width: 520px; margin: 0; }
.auth .art p { color: #c9c2b2; max-width: 440px; }
.auth .art ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; counter-reset: s; }
.auth .art li { counter-increment: s; display: flex; gap: 12px; align-items: center; color: #d9d3c4; font-size: 14.5px; }
.auth .art li::before { content: counter(s); width: 24px; height: 24px; border-radius: 99px; flex: none;
  display: grid; place-items: center; border: 1px solid rgb(246 244 239 / .25); font: 500 12px var(--mono); }
.auth .panel { display: grid; place-items: center; padding: 40px 20px; }
.auth form, .auth .done { width: min(400px, 100%); }
.auth form h1 { font-size: 30px; }
.auth .mobile-brand { display: none; }
.auth .alt { text-align: center; font-size: 14px; color: var(--muted); margin-top: 18px; }
.auth .alt a { color: var(--ink); font-weight: 600; }
.auth .btn.primary.wide { width: 100%; padding: 12px; font-size: 15px; }
.auth .between { display: flex; justify-content: space-between; align-items: center; }
.auth .between a { font-size: 13.5px; font-weight: 500; }
.auth .done { display: grid; gap: 14px; text-align: center; justify-items: center; }
.auth .done .ic.big { width: 64px; height: 64px; border-radius: 99px; background: var(--ok-bg); color: var(--ok); }
/* The address in "We sent a confirmation link to <b>…</b>": a class rule, not a style attribute,
   so the page runs under a policy that allows no inline styles (the Next.js front end's). */
.auth .done .muted b { color: var(--ink); }
@media (max-width: 900px) {
  .auth { grid-template-columns: 1fr; }
  .auth .art { display: none; }
  .auth .panel { place-items: start center; padding-top: 32px; }
  .auth .mobile-brand { display: flex; margin-bottom: 28px; }
}

/* Staff review keeps the plain list rows. */
.app-row { display: grid; gap: 4px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.app-row:last-child { border-bottom: 0; }
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 10px; margin: 0; }
.steps li { counter-increment: s; display: flex; gap: 12px; align-items: center; }
.steps li::before { content: counter(s); width: 26px; height: 26px; border-radius: 99px;
                    display: grid; place-items: center; font: 600 13px var(--mono); background: var(--sunk); flex: none; }
.steps li.done::before { content: "✓"; background: var(--ok-bg); color: var(--ok); }

/* ------------------------------------------------------------------ staff review */
body.app > main.wide { max-width: 1240px; }
.review { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 20px; align-items: start; }
.review:has(.panel[hidden]) { grid-template-columns: minmax(0, 1fr); }
.queue { display: grid; gap: 8px; }
.qrow { display: grid; grid-template-columns: 40px minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 14px;
        align-items: center; padding: 14px 16px; cursor: pointer; text-align: left; font: inherit;
        color: inherit; width: 100%; transition: border-color .12s; }
.qrow:hover { border-color: var(--ink); }
.qrow.on { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.qrow .avatar { width: 40px; height: 40px; }
.qrow .nm b { display: block; }
.qrow .due { font-size: 13px; color: var(--muted); text-align: right; white-space: nowrap; }
.qrow .due.late { color: var(--bad); font-weight: 600; }
.panel { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow: auto; }
.panel .phead { display: flex; gap: 12px; align-items: center; padding: 18px; border-bottom: 1px solid var(--line); }
.panel .phead .avatar { width: 44px; height: 44px; }
.panel .phead h2 { font: 700 18px var(--display); letter-spacing: var(--ed-text-h2-tracking); }
.panel .blk { padding: 16px 18px; border-bottom: 1px solid var(--line); display: grid; gap: 10px; }
.panel .blk:last-child { border-bottom: 0; }
.panel .blk > h3 { margin: 0; }
.mini { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 14px; }
.mini li { display: flex; gap: 8px; align-items: center; color: var(--muted); }
.mini li.done { color: var(--ink); }
.mini li .ic { color: var(--line); }
.mini li.done .ic { color: var(--ok); }
.linkbox { display: flex; gap: 8px; }
.linkbox input { font: 12.5px var(--mono); }
.studio-box { border-radius: 10px; padding: 14px; background: var(--sunk); display: grid; gap: 10px; }
@media (max-width: 1100px) {
  .review { grid-template-columns: minmax(0, 1fr); }
  .panel { position: static; max-height: none; }
  .qrow { grid-template-columns: 40px minmax(0, 1fr) auto; }
  .qrow .trk { display: none; }
}

/* Sign in with Google / GitHub */
.sso { display: grid; gap: 10px; }
.sso-row { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 10px; }
.sso-btn { display: flex; align-items: center; justify-content: center; height: 44px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line); color: var(--ink); }
.sso-btn:hover { border-color: var(--ink); }
.sso-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.sso-btn .ic { display: inline-flex; }
.sso .or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin-top: 6px; }
.sso .or::before, .sso .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Settings: tabs, rows, confirmation dialogs. */
.settabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: -8px 0 24px; }
.settabs a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; text-decoration: none;
             color: var(--muted); font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.settabs a:hover { color: var(--ink); }
.settabs a.on { color: var(--accent); border-bottom-color: var(--accent); }
.setsec > header h2 { font: 700 17px var(--display); letter-spacing: var(--ed-text-h2-tracking); }
.setsec .lead { margin: 0; }
.setcols { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.setcols h3 { margin-bottom: 6px; }
.setsec details { font-size: 14px; color: var(--muted); }
.setsec details summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.setsec details p { margin: 8px 0 0; }
/* Where you're signed in (.devices) and Sign-in methods (.signins): one row per device or method. */
.devices, .signins { list-style: none; margin: 0; padding: 0; }
.devices li, .signins li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px;
              align-items: center; padding: 14px 18px; border-top: 1px solid var(--line); }
.devices li:first-child, .signins li:first-child { border-top: 0; }
.devices .ic, .signins .ic { color: var(--muted); }
.devices b, .signins b { display: block; }
.devices .meta, .signins .meta { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.qr { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: start; }
.qr img { width: 180px; height: 180px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.secret { font: 500 14px var(--mono); letter-spacing: .08em; background: var(--sunk); padding: 8px 10px;
          border-radius: var(--r); overflow-wrap: anywhere; user-select: all; }
.codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; list-style: none; padding: 0; margin: 0; }
.codes li { font: 500 15px var(--mono); background: var(--sunk); padding: 8px 10px; border-radius: var(--r); text-align: center; }
.ticks { margin: 0; padding-left: 20px; }
.ticks li + li { margin-top: 4px; }
dialog.ask { border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink);
             padding: 22px; width: min(440px, calc(100vw - 32px)); box-shadow: var(--shadow); }
dialog.ask::backdrop { background: rgb(14 14 12 / 0.45); }
dialog.ask h2 { font: 700 20px var(--display); letter-spacing: var(--ed-text-h2-tracking); }
dialog.ask p { margin: 0; }
dialog.ask .actions { margin-top: 18px; }
@media (max-width: 640px) {
  .qr { grid-template-columns: 1fr; }
  .devices li, .signins li { grid-template-columns: auto minmax(0, 1fr); }
  .devices li > :last-child, .signins li > :last-child { grid-column: 1 / -1; justify-self: start; }
}

/* ------------------------------------------------------------------ loading */
/* Shown while a page waits for its data, and only if the wait is long enough to notice: it
   appears after 300 ms, so a quick load never flashes it. */
.loading { margin: 8px 0 0; color: var(--muted); font-size: 14px;
           animation: loading-in 0s linear .3s both; }
@keyframes loading-in { from { visibility: hidden; } to { visibility: visible; } }
#err:not([hidden]) ~ .loading, #err:not([hidden]) ~ * .loading { display: none; }

/* ------------------------------------------------------------------ once style attributes */
/* What the pages' markup used to carry in style="…". Kept here so the same markup works under a
   policy that allows no style attribute (the Next.js pages). Each selector outranks the rule it
   used to override, as the attribute did. */
.card.road-card { margin-top: 16px; }
#pctbar { width: 0; }
.help.flush { margin: 0; }
.pick-label { margin-bottom: 8px; }
#rate { max-width: 180px; }
/* Wide enough for "NGN · Nigerian Naira"; the row wraps on a phone. */
#cur { width: 240px; max-width: 100%; }
#per { max-width: 130px; }
.row.profile-foot { margin-top: 32px; gap: 20px; }
.wrap.trackmain { padding-top: 24px; }
.lang-search { margin-top: 4px; }
.lang-search-row { display: flex; align-items: center; gap: 8px; }
.lang-search-row .input { flex: 1; min-width: 0; }
#availability .two { align-items: start; }

/* ------------------------------------------------------------------ jobs */
/* The list on the left; a chosen job beside it on a wide screen, or as its own page on a phone. */
.jobs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
.joblist { min-width: 0; }
.jobs.open { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.jobtools { display: grid; gap: 12px; margin-bottom: 16px; }
.jobsearch { position: relative; max-width: 520px; }
.jobsearch .ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted);
                 pointer-events: none; }
.jobsearch .input { padding-left: 36px; }
.catrow { display: flex; flex-wrap: wrap; gap: 6px; }
.catchip { font: 500 13px var(--sans); padding: 5px 12px; border-radius: 99px; cursor: pointer;
           border: 1px solid var(--line); background: var(--card); color: var(--muted); }
.catchip:hover { color: var(--ink); border-color: var(--ink); }
.catchip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.jobgrid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.jobs.open .jobgrid { grid-template-columns: minmax(0, 1fr); }
.jcard { display: grid; gap: 10px; padding: 18px 20px; align-content: start; color: inherit;
         text-decoration: none; transition: border-color .12s, box-shadow .12s; }
.jcard:hover { border-color: var(--ink); }
.jcard.on { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.jcard h3 { margin: 0; text-transform: none; letter-spacing: var(--ed-text-h3-tracking); color: var(--ink);
            font: 700 17px/1.25 var(--display); }
.jcard .jd { margin: 0; color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-box-orient: vertical;
             -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.jpay { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; }
.jpay .ic { color: var(--muted); margin-top: 2px; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; min-height: 0; }
.badges:empty { display: none; }
.showmore { justify-content: center; margin-top: 16px; }
.jobdetail { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow: auto; display: grid; }
.jobdetail .jhead { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 18px 0; }
.jobdetail .jhead .btn { white-space: nowrap; }
.jobdetail .jbody { padding: 10px 22px 6px; display: grid; gap: 16px; }
.jobdetail h2 { font: 700 24px/1.2 var(--display); letter-spacing: var(--ed-text-h2-tracking); margin: 0; }
.jobdetail h2:focus { outline: none; }
.jobdetail h2:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.jwhere { display: flex; gap: 8px; align-items: flex-start; margin: -8px 0 0; color: var(--muted); font-size: 14px; }
.jwhere .ic { margin-top: 2px; }
.jfacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 10px 18px; margin: 0;
          padding: 14px 16px; border-radius: 10px; background: var(--sunk); }
.jfacts div { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 8px; align-items: start; }
.jfacts .ic { grid-row: span 2; color: var(--muted); margin-top: 2px; }
.jfacts dt { font-size: 12.5px; color: var(--muted); }
.jfacts dd { margin: 0; font-size: 14px; font-weight: 550; }
.jsec { display: grid; gap: 8px; }
.jsec h3 { margin: 0; }
.jsec p { margin: 0; }
.jsec .lead { font-size: 15.5px; }
.jtext { white-space: pre-wrap; font-size: 14.5px; }
.jactions { position: sticky; bottom: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
            padding: 14px 22px; border-top: 1px solid var(--line); background: var(--card); margin-top: 6px; }
.jactions p { margin: 0; flex-basis: 100%; }
.only-phone { display: none; }
@media (max-width: 1100px) {
  .jobs.open { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
}
@media (max-width: 860px) {
  .jobs.open { grid-template-columns: minmax(0, 1fr); }
  .reading .pagehead, .reading #gaps, .jobs.open .joblist { display: none; }
  .jobdetail { position: static; max-height: none; overflow: visible; }
  .jactions { bottom: calc(64px + env(safe-area-inset-bottom)); }
  .only-phone { display: inline-flex; }
  .only-wide { display: none; }
  .joblist .tabs button { padding: 9px 8px; }
  .jobdetail .jhead .badges { flex-basis: 100%; }
  .jobdetail .jhead .spacer { display: none; }
}

/* The Apply form: the job in brief beside the form (on top on a phone). */
/* The heading stays put; the job and the form scroll under it. */
dialog.applydlg { width: min(880px, calc(100vw - 32px)); padding: 0; max-height: calc(100dvh - 32px); }
dialog.applydlg[open] { display: flex; flex-direction: column; }
.applyhead { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line);
             flex: none; }
.applyhead h2 { flex: 1; min-width: 0; }
.applygrid { display: grid; grid-template-columns: 260px minmax(0, 1fr); overflow: auto; min-height: 0;
              background: linear-gradient(to right, var(--sunk) 260px, transparent 260px); }
/* The job in brief stays in view while the form scrolls. */
.applysum { padding: 20px 22px; display: grid; gap: 8px; align-content: start; position: sticky; top: 0;
            align-self: start; }
.applysum p { margin: 0; }
.applytitle { font: 700 17px/1.25 var(--display); letter-spacing: var(--ed-text-h3-tracking); }
.applyfacts { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 8px; font-size: 13.5px; }
.applyfacts li { display: flex; gap: 8px; align-items: flex-start; }
.applyfacts .ic { color: var(--muted); margin-top: 2px; }
.applyform { padding: 20px 22px; display: grid; gap: 18px; }
.applyform fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.applyform legend { font-weight: 600; font-size: 14px; padding: 0; margin-bottom: 6px; }
.applyform .ownq { margin: 6px 0 -6px; }
.applyform .actions { margin-top: 4px; }
.stepper { display: flex; align-items: center; gap: 6px; }
.stepper .input { width: 96px; text-align: center; }
.stepper .step { border: 1px solid var(--line); width: 38px; height: 38px; display: grid; place-items: center; }
.stepper .unit { color: var(--muted); font-size: 14px; }
.payrow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr); gap: 12px;
          align-items: start; }
.payset > .help { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.ynset .row { gap: 18px; }
.yn { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; cursor: pointer; }
.yn input { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; }
@media (max-width: 720px) {
  .applygrid { grid-template-columns: minmax(0, 1fr); background: none; }
  .applysum { position: static; background: var(--sunk); }
  .payrow { grid-template-columns: minmax(0, 1fr); }
}

/* Staff: a job's own questions. */
.qedit { display: grid; gap: 8px; }
.qline { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto auto; gap: 8px; align-items: center;
         padding: 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); }
.qline .row { gap: 2px; flex-wrap: nowrap; }
@media (max-width: 760px) { .qline { grid-template-columns: minmax(0, 1fr); } }
.answers { display: grid; gap: 8px; margin: 0; font-size: 14px; }
.answers div { display: grid; gap: 1px; }
.answers dt { color: var(--muted); font-size: 12.5px; }
.answers dd { margin: 0; overflow-wrap: anywhere; white-space: pre-wrap; }

/* An invite from staff, in a job's details; and the invites on a staff job. */
.invitebox { display: grid; gap: 8px; padding: 14px 16px; border-radius: 10px; background: var(--info-bg);
             border-left: 3px solid var(--accent); }
.invitebox h3 { margin: 0; color: var(--ink); }
.invitebox p { margin: 0; }
.invites { display: grid; gap: 10px; padding: 14px; border-radius: 10px; background: var(--sunk); }
.invites ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.invites li { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; }
.found { display: grid; gap: 6px; }
.found .btn { justify-content: flex-start; text-align: left; }
.found button[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

/* ------------------------------------------------------------------ the full profile (profile.html) */
.ptabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: -8px 0 24px; overflow-x: auto;
         scrollbar-width: none; }
.ptabs::-webkit-scrollbar { display: none; }
.ptabs button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; flex: none; cursor: pointer;
                background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px;
                font: 600 14.5px var(--sans); color: var(--muted); }
.ptabs button:hover { color: var(--ink); }
.ptabs button[aria-selected="true"] { color: var(--accent); border-bottom-color: var(--accent); }
@media (max-width: 560px) { .ptabs button { padding: 10px 10px; gap: 6px; font-size: 13.5px; } }
.psec .field > label.sub-label { font: 650 15px var(--sans); }
.psec h3.sub, .card h3.sub { margin: 4px 0 0; font: 650 15px var(--sans); color: var(--ink); text-transform: none;
                             letter-spacing: 0; }
fieldset.group { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.group > legend { font-weight: 600; font-size: 14px; padding: 0; margin-bottom: 5px; }
fieldset.group .row > .input { flex: 1 1 120px; min-width: 0; }
.phone-row { flex-wrap: nowrap; }
.phone-row select { flex: 0 0 auto; max-width: 46%; }
.phone-row input { flex: 1; min-width: 0; }
label.check { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; margin-top: 4px; }
.psec .body > .notice.bad { margin: 0; }
.saved.unsaved { color: var(--muted); }
.entries { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.entry { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line);
         border-radius: 10px; background: var(--paper); }
.entry-main { flex: 1; min-width: 0; display: grid; gap: 2px; overflow-wrap: anywhere; }
.entry-actions { display: flex; gap: 2px; flex: none; align-items: center; }
.entry-actions .iconbtn:disabled { opacity: .3; cursor: default; background: none; }
.entry .editor { flex-basis: 100%; }
.entry:has(.editor) { flex-wrap: wrap; }
.editor { padding: 14px 16px; border: 1px solid var(--accent); border-radius: 10px; background: var(--card); }
.pre { white-space: pre-wrap; }
.evlist { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 2px; font-size: 13.5px; }
.evlist li { display: flex; align-items: center; gap: 4px; overflow-wrap: anywhere; }
.vbadge { display: inline-flex; align-items: center; gap: 4px; font: 600 12px var(--sans); color: var(--ok); }
.chip.verified { background: var(--ok-bg); }
.todo { margin: 6px 0 0; padding-left: 20px; display: grid; gap: 4px; font-size: 14px; }
.todo li.need::marker { color: var(--accent); }
.facts-list { display: grid; gap: 10px; margin: 0; font-size: 14px; }
.facts-list > div { display: grid; grid-template-columns: minmax(120px, 210px) minmax(0, 1fr); gap: 12px; }
.facts-list dt { color: var(--muted); }
.facts-list dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 560px) { .facts-list > div { grid-template-columns: 1fr; gap: 2px; } }
/* Account tab: the email switches, each with a line under it saying what it is for. */
.pref-list { list-style: none; margin-inline: 0; margin-bottom: 0; padding: 0; display: grid; gap: 14px; }
.pref-item .help { margin: 4px 0 0 50px; font-size: 13px; color: var(--muted); }
@media (max-width: 560px) { .pref-item .help { margin-left: 0; } }
#preview-note { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 16px; }
.preview .pv-head { display: flex; gap: 14px; align-items: center; justify-content: flex-start; padding: 18px;
                   border-bottom: 1px solid var(--line); }
.preview .pv-head .avatar { width: 52px; height: 52px; font-size: 16px; flex: none; }
.preview .pv-head h2 { margin: 0; font: 700 21px var(--display); letter-spacing: var(--ed-text-h2-tracking); }
.preview .pv-head .small { display: inline-flex; gap: 4px; align-items: center; margin-top: 4px; }
.pv-block h3 { margin: 0 0 8px; font: 650 14px var(--sans); text-transform: none; letter-spacing: 0; color: var(--ink); }
.pv-item { display: grid; gap: 2px; padding: 6px 0; overflow-wrap: anywhere; }
.pv-item + .pv-item { border-top: 1px solid var(--line); }
.mini.plain li { display: block; color: var(--ink); }
.skillchecks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.skillchecks > li { display: grid; gap: 4px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.skillchecks > li:last-child { border-bottom: 0; padding-bottom: 0; }
.skillchecks form.verify { padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; }
