@charset "UTF-8";
:root{color-scheme:light;--navy:#173477;--ink:#172d52;--red:#ae2335;--orange:#f77b42;--cream:#fcfaf5;--muted:#647187;--line:#dfe4ec;--bluewash:#eef3fb;--radius:20px;font-family:"Segoe UI",Arial,sans-serif;font-synthesis:none;color:var(--ink);background:var(--cream)}
*{box-sizing:border-box}body{margin:0;min-width:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}img,svg{max-width:100%}p{line-height:1.7;margin:.5rem 0 1rem}h1,h2,h3{line-height:1.1;letter-spacing:-.045em;margin:0 0 1rem}h1{font-size:clamp(2.7rem,7vw,5.6rem);font-weight:800}h2{font-size:clamp(1.7rem,4vw,2.7rem)}h3{font-size:1.3rem;letter-spacing:-.025em}small,.muted{color:var(--muted)}.skip{position:fixed;top:-100px;left:20px;padding:15px;background:white;z-index:10}.skip:focus{top:10px}:focus-visible{outline:3px solid #dc6b19;outline-offset:4px}button,input,select,textarea{border-radius:10px}button{color:inherit}.site-header{max-width:1240px;margin:auto;min-height:104px;display:flex;align-items:center;justify-content:space-between;padding:22px 32px;gap:24px}.brand{display:flex;align-items:center;gap:9px;flex-shrink:0}.brand strong{font-size:27px;letter-spacing:-1.5px;line-height:1}.brand-dot{color:var(--red)}.brand small{display:flex;align-items:center;gap:8px;font-size:9px;font-weight:750;letter-spacing:2px;margin-top:6px;color:var(--navy)}.tiny-flag{display:inline-block;width:20px;height:13px;background:linear-gradient(#ae2335 0 33.33%,#fff 33.33% 66.66%,#2876cb 66.66%);border:1px solid #d6d9df;border-radius:2px;vertical-align:middle}nav{display:flex;align-items:center;gap:30px;font-size:14px;font-weight:600} .site-header nav>a:not(.button):hover{color:var(--red)}.button{display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:50px;padding:13px 24px;background:var(--navy);color:white;border:1.5px solid var(--navy);border-radius:11px;font-weight:650;font-size:15px;line-height:1.3;transition:background .15s,transform .15s;text-align:center}.button:hover{background:#0d245a}.button.outline,.button.secondary{background:transparent;color:var(--navy);border-color:#b4bfd3}.button.outline:hover,.button.secondary:hover{background:var(--bluewash)}.button.orange{background:var(--orange);border-color:var(--orange);color:#351c16}.button.small{min-height:44px;padding:10px 17px;font-size:14px}.button.danger{background:white;border-color:var(--red);color:var(--red)}.text-button{border:0;background:transparent;padding:10px 0;color:var(--navy);font-weight:650;text-decoration:underline;text-underline-offset:4px}.icon{width:20px;height:20px;flex:0 0 20px;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.hero{max-width:1240px;margin:24px auto 55px;padding:30px 32px 0;display:grid;grid-template-columns:1.02fr 1fr;gap:30px;align-items:center}.eyebrow{font-size:11px;font-weight:750;letter-spacing:1.8px;text-transform:uppercase;display:flex;align-items:center;gap:10px;margin-bottom:25px}.eyebrow:before{content:"";width:22px;height:2px;background:var(--red)}.hero h1{max-width:650px}.accent{color:var(--red);position:relative;display:inline-block}.accent:after{content:"";display:block;height:5px;border-radius:50%;background:#f3b274;position:absolute;bottom:-4px;left:0;right:0;transform:rotate(-2deg)}.hero-copy>p{max-width:420px;font-size:17px;color:var(--muted);margin:28px 0}.actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px}.hero-note{display:flex;gap:8px;align-items:center;font-size:12px;color:var(--muted);margin-top:18px}.hero-art{position:relative;min-height:490px;display:flex;align-items:flex-end;justify-content:center;padding-bottom:5px}.canal{width:100%;position:absolute;bottom:0;left:0}.art-card{position:absolute;background:#fff;box-shadow:0 15px 40px #17347715;border:1px solid #1734770c;border-radius:19px;padding:25px 28px;left:11%;top:40px;width:68%;transform:rotate(-7deg);z-index:1}.art-card.back{top:67px;left:20%;transform:rotate(8deg);background:var(--navy);color:white}.art-card.front .overline{font-size:10px;letter-spacing:2px;color:var(--muted);font-weight:700}.art-card.front strong{display:block;font-size:39px;letter-spacing:-1.6px;margin:20px 0 8px}.art-card.front .pronunciation{font-size:13px;color:var(--muted)}.art-card.front .card-rule{height:1px;background:var(--line);margin:18px 0}.art-card.front .translation{font-size:18px;font-weight:600;display:flex;justify-content:space-between;align-items:center}.art-card.front .card-chip{font-size:10px;padding:5px 9px;border-radius:20px;background:var(--bluewash);color:var(--navy)}.floating-label{position:absolute;right:0;top:24px;z-index:2;background:#fbd6a6;border-radius:30px;padding:12px 20px;font-size:12px;font-weight:650;transform:rotate(7deg)}.star{position:absolute;left:4%;top:8px;color:var(--orange);font-size:42px;line-height:1}.feature-strip{max-width:1176px;margin:0 auto;display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:23px 0;gap:20px}.feature-strip>div{display:flex;align-items:center;gap:14px;justify-content:center}.feature-strip .icon{width:27px;height:27px;color:var(--red)}.feature-strip strong{display:block;font-size:13px}.feature-strip small{font-size:11px;display:block;margin-top:4px}.section{max-width:1240px;margin:90px auto;padding:0 32px}.section-head{display:flex;justify-content:space-between;gap:28px;align-items:end;margin-bottom:32px}.section-head p{max-width:360px;color:var(--muted);font-size:14px;margin:0}.section-head h2{max-width:490px;margin-bottom:0}.steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.step{border-top:2px solid var(--line);padding:25px 0 0}.step-num{font-size:12px;color:var(--red);font-weight:750;display:block;margin-bottom:25px}.step p{color:var(--muted);font-size:14px;max-width:310px}.teacher-banner{background:var(--navy);color:#fff;border-radius:25px;padding:44px;display:grid;grid-template-columns:1.4fr 1fr;align-items:center;gap:32px}.teacher-banner p{color:#d9e2f5;font-size:15px;max-width:510px}.teacher-banner .eyebrow{color:#f7c0a3}.teacher-banner .eyebrow:before{background:var(--orange)}.teacher-banner .banner-side{display:flex;justify-content:flex-end}.site-footer{border-top:1px solid var(--line);max-width:1176px;margin:70px auto 0;padding:35px 0;display:grid;grid-template-columns:1fr 1fr;gap:25px}.footer-brand{font-size:20px;font-weight:750;letter-spacing:-.7px}.footer-brand span{color:var(--red)}.site-footer p{font-size:12px;color:var(--muted);margin:8px 0}.footer-links{display:flex;flex-wrap:wrap;gap:16px 24px;font-size:12px;justify-content:flex-end;align-content:flex-start;line-height:1.7}.footer-links a:hover{text-decoration:underline}.site-footer>small{grid-column:1/-1;font-size:10px}.page{max-width:1176px;margin:35px auto 65px;padding:0 32px}.page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:22px;margin-bottom:30px}.page h1{font-size:clamp(2rem,5vw,3.5rem)}.page-head p{color:var(--muted);margin:0}.breadcrumb{color:var(--muted);font-size:12px;margin-bottom:24px;display:flex;align-items:center;gap:10px}.breadcrumb a{text-decoration:underline}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:28px;margin-bottom:22px;min-width:0}.panel h2{font-size:1.45rem}.panel p{color:var(--muted);font-size:14px}.narrow{max-width:510px;margin:50px auto;padding:0 22px}.narrow h1{font-size:2.25rem}.auth-top{text-align:center;margin-bottom:30px}.auth-top .tiny-flag{width:32px;height:21px;margin-bottom:15px}.field{display:flex;flex-direction:column;gap:7px;min-width:0;margin-bottom:18px}label,.field-label{font-size:13px;font-weight:650}input,textarea,select{width:100%;min-width:0;padding:13px 14px;border:1.5px solid #cdd5e2;background:white;color:var(--ink);line-height:1.4}input{min-height:48px}textarea{resize:vertical;min-height:100px}input::placeholder,textarea::placeholder{color:#8792a3}input:focus,textarea:focus,select:focus{border-color:var(--navy)}.field small{font-size:11px;line-height:1.6}.full{width:100%}.form-message{color:var(--red);font-size:13px;line-height:1.6;margin:12px 0;white-space:pre-wrap}.notice{padding:16px 20px;border:1px solid #ecc895;background:#fff4e3;border-radius:12px;font-size:13px;line-height:1.65;margin:20px 0}.notice.blue{background:var(--bluewash);border-color:#c4d2ed}.app-nav{display:flex;border-bottom:1px solid var(--line);margin-bottom:32px;gap:25px;overflow-wrap:anywhere}.app-nav a{padding:16px 0;font-size:13px;font-weight:650;display:flex;gap:8px;align-items:center;border-bottom:3px solid transparent}.app-nav a.active{border-color:var(--red);color:var(--red)}.cards-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.lesson-tile{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:25px;display:flex;flex-direction:column;gap:16px;min-width:0}.lesson-tile p{font-size:13px;color:var(--muted);margin:0}.lesson-tile h2{font-size:1.5rem;margin:0;overflow-wrap:anywhere}.lesson-tile .tile-actions{margin-top:auto;display:flex;gap:10px;flex-wrap:wrap}.pill{display:inline-flex;align-items:center;gap:7px;padding:6px 11px;border-radius:20px;font-size:10px;font-weight:700;letter-spacing:.3px;background:var(--bluewash);color:var(--navy);width:fit-content}.pill.orange{background:#fff0e1;color:#8d4119}.tile-top{display:flex;justify-content:space-between;gap:10px}.tile-count{font-size:12px;color:var(--muted)}.empty{text-align:center;padding:50px 25px;border:1px dashed #bfc9db;border-radius:20px}.empty .icon{width:36px;height:36px;margin-bottom:15px}.empty p{color:var(--muted);font-size:14px}.two-col{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:24px}.check{display:flex;align-items:flex-start;gap:12px;font-weight:400;font-size:13px;line-height:1.7;margin:18px 0}.check input{width:19px;min-width:19px;min-height:19px;height:19px;padding:0;margin-top:3px;accent-color:var(--navy)}.check a{text-decoration:underline}.check span{min-width:0}.batch-intro{display:flex;align-items:center;gap:14px;padding:18px 22px;background:var(--bluewash);border-radius:12px;font-size:13px;margin:24px 0}.batch-intro .icon{flex-shrink:0}.batch-list{display:grid;gap:22px}.word-entry{margin:0;padding:22px;background:#fff;border:1.5px solid #d5deeb;border-left:4px solid var(--navy);border-radius:15px;min-width:0}.word-entry:focus-within{border-color:var(--navy);box-shadow:0 0 0 3px #1734770a}.word-entry legend{font-size:11px;font-weight:750;letter-spacing:1px;color:var(--navy);background:var(--cream);border:1px solid var(--line);border-radius:20px;padding:6px 12px}.word-entry .field{margin-bottom:15px}.word-entry .field:last-child{margin-bottom:0}.word-entry details{margin-top:10px}.word-entry summary{font-size:12px;color:var(--muted);cursor:pointer;min-height:32px;line-height:32px}.word-entry details[open] summary{margin-bottom:10px}.batch-layout{display:grid;grid-template-columns:minmax(0,680px) minmax(0,1fr);gap:35px;align-items:start}.batch-help{position:sticky;top:24px;background:#f0ece3;border-radius:18px;padding:25px}.batch-help p{font-size:13px;color:var(--muted)}.batch-help h3{font-size:1.15rem}.save-bar{position:sticky;bottom:12px;background:white;border:1px solid var(--line);border-radius:14px;padding:14px;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:22px;box-shadow:0 4px 25px #17347712;z-index:2}.save-bar small{font-size:12px}.word-list{display:grid;gap:12px}.word-row{display:flex;justify-content:space-between;align-items:center;background:white;border:1px solid var(--line);padding:18px 22px;border-radius:13px;gap:14px}.word-row strong{display:block;overflow-wrap:anywhere}.word-row p{margin:5px 0 0;color:var(--muted);font-size:13px;overflow-wrap:anywhere}.word-row small{font-size:11px}.word-row .row-actions{display:flex;gap:14px;flex-shrink:0}.icon-button{background:transparent;border:1px solid var(--line);padding:10px;min-height:44px;min-width:44px;display:flex;align-items:center;justify-content:center}.toolbar{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin:20px 0}.toolbar input{flex:1;min-width:min(200px,100%)}.study-wrap{max-width:660px;margin:35px auto}.study-top{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);margin-bottom:18px}.study-card{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:340px;background:white;border:1px solid var(--line);border-bottom:5px solid var(--navy);border-radius:24px;padding:35px 25px;text-align:center;width:100%;box-shadow:0 14px 40px #17347708}.study-card .study-word{font-size:clamp(2rem,6vw,3.5rem);letter-spacing:-1px;font-weight:750;overflow-wrap:anywhere;max-width:100%}.study-card .study-label{font-size:10px;letter-spacing:2px;color:var(--muted);margin-bottom:36px}.study-card .study-phonetic{font-size:15px;color:var(--muted);margin-top:12px}.study-card .study-hint{font-size:12px;color:var(--muted);margin-top:40px}.study-controls{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:22px}.study-controls .full{grid-column:1/-1}.progress-track{height:5px;background:var(--line);border-radius:10px;margin:20px 0;overflow:hidden}.progress-track progress{width:100%;height:5px;display:block;appearance:none;border:0}.progress-track progress::-webkit-progress-bar{background:var(--line)}.progress-track progress::-webkit-progress-value{background:var(--orange)}.plan-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;max-width:800px;margin:35px auto}.plan-card{background:white;border:1px solid var(--line);padding:30px;border-radius:20px;display:flex;flex-direction:column;align-items:flex-start;gap:15px}.plan-card.featured{border:2px solid var(--navy);background:var(--bluewash)}.plan-card h2{margin:0}.plan-price{font-size:30px;font-weight:750;letter-spacing:-1px}.plan-card ul{padding-left:20px;font-size:13px;line-height:2;color:var(--muted);margin:0 0 10px}.plan-card .button{margin-top:auto;width:100%}.legal-copy{white-space:pre-wrap;line-height:1.85;font-size:14px;overflow-wrap:anywhere}.data-list{display:grid;gap:0}.data-item{padding:18px 0;border-bottom:1px solid var(--line);display:flex;gap:15px;justify-content:space-between;align-items:flex-start;min-width:0}.data-item:last-child{border-bottom:0}.data-item strong,.data-item small{display:block;overflow-wrap:anywhere}.data-item small{font-size:12px;margin-top:5px}.admin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:25px}.metric{padding:24px;background:white;border:1px solid var(--line);border-radius:16px}.metric strong{display:block;font-size:32px;margin-bottom:8px}.metric small{font-size:12px}.status{font-size:11px;font-weight:650;background:#f2f4f8;border-radius:16px;padding:6px 10px;white-space:nowrap}.status.released{background:#e8f2e9;color:#315a3b}.status.blocked{background:#fbeaec;color:var(--red)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.span-2{grid-column:1/-1}.loading{text-align:center;padding:100px 20px;color:var(--muted)}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--navy);color:white;border-radius:12px;padding:14px 22px;box-shadow:0 5px 25px #17347725;font-size:13px;z-index:10;max-width:calc(100% - 32px);display:none}#toast.visible{display:block}dialog{border:1px solid var(--line);border-radius:22px;padding:28px;max-width:520px;width:calc(100% - 32px);max-height:calc(100dvh - 48px);overflow:auto;color:var(--ink);background:var(--cream)}dialog::backdrop{background:#10265070}dialog h2{font-size:1.7rem}.dialog-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;margin-bottom:20px}.dialog-head h2{margin:0}.dialog-head .icon-button{min-height:36px;min-width:36px;padding:6px}.import-preview{max-height:460px;overflow-y:auto;display:grid;gap:18px;margin:20px 0}.import-preview .word-entry{padding:15px}.text-center{text-align:center}.account-details{font-size:14px;line-height:1.8}.account-details dt{font-weight:700}.account-details dd{margin:0 0 15px;overflow-wrap:anywhere}[hidden]{display:none!important}
@media(min-width:1500px){.hero{margin-top:50px}.hero-art{min-height:530px}.art-card{top:45px}.art-card.back{top:72px}}
@media(max-width:1000px){.hero h1{font-size:4.4rem}.hero-art{min-height:420px}.art-card.front strong{font-size:32px}.art-card{left:5%;width:78%;padding:21px}.art-card.back{left:13%}.floating-label{right:0;font-size:10px;padding:10px}.cards-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.feature-strip,.site-footer{margin-left:32px;margin-right:32px}.feature-strip>div{justify-content:flex-start}.hero{gap:10px}.batch-layout{grid-template-columns:minmax(0,1fr) 240px}}
@media(max-width:700px){.site-header{padding:16px 20px;min-height:84px;gap:10px}.brand img{width:36px;height:40px}.brand strong{font-size:23px}.brand small{font-size:7px;letter-spacing:1.7px}.brand{gap:6px}nav{gap:10px} .site-header nav>a:not(.button){display:none}nav .button.small{padding:10px 12px;font-size:12px;min-height:42px;gap:7px}.hero{display:flex;flex-direction:column;align-items:stretch;margin:14px auto 30px;padding:20px 22px 0;gap:5px}.hero h1{font-size:clamp(2.8rem,11.5vw,4.4rem);max-width:550px}.eyebrow{font-size:9px;letter-spacing:1.5px;margin-bottom:22px}.hero-copy>p{font-size:15px;line-height:1.75;margin:24px 0;max-width:440px}.hero .actions .button{min-height:49px;font-size:13px;padding:12px 18px}.hero-note{font-size:11px;margin-top:16px}.hero-art{min-height:390px;max-width:480px;width:100%;align-self:center;margin-top:22px}.art-card{top:20px;left:10%;width:70%;padding:19px 23px}.art-card.back{top:39px;left:19%}.art-card.front strong{font-size:32px;margin:14px 0 7px}.art-card.front .card-rule{margin:14px 0}.art-card.front .translation{font-size:16px}.art-card.front .pronunciation{font-size:11px}.floating-label{top:4px;font-size:10px;right:0}.star{font-size:33px;left:1%;top:1px}.feature-strip{margin:0 22px;padding:22px 0;grid-template-columns:1fr;gap:20px}.feature-strip>div{justify-content:flex-start}.feature-strip strong{font-size:13px}.feature-strip small{font-size:11px}.section{margin:55px auto;padding:0 22px}.section-head{flex-direction:column;align-items:flex-start;gap:20px}.section-head h2{font-size:2.1rem}.section-head p{font-size:13px}.steps{grid-template-columns:1fr;gap:25px}.step{padding-top:22px;min-width:0}.step-num{margin:0 0 14px;line-height:1.5;overflow-wrap:anywhere}.step h3{font-size:1.2rem}.step p{font-size:13px;margin:0;max-width:none}.teacher-banner{padding:28px 24px;grid-template-columns:1fr;gap:16px;border-radius:20px}.teacher-banner h2{font-size:2rem}.teacher-banner p{font-size:13px}.teacher-banner .banner-side{justify-content:flex-start}.site-footer{margin:40px 22px 0;padding:28px 0;grid-template-columns:1fr;gap:20px}.footer-links{justify-content:flex-start;gap:12px 20px}.site-footer>small{font-size:9px}.page{margin-top:20px;padding:0 20px}.page-head{flex-direction:column;align-items:flex-start;gap:16px;margin-bottom:24px}.page-head h1{font-size:2.3rem}.page-head p{font-size:13px}.app-nav{gap:18px;flex-wrap:wrap;row-gap:0;margin-bottom:25px}.app-nav a{font-size:11px;padding:12px 0;gap:5px}.app-nav .icon{width:16px;height:16px;flex-basis:16px}.cards-grid,.two-col,.batch-layout,.plan-grid{grid-template-columns:1fr}.lesson-tile{padding:22px}.panel{padding:21px}.batch-help{position:static;grid-row:1;padding:18px 21px}.batch-help p{margin:5px 0 0;font-size:12px}.batch-help h3{font-size:1rem;margin-bottom:8px}.batch-help .help-extra{display:none}.batch-layout{gap:23px}.word-entry{padding:19px 17px;border-left-width:4px}.word-entry legend{font-size:10px}.word-entry label{font-size:12px}.batch-intro{font-size:12px;padding:15px;line-height:1.6;margin:20px 0}.save-bar{bottom:8px;padding:12px;gap:10px}.save-bar .button{font-size:12px;padding:12px 15px;gap:5px}.save-bar small{font-size:10px}.word-row{padding:17px 15px;gap:10px}.word-row .row-actions{gap:7px}.word-row .icon-button{min-height:40px;min-width:40px;padding:8px}.word-row strong{font-size:14px}.toolbar .button{font-size:12px;padding:11px 14px;min-height:44px}.toolbar{gap:9px}.toolbar input{flex-basis:100%}.study-card{min-height:300px;padding:30px 18px}.study-card .study-word{font-size:2.25rem}.study-controls .button{font-size:13px;padding:13px}.plan-grid{margin:25px auto}.plan-card{padding:25px}.admin-grid{grid-template-columns:1fr;gap:10px}.metric{display:flex;align-items:center;gap:17px;padding:17px 21px}.metric strong{font-size:26px;margin:0}.form-grid{grid-template-columns:1fr}.span-2{grid-column:auto}.data-item{flex-wrap:wrap}.notice{font-size:12px;padding:14px 16px}.narrow{margin:28px auto}.narrow .panel{padding:22px}.narrow h1{font-size:2rem}.breadcrumb{font-size:11px}.legal-copy{font-size:13px}dialog{padding:22px}.button{max-width:100%}}
@media(max-width:360px){.hero h1{font-size:2.75rem}.hero-art{min-height:350px}.hero .actions{gap:9px}.hero .actions .button{padding:12px 14px}.art-card{width:75%;left:6%}.art-card.back{left:14%}.brand strong{font-size:21px}.site-header{padding:14px 16px}.hero,.page{padding-left:17px;padding-right:17px}.app-nav{gap:15px}.app-nav a{font-size:10px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

main:focus{outline:none}.skip{z-index:20}.skip:not(:focus){transform:translateY(-150px)}
.import-example{padding:18px;background:var(--bluewash);border:1px solid var(--line);border-radius:12px;margin:20px 0}
.import-example h3{font-size:1rem;margin-bottom:10px}.import-example p{font-size:12px;line-height:1.7}
.import-example .actions{gap:10px}.import-example .button{font-size:12px;padding:10px 12px}
.import-example pre{max-width:100%;overflow-x:auto;background:white;border:1px solid var(--line);border-radius:8px;padding:12px;font-size:12px;line-height:1.7;margin:15px 0}
.import-example p:last-child{margin-bottom:0}

/* Tenant names and account references must fit narrow screens. */
.brand{min-width:0}.brand>span{min-width:0}.brand small{max-width:210px;overflow-wrap:anywhere;white-space:normal}.data-item>div{min-width:0}.data-item small,.data-item strong,.data-item a{overflow-wrap:anywhere}.data-item .row-actions{flex-wrap:wrap}.panel input[readonly]{min-width:0}@media(max-width:700px){.data-item{align-items:flex-start;flex-direction:column}.brand small{max-width:140px}}

.profile-identity{display:flex;align-items:center;gap:16px;margin:22px 0;color:var(--navy);font-weight:700;overflow-wrap:anywhere}.teacher-avatar,.profile-initial{width:88px;height:88px;flex:0 0 88px;border-radius:50%;object-fit:cover;border:3px solid #fff;box-shadow:0 0 0 1px #dce2ee}.profile-initial{display:grid;place-items:center;background:#173477;color:white;font-size:32px}.hero-copy h1{overflow-wrap:anywhere}#avatar-form .teacher-avatar{display:block;margin:16px 0}

.footer-brand{display:inline-flex;align-items:center;gap:9px;max-width:100%}.footer-brand img{flex:0 0 38px;width:38px;height:40px}.footer-brand .footer-wordmark{color:var(--navy)}.danger{color:var(--red);border-color:var(--red)}.data-item .row-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.word-row>div:first-child{min-width:0;flex:1}.word-row .row-actions{display:flex;align-items:center;gap:8px}.word-row .row-actions .button{font-size:11px;padding:9px 12px;white-space:nowrap}.art-card.front strong{overflow-wrap:anywhere}.art-card .translation{overflow-wrap:anywhere}@media(max-width:700px){.word-row{flex-wrap:wrap}.word-row .row-actions{width:100%;justify-content:flex-start}.footer-brand{font-size:20px}}

.spam-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.legal-scope{font-size:.86rem;color:var(--muted);margin-bottom:1.5rem}.form-security{margin-top:1.25rem}#invoice-run-result{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:1rem}

/* Contact cards retain the same inner spacing as other form panels. */
.contact-panel{max-width:580px;margin:32px auto}.contact-panel .field small{font-size:12px;line-height:1.65;color:var(--muted)}.contact-panel>.form-message:empty{display:none}
@media(max-width:700px){.contact-panel{margin:24px auto}}
