/* Personal portal. Shared colors, type and controls live in design-system.css. */
.account-picker {
  background: #fff;
  border: 1px solid var(--line);
  padding: 14px 12px;
  border-radius: 20px;
  min-width: 0;
}
.account-picker > .nav-label {
  display: block;
  padding: 0;
  margin: 0 0 6px;
  font-size: 11px;
}
.mailbox-select {
  display: flex;
  align-items: center;
  gap: 6px;
}
.mailbox-select > .i {
  color: var(--radiant-royal);
  width: 18px;
}
.mailbox-select select {
  border: 0;
  background: transparent;
  min-width: 0;
  width: 100%;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--night);
  height: 30px;
}
.account-picker > small {
  display: block;
  margin: 2px 0 0 26px;
  font-size: 10px;
}
.picker-submit {
  margin-top: 8px;
}
.js-hidden {
  display: none !important;
}
.reception-status {
  padding: 28px;
}
.status-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.reception-status > h2 {
  font-size: 23px;
  max-width: 850px;
}
.reception-status > p {
  font-size: 13px;
  max-width: 900px;
  margin: 10px 0 20px;
}
.status-control {
  padding: 12px 16px;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0 12px;
}
.status-control form {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-shrink: 0;
}
.status-control strong {
  font-size: 13px;
}
.status-numbers {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 11px;
  color: var(--fg-3);
  flex-wrap: wrap;
}
.status-numbers b {
  font-weight: 500;
  color: var(--night);
}
.readiness {
  padding: 0 16px;
}
.readiness summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  align-items: center;
  padding: 14px 0;
  font-size: 12px;
  font-weight: 600;
}
.readiness summary::-webkit-details-marker {
  display: none;
}
.readiness summary > span:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
}
.readiness summary .i {
  width: 15px;
  height: 15px;
  transition: transform 0.2s;
}
.readiness[open] summary .i {
  transform: rotate(180deg);
}
.readiness summary .hint {
  font-size: 11px;
  white-space: nowrap;
  font-weight: 400;
}
.readiness ul {
  padding: 4px 0 12px;
  margin: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.readiness li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.readiness li > .i {
  color: var(--radiant-royal);
  width: 16px;
  height: 16px;
}
.readiness li > span {
  flex: 1;
}
.readiness li > small {
  font-size: 10px;
}
.readiness > p {
  padding-bottom: 14px;
  font-size: 11px;
}
.reception-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}
.settings-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.settings-column > .panel {
  margin-bottom: 0;
}
.preview-column {
  position: sticky;
  top: 24px;
  min-width: 0;
}
.preview-column > .panel {
  padding: 24px;
}
.mode-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}
.mode-option {
  display: block;
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: 20px;
  padding: 18px;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.mode-option:has(input:checked) {
  background: var(--royal-8);
  border: 2px solid var(--radiant-royal);
  padding: 17px;
}
.mode-option:has(input:disabled) {
  cursor: not-allowed;
  background: var(--silver-phoenix);
  border-color: var(--line);
}
.mode-option > span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.mode-option input {
  appearance: none;
  width: 19px;
  height: 19px;
  margin: 0;
  border-radius: 50%;
  border: 2px solid var(--night-40);
  background: #fff;
  flex: none;
}
.mode-option input:checked {
  border: 6px solid var(--radiant-royal);
}
.mode-option input:disabled {
  border-color: var(--night-40);
}
.mode-option p {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.7;
}
.mode-option small {
  display: block;
  font-size: 11px;
  margin-top: 8px;
}
.feature-list {
  margin-top: 16px;
}
.feature-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.feature-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.feature-symbol {
  color: var(--midnight-blue);
  padding-top: 1px;
}
.feature-symbol .i {
  width: 20px;
  height: 20px;
}
.feature-copy {
  flex: 1;
  min-width: 0;
}
.feature-title {
  font-size: 13.5px;
  font-weight: 600;
  display: block;
  cursor: pointer;
}
.folder-caption {
  font-size: 11px;
  color: var(--fg-3);
  display: block;
  margin-top: 3px;
}
.feature-copy p {
  font-size: 12.5px;
  line-height: 1.7;
  margin-top: 8px;
}
.feature-copy small {
  display: block;
  font-size: 11.5px;
  margin-top: 4px;
}
.small-link {
  display: inline-block;
  font-size: 12px;
  margin-top: 8px;
}
.feature-state {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.feature-state .badge {
  font-size: 10.5px;
  height: auto;
  min-height: 23px;
  line-height: 1.5;
  padding-top: 3px;
  padding-bottom: 3px;
  white-space: normal;
}
.feature-state .badge .i {
  width: 12px;
  height: 12px;
}
.feature-state .b-neutral {
  background: transparent;
  padding-left: 0;
  font-weight: 400;
}
.toggle {
  position: relative;
  width: 46px;
  height: 28px;
  flex-shrink: 0;
  display: block;
  margin-top: 1px;
}
.toggle input {
  position: absolute;
  inset: -6px;
  width: 58px;
  height: 40px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}
.toggle-track {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background: var(--night-40);
  transition: background 0.2s;
  pointer-events: none;
}
.toggle-track:after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 1px 3px #070a2630;
  transition: transform 0.2s;
}
.toggle input:checked + .toggle-track {
  background: var(--radiant-royal);
}
.toggle input:checked + .toggle-track:after {
  transform: translateX(18px);
}
.toggle input:focus-visible + .toggle-track {
  outline: 3px solid var(--radiant-royal);
  outline-offset: 4px;
}
.toggle input:disabled {
  cursor: not-allowed;
}
.toggle input:disabled + .toggle-track {
  background: var(--silver-phoenix);
  box-shadow: inset 0 0 0 1px var(--night-40);
}
.toggle input:disabled + .toggle-track:after {
  background: var(--night-40);
  box-shadow: none;
}
.stepper-field {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.stepper-field > label {
  font-size: 12px;
}
.stepper {
  height: 38px;
}
.stepper input {
  width: 42px;
  height: 34px;
  font-size: 13px;
  -moz-appearance: textfield;
}
.stepper input::-webkit-inner-spin-button {
  appearance: none;
}
.stepper button {
  width: 30px;
  height: 30px;
}
.stepper button .i {
  width: 16px;
  height: 16px;
}
.schedule-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 22px;
}
.schedule-fields .field small {
  font-size: 11px;
}
.learning-panel > .feature-row {
  padding-top: 0;
  border-bottom: 0;
  margin-bottom: 16px;
}
.learning-panel > .hint {
  margin: 12px 0 16px;
}
.context-footer {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-top: 10px;
}
.context-footer .counter {
  white-space: nowrap;
  font-size: 11px;
}
.context-footer .hint {
  font-size: 11px;
}
.settings-column .field {
  margin-top: 18px;
}
.settings-column .schedule-fields .field {
  margin-top: 0;
}
.savebar {
  margin-top: 4px;
  flex-wrap: nowrap;
  bottom: 16px;
}
.savebar > div {
  flex: 1;
  min-width: 0;
}
.savebar strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
}
.savebar small {
  display: block;
  color: var(--night-40);
  font-size: 10px;
  margin-top: 3px;
}
.savebar .btn {
  height: 38px;
  font-size: 12px;
  padding: 0 16px;
}
.savebar.is-saving {
  opacity: 0.85;
}
.outlook-preview summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  list-style: none;
  cursor: pointer;
}
.outlook-preview summary::-webkit-details-marker {
  display: none;
}
.outlook-preview summary > span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.outlook-preview summary .i {
  width: 18px;
  height: 18px;
}
.outlook-preview summary strong {
  font-family: var(--font-display);
  font-size: 16px;
}
.outlook-preview summary > .i {
  display: none;
}
.outlook-preview > p.hint {
  font-size: 10.5px;
  margin: 8px 0 18px;
}
.folder-tree .ofolder {
  height: 38px;
  padding: 0 9px;
  font-size: 11px;
  gap: 8px;
  white-space: nowrap;
}
.ofolder .i {
  width: 16px;
  height: 16px;
  color: var(--radiant-royal);
}
.ofolder.is-inbox {
  flex-wrap: wrap;
  height: auto;
  min-height: 44px;
  padding: 9px;
}
.ofolder.is-inbox .i {
  color: var(--night);
}
.ofolder small {
  margin-left: auto;
  font-size: 9px;
  white-space: nowrap;
}
.preview-off {
  opacity: 0.38;
  text-decoration: line-through;
}
.preview-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.preview-explanation {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 18px !important;
}
.preview-footer {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.preview-footer > .hint {
  font-size: 10px;
}
.preview-footer .btn {
  width: 100%;
  font-size: 11px;
  padding: 0 10px;
}
.quiet-guide h3 {
  font-size: 17px;
  margin-bottom: 20px;
}
.quiet-guide > div {
  margin-top: 18px;
}
.quiet-guide strong {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.quiet-guide .i {
  width: 16px;
  height: 16px;
  color: var(--radiant-royal);
}
.quiet-guide p {
  font-size: 11px;
  line-height: 1.8;
  margin: 8px 0 0 24px;
}
.quiet-guide > .link {
  font-size: 11px;
  display: block;
  margin-top: 20px;
}
.categories-note {
  font-size: 12px;
  margin-top: 18px;
}
.folder-comparison {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}
.comparison-card {
  padding: 20px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: white;
}
.comparison-card h3 {
  font-family: var(--font-body);
  font-size: 13px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.comparison-card .i {
  color: var(--radiant-royal);
}
.comparison-card dl {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 10px;
  margin: 16px 0 0;
}
.comparison-card dt,
.comparison-card dd {
  font-size: 11px;
  margin: 0;
}
.folder-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 30px 0 16px;
}
.folder-section-heading h2 {
  font-size: 20px;
}
.folder-section-heading p {
  font-size: 11px;
}
.folder-guide {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 24px;
}
.folder-guide > .icon-box {
  flex: none;
}
.icon-box {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--midnight-blue);
}
.folder-description {
  flex: 1;
  min-width: 0;
}
.folder-description h3 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
}
.folder-description p {
  font-size: 12px;
  margin-top: 7px;
  line-height: 1.7;
}
.folder-description small {
  display: block;
  font-size: 11px;
  margin-top: 7px;
}
.folder-state {
  width: 270px;
  flex: none;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 8px 10px;
  margin: 0;
}
.folder-state dt,
.folder-state dd {
  margin: 0;
  font-size: 11px;
}
.folder-state dd .badge {
  font-size: 10px;
  height: auto;
  min-height: 24px;
  white-space: normal;
  line-height: 1.5;
}
.folder-state dt {
  padding-top: 4px;
}
.folder-guide a {
  font-size: 11px;
}
.folder-state .hint {
  font-size: 10px;
}
.folder-note {
  padding: 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-top: 12px !important;
}
.inbox-note {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.inbox-note h3 {
  font-size: 15px;
}
.inbox-note p {
  font-size: 12px;
  margin-top: 8px;
}
.sender-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.sender-form {
  position: sticky;
  top: 24px;
}
.sender-form h2 {
  margin-bottom: 20px;
}
.sender-form > .field {
  margin: 18px 0;
}
.destination-options {
  display: grid;
  gap: 10px;
  margin: 12px 0 22px;
}
.destination-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: white;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  padding: 14px 16px;
  cursor: pointer;
}
.destination-option:has(input:checked) {
  background: var(--royal-8);
  border: 2px solid var(--radiant-royal);
  padding: 13px 15px;
}
.destination-option input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--radiant-royal);
  flex: none;
}
.destination-option strong {
  font-size: 12px;
  display: block;
}
.destination-option small {
  font-size: 11px;
  display: block;
  margin-top: 3px;
}
.sender-form > .btn {
  width: 100%;
}
.sender-form > .hint {
  margin-top: 14px;
  font-size: 11px;
}
.sender-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.count {
  font-size: 12px;
  color: var(--fg-3);
}
.filters {
  display: flex;
  gap: 4px;
  margin: 16px 0 20px;
  padding: 4px;
  background: var(--silver-phoenix);
  border-radius: 30px;
  overflow-x: auto;
  max-width: 100%;
}
.filter-button {
  border: 0;
  border-radius: 30px;
  background: transparent;
  padding: 10px 15px;
  font-size: 12px;
  white-space: nowrap;
  color: var(--fg-2);
}
.filter-button[aria-pressed="true"] {
  background: #fff;
  color: var(--night);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
}
.filter-button span {
  color: var(--fg-3);
  font-size: 10px;
  margin-left: 5px;
}
.sender-rule {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--heart-of-ice);
  border-radius: 24px;
  padding: 22px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.sender-rule > div.rule-person {
  flex: 1;
  min-width: 0;
}
.sender-rule strong {
  display: block;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.sender-rule .origin {
  font-size: 10.5px;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.rule-edit {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 1 100%;
  padding-left: 54px;
}
.rule-edit select {
  height: 38px;
  font-size: 12px;
  flex: 1;
}
.rule-edit .btn {
  height: 36px;
  padding: 0 14px;
  font-size: 11px;
}
.rule-remove {
  margin-left: auto;
}
.rule-remove .btn {
  height: 36px;
  width: 36px;
}
.rule-warning {
  flex-basis: 100%;
  font-size: 11px;
  color: var(--warn-fg) !important;
  background: var(--warn-bg);
  padding: 10px 14px;
  border-radius: 12px;
}
.activity-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}
.activity-stats > section {
  padding: 20px 24px;
  background: var(--heart-of-ice);
  border-radius: 24px;
}
.activity-stats span {
  font-size: 12px;
  color: var(--fg-3);
}
.activity-stats strong {
  font-family: var(--font-display);
  display: block;
  font-size: 34px;
  line-height: 1.4;
}
.activity-stats small {
  font-size: 10px;
}
.activity-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr);
  gap: 24px;
  align-items: start;
}
.activity-layout h2 {
  margin-bottom: 8px;
}
.action-row {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
.action-row:first-of-type {
  border-top: 0;
}
.action-time {
  display: block;
  font-size: 11px;
  color: var(--fg-3);
  margin-bottom: 10px;
}
.action-title {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 10px;
}
.action-title > .i {
  color: var(--midnight-blue);
}
.action-title strong {
  font-size: 13px;
  display: block;
}
.action-title small {
  display: block;
  font-size: 11px;
  margin-top: 4px;
}
.action-status {
  margin-left: 32px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.action-status .badge {
  font-size: 10px;
  height: auto;
  min-height: 24px;
  white-space: normal;
  line-height: 1.5;
}
.action-row > p.hint {
  font-size: 11px;
  margin: 8px 0 0 32px;
}
.action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0 32px;
  align-items: center;
}
.action-buttons .btn {
  font-size: 11px;
  height: 36px;
  padding: 0 14px;
}
.action-buttons .link {
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.action-buttons .i {
  width: 14px;
  height: 14px;
}
.planned-panel > p {
  font-size: 11px;
}
.planned-panel {
  grid-column: 2;
  grid-row: 1;
}
.recent-panel {
  grid-column: 1;
  grid-row: 1;
}
.company-form {
  max-width: 900px;
}
.company-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.company-row:last-of-type {
  border: 0;
}
.company-row > div {
  flex: 1;
}
.company-row > div > label {
  font-size: 14px;
  font-weight: 600;
}
.company-row p {
  font-size: 12px;
  margin-top: 8px;
}
.company-form > .savebar {
  margin-top: 28px;
}
.bottom-tip {
  margin-top: 24px;
  padding: 24px;
  border-radius: 24px;
  background: var(--royal-8);
  font-size: 13px;
  max-width: 900px;
}
.bottom-tip p {
  font-size: 12px;
  margin-top: 8px;
}
.bottom-tip .btn {
  margin-top: 18px;
}
.simulation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.simulation .panel {
  margin: 0;
}
.simulation .badge {
  margin-bottom: 16px;
}
.simulation h2 {
  font-size: 18px;
  min-height: 52px;
}
.simulation-route {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  margin: 22px 0 12px;
}
.simulation-route > .i {
  color: var(--radiant-royal);
}
.simulation-route small {
  display: block;
  font-size: 10px;
}
.simulation-route strong {
  font-size: 13px;
}
.simulation p {
  font-size: 12px;
}
.simulation-back {
  margin-top: 24px;
}
@media (max-width: 1280px) {
  .reception-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 20px;
  }
  .preview-column > .panel {
    padding: 20px;
  }
  .status-control {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .status-numbers {
    font-size: 10px;
  }
  .folder-state {
    width: 225px;
    grid-template-columns: 80px 1fr;
  }
  .sender-layout {
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 20px;
  }
  .rule-edit {
    padding-left: 0;
  }
}
@media (max-width: 1100px) {
  .reception-layout {
    display: flex;
    flex-direction: column;
  }
  .settings-column {
    width: 100%;
  }
  .preview-column {
    order: -1;
    position: static;
    width: 100%;
  }
  .quiet-guide {
    display: none;
  }
  .preview-column > .panel {
    margin-bottom: 0;
  }
  .outlook-preview summary > .i {
    display: block;
  }
  .outlook-preview .folder-tree {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 16px;
    margin-top: 16px;
  }
  .preview-folders {
    display: contents;
  }
  .outlook-preview > p.hint {
    margin-bottom: 10px;
  }
  .outlook-preview .ofolder {
    font-size: 12px;
  }
  .outlook-preview .ofolder small {
    font-size: 10px;
  }
  .preview-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .preview-footer form {
    flex: 0 0 auto;
  }
  .preview-explanation {
    font-size: 11px !important;
  }
  .status-control {
    flex-direction: row;
    align-items: center;
  }
  .status-numbers {
    max-width: 290px;
    gap: 4px 12px;
  }
  .sender-layout {
    grid-template-columns: 1fr 1.1fr;
  }
  .folder-comparison {
    gap: 10px;
  }
  .comparison-card {
    padding: 16px;
  }
  .comparison-card dl {
    grid-template-columns: 1fr;
  }
  .comparison-card dd {
    margin-bottom: 4px;
  }
  .folder-guide {
    flex-wrap: wrap;
  }
  .folder-state {
    flex-basis: 100%;
    width: auto;
    margin-left: 58px;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-flow: column;
    grid-template-rows: auto auto;
    gap: 4px 16px;
  }
  .activity-layout {
    grid-template-columns: 1fr;
  }
  .planned-panel,
  .recent-panel {
    grid-column: auto;
    grid-row: auto;
  }
  .planned-panel {
    order: -1;
  }
  .activity-layout .panel {
    margin: 0;
  }
}
@media (max-width: 700px) {
  .account-picker {
    padding: 14px;
  }
  .reception-status {
    padding: 22px 18px;
  }
  .reception-status > h2 {
    font-size: 20px;
  }
  .reception-status > p {
    font-size: 12px;
    line-height: 1.7;
  }
  .status-control {
    flex-direction: column;
    align-items: stretch;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    margin: 20px 0 14px;
  }
  .status-control form {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 12px;
    gap: 12px;
  }
  .status-control strong {
    font-size: 12px;
  }
  .status-numbers {
    padding: 2px 0;
    max-width: none;
    gap: 12px;
    align-items: flex-end;
  }
  .status-numbers > span:not(.badge) {
    flex: 1;
    font-size: 9px;
    line-height: 1.5;
    max-width: 90px;
  }
  .status-numbers b {
    display: block;
    font-size: 20px;
    font-family: var(--font-display);
    font-weight: 700;
  }
  .status-numbers .badge {
    font-size: 9px;
    flex: none;
  }
  .readiness {
    padding: 0 12px;
    border-radius: 16px;
  }
  .readiness summary {
    font-size: 11px;
    gap: 10px;
  }
  .readiness summary .hint {
    white-space: normal;
    font-size: 10px;
    width: 54px;
    flex: none;
    text-align: right;
  }
  .readiness summary .i {
    display: none;
  }
  .readiness li {
    font-size: 11px;
  }
  .readiness li small {
    display: none;
  }
  .readiness ul {
    gap: 14px;
  }
  .status-kicker .hint {
    font-size: 10px;
  }
  .mode-options {
    grid-template-columns: 1fr;
  }
  .mode-option {
    padding: 16px;
  }
  .mode-option:has(input:checked) {
    padding: 15px;
  }
  .mode-option p {
    font-size: 12px;
  }
  .mode-option small {
    font-size: 10.5px;
  }
  .mode-option > span {
    font-size: 13px;
  }
  .settings-column {
    gap: 18px;
  }
  .feature-symbol {
    display: none;
  }
  .feature-row {
    padding: 20px 0;
    gap: 16px;
  }
  .feature-title {
    font-size: 13px;
  }
  .feature-copy p {
    font-size: 12px;
  }
  .feature-copy small {
    font-size: 10.5px;
  }
  .folder-caption {
    font-size: 10px;
  }
  .feature-state .badge {
    font-size: 10px;
  }
  .toggle {
    width: 42px;
    height: 25px;
  }
  .toggle-track:after {
    width: 19px;
    height: 19px;
  }
  .toggle input:checked + .toggle-track:after {
    transform: translateX(17px);
  }
  .toggle input {
    width: 54px;
    height: 37px;
  }
  .schedule-fields {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .stepper-field {
    gap: 8px;
  }
  .stepper-field > .hint {
    font-size: 10px;
  }
  .section-intro {
    font-size: 12px;
  }
  .context-footer {
    flex-direction: column;
    gap: 8px;
  }
  .context-footer .counter {
    text-align: right;
  }
  .preview-column {
    margin-bottom: 0;
  }
  .preview-column > .panel {
    padding: 18px;
  }
  .outlook-preview summary strong {
    font-family: var(--font-body);
    font-size: 12px;
  }
  .outlook-preview summary > span > .i {
    width: 16px;
  }
  .outlook-preview > p.hint {
    font-size: 10px;
  }
  .outlook-preview .folder-tree {
    display: block;
  }
  .outlook-preview .ofolder {
    height: 34px;
  }
  .preview-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .preview-footer .hint {
    font-size: 10px;
  }
  .savebar {
    bottom: calc(76px + env(safe-area-inset-bottom));
    margin: 0 -10px;
    padding: 10px 10px 10px 16px;
    gap: 8px;
    border-radius: 28px;
  }
  .savebar strong {
    font-size: 10px;
  }
  .savebar small {
    font-size: 9px;
    line-height: 1.4;
  }
  .savebar .btn {
    padding: 0 12px;
    font-size: 11px;
    height: 36px;
  }
  .savebar .btn[type="reset"] {
    font-size: 10px;
    padding: 0 10px;
  }
  .savebar > div {
    max-width: 50%;
  }
  .folder-comparison {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .comparison-card dl {
    grid-template-columns: 1fr 1.3fr;
    gap: 8px;
  }
  .comparison-card {
    padding: 18px;
  }
  .folder-section-heading {
    display: block;
  }
  .folder-section-heading h2 {
    font-size: 19px;
  }
  .folder-section-heading p {
    margin-top: 8px;
    line-height: 1.7;
  }
  .folder-guide {
    padding: 22px 18px;
    gap: 12px;
  }
  .folder-guide > .icon-box {
    width: 32px;
    height: 32px;
    border-radius: 10px;
  }
  .folder-guide .icon-box .i {
    width: 18px;
    height: 18px;
  }
  .folder-state {
    margin: 4px 0 0 44px;
    grid-template-columns: 85px 1fr;
    grid-auto-flow: row;
    grid-template-rows: auto;
    gap: 8px;
  }
  .folder-state dt {
    font-size: 10px;
  }
  .folder-description h3 {
    font-size: 13px;
  }
  .folder-description p {
    font-size: 12px;
  }
  .sender-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .sender-layout > * {
    width: 100%;
  }
  .sender-form {
    position: static;
  }
  .sender-form .destination-option strong {
    font-size: 13px;
  }
  .destination-option small {
    font-size: 11px;
  }
  .sender-rule {
    padding: 20px;
    gap: 12px;
  }
  .sender-rule strong {
    font-size: 12px;
  }
  .sender-rule > .icon-box {
    width: 32px;
    height: 32px;
  }
  .rule-edit {
    padding: 0;
  }
  .rule-edit select {
    font-size: 12px;
    padding-left: 12px;
  }
  .filters {
    margin-top: 14px;
  }
  .filter-button {
    font-size: 12px;
    padding: 10px 14px;
  }
  .activity-stats {
    gap: 10px;
    margin-bottom: 20px;
  }
  .activity-stats > section {
    padding: 16px 12px;
    border-radius: 20px;
  }
  .activity-stats span {
    font-size: 10px;
    line-height: 1.5;
    display: block;
    min-height: 30px;
  }
  .activity-stats strong {
    font-size: 28px;
  }
  .activity-stats small {
    font-size: 9px;
  }
  .action-title strong {
    font-size: 12px;
  }
  .action-status,
  .action-buttons,
  .action-row > p.hint {
    margin-left: 0;
  }
  .action-buttons {
    gap: 10px;
  }
  .planned-panel {
    order: -1;
  }
  .company-row {
    gap: 14px;
  }
  .company-row > div > label {
    font-size: 13px;
  }
  .company-row p {
    font-size: 11px;
  }
  .company-form .savebar > div {
    max-width: none;
  }
  .simulation {
    grid-template-columns: 1fr;
  }
  .simulation h2 {
    min-height: 0;
  }
  .bottom-tip {
    font-size: 12px;
    padding: 20px;
  }
  .bottom-tip p {
    font-size: 11px;
  }
}
/* Grid children may shrink; filter rails scroll inside their own panels. */
.activity-layout > * {
  min-width: 0;
}
.folder-state > * {
  min-width: 0;
}
.folder-state .badge {
  max-width: 100%;
}
@media (max-width: 1100px) {
  .folder-state {
    flex-basis: calc(100% - 58px);
  }
}
@media (max-width: 700px) {
  .folder-state {
    flex-basis: calc(100% - 44px);
  }
}
.setup-dialog {
  max-width: 640px;
}
.setup-progress {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 20px 0 28px;
}
.setup-progress li {
  flex: 1;
  background: var(--silver-phoenix);
  border-radius: 30px;
  text-align: center;
  padding: 8px 4px;
  font-size: 10px;
  color: var(--fg-3);
}
.setup-progress [aria-current="step"] {
  background: var(--radiant-royal-40);
  color: var(--midnight-blue);
  font-weight: 600;
}
.setup-dialog section > p {
  margin: 14px 0;
  font-size: 13px;
}
.setup-dialog .workspace-box {
  margin-top: 20px;
}
.setup-dialog .workspace-box strong {
  overflow-wrap: anywhere;
}
.setup-dialog .workspace-box div {
  min-width: 0;
}
.setup-summary {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  margin: 18px 0;
}
.setup-summary strong {
  display: block;
  margin-bottom: 8px;
}
.setup-summary p {
  font-size: 13px;
}
.setup-summary ul {
  padding-left: 20px;
  font-size: 13px;
  line-height: 1.9;
}
.section-heading:has([data-setup-open]) {
  flex-wrap: wrap;
}
.section-heading [data-setup-open] {
  font-size: 11px;
  height: 30px;
  padding: 0 10px;
  margin-left: auto;
}
@media (max-width: 700px) {
  .setup-progress {
    gap: 5px;
  }
  .setup-progress li {
    font-size: 9px;
  }
  .setup-dialog .company-row {
    padding: 18px 0;
  }
}
@media (min-width: 701px) and (max-width: 900px) {
  .sender-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .sender-form {
    position: static;
  }
  .sender-form .destination-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
