@font-face {
  font-family: Georgian;
  src: url("/fonts/noto-sans-georgian-georgian-400-normal.woff2")
    format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Georgian;
  src: url("/fonts/noto-sans-georgian-georgian-600-normal.woff2")
    format("woff2");
  font-weight: 600 800;
  font-display: swap;
}
:root {
  font-family: Georgian, "Segoe UI", sans-serif;
  color: #243c38;
  background: #f5f6f3;
  font-size: 14px;
  --green: #24735b;
  --dark: #172d2a;
  --muted: #7b8984;
  --line: #e1e7e2;
  --orange: #e6aa58;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: var(--green);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  vertical-align: middle;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 27px;
  letter-spacing: -0.7px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 7px;
}
h2 {
  font-size: 19px;
  font-weight: 600;
}
h3 {
  font-size: 15px;
  font-weight: 600;
}
p {
  line-height: 1.8;
}
.muted {
  color: #6c7e77;
}
.small {
  font-size: 12px;
}
.mono {
  font-family: ui-monospace, Consolas, monospace;
  letter-spacing: 0.3px;
}
.pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.85;
}
.strong {
  font-weight: 600;
}
.initial-loading {
  padding: 80px;
  text-align: center;
}
.shell {
  display: grid;
  grid-template-columns: 246px 1fr;
  min-height: 100vh;
}
.sidebar {
  background: var(--dark);
  color: #dce8e3;
  padding: 35px 20px 24px;
  position: fixed;
  inset: 0 auto 0 0;
  width: 246px;
  display: flex;
  flex-direction: column;
  z-index: 20;
  overflow: auto;
}
.brand {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: flex-start;
  color: white;
  margin: 0 10px 26px;
}
.brand:hover {
  text-decoration: none;
}
.brand-logo {
  display: block;
  width: 105px;
  height: 86px;
  object-fit: contain;
}
.brand-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
}
.brand-eyebrow img {
  width: 44px;
  height: 36px;
  object-fit: contain;
}
.brand small {
  display: block;
  font-size: 10px;
  color: #9ab6aa;
  margin-top: 3px;
  letter-spacing: 0.7px;
}
.nav-label {
  color: #8ba399;
  font-size: 10px;
  letter-spacing: 1px;
  margin: 15px 15px 12px;
}
.nav-link {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 13px 15px;
  margin: 4px 0;
  color: #b7cbc1;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.6;
}
.nav-link:hover {
  background: #223c35;
  text-decoration: none;
  color: white;
}
.nav-link.active {
  background: #314e43;
  color: #fff;
}
.nav-link.active svg {
  color: #bddd9d;
}
.nav-separator {
  height: 1px;
  background: #ffffff12;
  margin: 20px 10px;
}
.sidebar-foot {
  margin-top: auto;
  padding: 26px 12px 0;
  font-size: 11px;
  color: #a0b5ab;
  line-height: 1.8;
}
.sidebar-foot span {
  display: block;
  color: #d1ded4;
  margin-bottom: 4px;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #b8d48e;
  border-radius: 50%;
  margin-right: 6px;
}
.workspace {
  grid-column: 2;
  min-width: 0;
}
.topbar {
  height: 86px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 42px;
  gap: 20px;
}
.breadcrumb {
  font-size: 12px;
  color: #76877e;
}
.breadcrumb b {
  font-weight: 400;
  color: #314d41;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.icon-btn {
  background: transparent;
  border: 1px solid var(--line);
  width: 39px;
  height: 39px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #546d60;
  position: relative;
}
.count-dot {
  position: absolute;
  right: -4px;
  top: -4px;
  font-size: 10px;
  background: #cc5b41;
  color: white;
  border-radius: 12px;
  min-width: 17px;
  padding: 2px;
}
.account-button {
  border: 0;
  background: none;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #314d41;
  text-align: left;
  padding: 0;
}
.avatar {
  height: 38px;
  width: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8efe2;
  color: #435d37;
  font-weight: 600;
  font-size: 13px;
}
.account-button small {
  display: block;
  font-size: 10px;
  color: #7b8a7f;
  margin-top: 4px;
}
.content {
  padding: 34px 42px 54px;
  max-width: 1600px;
  margin: auto;
}
.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}
.page-head p {
  margin: 0;
  color: #768579;
  font-size: 12px;
}
.eyebrow {
  color: #7b887c;
  font-size: 10px;
  letter-spacing: 1.4px;
  margin-bottom: 9px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  background: #fff;
  border: 1px solid #dce3dc;
  color: #365746;
  border-radius: 7px;
  font-weight: 600;
  font-size: 12px;
  line-height: 1.6;
  min-height: 42px;
  white-space: nowrap;
}
.btn:hover {
  background: #f0f4ee;
  text-decoration: none;
}
.btn.primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
  box-shadow: 0 3px 7px #173b2520;
}
.btn.primary:hover {
  background: #1c634c;
}
.btn.danger {
  border-color: #ecd1c8;
  color: #a74132;
}
.btn.link {
  border: 0;
  background: none;
  padding: 8px;
}
.btn.compact {
  padding: 7px 12px;
  min-height: 35px;
  font-size: 11px;
}
.button-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
  margin-bottom: 28px;
}
.stat {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 22px;
  position: relative;
  min-height: 126px;
}
.stat-label {
  font-size: 11px;
  color: #77857b;
  padding-right: 28px;
}
.stat-value {
  font-family: Georgian, "Segoe UI", sans-serif;
  font-size: 31px;
  line-height: 1.7;
  margin: 5px 0 1px;
  font-weight: 600;
  letter-spacing: -1px;
  color: #263e32;
}
.stat-note {
  font-size: 10px;
  color: #899489;
}
.stat-icon {
  position: absolute;
  right: 20px;
  top: 18px;
  width: 30px;
  height: 30px;
  background: #f0f4ed;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #66805b;
}
.stat.warm .stat-icon {
  background: #faf0e1;
  color: #be8c45;
}
.stat.warm .stat-value {
  color: #a56636;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 22px;
}
.panel-pad {
  padding: 26px;
}
.panel-title {
  padding: 21px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.panel-title h2 {
  font-size: 15px;
  margin: 0;
}
.tabs {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
}
.tab {
  padding: 18px 0 15px;
  border-bottom: 2px solid transparent;
  color: #819083;
  font-size: 11px;
  white-space: nowrap;
}
.tab.active {
  color: var(--green);
  border-color: var(--green);
  font-weight: 600;
}
.tab:hover {
  text-decoration: none;
}
.filters {
  display: flex;
  gap: 10px;
  padding: 18px 24px;
  flex-wrap: wrap;
  align-items: center;
}
.filters input,
.filters select {
  width: auto;
  font-size: 11px;
  min-height: 37px;
  max-width: 230px;
}
.search-wrap {
  position: relative;
  flex: 1;
  min-width: 200px;
}
.search-wrap svg {
  position: absolute;
  top: 10px;
  left: 11px;
  width: 16px;
  color: #94a195;
}
.search-wrap input {
  padding-left: 35px;
  width: 100%;
  max-width: none;
}
.advanced-filters {
  border-top: 1px solid #eff2ed;
  padding: 14px 24px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  background: #fafbf8;
}
.advanced-filters label {
  font-size: 10px;
  width: 150px;
}
.advanced-filters select,
.advanced-filters input {
  font-size: 11px;
  margin-top: 5px;
}
.table-wrap {
  width: 100%;
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
th {
  font-size: 10px;
  font-weight: 400;
  color: #81907f;
  background: #fafbf8;
  border-top: 1px solid var(--line);
  padding: 13px 19px;
  white-space: nowrap;
}
td {
  padding: 17px 19px;
  border-top: 1px solid #edf0eb;
  font-size: 12px;
  vertical-align: middle;
}
tbody tr:hover {
  background: #fafcf9;
}
.ticket-title {
  font-size: 12px;
  font-weight: 600;
  color: #314b3b;
  display: block;
  line-height: 1.7;
  max-width: 350px;
}
.ticket-subtitle {
  font-size: 10px;
  color: #8c988b;
  margin-top: 5px;
}
.ticket-id {
  font-size: 10px;
  color: #879482;
  display: block;
  margin-bottom: 4px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  padding: 5px 8px;
  border-radius: 5px;
  background: #f0f3ed;
  color: #60715a;
  white-space: nowrap;
}
.badge::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.priority-1 {
  background: #fcebea;
  color: #b64c44;
}
.priority-2 {
  background: #fff3e2;
  color: #aa7735;
}
.priority-3 {
  background: #ecf2e6;
  color: #71804e;
}
.priority-4 {
  background: #eef0f2;
  color: #77838e;
}
.status-new {
  background: #e8eff8;
  color: #5279a4;
}
.status-working,
.status-accepted {
  background: #e9f3ed;
  color: #4f8567;
}
.status-waiting_user,
.status-waiting_external {
  background: #f8f0e2;
  color: #a38349;
}
.status-resolved,
.status-closed {
  background: #edf1e4;
  color: #798c51;
}
.status-cancelled {
  background: #f3edeb;
  color: #9a7f76;
}
.person {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  white-space: nowrap;
}
.person .avatar {
  height: 27px;
  width: 27px;
  font-size: 9px;
}
.table-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: #81917d;
}
.help-strip {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  border: 1px dashed #d5dfcd;
  border-radius: 9px;
  padding: 18px 23px;
  color: #7a896e;
  font-size: 11px;
  background: #f1f4eb;
}
.help-strip svg {
  color: #899e6d;
}
.help-strip p {
  margin: 0;
}
.help-strip strong {
  display: block;
  margin-bottom: 3px;
  color: #566e49;
  font-weight: 600;
}
.demo-banner {
  padding: 8px 20px;
  text-align: center;
  background: #f5e8cc;
  color: #84632d;
  font-size: 11px;
  line-height: 1.7;
}
.empty {
  padding: 55px 25px;
  text-align: center;
  color: #788b76;
}
.empty svg {
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  color: #9ab18c;
}
.empty h3 {
  color: #4b6647;
}
.empty p {
  max-width: 400px;
  margin: 0 auto 20px;
  font-size: 12px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  min-width: 0;
}
.form-field.full {
  grid-column: 1/-1;
}
.form-field label {
  font-weight: 600;
  color: #425a46;
}
.form-field small {
  font-size: 10px;
  color: #84927b;
  line-height: 1.7;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #dce3d8;
  border-radius: 6px;
  background: #fff;
  color: #354b38;
  padding: 10px 12px;
  min-height: 42px;
  font-size: 12px;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #92b797;
  border-color: transparent;
}
textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.8;
}
input[type="checkbox"] {
  width: 17px;
  height: 17px;
  min-height: 0;
  accent-color: var(--green);
}
input[type="file"] {
  background: #f8faf5;
  padding: 18px;
  font-size: 11px;
}
input[readonly] {
  background: #f6f8f2;
}
.check-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 400;
}
.form-footer {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.form-footer p {
  font-size: 10px;
  color: #84927b;
  margin: 0;
}
.form-error,
.alert {
  padding: 13px 16px;
  border-radius: 7px;
  background: #fbede8;
  color: #a2523e;
  font-size: 12px;
  margin: 15px 0;
  line-height: 1.8;
}
.form-error:empty {
  display: none;
}
.alert.info {
  background: #eef3e7;
  color: #687c4b;
}
.alert.success {
  background: #e7f3e9;
  color: #3f7650;
}
.form-narrow {
  max-width: 850px;
}
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
}
.detail-grid h1 {
  font-size: 23px;
}
.detail-meta {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin: 15px 0 24px;
}
.meta-list {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 16px;
  font-size: 11px;
  line-height: 1.7;
}
.meta-list dt {
  color: #87917f;
}
.meta-list dd {
  margin: 0;
  color: #445d40;
  overflow-wrap: anywhere;
}
.comment {
  padding: 20px 24px;
  border-bottom: 1px solid #edf1e8;
}
.comment.internal {
  background: #faf6e9;
  border-left: 3px solid #c5ad72;
}
.comment-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 12px;
  font-size: 11px;
  color: #83917d;
}
.comment .pre {
  font-size: 12px;
  margin-bottom: 0;
}
.comment-compose {
  padding: 22px 24px;
  background: #fafcf7;
}
.comment-compose textarea {
  min-height: 90px;
}
.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}
.timeline li {
  padding: 12px 0 12px 17px;
  border-left: 1px solid #dfe6d6;
  position: relative;
  font-size: 11px;
  line-height: 1.8;
}
.timeline li:before {
  content: "";
  position: absolute;
  left: -4px;
  top: 19px;
  width: 7px;
  height: 7px;
  background: #a4b68c;
  border-radius: 50%;
}
.timeline time {
  display: block;
  color: #929d86;
  font-size: 10px;
}
.attachment {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  margin: 9px 0;
  gap: 10px;
  font-size: 11px;
}
.attachment span {
  overflow-wrap: anywhere;
}
.file-meta {
  font-size: 10px;
  color: #8b987d;
}
.details-summary {
  cursor: pointer;
  color: #667d52;
  font-size: 12px;
  padding: 14px 0;
  line-height: 1.8;
}
.notification {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}
.notification.unread {
  background: #f2f7ec;
}
.notification p {
  margin: 0;
  font-size: 12px;
}
.notification time {
  font-size: 10px;
  color: #8b977f;
}
.notification .avatar {
  flex-shrink: 0;
}
.report-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.bar-row {
  display: grid;
  grid-template-columns: minmax(100px, 1fr) 1fr 35px;
  gap: 14px;
  align-items: center;
  margin: 18px 0;
  font-size: 11px;
}
.bar-row progress {
  width: 100%;
  height: 9px;
  border: 0;
  border-radius: 5px;
  background: #edf2e6;
  overflow: hidden;
}
.bar-row progress::-webkit-progress-bar {
  background: #edf2e6;
}
.bar-row progress::-webkit-progress-value {
  background: #769c72;
  border-radius: 5px;
}
.login {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #f7f8f4;
}
.login-story {
  background: var(--dark);
  color: white;
  padding: 58px 12%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.login-story .brand {
  margin: 0 0 52px;
}
.login-story .brand-logo {
  width: 170px;
  height: 139px;
}
.login-story h1 {
  font-size: 37px;
  line-height: 1.8;
  max-width: 500px;
  color: #eef4e8;
}
.login-story p {
  color: #afc4b4;
  font-size: 14px;
  line-height: 2;
  max-width: 460px;
}
.login-note {
  padding-top: 50px;
  color: #a8c291;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.login-form-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 48px 35px;
}
.login-card {
  width: 100%;
  max-width: 370px;
}
.login-card h2 {
  font-size: 24px;
  margin-bottom: 9px;
}
.login-card > p {
  font-size: 12px;
  color: #88917f;
  margin-bottom: 35px;
}
.login-card .form-field {
  margin-bottom: 19px;
}
.login-card .btn.primary {
  width: 100%;
  margin-top: 8px;
}
.login-footer {
  font-size: 10px;
  color: #8b967f;
  margin-top: 28px;
  line-height: 1.9;
}
.login-card .brand {
  display: none;
}
.split-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.split-tabs .btn.active {
  background: #e7efdf;
  border-color: #cfdcc2;
}
.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.code-block {
  padding: 13px;
  background: #f2f5ec;
  border-radius: 7px;
  overflow-wrap: anywhere;
  user-select: all;
  font-family: Consolas, monospace;
  font-size: 14px;
  letter-spacing: 0.6px;
}
.roles {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 13px;
  background: #f8faf4;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.credential-box {
  border: 1px solid #cfdfc1;
  border-radius: 8px;
  background: #f5faef;
  padding: 25px;
  margin: 18px 0;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 12px;
  max-width: 720px;
  width: calc(100% - 32px);
  padding: 28px;
  max-height: 88vh;
  overflow: auto;
  color: #314d39;
}
dialog::backdrop {
  background: #10211977;
  backdrop-filter: blur(3px);
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 22px;
}
.dialog-head h2 {
  margin: 0;
  font-size: 18px;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: #264a36;
  color: white;
  padding: 14px 25px;
  border-radius: 9px;
  font-size: 12px;
  z-index: 100;
  max-width: 90vw;
  box-shadow: 0 8px 40px #112b2330;
  display: none;
}
#toast.visible {
  display: block;
}
.mobile-menu {
  display: none;
}
.bottom-note {
  font-size: 10px;
  color: #8d9880;
  text-align: center;
  padding: 15px;
}
.danger-text {
  color: #b65940;
}
.label-required {
  color: #a87843;
}
.preview-values {
  font-size: 10px;
  max-width: 450px;
  overflow-wrap: anywhere;
}
.preview-values details {
  margin-top: 7px;
}
.pagination {
  display: flex;
  gap: 7px;
  align-items: center;
}
.break-word {
  overflow-wrap: anywhere;
}
.hidden {
  display: none !important;
}
@media (min-width: 1500px) {
  .content {
    padding-top: 42px;
  }
  .stat {
    min-height: 140px;
  }
  .ticket-title {
    max-width: 470px;
  }
}
@media (max-width: 1200px) {
  .shell {
    grid-template-columns: 220px 1fr;
  }
  .sidebar {
    width: 220px;
    padding-left: 14px;
    padding-right: 14px;
  }
  .topbar {
    padding: 0 25px;
  }
  .content {
    padding: 28px 25px;
  }
  .stats {
    gap: 12px;
  }
  .stat {
    padding: 18px 15px;
  }
  .stat-icon {
    right: 12px;
  }
  .detail-grid {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
  .top-actions {
    gap: 12px;
  }
  td,
  th {
    padding-left: 14px;
    padding-right: 14px;
  }
}
@media (max-width: 950px) {
  .shell {
    display: block;
  }
  .workspace {
    width: 100%;
  }
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
  }
  .sidebar.open {
    transform: translateX(0);
    box-shadow: 0 0 0 100vmax #10211955;
  }
  .mobile-menu {
    display: inline-flex;
    flex-shrink: 0;
  }
  .topbar {
    height: 72px;
    padding: 0 22px;
  }
  .breadcrumb {
    display: none;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .detail-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
  }
  .login-story {
    padding: 50px 10%;
  }
  .login-story h1 {
    font-size: 29px;
  }
  .login-story .brand {
    margin-bottom: 42px;
  }
}
@media (max-width: 600px) {
  .content {
    padding: 25px 16px 35px;
  }
  .page-head {
    gap: 16px;
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 23px;
  }
  .page-head .btn {
    width: 100%;
  }
  h1 {
    font-size: 23px;
  }
  .page-head p {
    font-size: 11px;
  }
  .stats {
    gap: 10px;
    margin-bottom: 22px;
  }
  .stat {
    min-height: 120px;
    padding: 16px;
  }
  .stat-label {
    font-size: 10px;
    padding-right: 20px;
  }
  .stat-value {
    font-size: 27px;
  }
  .stat-note {
    font-size: 9px;
  }
  .stat-icon {
    width: 25px;
    height: 25px;
    right: 11px;
    top: 12px;
  }
  .stat-icon svg {
    width: 15px;
  }
  .tabs {
    gap: 22px;
    padding: 0 17px;
  }
  .filters {
    padding: 16px;
    gap: 8px;
  }
  .filters input,
  .filters select {
    max-width: none;
    flex: 1;
  }
  .search-wrap {
    flex-basis: 100%;
  }
  .filters .btn {
    flex: 1;
  }
  .table-footer {
    padding: 13px 16px;
  }
  .help-strip {
    padding: 16px;
  }
  .form-grid,
  .admin-grid,
  .report-grid,
  .detail-side {
    grid-template-columns: 1fr;
  }
  .form-field.full {
    grid-column: auto;
  }
  .panel-pad {
    padding: 20px;
  }
  .form-footer {
    align-items: stretch;
    flex-direction: column;
  }
  .form-footer .btn {
    width: 100%;
  }
  .top-actions {
    gap: 12px;
  }
  .account-button small {
    font-size: 9px;
  }
  .account-button .account-name {
    max-width: 180px;
    font-size: 11px;
  }
  .topbar {
    padding: 0 16px;
    gap: 10px;
  }
  .icon-btn {
    width: 36px;
    height: 36px;
  }
  .login {
    display: block;
  }
  .login-story {
    display: none;
  }
  .login-form-wrap {
    min-height: 100vh;
    padding: 35px 28px;
  }
  .login-card .brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    background: var(--dark);
    border-radius: 10px;
    padding: 18px;
    margin: 0 0 35px;
  }
  .login-card .brand-logo {
    width: 90px;
    height: 74px;
  }
  .panel-title {
    padding: 18px;
  }
  .comment {
    padding: 18px;
  }
  .comment-compose {
    padding: 18px;
  }
  .detail-grid h1 {
    font-size: 21px;
  }
  .comment-meta {
    align-items: flex-start;
  }
  .meta-list {
    font-size: 10px;
  }
  .btn {
    white-space: normal;
    text-align: center;
  }
  .bar-row {
    grid-template-columns: minmax(100px, 1.2fr) 1fr 28px;
    gap: 10px;
  }
  .advanced-filters {
    padding: 14px 16px;
  }
  .advanced-filters label {
    width: calc(50% - 5px);
  }
  .table-wrap {
    overflow: auto;
  }
  .ticket-table {
    min-width: 690px;
  }
  .mobile-card-list {
    display: flex;
    flex-direction: column;
  }
  .ticket-table th:nth-child(3),
  .ticket-table td:nth-child(3) {
    display: none;
  }
  dialog {
    padding: 20px;
  }
  .topbar .avatar {
    width: 32px;
    height: 32px;
  }
  .credential-box {
    padding: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
.ticket-table td:first-child {
  min-width: 220px;
}
.ticket-table td:last-child {
  min-width: 120px;
}
.ticket-table {
  table-layout: fixed;
}
.ticket-table th:first-child {
  width: 29%;
}
.ticket-table th:nth-child(2) {
  width: 14%;
}
.ticket-table th:nth-child(3) {
  width: 14%;
}
.ticket-table th:nth-child(4) {
  width: 12%;
}
.ticket-table th:nth-child(5) {
  width: 18%;
}
.ticket-table th:last-child {
  width: 13%;
}
.ticket-table td:first-child,
.ticket-table td:last-child {
  min-width: 0;
}
.ticket-table .badge {
  white-space: normal;
  line-height: 1.6;
}
.ticket-table .person {
  white-space: normal;
}
.ticket-table .person .avatar {
  flex-shrink: 0;
}
.ticket-table td {
  overflow-wrap: anywhere;
}
@media (min-width: 601px) and (max-width: 1200px) {
  .ticket-table th:nth-child(3),
  .ticket-table td:nth-child(3) {
    display: none;
  }
  .ticket-table td:first-child {
    min-width: 210px;
    width: 35%;
  }
  .ticket-table td,
  .ticket-table th {
    padding-left: 12px;
    padding-right: 12px;
  }
  .ticket-table td:last-child {
    min-width: 100px;
  }
  .ticket-table .badge {
    white-space: normal;
  }
}
@media (max-width: 600px) {
  .ticket-table {
    min-width: 0;
    display: block;
  }
  .ticket-table thead {
    display: none;
  }
  .ticket-table tbody {
    display: block;
  }
  .ticket-table tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 17px;
    border-top: 1px solid var(--line);
    gap: 12px;
  }
  .ticket-table td {
    padding: 0;
    border: 0;
    min-width: 0 !important;
  }
  .ticket-table td:first-child {
    grid-column: 1/-1;
  }
  .ticket-table td:nth-child(2) {
    grid-column: 1/-1;
  }
  .ticket-table td:last-child {
    grid-column: 1/-1;
  }
  .ticket-table .ticket-title {
    max-width: none;
    font-size: 13px;
  }
  .ticket-table .ticket-subtitle {
    font-size: 10px;
  }
  .ticket-table .badge {
    font-size: 11px;
  }
  .ticket-table td:nth-child(2) .ticket-subtitle {
    display: inline;
    margin-left: 7px;
  }
  .ticket-table .ticket-id {
    font-size: 11px;
  }
  .ticket-table td:last-child:before {
    content: "შექმნილია: ";
    color: #88977e;
  }
}
