:root{--ink:#173a3c;--ink-deep:#112e31;--text:#263d3d;--muted:#6d7b77;--paper:#fffefa;--cream:#f6f4ed;--line:#dce1d8;--gold:#a78c55;--green:#1b805e;--red:#cb4552;--note:#9c7a32;--shadow:0 10px 32px #1d3c3710;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);font-size:14px;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--cream)}button,input,textarea,select{font:inherit}button,a,label,summary,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.38}button,select,input,textarea{color:inherit}button{border:0}a{color:inherit}button svg,label svg{flex:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible,label:has(+input:focus-visible){outline:3px solid #bf9c4e;outline-offset:3px}input,textarea,select{background:var(--paper);border:1px solid #ced6ce;border-radius:6px}input,textarea{padding:10px 12px}textarea{resize:vertical;min-height:120px;line-height:1.5}input:disabled{opacity:1}input::placeholder,textarea::placeholder{color:#8a9690}button{transition:background .15s,box-shadow .15s,color .15s}button:hover:not(:disabled){filter:brightness(.96)}[hidden]{display:none!important}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.icon-sprite{position:absolute;width:0;height:0;overflow:hidden}.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;display:inline-block;vertical-align:middle}.muted{color:var(--muted)}.section-eyebrow{font-size:10px;font-weight:700;letter-spacing:1.7px;color:#7a846f;display:block}.button{display:inline-flex;min-height:44px;align-items:center;justify-content:center;gap:8px;padding:10px 15px;border-radius:6px;font-weight:600;font-size:12px;text-decoration:none;cursor:pointer;white-space:nowrap;border:1px solid transparent}.button-primary{background:var(--ink);color:#fff}.button-primary:hover{background:#245154}.button-secondary{background:var(--paper);border-color:var(--line);color:var(--ink)}.button-danger{background:#fff3f2;color:#b03743;border-color:#f0d6d5}.icon-button{width:44px;min-height:44px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;background:transparent;color:#697d77;font-size:24px;line-height:1}.icon-button:hover:not(:disabled){background:#eef1e9}.text-button{background:transparent;display:flex;align-items:center;gap:9px;min-height:44px;text-align:left;font-size:12px;color:#5e716a;cursor:pointer;padding:7px 0}.text-button .icon{width:17px;height:17px}
.app-header{height:86px;padding:0 27px;background:var(--ink);color:#fff;display:flex;align-items:center;gap:26px}.wordmark{text-decoration:none;display:flex;flex-direction:column;align-items:center;line-height:1}.wordmark>span{font-family:Georgia,"Times New Roman",serif;font-size:28px;letter-spacing:5.5px;padding-left:5px}.wordmark small{font-size:7px;letter-spacing:2.15px;margin-top:9px;color:#d9ddd1}.header-divider{height:36px;width:1px;background:#ffffff25}.product-title{font-family:Georgia,"Times New Roman",serif;font-size:21px;display:flex;gap:13px;align-items:center}.prototype-badge{font:600 8px/1 ui-sans-serif,system-ui,sans-serif;letter-spacing:1.2px;border:1px solid #b3bca361;color:#d0d8bf;border-radius:4px;padding:6px 7px}.header-status{margin-left:auto;display:flex;gap:10px;align-items:center}.status-chip{font-size:11px;color:#e3e9de;display:inline-flex;align-items:center;gap:7px;line-height:1.3}.status-dot{width:6px;height:6px;border-radius:50%;background:#a3bf9b;display:inline-block}.save-chip{border-left:1px solid #ffffff25;padding-left:12px;max-width:200px}.header-help{color:#e3e9de}.header-help:hover:not(:disabled){background:#ffffff12}.app-layout{display:grid;grid-template-columns:235px minmax(0,1fr) 264px;min-height:calc(100dvh - 86px)}.side-panel{background:#fafaf5}.library-panel{border-right:1px solid var(--line)}.panel-summary{list-style:none;min-height:52px;padding:10px 20px;display:flex;align-items:center;justify-content:space-between;font-weight:600;cursor:pointer;border-bottom:1px solid var(--line)}.panel-summary::-webkit-details-marker{display:none}.panel-summary .icon{width:15px;height:15px;transition:transform .2s}details[open]>.panel-summary .icon{transform:rotate(90deg)}.count-badge{display:inline-flex;min-width:21px;justify-content:center;align-items:center;border-radius:20px;background:#e8ede3;color:#6b7b64;font-size:10px;margin-left:6px;padding:3px 5px}.library-content{padding:26px 20px;display:flex;flex-direction:column;min-height:calc(100dvh - 86px)}.library-content h1{font:24px/1.15 Georgia,"Times New Roman",serif;margin:10px 0 0;letter-spacing:-.45px}.library-description{font-size:12px;line-height:1.6;margin:13px 0 20px}.upload-button{width:100%;justify-content:flex-start;padding-left:14px}.document-list{display:flex;flex-direction:column;gap:8px;padding:22px 0;flex:1;min-height:130px}.library-empty{font-size:12px;line-height:1.7;color:#9ba49b;margin:8px 0}.document-card{width:100%;display:flex;align-items:center;gap:10px;position:relative;background:transparent;padding:12px 10px;border:1px solid transparent;border-radius:7px;text-align:left;min-height:68px;color:#63736c}.document-card:hover{background:#eef1e7}.document-card.active,.document-card[aria-current="true"]{background:#e9efe4;border-color:#d8e1d1;color:var(--ink)}.document-card .icon{flex:none;width:20px}.document-card .document-info{min-width:0;flex:1}.document-card strong{display:block;overflow:hidden;text-overflow:ellipsis;font-size:12px;font-weight:600;white-space:nowrap;line-height:1.4}.document-card small{display:block;font-size:10px;color:#87917f;margin-top:5px}.document-card .document-delete{background:transparent;border-radius:4px;padding:5px;color:#81917f}.document-card .document-delete .icon{width:15px;height:15px}.library-actions{border-top:1px solid var(--line);padding-top:13px;margin-bottom:22px}.device-card{display:flex;gap:9px;padding:14px 11px;background:#f0f2e9;border-radius:7px;color:#72816a}.device-card>.icon{width:16px;height:16px;margin-top:1px;flex:none}.device-card strong{font-size:10px;font-weight:600;color:#53694f}.device-card p{font-size:10px;line-height:1.6;margin:6px 0 8px}.offline-status{font-size:9px;line-height:1.5;display:block;color:#738468}.offline-status.ready{color:var(--green)}.offline-status.error{color:var(--red)}
.workspace{display:flex;flex-direction:column;min-width:0;min-height:calc(100dvh - 86px)}.document-header{padding:25px 26px 22px;display:flex;align-items:center;justify-content:space-between;gap:16px;background:var(--paper);border-bottom:1px solid var(--line)}.document-title-group{min-width:0;flex:1}.document-name{border:1px solid transparent;padding:5px 4px;margin:5px -4px -5px;width:100%;max-width:430px;background:transparent;font:25px/1.25 Georgia,"Times New Roman",serif;letter-spacing:-.4px;border-radius:4px;text-overflow:ellipsis;color:var(--ink)}.document-name:hover:enabled{border-color:var(--line)}.document-name:focus{border-color:var(--gold)}.document-name:disabled{color:#9ba496}.document-actions{display:flex;align-items:center;gap:8px}.document-actions .button{font-size:11px;min-height:40px;padding:9px 12px}.document-actions .icon{width:17px;height:17px}.editor-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 18px;background:var(--paper);border-bottom:1px solid var(--line)}.drawing-tools{display:flex;gap:3px}.tool-button{min-height:44px;padding:9px 12px;display:flex;align-items:center;justify-content:center;gap:7px;border-radius:5px;background:transparent;color:#65756d;font-size:11px;font-weight:500;border:1px solid transparent}.tool-button:hover:not(:disabled){background:#f0f2eb}.tool-button.active,.tool-button[aria-pressed="true"]{background:#edf1e8;border-color:#d8e1d0;color:var(--ink)}.tool-button .icon{width:18px;height:18px}.green-tool .icon{color:var(--green);stroke-width:2.5}.red-tool .icon{color:var(--red);stroke-width:2.5}.note-tool .icon{color:var(--note)}.history-tools{display:flex;align-items:center}.history-tools .icon-button{width:36px}.history-tools .icon{width:17px;height:17px}.toolbar-divider{height:19px;width:1px;background:var(--line);margin:0 4px}.view-toolbar{height:55px;display:flex;align-items:center;justify-content:space-between;padding:6px 24px;border-bottom:1px solid #dce1d8;background:#f6f6ef}.page-navigation{display:flex;align-items:center;gap:9px;font-size:11px}.page-navigation label{color:#5d7065}.page-navigation select{height:34px;min-width:54px;padding:4px 7px;background:var(--paper);font-size:11px}.page-navigation .muted{font-size:10px}.zoom-controls{display:flex;align-items:center;font-size:11px;gap:1px}.zoom-controls .icon-button{width:34px;min-height:36px;font-size:21px}.zoom-controls #zoom-label{width:43px;text-align:center;color:#61725f;font-variant-numeric:tabular-nums}.fit-button{display:flex;gap:6px;align-items:center;background:transparent;margin-left:10px;border-left:1px solid var(--line);padding:4px 0 4px 13px;color:#637360;min-height:36px;font-size:10px}.fit-button .icon{width:15px;height:15px}.stage-scroll{position:relative;overflow:auto;background-color:#e9ece5;background-image:radial-gradient(#bdc8b8 0.6px,transparent .6px);background-size:13px 13px;flex:1;min-height:420px;max-height:calc(100dvh - 336px);padding:30px 26px;overscroll-behavior:contain}.stage{position:relative;background:white;box-shadow:0 3px 6px #253f2410,0 20px 32px #293e2414;margin:0 auto;flex-shrink:0;isolation:isolate}.stage canvas{display:block;width:100%;height:100%}#annotation-layer{position:absolute;inset:0;width:100%;height:100%;overflow:visible;touch-action:none;user-select:none;-webkit-user-select:none}#annotation-layer .annotation{cursor:grab}#annotation-layer .annotation.selected{cursor:grabbing}.stage[data-tool="green"],.stage[data-tool="red"],.stage[data-tool="note"]{cursor:crosshair}.empty-state{max-width:600px;text-align:center;margin:0 auto;padding:18px 0 25px;min-height:410px;display:flex;flex-direction:column;align-items:center;justify-content:center}.empty-plan{width:212px;margin:0 auto 20px;transform:rotate(-3deg);filter:drop-shadow(0 8px 8px #1c423714)}.empty-plan svg{width:100%;display:block}.plan-paper{fill:#fffefa;stroke:#e1e4d9}.plan-lines{fill:none;stroke:#5a7062;stroke-width:2}.door-line{stroke:#bdc9b8;stroke-width:1!important}.sample-green{stroke:var(--green);stroke-width:3;stroke-linecap:round}.sample-red{stroke:var(--red);stroke-width:3;stroke-linecap:round}.sample-arrow{fill:none;stroke:#a58a48;stroke-width:1.5;stroke-linecap:round}.sample-note{fill:#fcf4d9;stroke:#d5c48b}.sample-note-line{stroke:#bea872;stroke-width:1}.empty-state .section-eyebrow{color:#818e76;letter-spacing:2px;font-size:9px}.empty-state h2{font:31px/1.2 Georgia,"Times New Roman",serif;margin:12px 0 13px;letter-spacing:-.6px;color:var(--ink)}.empty-state p{font-size:12px;line-height:1.8;color:#7d8a77;margin:0 0 23px}.empty-actions{display:flex;gap:9px;justify-content:center}.empty-actions .button{font-size:11px}.empty-actions .icon{width:17px;height:17px}.empty-caption{font-size:9px;color:#8b9786;margin-top:17px}.loading-state{position:absolute;inset:0;background:#edf0e7d9;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;z-index:20;backdrop-filter:blur(2px);font-size:12px;color:var(--ink)}.spinner{width:27px;height:27px;border:2px solid #ccd8c7;border-top-color:var(--ink);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.workspace-footer{min-height:40px;padding:10px 22px;border-top:1px solid var(--line);background:#fafbf6;display:flex;justify-content:space-between;gap:16px;color:#7f8d78;font-size:10px;line-height:1.5}.footer-device{flex-shrink:0;color:#98a28f}
.inspector-panel{border-left:1px solid var(--line)}.inspector-content{padding:27px 22px}.inspector-content h2{font:25px/1.2 Georgia,"Times New Roman",serif;letter-spacing:-.4px;margin:10px 0 23px}.overview-total{display:flex;align-items:center;gap:11px;padding-bottom:22px}.overview-total strong{font:39px/1 Georgia,"Times New Roman",serif;color:var(--ink)}.overview-total>span{font-size:10px;line-height:1.5;color:#86917c;max-width:100px}.reading-totals{display:flex;flex-direction:column;gap:12px}.reading-totals>div{display:flex;align-items:center;gap:9px;font-size:11px;color:#7b8973}.reading-totals strong{margin-left:auto;color:#4f6752;font-size:11px;font-variant-numeric:tabular-nums}.mini-cross{font-size:25px;line-height:20px;font-weight:500;width:19px;text-align:center}.green{color:var(--green)}.red{color:var(--red)}.note-colour{color:var(--note)}.reading-totals .icon{width:19px;height:19px}.inspector-rule{height:1px;background:var(--line);margin:27px 0 22px}.selection-empty{padding:25px 10px 23px;text-align:center;color:#94a08b}.selection-empty .icon{width:26px;height:26px;stroke-width:1.2}.selection-empty p{font-size:11px;line-height:1.8;margin:10px 0 0}.selection-fields{padding-top:16px}.selection-type{display:inline-block;font-size:11px;font-weight:600;padding:6px 9px;background:#eaf0e3;color:#5b7152;border-radius:4px;margin-bottom:15px}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:17px}.field label{font-size:11px;font-weight:600}.optional{font-size:9px;font-weight:400;color:#98a18f;margin-left:3px}.field input,.field textarea{width:100%;font-size:12px}.field small{font-size:10px;line-height:1.6;color:#8a967d}.selection-fields .button{width:100%;font-size:11px}.selection-fields .button .icon{width:16px;height:16px}.inspector-tip{display:flex;gap:10px;padding:16px 0;border-top:1px solid var(--line);margin-top:12px}.tip-number{font-family:Georgia,"Times New Roman",serif;color:#ae9b71;font-size:18px;line-height:1.3}.inspector-tip strong{font-size:10px;color:#6e7c63;font-weight:600}.inspector-tip p{font-size:10px;line-height:1.7;color:#939d87;margin:6px 0 0}.prototype-note{font-size:9px;line-height:1.7;color:#a0a993;margin:25px 0 0}.toast-container{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:100;display:flex;flex-direction:column;gap:8px;width:min(450px,calc(100% - 32px));pointer-events:none}.toast{background:var(--ink);color:#fff;padding:13px 17px;font-size:12px;line-height:1.6;border-radius:7px;box-shadow:0 6px 30px #173a3c30}.toast.error{background:#8f3440}.toast.success{background:#235b46}dialog{border:1px solid var(--line);border-radius:12px;background:var(--paper);color:var(--text);padding:0;box-shadow:0 20px 80px #0d302d30;width:min(580px,calc(100% - 30px));max-height:85dvh}dialog::backdrop{background:#102f2f70;backdrop-filter:blur(3px)}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:25px 28px 20px;border-bottom:1px solid var(--line)}.dialog-header h2{font:27px/1.2 Georgia,"Times New Roman",serif;margin:8px 0 0;letter-spacing:-.5px}.help-body{padding:12px 28px 22px;font-size:12px;line-height:1.8}.help-steps{padding-left:22px}.help-steps li{padding-left:7px;margin-bottom:16px}.help-steps li::marker{color:var(--gold);font-family:Georgia,serif;font-size:16px}.help-steps p{margin:3px 0}.help-callout{background:#edf1e6;border-radius:7px;padding:14px 17px;margin:22px 0}.help-callout p{margin:5px 0 0}.confirm-dialog #confirm-message{font-size:13px;line-height:1.8;padding:0 28px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;padding:20px 28px 25px}.noscript-message{position:fixed;inset:auto 20px 20px;background:#8f3440;color:#fff;padding:20px;border-radius:6px;z-index:999}
@media(min-width:1101px){.side-panel>.panel-summary{display:none}.side-panel:not([open])>.library-content{display:flex}.side-panel:not([open])>.inspector-content{display:block}.library-content{padding-top:28px}}
@media(min-width:1101px) and (max-width:1320px){.app-layout{grid-template-columns:205px minmax(0,1fr) 225px}.library-content{padding-left:16px;padding-right:16px}.inspector-content{padding-left:17px;padding-right:17px}.document-header{padding-left:20px;padding-right:20px}.document-name{font-size:22px}.tool-button{padding:9px 8px;font-size:10px;gap:5px}.editor-toolbar{padding-left:12px;padding-right:12px}.history-tools .icon-button{width:31px}.header-status{gap:8px}.empty-state h2{font-size:27px}.document-actions .button{padding:9px}.document-actions .button span{display:none}}
@media(max-width:1100px){.app-header{height:78px;padding:0 20px;gap:20px}.wordmark>span{font-size:25px}.wordmark small{font-size:6px}.product-title{font-size:20px}.app-layout{grid-template-columns:minmax(0,1fr);min-height:calc(100dvh - 78px)}.library-panel{border-right:0}.library-content{min-height:0;padding:16px 20px;display:grid;grid-template-columns:180px 1fr 180px;gap:0 20px;align-items:start}.library-content>.section-eyebrow,.library-content>h1,.library-description{display:none}.upload-button{grid-column:1;grid-row:1}.document-list{grid-column:2;grid-row:1 / span 3;flex-direction:row;min-height:0;padding:0;overflow-x:auto}.document-card{width:190px;min-width:190px;min-height:60px}.library-actions{grid-column:1;border:0;padding:3px 0 0;margin:0}.library-actions .text-button{font-size:10px;min-height:34px}.device-card{grid-column:3;grid-row:1 / span 3}.workspace{min-height:650px}.stage-scroll{max-height:none;height:calc(100dvh - 340px);min-height:400px;flex:none}.inspector-panel{border:0;border-top:1px solid var(--line)}.inspector-content{display:grid;grid-template-columns:180px 1fr 1fr;gap:12px 24px;padding:20px}.inspector-content>.section-eyebrow:first-child{grid-column:1}.inspector-content>h2{display:none}.overview-total{grid-column:1;grid-row:2;padding:0}.reading-totals{grid-column:1;grid-row:3;gap:7px}.inspector-rule{display:none}.inspector-content>.section-eyebrow:nth-of-type(2){grid-column:2;grid-row:1}.selection-empty,.selection-fields{grid-column:2;grid-row:2 / span 3;padding-top:0;margin-top:0}.selection-empty{text-align:left;padding-left:0}.selection-empty .icon{display:none}.selection-empty p{margin:0}.selection-fields .field{margin-bottom:12px}.selection-fields textarea{min-height:75px}.inspector-tip{grid-column:3;grid-row:2 / span 2;margin:0;border:0;padding:0}.prototype-note{grid-column:3;grid-row:4;margin:0}.panel-summary{background:#fafbf6}.header-status .save-chip{max-width:165px}.empty-state{min-height:350px}.empty-plan{width:170px;margin-bottom:10px}.empty-state h2{font-size:30px}}
@media(max-width:680px){.app-header{height:76px;padding:0 15px;gap:12px;flex-wrap:wrap;align-content:center}.wordmark>span{font-size:22px;letter-spacing:4px}.wordmark small{font-size:5.5px;letter-spacing:1.45px;margin-top:7px}.header-divider{height:30px}.product-title{font-size:17px;gap:7px}.prototype-badge{font-size:6px;padding:4px;letter-spacing:.6px}.header-status{position:absolute;top:81px;right:14px;z-index:1;gap:8px}.header-status .status-chip{color:#6f8268;font-size:8px}.header-status .save-chip{max-width:145px;padding-left:8px;border-color:#cdd7c5}.header-help{margin-left:auto;width:32px;min-height:36px}.header-help .icon{width:18px}.app-layout{min-height:calc(100dvh - 76px)}.panel-summary{padding:10px 15px;font-size:12px;min-height:42px}.library-panel>.panel-summary{padding-top:23px;min-height:57px}.library-content{padding:14px 15px;grid-template-columns:135px minmax(0,1fr);gap:9px 12px}.upload-button{font-size:11px;padding:9px;min-height:41px}.upload-button .icon{width:17px}.library-actions{grid-column:1;grid-row:2}.document-list{grid-column:2;grid-row:1 / span 2;flex-direction:column;max-height:137px;overflow-y:auto}.document-card{width:100%;min-width:0;min-height:60px;padding:9px}.device-card{grid-column:1 / span 2;grid-row:3;padding:9px 10px}.device-card div{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px}.device-card p{margin:0;font-size:9px}.device-card .offline-status{font-size:9px;width:100%}.document-header{padding:17px 15px;gap:9px}.document-name{font-size:23px;max-width:none}.document-title-group .section-eyebrow{font-size:8px}.document-actions{gap:5px}.document-actions .button{padding:9px;min-width:38px}.document-actions .button span{display:none}.document-actions .icon{width:16px}.editor-toolbar{padding:7px 8px;gap:0;flex-wrap:wrap;justify-content:space-between}.drawing-tools{gap:2px;flex:1;justify-content:space-between}.tool-button{padding:8px 7px;font-size:10px;gap:5px;min-height:44px}.tool-button .icon{width:17px;height:17px}.history-tools{width:100%;justify-content:flex-end;border-top:1px solid #eef0e9;margin-top:5px;padding-top:2px}.history-tools .icon-button{width:40px;min-height:36px}.view-toolbar{padding:5px 13px;height:48px}.stage-scroll{padding:22px 14px;height:calc(100dvh - 360px);min-height:380px}.empty-state{min-height:330px;padding:5px 0 20px}.empty-plan{width:160px;margin-bottom:17px}.empty-state .section-eyebrow{font-size:8px;letter-spacing:1.4px}.empty-state h2{font-size:26px;max-width:280px;margin:10px 0 12px}.empty-state p{font-size:11px;margin-bottom:19px;padding:0 13px}.empty-actions{gap:6px}.empty-actions .button{font-size:10px;padding:9px 11px}.empty-caption{max-width:260px;font-size:8px;line-height:1.6;margin-top:14px}.workspace-footer{padding:9px 13px;font-size:9px}.footer-device{display:none}.inspector-content{padding:17px 15px;grid-template-columns:120px minmax(0,1fr);gap:10px 18px}.inspector-content .section-eyebrow{font-size:8px;letter-spacing:1.2px}.overview-total{gap:8px}.overview-total strong{font-size:32px}.overview-total>span{font-size:9px}.reading-totals>div{font-size:10px;gap:5px}.selection-empty p{font-size:10px}.selection-fields .field label{font-size:10px}.selection-fields .optional{display:block;margin:3px 0 0}.selection-fields input,.selection-fields textarea{font-size:11px;padding:8px}.inspector-tip{grid-column:1 / span 2;grid-row:5;border-top:1px solid var(--line);padding-top:14px;margin-top:5px}.prototype-note{grid-column:1 / span 2;grid-row:6;font-size:8px}.dialog-header{padding:20px}.dialog-header h2{font-size:24px}.help-body{padding:10px 20px 18px;font-size:11px}.desktop-break{display:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Editor integration: library rows contain separate open and remove buttons. */
.document-card .document-info{display:block;background:transparent;border:0;border-radius:4px;text-align:left;padding:4px 0;min-height:44px;color:inherit;overflow:hidden;font:inherit}
.document-card .document-info:hover:not(:disabled){background:transparent;filter:none}
.document-card .document-delete{width:44px;min-width:44px;min-height:44px;font-size:22px;font-weight:400;line-height:1}
.document-card .document-delete:hover:not(:disabled){background:#ffffff9c;color:#a5414a}
#connection-status::before{content:"";display:inline-block;width:6px;height:6px;flex:none;background:#a3bf9b;border-radius:50%}
#connection-status .status-dot{display:none}
#connection-status.is-offline{color:#f0d6a7}
#connection-status.is-offline::before{background:#e7bd70}
#save-status.save-error{color:#ffe3e5;background:#b2475442;border-radius:4px;padding:6px 8px;border-left-color:transparent}
#annotation-layer{display:block;position:absolute;inset:0;width:100%;height:100%;touch-action:pan-x pan-y}
#annotation-layer[data-tool="select"]{cursor:default}
#annotation-layer[data-tool="select"] .annotation-hit{cursor:move;touch-action:none}
#annotation-layer[data-tool="green"],#annotation-layer[data-tool="red"],#annotation-layer[data-tool="note"]{cursor:crosshair}
#annotation-layer .annotation-hit{touch-action:none}
#annotation-layer .annotation-hit:focus-visible{outline:2px solid var(--gold);outline-offset:5px}
#annotation-layer text{user-select:none;-webkit-user-select:none}
@media(max-width:1100px){
  .panel-summary{min-height:44px}
  .history-tools .icon-button{width:44px;min-height:44px}
  .page-navigation select{height:44px;min-width:54px}
  .zoom-controls .icon-button{width:44px;min-height:44px}
  .fit-button{min-height:44px}
  .view-toolbar{height:54px}
  .library-actions .text-button{min-height:44px}
  .field input{min-height:44px}
}
@media(max-width:680px){
  .app-header{height:80px}
  .header-divider{display:none}
  .product-title{font-size:16px;flex-direction:column;align-items:flex-start;gap:6px}
  .prototype-badge{font-size:6px;padding:4px 5px}
  .header-help{width:44px;min-height:44px}
  .header-status{top:85px}
  #connection-status.is-offline{color:#8c681b}
  #save-status.save-error{color:#963645;background:#f7e5e5}
  .app-layout{min-height:calc(100dvh - 80px)}
  .document-actions .button{min-width:44px;min-height:44px}
  .history-tools .icon-button{width:44px;min-height:44px}
  .document-card{padding:7px;gap:5px}
  .empty-actions .button{min-height:44px}
}

/* Official Harding brand asset, with its original colours and proportions. */
.brand-logo{display:block;width:185px;height:auto;max-height:65px;object-fit:contain;background:#fff;border-radius:2px}
@media(max-width:680px){.brand-logo{width:132px;max-height:48px}}
/* Personal access, staff administration and account-aware survey history. */
.auth-screen{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 22px;background:linear-gradient(145deg,#173a3c 0%,#244c48 62%,#395d50 100%);position:relative;overflow:hidden}
.auth-screen::before{content:"";position:absolute;width:620px;height:620px;border:1px solid #e2d9bd12;border-radius:50%;right:-240px;top:-230px;box-shadow:0 0 0 100px #e2d9bd05,0 0 0 200px #e2d9bd03;pointer-events:none}
.auth-card{position:relative;width:min(520px,100%);background:var(--paper);padding:38px 42px 32px;border:1px solid #ffffff70;border-radius:14px;box-shadow:0 24px 80px #0d292b3d;text-align:center}
.auth-logo{display:block;max-width:245px;width:100%;height:auto;margin:0 auto 34px;background:white}
.auth-card>.section-eyebrow{font-size:10px;letter-spacing:2.5px;color:#967e4d}
.auth-card h1{font:38px/1.12 Georgia,"Times New Roman",serif;letter-spacing:-1px;color:var(--ink);margin:15px 0 18px}
.auth-introduction{font-size:14px;line-height:1.8;color:#738174;margin:0 auto 25px;max-width:360px}
.auth-action-panel{padding:19px;background:#edf2e9;border:1px solid #dce5d5;border-radius:8px;margin:24px 0;text-align:left;display:flex;flex-wrap:wrap;gap:10px 12px;align-items:flex-start}
.auth-action-panel>.icon{width:19px;height:19px;margin-top:2px;color:#688265;flex:none}
.auth-action-panel>div{flex:1;min-width:0}
.auth-action-panel strong{font-size:12px;line-height:1.6;display:block;color:var(--ink)}
.auth-action-panel p{font-size:12px;line-height:1.7;color:#74816c;margin:5px 0 0}
.auth-action-panel>.button{width:100%;margin-top:6px;font-size:12px}
.offline-access-panel{background:#faf4e4;border-color:#e8dcc0}
.auth-error{color:#a13b46;font-size:12px;line-height:1.7;background:#fff1ef;border:1px solid #efd1ce;padding:12px 14px;border-radius:7px;text-align:left;overflow-wrap:anywhere}
.auth-error:empty{display:none}
.auth-footnote{display:flex;justify-content:center;align-items:flex-start;gap:9px;color:#8d9987;border-top:1px solid var(--line);padding-top:23px;margin-top:26px}
.auth-footnote>.icon{width:16px;height:16px;margin-top:4px;flex:none}
.auth-footnote p{font-size:10px;line-height:1.9;margin:0;text-align:left}
.admin-login{display:inline-block;font-size:10px;color:#7d8c76;text-decoration:none;margin-top:23px;min-height:30px;padding:8px}
.admin-login:hover{text-decoration:underline}
.auth-copyright{position:relative;font-size:8px;letter-spacing:1.7px;color:#c5d0b7b3;margin:25px 0 0;display:flex;gap:20px;flex-wrap:wrap;justify-content:center;line-height:1.7}
.auth-copyright span{letter-spacing:.5px;color:#e2e6d6b0}
.app-header{gap:17px}
.product-title{gap:9px;flex-shrink:0}
.prototype-badge{font-size:6px;letter-spacing:.9px}
.header-status{gap:8px;flex-wrap:wrap;justify-content:flex-end;max-width:380px}
.status-chip{font-size:10px}
.cloud-status{color:#d8dfc6;max-width:180px}
.cloud-status.is-error{color:#ffd3d5}
.cloud-status.is-pending{color:#f1d39b}
.account-menu{display:flex;align-items:center;gap:10px;padding-left:14px;border-left:1px solid #ffffff25}
.account-name{font-size:11px;font-weight:600;max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.signout-button{background:transparent;border:1px solid #ffffff35;color:#e8ecdf;border-radius:5px;min-height:38px;padding:8px 10px;font-size:10px;white-space:nowrap}
.signout-button:hover{background:#ffffff12}
.header-help{flex-shrink:0}
.admin-upload-panel{margin-bottom:18px}
.admin-upload-panel .field{margin-bottom:10px}
.admin-upload-panel select,.staff-fields input{width:100%;min-height:42px;font-size:11px;padding:9px}
.library-navigation{display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid var(--line);margin-top:5px}
.library-tabs{display:flex;gap:14px}
.library-tab{min-height:44px;background:transparent;color:#8b9780;padding:10px 0;border-bottom:2px solid transparent;font-size:11px;font-weight:600}
.library-tab.active,.library-tab[aria-selected="true"]{color:var(--ink);border-bottom-color:var(--gold)}
.refresh-plans{font-size:22px;min-width:38px;width:38px}
.document-list{padding-top:13px}
.staff-panel{border-top:1px solid var(--line);margin:0 0 19px;padding-top:3px}
.staff-panel>summary{min-height:44px;cursor:pointer;color:#728169;font-size:11px;font-weight:600;display:flex;align-items:center;gap:8px;list-style:none}
.staff-panel>summary::before{content:"+";font-size:18px;color:#a08b59}
.staff-panel[open]>summary::before{content:"−"}
.staff-fields .field{margin-bottom:12px}
.staff-fields .button{width:100%;font-size:11px}
.document-eyebrow{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.plan-state{font:600 9px/1.3 ui-sans-serif,system-ui,sans-serif;color:#7c896f;padding:4px 7px;background:#edf1e7;border-radius:4px}
.plan-state.completed{color:#49705c;background:#e8f0e8}
.plan-state.pending{color:#9c7a32;background:#fff6dd}
.button-complete{background:#e8f1e7;color:#315b3e;border:1px solid #d0dfcc}
.document-actions{flex-wrap:wrap;justify-content:flex-end;max-width:330px}
.document-actions .button{min-height:42px}
.assignment-panel{margin:0 0 25px;padding:0 0 22px;border-bottom:1px solid var(--line)}
.assignment-panel>.section-eyebrow{margin-bottom:17px}
.assignment-panel .field{margin-bottom:12px}
.assignment-panel select{width:100%;min-height:44px;font-size:12px;padding:8px}
.assignment-panel>.button{width:100%;margin-top:8px;font-size:10px;padding:9px 7px;white-space:normal}
.access-link-output{background:#eef2e8;border-radius:7px;padding:12px;margin-top:15px}
.access-link-output label{display:block;font-size:10px;font-weight:600;color:#627458;margin-bottom:8px}
.access-link-output input{width:100%;font-size:11px;padding:9px;min-height:42px;background:#fffefa}
.access-link-output small{font-size:9px;line-height:1.7;display:block;color:#7d8b72;margin:8px 0;overflow-wrap:anywhere}
.access-link-output .button{width:100%;font-size:10px}
@media(min-width:1101px) and (max-width:1420px){.app-header{gap:12px;padding-left:20px;padding-right:20px}.header-divider{display:none}.product-title{font-size:18px;flex-direction:column;align-items:flex-start;gap:7px}.header-status{max-width:310px}.account-menu{gap:8px;padding-left:10px}.account-name{max-width:100px}.document-actions{max-width:220px}.document-header{align-items:flex-start}.document-actions .button{font-size:10px}.document-actions #complete-button{width:100%}}
@media(max-width:1100px){.app-header{height:auto;min-height:96px;gap:12px;padding:14px 20px;flex-wrap:wrap}.header-divider{display:none}.product-title{font-size:19px}.header-status{position:static;order:4;max-width:none;width:100%;margin:0;justify-content:flex-start;gap:12px}.header-status .status-chip{color:#d9e3cb;font-size:10px}.header-status .save-chip{max-width:none}.account-menu{margin-left:auto}.header-help{margin-left:0}.library-content{display:flex;flex-direction:column;min-height:0;gap:0;padding:15px 20px}.library-content>.section-eyebrow,.library-content>h1,.library-description{display:none}.admin-upload-panel{display:flex;align-items:flex-end;gap:12px;width:100%;margin-bottom:12px}.admin-upload-panel .field{flex:1;margin:0}.admin-upload-panel .upload-button{width:auto;min-width:145px}.library-navigation{width:100%;margin:0}.document-list{width:100%;flex:initial;display:flex;flex-direction:row;overflow:auto;max-height:170px;padding:12px 0;gap:8px}.document-card{width:210px;min-width:210px}.library-actions{width:100%;display:flex;gap:20px;border-top:1px solid var(--line);padding:7px 0;margin:0 0 10px}.staff-panel{width:100%;margin-bottom:12px}.staff-fields{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:end}.staff-fields .field{margin:0}.staff-fields .button{min-height:42px;width:auto}.device-card{width:100%;margin-top:5px}.device-card div{display:block}.assignment-panel{grid-column:1/-1;grid-row:auto;display:flex;flex-wrap:wrap;gap:8px 12px;padding-bottom:17px;margin-bottom:5px;align-items:flex-end}.assignment-panel>.section-eyebrow{width:100%;margin:0}.assignment-panel .field{flex:1;min-width:160px;margin:0}.assignment-panel>.button{width:auto;font-size:11px;margin:0;min-height:44px}.access-link-output{width:100%;margin-top:4px}.inspector-content{display:flex;flex-wrap:wrap;gap:14px 22px}.inspector-content>.section-eyebrow{width:100%;margin-top:5px}.overview-total{padding:0;min-width:130px}.reading-totals{flex:1;min-width:150px}.selection-empty,.selection-fields{width:100%;margin:0}.selection-fields .field{max-width:620px}.selection-fields .button{max-width:260px}.inspector-tip,.prototype-note{width:100%}}
@media(max-width:680px){.auth-screen{padding:25px 16px;justify-content:center}.auth-card{padding:30px 23px 24px;border-radius:11px}.auth-logo{max-width:205px;margin-bottom:29px}.auth-card h1{font-size:33px}.auth-introduction{font-size:13px;line-height:1.8}.auth-action-panel{padding:15px}.auth-copyright{font-size:7px;gap:4px 15px;letter-spacing:1px}.app-header{min-height:120px;padding:12px 14px;gap:10px}.product-title{font-size:16px;flex-direction:column;align-items:flex-start;gap:5px}.account-menu{gap:7px;padding-left:0;border:0}.account-name{max-width:85px;font-size:10px}.signout-button{font-size:9px;padding:7px;min-height:36px}.header-help{width:34px;min-height:36px;margin-left:0}.header-status{gap:7px 12px;row-gap:5px}.header-status .status-chip{font-size:9px}.cloud-status{max-width:none}.header-status .save-chip{padding-left:8px}.brand-logo{width:120px;max-height:43px}.prototype-badge{font-size:5px;padding:4px;letter-spacing:.4px}.library-panel>.panel-summary{padding-top:10px;min-height:44px}.library-content{padding:12px 14px}.admin-upload-panel{gap:9px}.admin-upload-panel .upload-button{min-width:114px;padding:9px;font-size:10px}.admin-upload-panel .field label{font-size:10px}.admin-upload-panel select{font-size:11px;min-height:42px}.document-list{max-height:190px;flex-direction:column}.document-card{width:100%;min-width:0;min-height:60px}.staff-fields{display:flex;flex-direction:column;align-items:stretch;gap:10px}.staff-fields .field{width:100%}.staff-fields .button{width:100%}.library-actions{gap:15px;flex-wrap:wrap}.device-card div{display:block}.device-card p{margin:4px 0}.document-header{align-items:flex-start;flex-direction:column;padding:16px 14px;gap:12px}.document-title-group{width:100%}.document-name{font-size:24px}.document-actions{width:100%;max-width:none;justify-content:flex-start;gap:7px}.document-actions .button{padding:9px 10px;font-size:10px;min-width:0}.document-actions .button span{display:inline}.document-actions #complete-button{flex:1}.plan-state{font-size:8px}.editor-toolbar{padding-top:6px}.drawing-tools{gap:0}.tool-button{font-size:10px;padding-left:6px;padding-right:6px}.stage-scroll{min-height:380px}.assignment-panel{display:block}.assignment-panel>.section-eyebrow{margin-bottom:14px}.assignment-panel .field{width:100%;margin-bottom:10px}.assignment-panel>.button{width:100%;margin-top:8px;font-size:11px}.access-link-output{margin-top:13px}.inspector-content{padding:18px 14px;gap:13px 18px}.overview-total{min-width:110px}.reading-totals{min-width:140px}.inspector-tip{margin-top:6px;padding-top:15px}.prototype-note{margin-top:5px;font-size:9px}}



.document-name:disabled{color:var(--ink)}

