/* Experimental look, second pass.
   A field board: green rail, warm paper, four coloured queues.
   Type: Unbounded for the title and the counts, Manrope for the rest.
   Off until html.ledger. The live sheet stays assets/app.css. */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/board/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/board/manrope-latinext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/board/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("fonts/board/unbounded-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("fonts/board/unbounded-latinext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("fonts/board/unbounded-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.look-toggle {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 80;
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: #142018;
  color: #fff;
  font: 600 13px/18px "Manrope", system-ui, sans-serif;
  cursor: pointer;
}
.look-toggle:hover { background: #000; }

html.ledger {
  --ground: #fff4e4;
  --surface: #ffffff;
  --raised: #fff0d4;
  --active: #ffe7b0;
  --border: #eadcc4;
  --rule: #f3e6cc;
  --control: #e4d3b0;
  --text: #142018;
  --muted: #5c564c;
  --faint: #5c564c;
  --accent: #0d8a42;
  --accent-hover: #0a7036;
  --accent-soft: #e5f8ec;
  --accent-track: #b7ebc8;
  --accent-ink: #0b5c2e;
  --hover: #ffe7b0;
  --raised-hover: #ffe08a;
  --primary: #ffc43d;
  --primary-ink: #3d2a00;
  --font: "Manrope", system-ui, sans-serif;
  --radius-card: 20px;
  --radius-control: 12px;
}

html.ledger body {
  background: var(--ground);
  font-family: var(--font);
}

html.ledger .page-head h1,
html.ledger h1,
html.ledger h2,
html.ledger .triage strong,
html.ledger .salary,
html.ledger .brand {
  font-family: "Unbounded", "Manrope", system-ui, sans-serif;
  font-weight: 500;
  letter-spacing: -0.04em;
}
html.ledger .page-head h1,
html.ledger h1 {
  font-size: 36px;
  line-height: 1.1;
}
html.ledger .lede { color: #5c564c; font-size: 16px; }

html.ledger .triage {
  gap: 12px;
  margin-bottom: 22px;
  background: transparent;
  border: 0;
}
html.ledger .triage a,
html.ledger .triage a:nth-child(2),
html.ledger .triage a:nth-child(-n+2) {
  min-height: 112px;
  padding: 16px 18px;
  border: 0;
  border-radius: 20px;
  color: #142018;
}
html.ledger .triage a:hover { filter: brightness(1.05); }
html.ledger .triage a:nth-child(1) { background: #12a34a; color: #fff; }
html.ledger .triage a:nth-child(2) { background: #ffc43d; }
html.ledger .triage a:nth-child(3) { background: #2f6fed; color: #fff; }
html.ledger .triage a:nth-child(4) { background: #ffd0c8; }
html.ledger .triage span { color: inherit; opacity: .78; font-size: 14px; }
html.ledger .triage strong {
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
  color: inherit;
}
html.ledger .triage a.is-lead strong { color: inherit; }
html.ledger .triage a.is-current {
  outline: 3px solid #142018;
  outline-offset: 4px;
}

html.ledger .tabs { gap: 8px; }
html.ledger .tabs a {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  font-weight: 600;
}
html.ledger .tabs a.active { background: #0d8a42; color: #fff; }

html.ledger .job-list { gap: 14px; }
html.ledger .job {
  padding: 20px 22px;
  border: 0;
  border-radius: 22px;
  background: #fff;
}
html.ledger .job[data-queue="new"] { background: #f3fff6; }
html.ledger .job[data-queue="review"] { background: #fff8e4; }
html.ledger .job[data-status="saved"] { background: #f2f6ff; }
html.ledger .job[data-status="applied"] { background: #eefaf2; }
html.ledger .job[data-status="seen"] { background: #f7f4ee; }
html.ledger .job[data-status="hidden"] { background: #fff4f2; }
html.ledger .job h2 { font-size: 20px; line-height: 1.25; }
html.ledger .salary {
  padding: 6px 12px;
  border-radius: 999px;
  background: #d9f5e3;
  color: #0b5c2e;
  font-size: 16px;
}
html.ledger .tag { border-radius: 999px; }
html.ledger .tag-language { background: #d9f5e3; color: #0b5c2e; }

html.ledger .btn { border-radius: 999px; font-weight: 600; }
html.ledger .btn-primary { background: #ffc43d; color: #3d2a00; }
html.ledger .btn-primary:hover { background: #ffb703; color: #3d2a00; }
html.ledger .btn-quiet { background: #fff; border-color: #e4d3b0; }
html.ledger .btn-quiet:hover { background: #fff0d4; border-color: #e4d3b0; color: #142018; }

html.ledger .panel,
html.ledger .empty {
  border: 0;
  border-radius: 22px;
  background: #fff;
}
html.ledger input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]),
html.ledger textarea,
html.ledger select {
  border-color: #e4d3b0;
  border-radius: 14px;
  background: #fffdf8;
}

@media (min-width: 1081px) {
  html.ledger .app-frame {
    display: grid;
    grid-template-columns: 232px minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    min-height: 100vh;
    background: #fff4e4;
  }
  html.ledger .sidebar {
    display: flex;
    flex-direction: column;
    grid-column: 1;
    grid-row: 1 / -1;
    position: sticky;
    top: 0;
    width: 232px;
    height: 100vh;
    padding: 22px 14px 24px;
    background: #0d8a42;
    color: #fff;
    overflow: auto;
  }
  html.ledger .app-frame > .topbar {
    grid-column: 2;
    grid-row: 1;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  html.ledger .workspace { grid-column: 2; grid-row: 2; }
  html.ledger .topnav { display: none; }
  html.ledger .sheet { width: min(100%, 1040px); padding-top: 8px; }
  html.ledger .sidebar > .brand { color: #fff; font-size: 22px; }
  html.ledger .sidebar .sidenav-link { min-height: 42px; color: #fff; font-weight: 600; }
  html.ledger .sidebar .sidenav-link:hover { background: rgba(255, 255, 255, .16); color: #fff; }
  html.ledger .sidebar .sidenav-link.is-current { background: #fff; color: #0d8a42; }
  html.ledger .sidebar .place-chip { background: rgba(255, 255, 255, .16); color: #fff; }
  html.ledger .sidebar .sidenav-tools { border-top-color: rgba(255, 255, 255, .28); }
  html.ledger .topbar .place-chip { background: #ffc43d; color: #3d2a00; }
}

@media (max-width: 1080px) {
  html.ledger .app-frame > .topbar {
    background: #0d8a42;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  html.ledger .app-frame .brand,
  html.ledger .app-frame .menu-button,
  html.ledger .app-frame .profile-btn,
  html.ledger .app-frame .ghost-link,
  html.ledger .app-frame .lang-switch a { color: #fff; }
  html.ledger .app-frame .lang-switch a[aria-current="true"],
  html.ledger .app-frame .profile-btn:hover,
  html.ledger .app-frame .menu-button:hover { background: rgba(255, 255, 255, .16); color: #fff; }
  html.ledger .app-frame .place-chip { background: #ffc43d; color: #3d2a00; }
  html.ledger .sidebar { background: #0d8a42; border-top: 0; }
  html.ledger .sidebar .sidenav-link { color: #fff; font-size: 18px; }
  html.ledger .sidebar .sidenav-link:hover { background: rgba(255, 255, 255, .16); color: #fff; }
  html.ledger .sidebar .sidenav-link.is-current { background: #fff; color: #0d8a42; }
  html.ledger .page-head h1,
  html.ledger h1 { font-size: 28px; }
  html.ledger .triage strong { font-size: 32px; }
}

html.ledger body:not(:has(.app-frame)) {
  background: linear-gradient(#0d8a42 0 240px, #fff4e4 240px);
}
html.ledger body:has(.home-main) {
  background: linear-gradient(#0d8a42 0 460px, #fff4e4 460px);
}
html.ledger body:not(:has(.app-frame)) > .topbar {
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
html.ledger body:not(:has(.app-frame)) .brand,
html.ledger body:not(:has(.app-frame)) .ghost-link { color: #fff; }
html.ledger .auth-main .page-head h1 { color: #fff; }
html.ledger .auth-main .lede { color: rgba(255, 255, 255, .86); }
