*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:18px}body{margin:0;color:#292641;background:#fffefa;font:1rem/1.53 "Trebuchet MS",system-ui,sans-serif}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer;color:inherit}button:disabled{opacity:.55;cursor:default}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #166f84;outline-offset:3px}button:disabled:focus{outline:none}.skip{position:absolute;left:8px;top:-150px;background:#fff;padding:1rem;z-index:9}.skip:focus{top:0}.wrap{max-width:1220px;margin:auto;padding-inline:clamp(20px,5vw,70px)}header{background:#fffefa}nav,footer>.wrap,.section-title,.previewbar,.dialogtop,.pager{display:flex;align-items:center}nav{height:80px;gap:40px}.brand{display:inline-flex;align-items:center;gap:7px;letter-spacing:-.07em;font-size:1.55rem;font-weight:900;color:#342550;white-space:nowrap}.brand img{margin-right:3px}.brand i{font-family:Georgia,serif;font-size:.95em}.navlinks{margin-left:auto;display:flex;gap:30px;font-weight:650;font-size:.96rem}.navbtn{border:1.5px solid #49346e;border-radius:30px;padding:8px 19px;font-size:.94rem;font-weight:750}.hero{background:#e8e1fa;overflow:hidden}.hero-in{display:grid;grid-template-columns:45% 55%;align-items:center;min-height:440px;padding-top:21px;padding-bottom:24px}.hero-copy{position:relative;z-index:1}.hero h1{font-size:clamp(3.35rem,5.3vw,5.15rem);font-weight:900;line-height:.98;letter-spacing:-.074em;margin:0;color:#32244e}.hero h1 em{font-family:Georgia,serif;font-weight:650;letter-spacing:-.075em;color:#6b43ad}.hero p{max-width:405px;margin:22px 0 26px;font-size:1.08rem;line-height:1.55;color:#493e5f}.btn{display:inline-flex;justify-content:center;align-items:center;border:0;border-radius:26px;padding:12px 23px;font-weight:750;text-align:center}.mainbtn{color:white;background:#513597}.mainbtn:hover{background:#3c2776}.softlink{text-decoration:underline;text-underline-offset:5px;font-weight:700;color:#493375}.hero-art{margin-right:-4%;margin-left:-5%;display:flex;align-items:center;justify-content:center}.hero-art img{width:100%;height:auto;mix-blend-mode:multiply;mask-image:linear-gradient(to right,transparent,#000 5%,#000 95%,transparent);display:block}.section{padding-block:58px}.section-title{justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:27px}.eyebrow{font-size:.76rem;letter-spacing:.14em;font-weight:850;margin:0 0 7px;color:#625381}.section h2,dialog h2{font-size:clamp(2rem,3.8vw,3rem);line-height:1.08;letter-spacing:-.064em;color:#31274c;margin:0;font-weight:850}.filters{display:flex;gap:6px;border-radius:27px;padding:4px;background:#efedf2}.filters button,.pager button,#zoom,.recover button{border:0;background:transparent}.filters button{padding:7px 16px;border-radius:22px;font-size:.94rem;font-weight:700}.filters button[aria-pressed=true]{background:#4a3568;color:white}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.bookcard{border:1px solid #e1dce4;border-radius:20px;overflow:hidden;background:white;display:flex;flex-direction:column}.shelf{border:0;display:grid;place-items:center;position:relative;isolation:isolate;width:100%;min-height:190px;height:clamp(180px,16vw,216px);overflow:hidden;background:var(--back)}.shelf:before,.shelf:after{content:'';position:absolute;border:1px solid #ffffff85;border-radius:50%;width:215px;height:215px;left:-125px;top:-75px;z-index:-1}.shelf:after{left:auto;top:auto;bottom:-165px;right:-20px;width:255px;height:255px}.miniBook{position:relative;display:block;width:130px;height:163px;border-radius:2px 6px 6px 2px;background:var(--cover);color:var(--cover-ink);box-shadow:3px 4px 0 #f8f2e7,4px 5px 0 #d9cfc5,8px 13px 15px #38304935;transform:rotate(-8deg);text-align:left;padding:10px 11px 5px 15px;border-left:5px solid #0002}.bookcard:nth-child(2) .miniBook{transform:rotate(6deg)}.miniBook>small{font-size:7px;font-weight:800;letter-spacing:.1em;display:block;line-height:1.2}.miniBook>strong{display:block;font:800 17px/1.03 "Trebuchet MS",system-ui,sans-serif;letter-spacing:-.055em;margin:4px 0 0;position:relative;z-index:1}.miniBook img{width:91px;height:91px;object-fit:contain;position:absolute;bottom:4px;right:6px}.cardbody{padding:18px 20px 20px;display:flex;flex-direction:column;flex:1}.meta{color:#665480;font-size:.84rem;font-weight:750}.cardbody h3{margin:5px 0 4px;font-size:1.43rem;line-height:1.15;letter-spacing:-.045em}.cardbody p{margin:0 0 17px;line-height:1.45;color:#594f64}.cardlink{padding:0;width:fit-content;margin-top:auto;border:none;border-bottom:1px solid #a68fc2;color:#593990;background:none;font-weight:750}.companions{background:#eff6f0}.section-desc{margin:9px 0 23px;color:#514e60}.cast{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.cast button{background:#fffefa;border:1px solid #d5e0d7;border-radius:20px;padding:14px 10px 17px;display:flex;align-items:center;flex-direction:column}.cast img{width:100%;max-width:136px;aspect-ratio:1;object-fit:contain}.cast b{font-size:1.3rem}.cast span{font-size:.9rem;color:#615665}footer>.wrap{justify-content:space-between;gap:10px;padding-block:25px}footer span{font-size:.9rem;color:#665c74}dialog{border:0;border-radius:22px;background:#fffefa;color:#292641;max-height:92dvh;width:min(910px,96vw);padding:22px 28px 28px;box-shadow:0 16px 70px #20153545}dialog::backdrop{background:#2517389e}body:has(dialog[open]){overflow:hidden}.dialogtop,.previewbar{justify-content:space-between}.dialogtop{margin-bottom:13px}.close{font:normal 1.65rem/1 system-ui;width:38px;height:38px;border:0;border-radius:50%;background:#efebf5}.studio-layout{display:grid;grid-template-columns:1fr .98fr;gap:29px}dialog h2{font-size:1.95rem;margin-bottom:18px}.setup label,legend{display:block;font-size:.96rem;font-weight:700;margin:14px 0 5px}.setup select,.setup input{height:44px;width:100%;border:1px solid #bcb3c9;border-radius:10px;background:white;padding:8px 11px;color:#2c2340}.setup fieldset{margin:15px 0 0;padding:0;border:0}.pickers{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}.pickers button{min-width:0;padding:6px 1px;border-radius:12px;border:1.5px solid #ddd6e4;background:white;font-size:.86rem;font-weight:bold}.pickers button[aria-pressed=true]{border:2px solid #6840ad;background:#f2ecff}.pickers img{display:block;width:100%;height:48px;object-fit:contain}.studioactions{display:grid;gap:8px;margin-top:18px}.outline{border:1.5px solid #59408b;color:#503775;background:white}.note,#feedback{font-size:.87rem;line-height:1.4;margin:2px 0;color:#61576e}#feedback:not(:empty){margin-top:10px}.preview{background:#efecf4;border-radius:15px;padding:12px 16px;align-self:start}.previewbar{margin-bottom:8px;font-size:.89rem}#zoom,.recover button{text-decoration:underline;color:#523182}#paper,#largepaper{width:100%;margin:auto}#paper{max-width:290px}.paperpage{display:block;box-shadow:0 2px 8px #2c243226;background:white;width:100%;height:auto}.pager{justify-content:center;gap:12px;font-size:.84rem;margin-top:7px}.pager button{font-size:1.5rem;line-height:1.1;border-radius:50%;width:34px;height:34px;background:white}#zoomDialog{width:min(800px,97vw)}#order{max-width:460px}#orderLinks{display:grid;gap:10px}.recover{text-align:center;padding:12px}button[hidden],[hidden]{display:none!important}
@media(max-width:770px){nav{height:67px;gap:14px}.navlinks{display:none}.navbtn{margin-left:auto}.hero-in{min-height:unset;padding-block:25px;grid-template-columns:48% 52%}.hero h1{font-size:clamp(2.8rem,6.6vw,4rem)}.hero p{font-size:1rem;margin:14px 0 18px}.hero-art{margin:0 -8% 0 -7%}.section{padding-block:36px}.cards{gap:12px}.cardbody{padding:14px}.cast{gap:9px}.btn{padding:10px 17px}.brand{font-size:1.35rem}}
@media(max-width:600px){.hero-in{grid-template-columns:1fr;padding-top:33px;padding-bottom:14px}.hero-copy{max-width:440px}.hero h1{font-size:3.3rem}.hero h1 br{display:none}.hero h1 br:after{content:' '}.hero p{max-width:420px}.hero-art{margin:5px 0 0}.hero-art img{max-height:230px;object-fit:contain}.navbtn{font-size:.8rem;padding:7px 11px}.brand{gap:4px}.brand img{width:33px;height:33px}.section-title{align-items:flex-start;flex-direction:column;margin-bottom:15px}.cards{grid-template-columns:1fr}.bookcard{display:grid;grid-template-columns:36% 64%;border-radius:15px}.shelf{min-height:156px;height:100%}.miniBook{width:91px;height:124px;padding:8px}.miniBook>strong{font-size:13px}.miniBook img{width:66px;height:66px}.cardbody h3{font-size:1.25rem}.cardbody p{font-size:.94rem;margin-bottom:10px}.cast{grid-template-columns:repeat(2,1fr)}.cast img{max-width:100px}footer>.wrap{align-items:flex-start;flex-direction:column}.studio-layout{display:flex;flex-direction:column;gap:14px}.preview{width:100%}dialog{padding:14px 16px 20px;max-height:93dvh}.dialogtop{margin-bottom:7px}.setup h2{font-size:1.5rem;margin-bottom:9px}.setup label{margin-top:7px}.studioactions{margin-top:10px}.section-desc{margin-bottom:15px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}.cast button:hover{border-color:#70529e}.cast{grid-template-columns:repeat(3,1fr)}.footlinks{display:flex;flex-wrap:wrap;gap:15px;font-size:.92rem}.footlinks a,.fieldnote a,#purchaseTerms a,.readpage a{text-decoration:underline;text-underline-offset:3px}.fieldnote{padding:5px 0}.pickers{grid-template-columns:repeat(4,minmax(0,1fr))}.pickers .plain-mark{font:italic 600 1.65rem Georgia,serif;height:48px;display:grid;place-items:center}.printtip{font-size:.83rem;color:#554b65;margin:10px 0 0}.consent{display:flex!important;gap:8px;align-items:flex-start;font-weight:400!important}.setup .consent input{width:18px;height:18px;flex-shrink:0;margin-top:3px}#purchaseTerms{font-size:.91rem}#purchaseTerms p{margin:4px 0}.readpage{max-width:790px;margin:0 auto;padding:36px 22px 65px}.readpage h1{font-size:clamp(2rem,4vw,3rem);line-height:1.1;letter-spacing:-.05em}.readpage h2{margin-top:28px;line-height:1.2}.readpage li{margin-block:8px}.readpage fieldset{margin-block:18px;border:1px solid #cec5d7;border-radius:12px}.readpage textarea{width:100%;font:inherit;border:1px solid #aea4bf;border-radius:8px;padding:8px}.readpage fieldset label{display:block;margin:7px}.readpage .report{margin-block:17px;background:#efebf5;padding:14px;border-radius:10px;white-space:pre-line}.readpage summary{cursor:pointer;font-weight:700}.readpage details{padding:10px 0}.filters{flex-wrap:wrap}.readpage button{margin:6px 6px 6px 0}.stage-note{margin-top:5px}.recover a{text-decoration:underline}@media(max-width:600px){.cast{grid-template-columns:repeat(2,minmax(0,1fr))}.filters button{padding:7px 10px}.footlinks{gap:10px}.setup label.fieldnote{font-weight:400}}
.cardprice{font-size:.87rem;font-weight:bold;color:#504465;margin:auto 0 8px}.cardlink{margin:0}.previewbar button{font-size:.84rem;background:transparent;border:0;text-decoration:underline;color:#523182}.previewbar>div{display:flex;gap:3px;flex-wrap:wrap;justify-content:flex-end}#singleSheet{display:none}@page{size:A4 portrait;margin:0}@media print{body.printing-sheet{background:white;overflow:visible!important;margin:0;padding:0}body.printing-sheet>*:not(#singleSheet),body.printing-sheet dialog[open],body.printing-sheet dialog::backdrop{display:none!important}body.printing-sheet #singleSheet{display:block;width:210mm;margin:0 auto}#singleSheet .paperpage{width:210mm;height:296.9mm;box-shadow:none}}
/* Warm paper, red accents and an actual workbook beside its exercise. */
:root{--ink:#21213c;--paper:#fffbed;--red:#b83043;--yellow:#f6d85b;--aqua:#c8efeb}
body,header{background:var(--paper);color:var(--ink)}.brand,.section h2,dialog h2{color:var(--ink)}.navbtn{background:var(--ink);border-color:var(--ink);color:white}.hero{background:var(--paper);border-block:1px solid #e6decb}.hero-in{padding-block:52px;grid-template-columns:42% 58%;gap:0;min-height:440px}.hero h1{font-size:clamp(3.2rem,4.8vw,4.6rem);color:var(--ink);letter-spacing:-.07em}.hero h1 em{font:inherit;color:var(--red)}.hero p{color:#494859}.hero-copy>p{max-width:370px}.mainbtn{background:var(--red);box-shadow:3px 4px 0 var(--ink);border:1px solid var(--ink);color:#fff}.mainbtn:hover{background:#a5263b}.softlink,.cardlink{color:var(--ink)}.desk{margin-left:18px;border-radius:20px;background-color:#f6db70;background-image:radial-gradient(#9a783955 1px,transparent 1px);background-size:12px 12px;padding:27px 22px}.desk-inner{display:grid;grid-template-columns:43% 57%;align-items:center;min-height:292px}.hero-book{position:relative;display:block;padding:0;width:102%;background:white;transform:rotate(-5deg);border:2px solid var(--ink);border-left:6px solid var(--ink);border-radius:3px 6px 6px 3px;box-shadow:3px 4px 0 white,5px 6px 0 var(--ink),7px 10px 0 #59482d20}.hero-book img{width:100%;height:auto;display:block;border-radius:0 4px 4px 0}.book-tab{position:absolute;z-index:1;left:8%;top:-13px;background:var(--aqua);padding:3px 10px;border:1px solid var(--ink);white-space:nowrap;line-height:1.35;font-weight:800;font-size:.81rem;transform:rotate(3deg)}.worksheet{position:relative;z-index:1;text-align:left;background:#fffef9;border:1.5px solid var(--ink);border-radius:3px 12px 12px 3px;box-shadow:4px 5px 0 var(--ink);padding:clamp(12px,1.7vw,22px);margin:12px 0 0 -3px}.sheet-tab{font-size:.84rem;font-weight:750;color:#634a22}.worksheet h2{font-weight:850;font-size:clamp(1.25rem,2.1vw,1.9rem);line-height:1.05;letter-spacing:-.055em;color:var(--ink);margin:7px 0}.worksheet p{font-size:.93rem;line-height:1.38;color:#484556;margin:7px 0}.exercise{border-top:1px dashed #b6a98a;margin-top:12px;padding-top:10px}.exercise b{font-size:.92rem}.worksheet summary,.sheet-link{font:700 .88rem/1.3 inherit;color:var(--red);font-family:inherit;font-weight:750;font-size:.88rem;cursor:pointer}.worksheet summary{padding:7px 0}.sheet-link{border:0;background:transparent;text-decoration:underline;text-underline-offset:3px;color:var(--ink);padding:7px 0}.companions{background:var(--aqua)}.filters button[aria-pressed=true]{background:var(--ink)}.bookcard,.cast button{border-color:#35344b}.cardbody h3,.cast b{color:var(--ink)}.eyebrow,.meta,.cardprice{color:#544956}
@media(min-width:601px) and (max-width:920px){.hero-in{grid-template-columns:41% 59%;padding-inline:22px}.desk{margin-left:14px;padding:18px 12px}.hero h1{font-size:clamp(2.7rem,5vw,4rem)}.worksheet p{font-size:.89rem}.book-tab{font-size:.73rem}}
@media(max-width:600px){.hero-in{grid-template-columns:1fr;padding-block:29px 24px;gap:22px}.hero h1{font-size:clamp(2.7rem,11.8vw,3.8rem)}.hero h1 br{display:initial}.hero-copy>p{margin:12px 0 16px}.desk{margin:0;padding:17px 12px}.desk-inner{grid-template-columns:39% 61%;min-height:0}.worksheet{padding:12px;margin:0 0 0 1px}.worksheet p,.worksheet summary,.sheet-link,.exercise b{font-size:.86rem}.worksheet h2{font-size:1.25rem}.book-tab{font-size:.68rem;left:1%;padding:3px 5px;top:-11px}.sheet-tab{font-size:.75rem}.exercise{margin-top:7px;padding-top:7px}.hero-copy .btn{min-height:44px}.desk:has(details[open]) .desk-inner{align-items:center}}

#seePreview{display:none}
@media(max-width:600px){#seePreview{display:inline-block;margin:12px 0 2px;padding:8px 0;background:none;border:0;text-decoration:underline;color:var(--ink)}.hero h1{font-size:clamp(2.45rem,9.5vw,3.55rem)}}
/* Identidad editorial de Pez de Tiza */
:root{
 --ink:#123d67;--chalk:#155b97;--sky:#74aad5;--pale:#dcecf8;--mist:#eaf3fa;
 --paper:#fffdf6;--body-blue:#344f65;--edge:#517797;
 --red:var(--chalk);--yellow:var(--sky);--aqua:var(--pale)
}
.hero h1 em{color:var(--chalk)}.hero{background:var(--pale);border-color:#b7d0e4}
.mainbtn:hover{background:var(--ink)}.outline{border-color:var(--ink);color:var(--ink)}
.desk{background-color:var(--sky);background-image:radial-gradient(#155b9750 1px,transparent 1px)}
.book-tab{background:var(--ink);color:var(--paper)}.hero-preview{display:block;aspect-ratio:595/842}
.hero-preview svg{width:100%;height:100%;border-radius:0 4px 4px 0}
.cover-fallback{height:100%;padding:12% 9% 7%;display:flex;flex-direction:column;align-items:flex-start;color:var(--ink);text-align:left}
.cover-fallback small{font-weight:bold;font-size:clamp(.45rem,.7vw,.7rem);letter-spacing:.07em}
.cover-fallback strong{font-size:clamp(.8rem,2vw,1.6rem);line-height:1.04;margin:6% 0}
.cover-fallback span,.cover-fallback b{font-size:clamp(.55rem,1vw,.88rem)}
.cover-fallback img{min-height:0;object-fit:contain;flex:1}.companions{background:var(--pale)}
.brand i{font-weight:550}.cardlink,#zoom,.recover button,.previewbar button{color:#155a69}.eyebrow,.meta,.cardprice{color:#275365}
.cast button:hover{border-color:#128078}.pickers button[aria-pressed=true]{border-color:#18566c;background:#e6f4f3}
.collection-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.collection-option{display:grid;align-content:center;gap:4px;text-align:left;border:1px solid #76959a;border-radius:13px;background:var(--tint);padding:17px 18px;position:relative;color:var(--ink)}
.collection-option.charcos{--tint:var(--mist)}.collection-option.rios{--tint:var(--pale)}.collection-option.mar{--tint:#c0dcf0}
.collection-option span{font-size:1.09rem;line-height:1.24;font-weight:800}.collection-option small{font-size:.875rem;line-height:1.35}
.collection-option[aria-pressed=true]{outline:2px solid var(--ink);outline-offset:-2px}
.catalog-status{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin:17px 0}
.catalog-status:has(#catalogStatus:empty):has(.all-collections[hidden]){margin:0}.catalog-status p:empty{display:none}.catalog-status p{margin:0;font-weight:650;color:#35586a}.all-collections{border:0;background:transparent;text-decoration:underline;text-underline-offset:3px;color:var(--ink)}
@media(max-width:700px){.collection-filters{gap:7px}.collection-option{padding:10px}.collection-option span{font-size:.94rem}.collection-option small{font-size:.8rem}}
@media(max-width:500px){.collection-filters{grid-template-columns:1fr}.collection-option{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:48px}.collection-option small{max-width:49%;text-align:right}.catalog-status{font-size:.92rem}}
.design-note{margin:0 0 9px}.shelf:disabled{opacity:1;cursor:default}
.bookcard[data-book="lengua"] .miniBook{border-left-color:var(--sky)}
.bookcard[data-book="mates"] .miniBook{border-left-color:var(--ink)}
.bookcard[data-book="ingles"] .miniBook{border-left-color:var(--chalk)}

.actual-cover{display:block;width:clamp(107px,10.4vw,132px);aspect-ratio:595/842;transform:rotate(-5deg);background:white;box-shadow:2px 3px 0 #f4eddd,3px 4px 0 #a39d8d,6px 9px 13px #24314339}
.bookcard:nth-child(2) .actual-cover{transform:rotate(4deg)}
.actual-cover .paperpage{box-shadow:none;width:100%;height:auto}
.audio-link{color:#155a69;font-weight:700;text-decoration:underline;text-underline-offset:3px;padding-block:4px}
@media(max-width:600px){.actual-cover{width:min(83%,110px)}.cardbody h3{color:var(--ink);overflow-wrap:break-word}}

/* Controles de lectura y navegación por teclado */
:where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{
 outline:3px solid #082f48;outline-offset:3px;box-shadow:0 0 0 6px #fff;
}
.bookcard:focus-within{outline:2px solid #163f56;outline-offset:2px}
.shelf:focus-visible{outline-offset:-5px}
.setup input,.setup select,.readpage select,.readpage textarea,.pickers button{border-color:#657783}
.pickers button[aria-pressed=true]{border:3px double #123b55;text-decoration:underline;text-underline-offset:3px}
.reading{margin-block:12px;padding:0 12px;border:1px solid #667d86;border-radius:8px;background:#fff;color:#143c55}
.reading summary{padding:10px 0;font-weight:700;cursor:pointer}
.reading p{margin-block:.65em;line-height:1.55}.reading h3{margin-block:1em .3em}
.field-error{font-weight:bold;color:#8b2530}.setup [aria-invalid=true]{border:2px solid #932b39}
.studio-layout>*{min-width:0}.setup select,.readpage select{max-width:100%}
.previewbar,.pager,.dialogtop{flex-wrap:wrap;gap:6px}.previewbar>div{display:flex;flex-wrap:wrap;gap:4px}
.previewbar button,.pager button,.close,.cardlink{min-height:44px}
.pager button,.close{min-width:44px}.pager button{height:auto}
.readpage a:not(.brand):not(.btn),.fieldnote a,#purchaseTerms a{text-decoration:underline;text-underline-offset:3px}
.readpage,.reading,.cardbody,.setup,.preview{overflow-wrap:anywhere}
@media(max-width:450px){.desk-inner{grid-template-columns:1fr}.hero-book{width:min(70%,160px);margin:10px auto 18px}.worksheet{margin:0}.preview{padding:12px}.pickers{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::after,*::before{animation:none!important;transition:none!important}}
@media(forced-colors:active){:focus-visible{outline:3px solid Highlight!important}.pickers button[aria-pressed=true],.collection-option[aria-pressed=true]{outline:3px double Highlight}}
@media(max-width:600px){
 nav{height:auto;min-height:64px;flex-wrap:wrap;padding-block:10px;gap:6px 12px}
 .brand{white-space:normal;flex-wrap:wrap}
 .hero-in,.desk-inner,.collection-filters{grid-template-columns:minmax(0,1fr)}
 .hero-copy,.desk,.worksheet,.section-title>*{min-width:0}
 .hero h1,.section h2,.btn,.worksheet,.collection-option,.cast button{overflow-wrap:anywhere}.book-tab{white-space:normal}
 .collection-option{min-width:0}.collection-option>*{min-width:0}
}
.download-help{margin:8px 0 0;font-size:.88rem}.download-help a,.readpage .help-links a{text-decoration:underline;text-underline-offset:3px;color:#155a69}
.readpage .help-links{display:flex;height:auto;align-items:flex-start;flex-wrap:wrap;gap:12px 20px;padding:12px 0}
summary:focus-visible,textarea:focus-visible{outline:3px solid #166f84;outline-offset:3px}


.hero-book .cover-fallback small, .miniBook .mini-imprint{display:flex;align-items:center;gap:4px;line-height:1.15}
.hero-book .cover-fallback .fallback-mark,.miniBook .mini-imprint img{position:static;width:21px;height:18px;flex:none;object-fit:contain}
@media(max-width:600px){
 header .brand img,.readpage .brand img{width:48px;height:auto;flex:none}
 header .brand{gap:4px}header .navbtn{white-space:nowrap}
 .miniBook .mini-imprint img{width:14px;height:12px}
}
@media(max-width:350px){header nav{gap:8px}header .brand{font-size:1.15rem}header .brand img{width:42px}header .navbtn{padding-inline:7px}}


/* Tinta y tiza en la interfaz. Las hojas conservan los colores de su edición impresa. */
header{background:var(--paper);color:var(--ink);border-bottom:1px solid var(--sky)}
header .brand,header .navlinks a{color:var(--ink)}
header .navbtn{background:var(--chalk);color:white;border-color:var(--chalk)}
header .navbtn:hover{background:var(--ink)}
footer{background:var(--mist);color:var(--ink)}
footer .brand,footer a,footer span{color:var(--ink)}
.hero p,.worksheet p,.section-desc,.cardbody p,.cast span,
.note,#feedback,.printtip,.catalog-status p{color:var(--body-blue)}
.worksheet,.bookcard,.cast button,dialog,.cover-fallback{background:var(--paper)}
.worksheet,.bookcard,.cast button,.hero-book{border-color:var(--ink)}
.worksheet .exercise{border-top-color:var(--edge)}
.sheet-tab,.sheet-link,.worksheet summary,.cardlink,.softlink,.meta,.cardprice,.eyebrow,
#zoom,.previewbar button,.recover button,.audio-link,.download-help a,.readpage .help-links a{color:var(--chalk)}
.hero .mainbtn,.mainbtn{background:var(--chalk);color:white;border-color:var(--ink)}
.mainbtn:hover,.hero .mainbtn:hover{background:var(--ink)}
.outline{color:var(--ink);border-color:var(--chalk);background:var(--paper)}
.outline:hover,.cast button:hover{background:var(--mist);border-color:var(--chalk)}
.collection-option{border-color:var(--edge)}.collection-option:hover{border-color:var(--chalk)}
.collection-option[aria-pressed=true]{color:white;background:var(--chalk);border-color:var(--ink);outline-color:var(--ink)}
.actual-cover{box-shadow:2px 3px 0 #f6f7f5,3px 4px 0 #a6bdd0,6px 9px 13px #123d6733}
dialog{color:var(--ink)}dialog::backdrop{background:#102e4caa}
.close,.pager button,.readpage .report{color:var(--ink);background:var(--pale)}
.preview{background:var(--mist)}.paperpage{background:#fff;box-shadow:0 2px 8px #123d6726}
.pickers button,.setup select,.setup input,.readpage fieldset,.readpage select,.readpage textarea{color:var(--ink);border-color:var(--edge)}
.pickers button{background:var(--paper)}.pickers button[aria-pressed=true]{background:var(--pale);border-color:var(--ink)}
.reading{border-color:var(--edge);color:var(--ink)}.readpage h1,.readpage h2{color:var(--ink)}
.bookcard:focus-within{outline-color:var(--chalk)}
@media screen and (forced-colors:none){
 :is(a,button,input,select,textarea,summary,[tabindex]):focus-visible{
  outline-color:#102e4c;box-shadow:0 0 0 6px #fff
 }
 .collection-option[aria-pressed=true]:focus-visible{outline-offset:3px}
}

/* Papel y tintas del club de detectives. */
.hero{background:#fffaf0;border-block:0;border-bottom:1px solid #e8dfcb}
.hero-in{grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:clamp(20px,4vw,70px);min-height:450px;padding-block:42px}
.hero h1{max-width:12ch;font-size:clamp(3.1rem,5.1vw,4.85rem);line-height:1.04}
.hero h1 em{display:inline-block;background:linear-gradient(177deg,transparent 71%,#f4cd70 72% 88%,transparent 89%);padding-bottom:.04em}
.hero-copy>p{max-width:42ch}
.club-scene{position:relative;isolation:isolate;margin:0;align-self:center;line-height:0}
.club-scene::before{content:"";position:absolute;z-index:-1;inset:7% 3% 3%;background:#f9df97;border-radius:52% 46% 41% 38% / 63% 62% 34% 35%;transform:rotate(-3deg)}
.club-scene img{display:block;width:100%;height:auto}
.collection-option.charcos{--tint:#fff0c7}.collection-option.rios{--tint:#f8e0d9}.collection-option.mar{--tint:#deeced}
.shelf{background:var(--back)}
.bookcard{border-color:#b9c9c8}
.case-sample{background:#f1f5ee;border-block:1px solid #d5e0d7}
.case-layout{display:grid;grid-template-columns:minmax(0,.68fr) minmax(0,1.32fr);align-items:center;gap:clamp(24px,6vw,80px);padding-block:40px}
.case-layout h2{color:var(--ink);font-size:clamp(1.9rem,3vw,2.7rem);line-height:1.08;letter-spacing:-.04em;margin:0 0 .45em}
.case-layout p{color:var(--body-blue)}
.case-layout .desk{margin:0;background:#dae8da;border-radius:18px}
.case-layout .worksheet{background:#fffdf6}.companions{background:#f8eee5}
footer{background:#edf4f5}
.footlinks .contact-email{font-weight:bold;text-decoration:underline;text-underline-offset:3px}
@media(min-width:1000px){.cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}}
@media(max-width:720px){.hero-in{grid-template-columns:1fr;gap:20px;min-height:0;padding-block:26px 18px}.hero h1{font-size:clamp(2.7rem,9vw,4rem)}.club-scene{width:min(100%,490px);justify-self:center}.case-layout{grid-template-columns:minmax(0,1fr);gap:17px;padding-block:28px}}
@media(max-width:450px){.club-scene{width:93%}.case-layout .desk-inner{grid-template-columns:minmax(0,.7fr) minmax(0,1fr)}.case-layout .hero-book{width:92%;margin:0 auto}.case-layout .worksheet{padding:10px}.case-layout .book-tab{position:static;white-space:normal}}

.hero-collections{grid-template-columns:1fr;margin-top:1.25rem;max-width:27rem}
.hero-collections .collection-option{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-content:center;align-items:center;text-align:left;gap:4px 12px;padding:8px 14px;min-height:44px}
.hero-collections .collection-option small{max-width:none;text-align:right}
.bookcard{position:relative}.bookcard .cardlink::after{content:"";position:absolute;inset:0;cursor:pointer}
.bookcard .cardlink:disabled::after{cursor:default}
.bookcard .cardbody p.cardformat{margin-top:auto;margin-bottom:.3rem;font-size:.94rem;font-weight:650;color:var(--ink)}
.fileSummary{font-size:.92rem;margin:0;color:var(--ink)}
#orderRecovery{margin-block:1rem}#orderRecovery label{display:block;font-weight:650}
#privateOrderLink{font:inherit;width:100%;margin:5px 0 8px;padding:8px;border:1px solid var(--edge);border-radius:8px;color:var(--ink)}
#copyOrderStatus{min-height:1.35em;font-size:.92rem;margin:4px 0}
#pageLabel{min-width:0;text-align:center;flex:1}
.readpage fieldset,.readpage form{min-width:0}.readpage input[type=radio]{flex-shrink:0}
.readpage form fieldset label{display:flex;align-items:center;gap:8px;min-height:36px;margin-block:0}
@media(max-width:600px){
 .hero-collections{width:100%;max-width:none}
 .bookcard .cardbody{min-width:0}
 .setup select,.setup input,.readpage select,.readpage textarea{font-size:max(1rem,16px)}
 #orderLinks .btn,#copyOrderLink{min-height:44px;white-space:normal}
 .previewbar button,#seePreview{min-height:44px}
}

.sampleScope{font-weight:650;margin:.8rem 0 .4rem;color:#20465b}#order>section{margin:1.6rem 0}#order h3{margin:.45rem 0}#audioPlayer,#solutionPage{width:100%;max-width:100%}#solutionPage{min-height:44px;font:inherit}#solutionBooks{display:flex;flex-wrap:wrap;gap:.5rem}#solutionBody{line-height:1.55;overflow-wrap:anywhere}#solutionBody p{margin-block:.5em}
.shopnav{display:flex;align-items:center;margin-left:auto;gap:clamp(.65rem,2.2vw,2rem);font-weight:bold}.shopnav a{display:inline-flex;align-items:center;min-height:44px}.shopnav .accountlink{border:2px solid #185688;border-radius:22px;padding:0 .9rem;color:#164e78}.family-invite{background:#e8f4ef;padding:2.4rem 0}.family-invite .wrap{display:flex;align-items:center;gap:2rem;justify-content:space-between}.family-invite p{max-width:62ch}.family-invite a{flex-shrink:0}.coupon-note{color:#174c3e;background:#edf7ef;padding:.7rem;border-radius:.5rem}.family-box{padding:1.2rem;margin:1.2rem 0;background:#f4f4e9;border-radius:14px}.family-benefits li{margin:.65rem 0}.account-area .btn{width:auto;min-height:44px}.account-area select,.account-area button{max-width:100%}.account-area li a{display:inline-block;padding:.35rem 0}.shopnav a:hover,.shopnav a:focus-visible{text-decoration:underline}.account-area [hidden]{display:none}
@media(max-width:680px){header nav.wrap{height:auto;min-height:68px;flex-wrap:wrap;gap:0 12px;padding-block:.3rem}.shopnav{gap:.65rem;flex-wrap:wrap}.shopnav a{font-size:.92rem}.family-invite .wrap{display:block}.family-invite .btn{margin-top:.5rem}.hero-copy h1{max-width:16ch}}
@media(max-width:450px){header nav.wrap{display:grid;grid-template-columns:1fr}.shopnav{width:100%;margin:0;justify-content:space-between}.shopnav .accountlink{border:0;padding:0;text-decoration:underline}.shopnav a{min-height:44px}.brand{min-height:44px}}
.family-form:not([hidden]){display:grid;gap:.8rem;max-width:32rem;margin:1.2rem 0 2rem}
.family-form label{display:grid;gap:.25rem;font-weight:650}
.family-form input:not([type=checkbox]){width:100%;font:inherit;padding:.65rem .8rem;border:1px solid #53697c;border-radius:.5rem;background:white;color:#163651}
.family-form input[readonly]{background:#edf3f7}
.family-form small{font-size:.875rem;line-height:1.45}
.family-form .check-adult{display:flex;align-items:flex-start;gap:.55rem;font-weight:400}
.family-form button{justify-self:start}
#recoveryCode{overflow-wrap:anywhere;letter-spacing:.06em}
.library-track{display:grid;gap:.45rem;margin:1rem 0}.library-track p{margin:0;font-weight:650}.library-track audio{width:min(100%,26rem)}
.listen-link{display:block;color:#154e7e;text-decoration:underline;margin-top:.7rem;font-weight:650}

.library-index{display:flex;flex-wrap:wrap;gap:.45rem 1.4rem;margin:1.2rem 0;font-weight:650}
.library-index a,.order-audio-link{display:inline-block;padding-block:.5rem}
.order-audio-link{display:block}
#audios{margin-block:2rem;scroll-margin-top:1.2rem}
#audios .library-track{padding:.75rem 0;border-top:1px solid #ccdbe2}
.library-track h3{margin:0;font-size:1.1rem}
.hero-copy>p{max-width:54ch}

dialog .dialogtop{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center;gap:1rem;margin-block:0 1rem}
dialog .dialogtop .close{display:grid;place-items:center;width:44px;height:44px;margin:0;padding:0}
#editionDetail{padding:.75rem 1rem;border-inline-start:3px solid #2877a5;background:#edf5f8;color:#163851;line-height:1.55}
#purchaseTerms{margin-top:1.25rem;padding-top:1rem;border-top:1px solid #9db1c1}
#purchaseTerms h3{margin:0 0 .4rem}
#solutionBooks:not([hidden]){display:grid;gap:.35rem}
#solutionBook,#solutionPage{width:100%;min-width:0;min-height:44px;font:inherit}
@media(max-width:600px){dialog[open]{box-sizing:border-box;max-width:calc(100vw - 1rem);max-height:calc(100dvh - 1.5rem - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));overflow:auto}dialog .dialogtop .eyebrow{white-space:normal}}


.mar-courses{margin:1rem 0}.mar-courses p{font-size:1.1rem;font-weight:700;margin:0 0 .65rem}
.grade-options{display:flex;flex-wrap:wrap;gap:.55rem}
.grade-options button{min-height:44px;padding:.55rem 1rem;border:1px solid #285573;border-radius:1.5rem;background:#fff;color:#194666;font:inherit;font-weight:700;cursor:pointer}
.grade-options button[aria-pressed=true]{background:#194666;color:#fff;box-shadow:inset 0 0 0 2px #194666}
.grade-options button:focus-visible{outline:3px solid #b04d25;outline-offset:3px}

#orderSolutions select{display:block;width:100%;max-width:100%;min-height:44px;font:inherit;font-size:max(1rem,16px)}

#coursePicker{display:block;width:min(100%,22rem);margin:.4rem 0 1rem}
label[for="coursePicker"]{font-weight:bold}
.bookcard .cardprice{font-size:1rem;margin:.25rem 0 .45rem}
#activity{width:min(94vw,42rem)}
#activity h2{margin:.5rem 0 1rem}
#activity .reading{margin:1rem 0}
#activityPaper svg{display:block;width:100%;height:auto}

.prices-section p{max-width:70ch}
.price-table{width:100%;max-width:42rem;border-collapse:collapse;font-variant-numeric:tabular-nums;color:var(--ink)}
.price-table caption{text-align:left;font-weight:bold;margin:.5rem 0}
.price-table th,.price-table td{text-align:left;padding:.6rem clamp(.25rem,2vw,1rem);border-bottom:1px solid #aac2c7;vertical-align:top}
.price-table thead th{background:#e5f1ef}
.price-table small{display:block;font-size:.875rem}
main>[data-view][hidden]{display:none}
header{position:relative;z-index:5}
.primary-links,.course-links{display:flex;align-items:center;gap:1.2rem}
.courses-nav{position:relative}
.shopnav button{color:var(--ink);font:inherit;font-weight:bold;background:transparent;border:0;padding:0;min-height:44px}
.menu-trigger,.nav-courses{display:none}
#coursesMenu[aria-expanded=true]+.nav-courses{display:grid}
.nav-courses,.guide-view details{background:var(--paper);border:1px solid #b5cbd1;border-radius:12px}
.nav-courses{position:absolute;top:100%;left:0;z-index:3;min-width:16rem;padding:.7rem 1rem;gap:.45rem;box-shadow:0 10px 24px #123d671a}
.nav-courses strong{display:block;color:#365568;font-size:.95rem}
.course-links{gap:.4rem}.course-links a{min-width:44px;justify-content:center;text-decoration:underline;text-underline-offset:.18em}
.guide-view{max-width:54rem}.guide-view details{padding:.3rem 1rem;margin:.75rem 0}.guide-view summary{cursor:pointer;padding:.7rem 0;font-weight:bold}.guide-view details p,.guide-view>p{max-width:69ch}.guide-view #origen{margin-top:2rem}
@media(max-width:960px){
 header nav.wrap{display:flex;flex-flow:row nowrap;justify-content:space-between;align-items:center;gap:.4rem;min-height:66px}
 header .brand{font-size:clamp(1rem,4.6vw,1.5rem);white-space:nowrap}header .brand img{width:32px;height:32px}
 header .shopnav{width:auto;margin-left:auto;justify-content:flex-end;flex-wrap:nowrap;gap:.8rem}
 .menu-trigger{display:block}.shopnav button,.shopnav .accountlink{font-size:.95rem}
 .primary-links{display:none;position:absolute;z-index:2;inset:100% 0 auto;background:var(--paper);padding:.5rem 1.25rem 1rem;border-bottom:1px solid #aac2c7;max-height:70vh;overflow-y:auto;box-shadow:0 10px 24px #123d671a}
 #mobileMenu[aria-expanded=true]+.primary-links{display:grid;gap:.1rem}
 #coursesMenu{display:none}.nav-courses{display:grid;position:static;min-width:0;padding:.3rem 0;border:0;border-radius:0;box-shadow:none}
 .nav-courses>div{display:flex;align-items:center;justify-content:space-between;gap:.45rem;flex-wrap:wrap}
}

.hero-copy>a.btn{display:inline-flex;align-items:center;min-height:44px}
.sample-cases{margin:2rem 0}
.sample-cases h3{margin:0 0 .75rem;font-size:1.35rem}
.sample-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.sample-pair article{min-width:0;padding:1rem;border:1px solid #a8c1c6;border-radius:14px;background:#fffdf6}
.sample-pair h4{margin:.5rem 0;font-size:1.2rem;line-height:1.25;color:var(--ink)}
.sample-pair .meta{margin:0}
.sample-pair .sheet-link{min-height:44px;text-align:left}
#purchaseTerms summary,#orderRecovery summary{cursor:pointer;min-height:44px;font-weight:bold;padding-block:.55rem}
#purchaseTerms p,.setup .consent{margin:.65rem 0}
#saleNote:empty{display:none}
footer .footer-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:2rem;padding-block:2rem}
.footer-groups>div{display:grid;justify-items:start;align-content:start}
.footer-groups h2{margin:0;display:flex;align-items:center;min-height:44px;font-size:1.12rem}
.footer-groups a{display:inline-flex;align-items:center;min-height:44px;max-width:100%;overflow-wrap:anywhere}
.footer-groups a:not(.brand){text-decoration:underline;text-underline-offset:.2em}
@media(max-width:960px){
 #coursesMenu{display:block;width:100%;text-align:left}
 .nav-courses{display:none}
}
@media(max-width:700px){
 .sample-pair,footer .footer-groups{grid-template-columns:minmax(0,1fr)}
 footer .footer-groups{gap:1rem}
 .footer-groups>div+div{padding-top:.75rem;border-top:1px solid #b5cbd1}
}

.guide-view h2:not(:first-child),.guide-view>section>h2{margin-top:2rem}
.guide-question,.order-part{margin:.65rem 0;border:1px solid #b5cbd1;border-radius:12px;padding:0 1rem}
.guide-question h2,.guide-question h3{margin:0;font:inherit}
.question-toggle,.order-part summary{min-height:44px;padding:.7rem 0;font:inherit;font-weight:bold;color:var(--ink);cursor:pointer}
.question-toggle{display:flex;align-items:center;gap:.6rem;width:100%;border:0;background:transparent;text-align:left}
.question-toggle::before{content:"";width:.45em;height:.45em;flex:none;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(-45deg)}
.question-toggle[aria-expanded=true]::before{transform:rotate(45deg)}
.order-part[open]{padding-bottom:.8rem}
#order .order-part a,#order .download-help a{display:inline-block;padding-block:.5rem}

#moreCharacters summary{cursor:pointer;color:var(--ink);font-weight:600;padding-block:.65rem;min-height:44px}
#extraPickers{margin-bottom:.5rem}
.cardbody .sale-availability{color:var(--ink);font-weight:600}

.sale-banner{padding:.8rem 1rem;border-left:4px solid #155b83;background:#e4f2ee;color:#123d67;border-radius:.3rem}
.guide-view details>summary,.family-form details>summary{cursor:pointer;padding-block:.65rem}
.family-form details label{display:block;margin-block:.6rem}

.hero-copy .example-link{display:inline-block;margin:.35rem 0 .35rem 1rem;color:var(--ink);text-underline-offset:.2em}
#sampleBookTitle{font-weight:700;margin:.2rem 0 .75rem}
#editionPicker summary,#changeBook summary{cursor:pointer;padding-block:.7rem}
