/* FicCompass Large Text Reader v3. Original CSS, CC0.
   Coordinated palette update, 19 October 2026.
   Based on the Forest selector set reviewed in selected live AO3 screenshots.
   This consolidated revision is not a claim of full AO3 compatibility. */
body, #outer, #inner, #main {
  background: #f7f7f4;
  color: #252525;
}
#outer .heading, #outer h2, #outer h3, #outer h4,
#outer .userstuff, #outer .stats, #outer .meta,
#outer .listbox .heading, #outer .listbox .index {
  color: #252525;
  text-shadow: none;
}
#outer a, #outer a:link, #outer a:visited,
#outer a.tag, #outer .heading a, #outer .heading a:visited,
#dashboard a, #dashboard a:visited, #header .user a,
#header .user a:visited {
  color: #235b86;
}
#outer a:hover, #outer a:focus {
  color: #252525;
}
#outer a:focus, #outer button:focus, #outer input:focus,
#outer select:focus, #outer textarea:focus {
  outline: 2px solid #235b86;
  outline-offset: 2px;
}
/* Lists, work cards, metadata and nested list surfaces */
#outer .listbox, #outer fieldset.listbox,
#outer .listbox .index, #outer .listbox .heading,
#outer li.blurb, #outer .blurb .blurb, #outer dl.meta,
#outer dl.meta .wrapper, #outer .preface,
#outer .comment, #outer .thread .even,
#outer table, #outer th, #outer td,
#outer tr:hover, #outer td:hover {
  background: #f7f7f4;
  color: #252525;
  border-color: #235b86;
  box-shadow: none;
}
#outer .listbox .index, #outer .preface {
  background: #f7f7f4;
}
#outer .listbox .heading a, #outer .listbox .heading a:visited,
#outer .blurb h4 a, #outer .blurb h4 a:visited {
  color: #235b86;
}
/* Tags have their own light backgrounds in the default skin. */
#outer .tags a.tag, #outer li.relationships a,
#outer .tags .warnings a, #outer .tags .freeforms a {
  background: #f7f7f4;
  color: #235b86;
}
#outer a.tag:hover, #outer a.tag:focus {
  background: #235b86;
  color: #f7f7f4;
}
/* Filter forms, editor panels and their labels */
#outer fieldset, #outer fieldset fieldset,
#outer fieldset fieldset ul, #outer form dl,
#outer .filters, #outer .filters fieldset,
#outer .dynamic, #outer .dynamic form,
#outer .secondary, #outer .work.navigation .download,
#outer .autocomplete .dropdown ul, #outer #modal {
  background: #f7f7f4;
  color: #252525;
  border-color: #235b86;
  box-shadow: none;
}
#outer label, #outer legend, #outer form dt,
#outer .filters dt, #outer .filters dd,
#outer .filters .heading, #outer .filters .expander,
#outer .filters .expand, #outer .filters .group,
#outer .filters label, #outer .filters legend {
  color: #252525;
  text-shadow: none;
}
#outer .filters .expander, #outer .filters .expand {
  background: #f7f7f4;
  box-shadow: none;
}
#outer input, #outer textarea, #outer select,
#outer select option, #header input {
  background: #f7f7f4;
  color: #252525;
  border-color: #235b86;
  box-shadow: none;
  text-shadow: none;
}
#outer input:focus, #outer textarea:focus, #outer select:focus {
  background: #f7f7f4;
  color: #252525;
}
#outer .autocomplete .dropdown li.selected,
#outer .autocomplete .dropdown li:hover {
  background: #235b86;
  color: #f7f7f4;
}
/* Header and dropdown menus */
#header, #header .primary, #header .menu,
#header .dropdown .menu, #header #small_login,
#header .dropdown:hover a, #header .open a {
  background: #f7f7f4;
  color: #252525;
  border-color: #235b86;
  box-shadow: none;
}
#header .heading a, #header .heading a:visited,
#header .primary a, #header .primary a:visited,
#header .menu a, #header .menu a:visited,
#header .dropdown:hover a, #header .open a {
  color: #235b86;
}
#header .menu a:hover, #header .menu a:focus,
#header .primary a:hover, #header .primary a:focus {
  background: #f7f7f4;
  color: #252525;
}
/* Sidebar */
#dashboard, #dashboard.own, #dashboard ul {
  background: #f7f7f4;
  border-color: #235b86;
}
#dashboard .current, #dashboard a:hover, #dashboard a:focus,
#dashboard .secondary {
  background: #f7f7f4;
  color: #252525;
}
/* Notices use a paired background/text palette. */
#outer .notice, #outer .flash, #outer .success,
#outer .notice p, #outer .flash p, #outer ul.notes {
  background: #f7f7f4;
  color: #252525;
  border-color: #235b86;
  box-shadow: none;
}
#outer .notice a, #outer .notice a:visited,
#outer .flash a, #outer .flash a:visited,
#outer .success a, #outer .success a:visited {
  color: #235b86;
}
#outer .error, #outer .comment_error, #outer .kudos_error {
  background: #f7f7f4;
  color: #252525;
  border-color: #235b86;
}
#outer .error a, #outer .error a:visited {
  color: #252525;
}
#outer .required, #outer .caution {
  color: #235b86;
}
/* Buttons and pagination: placed after generic link/form rules. */
#outer .actions a, #outer .actions a:link,
#outer .actions a:visited, #outer a.action,
#outer button, #outer input[type="submit"],
#outer input[type="button"], #outer .actions label,
#outer .pagination a, #outer .pagination a:visited,
#outer .pagination .current, #header .actions a {
  background: #f7f7f4;
  color: #252525;
  border-color: #235b86;
  box-shadow: none;
  text-shadow: none;
}
#outer .actions a:hover, #outer .actions a:focus,
#outer button:hover, #outer button:focus,
#outer input[type="submit"]:hover,
#outer .pagination a:hover {
  background: #f7f7f4;
  color: #252525;
}
#outer .actions .current, #outer .pagination .current {
  background: #235b86;
  color: #f7f7f4;
}
/* Reading typography; author formatting and warning icons are retained. */
#main .userstuff {
  font-size: 22px;
  line-height: 1.7;
}
#outer #footer {
  background: #f7f7f4;
  color: #252525;
  border-color: #235b86;
}
#outer #footer a, #outer #footer a:visited {
  color: #235b86;
}

/* Explicit dropdown states override the default header link rules. */
#outer #header .primary .menu a,
#outer #header .primary .menu a:link,
#outer #header .primary .menu a:visited,
#outer #header .primary .dropdown:hover .menu a,
#outer #header .primary .open .menu a,
#outer #header .user .menu a,
#outer #header .user .menu a:visited {
  background: #f7f7f4;
  color: #235b86 !important;
  text-shadow: none;
}
#outer #header .primary .menu a:hover,
#outer #header .primary .menu a:focus,
#outer #header .user .menu a:hover,
#outer #header .user .menu a:focus {
  background: #f7f7f4;
  color: #252525 !important;
}

/* Pair legend and navigation foregrounds with their backgrounds. */
#outer legend, #outer .actions, #outer .actions .action {
  background: #f7f7f4;
  color: #252525;
  text-shadow: none;
}
#outer #header .primary .dropdown > a,
#outer #header .primary .dropdown:hover > a,
#outer #header .primary .open > a {
  background: #f7f7f4;
  color: #235b86 !important;
  text-shadow: none;
}
#outer .notice, #outer .notice p, #outer .flash,
#outer .flash p, #outer .success, #outer ul.notes {
  background: #f7f7f4;
  color: #252525;
}

/* Explicit search field boundaries, including the unfocused state. */
#outer #header input[type="text"],
#outer #header input[type="search"] {
  background: #f7f7f4;
  color: #252525;
  border: 1px solid #235b86;
  box-sizing: border-box;
  text-shadow: none;
  box-shadow: none;
}
#outer #header input[type="submit"],
#outer #header button[type="submit"] {
  background: #f7f7f4;
  color: #252525;
  border: 1px solid #235b86;
  box-sizing: border-box;
  text-shadow: none;
  box-shadow: none;
}
#outer #header input[type="text"]:focus,
#outer #header input[type="search"]:focus {
  background: #f7f7f4;
  color: #252525;
  outline: 2px solid #235b86;
  outline-offset: 2px;
}

/* Search helper text uses the same readable palette as the search field. */
#outer #header .search .tip,
#outer #header #search .tip {
  background: #f7f7f4;
  color: #252525;
  border: 1px solid #235b86;
  text-shadow: none;
  box-shadow: none;
}
#outer #header input[type="text"]::placeholder,
#outer #header input[type="search"]::placeholder {
  color: #252525;
  opacity: 1;
}
