/* ===================== RESET & ISOLATION ===================== */
.sth-wrap { all: initial; display: block; }
.sth-wrap *, .sth-wrap *::before, .sth-wrap *::after {
    box-sizing: border-box !important;
    font-family: 'Poppins', Arial, sans-serif !important;
}
.sth-wrap p, .sth-wrap span, .sth-wrap div, .sth-wrap li,
.sth-wrap label, .sth-wrap input, .sth-wrap select,
.sth-wrap textarea, .sth-wrap td, .sth-wrap th { font-weight: 400 !important; }
.sth-wrap strong, .sth-wrap b, .sth-wrap th { font-weight: 700 !important; }
.sth-wrap h1, .sth-wrap h2, .sth-wrap h3,
.sth-wrap h4, .sth-wrap h5, .sth-wrap h6 { font-weight: 600 !important; }
.sth-wrap input, .sth-wrap select, .sth-wrap button {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: none !important;
}
.sth-wrap button { cursor: pointer !important; text-decoration: none !important; }

/* Force button text visibility — override any theme that hides text */
.sth-wrap button,
.sth-wrap button:link,
.sth-wrap button:visited,
.sth-wrap button:hover,
.sth-wrap button:focus,
.sth-wrap button:active {
    text-decoration: none !important;
    text-shadow: none !important;
    outline: none !important;
}
.sth-wrap .sth-calc-btn,
.sth-wrap .sth-calc-btn:hover,
.sth-wrap .sth-calc-btn:focus {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}
.sth-wrap .sth-reset-btn,
.sth-wrap .sth-reset-btn:focus { color: #6b7280 !important; -webkit-text-fill-color: #6b7280 !important; }
.sth-wrap .sth-reset-btn:hover { color: #dc2626 !important; -webkit-text-fill-color: #dc2626 !important; }
.sth-wrap .sth-copy-btn,
.sth-wrap .sth-copy-btn:hover,
.sth-wrap .sth-copy-btn:focus { color: #ffffff !important; -webkit-text-fill-color: #ffffff !important; }
.sth-wrap .sth-print-btn,
.sth-wrap .sth-print-btn:hover,
.sth-wrap .sth-print-btn:focus { color: #374151 !important; -webkit-text-fill-color: #374151 !important; }

/* ===================== LAYOUT ===================== */
.sth-wrap {
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    color: #1a1a2e;
}

/* ===================== HEADER ===================== */
.sth-header {
    text-align: center;
    padding: 28px 20px 20px;
    border-radius: 20px;
    background: linear-gradient(135deg, #1976d2 0%, #0d47a1 100%);
    color: #fff;
    margin-bottom: 16px;
    box-shadow: 0 8px 24px rgba(25,118,210,0.3);
    position: relative;
    overflow: hidden;
}
.sth-header::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 160px; height: 160px;
    background: rgba(255,255,255,0.07);
    border-radius: 50%;
}
.sth-header::after {
    content: '';
    position: absolute;
    bottom: -30px; left: -30px;
    width: 120px; height: 120px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}
.sth-header h2 {
    font-size: 26px !important;
    margin: 0 0 8px !important;
    color: #fff !important;
    position: relative; z-index: 1;
}
.sth-header p {
    font-size: 14px !important;
    margin: 0 !important;
    color: rgba(255,255,255,0.85) !important;
    position: relative; z-index: 1;
}

/* ===================== INFO BANNER ===================== */
.sth-info-banner {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-left: 4px solid #1976d2;
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 16px;
    font-size: 13px;
    color: #0d47a1;
    line-height: 1.6;
}
.sth-info-banner strong { color: #0d47a1 !important; }

/* ===================== QUICK PRESETS ===================== */
.sth-presets-section {
    background: #fff;
    border-radius: 16px;
    padding: 18px 20px;
    margin-bottom: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
}
.sth-presets-section h4 {
    margin: 0 0 14px !important;
    font-size: 15px !important;
    color: #1976d2 !important;
    display: flex;
    align-items: center;
    gap: 6px;
}
.sth-preset-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 8px;
}
.sth-preset-btn {
    padding: 10px 8px;
    border: 2px solid #e3f0ff !important;
    border-radius: 10px !important;
    background: #f5f9ff !important;
    color: #1565c0 !important;
    -webkit-text-fill-color: #1565c0 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: all 0.2s;
    line-height: 1.3;
    text-shadow: none !important;
}
.sth-preset-btn:hover, .sth-preset-btn.sth-active {
    background: #1976d2 !important;
    border-color: #1976d2 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(25,118,210,0.3);
}
.sth-preset-btn span {
    display: block;
    font-size: 15px !important;
    font-weight: 700 !important;
    margin-bottom: 2px;
}
.sth-preset-btn.sth-preset-freelance {
    border-color: #7c3aed !important;
    background: #f5f0ff !important;
    color: #6d28d9 !important;
    -webkit-text-fill-color: #6d28d9 !important;
}
.sth-preset-btn.sth-preset-freelance:hover, .sth-preset-btn.sth-preset-freelance.sth-active {
    background: #7c3aed !important;
    border-color: #7c3aed !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(124,58,237,0.3);
}

/* ===================== MAIN CARD ===================== */
.sth-card {
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
    margin-bottom: 16px;
}

/* ===================== SECTION HEADING ===================== */
.sth-step-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px !important;
    padding-bottom: 10px;
    border-bottom: 2px solid #e3f2fd;
}
.sth-step-badge {
    background: #1976d2;
    color: #fff;
    width: 26px; height: 26px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px !important;
    font-weight: 700 !important;
    flex-shrink: 0;
}
.sth-step-heading h4 {
    margin: 0 !important;
    font-size: 16px !important;
    color: #1565c0 !important;
}

/* ===================== INPUT ROW ===================== */
.sth-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.sth-group {
    flex: 1;
    min-width: 180px;
}
.sth-group label {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 6px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #374151 !important;
}
.sth-group label .sth-tooltip {
    position: relative;
    display: inline-flex;
    cursor: help;
}
.sth-group label .sth-tooltip-icon {
    width: 16px; height: 16px;
    background: #90caf9;
    color: #0d47a1;
    border-radius: 50%;
    font-size: 10px !important;
    font-weight: 700 !important;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.sth-group label .sth-tooltip .sth-tooltip-text {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a2e;
    color: #fff;
    font-size: 11px !important;
    font-weight: 400 !important;
    padding: 6px 10px;
    border-radius: 8px;
    white-space: nowrap;
    max-width: 220px;
    white-space: normal;
    width: 200px;
    text-align: center;
    z-index: 100;
    margin-bottom: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.sth-group label .sth-tooltip:hover .sth-tooltip-text { display: block; }

.sth-group input, .sth-group select {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #dbeafe;
    border-radius: 10px;
    font-size: 14px !important;
    background: #f8fbff;
    color: #1a1a2e;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.sth-group input:focus, .sth-group select:focus {
    outline: none;
    border-color: #1976d2;
    box-shadow: 0 0 0 3px rgba(25,118,210,0.12);
    background: #fff;
}
.sth-group input.sth-error { border-color: #ef4444 !important; }
.sth-group .sth-input-hint {
    font-size: 11px !important;
    color: #6b7280;
    margin-top: 4px;
    display: block;
}
.sth-unit-row { display: flex; gap: 8px; }
.sth-unit-row input { flex: 2; }
.sth-unit-row select { flex: 1; }

/* ===================== TOGGLE CHECKBOX ===================== */
.sth-toggle-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    border-radius: 10px;
    background: #f0f7ff;
    border: 1.5px solid #dbeafe;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}
.sth-toggle-row:hover { background: #dbeafe; border-color: #93c5fd; }
.sth-toggle-row input[type="checkbox"] {
    width: 20px; height: 20px;
    cursor: pointer;
    accent-color: #1976d2;
    flex-shrink: 0;
    border-radius: 5px !important;
}
.sth-toggle-row label {
    cursor: pointer;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #1e3a5f !important;
    flex: 1;
    margin: 0 !important;
}
.sth-toggle-row .sth-toggle-badge {
    font-size: 11px !important;
    background: #1976d2;
    color: #fff;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 600 !important;
}

/* ===================== COLLAPSIBLE PANEL ===================== */
.sth-panel {
    background: #f8fbff;
    border: 1.5px solid #dbeafe;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 10px;
}

/* ===================== BUTTONS ===================== */
.sth-btn-group {
    display: flex;
    gap: 10px;
    margin-top: 22px;
    flex-wrap: wrap;
}
.sth-calc-btn {
    flex: 2;
    padding: 15px;
    background: linear-gradient(135deg, #1976d2, #0d47a1) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.2s;
    box-shadow: 0 4px 14px rgba(25,118,210,0.35);
    min-width: 180px;
    text-shadow: none !important;
    -webkit-text-fill-color: #ffffff !important;
}
.sth-calc-btn:hover {
    background: linear-gradient(135deg, #1565c0, #0a3880) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(25,118,210,0.45);
}
.sth-reset-btn {
    flex: 1;
    padding: 15px;
    background: #ffffff !important;
    color: #6b7280 !important;
    -webkit-text-fill-color: #6b7280 !important;
    border: 1.5px solid #d1d5db !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s;
    min-width: 100px;
    text-shadow: none !important;
}
.sth-reset-btn:hover {
    background: #fee2e2 !important;
    color: #dc2626 !important;
    -webkit-text-fill-color: #dc2626 !important;
    border-color: #fca5a5 !important;
    transform: translateY(-2px);
}

/* ===================== RESULTS ===================== */
.sth-results {
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    margin-top: 20px;
    animation: sth-fadeIn 0.4s ease;
}
.sth-results.sth-hidden { display: none !important; }

@keyframes sth-fadeIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.sth-results-header {
    text-align: center;
    margin-bottom: 20px;
}
.sth-results-header h3 {
    font-size: 20px !important;
    color: #1565c0 !important;
    margin: 0 0 6px !important;
}
.sth-results-header p {
    font-size: 13px !important;
    color: #6b7280 !important;
    margin: 0 !important;
}

/* ===================== FUN STAT ===================== */
.sth-fun-stat {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.sth-fun-card {
    flex: 1;
    min-width: 130px;
    background: linear-gradient(135deg, #1976d2, #0d47a1);
    color: #fff;
    padding: 14px 12px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(25,118,210,0.25);
}
.sth-fun-card.sth-purple { background: linear-gradient(135deg, #7c3aed, #5b21b6); box-shadow: 0 4px 14px rgba(124,58,237,0.25); }
.sth-fun-card.sth-green  { background: linear-gradient(135deg, #059669, #065f46); box-shadow: 0 4px 14px rgba(5,150,105,0.25); }
.sth-fun-card.sth-orange { background: linear-gradient(135deg, #ea580c, #9a3412); box-shadow: 0 4px 14px rgba(234,88,12,0.25); }
.sth-fun-card-label { font-size: 11px !important; opacity: 0.85; margin-bottom: 4px; }
.sth-fun-card-value { font-size: 22px !important; font-weight: 700 !important; line-height: 1.1; }
.sth-fun-card-unit  { font-size: 11px !important; opacity: 0.8; margin-top: 2px; }

/* ===================== RESULTS GRID ===================== */
.sth-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}
.sth-result-card {
    background: #f8fbff;
    border: 1.5px solid #dbeafe;
    padding: 16px 14px;
    border-radius: 14px;
    text-align: center;
    transition: all 0.25s;
}
.sth-result-card:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(0,0,0,0.1); }
.sth-result-card.sth-primary {
    background: linear-gradient(135deg, #1976d2, #1565c0);
    border-color: transparent;
    color: #fff;
}
.sth-result-card.sth-net {
    background: linear-gradient(135deg, #059669, #047857);
    border-color: transparent;
    color: #fff;
}
.sth-result-card.sth-total {
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
    border-color: transparent;
    color: #fff;
}
.sth-rc-label { font-size: 11px !important; font-weight: 600 !important; opacity: 0.8; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.sth-rc-value { font-size: 26px !important; font-weight: 700 !important; line-height: 1.1; margin-bottom: 4px; }
.sth-result-card:not(.sth-primary):not(.sth-net):not(.sth-total) .sth-rc-label { color: #6b7280; }
.sth-result-card:not(.sth-primary):not(.sth-net):not(.sth-total) .sth-rc-value { color: #1a1a2e; }
.sth-rc-unit { font-size: 11px !important; opacity: 0.75; }

/* ===================== BAR CHART ===================== */
.sth-chart-section {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 16px;
}
.sth-chart-section h4 { margin: 0 0 14px !important; font-size: 15px !important; color: #1e40af !important; }
.sth-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.sth-bar-label {
    width: 120px;
    font-size: 12px !important;
    color: #374151;
    text-align: right;
    flex-shrink: 0;
}
.sth-bar-track {
    flex: 1;
    background: #e5e7eb;
    border-radius: 8px;
    height: 22px;
    overflow: hidden;
    position: relative;
}
.sth-bar-fill {
    height: 100%;
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding-left: 8px;
    font-size: 11px !important;
    color: #fff;
    font-weight: 600 !important;
    min-width: 30px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.sth-bar-fill.blue   { background: linear-gradient(90deg, #1976d2, #42a5f5); }
.sth-bar-fill.green  { background: linear-gradient(90deg, #059669, #34d399); }
.sth-bar-fill.red    { background: linear-gradient(90deg, #dc2626, #f87171); }
.sth-bar-fill.purple { background: linear-gradient(90deg, #7c3aed, #a78bfa); }
.sth-bar-fill.orange { background: linear-gradient(90deg, #ea580c, #fb923c); }
.sth-bar-amount {
    width: 100px;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #374151;
    text-align: right;
    flex-shrink: 0;
}

/* ===================== BREAKDOWN ===================== */
.sth-breakdown {
    background: #eff6ff;
    border: 1.5px solid #bfdbfe;
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 16px;
}
.sth-breakdown h4 { margin: 0 0 12px !important; font-size: 15px !important; color: #1e40af !important; }
.sth-breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #dbeafe;
    font-size: 13px !important;
}
.sth-breakdown-item:last-child { border-bottom: none; }
.sth-breakdown-item .sth-bi-label { color: #374151; }
.sth-breakdown-item .sth-bi-value { font-weight: 600 !important; color: #1e40af; }
.sth-breakdown-item.sth-bi-total { padding-top: 12px; margin-top: 4px; }
.sth-breakdown-item.sth-bi-total .sth-bi-label { font-weight: 700 !important; color: #1e3a5f; font-size: 14px !important; }
.sth-breakdown-item.sth-bi-total .sth-bi-value { font-size: 16px !important; color: #1976d2; }
.sth-breakdown-item.sth-bi-deduct .sth-bi-value { color: #dc2626; }
.sth-breakdown-item.sth-bi-net .sth-bi-value { color: #059669; font-size: 15px !important; }

/* ===================== COMPARISON TABLE ===================== */
.sth-table-section {
    background: #fffbeb;
    border: 1.5px solid #fde68a;
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 16px;
    overflow-x: auto;
}
.sth-table-section h4 { margin: 0 0 14px !important; font-size: 15px !important; color: #92400e !important; }
.sth-table-section table { width: 100%; border-collapse: collapse; min-width: 320px; }
.sth-table-section th {
    background: #fef3c7;
    color: #92400e;
    padding: 10px 12px;
    text-align: left;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #fde68a;
}
.sth-table-section td {
    padding: 10px 12px;
    font-size: 13px !important;
    color: #78350f;
    border-bottom: 1px solid #fef3c7;
}
.sth-table-section tr:last-child td { border-bottom: none; }
.sth-table-section tr:hover td { background: #fffde7; }
.sth-table-section td.sth-highlight { font-weight: 700 !important; color: #92400e; }

/* ===================== BENCHMARKS ===================== */
.sth-benchmark-section {
    background: #f0fdf4;
    border: 1.5px solid #bbf7d0;
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 16px;
}
.sth-benchmark-section h4 { margin: 0 0 14px !important; font-size: 15px !important; color: #14532d !important; }
.sth-benchmark-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.sth-benchmark-row:last-child { margin-bottom: 0; }
.sth-bm-label {
    width: 160px;
    font-size: 12px !important;
    color: #15803d;
    flex-shrink: 0;
}
.sth-bm-track {
    flex: 1;
    background: #dcfce7;
    border-radius: 6px;
    height: 18px;
    overflow: hidden;
    position: relative;
}
.sth-bm-fill {
    height: 100%;
    background: linear-gradient(90deg, #16a34a, #4ade80);
    border-radius: 6px;
    display: flex;
    align-items: center;
    padding-left: 6px;
    font-size: 10px !important;
    color: #fff;
    font-weight: 600 !important;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.sth-bm-fill.sth-bm-you {
    background: linear-gradient(90deg, #1976d2, #42a5f5);
}
.sth-bm-value {
    width: 100px;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #15803d;
    text-align: right;
    flex-shrink: 0;
}
.sth-bm-you-label {
    font-size: 10px !important;
    background: #1976d2;
    color: #fff;
    padding: 2px 6px;
    border-radius: 10px;
}

/* ===================== STEPS ===================== */
.sth-steps-section {
    background: #faf5ff;
    border: 1.5px solid #e9d5ff;
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 16px;
}
.sth-steps-section h4 { margin: 0 0 14px !important; font-size: 15px !important; color: #6d28d9 !important; }
.sth-step-item {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    align-items: flex-start;
}
.sth-step-item:last-child { margin-bottom: 0; }
.sth-step-num {
    background: #7c3aed;
    color: #fff;
    width: 22px; height: 22px;
    border-radius: 50%;
    font-size: 11px !important;
    font-weight: 700 !important;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}
.sth-step-content { flex: 1; font-size: 13px !important; color: #4c1d95; line-height: 1.6; }
.sth-step-content strong { color: #3b0764 !important; font-weight: 700 !important; }

/* ===================== EDUCATIONAL ===================== */
.sth-edu-section {
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 16px;
}
.sth-edu-section h4 { margin: 0 0 14px !important; font-size: 15px !important; color: #374151 !important; }
.sth-edu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
}
.sth-edu-card {
    background: #f9fafb;
    border-radius: 12px;
    padding: 14px;
    border-left: 4px solid #1976d2;
}
.sth-edu-card.sth-edu-green  { border-left-color: #059669; }
.sth-edu-card.sth-edu-purple { border-left-color: #7c3aed; }
.sth-edu-card.sth-edu-orange { border-left-color: #ea580c; }
.sth-edu-card.sth-edu-red    { border-left-color: #dc2626; }
.sth-edu-card h5 {
    margin: 0 0 6px !important;
    font-size: 13px !important;
    color: #1a1a2e !important;
    font-weight: 700 !important;
}
.sth-edu-card p {
    margin: 0 !important;
    font-size: 12px !important;
    color: #6b7280 !important;
    line-height: 1.6;
}

/* ===================== COPY RESULTS ===================== */
.sth-action-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 6px;
}
.sth-copy-btn, .sth-print-btn {
    flex: 1;
    padding: 12px;
    border-radius: 10px;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 120px;
    text-align: center;
}
.sth-copy-btn {
    background: #1976d2 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    border: none !important;
    text-shadow: none !important;
    box-shadow: 0 2px 8px rgba(25,118,210,0.25);
}
.sth-copy-btn:hover { background: #1565c0 !important; color: #ffffff !important; -webkit-text-fill-color: #ffffff !important; transform: translateY(-1px); }
.sth-print-btn {
    background: #ffffff !important;
    color: #374151 !important;
    -webkit-text-fill-color: #374151 !important;
    border: 1.5px solid #d1d5db !important;
    text-shadow: none !important;
}
.sth-print-btn:hover { background: #f3f4f6 !important; color: #374151 !important; -webkit-text-fill-color: #374151 !important; transform: translateY(-1px); }

/* ===================== WARNING ===================== */
.sth-warning {
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 12px !important;
    color: #92400e !important;
    line-height: 1.6;
    margin-top: 14px;
}
.sth-warning strong { color: #78350f !important; font-weight: 700 !important; }

/* ===================== HIDDEN ===================== */
.sth-hidden { display: none !important; }

/* ===================== DIVIDER ===================== */
.sth-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 20px 0;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 640px) {
    .sth-header h2 { font-size: 20px !important; }
    .sth-row { flex-direction: column; }
    .sth-group { min-width: 100%; }
    .sth-group input, .sth-group select { font-size: 16px !important; }
    .sth-grid { grid-template-columns: 1fr 1fr; }
    .sth-fun-stat { grid-template-columns: 1fr 1fr; display: grid; }
    .sth-btn-group { flex-direction: column; }
    .sth-calc-btn, .sth-reset-btn { min-width: 100%; }
    .sth-bar-label { width: 90px; font-size: 11px !important; }
    .sth-bar-amount { width: 80px; font-size: 11px !important; }
    .sth-bm-label { width: 120px; }
    .sth-bm-value { width: 75px; }
    .sth-preset-grid { grid-template-columns: repeat(3, 1fr); }
    .sth-edu-grid { grid-template-columns: 1fr; }
    .sth-rc-value { font-size: 20px !important; }
}
@media (max-width: 400px) {
    .sth-grid { grid-template-columns: 1fr; }
    .sth-preset-grid { grid-template-columns: repeat(2, 1fr); }
}