/* =========================================================
   TOKU – Karbon Ayak İzi Sihirbazı (GHG Wizard)
   wwwroot/css/Toku/ghg-wizard.css
   ========================================================= */

/* --- Bölüm Wrapper (Index.cshtml'deki section) --- */
.toku-ghg-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f0f4fa 100%);
    border-top: 1px solid #e2e8f0;
}
.toku-ghg-section .section-label {
    display: inline-block;
    background: linear-gradient(135deg, #1E3A8A, #0a1628);
    color: #fff;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 16px;
}
.toku-ghg-section .section-header {
    text-align: center;
    margin-bottom: 48px;
}
.toku-ghg-section .section-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: #0a1628;
    margin-bottom: 12px;
}
.toku-ghg-section .section-header p {
    color: #64748b;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Wizard Kapsayıcı --- */
:root {
    --tw-ink: #0A1628;
    --tw-navy: #142952;
    --tw-navy-2: #1E3A8A;
    --tw-navy-soft: #2E4FBF;
    --tw-gold: #C9A961;
    --tw-gold-bright: #E8C76E;
    --tw-gold-soft: #F4E5B8;
    --tw-bg: #FDFCF8;
    --tw-surface: #FFFFFF;
    --tw-surface-2: #F5F2EA;
    --tw-surface-alt: #F0F4FA;
    --tw-surface-data: #F8FAFC;
    --tw-border: #E8E2D3;
    --tw-border-strong: #D4CBB3;
    --tw-muted: #5A6678;
    --tw-muted-2: #9CA3AF;
    --tw-danger: #B91C1C;
    --tw-danger-bg: #FEE2E2;
    --tw-warning: #B45309;
    --tw-warning-bg: #FEF3C7;
    --tw-success: #047857;
    --tw-success-bg: #D1FAE5;
    --tw-info: #1E40AF;
    --tw-info-bg: #DBEAFE;
    --tw-scope1: #DC2626;
    --tw-scope1-bg: #FEF2F2;
    --tw-scope2: #D97706;
    --tw-scope2-bg: #FFFBEB;
    --tw-scope3: #059669;
    --tw-scope3-bg: #ECFDF5;
    --tw-shadow-sm: 0 1px 2px rgba(10,22,40,.04);
    --tw-shadow: 0 8px 24px rgba(10,22,40,.08);
    --tw-shadow-lg: 0 20px 50px rgba(10,22,40,.12);
    --tw-shadow-xl: 0 30px 70px rgba(10,22,40,.2);
    --tw-radius-sm: 8px;
    --tw-radius: 14px;
    --tw-radius-lg: 20px;
}

.toku-wizard {
    max-width: 920px;
    margin: 0 auto;
    background: var(--tw-surface);
    border-radius: var(--tw-radius-lg);
    box-shadow: var(--tw-shadow-lg);
    overflow: hidden;
    border: 1px solid var(--tw-border);
}

/* HEADER */
.tw-header {
    background: linear-gradient(135deg, var(--tw-ink) 0%, var(--tw-navy) 60%, var(--tw-navy-2) 100%);
    color: #fff;
    padding: 32px 44px 34px;
    position: relative;
    overflow: hidden;
}
.tw-header::before {
    content: '';
    position: absolute;
    top: -60%; right: -10%;
    width: 520px; height: 520px;
    background: radial-gradient(circle, rgba(232,199,110,.18) 0%, transparent 70%);
    pointer-events: none;
}
.tw-header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--tw-gold) 30%, var(--tw-gold-bright) 50%, var(--tw-gold) 70%, transparent 100%);
}
.tw-module-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 11px;
    background: rgba(232,199,110,.15);
    border: 1px solid rgba(232,199,110,.3);
    color: var(--tw-gold-bright);
    border-radius: 20px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
    position: relative;
}
.tw-module-tag::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--tw-gold-bright);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--tw-gold-bright);
}
.tw-title {
    font-size: clamp(24px, 3vw, 30px);
    font-weight: 800;
    letter-spacing: -0.6px;
    line-height: 1.2;
    margin-bottom: 10px;
    position: relative;
    color: #fff;
}
.tw-title em { font-style: normal; color: var(--tw-gold-bright); }
.tw-subtitle {
    font-size: 14.5px;
    opacity: .85;
    line-height: 1.55;
    max-width: 640px;
    position: relative;
}

/* PROGRESS */
.tw-progress {
    padding: 18px 44px 0;
    background: var(--tw-surface);
    border-bottom: 1px solid var(--tw-border);
}
.tw-progress-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--tw-muted);
    margin-bottom: 8px;
    letter-spacing: .4px;
}
.tw-progress-head strong { color: var(--tw-ink); font-weight: 700; }
.tw-progress-track {
    height: 5px;
    background: var(--tw-surface-2);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 14px;
}
.tw-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--tw-navy-2) 0%, var(--tw-gold) 100%);
    border-radius: 3px;
    transition: width .5s cubic-bezier(.65,0,.35,1);
}
.tw-sections {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 18px;
}
.tw-section-chip {
    padding: 7px 8px;
    text-align: center;
    border-radius: 7px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--tw-muted);
    background: var(--tw-surface-2);
    border: 1px solid transparent;
    transition: all .3s;
}
.tw-section-chip.active { background: var(--tw-ink); color: #fff; border-color: var(--tw-ink); }
.tw-section-chip.done { background: var(--tw-surface-alt); color: var(--tw-navy-2); border-color: var(--tw-navy-2); }
.tw-section-chip.done::before { content: '✓ '; color: var(--tw-success); }

/* BODY & SCREENS */
.tw-body { padding: 36px 44px 40px; }
.tw-screen { display: none; animation: tw-fade .5s cubic-bezier(.16,1,.3,1); }
.tw-screen.active { display: block; }
@keyframes tw-fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* WELCOME */
.tw-welcome { text-align: center; padding: 20px 0 0; }
.tw-welcome-hero {
    font-size: clamp(26px, 3.4vw, 36px);
    font-weight: 800;
    letter-spacing: -0.8px;
    line-height: 1.15;
    color: var(--tw-ink);
    margin-bottom: 16px;
}
.tw-welcome-hero em {
    font-style: normal;
    background: linear-gradient(135deg, var(--tw-navy-2) 0%, var(--tw-gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.tw-welcome-lead {
    font-size: 16px;
    color: var(--tw-muted);
    line-height: 1.6;
    max-width: 580px;
    margin: 0 auto 32px;
}
.tw-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
    max-width: 720px;
    margin: 0 auto 36px;
    text-align: left;
}
.tw-benefit {
    padding: 16px 18px;
    background: var(--tw-surface-2);
    border: 1px solid var(--tw-border);
    border-radius: 12px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.tw-benefit-num {
    width: 30px; height: 30px;
    background: linear-gradient(135deg, var(--tw-navy-2) 0%, var(--tw-gold) 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}
.tw-benefit h5 { font-size: 14px; font-weight: 700; color: var(--tw-ink); margin-bottom: 4px; letter-spacing: -0.1px; }
.tw-benefit p { font-size: 12.5px; color: var(--tw-muted); line-height: 1.5; margin: 0; }
.tw-welcome-meta {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 28px;
    font-size: 12.5px;
    color: var(--tw-muted);
    flex-wrap: wrap;
}
.tw-welcome-meta span { display: inline-flex; align-items: center; gap: 6px; }
.tw-welcome-meta span::before { content: ''; width: 8px; height: 8px; background: var(--tw-gold); border-radius: 50%; }
.tw-welcome-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* INFO CARD */
.tw-info-screen { padding: 8px 0 0; }
.tw-info-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    background: var(--tw-surface-alt);
    color: var(--tw-navy-2);
    border-radius: 20px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.tw-info-tag::before { content: ''; width: 14px; height: 14px; background: var(--tw-navy-2); border-radius: 50%; }
.tw-info-title { font-size: clamp(22px, 2.8vw, 28px); font-weight: 800; letter-spacing: -0.6px; line-height: 1.2; color: var(--tw-ink); margin-bottom: 16px; }
.tw-info-lead { font-size: 15.5px; color: var(--tw-muted); line-height: 1.65; margin-bottom: 28px; max-width: 700px; }
.tw-info-block { background: var(--tw-surface-2); border-left: 4px solid var(--tw-gold); border-radius: 10px; padding: 20px 24px; margin-bottom: 18px; }
.tw-info-block h4 { font-size: 16px; font-weight: 700; color: var(--tw-ink); margin-bottom: 8px; letter-spacing: -0.1px; }
.tw-info-block p { font-size: 14px; color: var(--tw-ink); line-height: 1.65; margin-bottom: 8px; }
.tw-info-block p:last-child { margin-bottom: 0; }
.tw-info-block strong { color: var(--tw-navy); }
.tw-info-block em { font-style: normal; background: var(--tw-surface); padding: 1px 7px; border-radius: 4px; font-size: 12.5px; color: var(--tw-navy-2); font-weight: 600; }
.tw-info-block ul { list-style: none; padding: 0; margin: 8px 0 0 0; }
.tw-info-block li { font-size: 13.5px; color: var(--tw-ink); padding: 4px 0 4px 18px; position: relative; line-height: 1.5; }
.tw-info-block li::before { content: '→'; position: absolute; left: 0; color: var(--tw-navy-2); font-weight: 700; }
.tw-info-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-bottom: 18px; }
.tw-info-col { background: var(--tw-surface); border: 1px solid var(--tw-border); border-radius: 10px; padding: 18px 20px; }
.tw-info-col h5 { font-size: 14.5px; font-weight: 700; color: var(--tw-ink); margin-bottom: 6px; letter-spacing: -0.1px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tw-info-col h5 .badge { padding: 2px 8px; border-radius: 4px; font-size: 10px; font-weight: 700; letter-spacing: .5px; }
.tw-info-col.c1 h5 .badge { background: var(--tw-scope1-bg); color: var(--tw-scope1); }
.tw-info-col.c2 h5 .badge { background: var(--tw-scope2-bg); color: var(--tw-scope2); }
.tw-info-col.c3 h5 .badge { background: var(--tw-scope3-bg); color: var(--tw-scope3); }
.tw-info-col p { font-size: 13px; color: var(--tw-muted); line-height: 1.55; margin-bottom: 10px; }
.tw-info-col ul { list-style: none; padding: 0; margin: 0; }
.tw-info-col li { font-size: 12.5px; color: var(--tw-ink); padding: 4px 0 4px 18px; position: relative; line-height: 1.5; }
.tw-info-col li::before { content: '→'; position: absolute; left: 0; color: var(--tw-navy-2); font-weight: 700; }
.tw-info-analogy { background: linear-gradient(135deg, var(--tw-gold-soft) 0%, #FFF9E8 100%); border: 1px solid var(--tw-gold); border-radius: 10px; padding: 16px 20px 16px; margin-bottom: 18px; position: relative; }
.tw-info-analogy::before { content: 'Örnek'; position: absolute; top: -10px; left: 16px; background: var(--tw-gold); color: var(--tw-ink); padding: 3px 10px; border-radius: 4px; font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.tw-info-analogy p { font-size: 13.5px; color: var(--tw-ink); line-height: 1.65; margin: 6px 0 0 0; }
.tw-info-analogy strong { color: var(--tw-navy); }

/* QUESTION */
.tw-q-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.tw-q-number { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; color: var(--tw-navy-2); text-transform: uppercase; }
.tw-q-number::before { content: ''; width: 20px; height: 1px; background: var(--tw-gold); }
.tw-q-section-tag { padding: 3px 9px; background: var(--tw-surface-alt); color: var(--tw-navy-2); border-radius: 20px; font-size: 10.5px; font-weight: 600; letter-spacing: .3px; text-transform: uppercase; }
.tw-q-title { font-size: clamp(20px, 2.4vw, 24px); font-weight: 700; letter-spacing: -0.3px; line-height: 1.25; margin-bottom: 10px; color: var(--tw-ink); }
.tw-q-desc { font-size: 14.5px; color: var(--tw-muted); line-height: 1.6; margin-bottom: 20px; max-width: 700px; }
.tw-q-desc strong { color: var(--tw-navy); }
.tw-q-desc em { font-style: normal; background: var(--tw-surface-alt); padding: 1px 6px; border-radius: 3px; font-size: 12.5px; color: var(--tw-navy-2); font-weight: 600; }
.tw-q-help { margin-bottom: 22px; padding: 12px 18px 12px 16px; background: var(--tw-surface-alt); border-left: 3px solid var(--tw-navy-2); border-radius: 6px; font-size: 13px; color: var(--tw-navy); line-height: 1.55; }
.tw-q-help strong { color: var(--tw-navy-2); }
.tw-q-help em { font-style: normal; background: var(--tw-surface); padding: 1px 6px; border-radius: 3px; font-size: 12px; color: var(--tw-navy-2); font-weight: 600; }
.tw-q-help .title { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: 1px; color: var(--tw-navy-2); text-transform: uppercase; margin-bottom: 4px; }

/* OPTIONS */
.tw-opts { display: grid; gap: 10px; }
.tw-opts.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.tw-opt { display: flex; align-items: flex-start; gap: 14px; padding: 14px 18px; background: var(--tw-surface); border: 1.5px solid var(--tw-border); border-radius: var(--tw-radius); cursor: pointer; transition: all .2s cubic-bezier(.4,0,.2,1); font-size: 14px; font-weight: 500; position: relative; text-align: left; width: 100%; color: var(--tw-ink); }
.tw-opt:hover { border-color: var(--tw-navy-soft); background: var(--tw-surface-alt); transform: translateX(3px); }
.tw-opt.selected { border-color: var(--tw-navy-2); background: linear-gradient(135deg, rgba(30,58,138,.05) 0%, rgba(201,169,97,.05) 100%); box-shadow: var(--tw-shadow-sm); }
.tw-opt.selected::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--tw-navy-2), var(--tw-gold)); border-radius: var(--tw-radius) 0 0 var(--tw-radius); }
.tw-opt.dontknow { background: var(--tw-surface-2); border-style: dashed; }
.tw-opt.dontknow .tw-opt-label { color: var(--tw-muted); font-style: italic; }
.tw-opt-check { width: 22px; height: 22px; border: 2px solid var(--tw-border-strong); border-radius: 6px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--tw-surface); transition: all .15s; margin-top: 1px; }
.tw-opts[data-type="single"] .tw-opt-check { border-radius: 50%; }
.tw-opt.selected .tw-opt-check { background: var(--tw-navy-2); border-color: var(--tw-navy-2); }
.tw-opt.selected .tw-opt-check::after { content: ''; width: 10px; height: 10px; background: var(--tw-surface); border-radius: 2px; }
.tw-opts[data-type="single"] .tw-opt.selected .tw-opt-check::after { border-radius: 50%; width: 8px; height: 8px; }
.tw-opt-text { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.tw-opt-label { color: var(--tw-ink); font-weight: 600; font-size: 14.5px; }
.tw-opt-hint { font-size: 13px; color: var(--tw-muted); line-height: 1.5; font-weight: 400; }
.tw-opt.selected .tw-opt-label { color: var(--tw-navy); }

/* NAV */
.tw-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--tw-border); }
.tw-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 28px; font-size: 14px; font-weight: 600; letter-spacing: .2px; border: none; border-radius: var(--tw-radius); cursor: pointer; transition: all .2s cubic-bezier(.4,0,.2,1); white-space: nowrap; }
.tw-btn-primary { background: var(--tw-ink); color: #fff; box-shadow: 0 4px 12px rgba(10,22,40,.2); }
.tw-btn-primary:hover:not(:disabled) { background: var(--tw-navy); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(10,22,40,.28); }
.tw-btn-primary:disabled { opacity: .4; cursor: not-allowed; }
.tw-btn-secondary { background: transparent; color: var(--tw-muted); border: 1.5px solid var(--tw-border-strong); }
.tw-btn-secondary:hover:not(:disabled) { color: var(--tw-ink); border-color: var(--tw-ink); background: var(--tw-surface-2); }
.tw-btn-secondary:disabled { opacity: .3; cursor: not-allowed; }
.tw-btn-big { padding: 16px 36px; font-size: 15px; background: linear-gradient(135deg, var(--tw-navy-2) 0%, var(--tw-ink) 100%); color: #fff; box-shadow: 0 6px 20px rgba(30,58,138,.3); }
.tw-btn-big:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(30,58,138,.4); }

/* RESULTS */
.tw-results { display: none; }
.tw-results.active { display: block; animation: tw-fade .6s cubic-bezier(.16,1,.3,1); }
.tw-result-hero { background: linear-gradient(135deg, var(--tw-ink) 0%, var(--tw-navy) 100%); color: #fff; padding: 32px 36px; border-radius: var(--tw-radius-lg); margin-bottom: 32px; position: relative; overflow: hidden; }
.tw-result-hero::before { content: ''; position: absolute; top: -50%; right: -10%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(232,199,110,.2) 0%, transparent 70%); pointer-events: none; }
.tw-result-label { font-size: 11px; letter-spacing: 2px; color: var(--tw-gold-bright); text-transform: uppercase; margin-bottom: 10px; font-weight: 600; position: relative; }
.tw-result-name { font-size: clamp(22px, 2.8vw, 28px); font-weight: 800; letter-spacing: -0.5px; line-height: 1.2; margin-bottom: 14px; position: relative; }
.tw-result-summary { font-size: 15px; opacity: .9; line-height: 1.65; max-width: 640px; position: relative; margin-bottom: 24px; }
.tw-result-summary strong { color: var(--tw-gold-bright); font-weight: 700; }
.tw-level-display { display: flex; align-items: center; gap: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); position: relative; flex-wrap: wrap; }
.tw-level-num { font-size: 52px; font-weight: 800; letter-spacing: -2px; line-height: 1; color: var(--tw-gold-bright); }
.tw-level-info { flex: 1; min-width: 200px; }
.tw-level-info .label { font-size: 10.5px; color: var(--tw-gold-bright); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 4px; }
.tw-level-info .name { font-size: 18px; font-weight: 700; margin-bottom: 2px; }
.tw-level-bars { display: grid; grid-template-columns: repeat(6, 1fr); gap: 3px; margin-top: 10px; max-width: 240px; }
.tw-level-bar { height: 6px; background: rgba(255,255,255,.15); border-radius: 2px; }
.tw-level-bar.on { background: linear-gradient(90deg, var(--tw-gold), var(--tw-gold-bright)); box-shadow: 0 0 8px rgba(232,199,110,.4); }

/* SECTION */
.tw-section { margin-bottom: 36px; }
.tw-section-h { display: flex; align-items: baseline; gap: 14px; margin-bottom: 6px; }
.tw-section-h .num { font-size: 13px; color: var(--tw-gold); font-weight: 700; letter-spacing: .5px; }
.tw-section-h h3 { font-size: 22px; font-weight: 700; color: var(--tw-ink); letter-spacing: -0.4px; }
.tw-section-sub { font-size: 14px; color: var(--tw-muted); margin-bottom: 18px; padding-left: 34px; }

/* CARD */
.tw-card { background: var(--tw-surface); border: 1px solid var(--tw-border); border-radius: var(--tw-radius); padding: 22px 26px; margin-bottom: 12px; }
.tw-card h4 { font-size: 16px; font-weight: 700; color: var(--tw-ink); margin-bottom: 8px; letter-spacing: -0.2px; }
.tw-card p { font-size: 14px; color: var(--tw-ink); line-height: 1.6; }
.tw-card strong { color: var(--tw-navy); }
.tw-card em { font-style: normal; background: var(--tw-surface-alt); padding: 1px 7px; border-radius: 4px; font-size: 12.5px; color: var(--tw-navy-2); font-weight: 600; }
.tw-card.warning { background: var(--tw-warning-bg); border-color: #FDE68A; border-left: 4px solid var(--tw-warning); }
.tw-card.warning h4 { color: var(--tw-warning); }
.tw-card.danger { background: var(--tw-danger-bg); border-color: #FCA5A5; border-left: 4px solid var(--tw-danger); }
.tw-card.danger h4 { color: var(--tw-danger); }
.tw-card.success { background: var(--tw-success-bg); border-color: #86EFAC; border-left: 4px solid var(--tw-success); }
.tw-card.success h4 { color: var(--tw-success); }

/* TIMELINE */
.tw-timeline { position: relative; padding-left: 40px; }
.tw-timeline::before { content: ''; position: absolute; left: 12px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--tw-scope1) 0%, var(--tw-scope2) 30%, var(--tw-scope3) 60%, var(--tw-gold) 100%); }
.tw-tl-step { position: relative; padding-bottom: 24px; }
.tw-tl-step:last-child { padding-bottom: 0; }
.tw-tl-step::before { content: ''; position: absolute; left: -32px; top: 4px; width: 16px; height: 16px; background: var(--tw-surface); border: 3px solid var(--tw-navy-2); border-radius: 50%; box-shadow: 0 0 0 4px var(--tw-surface); }
.tw-tl-step.s1::before { border-color: var(--tw-scope1); }
.tw-tl-step.s2::before { border-color: var(--tw-scope2); }
.tw-tl-step.s3::before { border-color: var(--tw-scope3); }
.tw-tl-step.s4::before { border-color: var(--tw-navy-2); }
.tw-tl-step.s5::before { border-color: var(--tw-gold); }
.tw-tl-when { font-size: 11px; font-weight: 700; letter-spacing: 1px; color: var(--tw-navy-2); text-transform: uppercase; margin-bottom: 4px; }
.tw-tl-title { font-weight: 700; font-size: 16px; color: var(--tw-ink); margin-bottom: 8px; }
.tw-tl-desc { font-size: 13.5px; color: var(--tw-muted); line-height: 1.6; margin-bottom: 10px; }
.tw-tl-desc strong { color: var(--tw-navy); }
.tw-tl-desc em { font-style: normal; background: var(--tw-surface-alt); padding: 1px 6px; border-radius: 3px; font-size: 12px; color: var(--tw-navy-2); font-weight: 600; }
.tw-tl-tasks { display: flex; flex-wrap: wrap; gap: 6px; }
.tw-tl-task { padding: 4px 10px; background: var(--tw-surface-alt); border-radius: 6px; font-size: 12px; color: var(--tw-navy); font-weight: 500; }

/* SUMMARY */
.tw-summary { background: var(--tw-surface-2); border: 1px solid var(--tw-border); border-radius: var(--tw-radius); padding: 22px 26px; margin-bottom: 32px; }
.tw-summary-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }
.tw-summary-item { display: flex; flex-direction: column; gap: 4px; }
.tw-summary-label { font-size: 10.5px; font-weight: 600; letter-spacing: 1px; color: var(--tw-muted); text-transform: uppercase; }
.tw-summary-value { font-size: 15px; font-weight: 700; color: var(--tw-ink); letter-spacing: -0.2px; line-height: 1.3; }

/* GLOSSARY */
.tw-glossary-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
.tw-term { background: var(--tw-surface); border: 1px solid var(--tw-border); border-radius: 10px; padding: 14px 18px; }
.tw-term-name { font-size: 14px; font-weight: 700; color: var(--tw-navy-2); margin-bottom: 4px; }
.tw-term-name code { font-size: 11px; color: var(--tw-muted); font-weight: 500; margin-left: 6px; }
.tw-term-def { font-size: 13px; color: var(--tw-ink); line-height: 1.55; }
.tw-term-def strong { color: var(--tw-navy); }

/* SUPPORTS */
.tw-supports { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
.tw-support { padding: 16px 20px; background: linear-gradient(135deg, var(--tw-surface) 0%, var(--tw-surface-2) 100%); border: 1px solid var(--tw-border-strong); border-left: 4px solid var(--tw-gold); border-radius: 10px; }
.tw-support h5 { font-size: 15px; font-weight: 700; color: var(--tw-ink); margin-bottom: 4px; letter-spacing: -0.1px; }
.tw-support .amt { font-size: 12px; color: var(--tw-navy-2); font-weight: 700; margin-bottom: 8px; display: block; }
.tw-support p { font-size: 12.5px; color: var(--tw-muted); line-height: 1.5; margin: 0; }

/* ACTIONS */
.tw-actions-wrap { background: linear-gradient(135deg, var(--tw-ink) 0%, var(--tw-navy) 100%); color: #fff; padding: 30px 36px; border-radius: var(--tw-radius-lg); margin-top: 36px; position: relative; overflow: hidden; }
.tw-actions-wrap::before { content: ''; position: absolute; top: -50%; right: -10%; width: 360px; height: 360px; background: radial-gradient(circle, rgba(232,199,110,.15) 0%, transparent 70%); pointer-events: none; }
.tw-actions-head { position: relative; margin-bottom: 22px; }
.tw-actions-label { font-size: 11px; letter-spacing: 2px; color: var(--tw-gold-bright); text-transform: uppercase; margin-bottom: 8px; font-weight: 600; }
.tw-actions-title { font-size: 22px; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.3px; }
.tw-actions-desc { font-size: 14px; opacity: .85; line-height: 1.55; max-width: 540px; }
.tw-actions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; position: relative; }
.tw-action-btn { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15); border-radius: var(--tw-radius); color: #fff; font-size: 14px; text-align: left; cursor: pointer; transition: all .2s; }
.tw-action-btn:hover { background: rgba(255,255,255,.1); border-color: var(--tw-gold-bright); transform: translateY(-2px); }
.tw-action-btn.primary { background: linear-gradient(135deg, var(--tw-gold) 0%, var(--tw-gold-bright) 100%); color: var(--tw-ink); border-color: var(--tw-gold-bright); }
.tw-action-btn.primary:hover { box-shadow: 0 8px 20px rgba(232,199,110,.4); }
.tw-action-btn-title { font-weight: 700; font-size: 14px; letter-spacing: -0.1px; }
.tw-action-btn-sub { font-size: 11.5px; opacity: .8; letter-spacing: .3px; }
.tw-action-btn.primary .tw-action-btn-sub { opacity: .7; }
.tw-footer-actions { display: flex; gap: 14px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.tw-link { background: none; border: none; color: var(--tw-muted); font-size: 13px; cursor: pointer; text-decoration: underline; padding: 6px 12px; border-radius: 4px; }
.tw-link:hover { color: var(--tw-navy-2); }

/* MODAL */
.tw-modal-overlay { display: none; position: fixed; inset: 0; background: rgba(10,22,40,.6); backdrop-filter: blur(4px); z-index: 9999; align-items: flex-start; justify-content: center; padding: 40px 20px; overflow-y: auto; }
.tw-modal-overlay.active { display: flex; }
.tw-modal { background: var(--tw-surface); border-radius: var(--tw-radius-lg); max-width: 520px; width: 100%; padding: 32px 36px; box-shadow: var(--tw-shadow-xl); animation: tw-modal-in .3s cubic-bezier(.16,1,.3,1); position: relative; margin-bottom: 40px; }
@keyframes tw-modal-in { from { opacity: 0; transform: translateY(20px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.tw-modal-close { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border: none; background: var(--tw-surface-2); border-radius: 50%; cursor: pointer; font-size: 18px; color: var(--tw-muted); display: flex; align-items: center; justify-content: center; transition: all .2s; }
.tw-modal-close:hover { background: var(--tw-ink); color: #fff; }
.tw-modal-label { font-size: 11px; letter-spacing: 2px; color: var(--tw-gold); text-transform: uppercase; margin-bottom: 6px; font-weight: 700; }
.tw-modal h3 { font-size: 22px; font-weight: 700; color: var(--tw-ink); margin-bottom: 8px; letter-spacing: -0.3px; }
.tw-modal p { font-size: 14px; color: var(--tw-muted); line-height: 1.55; margin-bottom: 22px; }
.tw-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.tw-field label { font-size: 12.5px; font-weight: 600; color: var(--tw-ink); letter-spacing: .2px; }
.tw-field label .req { color: var(--tw-danger); font-weight: 700; }
.tw-field input, .tw-field select, .tw-field textarea { padding: 11px 14px; border: 1.5px solid var(--tw-border-strong); border-radius: 8px; font-size: 14px; color: var(--tw-ink); background: var(--tw-surface); transition: all .15s; width: 100%; }
.tw-field input:focus, .tw-field select:focus, .tw-field textarea:focus { outline: none; border-color: var(--tw-navy-2); box-shadow: 0 0 0 3px rgba(30,58,138,.1); }
.tw-field textarea { min-height: 80px; resize: vertical; }
.tw-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tw-modal-actions { display: flex; gap: 10px; margin-top: 18px; justify-content: flex-end; }
.tw-modal-success { text-align: center; padding: 20px 0; }
.tw-modal-success .ico { width: 56px; height: 56px; background: var(--tw-success-bg); color: var(--tw-success); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 700; margin: 0 auto 14px; }
.tw-modal-success h3 { color: var(--tw-success); }

/* MOBILE */
@media (max-width: 720px) {
    .tw-header { padding: 28px 24px; }
    .tw-progress { padding: 16px 24px 0; }
    .tw-body { padding: 28px 24px 32px; }
    .tw-nav { flex-direction: column-reverse; }
    .tw-btn { width: 100%; }
    .tw-sections { grid-template-columns: 1fr; gap: 4px; }
    .tw-welcome-meta { flex-direction: column; gap: 8px; }
    .tw-result-hero { padding: 24px; }
    .tw-level-num { font-size: 40px; }
    .tw-actions-wrap { padding: 24px; }
    .tw-actions-grid { grid-template-columns: 1fr; }
    .tw-field-row { grid-template-columns: 1fr; }
    .tw-modal { padding: 24px 22px; }
    .tw-summary-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .tw-info-cols { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
    .tw-summary-grid { grid-template-columns: 1fr; }
}
