textarea{font:inherit;display:block;width:100%;border:1px solid #a8a1c8;border-radius:8px;padding:11px 12px;margin-top:7px;resize:vertical;background:white;color:var(--ink);min-height:90px}textarea:focus{outline:3px solid #e4dff7;outline-offset:2px}.community-layout{display:grid;gap:18px;align-items:start}.community-layout .panel{margin-bottom:0}.community-layout h2{font-size:18px}.community-layout h3{font-size:15px}.community-layout h4{font-size:12px;margin-bottom:8px}.community-layout p{line-height:1.7;font-size:13px}.community-layout small{font-size:11px;color:var(--muted)}.community-item-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}.notice-item,.appeal-item{padding:20px 0;border-bottom:1px solid var(--line)}.notice-item:last-child,.appeal-item:last-child{border-bottom:0}.notice-item h3,.appeal-item h3{margin-bottom:8px}.notice-unread h3:before{content:'';display:inline-block;width:7px;height:7px;border-radius:50%;background:#2bc575;margin-right:8px}.preserve-lines{white-space:pre-wrap;overflow-wrap:anywhere}.community-empty{padding:20px 0;color:var(--muted)}.appeal-period,.appeal-reply{display:grid;gap:8px;padding:14px;background:#f5f2fc;border:1px solid #e2dced;border-radius:8px;margin:16px 0}.appeal-period span{font-size:12px;color:var(--muted)}.period-open{background:#ebf9f0;border-color:#cae9d3}.community-status{font-size:11px;border-radius:20px;background:#eeeaf8;color:#584076;padding:5px 9px}.status-accepted{color:#236340;background:#e0f5e8}.status-rejected{color:#8a3348;background:#fce9ed}.status-review{color:#765a20;background:#fff3d9}.delivery-summary{padding-top:20px;margin-top:10px;border-top:1px solid var(--line)}.delivery-summary>span{display:inline-block;margin:0 12px 10px 0;font-size:12px}.push-settings .btn{margin:6px 6px 6px 0}#push-feedback{font-size:12px;color:var(--brand);margin-top:12px}.student-community-link .tile-caption{padding-top:14px}
/* Layout fluido: o aplicativo ocupa o espaço disponível em desktop e tablet. */
@media(min-width:700px) and (max-width:899px){.community-layout{grid-template-columns:1fr!important}.community-layout>section:last-child{grid-column:auto!important;grid-row:auto!important}}
@media(min-width:431px) and (max-width:699px){.mobile-portal.shell{max-width:none}}
@media(min-width:1100px){.home-screen #content:not(:has(.student-means)) .student-latest-list{grid-column:1/-1;max-width:none}.student-latest-list{display:grid;grid-template-columns:1fr 1fr;gap:0 28px}.student-section-heading{grid-column:1/-1}}
@media(min-width:700px){.mobile-portal.shell{max-width:1280px;box-shadow:none;min-height:100dvh}.app-header{height:auto;min-height:172px;border-radius:0 0 34px 34px;padding:28px 40px 30px}.app-header-top{margin-bottom:18px}.app-header .edulearn-brand{font-size:28px}.app-header .edulearn-brand svg{width:38px;height:38px}.header-tools{gap:8px}.header-search-row{max-width:650px}.mobile-portal main{padding:28px 40px 40px}.header-panel{margin:18px 40px 0}.header-panel nav{display:flex;flex-wrap:wrap;gap:8px}.header-panel .menu-item{padding:12px 16px}.header-panel#profile-panel{max-width:620px}.portal-page-title h1{font-size:29px}.portal-screen .grid{display:grid;grid-template-columns:1fr 1fr}.community-layout{grid-template-columns:minmax(280px,.9fr) minmax(320px,1.25fr)}.community-layout>section:last-child{grid-column:2;grid-row:1 / span 3}.portal-screen .panel,.portal-screen .result-card{padding:24px}.portal-screen input,.portal-screen select,.portal-screen textarea{font-size:14px}.portal-screen label{font-size:13px}.portal-screen p{font-size:14px}.student-welcome{text-align:left;margin:0 0 26px}.student-welcome h1{font-size:31px}.student-welcome p{font-size:12px}.student-welcome>span{font-size:14px}.student-shortcuts.shortcut-grid{grid-template-columns:repeat(4,1fr);gap:18px}.student-shortcuts .course-tile{height:165px}.student-tile-content{inset:18px}.student-tile-score>strong{font-size:42px}.student-latest-list{max-width:860px}.student-result-row{padding:18px 0;gap:16px}.student-result-copy>strong{font-size:15px}.student-result-copy>span,.student-result-copy>small{font-size:12px}.student-result-score>strong{font-size:27px}.student-note-count{max-width:860px;font-size:12px}.student-section-heading h2{font-size:22px}.student-notes{max-width:980px}.student-result-detail{max-width:780px;margin:0 auto;padding-top:15px}.student-result-detail h2{font-size:29px}.student-detail-score>strong{font-size:76px}.student-detail-meta>div{font-size:14px}.student-detail-back.btn{width:auto;min-width:240px;margin-right:10px}.student-privacy-note{text-align:left;max-width:860px;font-size:12px;margin-left:0}.evolution-panel .row{max-width:860px}.evolution-chart{min-width:0}.portal-screen .evolution-summary{padding:20px;gap:20px}.portal-screen .evolution-summary small{font-size:13px}.portal-screen .evolution-summary strong{font-size:30px}.portal-screen .scroll table{font-size:14px}.portal-screen th,.portal-screen td{font-size:13px;padding:15px}.portal-screen .panel h2{font-size:21px}.portal-screen .panel h3{font-size:17px}.shortcut-grid{grid-template-columns:repeat(4,1fr);gap:18px}.course-tile{height:170px}.tile-caption strong{font-size:16px}.tile-cta{font-size:12px;padding:4px 12px}.my-subjects{max-width:860px}.my-subjects>h2{text-align:left;font-size:23px}.subject-art{width:170px;min-height:145px}.subject-copy h3{font-size:18px}.subject-copy p{font-size:14px}.subject-copy{padding-top:7px}.subject-progress{font-size:12px}.subject-continue{min-height:36px;font-size:13px}.portal-footer{text-align:left;padding:16px 40px 26px}}
@media(min-width:1100px){.home-screen #content{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px}.student-welcome,.student-shortcuts,.student-note-count,.home-shortcuts{grid-column:1/-1}.student-latest-list{grid-column:1;max-width:none}.student-means{grid-column:2;grid-row:4;margin:0;padding:22px;border:1px solid var(--line);border-radius:12px;background:var(--paper);align-self:start}.student-privacy-note{grid-column:1/-1}.my-subjects{grid-column:1/-1}.student-welcome{margin-bottom:0}.student-note-count{margin:0 0 4px}.student-latest-list .student-section-heading{margin-top:0}}
[data-theme="dark"] textarea{background:#231b33;border-color:#6c597f;color:#f1e8fa}[data-theme="dark"] .appeal-period,[data-theme="dark"] .appeal-reply{background:#2b203d;border-color:#5d4375}[data-theme="dark"] .period-open{background:#1c352a;border-color:#3d6a50}[data-theme="dark"] .community-status{background:#3d2b52;color:#dcc5f3}[data-theme="dark"] .status-accepted{background:#1d3f2c;color:#a2e6bb}[data-theme="dark"] .status-rejected{background:#472435;color:#f2b3c5}[data-theme="dark"] .status-review{background:#43341c;color:#efd292}[data-theme="dark"] #push-feedback{color:#d5bffd}
[id="student-upload"]{scroll-margin-top:24px}.import-stats .stat{background:var(--paper);color:var(--ink)}.import-stats small{display:block;color:var(--muted);margin-top:8px;font-size:.8rem}.import-count{display:flex;align-items:center;gap:12px;min-width:130px}.import-count>strong{min-width:3ch}.import-bar{display:block;flex:1;max-width:220px;height:8px;background:var(--line);border-radius:8px;overflow:hidden}.import-bar>span{display:block;height:100%;background:var(--brand);border-radius:8px}@media(max-width:640px){.import-stats{grid-template-columns:1fr}.import-stats .stat{display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px 12px;padding:18px}.import-stats .stat strong{margin:0;grid-column:2;grid-row:1/3}.import-stats small{margin:0}.import-count{min-width:90px}}
.grade-class-picker{min-width:0;margin:0 0 16px;padding:8px 14px 12px;border:1px solid var(--line);border-radius:8px}
.grade-class-picker legend{padding:0 6px;font-weight:600}
.grade-class-picker .help{margin:0 0 4px}
.grade-class-options{display:flex;flex-wrap:wrap;gap:0 16px}
.grade-class-options input[type=checkbox]{width:18px;height:18px;margin:0;accent-color:var(--brand)}
.performance-stats{margin:16px 0 0}
.performance-stats .stat{min-width:0}
.performance-bar{display:block;width:100%;min-width:72px;height:7px;margin-top:4px;accent-color:var(--brand)}
.performance-controls{align-items:center}
.performance-controls input[type=checkbox]{width:18px;height:18px;margin:0;accent-color:var(--brand)}
.admin-flow-container{margin-bottom:20px}
.home-screen .admin-flow{margin-bottom:0}
.admin-progress{height:9px;border-radius:12px;background:var(--line);overflow:hidden}
.admin-progress span{display:block;height:100%;background:var(--action);transform-origin:left;transform:scaleX(var(--completed,0));animation:admin-progress-fill 460ms ease-out both}
.admin-progress[data-completed="1"]{--completed:.3333;--previous:0}
.admin-progress[data-completed="2"]{--completed:.6667;--previous:.3333}
.admin-progress[data-completed="3"]{--completed:1;--previous:.6667}
@keyframes admin-progress-fill{from{transform:scaleX(var(--previous,0))}to{transform:scaleX(var(--completed,0))}}
.admin-steps{list-style:none;padding:0;margin:14px 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.admin-steps li{border:1px solid var(--line);border-radius:8px;padding:10px;font-size:.8rem}
.admin-steps li[aria-current="step"]{border-color:var(--brand)}
.admin-steps li span{display:block;color:var(--muted);margin-top:4px}
.course-tile:disabled{opacity:.6;cursor:not-allowed}
.course-tile:disabled .tile-cta{background:var(--line);color:var(--ink)}
@media(prefers-reduced-motion:reduce){.admin-progress span{animation:none}}
.edulearn-brand img.portal-logo {
  width: auto;
  max-width: 5rem;
  height: 2.25rem;
  object-fit: contain;
}
.edulearn-brand span {
  overflow-wrap: anywhere;
}

.exam-actions {
  gap: 16px;
}
.exam-roster {
  margin-block-start: 20px;
}
.exam-roster > .actions {
  margin-block-end: 16px;
}

.app-header.confirmation-required-header {
  height: auto;
  padding-block-end: 1.5rem;
}
.confirmation-required-header .header-tools {
  flex-shrink: 0;
}

#menu-panel {
  max-inline-size: 22rem;
}
#menu-panel nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
}
#menu-panel .menu-item {
  padding-inline: 16px;
  overflow-wrap: anywhere;
}
#menu-panel .menu-item svg {
  flex: 0 0 20px;
}
#menu-panel .menu-item:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -2px;
}
@media (hover: hover) and (pointer: fine) {
  #menu-panel .menu-item:hover {
    background-color: var(--accent);
  }
  [data-theme="dark"] #menu-panel .menu-item:hover {
    background-color: #35264c;
  }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  #menu-panel .menu-item {
    transition: background-color 180ms ease, transform 180ms ease;
  }
  #menu-panel .menu-item:hover {
    transform: translateX(4px);
  }
}

.portal-navigation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.portal-navigation-content {
  display: contents;
}
.portal-navigation-layout .app-header {
  grid-row: 1;
}
#menu-panel.portal-navigation {
  max-inline-size: none;
  margin: 14px 16px 0;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
}
#menu-panel h2 {
  font-size: 1rem;
  margin-bottom: 12px;
}
@media (min-width: 900px) {
  .mobile-portal.shell:has(.portal-navigation-layout) {
    max-width: 1500px;
  }
  .portal-navigation-layout {
    grid-template-columns: minmax(185px, 225px) minmax(0, 1fr);
    min-height: 100dvh;
  }
  .portal-navigation-layout .portal-navigation-content {
    display: block;
    min-inline-size: 0;
  }
  #menu-panel.portal-navigation {
    margin: 0;
    padding: 28px 12px;
    border-width: 0 1px 0 0;
    border-radius: 0;
  }
}
[data-theme="dark"] #menu-panel.portal-navigation {
  background: #1b1427;
}
