:root {
  --page:#f5f5f1;
  --paper:#fff;
  --ink:#263532;
  --muted:#707a73;
  --line:#e2e6de;
  --green:#315d4f;
  --green-soft:#eaf0e9;
  --gold:#a57a3e;
  --gold-soft:#f6f0e4;
  --red:#a54d40;
  --red-soft:#f9eeea;
  --radius:18px;
  --shadow:0 8px 32px #24382b08;
  font-family:Arial,"Helvetica Neue",sans-serif;
  color:var(--ink);
  font-size:16px;
  line-height:1.5;
  color-scheme:light
}
* {
  box-sizing:border-box
}
body {
  margin:0;
  background:var(--page)
}
[hidden] {
  display:none!important
}
button,input,select,textarea {
  font:inherit
}
button,a,input,select,textarea {
  -webkit-tap-highlight-color:transparent
}
button {
  cursor:pointer
}
a {
  color:var(--green);
  text-decoration:none
}
a:hover {
  text-decoration:underline
}
button {
  color:inherit
}
button:disabled {
  cursor:wait;
  opacity:.6
}
svg {
  display:block;
  width:22px;
  height:22px;
  flex-shrink:0
}
h1,h2,h3,p {
  margin:0
}
button:focus-visible,a:focus-visible {
  outline:3px solid #b2c8b9;
  outline-offset:4px
}
input:focus,textarea:focus,select:focus {
  outline:2px solid #8cad99;
  outline-offset:1px
}
.skip-link {
  position:fixed;
  top:-100px;
  left:12px;
  background:var(--ink);
  color:#fff;
  padding:12px 18px;
  z-index:30;
  border-radius:8px
}
.skip-link:focus {
  top:10px
}
.initial-loading {
  min-height:100dvh;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  color:var(--muted)
}
.spinner {
  width:20px;
  height:20px;
  border:2px solid var(--line);
  border-top-color:var(--green);
  border-radius:50%;
  animation:spin .9s linear infinite
}
@keyframes spin {
  to {
    transform:rotate(360deg)
  }
}
.app-shell {
  display:flex;
  min-height:100dvh
}
.sidebar {
  width:236px;
  position:fixed;
  inset:0 auto 0 0;
  border-right:1px solid var(--line);
  background:#fbfbf8;
  padding:33px 20px 25px;
  display:flex;
  flex-direction:column;
  z-index:5
}
.brand {
  display:flex;
  align-items:center;
  gap:12px;
  padding-left:8px;
  color:var(--ink)
}
.brand:hover {
  text-decoration:none
}
.brand-mark {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  flex-shrink:0;
  width:43px;
  height:45px;
  background:var(--ink);
  border-radius:13px;
  color:#f6f2e7;
  font-size:28px;
  font-weight:bold;
  line-height:1
}
.brand strong {
  display:block;
  font-size:21px;
  letter-spacing:-.7px
}
.brand small {
  display:block;
  font-size:12px;
  color:var(--muted);
  margin-top:2px
}
.nav-caption {
  font-size:10px;
  letter-spacing:1.6px;
  color:#90978e;
  margin:44px 14px 13px;
  font-weight:bold
}
.navigation {
  display:flex;
  flex-direction:column;
  gap:7px
}
.nav-link {
  min-height:49px;
  border-radius:11px;
  padding:12px 14px;
  display:flex;
  align-items:center;
  gap:12px;
  color:#6a756c;
  font-size:14px
}
.nav-link:hover {
  background:#eff2eb;
  text-decoration:none
}
.nav-link.active {
  background:var(--green-soft);
  color:var(--green);
  font-weight:bold
}
.nav-link svg {
  width:19px;
  height:19px
}
.nav-count {
  margin-left:auto;
  font-size:11px;
  min-width:22px;
  text-align:center;
  padding:1px 5px;
  border-radius:6px;
  background:#e1e9df;
  color:var(--green)
}
.sidebar-bottom {
  margin-top:auto;
  padding:25px 12px 0;
  font-size:11px;
  color:var(--muted)
}
.private-label {
  display:flex;
  align-items:center;
  gap:7px
}
.private-dot {
  height:5px;
  width:5px;
  border-radius:50%;
  background:#6f9279
}
.logout-button {
  margin:16px 0 0;
  padding:0;
  background:none;
  border:0;
  color:var(--muted);
  font-size:12px;
  display:flex;
  gap:17px;
  align-items:center;
  min-height:32px
}
.main {
  margin-left:236px;
  width:calc(100% - 236px);
  max-width:1616px;
  padding:39px 44px 22px;
  outline:none
}
.page-header {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  margin-bottom:25px
}
.eyebrow {
  font-size:10px;
  letter-spacing:1.6px;
  font-weight:bold;
  color:var(--gold);
  margin-bottom:9px
}
.page-header h1 {
  font-size:34px;
  line-height:1.2;
  font-weight:600;
  letter-spacing:-1px
}
.page-description {
  font-size:14px;
  color:var(--muted);
  margin-top:9px;
  max-width:650px
}
.header-date {
  display:flex;
  align-items:center;
  gap:15px;
  white-space:nowrap;
  color:var(--muted);
  font-size:13px
}
.icon-button {
  border:1px solid var(--line);
  background:var(--paper);
  border-radius:10px;
  width:38px;
  height:38px;
  display:inline-flex;
  align-items:center;
  justify-content:center
}
.icon-button:hover {
  background:var(--green-soft)
}
.icon-button svg {
  width:18px;
  height:18px
}
.freshness {
  display:flex;
  align-items:flex-start;
  gap:10px;
  color:#786c52;
  background:#f4f0e6;
  border:1px solid #e9e1ce;
  border-radius:11px;
  font-size:12px;
  padding:11px 14px;
  margin-bottom:30px
}
.freshness svg {
  width:17px;
  height:17px;
  margin-top:1px
}
.freshness strong {
  font-weight:600
}
.freshness .freshness-extra {
  color:#928671
}
.page-error {
  padding:15px 18px;
  margin-bottom:20px;
  background:var(--red-soft);
  color:var(--red);
  border-radius:10px
}
.section-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin:30px 0 16px
}
.section-heading:first-child {
  margin-top:0
}
.section-heading h2 {
  font-size:20px;
  font-weight:600;
  letter-spacing:-.3px
}
.section-subtitle {
  font-size:12px;
  color:var(--muted);
  margin-top:4px
}
.text-link {
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:13px;
  font-weight:600
}
.text-link svg {
  width:15px;
  height:15px
}
.button {
  min-height:42px;
  border:1px solid var(--line);
  border-radius:9px;
  padding:10px 15px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-size:13px;
  line-height:1.35;
  background:var(--paper);
  font-weight:600;
  text-decoration:none
}
.button:hover {
  background:#f4f6f0;
  text-decoration:none
}
.button.primary {
  background:var(--green);
  border-color:var(--green);
  color:white
}
.button.primary:hover {
  background:#264b3e
}
.button svg {
  width:16px;
  height:16px
}
.button.soft {
  background:var(--green-soft);
  border-color:var(--green-soft);
  color:var(--green)
}
.button.small {
  min-height:36px;
  padding:8px 12px;
  font-size:12px
}
.button.full {
  width:100%
}
.muted {
  color:var(--muted)
}
.small-text {
  font-size:12px;
  color:var(--muted)
}
.empty-state {
  padding:48px 24px;
  border:1px dashed #d6ded1;
  border-radius:var(--radius);
  text-align:center;
  color:var(--muted);
  background:#fafbf7
}
.empty-state svg {
  margin:0 auto 15px;
  width:29px;
  height:29px;
  color:#9aaa9b
}
.empty-state h3 {
  color:var(--ink);
  font-size:17px;
  margin-bottom:7px
}
.empty-state p {
  font-size:14px;
  max-width:460px;
  margin:auto
}
.empty-state .button {
  margin-top:18px
}
.pill {
  display:inline-flex;
  align-items:center;
  gap:5px;
  font-size:10px;
  line-height:1.4;
  padding:4px 8px;
  border-radius:5px;
  background:#f0f2ec;
  color:#78816f;
  max-width:100%
}
.pill.green {
  background:var(--green-soft);
  color:var(--green)
}
.pill.gold {
  background:var(--gold-soft);
  color:#8c6b31
}
.pill.red {
  background:var(--red-soft);
  color:var(--red)
}
.pill svg {
  width:12px;
  height:12px
}
.card-number {
  font-size:12px;
  color:var(--gold);
  font-variant-numeric:tabular-nums;
  letter-spacing:.5px
}
.today-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:17px
}
.today-card {
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:23px 22px;
  display:flex;
  flex-direction:column;
  box-shadow:var(--shadow)
}
.today-card-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:19px
}
.today-card h3 {
  font-size:20px;
  letter-spacing:-.4px;
  line-height:1.3;
  margin-bottom:11px;
  font-weight:600
}
.today-card p {
  font-size:13px;
  line-height:1.65;
  color:var(--muted);
  margin-bottom:18px
}
.today-card .today-bottom {
  margin-top:auto
}
.today-note {
  font-size:11px;
  color:#8b8e7e;
  min-height:33px;
  margin-bottom:11px;
  line-height:1.5
}
.today-card .button {
  width:100%
}
.today-links {
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  margin:0 0 18px
}
.tiny-link {
  font-size:10px;
  color:var(--green);
  background:var(--green-soft);
  border:0;
  padding:5px 8px;
  border-radius:5px;
  min-height:28px
}
.today-context {
  display:grid;
  grid-template-columns:1.35fr 1fr;
  gap:20px;
  margin-top:24px
}
.context-card {
  background:#edefe7;
  border-radius:var(--radius);
  padding:21px 23px;
  display:flex;
  gap:15px
}
.context-card>svg {
  color:#7f947b;
  width:23px;
  height:23px;
  margin-top:2px
}
.context-card h3 {
  font-size:15px;
  font-weight:600;
  margin-bottom:6px
}
.context-card p {
  font-size:12px;
  color:#75806f;
  line-height:1.65
}
.context-card .text-link {
  margin-top:12px
}
.due-list {
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:20px 23px
}
.due-list h3 {
  font-size:14px;
  font-weight:600;
  margin-bottom:11px
}
.due-row {
  display:flex;
  justify-content:space-between;
  gap:14px;
  padding:10px 0;
  border-top:1px solid #edf0e9;
  font-size:12px
}
.due-row span {
  color:var(--muted);
  white-space:nowrap
}
.due-row button {
  padding:0;
  border:0;
  background:none;
  color:var(--ink);
  text-align:left;
  font-size:12px
}
.due-row button:hover {
  color:var(--green);
  text-decoration:underline
}
.quiet-note {
  font-size:11px;
  color:var(--muted);
  margin-top:9px
}
.toolbar {
  display:flex;
  gap:12px;
  align-items:center;
  margin-bottom:15px
}
.search-box {
  display:flex;
  align-items:center;
  gap:9px;
  max-width:420px;
  flex:1;
  min-width:170px;
  border:1px solid var(--line);
  border-radius:10px;
  background:white;
  padding:0 13px;
  min-height:44px
}
.search-box svg {
  width:17px;
  height:17px;
  color:#96a18f
}
.search-box input {
  font-size:13px;
  flex:1;
  min-width:0;
  border:none;
  background:transparent;
  padding:12px 0;
  color:var(--ink);
  outline:none
}
.search-box:focus-within {
  border-color:#8cad99;
  box-shadow:0 0 0 1px #8cad99
}
.search-box input:focus {
  outline:none
}
.toolbar select {
  background:white;
  border:1px solid var(--line);
  border-radius:10px;
  padding:10px 30px 10px 12px;
  max-width:220px;
  font-size:12px;
  color:#697562;
  min-height:44px
}
.filters {
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-bottom:20px
}
.filter {
  border:1px solid transparent;
  background:transparent;
  padding:8px 12px;
  border-radius:8px;
  color:var(--muted);
  font-size:12px;
  min-height:36px
}
.filter:hover {
  background:#eaf0e4
}
.filter.active {
  background:#e5ece0;
  color:var(--green);
  font-weight:600
}
.filter-count {
  font-size:10px;
  margin-left:5px;
  opacity:.7
}
.list-caption {
  font-size:11px;
  color:var(--muted);
  margin-bottom:12px
}
.request-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:15px
}
.request-card {
  min-width:0;
  overflow-wrap:anywhere;
  background:white;
  border:1px solid var(--line);
  border-radius:15px;
  padding:21px 22px;
  display:flex;
  flex-direction:column;
  transition:border-color .18s,box-shadow .18s
}
.request-card:hover {
  border-color:#c1cdbc;
  box-shadow:var(--shadow)
}
.request-card-header {
  display:flex;
  gap:8px;
  justify-content:space-between;
  align-items:center;
  margin-bottom:12px
}
.request-id {
  font-size:10px;
  color:#939b8d;
  font-variant-numeric:tabular-nums
}
.request-buyer {
  color:var(--muted);
  font-size:12px;
  margin-bottom:4px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap
}
.request-title {
  font-size:16px;
  line-height:1.4;
  font-weight:600;
  margin-bottom:13px;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden
}
.card-stage {
  font-size:12px;
  color:#74816c;
  border-left:2px solid #ccdac3;
  padding-left:10px;
  margin-bottom:15px;
  line-height:1.6;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden
}
.card-next {
  margin-top:auto;
  font-size:12px;
  margin-bottom:13px;
  line-height:1.6;
  color:#687461
}
.card-next strong {
  font-size:10px;
  display:block;
  font-weight:normal;
  color:#9a9f90;
  text-transform:uppercase;
  letter-spacing:.7px;
  margin-bottom:4px
}
.request-meta {
  display:flex;
  justify-content:space-between;
  gap:9px;
  padding-top:12px;
  border-top:1px solid #eef0eb;
  font-size:11px;
  color:var(--muted);
  flex-wrap:wrap
}
.contact-date {
  display:flex;
  gap:5px;
  align-items:center
}
.contact-date svg {
  width:13px;
  height:13px
}
.contact-date.agreed {
  color:var(--green)
}
.contact-date.overdue {
  color:var(--red)
}
.request-footer {
  margin-top:16px;
  display:flex;
  gap:9px;
  align-items:center;
  justify-content:space-between
}
.letter-availability {
  color:var(--muted);
  font-size:11px;
  display:flex;
  align-items:center;
  gap:6px
}
.letter-availability svg {
  width:14px;
  height:14px
}
.feedback-mark {
  font-size:10px;
  color:var(--green);
  display:flex;
  align-items:center;
  gap:5px
}
.opportunity-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:17px
}
.opportunity-card {
  padding:22px;
  background:white;
  border:1px solid var(--line);
  border-radius:var(--radius);
  display:flex;
  flex-direction:column
}
.opportunity-card h3 {
  font-size:17px;
  font-weight:600;
  line-height:1.45;
  margin:13px 0 8px
}
.opportunity-card p {
  font-size:12px;
  color:var(--muted);
  line-height:1.65;
  margin:10px 0
}
.opportunity-card .request-footer {
  margin-top:auto;
  padding-top:16px
}
.opportunity-facts {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  padding:14px 0
}
.opportunity-facts dt {
  font-size:10px;
  color:#919989;
  margin-bottom:3px
}
.opportunity-facts dd {
  font-size:12px;
  margin:0;
  color:#596951
}
.opportunity-kinds {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  margin:0 0 26px
}
.kind-explanation {
  padding:16px;
  border-radius:12px;
  background:#eef0e8;
  font-size:11px;
  line-height:1.6;
  color:#7b8372
}
.kind-explanation strong {
  display:block;
  font-size:12px;
  color:var(--ink);
  margin-bottom:4px
}
.resource-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px
}
.resource-card {
  display:flex;
  align-items:center;
  gap:14px;
  padding:18px;
  border:1px solid var(--line);
  border-radius:13px;
  background:white;
  color:var(--ink);
  min-height:91px
}
.resource-card:hover {
  border-color:#bacbb3;
  text-decoration:none
}
.file-icon {
  width:39px;
  height:45px;
  border-radius:8px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f1f2ea;
  color:#7c8c70;
  flex-shrink:0
}
.file-icon.pdf {
  background:#f9eee9;
  color:#a47157
}
.file-icon.word {
  background:#eaf0f4;
  color:#5b7e90
}
.file-icon.drive {
  background:#eff2e4;
  color:#8a9856
}
.file-icon svg {
  width:20px;
  height:20px
}
.resource-info {
  flex:1;
  min-width:0
}
.resource-info strong {
  display:block;
  font-size:13px;
  line-height:1.5;
  font-weight:600
}
.resource-info small {
  font-size:10px;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.7px;
  display:block;
  margin-top:5px
}
.resource-card>svg {
  width:17px;
  height:17px;
  color:#899780
}
.letter-list {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px
}
.letter-list-card {
  border:1px solid var(--line);
  background:white;
  border-radius:12px;
  padding:18px;
  text-align:left;
  display:flex;
  align-items:flex-start;
  gap:13px
}
.letter-list-card:hover {
  border-color:#bacbb3
}
.letter-list-card>svg {
  width:18px;
  height:18px;
  margin-top:2px;
  color:#91a181
}
.letter-list-card h3 {
  font-size:13px;
  font-weight:600;
  margin-bottom:5px
}
.letter-list-card p {
  font-size:11px;
  color:var(--muted)
}
.technology-card {
  border:1px solid #d6e1ce;
  background:#f1f5ed;
  border-radius:var(--radius);
  padding:23px;
  display:flex;
  align-items:flex-start;
  gap:18px
}
.technology-card>svg {
  color:#82996b;
  width:26px;
  height:26px;
  flex-shrink:0
}
.technology-card h3 {
  font-size:17px;
  line-height:1.4;
  font-weight:600
}
.technology-card p {
  font-size:12px;
  color:#78846f;
  line-height:1.7;
  margin:10px 0 16px
}
.page-footer {
  display:flex;
  justify-content:space-between;
  gap:20px;
  margin-top:44px;
  border-top:1px solid var(--line);
  padding-top:18px;
  font-size:10px;
  color:#90978b
}
.drawer-shell {
  position:fixed;
  inset:0;
  z-index:20;
  display:flex;
  justify-content:flex-end
}
.drawer-backdrop {
  position:absolute;
  inset:0;
  border:0;
  background:#25372c53;
  backdrop-filter:blur(2px)
}
.drawer {
  position:relative;
  width:620px;
  max-width:100%;
  height:100dvh;
  background:var(--page);
  overflow-y:auto;
  overscroll-behavior:contain;
  box-shadow:-10px 0 60px #263b2626;
  outline:none
}
.drawer-header {
  position:sticky;
  top:0;
  z-index:2;
  background:#f5f5f1f5;
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);
  padding:17px 27px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px
}
.drawer-header span {
  font-size:11px;
  color:var(--muted)
}
.drawer-body {
  padding:27px 30px 40px
}
.drawer-body .eyebrow {
  margin-bottom:8px
}
.drawer-body h2 {
  font-size:24px;
  line-height:1.3;
  letter-spacing:-.5px;
  margin-bottom:11px;
  font-weight:600;
  overflow-wrap:anywhere
}
.drawer-buyer {
  font-size:13px;
  color:var(--muted);
  margin-bottom:22px
}
.detail-section {
  border-top:1px solid var(--line);
  padding-top:21px;
  margin-top:23px
}
.detail-section h3 {
  font-size:15px;
  font-weight:600;
  margin-bottom:12px
}
.detail-section p {
  font-size:13px;
  line-height:1.75;
  overflow-wrap:anywhere
}
.detail-section .small-text {
  font-size:11px
}
.detail-source {
  background:#ecefe5;
  padding:15px;
  border-radius:10px;
  margin-top:11px;
  font-size:11px;
  line-height:1.65;
  color:#7a8572;
  overflow-wrap:anywhere
}
.detail-source a {
  display:inline-block;
  margin-top:7px
}
.detail-facts {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  margin-top:17px
}
.detail-facts dt {
  font-size:10px;
  color:var(--muted);
  margin-bottom:3px
}
.detail-facts dd {
  font-size:13px;
  margin:0;
  line-height:1.6;
  overflow-wrap:anywhere
}
.detail-list {
  padding-left:19px;
  margin:8px 0;
  font-size:12px;
  color:#677661;
  line-height:1.75
}
.detail-list li {
  margin-bottom:5px
}
.contact-block {
  background:#fff;
  border:1px solid var(--line);
  padding:14px;
  border-radius:10px;
  margin-top:10px
}
.contact-block p {
  font-size:12px
}
.contact-links {
  display:flex;
  flex-wrap:wrap;
  gap:8px 18px;
  margin-top:8px;
  font-size:13px
}
.contact-links a {
  overflow-wrap:anywhere
}
.field {
  margin-bottom:15px
}
.field label {
  display:block;
  font-size:12px;
  font-weight:600;
  margin-bottom:7px
}
.field input,.field select,.field textarea {
  width:100%;
  background:white;
  border:1px solid #d5ded0;
  border-radius:9px;
  padding:11px 12px;
  color:var(--ink);
  font-size:13px;
  min-height:43px
}
.field textarea {
  min-height:103px;
  resize:vertical
}
.field-hint {
  font-size:10px;
  color:var(--muted);
  margin-top:5px;
  line-height:1.6
}
.two-fields {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px
}
.feedback-options {
  display:flex;
  gap:6px;
  margin:4px 0 18px
}
.feedback-option {
  flex:1;
  position:relative
}
.feedback-option input {
  position:absolute;
  opacity:0;
  pointer-events:none
}
.feedback-option span {
  display:flex;
  justify-content:center;
  align-items:center;
  gap:6px;
  border:1px solid var(--line);
  border-radius:8px;
  background:white;
  padding:10px 7px;
  font-size:12px;
  cursor:pointer;
  min-height:42px
}
.feedback-option input:checked+span {
  background:var(--green-soft);
  border-color:#9cb495;
  color:var(--green);
  font-weight:bold
}
.feedback-option input:focus-visible+span {
  outline:3px solid #b2c8b9;
  outline-offset:2px
}
.feedback-option svg {
  width:14px;
  height:14px
}
.form-buttons {
  display:flex;
  align-items:center;
  gap:12px
}
.save-status {
  font-size:11px;
  color:var(--muted)
}
.form-error {
  font-size:12px;
  color:var(--red);
  margin:10px 0
}
.letter-box {
  background:white;
  border:1px solid var(--line);
  border-radius:12px;
  padding:18px;
  margin-top:13px
}
.letter-subject {
  font-size:13px;
  font-weight:bold;
  line-height:1.5;
  margin:6px 0 15px
}
.letter-to {
  font-size:11px;
  color:var(--muted);
  line-height:1.6
}
.letter-body {
  white-space:pre-wrap;
  font-size:13px;
  line-height:1.8;
  overflow-wrap:anywhere
}
.letter-actions {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:16px 0 0
}
.history {
  padding:0;
  margin:0;
  list-style:none
}
.history li {
  padding:0 0 16px 17px;
  position:relative;
  border-left:1px solid #d7dfd0;
  font-size:12px;
  line-height:1.65;
  overflow-wrap:anywhere
}
.history li:last-child {
  padding-bottom:0
}
.history li:before {
  content:"";
  position:absolute;
  left:-3px;
  top:6px;
  height:5px;
  width:5px;
  border-radius:50%;
  background:#a5b29b
}
.history time {
  display:block;
  font-size:10px;
  color:var(--muted);
  margin-bottom:3px
}
.toast {
  position:fixed;
  bottom:28px;
  left:50%;
  transform:translateX(-50%);
  z-index:30;
  background:#263b31;
  color:#fff;
  padding:13px 20px;
  border-radius:10px;
  font-size:13px;
  max-width:90vw;
  box-shadow:0 6px 30px #21342b30
}
.login-screen {
  min-height:100dvh;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:35px 22px;
  background:radial-gradient(ellipse at 25% 30%,#eef0e6 0,transparent 60%),var(--page)
}
.login-brand {
  display:flex;
  align-items:center;
  gap:11px;
  font-size:22px;
  font-weight:bold;
  letter-spacing:-.6px;
  margin-bottom:35px
}
.login-card {
  background:white;
  border:1px solid var(--line);
  border-radius:22px;
  padding:35px;
  width:440px;
  max-width:100%;
  box-shadow:0 16px 60px #37483008
}
.login-symbol {
  width:45px;
  height:45px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--green-soft);
  border-radius:13px;
  color:var(--green);
  margin-bottom:25px
}
.login-symbol svg {
  width:23px;
  height:23px
}
.login-card h1 {
  font-size:27px;
  letter-spacing:-.7px;
  line-height:1.3;
  font-weight:600
}
.login-description {
  font-size:13px;
  color:var(--muted);
  margin:15px 0 29px;
  line-height:1.75
}
.login-card label {
  font-size:12px;
  display:block;
  font-weight:bold;
  margin-bottom:8px
}
.password-field {
  display:flex;
  align-items:center;
  border:1px solid #d4ddcd;
  border-radius:9px;
  overflow:hidden;
  background:#fcfdf9
}
.password-field:focus-within {
  outline:2px solid #9fb895
}
.password-field input {
  min-width:0;
  flex:1;
  border:0;
  background:none;
  padding:12px 13px;
  min-height:46px;
  font-size:16px
}
.password-field input:focus {
  outline:none
}
.password-field button {
  border:0;
  background:none;
  padding:12px 13px;
  color:var(--muted);
  font-size:11px
}
.login-submit {
  width:100%;
  margin-top:18px;
  justify-content:space-between;
  min-height:45px
}
.login-footnote {
  font-size:10px;
  text-align:center;
  color:#97a08f;
  margin-top:24px
}
.login-bottom {
  font-size:10px;
  color:#919988;
  text-align:center;
  margin-top:30px
}
@media(min-width:1650px) {
  .main {
    padding-left:60px;
    padding-right:60px
  }
  .today-card {
    padding:27px
  }
  .today-card h3 {
    font-size:23px
  }
}
@media(max-width:1200px) {
  .sidebar {
    width:210px;
    padding-left:14px;
    padding-right:14px
  }
  .main {
    margin-left:210px;
    width:calc(100% - 210px);
    padding:32px 28px 22px
  }
  .today-grid {
    gap:12px
  }
  .today-card {
    padding:18px
  }
  .today-card h3 {
    font-size:18px
  }
  .today-context {
    grid-template-columns:1fr 1fr
  }
  .request-card {
    padding:18px
  }
  .header-date {
    font-size:11px;
    gap:8px
  }
}
@media(max-width:1000px) {
  .today-grid {
    grid-template-columns:1fr
  }
  .today-card {
    display:grid;
    grid-template-columns:1fr auto;
    column-gap:25px;
    padding:21px
  }
  .today-card-top {
    grid-column:1/-1;
    margin-bottom:11px
  }
  .today-card h3 {
    font-size:20px
  }
  .today-card p {
    grid-column:1;
    margin-bottom:0
  }
  .today-links {
    grid-column:1;
    margin-top:13px;
    margin-bottom:0
  }
  .today-bottom {
    grid-column:2;
    grid-row:2/5;
    width:165px;
    align-self:end
  }
  .today-note {
    min-height:0
  }
  .today-context {
    grid-template-columns:1fr
  }
  .page-header {
    align-items:flex-start
  }
  .header-date #current-date {
    display:none
  }
  .opportunity-kinds {
    gap:8px
  }
  .kind-explanation {
    padding:12px
  }
  .opportunity-grid {
    grid-template-columns:1fr
  }
  .resource-grid,.letter-list {
    grid-template-columns:1fr
  }
}
@media(max-width:760px) {
  :root {
    font-size:16px
  }
  .sidebar {
    inset:auto 0 0;
    width:100%;
    height:75px;
    padding:0 8px max(7px,env(safe-area-inset-bottom));
    background:#fcfcf9f7;
    backdrop-filter:blur(10px);
    border-right:0;
    border-top:1px solid var(--line)
  }
  .sidebar>.brand,.nav-caption,.sidebar-bottom {
    display:none
  }
  .navigation {
    height:100%;
    flex-direction:row;
    align-items:center;
    justify-content:space-around;
    gap:3px
  }
  .nav-link {
    width:25%;
    min-height:55px;
    padding:8px 2px;
    flex-direction:column;
    gap:4px;
    font-size:10px;
    border-radius:10px;
    position:relative
  }
  .nav-link svg {
    width:20px;
    height:20px
  }
  .nav-count {
    position:absolute;
    top:3px;
    right:18%;
    padding:1px 4px;
    font-size:8px;
    min-width:15px;
    line-height:1.4
  }
  .main {
    margin-left:0;
    width:100%;
    padding:25px 19px 100px
  }
  .page-header {
    gap:10px;
    margin-bottom:21px
  }
  .page-header h1 {
    font-size:31px
  }
  .page-description {
    font-size:13px;
    line-height:1.6;
    margin-top:8px
  }
  .eyebrow {
    font-size:9px;
    margin-bottom:8px
  }
  .header-date {
    padding-top:25px
  }
  .freshness {
    font-size:11px;
    padding:10px 12px;
    margin-bottom:25px;
    line-height:1.6
  }
  .freshness-extra {
    display:none
  }
  .section-heading {
    margin-top:26px
  }
  .section-heading h2 {
    font-size:19px
  }
  .section-subtitle {
    font-size:11px
  }
  .text-link {
    font-size:12px
  }
  .today-grid {
    gap:12px
  }
  .today-card {
    display:flex;
    padding:21px;
    border-radius:15px
  }
  .today-card-top {
    margin-bottom:15px
  }
  .today-card h3 {
    font-size:21px;
    margin-bottom:9px;
    max-width:290px
  }
  .today-card p {
    font-size:13px;
    margin-bottom:16px
  }
  .today-bottom {
    width:auto;
    margin-top:0!important;
    align-self:stretch
  }
  .today-note {
    font-size:11px;
    margin-bottom:12px
  }
  .today-links {
    margin-top:0;
    margin-bottom:16px
  }
  .today-card .button {
    min-height:43px
  }
  .context-card {
    padding:20px;
    gap:12px
  }
  .due-list {
    padding:20px
  }
  .toolbar {
    flex-wrap:wrap;
    gap:9px
  }
  .search-box {
    flex-basis:100%;
    max-width:none
  }
  .search-box input {
    font-size:14px
  }
  .toolbar select {
    font-size:12px;
    max-width:100%;
    flex:1
  }
  .filters {
    gap:4px;
    margin-bottom:17px
  }
  .filter {
    font-size:11px;
    padding:8px 10px
  }
  .request-grid {
    grid-template-columns:minmax(0,1fr);
    gap:12px
  }
  .request-card {
    padding:20px
  }
  .request-title {
    font-size:17px;
    -webkit-line-clamp:3
  }
  .request-buyer {
    font-size:12px
  }
  .card-stage {
    font-size:13px
  }
  .card-next {
    font-size:13px
  }
  .request-meta {
    font-size:11px
  }
  .request-footer .button {
    min-height:40px
  }
  .opportunity-kinds {
    grid-template-columns:1fr;
    gap:8px;
    margin-bottom:20px
  }
  .kind-explanation {
    padding:13px 15px;
    font-size:11px
  }
  .kind-explanation strong {
    margin-bottom:2px
  }
  .opportunity-card {
    padding:20px
  }
  .opportunity-card h3 {
    font-size:18px
  }
  .opportunity-card p {
    font-size:13px
  }
  .resource-card {
    padding:16px
  }
  .resource-info strong {
    font-size:14px
  }
  .letter-list-card {
    padding:18px
  }
  .letter-list-card h3 {
    font-size:14px
  }
  .technology-card {
    padding:20px;
    gap:13px
  }
  .technology-card h3 {
    font-size:16px
  }
  .technology-card p {
    font-size:13px
  }
  .page-footer {
    flex-direction:column;
    gap:5px;
    font-size:10px;
    margin-top:32px
  }
  .drawer {
    width:100%;
    border-radius:0
  }
  .drawer-header {
    padding:13px 19px
  }
  .drawer-body {
    padding:23px 22px 38px
  }
  .drawer-body h2 {
    font-size:23px
  }
  .drawer-body p,.letter-body {
    font-size:14px
  }
  .drawer-body .small-text {
    font-size:11px
  }
  .drawer-body .detail-source {
    font-size:11px
  }
  .field input,.field select,.field textarea {
    font-size:16px
  }
  .two-fields {
    grid-template-columns:1fr;
    gap:0
  }
  .feedback-options {
    gap:5px
  }
  .feedback-option span {
    font-size:12px;
    min-height:45px
  }
  .drawer .button {
    min-height:44px
  }
  .toast {
    bottom:90px;
    font-size:12px;
    white-space:normal;
    width:max-content
  }
  .login-card {
    padding:27px
  }
  .login-brand {
    margin-bottom:25px
  }
  .login-card h1 {
    font-size:26px
  }
  .login-description {
    font-size:14px
  }
}
@media(prefers-reduced-motion:reduce) {
  * {
    animation:none!important;
    scroll-behavior:auto!important;
    transition:none!important
  }
}
.feedback-clear {
  display: inline-flex;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 11px;
  padding: 0 0 13px;
}
.conflict-refresh {
  display: flex;
  margin-top: 12px;
  color: var(--ink);
}
.logout-mobile {
  margin-top: 28px;
}
.contact-links svg {
  display: inline;
  width: 11px;
  height: 11px;
  margin-left: 4px;
}
.today-details {
  grid-column: 1;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 18px;
}
.today-details summary {
  cursor: pointer;
  color: var(--green);
  padding: 4px 0;
}
.today-details p {
  font-size: 12px;
  margin-top: 8px;
  margin-bottom: 0;
}
/* Clear daily workflow, with section dates kept available on demand. */
.freshness { display:block; background:transparent; border:0; border-bottom:1px solid var(--line); border-radius:0; color:var(--muted); padding:0 0 16px; margin-bottom:27px; }
.freshness-line { display:flex; align-items:center; flex-wrap:wrap; gap:8px 12px; font-size:12px; }
.freshness-line svg { color:var(--green); margin:0; }
.freshness-line strong { color:var(--green); font-size:13px; }
.freshness-line > .text-link { margin-left:auto; }
.freshness-details { margin-top:8px; font-size:11px; }
.freshness-details summary { cursor:pointer; color:var(--muted); width:fit-content; }
.date-list { margin-top:12px; padding:14px 17px; border:1px solid var(--line); border-radius:12px; background:var(--paper); }
.date-row { display:flex; justify-content:space-between; gap:20px; padding:8px 0; border-bottom:1px solid #edf0e9; font-size:12px; }
.date-row:last-of-type { border-bottom:0; }
.date-row strong { font-weight:500; color:var(--ink); }
.date-row span { color:var(--muted); text-align:right; }
.text-link:not(.button) { border:0; background:transparent; padding:4px 0; text-align:left; }
.today-card { display:flex; }
.today-card > p { font-size:14px; line-height:1.65; }
.today-card .today-bottom { width:auto; align-self:stretch; }
.today-card .today-links { margin-top:0; }
.today-card .today-links .tiny-link { display:inline-flex; align-items:center; gap:6px; font-size:12px; padding:6px 8px; }
.tiny-link svg { width:14px; height:14px; }
.today-details p { font-size:13px; }
.today-work-panels { display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-top:26px; }
.work-panel { background:var(--paper); border:1px solid var(--line); border-radius:15px; padding:21px; }
.work-panel .section-heading { margin:0 0 10px; align-items:flex-start; }
.work-panel .section-heading h2 { font-size:17px; }
.work-panel .section-subtitle { line-height:1.5; }
.work-row { width:100%; display:flex; justify-content:space-between; align-items:center; gap:14px; padding:12px 0; background:none; border:0; border-top:1px solid #edf0e9; text-align:left; min-height:62px; }
.work-row > span { min-width:0; }
.work-row strong { display:block; font-size:14px; font-weight:600; }
.work-row small { display:block; font-size:12px; line-height:1.5; color:var(--muted); margin-top:3px; }
.work-row > svg { width:16px; height:16px; color:#91a18f; }
.work-row:hover strong { color:var(--green); }
.contact-panel { margin-top:20px; }
.request-group { margin-top:26px; }
.request-group:first-of-type { margin-top:18px; }
.request-group .section-heading h2 { font-size:18px; }
.request-title { font-size:18px; }
.request-buyer { font-size:13px; }
.card-stage, .card-next { font-size:13px; }
.card-user-note { background:var(--green-soft); border-radius:8px; padding:10px 12px; color:#4d6659; font-size:12px; margin-bottom:13px; line-height:1.6; }
.card-user-note strong { display:block; font-size:10px; font-weight:500; color:var(--green); margin-bottom:3px; }
.your-mark { font-size:11px; color:var(--green); }
.source-label { font-size:11px; color:var(--muted); }
.opportunity-card { min-width:0; overflow-wrap:anywhere; }
.opportunity-card .request-card-header { flex-wrap:wrap; }
.opportunity-card .source-label { min-width:0; }
.opportunity-facts { grid-template-columns:repeat(2,minmax(0,1fr)); }
.opportunity-facts > div { min-width:0; }
.request-meta:empty { display:none; }
.opportunity-guide { margin-bottom:20px; font-size:13px; color:var(--muted); }
.opportunity-guide summary { cursor:pointer; }
.opportunity-guide .opportunity-kinds { margin-top:12px; margin-bottom:0; }
.opportunity-card .payment-line { font-size:12px; line-height:1.6; }
.letter-card { background:white; border:1px solid var(--line); border-radius:14px; padding:21px; display:flex; flex-direction:column; }
.letter-card-heading { display:flex; align-items:flex-start; gap:12px; }
.letter-card-heading > svg { width:19px; height:19px; color:var(--green); margin-top:2px; }
.letter-card h3 { font-size:16px; line-height:1.45; font-weight:600; }
.letter-card-heading .small-text { margin-bottom:5px; }
.letter-card-subject { font-size:12px; color:var(--muted); line-height:1.6; margin:11px 0 18px; }
.letter-card-actions { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; margin-top:auto; }
.material-toolbar .search-box { max-width:600px; }
.resource-info strong { font-size:14px; }
.technology-fold, .source-dates-panel, .source-details { border:1px solid var(--line); background:#fafbf8; border-radius:12px; margin-top:26px; padding:16px 18px; }
.technology-fold > summary, .source-dates-panel > summary, .source-details > summary { font-size:14px; font-weight:600; cursor:pointer; color:var(--green); }
.technology-fold .technology-card { margin-top:14px; }
.source-details > .detail-section:first-of-type { border:0; margin-top:16px; padding-top:0; }
.source-details .history { margin-top:20px; }
.drawer-quick-actions { display:flex; gap:9px; flex-wrap:wrap; margin:0 0 24px; }
.drawer-body h4 { font-size:14px; margin:20px 0 6px; font-weight:600; }
.current-stage { font-weight:600; color:var(--green); margin-bottom:9px; }
.saved-note { background:var(--green-soft); border-radius:10px; padding:14px 16px; margin-top:18px; font-size:13px; }
.saved-note > strong { color:var(--green); font-weight:600; font-size:12px; }
.saved-note p { margin-top:6px; white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.65; }
#request-result, #request-letters { scroll-margin-top:84px; }
.updates-preview { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.updates-list { display:grid; gap:13px; }
.update-card { background:var(--paper); border:1px solid var(--line); border-radius:13px; padding:18px; min-width:0; }
.update-meta { display:flex; align-items:center; flex-wrap:wrap; gap:8px; color:var(--muted); font-size:11px; margin-bottom:11px; }
.update-title { padding:0; border:0; background:transparent; text-align:left; color:var(--ink); font-size:14px; font-weight:600; line-height:1.5; }
.update-title:hover { color:var(--green); }
.update-card > p { font-size:13px; line-height:1.65; color:var(--muted); margin-top:9px; }
.release-note { display:flex; align-items:flex-start; gap:18px; background:var(--green-soft); padding:23px; border-radius:15px; }
.release-note > svg { color:var(--green); margin-top:3px; }
.release-note h3 { font-size:18px; font-weight:600; }
.release-note p { font-size:14px; color:#617565; line-height:1.65; margin:8px 0 15px; max-width:650px; }
.nav-link { font-size:14px; min-height:52px; }
@media(max-width:1200px) {
  .today-work-panels { grid-template-columns:1fr; }
  .updates-preview { grid-template-columns:1fr; }
}
@media(max-width:760px) {
  .navigation .nav-link { width:20%; font-size:10px; gap:5px; padding:8px 1px; min-height:58px; line-height:1.2; text-align:center; }
  .navigation .nav-link > span { max-width:70px; }
  .main { padding-left:18px; padding-right:18px; }
  .page-header h1 { font-size:29px; }
  .page-description { font-size:14px; }
  .freshness { margin-bottom:24px; padding-bottom:14px; }
  .freshness-line { font-size:12px; gap:8px; }
  .freshness-line > span { display:none; }
  .freshness-line > .text-link { font-size:11px; }
  .freshness-details { font-size:11px; }
  .date-row { flex-direction:column; gap:3px; }
  .date-row span { text-align:left; }
  .today-card { padding:21px; }
  .today-card > p { font-size:14px; }
  .today-note, .today-details { font-size:12px; }
  .today-work-panels { margin-top:20px; gap:14px; }
  .work-panel { padding:19px; }
  .work-panel .section-heading h2 { font-size:17px; }
  .work-row strong { font-size:15px; }
  .work-row small { font-size:13px; }
  .section-subtitle, .list-caption { font-size:12px; line-height:1.6; }
  .card-stage, .card-next { font-size:14px; }
  .request-buyer { font-size:13px; }
  .request-title { font-size:18px; }
  .request-footer { gap:10px; }
  .request-footer .text-link { font-size:13px; }
  .letter-card { padding:19px; }
  .letter-card h3 { font-size:16px; }
  .letter-card-subject { font-size:13px; }
  .update-card > p { font-size:14px; }
  .update-title { font-size:15px; }
  .release-note { padding:20px; gap:13px; }
  .release-note p { font-size:14px; }
  .filter { font-size:12px; min-height:40px; }
  .drawer .source-details { padding:15px; }
}
/* Separate marketplace and industry editions. */
.review-intro { margin-bottom:20px; max-width:940px; }
.review-intro > p:first-child { font-size:15px; line-height:1.7; color:#5d7065; }
.review-intro .review-run { color:var(--muted); font-size:12px; margin-top:9px; }
.review-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-bottom:20px; }
.review-stat { background:var(--paper); border:1px solid var(--line); border-radius:13px; padding:17px 20px; text-align:left; display:flex; flex-direction:column; gap:4px; min-width:0; }
.review-stat:hover { border-color:#9db59f; background:#fbfcf8; }
.review-stat strong { font-size:30px; line-height:1.2; font-weight:600; color:var(--green); }
.review-stat span { color:var(--muted); font-size:13px; }
.coverage-panel { padding:14px 17px; border:1px solid var(--line); border-radius:12px; background:#f0f3ec; margin:0 0 24px; }
.coverage-panel > summary { cursor:pointer; font-size:13px; color:var(--green); }
.coverage-panel > summary > span:first-child { font-weight:600; }
.coverage-counts { display:inline-block; color:var(--muted); font-size:11px; margin-left:14px; }
.coverage-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:15px; }
.coverage-source { min-width:0; background:var(--paper); border:1px solid var(--line); padding:15px; border-radius:10px; overflow-wrap:anywhere; }
.coverage-source-top { display:flex; justify-content:space-between; align-items:flex-start; gap:10px; margin-bottom:6px; }
.coverage-source-top strong { font-size:14px; }
.coverage-source-top .pill { flex-shrink:0; }
.coverage-source > p:not(.small-text) { font-size:13px; line-height:1.65; margin:8px 0; color:#6b776d; }
.market-toolbar { flex-wrap:wrap; }
.market-toolbar .search-box { max-width:none; flex-basis:100%; }
.market-toolbar select { flex:1; min-width:0; max-width:none; }
.review-honest-note { background:#eef2e9; border-radius:9px; padding:11px 14px; color:#62735e; font-size:13px; margin:0 0 17px; }
.industry-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.industry-card { background:var(--paper); border:1px solid var(--line); border-radius:15px; padding:23px; display:flex; flex-direction:column; min-width:0; overflow-wrap:anywhere; }
.industry-card h3 { font-size:20px; line-height:1.4; font-weight:600; margin:8px 0 13px; }
.publication-meta { font-size:12px!important; line-height:1.6; color:var(--muted); }
.review-summary { font-size:14px; color:#69766d; line-height:1.7; margin-bottom:15px; }
.review-application { border-left:2px solid #b8cbb5; padding-left:12px; margin:12px 0; }
.review-application > strong, .review-next > strong { display:block; font-size:12px; font-weight:600; color:var(--green); margin-bottom:4px; }
.review-application > p, .review-next > p { font-size:14px!important; line-height:1.7; color:#657362; }
.review-next { margin:12px 0; }
.review-checked { color:var(--muted); font-size:11px!important; line-height:1.6; margin:15px 0 0; }
.market-card h3 { margin-top:6px; }
.market-card .publication-meta { margin-bottom:8px; }
.market-card .review-application { margin-top:14px; }
.market-card .payment-line { margin:5px 0; }
.market-card .opportunity-facts { border-top:1px solid #edf0e9; border-bottom:1px solid #edf0e9; margin:10px 0; gap:16px; }
.market-card .opportunity-facts dd { font-size:13px; line-height:1.6; }
.market-card .request-buyer { white-space:normal; }
.review-caveats { font-size:12px; margin:12px 0; color:var(--muted); }
.review-caveats summary { cursor:pointer; color:var(--green); }
.industry-card .request-footer, .market-card .request-footer { margin-top:auto; padding-top:18px; flex-wrap:wrap; }
.linked-request { font-size:12px; margin-top:10px; align-self:flex-start; }
.review-teasers { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin:24px 0 0; }
.review-teaser { display:flex; align-items:center; gap:14px; padding:19px; border:1px solid #d9e3d3; border-radius:13px; background:#edf2e9; text-align:left; min-width:0; }
.review-teaser > svg { width:21px; height:21px; color:var(--green); }
.review-teaser > svg:last-child { margin-left:auto; width:17px; height:17px; }
.review-teaser > span { min-width:0; }
.review-teaser strong { display:block; font-size:16px; font-weight:600; color:var(--ink); }
.review-teaser small { display:block; font-size:12px; line-height:1.6; color:#74816b; margin-top:4px; }
.review-teaser:hover { background:#e7efdf; border-color:#becfb4; }
.today-grid, .request-grid, .opportunity-grid, .resource-grid, .letter-list, .updates-preview, .industry-grid, .review-teasers, .review-stats { min-width:0; }
.today-grid > *, .request-grid > *, .opportunity-grid > *, .resource-grid > *, .letter-list > *, .updates-preview > *, .industry-grid > *, .review-teasers > *, .review-stats > * { min-width:0; }
@media(max-width:1000px) {
  .industry-grid, .coverage-list { grid-template-columns:minmax(0,1fr); }
}
@media(max-width:760px) {
  .navigation { gap:1px; }
  .navigation .nav-link { width:16.666%; flex:1 1 0; min-width:0; font-size:9px; padding-left:0; padding-right:0; }
  .navigation .nav-link > span { max-width:61px; overflow-wrap:anywhere; }
  .navigation .nav-link svg { width:19px; height:19px; }
  .review-stats { gap:8px; }
  .review-stat { padding:15px 12px; }
  .review-stat strong { font-size:27px; }
  .review-stat span { font-size:11px; }
  .coverage-panel { padding:13px 14px; }
  .coverage-counts { display:block; margin:5px 0 0 13px; font-size:11px; line-height:1.5; }
  .coverage-source-top { flex-wrap:wrap; }
  .review-teasers { grid-template-columns:minmax(0,1fr); gap:11px; margin-top:20px; }
  .review-teaser { padding:17px; }
  .industry-card { padding:20px; }
  .industry-card h3 { font-size:19px; }
  .publication-meta { font-size:12px!important; }
  .review-intro > p:first-child { font-size:14px; }
  .review-application > p, .review-next > p { font-size:14px!important; }
}

/* Business findings live in the relevant section, alongside the next action. */
.insight-tabs { margin:0 0 24px; border-bottom:1px solid var(--line); padding-bottom:15px; }
.insight-tabs .filter { min-height:40px; }
.insight-lead { margin:22px 0 26px; padding:22px 25px; border:1px solid #d8e3d3; border-radius:14px; background:#edf2e9; min-width:0; }
.insight-lead-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.insight-lead h2 { font-size:21px; font-weight:600; margin:12px 0 8px; }
.insight-lead > p { font-size:14px; line-height:1.8; color:#526952; max-width:950px; }
.insight-lead .insight-fold { margin-top:16px; }
.insight-grid, .metric-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; min-width:0; }
.insight-card { padding:22px; border:1px solid var(--line); background:var(--paper); border-radius:13px; min-width:0; overflow-wrap:anywhere; display:flex; flex-direction:column; align-items:flex-start; }
.insight-card h3 { font-size:19px; line-height:1.4; font-weight:600; margin:4px 0 12px; }
.insight-card > .pill { margin-bottom:10px; }
.insight-card > p { font-size:14px; line-height:1.75; color:#657362; }
.insight-card > .text-link { margin-top:15px; font-size:12px; }
.insight-card .review-next, .insight-card .review-application { width:100%; }
.insight-caution { border-top:1px solid #e8ece4; margin-top:13px; padding-top:13px; font-size:12px!important; line-height:1.7; color:#7b745e!important; }
.insight-evidence { margin-top:14px; font-size:12px; line-height:1.65; width:100%; }
.insight-evidence > summary, .insight-fold > summary { cursor:pointer; color:var(--green); }
.insight-evidence .detail-list { margin-top:10px; }
.insight-fold > summary { font-size:14px; font-weight:500; }
.insight-fold[open] > summary { margin-bottom:17px; }
.standalone-fold { margin:25px 0; padding:20px; background:#f1f4ed; border:1px solid var(--line); border-radius:13px; min-width:0; }
.standalone-fold > .section-subtitle { margin-bottom:17px; }
.insight-intro { font-size:14px; line-height:1.8; color:var(--muted); max-width:920px; margin:-3px 0 23px; }
.insight-source-links { display:flex; gap:15px; flex-wrap:wrap; margin-top:15px; font-size:12px; }
.repeat-candidate .request-footer { width:100%; margin-top:auto; padding-top:20px; flex-wrap:wrap; }
.repeat-item { font-weight:500; color:var(--green)!important; }
.candidate-question { font-size:14px; line-height:1.75; padding:13px 16px; background:#eef3e9; border-left:2px solid #adc3a7; border-radius:0 8px 8px 0; margin:10px 0; width:100%; }
.metric-grid { margin-bottom:18px; }
.metric-card { padding:22px; background:var(--paper); border:1px solid var(--line); border-radius:13px; min-width:0; overflow-wrap:anywhere; }
.metric-card h3 { font-size:15px; font-weight:500; margin-bottom:13px; }
.metric-value { display:block; font-size:23px; font-weight:500; color:#76806e; margin-bottom:10px; }
.metric-card > p { font-size:13px; line-height:1.7; color:var(--muted); }
.metric-card > .small-text { font-size:11px; margin-top:8px; }
.work-shortcuts { display:flex; flex-wrap:wrap; gap:16px 25px; padding:18px 0 3px; font-size:13px; }
.home-overviews { margin:25px 0; }
.home-overviews .review-teasers { margin-top:0; }
.log-more { margin:20px 0 6px; }
.navigation .nav-link-service { margin-top:20px; border-top:1px solid var(--line); border-radius:0 0 10px 10px; }
@media(max-width:1000px) { .insight-grid { grid-template-columns:minmax(0,1fr); } }
@media(max-width:760px) {
  .navigation .nav-link-service { margin-top:0; border-top:0; border-radius:0; }
  .insight-tabs { gap:7px; }
  .insight-tabs .filter { font-size:12px; }
  .insight-lead { padding:19px; margin:20px 0; }
  .insight-lead h2 { font-size:20px; }
  .insight-grid, .metric-grid { grid-template-columns:minmax(0,1fr); gap:13px; }
  .insight-card, .metric-card { padding:19px; }
  .standalone-fold { padding:18px; }
}

/* Compact information feeds. Full text and conditions open from the row. */
.feed-list { border:1px solid var(--line); border-radius:10px; background:var(--paper); overflow:hidden; min-width:0; }
.feed-row { display:grid; grid-template-columns:minmax(0,1fr) 145px; gap:18px; padding:13px 16px; border-bottom:1px solid var(--line); min-width:0; }
.feed-row:last-child { border-bottom:0; }
.feed-row:hover { background:#fafbf6; }
.feed-main { min-width:0; }
.feed-main h3 { margin:2px 0 4px; font-size:15px; line-height:1.45; font-weight:500; }
.feed-title { border:0; padding:0; background:transparent; text-align:left; color:var(--ink); font-size:inherit; line-height:inherit; font-weight:600; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.feed-title:hover { color:var(--green); text-decoration:underline; }
.feed-meta { font-size:11px; line-height:1.5; color:var(--muted); margin:3px 0; overflow-wrap:anywhere; }
.feed-summary { font-size:13px; line-height:1.55; color:#667266; margin-top:4px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.feed-note { font-size:12px; line-height:1.5; color:#798272; margin-top:4px; display:-webkit-box; -webkit-line-clamp:1; -webkit-box-orient:vertical; overflow:hidden; }
.feed-aside { display:flex; flex-direction:column; align-items:flex-end; gap:6px; text-align:right; font-size:12px; line-height:1.5; min-width:0; }
.feed-aside .pill { font-size:10px; padding:3px 7px; max-width:100%; }
.feed-deadline { color:var(--ink); font-size:12px; font-weight:500; }
.row-action { display:inline-flex; gap:5px; align-items:center; border:0; background:none; padding:0; color:var(--green); font-size:12px; line-height:1.5; }
.row-action svg { width:13px; height:13px; }
.row-action:hover { text-decoration:underline; }
.data-stamp { font-size:12px; color:var(--muted); line-height:1.5; }
.freshness { margin-bottom:16px; padding-bottom:0; border-bottom:0; }
.coverage-panel { padding:9px 12px; margin-bottom:13px; }
.coverage-panel > summary { font-size:12px; }
.compact-toolbar { gap:10px; margin-bottom:12px; flex-wrap:nowrap; }
.compact-toolbar .search-box { flex:1; max-width:none; min-width:0; }
.compact-toolbar select { width:190px; min-width:0; max-width:40%; }
.compact-filters { margin-bottom:12px; gap:7px; }
.compact-filters .filter { padding:7px 11px; font-size:12px; min-height:34px; }
.list-caption { margin-bottom:9px; font-size:12px; }
.request-group > .section-heading { margin-top:18px; margin-bottom:10px; }
.request-group > .section-heading h2 { font-size:16px; }
.letter-list { grid-template-columns:minmax(0,1fr); gap:9px; }
.letter-card { padding:14px 16px; }
.letter-card h3 { font-size:15px; }
.letter-card-subject { margin:7px 0; font-size:12px; }
.letter-card-actions { margin-top:9px; }
.update-card { padding:14px 16px; }
.update-card > p { font-size:13px; }
@media(max-width:760px) {
  .navigation .nav-link { width:20%; font-size:10px; }
  .feed-row { grid-template-columns:minmax(0,1fr) 104px; gap:12px; padding:12px; }
  .feed-main h3 { font-size:14px; }
  .feed-summary { font-size:12px; }
  .feed-meta { font-size:10px; }
  .feed-note { font-size:11px; }
  .feed-aside, .feed-deadline { font-size:11px; }
  .compact-toolbar { flex-wrap:wrap; }
  .compact-toolbar .search-box { flex-basis:100%; }
  .compact-toolbar select { width:100%; max-width:none; }
  .coverage-counts { display:inline; margin-left:8px; }
  .compact-filters .filter { font-size:11px; padding:7px 9px; }
}

/* Readable default: larger type, stronger surfaces and controls. */
:root {
  --page:#edf1f5;
  --paper:#ffffff;
  --ink:#172635;
  --muted:#475569;
  --line:#b9c5d2;
  --green:#124c8c;
  --green-soft:#e3edf8;
  --gold:#704500;
  --gold-soft:#fff0c2;
  --red:#922b24;
  --red-soft:#fee3e0;
  font-family:"Segoe UI",Arial,sans-serif;
  font-size:20px;
  line-height:1.55;
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible { outline:3px solid #0b63a4; outline-offset:3px; }
.sidebar { width:252px; padding:27px 16px 22px; background:#fff; border-right:1px solid #a8b8c8; }
.brand { gap:12px; }
.brand-mark { background:#143e63; color:#fff; }
.brand strong { font-size:1.2rem; letter-spacing:0; }
.brand small { font-size:.8rem; color:var(--muted); }
.nav-caption { font-size:.7rem; color:var(--muted); letter-spacing:.9px; margin-top:32px; }
.navigation .nav-link { font-size:.95rem; min-height:58px; color:#26384a; padding:12px; gap:11px; border:1px solid transparent; }
.navigation .nav-link svg { width:24px; height:24px; stroke-width:1.9; }
.navigation .nav-link:hover { background:#e8f0f9; border-color:#a5b8d1; }
.navigation .nav-link.active { background:#143e63; color:#fff; border-color:#143e63; font-weight:600; }
.navigation .nav-link-service { border-top-color:#a8b8c8; }
.sidebar-bottom { font-size:.75rem; color:var(--muted); padding-left:8px; }
.logout-button { font-size:.8rem; color:#31475b; min-height:44px; }
.main { margin-left:252px; width:calc(100% - 252px); max-width:1680px; padding:30px 32px 24px; }
.page-header { margin-bottom:14px; }
.page-header h1 { font-size:1.8rem; letter-spacing:-.3px; color:var(--ink); font-weight:700; }
.page-description { font-size:.9rem; color:var(--muted); }
.header-date { color:var(--muted); font-size:.8rem; }
.header-date > span { color:var(--muted); }
.icon-button { min-width:46px; min-height:46px; border:1px solid #6b8199; background:#fff; color:#143e63; }
.freshness { margin-bottom:16px; background:transparent; padding:0; }
.data-stamp,.list-caption,.section-subtitle { font-size:.8rem; color:var(--muted); }
.page-footer { font-size:.75rem; color:var(--muted); border-top-color:#b9c5d2; }
.toolbar,.compact-toolbar { gap:12px; margin-bottom:14px; }
.search-box { min-height:50px; border:1px solid #6b8199; background:#fff; border-radius:8px; }
.search-box svg { width:23px; height:23px; color:#475569; }
.search-box input { font-size:.9rem; min-height:48px; color:var(--ink); }
.search-box input::placeholder { color:#526174; opacity:1; }
.toolbar select,.compact-toolbar select { font-size:.9rem; min-height:50px; color:var(--ink); background-color:#fff; border:1px solid #6b8199; border-radius:8px; padding:9px 13px; }
.compact-toolbar select { width:260px; }
.filters,.compact-filters { gap:9px; margin-bottom:14px; }
.filter,.compact-filters .filter,.insight-tabs .filter { font-size:.85rem; min-height:46px; padding:9px 14px; color:#26384a; background:#fff; border:1px solid #6b8199; border-radius:7px; font-weight:500; }
.filter:hover { background:#e7eff8; border-color:#124c8c; }
.filter.active,.filter[aria-pressed="true"] { color:#fff; background:#0d5c57; border-color:#0d5c57; font-weight:600; }
.filter-count { font-size:inherit; color:inherit; background:transparent; }
.insight-tabs { border-bottom-color:#a8b8c8; padding-bottom:14px; margin-bottom:18px; }
.coverage-panel { padding:12px 15px; background:#e3ecf7; border:1px solid #99afc7; border-radius:8px; margin-bottom:14px; }
.coverage-panel > summary { font-size:.85rem; color:#183e67; line-height:1.6; }
.coverage-counts { font-size:.8rem; color:#334b64; }
.coverage-list { gap:12px; }
.coverage-source { border-color:#a8b8c8; padding:16px; }
.coverage-source-top { flex-wrap:wrap; }
.coverage-source-top strong { font-size:.95rem; color:var(--ink); }
.coverage-source > p:not(.small-text) { font-size:.85rem; color:#334155; line-height:1.6; }
.coverage-source .small-text { font-size:.8rem; color:var(--muted); }
.feed-list { border:1px solid #9eafc1; border-radius:9px; }
.feed-row { grid-template-columns:minmax(0,1fr) 260px; gap:24px; padding:17px 20px; border-bottom:2px solid #c3cfdb; }
.feed-row:nth-child(even) { background:#f3f6fa; }
.feed-row:hover { background:#e8f0f9; }
.feed-main h3 { font-size:1.1rem; line-height:1.4; margin:4px 0 7px; font-weight:600; }
.feed-title { display:block; overflow:visible; -webkit-line-clamp:unset; color:#123f6d; font-weight:650; line-height:1.4; }
.feed-title:hover { color:#073564; text-decoration:underline; text-underline-offset:3px; }
.feed-meta { font-size:.85rem; line-height:1.5; color:var(--muted); margin:4px 0; }
.market-row .feed-meta:first-child { color:#334155; font-weight:600; }
.feed-summary { font-size:.9rem; line-height:1.55; color:#26384a; -webkit-line-clamp:2; margin-top:5px; }
.feed-note { font-size:.85rem; line-height:1.55; color:#334155; -webkit-line-clamp:2; margin-top:5px; }
.feed-aside { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-content:start; justify-items:end; gap:8px; font-size:.9rem; color:#26384a; }
.feed-aside > span { grid-column:1 / -1; max-width:100%; overflow-wrap:anywhere; }
.feed-aside .row-action:last-child { grid-column:2; }
.feed-deadline { font-size:.95rem; color:#172635; font-weight:700; font-variant-numeric:tabular-nums; }
.pill,.feed-aside .pill { font-size:.75rem; padding:4px 9px; border:1px solid #9eafc1; border-radius:5px; background:#e6edf3; color:#314455; font-weight:600; }
.pill.green { color:#075e46; background:#d7efe5; border-color:#6eac96; }
.pill.gold { color:#704500; background:#fff0c2; border-color:#c5a04e; }
.pill.red { color:#922b24; background:#fee3e0; border-color:#c77870; }
.row-action { font-size:.85rem; min-height:44px; min-width:0; max-width:100%; padding:7px 10px; border:1px solid #6b8199; border-radius:7px; background:#fff; color:#124c8c; font-weight:600; justify-content:center; text-decoration:none; }
.row-action svg { width:18px; height:18px; }
.row-action:hover { background:#dceaf9; border-color:#124c8c; text-decoration:none; }
.button,.button.small,.text-link { font-size:.9rem; min-height:44px; }
.button { border-color:#6b8199; }
.button.primary { background:#124c8c; border-color:#124c8c; color:#fff; }
.button.primary:hover { background:#0a3b70; }
.small-text,.quiet-note { font-size:.8rem; color:var(--muted); }
.drawer { width:800px; background:#f3f6fa; }
.drawer-header { padding:16px 24px; background:#f3f6faf5; border-bottom-color:#9eafc1; }
.drawer-header span { font-size:.85rem; color:#334155; }
.drawer-body { padding:25px 28px 42px; }
.drawer-body h2 { font-size:1.45rem; line-height:1.35; letter-spacing:0; color:var(--ink); }
.drawer-buyer,.current-stage { font-size:.95rem; color:#26384a; }
.detail-section { border-top-color:#a8b8c8; }
.detail-section h3,.drawer-body h4 { font-size:1rem; font-weight:650; }
.detail-section p,.detail-list,.contact-block p,.contact-links,.letter-body,.letter-subject,.history li { font-size:.9rem; line-height:1.65; color:#26384a; }
.detail-section .small-text,.detail-facts dt,.letter-to,.detail-source { font-size:.8rem; color:var(--muted); }
.detail-facts dd { font-size:.95rem; color:#172635; font-variant-numeric:tabular-nums; }
.field label,.feedback-option span,.field-hint,.save-status,.form-error { font-size:.85rem; }
.field input,.field select,.field textarea { font-size:.95rem; min-height:48px; border-color:#6b8199; }
.feedback-option span { min-height:46px; border-color:#6b8199; }
.saved-note,.saved-note p { font-size:.9rem; color:#26384a; }
.letter-card { padding:17px 19px; border-color:#a8b8c8; }
.letter-card h3 { font-size:1rem; }
.letter-card .small-text,.letter-card-subject { font-size:.85rem; color:var(--muted); }
.resource-info strong { font-size:.95rem; color:var(--ink); }
.resource-info small { font-size:.8rem; color:var(--muted); }
.update-meta { font-size:.8rem; color:var(--muted); }
.update-title { font-size:.95rem; color:#123f6d; }
.update-card > p { font-size:.9rem; line-height:1.6; color:#334155; }
.login-description,.login-footnote,.login-bottom,.login-brand { color:var(--muted); font-size:.85rem; }
.login-card label,.login-card input { font-size:.95rem; }
@media(max-width:1100px) and (min-width:761px) {
  .sidebar { width:222px; padding-left:11px; padding-right:11px; }
  .navigation .nav-link { font-size:.9rem; padding:11px 9px; }
  .main { margin-left:222px; width:calc(100% - 222px); padding:26px 24px; }
  .feed-row { grid-template-columns:minmax(0,1fr) 215px; gap:18px; padding:16px; }
  .feed-aside { grid-template-columns:minmax(0,1fr); }
  .feed-aside .row-action:last-child { grid-column:auto; }
}
@media(max-width:760px) {
  :root { font-size:20px; }
  .sidebar { width:100%; height:calc(90px + env(safe-area-inset-bottom)); padding:0 4px env(safe-area-inset-bottom); background:#fff; border-top:2px solid #a8b8c8; }
  .navigation { gap:2px; }
  .navigation .nav-link { width:20%; font-size:.7rem; line-height:1.2; min-height:80px; padding:8px 2px; gap:6px; border-radius:7px; }
  .navigation .nav-link > span { max-width:none; }
  .navigation .nav-link svg { width:24px; height:24px; }
  .navigation .nav-link-service { margin:0; border-top:1px solid transparent; }
  .main { margin-left:0; width:100%; padding:22px 14px calc(118px + env(safe-area-inset-bottom)); }
  .page-header h1 { font-size:1.55rem; }
  .header-date { padding-top:0; }
  .compact-toolbar { gap:10px; }
  .compact-toolbar select { width:100%; max-width:none; }
  .filter,.compact-filters .filter,.insight-tabs .filter { font-size:.85rem; padding:8px 12px; min-height:46px; }
  .coverage-counts { display:block; margin:4px 0 0; }
  .feed-row { grid-template-columns:minmax(0,1fr); gap:11px; padding:15px; }
  .feed-main h3 { font-size:1.05rem; }
  .feed-meta,.feed-note { font-size:.8rem; }
  .feed-summary { font-size:.9rem; }
  .feed-aside { display:flex; align-items:center; justify-content:flex-start; flex-wrap:wrap; text-align:left; gap:9px; border-top:1px solid #b9c5d2; padding-top:11px; }
  .feed-aside > span { grid-column:auto; }
  .feed-deadline { font-size:.95rem; flex:1 1 200px; }
  .feed-aside .row-action { flex:0 0 auto; }
  .feed-aside .pill { font-size:.75rem; }
  .drawer { width:100%; }
  .drawer-header { padding:13px 16px; }
  .drawer-body { padding:20px 17px 35px; }
  .drawer-body h2 { font-size:1.3rem; }
  .detail-facts,.two-fields { grid-template-columns:minmax(0,1fr); }
  .feedback-options,.form-buttons { flex-wrap:wrap; }
  .feedback-option { min-width:85px; }
  .coverage-list { grid-template-columns:minmax(0,1fr); }
  .letter-card { padding:16px; }
}
/* The date filter follows when a record was added or changed, not its source publication date. */
.monitoring-period { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin:10px 0 16px; }
.monitoring-period > span { font-size:17px; color:#475569; font-weight:600; }
.monitoring-period select,.monitoring-period input { min-height:46px; border:1px solid #798c9f; border-radius:9px; padding:8px 12px; background:#fff; color:#172635; font:inherit; font-size:17px; max-width:100%; }
.monitoring-period [hidden] { display:none; }
.feed-added { margin:8px 0 0; color:#375f66; font-size:16px; line-height:1.4; font-weight:600; }
.record-history { margin-top:24px; border-top:1px solid #b9c5d2; padding-top:16px; }
.record-history > summary { cursor:pointer; font-size:18px; font-weight:600; min-height:44px; }
.record-revision { padding:14px 0; border-bottom:1px solid #d0dae3; }
.record-revision > p { margin:8px 0; }
.prospect-row .feed-aside .prospect-contact { grid-column:1 / -1; text-align:inherit; overflow-wrap:anywhere; }
.prospect-sources { list-style:none; padding:0; margin:.4rem 0 0; }
.prospect-sources li { margin:.25rem 0; }
.prospect-sources .text-link { font-size:.9rem; max-width:100%; overflow-wrap:anywhere; }
.detail-section p a[href^="tel:"],.detail-section p a[href^="mailto:"] { color:#124c8c; overflow-wrap:anywhere; text-decoration:underline; }
@media(max-width:760px) {
  .navigation .nav-link { width:auto; flex:1 1 0; }
}
@media(max-width:540px) {
  .sidebar { height:calc(106px + env(safe-area-inset-bottom)); }
  .navigation { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); grid-template-rows:repeat(2,minmax(0,1fr)); }
  .navigation .nav-link { flex-direction:row; justify-content:center; width:100%; height:100%; min-height:44px; padding:3px; gap:4px; }
  .navigation .nav-link svg { width:18px; height:18px; flex-shrink:0; }
  .main { padding-bottom:calc(130px + env(safe-area-inset-bottom)); }
}
@media(max-width:760px) { .monitoring-period { gap:8px; } .monitoring-period > span { width:100%; } .monitoring-period select { flex:1 1 180px; min-width:0; } .monitoring-period input { flex:1 1 160px; min-width:0; } }

.audit-nav-link { display:flex; align-items:center; min-height:44px; margin-left:34px; padding:6px 14px; border-left:2px solid var(--line); color:var(--green); font-size:.85rem; }
.audit-nav-link:hover, .audit-nav-link[aria-current="page"] { background:#e8f0f9; border-left-color:var(--green); }
.audit-nav-link[aria-current="page"] { font-weight:700; }
@media(max-width:760px) { .audit-nav-link { display:none; } }
.audit-tab { display:inline-flex; align-items:center; }
.mail-audit { font-family:Arial,"Helvetica Neue",sans-serif; color:var(--ink); font-size:.9rem; line-height:1.48; overflow-wrap:anywhere; }
.mail-audit > section + section, .mail-audit > details { margin-top:25px; }
.mail-audit h2 { font-size:1.22rem; line-height:1.3; margin-bottom:10px; }
.audit-heading { display:flex; align-items:center; justify-content:space-between; gap:8px 16px; flex-wrap:wrap; margin-bottom:10px; }
.audit-heading h2 { margin:0; }
.audit-back, .audit-files a, .audit-company-link { color:var(--green); text-decoration:underline; text-underline-offset:3px; }
.audit-back { display:inline-flex; align-items:center; min-height:44px; font-size:.85rem; }
.audit-actions, .audit-table, .audit-check, .audit-files, .audit-coverage { border:1px solid #a4b5c7; border-radius:9px; background:var(--paper); }
.audit-action { display:grid; grid-template-columns:minmax(135px,1fr) minmax(0,3.5fr) minmax(145px,1.1fr); align-items:start; gap:18px; padding:15px 17px; }
.audit-action + .audit-action, .audit-table tbody tr + tr > * { border-top:1px solid var(--line); }
.audit-action h3 { margin:3px 0 0; font-size:1.03rem; line-height:1.32; }
.audit-category { color:#214c70; font-size:.8rem; font-weight:600; }
.audit-step { margin-top:5px; font-weight:600; }
.audit-note { color:var(--muted); font-size:.8rem; margin-top:6px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.audit-action-controls { display:flex; align-items:flex-end; flex-direction:column; gap:7px; }
.audit-action-controls .pill { white-space:normal; }
.audit-action .row-action { text-align:center; line-height:1.3; }
.audit-table { border-collapse:separate; border-spacing:0; overflow:hidden; width:100%; table-layout:fixed; }
.audit-table th, .audit-table td { text-align:left; vertical-align:top; padding:12px 14px; }
.audit-table thead th { color:#263f57; background:#e5edf6; font-size:.8rem; border-bottom:1px solid #a4b5c7; }
.audit-table thead th:nth-child(1) { width:22%; }
.audit-table thead th:nth-child(2) { width:29%; }
.audit-table thead th:nth-child(3) { width:16%; text-align:right; }
.audit-table .audit-amount { text-align:right; font-weight:700; font-variant-numeric:tabular-nums; }
.audit-product time, .audit-mobile-label { font-weight:400; font-size:.8rem; color:var(--muted); }
.audit-product time { display:block; margin-top:4px; }
.audit-mobile-label { display:none; }
.audit-company-link { border:0; background:none; padding:0; text-align:left; font-size:inherit; font-weight:700; }
.audit-check { padding:16px 18px; }
.audit-through { font-size:.82rem; color:var(--muted); }
.audit-check-grid, .audit-files { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
.audit-check-grid > div:first-child { padding-right:18px; }
.audit-check-grid > div + div, .audit-files > div + div { border-left:1px solid var(--line); padding-left:18px; }
.audit-check h3 { font-size:.95rem; margin-bottom:4px; }
.audit-check-grid p + p { margin-top:5px; }
.audit-check-note, .audit-files p { font-size:.85rem; color:var(--muted); }
.audit-files > div { padding:10px 16px 15px; }
.audit-files a { display:inline-flex; align-items:center; gap:7px; min-height:44px; font-weight:700; }
.audit-files svg { width:20px; height:20px; }
.audit-coverage { padding:0 16px; }
.audit-coverage summary { padding:10px 0; min-height:44px; color:#213e5a; font-weight:600; cursor:pointer; }
.audit-coverage dl { margin:0 0 12px; max-width:720px; }
.audit-coverage dl > div { display:flex; justify-content:space-between; align-items:baseline; gap:14px; padding:5px 0; border-top:1px solid var(--line); }
.audit-coverage dd { margin:0; font-weight:700; font-variant-numeric:tabular-nums; }
@media(max-width:1180px) {
  .audit-action { grid-template-columns:minmax(125px,1fr) minmax(0,3fr); gap:7px 16px; }
  .audit-action-text { grid-column:2; grid-row:1 / span 2; }
  .audit-action-controls { align-items:flex-start; grid-column:1; }
}
@media(max-width:880px) {
  .audit-table { display:block; }
  .audit-table thead { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); }
  .audit-table tbody { display:block; }
  .audit-table tr { display:grid; grid-template-columns:minmax(0,1fr) auto; grid-template-areas:"buyer amount" "product product" "finding finding"; gap:5px 12px; align-items:start; padding:13px 15px; }
  .audit-table tbody tr + tr { border-top:1px solid var(--line); }
  .audit-table tbody tr > * { padding:0; border:0; }
  .audit-table tbody tr + tr > * { border:0; }
  .audit-buyer { grid-area:buyer; }
  .audit-product { grid-area:product; }
  .audit-product time { display:inline; margin-left:8px; white-space:nowrap; }
  .audit-amount { grid-area:amount; }
  .audit-mobile-label { display:block; }
  .audit-finding { grid-area:finding; font-size:.85rem; color:var(--muted); }
}
@media(max-width:640px) {
  .mail-audit { font-size:.88rem; }
  .mail-audit > section + section, .mail-audit > details { margin-top:22px; }
  .audit-action { display:flex; flex-direction:column; align-items:stretch; padding:13px 15px; gap:7px; }
  .audit-action-company { display:flex; flex-wrap:wrap; align-items:baseline; gap:3px 10px; }
  .audit-action-company h3 { margin:0; }
  .audit-action-controls { flex-direction:row; align-items:center; flex-wrap:wrap; }
  .audit-check-grid, .audit-files { grid-template-columns:minmax(0,1fr); }
  .audit-check-grid > div:first-child { padding-right:0; }
  .audit-check-grid > div + div { margin-top:12px; padding:12px 0 0; border:0; border-top:1px solid var(--line); }
  .audit-files > div + div { border:0; border-top:1px solid var(--line); padding-left:16px; }
}
.outreach-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin: 0 0 18px;
}
.outreach-metrics dt { font-size: .9rem; }
.outreach-metrics dd { margin: .15rem 0 0; font-size: 1.2rem; font-weight: 650; }
.brochure-preview { display: block; width: 100%; height: auto; margin: 16px 0; }
.outreach-records { margin: 0; padding: 0; list-style: none; }
.outreach-records li { padding: 12px 0; border-top: 1px solid var(--line); }
.outreach-records p { margin: 4px 0 0; }
.funnel-campaign { display:flex; align-items:center; flex-wrap:wrap; gap:6px 26px; margin:0 0 18px; color:#334b64; font-size:.9rem; }
.funnel-campaign strong { color:#143e63; font-variant-numeric:tabular-nums; }
.funnel-campaign-button { border:0; background:transparent; font:inherit; color:#124c8c; padding:7px 2px; min-height:44px; line-height:1.4; text-align:left; text-decoration:underline; text-underline-offset:4px; }
.funnel-campaign-button[aria-pressed="true"] { color:#143e63; font-weight:700; text-decoration-thickness:2px; }
.funnel-layout { display:grid; grid-template-columns:minmax(195px, 25%) minmax(0, 1fr); align-items:start; gap:22px; }
.funnel-main,.funnel-company,.funnel-next { min-width:0; }
.funnel-stages { display:grid; background:#fff; border:1px solid #9eafc1; border-radius:9px; overflow:hidden; }
.funnel-stage { display:flex; width:100%; text-align:left; justify-content:space-between; align-items:center; gap:10px; min-height:47px; padding:9px 13px; border:0; border-bottom:1px solid #d7dfe8; background:transparent; color:#31475b; font:inherit; font-size:.9rem; line-height:1.32; }
.funnel-stage:last-child { border-bottom:0; }
.funnel-stage strong { font-variant-numeric:tabular-nums; color:#173852; }
.funnel-stage:hover { background:#e8f0f9; }
.funnel-stage[aria-pressed="true"] { background:#143e63; color:#fff; font-weight:600; }
.funnel-stage[aria-pressed="true"] strong { color:#fff; }
.funnel-stage:focus-visible { outline-offset:-4px; }
.funnel-tools { margin:0 0 13px; }
.funnel-tools .search-box { max-width:none; width:100%; }
.funnel-clear { min-height:44px; display:block; border:0; background:transparent; color:#124c8c; padding:5px 0; margin:0 0 7px; text-decoration:underline; text-underline-offset:3px; font:inherit; font-size:.85rem; }
.funnel-clear[hidden] { display:none; }
#funnel-stage-mobile { display:none; }
.funnel-list-title { font-size:1.05rem; margin:0 0 7px; line-height:1.45; }
.funnel-list-title span { font-weight:500; color:#475569; font-variant-numeric:tabular-nums; }
.funnel-rows { list-style:none; margin:0; padding:0; background:#fff; border:1px solid #9eafc1; border-radius:9px; }
.funnel-row { display:grid; grid-template-columns:minmax(0, 1.05fr) minmax(0, 1fr); gap:15px 22px; padding:15px 17px; overflow-wrap:anywhere; }
.funnel-row + .funnel-row { border-top:1px solid #c5cfdb; }
.funnel-row p { margin:3px 0 0; font-size:.9rem; line-height:1.45; }
.funnel-company > p, .funnel-next > p { display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.funnel-company-link { display:block; background:transparent; border:0; padding:1px 0; text-align:left; color:#124c8c; font:inherit; font-weight:700; line-height:1.35; }
.funnel-company-link:hover { text-decoration:underline; }
.funnel-row-meta { display:flex; align-items:baseline; flex-wrap:wrap; gap:4px 10px; color:#475569; font-size:.8rem; }
.funnel-row-stage { font-weight:600; color:#31475b; }
.funnel-row-stage[data-stage="quote"],.funnel-row-stage[data-stage="supplier"] { color:#704500; }
.funnel-row-stage[data-stage="invoice"],.funnel-row-stage[data-stage="paid"] { color:#065049; }
.funnel-row-stage[data-stage="bounced"] { color:#922b24; }
.funnel-next > strong { display:block; font-size:.8rem; color:#475569; font-weight:600; }
.funnel-empty { padding:14px 16px; background:#fff; border:1px solid #a8b8c8; border-radius:8px; font-size:.9rem; }
.funnel-history { list-style:none; margin:0; padding:0; }
.funnel-history li { padding:10px 0; border-bottom:1px solid #c5cfdb; }
.funnel-history li > time, .funnel-history li > strong { display:block; }
.funnel-history time { color:#475569; font-size:.85rem; }
.funnel-history p { margin:4px 0; }
@media(min-width:761px) and (max-height:790px) { .sidebar { overflow-y:auto; } }
@media(max-width:1000px) {
  .funnel-layout { display:block; }
  .funnel-stages { display:none; }
  #funnel-stage-mobile { display:block; max-width:100%; }
}
@media(max-width:620px) {
  .funnel-campaign { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:stretch; gap:6px 12px; margin-bottom:12px; }
  .funnel-tools { display:grid; grid-template-columns:minmax(0,1fr); }
  .funnel-tools .search-box,#funnel-stage-mobile { width:100%; }
  .funnel-row { grid-template-columns:minmax(0,1fr); gap:8px; padding:13px 15px; }
  .funnel-company > p, .funnel-next > p { -webkit-line-clamp:2; }
}
@media(max-width:540px) {
  .sidebar { height:calc(120px + env(safe-area-inset-bottom)); }
  .navigation { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .navigation .nav-link { flex-direction:column; justify-content:center; gap:2px; min-height:50px; }
  .main { padding-bottom:calc(140px + env(safe-area-inset-bottom)); }
}
