.gr-page{--gr-desk:#e8eef6;--gr-card:#fffdf8;--gr-border:#f3d9b1;--gr-blue:#2563eb;--gr-red:#dc2626;--gr-violet:#7c3aed;--gr-ink:#1f2937}.ts-stage.gr-stage{flex-wrap:nowrap;justify-content:stretch;align-items:stretch;overflow:hidden}.gr-stage-inner{flex:1;min-width:0;min-height:0;display:flex;position:relative}.gr-page .gr-btn{border:2px solid var(--gr-border);background:var(--gr-card);min-height:44px;color:var(--ts-text);cursor:pointer;border-radius:999px;justify-content:center;align-items:center;gap:8px;padding:8px 16px;font-weight:700;display:inline-flex}.gr-page .gr-btn:hover:not(:disabled){background:#fff3da}.gr-page .gr-btn:disabled{opacity:.55;cursor:default}.gr-page .gr-btn--primary{background:var(--gr-blue);color:#fff;border-color:#1d4ed8}.gr-page .gr-btn--primary:hover:not(:disabled){background:#1d4ed8}.gr-page .gr-btn--big{min-height:56px;padding:12px 26px;font-size:18px}.gr-page .gr-btn--quiet{background:0 0;border-color:#0000;min-height:36px;padding:6px 10px;font-size:14px}.gr-readings-switch .gr-switch-track{background:#cbd5e1;border-radius:999px;flex:none;width:34px;height:20px;transition:background .15s;position:relative}.gr-readings-switch .gr-switch-thumb{background:#fff;border-radius:50%;width:16px;height:16px;transition:transform .15s;position:absolute;top:2px;left:2px;box-shadow:0 1px 3px #00000040}.gr-readings-switch.is-on .gr-switch-track{background:#16a34a}.gr-readings-switch.is-on .gr-switch-thumb{transform:translate(14px)}@media (max-width:640px){.gr-readings-switch>svg{display:none}}.gr-start{flex-direction:column;flex:1;align-items:center;gap:18px;min-height:0;padding:12px 4px 24px;display:flex;overflow:auto}.gr-start-card{text-align:center;background:#ffffffd9;border:3px dashed #93c5fd;border-radius:28px;flex-direction:column;align-items:center;gap:14px;width:min(640px,100%);padding:26px 22px;display:flex}.gr-start-card h2{font-size:24px;font-weight:800}.gr-start-hint{max-width:460px;color:var(--ts-muted);font-weight:600}.gr-start-hint kbd{background:#f8fafc;border:1px solid #cbd5e1;border-radius:6px;padding:1px 6px;font-size:13px}.gr-board{flex-direction:column;align-items:center;gap:8px;display:flex}.gr-board h3{font-size:15px;font-weight:800}.gr-board-options{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.gr-start-privacy{color:var(--ts-muted);font-size:13px}.gr-recent{width:min(960px,100%)}.gr-recent-head{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.gr-recent-head h2{font-size:18px;font-weight:800}.gr-recent-list{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px;display:grid}.gr-recent-item{position:relative}.gr-recent-open{border:2px solid var(--gr-border);background:var(--gr-card);text-align:left;cursor:pointer;border-radius:18px;flex-direction:column;align-items:flex-start;gap:4px;width:100%;padding:8px 8px 10px;display:flex}.gr-recent-open:hover:not(:disabled){background:#fff7ed;border-color:#fdba74}.gr-recent-thumb{aspect-ratio:4/3;color:#64748b;background:#f1f5f9;border-radius:12px;justify-content:center;align-items:center;width:100%;display:flex;overflow:hidden}.gr-recent-thumb img{object-fit:contain;background:#fff;width:100%;height:100%}.gr-recent-name{word-break:break-word;font-size:14px;line-height:1.25}.gr-recent-time{color:var(--ts-muted);font-size:12px}.gr-recent-remove{color:#b91c1c;cursor:pointer;background:#fff;border:2px solid #fecaca;border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;display:inline-flex;position:absolute;top:12px;right:12px}.gr-workspace{flex:1;grid-template-columns:auto minmax(0,1fr);gap:8px;min-width:0;min-height:0;display:grid}.gr-rail{flex-direction:column;gap:6px;width:106px;margin:-5px 0 -5px -5px;padding:5px;display:flex;overflow-y:auto}.gr-rail-btn{border:2px solid var(--gr-border);background:var(--gr-card);min-height:64px;color:var(--ts-text);text-align:center;cursor:pointer;border-radius:16px;flex-direction:column;align-items:center;gap:2px;padding:6px 4px;font-size:12px;font-weight:700;line-height:1.15;display:flex}.gr-rail-btn:hover:not(:disabled){background:#fff3da}.gr-rail-btn:disabled{opacity:.45;cursor:default}.gr-rail-btn[aria-pressed=true]{border-color:var(--gr-blue);color:#1e3a8a;background:#dbeafe}.gr-rail-btn[aria-pressed=true]:hover{background:#bfdbfe}.gr-rail-sep{background:#e2e8f0;border-radius:2px;flex:none;height:2px;margin:2px 8px}.gr-rail-pen{display:inline-flex;position:relative}.gr-rail-pen span{border:2px solid #fff;border-radius:999px;width:11px;height:11px;position:absolute;bottom:-2px;right:-4px}.gr-rail-btn--clear{color:#b91c1c;border-color:#fecaca;margin-top:auto}.gr-icon path,.gr-icon rect{stroke-width:1.4px;stroke-linejoin:round}.gr-icon--protractor path:first-child{fill:#e0f2fe;stroke:#334155}.gr-icon--square path{fill:#fdba74;stroke:#c2410c}.gr-icon--straight rect{fill:#fde68a;stroke:#a16207}.gr-icon .gr-icon-line{fill:none;stroke:#334155;stroke-width:1.2px}.gr-icon .gr-icon-dot{fill:var(--gr-red)}.gr-view-wrap{background:var(--gr-desk);border:2px solid #cbd5e1;border-radius:22px;min-width:0;min-height:0;position:relative;overflow:hidden}.gr-viewport{touch-action:none;-webkit-user-select:none;user-select:none;cursor:grab;position:absolute;inset:0;overflow:hidden}.gr-viewport:active{cursor:grabbing}.gr-layer{position:absolute;top:0;left:0;overflow:visible}.gr-layer--rulers,.gr-layer--ink{pointer-events:none}.gr-ink path{fill:none;stroke-linecap:round;stroke-linejoin:round}.gr-viewport.is-pen{cursor:crosshair}.gr-viewport.is-eraser{cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Ccircle cx='16' cy='16' r='14' fill='rgba(255,255,255,0.35)' stroke='%23334155' stroke-width='2'/%3E%3C/svg%3E") 16 16,cell}.gr-viewport.is-pen:active,.gr-viewport.is-eraser:active{cursor:inherit}.gr-pen-bar{border-radius:22px;flex-wrap:wrap;justify-content:center;width:max-content;max-width:calc(100% - 20px);margin-inline:auto;position:absolute;top:10px;left:0;right:0}.gr-pen-group{align-items:center;gap:2px;display:flex}.gr-pen-group+.gr-pen-group{border-left:2px solid #e2e8f0;padding-left:6px}.gr-pen-bar .gr-swatch{min-width:36px;padding:0}.gr-swatch:before{content:"";background:var(--gr-swatch);border-radius:999px;width:24px;height:24px;box-shadow:inset 0 0 0 2px #fff9}.gr-pen-bar .gr-swatch[aria-pressed=true]{box-shadow:inset 0 0 0 3px var(--gr-swatch)}.gr-pen-bar .gr-width{min-width:44px}.gr-width span{border-radius:999px;width:26px;display:block}.gr-pen-bar .gr-width[aria-pressed=true]{box-shadow:inset 0 0 0 2px var(--gr-blue);background:#dbeafe}.gr-pen-bar .gr-swatch--custom{cursor:pointer;border-radius:999px;justify-content:center;align-items:center;min-width:36px;min-height:40px;display:inline-flex;position:relative}.gr-swatch--custom:before{background:conic-gradient(#ef4444,#eab308,#22c55e,#06b6d4,#3b82f6,#a855f7,#ec4899,#ef4444)}.gr-swatch--custom:after{content:"";background:var(--gr-swatch);border-radius:999px;width:14px;height:14px;position:absolute;box-shadow:0 0 0 2px #fff}.gr-swatch--custom:hover{background:#eff6ff}.gr-swatch--custom.is-active{box-shadow:inset 0 0 0 3px var(--gr-swatch)}.gr-swatch--custom input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.gr-pen-bar .gr-text-size{min-width:40px;font-weight:900}.gr-pen-bar .gr-text-size[aria-pressed=true]{box-shadow:inset 0 0 0 2px var(--gr-blue);background:#dbeafe}.gr-viewport.is-text{cursor:text}.gr-ink text{paint-order:stroke;stroke-linejoin:round;white-space:pre;font-family:inherit;font-weight:800}.gr-text-editor{z-index:3;outline:2px dashed var(--gr-blue);outline-offset:4px;white-space:pre;resize:none;field-sizing:content;background:#ffffff8c;border:0;border-radius:2px;min-width:2ch;margin:0;padding:0;font-family:inherit;font-weight:800;position:absolute;overflow:hidden}.gr-text-editor::placeholder{color:#94a3b8}.gr-pen-bar .gr-shape-trigger{gap:4px;padding-inline:8px 10px}.gr-shape-trigger[data-state=open]{background:#dbeafe}.gr-shape-icon{flex:none;display:inline-flex}.gr-shape-icon svg{width:26px;height:26px}.gr-shape-menu [aria-current=true]{background:#eff6ff}.gr-pen-hint{color:#475569;padding:0 10px;font-size:13px;font-weight:700}.gr-pen-bar .gr-pen-done{background:var(--gr-blue);color:#fff;padding:4px 14px}.gr-pen-bar .gr-pen-done:hover:not(:disabled){background:#1d4ed8}.gr-detail{transform-origin:0 0;pointer-events:none;position:absolute;top:0;left:0}.gr-detail canvas{width:100%;height:100%;display:block}.gr-paper{fill:#fff;stroke:#cbd5e1;stroke-width:.3px}.gr-grid-minor{fill:none;stroke:#d7e7f6;stroke-width:.15px}.gr-grid-major{fill:none;stroke:#9cc3ea;stroke-width:.3px}.gr-ruler{outline:none;font-family:ui-sans-serif,system-ui,sans-serif}.gr-ruler .gr-body{pointer-events:visiblePainted;cursor:move;stroke-width:1.5px}.gr-ruler.is-selected{filter:drop-shadow(0 4px 10px #2563eb73)}.gr-ruler:focus-visible .gr-body{stroke:var(--gr-blue);stroke-width:3px}.gr-ruler .gr-scale,.gr-ruler .gr-guides,.gr-ruler .gr-pivot,.gr-ruler .gr-ray,.gr-ruler .gr-slider,.gr-ruler .gr-right-angle,.gr-ruler .gr-handle-arm,.gr-badge{pointer-events:none}.gr-scale line{stroke:var(--gr-ink)}.gr-label{fill:var(--gr-ink);font-weight:600}.gr-label--outer{fill:#e11d48;font-weight:700}.gr-ruler--protractor .gr-body{fill:#e0f2fe6b;stroke:#334155}.gr-guides path,.gr-guides line{fill:none;stroke:#0f172a8c;stroke-width:.8px}.gr-ruler--set-square-30-60 .gr-body,.gr-ruler--set-square-45 .gr-body{fill:#fb923c80;stroke:#c2410c}.gr-ruler--set-square-30-60 .gr-scale line,.gr-ruler--set-square-45 .gr-scale line,.gr-ruler--set-square-30-60 .gr-label,.gr-ruler--set-square-45 .gr-label{stroke-opacity:.9;fill:#431407}.gr-ruler--set-square-30-60 .gr-scale line,.gr-ruler--set-square-45 .gr-scale line{stroke:#431407}.gr-right-angle{fill:none;stroke:#431407;stroke-width:1.2px}.gr-ruler--straight .gr-body{fill:#fde04773;stroke:#a16207}.gr-pivot circle,.gr-pivot line{fill:none;stroke:var(--gr-red);stroke-width:2px}.gr-ray{stroke:var(--gr-blue);stroke-width:2.5px}.gr-slider{stroke:var(--gr-red);stroke-width:2px}.gr-knob-hit{fill:#0000;pointer-events:all}[data-part=handle],[data-part=reading]{cursor:grab}.gr-knob-dot{fill:#fff;stroke:var(--gr-blue);stroke-width:3px;pointer-events:none}.gr-slider-knob .gr-knob-dot{stroke:var(--gr-red)}.gr-handle .gr-knob-dot{fill:var(--gr-blue);stroke:#fff}.gr-handle-arm{stroke:var(--gr-blue);stroke-width:1.5px;stroke-dasharray:4 4}.gr-badge rect{fill:#0f172ae0}.gr-badge text{fill:#fff;font-family:ui-sans-serif,system-ui,sans-serif;font-weight:800}.gr-calib line{stroke:var(--gr-violet);stroke-width:3px}.gr-calib>line{stroke-dasharray:8 5;pointer-events:none}.gr-calib [data-calib-end]{pointer-events:all;cursor:move}.gr-calib [data-calib-end] line{stroke-width:1.5px}.gr-calib-end{fill:#fffc;stroke:var(--gr-violet);stroke-width:3px}.gr-calibration{background:#fffffff5;border:2px solid #c4b5fd;border-radius:18px;flex-wrap:wrap;align-items:center;gap:8px 10px;width:min(620px,100% - 20px);padding:10px 14px;display:flex;position:absolute;top:10px;left:50%;transform:translate(-50%);box-shadow:0 8px 24px #0f172a26}.gr-calibration>p:first-child{flex-basis:100%;font-size:14px;font-weight:600}.gr-calibration label{align-items:center;gap:8px;font-weight:700;display:flex}.gr-calibration input{border:2px solid #c4b5fd;border-radius:12px;width:90px;min-height:40px;padding:6px 10px;font-size:16px}.gr-error{color:#b91c1c;flex-basis:100%;font-size:14px;font-weight:700}.gr-chip{background:#fffffff2;border:2px solid #cbd5e1;border-radius:999px;align-items:center;gap:6px;padding:4px 6px 4px 12px;font-size:13px;font-weight:700;display:inline-flex;position:absolute;top:10px;left:10px}.gr-chip.is-estimated{background:#fff7ed;border-color:#fdba74}.gr-chip button{background:var(--gr-violet);color:#fff;cursor:pointer;border-radius:999px;min-height:32px;padding:2px 12px;font-weight:700}.gr-ruler-bar,.gr-pen-bar,.gr-zoom,.gr-page-bar{background:#fffffff5;border:2px solid #cbd5e1;border-radius:999px;align-items:center;gap:4px;padding:4px;display:flex;box-shadow:0 6px 18px #0f172a24}.gr-ruler-bar button,.gr-pen-bar button,.gr-zoom button,.gr-page-bar button{cursor:pointer;border-radius:999px;justify-content:center;align-items:center;gap:2px;min-width:40px;min-height:40px;padding:4px 8px;font-size:13px;font-weight:700;display:inline-flex}.gr-ruler-bar button:hover:not(:disabled),.gr-pen-bar button:hover:not(:disabled),.gr-zoom button:hover:not(:disabled),.gr-page-bar button:hover:not(:disabled){background:#eff6ff}.gr-ruler-bar button:disabled,.gr-pen-bar button:disabled,.gr-page-bar button:disabled{opacity:.4;cursor:default}.gr-ruler-bar button[aria-pressed=true],.gr-page-bar button[aria-pressed=true],.gr-ruler-bar button[aria-pressed=true]:hover:not(:disabled),.gr-page-bar button[aria-pressed=true]:hover:not(:disabled){background:var(--gr-blue);color:#fff}.gr-ruler-bar{border-radius:20px;flex-wrap:wrap;justify-content:center;width:max-content;max-width:calc(100% - 16px);position:absolute;transform:translate(-50%)}.gr-bar-value{text-align:center;min-width:44px;font-size:13px;font-weight:800}.gr-ruler-bar .gr-bar-delete,.gr-pen-bar .gr-bar-delete{color:#b91c1c}.gr-zoom{position:absolute;bottom:10px;right:10px}.gr-zoom output{text-align:center;min-width:52px;font-size:14px;font-weight:800}.gr-pages{flex-direction:column;align-items:center;gap:8px;max-width:calc(100% - 20px);display:flex;position:absolute;bottom:10px;left:50%;transform:translate(-50%)}.gr-page-no{white-space:nowrap;padding:0 6px;font-size:14px;font-weight:800}.gr-thumbs{background:#fffffff5;border-radius:16px;gap:8px;max-width:min(720px,100vw - 60px);padding:8px;display:flex;overflow-x:auto;box-shadow:0 6px 18px #0f172a24}.gr-thumb{cursor:pointer;background:#fff;border:2px solid #cbd5e1;border-radius:8px;flex:none;justify-content:center;align-items:center;width:64px;height:84px;display:flex;position:relative;overflow:hidden}.gr-thumb.is-current{border-color:var(--gr-blue);box-shadow:0 0 0 2px #2563eb59}.gr-thumb img{object-fit:contain;width:100%;height:100%}.gr-thumb span{color:#fff;background:#0f172abf;border-radius:999px;padding:0 5px;font-size:11px;font-weight:700;position:absolute;bottom:3px;right:3px}.gr-drop{z-index:5;border:4px dashed var(--gr-blue);color:#1e3a8a;pointer-events:none;background:#dbeafee0;border-radius:24px;flex-direction:column;justify-content:center;align-items:center;gap:10px;font-size:22px;font-weight:800;display:flex;position:absolute;inset:0}.gr-busy{z-index:5;color:#fff;background:#0f172ad9;border-radius:999px;padding:12px 22px;font-weight:700;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}@media (max-width:700px){.gr-workspace{grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1fr)}.gr-rail{flex-direction:row;width:auto;margin:-5px -5px 0;overflow:auto hidden}.gr-rail-btn{flex:none;width:84px;min-height:56px}.gr-rail-btn--clear{margin-top:0;margin-left:auto}.gr-rail-sep{width:2px;height:auto;margin:8px 2px}.gr-pen-group>button>span:not([style]),.gr-zoom-fit span{display:none}.gr-pages{align-items:flex-start;left:10px;transform:none}.gr-page-bar button:last-child span{display:none}}
