/* SINUS · UI da agenda semanal v5 e balão de lembretes por matéria */
#page-schedule .sxw-heading{align-items:center;margin-bottom:18px}
#page-schedule .sxw-heading h1{font-size:clamp(24px,3vw,32px);letter-spacing:-.045em}
#page-schedule .sxw-heading p{max-width:720px}
#page-schedule .sxw-card,#page-schedule .sxw-list-card{
 background:var(--bg2,#fff);border:1px solid var(--line,#e0e9e3);
 border-radius:23px;padding:21px 24px;margin-bottom:15px;
 box-shadow:0 4px 22px rgba(25,69,48,.025)
}
#page-schedule .sxw-top,#page-schedule .sxw-list-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px}
#page-schedule .sxw-top h2,#page-schedule .sxw-list-head h2{font-size:19px;letter-spacing:-.025em;margin:5px 0 2px;color:var(--text,#203b30)}
#page-schedule .sxw-top p{font-size:12px;color:var(--muted,#70867a);margin:0}
#page-schedule .sxw-controls{display:flex;gap:7px;align-items:center;flex:none}
#page-schedule .sxw-controls button{min-width:36px;height:35px;padding:0 12px;border:1px solid var(--line,#dfe9e3);background:var(--bg2,#fff);color:var(--text,#184d36);border-radius:10px;cursor:pointer;font-weight:700}
#page-schedule .sxw-controls button:hover{background:#e4f1e9}
#page-schedule .sxw-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px}
#page-schedule .sxw-day{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;min-height:92px;gap:4px;padding:11px 7px;border-radius:15px;border:1px solid #e4ece6;background:#f9fbf9;color:#30483a;cursor:pointer}
#page-schedule .sxw-day span{font-size:11px;color:#72887c;font-weight:750}
#page-schedule .sxw-day b{font-size:23px;font-weight:750;line-height:1.2;letter-spacing:-.05em}
#page-schedule .sxw-day small{font-size:10px;white-space:nowrap;color:#899b91}
#page-schedule .sxw-day.today:not(.selected){border-color:#95c2a8}
#page-schedule .sxw-day.selected{border-color:#268a6b;background:#e8f5ee;box-shadow:inset 0 0 0 1px #7bb79c;color:#176949}
#page-schedule .sxw-dots{display:flex;justify-content:center;gap:3px;min-height:6px}
#page-schedule .sxw-dot{display:block;width:6px;height:6px;border-radius:50%}
#page-schedule .sxw-dot.aula,#page-schedule .sxw-legend.aula i{background:#248670}
#page-schedule .sxw-dot.prova,#page-schedule .sxw-legend.prova i{background:#db8051}
#page-schedule .sxw-dot.faculdade,#page-schedule .sxw-legend.faculdade i{background:#a37bd1}
#page-schedule .sxw-dot.materia,#page-schedule .sxw-legend.materia i{background:#4488c8}
#page-schedule .sxw-dot.pessoal{background:#6a91a3}
#page-schedule .sxw-legend-row{display:flex;flex-wrap:wrap;gap:13px 21px;margin-top:16px}
#page-schedule .sxw-legend{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:650;color:var(--muted,#667d71)}
#page-schedule .sxw-legend i{display:inline-block;width:8px;height:8px;border-radius:50%}
#page-schedule .sxw-list-head{margin-bottom:8px}
#page-schedule .sxw-list-head h2{text-transform:capitalize}
#page-schedule .sxw-count{font-size:11px;font-weight:700;color:#58776b;background:#e9f4ee;border-radius:9px;padding:6px 10px;white-space:nowrap}
#page-schedule .sxw-list{display:grid;gap:0}
#page-schedule .sxw-item{--sxwc:#248670;display:flex;align-items:center;gap:13px;padding:11px 3px;border-bottom:1px solid #eaf0ed;min-width:0}
#page-schedule .sxw-item:last-child{border-bottom:0}
#page-schedule .sxw-item.prova{--sxwc:#db8051}
#page-schedule .sxw-item.faculdade{--sxwc:#a37bd1}
#page-schedule .sxw-item.materia{--sxwc:#4488c8}
#page-schedule .sxw-item.pessoal{--sxwc:#6a91a3}
#page-schedule .sxw-item>time{font-size:12px;flex:0 0 47px;font-weight:800;color:var(--sxwc);font-variant-numeric:tabular-nums}
#page-schedule .sxw-item-body{flex:1;min-width:0;border-left:3px solid var(--sxwc);padding-left:13px}
#page-schedule .sxw-item-line{display:flex;align-items:center;gap:9px;min-width:0}
#page-schedule .sxw-type{flex:none;font-size:10px;background:color-mix(in srgb,var(--sxwc) 12%,white);color:var(--sxwc);font-weight:750;border-radius:8px;padding:4px 7px}
#page-schedule .sxw-item strong{font-size:12px;line-height:1.35;font-weight:700;color:var(--text,#203b30);min-width:0}
#page-schedule .sxw-item p{font-size:11px;color:var(--muted,#6b8075);line-height:1.45;margin:4px 0 0}
#page-schedule .sxw-actions{display:flex;align-items:center;gap:7px;flex:none}
#page-schedule .sxw-actions label{font-size:10px;color:var(--muted,#70867a);display:flex;align-items:center;gap:4px;cursor:pointer}
#page-schedule .sxw-actions input{accent-color:#258f6d}
#page-schedule .sxw-actions button,#page-schedule .sxw-source{font-size:11px;border:1px solid var(--line,#dce6e0);border-radius:9px;background:transparent;padding:5px 8px;color:var(--muted,#698478);cursor:pointer}
#page-schedule .sxw-item.done .sxw-item-body{opacity:.58}
#page-schedule .sxw-item.done strong{text-decoration:line-through}
#page-schedule .sxw-official{font-size:12px;color:var(--muted,#70867a);padding:8px 2px 18px}
#page-schedule .sxw-official summary{cursor:pointer}
#page-schedule .sxw-official>div{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
#page-schedule .sxw-empty{font-size:12px;color:var(--muted,#70867a);margin:10px 0 2px}
#subjectView .sinus-rem-box{background:#edf5fc!important;border:1px solid #dbe9f6!important;border-radius:19px!important;padding:17px 20px!important;margin:0 0 15px!important;color:#294b67!important}
#subjectView .sinus-rem-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 6px!important}
#subjectView .sinus-rem-head h3{font-size:16px!important;font-weight:800;margin:0;color:#29577b}
#subjectView .sinus-rem-head button{min-height:32px!important;padding:5px 10px;border-radius:9px!important;font-size:11px}
#subjectView .sinus-rem-line{padding:8px 0!important}
#subjectView .sinus-rem-line strong{font-size:12px!important}
#subjectView .sinus-rem-line small{font-size:10px!important}
#subjectView .sinus-rem-line input{height:16px;width:16px}
html[data-theme="dark"] #page-schedule .sxw-day{background:#1b2c23;color:#e4f3e8;border-color:#35483a}
html[data-theme="dark"] #page-schedule .sxw-day.selected{background:#294d38;border-color:#6faa88}
html[data-theme="dark"] #page-schedule .sxw-day span,html[data-theme="dark"] #page-schedule .sxw-day small{color:#9aafa3}
html[data-theme="dark"] #page-schedule .sxw-type{background:#2c3b36}
html[data-theme="dark"] #subjectView .sinus-rem-box{background:#1d3242!important;color:#d2eaff!important;border-color:#345571!important}
html[data-theme="dark"] #subjectView .sinus-rem-head h3{color:#cae4ff}
@media(max-width:640px){
 #page-schedule .sxw-card,#page-schedule .sxw-list-card{padding:15px 13px;border-radius:17px}
 #page-schedule .sxw-top h2,#page-schedule .sxw-list-head h2{font-size:16px}
 #page-schedule .sxw-week{gap:4px}
 #page-schedule .sxw-day{min-height:77px;padding:7px 2px;border-radius:10px}
 #page-schedule .sxw-day span{font-size:9px}
 #page-schedule .sxw-day b{font-size:19px}
 #page-schedule .sxw-day small{font-size:8px}
 #page-schedule .sxw-item{gap:7px;align-items:flex-start;padding:10px 0}
 #page-schedule .sxw-item>time{flex-basis:39px;font-size:10px;padding-top:5px}
 #page-schedule .sxw-item-body{padding-left:9px}
 #page-schedule .sxw-item-line{flex-wrap:wrap;gap:4px 6px}
 #page-schedule .sxw-item strong{font-size:11px}
 #page-schedule .sxw-actions{align-self:center}
 #page-schedule .sxw-actions label{font-size:0}
 #page-schedule .sxw-controls button{padding:0 9px;min-width:30px}
}

/* SINUS · painel lateral exclusivo para criar lembretes. Fechado por padrão. */
#sinus-reminder-drawer[hidden]{display:none!important}
#sinus-reminder-drawer{position:fixed;inset:0;z-index:500;isolation:isolate}
.sxrem-scrim{position:absolute;inset:0;background:rgba(13,30,21,.34);backdrop-filter:blur(2px)}
.sxrem-sheet{position:absolute;inset:0 0 0 auto;width:min(445px,100vw);height:100%;display:flex;flex-direction:column;overflow:hidden;border-left:1px solid #e4eae6;background:#fff;color:#213d30;box-shadow:-20px 0 70px rgba(25,58,38,.2);animation:sxrem-enter .22s ease}
@keyframes sxrem-enter{from{transform:translateX(30px);opacity:.75}to{transform:translateX(0);opacity:1}}
.sxrem-head{padding:28px 30px 22px;border-bottom:1px solid #edf1ee;display:flex;align-items:flex-start;justify-content:space-between;gap:17px;flex:none}
.sxrem-head h2{font-size:25px;font-weight:800;letter-spacing:-.04em;margin:8px 0}
.sxrem-head p{font-size:12px;line-height:1.5;color:#7a8d7f;max-width:315px}
.sxrem-x{flex:none;display:grid;place-items:center;width:36px;height:36px;border:1px solid #e3eae6;background:#f9fbfa;color:#526e5c;border-radius:11px;font-size:23px;cursor:pointer}
.sxrem-body{padding:25px 30px 29px;overflow:auto;overscroll-behavior:contain;min-height:0}
.sxrem-sheet .field{display:flex;flex-direction:column;gap:7px;margin-bottom:18px;color:#4f6b5a;font-size:12px;font-weight:650}
.sxrem-sheet .field span small{font-size:10px;font-weight:450;color:#9aaca0}
.sxrem-sheet .field input,.sxrem-sheet .field select,.sxrem-sheet .field textarea{display:block;width:100%;border:1px solid #dce9e1;border-radius:12px;background:#fbfdfb;color:#203f2e;padding:12px;font-size:13px;outline:0}
.sxrem-sheet .field input:focus,.sxrem-sheet .field select:focus,.sxrem-sheet .field textarea:focus{border-color:#50a981;box-shadow:0 0 0 3px rgba(50,151,106,.12)}
.sxrem-sheet .field textarea{resize:vertical;min-height:84px}
.sxrem-dates{display:grid;grid-template-columns:1fr 1fr;gap:11px}
.sxrem-private{font-size:11px;line-height:1.5;color:#889a8e;margin-top:0}
.sxrem-foot{display:flex;justify-content:flex-end;gap:9px;padding-top:19px;border-top:1px solid #edf0ed;margin-top:21px}
.sxrem-foot .btn{padding:10px 18px;border-radius:12px}
.sxrem-foot .btn.primary{min-width:150px}
#subjectView .sinus-rem-head button[data-rem-add]{background:#f8fcff!important;color:#286b9c!important;border:1px solid #b8d9f2!important;font-size:11px!important;padding:6px 10px!important;border-radius:10px!important}
html[data-theme="dark"] .sxrem-sheet{background:#17251c;color:#e1f0e6;border-color:#31483a}
html[data-theme="dark"] .sxrem-head{border-color:#31483a}
html[data-theme="dark"] .sxrem-head p,html[data-theme="dark"] .sxrem-private{color:#a2b8ab}
html[data-theme="dark"] .sxrem-sheet .field{color:#c2dbcb}
html[data-theme="dark"] .sxrem-sheet .field input,html[data-theme="dark"] .sxrem-sheet .field select,html[data-theme="dark"] .sxrem-sheet .field textarea,html[data-theme="dark"] .sxrem-x{background:#22382b;color:#e4f5e8;border-color:#3c5846}
@media(max-width:600px){.sxrem-sheet{width:100vw}.sxrem-head{padding:21px 20px}.sxrem-body{padding:21px 20px}.sxrem-foot{position:sticky;bottom:-21px;padding-bottom:22px;background:inherit}}
@media(prefers-reduced-motion:reduce){.sxrem-sheet{animation:none}}
