/* ===== Calculator pages 2: Salary to Hourly + Time Card ===== */
/* Salary to hourly: "converter console" */
.sh-console{max-width:1000px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border-radius:26px;overflow:hidden;border:1px solid #E2E8F0;background:#fff;box-shadow:0 20px 54px rgba(15,32,68,.14)}
.sh-in{padding:30px}
.sh-in h2,.sh-out h2{font-family:'DM Sans','Inter',sans-serif;font-size:18px;font-weight:700;margin-bottom:16px}
.sh-in h2{color:#0F2044}
.sh-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:2px}
.sh-pills input{position:absolute;opacity:0;pointer-events:none}
.sh-pills label{padding:9px 14px;border-radius:999px;border:1.5px solid #CBD5E1;font-size:13px;font-weight:600;color:#334155;cursor:pointer;background:#fff;line-height:1.2}
.sh-pills input:checked+label{background:#0E9B8A;border-color:#0E9B8A;color:#fff}
.sh-pills input:focus-visible+label{outline:2px solid #0F2044;outline-offset:2px}
.sh-own{display:flex;gap:10px;align-items:center;font-size:14px;color:#334155;margin:4px 0 12px}
.sh-own input{width:18px;height:18px;accent-color:#0E9B8A}
.sh-out{background:linear-gradient(160deg,#0F2044 0%,#12315C 100%);color:#fff;padding:30px}
.sh-out h2{color:#fff}
.sh-empty{color:#CBD5E1;font-size:14.5px;line-height:1.7;background:rgba(255,255,255,.07);border-radius:14px;padding:18px}
.sh-big small{display:block;font-size:12px;letter-spacing:.07em;text-transform:uppercase;color:#94A3B8;font-weight:600}
.sh-rate{display:block;font-family:'DM Sans','Inter',sans-serif;font-size:56px;font-weight:800;line-height:1.1;margin:4px 0;color:#fff}
.sh-rate span{font-size:18px;font-weight:600;color:#5EEAD4}
.sh-formula{font-size:13.5px;color:#5EEAD4;margin-bottom:18px}
.sh-mini{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:20px}
.sh-mini div{background:rgba(255,255,255,.08);border-radius:12px;padding:10px 12px}
.sh-mini span{display:block;font-size:11px;color:#94A3B8;margin-bottom:2px}
.sh-mini b{font-family:'DM Sans','Inter',sans-serif;font-size:15px;color:#fff}
.sh-what h3{font-family:'DM Sans','Inter',sans-serif;font-size:14px;font-weight:700;color:#E2E8F0;margin-bottom:4px}
.sh-what p{font-size:12.5px;color:#94A3B8;margin-bottom:10px;line-height:1.5}
.sh-row{display:grid;grid-template-columns:78px minmax(0,1fr) 74px;gap:10px;align-items:center;font-size:13px;margin-bottom:8px;color:#CBD5E1}
.sh-row b{text-align:right;color:#fff;font-family:'DM Sans','Inter',sans-serif}
.sh-track{height:10px;background:rgba(255,255,255,.12);border-radius:999px;overflow:hidden}
.sh-fill{display:block;height:100%;background:#5EEAD4;border-radius:999px}
.sh-row.is-now{color:#FDE68A}
.sh-row.is-now .sh-fill{background:#FBBF24}
.sh-note{display:none;background:rgba(251,191,36,.12);border:1px solid rgba(251,191,36,.4);color:#FDE68A;border-radius:12px;padding:12px 14px;font-size:13px;line-height:1.6;margin-top:14px}
.sh-note.show{display:block}
.sh-note a{color:#FEF3C7;text-decoration:underline}
.sh-msg{font-size:13px;color:#CBD5E1;line-height:1.6;margin-top:14px}
/* Time card: "paper time sheet" */
.tc-wrap{max-width:1040px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,.85fr);gap:24px;align-items:start}
.tc-sheet{background:#fff;border:1px solid #E2E8F0;border-top:7px solid #0E9B8A;border-radius:8px 8px 20px 20px;padding:24px;box-shadow:0 12px 34px rgba(15,32,68,.08)}
.tc-sheet h2{font-family:'DM Sans','Inter',sans-serif;font-size:19px;color:#0F2044;margin-bottom:4px}
.tc-sub{font-size:13.5px;color:#64748B;margin-bottom:16px}
.tc-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px;background:#F8FAFC;border:1px dashed #CBD5E1;border-radius:14px;padding:14px;margin-bottom:18px}
.tc-settings .cx-field{margin-bottom:0}
.tc-settings .cx-input,.tc-settings .cx-select{height:40px;font-size:14px}
.tc-grid{display:grid;grid-template-columns:48px minmax(0,1fr) minmax(0,1fr) 76px 84px;gap:8px;align-items:center}
.tc-head{font-size:11px;text-transform:uppercase;letter-spacing:.07em;color:#64748B;font-weight:700;border-bottom:2px dashed #CBD5E1;padding-bottom:8px;margin-bottom:4px}
.tc-row{padding:8px 0;border-bottom:1px dashed #E2E8F0}
.tc-row.is-weekend .tc-day{color:#B45309}
.tc-day{font-weight:800;color:#0F2044;font-size:14.5px}
.tc-cell input{width:100%;height:42px;border:1.5px solid #CBD5E1;border-radius:10px;padding:0 8px;font-size:14.5px;font-family:'Inter',sans-serif;color:#0F2044;background:#fff}
.tc-cell input:focus{outline:none;border-color:#0E9B8A;box-shadow:0 0 0 3px rgba(14,155,138,.18)}
.tc-m{display:none;font-size:11px;font-weight:700;color:#64748B;text-transform:uppercase;letter-spacing:.05em;margin-bottom:3px}
.tc-hrs{text-align:right;font-family:'Courier New',monospace;font-weight:700;color:#0F2044;font-size:15px;line-height:1.2}
.tc-hrs small{display:block;font-weight:400;font-size:11px;color:#64748B}
.tc-hrs.is-off{color:#CBD5E1}
.tc-quick{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.tc-sum{position:sticky;top:84px;background:#fff;border:2px solid #0F2044;border-radius:20px;padding:24px;box-shadow:0 14px 34px rgba(15,32,68,.1)}
.tc-sum h2{font-family:'DM Sans','Inter',sans-serif;font-size:18px;color:#0F2044;margin-bottom:14px}
.tc-empty{color:#64748B;font-size:14.5px;line-height:1.65;background:#F8FAFC;border-radius:12px;padding:16px;text-align:center}
.tc-total{text-align:center;padding:6px 0 16px;border-bottom:2px dashed #CBD5E1;margin-bottom:14px}
.tc-total small{display:block;font-size:12px;letter-spacing:.07em;text-transform:uppercase;color:#64748B;font-weight:700}
.tc-total strong{display:block;font-family:'DM Sans','Inter',sans-serif;font-size:44px;line-height:1.1;color:#0F2044;margin:4px 0}
.tc-total em{font-style:normal;font-family:'Courier New',monospace;font-size:14px;color:#0E9B8A;font-weight:700}
.tc-lines{list-style:none;margin:0 0 14px;padding:0}
.tc-lines li{display:flex;justify-content:space-between;align-items:center;padding:9px 0;border-bottom:1px dotted #CBD5E1;font-size:14.5px;color:#334155}
.tc-lines li b{font-family:'DM Sans','Inter',sans-serif;color:#0F2044;font-size:16px}
.tc-lines li.ot b{color:#B45309}
.tc-lines li.night b{color:#4338CA}
.tc-bar{display:flex;height:14px;border-radius:999px;overflow:hidden;background:#E2E8F0;margin-bottom:8px}
.tc-bar i{display:block;height:100%}
.tc-legend{display:flex;flex-wrap:wrap;gap:12px;font-size:12px;color:#475569}
.tc-legend b{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:5px;vertical-align:-1px}
.tc-msg{font-size:13px;color:#475569;line-height:1.65;margin-top:14px}
@media (max-width:860px){
  .sh-console{grid-template-columns:1fr}
  .tc-wrap{grid-template-columns:1fr}
  .tc-sum{position:static}
}
@media (max-width:620px){
  .sh-in,.sh-out{padding:22px}
  .sh-rate{font-size:44px}
  .tc-settings{grid-template-columns:1fr}
  .tc-head{display:none}
  .tc-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .tc-day{grid-column:1/-1;font-size:15px}
  .tc-m{display:block}
  .tc-hrs{grid-column:1/-1;text-align:left}
  .tc-hrs small{display:inline;margin-left:6px}
}
