/* ===== sk-ui.css — shared form/table/button primitives used by calculators and tools (.sk-*) ===== */
.sk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid transparent; border-radius: 10px; padding: 10px 18px; font: 600 .92rem var(--font-body); line-height: 1.2; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s, border-color .15s; background: #fff; color: var(--navy); text-decoration: none; }
.sk-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.sk-btn:disabled, .sk-btn[aria-disabled=true] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.sk-btn-primary { background: var(--blue); color: #fff; }
.sk-btn-primary:hover { background: var(--blue-dark); color: #fff; }
.sk-btn-outline { background: #fff; color: var(--navy); border-color: var(--line); }
.sk-btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.sk-btn-ghost { background: transparent; color: var(--blue); }
.sk-btn-ghost:hover { background: var(--accent-soft); box-shadow: none; }
.sk-btn-sm { padding: 6px 12px; font-size: .82rem; border-radius: 8px; }

.sk-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.sk-field { margin-bottom: 14px; min-width: 0; }
.sk-label { display: block; font-size: .83rem; font-weight: 600; color: var(--navy); margin-bottom: 5px; }
.sk-input, .sk-select { width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; font: inherit; font-size: .95rem; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; min-width: 0; }
.sk-input:focus, .sk-select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, .15); outline: 0; }
.sk-input[aria-invalid=true], .sk-field.has-error .sk-input, .sk-field.has-error .sk-select { border-color: #dc2626; }
textarea.sk-input { resize: vertical; min-height: 90px; }
.sk-hint { display: block; font-size: .76rem; color: var(--muted); margin-top: 4px; }
.sk-badge { display: inline-block; font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; -webkit-overflow-scrolling: touch; }
.sk-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.sk-table th, .sk-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.sk-table thead th { background: #eef3fa; color: var(--navy); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; position: sticky; top: 0; }
.sk-table tbody tr:last-child th, .sk-table tbody tr:last-child td { border-bottom: 0; }
.sk-table tbody tr:hover { background: #f8fafd; }
.sk-table tbody th { font-weight: 600; color: var(--navy); }
.sk-table .yes { color: var(--green); } .sk-table .no { color: #b6c0cc; }
.sk-table.num td:not(:first-child), .sk-table.num th:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.hidden { display: none !important; }
