/* Мой район: ясный первый экран и единая точка отдыха. */
body[data-view="yard"] .workspace { padding-top: 24px; }
.yard-heading { align-items: center; gap: 18px; margin-bottom: 19px; }
.yard-heading h1 { font-size: 36px; letter-spacing: .1px; }
.yard-heading .eyebrow { font-size: .6875rem; color: #a6b59d; letter-spacing: 1.8px; margin-bottom: 5px; }
.yard-actions { gap: 10px; }
.action-hint { position: relative; display: inline-flex; min-width: 0; }
.rest-trigger {
  display: flex; align-items: center; gap: 11px; min-height: 50px; padding: 8px 17px 8px 10px;
  border: 1px solid #94aa8157; border-radius: 9px;
  background: linear-gradient(130deg, #304038, #25322f);
  box-shadow: inset 0 1px #dce6c30a, 0 3px 10px #07120c19; text-align: left;
}
.rest-trigger-icon { display: grid; place-items: center; width: 31px; height: 31px; flex: none; color: #e1c38b; border-radius: 7px; background: #c9be7a0d; }
.rest-trigger-icon .ico { width: 19px; height: 19px; }
.rest-trigger strong { display: block; font-size: .875rem; font-weight: 600; line-height: 1.3; color: #e4e7d5; }
.rest-trigger small { display: block; margin-top: 2px; font-size: .6875rem; line-height: 1.3; color: #a9b9a7; }
.rest-trigger:hover { background: linear-gradient(130deg, #3c4938, #2b3a30); border-color: #d4bb797d; box-shadow: inset 0 1px #e4e8c810, 0 4px 15px #07120c26; }
.rest-trigger.is-evening { border-color: #c9ac6870; }
.action-tooltip {
  position: absolute; z-index: 80; right: 0; top: calc(100% + 10px); width: 290px; max-width: calc(100vw - 32px);
  padding: 14px 16px; border: 1px solid #8f9b7273; border-radius: 9px; background: #26342f;
  box-shadow: 0 12px 32px #0209086b; text-align: left; color: #bac8b7;
  pointer-events: none; visibility: hidden; opacity: 0; transform: translateY(-3px);
  transition: opacity .14s, transform .14s, visibility .14s;
}
.action-tooltip > strong { display: block; color: #e8d4a7; font-size: .8125rem; font-weight: 550; margin-bottom: 6px; }
.action-tooltip > span { display: block; font-size: .75rem; line-height: 1.65; }
.action-hint:hover > .action-tooltip,
.action-hint > button:focus-visible + .action-tooltip { visibility: visible; opacity: 1; transform: none; }
.yard-briefing { grid-template-columns: minmax(0,1.65fr) minmax(285px,1fr); gap: 18px; margin-bottom: 27px; }
.yard-briefing .hero {
  height: 228px; border-color: #a292605e; border-radius: 12px; background-position: 63% 34%;
  box-shadow: inset 0 1px #d9c9970a, 0 8px 25px #0002;
}
.yard-briefing .hero-shade { background: linear-gradient(90deg, #142424ed, #172626a6 39%, #16212208 82%), linear-gradient(0deg, #15212180, transparent 75%); }
.yard-briefing .hero-content { padding: 23px 24px; }
.yard-briefing .hero-kicker { font-size: .625rem; letter-spacing: 1.8px; color: #bfb489; margin-bottom: 13px; }
.yard-briefing .hero h2 { font-size: 32px; line-height: 1.1; color: #f0ecd5; }
.yard-briefing .hero h2 em { color: #e8bd7a; }
.yard-briefing .hero-content p { font-size: .8125rem; line-height: 1.5; margin: 12px 0 18px; color: #c1cdbd; max-width: 290px; }
.yard-briefing .hero-buttons { align-items: center; gap: 9px; }
.yard-briefing .hero-buttons .btn { font-size: .8125rem; min-height: 36px; padding: 9px 13px; border-radius: 6px; }
.yard-briefing .hero-map { background: linear-gradient(#e9c28a, #d9ab6c); color: #283025; border-color: #f0d29e; box-shadow: inset 0 1px #ffedd150, 0 2px #85683e; }
.yard-briefing .hero-map:hover { background: #f0cd97; }
.yard-briefing .hero-secondary { color: #ccd8c8; background: #20342b78; border-color: #9bb2924a; }
.yard-briefing .hero-secondary:hover { background: #3a4c3da6; border-color: #b9c29a7d; }
.yard-briefing .hero-secondary .ico { display: inline-block; width: 14px; height: 14px; }
.yard-briefing .next-step {
  display: flex; flex-direction: column; gap: 0; min-height: 228px; padding: 20px;
  border-radius: 12px; border-color: #7f91654d;
  background: radial-gradient(ellipse at top left, #b1bc6b0a, transparent 80%), linear-gradient(140deg, #2b3933, #22302d);
  box-shadow: inset 0 1px #e6e7c207, 0 8px 24px #0002;
}
.yard-briefing .next-step-top { margin: 0 0 13px; }
.yard-briefing .quest-icon { width: 29px; height: 29px; border-color: #bfbd773b; background: #b5b16b0b; color: #c9bd83; }
.yard-briefing .next-step-top .eyebrow { font-size: .625rem; letter-spacing: 1.35px; color: #acb79b; }
.yard-briefing .next-step-top .round-btn { width: 27px; height: 27px; color: #9bae99; }
.yard-briefing .next-step h3 { font-size: 1.0625rem; line-height: 1.3; font-weight: 600; color: #e8ead8; }
.yard-briefing .next-step > p { flex: 1; font-size: .8125rem; line-height: 1.6; color: #abbca9; margin-top: 7px; }
.yard-briefing .next-step-progress { margin: 15px 0 13px; gap: 11px; }
.yard-briefing .next-step-progress .progress { height: 4px; background: #acbd9e17; }
.yard-briefing .next-step-progress > span { font-size: .6875rem; color: #a3b59c; font-variant-numeric: tabular-nums; }
.yard-briefing .next-step-bottom { display: flex; flex-direction: row; justify-content: space-between; align-items: center; gap: 10px; }
.yard-briefing .next-reward { color: #e9c88f; font-size: 1.1875rem; }
.yard-briefing .next-reward small { margin-left: 7px; font-size: .6875rem; color: #9faf9b; font-weight: 450; }
.yard-briefing .next-step-bottom > .btn { font-size: .75rem; min-height: 36px; padding: 9px 11px; }
.yard-briefing .quest-ready { border-color: #d1b9758a; }
.jobs-section { scroll-margin-top: 165px; }
.jobs-section > .section-header { margin-bottom: 13px; align-items: center; }
.jobs-section .jobs-title { gap: 12px; flex-wrap: wrap; }
.jobs-section .jobs-title h2 { font-size: 28px; color: #dfe6d8; }
.jobs-section .available-label { padding: 4px 7px; font-size: .6875rem; color: #aabf9f; border: 1px solid #a6c08e27; border-radius: 5px; background: #94ab7d0b; }
.jobs-section .jobs-hint { font-size: .75rem; color: #8fa595; }
.jobs-section .jobs-toolbar {
  display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 14px;
  padding: 6px; margin-bottom: 19px; border: 1px solid #7e9b8729; border-radius: 9px; background: #1a2828;
}
.jobs-section .filters { width: auto; display: flex; align-items: center; flex-wrap: wrap; gap: 4px; overflow: visible; }
.jobs-section .filter { min-height: 35px; padding: 8px 11px; gap: 7px; border: 1px solid transparent; border-radius: 5px; font-size: .8125rem; color: #9bb0a3; }
.jobs-section .filter > span { display: grid; place-items: center; font-size: .6875rem; min-width: 18px; height: 18px; padding: 0 3px; border-radius: 4px; background: #95ab9a0a; color: #829a8a; }
.jobs-section .filter:hover { color: #dae0cd; background: #a4bb9608; }
.jobs-section .filter.selected { color: #efcf98; border-color: #bda15e36; background: linear-gradient(120deg, #b9a15c1f, #b9a15c0a); box-shadow: inset 0 1px #eddb9c0b; }
.jobs-section .filter.selected > span { color: #d7bf8f; background: #d0b36c17; }
.jobs-section .ready-toggle { align-self: stretch; min-height: 35px; padding: 7px 9px; margin: 0; font-size: .75rem; gap: 8px; color: #9eb19f; }
.jobs-section .ready-toggle.is-on { color: #d7dfc4; }
.jobs-section .ready-toggle.is-on .switch-track { background: #6b79514d; border-color: #a3ac7270; }
.jobs-section .jobs-grid { gap: 19px; }
.jobs-section .job-card { background: linear-gradient(135deg, #283733, #1e2b2b); border-color: #8aa29036; border-radius: 11px; box-shadow: 0 5px 18px #020b071a; }
.jobs-section .job-card:hover,
.jobs-section .job-card:focus-within { border-color: #b9c29a72; box-shadow: 0 8px 25px #020b0733; }
.jobs-section .job-scene { aspect-ratio: 1.72; border-radius: 10px 10px 0 0; }
.jobs-section .job-card:not(.locked) .job-scene img { filter: saturate(.98); }
.jobs-section .scene-category { font-size: .625rem; color: #d4deca; border-color: #a9bf9160; border-radius: 4px; background: #22392cda; }
.jobs-section .job-risk .scene-category { color: #e9c8a2; border-color: #cfa16c48; background: #593d2ee6; }
.jobs-section .scene-place { font-size: .625rem; color: #c2cbb5; letter-spacing: 1.2px; }
.jobs-section .job-body { padding: 18px 18px 11px; }
.jobs-section .job-card h3 { font-size: 26px; color: #e7e9d9; margin-bottom: 10px; }
.jobs-section .job-body > p { font-size: .875rem; line-height: 1.65; height: 46px; min-height: 46px; color: #a9b9ac; }
.jobs-section .job-rewards { margin: 18px 0 15px; }
.jobs-section .cash-reward > small { color: #8fa28c; font-size: .625rem; letter-spacing: 1.1px; }
.jobs-section .cash-reward > strong { font-size: 1.5rem; color: #e8c38d; }
.jobs-section .rep-reward { color: #c4c6a1; font-size: .875rem; }
.jobs-section .rep-reward > small { font-size: .6875rem; color: #8fa693; }
.jobs-section .job-facts { border-color: #9cb69519; font-size: .75rem; gap: 14px; padding-top: 12px; margin-bottom: 15px; flex-wrap: nowrap; }
.jobs-section .job-facts .ico { width: 13px; height: 13px; color: #99ac9c; }
.jobs-section .job-facts > .chance { font-size: .6875rem; gap: 5px; color: #94a58f; }
.jobs-section .job-facts .chance.good b { color: #b4ccab; }
.jobs-section .job-card .btn { min-height: 42px; font-size: .8125rem; padding: 11px 9px; }
.jobs-section .job-extra { font-size: .6875rem; min-height: 29px; color: #8a9e8b; }
.jobs-section .job-extra > button { font-size: .6875rem; color: #b9c5a3; }
.jobs-section .job-card.locked h3 { color: #b2c0af; }
.jobs-section .job-card.locked .cash-reward strong { color: #a8b59f; }
.jobs-section .job-card.locked .job-body > p { color: #8c9f90; }
.district-pulse { border-color: #8caa7b3b; border-radius: 12px; padding: 23px 25px; background: radial-gradient(ellipse at top left, #9fac650a, transparent 70%), #21302c; }
.district-pulse .pulse-heading > .ico { color: #bdb782; }
.district-pulse .pulse-heading h3 { color: #dce1cd; }
.district-pulse .pulse-heading .eyebrow { color: #94aa8d; }
.district-pulse .pulse-rank { background: #a9b37a0b; border-color: #a6b48136; color: #c3c6a3; }
.district-pulse .chapter-metrics { border-color: #9fb78c1c; }
.district-pulse .chapter-metrics span,
.district-pulse .pulse-stats > button > span { color: #9eb29b; }
.district-pulse .chapter-metrics b,
.district-pulse .pulse-stats strong { color: #d1dbc7; }

/* Отдых: прогноз показывается до единственного подтверждающего нажатия. */
.modal.modal-recovery,
.modal.modal-sleep { width: min(100%,620px); padding: 27px; }
.modal-recovery .recovery-heading { margin: 0 36px 10px 0; gap: 12px; }
.modal-recovery .recovery-heading > .modal-symbol { width: 43px; height: 43px; margin: 0; border-color: #a6b48444; background: #b0bc7910; color: #d6be87; }
.modal-recovery .recovery-heading .eyebrow { font-size: .625rem; letter-spacing: 1.5px; color: #acb38d; }
.modal-recovery .recovery-heading h2 { font-size: 30px; }
.modal-recovery > p,
.modal-sleep > p { font-size: .8125rem; line-height: 1.6; color: #b1c0ae; }
.modal-recovery .recovery-vitals { padding: 15px 0; margin: 17px 0 18px; gap: 16px; border-color: #aac29a22; }
.modal-recovery .recovery-vitals span { font-size: .6875rem; color: #9eb39d; }
.modal-recovery .recovery-vitals b { font-size: .875rem; color: #dbe3cd; }
.rest-section-label { font-size: .6875rem; font-weight: 500; letter-spacing: .5px; color: #a9b99e; margin-bottom: 10px; }
.modal-recovery .recovery-options { gap: 8px; }
.modal-recovery .recovery-option { min-height: 66px; padding: 10px 12px; border-radius: 8px; border-color: #97b3882e; background: #26372e75; }
.modal-recovery .recovery-option:hover { border-color: #c0bc7770; background: #3c493533; }
.modal-recovery .recovery-option > span > strong { font-size: .8125rem; color: #dce4cf; }
.modal-recovery .recovery-option > span > small { font-size: .6875rem; color: #a5b79e; line-height: 1.45; }
.modal-recovery .recovery-option > b { font-size: .8125rem; color: #dbc28c; }
.modal-recovery .recovery-option > b > small { font-size: .625rem; color: #94ac92; }
.modal-recovery .recovery-option .item-art,
.modal-recovery .recovery-option .rest-symbol { width: 43px; height: 43px; }
.modal-recovery .rest-symbol { background: #c3bb7b0b; color: #cdbb86; border-color: #a3b27c30; }
.sleep-plan { margin-top: 20px; padding: 16px; border: 1px solid #c6af6b51; border-radius: 10px; background: radial-gradient(ellipse at top right, #c7a86a0d, transparent 65%), #1d302c; box-shadow: inset 0 1px #eee2ae0a; }
.sleep-home { display: flex; align-items: center; gap: 12px; }
.sleep-home > img { flex: none; width: 64px; height: 47px; object-fit: cover; object-position: center 52%; border: 1px solid #b9b78d2e; border-radius: 6px; }
.sleep-home > div { min-width: 0; }
.sleep-home .eyebrow { font-size: .5625rem; color: #9db28f; letter-spacing: 1.3px; margin-bottom: 4px; }
.sleep-home h3 { font: 500 22px/1.15 var(--display); color: #e9dbb5; }
.sleep-wakeup { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; font-size: .6875rem; color: #c5bc91; white-space: nowrap; }
.sleep-wakeup .ico { width: 14px; height: 14px; color: #d2b478; }
.sleep-effects { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)) 1.25fr; gap: 13px; padding: 16px 0 13px; }
.sleep-effects > div { min-width: 0; display: grid; grid-template-columns: 13px minmax(0,1fr); gap: 5px; align-items: center; }
.sleep-effects .ico { width: 13px; height: 13px; color: #b2b889; }
.sleep-effects > div > span { color: #a2b69e; font-size: .625rem; white-space: nowrap; }
.sleep-effects strong { grid-column: 1 / -1; font-size: 1.0625rem; line-height: 1.2; font-weight: 650; color: #e0e5ca; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sleep-effects strong small { font-size: .625rem; font-weight: 400; color: #90aa8c; margin-left: 2px; }
.sleep-effects > div:last-child strong { color: #e9c58d; }
.sleep-breakdown { display: flex; align-items: center; gap: 8px 18px; flex-wrap: wrap; padding-top: 11px; border-top: 1px solid #a9bc901b; font-size: .6875rem; color: #93aa8f; }
.sleep-breakdown b { color: #c1caaa; font-weight: 500; margin-left: 4px; }
.sleep-breakdown .sleep-risk,
.sleep-breakdown .sleep-risk b { color: #e4b08c; }
.sleep-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 17px; }
.sleep-food { display: flex; align-items: center; gap: 4px; color: #99ae90; font-size: .625rem; line-height: 1.5; }
.sleep-food > .ico { width: 12px; height: 12px; }
.sleep-food.is-low { color: #dab28a; }
.sleep-confirm { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 43px; padding: 12px 15px; border: 1px solid #e3c48c; border-radius: 7px; background: linear-gradient(125deg, #e9c68e, #c9a567); color: #283025; box-shadow: inset 0 1px #fff0d44a, 0 2px #7e693f; font-size: .8125rem; font-weight: 650; white-space: nowrap; }
.sleep-confirm .ico { width: 16px; height: 16px; }
.sleep-confirm:hover { background: linear-gradient(125deg, #f4d8a4, #dcba7a); border-color: #f5dfa9; box-shadow: inset 0 1px #fff0d44a, 0 0 0 3px #e7c78b0a, 0 2px #7e693f; }
.sleep-hint > .action-tooltip { top: auto; bottom: calc(100% + 11px); width: 310px; }
.sleep-warning { display: flex; align-items: flex-start; gap: 6px; padding: 10px 0 0; margin: 0!important; font-size: .6875rem!important; line-height: 1.5!important; color: #e0b28c!important; }
.sleep-warning > .ico { width: 14px; height: 14px; margin-top: 2px; }
.sleep-blocked { display: flex; gap: 13px; align-items: flex-start; padding: 17px; margin-top: 20px; border: 1px solid #bca16c40; border-radius: 9px; background: #bca16c09; }
.sleep-blocked > .ico { color: #cfb584; width: 22px; height: 22px; margin-top: 3px; }
.sleep-blocked strong { font-size: .9375rem; color: #e4d1a7; }
.sleep-blocked p { font-size: .8125rem; margin: 5px 0 12px; }
.sleep-blocked .btn { font-size: .75rem; min-height: 35px; padding: 9px 11px; }
.rest-shop-link { display: flex; justify-content: center; margin-top: 15px; }
.rest-shop-link > .btn { font-size: .75rem; min-height: 34px; padding: 8px 11px; background: none; border-color: transparent; color: #a4ba9c; }
.rest-shop-link > .btn:hover { color: #e7d5a9; border-color: #b1bb8f29; background: #b1bb8f08; }
.rest-shop-link .ico { width: 14px; height: 14px; }

@media (min-width: 1550px) {
  .yard-heading h1 { font-size: 43px; }
  .yard-briefing { grid-template-columns: minmax(0,1.8fr) minmax(335px,1fr); gap: 23px; }
  .yard-briefing .hero { height: 250px; }
  .yard-briefing .hero-content { padding: 27px 31px; }
  .yard-briefing .hero h2 { font-size: 37px; }
  .yard-briefing .hero-content p { font-size: .875rem; margin-bottom: 20px; }
  .yard-briefing .next-step { padding: 24px; }
  .yard-briefing .next-step h3 { font-size: 1.1875rem; }
  .yard-briefing .next-step > p { font-size: .875rem; }
  .jobs-section .job-body { padding: 22px 23px 13px; }
  .jobs-section .job-card h3 { font-size: 29px; }
}
@media (max-width: 1100px) {
  .yard-briefing { grid-template-columns: minmax(0,1.4fr) minmax(255px,1fr); gap: 16px; }
  .yard-briefing .hero-content { padding: 24px 20px; }
  .yard-briefing .hero h2 { font-size: 29px; }
  .yard-briefing .hero-buttons .btn { font-size: .75rem; padding: 9px 11px; }
  .yard-briefing .next-step { padding: 19px; }
  .yard-briefing .next-step h3 { font-size: 1rem; }
  .yard-briefing .next-reward { font-size: 1.0625rem; }
  .yard-briefing .next-reward small { margin-left: 5px; font-size: .625rem; }
  .yard-briefing .next-step-bottom > .btn { font-size: .6875rem; padding: 9px; }
  .jobs-section .filter { font-size: .75rem; padding: 8px 9px; gap: 5px; }
  .jobs-section .ready-toggle { font-size: .6875rem; padding-left: 5px; padding-right: 5px; }
}
@media (max-width: 850px) {
  .yard-heading { flex-wrap: nowrap; }
  .yard-briefing { grid-template-columns: 1fr; gap: 16px; }
  .yard-briefing .hero { height: 225px; }
  .yard-briefing .hero-content { padding: 24px; }
  .yard-briefing .hero h2 { font-size: 33px; }
  .yard-briefing .next-step { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 6px 18px; min-height: 0; padding: 18px 20px; }
  .yard-briefing .next-step-top { grid-column: 1 / -1; margin: 0 0 4px; }
  .yard-briefing .next-step > p { grid-column: 1; grid-row: 3; margin: 0; }
  .yard-briefing .next-step-progress { grid-column: 1; grid-row: 4; margin: 8px 0 0; }
  .yard-briefing .next-step-bottom { grid-column: 2; grid-row: 2 / span 3; flex-direction: column; align-items: flex-end; gap: 13px; }
  .jobs-section .jobs-toolbar { flex-wrap: wrap; }
  .jobs-section .filters { flex: 1 1 100%; }
  .jobs-section .filter { flex: 1; justify-content: center; }
  .jobs-section .ready-toggle { margin-left: auto; min-height: 27px; padding: 4px 8px; }
  .jobs-section { scroll-margin-top: 230px; }
}
@media (max-width: 600px) {
  body[data-view="yard"] .workspace { padding-top: 20px; }
  .yard-heading { gap: 12px; margin-bottom: 18px; align-items: center; }
  .yard-heading h1 { font-size: 34px; white-space: nowrap; }
  .yard-heading .eyebrow { font-size: .625rem; letter-spacing: 1.4px; }
  .yard-actions { width: auto; margin-left: auto; }
  .rest-trigger { min-height: 43px; padding: 7px 10px 7px 8px; gap: 7px; border-radius: 8px; }
  .rest-trigger-icon { width: 25px; height: 25px; }
  .rest-trigger-icon .ico { width: 17px; height: 17px; }
  .rest-trigger strong { font-size: .8125rem; }
  .rest-trigger small { display: none; }
  .yard-heading.needs-food { flex-wrap: wrap; }
  .yard-heading.needs-food .yard-actions { width: 100%; margin: 0; }
  .yard-heading.needs-food .yard-rest { flex: 1; }
  .yard-heading.needs-food .rest-trigger { width: 100%; justify-content: center; }
  .yard-heading.needs-food .snack-btn { flex: 1; font-size: .8125rem; min-height: 43px; }
  .yard-briefing { gap: 15px; margin-bottom: 26px; }
  .yard-briefing .hero { height: 225px; border-radius: 10px; background-position: 63% 32%; }
  .yard-briefing .hero-content { padding: 23px 21px; }
  .yard-briefing .hero h2 { font-size: 32px; }
  .yard-briefing .hero-content p { font-size: .8125rem; max-width: 230px; margin-bottom: 18px; }
  .yard-briefing .hero-buttons .btn { font-size: .75rem; min-height: 37px; padding: 9px 11px; }
  .yard-briefing .next-step { padding: 18px; gap: 6px 13px; }
  .yard-briefing .next-step-top .eyebrow { font-size: .5625rem; }
  .yard-briefing .next-step h3 { font-size: .9375rem; }
  .yard-briefing .next-step > p { font-size: .75rem; line-height: 1.55; }
  .yard-briefing .next-reward { font-size: 1.0625rem; }
  .yard-briefing .next-reward small { display: block; margin: 3px 0 0; }
  .yard-briefing .next-step-bottom > .btn { min-width: 0; font-size: .6875rem; padding: 9px; }
  .jobs-section { scroll-margin-top: 16px; }
  .jobs-section .jobs-title { gap: 10px; }
  .jobs-section .jobs-title h2 { font-size: 28px; }
  .jobs-section .available-label { font-size: .625rem; padding: 4px 6px; }
  .jobs-section .jobs-toolbar { gap: 5px; padding: 6px; }
  .jobs-section .filter { font-size: .75rem; padding: 8px 7px; gap: 4px; min-height: 36px; }
  .jobs-section .filter > span { min-width: 15px; height: 16px; font-size: .625rem; }
  .jobs-section .ready-toggle { font-size: .6875rem; min-height: 32px; }
  .jobs-section .jobs-grid { gap: 21px; }
  .jobs-section .job-body { padding: 20px 19px 12px; }
  .jobs-section .job-card h3 { font-size: 29px; }
  .jobs-section .job-facts { font-size: .8125rem; }
  .jobs-section .job-facts > .chance { font-size: .75rem; }
  .jobs-section .job-card .btn { font-size: .875rem; min-height: 45px; }
  .district-pulse { padding: 21px 18px; }
  .district-pulse .pulse-heading .eyebrow { font-size: .5625rem; }
  .district-pulse .pulse-rank { font-size: .5625rem; }
  .modal.modal-recovery,
  .modal.modal-sleep { padding: 24px 19px; }
  .modal-recovery .recovery-heading h2 { font-size: 29px; }
  .modal-recovery .recovery-vitals { gap: 12px; margin-top: 16px; }
  .modal-recovery .recovery-vitals span { font-size: .625rem; }
  .modal-recovery .recovery-option { padding: 10px; gap: 10px; }
  .modal-recovery .recovery-option > span > small { font-size: .625rem; }
  .sleep-plan { padding: 14px; margin-top: 18px; }
  .sleep-home { flex-wrap: wrap; gap: 9px; }
  .sleep-home > img { width: 54px; height: 43px; }
  .sleep-home h3 { font-size: 22px; }
  .sleep-wakeup { margin-left: auto; font-size: .625rem; }
  .sleep-effects { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 16px; padding-top: 18px; }
  .sleep-effects > div > span { font-size: .6875rem; }
  .sleep-effects strong { font-size: 1.125rem; }
  .sleep-breakdown { gap: 6px 13px; font-size: .625rem; }
  .sleep-bottom { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 14px; }
  .sleep-food { font-size: .625rem; }
  .sleep-hint,
  .sleep-confirm { width: 100%; }
  .sleep-confirm { font-size: .875rem; min-height: 45px; }
  .sleep-hint > .action-tooltip { width: 280px; max-width: calc(100vw - 78px); }
}
@media (max-width: 380px) {
  .yard-heading h1 { font-size: 31px; }
  .yard-heading .eyebrow { font-size: .5625rem; }
  .rest-trigger { padding-right: 9px; gap: 5px; }
  .rest-trigger strong { font-size: .75rem; }
  .yard-briefing .hero-content { padding: 23px 18px; }
  .yard-briefing .hero h2 { font-size: 29px; }
  .yard-briefing .hero-buttons .btn { font-size: .6875rem; padding: 9px 10px; }
  .yard-briefing .next-step { padding: 16px; }
  .yard-briefing .next-step h3 { font-size: .875rem; }
  .jobs-section .filters { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .jobs-section .filter { font-size: .75rem; }
  .jobs-section .job-facts { gap: 12px; }
  .jobs-section .job-facts > .chance { font-size: .6875rem; }
  .modal.modal-recovery,
  .modal.modal-sleep { padding: 24px 16px; }
  .modal-recovery .recovery-heading h2 { font-size: 27px; }
  .modal-recovery .recovery-option .item-art,
  .modal-recovery .recovery-option .rest-symbol { width: 36px; height: 36px; }
  .modal-recovery .recovery-option > span > strong { font-size: .75rem; }
  .modal-recovery .recovery-option > b { font-size: .6875rem; }
  .sleep-wakeup { margin-left: 63px; margin-top: -2px; }
  .sleep-home { row-gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .action-tooltip { transition: none; transform: none; }
}
