/* ============================================
   OVERTIME CALCULATOR — PAGE CSS
   Mirrors Net Pay polish / components
   ============================================ */

/* ============================================
   EDUCATIONAL SECTIONS (NET-PAY STYLE)
   ============================================ */

/* TRUST SIGNALS */
.calc-trust-signals { display:flex; flex-wrap:wrap; gap: var(--space-sm); justify-content:center; margin-top: var(--space-md); }
.trust-badge { display:inline-flex; align-items:center; gap: var(--space-xs); padding: var(--space-xs) var(--space-md); background: rgba(0,69,38,.08); border:1px solid rgba(0,69,38,.2); border-radius: var(--radius-pill); font-size:.85rem; font-weight:600; color: var(--color-primary); white-space:nowrap; }
@media (max-width:640px){ .calc-trust-signals{ flex-direction:column; align-items:center; } .trust-badge{ width:100%; max-width:280px; justify-content:center; } }

/* HOW THIS CALCULATOR WORKS SECTION */
.calc-guide { background: var(--color-surface); padding: var(--space-3xl) var(--gutter); }
.calc-guide .section-heading { text-align: center; margin-bottom: var(--space-2xl); }
.calc-guide .section-heading h2 { color: var(--color-primary); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.2rem); letter-spacing: -0.02em; margin-bottom: var(--space-md); }
.calc-guide .section-heading p { color: var(--color-text-muted); font-size: 1.1rem; line-height: 1.6; max-width: 70ch; margin: 0 auto; background: rgba(0, 69, 38, 0.05); padding: var(--space-sm) var(--space-md); border-radius: var(--radius-md); border: 1px solid rgba(0, 69, 38, 0.1); }
.guide-content { max-width: var(--max-width); margin: 0 auto; display: grid; gap: var(--space-xl); }
.guide-step { background: rgba(255, 255, 255, 0.98); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-xl); box-shadow: var(--shadow-xs); transition: all var(--transition-base); position: relative; }
.guide-step:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: rgba(0, 69, 38, 0.2); }
.guide-step h3 { color: var(--color-primary); font-size: 1.3rem; font-weight: 700; margin: 0 0 var(--space-md); padding-left: calc(var(--space-lg) + 28px); position: relative; }
.guide-step h3::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; background: var(--color-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 0.75rem; }
.guide-step:nth-child(1) h3::before { content: '1'; }
.guide-step:nth-child(2) h3::before { content: '2'; }
.guide-step:nth-child(3) h3::before { content: '3'; }
.guide-step:nth-child(4) h3::before { content: '4'; }
.guide-step p { color: var(--color-text); line-height: 1.7; margin: 0 0 var(--space-md); padding-left: var(--space-lg); }
.guide-step p:last-child { margin-bottom: 0; }
@media (max-width: 640px) { .guide-step { padding: var(--space-lg); } .guide-step h3 { font-size: 1.15rem; padding-left: calc(var(--space-md) + 24px); } .guide-step h3::before { width: 20px; height: 20px; font-size: 0.7rem; } .guide-step p { padding-left: calc(var(--space-md) + 24px); } }

/* UNDERSTANDING YOUR RESULTS SECTION */
.calc-results-guide { background: var(--color-bg-soft); padding: var(--space-3xl) var(--gutter); }
.calc-results-guide .section-heading { text-align: center; margin-bottom: var(--space-2xl); }
.calc-results-guide .section-heading h2 { color: var(--color-primary); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.2rem); letter-spacing: -0.02em; margin-bottom: var(--space-md); }
.calc-results-guide .section-heading p { color: var(--color-text-muted); font-size: 1.1rem; line-height: 1.6; max-width: 70ch; margin: 0 auto; background: rgba(0, 69, 38, 0.05); padding: var(--space-sm) var(--space-md); border-radius: var(--radius-md); border: 1px solid rgba(0, 69, 38, 0.1); }
.results-guide-content { max-width: var(--max-width); margin: 0 auto; display: grid; gap: var(--space-lg); grid-template-columns: 1fr; }
@media (min-width: 640px) { .results-guide-content { grid-template-columns: repeat(2, 1fr); } }
.results-item { background: rgba(255, 255, 255, 0.98); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-lg); box-shadow: var(--shadow-xs); transition: all var(--transition-base); }
.results-item:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: rgba(0, 69, 38, 0.2); }
.results-item h3 { color: var(--color-primary); font-size: 1.2rem; font-weight: 700; margin: 0 0 var(--space-sm); display: flex; align-items: center; gap: var(--space-sm); }
.results-item h3::before { content: '✓'; width: 28px; height: 28px; background: rgba(0, 69, 38, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--color-primary); font-size: 0.9rem; font-weight: 700; flex-shrink: 0; }
.results-item p { color: var(--color-text); line-height: 1.7; margin: 0; font-size: 0.95rem; }

/* WHEN TO USE THIS CALCULATOR SECTION */
.calc-use-cases { background: var(--color-surface); padding: var(--space-3xl) var(--gutter); }
.calc-use-cases .section-heading { text-align: center; margin-bottom: var(--space-2xl); }
.calc-use-cases .section-heading h2 { color: var(--color-primary); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.2rem); letter-spacing: -0.02em; margin-bottom: var(--space-md); }
.calc-use-cases .section-heading p { color: var(--color-text-muted); font-size: 1.1rem; line-height: 1.6; max-width: 70ch; margin: 0 auto; background: rgba(0, 69, 38, 0.05); padding: var(--space-sm) var(--space-md); border-radius: var(--radius-md); border: 1px solid rgba(0, 69, 38, 0.1); }
.use-cases-grid { max-width: var(--max-width); margin: 0 auto; display: grid; gap: var(--space-lg); grid-template-columns: 1fr; }
@media (min-width: 640px) { .use-cases-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .use-cases-grid { grid-template-columns: repeat(3, 1fr); } }
.use-case-card { background: rgba(255, 255, 255, 0.98); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-lg); box-shadow: var(--shadow-xs); transition: all var(--transition-base); display: flex; flex-direction: column; gap: var(--space-md); }
.use-case-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: rgba(0, 69, 38, 0.25); }
.use-case-card h3 { color: var(--color-primary); font-size: 1.2rem; font-weight: 700; margin: 0; display: flex; align-items: center; gap: var(--space-sm); }
.use-case-number { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; background: var(--color-primary); color: white; border-radius: 50%; font-size: 0.85rem; font-weight: 700; flex-shrink: 0; }
.use-case-card p { color: var(--color-text); line-height: 1.7; margin: 0; font-size: 0.95rem; flex: 1; }

/* REAL-WORLD EXAMPLES - 2x2 GRID */
.examples .examples__grid { display: grid; gap: var(--space-lg); grid-template-columns: 1fr; max-width: var(--max-width); margin: 0 auto; }
@media (min-width: 640px) { .examples .examples__grid { grid-template-columns: repeat(2, 1fr); } }
.examples .example-card { min-height: 240px; display: grid; grid-template-rows: auto auto 1fr auto; padding: var(--space-lg); background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-xs); transition: all var(--transition-base); }
.examples .example-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: rgba(0, 69, 38, 0.25); }
.examples .example-card h3 { margin: 0 0 var(--space-xs); font-size: 1.15rem; line-height: 1.3; color: var(--color-primary); font-weight: 700; }
.examples .example-card .example-card__meta { margin: 0 0 var(--space-sm); color: var(--color-text-muted); font-size: 0.9rem; }
.example-card__panel { background: rgba(229, 240, 232, 0.35); border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; margin: var(--space-sm) 0 var(--space-md); }
.example-card__panel p { padding: var(--space-sm) var(--space-md); border-bottom: 1px dotted rgba(0, 69, 38, 0.28); margin: 0; font-size: 0.9rem; }
.example-card__panel p:last-child { border-bottom: 0; }
.example-card__peek { color: var(--color-text-soft); }
.example-card__peek strong { color: var(--color-primary); font-weight: 800; font-size: 1.1rem; display: block; margin-top: 4px; font-variant-numeric: tabular-nums; }
.example-card__actions { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); margin-top: var(--space-sm); flex-wrap: wrap; }
.example-card__tags { display: inline-flex; gap: 0.4rem; flex-wrap: wrap; margin: 0; }
.example-card__tags .chip { background: rgba(0, 69, 38, 0.06); border: 1px solid var(--color-border); padding: 0.3rem 0.6rem; font-size: 0.8rem; }
.example-card__tags .chip--soft { background: rgba(201, 145, 55, 0.12); border-color: rgba(201, 145, 55, 0.3); color: #a86b1f; }
.examples .example-card .btn { min-height: 40px; padding: 0.45rem 0.85rem; font-size: 0.88rem; white-space: nowrap; justify-self: start; width: auto; }
@media (max-width: 640px) { .examples .example-card .btn { justify-self: stretch; width: 100%; } .example-card__actions { flex-direction: column; align-items: stretch; } }

/* OFFICIAL DATA SOURCES SECTION */
.data-sources { background: var(--color-bg-soft); padding: var(--space-3xl) var(--gutter); }
.data-sources .section-heading { text-align: center; margin-bottom: var(--space-2xl); }
.data-sources .section-heading h2 { color: var(--color-primary); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.2rem); letter-spacing: -0.02em; margin-bottom: var(--space-md); }
.data-sources .section-heading p { color: var(--color-text-muted); font-size: 1.1rem; line-height: 1.6; max-width: 70ch; margin: 0 auto; background: rgba(0, 69, 38, 0.05); padding: var(--space-sm) var(--space-md); border-radius: var(--radius-md); border: 1px solid rgba(0, 69, 38, 0.1); }
.sources-content { max-width: var(--max-width); margin: 0 auto; }
.sources-list { background: rgba(255, 255, 255, 0.98); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-xl); box-shadow: var(--shadow-xs); list-style: none; margin: 0 0 var(--space-lg); display: grid; gap: var(--space-lg); }
.sources-list li { position: relative; padding-left: var(--space-xl); line-height: 1.6; }
.sources-list li::before { content: '→'; position: absolute; left: 0; top: 0; color: var(--color-primary); font-weight: 700; font-size: 1.1rem; }
.sources-list a { color: var(--color-primary); text-decoration: underline; font-weight: 600; transition: color var(--transition-fast); }
.sources-list a:hover { color: var(--color-accent-gold); }

/* FAQ ENHANCEMENTS */
.faq { background: var(--color-surface); padding: var(--space-3xl) var(--gutter); }
.faq .section-heading h2 { font-size: clamp(1.75rem,3vw,2.25rem); }
.faq .section-heading p { font-size:.95rem; }

/* SECTION WRAPPER */
.calc.calc--overtime { background: var(--color-surface); overflow-x: clip; }

/* GRID LAYOUT */
.calc__grid { max-width: var(--max-width); margin:0 auto; display:grid; gap: var(--space-xl); grid-template-columns:1fr; }
.calc__grid > * { min-width:0; }
@media (min-width:1024px){ .calc__grid { grid-template-columns: minmax(0,1fr) minmax(340px,440px); gap: var(--space-2xl); align-items:start; } }

/* FORM */
.calc__form { display:grid; gap: var(--space-lg); align-self:start; }
.calc__form label { display:grid; gap: var(--space-xs); font-weight:600; transition: all var(--transition-fast); }
.calc__form label > span { color: var(--color-text); font-size:.9rem; }
.calc__form input[type="number"], .calc__form input[type="text"], .calc__form input[type="search"], .calc__form select { border:1px solid var(--color-border); border-radius: var(--radius-md); background: rgba(229,240,232,.35); min-height:48px; padding: var(--space-sm) var(--space-md); font-size:1rem; font-variant-numeric: tabular-nums; transition: all var(--transition-fast); }
.calc__form input:focus-visible, .calc__form select:focus-visible { outline:none; box-shadow: var(--shadow-focus); border-color: rgba(182,134,44,.6); background: rgba(255,255,255,.95); transform: translateY(-1px); }
.calc__form input::placeholder { color: var(--color-text-soft); opacity:.6; }

/* SEGMENTS */
.seg { background: rgba(255,255,255,.98); border:1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-lg); display:grid; gap: var(--space-md); box-shadow: var(--shadow-xs); transition: all var(--transition-base); }
.seg:hover{ box-shadow: var(--shadow-sm); }
.seg legend{ font-weight:700; color: var(--color-primary); font-size:.9rem; text-transform:uppercase; letter-spacing:.05em; margin-bottom: var(--space-xs); }

/* DETAILS */
.calc__form details{ background: rgba(255,255,255,.98); border:1px solid var(--color-border); border-radius: var(--radius-lg); padding:0; overflow:hidden; box-shadow: var(--shadow-xs); transition: all var(--transition-base); }
.calc__form details[open]{ box-shadow: var(--shadow-sm); }
.calc__form summary{ cursor:pointer; font-weight:700; font-size:.9rem; list-style:none; padding: var(--space-md) var(--space-lg); background: rgba(0,69,38,.05); color: var(--color-primary); text-transform:uppercase; letter-spacing:.05em; display:flex; align-items:center; justify-content:space-between; transition: background var(--transition-fast); }
.calc__form summary::-webkit-details-marker{ display:none; }
.calc__form summary::after{ content:'+'; font-size:1.5rem; line-height:1; transition: transform var(--transition-base); }
.calc__form details[open] summary::after{ transform: rotate(45deg); }
.calc__form summary:hover{ background: rgba(0,69,38,.08); }
.calc__form details > label{ padding: var(--space-md) var(--space-lg); border-top:1px solid var(--color-border); }
.calc__form details > label:first-of-type{ padding-top: var(--space-lg); }

/* OVERTIME GRID */
.seg--ot .ot-grid{ display:grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: var(--space-sm); }
@media (max-width:720px){ .seg--ot .ot-grid{ grid-template-columns:1fr; } }

/* TOGGLES */
.seg--toggles { display:grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: var(--space-sm); align-items:stretch; padding: var(--space-md); }
@media (max-width:980px){ .seg--toggles{ grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width:640px){ .seg--toggles{ grid-template-columns:1fr; } }
.seg--toggles label{ display:inline-flex; align-items:center; justify-content:center; gap:.5rem; font-weight:600; font-size:.9rem; padding: var(--space-sm) var(--space-md); background: rgba(255,255,255,.9); border:1px solid var(--color-border); border-radius: var(--radius-md); cursor:pointer; transition: all var(--transition-fast); min-height:44px; }
.seg--toggles label:hover{ border-color: var(--color-accent-gold); background: rgba(182,134,44,.05); transform: translateY(-1px); }
.seg--toggles label:has(input:checked){ background: rgba(0,69,38,.12); color: var(--color-primary); border-color: var(--color-primary); box-shadow: var(--shadow-xs); }
.seg--toggles input{ width:20px; height:20px; accent-color: var(--color-accent-gold); cursor:pointer; }

/* SUBMIT */
.calc__form .btn[type="submit"]{ width:100%; min-height:52px; font-weight:700; font-size:1rem; letter-spacing:.02em; box-shadow: var(--shadow-sm); }
.calc__form .btn[type="submit"]:hover{ box-shadow: var(--shadow-md); }

/* RESULTS */
.calc__results{ display:grid; gap: var(--space-lg); align-content:start; }
@media (min-width:1024px){ .calc__results{ position:sticky; top: calc(var(--header-height) + var(--status-banner-height) + var(--space-lg)); } }
.calc__results[data-calculated="false"]{ opacity:.5; pointer-events:none; filter: grayscale(.2); }
.calc__results[data-calculated="true"]{ opacity:1; pointer-events:auto; filter:none; }
.result-summary{ background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(229,240,232,.4)); border:2px solid var(--color-primary); border-radius: var(--radius-lg); padding: var(--space-xl); box-shadow: var(--shadow-md); text-align:center; position:relative; overflow:hidden; }
.result-summary::before{ content:""; position:absolute; top:-50%; right:-20%; width:250px; height:250px; background: radial-gradient(circle, rgba(182,134,44,.12), transparent 70%); border-radius:50%; pointer-events:none; }
.result-summary h2{ margin:0 0 var(--space-sm); font-size:.95rem; font-weight:700; color: var(--color-text-soft); text-transform:uppercase; letter-spacing:.08em; position:relative; z-index:1; }
.result-summary__value{ margin:0; font-weight:800; color: var(--color-primary); font-size: clamp(2.1rem,5vw,2.6rem); font-variant-numeric: tabular-nums; line-height:1.1; position:relative; z-index:1; text-shadow: 0 2px 4px rgba(0,69,38,.1); }
.result-summary__meta{ margin: var(--space-sm) 0 0; color: var(--color-text); position:relative; z-index:1; }

/* MINI RECEIPT */
.mini-receipt{ background: rgba(255,255,255,.98); border:1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-lg); box-shadow: var(--shadow-sm); margin-top: var(--space-sm); }
@media (min-width:640px){ .mini-receipt{ padding: var(--space-xl); } }
.mini-receipt dl{ margin:0; display:grid; gap:0; }
.mini-receipt dl > div{ display:grid; grid-template-columns:1fr auto; gap: var(--space-md); align-items:center; padding: var(--space-sm) 0; border-bottom:1px dotted var(--color-border); transition: background var(--transition-fast); }
.mini-receipt dl > div:hover{ background: rgba(0,69,38,.02); }
.mini-receipt dl > div:last-child{ border-bottom:none; }
.mini-receipt dt{ font-weight:600; color: var(--color-text); font-size:.95rem; }
.mini-receipt dd{ margin:0; text-align:right; font-weight:700; color: var(--color-text); font-variant-numeric: tabular-nums; font-size:.95rem; }
.mini-receipt__total{ padding-top: var(--space-md); margin-top: var(--space-sm); border-top:2px solid var(--color-border-strong) !important; background: rgba(0,69,38,.06); }
.mini-receipt__total dt, .mini-receipt__total dd{ color: var(--color-primary); font-weight:800; font-size:1.05rem; }

/* Optional panels */
[data-taxes-panel]{ display:grid; }

/* CALC ACTIONS */
.calc-actions{ max-width: var(--max-width); margin: var(--space-xl) auto 0; display:grid; gap: var(--space-md); grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); }
@media (max-width:420px){ .calc-actions{ grid-template-columns:1fr; } }
.calc-actions .btn{ width:100%; justify-content:center; }

/* NOTES SECTION */
.calc-notes{ background: var(--color-bg-soft); padding: var(--space-3xl) var(--gutter); }
.calc-notes .calculator-briefing__grid{ max-width: var(--max-width); margin:0 auto; display:grid; gap: var(--space-lg); grid-template-columns:1fr; }
@media (min-width:640px){ .calc-notes .calculator-briefing__grid{ grid-template-columns: repeat(2,1fr); } }
@media (min-width:1024px){ .calc-notes .calculator-briefing__grid{ grid-template-columns: repeat(3,1fr); } }
.calc-notes .calculator-briefing__grid article{ background: rgba(255,255,255,.98); border:1px solid var(--color-border); color: var(--color-text); padding: var(--space-lg); border-radius: var(--radius-lg); box-shadow: var(--shadow-xs); display:grid; gap: var(--space-md); transition: all var(--transition-base); }
.calc-notes .calculator-briefing__grid article:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); }
.calc-notes .calculator-briefing__grid article header{ display:flex; align-items:center; gap: var(--space-sm); flex-wrap:wrap; }
.calc-notes .calculator-briefing__grid h3{ color: var(--color-primary); margin:0; font-size:1.1rem; font-weight:700; }
.calc-notes .calculator-briefing__grid p{ color: var(--color-text-muted); margin:0; }
.calc-notes .calculator-briefing__meta{ margin:0; border:1px solid var(--color-border); border-radius: var(--radius-md); background: rgba(229,240,232,.35); overflow:hidden; font-size:.9rem; }
.calc-notes .calculator-briefing__meta > div{ display:grid; grid-template-columns:1fr auto; gap: var(--space-md); padding: var(--space-sm) var(--space-md); border-bottom:1px dotted rgba(0,69,38,.28); align-items:baseline; }
.calc-notes .calculator-briefing__meta > div:last-child{ border-bottom:0; }
.calc-notes .calculator-briefing__meta dt{ color: var(--color-text); font-weight:600; }
.calc-notes .calculator-briefing__meta dd{ margin:0; color: var(--color-text); text-align:right; font-weight:700; font-variant-numeric: tabular-nums; }
.calc-notes .briefing-total{ border-top:2px solid rgba(0,69,38,.35) !important; background: rgba(0,69,38,.08); font-weight:700; }
.calc-notes .briefing-total dt, .calc-notes .briefing-total dd{ color: var(--color-primary); font-weight:800; }
.calc-notes .tag{ background: rgba(0,69,38,.12); color: var(--color-primary); padding:.3rem .65rem; border-radius: var(--radius-pill); font-size:.75rem; font-weight:700; text-transform:uppercase; letter-spacing:.05em; }
.calc-notes .chip{ background: rgba(0,69,38,.06); border:1px solid var(--color-border); color: var(--color-text); padding:.3rem .65rem; }
.calc-notes article ul.calculator-briefing__meta{ list-style:none; margin:0; padding: var(--space-md); border:1px solid var(--color-border); border-radius: var(--radius-md); background: rgba(229,240,232,.35); display:grid; gap: var(--space-sm); }

/* EXAMPLES */
.examples{ background: var(--color-surface); padding: var(--space-3xl) var(--gutter); }
.examples__grid{ max-width: var(--max-width); margin:0 auto; display:grid; gap: var(--space-lg); grid-template-columns:1fr; }
@media (min-width:640px){ .examples__grid{ grid-template-columns: repeat(2,1fr); } }
@media (min-width:1024px){ .examples__grid{ grid-template-columns: repeat(3,1fr); } }
.examples .example-card{ min-height:240px; display:grid; grid-template-rows:auto auto 1fr auto; padding: var(--space-lg); background:#fff; border:1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-xs); transition: all var(--transition-base); }
.examples .example-card:hover{ box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: rgba(0,69,38,.25); }
.examples .example-card:focus-within{ box-shadow: var(--shadow-focus); }
.examples .example-card h3{ margin:0 0 var(--space-xs); font-size:1.15rem; line-height:1.3; color: var(--color-primary); font-weight:700; }
.examples .example-card .example-card__meta{ margin:0 0 var(--space-sm); color: var(--color-text-muted); font-size:.9rem; }
.example-card__panel{ background: rgba(229,240,232,.35); border:1px solid var(--color-border); border-radius: var(--radius-md); overflow:hidden; margin: var(--space-sm) 0 var(--space-md); }
.example-card__panel p{ padding: var(--space-sm) var(--space-md); border-bottom:1px dotted rgba(0,69,38,.28); margin:0; font-size:.9rem; }
.example-card__panel p:last-child{ border-bottom:0; }
.example-card__peek{ color: var(--color-text-soft); }
.example-card__peek strong{ color: var(--color-primary); font-weight:800; font-size:1.1rem; display:block; margin-top:4px; font-variant-numeric: tabular-nums; }
.example-card__actions{ display:flex; align-items:center; justify-content:flex-start; gap: var(--space-sm); margin-top: var(--space-sm); flex-wrap:nowrap; }
.example-card__tags{ display:inline-flex; gap:.4rem; flex-wrap:wrap; margin:0; }
.example-card__tags .chip{ background: rgba(0,69,38,.06); border:1px solid var(--color-border); padding:.2rem .5rem; font-size:.75rem; }
.example-card__tags .chip--soft{ background: rgba(201,145,55,.12); border-color: rgba(201,145,55,.3); color:#a86b1f; }
.examples .example-card .btn{ min-height:32px; padding:.35rem .7rem; font-size:.85rem; white-space:nowrap; justify-self:start; width:auto; flex:0 0 auto; }
@media (max-width:640px){ .examples .example-card .btn{ justify-self:start; width:auto; } .example-card__actions{ flex-direction:row; align-items:center; flex-wrap:nowrap; } }

/* CHIPS & INTRO META */
.calc-intro-meta { display:flex; justify-content:center; margin-top:.5rem; }
.chip { display:inline-flex; align-items:center; justify-content:center; padding:.35rem .7rem; border-radius:var(--radius-pill); border:1px solid var(--color-border); font-size:.88rem; line-height:1; white-space:nowrap; }
.chip--soft { background: rgba(0,69,38,.06); color: var(--color-text); }
.chip--updated { background: rgba(182,134,44,.12); border-color: rgba(182,134,44,.45); color: var(--color-text); }

/* SECTION HEADINGS */
.calc.calc--overtime .section-heading h1{ color: var(--color-primary); font-weight:800; line-height:1.15; font-size: clamp(1.9rem,3.5vw,2.5rem); letter-spacing:-.02em; }
@media (max-width:420px){ .calc.calc--overtime .section-heading h1{ overflow-wrap:anywhere; } }
.calc.calc--overtime .section-heading p{ color: var(--color-text-muted); max-width:65ch; margin-inline:auto; background: rgba(0,69,38,.05); padding: var(--space-sm) var(--space-md); border-radius: var(--radius-md); border:1px solid rgba(0,69,38,.1); line-height:1.6; }
.calc-notes .section-heading p, .faq .section-heading p{ color: var(--color-text-muted); background: rgba(0,69,38,.05); padding: var(--space-sm) var(--space-md); border-radius: var(--radius-md); border:1px solid rgba(0,69,38,.1); max-width:65ch; margin-inline:auto; }

/* RESULTS PLACEHOLDER */
.calc__results [data-out]:empty::after{ content:"—"; color: var(--color-text-soft); }

/* Toast notification */
.toast{ position:fixed; top:20px; right:20px; z-index:9999; min-width:300px; max-width:400px; background:#fff; border-radius: var(--radius-lg); box-shadow:0 8px 24px rgba(0,0,0,.15), 0 2px 8px rgba(0,0,0,.1); transform: translateX(calc(100% + 40px)); transition: transform .3s cubic-bezier(0.4,0,0.2,1), opacity .3s ease; opacity:0; pointer-events:none; border-left:4px solid #10b981; }
.toast.toast--show{ transform: translateX(0); opacity:1; pointer-events:auto; }
.toast.toast--error{ border-left-color:#ef4444; }
.toast__content{ display:flex; align-items:center; gap: var(--space-md); padding: var(--space-md) var(--space-lg); }
.toast__icon{ flex-shrink:0; font-size:1.25rem; color:#10b981; }
.toast.toast--error .toast__icon{ color:#ef4444; }
.toast__message{ flex:1; color: var(--color-text); font-size:.95rem; font-weight:500; line-height:1.4; }
@media (max-width:640px){ .toast{ left: var(--gutter); right: var(--gutter); min-width:auto; max-width:none; } }

/* PRINT */
@media print{
  .site-header, .site-footer, .status-banner, .mobile-drawer, .calc-actions, .back-to-top{ display:none !important; }
  main>section{ padding:0; }
  .calc__grid{ grid-template-columns:1fr !important; gap: var(--space-lg); }
  .calc__form{ display:none !important; }
  .result-summary{ text-align:left; box-shadow:none; border:2px solid #000; }
  .mini-receipt{ break-inside:avoid; page-break-inside:avoid; }
}

/* SMALL DEVICES */
@media (max-width:374px){ .result-summary__value{ font-size:2rem; } .seg{ padding: var(--space-md); } .mini-receipt{ padding: var(--space-md); } }
@media (max-height:600px) and (orientation:landscape){ .calc__results{ position:static; } }

/* ============================================
   END OF OVERTIME CSS
   ============================================ */
