/* MISSÃO 005 — Mobile First Audit: leitura, toque e viewport */
@media (max-width:760px){
  :root{--dcc-topbar:64px}
  .dcc-app{font-size:16px;line-height:1.55}
  .dcc-main{padding:16px 14px calc(100px + env(safe-area-inset-bottom));}
  .dcc-section{margin-bottom:36px;scroll-margin-top:82px}
  .dcc-overline{font-size:11px;letter-spacing:.13em}
  .dcc-section-head{margin-bottom:15px;gap:10px}
  .dcc-section-head h2{font-size:24px;line-height:1.18}
  .dcc-section-note,.dcc-section-link{font-size:13px}
  .dcc-status{font-size:10px;min-height:26px;padding:0 9px}
  .dcc-btn{min-height:50px;padding:0 17px;font-size:14px;border-radius:14px}
  .dcc-icon-button{width:44px;height:44px}

  /* Topbar: busca continua útil no celular */
  .dcc-topbar{height:64px;grid-template-columns:auto minmax(0,1fr) auto;gap:8px;padding:0 10px}
  .dcc-topbar-left{gap:7px}.dcc-brand-mark{width:40px;height:40px}
  .dcc-search{max-width:none!important;width:100%;height:42px;padding:0 10px}
  .dcc-search input{font-size:16px!important}
  .dcc-search input::placeholder{color:var(--dcc-muted-2)!important;font-size:13px}
  .dcc-top-actions{gap:5px}.dcc-user-copy,.dcc-version,.dcc-notify{display:none!important}
  .dcc-avatar{width:40px;height:40px}

  /* Hero e KPIs */
  .dcc-hero-dashboard{padding:24px 18px;border-radius:22px;gap:22px}
  .dcc-hero-content h1{font-size:40px;line-height:1.02;margin:10px 0 13px}
  .dcc-hero-content p{font-size:15px;line-height:1.6}
  .dcc-hero-actions{gap:9px;margin-top:20px}
  .dcc-hero-dna{grid-template-columns:86px 1fr;padding:14px;gap:13px}
  .dcc-dna-copy>span{font-size:10px}.dcc-dna-copy strong{font-size:15px}.dcc-dna-copy small{font-size:13px}
  .dcc-kpi-strip{gap:8px}.dcc-kpi-strip article{padding:13px}.dcc-kpi-strip span,.dcc-kpi-strip small{font-size:12px}.dcc-kpi-strip strong{font-size:20px}
  .dcc-prescription-card{padding:28px 18px 20px}.dcc-prescription-main h2{font-size:19px;line-height:1.3}.dcc-prescription-main p{font-size:14px;line-height:1.55}.dcc-prescription-side span{font-size:12px}

  /* “O que você quer fazer agora?”: tudo visível e legível */
  .dcc-study-choice-grid{grid-template-columns:1fr!important;gap:10px!important}
  .dcc-study-choice-grid button{min-height:0!important;padding:15px!important;display:grid;grid-template-columns:46px minmax(0,1fr);grid-template-rows:auto auto;column-gap:13px;align-items:center}
  .dcc-study-choice-grid b{grid-row:1/3;width:44px;height:44px;margin:0!important;font-size:15px}
  .dcc-study-choice-grid strong{font-size:16px;margin:0 0 2px!important;line-height:1.3}
  .dcc-study-choice-grid small{font-size:13px!important;line-height:1.45}

  /* Cards e bibliotecas */
  .dcc-feature-card{min-height:180px;padding:17px}.dcc-feature-card h3{font-size:18px}.dcc-feature-card p{font-size:13px;line-height:1.55}.dcc-text-action{font-size:13px;bottom:15px}
  .dcc-progress-card{grid-template-columns:92px minmax(0,1fr);gap:12px}.dcc-progress-content h3{font-size:17px}.dcc-progress-content p,.dcc-progress-meta{font-size:12px}
  .dcc-media-card h3{font-size:19px}.dcc-media-card p{font-size:13px;line-height:1.5}.dcc-media-footer small{font-size:11px}.dcc-media-row{grid-auto-columns:86%}
  .dcc-tool-grid{gap:10px}.dcc-tool-grid article{grid-template-columns:46px minmax(0,1fr) 42px;padding:15px;gap:11px;min-height:126px}.dcc-tool-grid h3{font-size:17px}.dcc-tool-grid p{font-size:13px;line-height:1.5}.dcc-mini-action{width:40px;height:40px}
  .dcc-simulation-grid{grid-template-columns:1fr!important}.dcc-simulation-grid article{min-height:132px;padding:17px}.dcc-simulation-grid h3{font-size:18px}.dcc-simulation-grid p{font-size:13px;line-height:1.5}.dcc-sim-action small{font-size:12px}
  .dcc-exam-track{grid-auto-columns:82%}.dcc-exam-card h3{font-size:24px}.dcc-exam-card small{font-size:12px}.dcc-exam-card>span{font-size:10px}
  .dcc-final-banner{padding:24px 18px}.dcc-final-banner h2{font-size:29px}.dcc-final-banner p{font-size:14px;line-height:1.55}

  /* Meu Cérebro */
  .dcc-brain-grid{gap:10px}.dcc-brain-grid>article{padding:18px}.dcc-brain-label{font-size:10px}.dcc-brain-summary p{font-size:13px;line-height:1.5;min-height:0}.dcc-reliability{font-size:12px}.dcc-brain-skills-head strong{font-size:15px}.dcc-brain-skills-head small{font-size:11px}.dcc-skill-row>div:first-child{font-size:12px}.dcc-brain-signal span,.dcc-brain-signal small{font-size:12px}.dcc-empty-state{font-size:13px}

  /* Consulta e questões em tela cheia: nada escondido */
  .dcc-consultation-overlay,.dcc-learning-overlay{padding:0!important;align-items:stretch!important;justify-content:stretch!important}
  .dcc-consultation-shell,.dcc-learning-shell{width:100%!important;height:100dvh!important;max-height:none!important;border:0!important;border-radius:0!important;overflow:auto!important;padding-bottom:env(safe-area-inset-bottom)}
  .dcc-consultation-head,.dcc-learning-head{padding:16px 16px 13px;gap:12px;align-items:flex-start}
  .dcc-consultation-head h2,.dcc-learning-head h2{font-size:26px;line-height:1.12}
  .dcc-dialog-close{width:46px;height:46px;min-width:46px;font-size:26px}
  .dcc-stage,.dcc-learning-stage{padding:18px 16px 28px}
  .dcc-step-count,.dcc-diagnostic-meta{font-size:11px}
  .dcc-consult-step{min-height:auto!important;padding-bottom:92px}
  .dcc-consult-step h3{font-size:27px;line-height:1.15;margin-bottom:20px}
  .dcc-choice-grid label>span{min-height:78px;padding:15px;font-size:15px}.dcc-choice-grid label>span small{font-size:13px;line-height:1.45}
  .dcc-choice-grid-boards label>span{font-size:15px}.dcc-field>span{font-size:13px}.dcc-field input,.dcc-field select,.dcc-learning-stage input,.dcc-learning-stage select,.dcc-learning-stage textarea{font-size:16px!important;min-height:50px}
  .dcc-help{font-size:13px;line-height:1.5}
  .dcc-time-choices span{font-size:24px}.dcc-level-scale span{font-size:12px}.dcc-level-scale small{font-size:10px}.dcc-level-scale strong{font-size:25px}
  .dcc-consult-actions{bottom:0;padding:12px 0 calc(10px + env(safe-area-inset-bottom));z-index:5}
  .dcc-question-badges{flex-wrap:wrap}.dcc-question-badges span{font-size:10px;padding:6px 9px}
  .dcc-diagnostic-question{min-height:0}.dcc-diagnostic-question h3{font-size:25px;line-height:1.25;margin:17px 0 20px}
  .dcc-question-option{padding:14px;min-height:58px}.dcc-question-option span{font-size:15px;line-height:1.5}.dcc-question-option b{width:31px;height:31px;flex-basis:31px}
  .dcc-confidence-panel strong{font-size:15px}.dcc-confidence-panel small{font-size:12px;line-height:1.45}.dcc-confidence-buttons{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:8px}.dcc-confidence-buttons button{min-height:46px;font-size:13px}
  .dcc-diagnosis-actions{position:sticky;bottom:0;background:#0f0c0f;padding:12px 0 calc(8px + env(safe-area-inset-bottom));z-index:4}.dcc-diagnosis-actions .dcc-btn{width:100%}
  .dcc-result-hero p,.dcc-result-prescription p{font-size:13px;line-height:1.5}.dcc-result-grid span{font-size:12px}.dcc-result-prescription small{font-size:10px}

  /* Learning */
  .dcc-learning-stage h3{font-size:24px}.dcc-learning-fields label>span,.dcc-format-picker>span{font-size:12px}.dcc-format-picker button,.dcc-prescription-times button{min-height:44px;padding:9px 12px;font-size:13px}.dcc-autopsy-state{font-size:11px}.dcc-autopsy-stage>p{font-size:15px}.dcc-autopsy-grid span,.dcc-autopsy-action small{font-size:11px}.dcc-autopsy-action p{font-size:14px}.dcc-prescription-block small,.dcc-review-item small{font-size:12px;line-height:1.45}

  /* Conteúdo */
  .dcc-content-toolbar{align-items:stretch;flex-direction:column;padding:14px 16px}.dcc-content-toolbar label{min-width:0}.dcc-content-toolbar label>span{font-size:12px}.dcc-content-toolbar select{font-size:16px}
  .dcc-flashcard-stage{padding:16px}.dcc-flashcard-progress{font-size:13px}.dcc-flashcard-progress small{font-size:12px}.dcc-flashcard-card{min-height:300px;padding:22px 18px}.dcc-card-face-label{font-size:11px}.dcc-flashcard-card>strong{font-size:30px}.dcc-flashcard-back p{font-size:17px}.dcc-flashcard-card>small{font-size:12px}.dcc-flashcard-ratings{grid-template-columns:1fr 1fr}.dcc-flashcard-ratings button{font-size:13px}.dcc-flashcard-nav{display:grid;grid-template-columns:1fr 1fr}
  .dcc-library-list{grid-template-columns:1fr;padding:16px;gap:10px}.dcc-library-item{min-height:170px;padding:16px}.dcc-library-item h3{font-size:19px}.dcc-library-item p{font-size:14px}.dcc-reader-body{padding:20px 16px}.dcc-reader-summary{font-size:15px}.dcc-reader-section{padding:16px 15px 16px 20px}.dcc-reader-section h4{font-size:18px}.dcc-reader-section p{font-size:15px;line-height:1.7}.dcc-reader-actions{display:grid;grid-template-columns:1fr;padding:12px 16px calc(12px + env(safe-area-inset-bottom))}

  /* Navegação inferior */
  .dcc-mobile-nav{height:76px;padding-bottom:max(7px,env(safe-area-inset-bottom))}.dcc-mobile-nav a,.dcc-mobile-nav button{font-size:19px;min-width:0}.dcc-mobile-nav small{font-size:10px;line-height:1.2}
  .dcc-toast{font-size:14px;line-height:1.45;bottom:calc(88px + env(safe-area-inset-bottom))}
}
@media (max-width:480px){
  .dcc-top-actions .dcc-user-chip{display:none!important}
  .dcc-topbar{grid-template-columns:auto minmax(0,1fr)}
  .dcc-top-actions{display:none!important}
  .dcc-search{min-width:0}
  .dcc-kpi-strip{grid-template-columns:1fr 1fr}
  .dcc-hero-content h1{font-size:36px}
}
