/* Стили веб-версии поверх базовых (styles.css): вход, роли, обзор, команда, согласование */
#app { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.settings h1::before, .registry-head h1::before { content: none; }
.ok-text { color: var(--ok); } .err-text { color: #ff6b73; }
.btn.danger { background: #8f1219; border-color: #b51a23; color: #fff; }
.btn.danger:hover { background: #b51a23; }
.btn.okbtn { background: #14532d; border-color: #1f8f4e; color: #d6ffe6; font-weight: 700; }
.btn.okbtn:hover { background: #1a6b3a; }
.btn.warnbtn { background: #3d2f0c; border-color: #a3761a; color: #ffd37a; font-weight: 700; }
.btn.warnbtn:hover { background: #4d3b10; }
.spinner { display: inline-block; width: 14px; height: 14px; border: 2px solid rgba(224, 36, 46, .3); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; vertical-align: middle; }
.loading-block { padding: 40px; text-align: center; color: var(--muted); display: flex; gap: 10px; justify-content: center; align-items: center; }
.plain-list { line-height: 1.6; padding-left: 18px; }
.status.rework { background: #3a1417; color: #ff8a90; }
.small { font-size: 12px; }

/* ===================== ВХОД ===================== */
.auth { position: fixed; inset: 0; overflow: auto; background: #07080a; z-index: 30; }
.auth-wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(420px, .9fr); min-height: 100%; }
.auth-hero { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 10% 100%, #1d0a0c 0%, #0b0c0e 55%, #050506 100%); padding: 56px 64px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid #1d2024; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(80% 80% at 30% 60%, #000 30%, transparent 85%); }
.hero-glow { position: absolute; width: 520px; height: 520px; left: -160px; bottom: -200px; background: radial-gradient(circle, rgba(224, 36, 46, .28), transparent 65%); filter: blur(10px); }
.hero-logo { position: absolute; right: -60px; top: 50%; transform: translateY(-50%); height: 78%; opacity: .06; filter: grayscale(1) brightness(2); pointer-events: none; }
.hero-inner { position: relative; max-width: 620px; }
.hero-sector { display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .32em; color: #8a9099; text-transform: uppercase; margin-bottom: 26px; }
.hero-sector i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.hero-sector span { width: 46px; height: 2px; background: var(--accent); }
.hero-sector b { color: #ff5a62; font-weight: 700; }
.auth-hero h1 { font-size: clamp(38px, 4.6vw, 68px); line-height: .98; margin: 0; font-weight: 700; letter-spacing: .01em; color: #fff; }
.auth-hero h1 em { font-style: normal; color: transparent; -webkit-text-stroke: 1.5px #e9e9e9; }
.hero-bar { width: 120px; height: 3px; background: linear-gradient(90deg, var(--accent), transparent); margin: 28px 0 30px; }
.hero-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.hero-list li { display: flex; gap: 16px; align-items: baseline; color: #c9ced6; font-size: 17px; }
.hero-list b { color: var(--accent); font-size: 12px; letter-spacing: .2em; min-width: 22px; }
.hero-foot { position: absolute; left: 64px; bottom: 28px; font-size: 11px; letter-spacing: .2em; color: #545a62; text-transform: uppercase; }
.auth-panel { display: flex; align-items: center; justify-content: center; padding: 40px 28px; background: linear-gradient(180deg, #101215, #0b0c0e); }
.auth-card { width: 100%; max-width: 400px; position: relative; padding: 34px 32px 26px; background: rgba(22, 25, 28, .85); border: 1px solid #262a30; border-top: 3px solid var(--accent); box-shadow: 0 30px 80px rgba(0, 0, 0, .55); }
.auth-card.wide { max-width: 520px; }
.auth-card.as-director { border-top-color: #f2f2f2; }
.auth-head { display: flex; gap: 14px; align-items: center; margin-bottom: 24px; }
.auth-logo { height: 54px; width: auto; }
.auth-brand { font-size: 22px; font-weight: 700; letter-spacing: .14em; color: #fff; }
.auth-sub { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #8a9099; margin-top: 2px; }
.role-tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: #0d0f11; border: 1px solid #262a30; margin-bottom: 14px; }
.role-tabs button { background: transparent; border: 0; color: #8a9099; padding: 11px 6px; font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; position: relative; z-index: 1; transition: color .2s; }
.role-tabs button.on { color: #fff; }
.role-tabs .ink { position: absolute; top: 0; bottom: 0; left: 0; width: 50%; background: linear-gradient(180deg, rgba(224, 36, 46, .28), rgba(224, 36, 46, .12)); border-bottom: 2px solid var(--accent); transition: transform .25s ease, background .25s; }
.as-director .role-tabs .ink { transform: translateX(100%); background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05)); border-bottom-color: #f2f2f2; }
.auth-role { min-height: 44px; margin-bottom: 14px; display: flex; flex-direction: column; gap: 3px; }
.auth-role b { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.auth-role span { font-size: 12.5px; color: #8a9099; line-height: 1.4; }
.af { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; flex: 1; }
.af > span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #8a9099; }
.af input { background: #0d0f11; border: 1px solid #2b3036; color: #fff; padding: 12px 14px; font-size: 15px; border-radius: 2px; width: 100%; transition: border-color .15s, box-shadow .15s; }
.af input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(224, 36, 46, .18); }
.as-director .af input:focus { border-color: #f2f2f2; box-shadow: 0 0 0 3px rgba(255, 255, 255, .1); }
.af-row { display: flex; gap: 12px; }
.pw { position: relative; }
.pw input { padding-right: 44px; }
.pw .eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: transparent; border: 0; color: #8a9099; cursor: pointer; padding: 6px; display: flex; }
.pw .eye:hover { color: #fff; }
.caps { font-size: 12px; color: #f0b429; margin: -8px 0 10px; }
.auth-card .check { color: #b9bec6; font-size: 13px; margin: 2px 0 16px; }
.auth-error { background: rgba(224, 36, 46, .12); border-left: 3px solid var(--accent); color: #ffb3b7; padding: 10px 12px; font-size: 13px; margin-bottom: 14px; line-height: 1.4; }
.auth-submit { width: 100%; justify-content: center; padding: 14px; font-size: 14px; letter-spacing: .2em; }
.as-director .auth-submit { background: #f2f2f2; border-color: #f2f2f2; color: #111; }
.as-director .auth-submit:hover { background: #fff; }
.auth-submit.loading span::after { content: '…'; }
.auth-foot { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 18px; color: #6b7280; font-size: 12px; }
.auth-note { font-size: 12.5px; color: #8a9099; line-height: 1.5; margin: -8px 0 16px; }
.auth-note code { background: #000; color: #fff; padding: 2px 6px; font-family: Menlo, Consolas, monospace; }
.auth-hint { font-size: 12px; color: #6b7280; margin: -8px 0 14px; }
.auth-fatal { max-width: 420px; margin: 18vh auto; text-align: center; color: #c9ced6; }
.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
@media (max-width: 900px) { .auth-wrap { grid-template-columns: 1fr; } .auth-hero { display: none; } }

/* ===================== ВЕРХНЯЯ ПАНЕЛЬ ===================== */
.nav-btn { position: relative; }
.nav-dot { position: absolute; top: 14px; right: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.top-right { position: relative; }
.user-chip { display: flex; align-items: center; gap: 10px; background: transparent; border: 1px solid transparent; color: #fff; padding: 5px 8px; border-radius: 4px; cursor: pointer; }
.user-chip:hover { border-color: #2a2d31; background: #111316; }
.uc-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.uc-text b { font-size: 14px; }
.uc-text small { font-size: 10.5px; color: #8a9099; letter-spacing: .12em; text-transform: uppercase; }
.uc-caret { color: #8a9099; font-size: 10px; }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: #2b3036; color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .04em; flex: 0 0 auto; border: 2px solid #3b4149; }
.avatar.director { background: #3a1417; border-color: var(--accent); }
.avatar.sm { width: 26px; height: 26px; font-size: 11px; vertical-align: middle; margin-right: 6px; }
.avatar.lg { width: 46px; height: 46px; font-size: 16px; }
.avatar.xl { width: 64px; height: 64px; font-size: 22px; }
.user-menu { position: absolute; right: 0; top: calc(100% + 8px); width: 260px; background: var(--panel); border: 1px solid var(--line2); box-shadow: 0 18px 50px rgba(0, 0, 0, .6); z-index: 40; padding: 6px; }
.um-head { padding: 10px 10px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; display: flex; flex-direction: column; gap: 2px; }
.um-head span { font-size: 12px; color: var(--ink2); }
.um-head small { font-size: 11px; color: var(--muted); }
.user-menu button { display: flex; gap: 10px; align-items: center; width: 100%; text-align: left; background: transparent; border: 0; color: var(--ink); padding: 9px 10px; cursor: pointer; font-size: 14px; }
.user-menu button:hover { background: var(--panel2); }

/* ===================== СТРАНИЦЫ ===================== */
.pg { padding: 24px 30px 40px; max-width: 1440px; margin: 0 auto; }
.pg.narrow { max-width: 820px; }
.page-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.page-head h1 { font-size: 26px; margin: 0; margin-right: auto; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; display: flex; align-items: center; gap: 14px; }
.page-head h1 i { font-style: normal; color: var(--accent); font-size: 12px; letter-spacing: .2em; }
.page-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.page-actions select, .filters select, .filters input { border: 1px solid var(--line); border-radius: 3px; padding: 8px 10px; background: var(--bg2); color: var(--ink); }
.seg { display: flex; border: 1px solid var(--line); background: var(--bg2); }
.seg button { background: transparent; border: 0; color: var(--ink2); padding: 8px 12px; cursor: pointer; font-size: 13px; border-right: 1px solid var(--line); }
.seg button:last-child { border-right: 0; }
.seg button.on { background: var(--accent-soft); color: #fff; box-shadow: inset 0 -2px 0 var(--accent); }
.hello { color: var(--ink2); margin: -6px 0 18px; font-size: 15px; }
.hello b { color: #fff; }

.kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.kpi { background: var(--panel); border: 1px solid var(--line); border-left: 3px solid #3b4149; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.kpi[data-link] { cursor: pointer; }
.kpi[data-link]:hover { border-color: #4a515a; background: var(--panel2); }
.kpi span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.kpi b { font-size: 30px; font-weight: 700; line-height: 1.1; }
.kpi small { font-size: 12.5px; color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi small em { font-style: normal; color: #ff8a90; }
.kpi.accent { border-left-color: var(--accent); }
.kpi.accent b { color: #fff; }
.kpi.warn { border-left-color: #f0b429; }
.dash-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 12px; margin-bottom: 12px; }
.dash-grid .card { margin-bottom: 0; }
.legend { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); letter-spacing: .04em; text-transform: none; font-weight: 500; }
.legend i { display: inline-block; width: 10px; height: 10px; margin-left: 10px; }
.lg-sent, .b-sent { background: #5b6470; fill: #5b6470; }
.lg-won, .b-won { background: var(--accent); fill: var(--accent); }
.chart { width: 100%; height: auto; display: block; }
.chart .gl { stroke: #2a2e33; stroke-width: 1; }
.chart .ax { fill: #8a9099; font-size: 11px; font-family: var(--ui); }
.chart rect:hover { opacity: .8; }
.att-card { max-height: 420px; overflow: auto; }
.att-sec { margin-bottom: 14px; }
.att-title { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink2); margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.att-title em { font-style: normal; background: #2b3036; color: #fff; border-radius: 10px; padding: 0 7px; font-size: 11px; }
.att-sec.hot .att-title em { background: var(--accent); }
.att-item { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); background: var(--bg2); margin-bottom: 5px; color: var(--ink); text-decoration: none; }
.att-item:hover { border-color: #4a515a; background: var(--panel2); }
.att-main { min-width: 0; }
.att-main small { display: block; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.att-side { font-size: 12px; color: var(--ink2); white-space: nowrap; align-self: center; }
.att-empty { font-size: 13px; color: var(--muted); padding: 4px 0; }
.overdue { color: #ff6b73; font-weight: 700; }
table.team tbody tr { cursor: pointer; }
.bar-pct { display: inline-block; width: 60px; height: 6px; background: #2b3036; margin-right: 8px; vertical-align: middle; }
.bar-pct i { display: block; height: 100%; background: var(--accent); }

/* реестр */
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.chip { background: var(--panel); border: 1px solid var(--line); color: var(--ink2); padding: 6px 12px; cursor: pointer; font-size: 13px; border-radius: 2px; }
.chip em { font-style: normal; color: var(--muted); margin-left: 4px; }
.chip:hover { border-color: #4a515a; color: #fff; }
.chip.on { border-color: var(--accent); background: var(--accent-soft); color: #fff; }
.chip.on em { color: #fff; }
.filters { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; align-items: center; }
.filters input { flex: 1; min-width: 260px; max-width: 520px; }
table.reg tbody tr[data-id], table.reg tbody tr[data-key] { cursor: pointer; }
table.reg th[data-sort] { cursor: pointer; user-select: none; }
table.reg th.sorted { color: #fff; }
table.reg td.sum { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
table.reg td .cl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 420px; }
.reg-foot { margin-top: 10px; color: var(--ink2); font-size: 13px; }

/* ===================== РЕДАКТОР ===================== */
.ed-fields { border: 0; padding: 0; margin: 0; min-width: 0; }
.ed-fields[disabled] .card { opacity: .82; }
.ed-fields[disabled] .add-bar, .ed-fields[disabled] .block-head .btn, .ed-fields[disabled] .ai-actions { display: none; }
.editor-toolbar .status { margin-left: 4px; }
.owner-tag { font-size: 12px; color: var(--ink2); background: var(--bg2); border: 1px solid var(--line); padding: 4px 9px; border-radius: 2px; }
.save-state.err { color: #ff6b73; }
.work-card h2 { margin-bottom: 10px; }
.stepper { display: flex; align-items: center; gap: 0; margin-bottom: 12px; }
.stepper > b { flex: 1 1 6px; height: 2px; background: var(--line2); margin: 0 4px; min-width: 4px; }
.step { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--muted); white-space: nowrap; min-width: 0; flex: 0 1 auto; }
.step span { overflow: hidden; text-overflow: ellipsis; }
.step i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line2); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
.step.done { color: var(--ink2); }
.step.done i { background: #1f3a2a; border-color: #2f7d4f; color: #9ff0bf; }
.step.cur { color: #fff; font-weight: 700; }
.step.cur i { border-color: var(--accent); background: var(--accent); color: #fff; box-shadow: 0 0 0 4px var(--accent-soft); }
.step.cur.won i { background: #1f8f4e; border-color: #1f8f4e; box-shadow: 0 0 0 4px rgba(31, 143, 78, .2); }
.step.cur.approved i { background: #2563eb; border-color: #2563eb; box-shadow: 0 0 0 4px rgba(37, 99, 235, .2); }
.step.cur.rework i { background: #a3761a; border-color: #a3761a; }
.wk-note { background: var(--bg2); border-left: 3px solid var(--line2); padding: 10px 12px; font-size: 13px; line-height: 1.5; color: var(--ink2); margin-bottom: 10px; }
.wk-note b { color: #fff; }
.wk-note div { margin-top: 4px; }
.wk-note.info { border-left-color: #6cb6ff; }
.wk-note.ok { border-left-color: var(--ok); }
.wk-note.warn { border-left-color: #f0b429; }
.wk-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.wk-actions .btn { white-space: normal; }
.wk-follow { display: flex; gap: 8px; align-items: flex-end; margin-top: 10px; border-top: 1px solid var(--line); padding-top: 10px; }
.wk-follow .field { margin-bottom: 0; flex: 1; }
.wk-follow input { border: 1px solid var(--line); border-radius: 3px; padding: 7px 9px; background: var(--bg2); color: var(--ink); width: 100%; }
.comment-box { display: flex; gap: 8px; align-items: flex-end; margin-bottom: 12px; }
.comment-box textarea { flex: 1; border: 1px solid var(--line); border-radius: 3px; padding: 8px 10px; background: var(--bg2); color: var(--ink); resize: vertical; min-height: 40px; font-family: inherit; }
.events { display: flex; flex-direction: column; }
.ev { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid #22262b; }
.ev:last-child { border-bottom: 0; }
.ev-ic { width: 26px; height: 26px; border-radius: 50%; background: var(--bg2); border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; flex: 0 0 auto; color: var(--ink2); }
.ev-status .ev-ic { border-color: var(--accent); color: var(--accent); }
.ev-comment .ev-ic, .ev-login_failed .ev-ic { border-color: #f0b429; color: #f0b429; }
.ev-body { flex: 1; min-width: 0; }
.ev-line { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; line-height: 1.5; }
.ev-user { color: #fff; }
.ev-text { color: var(--ink2); }
.ev-text .status { font-size: 10px; padding: 1px 6px; }
.ev-time { margin-left: auto; color: var(--muted); font-size: 12px; white-space: nowrap; }
.ev-doc { color: #ff8a90; text-decoration: none; font-size: 12.5px; }
.ev-doc:hover { text-decoration: underline; }
.ev-comment { margin-top: 4px; background: var(--bg2); border: 1px solid var(--line); padding: 8px 10px; font-size: 13px; line-height: 1.5; color: var(--ink); }
.journal .ev { padding: 9px 0; }
.jr-day { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 14px 0 4px; }
.jr-day:first-child { margin-top: 0; }

/* ===================== КОМАНДА ===================== */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 12px; }
.ucard { background: var(--panel); border: 1px solid var(--line); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.ucard.off { opacity: .55; }
.uc-top { display: flex; gap: 12px; align-items: center; }
.uc-top > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.uc-top b { font-size: 16px; }
.uc-top span { font-size: 12.5px; color: var(--ink2); }
.role-badge { font-size: 10.5px !important; letter-spacing: .12em; text-transform: uppercase; padding: 3px 8px; border: 1px solid var(--line2); color: var(--ink2) !important; align-self: flex-start; white-space: nowrap; }
.role-badge.director { border-color: var(--accent); color: #ff8a90 !important; }
.uc-info { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; font-size: 13px; }
.uc-info div { display: flex; flex-direction: column; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.uc-info i { font-style: normal; font-size: 10.5px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.online { color: var(--ok); font-weight: 700; }
.online::before { content: '● '; }
.uc-actions { display: flex; gap: 6px; }
.pw-row { display: flex; gap: 6px; }
.pw-row input { flex: 1; }
.cred { background: var(--bg2); border: 1px solid var(--line); padding: 12px 14px; display: grid; gap: 8px; margin: 10px 0; }
.cred div { display: flex; justify-content: space-between; gap: 12px; }
.cred i { font-style: normal; color: var(--muted); }
.cred b { font-family: Menlo, Consolas, monospace; user-select: all; }

/* настройки, профиль */
.switch { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; padding: 10px 0; border-bottom: 1px solid var(--line); }
.switch input { display: none; }
.switch > span { flex: 0 0 auto; width: 40px; height: 22px; border-radius: 11px; background: #2b3036; position: relative; transition: background .2s; margin-top: 2px; }
.switch > span::after { content: ''; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #c9ced6; transition: transform .2s; }
.switch input:checked + span { background: var(--accent); }
.switch input:checked + span::after { transform: translateX(18px); background: #fff; }
.switch div { display: flex; flex-direction: column; gap: 2px; }
.switch small { color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.sticky-save { position: sticky; bottom: 0; padding: 14px 0; background: linear-gradient(transparent, var(--bg) 40%); }
.profile-card .pf-top { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.pf-top > div { display: flex; flex-direction: column; gap: 3px; }
.pf-top b { font-size: 20px; }
.pf-top span { color: var(--ink2); font-size: 13px; }
.modal input, .modal select, .modal textarea { font-family: inherit; }
.modal .field input, .modal .field select, .modal .field textarea { border: 1px solid var(--line); border-radius: 3px; padding: 8px 10px; background: var(--bg2); width: 100%; color: var(--ink); }
.modal p { color: var(--ink2); }

@media (max-width: 1400px) { .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1100px) { .dash-grid { grid-template-columns: 1fr; } .editor { grid-template-columns: 480px 1fr; } .uc-text { display: none; } }
.chips .chip::before { content: none; }
