.points-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.points-section-heading h2{margin:0;min-width:0}
.points-map-link{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:0 0 auto;min-height:36px;padding:7px 10px;border:1px solid var(--green);border-radius:10px;background:var(--card);color:var(--green);font-size:13px;font-weight:600;line-height:1.3;text-decoration:none;white-space:nowrap}
.points-map-link::before{content:'';display:block;width:16px;height:16px;background:currentColor;mask:url('/static/web/img/map-icons/lucide-map-pinned.svg') center/contain no-repeat;-webkit-mask:url('/static/web/img/map-icons/lucide-map-pinned.svg') center/contain no-repeat}
.points-map-link:hover{background:var(--band)}
.points-map-link:focus-visible{outline:2px solid var(--green);outline-offset:3px}
.scan-result-layout-0{display:none}
.option-figure{display:flex;flex-direction:column;gap:.5em;margin:0;min-width:0}
.option-figure figcaption{text-align:right;font-size:.9em;color:var(--muted)}
.option-badges{display:flex;flex-wrap:wrap;gap:.5em}
.scan-result-layout-1{display:none}
.scan-result-layout-2{margin-bottom:8px}
.scan-result-layout-3{font-size:13px;color:#495057;margin-bottom:12px}
.scan-result-layout-4{display:flex;gap:10px;flex-wrap:wrap}
.scan-result-layout-5{flex:1;margin:0}
.scan-result-layout-6{flex:1;margin:0;display:none}
.scan-result-layout-7{flex:1;margin:0}
.scan-result-layout-8{flex:1;margin:0}
.scan-result-layout-9{display:none}
.scan-result-layout-10{width:100%;box-sizing:border-box;min-height:44px;margin-top:10px}
.scan-result-layout-11{display:none}
.scan-result-layout-12{color:var(--dark)}
.scan-result-layout-13{font-size:12px;color:var(--muted);margin:6px 0 10px}
.scan-result-layout-14{display:none;width:100%;border-radius:10px;background:#000}
.scan-result-layout-15{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.scan-result-layout-16{display:none}
.scan-result-layout-17{display:none}
.scan-result-layout-18{font-size:12px;color:var(--muted);margin-top:8px}
.scan-result-layout-19{display:none}
.scan-result-layout-20{font-size:12px;color:#2b8a3e;margin-bottom:8px}
.scan-result-layout-21{font-size:13px;color:#495057;margin-bottom:10px}
.scan-result-layout-22{display:none}
.scan-result-layout-23{margin-top:0}
.scan-result-layout-24{display:none}
.scan-result-layout-25{margin-top:0}
.scan-result-layout-26{display:none;font-size:11px;color:var(--muted);margin-bottom:6px}
.scan-result-layout-27{display:none;font-size:13px;color:#2b8a3e;margin-top:8px}
.scan-result-layout-28{display:none;font-size:12px;color:var(--muted);margin-top:6px}
.scan-result-layout-29{display:none}
.scan-result-layout-30{display:none;margin-top:10px}
.scan-result-layout-31{width:100%;border-radius:10px;background:#000}
.scan-result-layout-32{display:flex;gap:8px;margin-top:8px}
.scan-result-layout-33{display:none;font-size:12px;color:var(--muted);margin-top:6px}
.scan-result-layout-34{display:none}
.scan-result-layout-35{margin-top:0}
.scan-result-layout-36{font-size:13px;color:#495057}
.scan-result-layout-37{display:none}
.scan-result-layout-38{display:none}
.scan-result-layout-39{display:none}

.btn-teal { background:var(--action-bg,#FD5506); color:#fff; }
.btn-teal:active { background:var(--action-hover,#e94c00); }
.prep-step { display:flex; gap:10px; align-items:flex-start; padding:10px 0; border-bottom:1px solid #f1f3f5; }
.prep-step:last-child { border-bottom:none; }
.prep-num { flex:0 0 22px; width:22px; height:22px; border-radius:50%; background:#e9ecef; color:#868e96; font-size:12px; font-weight:700; display:flex; align-items:center; justify-content:center; margin-top:1px; }
.prep-step.active .prep-num { background:#2f9e44; color:#fff; }
.prep-step.done .prep-num { background:#2b8a3e; color:#fff; }
.prep-step.pending { opacity:.45; }
.prep-body { flex:1; font-size:13px; color:#495057; }
.prep-step.done .prep-body { text-decoration:line-through; color:#adb5bd; }
.prep-actions { display:none; margin-top:8px; gap:8px; flex-wrap:wrap; }
.prep-step.active .prep-actions { display:flex; }
.prep-btn { font-size:13px; padding:8px 14px; border-radius:8px; border:1px solid var(--action-bg,#FD5506); background:var(--action-bg,#FD5506); color:#fff; cursor:pointer; }
.idea-row { display:flex; gap:10px; align-items:flex-start; font-size:13px; color:#495057; margin-bottom:10px; }
.idea-row i { color:#2f9e44; font-size:16px; margin-top:2px; }
.prep-btn.ghost { background:#fff; color:var(--ink,#202936); border-color:var(--line,#d4d9d0);}
.prep-btn:disabled { opacity:.5; cursor:default; }
.coin { display:inline-block; vertical-align:-3px; }
.eco-item { display:block; padding:10px 0; border-bottom:1px solid #f1f3f5; cursor:pointer; text-decoration:none; }
.eco-item:last-child { border-bottom:none; }
.eco-item b { color:var(--dark); font-size:14px; }
.fact-chip { display:inline-block; background:#ebfbee; color:#2b8a3e; border-radius:999px; padding:4px 10px; font-size:12px; font-weight:600; margin:0 6px 6px 0; }

.scan-capture-layout-41{display:none;position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.scan-capture-layout-42{display:none;position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.scan-capture-layout-43{top:14px;left:14px;border-right:none;border-bottom:none}
.scan-capture-layout-44{top:14px;right:14px;border-left:none;border-bottom:none}
.scan-capture-layout-45{bottom:14px;left:14px;border-right:none;border-top:none}
.scan-capture-layout-46{bottom:14px;right:14px;border-left:none;border-top:none}
.scan-capture-layout-47{display:none}
.scan-capture-layout-48{margin:12px 0}
.scan-capture-layout-49{width:100%;min-height:44px}
.scan-capture-layout-50{margin-bottom:12px}
.scan-capture-layout-51{display:none}
.scan-capture-layout-52{display:none}
.scan-live-stack{display:flex;flex-direction:column;gap:1em;margin-top:1rem}
.scan-capture-layout-53{margin:0}
#scan-capture:disabled{background:#e8e7e1;color:#777870;cursor:not-allowed;opacity:1}
.scan-capture-layout-54{display:none}
.scan-capture-layout-55{margin-bottom:8px}
.scan-capture-layout-56{margin-bottom:12px}
.scan-capture-layout-57{display:none;position:fixed;inset:0;z-index:999;background:rgba(10,20,10,.55);align-items:center;justify-content:center;flex-direction:column;color:#fff}
.scan-capture-layout-58{width:44px;height:44px;border:4px solid rgba(255,255,255,.25);border-top-color:#7bd88f;border-radius:50%;animation:scanspin .8s linear infinite}
.scan-capture-layout-59{margin-top:14px;font-weight:600}
@keyframes scanspin{to{transform:rotate(360deg)}}
/* Progressive scan flow; legacy acceptance panels never compete with server verdict. */
#sr-eco-card,#sr-prep-card,#sr-cta-hint{display:none!important}
[hidden],.picker-tile[hidden]{display:none!important}
.scan-photo-strip{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory}
.scan-photo-item{flex:0 0 72%;max-width:300px;min-width:0;scroll-snap-align:start}
.scan-photo-item:only-child{flex-basis:100%;max-width:none}
.scan-photo-preview{width:100%;height:190px;object-fit:contain;border-radius:12px;background:#f4f6f3}
.scan-photo-caption{font-size:12px;color:var(--muted);padding:6px 0}
.scan-known-facts summary{cursor:pointer;min-height:44px;padding:12px 0;font-size:14px;line-height:1.5}
.scan-known-facts p{border-top:1px solid var(--line);padding-top:8px;line-height:1.5}
#sr-clarify-card h2,#sr-rule-status h2,.scan-destination-start h2,.scan-section-heading{font-size:19px;line-height:1.4;margin:0 0 10px}
#sr-clarify-card .scan-action{min-height:44px}
#sr-picker-card{scroll-margin-top:16px}#sr-picker{max-height:340px;overflow:auto}
#sr-picker-count{font-size:13px;color:var(--muted)}
.scan-destination-start .btn{margin-bottom:0;width:100%;box-sizing:border-box}
#sr-destination-panel,#sr-rule-status{scroll-margin-top:16px}
#collection-options label{display:block;font-weight:600;font-size:13px;margin:12px 0 6px}
#collection-options select{width:100%;min-height:44px;border:1px solid var(--line);border-radius:10px;padding:10px;background:var(--card);color:var(--dark);font:inherit}
#collection-options h2{font-size:17px}#collection-result{font-size:14px;line-height:1.5}
#collection-result section{border-top:1px solid var(--line);padding:12px 0}
#collection-result .streams-card,.streams-card{display:flex;flex-direction:column;gap:0;box-sizing:border-box;
  width:100%;min-width:0;padding:16px;margin:0}
.streams-card>h2{box-sizing:border-box;width:100%;padding:0 0 10px;font-size:19px;line-height:1.3}
.streams-card .collection-option{display:flex;flex-direction:column;gap:12px;box-sizing:border-box;
  width:100%;min-width:0;padding:14px 0;border-top:1px solid var(--line)}
.streams-card .collection-option:last-child{padding-bottom:0}
.streams-card .collection-option>*{margin:0;max-width:100%;min-width:0;overflow-wrap:anywhere}
.stream-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:10px 12px;width:100%;min-width:0}
.stream-head>h3{margin:0;align-self:center;font-size:16px;line-height:1.4}
.streams-card .status-chip{display:inline-flex;align-items:center;justify-content:center;
  box-sizing:border-box;max-width:120px;padding:4px 8px;border-radius:999px;background:#eef2ef;color:#42544a;
  font-size:11px;font-weight:700;line-height:1.25;text-align:center;white-space:normal}
.streams-card .status-chip.is-accepts{background:#e6f4ea;color:#1e6b32}
.streams-card .status-chip.is-conditional{background:#fff4d6;color:#76590b}
.streams-card .status-chip.is-not_accepts{background:#fdebea;color:#9f332e}
.stream-layout{display:grid;grid-template-columns:112px minmax(0,1fr);align-items:start;gap:8px 14px;width:100%;min-width:0}
.stream-layout .option-figure{grid-column:1;grid-row:1;display:flex;flex-direction:column;gap:5px;
  box-sizing:border-box;width:112px;min-width:0;margin:0}
.stream-layout .option-image{box-sizing:border-box;width:112px;height:112px;max-width:none;
  margin:0;border-radius:10px;background:#f4f7f4;object-fit:cover}
.stream-layout .option-figure figcaption{box-sizing:border-box;width:112px;margin:0;color:var(--muted);
  font-size:10px;line-height:1.35;text-align:left;overflow-wrap:anywhere}
.stream-copy{grid-column:2;grid-row:1;display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0}
.stream-copy>*{max-width:100%;margin:0;overflow-wrap:anywhere}
.streams-card .stream-verdict{color:var(--dark);font-weight:600;line-height:1.5}
.streams-card :is(.stream-scope,.stream-uncertainty,.stream-limit){color:var(--muted);font-size:13px;line-height:1.5}
.streams-card :is(.stream-conditions,.stream-preparation,.stream-rejections){padding-left:10px;border-left:2px solid var(--line);line-height:1.5}
.streams-card .stream-source{justify-self:start;font-weight:600}
.streams-card .collection-option>details{width:100%;min-width:0;margin-top:2px;border-bottom:1px solid var(--line)}
.streams-card .collection-option>details[open]>summary{margin-bottom:10px}
#sr-destination-panel{display:flex;flex-direction:column;gap:1em}
#sr-destination-panel>.card{margin:0}
#sr-disposal-card{display:flex;flex-direction:column;gap:1em}
.notes-card{display:flex;flex-direction:column;gap:0;box-sizing:border-box;width:100%;min-width:0;padding:16px}
.notes-card>h2{box-sizing:border-box;width:100%;padding:0 0 10px;font-size:19px;line-height:1.3}
.notes-card p{margin:0;line-height:1.5}

/* «Городские контейнеры»: фото, вердикт по текущей фракции и «Подробнее» (заказчик 2026-10-14). */
.city-containers{box-sizing:border-box;width:100%;min-width:0;padding:16px}
.city-containers>h2{box-sizing:border-box;width:100%;padding:0 0 10px;font-size:19px;line-height:1.3}
.city-block{display:flex;flex-direction:column;gap:10px;box-sizing:border-box;width:100%;min-width:0;
  padding:14px 0;border-top:1px solid var(--line)}
.city-block:first-of-type{border-top:0;padding-top:0}
.city-block>h3{margin:0;font-size:16px;line-height:1.4}
.city-layout{display:grid;grid-template-columns:112px minmax(0,1fr);align-items:start;gap:6px 14px;
  box-sizing:border-box;width:100%;min-width:0}
.city-layout .option-figure{grid-column:1;display:flex;flex-direction:column;gap:5px;box-sizing:border-box;
  width:112px;min-width:0;margin:0}
.city-layout .option-image{width:112px;height:112px;max-width:none;margin:0;border-radius:10px;
  background:#f4f7f4;object-fit:cover}
.city-layout figcaption{box-sizing:border-box;width:112px;margin:0;color:var(--muted);font-size:10px;
  line-height:1.35;text-align:left;overflow-wrap:anywhere}
.city-layout figcaption a{color:inherit;text-decoration:none;border:0}
.city-layout figcaption a:hover{color:var(--green)}
.city-copy{grid-column:2;display:flex;flex-direction:column;gap:8px;box-sizing:border-box;min-width:0}
.city-verdict{margin:0;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
.city-verdict.is-accepts{color:#1e6b32}
.city-verdict.is-rejects{color:#9f332e}
.city-verdict.is-unknown{color:var(--muted)}
.city-more{align-self:flex-end;font-weight:600}
/* Нет приёма: фотографии нет, только заголовок с пометкой и ссылка (заказчик 2026-10-14). */
.city-block.is-no-accept .city-layout{grid-template-columns:minmax(0,1fr)}
.city-block.is-no-accept .city-copy{grid-column:1}
@media(max-width:480px){
  .city-layout{grid-template-columns:100px minmax(0,1fr);gap:6px 12px}
  .city-layout .option-figure,.city-layout figcaption{width:100px}
  .city-layout .option-image{width:100px;height:100px}
}
#collection-result h3{font-size:16px;margin:0 0 8px}
#sr-rule-status .facet-search{width:100%;box-sizing:border-box;min-height:44px;margin-bottom:10px}
.scan-point-choices{display:grid;gap:10px}.scan-point-choices .point-choice{display:block;width:100%;box-sizing:border-box;text-align:left;border:1px solid var(--line);border-radius:12px;background:white;color:var(--dark);padding:14px;font:inherit;font-weight:600;cursor:pointer}
.point-choice small{display:block;font-weight:400;margin-top:6px;line-height:1.45;color:var(--muted)}.point-choice .point-choice-action{color:#176855;font-weight:600}
.scan-point-choices .point-choice:hover{border-color:#176855}
.scan-destination-start,.scan-point-choices,.scan-photo-strip{min-width:0}
#sr-rule-status :is(button,a),#sr-picker-cancel{min-height:44px}
.scan-point-stack{margin-top:16px}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.spinner{animation:none}}

/* Result actions remain distinct at narrow widths, including theme overrides. */
#sr-picker-navigation{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
#sr-picker .picker-tile{min-height:48px;white-space:normal;text-align:left;font:inherit;padding:12px;cursor:pointer}

.scan-question-actions{display:flex;flex-wrap:wrap;gap:8px}
#sr-clarify-card .facet-options{max-height:280px;overflow:auto}
.sr-candidate-summary{margin:12px 0}.sr-candidate-summary b{display:block;margin-bottom:8px}.sr-candidate-summary p{margin:0;line-height:1.5}.sr-candidate-summary [hidden]{display:none!important}
.sr-candidate-options{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;box-sizing:border-box;width:100%;min-width:0;max-height:none;overflow:visible;padding:1px}
.sr-candidate-shell{position:relative;box-sizing:border-box;width:100%;min-width:0;overflow:hidden;border:1px solid var(--line,#d8dfd4);border-radius:14px}
.sr-candidate-options .facet-option{box-sizing:border-box;width:100%!important;max-width:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;font:inherit;text-align:left}
.sr-candidate-options .sr-candidate-card{display:flex;flex-flow:row nowrap;align-items:center;justify-content:space-between;gap:10px;min-height:62px;padding:9px 10px}
.sr-candidate-shell.has-hint .sr-candidate-card{min-height:76px;padding-right:12px}
.sr-candidate-copy{display:flex;flex:1 1 0;min-width:0;flex-direction:column;align-items:flex-start;gap:3px}
.sr-candidate-confidence{color:var(--green,#2e7d32);font-size:.78rem;font-weight:700;line-height:1.25}
.sr-candidate-name{font-size:.98rem;font-weight:650;line-height:1.3;overflow-wrap:anywhere}
.sr-candidate-visual{display:grid;flex:0 0 48px;width:48px;min-width:48px;min-height:44px;place-items:center;color:var(--green,#2e7d32);font-size:1.65rem}
.sr-candidate-visual svg{display:block;width:44px;height:44px;overflow:visible}
.sr-candidate-visual svg text{fill:currentColor;font-size:11px;font-weight:700}
.sr-candidate-shell.is-best{border-color:var(--green,#2e7d32);box-shadow:inset 0 0 0 1px var(--green,#2e7d32)}
.sr-candidate-shell.selected{border-color:var(--green,#2e7d32);background:#e9f8ef;box-shadow:inset 0 0 0 1px var(--green,#2e7d32)}
.sr-candidate-shell .sr-candidate-info{position:absolute;z-index:2;top:-12px;right:-12px;display:block;box-sizing:border-box;width:32px;height:auto;min-height:0;aspect-ratio:1/1;padding:0;border:0;border-radius:50%;background:var(--line,#d8dfd4);color:var(--green-deep,#1e6b32);cursor:pointer;box-shadow:none}
.sr-candidate-info-symbol{position:absolute;bottom:5px;left:7px;font:700 12px/1 Arial,sans-serif}
.sr-candidate-info:hover{background:var(--line,#d8dfd4);color:var(--green-deep,#1e6b32)}
.sr-candidate-info:focus-visible{outline:3px solid rgba(47,158,68,.35);outline-offset:-3px}
#sr-info-body{padding-right:20px}#sr-info-body>.details-head{margin:0 0 4px;font-size:1.08rem;font-weight:750;line-height:1.3}.sr-marking-intro{margin:0 0 12px;color:var(--muted,#5a6b5f);font-size:.9rem;line-height:1.4}
.sr-marking-step{display:grid;grid-template-columns:20px minmax(0,1fr);gap:8px;padding:12px 0;border-top:1px solid var(--line,#d8dfd4)}.sr-marking-step-number{color:var(--green,#2e7d32);font-size:1rem;font-weight:800;line-height:1.25}.sr-marking-step-content{min-width:0}.sr-marking-step-content h4{margin:0 0 5px;font-size:.9rem}.sr-marking-step-content p{margin:0;line-height:1.45}
.sr-marking-match{display:grid;grid-template-columns:72px minmax(0,1fr);align-items:center;gap:12px}.sr-marking-caption{margin:0 0 7px!important;color:var(--muted,#5a6b5f);font-size:.84rem}.sr-marking-variants{display:flex;flex-wrap:wrap;gap:6px}.sr-marking-variants code{padding:4px 7px;border-radius:7px;background:var(--cream,#f7f3e8);font:700 .82rem/1.2 system-ui,sans-serif}.sr-marking-example{display:grid;width:72px;height:68px;place-items:center;border-radius:10px;background:var(--cream,#f7f3e8);color:var(--green,#2e7d32)}.sr-marking-example svg{display:block;width:64px;height:60px}.sr-marking-example text{fill:currentColor;font-size:12px;font-weight:700}
#sr-candidate-none,#sr-candidate-confirm{box-sizing:border-box}

/* Single active step; legacy confirmation is superseded by the explicit flow. */
#sr-confirm{display:none!important}
#collection-result button,#collection-change,#collection-confirm{min-height:44px;white-space:normal}
#collection-result details{box-sizing:border-box;width:100%;min-width:0;margin:0;border-bottom:1px solid var(--line)}
#collection-result details>summary{position:relative;box-sizing:border-box;width:100%;min-width:0;min-height:44px;
  padding:11px 28px 11px 0;cursor:pointer;list-style:none;line-height:1.4}
#collection-result details>summary::-webkit-details-marker{display:none}
#collection-result details>summary::after{content:'';position:absolute;right:5px;top:50%;width:8px;height:8px;
  border-right:2px solid var(--green);border-bottom:2px solid var(--green);
  transform:translateY(-65%) rotate(45deg);transform-origin:50% 50%}
#collection-result details[open]>summary::after{transform:translateY(-35%) rotate(225deg)}
#collection-result details[open]>summary{margin-bottom:10px}
#collection-result details>summary:focus-visible{outline:2px solid var(--green);outline-offset:2px}
#collection-result li{margin:12px 0;overflow-wrap:anywhere}
#collection-result a{display:inline-block;margin:4px 8px 4px 0}
#collection-result button{margin:6px 8px 6px 0}
#sr-flow-error:empty,#collection-place-error:empty{display:none}
@media(max-width:420px){
  .stream-head{grid-template-columns:minmax(0,1fr)}
  .stream-head .status-chip{grid-row:1;justify-self:start}
  .stream-head>h3{grid-row:2}
  .stream-layout{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
  .stream-layout .option-figure,.stream-layout .option-figure figcaption{width:104px}
  .stream-layout .option-image{width:104px;height:104px}
  .stream-copy{width:100%}
}
