/* The installed app starts at the directory. Course content uses the shared renderer. */
body{padding-bottom:calc(108px + env(safe-area-inset-bottom));background:#f5f4f0}
.store-header{position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:calc(12px + env(safe-area-inset-top)) max(22px,env(safe-area-inset-right)) 12px;background:#fff;border-top:3px solid #ee5f23;border-bottom:1px solid #dce4e7}
.store-brand{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:114px;color:#0b2939;text-decoration:none}
.store-brand-logo{position:relative;transform:translateX(-8px);display:block;flex:0 0 54px;width:54px;height:54px;overflow:hidden;border-radius:12px;background:linear-gradient(145deg,#fff,#f1f5f7 70%,#e8eef2);box-shadow:0 3px 8px #0b29391a,0 1px 2px #0b29390a}.store-brand-logo::after{content:"";position:absolute;inset:0;pointer-events:none;border:1px solid #d2dde3;border-radius:inherit;background:linear-gradient(145deg,#ffffff1a,transparent 52%,#0b293905);box-shadow:inset 0 1px 0 #ffffffcc,inset 0 -1px 2px #0b29390a}.store-brand img{display:block;width:54px;height:54px;object-fit:cover;transform:scale(1.12);transform-origin:center;filter:drop-shadow(0 1px 1px #0b29391a);animation:store-logo-drift 6.5s ease-in-out infinite}
@keyframes store-logo-drift{0%,100%{transform:perspective(240px) rotateX(6deg) rotateY(-16deg) translateY(0) scale(1.12);filter:drop-shadow(1px 2px 1.5px #0b293926)}50%{transform:perspective(240px) rotateX(-6deg) rotateY(16deg) translateY(-1px) scale(1.12);filter:drop-shadow(-1px 2px 2px #0b293926)}}
.store-brand small{font-size:10px;line-height:1.3;letter-spacing:.015em;white-space:nowrap;color:#708793}
.store-header-actions{display:flex;gap:8px;align-items:center;flex-wrap:nowrap}
.store-header button,.store-sync-bar button,.store-course-tools button,.directory-back button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:9px 13px;border:1px solid #dce4e7;border-radius:10px;background:#fff;color:#0b2939;font:inherit;font-size:12px;cursor:pointer}
.store-header [data-catalogue]{width:44px;padding:10px}
.store-sync-bar,.store-layout{width:min(1140px,calc(100% - 64px));margin-inline:auto}
.store-sync-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-block:6px}
.store-main .store-sync-bar{width:100%;margin-inline:0}
.store-sync-bar p{margin:0;font-size:11px;line-height:1.7;color:#617d8b}
.store-sync-bar [data-refresh]{position:relative;flex-shrink:0;gap:0;width:36px;min-width:36px;height:36px;min-height:36px;padding:0;border:0;background:transparent;line-height:1.4;text-align:center}.store-sync-bar [data-refresh]::before{content:"";position:absolute;inset:0;border:1px solid #dce4e7;border-radius:9px;background:#fff;pointer-events:none}
.store-sync-bar [data-refresh] .icon{position:relative;display:block;flex:0 0 19px;width:19px;height:19px;transform:none}
.store-sync-bar [data-refresh]:disabled{opacity:.6}
.store-main{min-width:0}
.store-main h1:focus{outline:none}
.directory-home,.directory-category-view{min-width:0}
.directory-hero{padding:14px 0 16px;border-bottom:1px solid #dce4e7}
.directory-hero>.eyebrow{gap:6px;font-family:"Palatino Linotype","Book Antiqua",Georgia,"Times New Roman",serif;font-style:italic;font-size:14px;font-weight:500;line-height:1.5;color:#ee5f23;text-transform:none;letter-spacing:0}.directory-hero>.eyebrow::before{content:none;display:none}[dir=rtl] .directory-hero>.eyebrow{font-family:inherit;font-style:normal}[dir=ltr] .directory-hero>.eyebrow{font-size:13px}
.directory-hero h1{font-size:34px;line-height:1.5;font-weight:750;letter-spacing:-.025em;color:#0b2939;margin-block:5px 7px}
.store-connection-dot{display:inline-block;flex:0 0 8px;width:8px;height:8px;vertical-align:middle;border-radius:50%;background:#24965f}.store-connection-dot.is-offline{background:#87959d}
.directory-request>.directory-intro{font-size:15px;line-height:1.9;color:#607c8b;max-width:640px}
.directory-totals{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px;margin-top:16px}
.directory-totals>span{display:flex;align-items:center;gap:7px;min-height:34px;padding:5px 11px;border:1px solid #dce4e7;border-radius:7px;background:#fff;color:#607c8b;font-size:12px}
.directory-totals b{font-size:15px;color:#0b2939}
.directory-totals .icon{width:17px;height:17px;flex-basis:17px;color:#c85323}
.directory-search{position:relative;margin-block:20px;min-width:0}
.directory-search>.icon{position:absolute;inset-inline-start:13px;top:12px;color:#758b98;pointer-events:none}
.directory-search input{display:block;width:100%;min-width:0;height:44px;padding:8px 44px;border:1px solid #cdd9de;border-radius:11px;background:#fff;color:#183444;font:inherit;font-size:16px;line-height:1.4;box-shadow:0 3px 12px #0b293904}
.directory-search input::-webkit-search-cancel-button{display:none}
.directory-search button{position:absolute;inset-inline-end:2px;top:2px;display:flex;align-items:center;justify-content:center;width:40px;height:40px;border:0;border-radius:8px;background:transparent;color:#607c8b}
.directory-section-heading{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:5px 12px;margin-block:17px 12px}
.directory-section-heading h2{font-size:18px;line-height:1.6;font-weight:700;color:#0b2939}
.directory-section-heading>span{font-size:11px;color:#708793}
.directory-category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.directory-category-card{display:flex;align-items:center;gap:12px;width:100%;min-width:0;min-height:70px;padding:10px 13px;border:1px solid #dce4e7;border-radius:10px;background:#fff;color:#183444;text-align:start;font:inherit;transition:background .15s,border-color .15s}
.directory-category-card:hover{background:#f7fafb;border-color:#a8bfca}
.directory-category-card:active{background:#edf3f6}
.directory-category-card .category-icon,.directory-category-heading>.category-icon{width:40px;height:40px;flex:0 0 40px;border-radius:6px;background:#f0f4f6;border:1px solid #dfe7ea;border-inline-start:3px solid #ee5f23;color:#0b2939;box-shadow:none}
.directory-category-card .category-icon .icon,.directory-category-heading .category-icon .icon{width:32px;height:32px;flex:0 0 32px}
.directory-category-copy{min-width:0;flex:1}
.directory-category-copy strong{display:block;font-size:14px;font-weight:650;line-height:1.65;overflow-wrap:anywhere}
.directory-category-copy small{display:block;margin-top:2px;font-size:11px;font-weight:400;color:#708793}
.directory-category-copy small b{font-weight:600}
.directory-forward{width:17px;height:17px;flex:0 0 17px;color:#c85323}
[dir=rtl] .directory-forward,[dir=rtl] .directory-course-action>.icon,[dir=ltr] .directory-back>button:first-child>.icon{transform:rotate(180deg)}
.directory-request{margin-block:16px}
.directory-request a{display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:8px 2px;font-size:12px;color:#b24c22;font-weight:600}
.directory-request .icon{width:17px;height:17px;flex-basis:17px}
.directory-back{display:flex;flex-wrap:wrap;gap:8px;margin-block:6px 16px}
.directory-back button{min-height:44px;font-size:12px;padding:9px 12px;color:#526d7c}
.directory-back>button:first-child{color:#b24c22;background:#fff7f0;border-color:#efd7ca}
.directory-category-heading{display:flex;align-items:center;gap:13px;padding-block:8px 13px}
.directory-category-heading>div{min-width:0}
.directory-category-heading .eyebrow{font-size:12px;letter-spacing:0}
.directory-category-heading h1{font-size:27px;line-height:1.6;margin-block:3px 5px;overflow-wrap:anywhere}
.directory-category-heading p{font-size:14px;line-height:1.8;color:#607c8b}
.directory-course-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.directory-course-card{display:flex;flex-direction:column;min-width:0;gap:10px;padding:20px;background:#fff;border:1px solid #dce4e7;border-radius:12px;color:#183444;text-decoration:none}
.directory-course-card:hover{border-color:#acbdc5;background:#fcfdfd}
.directory-course-category{font-size:11px;color:#b24c22;line-height:1.7}
.directory-course-card>strong{font-size:16px;line-height:1.8;font-weight:650;overflow-wrap:anywhere}
.directory-course-card>p{font-size:12px;line-height:1.9;color:#708793;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.directory-course-action{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding-top:10px;border-top:1px solid #edf0f1;font-size:12px;font-weight:650;color:#b24c22}
.directory-course-action>.icon{width:17px;height:17px;flex:0 0 17px}
.directory-empty{padding:28px 20px;background:#fff;border:1px solid #dce4e7;border-radius:12px}
.directory-empty h2{font-size:18px}.directory-empty p{font-size:13px;color:#607c8b;margin-top:8px}
.store-course-tools{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px}
.store-course-tools [aria-pressed=true]{background:#fff0e6;color:#bd4719;border-color:#ee5f23}
.store-main .course-main{width:100%}.store-main .course-photo[hidden]{display:none!important}.store-main .enrollment{top:110px}.store-main [data-register]:disabled{opacity:.5}.store-main .course-hero h1{overflow-wrap:anywhere}
.store-bottom{position:fixed;z-index:40;bottom:max(16px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);display:flex;padding:7px;gap:5px;border:1px solid #e0e6e8;border-radius:19px;background:#ffffffed;box-shadow:0 9px 40px #0b293925;backdrop-filter:blur(10px)}
.store-bottom button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 20px;border:0;border-radius:12px;background:transparent;font:inherit;font-size:12px;color:#607c8b;cursor:pointer}
.store-bottom [aria-current=page]{background:#fff0e6;color:#bd4719}
.store-panel{padding:30px;background:#fff;border:1px solid #dce4e7;border-radius:16px;min-height:330px}
.store-panel h1{font-size:28px}.store-panel h2{font-size:18px;margin-block:26px 12px}.store-panel p{font-size:14px;line-height:2;color:#607c8b}
.saved-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin-top:24px}
.saved-card{padding:20px;border:1px solid #dce4e7;border-radius:13px;display:flex;align-items:center;gap:12px;color:#0b2939;text-decoration:none;min-width:0}
.saved-card strong{flex:1;overflow-wrap:anywhere;font-size:14px}
.store-links{display:grid;gap:10px;margin-top:22px}.store-links a{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:48px;padding:14px;border-radius:10px}
body.store-menu-open{overflow:hidden}
.store-main-menu:not([open]){display:none!important}
.store-main-menu{position:fixed;padding:0;width:min(420px,calc(100% - 28px));max-width:none;max-height:calc(100dvh - 28px - env(safe-area-inset-top) - env(safe-area-inset-bottom));margin:auto;overflow:auto;overscroll-behavior:contain;border:1px solid #dce4e7;border-radius:17px;background:#fff;color:#0b2939;box-shadow:0 15px 65px #0b293930}
.store-main-menu[open]{display:block;visibility:visible;pointer-events:auto}
.store-main-menu::backdrop{background:#0b293960;backdrop-filter:blur(2px)}
.store-menu-heading{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 15px;background:#fff;border-bottom:1px solid #e5eaeb}
.store-menu-heading h2{font-size:19px;line-height:1.6;margin:0}.store-menu-heading h2:focus{outline:none}.store-menu-heading .icon-button{width:44px;height:44px;flex:0 0 44px}
.store-menu-group{padding:0 10px 5px}.store-menu-group h3{font-size:11px;font-weight:650;line-height:1.6;color:#607c8b;background:#f3f6f7;border-radius:4px;margin:7px 0 5px;padding:4px 8px}
.store-menu-group>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;padding:9px 8px;margin-top:5px;border-bottom:1px solid #e5eaeb;color:#183444;font-size:13px;font-weight:650;line-height:1.6;list-style:none;cursor:pointer}.store-menu-group>summary::-webkit-details-marker{display:none}.store-menu-group>summary>.icon{width:16px;height:16px;flex:0 0 16px;color:#b24c22}.store-menu-group[open]>summary>.icon{transform:rotate(180deg)}.store-menu-group[open]>.store-menu-links{padding-top:5px}
.store-menu-links{display:grid;gap:3px}
.store-menu-links>a,.store-menu-links>button{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;padding:8px 10px;border:1px solid #dce4e7;border-radius:7px;background:#f8fafb;color:#183444;text-align:start;text-decoration:none;font:inherit;font-size:13px;line-height:1.6;font-weight:600}
.store-menu-links span{flex:1;min-width:0;overflow-wrap:anywhere}
.store-menu-links>a>.icon:first-child,.store-menu-links>button>.icon:first-child{color:#cd5a2a;flex:0 0 20px}
.store-menu-links>a>.icon:last-child,.store-menu-links>button>.icon:last-child{width:16px;height:16px;flex:0 0 16px;color:#82949d}
.store-links a,.store-menu-links>a{color:#b24c22;background:#fff7f0;border:1px solid #efd7ca;font-weight:650}
.store-links a:hover,.store-menu-links>a:hover{color:#8d3716;background:#ffecde;border-color:#e5a17f}
.store-links a:active,.store-menu-links>a:active{background:#ffe4d0;border-color:#cf6b3b}
.store-menu-links>button:hover{background:#edf3f6;border-color:#a8bfca}.store-menu-links>button:active{background:#e1ebf0}
@media(max-width:900px){
 .store-header{padding:calc(10px + env(safe-area-inset-top)) 12px 10px;gap:8px}
 .store-brand{min-width:100px}.store-brand-logo{flex-basis:48px;width:48px;height:48px}.store-brand img{width:48px;height:48px}.store-brand small{font-size:9px}
 .store-header-actions{gap:4px;justify-content:flex-end}.store-header button{min-width:44px;padding:8px 6px;gap:4px;font-size:11px;white-space:nowrap}
 .store-header [data-language]>.icon{display:none}.store-header [data-main-menu]>.icon{width:18px;height:18px;flex-basis:18px}.store-header [data-catalogue]{width:44px;padding:10px}
 .store-sync-bar,.store-layout{width:calc(100% - 30px)}.store-sync-bar{padding-block:0;gap:8px}.store-sync-bar p{min-width:0;font-size:10px;line-height:1.5}
 .directory-hero{padding-block:12px 0;line-height:1.2}.directory-hero>.eyebrow{display:inline-flex;font-size:14px;line-height:1.5}[dir=ltr] .directory-hero>.eyebrow{font-family:Georgia,"Times New Roman",serif}[dir=rtl] .directory-hero>.eyebrow{font-size:16px;line-height:1.4}.directory-hero h1{font-size:22px;line-height:1.35;margin-block:4px 7px}[dir=rtl] .directory-hero h1{font-size:20px;line-height:1.4}.store-connection-dot{width:7px;height:7px;flex-basis:7px}.directory-request>.directory-intro{font-size:14px;line-height:1.5}
 .directory-totals{gap:14px;margin-top:4px}.directory-totals>span{gap:4px;font-size:11px;line-height:1.5;padding:0;min-height:20px;border:0;background:transparent}.directory-totals b{font-size:13px}.directory-totals .icon{width:14px;height:14px;flex-basis:14px}
 .directory-search{margin-block:12px}.directory-search input{height:40px;padding:6px 40px;font-size:16px}.directory-search>.icon{inset-inline-start:11px;top:10px}.directory-search button{width:36px;height:36px;top:2px;inset-inline-end:2px}.directory-section-heading{margin-block:6px}.directory-section-heading h2{font-size:16px;line-height:1.4}.directory-section-heading>span{font-size:10px}
 .directory-category-grid{grid-template-columns:1fr;gap:7px}.directory-category-card{gap:10px;min-height:64px;padding:9px 10px;border-radius:9px}.directory-category-copy strong{font-size:13px;line-height:1.65}.directory-category-copy small{font-size:10px;margin-top:1px}
 .directory-category-heading{align-items:flex-start;gap:10px}.directory-category-heading>.category-icon{margin-top:8px}.directory-category-heading h1{font-size:23px;line-height:1.7}.directory-category-heading p{font-size:13px}
 .directory-course-grid{grid-template-columns:1fr;gap:10px}.directory-course-card{padding:17px}.directory-course-card>strong{font-size:15px}.directory-back{gap:7px}.directory-back button{font-size:11px;padding-inline:10px}
 .store-main .course-main{display:block}.store-course-tools{gap:8px}.store-course-tools button{font-size:11px}
 .store-bottom{width:calc(100% - 24px);max-width:450px;bottom:calc(12px + env(safe-area-inset-bottom));justify-content:space-between;padding:6px}.store-bottom button{flex:1;flex-direction:column;font-size:10px;line-height:1.2;gap:4px;padding:7px 4px;min-width:0;min-height:52px}.store-bottom button>span{white-space:nowrap;line-height:1.2}.store-bottom .icon{width:20px;height:20px;flex:0 0 20px}
 .store-panel{padding:23px}.store-panel h1{font-size:24px}
}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}.store-brand img{animation:none;transform:scale(1.12)}}
