/* Home screen designs. Applied only when the home body has a theme class.
   Current is the page with no theme class. The switch stays black on white. */

.home-theme-bar {
  display: none;
  background: #fff;
  color: #111;
  border-bottom: 1px solid #111;
}
.home-theme-bar .wrap {
  display: flex;
  justify-content: flex-start;
  padding-top: .45rem;
  padding-bottom: .45rem;
}
.home-theme-switch {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0;
  color: #111;
  font: 700 .95rem/1.2 "Source Sans 3", system-ui, sans-serif;
}
.home-theme-switch select {
  font: 600 .95rem/1.2 "Source Sans 3", system-ui, sans-serif;
  color: #111;
  background: #fff;
  border: 2px solid #111;
  border-radius: 4px;
  padding: .3rem .4rem;
  min-height: 2.25rem;
  min-width: 8.5rem;
}

/* Shared: a chosen design replaces the gear field on this page only. */
html body.home-theme-steel,
html body.home-theme-night,
html body.home-theme-paper,
html body.home-theme-field,
html body.home-theme-gold,
html[data-tenant] body.home-theme-steel,
html[data-tenant] body.home-theme-night,
html[data-tenant] body.home-theme-paper,
html[data-tenant] body.home-theme-field,
html[data-tenant] body.home-theme-gold {
  background-image: none !important;
}
html body.home-theme-steel::before,
html body.home-theme-steel::after,
html body.home-theme-night::before,
html body.home-theme-night::after,
html body.home-theme-paper::before,
html body.home-theme-paper::after,
html body.home-theme-field::before,
html body.home-theme-field::after,
html body.home-theme-gold::before,
html body.home-theme-gold::after,
html[data-tenant] body.home-theme-steel::before,
html[data-tenant] body.home-theme-steel::after,
html[data-tenant] body.home-theme-night::before,
html[data-tenant] body.home-theme-night::after,
html[data-tenant] body.home-theme-paper::before,
html[data-tenant] body.home-theme-paper::after,
html[data-tenant] body.home-theme-field::before,
html[data-tenant] body.home-theme-field::after,
html[data-tenant] body.home-theme-gold::before,
html[data-tenant] body.home-theme-gold::after {
  content: none !important;
  display: none !important;
  background: none !important;
  opacity: 0 !important;
}

/* Steel: cool gray, compact, actions then training then a short hero. */
html body.home-theme-steel,
html[data-tenant] body.home-theme-steel {
  background-color: #d5dae0 !important;
  color: #1c242c;
}
html body.home-theme-steel > main { order: 1; }
html body.home-theme-steel > .mrs-tc { order: 2; }
html body.home-theme-steel > .hero { order: 3; }
html body.home-theme-steel > .site-footer { order: 4; }
html body.home-theme-steel :is(.site-header, .hero, main, .site-footer),
html[data-tenant] body.home-theme-steel :is(.site-header, .hero, main, .site-footer) {
  background: #3a4450 !important;
  background-image: none !important;
  color: #e7edf2;
}
html body.home-theme-steel main,
html[data-tenant] body.home-theme-steel main {
  background: #d5dae0 !important;
  color: #1c242c;
  padding: .55rem 0 .8rem;
}
html body.home-theme-steel .site-header {
  border-bottom: 2px solid #8d98a3;
  padding: 0;
}
html body.home-theme-steel .header-inner { padding: .4rem 0; }
html body.home-theme-steel .brand-sub,
html body.home-theme-steel .header-phone { color: #d5dde6; }
html body.home-theme-steel .wrap { width: min(100% - .75rem, 980px); }
html body.home-theme-steel .hero { padding: .55rem 0 .65rem; }
html body.home-theme-steel h1 { font-size: 1.35rem; margin-bottom: .25rem; }
html body.home-theme-steel .hero-lead,
html body.home-theme-steel .eyebrow,
html body.home-theme-steel .hero-meta,
html body.home-theme-steel .h1-sub,
html body.home-theme-steel .hero-services-link { color: #d5dde6; }
html body.home-theme-steel .hero-flex { gap: .6rem; }
html body.home-theme-steel .drop-photos {
  border-radius: 0;
  padding: .55rem .6rem .65rem;
  box-shadow: none;
}
html body.home-theme-steel .drop-photos h2 { font-size: 1.05rem; }
html body.home-theme-steel .mrs-tc { padding: .45rem 0; }
html body.home-theme-steel .mrs-tc-card {
  border-radius: 0;
  border-top-width: 2px;
  padding: .65rem .7rem;
  box-shadow: none;
  background: #e6eaee;
}
html body.home-theme-steel .easy-row {
  grid-template-columns: 1fr 1fr;
  gap: .35rem;
  margin-bottom: .7rem;
}
@media (min-width: 800px) {
  html body.home-theme-steel .easy-row { grid-template-columns: 1fr 1fr 1fr; }
}
html body.home-theme-steel .easy-tile {
  border-radius: 0;
  border-top-width: 2px;
  border-color: #8d98a3;
  background: #eef1f4;
  box-shadow: none;
  padding: .45rem .55rem .5rem;
  min-height: 0;
}
html body.home-theme-steel .easy-title { font-size: .95rem; }
html body.home-theme-steel .easy-desc { font-size: .75rem; }
html body.home-theme-steel .easy-cta { font-size: .75rem; color: #2c3a48; }
html body.home-theme-steel .section-label { margin-bottom: .35rem; color: #3a4450; }
html body.home-theme-steel .note {
  margin-top: .6rem;
  padding: .5rem .6rem;
  border-radius: 0;
  background: #e6eaee;
  color: #2c3a48;
}
html body.home-theme-steel .mrs-btn-primary,
html[data-tenant] body.home-theme-steel .mrs-btn-primary {
  background: #3a4450 !important;
  color: #fff !important;
  border-radius: 0;
}

/* Night: dark field, light type, hero then a single-column action list. */
html body.home-theme-night,
html[data-tenant] body.home-theme-night {
  background-color: #0e141b !important;
  color: #e7eef6;
}
html body.home-theme-night > .hero { order: 1; }
html body.home-theme-night > main { order: 2; }
html body.home-theme-night > .mrs-tc { order: 3; }
html body.home-theme-night > .site-footer { order: 4; }
html body.home-theme-night :is(.site-header, .hero, main, .site-footer),
html[data-tenant] body.home-theme-night :is(.site-header, .hero, main, .site-footer) {
  background: #0e141b !important;
  background-image: none !important;
  color: #e7eef6;
}
html body.home-theme-night .site-header { border-bottom: 1px solid #2a3848; }
html body.home-theme-night .brand-sub,
html body.home-theme-night .header-phone,
html body.home-theme-night .hero-lead,
html body.home-theme-night .eyebrow,
html body.home-theme-night .hero-meta,
html body.home-theme-night .h1-sub,
html body.home-theme-night .hero-services-link,
html body.home-theme-night .section-label { color: #c5d4e4; }
html body.home-theme-night .hero { padding: 1.8rem 0 1.4rem; }
html body.home-theme-night .hero-flex { grid-template-columns: 1fr; }
html body.home-theme-night .drop-photos {
  background: #17202b;
  color: #e7eef6;
  border: 1px solid #2a3848;
  box-shadow: none;
}
html body.home-theme-night .drop-photos h2,
html body.home-theme-night .drop-photos label { color: #e7eef6; }
html body.home-theme-night .drop-photos p { color: #c5d4e4; }
html body.home-theme-night .drop-photos input,
html body.home-theme-night .drop-photos select {
  background: #0e141b;
  color: #e7eef6;
  border-color: #3d5166;
}
html body.home-theme-night .drop-photos button {
  background: #d7e4f2;
  color: #111;
}
html body.home-theme-night .easy-row {
  grid-template-columns: 1fr;
  gap: .55rem;
}
html body.home-theme-night .easy-tile {
  background: #17202b;
  border: 1px solid #2a3848;
  border-top: 0;
  border-left: 4px solid #8eb4d4;
  border-radius: 0;
  box-shadow: none;
}
html body.home-theme-night .easy-title,
html body.home-theme-night .easy-cta { color: #e7eef6; }
html body.home-theme-night .easy-desc { color: #b7c6d6; }
html body.home-theme-night .note {
  background: #17202b;
  border-color: #2a3848;
  color: #c5d4e4;
}
html body.home-theme-night .note strong,
html body.home-theme-night .note a { color: #e7eef6; }
html body.home-theme-night .usa-tagline { color: #b7c6d6; }
html body.home-theme-night .mrs-tc-card {
  background: #17202b;
  color: #e7eef6;
  border-color: #2a3848;
  border-top-color: #8eb4d4;
}
html body.home-theme-night .mrs-tc-card p,
html body.home-theme-night .mrs-tc-list,
html body.home-theme-night .mrs-tc h2,
html body.home-theme-night .mrs-tc-card h2,
html body.home-theme-night .mrs-tc-eyebrow { color: #e7eef6; }
html body.home-theme-night .mrs-tc-addr {
  background: #0e141b;
  color: #e7eef6;
  border-left-color: #8eb4d4;
}
html body.home-theme-night .mrs-btn-primary,
html[data-tenant] body.home-theme-night .mrs-btn-primary {
  background: #d7e4f2 !important;
  color: #111 !important;
}
html body.home-theme-night .site-footer { border-top: 1px solid #2a3848; }

/* Paper: light field, wide margins, quiet type. Training, then the headline, then a sparse list. */
html body.home-theme-paper,
html[data-tenant] body.home-theme-paper {
  background-color: #f7f3ec !important;
  color: #2c2824;
}
html body.home-theme-paper > .mrs-tc { order: 1; }
html body.home-theme-paper > .hero { order: 2; }
html body.home-theme-paper > main { order: 3; }
html body.home-theme-paper > .site-footer { order: 4; }
html body.home-theme-paper :is(.site-header, .hero, main, .site-footer),
html[data-tenant] body.home-theme-paper :is(.site-header, .hero, main, .site-footer) {
  background: #f7f3ec !important;
  background-image: none !important;
  color: #2c2824;
}
html body.home-theme-paper .wrap { width: min(100% - 4.5rem, 40rem); }
html body.home-theme-paper .site-header {
  border-bottom: 1px solid #e4dcd0;
}
html body.home-theme-paper .header-inner { padding: 1.4rem 0; }
html body.home-theme-paper .brand-sub,
html body.home-theme-paper .header-phone { color: #4a433c; border-bottom-color: transparent; }
html body.home-theme-paper .hero { padding: 2.8rem 0 2.2rem; }
html body.home-theme-paper .hero-flex { grid-template-columns: 1fr; gap: 2.2rem; }
html body.home-theme-paper h1,
html body.home-theme-paper .h1-sub {
  text-transform: none;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-weight: 500;
  letter-spacing: 0;
  color: #2c2824;
}
html body.home-theme-paper .eyebrow,
html body.home-theme-paper .hero-lead,
html body.home-theme-paper .hero-meta,
html body.home-theme-paper .hero-services-link,
html body.home-theme-paper .section-label { color: #6e675e; }
html body.home-theme-paper .drop-photos {
  background: transparent;
  box-shadow: none;
  border-top: 1px solid #e4dcd0;
  border-radius: 0;
  padding: 1.4rem 0 0;
}
html body.home-theme-paper .mrs-tc { padding: 2.4rem 0 0; }
html body.home-theme-paper .mrs-tc-card {
  background: transparent;
  border: 0;
  border-bottom: 1px solid #e4dcd0;
  border-radius: 0;
  box-shadow: none;
  padding: 0 0 1.6rem;
}
html body.home-theme-paper .easy-row {
  grid-template-columns: 1fr;
  gap: 0;
  margin: 1.5rem 0 2rem;
}
html body.home-theme-paper .easy-tile {
  background: transparent;
  box-shadow: none;
  border: 0;
  border-bottom: 1px solid #e4dcd0;
  border-radius: 0;
  padding: 1.25rem 0;
}
html body.home-theme-paper .easy-title {
  text-transform: none;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: 0;
  font-size: 1.2rem;
  color: #2c2824;
}
html body.home-theme-paper .easy-desc { color: #6e675e; }
html body.home-theme-paper .easy-cta { color: #3f4a38; }
html body.home-theme-paper .note {
  background: transparent;
  border: 0;
  padding: 0;
  color: #6e675e;
}
html body.home-theme-paper .usa-tagline { color: #6e675e; }
html body.home-theme-paper .mrs-btn-primary,
html[data-tenant] body.home-theme-paper .mrs-btn-primary {
  background: #3f4a38 !important;
  color: #f7f3ec !important;
  border-radius: 0;
}
html body.home-theme-paper .site-footer,
html body.home-theme-paper .footer-label,
html body.home-theme-paper .footer-name,
html body.home-theme-paper .ip-notice,
html body.home-theme-paper .ip-notice strong,
html body.home-theme-paper .mrs-tc-foot,
html body.home-theme-paper .mrs-tc-foot-label,
html body.home-theme-paper .site-footer a,
html body.home-theme-paper .mrs-tc-foot a { color: #2c2824; }

/* Field: high contrast, large type, intake actions first and full width. */
html body.home-theme-field,
html[data-tenant] body.home-theme-field {
  background-color: #fff !important;
  color: #111;
}
html body.home-theme-field > main { order: 1; }
html body.home-theme-field > .hero { order: 2; }
html body.home-theme-field > .mrs-tc { order: 3; }
html body.home-theme-field > .site-footer { order: 4; }
html body.home-theme-field :is(.site-header, .hero, main, .site-footer),
html[data-tenant] body.home-theme-field :is(.site-header, .hero, main, .site-footer) {
  background: #fff !important;
  background-image: none !important;
  color: #111;
}
html body.home-theme-field .site-header { border-bottom: 4px solid #111; }
html body.home-theme-field .brand-sub,
html body.home-theme-field .header-phone { color: #111; border-bottom-color: #111; }
html body.home-theme-field main { padding-top: .8rem; }
html body.home-theme-field .section-label {
  color: #111;
  font-size: .95rem;
  margin-bottom: .5rem;
}
html body.home-theme-field .easy-row {
  grid-template-columns: 1fr;
  gap: .7rem;
  margin-bottom: 1.2rem;
}
html body.home-theme-field .easy-tile {
  min-height: 5.6rem;
  padding: 1.15rem 1.15rem 1.2rem;
  border: 3px solid #111;
  border-radius: 2px;
  background: #fff;
  box-shadow: none;
}
html body.home-theme-field .easy-title {
  font-size: 1.7rem;
  color: #111;
}
html body.home-theme-field .easy-desc { font-size: 1.05rem; color: #111; }
html body.home-theme-field .easy-cta { font-size: 1.15rem; color: #111; }
html body.home-theme-field .easy-tile-wide {
  background: #111;
  color: #fff;
}
html body.home-theme-field .easy-tile-wide .easy-title,
html body.home-theme-field .easy-tile-wide .easy-desc,
html body.home-theme-field .easy-tile-wide .easy-cta { color: #fff; }
html body.home-theme-field .hero {
  border-top: 4px solid #111;
  border-bottom: 4px solid #111;
  padding: 1.4rem 0;
}
html body.home-theme-field .hero-flex { grid-template-columns: 1fr; }
html body.home-theme-field h1 { color: #111; font-size: clamp(2rem, 6vw, 2.8rem); }
html body.home-theme-field .hero-lead,
html body.home-theme-field .eyebrow,
html body.home-theme-field .hero-meta,
html body.home-theme-field .h1-sub,
html body.home-theme-field .hero-services-link { color: #111; }
html body.home-theme-field .hero-lead { font-size: 1.25rem; }
html body.home-theme-field .drop-photos {
  border: 3px solid #111;
  border-radius: 2px;
  box-shadow: none;
}
html body.home-theme-field .drop-photos input,
html body.home-theme-field .drop-photos select,
html body.home-theme-field .drop-photos button {
  min-height: 3rem;
  font-size: 1.1rem;
}
html body.home-theme-field .drop-photos button { background: #111; }
html body.home-theme-field .mrs-tc-card { border: 3px solid #111; border-radius: 2px; }
html body.home-theme-field .note {
  background: #fff;
  border: 3px solid #111;
  color: #111;
  font-size: 1.05rem;
}
html body.home-theme-field .note strong,
html body.home-theme-field .note a { color: #111; }
html body.home-theme-field .usa-tagline { color: #111; font-size: 1rem; }
html body.home-theme-field .mrs-btn-primary,
html[data-tenant] body.home-theme-field .mrs-btn-primary {
  background: #111 !important;
  color: #fff !important;
  min-height: 3.25rem;
  border-radius: 2px;
}
html body.home-theme-field .site-footer {
  background: #111 !important;
  color: #fff;
}
html body.home-theme-field .site-footer a { color: #fff; }

/* Gold: black and gold, narrow centered column. Training, actions, then the hero. */
html body.home-theme-gold,
html[data-tenant] body.home-theme-gold {
  background-color: #111111 !important;
  color: #f4f0e6;
}
html body.home-theme-gold > .mrs-tc { order: 1; }
html body.home-theme-gold > main { order: 2; }
html body.home-theme-gold > .hero { order: 3; }
html body.home-theme-gold > .site-footer { order: 4; }
html body.home-theme-gold :is(.site-header, .hero, main, .site-footer),
html[data-tenant] body.home-theme-gold :is(.site-header, .hero, main, .site-footer) {
  background: #111111 !important;
  background-image: none !important;
  color: #f4f0e6;
}
html body.home-theme-gold .wrap { width: min(100% - 1.5rem, 36rem); }
html body.home-theme-gold .site-header { border-bottom: 2px solid #F6C445; }
html body.home-theme-gold .brand-sub,
html body.home-theme-gold .header-phone { color: #F6C445; border-bottom-color: #F6C445; }
html body.home-theme-gold .hero { padding: 2rem 0; border-top: 2px solid #F6C445; text-align: center; }
html body.home-theme-gold .hero-flex { grid-template-columns: 1fr; justify-items: center; }
html body.home-theme-gold h1,
html body.home-theme-gold .hero-lead,
html body.home-theme-gold .eyebrow,
html body.home-theme-gold .hero-meta,
html body.home-theme-gold .h1-sub,
html body.home-theme-gold .hero-services-link { color: #F6C445; }
html body.home-theme-gold .hero-lead { margin-left: auto; margin-right: auto; text-align: center; }
html body.home-theme-gold .drop-photos {
  background: #111111;
  color: #f4f0e6;
  border: 1px solid #F6C445;
  border-radius: 0;
  box-shadow: none;
  width: 100%;
}
html body.home-theme-gold .drop-photos h2,
html body.home-theme-gold .drop-photos label { color: #F6C445; }
html body.home-theme-gold .drop-photos p { color: #f4f0e6; }
html body.home-theme-gold .drop-photos input,
html body.home-theme-gold .drop-photos select {
  background: #111111;
  color: #f4f0e6;
  border-color: #F6C445;
}
html body.home-theme-gold .drop-photos button {
  background: #F6C445;
  color: #111111;
}
html body.home-theme-gold .section-label { color: #F6C445; text-align: center; }
html body.home-theme-gold .easy-row {
  grid-template-columns: 1fr;
  gap: .55rem;
}
html body.home-theme-gold .easy-tile {
  background: transparent;
  border: 1px solid #F6C445;
  border-radius: 0;
  box-shadow: none;
  text-align: center;
}
html body.home-theme-gold .easy-title,
html body.home-theme-gold .easy-desc,
html body.home-theme-gold .easy-cta { color: #F6C445; }
html body.home-theme-gold .easy-tile-wide {
  background: #F6C445;
}
html body.home-theme-gold .easy-tile-wide .easy-title,
html body.home-theme-gold .easy-tile-wide .easy-desc,
html body.home-theme-gold .easy-tile-wide .easy-cta { color: #111111; }
html body.home-theme-gold .note {
  background: transparent;
  border: 1px solid #F6C445;
  color: #f4f0e6;
  text-align: center;
}
html body.home-theme-gold .note strong,
html body.home-theme-gold .note a { color: #F6C445; }
html body.home-theme-gold .usa-tagline { color: #F6C445; justify-content: center; }
html body.home-theme-gold .mrs-tc { padding: 1.2rem 0 .4rem; }
html body.home-theme-gold .mrs-tc-grid { grid-template-columns: 1fr; }
html body.home-theme-gold .mrs-tc-card {
  background: #111111;
  color: #f4f0e6;
  border: 1px solid #F6C445;
  border-radius: 0;
  box-shadow: none;
  text-align: center;
}
html body.home-theme-gold .mrs-tc-card p,
html body.home-theme-gold .mrs-tc-list,
html body.home-theme-gold .mrs-tc h2,
html body.home-theme-gold .mrs-tc-card h2,
html body.home-theme-gold .mrs-tc-eyebrow { color: #F6C445; }
html body.home-theme-gold .mrs-tc-addr {
  background: #111111;
  color: #f4f0e6;
  border-left-color: #F6C445;
  text-align: left;
}
html body.home-theme-gold .mrs-btn-primary,
html[data-tenant] body.home-theme-gold .mrs-btn-primary {
  background: #F6C445 !important;
  color: #111111 !important;
  border-radius: 0;
}
html body.home-theme-gold .mrs-btn-ghost {
  background: #111111;
  color: #F6C445 !important;
  border-color: #F6C445;
}
html body.home-theme-gold .site-footer { border-top: 2px solid #F6C445; }
html body.home-theme-gold .site-footer a { color: #F6C445; }

@media (max-width: 640px) {
  html body.home-theme-paper .wrap { width: min(100% - 2rem, 40rem); }
}

/* The Home switch stays black type on a white field in every design. */
html body .home-theme-bar,
html[data-tenant] body .home-theme-bar,
html body .home-theme-switch,
html body .home-theme-switch select,
html[data-tenant] body .home-theme-switch,
html[data-tenant] body .home-theme-switch select {
  background: #fff !important;
  color: #111 !important;
  border-color: #111 !important;
}

/* Visitors do not see the theme switch. The markup stays for the stored choice. */
.home-theme-bar {
  display: none;
}

/* Theme widgets. Hidden on Current. Each theme shows only the widgets tagged with its name. */
.theme-widgets { display: none; }
html body:is(.home-theme-steel, .home-theme-night, .home-theme-paper, .home-theme-field, .home-theme-gold) > .theme-widgets {
  display: block;
  order: 1;
  padding: 1rem 0 .4rem;
  background: var(--hw-page);
  color: var(--hw-ink);
}
.hw-head { margin: 0 0 .7rem; font: 700 1.05rem/1.2 "Source Sans 3", system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--hw-accent); }
.hw-name, .hw { display: none; }
html body.home-theme-steel :is(.hw-name, .hw)[data-themes~="steel"],
html body.home-theme-night :is(.hw-name, .hw)[data-themes~="night"],
html body.home-theme-paper :is(.hw-name, .hw)[data-themes~="paper"],
html body.home-theme-field :is(.hw-name, .hw)[data-themes~="field"],
html body.home-theme-gold :is(.hw-name, .hw)[data-themes~="gold"] { display: block; }
.hw-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: .8rem; }
.hw {
  background: var(--hw-card);
  color: var(--hw-ink);
  border: var(--hw-border);
  border-radius: var(--hw-radius);
  padding: .9rem 1rem 1rem;
  font: 400 1rem/1.45 "Source Sans 3", system-ui, sans-serif;
}
.hw h3 { margin: 0 0 .45rem; font: 700 1.1rem/1.2 "Source Sans 3", system-ui, sans-serif; color: var(--hw-ink); text-transform: none; letter-spacing: 0; }
.hw p { margin: 0 0 .55rem; color: var(--hw-ink); }
.hw a { color: var(--hw-link); font-weight: 600; }
.hw small { display: block; color: var(--hw-muted); font-size: .88rem; }
.hw-muted { color: var(--hw-muted); }
.hw-list, .hw-links, .hw-bid-list, .hw-line-list { margin: 0 0 .55rem; padding-left: 1.15rem; }
.hw-links, .hw-line-list { list-style: none; padding-left: 0; }
.hw-bid-list li, .hw-line-list li, .hw-links li { padding: .35rem 0; border-top: 1px solid var(--hw-line); }
.hw-bid-list li:first-child, .hw-line-list li:first-child, .hw-links li:first-child { border-top: 0; }
.hw-actions { display: flex; flex-wrap: wrap; gap: .5rem .9rem; align-items: center; margin: .3rem 0 0; }
.hw-btn {
  display: inline-block;
  padding: .45rem .9rem;
  border-radius: var(--hw-radius);
  background: var(--hw-accent);
  color: var(--hw-on-accent) !important;
  text-decoration: none;
}
.hw-search { display: grid; grid-template-columns: 1fr auto; gap: .35rem .5rem; margin: 0 0 .5rem; }
.hw-search label { grid-column: 1 / -1; font-weight: 700; font-size: .9rem; color: var(--hw-ink); }
.hw-search input { font: inherit; min-height: 2.4rem; padding: .3rem .55rem; border: 1.5px solid var(--hw-line-strong); border-radius: var(--hw-radius); background: var(--hw-input); color: var(--hw-ink); }
.hw-search button { font: inherit; font-weight: 700; min-height: 2.4rem; padding: .3rem .9rem; border: 0; border-radius: var(--hw-radius); background: var(--hw-accent); color: var(--hw-on-accent); cursor: pointer; }
.hw-big { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.hw-big a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4.4rem;
  padding: .6rem;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  border: 3px solid var(--hw-ink);
  border-radius: var(--hw-radius);
  color: var(--hw-ink);
  background: var(--hw-card);
}
.hw-big a:first-child { background: var(--hw-accent); color: var(--hw-on-accent); }
html body.home-theme-field .hw-field { grid-column: 1 / -1; }

html body.home-theme-steel {
  --hw-page: #d5dae0; --hw-card: #fff; --hw-ink: #1c242c; --hw-muted: #4f5a66; --hw-link: #1f4f7a;
  --hw-accent: #3a4450; --hw-on-accent: #fff; --hw-line: #dfe4ea; --hw-line-strong: #8d98a3; --hw-input: #fff;
  --hw-border: 1px solid #b7c0ca; --hw-radius: 4px;
}
html body.home-theme-night {
  --hw-page: #0e141b; --hw-card: #17202b; --hw-ink: #e7eef6; --hw-muted: #a9bacb; --hw-link: #8cc4ff;
  --hw-accent: #8cc4ff; --hw-on-accent: #0e141b; --hw-line: #2a3848; --hw-line-strong: #3d5166; --hw-input: #0e141b;
  --hw-border: 1px solid #2a3848; --hw-radius: 8px;
}
html body.home-theme-paper {
  --hw-page: #f7f3ec; --hw-card: #fffdf8; --hw-ink: #2c2824; --hw-muted: #6e675e; --hw-link: #2c2824;
  --hw-accent: #2c2824; --hw-on-accent: #f7f3ec; --hw-line: #e4dcd0; --hw-line-strong: #c9bfb1; --hw-input: #fff;
  --hw-border: 1px solid #e4dcd0; --hw-radius: 2px;
}
html body.home-theme-field {
  --hw-page: #fff; --hw-card: #fff; --hw-ink: #111; --hw-muted: #333; --hw-link: #111;
  --hw-accent: #111; --hw-on-accent: #fff; --hw-line: #111; --hw-line-strong: #111; --hw-input: #fff;
  --hw-border: 3px solid #111; --hw-radius: 2px;
}
html body.home-theme-gold {
  --hw-page: #111111; --hw-card: #111111; --hw-ink: #f4f0e6; --hw-muted: #d9cfb5; --hw-link: #F6C445;
  --hw-accent: #F6C445; --hw-on-accent: #111111; --hw-line: #3a3320; --hw-line-strong: #F6C445; --hw-input: #111111;
  --hw-border: 1px solid #F6C445; --hw-radius: 0;
}
html body.home-theme-paper .theme-widgets .hw-grid { grid-template-columns: 1fr; }
html body.home-theme-gold .theme-widgets .hw-grid { grid-template-columns: 1fr; }
@media (max-width: 520px) { .hw-big { grid-template-columns: 1fr; } }
