:root {
            --primary: #1e3a8a;
            --primary-light: #3b82f6;
            --accent: #f59e0b;
            --text-main: #0f172a;
            --bg-page: #f8fafc;
            --bg-card: #ffffff;
        }

        * {
            box-sizing: border-box; margin: 0; padding: 0;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
            -webkit-tap-highlight-color: transparent;
        }

        html, body {
            max-width: 100%;
            overflow-x: hidden;
        }

        body {
            background-color: var(--bg-page); color: var(--text-main);
            padding: 30px 15px 40px 15px; display: flex;
            flex-direction: column; align-items: center; justify-content: flex-start;
            min-height: 100vh;
        }

        /* --- 3 BÖLMELİ ANA PLATFORM IZGARASI --- */
        .platform-wrapper {
            display: grid;
            grid-template-columns: minmax(250px, 285px) minmax(0, 1fr) minmax(250px, 285px);
            gap: 20px;
            max-width: min(1320px, calc(100vw - 30px));
            width: 100%;
            align-items: start;
            min-width: 0;
        }

        /* YAN PANELLERİN ORTAK TASARIMI */
        .side-panel {
            background: #ffffff;
            border-radius: 18px;
            padding: 22px;
            border: 1px solid #e2e8f0;
            box-shadow: 0 4px 15px rgba(0,0,0,0.03);
            position: sticky;
            top: 20px;
            min-width: 0;
        }

        .side-panel-header {
            padding-bottom: 14px;
            margin-bottom: 16px;
            border-bottom: 2px dashed #f1f5f9;
            text-align: center;
        }
        .side-panel-header h2 { font-size: 1.14rem; font-weight: 800; letter-spacing: -0.2px; }
        .side-panel-header span { font-size: 0.86rem; color: #475569; font-weight: 700; display: block; margin-top: 4px;}

        /* Yan Panel Zaman Çizgisi (Milestone) Kurgusu */
        .scale-item {
            position: relative;
            padding-left: 18px;
            margin-bottom: 18px;
            border-left: 3px solid #cbd5e1;
            font-size: 0.95rem;
            line-height: 1.6;
        }
        .scale-item:last-child { margin-bottom: 0; }
        
        .scale-item::before {
            content: ''; position: absolute; left: -7px; top: 2px;
            width: 11px; height: 11px; border-radius: 50%; background: #94a3b8;
        }

        .scale-item b { display: block; font-size: 0.99rem; color: #0f172a; font-weight: 800; margin-bottom: 4px;}
        .scale-item p { color: #334155; font-size: 0.92rem; font-weight: 500; }

        /* Kanat Temaları */
        .theme-preschool .side-panel-header h2 { color: #0d9488; }
        .theme-preschool .sc-green::before { background: #10b981; }
        .theme-preschool .sc-blue::before  { background: #0ea5e9; }
        .theme-preschool .sc-purple::before{ background: #8b5cf6; }
        .theme-preschool .sc-orange::before{ background: #f59e0b; }
        .theme-preschool .sc-red::before   { background: #ef4444; }

        .theme-primary .side-panel-header h2 { color: #4338ca; }
        .theme-primary .sc-dark::before   { background: #1e3a8a; }
        .theme-primary .sc-purple::before { background: #8b5cf6; }
        .theme-primary .sc-blue::before   { background: #0ea5e9; }

        /* ORTA MODÜL (ANA UYGULAMA) */
        .app-container { width: 100%; min-width: 0; display: flex; flex-direction: column; gap: 20px; }

        .header-card {
            background: linear-gradient(135deg, var(--primary), #312e81);
            color: white; padding: 14px 20px; border-radius: 18px;
            text-align: center; box-shadow: 0 10px 25px -5px rgba(30,58,138,0.25);
            display: grid;
            grid-template-columns: clamp(72px, 12%, 108px) minmax(0, 1fr) clamp(72px, 12%, 108px);
            align-items: center;
            gap: 12px;
            min-width: 0;
        }
        .header-card::after {
            content: "";
            display: block;
        }
        .header-logo {
            width: 100%;
            max-width: 104px;
            height: clamp(46px, 5.6vw, 68px);
            object-fit: contain;
            object-position: center;
            justify-self: start;
            filter: drop-shadow(0 7px 12px rgba(0,0,0,0.20));
        }
        .header-text {
            min-width: 0;
            text-align: center;
        }
        .header-card h1 { font-size: clamp(1.04rem, 2vw, 1.62rem); font-weight: 800; letter-spacing: -0.3px; margin-bottom: 4px; line-height: 1.14; white-space: nowrap; }
        .header-card p { font-size: clamp(0.82rem, 1.2vw, 0.96rem); color: #e2e8f0; opacity: 0.92; line-height: 1.35; }

        .security-banner {
            background-color: #f0fdf4; border: 1px solid #bbf7d0; color: #155724;
            padding: 14px; border-radius: 12px; font-size: 0.85rem; line-height: 1.5;
            display: flex; gap: 10px; align-items: flex-start; margin-bottom: 18px;
        }
        .security-banner i { font-size: 1.25rem; font-style: normal; line-height: 1; flex-shrink: 0;}

        .card {
            background-color: var(--bg-card); border-radius: 18px; padding: 24px;
            box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); border: 1px solid #cbd5e1;
            min-width: 0;
        }
        .card-title { font-size: 1.1rem; font-weight: 700; color: var(--primary); margin-bottom: 16px; display: flex; align-items: center; gap: 8px;}

        .form-group { margin-bottom: 16px; }
        .form-group label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 6px; color: #334155; }
        
        .form-control {
            width: 100%; padding: 14px; font-size: 1rem; border: 2px solid #cbd5e1;
            border-radius: 12px; background-color: #f8fafc; color: var(--text-main); outline: none;
            transition: all 0.2s ease;
        }
        .form-control:focus { border-color: var(--primary-light); background-color: #fff; box-shadow: 0 0 0 4px rgba(59,130,246,0.15);}

        #birthdate-input { letter-spacing: 2px; font-weight: 600; font-size: 1.1rem; }

        .btn {
            display: inline-flex; align-items: center; justify-content: center;
            width: 100%; padding: 16px 20px; font-size: 1.02rem; font-weight: 700;
            border-radius: 12px; border: none; cursor: pointer; transition: all 0.2s;
            text-decoration: none; gap: 8px; position: relative; overflow: hidden; text-align: center;
        }
        .btn:active { transform: scale(0.98); }
        .btn-primary { background-color: var(--primary-light); color: white; box-shadow: 0 4px 12px rgba(59,130,246,0.3);}
        
        .btn-shine { background-color: #10b981; color: white; box-shadow: 0 4px 12px rgba(16,185,129,0.35); z-index: 1;}
        .btn-shine::after {
            content: ''; position: absolute; top: -50%; left: -60%; width: 20%; height: 200%;
            background: rgba(255, 255, 255, 0.4); transform: rotate(30deg);
            animation: bladeShine 4s infinite ease-in-out;
        }

        @keyframes bladeShine {
            0% { left: -60%; }
            20% { left: 130%; }
            100% { left: 130%; }
        }

        .btn-dark { background-color: #0f172a; color: white; }
        .btn-outline { background: #f8fafc; border: 2px solid #cbd5e1; color: #334155; }
        .btn-outline:hover { background: #f1f5f9; border-color: #94a3b8; }

        #step-results, #step-petition { display: none; animation: fadeIn 0.35s ease forwards; }

        .age-summary {
            padding: 18px 16px; border-radius: 14px; text-align: center;
            font-size: 1.05rem; margin-bottom: 20px; border: 2px solid transparent;
            transition: all 0.4s ease; box-shadow: 0 6px 16px rgba(0,0,0,0.04); line-height: 1.45;
        }
        .age-summary strong { font-size: 1.45rem; font-weight: 800; display: inline-block; margin-top: 2px;}

        .hero-bg-green  { background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%); border-color: #10b981; color: #065f46; }
        .hero-bg-purple { background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%); border-color: #8b5cf6; color: #5b21b6; }
        .hero-bg-blue   { background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%); border-color: #0ea5e9; color: #075985; }
        .hero-bg-orange { background: linear-gradient(135deg, #fff7ed 0%, #fef3c7 100%); border-color: #f59e0b; color: #9a3412; }
        .hero-bg-red    { background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%); border-color: #ef4444; color: #991b1b; }

        .status-box {
            padding: 16px; border-radius: 12px; margin-bottom: 12px;
            display: flex; gap: 12px; align-items: flex-start; line-height: 1.45; font-size: 0.93rem;
        }
        .status-box .icon { font-size: 1.5rem; line-height: 1; flex-shrink: 0;}
        .status-box strong { display: block; font-size: 1.02rem; margin-bottom: 3px; }

        .bg-green { background-color: #ecfdf5; color: #065f46; border-left: 6px solid #10b981; }
        .bg-purple { background-color: #f5f3ff; color: #5b21b6; border-left: 6px solid #8b5cf6; }
        .bg-blue { background-color: #f0f9ff; color: #075985; border-left: 6px solid #0ea5e9; }
        .bg-red { background-color: #fef2f2; color: #991b1b; border-left: 6px solid #ef4444; }

        .advice-card {
            background: #fffbeb; border: 1px solid #fde68a; border-radius: 12px;
            padding: 18px; color: #78350f; font-size: 0.93rem; line-height: 1.6; margin: 16px 0 22px 0;
        }
        .advice-card strong { color: #b45309; display: block; margin-bottom: 6px; font-size: 1rem; }

        .paper-preview-container {
            background: #ffffff; border: 1px solid #cbd5e1; padding: 40px 35px;
            border-radius: 8px; margin: 20px 0; box-shadow: inset 0 0 10px rgba(0,0,0,0.04);
            font-family: "Times New Roman", Times, serif; color: #000;
        }

        .doc-header { text-align: center; font-weight: bold; font-size: 13pt; margin-bottom: 35px; line-height: 1.3; }
        .doc-body p { text-align: justify; text-indent: 1.25cm; line-height: 1.6; font-size: 11.5pt; margin-bottom: 16px; }

        .doc-footer {
            margin-top: 45px; display: flex; justify-content: space-between;
            align-items: flex-start; width: 100%;
        }

        .footer-left { width: 52%; text-align: left; font-size: 10.5pt; line-height: 1.45; color: #000; }
        .footer-left .address-text { word-break: break-word; margin-top: 2px; margin-bottom: 10px; }

        .footer-right {
            width: 42%; display: flex; flex-direction: column;
            align-items: center; text-align: center; font-size: 11pt; line-height: 1.4; color: #000;
        }


        /* Dilekçe önizleme ve baskı düzeni */
        .petition-doc {
            width: 100%;
            font-family: "Times New Roman", Times, serif;
            color: #000;
        }

        .petition-doc .doc-header {
            text-align: center;
            font-weight: bold;
            font-size: 13pt;
            margin: 0 0 28px 0;
            line-height: 1.35;
        }

        .petition-doc .doc-body p {
            text-align: justify;
            text-indent: 1.25cm;
            line-height: 1.7;
            font-size: 12pt;
            margin: 0 0 28px 0;
        }

        .petition-doc .doc-signature-row {
            display: grid;
            grid-template-columns: 1fr 170px;
            align-items: start;
            margin-top: 22px;
            margin-bottom: 42px;
        }

        .petition-doc .footer-right {
            width: auto;
            text-align: center;
            font-size: 11.5pt;
            line-height: 1.45;
            color: #000;
            align-items: center;
        }

        .petition-doc .signature-name {
            font-weight: bold;
            margin-top: 3px;
        }

        .petition-doc .signature-role {
            margin-top: 2px;
        }

        .petition-doc .doc-footer {
            display: block;
            margin-top: 0;
            width: 100%;
        }

        .petition-doc .footer-left {
            width: 100%;
            text-align: left;
            font-size: 11pt;
            line-height: 1.55;
            color: #000;
        }

        .petition-doc .footer-left > div {
            margin-bottom: 6px;
        }

        .action-buttons-group { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

        .site-footer {
            width: 100%;
            max-width: min(1320px, calc(100vw - 30px));
            margin: 22px auto 0 auto;
            text-align: center;
            color: #334155;
            font-size: 0.92rem;
            font-weight: 800;
            letter-spacing: 0.03em;
            opacity: 0.88;
        }


        .quick-reference-card {
            overflow: hidden;
        }

        .reference-note {
            font-size: 0.92rem;
            line-height: 1.55;
            color: #334155;
            margin-bottom: 16px;
        }

        .reference-table-wrap {
            border: 1px solid #cbd5e1;
            border-radius: 16px;
            overflow: hidden;
            background: #ffffff;
            box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5);
            width: 100%;
            max-width: 100%;
        }

        .age-reference-table {
            width: 100%;
            max-width: 100%;
            border-collapse: separate;
            border-spacing: 0;
            table-layout: fixed;
            font-size: clamp(0.62rem, 0.72vw, 0.82rem);
            color: #0f172a;
        }

        .age-reference-table th,
        .age-reference-table td {
            padding: 9px 7px;
            border-right: 1px solid #d7dee8;
            border-bottom: 1px solid #d7dee8;
            vertical-align: middle;
            text-align: center;
            word-break: normal;
            overflow-wrap: anywhere;
            hyphens: auto;
        }

        .age-reference-table th:last-child,
        .age-reference-table td:last-child { border-right: none; }
        .age-reference-table tr:last-child td { border-bottom: none; }

        .age-reference-table thead th {
            background: linear-gradient(135deg, #e2e8f0, #f8fafc);
            color: #0f172a;
            font-size: 0.82rem;
            font-weight: 800;
            letter-spacing: 0.01em;
            line-height: 1.4;
            position: sticky;
            top: 0;
            z-index: 1;
        }

        .age-reference-table .col-year {
            background: #f8fafc;
            font-weight: 800;
            font-size: 0.96em;
            width: 10%;
        }

        .age-reference-table .col-month {
            font-weight: 700;
            width: 18%;
        }

        .age-reference-table .col-age {
            font-weight: 800;
            font-size: 0.96em;
            width: 12%;
        }

        .age-reference-table .col-month,
        .age-reference-table .col-age,
        .age-reference-table .col-year {
            box-shadow: inset -1px 0 0 rgba(255,255,255,0.85), inset 0 -1px 0 rgba(255,255,255,0.9);
        }

        .age-reference-table .status-cell {
            font-weight: 700;
            line-height: 1.48;
        }

        .age-reference-table th:nth-child(1) { width: 10%; }
        .age-reference-table th:nth-child(2) { width: 18%; }
        .age-reference-table th:nth-child(3) { width: 12%; }
        .age-reference-table th:nth-child(4) { width: 28%; }
        .age-reference-table th:nth-child(5) { width: 32%; }

        .age-reference-table .status-green  { background: #52b45e; color: #ffffff; }
        .age-reference-table .status-purple { background: #463c69; color: #ffffff; }
        .age-reference-table .status-blue   { background: #305c95; color: #ffffff; }
        .age-reference-table .status-red    { background: #c62b21; color: #ffffff; }
        .age-reference-table .status-soft-green { background: #61c36d; color: #ffffff; }

        .age-reference-table .month-green  { background: #56b05c; color: #ffffff; }
        .age-reference-table .month-purple { background: #463c69; color: #ffffff; }
        .age-reference-table .month-blue   { background: #315c94; color: #ffffff; }
        .age-reference-table .month-red    { background: #c62b21; color: #ffffff; }

        .age-reference-table .age-green  { background: #56b05c; color: #ffffff; }
        .age-reference-table .age-purple { background: #463c69; color: #ffffff; }
        .age-reference-table .age-blue   { background: #315c94; color: #ffffff; }
        .age-reference-table .age-red    { background: #c62b21; color: #ffffff; }

        .table-caption-note {
            margin-top: 12px;
            font-size: 0.8rem;
            color: #475569;
            line-height: 1.5;
        }

        .mobile-reference-list {
            display: none;
        }

        /* ==========================================================================
           TABLET VE MOBİL "ALT ALTA DİZİLME" STRATEJİSİ
           ========================================================================== */
        @media (max-width: 1180px) {
            .platform-wrapper {
                grid-template-columns: 1fr;
                max-width: min(760px, calc(100vw - 30px));
            }

            .side-panel { position: static; }
        }

        @media (max-width: 1024px) {
            .platform-wrapper {
                grid-template-columns: 1fr; /* 3 sütunu tek sütuna indir */
                max-width: min(720px, calc(100vw - 30px));
            }
            
            /* Mobil Akış Sırası: Önce Asistan, sonra Sol Skala, en son Sağ Skala */
            .app-container { order: 1; }
            .theme-preschool { order: 2; position: static;}
            .theme-primary { order: 3; position: static;}
        }

        @media (max-width: 480px) {
            .action-buttons-group { grid-template-columns: 1fr; }
            .card { padding: 20px; }
        }

        @media (max-width: 768px) {
            .scale-item {
                font-size: 0.92rem;
            }
            .scale-item b {
                font-size: 0.96rem;
            }
            .scale-item p {
                font-size: 0.9rem;
            }
            .age-reference-table {
                font-size: clamp(0.56rem, 1.65vw, 0.74rem);
                min-width: 0;
            }
            .age-reference-table th,
            .age-reference-table td {
                padding: 8px 5px;
            }
            .age-reference-table .status-cell {
                line-height: 1.4;
            }
        }

        @media (max-width: 520px) {
            body {
                padding-left: 10px;
                padding-right: 10px;
            }
            .header-card {
                grid-template-columns: 1fr;
                padding: 18px 16px;
                gap: 10px;
            }
            .header-card::after {
                display: none;
            }
            .header-logo {
                justify-self: center;
                width: min(46vw, 150px);
                max-width: 150px;
                height: 78px;
            }
            .platform-wrapper {
                max-width: calc(100vw - 20px);
            }
            .age-reference-table {
                font-size: clamp(0.5rem, 2.35vw, 0.62rem);
            }
            .age-reference-table th,
            .age-reference-table td {
                padding: 6px 3px;
            }
            .reference-note,
            .table-caption-note {
                font-size: 0.78rem;
            }
        }


        /* ==========================================================================
           TELEFON VE TABLET DİKEY KULLANIM İÇİN ÖZENLİ MOBİL DÜZEN
           ========================================================================== */
        @media (max-width: 900px) {
            body {
                padding: 12px 10px 28px 10px;
                background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
            }

            .platform-wrapper {
                max-width: calc(100vw - 20px) !important;
                gap: 14px;
            }

            .app-container {
                gap: 14px;
            }

            .header-card {
                grid-template-columns: 1fr;
                padding: 18px 16px 20px 16px;
                gap: 10px;
                border-radius: 20px;
                text-align: center;
                box-shadow: 0 14px 28px -12px rgba(30,58,138,0.42);
            }

            .header-card::after {
                display: none;
            }

            .header-logo {
                justify-self: center;
                width: min(58vw, 158px);
                max-width: 158px;
                height: 82px;
                margin-bottom: 2px;
            }

            .header-text {
                text-align: center;
            }

            .header-card h1 {
                white-space: normal;
                font-size: clamp(1.12rem, 5.1vw, 1.46rem);
                line-height: 1.18;
                margin: 0 auto 8px auto;
                max-width: 310px;
            }

            .header-card p {
                font-size: 0.9rem;
                line-height: 1.45;
                max-width: 310px;
                margin: 0 auto;
            }

            .card {
                padding: 18px 16px;
                border-radius: 20px;
                box-shadow: 0 8px 22px rgba(15,23,42,0.055);
            }

            .card-title {
                justify-content: center;
                text-align: center;
                font-size: 1.02rem;
                line-height: 1.3;
                flex-wrap: wrap;
                margin-bottom: 14px;
                gap: 8px;
            }

            .birthdate-title {
                white-space: nowrap !important;
                flex-wrap: nowrap !important;
                font-size: clamp(0.92rem, 4.1vw, 1.04rem) !important;
                letter-spacing: -0.01em;
            }

            .form-group {
                margin-bottom: 12px;
            }

            .form-control {
                text-align: center;
                font-size: 1.05rem;
                padding: 14px 12px;
                border-radius: 14px;
            }

            #birthdate-input {
                letter-spacing: 1.2px;
            }

            .btn {
                min-height: 52px;
                border-radius: 15px;
                font-size: 1rem;
                padding: 14px 16px;
            }

            .reference-note {
                text-align: center;
                font-size: 0.88rem;
                line-height: 1.6;
                margin-bottom: 14px;
            }

            .reference-table-wrap {
                display: block !important;
                overflow: hidden;
                border-radius: 16px;
                margin-top: 6px;
            }

            .age-reference-table {
                display: table !important;
                width: 100%;
                table-layout: fixed;
                font-size: clamp(0.54rem, 1.95vw, 0.68rem);
            }

            .age-reference-table thead,
            .age-reference-table thead tr,
            .age-reference-table thead th {
                display: none !important;
                height: 0 !important;
                visibility: hidden !important;
                overflow: hidden !important;
            }

            .age-reference-table tbody tr:first-child td {
                border-top: none;
            }

            .age-reference-table th,
            .age-reference-table td {
                padding: 7px 4px;
                line-height: 1.28;
            }

            .age-reference-table .col-year {
                width: 8%;
                font-size: 0.88em;
            }

            .age-reference-table .col-month {
                width: 21%;
                font-size: 0.92em;
            }

            .age-reference-table .col-age {
                width: 10%;
                font-size: 0.92em;
            }

            .age-reference-table .status-cell {
                font-size: 0.88em;
                line-height: 1.32;
            }

            .mobile-reference-summary-title {
                display: block !important;
                margin: 14px 0 10px 0;
                text-align: center;
                font-size: 0.95rem;
                font-weight: 800;
                color: #1e3a8a;
            }

            .mobile-reference-list {
                display: grid !important;
                grid-template-columns: 1fr;
                gap: 10px;
                margin-top: 0;
            }

            .mobile-ref-item {
                display: block !important;
                border-radius: 16px;
                padding: 13px 14px;
                text-align: center;
                border: 1px solid rgba(148,163,184,0.35);
                box-shadow: 0 8px 18px rgba(15,23,42,0.055);
                color: #0f172a;
                background: #ffffff;
            }

            .mobile-ref-item .ref-age {
                display: inline-flex !important;
                align-items: center;
                justify-content: center;
                min-width: 88px;
                padding: 5px 11px;
                border-radius: 999px;
                background: rgba(255,255,255,0.82);
                font-weight: 900;
                font-size: 0.9rem;
                margin-bottom: 8px;
                box-shadow: 0 1px 2px rgba(15,23,42,0.05);
            }

            .mobile-ref-item strong {
                display: block;
                font-size: 1rem;
                line-height: 1.28;
                margin-bottom: 5px;
            }

            .mobile-ref-item p {
                font-size: 0.87rem;
                line-height: 1.48;
                color: #334155;
                margin: 0;
            }

            .ref-green { background: linear-gradient(135deg, #ecfdf5, #dcfce7) !important; border-color: #86efac !important; }
            .ref-purple { background: linear-gradient(135deg, #f5f3ff, #ede9fe) !important; border-color: #c4b5fd !important; }
            .ref-blue { background: linear-gradient(135deg, #eff6ff, #e0f2fe) !important; border-color: #93c5fd !important; }
            .ref-red { background: linear-gradient(135deg, #fef2f2, #fee2e2) !important; border-color: #fca5a5 !important; }
            .ref-orange { background: linear-gradient(135deg, #fff7ed, #ffedd5) !important; border-color: #fdba74 !important; }

            .table-caption-note {
                margin-top: 12px;
                text-align: center;
                font-size: 0.8rem;
                line-height: 1.55;
                padding: 12px 12px;
                background: #f8fafc;
                border: 1px solid #e2e8f0;
                border-radius: 14px;
                color: #475569;
            }

            .age-summary {
                padding: 16px 14px;
                font-size: 0.96rem;
                line-height: 1.5;
                border-radius: 18px;
                margin-bottom: 14px;
            }

            .age-summary strong {
                font-size: 1.3rem;
            }

            .status-box {
                flex-direction: column;
                align-items: center;
                text-align: center;
                gap: 8px;
                padding: 15px 14px;
                border-left: 0;
                border-top: 6px solid currentColor;
                border-radius: 16px;
            }

            .status-box .icon {
                font-size: 1.8rem;
            }

            .status-box strong {
                font-size: 1rem;
            }

            .advice-card {
                text-align: center;
                font-size: 0.9rem;
                line-height: 1.55;
                padding: 16px 14px;
                border-radius: 16px;
            }

            .advice-card strong {
                text-align: center;
            }

            .action-buttons-group {
                grid-template-columns: 1fr;
            }

            .security-banner {
                flex-direction: column;
                align-items: center;
                text-align: center;
                border-radius: 16px;
            }

            .paper-preview-container {
                padding: 24px 18px;
                border-radius: 14px;
                overflow: hidden;
            }

            .doc-header {
                font-size: 11.5pt;
                margin-bottom: 24px;
            }

            .doc-body p {
                font-size: 10.5pt;
                line-height: 1.55;
                text-indent: 0;
                text-align: left;
            }

            .doc-footer {
                flex-direction: column;
                gap: 18px;
                margin-top: 28px;
            }

            .footer-left,
            .footer-right {
                width: 100%;
                text-align: center;
                align-items: center;
            }

            .side-panel {
                padding: 18px 16px;
                border-radius: 20px;
            }

            .side-panel-header {
                margin-bottom: 16px;
            }

            .side-panel-header h2,
            .side-panel-header span {
                text-align: center;
            }

            .scale-item {
                padding: 16px 10px 0 10px;
                margin-bottom: 18px;
                border-left: none;
                border-top: 3px solid #cbd5e1;
                text-align: center;
            }

            .scale-item::before {
                left: 50%;
                top: -8px;
                transform: translateX(-50%);
            }

            .scale-item b,
            .scale-item p {
                text-align: center;
            }

            .scale-item p {
                font-size: 0.9rem;
                line-height: 1.55;
            }

            .site-footer {
                margin-top: 18px;
                font-size: 0.86rem;
            }
        }

        @media (max-width: 420px) {
            .birthdate-title {
                font-size: 0.88rem !important;
            }

            .card-title {
                font-size: 0.98rem;
            }

            .mobile-ref-item {
                padding: 12px 12px;
            }

            .mobile-ref-item strong {
                font-size: 0.95rem;
            }

            .mobile-ref-item p {
                font-size: 0.84rem;
            }
        }

        /* ==========================================================================
           DONANIMSAL YAZICI KİLİTLERİ (@page & @media print)
           ========================================================================== */
        @page { size: A4 portrait; margin: 0mm; }
        #print-only-area { display: none; }


        @media print {
            @page { size: A4 portrait; margin: 0; }

            body {
                background: white !important;
                margin: 0 !important;
                padding: 0 !important;
            }

            .platform-wrapper,
            .site-footer {
                display: none !important;
            }

            #print-only-area {
                display: block !important;
                width: 210mm !important;
                min-height: 297mm !important;
                height: auto !important;
                padding: 28mm 24mm 24mm 24mm !important;
                font-family: "Times New Roman", Times, serif !important;
                color: #000 !important;
                box-sizing: border-box !important;
            }

            #print-only-area .petition-doc {
                width: 100% !important;
            }

            #print-only-area .doc-header {
                font-size: 13pt !important;
                margin: 0 0 28px 0 !important;
                text-align: center !important;
                font-weight: bold !important;
                line-height: 1.35 !important;
            }

            #print-only-area .doc-body p {
                font-size: 12pt !important;
                line-height: 1.7 !important;
                text-indent: 1.25cm !important;
                margin: 0 0 28px 0 !important;
                text-align: justify !important;
            }

            #print-only-area .doc-signature-row {
                display: grid !important;
                grid-template-columns: 1fr 170px !important;
                margin-top: 24px !important;
                margin-bottom: 42px !important;
            }

            #print-only-area .footer-right {
                width: auto !important;
                font-size: 11.5pt !important;
                display: flex !important;
                flex-direction: column !important;
                align-items: center !important;
                text-align: center !important;
            }

            #print-only-area .doc-footer {
                margin-top: 0 !important;
                display: block !important;
                width: 100% !important;
            }

            #print-only-area .footer-left {
                width: 100% !important;
                font-size: 11pt !important;
                text-align: left !important;
                line-height: 1.55 !important;
            }
        }



        /* V11 Dilekçe alt bilgi hizalama düzeltmesi */
        .petition-doc .doc-signature-row { display: none !important; }

        .petition-doc .doc-footer {
            display: grid !important;
            grid-template-columns: minmax(0, 1fr) 180px !important;
            align-items: start !important;
            gap: 24px !important;
            margin-top: 36px !important;
            width: 100% !important;
        }

        .petition-doc .footer-left {
            width: 100% !important;
            text-align: left !important;
            font-size: 11pt !important;
            line-height: 1.55 !important;
            color: #000 !important;
        }

        .petition-doc .footer-left > div { margin-bottom: 7px !important; }

        .petition-doc .footer-right {
            width: 180px !important;
            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
            text-align: center !important;
            font-size: 11.5pt !important;
            line-height: 1.45 !important;
            color: #000 !important;
        }

        .petition-doc .signature-name {
            font-weight: bold !important;
            margin-top: 3px !important;
        }

        .petition-doc .signature-role { margin-top: 2px !important; }

        @media print {
            #print-only-area .petition-doc .doc-signature-row { display: none !important; }

            #print-only-area .petition-doc .doc-footer {
                display: grid !important;
                grid-template-columns: minmax(0, 1fr) 180px !important;
                align-items: start !important;
                gap: 24px !important;
                margin-top: 36px !important;
                width: 100% !important;
            }

            #print-only-area .petition-doc .footer-left {
                width: 100% !important;
                text-align: left !important;
                font-size: 11pt !important;
                line-height: 1.55 !important;
            }

            #print-only-area .petition-doc .footer-right {
                width: 180px !important;
                display: flex !important;
                flex-direction: column !important;
                align-items: center !important;
                text-align: center !important;
                font-size: 11.5pt !important;
                line-height: 1.45 !important;
            }
        }
