@media screen {
    .po-studio {
        --po-bg: #f3ecdd;
        --po-surface: #fffaf0;
        --po-surface-soft: #f7efdf;
        --po-paper: #fffdf7;
        --po-ink: #24332f;
        --po-muted: #5d6964;
        --po-line: #d8cbb6;
        --po-forest: #244b40;
        --po-forest-deep: #17372f;
        --po-forest-soft: #dce9e2;
        --po-copper: #a45129;
        --po-copper-deep: #7c361b;
        --po-copper-soft: #f3dfd1;
        --po-gold: #d5a84d;
        --po-focus: #16635b;
        --po-shadow: 0 22px 52px rgba(41, 54, 47, 0.14);
        --po-shadow-soft: 0 9px 26px rgba(41, 54, 47, 0.1);
        --info: #285f78;
        --info-light: #e9f5fa;
        --danger: #a33128;
        --danger-light: #fff0ec;
        --success: #247052;
        --success-light: #e9f6ef;
        width: min(100%, 1320px);
        max-width: 1320px;
        margin-inline: auto;
        padding: clamp(1rem, 3vw, 2.5rem);
        color: var(--po-ink);
        background:
            radial-gradient(circle at 4% 4%, rgba(164, 81, 41, 0.12), transparent 21rem),
            radial-gradient(circle at 97% 1%, rgba(36, 75, 64, 0.13), transparent 25rem),
            var(--po-bg);
        border-radius: 28px;
        font-family: var(--font-family, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
        line-height: 1.6;
        box-sizing: border-box;
    }

    .po-studio *,
    .po-studio *::before,
    .po-studio *::after {
        box-sizing: border-box;
    }

    .po-studio [hidden] {
        display: none !important;
    }

    .po-studio :where(a, button, input, select, textarea, summary):focus-visible {
        outline: 3px solid var(--po-focus);
        outline-offset: 3px;
    }

    .po-studio .po-hero {
        position: relative;
        display: grid;
        grid-template-columns: minmax(0, 1.22fr) minmax(290px, 0.78fr);
        gap: clamp(1.75rem, 4vw, 4rem);
        align-items: center;
        min-height: 350px;
        padding: clamp(1.6rem, 4vw, 3.6rem);
        overflow: hidden;
        color: #fffaf0;
        background: linear-gradient(132deg, #17372f 0%, #244b40 58%, #37675a 100%);
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 24px;
        box-shadow: var(--po-shadow);
        isolation: isolate;
    }

    .po-studio .po-hero::before {
        position: absolute;
        inset: 0;
        z-index: -2;
        background-image: radial-gradient(rgba(255, 250, 240, 0.2) 1px, transparent 1.5px);
        background-size: 19px 19px;
        content: "";
        opacity: 0.52;
        pointer-events: none;
    }

    .po-studio .po-hero::after {
        position: absolute;
        right: -7rem;
        bottom: -9rem;
        z-index: -1;
        width: 26rem;
        aspect-ratio: 1;
        background: rgba(164, 81, 41, 0.34);
        border: 1px solid rgba(255, 250, 240, 0.18);
        border-radius: 50%;
        content: "";
        pointer-events: none;
    }

    .po-studio .po-hero-copy,
    .po-studio .po-hero-art {
        position: relative;
        z-index: 1;
        min-width: 0;
    }

    .po-studio .po-eyebrow {
        margin: 0 0 0.65rem;
        color: var(--po-copper);
        font-size: 0.76rem;
        font-weight: 850;
        letter-spacing: 0.15em;
        line-height: 1.35;
        text-transform: uppercase;
    }

    .po-studio .po-hero .po-eyebrow {
        color: #f2c98d;
    }

    .po-studio .po-hero h1 {
        max-width: 760px;
        margin: 0;
        color: inherit;
        font-family: Georgia, "Times New Roman", serif;
        font-size: clamp(2.15rem, 5vw, 4.55rem);
        font-weight: 700;
        letter-spacing: -0.045em;
        line-height: 0.98;
    }

    .po-studio .po-hero h1 span {
        color: #f2c98d;
        font-style: italic;
    }

    .po-studio .po-lead {
        max-width: 650px;
        margin: 1.25rem 0 0;
        color: #eaf2ed;
        font-size: clamp(1rem, 1.8vw, 1.18rem);
    }

    .po-studio .po-benefits {
        display: flex;
        flex-wrap: wrap;
        gap: 0.65rem;
        margin: 1.4rem 0 0;
        padding: 0;
        list-style: none;
    }

    .po-studio .po-benefits li {
        padding: 0.48rem 0.8rem;
        color: #fffdf7;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 999px;
        font-size: 0.86rem;
        font-weight: 750;
        backdrop-filter: blur(6px);
    }

    .po-studio .po-hero-art {
        display: grid;
        place-items: center;
        min-height: 245px;
        perspective: 900px;
    }

    .po-studio .po-notebook {
        position: relative;
        width: min(100%, 300px);
        padding: 1.35rem 1.25rem 1.15rem 2rem;
        color: #263831;
        background:
            linear-gradient(90deg, transparent 0 1.25rem, rgba(164, 81, 41, 0.35) 1.25rem 1.33rem, transparent 1.33rem),
            repeating-linear-gradient(0deg, transparent 0 25px, rgba(56, 103, 91, 0.13) 25px 26px),
            #fffdf7;
        border: 2px solid #e7c988;
        border-radius: 7px 16px 16px 7px;
        box-shadow: 0 28px 50px rgba(10, 31, 25, 0.34);
        transform: rotate(2deg) rotateY(-4deg);
    }

    .po-studio .po-notebook::before {
        position: absolute;
        top: 16px;
        bottom: 16px;
        left: -7px;
        width: 13px;
        background: repeating-linear-gradient(0deg, #dfb961 0 7px, transparent 7px 17px);
        border-radius: 999px;
        content: "";
    }

    .po-studio .po-notebook-kicker {
        display: block;
        color: #7c361b;
        font-size: 0.68rem;
        font-weight: 850;
        letter-spacing: 0.13em;
        text-transform: uppercase;
    }

    .po-studio .po-notebook-title {
        display: block;
        margin-top: 0.22rem;
        color: #244b40;
        font-family: Georgia, "Times New Roman", serif;
        font-size: 1.35rem;
        line-height: 1.15;
    }

    .po-studio .po-notebook-sketch {
        position: relative;
        display: flex;
        justify-content: center;
        gap: 0.55rem;
        min-height: 82px;
        margin: 1rem 0 0.85rem;
        padding-top: 0.45rem;
    }

    .po-studio .po-notebook-sketch::before,
    .po-studio .po-notebook-sketch::after {
        position: absolute;
        content: "";
        pointer-events: none;
    }

    .po-studio .po-notebook-sketch::before {
        top: 17px;
        left: 13%;
        right: 13%;
        height: 2px;
        background: #a45129;
        transform: rotate(-5deg);
    }

    .po-studio .po-notebook-sketch::after {
        right: 18%;
        bottom: 9px;
        width: 42%;
        height: 2px;
        background: #244b40;
        transform: rotate(7deg);
    }

    .po-studio .po-notebook-sketch > span {
        position: relative;
        z-index: 1;
        display: grid;
        place-items: center;
        width: 51px;
        aspect-ratio: 1;
        color: #fffdf7;
        background: #a45129;
        border: 3px solid #fffdf7;
        border-radius: 50%;
        box-shadow: 0 0 0 2px #a45129;
        font-family: Georgia, "Times New Roman", serif;
        font-size: 1.15rem;
        font-weight: 700;
    }

    .po-studio .po-notebook-sketch > span:nth-child(2) {
        margin-top: 21px;
        background: #d5a84d;
        box-shadow: 0 0 0 2px #b48425;
    }

    .po-studio .po-notebook-sketch > span:nth-child(3) {
        margin-top: 5px;
        background: #37675a;
        box-shadow: 0 0 0 2px #244b40;
    }

    .po-studio .po-notebook-lines {
        display: grid;
        gap: 0.42rem;
    }

    .po-studio .po-notebook-lines i {
        display: block;
        height: 2px;
        background: rgba(36, 75, 64, 0.28);
        border-radius: 999px;
    }

    .po-studio .po-notebook-lines i:nth-child(2) {
        width: 82%;
    }

    .po-studio .po-notebook-lines i:nth-child(3) {
        width: 68%;
    }

    .po-studio .po-notebook-caption {
        display: block;
        margin-top: 0.78rem;
        color: #5b665f;
        font-size: 0.72rem;
        font-weight: 750;
        text-align: right;
    }

    .po-studio .po-workspace {
        display: grid;
        grid-template-columns: minmax(0, 47fr) minmax(0, 53fr);
        gap: clamp(1rem, 2.5vw, 2rem);
        align-items: start;
        margin-top: clamp(1.5rem, 3vw, 2.5rem);
    }

    .po-studio .po-settings-card,
    .po-studio .po-preview-card {
        min-width: 0;
        margin: 0;
        padding: clamp(1.1rem, 2.5vw, 2rem);
        color: var(--po-ink);
        background: var(--po-surface);
        border: 1px solid var(--po-line);
        border-radius: 20px;
        box-shadow: var(--po-shadow-soft);
    }

    .po-studio .po-preview-card {
        position: sticky;
        top: 110px;
    }

    .po-studio .po-card-heading {
        margin-bottom: 1.4rem;
        padding-bottom: 1.15rem;
        border-bottom: 1px solid var(--po-line);
    }

    .po-studio .po-card-heading h2,
    .po-studio .po-teaching h2,
    .po-studio .po-about h2,
    .po-studio .po-about h3,
    .po-studio .po-session-guide h2 {
        margin: 0;
        color: var(--po-ink);
        font-family: Georgia, "Times New Roman", serif;
        line-height: 1.15;
    }

    .po-studio .po-card-heading h2 {
        font-size: clamp(1.65rem, 3vw, 2.15rem);
    }

    .po-studio .po-card-heading > p:last-child {
        margin: 0.55rem 0 0;
        color: var(--po-muted);
    }

    .po-studio .po-fieldset {
        min-width: 0;
        margin: 0 0 1.2rem;
        padding: 1rem;
        background: var(--po-surface-soft);
        border: 1px solid var(--po-line);
        border-radius: 15px;
    }

    .po-studio .po-fieldset legend {
        max-width: 100%;
        padding: 0 0.55rem;
        color: var(--po-ink);
        font-family: Georgia, "Times New Roman", serif;
        font-size: 1.03rem;
        font-weight: 700;
    }

    .po-studio .po-step-number {
        display: inline-grid;
        place-items: center;
        width: 30px;
        aspect-ratio: 1;
        margin-right: 0.45rem;
        color: #fff;
        background: var(--po-copper);
        border-radius: 50%;
        font-family: var(--font-family, Inter, system-ui, sans-serif);
        font-size: 0.82rem;
    }

    .po-studio .form-row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.8rem;
    }

    .po-studio .form-group {
        min-width: 0;
        margin-bottom: 0.9rem;
    }

    .po-studio .form-group > label,
    .po-studio #niveauBSection > label,
    .po-studio .worksheet-batch > label {
        display: block;
        margin-bottom: 0.38rem;
        color: var(--po-ink) !important;
        font-size: 0.9rem;
        font-weight: 750;
    }

    .po-studio :where(select, input:not([type="checkbox"]):not([type="radio"]), textarea) {
        width: 100%;
        min-width: 0;
        min-height: 44px;
        padding: 0.68rem 0.78rem;
        color: var(--po-ink);
        background: var(--po-surface);
        border: 1px solid #a99e8b;
        border-radius: 10px;
        font: inherit;
    }

    .po-studio :where(select, input:not([type="checkbox"]):not([type="radio"]), textarea):focus {
        border-color: var(--po-forest);
        box-shadow: 0 0 0 3px rgba(36, 75, 64, 0.14);
    }

    .po-studio #niveauBSection {
        margin-top: 0.65rem !important;
        padding: 0.85rem !important;
        color: var(--po-ink);
        background: var(--po-surface) !important;
        border: 1px solid var(--po-line) !important;
        border-radius: 11px !important;
    }

    .po-studio .po-option {
        margin-bottom: 0.72rem;
        padding: 0.78rem;
        background: var(--po-surface);
        border: 1px solid var(--po-line);
        border-radius: 11px;
    }

    .po-studio .checkbox-row {
        display: flex;
        gap: 0.7rem;
        align-items: flex-start;
        min-height: 44px;
        margin: 0;
        color: var(--po-ink);
        font-size: 0.91rem;
        font-weight: 750;
        cursor: pointer;
    }

    .po-studio .checkbox-row input[type="checkbox"] {
        flex: 0 0 24px;
        width: 24px;
        height: 24px;
        margin: 0.08rem 0 0;
        accent-color: var(--po-copper);
        cursor: pointer;
    }

    .po-studio .po-option-title {
        display: block;
        min-width: 0;
    }

    .po-studio .checkbox-note {
        margin: 0.15rem 0 0 2.7rem;
        color: var(--po-muted);
        font-size: 0.8rem;
        font-style: normal;
        line-height: 1.5;
    }

    .po-studio #po-pagination-note {
        margin: 0.25rem 0 1rem;
    }

    .po-studio .themes-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.68rem;
        margin-bottom: 0.45rem;
    }

    .po-studio .theme-option {
        position: relative;
        min-width: 0;
    }

    .po-studio .theme-option input[type="radio"] {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        padding: 0;
        overflow: hidden;
        white-space: nowrap;
        border: 0;
        clip: rect(0 0 0 0);
        clip-path: inset(50%);
    }

    .po-studio .theme-card {
        position: relative;
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 0.72rem;
        align-items: center;
        min-height: 70px;
        height: 100%;
        padding: 0.7rem 2rem 0.7rem 0.72rem;
        color: var(--po-ink);
        background: var(--po-surface);
        border: 2px solid var(--po-line);
        border-radius: 12px;
        font-size: 0.82rem;
        font-weight: 750;
        line-height: 1.35;
        cursor: pointer;
        transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
    }

    .po-studio .theme-card::after {
        position: absolute;
        top: 0.62rem;
        right: 0.62rem;
        display: grid;
        place-items: center;
        width: 21px;
        aspect-ratio: 1;
        color: transparent;
        background: transparent;
        border: 1px solid var(--po-line);
        border-radius: 50%;
        content: "✓";
        font-size: 0.75rem;
        font-weight: 900;
    }

    .po-studio .theme-swatch {
        display: block;
        width: 42px;
        height: 28px;
        border: 1px solid rgba(36, 51, 47, 0.24);
        border-radius: 7px;
        box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.34);
    }

    .po-studio .theme-option input[type="radio"]:checked + .theme-card {
        color: var(--po-forest-deep);
        background: var(--po-forest-soft);
        border-color: var(--po-forest);
        box-shadow: 0 0 0 2px rgba(36, 75, 64, 0.14);
    }

    .po-studio .theme-option input[type="radio"]:checked + .theme-card::after {
        color: #fff;
        background: var(--po-forest);
        border-color: var(--po-forest);
    }

    .po-studio .theme-option input[type="radio"]:focus-visible + .theme-card {
        outline: 3px solid var(--po-focus);
        outline-offset: 3px;
    }

    .po-studio .theme-card:hover {
        border-color: var(--po-copper);
        transform: translateY(-1px);
    }

    .po-studio #btn-generer.btn-generate,
    .po-studio [data-worksheet-submit] {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        min-height: 48px;
        padding: 0.82rem 1.1rem !important;
        color: #fff !important;
        background: linear-gradient(135deg, var(--po-copper), var(--po-copper-deep)) !important;
        border: 1px solid var(--po-copper-deep) !important;
        border-radius: 11px;
        box-shadow: 0 8px 18px rgba(124, 54, 27, 0.22);
        font: inherit;
        font-size: 1rem;
        font-weight: 850;
        line-height: 1.25;
        text-align: center;
        cursor: pointer;
        transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
    }

    .po-studio #btn-generer.btn-generate:hover,
    .po-studio [data-worksheet-submit]:hover {
        box-shadow: 0 11px 22px rgba(124, 54, 27, 0.27);
        filter: saturate(1.08);
        transform: translateY(-1px);
    }

    .po-studio :where(#btn-generer.btn-generate, [data-worksheet-submit]):disabled {
        opacity: 0.62;
        cursor: wait;
        filter: none;
        transform: none;
    }

    .po-studio .po-download-note {
        margin: 0.65rem 0 0;
        color: var(--po-muted);
        font-size: 0.79rem;
        line-height: 1.5;
        text-align: center;
    }

    .po-studio #po-feedback {
        max-width: 100%;
        margin: 0.85rem 0 0;
        overflow-wrap: anywhere;
        font-weight: 650;
        line-height: 1.5;
    }

    .po-studio #po-feedback:empty {
        display: none;
    }

    .po-studio .po-batch {
        margin-top: 1rem;
        color: var(--po-ink);
        background: var(--po-surface-soft);
        border: 1px solid var(--po-line);
        border-radius: 13px;
    }

    .po-studio .po-batch > summary {
        display: flex;
        align-items: center;
        min-height: 48px;
        padding: 0.75rem 0.9rem;
        color: var(--po-forest-deep);
        font-weight: 850;
        cursor: pointer;
    }

    .po-studio .po-batch > summary::after {
        margin-left: auto;
        padding-left: 0.75rem;
        content: "+";
        font-size: 1.2rem;
        line-height: 1;
    }

    .po-studio .po-batch[open] > summary {
        border-bottom: 1px solid var(--po-line);
    }

    .po-studio .po-batch[open] > summary::after {
        content: "−";
    }

    .po-studio .po-batch > .worksheet-batch,
    .po-studio .po-batch .worksheet-batch {
        margin: 0 !important;
        padding: 1rem !important;
        color: var(--po-ink) !important;
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 0 13px 13px !important;
    }

    .po-studio .worksheet-batch h2 {
        margin: 0 0 0.45rem !important;
        color: var(--po-ink);
        font-family: Georgia, "Times New Roman", serif;
        font-size: 1.08rem !important;
    }

    .po-studio .worksheet-batch p {
        color: var(--po-muted);
    }

    .po-studio .worksheet-batch [data-worksheet-class] {
        min-height: 44px;
        margin: 0.4rem 0 0.8rem !important;
    }

    .po-studio .worksheet-quantities {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 0.65rem !important;
    }

    .po-studio .worksheet-quantities > * {
        min-width: 0;
    }

    .po-studio .worksheet-quantities label {
        color: var(--po-ink) !important;
        font-size: 0.82rem !important;
        line-height: 1.45;
    }

    .po-studio .worksheet-quantities input {
        min-height: 44px;
        margin-top: 0.3rem !important;
        padding: 0.55rem !important;
    }

    .po-studio [data-worksheet-save] {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        min-height: 44px;
        margin: 0 0 0.75rem !important;
        padding: 0.7rem 0.9rem;
        color: var(--po-forest-deep) !important;
        background: var(--po-surface) !important;
        border: 2px solid var(--po-forest) !important;
        border-radius: 10px;
        font: inherit;
        font-weight: 800;
        text-align: center;
        cursor: pointer;
    }

    .po-studio .po-paper {
        position: relative;
        min-width: 0;
        padding: clamp(1.15rem, 3vw, 2rem);
        overflow: hidden;
        color: #26312e;
        background:
            linear-gradient(90deg, transparent 0 2.35rem, rgba(164, 81, 41, 0.13) 2.35rem 2.43rem, transparent 2.43rem),
            radial-gradient(circle, rgba(36, 75, 64, 0.16) 0 1px, transparent 1.2px) 0 0 / 18px 18px,
            #fffdf7;
        border: 1px solid #d9c9ad;
        border-radius: 14px 18px 18px 14px;
        box-shadow: 0 12px 30px rgba(44, 50, 45, 0.13);
    }

    .po-studio .po-paper::before {
        position: absolute;
        top: 1rem;
        bottom: 1rem;
        left: -5px;
        width: 10px;
        background: repeating-linear-gradient(0deg, #b98b36 0 7px, transparent 7px 17px);
        border-radius: 999px;
        content: "";
    }

    .po-studio .po-paper-top {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 0.55rem;
        margin-bottom: 1rem;
        padding-bottom: 0.72rem;
        color: #52615c;
        border-bottom: 1px solid #dccfb9;
        font-size: 0.72rem;
        font-weight: 850;
        letter-spacing: 0.09em;
        text-transform: uppercase;
    }

    .po-studio .po-paper .preview-probleme {
        margin: 0;
        padding: 0;
        color: #26312e;
        background: transparent;
        border: 0;
        border-radius: 0;
    }

    .po-studio .po-paper .preview-titre {
        margin: 0 0 0.72rem;
        padding: 0;
        color: #7c361b;
        border: 0;
        font-family: Georgia, "Times New Roman", serif;
        font-size: clamp(1.3rem, 2.5vw, 1.75rem);
        font-weight: 700;
        line-height: 1.2;
    }

    .po-studio .po-paper .preview-enonce {
        margin: 0 0 1.25rem;
        color: #2e3935;
        font-size: clamp(0.95rem, 1.55vw, 1.04rem);
        line-height: 1.75;
    }

    .po-studio .po-paper .preview-zone {
        min-height: 185px;
        margin: 0;
        padding: 0.85rem;
        background: rgba(255, 253, 247, 0.88);
        border: 1px dashed #a89574;
        border-radius: 10px;
    }

    .po-studio .po-paper .preview-zone-label {
        margin-bottom: 0.45rem;
        color: #244b40;
        font-size: 0.73rem;
        font-weight: 850;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .po-studio .po-paper .preview-lignes {
        display: flex;
        flex-direction: column;
        gap: 0.52rem;
    }

    .po-studio .po-paper .preview-ligne {
        min-height: 18px;
        border-bottom: 1px solid rgba(68, 92, 82, 0.25);
    }

    .po-studio .po-preview-caption {
        margin: 0.75rem 0 0;
        color: var(--po-muted);
        font-size: 0.78rem;
        line-height: 1.5;
        text-align: center;
    }

    .po-studio .po-teaching,
    .po-studio .po-session-guide {
        margin-top: clamp(1.5rem, 3vw, 2.4rem);
        padding: clamp(1.1rem, 2.8vw, 1.8rem);
        color: var(--po-ink);
        background: var(--po-surface);
        border: 1px solid var(--po-line);
        border-radius: 20px;
        box-shadow: var(--po-shadow-soft);
    }

    .po-studio .po-teaching .bo-info {
        margin: 0 0 1rem;
        padding: 1rem 1.1rem;
        color: var(--po-ink);
        background: var(--po-copper-soft);
        border: 1px solid #dcb79f;
        border-left: 5px solid var(--po-copper);
        border-radius: 5px 12px 12px 5px;
        font-size: 0.92rem;
    }

    .po-studio .po-teaching .bo-info strong {
        color: var(--po-copper-deep);
    }

    .po-studio .po-public-reference {
        margin: 0 0 1rem;
        color: var(--po-muted);
        font-size: 0.84rem;
    }

    .po-studio :where(.po-public-reference, .po-teaching, .po-about) a {
        color: var(--po-copper-deep);
        font-weight: 700;
        text-decoration-thickness: 1px;
        text-underline-offset: 0.18em;
    }

    .po-studio .po-teaching .generator-references {
        margin: 0 0 1rem;
        color: var(--po-ink);
        background: var(--po-surface-soft);
        border: 1px solid var(--po-line);
        border-radius: 13px;
        overflow: hidden;
    }

    .po-studio .po-teaching .generator-references > summary {
        min-height: 48px;
        padding: 0.8rem 1rem;
        color: var(--po-forest-deep);
        font-weight: 850;
        cursor: pointer;
    }

    .po-studio .po-teaching .generator-references__body {
        padding: 0 1rem 1rem;
        color: var(--po-ink);
    }

    .po-studio .po-teaching .generator-references a {
        color: var(--po-copper-deep);
    }

    .po-studio .po-about {
        margin-top: 1.25rem;
        padding: clamp(1rem, 2vw, 1.4rem) !important;
        color: var(--po-ink) !important;
        background: var(--po-forest-soft) !important;
        border: 1px solid #b8cfc3;
        border-radius: 15px;
    }

    .po-studio .po-about h2 {
        font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    }

    .po-studio .po-about h3 {
        margin-top: 1.25rem;
        font-size: 1.13rem;
    }

    .po-studio .po-about :where(p, li) {
        color: var(--po-ink);
    }

    .po-studio .po-about p {
        margin: 0.75rem 0;
    }

    .po-studio .po-about ol {
        margin: 0.75rem 0;
        padding-left: 1.25rem;
    }

    .po-studio .po-about li + li {
        margin-top: 0.25rem;
    }

    .po-studio .po-about ul {
        padding-left: 1.2rem;
    }

    .po-studio .po-session-guide h2 {
        font-size: clamp(1.45rem, 2.8vw, 1.9rem);
    }

    .po-studio .po-session-guide ol {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.75rem;
        margin: 1rem 0 0;
        padding: 0;
        list-style: none;
        counter-reset: po-session;
    }

    .po-studio .po-session-guide li {
        position: relative;
        min-width: 0;
        padding: 0.85rem 0.78rem 0.85rem 3rem;
        color: var(--po-ink);
        background: var(--po-surface-soft);
        border: 1px solid var(--po-line);
        border-radius: 11px;
        counter-increment: po-session;
    }

    .po-studio .po-session-guide li strong,
    .po-studio .po-session-guide li span {
        display: block;
    }

    .po-studio .po-session-guide li strong {
        margin-bottom: 0.35rem;
    }

    .po-studio .po-session-guide li::before {
        position: absolute;
        top: 0.78rem;
        left: 0.72rem;
        display: grid;
        place-items: center;
        width: 1.75rem;
        aspect-ratio: 1;
        color: #fff;
        background: var(--po-copper);
        border-radius: 50%;
        content: counter(po-session);
        font-size: 0.76rem;
        font-weight: 850;
    }

    html[data-theme="dark"] .po-studio,
    .po-studio[data-theme="dark"] {
        --po-bg: #17231f;
        --po-surface: #21302b;
        --po-surface-soft: #293b35;
        --po-ink: #f5eee2;
        --po-muted: #c9d3ce;
        --po-line: #4b6259;
        --po-forest: #8fc6b4;
        --po-forest-deep: #d6eee6;
        --po-forest-soft: #2c473e;
        --po-copper: #e29a72;
        --po-copper-deep: #f6c2a5;
        --po-copper-soft: #493327;
        --po-focus: #f2bd68;
        --po-shadow: 0 22px 52px rgba(0, 0, 0, 0.35);
        --po-shadow-soft: 0 9px 26px rgba(0, 0, 0, 0.25);
    }

    html[data-theme="dark"] .po-studio .po-hero,
    .po-studio[data-theme="dark"] .po-hero {
        background: linear-gradient(132deg, #102a23, #1e493d 58%, #5b3a29);
    }

    html[data-theme="dark"] .po-studio :where(select, input:not([type="checkbox"]):not([type="radio"]), textarea),
    .po-studio[data-theme="dark"] :where(select, input:not([type="checkbox"]):not([type="radio"]), textarea) {
        border-color: #6c7e76;
        color-scheme: dark;
    }

    html[data-theme="dark"] .po-studio .theme-option input[type="radio"]:checked + .theme-card,
    .po-studio[data-theme="dark"] .theme-option input[type="radio"]:checked + .theme-card {
        color: var(--po-ink);
    }

    html[data-theme="dark"] .po-studio .theme-option input[type="radio"]:checked + .theme-card::after,
    .po-studio[data-theme="dark"] .theme-option input[type="radio"]:checked + .theme-card::after,
    html[data-theme="dark"] .po-studio .po-step-number,
    .po-studio[data-theme="dark"] .po-step-number,
    html[data-theme="dark"] .po-studio .po-session-guide li::before,
    .po-studio[data-theme="dark"] .po-session-guide li::before {
        color: #17372f;
    }

    html[data-theme="dark"] .po-studio #btn-generer.btn-generate,
    .po-studio[data-theme="dark"] #btn-generer.btn-generate,
    html[data-theme="dark"] .po-studio [data-worksheet-submit],
    .po-studio[data-theme="dark"] [data-worksheet-submit] {
        color: #fff !important;
        background: linear-gradient(135deg, #9a4927, #733017) !important;
        border-color: #c87b52 !important;
    }

    html[data-theme="dark"] .po-studio .po-paper,
    .po-studio[data-theme="dark"] .po-paper {
        color: #26312e;
        background:
            linear-gradient(90deg, transparent 0 2.35rem, rgba(164, 81, 41, 0.13) 2.35rem 2.43rem, transparent 2.43rem),
            radial-gradient(circle, rgba(36, 75, 64, 0.16) 0 1px, transparent 1.2px) 0 0 / 18px 18px,
            #fffdf7;
        border-color: #d9c9ad;
    }

    @media (max-width: 999px) {
        .po-studio .po-workspace {
            grid-template-columns: minmax(0, 1fr);
        }

        .po-studio .po-preview-card {
            position: static;
        }
    }

    @media (max-width: 720px) {
        .po-studio {
            padding: 0.75rem;
            border-radius: 18px;
        }

        .po-studio .po-hero {
            grid-template-columns: minmax(0, 1fr);
            min-height: auto;
            padding: 1.4rem;
            border-radius: 17px;
        }

        .po-studio .po-hero-art {
            display: none;
        }

        .po-studio .form-row,
        .po-studio .po-session-guide ol {
            grid-template-columns: minmax(0, 1fr);
        }

        .po-studio .worksheet-quantities {
            grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        }
    }

    @media (max-width: 420px) {
        .po-studio {
            padding: 0.5rem;
        }

        .po-studio .po-hero,
        .po-studio .po-settings-card,
        .po-studio .po-preview-card,
        .po-studio .po-teaching,
        .po-studio .po-session-guide {
            padding: 1rem;
        }

        .po-studio .po-hero h1 {
            font-size: 2rem;
        }

        .po-studio .po-benefits li {
            overflow-wrap: anywhere;
        }

        .po-studio .po-fieldset {
            padding: 0.75rem;
        }

        .po-studio .themes-grid {
            gap: 0.48rem;
        }

        .po-studio .theme-card {
            grid-template-columns: minmax(0, 1fr);
            justify-items: start;
            padding: 0.65rem 1.8rem 0.65rem 0.62rem;
            overflow-wrap: anywhere;
        }

        .po-studio .theme-swatch {
            width: 34px;
            height: 22px;
        }

        .po-studio .po-paper {
            padding: 1rem 0.8rem 1rem 1.15rem;
            background:
                radial-gradient(circle, rgba(36, 75, 64, 0.15) 0 1px, transparent 1.2px) 0 0 / 18px 18px,
                #fffdf7;
        }

        .po-studio .po-paper-top {
            align-items: flex-start;
            flex-direction: column;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .po-studio *,
        .po-studio *::before,
        .po-studio *::after {
            scroll-behavior: auto !important;
            transition-duration: 0.01ms !important;
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
        }

        .po-studio .po-notebook,
        .po-studio .theme-card:hover,
        .po-studio #btn-generer.btn-generate:hover,
        .po-studio [data-worksheet-submit]:hover {
            transform: none;
        }
    }
    .po-studio .po-pdf-actions,
    .po-studio .po-pdf-navigation { display:flex; flex-wrap:wrap; align-items:center; gap:0.6rem; }
    .po-studio .po-pdf-actions label { display:flex; flex-wrap:wrap; align-items:center; gap:0.4rem; margin:0; color:var(--po-ink); font-size:0.85rem; }
    .po-studio .po-pdf-actions select { width:auto; max-width:100%; min-width:0; }
    .po-studio .po-pdf-actions button,
    .po-studio .po-pdf-navigation button { min-width:44px; min-height:44px; padding:0.55rem 0.8rem; border:1px solid var(--po-line); border-radius:9px; background:var(--po-surface-soft); color:var(--po-ink); font:inherit; font-weight:700; cursor:pointer; }
    .po-studio .po-pdf-actions button:disabled,
    .po-studio .po-pdf-navigation button:disabled { opacity:0.55; cursor:default; }
    .po-studio #po-preview-status { min-height:3rem; margin:0.75rem 0; color:var(--po-muted); font-size:0.85rem; }
    .po-studio #po-preview-status[data-error="true"] { padding:0.75rem; color:#7c211e; background:#fff0ec; border:1px solid #b94b3f; border-radius:9px; }
    .po-studio #po-feedback { color:var(--po-ink); background:var(--po-forest-soft); }
    .po-studio .po-pdf-navigation { justify-content:space-between; margin-bottom:0.6rem; }
    .po-studio #po-preview-count { flex:1; color:var(--po-ink); text-align:center; font-size:0.85rem; }
    .po-studio .po-pdf-viewport { max-width:100%; min-height:260px; max-height:65vh; padding:8px; overflow:auto; border:1px solid var(--po-line); border-radius:10px; background:#dfdcd4; overscroll-behavior:contain; }
    .po-studio #po-pdf-canvas { display:block; max-width:none; margin:0 auto; background:#fff; box-shadow:0 3px 12px #24332f26; }
    .po-studio .po-pdf-text { margin-top:0.75rem; border:1px solid var(--po-line); border-radius:10px; }
    .po-studio .po-pdf-text summary { min-height:44px; padding:0.65rem 0.8rem; color:var(--po-ink); cursor:pointer; font-weight:700; }
    .po-studio #po-preview-page-text { padding:0 0.8rem 0.8rem; white-space:pre-line; overflow-wrap:anywhere; font-size:0.9rem; line-height:1.6; }

}
