:root{--ink:#203b39;--green:#174f4b;--muted:#677672;--cream:#f7f7f2;--line:#dce3dc;--gold:#edc37c;--light:#e9f0e8;--serif:Georgia,'Times New Roman',serif;--sans:'Segoe UI',Arial,sans-serif}
*{box-sizing:border-box}body{margin:0;font:14px/1.5 var(--sans);color:var(--ink);background:var(--cream)}button,input,textarea,select{font:inherit}button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}a{color:var(--green)}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #b88029;outline-offset:3px}input:focus,textarea:focus,select:focus{outline:2px solid #568c7c;outline-offset:1px}button{color:inherit}.hidden{display:none!important}.shell{display:flex;min-height:100vh}.sidebar{width:238px;flex-shrink:0;padding:35px 22px 22px;background:#edf1e9;border-right:1px solid var(--line);display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;white-space:nowrap;font-size:18px;font-weight:750;letter-spacing:-.7px}.brand img{width:39px;height:39px}.brand small{display:block;font-size:8px;letter-spacing:1.45px;font-weight:650;margin-top:3px}.new-button{display:flex;justify-content:center;align-items:center;gap:12px;border:0;background:var(--green);color:#fff;padding:12px;border-radius:8px;font-weight:600;margin:35px 0 27px;width:100%}.new-button span{font-size:22px;line-height:1}nav{display:flex;flex-direction:column;gap:7px}.nav-button{display:flex;align-items:center;gap:11px;background:none;border:0;padding:12px 10px;border-radius:7px;text-align:left;font-size:13px;white-space:nowrap}.nav-button>span:first-child{font-size:20px;line-height:1;width:22px;text-align:center}.nav-button.active{background:#dce6dc;font-weight:650}.nav-button:hover{background:#e0e8df}.count{font-size:10px;background:#fff;padding:1px 6px;border-radius:5px;margin-left:auto}.side-bottom{margin-top:auto;padding:45px 9px 0}.side-bottom strong{font:22px/1.2 var(--serif);font-weight:400}.side-bottom p{font-size:11px;line-height:1.7;color:var(--muted)}.tiny-sail img{width:28px;margin-bottom:15px;opacity:.65}.pilot{border-top:1px solid #cfd9ce;padding-top:14px;margin-top:27px;font-size:9px;letter-spacing:1.7px}.pilot span{float:right}main{margin-left:238px;width:calc(100% - 238px);min-width:0}.topbar{height:79px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 34px}.crumb{font-size:10px;letter-spacing:1.6px;color:var(--muted)}.crumb span{padding:0 14px;color:#a3afa6}.crumb b{font-weight:500;letter-spacing:0;color:var(--ink);font-size:12px}.top-meta{display:flex;align-items:center;gap:22px}.locale{font-size:11px}.avatar{width:31px;height:31px;background:#e1e8dc;border-radius:50%;display:grid;place-items:center;font-size:12px}.view{padding:31px 34px 30px}.page-heading{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:27px}.eyebrow{font-size:9px;letter-spacing:2px;font-weight:650;color:#5c7970}h1{font:38px/1.1 var(--serif);font-weight:400;letter-spacing:-1px;margin:10px 0 12px}.page-heading p{font-size:12px;color:var(--muted);margin:0}.heading-buttons{display:flex;gap:9px;align-items:center}.button{border:1px solid #ccd8d1;background:#fff;border-radius:6px;padding:10px 13px;font-size:11px;font-weight:600;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;gap:10px;text-decoration:none}.button:hover{background:#f0f4ee}.primary{background:var(--green);border-color:var(--green);color:white}.primary:hover{background:#22665d}.small{padding:7px 11px;font-size:10px}.editor-bar{border:1px solid var(--line);border-radius:9px 9px 0 0;background:white;display:flex;align-items:center;justify-content:space-between;padding:11px 15px;gap:12px}.document-name{display:flex;align-items:center;gap:10px;min-width:0}.doc-dot{width:8px;height:8px;background:#729273;border-radius:50%;flex-shrink:0}.document-name input{padding:3px 1px;border:0;background:transparent;font-size:13px;font-weight:650;width:220px;max-width:45vw;min-width:0}.document-name>span:last-child{font-size:9px;color:#718073;white-space:nowrap}.studio-layout{display:grid;grid-template-columns:253px minmax(0,1fr);border:1px solid var(--line);border-top:0;border-radius:0 0 9px 9px;overflow:hidden;background:#fff}.editor-panel{padding:21px 19px;border-right:1px solid var(--line)}.panel-heading{display:flex;align-items:center;gap:9px;margin-bottom:16px}.panel-heading h2{margin:0;font-size:13px;font-weight:650}.step-number{font-size:9px;border:1px solid #d8e2d6;border-radius:50%;width:24px;height:24px;display:grid;place-items:center;color:#5f7a65}label{font-size:11px;font-weight:600;display:block;margin-bottom:6px}textarea,input:not([type=checkbox]),select{background:#fafbf8;border:1px solid #d4ded3;border-radius:5px;padding:9px 10px;color:var(--ink);width:100%;font-size:12px}textarea{resize:vertical;line-height:1.75;min-height:80px}select{padding-right:7px}.field-hint{font-size:10px;color:var(--muted);line-height:1.7;margin:7px 0 16px}.panel-divider{height:1px;background:var(--line);margin:22px 0}.paired{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:15px 0}.check{display:flex;align-items:center;gap:8px;margin:12px 0;font-weight:400;font-size:11px}.check input{accent-color:var(--green);width:14px;height:14px}.language-settings{border-top:1px solid var(--line);margin-top:19px;padding-top:14px}.language-settings summary{font-size:11px;cursor:pointer;margin-bottom:12px}.sample-note{display:flex;align-items:center;gap:8px;background:#f1f2e8;padding:12px 10px;border-radius:7px;margin-top:21px}.sample-note>span{color:#a6874a;font-size:21px}.sample-note p{font-size:9px;line-height:1.7;margin:0;color:var(--muted)}.sample-note b{font-size:10px;color:var(--ink)}.sample-note button{margin-left:auto;border:0;background:none;font-size:18px}.preview-panel{background:#eef0e9;min-width:0}.preview-tabs{display:flex;background:#fff;padding:0 18px;border-bottom:1px solid var(--line);gap:16px}.preview-tabs button{background:none;border:0;border-bottom:2px solid transparent;padding:17px 0 14px;font-size:11px;color:var(--muted);white-space:nowrap}.preview-tabs button.active{border-bottom-color:var(--green);color:var(--green);font-weight:650}.new-tag{font-size:7px;background:#f4e8cb;color:#816229;padding:2px 4px;border-radius:3px;margin-left:3px}.preview-meta{padding:17px 25px 12px;display:flex;justify-content:space-between;font-size:8px;letter-spacing:1.3px;color:#7d8980}.preview-area{padding:0 25px 23px;min-height:548px}.sheet{padding:25px;background:#fff;box-shadow:0 3px 14px #223c3610;max-width:790px;margin:0 auto 20px;border:1px solid #dfe5db;--accent:#174f4b;--tile:#f2f5ee}.sheet.bright{--accent:#2f528f;--tile:#f1f5fc}.sheet.mono{--accent:#222;--tile:#fff}.sheet.mono svg{filter:grayscale(1)}.sheet.large{font-size:1.2em}.sheet-heading{border-bottom:1px solid #e4e8e0;padding-bottom:13px;margin-bottom:20px;display:flex;justify-content:space-between;align-items:center;gap:10px}.sheet-heading h2{font:23px/1.2 var(--serif);margin:0;color:var(--accent);overflow-wrap:anywhere}.sheet-heading small{font-size:8px;color:#79877f;display:block;margin-top:4px}.sheet-heading img{width:26px;opacity:.65}.card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.word-card{border:1px solid #d1dccf;border-radius:8px;background:#fff;text-align:center;padding:17px 14px 13px;position:relative;width:100%;min-height:159px;font:inherit;color:inherit;break-inside:avoid}.word-card:hover{border-color:#638c79;background:#fcfdf9}.picture{height:81px;display:flex;justify-content:center;align-items:center;margin-bottom:8px}.picture svg{height:81px;width:96px}.picture img{max-width:100%;max-height:81px;object-fit:contain}.word-card h3{font-size:17px;line-height:1.25;margin:4px 0 7px;font-weight:650;overflow-wrap:anywhere;color:var(--accent)}.word-card p{font-size:10px;color:#56655f;line-height:1.55;margin:0;overflow-wrap:anywhere}.large .word-card h3{font-size:21px}.large .word-card p{font-size:13px}.needs-image{font-size:10px;color:#879389;display:flex;flex-direction:column;align-items:center;gap:4px}.needs-image>span{font-size:22px;color:#9ca99b}.edit-marker{position:absolute;right:8px;top:5px;color:#9bac9c;font-size:12px}.sheet-footer{display:flex;justify-content:space-between;font-size:7px;letter-spacing:.5px;color:#8b958e;border-top:1px solid #e5e9e1;padding-top:12px;margin-top:22px;gap:10px}.preview-foot{font-size:8px;color:#79877f;padding:0 25px 16px;display:flex;justify-content:space-between;gap:10px}.row-card{display:flex;gap:16px;align-items:center;text-align:left;margin-bottom:10px;min-height:89px;padding:10px 15px}.row-card .picture{width:75px;height:63px;flex-shrink:0;margin:0}.row-card svg{height:63px;width:75px}.row-card img{max-height:63px}.row-card h3{font-size:17px;margin:0 0 4px}.row-card p{margin:0}.row-card .number{font:23px var(--serif);background:var(--tile);border-radius:50%;width:32px;height:32px;display:grid;place-items:center;flex-shrink:0;color:var(--accent)}.sequence{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.sequence .word-card{min-height:170px}.sequence .stage-label{display:block;font-size:9px;letter-spacing:1px;color:var(--accent);margin-bottom:8px}.now-grid{grid-template-columns:1fr 1fr}.document-body{line-height:2.7;min-height:300px;white-space:normal;overflow-wrap:anywhere}.symbol-token{display:inline-flex;flex-direction:column;align-items:center;vertical-align:bottom;margin:4px 3px;background:none;border:0;border-radius:4px;min-width:22px;font-size:16px;padding:2px 3px;line-height:1.5}.symbol-token .token-picture{height:52px;display:flex;align-items:center}.symbol-token svg{height:49px;width:61px}.symbol-token img{height:49px;max-width:65px;object-fit:contain}.symbol-token:hover{background:#f0f5ed}.large .symbol-token{font-size:21px}.empty-state{text-align:center;padding:65px 25px;color:var(--muted)}.empty-state .empty-icon{font-size:40px;color:#9aae9a}.empty-state h2{font:27px var(--serif);color:var(--ink)}.empty-state p{font-size:12px}.practice-intro{background:#fff;padding:30px;border-radius:10px;border:1px solid var(--line)}.practice-intro h2{font:29px var(--serif);margin:5px 0 14px}.practice-intro p{font-size:12px;color:var(--muted);line-height:1.8}.learn-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}.learn-card{border:1px solid var(--line);padding:16px;border-radius:7px}.learn-card .picture{height:70px}.learn-card h3{font-size:16px;margin:5px 0}.learn-card p{font-size:11px;margin:5px 0}.learn-card .example{color:var(--green);border-top:1px solid var(--line);padding-top:9px}.learn-card button{margin-top:9px}.practice-question{font:26px/1.3 var(--serif);margin:20px 0}.practice-progress{font-size:10px;color:var(--muted)}.answer-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.answer-option{padding:20px 10px;border:1px solid var(--line);border-radius:8px;background:#fff;font-weight:600;font-size:15px}.answer-option:hover{background:#edf3e9}.feedback{min-height:45px;padding:14px 0;font-size:13px}.feedback.correct{color:#245c43}.family-note{font-size:11px;line-height:1.7;color:#6b786e;margin-bottom:20px}.family-row{display:flex;gap:15px;border-bottom:1px solid var(--line);padding:16px 0}.family-row .picture{width:67px;height:60px;flex-shrink:0}.family-row svg{width:67px;height:60px}.family-row h3{margin:0 0 4px;font-size:17px}.family-row p{margin:3px 0;font-size:11px}.translation{color:var(--green);font-size:15px!important;font-weight:600}.translation-placeholder{color:#869489;font-style:italic}.section-intro{max-width:650px;font-size:13px;color:var(--muted);line-height:1.8;margin-bottom:28px}.template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.template-card{background:#fff;border:1px solid var(--line);border-radius:9px;overflow:hidden;text-align:left;display:flex;flex-direction:column}.template-art{height:180px;display:flex;gap:12px;align-items:center;justify-content:center;background:#e6ecdf}.template-art svg{width:74px;height:80px}.template-card:nth-child(2) .template-art{background:#eee7d9}.template-card:nth-child(3) .template-art{background:#e3eaf0}.template-card:nth-child(4) .template-art{background:#ece6eb}.template-copy{padding:21px}.template-copy small{font-size:8px;letter-spacing:1.5px;color:var(--muted)}.template-copy h2{font:24px var(--serif);margin:9px 0}.template-copy p{font-size:12px;color:var(--muted);min-height:48px}.template-copy .button{margin-top:9px}.saved-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.saved-card{background:#fff;border:1px solid var(--line);border-radius:8px;padding:22px}.saved-card h2{font:23px var(--serif);margin:5px 0 12px;overflow-wrap:anywhere}.saved-card p{color:var(--muted);font-size:11px}.saved-art{display:flex;gap:5px;margin-bottom:18px;height:62px}.saved-art svg{height:62px;width:65px}.saved-card .actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}.library-toolbar{display:flex;gap:15px;margin:20px 0}.library-toolbar input{max-width:420px}.library-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:13px}.library-tile{padding:17px 7px;border-radius:8px;border:1px solid var(--line);background:#fff;text-align:center}.library-tile svg{height:75px;width:83px;max-width:100%}.library-tile strong{display:block;font-size:12px}.library-tile small{font-size:9px;color:var(--muted);display:block;margin-top:5px}.about-hero{display:grid;grid-template-columns:1.4fr 1fr;background:#e4eddf;border-radius:12px;overflow:hidden;margin:25px 0}.about-hero>div{padding:35px}.about-hero h2{font:36px/1.2 var(--serif);font-weight:400;margin:0 0 17px}.about-hero p{font-size:13px;line-height:1.8;color:#52685d}.about-emblem{display:flex;align-items:center;justify-content:center}.about-emblem img{width:140px;transform:rotate(-7deg)}.research-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.research-card{background:white;border:1px solid var(--line);border-radius:8px;padding:25px}.research-card h3{font:23px var(--serif);margin:0 0 15px}.research-card p{font-size:12px;line-height:1.9;color:var(--muted)}.research-card a{font-size:11px}.approach-note{font-size:12px;color:var(--muted);line-height:1.8;margin:23px 0}.item-dialog{border:1px solid var(--line);border-radius:12px;width:600px;max-width:calc(100vw - 30px);max-height:90vh;padding:0;color:var(--ink);box-shadow:0 20px 70px #123a3430}.item-dialog::backdrop,.compact-dialog::backdrop{background:#17382b66}.dialog-head{display:flex;justify-content:space-between;align-items:center;padding:22px 24px;border-bottom:1px solid var(--line)}.dialog-head h2{font:25px var(--serif);margin:7px 0 0}.icon-button{font-size:25px;background:none;border:0;padding:3px 8px;color:var(--muted)}.dialog-content{padding:20px 24px}.dialog-content label{margin-top:12px}.selected-picture{display:flex;justify-content:center;align-items:center;background:#f3f5ef;border-radius:8px;height:108px}.selected-picture svg{width:100px;height:91px}.selected-picture img{height:91px;max-width:200px;object-fit:contain}.symbol-toolbar{display:flex;align-items:center;justify-content:space-between;margin-top:21px;gap:10px}.symbol-toolbar h3{font-size:13px}.upload-label{cursor:pointer;margin:0!important}.symbol-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;max-height:220px;overflow:auto;margin:12px 0}.symbol-choice{background:#fff;border:1px solid var(--line);border-radius:5px;padding:7px 3px;font-size:9px}.symbol-choice.selected{background:#e6efde;border-color:#638674}.symbol-choice svg{height:49px;width:61px;max-width:100%;display:block;margin:auto}.item-actions{display:flex;gap:7px;flex-wrap:wrap}.danger{color:#925646}.dialog-footer{border-top:1px solid var(--line);padding:15px 24px;display:flex;justify-content:space-between;align-items:center}.dialog-footer p{font-size:10px;color:var(--muted)}.compact-dialog{border:1px solid var(--line);border-radius:11px;color:var(--ink);width:500px;padding:0;max-width:calc(100vw - 30px)}.compact-dialog>p{padding:0 24px;font-size:12px;color:var(--muted)}.new-options{display:flex;gap:13px;padding:15px 24px 25px}.option-tile{background:#f4f7ef;border:1px solid var(--line);padding:24px 15px;border-radius:8px;flex:1}.option-tile span{display:block;font-size:30px;margin-bottom:10px}.option-tile b{display:block;font-size:14px}.option-tile small{display:block;font-size:11px;color:var(--muted);margin-top:8px}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);padding:12px 20px;background:var(--green);border-radius:8px;color:white;font-size:12px;box-shadow:0 5px 22px #14342f33;display:none;z-index:10}.toast.show{display:block}.body-label,#bodyText{display:none}.document-layout .body-label,.document-layout #bodyText{display:block}.document-layout #words,.document-layout label[for=words],.document-layout #words+.field-hint{display:none}
@media(min-width:1550px){.view{padding:38px 55px}.studio-layout{grid-template-columns:285px minmax(0,1fr)}.preview-area{padding:0 50px 30px}.word-card{min-height:185px}.picture{height:95px}.picture svg{height:95px;width:110px}.sidebar{width:260px}main{margin-left:260px;width:calc(100% - 260px)}}
@media(max-width:1150px){.sidebar{width:200px;padding:28px 15px}.brand{font-size:15px}.brand img{width:31px}.brand small{font-size:7px;letter-spacing:1px}main{margin-left:200px;width:calc(100% - 200px)}.view{padding:25px 22px}.topbar{padding:0 22px}.studio-layout{grid-template-columns:225px minmax(0,1fr)}h1{font-size:32px}.page-heading{align-items:flex-start}.heading-buttons{flex-direction:column;align-items:stretch}.preview-tabs{gap:10px;padding:0 12px}.preview-tabs button{font-size:10px}.preview-area{padding:0 16px 16px}.sheet{padding:19px}.library-grid{grid-template-columns:repeat(4,1fr)}.template-grid,.saved-grid{grid-template-columns:repeat(2,1fr)}.document-name>span:last-child{display:none}}
@media(max-width:850px){.sidebar{position:static;width:100%;padding:15px 20px;border-right:0;border-bottom:1px solid var(--line);display:block}.shell{display:block}.brand{font-size:18px;display:inline-flex}.brand img{width:37px}.brand small{font-size:8px}.new-button{float:right;width:auto;margin:0;padding:9px 14px;font-size:12px}.sidebar nav{flex-direction:row;overflow:auto;gap:8px;margin-top:15px}.nav-button{font-size:11px;padding:8px}.nav-button>span:first-child{font-size:17px}.side-bottom{display:none}main{margin:0;width:100%}.topbar{height:54px}.studio-layout{grid-template-columns:220px minmax(0,1fr)}.page-heading{gap:15px}.preview-tabs{flex-wrap:wrap;gap:6px 14px}.preview-tabs button{padding:12px 0}.preview-meta{padding:13px 15px;font-size:7px}.picture svg{width:79px;height:69px}.picture{height:69px}.word-card{padding:14px 8px;min-height:143px}.word-card h3{font-size:15px}.word-card p{font-size:9px}.sheet-heading h2{font-size:20px}.about-hero h2{font-size:28px}.preview-foot{padding:0 15px 13px}.sequence{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.view{padding:22px 15px}.page-heading{display:block}.heading-buttons{flex-direction:row;margin-top:20px}.heading-buttons .button{font-size:10px;padding:9px}.topbar{padding:0 15px}.crumb{font-size:8px}.locale{display:none}.crumb span{padding:0 7px}.studio-layout{display:flex;flex-direction:column}.editor-panel{border-right:0;border-bottom:1px solid var(--line);padding:18px}.editor-panel #words{min-height:108px;height:108px}.editor-bar{padding:10px}.document-name input{width:160px;max-width:38vw;font-size:11px}.editor-bar .button{font-size:9px;padding:7px}.panel-heading{margin-bottom:11px}.panel-divider{margin:15px 0}.sample-note{margin-top:12px}.preview-area{min-height:420px}.preview-tabs{justify-content:space-around}.preview-foot{font-size:7px}.template-grid,.saved-grid,.research-grid{grid-template-columns:1fr}.library-grid{grid-template-columns:repeat(3,1fr)}.about-hero{display:block}.about-emblem{display:none}.about-hero>div{padding:25px}.symbol-grid{grid-template-columns:repeat(4,1fr)}.dialog-head,.dialog-content,.dialog-footer{padding:18px}.learn-grid{grid-template-columns:1fr}.practice-intro{padding:22px}.answer-options{grid-template-columns:1fr 1fr}.sheet{padding:19px}.sheet-heading h2{font-size:21px}}
@page{size:A4 portrait;margin:12mm}
@media print{body{background:#fff;color:#111;font-size:12pt}.no-print,.sidebar,.topbar,.page-heading,.editor-bar,.editor-panel,.preview-tabs,.preview-meta,.preview-foot,dialog,.toast,.edit-marker{display:none!important}.shell,main,.view,.studio-layout,.preview-panel,.preview-area{display:block!important;margin:0!important;padding:0!important;border:0!important;background:#fff!important;width:auto!important;min-height:0!important}.view.hidden{display:none!important}.sheet{margin:0!important;border:0;box-shadow:none;padding:0;width:100%;max-width:none;break-after:page}.sheet:last-child{break-after:auto}.sheet-heading{margin-bottom:7mm;padding-bottom:4mm}.sheet-heading h2{font-size:20pt}.card-grid{gap:5mm}.word-card{min-height:65mm;padding:8mm 5mm}.word-card h3{font-size:20pt}.word-card p{font-size:11pt}.picture,.picture svg{height:30mm}.picture img{max-height:30mm}.row-card{min-height:24mm;padding:3mm;gap:5mm}.row-card .picture,.row-card svg{height:20mm;width:25mm}.row-card h3{font-size:17pt}.row-card p{font-size:11pt}.sequence .word-card{min-height:70mm}.sheet-footer{font-size:7pt;margin-top:6mm}.symbol-token{font-size:15pt}.document-body{font-size:15pt;line-height:2.5;min-height:0}.family-row,.learn-card{break-inside:avoid}.family-row .picture,.family-row svg{height:23mm;width:27mm}.family-row h3{font-size:17pt}.family-row p{font-size:11pt}.sheet.mono svg{filter:grayscale(1)}.sheet.large .word-card h3{font-size:24pt}.sheet.large .word-card p{font-size:14pt}.practice-intro{border:0;padding:0}.learn-grid{gap:5mm}.learn-card p{font-size:11pt}.learn-card .button,.practice-intro>.button{display:none!important}button{color:inherit}*{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
.library-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(130px,190px);align-items:center;gap:10px;max-width:850px;margin:22px 0 8px}.library-toolbar label{margin:0}#libraryResults{font-size:11px;color:var(--muted);margin:8px 0 18px}@media(max-width:620px){.library-toolbar{grid-template-columns:auto minmax(0,1fr)}.library-toolbar input{grid-column:1/-1}}

/* Teacher choices: examples explain class; pictures stay independent. */
.word-class-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0}.word-class-choices>p{grid-column:1/-1;margin:0}.word-class-choice{border:1px solid var(--line);border-radius:7px;padding:10px;text-align:left;color:var(--ink)}.word-class-choice strong,.word-class-choice span{display:block}.word-class-choice span{font-size:11px;line-height:1.5;margin-top:5px}.word-class-choice[aria-pressed=true]{outline:2px solid var(--green);outline-offset:1px}.picture-scope{display:flex;gap:8px;flex-wrap:wrap}.picture-scope [aria-pressed=true]{background:var(--green);color:white}.symbol-choice .variant-label{display:block;font-size:10px;margin-top:4px;line-height:1.4}.choice-hint{display:block;font-size:9px;color:var(--muted);margin-top:7px}@media(max-width:420px){.word-class-choices{grid-template-columns:1fr}}

/* Group resources around a teacher's lesson or routine. */
.catalogue-toolbar{display:grid;grid-template-columns:minmax(200px,1.4fr) minmax(180px,1fr) minmax(160px,.9fr);gap:14px;padding:20px;border:1px solid var(--line);background:#fff;border-radius:10px}.catalogue-toolbar label{margin-top:0}.catalogue-summary{display:flex;gap:20px;align-items:center;flex-wrap:wrap;margin:12px 0 28px;font-size:12px}.catalogue-summary p{margin:0;color:var(--muted)}.catalogue-summary .text-link:last-child{margin-left:auto}.resource-collection{margin:35px 0 44px}.collection-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.collection-heading h2,.resource-collection>h2{font:29px/1.3 var(--serif);margin:0 0 8px}.collection-heading p{margin:0;color:var(--muted);font-size:12px;line-height:1.7}.collection-heading>span{font-size:11px;color:var(--muted);white-space:nowrap}.template-copy h3{font:24px/1.3 var(--serif);margin:9px 0}.template-copy{display:flex;flex-direction:column;flex:1}.template-copy .button{align-self:flex-start;margin-top:auto}.template-copy p{margin-bottom:22px}.explore-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.explore-heading h2{font:30px/1.3 var(--serif);margin-bottom:8px}.explore-heading .text-link{font-size:12px}.collection-switcher{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.collection-chip{border:1px solid #cad7c9;border-radius:24px;padding:10px 16px;background:#fff;color:var(--green);font:inherit;font-size:12px}.collection-chip[aria-pressed=true]{background:var(--green);color:white;border-color:var(--green)}.collection-chip:focus-visible,.word-class-choice:focus-visible{outline:3px solid #597f9b;outline-offset:3px}.collection-intro{font-size:13px;color:var(--muted);margin:18px 0 22px;line-height:1.7}.collection-more{margin:22px 0}.home-timetable-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:22px}.home-timetable-preview>div{display:flex;flex-direction:column;align-items:center;text-align:center;border:1px solid var(--line);border-radius:8px;padding:10px 5px;background:#f2f6ed}.home-timetable-preview small{font-size:10px;min-height:16px;font-weight:700;color:var(--green)}.home-timetable-preview svg{height:65px;width:75px;max-width:100%}.home-timetable-preview strong{font-size:11px;margin-top:7px;overflow-wrap:anywhere}@media(max-width:1000px){.catalogue-toolbar{grid-template-columns:1fr 1fr}.catalogue-toolbar>div:first-child{grid-column:1/-1}.explore-heading{align-items:flex-start;flex-direction:column}}@media(max-width:620px){.catalogue-toolbar{display:block;padding:16px}.catalogue-toolbar>div+div{margin-top:14px}.catalogue-summary{gap:12px}.catalogue-summary .text-link:last-child{margin-left:0}.collection-heading{align-items:flex-start;gap:10px}.collection-heading h2{font-size:25px}.collection-chip{font-size:11px;padding:9px 12px}}

/* Full printable-width labels, four 52 mm or three 70 mm strips on A4. */
.label-settings{display:none}.labels-layout .label-settings{display:block}.labels-layout .definitions-control{display:none}.resource-label-grid{display:grid;gap:16px}.resource-label{display:flex;align-items:center;gap:24px;width:100%;min-width:0;height:155px;padding:16px 22px;border:1.5px dashed #9cac9e;border-radius:4px;background:white;color:var(--ink);text-align:left;break-inside:avoid}.label-page-3 .resource-label{height:195px}.resource-label-picture{display:flex;align-items:center;justify-content:center;flex:0 0 100px;width:100px;height:110px}.resource-label-picture svg,.resource-label-picture img{max-width:100%;max-height:100%;width:100px;height:100px;object-fit:contain}.resource-label-word{font-size:30px;line-height:1.14;overflow-wrap:anywhere;min-width:0;font-weight:700}.large .resource-label-word{font-size:36px}.resource-label.no-label-border{border-color:transparent!important}.resource-label-sheet .sheet-heading{margin-bottom:22px}@media(max-width:620px){.resource-label{gap:13px;padding:12px;height:125px}.label-page-3 .resource-label{height:160px}.resource-label-picture{flex-basis:70px;width:70px;height:85px}.resource-label-picture svg,.resource-label-picture img{width:70px;height:80px}.resource-label-word{font-size:25px}.large .resource-label-word{font-size:30px}}@media print{.resource-label-grid{gap:4mm}.resource-label{height:52mm;min-height:52mm;max-height:52mm;width:100%;padding:4mm 6mm;gap:7mm;border:0.35mm dashed #6c7b70;border-radius:1mm;break-inside:avoid;overflow:hidden}.label-page-3 .resource-label{height:70mm;min-height:70mm;max-height:70mm}.resource-label-picture{flex-basis:35mm;width:35mm;height:38mm}.resource-label-picture svg,.resource-label-picture img{width:35mm;height:38mm;max-width:35mm;max-height:38mm}.resource-label-word{font-size:28pt;line-height:1.1}.large .resource-label-word{font-size:34pt}.resource-label-sheet .sheet-heading{margin-bottom:5mm}.resource-label-sheet .sheet-footer{margin-top:4mm}}

.long-label .resource-label-word{font-size:26px}.extra-long-label .resource-label-word{font-size:22px}@media print{.long-label .resource-label-word{font-size:24pt}.extra-long-label .resource-label-word{font-size:20pt}}
.home-label-preview{margin-top:22px}.home-label-preview .sheet{margin:0;padding:0;border:0;box-shadow:none;min-height:0;background:transparent}.home-label-preview .resource-label-grid{gap:8px}.home-label-preview .resource-label{height:62px;min-height:0;max-height:none;padding:8px;gap:12px}.home-label-preview .resource-label-picture{flex-basis:44px;width:44px;height:44px}.home-label-preview .resource-label-picture svg{width:42px;height:42px}.home-label-preview .resource-label-word{font-size:16px}
.sidebar{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}

/* Label library: select real classroom resources and lesson names. */
.label-picker{display:none}.labels-layout .label-picker{display:block}.label-picker h3{font-size:12px;margin:22px 0 10px}.label-select-actions{display:flex;gap:6px;margin:10px 0}.label-choice-list{max-height:265px;overflow:auto;border:1px solid var(--line);border-radius:7px;padding:4px;background:#fff}.label-choice{display:flex!important;align-items:center;gap:8px;padding:7px;margin:0!important;font-size:12px!important;cursor:pointer}.label-choice input{width:16px;flex-shrink:0}.label-choice svg{width:36px;height:36px;flex-shrink:0}.label-choice:hover{background:#eff4ec}.label-sheet-items{display:flex;flex-wrap:wrap;gap:5px}.label-sheet-chip{border:1px solid #d5dfd2;border-radius:5px;background:#f3f6ef;font-size:11px;padding:5px 7px;text-align:left}.label-picker .field-hint{line-height:1.6}.label-empty{font-size:12px;padding:8px;color:var(--muted)}.labels-layout #words{min-height:100px;height:130px}.labels-layout .language-settings{display:none}

/* A clear label workflow: starting point, label choices, customisation. */
.label-start-panel,.label-names-slot{display:none}.labels-layout .label-start-panel,.labels-layout .label-names-slot{display:block}.label-start-panel .button{width:100%;margin-top:10px;white-space:normal}.labels-layout #labelNamesSlot{margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}.labels-layout #labelNamesSlot label{margin-top:0}.picture-edit-help{padding:12px 18px;margin:0;background:#f2f6ee;border-bottom:1px solid var(--line);font-size:11px;line-height:1.7;color:var(--green)}.picture-options-badge{display:block;font-size:9px;font-weight:600;color:#174f4b;border:1px solid #bed0bb;border-radius:10px;padding:2px 6px;background:#f4f8f0;line-height:1.5;margin-top:6px}.picture-picker-intro{background:#eef4e9;border-radius:7px;padding:11px 14px;font-size:13px;line-height:1.7;margin:0 0 16px}.picture-settings-divider{border-top:1px solid var(--line);margin-top:24px;padding-top:12px}.picture-settings-divider h3{font-size:16px}.item-dialog .symbol-grid{max-height:235px;overflow:auto}.item-dialog .selected-picture{margin-bottom:12px}@media print{.picture-options-badge,.picture-edit-help{display:none!important}}

/* Start with a label sheet before entering the editor. */
.labels-studio>.label-start-panel{display:grid;grid-template-columns:minmax(210px,1.2fr) minmax(220px,1.8fr) auto auto;align-items:center;gap:12px 20px;padding:22px 26px;margin:0 0 20px;background:#eef4e9;border:1px solid #c8d7bf;border-radius:9px}.label-start-panel>.panel-heading{margin:0;grid-row:1/3}.label-start-panel>label{margin:0}.label-start-panel>select{grid-column:2;grid-row:2}.label-start-panel>.button{width:auto;margin:0;grid-row:2;white-space:normal}.label-start-panel>.field-hint{grid-column:2/-1;margin:0}.literacy-filters{display:grid;grid-template-columns:1fr 2fr;gap:22px;padding:24px;background:#eef4e9;border:1px solid var(--line);border-radius:8px;margin:26px 0}.literacy-filters label{display:block;margin:0 0 9px}.literacy-book{display:grid;grid-template-columns:150px 1fr;gap:25px;align-items:center;padding:26px;background:white;border:1px solid var(--line);border-radius:8px;margin:0 0 25px}.literacy-book-icon{display:flex;align-items:center;justify-content:center;background:#f3f6ee;border-radius:8px;min-height:130px}.literacy-book-icon svg{width:105px;height:100px}.literacy-book h2{margin:5px 0 8px;font-size:28px}.literacy-book p{line-height:1.8;margin:8px 0;color:var(--muted)}.literacy-book small{color:var(--green)}.literacy-notice{font-size:12px;line-height:1.8;color:var(--muted);max-width:850px;margin:25px 0}.literacy-resources{display:grid;grid-template-columns:1fr 1fr;gap:24px}.literacy-resources .template-art{min-height:155px}.literacy-resources .template-art svg{width:80px;height:77px}.literacy-resources .template-card{margin:0}.literacy-more{display:flex;gap:12px;flex-wrap:wrap;margin-top:25px}
@media(max-width:1100px){.labels-studio>.label-start-panel{grid-template-columns:1fr 1fr}.label-start-panel>.panel-heading{grid-column:1/-1;grid-row:auto}.label-start-panel>label{grid-column:1/-1}.label-start-panel>select{grid-column:1/-1;grid-row:auto}.label-start-panel>.button{grid-row:auto}.label-start-panel>.field-hint{grid-column:1/-1}}
@media(max-width:650px){.literacy-filters,.literacy-resources{grid-template-columns:1fr}.literacy-book{grid-template-columns:1fr}.literacy-book-icon{min-height:100px}.literacy-book h2{font-size:24px}.labels-studio>.label-start-panel{padding:18px;gap:12px}.label-start-panel>.button{grid-column:1/-1}}
