.routine-filters .field,.management-filter .field,.toolbar>.field{margin:0;min-width:140px;flex:1;font-size:12px}.routine-filters .field select,.management-filter .field select,.toolbar>.field select{margin-top:6px;font-size:13px}.routine-field-tabs{display:flex;gap:8px;overflow-x:auto;margin:18px 0;padding-bottom:6px}.routine-field-tabs .btn{white-space:nowrap;border:1px solid var(--line,#e0e5db);background:#fff;color:#53684f;font-size:13px;padding:11px 16px}.routine-field-tabs .selected{background:#356348;color:#fff;border-color:#356348}.routine-groups{display:flex;flex-wrap:wrap}.routine-groups .btn{font-size:13px}.routine-hint{display:flex;align-items:center;gap:8px;font-size:12px;color:#7a6744;background:#faf4e7;padding:11px 14px;border-radius:10px}.routine-hint .icon{flex:0 0 17px}.text-button{padding:0;border:0;background:transparent;color:#356348;text-decoration:underline;font-size:12px;white-space:nowrap}.routine-table-title{display:flex;justify-content:space-between;align-items:center;padding:10px 0;gap:12px}.routine-table-title h2{font-family:inherit;font-size:18px;margin:0}.routine-table-title span{font-size:12px;color:#788171}.choice-table{min-width:550px!important;table-layout:fixed!important}.choice-table th:first-child{width:36%!important}.choice-table th:not(:first-child){text-align:center;font-size:12px;padding:13px 5px}.choice-table td{padding:10px 3px!important;text-align:center}.choice-table th:last-child{width:40px}.choice-table.with-text th:last-child{width:64%;text-align:left}.choice-table.with-text td{padding:12px!important}.choice-table input:not([type=radio]),.choice-table textarea{width:100%;font-size:14px}.choice-hit{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;position:relative;cursor:pointer}.choice-hit input{position:absolute;opacity:0;width:40px;height:40px;margin:0;cursor:pointer}.choice-hit>span{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border:1.5px solid #b9c8b4;border-radius:50%;background:#fff;color:transparent;pointer-events:none}.choice-hit input:checked+span{background:#356348;border-color:#356348;color:#fff}.choice-hit input:focus-visible+span{outline:3px solid #dabd73;outline-offset:3px}.choice-hit:hover>span{border-color:#356348}.choice-hit .icon{width:17px;height:17px}.row-value{display:block;font-size:10px;color:#94978d;font-weight:400;line-height:1.4;margin-top:4px;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.row-value.filled{color:#356348}.choice-table .student-cell{gap:9px}.choice-table .student-cell strong{font-size:13px}.choice-table .student-cell small{font-size:10px;line-height:1.4;overflow-wrap:anywhere}.choice-table .avatar{width:36px;height:36px;min-width:36px;font-size:13px}.choice-table .child-photo-button{width:36px;height:36px}.choice-table .icon-btn{padding:7px}.routine-family-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:0 22px 22px}.routine-family-section{padding:16px;border-radius:12px;background:#fbfcf8;box-shadow:none}.routine-family-section h3{display:flex;align-items:center;gap:8px;color:#456846;font-size:14px;margin:0 0 14px}.routine-family-section .detail-row{gap:12px;font-size:13px}.routine-family-section .detail-row strong{max-width:56%;text-align:right;white-space:pre-wrap}.routine-family-section .routine-note{padding:0;background:none}.management-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:20px 0}.management-stats>div{background:#f0f4e9;border:1px solid #e0e8d9;border-radius:14px;padding:19px;display:flex;flex-direction:column;gap:6px}.management-stats strong{font-size:28px;color:#356348}.management-stats span{font-size:12px;color:#697960}.management-filter{align-items:end}.management-filter .filter-label{flex:2;min-width:180px}.student-register{display:grid;gap:12px}.register-row{padding:19px 20px;display:flex;align-items:center;gap:16px;justify-content:space-between}.register-row .person{flex:1;min-width:0}.register-row h3{font-size:15px;font-family:inherit;line-height:1.4;margin:0 0 4px;overflow-wrap:anywhere}.register-row p{font-size:12px;margin:0;color:#788071}.register-meta{display:flex;flex:1;flex-direction:column;gap:7px;align-items:flex-start;max-width:250px}.register-meta small{font-size:11px;line-height:1.5;color:#737b6a}.register-actions{display:flex;flex-direction:column;align-items:flex-start;gap:5px}.pagination{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin:22px 0;font-size:12px;color:#6a7862}.pagination span{margin-right:auto}.field-config{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.field-config fieldset{border:1px solid #dfe6d9;border-radius:12px;padding:15px 17px;min-width:0;background:#fff}.field-config legend{padding:0 6px;color:#356348;font-size:13px;font-weight:600}.field-config .checkbox{margin:9px 0;font-size:13px}.routine-override{border:1px solid #dfe6d9;border-radius:12px;padding:15px}.routine-override summary,.demo-accounts summary{cursor:pointer;font-size:14px;font-weight:600;color:#356348}.routine-override>.checkbox{margin:18px 0}.routine-override .field-config{grid-template-columns:1fr}.account-children{max-height:270px;overflow-y:auto;border:1px solid #dfe6d9;border-radius:12px;padding:9px 14px;margin-top:10px}.account-children .checkbox{padding:10px 0;border-bottom:1px solid #edf0e8;align-items:flex-start;font-size:13px}.account-children .checkbox[hidden]{display:none}.account-children small{display:block;color:#788171;font-size:11px;margin-top:4px}.account-children input{margin-top:3px;flex:0 0 auto}.account-children input:disabled+span{opacity:.5}.demo-accounts{padding:20px;margin-top:30px;border-top:1px solid #dfe6d9}.demo-accounts>p{font-size:12px;color:#788171}.local-account-entry{max-width:680px;margin:30px auto;border:1px solid #dfe6d9;border-radius:16px;text-align:left;background:#fff;padding:18px 22px}.local-account-entry summary{font-weight:600;color:#356348;cursor:pointer}.local-account-entry form{padding-top:18px}.local-account-entry .two-fields{margin-bottom:16px}.management-tabs{margin-bottom:22px}
@media(min-width:701px) and (max-width:1000px){.choice-table{min-width:550px!important}.register-row{flex-wrap:wrap}.register-row .person{min-width:220px}.register-meta{min-width:160px}}
@media(max-width:700px){.routine-filters .field{min-width:140px}.routine-hint{align-items:flex-start;flex-wrap:wrap}.routine-hint .text-button{margin-left:25px}.routine-groups{flex-wrap:nowrap;overflow-x:auto}.routine-groups .btn{white-space:nowrap}.routine-table-title{align-items:flex-start}.routine-table-title h2{font-size:16px}.routine-table-title span{font-size:11px;max-width:45%;text-align:right}.choice-table{min-width:580px!important}.choice-table th:first-child{position:sticky;left:0;background:#fbfcf8;z-index:1}.choice-table tbody th:first-child{background:#fff}.routine-family-sections{grid-template-columns:1fr;padding:0 15px 15px}.management-stats{gap:7px}.management-stats>div{padding:13px 10px}.management-stats strong{font-size:24px}.management-stats span{font-size:10px}.register-row{flex-wrap:wrap;padding:15px;gap:12px}.register-row .person{flex-basis:100%}.register-row>.register-meta{max-width:calc(100% - 80px)}.field-config{grid-template-columns:1fr}.management-tabs{overflow-x:auto;flex-wrap:nowrap}.management-tabs .btn{white-space:nowrap}.local-account-entry{padding:16px}.routine-field-tabs{margin-top:14px}}

.register-photo{border:0;background:transparent;padding:0;cursor:pointer;border-radius:50%}.register-photo:focus-visible{outline:3px solid #dabd73;outline-offset:3px}
.routine-choice-wrap{contain:inline-size paint}.routine-groups,.routine-field-tabs{contain:inline-size paint}.choice-table td{min-width:0}.choice-table input[type=radio]{min-height:0}
.routine-groups,.routine-field-tabs{contain:paint;width:100%;min-width:0}.routine-groups>.btn,.routine-field-tabs>.btn{flex:0 0 auto}

/* A navegação tem a própria rolagem, inclusive em janelas baixas. */
@media(min-width:701px){.sidebar{height:100dvh;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;align-self:start;scrollbar-width:thin}.sidebar>*{flex-shrink:0}.sidebar-note{margin-top:auto}}
.routine-block{margin:0 0 24px;padding:22px;border:1px solid #dfe6d9;border-radius:16px;background:#fffefb;min-width:0}.routine-block.school{background:#fcfbf6;border-color:#e7dfc8}.routine-block.pending{border-color:#e6d9bf;background:#fffcf5}.routine-block-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.routine-block-heading h2{font-size:24px;margin:7px 0 0}.routine-block-heading .eyebrow{font-size:9px}.routine-table-title h3{font-size:16px;margin:10px 0}.block-empty{font-size:12px;color:#7e8973;margin:0 0 4px;line-height:1.7}.routine-block .routine-groups{gap:3px}.routine-block .routine-groups .btn{font-size:12px;padding:10px 12px}.routine-block .routine-field-tabs{margin:14px 0 5px}.routine-block .routine-choice-wrap{border-radius:10px}.choice-table.with-times th:first-child{width:40%!important}.choice-table.with-times th:not(:first-child){width:30%;text-align:left;padding:15px}.choice-table.with-times td{padding:12px!important}.choice-table.with-times input{max-width:180px}.routine-demo{margin:20px 0;border-top:1px solid #dfe6d9;padding-top:16px}.routine-demo>summary{cursor:pointer;font-size:13px;color:#667d52;font-weight:600}.routine-demo>.help{margin:12px 0 18px}.year-toolbar{align-items:end}.year-destination{display:flex;gap:14px;align-items:center;margin-right:15px;color:#637a50}.year-destination span{font-size:11px;display:flex;flex-direction:column;gap:4px}.year-destination strong{font-size:25px}.year-selection{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:20px 0;font-size:12px}.year-selection>div{display:flex;gap:8px}.year-rows{display:grid;gap:10px}.year-row{padding:18px;display:grid;grid-template-columns:minmax(160px,1.1fr) minmax(170px,1fr) minmax(150px,.8fr);gap:18px;align-items:center}.year-row .checkbox{align-items:flex-start}.year-row .checkbox input{flex-shrink:0;margin-top:3px}.year-row small{display:block;font-size:11px;color:#89937d;margin-top:6px}.year-review{max-height:45vh;overflow:auto;display:grid;gap:10px;margin-bottom:20px}.year-review>div{padding:13px;background:#f5f7ef;border-radius:10px;display:flex;flex-direction:column;gap:6px;font-size:13px}.year-review span,.year-review small{font-size:12px;color:#76866b}.family-year{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:18px}.family-year .filter-label{display:flex;align-items:center;gap:10px}.family-year select{margin:0}.family-year p{font-size:11px;color:#7d8d70;max-width:350px;margin:0}.history-badge{background:#f4eddb;color:#877447;border-radius:7px;padding:6px 10px;font-size:10px;display:inline-block;margin-top:10px}
@media(max-width:1000px){.year-row{grid-template-columns:1fr 1fr}.year-row>.checkbox{grid-column:1/-1}.routine-block{padding:17px}.routine-block-heading h2{font-size:21px}}
@media(max-width:700px){.routine-block{padding:15px 12px;margin-bottom:18px}.routine-block-heading h2{font-size:22px}.routine-block-heading .badge{font-size:9px}.routine-block .routine-groups{flex-wrap:nowrap}.routine-block .routine-groups .btn{font-size:12px}.choice-table.with-times{min-width:480px!important}.year-selection{flex-wrap:wrap}.year-row{gap:14px;padding:15px;grid-template-columns:1fr}.year-row>.checkbox{grid-column:auto}.year-row select{font-size:14px}.year-toolbar .checkbox{flex-basis:100%}.family-year .filter-label{flex-wrap:wrap}}
#managed-routine-form>.editor-footer{position:static;margin-bottom:22px}
@media(max-width:700px){.choice-table.with-times,.choice-table.with-text{min-width:0!important;width:100%}.choice-table.with-times th:first-child,.choice-table.with-text th:first-child{width:34%!important;padding:10px 8px}.choice-table.with-times th:not(:first-child){width:33%;padding:10px 6px}.choice-table.with-times td{padding:8px 5px!important}.choice-table.with-times input{padding:8px 4px;font-size:13px;max-width:100%;min-width:0}.choice-table.with-times .student-cell,.choice-table.with-text .student-cell{flex-direction:column;align-items:flex-start;gap:7px}.choice-table.with-times .row-value,.choice-table.with-text .row-value{max-width:90px}.choice-table.with-text td{padding:8px!important}.choice-table.with-text textarea{font-size:16px}}

/* Planejamento semanal: um único cartão por dia. */
.agenda-instruction{font-size:13px;line-height:1.7;color:#748268;margin:-4px 0 22px;max-width:750px}.daily-week{display:grid;gap:20px}.daily-plan-editor,.daily-day-card{padding:26px 30px;min-width:0}.daily-plan-header{display:flex;align-items:center;gap:17px;padding-bottom:20px;border-bottom:1px solid #e9eddf;margin-bottom:22px}.daily-plan-header .day-number{width:52px;height:58px;border-radius:12px;background:#edf3e6;color:#557c42;display:grid;place-items:center;font-size:27px;font-weight:650;flex-shrink:0}.daily-plan-header h2{text-transform:capitalize;font-size:23px;margin:0 0 6px}.daily-plan-header p{color:#8b967f;font-size:12px;margin:0}.daily-plan-editor>.field{font-size:12px;margin-bottom:20px}.daily-plan-editor textarea{font-size:14px;line-height:1.9;padding:14px 16px;resize:vertical}.daily-plan-editor .homework-editor{margin-bottom:0;padding-top:18px;border-top:1px solid #edf0e7}.homework-editor .optional{display:inline;font-weight:400;color:#98a08e;font-size:11px}.daily-plan-editor .homework-editor{display:block}.homework-editor textarea{display:block;margin-top:10px;background:#fcfcf8}.daily-day-card h3{font-size:11px;font-weight:700;letter-spacing:1.2px;text-transform:uppercase;color:#7a8d68;margin:0 0 12px}.daily-plan-list{padding:0;margin:0;list-style:none;display:grid;gap:0}.daily-plan-list li{font-size:14px;line-height:1.9;color:#607452;padding:10px 0 10px 17px;position:relative;white-space:pre-wrap;overflow-wrap:anywhere}.daily-plan-list li::before{content:'';width:4px;height:4px;background:#9caf8e;border-radius:50%;position:absolute;left:1px;top:22px}.daily-plan-list li+li{border-top:1px solid #f0f2ea}.daily-plan-list strong{font-weight:650;color:#355c38}.daily-homework{margin-top:24px;border-radius:12px;background:#f7f4e9;border-left:3px solid #d4be78;padding:18px 20px}.daily-homework h3{color:#87743d}.daily-homework .daily-plan-list li{padding:5px 0;color:#796d48}.daily-homework .daily-plan-list li::before{display:none}.daily-homework .daily-plan-list li+li{border-color:#e9e3cd}.daily-homework .daily-plan-list strong{color:#73602f}#weekly-agenda-form>.editor-footer{position:static}.family-week{max-width:900px}.daily-week+.btn{margin-top:16px}
@media(max-width:700px){.daily-plan-editor,.daily-day-card{padding:20px 18px}.daily-plan-header{gap:13px;margin-bottom:17px;padding-bottom:17px}.daily-plan-header h2{font-size:22px}.daily-plan-header p{font-size:11px}.daily-plan-header .day-number{width:46px;height:51px;font-size:25px}.daily-plan-editor textarea{font-size:16px;padding:12px;line-height:1.8}.agenda-instruction{font-size:12px;margin-bottom:18px}.daily-plan-list li{font-size:14px;line-height:1.85}.daily-homework{padding:16px;margin-top:18px}.daily-day-card h3{font-size:10px}.daily-week{gap:16px}}

/* Entrada única do portal publicado. */
.account-entry{max-width:600px;margin:0 auto 30px;padding:28px 32px;background:#fff}.account-entry h2{font-size:23px;margin-bottom:9px}.account-entry>p{font-size:13px;color:var(--muted);margin-bottom:24px}.account-entry .two-fields{margin-bottom:18px}.account-entry .help{margin-top:16px}.account-entry .btn.primary{width:100%}.thread-list>[data-action="threads-more"]{margin:12px}.message-history>[data-action="messages-more"]{display:flex;margin:0 auto 20px}@media(max-width:700px){.account-entry{padding:23px 20px}.account-entry .two-fields{grid-template-columns:1fr}.account-entry .field input{font-size:16px}.account-entry h2{font-size:21px}.thread-list>[data-action="threads-more"]{flex-shrink:0;align-self:center}}
