.hw-consumption-page {
    max-width: 1380px;
    margin: 34px auto 64px;
    padding: 0 24px;
}

.hw-consumption-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 28px;
    align-items: center;
    margin-bottom: 26px;
    padding: 30px;
    border: 1px solid #d8e0e7;
    border-radius: 24px;
    background: linear-gradient(135deg, #fff8ed 0%, #f3fbf6 56%, #effafa 100%);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}

.hw-consumption-hero-copy {
    min-width: 0;
}

.hw-consumption-kicker,
.hw-consumption-section-kicker,
.hw-consumption-summary-kicker {
    margin: 0 0 12px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6a5b45;
}

.hw-consumption-hero h1,
.hw-consumption-reference-card h2,
.hw-consumption-section-head h2,
.hw-consumption-question-card h2,
.hw-consumption-summary-card h2,
.hw-consumption-sidebar h2 {
    margin: 0;
    color: #13283b;
    letter-spacing: 0;
}

.hw-consumption-hero h1 {
    max-width: 15ch;
    font-size: clamp(2.1rem, 3.6vw, 3.15rem);
    line-height: 1.05;
}

.hw-consumption-lead {
    max-width: 66ch;
    margin: 16px 0 0;
    color: #5d6d7c;
    font-size: 1rem;
    line-height: 1.75;
}

.hw-consumption-hero-image {
    width: 100%;
    aspect-ratio: 1.12;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid rgba(181, 121, 54, 0.25);
    background: #fff;
}

.hw-consumption-stage {
    border: 1px solid #d8e0e7;
    border-radius: 24px;
    padding: 30px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}

.hw-consumption-topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.hw-consumption-status-chip {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid #ead8bd;
    background: #fff8ed;
    color: #80591e;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hw-consumption-back-link {
    color: #1f3b57;
    font-weight: 700;
    text-decoration: none;
}

.hw-consumption-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 310px);
    gap: 22px;
    align-items: start;
}

.hw-consumption-main {
    min-width: 0;
}

.hw-consumption-sidebar {
    position: sticky;
    top: 92px;
    max-height: calc(100vh - 112px);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    box-sizing: border-box;
    padding: 18px;
    border: 1px solid #d9e8e2;
    border-radius: 20px;
    background: linear-gradient(180deg, #f4fbf7 0%, #ffffff 100%);
}

.hw-consumption-sidebar-head p:not(.hw-consumption-section-kicker) {
    margin: 10px 0 0;
    color: #5d6d7c;
    line-height: 1.58;
}

.hw-consumption-reference-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.hw-consumption-reference-card,
.hw-consumption-question-card,
.hw-consumption-summary-card {
    border: 1px solid #dbe4eb;
    border-radius: 18px;
    background: #fff;
}

.hw-consumption-reference-card {
    padding: 20px;
}

.hw-consumption-reference-card:nth-child(1) {
    background: linear-gradient(180deg, #fff8ed 0%, #ffffff 100%);
}

.hw-consumption-reference-card:nth-child(2) {
    background: linear-gradient(180deg, #f3fbf6 0%, #ffffff 100%);
}

.hw-consumption-reference-card:nth-child(3) {
    background: linear-gradient(180deg, #effafa 0%, #ffffff 100%);
}

.hw-consumption-reference-card p,
.hw-consumption-question-text,
.hw-consumption-summary-copy p {
    color: #556575;
    line-height: 1.72;
}

.hw-consumption-reference-card p,
.hw-consumption-question-text {
    margin: 12px 0 0;
}

.hw-consumption-section-head {
    margin: 28px 0 14px;
}

.hw-consumption-section-head h2 {
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    line-height: 1.18;
}

.hw-consumption-question-list {
    display: grid;
    gap: 16px;
}

.hw-consumption-question-card {
    padding: 22px;
}

.hw-consumption-question-topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.hw-consumption-question-number,
.hw-consumption-question-state {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-weight: 800;
}

.hw-consumption-question-number {
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #cfd8df;
    color: #536271;
    font-size: 13px;
    letter-spacing: 0.08em;
}

.hw-consumption-question-state {
    padding: 6px 10px;
    border: 1px solid #d7e0e7;
    background: #f5f8fb;
    color: #5a6a79;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hw-consumption-question-card h2 {
    margin-top: 16px;
    font-size: 1.24rem;
    line-height: 1.22;
}

.hw-consumption-example {
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px dashed #cfd9e1;
    background: #f8fbfd;
    color: #4f6070;
    line-height: 1.65;
}

.hw-consumption-options {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.hw-consumption-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hw-consumption-flow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.hw-consumption-flow span {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid #ead8bd;
    background: #fff8ed;
    color: #6d4a17;
    font-size: 0.86rem;
    font-weight: 850;
    line-height: 1.3;
}

.hw-consumption-action-hint,
.hw-consumption-bank-label {
    margin: 12px 0 0;
    color: #526575;
    line-height: 1.55;
}

.hw-consumption-bank-label {
    color: #24553a;
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hw-consumption-option-btn,
.hw-consumption-account-btn,
.hw-consumption-check-btn,
.hw-consumption-cta-link {
    display: inline-flex;
    align-items: center;
    margin-top: 16px;
    padding: 11px 18px;
    border-radius: 12px;
    background: #193147;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    transition: background .18s ease, transform .18s ease;
}
.hw-consumption-cta-link:hover {
    background: #254863;
    transform: translateY(-1px);
}

.hw-consumption-reset-btn {
    border-radius: 12px;
    border: 1px solid #d8e0e7;
    background: #f8fbfd;
    color: #193147;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.hw-consumption-option-btn,
.hw-consumption-account-btn {
    padding: 12px 14px;
}

.hw-consumption-account-bank {
    display: grid;
    gap: 8px;
    margin-top: 16px;
}

.hw-consumption-account-class {
    display: grid;
    gap: 6px;
}

.hw-consumption-class-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 7px;
    width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    border: 0;
    border-radius: 10px;
    color: #ffffff;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 850;
    line-height: 1.28;
    text-align: left;
    cursor: pointer;
}

.hw-consumption-class-header::after {
    content: "+";
    grid-column: 3;
    justify-self: end;
    font-size: 1rem;
}

.hw-consumption-class-header.is-open::after {
    content: "-";
}

.hw-consumption-class-header.class-0 { background: #6b7280; }
.hw-consumption-class-header.class-1 { background: #0ea5e9; }
.hw-consumption-class-header.class-2 { background: #16a34a; }
.hw-consumption-class-header.class-3 { background: #f97316; }
.hw-consumption-class-header.class-4 { background: #a855f7; }
.hw-consumption-class-header.class-5 { background: #475569; }
.hw-consumption-class-header.class-6 { background: #0f766e; }
.hw-consumption-class-header.class-7 { background: #dc2626; }
.hw-consumption-class-header.class-8 { background: #44403c; }
.hw-consumption-class-header.class-9 { background: #7c3aed; }

.hw-consumption-subaccounts {
    display: none;
    gap: 6px;
    padding: 0 0 4px 10px;
}

.hw-consumption-subaccounts.is-open {
    display: grid;
}

.hw-consumption-account-btn {
    display: grid;
    align-content: center;
    min-height: 42px;
    background: #ffffff;
    font-size: 0.9rem;
    text-align: left;
}

.hw-consumption-sidebar .subaccount {
    margin: 0;
    border-radius: 10px;
    cursor: grab;
}

.hw-consumption-option-btn:hover,
.hw-consumption-account-btn:hover,
.hw-consumption-check-btn:hover,
.hw-consumption-reset-btn:hover {
    transform: translateY(-1px);
    border-color: #b9cad7;
    background: #f2f7fb;
}

.hw-consumption-option-btn.is-correct,
.hw-consumption-account-btn.is-selected {
    border-color: #58b57a;
    background: #e5f8ed;
    color: #24553a;
    box-shadow: 0 0 0 3px rgba(88, 181, 122, 0.16);
}

.hw-consumption-option-btn.is-wrong {
    border-color: #f0c6c6;
    background: #fff3f3;
    color: #8a2424;
}

.hw-consumption-calc-row,
.hw-consumption-booking-row {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.hw-consumption-calc-row {
    grid-template-columns: minmax(0, 1fr) auto;
}

.hw-consumption-booking-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 112px;
    gap: 12px;
    padding: 13px;
    border: 1px solid #d7e2ec;
    border-radius: 14px;
    background: #f8fbfd;
}

.hw-consumption-input,
.hw-consumption-drop {
    min-height: 46px;
    border: 1px dashed #bdd0dd;
    border-radius: 12px;
    background: #fff;
    color: #193147;
    font: inherit;
}

.hw-consumption-input {
    width: 100%;
    padding: 0 12px;
    font-weight: 800;
}

.hw-consumption-drop {
    display: grid;
    gap: 6px;
    align-content: center;
    padding: 9px 12px;
    cursor: pointer;
    text-align: left;
}

.hw-consumption-drop span {
    color: #586a7b;
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hw-consumption-drop strong {
    color: #193147;
    line-height: 1.3;
}

.hw-consumption-drop.is-filled {
    border-color: #7cb99a;
    background: #f3fbf6;
    padding: 7px;
}

.hw-consumption-drop.is-over {
    border-color: #58b57a;
    background: #edf9f1;
}

.hw-consumption-drop .drop-item {
    display: block;
    width: 100%;
    padding: 8px 10px;
    border-radius: 9px;
    color: #ffffff;
    font-weight: 850;
    cursor: grab;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.hw-consumption-drop .drop-item:active,
.hw-consumption-sidebar .subaccount:active {
    cursor: grabbing;
}

.hw-consumption-drop .drop-item.class-0 { background: #6b7280; }
.hw-consumption-drop .drop-item.class-1 { background: #0ea5e9; }
.hw-consumption-drop .drop-item.class-2 { background: #16a34a; }
.hw-consumption-drop .drop-item.class-3 { background: #f97316; }
.hw-consumption-drop .drop-item.class-4 { background: #a855f7; }
.hw-consumption-drop .drop-item.class-5 { background: #475569; }
.hw-consumption-drop .drop-item.class-6 { background: #0f766e; }
.hw-consumption-drop .drop-item.class-7 { background: #dc2626; }
.hw-consumption-drop .drop-item.class-8 { background: #44403c; }
.hw-consumption-drop .drop-item.class-9 { background: #7c3aed; }

.hw-consumption-amount-wrap {
    display: grid;
    gap: 6px;
}

.hw-consumption-amount-wrap span {
    color: #586a7b;
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding-left: 2px;
}

.hw-consumption-booking-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 12px;
}

.hw-consumption-case-hint {
    margin: 0;
    color: #40566b;
    line-height: 1.55;
}

.hw-consumption-check-btn {
    flex: 0 0 auto;
    width: auto;
    min-height: 42px;
    padding: 0 16px;
    margin-top: 0;
    border-radius: 8px;
    background: #24445e;
    border-color: #24445e;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 850;
}

.hw-consumption-feedback {
    margin-top: 16px;
    padding: 13px 14px;
    border-radius: 12px;
    border: 1px solid #dbe4eb;
    background: #f7fafc;
    color: #556575;
    line-height: 1.65;
}

.hw-consumption-feedback.is-success {
    background: #ecfdf3;
    border-color: #b7dfc7;
    color: #24553a;
}

.hw-consumption-feedback.is-error {
    background: #fff3f3;
    border-color: #f0c6c6;
    color: #8a2424;
}

.hw-consumption-summary-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 22px;
    padding: 22px;
    background: linear-gradient(180deg, #f7fbf8 0%, #ffffff 100%);
}

.hw-consumption-summary-copy p {
    margin: 10px 0 0;
}

.hw-consumption-reset-btn {
    min-width: 140px;
    padding: 11px 16px;
    background: #ffffff;
}

@media (max-width: 900px) {
    .hw-consumption-hero,
    .hw-consumption-reference-grid,
    .hw-consumption-options,
    .hw-consumption-flow,
    .hw-consumption-booking-row {
        grid-template-columns: 1fr;
    }

    .hw-consumption-hero-image {
        max-width: 320px;
    }
}

@media (max-width: 980px) {
    .hw-consumption-layout {
        grid-template-columns: 1fr;
    }

    .hw-consumption-sidebar {
        position: static;
        max-height: calc(100vh - 32px);
    }
}

@media (max-width: 720px) {
    .hw-consumption-page {
        margin-top: 22px;
        padding: 0 16px;
    }

    .hw-consumption-hero,
    .hw-consumption-stage {
        padding: 22px 18px;
        border-radius: 18px;
    }

    .hw-consumption-topline,
    .hw-consumption-summary-card,
    .hw-consumption-question-topline,
    .hw-consumption-calc-row {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }

    .hw-consumption-reference-card,
    .hw-consumption-question-card,
    .hw-consumption-summary-card {
        padding: 18px;
    }
}
