/* ===== bloco 1 (movido do index.html sem alterações) ===== */
:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#f6f5f4;background:#080f18;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100dvh;background:radial-gradient(ellipse at 75% -10%,#1e3047 0%,transparent 45%),#080f18}button,input,textarea,select{font:inherit}button{cursor:pointer;border:0;color:inherit}header{padding:24px 20px 15px;display:flex;align-items:center;justify-content:space-between;max-width:1100px;margin:auto}header h1{font-size:24px;letter-spacing:.045em;font-weight:750;color:#f4f6fb;margin:0}header h1 span{color:#eac174}header small{font-size:10px;letter-spacing:.22em;color:#a6aeba}.brand{display:flex;align-items:center;gap:12px}.brandmark{font-size:31px;color:#e7b957}main{max-width:1100px;margin:auto;padding:0 16px 110px}.iconbtn{border:1px solid #354050;border-radius:14px;background:#192331;padding:12px}.hero{border-radius:20px;padding:26px 20px;margin:4px 0 16px;min-height:180px;background:linear-gradient(90deg,#0b1420 4%,rgba(11,20,32,.88) 50%,rgba(11,20,32,.35)),radial-gradient(ellipse at 80% 40%,#365579,#0b1420 65%);display:flex;flex-direction:column;justify-content:center}.hero h2{font-size:28px;margin:0 0 8px}.hero p{color:#c1c6d0;font-size:16px;line-height:1.5;max-width:260px;margin:0}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tile,.panel{border:1px solid #283342;background:linear-gradient(145deg,#131f2c,#101924);border-radius:19px;box-shadow:0 6px 22px #0002}.tile{display:flex;align-items:center;text-align:left;gap:12px;min-height:112px;padding:16px 13px;width:100%}.tile strong{font-size:13px;letter-spacing:.02em;display:block}.tile small{font-size:12px;color:#aab4c4;display:block;line-height:1.5;margin-top:5px}.tile .glyph{font-size:26px;flex:0 0 44px;height:50px;border-radius:14px;background:#20314a;display:grid;place-items:center}.tile.feature{min-height:118px;border-color:#7d6238;background:linear-gradient(130deg,#3a2c1b,#151c23)}.tile.feature .glyph{background:#624823;color:#ffd88a;border:1px solid #d2a65d}.tile:active{transform:scale(.98)}.sectionhead{display:flex;align-items:center;justify-content:space-between;margin:26px 3px 12px}.sectionhead h2{font-size:18px;margin:0}.panel{padding:18px;margin:16px 0}.panel h2{font-size:20px;margin:0 0 16px}.panel h3{font-size:15px}.panel p,.muted{color:#b8c0cc}.panel input,.panel textarea{width:100%;background:#0a1421;border:1px solid #394658;border-radius:12px;padding:13px;color:#fff;margin:7px 0 12px;outline:none}.panel input[type=checkbox]{width:auto}.panel button,.action{background:#263b54;padding:12px 16px;border-radius:12px;font-weight:650;margin:4px 4px 4px 0}.panel button.primary,.action.primary{background:#d2a451;color:#14110c}.actions{display:flex;gap:6px;flex-wrap:wrap}ul{list-style:none;padding:0}li{padding:12px 0;border-bottom:1px solid #29384a;overflow-wrap:anywhere}li button{font-size:12px}#stage{min-height:130px;background:#05090e;border-radius:15px;display:grid;place-items:center;padding:16px;text-align:center;white-space:pre-wrap;font-size:24px;color:#fff}.schedule{display:grid;grid-template-columns:62px 1fr;gap:12px;padding:0 0 0 2px;margin:0;position:relative}.schedule .time{color:#d4a957;font-weight:750;font-variant-numeric:tabular-nums;padding-top:17px;font-size:14px}.schedule .event{border-left:2px solid #334253;padding:15px 0 19px 18px;min-width:0;position:relative}.schedule .event:before{content:'';position:absolute;width:9px;height:9px;left:-6px;top:21px;background:#d4a957;border-radius:50%;box-shadow:0 0 0 4px #182434}.schedule:last-child .event{border-left-color:transparent}.schedule .event strong{display:block;color:#f6f5f4;font-size:15px;line-height:1.35}.schedule .event small{display:block;color:#aeb9c8;font-size:13px;margin-top:5px}.schedule .event .itemactions{display:flex;gap:7px;margin-top:9px}.schedule .event .itemactions button{font-size:11px;padding:6px 9px;margin:0;background:#263b54}.schedule b{color:#e9ba68}.bottomnav{position:fixed;z-index:10;bottom:0;left:0;right:0;display:flex;justify-content:space-around;align-items:center;padding:12px 8px calc(12px + env(safe-area-inset-bottom));background:#111b28ee;backdrop-filter:blur(18px);border-top:1px solid #2d3949}.bottomnav button{background:none;display:flex;align-items:center;flex-direction:column;gap:5px;font-size:10px;color:#aeb9c8;min-width:48px}.bottomnav button span{font-size:22px}.bottomnav button.active{color:#edbd67}.bottomnav .projectnav{transform:translateY(-15px)}.bottomnav .projectnav span{border-radius:50%;width:58px;height:58px;display:grid;place-items:center;background:#3a2e1e;border:2px solid #e9b964;color:#ffd27b;box-shadow:0 0 24px #e9b96430}.hidden{display:none}@media(min-width:780px){main{padding-bottom:50px}.bottomnav{max-width:680px;left:50%;transform:translateX(-50%);border-radius:22px 22px 0 0}.hero{min-height:220px}.tile strong{font-size:16px}.tile small{font-size:14px}.grid{grid-template-columns:repeat(4,1fr)}}

/* Tema claro IASD Studio: mantém o layout e a tela de projeção escura */
:root{color-scheme:light;color:#203047;background:#f5f7fb}
body{color:#203047;background:radial-gradient(ellipse at 85% -12%,#e7eefb 0%,transparent 47%),#f5f7fb}
header h1{color:#17283d}header h1 span{color:#b48735}header small{color:#65758c}.brandmark{color:#bb8b36}
.iconbtn{color:#34435b;border-color:#dbe2ec;background:#fff;box-shadow:0 3px 12px #23344b0c}
.hero{background:linear-gradient(100deg,#edf3ff 0%,#e6edf9 60%,#f8f1e5 100%);border:1px solid #dce5f0;box-shadow:0 7px 25px #25364b0b}
.hero h2{color:#1d2d42}.hero p{color:#627187}
.tile,.panel{background:#fff;border-color:#e0e6ee;box-shadow:0 5px 20px #20334d0a;color:#23344b}
.tile strong,.panel h2,.panel h3,.sectionhead h2{color:#23344b}
.tile small,.panel p,.muted{color:#65758a}
.tile .glyph{background:#eff3fb}
.tile.feature{background:linear-gradient(130deg,#fff7e9,#fffdf9);border-color:#e8ce9e}
.tile.feature .glyph{background:#faedcf;border-color:#e8ce9e;color:#9c6a19}
.panel input,.panel textarea,.panel select{background:#f9fbfe!important;border-color:#d6dfeb!important;color:#24364b!important}
.panel input::placeholder,.panel textarea::placeholder{color:#8492a5}
.panel button,.action{background:#eaf0f8;color:#324761}
.panel button.primary,.action.primary{background:#d9ad5d;color:#30220c}
li{border-color:#e6ebf2}
.schedule .time,.schedule b{color:#a77726}
.schedule .event{border-left-color:#dbe2eb}
.schedule .event:before{background:#c69640;box-shadow:0 0 0 4px #f4f6fa}
.schedule .event strong{color:#26364b}.schedule .event small{color:#728097}
.schedule .event .itemactions button{background:#eaf0f8;color:#324761}
.bottomnav{background:#ffffffef;border-top-color:#dfe6ee;box-shadow:0 -8px 24px #1c2e4510}
.bottomnav button{color:#6e7b8f}.bottomnav button.active{color:#a67525}
.bottomnav .projectnav span{background:#fff1d7;border-color:#d4a34d;color:#9a671c;box-shadow:0 0 20px #d5a24b22}
#stage{background:#0c1624;color:#fff}
#bresult .panel{background:#f7f9fd!important}
#bresult .panel p{color:#283a50!important}

/* Visual IASD Studio: branco perolado, azul profundo e dourado */
:root{color-scheme:light;color:#12284b;background:#fff}
body{background:radial-gradient(ellipse at 95% 0%,#fff0d4 0%,transparent 27%),radial-gradient(ellipse at 0% 5%,#e7f1ff 0%,transparent 37%),linear-gradient(165deg,#fff 25%,#f7faff 65%,#fffaf1 100%);color:#152d50}
header{padding:30px 19px 23px}.brand{gap:13px}.brandmark{display:grid;place-items:center;width:49px;height:58px;font-size:35px;color:#ba872d;filter:drop-shadow(0 2px 2px #c79c5133)}
header h1{font-size:clamp(23px,6vw,33px);font-weight:850;letter-spacing:.055em;color:#0b254c}header h1 span{color:#b9872c}header small{font-size:9px;letter-spacing:.25em;color:#344b6c;font-weight:650}
.iconbtn{width:51px;height:51px;border:1px solid #fff;background:linear-gradient(135deg,#fff,#f2f6ff);border-radius:17px;box-shadow:0 6px 22px #275a9c1c;font-size:24px;color:#143360}
main{padding:0 15px 115px}
.hero{position:relative;overflow:hidden;min-height:236px;margin:0 0 15px;padding:29px 25px;border:1px solid #5c9cf4;border-radius:23px;background:linear-gradient(145deg,#1d65d2 0%,#0d3c87 43%,#061f4e 100%);box-shadow:0 12px 26px #164b9325;color:#fff;justify-content:flex-start}
.hero:before{content:'';position:absolute;right:-60px;top:-95px;width:270px;height:270px;border-radius:40%;background:linear-gradient(145deg,#6fb1ff50,#205fb40b);transform:rotate(37deg)}.hero:after{content:'';position:absolute;right:-32px;bottom:-65px;width:250px;height:135px;border-radius:50%;background:linear-gradient(155deg,#3d8bf34a,#e7b9651e);transform:rotate(-24deg)}
.hero .eyebrow{font-size:11px;font-weight:750;letter-spacing:.32em;color:#dbe9ff;margin-bottom:12px;z-index:1}.hero h2{font-size:clamp(27px,7vw,38px);font-weight:850;line-height:1.13;color:#fff;max-width:335px;z-index:1}.hero h2 em{color:#ffd88e;font-style:normal}.hero .goldline{width:50px;height:3px;border-radius:9px;background:#edbd65;margin:15px 0;z-index:1}.hero p{font-size:15px;line-height:1.5;color:#e6efff;max-width:245px;z-index:1}.hero .hero-watermark{position:absolute;right:20px;bottom:30px;font-size:100px;line-height:1;opacity:.1;color:#fff;transform:rotate(-14deg)}
.grid{gap:12px}.tile,.panel{background:linear-gradient(150deg,#fff,#fefeff);border:1px solid #e2eaf5;border-radius:22px;box-shadow:0 7px 23px #183a7210;color:#0f2952}
.tile{min-height:172px;padding:18px 17px;align-items:flex-start;flex-direction:column;gap:9px;position:relative;overflow:hidden;justify-content:flex-start}
.tile:after{content:'';position:absolute;bottom:-35px;right:-25px;width:125px;height:72px;border-radius:50%;background:linear-gradient(135deg,#dcecff,#a8d1ff);transform:rotate(-21deg);opacity:.7}
.tile:nth-child(odd):after{background:linear-gradient(135deg,#fff3d9,#f6d18b)}
.tile strong{font-size:18px;letter-spacing:-.025em;font-weight:800;color:#102a53;position:relative;z-index:1}
.tile small{font-size:13px;line-height:1.35;color:#526785;max-width:190px;position:relative;z-index:1}
.tile .glyph{width:55px;height:55px;flex:0 0 55px;border-radius:50%;background:linear-gradient(140deg,#eaf2ff,#dceaff);color:#1159bd!important;font-size:26px;z-index:1}
.tile:nth-child(odd) .glyph{background:linear-gradient(135deg,#fff7e9,#ffedca);color:#b78127!important}
.tile.feature{min-height:172px;border-color:#e2eaf5;background:linear-gradient(150deg,#fff,#fefeff)}
.tile.feature .glyph{background:linear-gradient(135deg,#fff7e9,#ffedca);border:0;color:#b78127!important}
.tile .tile-arrow{position:absolute;right:16px;top:66px;width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#eff4fd;color:#193b6e;font-size:24px;z-index:1}
.panel{border-color:#e4eaf2}.panel p,.muted{color:#526785}.sectionhead h2{color:#17355f}
.bottomnav{background:#ffffffed;border:1px solid #e6ebf4;border-bottom:0;box-shadow:0 -7px 25px #13396513;border-radius:23px 23px 0 0}
.bottomnav button{color:#526889}.bottomnav button.active{color:#ae7b27}.bottomnav .projectnav span{background:linear-gradient(135deg,#ffdfa3,#b67d1d);color:#fff;border:5px solid #fff;box-shadow:0 3px 18px #aa742e50;width:67px;height:67px}
.verse-card{margin:17px 0 8px;padding:21px 23px;background:linear-gradient(145deg,#fff,#fffaf1);border:1px solid #e7e7e9;border-radius:23px;box-shadow:0 7px 22px #193b6c0c;display:flex;gap:16px;align-items:center}
.verse-card .stripe{width:4px;align-self:stretch;min-height:64px;background:linear-gradient(#d8a450,#a97422);border-radius:6px}
.verse-card blockquote{margin:0;color:#1a3358;font:italic 17px/1.45 Georgia,serif}.verse-card small{display:block;color:#aa792e;font-size:11px;letter-spacing:.19em;font-weight:750;margin-top:11px}
@media(min-width:780px){main{padding-bottom:65px}.tile{min-height:180px}.hero{min-height:260px}.grid{grid-template-columns:repeat(3,1fr)}}

/* Tema cinza queimado aprovado: preserva os cartões brancos e o banner azul */
:root{background:#636b76;color:#f8fafc}
body{background:radial-gradient(ellipse at 90% -10%,#8e7a5e 0%,transparent 29%),radial-gradient(ellipse at 3% 18%,#454e5a 0%,transparent 42%),linear-gradient(145deg,#414b58 0%,#858c96 46%,#505965 100%);background-attachment:fixed;color:#f8fafc}
header h1{color:#fff}header h1 span{color:#f3c475}header small{color:#e0e5ed}.brandmark{color:#e7b75c}
.iconbtn{background:linear-gradient(145deg,#ffffff38,#ffffff13);border:1px solid #ffffff72;color:#fff;box-shadow:0 8px 22px #101c2c26;backdrop-filter:blur(12px)}
.hero{border-color:#4987c0;box-shadow:0 12px 30px #1522354d}
.tile{box-shadow:0 10px 25px #20293629}
.verse-card{background:linear-gradient(115deg,#59626e,#3d4652 65%,#a38a62);border:1px solid #ffffff75;box-shadow:0 8px 25px #17233432}
.verse-card blockquote{color:#fff}.verse-card small{color:#f4c875}.verse-card .stripe{background:#f0c46f}
.bottomnav{background:linear-gradient(145deg,#646c76eF,#444d59f2);border-color:#ffffff4d;box-shadow:0 -8px 28px #17202c40;backdrop-filter:blur(22px)}
.bottomnav button{color:#f1f3f7}.bottomnav button.active{color:#f7c56d}.bottomnav .projectnav span{background:linear-gradient(145deg,#f9d28c,#b67b19);border:5px solid #e9e9e9;color:#fff}
.schedule-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.schedule-group{display:flex;flex-direction:column;gap:7px;text-align:left;padding:15px;background:#f4f7fc;color:#19345a;border:2px solid #e0e7f0;border-radius:14px;min-height:88px}.schedule-group strong{font-size:14px;line-height:1.35}.schedule-group small{font-size:12px;color:#61748e}.schedule-group.selected{border-color:#c99a46;background:#fff8e9}.panel button.danger-btn{background:#fee8e8;color:#a32d38}.panel label{display:block;font-weight:650;margin-top:12px;margin-bottom:4px;color:#233b5e}@media(min-width:780px){.schedule-groups{grid-template-columns:repeat(3,minmax(0,1fr))}}
.schedules-panel{padding:15px 16px!important}.schedules-heading{margin:0 0 12px!important;gap:8px}.schedules-heading h2{font-size:17px!important}.schedules-heading .actions{display:flex;gap:5px;flex-wrap:nowrap;align-items:center}.schedules-heading .actions button{margin:0;padding:8px 11px;font-size:13px;white-space:nowrap}.schedules-heading .actions .scroll-arrow{width:33px;height:33px;padding:0;font-size:24px;line-height:1;background:#edf2f9;color:#284567;border:1px solid #dce4ef}
.schedule-groups{display:flex!important;grid-template-columns:none!important;gap:9px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#c6a062 transparent;padding:2px 2px 9px;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.schedule-group{flex:0 0 165px;min-width:165px;max-width:165px;min-height:62px!important;padding:10px 12px!important;border-radius:12px!important;scroll-snap-align:start;gap:4px!important}
.schedule-group strong{font-size:13px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;width:100%}.schedule-group small{font-size:11px!important}
@media(min-width:780px){.schedule-group{flex-basis:185px;min-width:185px;max-width:185px}.schedules-panel{padding:17px 20px!important}}
.image-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}.image-card{background:#f6f8fc;border:1px solid #dfe6f0;border-radius:15px;overflow:hidden;min-width:0}.image-card img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}.image-card-actions{padding:9px;display:flex;flex-wrap:wrap;gap:4px}.image-card-actions button{font-size:11px;padding:8px 9px;margin:0}.image-upload{display:inline-block;padding:12px 16px;border-radius:12px;background:#d4a653;color:#21170c;font-weight:750;cursor:pointer}@media(min-width:780px){.image-gallery{grid-template-columns:repeat(4,minmax(0,1fr))}}.site-custom-icon{width:34px;height:34px;object-fit:contain}.asset-slots{display:grid;gap:8px;margin:12px 0 20px}.asset-slot{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid #dce3ed;border-radius:12px}.asset-slot span{flex:1}.asset-slot img{width:50px;height:42px;object-fit:contain}.asset-slot small{color:#8a96a7}.image-card-actions select{width:100%;min-width:0;border-radius:9px;padding:9px}.image-card-actions{display:flex;flex-wrap:wrap}.image-card-actions button{flex:1}.image-card video{display:block;width:100%;aspect-ratio:4/3;object-fit:contain;background:#101924}.media-filename{padding:8px 10px;font-size:12px;overflow-wrap:anywhere;color:#39475a}.site-video-banner{height:190px;border-radius:18px;overflow:hidden;margin-bottom:12px}.site-video-banner video{width:100%;height:100%;object-fit:cover}.image-upload{margin:8px 0}
/* Refined IASD desktop and mobile interface */
body{background:#f3f5f7!important;color:#18283c!important}
header{max-width:1200px;padding:23px 22px 18px}
header h1{letter-spacing:.015em;font-weight:800;color:#192b43}
header h1 span{color:#bd924d}
header small{color:#798598;letter-spacing:.16em}
.brandmark{width:43px;height:43px;font-size:27px}
.header-actions{display:flex;gap:10px;align-items:center}
.preview-launch{display:inline-flex;align-items:center;background:#192f4b;color:#fff;border-radius:11px;padding:12px 15px;font-weight:700;font-size:12px}
.iconbtn{width:43px;height:43px;border-radius:11px;box-shadow:none;border:1px solid #e3e7ee;background:#fff}
main{max-width:1200px;padding:0 22px 105px}
.hero{min-height:218px;border:0;border-radius:15px;padding:30px 34px;margin-bottom:18px;background:linear-gradient(110deg,#14253c,#264768);box-shadow:none}
.hero:before,.hero:after{display:none}
.hero h2{font-size:clamp(28px,3vw,39px);letter-spacing:-.035em}
.hero p{max-width:370px;font-size:14px}
.hero .goldline{width:37px}
.grid{gap:13px}
.tile,.panel{background:#fff;border:1px solid #e5e9ee;border-radius:14px;box-shadow:none}
.tile,.tile.feature{min-height:151px;padding:19px;background:#fff;gap:8px;transition:transform .18s,border-color .18s}
.tile:hover{transform:translateY(-2px);border-color:#bdccdd}
.tile:after,.tile:nth-child(odd):after{display:none}
.tile .glyph,.tile:nth-child(odd) .glyph,.tile.feature .glyph{width:43px;height:43px;flex:0 0 43px;border-radius:11px;background:#edf2f8;color:#385a80!important;font-size:21px}
.tile:nth-child(odd) .glyph,.tile.feature .glyph{background:#f8f0e3;color:#ae8037!important}
.tile strong{font-size:16px;letter-spacing:-.015em}
.tile small{font-size:12px;color:#718094}
.tile .tile-arrow{top:19px;right:16px;background:transparent;color:#a2adbc}
.panel{padding:22px}
.bottomnav{background:#fff;border:1px solid #e5e9ee;box-shadow:0 3px 12px #18283c12}
@media(min-width:900px){main{padding-bottom:40px}.bottomnav{position:relative;bottom:auto;left:auto;right:auto;transform:none;max-width:1156px;margin:0 auto 20px;padding:6px;justify-content:flex-start;gap:5px;border-radius:12px}.bottomnav button{flex-direction:row;gap:9px;font-size:13px;font-weight:650;padding:10px 15px;border-radius:8px}.bottomnav button span{font-size:18px}.bottomnav button.active{background:#edf2f8;color:#214b7c}.bottomnav .projectnav{transform:none}.bottomnav .projectnav span{width:auto;height:auto;border:0;background:transparent;box-shadow:none;color:inherit}.grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:599px){header{padding:16px 13px}main{padding:0 12px 105px}.hero{min-height:190px;padding:22px;border-radius:14px}.grid{gap:9px}.tile,.tile.feature{min-height:142px;padding:13px}.tile strong{font-size:14px}.tile small{font-size:11px}.preview-launch{font-size:10px;padding:10px}}
.preview-open{overflow:hidden}.device-preview-backdrop{position:fixed;inset:0;background:#0e192bcb;z-index:1000}.device-preview-dialog{position:fixed;inset:15px;z-index:1001;display:flex;flex-direction:column;background:#f0f3f7;border-radius:15px;overflow:hidden;box-shadow:0 30px 90px #0006}.device-preview-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:13px 19px;background:#fff;border-bottom:1px solid #e4e9f0}.preview-heading{display:flex;flex-direction:column;gap:3px}.preview-heading strong{font-size:15px}.preview-heading small{font-size:11px;color:#748398}.device-switch{display:flex;gap:3px;padding:4px;background:#eef2f7;border-radius:10px}.device-switch button,.preview-controls button{background:transparent;color:#4b5e75;padding:9px 12px;border-radius:8px;font-size:12px;font-weight:700}.device-switch button.selected{background:#fff;color:#1d4a7b;box-shadow:0 1px 5px #1c304b18}.preview-controls{display:flex;gap:4px}.preview-controls button{background:#edf1f6}.preview-controls button:disabled{opacity:.3}.preview-viewport{flex:1;min-height:0;display:grid;place-items:center;overflow:auto;padding:14px}.preview-frame-shell{flex:none;background:#fff;border:1px solid #c9d2df;border-radius:7px;overflow:hidden;box-shadow:0 8px 40px #10223c28}.preview-frame-shell iframe{display:block;border:0;background:#fff}.preview-footnote{text-align:center;padding:9px;color:#718197;font-size:11px;background:#fff;border-top:1px solid #e6eaf0}@media(max-width:700px){.device-preview-dialog{inset:5px}.device-preview-toolbar{padding:9px}.preview-heading{width:100%}.device-switch button,.preview-controls button{font-size:10px;padding:7px}}

/* Tema grafite azulado: menos branco, contraste confortável */
:root{color-scheme:dark;--ink:#edf2f8;--gold:#e0b76b;--line:#35465a;--canvas:#172330}
body{background:radial-gradient(ellipse at 75% -15%,#31465d 0%,transparent 48%),linear-gradient(160deg,#1b2938,#121d2a)!important;color:#eaf0f7!important}
header h1{color:#f2f5fa}header h1 span{color:#e2b86b}header small{color:#aab8c9}.brandmark{color:#e2b86b}
.iconbtn{background:#27384b;border-color:#3c4c60;color:#e6edf5}
.preview-launch{background:#334960;border-color:#536982;color:#f3f6fa}
.hero{background:linear-gradient(110deg,#101b2a,#203a56)!important;border:1px solid #415a74;box-shadow:0 12px 35px #0002}
.tile,.tile.feature,.panel{background:linear-gradient(150deg,#28394b,#223244);border:1px solid #3b4c60;color:#f0f4fa;box-shadow:0 5px 20px #00000012}
.tile strong,.panel h2,.panel h3,.sectionhead h2{color:#f0f4fa}
.tile small,.panel p,.muted{color:#b7c4d3}
.tile .glyph,.tile:nth-child(odd) .glyph,.tile.feature .glyph{background:#354b62;color:#c5dcf6!important}
.tile:nth-child(odd) .glyph,.tile.feature .glyph{background:#534630;color:#f2cc89!important}
.tile .tile-arrow{color:#aabbd0}
.tile:hover{border-color:#7896b8;background:#2d4157;box-shadow:0 10px 25px #0002}
.panel input,.panel textarea,.panel select{background:#1b2b3b!important;color:#f1f5fa!important;border-color:#50637a!important}
.panel input::placeholder,.panel textarea::placeholder{color:#a5b4c5}
.panel button,.action{background:#3b526b;color:#eef3f9}
.panel button.primary,.action.primary{background:#d8ad62;color:#1b2430}
li{border-color:#43566b}
.schedule .event{border-left-color:#52647b}.schedule .event strong{color:#f0f4fa}.schedule .event small{color:#b6c4d5}.schedule .event:before{box-shadow:0 0 0 4px #28394b}
.schedule .event .itemactions button{background:#3b526b;color:#edf3fa}
.bottomnav{background:#233346;border-color:#405268;box-shadow:0 4px 20px #0003}
.bottomnav button{color:#b7c5d6}.bottomnav button.active{color:#f1c97e}
.bottomnav .projectnav span{background:#d2a65b;color:#1d2836}
.verse-card{background:linear-gradient(120deg,#293b4d,#4d483b);border-color:#536071;box-shadow:none;color:#f3f1e9}
.verse-card blockquote{color:#f2f0e9}.verse-card small{color:#e8c27b}
.image-card{background:#26394e;border-color:#42576e;color:#edf3fa}
.image-card-actions select{background:#1c2d40;color:#f0f4f9;border:1px solid #52677e}
.media-filename{color:#c5d1de}
.asset-slot{border-color:#4b5e73}
.device-preview-dialog{background:#1b2a3a}
.device-preview-toolbar,.preview-footnote{background:#25374a;border-color:#43566c;color:#eaf0f7}
.preview-heading strong{color:#edf3fa}.preview-heading small,.preview-footnote{color:#b7c6d6}
.device-switch{background:#18283a}.device-switch button,.preview-controls button{color:#c7d5e6}.device-switch button.selected{background:#3c5570;color:#fff}.preview-controls button{background:#354b63}
@media(min-width:900px){.bottomnav button.active{background:#39516a;color:#f1d49c}}

/* Navigation, profile and authentication */
.header-actions{position:relative;z-index:12}
.account-trigger{display:flex;align-items:center;gap:10px;background:#293c51;color:#eaf0f7;border:1px solid #4a6178;border-radius:13px;padding:7px 11px;cursor:pointer;text-align:left;min-height:48px}
.account-avatar{display:grid;place-items:center;flex:none;width:33px;height:33px;border-radius:50%;background:linear-gradient(140deg,#d6aa60,#f3d49b);color:#253448;font-size:16px;font-weight:800}
.account-avatar.large{width:47px;height:47px;font-size:20px}
.account-caption{display:flex;flex-direction:column;max-width:130px;gap:2px}.account-caption strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-caption small{font-size:10px;color:#bdccdc}.account-chevron{font-size:16px;color:#a6b9cc}
.account-dismiss{position:fixed;inset:0;z-index:40}
.account-popover{position:fixed;right:max(18px,calc((100vw - 1200px)/2 + 20px));top:82px;z-index:41;width:min(330px,calc(100vw - 24px));background:#263a4f;border:1px solid #51657b;border-radius:16px;padding:9px;box-shadow:0 18px 55px #0007;color:#f3f6fb}
.account-popover-head{display:flex;gap:11px;align-items:center;padding:13px 10px 17px;border-bottom:1px solid #43566b;margin-bottom:6px;overflow-wrap:anywhere}.account-popover-head div{display:flex;flex-direction:column;gap:5px;min-width:0}.account-popover-head strong{font-size:13px;overflow-wrap:anywhere}.account-popover-head small{font-size:11px;color:#aebed0}
.account-popover button{display:block;width:100%;text-align:left;padding:12px 14px;border-radius:9px;background:transparent;color:#eaf0f7;font-size:13px}.account-popover button:hover{background:#3a5068}.account-popover .account-logout{color:#f0acac}.account-popover .account-signin{background:#d8ac61;color:#1d2b3c;font-weight:800;text-align:center;margin:10px 0 3px}
.auth-backdrop{position:fixed;inset:0;z-index:1002;background:#0a1422d9;backdrop-filter:blur(8px)}
.auth-dialog{position:fixed;z-index:1003;top:50%;left:50%;transform:translate(-50%,-50%);width:min(445px,calc(100vw - 28px));max-height:calc(100dvh - 28px);overflow-y:auto;background:#26384b;border:1px solid #52677d;box-shadow:0 30px 100px #0008;border-radius:20px;padding:31px;color:#eef3fa}
.auth-close{position:absolute;right:15px;top:14px;background:#35495f;color:#eaf1f9;border-radius:9px;width:33px;height:33px}
.auth-brand{display:flex;align-items:center;gap:11px;font-size:23px;font-weight:850;letter-spacing:.02em;color:#e9eef6}.auth-brand:first-letter{color:#dbb26e}.auth-brand b{color:#e3b972}
.auth-hero{margin:29px 0 23px}.auth-hero>span{font-size:10px;letter-spacing:.23em;color:#d5b275;font-weight:800}.auth-hero h2{font-size:29px;margin:10px 0 9px;letter-spacing:-.04em;color:#fff}.auth-hero p{color:#b7c7d9;font-size:13px;line-height:1.55}
.auth-dialog form{display:flex;flex-direction:column;gap:9px}.auth-dialog label{font-size:12px;font-weight:750;color:#d7e1ed}.auth-dialog input{width:100%;padding:14px;border-radius:10px;background:#192a3c;border:1px solid #53677f;color:#fff;outline:none;font-size:15px}.auth-dialog input:focus{border-color:#e2b66d;box-shadow:0 0 0 3px #e2b66d26}.auth-dialog input+label{margin-top:9px}.auth-dialog .auth-submit{margin-top:8px;width:100%;padding:15px;border-radius:10px;background:#d9ae65;color:#19283b;font-weight:850}.auth-dialog .auth-submit:disabled{opacity:.65}.auth-google{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;padding:13px 15px;margin:0 0 15px;border-radius:10px;background:#fff;color:#24364b;font-weight:800;border:1px solid #dce3eb}.auth-google:hover{background:#f5f7fa}.auth-google-mark{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px}.auth-google-mark svg{display:block}.auth-divider{display:flex;align-items:center;gap:10px;color:#91a4b8;font-size:11px;margin:0 0 15px}.auth-divider:before,.auth-divider:after{content:'';height:1px;background:#4a6075;flex:1}.auth-dialog #auth-feedback{font-size:12px;color:#ffc0bd;margin:0;min-height:0}.auth-switch{text-align:center;color:#bdccdd;font-size:12px;margin-top:22px}.auth-switch button,.auth-guest{background:transparent;color:#e9c385;font-weight:800;padding:6px}.auth-guest{display:block;margin:15px auto 0;color:#b6c6d8;font-size:12px}
.profile-layout{max-width:900px;margin:auto}.profile-hero{position:relative;margin-bottom:82px}.profile-cover{position:relative;height:245px;background:linear-gradient(120deg,#13283e,#304d69 65%,#8e7146);border:1px solid #415a73;border-radius:22px;overflow:hidden}.profile-cover img{width:100%;height:100%;object-fit:cover}.profile-media-edit{position:absolute;display:grid;place-items:center;width:42px;height:42px;border:1px solid #ffffff45!important;border-radius:50%!important;background:#0d1b2bd9!important;color:#fff!important;font-size:18px!important;box-shadow:0 8px 25px #0005;cursor:pointer}.profile-cover-edit{right:16px;bottom:16px}.profile-avatar-wrap{position:absolute;left:34px;bottom:-67px;width:154px;height:154px}.profile-avatar{position:static;width:154px;height:154px;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:#d8ad65;color:#16273a;border:7px solid #182a3d;font-size:54px;font-weight:850;box-shadow:0 12px 35px #0005}.profile-avatar img{width:100%;height:100%;object-fit:cover;transform-origin:center}.profile-avatar-edit{right:-4px;bottom:8px;width:38px;height:38px}.profile-heading{padding-left:212px;min-height:66px;display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.profile-heading h2{margin:0 0 7px;color:#f2f5fa;font-size:27px}.profile-heading p{margin:0;color:#aebed0;overflow-wrap:anywhere}.profile-role{display:inline-block;margin-top:9px;border-radius:30px;background:#3b4b4c;color:#f2d49d;padding:6px 11px;font-size:12px;font-weight:750}.profile-form{background:#1b3045!important;border-color:#3d566f!important}.profile-form h3{color:#f3f6fa!important}.profile-form label{color:#b8c8d8!important}.profile-logout{display:flex;justify-content:flex-end;margin-top:16px}.profile-logout button{background:transparent!important;border:1px solid #52677d!important;color:#c8d4e0!important}.profile-crop-backdrop{position:fixed;inset:0;z-index:1800;background:#08121dcc;backdrop-filter:blur(5px)}.profile-crop-dialog{position:fixed;z-index:1801;left:50%;top:50%;transform:translate(-50%,-50%);width:min(540px,calc(100vw - 24px));padding:20px;border-radius:18px;background:#1b2e42;border:1px solid #4b637b;box-shadow:0 30px 90px #0009}.profile-crop-dialog h3{margin:0 0 14px;color:#fff}.profile-crop-stage{height:320px;border-radius:14px;overflow:hidden;background:#0d1824;position:relative}.profile-crop-stage.avatar-stage{width:320px;max-width:100%;margin:auto;border-radius:50%}.profile-crop-stage img{width:100%;height:100%;object-fit:cover;transform-origin:center}.profile-crop-dialog label{display:block;margin-top:14px;color:#bdcad7}.profile-crop-dialog input[type=range]{width:100%}.profile-crop-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}.profile-crop-actions button{padding:10px 14px;border-radius:9px}.profile-crop-actions .primary{background:#ddb264;color:#172536}.profile-crop-actions .danger{background:#7b3038;color:#fff}@media(max-width:600px){body{overflow-x:hidden}header{min-height:70px;padding:10px 14px!important}.brand{min-width:0}.brand h1{font-size:19px}.brand small{display:none}.brandmark{font-size:25px}.header-actions{gap:6px}.preview-launch{display:none!important}.profile-layout{width:100%;max-width:100%;overflow:hidden}.profile-cover{height:155px;border-radius:15px}.profile-hero{margin:0 0 22px}.profile-avatar-wrap{position:relative;left:auto;bottom:auto;margin:-52px 0 0 16px;width:116px;height:116px;z-index:2}.profile-avatar{width:116px;height:116px;border-width:5px;font-size:40px}.profile-avatar-edit{right:-2px;bottom:5px}.profile-heading{padding:10px 16px 0;display:block;min-height:0}.profile-heading h2{font-size:23px}.profile-heading p{font-size:14px}.profile-cover-edit{right:10px;bottom:10px}.profile-form{margin:12px 0!important;padding:17px!important}.profile-crop-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 24px);overflow:auto;padding:16px;top:50%}.profile-crop-dialog h3{font-size:20px}.profile-crop-stage{height:min(76vw,310px)}.profile-crop-stage.avatar-stage{width:min(76vw,310px);height:min(76vw,310px)}.profile-crop-actions{position:sticky;bottom:-16px;background:#1b2e42;padding:12px 0 4px}.profile-crop-actions button{flex:1;margin:0}.bottomnav{z-index:100}}
.desktop-sidebar{display:none}
@media(min-width:900px){
body{padding-left:230px}
header{max-width:none;padding:21px 35px 18px;margin:0 auto}
main{max-width:1300px;padding:0 35px 55px}
.desktop-sidebar{position:fixed;display:flex;flex-direction:column;gap:3px;top:0;left:0;bottom:0;width:230px;background:#182738;border-right:1px solid #40536a;padding:28px 12px;overflow-y:auto;z-index:20}
.sidebar-heading{font-size:10px;letter-spacing:.18em;color:#8da5bd;font-weight:800;padding:13px 13px 10px}
.sidebar-heading-later{border-top:1px solid #394b60;margin-top:20px;padding-top:20px}
.sidebar-link{display:flex;align-items:center;gap:13px;text-align:left;width:100%;padding:13px 13px;border-radius:10px;color:#b9c9da;background:transparent;font-size:13px;font-weight:650}
.sidebar-link span{font-size:19px;width:23px;text-align:center}.sidebar-link:hover{background:#293d53;color:#fff}.sidebar-link.active{background:#344e6a;color:#f2d297}
.bottomnav{display:none!important}
.account-popover{right:32px}
}
@media(max-width:899px){.desktop-sidebar{display:none}.account-caption{display:none}.account-trigger{padding:6px;border-radius:50%;min-height:0}.account-avatar{width:34px;height:34px}.account-chevron{display:none}.account-popover{top:72px;right:12px}}

.theme-search{margin:0 12px 5px;padding:10px;border-radius:9px;background:#14283d;border:1px solid #4b6179;color:#f1f5fa;font-size:12px}.theme-search::placeholder{color:#a7bbd0}.theme-preview-dialog{background:#152232!important}.theme-preview-body{display:flex;flex:1;min-height:0}.theme-chooser{width:295px;flex:none;display:flex;flex-direction:column;min-height:0;background:#203248;border-right:1px solid #40556e;color:#f3f6fb}.theme-chooser-heading{display:flex;flex-direction:column;gap:5px;padding:16px 15px 10px}.theme-chooser-heading strong{font-size:16px}.theme-chooser-heading small{font-size:11px;color:#afc1d4}.theme-choices{overflow-y:auto;min-height:0;flex:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:8px;padding:8px 12px 15px}.theme-choice{position:relative;display:flex;flex-direction:column;gap:5px;align-items:stretch;text-align:left;padding:7px;border-radius:12px;background:#2d4258;color:#eaf1f8;border:2px solid transparent;min-width:0}.theme-choice.selected{border-color:#f0c37a;background:#3a526b}.theme-choice:hover{background:#415c76}.theme-swatch{display:flex;align-items:flex-end;gap:5px;height:45px;padding:7px;border-radius:7px}.theme-swatch i{display:block;width:30px;height:21px;border-radius:5px}.theme-swatch i+i{width:17px;height:12px}.theme-name{font-size:12px;font-weight:800}.theme-choice small{font-size:10px;color:#bdccdc;line-height:1.3}.theme-choice em{font-size:9px;color:#f0c37a;font-style:normal;font-weight:800}.theme-publish{border-top:1px solid #40556e;padding:13px;background:#1a2b3f}.theme-publish button{display:block;width:100%;border-radius:10px;padding:12px;background:#dfb46d;color:#1b2a3b;font-weight:850;font-size:12px}.theme-publish button:disabled{opacity:.5;cursor:not-allowed}.theme-publish p{font-size:10px;color:#bfd0e0;margin:8px 0 0}.theme-preview-body .preview-viewport{background:#172638}@media(max-width:760px){.theme-preview-body{flex-direction:column}.theme-chooser{width:100%;max-height:220px;flex-direction:column}.theme-chooser-heading{padding:7px 10px}.theme-choices{display:flex;overflow-x:auto;overflow-y:hidden;padding:5px 10px}.theme-choice{flex:0 0 128px}.theme-swatch{height:25px}.theme-publish{padding:7px;display:flex;gap:9px;align-items:center}.theme-publish button{width:auto}.theme-publish p{margin:0}.theme-preview-body .preview-viewport{min-height:0}}

.iasd-editable-text{position:relative}.iasd-pencil{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;margin-left:8px;width:25px;height:25px;min-width:25px;border:1px solid var(--iasd-accent,#d8ad62);border-radius:7px;background:transparent!important;color:var(--iasd-accent,#d8ad62)!important;font-size:14px;cursor:pointer;opacity:.82;transition:opacity .15s,transform .15s}.iasd-pencil:hover{opacity:1;transform:scale(1.1)}.iasd-edit-backdrop{position:fixed;inset:0;z-index:1500;background:#091522dc;backdrop-filter:blur(5px)}.iasd-edit-dialog{position:fixed;z-index:1501;top:50%;left:50%;transform:translate(-50%,-50%);width:min(520px,calc(100vw - 25px));padding:22px;border-radius:16px;border:1px solid #5b7187;background:#24394d;color:#f0f5fa;box-shadow:0 20px 80px #0008}.iasd-edit-head{display:flex;align-items:center;justify-content:space-between;font-size:18px}.iasd-edit-head button{background:#364e64;color:#fff;border-radius:8px;padding:7px 11px}.iasd-edit-dialog p{font-size:12px;color:#b9cbdc}.iasd-edit-dialog textarea{width:100%;min-height:95px;background:#14273a;color:#fff;border:1px solid #59738e;border-radius:10px;padding:12px;font:inherit;resize:vertical}.iasd-edit-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:15px}.iasd-edit-actions button{padding:10px 13px;border-radius:9px;background:#3a5067;color:#f3f7fa}.iasd-edit-actions button.primary{background:#d8ad62;color:#1b2839;font-weight:800}.iasd-edit-actions button:disabled{opacity:.5}

.auth-success{display:flex;align-items:flex-start;gap:13px;background:#183f36;border:1px solid #4cbf91;border-radius:12px;padding:15px;margin:0 0 20px;color:#ecfff5;box-shadow:0 0 0 3px #3ba87920}.auth-success-icon{font-size:27px;color:#86e5b5}.auth-success strong{display:block;font-size:15px;color:#a9f4c8}.auth-success p{color:#e0f8e9!important;margin:6px 0 0;font-size:12px;line-height:1.55}.founder-dashboard{max-width:1080px;margin:auto}.founder-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:17px 0 26px}.founder-stats>div{display:flex;flex-direction:column;gap:6px;padding:19px;border:1px solid var(--iasd-accent,#d8ad62);border-radius:13px;background:var(--iasd-surface,#28394b)}.founder-stats strong{font-size:29px;color:var(--iasd-accent,#d8ad62)}.founder-stats small{color:var(--iasd-ink,#eef3f9);font-size:11px}.founder-user-card{padding:18px;margin-bottom:12px;border:1px solid #4b6177;border-radius:13px;background:var(--iasd-surface,#28394b);color:var(--iasd-ink,#eef3f9)}.founder-user-main{display:flex;align-items:center;gap:12px}.founder-user-main>div{display:flex;flex-direction:column;gap:5px;min-width:0}.founder-user-main strong{overflow-wrap:anywhere}.founder-user-main small{color:var(--iasd-ink,#d2e0ee);opacity:.7;overflow-wrap:anywhere}.founder-status{display:inline-flex;align-self:flex-start;border-radius:50px;padding:4px 9px;background:#285846;color:#a9f4c8;font-size:10px;font-weight:800}.founder-status.pending{background:#6c502b;color:#ffdf9d}.founder-user-meta{display:flex;flex-wrap:wrap;gap:8px 18px;margin:15px 0;color:var(--iasd-ink,#c6d5e4);opacity:.8;font-size:11px}.founder-user-actions{display:flex;gap:10px;align-items:center}.founder-user-actions select{flex:1;min-width:0;padding:11px;border-radius:9px;border:1px solid #63778b;background:#182c40;color:#f0f5fb}.founder-user-actions button{padding:11px 15px;border-radius:9px;background:#d8ad62;color:#1c2c3b;font-weight:800}.founder-locked{color:#e2c58d;font-size:12px}.profile-form{display:flex;flex-direction:column;gap:9px}.profile-form input{padding:12px;border-radius:9px}.profile-form button{align-self:flex-start;margin-top:9px}.profile-form label{font-size:12px;font-weight:700}@media(max-width:600px){.founder-stats{gap:6px}.founder-stats>div{padding:12px}.founder-stats strong{font-size:23px}.founder-user-actions{flex-direction:column;align-items:stretch}}
.founder-profile-actions{margin:8px 0 12px}.founder-profile-actions button{border:1px solid #6c8298;border-radius:8px;padding:9px 12px;background:#334b62;color:#edf3fa;font-size:12px}.founder-edit-dialog{max-height:calc(100dvh - 35px);overflow:auto}.founder-edit-dialog label{display:block;margin:11px 0 5px;font-size:12px}.founder-edit-dialog input{display:block;width:100%;padding:10px;border:1px solid #647c94;border-radius:8px;background:#172b3e;color:#f3f7fa}.auth-signup-fields{display:flex;flex-direction:column;gap:7px;margin:0 0 10px}.auth-signup-fields label{font-size:12px;color:#f0f4f9}.auth-signup-fields input{width:100%;padding:12px;border-radius:9px;background:#1c3045;color:#fff;border:1px solid #60768c}.auth-verify-warning{display:flex;flex-direction:column;gap:7px;background:#574526;border:1px solid #e6bc69;border-radius:10px;padding:12px;color:#fff1d1!important;line-height:1.5}.auth-verify-warning strong{font-size:13px}.auth-verify-warning span{font-size:12px}.auth-error{color:#ffbbb9!important}.welcome-backdrop{position:fixed;inset:0;background:#081524c9;backdrop-filter:blur(7px);z-index:2200}.welcome-dialog{position:fixed;z-index:2201;top:50%;left:50%;transform:translate(-50%,-50%);width:min(430px,calc(100vw - 32px));background:linear-gradient(150deg,#263d5b,#1c2b46);border:1px solid #d9b77580;box-shadow:0 22px 90px #0009;border-radius:22px;padding:32px;text-align:center;color:#fff}.welcome-symbol{display:block;font-size:42px;color:#e5bf79;margin-bottom:9px}.welcome-dialog small{font-size:10px;letter-spacing:3px;color:#e5bf79}.welcome-dialog h2{font-size:24px;line-height:1.3;margin:15px 0}.welcome-dialog p{color:#d0dce9;font-size:13px;line-height:1.6}.welcome-dialog button{margin-top:18px;padding:13px 22px;background:#e5bf79;color:#1c2b46;border-radius:11px;font-weight:800;width:100%}
/* Global accessibility: ensure readable text and labels across all 50 themes */
:root{--iasd-readable-muted:color-mix(in srgb,var(--iasd-ink,#edf4ff) 78%,transparent)}
.panel label,.profile-form label,.founder-edit-dialog label,.panel legend,.profile-layout label,.panel .field-label,.panel .form-label{color:var(--iasd-ink,#edf4ff)!important;opacity:1!important;text-shadow:none!important}
.panel .muted,.profile-layout .muted,.profile-form p,.panel .hint,.panel .helper-text,.panel small,.profile-info p{color:var(--iasd-readable-muted)!important;opacity:1!important}
.panel input::placeholder,.panel textarea::placeholder,.profile-form input::placeholder{color:var(--iasd-readable-muted)!important;opacity:.85!important}
.panel input,.panel textarea,.panel select,.profile-form input{color:var(--iasd-ink,#edf4ff)!important;caret-color:var(--iasd-accent,#f2d294)}
.profile-form input[readonly]{cursor:default;opacity:1!important;border-style:dashed!important;background:color-mix(in srgb,var(--iasd-surface,#24385b) 75%,var(--iasd-bg,#101c31))!important;color:var(--iasd-ink,#edf4ff)!important}
.profile-form label{display:block;margin:16px 0 7px;font-size:13px;font-weight:700;letter-spacing:.01em}
.profile-form input{display:block;width:100%;min-height:42px}
.profile-form #profile-save{margin-top:20px}
.profile-form #profile-feedback{color:var(--iasd-ink,#edf4ff)!important}
.church-position-select{width:100%;min-height:42px;background:#1c3044;color:#f2f5ff;border:1px solid #60748e;border-radius:9px;padding:10px}.founder-position-row{display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin-top:13px;padding-top:13px;border-top:1px solid #ffffff24}.founder-position-row label{color:#f2f5ff!important;font-weight:700}.founder-position-row select{flex:1;min-width:200px}.founder-position-row button{padding:10px 13px;border-radius:8px}.church-position-badge{display:block;color:#f2d292!important;margin-top:5px}.profile-form .church-position-select{margin-bottom:12px}.founder-delete-btn{background:transparent!important;border:1px solid #d97777!important;color:#ffb4b4!important;font-weight:700}.founder-delete-btn:hover{background:#692b39!important;color:#fff!important}.founder-delete-btn:disabled{opacity:.55;cursor:wait}

.quick-section{margin:20px 0}.quick-section .sectionhead{margin:0 0 12px}.quick-section h2{color:#244e78!important}.quick-add,.home-banner-edit{padding:10px 13px;border-radius:9px;background:#e1edf9!important;color:#174774!important;border:1px solid #b9d2ea!important;font-weight:750}.home-banner-edit{position:relative;z-index:2;align-self:flex-start;margin-top:14px}.quick-track{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 2px 18px;scrollbar-width:thin}.quick-card{flex:0 0 clamp(155px,18vw,210px);scroll-snap-align:start;border-radius:16px;overflow:hidden;background:linear-gradient(155deg,#214b76,#5488b6)!important;border:1px solid #6b9ac6;box-shadow:0 6px 20px #17436a24;color:#fff!important}.quick-link{height:282px;width:100%;display:flex;flex-direction:column;align-items:stretch;text-align:left;padding:0;background:transparent!important;color:#fff!important}.quick-cover{height:165px;flex:none;overflow:hidden;display:grid;place-items:center;background:linear-gradient(145deg,#193e66,#5687b6)}.quick-cover img,.quick-cover video{width:100%;height:100%;object-fit:cover}.quick-cover span{font-size:55px;color:#e4effe}.quick-link strong{padding:12px 12px 0;font-size:16px;color:#fff!important}.quick-link small{padding:5px 12px;color:#e1edfa!important;font-size:11px;line-height:1.4;max-height:38px;overflow:hidden}.quick-link b{margin:auto 12px 12px;color:#ffe0a1;font-size:11px}.quick-edit{display:block;width:100%;padding:9px;background:#153e67!important;color:#fff!important;border-top:1px solid #ffffff3b;font-size:12px;font-weight:750}.home-schedule{background:linear-gradient(125deg,#20466e,#5a8ab8)!important;border:1px solid #76a1ca!important;color:#fff!important}.home-schedule h2,.home-schedule .schedule .event strong{color:#fff!important}.home-schedule .schedule .event small{color:#e5effb!important}.home-schedule .schedule .time{color:#ffdfa1!important}.home-schedule .schedule .event{border-left-color:#bad3eb}.home-schedule button{background:#e5eef8!important;color:#234b74!important}.cover-dialog{position:fixed;z-index:1501;top:50%;left:50%;transform:translate(-50%,-50%);width:min(1000px,96vw);max-height:94dvh;overflow:auto;border-radius:18px;background:#f4f8fd;color:#234766;box-shadow:0 30px 90px #0009}.cover-head,.cover-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 20px;background:#1c456f;color:white}.cover-head strong{font-size:19px}.cover-head button,.cover-footer button{padding:10px;border-radius:8px;background:#ffffff25;color:inherit}.cover-body{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:20px}.cover-body label{display:flex;gap:10px;align-items:center;font-size:13px;font-weight:700;margin:10px 0}.cover-body input[type=range]{flex:1;accent-color:#24669b}.cover-body p{font-size:12px;color:#66819b}.cover-body button{border-radius:8px}.cover-preview{height:280px;border-radius:13px;background:#244d78;overflow:hidden;display:grid;place-items:center;touch-action:none;cursor:grab;color:white}.cover-preview.wide{height:210px}.cover-preview img{width:100%;height:100%;object-fit:cover;pointer-events:none}.cover-gallery-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.cover-gallery-head label{background:#f0cf93;color:#19344e;padding:10px;border-radius:9px;cursor:pointer}.cover-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-height:370px;overflow:auto}.cover-gallery button{height:95px;padding:0;background:#d9e5f1;border:3px solid transparent;overflow:hidden}.cover-gallery button.selected{border-color:#e7ad43}.cover-gallery img{width:100%;height:100%;object-fit:cover}.cover-footer{background:#e1ebf7;color:#23466b;justify-content:flex-end;flex-wrap:wrap}.cover-footer span{margin-right:auto;font-size:12px}.cover-footer button{background:#cbddec}.cover-footer .primary{background:#245b8e;color:#fff}@media(max-width:720px){.quick-card{flex-basis:158px}.quick-link{height:266px}.quick-cover{height:147px}.cover-body{grid-template-columns:1fr}.cover-preview{height:205px}.cover-gallery{max-height:170px}.cover-gallery button{height:75px}}

/* O editor de capas fica acima da camada de desfoque. */
#inline-editor-root{position:relative;z-index:1500}
#inline-editor-root .iasd-edit-backdrop{z-index:1500}
#inline-editor-root .cover-dialog{z-index:1501;isolation:isolate}
/* Cronograma da página inicial: mantém o mesmo azul do banner, inclusive após a aplicação de temas. */
body .panel.home-schedule,body .panel.home-schedule[style],html body .panel.home-schedule{background:linear-gradient(120deg,#20466f 0%,#5688b8 100%)!important;background-color:#20466f!important;border:1px solid #729cc7!important;color:#fff!important}
body .panel.home-schedule h2,body .panel.home-schedule h3,body .panel.home-schedule .sectionhead h2,body .panel.home-schedule .schedule .event strong{color:#fff!important}
body .panel.home-schedule p,body .panel.home-schedule .schedule .event small,body .panel.home-schedule .muted{color:#e4effb!important}
body .panel.home-schedule .schedule .time{color:#ffdf9e!important}
body .panel.home-schedule .schedule .event{border-left-color:#a5c5e5!important}
body .panel.home-schedule .schedule .event:before{background:#f2c778!important;box-shadow:0 0 0 4px #315c87!important}
body .panel.home-schedule button{background:#e8f1fb!important;color:#1c476f!important}
.cover-preview{position:relative;display:block}.cover-preview img{position:absolute;max-width:none}.quick-cover{position:relative;overflow:hidden}.quick-cover img{position:absolute;max-width:none}
/* Banner editável: imagem em camada independente para preservar o enquadramento e vencer o tema. */
.hero.has-custom-banner{position:relative;isolation:isolate;overflow:hidden;background:#193d67!important}
.hero.has-custom-banner .hero-custom-image{position:absolute;object-fit:cover;max-width:none;z-index:-2}
.hero.has-custom-banner:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#071b3cdd 0%,#0a295d99 55%,#0b224744);z-index:-1;pointer-events:none}
.cover-preview{position:relative}
.cover-preview img{display:block;max-width:none;transform-origin:center center}

/* Contraste sobre imagens do banner e capas do acesso rápido. */
.hero.has-custom-banner:before{
 background:linear-gradient(90deg,rgba(6,20,40,.92) 0%,rgba(7,28,52,.77) 33%,rgba(9,35,64,.33) 70%,rgba(8,27,49,.16) 100%)!important;
 z-index:-1!important;
}
.hero.has-custom-banner .eyebrow,.hero.has-custom-banner h2,.hero.has-custom-banner p{position:relative;text-shadow:0 2px 12px rgba(0,0,0,.65)}
.quick-cover:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(7,23,44,.03) 20%,rgba(8,28,52,.35) 68%,rgba(8,28,52,.78) 100%);z-index:2}
.quick-cover img,.quick-cover video{z-index:1}
.quick-cover span{position:relative;z-index:3;text-shadow:0 2px 10px rgba(0,0,0,.6)}

/* A prévia usa a proporção vertical real das capas do acesso rápido. */
.cover-preview.portrait{width:min(100%,200px);height:280px;margin:0 auto;display:block;position:relative}
.cover-preview.logo{width:min(100%,240px);height:240px;margin:0 auto}
@media(max-width:720px){.cover-preview.portrait{width:min(100%,185px);height:260px}.cover-preview.logo{height:205px}}

/* Capas dos acessos rápidos: imagem inteira, título flutuante e degradê discreto. */
.quick-card{background:#214b76!important}
.quick-link{position:relative!important;isolation:isolate;height:282px!important;display:block!important;overflow:hidden!important}
.quick-cover{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;display:block!important;overflow:hidden!important}
.quick-cover img,.quick-cover video{display:block;width:100%!important;height:100%!important;object-fit:cover}
.quick-cover span{display:grid;place-items:center;width:100%;height:100%}
.quick-link::after{content:"";position:absolute;z-index:1;pointer-events:none;inset:35% 0 0;background:linear-gradient(to bottom,transparent 0%,rgba(8,24,43,.25) 42%,rgba(8,24,43,.86) 100%)}
.quick-link strong{position:absolute!important;z-index:2;left:14px;right:12px;bottom:28px;padding:0!important;margin:0!important;color:#fff!important;font-size:17px!important;line-height:1.25;text-shadow:0 2px 7px #07182b99}
.quick-link small{display:none!important}
.quick-link b{position:absolute!important;z-index:2;left:14px;bottom:11px;margin:0!important;font-size:10px!important;color:#ffdfa1!important}

.quick-cover img.quick-backdrop{position:absolute!important;inset:-12%!important;width:124%!important;height:124%!important;max-width:none!important;object-fit:cover!important;filter:blur(16px) brightness(.65);transform:none!important}
.quick-cover img.quick-foreground{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:contain!important;display:block!important}

.cover-preview.portrait{position:relative!important;width:180px!important;height:282px!important;margin:0 auto;display:block!important;overflow:hidden!important}
.cover-preview.portrait img.quick-backdrop{position:absolute!important;inset:-12%!important;width:124%!important;height:124%!important;max-width:none!important;object-fit:cover!important;filter:blur(16px) brightness(.65);transform:none!important}
.cover-preview.portrait img.quick-foreground{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:contain!important;pointer-events:none!important}

/* Tema escuro IASD APP: padrão claro preservado. */
html[data-theme="dark"]{color-scheme:dark}
html[data-theme="dark"] body{background:radial-gradient(ellipse at 78% 4%,#203f60 0%,transparent 46%),#0c1725!important;color:#eaf2fc!important}
html[data-theme="dark"] header{background:#101f31!important;border-color:#29435f!important;color:#eaf2fc!important}
html[data-theme="dark"] header h1,html[data-theme="dark"] header small{color:#f3f7fd!important}
html[data-theme="dark"] .desktop-sidebar{background:#0b1b2c!important;border-color:#29435f!important}
html[data-theme="dark"] .desktop-sidebar button{color:#dceafa!important}
html[data-theme="dark"] .desktop-sidebar button:hover,html[data-theme="dark"] .desktop-sidebar button.active{background:#1d4164!important;color:#fff!important}
html[data-theme="dark"] main,html[data-theme="dark"] #content{color:#eaf2fc}
html[data-theme="dark"] .panel,html[data-theme="dark"] .tile,html[data-theme="dark"] .card,html[data-theme="dark"] .schedule-card,html[data-theme="dark"] .section-card{background:#15283e!important;color:#eaf2fc!important;border-color:#294866!important;box-shadow:0 8px 28px #030b1638!important}
html[data-theme="dark"] .panel h2,html[data-theme="dark"] .panel h3,html[data-theme="dark"] .tile strong,html[data-theme="dark"] .sectionhead h2,html[data-theme="dark"] .event strong{color:#f1f6ff!important}
html[data-theme="dark"] .muted,html[data-theme="dark"] .panel p,html[data-theme="dark"] .tile small,html[data-theme="dark"] .event small{color:#aec4dc!important}
html[data-theme="dark"] input:not([type="range"]):not([type="file"]),html[data-theme="dark"] textarea,html[data-theme="dark"] select{background:#102136!important;color:#edf5ff!important;border-color:#395575!important}
html[data-theme="dark"] input::placeholder,html[data-theme="dark"] textarea::placeholder{color:#91a8c0!important}
html[data-theme="dark"] .bottomnav{background:#10253b!important;border-color:#294866!important}
html[data-theme="dark"] .bottomnav button{color:#dceafa!important}
html[data-theme="dark"] .bottomnav button.active{color:#f7d69c!important}
html[data-theme="dark"] .account-trigger,html[data-theme="dark"] .preview-launch,html[data-theme="dark"] .quick-add{background:#203b58!important;color:#f1f7ff!important;border-color:#365b80!important}
html[data-theme="dark"] .quick-section h2{color:#f1f7ff!important}
html[data-theme="dark"] .quick-card{border-color:#3a6185!important}
html[data-theme="dark"] .cover-dialog{background:#14283f!important;color:#f1f7ff!important}
html[data-theme="dark"] .cover-body{background:#14283f!important}
html[data-theme="dark"] .cover-body p{color:#b3cbe4!important}
html[data-theme="dark"] .cover-footer{background:#1b3552!important;color:#edf5ff!important}
html[data-theme="dark"] .cover-footer button{background:#2d5073;color:#fff}
html[data-theme="dark"] .cover-footer .primary{background:#3979b5}
html[data-theme="dark"] .cover-gallery button{background:#244463}
html[data-theme="dark"] .hero,html[data-theme="dark"] .home-schedule{color:#fff!important}
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:39px;padding:9px 13px;border-radius:11px;background:#fff;color:#234766;border:1px solid #d5e2f0;font-size:12px;font-weight:750;white-space:nowrap}
.theme-toggle:hover{border-color:#7ca7d2}
html[data-theme="dark"] .theme-toggle{background:#263f5c;color:#f8e2b3;border-color:#466585}
@media(max-width:620px){.theme-toggle{padding:9px;min-width:40px}.theme-toggle .theme-label{display:none}}

/* O tema escuro é padrão; o controle é flutuante, público e circular. */
.theme-toggle,.theme-toggle:hover,html[data-theme="dark"] .theme-toggle{
 position:fixed!important;right:22px!important;bottom:24px!important;top:auto!important;left:auto!important;
 width:54px!important;height:54px!important;min-width:54px!important;min-height:54px!important;
 border-radius:50%!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important;
 z-index:1200!important;background:#fff!important;color:#1d466d!important;border:1px solid #bed0e2!important;
 box-shadow:0 8px 28px #0005!important;cursor:pointer!important;transition:transform .2s,background .2s!important
}
.theme-toggle:hover{transform:translateY(-3px)!important}
html[data-theme="dark"] .theme-toggle,html[data-theme="dark"] .theme-toggle:hover{background:#25486b!important;color:#ffdf9d!important;border-color:#6485a4!important}
.theme-toggle #theme-icon{font-size:25px;line-height:1}
.theme-toggle .theme-label{display:none!important}
@media(max-width:899px){.theme-toggle,html[data-theme="dark"] .theme-toggle{right:16px!important;bottom:calc(88px + env(safe-area-inset-bottom,0px))!important;width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important}}

/* Desktop: usa toda a largura disponível sem distorcer as capas. */
@media(min-width:900px){
 body{min-width:0}
 body>main{width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding-left:clamp(18px,2.4vw,48px)!important;padding-right:clamp(18px,2.4vw,48px)!important;box-sizing:border-box}
 body>header{width:100%;max-width:none!important;box-sizing:border-box;padding-left:clamp(18px,2.4vw,48px)!important;padding-right:clamp(18px,2.4vw,48px)!important}
 #content,.quick-section{width:100%;max-width:none;min-width:0}
 .quick-section{container-type:inline-size}
 .quick-track{width:100%;min-width:0;max-width:100%;box-sizing:border-box;gap:14px}
 .quick-card{flex:0 0 calc((100% - 56px)/5);min-width:0;max-width:none}
}
@container (min-width:1200px){.quick-card{flex-basis:calc((100% - 70px)/6)}}
@container (min-width:1560px){.quick-card{flex-basis:calc((100% - 84px)/7)}}
@media(min-width:900px) and (max-width:1150px){.quick-card{flex-basis:calc((100% - 42px)/4)}}

/* 50 composições: 10 organizações × 5 identidades tipográficas. */
#layout-studio-root{position:relative;z-index:1900}
.layout-overlay{position:fixed;inset:0;background:#071523df;backdrop-filter:blur(5px);z-index:1900}
.layout-dialog{position:fixed;inset:3vh 3vw;z-index:1901;display:flex;flex-direction:column;background:#12263c;color:#eef6ff;border:1px solid #446483;border-radius:18px;overflow:hidden;box-shadow:0 30px 90px #0009}
.layout-top{padding:16px 20px;display:flex;align-items:center;gap:16px;justify-content:space-between;background:#1c3b5b;border-bottom:1px solid #446483;flex-wrap:wrap}
.layout-top h2{font-size:19px;color:white;margin:0}.layout-top p{margin:3px 0 0;color:#c2d5e7;font-size:12px}
.layout-top button,.layout-bottom button,.layout-device button{border-radius:9px;padding:9px 13px;background:#355676;color:#fff}
.layout-body{display:grid;grid-template-columns:minmax(300px,400px) minmax(0,1fr);flex:1;min-height:0}
.layout-picker{overflow-y:auto;padding:15px;border-right:1px solid #446483}
.layout-picker input{width:100%;padding:11px;background:#203e5d;color:#fff;border:1px solid #5a7795;border-radius:9px;margin-bottom:12px}
.layout-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.layout-choice{display:flex;flex-direction:column;align-items:stretch;text-align:left;padding:8px;background:#1d3955;color:#f1f7ff;border:2px solid #365a7b;border-radius:11px;gap:5px;min-width:0}
.layout-choice.selected{border-color:#ffcb79;background:#315579}.layout-choice strong{font-size:12px}.layout-choice small{font-size:10px;color:#b8cfe6}
.layout-mini{display:grid;height:76px;gap:4px;padding:5px;border-radius:6px;background:var(--mini-bg,#102337);grid-template-columns:repeat(4,1fr);grid-template-rows:11px 25px 1fr}
.layout-mini i{background:var(--mini-accent,#6ca3d7);border-radius:3px;opacity:.85}
.layout-mini i:nth-child(1){grid-column:span 4}.layout-mini i:nth-child(2){grid-column:span 4;opacity:.6}
.layout-mini i:nth-child(n+3){background:#fff6}
.layout-mini[data-structure="2"]{grid-template-columns:22px repeat(3,1fr)}.layout-mini[data-structure="2"] i:first-child{grid-column:1;grid-row:span 3}.layout-mini[data-structure="2"] i:nth-child(2){grid-column:2/span 3}
.layout-mini[data-structure="3"] i:nth-child(2){grid-column:span 2;grid-row:span 2}.layout-mini[data-structure="4"]{grid-template-columns:repeat(2,1fr)}.layout-mini[data-structure="4"] i:nth-child(2){grid-column:span 1;grid-row:span 2}
.layout-mini[data-structure="5"]{grid-template-columns:repeat(5,1fr)}.layout-mini[data-structure="5"] i:nth-child(2){grid-column:span 5}
.layout-preview-area{min-width:0;min-height:0;display:flex;flex-direction:column;padding:14px;gap:12px;background:#0b1929}
.layout-device{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.layout-device button.selected{background:#e6bc78;color:#182b41}
.layout-frame-wrap{flex:1;min-height:0;display:grid;place-items:center;overflow:auto}
.layout-frame-shell{position:relative;flex:none;overflow:hidden;background:#fff;box-shadow:0 10px 40px #0007;border:6px solid #365777;border-radius:12px}
.layout-frame-shell iframe{border:0;display:block}
.layout-bottom{padding:12px 18px;display:flex;align-items:center;gap:10px;justify-content:flex-end;background:#1b3856;border-top:1px solid #446483;flex-wrap:wrap}
.layout-bottom .publish{background:#edc780;color:#183047;font-weight:800}
.layout-bottom .layout-status{margin-right:auto;color:#b8d4e8;font-size:12px}
@media(max-width:800px){.layout-dialog{inset:1vh 1vw}.layout-body{grid-template-columns:1fr;grid-template-rows:minmax(160px,36%) minmax(0,1fr)}.layout-picker{border-right:0;border-bottom:1px solid #446483}.layout-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.layout-top{padding:10px}.layout-frame-wrap{overflow:auto}}
/* Cada organização altera a hierarquia, navegação e disposição dos blocos. */
@media(min-width:900px){
html[data-layout-structure="2"] body{padding-left:0!important}
html[data-layout-structure="2"] .desktop-sidebar{position:relative!important;top:auto!important;left:auto!important;bottom:auto!important;width:auto!important;flex-direction:row!important;flex-wrap:wrap!important;justify-content:center!important;min-height:0!important;padding:10px!important;overflow:visible!important}
html[data-layout-structure="2"] .desktop-sidebar .sidebar-heading{display:none!important}
html[data-layout-structure="2"] .desktop-sidebar .sidebar-link{width:auto!important;min-height:36px!important}
html[data-layout-structure="2"] main{padding-top:18px!important}
html[data-layout-structure="3"] .desktop-sidebar{width:82px!important;align-items:center!important}
html[data-layout-structure="3"] .desktop-sidebar .sidebar-link{font-size:0!important;justify-content:center!important}
html[data-layout-structure="3"] .desktop-sidebar .sidebar-link span{font-size:22px!important}
html[data-layout-structure="3"] .desktop-sidebar .sidebar-heading{font-size:0!important}
html[data-layout-structure="3"] body{padding-left:82px!important}
html[data-layout-structure="4"] body{padding-left:0!important;padding-right:230px!important}
html[data-layout-structure="4"] .desktop-sidebar{left:auto!important;right:0!important;border-right:0!important;border-left:1px solid #456!important}
html[data-layout-structure="5"] .desktop-sidebar{width:280px!important}
html[data-layout-structure="5"] body{padding-left:280px!important}
html[data-layout-structure="6"] .desktop-sidebar{width:180px!important}
html[data-layout-structure="6"] body{padding-left:180px!important}
html[data-layout-structure="7"] body{padding-left:0!important}
html[data-layout-structure="7"] .desktop-sidebar{position:relative!important;top:auto!important;left:auto!important;bottom:auto!important;width:auto!important;flex-direction:row!important;flex-wrap:wrap!important;justify-content:center!important;padding:10px!important;overflow:visible!important}
html[data-layout-structure="7"] .desktop-sidebar .sidebar-heading{display:none!important}
html[data-layout-structure="7"] .desktop-sidebar .sidebar-link{width:auto!important}
html[data-layout-structure="7"] header{max-width:1000px!important}
html[data-layout-structure="7"] main{max-width:1000px!important;margin:auto!important}
html[data-layout-structure="8"] main{max-width:1050px!important;margin:auto!important}
html[data-layout-structure="9"] body{padding-left:0!important}
html[data-layout-structure="9"] .desktop-sidebar{position:relative!important;top:auto!important;left:auto!important;bottom:auto!important;width:auto!important;flex-direction:row!important;flex-wrap:wrap!important;justify-content:center!important;padding:10px!important;overflow:visible!important}
html[data-layout-structure="9"] .desktop-sidebar .sidebar-heading{display:none!important}
html[data-layout-structure="9"] .desktop-sidebar .sidebar-link{width:auto!important}
html[data-layout-structure="9"] main{max-width:1600px!important}
html[data-layout-structure="10"] .desktop-sidebar{width:120px!important}
html[data-layout-structure="10"] body{padding-left:120px!important}
html[data-layout-structure="10"] .desktop-sidebar .sidebar-link{font-size:11px!important;flex-direction:column!important;text-align:center!important;gap:3px!important}
html[data-layout-structure="10"] .desktop-sidebar .sidebar-link span{font-size:20px!important}
}
html[data-layout-structure="1"] .hero{min-height:240px}
html[data-layout-structure="2"] .hero{min-height:175px;text-align:center}
html[data-layout-structure="2"] .hero .goldline{margin-left:auto;margin-right:auto}
html[data-layout-structure="3"] .hero{min-height:320px}
html[data-layout-structure="4"] .hero{min-height:190px;border-radius:3px!important}
html[data-layout-structure="5"] .hero{min-height:340px}
html[data-layout-structure="6"] .hero{min-height:160px}
html[data-layout-structure="7"] .hero{min-height:260px;border-radius:24px!important}
html[data-layout-structure="8"] .hero{min-height:180px;border-radius:0!important}
html[data-layout-structure="9"] .hero{min-height:300px;text-align:center}
html[data-layout-structure="9"] .hero .goldline{margin-left:auto;margin-right:auto}
html[data-layout-structure="10"] .hero{min-height:220px}
html[data-layout-structure="2"] .quick-card,html[data-layout-structure="7"] .quick-card{flex-basis:clamp(150px,20vw,240px)}
html[data-layout-structure="4"] .quick-card,html[data-layout-structure="8"] .quick-card{border-radius:3px!important}
html[data-layout-structure="5"] .quick-card,html[data-layout-structure="9"] .quick-card{flex-basis:clamp(190px,23vw,300px)}
html[data-layout-structure="6"] .quick-card,html[data-layout-structure="10"] .quick-card{flex-basis:clamp(140px,15vw,180px)}
html[data-layout-variant="1"] .brand h1{font-family:Georgia,serif!important;font-weight:700!important;letter-spacing:-.04em!important;font-size:30px!important}
html[data-layout-variant="2"] .brand h1{font-family:Arial,sans-serif!important;font-weight:900!important;letter-spacing:.12em!important;text-transform:uppercase!important;font-size:23px!important}
html[data-layout-variant="3"] .brand h1{font-family:Georgia,serif!important;font-style:italic!important;letter-spacing:-.04em!important;font-size:30px!important}
html[data-layout-variant="4"] .brand h1{font-family:system-ui,sans-serif!important;font-weight:300!important;letter-spacing:-.05em!important;font-size:33px!important}
html[data-layout-variant="5"] .brand h1{font-family:system-ui,sans-serif!important;font-weight:850!important;letter-spacing:-.06em!important;font-size:31px!important}
html[data-layout-variant="1"] .brandmark{border-radius:50%;background:#eacb8d22;padding:9px}
html[data-layout-variant="2"] .brandmark{border:2px solid currentColor;padding:6px;border-radius:4px}
html[data-layout-variant="3"] .brandmark{font-size:37px}
html[data-layout-variant="4"] .brandmark{display:none}
html[data-layout-variant="5"] .brandmark{background:#316f9d;border-radius:14px;padding:8px;color:#fff!important}
html[data-layout-variant="1"] .quick-card{border-radius:24px!important}
html[data-layout-variant="2"] .quick-card{border-radius:2px!important}
html[data-layout-variant="3"] .quick-card{border-radius:12px!important}
html[data-layout-variant="4"] .quick-card{border-radius:0!important}
html[data-layout-variant="5"] .quick-card{border-radius:18px!important}
.studio-switch{display:inline-flex;gap:5px;align-items:center;margin-top:9px;flex-wrap:wrap}.studio-switch button{border:1px solid #7795b3;background:#213f5d;color:#eaf3ff;border-radius:9px;padding:8px 11px;font-size:12px;cursor:pointer}.studio-switch button.selected{background:#e6bc78;color:#182b41;font-weight:800}.preview-heading .studio-switch{display:flex}.layout-top .studio-switch{display:flex}.layout-dialog{z-index:2101}.layout-overlay{z-index:2100}@media(max-width:700px){.studio-switch button{font-size:11px;padding:6px}}
/* Acesso rápido compacto: menos informação simultânea e capas preservadas. */
.quick-section{margin-top:16px!important}
.quick-section .sectionhead{margin-bottom:10px!important}
.quick-track{gap:10px!important;padding:2px 2px 10px!important;scrollbar-width:thin}
.quick-card{flex:0 0 clamp(124px,10.5vw,158px)!important;min-width:0!important}
.quick-link{height:206px!important}
.quick-link strong{left:10px!important;right:8px!important;bottom:13px!important;font-size:14px!important;line-height:1.2!important}
.quick-link b{display:none!important}
.quick-link::after{inset:45% 0 0!important;background:linear-gradient(to bottom,transparent,rgba(8,24,43,.84))!important}
.quick-edit{min-height:27px!important;padding:5px 7px!important;font-size:10px!important}
@media(max-width:700px){.quick-card{flex-basis:124px!important}.quick-link{height:182px!important}.quick-link strong{font-size:13px!important}.quick-track{gap:9px!important}}

/* IASD APP — início editorial compacto, hierarquia e navegação por setas. */
#content:has(.quick-section){--home-radius:16px}
#content:has(.quick-section) .hero{min-height:190px!important;max-height:230px!important;padding:23px 28px!important;margin:0 0 10px!important;border-radius:var(--home-radius)!important;overflow:hidden}
#content:has(.quick-section) .hero h2{font-size:clamp(24px,2.25vw,34px)!important;line-height:1.14!important;max-width:360px}
#content:has(.quick-section) .hero p{font-size:12px!important;max-width:310px!important;line-height:1.45!important}
#content:has(.quick-section) .hero .eyebrow{font-size:10px!important}
#content:has(.quick-section) .home-banner-edit{margin-top:4px!important;padding:7px 11px!important;font-size:12px!important}
#content:has(.quick-section) .quick-section{margin:15px 0 14px!important}
#content:has(.quick-section) .quick-section .sectionhead{margin:0 0 9px!important;align-items:center!important}
#content:has(.quick-section) .quick-section h2{font-size:16px!important}
#content:has(.quick-section) .quick-add{padding:7px 10px!important;font-size:12px!important}
.quick-carousel{position:relative;min-width:0}
#content .quick-carousel .quick-track{gap:12px!important;padding:2px 1px 8px!important;scrollbar-width:none!important;scroll-snap-type:x proximity!important}
#content .quick-carousel .quick-track::-webkit-scrollbar{display:none}
#content .quick-carousel .quick-card{flex:0 0 clamp(136px,11.5vw,166px)!important;border-radius:13px!important}
#content .quick-carousel .quick-link{height:190px!important}
#content .quick-carousel .quick-link strong{font-size:14px!important;left:11px!important;bottom:13px!important}
#content .quick-carousel .quick-edit{min-height:25px!important;padding:5px!important;font-size:10px!important}
.quick-arrow{position:absolute;top:42%;z-index:5;display:grid;place-items:center;width:35px;height:45px;border-radius:12px;background:rgba(12,30,49,.88)!important;border:1px solid #8eabc46b!important;color:#fff!important;font-size:30px!important;line-height:1;box-shadow:0 4px 18px #0005;backdrop-filter:blur(8px)}
.quick-arrow-prev{left:4px}.quick-arrow-next{right:4px}
.quick-arrow:hover{background:#316a9c!important}
#content:has(.quick-section) .verse-card{margin:8px 0 14px!important;min-height:0!important;padding:14px 20px!important;border-radius:14px!important}
#content:has(.quick-section) .verse-card blockquote{font-size:clamp(13px,1.1vw,16px)!important;margin:0 0 7px!important}
#content:has(.quick-section) .home-schedule{border-radius:16px!important;padding:18px 22px!important}
#content:has(.quick-section) .home-schedule .sectionhead{margin-bottom:10px!important}
@media(max-width:700px){
#content:has(.quick-section) .hero{min-height:185px!important;max-height:none!important;padding:20px!important}
#content .quick-carousel .quick-card{flex-basis:130px!important}
#content .quick-carousel .quick-link{height:178px!important}
.quick-arrow{width:28px;height:39px;font-size:24px!important}
#content:has(.quick-section) .home-schedule{padding:14px!important}
}
@media(prefers-reduced-motion:reduce){#content .quick-carousel .quick-track{scroll-behavior:auto!important}}

/* Layout do início baseado no desenho: área central e agenda à direita. */
.home-wireframe{display:grid;grid-template-columns:minmax(0,1fr) minmax(265px,29%);gap:18px;align-items:start;margin:0 0 24px}
.home-wireframe-main{min-width:0}
.home-wireframe-brand{text-align:center;margin:5px 0 14px}
.home-wireframe-brand h1{margin:0;color:#f7f9ff;font-size:clamp(25px,2.3vw,34px);font-weight:850;letter-spacing:-.04em}
.home-wireframe-brand h1 span{color:#e9c080}
.home-wireframe-brand small{font-size:10px;letter-spacing:.17em;color:#b9ccdd}
.home-wireframe-welcome{background:linear-gradient(150deg,#1c3b59,#254d72);border:1px solid #9bb6ce55;border-radius:16px;overflow:hidden}
#content .home-wireframe-welcome .hero{margin:0!important;min-height:178px!important;max-height:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:22px 24px 15px!important}
#content .home-wireframe-welcome .hero h2{font-size:clamp(23px,2.2vw,32px)!important}
.home-wireframe-tools{position:relative;z-index:2;padding:0 20px 17px;display:grid;gap:7px}
.home-wireframe-tools label{color:#eaf1fa;font-size:11px;font-weight:800}
.home-wireframe-tools input{width:100%;min-height:43px;border:1px solid #a7c2da!important;border-radius:9px!important;background:#f3f8fc!important;color:#173a5b!important;font-size:14px}
#content .home-wireframe .home-banner-edit{margin:9px 0 0!important}
#content .home-wireframe .quick-section{margin:15px 0 0!important}
#content .home-wireframe .quick-carousel .quick-card{flex-basis:clamp(112px,11vw,150px)!important}
#content .home-wireframe .quick-carousel .quick-link{height:174px!important}
#content .home-wireframe .verse-card{margin:11px 0 0!important;padding:13px 15px!important;min-height:0!important}
#content .home-wireframe .verse-card blockquote{font-size:13px!important}
.home-wireframe-aside{min-width:0;min-height:480px;margin-top:62px;padding:19px 17px;border-radius:16px;border:1px solid #8babc45e;background:linear-gradient(160deg,#264e75,#17314e);color:#f5f9ff}
.home-today-head{border-bottom:1px solid #acc8dd55;padding:0 0 14px;margin-bottom:12px}
.home-today-head small{font-size:10px;letter-spacing:.14em;color:#f1c985;font-weight:800}
.home-today-head h2{font-size:clamp(19px,1.7vw,24px);margin:8px 0;color:#fff}
.home-wireframe-aside .home-schedule{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
.home-wireframe-aside .home-schedule .sectionhead{margin:0 0 12px!important}
.home-wireframe-aside .home-schedule .sectionhead h2{font-size:13px!important;color:#dceafa!important}
.home-wireframe-aside .home-schedule .sectionhead button{font-size:11px!important;padding:7px!important;background:#e7bf7e!important;color:#1a3854!important;border-radius:8px}
.home-wireframe-aside .schedule{padding:12px 0!important;border-bottom:1px solid #a4c4db33;background:transparent!important}
.home-wireframe-aside .schedule .time{color:#f1c784!important;font-size:11px}
.home-wireframe-aside .schedule strong{color:#fff!important;font-size:12px}
.home-wireframe-aside .schedule small{color:#c7daeb!important;font-size:11px}
@media(max-width:1000px){.home-wireframe{grid-template-columns:minmax(0,1fr)}.home-wireframe-aside{margin-top:0;min-height:0}}
@media(max-width:700px){.home-wireframe{gap:12px}.home-wireframe-tools{padding:0 14px 14px}#content .home-wireframe-welcome .hero{padding:17px 15px 11px!important}}

/* IASD APP 2.0 — isolated dashboard design system */
#content:has(.app-dashboard){width:100%;min-width:0}
.app-dashboard{--dash-bg:#12263b;--dash-panel:#1c3955;--dash-border:rgba(176,209,238,.18);--dash-text:#f6f9ff;--dash-muted:#b5c9dd;--dash-gold:#f2c67d;max-width:1680px;margin:0 auto;padding:5px 0 42px;color:var(--dash-text)}
.dashboard-identity{display:flex;align-items:center;justify-content:center;gap:13px;text-align:left;margin:4px 0 22px}
.identity-mark{display:grid;place-items:center;width:46px;height:46px;border:1px solid #a8d0f04d;border-radius:15px;background:linear-gradient(145deg,#315d83,#183652);box-shadow:0 8px 26px #07152245;font-size:24px;color:#f1c47e}
.dashboard-identity h1{font-size:clamp(25px,2.1vw,35px);font-weight:850;letter-spacing:-.055em;margin:0;line-height:1.1;color:#f7fbff}
.dashboard-identity h1 em{font-style:normal;color:#f2c67d}
.dashboard-identity p{font-size:10px;letter-spacing:.22em;margin:5px 0 0;color:#b3cbe0;font-weight:700}
.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(285px,30%);gap:20px;align-items:stretch}
.dashboard-primary{min-width:0;display:flex;flex-direction:column;gap:18px}
.dashboard-welcome{min-width:0;background:linear-gradient(145deg,#1e405e,#193550);border:1px solid var(--dash-border);border-radius:20px;overflow:hidden;box-shadow:0 15px 40px #06152430}
.dashboard-hero{min-height:220px;position:relative;overflow:hidden;isolation:isolate;display:flex;align-items:center;padding:27px clamp(20px,3vw,42px);background:linear-gradient(115deg,#153c63,#265c87)}
.dashboard-hero:after{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,rgba(9,25,45,.89) 0%,rgba(9,25,45,.73) 42%,rgba(9,25,45,.08) 100%);pointer-events:none}
.dashboard-hero .hero-custom-image{position:absolute;z-index:-2;inset:0;min-width:100%;min-height:100%;object-fit:cover}
.dashboard-hero-content{position:relative;z-index:1;max-width:460px}
.dashboard-kicker{display:inline-block;color:#f5d9a4;font-size:10px;letter-spacing:.2em;font-weight:800;margin-bottom:14px}
.dashboard-hero h2{font-size:clamp(27px,2.9vw,43px);line-height:1.1;letter-spacing:-.045em;margin:0 0 12px;color:white;font-weight:850}
.dashboard-hero h2 em{font-style:normal;color:#f3c47b}
.dashboard-hero p{font-size:13px;line-height:1.65;max-width:330px;color:#e2edf7;margin:0}
.dashboard-edit{position:absolute;right:15px;top:15px;z-index:2;background:#102b48d9;color:#fff;border:1px solid #c3dcf65e;border-radius:9px;padding:8px 11px;font-size:11px}
.dashboard-tools{padding:18px clamp(17px,2.4vw,31px) 20px;display:grid;gap:10px}
.dashboard-tools>label{font-size:10px;letter-spacing:.16em;font-weight:800;color:#e2ecf6}
.dashboard-search{display:flex;align-items:center;gap:12px;background:#f6faff;border:1px solid #b5cbe0;border-radius:12px;padding:0 14px;color:#345777;min-width:0}
.dashboard-search span{font-size:26px}
.dashboard-search input{height:44px;flex:1;min-width:0;background:transparent!important;border:0!important;outline:0!important;color:#183957!important;font-size:13px!important;box-shadow:none!important}
.dashboard-verse{display:flex;align-items:center;gap:13px;margin-top:3px;border:1px solid #e4c28750;background:linear-gradient(110deg,#e5f1ff0e,#f3c67d0e);padding:12px 14px;border-radius:11px}
.verse-symbol{font-size:23px;color:#f2c67d}
.dashboard-verse blockquote{font-size:12px;line-height:1.5;color:#eef6ff;margin:0 0 5px;font-style:italic}
.dashboard-verse small{color:#f0c980;font-size:9px;letter-spacing:.16em;font-weight:800}
.app-dashboard .quick-section{margin:0!important;min-width:0}
.app-dashboard .quick-section .sectionhead{margin:0 0 12px!important}
.app-dashboard .quick-section .sectionhead h2{font-size:17px!important;color:#f7faff!important;letter-spacing:-.02em}
.app-dashboard .quick-carousel{min-width:0;position:relative}
.app-dashboard .quick-track{display:flex!important;gap:12px!important;overflow-x:auto!important;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#6584a2 transparent;padding-bottom:10px}
.app-dashboard .quick-card{flex:0 0 clamp(126px,15vw,175px)!important;min-width:0;scroll-snap-align:start;border:1px solid #89b2d34d!important;border-radius:13px!important;overflow:hidden!important;background:#173b5b!important}
.app-dashboard .quick-link{height:205px!important;position:relative!important;overflow:hidden!important}
.app-dashboard .quick-cover{height:100%!important;position:absolute!important;inset:0!important;background:linear-gradient(145deg,#1c527b,#102b45)!important}
.app-dashboard .quick-cover img.quick-foreground{max-width:none}
.app-dashboard .quick-link:after{content:"";position:absolute;inset:36% 0 0;background:linear-gradient(0deg,rgba(5,19,34,.96),rgba(5,19,34,0));pointer-events:none}
.app-dashboard .quick-link strong{position:absolute!important;z-index:2;bottom:22px;left:11px;right:9px;color:#fff!important;font-size:13px!important;text-shadow:0 1px 8px #0008}
.app-dashboard .quick-link small{display:none!important}
.app-dashboard .quick-link b{position:absolute!important;z-index:2;bottom:8px;left:11px;color:#f2c67d!important;font-size:9px!important}
.app-dashboard .quick-edit{background:#1b4469!important;color:#e9f3fc!important;font-size:10px!important}
.dashboard-agenda{min-width:0;display:flex;flex-direction:column;align-self:stretch;background:linear-gradient(155deg,#234b70,#17334f 70%);border:1px solid #8fb9db52;border-radius:20px;padding:23px 20px;box-shadow:0 15px 40px #06152430;min-height:465px;max-height:850px}
.agenda-heading{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #a3c2da39;padding-bottom:18px}
.agenda-eyebrow{font-size:10px;letter-spacing:.18em;font-weight:800;color:#f1c77f}
.agenda-heading h2{font-size:clamp(19px,1.8vw,26px);letter-spacing:-.035em;line-height:1.15;margin:10px 0 9px;color:#fff}
.agenda-heading p{margin:0;font-size:12px;color:#bed2e5;text-transform:capitalize}
.agenda-heading-icon{display:grid;place-items:center;width:39px;height:39px;flex-shrink:0;border-radius:12px;background:#ffffff14;color:#f1cc90;font-size:22px}
.agenda-program{display:flex;flex-direction:column;gap:5px;margin:18px 0 7px}
.agenda-program strong{color:#fff;font-size:14px}
.agenda-program span{font-size:11px;color:#b8cee2}
.agenda-events{min-height:0;overflow-y:auto;flex:1;padding-right:4px;scrollbar-width:thin}
.dashboard-agenda .schedule{background:transparent!important;border-bottom:1px solid #a5c4df27!important;padding:15px 0!important}
.dashboard-agenda .schedule .time{font-size:11px!important;color:#f1c67e!important}
.dashboard-agenda .schedule strong{font-size:12px!important;color:#f7faff!important}
.dashboard-agenda .schedule small{font-size:11px!important;color:#c3d5e7!important}
.agenda-empty{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;padding:35px 8px;color:#d7e7f6}
.agenda-empty>span{font-size:37px;color:#f1c67e}
.agenda-empty strong{font-size:14px}
.agenda-empty p{font-size:12px;line-height:1.6;color:#bad0e2;max-width:220px}
.agenda-view{margin-top:17px;display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:12px 14px;border-radius:11px;background:#f1c77f;color:#18334e;font-size:12px;font-weight:800}
.agenda-view:hover{background:#ffdb9b}
html[data-theme="light"] .app-dashboard{--dash-text:#17344e}
html[data-theme="light"] .dashboard-identity h1{color:#1c3957}
html[data-theme="light"] .dashboard-identity p{color:#58728a}
html[data-theme="light"] .app-dashboard .quick-section .sectionhead h2{color:#193b59!important}
@media(max-width:1180px){.dashboard-grid{grid-template-columns:minmax(0,1fr) minmax(265px,32%);gap:14px}.dashboard-agenda{padding:18px 15px}.dashboard-hero{min-height:205px}}
@media(max-width:900px){.dashboard-grid{grid-template-columns:minmax(0,1fr)}.dashboard-agenda{max-height:none;min-height:270px}.agenda-events{max-height:480px}.app-dashboard{padding-bottom:30px}}
@media(max-width:600px){.dashboard-identity{margin:3px 0 17px}.dashboard-identity h1{font-size:25px}.dashboard-grid{gap:16px}.dashboard-primary{gap:16px}.dashboard-hero{min-height:200px;padding:20px 17px}.dashboard-hero h2{font-size:29px}.dashboard-hero p{font-size:12px}.dashboard-edit{top:8px;right:8px;padding:6px;font-size:10px}.dashboard-tools{padding:14px}.app-dashboard .quick-card{flex-basis:135px!important}.app-dashboard .quick-link{height:185px!important}.dashboard-agenda{padding:19px 16px}.dashboard-search input{font-size:16px!important}}

/* Dashboard: avoid circular grid sizing between the agenda's percentage height
   and the auto-sized grid row, which can grow the page indefinitely. */
@media(min-width:901px){
 .app-dashboard .dashboard-grid{align-items:start}
 .app-dashboard .dashboard-primary{min-height:0}
 .app-dashboard .dashboard-agenda{align-self:start;height:auto;min-height:0;max-height:850px;overflow:hidden}
 .app-dashboard .agenda-events{min-height:0;flex:0 1 auto;max-height:480px;overflow-y:auto;overscroll-behavior:contain}
 .app-dashboard .quick-link{height:248px!important}
 .app-dashboard .quick-card{flex-basis:clamp(145px,15.5vw,185px)!important}
}
@media(min-width:901px) and (max-width:1180px){
 .app-dashboard .quick-link{height:228px!important}
 .app-dashboard .quick-card{flex-basis:clamp(135px,15vw,165px)!important}
}

/* Single desktop header: keep the account controls alongside the centered dashboard title. */
@media(min-width:901px){
 body:has(.app-dashboard)>header{display:none!important}
 body:has(.app-dashboard)>main{padding-top:17px!important}
 .app-dashboard .dashboard-topbar{position:relative;display:flex;align-items:center;justify-content:center;min-height:64px;margin:0 0 18px}
 .app-dashboard .dashboard-identity{margin:0!important}
 .app-dashboard .dashboard-account-slot{position:absolute;right:0;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:flex-end;max-width:42%}
 .app-dashboard .dashboard-account-slot .header-actions{display:flex;align-items:center;gap:9px;position:relative;z-index:12}
 .app-dashboard .dashboard-account-slot .preview-launch{font-size:11px;padding:9px 11px;white-space:nowrap}
 .app-dashboard .dashboard-account-slot .account-trigger{min-height:42px;padding:5px 9px}
}
@media(min-width:901px) and (max-width:1250px){
 .app-dashboard .dashboard-topbar{justify-content:flex-start}
 .app-dashboard .dashboard-account-slot{max-width:58%}
}
@media(max-width:900px){.app-dashboard .dashboard-account-slot{display:none}}

/* Premium IASD APP identity: custom geometric emblem and editorial wordmark. */
.premium-wordmark{gap:16px!important;text-align:left!important;isolation:isolate}
.premium-wordmark .premium-symbol{position:relative;flex:0 0 55px;width:55px;height:55px;border-radius:17px;display:grid;place-items:center;background:linear-gradient(145deg,#214c71 0%,#10263c 70%);border:1px solid #81c5e555;box-shadow:inset 0 1px #ffffff29,0 9px 23px #020d1c50!important;transform:rotate(-8deg)}
.premium-wordmark .premium-symbol:before{content:"";position:absolute;inset:8px;border:1.5px solid #eecb8d;border-radius:10px;transform:rotate(45deg) scale(.8);opacity:.95}
.premium-wordmark .premium-symbol:after{content:"";position:absolute;width:6px;height:6px;right:4px;top:4px;background:#eecb8d;border-radius:50%;box-shadow:0 0 12px #eecb8d80}
.premium-wordmark .symbol-core{font-family:Georgia,serif;font-size:27px;line-height:1;color:#fff0d3;filter:drop-shadow(0 0 7px #f6d69c70);transform:rotate(8deg)}
.premium-wordmark .wordmark-copy{display:flex;flex-direction:column;align-items:center}
.premium-wordmark .wordmark-eyebrow{font-size:8px;letter-spacing:.27em;font-weight:800;color:#9dbbd3;white-space:nowrap;margin-bottom:3px}
.premium-wordmark .wordmark-eyebrow span{color:#edc684;padding:0 3px}
.premium-wordmark h1{display:flex;align-items:baseline;gap:10px;margin:0!important;font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-size:clamp(30px,2.5vw,42px)!important;line-height:1.03!important;font-weight:900!important;letter-spacing:-.07em!important}
.premium-wordmark .wordmark-iasd{color:#f7fbff;text-shadow:0 2px 15px #ffffff12}
.premium-wordmark .wordmark-app{font-style:normal;letter-spacing:-.055em;color:#f3cc8b;background:linear-gradient(145deg,#fff2cc 0%,#efc47e 50%,#c68d45 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.premium-wordmark p{display:flex;align-items:center;justify-content:center;gap:9px;font-size:8px!important;letter-spacing:.21em!important;font-weight:750!important;color:#b8ccde!important;white-space:nowrap;margin-top:7px!important}
.premium-wordmark .wordmark-rule{width:18px;height:1px;background:linear-gradient(90deg,transparent,#e7bf77)}
.premium-wordmark .wordmark-rule:last-child{transform:rotate(180deg)}
html[data-theme="light"] .premium-wordmark .wordmark-iasd{color:#1a3856;text-shadow:none}
html[data-theme="light"] .premium-wordmark .wordmark-eyebrow,html[data-theme="light"] .premium-wordmark p{color:#526f8a!important}
@media(max-width:600px){.premium-wordmark{gap:9px!important}.premium-wordmark .premium-symbol{width:42px;height:42px;flex-basis:42px;border-radius:13px}.premium-wordmark .premium-symbol:before{inset:7px}.premium-wordmark .symbol-core{font-size:21px}.premium-wordmark h1{font-size:27px!important;gap:7px}.premium-wordmark .wordmark-eyebrow{font-size:6px;letter-spacing:.13em}.premium-wordmark p{font-size:6px!important;letter-spacing:.1em!important;gap:5px}.premium-wordmark .wordmark-rule{width:9px}}

/* Accessibility repair: the layout presets must never render light modal surfaces
   with inherited white-on-white headings, labels, and action text. */
#auth-modal-root .auth-dialog{background:#172b43!important;color:#f1f6ff!important;border:1px solid #42617d!important;box-shadow:0 32px 100px #020b17b8!important}
#auth-modal-root .auth-brand,#auth-modal-root .auth-brand span{color:#f1f6ff!important}
#auth-modal-root .auth-brand b{color:#f1c981!important}
#auth-modal-root .auth-hero h2{color:#fff!important;font-size:clamp(23px,4vw,30px)!important;line-height:1.2!important}
#auth-modal-root .auth-hero>span{color:#f1c981!important}
#auth-modal-root .auth-hero p,#auth-modal-root .auth-switch,#auth-modal-root .auth-guest{color:#c2d4e6!important}
#auth-modal-root .auth-dialog label{color:#e1ecf7!important}
#auth-modal-root .auth-dialog input{background:#0f2033!important;color:#f7fbff!important;border:1px solid #54718e!important}
#auth-modal-root .auth-dialog input::placeholder{color:#9bb0c6!important}
#auth-modal-root .auth-dialog input:focus{border-color:#f1c981!important;box-shadow:0 0 0 3px #f1c98124!important}
#auth-modal-root .auth-submit{background:#f1c981!important;color:#16283c!important}
#auth-modal-root .auth-switch button{color:#f1c981!important}
#auth-modal-root .auth-close{background:#29445f!important;color:#fff!important}
#auth-modal-root #auth-feedback{color:#ffd0c9!important}
#auth-modal-root .auth-success{color:#e9f7ed!important}
@media(max-width:480px){#auth-modal-root .auth-dialog{padding:23px!important;width:calc(100vw - 24px)!important}#auth-modal-root .auth-hero{margin:22px 0 18px}}

/* Unified overlay and schedule contrast across all fifty layout presets. */
#account-popover-root .account-popover{background:#182e46!important;color:#f3f8ff!important;border:1px solid #4b6885!important;box-shadow:0 20px 65px #0008!important}
#account-popover-root .account-popover-head{border-color:#46617c!important}
#account-popover-root .account-popover-head strong{color:#fff!important}
#account-popover-root .account-popover-head small{color:#bfd0e2!important}
#account-popover-root .account-popover button:not(.account-signin){color:#eaf3ff!important;background:transparent!important}
#account-popover-root .account-popover button:not(.account-signin):hover{background:#2d4b69!important}
#account-popover-root .account-popover .account-signin{background:#edc47d!important;color:#192b40!important}
#account-popover-root .account-popover .account-logout{color:#ffb6b6!important}
#content .schedule-group{background:#243c56!important;color:#f2f7ff!important;border:1px solid #6884a1!important}
#content .schedule-group strong{color:#f2f7ff!important}
#content .schedule-group small{color:#c1d2e5!important}
#content .schedule-group.selected{background:#354a60!important;border:2px solid #f1c981!important;box-shadow:inset 0 0 0 1px #f1c98133!important}
#content .schedule-group.selected strong{color:#fff!important}
#content .schedule-group.selected small{color:#f3d7a8!important}
#content .schedules-panel .scroll-arrow{background:#29435e!important;color:#f3f8ff!important;border:1px solid #5b7895!important}
html[data-theme="light"] #content .schedule-group{background:#f1f5fb!important;color:#19345a!important;border-color:#c6d4e5!important}
html[data-theme="light"] #content .schedule-group strong{color:#19345a!important}
html[data-theme="light"] #content .schedule-group small{color:#49617c!important}
html[data-theme="light"] #content .schedule-group.selected{background:#fff6e4!important;border-color:#bb8a38!important}
html[data-theme="light"] #content .schedule-group.selected strong{color:#26364a!important}
html[data-theme="light"] #content .schedule-group.selected small{color:#73521f!important}
@media(max-width:480px){#account-popover-root .account-popover{right:12px!important;max-width:calc(100vw - 24px)!important}}

.sound-hub{max-width:1050px;margin:0 auto}.sound-hub-head{padding:32px;border:1px solid #38506a;border-radius:20px;background:linear-gradient(130deg,#142941,#214c70);color:#f5f8ff}.sound-hub-head h2{font-size:clamp(28px,4vw,42px);margin:10px 0}.sound-hub-head p{color:#c7d9ec}.sound-hub-eyebrow{font-size:11px;letter-spacing:.25em;color:#f5c97e;font-weight:800}.sound-hub-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:20px}.sound-hub-grid button{display:flex;flex-direction:column;align-items:flex-start;gap:14px;text-align:left;padding:28px 24px;min-height:205px;border-radius:18px;border:1px solid var(--border,#38506a);background:var(--surface,#203750);color:var(--ink,#f5f8ff);cursor:pointer}.sound-hub-grid button:hover{border-color:#e4b96e;transform:translateY(-2px)}.sound-hub-grid button span{font-size:32px;color:#f1c678}.sound-hub-grid button strong{font-size:19px}.sound-hub-grid button small{line-height:1.5;color:var(--muted,#c6d2df)}.sound-gate{max-width:620px;margin:36px auto;text-align:center;padding:42px 30px}.sound-gate-icon{font-size:44px;color:#e8bf7b}.sound-gate p{line-height:1.7}@media(max-width:700px){.sound-hub-grid{grid-template-columns:1fr}.sound-hub-grid button{min-height:140px}.sound-hub-head{padding:25px}}

/* Founder dashboard — consistent with the active light/dark theme */
.founder-dashboard{color:var(--iasd-ink,#eef3f9)}
.founder-dashboard .sectionhead h2{color:var(--iasd-ink,#eef3f9)!important}
.founder-dashboard .sectionhead .muted{color:var(--iasd-ink,#eef3f9)!important;opacity:.72}
.founder-dashboard .sectionhead>button{background:var(--iasd-surface,#28394b)!important;color:var(--iasd-ink,#eef3f9)!important;border:1px solid color-mix(in srgb,var(--iasd-ink,#eef3f9) 23%,transparent)!important;border-radius:9px;padding:10px 15px}
.founder-dashboard .founder-stats>div,.founder-dashboard .founder-user-card{background:var(--iasd-surface,#28394b)!important;color:var(--iasd-ink,#eef3f9)!important;border:1px solid color-mix(in srgb,var(--iasd-ink,#eef3f9) 20%,transparent)!important;box-shadow:0 7px 24px #00000012}
.founder-dashboard .founder-stats strong{color:var(--iasd-accent,#d8ad62)!important}
.founder-dashboard .founder-stats small,.founder-dashboard .founder-user-card strong{color:var(--iasd-ink,#eef3f9)!important;opacity:1}
.founder-dashboard .founder-user-card small,.founder-dashboard .founder-user-meta{color:var(--iasd-ink,#eef3f9)!important;opacity:.78}
.founder-dashboard .founder-user-card .church-position-badge,.founder-dashboard .founder-locked{color:var(--iasd-accent,#d8ad62)!important;opacity:1}
.founder-dashboard .founder-position-row{border-top:1px solid color-mix(in srgb,var(--iasd-ink,#eef3f9) 18%,transparent)!important}
.founder-dashboard .founder-position-row label{color:var(--iasd-ink,#eef3f9)!important}
.founder-dashboard .founder-user-actions select,.founder-dashboard .founder-position-row select{background:color-mix(in srgb,var(--iasd-surface,#28394b) 86%,var(--iasd-bg,#172330))!important;color:var(--iasd-ink,#eef3f9)!important;border:1px solid color-mix(in srgb,var(--iasd-ink,#eef3f9) 30%,transparent)!important;border-radius:9px}
.founder-dashboard .founder-user-actions select option,.founder-dashboard .founder-position-row select option{background:var(--iasd-surface,#28394b);color:var(--iasd-ink,#eef3f9)}
.founder-dashboard .founder-user-actions button.primary{background:var(--iasd-accent,#d8ad62)!important;color:#142335!important;border:0!important}
.founder-dashboard .founder-position-row button:not(.founder-delete-btn){background:color-mix(in srgb,var(--iasd-surface,#28394b) 70%,var(--iasd-ink,#eef3f9) 12%)!important;color:var(--iasd-ink,#eef3f9)!important;border:1px solid color-mix(in srgb,var(--iasd-ink,#eef3f9) 25%,transparent)!important}
.founder-dashboard .founder-delete-btn{background:transparent!important;border:1px solid #e28d8d!important;color:#f4a3a3!important}
.founder-dashboard .founder-status{background:#285846!important;color:#c6f8d9!important}
.founder-dashboard .founder-status.pending{background:#6c502b!important;color:#ffdf9d!important}
@media(max-width:700px){.founder-dashboard .founder-user-actions{flex-wrap:wrap}.founder-dashboard .founder-position-row select{min-width:0;width:100%}}

/* Bible: scoped theme-aware controls and readable results */
.bible-panel{color:var(--iasd-ink,#eef3f9)!important}
.bible-panel>label,.bible-fields label{display:block;color:var(--iasd-ink,#eef3f9)!important;opacity:.9;font-weight:650;font-size:13px;margin:15px 0 8px}
.bible-panel select,.bible-panel input{display:block;width:100%;min-width:0;box-sizing:border-box;background:var(--iasd-bg,#172330)!important;color:var(--iasd-ink,#eef3f9)!important;border:1px solid color-mix(in srgb,var(--iasd-ink,#eef3f9) 26%,transparent)!important;border-radius:11px!important;padding:13px!important;font-size:15px!important;line-height:1.4!important}
.bible-panel select option{background:var(--iasd-surface,#28394b);color:var(--iasd-ink,#eef3f9)}
.bible-panel select:focus,.bible-panel input:focus{outline:2px solid var(--iasd-accent,#d8ad62);outline-offset:2px}
.bible-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:8px 0 18px}.bible-fields>div{min-width:0}.bible-fields input{margin-top:9px}
.bible-panel #bresult{margin:20px 0 0}.bible-panel .bible-result{background:color-mix(in srgb,var(--iasd-surface,#28394b) 86%,var(--iasd-bg,#172330))!important;border:1px solid color-mix(in srgb,var(--iasd-ink,#eef3f9) 18%,transparent);border-radius:16px;padding:23px;color:var(--iasd-ink,#eef3f9)!important}
.bible-panel .bible-result-eyebrow{color:var(--iasd-accent,#d8ad62);font-size:11px;font-weight:800;letter-spacing:.13em}
.bible-panel .bible-result h3{color:var(--iasd-ink,#eef3f9)!important;font-size:23px;margin:10px 0}
.bible-panel .bible-result p{color:var(--iasd-ink,#eef3f9)!important;font-size:18px;line-height:1.7;opacity:1!important;margin:12px 0 22px}
.bible-panel .bible-note{margin-top:16px;font-size:12px}.bible-panel .bible-error{padding:17px;background:#8c29292a;color:var(--iasd-ink,#eef3f9);border-radius:12px}.bible-projection-note{color:#83dfae!important}
@media(max-width:600px){.bible-fields{grid-template-columns:1fr;gap:3px}.bible-panel .bible-result{padding:16px}}

/* Central de projeções: prévia e próxima cena, sem alterar o protocolo existente */
.proj-console{display:grid;gap:16px}.proj-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.proj-kicker{font-size:11px;letter-spacing:.17em;color:#e9c990;font-weight:800}.proj-top h2{margin:5px 0;font-size:clamp(23px,4vw,32px)}.proj-badge{border:1px solid #326454;background:#12352d;color:#a6f0c5;padding:9px 13px;border-radius:30px;font-size:12px;font-weight:750}.proj-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.proj-screen{background:linear-gradient(140deg,#101e30,#0b1421);border:1px solid #3a536c;border-radius:18px;padding:15px;min-width:0}.proj-screen.next{border-color:#977747}.proj-screen header{padding:0;display:flex;justify-content:space-between;align-items:center}.proj-screen h3{font-size:13px;color:#b7c9df;margin:0 0 12px}.proj-display{display:grid;place-items:center;text-align:center;min-height:175px;max-height:260px;overflow:auto;overflow-wrap:anywhere;white-space:pre-wrap;border-radius:11px;background:radial-gradient(circle at 50% 20%,#1c344d,#05090e 85%);padding:20px;color:#fff;font-size:clamp(15px,2vw,25px);line-height:1.35}.proj-screen.next .proj-display{outline:1px dashed #a48451;outline-offset:-8px}.proj-console textarea{min-height:130px;resize:vertical}.proj-actions{display:flex;flex-wrap:wrap;gap:9px}.proj-actions button{padding:12px 15px;border-radius:10px;background:#27425f;font-weight:700}.proj-actions button.primary{background:#e1b65e;color:#141e2b}.proj-actions button.danger{background:#743d42}.proj-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.proj-shortcuts button{background:#162d46;border:1px solid #36506c;border-radius:12px;padding:14px 9px;font-weight:700}.proj-note{font-size:12px;color:#a7bcd2;line-height:1.6}@media(max-width:650px){.proj-grid{grid-template-columns:1fr}.proj-display{min-height:145px}.proj-shortcuts{grid-template-columns:1fr 1fr}}

/* Capas 9:16 com enquadramento editável. O título administrativo fica fora da arte. */
.quick-card .quick-link{height:auto!important;aspect-ratio:9/16!important}
.quick-card .quick-cover img.quick-foreground,.cover-preview.portrait img.quick-foreground{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:contain!important;transform-origin:center center!important}
.quick-card .quick-cover img.quick-backdrop,.cover-preview.portrait img.quick-backdrop{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;filter:blur(18px) brightness(.55)!important;transform:none!important}
.quick-card .quick-link:has(img.quick-foreground)::after{display:none!important}
.quick-card .quick-link strong{display:none!important}
.quick-card .quick-link b{display:none!important}
.quick-admin-title{display:block;padding:6px 5px 2px;text-align:center;color:#f2f7ff;font-size:12px;font-weight:700;line-height:1.2}
.cover-preview.portrait{aspect-ratio:9/16!important;height:auto!important;width:min(100%,185px)!important}

/* Leitor bíblico pessoal */
.reader{--paper:#192a3d;--reading:#f3f5f8;--sub:#b7c7d9;color:var(--reading);max-width:1020px;margin:auto}.reader-light{--paper:#fffaf0;--reading:#263b4f;--sub:#536a7e}.reader-hero{border:1px solid #6384a35a;border-radius:20px;padding:27px 30px;background:linear-gradient(120deg,#102f4c,#173d61 62%,#78562b);margin-bottom:17px}.reader-hero h2{font-size:clamp(24px,4vw,38px);color:white;margin:9px 0}.reader-hero p{color:#e2eaf2;line-height:1.6;max-width:620px}.reader-eyebrow{color:#ffd08b;letter-spacing:.16em;font-weight:800;font-size:10px}.reader-toolbar{display:flex;align-items:end;flex-wrap:wrap;gap:12px;background:#1c334b;border:1px solid #6685a344;border-radius:16px;padding:15px;margin-bottom:12px}.reader-toolbar label{display:grid;gap:7px;flex:1 1 175px;color:#e7f0fc;font-size:12px;font-weight:700}.reader-toolbar select{width:100%;height:44px;background:#11283e!important;color:white!important;border:1px solid #64809b!important;border-radius:10px;padding:0 10px}.reader-actions{display:flex;gap:7px;flex-wrap:wrap}.reader-actions button,.reader-progress button,.reader-footer button,.reader-saved button{background:#284a68;color:#f5faff;border:1px solid #6b8ba45e;border-radius:10px;padding:11px 13px;cursor:pointer}.reader-actions button:hover,.reader-progress button:hover,.reader-footer button:hover{background:#35658b}.reader-progress{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 2px 15px}.reader-progress span{font-weight:800;color:var(--iasd-ink,#fff)}.reader-paper{background:var(--paper)!important;color:var(--reading)!important;border:1px solid #8397a345;border-radius:18px;padding:clamp(19px,4vw,45px);font-family:Georgia,'Times New Roman',serif;line-height:1.9;box-shadow:0 14px 42px #07152530}.reader-paper h3{font-family:inherit;text-align:center;color:var(--reading)!important;font-size:1.65em;margin:0 0 27px}.reader-paper h3 span{color:#d4a95e}.reader-verse{color:var(--reading)!important;margin:0 0 14px;line-height:1.85;font-size:1em;opacity:1!important}.reader-verse sup{font-family:system-ui;font-size:.63em;font-weight:800;color:#ca9b4d;margin-right:9px;vertical-align:super}.reader-footer{display:flex;gap:9px;flex-wrap:wrap;margin:14px 0}.reader-saved{border:1px solid #7196ae55;border-radius:13px;padding:15px;margin:10px 0}.reader-saved button{margin:8px 7px 0 0}.reader-source{font-size:12px;color:var(--iasd-muted,#b7c4d3);line-height:1.6}.reader-light .reader-paper{box-shadow:0 12px 35px #07152518}.reader-light .reader-verse sup{color:#966e25}
.bible-panel .bible-result,.bible-panel .bible-result *{color:var(--iasd-ink,#eef3f9)!important}.bible-panel .bible-result{background:var(--iasd-surface,#28394b)!important}
#desktop-sidebar{background:linear-gradient(180deg,#102438,#122f48 55%,#102338)!important;border-right:1px solid #7290ad38;padding:17px 10px!important;box-shadow:inset -1px 0 #ffffff0c}
#desktop-sidebar .sidebar-link{border-radius:11px!important;margin:3px 0!important;padding:12px 13px!important;transition:background .18s,transform .18s;border:1px solid transparent!important;font-weight:600}
#desktop-sidebar .sidebar-link:hover{background:#325477!important;transform:translateX(2px)}
#desktop-sidebar .sidebar-link.active{background:linear-gradient(100deg,#345c82,#23476d)!important;border-color:#a8c9e338!important;box-shadow:0 5px 16px #06182c55}
.dashboard-search{background:linear-gradient(120deg,#f8fbff,#eaf3fb)!important;border:1px solid #b8d2e9!important;border-radius:14px!important;box-shadow:0 5px 20px #071d3426,inset 0 1px #fff!important;min-height:49px!important}
.dashboard-search:focus-within{border-color:#edbd74!important;box-shadow:0 0 0 3px #e9b86930,0 7px 24px #071d3430!important}
.dashboard-search input::placeholder{color:#6c859e!important}
@media(max-width:650px){.reader-toolbar{padding:12px}.reader-hero{padding:22px}.reader-progress button{padding:10px 8px;font-size:12px}.reader-actions{width:100%}.reader-actions button{flex:1}}

/* IASD APP · navegação futurista: painéis luminosos, trilho e estados claros */
#desktop-sidebar{isolation:isolate;background:radial-gradient(ellipse at 10% 0%,#18496a 0%,transparent 48%),linear-gradient(170deg,#071625 0%,#0a2137 52%,#071423 100%)!important;border-right:1px solid #36b9f052!important;box-shadow:inset -1px 0 #55bdf023,8px 0 28px #020d1b38!important;padding:19px 10px!important}
#desktop-sidebar::before{content:"";position:absolute;inset:0 0 auto;height:190px;z-index:-1;pointer-events:none;background:repeating-linear-gradient(120deg,transparent 0 22px,#4cbded0b 23px 24px),radial-gradient(ellipse at 20% 5%,#28b6e71d,transparent 70%)}
#desktop-sidebar .sidebar-heading{font-size:9px!important;font-weight:800!important;letter-spacing:.23em!important;color:#74c7ed!important;padding:11px 12px!important;border-bottom:1px solid #5ac8fa26;margin-bottom:11px!important}
#desktop-sidebar .sidebar-link{position:relative!important;display:flex!important;align-items:center!important;gap:10px!important;margin:5px 0!important;padding:12px 10px!important;background:linear-gradient(100deg,#102c45b8,#0b1c2d8c)!important;border:1px solid #3b82a53b!important;border-radius:11px!important;color:#d6e9f6!important;box-shadow:inset 0 1px #b9e9ff0b,0 3px 12px #020d191c!important;font-weight:650!important;letter-spacing:.01em;transition:background .18s,transform .18s,border-color .18s,box-shadow .18s!important}
#desktop-sidebar .sidebar-link span:first-child{display:grid;place-items:center;flex:0 0 24px;min-width:24px;height:24px;border-radius:7px;background:#4dbdec15;border:1px solid #69b7df2c;color:#8fd7ff!important;font-size:15px}
#desktop-sidebar .sidebar-link:hover{transform:translateX(3px)!important;background:linear-gradient(100deg,#1b4c70,#10314d)!important;border-color:#65d5fa7d!important;box-shadow:0 0 17px #3bc5f21c!important}
#desktop-sidebar .sidebar-link.active{background:linear-gradient(105deg,#12517a,#123957 75%,#10334c)!important;border:1px solid #55d8ffb0!important;color:#fff!important;box-shadow:inset 0 0 20px #32baff19,0 0 19px #2dbcfb2d!important}
#desktop-sidebar .sidebar-link.active::before{content:"";position:absolute;left:-10px;top:18%;height:64%;width:3px;border-radius:0 5px 5px 0;background:#63e2ff;box-shadow:0 0 12px #43d6ff,0 0 24px #43d6ff80}
#desktop-sidebar .sidebar-link.active span:first-child{background:#5acfff29;border-color:#78e1ff7d;color:#f2fdff!important;box-shadow:0 0 13px #54d7ff35}
.dashboard-search{background:linear-gradient(105deg,#112f4a,#173b58)!important;border:1px solid #4381a763!important;border-radius:13px!important;box-shadow:0 7px 20px #04192e32,inset 0 1px #6ba7cb13!important;min-height:50px!important;color:#6cc9f4!important}
.dashboard-search span{color:#74d4ff!important;text-shadow:0 0 13px #52c9ff61}
.dashboard-search input{background:transparent!important;border:0!important;outline:none!important;box-shadow:none!important;color:#eef8ff!important}
.dashboard-search input::placeholder{color:#9bb9cf!important;opacity:1}
.dashboard-search:focus-within{border-color:#59c7f2!important;box-shadow:0 0 0 2px #46bfff23,0 0 23px #1d9adf2a!important}

/* Fix: o menu deve permanecer fixo, fora do fluxo do documento. */
@media(min-width:900px){#desktop-sidebar{position:fixed!important;top:0!important;bottom:0!important;left:0!important;overflow-y:auto!important;height:auto!important}}
@media(max-width:899px){#desktop-sidebar{display:none!important}}

/* Layout containment: hidden overlays and previews must not enlarge the page. */
html,body{max-width:100%;overflow-x:clip}
body>main,#content{min-width:0}
#content iframe{max-width:100%}
@media(max-width:900px){.app-dashboard .dashboard-agenda{height:auto;max-height:none}.app-dashboard .agenda-events{max-height:480px;overflow-y:auto}}

.mobile-page-actions{display:none}
@media(max-width:899px){
 .mobile-page-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:2px 14px 8px;position:relative;z-index:11}
 .mobile-page-actions button{display:inline-flex;align-items:center;gap:6px;min-height:38px;padding:7px 11px;border:1px solid #415970;border-radius:11px;background:#1b3045;color:#d9e5f0;font-size:12px;font-weight:750;box-shadow:0 5px 16px #0002}
 .mobile-page-actions .mobile-back{font-size:22px;padding-left:9px}.mobile-page-actions .mobile-back span{font-size:12px}
 .mobile-page-actions .mobile-home{color:#f0cb86}.mobile-page-actions .mobile-home:first-letter{font-size:17px}
 .mobile-page-actions.is-home{visibility:hidden;height:0;padding:0;overflow:hidden}
}


.carousel-speed{margin:14px 0;padding:13px;border:1px solid #40566d;border-radius:12px;background:#172a3e;display:flex;align-items:center;justify-content:space-between;gap:14px}.carousel-speed label strong,.carousel-speed label span{display:block}.carousel-speed label span{font-size:11px;color:#9fb2c6;margin-top:3px}.carousel-speed>div{display:flex;align-items:center;gap:7px}.carousel-speed input{width:72px;padding:8px;border-radius:8px;text-align:center}.carousel-speed button{padding:9px 11px;border-radius:9px}@media(max-width:600px){.carousel-speed{align-items:stretch;flex-direction:column}.carousel-speed>div{flex-wrap:wrap}.carousel-speed button{flex:1}}
.carousel-edit-dialog{width:min(900px,calc(100vw - 24px));max-height:88vh;overflow:hidden;display:flex;flex-direction:column}.carousel-edit-dialog>p{margin-bottom:8px}.carousel-edit-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px;margin:10px 0;max-height:min(46vh,430px);overflow-y:auto;padding:2px 5px 8px 2px}.carousel-edit-item{display:flex;flex-direction:column;gap:8px;padding:9px;border:1px solid #40566d;border-radius:12px;background:#172a3e;min-width:0}.carousel-edit-item img{width:100%;aspect-ratio:16/8;object-fit:cover;border-radius:8px}.carousel-edit-item div{min-width:0}.carousel-edit-item strong,.carousel-edit-item small{display:block}.carousel-edit-item small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#9fb2c6;margin-top:3px;font-size:10px}.carousel-edit-item button{padding:8px 9px;border-radius:9px}.carousel-item-actions{display:grid!important;grid-template-columns:1fr 1fr;gap:6px}.carousel-item-actions .danger-btn{background:#71323b!important;color:#fff!important}.carousel-speed{flex-shrink:0}.iasd-edit-actions{flex-shrink:0}@media(max-width:600px){.carousel-edit-dialog{width:calc(100vw - 16px);max-height:92dvh}.carousel-edit-list{grid-template-columns:repeat(2,minmax(0,1fr));max-height:43dvh;gap:7px}.carousel-edit-item{padding:7px}.carousel-edit-item small{display:none}.carousel-edit-item button{font-size:10px;padding:8px 5px}}
/* iasd-profile-mobile-fix */
/* Perfil: o editor e a imagem final usam exatamente a mesma caixa de recorte. */
.profile-avatar,.profile-crop-stage.avatar-stage{aspect-ratio:1/1!important}

.profile-crop-stage img,.profile-cover img,.profile-avatar img{display:block;will-change:transform;transform-origin:50% 50%!important}
.profile-crop-stage:not(.avatar-stage){aspect-ratio:900/245;height:auto}
@media(max-width:899px){
 body{padding-left:0!important}
 body>header{height:66px!important;min-height:66px!important;padding:10px 14px!important;display:flex!important;align-items:center!important}
 body>header .brand{min-width:0}
 body>header .brandmark{width:38px;height:38px}
 body>header h1{font-size:20px!important}
 body>header small{font-size:7px!important}
 .header-actions{margin-left:auto}
 .account-trigger{width:48px!important;height:48px!important;padding:3px!important;border:0!important;background:transparent!important;box-shadow:none!important;border-radius:50%!important}
 .account-avatar{width:42px!important;height:42px!important;border:2px solid #d8ad62!important;border-radius:50%!important;background:#263c53!important;box-shadow:none!important}
 .account-avatar img{border-radius:50%;width:100%;height:100%;object-fit:cover}
 body>main{width:100%!important;max-width:100%!important;margin:0!important;padding:12px 12px calc(92px + env(safe-area-inset-bottom,0px))!important;box-sizing:border-box!important}
 #content{width:100%;min-width:0;overflow:visible}
 .profile-layout{width:100%;max-width:none;margin:0}
 .profile-cover{height:auto!important;aspect-ratio:16/7;border-radius:16px}
 .profile-hero{margin-bottom:18px;display:grid;grid-template-columns:104px minmax(0,1fr);column-gap:14px;align-items:center}
 .profile-cover{grid-column:1/-1}
 .profile-avatar-wrap{position:relative!important;left:auto!important;bottom:auto!important;width:104px;height:104px;margin:-34px 0 0 8px;z-index:2}
 .profile-avatar{width:104px;height:104px;border-width:5px;font-size:36px}
 .profile-heading{padding:10px 4px 0 0!important;min-height:104px!important;display:flex!important;align-items:center!important;min-width:0}
 .profile-heading>div{min-width:0;width:100%}
 .profile-heading h2{font-size:20px;margin:0 0 5px}
 .profile-heading p{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .profile-role{margin-top:7px;padding:5px 9px;font-size:10px}
 .profile-form{padding:16px!important;border-radius:14px!important}
 .profile-crop-dialog{width:calc(100vw - 20px)!important;max-height:calc(100dvh - 20px);overflow-y:auto;padding:14px!important;box-sizing:border-box}
 .profile-crop-stage{width:100%;height:auto!important;aspect-ratio:16/7}
 .profile-crop-stage.avatar-stage{width:min(78vw,310px);aspect-ratio:1/1}
 .bottomnav{left:0!important;right:0!important;width:100%!important;max-width:none!important;transform:none!important;bottom:0!important;border-radius:22px 22px 0 0!important;padding:10px 8px calc(8px + env(safe-area-inset-bottom,0px))!important}
 .bottomnav button{min-width:0!important;padding:7px 2px!important;font-size:10px!important}
 .bottomnav button span{font-size:20px!important}
 #iasd-studio-frame{min-height:calc(100dvh - 128px);border:0;display:block;width:100%;border-radius:14px!important}
 body>main{padding-bottom:calc(82px + env(safe-area-inset-bottom,0px))!important}
}

/* Ícones vetoriais consistentes + carrossel do banner */
.iasd-icon{width:1.35em;height:1.35em;display:inline-block;vertical-align:-.22em;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.bottomnav .iasd-icon{width:23px;height:23px}.sidebar-link .iasd-icon{width:19px;height:19px}.tile .glyph .iasd-icon{width:24px;height:24px}
.dashboard-hero-carousel{position:absolute;inset:0;z-index:-2;overflow:hidden}.dashboard-hero-carousel .hero-slide{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:var(--hero-x,50%) var(--hero-y,50%);opacity:0;transform:scale(var(--hero-z,1));transform-origin:50% 50%;transition:opacity 1.05s ease-in-out;pointer-events:none}.dashboard-hero-carousel .hero-slide.active{opacity:1}
.dashboard-banner-actions{position:absolute;right:14px;top:14px;z-index:5;display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.dashboard-banner-actions button{position:static!important}
@media(max-width:599px){.dashboard-banner-actions{right:9px;top:9px}.dashboard-banner-actions button{font-size:10px!important;padding:7px 9px!important}}

/* IASD APP sidebar refinement */
*{scrollbar-width:thin;scrollbar-color:#31516d transparent}*::-webkit-scrollbar{width:7px;height:7px}*::-webkit-scrollbar-track{background:transparent}*::-webkit-scrollbar-thumb{background:#31516d;border-radius:999px}*::-webkit-scrollbar-thumb:hover{background:#47799b}
@media(min-width:900px){body{transition:padding-left .22s}body.iasd-sidebar-collapsed{padding-left:76px!important}#desktop-sidebar{width:230px!important;padding:14px 10px 18px!important;gap:1px!important;background:linear-gradient(180deg,#091a2b,#0a1d30 55%,#081827)!important;border-right:1px solid #24435e!important;box-shadow:8px 0 30px #020a1230!important;transition:width .22s,padding .22s!important;scrollbar-width:thin;scrollbar-color:#31516d transparent}#desktop-sidebar::before{display:none!important}.sidebar-brand{display:flex;align-items:center;gap:10px;min-height:52px;padding:5px 8px 12px;margin-bottom:8px;border-bottom:1px solid #ffffff0d}.sidebar-brand-mark{width:34px;height:34px;display:grid;place-items:center;flex:0 0 34px;border:1px solid #dcb76a55;border-radius:10px;background:#dcb76a12;color:#f0c979;font-size:18px}.sidebar-brand-copy{min-width:0;white-space:nowrap;overflow:hidden}.sidebar-brand-copy strong{display:block;color:#f4f8fc;font-size:13px;letter-spacing:.08em}.sidebar-brand-copy small{display:block;margin-top:2px;color:#718ba3;font-size:8px;letter-spacing:.16em}.sidebar-collapse{margin-left:auto;width:28px;height:28px;display:grid;place-items:center;flex:0 0 28px;border:1px solid #29465e!important;border-radius:8px!important;background:#10263a!important;color:#8eabc2!important;font-size:16px}.sidebar-collapse:hover{color:#fff!important;background:#17334c!important}#desktop-sidebar .sidebar-heading{padding:14px 10px 7px!important;margin:3px 0!important;border:0!important;color:#647f96!important;font-size:8px!important;letter-spacing:.2em!important}#desktop-sidebar .sidebar-heading-later{margin-top:9px!important;padding-top:13px!important;border-top:1px solid #ffffff0c!important}#desktop-sidebar .sidebar-link{position:relative!important;gap:11px!important;min-height:39px!important;margin:1px 0!important;padding:8px 10px!important;border:0!important;border-radius:9px!important;background:transparent!important;color:#9fb4c7!important;box-shadow:none!important;font-size:12px!important;font-weight:600!important;white-space:nowrap!important;overflow:hidden!important;transition:.16s!important}#desktop-sidebar .sidebar-link span:first-child{display:grid!important;place-items:center!important;width:22px!important;min-width:22px!important;height:22px!important;border:0!important;border-radius:0!important;background:transparent!important;color:#7898b3!important;font-size:16px!important;box-shadow:none!important}#desktop-sidebar .sidebar-link span:first-child svg{width:18px;height:18px}#desktop-sidebar .sidebar-link:hover{transform:none!important;background:#ffffff0a!important;color:#e9f2fa!important}#desktop-sidebar .sidebar-link.active{background:linear-gradient(90deg,#173753,#112b43)!important;color:#fff!important;border:0!important;box-shadow:inset 0 1px #ffffff0b!important}#desktop-sidebar .sidebar-link.active::before{left:0!important;top:9px!important;width:2px!important;height:21px!important;background:#e4bd6f!important;box-shadow:0 0 10px #e4bd6f55!important}#desktop-sidebar .sidebar-link.active span:first-child{color:#efc878!important;background:transparent!important;border:0!important;box-shadow:none!important}body.iasd-sidebar-collapsed #desktop-sidebar{width:76px!important;overflow-x:hidden!important}body.iasd-sidebar-collapsed .sidebar-brand-copy,body.iasd-sidebar-collapsed #desktop-sidebar .sidebar-heading{display:none!important}body.iasd-sidebar-collapsed .sidebar-brand{justify-content:center;padding-left:0;padding-right:0}body.iasd-sidebar-collapsed .sidebar-brand-mark{display:none}body.iasd-sidebar-collapsed .sidebar-collapse{margin:0;transform:rotate(180deg)}body.iasd-sidebar-collapsed #desktop-sidebar .sidebar-link{justify-content:center!important;padding-left:0!important;padding-right:0!important;font-size:0!important}body.iasd-sidebar-collapsed #desktop-sidebar .sidebar-link span:first-child{width:28px!important;min-width:28px!important}}

/* Aparência 3.0 — 10 arquiteturas × 5 linguagens visuais */
@media(min-width:900px){
html[data-layout-structure="1"] .desktop-sidebar{width:230px!important}html[data-layout-structure="1"] body{padding-left:230px!important}
html[data-layout-structure="2"] body{padding-left:0!important}html[data-layout-structure="2"] .desktop-sidebar{position:relative!important;width:auto!important;min-height:0!important;flex-direction:row!important;justify-content:center!important;padding:8px 18px!important;border-right:0!important;border-bottom:1px solid var(--iasd-accent,#d8ad62)!important}html[data-layout-structure="2"] .sidebar-brand{border:0!important;margin:0 18px 0 0!important;padding:0!important}html[data-layout-structure="2"] .sidebar-heading{display:none!important}html[data-layout-structure="2"] .sidebar-link{width:auto!important;padding:8px 13px!important}
html[data-layout-structure="3"] .desktop-sidebar{width:82px!important;align-items:center!important}html[data-layout-structure="3"] body{padding-left:82px!important}html[data-layout-structure="3"] .sidebar-brand-copy,html[data-layout-structure="3"] .sidebar-heading,html[data-layout-structure="3"] .sidebar-link{font-size:0!important}html[data-layout-structure="3"] .sidebar-link{justify-content:center!important}html[data-layout-structure="3"] .sidebar-link span:first-child{font-size:19px!important}
html[data-layout-structure="4"] body{padding-left:0!important;padding-right:230px!important}html[data-layout-structure="4"] .desktop-sidebar{left:auto!important;right:0!important;border-right:0!important;border-left:1px solid var(--iasd-border,#456)!important}
html[data-layout-structure="5"] .desktop-sidebar{width:280px!important}html[data-layout-structure="5"] body{padding-left:280px!important}html[data-layout-structure="5"] .sidebar-link{min-height:46px!important}html[data-layout-structure="5"] .dashboard-shell{gap:24px!important}
html[data-layout-structure="6"] .desktop-sidebar{width:176px!important}html[data-layout-structure="6"] body{padding-left:176px!important}html[data-layout-structure="6"] .sidebar-link{min-height:32px!important;padding:5px 8px!important}.quick-card{transition:.2s}
html[data-layout-structure="7"] body{padding-left:0!important}html[data-layout-structure="7"] .desktop-sidebar{position:relative!important;width:auto!important;min-height:0!important;flex-direction:row!important;justify-content:center!important;padding:12px!important}html[data-layout-structure="7"] .sidebar-heading{display:none!important}html[data-layout-structure="7"] header,html[data-layout-structure="7"] main{max-width:1050px!important;margin-left:auto!important;margin-right:auto!important}
html[data-layout-structure="8"] .desktop-sidebar{width:210px!important}html[data-layout-structure="8"] body{padding-left:210px!important}html[data-layout-structure="8"] .panel,html[data-layout-structure="8"] .quick-card,html[data-layout-structure="8"] .hero{border-radius:2px!important;box-shadow:none!important}
html[data-layout-structure="9"] .desktop-sidebar{width:250px!important}html[data-layout-structure="9"] body{padding-left:250px!important}html[data-layout-structure="9"] .dashboard-hero,html[data-layout-structure="9"] .hero{min-height:300px!important;text-align:center!important}html[data-layout-structure="9"] .quick-card{flex-basis:clamp(190px,23vw,300px)!important}
html[data-layout-structure="10"] .desktop-sidebar{width:92px!important}html[data-layout-structure="10"] body{padding-left:92px!important}html[data-layout-structure="10"] .sidebar-brand-copy,html[data-layout-structure="10"] .sidebar-heading,html[data-layout-structure="10"] .sidebar-link{font-size:0!important}html[data-layout-structure="10"] .sidebar-link{justify-content:center!important}html[data-layout-structure="10"] .sidebar-link span:first-child{font-size:20px!important}html[data-layout-structure="10"] .quick-card{flex-basis:clamp(140px,15vw,180px)!important}
}
html[data-layout-variant="1"] .panel,html[data-layout-variant="1"] .quick-card,html[data-layout-variant="1"] button{border-radius:22px}html[data-layout-variant="1"] .sidebar-brand-mark{border-radius:50%!important}
html[data-layout-variant="2"] .panel,html[data-layout-variant="2"] .quick-card,html[data-layout-variant="2"] button{border-radius:5px}html[data-layout-variant="2"] .sidebar-link{font-weight:800!important;letter-spacing:.03em!important}
html[data-layout-variant="3"] .panel{box-shadow:inset 0 1px #fff1,0 14px 35px #0002!important}html[data-layout-variant="3"] .sidebar-brand-copy strong{font-family:Georgia,serif!important;font-style:italic;font-size:15px!important}
html[data-layout-variant="4"] .panel,html[data-layout-variant="4"] .quick-card{box-shadow:none!important;border-width:1px!important}html[data-layout-variant="4"] .sidebar-link{font-weight:400!important}html[data-layout-variant="4"] .sidebar-brand-mark{display:none!important}
html[data-layout-variant="5"] .panel,html[data-layout-variant="5"] .quick-card{box-shadow:0 16px 38px #0003!important}html[data-layout-variant="5"] .sidebar-link.active{box-shadow:inset 3px 0 var(--iasd-accent,#d8ad62)!important}
.sidebar-brand-mark{overflow:hidden}.sidebar-brand-mark:before{content:"";width:32px;height:32px;background:url('/iasd-app-logo.png?v=1') center/contain no-repeat;display:block}.sidebar-brand-mark{font-size:0!important}
/* Temas alcançam controles e módulos internos */
[data-site-theme] .schedule,[data-site-theme] .event,[data-site-theme] .media-card,[data-site-theme] .bible-card,[data-site-theme] .special-date-card,[data-site-theme] .scale-card,[data-site-theme] .projection-card,[data-site-theme] .studio-card{border-color:var(--iasd-border,currentColor)!important}[data-site-theme] .desktop-sidebar,[data-site-theme] .bottomnav,[data-site-theme] .panel,[data-site-theme] .quick-card,[data-site-theme] .profile-card{transition:background .25s,border-color .25s,color .25s,box-shadow .25s}
/* Aparência 2.0: previews distintos e identidade global */
.theme-choice{position:relative;overflow:hidden;min-height:118px;transition:transform .18s,border-color .18s,box-shadow .18s}.theme-choice:hover{transform:translateY(-2px);box-shadow:0 10px 24px #0003}.theme-swatch{position:relative;height:48px!important;overflow:hidden}.theme-swatch:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 78% 25%,#fff4 0 3px,transparent 4px),linear-gradient(115deg,transparent 0 46%,#fff1 47% 49%,transparent 50%)}.theme-choice:nth-child(3n) .theme-swatch:before{background:repeating-linear-gradient(135deg,#fff0 0 8px,#fff2 9px 10px)}.theme-choice:nth-child(4n) .theme-swatch:before{background:radial-gradient(circle at 20% 70%,#fff3 0 2px,transparent 3px),radial-gradient(circle at 75% 25%,#fff3 0 3px,transparent 4px)}.layout-mini{position:relative;overflow:hidden}.layout-choice:nth-child(5n+1) .layout-mini{border-radius:5px}.layout-choice:nth-child(5n+2) .layout-mini{border-radius:14px}.layout-choice:nth-child(5n+3) .layout-mini{transform:perspective(220px) rotateX(2deg)}.layout-choice:nth-child(5n+4) .layout-mini i{border-radius:999px}.layout-choice:nth-child(5n) .layout-mini{background-image:linear-gradient(135deg,#ffffff0b 25%,transparent 25%,transparent 50%,#ffffff0b 50%,#ffffff0b 75%,transparent 75%);background-size:18px 18px}.layout-choice:nth-child(2n) .layout-mini i:nth-child(2){background:linear-gradient(90deg,var(--mini-accent),#fff8)}.layout-choice:nth-child(3n) .layout-mini i:nth-child(n+3){outline:1px solid #ffffff22}.layout-choice:nth-child(4n) .layout-mini i:first-child{height:7px;align-self:center}.layout-choice:nth-child(7n) .layout-mini:after{content:"✦";position:absolute;right:8px;top:8px;color:#fff9;font-size:13px}

/* IASD APP — acabamento profissional unificado 2026-09-28 */
:root{--iasd-navy:#071421;--iasd-navy-2:#0b1d2e;--iasd-card:#102438;--iasd-card-2:#132b42;--iasd-border:#29455f;--iasd-text:#f4f7fb;--iasd-muted:#91a6b9;--iasd-gold:#efc46f;--iasd-gold-2:#c9933e}
body{background:radial-gradient(circle at 78% -15%,#18344d 0,transparent 35%),linear-gradient(145deg,#07131f,#0a1928 48%,#07131f)!important;color:var(--iasd-text)!important}
body>header{background:#081725e8!important;border-bottom:1px solid #1d3448!important;backdrop-filter:blur(18px);box-shadow:0 8px 28px #0003}
body>main{max-width:1280px!important}
.panel,.profile-form,.schedule-group,.image-card,.media-card,.bible-card,.special-date-card,.scale-card,.projection-card,.studio-card{background:linear-gradient(145deg,#102438,#0d1f31)!important;border:1px solid #29455f!important;color:#f4f7fb!important;box-shadow:0 14px 35px #00000024!important}
.panel h1,.panel h2,.panel h3,.panel strong,.sectionhead h2,.profile-heading h2{color:#f7f9fc!important}
.panel p,.panel .muted,.muted,.panel small,.profile-heading p{color:#9fb2c4!important}
.panel label{color:#dce7f1!important}
.panel input,.panel textarea,.panel select,.profile-form input,.profile-form textarea,.profile-form select{background:#091a2a!important;border:1px solid #35536d!important;color:#f6f9fc!important;box-shadow:inset 0 1px 2px #0003!important}
.panel input::placeholder,.panel textarea::placeholder{color:#718aa0!important}
.panel input:focus,.panel textarea:focus,.panel select:focus{border-color:#e6bd6d!important;outline:0!important;box-shadow:0 0 0 3px #e6bd6d1d!important}
.panel button,.action{background:#18334d!important;color:#e9f1f8!important;border:1px solid #34526c!important;box-shadow:none!important}
.panel button:hover,.action:hover{background:#20405d!important;border-color:#4a6d89!important}
.panel button.primary,.action.primary,.image-upload{background:linear-gradient(135deg,#f1cc83,#d7a64e)!important;color:#172331!important;border-color:#f2ce88!important;font-weight:800!important}
.sectionhead{border-bottom:1px solid #203a50;padding-bottom:10px}
.hero,.dashboard-hero{border:1px solid #294a65!important;background:linear-gradient(112deg,#0d2134,#173a56 60%,#102a40)!important;box-shadow:0 18px 45px #0004!important}
.hero h2,.dashboard-hero h2{color:#fff!important}.hero p,.dashboard-hero p{color:#c4d3df!important}
.quick-card,.tile,.tile.feature{background:linear-gradient(145deg,#102438,#0c1d2e)!important;border:1px solid #29455f!important;color:#f4f7fb!important;box-shadow:0 12px 28px #0002!important}
.quick-card:hover,.tile:hover{border-color:#527493!important;transform:translateY(-2px)}
.quick-card strong,.tile strong{color:#f5f8fb!important}.quick-card small,.tile small{color:#91a7bb!important}
.tile .glyph,.tile:nth-child(odd) .glyph,.tile.feature .glyph{background:#18344d!important;color:#edc576!important;border:1px solid #31516d!important}
.verse-card{background:linear-gradient(115deg,#102438,#142c42)!important;border:1px solid #36546c!important;box-shadow:0 12px 30px #0003!important}.verse-card blockquote{color:#eef4f9!important}.verse-card small{color:#e8bd70!important}
.schedule .event strong,.schedule-group strong{color:#f2f6fa!important}.schedule .event small,.schedule-group small{color:#93a9bc!important}.schedule .event{border-left-color:#31506a!important}.schedule .event:before{background:#e9bd6d!important;box-shadow:0 0 0 4px #102438!important}
.account-trigger,.preview-launch,.iconbtn{background:#10283d!important;color:#eef5fb!important;border:1px solid #31506a!important;box-shadow:none!important}
.profile-cover{border:1px solid #31506a!important}.profile-role{background:#e7bd6d1c!important;color:#efc979!important;border:1px solid #d9ad5c55!important}
.bottomnav{background:#091a29f2!important;border-color:#29445c!important;box-shadow:0 -10px 30px #0005!important;backdrop-filter:blur(20px)}.bottomnav button{color:#91a8bb!important}.bottomnav button.active{color:#f0c773!important}
#desktop-sidebar{background:linear-gradient(180deg,#061522,#091b2a 55%,#061522)!important;border-right-color:#243f56!important}
.sidebar-brand{border-bottom-color:#ffffff10!important}.sidebar-brand-copy strong{color:#f5f8fb!important}.sidebar-brand-copy small,.sidebar-heading{color:#708aa0!important}
#desktop-sidebar .sidebar-link{color:#9db2c4!important}#desktop-sidebar .sidebar-link:hover{background:#ffffff0a!important;color:#fff!important}#desktop-sidebar .sidebar-link.active{background:linear-gradient(90deg,#183a55,#102b41)!important;color:#fff!important}#desktop-sidebar .sidebar-link.active::before{background:#efc46f!important}
.image-card{overflow:hidden}.media-filename{color:#b5c5d3!important}.asset-slot{border-color:#31506a!important;background:#0d2032!important}
#bresult .panel{background:#102438!important}#bresult .panel p{color:#dce7f0!important}
@media(max-width:899px){body>header{background:#081725f2!important}.panel{border-radius:15px!important}.quick-card,.tile{border-radius:15px!important}.bottomnav{border-radius:18px 18px 0 0!important}}

/* Desktop viewport fill repair — keep premium styling, restore proportional full-width layout */
@media(min-width:900px){
 body:not(.iasd-sidebar-collapsed){padding-left:230px!important}
 body.iasd-sidebar-collapsed{padding-left:76px!important}
 body>main{width:100%!important;max-width:none!important;margin:0!important;padding-left:clamp(24px,3vw,54px)!important;padding-right:clamp(24px,3vw,54px)!important;box-sizing:border-box!important}
 #content{width:100%!important;max-width:none!important}
 .app-dashboard{width:100%!important;max-width:none!important;margin:0!important}
 .app-dashboard .dashboard-topbar{width:100%!important}
 .dashboard-shell{width:100%!important;max-width:none!important;grid-template-columns:minmax(0,2.25fr) minmax(300px,.95fr)!important;gap:clamp(18px,2vw,30px)!important}
 .dashboard-shell>*{min-width:0!important}
 .dashboard-hero,.hero{width:100%!important;max-width:none!important}
 .dashboard-schedule,.today-panel{width:100%!important;max-width:none!important}
 .quick-access-section,.quick-access,.quick-grid,.quick-scroll{width:100%!important;max-width:none!important}
 .quick-scroll{overflow-x:auto!important}
}
@media(min-width:1500px){
 body>main{padding-left:clamp(36px,4vw,72px)!important;padding-right:clamp(36px,4vw,72px)!important}
 .dashboard-shell{grid-template-columns:minmax(0,2.4fr) minmax(330px,.9fr)!important}
}

/* IASD APP Redesign 2026 — Fases 1–4 */
:root{
 --rd-bg:#07111f;--rd-bg2:#0a1728;--rd-surface:#0d1b2d;--rd-surface2:#11243a;
 --rd-border:#203650;--rd-text:#f5f8fc;--rd-muted:#8fa4bb;--rd-blue:#2f8cff;
 --rd-blue2:#5bb8ff;--rd-gold:#e9b85f;--rd-green:#39d98a;--rd-radius:18px;
}
body{background:radial-gradient(circle at 72% -12%,#12365c 0,transparent 32%),linear-gradient(180deg,var(--rd-bg),#050b14 78%)!important;color:var(--rd-text)!important}
body>header{height:72px;max-width:none!important;margin:0!important;padding:0 28px 0 300px!important;border-bottom:1px solid #ffffff0c;background:#07111fba!important;backdrop-filter:blur(22px);position:sticky;top:0;z-index:20}
body>header .brand{display:none!important}
main{max-width:none!important;margin:0!important;padding:26px 32px 110px 302px!important}
.desktop-sidebar{width:270px!important;background:linear-gradient(180deg,#07121f,#081727)!important;border-right:1px solid #17304a!important;box-shadow:16px 0 45px #0003;z-index:30!important}
.sidebar-brand{min-height:92px!important;border-bottom:1px solid #17304a!important}
.sidebar-brand-mark{background:linear-gradient(145deg,#147cff,#50b8ff)!important;color:white!important;box-shadow:0 0 25px #1688ff55!important}
.sidebar-brand-copy strong{font-size:18px!important;letter-spacing:.05em}.sidebar-brand-copy small{color:#6f89a5!important}
.sidebar-heading{color:#54708e!important;font-size:10px!important;letter-spacing:.18em!important}
.sidebar-link{margin:3px 10px!important;width:calc(100% - 20px)!important;border-radius:12px!important;color:#91a6bc!important;transition:.18s ease!important}
.sidebar-link:hover{background:#10253b!important;color:#e9f4ff!important;transform:translateX(2px)}
.sidebar-link.active{background:linear-gradient(90deg,#0d61c8,#128cff)!important;color:#fff!important;box-shadow:0 8px 24px #006be83b!important}
.sidebar-link.active:before{display:none!important}
.dashboard-topbar{min-height:68px!important;margin:-20px 0 20px!important;border-bottom:1px solid #ffffff0d!important}
.dashboard-identity .premium-symbol{width:48px!important;height:48px!important;border-radius:14px!important;background:#0b6fdf!important}
.wordmark-eyebrow{color:#67839e!important}.wordmark-copy h1{font-size:25px!important}.wordmark-app{color:#3fa4ff!important}
.account-trigger{background:#0d1d30!important;border:1px solid #24415f!important;border-radius:14px!important;box-shadow:none!important}
.dashboard-grid{grid-template-columns:minmax(0,1fr) 350px!important;gap:22px!important}
.dashboard-welcome{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
.dashboard-hero{min-height:300px!important;border-radius:22px!important;border:1px solid #28415d!important;overflow:hidden!important;box-shadow:0 22px 50px #0005!important}
.dashboard-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#06111fe8 0%,#071522a8 43%,transparent 76%);pointer-events:none}
.dashboard-hero-content{position:relative;z-index:2!important;padding:38px!important;max-width:600px!important}
.dashboard-kicker{color:#63b7ff!important;letter-spacing:.18em!important;font-size:11px!important}
.dashboard-hero-content h2{font-size:clamp(34px,4vw,58px)!important;line-height:1.02!important;letter-spacing:-.035em!important;margin:12px 0!important}
.dashboard-hero-content h2 em{color:var(--rd-gold)!important;font-style:normal!important}
.dashboard-hero-content p{color:#b6c7d8!important;font-size:16px!important;max-width:440px!important}
.dashboard-tools{display:grid!important;grid-template-columns:minmax(260px,1fr) minmax(320px,1.1fr)!important;gap:14px!important;margin-top:16px!important}
.dashboard-tools>label{grid-column:1/-1!important;color:#5f7d9b!important}
.dashboard-search,.dashboard-verse{background:#0b1a2b!important;border:1px solid #1c3550!important;border-radius:16px!important;min-height:74px!important}
.dashboard-search input{color:#f4f8fc!important}.dashboard-search input::placeholder{color:#627b94!important}
.dashboard-verse blockquote{color:#dce8f3!important}.dashboard-verse small,.verse-symbol{color:var(--rd-gold)!important}
.dashboard-agenda{background:linear-gradient(180deg,#0d1c2d,#091522)!important;border:1px solid #1d3853!important;border-radius:22px!important;box-shadow:0 18px 45px #0003!important;overflow:hidden!important}
.agenda-eyebrow{color:#4fa7ff!important}.agenda-heading h2{color:#f5f9fd!important}.agenda-heading p{color:#839ab1!important}
.agenda-heading-icon{background:#102b46!important;color:#54aeff!important;border:1px solid #1d4c78!important}
.agenda-program{background:#0b2136!important;border-color:#1e4567!important}.agenda-program span{color:#65b9ff!important}
.agenda-view{background:linear-gradient(90deg,#146ed5,#238fff)!important;color:#fff!important;border:0!important}
.home-quick,.quick-grid,.dashboard-quick-grid{scrollbar-width:none}
.tile,.panel{background:linear-gradient(145deg,#0e1d2e,#0a1725)!important;border-color:#1c3650!important;box-shadow:0 12px 30px #0002!important}
.tile:hover{border-color:#2e6da4!important;transform:translateY(-2px)}
.tile .glyph{background:#102d49!important;color:#5db5ff!important}
.tile.feature{background:linear-gradient(145deg,#2b2113,#111b27)!important;border-color:#75572b!important}
.sectionhead h2,.panel h2{color:#f5f8fc!important}
.sound-hub{max-width:1180px;margin:0 auto}
.sound-hub-head{position:relative;overflow:hidden;padding:38px;border:1px solid #224463!important;border-radius:24px!important;background:radial-gradient(circle at 85% 20%,#174f7c 0,transparent 35%),linear-gradient(135deg,#0c2034,#081521)!important;box-shadow:0 20px 50px #0004!important}
.sound-hub-head:after{content:"♫";position:absolute;right:40px;top:12px;font-size:140px;color:#58afff0c;transform:rotate(-8deg)}
.sound-hub-eyebrow{color:#5cb5ff!important;letter-spacing:.2em!important}.sound-hub-head h2{font-size:42px!important;margin:8px 0!important}.sound-hub-head p{color:#9db2c6!important;max-width:620px!important}
.sound-hub-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;margin-top:18px!important}
.sound-hub-grid button{min-height:180px!important;text-align:left!important;padding:24px!important;border-radius:20px!important;background:linear-gradient(145deg,#10243a,#0b1928)!important;border:1px solid #22415e!important;box-shadow:0 12px 30px #0002!important}
.sound-hub-grid button:hover{transform:translateY(-3px);border-color:#3989c9!important}.sound-hub-grid button>span{display:grid!important;place-items:center;width:48px;height:48px;border-radius:14px;background:#0c65c5!important;color:#fff!important;font-size:22px!important;margin-bottom:22px}.sound-hub-grid strong{font-size:18px!important}.sound-hub-grid small{color:#8fa6bd!important;margin-top:8px!important;line-height:1.55!important}
.theme-toggle{background:#0c1c2d!important;border:1px solid #24415d!important;color:#75bfff!important;box-shadow:0 8px 28px #0003!important}
body.iasd-light,body[data-theme-mode="light"]{--rd-bg:#edf4fa;--rd-bg2:#f7fbff;--rd-surface:#fff;--rd-surface2:#f4f8fc;--rd-border:#d7e3ee;--rd-text:#14283c;--rd-muted:#62778b;background:linear-gradient(180deg,#f5f9fd,#eaf2f8)!important;color:#14283c!important}
body.iasd-light>header,body[data-theme-mode="light"]>header{background:#ffffffdc!important;border-color:#dce6ef!important}
body.iasd-light .desktop-sidebar,body[data-theme-mode="light"] .desktop-sidebar{background:linear-gradient(180deg,#fff,#f4f8fc)!important;border-color:#dce6ef!important;box-shadow:10px 0 30px #23405a0b}
body.iasd-light .sidebar-link,body[data-theme-mode="light"] .sidebar-link{color:#5f7387!important}
body.iasd-light .dashboard-search,body.iasd-light .dashboard-verse,body.iasd-light .dashboard-agenda,body.iasd-light .tile,body.iasd-light .panel,body[data-theme-mode="light"] .dashboard-search,body[data-theme-mode="light"] .dashboard-verse,body[data-theme-mode="light"] .dashboard-agenda,body[data-theme-mode="light"] .tile,body[data-theme-mode="light"] .panel{background:#fff!important;border-color:#d9e5ef!important;color:#183149!important;box-shadow:0 12px 35px #27445e0d!important}
body.iasd-light .dashboard-verse blockquote,body.iasd-light .sectionhead h2,body.iasd-light .panel h2,body[data-theme-mode="light"] .dashboard-verse blockquote,body[data-theme-mode="light"] .sectionhead h2,body[data-theme-mode="light"] .panel h2{color:#183149!important}
@media(max-width:1100px){.dashboard-grid{grid-template-columns:1fr!important}.dashboard-agenda{min-height:auto!important}.sound-hub-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:800px){
 body>header{height:58px!important;padding:0 14px!important;background:#07111fee!important}
 main{padding:14px 12px 104px!important}.desktop-sidebar{display:none!important}
 .dashboard-topbar{margin:0 0 12px!important;min-height:56px!important}.dashboard-identity{transform:scale(.86);transform-origin:left center}
 .dashboard-grid{display:block!important}.dashboard-hero{min-height:240px!important;border-radius:18px!important}.dashboard-hero-content{padding:24px 20px!important}.dashboard-hero-content h2{font-size:36px!important}
 .dashboard-tools{grid-template-columns:1fr!important}.dashboard-tools>label{grid-column:auto!important}.dashboard-verse{min-height:88px!important}
 .dashboard-agenda{margin-top:16px!important;border-radius:18px!important}
 .bottomnav{background:#071421f2!important;border-color:#18334d!important;padding-bottom:calc(8px + env(safe-area-inset-bottom))!important;box-shadow:0 -10px 35px #0004!important}
 .bottomnav button{color:#7890a8!important}.bottomnav button.active{color:#58afff!important}
 .sound-hub-head{padding:26px 20px!important}.sound-hub-head h2{font-size:34px!important}.sound-hub-grid{grid-template-columns:1fr!important}.sound-hub-grid button{min-height:140px!important}
}
@media(max-width:430px){.dashboard-hero{min-height:225px!important}.dashboard-hero-content h2{font-size:31px!important}.dashboard-hero-content p{font-size:14px!important}.dashboard-tools{gap:10px!important}.sound-hub-head:after{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important}}


/* Refinamento das páginas internas — mantém renderizadores e dados atuais */
.reader-hero h2{font-size:clamp(30px,4vw,48px)!important;letter-spacing:-.04em!important}.reader-hero p{max-width:720px!important;color:#9db2c6!important}.reader-toolbar{padding:16px!important;gap:10px!important}.reader-toolbar label{color:#7f9ab4!important}.reader-toolbar select{min-height:46px!important}.reader-progress{margin:14px 0!important;padding:10px!important;border:1px solid #1e3b57!important;border-radius:14px!important;background:#0a1827!important}.reader-paper{max-width:920px!important;margin:0 auto!important;padding:clamp(24px,5vw,60px)!important}.reader-paper h3{font-size:30px!important}.reader-verse{line-height:1.85!important}.reader-verse sup{color:#58afff!important;font-weight:800!important}.reader-footer{justify-content:center!important;margin-top:14px!important}
.profile-layout{max-width:1180px!important;margin:0 auto!important}.profile-hero{box-shadow:0 20px 50px #0003!important}.profile-heading{padding:18px 28px 26px!important}.profile-heading h2{font-size:28px!important;letter-spacing:-.03em!important}.profile-role{background:#0d64bf!important;color:#fff!important;border:1px solid #318ee3!important}.profile-edit-info{background:#102a42!important;border-color:#285170!important}.profile-logout button{border-color:#734552!important;background:#4b2c35!important}
.schedule-layout,.sabbath-page,.game-page{max-width:1320px!important;margin-left:auto!important;margin-right:auto!important}
body:not(.auth-open) .panel{border-radius:18px!important}
@media(max-width:800px){.reader-paper{padding:24px 18px!important}.reader-paper h3{font-size:25px!important}.profile-heading{padding:16px!important}.profile-heading h2{font-size:24px!important}}


/* Redesign final: cronogramas, lições, jogos, menu móvel e utilitários */
.schedules-panel{padding:22px!important}.schedules-heading{align-items:center!important}.schedules-heading h2{font-size:26px!important;letter-spacing:-.03em!important}.schedule-groups{display:flex!important;gap:10px!important;overflow-x:auto!important;scrollbar-width:none!important;padding:4px 2px 12px!important}.schedule-group{min-width:190px!important;padding:15px!important;border-radius:14px!important;background:#0b1c2d!important;border:1px solid #1f3d58!important;text-align:left!important}.schedule-group.selected{background:linear-gradient(135deg,#0e64bd,#188be8)!important;border-color:#54adf3!important;color:#fff!important;box-shadow:0 10px 28px #0a6fce33!important}
.sabbath-page{max-width:1380px!important;margin:0 auto!important}.sabbath-hero{padding:34px!important;border:1px solid #20415e!important;border-radius:22px!important;background:radial-gradient(circle at 82% 20%,#194d76,transparent 34%),linear-gradient(135deg,#0d2033,#081521)!important;box-shadow:0 18px 45px #0003!important}.sabbath-kicker{color:#58afff!important;letter-spacing:.18em!important}.sabbath-hero h2{font-size:clamp(31px,4vw,48px)!important;letter-spacing:-.04em!important}.sabbath-hero p{color:#9eb3c7!important}.sabbath-book{color:#e9b85f!important}.sabbath-section-head{margin-top:28px!important}.sabbath-order-tools{background:#0b1b2b!important;border:1px solid #1d3a55!important;border-radius:14px!important;padding:10px!important}.sabbath-order-tools button{border-radius:10px!important}.sabbath-order-tools button.active{background:#126dca!important;color:#fff!important;border-color:#3696ea!important}.sabbath-shelf{margin-top:25px!important}.sabbath-shelf-title span{color:#58afff!important}.sabbath-catalog{gap:14px!important;scrollbar-width:none!important}.sabbath-quarter-card{border-radius:17px!important;overflow:hidden!important;background:#0d1d2e!important;border:1px solid #1e3b56!important;box-shadow:0 12px 30px #0002!important}.sabbath-quarter-card:hover{transform:translateY(-3px)!important;border-color:#397fb7!important}.sabbath-quarter-card img{aspect-ratio:2/3!important;object-fit:cover!important}.sabbath-card-copy{padding:13px!important}.sabbath-card-copy em{color:#5bb4ff!important}
.game-page{max-width:1280px!important;margin:0 auto!important}.game-hub,.game-shell{border-radius:22px!important}.game-mode-card,.game-card{background:linear-gradient(145deg,#0e2033,#091522)!important;border-color:#1e3c58!important;border-radius:17px!important;box-shadow:0 12px 30px #0002!important}.game-mode-card:hover,.game-card:hover{border-color:#3b84bc!important;transform:translateY(-2px)}.game-round{background:linear-gradient(150deg,#0e2032,#091522)!important;border:1px solid #1e3b56!important;border-radius:20px!important;padding:clamp(20px,4vw,38px)!important}.game-type{color:#5bb4ff!important;letter-spacing:.18em!important}.game-main-action{background:linear-gradient(135deg,#126dcb,#2899f8)!important;border-color:#50adf4!important}
.mobile-menu-page{max-width:620px;margin:0 auto}.mobile-menu-head{padding:28px 22px!important;border:1px solid #20415e!important;border-radius:20px!important;background:radial-gradient(circle at 85% 0,#174b75,transparent 42%),linear-gradient(135deg,#0d2033,#081521)!important}.mobile-menu-head span{color:#5ab3ff!important;letter-spacing:.2em!important}.mobile-menu-head h2{font-size:36px!important;margin:6px 0!important}.mobile-menu-list,.mobile-menu-group{margin-top:14px!important;padding:8px!important;border:1px solid #1c3953!important;border-radius:18px!important;background:#0b1928!important}.mobile-menu-list button,.mobile-menu-group button{min-height:58px!important;border:0!important;border-bottom:1px solid #ffffff0a!important;border-radius:11px!important;background:transparent!important}.mobile-menu-list button:hover,.mobile-menu-group button:hover{background:#102941!important}.mobile-menu-list button>span,.mobile-menu-group button>span{display:grid!important;place-items:center!important;width:36px!important;height:36px!important;border-radius:10px!important;background:#102f4d!important;color:#61b8ff!important}
.sound-gate{max-width:620px!important;margin:70px auto!important;text-align:center!important;padding:42px!important}.sound-gate-icon{display:grid!important;place-items:center!important;width:68px!important;height:68px!important;margin:0 auto 18px!important;border-radius:20px!important;background:#0c64bf!important;color:#fff!important;font-size:28px!important;box-shadow:0 14px 35px #0875db40!important}
@media(max-width:800px){.sabbath-hero{padding:25px 19px!important}.sabbath-hero h2{font-size:34px!important}.sabbath-catalog{margin-right:-12px!important;padding-right:12px!important}.schedule-group{min-width:165px!important}.sound-gate{margin:30px auto!important;padding:28px 18px!important}}


/* Light mode parity for redesign components */
html[data-theme="light"] body{background:linear-gradient(180deg,#f5f9fd,#eaf2f8)!important;color:#173047!important}
html[data-theme="light"] body>header{background:#ffffffdf!important;border-color:#dbe6ef!important}
html[data-theme="light"] .desktop-sidebar{background:linear-gradient(180deg,#fff,#f3f8fc)!important;border-color:#d9e5ef!important;box-shadow:10px 0 35px #29445d0c!important}
html[data-theme="light"] .sidebar-heading{color:#7890a5!important}html[data-theme="light"] .sidebar-link{color:#5b7084!important}html[data-theme="light"] .sidebar-link:hover{background:#e9f2fa!important;color:#163b5c!important}
html[data-theme="light"] .dashboard-topbar{border-color:#dbe5ee!important}html[data-theme="light"] .wordmark-eyebrow{color:#70879c!important}html[data-theme="light"] .wordmark-iasd{color:#183b5c!important}
html[data-theme="light"] .rd-section-head h2,html[data-theme="light"] .rd-info h3{color:#18344d!important}
html[data-theme="light"] .rd-module-card,html[data-theme="light"] .rd-info{background:linear-gradient(145deg,#fff,#f5f9fc)!important;border-color:#d7e4ee!important;color:#18344d!important;box-shadow:0 12px 30px #29445d0d!important}
html[data-theme="light"] .rd-module-card small,html[data-theme="light"] .rd-info p,html[data-theme="light"] .rd-empty{color:#687f94!important}html[data-theme="light"] .rd-empty strong{color:#29465f!important}
html[data-theme="light"] .rd-verse blockquote{color:#263f55!important}html[data-theme="light"] .rd-info header{border-color:#dce7ef!important}
html[data-theme="light"] .panel,html[data-theme="light"] .reader-toolbar,html[data-theme="light"] .reader-paper,html[data-theme="light"] .schedule-group,html[data-theme="light"] .sabbath-order-tools,html[data-theme="light"] .sabbath-quarter-card,html[data-theme="light"] .mobile-menu-list,html[data-theme="light"] .mobile-menu-group{background:#fff!important;border-color:#d7e4ee!important;color:#18344d!important;box-shadow:0 12px 30px #29445d0b!important}
html[data-theme="light"] .reader-paper,html[data-theme="light"] .reader-paper p,html[data-theme="light"] .reader-paper h3{color:#253f55!important}html[data-theme="light"] .reader-progress{background:#f4f8fb!important;border-color:#d7e4ee!important;color:#27445c!important}
html[data-theme="light"] .sabbath-card-copy strong,html[data-theme="light"] .mobile-menu-list strong,html[data-theme="light"] .mobile-menu-group strong{color:#213d55!important}
html[data-theme="light"] .bottomnav{background:#fffffff2!important;border-color:#d6e2ec!important;box-shadow:0 -10px 30px #29445d14!important}html[data-theme="light"] .bottomnav button{color:#6b8094!important}html[data-theme="light"] .bottomnav button.active{color:#1475cf!important}


/* IASD APP Redesign 2026 — pacote final */
.rd-dashboard{max-width:1540px;margin:0 auto}.rd-hero{height:clamp(340px,38vw,520px);position:relative;border:1px solid #203d5a;border-radius:24px;overflow:hidden;box-shadow:0 28px 70px #0006;background:#081725}.rd-hero-media,.rd-hero-media .dashboard-hero-carousel{position:absolute!important;inset:0!important;height:100%!important;border:0!important}.rd-hero-media .hero-slide{width:100%!important;height:100%!important;object-fit:cover!important}.rd-hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,#04101ff5 0%,#071423c4 38%,#07142350 65%,transparent 85%),linear-gradient(0deg,#07111fbb,transparent 50%)}.rd-hero-copy{position:absolute;z-index:3;left:clamp(28px,5vw,70px);top:50%;transform:translateY(-50%);max-width:610px}.rd-hero-copy>span,.rd-section-head span,.rd-info header span{display:block;color:#54aaff;font-size:10px;font-weight:800;letter-spacing:.2em}.rd-hero-copy h2{font-size:clamp(44px,5.4vw,78px);line-height:.94;letter-spacing:-.05em;margin:13px 0;color:#fff}.rd-hero-copy h2 em{font-style:normal;color:#e9b85f}.rd-hero-copy p{font-size:16px;color:#b6c7d8;max-width:470px;line-height:1.6}.rd-hero-copy button{margin-top:18px;padding:13px 18px;border:1px solid #3684c8;background:#0e6ed2;color:#fff;border-radius:12px;font-weight:800}.rd-hero-edit{position:absolute;z-index:4;right:18px;top:18px;background:#071522c9!important;color:#dbeeff!important;border:1px solid #41617c!important;border-radius:10px!important}.rd-hero-dots{position:absolute;z-index:3;bottom:18px;left:50%;display:flex;gap:6px}.rd-hero-dots i{width:6px;height:6px;border-radius:50%;background:#ffffff55}.rd-hero-dots i:first-child{width:24px;border-radius:6px;background:#fff}.rd-section{margin-top:32px}.rd-section-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:15px}.rd-section-head h2{margin:5px 0 0;font-size:25px;color:#f6f9fd}.rd-section-head>button{background:transparent!important;border:0!important;color:#78bfff!important}.rd-modules{display:grid;grid-template-columns:repeat(8,minmax(145px,1fr));gap:11px;overflow-x:auto;padding:2px 1px 10px;scrollbar-width:none}.rd-module-card{min-height:180px;padding:18px!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;text-align:left!important;background:linear-gradient(155deg,#0e2033,#091522)!important;border:1px solid #1d3a55!important;border-radius:18px!important;color:#fff!important;transition:.2s ease!important}.rd-module-card:hover{transform:translateY(-4px);border-color:#367db5!important}.rd-module-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:#0b61b8;color:#fff;margin-bottom:22px}.rd-module-icon svg{width:22px;height:22px}.rd-module-card strong{font-size:15px}.rd-module-card small{color:#7f98b0;margin-top:5px}.rd-module-card em{font-style:normal;font-size:9px;letter-spacing:.15em;color:#5eaef2;margin-top:auto}.rd-module-card em b{font-size:14px}.rd-info-grid{display:grid;grid-template-columns:1.2fr .9fr .9fr;gap:14px;margin-top:24px}.rd-info{min-height:330px;padding:22px;display:flex;flex-direction:column;background:linear-gradient(155deg,#0d1e30,#091522);border:1px solid #1d3953;border-radius:20px;box-shadow:0 16px 40px #0002}.rd-info header{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:1px solid #ffffff0c;padding-bottom:16px}.rd-info h3{font-size:20px;margin:5px 0;color:#f6f9fc}.rd-info header small{color:#7990a7}.rd-info header>b{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#102d49;color:#5cb4ff}.rd-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:8px;color:#8ba1b6}.rd-empty>b{font-size:30px;color:#e9b85f}.rd-empty strong{color:#dce8f2}.rd-empty small{max-width:270px;line-height:1.5}.rd-link{margin-top:auto!important;width:100%;padding:12px 14px!important;display:flex!important;justify-content:space-between!important;background:#0e6dd0!important;border:0!important;border-radius:11px!important;color:#fff!important;font-weight:800!important}.rd-projector header i{width:10px;height:10px;border-radius:50%;background:#65788a;box-shadow:0 0 0 5px #65788a18}.rd-projector header i.on{background:#39d98a;box-shadow:0 0 0 5px #39d98a18,0 0 18px #39d98a66}.rd-monitor{height:120px;margin:18px 8px 12px;display:grid;place-items:center;border:6px solid #1c3145;border-bottom-width:11px;border-radius:10px;background:radial-gradient(circle at 50% 15%,#164878,#07101a 70%);box-shadow:0 16px 30px #0005}.rd-monitor div{text-align:center}.rd-monitor span{display:block;font-size:10px;color:#69baff;letter-spacing:.3em}.rd-monitor strong{display:block;color:#fff;font-size:17px;letter-spacing:.12em}.rd-monitor small{font-size:8px;color:#61dca0}.rd-projector p,.rd-verse p{font-size:12px;line-height:1.55;color:#8299af}.rd-verse blockquote{font-family:Georgia,serif;font-size:21px;line-height:1.55;color:#e8eef5;margin:30px 0 15px}.rd-verse>strong{font-size:9px;letter-spacing:.18em;color:#e9b85f}.rd-quick{margin-bottom:30px}.rd-quick .quick-section>.sectionhead{display:none!important}.rd-quick .quick-section{margin:0!important}
.reader{max-width:1280px!important;margin:0 auto!important}.reader-hero{border-radius:22px!important;background:radial-gradient(circle at 80% 0,#174f7b,transparent 40%),linear-gradient(135deg,#0d2033,#081521)!important;border:1px solid #22415d!important;padding:34px!important}.reader-toolbar{border-radius:18px!important;background:#0c1b2b!important;border:1px solid #1d3852!important}.reader-paper{border-radius:20px!important;background:#0d1b2a!important;border:1px solid #1d3852!important;box-shadow:0 18px 45px #0003!important}.profile-hero{border-radius:22px!important;overflow:hidden!important;border:1px solid #213d57!important;background:#0c1b2b!important}.profile-cover{min-height:220px!important;background:radial-gradient(circle at 70% 20%,#19517d,#0b1b2b 60%)!important}
@media(max-width:1250px){.rd-modules{grid-template-columns:repeat(8,160px)}.rd-info-grid{grid-template-columns:1fr 1fr}.rd-verse{grid-column:1/-1;min-height:260px}}
@media(max-width:800px){.rd-dashboard{width:100%}.rd-hero{height:430px;border-radius:20px}.rd-hero-shade{background:linear-gradient(0deg,#06111ff8 0%,#071423c7 45%,transparent 90%)}.rd-hero-copy{left:22px;right:22px;top:auto;bottom:35px;transform:none}.rd-hero-copy h2{font-size:42px}.rd-hero-copy p{font-size:14px}.rd-hero-edit{top:12px;right:12px}.rd-section{margin-top:24px}.rd-section-head h2{font-size:21px}.rd-modules{grid-template-columns:repeat(8,150px);margin-right:-12px;padding-right:12px}.rd-module-card{min-height:168px}.rd-info-grid{grid-template-columns:1fr}.rd-verse{grid-column:auto}.rd-info{min-height:290px}.reader-hero{padding:24px 18px!important}.reader-toolbar{display:grid!important;grid-template-columns:1fr 1fr!important}.reader-toolbar .reader-actions{grid-column:1/-1}.profile-cover{min-height:160px!important}}
@media(max-width:430px){.rd-hero{height:390px}.rd-hero-copy h2{font-size:37px}.rd-hero-copy button{width:100%;justify-content:space-between}.rd-info{padding:18px}.reader-toolbar{grid-template-columns:1fr!important}.reader-toolbar .reader-actions{grid-column:auto}}

/* ===== bloco 2 · #iasd-palavra-em-cena-css (movido do index.html sem alterações) ===== */
.pec-wrap{max-width:1000px;margin:0 auto;padding:12px 0 55px}.pec-hero{padding:29px;border-radius:23px;background:linear-gradient(115deg,#142d4a,#24425e 65%,#54472f);border:1px solid #60738c;box-shadow:0 12px 38px #0002}.pec-kicker{color:#f3cc83;letter-spacing:.15em;font-size:11px;font-weight:800}.pec-hero h1{font-size:clamp(27px,4vw,42px);margin:9px 0;color:#fff}.pec-hero p{color:#c9d8e8;max-width:650px}.pec-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-top:20px}.pec-field{display:flex;flex-direction:column;gap:7px}.pec-field.wide{grid-column:1/-1}.pec-field label{font-weight:700;color:var(--ink,#eef4fc)}.pec-field input,.pec-field select,.pec-field textarea,.pec-result textarea{width:100%;box-sizing:border-box;min-height:45px;padding:11px 13px;border:1px solid #52667c;border-radius:11px;background:var(--surface,#1c3045);color:var(--ink,#eef4fc);font:inherit}.pec-field textarea{min-height:78px}.pec-card{padding:24px;border:1px solid var(--border,#4b6078);border-radius:19px;background:var(--surface,#1e3044);margin-top:20px}.pec-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:19px}.pec-actions button{padding:12px 17px;border-radius:10px}.pec-result textarea{min-height:460px;line-height:1.7;resize:vertical;white-space:pre-wrap}.pec-hint{font-size:12px;color:var(--muted,#b4c5d8);margin-top:12px}@media(max-width:640px){.pec-grid{grid-template-columns:1fr}.pec-card,.pec-hero{padding:18px}.pec-wrap{padding:0 0 60px}}

/* Natural IASD APP brand lockup */
.premium-wordmark{gap:13px!important;align-items:center!important;text-align:left!important}
.premium-wordmark .premium-symbol{width:58px!important;height:58px!important;flex:0 0 58px!important;border-radius:15px!important;transform:none!important;background:linear-gradient(145deg,#173a5a,#0d2237)!important;border:1px solid #6ea1c34d!important;box-shadow:0 8px 22px #020d1c35,inset 0 1px #ffffff18!important;overflow:hidden}
.premium-wordmark .premium-symbol:before,.premium-wordmark .premium-symbol:after{display:none!important}
.premium-wordmark .premium-symbol img{width:100%;height:100%;display:block;object-fit:cover}
.premium-wordmark .wordmark-copy{align-items:flex-start!important}
.premium-wordmark .wordmark-eyebrow{font-size:7px!important;letter-spacing:.2em!important;font-weight:700!important;color:#91abc1!important;margin:0 0 4px!important}
.premium-wordmark h1{gap:7px!important;font-size:clamp(28px,2.25vw,38px)!important;letter-spacing:-.045em!important;font-weight:820!important;line-height:1!important}
.premium-wordmark .wordmark-iasd{color:#f5f8fb!important;text-shadow:none!important}
.premium-wordmark .wordmark-app{letter-spacing:-.04em!important;background:none!important;-webkit-text-fill-color:#e7bc76!important;color:#e7bc76!important}
.premium-wordmark p{justify-content:flex-start!important;margin-top:6px!important;font-size:7px!important;letter-spacing:.16em!important;color:#9fb4c6!important;font-weight:650!important}
.premium-wordmark .wordmark-rule{width:14px!important;background:#cda96e!important;opacity:.75}
@media(max-width:600px){.premium-wordmark .premium-symbol{width:44px!important;height:44px!important;flex-basis:44px!important;border-radius:12px!important}.premium-wordmark h1{font-size:25px!important}.premium-wordmark .wordmark-eyebrow{font-size:5.5px!important}.premium-wordmark p{font-size:5.5px!important}}

/* Uploaded IASD APP logo: preserve the artwork cleanly in the dashboard lockup. */
.premium-wordmark .premium-symbol{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:14px!important;overflow:hidden!important}
.premium-wordmark .premium-symbol img{width:100%!important;height:100%!important;object-fit:contain!important;border-radius:14px!important}

/* Unified IASD APP identity */
.sidebar-brand-mark{width:38px!important;height:38px!important;flex-basis:38px!important;padding:0!important;background:transparent!important;border:0!important;border-radius:10px!important}
.sidebar-brand-copy strong{font-size:14px!important;line-height:1!important;letter-spacing:-.025em!important;font-weight:800!important;color:#f4f7fb!important}
.sidebar-brand-copy strong::first-letter{letter-spacing:-.025em}
.sidebar-brand-copy small{margin-top:5px!important;font-size:7px!important;letter-spacing:.13em!important;font-weight:650!important;color:#7f99ae!important}
.premium-wordmark .wordmark-copy{gap:0!important}
.premium-wordmark .wordmark-eyebrow{font-family:Inter,ui-sans-serif,system-ui,sans-serif!important;text-transform:uppercase}
.premium-wordmark h1{font-family:Inter,ui-sans-serif,system-ui,sans-serif!important;font-weight:780!important;letter-spacing:-.035em!important}
.premium-wordmark .wordmark-iasd{font-weight:780!important}
.premium-wordmark .wordmark-app{font-weight:720!important;margin-left:1px}

/* ===== bloco 3 (movido do index.html sem alterações) ===== */
/* Desktop full-canvas v2 — target the real IASD APP dashboard classes */
@media (min-width:1001px){
  body{padding-left:230px!important}
  body>header{max-width:none!important;width:100%!important;margin:0!important;padding-left:clamp(32px,3vw,64px)!important;padding-right:clamp(32px,3vw,64px)!important}
  body>main{max-width:none!important;width:100%!important;margin:0!important;padding:0 clamp(32px,3vw,64px) 110px!important}
  #content:has(.app-dashboard){width:100%!important;max-width:none!important}
  .app-dashboard{width:100%!important;max-width:none!important;margin:0!important}
  .dashboard-grid{width:100%!important;grid-template-columns:minmax(0,1fr) clamp(330px,27vw,440px)!important;gap:clamp(20px,2vw,34px)!important}
  .dashboard-primary{width:100%!important}
  .dashboard-welcome{width:100%!important}
  .quick-section{width:100%!important}
  .quick-carousel{width:100%!important}
  .quick-track{width:100%!important}
  .quick-card{flex-basis:clamp(170px,14vw,225px)!important}
}
@media (min-width:1600px){
  .dashboard-grid{grid-template-columns:minmax(0,1fr) 410px!important}
}

/* ===== bloco 4 (movido do index.html sem alterações) ===== */
/* Login premium — faithful to approved IASD APP reference */
.auth-backdrop{background:rgba(3,18,34,.84)!important;backdrop-filter:blur(11px) saturate(.82)!important}
.auth-dialog.auth-premium{width:min(565px,calc(100vw - 28px))!important;max-height:calc(100dvh - 30px)!important;padding:34px 38px 28px!important;border-radius:20px!important;overflow:auto!important;background:linear-gradient(145deg,#061d35 0%,#062847 58%,#061c33 100%)!important;border:1px solid #17649a!important;box-shadow:0 30px 100px #000a,0 0 42px #0069a51a!important;color:#f7fbff!important}
.auth-dialog.auth-premium:before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:radial-gradient(circle at 88% 18%,rgba(0,100,180,.17),transparent 35%)}
.auth-premium .auth-close{right:19px!important;top:20px!important;width:42px!important;height:42px!important;border-radius:10px!important;background:#0d385d!important;border:1px solid #35658b!important;color:#d9edff!important;font-size:28px!important;font-weight:300!important;line-height:1!important;z-index:3}
.auth-brand-premium{position:relative;z-index:2;display:flex;align-items:center;gap:20px;padding-right:54px}
.auth-brand-premium img{width:80px;height:80px;border-radius:17px;object-fit:cover;box-shadow:0 8px 25px #0006}
.auth-brand-premium strong{display:block;color:#fff;font-size:35px;line-height:1;font-weight:850;letter-spacing:-.035em}.auth-brand-premium strong b{color:#f4bf49}.auth-brand-premium small{display:block;margin-top:10px;color:#b5c7db;font-size:11px;font-weight:650;letter-spacing:.21em}
.auth-premium .auth-watermark{position:absolute;right:-8px;top:58px;width:190px;height:290px;opacity:.08;pointer-events:none;background:url('/icon-192.png?v=3') center/contain no-repeat;filter:grayscale(1) brightness(2)}
.auth-premium .auth-hero{position:relative;z-index:2;margin:36px 0 24px!important}.auth-premium .auth-hero>span{font-size:12px!important;letter-spacing:.28em!important;color:#ffc928!important}.auth-premium .auth-hero h2{font-size:34px!important;line-height:1.08!important;margin:13px 0 10px!important;letter-spacing:-.035em!important}.auth-premium .auth-hero p{max-width:470px;margin:0!important;color:#c6d5e6!important;font-size:17px!important;line-height:1.55!important}
.auth-premium .auth-google{position:relative;z-index:2;height:54px!important;margin:0 0 20px!important;padding:0 18px!important;border-radius:11px!important;border:1px solid #d7dee7!important;background:#fff!important;color:#10233b!important;font-size:17px!important;font-weight:800!important;box-shadow:0 3px 9px #0002!important}.auth-premium .auth-google-mark{width:24px!important;height:24px!important}
.auth-premium .auth-divider{margin:0 0 17px!important;gap:24px!important;color:#8fa7c0!important;font-size:13px!important}.auth-premium .auth-divider:before,.auth-premium .auth-divider:after{background:#4c708e!important}
.auth-premium form{gap:8px!important}.auth-premium form>label{font-size:15px!important;color:#f4f8fd!important;margin:0 0 1px!important}.auth-premium .auth-field{position:relative;display:flex;align-items:center}.auth-premium .auth-field input{height:52px!important;margin:0!important;padding:0 48px 0 58px!important;border-radius:11px!important;background:#082440!important;border:1px solid #2e628c!important;color:#fff!important;font-size:16px!important}.auth-premium .auth-field input:focus{border-color:#4d94c9!important;box-shadow:0 0 0 3px #1682c826!important}.auth-field-icon,.auth-eye{position:absolute;z-index:2;display:grid;place-items:center;color:#a8c7e4}.auth-field-icon{left:22px}.auth-eye{right:17px}.auth-field-icon svg,.auth-eye svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.auth-premium .auth-submit{height:58px!important;margin-top:12px!important;padding:0 22px!important;border-radius:11px!important;background:linear-gradient(180deg,#ffd74c,#ffc51d)!important;color:#0a1d32!important;font-size:17px!important;font-weight:900!important;box-shadow:0 8px 25px rgba(255,197,29,.24)!important;position:relative}.auth-premium .auth-arrow{position:absolute;right:32%;font-size:27px;font-weight:500;top:50%;transform:translateY(-52%)}
.auth-premium .auth-switch{margin-top:19px!important;font-size:13px!important;color:#9eb3c9!important}.auth-premium .auth-switch button{color:#ffd23d!important;font-weight:850!important}.auth-premium .auth-guest{margin:11px auto 0!important;color:#b8d2e9!important;font-size:13px!important;font-weight:800!important}.auth-premium .auth-guest span{font-size:19px;margin-left:6px}
@media(max-width:600px){.auth-dialog.auth-premium{width:calc(100vw - 22px)!important;padding:25px 21px 22px!important}.auth-brand-premium{gap:13px}.auth-brand-premium img{width:58px;height:58px;border-radius:13px}.auth-brand-premium strong{font-size:27px}.auth-brand-premium small{font-size:8px;letter-spacing:.13em;margin-top:7px}.auth-premium .auth-close{width:36px!important;height:36px!important;right:12px!important;top:13px!important;font-size:23px!important}.auth-premium .auth-hero{margin:27px 0 19px!important}.auth-premium .auth-hero h2{font-size:29px!important}.auth-premium .auth-hero p{font-size:14px!important}.auth-premium .auth-google{height:50px!important;font-size:14px!important}.auth-premium .auth-field input{height:50px!important;font-size:14px!important}.auth-premium .auth-submit{height:53px!important;font-size:15px!important}.auth-premium .auth-arrow{right:27%}}

/* ===== bloco 5 · #iasd-pack-2026-09 (movido do index.html sem alterações) ===== */
:root{--iasd-blue:#168cff;--iasd-cyan:#34c8ff;--iasd-yellow:#ffd21f;--iasd-yellow2:#ffb800;--iasd-text:#f8fbff;--iasd-muted:#a9bfd5;--iasd-line:#244b6d}
body{background:radial-gradient(circle at 70% -10%,#123f6d 0,transparent 36%),linear-gradient(145deg,#061524,#091c31 55%,#06131f)!important;color:var(--iasd-text)!important}
button.primary,.auth-submit,.game-main-action{background:linear-gradient(135deg,var(--iasd-yellow),var(--iasd-yellow2))!important;color:#172033!important;border:0!important;box-shadow:0 8px 24px #ffbd0030!important;font-weight:900!important}
.panel,.profile-hero,.sound-hub,.reader,.pec-card{border-color:var(--iasd-line)!important;background:linear-gradient(145deg,#0d2742,#0a2037)!important}.account-trigger .account-avatar,.profile-avatar{color:#dcecff!important;background:linear-gradient(145deg,#173c61,#0d2947)!important}.profile-default-avatar{width:62%;height:62%;color:#c8ddf2}.profile-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}.profile-edit-info{background:#123b60!important;border:1px solid #2a638d!important;color:#fff!important;padding:12px 16px!important;border-radius:12px!important;font-weight:800}.profile-game-slot{margin-top:22px}
.game-hub{overflow:hidden;border:1px solid #24557b;border-radius:22px;background:linear-gradient(145deg,#0b223a,#0c2d4b)}.game-hero{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:28px;background:radial-gradient(circle at 85% 10%,#167dd855,transparent 40%),linear-gradient(135deg,#0e3356,#091f36)}.game-kicker{color:#ffd21f;font-size:11px;letter-spacing:.18em;font-weight:900}.game-hero h2{margin:7px 0;font-size:clamp(24px,3vw,38px);color:#fff}.game-hero p{margin:0;color:#bdd2e6}.game-level{width:105px;height:105px;border-radius:50%;display:grid;place-content:center;text-align:center;border:2px solid #ffd21f;background:#081b2e;box-shadow:0 0 36px #ffd21f1f}.game-level span,.game-level small{font-size:9px;color:#b9cee0}.game-level strong{font-size:30px;color:#ffd21f}.game-mode-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:18px}.game-mode-card{min-height:150px;text-align:left;padding:18px;border:1px solid #28577b!important;border-radius:17px!important;background:linear-gradient(145deg,#123b60,#0b2946)!important;color:#fff!important;transition:.22s}.game-mode-card:hover{transform:translateY(-4px);border-color:#34c8ff!important}.game-mode-card>span{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#168cff;font-size:20px}.game-mode-card strong{display:block;margin:14px 0 5px}.game-mode-card small{color:#a9bfd5}.game-round{margin:18px;padding:22px;border:1px solid #2b5d83;border-radius:18px;background:#0a2036;animation:gameIn .3s ease}.game-status{display:flex;justify-content:space-between;color:#ffd21f;font-weight:900}.game-type{display:block;margin:24px 0 8px;color:#34c8ff;font-size:11px;letter-spacing:.15em;font-weight:900}.game-round h3{font-size:clamp(22px,4vw,34px)}.game-answers{display:grid;grid-template-columns:1fr 1fr;gap:10px}.game-answers button,.game-round input{min-height:52px;border:1px solid #2c5a80!important;background:#123654!important;color:#fff!important;border-radius:13px!important}.clue-stack{display:grid;gap:8px}.clue-stack p{display:flex;gap:10px;align-items:center;margin:0;padding:12px;background:#102f4d;border-radius:12px}.order-list{display:grid;gap:8px}.order-item{display:grid;grid-template-columns:30px 1fr 42px 42px;gap:8px;align-items:center;padding:9px;background:#10304e;border-radius:12px}.memory-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.memory-grid button{aspect-ratio:1;border-radius:14px!important;background:#164c79!important;color:#ffd21f!important}.memory-grid button.open,.memory-grid button.matched{background:#ffd21f!important;color:#172033!important}.game-feedback{margin:0 18px 18px;padding:14px 18px;border-radius:14px;display:flex;gap:8px;flex-direction:column}.game-feedback.ok{background:#0b543d}.game-feedback.bad{background:#592b34}.ranking-head{display:flex;justify-content:space-between;align-items:end;gap:12px;padding:20px 20px 10px}.ranking-head span{font-size:10px;letter-spacing:.18em;color:#34c8ff;font-weight:900}.ranking-head h3{margin:4px 0}.ranking-head button{background:transparent!important;color:#ffd21f!important}.ranking-list{display:grid;gap:7px;padding:0 18px 20px}.ranking-row{display:grid;grid-template-columns:36px 46px 1fr auto;align-items:center;gap:10px;padding:10px;border-radius:13px;background:#0e2a46;border:1px solid #1f496c}.rank-pos{font-size:20px;color:#ffd21f;text-align:center;display:grid;place-items:center;min-width:30px}.ranking-row.podium:first-child .rank-pos{font-size:25px;filter:drop-shadow(0 2px 5px #0005)}.rank-avatar{width:42px;height:42px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:#173c61;color:#c8ddf2}.rank-avatar img,.rank-avatar svg{width:100%;height:100%;object-fit:cover}.rank-person strong,.rank-person small{display:block}.rank-person small{color:#a9bfd5;font-size:11px}.home-ranking{margin-top:20px;border:1px solid #234e72;border-radius:18px;background:#0a2138}.mobile-menu-page{max-width:760px;margin:auto}.mobile-menu-head>span{color:#ffd21f;font-size:10px;letter-spacing:.18em;font-weight:900}.mobile-menu-list,.mobile-menu-group{display:grid;gap:8px}.mobile-menu-list button,.mobile-menu-group button{display:grid;grid-template-columns:44px 1fr 24px;align-items:center;gap:10px;min-height:62px;text-align:left;background:linear-gradient(145deg,#102f4d,#0b253f)!important;border:1px solid #245274!important;border-radius:14px!important;color:#fff!important}.mobile-menu-list button>span,.mobile-menu-group button>span{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#164a76;color:#ffd21f}.mobile-menu-list button em,.mobile-menu-group button em{font-size:24px;color:#6fa9d1;font-style:normal}.mobile-menu-group{margin-top:20px}.projection-studio-frame{width:100%;height:900px;min-height:420px;border:0;background:#0c1725;border-radius:16px;display:block}.clean-device-preview{background:#0b2036!important}.auth-switch button,.auth-mode-switch button{border:1px solid #3b6b90!important;background:#123957!important;color:#fff!important;border-radius:11px!important;padding:9px 14px!important;font-weight:800!important}.auth-switch button:last-child,.auth-mode-switch button:last-child{color:#ffd21f!important;border-color:#b8941d!important}
@keyframes gameIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(max-width:899px){main{padding-bottom:92px!important}.bottomnav{grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:2px!important;padding:7px 5px max(7px,env(safe-area-inset-bottom))!important}.bottomnav button{min-width:0!important;padding:7px 1px!important;gap:3px!important;font-size:8px!important;line-height:1.05!important}.bottomnav button span{width:25px!important;height:25px!important}.bottomnav .iasd-icon{width:20px!important;height:20px!important}.game-mode-grid{grid-template-columns:1fr 1fr}.game-hero{padding:20px}.game-level{width:88px;height:88px;flex:none}.profile-edit-info{width:100%}.projection-studio-frame{height:calc(100dvh - 150px);min-height:650px;border-radius:12px}.sound-hub{padding:14px!important}.sound-hub-grid{grid-template-columns:1fr!important}.ranking-row{grid-template-columns:30px 40px 1fr}.rank-score{grid-column:3;font-size:12px;color:#ffd21f}}
@media(max-width:420px){.bottomnav button{font-size:7px!important}.game-mode-grid{grid-template-columns:1fr}.game-hero{align-items:flex-start}.game-level{width:76px;height:76px}.game-answers{grid-template-columns:1fr}.order-item{grid-template-columns:26px 1fr 38px 38px}}


/* ===== bloco 6 (movido do index.html sem alterações) ===== */
.sabbath-manual-sort{display:grid;gap:4px;margin-top:8px;font-size:10px;color:#9fc0d9}.sabbath-manual-sort select{width:100%;border:1px solid #32678f;border-radius:8px;background:#0a223a;color:#fff;padding:7px;font-size:11px}.sabbath-order-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 14px}.sabbath-order-tools span{font-size:11px;font-weight:800;color:#9fc0d9}.sabbath-order-tools button{border:1px solid #32678f!important;background:#0a223a!important;color:#d9ebf8!important;border-radius:10px!important;padding:8px 11px!important;font-size:11px!important;font-weight:800!important}.sabbath-order-tools button.active{background:#168cff!important;border-color:#168cff!important;color:#fff!important}

/* ===== bloco 7 · #iasd-sabbath-school-pack (movido do index.html sem alterações) ===== */
.sabbath-page{display:grid;gap:18px}.sabbath-hero{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:30px;border:1px solid #28587d;border-radius:22px;background:radial-gradient(circle at 85% 20%,#168cff45,transparent 38%),linear-gradient(135deg,#0e3356,#091f36)}.sabbath-kicker{color:#ffd21f;font-size:11px;letter-spacing:.18em;font-weight:900}.sabbath-hero h2{font-size:clamp(28px,4vw,44px);margin:7px 0;color:#fff}.sabbath-hero p{max-width:720px;color:#bdd2e6;line-height:1.6}.sabbath-book{display:grid;place-items:center;width:100px;height:100px;border-radius:24px;background:#168cff;color:#fff;font-size:48px;box-shadow:0 18px 45px #0004}.sabbath-source{margin:0;color:#789bb8;font-size:10px;text-align:center}.sabbath-loading,.sabbath-error{min-height:220px;display:grid;place-items:center;align-content:center;gap:12px;text-align:center;border:1px solid #244e70;border-radius:18px;background:#0b2239;padding:24px}.sabbath-loading span{width:36px;height:36px;border:3px solid #28597e;border-top-color:#ffd21f;border-radius:50%;animation:ssSpin .8s linear infinite}.sabbath-error button,.sabbath-back{border:1px solid #32678f!important;background:#123957!important;color:#fff!important;border-radius:11px!important;padding:10px 14px!important}.sabbath-section-head span,.sabbath-quarter-head span,.sabbath-reader-head>span{color:#34c8ff;font-size:10px;letter-spacing:.16em;font-weight:900}.sabbath-section-head h3{font-size:26px;margin:5px 0 12px}.sabbath-catalog{display:flex;gap:14px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;touch-action:pan-x;padding:4px 2px 14px;scrollbar-width:none}.sabbath-catalog::-webkit-scrollbar{display:none}.sabbath-quarter-card{flex:0 0 clamp(185px,34vw,230px);scroll-snap-align:start}.sabbath-quarter-card{display:flex!important;flex-direction:column!important;overflow:hidden;text-align:left!important;padding:0!important;border:1px solid #28577b!important;border-radius:17px!important;background:linear-gradient(145deg,#123b60,#0b2946)!important;color:#fff!important;transition:.2s!important}.sabbath-quarter-card:hover{transform:translateY(-3px);border-color:#34c8ff!important}.sabbath-quarter-card>img,.sabbath-cover-placeholder{width:100%;aspect-ratio:4/3;object-fit:cover;background:#0a1f35;display:grid;place-items:center;font-size:46px;color:#ffd21f}.sabbath-card-copy{display:grid;gap:6px;padding:14px}.sabbath-card-copy small{color:#8eb0ca}.sabbath-card-copy strong{font-size:15px}.sabbath-card-copy em{font-style:normal;color:#ffd21f;font-size:11px;font-weight:900}.sabbath-quarter-head{display:flex;align-items:center;gap:18px;padding:18px 0}.sabbath-quarter-head img{width:92px;height:118px;object-fit:cover;border-radius:10px;box-shadow:0 12px 28px #0005}.sabbath-quarter-head h3{font-size:28px;margin:5px 0}.sabbath-quarter-head p{color:#a9bfd5}.sabbath-lessons{display:grid;gap:8px}.sabbath-lessons button{display:grid!important;grid-template-columns:42px 1fr 24px!important;align-items:center!important;gap:12px!important;text-align:left!important;min-height:68px!important;padding:10px 14px!important;border:1px solid #245274!important;border-radius:14px!important;background:#0e2b48!important;color:#fff!important}.sabbath-lessons b{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#168cff}.sabbath-lessons span strong,.sabbath-lessons span small{display:block}.sabbath-lessons span small{margin-top:4px;color:#91adc5}.sabbath-lessons em{font-size:24px;color:#ffd21f;font-style:normal}.sabbath-day-tabs{display:flex;gap:7px;overflow-x:auto;padding:12px 0;scrollbar-width:none}.sabbath-day-tabs button{flex:0 0 auto;border:1px solid #2a587d!important;background:#0e2c49!important;color:#c5d8e9!important;border-radius:999px!important;padding:9px 14px!important}.sabbath-day-tabs button.active{background:#168cff!important;border-color:#168cff!important;color:#fff!important}.sabbath-reader{max-width:900px;margin:auto;border:1px solid #28577b;border-radius:20px;background:linear-gradient(145deg,#0c2844,#091f35);overflow:hidden}.sabbath-reader-head{padding:25px 28px 18px;border-bottom:1px solid #214867}.sabbath-reader-head h3{font-size:clamp(25px,4vw,38px);margin:7px 0}.sabbath-reader-head small{color:#9bb6cd}.sabbath-reading{padding:28px;font-size:17px;line-height:1.82;color:#e8f1f8}.sabbath-reading h1,.sabbath-reading h2,.sabbath-reading h3,.sabbath-reading h4{color:#fff;line-height:1.25}.sabbath-reading blockquote{margin:20px 0;padding:14px 18px;border-left:3px solid #ffd21f;background:#102f4d}.sabbath-reading a{color:#58c9ff}.sabbath-reading img{max-width:100%;height:auto;border-radius:12px}.sabbath-reader-nav{display:flex;justify-content:space-between;gap:10px;padding:18px 28px 26px}.sabbath-reader-nav button{border:1px solid #32678f!important;background:#123957!important;color:#fff!important;border-radius:11px!important;padding:11px 15px!important}.sabbath-reader-nav button:disabled{opacity:.35}.sabbath-back{justify-self:start}@keyframes ssSpin{to{transform:rotate(360deg)}}@media(max-width:700px){html,body{touch-action:pan-y}.sabbath-page,.sabbath-reader,.sabbath-reading{max-width:100%;overflow-x:hidden}.sabbath-reading{overflow-wrap:anywhere;word-break:normal}.sabbath-reading img,.sabbath-reading iframe,.sabbath-reading table,.sabbath-reading pre{max-width:100%!important;width:auto!important;height:auto!important}.sabbath-reading pre{white-space:pre-wrap!important}.sabbath-catalog{margin-right:-20px;padding-right:20px}.sabbath-quarter-card{flex-basis:68vw;max-width:240px}.sabbath-hero{padding:20px;align-items:flex-start}.sabbath-book{width:72px;height:72px;font-size:34px;flex:none}.sabbath-reading{padding:20px;font-size:16px}.sabbath-reader-head{padding:20px}.sabbath-reader-nav{padding:14px 20px 20px}.sabbath-quarter-head h3{font-size:22px}}@media(max-width:390px){.sabbath-quarter-card{flex-basis:72vw}.sabbath-card-copy{padding:11px}.sabbath-quarter-card>img,.sabbath-cover-placeholder{aspect-ratio:1}.sabbath-reader-nav button{font-size:11px;padding:10px}}

/* ===== bloco 8 · #iasd-sabbath-mobile-fix (movido do index.html sem alterações) ===== */
.sabbath-shelf{margin:6px 0 22px}.sabbath-shelf-title{display:flex;align-items:end;justify-content:space-between;margin:0 0 10px}.sabbath-shelf-title h3{margin:0;font-size:22px}.sabbath-shelf-title span{font-size:10px;letter-spacing:.16em;color:#34c8ff;font-weight:900}.sabbath-catalog{display:flex!important;gap:12px!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x proximity;padding:2px 2px 14px!important;scrollbar-width:none;-webkit-overflow-scrolling:touch}.sabbath-catalog::-webkit-scrollbar{display:none}.sabbath-quarter-card{flex:0 0 168px!important;width:168px!important;scroll-snap-align:start}.sabbath-quarter-card>img,.sabbath-cover-placeholder{aspect-ratio:2/3!important;height:auto!important;object-fit:cover!important}.sabbath-reading,.sabbath-reading *{max-width:100%!important;box-sizing:border-box!important}.sabbath-reading{overflow-wrap:anywhere!important;word-break:normal!important;overflow-x:hidden!important}.sabbath-reading p,.sabbath-reading blockquote,.sabbath-reading div{white-space:normal!important}.sabbath-reading img,.sabbath-reading video,.sabbath-reading table{max-width:100%!important;height:auto!important}.sabbath-reading table{display:block!important;overflow-x:auto!important}.sabbath-reader{width:100%!important;min-width:0!important}.sabbath-reader-head,.sabbath-reading{min-width:0!important}
@media(max-width:700px){.sabbath-page{width:100%;min-width:0;overflow:hidden}.sabbath-hero{overflow:hidden}.sabbath-hero p{max-width:100%;overflow-wrap:anywhere}.sabbath-quarter-card{flex-basis:142px!important;width:142px!important}.sabbath-card-copy strong{font-size:13px}.sabbath-card-copy small{font-size:10px}.sabbath-reading{padding:20px 16px!important;font-size:17px!important;line-height:1.72!important}.sabbath-reading blockquote{margin:18px 0!important;padding:14px 14px!important}.sabbath-reader-head{padding:18px 16px!important}.sabbath-reader-nav{padding:14px 16px 20px!important}.sabbath-day-tabs{max-width:100%;padding-bottom:10px}.sabbath-section-head h3{font-size:23px}}

/* ===== bloco 9 · #iasd-sabbath-reader-responsive-v2 (movido do index.html sem alterações) ===== */
/* Isola o leitor para conteúdo externo nunca ampliar o layout do app */
.sabbath-page,.sabbath-reader,.sabbath-reader-head,.sabbath-reading{min-width:0!important;box-sizing:border-box!important}
.sabbath-reader{width:min(100%,900px)!important;max-width:100%!important}
.sabbath-reading{width:100%!important;max-width:100%!important;contain:inline-size;overflow-x:hidden!important}
.sabbath-reading *{box-sizing:border-box!important;min-width:0!important;max-width:100%!important}
.sabbath-reading img,.sabbath-reading svg,.sabbath-reading canvas,.sabbath-reading video{display:block!important;max-width:100%!important;width:auto!important;height:auto!important;object-fit:contain!important}
.sabbath-reading iframe,.sabbath-reading embed,.sabbath-reading object{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;aspect-ratio:16/9;height:auto!important;border:0}
.sabbath-reading table{width:100%!important;max-width:100%!important;table-layout:fixed!important;border-collapse:collapse}
.sabbath-reading th,.sabbath-reading td{min-width:0!important;max-width:100%!important;overflow-wrap:anywhere!important;word-break:break-word!important}
.sabbath-reading pre,.sabbath-reading code{max-width:100%!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important;word-break:break-word!important}
.sabbath-reading p,.sabbath-reading li,.sabbath-reading a,.sabbath-reading span,.sabbath-reading div,.sabbath-reading blockquote,.sabbath-reading h1,.sabbath-reading h2,.sabbath-reading h3,.sabbath-reading h4,.sabbath-reading h5,.sabbath-reading h6{max-width:100%!important;overflow-wrap:anywhere!important}
@media(max-width:700px){
 .sabbath-page{width:100%!important;max-width:100%!important;overflow-x:clip!important}
 .sabbath-reader{margin:0!important;border-radius:16px!important}
 .sabbath-reading{padding:18px 14px!important;font-size:16px!important;line-height:1.68!important}
 .sabbath-reader-head{padding:17px 14px!important}
 .sabbath-reader-head h3{font-size:clamp(22px,7vw,30px)!important;overflow-wrap:anywhere!important}
 .sabbath-reading img[width],.sabbath-reading img[height]{max-width:100%!important;width:auto!important;height:auto!important}
}

/* ===== bloco 10 · #iasd-projection-iframe-mobile-fix (movido do index.html sem alterações) ===== */
@media(max-width:899px){
 .projection-studio-frame{min-height:calc(100dvh - 120px);overflow:hidden;border-radius:12px}
 #content{overflow:visible!important}
}

/* ===== bloco 11 · #iasd-auth-vivid-fix (movido do index.html sem alterações) ===== */
#auth-modal-root .auth-backdrop{background:radial-gradient(circle at 20% 15%,#168cff24,transparent 32%),radial-gradient(circle at 82% 82%,#ffc92818,transparent 30%),#020c18e8!important;backdrop-filter:blur(12px) saturate(125%)!important}
#auth-modal-root .auth-dialog{background:linear-gradient(145deg,#12395d 0%,#0b2744 48%,#071b31 100%)!important;border:1px solid #2d7eb2!important;box-shadow:0 30px 100px #000b,0 0 55px #168cff1f,inset 0 1px #ffffff18!important}
#auth-modal-root .auth-dialog:before{content:"";position:absolute;inset:0 0 auto;height:4px;border-radius:20px 20px 0 0;background:linear-gradient(90deg,#168cff,#36d1ff 52%,#ffd21f)}
#auth-modal-root .auth-brand-logo{background:linear-gradient(145deg,#168cff,#0b4c83)!important;border:1px solid #57cfff66!important;box-shadow:0 10px 28px #168cff35!important}
#auth-modal-root .auth-hero>span{color:#ffd21f!important;text-shadow:0 0 16px #ffd21f44}
#auth-modal-root .auth-hero p{color:#c9def2!important}
#auth-modal-root .auth-field{background:#071c31!important;border:1px solid #2c6b98!important;border-radius:14px!important;transition:.18s!important}
#auth-modal-root .auth-field:focus-within{border-color:#35c8ff!important;box-shadow:0 0 0 3px #35c8ff20,0 8px 24px #0003!important;transform:translateY(-1px)}
#auth-modal-root .auth-dialog input{background:transparent!important;border:0!important;box-shadow:none!important}
#auth-modal-root .auth-submit{background:linear-gradient(105deg,#ffd76a,#ffb51b)!important;color:#10243a!important;box-shadow:0 12px 28px #ffbd2438!important;border:1px solid #ffe39a!important;transition:.18s!important}
#auth-modal-root .auth-submit:active{transform:scale(.985)}
#auth-modal-root .auth-switch button{border:1px solid #ffc21e!important;border-radius:10px!important;color:#ffd15a!important;background:#ffc21e0d!important}
#auth-modal-root .auth-guest{color:#d8e9f8!important}
#auth-modal-root .auth-close{background:#194b72!important;border:1px solid #3c8fc1!important}
#auth-modal-root .auth-divider{color:#92b6d3!important}.auth-divider:before,.auth-divider:after{background:linear-gradient(90deg,transparent,#3976a2)!important}.auth-divider:after{transform:rotate(180deg)}
@media(max-width:480px){#auth-modal-root .auth-dialog{width:calc(100vw - 20px)!important;max-height:calc(100dvh - 20px)!important;padding:22px 20px!important;border-radius:22px!important}#auth-modal-root .auth-hero{margin:20px 0 17px!important}#auth-modal-root .auth-google{min-height:54px!important}#auth-modal-root .auth-submit{min-height:56px!important}}

/* ===== bloco 12 · #iasd-auth-logo-fix (movido do index.html sem alterações) ===== */
#auth-modal-root .auth-brand-premium{display:flex!important;align-items:center!important;gap:14px!important}
#auth-modal-root .auth-brand-premium>img,#auth-modal-root .auth-brand-fallback{width:58px!important;height:58px!important;flex:0 0 58px!important;border-radius:16px!important}
#auth-modal-root .auth-brand-premium>img{display:block;object-fit:cover;background:#0b3155;border:1px solid #45bffb66;box-shadow:0 9px 24px #0005}
#auth-modal-root .auth-brand-fallback{display:grid;place-items:center;background:linear-gradient(145deg,#168cff,#0b4c83);color:#ffd21f;font-size:27px;border:1px solid #57cfff66;box-shadow:0 9px 24px #168cff35}
#auth-modal-root .auth-brand-premium>div{min-width:0}
#auth-modal-root .auth-brand-premium strong{display:block;font-size:25px;line-height:1.05;color:#fff}
#auth-modal-root .auth-brand-premium strong b{color:#ffc52e}
#auth-modal-root .auth-brand-premium small{display:block;margin-top:8px;color:#b9d0e5;font-size:9px;letter-spacing:.2em;font-weight:800}
@media(max-width:480px){#auth-modal-root .auth-brand-premium>img,#auth-modal-root .auth-brand-fallback{width:52px!important;height:52px!important;flex-basis:52px!important;border-radius:14px!important}#auth-modal-root .auth-brand-premium strong{font-size:23px}}

/* ===== bloco 13 (movido do index.html sem alterações) ===== */
.memory-round{padding-bottom:20px}.memory-grid-rich{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.memory-card{position:relative;min-height:112px!important;aspect-ratio:auto!important;display:grid!important;place-items:center!important;overflow:hidden;border:1px solid #3474a6!important;background:linear-gradient(145deg,#174d79,#103b61)!important;box-shadow:inset 0 1px 0 #ffffff14,0 8px 18px #0002;transition:transform .18s,background .18s!important}.memory-card.open,.memory-card.matched{background:linear-gradient(145deg,#ffd52a,#e9ad16)!important;color:#10243a!important;transform:translateY(-2px)}.memory-card-back{font-size:26px}.memory-card-value{font-size:15px;font-weight:900;text-align:center;padding:8px}.memory-card.open .memory-card-back,.memory-card.matched .memory-card-back{display:none}.memory-card:not(.open):not(.matched) .memory-card-value{display:none}@media(max-width:520px){.memory-grid-rich{grid-template-columns:repeat(3,1fr);gap:9px}.memory-card{min-height:92px!important}.memory-card-value{font-size:13px;padding:5px}}

/* ===== bloco 14 · #sabbath-ios-hotfix (movido do index.html sem alterações) ===== */
@media(max-width:700px){
 html,body{touch-action:auto!important;overscroll-behavior-x:none}
 main{padding-bottom:calc(118px + env(safe-area-inset-bottom))!important}
 .sabbath-page{overflow:visible!important;width:100%!important;min-width:0!important}
 .sabbath-shelf{width:100%;min-width:0;overflow:visible}
 .sabbath-catalog{display:flex!important;width:calc(100vw - 24px)!important;max-width:none!important;margin-left:0!important;margin-right:0!important;padding:4px 18px 16px 0!important;gap:12px!important;overflow-x:scroll!important;overflow-y:hidden!important;touch-action:auto!important;scroll-snap-type:x proximity!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior-x:contain}
 .sabbath-quarter-card{flex:0 0 168px!important;width:168px!important;max-width:168px!important;min-width:168px!important}
 .bottomnav{position:fixed!important;bottom:0!important;transform:none!important;will-change:auto!important}
}

/* ===== bloco 15 · #sabbath-reader-responsive-v2 (movido do index.html sem alterações) ===== */
@media(max-width:700px){
 .sabbath-reader{width:100%!important;max-width:100%!important;margin:0!important;border-left:0!important;border-right:0!important;border-radius:14px!important;overflow:hidden!important}
 .sabbath-reader-head,.sabbath-reading,.sabbath-reader-nav{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
 .sabbath-reading{padding:18px 14px!important;font-size:16px!important;line-height:1.65!important;overflow:hidden!important}
 .sabbath-reading *{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
 .sabbath-reading p,.sabbath-reading div,.sabbath-reading section,.sabbath-reading article,.sabbath-reading blockquote,.sabbath-reading h1,.sabbath-reading h2,.sabbath-reading h3,.sabbath-reading h4,.sabbath-reading li{width:auto!important;height:auto!important;margin-left:0!important;margin-right:0!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important}
 .sabbath-reading img,.sabbath-reading picture,.sabbath-reading picture img,.sabbath-reading svg,.sabbath-reading canvas,.sabbath-reading video{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;object-fit:contain!important;margin-left:auto!important;margin-right:auto!important}
 .sabbath-reading iframe{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;aspect-ratio:16/9;border:0}
 .sabbath-reading table{display:block!important;width:100%!important;max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch}
 .sabbath-reading pre,.sabbath-reading code{white-space:pre-wrap!important;overflow-wrap:anywhere!important;word-break:break-word!important}
 .sabbath-reader-head h3{font-size:clamp(25px,8vw,34px)!important;line-height:1.12!important;overflow-wrap:anywhere!important}
}

/* ===== bloco 16 · #sabbath-reader-hard-mobile-fit (movido do index.html sem alterações) ===== */
@media(max-width:700px){
 .sabbath-page,.sabbath-reader,.sabbath-reader-head,.sabbath-reading,.sabbath-reader-nav{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
 .sabbath-reading{contain:inline-size;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}
 .sabbath-reading>*,.sabbath-reading>*>*{max-width:100%!important;box-sizing:border-box!important}
 .sabbath-reading img{display:block!important;max-width:100%!important;width:auto!important;height:auto!important;object-fit:contain!important}
 .sabbath-reading p,.sabbath-reading li,.sabbath-reading h1,.sabbath-reading h2,.sabbath-reading h3,.sabbath-reading h4,.sabbath-reading blockquote{font-size:min(1em,5vw)!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important}
}

/* ===== bloco 17 · #sabbath-reader-final-fit (movido do index.html sem alterações) ===== */
@media(max-width:700px){
 .sabbath-reader{container-type:inline-size!important}
 .sabbath-reading{width:100%!important;max-width:100%!important;overflow-x:hidden!important;padding:16px 12px!important}
 .sabbath-reading img{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;object-fit:contain!important}
 .sabbath-reading p,.sabbath-reading li,.sabbath-reading blockquote{width:100%!important;max-width:100%!important;min-width:0!important;font-size:clamp(15px,4.2vw,18px)!important;line-height:1.6!important;overflow-wrap:anywhere!important;word-break:normal!important}
 .sabbath-reading h1,.sabbath-reading h2{width:100%!important;font-size:clamp(24px,7vw,31px)!important;line-height:1.15!important;overflow-wrap:anywhere!important}
 .sabbath-reading h3,.sabbath-reading h4{width:100%!important;font-size:clamp(20px,5.8vw,26px)!important;line-height:1.2!important;overflow-wrap:anywhere!important}
}

/* ===== bloco 18 · #sabbath-reader-overflow-root-fix (movido do index.html sem alterações) ===== */
@media(max-width:700px){
 body:has(.sabbath-reader){overflow-x:hidden!important}
 main:has(.sabbath-reader),#content:has(.sabbath-reader),.sabbath-page:has(.sabbath-reader){width:100%!important;max-width:100vw!important;min-width:0!important;overflow-x:hidden!important;padding-left:12px!important;padding-right:12px!important;box-sizing:border-box!important}
 .sabbath-reader{width:100%!important;max-width:100%!important;min-width:0!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box!important}
 .sabbath-reading{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:hidden!important;box-sizing:border-box!important}
 .sabbath-reading *{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
 .sabbath-reading img{display:block!important;width:auto!important;max-width:100%!important;height:auto!important;margin-left:auto!important;margin-right:auto!important}
 .sabbath-reading p,.sabbath-reading div,.sabbath-reading section,.sabbath-reading article,.sabbath-reading blockquote,.sabbath-reading li{width:auto!important;max-width:100%!important;white-space:normal!important;overflow-wrap:break-word!important}
}

/* ===== bloco 19 · #sabbath-reader-ios-viewport-final (movido do index.html sem alterações) ===== */
@media(max-width:700px){
 body:has(.sabbath-reader) main{padding-left:0!important;padding-right:0!important;overflow-x:hidden!important}
 body:has(.sabbath-reader) #content,body:has(.sabbath-reader) .sabbath-page,body:has(.sabbath-reader) #sabbath-content{width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important;overflow-x:hidden!important}
 body:has(.sabbath-reader) .sabbath-back,body:has(.sabbath-reader) .sabbath-day-tabs{margin-left:12px!important;margin-right:12px!important;max-width:calc(100% - 24px)!important}
 .sabbath-reader{width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;border-radius:0!important;overflow:hidden!important}
 .sabbath-reader-head,.sabbath-reading,.sabbath-reader-nav{width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important}
 .sabbath-reader-head{padding:18px 16px!important}
 .sabbath-reader-head h3{font-size:clamp(24px,8vw,34px)!important;white-space:normal!important;overflow-wrap:break-word!important}
 .sabbath-reading{padding:18px 16px!important;font-size:17px!important;line-height:1.62!important}
 .sabbath-reading *{box-sizing:border-box!important;min-width:0!important;max-width:100%!important}
 .sabbath-reading p,.sabbath-reading div,.sabbath-reading section,.sabbath-reading article,.sabbath-reading blockquote,.sabbath-reading li,.sabbath-reading h1,.sabbath-reading h2,.sabbath-reading h3,.sabbath-reading h4,.sabbath-reading h5,.sabbath-reading h6{width:100%!important;white-space:normal!important;overflow-wrap:break-word!important;word-break:normal!important}
 .sabbath-reading img,.sabbath-reading picture,.sabbath-reading picture img,.sabbath-reading svg,.sabbath-reading video{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;object-fit:contain!important}
}

/* Studio: sem painel de fundo atrás do iframe */
#content:has(.projection-studio-frame:not(.st-bg)),#content:has(.projection-studio-frame:not(.st-bg))>*{background:transparent!important;border:0!important;box-shadow:none!important}
#iasd-studio-frame.st-bg{max-height:2px!important;max-width:2px!important;position:fixed!important;left:0!important;bottom:0!important;width:2px!important;height:2px!important;min-height:0!important;opacity:0!important;pointer-events:none!important;border:0!important;z-index:-1!important;margin:0!important}
.projection-studio-frame{background:transparent!important}
#iasd-studio-frame{color-scheme:dark;background:transparent!important}
