@font-face {
  font-family: Rubik;
  src: url("/assets/rubik.ttf") format("truetype");
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
}
:root {
  --ink: #1b2633;
  --muted: #596674;
  --line: #d9dcd8;
  --blue: #173fcc;
  --paper: #f6f7f3;
  --white: #fff;
  --lightblue: #eaf0ff;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
  color: var(--ink);
  font:
    15px/1.5 Rubik,
    "Arial",
    sans-serif;
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 300px;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
a {
  color: var(--blue);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #7794fd;
  outline-offset: 3px;
}
input,
select,
textarea {
  max-width: 100%;
}
button svg,
a svg {
  flex-shrink: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.17;
  font-weight: 570;
  letter-spacing: -0.037em;
}
h1 {
  font-size: clamp(31px, 3vw, 46px);
}
h2 {
  font-size: 23px;
}
h3 {
  font-size: 19px;
}
button {
  border: 0;
  background: none;
}
small {
  font-size: 12px;
}
.loading {
  min-height: 95vh;
  display: grid;
  place-items: center;
  color: var(--muted);
}
.workspace {
  min-height: 100vh;
}
.main-wrap {
  margin-left: 230px;
  min-width: 0;
}
#sidebar {
  z-index: 10;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: 230px;
  background: #fbfcf9;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.sidebar-head {
  height: 71px;
  min-height: 71px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.03;
  font-weight: 650;
  letter-spacing: -0.055em;
}
.wordmark img {
  height: 34px;
  width: 34px;
}
.wordmark-name {
  min-width: 0;
}
.wordmark-name > span {
  display: block;
}
.wordmark img {
  flex: none;
}
.setup-notice .btn {
  margin-top: 12px;
}
.brand-link {
  text-decoration: none;
}
.sidebar-scroll {
  overflow: auto;
  scrollbar-width: thin;
  padding: 19px 12px 8px;
  flex: 1;
}
.nav-group + .nav-group {
  margin-top: 17px;
}
.nav-group > p {
  color: #68726f;
  font:
    550 10px/1.2 Rubik,
    sans-serif;
  letter-spacing: 0.095em;
  text-transform: uppercase;
  padding: 0 12px;
  margin-bottom: 6px;
}
.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 12px;
  border-radius: 5px;
  color: #44515b;
  text-decoration: none;
  font-size: 13px;
  line-height: 20px;
  font-weight: 430;
}
.nav-link:hover,
.icon-btn:hover {
  background: #eceee9;
}
.nav-link.active {
  color: var(--blue);
  background: #e7edff;
  font-weight: 560;
}
.nav-link.active:before {
  content: "";
  position: absolute;
  width: 3px;
  height: 15px;
  left: 0;
  border-radius: 2px;
  background: var(--blue);
}
.sidebar-foot {
  border-top: 1px solid var(--line);
  padding: 10px 12px;
}
.topbar {
  height: 71px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 3.1vw, 52px);
  gap: 14px;
  background: var(--paper);
}
.breadcrumb,
.breadcrumb > span,
.top-actions,
.network,
.inline-date,
.action-row {
  display: flex;
  align-items: center;
}
.breadcrumb {
  gap: 14px;
  min-width: 0;
  font-size: 12px;
  color: var(--muted);
}
.breadcrumb > span {
  gap: 8px;
  white-space: nowrap;
}
.breadcrumb b {
  color: #b0b6b8;
  font-weight: 400;
}
.breadcrumb strong {
  color: var(--ink);
  font-weight: 500;
}
.top-actions {
  gap: 16px;
}
.avatar {
  width: 32px;
  height: 32px;
  background: #e3e9f9;
  border: 1px solid #ccd5ee;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 600;
  color: #294d9e;
}
.network {
  gap: 7px;
  white-space: nowrap;
  font-size: 11px;
  color: var(--muted);
}
.network:hover {
  color: var(--blue);
}
.network i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #318864;
}
.network.offline i {
  background: #ad7217;
}
.mobile-toggle,
.mobile-close,
.scrim {
  display: none !important;
}
#page {
  max-width: 1720px;
  margin: auto;
  padding: 30px clamp(22px, 3.1vw, 52px) 48px;
  min-height: 80vh;
  outline: none;
}
.page-head,
.section-heading,
.user-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.page-head {
  margin-bottom: 21px;
  min-height: 52px;
}
.eyebrow,
.micro {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
}
.inline-date {
  gap: 6px;
  margin-bottom: 5px;
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 5px;
  min-height: 39px;
  font-weight: 500;
  font-size: 13px;
  line-height: 1.25;
  padding: 9px 14px;
  text-decoration: none;
  transition:
    background 0.15s,
    color 0.15s,
    box-shadow 0.15s;
}
.btn.primary {
  color: white;
  background: var(--blue);
  box-shadow: 0 1px 2px #1337a61c;
}
.btn.primary:hover {
  background: #1033b3;
}
.btn.secondary {
  border-color: var(--line);
  color: var(--ink);
  background: #fff;
}
.btn.secondary:hover {
  background: #f0f2ef;
  border-color: #aeb8bb;
}
.btn.text-btn {
  color: var(--blue);
  padding-inline: 4px;
}
.btn.text-btn:hover {
  text-decoration: underline;
}
.icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 5px;
  display: inline-grid;
  place-items: center;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 0;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 5px;
  background: var(--lightblue);
  color: var(--blue);
  font-weight: 500;
  font-size: 11px;
  padding: 3px 7px;
}
.subtle,
.help {
  color: var(--muted);
}
.subtle {
  font-size: 13px;
  line-height: 1.5;
}
.help {
  display: block;
  font-size: 12px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  font-size: 13px;
  font-weight: 500;
}
.field input,
.field select,
.field textarea,
.filter-input,
.input {
  width: 100%;
  border: 1px solid #c8cfce;
  border-radius: 5px;
  background: #fff;
  padding: 9px 11px;
  min-height: 41px;
  font-size: 14px;
  font-weight: 400;
}
.field textarea {
  resize: vertical;
  min-height: 85px;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--blue);
}
.form-error:not(:empty),
.notice {
  border-left: 3px solid #bc7429;
  background: #fff5e6;
  padding: 9px 12px;
  font-size: 13px;
  color: #764603;
}
.form-error:empty {
  display: none;
}
.action-row {
  gap: 10px;
  flex-wrap: wrap;
}
.stack-form {
  display: grid;
  gap: 16px;
}
.stack-form > .btn {
  justify-self: start;
}
.construction-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(#7c8b8233 1px, transparent 1px),
    linear-gradient(90deg, #7c8b8233 1px, transparent 1px);
  background-size: 25px 25px;
}
.section-heading {
  margin-bottom: 17px;
}
.section-heading h2 {
  font-size: 19px;
  letter-spacing: -0.035em;
}
.mini-icon,
.square-icon {
  display: inline-grid;
  align-items: center;
  justify-items: center;
  flex-shrink: 0;
  color: var(--blue);
  background: var(--lightblue);
  border-radius: 6px;
}
.pick-row {
  display: flex;
  gap: 10px;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.pick-row:last-child {
  border-bottom: 0;
}
.pick-row > svg:last-child {
  margin-left: auto;
}
.mini-icon {
  width: 32px;
  height: 32px;
}
.pick-row {
  font-weight: 500;
}
.pick-row:hover {
  color: var(--blue);
}
#dialog {
  padding: 0;
  width: min(600px, calc(100% - 24px));
  max-height: 90dvh;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 25px 100px #12202140;
  overflow: auto;
}
#dialog::backdrop {
  background: #17233068;
  backdrop-filter: blur(2px);
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 21px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  z-index: 3;
  top: 0;
}
.dialog-head h2 {
  font-size: 21px;
}
.dialog-head button {
  font:
    26px/1 Rubik,
    sans-serif;
}
#dialog-body {
  padding: 20px 22px;
}
#toast {
  position: fixed;
  z-index: 40;
  left: 50%;
  bottom: 22px;
  transform: translate(-50%, 12px);
  color: white;
  background: #1c2c3b;
  border-radius: 6px;
  box-shadow: 0 5px 20px #1c273026;
  max-width: 90vw;
  width: max-content;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.15s,
    transform 0.15s;
}
#toast.visible {
  padding: 11px 17px;
  opacity: 1;
  transform: translate(-50%, 0);
}
.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.settings-section {
  padding: 21px;
}
.settings-section > p {
  margin: 6px 0 18px;
  color: var(--muted);
  font-size: 14px;
}
.settings-section .section-heading > svg {
  color: var(--blue);
}
.user-row {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.user-row strong {
  font-weight: 500;
}
.user-row span {
  color: var(--muted);
}
.install-help p + p {
  margin-top: 16px;
}
.auth-wrap {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(410px, 1.05fr) 1fr;
}
.auth-plate {
  min-height: 600px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(26px, 4vw, 64px);
  background: #153fce;
  color: #fff;
}
.auth-plate .wordmark {
  color: white;
  font-size: 23px;
}
.auth-plate .wordmark img {
  outline: 1px solid #ffffff4d;
  border-radius: 7px;
}
.auth-drawing {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
}
.construction-grid {
  inset: -30px;
  background-image:
    linear-gradient(#ffffff10 1px, transparent 1px),
    linear-gradient(90deg, #ffffff10 1px, transparent 1px);
  background-size: 33px 33px;
}
.plates {
  position: absolute;
  top: 46%;
  left: 48%;
  width: 49%;
  height: 19%;
}
.plates span {
  position: absolute;
  width: 100%;
  height: 100%;
  left: -50%;
  top: calc(-45% + var(--i) * -30%);
  transform: rotate(-29deg) skewX(29deg);
  border: 1.4px solid #d6e9ff;
  box-shadow:
    0 3px 0 #345fd9,
    0 4px 0 #b6d8ffb5;
  background-color: #2551d2;
  background-image:
    linear-gradient(#c6d7ff36 1px, transparent 1px),
    linear-gradient(90deg, #c6d7ff36 1px, transparent 1px);
  background-size: 14.285% 25%;
}
.plates span:last-child {
  background-color: #4470e4;
  box-shadow:
    0 4px 0 #345fd9,
    0 5px 0 #dbecff;
}
.datum {
  position: absolute;
  font: 11px var(--mono);
  color: #dfeaff;
  right: 7%;
  display: flex;
  align-items: center;
  gap: 8px;
}
.datum:before {
  content: "";
  width: 30px;
  height: 1px;
  background: #aac6ff;
}
.datum-a {
  top: 27%;
}
.datum-b {
  top: 48%;
}
.auth-legend .rule {
  height: 2px;
  width: 35px;
  background: #c8daff;
  margin-bottom: 19px;
}
.auth-legend p {
  font-size: 13px;
  color: #d5e0ff;
}
.auth-legend h1 {
  margin: 10px 0 0;
  font-size: clamp(34px, 4vw, 66px);
  letter-spacing: -0.06em;
}
.auth-legend h1 span {
  color: #c2d6ff;
}
.auth-main {
  display: grid;
  place-items: center;
  padding: 35px;
}
.auth-form {
  width: min(100%, 370px);
}
.square-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 17px;
}
.auth-form h2 {
  font-size: 34px;
}
.auth-form > p {
  color: var(--muted);
  font-size: 14px;
  margin: 12px 0 27px;
}
.auth-form form {
  display: grid;
  gap: 15px;
}
.auth-form .help {
  margin-top: -11px;
}
.auth-form .btn {
  margin-top: 4px;
  justify-content: space-between;
  min-height: 44px;
}
.recovery {
  max-width: 800px;
  padding: 8vh 20px;
  margin: auto;
}
.recovery > h1 {
  margin: 28px 0 14px;
}
.recovery > .action-row {
  margin: 18px 0 30px;
}
.recovery .wordmark {
  font-size: 25px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.form-grid .wide {
  grid-column: 1/-1;
}
.notebook-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}
.notebook-grid > .panel {
  padding: 20px;
  align-self: start;
}
.notebook-grid h2 {
  margin-bottom: 12px;
}
.notebook-grid .subtle {
  margin-bottom: 16px;
}
.note-card {
  padding: 13px 0;
  border-top: 1px solid var(--line);
}
.note-card h3 {
  font-size: 16px;
}
.note-card p {
  margin: 6px 0;
  font-size: 13px;
  color: var(--muted);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.note-card .btn {
  font-size: 12px;
  min-height: 32px;
}
@media (min-width: 1600px) {
  #sidebar {
    width: 250px;
  }
  .main-wrap {
    margin-left: 250px;
  }
}
@media (max-width: 1100px) {
  #sidebar {
    width: 200px;
  }
  .main-wrap {
    margin-left: 200px;
  }
  .sidebar-head {
    padding: 0 19px;
  }
  .nav-link {
    font-size: 12px;
  }
  .sidebar-scroll {
    padding-inline: 9px;
  }
}
@media (max-width: 800px) {
  #sidebar {
    width: 245px;
    transform: translateX(-100%);
    transition: transform 0.2s;
  }
  .menu-open #sidebar {
    transform: translateX(0);
  }
  .main-wrap {
    margin-left: 0;
  }
  .mobile-toggle,
  .mobile-close {
    display: inline-grid !important;
  }
  .sidebar-head {
    justify-content: space-between;
  }
  .menu-open .scrim {
    display: block !important;
    position: fixed;
    inset: 0;
    background: #14233166;
    z-index: 9;
  }
  .menu-open {
    overflow: hidden;
  }
  .topbar {
    height: 55px;
    padding: 0 17px;
    justify-content: start;
    gap: 8px;
  }
  .top-actions {
    margin-left: auto;
    gap: 10px;
  }
  .nav-link {
    font-size: 14px;
  }
  .sidebar-scroll {
    padding-inline: 12px;
  }
  .nav-link {
    padding-block: 9px;
  }
  .sidebar-head {
    height: 58px;
    min-height: 58px;
  }
  #page {
    padding: 22px 18px 38px;
  }
  .auth-wrap {
    grid-template-columns: minmax(280px, 0.8fr) 1fr;
  }
  .auth-plate {
    padding: 26px;
  }
  .auth-main {
    padding: 26px;
  }
}
@media (max-width: 600px) {
  .auth-wrap {
    display: block;
  }
  .auth-plate {
    min-height: 0;
    height: 185px;
    display: block;
    padding: 20px 22px;
  }
  .auth-plate .wordmark {
    font-size: 18px;
  }
  .auth-plate .wordmark img {
    width: 27px;
    height: 27px;
  }
  .auth-legend {
    position: absolute;
    left: 23px;
    bottom: 22px;
  }
  .auth-legend h1 {
    font-size: 25px;
    line-height: 1.06;
    margin-top: 4px;
  }
  .auth-legend p {
    font-size: 10px;
  }
  .auth-legend .rule,
  .datum {
    display: none;
  }
  .plates {
    left: 79%;
    width: 24%;
    height: 23%;
    top: 65%;
  }
  .auth-main {
    display: block;
    padding: 30px 24px;
  }
  .auth-form {
    margin: auto;
  }
  .auth-form h2 {
    font-size: 29px;
  }
  .auth-form .square-icon {
    display: none;
  }
  .breadcrumb {
    font-size: 11px;
    gap: 8px;
  }
  .breadcrumb strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .network {
    font-size: 0;
    gap: 0;
  }
  .network i {
    width: 8px;
    height: 8px;
  }
  .topbar {
    padding: 0 12px;
  }
  .avatar {
    height: 29px;
    width: 29px;
  }
  .page-head {
    gap: 9px;
    margin-bottom: 15px;
    min-height: 44px;
  }
  .page-head .btn {
    font-size: 12px;
    min-height: 37px;
    padding: 8px 10px;
  }
  .inline-date {
    font-size: 10px;
  }
  .page-head h1 {
    font-size: 29px;
  }
  #page {
    padding: 18px 13px 35px;
  }
  .settings-grid,
  .notebook-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .settings-section {
    padding: 16px;
  }
  .section-heading {
    margin-bottom: 14px;
  }
  .section-heading h2 {
    font-size: 18px;
  }
  #dialog-body {
    padding: 16px;
  }
  .dialog-head {
    padding: 13px 15px;
  }
  .dialog-head h2 {
    font-size: 19px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid .wide {
    grid-column: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
@media print {
  #sidebar,
  .topbar,
  .scrim,
  .btn,
  .page-head button,
  #toast,
  dialog {
    display: none !important;
  }
  .main-wrap {
    margin: 0;
  }
  body,
  #page {
    background: white;
  }
  #page {
    max-width: none;
    padding: 0;
  }
  .panel {
    break-inside: avoid;
  }
  .page-head {
    margin-top: 0;
  }
}
/* The working area and the reference passport keep separate reading orders on mobile. */
.mobile-nav {
  display: none;
}
.skip-content {
  position: fixed;
  top: 8px;
  left: 12px;
  z-index: 30;
  transform: translateY(-150%);
  background: white;
  border: 2px solid var(--blue);
  border-radius: 5px;
  padding: 10px 16px;
}
.skip-content:focus {
  transform: translateY(0);
}
.menu-open .skip-content {
  display: none;
}
.overview-header {
  align-items: center;
  margin-bottom: 21px;
}
.overview-date {
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}
.overview-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(265px, 1fr);
  grid-template-areas: "work passport" "journals passport" "recent recent";
  gap: 22px 20px;
  align-items: stretch;
}
.work-summary {
  grid-area: work;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(22px, 2.5vw, 36px);
  color: #fff;
  background: #193449;
  border: 1px solid #203b4d;
  border-radius: 9px;
  min-width: 0;
}
.work-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e3edf0;
  font-size: 13px;
  font-weight: 500;
}
.work-marker {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a0deba;
}
.work-stage {
  border-left: 1px solid #69818d;
  padding-left: 10px;
  margin-left: 4px;
  color: #c7d9e0;
  font: 12px var(--mono);
}
.work-summary h2 {
  font-weight: 530;
  letter-spacing: -0.045em;
  line-height: 1.09;
  font-size: clamp(29px, 2.8vw, 45px);
  margin: 15px 0 6px;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.work-place {
  font-size: 14px;
  color: #d0dde3;
}
.work-place:empty {
  display: none;
}
.work-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 21px 0 0;
}
.work-buttons .btn {
  min-height: 44px;
  padding: 10px 17px;
  font-size: 14px;
}
.work-primary {
  background: #fff;
  color: #123650;
}
.work-primary:hover {
  background: #e8f1f4;
}
.work-secondary {
  border-color: #8194a1;
  color: #fff;
  background: transparent;
}
.work-secondary:hover {
  background: #2d4b61;
}
.work-source {
  display: flex;
  align-items: baseline;
  gap: 7px;
  color: #c4d3db;
  font-size: 12px;
  line-height: 1.4;
  margin-top: 16px;
  overflow-wrap: anywhere;
}
.work-source > svg {
  align-self: flex-start;
  flex: none;
  margin-top: 1px;
}
.source-note summary {
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.source-note p {
  margin-top: 6px;
  white-space: pre-wrap;
}
.object-passport {
  grid-area: passport;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #eef1e9;
  border: 1px solid #cdd5cc;
  border-radius: 9px;
  overflow: hidden;
  align-self: stretch;
}
.passport-head {
  padding: 18px 21px 12px;
}
.passport-head p {
  font-size: 11px;
  color: #4c6056;
  font-weight: 500;
}
.passport-head h2 {
  font-size: clamp(25px, 2.4vw, 37px);
  margin: 3px 0 5px;
}
.passport-head > span,
.passport-foot span,
.passport-foot a,
.passport-image a {
  display: flex;
  gap: 7px;
  align-items: center;
}
.passport-head > span {
  color: #42524b;
  font-size: 12px;
}
.passport-image {
  margin: 0;
  position: relative;
  min-height: 150px;
  flex: 1;
  isolation: isolate;
  border-block: 1px solid #cfd7cf;
  background-color: #e4eadf;
  background-image:
    linear-gradient(#bac7ba70 1px, transparent 1px),
    linear-gradient(90deg, #bac7ba70 1px, transparent 1px);
  background-size: 21px 21px;
}
.passport-image img {
  position: absolute;
  inset: 10px 10px 14px;
  width: calc(100% - 20px);
  height: calc(100% - 24px);
  object-fit: contain;
  object-position: center;
}
.passport-image figcaption {
  position: absolute;
  bottom: 2px;
  right: 4px;
}
.passport-image a {
  font: 11px var(--mono);
  padding: 6px;
  color: #294639;
  text-decoration: none;
  background: #f2f6f1e8;
  border-radius: 3px;
}
.passport-image a:hover {
  text-decoration: underline;
}
.passport-foot {
  padding: 4px 16px 6px;
  background: #f9faf5;
}
.passport-foot > span,
.passport-foot > a {
  min-height: 35px;
  color: #43544b;
  font-size: 12px;
}
.passport-foot > a {
  border-top: 1px solid #dbe2d8;
  text-decoration: none;
}
.passport-foot > a:hover {
  color: var(--blue);
}
.passport-work-count {
  margin-left: auto;
}
.passport-foot a strong {
  margin-left: auto;
  color: var(--ink);
  font-size: 13px;
  font-weight: 560;
  font-variant-numeric: tabular-nums;
}
.overview-journals {
  grid-area: journals;
  min-width: 0;
}
.overview-recent {
  grid-area: recent;
  min-width: 0;
}
.overview-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.overview-section-head h2 {
  font-size: 20px;
}
.overview-section-head > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
}
.overview-section-head > a:hover {
  text-decoration: underline;
}
.journal-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}
.journal-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 12px 14px 13px;
  text-decoration: none;
  color: var(--ink);
}
.journal-link:hover,
.journal-link:focus-visible {
  background: #f4f7fe;
  border-color: #a9b9d5;
}
.journal-icons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: #485f80;
}
.journal-icons svg:last-child {
  color: #778690;
}
.journal-link > strong {
  font-size: 31px;
  line-height: 1.12;
  font-weight: 540;
  letter-spacing: -0.05em;
  margin: 7px 0 2px;
  font-variant-numeric: tabular-nums;
}
.journal-link > span {
  color: #43525f;
  font-size: 13px;
  line-height: 1.25;
}
.activity-empty,
.activity-list {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
}
.activity-empty {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 21px;
  color: #445660;
}
.activity-empty > svg {
  color: #526f82;
  flex: none;
}
.activity-empty strong {
  font-size: 15px;
  font-weight: 520;
  color: var(--ink);
}
.activity-empty p {
  font-size: 13px;
  margin-top: 2px;
}
.activity-list {
  list-style: none;
  margin: 0;
  padding: 0 15px;
}
.activity-list li + li {
  border-top: 1px solid var(--line);
}
.activity-list button {
  display: grid;
  align-items: center;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 12px;
  width: 100%;
  min-height: 61px;
  text-align: left;
  padding: 8px 0;
}
.activity-list button:hover strong {
  text-decoration: underline;
  color: var(--blue);
}
.activity-subject {
  min-width: 0;
}
.activity-subject strong,
.activity-subject small {
  display: block;
  overflow-wrap: anywhere;
}
.activity-subject strong {
  font-size: 14px;
  font-weight: 520;
}
.activity-subject small,
.activity-list time {
  color: var(--muted);
  font-size: 12px;
}
@media (max-width: 1000px) and (min-width: 801px) {
  .overview-layout {
    grid-template-columns: minmax(0, 1.5fr) minmax(212px, 1fr);
    gap: 16px 12px;
  }
  .work-summary {
    padding: 20px;
  }
  .passport-head {
    padding: 15px;
  }
  .journal-link {
    padding: 11px 9px;
  }
}
@media (max-width: 800px) {
  .mobile-nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    position: fixed;
    z-index: 7;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 4px 6px max(4px, env(safe-area-inset-bottom));
    gap: 2px;
    border-top: 1px solid var(--line);
    background: #fafbf8;
    box-shadow: 0 -4px 15px #24374609;
  }
  .mobile-nav > a,
  .mobile-nav > button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 48px;
    color: #53616a;
    text-decoration: none;
    padding: 2px;
    border-radius: 5px;
    font:
      450 11px/1.2 Rubik,
      Arial,
      sans-serif;
  }
  .mobile-nav .active {
    background: #e7edff;
    color: var(--blue);
    font-weight: 560;
  }
  .menu-open .mobile-nav {
    visibility: hidden;
  }
  body:has(.mobile-nav) #page {
    padding-bottom: calc(79px + env(safe-area-inset-bottom));
  }
  body:has(.mobile-nav) #toast {
    bottom: calc(66px + env(safe-area-inset-bottom));
  }
  .topbar .network {
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    font-size: 11px;
    gap: 6px;
  }
  .topbar .avatar {
    position: relative;
    min-width: 34px;
    min-height: 34px;
  }
  .topbar .avatar:after {
    content: "";
    position: absolute;
    inset: -5px;
  }
  .topbar .breadcrumb > span {
    font-weight: 520;
    color: var(--ink);
  }
  .overview-layout {
    gap: 16px 12px;
  }
}
@media (max-width: 660px) {
  .overview-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "work" "journals" "recent" "passport";
  }
  .work-summary {
    padding: 20px 18px;
  }
  .work-summary h2 {
    font-size: clamp(25px, 7.7vw, 35px);
    margin-top: 10px;
    text-wrap: pretty;
  }
  .work-place {
    font-size: 13px;
  }
  .work-buttons {
    margin-top: 16px;
    gap: 8px;
  }
  .work-buttons .btn {
    padding: 9px 13px;
  }
  .work-source {
    font-size: 11px;
    margin-top: 13px;
  }
  .overview-header .btn {
    min-height: 44px;
  }
  .overview-date {
    font-size: 12px;
  }
  .work-kicker {
    font-size: 12px;
  }
  .overview-section-head {
    margin-bottom: 7px;
  }
  .overview-section-head h2 {
    font-size: 18px;
  }
  .overview-section-head > a {
    min-height: 40px;
  }
  .journal-links {
    gap: 6px;
  }
  .journal-link {
    padding: 11px 9px;
  }
  .journal-link > span {
    font-size: 12px;
  }
  .journal-link > strong {
    font-size: 27px;
  }
  .activity-empty,
  .activity-list {
    padding: 13px;
  }
  .activity-list button {
    gap: 8px;
  }
  .activity-list time {
    font-size: 10px;
  }
  .passport-head {
    padding: 16px;
  }
  .passport-image {
    min-height: 180px;
  }
  .passport-foot > span,
  .passport-foot > a {
    min-height: 42px;
  }
}
@media (max-width: 355px) {
  .overview-header {
    flex-wrap: wrap;
  }
  .overview-header .btn {
    font-size: 12px;
  }
  .work-buttons .btn {
    font-size: 13px;
  }
  .network span {
    display: none;
  }
}
@media print {
  .mobile-nav,
  .skip-content {
    display: none !important;
  }
  .work-summary {
    color: #111;
    background: white;
  }
  .work-summary * {
    color: #111;
  }
  .overview-layout {
    display: block;
  }
  .overview-layout > section {
    margin-bottom: 14px;
  }
}
