/* «Заявки»: отдельная голубая тема по предоставленному макету. Остальные вкладки не затрагивает. */ body.leads-view { color: #20324c; background: radial-gradient(1100px 680px at 78% 8%, #d6eaff 0%, transparent 75%), #f2f8ff; } body.leads-view .shell { padding: 0 34px 22px; background: radial-gradient(950px 540px at 96% 0%, #cfe5ff, transparent 80%); } body.leads-view .top { min-height: 97px; gap: 17px; border-bottom: 1px solid #e1edfb; } body.leads-view .top .search { width: min(720px, 48vw); } body.leads-view .top .search input { border: 1px solid #d6e4f7; border-right: 0; border-radius: 16px 0 0 16px; height: 46px; font-size: 13px; } body.leads-view .top .search__neck { display: none; } body.leads-view .top .search__btn { margin-left: 0; width: 45px; height: 46px; border: 1px solid #d6e4f7; border-left: 0; border-radius: 0 16px 16px 0; } body.leads-view .top .search__btn span { background: none; } body.leads-view .round, body.leads-view .who__avatar { background: #fff; } body.leads-view .round--date { width: auto; min-width: 192px; border-radius: 18px; padding: 0 16px; } body.leads-view .who { margin-left: 12px; } body.leads-view .page-title, body.leads-view .page-sub, body.leads-view .subtabs { display: none !important; } #tab-leads { max-width: 1500px; margin: 0 auto; } .ld-heading { padding: 18px 0 20px; } .ld-heading h1 { margin: 0 0 3px; font: 600 clamp(30px, 3vw, 42px)/1.15 var(--font-display); letter-spacing: -.04em; color: #1f3049; } .ld-heading p { margin: 0; color: #637891; font-size: 14px; } .ld-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 18px; } .ld-stat { min-height: 99px; padding: 16px 23px; display: flex; align-items: center; gap: 24px; border-radius: 18px; background: #fff; box-shadow: 0 6px 30px rgba(62, 113, 175, .045); } .ld-stat__icon { flex: 0 0 62px; height: 62px; display: grid; place-items: center; border-radius: 16px; color: #3186f4; background: linear-gradient(145deg, #edf5ff, #dcecff); } .ld-stat__icon svg { width: 33px; height: 33px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; } .ld-stat:nth-child(2) .ld-stat__icon { color: #31455e; } .ld-stat__copy { color: #617590; line-height: 1.4; white-space: nowrap; } .ld-stat__copy strong { display: block; font: 600 27px/1.15 var(--font-display); color: #1e304a; } .ld-stat__badge { margin-left: auto; min-width: 68px; padding: 7px 11px; border-radius: 99px; text-align: center; font-weight: 600; color: #20324c; } .ld-stat__badge::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 12px; background: #4595fb; } .ld-stat__badge--blue { background: #e9f3ff; } .ld-stat__badge--orange { background: #fff1df; } .ld-stat__badge--orange::before { background: #f5a426; } .ld-panel { padding: 24px 24px 12px; background: #fff; border-radius: 21px; box-shadow: 0 6px 30px rgba(62, 113, 175, .04); } .ld-toolbar { display: grid; grid-template-columns: minmax(165px, 1fr) minmax(260px, 1.85fr) minmax(230px, 1.4fr) auto 52px; gap: 11px; margin-bottom: 22px; } .ld-toolbar select, .ld-toolbar input { height: 47px; border: 1px solid #d6e3f5; border-radius: 11px; background: #fff; color: #465c79; } .ld-toolbar select { padding-right: 30px; } .ld-search { position: relative; } .ld-search span { position: absolute; top: 3px; left: 15px; color: #38577c; font-size: 29px; pointer-events: none; } .ld-search input { padding-left: 49px; } .ld-date { display: flex; gap: 4px; border: 1px solid #d6e3f5; border-radius: 11px; align-items: center; padding: 0 8px; } .ld-date label { min-width: 0; display: flex; align-items: center; color: #647992; font-size: 11px; } .ld-date input { min-width: 0; width: 100%; height: 42px; padding: 2px 3px; border: 0; font-size: 11px; } .ld-export, .ld-refresh { height: 47px; border: 0; border-radius: 11px; cursor: pointer; } .ld-export { min-width: 160px; padding: 0 17px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; color: #fff; background: linear-gradient(110deg, #6aaefb, #3287f1); font-weight: 600; } .ld-export svg { width: 21px; height: 21px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; } .ld-export:disabled { opacity: .5; cursor: not-allowed; } .ld-refresh { color: #324f70; background: #f2f7ff; border: 1px solid #d7e4f5; font-size: 26px; } .ld-refresh span { display: inline-block; } .ld-refresh[aria-busy="true"] span { animation: ld-refresh-spin .8s linear infinite; } .ld-refresh:disabled { opacity: .65; cursor: wait; } @keyframes ld-refresh-spin { to { transform: rotate(360deg); } } @media (prefers-reduced-motion: reduce) { .ld-refresh[aria-busy="true"] span { animation: none; } } .ld-updated { margin: -9px 0 13px; color: #637891; font-size: 12px; } .ld-updated:empty { display: none; } .ld-updated--error { padding: 10px 12px; color: #92291f; background: #ffe3df; border-radius: 9px; } .ld-table-wrap { overflow-x: auto; border: 1px solid #e3edfa; border-radius: 11px; } .ld-table { min-width: 830px; } .ld-table th { padding: 13px 19px; background: #f2f7ff; color: #526782; font-size: 12px; font-weight: 600; } .ld-table td { padding: 15px 19px; border-bottom-color: #e9f0fb; font-size: 13px; } .ld-table tbody tr:hover { background: #f7fbff; } .ld-table td:nth-child(5) { max-width: 320px; overflow-wrap: anywhere; } .ld-table .pill { background: #e9f3ff; color: #2879d9; } .ld-table .ld-empty-cell { padding: 0; } .ld-empty { min-height: 326px; padding: 27px 20px 14px; text-align: center; display: flex; align-items: center; flex-direction: column; justify-content: center; } .ld-empty__art { width: 245px; height: 135px; } .ld-empty h2 { margin: 7px 0 4px; font: 600 22px var(--font-display); color: #20324c; } .ld-empty p { max-width: 520px; margin: 0; color: #637891; } .ld-empty__hint { margin-top: 12px; padding: 10px 24px; border-radius: 99px; color: #3078d6; background: #edf5ff; font-size: 12px; } .ld-pager { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 54px; color: #56708f; font-size: 12px; } .ld-pager__actions { display: flex; align-items: center; gap: 12px; } .ld-pager .btn.ghost { border-radius: 10px; color: #547092; background: #f2f7ff; } .ld-pager .btn.ghost:disabled { opacity: .5; cursor: default; } .ld-privacy { margin: 0; padding-top: 4px; color: #879ab1; font-size: 11px; text-align: right; } @media (max-width: 1100px) { body.leads-view .shell { padding: 0 20px 20px; } .ld-summary { gap: 12px; } .ld-stat { gap: 12px; padding: 12px; } .ld-stat__badge { min-width: 48px; } .ld-toolbar { grid-template-columns: 1fr 2fr; } .ld-export, .ld-refresh { width: 100%; } } @media (max-width: 700px) { body.leads-view .top { min-height: 64px; } body.leads-view .top .search { width: 100%; } body.leads-view .top .round--date, body.leads-view .who { display: none; } .ld-summary { grid-template-columns: 1fr; } .ld-stat { min-height: 72px; } .ld-stat__icon { flex-basis: 46px; height: 46px; } .ld-stat__icon svg { width: 26px; height: 26px; } .ld-panel { padding: 14px; } .ld-toolbar { grid-template-columns: 1fr 1fr; } .ld-toolbar select, .ld-search, .ld-date { grid-column: 1 / -1; } .ld-pager { flex-wrap: wrap; } .ld-empty__hint { border-radius: 12px; } } /* ---------- карточка заявки ---------- */ dialog.ldd { max-width: 960px; width: calc(100% - 32px); max-height: calc(100dvh - 32px); border-radius: 30px; color: #20324c; overflow-y: auto; overscroll-behavior: contain; background: radial-gradient(260px 160px at 72% 10%, rgba(175, 208, 250, .45), transparent 70%), radial-gradient(220px 150px at 92% 18%, rgba(247, 196, 214, .45), transparent 70%), #f3f7fd; box-shadow: 0 40px 90px rgba(37, 67, 110, .22); } dialog.ldd::backdrop { background: rgba(214, 228, 245, .55); backdrop-filter: blur(8px); } .ldd__form { padding: 22px 26px 24px; } .ldd__head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 18px; } .ldd__head h2 { margin: 2px 0 2px; font: 600 26px/1.2 var(--font-display); letter-spacing: -.02em; color: #1d2f49; } .ldd__head p { margin: 0; font-size: 14.5px; color: #6a7d95; } .ldd__icon { flex: 0 0 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; color: #3d86f0; background: linear-gradient(145deg, #edf5ff, #dcecff); box-shadow: 0 8px 20px rgba(61, 134, 240, .14); } .ldd__icon svg { width: 28px; height: 28px; fill: currentColor; stroke: #fff; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; } .ldd__close { margin-left: auto; width: 42px; height: 42px; border: 0; border-radius: 14px; background: #fff; color: #53657d; cursor: pointer; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(37, 67, 110, .08); } .ldd__close:hover { color: #1d2f49; } .ldd__close svg, .ldd__sec svg, .ldd__ticon svg, .ldd__save svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; } .ldd__close svg { width: 18px; height: 18px; } .ldd__card { padding: 20px 22px 22px; border-radius: 24px; background: #fff; box-shadow: 0 10px 30px rgba(37, 67, 110, .06); } .ldd__sec { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-size: 16.5px; font-weight: 600; color: #1d2f49; } .ldd__sec svg { width: 22px; height: 22px; color: #3d86f0; } .ldd__sec--line { margin-top: 22px; padding-top: 22px; border-top: 1px solid #e8eef6; } .ldd__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 22px; align-items: start; } .ldd__col { display: flex; flex-direction: column; gap: 12px; min-width: 0; } .ldd__tile { display: flex; align-items: center; gap: 16px; min-height: 64px; padding: 12px 16px; border-radius: 16px; background: #f4f8fd; } .ldd__tile small { display: block; font-size: 12.5px; color: #6a7d95; } .ldd__tile b { display: block; margin-top: 3px; font-size: 15.5px; font-weight: 500; color: #1d2f49; overflow-wrap: anywhere; white-space: pre-line; } .ldd__tile a { color: inherit; text-decoration: none; } .ldd__tile a:hover { color: #2f76f0; text-decoration: underline; } .ldd__tile > div { min-width: 0; } .ldd__ticon { flex: 0 0 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; background: #fff; color: #5b86c7; } .ldd__ticon svg { width: 21px; height: 21px; } .ldd__tile--msg .ldd__ticon { background: #fdeef2; color: #e0587a; } .ldd__field { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; color: #33475f; font-weight: 500; } .ldd__field textarea { min-height: 90px; padding: 12px 16px; border: 1px solid #dde6f1; border-radius: 16px; background: #fff; font: inherit; font-weight: 400; font-size: 14.5px; resize: vertical; } .ldd__select { position: relative; display: block; } .ldd__select select { width: 100%; height: 50px; padding: 0 44px 0 42px; border: 1.5px solid #9ec3f5; border-radius: 16px; background: #fff; font: inherit; font-size: 15.5px; font-weight: 500; color: #1d2f49; appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d2f49' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; } .ldd__select select:focus { outline: none; box-shadow: 0 0 0 4px rgba(63, 134, 242, .14); } .ldd__dot { position: absolute; left: 18px; top: 50%; width: 11px; height: 11px; margin-top: -5.5px; border-radius: 50%; background: #22b07d; pointer-events: none; } .ldd__dot[data-status="in_progress"] { background: #f5a426; } .ldd__dot[data-status="done"] { background: #3d86f0; } .ldd__dot[data-status="spam"] { background: #a3adbb; } .ldd__foot { display: flex; justify-content: flex-end; gap: 14px; margin-top: 22px; } .ldd__cancel, .ldd__save { height: 52px; padding: 0 28px; border: 0; border-radius: 16px; font: inherit; font-size: 15.5px; font-weight: 600; cursor: pointer; } .ldd__cancel { background: #fff; color: #1d2f49; box-shadow: 0 4px 14px rgba(37, 67, 110, .08); } .ldd__save { display: inline-flex; align-items: center; gap: 10px; padding: 0 32px; color: #fff; background: linear-gradient(100deg, #3a7ff0, #5c9cf6); box-shadow: 0 12px 24px rgba(58, 127, 240, .3); } .ldd__save:hover { filter: brightness(1.05); } .ldd__save:disabled { opacity: .6; cursor: default; } .ldd__save svg { width: 20px; height: 20px; } @media (max-width: 760px) { .ldd__form { padding: 16px 14px 16px; } .ldd__head h2 { font-size: 21px; } .ldd__head p { font-size: 13px; } .ldd__icon { flex-basis: 46px; height: 46px; border-radius: 14px; } .ldd__card { padding: 16px 14px; } .ldd__grid { grid-template-columns: 1fr; } .ldd__foot { gap: 10px; } .ldd__cancel, .ldd__save { flex: 1; justify-content: center; padding: 0 14px; } }