body:has(.phrasebook-page){--bg:#fbfcf3;--panel:#fff;--ink:#12343b;--muted:#52666c;--line:#d8e7d1;--accent:#378445;--soft:#e9f5df;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:var(--bg)}body:has(.phrasebook-page) .container{max-width:none;padding:0}body:has(.phrasebook-page) nav a[aria-current=page]{background:var(--accent);color:#fff;border-radius:12px}.phrasebook-page{background:linear-gradient(#edf7e9,#fbfcf3 550px);min-height:70vh}.phrasebook-hero{isolation:isolate;min-height:230px;padding:42px max(24px,50vw - 590px);position:relative;overflow:hidden}.phrasebook-hero>img{z-index:-2;object-fit:cover;object-position:right 48%}.phrasebook-hero:after{content:"";z-index:-1;background:linear-gradient(90deg,#f5fbefed,#f5fbefa6 48%,#f5fbef22);position:absolute;inset:0}.phrasebook-hero h1{letter-spacing:-1.4px;margin:8px 0;font-size:44px}.phrasebook-hero p{max-width:550px;margin:0}.phrasebook-content{max-width:1228px;margin:auto;padding:24px}.phrasebook-search{max-width:700px;margin-bottom:24px}.phrasebook-search label{margin-bottom:7px;font-size:13px;font-weight:600;display:block}.phrasebook-search input{border:1px solid var(--line);background:#fff;border-radius:16px;width:100%;margin:0;padding:14px 18px}.phrasebook-layout{grid-template-columns:235px minmax(0,1fr);align-items:start;gap:28px;display:grid}.phrasebook-topics{border:1px solid var(--line);background:#fff;border-radius:20px;padding:16px;position:sticky;top:16px}.phrasebook-topics h2{margin:0 0 12px;font-size:18px}.phrasebook-topics button{text-align:left;width:100%;color:var(--ink);background:0 0;border:0;border-radius:12px;justify-content:space-between;gap:12px;margin:3px 0;padding:12px;font-size:12px;display:flex}.phrasebook-topics button[aria-pressed=true]{color:#286437;background:#e7f3df;font-weight:600}.phrasebook-topics button:hover{background:#f0f7eb}.phrasebook-topics span{font-variant-numeric:tabular-nums}.phrasebook-mobile-topics{display:none}.phrasebook-layout section{min-width:0}.phrasebook-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:20px;display:grid}.phrasebook-card{overflow-wrap:anywhere;background:#fff;border:1px solid #e0ebda;border-radius:20px;min-width:0;padding:18px 20px;box-shadow:0 6px 22px #37562706}.phrasebook-card-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px;display:flex}.phrasebook-card-heading>span:first-child{color:var(--muted);letter-spacing:1px;font-size:9px}.phrasebook-layout .button{color:#fff}.phrasebook-card h2{letter-spacing:0;margin:0 0 6px;font-size:17px;line-height:1.4}.phrasebook-lak{color:#2d6b3d;margin:0 0 10px;font-size:25px;line-height:1.4}.phrasebook-context{background:#f1f7eb;border-radius:8px;margin:8px 0;padding:6px 10px;font-size:13px}.phrasebook-empty{background:#fff;border-radius:18px;padding:24px}.phrasebook-empty h2{font-size:22px}.phrasebook-compact-heading{max-width:1228px;margin:auto;padding:28px 24px 0}.phrasebook-compact-heading h1{letter-spacing:-1px;margin:0;font-size:34px;line-height:1.2}.phrasebook-compact-heading p{color:#63766a;margin:8px 0 0;font-size:14px}.phrasebook-view-tabs{gap:8px;margin-bottom:18px;display:flex}.phrasebook-view-tabs button{color:#31543d;background:#fff;border:1px solid #d6e5cf;border-radius:14px;min-height:44px;padding:10px 18px;font-size:14px}.phrasebook-view-tabs button[aria-pressed=true]{color:#fff;background:#327646;border-color:#327646}.dialogue-topic-strip{overscroll-behavior-x:contain;scrollbar-width:thin;gap:10px;max-width:100%;margin-bottom:20px;padding:4px 0 16px;display:flex;overflow-x:auto}.dialogue-topic-strip button{text-align:left;color:#31543d;background:#fff;border:1px solid #dce8d4;border-radius:20px;flex-direction:column;flex:0 0 116px;align-items:flex-start;gap:10px;min-height:108px;padding:14px;display:flex}.dialogue-topic-strip button[aria-pressed=true]{background:#e3f1d9;border-color:#7aab65;box-shadow:0 4px 14px #3762300c}.dialogue-topic-strip span{font-size:29px;line-height:1.2}.dialogue-topic-strip strong{font-size:13px;line-height:1.3}.dialogue-public-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.dialogue-public-card{text-align:left;color:#254c35;background:#fff;border:1px solid #dce8d4;border-radius:20px;grid-template-columns:48px 1fr;align-items:center;gap:4px 14px;min-height:100px;padding:18px;display:grid}.dialogue-public-card>span{grid-row:span 2;font-size:32px}.dialogue-public-card strong{font-size:19px}.dialogue-public-card small{color:#6a7a6e;font-size:12px}.dialogue-empty{text-align:center;background:#ffffffa8;border:1px dashed #cddfc5;border-radius:24px;padding:32px 20px}.dialogue-empty>span{font-size:40px}.dialogue-empty h2{font-size:23px;line-height:1.3}.dialogue-empty p{color:#65746a;max-width:430px;margin:12px auto 22px;font-size:14px}.dialogue-empty .button{min-height:44px}.dialogue-editor-columns{grid-template-columns:260px minmax(0,1fr);margin-top:24px}.dialogue-editor-columns aside{max-height:80dvh;overflow:auto}.dialogue-editor-columns fieldset{border:0;min-width:0;margin:0;padding:0}.dialogue-editor-columns label{font-size:13px;display:block}.dialogue-editor-columns input:not([type=checkbox]),.dialogue-editor-columns textarea,.dialogue-editor-columns select{color:#244c34;background:#fff;border:1px solid #d8e5d0;border-radius:12px;width:100%;min-height:44px;margin:5px 0 14px;padding:10px;font-size:16px}.dialogue-editor-columns textarea{resize:vertical;min-height:90px}.dialogue-turn-editor{background:#f5f9ef;border:1px solid #d7e5cd;border-radius:20px;margin:16px 0;padding:16px}.dialogue-turn-editor .dialogue-order{flex-wrap:wrap}.dialogue-turn-editor .dialogue-order strong{margin-right:auto}.dialogue-turn-editor select{width:66px;margin:0}.dialogue-editor-columns .dialogue-confirm{align-items:center;gap:10px;min-height:44px;margin:24px 0;display:flex}.dialogue-confirm input{flex-shrink:0;width:20px;height:20px}.dialogue-editor-columns details{margin-top:22px}.dialogue-editor-columns summary{cursor:pointer;min-height:44px}.dialogue-pick[aria-pressed=true]{background:#e3f1d9;border-color:#7aab65}.dialogue-avatar small{text-align:center;color:#63776a;font-size:11px;display:block}.dialogue-bubble .lesson-audio{align-items:center;gap:8px;display:flex}@media (max-width:767px){.phrasebook-compact-heading{padding:20px 16px 0}.phrasebook-compact-heading h1{font-size:28px}.phrasebook-compact-heading p{font-size:13px}.dialogue-public-list,.dialogue-editor-columns{grid-template-columns:1fr}.dialogue-editor-columns aside{border-bottom:1px solid #dce8d4;max-height:300px;padding-bottom:12px}.dialogue-turn-editor{padding:12px}.dialogue-topic-strip{margin-right:0}.dialogue-workspace .dialogue-actions .button{flex:1;min-width:140px}}.dialogue-editor{max-width:1100px;margin:auto;padding:24px}.dialogue-editor h1{font-size:30px}.dialogue-draft-notice{background:#e8f3df;border-radius:14px;padding:14px}.dialogue-workspace{grid-template-columns:1fr 1fr;gap:24px;display:grid}.dialogue-workspace>section{min-width:0}.dialogue-pick{text-align:left;color:#254936;overflow-wrap:anywhere;background:#fff;border:1px solid #dce7d4;border-radius:14px;flex-direction:column;width:100%;margin:8px 0;padding:14px;display:flex}.dialogue-pick small{color:#387443}.dialogue-actions{flex-wrap:wrap;gap:10px;display:flex}.dialogue-actions button,.dialogue-order button{min-height:44px}.dialogue-line{align-items:flex-start;gap:8px;margin:14px 0;display:flex}.dialogue-line.speaker-1{flex-direction:row-reverse}.dialogue-avatar{flex-shrink:0;font-size:24px}.dialogue-bubble{overflow-wrap:anywhere;background:#fff;border:1px solid #dce7d4;border-radius:3px 20px 20px;max-width:85%;padding:14px}.speaker-1 .dialogue-bubble{background:#e5f2de;border-radius:20px 3px 20px 20px}.dialogue-bubble p{margin:0 0 6px}.dialogue-bubble p[lang=lbe]{color:#28623a;font-size:23px}.dialogue-bubble small{color:#66766a;display:block}.dialogue-order{align-items:center;gap:6px;margin:8px 0;display:flex}.dialogue-order span{overflow-wrap:anywhere;flex:1;min-width:0}.dialogue-order button{color:#254936;background:#fff;border:1px solid #dce7d4;border-radius:10px;min-width:44px}@media (max-width:767px){.dialogue-workspace{grid-template-columns:1fr}.dialogue-editor{padding:16px}}.phrasebook-mobile-discovery{display:none}.phrasebook-topic-heading{align-items:center;gap:12px;margin-bottom:16px;display:flex}.phrasebook-topic-heading>span{background:#e9f4e1;border-radius:18px;padding:10px;font-size:30px}.phrasebook-topic-heading h2{margin:0;font-size:22px;line-height:1.25}.phrasebook-topic-heading p{color:#627267;margin:5px 0 0;font-size:13px}.phrasebook-topic-heading button{background:#edf4e7;border:0;border-radius:50%;min-width:44px;min-height:44px;margin-left:auto}.sheet-search{margin-top:18px;font-size:13px;display:block}.sheet-search input{color:#163c30;background:#f3f7ef;border:1px solid #dce8d6;border-radius:14px;width:100%;min-height:48px;margin:6px 0 12px;padding:12px}.phrasebook-sheet-topics{gap:6px;display:grid}.phrasebook-sheet-topics button{text-align:left;color:#284c35;background:#f5f8f1;border:0;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:12px;display:flex}.phrasebook-sheet-topics button[aria-pressed=true]{background:#ddedda}.phrasebook-sheet-topics small{white-space:nowrap}.phrasebook-no-audio{color:#78857d;font-size:11px}.phrasebook-card .lesson-audio{align-items:center;gap:10px;display:flex}.phrasebook-card .lesson-audio-button,.dialogue-bubble .lesson-audio-button{color:#347541;background:#e9f5e4;border:1px solid #cfdfc7;border-radius:50%;flex-shrink:0;place-items:center;width:48px;height:48px;display:grid}.phrasebook-card .lesson-audio-button svg,.dialogue-bubble .lesson-audio-button svg{width:26px;height:26px}.phrasebook-card .lesson-audio-caption,.dialogue-bubble .lesson-audio-caption{color:#63756b;font-size:11px}@keyframes phrase-appear{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:no-preference){.phrasebook-list{animation:.2s ease-out phrase-appear}}@media (max-width:767px){.phrasebook-hero{min-height:0!important;padding:20px 16px 4px!important}.phrasebook-hero>img,.phrasebook-hero:after,.phrasebook-hero p{display:none}.phrasebook-hero h1{letter-spacing:-.7px;margin:0;font-size:28px!important}.phrasebook-content{padding:14px 16px!important}.phrasebook-search label{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.phrasebook-search input{min-height:50px;font-size:16px;box-shadow:0 3px 12px #29492a06}.phrasebook-mobile-discovery{margin:20px 0;display:block}.phrasebook-discovery-title{justify-content:space-between;align-items:center;gap:8px;font-size:13px;display:flex}.phrasebook-discovery-title button{color:#347642;background:0 0;border:0;flex-shrink:0;min-height:44px;padding:6px 10px;font-weight:600}.phrasebook-chips{overscroll-behavior-x:contain;scrollbar-width:thin;gap:8px;max-width:100%;padding:4px 0 10px;display:flex;overflow-x:auto}.phrasebook-chips button{white-space:nowrap;color:#31543d;background:#fff;border:1px solid #dbe8d1;border-radius:15px;align-items:center;gap:7px;min-height:44px;padding:10px 14px;font-size:13px;display:flex}.phrasebook-chips button[aria-pressed=true]{background:#dfeeda;border-color:#9cbf8e}.phrasebook-chips span{font-size:20px}.phrasebook-layout>aside{display:none}.phrasebook-topic-heading h2{font-size:21px}.phrasebook-card{flex-direction:column;display:flex}.phrasebook-card-heading{order:0;margin-bottom:6px}.phrasebook-card .phrasebook-lak{order:1;margin:0 0 4px;font-size:24px}.phrasebook-card h2{color:#536b5c;order:2;font-size:16px;font-weight:400}.phrasebook-card .phrasebook-context{order:3}.phrasebook-card .lesson-audio,.phrasebook-no-audio{order:4;margin-top:8px}}@media (max-width:1000px){.phrasebook-layout{grid-template-columns:200px minmax(0,1fr);gap:18px}.phrasebook-list{grid-template-columns:minmax(0,1fr)}}@media (max-width:767px){.phrasebook-hero{min-height:170px;padding:24px 18px}.phrasebook-hero h1{font-size:32px}.phrasebook-hero p{font-size:13px}.phrasebook-hero .eyebrow{font-size:9px}.phrasebook-content{padding:18px 14px}.phrasebook-search{margin-bottom:14px}.phrasebook-layout{grid-template-columns:minmax(0,1fr);gap:8px}.phrasebook-topics{display:none}.phrasebook-mobile-topics{font-size:12px;display:block}.phrasebook-mobile-topics select{background:#edf6e6;border-radius:12px;margin:5px 0}.phrasebook-card{padding:15px 16px}.phrasebook-list{gap:10px}body:has(.phrasebook-page) nav{justify-content:flex-start}}
