@import "https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700&display=swap";:root{color:#0f172a;font-synthesis:none;background:#f8fafc;font-family:Roboto,Arial,sans-serif}*{box-sizing:border-box}body{margin:0;overflow:hidden}.topbar{background:#fff;border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;height:66px;padding:0 22px;display:flex}.brand{align-items:center;gap:11px;display:flex}.brand-mark{color:#fff;background:#0f172a;border-radius:10px;place-items:center;width:38px;height:38px;font-size:23px;font-weight:700;display:grid}.brand strong{font-size:18px;display:block}.brand small{color:#64748b;letter-spacing:1.5px;margin-top:2px;font-size:9px;display:block}.top-actions{align-items:center;gap:16px;display:flex}.saved{color:#16a34a;font-size:12px}.ghost,.viewer-tools button{color:#334155;cursor:pointer;background:#fff;border:1px solid #dbe2ea;border-radius:8px;padding:9px 13px}.workspace{grid-template-columns:minmax(0,1fr) 330px;height:calc(100vh - 66px);display:grid}.viewer-wrap{border-right:1px solid #e2e8f0;min-width:0;position:relative}.viewer,#viewer{width:100%;height:100%}.sidebar{background:#f8fafc;padding:14px;overflow:auto}.card{background:#fff;border:1px solid #e0e5eb;border-radius:9px;margin-bottom:13px;padding:17px;box-shadow:0 1px 2px #0f172a08}.card h2{align-items:center;gap:10px;margin:0 0 15px;font-size:16px;display:flex}.card h2 span{font-size:15px}.card p{color:#64748b;margin:0 0 14px;font-size:12px;line-height:1.55}.card label{margin-bottom:8px;font-size:11px;font-weight:600;display:block}.file-btn,.primary{cursor:pointer;border:0;border-radius:7px;justify-content:center;align-items:center;width:100%;padding:11px 14px;font-size:12px;font-weight:600;color:#fff!important;background:#111827!important;display:flex!important}.file-info{color:#64748b;word-break:break-all;margin-top:10px;font-size:11px;line-height:1.5}select,input[type=number]{color:#334155;background:#fff;border:1px solid #dce2e9;border-radius:7px;width:100%;padding:10px;font-size:12px}.control{border-top:1px solid #edf0f4;padding:13px 0 5px}.control:first-of-type{border-top:0;padding-top:0}.control>div{justify-content:space-between;align-items:center;display:flex}.control b{font-size:11px}.control input[type=range]{accent-color:#2563eb;vertical-align:middle;width:69%}.control input[type=number]{width:28%;padding:7px}.secondary{color:#334155;cursor:pointer;background:#fff;border:1px solid #dbe2e8;border-radius:7px;width:100%;margin-top:8px;padding:10px;font-size:12px;font-weight:600}.primary:disabled,.secondary:disabled{opacity:.4;cursor:not-allowed}.local-note{text-align:center;color:#16a34a;padding:4px 0 18px;font-size:11px}.empty{pointer-events:none;flex-direction:column;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.empty[hidden]{display:none}.empty-icon{color:#64748b;background:#fff;border:1px solid #cbd5e1;border-radius:18px;place-items:center;width:68px;height:68px;font-weight:700;display:grid;box-shadow:0 8px 24px #0f172a12}.empty h1{margin:20px 0 6px;font-size:24px}.empty p{color:#64748b;margin:0 0 18px;font-size:13px}.upload-main{pointer-events:auto;width:auto!important;padding:12px 25px!important}.measure{color:#64748b;background:#fffd;border:1px solid #e2e8f0;border-radius:7px;padding:7px 10px;font:10px monospace;position:absolute;bottom:12px;left:14px}.viewer-tools{gap:7px;display:flex;position:absolute;top:14px;left:14px}.viewer-tools button{padding:8px 11px}.viewer-tools button:hover,.ghost:hover,.secondary:hover{background:#f1f5f9}@media (width<=760px){body{overflow:auto}.topbar{height:58px}.saved{display:none}.workspace{flex-direction:column;height:auto;display:flex}.viewer-wrap{border-bottom:1px solid #e2e8f0;border-right:0;height:55vh;min-height:390px}.sidebar{overflow:visible}.empty{text-align:center;padding:20px}.empty p{max-width:280px}.workspace{min-height:calc(100vh - 58px)}}
