/* KRESUP V5.2.0 — teacher UX, stable bottom nav, parent image hotfix */
:root{--v52-navy:#0b3a73;--v52-teal:#16b9c0;--v52-line:#dfeaf3;--v52-muted:#73859a;--v52-shadow:0 14px 34px rgba(15,55,95,.09)}
.v52-teacher-page{padding-bottom:116px!important}
.v52-teacher-top{height:72px;display:flex;align-items:center;justify-content:space-between;padding:8px 4px 12px;background:#fff}.v52-logo{width:174px;height:auto;display:block}.v52-top-actions{display:flex;align-items:center;gap:12px}.v52-icon-btn{position:relative;width:45px;height:45px;border:0;background:#fff;color:#0d3b73;display:grid;place-items:center;border-radius:15px}.v52-icon-btn svg{width:28px;height:28px}.v52-icon-btn em{position:absolute;right:-2px;top:-3px;min-width:21px;height:21px;padding:0 5px;border-radius:12px;background:#ff3668;color:#fff;border:2px solid #fff;display:grid;place-items:center;font-size:9px;font-style:normal;font-weight:800}.v52-top-avatar{position:relative;width:48px;height:48px;border:0;background:none;padding:0}.v52-top-avatar img{width:48px;height:48px;border-radius:50%;object-fit:cover;object-position:center 22%;border:2px solid #e3edf4}.v52-top-avatar span{position:absolute;right:0;bottom:1px;width:12px;height:12px;border-radius:50%;background:#20bd45;border:2px solid #fff}
.v52-teacher-banner{min-height:182px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px 22px 22px 26px;border-radius:28px;background:linear-gradient(135deg,#0b4a92 0%,#092f68 70%,#082b61 100%);color:#fff;overflow:hidden;position:relative;box-shadow:0 16px 34px rgba(8,49,105,.16);margin-bottom:14px}.v52-teacher-banner:after{content:"";position:absolute;right:-44px;top:-72px;width:220px;height:220px;border-radius:50%;background:rgba(27,184,196,.12)}.v52-banner-copy{z-index:2;min-width:0}.v52-banner-copy>span{font-size:10px;font-weight:850;letter-spacing:.12em;color:#79e2e5}.v52-banner-copy h1{margin:7px 0 7px;color:#fff;font-size:29px;line-height:1.05;letter-spacing:-.025em}.v52-banner-copy p{margin:0;color:#dbe9f6;font-size:13px}.v52-banner-photo{z-index:3;display:flex;flex-direction:column;align-items:center;gap:7px;flex:0 0 105px}.v52-banner-photo img{width:96px;height:96px;border-radius:28px;object-fit:cover;object-position:center 20%;border:4px solid rgba(255,255,255,.9);box-shadow:0 10px 24px rgba(0,0,0,.18)}.v52-banner-photo small{font-size:8px;color:#d8edf3;text-align:center;white-space:nowrap}
.v52-overview{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-bottom:12px}.v52-overview>button{border:1px solid var(--v52-line);background:#fff;border-radius:22px;padding:15px;text-align:left;color:var(--v52-navy);box-shadow:0 8px 22px rgba(14,55,97,.05)}.v52-overview-title{display:flex;justify-content:space-between;align-items:center;gap:7px;margin-bottom:12px}.v52-overview-title b{font-size:16px}.v52-overview-title span{font-size:9px;color:#12acb4;font-weight:800;white-space:nowrap}.v52-class-line{display:grid;grid-template-columns:54px 1fr;gap:11px;align-items:center}.v52-class-line img{width:54px;height:54px;border-radius:17px;object-fit:cover;background:#e8f7ff}.v52-class-line strong{display:block;font-size:15px;line-height:1.2}.v52-class-line small{display:block;margin-top:4px;color:var(--v52-muted);font-size:10px}.v52-att-line{display:grid;grid-template-columns:1fr 1fr;gap:8px}.v52-att-line>div{display:grid;grid-template-columns:30px auto;grid-template-areas:'i n' 'i l';column-gap:7px;align-items:center;padding:8px;border-radius:16px}.v52-att-line .ok{background:#effaf0}.v52-att-line .no{background:#fff1f5}.v52-att-line i{grid-area:i;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-style:normal}.v52-att-line .ok i{background:#dff5e0;color:#29a83c}.v52-att-line .no i{background:#ffe1eb;color:#ef477a}.v52-att-line i svg{width:17px;height:17px}.v52-att-line strong{grid-area:n;font-size:22px;line-height:1}.v52-att-line small{grid-area:l;font-size:9px;color:#74879c}
.v52-pickup-alert{width:100%;padding:17px;border-radius:23px;background:linear-gradient(125deg,#ff784d,#f74579);color:#fff;box-shadow:0 14px 30px rgba(247,69,121,.20);margin:0 0 13px}.v52-pickup-alert-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.v52-pickup-alert-head small{font-size:9px;letter-spacing:.1em;font-weight:850;opacity:.9}.v52-pickup-alert-head h3{font-size:20px;margin:4px 0}.v52-pickup-alert-head p{font-size:11px;margin:0;color:#fff;opacity:.92}.v52-pickup-alert-head>strong{width:45px;height:45px;border-radius:15px;background:rgba(255,255,255,.18);display:grid;place-items:center;font-size:20px}.v52-pickup-alert-list{display:grid;gap:8px;margin-top:12px}.v52-pickup-alert-list article{display:grid;grid-template-columns:44px minmax(0,1fr) auto auto;align-items:center;gap:8px;background:rgba(255,255,255,.15);padding:9px;border-radius:16px}.v52-pickup-alert-list img{width:44px;height:44px;border-radius:14px;object-fit:cover;object-position:center 25%;background:#fff}.v52-pickup-alert-list b{display:block;font-size:12px}.v52-pickup-alert-list span{display:block;font-size:9px;opacity:.92;margin-top:2px}.v52-pickup-alert-list em{font-style:normal;font-size:8px;font-weight:800;padding:6px 8px;border-radius:999px;background:rgba(255,255,255,.2);white-space:nowrap}.v52-pickup-alert-list em.ready{background:#e6f8e9;color:#28833c}.v52-pickup-alert-list em.preparing{background:#fff5d8;color:#8d6900}.v52-pickup-alert-list button,.v52-pickup-more{border:0;border-radius:11px;padding:8px 9px;background:#fff;color:#d64764;font-size:9px;font-weight:850;white-space:nowrap}.v52-pickup-more{width:100%;margin-top:9px;background:rgba(255,255,255,.18);color:#fff;border:1px solid rgba(255,255,255,.25)}
.v52-quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 13px}.v52-quick{min-height:112px;border:0;border-radius:23px;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:17px 6px 15px;box-shadow:0 10px 23px rgba(21,52,88,.10);position:relative}.v52-quick i{height:50px;display:grid;place-items:center}.v52-quick i svg{width:38px;height:38px;stroke-width:1.9}.v52-quick span{font-size:10.5px;font-weight:850;line-height:1;white-space:nowrap}.v52-quick em{position:absolute;right:8px;top:8px;min-width:21px;height:21px;border-radius:11px;background:#ff2f63;border:2px solid rgba(255,255,255,.9);color:#fff;font-style:normal;font-size:8px;display:grid;place-items:center}.v52-quick.teal{background:linear-gradient(145deg,#62c6c8,#10b4bd)}.v52-quick.pink{background:linear-gradient(145deg,#f16491,#ed3d74)}.v52-quick.orange{background:linear-gradient(145deg,#ffb448,#f6931b)}.v52-quick.purple{background:linear-gradient(145deg,#9577f0,#6b4be0)}.v52-quick.blue{background:linear-gradient(145deg,#6195f2,#3f75df)}.v52-quick.rose{background:linear-gradient(145deg,#ee75a4,#e94e89)}.v52-quick.amber{background:linear-gradient(145deg,#efb14c,#e99629)}.v52-quick.green{background:linear-gradient(145deg,#62c980,#3cb469)}.v52-quick.navy{background:linear-gradient(145deg,#5f83b1,#426995)}
.v52-teacher-insights{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px}.v52-teacher-insights>button{border:1px solid var(--v52-line);background:#fff;border-radius:21px;padding:13px;display:grid;grid-template-columns:42px 1fr 12px;align-items:center;gap:9px;text-align:left;color:var(--v52-navy)}.v52-teacher-insights i{width:42px;height:42px;border-radius:15px;display:grid;place-items:center}.v52-teacher-insights i.pink{background:#fff0f5;color:#ef4b84}.v52-teacher-insights i.orange{background:#fff5e5;color:#e99214}.v52-teacher-insights i svg{width:22px}.v52-teacher-insights b,.v52-teacher-insights strong,.v52-teacher-insights small{display:block}.v52-teacher-insights b{font-size:11px}.v52-teacher-insights strong{font-size:22px;margin:2px 0}.v52-teacher-insights small{font-size:8px;color:var(--v52-muted);line-height:1.3}.v52-teacher-insights em{font-style:normal;font-size:23px;color:#90a4b9}
.v52-report-link{width:100%;border:1px solid #ddd5ff;background:#f8f5ff;color:#173d72;border-radius:22px;padding:16px;display:grid;grid-template-columns:52px 1fr auto;align-items:center;gap:12px;text-align:left}.v52-report-link>i{width:52px;height:52px;border-radius:17px;background:#ebe5ff;color:#694de1;display:grid;place-items:center}.v52-report-link i svg{width:27px}.v52-report-link b{display:block;font-size:16px}.v52-report-link p{margin:3px 0 0;font-size:10px;color:#72859a;line-height:1.35}.v52-report-link>strong{font-size:10px;color:#684cdf;white-space:nowrap}
.v52-profile-page{padding-bottom:110px}.v52-profile-card{padding:18px}.v52-profile-head{display:flex;align-items:center;gap:13px;margin-bottom:16px}.v52-profile-head img{width:78px;height:78px;border-radius:23px;object-fit:cover;object-position:center 20%;background:#eef4f8}.v52-profile-head h3{margin:0;font-size:20px}.v52-profile-head p{margin:4px 0;color:#647990}.v52-profile-head small{color:#8ba0b2}.v52-profile-actions{display:flex;gap:10px;margin-top:16px}.v52-profile-actions .btn{flex:1;display:flex;align-items:center;justify-content:center;gap:7px}
.v52-confirm{text-align:center;padding:8px 2px 4px}.v52-confirm>i{width:58px;height:58px;border-radius:20px;display:grid;place-items:center;margin:0 auto 11px}.v52-confirm>i.info{background:#eaf8fb;color:#0eabb4}.v52-confirm>i.danger{background:#fff0f2;color:#e64b62}.v52-confirm>i svg{width:28px;height:28px}.v52-confirm h3{margin:0 0 7px;font-size:19px}.v52-confirm p{margin:0 auto 15px;color:#687e94;font-size:12px;line-height:1.55;max-width:430px}.v52-confirm>div{display:flex;gap:9px;justify-content:center}.v52-confirm .btn{min-width:130px}
/* Parent: management photo first + stable bottom navigation */
body.v36-parent .v36-child-photo,body.v36-parent .v36-daily-child img,body.v36-parent .v36-child-card .top img{object-fit:cover!important;object-position:center 22%!important;background:#fff!important}
/* Stable bottom navigation for both teacher and parent: remove old artificial notch/rise that caused overlaps. */
body.v36-parent,body.v36-teacher{padding-bottom:calc(92px + env(safe-area-inset-bottom))!important}body.v36-parent .content,body.v36-teacher .content{padding-bottom:calc(108px + env(safe-area-inset-bottom))!important}
body.v36-parent .v375-bottom,body.v36-teacher .v375-bottom{bottom:0!important;width:min(100%,430px)!important;height:82px!important;padding:7px 8px calc(8px + env(safe-area-inset-bottom))!important;border-radius:25px 25px 0 0!important;border-bottom:0!important;box-shadow:0 -9px 28px rgba(26,59,93,.10)!important;overflow:visible!important}
body.v36-parent .v375-bottom::before,body.v36-parent .v375-bottom::after,body.v36-teacher .v375-bottom::before,body.v36-teacher .v375-bottom::after{display:none!important}
body.v36-parent .v375-bottom button,body.v36-teacher .v375-bottom button{height:auto!important;transform:none!important;align-self:stretch!important;padding:4px 2px!important;gap:4px!important;border-radius:16px!important}
body.v36-parent .v375-bottom button svg,body.v36-teacher .v375-bottom button svg{width:23px!important;height:23px!important}
body.v36-parent .v375-bottom button span,body.v36-teacher .v375-bottom button span{font-size:9px!important;font-weight:800!important}
body.v36-parent .v375-bottom button.active:not(.v375-menu),body.v36-teacher .v375-bottom button.active:not(.v375-menu){background:#eef5ff!important;color:#176fe9!important}
body.v36-parent .v375-bottom button.active:not(.v375-menu)::before,body.v36-teacher .v375-bottom button.active:not(.v375-menu)::before{display:none!important}
body.v36-parent .v375-bottom .v375-menu,body.v36-teacher .v375-bottom .v375-menu{height:auto!important;transform:none!important;align-self:stretch!important;color:#0dabb4!important}
body.v36-parent .v375-menu-orb,body.v36-teacher .v375-menu-orb{width:48px!important;height:48px!important;margin:0 auto!important;box-shadow:0 6px 15px rgba(14,174,183,.22)!important}
body.v36-parent .v375-menu-orb svg,body.v36-teacher .v375-menu-orb svg{width:23px!important;height:23px!important}.v375-bottom .v375-menu span:last-child{font-size:9px!important}
@media(max-width:430px){.v52-teacher-page{padding-left:12px!important;padding-right:12px!important}.v52-logo{width:154px}.v52-teacher-top{height:66px}.v52-teacher-banner{min-height:160px;padding:18px}.v52-banner-copy h1{font-size:23px}.v52-banner-photo{flex-basis:88px}.v52-banner-photo img{width:82px;height:82px;border-radius:24px}.v52-overview{gap:8px}.v52-overview>button{padding:12px}.v52-overview-title b{font-size:14px}.v52-overview-title span{font-size:8px}.v52-class-line{grid-template-columns:46px 1fr;gap:8px}.v52-class-line img{width:46px;height:46px}.v52-class-line strong{font-size:12px}.v52-att-line>div{grid-template-columns:26px auto;padding:6px}.v52-att-line i{width:26px;height:26px}.v52-att-line strong{font-size:18px}.v52-pickup-alert-list article{grid-template-columns:40px minmax(0,1fr) auto}.v52-pickup-alert-list img{width:40px;height:40px}.v52-pickup-alert-list em{display:none}.v52-pickup-alert-list button{font-size:8px}.v52-quick-grid{gap:8px}.v52-quick{min-height:101px;border-radius:20px;padding:14px 4px 12px}.v52-quick i{height:44px}.v52-quick i svg{width:34px;height:34px}.v52-quick span{font-size:9.1px}.v52-teacher-insights{grid-template-columns:1fr}.v52-report-link{grid-template-columns:47px 1fr;}.v52-report-link>strong{grid-column:2}.v52-report-link>i{width:47px;height:47px}.v52-profile-actions{flex-direction:column}.v52-confirm>div{flex-direction:column}.v52-confirm .btn{width:100%}body.v36-parent .v375-bottom,body.v36-teacher .v375-bottom{width:100%!important}}
