/* =====================================
   LC ATELIÊ DO AUTOR
   ===================================== */

.lc-atelie{
    --lc-at-text:#151515;
    --lc-at-muted:#68645f;
    --lc-at-line:rgba(0,0,0,.08);
    --lc-at-card:#fff;
    --lc-at-soft:#f6f4ef;
    --lc-at-accent:#73583b;
    --lc-at-accent-soft:#efe8dc;

    max-width:980px;
    margin:0 auto;
    padding:24px 16px 54px;
    color:var(--lc-at-text);
}

.lc-atelie *{
    box-sizing:border-box;
}


/* HERO */

.lc-atelie-hero,
.lc-atelie-project-hero{
    padding:28px 22px;
    margin-bottom:22px;
    border:1px solid var(--lc-at-line);
    border-radius:26px;
    background:
        radial-gradient(
            circle at top right,
            rgba(115,88,59,.13),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #fff,
            #f8f5ef
        );
}

.lc-atelie-hero h1,
.lc-atelie-project-hero h1{
    max-width:720px;
    margin:0 0 12px;
    font-size:clamp(2rem,7vw,3.4rem);
    line-height:1;
    letter-spacing:-.055em;
}

.lc-atelie-hero p,
.lc-atelie-project-hero p{
    max-width:650px;
    margin:0;
    color:var(--lc-at-muted);
    font-size:1rem;
    line-height:1.6;
}


/* LABELS */

.lc-atelie-kicker,
.lc-atelie-small-label{
    display:inline-flex;
    width:fit-content;
    align-items:center;
    margin-bottom:12px;
    border-radius:999px;
    font-weight:750;
}

.lc-atelie-kicker{
    padding:7px 11px;
    background:var(--lc-at-accent-soft);
    color:var(--lc-at-accent);
    font-size:.75rem;
}

.lc-atelie-small-label{
    margin-bottom:8px;
    color:var(--lc-at-accent);
    font-size:.72rem;
    text-transform:uppercase;
    letter-spacing:.04em;
}

.lc-atelie-private-note{
    width:fit-content;
    margin-top:17px;
    padding:8px 11px;
    border-radius:11px;
    background:rgba(255,255,255,.7);
    color:#5c574f;
    font-size:.78rem;
}


/* NOVO PROJETO */

.lc-atelie-new-project{
    margin-bottom:34px;
    padding:22px;
    border:1px solid var(--lc-at-line);
    border-radius:22px;
    background:#fff;
    box-shadow:0 12px 32px rgba(0,0,0,.045);
}

.lc-atelie-new-project h2,
.lc-atelie-section-head h2{
    margin:0 0 7px;
    font-size:1.45rem;
    letter-spacing:-.035em;
}

.lc-atelie-new-project > p{
    margin:0 0 18px;
    color:var(--lc-at-muted);
    font-size:.9rem;
}


/* FORM */

.lc-atelie-project-form{
    display:grid;
    gap:10px;
}

.lc-atelie-project-form label{
    font-size:.82rem;
    font-weight:700;
}

.lc-atelie-project-form input{
    width:100%;
    min-height:48px;
    padding:0 15px;
    border:1px solid rgba(0,0,0,.13);
    border-radius:13px;
    background:#fafafa;
    color:#111;
    font:inherit;
    outline:none;
}

.lc-atelie-project-form input:focus{
    border-color:rgba(115,88,59,.55);
    box-shadow:0 0 0 3px rgba(115,88,59,.09);
}


/* BUTTON */

.lc-atelie-btn{
    display:inline-flex;
    width:fit-content;
    min-height:44px;
    align-items:center;
    justify-content:center;
    padding:10px 16px;
    border:0;
    border-radius:999px;
    cursor:pointer;
    font:inherit;
    font-size:.88rem;
    font-weight:750;
    text-decoration:none;
}

.lc-atelie-btn-primary{
    background:#171717;
    color:#fff;
}


/* PROJECTS */

.lc-atelie-section-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:16px;
    margin-bottom:14px;
}

.lc-atelie-count{
    display:grid;
    width:32px;
    height:32px;
    place-items:center;
    border-radius:50%;
    background:#eee9e1;
    color:#55432f;
    font-size:.78rem;
    font-weight:800;
}

.lc-atelie-project-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:12px;
}

.lc-atelie-project-card{
    display:flex;
    min-height:150px;
    flex-direction:column;
    padding:18px;
    border:1px solid var(--lc-at-line);
    border-radius:20px;
    background:#fff;
    color:inherit;
    text-decoration:none;
    box-shadow:0 10px 26px rgba(0,0,0,.035);
    transition:
        transform .18s ease,
        box-shadow .18s ease;
}

.lc-atelie-project-card:hover{
    transform:translateY(-2px);
    box-shadow:0 15px 34px rgba(0,0,0,.07);
}

.lc-project-status{
    width:fit-content;
    margin-bottom:14px;
    padding:5px 8px;
    border-radius:999px;
    background:#edf3e8;
    color:#577046;
    font-size:.66rem;
    font-weight:800;
}

.lc-atelie-project-card h3{
    margin:0 0 5px;
    font-size:1.15rem;
    letter-spacing:-.03em;
}

.lc-project-meta{
    color:var(--lc-at-muted);
    font-size:.76rem;
}

.lc-project-open{
    margin-top:auto;
    padding-top:20px;
    color:var(--lc-at-accent);
    font-size:.8rem;
    font-weight:800;
}


/* EMPTY */

.lc-atelie-empty{
    padding:28px 20px;
    border:1px dashed rgba(0,0,0,.14);
    border-radius:20px;
    background:#faf9f7;
    text-align:center;
}

.lc-atelie-empty-icon{
    margin-bottom:9px;
    font-size:1.6rem;
}

.lc-atelie-empty p{
    max-width:430px;
    margin:7px auto 0;
    color:var(--lc-at-muted);
    font-size:.88rem;
    line-height:1.5;
}


/* MESSAGES */

.lc-atelie-message{
    margin-bottom:18px;
    padding:12px 15px;
    border-radius:12px;
    font-size:.86rem;
}

.lc-atelie-message-error{
    background:#f9e8e8;
    color:#8a3333;
}


/* PROJECT VIEW */

.lc-atelie-back{
    display:inline-block;
    margin-bottom:17px;
    color:#555;
    font-size:.82rem;
    text-decoration:none;
}

.lc-atelie-proof{
    display:flex;
    gap:14px;
    align-items:flex-start;
    padding:18px;
    border:1px solid var(--lc-at-line);
    border-radius:18px;
    background:#f8f7f4;
}

.lc-proof-check{
    display:grid;
    flex:0 0 36px;
    width:36px;
    height:36px;
    place-items:center;
    border-radius:50%;
    background:#e6efdf;
    color:#50703f;
    font-weight:900;
}

.lc-atelie-proof strong{
    display:block;
    margin-bottom:4px;
}

.lc-atelie-proof p{
    margin:0;
    color:var(--lc-at-muted);
    font-size:.84rem;
    line-height:1.5;
}


/* LOGIN */

.lc-atelie-login{
    max-width:700px;
}

.lc-atelie-login > p{
    max-width:600px;
    color:var(--lc-at-muted);
    line-height:1.6;
}

.lc-atelie-privacidade{
    margin-bottom:20px;
}


/* DESKTOP */

@media (min-width:700px){

    .lc-atelie{
        padding:38px 24px 70px;
    }

    .lc-atelie-hero,
    .lc-atelie-project-hero{
        padding:38px 34px;
    }

    .lc-atelie-new-project{
        padding:26px;
    }

    .lc-atelie-project-form{
        grid-template-columns:
            minmax(0,1fr)
            auto;
        align-items:end;
    }

    .lc-atelie-project-form label{
        grid-column:1 / -1;
    }

    .lc-atelie-project-grid{
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }
}


/* MOTION */

@media (prefers-reduced-motion:reduce){

    .lc-atelie-project-card{
        transition:none;
    }

    .lc-atelie-project-card:hover{
        transform:none;
    }
}

/* =====================================
   EDITOR IMERSIVO
   ===================================== */

.lc-editor-project-head{
    display:flex;
    flex-wrap:wrap;
    align-items:flex-end;
    justify-content:space-between;
    gap:16px;
    margin-bottom:20px;
}

.lc-editor-project-head h1{
    margin:0;
    font-size:clamp(1.7rem,5vw,2.7rem);
    line-height:1.05;
    letter-spacing:-.05em;
}

.lc-project-progress{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:4px;
    color:var(--lc-at-muted);
    font-size:.78rem;
}

.lc-project-progress strong{
    color:#222;
}

.lc-progress-separator{
    margin:0 3px;
}


/* PILHA / CUBOS */

.lc-chapter-stack{
    display:flex;
    gap:8px;
    overflow-x:auto;
    margin-bottom:16px;
    padding:2px 2px 8px;
    scrollbar-width:none;
}

.lc-chapter-stack::-webkit-scrollbar{
    display:none;
}

.lc-chapter-cube{
    display:inline-flex;
    flex:0 0 auto;
    align-items:center;
    gap:7px;
    min-height:38px;
    padding:7px 11px;
    border:1px solid var(--lc-at-line);
    border-radius:12px;
    background:#f2f0eb;
    color:#555;
    font-size:.76rem;
    font-weight:700;
    text-decoration:none;
    transition:
        transform .18s ease,
        background .18s ease,
        border-color .18s ease;
}

.lc-chapter-cube:hover{
    transform:translateY(-1px);
}

.lc-chapter-cube.is-complete{
    background:#ebe8e1;
    color:#666;
}

.lc-chapter-cube.is-current{
    background:#fff;
    color:#30271e;
}

.lc-chapter-cube.is-selected{
    border-color:rgba(115,88,59,.45);
    box-shadow:
        0 0 0 3px rgba(115,88,59,.07);
}

.lc-cube-status{
    display:grid;
    width:19px;
    height:19px;
    place-items:center;
    border-radius:50%;
    background:#fff;
    font-size:.66rem;
}


/* PALCO */

.lc-writing-stage{
    overflow:hidden;
    border:1px solid var(--lc-at-line);
    border-radius:24px;
    background:#fff;
    box-shadow:
        0 18px 46px rgba(0,0,0,.055);
}

.lc-writing-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:18px;
    padding:20px 20px 15px;
    border-bottom:1px solid var(--lc-at-line);
}

.lc-writing-head h2{
    margin:0;
    font-size:1.45rem;
    line-height:1.1;
    letter-spacing:-.04em;
}

.lc-word-count{
    flex:0 0 auto;
    color:var(--lc-at-muted);
    font-size:.72rem;
}

.lc-word-count strong{
    color:#333;
}


/* PROMPT */

.lc-writing-prompt,
.lc-past-chapter-note{
    margin:16px 20px 0;
    padding:10px 12px;
    border-radius:12px;
    font-size:.78rem;
    line-height:1.45;
}

.lc-writing-prompt{
    background:#faf7f0;
    color:#70624e;
}

.lc-past-chapter-note{
    background:#f3f3f2;
    color:#686868;
}


/* TOOLBAR */

.lc-writing-toolbar{
    display:flex;
    gap:6px;
    padding:14px 20px 8px;
}

.lc-format-button{
    display:grid;
    width:36px;
    height:36px;
    place-items:center;
    border:1px solid rgba(0,0,0,.09);
    border-radius:10px;
    background:#fafafa;
    color:#222;
    cursor:pointer;
    font-family:Georgia, serif;
    font-size:.94rem;
}

.lc-format-button:hover{
    background:#f1efe9;
}


/* EDITOR */

.lc-writing-editor{
    width:100%;
    min-height:440px;
    padding:20px;
    border:0;
    outline:none;
    background:#fff;
    color:#242424;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:1.08rem;
    line-height:1.82;

    caret-color:#6c5236;
}

.lc-writing-editor:empty::before{
    content:attr(data-placeholder);
    color:#aaa59e;
    pointer-events:none;
}

.lc-writing-editor p{
    margin:0 0 1.15em;
}

.lc-writing-editor strong{
    font-weight:700;
}

.lc-writing-editor em{
    font-style:italic;
}


/* AÇÕES */

.lc-writing-actions{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:flex-end;
    gap:9px;
    padding:14px 20px 18px;
    border-top:1px solid var(--lc-at-line);
    background:#fbfbfa;
}

.lc-btn-secondary{
    border:1px solid rgba(0,0,0,.10);
    background:#f1efeb;
    color:#333;
}

.lc-save-feedback{
    width:fit-content;
    margin:0 0 14px;
    padding:7px 10px;
    border-radius:10px;
    background:#edf5e8;
    color:#4e703d;
    font-size:.76rem;
    font-weight:700;
}

/* =====================================
   ATELIÊ: REMOVER RODAPÉ GERAL DO SITE
   ===================================== */

body.lc-atelie-page footer.wp-block-template-part,
body.lc-atelie-page .wp-site-blocks > footer,
body.lc-atelie-page footer.site-footer,
body.lc-atelie-page #colophon {
    display: none !important;
}

/* =====================================
   NAVEGAÇÃO / CONTA
   ===================================== */

.lc-atelie-account-bar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    margin-bottom:18px;
}

.lc-atelie-account-link,
.lc-atelie-account-bar .lc-atelie-back{
    color:#68645f;
    font-size:.78rem;
    font-weight:650;
    text-decoration:none;
}

.lc-atelie-account-link:hover,
.lc-atelie-account-bar .lc-atelie-back:hover{
    color:#171717;
}

.lc-atelie-logout{
    padding:6px 10px;
    border:1px solid rgba(0,0,0,.09);
    border-radius:999px;
    background:#fafafa;
}

/* =====================================
   ZONA DE EXCLUSÃO
   ===================================== */

.lc-project-danger-zone{
    display:flex;
    justify-content:flex-end;
    margin-top:28px;
    padding-top:18px;
    border-top:1px solid rgba(0,0,0,.07);
}

.lc-delete-project-button{
    padding:7px 10px;
    border:0;
    background:transparent;
    color:#9a5454;
    cursor:pointer;
    font:inherit;
    font-size:.75rem;
    text-decoration:underline;
    text-underline-offset:3px;
}

.lc-delete-project-button:hover{
    color:#721f1f;
}

/* =====================================
   ESTADO DO AUTOSAVE
   ===================================== */

.lc-writing-save-state{
    display:inline-flex;
    align-items:center;
    margin-left:auto;
}

.lc-save-status{
    display:inline-flex;
    align-items:center;
    gap:5px;
    color:#77716a;
    font-size:.70rem;
    font-weight:650;
    white-space:nowrap;
}

.lc-save-status::before{
    content:"";
    width:6px;
    height:6px;
    border-radius:50%;
    background:#aaa49c;
}

.lc-save-status.is-saved{
    color:#567249;
}

.lc-save-status.is-saved::before{
    background:#6d9858;
}

.lc-save-status.is-saving{
    color:#806d47;
}

.lc-save-status.is-saving::before{
    background:#b3975d;
}

.lc-save-status.is-pending{
    color:#806d47;
}

.lc-save-status.is-pending::before{
    background:#c3a262;
}

.lc-save-status.is-error{
    color:#984c4c;
}

.lc-save-status.is-error::before{
    background:#b95757;
}

/* =====================================
   RECUPERAÇÃO DE RASCUNHO LOCAL
   ===================================== */

.lc-emergency-recovery{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    margin:16px 20px 4px;
    padding:14px 15px;
    border:1px solid rgba(166,126,47,.20);
    border-radius:14px;
    background:#fff9e9;
}

.lc-emergency-recovery__content{
    min-width:0;
}

.lc-emergency-recovery strong{
    display:block;
    margin-bottom:3px;
    color:#654f26;
    font-size:.82rem;
}

.lc-emergency-recovery p{
    margin:0;
    color:#7d6d4d;
    font-size:.75rem;
    line-height:1.4;
}

.lc-emergency-recovery__actions{
    display:flex;
    flex:0 0 auto;
    gap:7px;
}

.lc-recovery-button{
    min-height:34px;
    padding:7px 11px;
    border-radius:999px;
    cursor:pointer;
    font:inherit;
    font-size:.72rem;
    font-weight:750;
}

.lc-recovery-button--primary{
    border:0;
    background:#29231b;
    color:#fff;
}

.lc-recovery-button--secondary{
    border:1px solid rgba(0,0,0,.10);
    background:#fff;
    color:#67615a;
}

@media (max-width:600px){

    .lc-emergency-recovery{
        align-items:flex-start;
        flex-direction:column;
        margin-left:16px;
        margin-right:16px;
    }

    .lc-emergency-recovery__actions{
        width:100%;
    }

    .lc-recovery-button{
        flex:1;
    }
}

/* =====================================
   PLANEJAMENTO DA HISTÓRIA
   ===================================== */

.lc-planning-project-head{
    display:flex;
    flex-wrap:wrap;
    align-items:flex-end;
    justify-content:space-between;
    gap:18px;
    margin-bottom:24px;
}

.lc-planning-project-head h1{
    margin:0;
    font-size:clamp(1.7rem,5vw,2.7rem);
    line-height:1.05;
    letter-spacing:-.05em;
}

.lc-planning-head-actions,
.lc-atelie-account-actions{
    display:flex;
    align-items:center;
    gap:8px;
}

.lc-planning-secondary-button{
    display:inline-flex;
    min-height:42px;
    align-items:center;
    padding:9px 14px;
    border:1px solid rgba(0,0,0,.10);
    border-radius:999px;
    background:#f7f5f1;
    color:#39342e;
    font-size:.8rem;
    font-weight:700;
    text-decoration:none;
}


/* WORKSPACE */

.lc-project-workspace{
    display:grid;
    grid-template-columns:210px minmax(0,1fr);
    gap:24px;
}


/* SIDEBAR */

.lc-project-sidebar{
    padding:18px 12px;
    border:1px solid var(--lc-at-line);
    border-radius:20px;
    background:#252019;
    color:#fff;
    align-self:start;
}

.lc-project-sidebar-label{
    display:block;
    margin:3px 8px 9px;
    color:rgba(255,255,255,.55);
    font-size:.67rem;
    font-weight:800;
    letter-spacing:.06em;
    text-transform:uppercase;
}

.lc-project-nav-item{
    display:flex;
    align-items:center;
    gap:9px;
    min-height:42px;
    margin:3px 0;
    padding:8px 10px;
    border-radius:11px;
    color:rgba(255,255,255,.82);
    font-size:.78rem;
    font-weight:650;
    text-decoration:none;
}

.lc-project-nav-item.is-active{
    background:#e8dcc8;
    color:#352719;
}

.lc-project-nav-item.is-future{
    cursor:default;
    opacity:.52;
}

.lc-project-nav-item small{
    margin-left:auto;
    font-size:.58rem;
    font-weight:600;
}

.lc-project-sidebar-divider{
    height:1px;
    margin:16px 8px;
    background:rgba(255,255,255,.14);
}


/* MAIN */

.lc-planning-main{
    min-width:0;
}

.lc-planning-intro{
    display:grid;
    grid-template-columns:auto minmax(0,1fr) 260px;
    gap:16px;
    align-items:start;
    margin-bottom:20px;
}

.lc-planning-icon{
    display:grid;
    width:46px;
    height:46px;
    place-items:center;
    border-radius:13px;
    background:#f3e5cf;
    color:#765323;
    font-size:1.25rem;
}

.lc-planning-intro h2{
    margin:0 0 6px;
    font-size:clamp(1.7rem,4vw,2.5rem);
    letter-spacing:-.05em;
}

.lc-planning-intro p{
    max-width:620px;
    margin:0;
    color:var(--lc-at-muted);
    line-height:1.55;
}

.lc-planning-note{
    padding:13px 14px;
    border:1px solid rgba(139,94,46,.12);
    border-radius:14px;
    background:#faf4e9;
    color:#68553e;
    font-size:.74rem;
    line-height:1.45;
}

.lc-planning-note strong,
.lc-planning-note span{
    display:block;
}

.lc-planning-note strong{
    margin-bottom:3px;
}


/* GRID */

.lc-planning-grid{
    display:grid;
    grid-template-columns:
        repeat(2,minmax(0,1fr));
    gap:12px;
}

.lc-planning-card{
    position:relative;
    padding:17px;
    border:1px solid var(--lc-at-line);
    border-radius:17px;
    background:#fff;
    box-shadow:
        0 8px 22px rgba(0,0,0,.025);
}

.lc-planning-card label{
    display:block;
    margin-bottom:11px;
}

.lc-planning-card label strong{
    display:block;
    margin-bottom:3px;
    font-size:1rem;
    letter-spacing:-.02em;
}

.lc-planning-card label span{
    color:var(--lc-at-muted);
    font-size:.76rem;
    line-height:1.4;
}

.lc-planning-card textarea{
    width:100%;
    min-height:112px;
    resize:vertical;
    padding:12px 13px;
    border:1px solid rgba(0,0,0,.10);
    border-radius:11px;
    background:#fcfbf9;
    color:#252525;
    font:inherit;
    font-size:.84rem;
    line-height:1.55;
    outline:none;
}

.lc-planning-card textarea:focus{
    border-color:rgba(115,88,59,.48);
    box-shadow:
        0 0 0 3px rgba(115,88,59,.07);
}

.lc-planning-counter{
    margin-top:5px;
    color:#99938b;
    font-size:.66rem;
    text-align:right;
}


/* ACTION */

.lc-planning-actions{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
    margin-top:14px;
    padding:14px 4px;
}

.lc-planning-actions > span{
    color:var(--lc-at-muted);
    font-size:.73rem;
}


/* NEXT */

.lc-planning-next{
    margin-top:24px;
    padding:20px;
    border-radius:19px;
    background:#f7f1e7;
}

.lc-planning-next h3{
    margin:0 0 14px;
    font-size:1.15rem;
    letter-spacing:-.03em;
}

.lc-planning-next-grid{
    display:grid;
    grid-template-columns:
        repeat(3,minmax(0,1fr));
    gap:10px;
}

.lc-planning-next-grid > div{
    padding:14px;
    border:1px solid rgba(0,0,0,.06);
    border-radius:13px;
    background:#fff;
}

.lc-planning-next-grid strong,
.lc-planning-next-grid span{
    display:block;
}

.lc-planning-next-grid strong{
    margin-bottom:4px;
    font-size:.86rem;
}

.lc-planning-next-grid span{
    color:var(--lc-at-muted);
    font-size:.72rem;
    line-height:1.4;
}


/* MOBILE */

@media (max-width:800px){

    .lc-project-workspace{
        grid-template-columns:1fr;
    }

    .lc-project-sidebar{
        display:flex;
        overflow-x:auto;
        gap:5px;
        padding:8px;
        border-radius:15px;
        scrollbar-width:none;
    }

    .lc-project-sidebar::-webkit-scrollbar{
        display:none;
    }

    .lc-project-sidebar-label,
    .lc-project-sidebar-divider{
        display:none;
    }

    .lc-project-nav-item{
        flex:0 0 auto;
        margin:0;
        white-space:nowrap;
    }

    .lc-project-nav-item small{
        display:none;
    }

    .lc-planning-intro{
        grid-template-columns:auto 1fr;
    }

    .lc-planning-note{
        grid-column:1 / -1;
    }

    .lc-planning-grid{
        grid-template-columns:1fr;
    }

    .lc-planning-next-grid{
        grid-template-columns:1fr;
    }
}


@media (max-width:600px){

    .lc-planning-project-head{
        align-items:flex-start;
        flex-direction:column;
    }

    .lc-planning-head-actions{
        width:100%;
    }

    .lc-planning-head-actions a{
        flex:1;
        text-align:center;
        justify-content:center;
    }

    .lc-planning-intro{
        grid-template-columns:1fr;
    }

    .lc-planning-icon{
        display:none;
    }

    .lc-planning-note{
        grid-column:auto;
    }

    .lc-planning-actions{
        align-items:stretch;
        flex-direction:column;
    }

    .lc-planning-actions .lc-atelie-btn{
        width:100%;
    }
}

/* =====================================
   FOCO NARRATIVO
   ===================================== */

.lc-narrative-focus{
    margin-top:18px;
    padding:20px;
    border:1px solid rgba(112,82,48,.11);
    border-radius:19px;
    background:#f8f3ea;
}

.lc-narrative-focus-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:24px;
    margin-bottom:16px;
}

.lc-narrative-focus-head h3{
    margin:2px 0 5px;
    font-size:1.35rem;
    letter-spacing:-.035em;
}

.lc-narrative-focus-head p{
    margin:0;
    color:var(--lc-at-muted);
    font-size:.8rem;
}

.lc-narrative-focus-note{
    max-width:280px;
    padding:11px 13px;
    border-radius:12px;
    background:rgba(255,255,255,.62);
    color:#71604c;
    font-size:.7rem;
    line-height:1.45;
}

.lc-narrative-focus-note strong,
.lc-narrative-focus-note span{
    display:block;
}

.lc-narrative-focus-note strong{
    margin-bottom:2px;
}

.lc-narrative-focus-grid{
    display:grid;
    grid-template-columns:
        repeat(2,minmax(0,1fr));
    gap:12px;
}

.lc-planning-select{
    width:100%;
    min-height:46px;
    padding:10px 38px 10px 12px;
    border:1px solid rgba(0,0,0,.10);
    border-radius:11px;
    background:#fcfbf9;
    color:#29251f;
    font:inherit;
    font-size:.84rem;
    outline:none;
}

.lc-planning-select:focus{
    border-color:rgba(115,88,59,.48);
    box-shadow:
        0 0 0 3px
        rgba(115,88,59,.07);
}

.lc-focus-description{
    min-height:38px;
    margin-top:9px;
    padding:9px 10px;
    border-radius:9px;
    background:#f7f4ef;
    color:#777067;
    font-size:.7rem;
    line-height:1.45;
}


@media (max-width:800px){

    .lc-narrative-focus-grid{
        grid-template-columns:1fr;
    }

}


@media (max-width:600px){

    .lc-narrative-focus{
        padding:16px;
    }

    .lc-narrative-focus-head{
        flex-direction:column;
    }

    .lc-narrative-focus-note{
        max-width:none;
        width:100%;
    }

}

/* =====================================
   PERSONAGENS
   ===================================== */

.lc-characters-head{
    margin-bottom:24px;
}

.lc-characters-head h1{
    margin:2px 0 5px;
    font-size:clamp(1.8rem,5vw,2.7rem);
    letter-spacing:-.05em;
}

.lc-characters-head p{
    margin:0;
    color:var(--lc-at-muted);
}

.lc-characters-main{
    min-width:0;
}

.lc-characters-intro{
    display:grid;
    grid-template-columns:auto 1fr;
    gap:15px;
    align-items:start;
    margin-bottom:18px;
}

.lc-characters-intro h2{
    margin:0 0 5px;
    font-size:clamp(1.5rem,4vw,2.2rem);
    letter-spacing:-.045em;
}

.lc-characters-intro p{
    max-width:650px;
    margin:0;
    color:var(--lc-at-muted);
    line-height:1.55;
}


/* NOVO PERSONAGEM */

.lc-character-create{
    display:flex;
    align-items:flex-end;
    gap:10px;
    margin-bottom:22px;
    padding:15px;
    border:1px solid var(--lc-at-line);
    border-radius:16px;
    background:#fff;
}

.lc-character-create > div{
    flex:1;
}

.lc-character-create label{
    display:block;
    margin-bottom:6px;
    font-size:.72rem;
    font-weight:750;
}

.lc-character-create input{
    width:100%;
    min-height:44px;
    padding:9px 12px;
    border:1px solid rgba(0,0,0,.11);
    border-radius:10px;
    background:#fcfbf9;
    color:#252525;
    font:inherit;
    outline:none;
}

.lc-character-create input:focus{
    border-color:rgba(115,88,59,.48);
    box-shadow:
        0 0 0 3px
        rgba(115,88,59,.07);
}


/* EMPTY */

.lc-characters-empty{
    padding:30px;
    border:1px dashed rgba(0,0,0,.13);
    border-radius:18px;
    background:#faf8f5;
    text-align:center;
}

.lc-characters-empty strong{
    display:block;
    margin-bottom:6px;
}

.lc-characters-empty p{
    max-width:520px;
    margin:0 auto;
    color:var(--lc-at-muted);
    font-size:.82rem;
    line-height:1.55;
}


/* CARDS */

.lc-character-grid{
    display:grid;
    grid-template-columns:
        repeat(2,minmax(0,1fr));
    gap:12px;
}

.lc-character-card{
    display:grid;
    grid-template-columns:auto 1fr;
    gap:14px;
    align-items:start;
    padding:18px;
    border:1px solid var(--lc-at-line);
    border-radius:17px;
    background:#fff;
    box-shadow:
        0 8px 22px
        rgba(0,0,0,.025);
}

.lc-character-avatar{
    display:grid;
    width:48px;
    height:48px;
    place-items:center;
    border-radius:50%;
    background:#eee1cc;
    color:#624725;
    font-family:Georgia,serif;
    font-size:1.15rem;
    font-weight:700;
}

.lc-character-card h3{
    margin:2px 0 5px;
    font-size:1.08rem;
    letter-spacing:-.025em;
}

.lc-character-card p{
    margin:0;
    color:var(--lc-at-muted);
    font-size:.74rem;
    line-height:1.45;
}


@media (max-width:700px){

    .lc-character-grid{
        grid-template-columns:1fr;
    }

    .lc-character-create{
        align-items:stretch;
        flex-direction:column;
    }

    .lc-character-create button{
        width:100%;
    }

}


@media (max-width:600px){

    .lc-characters-intro{
        grid-template-columns:1fr;
    }

    .lc-characters-intro
    .lc-planning-icon{
        display:none;
    }

}

/* =====================================
   FICHA NARRATIVA DO PERSONAGEM
   ===================================== */

.lc-character-card{
    color:inherit;
    text-decoration:none;
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease;
}

.lc-character-card:hover{
    transform:translateY(-2px);
    border-color:rgba(100,72,42,.22);
    box-shadow:
        0 12px 28px
        rgba(0,0,0,.055);
}

.lc-character-card-action{
    display:inline-block;
    margin-top:9px;
    color:#785a35;
    font-size:.7rem;
    font-weight:750;
}


/* CABEÇALHO */

.lc-character-sheet-main{
    min-width:0;
}

.lc-character-sheet-head{
    display:grid;
    grid-template-columns:auto 1fr;
    gap:16px;
    align-items:center;
    margin-bottom:22px;
}

.lc-character-sheet-avatar{
    display:grid;
    width:64px;
    height:64px;
    place-items:center;
    border-radius:18px;
    background:#eadcc6;
    color:#5d4223;
    font-family:Georgia,serif;
    font-size:1.55rem;
    font-weight:700;
}

.lc-character-sheet-head h1{
    margin:2px 0 5px;
    font-size:clamp(1.8rem,5vw,2.65rem);
    letter-spacing:-.05em;
}

.lc-character-sheet-head p{
    max-width:620px;
    margin:0;
    color:var(--lc-at-muted);
    line-height:1.5;
}


/* IDENTIDADE */

.lc-character-identity-grid,
.lc-character-fields-grid{
    display:grid;
    grid-template-columns:
        repeat(2,minmax(0,1fr));
    gap:12px;
}

.lc-character-field-card{
    padding:17px;
    border:1px solid var(--lc-at-line);
    border-radius:17px;
    background:#fff;
    box-shadow:
        0 8px 22px
        rgba(0,0,0,.025);
}

.lc-character-field-card.is-wide{
    grid-column:1 / -1;
}

.lc-character-field-card label{
    display:block;
    margin-bottom:10px;
}

.lc-character-field-card label strong{
    display:block;
    margin-bottom:3px;
    font-size:.96rem;
}

.lc-character-field-card label span{
    display:block;
    color:var(--lc-at-muted);
    font-size:.73rem;
    line-height:1.4;
}

.lc-character-field-card input,
.lc-character-field-card select,
.lc-character-field-card textarea{
    width:100%;
    padding:11px 12px;
    border:1px solid rgba(0,0,0,.10);
    border-radius:11px;
    background:#fcfbf9;
    color:#292622;
    font:inherit;
    font-size:.84rem;
    outline:none;
}

.lc-character-field-card input,
.lc-character-field-card select{
    min-height:45px;
}

.lc-character-field-card textarea{
    min-height:110px;
    resize:vertical;
    line-height:1.55;
}

.lc-character-field-card input:focus,
.lc-character-field-card select:focus,
.lc-character-field-card textarea:focus{
    border-color:rgba(115,88,59,.48);
    box-shadow:
        0 0 0 3px
        rgba(115,88,59,.07);
}


/* SEÇÃO */

.lc-character-section-head{
    margin:28px 0 14px;
}

.lc-character-section-head h2{
    margin:2px 0 5px;
    font-size:1.45rem;
    letter-spacing:-.035em;
}

.lc-character-section-head p{
    max-width:620px;
    margin:0;
    color:var(--lc-at-muted);
    font-size:.8rem;
    line-height:1.5;
}


/* AÇÕES */

.lc-character-sheet-actions{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin-top:15px;
    padding:14px 3px;
}

.lc-character-sheet-actions span{
    color:var(--lc-at-muted);
    font-size:.72rem;
}


@media (max-width:700px){

    .lc-character-identity-grid,
    .lc-character-fields-grid{
        grid-template-columns:1fr;
    }

    .lc-character-field-card.is-wide{
        grid-column:auto;
    }

}


@media (max-width:600px){

    .lc-character-sheet-head{
        grid-template-columns:1fr;
    }

    .lc-character-sheet-avatar{
        width:54px;
        height:54px;
        border-radius:15px;
    }

    .lc-character-sheet-actions{
        align-items:stretch;
        flex-direction:column;
    }

    .lc-character-sheet-actions button{
        width:100%;
    }

}

/* =====================================
   PERSONAGEM — PONTO DE VISTA
   ===================================== */

.lc-character-pov{
    margin-top:20px;
    padding:19px;
    border:1px solid rgba(114,82,46,.12);
    border-radius:19px;
    background:#f8f2e8;
}

.lc-character-pov-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:24px;
    margin-bottom:15px;
}

.lc-character-pov-head h2{
    margin:2px 0 5px;
    font-size:1.4rem;
    letter-spacing:-.035em;
}

.lc-character-pov-head p{
    max-width:570px;
    margin:0;
    color:var(--lc-at-muted);
    font-size:.79rem;
    line-height:1.5;
}

.lc-character-pov-context{
    flex:0 0 auto;
    min-width:190px;
    padding:11px 13px;
    border-radius:12px;
    background:rgba(255,255,255,.68);
}

.lc-character-pov-context span,
.lc-character-pov-context strong{
    display:block;
}

.lc-character-pov-context span{
    margin-bottom:3px;
    color:#8a8176;
    font-size:.62rem;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.045em;
}

.lc-character-pov-context strong{
    color:#59452e;
    font-size:.78rem;
}

.lc-character-pov-grid{
    display:grid;
    grid-template-columns:
        repeat(2,minmax(0,1fr));
    gap:12px;
}


/* BADGE NA GALERIA */

.lc-character-pov-badge{
    display:inline-flex;
    align-items:center;
    margin:2px 0 7px;
    padding:4px 8px;
    border-radius:999px;
    background:#f3e4cb;
    color:#705027;
    font-size:.62rem;
    font-weight:800;
    letter-spacing:.015em;
}


@media (max-width:700px){

    .lc-character-pov-grid{
        grid-template-columns:1fr;
    }

}


@media (max-width:600px){

    .lc-character-pov{
        padding:16px;
    }

    .lc-character-pov-head{
        flex-direction:column;
    }

    .lc-character-pov-context{
        width:100%;
        min-width:0;
    }

}

/* =====================================
   RELAÇÕES ENTRE PERSONAGENS
   ===================================== */

.lc-character-relations{
    margin-top:30px;
    padding-top:6px;
}


/* CRIAÇÃO */

.lc-relationship-create{
    margin-top:16px;
    padding:18px;
    border:1px solid rgba(106,76,43,.12);
    border-radius:19px;
    background:#f8f3eb;
}

.lc-relationship-create-head{
    margin-bottom:14px;
}

.lc-relationship-create-head strong,
.lc-relationship-create-head span{
    display:block;
}

.lc-relationship-create-head strong{
    margin-bottom:2px;
    font-size:.95rem;
}

.lc-relationship-create-head span{
    color:var(--lc-at-muted);
    font-size:.73rem;
}

.lc-relationship-form-grid{
    display:grid;
    grid-template-columns:
        repeat(2,minmax(0,1fr));
    gap:12px;
}

.lc-relationship-create-actions{
    display:flex;
    justify-content:flex-end;
    margin-top:12px;
}


/* CARDS */

.lc-relationship-list{
    display:grid;
    gap:12px;
    margin-top:20px;
}

.lc-relationship-card{
    padding:18px;
    border:1px solid var(--lc-at-line);
    border-radius:18px;
    background:#fff;
    box-shadow:
        0 8px 22px
        rgba(0,0,0,.025);
}

.lc-relationship-card-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
}

.lc-relationship-card h3{
    margin:7px 0 0;
    font-size:1.12rem;
    letter-spacing:-.025em;
}

.lc-relationship-card h3 span{
    margin:0 5px;
    color:#a99c8c;
    font-weight:400;
}

.lc-relationship-nature{
    display:inline-flex;
    padding:4px 8px;
    border-radius:999px;
    background:#eee2d0;
    color:#684d2d;
    font-size:.61rem;
    font-weight:800;
}

.lc-relationship-summary{
    display:grid;
    grid-template-columns:
        repeat(3,minmax(0,1fr));
    gap:10px;
    margin-top:14px;
}

.lc-relationship-summary > div{
    padding:11px;
    border-radius:11px;
    background:#faf8f4;
}

.lc-relationship-summary strong{
    display:block;
    margin-bottom:4px;
    font-size:.68rem;
}

.lc-relationship-summary p{
    margin:0;
    color:var(--lc-at-muted);
    font-size:.72rem;
    line-height:1.48;
}


/* EDITAR */

.lc-relationship-edit{
    margin-top:14px;
    border-top:
        1px solid rgba(0,0,0,.06);
    padding-top:11px;
}

.lc-relationship-edit summary{
    cursor:pointer;
    color:#705537;
    font-size:.7rem;
    font-weight:750;
}

.lc-relationship-edit form{
    display:grid;
    gap:8px;
    margin-top:13px;
}

.lc-relationship-edit label{
    margin-top:5px;
    font-size:.68rem;
    font-weight:750;
}

.lc-relationship-edit select,
.lc-relationship-edit textarea{
    width:100%;
    padding:10px 11px;
    border:1px solid rgba(0,0,0,.10);
    border-radius:10px;
    background:#fcfbf9;
    color:#292622;
    font:inherit;
    font-size:.8rem;
}

.lc-relationship-edit textarea{
    resize:vertical;
    line-height:1.5;
}

.lc-relationship-edit button{
    justify-self:start;
    margin-top:5px;
}


/* EXCLUIR */

.lc-relationship-delete{
    margin-top:9px;
}

.lc-relationship-delete-button{
    padding:0;
    border:0;
    background:transparent;
    color:#a15c55;
    cursor:pointer;
    font:inherit;
    font-size:.65rem;
    font-weight:700;
}


/* CONTADOR NO PERSONAGEM */

.lc-character-relation-count{
    display:inline-flex;
    margin:2px 0 7px 5px;
    padding:4px 8px;
    border-radius:999px;
    background:#f2f0ec;
    color:#736b62;
    font-size:.61rem;
    font-weight:750;
}


/* =====================================
   VISÃO GERAL DAS RELAÇÕES
   ===================================== */

.lc-relations-overview{
    margin-top:32px;
    padding-top:24px;
    border-top:
        1px solid var(--lc-at-line);
}

.lc-relations-overview-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:20px;
    margin-bottom:16px;
}

.lc-relations-overview-head h2{
    margin:2px 0 5px;
    font-size:1.45rem;
    letter-spacing:-.04em;
}

.lc-relations-overview-head p{
    max-width:600px;
    margin:0;
    color:var(--lc-at-muted);
    font-size:.79rem;
    line-height:1.5;
}

.lc-relations-total{
    flex:0 0 auto;
    padding:6px 10px;
    border-radius:999px;
    background:#f0e7da;
    color:#6b5134;
    font-size:.67rem;
    font-weight:800;
}

.lc-relations-overview-grid{
    display:grid;
    grid-template-columns:
        repeat(2,minmax(0,1fr));
    gap:11px;
}

.lc-relations-overview-card{
    padding:15px;
    border:1px solid var(--lc-at-line);
    border-radius:15px;
    background:#fff;
}

.lc-relations-pair{
    display:flex;
    align-items:center;
    gap:7px;
    margin-top:9px;
}

.lc-relations-pair strong{
    font-size:.9rem;
}

.lc-relations-pair span{
    color:#aa9d8d;
}

.lc-relations-overview-card p{
    margin:9px 0 0;
    color:var(--lc-at-muted);
    font-size:.72rem;
    line-height:1.45;
}

.lc-relations-overview-links{
    display:flex;
    flex-wrap:wrap;
    gap:7px;
    margin-top:11px;
}

.lc-relations-overview-links a{
    padding:5px 8px;
    border-radius:999px;
    background:#f6f3ee;
    color:#644d32;
    font-size:.63rem;
    font-weight:750;
    text-decoration:none;
}


@media (max-width:800px){

    .lc-relationship-summary{
        grid-template-columns:1fr;
    }

}


@media (max-width:700px){

    .lc-relationship-form-grid,
    .lc-relations-overview-grid{
        grid-template-columns:1fr;
    }

}


@media (max-width:600px){

    .lc-relations-overview-head{
        flex-direction:column;
    }

    .lc-relationship-create-actions{
        display:block;
    }

    .lc-relationship-create-actions button{
        width:100%;
    }

}

/* =====================================
   CENAS
   ===================================== */

.lc-scenes-head{
    margin-bottom:24px;
}

.lc-scenes-head h1{
    margin:2px 0 5px;
    font-size:clamp(1.8rem,5vw,2.7rem);
    letter-spacing:-.05em;
}

.lc-scenes-head p{
    margin:0;
    color:var(--lc-at-muted);
}

.lc-scenes-main{
    min-width:0;
}

.lc-scenes-intro{
    display:grid;
    grid-template-columns:auto 1fr;
    gap:15px;
    align-items:start;
    margin-bottom:18px;
}

.lc-scenes-intro h2{
    margin:0 0 5px;
    font-size:clamp(1.5rem,4vw,2.2rem);
    letter-spacing:-.045em;
}

.lc-scenes-intro p{
    max-width:650px;
    margin:0;
    color:var(--lc-at-muted);
    line-height:1.55;
}


/* CRIAR CENA */

.lc-scene-create{
    display:flex;
    align-items:flex-end;
    gap:10px;
    margin-bottom:22px;
    padding:15px;
    border:1px solid var(--lc-at-line);
    border-radius:16px;
    background:#fff;
}

.lc-scene-create > div{
    flex:1;
}

.lc-scene-create label{
    display:block;
    margin-bottom:6px;
    font-size:.72rem;
    font-weight:750;
}

.lc-scene-create input{
    width:100%;
    min-height:44px;
    padding:9px 12px;
    border:1px solid rgba(0,0,0,.11);
    border-radius:10px;
    background:#fcfbf9;
    color:#252525;
    font:inherit;
    outline:none;
}

.lc-scene-create input:focus{
    border-color:
        rgba(115,88,59,.48);

    box-shadow:
        0 0 0 3px
        rgba(115,88,59,.07);
}


/* GRID */

.lc-scene-grid{
    display:grid;
    grid-template-columns:
        repeat(2,minmax(0,1fr));
    gap:12px;
}

.lc-scene-card{
    display:grid;
    grid-template-columns:auto 1fr;
    gap:14px;
    align-items:start;
    padding:18px;
    border:1px solid var(--lc-at-line);
    border-radius:17px;
    background:#fff;
    box-shadow:
        0 8px 22px
        rgba(0,0,0,.025);
}

.lc-scene-number{
    display:grid;
    width:44px;
    height:44px;
    place-items:center;
    border-radius:12px;
    background:#eee2d1;
    color:#694b27;
    font-family:Georgia,serif;
    font-size:1rem;
    font-weight:700;
}

.lc-scene-card-content h3{
    margin:2px 0 5px;
    font-size:1.03rem;
    letter-spacing:-.025em;
}

.lc-scene-card-content p{
    margin:0;
    color:var(--lc-at-muted);
    font-size:.73rem;
    line-height:1.45;
}


@media (max-width:700px){

    .lc-scene-grid{
        grid-template-columns:1fr;
    }

    .lc-scene-create{
        align-items:stretch;
        flex-direction:column;
    }

    .lc-scene-create button{
        width:100%;
    }

}


@media (max-width:600px){

    .lc-scenes-intro{
        grid-template-columns:1fr;
    }

    .lc-scenes-intro
    .lc-planning-icon{
        display:none;
    }

}

/* =====================================
   FICHA NARRATIVA DA CENA
   ===================================== */

.lc-scene-card{
    color:inherit;
    text-decoration:none;
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease;
}

.lc-scene-card:hover{
    transform:translateY(-2px);
    border-color:
        rgba(100,72,42,.22);
    box-shadow:
        0 12px 28px
        rgba(0,0,0,.055);
}

.lc-scene-card-action{
    display:inline-block;
    margin-top:9px;
    color:#785a35;
    font-size:.7rem;
    font-weight:750;
}


/* CABEÇALHO */

.lc-scene-sheet-main{
    min-width:0;
}

.lc-scene-sheet-head{
    display:grid;
    grid-template-columns:auto 1fr;
    gap:16px;
    align-items:center;
    margin-bottom:22px;
}

.lc-scene-sheet-number{
    display:grid;
    width:64px;
    height:64px;
    place-items:center;
    border-radius:18px;
    background:#eadcc6;
    color:#5d4223;
    font-family:Georgia,serif;
    font-size:1.45rem;
    font-weight:700;
}

.lc-scene-sheet-head h1{
    margin:2px 0 5px;
    font-size:
        clamp(1.8rem,5vw,2.65rem);
    letter-spacing:-.05em;
}

.lc-scene-sheet-head p{
    max-width:620px;
    margin:0;
    color:var(--lc-at-muted);
    line-height:1.5;
}


/* TÍTULO */

.lc-scene-title-card{
    padding:17px;
    border:1px solid var(--lc-at-line);
    border-radius:17px;
    background:#fff;
    box-shadow:
        0 8px 22px
        rgba(0,0,0,.025);
}

.lc-scene-title-card label{
    display:block;
    margin-bottom:10px;
}

.lc-scene-title-card label strong,
.lc-scene-title-card label span{
    display:block;
}

.lc-scene-title-card label strong{
    margin-bottom:3px;
    font-size:.96rem;
}

.lc-scene-title-card label span{
    color:var(--lc-at-muted);
    font-size:.73rem;
}

.lc-scene-title-card input{
    width:100%;
    min-height:45px;
    padding:10px 12px;
    border:1px solid rgba(0,0,0,.10);
    border-radius:11px;
    background:#fcfbf9;
    color:#292622;
    font:inherit;
    outline:none;
}


/* SEÇÃO */

.lc-scene-section-head{
    margin:28px 0 14px;
}

.lc-scene-section-head h2{
    margin:2px 0 5px;
    font-size:1.45rem;
    letter-spacing:-.035em;
}

.lc-scene-section-head p{
    max-width:620px;
    margin:0;
    color:var(--lc-at-muted);
    font-size:.8rem;
    line-height:1.5;
}


/* CAMPOS */

.lc-scene-fields-grid{
    display:grid;
    grid-template-columns:
        repeat(2,minmax(0,1fr));
    gap:12px;
}

.lc-scene-field-card{
    padding:17px;
    border:1px solid var(--lc-at-line);
    border-radius:17px;
    background:#fff;
    box-shadow:
        0 8px 22px
        rgba(0,0,0,.025);
}

.lc-scene-field-card.is-wide{
    grid-column:1 / -1;
}

.lc-scene-field-card label{
    display:block;
    margin-bottom:10px;
}

.lc-scene-field-card label strong,
.lc-scene-field-card label span{
    display:block;
}

.lc-scene-field-card label strong{
    margin-bottom:3px;
    font-size:.96rem;
}

.lc-scene-field-card label span{
    color:var(--lc-at-muted);
    font-size:.73rem;
    line-height:1.4;
}

.lc-scene-field-card textarea{
    width:100%;
    min-height:110px;
    padding:11px 12px;
    border:1px solid rgba(0,0,0,.10);
    border-radius:11px;
    background:#fcfbf9;
    color:#292622;
    font:inherit;
    font-size:.84rem;
    line-height:1.55;
    resize:vertical;
    outline:none;
}

.lc-scene-title-card input:focus,
.lc-scene-field-card textarea:focus{
    border-color:
        rgba(115,88,59,.48);

    box-shadow:
        0 0 0 3px
        rgba(115,88,59,.07);
}


/* AÇÕES */

.lc-scene-sheet-actions{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin-top:15px;
    padding:14px 3px;
}

.lc-scene-sheet-actions span{
    color:var(--lc-at-muted);
    font-size:.72rem;
}


@media (max-width:700px){

    .lc-scene-fields-grid{
        grid-template-columns:1fr;
    }

    .lc-scene-field-card.is-wide{
        grid-column:auto;
    }

}


@media (max-width:600px){

    .lc-scene-sheet-head{
        grid-template-columns:1fr;
    }

    .lc-scene-sheet-number{
        width:54px;
        height:54px;
        border-radius:15px;
    }

    .lc-scene-sheet-actions{
        align-items:stretch;
        flex-direction:column;
    }

    .lc-scene-sheet-actions button{
        width:100%;
    }

}

/* =====================================
   CENA — CONEXÕES
   ===================================== */

.lc-scene-connections{
    margin-top:20px;
    padding:19px;
    border:1px solid rgba(111,81,47,.12);
    border-radius:19px;
    background:#f8f2e8;
}

.lc-scene-connections-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:22px;
    margin-bottom:15px;
}

.lc-scene-connections-head h2{
    margin:2px 0 5px;
    font-size:1.4rem;
    letter-spacing:-.035em;
}

.lc-scene-connections-head p{
    max-width:590px;
    margin:0;
    color:var(--lc-at-muted);
    font-size:.79rem;
    line-height:1.5;
}

.lc-scene-focus-context{
    flex:0 0 auto;
    min-width:190px;
    padding:11px 13px;
    border-radius:12px;
    background:rgba(255,255,255,.68);
}

.lc-scene-focus-context span,
.lc-scene-focus-context strong{
    display:block;
}

.lc-scene-focus-context span{
    margin-bottom:3px;
    color:#8a8176;
    font-size:.61rem;
    font-weight:700;
    letter-spacing:.045em;
    text-transform:uppercase;
}

.lc-scene-focus-context strong{
    color:#59452e;
    font-size:.78rem;
}


.lc-scene-connections-grid{
    display:grid;
    grid-template-columns:
        repeat(2,minmax(0,1fr));
    gap:12px;
}

.lc-scene-connection-card{
    padding:16px;
    border:1px solid rgba(0,0,0,.07);
    border-radius:15px;
    background:#fff;
}

.lc-scene-connection-card label{
    display:block;
    margin-bottom:10px;
}

.lc-scene-connection-card label strong,
.lc-scene-connection-card label span{
    display:block;
}

.lc-scene-connection-card label strong{
    margin-bottom:3px;
    font-size:.94rem;
}

.lc-scene-connection-card label span{
    color:var(--lc-at-muted);
    font-size:.72rem;
    line-height:1.4;
}

.lc-scene-connection-card select{
    width:100%;
    min-height:45px;
    padding:10px 37px 10px 11px;
    border:1px solid rgba(0,0,0,.10);
    border-radius:10px;
    background:#fcfbf9;
    color:#292622;
    font:inherit;
    font-size:.81rem;
    outline:none;
}

.lc-scene-connection-card select:focus{
    border-color:
        rgba(115,88,59,.48);

    box-shadow:
        0 0 0 3px
        rgba(115,88,59,.07);
}

.lc-scene-connection-hint{
    margin-top:7px;
    color:#92897f;
    font-size:.65rem;
    line-height:1.4;
}


/* META NOS CARDS */

.lc-scene-card-meta{
    display:flex;
    flex-wrap:wrap;
    gap:5px;
    margin:7px 0 3px;
}

.lc-scene-card-meta span{
    display:inline-flex;
    align-items:center;
    padding:4px 7px;
    border-radius:999px;
    background:#f4efe7;
    color:#70583d;
    font-size:.61rem;
    font-weight:750;
}


@media (max-width:700px){

    .lc-scene-connections-grid{
        grid-template-columns:1fr;
    }

}


@media (max-width:600px){

    .lc-scene-connections{
        padding:16px;
    }

    .lc-scene-connections-head{
        flex-direction:column;
    }

    .lc-scene-focus-context{
        width:100%;
        min-width:0;
    }

}

/* =====================================
   CENA — PERSONAGENS PARTICIPANTES
   ===================================== */

.lc-scene-participants{
    margin-top:18px;
    padding-top:17px;
    border-top:
        1px solid rgba(0,0,0,.07);
}

.lc-scene-participants-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:20px;
    margin-bottom:13px;
}

.lc-scene-participants-head h3{
    margin:2px 0 4px;
    font-size:1.12rem;
    letter-spacing:-.025em;
}

.lc-scene-participants-head p{
    max-width:570px;
    margin:0;
    color:var(--lc-at-muted);
    font-size:.74rem;
    line-height:1.5;
}

.lc-scene-participants-count{
    flex:0 0 auto;
    padding:5px 9px;
    border-radius:999px;
    background:rgba(255,255,255,.7);
    color:#75624c;
    font-size:.62rem;
    font-weight:800;
}


/* GRID */

.lc-scene-participants-grid{
    display:grid;
    grid-template-columns:
        repeat(2,minmax(0,1fr));
    gap:9px;
}


/* PERSONAGEM */

.lc-scene-participant-card{
    position:relative;
    display:grid;
    grid-template-columns:
        auto minmax(0,1fr) auto;
    gap:10px;
    align-items:center;
    min-height:64px;
    padding:10px 12px;
    border:1px solid rgba(0,0,0,.08);
    border-radius:13px;
    background:#fff;
    cursor:pointer;
    transition:
        border-color .16s ease,
        background .16s ease,
        transform .16s ease;
}

.lc-scene-participant-card:hover{
    transform:translateY(-1px);
    border-color:
        rgba(104,76,44,.22);
}

.lc-scene-participant-card:has(
    input[type="checkbox"]:checked
){
    border-color:
        rgba(111,79,43,.30);
    background:#fffaf2;
}


/* CHECKBOX REAL */

.lc-scene-participant-card
input[type="checkbox"]{
    position:absolute;
    width:1px;
    height:1px;
    opacity:0;
}


/* AVATAR */

.lc-scene-participant-avatar{
    display:grid;
    width:38px;
    height:38px;
    place-items:center;
    border-radius:11px;
    background:#eee2d1;
    color:#684b2a;
    font-family:Georgia,serif;
    font-size:.9rem;
    font-weight:700;
}


/* TEXTO */

.lc-scene-participant-info{
    min-width:0;
}

.lc-scene-participant-info strong,
.lc-scene-participant-info small{
    display:block;
}

.lc-scene-participant-info strong{
    overflow:hidden;
    color:#302b25;
    font-size:.78rem;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.lc-scene-participant-info small{
    margin-top:2px;
    color:#958b80;
    font-size:.59rem;
}


/* CHECK VISUAL */

.lc-scene-participant-check{
    display:grid;
    width:23px;
    height:23px;
    place-items:center;
    border:1px solid rgba(0,0,0,.10);
    border-radius:50%;
    color:transparent;
    font-size:.68rem;
    font-weight:900;
}

.lc-scene-participant-card:has(
    input[type="checkbox"]:checked
)
.lc-scene-participant-check{
    border-color:#6e5334;
    background:#6e5334;
    color:#fff;
}


/* CARD GERAL DA CENA */

.lc-scene-card-cast{
    margin-top:8px;
    padding-top:7px;
    border-top:
        1px solid rgba(0,0,0,.05);
    font-size:.64rem;
    line-height:1.4;
}

.lc-scene-card-cast span{
    margin-right:3px;
    color:#968c81;
}

.lc-scene-card-cast strong{
    color:#675541;
    font-weight:750;
}


@media (max-width:700px){

    .lc-scene-participants-grid{
        grid-template-columns:1fr;
    }

}


@media (max-width:600px){

    .lc-scene-participants-head{
        flex-direction:column;
    }

}

/* =====================================
   CENA — RELAÇÕES PRESENTES
   ===================================== */

.lc-scene-active-relations{
    margin-top:18px;
    padding-top:18px;
    border-top:
        1px solid rgba(0,0,0,.07);
}

.lc-scene-active-relations-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:20px;
    margin-bottom:13px;
}

.lc-scene-active-relations-head h3{
    margin:2px 0 4px;
    font-size:1.12rem;
    letter-spacing:-.025em;
}

.lc-scene-active-relations-head p{
    max-width:590px;
    margin:0;
    color:var(--lc-at-muted);
    font-size:.74rem;
    line-height:1.5;
}

.lc-scene-relations-count{
    flex:0 0 auto;
    padding:5px 9px;
    border-radius:999px;
    background:rgba(255,255,255,.72);
    color:#765d41;
    font-size:.62rem;
    font-weight:800;
}


/* EMPTY */

.lc-scene-relations-empty{
    padding:15px;
    border:1px dashed rgba(0,0,0,.10);
    border-radius:13px;
    background:rgba(255,255,255,.48);
}

.lc-scene-relations-empty strong{
    display:block;
    margin-bottom:4px;
    color:#4d453c;
    font-size:.78rem;
}

.lc-scene-relations-empty p{
    max-width:650px;
    margin:0;
    color:var(--lc-at-muted);
    font-size:.7rem;
    line-height:1.5;
}

.lc-scene-relations-link{
    display:inline-block;
    margin-top:8px;
    color:#725538;
    font-size:.68rem;
    font-weight:800;
    text-decoration:none;
}


/* GRID */

.lc-scene-active-relations-grid{
    display:grid;
    gap:10px;
}


/* CARD */

.lc-scene-relation-card{
    padding:15px;
    border:1px solid rgba(0,0,0,.07);
    border-radius:14px;
    background:#fff;
}

.lc-scene-relation-card header{
    margin-bottom:11px;
}

.lc-scene-relation-card h4{
    margin:7px 0 0;
    color:#332d27;
    font-size:.93rem;
    letter-spacing:-.02em;
}

.lc-scene-relation-card h4 span{
    margin:0 5px;
    color:#a89a8b;
    font-weight:400;
}


/* DETALHES */

.lc-scene-relation-detail{
    margin-top:7px;
    padding:9px 10px;
    border-radius:10px;
    background:#faf8f4;
}

.lc-scene-relation-detail.is-tension{
    background:#fbf2eb;
}

.lc-scene-relation-detail strong{
    display:block;
    margin-bottom:3px;
    color:#67523d;
    font-size:.65rem;
}

.lc-scene-relation-detail p{
    margin:0;
    color:#716960;
    font-size:.7rem;
    line-height:1.48;
}


/* CARD GERAL */

.lc-scene-card-relations{
    display:flex;
    align-items:center;
    gap:5px;
    margin-top:6px;
    color:#7a654d;
    font-size:.62rem;
}

.lc-scene-card-relations span{
    color:#9b7d58;
}

.lc-scene-card-relations strong{
    font-weight:750;
}


@media (max-width:600px){

    .lc-scene-active-relations-head{
        flex-direction:column;
    }

}

/* =====================================
   SEQUÊNCIA NARRATIVA DAS CENAS
   ===================================== */

.lc-scenes-view-bar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    margin-bottom:20px;
    padding:13px 15px;
    border:1px solid var(--lc-at-line);
    border-radius:15px;
    background:#faf8f4;
}

.lc-scenes-view-bar strong,
.lc-scenes-view-bar span{
    display:block;
}

.lc-scenes-view-bar strong{
    margin-bottom:2px;
    font-size:.8rem;
}

.lc-scenes-view-bar span{
    color:var(--lc-at-muted);
    font-size:.68rem;
}


/* CABEÇALHO */

.lc-scene-sequence-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:20px;
    margin-bottom:18px;
}

.lc-scene-sequence-head h1{
    margin:2px 0 5px;
    font-size:
        clamp(1.8rem,5vw,2.7rem);
    letter-spacing:-.05em;
}

.lc-scene-sequence-head p{
    max-width:650px;
    margin:0;
    color:var(--lc-at-muted);
    line-height:1.5;
}


/* INDICADORES GERAIS */

.lc-sequence-stats{
    display:grid;
    grid-template-columns:
        repeat(5,minmax(0,1fr));
    gap:8px;
    margin-bottom:24px;
}

.lc-sequence-stats > div{
    padding:12px;
    border:1px solid var(--lc-at-line);
    border-radius:13px;
    background:#fff;
}

.lc-sequence-stats strong,
.lc-sequence-stats span{
    display:block;
}

.lc-sequence-stats strong{
    margin-bottom:2px;
    color:#493722;
    font-size:1.15rem;
}

.lc-sequence-stats span{
    color:var(--lc-at-muted);
    font-size:.62rem;
    line-height:1.3;
}


/* CAPÍTULO */

.lc-sequence-chapter{
    margin-bottom:26px;
}

.lc-sequence-chapter-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:15px;
    margin-bottom:11px;
    padding-bottom:10px;
    border-bottom:
        1px solid var(--lc-at-line);
}

.lc-sequence-chapter-head h2{
    margin:2px 0 0;
    font-size:1.25rem;
    letter-spacing:-.035em;
}

.lc-sequence-chapter-head > span{
    padding:5px 8px;
    border-radius:999px;
    background:#f1ebe2;
    color:#73614c;
    font-size:.61rem;
    font-weight:800;
}

.lc-sequence-chapter.is-unlinked{
    padding:16px;
    border:1px dashed
        rgba(0,0,0,.10);
    border-radius:17px;
    background:#faf8f5;
}


/* LINHA */

.lc-sequence-list{
    position:relative;
    display:grid;
    gap:10px;
}

.lc-sequence-list::before{
    content:"";
    position:absolute;
    top:22px;
    bottom:22px;
    left:20px;
    width:1px;
    background:#dfd5c8;
}


/* CENA */

.lc-sequence-scene{
    position:relative;
    display:grid;
    grid-template-columns:
        42px minmax(0,1fr);
    gap:12px;
}

.lc-sequence-marker{
    position:relative;
    z-index:2;
    display:grid;
    width:42px;
    height:42px;
    place-items:center;
    border:4px solid #f7f5f1;
    border-radius:50%;
    background:#e8dac5;
    color:#604522;
    font-family:Georgia,serif;
    font-size:.76rem;
    font-weight:700;
}

.lc-sequence-scene-body{
    padding:15px;
    border:1px solid var(--lc-at-line);
    border-radius:15px;
    background:#fff;
    box-shadow:
        0 7px 18px
        rgba(0,0,0,.02);
}

.lc-sequence-scene-top{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
}

.lc-sequence-scene h3{
    margin:2px 0 0;
    font-size:1rem;
    letter-spacing:-.025em;
}

.lc-sequence-scene h3 a{
    color:inherit;
    text-decoration:none;
}


/* ORDEM */

.lc-sequence-order{
    display:flex;
    flex:0 0 auto;
    gap:4px;
}

.lc-sequence-order form{
    margin:0;
}

.lc-sequence-order button{
    display:grid;
    width:30px;
    height:30px;
    place-items:center;
    padding:0;
    border:1px solid rgba(0,0,0,.08);
    border-radius:8px;
    background:#f8f5f0;
    color:#65523e;
    cursor:pointer;
    font:inherit;
    font-size:.75rem;
    font-weight:800;
}

.lc-sequence-order button:hover:not(:disabled){
    background:#eee5d8;
}

.lc-sequence-order button:disabled{
    opacity:.25;
    cursor:default;
}


/* INDICADORES */

.lc-sequence-indicators{
    display:flex;
    flex-wrap:wrap;
    gap:5px;
    margin-top:9px;
}

.lc-sequence-indicators span{
    display:inline-flex;
    align-items:center;
    padding:4px 7px;
    border-radius:999px;
    background:#f3efe8;
    color:#70604e;
    font-size:.59rem;
    font-weight:750;
}

.lc-sequence-indicators
.is-warning{
    background:#faf0dc;
    color:#8a642e;
}

.lc-sequence-indicators
.is-complete{
    background:#eef4ea;
    color:#547044;
}


/* RESULTADO */

.lc-sequence-result{
    margin:10px 0 0;
    padding:9px 10px;
    border-radius:10px;
    background:#faf8f5;
    color:#716960;
    font-size:.7rem;
    line-height:1.48;
}

.lc-sequence-result strong{
    color:#594b3c;
}

.lc-sequence-open{
    display:inline-block;
    margin-top:9px;
    color:#725538;
    font-size:.66rem;
    font-weight:800;
    text-decoration:none;
}


@media (max-width:900px){

    .lc-sequence-stats{
        grid-template-columns:
            repeat(3,minmax(0,1fr));
    }

}


@media (max-width:600px){

    .lc-scenes-view-bar,
    .lc-scene-sequence-head{
        align-items:stretch;
        flex-direction:column;
    }

    .lc-sequence-stats{
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

    .lc-sequence-scene-top{
        gap:8px;
    }

}

/* =====================================
   ESTRUTURA NARRATIVA
   ===================================== */

.lc-structure-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:20px;
    margin-bottom:24px;
}

.lc-structure-head h1{
    margin:2px 0 5px;
    font-size:
        clamp(1.8rem,5vw,2.7rem);
    letter-spacing:-.05em;
}

.lc-structure-head p{
    max-width:650px;
    margin:0;
    color:var(--lc-at-muted);
    line-height:1.5;
}

.lc-structure-progress{
    flex:0 0 auto;
    padding:10px 14px;
    border-radius:13px;
    background:#f2e8da;
}

.lc-structure-progress strong,
.lc-structure-progress span{
    display:block;
}

.lc-structure-progress strong{
    color:#5d4325;
    font-size:1rem;
}

.lc-structure-progress span{
    margin-top:1px;
    color:#7e6b55;
    font-size:.62rem;
}


/* INTRO */

.lc-structure-main{
    min-width:0;
}

.lc-structure-intro{
    display:grid;
    grid-template-columns:
        auto minmax(0,1fr) 260px;
    gap:16px;
    align-items:start;
    margin-bottom:22px;
}

.lc-structure-intro h2{
    margin:0 0 5px;
    font-size:
        clamp(1.5rem,4vw,2.2rem);
    letter-spacing:-.045em;
}

.lc-structure-intro p{
    max-width:620px;
    margin:0;
    color:var(--lc-at-muted);
    line-height:1.55;
}

.lc-structure-note{
    padding:12px 13px;
    border:1px solid
        rgba(110,79,45,.10);
    border-radius:13px;
    background:#faf4e9;
    color:#6d5b46;
    font-size:.7rem;
    line-height:1.45;
}

.lc-structure-note strong,
.lc-structure-note span{
    display:block;
}

.lc-structure-note strong{
    margin-bottom:3px;
}


/* TIMELINE */

.lc-structure-timeline{
    position:relative;
    display:grid;
    gap:13px;
}

.lc-structure-timeline::before{
    content:"";
    position:absolute;
    top:28px;
    bottom:28px;
    left:25px;
    width:1px;
    background:#dcd1c3;
}

.lc-structure-step{
    position:relative;
    display:grid;
    grid-template-columns:
        52px minmax(0,1fr);
    gap:14px;
}

.lc-structure-marker{
    position:relative;
    z-index:2;
    display:grid;
    width:52px;
    height:52px;
    place-items:center;
    border:5px solid #f7f5f1;
    border-radius:50%;
    background:#e9ddcc;
    color:#644925;
    font-family:Georgia,serif;
    font-size:.9rem;
    font-weight:700;
}

.lc-structure-step.is-developed
.lc-structure-marker{
    background:#705437;
    color:#fff;
}


/* CARD */

.lc-structure-step-body{
    padding:17px;
    border:1px solid var(--lc-at-line);
    border-radius:17px;
    background:#fff;
    box-shadow:
        0 8px 22px
        rgba(0,0,0,.025);
}

.lc-structure-step-body header{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:14px;
    margin-bottom:11px;
}

.lc-structure-step-body h3{
    margin:2px 0 4px;
    font-size:1.08rem;
    letter-spacing:-.025em;
}

.lc-structure-step-body p{
    max-width:650px;
    margin:0;
    color:var(--lc-at-muted);
    font-size:.73rem;
    line-height:1.45;
}

.lc-structure-status{
    flex:0 0 auto;
    padding:4px 8px;
    border-radius:999px;
    background:#edf3e9;
    color:#567048;
    font-size:.59rem;
    font-weight:800;
}


/* TEXTAREA */

.lc-structure-step textarea{
    width:100%;
    min-height:108px;
    padding:11px 12px;
    border:1px solid rgba(0,0,0,.10);
    border-radius:11px;
    background:#fcfbf9;
    color:#292622;
    font:inherit;
    font-size:.84rem;
    line-height:1.55;
    resize:vertical;
    outline:none;
}

.lc-structure-step textarea:focus{
    border-color:
        rgba(115,88,59,.48);

    box-shadow:
        0 0 0 3px
        rgba(115,88,59,.07);
}


/* AÇÕES */

.lc-structure-actions{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin-top:16px;
    padding:14px 3px;
}

.lc-structure-actions span{
    color:var(--lc-at-muted);
    font-size:.72rem;
}


@media (max-width:800px){

    .lc-structure-intro{
        grid-template-columns:
            auto 1fr;
    }

    .lc-structure-note{
        grid-column:1 / -1;
    }

}


@media (max-width:600px){

    .lc-structure-head{
        align-items:flex-start;
        flex-direction:column;
    }

    .lc-structure-intro{
        grid-template-columns:1fr;
    }

    .lc-structure-intro
    .lc-planning-icon{
        display:none;
    }

    .lc-structure-note{
        grid-column:auto;
    }

    .lc-structure-step{
        grid-template-columns:
            40px minmax(0,1fr);
        gap:9px;
    }

    .lc-structure-timeline::before{
        left:19px;
    }

    .lc-structure-marker{
        width:40px;
        height:40px;
        border-width:4px;
        font-size:.72rem;
    }

    .lc-structure-step-body header{
        flex-direction:column;
    }

    .lc-structure-actions{
        align-items:stretch;
        flex-direction:column;
    }

    .lc-structure-actions button{
        width:100%;
    }

}

/* =====================================
   ESTRUTURA ↔ CENAS
   ===================================== */

.lc-scene-connection-card.is-wide{
    grid-column:1 / -1;
}


/* CENAS DENTRO DO MARCO */

.lc-structure-scenes{
    margin-top:13px;
    padding-top:12px;
    border-top:
        1px solid rgba(0,0,0,.06);
}

.lc-structure-scenes-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:8px;
}

.lc-structure-scenes-head strong{
    color:#5f5142;
    font-size:.69rem;
}

.lc-structure-scenes-head span{
    padding:3px 7px;
    border-radius:999px;
    background:#f3eee7;
    color:#837464;
    font-size:.57rem;
    font-weight:750;
}

.lc-structure-scenes-empty{
    padding:9px 10px;
    border-radius:9px;
    background:#faf8f5;
    color:#9a9187;
    font-size:.65rem;
}


/* LISTA */

.lc-structure-scene-list{
    display:grid;
    gap:6px;
}

.lc-structure-scene-chip{
    display:grid;
    grid-template-columns:
        auto minmax(0,1fr) auto;
    gap:9px;
    align-items:center;
    min-height:48px;
    padding:7px 9px;
    border:1px solid rgba(0,0,0,.06);
    border-radius:10px;
    background:#faf8f4;
    color:inherit;
    text-decoration:none;
    transition:
        background .16s ease,
        border-color .16s ease,
        transform .16s ease;
}

.lc-structure-scene-chip:hover{
    transform:translateX(2px);
    border-color:
        rgba(103,76,45,.18);
    background:#f6f0e7;
}

.lc-structure-scene-number{
    display:grid;
    width:29px;
    height:29px;
    place-items:center;
    border-radius:8px;
    background:#e9dcc9;
    color:#684b2a;
    font-family:Georgia,serif;
    font-size:.65rem;
    font-weight:700;
}

.lc-structure-scene-info{
    min-width:0;
}

.lc-structure-scene-info strong,
.lc-structure-scene-info small{
    display:block;
}

.lc-structure-scene-info strong{
    overflow:hidden;
    color:#44382c;
    font-size:.7rem;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.lc-structure-scene-info small{
    margin-top:2px;
    color:#91867a;
    font-size:.57rem;
}

.lc-structure-scene-arrow{
    color:#9b8976;
    font-size:.75rem;
}


/* CENAS SEM MARCO */

.lc-structure-unassigned{
    margin-top:28px;
    padding:17px;
    border:1px dashed
        rgba(104,76,43,.18);
    border-radius:17px;
    background:#faf8f4;
}

.lc-structure-unassigned-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:16px;
    margin-bottom:13px;
}

.lc-structure-unassigned-head h3{
    margin:2px 0 4px;
    font-size:1.05rem;
    letter-spacing:-.025em;
}

.lc-structure-unassigned-head p{
    max-width:600px;
    margin:0;
    color:var(--lc-at-muted);
    font-size:.7rem;
    line-height:1.5;
}

.lc-structure-unassigned-head
> span{
    display:grid;
    min-width:30px;
    height:30px;
    place-items:center;
    border-radius:50%;
    background:#eee4d6;
    color:#74593a;
    font-size:.68rem;
    font-weight:800;
}


@media (max-width:700px){

    .lc-scene-connection-card.is-wide{
        grid-column:auto;
    }

}


@media (max-width:600px){

    .lc-structure-unassigned-head{
        flex-direction:column;
    }

}

/* =====================================
   MAPA DO ARCO NARRATIVO
   ===================================== */

.lc-structure-map-launch{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    margin-bottom:20px;
    padding:15px 17px;
    border:1px solid
        rgba(104,76,43,.12);
    border-radius:16px;
    background:
        linear-gradient(
            135deg,
            #faf5ed,
            #f5eee4
        );
}

.lc-structure-map-launch strong{
    display:block;
    margin:2px 0 3px;
    color:#493a2c;
    font-size:.86rem;
}

.lc-structure-map-launch p{
    max-width:620px;
    margin:0;
    color:var(--lc-at-muted);
    font-size:.7rem;
    line-height:1.45;
}


/* CABEÇALHO */

.lc-arc-map-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:20px;
    margin-bottom:18px;
}

.lc-arc-map-head h1{
    margin:2px 0 5px;
    font-size:
        clamp(1.9rem,5vw,2.8rem);
    letter-spacing:-.055em;
}

.lc-arc-map-head p{
    max-width:650px;
    margin:0;
    color:var(--lc-at-muted);
    line-height:1.5;
}


/* ESTATÍSTICAS */

.lc-arc-map-stats{
    display:grid;
    grid-template-columns:
        repeat(5,minmax(0,1fr));
    gap:8px;
    margin-bottom:24px;
}

.lc-arc-map-stats > div{
    padding:11px 12px;
    border:1px solid var(--lc-at-line);
    border-radius:13px;
    background:#fff;
}

.lc-arc-map-stats strong,
.lc-arc-map-stats span{
    display:block;
}

.lc-arc-map-stats strong{
    color:#513d27;
    font-size:1.08rem;
}

.lc-arc-map-stats span{
    margin-top:2px;
    color:var(--lc-at-muted);
    font-size:.6rem;
}


/* OVERVIEW */

.lc-arc-overview{
    margin-bottom:30px;
}

.lc-arc-section-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:20px;
    margin-bottom:12px;
}

.lc-arc-section-head h2{
    margin:2px 0 0;
    font-size:1.3rem;
    letter-spacing:-.035em;
}

.lc-arc-section-head p{
    max-width:330px;
    margin:0;
    color:var(--lc-at-muted);
    font-size:.67rem;
    line-height:1.45;
}


/* TRILHA PANORÂMICA */

.lc-arc-overview-track{
    display:grid;
    grid-template-columns:
        repeat(7,minmax(115px,1fr));
    gap:7px;
    overflow-x:auto;
    padding:4px 1px 9px;
}

.lc-arc-overview-node{
    position:relative;
    display:flex;
    min-height:126px;
    flex-direction:column;
    padding:10px;
    border:1px solid var(--lc-at-line);
    border-radius:13px;
    background:#fff;
    color:inherit;
    text-decoration:none;
}

.lc-arc-overview-node::after{
    content:"→";
    position:absolute;
    top:19px;
    right:-8px;
    z-index:3;
    color:#b8aa99;
    font-size:.7rem;
}

.lc-arc-overview-node:last-child::after{
    display:none;
}

.lc-arc-overview-node.is-empty{
    background:#faf9f7;
    opacity:.72;
}

.lc-arc-overview-number{
    display:grid;
    width:28px;
    height:28px;
    margin-bottom:9px;
    place-items:center;
    border-radius:50%;
    background:#e9dcc9;
    color:#664a29;
    font-family:Georgia,serif;
    font-size:.65rem;
    font-weight:700;
}

.lc-arc-overview-node strong{
    color:#43372c;
    font-size:.68rem;
    line-height:1.25;
}

.lc-arc-overview-node small{
    margin-top:3px;
    color:#94887b;
    font-size:.56rem;
}

.lc-arc-density{
    display:block;
    height:4px;
    margin-top:auto;
    overflow:hidden;
    border-radius:999px;
    background:#eee9e3;
}

.lc-arc-density i{
    display:block;
    height:100%;
    border-radius:inherit;
    background:#806246;
}


/* MAPA VERTICAL */

.lc-arc-detailed-map{
    position:relative;
}

.lc-arc-step{
    display:grid;
    grid-template-columns:
        52px minmax(0,1fr);
    gap:14px;
    position:relative;
    padding-bottom:18px;
}

.lc-arc-step-axis{
    position:relative;
    display:flex;
    justify-content:center;
}

.lc-arc-step-axis::after{
    content:"";
    position:absolute;
    top:48px;
    bottom:-18px;
    left:50%;
    width:1px;
    background:#ddd2c5;
}

.lc-arc-step:last-child
.lc-arc-step-axis::after{
    display:none;
}

.lc-arc-step-axis > span{
    position:relative;
    z-index:2;
    display:grid;
    width:46px;
    height:46px;
    place-items:center;
    border:5px solid #f7f5f1;
    border-radius:50%;
    background:#705437;
    color:#fff;
    font-family:Georgia,serif;
    font-size:.76rem;
    font-weight:700;
}

.lc-arc-step.is-empty
.lc-arc-step-axis > span{
    background:#ded5ca;
    color:#806f5e;
}


/* CONTEÚDO DO MARCO */

.lc-arc-step-content{
    padding:16px;
    border:1px solid var(--lc-at-line);
    border-radius:17px;
    background:#fff;
}

.lc-arc-step.is-empty
.lc-arc-step-content{
    background:#fbfaf8;
}

.lc-arc-step-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:16px;
    margin-bottom:12px;
}

.lc-arc-step-head h2{
    margin:2px 0 4px;
    font-size:1.15rem;
    letter-spacing:-.03em;
}

.lc-arc-step-head p{
    max-width:650px;
    margin:0;
    color:#746b62;
    font-size:.7rem;
    line-height:1.48;
}

.lc-arc-step-head p.is-muted{
    color:#aaa096;
}

.lc-arc-step-metrics{
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-end;
    gap:5px;
    flex:0 0 auto;
}

.lc-arc-step-metrics span{
    padding:4px 7px;
    border-radius:999px;
    background:#f2ede6;
    color:#74634f;
    font-size:.57rem;
    font-weight:750;
}


/* CENAS */

.lc-arc-scene-lane{
    display:grid;
    grid-template-columns:
        repeat(
            auto-fit,
            minmax(175px,1fr)
        );
    gap:8px;
}

.lc-arc-scene-card{
    display:block;
    padding:11px;
    border:1px solid rgba(0,0,0,.07);
    border-radius:12px;
    background:#faf8f4;
    color:inherit;
    text-decoration:none;
    transition:
        transform .16s ease,
        border-color .16s ease,
        background .16s ease;
}

.lc-arc-scene-card:hover{
    transform:translateY(-2px);
    border-color:
        rgba(105,76,43,.20);
    background:#f7f1e8;
}

.lc-arc-scene-card-top{
    display:flex;
    justify-content:space-between;
    gap:8px;
    margin-bottom:5px;
    color:#9b8c7d;
    font-size:.55rem;
    font-weight:750;
}

.lc-arc-scene-card > strong{
    display:block;
    color:#45382d;
    font-size:.72rem;
    line-height:1.35;
}

.lc-arc-scene-meta{
    display:flex;
    flex-wrap:wrap;
    gap:4px;
    margin-top:8px;
}

.lc-arc-scene-meta span{
    padding:3px 5px;
    border-radius:7px;
    background:#eee8df;
    color:#766653;
    font-size:.52rem;
}

.lc-arc-scene-card.is-unassigned{
    background:#fff;
}


/* MARCO SEM CENAS */

.lc-arc-empty-lane{
    padding:10px 11px;
    border:1px dashed rgba(0,0,0,.09);
    border-radius:10px;
    color:#9d9389;
    font-size:.65rem;
}


/* NÃO POSICIONADAS */

.lc-arc-unassigned{
    margin-top:14px;
    padding:17px;
    border:1px dashed
        rgba(105,77,45,.18);
    border-radius:17px;
    background:#faf8f4;
}

.lc-arc-unassigned > header{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:18px;
    margin-bottom:12px;
}

.lc-arc-unassigned h2{
    margin:2px 0 4px;
    font-size:1.1rem;
    letter-spacing:-.03em;
}

.lc-arc-unassigned p{
    max-width:620px;
    margin:0;
    color:var(--lc-at-muted);
    font-size:.69rem;
    line-height:1.48;
}

.lc-arc-unassigned
> header > span{
    display:grid;
    width:32px;
    height:32px;
    place-items:center;
    border-radius:50%;
    background:#eae0d3;
    color:#72583b;
    font-size:.68rem;
    font-weight:800;
}


@media (max-width:900px){

    .lc-arc-map-stats{
        grid-template-columns:
            repeat(3,minmax(0,1fr));
    }

}


@media (max-width:700px){

    .lc-structure-map-launch,
    .lc-arc-map-head,
    .lc-arc-section-head{
        align-items:stretch;
        flex-direction:column;
    }

    .lc-arc-step-head{
        flex-direction:column;
    }

    .lc-arc-step-metrics{
        justify-content:flex-start;
    }

}


@media (max-width:600px){

    .lc-arc-map-stats{
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

    .lc-arc-step{
        grid-template-columns:
            40px minmax(0,1fr);
        gap:8px;
    }

    .lc-arc-step-axis > span{
        width:40px;
        height:40px;
        border-width:4px;
        font-size:.68rem;
    }

    .lc-arc-step-axis::after{
        top:41px;
    }

    .lc-arc-scene-lane{
        grid-template-columns:1fr;
    }

    .lc-arc-unassigned > header{
        flex-direction:column;
    }

}

/* =====================================
   3D.4 — SINAIS NARRATIVOS
   ===================================== */

.lc-narrative-signals{
    margin-bottom:30px;
}

.lc-narrative-signals-grid{
    display:grid;
    grid-template-columns:
        repeat(3,minmax(0,1fr));
    gap:10px;
}


/* PAINEL */

.lc-signal-panel{
    min-width:0;
    padding:14px;
    border:1px solid var(--lc-at-line);
    border-radius:15px;
    background:#fff;
}

.lc-signal-panel > header{
    display:flex;
    align-items:center;
    gap:9px;
    margin-bottom:13px;
}

.lc-signal-panel > header > span{
    display:grid;
    width:34px;
    height:34px;
    flex:0 0 auto;
    place-items:center;
    border-radius:10px;
    background:#eee4d7;
    color:#684d2e;
    font-size:.78rem;
    font-weight:800;
}

.lc-signal-panel > header strong,
.lc-signal-panel > header small{
    display:block;
}

.lc-signal-panel > header strong{
    color:#473a2e;
    font-size:.77rem;
}

.lc-signal-panel > header small{
    margin-top:1px;
    color:#968b80;
    font-size:.56rem;
}


/* BARRAS */

.lc-signal-bars{
    display:grid;
    gap:8px;
}

.lc-signal-bar-row{
    display:grid;
    gap:3px;
}

.lc-signal-bar-label{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:9px;
    color:#74695d;
    font-size:.61rem;
}

.lc-signal-bar-label span{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.lc-signal-bar-label strong{
    flex:0 0 auto;
    color:#5d4b39;
    font-size:.59rem;
}

.lc-signal-bar{
    height:5px;
    overflow:hidden;
    border-radius:999px;
    background:#eeeae5;
}

.lc-signal-bar i{
    display:block;
    height:100%;
    border-radius:inherit;
    background:#806347;
}


/* PENDÊNCIAS NEUTRAS */

.lc-signal-pending{
    margin-top:3px;
    padding:6px 8px;
    border-radius:8px;
    background:#faf4e9;
    color:#856d50;
    font-size:.58rem;
    line-height:1.35;
}

.lc-signal-empty{
    padding:10px;
    border:1px dashed rgba(0,0,0,.08);
    border-radius:9px;
    color:#9c9288;
    font-size:.62rem;
    line-height:1.45;
}


/* =====================================
   LEITURA DO DESENHO
   ===================================== */

.lc-narrative-reading{
    margin-bottom:32px;
    padding:17px;
    border:1px solid
        rgba(105,77,45,.11);
    border-radius:18px;
    background:
        linear-gradient(
            135deg,
            #faf7f2,
            #f7f2ea
        );
}

.lc-narrative-reading-grid{
    display:grid;
    grid-template-columns:
        repeat(2,minmax(0,1fr));
    gap:8px;
}


/* OBSERVAÇÃO */

.lc-reading-card{
    display:grid;
    grid-template-columns:
        auto minmax(0,1fr);
    gap:10px;
    align-items:start;
    padding:11px 12px;
    border:1px solid rgba(0,0,0,.055);
    border-radius:12px;
    background:
        rgba(255,255,255,.74);
}

.lc-reading-icon{
    display:grid;
    width:31px;
    height:31px;
    place-items:center;
    border-radius:9px;
    background:#ece1d2;
    color:#674c2e;
    font-size:.7rem;
    font-weight:800;
}

.lc-reading-card strong{
    display:block;
    margin-bottom:3px;
    color:#514335;
    font-size:.69rem;
}

.lc-reading-card p{
    margin:0;
    color:#776e64;
    font-size:.65rem;
    line-height:1.48;
}


/* NOTA */

.lc-reading-note{
    margin-top:10px;
    padding-top:10px;
    border-top:
        1px solid rgba(0,0,0,.06);
    color:#84796d;
    font-size:.62rem;
    line-height:1.45;
}

.lc-reading-note strong{
    color:#665543;
}


/* RESPONSIVO */

@media (max-width:900px){

    .lc-narrative-signals-grid{
        grid-template-columns:1fr;
    }

}


@media (max-width:700px){

    .lc-narrative-reading-grid{
        grid-template-columns:1fr;
    }

}

/* =====================================
   IDENTIDADE LETRAS CRIATIVAS
   Ponte visual Biblioteca ↔ Ateliê
   ===================================== */

body.lc-atelie-page{

    background:#F5FAF9;

}


/* Variáveis principais */

body.lc-atelie-page .lc-atelie{

    --lc-at-brand:#3DACA5;
    --lc-at-brand-dark:#27867F;
    --lc-at-brand-deep:#173F3D;
    --lc-at-brand-deeper:#102F2E;

    --lc-at-brand-soft:#EAF7F6;
    --lc-at-brand-soft-2:#F4FAF9;

    --lc-at-line:#CDE8E5;
    --lc-at-muted:#6E807E;

}


/* =====================================
   SIDEBAR
   ===================================== */

body.lc-atelie-page
.lc-project-sidebar{

    background:
        linear-gradient(
            180deg,
            #102F2E 0%,
            #173F3D 100%
        );

}

body.lc-atelie-page
.lc-project-sidebar-label{

    color:
        rgba(220,247,244,.58);

}

body.lc-atelie-page
.lc-project-nav-item{

    color:
        rgba(239,252,250,.78);

}

body.lc-atelie-page
.lc-project-nav-item:hover{

    background:
        rgba(61,172,165,.10);

    color:#fff;

}

body.lc-atelie-page
.lc-project-nav-item.is-active{

    background:
        rgba(61,172,165,.18);

    color:#fff;

    box-shadow:
        inset 3px 0 0
        #60C9C2;

}

body.lc-atelie-page
.lc-project-sidebar-divider{

    border-color:
        rgba(255,255,255,.10);

}


/* =====================================
   BOTÕES PRINCIPAIS
   ===================================== */

body.lc-atelie-page
.lc-atelie-btn-primary{

    border-color:#3DACA5;

    background:#3DACA5;

    color:#fff;

    box-shadow:
        0 7px 17px
        rgba(61,172,165,.18);

}

body.lc-atelie-page
.lc-atelie-btn-primary:hover{

    border-color:#27867F;

    background:#27867F;

}


/* Botões secundários */

body.lc-atelie-page
.lc-planning-secondary-button{

    border-color:#CDE8E5;

    color:#246F6A;

}

body.lc-atelie-page
.lc-planning-secondary-button:hover{

    border-color:#8ACCC7;

    background:#F0F9F8;

}


/* =====================================
   ÍCONES E MARCADORES
   ===================================== */

body.lc-atelie-page
.lc-planning-icon,

body.lc-atelie-page
.lc-scene-participant-avatar,

body.lc-atelie-page
.lc-structure-scene-number,

body.lc-atelie-page
.lc-arc-overview-number,

body.lc-atelie-page
.lc-sequence-marker,

body.lc-atelie-page
.lc-reading-icon,

body.lc-atelie-page
.lc-signal-panel > header > span{

    background:#DFF3F1;

    color:#267A74;

}


/* Marcadores estruturais importantes */

body.lc-atelie-page
.lc-structure-step.is-developed
.lc-structure-marker,

body.lc-atelie-page
.lc-arc-step-axis > span{

    background:#27867F;

    color:#fff;

}

body.lc-atelie-page
.lc-structure-marker{

    background:#DCEFED;

    color:#27766F;

}


/* =====================================
   FEEDBACK / ESTADOS
   ===================================== */

body.lc-atelie-page
.lc-save-feedback{

    border-color:#BDE3DF;

    background:#EAF7F6;

    color:#286F6A;

}


/* Cards selecionados */

body.lc-atelie-page
.lc-scene-participant-card:has(
    input[type="checkbox"]:checked
){

    border-color:
        rgba(61,172,165,.40);

    background:#F1FAF9;

}

body.lc-atelie-page
.lc-scene-participant-card:has(
    input[type="checkbox"]:checked
)
.lc-scene-participant-check{

    border-color:#3DACA5;

    background:#3DACA5;

    color:#fff;

}


/* =====================================
   MAPAS E INDICADORES
   ===================================== */

body.lc-atelie-page
.lc-arc-density i,

body.lc-atelie-page
.lc-signal-bar i{

    background:#3DACA5;

}


/* Links editoriais */

body.lc-atelie-page
.lc-sequence-open,

body.lc-atelie-page
.lc-scene-relations-link{

    color:#27867F;

}

/* Respiro e largura do botao de exportacao no cabecalho do projeto. */
.lc-editor-project-head input[name="lc_atelie_action"][value="download_manuscript"] ~ button.lc-atelie-btn{
    margin-block-start:10px;
    padding-inline:13px;
    font-size:.82rem;
}

/* =====================================
   PERSONAGEM — EXCLUSÃO
   ===================================== */

.lc-character-card-wrap{
    position:relative;
    min-width:0;
}

.lc-character-card-wrap
.lc-character-card{
    height:100%;
}


/* FORM */

.lc-character-delete-form{
    position:absolute;
    top:9px;
    right:9px;
    z-index:6;
    margin:0;
}


/* BOTÃO */

.lc-character-delete{
    display:grid;

    width:28px;
    height:28px;

    padding:0;

    place-items:center;

    border:
        1px solid
        rgba(0,0,0,.08);

    border-radius:50%;

    background:
        rgba(255,255,255,.90);

    color:#8b8177;

    cursor:pointer;

    font:inherit;
    font-size:1rem;
    font-weight:500;
    line-height:1;

    box-shadow:
        0 2px 7px
        rgba(0,0,0,.04);

    transition:
        color .16s ease,
        border-color .16s ease,
        background .16s ease,
        transform .16s ease;
}

.lc-character-delete:hover{
    transform:scale(1.06);

    border-color:
        rgba(148,67,58,.22);

    background:#fff5f3;

    color:#a0473e;
}


/* MOBILE */

@media (max-width:600px){

    .lc-character-delete{
        width:30px;
        height:30px;
    }

}

/* =====================================
   CENAS AGRUPADAS POR CAPÍTULO
   ===================================== */

.lc-scenes-chapter-group{
    margin-top:26px;
}

.lc-scenes-chapter-group:first-child{
    margin-top:0;
}

.lc-scenes-chapter-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:16px;

    margin-bottom:12px;
    padding-bottom:10px;

    border-bottom:
        1px solid var(--lc-at-line);
}

.lc-scenes-chapter-head h2{
    margin:2px 0 0;

    font-size:1.15rem;
    letter-spacing:-.03em;
}

.lc-scenes-chapter-count{
    flex:0 0 auto;

    padding:5px 9px;

    border-radius:999px;

    background:#EAF7F6;
    color:#287A75;

    font-size:.61rem;
    font-weight:800;
}

.lc-scenes-chapter-group.is-unlinked{
    margin-top:32px;

    padding:16px;

    border:
        1px dashed
        rgba(61,172,165,.24);

    border-radius:16px;

    background:#F8FBFA;
}

/* =====================================
   CENA — EXCLUSÃO
   ===================================== */

.lc-scene-card-wrap{
    position:relative;
    min-width:0;
}

.lc-scene-card-wrap
.lc-scene-card{
    height:100%;
}


/* FORM */

.lc-scene-delete-form{
    position:absolute;
    top:9px;
    right:9px;
    z-index:7;

    margin:0;
}


/* BOTÃO */

.lc-scene-delete{
    display:grid;

    width:28px;
    height:28px;

    padding:0;

    place-items:center;

    border:
        1px solid
        rgba(0,0,0,.08);

    border-radius:50%;

    background:
        rgba(255,255,255,.92);

    color:#788684;

    cursor:pointer;

    font:inherit;
    font-size:1rem;
    font-weight:500;
    line-height:1;

    box-shadow:
        0 2px 7px
        rgba(0,0,0,.04);

    transition:
        color .16s ease,
        border-color .16s ease,
        background .16s ease,
        transform .16s ease;
}


.lc-scene-delete:hover{
    transform:
        scale(1.06);

    border-color:
        rgba(148,67,58,.22);

    background:#fff5f3;

    color:#a0473e;
}


@media (max-width:600px){

    .lc-scene-delete{
        width:30px;
        height:30px;
    }

}