:root {
  --bg: #f3f7f4;
  --surface: #fff;
  --ink: #193b31;
  --text: #344b43;
  --muted: #718277;
  --green: #176c49;
  --green-dark: #10543a;
  --green-soft: #e8f3ec;
  --gold: #d6a62f;
  --gold-soft: #fff5dc;
  --line: #e0e9e3;
  --danger: #aa443b;
  --danger-soft: #fbefec;
  --radius: 14px;
  --shadow: 0 7px 28px rgb(20 57 39 / 3.5%);
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  color: var(--text);
  font-synthesis: none;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--bg); font-size: 14px; line-height: 1.55; }
a { color: var(--green); text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button, a, input, select, textarea { touch-action: manipulation; }
button:disabled { opacity: .6; cursor: wait; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--ink); font-weight: 650; }
h1 { font-size: 32px; line-height: 1.22; letter-spacing: -.9px; }
h2 { font-size: 19px; line-height: 1.35; letter-spacing: -.3px; }
h3 { font-size: 16px; line-height: 1.4; }
ul, ol { margin: 0; }
img, svg { max-width: 100%; }
.icon { display: inline-block; flex: 0 0 auto; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -100px; padding: 12px 18px; z-index: 100; background: var(--green); color: white; border-radius: 8px; }
.skip-link:focus { top: 16px; }
.muted { color: var(--muted); }
.preserve-lines { white-space: pre-line; overflow-wrap: anywhere; }
.nowrap { white-space: nowrap; }
.app-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.header-inner { max-width: 1536px; margin: auto; min-height: 86px; padding: 0 42px; display: flex; align-items: center; gap: 25px; }
.brand { display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; color: var(--green); }
.brand img { object-fit: contain; }
.brand-word { font-size: 26px; font-style: italic; font-weight: 700; letter-spacing: -1.5px; white-space: nowrap; }
.brand-word > span { color: #e9b800; }
.brand-caption { border-left: 1px solid var(--line); padding-left: 18px; font-size: 10px; letter-spacing: .4px; color: var(--muted); line-height: 1.7; }
.main-nav { display: flex; align-self: stretch; align-items: stretch; gap: 6px; margin-left: auto; }
.main-nav > a { display: flex; align-items: center; gap: 7px; padding: 0 11px; color: var(--muted); font-size: 13px; position: relative; white-space: nowrap; }
.main-nav > a .icon { width: 17px; height: 17px; }
.main-nav > a.active { color: var(--green); font-weight: 650; }
.main-nav > a.active::after { content: ""; position: absolute; bottom: 0; left: 10px; right: 10px; height: 3px; background: var(--green); border-radius: 3px 3px 0 0; }
.main-nav > a:hover { color: var(--green); background: #f9fcfa; }
.account-menu { position: relative; margin-left: 6px; flex: 0 1 auto; min-width: 0; }
.account-menu summary { display: flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; }
.account-menu summary::-webkit-details-marker { display: none; }
.account-menu summary > .icon { width: 15px; height: 15px; color: var(--muted); }
.avatar { display: flex; align-items: center; justify-content: center; width: 37px; height: 37px; border-radius: 50%; background: var(--green-soft); color: var(--green); font-weight: 650; flex: 0 0 auto; }
.account-summary { display: flex; flex-direction: column; min-width: 0; max-width: 140px; }
.account-summary strong { font-size: 12px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-summary small { color: var(--muted); font-size: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-dropdown { position: absolute; top: calc(100% + 18px); right: 0; width: 272px; border: 1px solid var(--line); border-radius: 12px; padding: 9px; box-shadow: 0 12px 35px #153b3020; background: white; z-index: 50; }
.account-full { padding: 10px 12px 14px; border-bottom: 1px solid var(--line); margin-bottom: 5px; overflow-wrap: anywhere; }
.account-full strong { display: block; font-size: 13px; }
.account-full span { color: var(--muted); font-size: 11px; }
.account-dropdown > a, .account-dropdown button { display: flex; width: 100%; gap: 10px; padding: 10px 12px; align-items: center; color: var(--text); border: 0; border-radius: 7px; background: transparent; font-size: 12px; text-align: left; }
.account-dropdown > a:hover, .account-dropdown button:hover { background: var(--bg); }
.account-dropdown .icon { width: 17px; height: 17px; color: var(--green); }
.page-container { max-width: 1536px; min-height: calc(100vh - 159px); padding: 36px 42px 46px; margin: auto; }
.page-container:focus { outline: none; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.page-subtitle { color: var(--muted); font-size: 13px; margin-top: 9px; max-width: 740px; }
.eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--green); margin-bottom: 9px; }
.heading-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); margin-bottom: 21px; }
.back-link .icon { width: 16px; height: 16px; }
.back-link:hover { color: var(--green); }
.app-footer { max-width: 1536px; margin: auto; padding: 18px 42px 23px; display: flex; gap: 24px; align-items: center; color: #7c8c81; font-size: 11px; border-top: 1px solid var(--line); }
.app-footer > a { margin-left: auto; display: inline-flex; gap: 7px; align-items: center; color: var(--muted); }
.app-footer .icon { width: 14px; height: 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 9px; min-height: 43px; padding: 11px 17px; font-size: 12px; font-weight: 600; line-height: 1.4; text-align: center; transition: background .15s, border-color .15s, box-shadow .15s; }
.button .icon { width: 17px; height: 17px; }
.button-primary { background: var(--green); color: white; box-shadow: 0 3px 7px #176c4912; }
.button-primary:hover { background: var(--green-dark); }
.button-secondary { color: var(--green); background: white; border-color: #d1dfd6; }
.button-secondary:hover { border-color: #9fbdab; background: #f9fcfa; }
.button-small { min-height: 33px; padding: 7px 11px; font-size: 11px; }
.button-wide { width: 100%; }
.text-link, .text-button { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--green); }
.text-link:hover, .text-button:hover { text-decoration: underline; }
.text-link .icon, .text-button .icon { width: 15px; height: 15px; }
.text-button { border: 0; padding: 0; background: transparent; }
.text-button.danger { color: var(--danger); }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 8px; color: var(--green); background: white; flex-shrink: 0; }
.icon-button:hover { background: var(--green-soft); }
.icon-button .icon { width: 16px; height: 16px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); min-width: 0; }
.panel-heading { padding: 24px 25px 21px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.panel-heading h2 { font-size: 18px; }
.panel-heading p { color: var(--muted); font-size: 12px; margin-top: 5px; }
.panel-heading > .icon { color: var(--muted); width: 18px; height: 18px; }
.panel-heading.flush { padding: 0; }
.panel-body { padding: 0 25px 25px; }
.panel-padded { padding: 25px; }
.stack { display: grid; gap: 22px; align-content: start; min-width: 0; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 315px; gap: 24px; align-items: start; }
.dashboard-grid > *, .detail-grid > * { min-width: 0; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 27px; }
.metric-card { display: flex; flex-direction: column; padding: 19px 22px 16px; border: 1px solid var(--line); border-radius: 13px; background: white; color: var(--ink); box-shadow: var(--shadow); transition: border-color .15s; }
.metric-card:hover { border-color: #a9c4b2; }
.metric-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 12px; }
.metric-symbol { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; background: #edf3f0; color: var(--green); border-radius: 9px; }
.metric-symbol .icon { width: 18px; height: 18px; }
.metric-symbol.draft { color: #977321; background: var(--gold-soft); }
.metric-symbol.rejected { color: var(--danger); background: var(--danger-soft); }
.metric-value { font-size: 34px; line-height: 1.2; letter-spacing: -1px; font-weight: 650; font-variant-numeric: tabular-nums; margin: 9px 0 15px; }
.metric-bottom { padding-top: 11px; border-top: 1px solid #edf2ee; color: var(--muted); font-size: 10px; display: flex; justify-content: space-between; align-items: center; }
.metric-bottom .icon { width: 14px; height: 14px; }
.steps { list-style: none; padding: 0; margin-top: 25px; }
.steps li { display: flex; gap: 12px; position: relative; padding-bottom: 23px; }
.steps li:last-child { padding-bottom: 0; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 13px; top: 34px; bottom: 6px; width: 1px; background: var(--line); }
.step-number { width: 27px; height: 27px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--green-soft); color: var(--green); font-size: 11px; font-weight: 650; }
.steps strong { display: block; color: var(--ink); font-weight: 600; font-size: 12px; padding-top: 3px; }
.steps p { color: var(--muted); font-size: 11px; line-height: 1.7; margin-top: 5px; }
.import-card { background: linear-gradient(115deg, #edf5ec, #faf8ec); border: 1px solid #e0e8da; border-radius: var(--radius); padding: 23px 25px; }
.import-card > p { font-size: 12px; line-height: 1.75; color: #6a7d6f; margin-top: 8px; }
.small-icon { display: flex; align-items: center; justify-content: center; width: 37px; height: 37px; border-radius: 10px; color: var(--green); background: var(--green-soft); margin-bottom: 15px; }
.inline-links { display: grid; gap: 12px; margin-top: 20px; }
.badge { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 5px 9px; border-radius: 6px; background: #edf1ee; color: #607367; font-size: 10px; line-height: 1.3; font-weight: 600; white-space: nowrap; }
.badge::before { content: ""; display: block; width: 5px; height: 5px; border-radius: 50%; background: currentColor; flex: 0 0 auto; }
.badge.approved { color: #28744b; background: #e7f4eb; }
.badge.draft { color: #957021; background: #fdf3df; }
.badge.queued, .badge.sent { color: #496f8d; background: #edf2f9; }
.badge.rejected, .badge.error { color: #a94f40; background: #fbede9; }
.badge-large { padding: 8px 11px; font-size: 11px; }
.count-pill { display: inline-block; background: var(--green-soft); color: var(--green); border-radius: 12px; padding: 2px 7px; min-width: 23px; text-align: center; font-size: 11px; font-weight: 600; vertical-align: middle; }
.table-wrap { width: 100%; overflow-x: auto; border-radius: var(--radius); }
.data-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; }
.data-table th { color: #788b7e; background: #f9fbf9; font-size: 9px; letter-spacing: .7px; text-transform: uppercase; font-weight: 650; padding: 13px 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); white-space: nowrap; }
.data-table td { padding: 20px 22px; border-bottom: 1px solid #edf2ee; vertical-align: middle; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: #fbfdfb; }
.record-title { display: block; max-width: 340px; color: var(--ink); font-size: 12px; font-weight: 600; overflow-wrap: anywhere; }
.record-title:hover { color: var(--green); text-decoration: underline; }
.record-caption { display: block; color: var(--muted); font-size: 10px; margin-top: 5px; }
.record-number { white-space: nowrap; font-size: 11px; font-variant-numeric: tabular-nums; }
.date-cell { white-space: nowrap; font-size: 11px; font-variant-numeric: tabular-nums; }
.row-action { width: 52px; text-align: right; }
.empty-state { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 62px 28px; }
.empty-icon { display: flex; width: 59px; height: 59px; align-items: center; justify-content: center; margin-bottom: 22px; border-radius: 17px; background: var(--green-soft); color: var(--green); }
.empty-icon .icon { width: 27px; height: 27px; }
.empty-state > h3, .empty-state > h2 { font-size: 20px; }
.empty-state > p { color: var(--muted); font-size: 13px; line-height: 1.85; max-width: 405px; margin: 12px 0 24px; }
.empty-state > .text-link { margin-top: 17px; }
.filter-form { display: flex; align-items: center; gap: 12px; margin-bottom: 23px; padding: 17px 20px; }
.search-field { flex: 1; position: relative; min-width: 100px; }
.search-field > .icon { width: 18px; height: 18px; position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-field > input { padding-left: 40px; }
.filter-select { flex: 0 0 210px; }
.filter-form .text-link { white-space: nowrap; }
.pagination { padding: 18px 22px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 15px; font-size: 11px; color: var(--muted); }
.pagination > div { display: flex; gap: 8px; }
input, select, textarea { width: 100%; border: 1px solid #d1dfd6; border-radius: 8px; padding: 11px 13px; color: var(--text); background: #fff; font-size: 13px; min-height: 43px; transition: border-color .15s; }
input:hover, select:hover, textarea:hover { border-color: #adc5b7; }
input:focus, select:focus, textarea:focus { border-color: var(--green); }
input::placeholder, textarea::placeholder { color: #8a9990; }
textarea { min-height: 108px; resize: vertical; line-height: 1.7; }
input[type=checkbox], input[type=radio] { width: 17px; height: 17px; min-height: 0; accent-color: var(--green); padding: 0; flex: 0 0 auto; margin: 3px 0 0; }
input[type=file] { font-size: 12px; background: #f9fcfa; padding: 9px; }
input[type=file]::file-selector-button { border: 1px solid #c8d9ce; background: white; color: var(--green); border-radius: 5px; padding: 6px 10px; font: inherit; margin-right: 12px; cursor: pointer; }
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 268px; gap: 26px; align-items: start; }
.form-panel { padding: 27px; }
.form-section-heading { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 25px; padding-bottom: 22px; border-bottom: 1px solid #edf2ee; }
.form-section-heading h2 { font-size: 18px; padding-top: 2px; }
.form-section-heading p { color: var(--muted); font-size: 12px; margin-top: 6px; }
.section-number { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; color: var(--green); background: var(--green-soft); font-size: 11px; font-weight: 700; flex: 0 0 auto; }
.section-number .icon { width: 17px; height: 17px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px 25px; }
.form-grid.single-column { grid-template-columns: 1fr; }
.form-field { min-width: 0; }
.form-field > label { display: block; color: var(--ink); font-size: 12px; font-weight: 500; margin-bottom: 8px; }
.required { color: var(--green); }
.form-field.full-width { grid-column: 1 / -1; }
.field-help { color: var(--muted); font-size: 11px; line-height: 1.65; margin-top: 7px; }
.field-help ul { padding-left: 17px; margin-top: 4px; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--danger); background: #fffdfc; }
.field-error { color: var(--danger); font-size: 11px; margin-top: 6px; }
.form-field > label.checkbox-label { display: flex; align-items: flex-start; gap: 9px; margin-top: 2px; }
.checkbox-field { grid-column: 1 / -1; }
.checkbox-field .field-help { margin-left: 26px; }
.form-aside { position: sticky; top: 113px; }
.section-nav { display: grid; gap: 4px; margin-top: 15px; }
.section-nav a { display: flex; gap: 10px; align-items: baseline; padding: 10px 0; font-size: 12px; color: var(--text); }
.section-nav a:hover { color: var(--green); }
.section-nav a > span { color: #90a195; font-size: 10px; }
.section-nav a > .icon { width: 14px; height: 14px; align-self: center; }
.aside-note { display: flex; align-items: flex-start; gap: 10px; margin: 20px 3px 0; color: var(--muted); font-size: 11px; line-height: 1.8; }
.aside-note > .icon { width: 17px; height: 17px; margin-top: 2px; color: #8b9d90; }
.aside-note strong { color: var(--text); font-size: 12px; font-weight: 600; }
.aside-note p + a { margin-top: 10px; }
.form-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 27px; padding-top: 23px; border-top: 1px solid var(--line); }
.save-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 6px 0 0; }
.save-bar strong { font-size: 12px; color: var(--ink); }
.save-bar p { font-size: 11px; margin-top: 4px; color: var(--muted); }
.document-upload { display: grid; gap: 20px; }
.document-upload .form-field { max-width: 400px; }
.upload-field { border: 1px dashed #afc9b9; border-radius: 10px; padding: 24px; background: #fbfdfb; text-align: center; }
.upload-field label { display: flex; align-items: center; flex-direction: column; gap: 7px; cursor: pointer; }
.upload-field label > .icon { width: 25px; height: 25px; color: var(--green); margin-bottom: 5px; }
.upload-field label > strong { font-size: 13px; color: var(--green); font-weight: 600; }
.upload-field label > span { font-size: 11px; color: var(--muted); }
.upload-field input { max-width: 480px; display: block; margin: 17px auto 0; }
.file-selection { overflow-wrap: anywhere; }
.document-limits { color: var(--muted); font-size: 11px; line-height: 1.8; margin-bottom: 23px; }
.attachment-section + .attachment-section { margin-top: 27px; }
.attachment-section > h3 { font-size: 13px; font-weight: 650; color: var(--ink); margin-bottom: 12px; }
.attachment-category-list { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.attachment-category + .attachment-category { border-top: 1px solid var(--line); }
.attachment-category > summary { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 16px; cursor: pointer; list-style: none; background: #fcfdfc; }
.attachment-category > summary::-webkit-details-marker { display: none; }
.attachment-category > summary:hover { background: var(--green-soft); }
.attachment-category[open] > summary { background: var(--green-soft); }
.attachment-category-label { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--ink); font-size: 12px; font-weight: 500; line-height: 1.6; }
.attachment-category-label > .icon { flex-shrink: 0; width: 17px; height: 17px; color: var(--green); }
.attachment-category-meta { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.attachment-category-meta > .icon { width: 16px; height: 16px; color: var(--muted); transition: transform .15s ease; }
.attachment-category[open] .attachment-category-meta > .icon { transform: rotate(180deg); }
.document-required, .document-optional { font-size: 10px; font-weight: 400; white-space: nowrap; }
.document-required { color: #876719; }
.document-optional { color: var(--muted); }
.attachment-category-body { padding: 0 16px 16px; }
.attachment-category-body > .field-help { padding-top: 14px; }
.attachment-category-body .file-list { margin-bottom: 15px; }
.attachment-category .category-upload { border: 0; border-radius: 0; background: transparent; padding: 17px 0 0; text-align: left; }
.category-upload > label { display: block; font-size: 11px; color: var(--ink); line-height: 1.7; }
.category-upload > input { margin: 10px 0 0; max-width: 100%; }
.attachment-detail-section + .attachment-detail-section { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.attachment-detail-section > .eyebrow { font-size: 9px; margin-bottom: 14px; line-height: 1.8; }
.attachment-detail-category + .attachment-detail-category { margin-top: 19px; }
.attachment-detail-category > h3 { font-size: 11px; font-weight: 600; line-height: 1.7; color: var(--ink); margin-bottom: 10px; }
.attachment-detail-category .file-list.compact { margin-top: 0; margin-bottom: 0; }
.attachment-detail-section:last-of-type { margin-bottom: 19px; }
@media (max-width: 700px) { .document-limits { font-size: 10px; } .attachment-section > h3 { font-size: 12px; } .attachment-category > summary { gap: 9px; padding: 14px 12px; align-items: flex-start; } .attachment-category-label { font-size: 11px; gap: 7px; } .attachment-category-label > .icon { width: 15px; height: 15px; margin-top: 2px; } .attachment-category-meta { gap: 5px; padding-top: 2px; } .document-required, .document-optional { font-size: 8px; } .attachment-category-meta > .icon { width: 12px; height: 12px; } .attachment-category-body { padding: 0 12px 14px; } .category-upload { padding: 15px 0 0; } .category-upload > label { font-size: 10px; } }
.file-list { list-style: none; padding: 0; }
.file-list li { display: flex; align-items: flex-start; gap: 11px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.file-list li:last-child { border-bottom: 0; }
.file-list li > div { min-width: 0; flex: 1; }
.file-list li > div > a { display: block; color: var(--ink); font-size: 12px; font-weight: 500; overflow-wrap: anywhere; }
.file-list li > div > a:hover { color: var(--green); }
.file-list li > div > span { display: block; color: var(--muted); font-size: 10px; margin-top: 4px; }
.file-list li > div > form { margin-top: 6px; }
.file-list .text-button { font-size: 10px; }
.file-list .badge { margin-top: 4px; }
.file-icon { display: flex; align-items: center; justify-content: center; width: 31px; height: 37px; background: var(--green-soft); border-radius: 6px; color: var(--green); flex-shrink: 0; }
.file-icon .icon { width: 18px; height: 18px; }
.file-list + .document-upload { margin-top: 23px; }
.file-list.compact { margin-top: -10px; margin-bottom: 15px; }
.file-list.compact .icon-button { width: 29px; height: 29px; border: 0; }
.compact-empty { display: flex; align-items: center; gap: 12px; color: var(--muted); padding: 8px 0 20px; font-size: 12px; }
.compact-empty .icon { color: #a1b3a7; width: 23px; height: 23px; }
.messages { display: grid; gap: 10px; margin-bottom: 22px; }
.notice { display: flex; align-items: flex-start; gap: 11px; border: 1px solid #d4e4da; border-radius: 10px; padding: 16px 19px; background: #edf6f0; color: #2d664b; font-size: 12px; margin-bottom: 22px; }
.messages .notice { margin-bottom: 0; }
.notice > .icon { margin-top: 1px; width: 19px; height: 19px; }
.notice p { margin-top: 4px; font-size: 12px; }
.notice strong { font-weight: 600; }
.notice.error { color: #9b4137; border-color: #ebd4cf; background: var(--danger-soft); }
.notice.info { color: #496a81; border-color: #dce5ec; background: #f0f5f9; }
.notice.warning { color: #86651c; border-color: #ecdfbd; background: #fff8e7; }
.notice ul { padding-left: 17px; margin-top: 4px; }
.errorlist { list-style: none; margin: 0; padding: 0; }
.application-title { max-width: 850px; font-size: 29px; overflow-wrap: anywhere; }
.meta-dot { color: #a4b2a9; margin: 0 7px; }
.data-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 25px 0 0; }
.data-grid > div { min-width: 0; }
.data-grid dt, .meta-list dt { color: var(--muted); font-size: 11px; margin-bottom: 7px; }
.data-grid dd, .meta-list dd { margin: 0; color: var(--text); font-size: 13px; overflow-wrap: anywhere; }
.meta-list { display: grid; gap: 19px; margin: 23px 0 0; }
.meta-list dd { font-size: 12px; }
.meta-list dd .icon { width: 14px; height: 14px; margin-left: 5px; }
.meta-list + .button { margin-top: 24px; }
.section-copy { color: var(--muted); font-size: 12px; line-height: 1.85; margin: 11px 0 0; }
.section-copy + .button { margin-top: 17px; }
.submit-panel > form { margin-top: 19px; }
.submit-panel > .button { margin-top: 19px; }
.submit-consent { display: flex; align-items: flex-start; gap: 9px; margin: 0 0 18px; color: var(--muted); font-size: 10px; line-height: 1.75; }
.submit-consent input { margin-top: 3px; }
.endpoint { display: flex; align-items: flex-start; gap: 12px; padding: 13px 15px; margin-top: 18px; border: 1px solid var(--line); border-radius: 8px; font-size: 11px; }
.endpoint > span { font-weight: 700; color: var(--green); }
.endpoint > code { overflow-wrap: anywhere; color: var(--text); }
.policy-fieldset { padding: 0; margin: 0; border: 0; min-width: 0; }
.policy-fieldset legend { padding: 0; font-size: 18px; color: var(--ink); font-weight: 650; margin-bottom: 22px; }
.checkbox-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 22px; }
.policy-choice { display: flex; align-items: flex-start; gap: 9px; font-size: 12px; line-height: 1.8; }
.policy-actions { margin-top: 0; padding-top: 0; border: 0; }
@media (max-width: 700px) { .checkbox-grid { grid-template-columns: 1fr; gap: 16px; } .policy-fieldset legend { font-size: 17px; } .policy-choice { font-size: 11px; } }
.missing-fields { margin-top: 12px; padding-left: 17px; color: #84691f; font-size: 11px; line-height: 1.8; }
.missing-fields li + li { margin-top: 4px; }
.decision-panel { display: flex; gap: 19px; padding: 26px; border: 1px solid #cadfd1; border-radius: var(--radius); background: #edf6f0; margin-bottom: 25px; }
.decision-panel > div:last-child { flex: 1; min-width: 0; }
.decision-panel > div > p:not(.eyebrow) { color: #5c7a68; font-size: 12px; margin-top: 8px; max-width: 790px; line-height: 1.8; }
.decision-panel .eyebrow { margin-bottom: 6px; font-size: 9px; }
.decision-panel h2 { font-size: 21px; }
.decision-icon { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: #dceee2; color: var(--green); flex: 0 0 auto; }
.decision-icon .icon { width: 25px; height: 25px; }
.decision-panel.rejected { border-color: #ead7ce; background: #fcf2ed; }
.decision-panel.rejected .decision-icon { color: #aa6047; background: #f5e3d9; }
.decision-panel.rejected .eyebrow { color: #9e604a; }
.decision-panel.rejected > div > p:not(.eyebrow) { color: #916c5f; }
.decision-action { margin-top: 20px; }
.decision-action > .field-help { margin-top: 10px; }
.consumer-message { margin-top: 23px; padding: 22px; background: white; border: 1px solid #d7e4dc; border-radius: 10px; max-width: 940px; }
.consumer-message-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 15px; }
.consumer-message-heading strong { color: var(--ink); font-size: 13px; font-weight: 600; }
.consumer-message-heading span { font-size: 10px; color: var(--muted); }
.copy-text { background: #f9fbf9; font-size: 13px; line-height: 1.85; padding: 17px; color: var(--text); }
.message-actions { display: flex; align-items: center; gap: 17px; margin-top: 17px; }
.message-actions .field-help { max-width: 310px; margin: 0; }
.timeline { padding: 0 25px 25px; list-style: none; }
.timeline li { display: flex; gap: 14px; position: relative; padding-bottom: 24px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline-dot { display: block; width: 8px; height: 8px; margin-top: 6px; background: #9bbbA7; border-radius: 50%; flex-shrink: 0; }
.timeline li:not(:last-child)::after { content: ""; position: absolute; top: 19px; bottom: 5px; left: 3px; width: 1px; background: var(--line); }
.timeline strong { font-size: 12px; color: var(--ink); font-weight: 600; }
.timeline p { font-size: 12px; margin-top: 4px; color: var(--muted); }
.timeline time { display: block; color: #8b9b90; font-size: 10px; margin-top: 6px; }
.code-block { white-space: pre-wrap; overflow-wrap: anywhere; background: #f4f7f5; border: 1px solid var(--line); border-radius: 9px; padding: 19px; color: #315e47; font-size: 11px; line-height: 1.85; margin: 13px 0 0; }
.code-block code { font-family: Consolas, "SFMono-Regular", monospace; }
.simple-record-list { list-style: none; padding: 0 25px 15px; }
.simple-record-list li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 0; border-top: 1px solid var(--line); }
.simple-record-list strong, .simple-record-list span { display: block; }
.simple-record-list strong { font-size: 12px; font-weight: 600; }
.simple-record-list span { color: var(--muted); font-size: 11px; margin-top: 4px; }
.simple-record-list > li > .icon { color: var(--green); width: 16px; height: 16px; }
.created-key { margin-bottom: 23px; }
.created-key > label { display: block; color: var(--ink); font-size: 12px; margin-bottom: 8px; }
.created-key .key-text { min-height: 65px; font-family: Consolas, monospace; }
.created-key > .button { margin-top: 12px; }
.created-key .notice { margin-bottom: 17px; }
.api-key-list { list-style: none; padding: 0; }
.api-key-list > li { display: flex; align-items: center; gap: 15px; padding: 16px 0; border-top: 1px solid var(--line); }
.api-key-list > li:first-child { padding-top: 3px; border-top: 0; }
.api-key-list .small-icon { margin: 0; flex-shrink: 0; }
.api-key-info { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.api-key-info strong { color: var(--ink); font-size: 12px; font-weight: 600; }
.api-key-info code { font-size: 11px; color: var(--muted); margin-top: 4px; overflow-wrap: anywhere; }
.api-key-info > span { font-size: 10px; color: var(--muted); margin-top: 5px; }
.section-divider { height: 1px; background: var(--line); margin: 15px 0 23px; }
.key-create-form { display: grid; gap: 17px; margin-top: 18px; }
.key-create-form > .button { justify-self: start; }
.integration-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 23px 0; }
.integration-facts > div { background: var(--bg); border-radius: 8px; padding: 13px 14px; }
.integration-facts span { display: block; color: var(--muted); font-size: 10px; }
.integration-facts strong { display: block; color: var(--ink); font-size: 11px; font-weight: 600; margin-top: 6px; }
.code-heading { display: flex; justify-content: space-between; gap: 15px; align-items: center; margin-top: 25px; }
.code-heading h3 { font-size: 13px; }
.code-block + .text-link { margin-top: 17px; }
.organization-heading { display: flex; align-items: center; gap: 16px; margin-bottom: 21px; }
.organization-heading h2 { overflow-wrap: anywhere; }
.organization-heading p { font-size: 12px; margin-top: 5px; }
.organization-icon { width: 54px; height: 54px; display: flex; align-items: center; justify-content: center; border-radius: 14px; background: var(--green-soft); color: var(--green); flex-shrink: 0; }
.organization-icon .icon { width: 28px; height: 28px; }
.contact-name { font-size: 12px; font-weight: 500; }
.staff-table .row-action { width: 180px; }
.staff-row-actions { display: flex; gap: 7px; align-items: center; justify-content: flex-end; white-space: nowrap; }
@media (max-width: 700px) { .staff-table .row-action { width: auto; } .staff-row-actions { justify-content: flex-start; } .staff-row-actions > a, .staff-row-actions > form { flex: 1; } }
.narrow-container { max-width: 650px; margin: 0 auto; }
.login-page .page-container { max-width: none; padding: 0; min-height: 100vh; }
.login-page .messages { position: fixed; z-index: 60; top: 20px; right: 20px; width: min(420px, calc(100vw - 40px)); }
.login-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100vh; }
.login-story { position: relative; background: #163f32; color: #e7efe9; display: flex; flex-direction: column; overflow: hidden; padding: 51px 60px 34px; }
.login-story::after { content: ""; position: absolute; width: 660px; height: 660px; border: 1px solid #ffffff08; border-radius: 50%; bottom: -330px; right: -220px; box-shadow: 0 0 0 70px #ffffff02, 0 0 0 140px #ffffff02; pointer-events: none; }
.brand-light { color: white; }
.brand-light .brand-word { font-size: 34px; letter-spacing: -1.8px; }
.login-story-content { margin: auto 0; padding: 70px 0; position: relative; z-index: 1; }
.login-story .eyebrow { color: #b9d4c2; font-size: 10px; margin-bottom: 22px; }
.login-story h1 { color: white; font-size: clamp(38px, 3.3vw, 54px); font-weight: 600; line-height: 1.2; letter-spacing: -1.9px; }
.login-story-content > p:not(.eyebrow) { color: #a9c2b4; max-width: 390px; font-size: 15px; line-height: 1.9; margin-top: 24px; }
.login-process { display: flex; align-items: center; gap: 16px; margin-top: 52px; max-width: 390px; }
.login-process > div { display: grid; gap: 12px; }
.login-process > div > span { display: flex; align-items: center; justify-content: center; width: 41px; height: 41px; border: 1px solid #789e843e; border-radius: 11px; background: #244d3e; color: #bdd7c6; }
.login-process .icon { width: 20px; height: 20px; }
.login-process strong { font-size: 11px; line-height: 1.6; font-weight: 500; color: #bed1c5; }
.login-process > i { height: 1px; background: #8db69a40; flex: 1; margin: -40px 0 0; }
.login-story-footer { position: relative; z-index: 1; color: #91ad9c; font-size: 11px; }
.login-panel { display: flex; align-items: center; justify-content: center; padding: 65px 55px; background: #f8fbf8; }
.login-panel-inner { width: 100%; max-width: 370px; }
.login-heading { margin-bottom: 33px; }
.login-heading h2 { font-size: 31px; letter-spacing: -.8px; }
.login-heading > p:not(.eyebrow) { font-size: 13px; line-height: 1.9; color: var(--muted); margin-top: 13px; }
.login-fields { display: grid; gap: 22px; margin-bottom: 26px; }
.login-fields input { min-height: 49px; background: white; }
.login-fields .form-field label { font-size: 12px; }
.login-panel form > .button { min-height: 49px; }
.login-help { display: flex; gap: 11px; padding-top: 24px; margin-top: 26px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; line-height: 1.8; }
.login-help .icon { width: 17px; height: 17px; margin-top: 2px; color: #93a398; }
.login-panel-inner > .text-link { margin-top: 26px; font-size: 11px; }
.login-copyright { color: #95a398; font-size: 10px; margin-top: 48px; }
.mobile-brand { display: none; }
@media (min-width: 1600px) { .page-container { padding-top: 43px; } .metric-card { padding: 22px 25px 18px; } }
@media (max-width: 1350px) { .brand-caption { display: none; } .header-inner { gap: 22px; } .main-nav { gap: 4px; } .main-nav > a { padding: 0 10px; } .account-summary { max-width: 120px; } .data-table td, .data-table th { padding-left: 17px; padding-right: 17px; } }
@media (max-width: 1100px) { .header-inner { padding: 0 28px; } .account-summary { display: none; } .main-nav { margin-left: auto; } .page-container { padding: 30px 28px 40px; } .app-footer { padding-left: 28px; padding-right: 28px; } .dashboard-grid { grid-template-columns: minmax(0, 1fr) 265px; gap: 20px; } .detail-grid { grid-template-columns: minmax(0, 1fr) 280px; gap: 20px; } .panel-padded { padding: 21px; } .panel-heading { padding: 21px 20px 18px; } .panel-body { padding: 0 20px 22px; } .metric-grid { gap: 14px; } .metric-card { padding: 17px 18px 14px; } .metric-top { font-size: 11px; } .form-layout { grid-template-columns: minmax(0, 1fr) 225px; gap: 20px; } .form-panel { padding: 23px; } .login-story { padding: 40px; } .login-panel { padding: 45px 38px; } }
@media (max-width: 960px) { .header-inner { min-height: 77px; flex-wrap: wrap; gap: 0 18px; padding-top: 14px; } .main-nav { order: 3; width: 100%; height: 52px; margin: 5px -8px 0; justify-content: flex-start; gap: 14px; overflow-x: auto; scrollbar-width: thin; } .main-nav > a { padding: 0 9px; font-size: 12px; } .account-menu { margin-left: auto; } .account-summary { display: flex; max-width: 180px; } .account-dropdown { top: calc(100% + 13px); } .app-header { position: relative; } .page-container { min-height: calc(100vh - 205px); } .dashboard-grid, .detail-grid { grid-template-columns: 1fr; } .dashboard-grid > aside { grid-template-columns: 1fr 1fr; } .detail-side { grid-template-columns: 1fr 1fr; align-items: start; } .detail-side > .submit-panel { grid-column: 1 / -1; } .form-layout { grid-template-columns: 1fr; } .form-aside { display: none; } .panel-heading { padding-left: 23px; padding-right: 23px; } .panel-padded { padding: 23px; } .page-heading { align-items: flex-start; } .page-heading > .heading-actions { justify-content: flex-end; } .metric-top { font-size: 11px; } .metric-symbol { width: 29px; height: 29px; } .metric-value { font-size: 30px; } .login-story { padding: 35px; } .login-story h1 { font-size: 37px; } .login-process { gap: 11px; } .login-process strong { font-size: 10px; } .login-panel { padding: 40px 30px; } .login-heading h2 { font-size: 27px; } }
@media (max-width: 700px) { html { scroll-padding-top: 20px; } h1 { font-size: 28px; } h2 { font-size: 18px; } .header-inner { padding: 13px 18px 0; } .brand img { width: 38px; height: 38px; } .brand-word { font-size: 25px; } .account-summary { display: none; } .account-menu summary { gap: 6px; } .account-menu summary > .icon { width: 13px; } .avatar { width: 33px; height: 33px; } .main-nav { margin-top: 7px; gap: 8px; height: 49px; width: calc(100% + 16px); flex-shrink: 0; } .main-nav > a { font-size: 11px; gap: 6px; padding: 0 7px; } .main-nav > a .icon { width: 15px; height: 15px; } .page-container { padding: 26px 18px 34px; } .page-heading { flex-direction: column; gap: 20px; margin-bottom: 23px; } .page-heading > .heading-actions { justify-content: flex-start; width: 100%; } .page-heading > .button { min-height: 41px; } .page-subtitle { font-size: 12px; line-height: 1.8; } .eyebrow { font-size: 9px; letter-spacing: 1.2px; } .heading-actions { gap: 8px; } .button { padding: 10px 14px; font-size: 11px; } .button-small { padding: 7px 10px; font-size: 10px; } .app-footer { padding: 17px 18px 22px; gap: 9px 18px; flex-wrap: wrap; font-size: 10px; } .app-footer > a { margin-left: 0; width: 100%; } .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 22px; } .metric-card { padding: 14px 15px 12px; } .metric-top { font-size: 10px; gap: 5px; } .metric-symbol { width: 27px; height: 27px; border-radius: 8px; } .metric-symbol .icon { width: 15px; height: 15px; } .metric-value { font-size: 29px; margin: 8px 0 12px; } .metric-bottom { font-size: 9px; padding-top: 9px; } .metric-bottom .icon { width: 12px; height: 12px; } .dashboard-grid > aside, .detail-side { grid-template-columns: 1fr; } .detail-side > .submit-panel { grid-column: auto; } .dashboard-grid, .detail-grid, .stack { gap: 18px; } .panel-heading { padding: 20px 18px 18px; align-items: flex-start; } .panel-heading h2 { font-size: 17px; } .panel-heading p { font-size: 11px; line-height: 1.7; } .panel-heading > .text-link { font-size: 10px; padding-top: 4px; white-space: nowrap; gap: 3px; } .panel-heading > .text-link .icon { width: 12px; } .panel-body { padding: 0 18px 21px; } .panel-padded, .import-card { padding: 21px 19px; } .empty-state { padding: 38px 20px; } .empty-state > h2, .empty-state > h3 { font-size: 18px; } .empty-state > p { font-size: 12px; } .filter-form { padding: 16px; flex-wrap: wrap; gap: 10px; } .search-field { flex: 1 0 100%; } .filter-select { flex: 1 1 150px; } .filter-form > .button { min-height: 43px; } .filter-form .text-link { margin-left: 2px; font-size: 11px; } .responsive-table, .responsive-table tbody { display: block; width: 100%; } .responsive-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); } .responsive-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; padding: 17px 18px; border-top: 1px solid var(--line); gap: 12px; position: relative; } .responsive-table td { display: block; border: 0; padding: 0; min-width: 0; } .responsive-table td:first-child { grid-column: 1 / -1; padding-right: 36px; } .responsive-table td:nth-child(2) { grid-column: 1; align-self: center; } .responsive-table td:nth-child(3) { grid-column: 2; grid-row: 2; align-self: center; text-align: right; } .responsive-table td.date-cell { grid-column: 1 / -1; grid-row: 3; font-size: 10px; color: var(--muted); display: flex; gap: 5px; align-items: baseline; } .responsive-table td.date-cell::before { content: "Обновлена "; color: #8a9d8f; } .responsive-table td.date-cell .record-caption { margin-top: 0; } .responsive-table td.row-action { position: absolute; top: 18px; right: 18px; width: auto; } .record-title { font-size: 13px; } .record-caption { font-size: 10px; margin-top: 5px; } .record-number { font-size: 10px; } .responsive-table .row-action .icon-button { width: 29px; height: 29px; } .badge { font-size: 9px; } .badge-large { font-size: 10px; } .pagination { padding: 15px 17px; font-size: 10px; gap: 8px; } .pagination .button .icon { width: 12px; height: 12px; } .pagination .button { font-size: 10px; padding: 7px; } .pagination > div { gap: 5px; } .form-panel { padding: 21px 18px; } .form-grid { grid-template-columns: 1fr; gap: 21px; } .form-section-heading { gap: 11px; padding-bottom: 19px; margin-bottom: 22px; } .form-section-heading h2 { font-size: 17px; } .form-section-heading p { font-size: 11px; } .form-field > label { font-size: 11px; } input, textarea, select { font-size: 14px; } .field-help, .field-error { font-size: 10px; } .save-bar { flex-direction: column; align-items: stretch; gap: 16px; } .save-bar .heading-actions { flex-wrap: nowrap; } .save-bar .heading-actions .button { flex: 1; } .upload-field { padding: 20px 14px; } .upload-field label > span { font-size: 10px; } .file-list li { gap: 9px; } .file-list li > div > a { font-size: 11px; } .file-list .badge { font-size: 8px; } .notice { padding: 15px; font-size: 11px; } .notice p { font-size: 11px; } .application-title { font-size: 26px; } .data-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 21px; } .data-grid dd { font-size: 12px; } .data-grid dt { font-size: 10px; margin-bottom: 6px; } .decision-panel { padding: 20px 17px; gap: 13px; } .decision-icon { width: 33px; height: 33px; } .decision-icon .icon { width: 19px; height: 19px; } .decision-panel h2 { font-size: 19px; } .decision-panel > div > p:not(.eyebrow) { font-size: 11px; } .decision-panel .eyebrow { font-size: 8px; letter-spacing: 1px; } .decision-action > .button { width: 100%; } .decision-panel:has(.consumer-message) { display: block; } .decision-panel:has(.consumer-message) > .decision-icon { margin-bottom: 13px; } .consumer-message { padding: 16px 13px; } .consumer-message-heading { flex-direction: column; align-items: flex-start; gap: 4px; } .consumer-message-heading strong { font-size: 12px; } .copy-text { font-size: 12px; padding: 13px; } .message-actions { flex-direction: column; gap: 10px; align-items: stretch; } .message-actions .field-help { max-width: none; font-size: 10px; } .timeline { padding: 0 19px 22px; } .timeline strong, .timeline p { font-size: 11px; } .code-block { font-size: 10px; padding: 15px 12px; } .integration-facts { grid-template-columns: 1fr; gap: 8px; } .integration-facts > div { display: flex; justify-content: space-between; gap: 12px; } .integration-facts strong { margin: 0; font-size: 10px; } .api-key-list > li { flex-wrap: wrap; gap: 10px; } .api-key-list > li > form { margin-left: 47px; } .api-key-info { min-width: 160px; } .code-heading { flex-wrap: wrap; gap: 10px; } .organization-heading { gap: 12px; align-items: flex-start; } .organization-heading h2 { font-size: 17px; } .organization-icon { width: 43px; height: 43px; border-radius: 11px; } .staff-table tr { grid-template-columns: 1fr; gap: 13px; } .staff-table td:first-child { padding-right: 0; } .staff-table td:nth-child(2), .staff-table td:nth-child(3), .staff-table td:nth-child(4), .staff-table td.row-action { grid-column: auto; grid-row: auto; text-align: left; } .staff-table td:not(:first-child):not(.row-action)::before { content: attr(data-label); display: block; font-size: 9px; color: var(--muted); margin-bottom: 5px; } .staff-table td.row-action { position: static; padding-top: 3px; } .staff-table td.row-action .button { width: 100%; } .login-layout { display: block; } .login-story { display: none; } .login-panel { min-height: 100vh; padding: 38px 28px 25px; align-items: flex-start; } .mobile-brand { display: inline-flex; margin-bottom: 50px; } .mobile-brand .brand-word { font-size: 30px; } .mobile-brand img { width: 46px; height: 46px; } .login-heading h2 { font-size: 29px; } .login-heading p:not(.eyebrow) { font-size: 12px; } .login-copyright { margin-top: 40px; } .login-page .messages { position: relative; top: auto; right: auto; width: auto; margin: 15px 18px 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
@media print { .app-header, .app-footer, .heading-actions, .button, .filter-form, .icon-button, .form-aside { display: none !important; } .page-container { padding: 0; max-width: none; } body { background: white; } .panel { box-shadow: none; break-inside: avoid; } .detail-grid, .dashboard-grid { display: block; } .panel { margin-bottom: 18px; } .copy-text { min-height: 300px; } }
