/* ==============================================================
   APP ACADEMIA — CSS PRINCIPAL
   BLOCO GERAL: visual do computador e regras compartilhadas.
   BLOCO CELULAR: somente ajustes para telas de até 600px.
   BLOCO IMPRESSÃO: somente PDF e impressão.
============================================================== */
/* 1. CONFIGURAÇÃO GERAL */
* {
    box-sizing: border-box;
}
body {
    margin: 0 auto 16px; min-height: 100vh; padding: 32px 18px 48px; background-color: #151b17; color: #f4f7ee;
    font-family: Arial, Helvetica, sans-serif; font-size: 18px; line-height: 1.5;
}
/* 2. CONTAINER PRINCIPAL */
.app-container {
    width: 100%; max-width: 820px; margin: 0 auto;
}
/* 3. CABEÇALHOS E TEXTOS */
.app-header {
    text-align: center; margin-bottom: 28px;
}
.app-title {
    margin: 0; color: #b4cc72; font-size: 46px; line-height: 1.15; text-shadow: 0 0 22px rgba(135, 159, 69, 0.35);
}
.app-subtitle {
    max-width: 620px; margin: 12px auto 0; color: #cbd4c5; font-size: 19px;
}
.app-text {
    color: #cbd4c5; font-size: 18px;
}
/* 4. CARTÕES */
.app-card,
.app-data-card,
.app-home-card {
    background-color: #29332b; border-top: 4px solid #879f45; border-right: 1px solid #4b5c4c;
    border-bottom: 1px solid #4b5c4c; border-left: 1px solid #4b5c4c; border-radius: 16px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.30);
}
.app-card {
    position: relative; margin-bottom: 22px; padding: 20px 24px 16px;
}
.app-card.pulada {
    opacity: 0.5;
}
/* 5. PERGUNTAS E RESPOSTAS */
.app-question {
    margin: 0 90px 12px 0; font-size: 19px; font-weight: bold; line-height: 1.4;
}
.app-question-number {
    color: #b4cc72;
}
.app-form-group {
    display: block;
}
.app-option {
    display: flex; align-items: flex-start; gap: 10px; padding: 5px 10px; color: #cbd4c5; border-radius: 8px;
    cursor: pointer; line-height: 1.3;
}
.app-option:hover {
    color: #f4f7ee; background-color: #3a483b;
}
.app-option input[type="radio"] {
    width: 21px; height: 21px; margin: 1px 0 0; flex-shrink: 0; accent-color: #879f45; cursor: pointer;
}
.app-option input:checked + span {
    color: #f4f7ee; font-weight: bold;
}
/* 6. BOTÕES */
.app-btn,
.app-link-btn {
    min-height: 48px; padding: 12px 20px; border-radius: 10px; font-family: Arial, Helvetica, sans-serif;
    font-size: 17px; font-weight: bold; cursor: pointer;
}
.app-btn {
    border: none;
}
.app-btn:hover,
.app-link-btn:hover {
    opacity: 0.90;
}
.app-btn-primary,
.app-link-btn-primary,
.app-btn-warning {
    color: #172014; background-color: #879f45; box-shadow: 0 8px 20px rgba(135, 159, 69, 0.30);
}
.app-btn-primary {
    width: 100%; margin-top: 8px; font-size: 19px;
}
.app-btn-secondary,
.app-link-btn-secondary,
.app-btn-neutral {
    color: #f4f7ee; background-color: #556457; border: 1px solid #667969;
}
.app-btn-skip {
    position: absolute; top: 14px; right: 14px; min-height: 36px; padding: 7px 12px; color: #f4f7ee;
    background-color: #465548; border: 1px solid #667969; font-size: 14px;
}
/* 7. JANELA DE AVISO */
.app-modal {
    display: none; position: fixed; z-index: 1000; top: 0; right: 0; bottom: 0; left: 0; padding: 20px;
    align-items: center; justify-content: center; background-color: rgba(8, 12, 9, 0.88);
}
.app-alert {
    width: 100%; max-width: 440px; padding: 28px; text-align: center; background-color: #29332b;
    border: 1px solid #879f45; border-radius: 16px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.60);
}
.app-alert-title {
    margin: 0 0 10px; color: #b4cc72; font-size: 24px;
}
.app-alert-text {
    margin: 0 0 22px; color: #cbd4c5; font-size: 18px;
}
.app-alert-actions {
    display: flex; justify-content: center; gap: 12px;
}
/* 8. OBSERVAÇÃO E FORMULÁRIOS */
.app-observation {
    margin: 26px 0; padding: 22px; background-color: #edf2df; color: #263128; border: 2px solid #879f45;
    border-radius: 16px; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}
.app-observation-label {
    display: block; margin-bottom: 12px; font-size: 22px; font-weight: bold; color: #526a2f;
}
.app-observation-text {
    margin: 0 0 14px; color: #344137; font-size: 17px; line-height: 1.5;
}
.app-textarea {
    width: 100%; min-height: 130px; padding: 12px; color: #202820; background-color: #ffffff;
    border: 1px solid #9aaa91; border-radius: 9px; font-family: Arial, Helvetica, sans-serif; font-size: 17px;
    line-height: 1.4; resize: vertical;
}
.app-textarea:focus {
    outline: none; border: 2px solid #879f45;
}
.app-help-text {
    display: block; margin-top: 10px; color: #62705f; font-size: 14px; line-height: 1.5;
}
.app-data-card {
    padding: 26px;
}
.app-field {
    margin-bottom: 20px;
}
.app-label {
    display: block; margin-bottom: 7px; color: #f4f7ee; font-size: 18px; font-weight: bold;
}
.app-input, .app-select {
    display: block; width: 100%; min-height: 50px; padding: 10px 13px; color: #202820; background-color: #ffffff;
    border: 2px solid #9aaa91; border-radius: 9px; font-family: Arial, Helvetica, sans-serif; font-size: 17px;
}
.app-input:focus, .app-select:focus {
    outline: none; border-color: #879f45; box-shadow: 0 0 0 3px rgba(135, 159, 69, 0.20);
}
.app-error {
    display: none; margin-top: 7px; color: #ffaaa3; font-size: 15px; line-height: 1.4;
}
/* 9. PÁGINA INICIAL */
.app-home {
    max-width: 680px;
}
.app-home-hero {
    display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 20px; align-items: center; margin-bottom: 20px;
    text-align: left;
}
.app-home-emblem {
    display: flex; align-items: center; justify-content: center; width: 92px; height: 92px; margin: 0;
    background-color: #29332b; border: 2px solid #879f45; border-radius: 50%; overflow: hidden;
    box-shadow: 0 0 0 8px rgba(135, 159, 69, 0.08),
                0 12px 28px rgba(0, 0, 0, 0.30);
    line-height: 1;
}
.app-home-emblem img {
    display: block; width: 100%; height: 100%; object-fit: cover;
}
.app-home-hero .app-home-emblem {
    grid-row: 1 / span 2; margin: 0;
}
.app-home-kicker {
    grid-column: 2; align-self: end; margin: 0;
}
.app-home-welcome {
    grid-column: 2; align-self: start; max-width: none; margin: 0; color: #f4f7ee; font-size: 35px; line-height: 1.2;
}
.app-home-welcome span {
    color: #b4cc72; text-shadow: 0 0 22px rgba(135, 159, 69, 0.28);
}
.app-home-card {
    padding: 28px;
}
.app-home-question {
    margin: 0 0 16px; color: #b4cc72; text-align: center; font-size: 26px; line-height: 1.25;
}
.app-benefit-list {
    margin: 0; padding: 0; list-style: none;
}
.app-benefit-item {
    display: flex; align-items: flex-start; gap: 11px; margin-bottom: 9px; padding: 11px 13px; color: #f4f7ee;
    background-color: #3a483b; border: 1px solid #4b5c4c; border-radius: 10px; font-size: 18px;
}
.app-benefit-check {
    color: #b4cc72; font-weight: bold;
}
.app-home-highlight {
    margin: 24px 0 0; padding: 16px 18px; color: #f4f7ee; background-color: #202922; border-left: 4px solid #879f45;
    border-radius: 10px; font-size: 19px; font-weight: bold; line-height: 1.45;
}
.app-access {
    margin-top: 18px; text-align: center;
}
.app-access-actions {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.app-link-btn {
    display: flex; align-items: center; justify-content: center; text-decoration: none;
}
.app-share {
    margin-top: 20px; text-align: center;
}
.app-share-button {
    width: 100%; color: #f4f7ee; background-color: transparent; border: 1px solid #667969;
}
.app-share-feedback {
    min-height: 24px; margin: 9px 0 0; color: #b4cc72; font-size: 14px;
}
/* 10. LOGIN E CADASTRO */
.app-auth {
    max-width: 560px;
}
.app-auth-card {
    padding: 28px; background-color: #29332b; border-top: 4px solid #879f45; border-right: 1px solid #4b5c4c;
    border-bottom: 1px solid #4b5c4c; border-left: 1px solid #4b5c4c; border-radius: 16px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.30);
}
.app-auth-actions {
    margin-top: 26px;
}
.app-auth-actions .app-btn-primary {
    margin-top: 0;
}
.app-auth-footer {
    margin: 20px 0 0; text-align: center; color: #cbd4c5; font-size: 16px;
}
.app-auth-link {
    color: #b4cc72; font-weight: bold; text-decoration: none;
}
.app-auth-link:hover {
    text-decoration: underline;
}
.app-message-error {
    margin: 0 0 20px; padding: 12px 14px; color: #ffd7d3; background-color: #5a2926; border: 1px solid #a95650;
    border-radius: 9px; font-size: 16px; line-height: 1.4;
}
.app-partner-signup .app-header {
    display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 5px 12px; align-items: center; margin-bottom: 16px;
    text-align: left;
}
.app-partner-signup .app-home-emblem {
    grid-row: 1 / span 2; width: 58px; height: 58px; margin: 0; font-size: 27px;
}
.app-partner-signup .app-title {
    margin: 0; font-size: 30px; text-align: left;
}
.app-partner-signup .app-subtitle {
    margin: 0; font-size: 15px; line-height: 1.35; text-align: left;
}
.app-partner-signup .app-auth-card {
    padding: 18px;
}
.app-partner-signup .app-field {
    margin-bottom: 12px;
}
.app-partner-signup .app-label {
    margin-bottom: 4px; font-size: 15px;
}
.app-partner-signup .app-input,
.app-partner-signup .app-select {
    min-height: 42px; padding: 7px 10px; font-size: 15px;
}
.app-partner-signup .app-textarea {
    min-height: 90px; padding: 9px 10px; font-size: 15px;
}
.app-partner-signup .app-auth-actions {
    margin-top: 18px;
}
.app-partner-signup .app-auth-footer {
    margin-top: 14px; font-size: 14px;
}
/* 11. PAINÉIS */
.app-dashboard {
    max-width: 680px;
}
.app-dashboard .app-title {
    font-size: 38px;
}
.app-dashboard-welcome {
    margin: 10px 0 0; text-align: center; font-size: 20px;
}
.app-dashboard-next-date {
    margin: 7px 0 0; color: #cbd4c5; text-align: center; font-size: 16px; line-height: 1.4;
}
.app-dashboard-next-date strong {
    color: #b4cc72;
}
.app-dashboard-intro, .app-dashboard-status {
    color: #cbd4c5; font-size: 18px;
}
.app-dashboard-status strong {
    color: #b4cc72;
}
.app-dashboard-status p {
    margin: 8px 0 0;
}
.app-dashboard-deadline {
    margin-top: 14px; padding: 14px; background-color: #202922; border-radius: 10px;
}
.app-dashboard-actions {
    display: grid; gap: 10px; margin-top: 16px;
}
.app-dashboard-actions .app-btn-primary {
    margin-top: 0;
}
.app-dashboard-option {
    margin-bottom: 10px;
}
.app-dashboard-option .app-link-btn {
    flex-direction: column; gap: 4px; min-height: 68px; padding: 10px 16px; text-align: center;
}
.app-dashboard-option-title {
    font-size: 18px; font-weight: bold; line-height: 1.25;
}
.app-dashboard-option-text {
    font-size: 14px; font-style: italic; font-weight: normal; line-height: 1.3;
}
.app-dashboard-logout {
    margin-top: 34px; text-align: center;
}
.app-dashboard-stats {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px;
}
.app-dashboard-stats .app-card {
    text-align: center;
}
.app-progress {
    width: 100%; height: 12px; margin: 10px 0; accent-color: #879f45;
}

/* 11A. MINHA AVALIAÇÃO — LAYOUT COMPACTO */
.app-my-assessment .app-header {
    margin-bottom: 14px;
}
.app-my-assessment .app-home-emblem {
    width: 58px;
    height: 58px;
    font-size: 27px;
}
.app-my-assessment .app-title {
    font-size: 30px;
}
.app-my-assessment .app-access-actions {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.app-my-assessment .app-card {
    margin-bottom: 0;
    padding: 14px 16px 12px;
}
.app-my-assessment .app-text {
    margin: 0 0 12px;
    font-size: 16px;
    line-height: 1.35;
}
.app-my-assessment .app-link-btn,
.app-my-assessment .app-btn {
    min-height: 44px;
    padding: 9px 12px;
    font-size: 16px;
}
.app-my-assessment .app-btn-primary {
    margin-top: 0;
}
.app-my-assessment > .app-link-btn-secondary {
    margin-top: 10px;
    min-height: 44px;
}


/* 11B. DETALHES DA AVALIAÇÃO / PRONTUÁRIO — LAYOUT COMPACTO */
.app-evaluation-detail .app-header {
    margin-bottom: 14px;
}
.app-evaluation-detail .app-title {
    font-size: 30px;
}
.app-evaluation-detail .app-subtitle {
    margin-top: 5px;
    font-size: 15px;
}
.app-evaluation-detail .app-card {
    margin-bottom: 12px;
    padding: 13px 16px 11px;
}
.app-evaluation-detail .app-alert-title {
    margin-bottom: 7px;
    font-size: 20px;
}
.app-evaluation-detail .app-text {
    margin: 5px 0;
    font-size: 15px;
    line-height: 1.3;
}
.app-evaluation-detail .app-message-error {
    margin: 7px 0;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.35;
}
.app-evaluation-detail .app-message-error p {
    margin: 6px 0 0;
}
.app-evaluation-detail .app-observation {
    margin: 12px 0;
    padding: 14px 16px;
}
.app-evaluation-detail .app-observation-label {
    margin-bottom: 7px;
    font-size: 19px;
}
.app-evaluation-detail .app-observation-text {
    margin: 0;
    font-size: 15px;
    line-height: 1.35;
}
.app-evaluation-detail .app-help-text {
    margin-top: 7px;
    font-size: 12px;
    line-height: 1.3;
}
.app-evaluation-detail > .app-link-btn-secondary {
    min-height: 42px;
    margin-top: 10px;
}

/* 12. AVALIAÇÃO COMPARTILHADA E IMPRESSÃO */
.app-public-share {
    max-width: 600px;
}
.app-public-summary p {
    margin: 10px 0;
}
.app-public-message {
    text-align: center;
}
.app-public-message strong {
    display: block; margin-bottom: 6px; color: #b4cc72;
}
.app-public-notice {
    margin: 22px 0 0; color: #cbd4c5; text-align: center; font-size: 13px; line-height: 1.45;
}
.app-print-document {
    max-width: 760px;
}
.app-print-actions {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px;
}
.app-print-actions .app-btn-primary {
    margin-top: 0;
}
.app-print-alert {
    display: block;
}
.app-print-notice {
    margin-bottom: 20px;
}
/* 13. MINHA EVOLUÇÃO */
.app-evolution {
    max-width: 900px;
}
.app-evolution-chart-card {
    margin-bottom: 22px;
}
.app-evolution-figure {
    max-width: 100%; margin: 0; overflow-x: auto;
}
.app-evolution-chart {
    display: block; width: 100%; min-width: 620px; height: auto; font-family: Arial, Helvetica, sans-serif;
    background-color: #202922; border: 1px solid #4b5c4c; border-radius: 12px;
}
.app-evolution-grid {
    stroke: #536255; stroke-width: 1;
}
.app-evolution-line {
    fill: none; stroke: #91ad4f; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round;
}
.app-evolution-point {
    fill: #b4cc72; stroke: #f4f7ee; stroke-width: 2;
}
.app-evolution-axis-label, .app-evolution-date {
    fill: #cbd4c5; font-size: 13px;
}
.app-evolution-value {
    fill: #f4f7ee; font-size: 14px; font-weight: bold;
}
.app-evolution-table-wrap {
    max-width: 100%; overflow-x: auto;
}
.app-evolution-table {
    width: 100%; min-width: 700px; border-collapse: collapse; color: #f4f7ee;
}
.app-evolution-table th, .app-evolution-table td {
    padding: 12px 10px; text-align: center; border-bottom: 1px solid #536255;
}
.app-evolution-table th {
    color: #182018; background-color: #b4cc72;
}
.app-evolution-table tbody tr:nth-child(even) {
    background-color: #202922;
}
/* 14. PUBLICIDADE E LOCAIS PRÓXIMOS */
.app-advertising {
    margin-bottom: 22px; overflow: hidden; background-color: #202922; border: 1px solid #4b5c4c; border-radius: 16px;
    box-shadow: 0 12px 28px rgba(0,0,0,.30);
}
.app-advertising-label {
    margin: 0; padding: 7px 14px; color: #cbd4c5; background-color: #151b17; font-size: 12px; font-weight: bold;
    letter-spacing: 1px; text-align: center; text-transform: uppercase;
}
.app-advertising-stage {
    height: 108px;
}
.app-advertising-slide {
    height: 108px; padding: 13px 24px; text-align: center; background: linear-gradient(135deg, #29332b, #3a483b);
}
.app-advertising-slide:not([hidden]) {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.app-advertising-slide[hidden] {
    display: none;
}
.app-advertising-slide:nth-child(1) {
    background: linear-gradient(135deg, #29402b, #42633c);
}
.app-advertising-slide:nth-child(2) {
    background: linear-gradient(135deg, #24384a, #315d72);
}
.app-advertising-slide:nth-child(3) {
    background: linear-gradient(135deg, #4b2d31, #7a4938);
}
.app-advertising-slide.is-active {
    animation: app-advertising-entry .45s ease;
}
.app-advertising-slide strong, .app-advertising-slide span {
    display: block;
}
.app-advertising-slide strong {
    margin: 4px 0; color: #f4f7ee; font-size: 21px; line-height: 1.2;
}
.app-advertising-slide span:last-child {
    color: #f4f7ee; font-size: 15px;
}
.app-advertising-kicker {
    color: #b4cc72; font-size: 13px; font-weight: bold; letter-spacing: 1.3px;
}
.app-advertising-controls {
    display: flex; align-items: center; justify-content: center; gap: 15px; min-height: 44px;
    background-color: #29332b;
}
.app-advertising-arrow {
    width: 40px; height: 36px; padding: 0; color: #f4f7ee; background: transparent; border: 0; font-size: 28px;
    cursor: pointer;
}
.app-advertising-dots {
    display: flex; gap: 9px;
}
.app-advertising-dots button {
    width: 11px; height: 11px; padding: 0; background-color: #667969; border: 0; border-radius: 50%; cursor: pointer;
}
.app-advertising-dots button.is-active {
    background-color: #b4cc72; box-shadow: 0 0 8px rgba(180,204,114,.55);
}
.app-location-option {
    width: 100%; margin: 0; color: #f4f7ee; text-align: left;
}
.app-location-option:disabled {
    opacity: .55; cursor: wait;
}
.app-location-option.is-selected {
    border-color: #d9f27f; background-color: #455746; box-shadow: 0 0 0 3px rgba(180,204,114,.18);
}
.app-location-option.is-loading {
    position: relative; min-height: 80px; opacity: 1; overflow: hidden;
}
.app-location-option.is-loading > span {
    opacity: .12;
}
.app-location-option.is-loading::before {
    content: ""; position: absolute; top: 50%; left: 50%; width: 24px; height: 24px; margin: -24px 0 0 -12px;
    border: 3px solid rgba(244,247,238,.32); border-top-color: #d9f27f; border-radius: 50%;
    animation: app-search-spin .8s linear infinite;
}
.app-location-option.is-loading::after {
    content: "Buscando locais..."; position: absolute; top: 50%; right: 8px; left: 8px; margin-top: 8px;
    color: #f4f7ee; text-align: center; font-size: 14px; font-weight: bold;
}
.app-location-option-wide {
    grid-column: 1 / -1;
}
.app-location-header {
    display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 16px; align-items: center; text-align: left;
}
.app-location-header .app-home-emblem {
    width: 68px; height: 68px; margin: 0; font-size: 31px;
}
.app-location-header .app-title {
    margin: 0; font-size: 31px;
}
.app-location-header .app-subtitle {
    margin: 5px 0 0; text-align: left;
}
.app-nearby-map {
    margin: 24px 0; overflow: hidden; background-color: #29332b; border-top: 4px solid #879f45;
    border-right: 1px solid #4b5c4c; border-bottom: 1px solid #4b5c4c; border-left: 1px solid #4b5c4c;
    border-radius: 16px; box-shadow: 0 12px 28px rgba(0,0,0,.30);
}
.app-nearby-map-heading {
    display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 20px;
}
.app-nearby-map-heading h2 {
    margin: 2px 0 0; color: #f4f7ee; font-size: 22px; line-height: 1.25;
}
.app-nearby-map-heading .app-auth-link {
    display: none;
}
.app-nearby-map-label {
    margin: 0; color: #b4cc72; font-size: 12px; font-weight: bold; letter-spacing: .8px; text-transform: uppercase;
}
.app-nearby-map iframe {
    display: block; width: 100%; height: 440px; background-color: #202922; border: 0;
}
.app-nearby-map-note {
    margin: 0; padding: 10px 14px; color: #cbd4c5; font-size: 13px; text-align: center;
}
.app-nearby-summary {
    padding: 14px 16px; background-color: #202922; border-left: 4px solid #b4cc72; border-radius: 10px;
}
.app-nearby-summary .app-nearby-badge {
    margin: 0 0 7px;
}
.app-nearby-summary h2 {
    margin: 0;
}
.app-nearby-google {
    padding-top: 0; border-top: 0;
}
.app-nearby-google.has-partners {
    padding-top: 14px; border-top: 2px solid #8eaa42;
}
@keyframes app-advertising-entry {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes app-search-spin {
    to {
        transform: rotate(360deg);
    }
}
@media (prefers-reduced-motion: reduce) {
    .app-advertising-slide.is-active {
        animation: none;
    }
    .app-location-option.is-loading::before {
        animation-duration: 1.5s;
    }
}
/* 15. PAINEL DO INSTRUTOR */
.app-instructor-banner {
    position: sticky; z-index: 100; top: 0; max-width: 680px; margin: -18px auto 22px; overflow: hidden;
    color: #f7f3ff; background: linear-gradient(135deg, #29304f, #5c3f78); border: 1px solid #8972a6;
    border-radius: 0 0 14px 14px; box-shadow: 0 8px 22px rgba(0, 0, 0, .34);
}
#convidar-aluno, #convites-pendentes, #meus-alunos {
    scroll-margin-top: 112px;
}
.app-instructor-banner-label {
    margin: 0; padding: 3px 12px; color: #e8ddf4; background-color: rgba(24, 25, 48, .72); font-size: 10px;
    font-weight: bold; letter-spacing: .9px; text-align: center; text-transform: uppercase;
}
.app-instructor-banner-content {
    display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 66px;
    padding: 7px 12px; color: inherit; text-decoration: none;
}
.app-instructor-banner-content:hover, .app-instructor-banner-content:focus {
    background-color: rgba(255, 255, 255, .07);
}
.app-instructor-banner-content:focus {
    outline: 3px solid #ffbd69; outline-offset: -3px;
}
.app-instructor-banner-avatar {
    display: flex; align-items: center; justify-content: center; width: 40px; height: 40px;
    background: linear-gradient(135deg, #62b8d6, #bd86d5); border: 2px solid rgba(255, 255, 255, .72);
    border-radius: 50%; font-size: 22px;
}
.app-instructor-banner-copy {
    min-width: 0;
}
.app-instructor-banner-copy strong, .app-instructor-banner-copy span {
    display: block;
}
.app-instructor-banner-copy strong {
    color: #ffffff; font-size: 15px; line-height: 1.2;
}
.app-instructor-banner-copy span {
    margin-top: 2px; color: #eee9f5; font-size: 12px; line-height: 1.25;
}
.app-instructor-banner-action {
    padding: 6px 9px; color: #25233c; background-color: #ffbd69; border-radius: 8px; font-size: 12px;
    font-weight: bold; white-space: nowrap;
}
/* 16. TELAS DA AVALIAÇÃO */
.app-assessment .app-header {
    margin-bottom: 18px;
}
.app-assessment .app-title {
    font-size: 36px;
}
.app-assessment-user {
    margin: 6px 0 0; color: #f4f7ee; text-align: center; font-size: 14px; line-height: 1.35;
}
.app-assessment-user strong {
    color: #b4cc72;
}
.app-assessment .app-subtitle {
    margin-top: 5px; font-size: 16px;
}
.app-assessment .app-data-card {
    padding: 20px;
}
.app-assessment .app-field {
    margin-bottom: 14px;
}
.app-assessment .app-label {
    margin-bottom: 5px; font-size: 16px;
}
.app-assessment .app-input, .app-assessment .app-select {
    min-height: 44px; padding: 8px 11px; font-size: 16px;
}
/* 17. CELULAR */
@media (max-width: 600px) {
    body {
        padding: 22px 12px 36px; font-size: 17px;
    }
    .app-header {
        margin-bottom: 22px;
    }
    .app-title {
        font-size: 28px;
    }
    .app-subtitle {
        font-size: 17px;
    }
    .app-card {
        padding: 16px 14px 12px; border-radius: 14px;
    }
    .app-question {
        margin: 0 76px 10px 0; font-size: 18px;
    }
    .app-option {
        padding: 5px 7px;
    }
    .app-btn-skip {
        top: 12px; right: 12px;
    }
    .app-alert {
        padding: 24px 18px;
    }
    .app-alert-actions {
        display: block;
    }
    .app-alert-actions .app-btn {
        width: 100%; margin-top: 10px;
    }
    .app-observation {
        padding: 16px;
    }
    .app-observation-label {
        font-size: 20px;
    }
    .app-data-card {
        padding: 18px 15px;
    }
    .app-home-card {
        padding: 18px 15px;
    }
    .app-home .app-home-emblem {
        width: 64px; height: 64px;
    }
    .app-home-hero {
        grid-template-columns: 64px minmax(0, 1fr); gap: 13px; margin-bottom: 16px;
    }
    .app-home-welcome {
        font-size: 23px;
    }
    .app-home-question {
        font-size: 23px;
    }
    .app-benefit-item {
        padding: 10px; font-size: 17px;
    }
    .app-home-highlight {
        padding: 14px; font-size: 17px;
    }
    .app-access-actions {
        grid-template-columns: 1fr;
    }
    .app-auth-card {
        padding: 20px 15px;
    }
    .app-partner-signup .app-header {
        grid-template-columns: 48px minmax(0, 1fr); gap: 4px 10px; margin-bottom: 13px;
    }
    .app-partner-signup .app-home-emblem {
        width: 48px; height: 48px; font-size: 23px;
    }
    .app-partner-signup .app-title {
        font-size: 24px;
    }
    .app-partner-signup .app-subtitle {
        font-size: 13px;
    }
    .app-partner-signup .app-auth-card {
        padding: 14px;
    }
    .app-partner-signup .app-field {
        margin-bottom: 10px;
    }
    .app-dashboard .app-title {
        font-size: 32px;
    }
    .app-print-actions {
        grid-template-columns: 1fr;
    }
    .app-advertising-stage, .app-advertising-slide {
        height: 108px;
    }
    .app-advertising-slide {
        padding: 10px 12px;
    }
    .app-advertising-slide strong {
        font-size: 18px;
    }
    .app-advertising-slide span:last-child {
        font-size: 14px;
    }
    .app-location-header {
        grid-template-columns: 56px minmax(0, 1fr); gap: 12px;
    }
    .app-location-header .app-home-emblem {
        width: 56px; height: 56px; font-size: 26px;
    }
    .app-location-header .app-title {
        font-size: 25px;
    }
    .app-location-header .app-subtitle {
        font-size: 15px;
    }
    .app-location-option-wide {
        grid-column: auto;
    }
    .app-nearby-map-heading {
        display: block; padding: 15px;
    }
    .app-nearby-map-heading .app-auth-link {
        display: none;
    }
    .app-nearby-map iframe {
        height: 390px;
    }
    .app-instructor-banner {
        margin: -22px -12px 18px; border-right: 0; border-left: 0; border-radius: 0 0 12px 12px;
    }
    .app-instructor-banner-content {
        grid-template-columns: 38px minmax(0, 1fr) auto; gap: 7px; min-height: 64px; padding: 6px 9px;
    }
    .app-instructor-banner-avatar {
        width: 34px; height: 34px; font-size: 19px;
    }
    .app-instructor-banner-copy strong {
        font-size: 13px;
    }
    .app-instructor-banner-copy span {
        font-size: 11px;
    }
    .app-instructor-banner-action {
        padding: 5px 7px; font-size: 11px;
    }
    .app-assessment .app-header {
        margin-bottom: 14px;
    }
    .app-assessment .app-title {
        font-size: 26px;
    }
    .app-assessment-user {
        font-size: 13px;
    }
    .app-assessment .app-subtitle {
        font-size: 15px;
    }
    .app-assessment .app-data-card {
        padding: 14px;
    }
    .app-assessment .app-field {
        margin-bottom: 12px;
    }

    /* DETALHES DA AVALIAÇÃO / PRONTUÁRIO */
    body.app-evaluation-detail-page {
        padding: 10px 8px 16px;
    }
    .app-evaluation-detail .app-header {
        margin-bottom: 10px;
    }
    .app-evaluation-detail .app-title {
        font-size: 23px;
        line-height: 1.15;
    }
    .app-evaluation-detail .app-subtitle {
        margin-top: 3px;
        font-size: 12px;
    }
    .app-evaluation-detail .app-card {
        margin-bottom: 9px;
        padding: 10px 11px 9px;
        border-top-width: 3px;
        border-radius: 11px;
        box-shadow: 0 5px 12px rgba(0, 0, 0, 0.22);
    }
    .app-evaluation-detail .app-alert-title {
        margin-bottom: 5px;
        font-size: 17px;
    }
    .app-evaluation-detail .app-text {
        margin: 4px 0;
        font-size: 13px;
        line-height: 1.25;
    }
    .app-evaluation-detail .app-message-error {
        margin: 5px 0;
        padding: 8px 9px;
        font-size: 12px;
        line-height: 1.3;
    }
    .app-evaluation-detail .app-message-error p {
        margin: 5px 0 0;
    }
    .app-evaluation-detail .app-observation {
        margin: 9px 0;
        padding: 10px 11px;
        border-radius: 11px;
    }
    .app-evaluation-detail .app-observation-label {
        margin-bottom: 5px;
        font-size: 16px;
    }
    .app-evaluation-detail .app-observation-text {
        font-size: 13px;
        line-height: 1.3;
    }
    .app-evaluation-detail .app-help-text {
        margin-top: 6px;
        font-size: 11px;
        line-height: 1.25;
    }
    .app-evaluation-detail > .app-link-btn-secondary {
        min-height: 38px;
        margin-top: 8px;
        padding: 7px 10px;
        font-size: 13px;
    }

    /* MINHA AVALIAÇÃO: 4 cards + voltar visíveis sem rolagem em celulares comuns */
    body.app-my-assessment-page {
        min-height: 100svh;
        padding: 10px 10px 14px;
        margin-bottom: 0;
    }
    .app-my-assessment .app-header {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 10px;
        margin-bottom: 10px;
    }
    .app-my-assessment .app-home-emblem {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }
    .app-my-assessment .app-title {
        font-size: 24px;
    }
    .app-my-assessment .app-access-actions {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .app-my-assessment .app-card {
        min-height: 0;
        padding: 10px 10px 9px;
        border-top-width: 3px;
        border-radius: 12px;
        box-shadow: 0 6px 14px rgba(0, 0, 0, 0.24);
    }
    .app-my-assessment .app-text {
        margin: 0 0 8px;
        font-size: 14px;
        line-height: 1.28;
    }
    .app-my-assessment .app-link-btn,
    .app-my-assessment .app-btn {
        min-height: 38px;
        padding: 7px 8px;
        border-radius: 8px;
        font-size: 15px;
        line-height: 1.15;
    }
    .app-my-assessment > .app-link-btn-secondary {
        min-height: 40px;
        margin-top: 8px;
        font-size: 14px;
    }

}
/* 18. IMPRESSÃO E PDF */
@media print {
    @page {
        size: A4; margin: 14mm;
    }
    body {
        padding: 0; color: #111111; background-color: #ffffff; font-size: 12pt;
    }
    .app-print-document {
        max-width: none;
    }
    .app-print-actions {
        display: none;
    }
    .app-header {
        margin-bottom: 16px;
    }
    .app-title, .app-alert-title {
        color: #7a3f08; text-shadow: none;
    }
    .app-title {
        font-size: 24pt;
    }
    .app-subtitle, .app-text, .app-public-notice {
        color: #222222;
    }
    .app-card, .app-observation {
        break-inside: avoid; margin-bottom: 12px; padding: 14px; color: #111111; background-color: #ffffff;
        border: 1px solid #9a9a9a; border-top: 3px solid #b75f0d; box-shadow: none;
    }
    .app-message-error {
        break-inside: avoid; color: #111111; background-color: #fff1ef; border-color: #b45a52;
    }
    .app-observation-label, .app-observation-text {
        color: #111111;
    }
    .app-instructor-banner {
        display: none;
    }
}
