:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #272626;
  background: #f6f5f2;
  font-synthesis: none;
  --wine: #ab123f;
  --wine-dark: #851033;
  --rose: #f9edf1;
  --ink: #282525;
  --muted: #77716f;
  --line: #e7e2dd;
  --green: #347465;
  --paper: #fff;
  --radius: 14px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
a {
  color: var(--wine);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 42px;
  letter-spacing: -1.2px;
  line-height: 1.12;
  margin-bottom: 16px;
}
h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 17px;
  line-height: 1.35;
}
p {
  line-height: 1.65;
  color: var(--muted);
}
small,
.small {
  font-size: 12px;
  line-height: 1.55;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.65px;
  color: var(--wine);
  margin-bottom: 14px;
}
.client-logo {
  width: 126px;
  object-fit: contain;
}
.workspace {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 250px;
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 32px 20px 20px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.brand-link {
  display: block;
  padding: 0 18px 22px;
}
.workspace-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
  margin: 0 18px 30px;
}
.workspace-label i {
  background: var(--green);
  height: 6px;
  width: 6px;
  border-radius: 50%;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  background: none;
  color: #696260;
  text-decoration: none;
  font-size: 12px;
  line-height: 1.4;
  text-align: left;
  padding: 12px;
  border-radius: 8px;
  margin: 2px 0;
  transition: background 0.15s;
}
.nav-item:hover {
  background: #f8f5f3;
}
.nav-item.active {
  background: var(--rose);
  color: var(--wine);
  font-weight: 650;
}
.nav-number {
  color: #a69c97;
  font-size: 10px;
  min-width: 15px;
}
.nav-label {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #a59d98;
  margin: 26px 12px 10px;
  font-weight: 650;
}
.sidebar-foot {
  border-top: 1px solid var(--line);
  margin-top: 32px;
  padding: 20px 12px 0;
  font-size: 12px;
}
.sidebar-foot p {
  font-size: 11px;
  margin-top: 7px;
}
.sidebar-foot span {
  font-size: 9px;
  color: #9c9691;
}
.sidebar-foot b {
  letter-spacing: 1.3px;
  margin-left: 4px;
  color: #615553;
}
.main-shell {
  flex: 1;
  min-width: 0;
}
.topbar {
  height: 84px;
  padding: 0 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #ffffffb3;
  border-bottom: 1px solid var(--line);
}
.breadcrumb {
  font-size: 12px;
  color: var(--muted);
}
.breadcrumb span {
  margin: 0 10px;
  color: #b7b0ab;
}
.account-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.avatar {
  display: grid;
  place-items: center;
  background: #eee9e3;
  border: 1px solid #e0d8d1;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  font-size: 11px;
  color: #795d4f;
}
.account-name {
  font-size: 11px;
  line-height: 1.5;
}
.account-name small {
  display: block;
  color: #958d87;
  font-size: 10px;
}
#main {
  max-width: 1510px;
  padding: 44px 42px 60px;
  margin: auto;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.page-heading p {
  max-width: 690px;
  font-size: 14px;
  margin-bottom: 0;
}
.primary,
.secondary,
.quiet,
.upload-button,
.upload-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 8px;
  padding: 12px 18px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  transition: 0.15s;
  text-decoration: none;
}
.primary {
  background: var(--wine);
  border: 1px solid var(--wine);
  color: white;
  box-shadow: 0 3px 6px #8b153712;
  white-space: nowrap;
}
.primary:hover {
  background: var(--wine-dark);
}
.secondary,
.upload-button {
  background: white;
  border: 1px solid #ded6d0;
  color: var(--ink);
}
.secondary:hover,
.upload-button:hover {
  border-color: var(--wine);
  color: var(--wine);
}
.quiet {
  background: none;
  border: 0;
  padding: 6px 4px;
  color: var(--muted);
  font-weight: 500;
}
.quiet:hover {
  color: var(--wine);
}
.danger {
  color: #9e4750;
}
.intro-strip {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 20px 24px;
  border: 1px solid #e4ddd2;
  background: #f0ede6;
  border-radius: var(--radius);
  margin-bottom: 28px;
}
.intro-strip strong {
  font-size: 13px;
  font-weight: 600;
}
.intro-strip p {
  font-size: 12px;
  margin: 5px 0 0;
}
.round-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e4dccf;
  color: #806b4a;
  font-size: 22px;
  flex-shrink: 0;
}
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.4fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  padding: 24px;
  margin-bottom: 36px;
}
.stats > div {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 0 20px;
  border-right: 1px solid var(--line);
}
.stats > div:first-child {
  padding-left: 5px;
}
.stats > div:last-child {
  border: 0;
}
.stats b {
  font-weight: 500;
  font-size: 27px;
}
.stats span {
  font-size: 11px;
  color: var(--muted);
}
.stats small {
  font-size: 10px;
  color: #aaa19b;
}
.progress-stat {
  justify-content: center;
}
progress {
  width: 100%;
  height: 5px;
  border: 0;
  appearance: none;
  border-radius: 5px;
  overflow: hidden;
}
progress::-webkit-progress-bar {
  background: #eee9e3;
}
progress::-webkit-progress-value {
  background: var(--green);
}
progress::-moz-progress-bar {
  background: var(--green);
}
.list-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  gap: 20px;
}
.list-head h2 {
  font-size: 19px;
  margin: 0;
}
.search {
  display: flex;
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  gap: 10px;
  width: 280px;
}
.search input {
  border: 0;
  background: none;
  padding: 10px 0;
  box-shadow: none !important;
  font-size: 11px;
}
.search span {
  font-size: 20px;
  color: #92877d;
}
.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.topic-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition:
    transform 0.18s,
    border 0.18s,
    box-shadow 0.18s;
  min-height: 228px;
}
.topic-card:hover {
  transform: translateY(-2px);
  border-color: #cda4af;
  box-shadow: 0 8px 22px #482c2310;
}
.card-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 22px;
  align-items: center;
}
.tag {
  font-size: 10px;
  color: #978276;
}
.badge {
  font-size: 9px;
  font-weight: 600;
  white-space: nowrap;
  background: #f1efec;
  padding: 5px 8px;
  border-radius: 5px;
  color: #82766b;
  line-height: 1.3;
}
.badge.draft {
  background: #fcf1df;
  color: #987138;
}
.badge.submitted {
  background: #e7f2ed;
  color: #397c64;
}
.badge.clarify {
  background: #f9e8ea;
  color: #a34758;
}
.topic-card h3 {
  margin-bottom: 8px;
  font-size: 18px;
  letter-spacing: -0.25px;
}
.topic-card p {
  font-size: 12px;
  margin-bottom: 20px;
}
.card-foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #a3968d;
  font-size: 10px;
  gap: 14px;
  border-top: 1px solid #f3efeb;
  padding-top: 16px;
}
.card-foot b {
  font-size: 18px;
  color: var(--wine);
}
footer {
  font-size: 10px;
  color: #a69b94;
  padding: 22px 42px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.topic-toolbar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 25px;
}
.save-status {
  font-size: 11px;
  color: var(--green);
  max-width: 70%;
  text-align: right;
  line-height: 1.5;
}
.topic-heading h1 {
  font-size: 35px;
  max-width: 850px;
}
.topic-heading p {
  font-size: 13px;
}
.topic-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 265px;
  gap: 24px;
  margin-top: 28px;
  align-items: start;
}
.form-panel,
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.step-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  padding: 0 14px;
  overflow-x: auto;
  background: #fcfbfa;
}
.step-tabs button {
  padding: 16px 10px 13px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  min-width: 88px;
  font-size: 10px;
  color: #968880;
  flex: 1;
  line-height: 1.6;
}
.step-tabs button span {
  display: block;
  font-size: 10px;
  margin-bottom: 4px;
  font-weight: 650;
}
.step-tabs button.active {
  color: var(--wine);
  border-bottom-color: var(--wine);
  background: #fbf3f5;
}
.form-content {
  padding: 30px;
}
.section-title {
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  margin-bottom: 26px;
}
.section-title .eyebrow {
  margin-bottom: 7px;
}
.section-title h2 {
  margin-bottom: 7px;
}
.section-title p {
  font-size: 12px;
  margin-bottom: 0;
}
.field {
  margin-bottom: 28px;
}
.field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 10px;
}
.hint {
  font-size: 11px;
  line-height: 1.6;
  margin: -3px 0 12px;
}
.field > label {
  font-size: 13px;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  border: 1px solid #e0d9d3;
  border-radius: 7px;
  background: #fefdfc;
  padding: 12px;
  color: #342d2a;
  outline: none;
  font-size: 12px;
  line-height: 1.5;
  transition:
    border 0.15s,
    box-shadow 0.15s;
}
input:focus,
textarea:focus,
select:focus {
  border-color: #b98798;
  box-shadow: 0 0 0 3px #ae17400b;
}
textarea {
  resize: vertical;
  min-height: 80px;
}
label {
  display: block;
  font-size: 12px;
  line-height: 1.6;
}
label > input,
label > select,
label > textarea {
  margin-top: 6px;
}
input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--wine);
  flex-shrink: 0;
  margin: 0;
}
input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  padding: 0;
  border: 0;
}
button:focus-visible,
a:focus-visible,
.upload-button:focus-within,
.upload-inline:focus-within {
  outline: 3px solid #bc8094;
  outline-offset: 3px;
}
.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.choice {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 9px 11px;
  font-size: 11px;
  cursor: pointer;
  background: #fff;
}
.choice.selected {
  background: var(--rose);
  border-color: #d7aaba;
  color: var(--wine);
}
.choice input {
  width: 13px;
  height: 13px;
}
.uncertain {
  border: 0;
  background: none;
  color: #9b8b7f;
  font-size: 10px;
  padding: 7px 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.context-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.context-card {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.context-card:first-child {
  background: #eeeae3;
  border-color: #e1dacd;
}
.context-card h3 {
  font-size: 15px;
  margin-bottom: 10px;
}
.context-card p,
.context-card li {
  font-size: 11px;
}
.context-card ul {
  padding-left: 15px;
  color: #80776f;
  line-height: 1.9;
  margin-bottom: 0;
}
.context-card .eyebrow {
  font-size: 9px;
}
.context-card small {
  display: block;
  font-size: 10px;
  color: #998c83;
  margin-top: 10px;
}
.context-card .secondary {
  width: 100%;
  margin-top: 10px;
}
.context-card textarea,
.context-card select {
  font-size: 11px;
}
.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 30px 0 18px;
  flex-wrap: wrap;
}
.note {
  background: #f1f4f1;
  color: #587266;
  border: 1px solid #dce5dc;
  border-radius: 8px;
  padding: 16px;
  font-size: 12px;
  line-height: 1.65;
  margin-bottom: 20px;
}
.note.warning {
  background: #fcf4e8;
  border-color: #eddec3;
  color: #8d6b3a;
}
.note li {
  margin: 6px 0;
}
.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}
.step-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
  margin: 18px 0;
  background: #fdfcfb;
}
.step-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.step-head h3 {
  margin: 0;
  flex: 1;
  font-size: 14px;
}
.step-number {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--rose);
  color: var(--wine);
  font-size: 11px;
  font-weight: 700;
}
.step-card label {
  font-size: 11px;
}
.step-card input,
.step-card select,
.step-card textarea {
  background: white;
  font-size: 11px;
}
.step-card textarea {
  min-height: 58px;
}
.confirm-step {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  color: var(--green);
}
.step-documents {
  margin-top: 16px;
  border-top: 1px dashed var(--line);
  padding-top: 12px;
}
.template-box {
  background: #f5f0e8;
  border: 1px dashed #d8c6ae;
  padding: 22px;
  border-radius: 10px;
}
.template-box strong {
  font-size: 13px;
}
.template-box ol {
  font-size: 12px;
  padding-left: 18px;
  line-height: 2;
  color: #776553;
}
.template-box p {
  font-size: 11px;
}
.add-row {
  width: 100%;
  padding: 14px;
  border: 1px dashed #cabbb0;
  border-radius: 8px;
  color: #8d6c60;
  background: #fff;
  font-size: 12px;
}
.upload-inline {
  justify-content: flex-start;
  padding: 8px 0;
  color: var(--wine);
  font-size: 11px;
  cursor: pointer;
}
.upload-button {
  cursor: pointer;
  font-size: 11px;
}
.document-card {
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: 10px;
  margin: 18px 0;
}
.document-card h3 {
  font-size: 15px;
}
.document-actions {
  display: flex;
  gap: 18px;
  align-items: center;
  margin: 15px 0;
}
.document-state {
  flex: 1;
  font-size: 10px;
}
.document-state select {
  font-size: 11px;
  padding: 9px;
}
.file-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f0ebe6;
  font-size: 11px;
}
.file-row a {
  overflow-wrap: anywhere;
  flex: 1;
}
.file-symbol {
  font-size: 20px;
  color: #bcae9f;
}
.file-row small {
  white-space: nowrap;
  color: #a69b92;
}
.file-row button {
  font-size: 10px;
}
.message {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 12px;
}
.message strong {
  font-size: 10px;
}
.message p {
  white-space: pre-wrap;
  font-size: 11px;
  margin-top: 8px;
}
.message small {
  font-size: 9px;
  margin: 3px 0;
}
.review-card {
  border-color: #c7d5cd;
}
.review-card label {
  font-size: 10px;
  margin: 12px 0;
}
.review-check {
  display: flex;
  gap: 8px;
  align-items: center;
}
.review-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.review-table button {
  display: grid;
  grid-template-columns: 1fr 100px 150px 20px;
  width: 100%;
  gap: 20px;
  align-items: center;
  text-align: left;
  padding: 19px 24px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
  font-size: 11px;
}
.review-table button:hover {
  background: #fcf7f8;
}
.review-table small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-bottom: 5px;
}
.users-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 24px;
}
.panel {
  padding: 28px;
}
.panel label {
  margin: 16px 0;
}
.panel fieldset {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 20px;
}
.panel legend {
  font-size: 11px;
}
.person {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.person > div:nth-child(2) {
  flex: 1;
  overflow-wrap: anywhere;
}
.person strong {
  font-size: 12px;
}
.person p {
  font-size: 11px;
  margin: 5px 0;
}
.person small {
  color: #95877f;
  font-size: 10px;
}
.person button {
  font-size: 10px;
}
.login {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
}
.login-story {
  background: #ece8df;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 60px 68px;
  min-height: 100vh;
}
.login-story .client-logo {
  width: 165px;
}
.login-story h1 {
  font-size: 54px;
  line-height: 1.12;
  letter-spacing: -1.8px;
}
.login-story p {
  font-size: 15px;
  max-width: 430px;
  color: #7d7166;
}
.login-story .eyebrow {
  margin-bottom: 20px;
}
.login-points {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 12px;
  color: #947862;
}
.login-story small {
  font-size: 9px;
  letter-spacing: 1.1px;
  color: #948373;
}
.login-form {
  display: grid;
  place-items: center;
  padding: 50px;
}
.login-box {
  max-width: 360px;
  width: 100%;
}
.login-box h2 {
  font-family: Georgia, serif;
  font-size: 32px;
  font-weight: 400;
}
.login-box p {
  font-size: 12px;
}
.login-box form {
  margin: 30px 0;
}
.login-box label {
  margin: 18px 0;
}
.login-box .primary {
  width: 100%;
  justify-content: space-between;
  padding: 15px;
}
.error-text {
  color: #a32946 !important;
}
.loading {
  padding: 20vh 20px;
  text-align: center;
  color: var(--muted);
}
.empty {
  padding: 50px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  color: var(--muted);
  grid-column: 1/-1;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 20px);
  max-width: min(600px, 90vw);
  padding: 14px 22px;
  border-radius: 10px;
  background: #2a453c;
  color: white;
  font-size: 12px;
  box-shadow: 0 6px 30px #0002;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  line-height: 1.5;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
#toast.error {
  background: #87354c;
}
dialog {
  max-width: 520px;
  width: calc(100% - 30px);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 20px 100px #0002;
}
dialog::backdrop {
  background: #31251e66;
  backdrop-filter: blur(3px);
}
dialog label {
  margin: 22px 0;
}
dialog p {
  font-size: 12px;
}
details {
  font-size: 12px;
  color: var(--muted);
  padding: 15px 0;
}
summary {
  cursor: pointer;
}
.coordination {
  background: white;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 25px;
}
.coordination p {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin: 12px 0;
}
@media (min-width: 1600px) {
  .topic-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 220px;
    padding: 28px 14px;
  }
  .topbar {
    padding: 0 28px;
  }
  #main {
    padding: 32px 28px;
  }
  .topic-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .context-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .context-card.review-card {
    grid-column: 1/-1;
  }
  .users-layout {
    grid-template-columns: 1fr;
  }
  .page-heading h1 {
    font-size: 36px;
  }
  .account-name {
    display: none;
  }
}
@media (max-width: 760px) {
  .workspace {
    display: block;
  }
  .sidebar {
    position: relative;
    width: 100%;
    height: auto;
    padding: 18px 16px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    display: block;
  }
  .brand-link {
    padding: 0 0 14px;
  }
  .client-logo {
    width: 104px;
  }
  .workspace-label {
    position: absolute;
    right: 18px;
    top: 27px;
    margin: 0;
  }
  .sidebar nav {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    padding-bottom: 10px;
  }
  .nav-item {
    width: auto;
    white-space: nowrap;
    padding: 9px 12px;
    font-size: 11px;
  }
  .nav-label,
  .sidebar-foot {
    display: none;
  }
  .topbar {
    height: 64px;
    padding: 0 18px;
  }
  .breadcrumb {
    font-size: 10px;
  }
  .account-actions {
    gap: 8px;
  }
  .account-actions .quiet {
    font-size: 10px;
  }
  .avatar {
    width: 28px;
    height: 28px;
  }
  .topbar .breadcrumb span {
    margin: 0 3px;
  }
  #main {
    padding: 28px 18px 40px;
  }
  .page-heading {
    display: block;
  }
  .page-heading > .primary {
    margin-top: 20px;
  }
  .page-heading h1 {
    font-size: 33px;
  }
  .page-heading p {
    font-size: 12px;
  }
  .intro-strip {
    padding: 17px;
    align-items: flex-start;
  }
  .intro-strip strong {
    font-size: 12px;
  }
  .intro-strip p {
    font-size: 11px;
  }
  .round-icon {
    width: 30px;
    height: 30px;
    font-size: 18px;
  }
  .stats {
    padding: 18px 10px;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
  .stats > div {
    padding: 0 10px;
  }
  .stats .progress-stat {
    grid-column: 1/-1;
    padding: 14px 8px 0;
    border-top: 1px solid var(--line);
  }
  .stats > div:nth-child(3) {
    border: 0;
  }
  .stats span {
    font-size: 10px;
  }
  .stats b {
    font-size: 23px;
  }
  .list-head {
    flex-direction: column;
    align-items: stretch;
  }
  .search {
    width: 100%;
  }
  .topic-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .topic-card {
    padding: 21px;
    min-height: 205px;
  }
  .topic-layout {
    gap: 18px;
  }
  .topic-heading h1 {
    font-size: 29px;
  }
  .form-content {
    padding: 22px 18px;
  }
  .context-panel {
    display: flex;
  }
  .step-tabs {
    padding: 0 4px;
  }
  .step-tabs button {
    font-size: 9px;
    min-width: 90px;
    padding: 12px 6px;
  }
  .two-cols {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .step-card {
    padding: 16px;
  }
  .step-head {
    gap: 7px;
  }
  .step-head .badge {
    font-size: 8px;
  }
  .step-head button {
    font-size: 10px;
  }
  .document-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .document-card {
    padding: 16px;
  }
  .form-actions > button {
    padding: 12px;
    font-size: 11px;
    flex: 1;
  }
  .choices {
    gap: 6px;
  }
  .choice {
    font-size: 10px;
    padding: 8px;
  }
  .review-table button {
    grid-template-columns: 1fr 90px;
    gap: 10px;
    padding: 16px;
  }
  .review-table button > span:last-child {
    display: none;
  }
  .panel {
    padding: 20px;
  }
  .login {
    grid-template-columns: 1fr;
  }
  .login-story {
    min-height: auto;
    padding: 30px;
  }
  .login-story .client-logo {
    width: 120px;
    margin-bottom: 36px;
  }
  .login-story h1 {
    font-size: 35px;
  }
  .login-story p {
    font-size: 12px;
  }
  .login-story small,
  .login-points {
    display: none;
  }
  .login-form {
    padding: 35px 28px;
  }
  .login-box h2 {
    font-size: 27px;
  }
  .login-box .eyebrow {
    font-size: 9px;
  }
  footer {
    padding: 20px 18px;
    font-size: 9px;
  }
  footer span {
    display: none;
  }
}
