*{box-sizing:border-box}body{margin:0;background:#fff;color:#202329;font-family:Arial,sans-serif}header{height:100px;display:flex;align-items:center;justify-content:center;position:relative;border-bottom:0;background:#fff;padding:0 24px}h1{font-size:26px;font-weight:600;letter-spacing:-.8px;margin:0}#menu-toggle{position:absolute;left:32px;width:42px;height:42px;border:1px solid #dfe2e7;border-radius:50%;background:#fff;color:#373e48;letter-spacing:2px;cursor:pointer}button:hover{background:#f0f2f5!important}a:focus-visible,button:focus-visible{outline:3px solid #869b71;outline-offset:4px}nav{position:absolute;top:80px;left:32px;width:260px;padding:8px;background:white;border:1px solid #e1e3e7;border-radius:12px;box-shadow:0 12px 35px #2023291c;z-index:5}nav a{display:block;text-decoration:none;color:#303740;font-size:14px;padding:14px 12px;border-radius:6px}nav a:hover{background:#f1f3ee}main{width:100%;max-width:1180px;margin:0 auto;padding:48px 32px;min-height:calc(100svh - 100px);display:flex;flex-direction:column;justify-content:center}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.card{color:inherit;text-decoration:none;border:1px solid #e1e3e8;border-radius:8px;overflow:hidden;background:white;transition:transform .18s,box-shadow .18s}.card:hover{transform:translateY(-3px);box-shadow:0 10px 25px #20232914}.preview{aspect-ratio:1.45;background:#e9e5dc;padding:20px;display:flex;justify-content:center;overflow:hidden}.preview img{width:100%;height:100%;object-fit:contain}.card h2{font-size:15px;font-weight:500;padding:18px 20px;margin:0;border-top:1px solid #eceef1}#status{color:#6b7179;font-size:14px}nav p{padding:8px 12px;color:#6b7179;font-size:13px}[hidden]{display:none!important}@media(max-width:600px){header{height:82px}h1{font-size:23px}#menu-toggle{left:20px;width:38px;height:38px}nav{left:20px;top:67px;width:min(260px,calc(100vw - 40px))}main{padding:28px 20px;min-height:calc(100svh - 82px)}.grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.preview{padding:12px;aspect-ratio:1}.card h2{font-size:11px;padding:12px 7px;overflow-wrap:anywhere}.grid{gap:10px}.preview{padding:4px}}@media(prefers-reduced-motion:reduce){.card{transition:none}}


.install-dialog{border:1px solid #e6e7e9;border-radius:24px;padding:36px;max-width:760px;width:calc(100% - 32px);color:#20252b;box-sizing:border-box}.install-dialog::backdrop{background:#17212766;backdrop-filter:blur(5px)}.install-dialog h2{text-align:center;margin:0 0 28px}.close-install{float:right;border:0;background:#f3f3f3;border-radius:50%;font-size:25px;width:36px;height:36px;cursor:pointer}.install-options{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.install-options a{min-height:160px;padding:18px 12px;border:1px solid #e1e4e1;border-radius:16px;text-align:center;display:flex;flex-direction:column;justify-content:center;gap:15px;color:#254d3d;text-decoration:none;background:#f8faf8}.install-options a:hover{background:#eef4ef;border-color:#254d3d}.install-options strong{font-size:27px}.install-options span{font-size:14px;line-height:1.5}.open-web{display:block;text-align:center;margin-top:28px;color:#254d3d}.install-dialog p{text-align:center;color:#68726d;font-size:13px}@media(max-width:520px){.install-dialog{padding:24px 14px}.install-options{gap:7px}.install-options a{padding:12px 5px;min-height:150px}.install-options strong{font-size:21px}.install-options span{font-size:12px}}
/* Version 4: public catalog, logo and plain account name. */
header{height:112px}.store-logo{display:block;width:142px;height:94px;object-fit:contain}header h1{margin:0}#account-name-display{position:absolute;left:86px;top:50%;transform:translateY(-50%);max-width:calc(50% - 170px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:14px Arial,sans-serif;color:#37473e;pointer-events:none}.install-options.two-options{grid-template-columns:repeat(2,minmax(0,1fr))}.install-options.single-option{grid-template-columns:1fr;max-width:280px;margin:auto}.install-options button{min-height:160px;padding:18px 12px;border:1px solid #e1e4e1;border-radius:16px;text-align:center;display:flex;flex-direction:column;justify-content:center;gap:15px;color:#254d3d;background:#f8faf8;cursor:pointer;font:inherit}.install-options strong{font-size:23px}.options-back{border:0;background:none;cursor:pointer;font-size:24px;color:#254d3d;margin:0 0 12px;padding:0 12px}main{min-height:calc(100svh - 112px)}@media(max-width:600px){header{height:100px;justify-content:flex-end;padding-right:16px}.store-logo{width:116px;height:88px}#account-name-display{left:68px;max-width:calc(100vw - 205px);font-size:12px}nav{top:82px}.install-options strong{font-size:19px}main{min-height:calc(100svh - 100px)}}
/* The supplied image is framed around its upper PHE monogram. */
header h1{width:120px;height:90px;overflow:hidden;flex:none}.store-logo{width:450px;height:auto;max-width:none;transform:translate(-167px,-125px)}
@media(max-width:600px){header{justify-content:center;padding:0 16px}header h1{width:90px;height:70px}.store-logo{width:340px;transform:translate(-125px,-95px)}#account-name-display{max-width:calc(50vw - 117px)}}
/* Illustrated bookshelf: positions follow the original 937 x 1678 photograph. */
body.shelf-store{background:#03132c;color:#fff;min-height:100svh}
.shelf-store header{position:absolute;z-index:6;top:0;left:50%;transform:translateX(-50%);width:min(100%,937px);height:88px;background:transparent;padding:0;justify-content:center}
.shelf-store header h1{width:120px;height:90px;transform:scale(.65);overflow:hidden}
.shelf-store .store-logo{width:450px;height:auto;transform:translate(-167px,-125px)}
.shelf-store #menu-toggle{left:24px;background:#071c37cc;border-color:#7ccfff77;color:#fff;box-shadow:0 0 16px #008dff40}
.shelf-store #account-name-display{left:78px;color:#fff;text-shadow:0 2px 5px #000;max-width:calc(50% - 145px)}
.shelf-store nav{top:72px;left:24px;color:#202329}
.shelf-store main{display:block;width:min(100%,937px);max-width:937px;min-height:0;margin:0 auto;padding:0;background:#072851}
.shelf-store #apps{position:relative;display:block;width:100%;aspect-ratio:937/1678;background:url('estanteria.png') center top/100% 100% no-repeat}
.shelf-store .shelf-book{position:absolute;left:var(--book-left);bottom:var(--book-bottom);width:17.5%;height:15%;border:0;border-radius:2px 5px 5px 2px;overflow:visible;background:linear-gradient(90deg,#252d20,#505c3c 9%,#414c32 16%,#485338);box-shadow:4px 1px 0 #dfd6b9,7px 3px 0 #867d65,12px 9px 15px #000b,-4px 2px 7px #00102b;transform:perspective(900px) rotateY(-7deg);transform-origin:bottom center;transition:transform .2s,filter .2s;text-decoration:none;color:#f6e7b5}
.shelf-store .shelf-book::after{content:'';position:absolute;inset:6% 8% 6% 11%;border:1px solid #e9d89860;pointer-events:none}
.shelf-store .shelf-book::before{content:'';position:absolute;left:4%;top:0;bottom:0;width:3%;background:linear-gradient(90deg,#0006,#fff2,#0003);pointer-events:none}
.shelf-store .shelf-book:hover{transform:perspective(900px) rotateY(-3deg) translateY(-4px);filter:brightness(1.1)}
.shelf-store .shelf-book:focus-visible{outline:3px solid #8ae8ff;outline-offset:7px}
.shelf-store .shelf-book .preview{position:absolute;inset:15% 8% 23% 12%;height:auto;aspect-ratio:auto;padding:0;background:transparent;display:flex;align-items:center;justify-content:center}
.shelf-store .shelf-book .preview img{width:100%;height:auto;max-height:100%;object-fit:contain;border-radius:2px}
.shelf-store .shelf-book h2{position:absolute;bottom:9%;left:10%;right:7%;margin:0;padding:0;border:0;text-align:center;font:600 clamp(7px,1.7vw,16px)/1.3 Georgia,serif;letter-spacing:.03em;overflow-wrap:normal}
.shelf-store .shelf-book[data-cover=cocina] .preview{display:none}
.shelf-store .shelf-book[data-cover=cocina] h2{bottom:47%;font-weight:400;white-space:nowrap;font-size:clamp(6px,1.7vw,16px)}
.shelf-store .shelf-book[data-cover=illustrated]{background:linear-gradient(90deg,#947005,#f4c519 11%,#ffdb2e 22%,#edb909);color:#19160b}
.shelf-store .shelf-book[data-cover=illustrated]::after{border-color:#573b0055}
.shelf-store #extra-shelves:empty{display:none}
.shelf-store #extra-shelves{display:grid;grid-template-columns:repeat(3,1fr);gap:0;padding:0 6%;background:repeating-linear-gradient(to bottom,#07316a 0%,#074793 83%,#020e21 84%,#02172f 93%,#28e2ff 95%,#07316a 99%);background-size:100% 330px}
.shelf-store #extra-shelves .extra-book{position:relative;left:auto;bottom:auto;align-self:end;justify-self:center;width:62%;height:250px;margin:20px 0 60px}
.shelf-store #status{margin:0;padding:20px;color:#fff}
@media(max-width:600px){.shelf-store header{height:44px}.shelf-store header h1{transform:scale(.4)}.shelf-store #menu-toggle{left:12px;width:30px;height:30px}.shelf-store #account-name-display{left:51px;font-size:11px;max-width:calc(50vw - 92px)}.shelf-store nav{top:42px;left:12px}.shelf-store .shelf-book{box-shadow:2px 1px 0 #dfd6b9,4px 2px 0 #867d65,6px 4px 8px #000b}.shelf-store #extra-shelves{background-size:100% 170px}.shelf-store #extra-shelves .extra-book{height:125px;margin:15px 0 30px}}
@media(prefers-reduced-motion:reduce){.shelf-store .shelf-book{transition:none;transform:none}}
/* Original supplied book artwork, clipped in CSS to preserve every cover detail. */
.shelf-store .shelf-book.photo-book{width:19%;height:auto;aspect-ratio:.847;background:none;box-shadow:none;border-radius:0;transform:none;filter:drop-shadow(5px 7px 5px #0008)}
.shelf-store .shelf-book.photo-book[data-photo=chef]{aspect-ratio:.774}
.shelf-store .photo-book::before,.shelf-store .photo-book::after,.shelf-store .photo-book h2{display:none}
.shelf-store .shelf-book.photo-book .preview{display:block;position:absolute;inset:0;overflow:visible;padding:0;background:none}
.shelf-store .shelf-book.photo-book .preview img{position:absolute;width:137%;max-width:none;max-height:none;height:117%;left:-18.5%;top:-7%;border-radius:0;object-fit:fill;clip-path:polygon(15% 9%,18% 7%,21% 6%,82% 8.8%,84% 9.5%,85% 12%,86.5% 89%,85.5% 91.5%,82% 92.4%,16% 91.5%,13.5% 90%,13.5% 87%)}
.shelf-store .shelf-book.photo-book[data-photo=chef] .preview img{width:137%;height:141%;left:-19.4%;top:-12%;clip-path:polygon(15.4% 12%,17% 10.8%,80.8% 8.5%,82% 8.6%,82.5% 10%,86.5% 10.5%,87.3% 11.5%,87.4% 77.8%,86.5% 79.2%,17% 79.2%,14.2% 78.2%,14.2% 76%)}
.shelf-store .shelf-book.photo-book:hover{transform:translateY(-4px);filter:drop-shadow(5px 9px 6px #0009) brightness(1.05)}
@media(prefers-reduced-motion:reduce){.shelf-store .shelf-book.photo-book:hover{transform:none}}

.shelf-store .shelf-book.photo-book[data-photo=slovnik]{aspect-ratio:.94}.shelf-store .shelf-book.photo-book[data-photo=slovnik] .preview img{width:190%;height:108%;left:-55%;top:-3%;clip-path:polygon(34% 3%,71% 6%,80.5% 82%,76% 92%,36% 98%,29% 90%,28% 17%,30% 8%)}

.shelf-store .shelf-book.photo-book[data-photo=slovnik]{aspect-ratio:.774;filter:none}.shelf-store .shelf-book.photo-book[data-photo=slovnik] .preview img{width:100%;height:100%;left:0;top:0;object-fit:contain;clip-path:none}.shelf-store .shelf-book.photo-book[data-photo=slovnik]:hover{filter:brightness(1.05)}
