/* CEEC 1.8 — tipografia legível, contraste e hierarquia do ambiente acadêmico. */
:root{--green:#16654c;--dark:#123d33;--ink:#203b33;--muted:#60756d;--line:#dce6e0;--light:#edf4ef;--bg:#f3f6f3}
body{font-size:16px;line-height:1.65;color:var(--ink);background:var(--bg)}
.sidebar{width:272px;padding:30px 18px 24px;background:linear-gradient(175deg,#143e34,#0c3029);border-right:1px solid #ffffff10}
.brand{padding:0 12px 26px;gap:14px}.brand img{width:54px}.brand strong{font-size:35px}.brand small{font-size:9px;letter-spacing:1.7px;color:#b9cfc3}
.profile{margin:0 9px 20px;padding:22px 0}.profile strong{font-size:16px;font-weight:650;color:#fff}.profile small{font-size:12px;color:#b9d0c5;line-height:1.6;overflow-wrap:anywhere}
.sidebar nav{gap:5px}.sidebar nav a{font-size:14px;padding:12px 15px;border-radius:9px;color:#c6d9cf;line-height:1.4;min-height:44px}.sidebar nav a.active{background:#ffffff13;color:#fff;box-shadow:inset 3px 0 #b9cda5}.sidebar nav a:hover{background:#ffffff10}.sidebar-bottom button{font-size:13px;padding:12px;color:#d5e5db;border-radius:8px}
.workspace{margin-left:272px}.topbar{height:88px;padding:0 40px;font-size:14px;color:#60766a;gap:18px}.topbar strong{color:#365c49;font-weight:600}.topbar .account-copy strong{font-size:15px}.account-copy small{font-size:12px;color:#60756d}.account-avatar{width:44px;height:44px;flex-basis:44px}.account-initial{font-size:19px;background:#e8f0e9}
main{max-width:1480px;padding:38px 40px 55px}.eyebrow{font-size:11px;letter-spacing:1.8px;color:#607b65;font-weight:650}.page-heading{margin-bottom:30px}.page-heading h1{font-size:36px;font-weight:650;letter-spacing:-1.2px;margin:8px 0;color:#203b33;line-height:1.25}
.panel{padding:30px;border:1px solid #dae5de;border-radius:15px;background:#fff;margin-bottom:26px;box-shadow:0 3px 12px #173d2c03}.panel h2{font-size:22px;font-weight:650;letter-spacing:-.5px;line-height:1.35;margin-bottom:22px}.panel p{font-size:15px;color:#526b5d;line-height:1.8}.panel h3{font-size:18px}
.welcome{position:relative;background:linear-gradient(115deg,#153e33,#25684c);border-radius:16px;padding:36px 38px;color:#fff;overflow:hidden}.welcome:after{content:'';width:240px;height:240px;border:1px solid #ffffff12;border-radius:50%;position:absolute;right:-70px;top:-90px;pointer-events:none}.welcome>span{font-size:11px;letter-spacing:2px;color:#c1d7bd}.welcome h2{font:500 35px/1.25 Georgia,serif;letter-spacing:-.5px;margin:18px 0 14px}.welcome p{font-size:16px;max-width:700px;color:#d9e8db}.stats{gap:18px}.stat{border-radius:13px;padding:23px;border-color:#dce6df}.stat>span{font-size:13px;color:#647a68}.stat strong{font-size:34px;color:#244b38;font-weight:650}
.form-grid{gap:20px}label{font-size:14px;font-weight:600;color:#415f4d;gap:9px}input,select,textarea{font-size:16px;padding:13px 15px;color:#2f4a3c;border-color:#cddbd0;border-radius:8px;min-height:48px;background:#fff}input:focus,textarea:focus,select:focus{border-color:#6d997a}input[type=file]{font-size:14px;padding:14px}.check{font-size:15px}.check input{min-height:20px;width:20px;height:20px;flex-shrink:0}
.primary{font-size:15px;font-weight:600;border-radius:8px;padding:13px 20px;min-height:48px}.secondary{font-size:14px;color:#315d46;border-color:#ceddd0;border-radius:8px;padding:10px 16px;min-height:44px;background:#fff}.text-link{font-size:15px;color:#236947;font-weight:550}.inline-form{margin:5px 7px 5px 0}.reading-menu-toggle{width:44px;padding:0;min-height:44px}
.table-wrap{border:1px solid #e0e8e1;border-radius:10px}table{font-size:14px}th{font-size:12px;font-weight:650;letter-spacing:.3px;color:#53705a;background:#f0f5ef;padding:16px 18px}td{font-size:14px;padding:20px 18px;color:#4c6754;border-bottom-color:#e9eeea}td:first-child{color:#2e4d38;font-weight:550}td .primary,td .secondary,td label{font-size:13px}td .form-grid{min-width:220px}.table-search{font-size:15px;max-width:440px}.empty{font-size:15px;color:#6e846f!important;padding:34px!important}.badge{font-size:12px;padding:5px 10px;border-radius:6px;color:#356444;background:#edf5e8;border-color:#dce9d6}
.note{font-size:14px!important;padding:18px 21px;border-radius:8px;background:#f0f6ec;color:#496f40!important;line-height:1.8}.alert{font-size:15px;color:#365b36;background:#eff6e9;border-radius:9px;padding:18px 22px}.alert.error{color:#8b3530;background:#fff2f0}.prose{font-size:17px;line-height:1.9;color:#425e4b;max-width:100%;padding:12px 0 24px}.file-link{font-size:15px;padding:16px 0}.video{border-radius:12px}.course-card{transition:border-color .15s,box-shadow .15s}.course-card:hover{border-color:#a9c4ae;box-shadow:0 8px 24px #1a492b08}.course-card h2{font-size:24px;margin-top:13px}.course-cohort-title{font-size:21px;font-weight:650;color:#2a4c38}.card-grid{gap:22px}.study-progress{padding:18px;background:#f4f8f2;border:1px solid #dce8d8;border-radius:10px;margin-bottom:20px}.study-progress p{font-size:14px;margin:8px 0}.study-progress progress{height:14px;border-radius:10px}.question{padding:24px;border-color:#d4e0d6;border-radius:12px}.question legend{font-size:17px}.question label{font-size:16px}.announcement h3{font-size:18px}.announcement small{font-size:12px;color:#6b816d}.announcement p{font-size:15px}summary{font-size:15px;font-weight:600;cursor:pointer;padding:8px 0;color:#355b43}details[open]>summary{margin-bottom:13px}.delete-user{margin-top:10px}.delete-user summary{color:#9b453d;font-size:13px}.delete-user p{font-size:13px;max-width:300px}.delete-user .primary{background:#983f37;border-color:#983f37}.delete-user .primary:hover{background:#7e332d}
.auth-brand strong{font-size:46px}.auth-brand span{font-size:11px}.auth-brand h1{font-size:46px}.auth-brand p{font-size:16px;color:#c6d8c3}.auth-form{padding:45px 14%}.auth-form>.muted{font-size:13px;color:#6c8167}.auth-form h2{font-size:34px;font-weight:650}.auth-form input{font-size:17px;padding:15px}.password-row button{font-size:12px;padding:0 12px}.help-box{padding:22px;border-radius:10px}.help-box strong{font-size:15px;color:#46653e}.help-box p,.help-box a{font-size:13px;color:#5e7852}.installer{max-width:900px;padding:38px}.installer>p{font-size:16px;color:#536c51}.installer h1{font-size:34px}.installer h2{font-size:22px}.installer .form-grid>p{font-size:15px;color:#536c51}.workspace footer{font-size:12px;color:#60735f}.workspace footer a{font-size:12px}
@media(max-width:1100px){.sidebar{width:240px}.workspace{margin-left:240px}.brand strong{font-size:31px}.brand small{font-size:8px}.sidebar nav a{font-size:14px}main{padding:28px}.topbar{padding:0 28px}.panel{padding:25px}.auth-brand h1{font-size:38px}}
@media(max-width:700px){body{font-size:16px}.sidebar{width:260px}.workspace{margin-left:0}.topbar{height:auto;min-height:76px;padding:15px 20px;font-size:12px}.topbar .account-copy strong{font-size:14px}.account-copy small{font-size:11px}.topbar .account-link{max-width:68%}.account-avatar{width:38px;height:38px;flex-basis:38px}main{padding:27px 18px 45px}.page-heading h1{font-size:30px}.panel{padding:23px 19px;border-radius:12px}.panel h2{font-size:21px}.welcome{padding:27px 24px}.welcome h2{font-size:30px}.welcome p{font-size:15px}.stats{gap:12px}.stat{padding:20px 16px}.stat strong{font-size:30px}.stat>span{font-size:12px}.form-grid,.card-grid{grid-template-columns:1fr}.lesson-reading .topbar{padding:13px 18px}.lesson-reading:not(.sidebar-collapsed) .reading-menu-toggle{left:206px}.auth-brand{padding:22px 25px}.auth-brand strong{font-size:32px}.auth-form{padding:32px 25px}.auth-form h2{font-size:30px}.installer{margin:18px;padding:24px}.installer h1{font-size:29px}.workspace footer{font-size:11px}.workspace footer a{font-size:11px}.workspace footer strong{font-size:16px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.course-summary-meta{display:inline-block;margin-top:18px;padding:7px 13px;border:1px solid #ffffff30;border-radius:7px;font-size:13px;color:#eef5e9}.course-overview h2{max-width:1000px}

.student-id-card{width:100%;max-width:690px;border:1px solid #c4d3c8;border-radius:18px;overflow:hidden;background:#fafcf6;color:#203b33;box-shadow:0 8px 28px #183e2a0c}.student-id-brand{background:linear-gradient(120deg,#133e33,#236448);display:flex;align-items:center;gap:14px;padding:20px 25px;color:#fff}.student-id-brand>img{width:47px;height:50px;object-fit:contain;background:#fff;border-radius:5px;padding:3px}.student-id-brand strong{display:block;font:700 29px Georgia,serif}.student-id-brand span{display:block;font-size:9px;letter-spacing:1.4px;color:#d3e4d0}.student-id-brand>b{margin-left:auto;font-size:11px;letter-spacing:1.2px;border:1px solid #c9d4ad66;border-radius:20px;padding:7px 11px;color:#e6edcf}.student-id-body{display:grid;grid-template-columns:115px 1fr;gap:25px;padding:26px}.student-id-photo{width:115px;height:145px;border:1px solid #d7e2d5;border-radius:9px;overflow:hidden;background:#eaf0e4;display:flex;align-items:center;justify-content:center}.student-id-photo img{width:100%;height:100%;object-fit:cover}.card-photo-placeholder{text-align:center;font-size:11px;color:#55764c;padding:8px}.student-id-data small{display:block;font-size:10px;letter-spacing:1px;font-weight:700;color:#71846c}.student-id-data h3{margin:3px 0 14px;font-size:20px;line-height:1.25}.student-id-data p{margin:3px 0 14px;font-size:15px;font-weight:600;line-height:1.4;color:#244a37}.student-id-pair{display:flex;gap:35px;flex-wrap:wrap}.student-id-pair strong{font-size:15px}.student-id-card footer{display:flex;justify-content:space-between;gap:10px;background:#eef2e4;border-top:1px solid #dbe2cc;padding:12px 25px;font-size:11px;letter-spacing:.5px}.panel .card-validity-note{font-size:13px;max-width:690px;color:#687e65}.primary:disabled{opacity:.55;cursor:not-allowed}@media(max-width:520px){.student-id-brand{padding:16px;gap:10px}.student-id-brand>b{font-size:9px;padding:6px}.student-id-brand span{font-size:8px}.student-id-body{grid-template-columns:85px 1fr;padding:19px 16px;gap:16px}.student-id-photo{width:85px;height:120px}.student-id-data h3{font-size:17px}.student-id-data p{font-size:13px}.student-id-pair{gap:15px}.student-id-pair strong{font-size:13px}.student-id-card footer{font-size:9px;padding:11px 16px}}@media print{body.printing-student-card *{visibility:hidden!important}body.printing-student-card .printing-card,body.printing-student-card .printing-card *{visibility:visible!important}body.printing-student-card .printing-card{position:fixed;left:0;top:0;width:170mm;max-width:none;box-shadow:none;break-inside:avoid;print-color-adjust:exact;-webkit-print-color-adjust:exact}body.printing-student-card .sidebar,body.printing-student-card .topbar,body.printing-student-card .workspace>footer,body.printing-student-card button{display:none!important}}
@media print{body.printing-student-card{background:#fff!important}.printing-student-card .workspace{margin:0;min-height:0;display:block}.printing-student-card main{padding:0;margin:0;max-width:none}.printing-student-card main>*{display:none!important}.printing-student-card main>.student-card-panel:has(.printing-card){display:block!important;padding:0;margin:0;border:0;box-shadow:none}.printing-student-card .student-card-panel>:not(.printing-card){display:none!important}.printing-student-card .printing-card{position:static;margin:0}.printing-student-card .page-heading{display:none!important}}

.material-management{padding:20px;margin:18px 0 26px;border:1px solid #d9e5db;border-radius:10px;background:#f7faf5}.material-management p{max-width:760px}.material-management .form-grid{margin-top:12px}.material-management .delete-user{padding-top:10px;border-top:1px solid #e1e9df;margin-top:14px}

/* Ações de pessoas em linha, com espaço integral para os formulários. */
.people-table .person-data td{border-bottom:0;padding-bottom:12px}
.people-table .person-action-row td{padding-top:0;padding-bottom:22px;border-bottom:2px solid #e0e8e1}
.person-actions{display:flex;flex-wrap:wrap;align-items:flex-start;gap:10px;width:100%}
.person-actions>.inline-form{margin:0;display:block}
.person-actions>details{margin:0;padding:0;border:0;background:transparent;flex:0 1 auto}
.person-actions>details>summary{box-sizing:border-box;min-height:44px;padding:10px 16px;border:1px solid #ceddd0;border-radius:8px;background:#fff;font-size:14px;font-weight:600;line-height:22px;white-space:normal}
.person-actions>.inline-form button{margin:0;font-size:14px}
.person-actions>details[open]{flex:1 0 100%;padding:16px;border:1px solid #ceddd0;border-radius:8px;background:#f8faf7}
.person-actions>details[open]>summary{display:inline-block;margin-bottom:14px}
.person-actions>details[open] .form-grid{min-width:0;max-width:920px}
.person-actions>details p{max-width:900px;font-size:14px}
@media(max-width:650px){.people-table th,.people-table td{padding-left:12px;padding-right:12px}.person-actions{gap:8px}.person-actions>details>summary,.person-actions>.inline-form button{font-size:13px;padding:9px 12px}.person-actions>details[open] .form-grid{grid-template-columns:1fr}}
