/* ─── LOST TIME CALCULATOR ──────────────────────────────────────────────────── */
body[data-page="lost-time-calculator"], body[data-page="it-lost-time-calculator"] { background: #F8F7FF; }

body[data-page="lost-time-calculator"] main, body[data-page="it-lost-time-calculator"] main { display: block; }
.calculator-workspace { display: block; padding: 56px 48px 14vh; max-width: 860px; margin: 0 auto; }

/* ─── SECTION LABELS ────────────────────────────────────────────────────────── */
.lt-section-label { font-size: 9px; text-transform: uppercase; letter-spacing: .18em; color: #4B5563; margin-bottom: 28px; display: flex; align-items: center; gap: 14px; }
.lt-section-label::after { content: ""; display: block; height: 1px; flex: 1; background: linear-gradient(90deg, rgba(167,199,255,.5), transparent); }

/* ─── SLIDERS ────────────────────────────────────────────────────────────────── */
.lt-slider-row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 56px; }
.lt-slider-group { }
.lt-slider-label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.lt-slider-label span { font-size: 13px; font-weight: 500; color: #111827; }
.lt-slider-val { font-family: "Manrope", sans-serif; font-size: 20px; font-weight: 300; letter-spacing: -.04em; color: #111827; }
input[type=range].lt-slider { width: 100%; appearance: none; height: 3px; background: rgba(167,199,255,.35); border-radius: 100px; outline: none; cursor: pointer; margin-top: 4px; }
input[type=range].lt-slider::-webkit-slider-thumb { appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid rgba(167,199,255,.8); box-shadow: 0 2px 8px rgba(167,199,255,.4); cursor: pointer; }
input[type=range].lt-slider::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid rgba(167,199,255,.8); box-shadow: 0 2px 8px rgba(167,199,255,.4); cursor: pointer; }
.lt-slider-hint { font-size: 11px; color: #4B5563; margin: 6px 0 0; line-height: 1.55; }

/* ─── TASK GRID ──────────────────────────────────────────────────────────────── */
.lt-task-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 56px; }
.lt-task { display: flex; align-items: center; gap: 12px; padding: 18px 20px; background: #fff; border: 1px solid rgba(167,199,255,.3); border-radius: 14px; cursor: pointer; transition: all .15s ease; user-select: none; }
.lt-task:hover { border-color: rgba(167,199,255,.6); background: #EEF7FF; }
.lt-task.active { background: #EEF7FF; border-color: rgba(159,255,224,.7); }
.lt-task-check { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid rgba(167,199,255,.5); flex-shrink: 0; display: flex; align-items: center; justify-content: center; transition: all .15s ease; }
.lt-task.active .lt-task-check { background: linear-gradient(135deg, #9FFFE0, #A7C7FF); border-color: transparent; }
.lt-task.active .lt-task-check::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #fff; }
.lt-task-text { font-size: 13px; color: #111827; line-height: 1.35; flex: 1; }
.lt-task-hrs { font-size: 11px; color: #4B5563; white-space: nowrap; flex-shrink: 0; }
.lt-task.active .lt-task-hrs { color: #2B164C; }

/* ─── ISSUE BREAKDOWN ────────────────────────────────────────────────────────── */
.lt-issue-grid { display: grid; gap: 12px; margin-bottom: 56px; }
.lt-issue-row { display: grid; grid-template-columns: 1fr 130px 150px; align-items: center; gap: 16px; padding: 14px 20px; background: #fff; border: 1px solid rgba(167,199,255,.3); border-radius: 14px; }
.lt-issue-name { font-size: 13px; color: #111827; line-height: 1.35; }
.lt-issue-field { display: flex; flex-direction: column; gap: 2px; }
.lt-issue-field label { font-size: 9px; text-transform: uppercase; letter-spacing: .1em; color: #4B5563; }
.lt-issue-field input[type=number] { width: 100%; padding: 6px 10px; border: 1px solid rgba(167,199,255,.4); border-radius: 8px; font-size: 13px; color: #111827; background: #F8F7FF; }
.lt-issue-field input[type=number]:focus { outline: none; border-color: rgba(159,255,224,.8); }

/* ─── RESULT PANEL ───────────────────────────────────────────────────────────── */
.lt-results-panel { border-radius: 24px; padding: 48px; position: relative; overflow: hidden; margin-bottom: 16px; background: #fff; border: 1px solid rgba(167,199,255,.3); }
.lt-results-panel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 70% at 95% 10%, rgba(191,239,255,.45) 0%, transparent 55%), radial-gradient(ellipse 65% 60% at 5% 90%, rgba(159,255,224,.3) 0%, transparent 55%); pointer-events: none; }
.lt-results-panel > * { position: relative; z-index: 1; }

.lt-results-empty { text-align: center; padding: 20px 0; }
.lt-results-empty p { font-size: 15px; color: #4B5563; line-height: 1.7; margin: 0; }

.lt-number-label { font-size: 10px; text-transform: uppercase; letter-spacing: .16em; color: #4B5563; margin-bottom: 8px; }
.lt-big-number { font-family: "Manrope", sans-serif; font-size: clamp(56px, 9vw, 100px); font-weight: 300; letter-spacing: -.065em; line-height: 1; margin: 0 0 32px; background: linear-gradient(135deg, #A7C7FF, #9FFFE0, #D8B4FF, #A7C7FF); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; background-size: 200% 200%; animation: bubble-shift 6s ease infinite; }

.lt-metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 28px; }
.lt-metric { padding: 18px 20px; background: #F8F7FF; border-radius: 14px; border: 1px solid rgba(167,199,255,.2); }
.lt-metric-label { font-size: 10px; text-transform: uppercase; letter-spacing: .13em; color: #4B5563; margin-bottom: 8px; }
.lt-metric-value { font-family: "Manrope", sans-serif; font-size: 28px; font-weight: 300; letter-spacing: -.04em; color: #111827; line-height: 1; }

.lt-equiv { font-size: 16px; line-height: 1.75; color: #4B5563; margin-bottom: 28px; max-width: 620px; }
.lt-equiv strong { color: #111827; font-weight: 500; }

/* ─── BENCHMARK ──────────────────────────────────────────────────────────────── */
.lt-benchmark { padding: 20px 24px; background: #F8F7FF; border: 1px solid rgba(167,199,255,.2); border-radius: 16px; margin-bottom: 28px; }
.lt-bm-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.lt-bm-title { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: #111827; font-weight: 500; }
.lt-bm-source { font-size: 10px; color: #4B5563; }
.lt-bm-bars { display: grid; gap: 10px; margin-bottom: 14px; }
.lt-bm-row { display: grid; grid-template-columns: 72px 1fr auto; align-items: center; gap: 12px; }
.lt-bm-row-label { font-size: 11px; color: #4B5563; }
.lt-bm-track { height: 6px; background: rgba(167,199,255,.2); border-radius: 100px; overflow: hidden; }
.lt-bm-fill { height: 100%; border-radius: 100px; transition: width .4s ease; }
.lt-bm-fill--yours { background: linear-gradient(90deg, #A7C7FF, #9FFFE0); }
.lt-bm-fill--bm { background: rgba(167,199,255,.4); }
.lt-bm-row-val { font-size: 11px; color: #111827; font-weight: 500; white-space: nowrap; }
.lt-bm-note { font-size: 12px; color: #4B5563; line-height: 1.65; margin: 0; }
.lt-bm-note strong { color: #111827; }

.lt-saving-strip { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; background: #EEF7FF; border: 1px solid rgba(159,255,224,.5); border-radius: 14px; margin-bottom: 28px; }
.lt-saving-label { font-size: 13px; color: #4B5563; }
.lt-saving-value { font-family: "Manrope", sans-serif; font-size: 22px; font-weight: 300; letter-spacing: -.04em; color: #111827; white-space: nowrap; }

.lt-cta-link { display: inline-flex; align-items: center; gap: 10px; padding: 16px 24px; background: #fff; border: 1px solid rgba(167,199,255,.3); border-radius: 100px; text-decoration: none; font-size: 13px; font-weight: 500; color: #111827; transition: all .15s ease; box-shadow: 0 3px 0 rgba(43,22,76,.07), 0 6px 18px rgba(167,199,255,.2); position: relative; overflow: hidden; }
.lt-cta-link::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(ellipse 80% 90% at 20% 55%, rgba(191,239,255,.55), transparent 60%), radial-gradient(ellipse 65% 75% at 75% 35%, rgba(159,255,224,.5), transparent 58%); background-size: 250% 250%; animation: btn-flow 10s ease infinite; pointer-events: none; z-index: 0; }
.lt-cta-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, rgba(255,255,255,.5) 0%, rgba(255,255,255,.08) 50%, transparent 100%); pointer-events: none; z-index: 1; }
.lt-cta-link span { position: relative; z-index: 2; }

/* ─── INSIGHT STRIP ─────────────────────────────────────────────────────────── */
.lt-insight { margin-top: 48px; padding: 40px; background: #EEF7FF; border: 1px solid rgba(167,199,255,.25); border-radius: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.lt-insight::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 90% 50%, rgba(159,255,224,.3) 0%, transparent 55%); pointer-events: none; }
.lt-insight > * { position: relative; z-index: 1; }
.lt-insight-copy h2 { font-family: "Manrope", sans-serif; font-size: clamp(22px, 2.5vw, 32px); font-weight: 300; letter-spacing: -.04em; color: #111827; margin: 0 0 14px; line-height: 1.15; }
.lt-insight-copy p { font-size: 14px; line-height: 1.75; color: #4B5563; margin: 0; }
.lt-insight-facts { display: grid; gap: 12px; }
.lt-fact { padding: 18px 22px; background: #fff; border: 1px solid rgba(167,199,255,.25); border-radius: 14px; display: flex; align-items: baseline; gap: 16px; }
.lt-fact strong { font-family: "Manrope", sans-serif; font-size: 32px; font-weight: 300; letter-spacing: -.05em; color: #111827; flex-shrink: 0; }
.lt-fact span { font-size: 13px; color: #4B5563; line-height: 1.55; }

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────────── */
@media (max-width: 700px) {
  .calculator-workspace { padding: 0 20px 10vh; }
  .lt-slider-row { grid-template-columns: 1fr; gap: 24px; }
  .lt-task-grid { grid-template-columns: 1fr; }
  .lt-issue-row { grid-template-columns: 1fr; gap: 10px; }
  .lt-results-panel { padding: 28px 24px; }
  .lt-metric-row { grid-template-columns: 1fr 1fr; }
  .lt-insight { grid-template-columns: 1fr; gap: 28px; padding: 28px 24px; }
  .lt-big-number { font-size: clamp(48px, 14vw, 72px); }
}
