body { background: linear-gradient(180deg, #f7f8fa 0%, #f2f4f7 100%); }
    .scope-page { padding: 124px 72px 112px; }
    .scope-shell { max-width: 1020px; margin: 0 auto; }
    .scope-hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(230px, 0.65fr); gap: 28px; padding: 46px 48px; background: linear-gradient(140deg, #0f1620 0%, #172130 62%, #1c293b 100%); color: #fff; box-shadow: 0 24px 56px rgba(15, 23, 42, 0.14); margin-bottom: 22px; }
    .scope-hero.compact { grid-template-columns: minmax(0, 1fr); }
    .scope-kicker { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #9fc8f5; margin-bottom: 16px; }
    .scope-hero h1 { font: 600 2.52rem/1.1 'Inter', sans-serif; margin-bottom: 18px; max-width: 15ch; letter-spacing: -0.03em; text-wrap: balance; }
    .scope-hero p { max-width: 66ch; color: rgba(255, 255, 255, 0.8); font-size: 0.98rem; line-height: 1.8; }
    .hero-meta { display: grid; gap: 10px; align-content: start; max-width: 252px; justify-self: end; width: 100%; }
    .hero-meta[hidden] { display: none; }
    .hero-meta-card { padding: 16px 16px 14px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); }
    .hero-meta-card strong { display: block; font-size: 1.52rem; line-height: 1; font-weight: 600; margin-bottom: 8px; }
    .hero-meta-card span { display: block; font-size: 0.79rem; line-height: 1.6; color: rgba(255, 255, 255, 0.72); }
    .scope-panel, .result-panel { background: #fff; border: 1px solid rgba(17, 17, 17, 0.06); box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06); }
    .scope-panel.is-hidden { display: none; }
    .wizard-top { padding: 24px 34px 22px; border-bottom: 1px solid rgba(17, 17, 17, 0.06); background: linear-gradient(180deg, #ffffff 0%, #fcfcfc 100%); }
    .wizard-top-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
    .wizard-top-head h2 { font-size: 1.25rem; font-weight: 600; color: var(--black); }
    .wizard-progress-text { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 0 14px; border: 1px solid rgba(0, 114, 206, 0.14); border-radius: 999px; background: #f6faff; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #51657a; }
    .wizard-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
    .wizard-step { position: relative; display: grid; gap: 8px; padding: 0; color: #8a919b; font-size: 0.78rem; line-height: 1.45; }
    .wizard-step::before { content: ""; display: block; height: 3px; border-radius: 999px; background: #dde5ee; transition: background 0.2s ease, box-shadow 0.2s ease; }
    .wizard-step-index { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 999px; border: 1px solid #d4dde7; background: #fff; color: #738091; font-size: 0.75rem; font-weight: 700; }
    .wizard-step-label { color: inherit; max-width: 18ch; }
    .wizard-step.active { color: #152334; font-weight: 600; }
    .wizard-step.active::before { background: #0072CE; box-shadow: 0 6px 14px rgba(0, 114, 206, 0.18); }
    .wizard-step.active .wizard-step-index { background: #0072CE; border-color: #0072CE; color: #fff; box-shadow: 0 10px 18px rgba(0, 114, 206, 0.18); }
    .wizard-step.done { color: #405266; }
    .wizard-step.done::before { background: rgba(0, 114, 206, 0.28); }
    .wizard-step.done .wizard-step-index { background: rgba(0, 114, 206, 0.08); border-color: rgba(0, 114, 206, 0.28); color: #0072CE; }
    .wizard-body { padding: 0 34px 30px; }
    .wizard-view { display: none; padding-top: 28px; max-width: 940px; margin: 0 auto; }
    .wizard-view.active { display: block; }
    .section-label { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #0072CE; margin-bottom: 8px; }
    .view-title { font-size: 1.46rem; font-weight: 600; color: var(--black); margin-bottom: 8px; line-height: 1.28; }
    .view-desc { color: #5d6774; font-size: 0.92rem; line-height: 1.72; max-width: 68ch; margin-bottom: 18px; }
    .view-helper { margin: -2px 0 20px; color: #6d7783; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.01em; }
    .selection-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .selection-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .chip-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .select-card { display: block; height: 100%; cursor: pointer; }
    .select-card input { position: absolute; opacity: 0; pointer-events: none; }
    .card-surface { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 154px; height: 100%; padding: 24px 22px 22px; background: #ffffff; border: 1px solid #d8e0e8; border-radius: 10px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease; }
    .chip-card .card-surface { min-height: 118px; }
    .multi-card .card-surface { padding-left: 56px; }
    .multi-card .card-surface::before { content: ""; position: absolute; top: 20px; left: 20px; width: 18px; height: 18px; border: 1.5px solid #c2cfdb; border-radius: 4px; background: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,0.9); }
    .card-surface strong { display: block; font-size: 0.96rem; font-weight: 700; color: #111827; line-height: 1.45; }
    .card-surface p { flex-grow: 1; max-width: 28ch; font-size: 0.85rem; line-height: 1.68; color: #5f6b78; }
    .select-card:hover .card-surface, .select-card:focus-within .card-surface { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1); border-color: rgba(0, 114, 206, 0.5); }
    .select-card input:checked + .card-surface { border-color: #0072CE; background: rgba(0, 114, 206, 0.08); box-shadow: 0 14px 30px rgba(0, 114, 206, 0.16), 0 0 0 1px rgba(0, 114, 206, 0.2); transform: translateY(-3px); }
    .select-card input:checked + .card-surface::after { content: "\2713"; position: absolute; top: 14px; right: 14px; width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: #0072CE; color: #fff; font-size: 0.78rem; font-weight: 700; box-shadow: 0 8px 18px rgba(0, 114, 206, 0.24); }
    .multi-card input:checked + .card-surface::after { top: 18px; left: 20px; right: auto; width: 18px; height: 18px; border-radius: 4px; font-size: 0.68rem; box-shadow: none; }
    .select-card input:checked + .card-surface::before { content: "Seçili"; align-self: flex-start; margin-bottom: 4px; padding: 6px 9px; background: #0072CE; color: #fff; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; box-shadow: 0 8px 16px rgba(0, 114, 206, 0.2); border-radius: 999px; }
    html[lang="en"] .select-card input:checked + .card-surface::before { content: "Selected"; }
    .type-heading { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
    .mini-tip { position: relative; width: 22px; height: 22px; border: 1px solid rgba(0, 114, 206, 0.22); border-radius: 999px; background: #f4f8fc; color: #0072CE; font: 600 0.72rem/1 'Inter', sans-serif; cursor: help; flex-shrink: 0; }
    .mini-tip::after { content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%); width: 236px; padding: 10px 12px; border-radius: 8px; background: #0f1722; color: rgba(255, 255, 255, 0.88); font: 400 0.76rem/1.55 'Inter', sans-serif; letter-spacing: normal; text-transform: none; box-shadow: 0 16px 32px rgba(15, 23, 42, 0.22); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.18s ease, visibility 0.18s ease; z-index: 3; text-align: left; }
    .mini-tip:hover::after, .mini-tip:focus-visible::after { opacity: 1; visibility: visible; }
    .data-panel { padding: 28px; background: #fff; border: 1px solid #dde3ea; border-radius: 12px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); }
    .financial-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
    .year-card { padding: 22px; background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%); border: 1px solid #dbe3ea; border-radius: 12px; box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04); }
    .year-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid rgba(17, 17, 17, 0.08); }
    .year-card-header strong { font-size: 1.2rem; font-weight: 700; color: #21324a; letter-spacing: 0.04em; }
    .year-card-header span { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #7a8797; }
    .metric-stack { display: grid; gap: 16px; }
    .metric-card { padding: 16px 16px 14px; background: #fff; border: 1px solid #e3e8ee; border-radius: 10px; }
    .metric-card label { display: block; margin-bottom: 8px; color: #111827; font-size: 0.9rem; font-weight: 650; line-height: 1.4; }
    .metric-card small { display: block; margin-bottom: 12px; color: #6b7785; font-size: 0.76rem; font-weight: 400; line-height: 1.6; max-width: 30ch; }
    .field-threshold { display: inline-block; margin: -2px 0 12px; padding: 4px 8px; border-radius: 999px; background: #f4f8fc; color: #58708a; font-size: 0.72rem; font-weight: 600; line-height: 1.4; }
    .data-field label { display: block; margin-bottom: 8px; color: #111827; font-size: 0.9rem; font-weight: 650; line-height: 1.4; }
    .data-field small { display: block; margin-bottom: 12px; color: #6b7785; font-size: 0.76rem; font-weight: 400; line-height: 1.6; max-width: 30ch; }
    .data-field input { width: 100%; padding: 13px 14px; border: 1px solid #d5dce3; border-radius: 8px; background: #fff; color: #0f1722; font: 500 0.92rem 'Inter', sans-serif; transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; }
    .data-field input:focus { outline: none; border-color: #0072CE; box-shadow: 0 0 0 3px rgba(0, 114, 206, 0.12); }
    .data-field.filled input { background: #fcfdff; border-color: #c7d7e8; }
    .data-field.error input { border-color: #d14343; background: #fff8f8; box-shadow: 0 0 0 3px rgba(209, 67, 67, 0.1); }
    .field-error { display: none; margin-top: 8px; color: #b02a37; font-size: 0.78rem; line-height: 1.45; }
    .data-field.error .field-error { display: block; }
    .inline-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
    .inline-action-buttons { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
    .group-builder { margin-top: 22px; padding: 24px; border: 1px solid #dbe3ea; border-radius: 12px; background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%); box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04); }
    .group-builder-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
    .group-builder-head strong { font-size: 1rem; color: #152334; }
    .group-builder-head span { color: #617286; font-size: 0.83rem; line-height: 1.6; max-width: 58ch; }
    .group-entity-list { display: grid; gap: 18px; }
    .group-entity { padding: 20px; border: 1px solid #dbe3ea; border-radius: 12px; background: #fff; }
    .group-entity-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
    .group-entity-title { display: flex; align-items: center; gap: 10px; }
    .group-entity-index { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 999px; background: rgba(0, 114, 206, 0.08); color: #0072CE; font-size: 0.78rem; font-weight: 700; }
    .group-entity-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(180px, 220px); gap: 16px; margin-bottom: 18px; }
    .group-entity-years { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .group-mini-card { padding: 16px; border: 1px solid #e3e8ee; border-radius: 10px; background: #fff; }
    .group-mini-card strong { display: block; margin-bottom: 12px; font-size: 0.92rem; color: #21324a; }
    .group-mini-stack { display: grid; gap: 12px; }
    .group-inline-note { margin-top: 10px; color: #617286; font-size: 0.8rem; line-height: 1.6; }
    .mini-btn, .wizard-btn, .result-actions a, .result-actions button { transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease; }
    .mini-btn { padding: 11px 16px; border: 1px solid rgba(17, 17, 17, 0.12); background: #fff; color: var(--black); font: 600 0.78rem 'Inter', sans-serif; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; }
    .mini-btn:hover, .mini-btn:focus-visible { border-color: #0072CE; color: #0072CE; outline: none; transform: translateY(-1px); }
    .step-note, .skip-panel, .notice-panel, .result-disclaimer { padding: 18px 18px 16px; border: 1px solid rgba(17, 17, 17, 0.08); border-radius: 10px; color: #4f5d6f; font-size: 0.88rem; line-height: 1.68; background: linear-gradient(180deg, #f7fafc 0%, #f1f5f9 100%); }
    .skip-panel strong, .notice-panel strong { display: block; color: #0f1722; margin-bottom: 6px; font-size: 0.88rem; letter-spacing: 0.06em; text-transform: uppercase; }
    .wizard-actions { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 14px; border-top: 1px solid rgba(17, 17, 17, 0.06); margin-top: 18px; }
    .wizard-action-group { display: flex; gap: 12px; margin-left: auto; }
    .wizard-btn { min-width: 172px; padding: 16px 24px; border: 1px solid rgba(17, 17, 17, 0.1); background: #fff; color: var(--black); font: 600 0.86rem 'Inter', sans-serif; letter-spacing: 0.05em; text-transform: uppercase; cursor: pointer; }
    .wizard-btn:hover, .wizard-btn:focus-visible { border-color: #0072CE; color: #0072CE; outline: none; }
    .wizard-btn.primary { min-width: 220px; padding: 18px 32px; background: linear-gradient(180deg, #111c2a 0%, #0f1722 100%); border: none; border-radius: 6px; color: #fff; font: 600 0.84rem 'Inter', sans-serif; letter-spacing: 0.05em; text-transform: uppercase; box-shadow: 0 14px 28px rgba(15, 23, 42, 0.14); cursor: pointer; }
    .wizard-btn.primary:hover, .wizard-btn.primary:focus-visible { background: #0072CE; color: #fff; transform: translateY(-2px); box-shadow: 0 18px 32px rgba(0, 114, 206, 0.2); outline: none; }
    .wizard-btn.primary:active { transform: translateY(0); box-shadow: 0 12px 24px rgba(15, 23, 42, 0.16); }
    .form-message { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 8px; font-size: 0.84rem; line-height: 1.55; }
    .form-message.show { display: block; }
    .form-message.error { border: 1px solid #efb7b7; background: #fff7f7; color: #b02a37; }
    .result-panel { display: none; }
    .result-panel.show { display: block; }
    .result-panel { padding: 34px; margin-top: 0; }
    .result-head { display: grid; grid-template-columns: minmax(180px, 220px) minmax(0, 1fr); gap: 24px; margin-bottom: 26px; align-items: start; }
    .result-status-card { padding: 20px 18px; background: linear-gradient(180deg, #f8fafc 0%, #f2f5f8 100%); border: 1px solid rgba(17, 17, 17, 0.06); }
    .status-chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; margin-bottom: 14px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid transparent; }
    .status-chip.type-direct { background: #fff3e8; border-color: #f1cfac; color: #9a5200; }
    .status-chip.type-not-subject { background: #eef8ec; border-color: #cfe5ca; color: #2f6e2a; }
    .status-chip.type-detailed { background: #edf6ff; border-color: #c8dcf2; color: #005f9f; }
    .status-chip.type-special { background: #fff1f1; border-color: #f3c9c9; color: #8f2525; }
    .result-status-card strong { display: block; font-size: 1.28rem; line-height: 1.14; color: var(--black); margin-bottom: 8px; }
    .result-status-card span { display: block; color: #5d6774; line-height: 1.72; font-size: 0.84rem; }
    .result-summary .section-label { margin-bottom: 10px; }
    .result-summary h2 { font-size: 2rem; font-weight: 600; color: var(--black); margin-bottom: 12px; line-height: 1.18; max-width: 22ch; }
    .result-summary p { color: #56616e; line-height: 1.8; font-size: 0.96rem; max-width: 64ch; }
    .result-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 22px; }
    .result-block { padding: 22px; background: #fff; border: 1px solid rgba(17, 17, 17, 0.08); }
    .result-block h3 { font-size: 0.9rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #6d7783; margin-bottom: 14px; }
    .result-list { display: grid; gap: 10px; }
    .result-list div { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #f8fafc; color: #1e2936; line-height: 1.65; font-size: 0.9rem; border-left: 2px solid #c7d7e8; }
    .list-status { width: 8px; height: 8px; border-radius: 999px; background: rgba(0, 114, 206, 0.28); flex-shrink: 0; }
    .result-note { padding: 18px 18px 16px; margin-bottom: 22px; background: linear-gradient(135deg, #0f1722 0%, #182435 100%); color: rgba(255, 255, 255, 0.84); }
    .result-note strong { display: block; margin-bottom: 10px; font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; color: #9fc8f5; }
    .result-note p { font-size: 0.93rem; line-height: 1.8; max-width: 72ch; }
    .result-disclaimer { margin-bottom: 22px; }
    .result-actions { display: flex; gap: 12px; flex-wrap: wrap; }
    .result-actions a, .result-actions button { min-width: 220px; padding: 14px 20px; border: 1px solid rgba(17, 17, 17, 0.12); background: #fff; color: var(--black); text-decoration: none; font: 600 0.84rem 'Inter', sans-serif; letter-spacing: 0.04em; text-transform: uppercase; cursor: pointer; }
    .result-actions a { background: #0072CE; border-color: #0072CE; color: #fff; }
    .result-actions a:hover, .result-actions button:hover, .result-actions a:focus-visible, .result-actions button:focus-visible { transform: translateY(-2px); border-color: #0072CE; outline: none; box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12); }
    .result-followup { margin: 18px 0 8px; font-size: 1.02rem; font-weight: 600; color: #111827; }
    footer { margin-top: 0; }
    @media (max-width: 1024px) {
      .scope-page { padding: 112px 40px 108px; }
      .scope-hero { grid-template-columns: 1fr; padding: 40px; }
      .hero-meta { max-width: none; justify-self: stretch; }
      .selection-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .result-head, .result-grid { grid-template-columns: 1fr; }
    }
    @media (max-width: 900px) {
      .scope-page { padding: 96px 24px 88px; }
      .wizard-top, .wizard-body, .result-panel { padding-left: 22px; padding-right: 22px; }
      .wizard-steps, .selection-grid, .selection-grid.three, .chip-grid, .financial-columns, .group-entity-years, .group-entity-grid { grid-template-columns: 1fr; }
      .data-panel { padding: 22px; }
      .year-card { padding: 18px; }
      .inline-actions { align-items: stretch; }
      .inline-action-buttons { width: 100%; }
      .inline-action-buttons .mini-btn { flex: 1; }
      .wizard-actions { flex-direction: column; align-items: stretch; }
      .wizard-action-group { width: 100%; margin-left: 0; }
      .wizard-action-group .wizard-btn, .wizard-actions > .wizard-btn, .result-actions a, .result-actions button { flex: 1; width: 100%; min-width: 0; }
    }
    @media (max-width: 600px) {
      .scope-hero { padding: 28px 22px; }
      .scope-hero h1 { font-size: 2rem; max-width: 17ch; }
      .wizard-step { gap: 6px; }
      .wizard-step-label { max-width: none; }
      .hero-meta-card strong { font-size: 1.4rem; }
      .card-surface { min-height: 142px; padding: 22px 18px 20px; }
      .result-panel { padding-bottom: 28px; }
    }
