@font-face {
  font-family: Inter;
  src: local("Inter");
}
* {
  box-sizing: border-box;
}
html {
  font-size: 14px;
}
body {
  margin: 0;
  background: #eff0f5;
  color: #272b34;
  font-family: Inter, "Segoe UI", Tahoma, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  outline-offset: 4px;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #739637;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.5;
}
a {
  color: inherit;
}
button {
  border: 1px solid #dce0e8;
  border-radius: 9px;
  background: #fff;
  color: #272b34;
  padding: 10px 16px;
  line-height: 1.35;
  font-weight: 550;
  transition: background 0.15s;
}
button:hover {
  background: #f5f6f8;
}
button.primary {
  background: #272b34;
  color: #fff;
  border-color: #272b34;
}
button.primary:hover {
  background: #414650;
}
button.lime {
  background: #c8f16f;
  border-color: #badf68;
}
button.danger {
  color: #a6383b;
}
button.quiet {
  background: transparent;
  border-color: transparent;
  color: #626b7d;
}
button.icon-button {
  padding: 9px;
  display: inline-flex;
  align-items: center;
}
button svg,
.nav-icon {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 36px;
  letter-spacing: -1.2px;
  font-weight: 650;
  margin-bottom: 7px;
}
h2 {
  font-size: 20px;
  letter-spacing: -0.4px;
  font-weight: 600;
  margin-bottom: 16px;
}
h3 {
  font-size: 15px;
  font-weight: 650;
  margin-bottom: 10px;
}
p {
  line-height: 1.65;
}
.muted {
  color: #747c8f;
}
.small {
  font-size: 12px;
}
.eyebrow {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-weight: 650;
  color: #858c9c;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 28px;
  letter-spacing: -1.4px;
  font-weight: 750;
}
.brand-mark {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: #b8e957;
  display: inline-block;
}
.brand small {
  font-size: 11px;
  letter-spacing: 0.4px;
  color: #858c9c;
  font-weight: 500;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 240px;
  padding: 28px 18px 20px;
  background: #e9ecf3;
  border-right: 1px solid #d9dee8;
  display: flex;
  flex-direction: column;
  z-index: 20;
}
.sidebar .brand {
  padding-left: 9px;
}
.brand-caption {
  font-size: 10px;
  letter-spacing: 1.2px;
  color: #8991a2;
  padding: 5px 0 0 39px;
  margin-bottom: 34px;
}
.all-projects {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #626d80;
  border: 0;
  background: none;
  padding: 8px 10px;
  margin-bottom: 18px;
  text-align: left;
}
.project-switch {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px;
  border: 1px solid #d4dae5;
  border-radius: 10px;
  margin-bottom: 30px;
}
.monogram {
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  border-radius: 9px;
  background: #272b34;
  color: #fff;
  font-size: 19px;
}
.project-switch select {
  background: transparent;
  border: 0;
  min-width: 0;
  width: 100%;
  color: #272b34;
  font-weight: 600;
}
.nav-group {
  margin-bottom: 23px;
}
.nav-group .eyebrow {
  padding: 0 12px;
  margin-bottom: 9px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 11px 12px;
  border-radius: 8px;
  color: #525b6b;
  margin: 3px 0;
  font-size: 13px;
}
.nav-item:hover {
  background: #dfe4ed;
}
.nav-item.active {
  background: #292e38;
  color: #fff;
}
.sidebar-footer {
  margin-top: auto;
  border-top: 1px solid #d5dbe6;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #818a9b;
  font-size: 12px;
}
.workspace {
  margin-left: 240px;
  padding: 26px 36px 22px;
  min-height: 100vh;
  max-width: 1900px;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 35px;
  min-height: 42px;
}
.breadcrumb {
  color: #7a8293;
  font-size: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.breadcrumb strong {
  color: #404958;
  font-weight: 500;
}
.top-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.page-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.page-heading p {
  color: #737e90;
  margin: 0;
  font-size: 14px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 20px;
  font-size: 11px;
  background: #eef1f6;
  color: #677085;
  white-space: nowrap;
}
.pill.good {
  background: #edf7dd;
  color: #5b772d;
}
.pill.warn {
  background: #fff2d8;
  color: #986b1d;
}
.pill.bad {
  background: #fbe7e6;
  color: #a34040;
}
.pill:before {
  content: "";
  width: 5px;
  height: 5px;
  background: currentColor;
  border-radius: 50%;
}
.card {
  background: #fff;
  border: 1px solid #e8ebf1;
  border-radius: 13px;
  padding: 24px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}
.stat {
  padding: 23px;
}
.stat.highlight {
  background: #c8f16f;
  border-color: #c8f16f;
}
.stat-label {
  font-size: 12px;
  color: #6d7787;
  margin-bottom: 18px;
}
.highlight .stat-label {
  color: #536b2b;
}
.stat-number {
  font-size: 38px;
  letter-spacing: -1.4px;
  font-weight: 450;
  line-height: 1.1;
  margin-bottom: 13px;
}
.stat-note {
  font-size: 11px;
  color: #8a92a0;
}
.highlight .stat-note {
  color: #5e7c30;
}
.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 22px;
}
.card-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.card-heading h2 {
  margin: 0;
}
.chart {
  width: 100%;
  height: 235px;
  display: block;
  overflow: visible;
}
.chart text {
  font:
    11px Inter,
    "Segoe UI",
    sans-serif;
  fill: #9299a6;
}
.chart .gridline {
  stroke: #edf0f5;
  stroke-dasharray: 4 6;
}
.chart .bar {
  fill: #c8f16f;
}
.chart .bar:hover {
  fill: #a5d94e;
}
.stack {
  display: grid;
  gap: 18px;
}
.list-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid #eef0f4;
}
.list-line:last-child {
  border: 0;
}
.list-line strong {
  font-weight: 550;
}
.list-line p {
  font-size: 12px;
  color: #8c94a3;
  margin: 4px 0 0;
}
.empty {
  padding: 55px 26px;
  text-align: center;
  color: #8a92a1;
}
.empty .empty-symbol {
  display: block;
  margin: 0 auto 15px;
  color: #a2abb9;
  width: 34px;
  height: 34px;
}
.empty h3 {
  color: #525c6d;
  font-weight: 500;
  font-size: 16px;
}
.empty p {
  max-width: 390px;
  margin: 0 auto 18px;
  font-size: 13px;
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 18px;
}
.toolbar .buttons {
  display: flex;
  gap: 8px;
}
.split {
  display: grid;
  grid-template-columns: minmax(270px, 0.8fr) minmax(0, 1.3fr);
  gap: 20px;
  min-height: 530px;
}
.conversation-list {
  padding: 0;
  overflow: hidden;
}
.conversation-row {
  width: 100%;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid #eef0f4;
  padding: 21px 24px;
  text-align: left;
  background: #fff;
  position: relative;
}
.conversation-row.selected {
  background: #f2fadf;
}
.conversation-row.selected:before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  bottom: 9px;
  width: 4px;
  background: #2c323d;
  border-radius: 4px;
}
.conversation-row .row-top {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 9px;
}
.conversation-row strong {
  font-size: 16px;
  font-weight: 600;
}
.conversation-row .preview {
  font-weight: 400;
  font-size: 13px;
  color: #768196;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 9px;
}
.conversation-row .channel {
  font-size: 10px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: #969dac;
}
.conversation-detail {
  padding: 27px 30px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.conversation-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  border-bottom: 1px solid #e6eaf1;
  padding-bottom: 22px;
}
.conversation-meta h2 {
  margin-bottom: 7px;
}
.message-stream {
  display: flex;
  flex-direction: column;
  gap: 21px;
  padding: 27px 0;
  min-height: 320px;
  max-height: 600px;
  overflow: auto;
}
.bubble {
  background: #eff1f6;
  border-radius: 10px;
  padding: 14px 17px;
  max-width: 88%;
  align-self: flex-start;
  min-width: 180px;
}
.bubble.outgoing {
  background: #edf8d6;
  align-self: flex-end;
}
.bubble-heading {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  font-size: 10px;
  color: #7e8898;
  margin-bottom: 8px;
}
.bubble-content {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.75;
  font-size: 13px;
  unicode-bidi: plaintext;
}
.message-footer {
  border-top: 1px solid #e9edf3;
  padding-top: 18px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: auto;
}
.message-footer span {
  display: block;
  font-size: 11px;
  color: #929aab;
  margin-bottom: 7px;
}
.message-footer strong {
  font-size: 13px;
  font-weight: 500;
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.resource-card .resource-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.resource-card h3 {
  font-size: 18px;
  font-weight: 550;
  margin: 0 0 8px;
}
.resource-card pre {
  font:
    13px/1.7 Inter,
    "Segoe UI",
    Tahoma,
    sans-serif;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 130px;
  overflow: hidden;
  color: #7d8799;
  unicode-bidi: plaintext;
}
.card-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  border-top: 1px solid #edf0f5;
  padding-top: 16px;
  margin-top: 18px;
}
.editor-grid {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 230px;
  gap: 18px;
}
.file-list {
  padding: 10px;
  height: max-content;
}
.file-item {
  display: block;
  width: 100%;
  border: 0;
  text-align: left;
  padding: 16px 13px;
  margin: 3px 0;
}
.file-item.selected {
  background: #eef8da;
}
.file-item small {
  display: block;
  font-weight: 400;
  color: #939cab;
  margin-top: 5px;
}
.editor {
  padding: 0;
  overflow: hidden;
}
.editor-heading {
  padding: 17px 21px;
  border-bottom: 1px solid #e7eaf0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.editor textarea {
  width: 100%;
  border: 0;
  padding: 27px;
  min-height: 490px;
  resize: vertical;
  font:
    13px/1.95 Consolas,
    monospace;
  background: #fff;
  outline-offset: -4px;
  unicode-bidi: plaintext;
}
.editor-note {
  padding: 15px 24px;
  background: #fafbfd;
  color: #939aaa;
  font-size: 11px;
  border-top: 1px solid #edf0f5;
}
.file-guide p {
  font-size: 12px;
  color: #8d95a5;
  margin-bottom: 22px;
}
.callout {
  background: #eff8db;
  border-radius: 10px;
  padding: 18px;
  color: #6d804c;
}
.callout p {
  margin: 7px 0 0;
  color: inherit;
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
}
th {
  text-align: left;
  font-weight: 500;
  color: #929aaa;
  padding: 14px 16px;
  border-bottom: 1px solid #e5e9f0;
  white-space: nowrap;
}
td {
  padding: 16px;
  border-bottom: 1px solid #edf0f4;
  vertical-align: middle;
}
tr:last-child td {
  border: 0;
}
td.code {
  font-family: Consolas, monospace;
  font-size: 11px;
}
.section-footer {
  margin: 24px 0 0;
  color: #a0a7b5;
  font-size: 10px;
  display: flex;
  justify-content: space-between;
  letter-spacing: 0.3px;
}
.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}
.login-art {
  background: #e5e9f1;
  padding: 48px 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.login-art h1 {
  font-size: clamp(40px, 4vw, 64px);
  font-weight: 450;
  line-height: 1.12;
  letter-spacing: -2.8px;
  max-width: 530px;
}
.login-art p {
  font-size: 15px;
  color: #7d8798;
  max-width: 380px;
}
.login-visual {
  height: 170px;
  display: flex;
  gap: 12px;
  align-items: end;
  margin-top: 35px;
}
.login-visual span {
  display: block;
  width: 50px;
  border-radius: 10px;
  background: #c8f16f;
}
.login-visual span:nth-child(1) {
  height: 40%;
}
.login-visual span:nth-child(2) {
  height: 62%;
}
.login-visual span:nth-child(3) {
  height: 52%;
}
.login-visual span:nth-child(4) {
  height: 85%;
}
.login-visual span:nth-child(5) {
  height: 100%;
  background: #303641;
}
.login-visual span:nth-child(6) {
  height: 72%;
}
.login-form-wrap {
  display: grid;
  place-items: center;
  padding: 40px;
}
.login-form {
  width: 100%;
  max-width: 350px;
}
.login-form h2 {
  font-size: 28px;
  letter-spacing: -1px;
  margin-bottom: 10px;
}
.login-form .intro {
  color: #8b94a4;
  font-size: 13px;
  margin-bottom: 30px;
}
.field {
  display: block;
  margin-bottom: 19px;
}
.field-label {
  display: block;
  font-size: 12px;
  color: #6d778a;
  margin-bottom: 8px;
}
.field input:not([type="checkbox"]),
.field textarea,
.field select {
  width: 100%;
  padding: 12px 13px;
  background: #fff;
  border: 1px solid #dce1e9;
  border-radius: 8px;
  color: #323947;
  line-height: 1.5;
}
.field input:focus,
.field textarea:focus {
  outline: 2px solid #aed864;
  outline-offset: 1px;
}
.field textarea {
  min-height: 150px;
  resize: vertical;
  unicode-bidi: plaintext;
}
.field .hint {
  display: block;
  font-size: 11px;
  color: #949cac;
  margin-top: 7px;
  line-height: 1.6;
}
.login-form .primary {
  width: 100%;
  padding: 13px;
}
.form-error {
  color: #ad4f47;
  font-size: 12px;
  line-height: 1.6;
  margin: 15px 0;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.project-card {
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s;
}
.project-card:hover {
  border-color: #b9d884;
}
.project-card .monogram {
  width: 44px;
  margin-bottom: 24px;
}
.project-card h2 {
  margin-bottom: 8px;
}
.project-card .project-open {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  color: #91a86c;
  font-size: 12px;
}
.boot {
  padding: 60px;
  color: #8a94a5;
}
#toast {
  position: fixed;
  right: 28px;
  bottom: 24px;
  z-index: 100;
  max-width: 440px;
  background: #2d3440;
  color: #fff;
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 13px;
  box-shadow: 0 8px 35px #2224;
  display: none;
}
#toast.visible {
  display: block;
}
dialog {
  border: 1px solid #e1e6ed;
  border-radius: 15px;
  padding: 28px;
  width: min(620px, calc(100vw - 32px));
  max-height: 90vh;
  overflow: auto;
  color: #29313e;
  box-shadow: 0 20px 80px #1d243529;
}
dialog::backdrop {
  background: #27304266;
  backdrop-filter: blur(3px);
}
.modal-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.modal-heading h2 {
  margin: 0;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 25px;
}
.code-box {
  padding: 15px;
  background: #f3f5f8;
  border-radius: 8px;
  font:
    12px/1.7 Consolas,
    monospace;
  word-break: break-all;
  white-space: pre-wrap;
}
button.mobile-toggle {
  display: none;
}
.shared {
  max-width: 1050px;
  margin: 0 auto;
  padding: 32px;
}
.shared .brand {
  margin-bottom: 45px;
}
.shared .stats {
  grid-template-columns: repeat(2, 1fr);
}
.status-note {
  border-left: 3px solid #c5dd98;
  padding: 12px 16px;
  background: #f8faf3;
  font-size: 12px;
  color: #78866b;
  margin-bottom: 20px;
}
.credential-status {
  font-size: 11px;
  color: #76964e;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.row-actions {
  display: flex;
  gap: 7px;
}
.knowledge-search {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 22px;
  max-width: 560px;
}
.knowledge-search .field { flex: 1; min-width: 0; margin: 0; }
.knowledge-search button { flex: none; height: 45px; padding: 10px 16px; }
.service-contacts { border-top: 1px solid #e1e6ed; padding-top: 20px; }
.service-contacts .hint { color: #747c8f; font-size: 12px; line-height: 1.6; }
.service-contacts .card-heading { flex-wrap: wrap; gap: 10px; }
.service-contact { min-width: 0; margin: 18px 0; padding: 16px; border: 1px solid #dce1e9; border-radius: 9px; }
.service-contact legend { padding: 0 6px; font-size: 12px; color: #747c8f; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.contact-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12px; }
.pill-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.error-card {
  border-color: #edcfcb;
  background: #fffaf9;
}
.error-card p {
  color: #a36359;
}
.loading {
  padding: 60px 20px;
  text-align: center;
  color: #8f98a9;
}
@media (min-width: 1600px) {
  .workspace {
    padding: 30px 50px;
  }
  .sidebar {
    width: 260px;
  }
  .workspace {
    margin-left: 260px;
  }
  .stats {
    gap: 23px;
  }
  .card {
    padding: 28px;
  }
}
@media (max-width: 1200px) {
  .workspace {
    padding: 24px;
  }
  .editor-grid {
    grid-template-columns: 190px minmax(0, 1fr);
  }
  .file-guide {
    display: none;
  }
  .overview-grid {
    grid-template-columns: 1fr;
  }
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 17px;
  }
  .stat-number {
    font-size: 30px;
  }
  .split {
    grid-template-columns: minmax(230px, 0.8fr) minmax(0, 1fr);
  }
  .conversation-detail {
    padding: 20px;
  }
  .resource-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 850px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    width: 240px;
    box-shadow: 10px 0 50px #252d3d1a;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .workspace {
    margin-left: 0;
    padding: 20px;
  }
  button.mobile-toggle {
    display: inline-flex;
  }
  .topbar {
    margin-bottom: 26px;
    gap: 12px;
  }
  .breadcrumb {
    font-size: 11px;
  }
  .top-actions .profile-button {
    font-size: 11px;
    padding: 8px;
  }
  .page-heading h1 {
    font-size: 29px;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .split {
    grid-template-columns: 1fr;
  }
  .conversation-list {
    max-height: 330px;
    overflow: auto;
  }
  .conversation-detail {
    min-height: 440px;
  }
  .login-page {
    grid-template-columns: 1fr;
  }
  .login-art {
    display: none;
  }
  .login-form-wrap {
    padding: 35px;
  }
  .editor-grid {
    grid-template-columns: 1fr;
  }
  .file-list {
    display: flex;
    overflow: auto;
    padding: 6px;
  }
  .file-item {
    min-width: 150px;
  }
  .project-grid {
    grid-template-columns: 1fr 1fr;
  }
  .page-heading {
    gap: 10px;
  }
  .topbar .pill {
    font-size: 9px;
  }
  .section-footer {
    flex-direction: column;
    gap: 7px;
  }
}
@media (max-width: 480px) {
  .workspace {
    padding: 15px;
  }
  .project-grid {
    grid-template-columns: 1fr;
  }
  .page-heading {
    flex-direction: column;
    gap: 15px;
  }
  .card {
    padding: 19px;
  }
  .conversation-list {
    padding: 0;
  }
  .editor {
    padding: 0;
  }
  .bubble {
    max-width: 96%;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .stat {
    padding: 18px;
  }
  .stat-number {
    font-size: 32px;
  }
  .topbar {
    flex-wrap: wrap;
  }
  .top-actions {
    margin-left: auto;
  }
  .toolbar {
    align-items: flex-start;
  }
  .toolbar .buttons {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}
.reports-list {
  margin-top: 22px;
}
.button-editor {
  margin: 24px 0;
}
.button-editor-row {
  border: 1px solid var(--line, #e4e7e5);
  border-radius: 12px;
  padding: 12px;
  margin: 12px 0;
  min-width: 0;
}
.button-editor-row legend {
  font-size: 12px;
  color: #657067;
  padding: 0 6px;
}
.channel-line { flex-wrap: wrap; gap: 12px; }
.channel-line .row-actions { flex-wrap: wrap; }
.button-editor-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  padding: 10px 0;
  border-bottom: 1px solid #e4e7e5;
}
.button-editor-item .field {
  margin: 0;
  min-width: 0;
}
.button-editor-item input,
.button-editor-item select {
  width: 100%;
  min-width: 0;
}
.button-editor-item button {
  align-self: end;
  justify-self: start;
}
@media (max-width: 500px) {
  .button-editor-item {
    grid-template-columns: 1fr;
  }
}

/* Shared-link visibility controls. */
#modal fieldset { border: 1px solid #dce3df; border-radius: 12px; padding: 14px; margin: 16px 0; }
#modal .check-row { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; cursor: pointer; }
#modal .check-row input { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 3px; }
#modal .check-row small { display: block; margin-top: 3px; line-height: 1.5; }
.shared > .card { margin-top: 20px; }
