.dj-ep {
    padding: 89px 0 55px;
    background: #F8FAFC;
    color: #1E293B;
    min-height: 70vh;
}

.dj-ep-hero {
    max-width: 720px;
    margin: 0 auto 55px;
    text-align: center;
}

.dj-ep-eyebrow {
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #DC2626;
    font-weight: 700;
    margin: 0 0 13px;
}

.dj-ep-title {
    font-size: 42px;
    line-height: 1.15;
    font-weight: 800;
    margin: 0 0 21px;
    color: #1E293B;
}

.dj-ep-lead {
    font-size: 18px;
    line-height: 1.55;
    color: #475569;
    margin: 0;
}

.dj-ep-h2 {
    font-size: 21px;
    font-weight: 700;
    margin: 0 0 13px;
    color: #1E293B;
}

.dj-ep-h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 13px;
    color: #1E293B;
}

.dj-ep-wizard {
    max-width: 960px;
    margin: 0 auto;
}

.dj-ep-steps {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0 0 34px;
    justify-content: center;
    flex-wrap: wrap;
}

.dj-ep-steps li {
    margin: 0;
}

.dj-ep-step {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #64748B;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 24px;
    padding: 10px 24px;
    cursor: pointer;
    line-height: 1.3;
    transition: all 0.2s;
}

.dj-ep-step:hover,
.dj-ep-step:focus {
    border-color: #DC2626;
    color: #DC2626;
}

.dj-ep-step[aria-current="step"] {
    color: #fff;
    background: #DC2626;
    border-color: #DC2626;
}

.dj-ep-pane {
    display: none;
}

.dj-ep-wizard[data-step="1"] .dj-ep-pane[data-ep-pane="1"],
.dj-ep-wizard[data-step="2"] .dj-ep-pane[data-ep-pane="2"],
.dj-ep-wizard[data-step="3"] .dj-ep-pane[data-ep-pane="3"] {
    display: block;
}

.dj-ep-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 13px;
    margin: 21px 0 0;
}

.dj-ep-nav-back,
.dj-ep-nav-next {
    border-radius: 8px;
    padding: 13px 34px;
    font-size: 16px;
    font-weight: 700;
    min-height: 44px;
}

.dj-ep-nav-back {
    background: #fff;
    color: #1E293B;
    border: 1px solid #E2E8F0;
}

.dj-ep-nav-back:hover,
.dj-ep-nav-back:focus {
    border-color: #DC2626;
    color: #DC2626;
}

.dj-ep-nav-next,
.dj-ep-submit,
.dj-ep-print {
    background: #DC2626;
    color: #fff;
    border: 0;
}

.dj-ep-nav-next:hover,
.dj-ep-nav-next:focus,
.dj-ep-submit:hover,
.dj-ep-print:hover {
    background: #B91C1C;
    color: #fff;
}

.dj-ep-card {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 34px;
    margin-bottom: 21px;
    width: 100%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.dj-ep-brief,
.dj-ep-lines,
.dj-ep-band,
.dj-ep-doc {
    max-width: none;
}

.dj-ep-dates {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
}

.dj-ep-field {
    margin-bottom: 21px;
}

.dj-ep-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1E293B;
    margin-bottom: 6px;
}

.dj-ep-input {
    font-size: 14px;
    border-radius: 8px;
    min-height: 44px;
}

.dj-ep-hint {
    font-size: 13px;
    color: #64748B;
    margin: 6px 0 0;
}

.dj-ep-hint a {
    color: #DC2626;
    font-weight: 600;
    text-decoration: none;
}

.dj-ep-hint a:hover {
    text-decoration: underline;
}

.dj-ep-tips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 21px;
    margin: 0 0 21px;
    padding: 0;
    list-style: none;
}

.dj-ep-tips li {
    font-size: 13px;
    color: #64748B;
    line-height: 1.4;
}

.dj-ep-error {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #991B1B;
    padding: 13px 21px;
    border-radius: 10px;
    margin-bottom: 21px;
    font-size: 14px;
}

.dj-ep-intake {
    margin: 0 0 21px;
    padding: 21px;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.dj-ep-intake-note {
    font-size: 13px;
    color: #64748B;
    margin: 0 0 13px;
    line-height: 1.45;
}

.dj-ep-intake-paste-lab {
    margin-top: 13px;
}

.dj-ep-intake-paste {
    min-height: 89px;
    border-radius: 8px;
}

.dj-ep-intake-go {
    margin-top: 13px;
    background: #fff;
    color: #1E293B;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    padding: 10px 21px;
    font-size: 14px;
    font-weight: 700;
}

.dj-ep-intake-go:hover,
.dj-ep-intake-go:focus {
    background: #F1F5F9;
    border-color: #94A3B8;
    color: #1E293B;
}

.dj-ep-intake-warn {
    background: #FFFBEB;
    border: 1px solid #FDE68A;
    color: #92400E;
    padding: 13px 21px;
    border-radius: 10px;
    margin-bottom: 21px;
    font-size: 14px;
}

.dj-ep-ledger {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dj-ep-ledger-head,
.dj-ep-ledger-row {
    display: grid;
    grid-template-columns: minmax(140px, 1.35fr) minmax(100px, 0.85fr) 88px 52px 52px 40px;
    gap: 8px;
    align-items: start;
}

.dj-ep-ledger-head {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #64748B;
    margin: 0;
    padding: 0 0 0 4px;
}

.dj-ep-ledger-head span:last-child {
    text-align: center;
}

.dj-ep-ledger-row {
    margin: 0;
    padding: 6px 0;
    background: transparent;
    border: none;
    border-radius: 0;
}

.dj-ep-row-review {
    background: transparent;
    border-color: transparent;
}

.dj-ep-pick-hint,
.dj-ep-item-note,
.dj-ep-source-note {
    font-size: 13px;
    line-height: 1.45;
    margin: 8px 0 0;
}

.dj-ep-pick-hint {
    color: #92400E;
}

.dj-ep-item-note {
    color: #475569;
}

.dj-ep-source-note {
    color: #64748B;
}

.dj-ep-cell {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.dj-ep-cell-lab {
    display: none;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: #64748B;
    margin: 0 0 8px;
}

.dj-ep-num {
    min-width: 72px;
    width: 100%;
    text-align: right;
    font-size: 16px;
    font-variant-numeric: tabular-nums;
    padding-right: 10px;
    padding-left: 10px;
}

.dj-ep-cell-off .dj-ep-input {
    background: #F1F5F9;
    color: #94A3B8;
    border-color: #E2E8F0;
    opacity: 0.7;
}

/* ═══ Toggle Switch (GÜN / M²) ═══ */

.dj-ep-toggle {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    margin: 0;
    user-select: none;
}

.dj-ep-toggle-check {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.dj-ep-toggle-track {
    position: relative;
    width: 44px;
    height: 24px;
    background: #E2E8F0;
    border-radius: 12px;
    transition: background 0.2s ease;
}

.dj-ep-toggle-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    transition: transform 0.2s ease;
}

.dj-ep-toggle-check:checked + .dj-ep-toggle-track {
    background: #DC2626;
}

.dj-ep-toggle-check:checked + .dj-ep-toggle-track .dj-ep-toggle-thumb {
    transform: translateX(20px);
}

.dj-ep-toggle-check:disabled + .dj-ep-toggle-track {
    opacity: 0.4;
    cursor: not-allowed;
}

.dj-ep-cell-off .dj-ep-toggle {
    pointer-events: none;
}

.dj-ep-cell-off .dj-ep-toggle-track {
    opacity: 0.4;
}

.dj-ep-row-del {
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: #94A3B8;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-bottom: 0;
}

.dj-ep-row-del:hover,
.dj-ep-row-del:focus {
    background: #FEF2F2;
    color: #DC2626;
}

.dj-ep-row-template {
    display: none !important;
}

.dj-ep-add {
    margin-top: 8px;
    background: #fff;
    color: #DC2626;
    border: 1px solid #DC2626;
    border-radius: 8px;
    padding: 10px 21px;
    font-size: 14px;
    font-weight: 700;
}

.dj-ep-add:hover,
.dj-ep-add:focus {
    background: #DC2626;
    color: #fff;
}

.dj-ep-add:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    background: #fff;
    color: #DC2626;
}

.dj-ep-band-row {
    display: flex;
    gap: 21px;
    flex-wrap: wrap;
    margin: 13px 0 21px;
}

.dj-ep-band-opt {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
}

.dj-ep-submit,
.dj-ep-print {
    background: #DC2626;
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 13px 34px;
    font-size: 16px;
    font-weight: 700;
}

.dj-ep-submit:hover,
.dj-ep-print:hover {
    background: #B91C1C;
    color: #fff;
}

.dj-ep-doc {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 13px;
    padding: 55px 34px;
}

.dj-ep-disclaimer {
    font-size: 13px;
    font-weight: 700;
    color: #DC2626;
    margin: 0 0 13px;
}

.dj-ep-trust {
    font-size: 16px;
    line-height: 1.55;
    color: #1E293B;
    margin: 0 0 34px;
    padding: 20px 24px;
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    border-radius: 12px;
}

.dj-ep-doc-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 21px;
    margin-bottom: 34px;
}

.dj-ep-meta {
    font-size: 14px;
    color: #475569;
    margin: 0 0 8px;
}

.dj-ep-section {
    margin-bottom: 34px;
}

.dj-ep-table {
    width: 100%;
    border-collapse: collapse;
}

.dj-ep-table th,
.dj-ep-table td {
    text-align: left;
    padding: 13px 8px;
    border-bottom: 1px solid #E2E8F0;
    font-size: 14px;
    vertical-align: top;
}

.dj-ep-table th {
    font-size: 11px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #64748B;
}

.dj-ep-mult {
    display: block;
    font-size: 12px;
    color: #64748B;
    font-weight: 400;
}

.dj-ep-why {
    color: #475569;
    cursor: help;
}

.dj-ep-empty {
    color: #64748B;
    font-style: italic;
}

.dj-ep-totals {
    border-top: 2px solid #1E293B;
    padding-top: 21px;
    margin-bottom: 34px;
}

.dj-ep-totals p {
    margin: 0 0 8px;
    font-size: 16px;
}

.dj-ep-grand {
    font-size: 21px;
}

.dj-ep-delta,
.dj-ep-policy {
    margin-bottom: 34px;
}

.dj-ep-delta-list {
    margin: 0 0 13px;
    padding-left: 21px;
}

.dj-ep-next {
    margin: 34px 0 0;
}

.dj-ep-next a {
    color: #DC2626;
    font-weight: 700;
}

@media (max-width: 900px) {
    .dj-ep-title {
        font-size: 34px;
    }

    .dj-ep-card {
        padding: 20px;
    }

    .dj-ep-doc-head,
    .dj-ep-dates,
    .dj-ep-nav {
        grid-template-columns: 1fr;
        display: flex;
        flex-wrap: wrap;
    }

    .dj-ep-nav {
        justify-content: stretch;
    }

    .dj-ep-nav-back,
    .dj-ep-nav-next,
    .dj-ep-submit {
        flex: 1 1 auto;
        text-align: center;
    }

    .dj-ep-ledger-head {
        display: none;
    }

    .dj-ep-ledger-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 10px 0;
        overflow: hidden;
    }

    .dj-ep-cell-lab {
        display: block;
    }

    .dj-ep-cell-group,
    .dj-ep-cell-unit {
        grid-column: 1 / -1;
    }

    .dj-ep-cell-del {
        grid-column: 1 / -1;
        align-items: flex-end;
    }

    .dj-ep-row-del {
        width: 100%;
        height: 44px;
        justify-content: center;
        background: #fff;
        border: 1px solid #E2E8F0;
        border-radius: 8px;
    }

    .dj-ep-num {
        min-width: 0;
        width: 100%;
    }

    .dj-ep-steps {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .dj-ep-step {
        padding: 8px 13px;
        font-size: 12px;
    }
}

@media print {
    .homepage-navbar,
    .dj-ep-hero,
    .dj-ep-steps,
    .dj-ep-form,
    .dj-ep-error,
    .dj-ep-print,
    .dj-ep-next,
    .dj-ep-nav,
    footer {
        display: none !important;
    }

    .dj-ep-pane[data-ep-pane="3"] {
        display: block !important;
    }

    .dj-ep {
        padding: 0;
        background: #fff;
    }

    .dj-ep-doc {
        border: 0;
        padding: 0;
    }
}
