/* studio.css — Borafusion Report Studio (release 2026-11-01). Builds on bf-analytics.css (.sm-*) and theme.css variables. */
.st-wrap { --g: var(--bf-green, #007A3D); --gd: var(--bf-green-dark, #005C2E); --gs: var(--bf-green-soft, #E6F2EC); --ink: var(--bf-ink, #15201A); --mut: var(--bf-muted, #56655D); --line: var(--bf-line, #DCE3DF); --ground: var(--bf-ground, #F3F5F4); color: var(--ink); min-width: 0; }
.st-muted { color: var(--mut); font-size: 12.5px; }
.st-loading { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 24px; color: var(--mut); font-size: 13px; }
.st-error { padding: 14px 16px; border: 1px solid #f1c7c3; background: #fdf3f2; color: #8a1c14; border-radius: 10px; }

/* ── Home ───────────────────────────────────────────────────────────── */
.st-hero { display: grid; grid-template-columns: 1fr 300px; gap: 24px; padding: 28px 30px; border-radius: 16px; background: linear-gradient(130deg, #F2F8F5 0%, #fff 55%, #EEF5F1 100%); border: 1px solid var(--line); margin-bottom: 18px; }
.st-kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gd); margin-bottom: 8px; }
.st-hero h1 { font-size: 30px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 8px; }
.st-hero p { max-width: 640px; color: var(--mut); font-size: 14px; line-height: 1.5; margin: 0 0 16px; }
.st-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 6px 20px rgba(0, 92, 46, .07); }
.st-q-lab { font-size: 13px; font-weight: 600; color: var(--mut); padding: 0 2px; }
.st-q-chip { height: 32px; padding: 0 12px; border: 1px dashed #9FC7B1; border-radius: 16px; background: #fff; color: var(--gd); font-size: 13px; font-weight: 600; }
.st-q-chip:hover { background: var(--gs); }
.st-q-sel { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px 0 12px; border-radius: 16px; background: var(--g); color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; }
.st-q-sel i { opacity: .8; }
.st-q-go { margin-left: auto; border-radius: 16px; font-weight: 600; }
.st-hero-actions { display: flex; gap: 8px; margin-top: 14px; }
.st-hero-r { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: start; }
.st-hero-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.st-hc-t { font-size: 11.5px; color: var(--mut); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.st-hc-v { font-size: 22px; font-weight: 800; letter-spacing: -.01em; margin-top: 2px; }
.st-hc-hot { border-color: var(--g); background: var(--gs); }
.st-hc-hot .st-hc-v { color: var(--gd); }
.st-tabs { display: flex; align-items: center; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.st-tab { position: relative; height: 40px; padding: 0 14px; border: 0; background: none; font-size: 13.5px; font-weight: 600; color: var(--mut); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.st-tab.on { color: var(--gd); border-bottom-color: var(--g); }
.st-tab:hover { color: var(--ink); }
.st-badge { display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 9px; background: var(--g); color: #fff; font-size: 11px; line-height: 18px; text-align: center; }
.st-search { margin-left: auto; height: 32px; width: 240px; border: 1px solid var(--line); border-radius: 8px; padding: 0 10px; font-size: 13px; }
.st-group { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mut); margin: 14px 0 8px; }
.st-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; }
.st-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: box-shadow .15s, transform .15s; }
.st-card:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, .08); transform: translateY(-1px); }
.st-thumb { position: relative; height: 130px; background: linear-gradient(135deg, #F2F8F5, #fff); border-bottom: 1px solid var(--line); cursor: pointer; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.st-thumb img { width: 100%; height: 100%; object-fit: cover; }
.st-thumb-gen { display: flex; gap: 10px; font-size: 26px; color: #9FC7B1; }
.st-thumb-n { position: absolute; right: 8px; bottom: 8px; font-size: 11px; font-weight: 600; background: rgba(255, 255, 255, .9); border: 1px solid var(--line); border-radius: 8px; padding: 1px 7px; color: var(--mut); }
.st-card-b { padding: 12px 14px 6px; flex: 1; }
.st-card-t { font-size: 14.5px; font-weight: 700; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-card-t:hover { color: var(--gd); }
.st-card-d { font-size: 12.5px; color: var(--mut); line-height: 1.4; margin-top: 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.st-card-m { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; color: var(--mut); margin-top: 8px; }
.st-card-a { display: flex; gap: 6px; padding: 8px 14px 12px; }
.st-card-a .btn { border-radius: 8px; }
.st-empty { text-align: center; padding: 50px 20px; color: var(--mut); }
.st-empty i { font-size: 38px; color: #9FC7B1; }
.st-empty h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin: 10px 0 4px; }
.st-empty p { max-width: 460px; margin: 0 auto 14px; font-size: 13.5px; }
/* inbox */
.st-inbox { display: flex; flex-direction: column; gap: 8px; }
.st-mail { display: flex; gap: 14px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.st-mail.st-unread { border-left: 4px solid var(--g); }
.st-mail-ic { font-size: 22px; color: #9FC7B1; }
.st-unread .st-mail-ic { color: var(--g); }
.st-mail-b { flex: 1; min-width: 0; }
.st-mail-h { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.st-mail-h span { color: var(--mut); font-size: 12px; white-space: nowrap; }
.st-mail-s { font-size: 12.5px; color: var(--mut); margin-top: 2px; }
.st-mail-msg { margin-top: 8px; padding: 8px 10px; background: var(--ground); border-radius: 8px; font-size: 13px; white-space: pre-wrap; }
.st-mail-f { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.st-file { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 12.5px; color: var(--ink); text-decoration: none; }
.st-file:hover { border-color: var(--g); color: var(--gd); }
.st-file small { color: var(--mut); }
.st-file-pdf i { color: #b3261e; } .st-file-xlsx i { color: #1d7a3e; } .st-file-png i { color: #2a78d6; }

/* ── Builder ─────────────────────────────────────────────────────────── */
.st-builder { display: flex; flex-direction: column; min-height: calc(100vh - 120px); background: #fff; }
.st-builder:fullscreen { padding: 12px; overflow: auto; }
.st-top { display: flex; align-items: center; gap: 12px; padding: 4px 0 10px; border-bottom: 1px solid var(--line); }
.st-back { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--mut); }
.st-back:hover { color: var(--gd); border-color: var(--g); }
.st-title { flex: 1; min-width: 0; }
.st-title input { width: 100%; max-width: 560px; border: 1px solid transparent; border-radius: 8px; padding: 2px 8px; font-size: 19px; font-weight: 800; letter-spacing: -.01em; background: transparent; }
.st-title input:not([readonly]):hover, .st-title input:focus { border-color: var(--line); background: #fff; outline: none; }
.st-title-s { font-size: 12px; color: var(--mut); padding-left: 9px; }
.st-top-r { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.st-top-r .btn { border-radius: 8px; white-space: nowrap; }
.st-seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.st-seg button { height: 30px; padding: 0 10px; border: 0; background: #fff; font-size: 12.5px; font-weight: 600; color: var(--mut); }
.st-seg button.on { background: var(--g); color: #fff; }
.st-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.st-period { display: flex; align-items: center; gap: 8px; }
.st-period i, .st-gfilters > i { color: var(--gd); }
.st-period select, .st-period input { height: 30px; border: 1px solid var(--line); border-radius: 8px; padding: 0 8px; font-size: 13px; background: #fff; }
.st-period-l { color: var(--mut); font-size: 12px; }
.st-gfilters, .st-slicers { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.st-chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 14px; background: var(--gs); color: var(--gd); font-size: 12.5px; font-weight: 600; cursor: pointer; max-width: 340px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-chip-days { background: #FFF3E0; color: #8a4a00; }
.st-chip i { opacity: .7; }
.st-chip i:hover { opacity: 1; }
.st-chip-add { height: 28px; padding: 0 10px; border: 1px dashed #9FC7B1; border-radius: 14px; background: #fff; color: var(--gd); font-size: 12.5px; font-weight: 600; }
.st-chip-add:hover { background: var(--gs); }
.st-slicer { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border: 1px solid var(--line); border-radius: 14px; background: #fff; font-size: 12.5px; cursor: pointer; }
.st-slicer:hover { border-color: var(--g); }
.st-slicer b { color: var(--gd); }
.st-body { display: flex; flex: 1; min-height: 0; }
.st-fields { width: 236px; flex: 0 0 236px; border-right: 1px solid var(--line); display: flex; flex-direction: column; max-height: calc(100vh - 140px); position: sticky; top: 66px; }
.st-fields-h { padding: 10px 10px 6px; }
.st-fields-h input { width: 100%; height: 30px; border: 1px solid var(--line); border-radius: 8px; padding: 0 8px; font-size: 12.5px; }
.st-fields-h small { display: block; color: var(--mut); font-size: 11px; margin-top: 4px; line-height: 1.3; }
.st-fields-b { overflow: auto; padding: 0 6px 10px; }
.st-fact summary { cursor: pointer; padding: 7px 6px; font-size: 12.5px; font-weight: 700; display: flex; align-items: center; gap: 6px; border-radius: 6px; list-style: none; }
.st-fact summary::-webkit-details-marker { display: none; }
.st-fact summary small { margin-left: auto; color: var(--mut); font-weight: 500; }
.st-fact summary:hover { background: var(--ground); }
.st-fact-about { font-size: 11px; color: var(--mut); padding: 0 8px 4px 24px; line-height: 1.3; }
.st-field { display: flex; align-items: center; gap: 6px; padding: 5px 8px 5px 22px; font-size: 12.5px; border-radius: 6px; cursor: grab; }
.st-field:hover { background: var(--gs); color: var(--gd); }
.st-field i { font-size: 12px; color: var(--mut); }
.st-f-m i { color: #2a78d6; }
.st-field small { margin-left: auto; color: var(--mut); font-size: 10.5px; }
.st-canvas-wrap { flex: 1; min-width: 0; padding: 12px; background: var(--ground); overflow: auto; }
.st-canvas { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 58px; gap: 10px; align-content: start; }
.st-canvas-empty { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: var(--mut); }
.st-canvas-empty i { font-size: 40px; color: #9FC7B1; }
.st-canvas-empty h3 { font-size: 17px; color: var(--ink); margin: 8px 0 4px; }
.st-tile { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 12px; min-width: 0; min-height: 0; overflow: hidden; transition: box-shadow .12s; }
.st-editing .st-tile:hover { box-shadow: 0 2px 10px rgba(0, 0, 0, .06); }
.st-tile.st-sel { border-color: var(--g); box-shadow: 0 0 0 2px rgba(0, 122, 61, .18); }
.st-tile.st-drop { border-color: var(--g); background: var(--gs); }
.st-tile.st-dragging { opacity: .85; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); z-index: 5; }
.st-tile.st-busy .st-tile-b { opacity: .45; }
.st-tile-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; padding: 10px 12px 4px; }
.st-editing .st-tile-h { cursor: move; }
.st-tile-t { font-size: 13.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-tile-s { font-size: 11.5px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-tile-a { display: flex; gap: 2px; opacity: 0; transition: opacity .12s; }
.st-tile:hover .st-tile-a, .st-tile.st-sel .st-tile-a { opacity: 1; }
.st-ta { width: 24px; height: 24px; border: 0; border-radius: 6px; background: transparent; color: var(--mut); font-size: 12px; }
.st-ta:hover { background: var(--ground); color: var(--gd); }
.st-ta-del:hover { color: #b3261e; }
.st-tile-b { flex: 1; min-height: 0; padding: 4px 12px 8px; position: relative; }
.st-tile-b canvas { width: 100% !important; height: 100% !important; }
.st-tile-f { padding: 0 12px 6px; font-size: 11px; color: #8a4a00; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-tile-f:empty { display: none; }
.st-tile-hint, .st-tile-err { height: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--mut); font-size: 13px; text-align: center; }
.st-tile-err { color: #8a1c14; }
.st-rs { position: absolute; right: 2px; bottom: 2px; width: 16px; height: 16px; cursor: nwse-resize; background: linear-gradient(135deg, transparent 50%, #9FC7B1 50%, #9FC7B1 60%, transparent 60%, transparent 75%, #9FC7B1 75%, #9FC7B1 85%, transparent 85%); border-radius: 0 0 10px 0; }
.st-text { font-size: 13.5px; line-height: 1.55; white-space: normal; }
.st-kpis { display: grid; gap: 10px; height: 100%; align-items: center; }
.st-kpis-1 { grid-template-columns: 1fr; } .st-kpis-2 { grid-template-columns: 1fr 1fr; } .st-kpis-3 { grid-template-columns: repeat(3, 1fr); } .st-kpis-4 { grid-template-columns: repeat(4, 1fr); }
.st-kpi { min-width: 0; }
.st-kpi-l { font-size: 11.5px; font-weight: 600; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-kpi-v { font-size: clamp(22px, 2.3vw, 34px); font-weight: 800; letter-spacing: -.02em; color: var(--gd); line-height: 1.1; font-variant-numeric: tabular-nums; }
.st-kpi-v small { font-size: 12px; font-weight: 600; color: var(--mut); margin-left: 5px; letter-spacing: 0; }
.st-kpi-d { font-size: 12px; font-weight: 600; color: var(--mut); margin-top: 3px; }
.st-kpi-d small { font-weight: 500; }
.st-good { color: #1d7a3e; } .st-bad { color: #b3261e; }
.st-table-wrap { height: 100%; overflow: auto; }
.st-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.st-table th { position: sticky; top: 0; background: #fff; text-align: left; padding: 6px 8px; border-bottom: 2px solid var(--line); font-weight: 700; font-size: 11.5px; color: var(--mut); white-space: nowrap; }
.st-table th small { display: block; font-weight: 500; }
.st-table td { padding: 5px 8px; border-bottom: 1px solid #EEF2EF; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px; position: relative; }
.st-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.st-table tfoot td { font-weight: 700; border-top: 2px solid var(--line); }
.st-tbar { position: absolute; right: 0; top: 4px; bottom: 4px; background: var(--gs); z-index: 0; border-radius: 3px; max-width: 100%; }
.st-table td.num > :not(.st-tbar) { position: relative; z-index: 1; }
.st-heat { border-collapse: separate; border-spacing: 2px; font-size: 11.5px; }
.st-heat th { font-weight: 600; color: var(--mut); padding: 3px 6px; text-align: left; white-space: nowrap; font-size: 11px; }
.st-heat td { padding: 4px 6px; text-align: center; border-radius: 4px; min-width: 44px; font-variant-numeric: tabular-nums; }
.st-note { display: inline-flex; gap: 4px; align-items: center; }
.st-add { position: sticky; bottom: 8px; display: flex; align-items: center; gap: 4px; width: max-content; margin: 12px auto 0; padding: 6px 10px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 6px 20px rgba(0, 0, 0, .1); }
.st-add span { font-size: 12px; font-weight: 600; color: var(--mut); margin-right: 4px; }
.st-add button { width: 32px; height: 32px; border: 0; border-radius: 16px; background: transparent; color: var(--mut); font-size: 15px; }
.st-add button:hover { background: var(--gs); color: var(--gd); }
.st-props { width: 264px; flex: 0 0 264px; border-left: 1px solid var(--line); padding: 10px 12px; overflow: auto; max-height: calc(100vh - 220px); position: sticky; top: 0; font-size: 12.5px; }
.st-props label { display: block; margin-bottom: 8px; font-size: 11.5px; font-weight: 600; color: var(--mut); }
.st-props input[type=text], .st-props input:not([type]), .st-props input[type=number], .st-props select, .st-props textarea { display: block; width: 100%; height: 30px; margin-top: 3px; border: 1px solid var(--line); border-radius: 8px; padding: 0 8px; font-size: 13px; font-weight: 500; color: var(--ink); background: #fff; }
.st-props textarea { height: auto; padding: 6px 8px; line-height: 1.4; }
.st-props-h { font-size: 13px; font-weight: 700; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; color: var(--gd); }
.st-props-empty { color: var(--mut); text-align: center; padding-top: 20px; }
.st-props-empty i { font-size: 26px; color: #9FC7B1; }
.st-props-empty h5 { text-align: left; font-size: 12px; font-weight: 700; margin: 18px 0 6px; color: var(--ink); text-transform: uppercase; letter-spacing: .05em; }
.st-props-empty label { text-align: left; }
.st-types { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin-top: 4px; }
.st-types button { height: 30px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--mut); font-size: 14px; }
.st-types button.on { background: var(--g); border-color: var(--g); color: #fff; }
.st-prop-sec { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; font-weight: 700; color: var(--mut); text-transform: uppercase; letter-spacing: .04em; margin: 10px 0 4px; }
.st-mini { width: 22px; height: 22px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--gd); font-size: 12px; line-height: 1; }
.st-mini:hover:not(:disabled) { background: var(--gs); }
.st-plist { display: flex; flex-direction: column; gap: 4px; }
.st-pitem { display: flex; align-items: center; gap: 6px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 8px; font-size: 12.5px; font-weight: 500; background: #fff; }
.st-pitem span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-pitem > i:first-child { color: #2a78d6; }
.st-pitem .st-px { color: var(--mut); cursor: pointer; }
.st-pitem .st-px:hover { color: #b3261e; }
.st-pfilter { cursor: pointer; }
.st-pfilter.st-chip-days { background: #FFF3E0; border-color: #f3d9b1; }
.st-prop-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.st-check { display: flex !important; align-items: center; gap: 6px; font-weight: 500 !important; color: var(--ink) !important; cursor: pointer; }
.st-check-row { align-self: end; margin-bottom: 10px; }
.st-prop-about { margin-top: 12px; font-size: 11.5px; color: var(--mut); line-height: 1.4; }
.st-prop-about div { margin-bottom: 6px; }

/* ── Pop-ups, modals, toasts ─────────────────────────────────────────── */
.st-pop { position: fixed; z-index: 1060; width: 320px; max-height: 70vh; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--bf-line, #DCE3DF); border-radius: 12px; box-shadow: 0 12px 36px rgba(0, 0, 0, .16); font-size: 13px; }
.st-pop-h { padding: 10px 12px 8px; font-weight: 700; border-bottom: 1px solid #EEF2EF; display: flex; flex-direction: column; gap: 6px; }
.st-pop-h small { font-weight: 500; color: #56655D; }
.st-pop-h input, .st-fq { height: 30px; border: 1px solid #DCE3DF; border-radius: 8px; padding: 0 8px; font-size: 12.5px; font-weight: 400; width: 100%; }
.st-pop-b { overflow: auto; padding: 6px; }
.st-pop-g { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #56655D; padding: 8px 8px 3px; }
.st-pop-i { display: block; width: 100%; text-align: left; padding: 6px 10px; border: 0; background: none; border-radius: 6px; font-size: 13px; }
.st-pop-i:hover { background: #E6F2EC; color: #005C2E; }
.st-pop-filter { width: 360px; }
.st-pop-row { padding: 8px 12px 0; }
.st-pop-row select, .st-fop { height: 30px; border: 1px solid #DCE3DF; border-radius: 8px; padding: 0 8px; font-size: 13px; width: 100%; }
.st-fvals { padding: 8px 12px; display: flex; flex-direction: column; gap: 6px; min-height: 0; }
.st-fsel { display: flex; flex-wrap: wrap; gap: 4px; }
.st-flist { max-height: 220px; overflow: auto; border: 1px solid #EEF2EF; border-radius: 8px; }
.st-flist label { display: flex; align-items: center; gap: 8px; padding: 5px 8px; font-size: 12.5px; cursor: pointer; margin: 0; }
.st-flist label:hover { background: #F7F9F8; }
.st-flist label span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-flist label small { color: #56655D; font-variant-numeric: tabular-nums; }
.st-fscope { padding: 0 12px 8px; display: flex; flex-direction: column; gap: 3px; font-size: 12px; }
.st-fscope label { display: flex; gap: 6px; align-items: center; margin: 0; }
.st-fscope small { color: #56655D; font-size: 11px; line-height: 1.3; margin-top: 2px; }
.st-pop-f { display: flex; justify-content: flex-end; gap: 6px; padding: 8px 12px; border-top: 1px solid #EEF2EF; }
.st-modal { position: fixed; inset: 0; z-index: 1055; background: rgba(21, 32, 26, .45); display: flex; align-items: center; justify-content: center; padding: 20px; }
.st-modal-c { width: min(760px, 100%); max-height: 90vh; display: flex; flex-direction: column; background: #fff; border-radius: 14px; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); }
.st-modal-h { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid #EEF2EF; }
.st-modal-h h4 { margin: 0; font-size: 16px; font-weight: 700; }
.st-modal-h h4 small { font-weight: 500; color: #56655D; font-size: 12px; margin-left: 8px; }
.st-modal-x { border: 0; background: none; color: #56655D; font-size: 14px; }
.st-modal-b { padding: 14px 18px; overflow: auto; font-size: 13px; }
.st-modal-b label { display: block; font-size: 11.5px; font-weight: 600; color: #56655D; margin: 10px 0 0; }
.st-modal-b label input, .st-modal-b label select, .st-modal-b label textarea { display: block; width: 100%; margin-top: 3px; border: 1px solid #DCE3DF; border-radius: 8px; padding: 6px 8px; font-size: 13px; font-weight: 400; color: #15201A; }
.st-modal-b .st-search { width: 100%; margin: 4px 0 6px; }
.st-modal-f { display: flex; justify-content: flex-end; gap: 6px; padding: 10px 18px; border-top: 1px solid #EEF2EF; }
.st-members { max-height: 240px; overflow: auto; border: 1px solid #EEF2EF; border-radius: 8px; }
.st-member { display: flex !important; align-items: center; gap: 10px; padding: 7px 10px; margin: 0 !important; font-weight: 400 !important; color: #15201A !important; cursor: pointer; }
.st-member:hover { background: #F7F9F8; }
.st-member span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.st-member span b { font-size: 13px; }
.st-member span small { color: #56655D; font-size: 11.5px; }
.st-member select { width: auto !important; margin: 0 !important; height: 26px; padding: 0 6px !important; font-size: 12px !important; }
.st-formats { display: flex; gap: 16px; margin-top: 12px; }
.st-formats label { display: inline-flex !important; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: #15201A; margin: 0; cursor: pointer; }
.st-table-big { max-height: 50vh; }
.st-dict { margin-top: 10px; font-size: 12px; color: #56655D; }
.st-dict-wrap h5 { font-size: 13px; font-weight: 700; margin: 14px 0 2px; display: flex; gap: 6px; align-items: center; color: #005C2E; }
.st-dict-t td:first-child { width: 220px; font-weight: 600; white-space: normal; }
.st-dict-t td { white-space: normal; }
.st-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 1070; padding: 10px 16px; border-radius: 10px; background: #15201A; color: #fff; font-size: 13px; display: flex; gap: 8px; align-items: center; opacity: 0; transition: opacity .25s, transform .25s; max-width: 90vw; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.st-toast.show { opacity: 1; transform: translate(-50%, 0); }
.st-toast.ok i { color: #7ee2a8; } .st-toast.warn i { color: #ffcc66; }
@media (max-width: 1100px) { .st-hero { grid-template-columns: 1fr; } .st-fields { display: none; } .st-props { width: 240px; flex-basis: 240px; } }
