/* Edition86 copy-review UI only; no application form selectors. */
body.copy-review-ready{padding-bottom:var(--copy-review-space,190px)}
#copy-review-toolbar{position:fixed;z-index:100;bottom:0;left:0;right:0;padding:12px max(16px,env(safe-area-inset-left));padding-bottom:calc(12px + env(safe-area-inset-bottom));background:#f9f5eaff;color:#163f43;border-top:2px solid #806135;box-shadow:0 -4px 20px #0002;font:13px/1.6 system-ui,sans-serif;max-height:45dvh;overflow:auto}
.copy-review-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px}#copy-review-toolbar p{font:12px/1.5 system-ui,sans-serif;letter-spacing:normal;margin:5px 0 0}.copy-review-warning{color:#694c28}.copy-review-status:empty{display:none}
#copy-review-toolbar button,#copy-review-dialog button{font:14px/1.5 system-ui,sans-serif;min-height:44px;padding:9px 15px;border:1px solid #163f43;border-radius:5px;background:#163f43;color:#fff;cursor:pointer}#copy-review-toolbar button[aria-pressed=true]{background:#765724}#copy-review-dialog button{margin:5px 8px 5px 0}#copy-review-dialog button:disabled{opacity:.5;cursor:default}
.copy-review-on [data-copy-review-id]{outline:1px dashed currentColor;outline-offset:5px;cursor:pointer;scroll-margin:28px 0 220px}.copy-review-on [data-copy-review-id]:hover{box-shadow:0 0 0 7px #b28b3f26}.copy-review-on [data-copy-review-id]:focus-visible,#copy-review-toolbar button:focus-visible,#copy-review-dialog :focus-visible{outline:3px solid #b77a25;outline-offset:5px}
#copy-review-dialog{position:fixed;inset:0;margin:auto;width:min(720px,calc(100% - 28px));max-width:none;max-height:85dvh;overflow:auto;padding:24px;border:1px solid #806135;border-radius:8px;background:#f9f5ea;color:#163f43;box-sizing:border-box;font:15px/1.7 system-ui,sans-serif;overflow-wrap:anywhere}#copy-review-dialog::backdrop{background:#092426b8}.copy-review-dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}#copy-review-dialog h2{font:600 22px/1.5 system-ui,sans-serif;margin:5px 0 16px}#copy-review-dialog h3{font:600 15px/1.6 system-ui,sans-serif;margin:12px 0 8px}#copy-review-dialog p{margin:8px 0 16px}.copy-review-location{font-size:12px;white-space:pre-wrap}.copy-review-original{padding:12px;border-left:3px solid #806135;background:#e9e6d9;white-space:pre-wrap}.copy-review-instruction{white-space:pre-wrap}.copy-review-note{border-bottom:1px solid #163f4340;padding:8px 0 16px}#copy-review-dialog label{display:block;margin:12px 0 8px}#copy-review-dialog textarea{display:block;box-sizing:border-box;width:100%;max-width:100%;min-height:120px;background:#fff;color:#163f43;border:1px solid #59665a;border-radius:4px;padding:12px;font:16px/1.6 system-ui,sans-serif;resize:vertical}
@media(max-width:480px){#copy-review-dialog{padding:17px;max-height:88dvh}.copy-review-tools{gap:6px}.copy-review-tools strong{width:100%}#copy-review-toolbar{padding-top:8px}#copy-review-toolbar p{font-size:11px}#copy-review-dialog h2{font-size:19px}}

/* E152: compact by default; expanding never discards in-memory notes. */
#copy-review-panel[hidden]{display:none!important}
#copy-review-toolbar>button{display:block;margin-right:auto}
#copy-review-panel{padding-top:10px}

/* E153: collapsed review control clears the host bottom-right editing control. */
#copy-review-toolbar:has(#copy-review-panel[hidden]){left:max(12px,env(safe-area-inset-left));right:auto;bottom:calc(12px + env(safe-area-inset-bottom));width:max-content;max-width:calc(100% - 100px);padding:6px;border:1px solid #806135;border-radius:5px}
#copy-review-toolbar:has(#copy-review-panel:not([hidden])){bottom:calc(72px + env(safe-area-inset-bottom))}
