.didi-page__inner--dhy-modulu .didi-hukuk-modulu__back a {
    font-weight: 600;
}

.didi-page__summary--dhy {
    max-width: 62ch;
}

.dhy-modul {
    --dhy-table-num-col: 7.5rem;
    margin-top: 0.5rem;
}

.dhy-modul__sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.dhy-modul__hero {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 1.25rem 1.75rem;
    margin-bottom: 1.35rem;
    padding: 1.35rem 1.45rem;
    border-radius: 16px;
    border: 1px solid rgba(var(--hukuk-tone-front-rgb), 0.18);
    background:
        linear-gradient(135deg, rgba(var(--hukuk-tone-front-rgb), 0.04) 0%, rgba(var(--hukuk-tone-front-rgb), 0.08) 48%, rgba(255, 255, 255, 0.9) 100%);
    box-shadow: 0 10px 32px rgba(15, 48, 45, 0.06);
}

.dhy-modul__hero-eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--hukuk-tone-front);
}

.dhy-modul__hero-text {
    margin: 0;
    max-width: 58ch;
    font-size: 1rem;
    line-height: 1.65;
    color: #334155;
}

.dhy-modul__hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 1.1rem;
    margin: 0.85rem 0 0;
    padding: 0;
    list-style: none;
}

.dhy-modul__hero-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--hukuk-tone-dark);
}

.dhy-modul__hero-meta-item i {
    color: var(--hukuk-tone-front);
    font-size: 0.85rem;
    opacity: 0.9;
}

.dhy-modul__hero-meta-item--split {
    gap: 0.45rem;
}

.dhy-modul__hero-meta-part {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.dhy-modul__hero-meta-sep {
    color: #94a3b8;
    font-weight: 700;
}

.dhy-modul__hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
    align-self: center;
}

.dhy-modul__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 5.5rem;
    padding: 0.75rem 0.55rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(var(--hukuk-tone-front-rgb), 0.16);
    text-align: center;
}

.dhy-modul__stat strong {
    font-size: 1.45rem;
    line-height: 1.1;
    color: var(--hukuk-tone-heading);
}

.dhy-modul__stat span {
    margin-top: 0.25rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
    line-height: 1.25;
}

.dhy-modul__tabs-wrap {
    position: sticky;
    top: 0;
    z-index: 20;
    margin-bottom: 1rem;
    padding: 0.35rem 0;
    background: transparent;
}

.dhy-modul__tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
    padding: 0.35rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--hukuk-tone-soft-border);
    box-shadow: 0 4px 18px rgba(15, 48, 45, 0.05);
}

.dhy-modul__tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 2.65rem;
    padding: 0.45rem 0.65rem;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: #475569;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.dhy-modul__tab i {
    color: var(--hukuk-tone-front);
    font-size: 0.9rem;
}

.dhy-modul__tab-label--short {
    display: none;
}

.dhy-modul__tab:hover,
.dhy-modul__tab:focus-visible {
    background: rgba(var(--hukuk-tone-front-rgb), 0.08);
    color: var(--hukuk-tone-dark);
}

.dhy-modul__tab.is-active {
    background: linear-gradient(180deg, var(--hukuk-tone-front) 0%, var(--hukuk-tone-dark) 100%);
    color: #fff;
    box-shadow: 0 6px 16px rgba(var(--hukuk-tone-front-rgb), 0.28);
}

.dhy-modul__tab.is-active i {
    color: #fff;
}

.dhy-modul__panel {
    background: #fff;
    border: 1px solid var(--hukuk-tone-soft-border);
    border-radius: 16px;
    padding: 1.35rem 1.45rem 1.5rem;
    box-shadow: 0 8px 28px rgba(15, 48, 45, 0.04);
}

.dhy-modul__panel[hidden] {
    display: none !important;
}

/* Hash ile gelinen sekme — defer JS öncesi yanlış panel flaşını önler (#dhy-sure vb.) */
html[data-dhy-initial-tab] .dhy-modul__panel {
    display: none !important;
}

html[data-dhy-initial-tab="adim"] .dhy-modul__panel[data-dhy-panel="adim"],
html[data-dhy-initial-tab="sure"] .dhy-modul__panel[data-dhy-panel="sure"],
html[data-dhy-initial-tab="sss"] .dhy-modul__panel[data-dhy-panel="sss"],
html[data-dhy-initial-tab="robot"] .dhy-modul__panel[data-dhy-panel="robot"] {
    display: block !important;
}

html[data-dhy-initial-tab] .dhy-modul__tab.is-active {
    background: transparent;
    color: #475569;
    box-shadow: none;
}

html[data-dhy-initial-tab] .dhy-modul__tab.is-active i {
    color: var(--hukuk-tone-front);
}

html[data-dhy-initial-tab="adim"] .dhy-modul__tab[data-dhy-tab="adim"],
html[data-dhy-initial-tab="sure"] .dhy-modul__tab[data-dhy-tab="sure"],
html[data-dhy-initial-tab="sss"] .dhy-modul__tab[data-dhy-tab="sss"],
html[data-dhy-initial-tab="robot"] .dhy-modul__tab[data-dhy-tab="robot"] {
    background: linear-gradient(180deg, var(--hukuk-tone-front) 0%, var(--hukuk-tone-dark) 100%);
    color: #fff;
    box-shadow: 0 6px 16px rgba(var(--hukuk-tone-front-rgb), 0.28);
}

html[data-dhy-initial-tab="adim"] .dhy-modul__tab[data-dhy-tab="adim"] i,
html[data-dhy-initial-tab="sure"] .dhy-modul__tab[data-dhy-tab="sure"] i,
html[data-dhy-initial-tab="sss"] .dhy-modul__tab[data-dhy-tab="sss"] i,
html[data-dhy-initial-tab="robot"] .dhy-modul__tab[data-dhy-tab="robot"] i {
    color: #fff;
}

.dhy-modul__panel-head {
    margin-bottom: 1.15rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--hukuk-tone-soft-border);
}

.dhy-modul__panel-title {
    margin: 0 0 0.35rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--hukuk-tone-heading);
}

.dhy-modul__panel-lead {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: #64748b;
}

.dhy-modul__steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
}

.dhy-modul__step {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 1rem 1.05rem;
    border-radius: 12px;
    border: 1px solid var(--hukuk-tone-soft-border);
    background: var(--hukuk-tone-soft-bg);
}

.dhy-modul__step-head {
    min-width: 0;
}

.dhy-modul__step-content {
    padding-left: 0;
}

.dhy-modul__step-title {
    margin: 0;
    min-width: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--hukuk-tone-heading);
}

.dhy-modul__prose {
    color: #475569;
    font-size: 0.9375rem;
    line-height: 1.65;
}

.dhy-modul__prose--intro {
    margin-bottom: 1rem;
}

.dhy-modul__prose p {
    margin: 0 0 0.75rem;
}

.dhy-modul__prose p:last-child {
    margin-bottom: 0;
}

.dhy-modul__prose--compact {
    font-size: 0.875rem;
}

.dhy-modul__prose-heading {
    margin: 1.1rem 0 0.45rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--hukuk-tone-heading);
}

.dhy-modul__prose-lead {
    margin: 0 0 0.5rem;
    font-weight: 600;
    color: #334155;
}

.dhy-modul__table-caption {
    padding: 0.65rem 0.85rem;
    text-align: left;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #475569;
    background: #f8fafc;
    border-bottom: 1px solid var(--hukuk-tone-soft-border);
    caption-side: top;
}

.dhy-modul__table-wrap--prose {
    margin: 0.85rem 0 1rem;
}

.dhy-modul__table--deadlines td:nth-child(2) {
    white-space: nowrap;
}

.dhy-modul__table--metrics {
    table-layout: fixed;
    width: 100%;
    min-width: 17.5rem;
}

.dhy-modul__table--kademe.dhy-modul__table--metrics {
    min-width: 22rem;
}

.dhy-modul__col-num {
    width: var(--dhy-table-num-col);
}

.dhy-modul__th-num,
.dhy-modul__td-num {
    text-align: center;
    vertical-align: middle;
}

.dhy-modul__th-num {
    line-height: 1.35;
    hyphens: auto;
}

.dhy-modul__td-num {
    white-space: nowrap;
}

.dhy-modul__num {
    font-weight: 800;
    font-variant-numeric: tabular-nums lining-nums;
    color: var(--hukuk-tone-heading);
}

.dhy-modul__unit {
    font-weight: 500;
    color: #64748b;
    font-size: 0.8125rem;
}

.dhy-modul__callout {
    margin: 0.85rem 0;
    padding: 0.75rem 0.9rem;
    border-radius: 14px;
    border: 1px solid var(--hukuk-tone-soft-border);
    background: #f0faf8;
}

.dhy-modul__callout p {
    margin: 0;
    color: #334155;
    font-size: 0.875rem;
}

.dhy-modul__myth-list {
    margin: 0.5rem 0 1rem;
    padding-left: 1.15rem;
    color: #475569;
}

.dhy-modul__myth-list li {
    margin-bottom: 0.45rem;
}

.dhy-modul__steps-inline {
    margin: 0.35rem 0 1rem;
    padding-left: 1.25rem;
    color: #475569;
}

.dhy-modul__steps-inline li {
    margin-bottom: 0.4rem;
}

.dhy-modul__sure-block {
    margin-bottom: 1.35rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--hukuk-tone-soft-border);
}

.dhy-modul__sure-block:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.dhy-modul__sure-q {
    margin: 0 0 0.65rem;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--hukuk-tone-heading);
}

.dhy-modul__table-note {
    margin: 1rem 0 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #64748b;
}

.dhy-modul__robot-static-lead {
    margin: 0 0 0.85rem;
    font-size: 0.875rem;
    color: #64748b;
}

.dhy-modul__robot-articles {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dhy-modul__robot-article {
    border: 1px solid var(--hukuk-tone-soft-border);
    border-radius: 10px;
    background: var(--hukuk-tone-soft-bg);
    overflow: hidden;
}

.dhy-modul__robot-article summary {
    cursor: pointer;
    padding: 0.75rem 0.9rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--hukuk-tone-heading);
    list-style: none;
}

.dhy-modul__robot-article summary::-webkit-details-marker {
    display: none;
}

.dhy-modul__robot-article[open] summary {
    border-bottom: 1px solid var(--hukuk-tone-soft-border);
    background: #f4faf9;
}

.dhy-modul__robot-article .dhy-modul__prose {
    padding: 0.85rem 0.9rem 1rem;
}

.dhy-modul__table-wrap {
    overflow-x: auto;
    border: 1px solid var(--hukuk-tone-soft-border);
    border-radius: 12px;
}

.dhy-modul__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.dhy-modul__table th,
.dhy-modul__table td {
    padding: 0.75rem 0.85rem;
    border-bottom: 1px solid var(--hukuk-tone-soft-border);
    text-align: left;
    vertical-align: middle;
}

.dhy-modul__table th {
    background: #f4faf9;
    color: #334155;
    font-weight: 700;
    font-size: 0.8125rem;
}

.dhy-modul__table tbody tr:last-child td {
    border-bottom: 0;
}

.dhy-modul__table tbody tr:hover {
    background: rgba(var(--hukuk-tone-front-rgb), 0.04);
}

.dhy-modul__more {
    margin-top: 1rem;
    padding: 0.75rem 0.9rem;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    background: var(--hukuk-tone-soft-bg);
}

.dhy-modul__more summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--hukuk-tone-dark);
}

.dhy-modul__faq {
    display: grid;
    gap: 0.55rem;
}

.dhy-modul__faq-item {
    border: 1px solid var(--hukuk-tone-soft-border);
    border-radius: 12px;
    padding: 0.15rem 0.85rem;
    background: #fff;
}

.dhy-modul__faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.75rem 0;
    font-weight: 600;
    color: #1e293b;
    list-style: none;
}

.dhy-modul__faq-item summary::-webkit-details-marker {
    display: none;
}

.dhy-modul__faq-item summary i {
    color: #94a3b8;
    transition: transform 0.2s ease;
}

.dhy-modul__faq-item[open] summary i {
    transform: rotate(180deg);
}

.dhy-modul__faq-item .dhy-modul__prose {
    padding-bottom: 0.85rem;
}

.dhy-modul__robot-card {
    --dhy-robot-red: #c9343a;
    --dhy-robot-red-dark: #b02a2f;
    --dhy-robot-red-ghost: rgba(250, 20, 27, 0.1);
    padding: 1.15rem 1.2rem 1.25rem;
    border-radius: 14px;
    border: 1px solid rgba(250, 20, 27, 0.14);
    background: linear-gradient(180deg, rgba(250, 20, 27, 0.04) 0%, #fff 55%);
    box-shadow: 0 8px 22px rgba(15, 48, 45, 0.04);
}

.dhy-modul__robot-form {
    display: grid;
    gap: 0.85rem;
}

.dhy-modul__robot-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.dhy-modul__robot-form label span {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #334155;
}

.dhy-modul__robot-form select {
    width: 100%;
    min-height: 2.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 0.5rem 2.25rem 0.5rem 0.75rem;
    font: inherit;
    color: #0f172a;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%23475569' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.65rem center;
    background-size: 1.125rem 1.125rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

.dhy-modul__robot-form select:disabled {
    color: #64748b;
    background-color: #f8fafc;
    cursor: not-allowed;
}

.dhy-modul__robot-form select:focus {
    outline: none;
    border-color: rgba(250, 20, 27, 0.45);
    box-shadow: 0 0 0 3px rgba(250, 20, 27, 0.12);
}

.dhy-modul__robot-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    min-height: 2.85rem;
    padding: 0 1.25rem;
    border: 1px solid rgba(250, 20, 27, 0.22);
    border-radius: 10px;
    background: linear-gradient(
        180deg,
        rgba(250, 20, 27, 0.88) 0%,
        rgba(217, 17, 23, 0.82) 100%
    );
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(250, 20, 27, 0.16);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.dhy-modul__robot-submit:hover,
.dhy-modul__robot-submit:focus-visible {
    transform: translateY(-1px);
    background: linear-gradient(
        180deg,
        rgba(250, 20, 27, 0.94) 0%,
        rgba(217, 17, 23, 0.88) 100%
    );
    box-shadow: 0 8px 18px rgba(250, 20, 27, 0.2);
}

.dhy-modul__robot-submit:disabled {
    opacity: 0.72;
    cursor: wait;
    transform: none;
}

.dhy-modul__robot-result {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.dhy-modul__result-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 7.25rem;
    padding: 0.85rem 0.75rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(250, 20, 27, 0.12);
    box-shadow: 0 2px 10px rgba(15, 48, 45, 0.04);
}

.dhy-modul__result-card--accent {
    background: linear-gradient(180deg, rgba(250, 20, 27, 0.12) 0%, rgba(250, 20, 27, 0.05) 100%);
    border-color: rgba(250, 20, 27, 0.22);
    color: var(--hukuk-tone-heading);
    box-shadow: 0 4px 14px rgba(250, 20, 27, 0.08);
}

.dhy-modul__result-card--accent .dhy-modul__result-label {
    color: rgba(176, 42, 47, 0.85);
}

.dhy-modul__result-card--accent .dhy-modul__result-hint {
    color: #64748b;
}

.dhy-modul__result-card--accent .dhy-modul__result-value {
    color: var(--dhy-robot-red-dark);
}

.dhy-modul__result-label {
    margin: 0;
    max-width: 11rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #64748b;
    line-height: 1.35;
}

.dhy-modul__result-value {
    margin: 0.45rem 0 0;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--hukuk-tone-heading);
    font-variant-numeric: tabular-nums;
}

.dhy-modul__robot-result.is-empty .dhy-modul__result-value {
    font-size: 1.45rem;
    font-weight: 700;
    color: #cbd5e1;
}

.dhy-modul__robot-result:not(.is-empty) .dhy-modul__result-card--accent .dhy-modul__result-value {
    font-size: 1.4rem;
    color: var(--dhy-robot-red);
}

.dhy-modul__result-hint {
    margin: 0.3rem 0 0;
    font-size: 0.72rem;
    font-weight: 600;
    color: #94a3b8;
}

.dhy-modul__robot-error {
    margin-top: 0.75rem;
    padding: 0.65rem 0.75rem;
    border-radius: 8px;
    background: #fef2f2;
    color: #b91c1c;
    font-size: 0.875rem;
}

.dhy-modul__robot-static {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--hukuk-tone-soft-border);
}

.dhy-modul__robot-static-title {
    margin: 0 0 0.85rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--hukuk-tone-heading);
}

@media (max-width: 960px) {
    .dhy-modul__hero {
        grid-template-columns: 1fr;
    }

    .dhy-modul__tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dhy-modul__robot-result {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .dhy-modul__hero-stats {
        grid-template-columns: 1fr;
    }

    .dhy-modul__tab-label--full {
        display: none;
    }

    .dhy-modul__tab-label--short {
        display: inline;
    }

    .dhy-modul__robot-fields {
        grid-template-columns: 1fr;
    }

}
