/* FicCompass Warm Sepia 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: #f6ead6;
  color: #392d23;
}
#outer .heading, #outer h2, #outer h3, #outer h4,
#outer .userstuff, #outer .stats, #outer .meta,
#outer .listbox .heading, #outer .listbox .index {
  color: #392d23;
  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: #704514;
}
#outer a:hover, #outer a:focus {
  color: #392d23;
}
#outer a:focus, #outer button:focus, #outer input:focus,
#outer select:focus, #outer textarea:focus {
  outline: 2px solid #704514;
  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: #f6ead6;
  color: #392d23;
  border-color: #704514;
  box-shadow: none;
}
#outer .listbox .index, #outer .preface {
  background: #f6ead6;
}
#outer .listbox .heading a, #outer .listbox .heading a:visited,
#outer .blurb h4 a, #outer .blurb h4 a:visited {
  color: #704514;
}
/* 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: #f6ead6;
  color: #704514;
}
#outer a.tag:hover, #outer a.tag:focus {
  background: #704514;
  color: #f6ead6;
}
/* 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: #f6ead6;
  color: #392d23;
  border-color: #704514;
  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: #392d23;
  text-shadow: none;
}
#outer .filters .expander, #outer .filters .expand {
  background: #f6ead6;
  box-shadow: none;
}
#outer input, #outer textarea, #outer select,
#outer select option, #header input {
  background: #f6ead6;
  color: #392d23;
  border-color: #704514;
  box-shadow: none;
  text-shadow: none;
}
#outer input:focus, #outer textarea:focus, #outer select:focus {
  background: #f6ead6;
  color: #392d23;
}
#outer .autocomplete .dropdown li.selected,
#outer .autocomplete .dropdown li:hover {
  background: #704514;
  color: #f6ead6;
}
/* Header and dropdown menus */
#header, #header .primary, #header .menu,
#header .dropdown .menu, #header #small_login,
#header .dropdown:hover a, #header .open a {
  background: #f6ead6;
  color: #392d23;
  border-color: #704514;
  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: #704514;
}
#header .menu a:hover, #header .menu a:focus,
#header .primary a:hover, #header .primary a:focus {
  background: #f6ead6;
  color: #392d23;
}
/* Sidebar */
#dashboard, #dashboard.own, #dashboard ul {
  background: #f6ead6;
  border-color: #704514;
}
#dashboard .current, #dashboard a:hover, #dashboard a:focus,
#dashboard .secondary {
  background: #f6ead6;
  color: #392d23;
}
/* Notices use a paired background/text palette. */
#outer .notice, #outer .flash, #outer .success,
#outer .notice p, #outer .flash p, #outer ul.notes {
  background: #f6ead6;
  color: #392d23;
  border-color: #704514;
  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: #704514;
}
#outer .error, #outer .comment_error, #outer .kudos_error {
  background: #f6ead6;
  color: #392d23;
  border-color: #704514;
}
#outer .error a, #outer .error a:visited {
  color: #392d23;
}
#outer .required, #outer .caution {
  color: #704514;
}
/* 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: #f6ead6;
  color: #392d23;
  border-color: #704514;
  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: #f6ead6;
  color: #392d23;
}
#outer .actions .current, #outer .pagination .current {
  background: #704514;
  color: #f6ead6;
}
/* Reading typography; author formatting and warning icons are retained. */
#main .userstuff {
  font-size: 18px;
  line-height: 1.7;
}
#outer #footer {
  background: #f6ead6;
  color: #392d23;
  border-color: #704514;
}
#outer #footer a, #outer #footer a:visited {
  color: #704514;
}

/* 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: #f6ead6;
  color: #704514 !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: #f6ead6;
  color: #392d23 !important;
}

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

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

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