.translation-settings{padding:12px 26px;display:flex;gap:20px;align-items:center;border-bottom:1px solid var(--line);background:#f9fbfe;flex-wrap:wrap}.translation-settings label{display:flex;gap:9px;align-items:center;font-size:11px;color:var(--muted)}.translation-settings select,.studio select,.studio input:not([type=file]){border:1px solid #cddce9;background:white;border-radius:7px;padding:9px 10px;min-height:36px;font:inherit;max-width:100%;color:var(--ink)}.translation-settings select{font-size:11px;max-width:270px}.settings-note{font-size:10px;color:var(--muted);margin-left:auto}.studio{margin-top:32px;background:#f7fafd;border:1px solid #d5e2ee;border-radius:14px;padding:24px}.studio-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.studio h2{font-size:25px;font-weight:450;letter-spacing:-.8px;margin:9px 0 18px}.studio .eyebrow{font-size:9px}.studio-tabs{display:flex;gap:7px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:16px}.studio-tabs button{font-size:12px;color:var(--muted);padding:10px 13px;border:1px solid transparent;border-radius:7px;min-height:38px}.studio-tabs button[aria-selected=true]{background:white;border-color:#cddce9;color:var(--ink)}.studio-panel{padding-top:20px}.studio-description{font-size:12px;color:var(--muted);margin:0 0 16px;max-width:760px;line-height:1.8}.studio-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.studio-row select{font-size:12px;min-width:155px}.studio .primary-button{font-size:12px;gap:15px}.cost-note{font-size:10px;line-height:1.7;color:var(--muted);display:block;margin:10px 0}.studio-results{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:12px;margin-top:18px}.studio-result{padding:20px;background:white;border:1px solid #d7e3ee;border-radius:10px;min-width:0}.studio-result h3{font-size:11px;font-weight:550;margin:0 0 14px;color:var(--muted)}.studio-result .result-text{font-size:24px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}.studio-result p{font-size:12px;overflow-wrap:anywhere}.studio-result small{font-size:10px;color:var(--muted);line-height:1.8;display:block}.studio-message{font-size:12px;line-height:1.8;color:var(--muted);margin:14px 0;overflow-wrap:anywhere}.studio-message[role=alert]{color:#8c4929;background:#fff3e9;border:1px solid #edd5bf;padding:12px;border-radius:7px}.studio label{font-size:12px}.word-button{padding:0 1px;border-radius:4px;font:inherit;letter-spacing:inherit;line-height:inherit;text-align:inherit;color:inherit;border-bottom:1px dotted #9bb5cd;vertical-align:baseline;min-height:30px}.word-button:hover,.word-button:focus-visible{background:#e5eff8}.word-hint{font-size:10px;color:var(--muted);margin:10px 0 0}.result-tools{display:flex;gap:16px;margin-top:12px;flex-wrap:wrap}.result-tools button{font-size:11px;padding:7px 0;color:var(--blue);text-decoration:underline;text-underline-offset:4px;min-height:32px}.word-dialog dl{display:grid;grid-template-columns:85px 1fr;gap:12px;font-size:13px;line-height:1.7}.word-dialog dt{color:var(--muted)}.word-dialog dd{margin:0;overflow-wrap:anywhere;white-space:pre-wrap}.word-dialog a{font-size:12px;text-decoration:underline}.word-dialog .primary-button{margin-top:18px}.upload-box{background:white;border:1px dashed #97b2cb;border-radius:10px;padding:22px}.upload-box input{font-size:12px;max-width:100%;display:block;margin:13px 0}.upload-box input::file-selector-button{background:#eaf2f9;color:#315f97;border:1px solid #bed0e1;border-radius:6px;padding:10px 12px;margin-right:12px;cursor:pointer}.ocr-preview{display:block;width:100%;max-height:200px;object-fit:contain;margin:15px auto}.studio textarea{font-size:15px;background:white;border:1px solid #cddce9;border-radius:8px;padding:12px;min-height:130px}.ocr-review{margin-top:18px}.ocr-review label{display:block;margin:10px 0}.deck-card{width:100%;min-height:170px;background:white;border:1px solid #cddce9;border-radius:12px;padding:24px;margin:15px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;text-align:center}.deck-card strong{font-size:30px;font-weight:450;overflow-wrap:anywhere;max-width:100%}.deck-card span{font-size:12px;color:var(--muted);line-height:1.8;white-space:pre-wrap}.deck-controls{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.secondary-button{font-size:12px;background:white;border:1px solid #cadce9;border-radius:7px;padding:10px 14px;min-height:38px}.glossary-form{display:grid;grid-template-columns:1fr 1fr auto;gap:10px}.glossary-form label{display:flex;flex-direction:column;gap:7px}.glossary-form button{align-self:end}.glossary-list{display:grid;gap:8px;margin-top:18px}.glossary-entry{display:flex;gap:12px;align-items:center;background:white;border:1px solid #d7e3ee;padding:10px 13px;border-radius:8px;font-size:12px;overflow-wrap:anywhere}.glossary-entry>span{flex:1;min-width:0}.glossary-entry small{font-size:10px;color:var(--muted);display:block;margin-top:4px}.glossary-check{display:flex;gap:8px;align-items:center;margin:17px 0}.glossary-check input{accent-color:#315f97;min-width:18px;min-height:18px}.poster-preview{width:min(100%,430px);height:auto;border-radius:12px;display:block;border:1px solid #cddce9;margin:20px 0}.studio-badge{font-size:9px;color:var(--muted);background:#e5eef7;border-radius:5px;padding:5px 7px}.studio-panel[aria-busy=true] .run-tool{opacity:.5;cursor:wait}.studio-panel .empty-list{padding:12px 0}.studio .tab-count{font-size:10px;margin-left:5px}
@media(max-width:600px){.translation-settings{padding:11px 16px;gap:10px}.translation-settings label{font-size:10px;justify-content:space-between;width:100%}.translation-settings select{font-size:12px;max-width:220px;min-height:38px}.settings-note{margin-left:0}.studio{padding:18px 14px;margin-top:24px}.studio h2{font-size:23px}.studio-tabs{gap:3px}.studio-tabs button{font-size:11px;padding:9px 10px;min-height:38px}.studio-row{align-items:stretch}.studio-row select{min-width:0;flex:1 1 43%;font-size:12px}.studio-description{font-size:11px}.studio-result{padding:16px}.glossary-form{grid-template-columns:1fr}.glossary-form button{justify-self:start}.glossary-form input{font-size:16px!important}.studio textarea{font-size:16px}.studio-heading .studio-badge{font-size:8px}.deck-card strong{font-size:26px}.word-dialog dl{grid-template-columns:65px 1fr;font-size:12px}.studio-results{grid-template-columns:1fr}}
