.detailed-order-shell .page-head,
.detailed-order-shell .premium-page-head {
  margin-bottom: 18px;
}
.detailed-order-shell .section-subtitle {
  color: #64748b;
  margin-top: 6px;
}
.detailed-order-shell .soft-card,
.detailed-order-shell .card {
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}
.detailed-order-shell .hero-note-box,
.detailed-order-shell .note-box {
  background: linear-gradient(180deg, rgba(239,244,255,0.95), rgba(248,250,255,0.92));
  border: 1px solid rgba(46,95,191,0.12);
  border-radius: 18px;
  padding: 14px 16px;
  color: #274472;
}
.detailed-order-shell .stats-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.detailed-order-shell .stats-mini-card {
  border: 1px solid rgba(46,95,191,0.12);
  border-radius: 18px;
  background: #fff;
  padding: 14px 16px;
}
.detailed-order-shell .stats-mini-card label {
  display: block;
  font-size: 12px;
  color: #64748b;
  margin-bottom: 6px;
}
.detailed-order-shell .stats-mini-card strong {
  font-size: 22px;
  color: #1e3a8a;
}
.detailed-order-shell .two-col-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.detailed-order-shell .section-card {
  background: #fff;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 20px;
  padding: 18px;
}
.detailed-order-shell .section-card h3 {
  margin: 0 0 12px;
  color: #1f3e8e;
}
.detailed-order-shell .line-card-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
}
.detailed-order-shell .line-card-grid .span-2 { grid-column: span 2; }
.detailed-order-shell .line-card-grid .span-3 { grid-column: span 3; }
.detailed-order-shell .line-card-grid .span-4 { grid-column: span 4; }
.detailed-order-shell .line-card-grid .full { grid-column: 1 / -1; }
.detailed-order-shell .input-chip {
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,0.1);
  background: #fff;
}
.detailed-order-shell .line-item-card {
  border: 1px solid rgba(46,95,191,0.12);
  border-radius: 20px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,1), rgba(248,250,255,0.94));
  box-shadow: 0 12px 24px rgba(15,23,42,0.04);
}
.detailed-order-shell .line-item-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.detailed-order-shell .line-item-head strong {
  color: #1e3a8a;
  font-size: 16px;
}
.detailed-order-shell .totals-panel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.detailed-order-shell .totals-panel {
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 20px;
  background: #fff;
  padding: 16px;
}
.detailed-order-shell .totals-panel h3 {
  margin: 0 0 12px;
  font-size: 16px;
  color: #1f3e8e;
}
.detailed-order-shell .totals-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
}
.detailed-order-shell .totals-panel li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 14px;
  color: #1f2937;
}
.detailed-order-shell .totals-panel li strong {
  color: #111827;
}
.detailed-order-shell .status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(46,95,191,0.14);
  background: rgba(46,95,191,0.08);
  color: #1e40af;
}
.detailed-order-shell .status-pill.teklif { background: rgba(59,130,246,0.12); color: #1d4ed8; }
.detailed-order-shell .status-pill.siparis { background: rgba(14,165,233,0.12); color: #0369a1; }
.detailed-order-shell .status-pill.onay { background: rgba(22,163,74,0.12); color: #166534; }
.detailed-order-shell .status-pill.iptal { background: rgba(239,68,68,0.12); color: #b91c1c; }
.detailed-order-shell .public-detailed-shell .public-card,
.public-detailed-shell .public-card {
  border-radius: 26px;
  box-shadow: 0 16px 40px rgba(15,23,42,0.10);
}
.public-detailed-shell .premium-form-grid label span,
.public-detailed-shell .detail-row-grid label span {
  color: rgba(15, 23, 42, 0.78);
  font-weight: 700;
}
body[data-theme='dark'].public-detailed-shell .premium-form-grid label span,
body[data-theme='dark'].public-detailed-shell .detail-row-grid label span {
  color: rgba(255,255,255,0.92);
}
.public-detailed-shell .detail-row {
  border-radius: 22px;
  box-shadow: 0 16px 38px rgba(15,23,42,0.08);
}
.public-detailed-shell .section-note-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(46,95,191,0.16);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #294c8f;
  background: rgba(255,255,255,0.74);
}
body[data-theme='dark'].public-detailed-shell .section-note-chip {
  color: #dbeafe;
  background: rgba(17,24,39,0.55);
  border-color: rgba(147,197,253,0.22);
}
.public-detailed-shell .success-action-row { display:flex; gap:12px; flex-wrap:wrap; margin-top:12px; }
.detailed-order-pdf-body {
  background: #f3f5fa;
  padding: 28px;
  color: #0f172a;
  font-family: Arial, sans-serif;
}
.detailed-order-pdf-page {
  max-width: 1120px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #dbe3f2;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 18px 40px rgba(15,23,42,0.10);
}
.detailed-order-pdf-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  border-bottom: 2px solid #dbe3f2;
  padding-bottom: 16px;
  margin-bottom: 18px;
}
.detailed-order-pdf-logo {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #dbe3f2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.detailed-order-pdf-logo.round { border-radius: 50%; }
.detailed-order-pdf-logo.rectangle { width: 128px; height: 82px; }
.detailed-order-pdf-logo img { width: 100%; height: 100%; object-fit: contain; }
.detailed-order-pdf-brand { text-align: center; }
.detailed-order-pdf-brand h1 { margin: 0; font-size: 36px; }
.detailed-order-pdf-brand p { margin: 8px 0 0; color: #475569; }
.detailed-order-pdf-meta {
  font-size: 12px;
  color: #475569;
  display: grid;
  gap: 5px;
  justify-items: end;
}
.detailed-order-pdf-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.detailed-order-pdf-box {
  border: 1px solid #dbe3f2;
  border-radius: 14px;
  padding: 12px 14px;
  background: #fafcff;
}
.detailed-order-pdf-box.full { grid-column: 1 / -1; }
.detailed-order-pdf-box label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 4px;
}
.detailed-order-pdf-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
.detailed-order-pdf-table th,
.detailed-order-pdf-table td {
  border: 1px solid #dbe3f2;
  padding: 8px 10px;
  font-size: 12px;
  vertical-align: top;
}
.detailed-order-pdf-table thead th {
  background: #eef3ff;
  color: #1e3a8a;
}
.detailed-order-pdf-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
  margin-top: 18px;
}
.detailed-order-pdf-panel {
  border: 1px solid #dbe3f2;
  border-radius: 16px;
  padding: 14px;
  background: #fafcff;
}
.detailed-order-pdf-panel h3 {
  margin: 0 0 10px;
  color: #1e3a8a;
  font-size: 16px;
}
.detailed-order-pdf-panel ul { list-style:none; padding:0; margin:0; display:grid; gap:8px; }
.detailed-order-pdf-panel li { display:flex; justify-content:space-between; gap:10px; font-size:13px; }
.detailed-order-pdf-actions { margin-top: 16px; }
@media print {
  .detailed-order-pdf-body { background: #fff; padding: 0; }
  .detailed-order-pdf-page { box-shadow:none; border:none; margin:0; max-width:none; border-radius:0; padding:0; }
  .detailed-order-pdf-actions { display:none; }
}
@media (max-width: 1100px) {
  .detailed-order-shell .stats-mini-grid,
  .detailed-order-shell .totals-panel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detailed-order-shell .line-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .detailed-order-shell .two-col-cards,
  .detailed-order-shell .stats-mini-grid,
  .detailed-order-shell .totals-panel-grid,
  .detailed-order-pdf-grid,
  .detailed-order-pdf-panels,
  .detailed-order-pdf-head { grid-template-columns: 1fr; }
  .detailed-order-shell .line-card-grid { grid-template-columns: 1fr; }
  .detailed-order-shell .line-card-grid .span-2,
  .detailed-order-shell .line-card-grid .span-3,
  .detailed-order-shell .line-card-grid .span-4 { grid-column: auto; }
  .detailed-order-pdf-meta { justify-items: start; }
  .detailed-order-pdf-brand { text-align: left; }
}
.detailed-order-shell .action-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.detailed-order-shell .section-card,
.detailed-order-shell .totals-panel,
.detailed-order-shell .line-item-card {
  transition: box-shadow .2s ease, transform .2s ease;
}
.detailed-order-shell .section-card:hover,
.detailed-order-shell .totals-panel:hover,
.detailed-order-shell .line-item-card:hover {
  box-shadow: 0 20px 36px rgba(15,23,42,0.08);
}
.detailed-order-shell .sticky-save-bar {
  position: sticky;
  bottom: 14px;
  z-index: 8;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  margin-top: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(46,95,191,0.12);
  box-shadow: 0 18px 34px rgba(15,23,42,0.08);
}
.detailed-order-shell .sticky-save-bar .save-meta {
  color: #64748b;
  font-size: 13px;
}
.detailed-order-shell .line-toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.detailed-order-shell .line-toolbar .mini-note {
  margin-left: auto;
}
.public-detailed-shell .hero-card,
.public-detailed-shell .premium-form-card,
.public-detailed-shell .success-card {
  border-radius: 28px;
}
.public-detailed-shell .hero-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(240,245,255,0.96));
  border: 1px solid rgba(46,95,191,0.10);
}
.public-detailed-shell .hero-card h1 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
}
.public-detailed-shell .hero-card p {
  max-width: 760px;
  color: #475569;
}
.public-detailed-shell .premium-form-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,250,255,0.98));
  border: 1px solid rgba(46,95,191,0.10);
}
.public-detailed-shell .premium-form-grid input,
.public-detailed-shell .premium-form-grid textarea,
.public-detailed-shell .premium-form-grid select,
.public-detailed-shell .detail-row-grid input,
.public-detailed-shell .detail-row-grid textarea,
.public-detailed-shell .detail-row-grid select {
  min-height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,0.10);
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}
.public-detailed-shell .premium-form-grid textarea,
.public-detailed-shell .detail-row-grid textarea {
  min-height: 120px;
}
.public-detailed-shell .detail-row {
  background: linear-gradient(180deg, rgba(255,255,255,1), rgba(248,250,255,0.96));
  border: 1px solid rgba(46,95,191,0.12);
  box-shadow: 0 18px 36px rgba(15,23,42,0.06);
}
.public-detailed-shell .detail-row-head {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(46,95,191,0.10);
}
.public-detailed-shell .detail-row-head strong,
.public-detailed-shell .section-head h2 {
  color: #10244d;
}
.public-detailed-shell .hero-note-box {
  background: linear-gradient(180deg, rgba(239,244,255,0.98), rgba(248,250,255,0.94));
  border: 1px solid rgba(46,95,191,0.14);
  border-radius: 18px;
  padding: 14px 16px;
  color: #274472;
}
body[data-theme='dark'].public-detailed-shell .hero-card,
body[data-theme='dark'].public-detailed-shell .premium-form-card,
body[data-theme='dark'].public-detailed-shell .detail-row {
  background: linear-gradient(180deg, rgba(11,18,41,0.96), rgba(15,23,42,0.98));
  border-color: rgba(147,197,253,0.18);
}
body[data-theme='dark'].public-detailed-shell .hero-card p,
body[data-theme='dark'].public-detailed-shell .section-note,
body[data-theme='dark'].public-detailed-shell .mini-note {
  color: rgba(226,232,240,0.84);
}
body[data-theme='dark'].public-detailed-shell .premium-form-grid input,
body[data-theme='dark'].public-detailed-shell .premium-form-grid textarea,
body[data-theme='dark'].public-detailed-shell .premium-form-grid select,
body[data-theme='dark'].public-detailed-shell .detail-row-grid input,
body[data-theme='dark'].public-detailed-shell .detail-row-grid textarea,
body[data-theme='dark'].public-detailed-shell .detail-row-grid select {
  background: rgba(15,23,42,0.88);
  color: #f8fafc;
  border-color: rgba(147,197,253,0.18);
}
.detailed-order-pdf-body {
  background: #edf2fb;
  padding: 18px;
}
.detailed-order-pdf-page.a4-portrait {
  max-width: 210mm;
  min-height: 297mm;
  padding: 12mm;
  border-radius: 10px;
}
.detailed-order-pdf-brand h1 {
  font-size: 28px;
  line-height: 1.08;
}
.detailed-order-pdf-table td strong {
  color: #0f172a;
}
.detailed-order-pdf-table .pdf-detail-stack {
  display: grid;
  gap: 4px;
  font-size: 11px;
}
.detailed-order-pdf-table .pdf-subline {
  margin-top: 4px;
  color: #475569;
  font-size: 11px;
}
.detailed-order-pdf-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.detailed-order-pdf-panel {
  border: 1px solid #dbe3f2;
  border-radius: 14px;
  padding: 12px 14px;
  background: #fafcff;
}
.detailed-order-pdf-panel h3 {
  margin: 0 0 10px;
  color: #1e3a8a;
  font-size: 14px;
}
.detailed-order-pdf-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.detailed-order-pdf-panel li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
}
.detailed-order-pdf-actions {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 16px;
}
.detailed-order-pdf-actions button {
  border-radius: 12px;
  border: 1px solid #c7d4ee;
  background: #fff;
  padding: 10px 14px;
  cursor: pointer;
}
.avoid-break {
  break-inside: avoid;
  page-break-inside: avoid;
}
@page {
  size: A4 portrait;
  margin: 10mm;
}
@media print {
  body.detailed-order-pdf-body {
    padding: 0;
    background: #fff;
  }
  .detailed-order-pdf-page.a4-portrait {
    max-width: none;
    min-height: auto;
    width: auto;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .no-print,
  .detailed-order-pdf-actions {
    display: none !important;
  }
  .detailed-order-pdf-head,
  .detailed-order-pdf-grid,
  .detailed-order-pdf-panels {
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .detailed-order-pdf-table tr,
  .detailed-order-pdf-table td,
  .detailed-order-pdf-table th {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}
@media (max-width: 1200px) {
  .detailed-order-shell .line-card-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .detailed-order-shell .stats-mini-grid,
  .detailed-order-shell .two-col-cards,
  .detailed-order-shell .totals-panel-grid,
  .detailed-order-pdf-grid,
  .detailed-order-pdf-panels {
    grid-template-columns: 1fr;
  }
  .detailed-order-shell .line-card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .detailed-order-shell .line-toolbar .mini-note { margin-left: 0; }
  .detailed-order-shell .sticky-save-bar { flex-direction: column; align-items: stretch; }
}
@media (max-width: 640px) {
  .detailed-order-shell .line-card-grid { grid-template-columns: 1fr; }
  .detailed-order-shell .line-card-grid .span-2,
  .detailed-order-shell .line-card-grid .span-3,
  .detailed-order-shell .line-card-grid .span-4,
  .detailed-order-shell .line-card-grid .full { grid-column: auto; }
  .public-detailed-shell .success-action-row,
  .public-detailed-shell .detail-row-head,
  .detailed-order-shell .line-item-head,
  .detailed-order-shell .action-row {
    flex-direction: column;
    align-items: stretch;
  }
}


/* FINAL HEADER RÖTUŞ: SAYFA, REV.TARIHI SOLUNDA AYNI SATIRDA; FİRMA ADI TAM GÖRÜNSÜN */
.detailed-order-pdf-meta,
.smart-meta {
  width: 100%;
  min-width: 0;
  justify-items: stretch !important;
  align-content: start;
}

.detailed-order-pdf-meta .meta-row,
.smart-meta .meta-row {
  width: 100%;
  min-width: 0;
  text-align: right;
  line-height: 1.18;
}

.detailed-order-pdf-meta .meta-company,
.smart-meta .meta-company {
  justify-self: end;
  white-space: normal !important;
  overflow: visible !important;
  max-width: 290px;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.detailed-order-pdf-meta .meta-company strong,
.smart-meta .meta-company strong {
  white-space: nowrap;
}

.detailed-order-pdf-meta .meta-date-page,
.smart-meta .meta-date-page {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: end;
  align-items: baseline;
  column-gap: 14px;
  white-space: nowrap;
}

.detailed-order-pdf-meta .meta-page,
.detailed-order-pdf-meta .meta-revision-date,
.smart-meta .meta-page,
.smart-meta .meta-revision-date {
  text-align: right;
}

.screen-head-pack .detailed-order-pdf-meta .meta-company,
.smart-head .smart-meta .meta-company {
  max-width: 260px;
}

@media print {
  .detailed-order-pdf-meta,
  .smart-meta {
    gap: 2px !important;
  }

  .detailed-order-pdf-meta .meta-company,
  .smart-meta .meta-company {
    max-width: 250px !important;
    line-height: 1.12 !important;
  }

  .detailed-order-pdf-meta .meta-date-page,
  .smart-meta .meta-date-page {
    column-gap: 10px !important;
  }
}



/* FAZ14_0002 KOD0007 - logo response + toplam yazıyla */
.detailed-order-pdf-logo {
  width: clamp(82px, 9vw, 108px);
  height: clamp(82px, 9vw, 108px);
}
.detailed-order-pdf-logo.rectangle {
  width: clamp(120px, 13vw, 156px);
  height: clamp(62px, 7vw, 88px);
}
.detailed-order-pdf-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.totals-words-box,
.smart-total-words-panel {
  border: 1px solid rgba(46,95,191,0.14);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(248,250,255,0.98), rgba(239,244,255,0.96));
  padding: 12px 14px;
}
.totals-words-box strong,
.smart-total-words-panel strong {
  display: block;
  margin-bottom: 6px;
  color: #1e3a8a;
}
.totals-words-box span,
.smart-total-words-panel span {
  display: block;
  color: #0f172a;
  line-height: 1.5;
  font-weight: 600;
}
@media print {
  .smart-total-words-panel {
    margin-top: 8px;
    box-shadow: none;
  }
}


/* KOD0007 - FAZ15 detaylı sipariş public formu gece modu uyum düzeltmesi */
body[data-theme='dark'].public-detailed-shell,
body[data-theme='dark'].public-detailed-shell .public-shell {
  color: #e8eefc;
}
body[data-theme='dark'].public-detailed-shell .hero-card,
body[data-theme='dark'].public-detailed-shell .premium-form-card,
body[data-theme='dark'].public-detailed-shell .public-card,
body[data-theme='dark'].public-detailed-shell .detail-row,
body[data-theme='dark'].public-detailed-shell .success-card {
  background: linear-gradient(180deg, rgba(8,15,35,0.96), rgba(12,22,44,0.98));
  border-color: rgba(147,197,253,0.18);
  box-shadow: 0 18px 42px rgba(0,0,0,0.28);
  color: #eef4ff;
}
body[data-theme='dark'].public-detailed-shell .hero-card h1,
body[data-theme='dark'].public-detailed-shell .section-head h2,
body[data-theme='dark'].public-detailed-shell .detail-row-head strong,
body[data-theme='dark'].public-detailed-shell .public-card h2,
body[data-theme='dark'].public-detailed-shell .premium-form-grid label span,
body[data-theme='dark'].public-detailed-shell .detail-row-grid label span {
  color: #f8fbff;
}
body[data-theme='dark'].public-detailed-shell .hero-card p,
body[data-theme='dark'].public-detailed-shell .section-note,
body[data-theme='dark'].public-detailed-shell .mini-note,
body[data-theme='dark'].public-detailed-shell .public-card p,
body[data-theme='dark'].public-detailed-shell .success-card span,
body[data-theme='dark'].public-detailed-shell .inline-note,
body[data-theme='dark'].public-detailed-shell .muted {
  color: rgba(226,232,240,0.86);
}
body[data-theme='dark'].public-detailed-shell .section-note-chip,
body[data-theme='dark'].public-detailed-shell .hero-eyebrow,
body[data-theme='dark'].public-detailed-shell .status-badge,
body[data-theme='dark'].public-detailed-shell .mini-note-chip {
  background: rgba(30,41,59,0.72);
  color: #dbeafe;
  border-color: rgba(147,197,253,0.24);
}
body[data-theme='dark'].public-detailed-shell .hero-note-box {
  background: linear-gradient(180deg, rgba(15,23,42,0.90), rgba(10,18,34,0.92));
  border-color: rgba(147,197,253,0.18);
  color: #dbeafe;
}
body[data-theme='dark'].public-detailed-shell .premium-form-grid input,
body[data-theme='dark'].public-detailed-shell .premium-form-grid textarea,
body[data-theme='dark'].public-detailed-shell .premium-form-grid select,
body[data-theme='dark'].public-detailed-shell .detail-row-grid input,
body[data-theme='dark'].public-detailed-shell .detail-row-grid textarea,
body[data-theme='dark'].public-detailed-shell .detail-row-grid select {
  background: rgba(13,22,43,0.92);
  color: #f8fafc;
  border-color: rgba(147,197,253,0.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
body[data-theme='dark'].public-detailed-shell .premium-form-grid input::placeholder,
body[data-theme='dark'].public-detailed-shell .premium-form-grid textarea::placeholder,
body[data-theme='dark'].public-detailed-shell .detail-row-grid input::placeholder,
body[data-theme='dark'].public-detailed-shell .detail-row-grid textarea::placeholder {
  color: rgba(191,208,238,0.55);
}
body[data-theme='dark'].public-detailed-shell .premium-form-grid input:focus,
body[data-theme='dark'].public-detailed-shell .premium-form-grid textarea:focus,
body[data-theme='dark'].public-detailed-shell .premium-form-grid select:focus,
body[data-theme='dark'].public-detailed-shell .detail-row-grid input:focus,
body[data-theme='dark'].public-detailed-shell .detail-row-grid textarea:focus,
body[data-theme='dark'].public-detailed-shell .detail-row-grid select:focus {
  border-color: rgba(165,194,255,0.48);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.14);
}
body[data-theme='dark'].public-detailed-shell .inline-link,
body[data-theme='dark'].public-detailed-shell a {
  color: #a9c5ff;
}
body[data-theme='dark'].public-detailed-shell .btn,
body[data-theme='dark'].public-detailed-shell button {
  color: #eaf2ff;
}
body[data-theme='dark'].public-detailed-shell .btn.btn-outline,
body[data-theme='dark'].public-detailed-shell .ghost-btn,
body[data-theme='dark'].public-detailed-shell .secondary-btn {
  background: rgba(15,23,42,0.48);
  border-color: rgba(147,197,253,0.24);
  color: #dbeafe;
}
body[data-theme='dark'].public-detailed-shell .btn.btn-outline:hover,
body[data-theme='dark'].public-detailed-shell .ghost-btn:hover,
body[data-theme='dark'].public-detailed-shell .secondary-btn:hover {
  background: rgba(37,99,235,0.18);
}
body[data-theme='dark'].public-detailed-shell .detail-row-head {
  border-bottom-color: rgba(147,197,253,0.18);
}
