/* Destek — Kaze dark glass ticket inbox; night-yard + grid via dashboard-modern */
.destek-page{
  --destek-nav-h:82px;
  --destek-ink:#151718;
  --destek-line:rgba(255,255,255,.13);
  --destek-soft:rgba(255,255,255,.045);
  --destek-panel:linear-gradient(145deg,rgba(255,255,255,.08),rgba(10,12,13,.62));
  /* Tall workspace: full viewport minus navbar */
  --destek-board-h:calc(100dvh - var(--destek-nav-h));
  --destek-board-max:calc(100dvh - var(--destek-nav-h));
  min-height:100vh;
  background:transparent;
  color:#f3f3f1;
  overflow-x:hidden;
}
.destek-page .site-header.nb-07__bar{max-width:100%;box-sizing:border-box}
.destek-page .site-header .header-actions{min-width:0;gap:8px}
.destek-page .site-header .account-area{max-width:min(218px,42vw);min-width:0}
.destek-page #destek-login-link[hidden],
.destek-page #destek-account[hidden],
.destek-page #destek-menu[hidden],
.destek-page .nav-auth-only[hidden],
.destek-page .nav-destek-only[hidden],
.destek-page #destek-access[hidden],
.destek-page #destek-app[hidden],
.destek-page #destek-thread[hidden],
.destek-page #destek-thread-empty[hidden],
.destek-page #destek-staff-bar[hidden],
.destek-page #thread-user-chip[hidden],
.destek-page #thread-category[hidden],
.destek-page .destek-attach-previews:empty{display:none!important}
.destek-page #destek-thread:not([hidden]){display:flex!important}
.destek-page #destek-app:not([hidden]){display:flex!important;flex-direction:column}

.destek-stage{
  position:relative;
  isolation:isolate;
  box-sizing:border-box;
  min-height:100vh;
  min-height:100dvh;
  /* Center hero+board below fixed navbar — same pattern as Ekip */
  padding-top:var(--destek-nav-h);
  overflow-x:hidden;
  overflow-y:auto;
  max-width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  justify-content:safe center;
}
.destek-stage > .glow-radial-brand-top,
.destek-stage > .hero-atmosphere,
.destek-stage > .hero-fog{
  position:fixed;inset:0;z-index:0;pointer-events:none;
  width:auto;height:auto;min-width:100%;min-height:100%;max-width:none;
}
.destek-stage > .hero-atmosphere{opacity:.28}
.destek-stage > .hero-fog{opacity:.1}
.destek-stage > .glow-radial-brand-top{opacity:.4}

.destek-shell{
  position:relative;z-index:1;
  flex:0 0 auto;
  width:min(100% - 40px,1140px);
  max-width:100%;
  margin-left:auto;
  margin-right:auto;
  padding:12px 0 16px;
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:12px;
  /* Explicit fixed height — do NOT shrink to ticket list content */
  height:var(--destek-board-h);
  min-height:max(560px,70dvh);
  max-height:var(--destek-board-max);
  overflow:hidden;
}

/* Force center lock — board stays LARGE; centering a tall board is OK */
body.dashboard-page.destek-page .destek-stage{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  justify-content:safe center!important;
  box-sizing:border-box!important;
  min-height:100vh!important;
  min-height:100dvh!important;
  padding-top:var(--destek-nav-h)!important;
}
body.dashboard-page.destek-page .destek-shell{
  flex:0 0 auto!important;
  width:min(100% - 40px,1140px)!important;
  max-width:100%!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
  height:var(--destek-board-h)!important;
  min-height:max(560px,70dvh)!important;
  max-height:var(--destek-board-max)!important;
  overflow:hidden!important;
  align-items:stretch!important;
}

.destek-access{
  margin:0 auto;
  max-width:520px;
  padding:26px 24px;
  border:1px solid var(--destek-line);
  border-radius:16px;
  background:var(--destek-panel);
  backdrop-filter:blur(16px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 18px 50px rgba(0,0,0,.2);
  text-align:left;
}
.destek-access h1{margin:0 0 10px;font-size:clamp(22px,3vw,30px);line-height:1.25;color:#f4f5f2}
.destek-access p{margin:0 0 18px;color:#a8aea9;font-size:13px;line-height:1.6}

#destek-app{
  /* Fill shell; flex-basis auto so height is not collapsed by flex:1 / 0% */
  flex:1 1 auto;
  min-height:0;
  height:100%;
  max-height:none;
  overflow:hidden;
  gap:10px;
  display:flex;
  flex-direction:column;
  align-items:stretch;
}

.destek-hero{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  padding:2px 2px 4px;
  flex-shrink:0;
}
.destek-hero h1{
  margin:0;
  font-size:clamp(22px,2.8vw,28px);
  font-weight:600;
  letter-spacing:-.025em;
  color:#f4f5f2;
}
.destek-hero.is-compact{display:none}
#destek-app > .destek-hero{display:none}

.destek-fab{
  position:fixed;
  right:max(20px, env(safe-area-inset-right, 0px));
  bottom:max(20px, env(safe-area-inset-bottom, 0px));
  z-index:35;
  width:52px;height:52px;
  padding:0;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.16);
  background:linear-gradient(145deg,rgba(255,255,255,.11),rgba(12,14,15,.88));
  color:#eceee9;
  box-shadow:0 10px 32px rgba(0,0,0,.38),inset 0 1px 0 rgba(255,255,255,.07);
  cursor:pointer;
  display:grid;place-items:center;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease,background .2s ease;
}
.destek-fab:hover{
  transform:translateY(-2px);
  border-color:rgba(255,255,255,.26);
  background:linear-gradient(145deg,rgba(255,255,255,.15),rgba(14,16,17,.92));
  box-shadow:0 14px 36px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.1);
}
.destek-fab:focus-visible{
  outline:2px solid rgba(255,255,255,.42);
  outline-offset:3px;
}
.destek-fab svg{
  width:22px;height:22px;
  fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;
}

.destek-layout,
.destek-board{
  display:grid;
  grid-template-columns:minmax(220px,300px) minmax(0,1fr);
  gap:12px;
  flex:1 1 auto;
  min-height:0;
  height:100%;
  align-items:stretch;
  overflow:hidden;
}
.destek-list-panel,
.destek-thread-panel{
  border:1px solid var(--destek-line);
  border-radius:14px;
  background:var(--destek-panel);
  backdrop-filter:blur(16px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 16px 40px rgba(0,0,0,.16);
  overflow:hidden;
  min-height:0;
  height:100%;
  align-self:stretch;
  display:flex;
  flex-direction:column;
}
.destek-list{
  display:flex;flex-direction:column;gap:1px;
  padding:6px;
  flex:1;
  min-height:0;
  overflow-x:hidden;
  overflow-y:auto;
  scrollbar-gutter:stable;
  scrollbar-width:thin;
  scrollbar-color:rgba(255,255,255,.28) transparent;
}
.destek-list::-webkit-scrollbar{width:8px}
.destek-list::-webkit-scrollbar-track{background:transparent}
.destek-list::-webkit-scrollbar-thumb{
  background:rgba(255,255,255,.22);
  border-radius:999px;
  border:2px solid transparent;
  background-clip:padding-box;
}
.destek-list::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,.36);background-clip:padding-box}
.destek-empty{margin:16px 10px;color:#8e948f;font-size:12px;line-height:1.5}
.destek-ticket{
  display:flex;flex-direction:column;gap:5px;width:100%;
  text-align:left;border:0;border-radius:10px;
  padding:10px 11px 9px;background:transparent;color:inherit;
  font:inherit;cursor:pointer;transition:background .15s;
}
.destek-ticket:hover{background:rgba(255,255,255,.04)}
.destek-ticket.is-active{
  background:rgba(255,255,255,.09);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.06);
}
.destek-ticket-top{display:flex;justify-content:space-between;align-items:center;gap:8px}
.destek-ticket-top strong{font-size:10px;color:#a8aea9;font-weight:600;letter-spacing:.04em}
.destek-ticket-subject{
  font-size:13px;font-weight:600;color:#f1f2ef;line-height:1.35;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.destek-ticket-meta{display:flex;justify-content:space-between;gap:10px;color:#858b86;font-size:10px}

.destek-status{
  display:inline-flex;align-items:center;padding:2px 8px;border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.03);
  font-size:9px;letter-spacing:.05em;text-transform:uppercase;font-weight:550;color:#d0d4d0;
}
.destek-status.is-open{
  border-color:rgba(255,255,255,.22);color:#f0f1ed;
  background:rgba(255,255,255,.06);
}
.destek-status.is-in_progress{
  border-color:rgba(255,255,255,.18);color:#e8eae6;
  background:rgba(255,255,255,.05);
}
.destek-status.is-resolved{
  border-color:rgba(255,255,255,.28);color:#fff;
  background:rgba(255,255,255,.1);
}
.destek-status.is-closed{
  border-color:rgba(255,255,255,.1);color:#8e948f;
  background:transparent;
}
.destek-cat{
  display:inline-flex;padding:2px 8px;border-radius:999px;
  border:1px solid rgba(255,255,255,.1);
  background:rgba(255,255,255,.03);
  font-size:9px;letter-spacing:.03em;color:#b4b8b4;
}

.destek-thread-empty{
  margin:auto;padding:28px 24px;text-align:center;max-width:340px;
}
.destek-thread-empty h2{margin:0;font-size:16px;font-weight:600;line-height:1.35;color:#eceeea}
.destek-thread-empty p{margin:8px 0 0;font-size:12px;line-height:1.5;color:#8e948f}
.destek-thread{
  display:flex;flex-direction:column;
  min-height:0;flex:1;overflow:hidden;
}
.destek-thread-head{
  display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;
  padding:14px 14px 12px;border-bottom:1px solid var(--destek-line);
  flex-shrink:0;
}
.destek-thread-id{margin:0;color:#858b86;font-size:10px;letter-spacing:.1em;text-transform:uppercase;font-weight:500}
.destek-thread-meta h2{margin:3px 0 7px;font-size:16px;font-weight:600;line-height:1.3;letter-spacing:-.01em}
.destek-thread-tags{display:flex;flex-wrap:wrap;gap:5px}
.destek-user-chip{
  display:flex;align-items:center;gap:9px;
  padding:6px 9px;border-radius:11px;border:1px solid var(--destek-line);
  background:rgba(255,255,255,.03);min-width:150px;
}
.destek-user-avatar{
  width:30px;height:30px;border-radius:8px;display:grid;place-items:center;
  background:#eef0eb;color:#101212;font-size:11px;font-weight:700;overflow:hidden;flex-shrink:0;
}
.destek-user-avatar.has-image{background:transparent;color:transparent}
.destek-user-avatar img,
.destek-user-avatar .account-avatar-img{width:100%;height:100%;object-fit:cover;display:block}
.destek-user-chip strong{display:block;font-size:12px;font-weight:600}
.destek-user-chip small{display:block;margin-top:1px;color:#8e948f;font-size:10px}

.destek-staff-bar{
  display:flex;flex-wrap:wrap;align-items:center;gap:8px;
  padding:8px 14px;border-bottom:1px solid var(--destek-line);
  background:rgba(255,255,255,.025);
  flex-shrink:0;
}
.destek-staff-bar select{
  min-height:36px;min-width:148px;padding:0 10px;border-radius:9px;
  border:1px solid rgba(255,255,255,.15);background:rgba(4,5,6,.55);color:#eef0ec;
  font:inherit;font-size:12px;outline:none;
}
.destek-staff-bar select:focus{border-color:rgba(255,255,255,.4)}
.destek-staff-bar .dashboard-button{
  min-height:36px;padding:0 14px;font-size:11px;border-radius:9px;
}

.destek-messages{
  flex:1;
  min-height:0;
  overflow-x:hidden;
  overflow-y:auto;
  padding:12px 14px;
  display:flex;
  flex-direction:column;
  gap:8px;
  scrollbar-gutter:stable;
  scrollbar-width:thin;
  scrollbar-color:rgba(255,255,255,.32) rgba(255,255,255,.04);
}
.destek-messages::-webkit-scrollbar{width:9px}
.destek-messages::-webkit-scrollbar-track{
  background:rgba(255,255,255,.04);
  border-radius:999px;
  margin:4px 0;
}
.destek-messages::-webkit-scrollbar-thumb{
  background:rgba(255,255,255,.28);
  border-radius:999px;
  border:2px solid transparent;
  background-clip:padding-box;
}
.destek-messages::-webkit-scrollbar-thumb:hover{
  background:rgba(255,255,255,.42);
  background-clip:padding-box;
}
.destek-msg{
  max-width:min(100%,480px);padding:10px 12px;border-radius:12px 12px 12px 4px;
  border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.035);
}
.destek-msg.is-staff{
  align-self:flex-end;
  border-radius:12px 12px 4px 12px;
  border-color:rgba(255,255,255,.14);background:rgba(255,255,255,.08);
}
.destek-msg header{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:5px;flex-wrap:wrap}
.destek-msg strong{font-size:11px;font-weight:600;color:#d7dad6}
.destek-name.is-admin{color:#ef9b9b!important}
.destek-name.is-moderator{color:#c6adff!important}
.destek-name.is-support{color:#9bcaff!important}
.destek-name.is-allowlist{color:#c8f08a!important}
.destek-name.is-user{color:#bdc2c0!important}
.destek-msg time{font-size:10px;color:#858b86;flex-shrink:0}
.destek-msg p{margin:0;font-size:13px;line-height:1.5;color:#eceeea;white-space:pre-wrap}
.destek-msg.is-mention-me{
  border-color:rgba(120,180,255,.35);
  box-shadow:inset 0 0 0 1px rgba(120,180,255,.12);
}
.destek-msg-mention-badge{
  display:inline-flex;align-items:center;gap:4px;
  margin-left:auto;padding:2px 7px;border-radius:999px;
  font-size:10px;font-weight:600;letter-spacing:.01em;
  color:#dce9ff;background:rgba(80,130,220,.28);
  border:1px solid rgba(130,170,255,.35);
}
.destek-mention{
  color:#9ec1ff;font-weight:600;
  background:rgba(90,140,230,.16);
  border-radius:4px;padding:0 3px;
}
.destek-mention.is-admin{color:#ef9b9b;background:rgba(239,155,155,.14)}
.destek-mention.is-moderator{color:#c6adff;background:rgba(198,173,255,.14)}
.destek-mention.is-support{color:#9bcaff;background:rgba(155,202,255,.14)}
.destek-mention.is-allowlist{color:#c8f08a;background:rgba(200,240,138,.14)}
.destek-mention.is-user{color:#d5d8d4;background:rgba(189,194,192,.12)}
.destek-ticket-mentions{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:18px;height:18px;padding:0 5px;border-radius:999px;
  font-size:10px;font-weight:700;line-height:1;
  color:#eef4ff;background:rgba(70,120,210,.55);
  border:1px solid rgba(140,180,255,.4);
}
.destek-ticket-mentions.is-unread{
  background:rgba(55,110,230,.85);
  box-shadow:0 0 0 2px rgba(80,130,240,.2);
}
.destek-ticket-top{display:flex;align-items:center;gap:8px}
.destek-ticket-top .destek-status{margin-left:auto}
.destek-compose-wrap{position:relative}
.destek-mention-menu{
  position:absolute;left:0;right:72px;bottom:calc(100% + 6px);z-index:5;
  max-height:220px;overflow:auto;
  border:1px solid rgba(255,255,255,.16);border-radius:12px;
  background:rgba(16,18,20,.96);backdrop-filter:blur(12px);
  box-shadow:0 12px 40px rgba(0,0,0,.45);
  padding:4px;
}
.destek-mention-menu[hidden]{display:none!important}
.destek-mention-option{
  width:100%;display:flex;align-items:center;gap:10px;
  padding:8px 10px;border:0;border-radius:9px;
  background:transparent;color:#eceeea;text-align:left;cursor:pointer;font:inherit;
}
.destek-mention-option:hover,
.destek-mention-option.is-active{background:rgba(255,255,255,.08)}
.destek-mention-option strong{display:block;font-size:12px;font-weight:600}
.destek-mention-option small{display:block;font-size:10px;color:#8e948f}
.destek-mention-avatar{
  width:28px;height:28px;border-radius:8px;flex-shrink:0;
  background:rgba(255,255,255,.08);display:grid;place-items:center;
  font-size:11px;font-weight:600;color:#d7dad6;overflow:hidden;
}
.destek-mention-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.destek-attach-chip.is-uploading::after{
  content:'';position:absolute;inset:0;background:rgba(0,0,0,.45);
}
.destek-attach-chip.is-error{border-color:rgba(220,80,80,.55)}
.destek-msg-atts,
.destek-msg-media{
  display:flex;flex-direction:column;gap:8px;margin-top:8px;
}
.destek-msg-att a,
.destek-msg-media a{display:block;border-radius:10px;overflow:hidden;border:1px solid rgba(255,255,255,.1)}
.destek-msg-att img,
.destek-msg-att video,
.destek-msg-media img,
.destek-msg-media video{
  display:block;max-width:100%;max-height:280px;width:auto;height:auto;
  object-fit:contain;background:rgba(0,0,0,.25);vertical-align:middle;
}

.destek-reply{
  display:flex;flex-direction:column;gap:8px;
  padding:10px 14px 12px;border-top:1px solid var(--destek-line);
  background:rgba(0,0,0,.12);
  flex-shrink:0;
}
.destek-reply-row{
  display:flex;align-items:center;gap:8px;
}
.destek-reply-row textarea{flex:1;min-width:0}
.destek-reply-actions{
  display:flex;align-items:center;gap:6px;flex-shrink:0;
}
.destek-reply textarea{
  width:100%;min-height:40px;max-height:96px;resize:none;padding:8px 12px;line-height:22px;
  border-radius:10px;border:1px solid rgba(255,255,255,.14);
  background:rgba(4,5,6,.5);color:#f1f2ef;font:inherit;font-size:13px;outline:none;
  box-sizing:border-box;overflow-y:auto;
  transition:border-color .2s;
}
.destek-reply textarea:focus{border-color:rgba(255,255,255,.36);box-shadow:0 0 0 3px rgba(255,255,255,.04)}
.destek-reply textarea:disabled{opacity:.55}
.destek-reply-actions .dashboard-button,
.destek-reply .dashboard-button{min-height:40px;height:40px;padding:0 16px;border-radius:10px}
/* dashboard-modern.css: .dashboard-page label{display:block} beats .destek-attach-btn alone — must tie label+class */
.dashboard-page label.destek-attach-btn,
.destek-page label.destek-attach-btn,
label.destek-attach-btn{
  position:relative;
  width:40px;height:40px;border-radius:10px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.04);color:#d7dad6;
  display:inline-flex;align-items:center;justify-content:center;
  cursor:pointer;
  transition:background .15s,border-color .15s,color .15s;
  flex-shrink:0;
  overflow:hidden;
  box-sizing:border-box;
  padding:0;margin:0;
  font-weight:400;
}
label.destek-attach-btn:not(.is-wide){line-height:0}
label.destek-attach-btn:hover{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.28);color:#fff}
label.destek-attach-btn:has(input:disabled),
label.destek-attach-btn.is-disabled{opacity:.45;pointer-events:none}
label.destek-attach-btn svg,
label.destek-attach-btn .destek-attach-icon{
  display:block;flex:none;width:18px;height:18px;margin:0;
  fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;
  pointer-events:none;position:relative;z-index:0;
}
label.destek-attach-btn span{pointer-events:none;line-height:1;flex:none}
/* Kill ghost file-input boxes: dashboard-modern sets display:block + height:46px on all inputs */
.dashboard-page label.destek-attach-btn input.destek-attach-input,
.destek-page label.destek-attach-btn input.destek-attach-input,
.destek-form label.destek-attach-btn input.destek-attach-input,
label.destek-attach-btn input.destek-attach-input{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
  margin:0!important;
  margin-top:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  opacity:0!important;
  cursor:pointer;
  background:transparent!important;
  box-shadow:none!important;
  font-size:0!important;
  color:transparent!important;
  overflow:hidden!important;
  appearance:none!important;
  -webkit-appearance:none!important;
  z-index:1;
}
.destek-attach-btn input.destek-attach-input::file-selector-button{
  display:none!important;
}
.destek-attach-btn input.destek-attach-input::-webkit-file-upload-button{
  visibility:hidden!important;
  width:0!important;
  height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
}
.destek-attach-previews,
.destek-attach-preview{
  display:flex;flex-wrap:wrap;gap:8px;
}
.destek-attach-preview[hidden],
.destek-attach-preview:empty{display:none!important}
.destek-attach-block{
  display:flex;flex-direction:column;gap:8px;align-items:flex-start;
}
label.destek-attach-btn.is-wide{
  width:auto;height:40px;min-height:40px;padding:0 12px;gap:8px;
  display:inline-flex;align-items:center;justify-content:center;
  font-size:12px;font-weight:500;line-height:1;
}
.dashboard-page .destek-form label.destek-attach-btn,
.destek-form label.destek-attach-btn{
  flex-direction:row;
  gap:8px;
  color:#d7dad6;
  font-size:12px;
  margin:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.destek-attach-chip{
  position:relative;
  width:72px;height:72px;border-radius:10px;overflow:hidden;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(0,0,0,.35);
}
.destek-attach-chip img,
.destek-attach-chip video{
  width:100%;height:100%;object-fit:cover;display:block;
}
.destek-attach-chip .destek-attach-label{
  position:absolute;left:0;right:0;bottom:0;
  padding:3px 5px;font-size:9px;color:#fff;
  background:linear-gradient(transparent,rgba(0,0,0,.75));
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.destek-attach-chip .destek-attach-remove{
  position:absolute;top:4px;right:4px;
  width:20px;height:20px;border-radius:6px;border:0;
  background:rgba(0,0,0,.65);color:#fff;font-size:12px;line-height:1;
  cursor:pointer;display:grid;place-items:center;
}
.destek-attach-chip .destek-attach-remove:hover{background:rgba(180,40,40,.85)}
.destek-attach-hint{margin:0;font-size:10px;color:#858b86}

.destek-modal[hidden]{display:none!important}
.destek-modal{position:fixed;inset:0;z-index:40;display:grid;place-items:center;padding:20px}
.destek-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.62);backdrop-filter:blur(4px)}
.destek-modal-panel{
  position:relative;z-index:1;width:min(100%,460px);
  border:1px solid rgba(255,255,255,.14);border-radius:16px;
  background:linear-gradient(160deg,rgba(28,30,32,.98),rgba(14,16,17,.98));
  padding:16px 16px 14px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 24px 70px rgba(0,0,0,.45);
  max-height:min(90dvh,720px);overflow:auto;
}
.destek-modal-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:12px}
.destek-modal-head h2{margin:0;font-size:17px;font-weight:600;letter-spacing:-.01em}
.destek-modal-close{
  width:32px;height:32px;border-radius:9px;border:1px solid rgba(255,255,255,.12);
  background:transparent;color:#d7dad6;font-size:18px;line-height:1;cursor:pointer;
  transition:background .15s;
}
.destek-modal-close:hover{background:rgba(255,255,255,.08)}
.destek-form{display:flex;flex-direction:column;gap:11px}
.destek-form label:not(.destek-attach-btn){display:flex;flex-direction:column;gap:6px;font-size:11px;color:#a7aca8}
.destek-form .optional{opacity:.65;font-weight:400}
.destek-form input:not(.destek-attach-input),
.destek-form select,
.destek-form textarea{
  width:100%;border-radius:10px;border:1px solid rgba(255,255,255,.14);
  background:rgba(4,5,6,.5);color:#f1f2ef;font:inherit;font-size:13px;padding:10px 12px;outline:none;
}
.destek-form input:not(.destek-attach-input):focus,
.destek-form select:focus,
.destek-form textarea:focus{border-color:rgba(255,255,255,.36);box-shadow:0 0 0 3px rgba(255,255,255,.04)}
.destek-form textarea{min-height:100px;resize:vertical}
.destek-form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:2px}
.destek-form .form-message{min-height:1.2em;margin:0;color:#ffb4b4;font-size:12px}
.destek-form-attach{
  display:flex;flex-direction:column;gap:8px;
}
.destek-form-attach-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}

.sr-only{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0,0,0,0);white-space:nowrap;border:0;
}

@media (max-width:860px){
  .destek-page{
    --destek-board-h:calc(100dvh - var(--destek-nav-h));
    --destek-board-max:calc(100dvh - var(--destek-nav-h));
  }
  .destek-stage,
  body.dashboard-page.destek-page .destek-stage{
    justify-content:flex-start!important;
    align-items:center!important;
    padding-top:calc(var(--destek-nav-h) + 12px)!important;
    padding-left:14px;padding-right:14px;padding-bottom:24px;
  }
  .destek-shell,
  body.dashboard-page.destek-page .destek-shell{
    height:var(--destek-board-h)!important;
    min-height:max(480px,65dvh)!important;
    max-height:var(--destek-board-max)!important;
    overflow:hidden!important;
  }
  #destek-app{
    height:100%;
    overflow:hidden;
  }
  .destek-layout,
  .destek-board{
    grid-template-columns:1fr;
    min-height:0;
    height:100%;
    overflow:hidden;
  }
  .destek-list-panel{
    height:auto;
    max-height:min(28dvh,220px);
    flex:0 0 auto;
  }
  .destek-thread-panel{
    min-height:0;
    height:auto;
    flex:1 1 auto;
  }
  .destek-reply-row{flex-wrap:wrap}
  .destek-reply-actions{width:100%;justify-content:flex-end}
  .destek-reply-actions .dashboard-button{flex:1}
}
@media (max-width:720px){
  .destek-fab{
    right:max(16px, env(safe-area-inset-right, 0px));
    bottom:max(88px, calc(env(safe-area-inset-bottom, 0px) + 72px));
  }
}
@media (max-width:560px){
  .destek-stage{padding:calc(var(--destek-nav-h) + 10px) 12px 20px}
}
