:root { color-scheme: light; --ocean: #0a6480; --ocean-dark: #084e66; --ocean-deep: #073c50; --ink: #20343a; --muted: #718188; --line: #e3e9e9; --paper: #fff; --canvas: #f7f9f8; --mint: #d9f0e8; font-family: 'DM Sans', 'Segoe UI', sans-serif; }
* { box-sizing: border-box; }
body { min-width: 320px; min-height: 100vh; margin: 0; color: var(--ink); background: var(--canvas); }
a { color: inherit; }
button, input { font: inherit; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.landing-shell { min-height: 100vh; padding-bottom: 76px; }
.landing-header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; height: 76px; max-width: 1120px; margin: 0 auto; padding: 0 30px; background: rgba(247,249,248,.96); backdrop-filter: blur(12px); }
.landing-brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.landing-brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; color: white; background: var(--ocean); }
.landing-brand-mark svg { width: 22px; height: 22px; }
.brand-logo { display: block; width: 40px; height: 40px; flex: 0 0 auto; border-radius: 8px; object-fit: contain; background: white; }
.landing-brand strong, .landing-brand small { display: block; }
.landing-brand strong { color: var(--ocean-deep); font-size: 17px; font-weight: 700; }
.landing-brand small { margin-top: 4px; color: #839397; font-size: 8px; font-weight: 700; letter-spacing: 1px; }
.header-login { display: inline-flex; align-items: center; gap: 13px; min-height: 38px; padding: 0 13px; border: 1px solid #cbd9da; border-radius: 5px; color: var(--ocean-dark); font-size: 12px; font-weight: 700; text-decoration: none; }
.header-login span { font-size: 17px; font-weight: 400; }
.landing-main { max-width: 1120px; margin: 0 auto; padding: 0 30px; }
.landing-hero { position: relative; display: grid; grid-template-columns: minmax(0,1.1fr) minmax(300px,.9fr); gap: 34px; align-items: center; min-height: 400px; overflow: hidden; padding: 43px 48px; border-radius: 9px; color: white; background: var(--ocean-deep); }
.landing-hero::before { position: absolute; inset: 0; z-index: 0; background: linear-gradient(120deg,rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px); background-size: 27px 27px; content: ''; pointer-events: none; }
.hero-copy { position: relative; z-index: 1; max-width: 560px; }
.hero-eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 18px; color: #a8d3d1; font-size: 9px; font-weight: 700; letter-spacing: 1.4px; }
.hero-eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: #a8d9b8; }
.landing-hero h1 { max-width: 550px; margin: 0; font: 700 36px/1.19 'DM Sans', 'Segoe UI', sans-serif; letter-spacing: 0; }
.hero-description { max-width: 475px; margin: 17px 0 0; color: rgba(255,255,255,.73); font-size: 13px; line-height: 1.75; }
.hero-button { display: inline-flex; align-items: center; gap: 20px; margin-top: 23px; padding: 12px 15px; border-radius: 5px; color: var(--ocean-deep); background: #e4f2ec; font-size: 11px; font-weight: 700; text-decoration: none; }
.hero-button span { font-size: 17px; font-weight: 400; }
.exam-types { display: flex; align-items: center; gap: 10px; margin-top: 23px; color: rgba(255,255,255,.55); font-size: 8px; font-weight: 700; letter-spacing: 1.2px; }
.exam-types i { width: 3px; height: 3px; border-radius: 50%; background: #89b9b8; }
.hero-art { position: relative; z-index: 1; height: 290px; min-width: 290px; }
.art-orbit { position: absolute; top: 50%; left: 50%; border: 1px solid rgba(190,229,219,.17); border-radius: 50%; transform: translate(-50%,-50%); }
.orbit-one { width: 270px; height: 270px; }
.orbit-two { width: 218px; height: 218px; border-style: dashed; }
.calendar-sheet { position: absolute; top: 50%; left: 50%; width: 176px; height: 195px; padding: 14px; border: 1px solid rgba(255,255,255,.54); border-radius: 8px; background: #fff; box-shadow: 0 17px 32px rgba(0,0,0,.2); transform: translate(-50%,-50%) rotate(-5deg); }
.calendar-top { display: flex; gap: 5px; padding-bottom: 11px; border-bottom: 1px solid #e9efee; }
.calendar-top span { width: 5px; height: 5px; border-radius: 50%; background: #b8d0cc; }
.calendar-top span:first-child { background: #d79072; }
.calendar-title { width: 70px; height: 6px; margin: 13px 0 11px; border-radius: 5px; background: #36788a; }
.calendar-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 7px; }
.calendar-grid i { width: 12px; height: 12px; border-radius: 3px; background: #eaf1ef; }
.calendar-grid i.marked { background: #0a7890; }
.calendar-grid i.soft { background: #a7d9c4; }
.art-check { position: absolute; top: 54px; right: 24px; display: grid; place-items: center; width: 43px; height: 43px; border: 4px solid var(--ocean-deep); border-radius: 12px; color: white; background: #69aa92; transform: rotate(7deg); }
.art-check svg { width: 23px; height: 23px; }
.art-label { position: absolute; right: 0; bottom: 26px; display: flex; align-items: center; gap: 9px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 6px; background: rgba(255,255,255,.1); backdrop-filter: blur(8px); }
.art-label > span { width: 7px; height: 7px; border-radius: 50%; background: #a7d9b8; }
.art-label b, .art-label small { display: block; }
.art-label b { font-size: 9px; }
.art-label small { margin-top: 3px; color: rgba(255,255,255,.7); font-size: 8px; }
.about-section { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: end; padding: 39px 12px 25px; }
.section-kicker { margin: 0 0 10px; color: var(--ocean); font-size: 9px; font-weight: 700; letter-spacing: 1.2px; }
.section-intro h2 { max-width: 430px; margin: 0; color: var(--ocean-deep); font: 700 22px/1.3 'DM Sans', 'Segoe UI', sans-serif; letter-spacing: 0; }
.section-description { max-width: 490px; margin: 0; color: #697b80; font-size: 11px; line-height: 1.8; }
.feature-list { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-list article { display: flex; gap: 14px; min-height: 88px; padding: 17px 18px 16px 12px; border-right: 1px solid var(--line); }
.feature-list article:last-child { border-right: 0; }
.feature-number { color: #459283; font: 700 10px 'DM Sans',sans-serif; }
.feature-list h3 { margin: 0 0 5px; color: #243c43; font-size: 11px; }
.feature-list p { max-width: 230px; margin: 0; color: #829095; font-size: 9px; line-height: 1.55; }
.landing-footnote { margin: 17px 12px 0; color: #9aa6a7; font-size: 9px; }
.bottom-nav { display: none; }
.public-bottom-nav { position: fixed; inset: auto 0 0; z-index: 5; display: flex; justify-content: center; gap: clamp(10px,5vw,58px); min-height: 68px; padding: 8px 15px calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255,255,255,.97); backdrop-filter: blur(14px); }
.public-bottom-nav a, .account-bottom-nav a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-width: 62px; padding: 3px 5px; border-radius: 5px; color: #77868a; font-size: 9px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.public-bottom-nav a svg, .account-bottom-nav a svg { width: 19px; height: 19px; }
.public-bottom-nav a.active, .account-bottom-nav a.active { color: var(--ocean); }
.public-bottom-nav a.active::before, .account-bottom-nav a.active::before { position: absolute; top: -8px; left: 50%; width: 22px; height: 2px; border-radius: 0 0 2px 2px; background: var(--ocean); content: ''; transform: translateX(-50%); }
.login-page { display: grid; grid-template-columns: minmax(300px,.9fr) minmax(360px,1.1fr); min-height: 100vh; margin: 0; }
.login-story { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 100vh; padding: 34px clamp(24px,6vw,78px); color: white; background: var(--ocean-deep); }
.login-brand strong { color: white; }
.login-brand small { color: #a0c4c2; }
.login-story-copy { max-width: 360px; padding: 38px 0; }
.login-story-copy h1 { margin: 0 0 12px; font-size: 31px; line-height: 1.2; letter-spacing: 0; }
.login-story-copy > p:last-of-type { color: rgba(255,255,255,.7); font-size: 12px; line-height: 1.7; }
.login-role-list { display: grid; gap: 11px; margin-top: 28px; }
.login-role-list span { display: grid; grid-template-columns: 22px auto 1fr; align-items: center; gap: 8px; color: white; font-size: 11px; }
.login-role-list svg { width: 17px; height: 17px; color: #a9d7c3; }
.login-role-list small { color: rgba(255,255,255,.55); font-size: 10px; }
.login-back { color: rgba(255,255,255,.72); font-size: 11px; text-decoration: none; }
.login-panel-wrap { display: grid; place-items: center; padding: 32px; }
.login-panel { width: min(100%,390px); }
.login-panel h2 { margin: 0; color: var(--ocean-deep); font-size: 23px; }
.login-intro { margin: 8px 0 25px; color: var(--muted); font-size: 12px; }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { color: #40565c; font-size: 11px; font-weight: 700; }
.field input { width: 100%; min-height: 43px; padding: 10px 12px; border: 1px solid #ccd8da; border-radius: 5px; outline: 0; color: var(--ink); background: white; font-size: 12px; }
.field input:focus { border-color: var(--ocean); box-shadow: 0 0 0 3px rgba(10,100,128,.1); }
.field select { width: 100%; min-height: 43px; padding: 10px 12px; border: 1px solid #ccd8da; border-radius: 5px; color: var(--ink); background: white; font-size: 12px; }
.auth-divider { display: flex; align-items: center; gap: 10px; margin: 14px 0; color: #8a969a; font-size: 10px; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.button.google-button { color: var(--ink); border: 1px solid #ccd8da; background: white; }
.button.google-button:hover { background: #f3f7f6; }
.google-icon { width: 18px; height: 18px; flex: 0 0 18px; }
.button.google-button { position: relative; }
.button.google-button .google-icon { position: absolute; left: 14px; }
.button.google-button span { font-size: 12px; }
.google-mode-cancel { display: block; margin: 12px auto 0; padding: 4px; border: 0; color: var(--ocean); background: transparent; font: inherit; font-size: 11px; cursor: pointer; }
.login-help a { color: var(--ocean); font-weight: 700; }
.program-row { display: flex; gap: 8px; }
.program-row input { flex: 1; min-width: 0; }
.user-status-form { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.profile-complete-panel { max-width: 590px; }
.profile-account-panel { width: 100%; max-width: none; box-sizing: border-box; }
.user-nav { flex-wrap: wrap; justify-content: flex-end; gap: 8px 18px; }
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { padding: 0; border: 0; background: transparent; font: inherit; cursor: pointer; }
.topbar nav .nav-dropdown-toggle { padding: 0; border: 0; }
.nav-dropdown-menu { position: absolute; top: calc(100% + 10px); right: 0; z-index: 20; display: none; min-width: 180px; padding: 6px; border-radius: 6px; background: white; box-shadow: 0 8px 24px rgba(7,60,80,.22); }
.nav-dropdown.open .nav-dropdown-menu { display: grid; }
.topbar .nav-dropdown-menu a { padding: 9px 10px; border-radius: 4px; color: var(--ocean-dark); font-size: 12px; }
.topbar .nav-dropdown-menu a:hover { background: #edf4f2; }
.topbar nav .logout-button { display: inline-flex; padding: 7px; line-height: 0; }
.logout-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.menu-child-row { margin-left: 22px; }
.profile + .settings-link { margin-top: 18px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 42px; padding: 0 15px; border: 0; border-radius: 5px; color: white; background: var(--ocean); font-size: 12px; font-weight: 700; cursor: pointer; }
.button:hover { background: var(--ocean-dark); }
.button.full { width: 100%; }
.button span { font-size: 17px; font-weight: 400; }
.login-help { margin: 20px 0 0; color: #8a969a; font-size: 10px; line-height: 1.6; }
.first-admin-link { display: inline-block; margin-top: 15px; color: var(--ocean); font-size: 11px; font-weight: 700; text-decoration: none; }
.first-admin-link:hover { text-decoration: underline; }
.notice { margin: 15px 0; padding: 11px 12px; border: 1px solid #eedba9; border-radius: 5px; color: #6d541a; background: #fff9e8; font-size: 11px; line-height: 1.5; }
.notice.error { border-color: #e9c7c3; color: #7c3730; background: #fff4f2; }
.notice.success { border-color: #bfdfd1; color: #326b53; background: #eff8f3; }
.settings-panel { max-width: 590px; }
.user-form-panel, .user-list-panel { margin-bottom: 15px; }
.user-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 14px; }
.user-form .field input, .user-form .field select { width: 100%; min-height: 39px; padding: 9px 10px; border: 1px solid #ccd8dc; border-radius: 5px; color: var(--ink); background: white; font-size: 12px; }
.optional-label { margin-left: 4px; color: #8b999c; font-size: 10px; font-weight: 400; }
.user-list { display: grid; }
.user-list-heading, .user-list-row { display: grid; grid-template-columns: minmax(180px,1.4fr) minmax(140px,1fr) 100px minmax(130px,1fr); gap: 12px; align-items: center; }
.user-list-heading { padding: 0 10px 9px; color: #839195; font-size: 10px; font-weight: 700; }
.user-list-row { min-height: 58px; padding: 9px 10px; border-top: 1px solid var(--line); font-size: 11px; }
.user-identity strong, .user-identity small { display: block; overflow-wrap: anywhere; }
.user-identity strong { font-size: 11px; }
.user-identity small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.user-institution, .user-whatsapp { color: #687a80; overflow-wrap: anywhere; }
.role-badge { justify-self: start; padding: 5px 8px; border-radius: 4px; color: #486d78; background: #e8f2f3; font-size: 10px; }
.role-badge.role-admin { color: #66508b; background: #f0ecf8; }
.role-badge.role-dosen { color: #416b58; background: #e8f3eb; }
.admin-settings-grid { display: grid; grid-template-columns: minmax(280px,.85fr) minmax(340px,1.15fr); gap: 16px; align-items: start; }
.admin-settings-grid .settings-panel { max-width: none; }
.settings-description { margin: -5px 0 19px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.profile-password-fields { max-width: 590px; margin: 23px 0 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.profile-password-fields h3 { margin: 0 0 14px; color: var(--ocean-dark); font-size: 13px; }
.mass-email-panel { max-width: 760px; }
.mass-email-panel .field textarea { width: 100%; min-height: 190px; padding: 11px 12px; border: 1px solid #ccd8dc; border-radius: 5px; color: var(--ink); background: white; font: 12px/1.65 'DM Sans', 'Segoe UI', sans-serif; resize: vertical; }
.mass-email-panel .field textarea:focus { outline: 0; border-color: var(--ocean); box-shadow: 0 0 0 3px rgba(10,100,128,.1); }
.email-footer-preview { display: grid; gap: 7px; margin: 4px 0 18px; padding: 12px 13px; border-left: 3px solid #65ad99; color: #586d72; background: #f3f7f6; font-size: 10px; line-height: 1.6; }
.email-footer-preview strong { color: var(--ocean-dark); font-size: 10px; }
.email-footer-preview a { justify-self: start; color: var(--ocean); font-weight: 700; text-decoration: none; }
.email-footer-preview a:hover { text-decoration: underline; }
.settings-link { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 5px; color: white; background: var(--ocean); font-size: 12px; font-weight: 700; text-decoration: none; }
.settings-link:hover { background: var(--ocean-dark); }
.button:disabled { opacity: .5; cursor: not-allowed; }
.settings-panel .field input, .settings-panel .field select { width: 100%; min-height: 39px; padding: 9px 10px; border: 1px solid #ccd8dc; border-radius: 5px; color: var(--ink); background: white; font-size: 12px; }
.settings-panel .field input[type="file"] { height: auto; padding: 7px; }
.field small { color: var(--muted); font-size: 10px; line-height: 1.5; }
.smtp-fields { display: grid; grid-template-columns: .7fr 1.3fr; gap: 12px; }
.logo-preview { display: flex; align-items: center; gap: 10px; margin: -2px 0 16px; color: var(--muted); font-size: 11px; }
.logo-preview .brand-logo { width: 45px; height: 45px; border: 1px solid var(--line); }
.test-email-form { margin-top: 22px; padding-top: 19px; border-top: 1px solid var(--line); }
.test-email-form h3 { margin: 0 0 6px; color: var(--ocean-dark); font-size: 13px; }
.test-email-form > p { margin: 0 0 14px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.news-admin-grid { display: grid; grid-template-columns: minmax(240px,.72fr) minmax(340px,1.28fr); gap: 15px; align-items: start; }
.news-admin-grid .settings-panel { max-width: none; }
.news-admin-grid .field input, .news-admin-grid .field select { width: 100%; min-height: 39px; padding: 9px 10px; border: 1px solid #ccd8dc; border-radius: 5px; color: var(--ink); background: white; font-size: 12px; }
.news-admin-grid .field input[type="url"] { overflow: hidden; text-overflow: ellipsis; }
.news-option { display: flex; align-items: center; gap: 9px; min-height: 34px; color: #40565c; font-size: 11px; cursor: pointer; }
.news-option input { width: 16px; height: 16px; accent-color: var(--ocean); }
.news-category-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 17px; padding-top: 13px; border-top: 1px solid var(--line); }
.news-category-list > span { padding: 5px 8px; border-radius: 4px; color: #49656b; background: #edf4f2; font-size: 10px; }
.news-category-list .empty { width: 100%; padding: 0; margin: 0; font-size: 10px; }
.news-feeds-panel { margin-top: 15px; }
.managed-feed-list { display: grid; }
.managed-feed-row { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 13px 4px; border-top: 1px solid var(--line); }
.managed-feed-copy { display: grid; min-width: 0; gap: 5px; }
.managed-feed-copy strong { color: var(--ink); font-size: 12px; }
.managed-feed-copy small { color: var(--muted); font-size: 10px; line-height: 1.5; overflow-wrap: anywhere; }
.managed-feed-copy .feed-error { color: #9a5a2d; }
.feed-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; flex: 0 0 auto; }
.feed-actions form { margin: 0; }
.feed-action-button { min-height: 31px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 4px; color: var(--ocean-dark); background: white; font-size: 9px; cursor: pointer; }
.feed-action-button:hover { background: #f3f7f6; }
.feed-action-button.danger { color: #904b43; }
.news-reader-panel { width: 100%; padding: 8px 22px; }
.news-reader-panel .panel-heading { padding-top: 12px; }
.news-reader-list { display: grid; width: 100%; }
.news-search { display: grid; gap: 6px; margin: 4px 0 8px; }
.news-search input { width: 100%; min-height: 44px; padding: 10px 14px; border: 1px solid #ccd8dc; border-radius: 22px; outline: 0; color: var(--ink); background: #f7faf9; font-size: 13px; }
.news-search input:focus { border-color: var(--ocean); background: white; box-shadow: 0 0 0 3px rgba(10,100,128,.1); }
.news-search small { padding-left: 14px; color: var(--muted); font-size: 10px; }
.news-reader-item { display: flex; align-items: flex-start; gap: 18px; width: 100%; padding: 20px 0; border-top: 1px solid var(--line); }
.news-reader-item:first-child { border-top: 0; }
.news-thumb-link { flex: 0 0 68px; display: block; overflow: hidden; width: 68px; height: 68px; border: 3px solid white; border-radius: 50%; background: #edf3f2; box-shadow: 0 0 0 1px var(--line), 0 4px 10px rgba(7,60,80,.12); transition: transform .18s ease; }
.news-thumb-link:hover { transform: scale(1.05); }
.news-thumbnail { display: block; width: 100%; height: 100%; object-fit: cover; }
.news-reader-content { flex: 1; min-width: 0; }
.news-reader-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-bottom: 7px; color: #7b898d; font-size: 9px; }
.news-reader-meta > span:not(.news-pin-label) { padding-left: 7px; border-left: 1px solid #ced8d8; }
.news-pin-label { padding: 3px 6px; border-radius: 3px; color: #816118; background: #fbf1d7; font-size: 8px; font-weight: 700; }
.news-reader-content h3 { margin: 0 0 7px; font: 700 15px/1.4 'DM Sans','Segoe UI',sans-serif; }
.news-reader-content h3 a { color: var(--ocean-deep); text-decoration: none; }
.news-reader-content h3 a:hover { color: var(--ocean); text-decoration: underline; }
.news-reader-content p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; color: #6d7e83; font-size: 12px; line-height: 1.65; }
.topbar .brand { display: inline-flex; align-items: center; gap: 8px; }
.topbar .brand-logo { width: 30px; height: 30px; }
.topbar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; min-height: 62px; padding: 0 max(18px, calc((100% - 940px) / 2)); color: white; background: var(--ocean-dark); }
.brand { color: white; font-size: 18px; font-weight: 700; text-decoration: none; }
.topbar a, .topbar button { color: white; }
.topbar nav { display: flex; align-items: center; gap: 18px; font-size: 12px; }
.topbar nav a { text-decoration: none; }
.topbar nav form { margin: 0; }
.topbar nav button { padding: 7px 10px; border: 1px solid rgba(255,255,255,.35); border-radius: 5px; background: transparent; cursor: pointer; }
.admin-menu-toggle { display: none; }
main:not(.landing-main):not(.login-page) { width: min(100% - 32px, 940px); margin: 34px auto 90px; }
.welcome { margin-bottom: 22px; }
.welcome h1 { margin: 0 0 7px; color: var(--ocean-dark); font-size: 24px; }
.welcome p { margin: 0; color: var(--muted); font-size: 13px; }
.panel { padding: 18px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); }
.panel h2 { margin: 0 0 14px; color: var(--ocean-dark); font-size: 16px; }
.schedule-list { display: grid; }
.schedule { display: grid; grid-template-columns: 92px minmax(0,1fr) auto; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.schedule:first-child { padding-top: 0; border-top: 0; }
.schedule-date { color: var(--ocean); font-size: 11px; line-height: 1.5; }
.schedule-date strong { display: block; font-size: 13px; }
.schedule h3 { margin: 0 0 5px; font-size: 13px; line-height: 1.4; }
.schedule p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.schedule .one-line { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
a.schedule { color: inherit; text-decoration: none; }
.status { padding: 5px 8px; border-radius: 4px; color: #496d59; background: #e8f3eb; font-size: 10px; white-space: nowrap; }
.status.pending { color: #805d1d; background: #fff2d4; }
.status.declined { color: #88483f; background: #fae9e6; }
.empty { padding: 14px 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.profile { display: grid; grid-template-columns: 140px minmax(0,1fr); gap: 12px 18px; margin: 0; font-size: 12px; }
.profile dt { color: var(--muted); }
.profile dd { margin: 0; overflow-wrap: anywhere; }
.site-footer { display: flex; justify-content: center; gap: 4px; margin-top: 20px; padding: 10px 0; color: var(--muted); font-size: 11px; }
.site-footer a { color: var(--ocean); font-weight: 700; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.account-bottom-nav { position: fixed; inset: auto 0 0; z-index: 5; display: flex; justify-content: center; gap: clamp(10px,5vw,58px); min-height: 68px; padding: 8px 15px calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255,255,255,.97); backdrop-filter: blur(14px); }
@media (min-width: 760px) { .landing-shell { padding-bottom: 83px; } .public-bottom-nav, .account-bottom-nav { min-height: 74px; } }
@media (max-width: 760px) {
  .landing-header { height: 64px; padding: 0 16px; }
  .landing-brand-mark { width: 35px; height: 35px; }
  .landing-brand strong { font-size: 15px; }
  .landing-brand small { font-size: 7px; }
  .header-login { min-height: 34px; padding: 0 10px; font-size: 10px; }
  .landing-main { padding: 0 13px; }
  .landing-hero { grid-template-columns: 1fr; gap: 0; min-height: 0; padding: 27px 22px 20px; border-radius: 7px; }
  .landing-hero h1 { max-width: 480px; font-size: 27px; line-height: 1.18; }
  .hero-eyebrow { margin-bottom: 13px; font-size: 8px; }
  .hero-description { max-width: 460px; margin-top: 12px; font-size: 11px; line-height: 1.7; }
  .hero-button { margin-top: 17px; padding: 10px 12px; font-size: 10px; }
  .exam-types { margin-top: 16px; }
  .hero-art { width: 100%; height: 194px; min-width: 0; margin-top: 8px; }
  .orbit-one { width: 178px; height: 178px; }
  .orbit-two { width: 145px; height: 145px; }
  .calendar-sheet { width: 132px; height: 145px; padding: 10px; }
  .calendar-title { width: 55px; height: 5px; margin: 10px 0 8px; }
  .calendar-grid { gap: 5px; }
  .calendar-grid i { width: 9px; height: 9px; border-radius: 2px; }
  .art-check { top: 24px; right: calc(50% - 97px); width: 36px; height: 36px; border-width: 3px; border-radius: 9px; }
  .art-check svg { width: 20px; height: 20px; }
  .art-label { right: calc(50% - 115px); bottom: 8px; padding: 8px 9px; }
  .about-section { grid-template-columns: 1fr; gap: 9px; padding: 27px 4px 17px; }
  .section-intro h2 { font-size: 19px; }
  .section-description { font-size: 10px; }
  .feature-list { grid-template-columns: 1fr; }
  .feature-list article { min-height: 0; padding: 13px 5px; border-right: 0; border-bottom: 1px solid var(--line); }
  .feature-list article:last-child { border-bottom: 0; }
  .feature-list p { max-width: none; }
  .landing-footnote { margin-left: 4px; }
  .public-bottom-nav, .account-bottom-nav { justify-content: space-around; gap: 0; min-height: 62px; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .public-bottom-nav a, .account-bottom-nav a { flex: 1; min-width: 0; gap: 3px; padding: 4px 1px; font-size: 8px; }
  .public-bottom-nav a svg, .account-bottom-nav a svg { width: 18px; height: 18px; }
  .login-page { grid-template-columns: 1fr; min-height: 100vh; }
  .login-story { min-height: 270px; padding: 20px 22px; }
  .login-story-copy { padding: 22px 0 12px; }
  .login-story-copy h1 { font-size: 24px; }
  .login-role-list { display: flex; flex-wrap: wrap; gap: 9px 18px; margin-top: 15px; }
  .login-role-list span { grid-template-columns: 18px auto; font-size: 10px; }
  .login-role-list small { display: none; }
  .login-back { font-size: 10px; }
  .login-panel-wrap { align-items: start; padding: 30px 22px 52px; }
  .login-panel h2 { font-size: 21px; }
  .admin-settings-grid { grid-template-columns: 1fr; gap: 12px; }
  .admin-settings-grid .settings-panel { padding: 15px 13px; }
  .smtp-fields { gap: 8px; }
  .user-form-grid { grid-template-columns: 1fr; }
  .user-list-heading { display: none; }
  .user-list-row { grid-template-columns: minmax(0,1fr) auto; gap: 7px 10px; padding: 12px 5px; }
  .user-identity { grid-column: 1 / -1; }
  .user-institution { grid-column: 1; }
  .user-whatsapp { grid-column: 1; font-size: 10px; }
  .role-badge { grid-column: 2; grid-row: 2 / span 2; }
  .news-admin-grid { grid-template-columns: 1fr; gap: 12px; }
  .managed-feed-row { align-items: flex-start; flex-direction: column; gap: 11px; }
  .feed-actions { justify-content: flex-start; }
  .news-reader-panel { padding: 4px 14px; }
  .news-reader-item { gap: 12px; padding: 16px 0; }
  .news-thumb-link { flex-basis: 52px; width: 52px; height: 52px; }
  .news-reader-content h3 { font-size: 12px; }
  .news-reader-content p { font-size: 10px; }
  .topbar { min-height: 56px; padding: 0 15px; }
  .topbar nav { gap: 12px; font-size: 10px; }
  .topbar nav a:first-child { display: none; }
  .admin-topbar { position: sticky; top: 0; z-index: 10; }
  .admin-topbar .admin-menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 38px; padding: 0 9px; border: 1px solid rgba(255,255,255,.35); border-radius: 5px; background: transparent; cursor: pointer; }
  .admin-menu-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: white; transition: transform .18s ease, opacity .18s ease; }
  .admin-menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
  .admin-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .admin-menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .admin-topbar nav, .admin-topbar nav a:first-child { display: none; }
  .admin-topbar.menu-open nav { position: absolute; top: calc(100% + 6px); right: 12px; display: flex; flex-direction: column; align-items: stretch; gap: 0; min-width: 184px; padding: 6px; border: 1px solid rgba(255,255,255,.13); border-radius: 6px; background: var(--ocean-dark); box-shadow: 0 12px 26px rgba(4,34,43,.24); }
  .admin-topbar.menu-open nav a { display: block; padding: 12px 10px; border-radius: 4px; }
  .admin-topbar.menu-open nav a:hover { background: rgba(255,255,255,.09); }
  .admin-topbar.menu-open nav form { padding: 5px; border-top: 1px solid rgba(255,255,255,.16); }
  .admin-topbar.menu-open nav button { width: 100%; min-height: 37px; padding: 8px 10px; border: 0; text-align: left; }
  .user-topbar.menu-open nav { max-height: calc(100vh - 80px); overflow-y: auto; }
  .user-topbar.menu-open .nav-dropdown-toggle { padding: 12px 10px; border-radius: 4px; }
  .user-topbar.menu-open .nav-dropdown-toggle:hover { background: rgba(255,255,255,.09); }
  .user-topbar.menu-open .nav-dropdown-menu { position: static; min-width: 0; padding: 0 0 4px 12px; background: transparent; box-shadow: none; }
  .user-topbar.menu-open .nav-dropdown-menu a { color: white; }
  .user-topbar.menu-open .nav-dropdown-menu a:hover { background: rgba(255,255,255,.09); }
  .user-topbar.menu-open nav .logout-button { display: flex; align-items: center; }
  main:not(.landing-main):not(.login-page) { width: calc(100% - 28px); margin-top: 24px; }
  .welcome h1 { font-size: 21px; }
  .panel { padding: 15px 13px; }
  .schedule { grid-template-columns: 64px minmax(0,1fr); gap: 9px; }
  .schedule .status { grid-column: 2; justify-self: start; }
  .profile { grid-template-columns: 1fr; gap: 5px; }
  .profile dd { margin-bottom: 9px; }
}
@media (max-width: 360px) {
  .landing-hero { padding-inline: 17px; }
  .landing-hero h1 { font-size: 25px; }
  .public-bottom-nav a, .account-bottom-nav a { font-size: 7px; }
  .login-story { min-height: 250px; }
}.news-reader-item[hidden] { display: none; }
