.studio-art{position:relative;display:block;overflow:hidden;background:#e6eee0;border-radius:20px 20px 0 0}.studio-art img{display:block;width:100%;height:180px;object-fit:contain}.studio-ai{display:inline-flex;align-items:center;gap:7px;background:#243b69;color:#fff!important;border:1px solid #b5dafa;border-radius:999px;padding:7px 13px;font-size:.82rem;font-weight:800;letter-spacing:.04em}.studio-art .studio-ai{position:absolute;right:12px;bottom:12px;box-shadow:0 3px 12px #17314940}#learningStudioView{width:min(960px,100%);margin-inline:auto}#learningStudioView h2{color:#fff5da}#learningStudioView .studio-panel{background:#fff9ec;color:#183e40;border:1px solid #e2d5ac;border-radius:24px;padding:clamp(18px,4vw,32px);margin-block:18px;box-shadow:0 8px 24px #092d3420}.studio-hero{display:flex;gap:22px;align-items:center}.studio-hero img{width:clamp(90px,24vw,175px);flex-shrink:0}.studio-hero h3{font-size:clamp(1.4rem,4vw,2rem);margin:10px 0}.studio-muted{color:#596b65;font-size:.95rem;line-height:1.6}.studio-topics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.studio-topic{display:flex;flex-direction:column;text-align:left;padding:20px;border:1px solid #c7d4b5;border-radius:20px;background:#f9f6df;color:#163f42;gap:12px;min-width:0}.studio-topic strong{font-size:1.5rem}.studio-topic small{font-size:.95rem;line-height:1.5}.studio-topic em{margin-top:auto;font-style:normal;font-weight:700;color:#006665}.studio-topic:hover,.studio-topic:focus-visible{outline:3px solid #e1b85e;outline-offset:2px}.studio-rule{border-left:5px solid #bb963f;background:#f5efd7;padding:18px;border-radius:10px;line-height:1.7}.studio-example{background:#e0eee1;border-radius:12px;padding:12px 16px;margin:10px 0}.studio-example strong{display:block;font-size:1.2rem}.studio-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}.studio-actions button,.studio-choice{border:1px solid #a9c2b7;border-radius:14px;padding:14px 20px;background:#fffdf5;color:#153e40;min-height:48px;font-weight:700}.studio-actions .studio-primary{background:#08646a;color:white;border-color:#08646a}.studio-actions button:disabled{opacity:.6;cursor:wait}.studio-question{font-size:clamp(1.35rem,4vw,1.9rem);font-weight:750;margin-block:22px;line-height:1.5}.studio-choices{display:flex;gap:14px;flex-wrap:wrap}.studio-choice{flex:1;font-size:1.3rem}.studio-choice[aria-pressed=true]{background:#d5eaca;border:3px solid #146b62}.studio-answer{width:100%;box-sizing:border-box;min-height:100px;padding:15px;border-radius:14px;border:2px solid #7eaaa3;background:white;color:#173e40;font:inherit}.studio-progress{width:100%;height:12px;accent-color:#178d83}.studio-error{background:#fff0d1;border-left:4px solid #ba6f00;border-radius:10px;padding:15px;color:#6e400a}.studio-score{font-size:2.6rem;font-weight:850;color:#066967}.studio-review{padding:15px;margin:12px 0;border-radius:14px;background:#e6f0df;border-left:5px solid #4f8b64}.studio-review.wrong{background:#fff0dc;border-left-color:#c68524}.studio-review p{margin:7px 0}.studio-review summary{cursor:pointer;font-weight:750}.studio-feedback-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.studio-feedback-grid article{padding:16px;background:#eef2e3;border-radius:16px;overflow-wrap:anywhere}.studio-feedback-grid h3{margin-top:0}.studio-subnav{display:flex;gap:10px}.studio-subnav button{background:#fffaeb;color:#13535a;border:1px solid #b9cdbd;border-radius:12px;padding:10px 16px}.studio-topic span,.studio-panel p{line-height:1.6}.studio-status{padding:12px;background:#e3efdf;border-radius:12px}.studio-detail{margin:18px 0}.studio-detail summary{cursor:pointer;font-weight:700}.studio-detail p{line-height:1.8}@media(max-width:680px){.studio-topics,.studio-feedback-grid{grid-template-columns:1fr}.studio-hero{gap:12px}.studio-hero img{width:90px}.studio-choice{padding:14px 10px}.studio-topic{padding:18px}.studio-hero .studio-muted{font-size:.88rem}}

/* Reuse the free-speaking AI card's visual components in the Grammar hub. */
.learning-hub #homeLearningStudio{display:flex;flex-direction:column;align-items:stretch;padding:0;gap:0;text-align:left;border:1px solid #61b9b4;border-radius:26px;overflow:hidden;background:linear-gradient(145deg,#173e48,#102c38);box-shadow:0 12px 32px #073c3b35;color:#eefbf5;font:inherit;cursor:pointer}
#homeLearningStudio .dialog-choice-art{display:block;flex-shrink:0}
#homeLearningStudio .dialog-choice-body{min-width:0}
#homeLearningStudio .dialog-art-label{display:block;font-size:.72rem;letter-spacing:.05em;padding:8px 12px;border:0}
#homeLearningStudio:focus-visible{outline:3px solid #dfad48;outline-offset:5px}

/* Preserve the original illustration proportions at every viewport width. */
#learningStudioView .studio-hero>img{display:block;height:auto;object-fit:contain;object-position:center;transform:none;max-width:100%}
#learningStudioView .studio-welcome>img{width:clamp(175px,25vw,230px);aspect-ratio:1 / 1}
#learningStudioView .studio-welcome>div{min-width:0}
@media(max-width:680px){#learningStudioView .studio-welcome{flex-direction:column;align-items:stretch;gap:16px}#learningStudioView .studio-welcome>img{width:min(220px,100%);align-self:center}}

#learningStudioView .studio-page-heading{display:flex;flex-direction:column;align-items:flex-start;gap:8px}#learningStudioView .studio-page-heading h2{margin-bottom:0;overflow-wrap:anywhere}#learningStudioView .studio-page-subtitle{margin:0;color:#fff5da;font-size:clamp(1rem,2.5vw,1.2rem);line-height:1.5}
