:root{
    --primary: #2A7F6E;      /* OECD/PISA зелено-синьо */
    --secondary: #4A9E8C;
    --accent: #F4A261;        /* Акцент - топъл цвят */
    --bg: #F8FAFC;
    --text: #1E293B;
    --muted: #475569;
    --border: #CBD5E1;
    --shadow: 0 10px 30px rgba(0,50,50,.08);
    --radius: 20px;
}

*{ 
    box-sizing: border-box; 
}

html, body{ 
    height: 100%; 
}

body{
    margin:0;
    background:
        radial-gradient(800px 300px at 10% 0%, rgba(42,127,110,.15), transparent 60%),
        radial-gradient(900px 360px at 90% 0%, rgba(244,162,97,.12), transparent 65%),
        var(--bg);
    color:var(--text);
    font-family: "Nunito", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    line-height:1.4;
}

.app{
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 16px 40px;
    display:grid;
    grid-template-columns: 400px 1fr;
    gap: 20px;
    align-items:start;
}

@media (max-width: 980px){
    .app{ grid-template-columns: 1fr; }
}

/* ===== ГОРНА ЛЕНТА ===== */
.topbar{
    grid-column: 1 / -1;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 12px;
    padding: 12px 18px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,.8);
    backdrop-filter: blur(8px);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.brand{
    display:flex;
    align-items:center;
    gap: 14px;
    min-width: 280px;
}

.mascot{
    width: 58px; height: 58px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(42,127,110,.25), rgba(42,127,110,.1));
    border: 1px solid rgba(42,127,110,.55);
    display:grid; place-items:center;
    font-size: 28px;
    font-weight: 900;
}

.brand h1{
    margin:0;
    font-family:"Poppins","Nunito",sans-serif;
    font-size: 24px;
    letter-spacing:.2px;
    line-height:1.1;
}

.brand .subtitle{
    color: var(--muted);
    font-size: 14px;
    margin-top: 2px;
}

.quick-actions{
    display:flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content:flex-end;
}

/* ===== БУТОНИ ===== */
.btn{
    cursor:pointer;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    border-radius: 16px;
    padding: 12px 16px;
    font-weight: 800;
    font-size: 16px;
    display:inline-flex;
    align-items:center;
    gap: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
    transition: transform .12s ease, filter .12s ease;
    user-select:none;
}

.btn:hover{ filter: brightness(1.02); transform: translateY(-2px); }
.btn:active{ transform: translateY(0); }

.btn.primary{
    border-color: rgba(42,127,110,.7);
    background: linear-gradient(180deg, rgba(42,127,110,.25), rgba(42,127,110,.1));
}

.btn.accent{
    border-color: rgba(244,162,97,.85);
    background: linear-gradient(180deg, rgba(244,162,97,.3), rgba(244,162,97,.12));
}

.btn:focus{
    outline: 3px solid rgba(42,127,110,.35);
    outline-offset: 2px;
}

/* ===== ПАНЕЛИ ===== */
.panel{
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow);
    overflow:hidden;
}

.panel .hd{
    padding: 16px 16px 12px;
    border-bottom: 1px solid rgba(0,0,0,.06);
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap: 10px;
}

.panel .hd h2{
    margin:0;
    font-size: 18px;
    font-weight: 900;
    letter-spacing:.15px;
}

.panel .hd p{
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.panel .bd{ 
    padding: 16px; 
}

/* ===== КОНТРОЛИ ===== */
.controls{
    display:flex;
    flex-direction:column;
    gap: 16px;
}

.group-title{
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 900;
    color: var(--text);
    letter-spacing:.2px;
}

.chips{
    display:flex;
    flex-wrap:wrap;
    gap: 10px;
}

.chip{
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 10px 12px;
    display:flex;
    align-items:center;
    gap: 10px;
    background: #fff;
    cursor:pointer;
    user-select:none;
    transition: transform .12s ease, border-color .12s ease;
    min-height: 52px;
}

.chip:hover{ transform: translateY(-2px); }
.chip input{ width: 18px; height: 18px; }

.chip .ico{
    width: 30px; height: 30px;
    border-radius: 12px;
    display:grid; place-items:center;
    font-size: 18px;
}

.ico.blue{ background: rgba(42,127,110,.2); border: 1px solid rgba(42,127,110,.45); }
.ico.yellow{ background: rgba(244,162,97,.2); border: 1px solid rgba(244,162,97,.55); }
.ico.green{ background: rgba(74,158,140,.2); border: 1px solid rgba(74,158,140,.45); }
.ico.purple{ background: rgba(155,93,229,.15); border: 1px solid rgba(155,93,229,.45); }
.ico.pink{ background: rgba(244,114,182,.15); border: 1px solid rgba(244,114,182,.45); }

.row{
    display:flex;
    gap: 12px;
    flex-wrap:wrap;
}

.seg{
    flex: 1 1 160px;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 12px;
    background:#fff;
}

.seg label{
    display:flex;
    align-items:center;
    gap: 10px;
    cursor:pointer;
    user-select:none;
    padding: 6px 6px;
    border-radius: 12px;
}

.seg input{ width: 18px; height: 18px; }
.seg small{ color: var(--muted); display:block; margin-top: 6px; }

/* ===== ПРЕВКЛЮЧВАТЕЛИ ===== */
.switch{
    position: relative;
    width: 56px;
    height: 32px;
    border-radius: 999px;
    background: rgba(0,0,0,.08);
    border: 1px solid rgba(0,0,0,.1);
    cursor:pointer;
    flex: 0 0 auto;
}

.switch::after{
    content:"";
    position:absolute;
    top: 3px; left: 3px;
    width: 26px; height: 26px;
    border-radius: 999px;
    background:#fff;
    box-shadow: 0 4px 10px rgba(0,0,0,.14);
    transition: transform .18s ease;
}

.switch.on{
    background: rgba(42,127,110,.3);
    border-color: rgba(42,127,110,.6);
}

.switch.on::after{ transform: translateX(24px); }

/* ===== РАБОТЕН ЛИСТ ===== */
.sheet{
    background:#fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow:hidden;
    animation: fadeIn .25s ease;
}

@keyframes fadeIn{ 
    from{ opacity:.5; transform: translateY(4px);} 
    to{opacity:1; transform: translateY(0);} 
}

.sheet-header{
    padding: 20px 20px 14px;
    border-bottom: 1px solid rgba(0,0,0,.08);
    display:flex;
    justify-content:space-between;
    gap: 16px;
    align-items:flex-start;
    flex-wrap:wrap;
}

.sheet-title{
    display:flex; align-items:center; gap: 12px;
    font-family: "Poppins","Nunito",sans-serif;
    font-weight: 800;
    font-size: 24px;
}

.badge{
    font-size: 13px;
    font-weight: 900;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(42,127,110,.65);
    background: rgba(42,127,110,.18);
}

.student-lines{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
    min-width: 300px;
}

.line{
    display:flex;
    gap: 8px;
    align-items:flex-end;
    font-size: 14px;
    color: var(--muted);
    white-space:nowrap;
}

.line b{ color:var(--text); }

.blank{
    flex:1;
    border-bottom: 2px dotted rgba(0,0,0,.25);
    height: 20px;
}

.sheet-body{ 
    padding: 20px; 
}

.sheet-intro{
    margin: 0 0 16px;
    font-size: 16px;
    color: var(--text);
    font-weight: 500;
}

/* ===== HINT СЪОБЩЕНИЯ ===== */
.hint{
    display:flex; gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(244,162,97,.12);
    border: 1px solid rgba(244,162,97,.35);
    margin-bottom: 16px;
}

.hint .dot{
    width: 38px; height: 38px;
    border-radius: 14px;
    background: rgba(244,162,97,.35);
    display:grid; place-items:center;
    font-weight: 900;
    font-size: 20px;
}

.hint p{ 
    margin:0; 
    color:var(--text); 
    font-size: 15px; 
}

/* ===== ЗАДАЧИ ===== */
.q{
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 20px;
    padding: 16px 16px 14px;
    margin-bottom: 16px;
    background: linear-gradient(180deg, rgba(42,127,110,.04), rgba(255,255,255,0));
    page-break-inside: avoid;
}

.q .q-top{
    display:flex;
    gap: 14px;
    align-items:flex-start;
    justify-content:space-between;
}

.q-num{
    width: 38px; height: 38px;
    border-radius: 14px;
    background: rgba(42,127,110,.2);
    border: 1px solid rgba(42,127,110,.45);
    display:grid; place-items:center;
    font-weight: 900;
    flex: 0 0 auto;
}

/* ===== ТЕКСТ НА ЗАДАЧАТА - ПОПРАВЕНО ===== */
.q-prompt{
    flex: 1 1 auto;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 100%;
}

.q-prompt p {
    margin: 0 0 8px 0;
    max-width: 100%;
}

.q-prompt div, 
.q-prompt span,
.q-prompt table {
    max-width: 100%;
}

.q-meta{
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing:.2px;
    margin-left: 10px;
    white-space:nowrap;
}

/* ===== FIGURE КОНТЕЙНЕР ===== */
.q-figure{
    margin-top: 12px;
    padding: 12px;
    border-radius: 18px;
    border: 1px dashed rgba(0,0,0,.12);
    background: rgba(255,255,255,.8);
    max-width: 100%;
    overflow-x: auto;
}

.q-figure svg {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* ===== ОПЦИИ ЗА ИЗБОР ===== */
.opts{
    margin-top: 12px;
    display:grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.opt{
    display:flex;
    gap: 12px;
    align-items:center;
    padding: 12px 14px;
    border-radius: 18px;
    border: 1px solid rgba(0,0,0,.10);
    background:#fff;
    cursor:pointer;
    user-select:none;
    transition: transform .1s ease, border-color .12s ease;
}

.opt:hover{ transform: translateY(-1px); }

.opt[aria-pressed="true"]{
    border-color: rgba(42,127,110,.65);
    background: rgba(42,127,110,.08);
}

.letter{
    width: 36px; height: 36px;
    border-radius: 999px;
    border: 2px solid rgba(0,0,0,.2);
    display:grid; place-items:center;
    font-weight: 900;
    background:#fff;
    flex: 0 0 auto;
}

.opt-text{
    font-size: 18px;
    font-weight: 600;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.opts-4{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* ===== ПОЛЕТА ЗА ОТГОВОРИ ===== */
.answer-box{
    margin-top: 12px;
    border-radius: 18px;
    border: 2px solid rgba(0,0,0,.15);
    background: repeating-linear-gradient(
        180deg,
        #fff 0px,
        #fff 28px,
        rgba(0,0,0,.05) 29px
    );
    height: 100px;
}

.answer-box.small{ height: 70px; }
.answer-box.medium{ height: 140px; }

/* ===== LIKERT СКАЛА ===== */
.likert-scale{
    margin-top: 12px;
    display:flex;
    justify-content:space-between;
    gap: 8px;
    flex-wrap:wrap;
}

.likert-item{
    flex:1;
    min-width: 70px;
    text-align:center;
    padding: 12px 6px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background:#fff;
    cursor:pointer;
    transition: all .1s ease;
}

.likert-item:hover{ transform: translateY(-2px); }

.likert-item.selected{
    border-color: var(--primary);
    background: rgba(42,127,110,.1);
    font-weight:700;
}

.likert-label{
    font-size:13px;
    color:var(--muted);
    margin-bottom:4px;
}

.likert-value{
    font-weight:800;
    font-size:18px;
}

/* ===== СОЦИАЛНИ МЕДИА - HTML ВЕРСИЯ ===== */
.social-post {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    background: #fff;
    margin: 12px 0;
    width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.social-post-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.social-post-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(42,127,110,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.social-post-author {
    font-weight: bold;
    font-size: 16px;
    word-wrap: break-word;
}

.social-post-date {
    font-size: 12px;
    color: #888;
    margin-left: auto;
    white-space: nowrap;
}

.social-post-content {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 12px;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
}

.social-post-stats {
    display: flex;
    gap: 20px;
    padding-top: 8px;
    border-top: 1px solid #eee;
    color: #888;
    font-size: 13px;
    flex-wrap: wrap;
}

/* ===== ТАБЛИЦИ ===== */
table {
    max-width: 100%;
    width: 100%;
    table-layout: fixed;
    word-wrap: break-word;
    border-collapse: collapse;
}

td, th {
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding: 8px;
    border: 1px solid var(--border);
}

/* ===== ДЪЛГИ ЗАДАЧИ ===== */
.q-long{
    background: linear-gradient(180deg, rgba(42,127,110,.04), rgba(255,255,255,0));
}

.long-box{
    margin-top: 12px;
    border-radius: 18px;
    border: 2px solid rgba(42,127,110,.3);
    overflow: hidden;
}

.long-pts{
    padding: 8px 14px;
    background: rgba(42,127,110,.1);
    font-size: 14px;
    font-weight: 900;
    color: var(--primary);
    border-bottom: 1px solid rgba(42,127,110,.2);
}

.long-lines{
    background: repeating-linear-gradient(
        180deg,
        #fff 0px,
        #fff 30px,
        rgba(0,0,0,.05) 31px
    );
    height: 220px;
}

.criteria-box {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(244,162,97,.08);
    border: 1px solid rgba(244,162,97,.25);
    font-size: 14px;
}

.criteria-title {
    font-weight: 900;
    margin-bottom: 8px;
    color: var(--primary);
}

.criteria-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 4px 0;
    border-bottom: 1px dashed rgba(0,0,0,.05);
}

.criteria-points {
    font-weight: 900;
    color: var(--primary);
    min-width: 65px;
}

/* ===== СЕКЦИИ ===== */
.section-header{
    display:flex;
    align-items:center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(42,127,110,.12), rgba(42,127,110,.04));
    border: 1px solid rgba(42,127,110,.3);
    margin: 20px 0 16px;
}

.section-num{
    width: 48px; height: 48px;
    border-radius: 16px;
    background: rgba(42,127,110,.25);
    border: 1px solid rgba(42,127,110,.5);
    display:grid; place-items:center;
    font-weight: 900;
    font-size: 16px;
    flex: 0 0 auto;
}

.section-title{
    font-weight: 900;
    font-size: 18px;
}

.section-sub{
    font-size: 14px;
    color: var(--muted);
    margin-top: 2px;
}

.section-pts{
    margin-left:auto;
    font-size: 20px;
    font-weight: 900;
    color: var(--primary);
    white-space: nowrap;
    flex: 0 0 auto;
}

/* ===== БЕДЖОВЕ ===== */
.fmt-badge{
    font-size: 11px;
    font-weight: 900;
    padding: 4px 10px;
    border-radius: 999px;
    letter-spacing: .3px;
}

.fmt-reading { background: rgba(42,127,110,.2); border: 1px solid rgba(42,127,110,.5); color: #1a5a4a; }
.fmt-math { background: rgba(244,162,97,.2); border: 1px solid rgba(244,162,97,.5); color: #a4581a; }
.fmt-science { background: rgba(74,158,140,.2); border: 1px solid rgba(74,158,140,.5); color: #1a6a5a; }
.fmt-mediaAI { background: rgba(155,93,229,.15); border: 1px solid rgba(155,93,229,.4); color: #4a1a8a; }
.fmt-questionnaire { background: rgba(244,114,182,.15); border: 1px solid rgba(244,114,182,.4); color: #8a1a5a; }

/* ===== КЛЮЧ С ОТГОВОРИ ===== */
.key{
    margin-top: 16px;
    border-top: 2px solid rgba(0,0,0,.12);
    padding-top: 14px;
    page-break-inside: avoid;
}

.key h3{
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 900;
    color: var(--primary);
}

.key-grid{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px 16px;
    font-size: 14px;
}

.key-item{
    border: 1px solid rgba(42,127,110,.2);
    border-radius: 16px;
    padding: 10px 12px;
    background: rgba(42,127,110,.05);
}

.key-item b{ font-weight: 900; }

/* ===== БЕЛЕЖКИ ===== */
.muted-note{
    margin-top: 12px;
    font-size: 13px;
    color: var(--muted);
}

/* ===== ГРЕШКИ ===== */
.svg-error {
    padding: 20px;
    background: #fee;
    border: 1px solid #faa;
    border-radius: 8px;
    color: #c00;
    text-align: center;
}

/* ===== МЕДИА ЗА МАЛКИ ЕКРАНИ ===== */
@media (max-width: 640px){
    .q-prompt {
        font-size: 16px;
    }
    
    .opts-4 {
        grid-template-columns: 1fr;
    }
    
    .opt-text {
        font-size: 15px;
    }
    
    .student-lines {
        grid-template-columns: 1fr;
        min-width: auto;
    }
    
    .sheet-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .social-post-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .social-post-date {
        margin-left: 0;
        white-space: normal;
    }
}

/* ===== КОМПАКТЕН РЕЖИМ ===== */
.compact-mode .q {
    padding: 8px 10px;
    margin-bottom: 8px;
}

.compact-mode .q-prompt {
    font-size: 16px;
}

.compact-mode .answer-box {
    height: 60px;
}

.compact-mode .long-lines {
    height: 150px;
}

.compact-mode .opt {
    padding: 6px 8px;
}

/* ==================================================== */
/* ===== ОПТИМИЗАЦИЯ ЗА ПЕЧАТ ===== */
/* ==================================================== */

@media print {
    /* Скриваме всички контроли и навигация */
    body { 
        background: #fff !important; 
        margin: 0;
        padding: 0;
    }
    
    .app { 
        display: block; 
        padding: 0; 
        margin: 0; 
        max-width: 100%;
    }
    
    .topbar, 
    .panel.controls-panel,
    .quick-actions,
    .btn,
    .fb-share-button,
    #fb-root {
        display: none !important;
    }
    
    /* Основният лист за печат */
    .sheet {
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
        background: #fff;
        page-break-after: avoid;
    }
    
    .sheet-header {
        padding: 0.5cm 0.5cm 0.2cm !important;
        border-bottom: 1px solid #ccc !important;
    }
    
    .sheet-body {
        padding: 0.3cm !important;
    }
    
    .sheet-intro {
        margin: 0 0 0.2cm !important;
        font-size: 11pt !important;
    }
    
    /* Hint съобщения - по-малки */
    .hint {
        padding: 0.2cm 0.3cm !important;
        margin-bottom: 0.3cm !important;
        border: 1px solid #aaa !important;
        background: none !important;
    }
    
    .hint .dot {
        width: 0.4cm !important;
        height: 0.4cm !important;
        font-size: 0.4cm !important;
    }
    
    .hint p {
        font-size: 10pt !important;
    }
    
    /* Задачи - по-компактни */
    .q {
        padding: 0.2cm 0.3cm 0.2cm !important;
        margin-bottom: 0.2cm !important;
        break-inside: avoid;
        border: 1px solid #aaa !important;
        border-radius: 0.2cm !important;
        page-break-inside: avoid;
        background: none !important;
    }
    
    .q-num {
        width: 0.6cm !important;
        height: 0.6cm !important;
        font-size: 10pt !important;
        border: 1px solid #000 !important;
        background: none !important;
    }
    
    .q-prompt {
        font-size: 11pt !important;
        line-height: 1.3 !important;
    }
    
    .q-meta {
        font-size: 8pt !important;
        color: #666 !important;
    }
    
    /* Опции за избор */
    .opt {
        padding: 0.15cm 0.2cm !important;
        gap: 0.2cm !important;
        border: 1px solid #aaa !important;
        background: none !important;
    }
    
    .letter {
        width: 0.5cm !important;
        height: 0.5cm !important;
        font-size: 9pt !important;
        border: 1px solid #000 !important;
    }
    
    .opt-text {
        font-size: 10pt !important;
    }
    
    .opt[aria-pressed="true"] {
        background: #f0f0f0 !important;
        border-color: #000 !important;
    }
    
    /* Полета за отговори - ПО-МАЛКИ */
    .answer-box {
        height: 0.8cm !important;
        margin-top: 0.2cm !important;
        border: 1px solid #000 !important;
        background: repeating-linear-gradient(
            180deg,
            #fff 0px,
            #fff 0.3cm,
            #eee 0.31cm
        ) !important;
    }
    
    .answer-box.small {
        height: 0.6cm !important;
    }
    
    .answer-box.medium {
        height: 1.2cm !important;
    }
    
    /* Дълги задачи - ПО-МАЛКИ */
    .long-lines {
        height: 2.5cm !important;
        background: repeating-linear-gradient(
            180deg,
            #fff 0px,
            #fff 0.4cm,
            #eee 0.41cm
        ) !important;
    }
    
    .long-box {
        margin-top: 0.2cm !important;
        border: 1px solid #000 !important;
    }
    
    .long-pts {
        padding: 0.1cm 0.2cm !important;
        font-size: 9pt !important;
        background: #f0f0f0 !important;
        border-bottom: 1px solid #aaa !important;
    }
    
    /* Критерии - по-компактни */
    .criteria-box {
        margin-top: 0.2cm !important;
        padding: 0.2cm 0.3cm !important;
        font-size: 9pt !important;
        border: 1px solid #aaa !important;
        background: none !important;
    }
    
    .criteria-title {
        font-size: 10pt !important;
        margin-bottom: 0.1cm !important;
    }
    
    .criteria-item {
        padding: 0.05cm 0 !important;
        gap: 0.2cm !important;
    }
    
    .criteria-points {
        min-width: 0.8cm !important;
        font-size: 9pt !important;
    }
    
    /* Социални постове */
    .social-post {
        border: 1px solid #aaa !important;
        padding: 0.2cm !important;
        margin: 0.2cm 0 !important;
        background: none !important;
    }
    
    .social-post-content {
        font-size: 10pt !important;
        line-height: 1.3 !important;
    }
    
    .social-post-stats {
        font-size: 9pt !important;
        color: #666 !important;
    }
    
    /* Таблици */
    table {
        font-size: 9pt !important;
    }
    
    td, th {
        padding: 0.1cm 0.2cm !important;
        border: 1px solid #aaa !important;
    }
    
    /* Секции */
    .section-header {
        padding: 0.2cm 0.3cm !important;
        margin: 0.3cm 0 0.2cm !important;
        border: 1px solid #aaa !important;
        background: none !important;
    }
    
    .section-num {
        width: 0.6cm !important;
        height: 0.6cm !important;
        font-size: 9pt !important;
        border: 1px solid #000 !important;
        background: none !important;
    }
    
    .section-title {
        font-size: 12pt !important;
    }
    
    .section-sub {
        font-size: 9pt !important;
    }
    
    .section-pts {
        font-size: 12pt !important;
    }
    
    /* Ключ с отговори */
    .key {
        margin-top: 0.3cm !important;
        padding-top: 0.2cm !important;
    }
    
    .key h3 {
        font-size: 12pt !important;
        margin-bottom: 0.2cm !important;
    }
    
    .key-grid {
        gap: 0.2cm 0.3cm !important;
    }
    
    .key-item {
        padding: 0.1cm 0.2cm !important;
        font-size: 9pt !important;
        border: 1px solid #aaa !important;
        background: none !important;
    }
    
    /* Беджове */
    .fmt-badge {
        font-size: 8pt !important;
        padding: 0.05cm 0.15cm !important;
        border: 1px solid #000 !important;
        background: none !important;
        color: #000 !important;
    }
    
    /* Премахваме всички цветове и градиенти */
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
        backdrop-filter: none !important;
    }
    
    /* Запазваме само важните линии */
    .badge {
        border: 1px solid #000 !important;
        background: none !important;
        color: #000 !important;
    }
    
    /* Запазваме пунктираните линии за писане */
    .blank {
        border-bottom: 1px dotted #000 !important;
    }
    
    /* Премахваме анимациите */
    * {
        animation: none !important;
        transition: none !important;
    }
}