:root{--react-pdf-annotation-layer: 1;--annotation-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>");--input-focus-border-color: Highlight;--input-focus-outline: 1px solid Canvas;--input-unfocused-border-color: transparent;--input-disabled-border-color: transparent;--input-hover-border-color: black;--link-outline: none}@media screen and (forced-colors:active){:root{--input-focus-border-color: CanvasText;--input-unfocused-border-color: ActiveText;--input-disabled-border-color: GrayText;--input-hover-border-color: Highlight;--link-outline: 1.5px solid LinkText}.annotationLayer .textWidgetAnnotation :is(input,textarea):required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:required{outline:1.5px solid selectedItem}.annotationLayer .linkAnnotation:hover{-webkit-backdrop-filter:invert(100%);backdrop-filter:invert(100%)}}.annotationLayer{position:absolute;top:0;left:0;pointer-events:none;transform-origin:0 0;z-index:3}.annotationLayer[data-main-rotation="90"] .norotate{transform:rotate(270deg) translate(-100%)}.annotationLayer[data-main-rotation="180"] .norotate{transform:rotate(180deg) translate(-100%,-100%)}.annotationLayer[data-main-rotation="270"] .norotate{transform:rotate(90deg) translateY(-100%)}.annotationLayer canvas{position:absolute;width:100%;height:100%}.annotationLayer section{position:absolute;text-align:initial;pointer-events:auto;box-sizing:border-box;margin:0;transform-origin:0 0}.annotationLayer .linkAnnotation{outline:var(--link-outline)}.textLayer.selecting~.annotationLayer section{pointer-events:none}.annotationLayer :is(.linkAnnotation,.buttonWidgetAnnotation.pushButton)>a{position:absolute;font-size:1em;top:0;left:0;width:100%;height:100%}.annotationLayer :is(.linkAnnotation,.buttonWidgetAnnotation.pushButton)>a:hover{opacity:.2;background:#ff0;box-shadow:0 2px 10px #ff0}.annotationLayer .textAnnotation img{position:absolute;cursor:pointer;width:100%;height:100%;top:0;left:0}.annotationLayer .textWidgetAnnotation :is(input,textarea),.annotationLayer .choiceWidgetAnnotation select,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input{background-image:var(--annotation-unfocused-field-background);border:2px solid var(--input-unfocused-border-color);box-sizing:border-box;font:calc(9px * var(--total-scale-factor)) sans-serif;height:100%;margin:0;vertical-align:top;width:100%}.annotationLayer .textWidgetAnnotation :is(input,textarea):required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:required{outline:1.5px solid red}.annotationLayer .choiceWidgetAnnotation select option{padding:0}.annotationLayer .buttonWidgetAnnotation.radioButton input{border-radius:50%}.annotationLayer .textWidgetAnnotation textarea{resize:none}.annotationLayer .textWidgetAnnotation :is(input,textarea)[disabled],.annotationLayer .choiceWidgetAnnotation select[disabled],.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input[disabled]{background:none;border:2px solid var(--input-disabled-border-color);cursor:not-allowed}.annotationLayer .textWidgetAnnotation :is(input,textarea):hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:hover{border:2px solid var(--input-hover-border-color)}.annotationLayer .textWidgetAnnotation :is(input,textarea):hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation.checkBox input:hover{border-radius:2px}.annotationLayer .textWidgetAnnotation :is(input,textarea):focus,.annotationLayer .choiceWidgetAnnotation select:focus{background:none;border:2px solid var(--input-focus-border-color);border-radius:2px;outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) :focus{background-image:none;background-color:transparent}.annotationLayer .buttonWidgetAnnotation.checkBox :focus{border:2px solid var(--input-focus-border-color);border-radius:2px;outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation.radioButton :focus{border:2px solid var(--input-focus-border-color);outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{background-color:CanvasText;content:"";display:block;position:absolute}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{height:80%;left:45%;width:1px}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{transform:rotate(45deg)}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{transform:rotate(-45deg)}.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{border-radius:50%;height:50%;left:30%;top:20%;width:50%}.annotationLayer .textWidgetAnnotation input.comb{font-family:monospace;padding-left:2px;padding-right:0}.annotationLayer .textWidgetAnnotation input.comb:focus{width:103%}.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input{-webkit-appearance:none;-moz-appearance:none;appearance:none}.annotationLayer .popupTriggerArea{height:100%;width:100%}.annotationLayer .fileAttachmentAnnotation .popupTriggerArea{position:absolute}.annotationLayer .popupWrapper{position:absolute;font-size:calc(9px * var(--total-scale-factor));width:100%;min-width:calc(180px * var(--total-scale-factor));pointer-events:none}.annotationLayer .popup{position:absolute;max-width:calc(180px * var(--total-scale-factor));background-color:#ff9;box-shadow:0 calc(2px * var(--total-scale-factor)) calc(5px * var(--total-scale-factor)) #888;border-radius:calc(2px * var(--total-scale-factor));padding:calc(6px * var(--total-scale-factor));margin-left:calc(5px * var(--total-scale-factor));cursor:pointer;font:message-box;white-space:normal;word-wrap:break-word;pointer-events:auto}.annotationLayer .popup>*{font-size:calc(9px * var(--total-scale-factor))}.annotationLayer .popup h1{display:inline-block}.annotationLayer .popupDate{display:inline-block;margin-left:calc(5px * var(--total-scale-factor))}.annotationLayer .popupContent{border-top:1px solid rgba(51,51,51,1);margin-top:calc(2px * var(--total-scale-factor));padding-top:calc(2px * var(--total-scale-factor))}.annotationLayer .richText>*{white-space:pre-wrap;font-size:calc(9px * var(--total-scale-factor))}.annotationLayer .highlightAnnotation,.annotationLayer .underlineAnnotation,.annotationLayer .squigglyAnnotation,.annotationLayer .strikeoutAnnotation,.annotationLayer .freeTextAnnotation,.annotationLayer .lineAnnotation svg line,.annotationLayer .squareAnnotation svg rect,.annotationLayer .circleAnnotation svg ellipse,.annotationLayer .polylineAnnotation svg polyline,.annotationLayer .polygonAnnotation svg polygon,.annotationLayer .caretAnnotation,.annotationLayer .inkAnnotation svg polyline,.annotationLayer .stampAnnotation,.annotationLayer .fileAttachmentAnnotation{cursor:pointer}.annotationLayer section svg{position:absolute;width:100%;height:100%;top:0;left:0}.annotationLayer .annotationTextContent{position:absolute;width:100%;height:100%;opacity:0;color:transparent;-webkit-user-select:none;user-select:none;pointer-events:none}.annotationLayer .annotationTextContent span{width:100%;display:inline-block}:root{--react-pdf-text-layer: 1;--highlight-bg-color: rgba(180, 0, 170, 1);--highlight-selected-bg-color: rgba(0, 100, 0, 1)}@media screen and (forced-colors:active){:root{--highlight-bg-color: Highlight;--highlight-selected-bg-color: ButtonText}}[data-main-rotation="90"]{transform:rotate(90deg) translateY(-100%)}[data-main-rotation="180"]{transform:rotate(180deg) translate(-100%,-100%)}[data-main-rotation="270"]{transform:rotate(270deg) translate(-100%)}.textLayer{position:absolute;text-align:initial;top:0;right:0;bottom:0;left:0;overflow:hidden;line-height:1;text-size-adjust:none;forced-color-adjust:none;transform-origin:0 0;z-index:2}.textLayer :is(span,br){color:transparent;position:absolute;white-space:pre;cursor:text;margin:0;transform-origin:0 0}.textLayer span.markedContent{top:0;height:0}.textLayer .highlight{margin:-1px;padding:1px;background-color:var(--highlight-bg-color);border-radius:4px}.textLayer .highlight.appended{position:initial}.textLayer .highlight.begin{border-radius:4px 0 0 4px}.textLayer .highlight.end{border-radius:0 4px 4px 0}.textLayer .highlight.middle{border-radius:0}.textLayer .highlight.selected{background-color:var(--highlight-selected-bg-color)}.textLayer br::selection{background:transparent}.textLayer .endOfContent{display:block;position:absolute;top:100%;right:0;bottom:0;left:0;z-index:-1;cursor:default;-webkit-user-select:none;user-select:none}.textLayer.selecting .endOfContent{top:0}.hiddenCanvasElement{position:absolute;top:0;left:0;width:0;height:0;display:none}:root{color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#e8edf4;color:#152033}*{box-sizing:border-box}body{margin:0;min-width:1024px;min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}.drawing-hub-shell{display:grid;grid-template-columns:316px minmax(0,1fr);height:100vh;background:#e5edf7;transition:grid-template-columns .16s ease}.drawing-hub-shell.left-collapsed{grid-template-columns:72px minmax(0,1fr)}.drawing-hub-sidebar{display:flex;flex-direction:column;gap:16px;padding:18px;border-right:1px solid #c8d3e2;background:#f7f9fc;overflow-y:auto;transition:padding .16s ease}.drawing-hub-sidebar.collapsed{align-items:center;gap:14px;overflow:hidden;padding:14px 10px}.brand-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:10px}.drawing-hub-sidebar.collapsed .brand-row{flex-direction:column;gap:10px;padding-bottom:0}.brand-mark{display:grid;width:42px;height:42px;place-items:center;border-radius:14px;background:#0f172a;color:#67e8f9;font-weight:900;letter-spacing:.08em}.brand-row strong,.brand-row span{display:block}.brand-row strong{color:#0f172a;font-size:18px}.brand-row span{color:#64748b;font-size:13px}.primary-action,.secondary-action,.overlay-picker button,.topbar-actions button,.tool-strip button,.delete-source,.panel-collapse-button,.sidebar-collapsed-rail button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #cbd5e1;border-radius:12px;background:#fff;color:#0f172a;min-height:38px;padding:8px 12px;font-weight:700}.panel-collapse-button{width:38px;padding:0;color:#0369a1}.sidebar-collapsed-rail{display:grid;gap:10px}.sidebar-collapsed-rail button{width:44px;height:44px;padding:0;border-radius:14px}.primary-action{width:100%;border-color:#0ea5e9;background:#0ea5e9;color:#fff}.secondary-action{width:100%;border-color:#bae6fd;background:#fff;color:#0369a1}.primary-action.compact,.secondary-action.compact{width:auto}.overlay-picker{display:grid;gap:8px}.overlay-picker label,.source-control span{color:#475569;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.overlay-picker select{width:100%;min-height:38px;border:1px solid #cbd5e1;border-radius:12px;background:#fff;color:#0f172a;padding:0 12px}.sidebar-section{padding:14px;border:1px solid #d6e0ed;border-radius:18px;background:#fff;box-shadow:0 12px 30px #0f172a0d}.auth-card{display:grid;gap:8px;background:linear-gradient(135deg,#ecfeff,#fff)}.auth-card strong{color:#0f172a}.auth-card span{color:#64748b;font-size:12px;line-height:1.35}.section-title{display:flex;align-items:center;gap:8px;color:#0f172a;font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.small-copy,.error-copy{color:#64748b;font-size:13px;line-height:1.45}.error-copy{color:#b91c1c}code{display:block;overflow:hidden;text-overflow:ellipsis;color:#0369a1;font-size:11px}.source-list{display:grid;gap:10px}.source-card{display:grid;gap:10px;padding:12px;border:1px solid #d6e0ed;border-radius:16px;background:#f8fafc}.source-card.base{border-color:#0ea5e9;background:#ecfeff}.source-card.ocad{border-color:#c4b5fd;background:#f5f3ff}.source-card.ocad.active{border-color:#7c3aed;background:#ede9fe;box-shadow:0 0 0 2px #7c3aed1f}.material-requisition-card{border-color:#fed7aa;background:#fff7ed}.source-card-title{display:flex;align-items:flex-start;gap:10px}.source-card-title button,.inspect-panel-heading button{display:grid;width:30px;height:30px;place-items:center;border:1px solid #cbd5e1;border-radius:10px;background:#fff}.source-card-title strong,.source-card-title span{display:block}.source-card-title strong{color:#0f172a;font-size:14px}.source-card-title span{color:#64748b;font-size:12px}.source-control{display:grid;gap:5px}.ocad-meta-row{display:flex;justify-content:space-between;gap:10px;color:#475569;font-size:12px;font-weight:700}.ocad-authority-row{width:fit-content;border:1px solid #bae6fd;border-radius:999px;background:#ecfeff;color:#0369a1;font-size:11px;font-weight:900;letter-spacing:.04em;padding:3px 8px;text-transform:uppercase}.source-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.source-card-actions button{min-height:32px;font-size:12px}.delete-source{min-height:32px;border-color:#fecaca;color:#b91c1c;font-size:12px}.drawing-hub-main{display:grid;grid-template-rows:auto auto minmax(0,1fr);min-width:0;min-height:0}.drawing-hub-topbar{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:76px;padding:14px 20px;border-bottom:1px solid #c8d3e2;background:#f8fafc}.drawing-hub-topbar p,.inspect-panel-heading p{margin:0 0 4px;color:#0ea5e9;font-size:11px;font-weight:900;letter-spacing:.16em;text-transform:uppercase}.drawing-hub-topbar h1,.inspect-panel-heading h2{margin:0;color:#0f172a;font-size:22px}.topbar-actions,.tool-strip,.color-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.page-chip{display:inline-flex;align-items:center;min-height:38px;padding:0 12px;border:1px solid #d6e0ed;border-radius:12px;background:#fff;color:#334155;font-weight:800}.tool-strip{padding:10px 20px;border-bottom:1px solid #c8d3e2;background:#fff}.topbar-actions button.active,.tool-strip button.active{border-color:#0ea5e9;background:#e0f2fe;color:#0369a1}.color-row{padding:4px 8px;border-left:1px solid #d6e0ed}.color-row button{width:24px;height:24px;min-height:24px;padding:0;border-radius:999px}.color-row button.active{box-shadow:0 0 0 3px #fff,0 0 0 5px #0ea5e9}.viewer-and-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,340px);gap:16px;min-height:0;padding:18px;transition:grid-template-columns .16s ease}.viewer-and-panel.right-collapsed{grid-template-columns:minmax(0,1fr) 56px}.viewer-scroll{position:relative;display:grid;place-items:start center;min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;border:1px solid #c8d3e2;border-radius:22px;background:linear-gradient(90deg,rgba(148,163,184,.15) 1px,transparent 1px),linear-gradient(rgba(148,163,184,.15) 1px,transparent 1px),#dbe5f1;background-size:32px 32px;padding:32px}.viewer-scroll.is-pan-mode{cursor:grab}.viewer-scroll.is-panning{cursor:grabbing}.empty-state{display:grid;place-items:center;align-self:stretch;justify-self:stretch;min-height:520px;color:#64748b;text-align:center}.empty-state h2{margin:12px 0 0;color:#0f172a}.empty-state p{max-width:520px;line-height:1.55}.empty-action-row{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}.sheet-page{position:relative;min-height:640px;overflow:hidden;border-radius:4px;background:#fff;box-shadow:0 18px 55px #0f172a3d}.sheet-page .react-pdf__Document,.sheet-page .react-pdf__Page{position:relative;z-index:1}.sheet-page canvas{display:block}.pdf-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;pointer-events:none;mix-blend-mode:multiply}.pdf-overlay:after{position:absolute;top:0;right:0;bottom:0;left:0;border:2px solid currentColor;content:"";opacity:.18;pointer-events:none}.markup-layer{position:absolute;top:0;right:0;bottom:0;left:0;z-index:4;width:100%;height:100%;touch-action:none}.markup-layer.tool-select{cursor:default}.markup-layer.tool-pan,.markup-layer.space-pan{cursor:grab}.markup-layer.tool-pan.is-panning,.markup-layer.space-pan.is-panning{cursor:grabbing}.markup-layer.tool-pen,.markup-layer.tool-rect,.markup-layer.tool-note,.markup-layer.tool-cloud,.markup-layer.tool-measure{cursor:crosshair}.markup-layer.tool-pin{cursor:copy}.scale-calibration{pointer-events:none}.scale-calibration line{stroke:#22c55e;stroke-width:2;stroke-dasharray:6 4;vector-effect:non-scaling-stroke}.scale-calibration circle{fill:#22c55e;stroke:#fff;stroke-width:2;vector-effect:non-scaling-stroke}.scale-calibration text{fill:#16a34a;font-weight:800;stroke:#fff}.pdf-loading,.hidden-base{display:grid;min-height:640px;place-items:center;color:#64748b}.inspect-panel{min-height:0;overflow-y:auto;border:1px solid #0ea5e9;border-radius:22px;background:#07111f;color:#cbd5e1;box-shadow:0 18px 55px #0f172a38}.inspect-panel.collapsed{display:grid;overflow:hidden}.inspect-collapsed-rail{display:flex;align-items:center;justify-content:flex-start;gap:14px;width:100%;height:100%;min-height:280px;border:0;border-radius:22px;background:#07111f;color:#7dd3fc;padding:18px 0;font-size:11px;font-weight:900;letter-spacing:.16em;text-transform:uppercase;writing-mode:vertical-rl}.inspect-collapsed-rail svg{transform:rotate(90deg)}.inspect-panel-heading{display:flex;align-items:center;justify-content:space-between;padding:18px;border-bottom:1px solid #17324d}.inspect-panel-heading h2{color:#fff}.metric-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;padding:14px}.metric-grid div{padding:12px;border:1px solid #17324d;border-radius:14px;background:#0f1a2b}.metric-grid span,.metric-grid strong{display:block}.metric-grid span{color:#7dd3fc;font-size:10px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.metric-grid strong{margin-top:4px;color:#fff;font-size:24px}.inspector-section{display:grid;gap:10px;padding:16px 18px;border-top:1px solid #17324d}.inspector-section h3{margin:0;color:#7dd3fc;font-size:12px;letter-spacing:.12em;text-transform:uppercase}.inspector-section p{margin:0;color:#a8b4c6;font-size:13px;line-height:1.55}.inspector-section p strong{color:#fff}.inspector-action-row{display:flex;gap:8px;flex-wrap:wrap}.inspector-action-row button{display:inline-flex;align-items:center;justify-content:center;min-height:34px;border:1px solid #17324d;border-radius:10px;background:#0f1a2b;color:#7dd3fc;padding:7px 10px;font-weight:800}.inspector-action-row button:disabled{opacity:.45}.inspector-action-row button.active{border-color:#22d3ee;background:#0891b240;color:#fff}.takeoff-summary-card{display:grid;gap:8px;padding:12px;border:1px solid #164e63;border-radius:16px;background:linear-gradient(135deg,#0891b238,#0f172a66)}.takeoff-summary-card>strong,.takeoff-summary-card>span{display:block}.takeoff-summary-card>strong{color:#fff}.takeoff-summary-card>span{color:#94a3b8;font-size:12px}.takeoff-summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.takeoff-summary-grid div{padding:8px;border:1px solid rgba(125,211,252,.18);border-radius:12px;background:#02061759}.takeoff-summary-grid small,.takeoff-summary-grid b{display:block}.takeoff-summary-grid small{color:#7dd3fc;font-size:9px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.takeoff-summary-grid b{margin-top:2px;color:#fff;font-size:16px}.takeoff-list{display:grid;gap:8px}.takeoff-row{display:flex;justify-content:space-between;gap:12px;padding:10px;border:1px solid #17324d;border-radius:13px;background:#0b1627}.takeoff-row strong,.takeoff-row small,.takeoff-row-qty b,.takeoff-row-qty span{display:block}.takeoff-row strong{color:#f8fafc;font-size:13px}.takeoff-row small{margin-top:3px;color:#94a3b8;font-size:11px;line-height:1.35}.takeoff-row-qty{min-width:70px;text-align:right}.takeoff-row-qty b{color:#22d3ee}.takeoff-row-qty span{color:#a8b4c6;font-size:11px}.mr-form-grid{display:grid;gap:8px}.mr-form-grid input,.mr-form-grid select,.mr-form-grid textarea,.mr-line-editor input{width:100%;min-height:38px;border:1px solid #17324d;border-radius:11px;background:#0b1627;color:#e5f6ff;padding:8px 10px}.mr-form-grid textarea{min-height:76px;resize:vertical}.mr-form-grid input::placeholder,.mr-form-grid textarea::placeholder,.mr-line-editor input::placeholder{color:#64748b}.mr-line-editor{display:grid;grid-template-columns:minmax(0,1fr) 72px 58px auto;gap:7px;align-items:center}.mr-line-editor button{min-height:38px;border:1px solid #22d3ee;border-radius:11px;background:#0891b23d;color:#f8fafc;font-weight:800}.mr-line-list{max-height:300px;overflow:auto}.layer-row{display:flex;gap:10px;align-items:center}.layer-row>span{width:12px;height:12px;border-radius:999px}.layer-row strong,.layer-row small{display:block}.layer-row strong{color:#f8fafc}.layer-row small{color:#94a3b8}@media(max-width:1220px){.drawing-hub-shell{grid-template-columns:280px minmax(0,1fr)}.drawing-hub-shell.left-collapsed{grid-template-columns:72px minmax(0,1fr)}.viewer-and-panel{grid-template-columns:minmax(0,1fr)}.viewer-and-panel.right-collapsed{grid-template-columns:minmax(0,1fr) 56px}.inspect-panel{max-height:360px}}
