/* ============================================================ Подбор техники — стили (Editorial Calm) ============================================================ */ /* ----- Header ----- */ .podbor-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s4); } .podbor-back { width: 28px; height: 28px; display: grid; place-items: center; color: var(--ink); cursor: pointer; } .podbor-back svg { width: 20px; height: 20px; } .podbor-title { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); } /* ----- Progress ----- */ .podbor-progress { margin-bottom: var(--s5); } .podbor-progress-bar { height: 2px; background: var(--line); border-radius: var(--r-pill); overflow: hidden; margin-bottom: 6px; } .podbor-progress-bar .bar { height: 100%; background: var(--accent-2); border-radius: inherit; transition: width 0.3s ease; } .podbor-progress-meta { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); } .podbor-progress-meta .num { color: var(--ink); } /* ----- Лента категорий ----- */ .cat-strip { display: flex; gap: 6px; overflow-x: auto; margin: 0 -20px var(--s4); padding: 0 20px 4px; scrollbar-width: none; -ms-overflow-style: none; } .cat-strip::-webkit-scrollbar { display: none; } .cat-strip-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill); font-family: var(--font-sans); font-size: 12px; font-weight: 500; letter-spacing: -0.005em; color: var(--muted); white-space: nowrap; cursor: pointer; flex-shrink: 0; transition: all 0.12s; } .cat-strip-chip:active { transform: scale(0.96); } .cat-strip-chip.active { border-color: var(--accent-2); background: var(--warm); color: var(--ink); box-shadow: 0 0 0 1px var(--accent-2) inset; } .cat-strip-chip.filled { color: var(--ink); } .cat-strip-icon { width: 16px; height: 16px; display: grid; place-items: center; color: var(--accent-2); } .cat-strip-icon svg { width: 16px; height: 16px; } .cat-strip-tick { width: 12px; height: 12px; display: grid; place-items: center; color: var(--accent-2); margin-left: 2px; } .cat-strip-tick svg { width: 11px; height: 11px; stroke-width: 2.5; } /* ----- Step container ----- */ .podbor-screen { animation: fadeIn 0.2s ease; } @keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } } .podbor-step { display: flex; flex-direction: column; gap: var(--s4); } .display-title { font-family: var(--font-display); font-style: italic; font-size: 32px; font-weight: 400; line-height: 1.05; letter-spacing: -0.02em; color: var(--ink); margin: 0; } .display-title .accent { color: var(--accent-2); } .lede { font-size: 14.5px; line-height: 1.45; color: var(--ink-2); margin: 0; } /* ----- Form errors / hints ----- */ .field-error { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.02em; color: #8A3E2A; min-height: 14px; margin-top: 4px; line-height: 1.3; } .field-error:empty { display: none; } .field-hint { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.04em; color: var(--muted); margin-top: 4px; line-height: 1.3; } /* ----- Form basics ----- */ .field { display: flex; flex-direction: column; gap: 4px; } .field-label { font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); } .field input, .field textarea, .field-inline input { font-family: var(--font-ui); font-size: 15px; color: var(--ink); background: var(--card); border: 1px solid var(--line-strong); border-radius: var(--r-btn); padding: 11px 12px; outline: none; transition: border-color 0.12s; width: 100%; } .field input:focus, .field textarea:focus, .field-inline input:focus { border-color: var(--accent-2); } .field textarea { resize: vertical; min-height: 64px; font-family: var(--font-ui); } .form-row { display: flex; flex-direction: column; gap: var(--s2); } .form-row.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); } /* ----- Block grouping ----- */ .block { background: var(--card); border: 1px solid var(--line-strong); border-radius: var(--r-card); padding: var(--s4); display: flex; flex-direction: column; gap: var(--s3); } .block-head { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); } .hint { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.10em; text-transform: uppercase; color: var(--muted); } /* ----- Categories grid ----- */ .cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); } .cat-card { background: var(--card); border: 1px solid var(--line-strong); border-radius: var(--r-card); padding: 12px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; position: relative; cursor: pointer; transition: background 0.12s, border-color 0.12s; min-height: 84px; } .cat-card:active { background: var(--paper-2); } .cat-card.active { border-color: var(--ink); background: var(--paper-2); } .cat-card .cat-icon { width: 26px; height: 26px; display: grid; place-items: center; color: var(--ink); } .cat-card .cat-icon svg { width: 22px; height: 22px; stroke-width: 1.4; } .cat-card .cat-label { font-family: var(--font-ui); font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); } .cat-card .cat-check { position: absolute; top: 10px; right: 10px; width: 18px; height: 18px; background: var(--accent-2); color: var(--paper); border-radius: var(--r-pill); display: grid; place-items: center; } .cat-card .cat-check svg { width: 12px; height: 12px; stroke-width: 2.5; } /* ----- Niches ----- */ .niche-list { display: flex; flex-direction: column; gap: var(--s2); } .niche-row { display: flex; flex-direction: column; gap: 4px; } .niche-label { font-family: var(--font-ui); font-size: 13px; font-weight: 500; color: var(--ink-2); } .niche-inputs { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; min-width: 0; } .niche-inputs input { min-width: 0; /* критично — иначе input не даёт колонке сжиматься */ width: 100%; font-family: var(--font-mono); font-size: 12.5px; padding: 8px 4px; text-align: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-tag); color: var(--ink); } .niche-inputs input::placeholder { font-size: 11px; } .budget-list { display: flex; flex-direction: column; gap: var(--s2); } .field-inline { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); font-family: var(--font-ui); font-size: 14px; color: var(--ink-2); } .field-inline input { width: 130px; padding: 8px 10px; font-family: var(--font-mono); font-size: 13px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-tag); text-align: right; color: var(--ink); } /* ----- Price range (от — до по категориям) ----- */ .price-list { display: flex; flex-direction: column; gap: var(--s3); } .price-row { display: flex; flex-direction: column; gap: 6px; } .price-label { font-family: var(--font-ui); font-size: 13.5px; font-weight: 500; color: var(--ink-2); } .price-inputs { display: flex; align-items: center; gap: 6px; min-width: 0; } .price-inputs input { flex: 1; min-width: 0; width: 100%; font-family: var(--font-mono); font-size: 13px; padding: 8px 10px; text-align: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-tag); color: var(--ink); } .price-inputs .dash { font-family: var(--font-mono); color: var(--muted); flex-shrink: 0; } .price-inputs .rub { font-family: var(--font-mono); font-size: 12px; color: var(--muted); flex-shrink: 0; padding-left: 2px; } .price-total { margin-top: var(--s2); padding-top: var(--s2); border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.10em; text-transform: uppercase; color: var(--ink-2); text-align: right; } .price-total strong { font-family: var(--font-ui); font-size: 14px; color: var(--ink); font-weight: 600; } .price-total.muted { color: var(--muted); } /* ----- Option chips ----- */ .opt-list { display: flex; flex-wrap: wrap; gap: 6px; } .opt { font-family: var(--font-ui); font-size: 13px; font-weight: 500; padding: 8px 12px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: var(--paper); color: var(--ink-2); cursor: pointer; transition: all 0.12s; } .opt:active { transform: scale(0.97); } .opt.on { background: var(--ink); color: var(--paper); border-color: var(--ink); } /* ----- Brand chips ----- */ /* Тиры (Premium/Middle/Budget) различаются цветом, без явных текстовых ярлыков. Внутренне храним tier для аналитики «температуры» клиента. */ .brand-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 0; border-top: 1px dashed var(--line); } .brand-chips:first-of-type { border-top: none; padding-top: 0; } .chip { font-family: var(--font-ui); font-size: 12.5px; font-weight: 500; padding: 6px 11px; border-radius: var(--r-tag); border: 1px solid; cursor: pointer; transition: all 0.12s; position: relative; } /* Базовый цвет покоя по тирам — без слов, только тёплый/холодный оттенок */ .chip.tier-premium { background: var(--paper); color: var(--accent-2); /* walnut */ border-color: rgba(107, 74, 43, 0.35); } .chip.tier-middle { background: var(--paper); color: var(--ink-2); border-color: var(--line-strong); } .chip.tier-budget { background: var(--paper); color: var(--muted); border-color: var(--line); } /* Состояние preferred — заливка цветом тира */ .chip.tier-premium.status-preferred { background: var(--accent-2); /* walnut */ color: var(--paper); border-color: var(--accent-2); font-weight: 600; } .chip.tier-middle.status-preferred { background: var(--ink); color: var(--paper); border-color: var(--ink); font-weight: 600; } .chip.tier-budget.status-preferred { background: var(--muted); color: var(--paper); border-color: var(--muted); font-weight: 600; } .chip.status-preferred::before { content: "★ "; } /* Состояние acceptable — обводка цветом тира, прозрачная заливка */ .chip.status-acceptable { background: var(--paper-2); } .chip.tier-premium.status-acceptable { border-color: var(--accent-2); color: var(--accent-2); } .chip.tier-middle.status-acceptable { border-color: var(--ink); color: var(--ink); } .chip.tier-budget.status-acceptable { border-color: var(--muted); color: var(--ink-2); } .chip.status-acceptable::before { content: "✓ "; } /* Состояние avoid — приглушённый, перечёркнутый */ .chip.status-avoid { background: #F5E1DC; border-color: #C7705A; color: #8A3E2A; text-decoration: line-through; opacity: 0.85; } .chip.status-avoid::before { content: "✗ "; text-decoration: none; display: inline-block; } /* Disabled кнопка */ .btn-primary[disabled], .btn-secondary[disabled] { opacity: 0.4; cursor: not-allowed; pointer-events: none; } /* ----- Summary ----- */ .summary-block { gap: 8px; } .summary-block .kv { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 0; border-bottom: 1px solid var(--line); font-family: var(--font-ui); font-size: 14px; } .summary-block .kv:last-child { border-bottom: none; } .summary-block .kv span { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); } .summary-block .kv strong { font-weight: 600; color: var(--ink); } /* ----- CTA / buttons ----- */ .podbor-cta-row { display: flex; gap: var(--s2); margin-top: var(--s3); } .btn-primary, .btn-secondary { flex: 1; font-family: var(--font-ui); font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; padding: 12px var(--s4); border-radius: var(--r-btn); cursor: pointer; transition: opacity 0.12s, background 0.12s; } .btn-primary { background: var(--ink); color: var(--paper); } .btn-primary:active { opacity: 0.85; } .btn-primary:disabled { opacity: 0.6; cursor: not-allowed; } .btn-secondary { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); } .btn-secondary:active { background: var(--paper-2); } /* ----- Submit result ----- */ .submit-result { margin-top: var(--s3); } .submit-result .success { display: flex; align-items: center; gap: var(--s3); background: var(--paper-2); border: 1px solid var(--accent-2); border-radius: var(--r-card); padding: var(--s4); } .submit-result .success-icon { width: 36px; height: 36px; background: var(--accent-2); color: var(--paper); border-radius: var(--r-pill); display: grid; place-items: center; flex-shrink: 0; } .submit-result .success-icon svg { width: 20px; height: 20px; stroke-width: 2.5; } .submit-result .success-title { font-family: var(--font-ui); font-size: 15px; font-weight: 600; color: var(--ink); } .submit-result .success-sub { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.10em; text-transform: uppercase; color: var(--muted); margin-top: 2px; } .submit-result .error { background: rgba(192, 57, 43, 0.08); border: 1px solid rgba(192, 57, 43, 0.30); color: #8C3F1E; border-radius: var(--r-card); padding: var(--s3) var(--s4); font-size: 14px; } .spinner-inline { display: inline-block; width: 14px; height: 14px; border: 1.5px solid rgba(251,247,240,0.3); border-top-color: var(--paper); border-radius: var(--r-pill); animation: spin 0.7s linear infinite; margin-right: 6px; vertical-align: -2px; } .empty { text-align: center; color: var(--muted); padding: var(--s7) 0; } /* ============================================================ Detail menu — list of categories with status ============================================================ */ .detail-list { display: flex; flex-direction: column; gap: var(--s2); } .detail-card { display: flex; align-items: center; gap: var(--s3); background: var(--card); border: 1px solid var(--line-strong); border-radius: var(--r-card); padding: var(--s3) var(--s4); cursor: pointer; transition: background 0.12s; text-align: left; } .detail-card:active { background: var(--paper-2); } .detail-card.done { border-color: var(--accent-2); } .detail-icon { width: 28px; height: 28px; display: grid; place-items: center; color: var(--ink); flex-shrink: 0; } .detail-icon svg { width: 22px; height: 22px; stroke-width: 1.4; } .detail-card.done .detail-icon { color: var(--accent-2); } .detail-text { flex: 1; min-width: 0; } .detail-name { font-family: var(--font-ui); font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); } .detail-sum { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .detail-card.done .detail-sum { color: var(--ink-2); text-transform: none; letter-spacing: 0; font-family: var(--font-ui); font-size: 12.5px; } .detail-status { flex-shrink: 0; width: 22px; height: 22px; display: grid; place-items: center; color: var(--muted-2); } .detail-status svg { width: 18px; height: 18px; } .detail-card.done .detail-status { width: 22px; height: 22px; background: var(--accent-2); color: var(--paper); border-radius: var(--r-pill); } .detail-card.done .detail-status svg { width: 14px; height: 14px; stroke-width: 2.5; } /* ============================================================ Category detail screen ============================================================ */ .cat-detail-header { display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s4); } .cat-detail-icon { width: 30px; height: 30px; display: grid; place-items: center; color: var(--accent-2); } .cat-detail-icon svg { width: 26px; height: 26px; stroke-width: 1.4; } .cat-detail-title { font-family: var(--font-display); font-style: italic; font-size: 24px; font-weight: 400; margin: 0; color: var(--ink); flex: 1; } .param-group { display: flex; flex-direction: column; gap: 6px; padding: var(--s3) 0; border-top: 1px solid var(--line); } .param-group:first-of-type { border-top: none; padding-top: 0; } .param-label { font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); } /* ============================================================ Accordion "Подробнее" ============================================================ */ .accordion-head { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: var(--s3) var(--s4); background: var(--card); border: 1px solid var(--line-strong); border-radius: var(--r-card); font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); cursor: pointer; } .accordion-chev { display: grid; place-items: center; color: var(--muted); transition: transform 0.18s; } .accordion-chev svg { width: 16px; height: 16px; transform: rotate(90deg); transition: transform 0.18s; } .accordion-chev.open svg { transform: rotate(-90deg); } .accordion-body { overflow: hidden; max-height: 0; transition: max-height 0.25s ease; padding: 0; } .accordion-body.open { max-height: 2000px; padding-top: var(--s3); } .accordion-body > * + * { margin-top: var(--s3); } /* ============================================================ Feature card (in accordion) ============================================================ */ .feature-list { display: flex; flex-direction: column; gap: 6px; } .feature { display: grid; grid-template-columns: 1fr 22px; gap: var(--s2); align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-tag); padding: 10px 12px; cursor: pointer; text-align: left; transition: all 0.12s; } .feature:active { background: var(--paper-2); } .feature.on { border-color: var(--accent-2); background: var(--paper-2); } .feature-name { grid-column: 1 / 2; font-family: var(--font-ui); font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.2; } .feature-hint { grid-column: 1 / 2; font-family: var(--font-ui); font-size: 12px; color: var(--muted); line-height: 1.3; margin-top: 2px; } .feature-tick { grid-column: 2 / 3; grid-row: 1 / 3; width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: var(--r-pill); align-self: center; } .feature.on .feature-tick { background: var(--accent-2); color: var(--paper); border-color: var(--accent-2); } .feature.on .feature-tick svg { width: 12px; height: 12px; stroke-width: 2.5; } /* ============================================================ Иерархический wizard (новая схема steps[]) ============================================================ */ .podbor-wizard { gap: var(--s4); } .wiz-header { display: grid; grid-template-columns: 28px 1fr 28px; align-items: center; gap: 12px; margin-bottom: 4px; } .wiz-header-meta { display: flex; flex-direction: column; align-items: center; gap: 2px; } .wiz-cat { font-family: var(--font-display); font-style: italic; font-size: 20px; line-height: 1; letter-spacing: -0.01em; color: var(--ink); } .wiz-progress { font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); } .wiz-cat-icon { width: 28px; height: 28px; color: var(--accent-2); display: grid; place-items: center; } .wiz-cat-icon svg { width: 22px; height: 22px; } /* Чипы прошлых ответов */ .wiz-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: -4px 0 4px; } .wiz-chip { font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-2); background: var(--warm); border: 1px solid var(--accent-2); padding: 4px 10px; border-radius: var(--r-pill); cursor: pointer; transition: background 0.12s; } .wiz-chip:active { background: #EAD9B6; } /* Заголовок шага */ .wiz-title { font-family: var(--font-display); font-style: italic; font-size: 24px; font-weight: 400; line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); margin: 6px 0 0; } .wiz-multi { font-style: normal; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); } /* Сетка карточек (cards-режим — с пиктограммами) */ .wiz-grid { gap: 10px; } .wiz-grid--cards { display: grid; grid-template-columns: 1fr 1fr; } @media (min-width: 540px) { .wiz-grid--cards { grid-template-columns: repeat(3, 1fr); } } /* Пин-режим (без пиктограмм, компактные таблетки) */ .wiz-grid--pins { display: flex; flex-wrap: wrap; gap: 8px; } .wiz-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card, 14px); padding: 12px 10px 14px; display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; transition: all 0.12s; text-align: center; font: inherit; color: var(--ink); } .wiz-card:active { background: var(--warm); transform: scale(0.98); } .wiz-card.on { border-color: var(--accent-2); background: var(--warm); box-shadow: 0 0 0 1px var(--accent-2) inset; } .wiz-card.star::before { content: "⭐"; position: absolute; top: 6px; left: 8px; font-size: 11px; opacity: 0.85; } .wiz-pict { width: 72px; height: 96px; display: grid; place-items: center; } .wiz-pict svg { width: 100%; height: 100%; display: block; } .wiz-pict-placeholder { width: 72px; height: 96px; background: repeating-linear-gradient(45deg, transparent, transparent 6px, rgba(107, 74, 43, 0.06) 6px, rgba(107, 74, 43, 0.06) 7px); border: 1px dashed var(--line); border-radius: 6px; } .wiz-label { font-family: var(--font-sans); font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); line-height: 1.2; } .wiz-hint { font-family: var(--font-mono); font-size: 9.5px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); line-height: 1.25; } .wiz-tick { position: absolute; top: 6px; right: 6px; width: 20px; height: 20px; background: var(--accent-2); color: var(--paper); border-radius: var(--r-pill); display: grid; place-items: center; } .wiz-tick svg { width: 11px; height: 11px; stroke-width: 2.5; } /* Пин-карточка (компактная таблетка, без пиктограммы) */ .wiz-card--pin { display: inline-flex; align-items: center; flex-direction: row; gap: 8px; padding: 9px 14px 9px 14px; border-radius: var(--r-pill); width: auto; text-align: left; } .wiz-card--pin .wiz-pict, .wiz-card--pin .wiz-pict-placeholder { display: none; } .wiz-card--pin .wiz-label { font-size: 13px; font-weight: 500; letter-spacing: -0.005em; } .wiz-card--pin .wiz-hint { font-size: 9.5px; letter-spacing: 0.04em; text-transform: none; font-family: var(--font-sans); font-weight: 400; color: var(--muted); } .wiz-card--pin .wiz-tick { position: static; width: 14px; height: 14px; } .wiz-card--pin .wiz-tick svg { width: 9px; height: 9px; } .wiz-card--pin.star { padding-left: 26px; } .wiz-card--pin.star::before { top: 50%; transform: translateY(-50%); } /* Review-экран */ .rev-list { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card, 14px); overflow: hidden; } .rev-row { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 14px; border-bottom: 1px solid var(--line); gap: 12px; } .rev-row:last-child { border-bottom: 0; } .rev-label { font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); flex-shrink: 0; max-width: 40%; } .rev-val { font-family: var(--font-sans); font-size: 14px; font-weight: 500; color: var(--ink); text-align: right; line-height: 1.35; flex: 1; min-width: 0; overflow-wrap: break-word; word-break: normal; hyphens: auto; } .rev-val .muted { color: var(--muted); font-weight: 400; } /* ============================================================ Inline-отчёт после отправки подбора ============================================================ */ .report { margin-top: 20px; display: flex; flex-direction: column; gap: 18px; } .report-head .kicker { margin-bottom: 4px; } .report-summary { font-size: 14px; line-height: 1.5; color: var(--ink-2); margin: 6px 0 0; padding: 12px 14px; background: var(--warm); border-radius: 12px; border-left: 3px solid var(--accent-2); } .report-cat { display: flex; flex-direction: column; gap: 12px; } .report-cat-head { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 22px; line-height: 1; letter-spacing: -0.01em; color: var(--ink); margin: 0; display: flex; align-items: center; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); } .report-cat-icon { width: 24px; height: 24px; display: grid; place-items: center; color: var(--accent-2); } .report-cat-icon svg { width: 22px; height: 22px; } .report-models { display: flex; flex-direction: column; gap: 12px; } .report-model { display: grid; grid-template-columns: 88px 1fr; gap: 12px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; position: relative; } .report-model-img { width: 88px; height: 88px; background: var(--warm); border-radius: 10px; overflow: hidden; display: grid; place-items: center; } .report-model-img img { width: 100%; height: 100%; object-fit: contain; background: #fff; } .report-model-img.placeholder { background: repeating-linear-gradient(45deg, var(--warm), var(--warm) 5px, #F0E8D5 5px, #F0E8D5 10px); } .report-model-img.placeholder::after { content: "📷"; font-size: 24px; opacity: 0.4; } .report-model-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; } .report-model-brand { font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); } .report-model-name { font-family: var(--font-sans); font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); line-height: 1.2; margin-bottom: 2px; } .report-model-meta { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 2px 0; } .report-model-meta .rating { color: var(--accent-2); font-weight: 500; } .report-model-price { font-family: var(--font-display); font-style: italic; font-size: 17px; color: var(--ink); margin: 4px 0; letter-spacing: -0.01em; } .report-model-price strong { font-style: normal; font-weight: 600; } .report-model-price .muted { font-style: normal; font-size: 13px; color: var(--muted); } .report-highlights { font-size: 12px; line-height: 1.4; color: var(--ink-2); margin-top: 2px; } .report-pros { font-size: 12px; line-height: 1.4; color: #2A6B3F; margin-top: 2px; } .report-cons { font-size: 12px; line-height: 1.4; color: #8A3E2A; margin-top: 2px; } /* Блоки плюсов/минусов с маркированными списками */ .report-pros-block, .report-cons-block { margin-top: 8px; padding: 8px 10px; border-radius: 8px; font-size: 12.5px; line-height: 1.45; } .report-pros-block { background: rgba(42, 107, 63, 0.08); border-left: 2px solid #2A6B3F; } .report-cons-block { background: rgba(138, 62, 42, 0.08); border-left: 2px solid #8A3E2A; } .pc-head { font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 4px; } .report-pros-block .pc-head { color: #2A6B3F; } .report-cons-block .pc-head { color: #8A3E2A; } .pc-list { margin: 0; padding-left: 16px; color: var(--ink); } .pc-list li { margin: 2px 0; } .report-reasoning { margin-top: 8px; padding: 8px 12px; background: var(--warm); border-radius: 8px; font-style: italic; font-size: 13px; line-height: 1.45; color: var(--walnut); } /* Технические характеристики */ .report-specs { margin-top: 10px; background: #FFFCF6; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; } .report-specs-head { font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; } .report-specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; } .spec-item { display: flex; flex-direction: column; gap: 1px; padding: 4px 0; } .spec-item.highlight { grid-column: 1 / -1; border-bottom: 1px dashed var(--accent-2); padding-bottom: 6px; margin-bottom: 4px; } .spec-label { font-family: var(--font-mono); font-size: 9.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); } .spec-value { font-family: var(--font-sans); font-size: 13px; font-weight: 500; color: var(--ink); } .spec-item.highlight .spec-value { font-size: 15px; font-weight: 600; color: var(--accent-2); } /* Утилитарные ссылки — инструкция, схема установки */ .report-util-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; } .util-link { font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); background: var(--warm); border: 1px solid var(--line); padding: 5px 10px; border-radius: var(--r-pill); text-decoration: none; transition: background 0.12s; } .util-link:active { background: #EAD9B6; } .util-link--manual { border-color: #6B4A2B; } .util-link--dims { border-color: var(--accent-2); color: var(--accent-2); } .report-cat-analysis { font-size: 13.5px; line-height: 1.5; color: var(--ink-2); font-style: italic; padding: 10px 14px; background: #FFFCF6; border: 1px solid var(--line); border-left: 3px solid var(--accent-2); border-radius: 8px; margin: 4px 0 4px; } .report-links-head { font-family: var(--font-mono); font-size: 9.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; width: 100%; } .report-links-empty { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; color: var(--muted); font-style: italic; margin-top: 8px; } /* Цветовая дифференциация бейджей магазинов */ .report-link--ozon { border-color: #0044CC; color: #0044CC; } .report-link--citilink { border-color: #FFBA00; color: #B57E00; } .report-link--wb { border-color: #CB11AB; color: #CB11AB; } .report-link--yamarket { border-color: #FC3F1D; color: #FC3F1D; } .report-link--dns { border-color: #FA9300; color: #C26C00; } .report-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; } .report-link { font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-2); text-decoration: none; border: 1px solid var(--accent-2); padding: 4px 9px; border-radius: var(--r-pill); transition: background 0.12s; } .report-link:active { background: var(--warm); } /* ============================================================ Матрица цен по магазинам (PRIMARY view категории) ============================================================ */ .report-matrix-wrap { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 8px 0 16px; } .report-matrix-head { font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding: 12px 14px 8px; } .report-matrix-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; } .report-matrix { width: 100%; border-collapse: collapse; font-size: 12.5px; min-width: 100%; } .report-matrix thead th { background: var(--warm); font-family: var(--font-mono); font-size: 9.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; position: relative; } .report-matrix .col-model { position: sticky; left: 0; background: var(--warm); z-index: 2; min-width: 130px; box-shadow: 2px 0 4px rgba(31, 26, 20, 0.06); } .report-matrix tbody .col-model { background: #FFFCF6; } .report-matrix tbody td { padding: 10px 12px; border-top: 1px solid var(--line); vertical-align: middle; white-space: nowrap; } .report-matrix .m-brand { font-family: var(--font-mono); font-size: 9px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; } .report-matrix .m-name { font-family: var(--font-sans); font-size: 12.5px; font-weight: 600; color: var(--ink); white-space: normal; line-height: 1.25; } .report-matrix .cell-price { font-size: 12.5px; color: var(--ink); } .report-matrix .cell-price a { color: var(--ink); text-decoration: none; border-bottom: 1px dashed transparent; transition: border 0.12s; } .report-matrix .cell-price a:active { border-bottom-color: var(--accent-2); } .report-matrix .cell-price.empty { color: var(--muted); text-align: center; } .report-matrix .cell-price.best { background: rgba(42, 107, 63, 0.10); } .report-matrix .cell-price.best a, .report-matrix .cell-price.best strong { color: #1F5530; } .report-matrix .best-mark { display: inline-block; width: 16px; height: 16px; background: #2A6B3F; color: #fff; border-radius: 50%; text-align: center; font-size: 10px; font-weight: 700; line-height: 16px; margin-left: 4px; vertical-align: middle; } .cell-noprice-link { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; color: var(--accent-2); } .report-matrix .col-best { font-size: 12.5px; color: var(--ink); font-weight: 600; background: #FFFCF6; } .report-matrix-hint { font-size: 11.5px; color: var(--muted); font-style: italic; padding: 10px 14px 14px; border-top: 1px dashed var(--line); } /* Сравнительная таблица — accordion (legacy, оставлен для совместимости) */ .report-compare { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-top: 4px; overflow: hidden; } .report-compare summary { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding: 12px 14px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; } .report-compare summary::-webkit-details-marker { display: none; } .report-compare summary::after { content: "↓"; font-size: 12px; color: var(--muted); transition: transform 0.2s; } .report-compare[open] summary::after { transform: rotate(180deg); } .report-compare table { width: 100%; border-collapse: collapse; font-size: 12px; } .report-compare th, .report-compare td { padding: 8px 10px; text-align: left; border-top: 1px solid var(--line); vertical-align: top; } .report-compare th { font-family: var(--font-mono); font-size: 9.5px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); background: var(--warm); } .report-compare td strong { font-weight: 600; color: var(--ink); } /* Итого */ .report-total { padding: 14px 16px; background: var(--ink); color: var(--paper); border-radius: 14px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; } .report-total .lbl { font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.7; } .report-total strong { font-family: var(--font-display); font-style: italic; font-size: 20px; font-weight: 500; letter-spacing: -0.01em; } .report-total .status { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.7; margin-left: auto; } .report-warnings { background: #F5E1DC; border: 1px solid #C7705A; border-radius: 12px; padding: 10px 14px; color: #8A3E2A; font-size: 13px; line-height: 1.5; } .report-warnings > div { margin: 2px 0; } /* Экспорт отчёта */ .report-export { margin-top: 16px; padding: 16px; background: var(--warm); border: 1px dashed var(--walnut); border-radius: var(--r); } .report-export-head { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--walnut); margin-bottom: 10px; } .report-export-buttons { display: flex; flex-wrap: wrap; gap: 8px; } .btn-export { font-family: var(--font-sans); font-size: 14px; font-weight: 500; padding: 10px 16px; border-radius: 10px; background: #fff; border: 1px solid var(--walnut); color: var(--walnut); cursor: pointer; transition: all 0.12s; flex: 1; min-width: 140px; } .btn-export:active { background: var(--walnut); color: var(--paper); transform: scale(0.97); } .report-export-hint { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; color: var(--muted); margin-top: 8px; line-height: 1.4; } /* ============================================================ Клиенты — список + история ============================================================ */ .client-list { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; } .client-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; cursor: pointer; transition: all 0.12s; } .client-card:active { transform: scale(0.99); background: var(--warm); } .client-card-head { display: flex; align-items: center; gap: 12px; } .client-avatar { width: 40px; height: 40px; border-radius: var(--r-pill); background: var(--warm); color: var(--accent-2); display: grid; place-items: center; font-family: var(--font-display); font-style: italic; font-size: 18px; font-weight: 600; flex-shrink: 0; } .client-avatar.lg { width: 56px; height: 56px; font-size: 24px; } .client-meta { flex: 1; min-width: 0; } .client-name { font-family: var(--font-sans); font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 2px; line-height: 1.2; } .client-phone { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--muted); } .client-arrow { color: var(--muted); font-size: 20px; flex-shrink: 0; } .client-footer { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; } .client-footer .leads-count { color: var(--accent-2); font-weight: 500; } .client-footer .muted { color: var(--muted); } /* Детальный экран клиента */ .client-detail-head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; } .client-detail-name { font-family: var(--font-display); font-style: italic; font-size: 22px; font-weight: 400; color: var(--ink); margin: 0 0 4px; } .client-detail-phone { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--muted); } .leads-list { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; } .lead-item { display: grid; grid-template-columns: 1fr auto auto 20px; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; text-align: left; } .lead-item:active { background: var(--warm); } .lead-date { font-family: var(--font-sans); font-size: 13.5px; font-weight: 500; color: var(--ink); } .lead-id { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; color: var(--muted); } .lead-status { font-family: var(--font-mono); font-size: 9px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; padding: 3px 8px; border-radius: var(--r-pill); background: var(--warm); color: var(--accent-2); } .lead-status.status-new { background: var(--warm); color: var(--accent-2); } .lead-status.status-sent { background: rgba(42,107,63,0.12); color: #2A6B3F; } .lead-arrow { color: var(--muted); font-size: 18px; } /* Заглушка-loader */ .loader-inline { display: flex; justify-content: center; padding: 40px; } .loader-inline .spinner { width: 26px; height: 26px; border: 2.5px solid var(--line); border-top-color: var(--accent-2); border-radius: 50%; animation: spin 0.7s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } .lead-detail-head { margin-bottom: 18px; } .ai-text-fallback { white-space: pre-wrap; font-family: var(--font-mono); font-size: 11.5px; line-height: 1.5; color: var(--ink-2); background: var(--warm); padding: 12px; border-radius: 8px; overflow-x: auto; } /* ===== Role chooser — первый экран ===== */ .role-chooser { padding: 32px 18px; max-width: 480px; margin: 0 auto; min-height: calc(100vh - 60px); display: flex; flex-direction: column; justify-content: center; } .role-chooser-head { text-align: center; margin-bottom: 28px; } .role-chooser-head .display-title { font-size: 36px; margin: 0 0 12px; } .role-chooser-head .lede { font-size: 14px; color: var(--ink-2, #6B5C4A); margin: 0; } .role-cards { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; } .role-card { display: flex; align-items: center; gap: 14px; padding: 18px 18px; background: var(--card, #fff); border: 1px solid var(--line-strong, rgba(15, 15, 14, 0.16)); border-radius: 16px; cursor: pointer; transition: background 0.15s, transform 0.1s; text-align: left; width: 100%; font-family: inherit; } .role-card:active { background: var(--paper-2, #F5EDDC); transform: scale(0.985); } .role-card .role-icon { font-size: 32px; width: 52px; height: 52px; display: grid; place-items: center; background: var(--warm, rgba(107, 74, 43, 0.08)); border-radius: 14px; flex-shrink: 0; } .role-card .role-text { flex: 1; min-width: 0; } .role-card .role-title { font-family: var(--font-display, "Newsreader", serif); font-style: italic; font-size: 20px; color: var(--ink, #1F1A14); margin-bottom: 2px; } .role-card .role-sub { font-size: 12.5px; color: var(--muted, #998877); font-family: var(--font-mono, "JetBrains Mono", monospace); letter-spacing: 0.02em; } .role-card .role-arrow { color: var(--muted, #998877); font-size: 22px; flex-shrink: 0; } /* ===== Бейдж номера клиента + договор ===== */ .client-no-badge { display: inline-block; background: var(--warm, rgba(107, 74, 43, 0.10)); color: var(--walnut, #6B4A2B); padding: 2px 8px; border-radius: 6px; font-size: 12px; font-weight: 600; font-family: var(--font-mono, "JetBrains Mono", monospace); vertical-align: middle; margin-left: 6px; } .client-detail-meta { font-size: 12px; color: var(--muted, #998877); font-family: var(--font-mono, "JetBrains Mono", monospace); margin-top: 4px; } .client-detail-addr { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .client-detail-addr .addr-text { flex: 1; min-width: 0; } .map-link-btn { flex-shrink: 0; display: inline-flex; align-items: center; gap: 3px; padding: 3px 9px; background: rgba(107,74,43,0.08); border: 1px solid rgba(107,74,43,0.20); border-radius: 12px; font-size: 11px; font-weight: 600; color: var(--walnut, #6B4A2B); text-decoration: none; font-family: inherit; white-space: nowrap; } .map-link-btn:active { background: rgba(107,74,43,0.16); } /* ===== Опасная зона удаления ===== */ .danger-zone { border: 1px dashed rgba(192, 57, 43, 0.35); border-radius: 10px; padding: 8px 12px; background: rgba(192, 57, 43, 0.03); } .danger-zone > summary { font-size: 13px; font-weight: 600; color: #C0392B; cursor: pointer; padding: 4px 0; list-style: none; user-select: none; } .danger-zone[open] > summary { margin-bottom: 6px; } .btn-danger { background: #C0392B; color: white; border: none; border-radius: 8px; padding: 9px 16px; font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer; } .btn-danger:active { background: #A93226; } .btn-danger:disabled { opacity: 0.6; cursor: wait; } /* ===== Карточка клиента: шапка + действия ===== */ .client-detail-head { position: relative; display: flex; align-items: center; gap: 14px; } .client-call-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--walnut, #6B4A2B); color: var(--paper, #FBF7F0); text-decoration: none; font-size: 20px; flex-shrink: 0; box-shadow: 0 2px 6px rgba(107, 74, 43, 0.25); } .client-call-btn:active { transform: scale(0.95); } /* ===== Быстрые действия — 2×2 объёмные кнопки-карточки ===== */ .client-quick-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0 18px; } .qa-btn { position: relative; display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 15px 10px 13px; background: linear-gradient(160deg, rgba(255, 255, 255, 0.80) 0%, rgba(245, 237, 220, 0.62) 100%); border: 1px solid rgba(107, 74, 43, 0.16); border-radius: 14px; cursor: pointer; font-family: inherit; box-shadow: 0 2px 0 rgba(107, 74, 43, 0.20), 0 1px 5px rgba(0, 0, 0, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.90); transition: transform 0.10s ease, box-shadow 0.10s ease; -webkit-tap-highlight-color: transparent; } .qa-btn:active { transform: translateY(2px); box-shadow: 0 0px 0 rgba(107, 74, 43, 0.20), inset 0 1px 4px rgba(0, 0, 0, 0.14), inset 0 0 0 1px rgba(107, 74, 43, 0.10); } /* Круглый орехово-коричневый чип с иконкой */ .qa-icon { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(145deg, #845A2E 0%, #5C3A1C 100%); box-shadow: 0 2px 0 rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.18); color: #F5DAAA; flex-shrink: 0; } .qa-icon svg { width: 22px; height: 22px; } /* Подпись под иконкой */ .qa-label { font-size: 11.5px; font-weight: 600; color: var(--ink, #1F1A14); line-height: 1.25; text-align: center; letter-spacing: 0.01em; } /* ===== Хронология клиента ===== */ .client-timeline-block .timeline { padding: 10px 4px 4px; position: relative; } .client-timeline-block .timeline::before { content: ""; position: absolute; left: 13px; top: 18px; bottom: 18px; width: 1px; background: rgba(107, 74, 43, 0.18); } .tl-item { display: flex; gap: 14px; padding: 8px 0; text-decoration: none; color: inherit; position: relative; cursor: pointer; } .tl-item:active { background: rgba(107, 74, 43, 0.04); border-radius: 6px; } .tl-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--walnut, #6B4A2B); flex-shrink: 0; margin-top: 8px; z-index: 1; box-shadow: 0 0 0 3px var(--paper, #FBF7F0); } .tl-content { flex: 1; min-width: 0; } .tl-date { font-family: var(--font-mono, "JetBrains Mono", monospace); font-size: 10px; color: var(--muted, #998877); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px; } .tl-title { font-size: 14px; font-weight: 500; color: var(--ink, #1F1A14); } .tl-icon { margin-right: 6px; } .tl-sub { font-size: 12px; color: var(--muted, #998877); margin-top: 2px; } /* ===== Файлы клиента ===== */ .client-files-block .file-group { padding: 8px 4px 12px; } .client-files-block .file-group-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; font-size: 13px; font-weight: 500; color: var(--ink, #1F1A14); } .file-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 6px; } .file-thumb { display: block; aspect-ratio: 1 / 1; border-radius: 8px; overflow: hidden; background: var(--warm, rgba(107, 74, 43, 0.08)); border: 1px solid rgba(107, 74, 43, 0.15); } .file-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; } .file-thumb.more { display: grid; place-items: center; background: rgba(107, 74, 43, 0.10); color: var(--walnut, #6B4A2B); font-weight: 600; font-size: 14px; text-decoration: none; } /* ===== Свёрнутые детали (подборы / замеры) ===== */ .client-details { margin-top: 14px; } .client-details-collapse { background: var(--card, #fff); border: 1px solid rgba(107, 74, 43, 0.12); border-radius: 10px; margin-bottom: 10px; overflow: hidden; } .client-details-collapse summary { padding: 12px 14px; font-size: 13px; font-weight: 600; color: var(--ink, #1F1A14); cursor: pointer; user-select: none; font-family: inherit; letter-spacing: 0.02em; } .client-details-collapse[open] summary { border-bottom: 1px solid rgba(107, 74, 43, 0.10); } .client-details-collapse .leads-list { padding: 4px 8px 8px; } /* ===== Примечание по клиенту ===== */ .client-note-block .block-head { display: flex; align-items: center; gap: 8px; } .client-note-block .block-head > span:first-child { flex: 1; } /* Кнопка-переключатель Изменить / Свернуть */ .note-edit-toggle { padding: 4px 12px; background: transparent; border: 1px solid rgba(107, 74, 43, 0.30); border-radius: 20px; font-size: 12px; font-weight: 500; color: var(--walnut, #6B4A2B); cursor: pointer; font-family: inherit; white-space: nowrap; transition: background 0.12s, color 0.12s; } .note-edit-toggle:active { background: rgba(107, 74, 43, 0.10); } /* Лента примечаний */ .note-history { margin-top: 6px; } .note-entry { padding: 8px 0; border-bottom: 1px solid rgba(107,74,43,0.08); } .note-entry:last-child { border-bottom: none; } .note-loading, .note-empty { font-size: 13px; color: var(--muted, #998877); font-style: italic; padding: 6px 0; } .note-text { font-size: 14px; line-height: 1.5; color: var(--ink, #1F1A14); white-space: pre-wrap; word-break: break-word; margin: 0 0 4px; } .client-note-block .note-meta { font-size: 11px; color: var(--muted, #998877); font-family: var(--font-mono, "JetBrains Mono", monospace); font-weight: 400; text-transform: none; letter-spacing: 0; } .client-note-block textarea { width: 100%; padding: 10px 12px; background: var(--paper, #FBF7F0); border: 1px solid rgba(107, 74, 43, 0.18); border-radius: 8px; resize: vertical; min-height: 70px; font-family: inherit; font-size: 14px; color: var(--ink, #1F1A14); line-height: 1.45; } .client-note-block textarea:focus { outline: none; border-color: var(--walnut, #6B4A2B); } .client-note-block .note-actions { display: flex; gap: 8px; margin-top: 8px; align-items: center; } .client-note-block .btn-mic { background: transparent; border: 1px solid var(--walnut, #6B4A2B); color: var(--walnut, #6B4A2B); padding: 8px 14px; border-radius: 8px; cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 500; flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; } .client-note-block .btn-mic:disabled { cursor: not-allowed; } .client-note-block .btn-mic.rec { background: #C0392B; border-color: #C0392B; color: white; animation: micPulse 1.2s ease-in-out infinite; } @keyframes micPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(192, 57, 43, 0.5); } 50% { box-shadow: 0 0 0 6px rgba(192, 57, 43, 0); } } .client-note-block .btn-secondary { white-space: nowrap; } .client-note-block .note-status { margin-top: 6px; font-size: 12px; font-family: var(--font-mono, "JetBrains Mono", monospace); color: var(--muted, #998877); min-height: 16px; } .client-note-block .note-status.ok { color: #27AE60; } .client-note-block .note-status.err { color: #C0392B; } /* ===== Заявка на замер: выбор «когда удобно» ===== */ .preferred-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 8px 0 6px; } .pref-opt { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: var(--card, #fff); border: 1px solid var(--line-strong, rgba(15, 15, 14, 0.16)); border-radius: 10px; cursor: pointer; user-select: none; transition: background 0.12s, border-color 0.12s; } .pref-opt input[type="radio"] { margin: 0; accent-color: var(--walnut, #6B4A2B); } .pref-opt input[type="radio"]:checked + .pref-label { font-weight: 600; color: var(--walnut, #6B4A2B); } .pref-opt:has(input:checked) { background: var(--warm, rgba(107, 74, 43, 0.08)); border-color: var(--walnut, #6B4A2B); } .pref-label { font-size: 13px; color: var(--ink, #1F1A14); flex: 1; } /* Блок «когда удобно» в карточке замерщика */ .preferred-block { background: var(--warm, rgba(107, 74, 43, 0.08)); border-left: 3px solid var(--walnut, #6B4A2B); } /* Блок «дата назначена» */ .date-set-block { background: linear-gradient(180deg, rgba(0, 62, 126, 0.04), transparent); border-left: 3px solid var(--accent-1, #003E7E); } .date-set-block .date-set-value { font-family: var(--font-display, "Newsreader", serif); font-style: italic; font-size: 22px; color: var(--accent-1, #003E7E); padding: 8px 4px 12px; font-weight: 500; } .date-set-block .date-set-form { border-top: 1px dashed rgba(0, 62, 126, 0.2); padding-top: 12px; margin-top: 12px; } /* ===== Логистика (подъезд, GPS, парковка) ===== */ .logistics-block .block-head { display: flex; align-items: center; justify-content: space-between; } .logistics-block .log-toggle { background: transparent; border: 1px solid var(--walnut, #6B4A2B); color: var(--walnut, #6B4A2B); padding: 4px 12px; border-radius: 6px; font-size: 12px; cursor: pointer; font-family: inherit; } .logistics-block .log-toggle:active { background: rgba(107, 74, 43, 0.10); } .logistics-block .log-summary { padding: 10px 4px 8px; font-size: 13.5px; color: var(--ink, #1F1A14); line-height: 1.55; } .logistics-block .log-summary a { color: var(--accent-1, #003E7E); text-decoration: underline; } .log-dot { color: var(--accent-1, #003E7E); font-size: 8px; vertical-align: middle; margin-left: 4px; } .logistics-block .log-editor .preferred-options { grid-template-columns: 1fr 1fr; } /* ===== Замер: фото с тегами ===== */ .podbor-header .podbor-help { background: transparent; border: none; font-size: 18px; cursor: pointer; padding: 4px 8px; width: 28px; text-align: right; } .photo-list-tagged { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 10px; margin: 10px 0 16px; } .photo-tagged { display: flex; flex-direction: column; gap: 6px; } .photo-tagged-thumb { position: relative; aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden; background: var(--warm, rgba(107, 74, 43, 0.08)); border: 1px solid rgba(107, 74, 43, 0.15); } .photo-tagged-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; } .photo-tagged-thumb .photo-rm { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; border: none; background: rgba(0, 0, 0, 0.55); color: white; font-size: 16px; line-height: 1; cursor: pointer; padding: 0; display: flex; align-items: center; justify-content: center; } .photo-kind { width: 100%; padding: 5px 6px; font-size: 12px; border-radius: 6px; border: 1px solid rgba(107, 74, 43, 0.25); background: var(--paper, #FBF7F0); color: var(--ink, #1F1A14); font-family: var(--font-ui, "Inter", sans-serif); } /* ===== Чек-лист — страница markdown ===== */ .checklist-page .checklist-md { font-family: var(--font-ui, "Inter", sans-serif); font-size: 14px; line-height: 1.55; color: var(--ink, #1F1A14); } .checklist-md h1 { font-family: var(--font-display, "Newsreader", serif); font-size: 22px; margin: 20px 0 10px; font-style: italic; } .checklist-md h2 { font-family: var(--font-display, "Newsreader", serif); font-size: 18px; margin: 18px 0 8px; } .checklist-md h3 { font-size: 14.5px; font-weight: 600; margin: 14px 0 6px; } .checklist-md p { margin: 6px 0; } .checklist-md ul { margin: 6px 0 6px 6px; padding-left: 14px; } .checklist-md li { margin: 3px 0; list-style: none; position: relative; padding-left: 22px; } .checklist-md li::before { content: ""; position: absolute; left: 6px; top: 9px; width: 6px; height: 6px; background: var(--walnut, #6B4A2B); opacity: 0.45; border-radius: 50%; } .checklist-md li .cl-check { position: absolute; left: 0; top: 0; font-size: 16px; color: var(--walnut, #6B4A2B); line-height: 1.3; } .checklist-md li:has(.cl-check)::before { display: none; } /* Активный чекбокс — кликабельный с подсветкой */ .checklist-md .cl-item { cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; padding: 4px 6px 4px 22px; border-radius: 6px; transition: background 0.12s; } .checklist-md .cl-item:active { background: rgba(107, 74, 43, 0.10); } .checklist-md .cl-item.checked { color: var(--muted, #998877); text-decoration: line-through; } .checklist-md .cl-item.checked .cl-check { color: var(--accent-1, #003E7E); text-decoration: none; display: inline-block; } /* Прогресс-бар чек-листа */ .checklist-progress { position: sticky; top: 0; background: var(--paper, #FBF7F0); padding: 10px 0 12px; margin: -6px -6px 8px; z-index: 5; border-bottom: 1px solid rgba(107, 74, 43, 0.12); } .cl-pbar { height: 3px; background: rgba(107, 74, 43, 0.12); border-radius: 2px; overflow: hidden; } .cl-pbar-fill { height: 100%; background: linear-gradient(90deg, var(--walnut, #6B4A2B), var(--accent-1, #003E7E)); transition: width 0.25s ease; } .cl-pcount { font-family: var(--font-mono, "JetBrains Mono", monospace); font-size: 10.5px; color: var(--muted, #998877); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 6px; text-align: right; } .checklist-md hr { margin: 18px 0; border: none; border-top: 1px dashed rgba(107, 74, 43, 0.25); } /* Эскизы-пиктограммы в чек-листе */ .checklist-md .cl-pict { margin: 14px auto; max-width: 320px; background: rgba(107, 74, 43, 0.04); border: 1px dashed rgba(107, 74, 43, 0.25); border-radius: 12px; padding: 14px 16px; text-align: center; } .checklist-md .cl-pict .zp-svg { width: 100%; height: auto; max-height: 220px; display: block; } .checklist-md code { background: rgba(107, 74, 43, 0.08); padding: 1px 5px; border-radius: 3px; font-family: var(--font-mono, "JetBrains Mono", monospace); font-size: 12.5px; } .checklist-md strong { color: var(--ink, #1F1A14); } .checklist-md .cl-table { width: 100%; border-collapse: collapse; margin: 8px 0; font-size: 12.5px; } .checklist-md .cl-table th, .checklist-md .cl-table td { border: 1px solid rgba(107, 74, 43, 0.18); padding: 4px 8px; text-align: left; } .checklist-md .cl-table th { background: rgba(107, 74, 43, 0.08); font-weight: 600; } /* ===== Главная менеджера: список «На сегодня» ===== */ .today-list { display: flex; flex-direction: column; gap: 6px; } .inbox-row.overdue { border-color: rgba(192, 57, 43, 0.35); background: rgba(192, 57, 43, 0.04); } .inbox-row.overdue .inbox-time { color: #C0392B; } /* ===== Кабинет замерщика: week strip + grouped inbox ===== */ /* Week strip — загрузка по дням */ .cal-strip-block { background: var(--card, #fff); border: 1px solid rgba(107, 74, 43, 0.12); border-radius: 14px; padding: 12px 10px 10px; margin-bottom: 14px; } .cal-strip-head { font-family: var(--font-display, "Newsreader", serif); font-style: italic; font-size: 16px; color: var(--ink, #1F1A14); text-align: center; margin-bottom: 10px; text-transform: capitalize; } .cal-strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; } .cal-day { display: flex; flex-direction: column; align-items: center; padding: 6px 2px 8px; border-radius: 8px; background: var(--paper, #FBF7F0); border: 1px solid transparent; position: relative; } .cal-day.today { border-color: var(--walnut, #6B4A2B); background: var(--warm, rgba(107, 74, 43, 0.08)); } .cal-day.past { opacity: 0.5; } .cal-day-name { font-size: 9px; font-family: var(--font-mono, "JetBrains Mono", monospace); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted, #998877); margin-bottom: 2px; } .cal-day-num { font-size: 15px; font-weight: 600; color: var(--ink, #1F1A14); line-height: 1; } .cal-day.today .cal-day-num { color: var(--walnut, #6B4A2B); } .cal-day-bar { width: 18px; height: 28px; margin: 6px 0 4px; background: rgba(107, 74, 43, 0.08); border-radius: 3px; display: flex; align-items: flex-end; overflow: hidden; } .cal-day-bar .bar { width: 100%; border-radius: 3px; transition: height 0.25s ease; } .cal-day-bar .bar.load-zero { background: transparent; } .cal-day-bar .bar.load-low { background: rgba(107, 74, 43, 0.5); } .cal-day-bar .bar.load-mid { background: var(--walnut, #6B4A2B); } .cal-day-bar .bar.load-hot { background: #C0392B; } .cal-day-count { font-size: 10px; font-family: var(--font-mono, "JetBrains Mono", monospace); color: var(--muted, #998877); letter-spacing: 0.04em; } /* Grouped inbox */ .inbox-group { margin-bottom: 14px; } .inbox-group-head { display: flex; align-items: baseline; gap: 6px; margin: 12px 0 8px; font-size: 13px; font-weight: 600; color: var(--ink, #1F1A14); letter-spacing: 0.01em; } .inbox-group-head .count { font-size: 11px; color: var(--muted, #998877); font-family: var(--font-mono, "JetBrains Mono", monospace); font-weight: 400; } .inbox-group-list { display: flex; flex-direction: column; gap: 6px; } .inbox-row { display: flex; gap: 8px; background: var(--card, #fff); border: 1px solid rgba(107, 74, 43, 0.14); border-radius: 10px; overflow: hidden; } .inbox-row-main { flex: 1; display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: transparent; border: none; cursor: pointer; text-align: left; font-family: inherit; min-width: 0; } .inbox-row-main:active { background: rgba(107, 74, 43, 0.06); } .inbox-time { font-family: var(--font-mono, "JetBrains Mono", monospace); font-size: 13px; font-weight: 600; color: var(--walnut, #6B4A2B); min-width: 50px; text-align: center; } .inbox-row-body { flex: 1; min-width: 0; } .inbox-client { font-size: 14px; font-weight: 500; color: var(--ink, #1F1A14); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .inbox-addr { font-size: 12px; color: var(--muted, #998877); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .inbox-arrow { color: var(--muted, #998877); font-size: 18px; } .inbox-call { display: grid; place-items: center; width: 44px; background: rgba(39, 174, 96, 0.08); color: #27AE60; text-decoration: none; font-size: 18px; flex-shrink: 0; border-left: 1px solid rgba(107, 74, 43, 0.12); } .inbox-call:active { background: rgba(39, 174, 96, 0.18); } /* ===== Кабинет сотрудника (замерщик/сборщик) ===== */ .staff-head { display: flex; align-items: center; gap: 14px; margin: 16px 4px 22px; } .staff-avatar { width: 52px; height: 52px; border-radius: 14px; background: var(--walnut, #6B4A2B); color: var(--paper, #FBF7F0); display: grid; place-items: center; font-weight: 700; font-size: 22px; font-family: var(--font-display, "Newsreader", serif); } .staff-no-role { padding: 32px 16px; text-align: center; } .staff-no-role-ico { font-size: 48px; margin-bottom: 16px; opacity: 0.6; } .staff-no-role .block { margin-top: 18px; text-align: left; } .staff-no-role code { background: var(--warm, rgba(107, 74, 43, 0.08)); padding: 2px 6px; border-radius: 4px; font-family: var(--font-mono, "JetBrains Mono", monospace); font-size: 12px; } /* ===== Фото замера ===== */ .photo-uploader { margin: 12px 0 14px; } .photo-add-btn { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--warm); border: 1px dashed var(--walnut); border-radius: 12px; cursor: pointer; transition: background 0.15s; user-select: none; } .photo-add-btn:active { background: rgba(107, 74, 43, 0.08); } .photo-add-ico { font-size: 24px; font-weight: 300; color: var(--walnut); line-height: 1; } .photo-add-label { flex: 1; font-weight: 500; color: var(--ink); } .photo-add-hint { font-size: 11px; color: var(--muted); font-family: var(--font-mono); } .photo-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin: 12px 0 16px; } .photo-tile { position: relative; aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden; background: var(--warm); border: 1px solid rgba(107, 74, 43, 0.15); } .photo-tile img { width: 100%; height: 100%; object-fit: cover; display: block; } .photo-rm { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; border: none; background: rgba(0, 0, 0, 0.55); color: white; font-size: 16px; line-height: 1; cursor: pointer; padding: 0; display: flex; align-items: center; justify-content: center; } .photo-rm:active { background: rgba(0, 0, 0, 0.75); } .photo-tile.static { cursor: default; } /* ===== Карточка замера (детальная страница) ===== */ .measurement-detail-head { margin-bottom: 18px; } .measurement-detail-meta { display: flex; flex-wrap: wrap; gap: 8px 12px; font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); margin-top: 6px; } .measurement-kv-grid { display: grid; gap: 10px 16px; grid-template-columns: minmax(120px, 1fr) 2fr; margin: 14px 0 18px; font-size: 14px; } .measurement-kv-grid .k { color: var(--muted); font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.04em; } .measurement-kv-grid .v { color: var(--ink); } /* ===== Кнопка "Скачать PDF" / "Печать" ===== */ .report-print-btn { display: inline-flex; align-items: center; gap: 8px; margin: 12px 0; padding: 10px 16px; background: var(--warm); border: 1px solid var(--walnut); border-radius: 10px; color: var(--walnut); font-weight: 500; cursor: pointer; font-size: 13.5px; } .report-print-btn:active { background: rgba(107, 74, 43, 0.12); } /* ===== Карточки «Замер готов — что с подбором?» на главной менеджера ===== */ .pending-card { background: var(--card, #FFFFFF); border: 1px solid var(--line, rgba(15,15,14,0.08)); border-left: 3px solid #76BD22; border-radius: 12px; padding: 14px 14px 12px; margin: 10px 16px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 1px 3px rgba(15, 15, 14, 0.04); } .pending-card.later { border-left-color: #B07E00; background: rgba(176, 126, 0, 0.04); } .pending-head { display: flex; align-items: flex-start; gap: 10px; } .pending-icon { font-size: 22px; line-height: 1; flex-shrink: 0; margin-top: 1px; } .pending-title { font-weight: 600; font-size: 15px; color: var(--ink); line-height: 1.25; } .pending-sub { font-size: 12px; color: var(--muted); margin-top: 2px; line-height: 1.3; } .pending-question { font-size: 14px; color: var(--ink-2, #2A2622); line-height: 1.35; padding: 2px 0 0 32px; } .pending-actions { display: flex; flex-wrap: wrap; gap: 8px; padding-left: 32px; } .pending-actions .btn-primary, .pending-actions .btn-secondary { flex: 1 1 auto; min-width: 0; padding: 9px 14px; font-size: 13px; } .pending-result { font-size: 12px; color: var(--muted); padding-left: 32px; min-height: 0; } .pending-result:empty { display: none; } /* ===== Загрузка DWG/чертежей замера ===== */ .design-upload { margin-top: 14px; padding: 12px; border: 1px dashed var(--line-strong, rgba(15,15,14,0.16)); border-radius: 10px; background: var(--paper-2, #F0EDE5); } .design-upload-label { font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; display: block; } .design-upload-input { display: block; font-size: 12px; margin-bottom: 8px; } .design-upload-status { font-size: 12px; color: var(--muted); margin-top: 6px; min-height: 0; } .design-files-list { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; } .design-file-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink); padding: 6px 10px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; } .design-file-item .design-file-icon { font-size: 16px; flex-shrink: 0; } .design-file-item .design-file-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--font-mono, monospace); font-size: 12px; } .design-file-item .design-file-size { font-size: 11px; color: var(--muted); flex-shrink: 0; } /* ===== Тулбар управления карточкой клиента — объёмные кнопки ===== */ .client-toolbar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0 4px; align-items: stretch; } .client-toolbar.is-locked { grid-template-columns: 1fr; /* только «Редактировать», когда в работе */ } .ct-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 0 16px; border: none; border-radius: 13px; font-family: var(--font-ui, "Inter", system-ui, sans-serif); font-size: 14px; font-weight: 600; letter-spacing: 0.01em; color: #FBF7F0; cursor: pointer; text-transform: none; user-select: none; -webkit-tap-highlight-color: transparent; transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease; } .ct-btn .ct-icon { width: 18px; height: 18px; stroke-width: 1.7; flex-shrink: 0; filter: drop-shadow(0 1px 0 rgba(0,0,0,0.18)); } /* Edit — глубокий орех */ .ct-edit { background: linear-gradient(180deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.00) 36%, rgba(0,0,0,0.00) 64%, rgba(0,0,0,0.16) 100%), linear-gradient(180deg, #8A6541 0%, #6B4A2B 55%, #523620 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), inset 0 -1px 0 rgba(0,0,0,0.18), 0 3px 8px rgba(82, 54, 32, 0.32), 0 1px 2px rgba(0, 0, 0, 0.12); } .ct-edit:hover { filter: brightness(1.04); } .ct-edit:active { transform: translateY(1px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), inset 0 2px 4px rgba(0,0,0,0.22), 0 1px 2px rgba(0,0,0,0.10); } /* Delete — благородный кирпично-красный, не «алярм» */ .ct-delete { background: linear-gradient(180deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.00) 36%, rgba(0,0,0,0.00) 64%, rgba(0,0,0,0.18) 100%), linear-gradient(180deg, #C95A4A 0%, #A6382A 55%, #832418 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), inset 0 -1px 0 rgba(0,0,0,0.20), 0 3px 8px rgba(131, 36, 24, 0.30), 0 1px 2px rgba(0, 0, 0, 0.12); } .ct-delete:hover { filter: brightness(1.05); } .ct-delete:active { transform: translateY(1px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), inset 0 2px 4px rgba(0,0,0,0.22), 0 1px 2px rgba(0,0,0,0.10); } .ct-btn:disabled { opacity: 0.55; cursor: wait; filter: saturate(0.7); transform: none; } .ct-hint { grid-column: 1 / -1; font-size: 11.5px; color: var(--muted, #998877); text-align: center; letter-spacing: 0.01em; margin-top: 2px; line-height: 1.3; } .ct-result { grid-column: 1 / -1; min-height: 0; font-size: 12.5px; } .ct-result:empty { display: none; } .ct-ok { color: #4A8016; font-weight: 500; } .ct-err { color: #A6382A; font-weight: 500; } /* ===== Сворачиваемые блоки (хронология и т.п.) ===== */ .client-collapse { /* убираем дефолтный маркер */ } .client-collapse > summary { list-style: none; cursor: pointer; padding: 12px 6px; user-select: none; } .client-collapse > summary::-webkit-details-marker { display: none; } .client-collapse > summary.collapse-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; } .client-collapse .collapse-chev { display: inline-block; color: var(--muted, #998877); font-size: 22px; line-height: 1; transform: rotate(90deg); transition: transform 0.2s ease; } .client-collapse[open] .collapse-chev { transform: rotate(-90deg); } /* ===== Сборки (Phase 4) ===== */ .assembly-list { display: flex; flex-direction: column; gap: 10px; padding: 8px 0; } .assembly-card { background: var(--card, #FFFFFF); border: 1px solid var(--line, rgba(15,15,14,0.08)); border-left: 3px solid #B07E00; border-radius: 12px; padding: 12px 14px; cursor: pointer; transition: transform 0.15s, box-shadow 0.15s; } .assembly-card:active { transform: scale(0.98); } .assembly-card-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; } .assembly-card-status { font-size: 11px; font-weight: 600; color: var(--muted, #998877); text-transform: lowercase; } .assembly-card-date { font-size: 12px; color: var(--muted); font-family: var(--font-mono, monospace); } .assembly-card-name { font-weight: 600; font-size: 15px; color: var(--ink); margin-bottom: 2px; } .assembly-card-address { font-size: 13px; color: var(--muted); margin-bottom: 4px; } .assembly-card-scope { font-size: 12.5px; color: var(--ink-2, #2A2622); line-height: 1.35; margin-top: 4px; padding-top: 6px; border-top: 1px dashed var(--line); } /* ===== Поиск по списку клиентов ===== */ .client-search-wrap { padding: 0 0 10px; } .client-search { width: 100%; padding: 10px 14px; background: var(--paper, #FBF7F0); border: 1.5px solid rgba(107,74,43,0.18); border-radius: 10px; font-family: inherit; font-size: 14px; color: var(--ink, #1F1A14); box-sizing: border-box; -webkit-appearance: none; } .client-search:focus { outline: none; border-color: var(--walnut, #6B4A2B); background: white; } .client-search::placeholder { color: var(--muted, #998877); } .client-search-meta { transition: color 0.15s; } /* ===== Поля адреса (addr-grid) ===== */ .addr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; } .addr-grid .field { margin: 0; } .addr-house { grid-column: 1; } .addr-apt { grid-column: 2; } .addr-entrance { grid-column: 1; } .addr-floor { grid-column: 2; } .field-sublabel { display: block; font-size: 11px; font-weight: 500; color: var(--muted, #998877); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 3px; } .geo-status { font-size: 12.5px; line-height: 1.4; min-height: 18px; margin-top: 5px; } .geo-ok { color: #27AE60; } .geo-warn { color: #C0392B; } /* ===== Статус замера ===== */ .mz-status-badge { font-size: 12px; font-weight: 600; font-family: inherit; letter-spacing: 0; } .mz-status-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 12px; } .mz-status-btn { flex: 1; min-width: 120px; } .ct-ok { color: #27AE60; font-size: 13px; } .ct-err { color: #C0392B; font-size: 13px; } /* ===== Пикер клиента (замер) ===== */ .client-picker-wrap { margin-bottom: 2px; } .picker-open-btn { width: 100%; display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--paper, #FBF7F0); border: 1.5px dashed rgba(107,74,43,0.28); border-radius: 10px; cursor: pointer; font-family: inherit; font-size: 14px; font-weight: 500; color: var(--walnut, #6B4A2B); text-align: left; transition: border-color 0.15s, background 0.15s; } .picker-open-btn:active { background: rgba(107,74,43,0.06); } .picker-open-btn .picker-open-icon { width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; background: linear-gradient(145deg, #845A2E 0%, #5C3A1C 100%); display: flex; align-items: center; justify-content: center; color: #F5DAAA; font-size: 16px; } .picker-chosen-card { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--paper, #FBF7F0); border: 1.5px solid rgba(107,74,43,0.22); border-radius: 10px; } .picker-chosen-info { flex: 1; min-width: 0; } .picker-chosen-name { font-size: 14px; font-weight: 600; color: var(--ink, #1F1A14); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .picker-chosen-sub { font-size: 12px; color: var(--muted, #998877); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .picker-change-btn { flex-shrink: 0; padding: 5px 10px; background: transparent; border: 1px solid rgba(107,74,43,0.28); border-radius: 16px; font-size: 12px; font-weight: 500; color: var(--walnut, #6B4A2B); cursor: pointer; font-family: inherit; white-space: nowrap; } .picker-change-btn:active { background: rgba(107,74,43,0.08); } /* Оверлей пикера */ .client-picker-overlay { position: fixed; inset: 0; z-index: 800; background: rgba(20,15,10,0.45); display: flex; align-items: flex-end; } .picker-sheet { width: 100%; max-height: 80vh; background: var(--bg, #F5EFE6); border-radius: 18px 18px 0 0; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 -4px 24px rgba(0,0,0,0.18); } .picker-sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 10px; border-bottom: 1px solid var(--line, rgba(107,74,43,0.12)); flex-shrink: 0; } .picker-sheet-title { font-size: 15px; font-weight: 700; color: var(--ink, #1F1A14); } .picker-sheet-close { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; background: rgba(107,74,43,0.09); border: none; border-radius: 50%; font-size: 16px; cursor: pointer; color: var(--walnut, #6B4A2B); font-family: inherit; } .picker-search-wrap { padding: 10px 14px; flex-shrink: 0; } .picker-search { width: 100%; padding: 9px 12px; background: white; border: 1px solid rgba(107,74,43,0.18); border-radius: 8px; font-family: inherit; font-size: 14px; color: var(--ink, #1F1A14); box-sizing: border-box; } .picker-search:focus { outline: none; border-color: var(--walnut, #6B4A2B); } .picker-list { flex: 1; overflow-y: auto; padding: 4px 0 env(safe-area-inset-bottom, 16px); } .picker-row { display: flex; flex-direction: column; padding: 11px 16px; cursor: pointer; border-bottom: 1px solid rgba(107,74,43,0.07); transition: background 0.1s; } .picker-row:active { background: rgba(107,74,43,0.06); } .picker-row-name { font-size: 14px; font-weight: 600; color: var(--ink, #1F1A14); } .picker-row-sub { font-size: 12px; color: var(--muted, #998877); margin-top: 1px; } .picker-empty-state { text-align: center; padding: 32px 16px; color: var(--muted, #998877); font-size: 14px; } /* ===== Печать / PDF ===== */ @media print { body { background: white !important; color: black !important; } body.has-bottom-nav, #bottom-nav, .podbor-header, .podbor-progress, .podbor-cta-row, .podbor-back, .report-actions, .report-print-btn, .util-link, .photo-add-btn, .photo-uploader, .photo-rm, .btn-primary, .btn-secondary { display: none !important; } .podbor-screen, .podbor-step, .block, .summary-block, .client-detail-head, .lead-detail-head, .measurement-detail-head { box-shadow: none !important; border: none !important; background: white !important; page-break-inside: avoid; break-inside: avoid; } .display-title { color: black !important; } .display-title .accent { color: #6B4A2B !important; } .photo-list { grid-template-columns: repeat(3, 1fr); gap: 6px; page-break-inside: avoid; break-inside: avoid; } .photo-tile { border: 1px solid #ccc; } .report-matrix table { font-size: 10pt; } a { color: black !important; text-decoration: none !important; } /* Скрываем стрелки и иконки навигации */ .lead-arrow, .client-arrow { display: none !important; } }