/* GPREL demonstrator — visual language modelled on EPREL / Europa Component Library */
@font-face { font-family: "GPREL Georgian"; src: url("../fonts/NotoSansGeorgian.ttf") format("truetype"); font-weight: 100 900; unicode-range: U+10A0-10FF, U+1C90-1CBF, U+2D00-2D2F; }
@font-face { font-family: "GPREL Fallback"; src: url("../fonts/DejaVuSans.ttf") format("truetype"); font-weight: 400; }
@font-face { font-family: "GPREL Fallback"; src: url("../fonts/DejaVuSans-Bold.ttf") format("truetype"); font-weight: 700; }

:root {
  --blue: #004494; --blue-dark: #002f67; --blue-75: #4073af; --blue-25: #bfd0e4; --blue-10: #e3ebf5; --blue-5: #f3f6fc;
  --yellow: #ffd617; --yellow-dark: #f5c400;
  --ink: #171a22; --grey: #515560; --grey-light: #707070; --line: #cfdaf5; --line-grey: #d9dde3; --bg: #f5f7fa;
  --green: #467a39; --green-bg: #eaf3e7; --red: #b3261e; --red-bg: #fbeceb; --orange: #a65b00; --orange-bg: #fff4e0;
  --ge-red: #da291c;
  --radius: 4px; --shadow: 0 2px 6px rgba(9, 49, 142, .08), 0 8px 20px rgba(9, 49, 142, .06);
  --font: Arial, "Helvetica Neue", Helvetica, "GPREL Georgian", "GPREL Fallback", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.5; color: var(--ink); background: #fff; }
html[lang="ka"] body { font-family: "GPREL Georgian", Arial, "GPREL Fallback", sans-serif; }
a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--blue-dark); text-decoration-thickness: 2px; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: 2rem; } h2 { font-size: 1.5rem; } h3 { font-size: 1.2rem; } h4 { font-size: 1rem; }
p { margin: 0 0 1em; }
img, svg { max-width: 100%; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* ---------- demo ribbon + header ---------- */
.demo-ribbon { background: var(--yellow); color: #1a1a1a; font-size: .82rem; font-weight: 700; text-align: center; padding: 5px 12px; letter-spacing: .01em; }
.demo-ribbon span { font-weight: 400; }
.site-header { background: #fff; border-bottom: 1px solid var(--line-grey); }
.site-header .container { display: flex; align-items: center; gap: 18px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand svg { flex: none; box-shadow: 0 0 0 1px #d0d5db; }
.brand-name { font-size: 1.55rem; font-weight: 700; color: var(--blue); letter-spacing: .02em; line-height: 1; }
.brand-sub { font-size: .8rem; color: var(--grey); line-height: 1.25; margin-top: 3px; }
.brand-divider { width: 1px; align-self: stretch; background: var(--line-grey); }
.header-tools { margin-left: auto; display: flex; align-items: center; gap: 14px; font-size: .9rem; white-space: nowrap; }
.lang-switch { display: inline-flex; align-items: center; border: 2px solid var(--blue); border-radius: 22px; overflow: hidden; background: #fff; }
.lang-switch .icon { margin: 0 2px 0 9px; color: var(--blue); width: 18px; height: 18px; }
.lang-switch a { padding: 6px 12px; text-decoration: none; color: var(--blue); font-weight: 700; font-size: .86rem; line-height: 1.2; }
.lang-switch a:hover { background: var(--blue-10); }
.lang-switch a.active { background: var(--blue); color: #fff; }
.lang-switch a[lang="ka"] { font-family: "GPREL Georgian", Arial, sans-serif; }
body.lang-ka { font-family: "GPREL Georgian", Arial, "GPREL Fallback", sans-serif; }
.user-chip { display: inline-flex; align-items: center; gap: 8px; color: var(--grey); }
.user-chip strong { color: var(--ink); }
.role-tag { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 2px 7px; border-radius: 3px; background: var(--blue-10); color: var(--blue); }
.role-tag.msa { background: #2b1d4f; color: #fff; }
.role-tag.supplier { background: var(--green-bg); color: var(--green); }

.site-nav { background: var(--blue); }
.site-nav.msa { background: #1b2a4a; }
.site-nav .container { display: flex; align-items: stretch; gap: 2px; flex-wrap: wrap; }
.site-nav a { color: #fff; text-decoration: none; padding: 12px 16px; font-size: .95rem; display: inline-flex; align-items: center; gap: 8px; border-bottom: 4px solid transparent; }
.site-nav a:hover { background: rgba(255, 255, 255, .12); }
.site-nav a.active { border-bottom-color: var(--yellow); background: rgba(255, 255, 255, .1); font-weight: 700; }
.site-nav .spacer { flex: 1; }
.site-nav .count { background: var(--yellow); color: #1a1a1a; font-size: .72rem; font-weight: 700; border-radius: 10px; padding: 1px 7px; }

/* ---------- page header ---------- */
.page-head { background: var(--blue-5); border-bottom: 1px solid var(--line); padding: 20px 0 22px; }
.page-head h1 { margin: 4px 0 0; font-size: 1.8rem; }
.page-head .lead { margin: 8px 0 0; color: var(--grey); max-width: 820px; }
.breadcrumb { font-size: .85rem; color: var(--grey); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.breadcrumb a { color: var(--blue); }
.breadcrumb .sep { color: #9aa3ad; }
.page-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.page-actions { display: flex; gap: 10px; flex-wrap: wrap; }
main { padding: 28px 0 56px; min-height: 50vh; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; font-size: .95rem; padding: 10px 18px; border-radius: var(--radius);
  border: 2px solid var(--blue); background: var(--blue); color: #fff; text-decoration: none; cursor: pointer; line-height: 1.2; }
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn.secondary { background: #fff; color: var(--blue); }
.btn.secondary:hover { background: var(--blue-10); color: var(--blue-dark); }
.btn.cta { background: var(--yellow); border-color: var(--yellow); color: #1a1a1a; }
.btn.cta:hover { background: var(--yellow-dark); border-color: var(--yellow-dark); color: #000; }
.btn.ghost { background: transparent; border-color: transparent; color: var(--blue); padding-left: 8px; padding-right: 8px; text-decoration: underline; font-weight: 400; }
.btn.ghost:hover { background: var(--blue-10); }
.btn.danger { background: #fff; border-color: var(--red); color: var(--red); }
.btn.danger:hover { background: var(--red); color: #fff; }
.btn.small { padding: 6px 11px; font-size: .84rem; }
.btn[disabled], .btn.disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }
.btn svg { width: 18px; height: 18px; flex: none; }
.icon { width: 20px; height: 20px; vertical-align: -4px; flex: none; }

/* ---------- cards, panels ---------- */
.card { background: #fff; border: 1px solid var(--line-grey); border-radius: var(--radius); padding: 20px; }
.card + .card { margin-top: 18px; }
.card h2 { font-size: 1.2rem; }
.card h3 { font-size: 1.05rem; }
.card.flush { padding: 0; overflow: hidden; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line-grey); background: var(--blue-5); }
.card-head h2, .card-head h3 { margin: 0; font-size: 1.05rem; }
.card-body { padding: 18px 20px; }
.grid { display: grid; gap: 18px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.layout-side { display: grid; grid-template-columns: 290px 1fr; gap: 26px; align-items: start; }
.layout-main-side { display: grid; grid-template-columns: 1fr 340px; gap: 26px; align-items: start; }
.grid > *, .layout-side > *, .layout-main-side > *, .detail-grid > *, .login-wrap > * { min-width: 0; }
.grid > .card + .card { margin-top: 0; }
@media (max-width: 900px) { .grid.cols-2, .grid.cols-3, .grid.cols-4, .layout-side, .layout-main-side { grid-template-columns: 1fr; } }
.muted { color: var(--grey); }
.small { font-size: .86rem; }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.mt0 { margin-top: 0; } .mt1 { margin-top: 10px; } .mt2 { margin-top: 20px; } .mt3 { margin-top: 32px; } .mb0 { margin-bottom: 0; } .mb1 { margin-bottom: 10px; } .mb2 { margin-bottom: 20px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }

/* ---------- messages ---------- */
.flash { border-left: 6px solid var(--blue); background: var(--blue-10); padding: 12px 16px; margin: 0 0 16px; border-radius: 0 var(--radius) var(--radius) 0; display: flex; gap: 10px; align-items: flex-start; }
.flash.success { border-color: var(--green); background: var(--green-bg); }
.flash.error { border-color: var(--red); background: var(--red-bg); }
.flash.warning { border-color: #d98200; background: var(--orange-bg); }
.notice { border: 1px solid var(--line); border-left: 6px solid var(--blue); background: var(--blue-5); padding: 14px 16px; border-radius: var(--radius); }
.notice.warning { border-color: #f0cf8a; border-left-color: #d98200; background: var(--orange-bg); }
.notice.error { border-color: #ecb5b1; border-left-color: var(--red); background: var(--red-bg); }
.notice.success { border-color: #b9d6b1; border-left-color: var(--green); background: var(--green-bg); }
.notice h3, .notice h4 { margin-bottom: 4px; font-size: 1rem; }
.notice p:last-child { margin-bottom: 0; }

/* ---------- tags ---------- */
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: .76rem; font-weight: 700; padding: 3px 9px; border-radius: 12px; background: #e9ecef; color: #343a40; white-space: nowrap; }
.tag.green { background: var(--green-bg); color: #2f5a25; }
.tag.red { background: var(--red-bg); color: var(--red); }
.tag.orange { background: var(--orange-bg); color: var(--orange); }
.tag.blue { background: var(--blue-10); color: var(--blue); }
.tag.purple { background: #ece6f7; color: #4a2f86; }
.tag.dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* ---------- home ---------- */
.hero { background: linear-gradient(110deg, var(--blue) 0%, #0a5ab9 100%); color: #fff; padding: 44px 0 50px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -60px; top: -80px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .06); }
.hero h1 { color: #fff; font-size: 2.3rem; max-width: 760px; }
.hero p { max-width: 720px; font-size: 1.08rem; color: #e6eefb; }
.hero-search { display: flex; gap: 0; max-width: 720px; margin-top: 22px; position: relative; z-index: 1; }
.hero-search input { flex: 1; font: inherit; padding: 14px 16px; border: 2px solid #fff; border-right: 0; border-radius: var(--radius) 0 0 var(--radius); min-width: 0; }
.hero-search button { border-radius: 0 var(--radius) var(--radius) 0; padding: 0 26px; font-size: 1rem; }
.hero-stats { display: flex; gap: 34px; margin-top: 26px; flex-wrap: wrap; position: relative; z-index: 1; }
.hero-stats div { font-size: .9rem; color: #d5e2f6; }
.hero-stats strong { display: block; font-size: 1.7rem; color: #fff; line-height: 1.1; }
.section-title { font-size: 1.45rem; margin: 0 0 16px; padding-bottom: 8px; border-bottom: 3px solid var(--yellow); display: inline-block; }
.group-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.group-tile { display: flex; gap: 18px; border: 1px solid var(--line-grey); border-radius: var(--radius); padding: 22px; text-decoration: none; color: var(--ink); background: #fff; position: relative; transition: box-shadow .15s, border-color .15s; border-top: 4px solid var(--blue); }
.group-tile:hover { box-shadow: var(--shadow); border-color: var(--blue); color: var(--ink); }
.group-tile .gicon { width: 64px; height: 64px; flex: none; color: var(--blue); }
.group-tile h3 { color: var(--blue); margin-bottom: 4px; font-size: 1.25rem; text-decoration: underline; }
.group-tile p { margin: 0 0 8px; color: var(--grey); font-size: .93rem; }
.group-tile .count { font-weight: 700; }
.future-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.future-tile { border: 1px dashed #b9c0c8; border-radius: var(--radius); padding: 14px; color: var(--grey); background: #fafbfc; display: flex; gap: 10px; align-items: center; font-size: .88rem; }
.future-tile .gicon { width: 32px; height: 32px; flex: none; color: #8a939c; }
.future-tile small { display: block; color: #8a939c; }
@media (max-width: 900px) { .group-tiles { grid-template-columns: 1fr; } .future-tiles { grid-template-columns: repeat(2, 1fr); } }
.who { border-top: 4px solid var(--blue-25); }
.who .gicon { width: 40px; height: 40px; color: var(--blue); }
.qr-box { display: flex; gap: 22px; align-items: center; background: var(--blue-5); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.qr-box .qr-art { width: 96px; flex: none; }
.inline-form { display: flex; gap: 8px; flex-wrap: wrap; }
.inline-form input[type=text] { min-width: 250px; }

/* ---------- forms ---------- */
label { font-weight: 700; display: block; margin-bottom: 4px; font-size: .93rem; }
label .opt { font-weight: 400; color: var(--grey-light); }
label .req { color: var(--red); }
input[type=text], input[type=number], input[type=date], input[type=password], input[type=email], input[type=search], select, textarea {
  font: inherit; width: 100%; padding: 9px 11px; border: 1px solid #6b7480; border-radius: var(--radius); background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--yellow); outline-offset: 0; border-color: var(--blue); }
textarea { min-height: 96px; resize: vertical; }
.field { margin-bottom: 16px; }
.field .help { font-size: .84rem; color: var(--grey); margin-top: 4px; }
.field .error { font-size: .86rem; color: var(--red); font-weight: 700; margin-top: 4px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); border-width: 2px; }
.input-unit { display: flex; }
.input-unit input { border-radius: var(--radius) 0 0 var(--radius); }
.input-unit span { border: 1px solid #6b7480; border-left: 0; background: #eef0f3; padding: 9px 11px; border-radius: 0 var(--radius) var(--radius) 0; white-space: nowrap; color: var(--grey); font-size: .9rem; display: flex; align-items: center; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 22px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 760px) { .form-grid { grid-template-columns: 1fr; } }
.check { display: flex; gap: 9px; align-items: flex-start; font-weight: 400; margin: 5px 0; cursor: pointer; }
.check input { margin-top: 4px; width: 17px; height: 17px; flex: none; accent-color: var(--blue); }
.checks-inline { display: flex; flex-wrap: wrap; gap: 4px 18px; }
fieldset { border: 1px solid var(--line-grey); border-radius: var(--radius); padding: 16px 18px 6px; margin: 0 0 18px; }
legend { font-weight: 700; padding: 0 8px; color: var(--blue); }
.form-actions { display: flex; gap: 10px; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-grey); }

/* ---------- filters / results (public list) ---------- */
.filters { border: 1px solid var(--line-grey); border-radius: var(--radius); background: #fff; }
.filters-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: var(--blue); color: #fff; border-radius: 3px 3px 0 0; }
.filters-head h2 { color: #fff; font-size: 1.05rem; margin: 0; }
.filters-head a { color: #fff; font-size: .85rem; }
.filter-group { border-bottom: 1px solid var(--line-grey); }
.filter-group > summary { list-style: none; cursor: pointer; padding: 12px 16px; font-weight: 700; font-size: .93rem; display: flex; justify-content: space-between; align-items: center; }
.filter-group > summary::-webkit-details-marker { display: none; }
.filter-group > summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg); transition: transform .15s; margin-right: 4px; }
.filter-group[open] > summary::after { transform: rotate(-135deg); }
.filter-body { padding: 0 16px 14px; }
.class-check { display: flex; align-items: center; gap: 10px; margin: 5px 0; cursor: pointer; font-weight: 400; }
.class-check input { width: 17px; height: 17px; accent-color: var(--blue); }
.class-check .n { color: var(--grey-light); font-size: .82rem; margin-left: auto; }
.range-row { display: flex; gap: 8px; align-items: center; }
.range-row input { padding: 7px 8px; }
.filters .btn { width: 100%; }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line-grey); }
.results-bar .count { font-size: 1.1rem; }
.results-bar select { width: auto; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.chip { display: inline-flex; gap: 6px; align-items: center; background: var(--blue-10); color: var(--blue-dark); border-radius: 14px; padding: 3px 10px; font-size: .82rem; text-decoration: none; }
.chip:hover { background: var(--blue-25); }
.result { display: grid; grid-template-columns: 92px 1fr auto; gap: 18px; align-items: center; border: 1px solid var(--line-grey); border-radius: var(--radius); padding: 16px 18px; background: #fff; margin-bottom: 12px; position: relative; }
.result:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.result .rc { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.result h3 { margin: 0 0 2px; font-size: 1.1rem; }
.result h3 a { text-decoration: none; }
.result h3 a::after { content: ""; position: absolute; inset: 0; }
.result h3 a:hover { text-decoration: underline; }
.result .brand-line { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--grey); font-weight: 700; }
.result .specs { display: flex; gap: 6px 22px; flex-wrap: wrap; margin-top: 8px; font-size: .88rem; color: var(--grey); }
.result .specs strong { color: var(--ink); }
.result .ra { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; position: relative; z-index: 1; }
.result .reg { font-size: .78rem; color: var(--grey-light); }
@media (max-width: 640px) { .result { grid-template-columns: 70px 1fr; } .result .ra { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; } }
.pagination { display: flex; gap: 6px; justify-content: center; align-items: center; margin-top: 22px; flex-wrap: wrap; }
.pagination a, .pagination span { padding: 7px 13px; border: 1px solid var(--line-grey); border-radius: var(--radius); text-decoration: none; font-size: .9rem; }
.pagination .current { background: var(--blue); color: #fff; border-color: var(--blue); font-weight: 700; }
.pagination .disabled { color: #a8afb7; }
.class-arrow { display: block; }
.compare-bar { position: sticky; bottom: 0; background: #fff; border-top: 3px solid var(--blue); box-shadow: 0 -6px 18px rgba(0, 0, 0, .1); padding: 12px 0; display: none; z-index: 5; }
.compare-bar.on { display: block; }

/* ---------- detail ---------- */
.detail-head { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.detail-head .class-arrow { height: 54px; }
.detail-grid { display: grid; grid-template-columns: 330px 1fr; gap: 30px; align-items: start; }
@media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr; } }
.label-frame { border: 1px solid var(--line-grey); border-radius: var(--radius); padding: 18px; background: #fff; text-align: center; }
.label-frame svg.energy-label { width: 100%; max-width: 280px; height: auto; filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .12)); }
.dl-list { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.dl-list .btn { width: 100%; }
table.params { width: 100%; border-collapse: collapse; }
table.params th, table.params td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line-grey); vertical-align: top; font-size: .95rem; }
table.params th { font-weight: 400; color: var(--grey); width: 56%; }
table.params td { font-weight: 700; }
table.params tr:nth-child(odd) { background: #fafbfd; }
table.params td .u { font-weight: 400; color: var(--grey); }
.kv { display: grid; grid-template-columns: 180px 1fr; gap: 6px 14px; font-size: .93rem; margin: 0; }
.kv dt { color: var(--grey); }
.kv dd { margin: 0; font-weight: 700; word-break: break-word; }
.qr-panel { display: flex; gap: 16px; align-items: center; }
.qr-panel > svg { width: 120px; height: 120px; flex: none; border: 1px solid var(--line-grey); }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.data th { text-align: left; background: var(--blue-5); border-bottom: 2px solid var(--blue); padding: 10px 12px; font-size: .82rem; text-transform: uppercase; letter-spacing: .03em; color: var(--blue-dark); white-space: nowrap; }
table.data td { padding: 10px 12px; border-bottom: 1px solid var(--line-grey); vertical-align: middle; }
table.data tr:hover td { background: #f8fafd; }
table.data td.actions { white-space: nowrap; text-align: right; }
table.data .sub { display: block; font-size: .8rem; color: var(--grey); }
.empty { text-align: center; color: var(--grey); padding: 34px 20px; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 16px; }
.toolbar .field { margin: 0; }
.toolbar label { font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; color: var(--grey); }
.toolbar select, .toolbar input { padding: 7px 9px; min-width: 150px; }

/* ---------- KPIs ---------- */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 22px; }
.kpi { background: #fff; border: 1px solid var(--line-grey); border-left: 5px solid var(--blue); border-radius: var(--radius); padding: 14px 16px; text-decoration: none; color: var(--ink); display: block; }
a.kpi:hover { box-shadow: var(--shadow); color: var(--ink); }
.kpi .n { font-size: 1.9rem; font-weight: 700; line-height: 1.1; color: var(--blue); }
.kpi .l { font-size: .85rem; color: var(--grey); }
.kpi.red { border-left-color: var(--red); } .kpi.red .n { color: var(--red); }
.kpi.orange { border-left-color: #d98200; } .kpi.orange .n { color: var(--orange); }
.kpi.green { border-left-color: var(--green); } .kpi.green .n { color: var(--green); }
.bars { display: flex; flex-direction: column; gap: 5px; }
.bar-row { display: grid; grid-template-columns: 44px 1fr 30px; gap: 8px; align-items: center; font-size: .82rem; }
.bar-row .bar { height: 16px; border-radius: 2px; min-width: 2px; }
.bar-row .cls { font-weight: 700; }

/* ---------- wizard ---------- */
.steps { display: flex; list-style: none; margin: 0 0 24px; padding: 0; counter-reset: step; border: 1px solid var(--line-grey); border-radius: var(--radius); overflow: hidden; background: #fff; }
.steps li { flex: 1; counter-increment: step; min-width: 0; }
.steps a { display: flex; gap: 10px; align-items: center; padding: 12px 14px; text-decoration: none; color: var(--grey); font-size: .86rem; border-right: 1px solid var(--line-grey); height: 100%; line-height: 1.25; }
.steps li:last-child a { border-right: 0; }
.steps a::before { content: counter(step); width: 26px; height: 26px; border-radius: 50%; border: 2px solid #9aa3ad; display: flex; align-items: center; justify-content: center; font-weight: 700; flex: none; font-size: .82rem; background: #fff; color: var(--grey); }
.steps li.done a::before { content: "✓"; background: var(--green); border-color: var(--green); color: #fff; }
.steps li.current a { background: var(--blue); color: #fff; font-weight: 700; }
.steps li.current a::before { border-color: #fff; color: var(--blue); }
.steps a:hover { background: var(--blue-10); }
.steps li.current a:hover { background: var(--blue-dark); }
@media (max-width: 800px) { .steps { flex-direction: column; } .steps a { border-right: 0; border-bottom: 1px solid var(--line-grey); } }
.compartments th { font-size: .78rem; text-align: left; padding: 4px 6px; color: var(--grey); }
.compartments td { padding: 3px 6px 3px 0; }
.compartments input, .compartments select { padding: 7px 8px; }
.class-picker { display: flex; gap: 8px; flex-wrap: wrap; }
.class-picker label { margin: 0; cursor: pointer; }
.class-picker input { position: absolute; opacity: 0; }
.class-picker .class-arrow { opacity: .35; transition: opacity .12s, transform .12s; }
.class-picker input:checked + .class-arrow { opacity: 1; transform: scale(1.12); filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .3)); }
.class-picker input:focus-visible + .class-arrow { outline: 3px solid var(--yellow); outline-offset: 3px; }
.class-picker label:hover .class-arrow { opacity: .8; }
.doc-part { border: 1px solid var(--line-grey); border-radius: var(--radius); margin-bottom: 14px; background: #fff; }
.doc-part-head { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; }
.doc-part-head .state { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; flex: none; font-size: .9rem; }
.state.ok { background: var(--green); color: #fff; }
.state.missing { background: #fff; border: 2px solid var(--red); color: var(--red); }
.state.optional { background: #fff; border: 2px dashed #9aa3ad; color: #9aa3ad; }
.doc-part-head h3 { margin: 0 0 2px; font-size: 1rem; }
.doc-files { border-top: 1px solid var(--line-grey); }
.doc-file { display: flex; gap: 12px; align-items: center; padding: 10px 16px 10px 56px; border-bottom: 1px solid #eef0f3; font-size: .9rem; }
.doc-file:last-child { border-bottom: 0; }
.doc-file .fi { width: 30px; height: 36px; flex: none; color: var(--red); }
.doc-upload { background: var(--blue-5); border-top: 1px solid var(--line-grey); padding: 12px 16px 12px 56px; }
.dropzone { border: 2px dashed var(--blue-75); border-radius: var(--radius); background: #fff; padding: 14px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; transition: background .12s; }
.dropzone.drag { background: var(--blue-10); border-color: var(--blue); }
.dropzone input[type=file] { font: inherit; font-size: .88rem; max-width: 100%; }
.dropzone .fname { font-weight: 700; }
.checklist-result { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line-grey); align-items: flex-start; }
.checklist-result:last-child { border-bottom: 0; }
.lvl { width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .8rem; flex: none; color: #fff; }
.lvl.ok { background: var(--green); } .lvl.error { background: var(--red); } .lvl.warning { background: #d98200; }
.progress { height: 8px; background: #e3e7ec; border-radius: 4px; overflow: hidden; min-width: 90px; }
.progress span { display: block; height: 100%; background: var(--green); }

/* ---------- login ---------- */
.login-wrap { display: grid; grid-template-columns: 400px 1fr; gap: 30px; align-items: start; }
@media (max-width: 900px) { .login-wrap { grid-template-columns: 1fr; } }
.demo-accounts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (max-width: 640px) { .demo-accounts { grid-template-columns: 1fr; } }
.demo-account { text-align: left; font: inherit; border: 1px solid var(--line-grey); border-radius: var(--radius); background: #fff; padding: 11px 13px; cursor: pointer; display: block; width: 100%; }
.demo-account:hover { border-color: var(--blue); background: var(--blue-5); }
.demo-account code { background: #eef0f3; padding: 1px 6px; border-radius: 3px; font-size: .88rem; }
.demo-account .who { border: 0; display: block; font-weight: 700; margin-bottom: 2px; }
.demo-account .org { display: block; font-size: .82rem; color: var(--grey); margin-bottom: 5px; }

/* ---------- MSA ---------- */
.tabs { display: flex; gap: 2px; border-bottom: 2px solid var(--blue); margin-bottom: 20px; flex-wrap: wrap; }
.tabs button { font: inherit; font-weight: 700; font-size: .93rem; border: 1px solid var(--line-grey); border-bottom: 0; background: #eef1f5; color: var(--grey); padding: 10px 16px; border-radius: var(--radius) var(--radius) 0 0; cursor: pointer; display: inline-flex; gap: 7px; align-items: center; }
.tabs button[aria-selected=true] { background: var(--blue); color: #fff; border-color: var(--blue); }
.tabs button .n { background: rgba(0, 0, 0, .12); border-radius: 9px; padding: 0 7px; font-size: .76rem; }
.tabs button[aria-selected=true] .n { background: rgba(255, 255, 255, .25); }
.tab-panel[hidden] { display: none; }
.restricted { background: #2b1d4f; color: #fff; font-size: .8rem; padding: 5px 0; text-align: center; letter-spacing: .02em; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: var(--line-grey); }
.timeline li { position: relative; padding: 0 0 16px 36px; }
.timeline li::before { content: ""; position: absolute; left: 4px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); }
.timeline li.finding::before { border-color: var(--red); }
.timeline li.request::before, .timeline li.reply::before { border-color: #d98200; }
.timeline li.closed::before { border-color: var(--green); background: var(--green); }
.timeline .meta { font-size: .8rem; color: var(--grey); }
.stage-track { display: flex; margin: 0 0 20px; padding: 0; list-style: none; }
.stage-track li { flex: 1; text-align: center; font-size: .76rem; color: var(--grey); position: relative; padding-top: 26px; line-height: 1.2; }
.stage-track li::before { content: ""; position: absolute; top: 4px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: #fff; border: 3px solid #b9c0c8; z-index: 1; }
.stage-track li::after { content: ""; position: absolute; top: 11px; left: -50%; width: 100%; height: 3px; background: #b9c0c8; }
.stage-track li:first-child::after { display: none; }
.stage-track li.past::before { background: var(--blue); border-color: var(--blue); }
.stage-track li.past::after, .stage-track li.now::after { background: var(--blue); }
.stage-track li.now::before { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-25); }
.stage-track li.now { color: var(--ink); font-weight: 700; }
.check-item { display: grid; grid-template-columns: 1fr 250px; gap: 8px 16px; padding: 12px 0; border-bottom: 1px solid var(--line-grey); align-items: start; }
.check-item:last-child { border-bottom: 0; }
.check-item .seg { display: inline-flex; border: 1px solid #6b7480; border-radius: var(--radius); overflow: hidden; }
.check-item .seg label { margin: 0; font-weight: 700; font-size: .78rem; padding: 6px 10px; cursor: pointer; border-right: 1px solid #c3c9d0; background: #fff; color: var(--grey); }
.check-item .seg label:last-child { border-right: 0; }
.check-item .seg input { position: absolute; opacity: 0; }
.check-item .seg input:checked + span { color: inherit; }
.check-item .seg label:has(input:checked) { color: #fff; }
.check-item .seg label.pass:has(input:checked) { background: var(--green); }
.check-item .seg label.fail:has(input:checked) { background: var(--red); }
.check-item .seg label.na:has(input:checked) { background: #6b7480; }
.check-item .seg label.pending:has(input:checked) { background: var(--blue); }
.check-item .seg label:has(input:focus-visible) { outline: 3px solid var(--yellow); outline-offset: -3px; }
.check-item input[type=text] { padding: 6px 9px; font-size: .88rem; margin-top: 6px; }
.hint { font-size: .8rem; margin-top: 3px; }
.hint.fail { color: var(--red); } .hint.pass { color: var(--green); } .hint.warn { color: var(--orange); }
@media (max-width: 760px) { .check-item { grid-template-columns: 1fr; } }
.doc-viewer { width: 100%; height: 640px; border: 1px solid var(--line-grey); border-radius: var(--radius); background: #525659; }
.msg { border: 1px solid var(--line-grey); border-radius: 8px; padding: 12px 14px; margin-bottom: 12px; max-width: 86%; background: #fff; }
.msg.msa { border-left: 5px solid #2b1d4f; }
.msg.supplier { border-left: 5px solid var(--green); margin-left: auto; background: #fbfdfa; }
.msg .meta { font-size: .8rem; color: var(--grey); margin-bottom: 4px; }
.msg .attach { display: inline-flex; gap: 8px; align-items: center; margin-top: 8px; padding: 6px 10px; background: var(--blue-5); border: 1px solid var(--line); border-radius: var(--radius); font-size: .88rem; }
.diff-old { background: var(--red-bg); text-decoration: line-through; color: var(--red); }
.diff-new { background: var(--green-bg); color: #2f5a25; font-weight: 700; }

/* ---------- footer ---------- */
.site-footer { background: var(--blue); color: #dbe6f6; padding: 30px 0 26px; font-size: .88rem; }
.site-footer a { color: #fff; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 8px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 5px; }
.site-footer .legal { border-top: 1px solid rgba(255, 255, 255, .25); margin-top: 22px; padding-top: 14px; font-size: .8rem; color: #c3d3ec; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr; } .site-header .container { flex-wrap: wrap; } .header-tools { margin-left: 0; } .brand-sub { display: none; } }

@media print {
  .demo-ribbon, .site-nav, .site-footer, .header-tools, .no-print, .restricted, .tabs, .compare-bar { display: none !important; }
  .tab-panel[hidden] { display: block !important; }
  body { font-size: 12px; } main { padding: 10px 0; }
  .card { break-inside: avoid; }
  a { text-decoration: none; color: inherit; }
}

/* ---------- refinements ---------- */
.site-nav.portal a { padding: 12px 11px; font-size: .88rem; gap: 6px; }
.site-nav.portal a .icon { width: 17px; height: 17px; }
aside > * + * { margin-top: 18px; }
.card + .doc-part, .doc-part + .form-actions { margin-top: 18px; }
.qr-box + .section-title, .grid + .section-title { margin-top: 36px; }
@media (max-width: 640px) {
  .inline-form input[type=text] { min-width: 0; flex: 1 1 160px; }
  .qr-box { flex-direction: column; align-items: flex-start; }
  .hero h1 { font-size: 1.8rem; }
  .site-nav a { padding: 10px 12px; font-size: .88rem; }
  .page-head h1 { font-size: 1.45rem; }
  .steps a { font-size: .82rem; }
}
html[lang="ka"] .site-nav a { font-size: .86rem; padding: 12px 10px; }
.latest { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.latest a { display: block; border: 1px solid var(--line-grey); border-radius: var(--radius); padding: 14px; text-decoration: none; color: var(--ink); background: #fff; }
.latest a:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.latest strong { display: block; color: var(--blue); margin-top: 8px; }
.latest small { color: var(--grey); display: block; }
@media (max-width: 900px) { .latest { grid-template-columns: repeat(2, 1fr); } }
table.data th { white-space: normal; }
@media (max-width: 760px) {
  .header-tools { flex-wrap: wrap; white-space: normal; row-gap: 8px; }
  .user-chip { flex-wrap: wrap; }
  .restricted { padding-left: 10px; padding-right: 10px; }
  .page-actions .btn { font-size: .84rem; padding: 8px 12px; }
  .msg { max-width: 100%; }
  .doc-file { padding-left: 16px; flex-wrap: wrap; }
  .doc-upload { padding-left: 16px; }
  .kv { grid-template-columns: 1fr !important; gap: 0 0; }
  .kv dd { margin-bottom: 8px; }
  .stage-track li { font-size: .62rem; }
}
table.data th, table.data td { padding-left: 10px; padding-right: 10px; }
.lvl.info { background: var(--blue-75); }
label .ref, .ref { font-weight: 400; font-size: .72rem; color: var(--grey-light); border: 1px solid var(--line-grey); border-radius: 3px; padding: 0 5px; margin-left: 6px; white-space: nowrap; }
.generated { border: 1px dashed var(--blue-25); background: var(--blue-5); border-radius: var(--radius); padding: 9px 12px; font-size: .92rem; }
.generated strong { font-size: 1rem; }
.class-picker.derived label { pointer-events: none; }
body.lang-ka .site-nav a { font-size: .86rem; padding-left: 10px; padding-right: 10px; }
body.lang-ka .page-head h1 { font-size: 1.6rem; }
body.lang-ka .btn { font-size: .9rem; }
body.lang-ka table.data th { letter-spacing: 0; text-transform: none; font-size: .84rem; }
body.lang-ka .steps a { font-size: .8rem; }
body.lang-ka .site-nav.portal a .icon { display: none; }
body.lang-ka .tag { white-space: normal; }
body.lang-ka .kpi .l { font-size: .8rem; }
body.lang-ka .check-item { grid-template-columns: 1fr 300px; }
body.lang-ka .check-item .seg label { padding: 6px 8px; font-size: .74rem; }

/* ---------- spacing pass: consistent rhythm between blocks ---------- */
/* a section heading always keeps its distance from the block above it */
main .section-title { margin-top: 40px; }
main .container > .section-title:first-child, main > .section-title:first-child { margin-top: 4px; }
/* spacing helpers win over component margins */
.mt0 { margin-top: 0 !important; } .mt1 { margin-top: 10px !important; } .mt2 { margin-top: 20px !important; } .mt3 { margin-top: 32px !important; }
.mb0 { margin-bottom: 0 !important; } .mb1 { margin-bottom: 10px !important; } .mb2 { margin-bottom: 20px !important; }
main .section-title.mt3 { margin-top: 40px !important; }
.filter-group > summary { gap: 12px; }
.filter-group > summary::after { flex: none; }
.results-bar select { padding: 6px 30px 6px 10px; font-size: .9rem; height: 36px; }
.results-bar .btn.small { height: 36px; }
/* product page: header breathing room, table text lines up with the card heading */
.page-head .breadcrumb + .page-head-row, .page-head .breadcrumb + .detail-head { margin-top: 12px; }
.card.flush table.params th:first-child, .card.flush table.params td:first-child { padding-left: 20px; }
.card.flush table.params td:last-child, .card.flush table.params th:last-child { padding-right: 20px; }
table.params td.long { font-weight: 400; line-height: 1.5; }
.card.flush table.data th:first-child, .card.flush table.data td:first-child { padding-left: 20px; }
.card.flush table.data th:last-child, .card.flush table.data td:last-child { padding-right: 20px; }
/* group icons never render unsized */
svg.gicon { width: 44px; height: 44px; flex: none; color: var(--blue); }
/* login: demo account cards keep their text at the top; controls share one height */
.demo-account { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; }
.demo-account .cred { display: block; }
.field > select { min-height: 44px; }
/* ---------- phones and small tablets ---------- */
@media (max-width: 900px) {
  /* navigation: one tidy row that scrolls sideways instead of wrapping into several uneven rows */
  .site-nav .container { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-left: 8px; padding-right: 8px;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
  .site-nav .container::-webkit-scrollbar { display: none; }
  .site-nav a { white-space: nowrap; flex: none; }
  .site-nav .spacer { flex: 0 0 10px; }
  .site-nav .container::after { content: ""; flex: 0 0 24px; }
}
@media (max-width: 640px) {
  .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .hero-stats div { font-size: .8rem; }
  .future-tiles { grid-template-columns: 1fr; }
  main .section-title { font-size: 1.25rem; margin-top: 32px; }
}
@media (max-width: 640px) {
  /* result card: registration number on its own line, then the two actions side by side */
  .result { gap: 12px 14px; padding: 14px; }
  .result .ra { flex-wrap: wrap; gap: 8px 14px; padding-top: 10px; border-top: 1px solid var(--line-grey); }
  .result .ra .reg { flex: 1 0 100%; }
  .result .ra .btn { white-space: nowrap; }
  .results-bar .row { width: 100%; }
  .results-bar select { flex: 1 1 100%; width: 100%; }
}
/* home hero: two real energy labels as illustration (desktop only) */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 48px; align-items: center; }
.hero-art { position: relative; height: 336px; z-index: 1; }
.hero-art img { position: absolute; width: 168px; border-radius: 9px; background: #fff; box-shadow: 0 16px 36px rgba(0, 20, 60, .45); }
.hero-art img.back { left: 6px; top: 26px; transform: rotate(-7deg); }
.hero-art img.front { right: 6px; top: 2px; transform: rotate(5deg); }
.hero-art img:only-child { left: 80px; right: auto; }
@media (max-width: 1020px) { .hero-grid { display: block; } .hero-art { display: none; } }

/* ---------- review pass: portals (alignment, wrapping, phones) ---------- */
/* icons and class arrows keep their size inside tables and flex rows */
svg.icon, svg.class-arrow, svg.gicon { max-width: none; flex: none; }
[hidden] { display: none !important; }

/* forms: controls in one row line up even when a label wraps; nothing widens the grid */
.form-grid > * { min-width: 0; }
.table-wrap { max-width: 100%; }
.form-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .form-grid.cols-3 { grid-template-columns: 1fr; } }
@supports (grid-template-rows: subgrid) {
  .form-grid > .field { display: grid; grid-template-rows: subgrid; grid-row: span 4; row-gap: 0; }
  .form-grid > .field > label:first-child { align-self: end; }
}
input:disabled, select:disabled, textarea:disabled { background: #eef0f3; color: var(--grey); border-color: #c5cad1; cursor: not-allowed; }
label .ref, .ref { margin-left: 0; }
h3 .ref, .doc-meta .ref { white-space: normal; }
.doc-meta { gap: 6px; margin: 3px 0 4px; }
.checks-inline { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 4px 18px; }
.class-picker { gap: 6px; flex-wrap: nowrap; }
.class-picker label { min-width: 0; }
.class-picker .class-arrow { height: 30px; width: auto; }
@media (max-width: 760px) { .class-picker { flex-wrap: wrap; } }
.compartments input, .compartments select { height: 40px; }
.compartments select { min-width: 150px; }

/* upload boxes */
.dropzone > svg.icon { flex: none; }
.dropzone input[type=file] { min-width: 0; flex: 1 1 180px; }
.dropzone .fname:empty { display: none; }
.doc-upload .dropzone { display: grid; grid-template-columns: 20px minmax(0, 1fr) minmax(0, 1fr) auto; align-items: center; }
.doc-upload .dropzone .btn.ghost { grid-column: 2 / -1; justify-self: start; }
.doc-file { flex-wrap: wrap; }
.doc-file .grow { overflow-wrap: anywhere; min-width: 0; }
@media (max-width: 760px) {
  .doc-upload .dropzone { grid-template-columns: 20px minmax(0, 1fr); }
  .doc-upload .dropzone input[type=text], .doc-upload .dropzone .btn { grid-column: 2; justify-self: start; }
  .doc-file { padding-left: 16px; }
  .doc-file .grow { flex: 1 1 calc(100% - 46px); }
}

/* filter bars: one control height */
.toolbar input, .toolbar select, .toolbar .btn, .toolbar .field > select { height: 42px; min-height: 0; }
.toolbar select { max-width: 240px; }
@media (max-width: 640px) {
  .toolbar .field, .toolbar > .btn { flex: 1 1 100%; }
  .toolbar input, .toolbar select { width: 100%; min-width: 0 !important; max-width: none; }
}

/* tables and their actions */
td.actions form { display: inline-flex; gap: 8px; align-items: center; vertical-align: middle; }
td.actions .btn { vertical-align: middle; }
.btn.small { min-height: 34px; }
table.data td.num, table.data th.num { text-align: right; font-variant-numeric: tabular-nums; }
table.data td code { background: #eef0f3; border-radius: 3px; padding: 1px 5px; display: inline-block; margin: 1px 2px 1px 0; font-size: .86em; }
table.data.fields th:nth-child(1) { width: 190px; } table.data.fields th:nth-child(2) { width: 30%; }
table.params { table-layout: fixed; }
body.lang-ka table.data .tag { white-space: nowrap; }
@media (max-width: 760px) { .btn.small { min-height: 38px; } }

/* card heads, tabs, definition lists */
.card-head { flex-wrap: wrap; }
.card-head > .tag, .card-head > a, .card-head > .btn { flex: none; white-space: nowrap; }
.tabs button { padding: 10px 13px; font-size: .9rem; }
@media (max-width: 760px) {
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button { flex: none; white-space: nowrap; }
}
.kv dt { overflow-wrap: anywhere; min-width: 0; }
.kv.narrow { grid-template-columns: fit-content(45%) 1fr; }
.tag { vertical-align: middle; }

/* case view */
.timeline { margin-bottom: 16px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline::before { bottom: 18px; }
@media (max-width: 760px) { .stage-track li { font-size: 0; } }

/* links, disclosures, action bars */
details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }
main a:not(.btn):has(> svg.icon) { text-decoration: none; }
main a:not(.btn):has(> svg.icon):hover { text-decoration: underline; }
@media (max-width: 640px) {
  .form-actions { flex-direction: column-reverse; align-items: stretch; text-align: center; }
  .form-actions .row { flex-direction: column; align-items: stretch; }
  .form-actions .btn { width: 100%; }
}
.doc-upload .dropzone { gap: 2px 12px; padding: 12px 14px 6px; }
.toolbar .field:first-child input[type=search], .toolbar .field:first-child input[type=text] { min-width: 270px; }
.toolbar select { max-width: 190px; }
.toolbar .field:first-child input[type=search], .toolbar .field:first-child input[type=text] { min-width: 240px; }
body.lang-ka .tabs button { padding: 10px 9px; font-size: .84rem; }
