:root{--paper:#f5f3ed;--white:#fffef9;--ink:#292d26;--muted:#777970;--line:#ddded5;--green:#394a39;--green-light:#e4e9df;--orange:#ae603d;--serif:Georgia,'Times New Roman',serif;--sans:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:15px;line-height:1.6}a{color:inherit;text-decoration:none}button,input{font:inherit}button,a,input,summary{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #b17844;outline-offset:4px}h1,h2,h3,p{margin-top:0}h1,h2{font-family:var(--serif);font-weight:400;letter-spacing:-.04em;line-height:1.12}h1{font-size:clamp(40px,4.3vw,66px);margin-bottom:20px}h2{font-size:30px}h3{font-size:18px;font-weight:550;line-height:1.4}em{font-weight:400;color:var(--orange)}.site-header{max-width:1320px;margin:0 auto;height:102px;padding:0 48px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:30px}.brand{display:flex;align-items:center;font-family:var(--serif);font-size:32px;letter-spacing:-1.3px;line-height:1}.brand-period{color:var(--orange)}.brand-mark{width:33px;height:30px;position:relative;margin-right:13px}.brand-mark i{position:absolute;width:20px;height:27px;border:1.8px solid var(--green);border-radius:3px;top:1px;left:3px;transform:rotate(-14deg)}.brand-mark i+i{left:12px;top:4px;transform:rotate(10deg);background:var(--paper)}.header-caption,.eyebrow,.panel-number{font-size:10px;font-weight:650;letter-spacing:1.8px;line-height:1.7}.header-caption{color:var(--muted);letter-spacing:1.5px}.site-header nav{display:flex;align-items:center;gap:28px;font-size:13px}.nav-link{height:102px;display:flex;align-items:center;border-bottom:2px solid transparent}.nav-link.active{border-color:var(--green)}.nav-divider{height:18px;width:1px;background:var(--line)}.account-email{color:var(--muted)}.sign-out{font-size:12px}.sign-out span{margin-left:8px}.page-shell{max-width:1320px;margin:auto;padding:52px 48px 80px;min-height:calc(100vh - 190px)}.site-footer{max-width:1224px;margin:auto;padding:24px 0;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;font-size:11px;color:var(--muted)}.site-footer>span:first-child{font-family:var(--serif);font-style:italic;font-size:15px}.site-footer>span:last-child{letter-spacing:2px}.footer-star{font-size:22px;vertical-align:middle;margin-left:12px;color:var(--green)}.notice{padding:15px 20px;border:1px solid #cad5c4;background:#e9efe5;margin-bottom:24px;border-radius:5px;font-size:14px}.notice.error{background:#f5e7df;border-color:#e4c5b3;color:#853e28}.button{min-height:48px;padding:12px 20px;border:1px solid transparent;border-radius:5px;display:inline-flex;justify-content:space-between;align-items:center;gap:28px;font-size:13px;font-weight:550;line-height:1.5;transition:background .15s,transform .15s}.button span{font-size:19px;line-height:1}.button.primary{background:var(--green);color:var(--white)}.button.primary:hover:not(:disabled){background:#293b2a}.button.secondary{background:transparent;border-color:#bfc4b8}.button.secondary:hover{background:var(--green-light)}.button.danger{background:#9d4730;color:white}.button.full{width:100%}.welcome-grid{display:grid;grid-template-columns:1.1fr .8fr;gap:100px;max-width:1100px;margin:18px auto 0;align-items:center}.welcome-copy .eyebrow{margin-bottom:22px}.small-dot{display:inline-block;width:6px;height:6px;border-radius:100%;background:var(--orange);margin-right:7px;vertical-align:middle}.welcome-copy h1{font-size:clamp(54px,5.5vw,78px)}.intro{color:#696d63;font-size:16px;max-width:410px;line-height:1.8}.welcome-art{position:relative;height:290px;margin:45px 10px 0 35px}.paper-card{position:absolute;width:300px;height:230px;border:1px solid #d1d4c8;border-radius:9px}.paper-back{background:#dce3d5;transform:rotate(-9deg);left:10px;top:13px}.paper-front{background:var(--white);padding:22px 30px;transform:rotate(4deg);box-shadow:0 8px 30px #3e45350a;display:flex;flex-direction:column}.card-language{font-size:8px;letter-spacing:2px;color:var(--muted)}.paper-front strong{font-family:var(--serif);font-size:36px;font-weight:400;margin-top:12px}.pronunciation{font-size:11px;color:#94978d}.card-rule{border-top:1px solid var(--line);margin:15px 0 10px}.paper-front>span:last-of-type{font-family:var(--serif);font-size:20px}.paper-front small{font-size:9px;color:var(--muted);margin-top:5px}.art-note{position:absolute;left:230px;top:238px;white-space:nowrap;font-family:var(--serif);font-size:14px;font-style:italic;transform:rotate(-8deg);color:var(--orange)}.art-note span{font-size:28px;position:absolute;right:10px;top:-28px}.auth-panel{padding:38px;border:1px solid var(--line);border-radius:10px;background:#efeee6}.panel-number{color:var(--muted);font-size:9px}.auth-panel h2{font-size:44px;margin-top:35px;margin-bottom:18px}.auth-panel>p{color:#73776c;font-size:14px;line-height:1.8}.auth-panel form{margin-top:28px}.auth-panel label{display:block;font-size:12px;margin-bottom:8px;font-weight:600}.auth-panel input{width:100%;background:var(--white);border:1px solid #cfd3c6;padding:13px;border-radius:4px;color:var(--ink);font-size:14px;margin-bottom:14px}.auth-note{display:flex;gap:12px;margin-top:26px;border-top:1px solid #d7dacd;padding-top:20px;color:var(--muted);align-items:flex-start}.auth-note>span{color:var(--green);font-size:20px}.auth-note p{font-size:11px;line-height:1.7;margin:0}.auth-footer{display:flex;justify-content:space-between;margin-top:34px;font-size:8px;letter-spacing:1.2px;color:#85897d}.confirm-panel{max-width:450px;margin:40px auto}.confirm-panel h1{font-size:50px;margin-top:22px}.page-heading{display:flex;justify-content:space-between;align-items:center;margin:3px 0 37px}.page-heading .eyebrow{color:var(--muted);display:block;margin-bottom:18px}.page-heading h1{font-size:clamp(36px,3.9vw,54px);margin-bottom:14px}.page-heading p{color:var(--muted);font-size:14px;margin:0}.heading-art{font-size:110px;color:#bcc4a8;line-height:1;padding:0 15px;transform:rotate(10deg)}.mobile-break{display:none}.overview{display:grid;grid-template-columns:1.45fr 1fr 1fr 1fr;border:1px solid var(--line);border-radius:9px;overflow:hidden;margin-bottom:52px;background:#f9f8f2}.today-card{background:#e5e9dc;padding:25px 27px;display:flex;flex-direction:column;align-items:flex-start}.today-card .eyebrow{font-size:9px;color:#5f6d55;letter-spacing:1.3px}.today-number{font-family:var(--serif);font-size:52px;line-height:1.4;display:flex;align-items:baseline;gap:12px;margin:8px 0 15px}.today-number>span{font-family:var(--sans);font-size:13px;color:#65725c;letter-spacing:0}.today-card .button{min-height:39px;padding:8px 14px;gap:35px;font-size:12px}.quiet-label{font-size:12px;color:#65725c;line-height:1.6}.stat-card{padding:29px 28px;border-left:1px solid var(--line);display:flex;flex-direction:column;justify-content:center}.stat-icon{color:#6a7959;font-size:23px;line-height:1;margin-bottom:15px}.stat-card strong{font-family:var(--serif);font-size:38px;font-weight:400;line-height:1.2;margin-bottom:8px}.stat-card>span:not(.stat-icon){font-size:12px;color:#555e4d}.stat-card small{font-size:10px;color:#929687;margin-top:10px}.library-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:54px;align-items:start}.section-title{display:flex;justify-content:space-between;align-items:baseline;gap:15px}.section-title h2{font-size:28px;letter-spacing:-.8px;margin:0}.section-title h2>span{font-family:var(--sans);font-size:11px;background:#e8e9df;border:1px solid #dadfd1;border-radius:30px;padding:3px 8px;vertical-align:middle;margin-left:8px;letter-spacing:0}.section-title>.eyebrow{font-size:8px;color:#8d9282;letter-spacing:1.3px}.search-form{display:flex;align-items:center;border-bottom:1px solid var(--line);margin-top:20px;gap:8px}.search-form>span{font-size:26px;color:#8e9585}.search-form input{border:0;background:transparent;padding:14px 5px;width:100%;font-size:13px;color:var(--ink);outline-offset:0}.search-form input::placeholder{color:#929789}.deck-row{display:flex;align-items:center;gap:19px;padding:24px 0;border-bottom:1px solid var(--line)}.deck-symbol{width:65px;height:77px;border-radius:5px;padding:10px 12px;flex-shrink:0;display:flex;flex-direction:column;justify-content:space-between;font-family:var(--serif);font-size:26px;line-height:1.1}.deck-symbol>span{font-family:var(--sans);font-size:8px;text-align:right}.shade-0{background:#dde5d4;color:#607651}.shade-1{background:#eee0cd;color:#9b7851}.shade-2{background:#e0e5e6;color:#647d86}.deck-description{flex:1;min-width:0}.deck-description h3{margin:0 0 5px;font-size:17px;word-break:break-word}.deck-description h3 a:hover{color:var(--orange)}.deck-description p{font-size:11px;color:#929789;margin-bottom:9px}.deck-description p>span{margin-left:7px}.due-label{color:#a96c42}.muted{color:#8e9485}progress{appearance:none;height:4px;border:0;border-radius:5px;overflow:hidden;width:100%;background:#e7e9df;display:block}progress::-webkit-progress-bar{background:#e7e9df}progress::-webkit-progress-value{background:#8c9d72;border-radius:5px}progress::-moz-progress-bar{background:#8c9d72}.deck-description progress{max-width:190px}.deck-study{font-size:12px;color:#58684a;margin-left:10px;white-space:nowrap}.deck-study>span{font-size:18px;margin-left:12px}.delete-button{padding:5px;border:0;background:none;font-size:20px;color:#9c9f94;line-height:1}.delete-button:hover{color:#a0442d}.empty-state{min-height:250px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:35px}.empty-icon{font-size:35px;color:#9da98d;margin-bottom:16px}.empty-state h3{font-family:var(--serif);font-size:25px;font-weight:400;margin-bottom:10px}.empty-state p{font-size:13px;color:var(--muted);max-width:310px;margin-bottom:0}.import-panel{border:1px solid var(--line);border-radius:9px;background:#efeee6;padding:25px}.import-panel .section-title h2{font-size:25px}.import-panel>.section-title>span{color:#7d896b;font-size:23px}.import-panel>p{font-size:12px;color:#8b9080;margin:10px 0 21px}.upload-zone{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;padding:24px 10px;border:1px dashed #bfc7b0;border-radius:6px;background:#f7f7ef;margin-bottom:14px;transition:background .2s}.upload-zone.phx-drop-target-active{background:#dde5ce;border-color:#6c8055}.upload-icon{width:36px;height:40px;border:1px solid #cdd4bf;border-radius:5px;background:#ecefe3;color:#7f8e6c;font-size:24px;margin-bottom:14px}.upload-zone label{font-size:12px;color:#58684a;cursor:pointer;font-weight:600}.upload-zone label>span{display:block;color:#929784;font-size:11px;font-weight:400;margin-top:3px}.upload-zone input{opacity:0;position:absolute;inset:0;width:100%;height:100%;cursor:pointer}.upload-zone:focus-within{outline:3px solid #b17844;outline-offset:3px}.upload-zone small{font-size:9px;color:#9ba08e;margin-top:13px}.import-panel .button{min-height:42px;font-size:12px;padding:9px 14px}.import-help{border-top:1px solid #d9ddcd;margin-top:24px;padding-top:19px}.import-help strong{font-size:11px;font-weight:550;color:#68735c}.import-help p,.compatibility p{font-size:11px;color:#8a927d;line-height:1.8;margin:5px 0}.compatibility{margin-top:16px;color:#69775b;font-size:11px}.compatibility summary{cursor:pointer}.import-panel .import-warning{font-size:10px;line-height:1.7;color:#876f4d;margin-bottom:0}.upload-entry{margin:14px 0}.upload-entry>div{display:flex;justify-content:space-between;font-size:11px;word-break:break-all;gap:8px}.upload-entry button{border:0;background:none;color:var(--muted);font-size:18px}.field-error{font-size:12px;color:#a0442d}.upload-entry progress{margin-top:7px}.modal-backdrop{position:fixed;inset:0;background:#1e271d70;backdrop-filter:blur(3px);z-index:100;display:grid;place-items:center;padding:20px}.dialog{max-width:450px;background:var(--paper);padding:35px;border-radius:10px;box-shadow:0 20px 70px #14211230}.dialog h2{margin-top:20px}.dialog p{color:var(--muted);font-size:14px}.dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:30px}.study-top{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:12px}.back-link{color:#68775b}.study-top .eyebrow{color:#929987;font-size:9px}.session-count{color:#7d8672}.session-count>span{margin:0 7px}.study-space{max-width:760px;margin:40px auto 0}.study-heading{text-align:center;margin-bottom:28px}.study-heading .eyebrow{font-size:9px;color:#939b87}.study-heading h1{font-size:32px;letter-spacing:-.7px;margin:9px 0 0}.study-card{background:var(--white);border:1px solid #dadfcf;border-radius:12px;min-height:335px;display:flex;flex-direction:column;padding:28px 35px;box-shadow:0 8px 24px #4a5d3405}.study-card-top{display:flex;justify-content:space-between;font-size:9px;letter-spacing:1.6px;color:#9aa28d}.anki-content{font-family:var(--serif);font-size:32px;text-align:center;flex:1;display:flex;flex-direction:column;justify-content:center;overflow-wrap:anywhere;padding:40px 0;line-height:1.5;overflow:auto}.anki-content>*{max-width:100%}.anki-content img{max-width:100%;max-height:320px;object-fit:contain;margin:15px auto}.anki-content audio{max-width:100%;margin:12px auto;display:block}.anki-content hr{border:0;border-top:1px solid var(--line);width:60%;margin:25px auto}.anki-content .cloze{color:var(--orange);font-weight:bold}.anki-content ul,.anki-content ol{display:inline-block;text-align:left;margin:10px auto}.anki-content table{border-collapse:collapse;margin:auto}.anki-content th,.anki-content td{padding:8px;border:1px solid var(--line)}.card-tags{display:flex;justify-content:center;gap:7px;flex-wrap:wrap}.card-tags>span{font-size:9px;color:#8b967d;background:#eff1e8;border-radius:4px;padding:2px 7px}.reveal-controls{text-align:center;margin-top:26px}.reveal-button{min-width:230px}.reveal-controls p{font-size:11px;color:#939b87;margin-top:17px}kbd{font-family:var(--sans);font-size:9px;border:1px solid #dce1d1;padding:2px 5px;border-radius:3px;line-height:1;margin-left:7px;vertical-align:middle;color:#8d987e;background:#f5f6ef}.review-controls{margin-top:24px}.review-controls>p{text-align:center;font-size:12px;color:#879179;margin-bottom:14px}.rating-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.rating{padding:14px 18px;border:1px solid #d9dfce;border-radius:6px;background:#eef1e7;color:#4c6040;text-align:left;transition:transform .15s}.rating:hover{transform:translateY(-2px)}.rating>span{display:flex;align-items:center;justify-content:space-between;font-size:14px}.rating small{display:block;font-size:10px;margin-top:4px;opacity:.65}.rating.again{background:#f1e6df;border-color:#e3d3c7;color:#9b684a}.rating.hard{background:#eeeadd;border-color:#e0dccd;color:#8a7b4f}.rating.easy{background:#e2e9da;border-color:#cbd8bd;color:#577241}.rating kbd{background:transparent;border-color:currentColor;color:inherit;opacity:.6}.study-complete{text-align:center;padding:35px 15px}.complete-art{display:block;font-size:90px;color:#b1bd9c;line-height:1;margin-bottom:30px}.study-complete h2{font-size:46px}.study-complete p{font-size:13px;color:var(--muted)}.complete-actions{display:flex;gap:12px;justify-content:center;margin-top:30px}.connection-status{display:none;position:fixed;bottom:20px;left:50%;transform:translateX(-50%);z-index:200;background:var(--ink);color:white;border-radius:5px;padding:10px 20px;font-size:12px}body:has(.phx-client-error) .connection-status,body:has(.phx-server-error) .connection-status{display:block}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(min-width:1600px){.page-shell{padding-top:68px}.welcome-grid{margin-top:40px}}@media(max-width:1050px){.welcome-grid{gap:45px}.welcome-art{margin-left:0}.art-note{left:140px}.library-grid{gap:30px;grid-template-columns:minmax(0,1fr) 285px}.overview{grid-template-columns:1.3fr 1fr 1fr 1fr}.today-card,.stat-card{padding:22px 20px}.today-number{font-size:45px;gap:7px}.today-number>span{font-size:11px}.section-title>.eyebrow{display:none}.site-footer{margin:0 48px}.auth-panel{padding:30px}.header-caption{font-size:9px}}@media(max-width:800px){.site-header{padding:0 25px;height:85px}.nav-link{height:85px}.site-header nav{gap:18px}.account-email,.nav-divider{display:none}.page-shell{padding:35px 25px 55px}.welcome-grid{grid-template-columns:1fr 1fr;gap:25px}.welcome-copy h1{font-size:52px}.welcome-copy .eyebrow{font-size:8px}.intro{font-size:14px}.welcome-art{transform:scale(.8);transform-origin:top left;height:220px;margin-top:30px}.auth-panel{padding:25px}.auth-panel h2{font-size:36px}.header-caption{display:none}.overview{grid-template-columns:repeat(3,1fr);margin-bottom:35px}.today-card{grid-column:1/-1;display:grid;grid-template-columns:1fr auto;gap:0 20px}.today-card .eyebrow{grid-column:1/-1}.today-number{margin:5px 0 0}.today-card .button,.quiet-label{align-self:center}.stat-card:first-of-type{border-left:0}.stat-card{padding:23px 20px;border-top:1px solid var(--line)}.stat-card strong{font-size:31px}.stat-card small{font-size:9px}.library-grid{grid-template-columns:1fr}.import-panel{max-width:none}.upload-zone{min-height:160px}.heading-art{font-size:80px}.site-footer{margin:0 25px}.deck-row{gap:16px}.study-top .eyebrow{display:none}.study-space{margin-top:30px}}@media(max-width:570px){.brand{font-size:28px}.site-header nav{font-size:12px;gap:15px}.sign-out{font-size:11px}.welcome-grid{grid-template-columns:1fr;gap:30px;margin-top:5px}.welcome-copy h1{font-size:59px}.welcome-copy .eyebrow{font-size:8px}.intro{max-width:350px}.welcome-art{display:none}.auth-panel h2{font-size:38px;margin-top:24px}.auth-panel{padding:30px}.page-heading{margin-bottom:25px;gap:15px}.page-heading h1{font-size:39px}.page-heading .eyebrow{font-size:8px;letter-spacing:1.2px;margin-bottom:14px}.page-heading p{font-size:12px;max-width:260px}.heading-art{display:none}.mobile-break{display:block}.overview{border-radius:7px}.stat-card{padding:19px 12px}.stat-card>span:not(.stat-icon){font-size:10px}.stat-card small{display:none}.stat-icon{font-size:19px;margin-bottom:12px}.stat-card strong{font-size:29px;margin-bottom:6px}.today-card{padding:20px}.today-number{font-size:43px}.today-number>span{font-size:10px}.today-card .button{font-size:10px;gap:15px;padding:9px 10px}.quiet-label{max-width:130px;font-size:10px}.section-title h2{font-size:27px}.deck-symbol{width:51px;height:66px;font-size:24px;padding:9px}.deck-description h3{font-size:15px}.deck-row{gap:13px;padding:20px 0}.deck-study{font-size:0;margin-left:0}.deck-study>span{font-size:22px;margin-left:0}.deck-description p{font-size:10px}.site-footer>span:first-child{font-size:12px}.site-footer>span:last-child{font-size:8px}.study-heading h1{font-size:27px;word-break:break-word}.study-card{padding:22px;min-height:330px}.anki-content{font-size:27px;padding:30px 0}.rating-grid{gap:7px}.rating{padding:12px 9px}.rating>span{font-size:12px}.rating kbd{display:none}.rating small{font-size:9px}.reveal-controls p kbd{display:none}.study-complete h2{font-size:39px}.complete-actions{flex-direction:column}.dialog{padding:26px}.dialog-actions .button{padding:11px 15px}.auth-footer{font-size:7px}.site-footer{gap:15px}.session-count{font-size:10px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.icon{width:1em;height:1em;display:inline-block;vertical-align:-.12em;flex-shrink:0}.heading-art .icon,.complete-art .icon{stroke-width:2.3}.button .icon{font-size:18px}.search-form>.icon{font-size:22px}.back-link .icon{margin-right:5px}
