.adk-admin { margin:0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; background:#f6f7fb; color:#111827; }
html.adk-dialog-open,
html.adk-dialog-open body{
  overflow:hidden;
}
.navbar-brand { font-weight:700; letter-spacing:.2px; }
.card { border:0; box-shadow:0 6px 18px rgba(16,24,40,.06); }
.table td, .table th { vertical-align:middle; }
.badge { font-weight:600; }
.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
.adk-one-line-ellipsis{
  display:block;
  max-width:100%;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
}
.adk-line-clamp-1,
.adk-line-clamp-2{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.adk-line-clamp-1{
  -webkit-line-clamp:1;
  line-clamp:1;
}
.adk-line-clamp-2{
  -webkit-line-clamp:2;
  line-clamp:2;
}
.adk-post-title-cell{
    min-width:0;
  }
.adk-post-title-cell .adk-one-line-ellipsis{
    width:100%;
  }
.adk-post-listing{
    display:flex;
    align-items:center;
    gap:12px;
    min-width:0;
  }
.adk-post-listing__thumb-wrap{
    flex:0 0 56px;
    width:56px;
    height:56px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid #dbe1ea;
    border-radius:12px;
    background:#f8fafc;
    overflow:hidden;
  }
.adk-post-listing__thumb{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    display:block;
  }
.adk-post-listing__placeholder{
    padding:0 6px;
    text-align:center;
    line-height:1.25;
  }
.adk-post-listing__content{
    min-width:0;
    flex:1 1 auto;
  }
.adk-posts-table-wrap{
    overflow-x:hidden;
  }
.adk-posts-table{
  width:100%;
  table-layout:fixed;
}
.adk-posts-col-check{
  width:46px;
}
.adk-posts-col-id{
  width:56px;
}
.adk-posts-col-post{
  width:24%;
}
.adk-posts-col-status{
  width:10%;
}
.adk-posts-col-linked{
  width:16%;
}
.adk-posts-col-taxonomy{
  width:14%;
}
.adk-posts-col-pulse{
  width:12%;
}
.adk-posts-col-indexable{
  width:8%;
}
.adk-posts-col-actions{
  width:12%;
}
.adk-posts-table th,
.adk-posts-table td{
  overflow:hidden;
}
.adk-posts-table th{
  white-space:nowrap;
}
.adk-posts-table td{
  padding-top:.85rem;
  padding-bottom:.85rem;
}
.adk-posts-col-pulse,
.adk-posts-col-pulse .small{
  white-space:nowrap;
}
.adk-posts-col-pulse .adk-pulse-score-pill{
  min-width:0;
  width:100%;
  padding:8px 10px;
}
.adk-posts-col-pulse .adk-pulse-score-pill span{
  white-space:nowrap;
}
.adk-posts-col-actions .d-flex{
  justify-content:flex-start;
}
.adk-posts-col-linked .adk-one-line-ellipsis{
  max-width:100%;
}
.adk-posts-col-taxonomy .small{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.adk-posts-filter-row{
  display:flex;
  align-items:center;
  gap:.5rem;
  flex-wrap:nowrap;
}
.adk-posts-filter-item{
  min-width:0;
}
.adk-posts-filter-search{
  flex:1 1 0;
}
.adk-posts-filter-select-wrap{
  flex:0 0 200px;
}
.adk-posts-filter-reset{
  flex:0 0 auto;
}
.small-muted { color:rgba(33,37,41,.7); font-size:.9rem; }
.adk-shell { display:flex; min-height:100vh; }

.adk-sidebar{
  width:268px;
  background:#252838;
  color:#dde3f4;
  display:flex;
  flex-direction:column;
  position:sticky;
  top:0;
  height:100vh;
  overflow-x:hidden;
  overflow-y:auto;
  box-shadow:inset -1px 0 0 rgba(255,255,255,.05);
}
.adk-brand{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:20px 16px 14px;
}
.adk-brand-title{
  display:inline-flex;
  align-items:flex-end;
  gap:0;
  font-weight:800;
  font-size:1.7rem;
  letter-spacing:-.05em;
  line-height:1;
  color:#fff;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.adk-brand-core{
  color:#fff;
}
.adk-brand-accent{
  color:#ff404b;
}
.adk-sidebar-close{ display:none; background:transparent; border:0; color:#fff; font-size:18px; cursor:pointer; }

.adk-nav-search{
  position:relative;
  padding:0 16px;
  margin-bottom:10px;
}
.adk-nav-search-icon{
  position:absolute;
  left:36px;
  top:50%;
  width:16px;
  height:16px;
  transform:translate(-50%, -50%);
  color:#8e95ad;
  pointer-events:none;
}
.adk-nav-search-icon svg{
  width:100%;
  height:100%;
  fill:currentColor;
}
.adk-nav-search-input{
  width:100%;
  height:40px;
  padding:0 12px 0 44px;
  border:1px solid #4a4d63;
  border-radius:6px;
  background:#2c3041;
  color:#f4f6fd;
  outline:none;
  transition:border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.adk-nav-search-input::placeholder{
  color:#8f95ab;
}
.adk-nav-search-input:focus{
  border-color:#ff404b;
  background:#313547;
  box-shadow:0 0 0 3px rgba(255,64,75,.12);
}

.adk-nav{
  flex:1 1 auto;
  padding:6px 10px 18px;
  overflow:visible;
  display:flex;
  flex-direction:column;
  gap:4px;
}
.adk-nav-main{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.adk-nav-label{
  min-width:0;
}
.adk-nav-icon{
  width:18px;
  height:18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#f5f7ff;
  flex:0 0 18px;
}
.adk-nav-icon svg{
  width:100%;
  height:100%;
  fill:currentColor;
}
.adk-nav-item{
  display:flex;
  align-items:center;
  gap:12px;
  min-height:46px;
  padding:11px 14px;
  margin:0 6px;
  border-radius:8px;
  text-decoration:none;
  color:#f5f7ff;
  font-size:1rem;
  font-weight:500;
  transition:background .16s ease, color .16s ease, box-shadow .16s ease;
}
.adk-nav-item:hover{
  background:#2f3345;
  color:#fff;
}
.adk-nav-item.is-active{
  background:#4c5062;
  color:#fff;
  box-shadow:inset 4px 0 0 #37d4c7;
}
.adk-nav-group{
  margin:0 6px;
  border-radius:8px;
  overflow:hidden;
}
.adk-nav-group summary{
  list-style:none;
}
.adk-nav-group summary::-webkit-details-marker{
  display:none;
}
.adk-nav-parent{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-height:46px;
  padding:11px 14px;
  border-radius:8px;
  color:#f5f7ff;
  cursor:pointer;
  font-size:1rem;
  font-weight:500;
  transition:background .16s ease, color .16s ease, box-shadow .16s ease;
}
.adk-nav-parent:hover{
  background:#2f3345;
  color:#fff;
}
.adk-nav-group.is-active-group .adk-nav-parent{
  background:#303446;
  color:#fff;
}
.adk-nav-group[open] .adk-nav-parent{
  background:#303446;
  color:#fff;
}
.adk-nav-group.is-active-group .adk-nav-parent{
  box-shadow:inset 4px 0 0 #37d4c7;
}
.adk-nav-caret{
  font-size:11px;
  transition:transform .18s ease;
  color:#9aa2bb;
}
.adk-nav-group[open] .adk-nav-caret{
  transform:rotate(180deg);
}
.adk-nav-subnav{
  padding:6px 0 10px;
}
.adk-nav-subitem{
  display:flex;
  align-items:center;
  gap:12px;
  min-height:34px;
  margin:0;
  padding:7px 10px 7px 48px;
  text-decoration:none;
  color:#dde3f4;
  font-size:.98rem;
  border-radius:6px;
}
.adk-nav-subitem:hover{
  background:rgba(255,255,255,.04);
  color:#fff;
}
.adk-nav-subitem.is-active{
  color:#fff;
  background:transparent;
}
.adk-nav-subdot{
  width:6px;
  height:6px;
  border-radius:999px;
  background:#6e748c;
  flex:0 0 6px;
}
.adk-nav-subitem.is-active .adk-nav-subdot{
  background:#37d4c7;
}
.adk-nav-empty{
  margin:8px 10px 0;
  padding:10px 12px;
  border-radius:8px;
  background:#2f3345;
  color:#a9b0c4;
  font-size:.92rem;
}

.adk-sidebar-footer{
  flex:0 0 auto;
  margin-top:auto;
  padding:14px 16px 18px;
  border-top:1px solid rgba(255,255,255,.04);
  display:flex;
  flex-direction:column;
  gap:10px;
}
.adk-sidebar-footer .adk-nav-item{
  margin:0;
}
.adk-logout{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:11px 14px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.12);
  background:#262a3a;
  color:#fff;
  cursor:pointer;
  font-weight:600;
}
.adk-logout:hover{
  background:#303446;
}

.adk-main{ flex:1; display:flex; flex-direction:column; min-width:0; }
.adk-topbar{
  height:56px; display:flex; align-items:center; gap:12px;
  padding:0 16px; background:#fff; border-bottom:1px solid #e5e7eb;
}
.adk-burger{ display:none; border:1px solid #e5e7eb; background:#fff; border-radius:10px; padding:8px 10px; cursor:pointer; }
.adk-topbar-title{ font-weight:700; }
.adk-lang-switch{ margin-left:auto; display:flex; align-items:center; gap:8px; }
.adk-lang-label{ font-size:.875rem; color:#4b5563; }
.adk-help{
  display:inline-flex; align-items:center; justify-content:center;
  width:18px; height:18px; margin-left:6px; border-radius:999px;
  border:1px solid #cbd5e1; color:#475569; font-size:11px; cursor:help;
  background:#fff;
}
.adk-checkbox-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(130px,1fr));
  gap:10px;
}
.adk-offer-picker{
    position:relative;
    overflow:visible;
  }
.adk-offer-picker__summary{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    padding:14px 16px;
    cursor:pointer;
    list-style:none;
    border:1px solid #dbe1ea;
    border-radius:14px;
    background:#fff;
    transition:border-color .16s ease, box-shadow .16s ease, background .16s ease;
  }
.adk-offer-picker__summary::-webkit-details-marker{
    display:none;
  }
.adk-offer-picker__summary-copy{
  min-width:0;
}
.adk-offer-picker__summary-title{
  font-weight:700;
  color:#0f172a;
}
.adk-offer-picker__summary-meta{
  margin-top:2px;
  color:#64748b;
  font-size:.92rem;
}
.adk-offer-picker__summary-action{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:34px;
  padding:0 12px;
  border:1px solid #bfdbfe;
  border-radius:999px;
  background:#eff6ff;
    color:#1d4ed8;
      font-size:.88rem;
      font-weight:600;
      box-shadow:inset 0 -1px 0 rgba(29,78,216,.08);
    }
.adk-offer-picker__summary-badge{
  min-width:22px;
  height:22px;
  padding:0 6px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#1d4ed8;
  color:#fff;
  font-size:.76rem;
  font-weight:700;
  line-height:1;
}
.adk-offer-picker__toolbar{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:12px;
  }
.adk-offer-picker__toolbar .form-control{
    flex:1 1 auto;
  }
.adk-offer-picker__toolbar-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex:0 0 auto;
  flex-wrap:wrap;
}
  .adk-offer-picker__toggle{
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    gap:8px;
    min-height:36px;
    padding:0 12px;
    border:1px solid #dbe1ea;
    border-radius:999px;
    background:#f8fafc;
    color:#334155;
    font-size:.86rem;
    font-weight:600;
    cursor:pointer;
    user-select:none;
  }
  .adk-offer-picker__toggle input{
      margin:0;
    }
.adk-offer-modal{
    width:min(960px, calc(100vw - 32px));
    max-width:960px;
    padding:0;
    border:0;
    border-radius:20px;
    background:transparent;
    box-shadow:none;
  }
  .adk-offer-modal::backdrop{
    background:rgba(15,23,42,.48);
    backdrop-filter:blur(2px);
  }
  .adk-offer-modal.is-open{
    position:fixed;
    inset:0;
    width:100vw;
    height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:16px;
    background:rgba(15,23,42,.48);
    z-index:1100;
  }
  .adk-offer-modal__card{
    display:flex;
    flex-direction:column;
    max-height:min(82vh, 860px);
    border:1px solid #dbe1ea;
    border-radius:20px;
    background:#fff;
    box-shadow:0 24px 60px rgba(15,23,42,.22);
    overflow:hidden;
  }
  .adk-offer-modal__header,
  .adk-offer-modal__footer{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    padding:16px 20px;
    background:#f8fafc;
    border-bottom:1px solid #e5e7eb;
  }
  .adk-offer-modal__footer{
    border-top:1px solid #e5e7eb;
    border-bottom:0;
  }
  .adk-offer-modal__title{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    font-size:1.05rem;
    font-weight:700;
    color:#0f172a;
  }
  .adk-offer-modal__title-count{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:24px;
    padding:0 10px;
    border-radius:999px;
    background:#eff6ff;
    color:#1d4ed8;
    font-size:.78rem;
    font-weight:700;
    line-height:1;
  }
  .adk-offer-modal__subtitle{
    margin-top:4px;
    color:#64748b;
    font-size:.92rem;
  }
  .adk-offer-modal__close{
    flex:0 0 auto;
    width:38px;
    height:38px;
    border:1px solid #dbe1ea;
    border-radius:999px;
    background:#fff;
    color:#334155;
    font-size:1.35rem;
    line-height:1;
    cursor:pointer;
  }
  .adk-offer-modal__body{
    padding:18px 20px 20px;
    background:#fff;
    overflow:auto;
  }
.adk-offer-picker__selected{
    display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:12px;
}
.adk-offer-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:32px;
  padding:6px 10px;
  border:1px solid #dbe1ea;
  border-radius:999px;
  background:#f8fafc;
  color:#0f172a;
  font-size:.88rem;
}
.adk-offer-pill:not(.is-more):not(.is-empty){
  cursor:pointer;
}
.adk-offer-pill.is-more,
.adk-offer-pill.is-empty{
  color:#475569;
  background:#fff;
}
.adk-offer-picker__list{
  display:flex;
  flex-direction:column;
  gap:8px;
  max-height:320px;
  overflow:auto;
  padding-right:4px;
}
.adk-offer-picker__list.is-loading{
  pointer-events:none;
}
.adk-offer-picker__item-skeleton{
  cursor:default;
  background:linear-gradient(180deg,#fbfdff 0%, #f8fbff 100%);
}
.adk-offer-picker__item-skeleton:hover{
  border-color:#dbe1ea;
  background:linear-gradient(180deg,#fbfdff 0%, #f8fbff 100%);
}
.adk-offer-picker__skeleton-check,
.adk-offer-picker__skeleton-line,
.adk-offer-picker__skeleton-pill{
  position:relative;
  overflow:hidden;
  display:block;
  background:#e7edf5;
}
.adk-offer-picker__skeleton-check::after,
.adk-offer-picker__skeleton-line::after,
.adk-offer-picker__skeleton-pill::after{
  content:"";
  position:absolute;
  inset:0;
  transform:translateX(-100%);
  background:linear-gradient(90deg, transparent 0%, rgba(255,255,255,.8) 45%, transparent 100%);
  animation:adk-offer-skeleton 1.15s ease-in-out infinite;
}
.adk-offer-picker__skeleton-check{
  width:16px;
  height:16px;
  margin-top:3px;
  border-radius:4px;
  flex:0 0 16px;
}
.adk-offer-picker__skeleton-line{
  height:12px;
  border-radius:999px;
}
.adk-offer-picker__skeleton-line-id{
  width:46px;
  flex:0 0 46px;
}
.adk-offer-picker__skeleton-line-title{
  width:min(62%, 280px);
  flex:1 1 auto;
}
.adk-offer-picker__skeleton-line-meta{
  width:min(52%, 220px);
  margin-top:8px;
}
.adk-offer-picker__skeleton-pill{
  width:68px;
  height:28px;
  border-radius:999px;
  flex:0 0 68px;
}
@keyframes adk-offer-skeleton{
  100%{
    transform:translateX(100%);
  }
}
.adk-offer-picker__item{
  display:flex;
  align-items:flex-start;
  gap:10px;
  padding:10px 12px;
  border:1px solid #dbe1ea;
  border-radius:12px;
  background:#fff;
  cursor:pointer;
  transition:border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.adk-offer-picker__item:hover{
  border-color:#93c5fd;
  background:#f8fbff;
}
.adk-offer-picker__item input{
  margin-top:3px;
}
.adk-offer-picker__item-main{
  flex:1 1 auto;
  min-width:0;
}
.adk-offer-picker__item-title{
  display:flex;
  align-items:flex-start;
  gap:8px;
  min-width:0;
  font-weight:600;
  color:#0f172a;
}
.adk-offer-picker__item-title .adk-line-clamp-1{
  min-width:0;
}
.adk-offer-picker__item-meta{
  display:block;
  margin-top:3px;
  color:#64748b;
}
.adk-offer-picker__highlight{
  padding:0 .1em;
  border-radius:4px;
  background:#fef3c7;
  color:#92400e;
}
.adk-offer-picker__item-state{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:28px;
  padding:0 10px;
  border-radius:999px;
  font-size:.78rem;
  font-weight:700;
  white-space:nowrap;
}
.adk-offer-picker__item-state.is-active{
  background:#dcfce7;
  color:#166534;
}
.adk-offer-picker__item-state.is-disabled{
  background:#f1f5f9;
  color:#64748b;
}
.adk-offer-picker__item.is-inactive{
  opacity:.72;
}
.adk-offer-picker__empty{
  padding:12px 4px 4px;
}
.adk-qr-box{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:196px;
  min-height:196px;
  padding:12px;
  border:1px solid #d9dfeb;
  border-radius:14px;
  background:#fff;
  box-shadow:0 10px 24px rgba(15,23,42,.06);
}
.adk-qr-box img,
.adk-qr-box canvas{
  display:block;
  max-width:100%;
  height:auto;
}
.adk-check-chip{
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border:1px solid #dbe1ea;
  border-radius:12px;
  background:#fff;
  cursor:pointer;
}
.adk-check-chip:hover{
  border-color:#93c5fd;
  background:#f8fbff;
}
.adk-check-chip input{
  margin:0;
}
.adk-advanced-panel{
  border:1px solid #d7e3f4;
  border-radius:14px;
  background:linear-gradient(180deg,#f9fbff 0%,#f4f7fb 100%);
  padding:14px 16px;
}
.adk-advanced-panel[open]{
  box-shadow:inset 0 0 0 1px rgba(59,130,246,.06);
}
.adk-advanced-panel summary{
  list-style:none;
}
.adk-advanced-panel summary::-webkit-details-marker{
  display:none;
}
.adk-debug-summary{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.adk-debug-summary-actions{
  display:flex;
  align-items:center;
  gap:8px;
}
.adk-debug-card{
  border:1px solid #dbe1ea;
  border-radius:16px;
  padding:16px;
  background:#fff;
}
.adk-debug-card-form{
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
}
.adk-debug-card-result{
  background:linear-gradient(180deg,#fbfcff 0%,#f3f6fb 100%);
}
.adk-debug-card-head{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  margin-bottom:8px;
}
.adk-debug-kicker{
  margin-bottom:4px;
  color:#64748b;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.adk-richtext{
  border:1px solid #dbe1ea;
  border-radius:12px;
  background:#fff;
  overflow:hidden;
}
.adk-richtext-toolbar{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  padding:10px 12px;
  border-bottom:1px solid #e5e7eb;
  background:#f8fafc;
}
.adk-richtext-select{
  width:auto;
  min-width:110px;
}
.adk-richtext-color{
  width:44px;
  min-width:44px;
  padding:4px;
}
.adk-richtext-editor{
  min-height:128px;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  padding:14px 14px 12px;
  overflow:auto;
}
.adk-richtext-editor:empty::before{
  content:attr(data-placeholder);
  color:#6b7280;
}
.adk-richtext-editor:focus{
  outline:none;
}
.adk-richtext-editor-sm{
  min-height:96px;
}
.adk-richtext-editor .adkora-ad__text{
  margin:0;
}
.is-marked-remove{
  opacity:.45;
  filter:grayscale(1);
}
.adk-highlight-row{
  outline:2px solid rgba(59,130,246,.5);
  outline-offset:-2px;
  background:linear-gradient(180deg,rgba(239,246,255,.95) 0%, rgba(248,250,252,.95) 100%);
}
.adk-highlight-row td{
  background:transparent !important;
}
.adk-copy-toast-wrap{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:1080;
  display:flex;
  flex-direction:column;
  gap:10px;
  pointer-events:none;
}
.adk-copy-toast{
  min-width:220px;
  max-width:320px;
  padding:10px 14px;
  border-radius:12px;
  color:#fff;
  box-shadow:0 16px 40px rgba(15,23,42,.22);
  opacity:0;
  transform:translateY(8px);
  transition:opacity .18s ease, transform .18s ease;
}
.adk-copy-toast.is-visible{
  opacity:1;
  transform:translateY(0);
}
.adk-copy-toast.is-success{
  background:#166534;
}
.adk-copy-toast.is-danger{
  background:#b91c1c;
}
.adk-code-block{
  margin:0;
  padding:14px 16px;
  border:1px solid #dbe1ea;
  border-radius:12px;
  background:#f8fafc;
  font-size:.9rem;
  white-space:pre-wrap;
  word-break:break-word;
}
.adk-code-modal .modal-dialog{
  max-width:760px;
}
.adk-code-modal .modal-body{
  background:#f8fafc;
}
.adk-settings-hub{
  display:flex;
  flex-direction:column;
  gap:0;
}
.adk-settings-section{
  border:1px solid #dbe1ea;
  border-radius:16px;
  padding:18px;
  background:#fff;
}
.adk-settings-section-header{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:16px;
  align-items:start;
}
.adk-settings-section-intro{
  min-width:0;
}
.adk-settings-section-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
  align-self:start;
  gap:8px;
}
.adk-settings-provider-head{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  margin-bottom:2px;
}
.adk-provider-icon{
  width:34px;
  height:34px;
  border-radius:10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 34px;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.04em;
  border:1px solid #dbe1ea;
  background:#fff;
  color:#0f172a;
}
.adk-provider-icon svg{
  width:18px;
  height:18px;
  display:block;
  flex:0 0 18px;
}
.adk-provider-icon-openai{
  background:#ecfdf5;
  border-color:#bbf7d0;
  color:#166534;
}
.adk-provider-icon-gemini{
  background:#eef2ff;
  border-color:#c7d2fe;
  color:#4338ca;
}
.adk-provider-icon-google-cloud{
  background:#eff6ff;
  border-color:#bfdbfe;
  color:#1d4ed8;
}
.adk-provider-icon-google-free{
  background:#fff7ed;
  border-color:#fed7aa;
  color:#c2410c;
}
.adk-provider-icon-builtin{
  background:#ecfeff;
  border-color:#a5f3fc;
  color:#0f766e;
}
.adk-provider-icon-builtin-compact{
  background:#f5f3ff;
  border-color:#ddd6fe;
  color:#6d28d9;
}
.adk-provider-icon-amazon{
  background:#fff7ed;
  border-color:#fdba74;
  color:#c2410c;
}
.adk-provider-icon-shopee{
  background:#fff7ed;
  border-color:#fdba74;
  color:#ea580c;
}
.adk-provider-icon-lazada{
  background:#fdf2f8;
  border-color:#f9a8d4;
  color:#be185d;
}
.adk-provider-info{
  width:18px;
  height:18px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 18px;
  font-size:.72rem;
  font-weight:700;
  line-height:1;
  background:#eef2ff;
  color:#475569;
  border:1px solid #dbe1ea;
  cursor:help;
  user-select:none;
}
.adk-settings-integration-list{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.adk-settings-integration-item{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  gap:16px;
  align-items:center;
  padding:16px;
  border:1px solid #e5e7eb;
  border-radius:14px;
  background:#f8fafc;
}
.adk-settings-integration-item.is-active-provider{
  border-color:#bfdbfe;
  background:linear-gradient(180deg, #f8fbff 0%, #f1f6ff 100%);
  box-shadow:0 10px 24px rgba(59,130,246,.08);
}
.adk-settings-integration-item-clickable{
  cursor:pointer;
  transition:border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.adk-settings-integration-item-clickable:hover{
  border-color:#bfdbfe;
  box-shadow:0 10px 24px rgba(15,23,42,.06);
}
.adk-settings-integration-item-clickable:focus-visible{
  outline:0;
  border-color:#93c5fd;
  box-shadow:0 0 0 4px rgba(59,130,246,.12);
}
.adk-settings-integration-item.is-active-provider.adk-settings-integration-item-clickable:hover{
  border-color:#93c5fd;
  box-shadow:0 12px 28px rgba(59,130,246,.12);
}
.adk-settings-integration-copy{
  min-width:0;
}
.adk-settings-integration-badges{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.adk-settings-integration-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.adk-settings-integration-actions form{
  margin:0;
}
.adk-provider-recommendation{
  border:1px solid transparent;
}
.adk-provider-recommendation-quality{
  background:#e7f0ff;
  border-color:#c6dafc;
  color:#2156a5;
}
.adk-provider-recommendation-value{
  background:#e9f8ef;
  border-color:#bfe7cf;
  color:#1f7a44;
}
.adk-provider-recommendation-free{
  background:#e9f7fb;
  border-color:#bfe3ee;
  color:#0f6b78;
}
.adk-provider-recommendation-coverage{
  background:#f1f5f9;
  border-color:#d6dee8;
  color:#475569;
}
.adk-provider-recommendation-testing{
  background:#fff7ed;
  border-color:#fed7aa;
  color:#b45309;
}
.adk-settings-modal .modal-dialog{
  max-width:720px;
}
.adk-settings-modal .modal-content{
  border:0;
  border-radius:18px;
  box-shadow:0 20px 50px rgba(15,23,42,.18);
}
.adk-settings-modal .modal-body{
  background:#f8fafc;
}
.adk-code-summary{
  padding:2px 2px 6px;
}
.adk-ajax-panel{
  transition:opacity .16s ease;
}
.adk-ajax-panel.is-loading{
  opacity:.58;
  pointer-events:none;
}
.adk-offer-thumb{
  width:48px;
  height:48px;
  border-radius:10px;
  object-fit:cover;
  display:block;
  background:#eef2f7;
  border:1px solid #dbe1ea;
}
.adk-offer-thumb-empty{
  display:flex;
  align-items:center;
  justify-content:center;
  color:#64748b;
  font-size:11px;
  font-weight:600;
}
.adk-offers-table-wrap{
  overflow-x:auto;
  overflow-y:hidden;
}
.adk-offers-table{
  width:100%;
  min-width:1120px;
  table-layout:fixed;
}
.adk-offers-id-col{
  width:52px;
}
.adk-offers-picture-col{
  width:84px;
}
.adk-offers-name-col{
  width:220px;
}
.adk-offers-network-col{
  width:88px;
}
.adk-offers-taxonomy-col{
  width:96px;
}
.adk-offers-creative-col{
  width:210px;
}
.adk-offers-compat-col{
  width:190px;
}
.adk-offers-delivery-col{
  width:136px;
}
.adk-offers-actions-col{
  width:72px;
}
.adk-offers-table td,
.adk-offers-table th{
  overflow:hidden;
}
.adk-offers-name-text{
  line-height:1.35;
  word-break:break-word;
}
.adk-offers-creative-col .adk-line-clamp-2{
  max-width:100%;
  line-height:1.45;
}
.adk-sites-summary-card{
  min-height:144px;
}
.adk-sites-summary-card-accent{
  background:linear-gradient(180deg,#f9fbff 0%,#f3f7ff 100%);
  border:1px solid #d9e6ff;
}
.adk-sites-summary-number{
  margin-top:6px;
  font-size:2rem;
  line-height:1;
  font-weight:800;
  color:#0f172a;
}
.adk-sites-summary-stack{
  min-width:148px;
  display:grid;
  gap:8px;
}
.adk-sites-summary-stack span{
  display:block;
  color:#64748b;
  font-size:.75rem;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.adk-sites-summary-stack strong{
  display:block;
  color:#0f172a;
  font-size:.98rem;
  font-weight:700;
}
.adk-sites-filter-form{
  display:flex;
  flex:1 1 0;
  width:auto;
  min-width:0;
  margin:0;
}
.adk-sites-filter-row{
  align-items:center;
  flex-wrap:nowrap;
}
.adk-sites-filter-inline{
  display:flex;
  flex:1 1 auto;
  align-items:center;
  gap:.5rem;
  flex-wrap:nowrap !important;
  width:100%;
}
.adk-sites-filter-inline .form-control{
  width:auto !important;
  flex:1 1 0 !important;
  min-width:0 !important;
}
.adk-sites-filter-select{
  width:190px;
  flex:0 0 190px;
}
.adk-sites-filter-groups{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top:14px;
}
.adk-sites-filter-group{
  display:flex;
  align-items:flex-start;
  gap:12px;
  flex-wrap:wrap;
}
.adk-sites-filter-label{
  min-width:124px;
  padding-top:4px;
  color:#475569;
  font-size:.86rem;
  font-weight:700;
}
.adk-sites-chipbar{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.adk-sites-chip{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:0 12px;
  border:1px solid #d7deea;
  border-radius:999px;
  background:#fff;
  color:#475569;
  text-decoration:none;
  font-size:.88rem;
  font-weight:600;
  transition:border-color .16s ease, background .16s ease, color .16s ease, box-shadow .16s ease;
}
.adk-sites-chip:hover{
  border-color:#9db9ff;
  background:#f7faff;
  color:#1d4ed8;
}
.adk-sites-chip.is-active{
  border-color:#bfdbfe;
  background:#eff6ff;
  color:#1d4ed8;
  box-shadow:inset 0 0 0 1px rgba(29,78,216,.06);
}
.adk-sites-table th{
  white-space:nowrap;
}
.adk-sites-table tbody tr + tr td{
  border-top:1px solid #eef2f7;
}
.adk-sites-site{
  min-width:170px;
}
.adk-sites-inline-meta{
  margin-top:6px;
  color:#64748b;
  font-size:.79rem;
}
.adk-sites-pill-stack{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}
.adk-sites-actions{
  min-width:270px;
}
.adk-sites-empty-state{
  padding:14px 16px;
  border:1px dashed #cbd5e1;
  border-radius:12px;
  background:#f8fafc;
  color:#475569;
  font-size:1rem;
  font-weight:600;
}
.adk-sites-empty-state.is-filtered{
  border-color:#f5c2c7;
  background:#fff5f5;
  color:#b42318;
}
.adk-offer-preview-grid{
  display:grid;
  grid-template-columns:minmax(220px,320px) minmax(0,1fr);
  gap:16px;
  align-items:start;
}
.adk-offer-preview-media{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:196px;
  padding:12px;
  border:1px solid #dbe1ea;
  border-radius:12px;
  background:#fff;
}
.adk-offer-preview-image{
  max-width:100%;
  max-height:180px;
  width:auto;
  height:auto;
  display:block;
  border-radius:10px;
  background:#fff;
}
.adk-post-hero-image-row{
  display:grid;
  grid-template-columns:160px minmax(0,1fr);
  gap:16px;
  align-items:start;
}
.adk-post-hero-image-preview-wrap{
  width:160px;
  height:160px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid #dbe1ea;
  border-radius:16px;
  background:#f8fafc;
  overflow:hidden;
}
.adk-post-hero-image-preview-button{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:100%;
  padding:10px;
  border:0;
  background:transparent;
  cursor:zoom-in;
}
.adk-post-hero-image-preview-button:disabled{
  cursor:default;
}
.adk-post-hero-image-preview-button:focus-visible{
  outline:2px solid #2563eb;
  outline-offset:2px;
}
.adk-post-hero-image-preview{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  display:block;
}
.adk-post-hero-image-fields{
  min-width:0;
}
.adk-post-offer-combobox{
  position:relative;
}
.adk-post-offer-combobox__trigger{
  width:100%;
  min-height:46px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 14px;
  border:1px solid #cbd5e1;
  border-radius:12px;
  background:#fff;
  color:#0f172a;
  text-align:left;
  transition:border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.adk-post-offer-combobox__trigger:hover{
  border-color:#93c5fd;
}
.adk-post-offer-combobox__trigger:focus-visible{
  outline:0;
  border-color:#86b7fe;
  box-shadow:0 0 0 .25rem rgba(13,110,253,.15);
}
.adk-post-offer-combobox.is-open .adk-post-offer-combobox__trigger{
  border-color:#86b7fe;
  box-shadow:0 0 0 .25rem rgba(13,110,253,.12);
}
.adk-post-offer-combobox__trigger-copy{
  min-width:0;
  flex:1 1 auto;
}
.adk-post-offer-combobox__trigger-label{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-weight:500;
}
.adk-post-offer-combobox__trigger-icon{
  flex:0 0 auto;
  width:18px;
  height:18px;
  color:#64748b;
  transition:transform .16s ease;
}
.adk-post-offer-combobox.is-open .adk-post-offer-combobox__trigger-icon{
  transform:rotate(180deg);
}
.adk-post-offer-combobox__trigger-icon svg{
  display:block;
  width:100%;
  height:100%;
}
.adk-post-offer-combobox__panel{
  position:absolute;
  top:calc(100% + 8px);
  left:0;
  right:0;
  z-index:40;
  overflow:hidden;
  border:1px solid #dbe1ea;
  border-radius:16px;
  background:#fff;
  box-shadow:0 22px 48px rgba(15,23,42,.16);
}
.adk-post-offer-combobox__search-row{
  padding:12px 12px 10px;
  border-bottom:1px solid #eef2f7;
  background:#fbfdff;
}
.adk-post-offer-combobox__list{
  max-height:320px;
  overflow:auto;
  padding:10px;
}
.adk-post-offer-combobox__option{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:11px 12px;
  border:1px solid #e2e8f0;
  border-radius:12px;
  background:#fff;
  color:#0f172a;
  text-align:left;
  transition:border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.adk-post-offer-combobox__option + .adk-post-offer-combobox__option{
  margin-top:8px;
}
.adk-post-offer-combobox__option:hover{
  border-color:#93c5fd;
  background:#f8fbff;
}
.adk-post-offer-combobox__option:focus-visible{
  outline:0;
  border-color:#86b7fe;
  box-shadow:0 0 0 .25rem rgba(13,110,253,.12);
}
.adk-post-offer-combobox__option.is-selected{
  border-color:#bfdbfe;
  background:#eff6ff;
}
.adk-post-offer-combobox__option.is-disabled{
  opacity:.8;
}
.adk-post-offer-combobox__option-copy{
  min-width:0;
  flex:1 1 auto;
}
.adk-post-offer-combobox__option-title{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-weight:600;
}
.adk-post-offer-combobox__state{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:28px;
  padding:0 10px;
  border-radius:999px;
  font-size:.78rem;
  font-weight:700;
  white-space:nowrap;
}
.adk-post-offer-combobox__state.is-selected{
  background:#dbeafe;
  color:#1d4ed8;
}
.adk-post-offer-combobox__state.is-disabled{
  background:#f1f5f9;
  color:#64748b;
}
.adk-post-offer-combobox__empty{
  padding:14px 6px 6px;
  color:#64748b;
  font-size:.92rem;
}
.adk-offer-inline-gallery{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.adk-offer-import-row{
  display:flex;
  align-items:center;
  gap:12px;
}
.adk-offer-import-input{
  flex:1 1 auto;
  min-width:0;
}
.adk-offer-import-actions{
  display:flex;
  align-items:center;
  gap:12px;
  flex:0 0 auto;
}
.adk-offer-import-actions .btn{
  min-width:132px;
}
.adk-offer-inline-item{
  display:grid;
  grid-template-columns:72px minmax(0,1fr) auto;
  gap:12px;
  align-items:center;
  padding:10px 0;
  border-top:1px solid #e5e7eb;
}
.adk-offer-inline-item:first-child{
  border-top:0;
  padding-top:0;
}
.adk-offer-inline-thumb-wrap{
  width:72px;
  height:72px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:4px;
  border:1px solid #e5e7eb;
  border-radius:12px;
  background:#f8fafc;
  overflow:hidden;
}
.adk-offer-inline-thumb-button{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:100%;
  padding:0;
  border:0;
  background:transparent;
  cursor:zoom-in;
}
.adk-offer-inline-thumb-button:disabled{
  cursor:default;
}
.adk-offer-inline-thumb-button:focus-visible{
  outline:2px solid #2563eb;
  outline-offset:2px;
  border-radius:10px;
}
.adk-offer-inline-thumb{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  display:block;
}
.adk-offer-image-lightbox{
  width:min(1120px, calc(100vw - 32px));
  max-width:1120px;
  padding:0;
  border:0;
  border-radius:24px;
  background:transparent;
  box-shadow:none;
}
.adk-offer-image-lightbox::backdrop{
  background:rgba(15,23,42,.72);
  backdrop-filter:blur(4px);
}
.adk-offer-image-lightbox__card{
  overflow:hidden;
  border:1px solid rgba(148,163,184,.22);
  border-radius:24px;
  background:#0f172a;
  box-shadow:0 30px 80px rgba(15,23,42,.4);
}
.adk-offer-image-lightbox__header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:18px 20px 14px;
  color:#e2e8f0;
}
.adk-offer-image-lightbox__title{
  font-size:1rem;
  font-weight:700;
}
.adk-offer-image-lightbox__close{
  flex:0 0 auto;
  width:40px;
  height:40px;
  padding:0;
  border:1px solid rgba(148,163,184,.3);
  border-radius:999px;
  background:rgba(15,23,42,.55);
  color:#f8fafc;
  font-size:1.5rem;
  line-height:1;
  cursor:pointer;
}
.adk-offer-image-lightbox__body{
  display:flex;
  flex-direction:column;
  gap:14px;
  padding:0 20px 20px;
}
.adk-offer-image-lightbox__image{
  display:block;
  width:100%;
  max-height:min(72vh, 860px);
  object-fit:contain;
  border-radius:18px;
  background:#020617;
}
.adk-offer-image-lightbox__meta{
  color:#94a3b8;
  font-size:.82rem;
  line-height:1.5;
  word-break:break-all;
}
.adk-offer-inline-url{
  min-width:0;
}
.adk-offer-inline-actions{
  display:flex;
  align-items:center;
  gap:14px;
  white-space:nowrap;
}
.adk-offer-import-gallery{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:14px;
}
.adk-offer-import-card{
  display:flex;
  gap:12px;
  padding:12px;
  border:1px solid #dbe1ea;
  border-radius:12px;
  background:#fff;
}
.adk-offer-import-thumb-wrap{
  flex:0 0 88px;
  width:88px;
  height:88px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid #e5e7eb;
  border-radius:12px;
  background:#f8fafc;
  overflow:hidden;
}
.adk-offer-import-thumb{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.adk-offer-import-meta{
  flex:1 1 auto;
  min-width:0;
}

.adk-content{ padding:18px 18px; }

@media (max-width: 992px){
  .adk-settings-integration-item{
    grid-template-columns:1fr;
    align-items:flex-start;
  }
  .adk-settings-section-header{
    grid-template-columns:1fr;
  }
  .adk-settings-section-actions{
    justify-content:flex-start;
  }
  .adk-settings-integration-badges,
  .adk-settings-integration-actions{
    justify-content:flex-start;
  }
  .adk-offer-preview-grid{
    grid-template-columns:1fr;
  }
  .adk-post-hero-image-row{
    grid-template-columns:1fr;
  }
  .adk-post-hero-image-preview-wrap{
    width:100%;
    max-width:220px;
    height:220px;
    margin:0 auto;
  }
  .adk-post-offer-combobox__option{
    align-items:flex-start;
  }
  .adk-post-offer-combobox__option-title{
    white-space:normal;
  }
  .adk-offer-import-row{
    flex-wrap:wrap;
    align-items:stretch;
  }
  .adk-offer-import-input,
  .adk-offer-import-actions{
    width:100%;
  }
  .adk-offer-import-actions{
    justify-content:flex-start;
  }
  .adk-offer-inline-item{
    grid-template-columns:1fr;
    align-items:flex-start;
  }
  .adk-offer-inline-thumb-wrap{
    width:84px;
    height:84px;
  }
  .adk-offer-image-lightbox{
    width:calc(100vw - 20px);
  }
  .adk-offer-image-lightbox__header,
  .adk-offer-image-lightbox__body{
    padding-left:14px;
    padding-right:14px;
  }
  .adk-offer-image-lightbox__image{
    max-height:68vh;
  }
  .adk-offer-inline-actions{
    gap:18px;
  }
  .adk-offer-import-card{
    flex-direction:column;
  }
  .adk-offer-import-thumb-wrap{
    width:100%;
    max-width:220px;
    margin:0 auto;
  }
  .adk-offer-picker__summary{
    flex-direction:column;
    align-items:flex-start;
  }
  .adk-offer-picker__toolbar{
        flex-direction:column;
        align-items:stretch;
      }
  .adk-offer-picker__toolbar-actions{
        width:100%;
      }
  .adk-offer-picker__item{
        flex-wrap:wrap;
      }
  .adk-offer-picker__item-state{
      margin-left:28px;
    }
  .adk-offer-modal{
      width:calc(100vw - 20px);
    }
  .adk-offer-modal__header,
  .adk-offer-modal__footer,
  .adk-offer-modal__body{
      padding-left:16px;
      padding-right:16px;
    }
  }

/* Mobile */
@media (max-width: 992px){
  .adk-sidebar{
    position:fixed; left:-280px; top:0; height:100vh; z-index:9999;
    transition:left .18s ease;
  }
  .adk-sidebar.is-open{ left:0; }
  .adk-burger{ display:inline-flex; }
  .adk-sidebar-close{ display:inline-flex; }
  .adk-sites-filter-label{
    min-width:100%;
    padding-top:0;
  }
  .adk-sites-filter-inline{
    flex-wrap:wrap;
  }
  .adk-sites-filter-row{
    flex-wrap:wrap;
  }
  .adk-sites-filter-select{
    width:100%;
    flex:1 1 220px;
  }
  .adk-sites-actions{
    min-width:0;
  }
  .adk-posts-filter-row{
    flex-wrap:wrap;
  }
  .adk-posts-filter-search,
  .adk-posts-filter-select-wrap,
  .adk-posts-filter-reset{
    flex:1 1 100%;
  }
  .adk-posts-table-wrap{
    overflow-x:auto;
  }
  .adk-posts-table{
    min-width:980px;
  }
}

.adk-auth-page{
  min-height:100vh;
  background:#eef2ff;
  color:#0f172a;
}
.adk-auth-lang{
  position:fixed;
  top:20px;
  right:24px;
  z-index:50;
}
.adk-auth-page .adk-lang-switch{
  padding:6px 8px;
  border:1px solid rgba(148,163,184,.35);
  border-radius:12px;
  background:rgba(255,255,255,.9);
  box-shadow:0 16px 40px rgba(15,23,42,.08);
  backdrop-filter:blur(8px);
}
.adk-auth-page .adk-lang-switch .form-select{
  min-width: 134px;
  height:40px;
  padding:.45rem 2rem .45rem .8rem;
  border-radius:10px;
  font-size:.95rem;
  line-height:1.2;
}
.adk-auth-shell{
  min-height:100vh;
  display:grid;
  grid-template-columns:minmax(380px, 1.08fr) minmax(420px, .92fr);
}
.adk-auth-hero{
  position:relative;
  overflow:hidden;
  padding:38px 42px 46px;
  background:
    radial-gradient(circle at 16% 18%, rgba(255,255,255,.16), transparent 34%),
    radial-gradient(circle at 78% 20%, rgba(59,130,246,.28), transparent 28%),
    linear-gradient(145deg, #3149aa 0%, #7d2d8b 54%, #a11f69 100%);
  color:#fff;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.adk-auth-hero::after{
  content:"";
  position:absolute;
  inset:auto -90px -120px auto;
  width:420px;
  height:420px;
  border-radius:48px;
  background:linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.03));
  transform:rotate(-14deg);
  box-shadow:0 20px 70px rgba(15,23,42,.2);
}
.adk-auth-hero-signup::before{
  content:"";
  position:absolute;
  left:-120px;
  bottom:-140px;
  width:320px;
  height:320px;
  border-radius:999px;
  background:radial-gradient(circle, rgba(255,255,255,.14), transparent 72%);
}
.adk-auth-brand{
  position:relative;
  z-index:2;
  font-size:2rem;
  font-weight:900;
  line-height:1;
  letter-spacing:-.06em;
}
.adk-auth-brand-link{
  display:inline-flex;
  align-items:center;
  gap:0;
  width:fit-content;
  text-decoration:none;
}
.adk-auth-brand-link:hover{
  text-decoration:none;
  opacity:.96;
}
.adk-auth-brand-core{
  color:#fff;
}
.adk-auth-brand-accent{
  color:#ff493b;
}
.adk-auth-hero-body{
  position:relative;
  z-index:2;
  display:flex;
  flex-direction:column;
  gap:26px;
  max-width:560px;
}
.adk-auth-copy h1{
  margin:0 0 14px;
  font-size:3.15rem;
  line-height:1.06;
  letter-spacing:-.04em;
  font-weight:900;
}
.adk-auth-copy p{
  margin:0;
  max-width:520px;
  color:rgba(255,255,255,.92);
  font-size:1.05rem;
  line-height:1.7;
}
.adk-auth-note{
  max-width:420px;
  padding:18px 20px;
  border-radius:16px;
  background:rgba(255,255,255,.12);
  color:rgba(255,255,255,.94);
  backdrop-filter:blur(6px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
}
.adk-auth-hero-card{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:14px;
}
.adk-auth-hero-stat{
  padding:16px 18px;
  border-radius:18px;
  background:rgba(19,24,47,.22);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
}
.adk-auth-hero-stat strong{
  display:block;
  font-size:1rem;
  color:#fff;
}
.adk-auth-hero-stat-label{
  display:block;
  margin-bottom:7px;
  color:rgba(255,255,255,.7);
  font-size:.78rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.adk-auth-feature-list{
  display:flex;
  flex-direction:column;
  gap:16px;
  max-width:560px;
}
.adk-auth-feature{
  padding:18px 20px;
  border-radius:18px;
  background:rgba(255,255,255,.12);
  backdrop-filter:blur(6px);
}
.adk-auth-feature strong{
  display:block;
  margin-bottom:6px;
  font-size:1.05rem;
}
.adk-auth-feature span{
  display:block;
  color:rgba(255,255,255,.9);
  line-height:1.65;
}
.adk-auth-panel{
  min-height:100vh;
  padding:36px 44px;
  background:#fff;
  display:flex;
  flex-direction:column;
}
.adk-auth-panel-top{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:8px;
  min-height:28px;
  color:#64748b;
  font-size:.95rem;
}
.adk-auth-top-copy{
  color:#64748b;
}
.adk-auth-top-link{
  color:#1d4ed8;
  font-weight:600;
  text-decoration:underline;
}
.adk-auth-panel-top-inline{
  justify-content:flex-start;
  margin-top:6px;
  min-height:unset;
}
.adk-auth-form-wrap{
  width:min(420px, 100%);
  margin:auto;
  display:flex;
  flex-direction:column;
  gap:18px;
}
.adk-auth-form-wrap-wide{
  width:min(470px, 100%);
}
.adk-auth-logo{
  font-size:2.3rem;
  line-height:1;
  font-weight:900;
  letter-spacing:-.06em;
}
.adk-auth-logo .adk-auth-brand-core{
  color:#162554;
}
.adk-auth-logo .adk-auth-brand-accent{
  color:#ff493b;
}
.adk-auth-title{
  margin:0;
  font-size:2.05rem;
  font-weight:800;
  letter-spacing:-.04em;
  color:#102246;
}
.adk-auth-form{
  display:flex;
  flex-direction:column;
  gap:14px;
}
.adk-auth-form .form-label{
  margin-bottom:8px;
  font-weight:600;
  color:#102246;
}
.adk-auth-input{
  min-height:54px;
  border:1px solid #b8c6e3;
  border-radius:14px;
  background:#fff;
  color:#0f172a;
  font-size:1rem;
  box-shadow:none !important;
}
.adk-auth-input:focus{
  border-color:#315efb;
  box-shadow:0 0 0 4px rgba(49,94,251,.12) !important;
}
.adk-auth-submit{
  min-height:50px;
  border:0;
  border-radius:14px;
  background:linear-gradient(180deg, #ff6038 0%, #f23636 100%);
  color:#fff;
  font-weight:800;
  letter-spacing:.01em;
  box-shadow:0 16px 30px rgba(242,54,54,.24);
}
.adk-auth-submit:hover,
.adk-auth-submit:focus{
  color:#fff;
  background:linear-gradient(180deg, #ff6f43 0%, #f23636 100%);
}
.adk-auth-submit-signup{
  margin-top:4px;
}
.adk-auth-checks{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-top:2px;
}
.adk-auth-check{
  display:flex;
  align-items:flex-start;
  gap:12px;
  color:#334155;
  line-height:1.55;
}
.adk-auth-check input{
  margin-top:4px;
  width:18px;
  height:18px;
  accent-color:#315efb;
}
.adk-auth-footer-note{
  color:#64748b;
  font-size:.93rem;
  line-height:1.7;
}
.adk-auth-page .alert{
  margin-bottom:0;
  border-radius:14px;
  border:0;
  box-shadow:0 14px 34px rgba(15,23,42,.06);
}
@media (max-width: 1080px){
  .adk-auth-shell{
    grid-template-columns:1fr;
  }
  .adk-auth-hero{
    min-height:unset;
    padding:28px 24px 34px;
  }
  .adk-auth-hero-card{
    grid-template-columns:1fr;
  }
  .adk-auth-panel{
    min-height:unset;
    padding:28px 20px 40px;
  }
  .adk-auth-panel-top{
    justify-content:flex-start;
    margin-bottom:8px;
  }
  .adk-auth-form-wrap,
  .adk-auth-form-wrap-wide{
    width:100%;
    max-width:520px;
  }
}
@media (max-width: 640px){
  .adk-auth-lang{
    position:static;
    padding:16px 16px 0;
  }
  .adk-auth-page .adk-lang-switch{
    margin-left:auto;
  }
  .adk-auth-copy h1{
    font-size:2.15rem;
  }
  .adk-auth-title{
    font-size:1.7rem;
  }
}
.adk-pulse-severity-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:24px;
  padding:0 10px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.08);
  font-size:.74rem;
  font-weight:800;
  letter-spacing:.02em;
  text-transform:uppercase;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.65);
}
.adk-pulse-severity-badge--low{
  color:#475569;
  background:linear-gradient(180deg, rgba(241,245,249,.96), rgba(226,232,240,.88));
}
.adk-pulse-severity-badge--medium{
  color:#9a3412;
  background:linear-gradient(180deg, rgba(254,240,138,.95), rgba(253,230,138,.82));
}
.adk-pulse-severity-badge--high{
  color:#991b1b;
  background:linear-gradient(180deg, rgba(254,202,202,.96), rgba(252,165,165,.84));
}
.adk-pulse-score-pill{
  display:inline-flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  min-width:88px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(15,23,42,.08);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7);
}
.adk-pulse-score-pill strong{
  display:block;
  font-size:1rem;
  line-height:1.05;
  font-weight:900;
}
.adk-pulse-score-pill span{
  display:block;
  margin-top:4px;
  font-size:.73rem;
  font-weight:800;
  letter-spacing:.03em;
  text-transform:uppercase;
}
.adk-pulse-score-pill--hot{
  color:#b91c1c;
  background:linear-gradient(180deg, rgba(254,226,226,.98), rgba(254,202,202,.84));
}
.adk-pulse-score-pill--warm{
  color:#9a3412;
  background:linear-gradient(180deg, rgba(255,247,237,.98), rgba(254,215,170,.86));
}
.adk-pulse-score-pill--mixed{
  color:#334155;
  background:linear-gradient(180deg, rgba(248,250,252,.98), rgba(226,232,240,.88));
}
.adk-admin-accordion{
  overflow:hidden;
}
.adk-admin-accordion + .adk-admin-accordion{
  margin-top:1rem;
}
.adk-admin-accordion__summary{
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding:1rem 1.125rem;
  cursor:pointer;
  user-select:none;
}
.adk-admin-accordion__summary::-webkit-details-marker{
  display:none;
}
.adk-admin-accordion__title-wrap{
  display:flex;
  align-items:center;
  gap:.625rem;
  min-width:0;
}
.adk-admin-accordion__title{
  font-size:1rem;
  font-weight:800;
  color:#102246;
}
.adk-admin-accordion__meta{
  color:#64748b;
  font-size:.84rem;
  font-weight:600;
}
.adk-admin-accordion__caret{
  position:relative;
  flex:0 0 auto;
  width:34px;
  height:34px;
  border-radius:999px;
  border:1px solid #d9e2f3;
  background:linear-gradient(180deg, #ffffff, #f8fbff);
}
.adk-admin-accordion__caret::before,
.adk-admin-accordion__caret::after{
  content:"";
  position:absolute;
  top:50%;
  left:50%;
  width:10px;
  height:2px;
  border-radius:999px;
  background:#3557d4;
  transition:transform .18s ease;
}
.adk-admin-accordion__caret::before{
  transform:translate(-65%, -50%) rotate(45deg);
}
.adk-admin-accordion__caret::after{
  transform:translate(-5%, -50%) rotate(-45deg);
}
.adk-admin-accordion[open] .adk-admin-accordion__caret::before{
  transform:translate(-65%, -50%) rotate(-45deg);
}
.adk-admin-accordion[open] .adk-admin-accordion__caret::after{
  transform:translate(-5%, -50%) rotate(45deg);
}
.adk-admin-accordion__body{
  border-top:1px solid #edf2f9;
}
