:root{--blue:#053C5E;--turq:#01B1B1;--light:#F4F1F9;--purple:#63489B;--ink:#22303c;--muted:#667085;--border:#dce1e8;--white:#fff}*{box-sizing:border-box}body{margin:0;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:#f8fafc}a{color:var(--blue);text-decoration:none}.topbar{display:flex;justify-content:space-between;align-items:center;padding:14px 26px;background:#fff;border-bottom:1px solid var(--border);position:sticky;top:0}.topbar nav{display:flex;gap:18px}.brand{display:flex;align-items:center;gap:10px;font-weight:800}.mark{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--blue);color:#fff}.mark.big{width:58px;height:58px;border-radius:18px}.container{width:min(1150px,calc(100% - 32px));margin:auto;padding:34px 0 70px}.narrow{width:min(800px,calc(100% - 32px))}.hero{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px}.hero h1,h1,h2,h3{color:var(--blue)}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:34px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.card{background:#fff;border:1px solid var(--border);border-radius:18px;box-shadow:0 8px 28px rgba(5,60,94,.06)}.stat,.module,.detail,.form{padding:20px}.stat strong{display:block;font-size:1.8rem;color:var(--blue)}.stat span,.module p{color:var(--muted)}.button{display:inline-flex;align-items:center;justify-content:center;padding:11px 16px;border:1px solid var(--border);border-radius:10px;background:#fff;color:var(--blue);font-weight:800}.button.primary{background:var(--blue);border-color:var(--blue);color:#fff}.login{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(135deg,var(--light),#fff)}.login-card{width:min(460px,100%);padding:30px}label{display:grid;gap:8px;margin:14px 0;font-weight:700;color:var(--blue)}input,select,textarea{width:100%;padding:12px;border:1px solid var(--border);border-radius:10px;font:inherit}.alert{padding:12px;border-radius:10px;background:#fff0f0;color:#9b1c1c}.success{padding:12px;border-radius:10px;background:#ecfdf3;color:#11643a}.toolbar{display:flex;gap:10px;margin-bottom:16px}.table{overflow-x:auto}table{width:100%;border-collapse:collapse}th,td{padding:14px;text-align:left;border-bottom:1px solid var(--border)}.empty{padding:28px;text-align:center;color:var(--muted)}@media(max-width:800px){.stats,.grid{grid-template-columns:1fr 1fr}}@media(max-width:600px){.stats,.grid{grid-template-columns:1fr}.hero{align-items:flex-start;flex-direction:column}.topbar{align-items:flex-start}.topbar nav{flex-wrap:wrap;justify-content:flex-end}}
/* UniSer Práticas v0.2 — Movimento */
.movement-form {
    display: grid;
    gap: 20px;
}

.form-section {
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(5, 60, 94, .04);
}

.form-section h2 {
    margin: 0 0 18px;
    color: var(--blue);
}

.form-section .help {
    margin: -8px 0 18px;
    color: var(--muted);
}

.form-section small {
    color: var(--muted);
    font-weight: 400;
}

.safety-section {
    border-left: 5px solid var(--purple);
}

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

.check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--ink);
}

.check input {
    width: auto;
}

.sticky-actions {
    position: sticky;
    bottom: 12px;
    display: flex;
    gap: 10px;
    padding: 14px;
    background: rgba(255,255,255,.96);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(5, 60, 94, .12);
}

.movement-layout {
    display: grid;
    grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.movement-visual,
.movement-details {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
}

.movement-visual {
    position: static;
    top: auto;
    padding: 18px;
    align-self: start;
}

.movement-visual img {
    display: block;
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    border-radius: 12px;
    background: var(--light);
}

.image-placeholder {
    display: grid;
    place-items: center;
    min-height: 320px;
    border-radius: 12px;
    background: var(--light);
    color: var(--muted);
}

.image-caption {
    margin: 10px 0 0;
    text-align: center;
    color: var(--muted);
    font-size: .9rem;
}

.quick-facts {
    margin: 18px 0 0;
}

.quick-facts div {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.quick-facts div:last-child {
    border-bottom: 0;
}

.quick-facts dt {
    font-weight: 700;
    color: var(--blue);
}

.quick-facts dd {
    margin: 0;
}

.movement-details {
    padding: 24px;
}

.detail-section {
    padding: 0 0 20px;
    margin: 0 0 20px;
    border-bottom: 1px solid var(--border);
}

.detail-section:last-child {
    margin-bottom: 0;
    border-bottom: 0;
}

.detail-section h2 {
    margin: 0 0 10px;
    color: var(--blue);
    font-size: 1.18rem;
}

.detail-section p {
    margin: 0;
    line-height: 1.7;
}

@media (max-width: 800px) {
    .movement-layout {
        grid-template-columns: 1fr;
    }

    .movement-visual {
        position: static;
    }

    .check-grid {
        grid-template-columns: 1fr;
    }
}

/* UNISER V0.3.1 FICHA COMPLETA */
/* Acrescentar no fim de public/assets/css/app.css — UniSer Práticas v0.3.1 */
.movement-page .status-row{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.8rem}
.status-pill{display:inline-flex;align-items:center;padding:.35rem .7rem;border-radius:999px;background:#e8eef4;color:#153b5b;font-size:.86rem;font-weight:700}
.status-pill.warning{background:#fff2d8;color:#744b00}
.formatted-text{white-space:normal;line-height:1.7}
.movement-visual .quick-facts dd.formatted-text{white-space:normal}
.side-card{margin-top:1rem;padding:1rem 1.1rem;border:1px solid #dbe3ea;border-radius:16px;background:#fff}
.side-card h2{font-size:1.05rem;margin:0 0 .65rem}
.section-group-title{margin:1.6rem 0 .7rem;padding:.85rem 1rem;border-left:5px solid #01b1b1;background:#eefafb;border-radius:10px}
.section-group-title h2{margin:0;font-size:1.25rem}
.section-group-title.safety-title{border-left-color:#9a7bc2;background:#f5f0fa}
.detail-section.summary-section{border-left:5px solid #053c5e}
.detail-section.safety-detail{border-left:5px solid #9a7bc2}
.detail-section.source-detail{background:#f7f8fa}
@media (max-width:760px){.movement-page .hero.compact{gap:1rem}.movement-page .actions{width:100%}}

/* UNISER V0.3.2 GALERIA */
/* Galeria de imagens v0.3.2 */
.movement-layout{align-items:start}
.movement-visual{position:static!important;top:auto!important}
.movement-images-page .form-section{margin-bottom:24px}
.full-width{grid-column:1/-1}
.section-heading-row{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}
.movement-gallery-admin{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px}
.gallery-admin-card{border:1px solid #d8e0e8;border-radius:16px;background:#fff;overflow:hidden;box-shadow:0 4px 14px rgba(0,0,0,.04)}
.gallery-admin-card.is-primary{border:2px solid #01b1b1}
.gallery-image-wrap{position:relative;aspect-ratio:4/3;background:#f4f1f9;display:flex;align-items:center;justify-content:center;overflow:hidden}
.gallery-image-wrap img{width:100%;height:100%;object-fit:contain}
.primary-badge{position:absolute;top:12px;left:12px;background:#053c5e;color:#fff;border-radius:999px;padding:6px 10px;font-size:.8rem;font-weight:700}
.gallery-meta-form{padding:16px;display:grid;gap:12px}
.gallery-meta-form label{display:grid;gap:6px}
.gallery-card-actions{display:flex;gap:10px;flex-wrap:wrap;padding:0 16px 16px}
.button.danger{background:#fff0f0;border-color:#d98e8e;color:#8a1f1f}
.movement-mini-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:14px}
.movement-mini-gallery figure{margin:0}
.movement-mini-gallery img{width:100%;aspect-ratio:1/1;object-fit:contain;background:#f4f1f9;border-radius:10px;border:1px solid #e1e6eb}
.movement-mini-gallery figcaption{font-size:.78rem;margin-top:4px;line-height:1.3}
.button.full{display:block;text-align:center;width:100%;box-sizing:border-box}
@media(max-width:720px){.movement-mini-gallery{grid-template-columns:repeat(2,1fr)}.movement-gallery-admin{grid-template-columns:1fr}}

/* UNISER V0.3.3 MULTIMEDIA */
/* Biblioteca multimédia e cartões de módulos v0.3.3 */
.module-link{display:block;color:inherit;text-decoration:none;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}
.module-link:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(5,60,94,.10);border-color:#9ccfd0}
.module-disabled{opacity:.78}
.module-status{display:inline-flex;margin-top:12px;padding:5px 10px;border-radius:999px;background:#eef2f6;color:#607286;font-size:.82rem;font-weight:700}
.module-status.ready{background:#e7f7f5;color:#087c7c}
.media-summary{display:flex;align-items:baseline;gap:10px;margin-bottom:20px;padding:20px}
.media-summary strong{font-size:2rem;color:var(--blue)}
.media-summary p{margin-left:auto;max-width:650px;color:#607286}
.media-filters{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:14px;align-items:end;padding:18px;margin-bottom:24px}
.media-filters label{display:grid;gap:7px;font-weight:700}
.media-filter-actions{display:flex;gap:8px}
.media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.media-card{overflow:hidden;padding:0}
.media-thumb{position:relative;display:grid;place-items:center;height:310px;background:#f7f5fb;border-bottom:1px solid var(--border)}
.media-thumb img{width:100%;height:100%;object-fit:contain;display:block}
.media-badge{position:absolute;top:12px;left:12px;padding:5px 10px;border-radius:999px;background:var(--blue);color:white;font-weight:800;font-size:.82rem}
.media-card-body{padding:18px}
.media-card-body h2{font-size:1.2rem;margin:4px 0 10px}
.media-card-body p{color:#52687a}
.media-card-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.empty-state{text-align:center;padding:46px}
@media(max-width:1000px){.media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.media-filters{grid-template-columns:1fr 1fr}.media-filter-actions{grid-column:1/-1}.media-summary{display:block}.media-summary p{margin-left:0}}
@media(max-width:650px){.media-grid{grid-template-columns:1fr}.media-filters{grid-template-columns:1fr}.media-thumb{height:260px}}

/* UNISER V0.3.4 GLOBAL SEARCH */
.global-search-link{display:flex;align-items:center;gap:6px;font-weight:700}.global-search-link>span:first-child{font-size:1.45rem;line-height:1;transform:rotate(-20deg)}.global-search-page{padding-bottom:60px}.global-search-form{padding:24px;margin-bottom:24px}.global-search-form>label{display:block;font-weight:800;margin-bottom:10px}.global-search-control{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;border:1px solid var(--border);border-radius:14px;padding:8px 8px 8px 16px;background:#fff}.global-search-control input{border:0!important;outline:0;box-shadow:none!important;padding:12px 4px;font-size:1.08rem;width:100%;background:transparent}.global-search-icon{font-size:1.65rem;color:var(--blue);transform:rotate(-20deg)}.search-summary{margin:18px 0 26px}.search-result-group{margin-top:28px}.search-group-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.search-group-heading h2{margin:0}.search-group-heading span{display:inline-grid;place-items:center;min-width:34px;height:34px;border-radius:999px;background:#e8f5f4;color:#147b7d;font-weight:800}.search-result-list{display:grid;gap:14px}.search-result-card{display:flex;justify-content:space-between;gap:24px;align-items:center;padding:22px}.search-result-card h3{margin:4px 0 8px}.search-result-card h3 a{color:var(--blue);text-decoration:none}.search-result-card p{margin:6px 0;line-height:1.55}.search-result-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.search-result-tags span{background:#eef3f7;border-radius:999px;padding:5px 10px;font-size:.86rem;font-weight:700;color:#53697d}.search-image-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:18px}.search-image-card{overflow:hidden}.search-image-card>a{display:block;background:#f7f5fb}.search-image-card img{width:100%;height:260px;object-fit:contain;display:block}.search-image-card>div{padding:18px}.search-image-card h3{margin:4px 0 8px}.search-image-card p{line-height:1.5}.empty-state{padding:30px;text-align:center}@media(max-width:760px){.global-search-label{display:none}.global-search-control{grid-template-columns:auto minmax(0,1fr)}.global-search-control .button{grid-column:1/-1;width:100%}.search-result-card{align-items:flex-start;flex-direction:column}.search-result-card>.button{width:100%;text-align:center}}

/* UNISER V0.3.5 COMPACT MEDIA, CATEGORIES AND PRINT */

/* UNISER V0.3.5 COMPACT MEDIA, CATEGORIES AND PRINT */

.media-filters-expanded {
    display: grid;
    grid-template-columns: minmax(220px, 1.6fr) repeat(5, minmax(150px, 1fr)) auto;
    gap: 14px;
    align-items: end;
}

.compact-summary {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 22px 26px;
}

.media-group {
    margin-top: 30px;
}

.media-group-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.media-group-heading h2 {
    margin: 0;
}

.media-group-heading span {
    display: inline-grid;
    place-items: center;
    min-width: 30px;
    height: 30px;
    border-radius: 999px;
    background: #e8f5f3;
    color: #146f71;
    font-weight: 800;
}

.compact-media-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.compact-media-card {
    overflow: hidden;
    min-width: 0;
}

.compact-media-thumb {
    display: block;
    position: relative;
    height: 210px;
    background: #faf9fc;
}

.compact-media-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.compact-media-body {
    padding: 14px;
}

.compact-media-body h3 {
    margin: 0 0 8px;
    font-size: 1rem;
    line-height: 1.25;
}

.media-meta {
    margin: 0 0 10px;
    font-size: .9rem;
}

.media-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.media-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #f0f4f7;
    color: #405d73;
    font-size: .78rem;
    font-weight: 700;
}

.compact-actions {
    display: flex;
    gap: 8px;
}

.compact-actions .button {
    padding: 8px 11px;
    min-height: auto;
    font-size: .86rem;
}

.material-fieldset {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px;
}

.material-fieldset legend {
    padding: 0 6px;
    font-weight: 800;
}

.compact-check-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px 12px;
}

.compact-check-grid .check {
    margin: 0;
    align-items: center;
}

.print-toolbar {
    display: flex;
    gap: 10px;
    justify-content: center;
    padding: 16px;
    position: sticky;
    top: 0;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--border);
    z-index: 10;
}

.print-sheet {
    width: min(210mm, calc(100% - 32px));
    margin: 24px auto;
    background: #fff;
    padding: 18mm;
    box-shadow: 0 12px 40px rgba(5,60,94,.10);
}

.print-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 2px solid #053c5e;
    padding-bottom: 14px;
    margin-bottom: 20px;
}

.print-header h1 {
    margin: 4px 0 8px;
    font-size: 28px;
}

.print-brand {
    margin: 0;
    font-weight: 800;
    color: #053c5e;
}

.print-date {
    font-size: 12px;
    white-space: nowrap;
}

.print-intro {
    display: grid;
    grid-template-columns: 42% 1fr;
    gap: 20px;
    align-items: start;
    margin-bottom: 20px;
}

.print-main-image {
    margin: 0;
}

.print-main-image img {
    width: 100%;
    max-height: 360px;
    object-fit: contain;
    display: block;
}

.print-main-image figcaption {
    text-align: center;
    font-size: 12px;
    margin-top: 6px;
}

.print-facts {
    margin: 0;
}

.print-facts div {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px solid #e4e9ee;
}

.print-facts dt {
    font-weight: 800;
}

.print-facts dd {
    margin: 0;
}

.print-section {
    break-inside: avoid;
    page-break-inside: avoid;
    margin: 18px 0;
}

.print-section h2 {
    margin: 0 0 8px;
    font-size: 18px;
    border-left: 4px solid #01b1b1;
    padding-left: 10px;
}

.print-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.print-gallery figure {
    margin: 0;
    break-inside: avoid;
}

.print-gallery img {
    width: 100%;
    height: 180px;
    object-fit: contain;
}

.print-gallery figcaption {
    text-align: center;
    font-size: 12px;
}

@media (min-width: 1700px) {
    .compact-media-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 1250px) {
    .media-filters-expanded {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .compact-media-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .compact-check-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 850px) {
    .media-filters-expanded,
    .compact-media-grid,
    .compact-check-grid,
    .print-intro {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .media-filters-expanded,
    .compact-media-grid,
    .compact-check-grid,
    .print-intro {
        grid-template-columns: 1fr;
    }

    .compact-media-thumb {
        height: 230px;
    }
}

@media print {
    @page {
        size: A4;
        margin: 12mm;
    }

    body {
        background: #fff !important;
        color: #000 !important;
        font-size: 10.5pt;
    }

    .print-toolbar {
        display: none !important;
    }

    .print-sheet {
        width: auto;
        margin: 0;
        padding: 0;
        box-shadow: none;
    }

    .print-header h1 {
        font-size: 20pt;
    }

    a {
        color: inherit;
        text-decoration: none;
    }
}



/* UNISER THEMES V037 */
.theme-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:24px}
.theme-card{padding:24px;display:flex;flex-direction:column;gap:12px}
.theme-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.theme-code{font-weight:700;color:#667085}
.theme-card h2{margin:0;font-size:1.25rem}
.theme-card h2 a{text-decoration:none;color:var(--blue)}
.theme-author{font-weight:700;color:#667085}
.theme-card-actions{display:flex;gap:8px;margin-top:auto}
.theme-detail{max-width:1000px;margin:0 auto;padding:34px}
.theme-detail section{padding:20px 0;border-bottom:1px solid var(--border)}
.theme-quote{margin:0 0 26px;padding:24px;border-left:5px solid var(--teal);background:#f3fbfb;border-radius:12px}
.theme-quote p{font-size:1.25rem;line-height:1.6;margin:0}
.theme-quote footer{margin-top:12px;font-weight:800}
.theme-form{padding:28px;display:grid;gap:20px}
.theme-toolbar{grid-template-columns:minmax(260px,1fr) 260px auto auto}
@media(max-width:1050px){.theme-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.theme-toolbar{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.theme-grid{grid-template-columns:1fr}.theme-toolbar{grid-template-columns:1fr}}

/* UNISER THEMES V042 */
.themes-organized{padding-bottom:60px}
.theme-summary-bar{display:flex;gap:48px;padding:22px 26px;margin-bottom:22px}
.theme-summary-bar div{display:flex;align-items:baseline;gap:10px}
.theme-summary-bar strong{font-size:1.8rem;color:var(--blue)}
.theme-summary-bar span{color:#667085}
.theme-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:22px}
.theme-category-card{display:flex;flex-direction:column;gap:4px;padding:16px 18px;background:#fff;border:1px solid var(--border);border-radius:14px;text-decoration:none;color:var(--blue)}
.theme-category-card:hover,.theme-category-card.active{border-color:var(--teal);background:#f1fbfb}
.theme-category-card span{font-size:.9rem;color:#667085}
.theme-filters{display:grid;grid-template-columns:2fr repeat(5,minmax(135px,1fr));gap:14px;padding:20px;align-items:end}
.theme-filters label{display:grid;gap:7px}
.theme-filters label span{font-weight:800;font-size:.9rem}
.theme-filter-actions{display:flex;gap:8px}
.theme-results-heading{display:flex;align-items:center;gap:12px;margin:28px 0 14px}
.theme-results-heading h2{margin:0}
.theme-compact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.theme-compact-card{padding:20px;display:flex;flex-direction:column;gap:12px;min-height:250px}
.theme-compact-meta{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:.9rem;color:#667085}
.theme-compact-card h3{font-size:1.15rem;line-height:1.3;margin:0}
.theme-compact-card h3 a{text-decoration:none;color:var(--blue)}
.theme-summary{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;color:#475467;margin:0}
.theme-source-row{display:flex;flex-wrap:wrap;gap:7px;margin-top:auto;font-size:.82rem}
.theme-source-row span{padding:5px 8px;border-radius:999px;background:#f1f4f7;color:#475467}
.theme-source-row .review-flag{background:#fff3d8;color:#7a4c00}
.theme-card-actions{display:flex;gap:8px}
.button.small{padding:9px 13px;font-size:.9rem}
@media(max-width:1250px){
  .theme-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .theme-filters{grid-template-columns:repeat(3,minmax(0,1fr))}
  .theme-search-wide{grid-column:span 2}
  .theme-compact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .theme-summary-bar{flex-direction:column;gap:10px}
  .theme-category-grid,.theme-filters,.theme-compact-grid{grid-template-columns:1fr}
  .theme-search-wide{grid-column:auto}
}
/* UNISER THEMES V043 */
.themes-simple{padding-bottom:60px}
.simple-section-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:24px}
.simple-section-card{position:relative;display:flex;flex-direction:column;min-height:225px;padding:28px;text-decoration:none;color:inherit;transition:.18s ease}
.simple-section-card:hover{transform:translateY(-2px);border-color:var(--teal);box-shadow:0 12px 30px rgba(5,60,94,.08)}
.simple-section-number{position:absolute;top:18px;right:20px;display:grid;place-items:center;min-width:42px;height:42px;padding:0 10px;border-radius:999px;background:#eef4f8;color:var(--blue);font-weight:900}
.simple-section-card h2{font-size:1.35rem;line-height:1.25;margin:18px 50px 12px 0;color:var(--blue)}
.simple-section-card p{color:#667085;line-height:1.55;margin:0 0 24px}
.simple-section-link{margin-top:auto;font-weight:900;color:var(--teal)}
.section-header-row{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin:18px 0 20px}
.section-header-row h2{font-size:2rem;margin:10px 0 6px}
.section-header-row p{margin:0;color:#667085}
.back-link{text-decoration:none;font-weight:800;color:var(--teal)}
.section-count{padding:10px 14px;border-radius:999px;background:#eef4f8;color:var(--blue);font-weight:900}
.simple-search{display:flex;gap:10px;padding:16px;margin-bottom:20px}
.simple-search input{flex:1}
.simple-theme-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.simple-theme-card{display:flex;flex-direction:column;gap:12px;padding:22px;min-height:220px}
.simple-theme-code{font-size:.85rem;font-weight:800;color:#667085}
.simple-theme-card h3{font-size:1.2rem;margin:0;color:var(--blue)}
.simple-theme-card p{margin:0;color:#475467;line-height:1.55}
.simple-theme-footer{display:flex;justify-content:space-between;align-items:end;gap:12px;margin-top:auto}
.simple-theme-source{display:flex;flex-wrap:wrap;gap:6px}
.simple-theme-source span{font-size:.8rem;padding:5px 8px;border-radius:999px;background:#f1f4f7;color:#475467}
.simple-theme-actions{display:flex;gap:8px}
@media(max-width:1000px){
  .simple-section-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:720px){
  .simple-section-grid,.simple-theme-grid{grid-template-columns:1fr}
  .section-header-row,.simple-theme-footer{align-items:flex-start;flex-direction:column}
  .simple-search{flex-direction:column}
}\n\n/* UNISER THEMES V044 */\n.theme-dashboard-grid{margin-top:18px}\n.theme-dashboard-card{position:relative;display:flex;flex-direction:column;min-height:240px;overflow:hidden;text-decoration:none;color:inherit}\n.theme-dashboard-card h3{max-width:82%;margin-bottom:14px}\n.theme-dashboard-card p{color:#667085;line-height:1.6;margin:0 0 18px}\n.theme-card-count{position:absolute;top:20px;right:20px;display:grid;place-items:center;min-width:42px;height:42px;padding:0 12px;border-radius:999px;background:#eef4f8;color:var(--blue);font-weight:900}\n.theme-card-footer{margin-top:auto;display:flex;align-items:center;gap:10px;flex-wrap:wrap}\n.theme-card-pill{display:inline-flex;align-items:center;padding:9px 14px;border-radius:999px;background:#eef4f8;color:#49627e;font-weight:800;font-size:.95rem}\n.theme-card-open{display:inline-flex;align-items:center;padding:9px 14px;border-radius:999px;background:#eef8f3;color:var(--teal);font-weight:900;font-size:.95rem}\n.themes-subheader{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin:10px 0 16px}\n.themes-subheader h2{margin:6px 0 8px}\n.themes-subheader p{margin:0;color:#667085}\n.theme-back-link{text-decoration:none;font-weight:800;color:var(--teal)}\n.theme-section-count{display:inline-flex;align-items:center;padding:10px 14px;border-radius:999px;background:#eef4f8;color:var(--blue);font-weight:900;white-space:nowrap}\n.theme-section-search{display:flex;gap:10px;padding:16px;margin-bottom:20px}\n.theme-section-search input{flex:1}\n.theme-results-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}\n.theme-result-card{display:flex;flex-direction:column;min-height:220px;padding:22px}\n.theme-result-code{font-size:.88rem;font-weight:800;color:#667085;margin-bottom:6px}\n.theme-result-card h3{margin:0 0 10px;color:var(--blue)}\n.theme-result-card p{margin:0;color:#475467;line-height:1.6}\n.theme-result-meta{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 8px}\n.theme-chip{display:inline-flex;align-items:center;padding:7px 10px;border-radius:999px;background:#f1f4f7;color:#475467;font-size:.85rem;font-weight:800}\n.theme-result-actions{display:flex;gap:8px;margin-top:auto;padding-top:18px}\n.theme-empty{padding:24px 0;color:#667085}\n@media(max-width: 720px){\n  .themes-subheader{flex-direction:column;align-items:flex-start}\n  .theme-section-search{flex-direction:column}\n  .theme-results-grid{grid-template-columns:1fr}\n}\n

/* UNISER THEMES V045 */
.theme-list-elegant{
    display:grid;
    grid-template-columns:1fr;
    gap:14px;
}

.theme-item-elegant{
    display:flex;
    justify-content:space-between;
    gap:28px;
    align-items:stretch;
    padding:24px 26px;
    transition:.18s ease;
}

.theme-item-elegant:hover{
    border-color:var(--teal);
    box-shadow:0 10px 26px rgba(5,60,94,.07);
}

.theme-item-main{
    flex:1;
    min-width:0;
}

.theme-item-topline{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:16px;
    margin-bottom:10px;
}

.theme-item-code{
    font-size:.82rem;
    font-weight:900;
    letter-spacing:.04em;
    color:#6b7f93;
}

.theme-item-badges{
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-end;
    gap:7px;
}

.theme-item-badges span{
    display:inline-flex;
    align-items:center;
    padding:6px 9px;
    border-radius:999px;
    background:#f1f4f7;
    color:#526274;
    font-size:.78rem;
    font-weight:800;
}

.theme-item-badges .review{
    background:#fff2d7;
    color:#7a4c00;
}

.theme-item-badges .confirmed{
    background:#eaf7ef;
    color:#2d6b47;
}

.theme-item-elegant h3{
    margin:0 0 10px;
    color:var(--blue);
    font-size:1.25rem;
    line-height:1.35;
}

.theme-item-elegant p{
    margin:0;
    color:#536273;
    line-height:1.6;
    max-width:1000px;
}

.theme-item-elegant blockquote{
    margin:16px 0 0;
    padding:14px 16px;
    border-left:4px solid var(--teal);
    background:#f7fbfc;
    border-radius:0 10px 10px 0;
    color:#405469;
    font-style:italic;
}

.theme-item-elegant blockquote cite{
    display:block;
    margin-top:8px;
    font-style:normal;
    font-weight:800;
    color:#607388;
}

.theme-item-actions{
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:9px;
    min-width:130px;
}

.theme-item-actions .button{
    justify-content:center;
    text-align:center;
}

@media(max-width:760px){
    .theme-item-elegant{
        flex-direction:column;
        gap:18px;
    }

    .theme-item-topline{
        align-items:flex-start;
        flex-direction:column;
    }

    .theme-item-badges{
        justify-content:flex-start;
    }

    .theme-item-actions{
        flex-direction:row;
        min-width:0;
    }
}

/* UniSer Práticas v0.7.43 — pesquisa global no painel inicial */
.dashboard-global-search{margin:8px 0 32px}
.dashboard-global-search-form{padding:22px 24px;display:grid;grid-template-columns:minmax(280px,.85fr) minmax(360px,1.15fr);gap:24px;align-items:center;border:1px solid var(--border);background:linear-gradient(135deg,#fff 0%,#f7fbfc 100%)}
.dashboard-global-search-heading{display:flex;align-items:center;gap:15px;min-width:0}
.dashboard-global-search-heading h2{margin:0 0 5px;color:var(--blue);font-size:1.25rem}
.dashboard-global-search-heading p{margin:0;color:#66758a;line-height:1.45}
.dashboard-search-lens{width:48px;height:48px;display:grid;place-items:center;flex:0 0 48px;border-radius:999px;background:#e8f5f4;color:#147b7d}
.dashboard-search-lens svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.dashboard-global-search-control{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}
.dashboard-global-search-control input{width:100%;min-width:0;border:1px solid var(--border);border-radius:14px;background:#fff;padding:14px 16px;font:inherit;color:var(--blue);outline:none}
.dashboard-global-search-control input:focus{border-color:#01b1b1;box-shadow:0 0 0 3px rgba(1,177,177,.14)}
.dashboard-global-search-control .button{white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;gap:7px}
.dashboard-global-search-control .button span{font-size:1.25rem;line-height:1;transform:rotate(-20deg)}
@media(max-width:900px){.dashboard-global-search-form{grid-template-columns:1fr}.dashboard-global-search-control{grid-template-columns:1fr auto}}
@media(max-width:620px){.dashboard-global-search-form{padding:18px}.dashboard-global-search-control{grid-template-columns:1fr}.dashboard-global-search-control .button{width:100%}}
