*{box-sizing:border-box} :root{font-family:Inter,"Segoe UI",Meiryo,sans-serif;color:#202a37;background:#f4f6f8;font-synthesis:none} body{margin:0;min-height:100vh}.topbar{height:70px;background:#fff;border-bottom:1px solid #e4e8ed;display:flex;align-items:center;justify-content:space-between;padding:0 28px}.brand{display:flex;align-items:center;gap:11px}.brand-icon{width:34px;height:34px;border-radius:10px;background:#e8f1ff;color:#2263c7;display:grid;place-items:center;font-weight:700}.brand strong,.brand small{display:block}.brand strong{font-size:15px}.brand small{font-size:11px;color:#8791a0;margin-top:2px}.model-state{font-size:12px;color:#697687;display:flex;align-items:center;gap:8px}.dot{width:8px;height:8px;border-radius:50%;background:#aab2bd}.dot.ready{background:#2aaf76}.dot.busy{background:#e9a338}main{max-width:1440px;margin:0 auto;padding:22px 28px 16px}.toolbar{display:flex;align-items:center;gap:13px;background:white;border:1px solid #e4e8ed;border-radius:12px;padding:13px 15px}.file-button,.primary{border:0;border-radius:8px;background:#2165c8;color:#fff;padding:10px 15px;font-size:13px;font-weight:600;cursor:pointer}.file-button:hover,.primary:hover{background:#1956ad}.primary:disabled{background:#a9bfdc;cursor:not-allowed}#pdfInput{display:none}.file-name{color:#707c8c;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:32vw}.toolbar-spacer{flex:1}.model-select{font-size:11px;color:#737f8f;display:flex;align-items:center;gap:8px}.model-select select{font:inherit;color:#243249;border:1px solid #dce2e8;border-radius:7px;background:#fff;padding:8px}.progress-area{padding:13px 2px 0}.progress-head{display:flex;justify-content:space-between;font-size:12px;color:#68778a;margin-bottom:6px}.progress-track{height:5px;background:#dfe5ec;border-radius:5px;overflow:hidden}.progress-track div{width:0;height:100%;background:#2e75d3;transition:width .2s}.notice{font-size:12px;color:#69788a;padding:13px 2px 15px}.panes{height:calc(100vh - 230px);min-height:420px;display:grid;grid-template-columns:1fr 1fr;gap:14px}.pane{background:white;border:1px solid #e2e7ec;border-radius:12px;overflow:hidden;display:flex;flex-direction:column;min-width:0}.pane-head{height:60px;padding:0 15px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edf0f3}.pane-head h2{display:inline-block;font-size:14px;margin:0 0 0 8px;font-weight:650}.pane-tag{font-size:10px;letter-spacing:.04em;color:#2766bf;background:#edf4ff;padding:4px 7px;border-radius:5px;font-weight:700}.pane-tag.translated{color:#16805c;background:#e8f7f0}.pane-actions{display:flex;gap:7px;align-items:center}.subtle{font-size:11px;color:#96a0ac;margin-right:5px}.ghost{border:1px solid #e2e7ec;border-radius:6px;background:#fff;color:#566476;padding:6px 9px;font-size:11px;cursor:pointer}.ghost:hover{background:#f4f7fa}textarea{resize:none;border:0;outline:0;width:100%;height:100%;padding:18px 18px 24px;font:13px/1.75 ui-monospace,"Cascadia Code",Consolas,monospace;color:#293544;background:#fff}textarea::placeholder{color:#adb5bf}footer{display:flex;justify-content:space-between;align-items:center;padding:11px 3px;color:#8993a0;font-size:10px}footer a{color:#6d7e91;text-decoration:none}footer a:hover{text-decoration:underline}@media(max-width:800px){main{padding:14px}.topbar{padding:0 16px}.toolbar{flex-wrap:wrap}.toolbar-spacer{display:none}.model-select{margin-left:auto}.panes{height:auto;min-height:0;grid-template-columns:1fr}.pane{height:45vh;min-height:300px}.file-name{max-width:42vw}footer{gap:12px;align-items:flex-start}}
