:root{--bg:#f3f4f6;--surface:#fff;--text:#1f2937;--muted:#6b7280;--border:#d1d5db;--accent:#2563eb;--accent-text:#fff;--danger-bg:#fef2f2;--danger-text:#991b1b;--info-bg:#eff6ff;--info-text:#1e40af;color:var(--text);font-family:Microsoft JhengHei,PingFang TC,Noto Sans TC,system-ui,sans-serif}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{background:var(--bg)}.app{flex-direction:column;height:100%;display:flex;position:relative}.notice{justify-content:space-between;align-items:center;gap:12px;padding:8px 16px;font-size:14px;display:flex}.notice.error{background:var(--danger-bg);color:var(--danger-text)}.notice.info{background:var(--info-bg);color:var(--info-text)}.notice.warn{color:#92400e;background:#fffbeb}.notice .close{cursor:pointer;color:inherit;background:0 0;border:0;font-size:18px;line-height:1}.notice-actions{flex-shrink:0;gap:8px;display:flex}.text-button{font:inherit;color:inherit;cursor:pointer;background:0 0;border:1px solid;border-radius:6px;padding:4px 12px;font-size:14px}.stage{flex-direction:column;flex:1;min-height:0;display:flex}.stage>*{flex:1;min-height:0}.loading{color:var(--muted);place-items:center;display:grid}.link{font:inherit;border:1px solid var(--border);background:var(--surface);color:var(--text);cursor:pointer;border-radius:6px;padding:6px 12px;font-size:14px}.link:hover{background:var(--bg)}.landing-title{margin:0 0 8px;font-size:22px;font-weight:600}.landing{flex-direction:column;justify-content:center;align-items:center;gap:16px;padding:16px;display:flex}.dropzone{border:2px dashed var(--border);background:var(--surface);cursor:pointer;width:min(560px,100%);font:inherit;color:var(--text);border-radius:12px;flex-direction:column;gap:8px;padding:56px 24px;display:flex}.dropzone:hover{border-color:var(--accent)}.dz-title{font-size:20px;font-weight:600}.dz-sub{color:var(--muted)}.privacy{color:var(--muted);margin:0;font-size:13px}.drop-overlay{border:3px dashed var(--accent);color:var(--accent);pointer-events:none;z-index:1000;background:#2563eb1f;place-items:center;font-size:22px;font-weight:600;display:grid;position:absolute;inset:0}.word-editor div:has(>.docx-menubar){align-items:center;flex-direction:row!important;gap:8px!important}.word-editor div:has(>.docx-menubar)>.docx-menubar{flex:0 auto;order:0;min-width:0}.word-editor div:has(>.docx-menubar)>input:not([type=file]){order:1;color:var(--muted)!important;flex:0 280px!important;font-size:14px!important}:is(.word-editor div:has(>.docx-menubar)>input:not([type=file]):hover,.word-editor div:has(>.docx-menubar)>input:not([type=file]):focus){color:var(--text)!important}.word-editor div:has(>div>.docx-menubar){padding:4px 12px 0!important}.word-editor div:has(>.docx-toolbar){padding:4px 12px 6px!important}.doc-status{color:var(--muted);white-space:nowrap;flex-shrink:0;font-size:13px}.doc-status[data-alert]{color:#b45309}.word-editor .docx-dialog__row:empty,.docx-dialog__row:empty{display:none}
