.hss-full-page-wrapper {
    max-width: 1140px;
    margin: 24px auto;
    padding: 0 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.hss-dict-app {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    padding: 24px;
    color: #0f172a;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.hss-top-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 18px;
}

.hss-tag {
    display: inline-block;
    background: #dbeafe;
    color: #1e40af;
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 6px;
    letter-spacing: 0.2px;
}

.hss-top-banner h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
}

.hss-sub {
    margin: 5px 0 0;
    font-size: 13.5px;
    color: #475569;
    line-height: 1.45;
}

.hss-pass-badge {
    background: #1e1b4b;
    color: #ffffff;
    padding: 9px 16px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
}

.hss-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 18px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.hss-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.hss-card-top h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
}

.hss-controls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.hss-field label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 5px;
}

.hss-field select,
.hss-input {
    width: 100%;
    padding: 9px 11px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #f8fafc;
    color: #0f172a;
    font-size: 13.5px;
    font-weight: 500;
    box-sizing: border-box;
}

.hss-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.hss-mt-2 {
    margin-top: 12px;
}

.hss-btn {
    padding: 9px 16px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.hss-btn-primary {
    background: #2563eb;
    color: #ffffff;
}

.hss-btn-primary:hover {
    background: #1d4ed8;
}

.hss-btn-secondary {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
}

.hss-btn-secondary:hover {
    background: #dbeafe;
}

.hss-btn-muted {
    background: #f1f5f9;
    color: #334155;
    border-color: #cbd5e1;
}

.hss-btn-muted:hover {
    background: #e2e8f0;
}

.hss-status-bar {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 10px 13px;
    font-size: 13px;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 12px;
}

.hss-io-options {
    margin-bottom: 10px;
}

.hss-check-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
}

.hss-hidden-box {
    border: 2px dashed #6366f1;
    background: #eef2ff;
    border-radius: 10px;
    padding: 20px;
    color: #1e1b4b;
    font-size: 13.5px;
    line-height: 1.5;
}

.hss-hidden-box strong {
    display: block;
    color: #312e81;
    font-size: 14.5px;
    margin-bottom: 4px;
}

.hss-two-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 14px;
}

.hss-io-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.hss-io-head label {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
}

.hss-counter {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
}

.hss-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.65;
    color: #0f172a;
    background: #ffffff;
    box-sizing: border-box;
}

.hss-result-box {
    margin-top: 16px;
    padding: 16px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
}

.hss-result-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
}

.hss-result-box h4 {
    margin: 0;
    font-size: 15px;
}

.hss-metrics-row {
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
}

/* DISTINCT SECTION A: 1-MONTH PASS & AUTOMATIC SUBSCRIPTION (INDIGO / DIGITAL THEME) */
.hss-pass-section {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    color: #ffffff;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 12px 28px rgba(30, 27, 75, 0.22);
    border: 1px solid #4338ca;
}

.hss-pass-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 18px;
}

.hss-pass-info {
    max-width: 760px;
}

.hss-pass-pill {
    display: inline-block;
    background: rgba(165, 180, 252, 0.22);
    color: #e0e7ff;
    border: 1px solid rgba(165, 180, 252, 0.45);
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 11px;
    border-radius: 999px;
    margin-bottom: 8px;
}

.hss-pass-info h3 {
    margin: 0 0 6px;
    font-size: 21px;
    font-weight: 800;
    color: #ffffff;
}

.hss-pass-info p {
    margin: 0;
    font-size: 13.5px;
    color: #e0e7ff;
    line-height: 1.5;
}

.hss-pass-price-box {
    background: rgba(255, 255, 255, 0.08);
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.hss-pass-price-big {
    font-size: 28px;
    font-weight: 900;
    color: #fde047;
    line-height: 1;
}

.hss-pass-price-big span {
    font-size: 13px;
    font-weight: 600;
    color: #e0e7ff;
}

.hss-sub-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}

.hss-sub-choice {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
}

.hss-sub-choice-auto {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(110, 231, 183, 0.45);
}

.hss-sub-badge {
    display: inline-block;
    background: rgba(250, 204, 21, 0.2);
    color: #fde047;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 999px;
    margin-bottom: 6px;
}

.hss-sub-badge-auto {
    background: rgba(52, 211, 153, 0.22);
    color: #a7f3d0;
}

.hss-sub-choice h4 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
}

.hss-sub-choice p {
    margin: 0;
    font-size: 13px;
    color: #e0e7ff;
    line-height: 1.45;
}

.hss-auto-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 8px;
    margin-top: 10px;
}

.hss-auto-input {
    width: 100%;
    padding: 7px 10px;
    border-radius: 7px;
    border: 1px solid rgba(167, 243, 208, 0.45);
    background: rgba(15, 23, 42, 0.45);
    color: #ffffff;
    font-size: 12.5px;
    box-sizing: border-box;
}

.hss-auto-input::placeholder {
    color: #cbd5e1;
}

.hss-btn-pass {
    background: #facc15;
    color: #1e1b4b;
    font-weight: 800;
}

.hss-btn-pass:hover {
    background: #eab308;
}

.hss-btn-auto {
    background: #10b981;
    color: #ffffff;
    font-weight: 800;
}

.hss-btn-auto:hover {
    background: #059669;
}

.hss-btn-discard {
    background: rgba(239, 68, 68, 0.2);
    color: #fecaca;
    border-color: rgba(248, 113, 113, 0.5);
    font-size: 12.5px;
}

.hss-btn-discard:hover {
    background: rgba(239, 68, 68, 0.35);
}

/* DISTINCT SECTION B: PRINTED SHORTHAND NOTEBOOKS & REGISTERS (WARM AMBER / STATIONERY THEME) */
.hss-notebook-section {
    background: #fffdf7;
    border: 2px solid #f59e0b;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(180, 83, 9, 0.08);
}

.hss-notebook-header {
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #fde68a;
}

.hss-nb-pill {
    display: inline-block;
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 11px;
    border-radius: 999px;
    margin-bottom: 6px;
}

.hss-notebook-header h3 {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 800;
    color: #78350f;
}

.hss-notebook-header p {
    margin: 0;
    font-size: 13.5px;
    color: #92400e;
}

.hss-packs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 12px;
}

.hss-pack-card {
    border: 1px solid #fcd34d;
    border-radius: 12px;
    padding: 18px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    box-shadow: 0 3px 10px rgba(245, 158, 11, 0.07);
}

.hss-pack-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.hss-pack-price {
    display: inline-block;
    background: #fef3c7;
    color: #92400e;
    font-weight: 900;
    font-size: 16px;
    padding: 4px 12px;
    border-radius: 999px;
}

.hss-pack-tag {
    font-size: 11px;
    font-weight: 700;
    color: #b45309;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.hss-pack-card h4 {
    margin: 0;
    font-size: 16px;
    color: #0f172a;
}

.hss-pack-card p {
    margin: 0;
    font-size: 13px;
    color: #475569;
}

.hss-pack-card small {
    font-size: 12px;
    color: #78350f;
    font-weight: 600;
}

.hss-btn-nb {
    background: #d97706;
    color: #ffffff;
    font-weight: 700;
}

.hss-btn-nb:hover {
    background: #b45309;
}

.hss-disclaimer {
    margin-top: 16px;
    padding: 10px 12px;
    background: #fef3c7;
    border: 1px solid #fcd34d;
    border-radius: 8px;
    color: #78350f;
    font-size: 12.5px;
}

.hss-comparison-wrap {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
}
.hss-legend-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 10px;
    font-size: 12.5px;
    color: #334155;
}
.hss-compare-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
}
.hss-compare-pane {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
}
.hss-compare-title {
    background: #f1f5f9;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    border-bottom: 1px solid #cbd5e1;
}
.hss-compare-text {
    padding: 12px;
    font-size: 14px;
    line-height: 1.75;
    color: #0f172a;
    word-break: break-word;
}
.hss-err-mistake {
    background-color: #fee2e2 !important;
    color: #b91c1c !important;
    text-decoration: underline !important;
    text-decoration-color: #dc2626 !important;
    text-decoration-thickness: 2px !important;
    border-bottom: 2px solid #dc2626 !important;
    padding: 1px 4px;
    border-radius: 3px;
    font-weight: 700;
}
.hss-err-omitted {
    background: #fef3c7;
    color: #92400e;
    border-bottom: 2px dashed #d97706;
    padding: 1px 4px;
    border-radius: 3px;
    font-weight: 700;
}
