:root{color:#17191f;font-synthesis:none;text-rendering:optimizelegibility;background:#e7e8e7;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,a{font:inherit}button,a{-webkit-tap-highlight-color:transparent}.app-shell{background:#eceeed;grid-template-columns:196px 1fr;min-height:100vh;display:grid}.sidebar{color:#f8fafc;background:#111419;flex-direction:column;gap:12px;min-height:100vh;padding:22px 18px;display:flex}.nav-item{color:#e5e7eb;cursor:pointer;background:0 0;border:0;border-radius:7px;align-items:center;gap:13px;width:100%;height:44px;padding:0 12px;display:flex}.nav-item.active{background:#242a32}.workspace{flex-direction:column;min-width:0;display:flex}.topbar{background:#fff;border-bottom:1px solid #d8dcdf;justify-content:space-between;align-items:center;height:64px;padding:0 26px;display:flex}.brand,.topbar-actions{align-items:center;gap:12px;display:flex}.mobile-menu{display:none}.quota{color:#4b5563;font-size:14px}.quota b{color:#075ee5}.icon-button{color:#2b3038;cursor:pointer;background:#fff;border:1px solid #d6d9de;border-radius:50%;place-items:center;width:34px;height:34px;display:grid}.error-banner{color:#991b1b;background:#fff7f7;border:1px solid #fecaca;border-radius:7px;align-items:center;gap:10px;min-height:44px;margin:14px 18px 0;padding:10px 12px;display:flex}.error-banner button{color:inherit;cursor:pointer;background:0 0;border:0;margin-left:auto}.flow-grid{grid-template-columns:330px 1fr;min-height:calc(100vh - 64px);display:grid}.workflow-rail{background:#fff;border-right:1px solid #d8dcdf;flex-direction:column;display:flex}.step-block{opacity:.55;border-bottom:1px solid #d8dcdf;padding:26px}.step-block.active{opacity:1}.step-title{align-items:center;gap:12px;display:flex}.step-title span{color:#075ee5;border:1.5px solid #2f7af7;border-radius:50%;place-items:center;width:24px;height:24px;font-size:13px;font-weight:700;display:grid}.step-title h2{margin:0;font-size:17px;line-height:1.2}.step-content{padding-left:36px}.step-content p,.support-note,.processing-note{color:#4b5563;font-size:13px;line-height:1.5}.support-note{margin-top:12px;display:block}.canvas-region{background:linear-gradient(#ffffffb3,#fff0),#eef0f1;min-width:0;position:relative;overflow:auto}.empty-canvas,.processing-view,.failed-view{place-items:center;min-height:calc(100vh - 64px);padding:32px;display:grid}.drop-zone{color:#2b3038;background:#fff;border:1.5px dashed #bbc2ca;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:12px;width:min(420px,92vw);min-height:245px;display:flex;box-shadow:0 18px 60px #0f172a0f}.drop-zone.dragging{background:#f8fbff;border-color:#075ee5}.drop-zone span{color:#4b5563;font-size:14px}.drop-zone input{display:none}.primary{color:#fff;cursor:pointer;background:#075ee5;border:0;border-radius:6px;justify-content:center;align-items:center;gap:10px;min-height:42px;padding:0 17px;font-weight:700;text-decoration:none;display:inline-flex}.primary:disabled{opacity:.65;cursor:progress}.wide{width:100%}.export{width:100%;margin:10px 0 16px}.processing-view{text-align:center}.progress-ring{--progress:0;background:radial-gradient(circle at center, #fff 58%, transparent 59%), conic-gradient(#075ee5 calc(var(--progress) * 1%), #c9d4e8 0);border-radius:50%;place-items:center;width:104px;height:104px;display:grid;box-shadow:0 10px 40px #075ee529}.progress-ring span{font-size:20px;font-weight:700}.processing-view h2,.failed-view h2{margin:24px 0 8px;font-size:20px}.processing-view p,.failed-view p{color:#4b5563;margin:0}.progress-list{gap:10px;margin:14px 0 0;padding:0;list-style:none;display:grid}.progress-list li{color:#8b929c;align-items:center;gap:9px;font-size:13px;display:flex}.progress-list li.current{color:#075ee5}.progress-list li.done{color:#2f7d55}.spin,.progress-list li.current svg,.progress-list li:not(.done):not(.current) svg{animation:1s linear infinite spin}.result-view{min-height:calc(100vh - 64px);padding:18px}.sheet-toolbar{background:#ffffffe0;border:1px solid #dce0e5;border-radius:7px;justify-content:space-between;align-items:center;gap:16px;max-width:1040px;height:54px;margin:0 auto 18px;padding:0 12px 0 16px;display:flex}.sheet-toolbar div{flex-direction:column;gap:2px;min-width:0;display:flex}.sheet-toolbar span{color:#6b7280;font-size:12px}.paper-sheet{background:#fff;width:min(1040px,100vw - 590px);min-width:620px;margin:0 auto 36px;box-shadow:0 12px 34px #0f172a1f}.paper-sheet img{width:100%;height:auto;display:block}.zoom-tools{background:#fff;border:1px solid #d6d9de;border-radius:7px;width:42px;position:fixed;bottom:26px;right:28px;overflow:hidden;box-shadow:0 8px 28px #0f172a1f}.zoom-tools button{cursor:pointer;background:#fff;border:0;border-bottom:1px solid #e5e7eb;width:100%;height:38px;font-weight:700}.zoom-tools button:last-child{border-bottom:0}.recent-list{gap:8px;display:grid}.recent-list button,.recent-empty{text-align:left;background:#fbfbfc;border:1px solid #e0e4e8;border-radius:7px;align-items:center;gap:10px;width:100%;min-height:58px;padding:9px 10px;display:flex}.recent-list button{cursor:pointer}.recent-list span{flex:1;gap:3px;min-width:0;display:grid}.recent-list strong{white-space:nowrap;text-overflow:ellipsis;font-size:13px;overflow:hidden}.recent-list small,.recent-empty{color:#6b7280;font-size:12px}.failed-view{text-align:center;color:#991b1b}.failed-view p{max-width:520px}@keyframes spin{to{transform:rotate(360deg)}}@media (width<=980px){.app-shell{grid-template-columns:1fr}.sidebar{display:none}.topbar{padding:0 16px}.mobile-menu{display:block}.flow-grid{grid-template-columns:1fr}.workflow-rail{border-right:0}.step-block{padding:22px 18px}.canvas-region{min-height:520px}.paper-sheet{width:min(100%,720px);min-width:0}}@media (width<=640px){.topbar-actions .quota{display:none}.brand strong{font-size:15px}.flow-grid{display:block}.step-block:not(.active){display:none}.result-view{padding:12px}.sheet-toolbar{flex-direction:column;align-items:stretch;height:auto;padding:12px}.paper-sheet{margin-bottom:18px}.zoom-tools{display:none}}
