.nav-logout { display: inline-flex; margin: 0; }
.nav-logout button { border: 0; padding: 0; background: transparent; color: var(--ink-soft); cursor: pointer; font-size: 13px; font-weight: 650; }
.nav-logout button:hover { color: var(--ink); }
.news-demo-banner { display: flex; min-height: 42px; align-items: center; justify-content: center; gap: 10px; padding: 8px 16px; background: #183a30; color: #fffdf7; font-size: 11px; font-weight: 750; letter-spacing: .035em; text-align: center; }
.news-demo-banner span { color: #e78955; font-size: 9px; }
.news-mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.news-mode-card { display: flex; min-height: 325px; flex-direction: column; align-items: flex-start; border: 1px solid #d5dfd0; border-radius: 27px; background: #fffdf7; padding: 30px; box-shadow: 0 15px 45px rgb(49 80 57 / 5%); }
.news-mode-card.happy { background: #183a30; color: #fffdf7; }
.news-mode-icon { display: grid; width: 48px; height: 48px; place-items: center; margin-bottom: 24px; border-radius: 16px; background: #e8eedc; color: #63804d; font-size: 24px; }
.news-mode-card.happy .news-mode-icon { background: #c9dc71; color: #183a30; }
.news-mode-card h3 { margin: 12px 0 0; font-size: 31px; }
.news-mode-card p { flex: 1; color: #647669; font-size: 14px; line-height: 1.8; }
.news-mode-card.happy p { color: #d2dfd3; }

.news-shell { width: min(1040px, calc(100% - 40px)); margin: 48px auto 86px; }
.news-eyebrow { color: #e78955; font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.news-display { color: #183a30; font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif; font-weight: 500; letter-spacing: -.045em; }
.news-eyebrow + .news-display { margin-top: 9px; }
.news-display em { color: #63804d; font-weight: 500; }
.news-muted { color: #687a6d; }
.news-page-heading { max-width: 720px; margin-bottom: 30px; }
.news-page-heading h1 { margin: 10px 0 12px; font-size: clamp(42px, 6vw, 62px); line-height: 1; }
.news-page-heading p { max-width: 650px; color: #62766a; line-height: 1.8; }
.news-panel { border: 1px solid #e1e6db; border-radius: 25px; background: #fffdf7; padding: clamp(20px, 4vw, 30px); box-shadow: 0 15px 45px rgb(49 80 57 / 5%); }
.news-button { display: inline-flex; min-height: 43px; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 999px; padding: 10px 18px; background: #183a30; color: #fffdf7; cursor: pointer; font-size: 13px; font-weight: 750; text-decoration: none; transition: transform .18s, background .18s; }
.news-button:hover { transform: translateY(-1px); background: #355844; }
.news-button:disabled { cursor: not-allowed; opacity: .55; transform: none; }
.news-button-coral { background: #e78955; }
.news-button-coral:hover { background: #d77949; }
.news-button-leaf { background: #c9dc71; color: #183a30; }
.news-button-leaf:hover { background: #d6e78b; }
.news-button-outline { border-color: #cfd9cc; background: transparent; color: #183a30; }
.news-button-outline:hover { background: #f0f1e6; }
.news-text-link { display: inline-flex; align-items: center; gap: 6px; color: #63804d; font-size: 13px; font-weight: 700; text-decoration: none; }
.news-text-link:hover { color: #183a30; text-decoration: underline; }
.news-optional { color: #879387; font-size: 11px; font-weight: 400; }
.news-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); clip-path: inset(50%); white-space: nowrap; }

.news-auth-layout { display: grid; grid-template-columns: 1fr minmax(330px, .86fr); align-items: center; gap: 54px; }
.news-auth-aside { max-width: 490px; }
.news-auth-aside h1 { margin: 16px 0; font-size: clamp(42px, 5.5vw, 64px); line-height: .99; }
.news-auth-aside > p { color: #62766a; font-size: 15px; line-height: 1.8; }
.news-auth-note { margin-top: 24px; border-inline-start: 3px solid #e78955; background: #f0f1e6; padding: 14px 16px; color: #48665b; font-size: 12px; line-height: 1.7; }
.news-auth-note strong { color: #183a30; }
.news-panel h2 { margin: 8px 0 4px; font-size: 30px; }
.news-form { display: grid; gap: 9px; margin-top: 22px; }
.news-form label, .news-field label, .news-review-form > label { margin-top: 8px; color: #355844; font-size: 12px; font-weight: 750; }
.news-form input, .news-field input, .news-field select, .news-review-form textarea, .news-review-form select {
  width: 100%; min-height: 45px; border: 1px solid #d5dfd0; border-radius: 11px; background: #fffefb; padding: 10px 12px; color: #183a30; font: inherit; font-size: 13px;
}
.news-form input:focus, .news-field input:focus, .news-field select:focus, .news-review-form textarea:focus, .news-review-form select:focus { border-color: #82977b; outline: 3px solid rgb(201 220 113 / 35%); }
.news-form .news-button { width: 100%; margin-top: 12px; }
.news-auth-switch { margin: 20px 0 0; color: #718074; font-size: 13px; text-align: center; }
.news-auth-switch a { color: #63804d; font-weight: 750; }

.news-dashboard-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.news-dashboard-header h1 { margin: 9px 0 1px; font-size: clamp(40px, 6vw, 58px); line-height: 1; }
.news-dashboard-header p { margin: 5px 0; font-size: 13px; }
.news-dashboard-intro { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; margin-bottom: 19px; background: #f0f1e6; }
.news-dashboard-intro > .news-saved-summary { flex-basis: 100%; font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; }
.news-dashboard-intro [data-saved-profile-groups] { margin: 8px 0 0; padding-inline-start: 18px; }
.news-dashboard-intro h2 { max-width: 500px; font-size: 30px; line-height: 1.1; }
.news-dashboard-intro p { max-width: 590px; font-size: 13px; line-height: 1.7; }
.news-preference-summary { display: grid; min-width: 160px; gap: 9px; border-inline-start: 1px solid #d3ddce; padding-inline-start: 22px; color: #687a6d; font-size: 11px; }
.news-preference-summary span { display: flex; justify-content: space-between; gap: 15px; }
.news-preference-summary strong { color: #183a30; }
.news-dashboard-columns { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 18px; }
.news-happy-panel { background: #fbfcf6; }
.news-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 16px; }
.news-section-heading h2 { margin: 6px 0 0; font-size: 28px; }
.news-story-card { border-top: 1px solid #e8eadf; padding: 15px 0; }
.news-story-kicker, .news-source-label { color: #82907f; font-size: 10px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.news-story-card h3 { margin: 6px 0 5px; font-size: 21px; line-height: 1.18; }
.news-story-card p, .news-feed-story > p { margin: 6px 0; color: #65776a; font-size: 13px; line-height: 1.7; }
.news-story-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 13px; }
.news-story-actions form { margin: 0; }
.news-save-button { border: 0; background: none; color: #63804d; cursor: pointer; font-size: 12px; font-weight: 750; }
.news-save-button:hover { color: #183a30; text-decoration: underline; }
.news-card-action { margin-top: 10px; }
.news-empty { color: #65776a; font-size: 13px; line-height: 1.7; }
.news-empty .news-display { margin: 0 0 8px; font-size: 27px; }

.news-preferences-form { padding: clamp(20px, 4vw, 36px); }
.news-form-section { display: grid; grid-template-columns: 42px 1fr; align-items: start; gap: 5px 14px; padding-block: 25px; border-bottom: 1px solid #e8eadf; }
.news-form-section:first-of-type { padding-top: 0; }
.news-form-section > .news-display, .news-form-section > div:not(.news-category-grid):not(.news-assistant):not(.news-preference-columns):not(.news-settings-grid):not(.news-toggle-grid):not(.news-password-form) { grid-column: 2; }
.news-step { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 13px; background: #e8eedc; color: #48665b; font: italic 17px Georgia, serif; }
.news-form-section h2 { margin: 1px 0 2px; font-size: 26px; }
.news-form-section p { margin: 4px 0 12px; font-size: 12px; }
.news-category-grid, .news-assistant, .news-preference-columns, .news-settings-grid, .news-toggle-grid { grid-column: 2; }
.news-category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin-top: 10px; }
.news-check-card { display: flex; min-height: 49px; align-items: center; gap: 9px; border: 1px solid #dfe6d8; border-radius: 12px; background: #fffefb; padding: 10px; color: #48665b; cursor: pointer; font-size: 12px; font-weight: 650; transition: border-color .15s, background .15s; }
.news-check-card:has(input:checked) { border-color: #82977b; background: #f0f3e8; color: #183a30; }
.news-check-card input { position: absolute; opacity: 0; }
.news-checkmark { display: grid; width: 20px; height: 20px; flex: 0 0 auto; place-items: center; border: 1px solid #cfd9cc; border-radius: 6px; color: transparent; font-size: 12px; }
.news-check-card input:checked + .news-checkmark { border-color: #63804d; background: #63804d; color: white; }
.news-check-card input:focus-visible + .news-checkmark { outline: 3px solid #e78955; outline-offset: 2px; }
.news-assistant { margin: 10px 0 16px; border: 1px solid #dbe4d4; border-radius: 17px; background: #f7f8f0; padding: 17px; }
.news-assistant-heading { display: flex; align-items: flex-start; gap: 11px; }
.news-assistant-heading > span { display: grid; width: 35px; height: 35px; flex: 0 0 auto; place-items: center; border-radius: 12px; background: #e8eedc; color: #63804d; font-size: 19px; }
.news-assistant-heading strong { color: #183a30; font-size: 13px; }
.news-assistant-heading p { margin: 4px 0 12px; color: #718074; font-size: 11px; line-height: 1.6; }
.news-demo-tag { display: inline-flex; border-radius: 99px; background: #f7e6d8; padding: 4px 8px; color: #975331; font-size: 9px; font-weight: 850; letter-spacing: .1em; }
.news-assistant-row, .news-chip-entry { display: flex; gap: 8px; }
.news-assistant-row input, .news-chip-entry input { min-width: 0; min-height: 44px; flex: 1; border: 1px solid #d5dfd0; border-radius: 99px; background: #fffefb; padding: 9px 14px; color: #183a30; font: inherit; font-size: 16px; }
.news-assistant-status { min-height: 18px; margin-top: 8px; color: #63804d; font-size: 11px; }
.news-assistant-result { margin-top: 8px; border: 1px solid #e2e8da; border-radius: 13px; background: #fffdf7; padding: 13px; }
.news-assistant-result[hidden] { display: none; }
.news-assistant-result > p { color: #48665b; font-size: 12px; }
.news-assistant-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 12px 0; }
.news-assistant-columns > div { border-radius: 10px; background: #f2f3e9; padding: 10px; }
.news-assistant-columns strong { color: #183a30; font-size: 10px; }
.news-assistant-columns ul { margin: 5px 0 0; padding-inline-start: 16px; color: #647669; font-size: 11px; overflow-wrap: anywhere; }
.news-assistant-result .news-button { min-height: 38px; font-size: 11px; }
.news-preference-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.news-chip-field > label { display: block; margin: 0 0 7px; color: #355844; font-size: 12px; font-weight: 750; }
.news-chip-entry > button { width: 43px; height: 43px; flex: 0 0 auto; border: 0; border-radius: 50%; background: #183a30; color: white; cursor: pointer; font-size: 21px; }
.news-chip-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.news-chip { display: inline-flex; max-width: 100%; align-items: center; gap: 7px; border-radius: 99px; background: #e8eedc; padding: 5px 6px 5px 11px; color: #355844; font-size: 11px; font-weight: 650; }
.news-chip.excluded { background: #f7e6d8; color: #864b31; }
.news-chip > span { overflow-wrap: anywhere; }
.news-chip > button { width: 23px; height: 23px; flex: 0 0 auto; border: 0; border-radius: 50%; background: rgb(24 58 48 / 9%); color: currentColor; cursor: pointer; font-size: 15px; }
.news-settings-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-top: 10px; }
.news-field { display: grid; gap: 6px; }
.news-toggle-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 17px; }
.news-toggle { display: flex; align-items: center; gap: 10px; border: 1px solid #dfe6d8; border-radius: 13px; background: #fffefb; padding: 12px; cursor: pointer; }
.news-toggle input { width: 17px; height: 17px; accent-color: #63804d; }
.news-toggle strong, .news-toggle small { display: block; }
.news-toggle strong { color: #183a30; font-size: 12px; }
.news-toggle small { margin-top: 2px; color: #718074; font-size: 10px; }
.news-form-actions { display: flex; align-items: center; gap: 16px; padding-top: 20px; }
.news-password-form { display: grid; grid-column: 2; gap: 8px; }
.news-password-form .news-field { max-width: 450px; }
.news-password-form .news-button { justify-self: start; margin-top: 7px; }
.news-password-panel { margin-top: 20px; }

.news-feed-list { display: grid; gap: 13px; }
.news-feed-story h2 { margin: 9px 0; font-size: 28px; line-height: 1.1; }
.news-story-topline { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.news-story-topline .news-demo-tag { margin-inline-start: auto; }
.news-article-page { max-width: 820px; margin-inline: auto; }
.news-article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 30px; color: #82907f; font-size: 11px; }
.news-article-page h1 { margin: 13px 0; font-size: clamp(38px, 6vw, 60px); line-height: 1.02; }
.news-article-summary { color: #536c5e; font-size: 17px; line-height: 1.8; white-space: pre-line; }
.news-demo-disclaimer { margin-top: 25px; border-radius: 12px; background: #f7e6d8; padding: 12px 14px; color: #81492f; font-size: 11px; line-height: 1.65; }

.news-newsletter-cover { margin-bottom: 20px; border-radius: 25px; background: #183a30; padding: clamp(25px, 6vw, 45px); color: #fffdf7; }
.news-newsletter-cover .news-display { margin: 12px 0; color: #fffdf7; font-size: clamp(40px, 6vw, 61px); line-height: .99; }
.news-newsletter-cover .news-display em { color: #c9dc71; }
.news-newsletter-cover p { color: #d2dfd3; font-size: 13px; }
.news-newsletter-cover .news-text-link { color: #c9dc71; }
.news-newsletter { border: 1px solid #e1e6db; border-radius: 25px; background: #fffdf7; padding: 10px 28px; }
.news-newsletter-story { border-bottom: 1px solid #e8eadf; padding: 22px 0; }
.news-newsletter-story:last-child { border-bottom: 0; }
.news-newsletter-story h2 { margin: 8px 0; font-size: 27px; line-height: 1.15; }
.news-newsletter-story h2 a { color: #183a30; text-decoration: none; }
.news-newsletter-story h2 a:hover { color: #63804d; }
.news-newsletter-story p { color: #62766a; font-size: 13px; line-height: 1.75; }

.news-admin-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: none; }
.news-admin-heading h1 { font-size: clamp(39px, 6vw, 58px); }
.news-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin-bottom: 35px; }
.news-stat-card { display: grid; gap: 5px; border: 1px solid #e1e6db; border-radius: 15px; background: #fffdf7; padding: 15px; }
.news-stat-card span { color: #718074; font-size: 10px; font-weight: 750; text-transform: uppercase; }
.news-stat-card strong { color: #183a30; font: 26px Georgia, serif; }
.news-admin-section { margin-top: 32px; }
.news-admin-section h2 { margin: 5px 0 0; font-size: 28px; }
.news-admin-article-list { display: grid; gap: 13px; margin-top: 16px; }
.news-admin-article h3 { margin: 10px 0; font-size: 23px; }
.news-review-form { display: grid; gap: 8px; margin-top: 15px; border-top: 1px solid #e8eadf; padding-top: 13px; }
.news-review-form textarea { min-height: 94px; resize: vertical; }
.news-review-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.news-review-actions > label { color: #355844; font-size: 11px; font-weight: 750; }
.news-review-actions select { width: auto; min-width: 140px; min-height: 40px; padding: 7px 10px; }
.news-review-status { margin-inline-start: auto; border-radius: 99px; background: #f0f1e6; padding: 4px 9px; color: #48665b; font-size: 10px; font-weight: 750; }
.news-edition-list { overflow: hidden; border: 1px solid #e1e6db; border-radius: 16px; background: #fffdf7; }
.news-edition-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid #e8eadf; padding: 13px 16px; }
.news-edition-row:last-child { border-bottom: 0; }
.news-edition-row > div { display: grid; gap: 3px; }
.news-edition-row strong { color: #183a30; font-size: 13px; }
.news-edition-row span { color: #718074; font-size: 10px; }

@media (max-width: 860px) {
  .news-category-grid { grid-template-columns: repeat(2, 1fr); }
  .news-auth-layout { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 650px) {
  .news-demo-banner { font-size: 10px; line-height: 1.5; }
  .nav-links > a.nav-dashboard, .nav-links > a.nav-saved { display: inline-flex; }
  .nav-links { gap: 10px; }
  .news-mode-grid, .news-auth-layout, .news-dashboard-columns, .news-dashboard-intro, .news-preference-columns { grid-template-columns: 1fr; }
  .news-dashboard-intro { display: grid; }
  .news-preference-summary { border-top: 1px solid #d3ddce; border-inline-start: 0; padding-top: 12px; padding-inline-start: 0; }
  .news-dashboard-header, .news-admin-heading { align-items: flex-start; flex-direction: column; }
  .news-form-section { grid-template-columns: 34px minmax(0, 1fr); gap: 7px 10px; }
  .news-category-grid, .news-assistant, .news-preference-columns, .news-settings-grid, .news-toggle-grid, .news-password-form { grid-column: 1 / -1; min-width: 0; }
  .news-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-check-card { min-width: 0; overflow-wrap: anywhere; }
  .news-assistant-row { flex-direction: column; }
  .news-assistant-result .news-button { max-width: 100%; white-space: normal; text-align: center; }
  .news-step { width: 32px; height: 32px; border-radius: 11px; font-size: 15px; }
  .news-form-section h2 { font-size: 23px; }
  .news-assistant-columns { grid-template-columns: 1fr; }
  .news-preference-columns, .news-settings-grid, .news-toggle-grid { grid-template-columns: minmax(0, 1fr); }
  .news-shell { margin-block: 32px 60px; }
  .news-form-actions { flex-wrap: wrap; }
  .news-edition-row { align-items: flex-start; flex-direction: column; gap: 7px; }
  .news-review-actions { align-items: stretch; flex-direction: column; }
  .news-review-actions select { width: 100%; }
}
@media (max-width: 380px) {
  .nav-inner { flex-wrap: wrap; gap: 12px; padding-block: 14px; }
  .nav-links { flex-wrap: wrap; }
}

/* Personal interest profile and transparent assistant review */
.news-assistant { margin-top: 12px; border-color: #d8e2d0; background: #f5f7ee; }
.news-assistant-heading > .news-assistant-mark { display: grid; width: 35px; height: 35px; flex: 0 0 auto; place-items: center; border: 1px solid #cdd9c3; border-radius: 12px 12px 12px 4px; background: #e7eddc; color: #355844; font: italic 19px Georgia, serif; }
.news-assistant-history { display: grid; max-height: 255px; gap: 8px; overflow: auto; margin-block: 10px 12px; padding: 2px 2px 4px; }
.news-chat-bubble { max-width: 91%; border: 1px solid #e1e7d8; border-radius: 13px 13px 13px 4px; background: #fffdf7; padding: 10px 12px; }
.news-chat-bubble.user { justify-self: end; border-color: #d4deca; border-radius: 13px 13px 4px 13px; background: #e9efdf; }
.news-chat-bubble strong { color: #63804d; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.news-chat-bubble p { margin: 3px 0 0; color: #405d4d; font-size: 12px; line-height: 1.55; overflow-wrap: anywhere; }
.news-privacy-line { margin: 8px 0 0; color: #66796b; font-size: 13px; line-height: 1.5; }
.news-assistant-disclosure { margin-top: 9px; color: #788276; font-size: 10px; line-height: 1.55; }
.news-assistant-result { border-color: #dce4d5; padding: 15px; }
.news-assistant-noticed { border-inline-start: 2px solid #e78955; padding-inline-start: 12px; }
.news-assistant-noticed > p { margin: 8px 0 0; color: #425e4e; font-size: 13px; line-height: 1.65; }
.news-assistant-columns { align-items: stretch; }
.news-assistant-columns > div { min-width: 0; }
.news-assistant-columns ul, .news-assistant-observations ul { overflow-wrap: anywhere; line-height: 1.55; }
.news-assistant-observations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 12px 0; }
.news-assistant-observations > div { min-width: 0; border-top: 1px solid #e7eadf; padding: 9px 7px 0; }
.news-assistant-observations strong { color: #48665b; font-size: 10px; }
.news-assistant-observations ul { margin: 5px 0; padding-inline-start: 15px; color: #69786b; font-size: 10px; }
.news-assistant-followup { margin: 12px 0; border-radius: 12px; background: #f4f0e4; padding: 12px; }
.news-assistant-followup[hidden], .news-assistant-observations [hidden] { display: none; }
.news-followup-question { margin: 0 0 9px; color: #355844; font-size: 12px; font-weight: 750; line-height: 1.5; }
.news-followup-options { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 8px; }
.news-followup-option { max-width: 100%; min-height: 44px; border: 1px solid #d3ddca; border-radius: 99px; background: #fffdf7; padding: 7px 14px; color: #48665b; cursor: pointer; font: inherit; font-size: 11px; }
.news-followup-option:hover { border-color: #82977b; background: #eef2e5; }
.news-assistant-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 15px; }
.news-text-button { border: 0; background: transparent; padding: 8px 2px; color: #63804d; cursor: pointer; font: inherit; font-size: 11px; font-weight: 750; text-align: start; }
.news-text-button:hover { color: #183a30; text-decoration: underline; }
.news-assistant-reset { margin: 8px 0 0; }
.news-interest-editor { grid-column: 2; margin: 8px 0 10px; border: 1px solid #e1e6db; border-radius: 17px; background: #fbfcf6; padding: clamp(14px, 3vw, 20px); }
.news-interest-editor-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.news-interest-editor-heading h3 { margin: 5px 0 4px; color: #183a30; font: 500 clamp(21px, 3vw, 27px)/1.12 "Iowan Old Style", "Palatino Linotype", Georgia, serif; letter-spacing: -.035em; }
.news-interest-editor-heading p { max-width: 560px; margin: 0; font-size: 11px; line-height: 1.65; }
.news-editor-kicker { color: #e78955; font-size: 9px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.news-profile-count { flex: 0 0 auto; border-radius: 99px; background: #e8eedc; padding: 6px 9px; color: #48665b; font-size: 10px; font-weight: 750; }
.news-interest-list { display: grid; gap: 10px; }
.news-interest-card { min-width: 0; border: 1px solid #e1e7d9; border-radius: 13px; background: #fffefb; padding: 13px; }
.news-interest-card-top { display: flex; align-items: end; justify-content: space-between; gap: 9px; }
.news-interest-title { min-width: 0; flex: 1; }
.news-interest-title label, .news-interest-meta > label, .news-add-topic > label { display: grid; gap: 5px; color: #48665b; font-size: 10px; font-weight: 750; }
.news-interest-title input, .news-interest-meta input, .news-interest-meta select, .news-facet-add input, .news-add-topic input, .news-global-exclusions input { width: 100%; min-width: 0; min-height: 44px; border: 1px solid #dbe2d4; border-radius: 9px; background: #fffdf7; padding: 8px 10px; color: #183a30; font: inherit; font-size: 16px; }
.news-interest-title input:focus, .news-interest-meta input:focus, .news-interest-meta select:focus, .news-facet-add input:focus, .news-add-topic input:focus, .news-global-exclusions input:focus { border-color: #82977b; outline: 3px solid rgb(201 220 113 / 30%); }
.news-remove-topic { flex: 0 0 auto; border: 0; background: transparent; padding: 8px 2px; color: #a35c3a; cursor: pointer; font-size: 10px; font-weight: 750; }
.news-remove-topic:hover { text-decoration: underline; }
.news-interest-meta { display: grid; grid-template-columns: 1.2fr 1.4fr .8fr auto; align-items: end; gap: 8px; margin-top: 10px; }
.news-interest-confirmed { display: flex !important; min-height: 38px; align-items: center; gap: 6px !important; white-space: nowrap; }
.news-interest-confirmed input { width: 16px !important; min-height: 16px !important; accent-color: #63804d; }
.news-facet-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 13px; }
.news-facet { min-width: 0; border-radius: 10px; background: #f5f6ee; padding: 9px; }
.news-facet > strong { display: block; margin-bottom: 6px; color: #617563; font-size: 9px; letter-spacing: .04em; text-transform: uppercase; }
.news-profile-tags { display: flex; min-height: 22px; flex-wrap: wrap; gap: 5px; }
.news-profile-tag { display: inline-flex; max-width: 100%; align-items: center; gap: 5px; border: 1px solid #e0e6d8; border-radius: 99px; background: #fffdf7; padding: 3px 4px 3px 8px; color: #48665b; font-size: 10px; }
.news-profile-tag > span { min-width: 0; overflow-wrap: anywhere; }
.news-profile-tag button { display: grid; width: 20px; height: 20px; flex: 0 0 auto; place-items: center; border: 0; border-radius: 50%; background: #e9ede3; color: #5e7564; cursor: pointer; font-size: 14px; }
.news-profile-empty { color: #8a9486; font-size: 10px; font-style: italic; }
.news-facet-add { display: flex; gap: 5px; margin-top: 7px; }
.news-facet-add input { min-height: 44px; padding: 6px 8px; font-size: 16px; }
.news-facet-add button, .news-add-topic .news-chip-entry > button, .news-global-exclusions .news-chip-entry > button { min-width: 45px; border: 0; border-radius: 99px; background: #e8eedc; padding: 6px 10px; color: #355844; cursor: pointer; font-size: 10px; font-weight: 750; }
.news-facet-add button:hover, .news-add-topic .news-chip-entry > button:hover, .news-global-exclusions .news-chip-entry > button:hover { background: #dce7c9; }
.news-profile-empty-state { display: grid; gap: 4px; border: 1px dashed #d5dfd0; border-radius: 12px; padding: 18px; color: #48665b; font-size: 11px; }
.news-profile-empty-state span { color: #718074; }
.news-add-topic { max-width: 620px; margin-top: 14px; }
.news-add-topic > label { margin-bottom: 6px; }
.news-add-topic .news-chip-entry, .news-global-exclusions .news-chip-entry { align-items: center; }
.news-global-exclusions { display: grid; grid-template-columns: minmax(150px, .8fr) minmax(0, 1fr); gap: 8px 18px; align-items: center; margin-top: 17px; border-top: 1px solid #e5e9df; padding-top: 14px; }
.news-global-exclusions > div:first-child strong { color: #355844; font-size: 11px; }
.news-global-exclusions > div:first-child p { margin: 3px 0 0; color: #7a877a; font-size: 10px; }
.news-global-exclusions .news-profile-tags { grid-column: 2; }
.news-profile-notice { min-height: 16px; margin-top: 7px; color: #63804d; font-size: 10px; line-height: 1.5; }

@media (max-width: 650px) {
  .news-interest-editor { grid-column: 1 / -1; min-width: 0; }
  .news-interest-meta { grid-template-columns: 1fr 1fr; }
  .news-interest-confirmed { white-space: normal; }
  .news-facet-grid { grid-template-columns: 1fr; }
  .news-assistant-observations { grid-template-columns: 1fr; gap: 2px; }
  .news-assistant-observations > div { padding: 7px 2px 0; }
  .news-global-exclusions { grid-template-columns: 1fr; }
  .news-global-exclusions .news-profile-tags { grid-column: 1; }
  .news-interest-editor-heading { align-items: flex-start; }
}
@media (max-width: 380px) {
  .news-assistant, .news-interest-editor { padding: 13px; }
  .news-interest-card { padding: 10px; }
  .news-interest-card-top { align-items: flex-start; flex-direction: column; }
  .news-interest-title, .news-interest-title label, .news-interest-title input { width: 100%; }
  .news-remove-topic { align-self: flex-end; padding-block: 2px; }
  .news-interest-meta { grid-template-columns: 1fr; }
  .news-interest-confirmed { min-height: 30px; }
  .news-assistant-actions { align-items: flex-start; flex-direction: column; }
  .news-add-topic .news-chip-entry, .news-global-exclusions .news-chip-entry { align-items: stretch; flex-direction: column; }
  .news-add-topic .news-chip-entry > button, .news-global-exclusions .news-chip-entry > button { min-height: 38px; }
}
/* ---- Usability pass ---- */
.news-shell { overflow-wrap: anywhere; }
.news-shell img, .news-shell select, .news-shell input, .news-shell textarea { max-width: 100%; }
.news-page-heading p { font-size: 15px; }
.news-page-heading .news-text-link { margin: 4px 16px 0 0; min-height: 36px; }
.news-text-link, .news-save-button { min-height: 36px; }
.news-save-button { padding: 8px 2px; }
.news-button:focus-visible, .news-text-link:focus-visible, .news-save-button:focus-visible, .news-text-button:focus-visible, .nav-logout button:focus-visible { outline: 3px solid #e78955; outline-offset: 3px; border-radius: 6px; }
.news-button:disabled, .news-save-button:disabled, .news-text-button:disabled, button:disabled { cursor: not-allowed; opacity: .55; transform: none; text-decoration: none; }
.news-button:active { transform: none; }
.news-panel > label { font: inherit; font-size: 13px; }
.news-panel select { font: inherit; font-size: 16px; }
form.news-panel[method="get"] { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-bottom: 16px; padding: 16px 20px; }
form.news-panel[method="get"] label { color: #355844; font-size: 12px; font-weight: 750; }
form.news-panel[method="get"] select { flex: 1 1 200px; min-height: 45px; border: 1px solid #d5dfd0; border-radius: 11px; background: #fffefb; padding: 8px 12px; color: #183a30; }
.news-story-title-link { color: inherit; font: inherit; letter-spacing: inherit; text-decoration: none; }
.news-story-title-link:hover { color: #63804d; text-decoration: underline; text-underline-offset: 4px; }
.news-story-title-link:focus-visible { outline: 3px solid #e78955; outline-offset: 3px; border-radius: 4px; }
.news-action-status { position: fixed; z-index: 20; inset-inline-end: 16px; bottom: 16px; max-width: min(360px, calc(100% - 32px)); border: 1px solid #cfd9c6; border-radius: 12px; background: #fffdf7; padding: 10px 14px; color: #183a30; font-size: 13px; font-weight: 650; line-height: 1.5; box-shadow: 0 6px 20px rgb(49 80 57 / 12%); }
.news-action-status[hidden] { display: none; }
.news-action-status.is-error, .news-action-status[data-state="error"] { border-color: #e3b9a5; background: #f7e6d8; color: #81492f; }
form[data-story-action].is-busy { opacity: .65; pointer-events: none; }
form[data-story-action].is-busy .news-save-button { cursor: progress; }
.news-feed-list[data-feed-kind] { gap: 14px; }
.news-feed-list[data-feed-kind] > .news-panel.news-empty, .news-feed-list .news-empty { padding: clamp(20px, 4vw, 30px); }
.news-feed-list .news-empty .news-button { margin-top: 8px; }
.news-session-link { display: inline; color: #63804d; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.news-session-link:hover { color: #183a30; }
.news-session-link:focus-visible { outline: 3px solid #e78955; outline-offset: 2px; border-radius: 3px; }
.news-account-panel { max-width: 560px; }
.news-account-panel h2 { margin-top: 0; font-size: 28px; }
.news-account-panel > p { margin: 6px 0 0; font-size: 13px; line-height: 1.7; }
.news-account-panel .news-password-form { grid-column: auto; gap: 14px; margin-top: 20px; }
.news-account-panel .news-password-form .news-field { max-width: none; }
.news-account-panel .news-password-form .news-field label { margin-top: 0; }
.news-account-panel .news-password-form .news-button { justify-self: start; min-height: 46px; margin-top: 4px; }
.news-account-panel [hidden] { display: none; }
.news-form input:disabled, .news-field input:disabled { background: #f0f1e6; color: #718074; cursor: not-allowed; }
.news-button[aria-busy="true"], .news-button.is-busy { cursor: progress; opacity: .7; }
.news-demo-tag { white-space: nowrap; }

@media (max-width: 650px) {
  .site-nav .nav-inner { flex-wrap: wrap; gap: 4px 12px; padding-block: 10px; }
  .site-nav .nav-links { display: flex; flex: 1 1 100%; flex-wrap: wrap; align-items: center; gap: 0 4px; margin-inline: -8px; }
  .site-nav .nav-links a:not(.nav-cta), .site-nav .nav-logout button { display: inline-flex; min-height: 44px; align-items: center; padding: 0 8px; font-size: 13px; }
  .site-nav .nav-logout { margin: 0; }
  .site-nav .nav-links .nav-cta { margin-inline-start: auto; }
  .news-shell { width: min(100% - 32px, 1040px); }
  .news-page-heading h1 { font-size: clamp(34px, 11vw, 46px); }
  .news-feed-story h2 { font-size: 24px; }
  .news-story-actions { gap: 4px 16px; }
  .news-story-actions .news-button { min-height: 44px; }
  .news-save-button { min-height: 44px; }
  .news-action-status { inset-inline-end: 12px; inset-inline-start: 12px; max-width: none; bottom: 12px; }
  .news-account-panel .news-password-form .news-button { width: 100%; }
  .news-chip-entry > button, .news-chip > button, .news-profile-tag button { min-width: 36px; min-height: 36px; }
  .news-newsletter { padding-inline: 18px; }
}
@media (max-width: 380px) {
  .news-shell { width: calc(100% - 24px); }
  .news-panel { padding: 16px; border-radius: 20px; }
  .site-nav .nav-inner { padding-block: 8px; }
}

/* Ready-made exclusion groups (preferences editor) */
.news-exclusion-group { grid-column: 1 / -1; margin-top: .75rem; font-size: .85rem; }
.news-exclusion-group label { display: flex; align-items: flex-start; gap: .6rem; cursor: pointer; }
.news-exclusion-group input[type="checkbox"] { width: 1.15rem; height: 1.15rem; min-height: 0; margin: .2rem 0 0; flex: 0 0 auto; }
.news-exclusion-group details { margin: .35rem 0 0 1.75rem; font-size: .85rem; }
.news-exclusion-group details p { margin: .35rem 0 0; }

/* Pilot feedback survey: one question per panel; options wrap on phones. */
.news-feedback-form { display: grid; gap: 14px; }
.news-feedback-question { margin: 0; min-width: 0; box-sizing: border-box; }
.news-feedback-question legend { float: left; float: inline-start; width: 100%; padding: 0; margin-bottom: 10px; color: #183a30; }
.news-feedback-question legend + * { clear: both; }
.news-feedback-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.news-feedback-scale { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); }
.news-feedback-text { width: 100%; box-sizing: border-box; font: inherit; padding: 10px; border: 1px solid #dfe6d8; border-radius: 12px; }
.news-feedback-error { color: #a33a2a; margin: 0 0 8px; }
.news-table-scroll { overflow-x: auto; }
.news-table-scroll table { border-collapse: collapse; min-width: 900px; font-size: 13px; }
.news-table-scroll th, .news-table-scroll td { border-bottom: 1px solid #e1e6db; padding: 6px 8px; text-align: start; vertical-align: top; }
@media (max-width: 650px) { .news-feedback-options { grid-template-columns: 1fr 1fr; } }
/* Saved interests: excluded topics start with a capital on screen (stored text unchanged);
   long interests show a short label with their details folded away. */
.news-leaving-out::first-letter { text-transform: uppercase; }
.news-interest-details { display: inline; margin-inline-start: 6px; font-size: 0.9em; }
.news-interest-details > summary { display: inline; cursor: pointer; color: #687a6d; text-decoration: underline; }
.news-interest-details[open] { display: block; margin: 4px 0 0; }
/* The detail text on its own line under the "Details" label, which stays clickable to close it. */
.news-interest-details-text { display: block; margin: 6px 0 0; line-height: 1.5; }

/* Phones and tablets (audit 2026-10-18). Website pages only; the daily email has its own inline styles. */
@media (max-width: 1024px) {
  /* 16 px form text: iPhone and iPad zoom the page in on smaller text when a field is tapped. */
  .news-shell input:not([type=checkbox]):not([type=radio]):not([type=hidden]), .news-shell select, .news-shell textarea,
  .news-form input, .news-form select, .news-form textarea { font-size: 16px; }
  /* Tap targets of at least 44 px. */
  .news-button, .news-save-button { min-height: 44px; }
  .news-interest-details > summary { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; }
  .news-shell input:not([type=checkbox]):not([type=radio]):not([type=hidden]), .news-shell select { min-height: 44px; }
  .news-text-link, .news-page-heading .news-text-link { min-height: 44px; }
  .news-chip > button, .news-chip-entry > button, .news-remove-topic, .news-profile-tag button { min-width: 44px; min-height: 44px; }
}
/* 16 px form text at every width, not only on phones: iPhone and iPad Safari zoom in when a
   field with smaller text is tapped (an iPad in landscape is wider than 1024 px). */
.news-shell input:not([type=checkbox]):not([type=radio]):not([type=hidden]), .news-shell select, .news-shell textarea,
.news-form input, .news-form select, .news-form textarea { font-size: 16px; }
/* "Wordings this leaves out" (Preferences): a 44 px tap target. */
.news-exclusion-group details > summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; }
/* Admin tables on narrow screens: keep words whole and let a wide table scroll sideways in its
   own box instead of squeezing every column ("Mis-sin-g" across four lines). */
@media (max-width: 820px) {
  .news-shell table th, .news-shell table td { overflow-wrap: normal; word-break: normal; }
  .news-panel > table, .news-admin-section > table, .news-admin-table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .news-shell table td { min-width: 6em; }
  .news-shell table td code { white-space: nowrap; }
}

/* Topic assistant: what happened after Send (working, not saved yet, error with retry). */
.news-assistant-state { margin-top: 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid #d9d2c3; background: #fbf8f1; color: #24372b; font-size: 15px; line-height: 1.45; }
.news-assistant-state p { margin: 0; }
.news-assistant-state.is-working p::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-inline-end: 8px; vertical-align: -2px; border: 2px solid #c9bfa8; border-top-color: #24372b; border-radius: 50%; animation: news-assistant-spin .9s linear infinite; }
.news-assistant-state.is-unsaved { border-color: #e7b48e; background: #fdf0e6; color: #6d3418; }
.news-assistant-state.is-error { border-color: #d98b7a; background: #fbe9e5; color: #7a2516; }
.news-assistant-retry { margin-top: 10px; min-height: 44px; }
.news-assistant-unsaved { margin: 0 0 10px; padding: 10px 12px; border-radius: 10px; background: #fdf0e6; color: #6d3418; font-size: 15px; }
@keyframes news-assistant-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .news-assistant-state.is-working p::before { animation: none; } }
.news-assistant-state [hidden], .news-assistant-unsaved[hidden] { display: none !important; }

/* Saved interests (dashboard and Preferences): a tree that follows each interest's stored path. */
.news-saved-summary ul.news-saved-tree, ul.news-summary-list.news-saved-tree { margin: 8px 0 0; padding: 0; list-style: none; }
.news-saved-summary .news-saved-tree ul, ul.news-summary-list.news-saved-tree ul { margin: 2px 0 0; padding: 0 0 0 12px; list-style: none; }
.news-saved-tree > li { margin-top: 6px; color: #183a30; font-weight: 700; }
.news-saved-tree ul > li { position: relative; padding-inline-start: 17px; color: #405d4d; font-weight: 400; }
.news-saved-tree ul > li::before { content: ""; position: absolute; top: 0; inset-inline-start: 1px; width: 10px; height: 11px; border-bottom: 1px solid #b9c9b0; border-inline-start: 1px solid #b9c9b0; border-end-start-radius: 3px; }
.news-saved-tree ul > li:not(:last-child)::after { content: ""; position: absolute; top: 0; bottom: 0; inset-inline-start: 1px; border-inline-start: 1px solid #b9c9b0; }
.news-saved-tree > li.news-not-for-you { margin-top: 12px; padding-top: 9px; border-top: 1px solid #ecc9ad; color: #864b31; }
.news-saved-tree > li.news-not-for-you ul > li { color: #864b31; }
.news-saved-tree > li.news-not-for-you ul > li::before, .news-saved-tree > li.news-not-for-you ul > li::after { border-color: #e2b99a; }

.news-install { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; padding: 10px 16px; background: #fffdf7; border-bottom: 1px solid #cfc8b8; font-size: 14px; line-height: 1.5; }
.news-install[hidden] { display: none; }
.news-install-text { margin: 0; }
.news-install .news-text-link { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; }
