/* Scoped reference workspace and screen-only drawing readability. */
#containerReviews{--cr-ink:#183c55;--cr-muted:#607c90;--cr-line:#d8e5ef;color:var(--cr-ink);min-width:0}
#containerReviews [hidden],#crDrawingLegend[hidden]{display:none!important}
.cr-header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px;background:linear-gradient(115deg,#f9fcff,#eaf4f8);border:1px solid #d5e5ef;border-radius:12px;margin-bottom:18px}
#pw33 .cr-header h2{font-size:26px;color:#133d58;margin:7px 0}
.cr-eyebrow{font-size:10px;font-weight:700;letter-spacing:1.8px;color:#55768c}
.cr-header p{font-size:13px;color:#5d798c;line-height:1.9;margin:0;max-width:760px}
#pw33 .cr-header button{flex-shrink:0;background:#0b776e;color:white;border-color:#0b776e;padding:10px 18px;min-height:42px}
.cr-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:20px;background:#fff;border:1px solid var(--cr-line);border-radius:12px}
.cr-filters .cr-query{grid-column:1/-1}
#pw33 .cr-filters input,#pw33 .cr-filters select{min-height:43px;font-size:13px;background:#fcfdff}
.cr-filters>button{align-self:end}
.cr-status{font-size:12px;color:#59788d;padding:15px 3px;line-height:1.8}
.cr-summary{display:flex;flex-wrap:wrap;align-items:center;gap:16px 35px;padding:18px 22px;background:#eff6fa;border:1px solid #dce8f0;border-radius:10px;margin-bottom:20px}
.cr-summary>div{display:flex;align-items:center;gap:10px}.cr-summary strong{font-size:27px;color:#184d6f;font-variant-numeric:tabular-nums}.cr-summary span{font-size:12px;color:#5b788f}.cr-summary p{font-size:11px;line-height:1.8;color:#667f90;flex:1;min-width:min(100%,300px);margin:0}
.cr-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;min-width:0}
.cr-card{border:1px solid #d4e2ec;border-radius:12px;background:white;overflow:hidden;min-width:0;box-shadow:0 5px 18px #27496206}
.cr-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:19px 20px 8px;min-width:0}.cr-card h3{margin:6px 0;color:#193e57;font-size:20px;overflow-wrap:anywhere}.cr-card header p{font-size:11px;color:#617e91;margin:0;overflow-wrap:anywhere;line-height:1.8}
.cr-badge{display:inline-flex;align-items:center;padding:5px 8px;border:1px solid #b6d9d2;border-radius:6px;background:#eef9f5;color:#21745f;font-size:10px;font-weight:700;line-height:1.7;max-width:100%}.cr-badge.cr-danger{color:#aa352a;background:#fff2ef;border-color:#efc0b9}.cr-badge.cr-amber{color:#8c681c;background:#fffae9;border-color:#e5d49b}
.cr-plan{display:block;width:100%;height:auto;direction:ltr;padding:10px 15px 0;box-sizing:border-box}.cr-plan-caption{font-size:10px;text-align:center;padding:6px 12px 12px;color:#688294;line-height:1.7}
.cr-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-block:1px solid #e2ecf3;background:#f7fafc}.cr-metrics>div{padding:13px 8px;text-align:center;min-width:0;border-inline-end:1px solid #e2ecf3}.cr-metrics>div:last-child{border-inline-end:0}.cr-metrics span{display:block;font-size:10px;color:#617d91;margin-bottom:7px}.cr-metrics strong{font-size:17px;color:#214c66;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.cr-metrics small{font-size:10px}.cr-metrics .cr-over strong{color:#b34333}
.cr-card-goods{display:flex;flex-wrap:wrap;gap:7px;padding:14px 18px;min-height:57px;align-content:center}.cr-card-goods span{border:1px solid #e0e9f0;border-radius:5px;padding:4px 7px;font-size:10px;color:#536f84;overflow-wrap:anywhere;max-width:100%;line-height:1.6}
.cr-card>footer{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid #edf2f6;padding:14px 18px}.cr-card footer>div:last-child{display:flex;gap:8px;flex-wrap:wrap}
.cr-stars{display:flex;align-items:center;flex-wrap:wrap;gap:2px;color:#b5c2cb;line-height:1}
#pw33 .cr-stars button,.cr-dialog .cr-stars button{font-family:Arial,sans-serif;border:0;background:none;padding:2px;min-width:29px;min-height:33px;font-size:27px;color:#c3ced6;box-shadow:none;line-height:1}
.cr-stars span{font-size:26px}.cr-stars .on,#pw33 .cr-stars button.on,.cr-dialog .cr-stars button.on{color:#e4a40b;text-shadow:0 1px 0 #b17812}
.cr-stars small{font-size:10px;line-height:1.7;margin-inline-start:8px;color:#667f90}.cr-stars.cr-stale{border:1px dashed #d0a44c;padding:5px;border-radius:5px}.cr-stars.cr-stale .on{opacity:.55}
.cr-card button[aria-pressed=true],.cr-compare-bar button{border-color:#0e8075;color:#0c766c;background:#edf8f5}
.cr-compare-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:0 0 17px}.cr-compare-bar:empty{display:none}
.cr-pages{display:flex;align-items:center;justify-content:center;gap:20px;padding:22px}.cr-empty{grid-column:1/-1;padding:45px;text-align:center;border:1px dashed #c1d5e3;border-radius:12px;color:#668399;background:#f8fbfd;line-height:1.9}.cr-empty-plan{padding:34px 22px;text-align:center;min-height:130px;display:grid;place-items:center;background:#f5f8fb;font-size:12px;color:#6c8395;line-height:1.8}
.cr-dialog{width:min(1280px,96vw);max-width:96vw;max-height:94vh;border:1px solid #bfd3e2;border-radius:14px;padding:0;color:#23465e;background:#f7fafc;box-sizing:border-box}
.cr-dialog::backdrop{background:#18394e85;backdrop-filter:blur(3px)}.cr-dialog>header{position:sticky;top:0;z-index:2;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:17px 22px;border-bottom:1px solid #d9e5ee;gap:15px}.cr-dialog h2{font-size:20px;margin:0;overflow-wrap:anywhere}.cr-dialog h3{font-size:16px;color:#2c516a}.cr-dialog>header button{font-size:24px;min-width:38px;min-height:38px;background:white;border:1px solid #d4e1eb;border-radius:7px}.cr-dialog>section{padding:22px;max-height:79vh;overflow:auto;overscroll-behavior:contain}.cr-dialog .cr-plan{padding-inline:0}.cr-dialog .cr-metrics strong{font-size:23px}.cr-dialog button{border:1px solid #c6d8e6;border-radius:7px;background:#fff;color:#226387;padding:9px 13px;font-family:inherit;cursor:pointer;min-height:36px}.cr-dialog button:disabled{opacity:.5;cursor:default}.cr-dialog label{display:grid;gap:10px;font-size:13px}.cr-dialog textarea{font-family:inherit;font-size:14px;border:1px solid #c9dce9;border-radius:8px;padding:12px;width:100%;box-sizing:border-box;resize:vertical}.cr-rating-editor{border:1px solid #d4e3ed;background:white;padding:20px;border-radius:10px;margin:22px 0}.cr-rating-editor label{margin:15px 0}.cr-dialog-status{font-size:13px;color:#1b7869;line-height:1.8}.cr-warning{font-size:12px;color:#986d20;background:#fff7e7;padding:12px;border-radius:7px;line-height:1.8}
.cr-legend{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:15px 0}.cr-legend>div{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid #dce7ef;border-radius:8px;background:#fff;min-width:0;font-size:12px}.cr-legend>div>b{border-radius:6px;min-width:28px;height:28px;display:grid;place-items:center;color:white;background:var(--cr-color)}.cr-legend>div>span{flex:1;min-width:0;overflow-wrap:anywhere}.cr-legend small{display:block;color:#647d8f;margin-top:4px}.cr-legend>div>strong{color:#ad402d;white-space:nowrap}.cr-goods-list{display:grid;gap:4px}.cr-goods-list>div{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;gap:18px;padding:13px;background:#fff;border:1px solid #e0eaf1;border-radius:6px;font-size:12px;align-items:center}.cr-goods-list small{display:block;color:#688196;margin-top:5px}.cr-goods-list span{overflow-wrap:anywhere;min-width:0}.cr-comparison{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:16px}.cr-comparison>article{border:1px solid #d7e4ed;background:white;border-radius:10px;padding:14px;min-width:0}.cr-comparison .cr-metrics{grid-template-columns:repeat(2,minmax(0,1fr));margin:15px 0}.cr-comparison p{font-size:12px;line-height:1.8;overflow-wrap:anywhere}
/* Names and numbers share a row in short blocks instead of being cut vertically. */
#pw33 #containerVisual .visual-boundary:not(.draft){min-height:24px;box-shadow:0 3px 10px #18394f12}
#pw33 #containerVisual .visual-boundary:not(.draft)::before{content:attr(data-cr-number);position:absolute;inset-inline-start:3px;top:3px;z-index:2;min-width:19px;height:19px;border-radius:4px;background:var(--item-color,#245477);color:white;display:grid;place-items:center;font:700 10px Arial;pointer-events:none}
#pw33 #containerVisual .boundary-label{padding:5px 22px;gap:4px;box-sizing:border-box;min-height:0;overflow:hidden}
#pw33 #containerVisual .boundary-name{white-space:normal;overflow-wrap:anywhere;font-size:clamp(12px,1.05vw,18px);line-height:1.2;padding:0;overflow:hidden;min-height:0;color:#1b3c52}
#pw33 #containerVisual .boundary-packages{font-size:clamp(15px,1.2vw,22px);line-height:1.1}
#pw33 #containerVisual .cr-compact .boundary-label{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:minmax(0,1fr);align-content:center;gap:6px;padding:3px 23px;direction:ltr}
#pw33 #containerVisual .cr-compact .boundary-name{font-size:clamp(11px,.94vw,15px);max-height:100%;width:100%;line-height:1.12}
#pw33 #containerVisual .cr-compact .boundary-label>.internal-reference-ui,#pw33 #containerVisual .cr-compact .boundary-label>.catalog-internal-reference{display:none}
#pw33 #containerVisual .cr-compact .boundary-label>span{display:none}
#pw33 #containerVisual .cr-compact .boundary-packages{font-size:clamp(13px,1vw,19px);margin:0}
#pw33 #containerVisual .cr-micro .boundary-name{display:none}
#pw33 #containerVisual .cr-micro .boundary-label{display:flex;justify-content:center;padding-inline:23px}
#pw33 #containerVisual .boundary-resize-handle{min-height:0;min-width:0;width:14px;height:14px;padding:0;margin:0;opacity:0;border-radius:2px;bottom:2px;right:2px;background:linear-gradient(135deg,transparent 35%,#314f62 35%,#314f62 50%,transparent 50%,transparent 65%,#314f62 65%,#314f62 80%,transparent 80%);border:0}
#pw33 #containerVisual .visual-boundary:hover .boundary-resize-handle,#pw33 #containerVisual .visual-boundary:focus-within .boundary-resize-handle{opacity:1}
#pw33 #containerVisual .cr-highlight{outline:4px solid #f2b634;outline-offset:2px;z-index:10}
#pw33 #containerVisual .visual-boundary::after{display:none}
#crDrawingLegend{padding:17px 0 8px;min-width:0}#crDrawingLegend h3{font-size:13px;margin:0 0 12px;color:#476e87}#crDrawingLegend>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}#pw33 #crDrawingLegend button{display:flex;align-items:center;gap:9px;padding:10px;background:#fff;border:1px solid #d8e5ef;border-radius:7px;text-align:start;min-width:0;height:auto;font-size:12px;line-height:1.6}#crDrawingLegend button>b{display:grid;place-items:center;min-width:23px;height:23px;background:#eaf2f8;color:#2c6284;border-radius:4px}#crDrawingLegend button>span{flex:1;min-width:0;overflow-wrap:anywhere;font-weight:600;color:#284f68}#crDrawingLegend small{display:block;color:#5b7e95}#crDrawingLegend button>strong{color:#ae3d28;font-size:14px;white-space:nowrap}
@media(max-width:1100px){.cr-grid{grid-template-columns:minmax(0,1fr)}#crDrawingLegend>div{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.cr-header{padding:17px;align-items:flex-start;flex-wrap:wrap}#pw33 .cr-header h2{font-size:23px}.cr-filters{grid-template-columns:repeat(2,minmax(0,1fr));padding:16px;gap:13px}.cr-summary{padding:15px;gap:12px 20px}.cr-card>header{flex-wrap:wrap;padding:16px}.cr-card h3{font-size:19px}.cr-metrics strong{font-size:15px}.cr-metrics>div{padding:11px 4px}.cr-legend{grid-template-columns:1fr}.cr-goods-list>div{grid-template-columns:minmax(0,1fr) auto;gap:10px}.cr-dialog>section{padding:12px}.cr-dialog>header{padding:13px}.cr-dialog h2{font-size:17px}.cr-dialog .cr-metrics strong{font-size:17px}#crDrawingLegend>div{grid-template-columns:1fr}#pw33 #containerVisual .cr-compact .boundary-name{font-size:11px}}
@media(max-width:430px){.cr-filters{grid-template-columns:minmax(0,1fr)}.cr-filters .cr-query{grid-column:auto}.cr-summary>div{flex:1}.cr-summary p{flex-basis:100%}.cr-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.cr-card>footer{padding:12px}.cr-dialog .cr-metrics strong{font-size:17px}.cr-rating-editor{padding:14px}}
.cr-plan-warning{font-size:11px;line-height:1.8;color:#8a641c;background:#fff7e5;border-block:1px solid #ead6a8;padding:8px 15px;margin:0}
/* Saved-plan labels carry actual product names and explicit package counts. */
.cr-block-label{box-sizing:border-box;width:100%;height:100%;padding:2px 4px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;overflow:hidden;font-family:Tahoma,Arial,sans-serif;line-height:1.15;color:#18394e;text-align:center}
.cr-block-name{display:block;flex-shrink:0;min-width:0;max-width:100%;font-weight:800;white-space:normal;overflow-wrap:anywhere;line-height:1.15}
.cr-block-quantity{display:block;flex-shrink:0;white-space:nowrap;color:#a92e23;line-height:1.15;background:#ffffffd9;border-radius:4px;padding:0 3px;font-variant-numeric:tabular-nums;font-weight:800}
.cr-block-quantity small{font-size:.65em;color:#304d60;margin-inline-start:3px}
.cr-block-inline{flex-direction:row;gap:7px}.cr-block-inline .cr-block-name{flex:1;min-width:0}.cr-block-inline .cr-block-quantity{flex:0 0 auto}
.cr-label-fallbacks{display:grid;gap:5px;padding-inline:15px}.cr-label-fallbacks>div{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:6px 8px;background:#f4f8fb;border-radius:5px;font-size:12px;line-height:1.6}.cr-label-fallbacks>[hidden]{display:none!important}.cr-label-fallbacks span{min-width:0;overflow-wrap:anywhere}.cr-label-fallbacks strong{white-space:nowrap;color:#a92e23}
.cr-tags{display:flex;flex-wrap:wrap;align-items:center;gap:7px;padding:0 17px 14px}.cr-tags small{flex-basis:100%;font-size:11px;color:#8b6623}
#pw33 .cr-tags button,.cr-tags>span{border:1px solid #abd6ce;background:#edf8f5;color:#176f62;border-radius:18px;font-size:12px;line-height:1.6;min-height:30px;padding:4px 10px;max-width:100%;white-space:normal;overflow-wrap:anywhere}
#pw33 .cr-tags-stale button{border-style:dashed;color:#896420;background:#fff9e9;border-color:#d5bd83}
#pw33 .cr-classify-button{background:#eef8f6;border-color:#9ccfc4;color:#146e61;font-weight:700}
.cr-custom-filter{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);align-items:center;gap:20px;padding:15px 17px;background:#eef8f5;border:1px solid #b5d9d0;border-radius:9px}
#pw33 .cr-custom-filter label{font-size:14px;color:#246a5d;font-weight:700}.cr-custom-filter p{margin:0;font-size:12px;color:#51796e;line-height:1.9}.cr-custom-filter input{background:white!important}
.cr-dialog.cr-class-dialog{width:min(760px,95vw)}.cr-classification-editor{padding:2px}.cr-classification-editor>p{font-size:13px;line-height:1.9;color:#506f85;margin:0 0 16px}.cr-classification-editor .cr-class-example{font-size:12px;background:#edf5fb;padding:12px;border-radius:7px;color:#426b89}
.cr-classification-editor label{font-size:13px;line-height:1.8}.cr-class-input{display:flex;align-items:center;gap:9px}.cr-class-input input{min-width:0;flex:1;width:100%;box-sizing:border-box;border:1px solid #bad2e3;border-radius:7px;font-family:inherit;font-size:14px;padding:11px;min-height:42px}.cr-class-input button{flex-shrink:0;min-height:42px}
.cr-class-selected{display:flex;flex-wrap:wrap;gap:9px;padding:18px 0;min-height:65px}.cr-class-selected>span{display:inline-flex;align-items:center;gap:7px;padding:6px 9px;border:1px solid #aacfc7;border-radius:7px;background:#f0f8f6;color:#245f54;font-size:13px;line-height:1.8;max-width:100%;overflow-wrap:anywhere}
.cr-class-selected button{padding:0!important;min-height:25px!important;min-width:25px;font-size:19px;color:#8f453a;border:0;background:transparent}.cr-class-selected>p{font-size:12px;color:#7b93a4}
.cr-dialog .cr-save-classification{background:#0c796d;border-color:#0c796d;color:white;font-size:14px;min-height:43px;padding-inline:20px;font-weight:700}.cr-classification-editor .cr-class-hint{font-size:11px;margin-top:15px;margin-bottom:0;color:#748a9b}.cr-classification-editor .cr-dialog-status{color:#197766;min-height:24px}
@media(max-width:760px){.cr-custom-filter{grid-template-columns:minmax(0,1fr);gap:9px;padding:13px}.cr-custom-filter p{font-size:11px}.cr-class-input{flex-wrap:wrap}.cr-class-input input{flex-basis:100%}.cr-label-fallbacks>div{font-size:11px}.cr-classification-editor{padding:0}}
@media print{#crDrawingLegend,.cr-workspace,.cr-dialog{display:none!important}}
