.word-card-workspace h2{margin-bottom:16px;font-size:24px;font-weight:650;letter-spacing:-.03em}.word-card-dashboard{max-width:1240px;margin:0 auto;padding:0 clamp(0px,2vw,28px) 24px;container-type:inline-size}.word-card-dashboard-header{margin-bottom:30px}.word-card-dashboard-header h1{font-size:clamp(28px,3vw,36px);font-weight:650;line-height:1.2;letter-spacing:-.045em}.word-card-dashboard-header>p{margin-top:10px;color:#666;font-size:16px;line-height:1.6}.word-card-section-heading{margin-bottom:14px}.word-card-dashboard h2{margin:0;font-size:19px;font-weight:650;letter-spacing:-.025em}.word-card-type-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.word-card-type-option{position:relative;display:flex;align-items:center;justify-content:space-between;min-width:0;min-height:206px;gap:18px;overflow:hidden;border:1px solid #e4e7eb;border-radius:16px;background:#f5f6f8;padding:24px;text-align:left;cursor:pointer;transition:border-color .2s,box-shadow .2s}.word-card-type-option:nth-child(2){border-color:#e2e8e4;background:#f1f6f3}.word-card-type-option:hover{border-color:#a6afab;box-shadow:0 4px 16px rgb(0 0 0/.04)}.word-card-type-option:focus-visible{outline:2px solid #171717;outline-offset:4px}.word-card-starter-content{position:relative;z-index:1;display:flex;flex:1;flex-direction:column;align-items:start;min-width:0}.word-card-starter-icon{display:flex;justify-content:center;align-items:center;width:34px;height:34px;margin-bottom:12px;border:1px solid rgb(0 0 0/.07);border-radius:9px;background:rgb(255 255 255/.8)}.word-card-type-name{font-size:18px;font-weight:600;letter-spacing:-.025em}.word-card-type-description{max-width:290px;margin-top:7px;color:#62666a;font-size:14px;line-height:1.6}.word-card-type-cta{display:flex;align-items:center;gap:6px;margin-top:16px;font-size:14px;font-weight:600}.word-card-starter-art{position:relative;display:block;flex:0 0 100px;margin-right:7px;transform:rotate(7deg);transition:transform .2s}.word-card-starter-art:before{content:"";position:absolute;inset:2px;transform:translate(-9px,6px) rotate(-12deg);border:1px solid #dce1e5;border-radius:10px;background:#e7ebef}.word-card-starter-art.is-image:before{background:#dfeae3;border-color:#d4e0d7}.word-card-type-option:hover .word-card-starter-art{transform:translateY(-3px) rotate(3deg)}.word-card-starter-paper{position:relative;display:flex;min-height:136px;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:1px solid #e0e3e5;border-radius:10px;background:#fff;box-shadow:0 6px 16px rgb(0 0 0/.05);padding:12px 8px}.word-card-starter-pinyin{color:#737373;font-size:11px;line-height:1.15}.word-card-starter-word{font-size:28px;font-weight:650;line-height:1.15}.word-card-starter-meaning{color:#666;font-size:10px;line-height:1.2}.word-card-starter-picture{display:flex;align-items:center;justify-content:center;width:100%;height:100%;border-radius:5px;background:#edf4ef;color:#739581}.is-image .word-card-starter-paper{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) repeat(3,max-content);justify-items:center;height:136px;padding:8px 6px}.is-image .word-card-starter-word{font-size:16px}.is-image .word-card-starter-meaning,.is-image .word-card-starter-pinyin{font-size:8px}.word-card-local-library{margin-top:36px;scroll-margin-top:90px}.word-card-library-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.word-card-library-heading p{margin-top:5px;color:#737373;font-size:14px}.word-card-library-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px}.word-card-library-filters{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));flex-shrink:0;width:292px;max-width:100%;border-radius:10px;padding:4px;background:#f4f4f5;isolation:isolate}.word-card-library-filter-indicator{position:absolute;z-index:-1;top:4px;bottom:4px;left:4px;width:calc((100% - 8px) / 3);border:1px solid #e5e5e5;border-radius:7px;background:white;box-shadow:0 1px 3px rgb(0 0 0/.04);pointer-events:none;transition:transform .26s cubic-bezier(.22,1,.36,1)}.word-card-library-filters button{display:flex;align-items:center;justify-content:center;min-width:0;min-height:36px;gap:8px;border-radius:7px;padding:6px 10px;color:#737373;font-size:14px;font-weight:500;cursor:pointer;transition:color .2s}.word-card-library-filters button[aria-pressed=true]{color:#171717}.word-card-library-filters button>span{display:inline-flex;align-items:center;height:20px;line-height:20px}.word-card-library-filter-count{color:#737373;font-variant-numeric:tabular-nums}.word-card-library-search{display:flex;align-items:center;flex:0 1 340px;min-width:180px;min-height:44px;gap:9px;border:1px solid #e5e5e5;border-radius:10px;padding:0 12px;color:#888;background:white}.word-card-library-search:focus-within{border-color:#737373;outline:2px solid #e5e5e5;outline-offset:2px}.word-card-library-search input{min-width:0;width:100%;min-height:42px;outline:none;color:#262626;font-size:14px}.word-card-library-search input::-webkit-search-cancel-button{display:none}.word-card-library-search input::placeholder{color:#888}.word-card-library-search>svg{flex-shrink:0}.word-card-library-search button{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:28px;height:32px;cursor:pointer}.word-card-cloud-image-state{aspect-ratio:4/5;flex-direction:column;gap:14px;padding:20px;color:#737373;font-size:13px;line-height:1.6;text-align:center;background:white}.word-card-cloud-image-state,.word-card-edit-hint{display:flex;align-items:center;justify-content:center}.word-card-edit-hint{position:absolute;gap:6px;bottom:12px;left:50%;transform:translate(-50%,4px);width:max-content;border:1px solid #e5e5e5;border-radius:7px;background:rgb(255 255 255/.96);padding:7px 11px;color:#262626;font-size:12px;opacity:0;transition:opacity .2s,transform .2s}.word-card-tile-open:focus-visible .word-card-edit-hint,.word-card-tile-open:hover .word-card-edit-hint{opacity:1;transform:translate(-50%)}.word-card-local-tile-actions{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:10px 2px 0;color:#737373;font-size:12px}.word-card-local-type{display:flex;align-items:center;gap:5px;color:#525252;font-size:13px}.word-card-local-tile-actions time{display:block;margin-top:4px;color:#888;font-size:12px}.word-card-background-save{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;color:#737373;font-size:13px}.word-card-background-save[role=alert]{flex-wrap:wrap;color:#b42318}.word-card-dashboard .word-card-tile-open:disabled{cursor:wait}.word-card-dashboard .word-card-tile-open:disabled:hover{transform:none}.word-card-local-tile-actions button:hover{color:#b42318;background:#fff1f0}.word-card-dashboard .word-card-library-empty{min-height:268px;border:1px dashed #dedee2;border-radius:14px;background:#fafafb;padding:28px 20px}.word-card-library-empty h3{margin-top:16px;color:#262626;font-size:18px;font-weight:600;letter-spacing:-.025em}.word-card-library-empty p{color:#737373;font-size:14px;line-height:1.65}.word-card-empty-art{position:relative;display:flex;align-items:center;justify-content:center;width:58px;height:58px;margin:4px 0;border:1px solid #dedee2;border-radius:12px;background:white;transform:rotate(-8deg);box-shadow:0 3px 8px rgb(0 0 0/.03)}.word-card-empty-art>span{font-size:27px;color:#737373}.word-card-empty-art>svg{position:absolute;bottom:-4px;right:-12px;border-radius:6px;background:#fafafb;color:#999;padding:2px;transform:rotate(8deg)}.word-card-empty-create{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;margin-top:18px;border-radius:9px;background:#171717;padding:10px 16px;color:white;font-size:14px;font-weight:500;cursor:pointer}.word-card-empty-create:hover{background:#333}.word-card-dashboard button:not(.word-card-tile-open):focus-visible{outline:2px solid #525252;outline-offset:3px}.word-card-image-controls{display:grid;gap:8px;margin-top:22px}.word-card-image-controls>p,.word-card-local-status{color:#888;font-size:12px;line-height:1.6}.word-card-upload{display:flex;position:relative;justify-content:center;align-items:center;gap:8px;min-height:44px;border:1px dashed #bdbdbd;border-radius:11px;background:#fafafa;padding:12px;color:#404040;font-size:13px;cursor:pointer}.word-card-upload input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.word-card-upload:focus-within{outline:2px solid #555;outline-offset:3px}.word-card-upload.is-disabled{opacity:.5}.word-card-local-status{margin-top:18px}.word-card-local-status p+p{margin-top:8px}.word-card-word-label{display:flex;align-items:center;gap:10px;min-width:0;min-height:18px}.word-card-word-label>label{flex:none}.word-card-public-matches{display:inline-flex;align-items:center;gap:6px;min-width:0;overflow-x:auto;scrollbar-width:none;color:#737373;font-size:11px;line-height:16px;white-space:nowrap}.word-card-public-matches::-webkit-scrollbar{display:none}.word-card-public-matches>*{flex:none}.word-card-public-match{cursor:pointer;border-radius:2px;color:#737373;text-decoration:underline;text-underline-offset:3px}.word-card-public-match:hover{color:#262626}.word-card-public-match:focus-visible{outline:2px solid #737373;outline-offset:2px}.word-card-dialog .word-card-editor-actions{flex-wrap:wrap}.word-card-demo h2{font-size:24px;font-weight:650}.word-card-demo-heading{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:start;gap:20px;margin-bottom:22px}.word-card-demo-heading p,.word-card-demo-note{margin-top:8px;color:#737373;font-size:14px;line-height:1.6}.word-card-workspace-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border-radius:11px;background:#171717;padding:10px 18px;color:white;font-size:14px;font-weight:600}.word-card-workspace-link:hover{background:#333}.word-card-workspace-link:focus-visible{outline:2px solid #555;outline-offset:3px}.word-card-demo-editor{height:min(780px,calc(100dvh - 100px));min-height:600px;overflow:hidden;border:1px solid #e5e5e5;border-radius:24px}.word-card-demo-editor .word-card-preview-frame{max-width:400px}.word-card-demo-editor .word-card-editor-panel{padding-top:32px}.word-card-demo-image-state{display:flex;height:100%;min-height:300px;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:24px;color:#737373;font-size:14px;text-align:center}.word-card-demo-source{display:inline-flex;align-items:center;min-height:44px;margin-top:8px;color:#525252;font-size:13px;text-decoration:underline;text-underline-offset:4px}@container (max-width: 700px){.word-card-type-options{grid-template-columns:1fr;gap:12px}.word-card-type-option{min-height:180px}.word-card-starter-icon{display:none}.word-card-library-toolbar{flex-direction:column-reverse;align-items:stretch;gap:14px}.word-card-library-search{flex-basis:auto}}@media (max-width:700px){.word-card-dashboard{padding-inline:0}.word-card-dashboard-header{margin-bottom:24px}.word-card-type-option{padding:20px;gap:16px}.word-card-starter-art{flex-basis:88px}.word-card-local-library{margin-top:28px}.word-card-library-heading{align-items:start;gap:10px}.word-card-library-heading p{font-size:13px}.word-card-library-filters button{gap:6px;padding:6px 10px}.word-card-local-status{margin-bottom:20px}.word-card-demo-editor{height:auto;min-height:0}.word-card-demo-editor .word-card-editor-actions{position:static;margin-top:24px;box-shadow:none}.word-card-demo-editor .word-card-type-segmented{width:max-content;margin-top:24px}}@media (prefers-reduced-motion:reduce){.word-card-edit-hint,.word-card-library-filter-indicator,.word-card-library-filters button,.word-card-starter-art,.word-card-type-option{transition:none}}.word-card-preview-controls{flex:none;width:100%;max-width:460px;margin-bottom:auto}.word-card-preview-controls:has(>[hidden]){display:none}.word-card-preview-panel:has(.word-card-preview-controls>:not([hidden])) .word-card-preview-frame{width:min(100%,460px,calc((100dvh - 300px) * .8));margin-bottom:0;padding-bottom:4px}.word-card-picture-list{display:flex;align-items:center;gap:10px;min-width:0;min-height:84px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;padding:9px 7px 9px 2px;scrollbar-width:none}.word-card-picture-list::-webkit-scrollbar{display:none}.word-card-add-picture,.word-card-picture-choice,.word-card-picture-item{flex:0 0 64px;width:64px;height:64px}.word-card-picture-item{position:relative}.word-card-picture-delete{position:absolute;z-index:1;top:-5px;right:-5px;display:grid;place-items:center;width:22px;height:22px;border:1px solid #dedee2;border-radius:50%;background:white;color:#737373;cursor:pointer;opacity:0;pointer-events:none;transition:opacity .15s}.word-card-picture-item:focus-within .word-card-picture-delete,.word-card-picture-item:hover .word-card-picture-delete{opacity:1;pointer-events:auto}.word-card-picture-delete:hover{background:#fef2f2;border-color:#fecaca;color:#b91c1c}.word-card-picture-delete:disabled{cursor:default}.word-card-picture-delete:disabled svg{opacity:.5}@media (hover:none),(pointer:coarse){.word-card-picture-delete{width:28px;height:28px;opacity:1;pointer-events:auto}}.word-card-picture-choice{display:grid;place-items:center;overflow:hidden;padding:3px;border:1px solid #dedee2;border-radius:10px;background:#fff;color:#8b8b8b;cursor:pointer}.word-card-picture-choice img{width:100%;height:100%;object-fit:contain;border-radius:6px}.word-card-picture-choice[aria-pressed=true]{border-color:#171717;box-shadow:0 0 0 1px #171717}.word-card-picture-placeholder{cursor:default}.word-card-add-picture{position:relative}.word-card-picture-upload{display:grid;place-items:center;width:100%;height:100%;border:1px dashed #c7c7ce;border-radius:10px;background:transparent;color:#777;cursor:pointer}.word-card-picture-upload:hover{background:#fff;color:#171717}.word-card-picture-ai{position:absolute;top:-6px;right:-6px;display:grid;place-items:center;width:26px;height:26px;border:1px solid #dedee2;border-radius:50%;background:#fff;color:#555;box-shadow:0 2px 5px #0000000a;cursor:pointer}.word-card-picture-ai:hover,.word-card-picture-ai[data-state=open]{background:#171717;border-color:#171717;color:#fff}.word-card-picture-list button:focus-visible{outline:2px solid #777;outline-offset:2px}.word-card-picture-list button:disabled:not(.word-card-picture-delete){opacity:.5;cursor:default}.word-card-add-picture[aria-busy=true] .word-card-picture-upload{opacity:1;background:#f4f4f5;cursor:wait}.word-card-picture-popover{width:min(360px,calc(100vw - 32px),var(--radix-popover-content-available-width));max-height:min(650px,calc(100dvh - 40px),var(--radix-popover-content-available-height));overflow-y:auto;overscroll-behavior:contain;padding:16px;border-radius:14px}@media (max-width:700px){.word-card-preview-controls{max-width:320px}.word-card-preview-panel:has(.word-card-preview-controls>:not([hidden])) .word-card-preview-frame{width:min(100%,320px)}.word-card-picture-ai{width:30px;height:30px}}.flashcard-generator{display:grid;gap:10px}.flashcard-generator label{font-size:12px;font-weight:500}.flashcard-generator label span{font-size:11px;color:#8b8b8b;font-weight:400;margin-left:8px}.flashcard-generator textarea{width:100%;resize:vertical;min-height:80px;background:#fafafa;border:1px solid #dedede;border-radius:10px;padding:11px 12px;font:inherit;font-size:13px;line-height:1.6}.flashcard-generator textarea:focus{outline:2px solid #bbb;outline-offset:2px}.flashcard-prompt-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.flashcard-style-heading{min-height:26px}.flashcard-prompt-heading button{height:auto;font-size:11px;padding:4px;gap:5px;color:#626262}.flashcard-style-heading .flashcard-style-reset{height:26px;padding:4px;gap:4px}.flashcard-ai-result{display:grid;gap:8px;border:1px solid #e5e5e5;border-radius:12px;padding:12px}.flashcard-ai-result img{max-height:180px;max-width:100%;object-fit:contain;border-radius:8px;justify-self:center}.flashcard-generator p{margin:0;color:#888;font-size:11px;line-height:1.6}.flashcard-generator .word-card-download-error{color:#b42318}.flashcard-ai-result img{width:160px;height:160px}