@import './base.css';
/* Akram admin — "Tide": WordPress admin greys, ocean teal accent used sparingly, 4px corners, dense tables */
body.toplevel_page_akram,
body[class*='_page_akram'] {
  --font: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, Menlo, Consolas, monospace;
  --bg0: #f0f0f1;
  --bg1: #ffffff;
  --bg2: #f6f7f7;
  --bg3: #f0f0f1;
  --bg4: #dcdcde;
  --line: #dcdcde;
  --line2: #c3c4c7;
  --tx: #1d2327;
  --tx2: #50575e;
  --tx3: #646970;
  --ac: #0c6a84;
  --ac2: #0b4f63;
  --acb: #0e7490;
  --acb2: #155e75;
  --ink: #ffffff;
  --acbg: rgba(14, 116, 144, 0.09);
  --acln: rgba(14, 116, 144, 0.4);
  --ok: #15803d;
  --warn: #b45309;
  --err: #e5484d;
  --sh-pop: 0 18px 50px -14px rgba(20, 24, 40, 0.28), 0 0 0 1px rgba(20, 24, 40, 0.08);
  --checker: repeating-conic-gradient(#e3e5ec 0 25%, #fff 0 50%) 50%/10px 10px;
  --r: 4px;
  --r-sm: 4px;
  background: var(--bg0);
}
body.toplevel_page_akram #wpcontent,
body[class*='_page_akram'] #wpcontent {
  padding-left: 0;
}
body.toplevel_page_akram #wpbody-content,
body[class*='_page_akram'] #wpbody-content {
  padding-bottom: 40px;
}
body.toplevel_page_akram .notice,
body[class*='_page_akram'] .notice {
  margin: 12px 20px 0;
}
.ad,
.ad * {
  box-sizing: border-box;
}
.ad {
  font: 13.5px/1.5 var(--font);
  color: var(--tx);
  -webkit-font-smoothing: antialiased;
}
.ad button {
  font: inherit;
}
.ad h1,
.ad h2 {
  color: var(--tx);
  margin: 0;
  letter-spacing: -0.01em;
}
.ad .ic {
  flex: 0 0 auto;
  display: block;
}
.ad input:not([type='checkbox']):not([type='color']):not([type='range']),
.ad select,
.ad textarea {
  border: 1px solid var(--line2);
  border-radius: var(--r-sm);
  background: #fff;
  height: 36px;
  padding: 0 11px;
  font: inherit;
  color: var(--tx);
  box-shadow: none;
  max-width: 100%;
}
.ad textarea {
  height: auto;
  padding: 9px 11px;
}
.ad input:focus,
.ad select:focus,
.ad textarea:focus {
  border-color: var(--ac);
  box-shadow: 0 0 0 3px var(--acbg);
  outline: none;
}
.ad select {
  padding-right: 30px !important;
}
.ad .btn {
  height: 36px;
  padding: 0 15px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
}
.ad .btn.s-sm {
  height: 30px;
  padding: 0 10px;
}
.ad .btn.is-icon {
  width: 34px;
  padding: 0;
}
.ad .btn.s-sm.is-icon {
  width: 30px;
}
.ad .btn:focus {
  box-shadow: none;
}
.ad-top {
  position: sticky;
  top: 32px;
  z-index: 20;
  display: flex;
  align-items: stretch;
  gap: 28px;
  padding: 0 20px;
  height: 56px;
  background: var(--bg1);
  border-bottom: 1px solid var(--line);
}
.ad-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ad-brand b {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.ad-brand small {
  color: var(--tx3);
  font: 500 11px var(--mono);
}
.ad-logo {
  width: 26px;
  height: 26px;
  border-radius: 4px;
  background: var(--acb);
  color: var(--ink);
  display: grid;
  place-items: center;
}
.ad-nav {
  display: flex;
  gap: 0;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}
.ad-nav a {
  display: flex;
  align-items: center;
  padding: 0 12px;
  color: var(--tx2);
  text-decoration: none;
  font-weight: 550;
  font-size: 13.5px;
  white-space: nowrap;
  box-shadow: inset 0 -2px 0 transparent;
  transition:
    color 0.15s,
    box-shadow 0.15s;
}
.ad-nav a .ic {
  display: none;
}
.ad-nav a:hover {
  color: var(--tx);
}
.ad-nav a.is-on {
  color: var(--tx);
  box-shadow: inset 0 -2px 0 var(--acb);
}
.ad-nav a:focus {
  box-shadow: inset 0 -2px 0 var(--acb);
}
.ad-nav a:focus-visible {
  outline: 2px solid var(--ac);
  outline-offset: -4px;
}
.ad-new {
  align-self: center;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border-radius: 4px;
  background: var(--acb);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}
.ad-new:hover,
.ad-new:focus {
  background: var(--acb2);
  color: var(--ink);
}
.ad-main {
  max-width: 1680px;
  margin: 0 auto;
  padding: 20px 20px 32px;
}
.ad-ph {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 22px;
}
.ad-ph h1 {
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.ad-ph p {
  margin: 6px 0 0;
  color: var(--tx2);
  max-width: 640px;
}
.ad-card {
  background: var(--bg1);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 20px;
}
.ad-card-h {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}
.ad-card-h h2 {
  font-size: 14px;
  font-weight: 650;
}
.ad-card-h span {
  color: var(--tx3);
  font-size: 12.5px;
}
.ad-card + .ad-card {
  margin-top: 18px;
}
.ad-cols {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 20px;
  align-items: start;
}
.ad-load {
  padding: 60px;
  display: flex;
  justify-content: center;
}
.ad-hint {
  color: var(--tx3);
  font-size: 12.5px;
}
.ad-dash-h {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 20px;
}
.ad-dash-h h1 {
  font-size: 26px;
  font-weight: 650;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.ad-dash-h p {
  margin: 4px 0 0;
  color: var(--tx2);
}
.ad-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--tx3);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.ad-dash-act {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.ad-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--bg1);
  border: 1px solid var(--line);
  border-radius: 4px;
  margin-bottom: 20px;
}
.ad-kpi {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 20px;
  color: var(--tx);
  text-decoration: none;
  border-left: 1px solid var(--line);
  transition: background 0.15s;
}
.ad-kpi:first-child {
  border-left: 0;
}
.ad-kpi:hover {
  background: var(--bg2);
  color: var(--tx);
}
.ad-kpi:focus {
  box-shadow: none;
}
.ad-kpi:focus-visible {
  outline: 2px solid var(--ac);
  outline-offset: -2px;
}
.ad-kpi span {
  font-size: 12.5px;
  color: var(--tx2);
  font-weight: 550;
}
.ad-kpi b {
  font-size: 28px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.ad-kpi.is-hot b {
  color: var(--ac);
}

.ad-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 4px;
  background: var(--acbg);
  border: 1px solid var(--acln);
  margin-bottom: 16px;
  color: var(--ac2);
}
.ad-banner > div {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.ad-banner b {
  color: var(--tx);
}
.ad-banner span {
  color: var(--tx2);
  font-size: 12.5px;
}
.ad-banner.is-soft {
  background: var(--bg1);
  border-color: var(--line);
  color: var(--tx2);
}
.ad-kits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 16px;
}
.ad-kit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
  color: var(--tx);
}
.ad-kit:disabled {
  cursor: progress;
}
.ad-kit b {
  margin-top: 8px;
  font-size: 13.5px;
  font-weight: 600;
}
.ad-kit small {
  color: var(--tx3);
  font-size: 12px;
  line-height: 1.4;
}
.ad-kit-th {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  transition: border-color 0.15s;
}
.ad-kit-th iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 1440px;
  height: 2600px;
  border: 0;
  transform: scale(0.2);
  transform-origin: 0 0;
  pointer-events: none;
}
.ad-kit-use {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 5px 9px;
  border-radius: 4px;
  background: var(--tx);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(4px);
  transition: 0.15s;
}
.ad-kit:hover .ad-kit-th,
.ad-kit:focus-visible .ad-kit-th {
  border-color: var(--acb);
}
.ad-kit:hover .ad-kit-use,
.ad-kit:focus-visible .ad-kit-use,
.ad-kit:disabled .ad-kit-use {
  opacity: 1;
  transform: none;
}
.ad-kit:focus {
  box-shadow: none;
  outline: none;
}
.ad-kit:focus-visible .ad-kit-th {
  outline: 2px solid var(--ac);
  outline-offset: 2px;
}
.ad-recent {
  display: flex;
  flex-direction: column;
  margin: -6px 0;
}
.ad-rec {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 6px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--tx);
}
.ad-rec:last-child {
  border: 0;
}
.ad-rec:hover {
  background: var(--bg2);
  color: var(--tx);
}
.ad-rec .ic {
  color: var(--tx3);
}
.ad-rec span {
  flex: 1;
  font-weight: 550;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ad-rec-t {
  color: var(--tx3);
  font-size: 12px;
  min-width: 56px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.ad-st {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 550;
  color: var(--tx2);
}
.ad-st::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tx3);
}
.ad-st.st-publish::before {
  background: #16a34a;
}
.ad-st.st-draft::before {
  background: #d97706;
}
.st-publish {
  color: var(--ok);
}
.st-draft {
  color: var(--warn);
}
.ad-sys {
  display: flex;
  flex-direction: column;
}
.ad-sys > div {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
}
.ad-sys > div:last-child {
  border: 0;
}
.ad-sys span {
  color: var(--tx2);
}
.ad-sys b.is-bad {
  color: var(--err);
}
.ad-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.ad-filters button {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: var(--bg1);
  border-radius: 4px;
  padding: 5px 10px;
  cursor: pointer;
  font-weight: 550;
  font-size: 12.5px;
  color: var(--tx2);
}
.ad-filters button small {
  color: var(--tx3);
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
}
.ad-filters button:hover {
  border-color: var(--line2);
  color: var(--tx);
}
.ad-filters button.is-on {
  background: var(--tx);
  border-color: var(--tx);
  color: #fff;
}
.ad-filters button.is-on small {
  color: rgba(255, 255, 255, 0.7);
}
.ad-table {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.ad-tr {
  display: grid;
  grid-template-columns: 2fr 130px 1.6fr 110px 250px;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
}
.ad-tr:last-child {
  border: 0;
}
.ad-tr.is-h {
  background: var(--bg2);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tx3);
  padding: 9px 16px;
}
.ad-tr.is-busy {
  opacity: 0.5;
  pointer-events: none;
}
.ad-tr:not(.is-h):hover {
  background: var(--bg2);
}
.ad-tn {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--tx);
  min-width: 0;
}
.ad-tn b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ad-tn em {
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  color: var(--warn);
  background: rgba(217, 119, 6, 0.1);
  padding: 1px 7px;
  border-radius: 99px;
}
.ad-ti {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 4px;
  display: grid;
  place-items: center;
  background: var(--bg3);
  color: var(--tx2);
}
.ad-ti.is-lg {
  width: 44px;
  height: 44px;
  flex-basis: 44px;
}
.ad-tt {
  color: var(--tx2);
  font-size: 12.5px;
  font-weight: 550;
}
.ad-tc {
  color: var(--tx2);
  font-size: 12.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ad-tc i {
  color: var(--tx3);
}
.ad-td {
  color: var(--tx3);
  font-size: 12.5px;
}
.ad-ta {
  display: flex;
  gap: 4px;
  justify-content: flex-end;
}
.ad-types {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}
.ad-types button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  color: var(--tx2);
}
.ad-types button b {
  font-size: 12px;
  color: var(--tx);
}
.ad-types button.is-on {
  border-color: var(--ac);
  background: var(--acbg);
  color: var(--ac);
}
.ad-site {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.ad-slot {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ad-slot.s-header,
.ad-slot.s-footer {
  grid-column: 1/-1;
}
.ad-slot.is-set {
  border-color: rgba(22, 163, 74, 0.35);
}
.ad-slot-h {
  display: flex;
  gap: 12px;
  align-items: center;
}
.ad-slot-h b {
  display: block;
  font-size: 14px;
}
.ad-slot-h small {
  color: var(--tx3);
  font-size: 12px;
}
.ad-slot-i {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 4px;
  background: var(--bg2);
  text-decoration: none;
  color: var(--tx);
  font-weight: 600;
}
.ad-slot-i small {
  flex: 1;
  color: var(--tx3);
  font-weight: 500;
  font-size: 11.5px;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ad-slot-i:hover {
  background: var(--bg3);
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line2);
}
.dot.is-on {
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}
.ad-slot-add {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  border: 1px dashed var(--line2);
  border-radius: 4px;
  background: none;
  cursor: pointer;
  color: var(--tx2);
  font-weight: 600;
}
.ad-slot-add:hover {
  border-color: var(--ac);
  color: var(--ac);
  background: var(--acbg);
}
.ad-sub-bar {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.ad-search {
  margin: 0 !important;
  flex: 1;
  min-width: 200px;
  background: #fff !important;
  height: 36px !important;
}
.ad-search input {
  height: 100% !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.ad-inbox {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 16px;
  align-items: start;
}
.ad-list {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  max-height: calc(100vh - 260px);
  overflow-y: auto;
}
.ad-msg {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 13px 16px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  text-align: left;
  cursor: pointer;
  position: relative;
}
.ad-msg:hover {
  background: var(--bg2);
}
.ad-msg.is-on {
  background: var(--acbg);
}
.ad-msg-h {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.ad-msg-h b {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ad-msg-h small {
  color: var(--tx3);
  white-space: nowrap;
}
.ad-msg span {
  color: var(--tx3);
  font-size: 12.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ad-msg.is-unread b {
  font-weight: 800;
}
.ad-msg.is-unread::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 19px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ac);
}
.ad-msg em {
  font-style: normal;
  color: var(--err);
  font-size: 11.5px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.ad-pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 10px;
  color: var(--tx3);
}
.ad-detail {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 22px;
  min-height: 300px;
}
.ad-detail-h {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 18px;
}
.ad-detail-h > div {
  flex: 1;
}
.ad-detail-h small {
  color: var(--tx3);
}
.ad-fields {
  display: grid;
  grid-template-columns: 180px 1fr;
  margin: 0;
  border-top: 1px solid var(--line);
}
.ad-fields dt,
.ad-fields dd {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  margin: 0;
}
.ad-fields dt {
  color: var(--tx3);
  font-weight: 600;
  font-size: 12.5px;
}
.ad-fields dd {
  white-space: pre-wrap;
  word-break: break-word;
}
.ad-fields dd a {
  display: block;
  color: var(--ac);
}
.ad-meta {
  display: flex;
  gap: 14px;
  margin-top: 14px;
  color: var(--tx3);
  font-size: 12px;
  flex-wrap: wrap;
}
.ad-meta span {
  display: flex;
  gap: 5px;
  align-items: center;
}
.ad-colors {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}
.ad-color {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
}
.ad-color input[type='color'] {
  position: absolute;
  opacity: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
}
.ad-color > span {
  grid-row: 1/3;
  width: 44px;
  height: 44px;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.ad-color b {
  font-size: 13px;
}
.ad-hex {
  height: 28px !important;
  font: 12px var(--mono) !important;
  width: 110px;
}
.ad-fontrow {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.ad-preview iframe {
  width: 100%;
  height: 420px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}
.ad-settings {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  align-items: start;
}
.ad-stabs {
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: sticky;
  top: 110px;
}
.ad-stabs button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: none;
  cursor: pointer;
  text-align: left;
  color: var(--tx2);
  font-weight: 550;
}
.ad-stabs button:hover {
  color: var(--tx);
}
.ad-stabs button.is-on {
  background: var(--bg1);
  border-color: var(--line);
  color: var(--tx);
}
.ad-stabs button.is-on .ic {
  color: var(--ac);
}
.ad-sbody {
  padding: 6px 24px;
}
.ad-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.ad-row:last-child {
  border: 0;
}
.ad-row b {
  display: block;
  font-weight: 650;
}
.ad-row small {
  display: block;
  color: var(--tx3);
  font-size: 12.5px;
  margin-top: 2px;
  line-height: 1.45;
}
.ad-row > div:last-child {
  display: flex;
  justify-content: flex-end;
}
.ad-row input:not([type='checkbox']),
.ad-row select {
  width: 100%;
}
.ad-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}
.ad-checks label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 12.5px;
  font-weight: 550;
  cursor: pointer;
}
.ad-checks input {
  margin: 0;
}
.ad-code {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ad-code small {
  color: var(--tx3);
}
.ad-code textarea.code {
  background: #0f1117;
  color: #e6e8ef;
  border-color: #1f2230;
  width: 100%;
  min-height: 140px;
  margin-top: 6px;
}
.ad-tools {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ad-tool {
  display: flex;
  align-items: center;
  gap: 18px;
}
.ad-tool > div {
  flex: 1;
}
.ad-tool h2 {
  font-size: 15px;
}
.ad-tool p {
  margin: 4px 0 0;
  color: var(--tx2);
}
.ad-tool-a {
  display: flex;
  gap: 8px;
}
.ad-tool-a label {
  cursor: pointer;
}
.ad-tool.is-col {
  flex-direction: column;
  align-items: stretch;
}
.ad-tool-h {
  display: flex;
  align-items: center;
  gap: 18px;
}
.ad-tool-h > div {
  flex: 1;
}
.ad-el {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  margin-top: 4px;
}
.ad-el-i {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 4px;
  border-bottom: 1px solid var(--line);
}
.ad-el-i span {
  flex: 1;
  font-weight: 600;
}
.ad-el-i small {
  color: var(--tx3);
}
.ad-el-i em {
  font-style: normal;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ok);
}
.ad-log {
  font: 12px/1.7 var(--mono);
  color: var(--tx2);
  max-height: 260px;
  overflow-y: auto;
}
.ad-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100000;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 4px;
  background: #0f1a1f;
  color: #fff;
  font-weight: 550;
  box-shadow: 0 16px 32px -12px rgba(0, 0, 0, 0.4);
  animation: toastIn 0.25s ease;
}
.ad-toast.t-err {
  background: #b42318;
}
@keyframes toastIn {
  from {
    opacity: 0;
    transform: translate(-50%, 10px);
  }
}
.modal-wrap {
  z-index: 100001;
}
.modal .lbl input,
.modal .lbl select {
  width: 100%;
  height: 38px;
  border: 1px solid var(--line2);
  border-radius: 4px;
  padding: 0 11px;
  font: inherit;
}
@media (max-width: 1100px) {
  .ad-cols,
  .ad-inbox,
  .ad-settings {
    grid-template-columns: 1fr;
  }
  .ad-kits,
  .ad-site {
    grid-template-columns: repeat(2, 1fr);
  }
  .ad-kpis {
    grid-template-columns: repeat(2, 1fr);
  }
  .ad-kpi:nth-child(3) {
    border-left: 0;
  }
  .ad-kpi:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .ad-tr {
    grid-template-columns: 2fr 1fr 180px;
  }
  .ad-tr > :nth-child(3),
  .ad-tr > :nth-child(4) {
    display: none;
  }
}
@media (max-width: 782px) {
  .ad-top {
    top: 46px;
    padding: 0 14px;
  }
  .ad-main {
    padding: 18px 14px;
  }
  .ad-nav,
  .ad-new {
    display: none;
  }
  .ad-kits,
  .ad-site,
  .ad-colors {
    grid-template-columns: 1fr;
  }
  .ad-dash-h {
    flex-direction: column;
    align-items: flex-start;
  }
}

.ad-els {
  margin-top: 18px;
}
.ad-els-h {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.ad-els-h b {
  flex: 1;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.7;
}
.ad-wts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px;
}
.ad-wt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  transition: 0.15s;
  background: var(--bg1);
}
.ad-wt span {
  flex: 1;
  font-weight: 500;
}
.ad-wt.is-off {
  opacity: 0.55;
}
.ad-wt:hover {
  border-color: var(--ac);
}

.ad-test {
  padding: 8px 0 16px;
}
.ad-test small.is-ok {
  color: #15803d;
  font-weight: 600;
}
.ad-test small.is-err {
  color: #b91c1c;
  font-weight: 600;
}
.ad-test-l {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.ad-test-l code {
  font-size: 12px;
}
