.markup-board{color:var(--text,#edf0f2);padding:23px 24px 28px;min-width:0;font-size:14px;line-height:1.5}
.markup-board [hidden],.markup-overlay[hidden],.markup-pin[hidden],.markup-tool-hud[hidden]{display:none!important}
.markup-eyebrow{margin:0 28px 6px 0;color:var(--gold,#dabe7c);font-size:11px;letter-spacing:1.3px;font-weight:650}
.markup-heading{font-size:24px;font-weight:550;line-height:1.25;letter-spacing:-.6px;margin:0 28px 10px 0}
.markup-intro{margin:0;color:#b3bec8;font-size:13px;line-height:1.6}
.markup-icon{display:inline-block;flex:none;width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.markup-modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:21px}
.markup-mode{display:flex;flex-direction:column;align-items:center;gap:7px;border:1px solid #445563;border-radius:7px;padding:13px 5px 11px;min-height:73px;background:#152631;color:#c4d3dd;font:inherit;font-size:12px;font-weight:550;cursor:pointer}
.markup-mode .markup-icon{width:23px;height:23px}
.markup-mode:hover{background:#263b49;border-color:#7b8d96}
.markup-mode[aria-pressed=true]{background:#dabe7c;color:#182630;border-color:#dabe7c;box-shadow:0 3px 14px #dabe7c13}
.markup-guidance{min-height:43px;font-size:12px;line-height:1.55;margin:10px 0 8px;color:#b4c6d2}
.markup-palette{min-width:0;border:0;padding:0;margin:0 0 17px}
.markup-palette legend{font-size:12px;color:#b7c7d2;margin:0 0 8px;padding:0}
.markup-swatches{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.markup-swatch{min-width:0;min-height:41px;border:1px solid #3c4e5b;border-radius:6px;padding:8px 4px;background:#142530;color:#c5d1da;display:flex;align-items:center;justify-content:center;gap:5px;font:inherit;font-size:11px;cursor:pointer}
.markup-swatch:before{content:'';width:12px;height:12px;flex:none;border-radius:50%;background:var(--markup-color);box-shadow:0 0 0 2px #0b182280}
.markup-swatch[aria-pressed=true]{background:#233743;border-color:var(--markup-color);color:#f3f3ed}
.markup-options{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #334551;padding-bottom:18px;margin:4px 0 20px}
.markup-button{display:inline-flex;justify-content:center;align-items:center;gap:7px;border:1px solid #455763;border-radius:6px;padding:9px 13px;min-height:40px;background:#203340;color:#edf0f2;font:inherit;font-size:13px;font-weight:550;cursor:pointer}
.markup-button:hover{background:#2f495a}
.markup-button.markup-undo{font-size:12px;padding:8px 11px;min-height:36px}
.markup-undo .markup-icon{width:17px;height:17px}
.markup-primary{background:#dabe7c;border-color:#dabe7c;color:#172630}
.markup-primary:hover{background:#edcf8a}
.markup-show{display:flex;align-items:center;gap:7px;color:#bdccd5;font-size:12px;min-height:36px;cursor:pointer;white-space:nowrap}
.markup-show input{width:16px;height:16px;margin:0;accent-color:#dabe7c;cursor:pointer}
.markup-list-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.markup-list-heading h3{font-size:14px;font-weight:550}
.markup-count{font-size:11px;color:#9fb3c2;font-variant-numeric:tabular-nums;white-space:nowrap}
.markup-empty{padding:24px 18px 25px;text-align:center;border:1px dashed #435665;border-radius:8px;background:#12243060}
.markup-empty>.markup-icon{width:31px;height:31px;color:#d9c18b;margin-bottom:10px;stroke-width:1.1}
.markup-empty h3{font-size:15px;font-weight:550;margin:0 0 8px}
.markup-empty p{font-size:12px;line-height:1.7;color:#aabecb;margin:0}
.markup-list{padding:0;margin:0;list-style:none;display:flex;flex-direction:column;gap:7px}
.markup-list-row{margin:0;min-width:0}
.markup-note-row{border:1px solid #364b59;border-radius:6px;background:#142733;overflow:hidden}
.markup-note-row.is-selected{border-color:#c1a56c;background:#342f2455}
.markup-note-row .markup-note-select{border:0;border-radius:0;background:transparent}
.markup-note-row .markup-note-select:hover{background:#213944}
.markup-note-row .markup-note-select[aria-pressed=true]{background:transparent}
.markup-note-actions{display:flex;justify-content:flex-end;padding:0 10px 6px}
.markup-note-select{width:100%;min-width:0;display:flex;align-items:flex-start;gap:10px;text-align:left;border:1px solid #364b59;border-radius:6px;background:#142733;padding:11px;color:#e0e9ee;font:inherit;cursor:pointer}
.markup-note-select:hover{border-color:#84948f;background:#213944}
.markup-note-select[aria-pressed=true]{border-color:#c1a56c;background:#342f2455}
.markup-note-index{display:grid;place-items:center;flex:none;min-width:23px;height:23px;border:1px solid #8d7a54;border-radius:50%;color:#e8cd95;font-size:11px;font-weight:650;background:#dabe7c0c}
.markup-note-summary{padding-top:2px;min-width:0;font-size:13px;line-height:1.55;overflow-wrap:anywhere;white-space:pre-wrap;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.markup-drawing-row{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:5px 8px;border:1px solid #334752;border-radius:6px;padding:7px 9px 7px 12px;background:#12242e;color:#bbccd7}
.markup-drawing-label{display:flex;gap:10px;align-items:center;font-size:12px}
.markup-drawing-actions{display:flex;align-items:center;gap:10px;margin-left:auto}
.markup-map-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;border:0;border-radius:4px;background:transparent;color:#dfc58f;font:inherit;font-size:11px;line-height:1.4;white-space:nowrap;padding:6px 4px;min-height:32px;cursor:pointer}
.markup-map-button:hover{background:#dabe7c10;color:#ffe0a3}
.markup-map-button .markup-icon{width:15px;height:15px}
.markup-drawing-swatch{width:20px;height:3px;border-radius:4px;transform:rotate(-18deg)}
.markup-remove-drawing{display:flex;align-items:center;gap:5px;border:0;background:none;color:#a5b9c7;font:inherit;font-size:11px;padding:7px 4px;min-height:32px;cursor:pointer}
.markup-remove-drawing:hover{color:#f4c4b0}
.markup-remove-drawing .markup-icon{width:15px;height:15px}
.markup-editor{padding:17px 15px 16px;margin:0 0 23px;border:1px solid #746447;border-radius:8px;background:linear-gradient(140deg,#38332678,#192c36)}
.markup-editor-top{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:3px 10px;margin-bottom:7px}
.markup-editor-top .markup-editor-heading{margin-bottom:0}
.markup-editor-heading{font-size:16px;font-weight:550;color:#f0dec0;margin:0 0 7px}
.markup-editor-hint{font-size:12px;line-height:1.6;color:#b5c5cb;margin:0 0 16px}
.markup-field{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#d5dfe3}
.markup-field textarea{display:block;min-width:0;width:100%;min-height:108px;max-height:280px;resize:vertical;border:1px solid #4b605f;border-radius:6px;background:#10222c;color:#f0f3f3;font:inherit;font-size:14px;line-height:1.55;padding:10px 11px}
.markup-field textarea::placeholder{color:#8fa8b7}
.markup-text-count{display:block;text-align:right;color:#8ca5b4;font-size:10px;font-variant-numeric:tabular-nums;margin:5px 0 12px}
.markup-editor-actions{display:flex;flex-wrap:wrap;align-items:center;gap:7px}
.markup-delete{display:inline-flex;align-items:center;justify-content:center;gap:5px;background:transparent;border:0;color:#dcb9a9;font:inherit;font-size:12px;min-height:39px;padding:7px 3px;margin-left:auto;cursor:pointer}
.markup-delete .markup-icon{width:16px;height:16px}
.markup-delete:hover{color:#ffddc9}
.markup-footnote{border-top:1px solid #304651;margin:22px 0 0;padding-top:14px;color:#8fa8b9;font-size:11px;line-height:1.7}
.markup-board button:disabled{opacity:.48;cursor:not-allowed}
.markup-board button:focus-visible,.markup-board textarea:focus-visible,.markup-board input:focus-visible,.markup-pin:focus-visible{outline:2px solid #a5ddec;outline-offset:3px}
.markup-viewport{position:relative}
.markup-canvas-active{cursor:crosshair}
.markup-tool-hud{position:absolute;top:158px;left:30px;display:flex;align-items:center;gap:16px;max-width:calc(100% - 50px);border:1px solid #84908b;border-radius:7px;background:#172d39f5;color:#e5d6b7;box-shadow:0 5px 16px #19334220;padding:6px 6px 6px 13px;z-index:3;font-size:12px}
.markup-tool-label{display:flex;align-items:center;gap:8px;line-height:1.45}
.markup-tool-label:before{content:'';flex:none;width:7px;height:7px;border-radius:50%;background:var(--markup-color,#e9cb88)}
.markup-tool-exit{min-height:33px;border:1px solid #536774;border-radius:4px;padding:5px 11px;background:#2b424f;color:#dce8ee;font:inherit;font-size:12px;cursor:pointer}
.markup-tool-exit:hover{background:#405866}
.markup-tool-exit:focus-visible{outline:2px solid #a5ddec;outline-offset:3px}
#canvas-wrap.markup-active~.selection-panel{display:none}
.markup-overlay{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:1}
.markup-pin{position:absolute;left:0;top:0;display:flex;align-items:center;justify-content:center;pointer-events:none;background:none;border:0;padding:0 0 9px;color:#1a2933;font:inherit;min-width:30px;min-height:39px;cursor:pointer;filter:drop-shadow(0 3px 4px #15242f55)}
.markup-overlay[data-mode=navigate] .markup-pin{pointer-events:auto}
.markup-pin:after{content:'';position:absolute;bottom:2px;left:calc(50% - 5px);border:5px solid transparent;border-bottom:0;border-top:7px solid #ebce90}
.markup-pin-number{display:grid;place-items:center;min-width:30px;height:30px;padding:0 7px;border-radius:50%;border:1px solid #ffe7b3;background:#e9cb88;font-size:12px;font-weight:750;box-shadow:0 0 0 3px #1835413d}
.markup-pin:hover .markup-pin-number,.markup-pin[aria-pressed=true] .markup-pin-number,.markup-pin:focus-visible .markup-pin-number{background:#ffdea0;box-shadow:0 0 0 4px #dabe7c55}
.markup-pin-caption{display:none;position:absolute;left:calc(100% + 9px);top:0;padding:8px 10px;border:1px solid #7a8b92;border-radius:5px;background:#152c39f5;color:#f0e4cf;text-align:left;font-size:12px;font-weight:500;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere;width:180px;max-height:90px;overflow:hidden;pointer-events:none;filter:none}
.markup-pin:hover .markup-pin-caption,.markup-pin:focus-visible .markup-pin-caption,.markup-pin[aria-pressed=true] .markup-pin-caption{display:block}
@media(max-width:720px){.markup-tool-hud{top:144px;left:19px;max-width:calc(100% - 38px);gap:10px;font-size:11px}.markup-tool-exit{min-height:38px}}
@media(max-width:600px){.markup-board{padding:21px 18px 26px}.markup-heading{font-size:23px}.markup-intro{font-size:14px}.markup-mode{min-height:76px}.markup-field textarea{font-size:16px}.markup-button{min-height:44px}.markup-map-button,.markup-remove-drawing{min-height:40px}.markup-pin-number{min-width:32px;height:32px}.markup-swatch{min-height:44px}.markup-pin-caption{width:150px}}
@media(max-width:360px){.markup-board{padding-left:13px;padding-right:13px}.markup-modes{gap:5px}.markup-mode{font-size:11px}.markup-swatches{gap:5px}.markup-swatch{font-size:10px}.markup-count{font-size:10px}.markup-editor{padding:15px 12px}.markup-editor-actions{gap:5px}.markup-editor-actions .markup-button{padding-left:10px;padding-right:10px}}
