*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font:15px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif;color:#253148;background:#fff7f1}a{text-decoration:none;color:inherit}button,input,select{font:inherit}button,a,select{touch-action:manipulation}button{cursor:pointer}.app{max-width:760px;min-height:100dvh;margin:auto;background:#fff9f5;padding-bottom:calc(78px + env(safe-area-inset-bottom));box-shadow:0 0 40px #9d3e1015}.app-head{background:linear-gradient(125deg,#f34d04,#ff7b18 70%,#ffa146);color:white;padding:18px 19px 29px;border-radius:0 0 27px 27px}.head-top{display:flex;align-items:center;justify-content:space-between}.brand{font-size:23px;font-weight:900;letter-spacing:-1px}.brand span{color:#ffe1c6}.head-bell{font-size:27px;position:relative}.ping{position:absolute;right:0;top:5px;background:#fff;width:7px;height:7px;border-radius:50%}.head-copy{margin-top:20px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:800;opacity:.85}.head-copy h1{font-size:24px;line-height:1.15;margin:7px 0}.head-copy p{margin:0;opacity:.94;font-size:13px}.app-main{padding:0 14px 22px;margin-top:-9px}.student-picker{position:relative;display:flex;gap:12px;align-items:center;padding:13px 15px;margin-bottom:17px;background:#fff;border-radius:17px;box-shadow:0 7px 24px #a43e0c17;min-height:75px}.avatar{display:grid;place-items:center;flex:none;width:46px;height:46px;border-radius:50%;background:linear-gradient(130deg,#ffb06b,#f75a0b);color:white;font-size:22px;font-weight:800}.student-meta{min-width:0;flex:1}.student-meta strong,.student-meta small,.student-row strong,.student-row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.student-meta small,.student-row small{font-size:11px;color:#687387}.picker-select{max-width:100px;padding:8px 5px;border:1px solid #ffe1cf;border-radius:10px;background:#fff7f1;color:#c14a09;font-size:11px}.tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:18px}.tile{display:flex;flex-direction:column;gap:2px;min-height:118px;padding:12px 10px;border-radius:17px;transition:transform .2s}.tile:active{transform:scale(.97)}.tile-icon{display:grid;place-items:center;background:#fff;width:37px;height:37px;border-radius:12px;font-size:23px;margin-bottom:8px}.tile strong{font-size:12px}.tile small{font-size:10px;color:#5e6c7b}.mint{background:#e4f8ee;color:#087b4b}.blue{background:#e8efff;color:#245fce}.pink{background:#ffe8eb;color:#dc3f59}.peach{background:#fff0df;color:#d56a03}.gold{background:#fff6d8;color:#bb7a05}.sky{background:#e4f5ff;color:#1878b9}.panel{background:white;border:1px solid #f8e5da;border-radius:20px;padding:18px 16px;margin-bottom:15px;box-shadow:0 7px 22px #a33b0b0a}.panel h2{font-size:17px;margin:0 0 14px;color:#1d2940}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.panel-heading a{color:#ed590b;font-size:12px;font-weight:750}.panel-heading h2{margin-bottom:12px}.item,.message{display:flex;gap:12px;border-top:1px solid #f2f2f2;padding:14px 0}.item strong,.message strong{font-size:13px}.item p,.message p{font-size:12px;color:#687387;margin:5px 0}.message small{display:block;font-size:11px;color:#7b8797}.item-icon{width:37px;height:37px;display:grid;place-items:center;flex:none;border-radius:12px}.orange{background:#fff0e7;color:#e75d0a}.empty,.sub{color:#69778a;font-size:13px}.empty{padding:18px 3px;text-align:center}.student-row{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid #f5e8df}.student-row>span:nth-child(2){min-width:0;flex:1}.chev{margin-left:auto;color:#f36813;font-size:26px}.profile{text-align:center}.profile-circle{display:grid;place-items:center;margin:4px auto 14px;width:95px;height:95px;border-radius:50%;background:linear-gradient(120deg,#ffb274,#fa620c);color:#fff;font-size:47px;font-weight:800}.detail{display:flex;justify-content:space-between;gap:16px;align-items:center;border-bottom:1px solid #f2f2f2;padding:14px 0;font-size:13px}.detail span{color:#667389}.detail strong{text-align:right}.grade{color:#e95b0a;font-size:17px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-bottom:15px}.stat{border-radius:14px;text-align:center;padding:15px 5px}.stat b{display:block;font-size:27px}.stat small{font-size:11px}.map-placeholder{background:repeating-linear-gradient(35deg,#e6eee9 0,#e6eee9 20px,#f5f9f6 20px,#f5f9f6 43px);border-radius:16px;min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;padding:20px;color:#415a68}.map-placeholder span{font-size:44px}.map-placeholder small{max-width:270px}.notice{padding:13px;background:#fff0df;color:#8b430e;border-radius:12px;font-size:13px;margin:12px 0}.error{background:#ffe3e3;color:#a52222}.primary,.secondary,.danger{border:0;border-radius:12px;padding:13px 18px;font-weight:800;display:inline-block;text-align:center;margin-top:10px}.primary{background:linear-gradient(110deg,#ff741b,#f24f06);color:#fff}.secondary{background:#fff0e7;color:#d25308}.danger{background:#fff0ee;color:#bd2e2e}.full{width:100%}.link-btn{font-size:12px}.settings-row{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #f1e9e4;font-weight:650}.settings-row span,.settings-row small{margin-left:auto;color:#7c8897;font-size:11px}.menu-list a{display:flex;align-items:center;gap:13px;padding:10px 0;border-bottom:1px solid #f2f2f2;font-weight:650}.menu-dot{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#fff0e8;color:#f2650b}.unavailable-icon{font-size:54px;color:#f67a2c;text-align:center;padding:20px}.center{text-align:center}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(760px,100%);height:calc(68px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:#fff;box-shadow:0 -4px 24px #9c4d171c;display:flex;align-items:stretch;justify-content:space-around;z-index:10;border-radius:15px 15px 0 0}.bottom-nav a{min-width:0;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#8b94a3;gap:2px}.bottom-nav a span{font-size:24px;line-height:1}.bottom-nav a small{font-size:10px}.bottom-nav a.active{color:#f35a0c;font-weight:800}.auth-shell{min-height:100dvh;background:white;max-width:540px;margin:auto}.auth-hero{background:linear-gradient(140deg,#f94e05,#ff7b12,#ff9e3d);color:white;text-align:center;padding:60px 25px 44px;border-radius:0 0 36px 36px}.brand-icon{font-size:48px}.auth-hero h1{font-size:45px;margin:0;font-weight:900;letter-spacing:-2px}.auth-hero h1 span{color:#ffe7cb}.auth-hero p{margin:0;font-weight:800;letter-spacing:1px}.auth-hero small{display:block;margin-top:14px}.auth-main{padding:27px 24px}.auth-logo{font-size:23px;color:#f45e0b;text-align:center}.auth-main h2{font-size:23px;text-align:center;margin:22px 0 3px}.auth-main>.sub{text-align:center}.auth-form{margin-top:24px}.auth-form label{display:block;margin:15px 0 6px;font-size:13px;font-weight:750}.auth-form input{display:block;width:100%;border:1px solid #e3e5eb;background:#fbfcff;padding:14px;border-radius:12px;outline-color:#f66a0c}.tiny{font-size:11px;margin-top:24px}@media(min-width:800px){.app-head{padding-left:30px;padding-right:30px}.app-main{padding-left:28px;padding-right:28px}.tiles{gap:14px}.tile{min-height:125px}}@media(max-width:340px){.tile{padding:10px 7px}.tile strong{font-size:11px}.app-main{padding-left:10px;padding-right:10px}.picker-select{max-width:78px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
/* V4.76 - Home aprovado: composição responsiva laranja e branco */
:root{--orange:#ff5a0a;--orange2:#ff8b20;--ink:#122037}
.app{max-width:852px;background:#fff;overflow:hidden}.app-head.home-head{min-height:312px;border-radius:0;background:linear-gradient(100deg,#ff4d05 0%,#ff7413 55%,#ff9c2b 100%);padding:15px 22px 78px;position:relative;isolation:isolate;overflow:hidden}.app-head.home-head:after{content:"";position:absolute;z-index:-1;right:0;top:57px;width:57%;height:245px;background:url('../assets/familia-banner.webp') center 31%/cover no-repeat;mask-image:linear-gradient(to right,transparent 0%,#000 23%);-webkit-mask-image:linear-gradient(to right,transparent 0%,#000 23%);border-radius:0 0 0 65px}.home-head .head-top{background:rgba(255,255,255,.97);color:var(--ink);margin:-15px -22px 0;padding:18px 22px 15px;border-radius:0 0 25px 25px;min-height:88px}.brand{display:flex;align-items:center;gap:7px;font-size:30px;line-height:1}.brand-book{font-size:39px;filter:drop-shadow(0 2px 1px #fd6b1840)}.brand-text{display:flex;flex-direction:column;letter-spacing:-1.3px}.brand-text>span{color:var(--orange)}.brand-text small{font-size:9px;letter-spacing:.8px;font-weight:800;margin-top:4px}.head-actions{display:flex;gap:10px}.head-bell,.head-profile{display:grid;place-items:center;width:43px;height:43px;border-radius:50%;background:#fff5ec;color:#f45109;font-size:26px;box-shadow:0 3px 10px #a9461919}.home-head .head-copy{position:relative;margin-top:43px;max-width:55%;text-shadow:0 1px 2px #8a310822}.home-head .head-copy h1{font-size:clamp(24px,5vw,39px);font-weight:900;letter-spacing:-.6px}.home-head .head-copy p{font-size:clamp(12px,2.6vw,18px);line-height:1.45}.app-main{margin-top:-46px;position:relative;z-index:1;padding:0 18px 25px}.student-picker{min-height:115px;padding:16px 19px;margin-bottom:16px;border-radius:27px;box-shadow:0 7px 22px #a75c2720}.student-picker .avatar{width:75px;height:75px;font-size:35px;background:linear-gradient(130deg,#ffe3cf,#f77529);border-radius:22px}.student-meta strong{font-size:clamp(13px,3.2vw,20px);color:#102039}.student-meta small{font-size:12px;margin-top:2px}.student-registration{color:#e15a0d!important;font-weight:750}.picker-wrap{position:relative;display:grid;place-items:center;flex:none;min-width:100px;padding:11px 12px;border-radius:35px;color:#fff;background:linear-gradient(110deg,#ff751b,#fb4b08);font-size:11px;font-weight:800;box-shadow:0 3px 7px #ee5b1233}.picker-wrap .picker-select{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;max-width:none}.home-tiles{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.home-tiles .tile{min-height:144px;align-items:center;text-align:center;justify-content:center;border-radius:17px;padding:10px 4px;box-shadow:inset 0 0 1px #fff}.home-tiles .tile-icon{font-size:36px;width:53px;height:53px;margin-bottom:8px;background:transparent;line-height:1;font-weight:900;filter:drop-shadow(0 3px 1px #00000013)}.home-tiles .tile strong{font-size:14px;color:#172238}.home-tiles .tile small{font-size:11px;color:#354257}.lilac{background:#e9d7ff;color:#8a3bd2}.rose{background:#ffe1e9;color:#dc4a73}.home-sections{display:grid;grid-template-columns:1fr 1fr;gap:13px}.home-panel{min-width:0;padding:16px 15px;border:1px solid #eceef1;border-radius:20px;min-height:190px}.home-panel .panel-heading h2{font-size:17px}.home-panel .panel-heading a{white-space:nowrap}.home-panel .item{padding:9px 0}.home-panel .item small{display:block;font-size:10px;color:#7a8394}.home-panel .empty{padding:16px 4px}.student-id-banner{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px;padding:18px 22px;border-radius:21px;min-height:142px;background:radial-gradient(circle at 82% 35%,#ffa235,transparent 48%),linear-gradient(115deg,#ff5104,#ff7c15);color:#fff;overflow:hidden}.id-banner-content{display:flex;flex-direction:column;gap:7px;max-width:65%}.id-banner-content strong{font-size:clamp(16px,3vw,24px);line-height:1.1}.id-banner-content small{font-size:12px;line-height:1.35}.id-banner-button{display:inline-block;width:max-content;border-radius:25px;padding:8px 18px;background:#fff;color:#ef4d05;font-weight:800;font-size:12px;margin-top:4px}.id-card-art{display:flex;position:relative;flex-direction:column;justify-content:center;gap:6px;width:155px;min-height:90px;flex:none;background:linear-gradient(145deg,#fff,#fff4e8);color:#14243b;border:3px solid white;border-radius:11px;transform:rotate(9deg);padding:12px 9px;box-shadow:0 8px 16px #b73c1350;overflow:hidden}.id-card-art>span:first-child{font-weight:900;color:#f45c0b;font-size:13px}.id-card-art b{font-size:10px;max-width:100px;line-height:1.2}.id-card-art small{font-size:9px}.qr-art{position:absolute;right:8px;bottom:10px;font-size:32px;color:#222}.bottom-nav{border-radius:24px 24px 0 0}.bottom-nav a.active{color:#ff5b08}.bottom-nav a.active:after{content:"";height:3px;background:#ff5b08;width:70%;border-radius:6px;position:absolute;bottom:7px}.bottom-nav a{position:relative}.bottom-nav a span{font-size:29px}@media(max-width:480px){.app-head.home-head{min-height:275px;padding-bottom:67px}.app-head.home-head:after{top:73px;height:205px;width:61%}.home-head .head-copy{margin-top:42px;max-width:51%}.home-head .head-copy h1{font-size:26px}.home-head .head-copy p{font-size:12px}.app-main{padding:0 12px 18px}.student-picker{padding:11px;min-height:96px;gap:8px}.student-picker .avatar{width:56px;height:60px;font-size:28px}.student-meta strong{font-size:13px}.student-meta small{font-size:10px}.picker-wrap{min-width:75px;padding:9px 6px;font-size:9px}.home-tiles{gap:7px}.home-tiles .tile{min-height:105px;border-radius:13px}.home-tiles .tile-icon{font-size:27px;width:36px;height:37px;margin-bottom:4px}.home-tiles .tile strong{font-size:10.5px}.home-tiles .tile small{font-size:9px}.home-sections{gap:7px}.home-panel{padding:12px 9px;border-radius:14px}.home-panel .panel-heading h2{font-size:12px}.home-panel .panel-heading a{font-size:9px}.home-panel .item strong{font-size:11px}.home-panel .item p{font-size:10px}.home-panel .item-icon{display:none}.student-id-banner{padding:13px 14px;min-height:115px}.id-card-art{width:110px;min-height:72px}.id-card-art>span:first-child{font-size:10px}.id-banner-content small{font-size:10px}.id-banner-button{padding:7px 12px;font-size:10px}}@media(max-width:350px){.home-tiles .tile strong{font-size:9px}.home-tiles .tile small{font-size:8px}.home-head .head-copy h1{font-size:22px}.id-card-art{width:88px}.student-picker .avatar{width:43px;height:47px}.picker-wrap{min-width:62px}}

/* V4.77: correspondência efetiva entre o HTML e a página inicial */
.app-head.home-head:after{z-index:0;opacity:.95}.home-head .head-top,.home-head .head-copy{z-index:2}.home-head .head-top{position:relative}.home-head .head-copy{position:relative}.home-head .head-copy h1,.home-head .head-copy p{max-width:100%}.home-tiles{grid-template-columns:repeat(4,minmax(0,1fr))}.home-tiles .tile{align-items:center;justify-content:center;text-align:center;min-height:115px;box-shadow:0 2px 9px #9d4e1712}.home-tiles .tile-icon{font-size:29px;background:transparent;width:auto;height:43px;margin-bottom:5px}.home-tiles .tile strong{font-size:clamp(11px,2.7vw,16px)}.home-tiles .tile small{font-size:clamp(10px,2.1vw,12px)}.lilac{background:#eee0ff;color:#7b32b9}.rose{background:#ffe2e9;color:#c63c6c}.home-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.home-info-grid .panel{min-width:0}.id-banner{display:flex;justify-content:space-between;align-items:center;gap:14px;min-height:150px;background:linear-gradient(125deg,#ff4904,#ff8c22);color:white;border-radius:21px;padding:20px;margin-bottom:15px;overflow:hidden}.id-banner>span:first-child{display:flex;flex-direction:column;gap:7px;max-width:62%}.id-banner strong{font-size:clamp(17px,4vw,25px);line-height:1.15}.id-banner small{font-size:12px}.id-banner em{display:inline-block;align-self:start;background:#fff;color:#ef4e08;font-style:normal;font-weight:800;padding:8px 13px;border-radius:30px;font-size:12px}.id-card-art{display:flex;flex-direction:column;justify-content:center;align-items:center;width:34%;aspect-ratio:1.6;background:linear-gradient(150deg,#fff,#ffe9d8);color:#f45509;border:4px solid white;border-radius:13px;transform:rotate(8deg);box-shadow:0 7px 20px #903e1844;font-size:28px}.id-card-art b{font-size:clamp(11px,2.5vw,21px);color:#172238}.id-card-art small{font-size:7px!important;color:#555}.student-picker{z-index:3}.app-head:not(.home-head){min-height:150px}.app-head:not(.home-head) .head-top{position:relative}.app-head:not(.home-head) .head-copy{margin-top:14px}.head-profile{font-size:20px}.brand-text{font-size:25px;font-weight:900}.brand-text>span{display:inline;color:#f05b0d}.brand-text small{display:block;color:#273044}.home-head .head-top .brand{color:#172238}.home-head .head-copy{margin-top:35px}.student-picker .student-registration{color:#f35b0c}.home-info-grid .item{padding:9px 0}@media(max-width:460px){.app-head.home-head{min-height:260px;padding-bottom:65px}.app-head.home-head:after{height:170px;top:88px;width:60%}.home-head .head-copy{margin-top:25px;max-width:54%}.home-head .head-copy h1{font-size:26px}.home-head .head-copy p{font-size:12px}.brand-text{font-size:20px}.brand-book{font-size:27px}.home-head .head-top{min-height:72px}.head-bell,.head-profile{width:34px;height:34px;font-size:18px}.student-picker{min-height:100px;padding:10px;gap:8px}.student-picker .avatar{width:51px;height:51px;border-radius:13px;font-size:25px}.student-meta strong{font-size:13px}.student-meta small{font-size:10px}.picker-select{max-width:75px}.home-tiles{gap:8px}.home-tiles .tile{padding:8px 3px;min-height:100px;border-radius:14px}.home-tiles .tile-icon{font-size:23px}.home-info-grid{grid-template-columns:1fr;gap:0}.id-banner{min-height:125px;padding:14px}.id-banner small{font-size:11px}}@media(max-width:360px){.home-tiles{grid-template-columns:repeat(4,minmax(0,1fr))}.home-tiles .tile strong{font-size:10px}.home-tiles .tile small{font-size:9px}}

/* V4.78: imagens realistas aprovadas, sem números fictícios nos cartões */
.home-tiles .tile-icon{width:min(76px,82%);height:76px;overflow:hidden;border-radius:16px;display:grid;place-items:center;margin-bottom:5px;filter:drop-shadow(0 4px 4px #283e4d17)}
.home-tiles .tile-icon img{display:block;width:100%;height:100%;object-fit:cover;mix-blend-mode:multiply;mask-image:radial-gradient(ellipse 65% 68% at center,#000 48%,transparent 100%);-webkit-mask-image:radial-gradient(ellipse 65% 68% at center,#000 48%,transparent 100%)}
.home-tiles .tile{min-height:150px;box-shadow:0 3px 11px #9d4e1710}
.home-tiles .tile strong{font-weight:850}
.head-bell,.head-profile{background:#fff;color:#ff5b0a}.head-bell svg,.head-profile svg{display:block}.head-bell .ping{width:14px;height:14px;background:#f13b31;border:2px solid white;right:1px;top:0}
.id-banner{position:relative;isolation:isolate;min-height:170px;background:linear-gradient(100deg,#ff4c06 0%,#ff6509 56%,#ffa13c 100%)}
.id-banner:before{content:"";position:absolute;inset:0;background:url('carteirinha-bg.webp?v=478') center/cover;opacity:.14;z-index:-1}
.id-card-scene{position:relative;display:flex;align-items:center;justify-content:center;width:39%;flex:none;perspective:600px;filter:drop-shadow(3px 8px 7px #7d280c70)}
.id-card-live{display:flex;flex-direction:column;justify-content:center;width:100%;aspect-ratio:1.65;max-width:270px;transform:rotate(9deg) rotateY(-7deg);border-radius:13px;border:3px solid #fff;background:radial-gradient(circle at 100% 10%,#ffc07b 0,transparent 47%),linear-gradient(120deg,#fff 0%,#fff4e9 65%,#ffab65 100%);box-shadow:inset 0 0 0 2px #ffd6b4,0 7px 16px #87290655;padding:9px 10px;overflow:hidden;color:#12213b}
.id-card-title{font-size:clamp(11px,2.8vw,21px);font-weight:950;line-height:1.05;letter-spacing:-.6px}.id-card-title span{color:#f55d0b}.id-card-caption{font-size:clamp(5px,1.1vw,9px);color:#f05c0c;font-weight:800;letter-spacing:.3px;margin-top:3px}.id-card-identity{display:flex;align-items:center;gap:5px;margin-top:8px;min-width:0}.id-card-person{display:grid;place-items:center;flex:none;width:25%;aspect-ratio:.8;border-radius:6px;background:linear-gradient(140deg,#ffe3c9,#f0a46e);font-size:clamp(12px,3vw,24px)}.id-card-fields{min-width:0;display:flex;flex-direction:column;flex:1}.id-card-fields b{font-size:clamp(7px,1.6vw,12px);line-height:1.15;max-height:3em;overflow:hidden}.id-card-fields small{font-size:clamp(6px,1.2vw,10px);color:#596273;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.id-card-pattern{font-size:clamp(17px,3vw,30px);color:#15243b}
.bottom-nav a span svg{display:block}.bottom-nav a.active svg{fill:#ff5b0a20}.bottom-nav a span{height:29px;display:grid;place-items:center}
@media(max-width:460px){.home-tiles .tile{min-height:105px}.home-tiles .tile-icon{height:51px;width:51px;margin-bottom:1px}.id-banner{min-height:133px}.id-card-live{padding:6px;border-width:2px;border-radius:9px}.id-card-identity{margin-top:4px}.id-banner>span:first-child{max-width:60%}}
@media(max-width:350px){.home-tiles .tile-icon{width:40px;height:40px}.id-card-scene{width:36%}}
