@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--red:#cf253b;--ink:#17191c;--muted:#7a8493;--line:#e3e6ea;--bg:#f5f6f7;--pink:#fff0f2}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:#16181b;font:13px 'DM Sans',sans-serif}.topbar{height:48px;background:#171717;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 18px;position:sticky;top:0;z-index:5}.brand{display:flex;gap:9px;align-items:center}.brandmark{background:var(--red);width:30px;height:30px;border-radius:8px;display:grid;place-items:center;font-weight:800;font-size:18px}.brand b{display:block;letter-spacing:.5px;font-size:13px}.brand small{display:block;color:#bdc0c5;font-size:8px;letter-spacing:1.15px;margin-top:1px}.user{font-size:10px;font-weight:600;display:flex;align-items:center;gap:8px}.user i,.eyebrow i{width:8px;height:8px;background:#e93950;border-radius:50%;display:inline-block;box-shadow:0 0 0 4px #4d2028}.shell{display:grid;grid-template-columns:218px minmax(0,1fr);min-height:calc(100vh - 48px)}.sidebar{background:#fff;border-right:1px solid var(--line);padding:32px 12px;position:relative}.nav-label{font-size:9px;color:#a0a6b0;letter-spacing:1.5px;font-weight:700;margin:4px 12px 12px}.nav{height:42px;width:100%;border:0;background:none;text-align:left;color:#626c79;padding:0 12px;border-radius:7px;margin-bottom:4px;font:600 12px 'DM Sans';cursor:pointer}.nav span{display:inline-block;width:24px;color:#9099a6;font-size:17px}.nav.active{background:var(--pink);color:#bd1e34}.nav.active span{color:var(--red)}.nav em{float:right;font-style:normal;font-size:10px;color:#8e98a5}.side-foot{position:absolute;bottom:20px;left:24px;color:#98a0ac;font-size:10px}.side-foot span{color:var(--red)}main{padding:38px 25px 32px;min-width:0}.page-head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:26px}.eyebrow{font-size:9px;letter-spacing:1.8px;color:var(--red);font-weight:700;margin:3px 0 14px 4px}.eyebrow i{width:15px;height:2px;border-radius:1px;box-shadow:none;margin:0 8px 2px 0}.page-head h1{font:800 36px 'Manrope',sans-serif;letter-spacing:-1.6px;margin:0}.page-head h1 strong{color:var(--red)}.page-head p{margin:6px 0 0;color:#707b88;font-size:12px;max-width:620px;line-height:1.6}.stats{background:#fff;border:1px solid var(--line);border-radius:14px;display:flex;align-items:center;padding:12px 5px;box-shadow:0 5px 18px #131a2209}.stats div{min-width:70px;text-align:center;border-right:1px solid var(--line)}.stats div:last-child{border:0}.stats b{font:700 17px 'Manrope';display:block}.stats small{display:block;font-size:9px;color:#8390a0}.panel{background:#fff;border:1px solid #e0e3e7;border-radius:9px;overflow:hidden;box-shadow:0 3px 12px #19222c04}.panel-top{height:51px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 19px;font-size:12px}.red{color:var(--red);font-size:17px;margin-right:7px}.step-count{color:#929aa4;font-size:9px;display:flex;gap:4px;align-items:center}.step-count i{width:22px;height:3px;background:#e0e3e8;border-radius:4px}.steps{display:grid;grid-template-columns:1fr 1fr 1fr}.step{padding:25px 20px 17px;min-width:0;border-right:1px solid var(--line);height:523px;display:flex;flex-direction:column}.step:last-child{border:0}.step-title{display:flex;align-items:center;gap:9px;margin-bottom:25px}.num{width:25px;height:25px;border-radius:7px;background:var(--pink);color:#c9283e;display:grid;place-items:center;font-size:11px;font-weight:700;flex:none}.step-title b{font-size:11px;display:block}.step-title small{font-size:9px;color:#87909d;display:block;margin-top:3px}.step-icon{margin-left:auto;color:#7c8796;font-size:15px}.label-row{display:flex;justify-content:space-between;align-items:center;margin:0 0 8px}.step label,.label-row label{font-size:9px;font-weight:700;color:#202328}.label-row small{font-size:9px;color:#9aa3af}.label-row i{font-style:normal;color:var(--red)}.search,.control{height:35px;border:1px solid #d8dde3;background:#f6f7f8;border-radius:5px;padding:0 11px;font:10px 'DM Sans';color:#333;outline:none;width:100%}.search:focus,.control:focus{border-color:#d45a68;box-shadow:0 0 0 2px #cf253b13}.search::placeholder{color:#96a0ad}.pick-list{overflow:auto;margin-top:9px;flex:1;min-height:0}.teacher-option{display:flex;align-items:center;gap:9px;padding:9px 8px;border-radius:6px;cursor:pointer}.teacher-option:hover,.teacher-option.selected{background:#f7f8f9}.avatar{width:29px;height:29px;border-radius:50%;background:#eef0f2;color:#707c89;display:grid;place-items:center;font-size:9px;font-weight:700;flex:none}.teacher-option b{font-size:9px;display:block;text-transform:uppercase}.teacher-option small{display:block;font-size:8px;color:#8c96a3;margin-top:3px}.teacher-option .chev{margin-left:auto;color:#87909e}.hint-bottom{font-size:8px;color:#969eaa;margin-top:10px;min-height:12px}.step>label{display:block;margin-bottom:8px}.step>label i{font-style:normal;color:var(--red)}select:disabled{opacity:.55}.unit-label{margin:21px 0 8px}.compact{width:100%;height:30px;margin-bottom:8px}.unit-list,.place-list{border:1px solid #e0e4e8;border-radius:5px;background:#f7f8f9;overflow:auto;flex:1;margin-top:8px;min-height:0}.empty{display:grid;place-items:center;color:#8d97a5;font-size:9px;text-align:center;padding:15px}.unit-option,.place-option{padding:10px;border-bottom:1px solid #e8eaed;display:flex;align-items:center;gap:9px;cursor:pointer}.unit-option:last-child,.place-option:last-child{border:0}.unit-option input,.place-option input{accent-color:var(--red)}.unit-option b,.place-option b{font-size:9px;display:block}.unit-option small,.place-option small{font-size:8px;color:#8993a0}.unit-option .hours{margin-left:auto;font-size:8px;color:#8792a0;white-space:nowrap}.place-option .capacity{margin-left:auto;color:#8993a0;font-size:8px}.panel-foot{border-top:1px solid var(--line);background:#fbfbfc;min-height:61px;display:flex;align-items:center;padding:9px 18px;gap:10px}.status-icon{width:19px;height:19px;border:1px solid #8390a0;color:#607080;border-radius:50%;display:grid;place-items:center;font-size:11px}.panel-foot b{font-size:9px;display:block}.panel-foot small{font-size:8px;color:#87909e;display:block;margin-top:3px}.foot-actions{margin-left:auto;display:flex;align-items:center;gap:18px}.text-btn{border:0;background:none;color:#596777;font:10px 'DM Sans';cursor:pointer}.primary{border:0;border-radius:5px;background:var(--red);color:white;padding:10px 17px;font:600 10px 'DM Sans';cursor:pointer}.primary:hover{background:#b91e33}.primary:disabled{opacity:.45;cursor:not-allowed}.primary span{margin-left:10px}.muted{color:#8791a0;font-size:10px}.toolbar{padding:14px 18px;display:flex;gap:10px}.toolbar .search{max-width:520px}.filter{width:190px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left}th{font-size:8px;color:#8791a0;letter-spacing:.7px;font-weight:700;background:#fafbfc;padding:12px 16px;border-bottom:1px solid var(--line);white-space:nowrap}td{padding:12px 16px;border-bottom:1px solid #edf0f2;font-size:10px;color:#414953}td strong{color:#24282d;font-size:10px}.pill{display:inline-flex;align-items:center;padding:5px 8px;border-radius:12px;font-size:9px;font-weight:600}.pill.on{background:#eaf7ef;color:#21834b}.pill.off{background:#f1f2f4;color:#7c8490}.toggle{appearance:none;width:30px;height:17px;border-radius:10px;background:#cfd4da;position:relative;vertical-align:middle;margin:0 7px 0 0;cursor:pointer}.toggle:after{content:'';width:13px;height:13px;background:white;position:absolute;top:2px;left:2px;border-radius:50%;transition:.15s}.toggle:checked{background:#39a767}.toggle:checked:after{left:15px}.hidden{display:none!important}.history{margin-top:18px}.remove{border:0;color:#b4bac2;background:transparent;cursor:pointer;font-size:16px}.remove:hover{color:var(--red)}.course-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:5px 18px 20px}.course-card{border:1px solid var(--line);border-radius:7px;padding:14px}.course-card h3{font-size:12px;margin:0 0 4px}.course-card .tag{font-size:8px;color:var(--red);font-weight:700}.course-card .uc{border-top:1px solid #eff0f2;padding:8px 0 0;margin-top:8px;font-size:9px}.course-card .uc small{color:#8993a0;display:block;margin-top:3px}.add-unit{border-top:1px solid var(--line);padding:17px 18px 20px}.add-unit h3{font-size:12px;margin:0 0 12px}.form-row{display:grid;grid-template-columns:1fr 2fr;gap:9px}.semester-checks{display:flex;align-items:center;gap:14px;margin-top:13px}.semester-checks label{font-size:10px;color:#59616c}.semester-checks input{accent-color:var(--red)}.semester-checks button{margin-left:auto}.place-grid{padding:12px 18px 20px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.place-card{border:1px solid var(--line);border-radius:7px;padding:14px;display:flex;gap:11px;align-items:center}.place-symbol{width:31px;height:31px;border-radius:8px;background:#fff0f2;color:var(--red);display:grid;place-items:center}.place-card b{font-size:10px}.place-card small{display:block;color:#8993a0;font-size:8px;margin-top:4px}.toast{position:fixed;right:24px;bottom:24px;background:#202328;color:#fff;padding:12px 17px;border-radius:7px;box-shadow:0 5px 25px #0002;opacity:0;transform:translateY(10px);transition:.2s;pointer-events:none;font-size:11px;z-index:9}.toast.show{opacity:1;transform:translateY(0)}
@media(max-width:1100px){.sidebar{width:180px}.shell{grid-template-columns:180px 1fr}.step{padding:20px 14px}.steps{grid-template-columns:1fr 1fr}.step:nth-child(2){border-right:0}.step:last-child{grid-column:1/-1;border-top:1px solid var(--line);height:400px}.course-grid{grid-template-columns:1fr}}
@media(max-width:760px){.shell{display:block}.sidebar{position:static;display:flex;overflow:auto;padding:8px;gap:4px;border-right:0;border-bottom:1px solid var(--line)}.nav-label,.side-foot{display:none}.nav{white-space:nowrap;width:auto;margin:0}.nav span{width:20px}.page-head{align-items:flex-start;gap:15px;flex-direction:column}.page-head h1{font-size:29px}.stats{width:100%;justify-content:space-around}.stats div{flex:1}.steps{display:block}.step,.step:last-child{height:460px;border-right:0;border-bottom:1px solid var(--line)}main{padding:22px 12px}.panel-foot{flex-wrap:wrap}.foot-actions{gap:9px}.course-grid,.place-grid{grid-template-columns:1fr}.form-row{grid-template-columns:1fr}.semester-checks{flex-wrap:wrap}.semester-checks button{margin-left:0}.user{font-size:0}.user i{font-size:initial}}
.logout{border:1px solid #53565a;border-radius:5px;background:transparent;color:#eee;padding:5px 10px;font:10px 'DM Sans';cursor:pointer}.logout:hover{background:#303236}.panel-tools{display:flex;align-items:center;gap:13px}.panel-tools .primary{padding:8px 12px}.actions{display:flex;gap:6px;align-items:center;white-space:nowrap}.action{border:1px solid #dfe3e7;background:#fff;color:#505a66;border-radius:4px;padding:5px 8px;font:9px 'DM Sans';cursor:pointer}.action:hover{border-color:#b9c0c9;background:#f8f9fa}.action.danger{color:#ba3040}.action.danger:hover{border-color:#e7aab2;background:#fff5f6}.table-wrap td.actions{display:table-cell}.course-card{min-width:0}.card-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.card-head h3{margin-top:4px}.uc-head{display:flex;justify-content:space-between;gap:8px;align-items:center}.uc-head .actions{opacity:.72}.place-name{flex:1}.place-card .actions{margin-left:auto}.editor-dialog{width:min(560px,calc(100vw - 24px));max-height:90vh;padding:0;border:1px solid var(--line);border-radius:12px;box-shadow:0 22px 80px #10182135;color:var(--ink)}.editor-dialog::backdrop{background:#15191f77;backdrop-filter:blur(2px)}.editor-form{padding:0}.editor-head{padding:20px 22px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.editor-head small{font-size:8px;letter-spacing:1.5px;color:var(--red);font-weight:700}.editor-head h2{margin:5px 0 0;font:700 19px 'Manrope'}.close-dialog{border:0;background:none;font-size:24px;color:#7c8590;cursor:pointer}.editor-fields{padding:18px 22px;display:grid;grid-template-columns:1fr 1fr;gap:14px;max-height:60vh;overflow:auto}.field-label{font-size:10px;font-weight:600;color:#434b55;display:flex;flex-direction:column;gap:7px}.field-label:has(#fNome),.field-label:has(#fTitulo),.field-label:has(#fIdentificacao){grid-column:1/-1}.editor-fields .control{background:#fff;height:38px}.check-field{grid-column:1/-1;display:flex;align-items:center;gap:8px;font-size:10px}.check-field input,.semester-editor input[type=checkbox]{accent-color:var(--red)}.semester-editor{grid-column:1/-1;display:grid;gap:8px}.semester-editor label{display:flex;align-items:center;gap:7px;font-size:10px}.semester-editor .hours-input{width:86px;height:30px;margin-left:auto}.editor-actions{border-top:1px solid var(--line);padding:13px 22px;display:flex;justify-content:flex-end;align-items:center;gap:10px}.login-body{min-height:100vh}.login-main{min-height:calc(100vh - 48px);display:grid;place-items:center;padding:25px}.login-card{width:min(420px,100%);padding:34px;background:white;border:1px solid var(--line);border-radius:12px;box-shadow:0 15px 50px #2221}.login-card .eyebrow{margin:0 0 13px}.login-card h1{font:800 27px 'Manrope';letter-spacing:-.8px;margin:0}.login-card h1 strong{color:var(--red)}.login-card>p{font-size:11px;color:#7d8793;margin:8px 0 25px}.login-card form{display:grid;gap:8px}.login-card form>label{font-size:10px;font-weight:700;margin-top:6px}.login-card form .control{height:40px;background:#fff}.login-submit{height:40px;margin-top:12px}.login-note{display:block;text-align:center;color:#969eaa;font-size:9px;margin-top:20px}.auth-error{min-height:14px;color:#bd2438;font-size:10px}.login-card .hidden{display:none}
/* Readability scale: comfortable body text, clear form controls and legible data tables. */
body{font-size:15px}
.brand b{font-size:15px}.brand small{font-size:9px}
.user{font-size:12px}.logout{font-size:12px;padding:7px 11px}
.nav-label{font-size:10px}.nav{font-size:14px;height:44px}.nav em{font-size:11px}.side-foot{font-size:11px}
.eyebrow{font-size:10px}.page-head h1{font-size:38px}.page-head p{font-size:14px}
.stats small{font-size:11px}.panel-top{font-size:14px}.step-count{font-size:10px}
.step-title b{font-size:13px}.step-title small{font-size:11px}
.step label,.label-row label{font-size:11px}.label-row small{font-size:10px}
.search,.control{font-size:12px;height:39px}.compact{height:34px}
.teacher-option b,.unit-option b,.place-option b{font-size:11px}.teacher-option small,.unit-option small,.place-option small{font-size:10px}
.hint-bottom{font-size:10px}.unit-option .hours,.place-option .capacity{font-size:10px}
.panel-foot b{font-size:11px}.panel-foot small{font-size:10px}
.primary,.text-btn{font-size:12px}.primary{padding:11px 18px}
.muted{font-size:11px}th{font-size:10px;padding:13px 16px}td,td strong{font-size:12px}
.pill{font-size:10px}.action{font-size:11px;padding:7px 9px}.remove{font-size:18px}
.course-card h3{font-size:14px}.course-card .tag{font-size:10px}.course-card .uc{font-size:11px}.course-card .uc small{font-size:10px}
.place-card b{font-size:12px}.place-card small{font-size:10px}
.field-label,.check-field,.semester-editor label{font-size:12px}.editor-head small{font-size:9px}.editor-head h2{font-size:21px}
.login-card>p{font-size:13px}.login-card form>label{font-size:12px}.login-card .control{font-size:13px}.login-submit{height:44px}.login-note{font-size:11px}.auth-error{font-size:12px}
.toast{font-size:13px}
@media(max-width:760px){.page-head h1{font-size:31px}.nav{font-size:12px;padding:0 9px}.step{padding:20px 14px}.login-card{padding:27px 22px}}
