@font-face {
  font-family: DM;
  src: url("/assets/dm-sans-regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: DM;
  src: url("/assets/dm-sans-bold.ttf") format("truetype");
  font-weight: 600 900;
  font-display: swap;
}
@font-face {
  font-family: Instrument;
  src: url("/assets/instrument-serif-italic.ttf") format("truetype");
  font-style: italic;
  font-display: swap;
}
:root {
  --bg: #f6f7f3;
  --paper: #fff;
  --ink: #202923;
  --muted: #59675f;
  --line: #dce2d9;
  --green: #244b3c;
  --mint: #d9e9d6;
  --soft: #f1f4ee;
  --orange: #a54327;
  --side: 222px;
  font:
    15px/1.5 DM,
    Arial,
    sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
select {
  cursor: pointer;
}
button {
  background: none;
  border: 0;
  text-align: left;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
input,
textarea,
select {
  max-width: 100%;
}
a {
  color: var(--green);
}
:focus-visible {
  outline: 3px solid #ad6334;
  outline-offset: 3px;
}
::selection {
  background: #c9e4c6;
}
button,
a {
  touch-action: manipulation;
}
.ic {
  width: 18px;
  height: 18px;
  flex: none;
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.skip {
  position: fixed;
  left: 0.5rem;
  top: -5rem;
  z-index: 100;
  background: white;
  padding: 12px;
}
.skip:focus {
  top: 0.5rem;
}
[hidden] {
  display: none !important;
}
.sidebar {
  background: #fbfcf8;
  border-right: 1px solid var(--line);
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--side);
  display: flex;
  flex-direction: column;
  z-index: 4;
  padding: 0 15px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 6px;
  padding: 28px 0 29px;
  color: var(--ink);
  text-decoration: none;
}
.brand img {
  width: 39px;
  height: 39px;
  object-fit: contain;
  background: #212a25;
  border-radius: 11px;
}
.brand strong {
  display: block;
  line-height: 1.1;
  font-size: 21px;
  letter-spacing: -1.15px;
}
.brand small {
  display: block;
  font-weight: bold;
  letter-spacing: 2.05px;
  font-size: 9px;
  color: var(--muted);
  margin-top: 5px;
  text-transform: uppercase;
}
.side-scroll {
  overflow: auto;
  flex: 1;
  padding: 0 2px 16px;
}
.group-label,
.eyebrow,
.kicker,
.film-caption,
.meta-label {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-weight: 600;
  font-size: 10px;
  text-transform: uppercase;
  line-height: 1.4;
  letter-spacing: 1.25px;
}
.group-label {
  margin: 23px 12px 8px;
  color: #667368;
}
.side-scroll nav:first-child .group-label {
  margin-top: 7px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  color: #536158;
  width: 100%;
  border-radius: 7px;
  font-weight: 500;
  font-size: 13.5px;
  min-height: 42px;
  line-height: 1.35;
}
.nav-item:hover,
.role-card:hover {
  background: #eff3ec;
}
.nav-item.active {
  background: #e0ebdb;
  color: #244b37;
  font-weight: bold;
}
.nav-item .count {
  font:
    600 10px/18px ui-monospace,
    monospace;
  padding: 0 6px;
  border-radius: 5px;
  background: #ebede7;
  margin-left: auto;
  color: #4f5c50;
}
.nav-item.active .count {
  background: #d2e1cc;
}
.side-bottom {
  border-top: 1px solid var(--line);
  padding: 15px 0 16px;
}
.role-card {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 7px;
  border-radius: 8px;
}
.role-card .ic {
  margin-left: auto;
  width: 15px;
}
.role-card strong,
.role-card small {
  display: block;
}
.role-card strong {
  font-size: 13px;
}
.role-card small {
  color: var(--muted);
  font-size: 11px;
}
.avatar {
  display: inline-grid;
  place-items: center;
  border: 1px solid #d4dfc9;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  background: #dfebd4;
  color: #345137;
  letter-spacing: -0.6px;
  font-size: 12px;
  font-weight: bold;
  flex: none;
}
.shell {
  margin-left: var(--side);
  min-height: 100vh;
}
.topbar {
  background: rgba(251, 252, 248, 0.97);
  border-bottom: 1px solid var(--line);
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 3.1vw, 53px);
  gap: 10px;
}
.crumb,
.bar-actions,
.in-line,
.btn,
.text-btn,
.bar-sep,
.search-trigger,
.icon-btn,
.actions,
.list-search,
.field-check {
  display: inline-flex;
  align-items: center;
}
.crumb {
  font-size: 12px;
  gap: 14px;
  color: var(--muted);
}
.crumb strong {
  font-weight: 600;
  color: var(--ink);
}
.slash {
  color: #8d998f;
}
.bar-actions {
  gap: 16px;
}
.search-trigger {
  font-size: 12px;
  gap: 8px;
  color: var(--muted);
  padding: 7px 0;
}
.search-trigger .ic {
  width: 16px;
}
.search-trigger kbd {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 5px;
  font:
    10px/1.4 DM,
    Arial;
  background: #f4f6f0;
}
.bar-sep {
  height: 18px;
  width: 1px;
  background: var(--line);
}
.icon-btn {
  width: 38px;
  height: 38px;
  justify-content: center;
  border-radius: 7px;
}
.icon-btn:hover,
.search-trigger:hover {
  background: var(--soft);
}
.menu-btn,
.nav-shade {
  display: none;
}
main {
  max-width: 1620px;
  margin: auto;
  padding: 28px clamp(20px, 3.1vw, 53px) 48px;
  outline: 0;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.04em;
}
h1 {
  font-size: clamp(31px, 3.3vw, 48px);
}
h2 {
  font-size: 23px;
}
h3 {
  font-size: 18px;
}
.muted {
  color: var(--muted);
}
.sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 7px;
}
.eyebrow,
.kicker {
  color: var(--muted);
}
.hero {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  background: linear-gradient(
    110deg,
    #193d32,
    #20483a 45%,
    #42624b 80%,
    #243d30
  );
  color: #f6f6e9;
  min-height: 218px;
  display: flex;
  align-items: center;
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding: 28px 34px 27px;
  width: 61%;
}
.hero .eyebrow {
  color: #d6e4cf;
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 1.35px;
}
.hero .eyebrow:before {
  content: "";
  width: 19px;
  height: 2px;
  background: #eda57d;
}
.hero h1 {
  font-size: clamp(40px, 4.6vw, 74px);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.065em;
  font-weight: 400;
  line-height: 1.06;
  margin: 9px 0;
}
.hero h1 em,
.feature-title em {
  font-family: Instrument, Georgia, serif;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.035em;
}
.hero p {
  font-size: 13px;
  color: #e3ebdf;
}
.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 0 3px;
  margin-top: 19px;
  font-size: 12px;
  color: white;
  font-weight: 600;
  border-bottom: 1px solid #8aab90;
}
.hero-link:hover {
  color: #e4efcf;
}
.hero-link .ic {
  width: 15px;
}
.hero-art {
  position: absolute;
  z-index: 0;
  inset: 0 0 0 50%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 16%);
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.058;
  z-index: 1;
  background-image: url("/assets/grain.png");
}
.strips {
  position: absolute;
  inset: -47% -12% -52% 10%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  transform: rotate(14deg);
}
.strip {
  position: relative;
  flex: 0 0 51%;
  background: #19271e;
  padding: 9px 16px;
  box-shadow: 0 6px 12px #0a140a77;
  border: 1px solid #83918066;
  display: grid;
  gap: 7px;
}
.strip:before,
.strip:after {
  position: absolute;
  content: "";
  top: 0;
  bottom: 0;
  width: 6px;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 4px,
    #aab394 4px 11px,
    transparent 11px 16px
  );
  opacity: 0.88;
}
.strip:before {
  left: 4px;
}
.strip:after {
  right: 4px;
}
.strip img {
  width: 100%;
  height: clamp(90px, 7.8vw, 145px);
  object-fit: cover;
  border-radius: 2px;
  filter: saturate(0.78) sepia(0.19);
}
.strip:nth-child(2) {
  transform: translateY(30px);
}
.strip small {
  font:
    6px/1 ui-monospace,
    monospace;
  color: #d6ad6b;
  letter-spacing: 2px;
}
.hero-art:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #20463855, transparent 40%);
}
.stats {
  margin: 17px 0 25px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.stat,
.panel,
.card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}
.stat {
  position: relative;
  padding: 17px 19px 14px;
  text-align: left;
  transition:
    border-color 0.16s,
    transform 0.16s;
}
.stat:hover,
.story-tile:hover {
  border-color: #a9bba7;
  transform: translateY(-1px);
}
.stat-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #46554a;
  font-size: 12px;
  font-weight: 600;
}
.stat-label .ic {
  width: 15px;
  height: 15px;
}
.stat .metric {
  display: block;
  font-size: 35px;
  letter-spacing: -0.08em;
  line-height: 1.2;
  margin: 5px 0 2px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.stat-foot {
  font-size: 11.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 7px;
}
.dot {
  width: 6px;
  height: 6px;
  display: inline-block;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}
.dot.hot {
  color: #b8593a;
}
.stat-link {
  position: absolute;
  right: 15px;
  top: 16px;
  color: #758076;
}
.stat-link .ic {
  width: 14px;
  height: 14px;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.53fr) minmax(270px, 1fr);
  gap: 17px;
  align-items: start;
}
.panel {
  min-width: 0;
  padding: 20px 21px 12px;
}
.panel-head,
.page-head,
.spread,
.modal-head,
.section-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.panel-head {
  margin-bottom: 16px;
}
.panel-head h2 {
  font-size: 20px;
  letter-spacing: -0.055em;
}
.text-btn {
  font-size: 12px;
  font-weight: 600;
  gap: 5px;
  white-space: nowrap;
  padding: 6px 0;
  color: var(--green);
}
.text-btn:hover {
  text-decoration: underline;
}
.text-btn .ic {
  width: 14px;
  height: 14px;
}
.tabs {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.tab {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  border-radius: 6px;
  padding: 7px 10px;
  color: var(--muted);
  border: 1px solid transparent;
}
.tab.chosen {
  background: #eaf1e7;
  border-color: #d7e2d2;
  color: #2e4a31;
}
.tab:hover {
  background: var(--soft);
}
.tab .tab-count {
  font-size: 10px;
  margin-left: 4px;
  opacity: 0.85;
}
.tabs + .queue-list {
  margin-top: 12px;
}
.line-row {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid #e6eae2;
  min-width: 0;
  min-height: 65px;
}
.line-row:hover,
.story-mini:hover {
  background: #f7f9f4;
}
.line-row .info,
.story-mini .info,
.item-main {
  min-width: 0;
  flex: 1;
}
.line-row strong,
.story-mini strong,
.item-main strong {
  display: block;
  font-size: 13.5px;
  line-height: 1.35;
  letter-spacing: -0.016em;
  overflow-wrap: anywhere;
}
.line-row small,
.story-mini small,
.item-main small {
  display: block;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.4;
  margin-top: 3px;
}
.type-icon {
  width: 36px;
  height: 39px;
  border-radius: 7px;
  display: inline-grid;
  place-items: center;
  flex: none;
}
.type-icon.review {
  background: #e6efea;
  color: #466a56;
}
.type-icon.member {
  background: #eeebf4;
  color: #68547e;
}
.type-icon.collection {
  background: #f5eada;
  color: #80603b;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  border-radius: 5px;
  line-height: 1.2;
  font-size: 10px;
  font-weight: 600;
  padding: 5px 7px;
  color: #4b5b4b;
  background: #edf1e9;
}
.badge.high,
.badge.removed,
.badge.suspended {
  background: #fae9e0;
  color: #934224;
}
.badge.medium,
.badge.draft {
  background: #f6efdc;
  color: #776024;
}
.badge.low,
.badge.open {
  background: #eaf0f1;
  color: #47616a;
}
.badge.resolved,
.badge.published,
.badge.active {
  background: #e6efe3;
  color: #395b3a;
}
.badge .dot {
  width: 5px;
  height: 5px;
}
.chev {
  display: inline-flex;
  color: #7c897f;
}
.chev .ic {
  width: 15px;
  height: 15px;
}
.feature {
  display: block;
  position: relative;
  width: 100%;
  height: 176px;
  background: #233129;
  color: #fff;
  border-radius: 8px;
  overflow: hidden;
  padding: 0;
}
.feature img,
.story-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.feature img {
  transition: transform 0.35s;
}
.feature:hover img {
  transform: scale(1.03);
}
.feature:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    #0f1a1c11 0%,
    #0e161b28 28%,
    #0b1318e8 100%
  );
}
.feature-copy {
  position: absolute;
  left: 16px;
  right: 15px;
  bottom: 13px;
  z-index: 1;
}
.feature-copy .eyebrow {
  color: #f4e4c5;
  font-size: 9px;
}
.feature-title {
  font:
    400 clamp(21px, 2.05vw, 31px)/1.03 Georgia,
    serif;
  letter-spacing: -0.04em;
  display: block;
  margin-top: 5px;
}
.story-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 0;
  width: 100%;
  border-bottom: 1px solid #e6eae2;
}
.story-mini:last-child {
  border-bottom: 0;
}
.story-mini img {
  width: 48px;
  height: 40px;
  object-fit: cover;
  border-radius: 5px;
}
.section-foot {
  padding: 8px 0 3px;
  border-top: 1px solid var(--line);
}
.section-foot span {
  font-size: 11px;
  color: var(--muted);
}
.bottom-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 11px;
}
.bottom-note .ic {
  width: 14px;
  height: 14px;
}
.page-head {
  margin: 5px 0 23px;
}
.page-head .eyebrow {
  margin-bottom: 8px;
}
.page-head h1 {
  font-size: clamp(32px, 3vw, 47px);
  letter-spacing: -0.065em;
}
.btn {
  justify-content: center;
  gap: 7px;
  border: 1px solid #ced8cd;
  border-radius: 7px;
  padding: 9px 14px;
  font-size: 12.5px;
  line-height: 1.5;
  font-weight: 600;
  background: #fff;
  min-height: 38px;
}
.btn:hover {
  background: #eef3eb;
}
.btn.primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.btn.primary:hover {
  background: #18382c;
}
.btn.danger {
  color: #923b26;
  border-color: #dab4a6;
  background: #fff9f5;
}
.btn .ic {
  width: 15px;
  height: 15px;
}
.actions {
  gap: 8px;
  flex-wrap: wrap;
}
.workspace-panel {
  padding: 0;
  overflow: hidden;
}
.filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.filter-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.list-search {
  gap: 7px;
  background: #fff;
  border: 1px solid #cfd9cd;
  border-radius: 7px;
  padding: 0 10px;
  min-width: 0;
}
.list-search .ic {
  width: 15px;
  color: var(--muted);
}
.list-search input {
  border: 0;
  outline: 0;
  background: none;
  width: 150px;
  min-width: 0;
  padding: 8px 0;
  font-size: 13px;
}
.list-search:focus-within {
  outline: 2px solid #648366;
}
.select {
  border: 1px solid #cfd9cd;
  border-radius: 7px;
  background: #fff;
  padding: 8px;
  font-size: 12px;
  min-height: 36px;
}
.result-count {
  padding: 11px 20px;
  color: var(--muted);
  font-size: 11px;
  border-bottom: 1px solid var(--line);
}
.workspace-panel .queue-list,
.items {
  padding: 0 20px;
}
.queue-list .line-row:first-child,
.items .line-row:first-child {
  border-top: 0;
}
.dashboard-grid .queue-list .line-row:first-child {
  border-top: 1px solid #e6eae2;
}
.data-row {
  gap: 12px;
  min-height: 73px;
}
.r-id {
  color: var(--muted);
  font:
    10px ui-monospace,
    monospace;
  min-width: 55px;
}
.display-time {
  width: 70px;
  font-size: 11px;
  color: var(--muted);
  text-align: right;
}
.empty {
  text-align: center;
  padding: 37px 15px;
}
.empty .ic {
  color: #819583;
  margin: 0 auto 7px;
}
.empty h3 {
  font-size: 16px;
  margin-bottom: 5px;
}
.empty p {
  font-size: 13px;
  color: var(--muted);
}
.thumb {
  width: 38px;
  height: 47px;
  object-fit: cover;
  border-radius: 5px;
  flex: none;
}
.initials {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e6eadd;
  color: #465940;
  font-weight: bold;
  font-size: 13px;
  flex: none;
}
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.story-tile {
  display: flex;
  padding: 0;
  flex-direction: column;
  overflow: hidden;
  transition:
    transform 0.15s,
    border-color 0.15s;
}
.story-tile .cover-wrap {
  width: 100%;
  aspect-ratio: 1.95;
  background: #dbe4d6;
  overflow: hidden;
}
.cover-wrap.no-cover {
  display: grid;
  place-items: center;
  background: #e1eadf;
  color: #365b41;
}
.cover-wrap.no-cover .ic {
  width: 36px;
  height: 36px;
}
.tile-body {
  width: 100%;
  padding: 16px;
}
.tile-body h2 {
  font:
    400 24px/1.1 Georgia,
    serif;
  letter-spacing: -0.04em;
  margin: 11px 0;
  overflow-wrap: anywhere;
}
.tile-body p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.tile-foot {
  color: var(--muted);
  font-size: 11px;
  margin-top: 16px;
}
.story-grid .empty {
  grid-column: 1/-1;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0;
  width: min(550px, calc(100% - 24px));
  max-width: 100%;
  max-height: 88dvh;
  background: #fbfcf9;
  color: var(--ink);
  box-shadow: 0 22px 90px #14251f36;
  overscroll-behavior: contain;
}
dialog::backdrop {
  background: #14251fa8;
}
dialog.wide {
  width: min(735px, calc(100% - 24px));
}
.modal-head {
  align-items: flex-start;
  padding: 21px 24px 15px;
  border-bottom: 1px solid var(--line);
  background: #fbfcf9;
}
.modal-head h2 {
  font-size: 24px;
  overflow-wrap: anywhere;
}
.modal-head .eyebrow {
  margin-bottom: 6px;
}
.modal-head .icon-btn {
  flex: none;
  margin: -5px -7px 0 0;
}
.modal-body {
  padding: 20px 24px 24px;
}
.modal-body > p,
.modal-body label,
.modal-body .body-copy {
  font-size: 14px;
}
.report-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px 20px;
  margin-bottom: 19px;
}
.report-grid dt,
.small-label {
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 3px;
}
.report-grid dd {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}
.evidence {
  background: #f0f3ed;
  border: 1px solid #dbe2d7;
  padding: 15px 16px;
  border-radius: 7px;
  margin: 10px 0 17px;
  overflow-wrap: anywhere;
}
.evidence p {
  font:
    400 17px/1.5 Georgia,
    serif;
  margin-top: 6px;
}
.modal-body h3 {
  margin: 18px 0 7px;
  font-size: 16px;
}
.modal-body .actions {
  margin-top: 18px;
}
.field {
  display: grid;
  gap: 6px;
  margin: 14px 0;
  font-weight: 600;
  font-size: 13px;
}
.field input,
.field textarea,
.field select,
.form-input {
  border: 1px solid #c9d3c8;
  background: #fff;
  border-radius: 7px;
  padding: 9px 11px;
  font-weight: 400;
  font-size: 14px;
  width: 100%;
}
.field textarea {
  resize: vertical;
  min-height: 82px;
}
.help {
  font-size: 12px;
  color: var(--muted);
}
.error {
  color: #9a3825;
  font-size: 13px;
  margin: 8px 0;
}
.role-option,
.search-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 9px;
  border-radius: 8px;
}
.role-option:hover,
.search-option:hover {
  background: #eef3ea;
}
.role-option > span,
.search-option > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.role-option strong,
.role-option small,
.search-option strong,
.search-option small {
  display: block;
}
.role-option strong,
.search-option strong {
  font-size: 13px;
}
.role-option small,
.search-option small {
  font-size: 12px;
  color: var(--muted);
}
.role-option[aria-pressed="true"] {
  background: #e6efdf;
}
.search-box {
  width: 100%;
  margin-bottom: 10px;
}
.search-box input {
  width: 100%;
}
.search-results {
  max-height: 48vh;
  overflow: auto;
}
.audit-row {
  padding: 16px 0;
  align-items: flex-start;
  cursor: default;
}
.audit-row:hover {
  background: none;
}
.audit-row .type-icon {
  height: 34px;
  width: 34px;
}
.audit-row p {
  font-size: 12px;
  margin-top: 4px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.audit-date {
  font-size: 10.5px;
  color: var(--muted);
  white-space: nowrap;
}
.edit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(205px, 0.33fr);
  align-items: start;
  gap: 16px;
}
.editor-paper {
  border-radius: 12px;
  overflow: hidden;
}
.edit-header {
  padding: 22px 25px 15px;
}
.edit-title,
.edit-dek {
  width: 100%;
  background: none;
  border: 0;
  border-radius: 3px;
}
.edit-title {
  font-family: Georgia, serif;
  font-size: clamp(28px, 3vw, 45px);
  letter-spacing: -0.055em;
  padding: 3px 0;
  line-height: 1.15;
  resize: vertical;
  min-height: 58px;
}
.edit-dek {
  font-size: 15px;
  resize: vertical;
  min-height: 45px;
  padding: 5px 0;
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 8px 16px;
  flex-wrap: wrap;
  border-block: 1px solid var(--line);
  background: #f6f8f4;
}
.toolbar button {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 33px;
  border-radius: 5px;
  font-weight: bold;
}
.toolbar button:hover,
.toolbar button[aria-pressed="true"] {
  background: #dce8d7;
}
.toolbar .ic {
  width: 16px;
  height: 16px;
}
.tool-div {
  height: 18px;
  width: 1px;
  background: #d5ded1;
  margin: 0 5px;
}
.prose {
  font:
    400 17px/1.7 Georgia,
    serif;
  overflow-wrap: anywhere;
}
.prose p,
.prose ul,
.prose ol,
.prose blockquote,
.prose h2,
.prose h3 {
  margin: 0 0 0.85em;
}
.prose h2,
.prose h3 {
  font-family: DM, Arial;
  font-size: 23px;
  letter-spacing: -0.05em;
}
.prose h3 {
  font-size: 20px;
}
.prose blockquote {
  border-left: 3px solid #87a787;
  padding-left: 15px;
  font-style: italic;
  color: #4a604d;
}
.prose[contenteditable] {
  padding: 20px 25px;
  min-height: 280px;
  outline-offset: -3px;
}
.prose[contenteditable]:empty:before {
  content: attr(data-placeholder);
  color: #778276;
  pointer-events: none;
}
.edit-footer {
  border-top: 1px solid var(--line);
  padding: 10px 20px;
}
.edit-aside {
  padding: 19px;
}
.edit-aside h2 {
  font-size: 19px;
}
.cover-current {
  width: 100%;
  aspect-ratio: 2;
  object-fit: cover;
  border-radius: 6px;
  margin: 5px 0;
}
.save-status {
  font-size: 11px;
  color: var(--muted);
}
.preview-top {
  margin-bottom: 17px;
}
.preview-top h3 {
  font:
    400 clamp(30px, 4.1vw, 48px)/1.08 Georgia,
    serif;
  letter-spacing: -0.06em;
  margin: 9px 0;
}
.preview-dek {
  color: var(--muted);
  font-size: 16px;
}
.preview-img {
  width: 100%;
  aspect-ratio: 2.65;
  object-fit: cover;
  border-radius: 6px;
  margin: 0 0 17px;
}
.toast {
  position: fixed;
  left: calc(50% + var(--side) / 2);
  bottom: 18px;
  transform: translate(-50%, 10px);
  z-index: 9;
  background: #243e31;
  color: white;
  padding: 0 15px;
  border-radius: 8px;
  pointer-events: none;
  opacity: 0;
  font-size: 13px;
  max-width: 90vw;
  transition: opacity 0.15s;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
  padding: 10px 15px;
}
@media (min-width: 1650px) {
  :root {
    --side: 245px;
  }
  .hero {
    min-height: 245px;
  }
  .feature {
    height: 220px;
  }
}
@media (max-width: 1190px) {
  :root {
    --side: 200px;
  }
  .dashboard-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(255px, 1fr);
  }
  main {
    padding-inline: 24px;
  }
  .panel {
    padding-inline: 16px;
  }
  .workspace-panel {
    padding: 0;
  }
  .topbar {
    padding-inline: 24px;
  }
  .strip {
    padding-inline: 13px;
  }
  .hero-copy {
    padding-left: 25px;
  }
  .line-row {
    gap: 9px;
  }
  .edit-layout {
    grid-template-columns: minmax(0, 1fr) 190px;
  }
  .story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 960px) {
  :root {
    --side: 180px;
  }
  .brand {
    margin-inline: 0;
  }
  .brand strong {
    font-size: 19px;
  }
  .sidebar {
    padding-inline: 10px;
  }
  .dashboard-grid {
    grid-template-columns: minmax(0, 1.23fr) minmax(215px, 1fr);
    gap: 12px;
  }
  .panel {
    padding-inline: 13px;
  }
  .workspace-panel {
    padding: 0;
  }
  .line-row .chev {
    display: none;
  }
  .stats {
    gap: 9px;
  }
  .stat {
    padding: 13px;
  }
  .feature {
    height: 160px;
  }
  .feature-title {
    font-size: 23px;
  }
  .panel-head {
    gap: 5px;
  }
  .panel-head h2 {
    font-size: 18px;
  }
  .topbar,
  main {
    padding-inline: 18px;
  }
  .display-time {
    display: none;
  }
  .edit-layout {
    grid-template-columns: 1fr;
  }
  .edit-aside .field {
    max-width: 440px;
  }
  .cover-current {
    max-width: 240px;
  }
  .hero-copy {
    width: 66%;
  }
}
@media (max-width: 800px) {
  :root {
    --side: 0px;
  }
  .sidebar {
    width: 245px;
    transform: translateX(-101%);
    visibility: hidden;
    transition: transform 0.17s;
    z-index: 8;
    padding-inline: 15px;
  }
  .sidebar.is-open {
    transform: translateX(0);
    visibility: visible;
  }
  .menu-btn {
    display: inline-flex;
  }
  .nav-shade:not([hidden]) {
    display: block;
    position: fixed;
    inset: 0;
    background: #15241e88;
    z-index: 7;
  }
  .topbar {
    height: 56px;
  }
  .crumb {
    gap: 9px;
  }
  .menu-btn {
    margin-left: -8px;
  }
  .hero-copy {
    width: 62%;
  }
  .hero {
    min-height: 201px;
  }
  .dashboard-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(235px, 1fr);
  }
  .shell {
    margin-left: 0;
  }
  .stat .metric {
    font-size: 31px;
  }
  .bar-actions {
    gap: 10px;
  }
  main {
    padding-top: 19px;
  }
  .side-bottom {
    padding-bottom: max(15px, env(safe-area-inset-bottom));
  }
  .hero h1 {
    font-size: 49px;
  }
  .toast {
    left: 50%;
  }
}
@media (max-width: 640px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .panel {
    padding: 16px 16px 8px;
  }
  .workspace-panel {
    padding: 0;
  }
  .hero {
    min-height: 192px;
  }
  .hero-copy {
    width: 76%;
    padding: 22px 19px;
  }
  .hero-art {
    left: 58%;
  }
  .hero-art:after {
    background: linear-gradient(90deg, #21473780, transparent);
  }
  .strip {
    flex-basis: 80%;
    padding-inline: 12px;
  }
  .strips {
    gap: 9px;
    inset: -30% -45% -30% 22%;
  }
  .strip img {
    height: 92px;
  }
  .hero h1 {
    font-size: 46px;
  }
  .hero p {
    font-size: 12px;
    max-width: 250px;
  }
  .hero-link {
    margin-top: 14px;
  }
  .stats {
    margin: 11px 0 15px;
    gap: 7px;
  }
  .stat {
    padding: 11px 9px;
    border-radius: 9px;
  }
  .stat-link {
    display: none;
  }
  .stat-label {
    font-size: 11px;
    line-height: 1.25;
    gap: 5px;
  }
  .stat-label .ic {
    width: 13px;
    height: 13px;
  }
  .stat .metric {
    font-size: 29px;
  }
  .stat-foot {
    font-size: 10px;
    line-height: 1.35;
    min-height: 16px;
    gap: 4px;
  }
  .panel-head h2 {
    font-size: 21px;
  }
  .feature {
    height: 185px;
  }
  .feature-title {
    font-size: 30px;
  }
  .line-row .chev {
    display: inline-flex;
  }
  .topbar,
  main {
    padding-inline: 14px;
  }
  .search-trigger span,
  .search-trigger kbd,
  .bar-sep {
    display: none;
  }
  .search-trigger {
    padding: 8px;
  }
  .search-trigger .ic {
    width: 19px;
    height: 19px;
  }
  .bar-actions {
    gap: 7px;
  }
  .avatar {
    width: 32px;
    height: 32px;
  }
  .hero .eyebrow {
    font-size: 8.8px;
    letter-spacing: 0.8px;
  }
  .page-head {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .page-head .sub {
    max-width: 42ch;
  }
  .filters {
    padding: 12px;
  }
  .filter-row {
    width: 100%;
  }
  .filter-row .list-search {
    flex: 1;
  }
  .filter-row .list-search input {
    width: 100%;
  }
  .data-row .r-id,
  .data-row .chev {
    display: none;
  }
  .workspace-panel .queue-list,
  .items {
    padding-inline: 13px;
  }
  .result-count {
    padding-inline: 13px;
  }
  .story-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .tile-body {
    padding: 11px;
  }
  .tile-body h2 {
    font-size: 20px;
  }
  .tile-body .spread {
    flex-wrap: wrap;
    gap: 5px;
  }
  .modal-head {
    padding: 17px 16px 12px;
  }
  .modal-body {
    padding: 15px 16px 19px;
  }
  .audit-row {
    flex-wrap: wrap;
  }
  .audit-row .audit-date {
    width: 100%;
    padding-left: 46px;
  }
  .edit-header,
  .prose[contenteditable] {
    padding-inline: 16px;
  }
  .edit-aside {
    padding: 15px;
  }
  .brand strong {
    font-size: 21px;
  }
  .toolbar {
    padding-inline: 8px;
  }
  .role-card {
    min-height: 46px;
  }
  .nav-item {
    min-height: 45px;
  }
  .panel-head {
    margin-bottom: 12px;
  }
  .bottom-note {
    margin-top: 15px;
  }
}
@media (max-width: 390px) {
  .stat-label .ic {
    display: none;
  }
  .hero h1 {
    font-size: 41px;
  }
  .hero-copy {
    width: 80%;
  }
  .hero p {
    max-width: 205px;
  }
  .story-grid {
    grid-template-columns: 1fr;
  }
  .r-status {
    display: none;
  }
  .data-row .type-icon {
    width: 30px;
  }
  .report-grid {
    gap: 12px;
  }
  .line-row .chev {
    display: none;
  }
  .hero-art {
    left: 62%;
  }
  .stat-foot .dot {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.modal-body > .actions {
  display: flex;
}
.modal-body > .text-btn {
  display: flex;
  width: fit-content;
}
.report-grid {
  margin-top: 0;
}

.toolbar i {
  font-family: Georgia, serif;
  font-style: italic;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.quick-create {
  margin: -3px 0 14px;
}
.create-actions {
  gap: 7px;
}
.quick-create .btn {
  padding: 6px 10px;
  min-height: 34px;
}
.type-icon.group {
  background: #e1edf1;
  color: #365d70;
}
.user-grid {
  display: grid;
  grid-template-columns:
    minmax(165px, 1.75fr) minmax(120px, 1.2fr) minmax(90px, 1fr)
    minmax(72px, 0.65fr) 15px;
  gap: 14px;
  align-items: center;
}
.user-head {
  background: #f4f7f1;
  padding: 9px 20px;
  color: var(--muted);
  font-size: 11px;
  font-weight: bold;
  border-bottom: 1px solid var(--line);
}
.user-row {
  width: 100%;
  padding: 15px 20px;
  border-bottom: 1px solid #e6eae2;
  font-size: 13px;
}
.user-row:last-child {
  border: 0;
}
.user-row:hover {
  background: #f7f9f4;
}
.person-cell,
.user-summary {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}
.person-cell strong {
  display: block;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.person-cell small,
.user-web small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}
.user-row:nth-child(3n + 1) .initials {
  background: #f4e2d8;
  color: #774b39;
}
.user-row:nth-child(3n + 2) .initials {
  background: #e8e4f1;
  color: #594b71;
}
.user-summary {
  margin-bottom: 16px;
}
.user-summary > span:nth-child(2) {
  font-size: 13px;
  flex: 1;
  color: var(--muted);
}
.record-panel {
  margin-top: 15px;
  border-top: 1px solid var(--line);
  padding-top: 15px;
}
.user-id {
  font:
    12px/1.5 ui-monospace,
    monospace;
  overflow-wrap: anywhere;
}
.record-panel .report-grid {
  grid-template-columns: 1.55fr 1fr;
}
.badge.banned,
.badge.deleted {
  color: #833a29;
  background: #f7e4de;
}
.badge.actioned,
.badge.dismissed {
  background: #e9f0e2;
  color: #3b5536;
}
.edition-section {
  margin-top: 25px;
}
.reader-page {
  max-width: 780px;
  margin: 12px auto;
  padding: clamp(18px, 4.2vw, 60px);
}
.reader-figure {
  margin: 0 0 18px;
}
.reader-figure .preview-img {
  margin: 0;
}
.reader-figure figcaption,
.reader-byline {
  font:
    12px/1.6 DM,
    sans-serif;
  color: var(--muted);
  margin-top: 8px;
}
.reader-page .preview-top h3 {
  font-size: clamp(37px, 4.6vw, 65px);
}
.reader-back {
  max-width: 780px;
  margin: auto;
}
.record-panel .tabs {
  margin-top: 10px;
}
@media (max-width: 1050px) {
  .user-grid {
    gap: 8px;
    grid-template-columns:
      minmax(148px, 1.5fr) minmax(100px, 1fr) minmax(76px, 0.9fr)
      minmax(65px, 0.7fr) 10px;
  }
  .user-row,
  .user-head {
    padding-inline: 14px;
  }
}
@media (max-width: 640px) {
  .user-head {
    display: none;
  }
  .user-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 5px 12px;
    padding: 13px 14px;
  }
  .user-row .person-cell {
    grid-column: 1;
    grid-row: 1;
  }
  .user-row > span:nth-last-child(2) {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }
  .user-web {
    padding-left: 51px;
    font-size: 11px;
    grid-column: 1;
  }
  .user-web small {
    display: inline;
  }
  .user-web small:before {
    content: " · ";
  }
  .user-row .chev {
    display: none;
  }
  .user-row .user-report {
    grid-column: 2;
    text-align: right;
  }
  .user-row .user-report .help {
    font-size: 10px;
  }
  .record-panel .report-grid {
    grid-template-columns: 1fr 1fr;
  }
  .reader-page {
    padding: 17px;
  }
  .edit-aside .field input {
    font-size: 16px;
  }
  .user-summary {
    flex-wrap: wrap;
  }
  .quick-create .btn {
    min-height: 38px;
  }
}

.mobile-create {
  display: none;
}
@media (max-width: 640px) {
  .mobile-create {
    display: block;
    margin: -2px 0 15px;
  }
  .mobile-create .actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .quick-create {
    display: none;
  }
}

.cover-tools {
  margin: 15px 0;
}
.cover-label,
.cover-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.cover-label {
  font-size: 13px;
  margin-bottom: 6px;
}
.cover-label .text-btn {
  font-size: 11px;
  padding: 1px 0;
}
.cover-buttons {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.cover-buttons .btn {
  padding: 6px 8px;
  min-height: 33px;
  font-size: 12px;
}
.chosen-header,
.upload-preview {
  margin: 0 0 9px;
}
.chosen-header img,
.upload-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 2.65;
  object-fit: cover;
  border-radius: 7px;
  background: var(--soft);
}
.chosen-header figcaption {
  padding: 6px 0 1px;
  font-size: 12px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.chosen-header small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
}
.cover-tabs {
  display: flex;
  gap: 5px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}
.cover-search {
  margin: 13px 0 8px;
}
.cover-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #bbc9bb;
  border-radius: 7px;
  background: white;
  padding: 0 10px;
}
.cover-search-box input {
  padding: 9px 0;
  border: 0;
  background: transparent;
  outline: none;
}
.cover-search-box:focus-within {
  outline: 2px solid #638565;
}
.cover-search-box .ic {
  width: 16px;
}
.cover-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-height: 34dvh;
  min-height: 100px;
  overflow: auto;
  padding: 5px 3px 5px 2px;
  margin: 4px 0;
  scrollbar-gutter: stable;
}
.cover-grid .empty {
  grid-column: 1/-1;
}
.header-option {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: stretch;
  align-self: start;
  min-width: 0;
  padding: 0;
  border: 1px solid var(--line);
  background: white;
  border-radius: 7px;
  overflow: hidden;
}
.header-option img {
  width: 100%;
  aspect-ratio: 2.45;
  object-fit: cover;
}
.header-meta {
  display: block;
  padding: 6px 8px 8px;
}
.header-meta strong,
.header-meta small {
  display: block;
}
.header-meta strong {
  font-size: 12px;
  line-height: 1.3;
}
.header-meta small {
  font-size: 10.5px;
  color: var(--muted);
  margin-top: 2px;
}
.header-check {
  display: none;
  position: absolute;
  right: 5px;
  top: 5px;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  background: var(--green);
  color: white;
  align-items: center;
  justify-content: center;
}
.header-check .ic {
  width: 14px;
  height: 14px;
}
.header-option.selected {
  box-shadow: inset 0 0 0 1px var(--green);
  border-color: var(--green);
  background: var(--soft);
}
.header-option.selected .header-check {
  display: flex;
}
.header-option:focus-visible {
  outline-offset: -3px;
}
.cover-footer {
  border-top: 1px solid var(--line);
  margin-top: 13px;
  padding-top: 13px;
  flex-wrap: wrap;
}
.cover-footer .actions {
  margin: 0 0 0 auto;
}
.cover-footer #cover-choice {
  overflow-wrap: anywhere;
  min-width: 0;
  flex: 1;
}
.file-drop {
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  gap: 5px;
  border: 1px dashed #a2b6a1;
  border-radius: 8px;
  background: #f0f5ed;
  padding: 18px 12px;
  margin: 14px 0;
  cursor: pointer;
}
.file-drop span,
.upload-preview figcaption {
  font-size: 12px;
  color: var(--muted);
}
.file-drop input {
  margin-top: 6px;
  font:
    12px DM,
    sans-serif;
  max-width: 100%;
}
.file-drop input::file-selector-button {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  padding: 6px 9px;
  margin-right: 8px;
  color: var(--green);
  font-weight: bold;
  cursor: pointer;
}
.file-drop .ic {
  width: 24px;
  height: 24px;
}
.upload-preview figcaption {
  overflow-wrap: anywhere;
  margin-top: 4px;
}
@media (max-width: 640px) {
  .cover-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 36dvh;
    gap: 7px;
  }
  .cover-search-box input {
    font-size: 16px;
  }
  .cover-buttons .btn,
  .cover-footer .btn {
    min-height: 40px;
  }
  .cover-footer {
    gap: 8px;
  }
}

/* The connected workspace uses native links and forms for server-authorised actions. */
a.nav-item,
a.stat,
a.line-row,
a.hero-link,
a.btn,
a.text-btn,
a.search-option,
a.row-arrow,
a.tab,
.brand,
.user-name {
  text-decoration: none;
}
a.line-row,
a.stat,
a.search-option,
.user-name {
  color: var(--ink);
}
a.line-row:hover .info strong,
.user-name:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.nav-item svg,
.type-icon svg {
  pointer-events: none;
}
.logout {
  width: 35px;
  height: 35px;
}
.logout svg {
  transform: rotate(180deg);
}
.stats {
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}
.hero-link,
.nav-item,
.type-icon,
.line-row .info {
  min-width: 0;
}
.type-icon.profile {
  background: #eee8f5;
  color: #73588a;
}
.type-icon.article {
  background: #e0eee5;
  color: #416351;
}
.info strong,
.info small,
.user-web,
.person-cell strong,
.report-grid dd,
.user-name,
.story-meta dd,
.card,
.panel {
  overflow-wrap: anywhere;
}
.line-row .ic:last-child,
.row-arrow {
  color: #819085;
  width: 15px;
}
.line-row .info {
  flex: 1;
}
.group-label,
.eyebrow,
.meta-label {
  line-height: 1.45;
}
.bottom-note {
  margin-top: 34px;
}
main form button:not([class]),
.action button:not([class]) {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  gap: 6px;
  padding: 8px 13px;
  font-weight: 600;
  font-size: 12.5px;
  border: 1px solid #ced8cd;
  border-radius: 7px;
  background: white;
  color: var(--green);
}
main form button[name="decision"][value="remove"],
main form button[name="decision"][value="ban"] {
  color: #963c27;
  border-color: #e2b7a9;
}
.access-shell {
  min-height: 100dvh;
  background: linear-gradient(112deg, #eaefe4, var(--bg) 48%, #eef0e8);
}
.access-bar {
  height: 78px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: clamp(20px, 5vw, 80px);
  background: #fbfcf8;
}
.access-bar .brand {
  margin: 0;
}
.access-main {
  max-width: 1040px;
  padding: clamp(35px, 9vh, 100px) 24px;
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  align-items: stretch;
  gap: 0;
}
.access-art {
  min-height: 410px;
  border-radius: 15px 0 0 15px;
  align-items: flex-start;
  overflow: hidden;
}
.access-art .hero-copy {
  padding: 38px;
  width: 100%;
}
.access-art h2 {
  font:
    400 clamp(42px, 4vw, 64px)/1 Georgia,
    serif;
  letter-spacing: -0.06em;
  margin: 13px 0 0;
}
.access-art h2 em {
  font-family: Instrument, Georgia, serif;
}
.access-art .hero-art {
  inset: 42% -8% 0 0;
  mask-image: linear-gradient(180deg, transparent, #000 25%);
}
.access-art .strips {
  inset: -120% -5% -96% 5%;
  transform: rotate(-12deg);
}
.access-art .strip img {
  height: 95px;
}
.access-card {
  padding: clamp(24px, 4vw, 48px);
  min-width: 0;
  border-radius: 0 15px 15px 0;
  align-content: center;
}
.access-card .page-head {
  margin: 0 0 24px;
}
.access-card .page-head h1 {
  font-size: clamp(32px, 3.2vw, 47px);
}
.access-card form,
.artwork-panel form,
.side-panel form,
.candidate-lookup form,
.selection-control form,
.candidate-layout form {
  display: grid;
  gap: 14px;
}
.access-card label:not(.field),
.artwork-panel label,
.candidate-layout label,
.slot-actions label,
.action label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}
.access-card input:not([type="checkbox"]),
.artwork-panel input,
.tools input,
.candidate-layout select,
.slot-actions select,
.action input,
.candidate-lookup input {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  border-radius: 7px;
  border: 1px solid #c6d0c4;
  background: #fff;
}
.access-card .btn {
  width: 100%;
  font-size: 14px;
  min-height: 43px;
}
.access-fields > a,
.access-card details {
  display: block;
  margin-top: 18px;
  font-size: 13px;
  color: var(--green);
}
.access-card .secret {
  display: block;
  overflow-wrap: anywhere;
  padding: 12px;
  background: #eaf1e6;
  border-radius: 6px;
  margin: 12px 0;
  font-size: 14px;
}
dialog .modal-body {
  padding-bottom: 18px;
}
dialog .list-search {
  width: 100%;
  margin-bottom: 14px;
}
.search-option {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 12px;
}
.search-option span {
  flex: 1;
}
.search-option[hidden] {
  display: none;
}
.filters .filter-row {
  margin-top: 10px;
}
.filter-row .list-search {
  flex: 1;
  max-width: 540px;
}
.list-foot {
  padding: 12px 18px;
}
.desk-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: -6px 0 18px;
}
.user-name {
  display: block;
  font-weight: 600;
}
.person-cell .type-icon {
  flex-shrink: 0;
}
.person-banner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  background: linear-gradient(105deg, #e4eddf, #f2f5ed);
  border: 1px solid #d6e0d2;
  border-radius: 12px;
  margin-bottom: 18px;
}
.person-banner > .badge {
  margin-left: auto;
}
.person-banner p {
  margin: 3px 0 5px;
  font-size: 13px;
}
.person-banner code,
code {
  font-size: 11px;
  overflow-wrap: anywhere;
  color: var(--muted);
}
.person-mark {
  display: grid;
  place-items: center;
  min-width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #cfdfc9;
  color: var(--green);
}
.person-mark svg {
  width: 26px;
  height: 26px;
}
.dashboard-grid > div > .panel + .panel,
.dashboard-grid > aside > .panel + .panel,
.case-layout aside .panel + .panel {
  margin-top: 16px;
}
.contribution-stats {
  display: flex;
  gap: 24px;
  margin-bottom: 13px;
}
.contribution-stats div {
  display: grid;
}
.contribution-stats strong {
  font-size: 23px;
  line-height: 1;
}
.contribution-stats small {
  font-size: 11px;
  color: var(--muted);
}
.case-layout,
.artwork-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(265px, 0.85fr);
  gap: 18px;
  align-items: start;
}
.case-sheet h2 {
  margin-top: 5px;
}
.case-sheet h3,
.side-panel h2,
.artwork-panel h2,
.edit-settings h2 {
  margin: 5px 0 12px;
}
.case-sheet .report-grid {
  padding: 16px 0;
  margin: 10px 0 22px;
  border-block: 1px solid var(--line);
}
.case-sheet .evidence {
  padding: 16px;
  margin-top: 20px;
  border: 1px solid #d6dfd4;
  background: #f1f5ed;
  border-radius: 8px;
}
.evidence summary,
.action summary,
summary {
  cursor: pointer;
  font-weight: 600;
}
.evidence pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font:
    12px/1.6 ui-monospace,
    monospace;
}
.action form {
  margin-top: 12px;
}
.action p {
  margin: 10px 0;
  font-size: 13px;
  color: var(--muted);
}
.edit-layout {
  align-items: start;
}
.writing-body {
  display: block;
  resize: vertical;
  width: 100%;
  min-height: 280px;
  border: 0;
  padding: 22px 24px;
  font:
    16px/1.75 DM,
    Arial,
    sans-serif;
  outline-offset: -3px;
}
.editor-footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 10px 20px;
  font-size: 11px;
  color: var(--muted);
  background: #f8faf6;
}
.edit-settings {
  padding: 20px;
}
.edit-settings .btn {
  width: 100%;
  justify-content: center;
}
.story-meta {
  margin: 12px 0;
}
.story-meta dt {
  font-size: 11px;
  color: var(--muted);
}
.story-meta dd {
  margin: 1px 0 9px;
  font-size: 13px;
  font-weight: 600;
}
.cover {
  display: block;
  width: 100%;
  max-width: 800px;
  aspect-ratio: 20/9;
  object-fit: cover;
  border-radius: 7px;
  margin: 8px 0;
}
figure {
  margin: 8px 0;
}
figcaption {
  font-size: 12px;
  color: var(--muted);
}
.release-preview {
  margin-top: 20px;
}
.paper {
  padding: 20px clamp(16px, 3vw, 32px);
  background: #fafbf6;
  border: 1px solid var(--line);
  border-radius: 8px;
  font:
    17px/1.75 Georgia,
    serif;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.paper .meta,
.meta {
  color: var(--muted);
  font:
    12px/1.5 DM,
    Arial,
    sans-serif;
}
.paper h2 {
  margin: 10px 0;
  font:
    400 1.65em/1.15 Georgia,
    serif;
}
.paper p + p {
  margin-top: 10px;
}
.release-preview form,
.candidate-layout form {
  margin-top: 16px;
}
.return-link,
.artwork-current {
  margin-bottom: 16px;
}
.artwork-panel .records {
  list-style: none;
  padding: 0;
}
.artwork-panel .records li {
  padding: 7px 0;
}
.artwork-panel form {
  margin: 13px 0;
}
.placement-grid {
  display: grid;
  grid-template-columns: minmax(215px, 0.65fr) minmax(0, 1.35fr);
  gap: 16px;
  align-items: start;
}
.slot-list {
  min-width: 0;
}
.slot-list > section + section {
  margin-top: 10px;
}
.slot-list h2 {
  margin: 5px 0 12px;
}
.slot-list h2 a {
  color: var(--ink);
  text-decoration: none;
}
.slot-list h2 a:hover {
  text-decoration: underline;
}
.slot-list .empty {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px;
}
.slot-actions {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
}
.slot-actions form {
  display: flex;
  align-items: end;
  gap: 8px;
  flex-wrap: wrap;
}
.slot-actions select {
  min-height: 37px;
}
.slot-actions .btn {
  background: white;
  color: var(--green);
  border-color: #ced8cd;
}
.candidate-lookup {
  margin-top: 16px;
}
.candidate-lookup form {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}
.candidate-layout {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.candidate-layout .panel h2 {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}
.candidate-layout .panel h3 {
  margin-bottom: 6px;
}
.candidate-layout form {
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  max-width: 600px;
}
@media (max-width: 800px) {
  .case-layout,
  .artwork-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(225px, 0.8fr);
  }
  .access-main {
    max-width: 650px;
  }
  .access-art {
    min-height: 190px;
    display: none;
  }
  .access-card {
    border-radius: 14px;
  }
}
@media (max-width: 640px) {
  .access-bar {
    height: 60px;
  }
  .access-main {
    display: block;
    padding: 18px 14px;
  }
  .access-art {
    display: flex;
    min-height: 150px;
    border-radius: 14px 14px 0 0;
  }
  .access-art .hero-art {
    inset: 0 -10% 0 48%;
    mask-image: linear-gradient(90deg, transparent, #000 30%);
  }
  .access-art .hero-copy {
    padding: 26px 18px;
    width: 64%;
  }
  .access-art h2 {
    font-size: 35px;
  }
  .access-card {
    padding: 22px 18px;
    border-radius: 0 0 14px 14px;
  }
  .stats {
    grid-template-columns: repeat(auto-fit, minmax(85px, 1fr));
  }
  .case-layout,
  .placement-grid,
  .artwork-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .person-banner {
    padding: 15px;
    gap: 10px;
    align-items: start;
  }
  .person-mark {
    min-width: 39px;
    height: 39px;
  }
  .person-banner code {
    font-size: 10px;
  }
  .person-banner > .badge {
    flex-shrink: 0;
  }
  .dashboard-grid > .panel,
  .side-panel,
  .case-sheet,
  .editor-paper,
  .edit-settings {
    min-width: 0;
  }
  .bar-actions {
    gap: 7px;
  }
  .logout {
    width: 32px;
  }
  .case-sheet .report-grid {
    margin-bottom: 16px;
  }
  .candidate-lookup form {
    grid-template-columns: 1fr;
  }
  .desk-actions .actions {
    flex-wrap: wrap;
  }
  .user-row .row-arrow {
    display: none;
  }
  .access-card input,
  .filter-row input,
  .edit-settings input,
  .edit-settings select,
  .candidate-lookup input,
  .artwork-panel input,
  .tools input {
    font-size: 16px;
  }
  .slot-actions form {
    width: 100%;
  }
}

.lead-story {
  padding: 0 18px 5px;
}
.evidence > h3 {
  margin-top: 0;
}
.evidence blockquote {
  font:
    1.12rem/1.55 Georgia,
    serif;
  margin: 12px 0 18px;
  border-left: 2px solid #b6c6af;
  padding-left: 14px;
}

.placement-caption,
.roster-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.placement-caption {
  margin: 0 3px 9px;
}
.placement-caption h2 {
  margin: 0;
  font-size: 18px;
}
.placement-caption > span {
  font-size: 12px;
  color: var(--muted);
}
.roster-card {
  border-left: 3px solid #829c7c;
}
.roster-card h2 {
  font:
    400 25px/1.15 Georgia,
    serif;
  letter-spacing: -0.035em;
}
.placement-commit {
  background: #f0f4eb;
  border: 1px solid #d9e2d4;
  border-radius: 10px;
  padding: 18px;
  min-width: 0;
}
.placement-commit form {
  margin-top: 15px;
  max-width: none;
}
.placement-commit p {
  margin: 8px 0;
  overflow-wrap: anywhere;
}
.placement-commit h2 {
  font-size: 22px;
  margin: 6px 0 12px;
}
.candidate-layout .candidate-card {
  background: #f1f4eb;
  border-color: #d7e0cf;
}
.candidate-card .eyebrow {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #3d5a48;
}
.candidate-layout .candidate-card h3 {
  font:
    400 clamp(23px, 3vw, 34px)/1.1 Georgia,
    serif;
  letter-spacing: -0.035em;
}
.candidate-card p {
  margin: 7px 0;
}
.recent-picks {
  margin-top: 14px;
}
@media (min-width: 900px) {
  .candidate-layout {
    grid-template-columns: minmax(0, 1.65fr) minmax(240px, 1fr);
    align-items: start;
  }
  .candidate-layout .paper {
    grid-column: 1;
    grid-row: 1 / span 2;
  }
  .candidate-layout .candidate-card,
  .candidate-layout .placement-commit {
    grid-column: 2;
  }
}
.rich-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 7px 12px;
}
.rich-toolbar button {
  min-height: 40px;
  min-width: 40px;
  font-size: 16px;
}
.rich-toolbar button .ic {
  width: 17px;
  height: 17px;
}
.rich-toolbar .body-preview-btn {
  margin-left: auto;
  gap: 5px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
}
.rich-toolbar button[aria-pressed="true"] {
  background: var(--green);
  color: white;
}
.category-picker details {
  margin-top: 4px;
}
.category-picker summary {
  font-size: 13px;
  color: var(--green);
  font-weight: 700;
  cursor: pointer;
}
.category-picker details .field {
  margin: 9px 0;
}
.category-picker .help:empty,
.author-dialog [role="alert"]:empty {
  display: none;
}
.author-dialog {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0;
  max-width: min(430px, 92vw);
  width: 100%;
  max-height: 90dvh;
  color: var(--ink);
}
.author-dialog::backdrop {
  background: #16271ccc;
}
.author-dialog .modal-body {
  display: grid;
  gap: 14px;
}
.author-dialog .modal-body small {
  color: var(--muted);
}
.inline-photo {
  margin: 1.25em 0;
}
.inline-photo img {
  display: block;
  max-width: 100%;
  height: auto;
  max-height: 680px;
  object-fit: contain;
  border-radius: 6px;
}
.inline-photo figcaption {
  font:
    14px/1.5 DM,
    sans-serif;
  margin-top: 7px;
  color: var(--muted);
}
.inline-photo figcaption span {
  display: block;
  font-size: 12px;
}
.paper blockquote {
  margin: 1em 0;
  padding-left: 16px;
  border-left: 3px solid #8ca285;
}
.live-body-preview {
  min-height: 16em;
}
.rich-toolbar + .sr-only ~ .writing-body[hidden],
.live-body-preview[hidden] {
  display: none;
}
.body-images {
  padding: 14px 18px;
  border-top: 1px solid var(--line);
}
.body-images h3 {
  margin: 0 0 7px;
  font-size: 13px;
}
.inline-image-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px 0;
}
.inline-image-row img {
  width: 52px;
  height: 40px;
  object-fit: cover;
  border-radius: 5px;
}
.inline-image-row > div {
  flex: 1 1 155px;
  min-width: 0;
}
.inline-image-row strong,
.inline-image-row small {
  display: block;
  overflow-wrap: anywhere;
}
.inline-image-row strong {
  font-size: 12px;
}
.inline-image-row small {
  font-size: 11px;
  color: var(--muted);
}
.inline-image-row .btn {
  font-size: 12px;
  min-height: 36px;
}
.author-dialog .field[hidden],
.author-dialog [data-file-hint][hidden] {
  display: none;
}
