/* assets/offline-reference-step15.css */
/* Offline library reference. Scoped to the offline overlay; site breakpoints stay untouched. */
body.guul-offline-open{overflow:hidden}
.guulOfflineOverlay.offlineReferenceOverlay{padding:0;background:#172b2c77;backdrop-filter:blur(5px);z-index:2147483000;display:grid;place-items:center}
.offlineReferenceOverlay .offlineReferenceCard{width:min(100%,980px);height:min(100dvh,980px);max-width:none;border:0;border-radius:28px;padding:0;overflow:hidden;background:#fcfdf9;box-shadow:0 25px 90px #1a2a2745}
.offlineReferenceCard .guulOfflineBody{height:100%;overflow:auto;scrollbar-width:thin;scrollbar-color:#b4c8c2 transparent}
.offlinePage{min-height:100%;max-width:880px;margin:auto;padding:15px 22px 18px;color:#080e34;font-family:'Nunito Sans',GuulHero,system-ui,sans-serif;background:#fcfdf9}
.offlinePage *{box-sizing:border-box}.offlinePage button{cursor:pointer;font:inherit}.offlineTop{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:83px}.offlineBrand{display:flex;align-items:center;gap:14px;min-width:0}.offlineBrand>img{width:70px;height:70px;object-fit:contain}.offlineBrand b{display:block;color:#0b1035;font-size:27px;line-height:1;font-weight:950;letter-spacing:-.045em}.offlineBrand small{display:block;color:#7585ad;font-weight:900;letter-spacing:.18em;margin-top:6px;font-size:14px}.offlineTopTools{display:flex;align-items:center;gap:12px}.offlineTopTools button{height:51px;min-width:54px;border:0;border-radius:30px;background:#fff;color:#eeb511;box-shadow:0 7px 22px #1b3b3113;font-size:29px}.offlineTopTools button+button{color:#0d638c}.offlineTopAvatar{width:58px;height:58px;display:grid;place-items:center;border:2px solid #b5f4d7;border-radius:50%;background:#e8fff3;overflow:hidden;font-size:29px}.offlineTopAvatar img{width:100%;height:100%;object-fit:cover}
.offlineHero{position:relative;height:295px;padding:20px 4px;overflow:hidden}.offlineBack{position:relative;z-index:2;width:55px;height:55px;border:0;border-radius:50%;background:#f0f4f2;color:#0a1932;font-size:34px;line-height:1}.offlineHeroArt{position:absolute;right:-12px;bottom:0;width:58%;max-height:265px;object-fit:contain;object-position:right bottom;pointer-events:none}.offlineHeroCopy{position:relative;z-index:1;margin-top:17px;max-width:48%}.offlineCloud{display:inline-grid;place-items:center;float:left;margin:3px 16px 0 0;width:66px;height:66px;border-radius:50%;background:#ddfaeb;color:#00a981;font-size:39px;font-weight:900;box-shadow:0 6px 17px #4bc49a16}.offlineHero h1{font-size:clamp(35px,5.4vw,58px);line-height:1.05;letter-spacing:-.05em;margin:7px 0 24px;font-weight:950;white-space:nowrap}.offlineHero p{clear:both;color:#7484ae;font-size:20px;line-height:1.35;margin:0;font-weight:650}
.offlineStorage{width:100%;min-height:93px;display:flex;align-items:center;gap:18px;border:1px solid #ccf0e6;border-radius:23px;background:#eafbf5;padding:13px 18px;color:#0a1741;text-align:left;box-shadow:0 10px 23px #129a7410}.offlineStorageIcon{width:68px;height:68px;flex:0 0 68px;display:grid;place-items:center;border-radius:50%;background:#bcf8df}.offlineStorageIcon img{width:45px;height:45px}.offlineStorage b{font-size:21px}.offlineStorage em{color:#009e83;font-style:normal}.offlineStorage strong{margin-left:auto;color:#008d7c;font-size:32px;font-weight:400}
.offlineTabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:17px 0 23px}.offlineTabs button{min-height:75px;border:1px solid #e5eceb;border-radius:18px;background:#fff;color:#6b7b9f;font-size:15px;font-weight:850;display:flex;align-items:center;justify-content:center;gap:8px;padding:8px;white-space:nowrap;box-shadow:0 5px 15px #2536220b}.offlineTabs button.active{border:2px solid #00a687;color:#09173a;background:#f1fcf8}.offlineTabs span{width:44px;height:44px;flex:0 0 44px;display:grid;place-items:center;border-radius:13px;background:#e8faf4}.offlineTabs button:nth-child(2) span{background:#eaf8ef}.offlineTabs button:nth-child(3) span{background:#e8f5fc}.offlineTabs button:nth-child(4) span{background:#f6ecfc}.offlineTabs img{width:29px;height:29px;object-fit:contain}
.offlineAvailable h2,.offlineSaved h2{font-size:31px;line-height:1.12;letter-spacing:-.04em;margin:0 0 13px;color:#090d2a}.offlineItem{min-height:105px;display:flex;align-items:center;gap:17px;background:#fff;border:1px solid #eff1ef;border-radius:21px;box-shadow:0 9px 22px #15241d0c;margin-bottom:10px;padding:13px 16px}.offlineItemIcon{width:76px;height:76px;flex:0 0 76px;border-radius:18px;background:#e8faf1;display:grid;place-items:center}.offlineItemIcon.exams{background:#ffedf1}.offlineItemIcon.lessons{background:#e8f6fd}.offlineItemIcon img{width:49px;height:49px;object-fit:contain}.offlineItemText{min-width:0;flex:1}.offlineItemText b{display:block;font-size:20px;line-height:1.2;color:#080f3b}.offlineItemText small{display:block;color:#7d8bb1;font-size:17px;margin-top:6px}.offlineDownload,.offlineOpen{border:0;border-radius:13px;background:#009f83;color:#fff;padding:16px 20px;min-width:172px;font-weight:900;font-size:17px;white-space:nowrap}.offlineDownload span{font-size:24px;line-height:0}.offlineDownload:disabled{opacity:.7}.offlineSavedBadge{background:#e7faeb;color:#049a50;border-radius:20px;padding:9px 12px;font-size:13px;font-weight:850;white-space:nowrap}.offlineOpen{min-width:75px;padding:12px;border:1px solid #00a087;background:#fff;color:#008373}.offlineEmpty{background:#fff;border:1px solid #ebefed;border-radius:18px;padding:22px;color:#7283a6;line-height:1.5}
.offlineSaved{margin-top:35px}.offlineSavedHead{display:flex;align-items:center;justify-content:space-between;gap:12px}.offlineSavedHead h2{margin-bottom:4px}.offlineSavedHead p{margin:0 0 16px;color:#8190b4;font-size:17px}.offlineSavedHead button{border:1px solid #75d3c5;border-radius:14px;background:#fff;color:#007a73;padding:12px 14px;font-weight:850;white-space:nowrap}.offlineSavedGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.offlineSavedGrid article{display:flex;align-items:center;gap:10px;min-width:0;background:#fff;border:1px solid #e8eeea;border-radius:18px;padding:10px;box-shadow:0 6px 16px #192c2310}.offlineSavedIcon{width:53px;height:53px;flex:0 0 53px;display:grid;place-items:center;border-radius:14px;background:#e9fbf2}.offlineSavedIcon img{width:35px;height:35px}.offlineSavedGrid article div{flex:1;min-width:0}.offlineSavedGrid b{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:15px}.offlineSavedGrid small{display:block;color:#8693b1;font-size:12px;margin-top:3px}.offlineSavedGrid article button{border:0;background:none;color:#5b6c9c;font-size:25px;padding:3px}
.offlineInstall{margin-top:17px;background:#fff;border:1px solid #eaf0ec;border-radius:20px;padding:17px;display:flex;align-items:center;gap:16px}.offlineInstallIcon{width:70px;height:70px;flex:0 0 70px;display:grid;place-items:center;border-radius:50%;background:#e5faef;color:#009d84;font-size:40px;font-weight:900}.offlineInstall>div{min-width:0;flex:1}.offlineInstall h2{font-size:21px;margin:0 0 4px}.offlineInstall p{color:#8390b4;font-size:15px;margin:0}.offlineInstall button{border:0;border-radius:13px;background:#00a083;color:#fff;font-size:16px;font-weight:900;padding:16px 18px;white-space:nowrap}
.offlineBottom{position:sticky;bottom:0;z-index:5;display:flex;gap:4px;justify-content:space-around;align-items:center;background:#fff;border:1px solid #eff2ef;border-radius:24px;box-shadow:0 -7px 28px #23342b13;margin:17px -15px 0;padding:8px}.offlineBottom button{width:25%;display:grid;place-items:center;gap:4px;background:none;border:0;color:#7480a2;font-size:15px;font-weight:850;padding:8px}.offlineBottom img{width:27px;height:27px;opacity:.73}.offlineBottom button:first-child{color:#008b75;background:#e9f9f5;border-radius:17px}.offlineBottom button:first-child img{opacity:1;filter:sepia(1) saturate(5) hue-rotate(106deg)}
.offlineVideo{position:absolute;inset:0;z-index:8;display:grid;place-items:center;background:#071d22da;padding:20px}.offlineVideo video{max-width:100%;max-height:80%;background:#000}.offlineVideo button{position:absolute;top:18px;right:18px;background:#fff;border:0;border-radius:50%;width:42px;height:42px;font-size:30px}
@media(max-width:650px){.offlineReferenceOverlay .offlineReferenceCard{width:100%;height:100dvh;border-radius:0}.offlinePage{padding:10px 13px 12px}.offlineTop{min-height:62px}.offlineBrand{gap:8px}.offlineBrand>img{width:43px;height:43px}.offlineBrand b{font-size:15px}.offlineBrand small{font-size:8px;margin-top:4px}.offlineTopTools{gap:5px}.offlineTopTools button{min-width:33px;height:35px;font-size:18px}.offlineTopAvatar{width:37px;height:37px;font-size:18px}.offlineHero{height:219px;padding:13px 0}.offlineBack{width:39px;height:39px;font-size:27px}.offlineHeroArt{right:-14px;width:59%;max-height:175px}.offlineHeroCopy{margin-top:20px;max-width:54%}.offlineCloud{width:44px;height:44px;font-size:27px;margin-right:7px}.offlineHero h1{font-size:32px;margin:7px 0 17px}.offlineHero p{font-size:12px}.offlineStorage{min-height:68px;border-radius:18px;gap:10px;padding:9px}.offlineStorageIcon{width:49px;height:49px;flex-basis:49px}.offlineStorageIcon img{width:33px;height:33px}.offlineStorage b{font-size:13px}.offlineStorage strong{font-size:25px}.offlineTabs{gap:5px;margin:11px 0 18px}.offlineTabs button{min-height:70px;flex-direction:column;gap:3px;font-size:10px;padding:5px 2px;border-radius:13px}.offlineTabs span{width:32px;height:32px;flex-basis:32px;border-radius:9px}.offlineTabs img{width:23px;height:23px}.offlineAvailable h2,.offlineSaved h2{font-size:22px;margin-bottom:10px}.offlineItem{min-height:76px;border-radius:17px;padding:8px;gap:8px}.offlineItemIcon{width:48px;height:48px;flex-basis:48px;border-radius:12px}.offlineItemIcon img{width:32px;height:32px}.offlineItemText b{font-size:12px}.offlineItemText small{font-size:10px;margin-top:4px}.offlineDownload{min-width:83px;font-size:10px;padding:11px 5px;border-radius:10px}.offlineDownload span{font-size:17px}.offlineSavedBadge{display:none}.offlineOpen{min-width:45px;font-size:11px;padding:9px}.offlineSaved{margin-top:24px}.offlineSavedHead h2{font-size:21px}.offlineSavedHead p{font-size:11px}.offlineSavedHead button{font-size:10px;padding:9px}.offlineSavedGrid{grid-template-columns:1fr 1fr}.offlineSavedGrid article{padding:6px;gap:5px}.offlineSavedIcon{width:37px;height:37px;flex-basis:37px}.offlineSavedIcon img{width:26px;height:26px}.offlineSavedGrid b{font-size:11px}.offlineSavedGrid small{font-size:9px}.offlineInstall{gap:8px;padding:10px}.offlineInstallIcon{width:44px;height:44px;flex-basis:44px;font-size:28px}.offlineInstall h2{font-size:13px}.offlineInstall p{font-size:10px}.offlineInstall button{font-size:10px;padding:11px 7px}.offlineBottom{margin:14px -8px 0;border-radius:17px}.offlineBottom button{font-size:10px;padding:5px}.offlineBottom img{width:22px;height:22px}}

.offlineTopTools button img{width:25px;height:25px;object-fit:contain;vertical-align:middle}@media(max-width:650px){.offlineTopTools button img{width:18px;height:18px}}
.offlineTopTools [data-offline-close]{color:#63746d;background:#fff;font:500 24px/1 Nunito,system-ui,sans-serif}
.offlineTopTools [data-offline-close]:hover{color:#08775b;background:#e7f6ed}
@media(max-width:650px){.offlineTopTools [data-offline-close]{font-size:19px}}
/* Su’aalo iyo Jawaabo: fifth download category. Keep the page shell unchanged. */
.offlineTabs{grid-template-columns:repeat(5,minmax(0,1fr))}
.offlineTabs button:nth-child(2) span{background:#e6f8f3}
.offlineTabs button:nth-child(3) span{background:#eaf8ef}
.offlineTabs button:nth-child(4) span{background:#e8f5fc}
.offlineTabs button:nth-child(5) span{background:#f6ecfc}
.offlineItemIcon.qa{background:#e7f9f4}
.offlineItemIcon.qa .offlineSubjectArt{object-fit:contain}
@media(max-width:650px){.offlineTabs{gap:4px}.offlineTabs button{font-size:9px;line-height:1.15;white-space:normal;overflow-wrap:anywhere;padding:5px 2px}.offlineTabs span{width:30px;height:30px;flex-basis:30px}.offlineTabs img{width:21px;height:21px}}


/* assets/account-reference-step13.css */
/* Account reference styling, scoped to the account overlay. Outer viewport dimensions stay intact. */
.v3Overlay.accountMode .v3App{background:#fafbf7}
.v3Overlay.accountMode .v3Top{background:#fff;color:#08123d;border-bottom:1px solid #eef1ec;box-shadow:none}
.v3Overlay.accountMode .v3Brand b{color:#080e39;font-weight:950}
.v3Overlay.accountMode .v3Brand small{color:#7a87ac}
.v3Overlay.accountMode .v3Back,.v3Overlay.accountMode .v3Close{color:#078f88;background:#e9f8f2}
.v3Overlay.accountMode .v3Body{padding:0;background:#fafbf7}
.accountPage{max-width:820px;margin:auto;padding:18px 20px 24px;color:#080d32;font-family:'Nunito Sans',system-ui,sans-serif}
.accountPage *{box-sizing:border-box}.accountIntro{display:flex;justify-content:space-between;align-items:center;min-height:153px;padding:4px 5px 7px}.accountIntro h1{font-size:clamp(31px,4vw,49px);letter-spacing:-.045em;line-height:1.05;margin:0 0 9px;font-weight:950;color:#08080e}.accountIntro p{font-size:clamp(15px,2vw,22px);line-height:1.3;color:#7887b1;margin:0}.accountBookArt{position:relative;min-width:170px;font-size:79px;text-align:center;line-height:1}.accountBookArt span{position:absolute;right:9px;top:0;color:#ffbd26;font-size:45px}.accountBookArt em{position:absolute;left:0;bottom:5px;font-size:38px;font-style:normal}.accountBookArt i{font-style:normal;filter:drop-shadow(0 10px 12px #00a77e27)}
.accountStudent,.accountMembership,.accountList{background:#fff;border:1px solid #edf0ef;border-radius:22px;box-shadow:0 10px 24px #152a2410}.accountStudent{padding:22px;display:flex;align-items:center;gap:25px}.accountStudentAvatar{flex:0 0 145px}.accountAvatar{width:145px;height:145px;display:grid;place-items:center;overflow:hidden;border-radius:50%;background:#d9f9e8;border:3px solid #a0f2cf;font-size:55px;color:#119b80;font-weight:900}.accountAvatar img{width:100%;height:100%;object-fit:cover}.accountStudentInfo{min-width:0;flex:1}.accountStudentInfo h2{margin:0;color:#090e40;font-size:34px;line-height:1.1}.accountStudentInfo p{margin:3px 0 17px;color:#7888b4;font-size:20px}.accountStudentActions{display:flex;gap:9px;flex-wrap:wrap}.accountStudentActions button{border:1px solid #d9f2ed;background:#fff;border-radius:14px;padding:11px 14px;color:#008f87;font-size:14px;font-weight:850;cursor:pointer}.accountStudentActions button:hover,.accountRow:hover{background:#f5fdf9}
.accountMembership{display:flex;align-items:center;gap:18px;padding:18px 22px;margin-top:16px}.accountShield{width:70px;height:70px;flex:0 0 70px;border-radius:50%;display:grid;place-items:center;background:#e8faf5;color:#fff;font-size:27px;font-weight:950;text-shadow:0 1px #007d71;background-image:radial-gradient(circle at center,#06ad8b 0 24px,transparent 25px)}.accountMembership>div{min-width:0;flex:1}.accountMembership h2{font-size:23px;margin:0 0 4px}.accountMembership p{font-size:16px;color:#7b8bb4;margin:0}.accountMembership button{border:0;border-radius:99px;padding:10px 15px;background:#e7f9eb;color:#00a547;font-weight:850;white-space:nowrap}.accountMembership button:not(.isActive){cursor:pointer;background:#e7f9f3;color:#009f87}
.accountSectionTitle{font-size:25px;color:#09090f;margin:20px 4px 10px;letter-spacing:-.03em}.accountList{padding:2px 18px}.accountRow{width:100%;display:flex;align-items:center;gap:16px;padding:11px 2px;border:0;border-bottom:1px solid #e9edf1;background:transparent;text-align:left;cursor:pointer;color:#0c123e}.accountRow:last-child{border-bottom:0}.accountIcon{width:58px;height:58px;border-radius:16px;display:grid;place-items:center;flex:0 0 58px;font-size:30px}.accountIcon.violet{background:#f1efff}.accountIcon.amber{background:#fff7e8}.accountIcon.rose{background:#eaf9f5}.accountIcon.sun{background:#fffae8}.accountIcon.sky{background:#eaf6fc;color:#48789d}.accountIcon.slate{background:#f1f0fa;color:#69759b}.accountRowCopy{flex:1;min-width:0}.accountRowCopy b{display:block;font-size:19px;font-weight:850}.accountRowCopy small{display:block;font-size:15px;color:#7c8bb5;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.accountChevron{color:#00b5b2;font-size:32px;line-height:1}.accountToggle{width:50px;height:29px;border-radius:99px;background:#00bb9b;position:relative}.accountToggle:after{content:'';position:absolute;right:3px;top:3px;width:23px;height:23px;border-radius:50%;background:#fff}.accountLogout{display:block;width:100%;margin:18px 0 12px;padding:17px;border:0;border-radius:18px;background:#fff0f1;color:#f02a55;font-size:19px;font-weight:850;text-align:left;cursor:pointer}.accountBottom{position:sticky;bottom:0;z-index:2;display:flex;justify-content:space-around;gap:4px;border:1px solid #edf2ed;border-radius:23px;padding:6px;background:#fff;box-shadow:0 8px 20px #142a2410}.accountBottom button{flex:1;display:grid;place-items:center;gap:2px;border:0;border-radius:16px;background:transparent;color:#7e8caf;font-size:13px;font-weight:800;padding:8px 4px;cursor:pointer}.accountBottom button span{font-size:25px;line-height:1}.accountBottom button.active{color:#04ab8a;background:#e9f9f4}
@media(max-width:600px){.accountPage{padding:12px 13px 19px}.accountIntro{min-height:125px}.accountIntro h1{font-size:31px}.accountIntro p{font-size:15px}.accountBookArt{min-width:99px;font-size:53px}.accountBookArt span{font-size:28px}.accountBookArt em{font-size:22px}.accountStudent{gap:13px;padding:13px;border-radius:19px}.accountStudentAvatar{flex-basis:80px}.accountAvatar{width:80px;height:80px;font-size:32px}.accountStudentInfo h2{font-size:22px}.accountStudentInfo p{font-size:14px;margin-bottom:10px}.accountStudentActions{gap:5px}.accountStudentActions button{font-size:10px;padding:8px;border-radius:10px}.accountMembership{gap:9px;padding:12px;margin-top:11px;border-radius:18px}.accountShield{width:48px;height:48px;flex-basis:48px;font-size:20px;background-image:radial-gradient(circle at center,#06ad8b 0 17px,transparent 18px)}.accountMembership h2{font-size:18px}.accountMembership p{font-size:11px}.accountMembership button{font-size:10px;padding:8px}.accountSectionTitle{font-size:22px;margin:16px 3px 8px}.accountList{padding:1px 12px;border-radius:18px}.accountRow{gap:10px;padding:9px 0}.accountIcon{width:46px;height:46px;flex-basis:46px;font-size:24px;border-radius:12px}.accountRowCopy b{font-size:15px}.accountRowCopy small{font-size:12px}.accountChevron{font-size:25px}.accountLogout{font-size:16px;padding:15px}.accountBottom button{font-size:11px}}

/* Account corrections: green account status, distinct code entry and real battle ID. */
.accountOnline{border-radius:99px;background:#e5fae9;color:#069a53;padding:10px 14px;font-weight:850;white-space:nowrap}
.accountCode,.accountBattleId{background:#fff;border:1px solid #dcefe9;border-radius:20px;padding:17px 21px;margin-top:13px;box-shadow:0 7px 19px #1628220d}
.accountCode h2,.accountBattleId h2{margin:0 0 4px;font-size:20px;color:#0d2440}.accountCode p,.accountBattleId p{margin:0;color:#6c7f9c;font-size:14px;line-height:1.5}.accountCode button,.accountBattleLine button{border:0;background:#03aa87;color:#fff;border-radius:12px;padding:10px 15px;font-weight:850;cursor:pointer}.accountCode:not(.isVerified) button{margin-top:12px}.accountCode small,.accountBattleId small{display:block;color:#7488a0;font-size:12px;margin-top:10px}.accountCode.isVerified{display:flex;align-items:center;gap:12px;background:#f5fdf8}.accountCode.isVerified>span{display:grid;place-items:center;width:35px;height:35px;flex:0 0 35px;border-radius:50%;background:#0bab69;color:#fff;font-weight:900}.accountBattleLine{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;padding:8px;border-radius:13px;background:#f3fbf8}.accountBattleLine strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#085f6e;font-size:17px;letter-spacing:.025em}.accountBattleLine button:disabled{opacity:.5;cursor:default}
.accountLogout{background:#f2f5f4;color:#3b6e69}.accountLogout:hover{background:#e7f2ee}
@media(max-width:600px){.accountOnline{font-size:10px;padding:8px}.accountCode,.accountBattleId{padding:13px;border-radius:18px}.accountCode h2,.accountBattleId h2{font-size:16px}.accountCode p,.accountBattleId p{font-size:12px}.accountBattleLine strong{font-size:14px}}

.accountCodeForm{margin-top:12px}.accountCodeForm label{display:block;color:#17594e;font-weight:850;font-size:13px;margin-bottom:6px}.accountCodeForm>div{display:flex;gap:8px}.accountCodeForm input{min-width:0;flex:1;border:1px solid #bce3d7;border-radius:12px;padding:11px 12px;font:inherit;color:#0d2440;text-transform:uppercase;background:#fff}.accountCodeForm button{margin-top:0!important;white-space:nowrap}.accountCodeForm button:disabled{opacity:.6}.accountCodeError{color:#b2393e!important;margin-top:8px!important;font-weight:700}.accountCodeError[hidden]{display:none}
@media(max-width:600px){.accountCodeForm>div{flex-wrap:wrap}.accountCodeForm input{flex-basis:100%}.accountCodeForm button{width:100%}}

/* Account settings actions */
.accountIcon.sky svg{width:29px;height:29px;display:block}
.accountLogout{display:flex;align-items:center;gap:15px}
.accountLogout svg{width:25px;height:25px;flex:none;stroke:#198b73}
@media(max-width:600px){.accountIcon.sky svg{width:24px;height:24px}.accountLogout svg{width:22px;height:22px}}
.v3Overlay.accountMode .accountIntro h1{display:none}
.v3Overlay.accountMode .accountIntro{min-height:95px}
@media(max-width:600px){.v3Overlay.accountMode .accountIntro{min-height:80px}}

/* Step 78: account screen follows the selected reference while keeping the app frame. */
.v3Overlay.accountMode .v3Body{background:#f9fcfa!important}
.v3Overlay.accountMode .accountPage{max-width:900px;padding:4px 20px 32px;color:#101638}
.v3Overlay.accountMode .accountIntro{min-height:150px;display:flex;align-items:center;gap:20px;padding:2px 4px 10px}
.v3Overlay.accountMode .accountIntro p{max-width:590px;margin:0;color:#7483a8;font-size:clamp(16px,2vw,23px);font-weight:600;line-height:1.4}
.v3Overlay.accountMode .accountBookArt{display:block;width:205px;height:150px;min-width:0;object-fit:contain;object-position:center;flex:none}
.v3Overlay.accountMode .accountStudent,.v3Overlay.accountMode .accountMembership,.v3Overlay.accountMode .accountList,.v3Overlay.accountMode .accountBattleId{background:#fff;border:1px solid #e8f1ee;border-radius:25px;box-shadow:0 12px 28px #102d2810}
.v3Overlay.accountMode .accountStudent{gap:28px;padding:22px 28px}
.v3Overlay.accountMode .accountStudentAvatar{flex:0 0 180px}
.v3Overlay.accountMode .accountAvatar{width:180px;height:180px;border:0;background:#defbf0;box-shadow:0 0 0 1px #d6f7ea}
.v3Overlay.accountMode .accountStudentInfo h2{font-size:clamp(25px,3.1vw,37px);line-height:1.08;max-width:520px;letter-spacing:-.035em;color:#0d1239}
.v3Overlay.accountMode .accountStudentInfo p{color:#009c80;font-weight:900;font-size:21px;margin:8px 0 18px}
.v3Overlay.accountMode .accountStudentActions button{border:1px solid #ccefe7;background:#fff;color:#008c7c;font-weight:900;border-radius:19px;padding:13px 18px;font-size:15px}
.v3Overlay.accountMode .accountMembership{margin-top:18px;padding:18px 25px;gap:20px}
.v3Overlay.accountMode .accountShield{width:76px;height:76px;flex-basis:76px;font-size:33px;background:#07ac73;box-shadow:0 0 0 10px #e3f9ec;border-radius:50%;margin:0 10px}
.v3Overlay.accountMode .accountMembership h2{font-size:27px;color:#101638;letter-spacing:-.03em}
.v3Overlay.accountMode .accountMembership p{color:#7483a8;font-size:17px}
.v3Overlay.accountMode .accountOnline{background:#e3f9e9;color:#008e63;padding:13px 20px;font-size:17px;display:inline-flex;align-items:center;gap:8px}
.v3Overlay.accountMode .accountOnline span{color:#00bf55;font-size:19px}
.v3Overlay.accountMode .accountCode.isVerified{background:#f5fffa;border-color:#ccefe5;min-height:118px;padding:20px 26px;gap:22px}
.v3Overlay.accountMode .accountCode.isVerified>span{background:#dcfbee;color:#00a688;width:68px;height:68px;flex-basis:68px;border-radius:50%;font-size:42px;font-weight:900}
.v3Overlay.accountMode .accountCode h2,.v3Overlay.accountMode .accountBattleId h2{font-size:25px;color:#11183d;letter-spacing:-.025em}
.v3Overlay.accountMode .accountCode p,.v3Overlay.accountMode .accountBattleId p{font-size:17px;color:#7584a8;line-height:1.4}
.v3Overlay.accountMode .accountBattleId{position:relative;padding:20px 27px 20px 145px;margin-top:18px;min-height:175px}
.v3Overlay.accountMode .accountBattleArt{position:absolute;left:27px;top:24px;width:85px;height:85px;border-radius:50%;background:#eeeaff;display:grid;place-items:center}
.v3Overlay.accountMode .accountBattleArt img{width:45px;height:45px;object-fit:contain}
.v3Overlay.accountMode .accountBattleLine{background:#f3faf7;border-radius:17px;padding:5px 5px 5px 19px;min-height:58px}
.v3Overlay.accountMode .accountBattleLine strong{color:#11183d;font-size:22px}
.v3Overlay.accountMode .accountBattleLine button{background:#009c83;font-size:16px;padding:13px 20px;border-radius:15px}
.v3Overlay.accountMode .accountBattleId small{color:#7483a8;font-size:14px;margin-top:8px}
.v3Overlay.accountMode .accountSectionTitle{color:#0e153a;font-size:29px;margin:22px 2px 12px}
.v3Overlay.accountMode .accountList{padding:4px 24px}
.v3Overlay.accountMode .accountRow{min-height:80px;gap:22px;border-color:#e7edf2;color:#101638}
.v3Overlay.accountMode .accountIcon{width:62px;height:62px;flex-basis:62px;border-radius:50%}
.v3Overlay.accountMode .accountIcon img{width:30px;height:30px;object-fit:contain}
.v3Overlay.accountMode .accountIcon.violet{background:#eeedff}.v3Overlay.accountMode .accountIcon.amber{background:#fff2dd}.v3Overlay.accountMode .accountIcon.rose{background:#e5faf4}
.v3Overlay.accountMode .accountRowCopy b{font-size:20px;color:#0e153a}.v3Overlay.accountMode .accountRowCopy small{font-size:16px;color:#7584a8}
.v3Overlay.accountMode .accountChevron{color:#00a99d}
.v3Overlay.accountMode .accountLogout{border-radius:22px;background:#fff0f2;color:#ee2554;font-weight:900;padding:19px 28px}
.v3Overlay.accountMode .accountLogout svg{stroke:#ee2554}
@media(max-width:600px){
 .v3Overlay.accountMode .accountPage{padding:2px 13px 24px}
 .v3Overlay.accountMode .accountIntro{min-height:110px;gap:4px}
 .v3Overlay.accountMode .accountIntro p{font-size:14px;line-height:1.35}
 .v3Overlay.accountMode .accountBookArt{width:112px;height:105px}
 .v3Overlay.accountMode .accountStudent{padding:15px;gap:13px;border-radius:20px}
 .v3Overlay.accountMode .accountStudentAvatar{flex-basis:90px}
 .v3Overlay.accountMode .accountAvatar{width:90px;height:90px}
 .v3Overlay.accountMode .accountStudentInfo h2{font-size:20px}
 .v3Overlay.accountMode .accountStudentInfo p{font-size:13px;margin:4px 0 9px}
 .v3Overlay.accountMode .accountStudentActions{gap:5px}
 .v3Overlay.accountMode .accountStudentActions button{font-size:10px;padding:8px;border-radius:11px}
 .v3Overlay.accountMode .accountMembership{padding:12px;gap:10px;border-radius:19px}
 .v3Overlay.accountMode .accountShield{width:42px;height:42px;flex-basis:42px;margin:0 4px;box-shadow:0 0 0 5px #e3f9ec;font-size:22px}
 .v3Overlay.accountMode .accountMembership h2{font-size:16px}.v3Overlay.accountMode .accountMembership p{font-size:11px}
 .v3Overlay.accountMode .accountOnline{font-size:10px;padding:8px 9px;gap:3px}.v3Overlay.accountMode .accountOnline span{font-size:12px}
 .v3Overlay.accountMode .accountCode.isVerified{padding:14px;gap:10px;min-height:0}
 .v3Overlay.accountMode .accountCode.isVerified>span{width:46px;height:46px;flex-basis:46px;font-size:28px}
 .v3Overlay.accountMode .accountCode h2,.v3Overlay.accountMode .accountBattleId h2{font-size:17px}
 .v3Overlay.accountMode .accountCode p,.v3Overlay.accountMode .accountBattleId p{font-size:12px}
 .v3Overlay.accountMode .accountBattleId{padding:15px 14px 15px 68px;min-height:0;border-radius:19px}
 .v3Overlay.accountMode .accountBattleArt{left:12px;top:17px;width:43px;height:43px}.v3Overlay.accountMode .accountBattleArt img{width:26px;height:26px}
 .v3Overlay.accountMode .accountBattleLine{padding:4px 4px 4px 8px;min-height:44px}.v3Overlay.accountMode .accountBattleLine strong{font-size:14px}.v3Overlay.accountMode .accountBattleLine button{font-size:11px;padding:9px}
 .v3Overlay.accountMode .accountBattleId small{font-size:10px}
 .v3Overlay.accountMode .accountSectionTitle{font-size:21px;margin:17px 2px 8px}
 .v3Overlay.accountMode .accountList{padding:2px 12px;border-radius:19px}.v3Overlay.accountMode .accountRow{min-height:64px;gap:11px}
 .v3Overlay.accountMode .accountIcon{width:43px;height:43px;flex-basis:43px}.v3Overlay.accountMode .accountIcon img{width:23px;height:23px}
 .v3Overlay.accountMode .accountRowCopy b{font-size:14px}.v3Overlay.accountMode .accountRowCopy small{font-size:12px}
 .v3Overlay.accountMode .accountLogout{padding:14px;font-size:15px;border-radius:16px}
}
html[data-guul-comfort-resolved="dark"] .v3Overlay.accountMode .v3Body{background:#14271f!important}
html[data-guul-comfort-resolved="dark"] .v3Overlay.accountMode .accountPage{color:#f1f8f1}
html[data-guul-comfort-resolved="dark"] .v3Overlay.accountMode .accountStudent,html[data-guul-comfort-resolved="dark"] .v3Overlay.accountMode .accountMembership,html[data-guul-comfort-resolved="dark"] .v3Overlay.accountMode .accountBattleId,html[data-guul-comfort-resolved="dark"] .v3Overlay.accountMode .accountList{background:#1c3228;border-color:#3a5948}
html[data-guul-comfort-resolved="dark"] .v3Overlay.accountMode .accountStudentInfo h2,html[data-guul-comfort-resolved="dark"] .v3Overlay.accountMode .accountMembership h2,html[data-guul-comfort-resolved="dark"] .v3Overlay.accountMode .accountBattleId h2,html[data-guul-comfort-resolved="dark"] .v3Overlay.accountMode .accountSectionTitle,html[data-guul-comfort-resolved="dark"] .v3Overlay.accountMode .accountRowCopy b{color:#f1f8f1}


/* assets/offline-banner-step17.css */
/* Step 17: the visible home download banner. These rules are scoped to its slot.
   Existing page and device widths stay with the original layout styles. */
.v2Home>.guulOfflineSlot.guulOfflineBelowHero,
.grRefHome>.guulOfflineSlot.guulOfflineBelowHero{
  display:grid!important;grid-template-columns:102px minmax(0,1fr) 136px!important;
  align-items:center!important;gap:10px!important;
  height:auto!important;min-height:96px!important;overflow:visible!important;
  padding:8px 12px!important;pointer-events:auto!important;
  border:1px solid #d7eee0!important;border-radius:18px!important;
  background:linear-gradient(105deg,#f5fff8 0%,#fff 55%,#e5fae9 100%)!important;
  box-shadow:0 7px 20px rgba(29,92,58,.10)!important;
  transform:none!important;animation:none!important;opacity:1!important;visibility:visible!important;
}
.v2Home>.guulOfflineSlot.guulOfflineBelowHero::before,
.v2Home>.guulOfflineSlot.guulOfflineBelowHero::after{display:none!important}
.v2Home>.guulOfflineBelowHero .grOfflineVisual{width:102px!important;height:80px!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:visible!important}
.v2Home>.guulOfflineBelowHero .grOfflineMainArt{width:105px!important;height:88px!important;max-width:none!important;object-fit:contain!important;filter:drop-shadow(0 5px 5px rgba(26,76,53,.15))}
.v2Home>.guulOfflineBelowHero .grOfflineCopy{min-width:0!important}
.v2Home>.guulOfflineBelowHero .grOfflineCopy b{font:900 19px/1.1 GuulHero,system-ui,sans-serif!important;letter-spacing:-.03em!important;color:#101a38!important}
.v2Home>.guulOfflineBelowHero .grOfflineCopy small{display:block!important;margin:3px 0!important;font:800 10.5px/1.25 GuulHero,system-ui,sans-serif!important;color:#53699b!important;white-space:normal!important}
.v2Home>.guulOfflineBelowHero .grOfflineCopy p{margin:0!important;font:700 10px/1.3 GuulHero,system-ui,sans-serif!important;color:#556b76!important}
.v2Home>.guulOfflineBelowHero .grOfflineActions{display:grid!important;grid-template-columns:1fr!important;grid-column:auto!important;gap:5px!important;margin:0!important;min-width:0!important}
.v2Home>.guulOfflineBelowHero .grOfflineActions button{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-width:0!important;max-width:none!important;min-height:31px!important;height:auto!important;visibility:visible!important;opacity:1!important;padding:5px 7px!important;border:0!important;border-radius:10px!important;font:900 10px/1.1 GuulHero,system-ui,sans-serif!important;color:#fff!important;background:#079b79!important;box-shadow:0 3px 8px rgba(3,109,80,.15)!important;transform:none!important;animation:none!important;white-space:nowrap!important;pointer-events:auto!important}
.v2Home>.guulOfflineBelowHero .grOfflineActions .grOfflineSave{background:#047e70!important}
.v2Home>.guulOfflineBelowHero .grOfflineInstall img{width:13px!important;height:13px!important}
.v2Home>.guulOfflineBelowHero .guulOfflineLauncher{position:static!important;min-height:31px!important;animation:none!important}
.v2Home>.guulOfflineBelowHero .guulOfflineLauncher::after{display:none!important}
.v2Home>.guulOfflineBelowHero .guulOfflineInstallIcon{width:auto!important;height:auto!important;flex:none!important;color:#fff!important;font-size:14px!important;background:none!important;box-shadow:none!important}
.v2Home>.guulOfflineBelowHero .grOfflineActions button:focus-visible{outline:3px solid #d99823!important;outline-offset:2px!important}
@media(max-width:600px){
 .v2Home>.guulOfflineSlot.guulOfflineBelowHero,.grRefHome>.guulOfflineSlot.guulOfflineBelowHero{grid-template-columns:72px minmax(0,1fr) 96px!important;gap:5px!important;min-height:82px!important;padding:6px!important}
 .v2Home>.guulOfflineBelowHero .grOfflineVisual{width:72px!important;height:68px!important}
 .v2Home>.guulOfflineBelowHero .grOfflineMainArt{width:78px!important;height:73px!important}
 .v2Home>.guulOfflineBelowHero .grOfflineCopy b{font-size:14px!important}
 .v2Home>.guulOfflineBelowHero .grOfflineCopy small{font-size:8px!important}
 .v2Home>.guulOfflineBelowHero .grOfflineCopy p{font-size:8px!important}
 .v2Home>.guulOfflineBelowHero .grOfflineActions button{min-height:29px!important;font-size:8.5px!important;padding:4px 3px!important}
 .v2Home>.guulOfflineBelowHero .grOfflineInstall img{width:10px!important;height:10px!important}
}
@media(max-width:350px){
 .v2Home>.guulOfflineSlot.guulOfflineBelowHero,.grRefHome>.guulOfflineSlot.guulOfflineBelowHero{grid-template-columns:60px minmax(0,1fr) 85px!important}
 .v2Home>.guulOfflineBelowHero .grOfflineVisual{width:60px!important}
 .v2Home>.guulOfflineBelowHero .grOfflineMainArt{width:68px!important}
 .v2Home>.guulOfflineBelowHero .grOfflineCopy b{font-size:12px!important}
 .v2Home>.guulOfflineBelowHero .grOfflineCopy p{display:none!important}
 .v2Home>.guulOfflineBelowHero .grOfflineActions button{font-size:7.5px!important}
}
html[data-guul-comfort-resolved="dark"] .v2Home>.guulOfflineSlot.guulOfflineBelowHero{background:linear-gradient(105deg,#1b332b,#203b31)!important;border-color:#4d765a!important}
html[data-guul-comfort-resolved="dark"] .v2Home>.guulOfflineBelowHero .grOfflineCopy b{color:#f5fff6!important}
html[data-guul-comfort-resolved="dark"] .v2Home>.guulOfflineBelowHero .grOfflineCopy small,html[data-guul-comfort-resolved="dark"] .v2Home>.guulOfflineBelowHero .grOfflineCopy p{color:#c4e4d5!important}
/* Keep this card directly below the hero: older home CSS moved it below services. */
.grRefHome>.guulOfflineSlot.guulOfflineBelowHero{order:0!important}
.v2Home>.guulOfflineBelowHero .grOfflineActions button{white-space:normal!important;min-height:40px!important;line-height:1.15!important;text-align:center!important}
.v2Home>.guulOfflineBelowHero .grOfflineCopy b{font-size:18px!important}
@media(max-width:600px){.v2Home>.guulOfflineBelowHero .grOfflineActions button{min-height:47px!important;font-size:8.5px!important}.v2Home>.guulOfflineBelowHero .grOfflineCopy b{font-size:13px!important}}
.offlineFilters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 18px}
.offlineFilter{display:grid;gap:5px;min-width:0;color:#142b36;font-weight:850;font-size:13px}
.offlineFilter select{width:100%;min-height:43px;border:1px solid #bcded0;border-radius:12px;background:#fff;color:#133f35;font:800 13px GuulHero,system-ui,sans-serif;padding:8px 11px;cursor:pointer}
.offlineFilter select:focus-visible{outline:3px solid #f4c269;outline-offset:2px}
@media(max-width:650px){.offlineFilters{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.offlineFilter{font-size:11px}.offlineFilter select{min-height:40px;font-size:11px;padding:6px}}
.v2Home>.guulOfflineBelowHero .guulOfflineLauncher span:last-child{white-space:normal!important;line-height:1.15!important;overflow-wrap:break-word!important}
.v2Home>.guulOfflineBelowHero .grOfflineActions button{overflow:visible!important}
/* Five-item navigation follows the main site's order and icon language. */
.offlineReferenceOverlay .offlineBottom{gap:3px!important;max-width:100%;padding:8px!important;border-radius:25px!important;background:#fff!important}
.offlineReferenceOverlay .offlineBottom button{width:20%!important;min-width:0!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;border:0!important;border-radius:19px!important;background:transparent!important;color:#7480a2!important;font-weight:850!important;min-height:60px!important;padding:7px 2px!important}
.offlineReferenceOverlay .offlineBottom button.active{background:#e8f8f4!important;color:#008e79!important}
.offlineReferenceOverlay .offlineBottom small{font:850 12px/1.1 GuulHero,system-ui,sans-serif!important;white-space:nowrap!important}
.offlineReferenceOverlay .offlineNavIcon{display:block!important;width:24px!important;height:24px!important;background-color:#4d5356!important;mask-repeat:no-repeat;mask-size:contain;mask-position:center;-webkit-mask-repeat:no-repeat;-webkit-mask-size:contain;-webkit-mask-position:center}
.offlineReferenceOverlay .offlineBottom button.active .offlineNavIcon{background-color:#007e6f!important}
.offlineReferenceOverlay .offlineBottom button:nth-child(1) .offlineNavIcon{mask-image:url('/assets/icons-v1591/home.svg');-webkit-mask-image:url('/assets/icons-v1591/home.svg')}
.offlineReferenceOverlay .offlineBottom button:nth-child(2) .offlineNavIcon{mask-image:url('/assets/icons-v1591/lessons.svg');-webkit-mask-image:url('/assets/icons-v1591/lessons.svg')}
.offlineReferenceOverlay .offlineBottom button:nth-child(3) .offlineNavIcon{mask-image:url('/assets/icons-v1591/chart.svg');-webkit-mask-image:url('/assets/icons-v1591/chart.svg')}
.offlineReferenceOverlay .offlineBottom button:nth-child(4) .offlineNavIcon{mask-image:url('/assets/icons-v1591/message.svg');-webkit-mask-image:url('/assets/icons-v1591/message.svg')}
.offlineReferenceOverlay .offlineBottom button:nth-child(5) .offlineNavIcon{mask-image:url('/assets/icons-v1591/user.svg');-webkit-mask-image:url('/assets/icons-v1591/user.svg')}
@media(max-width:650px){.offlineReferenceOverlay .offlineBottom button{min-height:52px!important}.offlineReferenceOverlay .offlineBottom small{font-size:9px!important}.offlineReferenceOverlay .offlineNavIcon{width:21px!important;height:21px!important}}
/* Step 20: illustrated header and distinct subject/type art. */
.offlineReferenceOverlay .offlineBack{display:grid;place-items:center}
.offlineReferenceOverlay .offlineBack img{width:25px;height:25px}
.offlineReferenceOverlay .offlineCloud{display:inline-grid;place-items:center}
.offlineReferenceOverlay .offlineCloud img{width:37px;height:37px}
.offlineReferenceOverlay .offlineTopArt{position:absolute;top:0;right:8px;width:95px;height:76px;object-fit:contain;filter:drop-shadow(0 7px 9px rgba(27,97,68,.12));pointer-events:none}
.offlineReferenceOverlay .offlineHeroCopy p{clear:both;max-width:415px;font-size:17px;line-height:1.4;color:#59758e;font-weight:750}
.offlineReferenceOverlay .offlineHeroArt{max-height:252px}
.offlineReferenceOverlay .offlineItemIcon{position:relative;overflow:visible}
.offlineReferenceOverlay .offlineItemIcon>.offlineSubjectArt{width:65px;height:65px;max-width:100%;max-height:100%;object-fit:contain;border-radius:10px}
.offlineReferenceOverlay .offlineTypeBadge{position:absolute;right:-6px;bottom:-6px;display:grid;place-items:center;width:25px;height:25px;border-radius:8px;background:#fff;box-shadow:0 3px 9px rgba(21,55,62,.17)}
.offlineReferenceOverlay .offlineTypeBadge img{width:19px;height:19px;object-fit:contain}
.offlineReferenceOverlay .offlineSavedGrid .offlineItemIcon{width:53px;height:53px;flex:0 0 53px;border-radius:13px}
.offlineReferenceOverlay .offlineSavedGrid .offlineItemIcon>.offlineSubjectArt{width:46px;height:46px}
.offlineReferenceOverlay .offlineSavedGrid .offlineTypeBadge{width:19px;height:19px;right:-4px;bottom:-4px;border-radius:6px}
.offlineReferenceOverlay .offlineSavedGrid .offlineTypeBadge img{width:15px;height:15px}
@media(max-width:650px){
 .offlineReferenceOverlay .offlineBack img{width:21px;height:21px}
 .offlineReferenceOverlay .offlineCloud img{width:27px;height:27px}
 .offlineReferenceOverlay .offlineTopArt{top:0;right:4px;width:79px;height:60px}
 .offlineReferenceOverlay .offlineHeroCopy p{font-size:11px;max-width:205px;line-height:1.35}
 .offlineReferenceOverlay .offlineHeroArt{max-height:173px}
 .offlineReferenceOverlay .offlineItemIcon>.offlineSubjectArt{width:42px;height:42px}
 .offlineReferenceOverlay .offlineTypeBadge{width:18px;height:18px;right:-4px;bottom:-4px;border-radius:6px}
 .offlineReferenceOverlay .offlineTypeBadge img{width:14px;height:14px}
 .offlineReferenceOverlay .offlineSavedGrid .offlineItemIcon{width:37px;height:37px;flex-basis:37px}
 .offlineReferenceOverlay .offlineSavedGrid .offlineItemIcon>.offlineSubjectArt{width:32px;height:32px}
}

/* Step 21: app install invitation; the modal and outer breakpoints retain their sizes. */
.offlineReferenceOverlay .offlineInstall{background:linear-gradient(105deg,#ffffff 0%,#f4fff8 100%);box-shadow:0 12px 30px rgba(15,94,72,.05)}
.offlineReferenceOverlay .offlineInstallIcon{background:#e5f9ef}
.offlineReferenceOverlay .offlineInstallIcon img{width:60px;height:60px;object-fit:contain}
.offlineReferenceOverlay .offlineInstall p{max-width:515px;color:#5d7182;line-height:1.45;font-weight:650}
.offlineReferenceOverlay .offlineInstall button{display:flex;align-items:center;justify-content:center;gap:6px;background:#009f82;box-shadow:0 6px 14px rgba(0,159,130,.18)}
.offlineReferenceOverlay .offlineInstall button img{width:20px;height:20px;filter:brightness(0) invert(1)}
.offlineReferenceOverlay .offlineInstall button small{font:inherit;font-size:.8em}
@media(max-width:650px){
 .offlineReferenceOverlay .offlineInstall{display:grid;grid-template-columns:48px minmax(0,1fr);gap:8px 10px}
 .offlineReferenceOverlay .offlineInstallIcon{width:48px;height:48px}
 .offlineReferenceOverlay .offlineInstallIcon img{width:43px;height:43px}
 .offlineReferenceOverlay .offlineInstall p{font-size:10px;line-height:1.4}
 .offlineReferenceOverlay .offlineInstall button{grid-column:1/-1;min-height:40px}
 .offlineReferenceOverlay .offlineInstall button img{width:15px;height:15px}
}

/* Step 22: compact illustrated back control and immediate theme/notification actions. */
.offlineReferenceOverlay .offlineBack{display:grid;place-items:center;background:linear-gradient(145deg,#e4faef,#f7fffa);border:1px solid #d5f2e5;box-shadow:0 7px 16px rgba(11,129,104,.12)}
.offlineReferenceOverlay .offlineBack img{width:34px;height:34px;object-fit:contain}
.offlineReferenceOverlay .offlineBack:hover{background:#d3f5e4;transform:translateY(-1px)}
.offlineReferenceOverlay .offlineTopTools button:focus-visible,.offlineReferenceOverlay .offlineBack:focus-visible{outline:3px solid #008f77;outline-offset:3px}
@media(max-width:650px){.offlineReferenceOverlay .offlineBack img{width:27px;height:27px}}
html[data-guul-comfort-resolved="dark"] .offlineReferenceOverlay .offlineReferenceCard,
html[data-guul-comfort-resolved="dark"] .offlineReferenceOverlay .offlinePage{background:#192720;color:#f4f8ef}
html[data-guul-comfort-resolved="dark"] .offlineReferenceOverlay :is(.offlineBrand b,.offlineHero h1,.offlineAvailable h2,.offlineSaved h2,.offlineInstall h2,.offlineItemText b){color:#f4f8ef}
html[data-guul-comfort-resolved="dark"] .offlineReferenceOverlay :is(.offlineHeroCopy p,.offlineSavedHead p,.offlineInstall p,.offlineItemText small){color:#c3d8cc}
html[data-guul-comfort-resolved="dark"] .offlineReferenceOverlay :is(.offlineItem,.offlineSavedGrid article,.offlineInstall,.offlineTabs button,.offlineTopTools button,.offlineBottom){background:#253a30;border-color:#365747;color:#eef9ef}
html[data-guul-comfort-resolved="dark"] .offlineReferenceOverlay .offlineInstall{background:linear-gradient(105deg,#253a30,#1b342a)}
html[data-guul-comfort-resolved="dark"] .offlineReferenceOverlay .offlineStorage{background:#25483b;color:#f4f8ef;border-color:#3a715b}
html[data-guul-comfort-resolved="dark"] .offlineReferenceOverlay .offlineFilter select{background:#253a30;color:#f4f8ef;border-color:#4b6d5c}
html[data-guul-comfort-resolved="dark"] .offlineReferenceOverlay .offlineBack{background:#284e3e;border-color:#4a886a}
html[data-guul-comfort-resolved="dark"] .offlineReferenceOverlay .offlineTypeBadge{background:#f6fff9}

/* Step 23: saved files remain directly readable from Cache Storage. */
.offlineReferenceOverlay .offlineSavedGrid .offlineSavedOpen{flex:0 0 auto;padding:8px 13px;border-radius:10px;background:#e2f8ee;color:#008b75;font-size:13px;font-weight:900;line-height:1.2}
.offlineReferenceOverlay .offlineSavedGrid .offlineSavedOpen:hover{background:#c9f0dd}
.offlineReferenceOverlay .offlineSavedGrid .offlineSavedRemove{flex:0 0 auto;padding:3px 5px;color:#7582a3}
.offlineReferenceOverlay .offlineSavedGrid article:has(.offlineSavedOpen){gap:6px}
.offlineReferenceOverlay .offlinePdfViewer{position:absolute;inset:0;z-index:9;display:flex;flex-direction:column;background:#edf6f0}
.offlineReferenceOverlay .offlinePdfViewer header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 16px;background:#fff;color:#102e2a}
.offlineReferenceOverlay .offlinePdfViewer strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.offlineReferenceOverlay .offlinePdfViewer button{border:0;border-radius:10px;padding:9px 14px;background:#008f77;color:#fff;font-weight:900;cursor:pointer}
.offlineReferenceOverlay .offlinePdfViewer iframe{width:100%;flex:1;border:0;background:#fff}
@media(max-width:650px){
 .offlineReferenceOverlay .offlineSavedGrid .offlineSavedOpen{padding:6px 8px;font-size:10px}
 .offlineReferenceOverlay .offlineSavedGrid .offlineSavedRemove{font-size:18px;padding:2px}
 .offlineReferenceOverlay .offlineSavedGrid article:has(.offlineSavedOpen){gap:4px}
}
html[data-guul-comfort-resolved="dark"] .offlineReferenceOverlay .offlineSavedGrid .offlineSavedOpen{background:#285c49;color:#eafff0}

/* A light finishing touch inside the existing banner geometry. */
.v2Home>.guulOfflineBelowHero .grOfflineCopy p{color:#276e5c;font-weight:800}
.v2Home>.guulOfflineBelowHero .grOfflineSave{background:linear-gradient(115deg,#008f79,#00a989);box-shadow:0 8px 18px rgba(0,139,112,.2)}
.v2Home>.guulOfflineBelowHero .grOfflineSave:hover{filter:brightness(1.07)}
html[data-guul-comfort-resolved="dark"] .v2Home>.guulOfflineBelowHero .grOfflineCopy p{color:#c5f0d8}

/* Step 24: internal, touch-friendly PDF canvas viewer; no native PDF iframe. */
.offlineReferenceOverlay .offlinePdfViewer{background:#eef6f1}
.offlineReferenceOverlay .offlinePdfViewer header{flex:0 0 auto}
.offlineReferenceOverlay .offlinePdfControls{display:flex;justify-content:center;align-items:center;gap:8px;padding:8px 10px;background:#f9fdf9;border-bottom:1px solid #d8e9df}
.offlineReferenceOverlay .offlinePdfControls button{border:1px solid #c8e6d7;background:#fff;color:#006b5b;border-radius:9px;min-width:39px;min-height:38px;padding:5px 9px;font-weight:850;cursor:pointer}
.offlineReferenceOverlay .offlinePdfControls button:disabled{opacity:.4;cursor:default}
.offlineReferenceOverlay .offlinePdfControls span{font-size:13px;color:#193f36;font-weight:850;white-space:nowrap}
.offlineReferenceOverlay .offlinePdfBody{flex:1;min-height:0;overflow:auto;text-align:center;padding:12px 8px 30px;-webkit-overflow-scrolling:touch}
.offlineReferenceOverlay .offlinePdfBody canvas{display:block;margin:auto;max-width:none;background:#fff;box-shadow:0 8px 24px rgba(22,61,45,.15)}
.offlineReferenceOverlay .offlinePdfBody p{color:#33685b;font-weight:750}
@media(max-width:650px){.offlineReferenceOverlay .offlinePdfViewer header{padding:9px 12px}.offlineReferenceOverlay .offlinePdfViewer strong{font-size:14px}.offlineReferenceOverlay .offlinePdfControls{gap:4px;padding:6px}.offlineReferenceOverlay .offlinePdfControls button{min-width:32px;min-height:34px;font-size:12px;padding:4px 5px}.offlineReferenceOverlay .offlinePdfControls span{font-size:11px}}

