/* Fluxo Escolas iOS: telas internas, mantendo os controles e fluxos existentes. */
html.fluxo-escola-app.publy-ios-app :is([id^="tab-edu-"],#tab-profile) {
    background:#f4f7fb!important;color:#172c46;
    padding:24px 18px var(--school-dock-space,120px)!important;
}
html.fluxo-escola-app.publy-ios-app :is([id^="tab-edu-"],#tab-profile)>div {
    width:100%;max-width:1040px;margin-top:0;min-width:0;
}
html.fluxo-escola-app.publy-ios-app :is([id^="tab-edu-"],#tab-profile) :is(.segment-tab-badge,.garage-acct__eyebrow) {display:none;}
html.fluxo-escola-app.publy-ios-app :is([id^="tab-edu-"],#tab-profile) h2 {
    font-size:28px!important;font-weight:650!important;letter-spacing:-.9px;line-height:1.2;color:#172c46!important;
}
html.fluxo-escola-app.publy-ios-app :is([id^="tab-edu-"],#tab-profile) h2+p {
    font-size:13px;line-height:1.65;color:#64758a;max-width:48ch;margin-top:8px;
}
html.fluxo-escola-app.publy-ios-app [id^="tab-edu-"]>div>div:first-child {
    align-items:center;gap:18px;margin-bottom:24px;
}
html.fluxo-escola-app.publy-ios-app :is([id^="tab-edu-"],#tab-profile) button {
    min-height:44px;border-radius:12px;font-weight:600;
}
html.fluxo-escola-app.publy-ios-app [id^="tab-edu-"] button.bg-\[\#6E42FF\],
html.fluxo-escola-app.publy-ios-app #tab-profile :is(.garage-acct__upload,#btn-profile-save) {
    background:#2460df!important;color:#fff!important;border:1px solid #2460df!important;
    box-shadow:0 4px 12px #2460df20;
}
html.fluxo-escola-app.publy-ios-app :is([id^="tab-edu-"],#tab-profile) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),select,textarea) {
    min-height:46px;border:1px solid #dce5f0;border-radius:12px;background:#fff;color:#172c46;box-shadow:none;
}
html.fluxo-escola-app.publy-ios-app :is([id^="tab-edu-"],#tab-profile) :is(input,select,textarea):focus {
    border-color:#2460df;outline:2px solid #2460df22;outline-offset:1px;
}
html.fluxo-escola-app.publy-ios-app #tab-edu-catalog>div>div:nth-child(2) {
    background:transparent;border:0;box-shadow:none;overflow:visible;
}
html.fluxo-escola-app.publy-ios-app #tab-edu-catalog>div>div:nth-child(2)>div:first-child {
    padding:0 0 16px;border:0;background:transparent;
}
html.fluxo-escola-app.publy-ios-app #tab-edu-catalog>div>div:nth-child(2)>div:first-child>.relative {max-width:none;}
html.fluxo-escola-app.publy-ios-app #edu-catalog-search {min-height:48px;}
html.fluxo-escola-app.publy-ios-app #edu-catalog-search-clear {min-height:36px;min-width:36px;}
html.fluxo-escola-app.publy-ios-app #edu-knowledge-catalog {padding:0;gap:16px;}
html.fluxo-escola-app.publy-ios-app #edu-knowledge-catalog>article {
    padding:20px;min-height:0;border-radius:20px;border:1px solid #e0e8f2;
    background:#fff;box-shadow:0 3px 12px #172c4605;gap:0;
}
html.fluxo-escola-app.publy-ios-app #edu-knowledge-catalog>article>.pr-16 {padding-right:0;}
html.fluxo-escola-app.publy-ios-app #edu-knowledge-catalog h3 {font-size:17px;line-height:1.4;font-weight:650;color:#172c46;overflow-wrap:anywhere;}
/* Ações de edição ficam abaixo dos dados, sem cobrir nomes longos. */
html.fluxo-escola-app.publy-ios-app #edu-knowledge-catalog>article>.absolute {
    position:static;order:10;opacity:1!important;display:flex;gap:8px;
    margin-top:16px;padding-top:12px;border-top:1px solid #edf1f7;
}
html.fluxo-escola-app.publy-ios-app #edu-knowledge-catalog>article>.absolute button {
    display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 12px;
    flex:1;box-shadow:none;background:#f5f8fd;border-color:#e0e8f2;color:#506882;
}
html.fluxo-escola-app.publy-ios-app #edu-knowledge-catalog>article>.absolute button::after {content:attr(title);font-size:12px;}
html.fluxo-escola-app.publy-ios-app #edu-knowledge-catalog>article>.absolute button[title="Remover"] {color:#b54e5b;background:#fff8f8;border-color:#f0dfe2;}
html.fluxo-escola-app.publy-ios-app #edu-knowledge-catalog>article>.mt-4>button {display:none;}
html.fluxo-escola-app.publy-ios-app #edu-knowledge-catalog>article>.mt-4 {border-color:#edf1f7;padding-top:12px;}
html.fluxo-escola-app.publy-ios-app :is(#edu-enrollments-list,#edu-classes-list) {
    display:grid;gap:12px;background:transparent;border:0;box-shadow:none;
}
html.fluxo-escola-app.publy-ios-app :is(#edu-enrollments-list,#edu-classes-list)>div {
    display:flex;align-items:flex-start;flex-wrap:wrap;gap:12px;padding:18px;
    border:1px solid #e0e8f2!important;border-radius:18px;background:#fff;box-shadow:0 2px 8px #172c4604;
}
html.fluxo-escola-app.publy-ios-app :is(#edu-enrollments-list,#edu-classes-list)>div>div {flex:1 1 180px;min-width:0;}
html.fluxo-escola-app.publy-ios-app :is(#edu-enrollments-list,#edu-classes-list)>div>div>p:first-child {
    font-size:16px;line-height:1.4;font-weight:650;color:#172c46;overflow-wrap:anywhere;
}
html.fluxo-escola-app.publy-ios-app :is(#edu-enrollments-list,#edu-classes-list)>div>div>p:not(:first-child) {
    font-size:12px;line-height:1.65;margin-top:5px;overflow-wrap:anywhere;
}
html.fluxo-escola-app.publy-ios-app :is(#edu-enrollments-list,#edu-classes-list)>div>span {font-size:10px;padding:6px 10px;text-transform:capitalize;border-radius:8px;}
html.fluxo-escola-app.publy-ios-app .school-list-filter {padding:10px 14px;gap:10px;border-radius:14px;margin-bottom:18px!important;}
html.fluxo-escola-app.publy-ios-app .school-list-filter input {border:0;min-height:30px;background:transparent;}
html.fluxo-escola-app.publy-ios-app :is(#edu-enrollments-list,#edu-classes-list,#edu-knowledge-catalog)>p {
    background:#fff;border:1px dashed #ccd9e9;border-radius:18px;padding:36px 24px;font-size:13px;line-height:1.65;
}
/* Conta: mesmas superfícies e abas secundárias compactas. */
html.fluxo-escola-app.publy-ios-app #tab-profile .garage-acct {max-width:760px;}
html.fluxo-escola-app.publy-ios-app #tab-profile .garage-acct__tabs {
    width:100%;display:flex;flex-wrap:nowrap;overflow-x:auto;padding:5px;gap:4px;
    border:1px solid #e0e8f2;border-radius:15px;background:#eaf0f8;
}
html.fluxo-escola-app.publy-ios-app #tab-profile .garage-acct__tab {flex:1 0 auto;white-space:nowrap;font-size:12px;box-shadow:none;}
html.fluxo-escola-app.publy-ios-app #tab-profile .garage-acct__tab[aria-selected="true"] {background:#fff;color:#2460df;box-shadow:0 2px 5px #172c460a;}
html.fluxo-escola-app.publy-ios-app #tab-profile :is(.garage-acct__hero,.garage-acct__card,.garage-acct__logout-card) {
    border:1px solid #e0e8f2;border-radius:20px;background:#fff;box-shadow:none;
}
html.fluxo-escola-app.publy-ios-app #tab-profile :is(.garage-acct__hero-head,.garage-acct__card-head) {
    background:#fff;border-color:#edf1f7;padding:18px 20px;
}
html.fluxo-escola-app.publy-ios-app #tab-profile .garage-acct__hero-head>p:first-child {color:#506882;font-size:11px;}
html.fluxo-escola-app.publy-ios-app #tab-profile .garage-acct__hero-head>p+p {font-size:12px;line-height:1.5;}
html.fluxo-escola-app.publy-ios-app #tab-profile :is(.garage-acct__hero-body,.garage-acct__fields) {padding:20px;}
html.fluxo-escola-app.publy-ios-app #tab-profile .garage-acct__field>label {text-transform:none;letter-spacing:0;font-size:12px;color:#506882;}
html.fluxo-escola-app.publy-ios-app #tab-profile .garage-acct__email {background:#f7f9fd;border-color:#e0e8f2;}
html.fluxo-escola-app.publy-ios-app [id^="modal-edu-"] {padding:max(16px,var(--school-safe-top)) 16px max(16px,var(--school-safe-bottom));}
html.fluxo-escola-app.publy-ios-app [id^="modal-edu-"]>div {
    border-radius:24px!important;max-height:calc(100dvh - var(--school-safe-top) - var(--school-safe-bottom) - 32px);
    overflow-y:auto;overscroll-behavior:contain;
}
@media(max-width:600px) {
    html.fluxo-escola-app.publy-ios-app [id^="tab-edu-"]>div>div:first-child {align-items:stretch;}
    html.fluxo-escola-app.publy-ios-app :is(#tab-edu-catalog,#tab-edu-classes,#tab-edu-enrollments)>div>div:first-child {display:flex;flex-direction:column;}
    html.fluxo-escola-app.publy-ios-app #tab-edu-catalog>div>div:first-child>div:last-child {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
    html.fluxo-escola-app.publy-ios-app #tab-edu-catalog button[onclick="abrirModalEduCatalog()"] {order:-1;grid-column:1/-1;justify-content:center;}
    html.fluxo-escola-app.publy-ios-app #tab-edu-catalog>div>div:first-child button {justify-content:center;font-size:12px;padding:10px 8px;}
    html.fluxo-escola-app.publy-ios-app :is(#tab-edu-classes,#tab-edu-enrollments)>div>div:first-child>button {width:100%;justify-content:center;}
    html.fluxo-escola-app.publy-ios-app :is([id^="tab-edu-"],#tab-profile) h2 {font-size:26px!important;}
}

html.fluxo-escola-app.publy-ios-app :is(#tab-edu-classes,#tab-edu-enrollments) .school-list-filter input {
    border:0;background:transparent;box-shadow:none;min-height:30px;border-radius:0;
}
html.fluxo-escola-app.publy-ios-app #tab-edu-catalog button[onclick="exportarCatalogoEscolaPdf()"] {
    background:#edf3ff;color:#2460df;border-color:#dce7f7;
}
