/* KRESUP V3.5.0 — complete reference system for ALL Teacher + Parent mobile pages.
   Admin selectors are intentionally excluded. The six supplied reference screens remain the source of truth. */
:root{--v35-navy:#082b63;--v35-blue:#2f7fe8;--v35-teal:#10bbc3;--v35-pink:#ff3d77;--v35-orange:#ff9411;--v35-purple:#7450e9;--v35-green:#24bd43;--v35-line:#e7edf4;--v35-muted:#667894;--v35-shadow:0 8px 26px rgba(17,44,78,.075)}
@media(max-width:960px){
 body.v35-reference-all{background:#fff!important;color:var(--v35-navy)}
 body.v35-reference-all .main-column{background:#fff!important}
 body.v35-reference-all:not(.v33-reference-exact) .content{width:min(100%,430px)!important;max-width:430px!important;margin:0 auto!important;padding:12px 15px calc(94px + env(safe-area-inset-bottom))!important;background:#fff!important;overflow-x:hidden!important}
 body.v35-reference-all:not(.v33-reference-exact) .desktop-shell{background:#fff!important}
 body.v35-reference-all:not(.v33-reference-exact) .mobile-header.v35-header{display:flex!important;width:min(100%,430px);height:66px;min-height:calc(66px + env(safe-area-inset-top));margin:0 auto;position:sticky;top:0;z-index:80;align-items:center;justify-content:space-between;padding:calc(8px + env(safe-area-inset-top)) 15px 7px;background:rgba(255,255,255,.98);border:0;box-shadow:none}
 .v35-brand{display:flex;align-items:center}.v35-logo{display:block;width:145px;height:auto}.v35-head-actions{display:flex;align-items:center;gap:10px}.v35-icon-btn{position:relative;width:38px;height:40px;display:grid;place-items:center;border:0;background:transparent;color:var(--v35-navy)}.v35-icon-btn svg{width:28px;height:28px}.v35-icon-btn em{position:absolute;right:-2px;top:-4px;min-width:20px;height:20px;padding:0 4px;border-radius:12px;background:var(--v35-pink);color:#fff;border:2px solid #fff;font-size:9px;font-style:normal;font-weight:800;display:grid;place-items:center}.v35-profile-btn{position:relative;width:44px;height:44px;border:0;background:transparent;padding:0}.v35-profile-btn .mobile-avatar{width:44px;height:44px;border-radius:50%;object-fit:cover;border:1px solid #e7edf3}.v35-profile-btn>span{position:absolute;right:0;bottom:1px;width:10px;height:10px;border-radius:50%;background:#18bc37;border:2px solid #fff}
 /* All reference subpage hero headers */
 body.v35-subpage .mobile-page-title.v35-page-hero{display:grid!important;grid-template-columns:48px 1fr 24px;align-items:center;gap:11px;min-height:82px;margin:7px 0 13px;padding:13px 14px;border:1px solid #eaf0f5;border-radius:20px;background:linear-gradient(135deg,#f3f8ff,#f8fbff);box-shadow:var(--v35-shadow);position:relative;overflow:hidden}
 body.v35-subpage .mobile-page-title.v35-page-hero:after{content:"";position:absolute;right:-20px;bottom:-34px;width:105px;height:105px;border-radius:50%;background:rgba(47,127,232,.06)}
 .v35-page-icon{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;background:#e9f3ff;color:var(--v35-blue);position:relative;z-index:2}.v35-page-icon svg{width:26px;height:26px}.v35-page-hero h1{font-size:20px!important;line-height:1.12;margin:0!important;color:var(--v35-navy);font-weight:850;letter-spacing:-.35px}.v35-page-hero p{font-size:10.2px!important;line-height:1.4;margin:5px 0 0!important;color:var(--v35-muted)!important}.v35-spark{font-size:21px;color:#92b8e9;position:relative;z-index:2}
 body.v35-view-attendance .v35-page-hero{background:linear-gradient(135deg,#effcf4,#fbfffd)}body.v35-view-attendance .v35-page-icon{background:#e2f8e9;color:#18ad54}
 body.v35-view-pickup .v35-page-hero,body.v35-view-meals .v35-page-hero{background:linear-gradient(135deg,#fff7e9,#fffdfa)}body.v35-view-pickup .v35-page-icon,body.v35-view-meals .v35-page-icon{background:#fff0d8;color:#f08a09}
 body.v35-view-medication .v35-page-hero,body.v35-view-announcements .v35-page-hero{background:linear-gradient(135deg,#fff0f5,#fffafd)}body.v35-view-medication .v35-page-icon,body.v35-view-announcements .v35-page-icon{background:#ffe5ee;color:#ed3e72}
 body.v35-view-gallery .v35-page-hero,body.v35-view-contracts .v35-page-hero,body.v35-view-surveys .v35-page-hero{background:linear-gradient(135deg,#f3efff,#fcfbff)}body.v35-view-gallery .v35-page-icon,body.v35-view-contracts .v35-page-icon,body.v35-view-surveys .v35-page-icon{background:#ece6ff;color:#704ce4}
 body.v35-view-activities .v35-page-hero,body.v35-view-appointments .v35-page-hero{background:linear-gradient(135deg,#eafafa,#fbffff)}body.v35-view-activities .v35-page-icon,body.v35-view-appointments .v35-page-icon{background:#def7f7;color:#08aeb7}
 body.v35-view-education .v35-page-hero,body.v35-view-tasks .v35-page-hero{background:linear-gradient(135deg,#f2fbe9,#fdfff9)}body.v35-view-education .v35-page-icon,body.v35-view-tasks .v35-page-icon{background:#e7f7d9;color:#65a920}
 /* Toolbar becomes a clean reference header line under the hero */
 body.v35-subpage .v35-toolbar{display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap;margin:0 0 11px;padding:0 2px}.v35-toolbar>div:first-child{min-width:0;flex:1}.v35-toolbar h2{font-size:16px!important;margin:0;color:var(--v35-navy);font-weight:800}.v35-toolbar p{font-size:9px!important;margin:4px 0 0;color:var(--v35-muted)!important}.v35-toolbar .btn{min-height:38px!important;border-radius:13px!important;padding:8px 12px!important;font-size:9px!important;font-weight:800!important;box-shadow:none!important}
 /* Universal cards copied from reference geometry */
 body.v35-subpage .card,body.v35-subpage .metric-card,body.v35-subpage .pickup-banner,body.v35-subpage .child-hero,body.v35-subpage .meal-day{border:1px solid var(--v35-line)!important;border-radius:18px!important;background:#fff!important;box-shadow:var(--v35-shadow)!important}
 body.v35-subpage .card{padding:13px!important;margin-bottom:10px}.v35-card[data-v35-tone="0"]{background:linear-gradient(135deg,#fff,#fbfdff)!important}.v35-card[data-v35-tone="1"]{background:linear-gradient(135deg,#fff,#fbfffe)!important}.v35-card[data-v35-tone="2"]{background:linear-gradient(135deg,#fff,#fffbfc)!important}.v35-card[data-v35-tone="3"]{background:linear-gradient(135deg,#fff,#fdfbff)!important}
 body.v35-subpage .grid,body.v35-subpage .grid-2,body.v35-subpage .grid-3,body.v35-subpage .grid-4,body.v35-subpage .grid-6{gap:9px!important}
 body.v35-subpage .grid-2,body.v35-subpage .grid-3,body.v35-subpage .grid-4,body.v35-subpage .grid-6{grid-template-columns:1fr!important}
 /* Metrics stay compact, colorful and touch-friendly */
 body.v35-subpage .grid:has(>.metric-card){display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:7px!important}.v35-metric{min-height:82px!important;padding:10px!important;border-radius:16px!important}.v35-metric small{font-size:8px!important}.v35-metric b{font-size:20px!important;margin:4px 0!important}.v35-metric .round-icon{width:34px!important;height:34px!important;flex-basis:34px!important}.v35-metric .round-icon svg{width:17px!important;height:17px!important}
 /* Buttons / controls */
 body.v35-reference-all:not(.v33-reference-exact) .btn-primary{background:linear-gradient(90deg,#10c3c5,#0baeb8)!important;border:0!important;color:#fff!important;border-radius:14px!important;font-weight:800!important;box-shadow:0 7px 16px rgba(13,183,187,.17)!important}.btn-teal{border-radius:14px!important}.btn-soft,.btn-outline{border-radius:12px!important}.v35-control{min-height:42px!important;border:1px solid #dfe7ef!important;border-radius:13px!important;background:#fff!important;outline:0!important;font-size:11px!important}.v35-control:focus{border-color:#6fcbd0!important;box-shadow:0 0 0 3px rgba(16,187,195,.09)!important}.search-box{border-radius:14px!important;background:#fff!important;border:1px solid var(--v35-line)!important;box-shadow:0 3px 12px rgba(17,44,78,.04)!important}.filterbar{gap:8px!important;margin-bottom:10px!important}
 /* Tables remain functional but look like a mobile app sheet */
 .v35-table-wrap{border:1px solid var(--v35-line)!important;border-radius:16px!important;overflow:auto!important;background:#fff!important}.v35-table-wrap .table{margin:0!important;min-width:620px}.v35-table-wrap .table th{background:#f7f9fc!important;color:#667894!important;font-size:8px!important;padding:10px 9px!important}.v35-table-wrap .table td{font-size:9px!important;padding:10px 9px!important;border-color:#eef2f6!important}.v35-table-wrap .table tr:last-child td{border-bottom:0}.person-cell b{font-size:10px!important}.student-thumb{width:39px!important;height:39px!important;flex-basis:39px!important}
 /* Lists */
 .v35-list-row{min-height:65px!important;margin:6px 0!important;padding:9px 10px!important;border:1px solid var(--v35-line)!important;border-radius:15px!important;background:#fff!important;box-shadow:0 3px 12px rgba(17,44,78,.035)!important}.v35-list-row .list-main b{font-size:11px!important}.v35-list-row .list-main span{font-size:8.5px!important}.mini-pill{border-radius:999px!important;padding:5px 8px!important;font-size:8px!important}
 /* Activities */
 body.v35-subpage .activity-card{min-height:142px!important;position:relative;overflow:hidden;padding:13px!important}.activity-card .activity-date{background:#fff0f4!important;border:0!important;color:#e3386b!important}.activity-card:nth-child(2n) .activity-date{background:#fff3e4!important;color:#ec8306!important}.activity-card:nth-child(3n) .activity-date{background:#f0edff!important;color:#6840e0!important}.activity-card .activity-art{position:absolute;right:14px;top:14px;font-size:31px}.activity-card h3{margin-top:18px!important;font-size:13px!important}.activity-card p,.activity-card span{font-size:9px!important;color:var(--v35-muted)!important}
 /* Gallery */
 body.v35-subpage .gallery-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:9px!important}.v35-gallery-item{min-height:150px!important;border:1px solid var(--v35-line)!important;border-radius:17px!important;background:#fff!important;box-shadow:var(--v35-shadow)!important;overflow:hidden!important;padding:9px!important}.v35-gallery-item .gallery-art{height:102px!important;border-radius:12px!important;background:linear-gradient(135deg,#edf5ff,#f4efff)!important;font-size:42px!important;display:grid!important;place-items:center!important}.v35-gallery-item b{display:block;font-size:10px!important;margin-top:7px!important}.v35-gallery-item span{font-size:8px!important;color:var(--v35-muted)!important}
 /* Meal plan */
 body.v35-subpage .meal-week{display:grid!important;grid-template-columns:1fr!important;gap:9px!important}.v35-meal-day{padding:11px!important;display:grid!important;grid-template-columns:67px 1fr!important;gap:7px!important}.v35-meal-day .meal-date{grid-row:1/4;min-height:100%!important;border:0!important;border-radius:13px!important;background:#fff5e8!important;color:#e57c05!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important}.v35-meal-day .meal-row{grid-column:2!important;display:grid!important;grid-template-columns:34px 1fr!important;gap:8px!important;align-items:center!important;padding:5px!important;border:0!important}.v35-meal-day .meal-row i{width:34px!important;height:34px!important;border-radius:10px!important;display:grid!important;place-items:center!important}.v35-meal-day .meal-row b{font-size:9px!important}.v35-meal-day .meal-row span{font-size:8.4px!important;color:var(--v35-muted)!important}
 /* Parent pickup / child profile */
 body.v35-subpage .child-hero.compact{display:grid!important;grid-template-columns:66px 1fr!important;gap:10px!important;padding:11px!important}.child-hero.compact .child-photo{width:62px!important;height:62px!important}.pickup-banner{padding:14px!important;display:grid!important;grid-template-columns:1fr 58px!important;align-items:center!important;background:linear-gradient(135deg,#fff7e8,#fff)!important}.pickup-banner h2{font-size:16px!important;margin:0 0 5px!important}.pickup-banner p{font-size:9px!important;margin:0!important;color:var(--v35-muted)!important}.pickup-banner .kid-art{font-size:35px!important}.pickup-process{gap:6px!important}.process-step{border-radius:14px!important}
 /* Contracts / surveys / documents / education */
 body.v35-subpage .contract-grid,body.v35-subpage .document-grid{display:grid!important;grid-template-columns:1fr!important;gap:9px!important}.contract-card h3,.document-card h3,.education-card h3{font-size:13px!important}.contract-card p,.document-card p,.education-card p{font-size:9px!important;line-height:1.5!important}.survey-option{min-height:42px!important;border-radius:13px!important;font-size:10px!important}.survey-option.selected{border-color:#714de2!important;background:#f2efff!important;color:#6840dc!important}
 /* Settings/details */
 body.v35-subpage .detail-grid{grid-template-columns:1fr 1fr!important;gap:8px!important}.detail-grid>div{min-height:66px;padding:10px!important;border:1px solid var(--v35-line)!important;border-radius:14px!important;background:#fafcff!important}.detail-grid span{font-size:8px!important}.detail-grid b{font-size:10px!important}
 /* Bottom nav exactly follows supplied reference geometry */
 body.v35-reference-all:not(.v33-reference-exact) .mobile-bottom.v35-bottom{display:grid!important;grid-template-columns:repeat(5,1fr)!important;position:fixed!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;bottom:calc(5px + env(safe-area-inset-bottom))!important;width:min(calc(100% - 18px),412px)!important;height:67px!important;padding:4px 6px!important;border:1px solid var(--v35-line)!important;border-radius:20px!important;background:rgba(255,255,255,.98)!important;box-shadow:0 8px 26px rgba(21,47,80,.14)!important;z-index:95!important}.v35-bottom .mobile-tab{height:57px!important;min-width:0!important;border:0!important;border-radius:14px!important;background:transparent!important;color:#697991!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;padding:3px!important;position:relative!important}.v35-bottom .mobile-tab svg{width:21px!important;height:21px!important}.v35-bottom .mobile-tab span{font-size:8.5px!important;white-space:nowrap!important}.v35-bottom .mobile-tab.active{color:#0db6bd!important;background:#effbfb!important}.v35-role-parent .v35-bottom .mobile-tab.active{color:#176fe9!important;background:#f0f5ff!important}.v35-bottom .mobile-tab em{position:absolute;right:11px;top:0;width:18px;height:18px;border-radius:50%;background:var(--v35-pink);color:#fff;border:2px solid #fff;font-size:7px;font-style:normal;font-weight:800;display:grid;place-items:center}
 /* Full module sheet, reached from Teacher "Diğer" or Parent avatar. */
 body.v35-reference-all .mobile-menu-panel.v35-menu{display:block!important;position:fixed!important;inset:0!important;z-index:120!important;background:#fff!important;padding:calc(14px + env(safe-area-inset-top)) 15px calc(18px + env(safe-area-inset-bottom))!important;overflow:auto!important;transform:translateY(105%)!important;transition:.2s ease!important}.v35-menu.open{transform:none!important}.v35-menu-top{display:flex;align-items:center;justify-content:space-between;height:51px}.v35-close{width:40px;height:40px;border:1px solid var(--v35-line);border-radius:50%;background:#fff;color:var(--v35-navy);display:grid;place-items:center}.v35-menu-profile{display:grid;grid-template-columns:60px 1fr;gap:11px;align-items:center;margin:12px 0 18px;padding:12px;border-radius:19px;background:linear-gradient(135deg,#0b448d,#072e6d);color:#fff}.v35-menu-profile .profile-photo{width:58px;height:58px;border:3px solid #fff}.v35-menu-profile small{font-size:8px;color:#aee9eb}.v35-menu-profile b{display:block;font-size:15px;margin:2px 0}.v35-menu-profile span{font-size:8.5px;color:#d8e8f7}.v35-menu>h3{font-size:18px;margin:0 0 10px}.v35-menu-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;max-height:none!important;overflow:visible!important}.v35-menu-grid .mobile-menu-item{min-height:67px!important;border:0!important;border-radius:16px!important;padding:10px!important;display:grid!important;grid-template-columns:36px 1fr 12px!important;gap:8px!important;align-items:center!important;background:#f3f8ff!important;color:var(--v35-navy)!important}.v35-menu-grid .mobile-menu-item>i{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;background:#e3f0ff;color:#267ee8}.v35-menu-grid .mobile-menu-item>i svg{width:21px;height:21px}.v35-menu-grid .mobile-menu-item span{font-size:9.5px!important;font-weight:800!important}.v35-menu-grid .mobile-menu-item>b{font-size:17px;color:#8aa0b9}.v35-menu-grid .mobile-menu-item.teal{background:#ecfbfb!important}.v35-menu-grid .mobile-menu-item.teal>i{background:#daf6f6;color:#08adb4}.v35-menu-grid .mobile-menu-item.violet{background:#f4f1ff!important}.v35-menu-grid .mobile-menu-item.violet>i{background:#e9e3ff;color:#6b46df}.v35-menu-grid .mobile-menu-item.amber{background:#fff7ea!important}.v35-menu-grid .mobile-menu-item.amber>i{background:#ffedd1;color:#ed8305}.v35-menu-grid .mobile-menu-item.rose{background:#fff1f5!important}.v35-menu-grid .mobile-menu-item.rose>i{background:#ffe3ec;color:#ed3a70}.v35-menu-grid .mobile-menu-item.mint{background:#effbf5!important}.v35-menu-grid .mobile-menu-item.mint>i{background:#ddf6e9;color:#17a86e}.v35-logout{width:100%;height:48px;margin-top:11px;border:0;border-radius:14px;background:#fff1f3;color:#c83c53;display:flex;align-items:center;justify-content:center;gap:8px;font-size:10px;font-weight:800}.v35-logout svg{width:19px;height:19px}
 body.v35-subpage .content>.footer-credit{display:none!important}
}
@media(max-width:380px){body.v35-reference-all:not(.v33-reference-exact) .content{padding-left:11px!important;padding-right:11px!important}.v35-logo{width:137px}.v35-page-hero h1{font-size:18px!important}.v35-menu-grid{gap:6px!important}}
@media(min-width:961px){body.v35-reference-all.v35-subpage{background:#edf3f8!important}body.v35-reference-all.v35-subpage .content{width:430px!important;margin:20px auto!important;background:#fff!important;border-radius:28px!important;box-shadow:0 0 0 1px #e5edf3,0 20px 60px rgba(20,48,82,.12)!important}}
