/* PROMESA · portal interno de demostración */
@media print{body.portal-mode #portal-root .p-app,body.portal-mode #promesa-toast{display:none!important}#portal-root #portal-dialog .p-dialog-body{padding:0}}
#portal-root .p-plan-weeks{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:18px}#portal-root .p-plan-week{border:1px solid #dce7d1;background:#f5f8ee;border-radius:9px;color:#738c63;flex:1;min-width:105px;text-align:left;padding:12px;font-size:.64rem;line-height:1.4}#portal-root .p-plan-week.selected{border-color:#99bb77;background:#e0efce;color:#2e5e2d}#portal-root .p-plan-week span{display:block;font-size:.57rem;text-transform:uppercase;letter-spacing:.07em}#portal-root .p-plan-week b{display:block;font-family:PromesaSerif,Georgia,serif;font-size:1.25rem;font-weight:400;margin:5px 0}#portal-root .p-plan-week small{font-size:.53rem;line-height:1.4;display:block}
#portal-root .p-calendar-cell.p-plan-cell{min-height:76px;padding:13px;cursor:pointer;transition:background .15s;color:#839674;font-size:.7rem}#portal-root .p-calendar-cell.p-plan-cell:hover{background:#f2f7e8}#portal-root .p-calendar-cell.p-plan-cell.selected{background:#e4f0d7;color:#306037;box-shadow:inset 0 0 0 1px #a6c789}#portal-root .p-plan-caption{font-size:.57rem;display:block;margin-top:8px;color:#8c9f7e}#portal-root .selected .p-plan-caption{color:#547b42}@media(max-width:760px){#portal-root .p-calendar-cell.p-plan-cell{min-height:64px;padding:6px;font-size:.61rem}#portal-root .p-calendar-cell.p-plan-cell input{width:12px;height:12px}#portal-root .p-plan-caption{font-size:.44rem;margin-top:5px}#portal-root .p-hours-row>span:last-child{display:none}}
body.portal-mode{background:#f5f6ef;color:#203c30;font-family:PromesaSans,Arial,sans-serif}body.portal-mode>.header,body.portal-mode main#main,body.portal-mode>.footer{display:none!important}#portal-root{display:none}body.portal-mode #portal-root{display:block}#portal-root *{box-sizing:border-box}#portal-root button,#portal-root input,#portal-root select,#portal-root textarea{font:inherit}#portal-root button,#portal-root a{touch-action:manipulation}#portal-root button{cursor:pointer}#portal-root a{text-decoration:none}#portal-root button:focus-visible,#portal-root a:focus-visible,#portal-root input:focus-visible,#portal-root select:focus-visible,#portal-root textarea:focus-visible{outline:3px solid #d3a83d;outline-offset:3px}#portal-root h1,#portal-root h2,#portal-root h3,#portal-root p{margin:0}#portal-root h1,#portal-root h2,#portal-root h3{font-family:PromesaSerif,Georgia,serif;font-weight:400}#portal-root svg{width:20px;height:20px;flex:none}#portal-root .p-muted{color:#718277;font-size:.84rem;line-height:1.55}#portal-root .p-eyebrow{font-size:.65rem;letter-spacing:.15em;text-transform:uppercase;font-weight:700;color:#7b8b76}#portal-root .p-btn{border:1px solid #d6dfd2;background:#fffef8;color:#07482b;border-radius:9px;padding:10px 15px;display:inline-flex;gap:8px;align-items:center;justify-content:center;font-size:.81rem;line-height:1.3;font-weight:700;transition:background .2s,transform .2s}#portal-root .p-btn:hover{background:#edf3e7;transform:translateY(-1px)}#portal-root .p-btn.primary{background:#07482b;color:#fffef8;border-color:#07482b}#portal-root .p-btn.primary:hover{background:#11613b}#portal-root .p-btn.danger{color:#9e463b;background:#fff7f2;border-color:#ecd6cf}#portal-root .p-btn.small{padding:7px 10px;font-size:.75rem}#portal-root .p-btn:disabled{opacity:.4;cursor:default;transform:none}#portal-root .p-icon-btn{border:1px solid #dce3d8;border-radius:9px;background:#fffef8;color:#07482b;padding:8px;display:inline-flex;align-items:center;justify-content:center}#portal-root .p-badge{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border-radius:6px;font-size:.65rem;font-weight:700;white-space:nowrap;background:#edf3e7;color:#37633e}#portal-root .p-badge.amber{background:#fcf0d5;color:#97752c}#portal-root .p-badge.rose{background:#fae9e3;color:#965446}#portal-root .p-badge.blue{background:#e5eff4;color:#3d6e88}#portal-root .p-badge.gray{background:#eaece6;color:#687767}#portal-root .p-dot{width:6px;height:6px;border-radius:50%;background:currentColor;display:inline-block}#portal-root .p-stack{display:flex;flex-direction:column;gap:16px}#portal-root .p-row{display:flex;align-items:center;gap:10px}#portal-root .p-row.wrap{flex-wrap:wrap}#portal-root .p-row.between{justify-content:space-between}#portal-root .p-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}#portal-root .p-card{background:#fffef8;border:1px solid #e2e7da;border-radius:15px;padding:23px;box-shadow:0 2px 6px #26452a03}#portal-root .p-card-head{display:flex;align-items:flex-start;gap:10px;justify-content:space-between;margin-bottom:20px}#portal-root .p-card-head h2{font-size:1.4rem;line-height:1.2}#portal-root .p-card-head h3{font-size:1.2rem;line-height:1.25}#portal-root .p-card-head p{margin-top:5px}#portal-root .p-empty{padding:45px 24px;text-align:center;border:1px dashed #cfd9c8;border-radius:12px;display:flex;align-items:center;flex-direction:column;gap:12px;color:#718277}#portal-root .p-empty h3{font-size:1.4rem;color:#24543a}#portal-root .p-empty svg{width:36px;height:36px}#portal-root .p-message{font-size:.76rem;line-height:1.6;padding:11px 15px;border-radius:8px;background:#f0f4e9;color:#617553;border:1px solid #dfe8d3}#portal-root .p-message.amber{background:#fff6e0;color:#8c7139;border-color:#edddb6}#portal-root .p-message.rose{background:#fff0ea;color:#965446;border-color:#ebd4ca}#portal-root .p-avatar{width:36px;height:36px;border-radius:11px;background:#e8efdc;color:#39623f;display:flex;align-items:center;justify-content:center;font-size:.74rem;font-weight:700;flex:none}#portal-root .p-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}#portal-root .p-field{display:flex;flex-direction:column;gap:7px;font-size:.77rem;font-weight:700;color:#426347}#portal-root .p-field.full{grid-column:1/-1}#portal-root .p-field input,#portal-root .p-field select,#portal-root .p-field textarea,#portal-root .p-input{border:1px solid #d9e2d2;border-radius:9px;background:#fff;color:#294b35;padding:11px 12px;font-size:.81rem;font-weight:400;line-height:1.4;min-width:0;width:100%}#portal-root .p-field textarea{min-height:95px;resize:vertical}#portal-root .p-field small{font-size:.66rem;font-weight:400;line-height:1.5;color:#7b8c76}#portal-root .p-check{display:flex;gap:9px;align-items:center;font-size:.78rem;color:#536d53;line-height:1.5}#portal-root input[type=checkbox]{accent-color:#07482b;width:16px;height:16px;flex:none}#portal-root .p-separator{border:0;border-top:1px solid #e2e7da;margin:22px 0}
/* entrée */
#portal-root .p-login-shell{min-height:100vh;padding:42px;display:grid;grid-template-columns:minmax(360px,1fr) minmax(420px,.9fr);gap:60px;max-width:1340px;margin:auto;align-items:center}#portal-root .p-login-story{min-height:620px;align-self:stretch;border-radius:25px;background:#07482b;color:#fffef8;padding:48px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;position:relative}#portal-root .p-login-story:after{content:'';position:absolute;width:420px;height:420px;border:1px solid #ffffff19;border-radius:50%;bottom:-230px;right:-70px;box-shadow:0 0 0 65px #ffffff06,0 0 0 130px #ffffff04;pointer-events:none}#portal-root .p-brand{font-family:PromesaSerif,Georgia,serif;font-size:1.7rem;letter-spacing:.05em;color:inherit}#portal-root .p-brand small{display:block;font:400 .61rem PromesaSans,Arial,sans-serif;letter-spacing:.2em;margin-top:8px;opacity:.65}#portal-root .p-login-story h1{font-size:3.2rem;line-height:1.08;max-width:460px;margin:45px 0 20px}#portal-root .p-login-story .script{font-family:PromesaScript,cursive;color:#d4dc9d;font-size:2.5rem;display:block;margin-top:13px}#portal-root .p-login-story p{font-size:.9rem;line-height:1.8;color:#e0e8d9;max-width:350px}#portal-root .p-login-features{display:grid;gap:16px;margin-top:40px}#portal-root .p-login-features span{display:flex;align-items:center;gap:14px;font-size:.8rem;color:#d9e8d1}#portal-root .p-login-form{max-width:420px;width:100%;margin:auto}#portal-root .p-login-form h2{font-size:2.15rem;margin:13px 0}#portal-root .p-login-form>.p-muted{margin-bottom:25px}#portal-root .p-demo-accounts{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0 22px}#portal-root .p-demo-accounts button{border:1px solid #d7e0ce;border-radius:7px;background:#fffef8;padding:8px 10px;color:#526e47;font-size:.72rem}#portal-root .p-demo-accounts button.active{background:#e2ecd5;border-color:#789967;color:#245331}#portal-root .p-login-form form{display:grid;gap:16px}#portal-root .p-login-form .p-btn{width:100%;padding:13px;margin-top:5px}#portal-root .p-login-footer{margin-top:25px;display:flex;justify-content:space-between;align-items:center;font-size:.75rem;color:#75876d}#portal-root .p-login-footer a{color:#24573a}#portal-root .p-login-error{color:#aa453b;font-size:.78rem;min-height:18px}
/* application */
#portal-root .p-app{display:grid;grid-template-columns:224px minmax(0,1fr);min-height:100vh}#portal-root .p-sidebar{background:#07482b;color:#f3f5e9;display:flex;flex-direction:column;gap:35px;padding:30px 18px;position:fixed;inset:0 auto 0 0;width:224px;z-index:20;overflow:auto}#portal-root .p-sidebar .p-brand{padding:0 14px;font-size:1.5rem}#portal-root .p-sidebar-nav{display:flex;flex-direction:column;gap:5px}#portal-root .p-nav-section{font-size:.55rem;font-weight:700;letter-spacing:.15em;text-transform:uppercase;color:#9bbe94;margin:16px 14px 8px}#portal-root .p-sidebar-nav a{display:flex;align-items:center;gap:11px;color:#c7dbc0;padding:11px 13px;border-radius:8px;font-size:.78rem;transition:background .18s}#portal-root .p-sidebar-nav a svg{width:18px;height:18px;opacity:.75}#portal-root .p-sidebar-nav a:hover{background:#ffffff09;color:#fff}#portal-root .p-sidebar-nav a.active{background:#d5e4be;color:#14472b;font-weight:700}#portal-root .p-sidebar-nav a.active svg{opacity:1}#portal-root .p-sidebar-bottom{margin-top:auto;display:grid;gap:15px;padding:0 12px}#portal-root .p-sidebar-bottom a{color:#c3d6b9;font-size:.75rem;display:flex;align-items:center;gap:9px}#portal-root .p-sidebar-note{border-top:1px solid #ffffff20;padding-top:16px;font-size:.62rem;color:#9ebe90;line-height:1.7}#portal-root .p-workspace{grid-column:2;min-width:0}#portal-root .p-topbar{height:81px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid #e3e8db;background:#fffef8cc;padding:0 34px;position:sticky;top:0;z-index:15;backdrop-filter:blur(12px)}#portal-root .p-top-context{display:flex;align-items:center;gap:12px}#portal-root .p-top-context>svg{background:#eef4e6;border-radius:9px;padding:8px;width:35px;height:35px;color:#45653b}#portal-root .p-branch-label{font-size:.6rem;color:#8a957e;text-transform:uppercase;letter-spacing:.12em;display:block}#portal-root #portal-branch-select{border:0;color:#214f32;background:transparent;font-size:.83rem;font-weight:700;padding:3px 18px 3px 0;max-width:185px;cursor:pointer}#portal-root .p-top-search{display:flex;align-items:center;gap:7px;color:#91a082;background:#f4f6ed;border:1px solid #e4e9dc;padding:8px 12px;border-radius:8px;max-width:290px;width:100%;margin-left:auto}#portal-root .p-top-search svg{width:16px;height:16px}#portal-root .p-top-search input{border:0;outline:none;background:transparent;font-size:.72rem;min-width:0;width:100%;color:#3c5b40}#portal-root .p-user{display:flex;align-items:center;gap:9px}#portal-root .p-user-name{font-size:.73rem;max-width:130px;white-space:nowrap}#portal-root .p-user-role{font-size:.59rem;color:#879580;margin-top:3px}#portal-root .p-demo-ribbon{display:flex;gap:8px;align-items:center;padding:8px 34px;background:#edf3e3;color:#6a7c54;font-size:.65rem;border-bottom:1px solid #e0e7d4}#portal-root .p-demo-ribbon svg{width:13px;height:13px}#portal-root .p-content{padding:29px 34px 50px;max-width:1600px;margin:auto}#portal-root .p-page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:24px}#portal-root .p-page-heading h1{font-size:2.2rem;line-height:1.2;color:#204b2e;margin-top:9px}#portal-root .p-page-heading p{font-size:.78rem;color:#75886d;margin-top:9px;line-height:1.6;max-width:700px}#portal-root .p-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:23px}#portal-root .p-kpi{padding:20px;background:#fffef8;border:1px solid #e0e7d7;border-radius:13px;display:grid;gap:15px}#portal-root .p-kpi-top{display:flex;justify-content:space-between;align-items:center;font-size:.71rem;color:#7b8971}#portal-root .p-kpi-top svg{color:#769165;background:#f0f5e8;padding:7px;width:32px;height:32px;border-radius:8px}#portal-root .p-kpi-value{font-family:PromesaSerif,Georgia,serif;font-size:2.4rem;color:#184d2c;line-height:1}#portal-root .p-kpi-note{font-size:.62rem;color:#819077;line-height:1.5}#portal-root .p-dashboard-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(270px,1fr);gap:21px}#portal-root .p-event-mini{display:flex;align-items:center;gap:15px;padding:15px 0;border-bottom:1px solid #edf0e6}#portal-root .p-event-mini:last-child{border:0;padding-bottom:0}#portal-root .p-event-date{width:47px;text-align:center;background:#f1f4e9;border-radius:10px;padding:8px 6px;flex:none}#portal-root .p-event-date b{font-family:PromesaSerif,Georgia,serif;font-size:1.35rem;display:block;color:#245334;line-height:1.1}#portal-root .p-event-date span{font-size:.53rem;text-transform:uppercase;color:#859477;letter-spacing:.1em}#portal-root .p-event-mini-content{flex:1;min-width:0}#portal-root .p-event-mini-content b{font-size:.79rem;color:#345239;display:block;margin-bottom:5px;font-weight:700}#portal-root .p-event-mini-content p{font-size:.65rem;color:#8a9680;line-height:1.4}#portal-root .p-alert{display:flex;gap:12px;align-items:flex-start;padding:14px 0;border-bottom:1px solid #edf0e6}#portal-root .p-alert:last-child{border:0;padding-bottom:0}#portal-root .p-alert>svg{color:#9a8038;background:#faf0d4;border-radius:8px;padding:6px;width:30px;height:30px}#portal-root .p-alert b{font-size:.74rem;display:block;margin-bottom:4px}#portal-root .p-alert p{font-size:.66rem;color:#829277;line-height:1.6}#portal-root .p-bird-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}#portal-root .p-aula-summary{padding:17px;border:1px solid #e0e7d7;border-radius:11px;background:#f8faf2}#portal-root .p-aula-summary h3{font-size:1.11rem;line-height:1.2;margin:8px 0 5px}#portal-root .p-aula-summary .teacher{font-size:.63rem;color:#7d8e72}#portal-root .p-aula-numbers{display:flex;justify-content:space-between;border-top:1px solid #e4eadb;margin-top:15px;padding-top:13px;font-size:.59rem;color:#88967b;gap:10px}#portal-root .p-aula-numbers strong{font-size:1.2rem;color:#315c36;display:block;font-weight:400;font-family:PromesaSerif,Georgia,serif;margin-bottom:5px}#portal-root .p-meter{height:4px;border-radius:4px;background:#e0e8d6;overflow:hidden;margin-top:12px}#portal-root .p-meter span{height:100%;display:block;background:#8eab67;border-radius:4px}
/* tables, agenda */
#portal-root .p-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:20px}#portal-root .p-filters{display:flex;gap:10px;flex-wrap:wrap;align-items:center}#portal-root .p-filters .p-input{max-width:240px;padding:9px 11px;font-size:.74rem}#portal-root .p-tabs{display:inline-flex;padding:4px;background:#eaf0df;border-radius:9px;gap:2px}#portal-root .p-tabs button{border:0;background:transparent;padding:8px 13px;font-size:.72rem;color:#7b8c66;border-radius:7px;display:flex;align-items:center;gap:7px}#portal-root .p-tabs button.active{color:#325c36;background:#fffef8;box-shadow:0 1px 4px #29442a0c}#portal-root .p-tabs svg{width:15px;height:15px}#portal-root .p-table-wrap{overflow:auto;border:1px solid #e2e8d9;border-radius:12px}#portal-root .p-table{border-collapse:collapse;width:100%;font-size:.76rem;min-width:580px;text-align:left}#portal-root .p-table th{font-size:.59rem;letter-spacing:.07em;text-transform:uppercase;color:#8c9a7e;font-weight:700;background:#f6f8ef;padding:13px 16px;border-bottom:1px solid #e4eadc;white-space:nowrap}#portal-root .p-table td{padding:14px 16px;border-bottom:1px solid #e9eee1;color:#516b49;vertical-align:middle;line-height:1.5}#portal-root .p-table tr:last-child td{border:0}#portal-root .p-table tbody tr:hover{background:#fafcf6}#portal-root .p-table .p-person-cell{display:flex;gap:11px;align-items:center}#portal-root .p-table strong{color:#315236;font-size:.76rem;font-weight:700}#portal-root .p-table .sub{display:block;font-size:.62rem;color:#8a987b;margin-top:2px}#portal-root .p-table .p-row-actions{display:flex;gap:7px}#portal-root .p-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-top:1px solid #dfe7d5;border-left:1px solid #dfe7d5;border-radius:11px;overflow:hidden}#portal-root .p-calendar-day-label{background:#f0f4e8;padding:11px 8px;text-align:center;font-size:.6rem;font-weight:700;letter-spacing:.06em;color:#809274;border-right:1px solid #dfe7d5;border-bottom:1px solid #dfe7d5}#portal-root .p-calendar-cell{min-height:125px;padding:9px;border-right:1px solid #dfe7d5;border-bottom:1px solid #dfe7d5;display:flex;flex-direction:column;gap:5px;background:#fffef8}#portal-root .p-calendar-cell.outside{background:#f7f8f1;color:#c1c8b6}#portal-root .p-calendar-cell.today{background:#f6faed}#portal-root .p-day-number{border:0;background:transparent;text-align:left;padding:2px;font-size:.68rem;color:#79916b;width:max-content;height:25px;min-width:25px;border-radius:7px}#portal-root .today .p-day-number{background:#07482b;color:#fffef8;text-align:center;font-weight:700}#portal-root .p-calendar-event{border:0;border-left:3px solid #8dae74;background:#eaf1e1;padding:6px 7px;border-radius:4px;color:#426843;text-align:left;font-size:.6rem;line-height:1.35;display:block;overflow:hidden}#portal-root .p-calendar-event.amber{border-left-color:#d4aa4d;background:#faf1db;color:#8b713a}#portal-root .p-calendar-event.blue{border-left-color:#79a3ba;background:#e6eff2;color:#4c7689}#portal-root .p-calendar-event.rose{border-left-color:#c18b72;background:#f7e9e3;color:#946850}#portal-root .p-calendar-event .time{font-size:.52rem;opacity:.8;display:block;margin-bottom:2px}#portal-root .p-agenda-list{display:grid;gap:12px}#portal-root .p-agenda-item{border:1px solid #e0e7d7;border-radius:12px;padding:18px;display:grid;grid-template-columns:55px minmax(0,1fr) auto;gap:19px;align-items:center;background:#fffef8}#portal-root .p-agenda-item h3{font-size:1.23rem;line-height:1.2;margin:7px 0}#portal-root .p-agenda-item p{font-size:.68rem;line-height:1.6;color:#8a9980}#portal-root .p-agenda-item .p-event-date{width:55px;padding:13px 7px}#portal-root .p-agenda-item .p-event-date b{font-size:1.75rem}
/* files, attendance, forms */
#portal-root .p-profile-top{background:#f1f5e7;border-radius:12px;padding:20px;display:flex;align-items:center;gap:17px;margin-bottom:22px}#portal-root .p-profile-top .p-avatar{width:60px;height:60px;font-size:1.1rem;background:#ddeacb}#portal-root .p-profile-top h2{font-size:1.8rem;line-height:1.2;margin:4px 0 7px}#portal-root .p-profile-meta{display:flex;gap:15px;flex-wrap:wrap;font-size:.67rem;color:#7d9270}#portal-root .p-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}#portal-root .p-info-grid .label{display:block;font-size:.59rem;color:#8a987e;text-transform:uppercase;letter-spacing:.07em;margin-bottom:5px}#portal-root .p-info-grid .value{font-size:.78rem;line-height:1.5;color:#486744}#portal-root .p-timeline{display:grid;gap:0;margin-top:20px}#portal-root .p-timeline-item{display:flex;gap:12px;padding-bottom:20px;position:relative}#portal-root .p-timeline-item:before{content:'';position:absolute;left:5px;top:8px;bottom:0;width:1px;background:#dfe8d4}#portal-root .p-timeline-item:last-child:before{display:none}#portal-root .p-timeline-item>span{width:11px;height:11px;background:#b8cf9a;border:3px solid #eef4e5;border-radius:50%;flex:none;margin-top:3px;position:relative}#portal-root .p-timeline-item b{display:block;font-size:.72rem;margin-bottom:4px}#portal-root .p-timeline-item p{font-size:.75rem;line-height:1.6;color:#6b8260}#portal-root .p-timeline-item small{display:block;font-size:.6rem;color:#9aab8d;margin-top:7px}#portal-root .p-attend-options{display:flex;gap:5px;flex-wrap:wrap}#portal-root .p-attend-options label{cursor:pointer;padding:6px 8px;border-radius:6px;border:1px solid #dde6d4;font-size:.66rem;background:#fff;display:flex;gap:4px;align-items:center;white-space:nowrap}#portal-root .p-attend-options label:has(input:checked){background:#e7f0dc;color:#316437;border-color:#9abb7d}#portal-root .p-attend-options input{accent-color:#07482b;width:11px;height:11px}#portal-root .p-template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}#portal-root .p-template-card{display:flex;flex-direction:column;gap:18px;padding:23px;border:1px solid #dfe7d7;border-radius:13px;background:#fffef8}#portal-root .p-template-card>svg{width:34px;height:34px;padding:7px;background:#ecf2e2;border-radius:8px;color:#739765}#portal-root .p-template-card h3{font-size:1.4rem}#portal-root .p-template-card p{font-size:.72rem;line-height:1.65;color:#849779;flex:1;white-space:pre-line}#portal-root .p-letter{border:1px solid #dce5d0;background:#fff;padding:30px;min-height:250px;white-space:pre-wrap;font-size:.9rem;line-height:1.9;color:#4c6445;border-radius:10px}#portal-root .p-hours-row{display:grid;grid-template-columns:110px minmax(80px,1fr) minmax(80px,1fr) 110px;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid #e6ecde;font-size:.76rem}#portal-root .p-hours-row .p-input{padding:7px 9px;font-size:.74rem}#portal-root .p-web-aulas{display:grid;gap:13px}#portal-root .p-web-aula{border:1px solid #e1e8d6;border-radius:11px;padding:19px;display:flex;align-items:flex-start;gap:18px;justify-content:space-between}#portal-root .p-web-aula h3{font-size:1.35rem;margin-bottom:7px}#portal-root .p-web-aula p{font-size:.75rem;color:#809373;line-height:1.6;max-width:750px}#portal-root .p-user-row{display:flex;gap:12px;align-items:center;padding:15px 0;border-bottom:1px solid #e8edde}#portal-root .p-user-row:last-child{border:0}#portal-root .p-user-row-content{flex:1;min-width:0}#portal-root .p-user-row-content b{font-size:.77rem;display:block;margin-bottom:4px}#portal-root .p-user-row-content p{font-size:.63rem;color:#8b9c7f}#portal-root .p-flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}#portal-root .p-flow-step{padding:17px;background:#f4f7eb;border:1px solid #dfe7d4;border-radius:9px}#portal-root .p-flow-step b{font-size:.68rem;display:block;margin-bottom:8px}#portal-root .p-flow-step p{font-size:.63rem;color:#849678;line-height:1.55}
/* modal */
#portal-root #portal-dialog{border:1px solid #d7e3ca;border-radius:17px;padding:0;width:min(760px,calc(100vw - 30px));max-height:90vh;background:#fffef8;color:#365735;box-shadow:0 30px 100px #073d2838;overflow:auto}#portal-root #portal-dialog::backdrop{background:#0d281cb3;backdrop-filter:blur(5px)}#portal-root .p-dialog-head{padding:24px 28px 20px;border-bottom:1px solid #e1e8d5;display:flex;align-items:flex-start;justify-content:space-between;gap:15px;position:sticky;top:0;background:#fffef8f5;z-index:2;backdrop-filter:blur(10px)}#portal-root .p-dialog-head h2{font-size:1.7rem;line-height:1.2}#portal-root .p-dialog-head p{font-size:.68rem;color:#8a9a7c;margin-top:7px;line-height:1.5}#portal-root .p-dialog-body{padding:25px 28px}#portal-root .p-dialog-footer{display:flex;align-items:center;justify-content:space-between;gap:13px;padding-top:24px;flex-wrap:wrap}#portal-root .p-dialog-footer .p-muted{font-size:.65rem;max-width:290px}#portal-root .p-dialog-subtitle{font-size:1.2rem;margin:23px 0 14px}#portal-root .p-consent-list{display:grid;gap:10px}#portal-root .p-consent-person{display:flex;align-items:center;gap:15px;border:1px solid #e1e8d5;border-radius:9px;padding:12px}#portal-root .p-consent-person>b{font-size:.73rem;flex:1}#portal-root .p-consent-person .p-check{font-size:.67rem}#portal-root .p-consent-person small{display:block;font-size:.61rem;color:#8b9e7c;margin-top:3px}#portal-root .p-print-frame{display:none}#portal-root .p-mobile-toggle{display:none}#portal-root .p-task-list{display:grid;gap:9px}#portal-root .p-task-item{padding:12px;border:1px solid #e0e8d5;border-radius:9px;display:flex;align-items:flex-start;gap:10px;background:#fafcf5}#portal-root .p-task-item>svg{color:#8aa46d;width:18px;height:18px}#portal-root .p-task-item b{font-size:.72rem;display:block;margin-bottom:4px}#portal-root .p-task-item p{font-size:.65rem;line-height:1.5;color:#85997a}
@media(min-width:1500px){#portal-root .p-content{padding-top:35px}#portal-root .p-dashboard-grid{grid-template-columns:minmax(0,1.8fr) minmax(310px,1fr)}#portal-root .p-kpis{gap:20px}}
@media(max-width:1100px){#portal-root .p-app{grid-template-columns:195px minmax(0,1fr)}#portal-root .p-sidebar{width:195px;padding:28px 12px}#portal-root .p-topbar{padding:0 22px}#portal-root .p-content{padding:25px 22px 40px}#portal-root .p-demo-ribbon{padding:8px 22px}#portal-root .p-top-search{max-width:210px}#portal-root .p-user-name{max-width:90px}#portal-root .p-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}#portal-root .p-dashboard-grid{grid-template-columns:minmax(0,1fr)}#portal-root .p-bird-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#portal-root .p-template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#portal-root .p-login-shell{gap:35px;padding:30px}#portal-root .p-login-story{padding:35px}#portal-root .p-login-story h1{font-size:2.9rem}#portal-root .p-calendar-cell{padding:5px;min-height:110px}#portal-root .p-calendar-event{padding:5px 3px;font-size:.54rem}}
@media(max-width:760px){#portal-root .p-app{display:block}#portal-root .p-sidebar{transform:translateX(-100%);transition:transform .2s;width:240px;box-shadow:20px 0 50px #15372028}#portal-root .p-app.menu-open .p-sidebar{transform:translateX(0)}#portal-root .p-mobile-toggle{display:inline-flex}#portal-root .p-topbar{height:71px;padding:0 15px;gap:9px}#portal-root .p-top-search{display:none}#portal-root .p-top-context{gap:6px}#portal-root .p-top-context>svg{display:none}#portal-root .p-user-name{display:none}#portal-root .p-user{gap:7px}#portal-root .p-user .p-avatar{width:31px;height:31px;border-radius:9px;font-size:.65rem}#portal-root #portal-branch-select{max-width:150px;font-size:.75rem}#portal-root .p-content{padding:23px 16px 40px}#portal-root .p-demo-ribbon{padding:8px 16px;font-size:.57rem;line-height:1.5;align-items:flex-start}#portal-root .p-page-heading{align-items:flex-start;flex-direction:column;gap:14px;margin-bottom:20px}#portal-root .p-page-heading h1{font-size:1.9rem}#portal-root .p-page-heading p{font-size:.72rem}#portal-root .p-kpis{gap:10px;margin-bottom:17px}#portal-root .p-kpi{padding:15px;gap:10px}#portal-root .p-kpi-top{font-size:.66rem}#portal-root .p-kpi-top svg{width:27px;height:27px;padding:6px}#portal-root .p-kpi-value{font-size:2rem}#portal-root .p-kpi-note{font-size:.56rem}#portal-root .p-card{padding:18px;border-radius:12px}#portal-root .p-card-head h2{font-size:1.3rem}#portal-root .p-dashboard-grid{gap:15px}#portal-root .p-bird-grid{gap:10px}#portal-root .p-aula-summary{padding:13px}#portal-root .p-aula-summary h3{font-size:1.04rem}#portal-root .p-aula-numbers{font-size:.54rem;gap:7px;flex-wrap:wrap}#portal-root .p-template-grid{grid-template-columns:minmax(0,1fr)}#portal-root .p-calendar-cell{min-height:87px;padding:4px;gap:3px}#portal-root .p-calendar-day-label{font-size:.47rem;padding:8px 2px}#portal-root .p-day-number{font-size:.57rem;min-width:18px;height:20px;padding:2px}#portal-root .p-calendar-event{font-size:.48rem;line-height:1.25;padding:4px 2px;border-left-width:2px;max-height:48px}#portal-root .p-calendar-event .time{display:none}#portal-root .p-agenda-item{grid-template-columns:44px minmax(0,1fr);gap:12px;padding:15px}#portal-root .p-agenda-item .p-actions{grid-column:2}#portal-root .p-agenda-item .p-event-date{width:44px;padding:10px 4px}#portal-root .p-agenda-item h3{font-size:1.12rem}#portal-root .p-agenda-item p{font-size:.62rem}#portal-root .p-toolbar{gap:12px}#portal-root .p-filters{width:100%;gap:7px}#portal-root .p-filters .p-input{max-width:none;flex:1;min-width:110px}#portal-root .p-form-grid,#portal-root .p-info-grid{grid-template-columns:minmax(0,1fr)}#portal-root .p-form-grid .p-field.full{grid-column:1}#portal-root .p-hours-row{grid-template-columns:77px minmax(0,1fr) minmax(0,1fr);gap:9px;font-size:.68rem}#portal-root .p-hours-row .p-check{grid-column:1/-1;font-size:.65rem;margin-bottom:3px}#portal-root .p-hours-row .p-input{padding:7px 5px}#portal-root .p-web-aula{flex-direction:column;gap:15px}#portal-root .p-flow{grid-template-columns:repeat(2,minmax(0,1fr))}#portal-root .p-dialog-head{padding:19px 18px 16px}#portal-root .p-dialog-head h2{font-size:1.5rem}#portal-root .p-dialog-body{padding:20px 18px}#portal-root .p-consent-person{flex-wrap:wrap;gap:10px}#portal-root .p-consent-person>b{flex-basis:100%}#portal-root .p-profile-top{padding:17px;align-items:flex-start;gap:11px}#portal-root .p-profile-top h2{font-size:1.5rem}#portal-root .p-profile-top .p-avatar{width:43px;height:43px;font-size:.85rem}#portal-root .p-login-shell{display:flex;flex-direction:column;padding:18px;gap:25px;align-items:stretch}#portal-root .p-login-story{min-height:0;padding:26px;border-radius:17px}#portal-root .p-login-story h1{font-size:2.15rem;max-width:420px;margin:27px 0 15px}#portal-root .p-login-story .script{font-size:2rem}#portal-root .p-login-story p{font-size:.76rem}#portal-root .p-login-features{margin-top:24px;grid-template-columns:1fr 1fr;gap:15px}#portal-root .p-login-features span{font-size:.65rem;gap:8px}#portal-root .p-login-form{padding:10px 6px 25px}#portal-root .p-login-form h2{font-size:1.85rem}}
@media(prefers-reduced-motion:reduce){#portal-root *{transition:none!important;animation:none!important;scroll-behavior:auto!important}}@media print{body.portal-mode #portal-root .p-sidebar,body.portal-mode #portal-root .p-topbar,body.portal-mode #portal-root .p-demo-ribbon,body.portal-mode #portal-root .p-page-heading,body.portal-mode #portal-root .p-workspace{display:none!important}#portal-root #portal-dialog{position:static;display:block;max-height:none;border:0;width:100%;box-shadow:none}#portal-root .p-dialog-head,#portal-root .p-dialog-footer,#portal-root .p-dialog-body>.p-filters{display:none!important}#portal-root .p-letter{border:0;padding:25px;color:#000}}

#portal-root .p-scope-banner{display:flex;align-items:center;gap:15px;border:1px solid #d9e5cd;border-radius:13px;padding:18px 21px;margin-bottom:28px;background:linear-gradient(110deg,#eaf2df,#f4f7ec)}
#portal-root .p-scope-icon{background:#07482b;color:#fffef8;width:40px;height:40px;border-radius:11px;display:grid;place-items:center;flex:none}
#portal-root .p-scope-icon svg{width:21px;height:21px}
#portal-root .p-scope-banner strong{font-size:.85rem;color:#17482c;line-height:1.5}
#portal-root .p-scope-banner p{font-size:.7rem;color:#627b53;line-height:1.6;margin-top:4px}
#portal-root .p-scope-tags{display:flex;flex-wrap:wrap;gap:7px;margin-left:auto;flex-shrink:0}
#portal-root #portal-branch-select:disabled{opacity:1;color:#315236;appearance:none;cursor:default}
#portal-root .p-login-overline{font-size:.7rem;letter-spacing:.04em;margin-top:45px;opacity:.7}
#portal-root .p-login-picker{margin:18px 0 10px}
#portal-root .p-login-picker select{max-width:100%;white-space:normal}
#portal-root .p-login-scope{display:flex;align-items:center;gap:8px;background:#edf3e5;border-radius:8px;color:#527348;padding:12px;font-size:.72rem;margin-bottom:18px}
#portal-root .p-login-scope svg{width:17px;height:17px;flex:none}
#portal-root .p-user-name{max-width:160px}
#portal-root .p-user-name,.p-scope-banner{overflow-wrap:anywhere}
@media(max-width:1000px){#portal-root .p-scope-tags{margin-left:0}#portal-root .p-scope-banner{flex-wrap:wrap}}
@media(max-width:760px){#portal-root .p-scope-banner{padding:15px;gap:10px;align-items:flex-start;margin-bottom:20px}#portal-root .p-scope-banner>div:nth-child(2){flex:1;min-width:0}#portal-root .p-scope-tags{width:100%;margin-top:4px}#portal-root .p-scope-banner strong{font-size:.76rem}#portal-root .p-login-overline{margin-top:26px}#portal-root .p-demo-accounts{flex-wrap:wrap}#portal-root .p-login-picker select{min-width:0;width:100%;text-overflow:ellipsis}}

#portal-root .p-scope-context{display:flex;align-items:center;gap:16px;border:1px solid #cfdcc6;background:#edf3e6;border-radius:14px;padding:20px 24px}#portal-root .p-scope-context b{font-size:.82rem}#portal-root .p-scope-context p{font-size:.72rem;line-height:1.6;color:#64735e;margin:6px 0 0}#portal-root .p-scope-context .p-avatar{flex:none}#portal-root .p-scope-context svg{width:20px;height:20px}#portal-root .p-scope-aulas{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}#portal-root .p-scope-aula{border:1px solid #dde3d5;background:#fffef8;border-radius:15px;overflow:hidden;min-width:0;display:flex;flex-direction:column}#portal-root .p-scope-aula.own{border-color:#96b17e;box-shadow:0 0 0 2px #edf3e6}#portal-root .p-scope-aula-top{display:flex;justify-content:space-between;align-items:center;gap:9px;padding:17px 18px}#portal-root .p-scope-aula-top .p-eyebrow{margin:0;font-size:.6rem;letter-spacing:.08em}#portal-root .p-scope-mosaic{height:185px;margin:0 18px;display:grid;grid-template-columns:1.6fr 1fr 1fr;grid-template-rows:1fr 1fr;gap:5px;overflow:hidden;border-radius:9px;background:#edf1e7}#portal-root .p-scope-mosaic figure{margin:0;overflow:hidden;position:relative;min-height:0}#portal-root .p-scope-mosaic .cover{grid-row:span 2}#portal-root .p-scope-mosaic img,#portal-root .p-scope-mosaic svg{display:block;width:100%;height:100%;object-fit:cover}#portal-root .p-scope-photo-tag{position:absolute;left:9px;bottom:9px;padding:4px 8px;background:#fffef8ed;border-radius:20px;font-size:.56rem;color:#315638}#portal-root .p-scope-photo-empty{margin:0 18px;height:185px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:#edf1e7;color:#64735e;font-size:.7rem;border-radius:9px}#portal-root .p-scope-photo-empty svg{width:25px;height:25px}#portal-root .p-scope-aula-content{display:flex;flex-direction:column;flex:1;padding:20px 18px}#portal-root .p-scope-aula h3{font-size:1.48rem;line-height:1.13;margin:0 0 9px}#portal-root .p-scope-teacher{display:flex;align-items:center;gap:7px;font-size:.66rem;color:#61745a;margin:0 0 13px}#portal-root .p-scope-teacher svg{width:13px;height:13px}#portal-root .p-scope-description{font-size:.74rem;line-height:1.65;color:#64735e;margin:0 0 19px;flex:1}#portal-root .p-scope-card-footer{border-top:1px solid #e4e8de;padding-top:15px;display:flex;align-items:center;justify-content:space-between;gap:10px}#portal-root .p-scope-card-footer>.p-muted{font-size:.58rem}#portal-root .p-scope-card-footer .p-actions{gap:6px}#portal-root .p-scope-footnote{font-size:.64rem!important;line-height:1.6;margin:18px 0 0!important}#portal-root .p-scope-detail-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}#portal-root .p-scope-detail-gallery figure{margin:0;min-width:0}#portal-root .p-scope-detail-gallery figure:first-child{grid-column:1/-1}#portal-root .p-scope-detail-gallery img,#portal-root .p-scope-detail-gallery svg{width:100%;height:100px;display:block;object-fit:cover;border-radius:9px;background:#edf1e7}#portal-root .p-scope-detail-gallery figure:first-child img,#portal-root .p-scope-detail-gallery figure:first-child svg{height:300px}#portal-root .p-scope-detail-gallery figcaption{font-size:.59rem;line-height:1.45;color:#64735e;margin-top:7px}#portal-root .p-scope-user-tags{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:8px}#portal-root .p-scope-user-tags .p-badge{font-size:.53rem}#portal-root .p-scope-account-info{background:#f0f4e9;border-radius:10px;padding:14px 18px;margin-top:20px;color:#5d7056;font-size:.7rem;line-height:1.6}#portal-root .p-scope-account-info p{margin:5px 0}#portal-root .p-field input[readonly]{background:#f3f5ee;color:#7b8774}#portal-root .p-field select:disabled{background:#f3f5ee;color:#9aa38f}#portal-root .p-user-row-content{min-width:0}#portal-root .p-user-row-content p{overflow-wrap:anywhere}
@media(max-width:1000px){#portal-root .p-scope-aulas{grid-template-columns:1fr}#portal-root .p-scope-mosaic{height:220px}#portal-root .p-scope-aula h3{font-size:1.55rem}}
@media(max-width:600px){#portal-root .p-scope-context{align-items:flex-start;padding:16px;gap:12px}#portal-root .p-scope-context b{font-size:.74rem}#portal-root .p-scope-context p{font-size:.67rem}#portal-root .p-scope-aula-top{padding:14px 13px;flex-wrap:wrap}#portal-root .p-scope-mosaic{margin:0 13px;height:165px}#portal-root .p-scope-aula-content{padding:18px 13px}#portal-root .p-scope-card-footer{align-items:flex-start;flex-direction:column;gap:11px}#portal-root .p-scope-card-footer .p-actions{width:100%;justify-content:flex-end}#portal-root .p-scope-detail-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}#portal-root .p-scope-detail-gallery figure:first-child img,#portal-root .p-scope-detail-gallery figure:first-child svg{height:210px}#portal-root .p-scope-detail-gallery img,#portal-root .p-scope-detail-gallery svg{height:100px}#portal-root .p-scope-account-info{padding:12px 14px}#portal-root .p-scope-aula h3{font-size:1.4rem}}

.p-movement-kpis{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:20px}
.p-movement-amount{font-size:clamp(1.6rem,2.8vw,2.3rem)}
.p-movement-lookup{display:grid;grid-template-columns:1fr minmax(280px,1fr);align-items:center;gap:28px;margin-bottom:20px}
.p-movement-lookup h2{margin:8px 0}
.p-movement-lookup form{display:flex;align-items:flex-end;gap:10px}
.p-movement-lookup .p-field{flex:1;min-width:0}
.p-movement-lookup .p-btn{flex:none;min-height:42px}
.p-movement-person{margin-top:24px;padding-top:22px;border-top:1px solid var(--p-line,#dde3d5)}
.p-movement-person>.p-row{gap:16px;margin-bottom:8px}
.p-movement-table td{vertical-align:top}
@media(max-width:900px){.p-movement-lookup{grid-template-columns:1fr;gap:18px}}
@media(max-width:600px){.p-movement-kpis{grid-template-columns:1fr}.p-movement-lookup form{align-items:stretch;flex-direction:column}.p-movement-lookup .p-btn{align-self:flex-start}.p-movement-person>.p-row{align-items:flex-start}.p-movement-person .p-event-mini{flex-wrap:wrap}.p-movement-person .p-event-mini-content{min-width:150px}}

#portal-root .p-profile-choice{max-width:1060px;min-height:100vh;margin:auto;padding:38px 32px 30px}
#portal-root .p-choice-header{display:flex;align-items:center;justify-content:space-between;gap:20px}
#portal-root .p-choice-header .p-brand{color:#07482b}
#portal-root .p-choice-intro{margin:64px auto 32px;max-width:680px;text-align:center}
#portal-root .p-choice-intro h1{font-size:2.7rem;line-height:1.13;margin:13px 0 17px}
#portal-root .p-choice-intro p{font-size:.9rem;line-height:1.75;color:#718277}
#portal-root .p-profile-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
#portal-root .p-profile-option{background:#fffef8;border:1px solid #dce4d4;border-radius:19px;padding:29px;display:flex;flex-direction:column;gap:17px;box-shadow:0 8px 28px #244f2810}
#portal-root .p-profile-option h2{font-size:1.8rem;line-height:1.2}
#portal-root .p-profile-option>p{font-size:.82rem;line-height:1.75;color:#63765b;flex:1}
#portal-root .p-profile-option .p-profile-place{flex:0;font-size:.7rem;font-weight:700;color:#527448}
#portal-root .p-profile-option-icon{width:49px;height:49px;display:grid;place-items:center;border-radius:13px;background:#e7efda;color:#07482b;margin-top:7px}
#portal-root .p-profile-option-icon svg{width:24px;height:24px}
#portal-root .p-profile-option>.p-btn{margin-top:13px;padding:13px}
#portal-root .p-choice-footer{display:flex;align-items:center;justify-content:center;gap:18px;flex-wrap:wrap;margin:30px 0;color:#6e8263;font-size:.76rem}
#portal-root .p-choice-demo{font-size:.64rem;color:#899582;text-align:center;line-height:1.6}
#portal-root .p-profile-switch{font-size:.68rem;padding:8px 10px;white-space:nowrap;flex:none}
#portal-root .p-user{min-width:0}
#portal-root .p-user-name{overflow-wrap:normal;font-size:.73rem;line-height:1.5}
@media(max-width:760px){#portal-root .p-profile-choice{padding:24px 18px}#portal-root .p-choice-intro{margin-top:40px}#portal-root .p-choice-intro h1{font-size:2.1rem}#portal-root .p-profile-options{grid-template-columns:minmax(0,1fr)}#portal-root .p-profile-option{padding:22px}#portal-root .p-profile-option h2{font-size:1.6rem}#portal-root .p-profile-switch span{display:none}#portal-root .p-profile-switch{padding:8px}#portal-root .p-profile-switch svg{width:16px;height:16px}#portal-root .p-user .p-avatar{display:none}}
/* PROMESA PHOTO STUDIO */
@media(max-width:660px){#portal-root .p-card-head{flex-wrap:wrap}#portal-root .p-card-head .p-badge{max-width:100%;white-space:normal}}
.fp-slots{margin-top:30px}.fp-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px}.fp-section-heading h3{font-size:1.7rem;margin:7px 0 9px}.fp-section-heading p,.fp-local-note{font-size:.75rem;line-height:1.7;color:#72816a}.fp-eyebrow{font-family:PromesaSans,Arial,sans-serif;font-size:.61rem;letter-spacing:.12em;text-transform:uppercase;font-weight:700;color:#7a8970}.fp-pill{font-family:PromesaSans,Arial,sans-serif;display:inline-block;background:#edf2e6;color:#526b43;padding:6px 10px;border-radius:20px;white-space:nowrap;font-size:.63rem;line-height:1.5}.fp-slot-list{display:grid;gap:17px}.fp-slot{display:grid;grid-template-columns:160px minmax(0,1fr);gap:19px;background:#f6f7ef;border:1px solid #dfe5d4;border-radius:14px;padding:16px}.fp-slot-preview{background:#e4eada;border-radius:10px;overflow:hidden;min-height:155px;display:flex;align-items:center;justify-content:center;align-self:stretch}.fp-slot-preview>span{font-family:PromesaSerif,Georgia,serif;color:#7c8d6c;font-size:1.1rem;padding:15px;text-align:center}.fp-slot-preview img{width:100%;height:100%;max-height:255px;object-fit:cover}.fp-slot-title{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:13px}.fp-slot-title b{font-size:.86rem;color:#174d32}.fp-slot-title>span{font-size:.58rem;color:#72816a}.fp-source-buttons{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:15px}.fp-caption{margin-top:12px}.fp-slot-bottom{display:flex;gap:18px;margin-top:12px}.fp-text-button{border:0;background:none;color:#255936;font-family:PromesaSans,Arial,sans-serif;font-size:.7rem;line-height:1.5;padding:5px 0;cursor:pointer;text-decoration:underline;text-decoration-color:#a3b69b;text-underline-offset:4px}.fp-text-button:disabled{opacity:.5;cursor:wait}.fp-link-fields[hidden],.fp-text-button[hidden]{display:none!important}.fp-link-fields{padding:13px;background:#edf2e5;border-radius:8px}.fp-link-fields p{font-size:.62rem;line-height:1.65;color:#74866b;margin-top:8px}.fp-local-note{font-size:.64rem;margin:19px 0}.fp-photo-missing{min-height:80px;background:#e7ecdf;font-size:.7rem;color:#526d46}.fp-file-input{position:fixed;width:1px;height:1px;opacity:0;pointer-events:none;left:-100px}
.fp-studio{font-family:PromesaSans,Arial,sans-serif;color:#24492f;border:1px solid #d9e2ce;border-radius:21px;background:#fafaf3;width:min(1190px,calc(100vw - 42px));max-width:1190px;max-height:calc(100dvh - 38px);padding:0;overflow:auto;box-shadow:0 20px 100px #13290f40}.fp-studio::backdrop{background:#173120a8;backdrop-filter:blur(5px)}.fp-studio h2,.fp-studio h3{font-family:PromesaSerif,Georgia,serif;font-weight:500}.fp-studio-head{display:flex;justify-content:space-between;gap:22px;align-items:flex-start;padding:26px 30px 22px;border-bottom:1px solid #dfe5d6;background:#fafaf3}.fp-studio-head h2{font-size:2rem;line-height:1.16;margin:7px 0 9px}.fp-studio-head p{font-size:.74rem;color:#74836a;margin:0}.fp-close{display:grid;place-items:center;flex:none;width:35px;height:35px;border:1px solid #d8e1ce;border-radius:50%;color:#2a5736;background:#fffef9;font-size:24px;cursor:pointer}.fp-editor-grid{display:grid;grid-template-columns:minmax(0,1fr) 325px}.fp-preview-column{padding:24px 27px 20px;min-width:0;align-self:start;position:sticky;top:0}.fp-preview-top{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:16px}.fp-canvas-stage{background:#25342b;border:1px solid #2b3a30;border-radius:12px;min-height:270px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.fp-canvas-stage canvas{width:100%;height:auto;max-height:52dvh;object-fit:contain;display:block}.fp-canvas-stage>span{position:absolute;left:15px;bottom:13px;background:#fffef2e8;border-radius:30px;color:#274b2e;font-size:.65rem;padding:6px 10px;pointer-events:none}.fp-photo-facts{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:.62rem;line-height:1.6;color:#7a8a70;margin:13px 0 20px}.fp-editor-explain{border-top:1px solid #dee5d4;padding-top:18px}.fp-editor-explain b{font-family:PromesaSerif,Georgia,serif;font-size:1.45rem;font-weight:500}.fp-editor-explain p{font-size:.72rem;line-height:1.8;color:#76876c;margin:9px 0}.fp-download-row{display:flex;flex-wrap:wrap;gap:24px;margin-top:11px}.fp-control-column{background:#f1f4e9;border-left:1px solid #dce4d1;padding:24px 24px 28px;min-width:0}.fp-look label,.fp-export>label{display:block;color:#355b34;font-size:.69rem;line-height:1.5;font-weight:600;margin-bottom:12px}.fp-studio select{display:block;width:100%;background:#fffef9;border:1px solid #d4dfc8;border-radius:8px;color:#335435;font-family:inherit;font-size:.71rem;line-height:1.4;min-height:38px;padding:8px 10px;margin-top:7px}.fp-look .fp-button{width:100%;font-size:.72rem;margin-top:3px}.fp-control-group{border-top:1px solid #d4dfc7;padding-top:19px;margin-top:20px}.fp-control-group h3{font-size:1.26rem;margin:0 0 18px}.fp-adjustment{display:block;margin-bottom:17px}.fp-adjustment>span{display:flex;justify-content:space-between;color:#547047;font-size:.68rem}.fp-adjustment output{font-variant-numeric:tabular-nums;color:#8b9b80}.fp-adjustment input{display:block;accent-color:#0b5734;width:100%;margin:9px 0 3px;cursor:pointer}.fp-adjustment small{display:flex;justify-content:space-between;font-size:.53rem;color:#93a086}.fp-export p{font-size:.6rem;line-height:1.75;color:#7b8a70;margin:9px 0}.fp-export #fp-output-label{font-weight:700;color:#526e47}.fp-studio-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid #dbe3cf;padding:20px 28px;background:#fffef7;position:sticky;bottom:0;z-index:2}.fp-studio-footer p{margin:0;font-size:.65rem;line-height:1.65;color:#829175}.fp-footer-actions{display:flex;gap:10px;flex:none}.fp-button{font-family:inherit;border:1px solid #d4e0c8;border-radius:9px;min-height:42px;padding:11px 15px;font-weight:600;font-size:.73rem;line-height:1.45;cursor:pointer;transition:background .2s}.fp-button.primary{background:#0b4b2e;color:#fffef7;border-color:#0b4b2e}.fp-button.primary:hover{background:#14623e}.fp-button.secondary{background:#fffef6;color:#48653e}.fp-button:disabled{opacity:.55;cursor:wait}.fp-studio button:focus-visible,.fp-studio input:focus-visible,.fp-studio select:focus-visible,.fp-text-button:focus-visible{outline:3px solid #a9c493;outline-offset:3px}.fp-error{font-size:.72rem;line-height:1.65;color:#a84e3a;padding:0;margin:10px 0!important}.fp-error:empty{display:none}.fp-editor-loading{padding:80px 30px;text-align:center;color:#7a8b6e}.fp-camera-body{padding:24px 30px}.fp-camera-stage{position:relative;background:#223329;border-radius:13px;min-height:340px;display:flex;align-items:center;justify-content:center;overflow:hidden}.fp-camera-stage video{display:block;width:100%;max-height:58dvh;object-fit:contain}.fp-camera-guide{position:absolute;inset:9%;border:1px solid #faf9e666;border-radius:8px;pointer-events:none}.fp-camera-stage>p{position:absolute;bottom:16px;left:20px;right:20px;color:#f0f4e8;font-size:.7rem;line-height:1.7;text-align:center}.fp-camera-note{color:#7c8c6f;font-size:.76rem;line-height:1.75}.fp-camera-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:22px 0 7px}
@media(max-width:900px){.fp-editor-grid{grid-template-columns:minmax(0,1fr) 280px}.fp-control-column{padding:21px 18px}.fp-studio-head{padding:23px}.fp-preview-column{padding:22px 19px}.fp-studio-footer{padding:16px 20px}.fp-footer-actions{flex-direction:column;gap:7px}.fp-studio-head h2{font-size:1.7rem}}
@media(max-width:660px){.fp-slot{grid-template-columns:1fr;padding:14px}.fp-slot-preview{height:160px;min-height:0}.fp-slot-preview img{height:160px;max-height:none}.fp-source-buttons .p-btn{flex:1;white-space:nowrap;font-size:.64rem}.fp-slot-title{margin-top:1px}.fp-section-heading{flex-direction:column;gap:11px}.fp-studio{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:15px}.fp-studio-head{padding:20px 16px}.fp-studio-head h2{font-size:1.55rem}.fp-editor-grid{grid-template-columns:1fr}.fp-preview-column{position:static;padding:18px 16px}.fp-control-column{border-left:0;border-top:1px solid #dce4d1;padding:21px}.fp-canvas-stage{min-height:170px}.fp-canvas-stage canvas{max-height:42dvh}.fp-studio-footer{padding:14px;flex-direction:column;align-items:stretch;gap:12px}.fp-footer-actions{flex-direction:row}.fp-footer-actions .fp-button{flex:1;padding:10px;font-size:.67rem}.fp-photo-facts{font-size:.57rem;margin-bottom:15px}.fp-preview-top .fp-pill{font-size:.56rem}.fp-preview-top .fp-text-button{font-size:.64rem}.fp-camera-body{padding:17px}.fp-camera-stage{min-height:210px}.fp-camera-actions .fp-button{width:100%}.fp-slot-title>span{font-size:.55rem}}

/* PROMESA ASSISTANT OVERVIEW */
#portal-root .p-assist-overview{display:grid;gap:23px}#portal-root .p-assist-heading{display:flex;align-items:center;justify-content:space-between;gap:25px}#portal-root .p-assist-heading h1{font-size:2.35rem;line-height:1.15;margin:10px 0 12px}#portal-root .p-assist-heading p{font-size:.78rem;color:#7a8c70;line-height:1.75;max-width:650px}#portal-root .p-assist-month-control{display:flex;align-items:center;gap:7px;flex:none;background:#fffef8;border:1px solid #dce5d2;border-radius:13px;padding:11px}#portal-root .p-assist-month-control label{font-size:.58rem;color:#839478;display:grid;gap:4px;padding:0 6px}#portal-root .p-assist-month-control input{width:143px;border:0;background:transparent;font-family:inherit;font-size:.85rem;color:#275b37;outline-offset:4px}#portal-root .p-assist-kpis{margin:0;grid-template-columns:repeat(4,minmax(0,1fr))}#portal-root .p-assist-kpis .p-kpi:first-child{background:#ecf2df;border-color:#cdddbb}#portal-root .p-assist-kpis .p-kpi-value{font-size:2.75rem}#portal-root .p-assist-kpis .amount{font-size:2rem}#portal-root .p-assist-main-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(290px,1fr);gap:23px;align-items:start}#portal-root .p-assist-side{display:grid;gap:23px}#portal-root .p-assist-eyebrow{text-transform:uppercase;font-size:.54rem;letter-spacing:.13em;font-weight:700;color:#9aaa88;display:block;margin:0 0 8px}#portal-root .p-assist-agenda-body{display:grid;grid-template-columns:200px minmax(0,1fr);gap:25px}#portal-root .p-assist-weekdays,#portal-root .p-assist-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}#portal-root .p-assist-weekdays{font-size:.55rem;text-align:center;color:#95a38b;margin-bottom:8px}#portal-root .p-assist-calendar{gap:4px}#portal-root .p-assist-calendar>button{border:0;border-radius:8px;background:#f3f6eb;padding:7px 1px 3px;min-height:35px;font-family:inherit;color:#718963;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:.65rem}#portal-root .p-assist-calendar>button i{font-style:normal;letter-spacing:0;font-size:.58rem;line-height:1;color:#92b076;height:6px}#portal-root .p-assist-calendar .has-events{color:#365b37;background:#edf3e0;font-weight:700}#portal-root .p-assist-calendar .today{outline:1px solid #7b9b63;outline-offset:-1px}#portal-root .p-assist-calendar .selected{color:#fff;background:#145837}#portal-root .p-assist-calendar .selected i{color:#d9e8b3}#portal-root .p-assist-calendar-note{font-size:.59rem;color:#99a68c;line-height:1.7;margin:14px 0}#portal-root .p-assist-month-list{max-height:438px;overflow:auto;padding-right:5px}#portal-root .p-assist-month-event{display:flex;align-items:flex-start;gap:12px;padding:13px 0;border-bottom:1px solid #e8eddf}#portal-root .p-assist-month-event:first-child{padding-top:0}#portal-root .p-assist-month-event:last-child{border:0;padding-bottom:0}#portal-root .p-assist-month-event .p-event-date{width:38px;padding:7px 4px;margin-top:2px}#portal-root .p-assist-month-event .p-event-date b{font-size:1.4rem}#portal-root .p-assist-month-event .p-event-mini-content>button{border:0;background:none;padding:0;text-align:left;color:#31563b;font-family:PromesaSerif,Georgia,serif;font-size:1.12rem;line-height:1.25;margin-bottom:8px}#portal-root .p-assist-month-event .p-event-mini-content>p{font-size:.61rem;line-height:1.6;margin-bottom:5px}#portal-root .p-assist-month-event .p-btn{font-size:.61rem;padding:6px 9px}#portal-root .p-assist-month-event .p-row{margin-top:8px;gap:7px}#portal-root .p-assist-month-event .p-badge{font-size:.51rem}#portal-root .p-assist-preparation{color:#a0aa91;font-size:.54rem}#portal-root .p-assist-task-tabs{display:flex;gap:7px;margin:3px 0 14px}#portal-root .p-assist-task-tabs button,#portal-root .p-assist-fee-modal-tabs button{border:1px solid #dce7d0;background:#f6f8ef;border-radius:20px;padding:6px 10px;font-family:inherit;font-size:.6rem;color:#8b9e7c}#portal-root .p-assist-task-tabs button[aria-pressed=true],#portal-root .p-assist-fee-modal-tabs button[aria-pressed=true]{background:#e9f0db;border-color:#a9c28e;color:#466c3d}#portal-root .p-assist-task{display:flex;gap:12px;padding:15px 0;border-bottom:1px solid #e6ebde}#portal-root .p-assist-task:last-child{border:0}#portal-root .p-assist-task-check{width:21px;height:21px;border:1px solid #cbdabb;border-radius:6px;flex:none;background:#f8faf2;margin-top:2px;display:grid;place-items:center;color:#54783f;padding:2px}#portal-root .p-assist-task-check svg{width:14px;height:14px}#portal-root .p-assist-task-title{border:0;background:none;color:#496541;font-family:inherit;font-weight:700;font-size:.72rem;line-height:1.6;text-align:left;padding:0}#portal-root .p-assist-task>div{min-width:0}#portal-root .p-assist-task p{font-size:.58rem;color:#a0ac91;line-height:1.7;margin:6px 0 8px}#portal-root .p-assist-task.completed .p-assist-task-title{text-decoration:line-through;color:#8d9e7c}#portal-root .p-assist-task .p-badge{font-size:.49rem}#portal-root .p-assist-empty{display:flex;flex-direction:column;align-items:center;text-align:center;padding:22px 8px;gap:13px;color:#8b9f79}#portal-root .p-assist-empty svg{height:26px;width:26px;padding:5px;background:#ecf2e0;border-radius:8px}#portal-root .p-assist-empty b{font-size:.75rem;color:#67815a}#portal-root .p-assist-empty p{font-size:.65rem;line-height:1.75;color:#9fae92;max-width:280px}#portal-root .p-assist-mail{background:#f2f5e9}#portal-root .p-assist-icon{width:34px;height:34px;background:#e6edda;border-radius:9px;padding:8px;color:#8ba273}#portal-root .p-assist-icon svg{width:18px;height:18px}#portal-root .p-assist-mail-number{font-family:PromesaSerif,Georgia,serif;color:#43663e;font-size:2.4rem;display:flex;align-items:baseline;gap:13px;margin:8px 0 15px}#portal-root .p-assist-mail-number>span{font-family:PromesaSans,Arial,sans-serif;font-size:.68rem;color:#90a180}#portal-root .p-assist-mail-address{font-size:.73rem;font-weight:700;color:#5e7c50;overflow-wrap:anywhere;margin:10px 0}#portal-root .p-assist-mail>.p-muted{font-size:.65rem;line-height:1.8}#portal-root .p-assist-mail .p-actions{gap:8px}#portal-root .p-assist-fee-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) minmax(220px,1.7fr);gap:13px}#portal-root .p-assist-fee-stat{border:1px solid #dfe7d5;border-radius:11px;background:#f7f9f0;display:flex;flex-direction:column;gap:10px;padding:19px;text-align:left;font-family:inherit;color:#688358}#portal-root .p-assist-fee-stat>span{font-size:.64rem;line-height:1.5}#portal-root .p-assist-fee-stat>b{font-family:PromesaSerif,Georgia,serif;font-size:2.3rem;line-height:1.1;font-weight:400}#portal-root .p-assist-fee-stat small{font-size:.54rem;opacity:.8}#portal-root .p-assist-fee-stat.rose{background:#faf1eb;color:#a57d64;border-color:#ecdcd0}#portal-root .p-assist-fee-stat.amber{background:#faf5e5;color:#a58c4a;border-color:#eadeb8}#portal-root .p-assist-fee-stat.gray{background:#f3f5ee;color:#93a084;border-color:#e0e5d9}#portal-root .p-assist-fee-balance{padding:17px 20px;border-left:1px solid #e1e8d7;display:grid;align-content:center;gap:9px}#portal-root .p-assist-fee-balance>span{font-size:.62rem;color:#8d9f7d}#portal-root .p-assist-fee-balance>b{font-family:PromesaSerif,Georgia,serif;font-size:1.9rem;font-weight:400;color:#456c3c}#portal-root .p-assist-fee-balance>small{font-size:.59rem;line-height:1.7;color:#9aa98b}#portal-root .p-assist-date{display:grid;gap:6px;font-size:.59rem;color:#8ea17d}#portal-root .p-assist-date>input{padding:8px 10px;border:1px solid #dbe4d0;border-radius:8px;font-family:inherit;font-size:.72rem;background:#f9fbf3;color:#57764a}#portal-root .p-assist-class-head,#portal-root .p-assist-class-row{display:grid;grid-template-columns:minmax(180px,1.25fr) minmax(210px,1.45fr) minmax(180px,1.4fr) minmax(120px,.9fr);gap:23px;align-items:center}#portal-root .p-assist-class-head{font-size:.55rem;text-transform:uppercase;letter-spacing:.06em;color:#a2ae95;padding:4px 0 13px;border-bottom:1px solid #e1e7d8}#portal-root .p-assist-class-row{padding:21px 0;border-bottom:1px solid #e9eedf}#portal-root .p-assist-class-row:last-child{border:0;padding-bottom:0}#portal-root .p-assist-class-row h3{font-size:1.26rem;line-height:1.2;margin:0 0 9px}#portal-root .p-assist-class-row p{font-size:.61rem;line-height:1.75;color:#8ea07e;margin:0 0 6px}#portal-root .p-assist-class-row small{font-size:.55rem;line-height:1.65;color:#a5b295}#portal-root .p-assist-class-actions{display:flex;flex-direction:column;align-items:flex-end;gap:7px}#portal-root .p-assist-class-actions .p-btn{font-size:.62rem;padding:7px 10px}#portal-root .p-assist-attendance-counts{display:flex;gap:6px 12px;flex-wrap:wrap;font-size:.59rem;line-height:1.7;color:#a2ae94}#portal-root .p-assist-attendance-counts .present{color:#618543;font-weight:700}#portal-root .p-assist-attendance-bar{background:#e8eedd;border-radius:20px;height:5px;display:flex;overflow:hidden;margin:11px 0 12px}#portal-root .p-assist-attendance-bar i.present{background:#8eb264}#portal-root .p-assist-attendance-bar i.absent{background:#c9987c}#portal-root .p-assist-attendance-bar i.justified{background:#d7be73}#portal-root .p-assist-attendance .p-btn{font-size:.58rem;padding:5px 8px}#portal-root .p-assist-class-schedule>b{font-size:.68rem;color:#6b875a;display:block;margin-bottom:8px}#portal-root .p-assist-footnote{margin:19px 0 0;font-size:.6rem;line-height:1.75;color:#a3b193}#portal-root .p-assist-benefit-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:32px}#portal-root .p-assist-benefit-grid h3{font-size:1.28rem;margin:0 0 17px;color:#6b865a}#portal-root .p-assist-resource{border-bottom:1px solid #e9eedf;padding:13px 0}#portal-root .p-assist-resource:first-of-type{padding-top:0}#portal-root .p-assist-resource:last-child{border:0}#portal-root .p-assist-resource>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:13px}#portal-root .p-assist-resource b{font-size:.73rem;color:#638154}#portal-root .p-assist-resource button{border:0;background:none;color:#88a272;padding:3px}#portal-root .p-assist-resource button svg{width:15px;height:15px}#portal-root .p-assist-resource p{font-size:.6rem;color:#9ba98b;margin:8px 0;line-height:1.6}#portal-root .p-assist-resource .p-meter{margin-top:9px}#portal-root .p-assist-delivery-total{display:flex;align-items:center;gap:16px;padding:1px 0 20px}#portal-root .p-assist-delivery-total>b{font-family:PromesaSerif,Georgia,serif;font-weight:400;font-size:2.55rem;color:#6c8b55}#portal-root .p-assist-delivery-total>span{font-size:.72rem;line-height:1.7;color:#789365}#portal-root .p-assist-delivery-total small{font-size:.58rem;color:#a7b597}#portal-root .p-assist-delivery-item{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:13px 0;border-top:1px solid #e5ecd9}#portal-root .p-assist-delivery-item b{font-size:.74rem;color:#6f895d}#portal-root .p-assist-delivery-item p{font-size:.59rem;color:#a7b595;margin:6px 0 0}#portal-root .p-assist-delivery-item>span{font-size:.7rem;color:#8c9f7a}#portal-root .p-assist-fee-modal-tabs{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:20px}
@media(max-width:1350px){#portal-root .p-assist-agenda-body{grid-template-columns:150px minmax(0,1fr);gap:19px}#portal-root .p-assist-main-grid{grid-template-columns:minmax(0,1.7fr) minmax(275px,1fr);gap:19px}#portal-root .p-assist-class-head,#portal-root .p-assist-class-row{gap:18px;grid-template-columns:minmax(150px,1fr) minmax(185px,1.2fr) minmax(155px,1.15fr) 105px}#portal-root .p-assist-fee-grid{grid-template-columns:repeat(4,minmax(0,1fr))}#portal-root .p-assist-fee-balance{grid-column:1/-1;border-left:0;border-top:1px solid #e1e8d7;display:flex;align-items:center;flex-wrap:wrap;gap:15px;padding:15px 0 0}#portal-root .p-assist-fee-balance small{flex:1}}
@media(max-width:1100px){#portal-root .p-assist-main-grid{grid-template-columns:1fr}#portal-root .p-assist-agenda-body{grid-template-columns:210px minmax(0,1fr)}#portal-root .p-assist-side{grid-template-columns:1fr 1fr;align-items:start}#portal-root .p-assist-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}#portal-root .p-assist-class-head{display:none}#portal-root .p-assist-class-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px 22px}#portal-root .p-assist-class-actions{flex-direction:row;justify-content:flex-end;align-items:center}}
@media(max-width:760px){#portal-root .p-assist-overview{gap:17px}#portal-root .p-assist-heading{align-items:flex-start;flex-direction:column;gap:18px}#portal-root .p-assist-heading h1{font-size:1.85rem}#portal-root .p-assist-heading p{font-size:.72rem}#portal-root .p-assist-month-control{align-self:stretch;justify-content:space-between;padding:9px}#portal-root .p-assist-kpis .p-kpi-value{font-size:2.25rem}#portal-root .p-assist-kpis .amount{font-size:1.55rem}#portal-root .p-assist-agenda-body{grid-template-columns:1fr;gap:19px}#portal-root .p-assist-calendar>button{min-height:39px;font-size:.71rem}#portal-root .p-assist-month-list{max-height:385px}#portal-root .p-assist-side{grid-template-columns:1fr;gap:17px}#portal-root .p-assist-fee-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#portal-root .p-assist-fee-stat{padding:15px}#portal-root .p-assist-fee-stat>b{font-size:2rem}#portal-root .p-assist-fee-balance{display:grid;gap:10px}#portal-root .p-assist-class-row{grid-template-columns:1fr;padding:20px 0;gap:15px}#portal-root .p-assist-class-actions{justify-content:flex-start}#portal-root .p-assist-benefit-grid{grid-template-columns:1fr;gap:22px}#portal-root .p-assist-month-event{gap:10px}#portal-root .p-assist-month-event .p-event-mini-content>button{font-size:1.12rem}#portal-root .p-assist-heading .p-eyebrow{font-size:.59rem}#portal-root .p-assist-main-grid{gap:17px}}

#portal-root #portal-payment-month-wrap[hidden],#portal-root #portal-payment-year-wrap[hidden]{display:none!important}

#portal-root .p-assist-workflows{margin-top:18px;border-top:1px solid #e5ebda;padding-top:19px}#portal-root .p-assist-workflow{display:flex;align-items:center;gap:11px;padding:11px 0}#portal-root .p-assist-workflow>div{flex:1;min-width:0}#portal-root .p-assist-workflow b{font-size:.69rem;color:#6e875c;line-height:1.6}#portal-root .p-assist-workflow p{font-size:.56rem;color:#9baa8c;line-height:1.65;margin-top:4px}

/* Calendarios docentes conectados dentro de cada sucursal. */
#portal-root .p-team-calendars{margin-bottom:18px}
#portal-root .p-team-calendar-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#portal-root .p-team-calendar{min-width:0;display:flex;gap:12px;align-items:center;text-align:left;padding:14px;border:1px solid #dce5d5;border-radius:11px;background:#fffef8;color:#294b35;transition:background .18s,border-color .18s}
#portal-root .p-team-calendar:hover,#portal-root .p-team-calendar.selected{background:#edf4e7;border-color:#93b47c}
#portal-root .p-team-calendar>span:nth-child(2){min-width:0;flex:1}
#portal-root .p-team-calendar b,#portal-root .p-team-calendar small,#portal-root .p-team-calendar em{display:block;overflow-wrap:anywhere}
#portal-root .p-team-calendar b{font-size:.77rem;line-height:1.4}
#portal-root .p-team-calendar small{font-size:.7rem;margin-top:3px;color:#718277}
#portal-root .p-team-calendar em{font-size:.64rem;margin-top:8px;color:#527348;font-style:normal}
#portal-root .p-calendar-scope{padding:12px 16px;margin:0 0 18px;border-left:3px solid #8daf77;background:#edf3e7;border-radius:0 9px 9px 0}
#portal-root .p-calendar-scope b{font-size:.81rem}
#portal-root .p-calendar-scope p{margin-top:5px;font-size:.72rem;color:#617553;line-height:1.55}
#portal-root .p-event-coordination{grid-column:1/-1;display:grid;gap:15px;padding:19px;border:1px solid #dce5d3;border-radius:12px;background:#f4f7ee}
#portal-root .p-event-coordination h3,#portal-root .p-event-coordination-detail h3{font-size:1.23rem}
#portal-root .p-event-coordination .p-muted{font-size:.74rem}
#portal-root .p-calendar-teacher-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
#portal-root .p-calendar-teacher-options[hidden]{display:none!important}
#portal-root .p-calendar-teacher-options .p-check{border:1px solid #dce5d3;border-radius:8px;background:#fffef8;padding:12px;align-items:flex-start}
#portal-root .p-calendar-teacher-options .p-check span{min-width:0;overflow-wrap:anywhere}
#portal-root .p-calendar-teacher-options small{display:block;color:#718277;font-size:.69rem;margin-top:3px}
#portal-root .p-event-coordination-detail{display:grid;gap:12px;padding:18px;border:1px solid #dce5d3;background:#f4f7ee;border-radius:12px;margin:0 0 23px}
#portal-root .p-calendar-recipient-tags .p-badge{white-space:normal;overflow-wrap:anywhere}
#portal-root .p-calendar-instructions{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.82rem;line-height:1.7;color:#294b35}
#portal-root .p-calendar-assignment{display:block;font-size:.58rem;font-weight:700;color:#2f6680;line-height:1.3;margin-top:4px}
@media(max-width:1100px){#portal-root .p-team-calendar-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){#portal-root .p-team-calendar-grid,#portal-root .p-calendar-teacher-options{grid-template-columns:1fr}#portal-root .p-team-calendars .p-card-head{flex-wrap:wrap}#portal-root .p-event-coordination,#portal-root .p-event-coordination-detail{padding:14px}#portal-root .p-calendar-assignment{font-size:.48rem}}

#portal-root .p-roster-notice{display:flex;gap:15px;justify-content:space-between;align-items:center;border:1px solid #d8e4ce;background:#edf3e7;border-radius:12px;padding:16px 20px;margin-bottom:18px}
#portal-root .p-roster-notice b{font-size:.87rem;color:#315638}
#portal-root .p-roster-notice p{font-size:.74rem;line-height:1.6;color:#617553;margin-top:6px}
#portal-root .p-roster-pagination{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap;border-top:1px solid #e1e7d9;padding-top:16px;margin-top:12px}
#portal-root .p-roster-pagination p{font-size:.74rem;color:#718277}
#portal-root .p-roster-table{min-width:1080px}
#portal-root .p-assist-fee-stat.unconfirmed{color:#687767;background:#f2f3ee}
#portal-root .p-assist-fee-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
#portal-root .p-assist-fee-balance{grid-column:1/-1;border-left:0;border-top:1px solid #e1e8d7;display:flex;align-items:center;flex-wrap:wrap;gap:15px;padding:15px 0 0}
#portal-root .p-assist-fee-balance small{flex:1}
@media(max-width:1100px){#portal-root .p-assist-fee-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){#portal-root .p-assist-fee-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#portal-root .p-assist-fee-balance{display:grid;gap:10px}}
@media(max-width:650px){#portal-root .p-roster-notice{align-items:flex-start;flex-direction:column;padding:15px}#portal-root .p-roster-pagination .p-actions{width:100%;justify-content:flex-end}}

#portal-root .p-sponsorship-panel{margin-bottom:18px}
#portal-root .p-assist-overview>.p-sponsorship-panel{margin-bottom:0}
#portal-root .p-sponsorship-panel .p-card-head{flex-wrap:wrap}
#portal-root .p-sponsorship-panel .p-card-head h2{margin-top:5px}
#portal-root .p-sponsorship-panel .p-assist-eyebrow{font-size:.63rem}
#portal-root .p-sponsorship-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
#portal-root .p-sponsorship-stat{min-width:0;display:grid;gap:10px;text-align:left;border:1px solid #dbe5d2;border-radius:12px;padding:17px;background:#f6f8f0;color:#315638;transition:border-color .18s,background .18s}
#portal-root .p-sponsorship-stat>span{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:.76rem;font-weight:700}
#portal-root .p-sponsorship-stat>span svg{width:17px;height:17px}
#portal-root .p-sponsorship-stat strong{font-family:PromesaSerif,Georgia,serif;font-size:2rem;font-weight:400;line-height:1.1}
#portal-root .p-sponsorship-stat small{font-size:.67rem;line-height:1.4;color:#718277}
#portal-root .p-sponsorship-stat.amber{background:#fff8e9;border-color:#eedeba;color:#8a6b34}
#portal-root .p-sponsorship-stat.gray{background:#f2f3ef;color:#687767}
#portal-root .p-sponsorship-stat:hover,#portal-root .p-sponsorship-stat.selected{border-color:#719c5d;box-shadow:inset 0 0 0 1px #719c5d;background:#eaf2e2}
#portal-root .p-sponsorship-stat.selected small{color:#315638;font-weight:700}
#portal-root .p-sponsorship-note{margin-top:14px;font-size:.69rem;line-height:1.65;color:#718277}
#portal-root .p-sponsorship-active{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:13px 16px;background:#edf3e7;border:1px solid #d8e4ce;border-radius:10px;margin:0 0 16px}
#portal-root .p-sponsorship-active b,#portal-root .p-sponsorship-active span{display:block;font-size:.76rem;overflow-wrap:anywhere}
#portal-root .p-sponsorship-active span{font-size:.71rem;margin-top:4px;color:#617553}
@media(max-width:1000px){#portal-root .p-sponsorship-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:500px){#portal-root .p-sponsorship-cards{gap:9px}#portal-root .p-sponsorship-stat{padding:13px;gap:8px}#portal-root .p-sponsorship-stat>span{font-size:.69rem}#portal-root .p-sponsorship-stat strong{font-size:1.7rem}}

:is(#portal-root,#portal-dialog) .att-toolbar{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:0 0 22px}
:is(#portal-root,#portal-dialog) .att-filter{margin-bottom:18px;padding:20px}:is(#portal-root,#portal-dialog) .att-notice{margin-bottom:20px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
:is(#portal-root,#portal-dialog) .att-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-bottom:20px}:is(#portal-root,#portal-dialog) .att-kpi{padding:22px}:is(#portal-root,#portal-dialog) .att-kpi span{font-size:.73rem;color:#6a7d65}:is(#portal-root,#portal-dialog) .att-kpi strong{display:block;font-size:2.15rem;color:#32523a;letter-spacing:-.06em;margin:8px 0}:is(#portal-root,#portal-dialog) .att-kpi small{color:#7b8676;font-size:.65rem;line-height:1.5;display:block}
:is(#portal-root,#portal-dialog) .att-chart-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:20px;margin-bottom:20px}:is(#portal-root,#portal-dialog) .att-chart-scroll{overflow-x:auto}:is(#portal-root,#portal-dialog) .att-bars{display:flex;gap:10px;min-height:215px;align-items:end;padding:10px 0;border-bottom:1px solid #dfe5d7}:is(#portal-root,#portal-dialog) .att-bars button{background:none;border:0;display:flex;flex:1;min-width:32px;flex-direction:column;gap:8px;align-items:center;color:#657760;cursor:pointer}:is(#portal-root,#portal-dialog) .att-bars button:hover{background:#f4f7ed;border-radius:8px}:is(#portal-root,#portal-dialog) .att-bars strong{font-size:.65rem}:is(#portal-root,#portal-dialog) .att-bars small{font-size:.64rem}:is(#portal-root,#portal-dialog) .att-bar-track{height:155px;width:100%;max-width:38px;display:flex;flex-direction:column-reverse;justify-content:start;border-radius:6px;overflow:hidden;background:#f5f6f1}:is(#portal-root,#portal-dialog) .att-bar-track span{flex-shrink:0;width:100%}
:is(#portal-root,#portal-dialog) .att-color-0{background:#59834b}:is(#portal-root,#portal-dialog) .att-color-1{background:#cf9277}:is(#portal-root,#portal-dialog) .att-color-2{background:#d5b76e}:is(#portal-root,#portal-dialog) .att-color-3{background:#d7ded1}:is(#portal-root,#portal-dialog) .att-legend{display:flex;gap:16px;flex-wrap:wrap;font-size:.64rem;color:#73806d;margin-top:18px}:is(#portal-root,#portal-dialog) .att-legend i,:is(#portal-root,#portal-dialog) .att-dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:6px}
:is(#portal-root,#portal-dialog) .att-balance{display:flex;align-items:center;gap:22px;flex-wrap:wrap;padding:18px 0}:is(#portal-root,#portal-dialog) .att-donut{width:148px;height:148px;border-radius:50%;display:grid;place-items:center}:is(#portal-root,#portal-dialog) .att-donut>div{width:115px;height:115px;background:#fffef9;border-radius:50%;display:grid;align-content:center;text-align:center}:is(#portal-root,#portal-dialog) .att-donut strong{font-size:2rem;letter-spacing:-.06em;color:#36553d}:is(#portal-root,#portal-dialog) .att-donut span{font-size:.7rem;color:#8b9483}:is(#portal-root,#portal-dialog) .att-balance p{font-size:.73rem;color:#708069;margin-bottom:16px}:is(#portal-root,#portal-dialog) .att-balance b{margin-left:18px;color:#36553d}
:is(#portal-root,#portal-dialog) .att-aulas,:is(#portal-root,#portal-dialog) .att-calendar-card{margin-bottom:20px}:is(#portal-root,#portal-dialog) .att-aula-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}:is(#portal-root,#portal-dialog) .att-aula-grid article{border:1px solid #e0e7d7;border-radius:14px;padding:18px;background:#fafbf6}:is(#portal-root,#portal-dialog) .att-aula-grid article b{font-size:.8rem}:is(#portal-root,#portal-dialog) .att-aula-grid article strong{color:#496b42;font-size:1.35rem}:is(#portal-root,#portal-dialog) .att-aula-grid small,:is(#portal-root,#portal-dialog) .att-aula-grid p{display:block;color:#7a8770;font-size:.66rem;margin:9px 0;line-height:1.5}:is(#portal-root,#portal-dialog) .att-stack{display:flex;overflow:hidden;border-radius:8px;height:8px;background:#e9ede3;margin:12px 0}:is(#portal-root,#portal-dialog) .att-stack span{height:100%}
:is(#portal-root,#portal-dialog) .att-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}:is(#portal-root,#portal-dialog) .att-calendar>span{font-size:.64rem;text-align:center;color:#839078;padding:8px}:is(#portal-root,#portal-dialog) .att-day{border:1px solid #e1e6d9;border-radius:10px;text-align:left;padding:12px;background:#fafbf7;min-height:95px;cursor:pointer;color:#6b7c62}:is(#portal-root,#portal-dialog) .att-day:hover{border-color:#5f8252;box-shadow:0 2px 12px #35503315}:is(#portal-root,#portal-dialog) .att-day b{font-size:.76rem}:is(#portal-root,#portal-dialog) .att-day strong{display:block;font-size:1.1rem;margin:7px 0}:is(#portal-root,#portal-dialog) .att-day small{display:block;font-size:.6rem}:is(#portal-root,#portal-dialog) .att-day.good{background:#edf4e7;border-color:#c5d8b6;color:#45653d}:is(#portal-root,#portal-dialog) .att-day.medium{background:#faf4df;border-color:#e3d2a0}:is(#portal-root,#portal-dialog) .att-day.low{background:#f8eae1;border-color:#e4c3ad}
:is(#portal-root,#portal-dialog) .att-participant-list{max-height:520px;overflow:auto;margin-top:16px}:is(#portal-root,#portal-dialog) .att-participant-list article{display:flex;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid #e6ebdf}:is(#portal-root,#portal-dialog) .att-participant-list article>div{flex:1;min-width:0}:is(#portal-root,#portal-dialog) .att-participant-list b{font-size:.75rem}:is(#portal-root,#portal-dialog) .att-participant-list small{display:block;font-size:.61rem;color:#859078;margin-top:5px}:is(#portal-root,#portal-dialog) .att-participant-list strong{font-size:1rem;color:#456c3c}:is(#portal-root,#portal-dialog) .att-participant-list .att-stack{max-width:210px;margin-bottom:0}:is(#portal-root,#portal-dialog) .att-person-filters .p-input{min-width:0;max-width:100%}
:is(#portal-root,#portal-dialog) .att-follow-count{display:flex;gap:18px;align-items:center;padding:24px;background:#f6f2e6;border-radius:13px;margin-bottom:20px}:is(#portal-root,#portal-dialog) .att-follow-count strong{font-size:2.5rem;color:#9b7950}:is(#portal-root,#portal-dialog) .att-follow-count span{font-size:.76rem;line-height:1.6;color:#8d7e62}:is(#portal-root,#portal-dialog) .att-pending-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 0;border-bottom:1px solid #e3e9dc}:is(#portal-root,#portal-dialog) .att-pending-row b{font-size:.75rem}:is(#portal-root,#portal-dialog) .att-pending-row small{display:block;font-size:.65rem;color:#859078;margin-top:6px;line-height:1.65}:is(#portal-root,#portal-dialog) .att-footnote{font-size:.67rem;line-height:1.8;color:#839077;margin-top:16px}
:is(#portal-root,#portal-dialog) .att-chart-empty{height:220px;position:relative;display:grid;place-items:center;text-align:center;color:#839077;font-size:.75rem;padding:20px}:is(#portal-root,#portal-dialog) .att-empty-bars{position:absolute;bottom:0;inset-inline:0;height:140px;display:flex;align-items:end;justify-content:space-around;z-index:0;opacity:.22}:is(#portal-root,#portal-dialog) .att-empty-bars i{width:7%;background:#b7c7a8;border-radius:6px 6px 0 0}
.att-person-summary{text-align:center;padding:25px}.att-person-summary>strong{font-size:3rem;color:#476d3e}.att-person-summary p{font-size:.75rem;color:#75846b}.att-detail-days{max-height:420px;overflow:auto;margin-top:20px}.att-detail-days>div{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:14px 0;border-bottom:1px solid #e4eadc;font-size:.75rem}.att-detail-days small{color:#839077;flex:1}.att-note-input{width:100%;min-width:150px;border:1px solid #dce5d1;border-radius:8px;padding:9px;font:inherit;font-size:.7rem;background:#fffef9}
@media(max-width:1150px){:is(#portal-root,#portal-dialog) .att-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}:is(#portal-root,#portal-dialog) .att-chart-grid{grid-template-columns:1fr}:is(#portal-root,#portal-dialog) .att-aula-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){:is(#portal-root,#portal-dialog) .att-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}:is(#portal-root,#portal-dialog) .att-kpi{padding:16px}:is(#portal-root,#portal-dialog) .att-kpi strong{font-size:1.8rem}:is(#portal-root,#portal-dialog) .att-aula-grid{grid-template-columns:1fr}:is(#portal-root,#portal-dialog) .att-calendar{gap:4px}:is(#portal-root,#portal-dialog) .att-day{padding:7px;min-height:76px}:is(#portal-root,#portal-dialog) .att-day small{font-size:.48rem}:is(#portal-root,#portal-dialog) .att-day strong{font-size:.85rem}}

:is(#portal-root,#portal-dialog) .dist-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-bottom:22px}
:is(#portal-root,#portal-dialog) .dist-intro{background:#edf3e6;border:1px solid #dbe5ce;border-radius:18px;padding:30px;display:flex;justify-content:space-between;gap:25px;margin-bottom:22px}.dist-intro h2{font-size:1.8rem;color:#395d3b;margin:10px 0}.dist-intro p{max-width:650px;font-size:.83rem;line-height:1.8;color:#77856c}.dist-intro>svg{width:80px;height:80px;flex-shrink:0;color:#8ca47c}
:is(#portal-root,#portal-dialog) .dist-template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}:is(#portal-root,#portal-dialog) .dist-template{display:flex;flex-direction:column;gap:14px;padding:25px}.dist-template h2{font-size:1.2rem}.dist-template>p{font-size:.76rem;color:#7c8973;line-height:1.7;min-height:42px}.dist-template>small{font-size:.62rem;color:#88917d}.dist-template-icon{width:48px;height:48px;border-radius:14px;background:#edf3e5;display:grid;place-items:center;color:#648253}.dist-template-icon svg{width:25px;height:25px}.dist-template-items{display:grid;gap:8px;flex:1;margin-bottom:10px}.dist-template-items span{padding:8px 10px;background:#f6f8f0;border-radius:7px;font-size:.7rem;color:#748468}.dist-template .p-actions{margin-top:auto}
:is(#portal-root,#portal-dialog) .dist-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:22px}.dist-stats article{padding:23px}.dist-stats span{font-size:.73rem;color:#6b7c61}.dist-stats strong{display:block;font-size:2.25rem;letter-spacing:-.06em;color:#45673f;margin:10px 0}.dist-stats small{font-size:.61rem;color:#88927e}
:is(#portal-root,#portal-dialog) .dist-campaign-list article{display:flex;align-items:center;gap:20px;padding:22px 0;border-top:1px solid #e3e9da}.dist-campaign-symbol{width:52px;height:52px;background:#f0f4e7;border-radius:15px;display:grid;place-items:center;color:#6d8c59;flex-shrink:0}.dist-campaign-symbol svg{width:25px;height:25px}.dist-campaign-text{flex:1;min-width:0}.dist-campaign-text h3{font-size:.95rem}.dist-campaign-text p{font-size:.72rem;color:#7e8974;line-height:1.8}.dist-campaign-text small{font-size:.63rem;color:#809174}.dist-progress{height:7px;background:#e9eddf;border-radius:8px;overflow:hidden;margin:12px 0;max-width:450px}.dist-progress i{display:block;background:#7a9b63;height:100%;border-radius:8px}
:is(#portal-root,#portal-dialog) .dist-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:25px;margin-top:30px;padding:20px}.dist-steps>div>span{font-size:.75rem;color:#81986b;background:#ecf1e4;border-radius:50%;height:30px;width:30px;display:grid;place-items:center;margin-bottom:14px}.dist-steps h3{font-size:.84rem}.dist-steps p{font-size:.72rem;color:#859079;line-height:1.8;margin-top:8px}
:is(#portal-root,#portal-dialog) .dist-campaign-heading{margin-bottom:20px}.dist-campaign-heading h2{margin:18px 0 8px;font-size:1.5rem;color:#3c5c3e}.dist-campaign-heading p{font-size:.76rem;color:#7a886f}.dist-inline-counts{display:flex;gap:28px;flex-wrap:wrap;padding-top:22px;margin-top:20px;border-top:1px solid #e2e8d8}.dist-inline-counts span{font-size:.7rem;color:#819174}.dist-inline-counts b{font-size:1.45rem;color:#507347;margin-right:8px}.dist-table .p-badge{white-space:nowrap}.dist-table th:nth-child(1){min-width:230px}
:is(#portal-root,#portal-dialog) .dist-note{margin:20px 0;font-size:.7rem;line-height:1.8;color:#7b8a6e}.dist-group-options{display:flex;flex-wrap:wrap;gap:13px;margin-top:18px}.dist-group-options .p-check{background:#f3f6eb;border:1px solid #dce5cd;padding:13px;border-radius:10px}
:is(#portal-root,#portal-dialog) .dist-product-head,:is(#portal-root,#portal-dialog) .dist-product-row{display:grid;grid-template-columns:minmax(100px,1fr) minmax(80px,.5fr) 110px;gap:16px;align-items:center;padding:13px 0;border-bottom:1px solid #e0e7d6}.dist-product-head{font-size:.65rem;text-transform:uppercase;letter-spacing:.08em;color:#8a967e}.dist-product-row b{font-size:.79rem}.dist-product-row>span{font-size:.74rem;color:#809072}.dist-product-row input{width:100%;min-width:0}
:is(#portal-root,#portal-dialog) .dist-signature{display:block;width:100%;height:auto;max-height:220px;aspect-ratio:18/5;touch-action:none;background:#fff;border:1px dashed #9fb58a;border-radius:13px;margin-top:15px;cursor:crosshair}.dist-evidence{padding:22px;background:#f5f7ef;border:1px solid #e0e7d7;border-radius:13px;margin-top:25px}.dist-evidence h3{font-size:.9rem}.dist-evidence p{font-size:.7rem;margin:10px 0 16px;line-height:1.8}.dist-photo-preview{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}.dist-photo-preview>div{width:calc(33.33% - 8px);min-width:130px}.dist-photo-preview img{width:100%;height:135px;object-fit:contain;background:#fff;border:1px solid #dce4d0;border-radius:8px;display:block;margin-bottom:7px}.dist-camera{padding-top:20px}.dist-camera[hidden]{display:none}.dist-camera video{max-height:320px;max-width:100%;background:#1f3124;border-radius:10px;display:block;margin-bottom:12px}.dist-history>div{padding:13px 0;border-bottom:1px solid #e5eadc;font-size:.72rem}.dist-history span{display:block;color:#829174;margin-top:5px}.dist-print-frame{position:fixed;width:1px;height:1px;left:-10000px;top:0;border:0}
@media(max-width:1100px){:is(#portal-root,#portal-dialog) .dist-template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){:is(#portal-root,#portal-dialog) .dist-template-grid{grid-template-columns:1fr}:is(#portal-root,#portal-dialog) .dist-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}:is(#portal-root,#portal-dialog) .dist-steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:10px}.dist-intro>svg{display:none}.dist-intro h2{font-size:1.4rem}.dist-inline-counts{gap:15px}.dist-campaign-list article{gap:10px}.dist-campaign-symbol{display:none}.dist-product-row,.dist-product-head{grid-template-columns:1fr 65px 80px;gap:9px}.dist-evidence{padding:15px}}

/* Local photo recovery, scoped to the classroom editor. */
.fp-recovery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px;max-height:360px;overflow:auto;padding:12px 0}.fp-recovery-grid article{padding:10px;border:1px solid #dce5cd;border-radius:10px;background:#fff}.fp-recovery-grid img{width:100%;height:110px;object-fit:contain}.fp-recovery-grid p{font-size:.7rem;overflow-wrap:anywhere;margin:8px 0}.fp-slot-bottom{flex-wrap:wrap}

.p-teaching-groups{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:20px 22px;margin:0 0 24px;border:1px solid #dbe3d3;border-radius:18px;background:#fbfcf8}.p-teaching-groups strong{font-size:.86rem;color:#344c32}.p-teaching-groups p{font-size:.72rem;color:#697568;margin:5px 0 0}.p-teaching-groups .p-actions{flex-wrap:wrap}.p-teaching-groups .p-btn span{padding:2px 7px;border-radius:20px;background:rgba(100,130,80,.12)}.p-teaching-groups .p-btn.primary span{background:rgba(255,255,255,.18)}

.teacher-groups{margin:24px 0 28px}.teacher-group-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px}.teacher-group-card{padding:24px;border:1px solid #dbe4d5;border-radius:22px;background:linear-gradient(155deg,#fff,#f7f9f2);box-shadow:0 6px 22px #31452e08}.teacher-group-card.selected{border-color:#5c8050;box-shadow:0 0 0 2px #5c805018}.teacher-group-number{font-size:.75rem;color:#6e805f;letter-spacing:.15em}.teacher-group-card h3{font-size:1.35rem;margin:20px 0 10px}.teacher-group-total{font-size:2.8rem;line-height:1.1;color:#39552f;font-weight:600}.teacher-group-total span{display:block;font-size:.73rem;font-weight:400;color:#697364;margin-top:5px}.teacher-group-stats{display:flex;gap:14px;margin:20px 0;padding-bottom:18px;border-bottom:1px solid #e3e8de}.teacher-group-stats span{font-size:.65rem;color:#64705e}.teacher-group-stats b{display:block;font-size:1.1rem;color:#354b2f;margin-bottom:5px}.teacher-group-detail{min-height:112px}.teacher-group-detail b{font-size:.71rem}.teacher-group-detail p{font-size:.72rem;color:#687360;margin:5px 0 14px}.teacher-attention>a,.teacher-attention>button{display:flex;align-items:center;gap:18px;padding:17px 0;border:0;border-bottom:1px solid #e5e9df;background:none;width:100%;text-align:left;color:inherit;text-decoration:none;cursor:pointer}.teacher-attention b{font-size:1.65rem;color:#536b40;min-width:35px}.teacher-attention span{font-size:.8rem;flex:1}.teacher-attention small{display:block;font-size:.67rem;color:#75806e;margin-top:5px}.teacher-attention svg{width:18px;height:18px}.teacher-team{margin-top:24px}.teacher-team summary{cursor:pointer;font-weight:600}.teacher-team p{margin:16px 0}.p-teaching-groups{position:relative}.p-teaching-groups .p-actions{gap:7px}@media(max-width:600px){.teacher-group-grid{grid-template-columns:1fr}.teacher-group-card{padding:20px}.p-teaching-groups{padding:16px}.p-teaching-groups .p-btn{font-size:.7rem}.teacher-group-detail{min-height:0}}

@media(max-width:640px){.p-roster-table,.p-roster-table tbody{display:block;width:100%}.p-roster-table thead{display:none}.p-roster-table tr{display:grid;grid-template-columns:1fr 1fr;border:1px solid #dce4d7;border-radius:16px;padding:14px;margin:12px 0;background:#fff}.p-roster-table td{display:block;border:0;padding:8px;font-size:.75rem;overflow-wrap:anywhere}.p-roster-table td:first-child,.p-roster-table td:last-child{grid-column:1/-1}.p-roster-table td:nth-child(2)::before{content:'Nacimiento / edad';display:block;color:#78816f;font-size:.65rem;margin-bottom:5px}.p-roster-table td:nth-child(3)::before{content:'Género';display:block;color:#78816f;font-size:.65rem;margin-bottom:5px}.p-roster-table td:nth-child(4)::before{content:'Patrocinio';display:block;color:#78816f;font-size:.65rem;margin-bottom:5px}.p-roster-table td:nth-child(5)::before{content:'País del patrocinador';display:block;color:#78816f;font-size:.65rem;margin-bottom:5px}.p-roster-table td:nth-child(6)::before{content:'Aula';display:block;color:#78816f;font-size:.65rem;margin-bottom:5px}.p-roster-table td:nth-child(7)::before{content:'Familiar / tutor';display:block;color:#78816f;font-size:.65rem;margin-bottom:5px}}

/* One visual language for statistics in every branch and workspace. */
:is(#portal-root,#portal-dialog){--st-ink:#294633;--st-muted:#5c6b58;--st-line:#dce5d6;--st-paper:#fffef9;--st-soft:#f0f4eb;--st-positive:#52794b;--st-negative:#b8755d;--st-partial:#668c9c;--st-attention:#b3974f;--st-neutral:#89967f;--st-unknown:#d6ddd0}
:is(#portal-root,#portal-dialog) .st-context{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 22px;margin-bottom:20px;border:1px solid var(--st-line);border-radius:14px;background:var(--st-soft)}
:is(#portal-root,#portal-dialog) .st-context-label{display:block;font-size:12px;color:var(--st-muted);margin-bottom:5px}
#portal-root .st-access{margin:0 0 16px;color:var(--st-muted);font-size:12px}
#portal-root .st-access>summary{cursor:pointer;padding:8px 0;min-height:36px}
#portal-root .st-access .p-scope-banner{margin:8px 0 16px}
:is(#portal-root,#portal-dialog) .st-context strong{display:block;font-size:14px;color:var(--st-ink)}
:is(#portal-root,#portal-dialog) .st-context strong span{margin:0 8px;color:var(--st-muted)}
:is(#portal-root,#portal-dialog) .st-context small{display:block;font-size:12px;color:var(--st-muted);margin-top:6px}
:is(#portal-root,#portal-dialog) .st-att-filters{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
:is(#portal-root,#portal-dialog) .st-att-filters .p-input{width:auto;min-width:140px;max-width:220px;font-size:13px}
#portal-root [data-module=asistencia] .p-scope-banner{margin-bottom:16px;padding:14px 20px}
#portal-root [data-module=asistencia] .p-teaching-groups{padding:16px 20px;margin-bottom:20px}
:is(#portal-root,#portal-dialog) .st-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:14px;margin:0 0 24px}
:is(#portal-root,#portal-dialog) .st-metric{min-width:0;display:flex;flex-direction:column;align-items:stretch;gap:10px;background:var(--st-paper);border:1px solid var(--st-line);border-radius:16px;padding:22px;text-align:left;color:var(--st-ink);font:inherit}
:is(#portal-root,#portal-dialog) .st-metric-label{display:flex;justify-content:space-between;gap:8px;font-size:13px;font-weight:600;line-height:1.5}
:is(#portal-root,#portal-dialog) .st-metric-label svg{width:16px;height:16px;flex:none;color:var(--st-muted)}
:is(#portal-root,#portal-dialog) .st-metric-value{font:500 clamp(24px,2.4vw,34px)/1.2 PromesaSans,Arial,sans-serif;letter-spacing:-.03em;font-variant-numeric:tabular-nums;margin:2px 0;overflow-wrap:anywhere}
:is(#portal-root,#portal-dialog) .st-metric small{font-size:12px;line-height:1.6;color:var(--st-muted)}
:is(#portal-root,#portal-dialog) .st-clickable{cursor:pointer;transition:background .15s,border-color .15s}
:is(#portal-root,#portal-dialog) .st-clickable:hover,:is(#portal-root,#portal-dialog) .st-clickable[aria-pressed=true]{background:var(--st-soft);border-color:var(--st-positive)}
:is(#portal-root,#portal-dialog) .st-clickable:focus-visible,:is(#portal-root,#portal-dialog) .st-data summary:focus-visible,:is(#portal-root,#portal-dialog) .st-expand summary:focus-visible{outline:3px solid #91af7b;outline-offset:3px}
:is(#portal-root,#portal-dialog) .st-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,1fr);gap:20px;margin-bottom:22px;align-items:start}
:is(#portal-root,#portal-dialog) .st-panel{min-width:0;padding:24px;margin-bottom:20px}
:is(#portal-root,#portal-dialog) .st-grid .st-panel{margin-bottom:0;height:100%}
:is(#portal-root,#portal-dialog) .st-panel h2{font-size:1.45rem;line-height:1.3}
:is(#portal-root,#portal-dialog) .st-panel .p-muted{font-size:13px;line-height:1.6;color:var(--st-muted);margin-top:7px}
:is(#portal-root,#portal-dialog) .st-segments{display:flex;height:14px;overflow:hidden;border-radius:5px;margin:18px 0 16px;background:var(--st-soft)}
:is(#portal-root,#portal-dialog) .st-segments span{height:100%;min-width:0}
:is(#portal-root,#portal-dialog) .st-fill-positive{background:var(--st-positive)}
:is(#portal-root,#portal-dialog) .st-fill-negative{background:var(--st-negative)}
:is(#portal-root,#portal-dialog) .st-fill-partial{background:var(--st-partial)}
:is(#portal-root,#portal-dialog) .st-fill-attention{background:var(--st-attention)}
:is(#portal-root,#portal-dialog) .st-fill-neutral{background:var(--st-neutral)}
:is(#portal-root,#portal-dialog) .st-fill-unknown{background:var(--st-unknown)}
:is(#portal-root,#portal-dialog) .st-breakdown{display:grid;gap:1px}
:is(#portal-root,#portal-dialog) .st-breakdown-row{display:grid;grid-template-columns:minmax(0,1fr) auto 62px;gap:12px;align-items:center;border:0;border-bottom:1px solid var(--st-line);background:none;padding:11px 0;text-align:left;color:var(--st-ink);font:inherit;width:100%;min-height:44px}
:is(#portal-root,#portal-dialog) button.st-breakdown-row{cursor:pointer}
:is(#portal-root,#portal-dialog) button.st-breakdown-row:hover{background:var(--st-soft)}
:is(#portal-root,#portal-dialog) .st-breakdown-row>span{display:flex;align-items:center;gap:9px;font-size:13px;line-height:1.5}
:is(#portal-root,#portal-dialog) .st-dot{display:inline-block;width:9px;height:9px;border-radius:50%;flex:none}
:is(#portal-root,#portal-dialog) .st-breakdown-row strong{font-size:16px;font-weight:600;font-variant-numeric:tabular-nums}
:is(#portal-root,#portal-dialog) .st-breakdown-row small{font-size:12px;text-align:right;color:var(--st-muted);font-variant-numeric:tabular-nums}
:is(#portal-root,#portal-dialog) .st-comparison{display:grid;gap:18px;margin:22px 0}
:is(#portal-root,#portal-dialog) .st-compare-row{display:grid;grid-template-columns:minmax(140px,1fr) minmax(80px,1.2fr) 82px;gap:18px;align-items:center}
:is(#portal-root,#portal-dialog) .st-compare-name{min-width:0}
:is(#portal-root,#portal-dialog) .st-compare-name>strong{font-size:14px;display:block;line-height:1.5}
:is(#portal-root,#portal-dialog) .st-compare-name small{display:block;font-size:12px;line-height:1.5;color:var(--st-muted);margin-top:7px}
:is(#portal-root,#portal-dialog) .st-compare-name .p-btn{white-space:normal;text-align:left}
:is(#portal-root,#portal-dialog) .st-compare-track{height:12px;background:var(--st-soft);border-radius:5px;overflow:hidden}
:is(#portal-root,#portal-dialog) .st-compare-track span{display:block;height:100%;transition:width .2s ease}
:is(#portal-root,#portal-dialog) .st-compare-value{font-size:16px;font-weight:600;font-variant-numeric:tabular-nums;text-align:right;line-height:1.5}
:is(#portal-root,#portal-dialog) .st-trend{width:100%;min-width:0;margin-top:10px}
:is(#portal-root,#portal-dialog) .st-trend-svg{width:100%;height:auto;display:block;overflow:visible}
:is(#portal-root,#portal-dialog) .st-trend-svg text{font:12px PromesaSans,Arial,sans-serif;fill:var(--st-muted)}
:is(#portal-root,#portal-dialog) .st-grid-line{stroke:var(--st-line);stroke-width:1}
:is(#portal-root,#portal-dialog) .st-trend-line{stroke:var(--st-positive);stroke-width:2.5;fill:none;stroke-linejoin:round}
:is(#portal-root,#portal-dialog) .st-trend-dot{fill:var(--st-positive)}
:is(#portal-root,#portal-dialog) .st-empty{display:grid;place-items:center;text-align:center;min-height:112px;padding:20px;color:var(--st-muted);font-size:13px;line-height:1.7;background:var(--st-soft);border-radius:10px}
:is(#portal-root,#portal-dialog) .st-data{margin:15px 0 20px;min-width:0}
:is(#portal-root,#portal-dialog) .st-data>summary{cursor:pointer;min-height:44px;padding:12px 0;color:var(--st-ink);font-size:13px;font-weight:600}
:is(#portal-root,#portal-dialog) .st-table th,:is(#portal-root,#portal-dialog) .st-table td{font-size:13px;line-height:1.6;padding:12px;white-space:normal;min-width:82px;font-variant-numeric:tabular-nums}
:is(#portal-root,#portal-dialog) .st-table th{color:var(--st-muted)}
:is(#portal-root,#portal-dialog) .st-expand{padding:0 22px;background:var(--st-paper);border:1px solid var(--st-line);border-radius:14px;margin-bottom:20px}
:is(#portal-root,#portal-dialog) .st-expand>summary{cursor:pointer;padding:18px 0;min-height:48px;color:var(--st-ink);font-size:14px;font-weight:600;line-height:1.5}
:is(#portal-root,#portal-dialog) .st-expand[open]>summary{margin-bottom:8px}
:is(#portal-root,#portal-dialog) .st-section{margin:24px 0}
:is(#portal-root,#portal-dialog) .st-section-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:0 0 15px;flex-wrap:wrap}
:is(#portal-root,#portal-dialog) .st-section-heading h2{font-size:1.5rem}
:is(#portal-root,#portal-dialog) .st-section-heading p{font-size:13px;color:var(--st-muted)}
:is(#portal-root,#portal-dialog) .st-period{display:flex;align-items:end;gap:12px;flex-wrap:wrap}
:is(#portal-root,#portal-dialog) .st-period label{display:grid;gap:6px;font-size:12px;color:var(--st-muted)}
:is(#portal-root,#portal-dialog) .st-period input{font-size:14px;min-height:42px}
:is(#portal-root,#portal-dialog) .att-day{min-height:85px}
:is(#portal-root,#portal-dialog) .att-day small{font-size:11px}
:is(#portal-root,#portal-dialog) .att-day strong{font-size:15px}
:is(#portal-root,#portal-dialog) .att-day.low,:is(#portal-root,#portal-dialog) .att-day.medium,:is(#portal-root,#portal-dialog) .att-day.good{background:var(--st-soft);color:var(--st-ink);border-color:var(--st-line)}
:is(#portal-root,#portal-dialog) .att-color-0{background:var(--st-positive)}
:is(#portal-root,#portal-dialog) .att-color-1{background:var(--st-negative)}
:is(#portal-root,#portal-dialog) .att-color-2{background:var(--st-partial)}
:is(#portal-root,#portal-dialog) .att-color-3{background:var(--st-unknown)}
#portal-root .p-assist-attendance-bar .present{background:var(--st-positive)}
#portal-root .p-assist-attendance-bar .absent{background:var(--st-negative)}
#portal-root .p-assist-attendance-bar .justified{background:var(--st-partial)}
#portal-root .teacher-group-card .teacher-group-stats span,#portal-root .teacher-group-detail p,#portal-root .p-assist-class-row small,#portal-root .att-participant-list small{font-size:12px;line-height:1.5;color:var(--st-muted)}
#portal-root .att-participant-list b,#portal-root .p-assist-class-row p{font-size:14px;color:var(--st-ink)}
#portal-root .p-kpi-note,#portal-root .p-assist-footnote,#portal-root .att-footnote{font-size:12px;line-height:1.7;color:var(--st-muted)}
@media(max-width:1100px){:is(#portal-root,#portal-dialog) .st-grid{grid-template-columns:1fr}:is(#portal-root,#portal-dialog) .st-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){:is(#portal-root,#portal-dialog) .st-context{align-items:stretch;flex-direction:column;padding:16px}:is(#portal-root,#portal-dialog) .st-metrics{gap:10px}:is(#portal-root,#portal-dialog) .st-metric{padding:16px}:is(#portal-root,#portal-dialog) .st-metric-value{font-size:25px}:is(#portal-root,#portal-dialog) .st-panel{padding:18px}:is(#portal-root,#portal-dialog) .st-compare-row{grid-template-columns:minmax(0,1fr) 76px;gap:9px}:is(#portal-root,#portal-dialog) .st-compare-name{grid-column:1/-1}:is(#portal-root,#portal-dialog) .st-compare-track{height:12px}:is(#portal-root,#portal-dialog) .st-expand{padding:0 14px}:is(#portal-root,#portal-dialog) .st-breakdown-row{gap:8px;grid-template-columns:minmax(0,1fr) auto 52px}:is(#portal-root,#portal-dialog) .st-period input{font-size:16px;width:100%}:is(#portal-root,#portal-dialog) .att-calendar{grid-template-columns:repeat(7,minmax(45px,1fr));overflow-x:auto}:is(#portal-root,#portal-dialog) .att-day small{font-size:11px}:is(#portal-root,#portal-dialog) .st-context .p-btn{align-self:flex-start}}
@media(max-width:380px){:is(#portal-root,#portal-dialog) .st-metrics{grid-template-columns:1fr}:is(#portal-root,#portal-dialog) .st-metric{gap:7px}}
@media(max-width:620px){#portal-root .p-teaching-groups{padding:14px;margin-bottom:20px;gap:10px}#portal-root .p-teaching-groups p{display:none}#portal-root .p-teaching-groups .p-actions{gap:6px}#portal-root .p-teaching-groups .p-btn{padding:10px 12px;min-height:42px}#portal-root .st-access>summary{min-height:44px}#portal-root .p-page-heading h1{font-size:1.8rem}}
@media(max-width:620px){:is(#portal-root,#portal-dialog) .st-table{display:block;min-width:0;width:100%}:is(#portal-root,#portal-dialog) .st-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}:is(#portal-root,#portal-dialog) .st-table tbody{display:block}:is(#portal-root,#portal-dialog) .st-table tr{display:block;border-bottom:1px solid var(--st-line);padding:10px 0}:is(#portal-root,#portal-dialog) .st-table td{display:grid;grid-template-columns:minmax(90px,.9fr) minmax(0,1.1fr);gap:12px;min-width:0;padding:8px 10px;border:0;overflow-wrap:anywhere}:is(#portal-root,#portal-dialog) .st-table td::before{content:attr(data-label);font-size:12px;color:var(--st-muted);font-weight:600}:is(#portal-root,#portal-dialog) .st-table td[colspan]{display:block}:is(#portal-root,#portal-dialog) .st-table td .p-btn{justify-self:start}}
@media(max-width:620px){:is(#portal-root,#portal-dialog) .st-att-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));justify-content:stretch;width:100%}:is(#portal-root,#portal-dialog) .st-att-filters .p-input{min-width:0;max-width:none;width:100%;font-size:16px}}
@media(prefers-reduced-motion:reduce){:is(#portal-root,#portal-dialog) .st-clickable,:is(#portal-root,#portal-dialog) .st-compare-track span{transition:none}}











/* BEGIN SUPPLY WORKFLOW */
/* Procurement: the same visual language as the rest of the PROMESA portal. */
#portal-root .supply-nav{display:flex;gap:6px;overflow-x:auto;padding:5px;margin:0 0 22px;border:1px solid #dce5d1;background:#f1f5e9;border-radius:12px}
#portal-root .supply-nav button{border:0;background:transparent;color:#526c48;padding:12px 15px;white-space:nowrap;border-radius:8px;font-family:inherit;font-size:.74rem;font-weight:600;cursor:pointer}
#portal-root .supply-nav button.active{background:#fffefa;box-shadow:0 2px 6px #22451e12;color:#164d31}
#portal-root .supply-context{display:flex;gap:19px;align-items:center;flex-wrap:wrap;margin-bottom:24px;padding:17px 20px;border:1px solid #dfe6d7;border-radius:12px;background:#fffef8}
#portal-root .supply-context label{display:block;color:#738668;font-size:.64rem;margin-bottom:6px;font-weight:600}
#portal-root .supply-context .p-input{min-width:260px;max-width:100%}
#portal-root .supply-context p{font-size:.74rem;line-height:1.7;flex:1;color:#3f5c3d}
#portal-root .supply-context p span{font-size:.65rem;color:#839374}
#portal-root .supply-hero{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(220px,1fr);gap:38px;align-items:center;background:linear-gradient(115deg,#eaf1dd 0%,#f6f7eb 70%);border:1px solid #d9e4c9;border-radius:17px;padding:32px;margin-bottom:22px}
#portal-root .supply-hero h2{font-size:clamp(1.7rem,2.5vw,2.6rem);line-height:1.16;letter-spacing:-.025em;margin:12px 0;color:#174c2d}
#portal-root .supply-hero p{font-size:.79rem;line-height:1.8;max-width:630px;color:#6c805e;margin-bottom:20px}
#portal-root .supply-hero aside{border-left:1px solid #cddbbb;padding:18px 0 18px 30px}
#portal-root .supply-hero aside span{font-size:.58rem;letter-spacing:.12em;color:#7a8e62;display:block;margin-bottom:15px}
#portal-root .supply-hero aside b{font-size:1.2rem;line-height:1.7;display:block;color:#41643d;font-weight:500}
#portal-root .supply-hero aside p{font-size:.71rem;margin:9px 0 0}
#portal-root .supply-flow{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:22px 0}
#portal-root .supply-flow button{border:1px solid #dfe6d4;border-radius:12px;padding:18px 14px;background:#fffef8;text-align:left;cursor:pointer;color:#315534;transition:transform .18s,border-color .18s}
#portal-root .supply-flow button:hover{transform:translateY(-3px);border-color:#94ae7c}
#portal-root .supply-step-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}
#portal-root .supply-step-top>span{font-size:.62rem;color:#879a73;letter-spacing:.08em}
#portal-root .supply-step-top svg{width:23px;height:23px;color:#769763}
#portal-root .supply-flow strong{display:block;font-size:.82rem;line-height:1.4;margin-bottom:7px}
#portal-root .supply-flow small{font-size:.58rem;color:#9b8047;display:block;margin-bottom:10px}
#portal-root .supply-flow p{font-size:.65rem;color:#829574;line-height:1.7}
#portal-root .supply-two{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:20px 0}
#portal-root .supply-two .p-card{margin:0}
#portal-root .supply-tasks{display:grid;gap:8px}
#portal-root .supply-tasks button{display:flex;gap:15px;align-items:center;padding:17px 12px;border:1px solid #e2e8d9;border-radius:8px;background:#f9fbf3;color:#526c49;text-align:left;cursor:pointer;font-size:.77rem}
#portal-root .supply-tasks span{flex:1}
#portal-root .supply-tasks b{font-size:1.25rem;color:#295633}
#portal-root .supply-tasks svg{width:17px;height:17px}
#portal-root .supply-explain p{font-size:.75rem;line-height:1.7;padding:12px 0;border-bottom:1px solid #e5ebdc;color:#7b8d70}
#portal-root .supply-explain b{color:#3c653e}
#portal-root .supply-table{min-width:680px}
#portal-root .supply-table .p-actions{max-width:300px;gap:6px}
#portal-root .supply-table .p-btn{font-size:.65rem;padding:7px 10px}
#portal-root .supply-teacher-filter{max-width:390px;margin-bottom:20px}
#portal-root .supply-report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:20px}
#portal-root .supply-report-grid .p-card{margin:0;display:flex;flex-direction:column;gap:15px}
#portal-root .supply-report-grid p{flex:1}
#portal-root .supply-footnote{font-size:.7rem;line-height:1.8;margin:18px 0}
#portal-root .supply-upload{border:1px dashed #a7bb8c;border-radius:11px;background:#f6f9ef;padding:19px;margin:20px 0}
#portal-root .supply-upload>b{font-size:.85rem}
#portal-root .supply-upload p{font-size:.72rem;margin:10px 0;line-height:1.7}
#portal-root .supply-lines{width:100%;min-width:630px;border-collapse:collapse}
#portal-root .supply-lines th{text-align:left;font-size:.6rem;color:#849571;padding:7px 5px}
#portal-root .supply-lines td{padding:5px 3px}
#portal-root .supply-lines input{width:100%;min-width:60px;padding:10px 7px;border:1px solid #d8e2cb;border-radius:7px;background:#fff;font-size:.73rem;color:#41613a}
#portal-root .supply-lines td:first-child{width:25%}
#portal-root .supply-lines td:nth-child(2){width:14%}
#portal-root .supply-line-footer{margin:13px 0 20px;font-size:.8rem}
#portal-root .supply-detail-info{margin:20px 0}
#portal-root .supply-report-preview{margin-top:20px;width:100%;height:60vh;background:white;border:1px solid #dce4d2;border-radius:8px}
#portal-root #portal-dialog:has(.supply-review-layout){width:min(1160px,calc(100vw - 30px))}
#portal-root .supply-review-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:24px;margin-top:20px}
#portal-root .supply-review-layout .supply-table{min-width:450px}
#portal-root .supply-invoice-preview{background:#eff3e8;min-height:330px;border:1px solid #dbe4cf;border-radius:10px;overflow:hidden}
#portal-root .supply-invoice-preview iframe{width:100%;height:65vh;border:0}
#portal-root .supply-invoice-preview img{width:100%;height:auto;display:block;object-fit:contain}
#portal-root .supply-invoice-preview>p{padding:20px}
#portal-root .supply-batch-people{max-height:310px;overflow:auto;margin:16px 0;border:1px solid #dce4d2;border-radius:10px;padding:10px}
#portal-root .supply-batch-people label{padding:10px;border-bottom:1px solid #edf0e6;display:flex;gap:12px;align-items:center;font-size:.73rem}
@media(max-width:1200px){#portal-root .supply-flow{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){#portal-root .supply-hero{grid-template-columns:1fr;padding:23px;gap:20px}#portal-root .supply-hero aside{border-left:0;border-top:1px solid #d2dfc1;padding:17px 0 0}#portal-root .supply-context{padding:15px;gap:12px}#portal-root .supply-context>div,#portal-root .supply-context .p-input{width:100%;min-width:0}#portal-root .supply-context p{flex-basis:100%}#portal-root .supply-flow{grid-template-columns:repeat(2,minmax(0,1fr))}#portal-root .supply-two,#portal-root .supply-report-grid{grid-template-columns:1fr}#portal-root .supply-nav{margin-right:-5px;margin-left:-5px}#portal-root .supply-nav button{padding:10px 12px;font-size:.7rem}}
@media(max-width:850px){#portal-root .supply-review-layout{grid-template-columns:1fr}#portal-root .supply-invoice-preview{min-height:160px;max-height:300px}#portal-root .supply-invoice-preview iframe{height:300px}#portal-root .supply-invoice-preview img{max-height:300px;object-fit:contain}}
.supply-reading{margin-top:16px;padding:18px;background:#fff;border:1px solid #d5dfce;border-radius:14px;font-size:.82rem;line-height:1.55}
.supply-reading[hidden],.supply-reading-check[hidden]{display:none}
.supply-reading p{margin:8px 0}.supply-reading progress{display:block;width:100%;height:8px;accent-color:var(--p-primary,#486b3f);margin:14px 0}
.supply-reading small{display:block;color:#61715c}.supply-reading details{border-top:1px solid #e4e8e0;margin-top:12px;padding-top:10px}.supply-reading summary{cursor:pointer;font-weight:600;padding:5px 0}.supply-reading pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:260px;overflow:auto;font-size:.73rem;background:#f5f6f2;padding:12px}
.supply-reading-warnings{padding-left:20px;color:#7c581d;max-height:220px;overflow:auto}.supply-reading-warnings li{margin-bottom:6px}
.supply-reading-original img{display:block;max-width:100%;max-height:520px;object-fit:contain;margin:12px auto}.supply-reading-original iframe{width:100%;height:480px;border:0}
.supply-reading-check{display:flex;gap:9px;align-items:flex-start;margin:16px 0 0;font-size:.8rem;line-height:1.5}.supply-reading-check input{margin-top:4px;flex:0 0 auto;accent-color:#486b3f}
.supply-needs-review{border-color:#b8812f!important;background:#fffaf0!important}
@media(max-width:600px){.supply-reading{padding:12px}.supply-reading-original iframe{height:340px}}

/* Shared attendance review inbox */
.attendance-review-panel{margin-bottom:24px;border-left:4px solid #bd9444}.attendance-review-panel>.p-actions{margin:16px 0}.attendance-review-panel .p-badge{white-space:normal}.attendance-review-panel td{vertical-align:top}













/* BEGIN PROMESA ASSISTANT STYLES */
/* Shared assistant, using the existing PROMESA palette and typography. */
#portal-root .pw-worklist{display:grid;gap:9px;margin:18px 0}#portal-root .pw-worklist article{display:flex;align-items:center;gap:12px;border:1px solid #dce5d3;border-radius:11px;background:#fffef9;padding:12px}#portal-root .pw-worklist article>strong{min-width:36px;text-align:center;font-size:1.4rem;color:#3e633f}#portal-root .pw-worklist article>div{flex:1;min-width:0}#portal-root .pw-worklist small{display:block;color:#72806d;font-size:.7rem;line-height:1.4;margin-top:4px}#portal-root .pw-subtitle{margin:20px 0 12px;color:#2b5238}@media(max-width:650px){#portal-root .pw-worklist article{flex-wrap:wrap}#portal-root .pw-worklist .p-btn{margin-left:auto}}
#portal-root .pa-query-scope{font-size:.75rem;color:#446240;border-bottom:1px solid #d5dfcd;padding:10px 0;margin:6px 0 14px}#portal-root .pa-query-scope small{display:block;color:#6b7866;margin-top:3px}#portal-root .pa-age-person{background:#fffef9;border:1px solid #d9e3d0;border-radius:12px;padding:19px;margin:12px 0}#portal-root .pa-age-person h3{font-size:1.35rem;line-height:1.3;color:#244d35;margin:8px 0}#portal-root .pa-age-value{display:block;color:#375c35;font-size:1.05rem;margin-bottom:8px}#portal-root .pa-age-person .p-btn{margin-top:13px}#portal-root .pa-age-person .p-eyebrow{font-size:.65rem}#portal-root .pa-age-person p{font-size:.78rem}
#portal-root .pa-scope{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#eaf0e2;border:1px solid #d5dfcd;border-radius:14px;padding:15px 20px;margin-bottom:22px;font-size:.85rem}
#portal-root .pa-scope>div{display:flex;gap:12px;align-items:center}#portal-root .pa-scope small{display:block;color:#677764;font-size:.73rem;margin-top:4px}#portal-root .pa-status-dot{font-size:.7rem;white-space:nowrap;color:#35674c}#portal-root .pa-status-dot:before{content:'';display:inline-block;width:7px;height:7px;border-radius:50%;background:#518861;margin-right:7px}
#portal-root .pa-tabs{display:flex;gap:4px;flex-wrap:wrap;border-bottom:1px solid #dce3d5;margin-bottom:24px}#portal-root .pa-tabs button{border:0;border-bottom:3px solid transparent;background:transparent;color:#6e7b69;padding:13px 18px;font-size:.82rem;font-weight:600}#portal-root .pa-tabs button.selected{color:#174f35;border-bottom-color:#a38644}
#portal-root .pa-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:22px;align-items:start}#portal-root .pa-conversation{border:1px solid #dce3d5;border-radius:18px;overflow:hidden;background:#fffef9;box-shadow:0 7px 24px #31422a05}#portal-root .pa-chat-head{display:flex;align-items:center;gap:12px;border-bottom:1px solid #e6eadd;padding:21px 24px}#portal-root .pa-chat-head>div{flex:1}#portal-root .pa-chat-head h2{font-size:1.35rem}#portal-root .pa-chat-head p{font-size:.75rem;color:#758170;margin-top:5px}#portal-root .pa-symbol{display:grid;place-items:center;width:42px;height:42px;background:#154d35;color:#f1e7c7;border-radius:12px}#portal-root .pa-messages{max-height:650px;min-height:340px;overflow:auto;padding:25px;scroll-behavior:smooth;overflow-wrap:anywhere}#portal-root .pa-welcome{padding:20px 4px}#portal-root .pa-welcome h3{font-size:2.25rem;line-height:1.17;margin:12px 0 15px;color:#244d35}#portal-root .pa-welcome>p{font-size:.87rem;color:#6b7c68;line-height:1.65;max-width:480px}#portal-root .pa-prompts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:25px}#portal-root .pa-prompts button{text-align:left;justify-content:flex-start;font-weight:500;background:#f8f9f1}
#portal-root .pa-message{border-radius:12px;background:#f3f6ed;border:1px solid #e3e9db;padding:18px;margin-bottom:18px;font-size:.85rem;line-height:1.6}#portal-root .pa-message.is-user{background:#e7eddf;border:0;margin-left:12%;padding:13px 18px}#portal-root .pa-message-label{display:block;font-size:.63rem;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:#617558;margin-bottom:7px}#portal-root .pa-message .p-actions{margin-top:15px}#portal-root .pa-message .p-table{background:#fffef8}#portal-root .pa-message .p-table td{font-size:.77rem}#portal-root .pa-message p+p{margin-top:10px}
#portal-root .pa-composer{display:flex;gap:10px;padding:18px 22px 10px;border-top:1px solid #e7eadd;background:#fffef9}#portal-root .pa-composer input{width:100%;min-width:0;border:1px solid #d3ddcc;background:white;border-radius:10px;padding:13px;font-size:.86rem;color:#244d35}#portal-root .pa-footnote{font-size:.7rem!important;line-height:1.5;color:#7b8574!important;margin:10px 0}#portal-root .pa-conversation>.pa-footnote{padding:0 22px 13px;margin:0}#portal-root .pa-task-list{display:flex;flex-direction:column;gap:9px;margin-top:20px}#portal-root .pa-task-list .p-btn{justify-content:flex-start;text-align:left;font-weight:500;font-size:.78rem}#portal-root .pa-sidebar h2{font-size:1.45rem;margin-top:6px}#portal-root .pa-explain{padding:22px 10px;font-size:.78rem;color:#74806d;line-height:1.6}#portal-root .pa-explain h3{font-size:1.15rem;color:#476348;margin-bottom:12px}#portal-root .pa-explain p{margin-top:8px}
#portal-root .pa-metrics{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}#portal-root .pa-metric{flex:1;min-width:95px;border:1px solid #dce5d3;border-radius:10px;background:#fffef8;padding:13px}#portal-root .pa-metric b{display:block;font-size:1.8rem;font-family:PromesaSerif,Georgia,serif;font-weight:400;color:#285d3d;line-height:1.2}#portal-root .pa-metric span{font-size:.68rem;color:#6e7c68;display:block;margin-top:5px}#portal-root .pa-result-person,#portal-root .pa-history-item{display:flex;gap:15px;justify-content:space-between;align-items:center;border-bottom:1px solid #e2e8dc;padding:15px 0}#portal-root .pa-result-person small{display:block;color:#788370}#portal-root .pa-history-item p,#portal-root .pa-history-item span{font-size:.75rem;color:#77816f;margin-top:5px}#portal-root .pa-history-item b{overflow-wrap:anywhere}#portal-root .pa-history-item>div{min-width:0}
#portal-root .pa-upload{display:flex;flex-direction:column;align-items:center;text-align:center;gap:17px;padding:45px 24px;background:linear-gradient(145deg,#fffef9,#f2f6e9);border-style:dashed;border-color:#bccdaf}#portal-root .pa-upload-icon{width:64px;height:64px;border-radius:20px;background:#e6eddc;display:grid;place-items:center;color:#587148}#portal-root .pa-upload-icon svg{width:30px;height:30px}#portal-root .pa-upload h2{font-size:2rem}#portal-root .pa-upload>p{line-height:1.7;font-size:.87rem;color:#74816c}#portal-root .pa-upload small{font-size:.72rem;color:#7a8874}#portal-root .pa-mapping{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:22px 0;padding:20px;background:#f4f7ed;border:1px solid #dfe8d6;border-radius:12px}#portal-root .pa-preview-table{max-height:480px;overflow:auto;margin:15px 0 23px}#portal-root .pa-source{white-space:pre-wrap;overflow-wrap:anywhere;max-height:400px;overflow:auto;padding:18px;background:#f2f5eb;font-size:.8rem;line-height:1.7;border:1px solid #dce5d3;border-radius:10px;margin:18px 0}#portal-root .pa-loading{width:30px;height:30px;border-radius:50%;border:3px solid #d6dfcd;border-top-color:#375b3e;animation:pa-spin 1s linear infinite}@keyframes pa-spin{to{transform:rotate(360deg)}}
#portal-root .pa-composer .sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#portal-root .pa-mapping .p-field select{max-width:100%}
@media(max-width:1100px){#portal-root .pa-layout{grid-template-columns:1fr}#portal-root .pa-sidebar{display:grid;grid-template-columns:1fr 1fr;gap:15px}}@media(max-width:650px){#portal-root .pa-scope{align-items:flex-start;padding:13px}#portal-root .pa-status-dot{display:none}#portal-root .pa-tabs{gap:0}#portal-root .pa-tabs button{padding:11px 9px;font-size:.73rem}#portal-root .pa-chat-head{padding:17px 14px}#portal-root .pa-chat-head>.p-btn{font-size:.64rem;padding:6px}#portal-root .pa-messages{padding:15px;max-height:550px}#portal-root .pa-welcome h3{font-size:1.9rem}#portal-root .pa-prompts,#portal-root .pa-sidebar,#portal-root .pa-mapping{grid-template-columns:1fr}#portal-root .pa-composer{padding:13px;gap:7px}#portal-root .pa-composer input{font-size:16px;padding:10px}#portal-root .pa-history-item{flex-direction:column;align-items:flex-start}#portal-root .pa-message.is-user{margin-left:5%}}@media(prefers-reduced-motion:reduce){#portal-root .pa-loading{animation:none}#portal-root .pa-messages{scroll-behavior:auto}}
/* BEGIN PROMESA RESPONSIVE CSS */
/* Shared responsive layer: public pages, all branches and all staff profiles. */
@media screen {
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 90px; }
  html:has(dialog[open]), body:has(dialog[open]) { overflow: hidden; }
  #portal-root .p-top-context, #portal-root .p-top-context>div, #portal-root .p-top-search,
  #portal-root .p-card, #portal-root .p-card-head>div, #portal-root .p-field,
  #portal-root .p-page-heading>div, #portal-root .p-filters, #portal-root .p-actions { min-width: 0; }
  #portal-root .p-user { flex-shrink: 0; }
  #portal-root .p-user-name { overflow: hidden; text-overflow: ellipsis; }
  #portal-root :is(h1,h2,h3,p,.p-field,.p-message) { overflow-wrap: anywhere; }
  #portal-root :is(.p-table-wrap,.pa-preview-table,.st-trend) { max-width: 100%; overscroll-behavior-x: contain; }
  [data-responsive-scroll="true"] { outline-offset: 3px; }
  [data-responsive-scroll="true"]:focus-visible { outline: 3px solid #b58b36; }
  #portal-root :is(.p-table-wrap,.pa-preview-table)[data-responsive-scroll="true"]::before {
    content: 'Desliza para ver todas las columnas ↔'; display: block; position: sticky; left: 0;
    width: fit-content; max-width: 100%; padding: 10px 12px; color: #52674b; font-size: 12px;
  }
  #portal-root #portal-dialog, .public-dialog, .fp-studio {
    box-sizing: border-box; max-width: calc(100% - 24px); max-height: calc(100dvh - 24px);
    overscroll-behavior: contain; scrollbar-gutter: stable; overflow-wrap: anywhere;
  }
  #portal-root .p-dialog-head>div { min-width: 0; }
  #portal-root .p-dialog-head>.p-icon-btn, .fp-close { flex: none; }
  .fp-preview-column, .fp-control-column { min-width: 0; }
  #portal-root .p-nav-close, #portal-root .p-nav-backdrop { display: none; }
  #portal-root .p-nav-brand { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  #portal-root .p-nav-brand .p-brand { min-width: 0; }
  .viewer { padding-top: max(18px,env(safe-area-inset-top)); padding-bottom: max(18px,env(safe-area-inset-bottom)); }
  .viewer-dots button { width: 30px; height: 30px; background: transparent; position: relative; }
  .viewer-dots button::after { content: ''; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #fffef860; top: 11px; left: 11px; }
  .viewer-dots button[aria-pressed=true] { background: transparent; }
  .viewer-dots button[aria-pressed=true]::after { background: #fffef8; }
}
/* Use a drawer while a permanent sidebar would squeeze the workspace. */
@media screen and (max-width:1023px) {
  #portal-root .p-app { display: block; }
  #portal-root .p-sidebar {
    width: min(300px,calc(100% - 48px)); transform: translateX(-110%); visibility: hidden;
    transition: transform .2s,visibility .2s; z-index: 102; padding: max(20px,env(safe-area-inset-top)) 16px max(24px,env(safe-area-inset-bottom));
    box-shadow: 12px 0 40px #15372028; overscroll-behavior: contain;
  }
  #portal-root .p-app.menu-open .p-sidebar { transform: translateX(0); visibility: visible; }
  #portal-root .p-nav-close, #portal-root .p-mobile-toggle { display: inline-flex; }
  #portal-root .p-nav-close { background: #ffffff12; color: #fffef8; border-color: #ffffff40; }
  #portal-root .p-app.menu-open .p-nav-backdrop { display: block; position: fixed; inset: 0; z-index: 101; border: 0; background: #0d251d88; cursor: pointer; }
  body.portal-nav-open { overflow: hidden; }
  #portal-root .p-topbar { min-height: 72px; height: auto; padding: 12px 16px; gap: 10px; }
  #portal-root .p-top-context { flex: 1; }
  #portal-root .p-top-context>svg, #portal-root .p-top-search, #portal-root .p-user-name, #portal-root .p-user .p-avatar { display: none; }
  #portal-root .p-profile-switch span { display: none; }
  #portal-root #portal-branch-select { max-width: 100%; width: 100%; }
  #portal-root .p-profile-switch { padding: 10px; }
  #portal-root .p-sidebar-nav a { min-height: 44px; font-size: 14px; }
  #portal-root .p-login-shell { grid-template-columns: minmax(0,1fr); gap: 28px; }
  #portal-root .p-login-story { min-height: 0; }
  #portal-root :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea),
  .calendar-filter :is(input,select), .fp-studio :is(input:not([type=range]),select,textarea) { font-size: 16px !important; }
  #portal-root :is(.p-btn,.p-icon-btn,.p-tabs button,.pa-tabs button,.supply-nav button),
  .branch-nav button,.round-button,.view-control button,.cal-today,.close,.fp-button,.fp-close { min-height: 44px; }
  #portal-root .p-icon-btn,.round-button,.fp-close { min-width: 44px; }
}
@media screen and (max-width:760px) {
  #portal-root .p-content { padding: 22px 14px max(36px,env(safe-area-inset-bottom)); }
  #portal-root :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea),
  .calendar-filter :is(input,select), .fp-studio :is(input:not([type=range]),select,textarea) {
    font-size: 16px !important; max-width: 100%; min-width: 0;
  }
  #portal-root :is(.p-field input,.p-field select,.p-input),.calendar-filter :is(input,select) { min-height: 44px; }
  #portal-root :is(.p-btn,.p-icon-btn,.p-tabs button,.pa-tabs button,.supply-nav button),
  .branch-nav button,.round-button,.view-control button,.cal-today,.close,.fp-button,.fp-close {
    min-height: 44px; line-height: 1.4; font-size: 13px;
  }
  #portal-root .p-icon-btn,.round-button,.fp-close { min-width: 44px; }
  #portal-root .p-tabs { max-width: 100%; flex-wrap: wrap; }
  #portal-root :is(.p-check,.p-calendar-teacher-options label) { min-height: 44px; }
  #portal-root input[type=checkbox],#portal-root input[type=radio] { width: 20px; height: 20px; }
  #portal-root :is(.p-muted,.p-page-heading p,.p-message,.p-field small) { font-size: 13px; line-height: 1.6; }
  #portal-root .p-field { font-size: 14px; }
  #portal-root .p-card-head { flex-wrap: wrap; }
  #portal-root .p-filters .p-input { flex-basis: 145px; }
  #portal-root .p-dialog-footer .p-actions { width: 100%; justify-content: flex-end; }
  #portal-root #portal-dialog { width: calc(100% - 16px); max-width: calc(100% - 16px); max-height: calc(100dvh - 16px); margin: auto; }
  #portal-root .p-dialog-body { padding: 18px 14px max(20px,env(safe-area-inset-bottom)); }
  #portal-root .p-dialog-head { padding: 16px 14px; }
  #portal-root .p-dialog-head h2 { font-size: 1.4rem; }
  #portal-root .p-dialog-head { position: sticky; top: 0; }
  #portal-root .p-dialog-head>.p-icon-btn { position: sticky; top: 8px; }
  #portal-root :is(.st-trend,.att-calendar) { overflow-x: auto; }
  #portal-root .st-trend-svg { min-width: 480px; }
  #portal-root .st-trend[data-responsive-scroll=true]::before { content: 'Desliza para recorrer el gráfico ↔'; font-size: 12px; display: block; position: sticky; left: 0; color: #52674b; padding: 8px 0; }
  #portal-root .att-calendar[data-responsive-scroll=true]::before { content: 'Desliza para ver la semana completa ↔'; grid-column: 1 / -1; position: sticky; left: 0; width: fit-content; max-width: 100%; font-size: 12px; color: #52674b; padding: 8px 0; }
  #portal-root .pa-chat-head { flex-wrap: wrap; }
  #portal-root .pa-chat-head>div { min-width: 0; }
  #portal-root .pa-composer { align-items: stretch; }
  #portal-root .pa-composer input { min-width: 0; }
  #portal-root .pa-composer button { flex: none; }
  #portal-root .dist-signature { height: auto; aspect-ratio: 18/5; }
  :is(#portal-root,#portal-dialog) :is(.dist-product-head,.dist-product-row) { grid-template-columns: minmax(0,1fr) 58px 82px; gap: 8px; }
  :is(#portal-root,#portal-dialog) .dist-product-head { font-size: 10px; letter-spacing: .02em; overflow-wrap: anywhere; }
  .calendar-tools,.month-control { flex-wrap: wrap; }
  .calendar-filter { gap: 10px; }
  .calendar-filter label { font-size: 13px; }
  .calendar-filter select { flex: 1 1 110px; }
  .viewer-nav button { width: 44px; height: 44px; }
  .viewer-head { align-items: flex-start; }
  .viewer-head h2 { min-width: 0; overflow-wrap: anywhere; }
  .viewer-head .close { flex: none; }
}
@media screen and (max-width:380px) {
  #portal-root .p-topbar { padding: 10px 8px; gap: 6px; }
  #portal-root .p-user { gap: 4px; }
  #portal-root #portal-branch-select { font-size: 14px !important; }
  #portal-root .p-branch-label { font-size: 8px; letter-spacing: .06em; }
  #portal-root .p-card { padding: 15px; }
  #portal-root .p-bird-grid { grid-template-columns: minmax(0,1fr); }
  #portal-root .p-dialog-footer .p-actions .p-btn { flex: 1 1 100px; }
  #portal-root .pa-composer { flex-wrap: wrap; }
  #portal-root .pa-composer input { flex-basis: 100%; }
  #portal-root .pa-composer button { margin-left: auto; }
  .viewer { padding-left: 10px; padding-right: 10px; }
  .viewer-shell { gap: 10px; }
}
@media screen and (pointer:coarse) {
  #portal-root :is(.p-btn,.p-icon-btn,.p-sidebar-nav a),.fp-button { min-height: 44px; }
  #portal-root .p-icon-btn { min-width: 44px; }
  .thumbs .zoom { opacity: 1; }
}
@media screen and (max-height:500px) and (orientation:landscape) {
  #portal-root .p-topbar { position: static; }
  .viewer { padding: 10px 16px; }
  .viewer-shell { gap: 6px; }
  .viewer-head h2 { font-size: 20px; }
  .viewer-help { display: none; }
  .viewer-dots { display: none; }
  .fp-studio-head { position: static; padding: 14px 18px; }
  #portal-root .p-dialog-head { position: static; }
}
/* END PROMESA RESPONSIVE CSS */
