:root {
  color-scheme: light;
  font-family: "Instrument Sans", system-ui, sans-serif;
  color: #173f23;
  background: #dce9d9;
  --primary: #124d25;
  --button: #175c2d;
  --secondary: #245c34;
  --field: #edf4eb;
  --paper: #f9fcf8;
  --line: #bfd2bd;
  --muted: #3e5c45;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 280px; min-height: 100svh; }
input, select, button, summary { font: inherit; }
a { color: var(--primary); text-underline-offset: .18em; }
:focus-visible { outline: 3px solid #926211; outline-offset: 4px; }
p { margin: 0; line-height: 1.55; }
h1, h2 { margin: 0; color: var(--primary); line-height: 1.1; }
h2, legend { font-size: clamp(1.3rem, 2.5vw, 1.58rem); font-weight: 750; letter-spacing: -.025em; }
.top {
  display: flex; justify-content: space-between; align-items: center;
  width: min(100% - 2.5rem, 76rem); min-height: 4.25rem; margin: auto;
  border-bottom: 1px solid #afc6ad;
}
.wordmark { text-transform: uppercase; font-size: .79rem; font-weight: 800; letter-spacing: .17em; text-decoration: none; }
.wordmark:hover { text-decoration: underline; }
.plain {
  color: var(--primary); border: 0; padding: .5rem 0; background: transparent;
  min-height: 44px; cursor: pointer; font-weight: 700; text-underline-offset: .2em;
}
.plain:hover { text-decoration: underline; }
.plain span { margin-left: .3rem; }
.app { width: min(100% - 2rem, 48rem); margin: 0 auto; padding: 0 0 4rem; }
.eyebrow { font-size: .77rem; text-transform: uppercase; letter-spacing: .19em; font-weight: 800; color: var(--secondary); }
.panel {
  background: var(--paper); border: 1px solid var(--line); border-radius: 1.25rem;
  box-shadow: 0 2px 5px #124d2509; margin-bottom: 1rem; padding: clamp(1rem, 4.5vw, 1.75rem);
}
.panel > p, .forecast-heading p { margin-top: .5rem; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; color: var(--primary); }
.teams { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(.35rem, 2vw, .75rem); margin-top: 1rem; }
.teams label { position: relative; cursor: pointer; }
.teams .team-springer { grid-column: 1 / -1; }
.teams input, .file-actions input { position: absolute; opacity: 0; width: 1px; height: 1px; padding: 0; }
.teams span {
  display: grid; place-items: center; min-height: 3.1rem; border: 1px solid var(--line);
  border-radius: .7rem; color: var(--primary); background: var(--field); font-weight: 800;
}
.teams input:checked + span { background: var(--primary); color: white; border-color: var(--primary); }
.teams input:focus-visible + span, .file-actions input:focus-visible + label { outline: 3px solid #926211; outline-offset: 3px; }
.teams label:hover input:not(:checked) + span { background: #dce9d9; }
.employment { border-top: 1px solid var(--line); margin-top: 1.2rem; padding-top: 1.05rem; }
.employment h2 { font-size: clamp(1.2rem, 2vw, 1.45rem); margin-bottom: .7rem; }
.profile-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem .8rem; }
.profile-fields label { display: block; margin-bottom: .25rem; font-size: .86rem; font-weight: 700; }
.profile-fields select, .profile-fields input { width: 100%; }
.remember-profile {
  display: flex; align-items: center; gap: .55rem; width: fit-content;
  margin-top: .75rem; font-size: .87rem; cursor: pointer; font-weight: 650;
}
.remember-profile input {
  appearance: auto; flex: none; width: 1rem; height: 1rem; padding: 0; margin: 0; accent-color: var(--primary);
}
.remember-profile + .hint { margin: .15rem 0 0 1.55rem; }
.profile-fields .hint { margin-top: .25rem; }
.profile-reference { margin-top: .7rem; }
#reference-rate { font-weight: 700; }
@media (max-width: 500px) {
  .profile-fields { grid-template-columns: minmax(0, 1fr); }
}
.muted { color: var(--muted); }
.hint { color: var(--muted); font-size: .86rem; }
.button {
  display: inline-flex; justify-content: center; align-items: center; gap: .55rem;
  min-height: 2.85rem; padding: .65rem 1.2rem; background: var(--button); color: white;
  font-weight: 750; border: 1px solid transparent; border-radius: .66rem; cursor: pointer;
  text-align: center; text-decoration: none; list-style: none;
}
.button:hover { background: var(--primary); }
.button::-webkit-details-marker { display: none; }
.file-box {
  display: grid; justify-items: center; text-align: center; gap: .6rem; position: relative;
  background: var(--field); border: 1px dashed #88aa8d; border-radius: .85rem; padding: 1.1rem .75rem;
  margin-top: 1rem;
}
.file-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .55rem; }
.file-document { color: var(--primary); background: var(--paper); border-color: var(--line); }
.file-document:hover { color: var(--primary); background: #dce9d9; }
.file-box p { color: var(--muted); font-size: .84rem; }
#file-status:empty { display: none; }
#file-result { margin-top: .75rem; overflow-wrap: anywhere; }
.file-name { font-weight: 750; }
.pay-review {
  margin: .85rem 0 1rem; padding: .9rem; border: 1px solid var(--line);
  border-radius: .75rem; background: var(--field);
}
.pay-review h3 { margin: 0 0 .25rem; color: var(--primary); font-size: 1.07rem; }
.pay-review p + p, .pay-review details, .pay-review details + p { margin-top: .4rem; }
.pay-review-status, .pay-review summary { font-weight: 700; }
.overtime-summary { margin-top: .75rem; padding-top: .7rem; border-top: 1px solid var(--line); }
.overtime-summary h3 { margin: 0 0 .15rem; font-size: 1rem; }
.overtime-summary summary { cursor: pointer; font-weight: 700; font-size: .88rem; margin-top: .35rem; }
.overtime-lines { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .3rem .5rem; font-size: .87rem; margin: .55rem 0; }
.overtime-lines dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.overtime-lines dd span { display: block; }
.pay-review summary { cursor: pointer; }
.pay-review ul { padding-inline-start: 1.1rem; margin: .4rem 0; line-height: 1.5; }
.comparison-totals {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem;
  margin: .65rem 0;
}
.comparison-totals dt { font-size: .82rem; color: var(--muted); }
.comparison-totals dd { margin: .15rem 0 0; font-size: clamp(1rem, 2vw, 1.4rem); font-weight: 750; }
#comparison-table {
  max-height: none; margin: .6rem 0 .35rem; background: var(--paper);
  border: 1px solid var(--line); border-radius: .5rem;
}
#comparison-table table { table-layout: fixed; min-width: 17rem; font-size: .81rem; }
#comparison-table th:first-child { width: 37%; }
#comparison-table th, #comparison-table td { padding: .48rem .35rem; vertical-align: top; }
#comparison-table tbody th { position: static; background: transparent; text-align: left; font-weight: 650; }
#comparison-table tbody tr:last-child > * { border-bottom: 0; }
#comparison-table small { display: block; color: var(--muted); margin-top: .12rem; font-size: .72rem; font-weight: 400; }
.compare-difference { font-weight: 750; }
.compare-difference[data-different="true"] { background: #f1ead3; }
#read-details > p { margin-top: .45rem; }
#review-lines { padding-inline-start: 1.2rem; }
.clear { text-decoration: underline; }
.scroll-table { max-height: min(27rem, 65vh); overflow: auto; margin: .65rem 0; }
table { width: 100%; text-align: left; border-collapse: collapse; font-size: .88rem; }
th, td { padding: .5rem; border-bottom: 1px solid var(--line); }
th { position: sticky; top: 0; background: var(--field); }
td:not(:first-child), th:not(:first-child) {
  text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums;
}
details.extracted, details.rules { margin-top: .8rem; }
.extracted summary, .rules summary { cursor: pointer; color: var(--primary); font-weight: 750; min-height: 32px; }
.forecast-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: .75rem 1.5rem; flex-wrap: wrap; }
.plan-payday { color: var(--primary); font-weight: 750; }
.plan-period { font-size: .9rem; }
.period-picker label { font-size: .81rem; font-weight: 740; display: block; margin-bottom: .3rem; }
.period-picker { max-width: 100%; }
.period-inputs { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr) 4.6rem 2.75rem; gap: .3rem; }
.period-inputs #month { min-width: 0; }
.month-arrow {
  display: grid; place-items: center; min-height: 2.75rem; padding: 0; border: 1px solid var(--line);
  border-radius: .6rem; background: var(--field); color: var(--primary); font-size: 1.65rem; line-height: 1; cursor: pointer;
}
.month-arrow:hover:not(:disabled) { border-color: var(--primary); background: var(--primary); color: white; }
.month-arrow:disabled { opacity: .45; cursor: default; }
select, input:not([type="radio"]):not([type="file"]):not([type="checkbox"]) {
  padding: .6rem .55rem; min-height: 2.75rem; background: var(--field); color: #173f23;
  border: 1px solid #a8c2a7; border-radius: .6rem;
}
#year { width: 100%; min-width: 0; }
.forecast-layout { display: grid; gap: 1rem; margin-top: 1rem; align-items: start; }
.forecast-results { min-width: 0; }
.forecast-totals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; margin: 0; }
.forecast-totals > div { padding: clamp(.65rem, 2.3vw, 1.1rem); border-radius: .75rem; background: var(--field); }
.forecast-totals .forecast-net { background: var(--primary); color: var(--paper); }
.forecast-totals dt { color: var(--muted); font-size: .88rem; font-weight: 650; }
.forecast-totals .forecast-net dt { color: #e6f0e3; }
.forecast-totals dd {
  margin: .22rem 0 0; font-size: clamp(1rem, 3.85vw, 2.25rem); line-height: 1.13;
  font-weight: 750; font-variant-numeric: tabular-nums; overflow-wrap: anywhere;
}
.forecast-results .hint { margin-top: .55rem; }
.forecast-settings { border: 1px solid var(--line); border-radius: .8rem; overflow: hidden; }
.forecast-settings > summary {
  padding: .95rem 1rem; min-height: 3.25rem; cursor: pointer; color: var(--primary);
  background: var(--field); font-weight: 750;
}
.forecast-settings-content { display: grid; gap: .85rem; padding: 1rem; }
.settings-section { min-width: 0; border: 1px solid var(--line); border-radius: .65rem; padding: .9rem; }
.settings-section h3 { margin: 0 0 .8rem; color: var(--primary); font-size: 1rem; }
.settings-remember { grid-column: 1 / -1; border-radius: .65rem; background: var(--field); padding: .6rem .9rem .85rem; }
.settings-remember .remember-profile { margin-top: 0; }
.forecast-tax summary { padding: .55rem 0; cursor: pointer; color: var(--primary); font-size: .9rem; font-weight: 750; }
.forecast-tax-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.forecast-tax-fields label { display: block; color: var(--primary); font-size: .79rem; font-weight: 680; }
.forecast-tax-fields input { width: 100%; }
.fixed-supplement { grid-template-columns: minmax(0, 1fr); margin-top: .75rem; }
.forecast-tax p { margin-top: .4rem; }
.forecast-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; margin-top: .65rem; }
.forecast-setup { padding: .4rem .8rem; font-size: .86rem; min-height: 2.5rem; }
.forecast-compare { display: inline-flex; align-items: center; gap: .2rem; min-height: 2.5rem; font-size: .88rem; font-weight: 700; }
#teams-title, #payslip-title { scroll-margin-block-start: 1rem; }
@media (min-width: 690px) {
  .forecast-settings-content { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #holiday-settings { grid-column: 1 / -1; }
}
@media (max-width: 355px) {
  .forecast-totals { column-gap: .55rem; }
}
.notice { padding: .75rem; border-radius: .65rem; background: var(--field); margin-top: 1rem !important; }
.plan-legend { display: flex; flex-wrap: wrap; gap: .6rem 1rem; padding: 0; margin: 1rem 0; list-style: none; font-size: .85rem; }
.plan-legend li { display: flex; align-items: center; gap: .4rem; }
.key { display: inline-grid; place-items: center; min-width: 1.75rem; min-height: 1.6rem; border-radius: .3rem; font-weight: 750; }
.calendar-head, .calendar { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .25rem; text-align: center; }
.calendar-head { color: var(--muted); font-size: .72rem; margin: .5rem 0 .25rem; font-weight: 750; }
.calendar { list-style: none; padding: 0; margin: 0 0 .8rem; }
.calendar li { display: grid; align-content: center; min-height: 2.6rem; border-radius: .45rem; font-size: .8rem; }
.calendar strong { display: block; margin-top: .1rem; }
.calendar-instruction { margin: 0 0 .35rem; }
.calendar li { min-width: 0; }
.calendar-cell {
  display: grid; place-content: center; width: 100%; min-height: 2.6rem; padding: 0;
  border: 1px solid transparent; border-radius: inherit; background: transparent;
  color: inherit; cursor: pointer; font-size: inherit; text-align: center;
}
.calendar-cell:hover { border-color: currentColor; }
.calendar-cell[data-selected="true"] { border: 2px solid currentColor; }
.calendar-cell .shift-mark { font-weight: 750; }
.calendar-cell[data-adjusted="true"] time { text-decoration: underline; text-underline-offset: .16rem; }
.extra-day, .extra-night, .extra-hours { background: #bfe1bf; color: #174520; }
.opted-off { background: #e1d7ee; color: #422b58; }
.calendar .opted-off .shift-mark { font-size: .64rem; }
.vacation { background: #fae68e; color: #493909; }
.sick { background: #ffc58a; color: #552d07; }
.key.extra-hours { padding-inline: .38rem; white-space: nowrap; }
.shift-editor { border-top: 1px solid var(--line); margin-bottom: .75rem; padding-top: .55rem; }
.shift-editor summary { cursor: pointer; font-size: .89rem; font-weight: 750; }
.shift-edit-head { display: flex; align-items: end; justify-content: space-between; gap: .5rem; margin-top: .5rem; flex-wrap: wrap; }
.shift-edit-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.shift-edit-fields, #ofri-editor, #edit-status { margin-top: .5rem; }
.shift-editor label { font-size: .82rem; font-weight: 680; display: block; }
.shift-edit-fields input { width: 100%; }
#edit-ofri { max-width: 7rem; }
.extra-editor p { margin-top: .38rem; }
.shift-editor .plain { font-size: .79rem; }
.shift-editor .plain:disabled { opacity: .45; cursor: default; }
.day { background: #cde6fa; color: #173d63; }
.night { background: #5b6069; color: #fff; }
.off { background: #edf4eb; color: #3e5c45; }
.rules .rule-list { padding-left: 1.2em; line-height: 1.55; }
.rules a { display: inline-block; margin-top: .45rem; }
.agreement {
  display: inline-flex; white-space: nowrap; align-items: center; gap: .45rem;
  min-height: 2.4rem; padding: .45rem .7rem; background: var(--field); border: 1px solid #afc6ad;
  border-radius: .55rem; font-size: .8rem; font-weight: 740; text-decoration: none;
}
.agreement:hover { border-color: var(--secondary); text-decoration: underline; }
.document-icon {
  width: .7rem; height: .9rem; display: inline-block; position: relative;
  border: 1.5px solid currentColor; border-radius: .08rem;
}
.document-icon::after {
  content: ""; position: absolute; left: .1rem; right: .1rem; top: .24rem;
  height: .26rem; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor;
}
@media (max-width: 500px) {
  .top { width: calc(100% - 1.5rem); column-gap: .4rem; }
  .wordmark { font-size: .68rem; letter-spacing: .1em; white-space: nowrap; }
  .agreement { font-size: .7rem; padding-inline: .43rem; gap: .3rem; }
}
@media (max-width: 330px) {
  .top { padding: .2rem 0; }
}

@font-face {
  font-family: "Instrument Sans";
  src: url("./vendor/fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("./vendor/fonts/instrument-serif.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

body { background: radial-gradient(ellipse at 50% 12%, #eff6e9 0, transparent 35rem); }
.app { width: min(100% - 2rem, 74rem); padding-top: clamp(1rem, 3vw, 2rem); }
.intro {
  position: relative; isolation: isolate; overflow: hidden; border-radius: 1.2rem;
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center;
  gap: clamp(.4rem, 2vw, 1rem);
  background: radial-gradient(ellipse at 50% 116%, #337245, transparent 70%), var(--primary);
  padding: clamp(.85rem, 2vw, 1.3rem) clamp(1rem, 3.5vw, 1.75rem);
  color: #f1f6ed; margin-bottom: 1rem;
}
.intro::before, .intro::after {
  content: ""; position: absolute; z-index: -1; bottom: -60%; width: 57%; height: 170%;
  border-radius: 48%; pointer-events: none;
  background: repeating-radial-gradient(ellipse at 50% 55%, transparent 0 13px, #dce9d929 14px 15px, transparent 16px 25px);
  mask-image: linear-gradient(to top, #000 50%, transparent 94%);
}
.intro::before { left: -28%; transform: rotate(-25deg); }
.intro::after { right: -28%; transform: rotate(25deg); }
.intro h1 {
  color: #f6f8ee; font-family: "Instrument Serif", Georgia, serif; font-weight: 400;
  letter-spacing: -.045em; font-size: clamp(2.1rem, 6vw, 3.45rem); line-height: 1;
}
.intro .eyebrow { margin-top: .22rem; color: #dcf0d5; }
.panel { box-shadow: 0 6px 20px #1f4f2610; }
.payslip-panel .file-label { padding-inline: 1.35rem; }
@media (min-width: 860px) {
  .app { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1rem; align-items: start; }
  .app .panel, .app .intro { margin-bottom: 0; }
  .intro, .forecast-panel, .check-panel { grid-column: 1 / -1; }
  .team-panel { grid-column: 1; grid-row: 3; }
  .payslip-panel { grid-column: 1; grid-row: 4; }
  .plan-panel { grid-column: 2; grid-row: 3 / span 2; padding: clamp(1rem, 2vw, 1.35rem); }
}
.visits {
  display: grid; text-align: center; line-height: 1; padding: .25rem .35rem;
  font-variant-numeric: tabular-nums;
}
.visits strong { font-size: clamp(1.6rem, 4vw, 2.45rem); letter-spacing: -.045em; font-weight: 700; }
.visits span { margin-top: .25rem; font-size: .67rem; color: #dcf0d5; font-weight: 640; letter-spacing: .05em; }
.intro .agreement {
  justify-self: end; max-width: 100%; color: #f1f6ed; border-color: #dce9d95c;
  background: #dce9d916; text-align: center;
}
.intro .agreement:hover { border-color: #edf4eb; }
.agreement-edition { white-space: nowrap; }
@media (max-width: 500px) {
  .intro .document-icon, .intro .agreement-arrow { display: none; }
  .intro .agreement { min-height: 2.75rem; padding: .3rem .38rem; font-size: .65rem; line-height: 1.18; white-space: normal; }
  .intro .agreement-edition { display: block; }
  .intro .eyebrow { font-size: .61rem; letter-spacing: .075em; }
}

.gate {
  background:
    radial-gradient(ellipse at 65% 28%, #f5f8ee, transparent 57%),
    radial-gradient(ellipse at 2% 90%, #bbd4bb, transparent 48%),
    #dce9d9;
}
.gate-main { display: grid; place-items: center; min-height: calc(100svh - 4.25rem); padding: 2rem 1rem 5rem; }
.gate-card {
  display: grid; grid-template-columns: 1.12fr 1fr; width: min(100%, 58rem);
  min-height: 26rem; overflow: hidden; border: 1px solid #abc4ab; border-radius: 1.55rem;
  background: var(--paper); box-shadow: 0 26px 68px #123e2130, 0 2px 6px #123e2115;
}
.gate-brand {
  position: relative; isolation: isolate; overflow: hidden; display: flex;
  flex-direction: column; justify-content: flex-end; padding: clamp(1.75rem, 4vw, 3.1rem);
  background: radial-gradient(ellipse at 19% 104%, #217341, transparent 74%), #10391e;
  color: #f6f8ee;
}
.gate-brand .eyebrow { color: #cde5ba; margin-bottom: .6rem; }
.gate-name {
  font: 400 clamp(4.8rem, 10.5vw, 8rem)/.86 "Instrument Serif", Georgia, serif;
  letter-spacing: -.045em; white-space: nowrap;
}
.gate-name span { color: #b9dd9b; }
.gate-cycle { font-weight: 550; font-size: 1.03rem; margin-top: .75rem; color: #dbebd2; }
.gate-pattern, .gate-brand::after { position: absolute; pointer-events: none; z-index: -1; }
.gate-pattern {
  width: 170%; aspect-ratio: 1; right: -54%; top: -77%;
  border-radius: 50%; transform: scaleY(.79) rotate(-28deg);
  background: repeating-radial-gradient(circle at center, #d4edbb30 0 1px, transparent 2px 17px);
  mask-image: linear-gradient(145deg, transparent 5%, #000 74%);
}
.gate-brand::after {
  content: ""; inset: 0; opacity: .25;
  background: radial-gradient(circle, #e2f4cb85 0 1px, transparent 1.4px) 0 0 / 15px 15px;
  mask-image: linear-gradient(to bottom, #000, transparent 44%);
}
.gate-access {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(1.65rem, 5vw, 3.3rem); min-width: 0;
}
.icon-lock { position: relative; width: 2.8rem; height: 2.8rem; background: #e4efde; border-radius: .85rem; margin-bottom: 1.1rem; }
.icon-lock::before { content: ""; position: absolute; left: 37%; top: 22%; width: 26%; height: 38%; border: 2px solid var(--primary); border-radius: .5rem; }
.icon-lock::after { content: ""; position: absolute; left: 29%; top: 46%; width: 42%; height: 30%; background: var(--primary); border-radius: .18rem; }
.gate h1 {
  font: 400 clamp(2.6rem, 5.5vw, 4rem)/.97 "Instrument Serif", Georgia, serif;
  letter-spacing: -.022em; margin: 0 0 1.5rem; text-wrap: balance;
}
.login-details > summary { display: flex; width: 100%; justify-content: space-between; gap: .5rem; }
.login-details > summary span { font-weight: 500; color: #def0d6; }
.login-details[open] > summary { margin-bottom: .9rem; color: #124d25; background: #e6f0e3; }
.login-details[open] > summary span { color: #124d25; }
.login-form { display: grid; gap: .65rem; }
.login-form label { font-weight: 750; font-size: .88rem; }
.login-form input { width: 100%; }
.feedback { font-size: .88rem; color: #802f19; }
@media (max-width: 650px) {
  .gate-main { min-height: auto; padding: 1.15rem 1rem 2rem; }
  .gate-card { display: block; min-height: auto; max-width: 27rem; }
  .gate-brand { min-height: 10.5rem; padding-block: 1.15rem; }
  .gate-access { padding: 1.5rem 1.45rem 1.65rem; }
  .gate h1 { font-size: clamp(2.45rem, 9vw, 3.25rem); text-wrap: auto; margin-bottom: 1rem; }
  .gate-name { font-size: clamp(4.25rem, 17vw, 5.5rem); }
  .icon-lock { margin-bottom: .8rem; }

  .forecast-tax-fields { grid-template-columns: minmax(0, 1fr); }
  .forecast-settings-content { padding: .75rem; gap: .75rem; }
  .period-picker { width: 100%; }
  .period-inputs { grid-template-columns: 2.75rem minmax(0, 1fr) 4.1rem 2.75rem; }
  .forecast-settings > summary, .forecast-tax summary, .shift-editor summary, .overtime-summary summary,
  .extracted summary, .rules summary {
    min-height: 2.75rem; padding-block: .72rem; line-height: 1.32;
  }
  .forecast-actions { flex-direction: column; align-items: stretch; gap: .5rem; }
  .forecast-setup, .forecast-compare { min-height: 2.75rem; }
  .forecast-compare {
    justify-content: center; padding: .5rem .65rem; border: 1px solid var(--line);
    border-radius: .65rem; background: var(--field); text-align: center; text-decoration: none;
  }
  .remember-profile {
    width: 100%; min-height: 2.75rem; padding: .4rem .5rem; border-radius: .5rem;
  }
  .remember-profile:has(input:checked) { background: var(--field); }
  .remember-profile input { width: 1.15rem; height: 1.15rem; }
  .remember-profile + .hint { margin-left: 2.2rem; }
  .calendar li, .calendar-cell { min-height: 2.9rem; }
  .file-actions { display: grid; width: min(100%, 19rem); }
}
@media (max-width: 355px) {
  .plan-panel { padding-inline: .75rem; }
  .calendar-head, .calendar { gap: .2rem; }
}
