
@scope (.grammar-page) {

.lp-grammar-page{background:var(--lp-gp-cream);color:var(--lp-gp-ink)}
.lp-grammar-page{overflow-x:clip;max-width:100%}
.lp-gp-site{overflow-x:clip}
body.lp-page-grammar > .site{max-width:1280px;margin:24px auto;background:var(--lp-gp-cream);box-shadow:var(--lp-gp-shadow);overflow:hidden;border-radius:18px}
body.lp-page-grammar .lp-mobile-header{position:relative!important;top:auto!important}
.lp-gp-main{min-height:70vh;background:var(--lp-gp-cream)}
.lp-gp-shell{width:min(1180px,calc(100% - 32px));margin:0 auto}
.lp-gp-hero,.lp-gp-practice-hero{padding:70px 0 56px;background:radial-gradient(circle at 85% 20%,rgba(11,101,115,.13),transparent 30%),linear-gradient(135deg,var(--surface) 0%,var(--soft) 100%);border-bottom:1px solid var(--lp-gp-line)}
.lp-gp-hero-compact{padding-bottom:48px}
.lp-gp-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.7fr);gap:40px;align-items:center}
.lp-gp-eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:12px;font-weight:900;color:var(--lp-gp-teal-2);margin:0 0 9px}
.lp-gp-hero h1,.lp-gp-practice-hero h1{font-family:'LP Live Playfair',Georgia,serif;color:var(--lp-gp-teal);font-size:clamp(42px,5vw,68px);line-height:.98;letter-spacing:-.025em;margin:0;max-width:850px}
.lp-gp-hero-compact h1{font-size:clamp(38px,4.5vw,60px)}
.lp-gp-lead,.lp-gp-practice-hero p{font-size:18px;line-height:1.7;color:var(--lp-gp-muted);max-width:780px;margin:20px 0 0}
.lp-gp-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}
.lp-gp-btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 22px;border-radius:999px;border:1px solid transparent;font:inherit;font-weight:850;text-decoration:none!important;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,background .15s ease,border-color .15s ease}
.lp-gp-btn:hover{transform:translateY(-1px)}
.lp-gp-btn-primary{background:var(--lp-gp-warm);color:var(--surface)!important;box-shadow:0 10px 24px rgba(230,83,36,.22)}
.lp-gp-btn-primary:hover{background:var(--lp-gp-warm-dark)}
.lp-gp-btn-secondary{background:var(--surface);color:var(--lp-gp-teal)!important;border-color:var(--border)}
.lp-gp-hero-card{background:var(--surface);border:1px solid var(--lp-gp-line);border-radius:28px;padding:30px;box-shadow:var(--lp-gp-shadow);display:flex;align-items:center;justify-content:center;gap:13px;min-height:180px;transform:rotate(1deg)}
.lp-gp-hero-card span{font-weight:900;color:var(--lp-gp-teal);padding:12px 14px;border-radius:14px;background:var(--lp-gp-soft)}
.lp-gp-hero-card b{color:var(--lp-gp-warm);font-size:24px}
.lp-gp-section{padding:58px 0}
.lp-gp-soft-section{background:var(--soft);border-top:1px solid var(--lp-gp-line);border-bottom:1px solid var(--lp-gp-line)}
.lp-gp-section-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.65fr);gap:28px;align-items:end;margin-bottom:26px}
.lp-gp-section-heading h2{margin:0;font-family:'LP Live Playfair',Georgia,serif;color:var(--lp-gp-teal);font-size:clamp(30px,4vw,46px);line-height:1.05}
.lp-gp-section-heading>p{margin:0;color:var(--lp-gp-muted);line-height:1.65}
.lp-gp-pattern-card{padding:36px 34px 38px;border:1px solid var(--border);border-radius:28px;background:linear-gradient(135deg,var(--soft) 0%,var(--soft) 58%,var(--soft) 100%);box-shadow:0 16px 38px rgba(8,63,76,.10)}
.lp-gp-pattern-card .lp-gp-section-heading{margin-bottom:0}
.lp-gp-pattern-card .lp-gp-pattern-number{background:var(--surface)}
.lp-gp-topic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.lp-gp-topic-card{position:relative;display:block;background:var(--surface);border:1px solid var(--lp-gp-line);border-radius:24px;padding:24px;color:var(--lp-gp-ink)!important;text-decoration:none!important;box-shadow:0 10px 28px rgba(8,63,76,.06)}
.lp-gp-topic-card.is-live{transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
.lp-gp-topic-card.is-live:hover{transform:translateY(-3px);border-color:var(--border);box-shadow:var(--lp-gp-shadow)}
.lp-gp-topic-icon{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;background:var(--lp-gp-teal);color:var(--surface);font-weight:950;margin-bottom:20px}
.lp-gp-pill{display:inline-flex;align-items:center;min-height:27px;padding:0 9px;border-radius:999px;background:var(--lp-gp-soft);color:var(--lp-gp-teal-2);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.lp-gp-topic-card h3,.lp-gp-tense-grid h3{font-family:'LP Live Playfair',Georgia,serif;color:var(--lp-gp-teal);font-size:26px;margin:13px 0 8px}
.lp-gp-tense-grid h3{margin-top:0}
.lp-gp-topic-card p,.lp-gp-tense-grid p{margin:0;color:var(--lp-gp-muted);line-height:1.6}
.lp-gp-topic-card strong{display:block;margin-top:18px;color:var(--lp-gp-warm)}
.lp-gp-topic-card.is-coming{opacity:.78}
.lp-gp-pattern-path{list-style:none;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0;margin:30px 0 0;padding:0}
.lp-gp-pattern-step{position:relative;min-width:0;padding:0 18px 0 0;background:transparent;border:0;border-radius:0}
.lp-gp-pattern-step::after{content:"";position:absolute;z-index:0;top:18px;left:44px;right:0;height:2px;background:linear-gradient(90deg,var(--muted),var(--soft))}
.lp-gp-pattern-step:last-child::after{display:none}
.lp-gp-pattern-number{position:relative;z-index:1;display:grid;place-items:center;width:36px;height:36px;margin:0 0 16px;border:2px solid var(--border);border-radius:50%;background:var(--lp-gp-cream);color:var(--lp-gp-teal);font-size:13px;font-weight:950}
.lp-gp-pattern-step h3{margin:0 0 7px;font-family:'LP Live Playfair',Georgia,serif;color:var(--lp-gp-teal);font-size:21px;line-height:1.12}
.lp-gp-pattern-step p{margin:0;color:var(--lp-gp-muted);font-size:14px;line-height:1.55}
.lp-gp-verb-guide-section{background:var(--soft)}
.lp-gp-verb-guide-section>.lp-gp-shell>.lp-gp-section-heading{margin-bottom:26px}
.lp-gp-verb-guide-section>.lp-gp-shell>.lp-gp-tense-switcher{margin-bottom:34px}
.lp-gp-tense-switcher{display:grid;gap:10px;min-width:0;margin:0 0 34px;padding:16px;border:1px solid var(--lp-gp-line);border-radius:22px;background:var(--surface);box-shadow:0 10px 28px rgba(8,63,76,.06);overflow:hidden}
.lp-gp-tense-switcher-group{display:grid;grid-template-columns:105px minmax(0,1fr);gap:12px;align-items:center;min-width:0}
.lp-gp-tense-switcher-group>span{color:var(--lp-gp-teal-2);font-size:11px;font-weight:950;text-transform:uppercase;letter-spacing:.09em}
.lp-gp-tense-switcher-group>div{display:flex;gap:7px;flex-wrap:wrap}
.lp-gp-tense-switcher button{min-height:39px;padding:0 13px;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--lp-gp-teal);font:inherit;font-size:13px;font-weight:850;cursor:pointer;transition:background .15s ease,color .15s ease,border-color .15s ease,transform .15s ease}
.lp-gp-tense-switcher button:hover{transform:translateY(-1px);border-color:var(--border)}
.lp-gp-tense-switcher button.is-active{border-color:var(--lp-gp-teal);background:var(--lp-gp-teal);color:var(--surface);box-shadow:0 7px 15px rgba(8,63,76,.16)}
.lp-gp-tense-switcher button:focus-visible{outline:3px solid rgba(230,83,36,.3);outline-offset:2px}
.lp-gp-formula{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin:0 0 24px;padding:17px 20px;border:1px solid var(--border);border-radius:20px;background:var(--soft);color:var(--lp-gp-teal);font-size:14px;font-weight:850}
.lp-gp-formula span,.lp-gp-formula strong{padding:8px 12px;border-radius:11px;background:var(--surface);border:1px solid var(--lp-gp-line)}
.lp-gp-formula strong{background:var(--lp-gp-teal);border-color:var(--lp-gp-teal);color:var(--surface)}
.lp-gp-formula b{color:var(--lp-gp-warm);font-size:20px}
.lp-gp-conjugation-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.lp-gp-conjugation-card{overflow:hidden;background:var(--surface);border:1px solid var(--lp-gp-line);border-radius:24px;box-shadow:0 10px 28px rgba(8,63,76,.06)}
.lp-gp-conjugation-title{display:flex;align-items:center;gap:13px;padding:20px;border-bottom:1px solid var(--lp-gp-line);background:linear-gradient(135deg,var(--soft),var(--surface))}
.lp-gp-conjugation-title>span{display:grid;place-items:center;min-width:50px;height:42px;padding:0 9px;border-radius:13px;background:var(--lp-gp-teal);color:var(--surface);font-size:13px;font-weight:950;letter-spacing:.05em}
.lp-gp-conjugation-title h3{margin:0;color:var(--lp-gp-teal);font-family:'LP Live Playfair',Georgia,serif;font-size:27px;line-height:1}
.lp-gp-conjugation-title p{margin:5px 0 0;color:var(--lp-gp-muted);font-size:13px}
.lp-gp-conjugation-card dl{margin:0;padding:10px 20px 16px}
.lp-gp-conjugation-card dl>div{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(85px,.75fr);gap:12px;align-items:center;padding:9px 0;border-bottom:1px solid var(--border)}
.lp-gp-conjugation-card dl>div:last-child{border-bottom:0}
.lp-gp-conjugation-card dt{color:var(--lp-gp-muted);font-size:13px;font-weight:750}
.lp-gp-conjugation-card dd{margin:0;color:var(--lp-gp-teal);font-weight:850}
.lp-gp-conjugation-card dd strong{color:var(--lp-gp-warm)}
.lp-gp-language-note{margin-top:20px;padding:18px 20px;border-left:5px solid var(--lp-gp-green);border-radius:5px 18px 18px 5px;background:var(--lp-gp-green-soft);color:var(--lp-gp-ink)}
.lp-gp-language-note strong{display:block;color:var(--lp-gp-green);margin-bottom:5px}
.lp-gp-language-note p{margin:0;line-height:1.6}
.lp-gp-tense-guide-section{border-top:1px solid var(--lp-gp-line);background:var(--surface)}
.lp-gp-tense-family+.lp-gp-tense-family{margin-top:34px;padding-top:30px;border-top:1px solid var(--lp-gp-line)}
.lp-gp-family-heading{display:flex;align-items:center;gap:14px;margin-bottom:16px}
.lp-gp-family-heading>span{display:inline-flex;align-items:center;min-height:34px;padding:0 13px;border-radius:999px;background:var(--lp-gp-teal);color:var(--surface);font-size:12px;font-weight:950;text-transform:uppercase;letter-spacing:.09em}
.lp-gp-family-heading p{margin:0;color:var(--lp-gp-muted);line-height:1.5}
.lp-gp-tense-pattern-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.lp-gp-tense-pattern-grid-three{grid-template-columns:repeat(3,minmax(0,1fr))}
.lp-gp-imperative-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.lp-gp-tense-pattern-card{overflow:hidden;border:1px solid var(--lp-gp-line);border-radius:21px;background:var(--surface);box-shadow:0 8px 22px rgba(8,63,76,.05)}
.lp-gp-tense-pattern-card header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid var(--lp-gp-line);background:var(--surface)}
.lp-gp-tense-pattern-card header p{margin:0 0 3px;color:var(--lp-gp-teal-2);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.07em}
.lp-gp-tense-pattern-card h3{margin:0;color:var(--lp-gp-teal);font-family:'LP Live Playfair',Georgia,serif;font-size:24px}
.lp-gp-tense-pattern-card header>span{max-width:44%;padding:6px 9px;border-radius:10px;background:var(--surface);color:var(--lp-gp-warm);font-size:12px;font-weight:850;text-align:right}
.lp-gp-tense-pattern-card dl{margin:0;padding:10px 20px}
.lp-gp-tense-pattern-card dl>div{display:grid;grid-template-columns:45px minmax(0,1fr);gap:10px;padding:8px 0;border-bottom:1px solid var(--border)}
.lp-gp-tense-pattern-card dl>div:last-child{border-bottom:0}
.lp-gp-tense-pattern-card dt{color:var(--lp-gp-teal);font-size:12px;font-weight:950}
.lp-gp-tense-pattern-card dd{margin:0;color:var(--lp-gp-muted);font-size:13px;line-height:1.5}
.lp-gp-tense-pattern-card dd strong{color:var(--lp-gp-warm)}
.lp-gp-tense-pattern-card>small{display:block;margin:0 20px 18px;padding-top:10px;border-top:1px solid var(--lp-gp-line);color:var(--lp-gp-muted);line-height:1.5}
.lp-gp-irregular-guide-section{border-bottom:0}
.lp-gp-irregular-switcher{margin-bottom:24px}
.lp-gp-irregular-context{margin:0 0 18px}
.lp-gp-irregular-context h3{margin:0;color:var(--lp-gp-teal);font-family:'LP Live Playfair',Georgia,serif;font-size:clamp(27px,3vw,36px)}
.lp-gp-irregular-context>p:last-child{max-width:780px;margin:8px 0 0;color:var(--lp-gp-muted);line-height:1.6}
.lp-gp-irregular-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.lp-gp-irregular-grid article{padding:20px;border:1px solid var(--lp-gp-line);border-radius:20px;background:var(--surface);box-shadow:0 8px 22px rgba(8,63,76,.05)}
.lp-gp-irregular-grid header{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding-bottom:11px;border-bottom:1px solid var(--border)}
.lp-gp-irregular-grid h3{margin:0;color:var(--lp-gp-teal);font-family:'LP Live Playfair',Georgia,serif;font-size:25px}
.lp-gp-irregular-grid header span{color:var(--lp-gp-muted);font-size:12px;font-weight:750;text-align:right}
.lp-gp-irregular-grid dl{margin:12px 0}
.lp-gp-irregular-grid dl>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 0;border-bottom:1px solid var(--border)}
.lp-gp-irregular-grid dl>div:last-child{border-bottom:0}
.lp-gp-irregular-grid dt{color:var(--lp-gp-muted);font-size:12px;font-weight:750}
.lp-gp-irregular-grid dd{margin:0;color:var(--lp-gp-warm);font-weight:900;text-align:right}
.lp-gp-irregular-grid small{display:block;color:var(--lp-gp-muted);line-height:1.5}
.lp-gp-irregular-tip{margin-top:18px;padding:16px 18px;border-radius:16px;background:var(--lp-gp-teal);color:var(--surface);line-height:1.55}
.lp-gp-irregular-tip strong{color:var(--muted)}
.lp-gp-tense-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin-top:8px}
.lp-gp-tense-grid article{position:relative;background:transparent;border:0;border-radius:0;padding:0 28px 0 0;box-shadow:none}
.lp-gp-tense-grid article::after{content:"";position:absolute;top:6px;right:12px;bottom:6px;width:1px;background:linear-gradient(180deg,var(--soft),var(--soft))}
.lp-gp-tense-grid article:last-child::after{display:none}
.lp-gp-tense-grid .lp-gp-pill{margin-bottom:14px}
.lp-gp-breadcrumb{display:flex;gap:8px;align-items:center;margin-bottom:24px;color:var(--lp-gp-muted);font-size:13px;font-weight:750}
.lp-gp-breadcrumb a{color:var(--lp-gp-teal-2)!important;text-decoration:none!important}
.lp-gp-back-link{display:inline-flex;align-items:center;gap:8px;margin-bottom:24px;color:var(--lp-gp-teal)!important;font-size:14px;font-weight:900;text-decoration:none!important}.lp-gp-back-link:hover{text-decoration:underline!important;text-underline-offset:3px}
.lp-gp-practice-title-row{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:30px;align-items:end}
.lp-gp-overall-card{background:var(--surface);border:1px solid var(--lp-gp-line);border-radius:22px;padding:18px 20px;box-shadow:0 12px 28px rgba(8,63,76,.07)}
.lp-gp-overall-card span,.lp-gp-overall-card small{display:block;color:var(--lp-gp-muted)}
.lp-gp-overall-card strong{display:block;font-size:36px;line-height:1;color:var(--lp-gp-teal);margin:6px 0 12px}
.lp-gp-overall-card>div{height:9px;border-radius:999px;background:var(--soft);overflow:hidden;margin-bottom:9px}
.lp-gp-overall-card i{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--lp-gp-teal-2),var(--success));transition:width .25s ease}
.lp-gp-practice-section{padding-top:34px}
.lp-gp-tense-tabs{display:flex;gap:8px;padding:6px;border:1px solid var(--lp-gp-line);background:var(--surface);border-radius:18px;overflow-x:auto;margin-bottom:22px}
.lp-gp-tense-tabs button{flex:1;min-width:max-content;border:0;background:transparent;color:var(--lp-gp-teal);font:inherit;font-weight:850;padding:12px 16px;border-radius:13px;cursor:pointer}
.lp-gp-tense-tabs button.is-active{background:var(--lp-gp-teal);color:var(--surface)}
.lp-gp-unit-list{display:grid;gap:12px}
.lp-gp-unit-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:16px;align-items:center;width:100%;padding:17px 18px;border:1px solid var(--lp-gp-line);border-radius:20px;background:var(--surface);text-align:left;color:var(--lp-gp-ink);font:inherit;cursor:pointer;box-shadow:0 8px 22px rgba(8,63,76,.05);transition:transform .14s ease,border-color .14s ease}
.lp-gp-unit-card:hover{transform:translateY(-1px);border-color:var(--border)}
.lp-gp-unit-card.is-perfect{border-color:rgba(24,138,98,.35);background:var(--surface)}
.lp-gp-unit-step{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:var(--lp-gp-soft);color:var(--lp-gp-teal);font-weight:950}
.lp-gp-unit-card.is-perfect .lp-gp-unit-step{background:var(--lp-gp-green-soft);color:var(--lp-gp-green)}
.lp-gp-unit-copy strong{display:block;color:var(--lp-gp-teal);font-size:17px}
.lp-gp-unit-copy small{display:block;color:var(--lp-gp-muted);margin-top:4px;line-height:1.45}
.lp-gp-unit-status{text-align:right;min-width:80px}
.lp-gp-unit-status strong{display:block;color:var(--lp-gp-teal)}
.lp-gp-unit-status small{color:var(--lp-gp-muted)}
.lp-gp-exercise-overlay{position:fixed;inset:0;z-index:100000;background:rgba(5,34,41,.62);backdrop-filter:blur(5px);padding:18px;overflow:auto}
.lp-gp-exercise-overlay[hidden]{display:none!important}
.lp-gp-exercise-actions [hidden]{display:none!important}
.lp-gp-exercise-panel{width:min(760px,100%);min-height:520px;margin:30px auto;background:var(--lp-gp-cream);border-radius:28px;overflow:hidden;box-shadow:0 28px 80px rgba(0,0,0,.28)}
.lp-gp-exercise-header{display:grid;grid-template-columns:42px minmax(0,1fr) 56px;gap:14px;align-items:center;padding:16px 20px;border-bottom:1px solid var(--lp-gp-line);background:var(--surface)}
.lp-gp-icon-btn{width:38px;height:38px;border:0;border-radius:50%;background:var(--lp-gp-soft);color:var(--lp-gp-teal);font-size:26px;line-height:1;cursor:pointer}
.lp-gp-exercise-progress{height:9px;background:var(--soft);border-radius:999px;overflow:hidden}
.lp-gp-exercise-progress i{display:block;width:0;height:100%;border-radius:inherit;background:var(--lp-gp-warm);transition:width .2s ease}
.lp-gp-exercise-header>span{font-size:13px;font-weight:850;color:var(--lp-gp-muted);text-align:right}
.lp-gp-exercise-body{padding:24px}
.lp-gp-rule-box{background:var(--surface);border:1px solid var(--lp-gp-line);border-radius:20px;padding:18px;margin-bottom:18px}
.lp-gp-rule-box>span{font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.1em;color:var(--lp-gp-teal-2)}
.lp-gp-rule-box h2{font-family:'LP Live Playfair',Georgia,serif;color:var(--lp-gp-teal);font-size:28px;margin:4px 0 8px}
.lp-gp-rule-box p{margin:0;color:var(--lp-gp-muted);line-height:1.55}
.lp-gp-ending-row{display:flex;gap:7px;flex-wrap:wrap;margin-top:13px}
.lp-gp-ending-row span{background:var(--lp-gp-soft);border-radius:10px;padding:6px 9px;font-size:12px;font-weight:850;color:var(--lp-gp-teal)}
.lp-gp-question-card{background:var(--surface);border:1px solid var(--lp-gp-line);border-radius:22px;padding:22px;box-shadow:0 10px 25px rgba(8,63,76,.05)}
.lp-gp-question-label{margin:0;color:var(--lp-gp-muted);font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.lp-gp-question-card h3{font-size:clamp(23px,4vw,32px);line-height:1.35;color:var(--lp-gp-teal);margin:12px 0 6px}
.lp-gp-question-card h3 em{font-style:normal;color:var(--lp-gp-warm);border-bottom:3px solid var(--border)}
.lp-gp-infinitive{margin:0 0 18px;color:var(--lp-gp-muted);font-weight:750}
.lp-gp-answer-wrap span{display:block;font-size:12px;font-weight:850;color:var(--lp-gp-muted);margin-bottom:6px}
.lp-gp-answer-wrap input{width:100%;height:54px;border:2px solid var(--border);border-radius:15px;padding:0 15px;background:var(--surface);color:var(--lp-gp-ink);font:inherit;font-size:18px;font-weight:800;outline:none;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease}
.lp-gp-answer-wrap input:focus{border-color:var(--lp-gp-teal-2);box-shadow:0 0 0 4px rgba(11,101,115,.09)}
.lp-gp-answer-wrap input.is-correct{border-color:var(--lp-gp-green);background:var(--lp-gp-green-soft);color:var(--success)}
.lp-gp-answer-wrap input.is-wrong{border-color:var(--lp-gp-red);background:var(--lp-gp-red-soft);color:var(--selection)}
.lp-gp-feedback{min-height:26px;margin-top:10px;font-size:14px;font-weight:800}
.lp-gp-feedback.is-correct{color:var(--lp-gp-green)}
.lp-gp-feedback.is-wrong{color:var(--lp-gp-red)}
.lp-gp-exercise-actions{display:flex;justify-content:flex-end;margin-top:14px}
.lp-gp-exercise-actions .lp-gp-btn{min-width:150px}
.lp-gp-result-card{text-align:center;padding:62px 28px}
.lp-gp-result-icon{display:grid;place-items:center;width:72px;height:72px;margin:0 auto 18px;border-radius:50%;background:var(--lp-gp-green-soft);color:var(--lp-gp-green);font-size:38px;font-weight:950}
.lp-gp-result-card h2{font-family:'LP Live Playfair',Georgia,serif;color:var(--lp-gp-teal);font-size:42px;margin:4px 0 12px}
.lp-gp-result-card>strong{display:block;font-size:54px;color:var(--lp-gp-warm);line-height:1;margin-bottom:12px}
.lp-gp-result-card>p:not(.lp-gp-eyebrow){max-width:520px;margin:0 auto;color:var(--lp-gp-muted);line-height:1.6}
.lp-gp-result-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:24px}
@media(max-width:800px){.lp-gp-hero-grid,.lp-gp-section-heading,.lp-gp-practice-title-row{grid-template-columns:1fr}.lp-gp-topic-grid,.lp-gp-tense-grid,.lp-gp-conjugation-grid,.lp-gp-irregular-grid,.lp-gp-tense-pattern-grid,.lp-gp-tense-pattern-grid-three,.lp-gp-imperative-grid{grid-template-columns:1fr}.lp-gp-pattern-card{padding:26px 20px 28px;border-radius:22px}.lp-gp-pattern-path{grid-template-columns:1fr;gap:0;margin-top:24px}.lp-gp-pattern-step{padding:0 0 22px 52px}.lp-gp-pattern-step::after{top:36px;bottom:0;left:17px;right:auto;width:2px;height:auto;background:linear-gradient(180deg,var(--muted),var(--soft))}.lp-gp-pattern-number{position:absolute;left:0;top:0;margin:0}.lp-gp-pattern-step h3{font-size:22px}.lp-gp-pattern-step:last-child{padding-bottom:0}.lp-gp-tense-grid article{padding:0 0 22px;border-bottom:1px solid var(--border)}.lp-gp-tense-grid article:last-child{padding-bottom:0;border-bottom:0}.lp-gp-tense-grid article::after{display:none}.lp-gp-tense-switcher{margin-bottom:28px;padding:12px}.lp-gp-tense-switcher-group{display:block;width:100%;max-width:100%;min-width:0}.lp-gp-tense-switcher-group+.lp-gp-tense-switcher-group{padding-top:10px;border-top:1px solid var(--lp-gp-line)}.lp-gp-tense-switcher-group>span{display:block;margin:0 0 7px}.lp-gp-tense-switcher-group>div{width:100%;max-width:100%;min-width:0;flex-wrap:nowrap;overflow-x:auto;padding:0 0 5px;scrollbar-width:thin}.lp-gp-tense-switcher button{flex:0 0 auto;white-space:nowrap}.lp-gp-formula{justify-content:flex-start;padding:14px;gap:7px}.lp-gp-formula span,.lp-gp-formula strong{padding:7px 9px}.lp-gp-conjugation-card dl{padding-inline:16px}.lp-gp-family-heading{align-items:flex-start;flex-direction:column;gap:8px}.lp-gp-tense-pattern-card header{padding:16px}.lp-gp-tense-pattern-card dl{padding-inline:16px}.lp-gp-tense-pattern-card>small{margin-inline:16px}.lp-gp-irregular-grid header{align-items:flex-start}.lp-gp-irregular-grid header span{max-width:52%}.lp-gp-hero,.lp-gp-practice-hero{padding:46px 0 38px}.lp-gp-hero-card{min-height:120px;transform:none;max-width:100%}.lp-gp-overall-card{max-width:100%;min-width:0}.lp-gp-unit-card{grid-template-columns:auto minmax(0,1fr)}.lp-gp-unit-status{grid-column:2;text-align:left}.lp-gp-exercise-overlay{padding:0}.lp-gp-exercise-panel{min-height:100vh;margin:0;border-radius:0}.lp-gp-exercise-body{padding:18px}.lp-gp-rule-box,.lp-gp-question-card{padding:17px}.lp-gp-tense-tabs button{font-size:13px}}

/* Verb-practice mobile fullscreen pass.
   Keep the exercise in the visible viewport when the soft keyboard opens. */
@media(max-width:800px){
  html.lp-gp-exercise-root-open{
    width:100%!important;
    overflow:hidden!important;
    height:var(--lp-gp-overlay-height,100dvh)!important;
    max-height:var(--lp-gp-overlay-height,100dvh)!important;
    overscroll-behavior:none;
  }
  body.lp-gp-exercise-open{
    position:fixed!important;
    inset:0!important;
    width:100%!important;
    height:var(--lp-gp-overlay-height,100dvh)!important;
    max-height:var(--lp-gp-overlay-height,100dvh)!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    overscroll-behavior:none;
    touch-action:manipulation;
  }
  html.lp-gp-exercise-root-open body.lp-gp-exercise-open header,
  html.lp-gp-exercise-root-open body.lp-gp-exercise-open footer,
  html.lp-gp-exercise-root-open body.lp-gp-exercise-open .site-header,
  html.lp-gp-exercise-root-open body.lp-gp-exercise-open .lp-site-header,
  html.lp-gp-exercise-root-open body.lp-gp-exercise-open .lp-gp-practice-hero,
  html.lp-gp-exercise-root-open body.lp-gp-exercise-open .lp-gp-section,
  html.lp-gp-exercise-root-open body.lp-gp-exercise-open .lp-gp-soft-section{
    display:none!important;
  }
  html.lp-gp-exercise-root-open body.lp-gp-exercise-open > .site,
  html.lp-gp-exercise-root-open body.lp-gp-exercise-open #page,
  html.lp-gp-exercise-root-open body.lp-gp-exercise-open .site,
  html.lp-gp-exercise-root-open body.lp-gp-exercise-open .lp-gp-site,
  html.lp-gp-exercise-root-open body.lp-gp-exercise-open .lp-gp-main,
  html.lp-gp-exercise-root-open body.lp-gp-exercise-open #lp-verb-practice-app{
    width:100%!important;
    max-width:none!important;
    height:var(--lp-gp-overlay-height,100dvh)!important;
    max-height:var(--lp-gp-overlay-height,100dvh)!important;
    min-height:0!important;
    margin:0!important;
    border-radius:0!important;
    overflow:hidden!important;
  }
  html.lp-gp-exercise-root-open body.lp-gp-exercise-open #lp-verb-practice-app.lp-gp-exercise-active{
    display:flex!important;
    position:fixed!important;
    inset:0!important;
    z-index:100000!important;
    width:100%!important;
    height:var(--lp-gp-overlay-height,var(--lp-mobile-viewport-height,100dvh))!important;
    min-height:0!important;
    max-height:var(--lp-gp-overlay-height,var(--lp-mobile-viewport-height,100dvh))!important;
    padding:0!important;
    margin:0!important;
    overflow:hidden!important;
    background:var(--lp-gp-cream)!important;
  }
  body.lp-gp-exercise-open .lp-app-bottom-nav{
    display:none!important;
  }
  body.lp-gp-exercise-open .lp-mobile-bottom-nav,
  body.lp-gp-exercise-open [data-lp-bottom-nav]{
    display:none!important;
  }
  body.lp-gp-exercise-open .lp-mascot{
    display:block!important;
    z-index:100060!important;
  }
  .lp-gp-exercise-overlay{
    position:fixed!important;
    top:0!important;
    right:0!important;
    bottom:0!important;
    left:0!important;
    width:100%!important;
    height:var(--lp-gp-overlay-height,var(--lp-mobile-viewport-height,100dvh));
    min-height:0;
    max-height:var(--lp-gp-overlay-height,var(--lp-mobile-viewport-height,100dvh));
    overflow:hidden;
    background:var(--lp-gp-cream);
    backdrop-filter:none;
  }
  .lp-gp-exercise-panel.lp-gp-mobile-condensed .lp-gp-rule-box{
    height:0;
    min-height:0;
    padding:0;
    border:0;
    overflow:hidden;
    opacity:0;
    pointer-events:none;
  }
  .lp-gp-exercise-panel.lp-gp-mobile-condensed .lp-gp-exercise-body{
    grid-template-rows:0 auto minmax(14px,1fr) auto;
    gap:6px;
    padding:10px 16px 8px;
  }
  .lp-gp-exercise-panel.lp-gp-mobile-ultra-compact .lp-gp-question-card{
    min-height:142px;
    padding:10px 13px 11px;
  }
  .lp-gp-exercise-panel{
    display:grid;
    grid-template-rows:auto minmax(0,1fr);
    width:100%;
    height:var(--lp-gp-overlay-height,var(--lp-mobile-viewport-height,100dvh));
    min-height:0;
    max-height:var(--lp-gp-overlay-height,var(--lp-mobile-viewport-height,100dvh));
    box-shadow:none;
    background:linear-gradient(180deg,var(--surface) 0%,var(--lp-gp-cream) 100%);
  }
  .lp-gp-exercise-header{
    grid-template-columns:42px minmax(0,1fr) 48px;
    gap:12px;
    padding:16px 18px;
    min-height:82px;
    background:linear-gradient(135deg,var(--lp-gp-teal) 0%,var(--lp-gp-teal-2) 100%);
    border-bottom:0;
  }
  .lp-gp-exercise-header .lp-gp-icon-btn{
    width:38px;
    height:38px;
    border:1px solid rgba(255,255,255,.35);
    background:rgba(255,255,255,.14);
    color:var(--surface);
    font-size:0;
    line-height:1;
  }
  .lp-gp-exercise-header .lp-gp-icon-btn::before{
    content:none;
    font-size:25px;
    font-weight:800;
  }
  .lp-gp-exercise-progress{
    height:9px;
    background:rgba(255,255,255,.28);
  }
  .lp-gp-exercise-progress i{
    background:linear-gradient(90deg,var(--muted),var(--lp-gp-warm));
  }
  .lp-gp-exercise-header>span{
    color:var(--surface);
    font-size:13px;
    font-weight:950;
  }
  .lp-gp-exercise-body{
    display:grid;
    grid-template-rows:auto auto minmax(70px,1fr) auto;
    gap:12px;
    min-height:0;
    overflow:hidden;
    padding:16px;
  }
  .lp-gp-rule-box,
  .lp-gp-question-card{
    border-radius:20px;
  }
  .lp-gp-rule-box{
    margin:0;
    padding:17px 16px;
  }
  .lp-gp-rule-box h2{
    font-size:26px;
    line-height:1.08;
    margin:4px 0 8px;
  }
  .lp-gp-rule-box p{
    line-height:1.42;
  }
  .lp-gp-ending-row{
    gap:8px;
    margin-top:12px;
  }
  .lp-gp-ending-row span{
    padding:6px 9px;
    line-height:1;
  }
  .lp-gp-question-card{
    display:flex;
    flex-direction:column;
    min-height:0;
    padding:17px 16px 16px;
    overflow:hidden;
  }
  .lp-gp-question-card h3{
    flex:0 0 auto;
    font-size:24px;
    line-height:1.25;
    margin:10px 0 5px;
  }
  .lp-gp-infinitive{
    margin-bottom:14px;
  }
  .lp-gp-answer-wrap input{
    height:50px;
    font-size:18px;
    border-radius:14px;
  }
  .lp-gp-feedback{
    min-height:25px;
    margin-top:9px;
  }
  .lp-gp-exercise-actions{
    display:block;
    margin-top:0;
    padding-top:0;
  }
  .lp-gp-exercise-actions .lp-gp-btn{
    width:100%;
    min-width:0;
    min-height:54px;
    padding:0 14px;
    border-radius:15px;
    background:linear-gradient(90deg,var(--lp-gp-warm),var(--muted));
    color:var(--surface)!important;
    box-shadow:0 14px 28px rgba(230,83,36,.18);
  }
  .lp-gp-exercise-actions .lp-gp-btn[data-mode="continue"]{
    background:linear-gradient(90deg,var(--muted),var(--lp-gp-warm));
  }
  .lp-gp-exercise-actions [data-next-question][hidden]{
    display:none!important;
  }
  .lp-gp-exercise-mascot-stage{
    position:relative;
    min-height:76px;
    overflow:hidden;
    pointer-events:none;
  }
  .lp-gp-exercise-mascot-img{
    display:none!important;
    position:absolute;
    right:10px;
    bottom:-4px;
    width:92px;
    max-height:118px;
    object-fit:contain;
    filter:drop-shadow(0 12px 18px rgba(8,63,76,.16));
  }
  body.lp-gp-answer-focused .lp-gp-exercise-body{
    grid-template-rows:0 auto 0 auto;
    gap:6px;
    padding:10px 16px 76px;
  }
  body.lp-gp-answer-focused .lp-gp-exercise-header{
    min-height:62px;
    padding:10px 16px;
  }
  body.lp-gp-answer-focused .lp-gp-exercise-header .lp-gp-icon-btn{
    width:34px;
    height:34px;
  }
  body.lp-gp-answer-focused .lp-gp-rule-box{
    height:0;
    min-height:0;
    padding:0;
    border:0;
    overflow:hidden;
    opacity:0;
    pointer-events:none;
  }
  body.lp-gp-answer-focused .lp-gp-rule-box>span{
    font-size:9px;
  }
  body.lp-gp-answer-focused .lp-gp-rule-box h2{
    font-size:17px;
    line-height:1;
    margin:1px 0 0;
  }
  body.lp-gp-answer-focused .lp-gp-rule-box p,
  body.lp-gp-answer-focused .lp-gp-ending-row{
    display:none;
  }
  body.lp-gp-answer-focused .lp-gp-question-card{
    flex:0 0 auto;
    min-height:154px;
    padding:11px 15px 12px;
  }
  body.lp-gp-answer-focused .lp-gp-question-label{
    font-size:10px;
  }
  body.lp-gp-answer-focused .lp-gp-question-card h3{
    font-size:20px;
    line-height:1.12;
    margin:5px 0 3px;
  }
  body.lp-gp-answer-focused .lp-gp-infinitive{
    margin-bottom:6px;
    font-size:14px;
  }
  body.lp-gp-answer-focused .lp-gp-answer-wrap span{
    font-size:11px;
    margin-bottom:4px;
  }
  body.lp-gp-answer-focused .lp-gp-answer-wrap input{
    height:44px;
    font-size:18px;
  }
  body.lp-gp-answer-focused .lp-gp-feedback{
    min-height:18px;
    margin-top:5px;
    font-size:12px;
  }
  body.lp-gp-answer-focused .lp-gp-exercise-mascot-stage{
    min-height:0;
    height:0;
    overflow:visible;
  }
  body.lp-gp-answer-focused .lp-gp-exercise-mascot-img{
    width:64px;
    max-height:78px;
    bottom:-18px;
  }
  .lp-gp-result-card{
    align-self:center;
    padding:36px 24px;
  }
}

@media(max-width:800px) and (max-height:740px){
  .lp-gp-exercise-header{padding:13px 16px;min-height:72px}
  .lp-gp-exercise-body{gap:9px;padding:12px;grid-template-rows:auto auto minmax(54px,1fr) auto}
  .lp-gp-rule-box{padding:13px 15px}
  .lp-gp-rule-box h2{font-size:23px;margin-bottom:6px}
  .lp-gp-rule-box p{font-size:15px;line-height:1.34}
  .lp-gp-ending-row{margin-top:9px}
  .lp-gp-ending-row span{font-size:11px;padding:5px 8px}
  .lp-gp-question-card{padding:14px 15px}
  .lp-gp-question-card h3{font-size:22px;line-height:1.18;margin:8px 0 4px}
  .lp-gp-infinitive{margin-bottom:10px}
  .lp-gp-answer-wrap input{height:48px}
  .lp-gp-feedback{min-height:22px;margin-top:7px;font-size:13px}
  .lp-gp-exercise-actions{padding-top:10px}
  .lp-gp-exercise-actions .lp-gp-btn{min-height:50px}
  .lp-gp-exercise-mascot-stage{min-height:58px}
  .lp-gp-exercise-mascot-img{width:76px;max-height:94px}
  body.lp-gp-answer-focused .lp-gp-exercise-header{padding:10px 16px;min-height:62px}
  body.lp-gp-answer-focused .lp-gp-exercise-body{gap:6px;padding:10px 16px 76px;grid-template-rows:0 auto 0 auto}
  body.lp-gp-answer-focused .lp-gp-rule-box{height:0;min-height:0;padding:0;border:0;overflow:hidden;opacity:0;pointer-events:none}
  body.lp-gp-answer-focused .lp-gp-rule-box h2{font-size:17px;margin:1px 0 0}
  body.lp-gp-answer-focused .lp-gp-question-card{min-height:154px;padding:11px 15px 12px}
  body.lp-gp-answer-focused .lp-gp-question-card h3{font-size:20px;line-height:1.12;margin:5px 0 3px}
  body.lp-gp-answer-focused .lp-gp-infinitive{margin-bottom:6px;font-size:14px}
  body.lp-gp-answer-focused .lp-gp-answer-wrap input{height:44px}
  body.lp-gp-answer-focused .lp-gp-exercise-mascot-stage{min-height:0;height:0;overflow:visible}
}

@media(max-width:800px) and (max-height:620px){
  .lp-gp-rule-box p,
  .lp-gp-ending-row{
    display:none;
  }
  .lp-gp-rule-box{
    padding:11px 14px;
  }
  .lp-gp-question-card h3{
    font-size:21px;
  }
  body.lp-gp-answer-focused .lp-gp-exercise-body{gap:5px;padding:8px 14px 74px;grid-template-rows:0 auto 0 auto}
  body.lp-gp-answer-focused .lp-gp-rule-box{height:0;min-height:0;padding:0;border:0;overflow:hidden;opacity:0;pointer-events:none}
  body.lp-gp-answer-focused .lp-gp-rule-box h2{font-size:16px}
  body.lp-gp-answer-focused .lp-gp-question-card{min-height:142px;padding:10px 13px 11px}
  body.lp-gp-answer-focused .lp-gp-question-card h3{font-size:19px}
  body.lp-gp-answer-focused .lp-gp-answer-wrap input{height:42px}
}

@media(max-width:800px){
  body.lp-gp-exercise-open .lp-gp-exercise-actions,
  body.lp-gp-answer-focused .lp-gp-exercise-actions,
  body.lp-gp-keyboard-open .lp-gp-exercise-actions{
    position:fixed!important;
    left:16px!important;
    right:16px!important;
    bottom:max(8px,env(safe-area-inset-bottom))!important;
    z-index:100080!important;
    margin:0!important;
    padding:0!important;
  }
  body.lp-gp-exercise-open .lp-gp-exercise-actions .lp-gp-btn,
  body.lp-gp-answer-focused .lp-gp-exercise-actions .lp-gp-btn,
  body.lp-gp-keyboard-open .lp-gp-exercise-actions .lp-gp-btn{
    min-height:52px!important;
  }
  body.lp-gp-keyboard-open .lp-gp-exercise-panel,
  body.lp-gp-keyboard-open .lp-gp-exercise-overlay{
    overflow:hidden!important;
    overscroll-behavior:none!important;
  }

  /* Keyboard layout: keep the rule card visible without visually shrinking the
     cards. The fixed action button handles the bottom space. */
  body.lp-gp-answer-focused .lp-gp-exercise-body,
  body.lp-gp-keyboard-open .lp-gp-exercise-body,
  .lp-gp-exercise-panel.lp-gp-mobile-condensed .lp-gp-exercise-body{
    grid-template-rows:auto auto minmax(70px,1fr) auto!important;
    gap:12px!important;
    padding:16px 16px 76px!important;
  }
  body.lp-gp-answer-focused .lp-gp-rule-box,
  body.lp-gp-keyboard-open .lp-gp-rule-box,
  .lp-gp-exercise-panel.lp-gp-mobile-condensed .lp-gp-rule-box{
    display:block!important;
    height:auto!important;
    min-height:0!important;
    margin:0!important;
    padding:17px 16px!important;
    border:1px solid var(--lp-gp-line)!important;
    opacity:1!important;
    overflow:hidden!important;
    pointer-events:auto!important;
  }
  body.lp-gp-answer-focused .lp-gp-rule-box>span,
  body.lp-gp-keyboard-open .lp-gp-rule-box>span{
    display:block!important;
    font-size:11px!important;
    line-height:normal!important;
    margin:0!important;
  }
  body.lp-gp-answer-focused .lp-gp-rule-box h2,
  body.lp-gp-keyboard-open .lp-gp-rule-box h2{
    font-size:26px!important;
    line-height:1.08!important;
    margin:4px 0 8px!important;
  }
  body.lp-gp-answer-focused .lp-gp-rule-box p,
  body.lp-gp-keyboard-open .lp-gp-rule-box p{
    display:block!important;
    font-size:inherit!important;
    line-height:1.42!important;
    margin:0!important;
  }
  body.lp-gp-answer-focused .lp-gp-ending-row,
  body.lp-gp-keyboard-open .lp-gp-ending-row{
    display:flex!important;
    gap:8px!important;
    margin-top:12px!important;
  }
  body.lp-gp-answer-focused .lp-gp-ending-row span,
  body.lp-gp-keyboard-open .lp-gp-ending-row span{
    font-size:inherit!important;
    padding:6px 9px!important;
  }
  body.lp-gp-answer-focused .lp-gp-question-card,
  body.lp-gp-keyboard-open .lp-gp-question-card{
    min-height:0!important;
    padding:17px 16px 16px!important;
  }
  body.lp-gp-answer-focused .lp-gp-question-label,
  body.lp-gp-keyboard-open .lp-gp-question-label{
    font-size:11px!important;
    line-height:normal!important;
    margin:0!important;
  }
  body.lp-gp-answer-focused .lp-gp-question-card h3,
  body.lp-gp-keyboard-open .lp-gp-question-card h3{
    font-size:24px!important;
    line-height:1.25!important;
    margin:10px 0 5px!important;
  }
  body.lp-gp-answer-focused .lp-gp-infinitive,
  body.lp-gp-keyboard-open .lp-gp-infinitive{
    font-size:inherit!important;
    line-height:normal!important;
    margin:0 0 14px!important;
  }
  body.lp-gp-answer-focused .lp-gp-answer-wrap span,
  body.lp-gp-keyboard-open .lp-gp-answer-wrap span{
    font-size:11px!important;
    margin-bottom:4px!important;
  }
  body.lp-gp-answer-focused .lp-gp-answer-wrap input,
  body.lp-gp-keyboard-open .lp-gp-answer-wrap input{
    height:50px!important;
    min-height:50px!important;
    font-size:18px!important;
  }
  body.lp-gp-answer-focused .lp-gp-feedback,
  body.lp-gp-keyboard-open .lp-gp-feedback{
    min-height:25px!important;
    margin-top:9px!important;
    font-size:inherit!important;
    line-height:normal!important;
  }
}

@media(min-width:801px) and (max-width:1050px){.lp-gp-pattern-path{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 20px}.lp-gp-pattern-step::after{display:none}.lp-gp-pattern-step{padding-right:12px;border-top:2px solid var(--border);padding-top:14px}.lp-gp-pattern-number{margin-top:-33px;background:var(--lp-gp-cream)}.lp-gp-tense-grid{grid-template-columns:1fr;gap:20px}.lp-gp-tense-grid article{padding:0 0 18px;border-bottom:1px solid var(--border)}.lp-gp-tense-grid article:last-child{padding-bottom:0;border-bottom:0}.lp-gp-tense-grid article::after{display:none}}
@media(prefers-reduced-motion:reduce){.lp-gp-btn,.lp-gp-topic-card,.lp-gp-unit-card,.lp-gp-overall-card i,.lp-gp-exercise-progress i{transition:none}}

/* LP mobile horizontal-scroll hardening — Grammar routes only.
   grammar.css is enqueued only on /grammar/ routes, so these root rules
   cannot affect the rest of the website. */
html{max-width:100%;overflow-x:hidden!important}
body.lp-grammar-page{width:100%;max-width:100%;overflow-x:hidden!important;position:relative}
body.lp-grammar-page *,body.lp-grammar-page *::before,body.lp-grammar-page *::after{box-sizing:border-box}
body.lp-grammar-page .lp-gp-site,
body.lp-grammar-page .lp-gp-main,
body.lp-grammar-page .lp-gp-hero,
body.lp-grammar-page .lp-gp-practice-hero,
body.lp-grammar-page .lp-gp-section,
body.lp-grammar-page .lp-gp-soft-section,
body.lp-grammar-page .lp-gp-shell{min-width:0;max-width:100%}
@media(max-width:800px){
  body.lp-grammar-page .lp-gp-shell{width:calc(100% - 24px)}
  body.lp-grammar-page .lp-gp-hero-grid,
  body.lp-grammar-page .lp-gp-section-heading,
  body.lp-grammar-page .lp-gp-topic-grid,
  body.lp-grammar-page .lp-gp-pattern-path,
  body.lp-grammar-page .lp-gp-tense-grid{min-width:0;max-width:100%}
}

/* LP Grammar landing page — mobile overflow root-cause fix v2.
   Scoped to /grammar/ only via its route body class. */
@media (max-width:800px){
  body.lp-grammar-route-grammar{
    width:100%!important;
    max-width:100%!important;
    overflow-x:clip!important;
    overscroll-behavior-x:none;
    touch-action:pan-y;
  }

  body.lp-grammar-route-grammar .lp-gp-site,
  body.lp-grammar-route-grammar .lp-gp-main,
  body.lp-grammar-route-grammar .lp-gp-hero,
  body.lp-grammar-route-grammar .lp-gp-section{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    overflow-x:clip!important;
  }

  body.lp-grammar-route-grammar .lp-gp-shell{
    width:calc(100% - 24px)!important;
    min-width:0!important;
    max-width:calc(100% - 24px)!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }

  body.lp-grammar-route-grammar .lp-gp-hero-grid,
  body.lp-grammar-route-grammar .lp-gp-section-heading,
  body.lp-grammar-route-grammar .lp-gp-topic-grid{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    grid-template-columns:minmax(0,1fr)!important;
  }

  body.lp-grammar-route-grammar .lp-gp-hero-grid > *,
  body.lp-grammar-route-grammar .lp-gp-section-heading > *,
  body.lp-grammar-route-grammar .lp-gp-topic-grid > *{
    min-width:0!important;
    max-width:100%!important;
  }

  /* This row was the element capable of forcing the grid wider than the phone. */
  body.lp-grammar-route-grammar .lp-gp-hero-card{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr)!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    gap:6px!important;
    padding:20px 12px!important;
    transform:none!important;
    overflow:hidden!important;
  }

  body.lp-grammar-route-grammar .lp-gp-hero-card span{
    min-width:0!important;
    max-width:100%!important;
    padding:10px 6px!important;
    font-size:14px!important;
    line-height:1.15!important;
    text-align:center!important;
    white-space:normal!important;
    overflow-wrap:anywhere;
  }

  body.lp-grammar-route-grammar .lp-gp-hero-card b{
    min-width:0!important;
    font-size:18px!important;
    line-height:1!important;
  }

  body.lp-grammar-route-grammar .lp-gp-hero h1,
  body.lp-grammar-route-grammar .lp-gp-lead,
  body.lp-grammar-route-grammar .lp-gp-section-heading h2,
  body.lp-grammar-route-grammar .lp-gp-section-heading p{
    min-width:0!important;
    max-width:100%!important;
    overflow-wrap:break-word;
  }
}

/* Final keyboard invariant:
   Opening the Android keyboard must not visually resize the exercise cards or
   typography. Keep only the fixed bottom button / no-scroll behavior. */
@media(max-width:800px){
  body.lp-gp-exercise-open.lp-gp-answer-focused .lp-gp-exercise-header,
  body.lp-gp-exercise-open.lp-gp-keyboard-open .lp-gp-exercise-header{min-height:82px!important;padding:16px 18px!important}
  body.lp-gp-exercise-open.lp-gp-answer-focused .lp-gp-exercise-body,
  body.lp-gp-exercise-open.lp-gp-keyboard-open .lp-gp-exercise-body,
  body.lp-gp-exercise-open .lp-gp-exercise-panel.lp-gp-mobile-condensed .lp-gp-exercise-body{grid-template-rows:auto auto minmax(70px,1fr) auto!important;gap:12px!important;padding:16px 16px 76px!important}
  body.lp-gp-exercise-open.lp-gp-answer-focused .lp-gp-rule-box,
  body.lp-gp-exercise-open.lp-gp-keyboard-open .lp-gp-rule-box,
  body.lp-gp-exercise-open .lp-gp-exercise-panel.lp-gp-mobile-condensed .lp-gp-rule-box{display:block!important;height:auto!important;min-height:0!important;padding:17px 16px!important;border:1px solid var(--lp-gp-line)!important;opacity:1!important;overflow:hidden!important;pointer-events:auto!important}
  body.lp-gp-exercise-open.lp-gp-answer-focused .lp-gp-rule-box>span,
  body.lp-gp-exercise-open.lp-gp-keyboard-open .lp-gp-rule-box>span{display:block!important;font-size:11px!important;line-height:normal!important;margin:0!important}
  body.lp-gp-exercise-open.lp-gp-answer-focused .lp-gp-rule-box h2,
  body.lp-gp-exercise-open.lp-gp-keyboard-open .lp-gp-rule-box h2{font-size:26px!important;line-height:1.08!important;margin:4px 0 8px!important}
  body.lp-gp-exercise-open.lp-gp-answer-focused .lp-gp-rule-box p,
  body.lp-gp-exercise-open.lp-gp-keyboard-open .lp-gp-rule-box p{display:block!important;font-size:16px!important;line-height:1.42!important;margin:0!important}
  body.lp-gp-exercise-open.lp-gp-answer-focused .lp-gp-ending-row,
  body.lp-gp-exercise-open.lp-gp-keyboard-open .lp-gp-ending-row{display:flex!important;gap:8px!important;margin-top:12px!important}
  body.lp-gp-exercise-open.lp-gp-answer-focused .lp-gp-ending-row span,
  body.lp-gp-exercise-open.lp-gp-keyboard-open .lp-gp-ending-row span{font-size:12px!important;padding:6px 9px!important}
  body.lp-gp-exercise-open.lp-gp-answer-focused .lp-gp-question-card,
  body.lp-gp-exercise-open.lp-gp-keyboard-open .lp-gp-question-card{min-height:0!important;padding:17px 16px 16px!important}
  body.lp-gp-exercise-open.lp-gp-answer-focused .lp-gp-question-label,
  body.lp-gp-exercise-open.lp-gp-keyboard-open .lp-gp-question-label{font-size:11px!important;line-height:normal!important;margin:0!important}
  body.lp-gp-exercise-open.lp-gp-answer-focused .lp-gp-question-card h3,
  body.lp-gp-exercise-open.lp-gp-keyboard-open .lp-gp-question-card h3{font-size:24px!important;line-height:1.25!important;margin:10px 0 5px!important}
  body.lp-gp-exercise-open.lp-gp-answer-focused .lp-gp-infinitive,
  body.lp-gp-exercise-open.lp-gp-keyboard-open .lp-gp-infinitive{font-size:16px!important;line-height:normal!important;margin:0 0 14px!important}
  body.lp-gp-exercise-open.lp-gp-answer-focused .lp-gp-answer-wrap span,
  body.lp-gp-exercise-open.lp-gp-keyboard-open .lp-gp-answer-wrap span{font-size:11px!important;margin-bottom:4px!important}
  body.lp-gp-exercise-open.lp-gp-answer-focused .lp-gp-answer-wrap input,
  body.lp-gp-exercise-open.lp-gp-keyboard-open .lp-gp-answer-wrap input{height:50px!important;min-height:50px!important;font-size:18px!important}
  body.lp-gp-exercise-open.lp-gp-answer-focused .lp-gp-feedback,
  body.lp-gp-exercise-open.lp-gp-keyboard-open .lp-gp-feedback{min-height:25px!important;margin-top:9px!important;font-size:14px!important;line-height:normal!important}
}

}

@scope (.grammar-page) {
.lp-prep-site{overflow-x:clip}
body.lp-page-grammar > .site{max-width:1280px;margin:24px auto;background:var(--lp-gp-cream);box-shadow:var(--lp-gp-shadow);overflow:hidden;border-radius:18px}
body.lp-page-grammar .lp-mobile-header{position:relative!important;top:auto!important}
.lp-prep-core-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.lp-prep-core-grid article{background:var(--surface);border:1px solid var(--lp-gp-line);border-radius:22px;padding:22px;box-shadow:0 8px 24px rgba(8,63,76,.055);min-width:0}
.lp-prep-core-grid article>strong{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:var(--lp-gp-teal);color:var(--surface);font-size:19px;line-height:1;margin-bottom:17px}
.lp-prep-core-grid h3{font-family:'LP Live Playfair',Georgia,serif;color:var(--lp-gp-teal);font-size:22px;line-height:1.1;margin:0 0 9px}
.lp-prep-core-grid p{margin:0;color:var(--lp-gp-muted);line-height:1.6;font-size:14px}
.lp-prep-core-grid em{font-style:normal;color:var(--lp-gp-ink);font-weight:750}
.lp-prep-contract-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.lp-prep-contract-grid article{display:flex;align-items:center;justify-content:space-between;gap:14px;background:var(--surface);border:1px solid var(--lp-gp-line);border-radius:18px;padding:16px 18px;min-width:0}
.lp-prep-contract-grid span{color:var(--lp-gp-muted);font-weight:750}
.lp-prep-contract-grid strong{font-family:'LP Live Playfair',Georgia,serif;color:var(--lp-gp-warm);font-size:27px}
.lp-prep-note{margin:18px 0 0;color:var(--lp-gp-muted);line-height:1.6}
.lp-prep-note strong{color:var(--lp-gp-teal)}
.lp-prep-contrast-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.lp-prep-contrast-grid article{position:relative;background:var(--surface);border:1px solid var(--lp-gp-line);border-radius:22px;padding:23px;min-width:0}
.lp-prep-contrast-grid span{display:inline-block;margin-bottom:9px;color:var(--lp-gp-teal-2);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.09em}
.lp-prep-contrast-grid h3{font-family:'LP Live Playfair',Georgia,serif;color:var(--lp-gp-warm);font-size:35px;margin:0 0 10px}
.lp-prep-contrast-grid p{margin:0;color:var(--lp-gp-muted);line-height:1.6}
.lp-prep-contrast-grid p strong{color:var(--lp-gp-ink)}
.lp-prep-path{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0;padding:0}
.lp-prep-path li{display:grid;grid-template-columns:38px minmax(0,1fr);gap:12px;align-items:start;background:var(--surface);border:1px solid var(--lp-gp-line);border-radius:20px;padding:17px;min-width:0}
.lp-prep-path li>span{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--lp-gp-soft);color:var(--lp-gp-teal);font-weight:950}
.lp-prep-path h3{margin:1px 0 5px;color:var(--lp-gp-teal);font-family:'LP Live Playfair',Georgia,serif;font-size:20px;line-height:1.1}
.lp-prep-path p{margin:0;color:var(--lp-gp-muted);font-size:13px;line-height:1.45}
.lp-prep-bottom-action{margin-top:24px}
.lp-prep-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:20px}
.lp-prep-choice{min-height:54px;padding:10px 14px;border:2px solid var(--border);border-radius:15px;background:var(--surface);color:var(--lp-gp-teal);font:inherit;font-size:17px;font-weight:900;cursor:pointer;transition:border-color .15s ease,background .15s ease,transform .15s ease;overflow-wrap:anywhere}
.lp-prep-choice:hover{border-color:var(--border);transform:translateY(-1px)}
.lp-prep-choice.is-selected{border-color:var(--lp-gp-teal-2);background:var(--lp-gp-soft);box-shadow:0 0 0 3px rgba(11,101,115,.08)}
.lp-prep-choice.is-correct{border-color:var(--lp-gp-green);background:var(--lp-gp-green-soft);color:var(--success)}
.lp-prep-choice.is-wrong{border-color:var(--lp-gp-red);background:var(--lp-gp-red-soft);color:var(--selection)}
.lp-prep-choice:disabled{cursor:default;transform:none}
.lp-prep-translation{margin:6px 0 0;color:var(--lp-gp-muted);font-size:14px;font-style:italic;line-height:1.45}
.lp-prep-question-card h3{margin-bottom:4px}
.lp-prep-question-card .lp-gp-exercise-actions button:disabled{opacity:.5;cursor:not-allowed;transform:none}
@media(max-width:900px){.lp-prep-core-grid,.lp-prep-contract-grid,.lp-prep-path{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){
  html,body{max-width:100%;overflow-x:hidden}
  .lp-prepositions-page,.lp-prep-site,.lp-prep-site .lp-gp-main,.lp-prep-site .lp-gp-hero,.lp-prep-site .lp-gp-section{width:100%;max-width:100%;min-width:0;overflow-x:hidden}
  .lp-prep-site .lp-gp-shell{box-sizing:border-box;width:calc(100% - 28px);max-width:calc(100% - 28px);min-width:0;margin-left:auto;margin-right:auto}
  .lp-prep-site .lp-gp-hero h1,.lp-prep-site .lp-gp-practice-hero h1{font-size:clamp(30px,10.4vw,50px);line-height:1.02;letter-spacing:-.02em;max-width:none}
  .lp-prep-site .lp-gp-lead,.lp-prep-site .lp-gp-practice-hero p{font-size:16px;line-height:1.58}
  .lp-prep-core-grid,.lp-prep-contract-grid,.lp-prep-contrast-grid,.lp-prep-path{grid-template-columns:1fr}
  .lp-prep-core-grid article,.lp-prep-contract-grid article,.lp-prep-contrast-grid article,.lp-prep-path li{max-width:100%;min-width:0}
  .lp-prep-choice-grid{grid-template-columns:1fr}
  .lp-prep-choice{min-height:52px;font-size:16px}
}

}

@scope (.grammar-page) {
.lp-art-site{overflow-x:clip}
body.lp-page-grammar > .site{max-width:1280px;margin:24px auto;background:var(--lp-gp-cream);box-shadow:var(--lp-gp-shadow);overflow:hidden;border-radius:18px}
body.lp-page-grammar .lp-mobile-header{position:relative!important;top:auto!important}
.lp-art-article-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.lp-art-group-card{background:var(--surface);border:1px solid var(--lp-gp-line);border-radius:24px;padding:23px;box-shadow:0 8px 24px rgba(8,63,76,.055);min-width:0}
.lp-art-group-heading{display:flex;align-items:baseline;justify-content:space-between;gap:14px;margin-bottom:17px}
.lp-art-group-heading span,.lp-art-mini-label{text-transform:uppercase;letter-spacing:.09em;font-size:11px;font-weight:900;color:var(--lp-gp-teal-2)}
.lp-art-group-heading h3{margin:0;font-family:'LP Live Playfair',Georgia,serif;color:var(--lp-gp-warm);font-size:27px}
.lp-art-four-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.lp-art-four-grid>div{display:grid;grid-template-columns:auto minmax(0,1fr);gap:3px 12px;align-items:center;background:var(--lp-gp-soft);border-radius:16px;padding:14px;min-width:0}
.lp-art-four-grid strong{grid-row:1/3;font-family:'LP Live Playfair',Georgia,serif;color:var(--lp-gp-teal);font-size:31px;line-height:1}
.lp-art-four-grid span{color:var(--lp-gp-muted);font-size:11px;font-weight:800}
.lp-art-four-grid small{color:var(--lp-gp-ink);font-size:13px;font-weight:850}
.lp-art-agreement-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.lp-art-agreement-grid article{background:var(--surface);border:1px solid var(--lp-gp-line);border-radius:20px;padding:19px;min-width:0}
.lp-art-agreement-grid span{display:block;margin-bottom:9px;color:var(--lp-gp-teal-2);font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.lp-art-agreement-grid strong{display:block;color:var(--lp-gp-teal);font-family:'LP Live Playfair',Georgia,serif;font-size:22px;line-height:1.15}
.lp-art-agreement-grid small{display:block;margin-top:8px;color:var(--lp-gp-muted)}
.lp-art-clue-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.lp-art-clue-grid article{background:var(--surface);border:1px solid var(--lp-gp-line);border-radius:20px;padding:19px;min-width:0}
.lp-art-clue-grid span{color:var(--lp-gp-teal-2);font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.lp-art-clue-grid h3{margin:9px 0 8px;font-family:'LP Live Playfair',Georgia,serif;color:var(--lp-gp-warm);font-size:26px;line-height:1.05}
.lp-art-clue-grid p,.lp-art-note{margin:0;color:var(--lp-gp-muted);line-height:1.6}
.lp-art-clue-grid p strong,.lp-art-note strong{color:var(--lp-gp-ink)}
.lp-art-note{margin-top:18px}
.lp-art-adjective-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.lp-art-adjective-grid article{background:var(--surface);border:1px solid var(--lp-gp-line);border-radius:22px;padding:22px;min-width:0}
.lp-art-adjective-grid article>div{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 0;border-bottom:1px solid var(--border)}
.lp-art-adjective-grid article>div:last-of-type{border-bottom:0}
.lp-art-adjective-grid strong{font-family:'LP Live Playfair',Georgia,serif;color:var(--lp-gp-teal);font-size:24px}
.lp-art-adjective-grid div span{color:var(--lp-gp-muted);font-size:12px;font-weight:800}
.lp-art-mini-label{margin:0 0 8px}
.lp-art-example{margin:13px 0 0;color:var(--lp-gp-muted);line-height:1.55;font-size:14px}
.lp-art-path{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0;padding:0}
.lp-art-path li{display:grid;grid-template-columns:38px minmax(0,1fr);gap:12px;align-items:start;background:var(--surface);border:1px solid var(--lp-gp-line);border-radius:20px;padding:17px;min-width:0}
.lp-art-path li>span{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--lp-gp-soft);color:var(--lp-gp-teal);font-weight:950}
.lp-art-path h3{margin:1px 0 5px;color:var(--lp-gp-teal);font-family:'LP Live Playfair',Georgia,serif;font-size:20px;line-height:1.1}
.lp-art-path p{margin:0;color:var(--lp-gp-muted);font-size:13px;line-height:1.45}
.lp-art-bottom-action{margin-top:24px}
.lp-art-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:20px}
.lp-art-choice{min-height:54px;padding:10px 14px;border:2px solid var(--border);border-radius:15px;background:var(--surface);color:var(--lp-gp-teal);font:inherit;font-size:16px;font-weight:900;cursor:pointer;transition:border-color .15s ease,background .15s ease,transform .15s ease;overflow-wrap:anywhere}
.lp-art-choice:hover{border-color:var(--border);transform:translateY(-1px)}
.lp-art-choice.is-selected{border-color:var(--lp-gp-teal-2);background:var(--lp-gp-soft);box-shadow:0 0 0 3px rgba(11,101,115,.08)}
.lp-art-choice.is-correct{border-color:var(--lp-gp-green);background:var(--lp-gp-green-soft);color:var(--success)}
.lp-art-choice.is-wrong{border-color:var(--lp-gp-red);background:var(--lp-gp-red-soft);color:var(--selection)}
.lp-art-choice:disabled{cursor:default;transform:none}
.lp-art-translation{margin:6px 0 0;color:var(--lp-gp-muted);font-size:14px;font-style:italic;line-height:1.45}
.lp-art-question-card h3{margin-bottom:4px}
.lp-art-question-card .lp-gp-exercise-actions button:disabled{opacity:.5;cursor:not-allowed;transform:none}
@media(max-width:950px){.lp-art-agreement-grid,.lp-art-clue-grid,.lp-art-path{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){
  html,body{max-width:100%;overflow-x:hidden}
  .lp-articles-page,.lp-art-site,.lp-art-site .lp-gp-main,.lp-art-site .lp-gp-hero,.lp-art-site .lp-gp-section{width:100%;max-width:100%;min-width:0;overflow-x:hidden}
  .lp-art-site .lp-gp-shell{box-sizing:border-box;width:calc(100% - 28px);max-width:calc(100% - 28px);min-width:0;margin-left:auto;margin-right:auto}
  .lp-art-site .lp-gp-hero h1,.lp-art-site .lp-gp-practice-hero h1{font-size:clamp(30px,10.4vw,50px);line-height:1.02;letter-spacing:-.02em;max-width:none}
  .lp-art-site .lp-gp-lead,.lp-art-site .lp-gp-practice-hero p{font-size:16px;line-height:1.58}
  .lp-art-article-groups,.lp-art-agreement-grid,.lp-art-clue-grid,.lp-art-adjective-grid,.lp-art-path{grid-template-columns:1fr}
  .lp-art-four-grid{grid-template-columns:1fr 1fr}
  .lp-art-choice-grid{grid-template-columns:1fr}
  .lp-art-choice{min-height:52px;font-size:15px}
}
@media(max-width:420px){.lp-art-four-grid{grid-template-columns:1fr}}

}

@scope (.grammar-page) {
.lp-pron-site{overflow-x:clip}
body.lp-page-grammar > .site{max-width:1280px;margin:24px auto;background:var(--lp-gp-cream);box-shadow:var(--lp-gp-shadow);overflow:hidden;border-radius:18px}
body.lp-page-grammar .lp-mobile-header{position:relative!important;top:auto!important}
.lp-pron-subject-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.lp-pron-subject-grid article,.lp-pron-reflexive-grid article{background:var(--surface);border:1px solid var(--lp-gp-line);border-radius:20px;padding:19px;min-width:0}
.lp-pron-subject-grid strong{display:block;font-family:'LP Live Playfair',Georgia,serif;color:var(--lp-gp-teal);font-size:27px;line-height:1.05}
.lp-pron-subject-grid span{display:block;margin-top:6px;color:var(--lp-gp-teal-2);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}
.lp-pron-subject-grid small{display:block;margin-top:10px;color:var(--lp-gp-muted);font-size:14px;line-height:1.5}
.lp-pron-note{margin:18px 0 0;color:var(--lp-gp-muted);line-height:1.65}
.lp-pron-note strong{color:var(--lp-gp-ink)}
.lp-pron-possessive-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.lp-pron-possessive-grid article{background:var(--surface);border:1px solid var(--lp-gp-line);border-radius:19px;padding:18px;min-width:0}
.lp-pron-possessive-grid span,.lp-pron-mini-label{display:block;color:var(--lp-gp-teal-2);font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.lp-pron-possessive-grid strong{display:block;margin-top:8px;color:var(--lp-gp-teal);font-family:'LP Live Playfair',Georgia,serif;font-size:21px;line-height:1.15}
.lp-pron-possessive-grid small{display:block;margin-top:5px;color:var(--lp-gp-warm);font-weight:850}
.lp-pron-possessive-grid p{margin:11px 0 0;color:var(--lp-gp-muted);font-size:13px;line-height:1.5}
.lp-pron-object-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.lp-pron-object-grid article{background:var(--surface);border:1px solid var(--lp-gp-line);border-radius:22px;padding:22px;min-width:0}
.lp-pron-object-grid h3{margin:6px 0 15px;font-family:'LP Live Playfair',Georgia,serif;color:var(--lp-gp-teal);font-size:28px}
.lp-pron-object-grid article>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--border)}
.lp-pron-object-grid article>div strong{color:var(--lp-gp-teal);font-size:17px}
.lp-pron-object-grid article>div span{color:var(--lp-gp-muted);font-size:12px;text-align:right}
.lp-pron-example{margin:15px 0 0;color:var(--lp-gp-muted);line-height:1.6}
.lp-pron-example strong{color:var(--lp-gp-ink)}
.lp-pron-placement-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.lp-pron-placement-grid article{background:var(--surface);border:1px solid var(--lp-gp-line);border-radius:20px;padding:19px;min-width:0}
.lp-pron-placement-grid span{display:block;color:var(--lp-gp-teal-2);font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.07em}
.lp-pron-placement-grid strong{display:block;margin-top:10px;color:var(--lp-gp-teal);font-family:'LP Live Playfair',Georgia,serif;font-size:21px;line-height:1.18}
.lp-pron-placement-grid p{margin:10px 0 0;color:var(--lp-gp-muted);font-size:13px;line-height:1.55}
.lp-pron-reflexive-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.lp-pron-reflexive-grid strong{display:block;color:var(--lp-gp-teal);font-family:'LP Live Playfair',Georgia,serif;font-size:21px;line-height:1.2}
.lp-pron-reflexive-grid span{display:block;margin-top:8px;color:var(--lp-gp-muted);font-size:13px}
.lp-pron-path{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0;padding:0}
.lp-pron-path li{display:grid;grid-template-columns:38px minmax(0,1fr);gap:12px;align-items:start;background:var(--surface);border:1px solid var(--lp-gp-line);border-radius:20px;padding:17px;min-width:0}
.lp-pron-path li>span{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--lp-gp-soft);color:var(--lp-gp-teal);font-weight:950}
.lp-pron-path h3{margin:1px 0 5px;color:var(--lp-gp-teal);font-family:'LP Live Playfair',Georgia,serif;font-size:20px;line-height:1.1}
.lp-pron-path p{margin:0;color:var(--lp-gp-muted);font-size:13px;line-height:1.45}
.lp-pron-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:20px}
.lp-pron-choice{min-height:54px;padding:10px 14px;border:2px solid var(--border);border-radius:15px;background:var(--surface);color:var(--lp-gp-teal);font:inherit;font-size:16px;font-weight:900;cursor:pointer;transition:border-color .15s ease,background .15s ease,transform .15s ease;overflow-wrap:anywhere}
.lp-pron-choice:hover{border-color:var(--border);transform:translateY(-1px)}
.lp-pron-choice.is-selected{border-color:var(--lp-gp-teal-2);background:var(--lp-gp-soft);box-shadow:0 0 0 3px rgba(11,101,115,.08)}
.lp-pron-choice.is-correct{border-color:var(--lp-gp-green);background:var(--lp-gp-green-soft);color:var(--success)}
.lp-pron-choice.is-wrong{border-color:var(--lp-gp-red);background:var(--lp-gp-red-soft);color:var(--selection)}
.lp-pron-choice:disabled{cursor:default;transform:none}
.lp-pron-translation{margin:6px 0 0;color:var(--lp-gp-muted);font-size:14px;font-style:italic;line-height:1.45}
.lp-pron-question-card h3{margin-bottom:4px}
.lp-pron-question-card .lp-gp-exercise-actions button:disabled{opacity:.5;cursor:not-allowed;transform:none}
@media(max-width:1050px){.lp-pron-possessive-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.lp-pron-placement-grid,.lp-pron-reflexive-grid,.lp-pron-path{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){
  html,body{max-width:100%;overflow-x:hidden}
  .lp-pronouns-page,.lp-pron-site,.lp-pron-site .lp-gp-main,.lp-pron-site .lp-gp-hero,.lp-pron-site .lp-gp-section{width:100%;max-width:100%;min-width:0;overflow-x:hidden}
  .lp-pron-site .lp-gp-shell{box-sizing:border-box;width:calc(100% - 28px);max-width:calc(100% - 28px);min-width:0;margin-left:auto;margin-right:auto}
  .lp-pron-site .lp-gp-hero h1,.lp-pron-site .lp-gp-practice-hero h1{font-size:clamp(30px,10.4vw,50px);line-height:1.02;letter-spacing:-.02em;max-width:none}
  .lp-pron-site .lp-gp-lead,.lp-pron-site .lp-gp-practice-hero p{font-size:16px;line-height:1.58}
  .lp-pron-subject-grid,.lp-pron-possessive-grid,.lp-pron-object-grid,.lp-pron-placement-grid,.lp-pron-reflexive-grid,.lp-pron-path{grid-template-columns:1fr}
  .lp-pron-choice-grid{grid-template-columns:1fr}
  .lp-pron-choice{min-height:52px;font-size:15px}
}

}

@scope (.grammar-page) {


		*{box-sizing:border-box}

		html{scroll-behavior:smooth}

		body.lp-page-verbs{
			margin:0;
			background:var(--warm);
			color:var(--ink);
			font-family:'LP Live Inter',Inter,system-ui,sans-serif;
		}

		body.lp-page-verbs a{
			color:inherit;
			text-decoration:none;
		}

		body.lp-page-verbs .site{
			max-width:1280px;
			margin:24px auto;
			background:var(--cream);
			box-shadow:var(--shadow);
			overflow:hidden;
			border-radius:18px;
		}

		body.lp-page-verbs .container{
			width:min(1120px,calc(100% - 40px));
			margin:auto;
		}

		body.lp-page-verbs .serif{
			font-family:'LP Live Playfair',Georgia,serif;
		}

		.lp-verbs-hero{
			position:relative;
			overflow:hidden;
			padding:72px 0 58px;
			background:
				radial-gradient(circle at 86% 20%, rgba(33,124,152,.18), transparent 28%),
				linear-gradient(100deg,var(--soft) 0%,var(--soft) 54%,var(--soft) 100%);
		}


		body.lp-page-verbs a.lp-verbs-back-link{
			display:inline-flex!important;
			align-items:center!important;
			justify-content:center!important;
			gap:8px!important;
			min-height:52px!important;
			margin:0 0 20px!important;
			padding:0 20px!important;
			border:2px solid var(--border)!important;
			border-radius:10px!important;
			background:var(--surface)!important;
			color:var(--text)!important;
			-webkit-text-fill-color:var(--text)!important;
			font-family:'LP Live Inter',Inter,system-ui,sans-serif!important;
			font-size:14px!important;
			font-weight:850!important;
			line-height:1.2!important;
			text-decoration:none!important;
			box-shadow:none!important;
			transition:background-color .16s ease,border-color .16s ease,transform .16s ease,box-shadow .16s ease!important;
		}

		body.lp-page-verbs a.lp-verbs-back-link:hover,
		body.lp-page-verbs a.lp-verbs-back-link:focus-visible{
			border-color:var(--border)!important;
			background:var(--soft)!important;
			color:var(--text)!important;
			-webkit-text-fill-color:var(--text)!important;
			text-decoration:none!important;
			transform:translateY(-1px)!important;
			box-shadow:0 9px 20px rgba(7,55,68,.12)!important;
			outline:none!important;
		}

		.lp-verbs-hero-grid{
			display:grid;
			grid-template-columns:minmax(0,1.08fr) minmax(280px,.72fr);
			gap:48px;
			align-items:center;
		}

		.lp-verbs-eyebrow{
			margin:0 0 14px;
			color:var(--terracotta);
			font-size:12px;
			font-weight:900;
			letter-spacing:.12em;
			text-transform:uppercase;
		}

		.lp-verbs-hero h1{
			max-width:760px;
			margin:0 0 20px;
			color:var(--teal);
			font-size:58px;
			line-height:1;
			letter-spacing:0;
		}

		.lp-verbs-hero p{
			max-width:720px;
			margin:0;
			color:var(--text);
			font-size:18px;
			line-height:1.7;
		}

		.lp-verbs-visual{
			position:relative;
			display:grid;
			min-height:310px;
			place-items:center;
		}

		.lp-verbs-visual-card{
			position:relative;
			width:min(310px,100%);
			aspect-ratio:1;
			border:1px solid rgba(8,63,76,.12);
			border-radius:28px;
			background:white;
			box-shadow:0 22px 54px rgba(8,63,76,.14);
			display:grid;
			place-items:center;
			overflow:hidden;
			transition:transform .22s ease, box-shadow .22s ease;
		}

		.lp-verbs-visual-card::before,
		.lp-verbs-visual-card::after{
			content:"";
			position:absolute;
			border-radius:999px;
		}

		.lp-verbs-visual-card::before{
			width:220px;
			height:220px;
			background:var(--soft);
			transition:background .22s ease;
		}

		.lp-verbs-visual-card[data-level="A2"]::before{
			background:var(--soft);
		}

		.lp-verbs-visual-card[data-level="B1"]::before{
			background:var(--soft);
		}

		.lp-verbs-visual-card[data-level="B2"]::before{
			background:var(--soft);
		}

		.lp-verbs-visual-card::after{
			inset:28px;
			border:2px dashed rgba(8,63,76,.18);
		}

		.lp-verbs-verb-mark{
			position:relative;
			z-index:1;
			display:grid;
			gap:8px;
			text-align:center;
		}

		.lp-verbs-verb-mark strong{
			color:var(--teal);
			font-family:'LP Live Playfair',Georgia,serif;
			font-size:76px;
			line-height:.9;
		}

		.lp-verbs-verb-mark span{
			color:var(--terracotta);
			font-size:13px;
			font-weight:900;
			letter-spacing:.12em;
			line-height:1.25;
			margin:auto;
			max-width:190px;
			text-transform:uppercase;
		}

		.lp-verbs-verb-mark strong.is-long{
			font-size:58px;
		}

		.lp-verbs-verb-mark strong.is-extra-long{
			font-size:46px;
		}

		.lp-verbs-chip-row{
			display:flex;
			flex-wrap:wrap;
			gap:10px;
			margin-top:26px;
		}

		.lp-verbs-chip{
			display:inline-flex;
			align-items:center;
			min-height:38px;
			padding:0 14px;
			border:1px solid rgba(8,63,76,.13);
			border-radius:999px;
			background:rgba(255,255,255,.76);
			color:var(--teal);
			font-size:13px;
			font-weight:900;
		}

		.lp-verbs-tool{
			padding:64px 0 88px;
			background:var(--cream);
		}

		.lp-verbs-layout{
			display:grid;
			grid-template-columns:320px minmax(0,1fr);
			gap:28px;
			align-items:start;
		}

		.lp-verbs-panel,
		.lp-verbs-output{
			border:1px solid rgba(8,63,76,.10);
			background:white;
			box-shadow:0 16px 42px rgba(8,63,76,.09);
		}

		.lp-verbs-panel{
			position:sticky;
			top:118px;
			border-radius:22px;
			padding:20px;
		}

		.lp-verbs-label{
			display:block;
			margin:0 0 8px;
			color:var(--teal);
			font-size:12px;
			font-weight:900;
			letter-spacing:.08em;
			text-transform:uppercase;
		}

		.lp-verbs-search{
			width:100%;
			min-height:48px;
			margin:0 0 16px;
			padding:0 14px;
			border:1px solid rgba(8,63,76,.16);
			border-radius:12px;
			background:var(--soft);
			color:var(--ink);
			font:600 15px/1.2 Inter,system-ui,sans-serif;
			outline:none;
		}

		.lp-verbs-search:focus{
			border-color:var(--teal);
			box-shadow:0 0 0 4px rgba(8,63,76,.10);
		}

		.lp-verbs-list{
			display:grid;
			gap:8px;
			max-height:420px;
			overflow:auto;
			padding-right:4px;
		}

		.lp-verbs-list button,
		.lp-verbs-tense-button{
			width:100%;
			border:0;
			font-family:'LP Live Inter',Inter,system-ui,sans-serif;
			cursor:pointer;
		}

		.lp-verbs-list button{
			display:flex;
			justify-content:space-between;
			align-items:center;
			gap:12px;
			min-height:48px;
			padding:10px 12px;
			border-radius:12px;
			background:var(--soft);
			color:var(--ink);
			text-align:left;
		}

		.lp-verbs-list button:hover,
		.lp-verbs-list button.is-active{
			background:var(--text);
			color:white;
		}

		.lp-verbs-list strong{
			display:block;
			font-size:15px;
			font-weight:900;
		}

		.lp-verbs-list span{
			display:block;
			color:inherit;
			font-size:12px;
			font-weight:700;
			opacity:.78;
		}

		.lp-verbs-list button > span:first-child{
			min-width:0;
		}

		.lp-verbs-list .lp-verbs-level{
			flex:0 0 auto;
			display:inline-flex;
			align-items:center;
			justify-content:center;
			width:34px;
			min-width:34px;
			height:26px;
			padding:0;
			border-radius:999px;
			background:white;
			color:var(--teal);
			font-size:11px;
			font-weight:900;
			line-height:1;
			opacity:1;
			text-align:center;
		}

		.lp-verbs-list button.is-active .lp-verbs-level,
		.lp-verbs-list button:hover .lp-verbs-level{
			background:var(--muted);
		}

		.lp-verbs-output{
			border-radius:26px;
			overflow:hidden;
		}

		.lp-verbs-output-head{
			display:grid;
			grid-template-columns:minmax(0,1fr) auto;
			gap:22px;
			align-items:start;
			padding:28px 30px;
			background:linear-gradient(100deg,var(--soft) 0%,var(--soft) 62%,var(--soft) 100%);
			border-bottom:1px solid rgba(8,63,76,.10);
		}

		.lp-verbs-output-head h2{
			margin:0 0 6px;
			color:var(--teal);
			font-size:46px;
			line-height:1;
			letter-spacing:0;
		}

		.lp-verbs-output-head p{
			margin:0;
			color:var(--text);
			font-size:16px;
			line-height:1.6;
		}

		.lp-verbs-badge-stack{
			display:flex;
			flex-wrap:wrap;
			justify-content:flex-end;
			gap:8px;
		}

		.lp-verbs-badge{
			display:inline-flex;
			align-items:center;
			justify-content:center;
			min-height:34px;
			padding:0 12px;
			border-radius:999px;
			background:white;
			color:var(--teal);
			font-size:12px;
			font-weight:900;
			box-shadow:0 8px 20px rgba(8,63,76,.08);
		}

		.lp-verbs-tense-wrap{
			padding:24px 30px 8px;
		}

		.lp-verbs-tense-groups{
			display:grid;
			gap:18px;
		}

		.lp-verbs-tense-group h3{
			margin:0 0 10px;
			color:var(--text);
			font-size:12px;
			font-weight:900;
			letter-spacing:.10em;
			text-transform:uppercase;
		}

		.lp-verbs-tense-buttons{
			display:flex;
			flex-wrap:wrap;
			gap:10px;
		}

		.lp-verbs-tense-button{
			width:auto;
			min-height:42px;
			padding:0 14px;
			border:1px solid rgba(8,63,76,.14);
			border-radius:999px;
			background:var(--soft);
			color:var(--teal);
			font-size:13px;
			font-weight:900;
		}

		.lp-verbs-tense-button:hover,
		.lp-verbs-tense-button.is-active{
			border-color:var(--teal);
			background:var(--teal);
			color:white;
		}

		.lp-verbs-table-zone{
			display:grid;
			gap:18px;
			padding:22px 30px 30px;
		}

		.lp-verbs-tense-card{
			border:1px solid rgba(8,63,76,.10);
			border-radius:18px;
			background:var(--surface);
			overflow:hidden;
		}

		.lp-verbs-tense-card-head{
			display:flex;
			justify-content:space-between;
			align-items:center;
			gap:18px;
			padding:16px 18px;
			background:var(--soft);
			border-bottom:1px solid rgba(8,63,76,.08);
		}

		.lp-verbs-tense-card-head h3{
			margin:0;
			color:var(--teal);
			font-size:20px;
			line-height:1.2;
		}

		.lp-verbs-tense-card-head span{
			color:var(--terracotta);
			font-size:12px;
			font-weight:900;
			letter-spacing:.08em;
			text-transform:uppercase;
		}

		.lp-verbs-table{
			width:100%;
			border-collapse:collapse;
		}

		.lp-verbs-table th,
		.lp-verbs-table td{
			padding:13px 18px;
			border-bottom:1px solid rgba(8,63,76,.07);
			text-align:left;
			vertical-align:middle;
		}

		.lp-verbs-table tr:last-child th,
		.lp-verbs-table tr:last-child td{
			border-bottom:0;
		}

		.lp-verbs-table th{
			width:34%;
			color:var(--text);
			font-size:13px;
			font-weight:900;
		}

		.lp-verbs-table td{
			color:var(--ink);
			font-size:18px;
			font-weight:900;
		}

		.lp-verbs-note{
			margin:26px 0 0;
			padding:18px 20px;
			border:1px solid rgba(8,63,76,.10);
			border-radius:16px;
			background:var(--soft);
			color:var(--text);
			font-size:14px;
			line-height:1.6;
		}

		.lp-verbs-empty{
			padding:18px;
			border-radius:14px;
			background:var(--soft);
			color:var(--text);
			font-weight:800;
		}

		@media(max-width:980px){
			body.lp-page-verbs .site{
				margin:0;
				border-radius:0;
			}

			.lp-verbs-hero-grid,
			.lp-verbs-layout{
				grid-template-columns:1fr;
			}

			.lp-verbs-visual{
				min-height:220px;
			}

			.lp-verbs-visual-card{
				width:min(240px,70vw);
			}

			.lp-verbs-verb-mark strong{
				font-size:58px;
			}

			.lp-verbs-panel{
				position:relative;
				top:auto;
			}

			.lp-verbs-list{
				max-height:280px;
			}
		}

		@media(max-width:640px){
			body.lp-page-verbs .container{
				width:min(100% - 28px,1120px);
			}

			.lp-verbs-hero{
				padding:48px 0 38px;
			}

			.lp-verbs-hero h1{
				font-size:42px;
			}

			.lp-verbs-hero p{
				font-size:16px;
			}

			.lp-verbs-visual{
				display:none;
			}

			.lp-verbs-tool{
				padding:34px 0 58px;
			}

			.lp-verbs-panel{
				padding:16px;
				border-radius:18px;
			}

			.lp-verbs-output{
				border-radius:20px;
			}

			.lp-verbs-output-head{
				grid-template-columns:1fr;
				padding:22px 20px;
			}

			.lp-verbs-output-head h2{
				font-size:38px;
			}

			.lp-verbs-badge-stack{
				justify-content:flex-start;
			}

			.lp-verbs-tense-wrap,
			.lp-verbs-table-zone{
				padding-left:18px;
				padding-right:18px;
			}

			.lp-verbs-tense-button{
				min-height:40px;
				padding:0 12px;
				font-size:12px;
			}

			.lp-verbs-tense-card-head{
				display:block;
			}

			.lp-verbs-tense-card-head h3{
				margin-bottom:4px;
			}

			.lp-verbs-table th,
			.lp-verbs-table td{
				padding:12px 14px;
			}

			.lp-verbs-table th{
				width:42%;
				font-size:12px;
			}

			.lp-verbs-table td{
				font-size:16px;
			}
		}

		.lp-site-footer{
			background:var(--text) !important;
			color:white !important;
			padding:0 !important;
			text-align:left !important;
			font-family:'LP Live Inter',Inter,system-ui,sans-serif !important;
		}

		.lp-site-footer .container{
			width:min(1120px,calc(100% - 40px)) !important;
			max-width:1120px !important;
			margin:auto !important;
			padding:0 !important;
		}

		.lp-site-footer .footer-nav{
			display:grid !important;
			grid-template-columns:1.35fr .9fr .9fr .9fr !important;
			gap:54px !important;
			align-items:start !important;
			justify-items:start !important;
			padding:54px 0 48px !important;
			margin:0 !important;
			border:0 !important;
		}

		.lp-site-footer .footer-brand,
		.lp-site-footer .footer-column{
			margin:0 !important;
			padding:0 !important;
		}

		.lp-site-footer .footer-brand h3{
			margin:0 0 18px !important;
			color:white !important;
			font-family:'LP Live Playfair',Georgia,serif !important;
			font-size:30px !important;
			font-weight:700 !important;
			line-height:1 !important;
			letter-spacing:0 !important;
			text-align:left !important;
		}

		.lp-site-footer .footer-brand p{
			max-width:300px !important;
			margin:0 !important;
			padding:0 !important;
			color:rgba(255,255,255,.76) !important;
			font-family:'LP Live Inter',Inter,system-ui,sans-serif !important;
			font-size:15px !important;
			font-weight:400 !important;
			line-height:1.7 !important;
			letter-spacing:0 !important;
			text-align:left !important;
		}

		.lp-site-footer .footer-column{
			display:block !important;
		}

		.lp-site-footer .footer-column h4{
			margin:0 0 14px !important;
			padding:0 !important;
			color:white !important;
			font-family:'LP Live Inter',Inter,system-ui,sans-serif !important;
			font-size:15px !important;
			font-weight:900 !important;
			line-height:normal !important;
			letter-spacing:0 !important;
			text-align:left !important;
		}

		.lp-site-footer .footer-column a{
			display:block !important;
			width:max-content !important;
			max-width:100% !important;
			margin:0 !important;
			padding:0 !important;
			color:rgba(255,255,255,.76) !important;
			font-family:'LP Live Inter',Inter,system-ui,sans-serif !important;
			font-size:15px !important;
			font-weight:500 !important;
			line-height:1.7 !important;
			letter-spacing:0 !important;
			text-decoration:none !important;
			text-align:left !important;
		}

		.lp-site-footer .footer-column a:hover,
		.lp-site-footer .footer-column a:focus-visible{
			color:white !important;
			outline:none !important;
		}

		.lp-site-footer .footer-bottom{
			display:block !important;
			border-top:1px solid rgba(255,255,255,.12) !important;
			margin:0 !important;
			padding:24px 0 42px !important;
			color:rgba(255,255,255,.68) !important;
			font-family:'LP Live Inter',Inter,system-ui,sans-serif !important;
			font-size:13px !important;
			font-weight:400 !important;
			text-align:left !important;
		}

		.lp-site-footer .footer-bottom p{
			max-width:none !important;
			margin:0 0 14px !important;
			padding:0 !important;
			color:inherit !important;
			font-family:'LP Live Inter',Inter,system-ui,sans-serif !important;
			font-size:13px !important;
			font-weight:400 !important;
			line-height:1.6 !important;
			letter-spacing:0 !important;
			text-align:left !important;
		}

		.lp-site-footer .footer-legal{
			display:flex !important;
			flex-wrap:wrap !important;
			justify-content:flex-start !important;
			align-items:center !important;
			gap:7px !important;
			margin:0 !important;
			padding:0 !important;
			font-family:'LP Live Inter',Inter,system-ui,sans-serif !important;
			font-size:13px !important;
			font-weight:800 !important;
			text-align:left !important;
		}

		.lp-site-footer .footer-legal a{
			display:inline !important;
			margin:0 !important;
			padding:0 !important;
			color:rgba(255,255,255,.86) !important;
			font-family:'LP Live Inter',Inter,system-ui,sans-serif !important;
			font-size:13px !important;
			font-weight:800 !important;
			line-height:1.6 !important;
			letter-spacing:0 !important;
			text-decoration:none !important;
		}

		.lp-site-footer .footer-legal a:hover,
		.lp-site-footer .footer-legal a:focus-visible{
			color:white !important;
			text-decoration:underline !important;
			outline:none !important;
		}

		.lp-site-footer .footer-legal span{
			color:rgba(255,255,255,.45) !important;
		}

		@media(max-width:900px){
			.lp-site-footer .footer-nav{
				grid-template-columns:1fr 1fr !important;
				gap:34px 42px !important;
				padding:44px 0 38px !important;
			}

			.lp-site-footer .footer-brand{
				grid-column:1 / -1 !important;
			}
		}

		@media(max-width:560px){
			.lp-site-footer .container{
				width:min(100% - 28px,1120px) !important;
			}

			.lp-site-footer .footer-nav{
				grid-template-columns:1fr !important;
				gap:28px !important;
				padding:38px 0 34px !important;
			}

			.lp-site-footer .footer-brand h3{
				font-size:28px !important;
			}

			.lp-site-footer .footer-column a{
				width:auto !important;
			}

			.lp-site-footer .footer-bottom{
				padding-bottom:34px !important;
			}

			.lp-site-footer .footer-legal{
				flex-direction:column !important;
				align-items:flex-start !important;
				gap:6px !important;
			}

			.lp-site-footer .footer-legal span{
				display:none !important;
			}
		}
.lp-verbs-review-save{margin-top:16px}

}
/* APK: Grammar practice uses the same focused viewport as lesson exercises. */
html.lp-android:has([data-exercise-overlay]:not([hidden])){overflow:hidden;height:100%}
.lp-android body:has([data-exercise-overlay]:not([hidden])){overflow:hidden;height:100dvh;padding:0}
.lp-android body:has([data-exercise-overlay]:not([hidden])) .site-header,
.lp-android body:has([data-exercise-overlay]:not([hidden])) .home-footer{display:none!important}
.lp-android [data-exercise-overlay]:not([hidden]){position:fixed!important;inset:0 0 calc(92px + env(safe-area-inset-bottom,0px))!important;height:auto!important;max-height:none!important;padding:0!important;overflow:hidden!important}
.lp-android [data-exercise-overlay]:not([hidden]) .lp-gp-exercise-panel{height:100%!important;max-height:100%!important;min-height:0!important;width:100%!important;margin:0!important;display:flex!important;flex-direction:column!important;overflow:auto!important;overscroll-behavior:contain}
.lp-android [data-exercise-overlay]:not([hidden]) .lp-gp-exercise-header{flex-shrink:0}
.lp-android [data-exercise-overlay]:not([hidden]) .lp-gp-exercise-body{flex:1 0 auto!important;overflow:visible!important}
/* Keep the APK exercise focused on the question, without the rule introduction. */
html.lp-android body .grammar-page [data-exercise-overlay]:not([hidden]) .lp-gp-exercise-panel .lp-gp-rule-box{display:none!important}
html.lp-android body .grammar-page [data-exercise-overlay]:not([hidden]) .lp-gp-exercise-panel .lp-gp-exercise-body{grid-template-rows:none!important;grid-auto-rows:auto!important;align-content:start}
/* Hide the library behind the focused exercise, including the navigation gap. */
.lp-android body:has([data-exercise-overlay]:not([hidden])) .grammar-page{visibility:hidden}
.lp-android body .grammar-page [data-exercise-overlay]:not([hidden]){visibility:visible}
/* Grammar follows the existing Lessons visual style. */
body .grammar-page .lp-gp-exercise-panel{font-family:'LP Live Inter',Inter,sans-serif!important;background:var(--surface)!important;border:1px solid var(--border);border-radius:18px!important}
body .grammar-page .lp-gp-exercise-panel .lp-gp-exercise-header{position:relative;display:grid!important;grid-template-columns:1fr auto!important;grid-template-rows:auto 4px!important;padding:19px 28px 12px!important;gap:12px!important;min-height:0!important;background:var(--surface)!important;border-bottom:0!important}
body .grammar-page .lp-gp-exercise-header::before{content:'Practice';font:600 13px/1.4 'LP Live Inter',Inter,sans-serif;color:var(--muted)}
body .grammar-page .lp-gp-exercise-header>span{grid-column:2;grid-row:1;color:var(--muted)!important;font:600 13px/1.4 'LP Live Inter',Inter,sans-serif!important;padding-right:30px}
body .grammar-page .lp-gp-exercise-header .lp-gp-icon-btn{position:absolute;right:12px;top:12px;width:28px!important;height:28px!important;min-height:28px;border:0!important;background:transparent!important;color:var(--muted)!important;font-size:22px!important}
body .grammar-page .lp-gp-exercise-progress{grid-column:1/-1;grid-row:2;height:4px!important;background:var(--track)!important;border-radius:4px!important}
body .grammar-page .lp-gp-exercise-progress i{background:var(--progress)!important;border-radius:4px!important}
body .grammar-page .lp-gp-exercise-panel .lp-gp-question-card{border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;margin:0!important;padding:18px!important}
body .grammar-page .lp-gp-question-card h3{font-family:'LP Live Playfair','Playfair Display',Georgia,serif!important;font-size:clamp(24px,7vw,32px)!important;font-weight:800!important;line-height:1.25!important;letter-spacing:-.4px;text-align:center}
body .grammar-page .lp-gp-question-card :is(input,button,label,p){font-family:'LP Live Inter',Inter,sans-serif!important}
/* Match the Lessons card, with feedback and actions at its foot. */
html.lp-android body .grammar-page [data-exercise-overlay]:not([hidden]){inset:12px 12px calc(104px + env(safe-area-inset-bottom,0px))!important}
html.lp-android body .grammar-page [data-exercise-overlay]:not([hidden]) .lp-gp-exercise-panel{border-radius:14px!important}
html.lp-android body .grammar-page [data-exercise-overlay]:not([hidden]) .lp-gp-exercise-body{flex:1 0 auto!important}
body .grammar-page .grammar-lesson-bottom{margin-top:auto;padding:16px 18px;background:var(--soft);border-top:1px solid var(--border);flex-shrink:0;font:400 13px/1.5 'LP Live Inter',Inter,sans-serif}
body .grammar-page .grammar-lesson-bottom[hidden]{display:none}
.grammar-ready strong{font-size:14px;color:var(--text)}.grammar-ready p{margin:3px 0 0;color:var(--muted)}
body .grammar-page .grammar-lesson-bottom .lp-gp-feedback{margin:0;min-height:0;font:400 13px/1.5 'LP Live Inter',Inter,sans-serif}
body .grammar-page .grammar-lesson-bottom .lp-gp-exercise-actions{position:static!important;display:flex!important;margin:14px 0 0!important;padding:0!important;background:transparent!important}
body .grammar-page .grammar-lesson-bottom .lp-gp-btn{width:100%!important;min-height:46px!important;border-radius:10px!important;font:700 15px/1.4 'LP Live Inter',Inter,sans-serif!important;padding:12px 18px!important}
body .grammar-page .grammar-lesson-bottom[data-state=success]{background:var(--success-bg)}
body .grammar-page .grammar-lesson-bottom[data-state=error]{background:var(--error-bg)}
body .grammar-page [data-answer-input]:focus{outline:2px solid var(--focus)!important;outline-offset:2px!important;box-shadow:none!important}
body .grammar-page [data-question-label]{font:400 14px/1.5 'LP Live Inter',Inter,sans-serif!important;text-transform:none!important;text-align:center;letter-spacing:0!important}
/* Bound the entire Grammar card to the same viewport frame as Lessons. */
html.lp-android body .grammar-page [data-exercise-overlay]:not([hidden]){box-sizing:border-box!important;top:12px!important;left:12px!important;right:12px!important;bottom:calc(104px + env(safe-area-inset-bottom,0px))!important;width:auto!important;min-width:0!important;height:auto!important;min-height:0!important;max-height:none!important;transform:none!important}
html.lp-android body .grammar-page [data-exercise-overlay]:not([hidden]) .lp-gp-exercise-panel{box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;height:100%!important;min-height:0!important;max-height:100%!important;margin:0!important;overflow:auto!important}
/* Browser exercises live in the page; Android retains its focused overlay. */
html:not(.lp-android) .grammar-inline-open> :not([data-exercise-overlay]):not(.grammar-breadcrumb){display:none!important}
html:not(.lp-android) .grammar-page>[data-exercise-overlay]:not([hidden]){position:static!important;inset:auto!important;z-index:auto!important;width:min(880px,calc(100% - 32px))!important;height:auto!important;min-height:0!important;max-height:none!important;margin:24px auto 40px!important;padding:0!important;overflow:visible!important;background:transparent!important;backdrop-filter:none!important;transform:none!important}
html:not(.lp-android) .grammar-page>[data-exercise-overlay] .lp-gp-exercise-panel{width:100%!important;max-width:none!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;border:1px solid var(--border)!important;border-radius:18px!important;overflow:hidden!important;display:block!important}
html:not(.lp-android) .grammar-page>[data-exercise-overlay] .lp-gp-exercise-body{height:auto!important;max-height:none!important;overflow:visible!important;display:block!important;padding:28px!important}
html:not(.lp-android) .grammar-page>[data-exercise-overlay] .lp-gp-rule-box{display:none!important}
html:not(.lp-android) .grammar-page>[data-exercise-overlay] .grammar-lesson-bottom{display:flex!important;align-items:center;justify-content:space-between;gap:20px;padding:24px 28px!important;position:static!important}
html:not(.lp-android) .grammar-page>[data-exercise-overlay] .lp-gp-exercise-actions{width:auto!important;min-width:146px;flex:0 0 auto;margin:0!important}
html:not(.lp-android) .grammar-page>[data-exercise-overlay] .grammar-lesson-bottom[hidden]{display:none!important}
@media(max-width:600px){html:not(.lp-android) .grammar-page>[data-exercise-overlay] .grammar-lesson-bottom{flex-wrap:wrap}html:not(.lp-android) .grammar-page>[data-exercise-overlay] .lp-gp-exercise-body{padding:18px!important}}
html:not(.lp-android) .grammar-page>[data-exercise-overlay] .lp-gp-exercise-panel{box-shadow:none!important}
html:not(.lp-android) .grammar-inline-title{margin:0 0 28px;padding:0;background:transparent}
html:not(.lp-android) .grammar-inline-title h1{font-size:40px;margin:8px 0;text-align:left}
html:not(.lp-android) .grammar-inline-title .eyebrow{color:var(--brand-accent);font-size:12px;font-weight:800;letter-spacing:.1em}
/* Match the Lessons card on the website, without changing Android. */
html:not(.lp-android) .grammar-page>[data-exercise-overlay] .grammar-edit-current{display:block;margin:0 0 12px!important;border-radius:0!important;font-size:14px}
html:not(.lp-android) .grammar-page>[data-exercise-overlay] .exercise-restart{display:block;margin:16px 18px!important}
html:not(.lp-android) .grammar-page>[data-exercise-overlay] [data-close-exercise]{display:none!important}
html:not(.lp-android) .grammar-page>[data-exercise-overlay] .lp-gp-exercise-body{padding:26px 54px 28px!important}
html:not(.lp-android) .grammar-page>[data-exercise-overlay] .lp-gp-question-card{padding:0!important;margin:0!important}
html:not(.lp-android) .grammar-page>[data-exercise-overlay] .grammar-ready{position:relative;padding-left:46px}
html:not(.lp-android) .grammar-page>[data-exercise-overlay] .grammar-ready::before{content:'→';position:absolute;left:0;top:4px;width:32px;height:32px;display:grid;place-items:center;border:1px solid var(--border);border-radius:50%;font-size:22px;color:var(--text)}
html:not(.lp-android) .grammar-page>[data-exercise-overlay] .grammar-ready p{margin:5px 0 0}
html:not(.lp-android) .grammar-page>[data-exercise-overlay] [data-check-answer]:disabled{background:var(--disabled)!important;color:var(--disabled-text)!important;border-color:var(--disabled)!important;cursor:default}
.grammar-back-units{margin-bottom:18px}
@media(max-width:600px){html:not(.lp-android) .grammar-page>[data-exercise-overlay] .lp-gp-exercise-body{padding:22px!important}}
