/* DRY Records public shortcode styles
 * Loaded only by the public inmate shortcode.
 */

.dry-records-app{
  --bg:#0b0f14;
  --overlay-top-offset:0px;
  --overlay-side-gutter:18px;
  --text:#e6edf3;
  --muted:#9aa7b2;
  --line:rgba(255,255,255,.08);
  --chip:rgba(255,255,255,.06);
  --shadow:0 10px 30px rgba(0,0,0,.35);
  --radius:14px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono","Courier New", monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  margin:0;
  font-family:var(--sans);
  background:
    radial-gradient(1200px 700px at 20% -10%, rgba(94,234,212,.10), transparent 60%),
    radial-gradient(900px 600px at 90% 10%, rgba(59,130,246,.08), transparent 55%),
    var(--bg);
  color:var(--text);
  padding:1px 0;
}

.dry-records-app *{box-sizing:border-box}

.dry-records-app .wrap{
  max-width:1200px;
  margin:0 auto;
  padding:24px 16px 60px;
}

.dry-records-app header{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}

.dry-records-app .title{
  display:flex;
  flex-direction:column;
  gap:6px;
}

.dry-records-app .title h1{
  margin:0;
  letter-spacing:.2px;
  font-weight:780;
  font-size:22px;
}

.dry-records-app .title .sub{
  color:var(--muted);
  font-size:13px;
}

.dry-records-app .pill{
  font-family:var(--mono);
  font-size:12px;
  padding:6px 10px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:5px;
  background:rgba(255,255,255,.025);
  color:var(--muted);
  white-space:nowrap;
}

.dry-records-app .controls{
  display:grid;
  grid-template-columns:1.4fr .6fr .6fr .7fr .7fr;
  gap:10px;
  margin:14px 0 18px;
}

.dry-records-app .control{
  background:rgba(255,255,255,.03);
  border:1px solid var(--line);
  border-radius:12px;
  padding:10px;
  display:flex;
  align-items:center;
  gap:8px;
  min-height:44px;
}

.dry-records-app .control label{
  font-size:12px;
  color:var(--muted);
  margin-right:6px;
  white-space:nowrap;
}

.dry-records-app .control input,
.dry-records-app .control select{
  width:100%;
  background:transparent;
  border:none;
  outline:none;
  color:var(--text);
  font-size:13px;
}

.dry-records-app .control select option{
  background:#0b0f14;
}

.dry-records-app .btn{
  cursor:pointer;
  background:rgba(255,255,255,.03);
  border:1px solid var(--line);
  color:var(--muted);
  padding:10px 12px;
  border-radius:12px;
  font-weight:650;
  font-size:13px;
  transition:transform .04s ease, filter .12s ease;
}

.dry-records-app .btn:hover{filter:brightness(1.08)}
.dry-records-app .btn:active{transform:translateY(1px)}

.dry-records-app .grid{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:12px;
}

.dry-records-app .card{
  grid-column:span 6;
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
  cursor:pointer;
  transition:transform .07s ease, border-color .12s ease;
}

.dry-records-app .card:hover{
  transform:translateY(-1px);
  border-color:rgba(94,234,212,.30);
}

.dry-records-app .cardTop{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  padding:14px 14px 10px;
  background:rgba(0,0,0,.12);
  border-bottom:1px solid var(--line);
}

.dry-records-app .who{
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:0;
}

.dry-records-app .name{
  font-family:var(--mono);
  font-size:14px;
  font-weight:820;
  letter-spacing:.3px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.dry-records-app .metaRow{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
}

.dry-records-app .chip{
  font-family:var(--mono);
  font-size:11px;
  padding:4px 8px;
  border-radius:5px;
  background:rgba(255,255,255,.025);
  border:1px solid rgba(255,255,255,.12);
  color:var(--muted);
}

.dry-records-app .status{
  font-family:var(--mono);
  font-size:11px;
  padding:4px 8px;
  border-radius:5px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.025);
  color:var(--muted);
  height:fit-content;
}

.dry-records-app .status.in{
  border-color:rgba(251,191,36,.35);
  color:#ffe8b3;
  background:rgba(251,191,36,.08);
}

.dry-records-app .status.out{
  border-color:rgba(52,211,153,.35);
  color:#ccffe9;
  background:rgba(52,211,153,.08);
}

.dry-records-app .imageStrip{
  display:flex;
  gap:12px;
  align-items:stretch;
  padding:12px 14px;
  border-bottom:1px solid var(--line);
  background:rgba(0,0,0,.10);
}

.dry-records-app .mug{
  width:92px;
  height:114px;
  flex:0 0 auto;
  border-radius:12px;
  overflow:hidden;
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
}

.dry-records-app .mug img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  filter:contrast(1.05) saturate(.9);
}

/* Hide broken/empty images */
.dry-records-app .mug img[src=""],
.dry-records-app .mug img:not([src]){
  display:none;
}

.dry-records-app .imgMeta{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:6px;
  justify-content:center;
}

.dry-records-app .imgMeta .id{
  font-family:var(--mono);
  font-size:11px;
  color:var(--muted);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.dry-records-app .imgMeta .dept{
  font-size:13px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.dry-records-app .cardBody{
  padding:12px 14px 14px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px 14px;
}

.dry-records-app .field{
  display:flex;
  flex-direction:column;
  gap:4px;
  min-width:0;
}

.dry-records-app .k{
  font-size:11px;
  color:var(--muted);
}

.dry-records-app .v{
  font-size:13px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.dry-records-app .chargesPreview{
  grid-column:span 2;
  margin-top:2px;
  padding-top:10px;
  border-top:1px dashed var(--line);
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  min-width:0;
}

.dry-records-app .chargeTag{
  display:inline-block;
  max-width:100%;
  min-width:0;
  vertical-align:top;
  font-family:var(--mono);
  font-size:11px;
  line-height:1.25;
  padding:5px 8px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:5px;
  background:rgba(255,255,255,.025);
  color:var(--muted);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.dry-records-app .empty{
  grid-column:1/-1;
  padding:18px;
  border:1px dashed var(--line);
  border-radius:14px;
  color:var(--muted);
  background:rgba(255,255,255,.02);
}

.dry-records-app .openLink{
  grid-column:span 2;
  margin-top:6px;
  font-size:11px;
  font-family:var(--mono);
}

.dry-records-app .openLink a{
  color:var(--muted);
  text-decoration:underline;
}

.dry-records-app .openLink a:hover{
  color:var(--text);
}

.dry-records-app table{
  width:100%;
  border-collapse:collapse;
  font-size:13px;
}

.dry-records-app th,
.dry-records-app td{
  border-bottom:1px solid var(--line);
  padding:10px 8px;
  text-align:left;
}

.dry-records-app th{
  color:var(--muted);
  font-size:11px;
  letter-spacing:.2px;
  text-transform:uppercase;
  font-weight:850;
}

.dry-records-app td{
  font-family:var(--mono);
  font-size:12px;
}

.dry-records-app tbody tr:hover{
  background:rgba(255,255,255,.04);
}

.dry-records-app .pagerBar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:6px 0 14px;
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:14px;
  background:rgba(255,255,255,.03);
}

.dry-records-app .pagerInfo{
  color:var(--muted);
  font-size:12px;
  font-family:var(--mono);
}

.dry-records-app .pagerRight{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.dry-records-app .pagerSize{
  display:flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border:1px solid var(--line);
  border-radius:12px;
  background:rgba(0,0,0,.10);
}

.dry-records-app .pagerSize label{
  font-size:12px;
  color:var(--muted);
}

.dry-records-app .pagerSize select{
  background:transparent;
  border:none;
  outline:none;
  color:var(--text);
  font-size:12px;
}

.dry-records-app .pagerBtn,
.dry-records-app .pagerNum{
  cursor:pointer;
  border:1px solid var(--line);
  background:rgba(0,0,0,.10);
  color:var(--text);
  padding:8px 10px;
  border-radius:12px;
  font-size:12px;
  font-family:var(--mono);
}

.dry-records-app .pagerBtn:disabled{
  opacity:.45;
  cursor:not-allowed;
}

.dry-records-app .pagerNums{
  display:flex;
  gap:8px;
  align-items:center;
}

.dry-records-app .pagerNum.active{
  border-color:rgba(94,234,212,.45);
  background:rgba(94,234,212,.10);
}

.dry-records-app .historyItem{
  padding:10px 0;
  border-bottom:1px dashed var(--line);
}

.dry-records-app .historyItem:last-child{
  border-bottom:none;
}

.dry-records-app .historyTime{
  font-family:var(--mono);
  font-size:11px;
  color:var(--muted);
  margin-bottom:6px;
}

/* Full-size image overlay */
.dry-records-full-image-overlay{
  position:fixed;
  z-index:2147483647;
  top:0;
  left:0;
  right:0;
  bottom:0;
  background:rgba(0,0,0,0.85);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
}

.dry-records-full-image-wrapper{
  position:relative;
}

.dry-records-full-image-wrapper img{
  max-width:90vw;
  max-height:90vh;
  border-radius:8px;
  box-shadow:0 0 15px rgba(0,0,0,0.5);
}

.dry-records-full-image-close{
  position:absolute;
  top:-12px;
  right:-12px;
  width:32px;
  height:32px;
  border:none;
  border-radius:50%;
  background:rgba(0,0,0,0.7);
  color:#fff;
  font-size:20px;
  line-height:32px;
  cursor:pointer;
}

/* AI record assistant */
.dry-records-app .aiChatBubble{
  position:fixed;
  left:20px;
  bottom:20px;
  z-index:2147482600;
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:48px;
  padding:10px 14px 10px 10px;
  border:1px solid rgba(94,234,212,.28);
  border-radius:8px;
  background:#0b111b;
  color:var(--text);
  box-shadow:0 18px 42px rgba(0,0,0,.45);
  cursor:pointer;
  font-weight:800;
}

.dry-records-app .aiChatBubbleIcon{
  width:30px;
  height:30px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(94,234,212,.14);
  color:#b7fff1;
  font-family:var(--mono);
  font-size:12px;
}

.dry-records-app .aiChatBubbleText{
  font-size:13px;
  white-space:nowrap;
}

.dry-records-app .aiChatOverlay{
  position:fixed;
  inset:0;
  z-index:2147483200;
  pointer-events:none;
}

.dry-records-app .aiChatOverlay.show{
  pointer-events:auto;
}

.dry-records-app .aiChatPanel{
  position:fixed;
  left:20px;
  bottom:82px;
  width:min(430px, calc(100vw - 40px));
  height:min(660px, calc(100dvh - 116px));
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.14);
  border-radius:18px;
  background:#0d1420;
  box-shadow:0 28px 70px rgba(0,0,0,.62);
  opacity:0;
  transform:translateY(14px);
  transition:opacity .18s ease, transform .18s ease;
}

.dry-records-app .aiChatOverlay.show .aiChatPanel{
  opacity:1;
  transform:translateY(0);
}

.dry-records-app .aiChatHeader{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin:0;
  padding:14px;
  border-bottom:1px solid rgba(255,255,255,.12);
  background:#0b111b;
}

.dry-records-app .aiChatTitleBlock{
  min-width:0;
  display:grid;
  gap:4px;
}

.dry-records-app .aiChatKicker,
.dry-records-app .aiChatContext,
.dry-records-app .aiChatRole,
.dry-records-app .aiChatFacilityMeta,
.dry-records-app .aiChatLinkMeta,
.dry-records-app .aiChatCardMeta,
.dry-records-app .aiChatCardCharges{
  color:var(--muted);
  font-family:var(--mono);
  font-size:11px;
}

.dry-records-app .aiChatHeader h2{
  margin:0;
  color:var(--text);
  font-size:16px;
  line-height:1.2;
}

.dry-records-app .aiChatContext{
  line-height:1.35;
}

.dry-records-app .aiChatClose,
.dry-records-app .aiChatSend,
.dry-records-app .aiChatComposer button,
.dry-records-app .aiChatSuggestions button,
.dry-records-app .aiChatOpenRecord{
  border:1px solid var(--line);
  border-radius:12px;
  background:rgba(255,255,255,.04);
  color:var(--text);
  cursor:pointer;
  font-weight:750;
}

.dry-records-app .aiChatClose{
  padding:8px 10px;
  color:var(--muted);
}

.dry-records-app .aiChatMessages{
  flex:1 1 auto;
  min-height:0;
  overflow:auto;
  padding:14px 18px 14px 14px;
  scrollbar-gutter:stable;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.dry-records-app .aiChatMessages,
.dry-records-app .aiChatSuggestions{
  scrollbar-width:thin;
  scrollbar-color:rgba(154,167,178,.34) transparent;
}

.dry-records-app .aiChatMessages::-webkit-scrollbar,
.dry-records-app .aiChatSuggestions::-webkit-scrollbar{
  width:8px;
  height:7px;
}

.dry-records-app .aiChatMessages::-webkit-scrollbar-track,
.dry-records-app .aiChatSuggestions::-webkit-scrollbar-track{
  background:transparent;
}

.dry-records-app .aiChatMessages::-webkit-scrollbar-thumb,
.dry-records-app .aiChatSuggestions::-webkit-scrollbar-thumb{
  border:2px solid transparent;
  border-radius:999px;
  background:rgba(154,167,178,.34);
  background-clip:padding-box;
}

.dry-records-app .aiChatMessage{
  display:grid;
  gap:6px;
}

.dry-records-app .aiChatMessage.is-user{
  justify-items:end;
}

.dry-records-app .aiChatText{
  max-width:92%;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:14px;
  background:rgba(255,255,255,.04);
  color:var(--text);
  font-size:13px;
  line-height:1.45;
  white-space:pre-wrap;
  word-break:break-word;
}

.dry-records-app .aiChatMessage.is-user .aiChatText{
  background:rgba(94,234,212,.12);
  border-color:rgba(94,234,212,.20);
}

.dry-records-app .aiChatCards{
  display:grid;
  gap:8px;
}

.dry-records-app .aiChatSummaries,
.dry-records-app .aiChatArticles,
.dry-records-app .aiChatFacilities,
.dry-records-app .aiChatLinks{
  display:grid;
  gap:8px;
}

.dry-records-app .aiChatCards.is-collapsed .aiChatCard.is-extra{
  display:none;
}

.dry-records-app .aiChatSummaries.is-collapsed .aiChatSummary.is-extra,
.dry-records-app .aiChatArticles.is-collapsed .aiChatArticle.is-extra,
.dry-records-app .aiChatFacilities.is-collapsed .aiChatFacility.is-extra,
.dry-records-app .aiChatLinks.is-collapsed .aiChatLink.is-extra{
  display:none;
}

.dry-records-app .aiChatSummary,
.dry-records-app .aiChatArticle,
.dry-records-app .aiChatFacility,
.dry-records-app .aiChatLink{
  display:grid;
  gap:5px;
  padding:9px;
  border:1px solid var(--line);
  border-radius:12px;
  background:rgba(94,234,212,.05);
}

.dry-records-app .aiChatSummaryTop,
.dry-records-app .aiChatArticleTop,
.dry-records-app .aiChatFacilityTop,
.dry-records-app .aiChatLinkTop{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:8px;
  align-items:start;
}

.dry-records-app .aiChatSummaryTop div,
.dry-records-app .aiChatArticleTop div,
.dry-records-app .aiChatFacilityTop div,
.dry-records-app .aiChatLinkTop div{
  color:#b7fff1;
  font-weight:800;
  line-height:1.25;
  overflow-wrap:anywhere;
}

.dry-records-app .aiChatSummaryTop span,
.dry-records-app .aiChatArticleTop span,
.dry-records-app .aiChatFacilityTop span,
.dry-records-app .aiChatLinkTop span{
  padding:2px 6px;
  border:1px solid rgba(94,234,212,.18);
  border-radius:5px;
  color:#b7fff1;
  background:rgba(94,234,212,.08);
  font-family:var(--mono);
  font-size:10px;
  line-height:1.2;
}

.dry-records-app .aiChatSummaryMeta,
.dry-records-app .aiChatArticleMeta,
.dry-records-app .aiChatFacilityMeta,
.dry-records-app .aiChatLinkMeta,
.dry-records-app .aiChatFacilityAddress{
  color:var(--muted);
  font-family:var(--mono);
  font-size:11px;
  line-height:1.35;
}

.dry-records-app .aiChatSummary p,
.dry-records-app .aiChatArticle p,
.dry-records-app .aiChatFacility p,
.dry-records-app .aiChatLink p{
  margin:0;
  color:rgba(255,255,255,.78);
  font-size:12px;
  line-height:1.4;
}

.dry-records-app .aiChatArticleLink,
.dry-records-app .aiChatFacilityLink,
.dry-records-app .aiChatLinkAnchor{
  color:#b7fff1;
  font-size:12px;
  font-weight:750;
  text-decoration:none;
  overflow-wrap:anywhere;
}

.dry-records-app .aiChatArticleLink:hover,
.dry-records-app .aiChatFacilityLink:hover,
.dry-records-app .aiChatLinkAnchor:hover{
  text-decoration:underline;
}

.dry-records-app .aiChatCard{
  display:grid;
  grid-template-columns:56px minmax(0,1fr);
  gap:9px;
  padding:9px;
  border:1px solid var(--line);
  border-radius:12px;
  background:rgba(255,255,255,.03);
}

.dry-records-app .aiChatCardImage{
  width:56px;
  height:70px;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:10px;
  background:rgba(255,255,255,.05);
  color:var(--muted);
  cursor:pointer;
  padding:0;
}

.dry-records-app .aiChatCardImage img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

.dry-records-app .aiChatCardImage span{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:11px;
}

.dry-records-app .aiChatCardBody{
  min-width:0;
  display:grid;
  gap:4px;
}

.dry-records-app .aiChatCardTop{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:8px;
  align-items:start;
}

.dry-records-app .aiChatCardName{
  font-weight:820;
  line-height:1.2;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.dry-records-app .aiChatCardSource{
  padding:2px 6px;
  border:1px solid rgba(94,234,212,.18);
  border-radius:5px;
  color:#b7fff1;
  background:rgba(94,234,212,.08);
  font-family:var(--mono);
  font-size:10px;
  line-height:1.2;
  white-space:nowrap;
}

.dry-records-app .aiChatCardMeta,
.dry-records-app .aiChatCardCharges{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.dry-records-app .aiChatCardActions{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:2px;
}

.dry-records-app .aiChatOpenRecord,
.dry-records-app .aiChatAskAboutRecord,
.dry-records-app .aiChatShowMore{
  justify-self:start;
  padding:6px 9px;
  border:1px solid rgba(94,234,212,.20);
  border-radius:10px;
  background:rgba(255,255,255,.04);
  color:#b7fff1;
  cursor:pointer;
  font-size:12px;
  font-weight:750;
}

.dry-records-app .aiChatAskAboutRecord{
  color:var(--muted);
  border-color:var(--line);
}

.dry-records-app .aiChatShowMore{
  width:100%;
  margin-top:2px;
  color:var(--text);
  border-color:rgba(255,255,255,.12);
}

.dry-records-app .aiChatSuggestions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  max-height:86px;
  padding:0 18px 12px 14px;
  overflow:auto;
  scrollbar-gutter:stable;
}

.dry-records-app .aiChatSuggestions button{
  flex:0 1 auto;
  padding:8px 10px;
  color:var(--muted);
  font-size:12px;
  line-height:1.2;
}

.dry-records-app .aiChatComposer{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
  padding:12px 14px 14px;
  border-top:1px solid rgba(255,255,255,.12);
  background:#0b111b;
}

.dry-records-app .aiChatComposer textarea{
  width:100%;
  min-height:44px;
  max-height:120px;
  resize:vertical;
  border:1px solid var(--line);
  border-radius:12px;
  background:rgba(255,255,255,.04);
  color:var(--text);
  padding:10px 12px;
  outline:none;
  font:inherit;
  font-size:13px;
}

.dry-records-app .aiChatComposer button{
  align-self:end;
  min-height:44px;
  padding:0 14px;
  color:#b7fff1;
  border-color:rgba(94,234,212,.24);
}

.dry-records-app .aiChatComposer button:disabled{
  opacity:.55;
  cursor:wait;
}

body.dry-records-gate-open .dry-records-app .aiChatBubble,
body.dry-records-gate-open .dry-records-app .aiChatOverlay{
  display:none !important;
}

@media (max-width:600px){
  body.dry-records-chat-open{
    overflow:hidden;
  }

  .dry-records-app .aiChatBubble{
    left:14px;
    bottom:14px;
    min-height:46px;
    padding-right:12px;
  }

  .dry-records-app .aiChatOverlay{
    background:rgba(0,0,0,.78);
    backdrop-filter:blur(4px);
    display:none;
  }

  .dry-records-app .aiChatOverlay.show{
    display:block;
  }

  .dry-records-app .aiChatPanel{
    inset:calc(env(safe-area-inset-top, 0px) + 10px) 10px calc(env(safe-area-inset-bottom, 0px) + 10px);
    width:auto;
    height:auto;
    max-height:none;
    border-radius:18px;
    border:1px solid rgba(255,255,255,.14);
    transform:translateY(24px);
  }

  .dry-records-app .aiChatHeader{
    padding:14px 14px 12px;
  }

  .dry-records-app .aiChatMessages{
    padding:12px 16px 12px 12px;
  }

  .dry-records-app .aiChatText{
    max-width:96%;
  }

  .dry-records-app .aiChatComposer{
    grid-template-columns:1fr;
    padding:12px;
  }

  .dry-records-app .aiChatComposer button{
    width:100%;
  }

  .dry-records-app .aiChatSuggestions{
    flex-wrap:nowrap;
    max-height:none;
    padding:0 16px 10px 12px;
    overflow-x:auto;
    overflow-y:hidden;
  }

  .dry-records-app .aiChatSuggestions button{
    flex:0 0 auto;
    max-width:78vw;
  }

  .dry-records-app .aiChatCard{
    grid-template-columns:52px minmax(0,1fr);
    padding:8px;
  }

  .dry-records-app .aiChatCardImage{
    width:52px;
    height:66px;
  }

  .dry-records-app .aiChatCardMeta,
  .dry-records-app .aiChatCardCharges{
    white-space:normal;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
  }
}

/* =========================
   Unified modal + related rail
   ========================= */

.dry-records-app .overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.78);
  backdrop-filter:blur(4px);
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
  z-index:99999;
}

.dry-records-app .overlay.show{
  display:flex;
}

.dry-records-app .modalShell{
  width:min(1280px, calc(100vw - (var(--overlay-side-gutter, 18px) * 2)));
  display:grid;
  grid-template-columns:minmax(0, 1fr) 320px;
  gap:18px;
  align-items:start;
  margin:0 auto;
}

.dry-records-app .modal{
  width:100%;
  max-height:calc(100dvh - var(--overlay-top-offset, 0px) - 36px);
  overflow:auto;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.14);
  background:#0d1420;
  box-shadow:0 18px 60px rgba(0,0,0,.65);
}

.dry-records-app .modalHeader{
  padding:14px 14px 12px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  border-bottom:1px solid rgba(255,255,255,.12);
  background:#0b111b;
}

.dry-records-app .modalHeader .left{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:6px;
}

.dry-records-app .modalHeader .big{
  font-family:var(--mono);
  font-size:16px;
  font-weight:860;
  letter-spacing:.3px;
  margin:0;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.dry-records-app .modalHeader .small{
  color:var(--muted);
  font-size:12px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.dry-records-app .modalActions{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.dry-records-app .iconBtn{
  display:inline-flex;
  align-items:center;
  gap:8px;
}

.dry-records-app .btnIcon{
  font-size:14px;
  line-height:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.dry-records-app .btnLabel{
  display:inline-block;
}

.dry-records-app .close,
.dry-records-app .share{
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  color:var(--muted);
  border-radius:12px;
  padding:10px 12px;
  cursor:pointer;
  font-weight:750;
  font-size:13px;
}

.dry-records-app .share:hover,
.dry-records-app .close:hover{
  filter:brightness(1.08);
}

.dry-records-app .share:active,
.dry-records-app .close:active{
  transform:translateY(1px);
}

.dry-records-app .modalBody{
  padding:14px;
  display:block;
}

.dry-records-app .modalMain{
  min-width:0;
  display:grid;
  gap:12px;
}

.dry-records-app .panel{
  background:#0b111b;
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  padding:12px;
}

.dry-records-app .panel h3{
  margin:0 0 10px;
  font-size:12px;
  letter-spacing:.2px;
  color:var(--muted);
  font-weight:850;
  text-transform:uppercase;
}

.dry-records-app .modalTopNav,
.dry-records-app .modalHistoryNav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:12px;
  flex-wrap:wrap;
}

.dry-records-app .historyNavBtn{
  cursor:pointer;
  border:1px solid var(--line);
  background:rgba(0,0,0,.10);
  color:var(--text);
  padding:6px 10px;
  border-radius:10px;
  font-size:12px;
  font-family:var(--mono);
}

.dry-records-app .historyNavBtn:disabled{
  opacity:.45;
  cursor:not-allowed;
}

.dry-records-app .kv{
  display:grid;
  grid-template-columns:160px 1fr;
  gap:8px 10px;
  font-size:13px;
  align-items:center;
}

.dry-records-app .kv .key{
  color:var(--muted);
  font-size:12px;
}

.dry-records-app .kv .val{
  font-family:var(--mono);
  font-size:12px;
  color:var(--text);
  word-break:break-word;
}

.dry-records-app .modalMug{
  display:flex;
  gap:12px;
  align-items:center;
  margin-bottom:10px;
  padding:10px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  background:#0b111b;
}

.dry-records-app .modalMug .mug{
  width:96px;
  height:120px;
}

.dry-records-app .relatedFloat{
  max-height:calc(100dvh - var(--overlay-top-offset, 0px) - 36px);
  overflow:auto;
}

.dry-records-app .relatedPanel{
  background:#0b111b;
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  padding:12px;
  box-shadow:0 18px 60px rgba(0,0,0,.35);
}

.dry-records-app .relatedGrid{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}

.dry-records-app .relatedCard{
  display:grid;
  grid-template-columns:72px minmax(0,1fr);
  gap:12px;
  width:100%;
  text-align:left;
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  border-radius:16px;
  padding:10px;
  cursor:pointer;
  transition:transform .18s ease, border-color .18s ease, background .18s ease;
}

.dry-records-app .relatedCard:hover{
  transform:translateY(-1px);
  border-color:rgba(255,255,255,.18);
  background:rgba(255,255,255,.06);
}

.dry-records-app .relatedThumb{
  width:72px;
  height:88px;
  border-radius:12px;
  overflow:hidden;
  background:rgba(255,255,255,.06);
}

.dry-records-app .relatedThumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.dry-records-app .relatedThumbFallback{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:11px;
  color:var(--muted);
}

.dry-records-app .relatedMeta{
  min-width:0;
  display:grid;
  gap:4px;
}

.dry-records-app .relatedName{
  font-weight:700;
  line-height:1.2;
}

.dry-records-app .relatedSub,
.dry-records-app .relatedCharges{
  font-size:12px;
  color:var(--muted);
}

.dry-records-app .recordSummary,
.dry-records-app .recordArticles,
.dry-records-app .recordLinks,
.dry-records-app .recordFacilities{
  display:grid;
  gap:10px;
}

.dry-records-app .recordOptionalSection{
  display:grid;
  gap:10px;
  margin:0 0 14px;
}

.dry-records-app .recordOptionalSection[hidden]{
  display:none !important;
}

.dry-records-app .recordSummaryCard,
.dry-records-app .recordArticleCard,
.dry-records-app .recordLinkCard,
.dry-records-app .recordFacilityCard{
  display:grid;
  gap:6px;
  padding:10px;
  border:1px solid var(--line);
  border-radius:14px;
  background:rgba(255,255,255,.03);
}

.dry-records-app .recordSummaryTop,
.dry-records-app .recordArticleTop,
.dry-records-app .recordLinkTop,
.dry-records-app .recordFacilityTop{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
  align-items:start;
}

.dry-records-app .recordSummaryTitle,
.dry-records-app .recordArticleTitle,
.dry-records-app .recordLinkTitle,
.dry-records-app .recordFacilityName{
  color:#b7fff1;
  font-weight:800;
  line-height:1.25;
  overflow-wrap:anywhere;
}

.dry-records-app .recordSummaryTop span,
.dry-records-app .recordArticleTop span,
.dry-records-app .recordLinkTop span,
.dry-records-app .recordFacilityTop span{
  padding:2px 7px;
  border:1px solid rgba(94,234,212,.18);
  border-radius:5px;
  background:rgba(94,234,212,.08);
  color:#b7fff1;
  font-family:var(--mono);
  font-size:10px;
  white-space:nowrap;
}

.dry-records-app .recordSummaryMeta,
.dry-records-app .recordArticleMeta,
.dry-records-app .recordLinkMeta,
.dry-records-app .recordFacilityMeta,
.dry-records-app .recordFacilityAddress{
  color:var(--muted);
  font-family:var(--mono);
  font-size:11px;
}

.dry-records-app .recordSummaryText,
.dry-records-app .recordArticleSummary,
.dry-records-app .recordLinkDescription,
.dry-records-app .recordLinkNotes,
.dry-records-app .recordFacilityNotes{
  margin:0;
  color:rgba(255,255,255,.78);
  font-size:12px;
  line-height:1.45;
}

.dry-records-app .recordAudio{
  display:grid;
  gap:6px;
  margin-top:2px;
}

.dry-records-app .recordAudioLabel{
  color:var(--muted);
  font-family:var(--mono);
  font-size:10px;
  text-transform:uppercase;
}

.dry-records-app .recordAudio audio{
  width:100%;
  max-width:100%;
}

.dry-records-app .recordArticleReferences,
.dry-records-app .aiChatArticleReferences{
  display:grid;
  gap:5px;
}

.dry-records-app .recordArticleReferenceLabel,
.dry-records-app .aiChatArticleReferenceLabel{
  color:var(--muted);
  font-family:var(--mono);
  font-size:10px;
  text-transform:uppercase;
}

.dry-records-app .recordArticleReferenceList,
.dry-records-app .aiChatArticleReferenceList{
  display:grid;
  gap:5px;
}

.dry-records-app .recordArticleLink,
.dry-records-app .recordLinkAnchor,
.dry-records-app .recordFacilityLink{
  color:#b7fff1;
  font-size:12px;
  font-weight:750;
  text-decoration:none;
  overflow-wrap:anywhere;
}

.dry-records-app .recordArticleLink span,
.dry-records-app .aiChatArticleLink span{
  display:block;
  color:var(--muted);
  font-family:var(--mono);
  font-size:10px;
  font-weight:500;
}

.dry-records-app .recordArticleLink:hover,
.dry-records-app .recordLinkAnchor:hover,
.dry-records-app .recordFacilityLink:hover{
  text-decoration:underline;
}

@media (min-width:601px){
  .dry-records-app .overlay{
    align-items:flex-start;
    justify-content:center;
    padding-top:18px;
    padding-right:var(--overlay-side-gutter, 18px);
    padding-bottom:18px;
    padding-left:var(--overlay-side-gutter, 18px);
  }

  .dry-records-app .modalShell{
    margin-top:var(--overlay-top-offset, 0px);
  }
}

@media (max-width:980px){
  .dry-records-app .controls{
    grid-template-columns:1fr 1fr;
  }

  .dry-records-app .card{
    grid-column:span 12;
  }

  .dry-records-app .kv{
    grid-template-columns:140px 1fr;
  }

  .dry-records-app .pagerBar{
    flex-direction:column;
    align-items:flex-start;
  }

  .dry-records-app .pagerRight{
    width:100%;
    justify-content:flex-start;
  }
}

@media (max-width:900px){
  .dry-records-app .modalShell{
    grid-template-columns:1fr;
    width:min(100%, 980px);
  }

  .dry-records-app .relatedFloat{
    max-height:none;
    overflow:visible;
  }
}

@media (max-width:600px){
  .dry-records-app .overlay{
    align-items:flex-start;
    padding:0;
  }

  .dry-records-app .modalShell{
    display:flex;
    flex-direction:column;
    gap:0;
    width:100%;
    max-width:none;
  }

  .dry-records-app .modal{
    width:100%;
    height:100vh;
    max-height:none;
    margin:0;
    border-radius:0;
  }

  .dry-records-app .relatedFloat{
    order:2;
    max-height:none;
    overflow:visible;
    padding:10px 12px 14px;
    background:#0d1420;
  }

  .dry-records-app .relatedPanel{
    border-radius:14px;
  }

  .dry-records-app .relatedGrid{
    display:grid;
    grid-auto-flow:column;
    grid-auto-columns:minmax(220px, 78%);
    overflow-x:auto;
    gap:10px;
    padding-bottom:4px;
    scroll-snap-type:x proximity;
    -webkit-overflow-scrolling:touch;
  }

  .dry-records-app .relatedCard{
    scroll-snap-align:start;
  }

  .dry-records-app .modalHeader{
    align-items:center;
  }

  .dry-records-app .modalActions{
    margin-left:auto;
    gap:6px;
  }

  .dry-records-app .iconBtn{
    min-width:42px;
    min-height:42px;
    padding:0 12px;
    border-radius:12px;
    justify-content:center;
  }

  .dry-records-app .btnLabel{
    display:none;
  }

  .dry-records-app .btnIcon{
    font-size:16px;
  }

  .dry-records-app #recordPrev,
  .dry-records-app #recordNext{
    flex:1 1 auto;
  }

  .dry-records-app #recordCounter{
    width:100%;
    text-align:center;
    order:3;
  }

  .dry-records-app .close{
    font-size:14px;
    padding:8px 12px;
  }
}

/* Advertisement block styling */
.dry-records-app .ad-block{
  margin:16px 0;
  padding:12px;
  border:1px dashed var(--line);
  border-radius:14px;
  text-align:center;
  background:rgba(255,255,255,.02);
  color:var(--muted);
}

.dry-records-app .ad-block span{
  font-size:14px;
  font-style:italic;
}

.dry-records-app .ad-block .ad-inner{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
}

.dry-records-app .ad-block .ad-text{
  color:var(--text);
  font-size:14px;
  text-align:center;
  line-height:1.3;
}

/* Mobile-only landing-to-browser transition */
.dry-records-app .mobileIntroShell{position:relative}
.dry-records-app .mobileIntroBackdrop,
.dry-records-app .introCenterStage,
.dry-records-app .recordsHero,
.dry-records-app .stickyControls,
.dry-records-app .mobileIntroAd,
.dry-records-app .topPagerBar{
  transition:opacity .28s ease, transform .28s ease, filter .28s ease, max-height .28s ease, margin .28s ease, padding .28s ease, border-color .28s ease, background .28s ease, box-shadow .28s ease;
}

.dry-records-app .gridShell{position:relative;z-index:1}
.dry-records-app.mobile-sticky-active .gridShell{z-index:1}
.dry-records-app.mobile-sticky-active .grid,
.dry-records-app.mobile-sticky-active .card{position:relative;z-index:1}

.dry-records-app .stickyControls,
.dry-records-app .stickyControls *{pointer-events:auto}

.dry-records-app .stickyControls .control,
.dry-records-app .stickyControls .control input,
.dry-records-app .stickyControls .control select,
.dry-records-app .stickyControls .btn{
  position:relative;
  z-index:2;
}

.dry-records-app .gridShell.has-sticky-offset{
  padding-top:calc(var(--sticky-controls-height, 0px) + 18px);
}

.dry-records-app .pagerBarBottom{display:none}
.dry-records-app .stickyControlsPlaceholder{
  display:none;
  height:0;
  pointer-events:none;
}

.dry-records-app .stickyControls.is-fixed{
  position:fixed !important;
  top:0 !important;
  z-index:2147483000;
  margin:0;
  box-shadow:0 10px 26px rgba(0,0,0,.35);
  pointer-events:auto;
  isolation:isolate;
}

@media (min-width:601px){
  .dry-records-app .stickyControls{
    position:relative;
    z-index:30;
    margin-bottom:14px;
    padding:12px;
    background:rgba(11,15,20,.82);
    border:1px solid rgba(255,255,255,.10);
    border-radius:16px;
    backdrop-filter:blur(12px);
  }

  .dry-records-app.desktop-sticky-active .stickyControls,
  .dry-records-app .stickyControls.is-fixed{
    left:0 !important;
    right:0 !important;
    width:100vw !important;
    padding:14px 20px;
    border-radius:0;
    border-left:none;
    border-right:none;
    background:rgba(11,15,20,.97);
    border-color:rgba(255,255,255,.12);
    box-shadow:0 14px 34px rgba(0,0,0,.32);
  }
}

@media (max-width:600px){
  .dry-records-app{overflow-x:hidden}
  .dry-records-app .wrap{padding:0 0 28px}

  .dry-records-app .mobileIntroShell{
    min-height:100svh;
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:18px;
    padding:0 0 16px;
    isolation:isolate;
  }

  .dry-records-app .mobileIntroBackdrop{
    position:absolute;
    inset:0;
    pointer-events:none;
    z-index:0;
    overflow:hidden;
    background:
      linear-gradient(180deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,.76) 72%, rgba(0,0,0,.92) 100%),
      radial-gradient(900px 520px at 50% 8%, rgba(94,234,212,.16), transparent 56%),
      radial-gradient(800px 460px at 85% 18%, rgba(59,130,246,.18), transparent 58%),
      url("https://arrestedtn.com/wp-content/uploads/2026/05/ChatGPT-Image-May-23-2026-02_07_42-AM.png") center/cover no-repeat;
  }

  .dry-records-app .mobileIntroBackdrop::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(180deg, rgba(0,0,0,.14) 0%, rgba(0,0,0,.28) 35%, rgba(0,0,0,.78) 100%);
  }

  .dry-records-app .introCenterStage{
    position:relative;
    z-index:2;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:18px;
    width:100%;
    min-height:100svh;
    margin:0;
    padding:20px 0 0;
  }

  .dry-records-app .recordsHero{
    align-items:center;
    justify-content:center;
    text-align:center;
    gap:12px;
    margin:0;
    position:relative;
    z-index:4;
    max-width:34rem;
    padding:0 20px;
  }

  .dry-records-app .recordsHero .pill{
    align-self:center;
    display:inline-flex;
    background:rgba(255,255,255,.10);
    border-color:rgba(255,255,255,.14);
    backdrop-filter:blur(8px);
  }

  .dry-records-app .title{
    gap:10px;
    align-items:center;
  }

  .dry-records-app .title h1{
    font-size:30px;
    line-height:1.03;
    letter-spacing:-.03em;
  }

  .dry-records-app .title .sub{
    font-size:13px;
    line-height:1.55;
    max-width:34ch;
    margin:0 auto;
    color:rgba(230,237,243,.82);
  }

  .dry-records-app .stickyControls{
    grid-template-columns:1fr 1fr;
    isolation:isolate;
    align-items:stretch;
    margin:0;
    position:relative;
    z-index:30;
    width:100vw;
    max-width:none;
    padding:0 16px 0;
    margin-left:calc(50% - 50vw);
    margin-right:calc(50% - 50vw);
    background:transparent;
    border:none;
    border-radius:0;
    box-shadow:none;
    backdrop-filter:none;
  }

  .dry-records-app .stickyControlsPlaceholder{
    width:100vw;
    margin-left:calc(50% - 50vw);
    margin-right:calc(50% - 50vw);
  }

  .dry-records-app .stickyControls .control{
    background:rgba(255,255,255,.08);
    border-color:rgba(255,255,255,.12);
    backdrop-filter:blur(8px);
  }

  .dry-records-app .stickyControls .control:first-child{grid-column:1 / -1}

  .dry-records-app .stickyControls .btn{
    grid-column:1 / -1;
    min-height:46px;
    width:100%;
    justify-content:center;
    background:rgba(255,255,255,.10);
    border-color:rgba(255,255,255,.14);
  }

  .dry-records-app .mobileIntroAd{
    position:relative;
    z-index:2;
    margin-top:auto;
    padding:0 16px 4px;
    opacity:1;
  }

  .dry-records-app .mobileIntroAd .ad-block{
    margin:0;
    border-color:rgba(255,255,255,.08);
    background:rgba(6,8,11,.78);
    backdrop-filter:blur(10px);
  }

  .dry-records-app .topPagerBar{display:none}

  .dry-records-app .pagerBarBottom{
    display:flex;
    margin:14px 0 0;
    position:sticky;
    bottom:0;
    z-index:25;
    background:rgba(11,15,20,.96);
    backdrop-filter:blur(10px);
    padding:10px 12px;
    border-radius:14px 14px 0 0;
    border-bottom:none;
  }

  .dry-records-app .pagerBarBottom .pagerLeft{display:none}
  .dry-records-app .pagerBarBottom .pagerRight{
    width:100%;
    justify-content:center;
  }

  .dry-records-app .pagerBarBottom .pagerNums{
    width:100%;
    justify-content:center;
    flex-wrap:wrap;
  }

  .dry-records-app .gridShell{padding:0 12px}
  .dry-records-app .grid{gap:10px}
  .dry-records-app .card{grid-column:span 12}

  .dry-records-app.mobile-browse .mobileIntroShell{
    min-height:100svh;
    gap:18px;
    padding:0 0 16px;
  }

  .dry-records-app.mobile-browse .mobileIntroBackdrop{
    opacity:.28;
    transform:none;
    pointer-events:none;
  }

  .dry-records-app.mobile-browse .introCenterStage{
    min-height:100svh;
  }

  .dry-records-app.mobile-browse .recordsHero{
    opacity:.04;
    transform:translateY(-10px);
    pointer-events:none;
  }

  .dry-records-app.mobile-browse .mobileIntroAd{
    opacity:.02;
    pointer-events:none;
  }

  .dry-records-app.mobile-browse .stickyControls,
  .dry-records-app .stickyControls.is-fixed{
    grid-template-columns:minmax(0,1.4fr) repeat(3,minmax(0,.8fr));
    gap:8px;
    width:100%;
    max-width:100%;
    margin-left:0 !important;
    margin-right:0 !important;
    padding:calc(env(safe-area-inset-top, 0px) + 10px) 12px 14px;
    background:#05080d;
    border-bottom:1px solid rgba(255,255,255,.12);
    box-shadow:0 18px 34px rgba(0,0,0,.62);
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
    opacity:1;
    box-sizing:border-box;
    overflow:visible;
  }

  .dry-records-app .stickyControls.is-fixed{
    left:0 !important;
    right:0 !important;
    width:auto !important;
    max-width:none !important;
    transform:none !important;
    border-radius:0;
    opacity:1;
    filter:none;
    background:#05080d;
    margin-left:0 !important;
    margin-right:0 !important;
  }

  .dry-records-app.mobile-browse .stickyControls::before,
  .dry-records-app .stickyControls.is-fixed::before{
    content:'';
    position:absolute;
    inset:0;
    background:linear-gradient(180deg, rgba(5,8,13,.985) 0%, rgba(5,8,13,.985) 100%);
    z-index:0;
    pointer-events:auto;
  }

  .dry-records-app.mobile-browse .stickyControls .control,
  .dry-records-app .stickyControls.is-fixed .control{
    position:relative;
    z-index:2;
    padding:8px;
    min-height:40px;
    border-radius:10px;
    background:rgba(255,255,255,.12);
    border-color:rgba(255,255,255,.18);
    backdrop-filter:none;
  }

  .dry-records-app.mobile-browse .stickyControls .control label,
  .dry-records-app .stickyControls.is-fixed .control label{
    display:none;
  }

  .dry-records-app.mobile-browse .stickyControls .control:first-child,
  .dry-records-app .stickyControls.is-fixed .control:first-child{
    grid-column:auto;
  }

  .dry-records-app.mobile-browse .stickyControls .btn,
  .dry-records-app .stickyControls.is-fixed .btn{
    display:none;
  }

  .dry-records-app.mobile-browse .stickyControls input,
  .dry-records-app.mobile-browse .stickyControls select,
  .dry-records-app .stickyControls.is-fixed input,
  .dry-records-app .stickyControls.is-fixed select{
    position:relative;
    z-index:3;
    background:rgba(7,10,16,.92);
    border:1px solid rgba(255,255,255,.14);
    color:var(--text);
    box-shadow:none;
  }

  .dry-records-app.mobile-browse .stickyControls input::placeholder,
  .dry-records-app .stickyControls.is-fixed input::placeholder{
    color:rgba(230,237,243,.58);
  }

  .dry-records-app.mobile-browse .stickyControls input:focus,
  .dry-records-app.mobile-browse .stickyControls select:focus,
  .dry-records-app .stickyControls.is-fixed input:focus,
  .dry-records-app .stickyControls.is-fixed select:focus{
    outline:none;
    border-color:rgba(255,255,255,.24);
    background:rgba(10,14,22,.98);
    box-shadow:0 0 0 1px rgba(255,255,255,.06);
  }

  .dry-records-app.mobile-browse .stickyControls::after,
  .dry-records-app .stickyControls.is-fixed::after{
    content:attr(data-count);
    position:absolute;
    left:12px;
    bottom:-22px;
    font-family:var(--mono);
    font-size:11px;
    color:var(--muted);
    white-space:nowrap;
    pointer-events:none;
  }

  .dry-records-app.mobile-browse .gridShell{
    margin-top:26px;
    position:relative;
    z-index:1;
  }

  .dry-records-app.mobile-sticky-active .stickyControls::before{
    content:'';
    position:absolute;
    inset:0;
    background:#05080d;
    z-index:0;
    pointer-events:auto;
  }

  .dry-records-app.mobile-sticky-active .stickyControls,
  .dry-records-app.mobile-sticky-active .stickyControls *{
    pointer-events:auto;
    touch-action:manipulation;
  }

  .dry-records-app.mobile-sticky-active .stickyControls{
    overscroll-behavior:contain;
  }

  .dry-records-app.mobile-sticky-active .gridShell,
  .dry-records-app.mobile-sticky-active .grid,
  .dry-records-app.mobile-sticky-active .card{
    z-index:0;
  }

  .dry-records-app .stickyControls.is-fixed + .stickyControlsPlaceholder{
    display:block;
  }

  .dry-records-app .stickyControls.is-fixed input,
  .dry-records-app .stickyControls.is-fixed select{
    background:rgba(7,10,16,.92);
    color:var(--text);
  }
}

.dry-records-app .mobileBrowseSentinel{
  display:block;
  position:relative;
  width:100%;
  height:1px;
  pointer-events:none;
  opacity:0;
  z-index:-1;
}

@media (max-width:600px){
  .dry-records-app.mobile-sticky-active .stickyControls,
  .dry-records-app .stickyControls.is-fixed{
    top:0 !important;
  }

  .dry-records-app.mobile-sticky-active .stickyControls .control,
  .dry-records-app.mobile-sticky-active .stickyControls input,
  .dry-records-app.mobile-sticky-active .stickyControls select{
    pointer-events:auto;
  }
}

/* v9 mobile stacking fix */
.dry-records-app,
.dry-records-app .wrap,
.dry-records-app .mobileIntroShell,
.dry-records-app .introCenterStage,
.dry-records-app .gridShell,
.dry-records-app .grid{
  position:relative;
}

@media (max-width:600px){
  .dry-records-app .gridShell,
  .dry-records-app .grid,
  .dry-records-app .card,
  .dry-records-app .cardTop,
  .dry-records-app .imageStrip,
  .dry-records-app .cardBody,
  .dry-records-app .mug,
  .dry-records-app .mug img{
    position:relative;
    z-index:1 !important;
  }

  .dry-records-app .stickyControls,
  .dry-records-app.mobile-sticky-active .stickyControls,
  .dry-records-app .stickyControls.is-fixed{
    isolation:isolate;
  }

  .dry-records-app.mobile-sticky-active .stickyControls,
  .dry-records-app .stickyControls.is-fixed{
    position:fixed !important;
    top:0 !important;
    left:0 !important;
    right:0 !important;
    width:100vw !important;
    z-index:2147483647 !important;
    transform:translate3d(0,0,0) !important;
    -webkit-transform:translate3d(0,0,0) !important;
    will-change:transform;
    backface-visibility:hidden;
    -webkit-backface-visibility:hidden;
  }

  .dry-records-app.mobile-sticky-active .stickyControls::before,
  .dry-records-app .stickyControls.is-fixed::before{
    z-index:0;
    pointer-events:none;
  }

  .dry-records-app.mobile-sticky-active .stickyControls::after,
  .dry-records-app .stickyControls.is-fixed::after{
    z-index:3;
    pointer-events:none;
  }

  .dry-records-app.mobile-sticky-active .stickyControls .control,
  .dry-records-app.mobile-sticky-active .stickyControls .btn,
  .dry-records-app.mobile-sticky-active .stickyControls input,
  .dry-records-app.mobile-sticky-active .stickyControls select,
  .dry-records-app .stickyControls.is-fixed .control,
  .dry-records-app .stickyControls.is-fixed .btn,
  .dry-records-app .stickyControls.is-fixed input,
  .dry-records-app .stickyControls.is-fixed select{
    position:relative;
    z-index:4;
    pointer-events:auto !important;
  }
}

@media (max-width:600px){
  body > .dry-records-app .stickyControls.is-fixed,
  body > #stickyControls.is-fixed{
    position:fixed !important;
    top:0 !important;
    left:0 !important;
    right:0 !important;
    width:100vw !important;
    margin:0 !important;
    padding-left:12px !important;
    padding-right:12px !important;
    z-index:2147483647 !important;
  }

  body > #stickyControls.is-fixed::before,
  body > .dry-records-app .stickyControls.is-fixed::before{
    content:'';
    position:absolute;
    inset:0;
    background:#05080d;
    z-index:0;
    pointer-events:none;
  }

  body > #stickyControls.is-fixed .control,
  body > #stickyControls.is-fixed .btn,
  body > #stickyControls.is-fixed input,
  body > #stickyControls.is-fixed select{
    position:relative;
    z-index:4;
    pointer-events:auto !important;
  }

  .dry-records-app .stickyControlsPlaceholder{
    position:relative;
    z-index:0;
    pointer-events:none;
  }
}

/* v10 unified mobile sticky styling fix */
@media (max-width:600px){
  .dry-records-app.mobile-sticky-active .stickyControls,
  .dry-records-app.mobile-browse .stickyControls,
  .dry-records-app .stickyControls.is-fixed,
  #stickyControls.is-fixed,
  body > #stickyControls.is-fixed{
    position:fixed !important;
    top:0 !important;
    left:0 !important;
    right:0 !important;
    width:100vw !important;
    margin:0 !important;
    padding:calc(env(safe-area-inset-top, 0px) + 10px) 12px 14px !important;
    display:grid !important;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:8px !important;
    border-radius:0 !important;
    background:#05080d !important;
    border:none !important;
    border-bottom:1px solid rgba(255,255,255,.12) !important;
    box-shadow:0 18px 34px rgba(0,0,0,.62) !important;
    opacity:1 !important;
    filter:none !important;
    isolation:isolate;
    z-index:2147483647 !important;
    transform:translate3d(0,0,0) !important;
    -webkit-transform:translate3d(0,0,0) !important;
    will-change:transform;
    backface-visibility:hidden;
    -webkit-backface-visibility:hidden;
    pointer-events:auto !important;
    overscroll-behavior:contain;
  }

  .dry-records-app.mobile-sticky-active .stickyControls::before,
  .dry-records-app.mobile-browse .stickyControls::before,
  .dry-records-app .stickyControls.is-fixed::before,
  #stickyControls.is-fixed::before,
  body > #stickyControls.is-fixed::before{
    content:'';
    position:absolute;
    inset:0;
    background:#05080d;
    z-index:0;
    pointer-events:none !important;
  }

  .dry-records-app.mobile-sticky-active .stickyControls::after,
  .dry-records-app.mobile-browse .stickyControls::after,
  .dry-records-app .stickyControls.is-fixed::after,
  #stickyControls.is-fixed::after,
  body > #stickyControls.is-fixed::after{
    z-index:3;
    pointer-events:none !important;
  }

  .dry-records-app.mobile-sticky-active .stickyControls .control,
  .dry-records-app.mobile-sticky-active .stickyControls .btn,
  .dry-records-app.mobile-sticky-active .stickyControls input,
  .dry-records-app.mobile-sticky-active .stickyControls select,
  .dry-records-app.mobile-browse .stickyControls .control,
  .dry-records-app.mobile-browse .stickyControls .btn,
  .dry-records-app.mobile-browse .stickyControls input,
  .dry-records-app.mobile-browse .stickyControls select,
  .dry-records-app .stickyControls.is-fixed .control,
  .dry-records-app .stickyControls.is-fixed .btn,
  .dry-records-app .stickyControls.is-fixed input,
  .dry-records-app .stickyControls.is-fixed select,
  #stickyControls.is-fixed .control,
  #stickyControls.is-fixed .btn,
  #stickyControls.is-fixed input,
  #stickyControls.is-fixed select,
  body > #stickyControls.is-fixed .control,
  body > #stickyControls.is-fixed .btn,
  body > #stickyControls.is-fixed input,
  body > #stickyControls.is-fixed select{
    position:relative;
    z-index:4;
    pointer-events:auto !important;
    touch-action:manipulation;
  }

  .dry-records-app.mobile-sticky-active .stickyControls .control,
  .dry-records-app.mobile-browse .stickyControls .control,
  .dry-records-app .stickyControls.is-fixed .control,
  #stickyControls.is-fixed .control,
  body > #stickyControls.is-fixed .control{
    padding:8px;
    min-height:40px;
    border-radius:10px;
    background:rgba(255,255,255,.12);
    border-color:rgba(255,255,255,.18);
    backdrop-filter:none;
  }

  .dry-records-app.mobile-sticky-active .stickyControls .control label,
  .dry-records-app.mobile-browse .stickyControls .control label,
  .dry-records-app .stickyControls.is-fixed .control label,
  #stickyControls.is-fixed .control label,
  body > #stickyControls.is-fixed .control label{
    display:none;
  }

  .dry-records-app.mobile-sticky-active .stickyControls .control:first-child,
  .dry-records-app.mobile-browse .stickyControls .control:first-child,
  .dry-records-app .stickyControls.is-fixed .control:first-child,
  #stickyControls.is-fixed .control:first-child,
  body > #stickyControls.is-fixed .control:first-child{
    grid-column:1 / -1;
  }

  .dry-records-app.mobile-sticky-active .stickyControls .control:not(:first-child),
  .dry-records-app.mobile-browse .stickyControls .control:not(:first-child),
  .dry-records-app .stickyControls.is-fixed .control:not(:first-child),
  #stickyControls.is-fixed .control:not(:first-child),
  body > #stickyControls.is-fixed .control:not(:first-child){
    grid-column:auto;
  }

  .dry-records-app.mobile-sticky-active .stickyControls .control,
  .dry-records-app.mobile-browse .stickyControls .control,
  .dry-records-app .stickyControls.is-fixed .control,
  #stickyControls.is-fixed .control,
  body > #stickyControls.is-fixed .control{
    display:flex;
    align-items:center;
  }

  .dry-records-app.mobile-sticky-active .stickyControls .control:first-child,
  .dry-records-app.mobile-browse .stickyControls .control:first-child,
  .dry-records-app .stickyControls.is-fixed .control:first-child,
  #stickyControls.is-fixed .control:first-child,
  body > #stickyControls.is-fixed .control:first-child{
    min-height:46px;
  }

  .dry-records-app.mobile-sticky-active .stickyControls .control:not(:first-child),
  .dry-records-app.mobile-browse .stickyControls .control:not(:first-child),
  .dry-records-app .stickyControls.is-fixed .control:not(:first-child),
  #stickyControls.is-fixed .control:not(:first-child),
  body > #stickyControls.is-fixed .control:not(:first-child){
    min-height:42px;
    padding:6px;
  }

  .dry-records-app.mobile-sticky-active .stickyControls .btn,
  .dry-records-app.mobile-browse .stickyControls .btn,
  .dry-records-app .stickyControls.is-fixed .btn,
  #stickyControls.is-fixed .btn,
  body > #stickyControls.is-fixed .btn{
    display:none;
  }

  .dry-records-app.mobile-sticky-active .stickyControls input,
  .dry-records-app.mobile-sticky-active .stickyControls select,
  .dry-records-app.mobile-browse .stickyControls input,
  .dry-records-app.mobile-browse .stickyControls select,
  .dry-records-app .stickyControls.is-fixed input,
  .dry-records-app .stickyControls.is-fixed select,
  #stickyControls.is-fixed input,
  #stickyControls.is-fixed select,
  body > #stickyControls.is-fixed input,
  body > #stickyControls.is-fixed select{
    width:100%;
    min-height:42px;
    padding:11px 14px;
    border-radius:11px;
    border:1px solid rgba(255,255,255,.14) !important;
    background:linear-gradient(180deg, rgba(15,20,29,.98) 0%, rgba(9,13,20,.98) 100%) !important;
    color:var(--text);
    font-size:16px;
    line-height:1.2;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.03), 0 8px 18px rgba(0,0,0,.18);
    transition:border-color .15s ease, box-shadow .15s ease, background .15s ease;
    -webkit-appearance:none;
    appearance:none;
  }

  .dry-records-app.mobile-sticky-active .stickyControls input::placeholder,
  .dry-records-app.mobile-browse .stickyControls input::placeholder,
  .dry-records-app .stickyControls.is-fixed input::placeholder,
  #stickyControls.is-fixed input::placeholder,
  body > #stickyControls.is-fixed input::placeholder{
    color:rgba(230,237,243,.62);
  }

  .dry-records-app.mobile-sticky-active .stickyControls input:focus,
  .dry-records-app.mobile-sticky-active .stickyControls select:focus,
  .dry-records-app.mobile-browse .stickyControls input:focus,
  .dry-records-app.mobile-browse .stickyControls select:focus,
  .dry-records-app .stickyControls.is-fixed input:focus,
  .dry-records-app .stickyControls.is-fixed select:focus,
  #stickyControls.is-fixed input:focus,
  #stickyControls.is-fixed select:focus,
  body > #stickyControls.is-fixed input:focus,
  body > #stickyControls.is-fixed select:focus{
    outline:none;
    border-color:rgba(94,234,212,.34) !important;
    background:linear-gradient(180deg, rgba(18,24,34,.99) 0%, rgba(10,15,23,.99) 100%) !important;
    box-shadow:0 0 0 1px rgba(94,234,212,.16), 0 10px 22px rgba(0,0,0,.24);
  }

  .dry-records-app.mobile-sticky-active .stickyControls select,
  .dry-records-app.mobile-browse .stickyControls select,
  .dry-records-app .stickyControls.is-fixed select,
  #stickyControls.is-fixed select,
  body > #stickyControls.is-fixed select{
    padding-right:38px;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M3 5.25 7 9l4-3.75' stroke='%23c7d2da' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"), linear-gradient(180deg, rgba(15,20,29,.98) 0%, rgba(9,13,20,.98) 100%) !important;
    background-repeat:no-repeat, no-repeat;
    background-position:right 12px center, center;
    background-size:14px 14px, auto;
  }

  .dry-records-app.mobile-sticky-active .stickyControls .control,
  .dry-records-app.mobile-browse .stickyControls .control,
  .dry-records-app .stickyControls.is-fixed .control,
  #stickyControls.is-fixed .control,
  body > #stickyControls.is-fixed .control{
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.12);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
  }

  .dry-records-app.mobile-browse .stickyControls,
  .dry-records-app.mobile-sticky-active .stickyControls,
  .dry-records-app .stickyControls.is-fixed,
  #stickyControls.is-fixed,
  body > #stickyControls.is-fixed{
    inset-inline:0;
  }

  .dry-records-app.mobile-browse .stickyControls .control,
  .dry-records-app.mobile-sticky-active .stickyControls .control,
  .dry-records-app .stickyControls.is-fixed .control,
  #stickyControls.is-fixed .control,
  body > #stickyControls.is-fixed .control{
    min-width:0;
    overflow:hidden;
  }

  .dry-records-app.mobile-browse .stickyControls input,
  .dry-records-app.mobile-browse .stickyControls select,
  .dry-records-app.mobile-sticky-active .stickyControls input,
  .dry-records-app.mobile-sticky-active .stickyControls select,
  .dry-records-app .stickyControls.is-fixed input,
  .dry-records-app .stickyControls.is-fixed select,
  #stickyControls.is-fixed input,
  #stickyControls.is-fixed select,
  body > #stickyControls.is-fixed input,
  body > #stickyControls.is-fixed select{
    color:#f7fbff !important;
    -webkit-text-fill-color:#f7fbff;
    caret-color:#f7fbff;
  }

  .dry-records-app.mobile-browse .stickyControls select,
  .dry-records-app.mobile-sticky-active .stickyControls select,
  .dry-records-app .stickyControls.is-fixed select,
  #stickyControls.is-fixed select,
  body > #stickyControls.is-fixed select{
    appearance:none !important;
    -webkit-appearance:none !important;
    -moz-appearance:none !important;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:#f7fbff !important;
  }

  .dry-records-app.mobile-browse .stickyControls select::-ms-expand,
  .dry-records-app.mobile-sticky-active .stickyControls select::-ms-expand,
  .dry-records-app .stickyControls.is-fixed select::-ms-expand,
  #stickyControls.is-fixed select::-ms-expand,
  body > #stickyControls.is-fixed select::-ms-expand{
    display:none;
  }

  .dry-records-app.mobile-browse .stickyControls select option,
  .dry-records-app.mobile-sticky-active .stickyControls select option,
  .dry-records-app .stickyControls.is-fixed select option,
  #stickyControls.is-fixed select option,
  body > #stickyControls.is-fixed select option{
    background:#0b1119;
    color:#f7fbff;
  }
}

@media (max-width:600px){
  body.dry-records-modal-open #stickyControls.is-fixed,
  body.dry-records-modal-open .dry-records-app .stickyControls.is-fixed,
  body.dry-records-modal-open body > #stickyControls.is-fixed,
  body.dry-records-modal-open body > .dry-records-app .stickyControls.is-fixed{
    opacity:0 !important;
    visibility:hidden !important;
    pointer-events:none !important;
    transform:translate3d(0,-120%,0) !important;
    -webkit-transform:translate3d(0,-120%,0) !important;
    box-shadow:none !important;
  }

  body.dry-records-modal-open .dry-records-app .overlay.show{
    z-index:2147483646 !important;
  }
}

/* v10.1 public shortcode mobile/modal fixes */
.dry-records-app .overlay{
  z-index:2147483646;
}

.dry-records-app .modal,
.dry-records-app .relatedFloat,
.dry-records-app .relatedGrid,
.dry-records-app .modalBody,
.dry-records-app #historyBody{
  scrollbar-width:thin;
  scrollbar-color:rgba(154,167,178,.35) transparent;
}

.dry-records-app .modal::-webkit-scrollbar,
.dry-records-app .relatedFloat::-webkit-scrollbar,
.dry-records-app .relatedGrid::-webkit-scrollbar,
.dry-records-app .modalBody::-webkit-scrollbar,
.dry-records-app #historyBody::-webkit-scrollbar{
  width:10px;
  height:8px;
}

.dry-records-app .modal::-webkit-scrollbar-track,
.dry-records-app .relatedFloat::-webkit-scrollbar-track,
.dry-records-app .relatedGrid::-webkit-scrollbar-track,
.dry-records-app .modalBody::-webkit-scrollbar-track,
.dry-records-app #historyBody::-webkit-scrollbar-track{
  background:transparent;
}

.dry-records-app .modal::-webkit-scrollbar-thumb,
.dry-records-app .relatedFloat::-webkit-scrollbar-thumb,
.dry-records-app .relatedGrid::-webkit-scrollbar-thumb,
.dry-records-app .modalBody::-webkit-scrollbar-thumb,
.dry-records-app #historyBody::-webkit-scrollbar-thumb{
  background:linear-gradient(180deg, rgba(154,167,178,.38), rgba(154,167,178,.18));
  border-radius:999px;
  border:2px solid transparent;
  background-clip:padding-box;
}

.dry-records-app .modal::-webkit-scrollbar-thumb:hover,
.dry-records-app .relatedFloat::-webkit-scrollbar-thumb:hover,
.dry-records-app .relatedGrid::-webkit-scrollbar-thumb:hover,
.dry-records-app .modalBody::-webkit-scrollbar-thumb:hover,
.dry-records-app #historyBody::-webkit-scrollbar-thumb:hover{
  background:linear-gradient(180deg, rgba(230,237,243,.42), rgba(154,167,178,.26));
  background-clip:padding-box;
}

@media (max-width:600px){
  body.dry-records-modal-open{
    overflow-x:hidden;
    touch-action:auto;
  }

  body.dry-records-modal-open #stickyControls.is-fixed,
  body.dry-records-modal-open .dry-records-app .stickyControls.is-fixed,
  body.dry-records-modal-open body > #stickyControls.is-fixed,
  body.dry-records-modal-open body > .dry-records-app .stickyControls.is-fixed{
    opacity:0 !important;
    visibility:hidden !important;
    pointer-events:none !important;
    transform:translate3d(0,-120%,0) !important;
    -webkit-transform:translate3d(0,-120%,0) !important;
    box-shadow:none !important;
  }

  body.dry-records-modal-open .dry-records-app .overlay.show{
    z-index:2147483646 !important;
  }

  .dry-records-app .modalShell{
    min-height:100dvh;
    background:#0d1420;
  }

  .dry-records-app .modal{
    height:auto;
    min-height:calc(100dvh - 140px);
    max-height:none;
    overflow-y:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    padding-bottom:max(20px, env(safe-area-inset-bottom, 0px));
  }

  .dry-records-app .modalHeader{
    position:sticky;
    top:0;
    z-index:12;
  }

  .dry-records-app .modalBody{
    padding:12px;
  }

  .dry-records-app .modalTopNav,
  .dry-records-app .modalHistoryNav{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
    align-items:stretch;
  }

  .dry-records-app #recordCounter,
  .dry-records-app #historyCounter{
    grid-column:1 / -1;
    order:-1;
    width:100%;
    text-align:center;
  }

  .dry-records-app .historyNavBtn{
    min-height:40px;
    justify-content:center;
  }

  .dry-records-app .relatedFloat{
    padding:8px 12px 14px;
    border-top:1px solid rgba(255,255,255,.08);
    width:100%;
    max-width:100%;
    align-self:stretch;
  }

  .dry-records-app .relatedPanel{
    padding:10px;
    width:100%;
    max-width:100%;
  }

  .dry-records-app .relatedPanel h3{
    margin-bottom:8px;
  }

  .dry-records-app .relatedGrid{
    display:grid;
    grid-template-columns:minmax(0, 1fr);
    grid-auto-flow:row;
    grid-auto-columns:minmax(0, 1fr);
    justify-items:stretch;
    width:100%;
    max-width:100%;
    overflow:visible;
    gap:10px;
    padding-bottom:0;
    scroll-snap-type:none;
    scrollbar-width:none;
    -ms-overflow-style:none;
  }

  .dry-records-app .relatedGrid::-webkit-scrollbar{
    display:none;
    width:0;
    height:0;
  }

  .dry-records-app .relatedCard{
    width:100%;
    max-width:100%;
    min-width:0;
    justify-self:stretch;
    grid-template-columns:64px minmax(0,1fr);
    gap:10px;
    align-items:start;
    padding:10px;
    border-radius:14px;
    scroll-snap-align:none;
  }

  .dry-records-app .relatedThumb{
    width:64px;
    height:80px;
    border-radius:10px;
  }

  .dry-records-app .relatedMeta{
    gap:5px;
    align-content:start;
  }

  .dry-records-app .relatedName{
    font-size:13px;
    line-height:1.2;
    word-break:break-word;
  }

  .dry-records-app .relatedSub,
  .dry-records-app .relatedCharges{
    font-size:11px;
    line-height:1.3;
  }

  .dry-records-app .relatedCharges{
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }
}


/* v10.2 mobile modal/body scroll correction: keep desktop sticky behavior intact and do not hard-lock body scroll on mobile */

/* v10.3 desktop sticky + mobile modal scroll correction */
@media (min-width:601px){
  .dry-records-app .overlay{
    z-index:2147482500;
  }

  .dry-records-app .stickyControls.is-fixed,
  body > #stickyControls.is-fixed,
  body > .dry-records-app .stickyControls.is-fixed{
    z-index:2147483600 !important;
  }
}

@media (max-width:600px){
  .dry-records-app .overlay,
  .dry-records-app .overlay.show{
    overflow-y:auto;
    overflow-x:hidden;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior:contain;
  }

  .dry-records-app .modalShell{
    min-height:100%;
  }

  .dry-records-app .modal{
    height:auto;
    min-height:100dvh;
    overflow:visible;
    -webkit-overflow-scrolling:touch;
  }

  .dry-records-app .modalBody,
  .dry-records-app #historyBody{
    overflow:visible;
  }

  .dry-records-app .relatedFloat{
    overflow:visible;
  }
}

.dry-records-app .modalImageHint{
  margin-top:10px;
  font-size:12px;
  line-height:1.45;
  color:rgba(255,255,255,.76);
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  border-radius:10px;
  padding:10px 12px;
}
.dry-records-app .modalImageHint[hidden]{
  display:none !important;
}

/* Other inmates / related rail */
.dry-records-app .relatedCard .relatedName{
  color:#fff !important;
  font-weight:700;
}

.dry-records-app .relatedCard .relatedSub,
.dry-records-app .relatedCard .relatedCharges{
  color:rgba(255,255,255,.72);
}

/* v13 continue browsing gate: highest priority modal, persistent, stronger incentive */
.dry-records-app .gateOverlay{
  z-index:2147483647 !important;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:rgba(3,6,10,.92);
  backdrop-filter:blur(10px);
}

.dry-records-app .gateModal{
  width:min(760px, calc(100vw - 32px));
  max-height:calc(100dvh - 32px);
  overflow:auto;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.14);
  background:
    radial-gradient(900px 400px at 0% 0%, rgba(94,234,212,.08), transparent 55%),
    radial-gradient(900px 400px at 100% 0%, rgba(59,130,246,.08), transparent 55%),
    #0b111b;
  box-shadow:0 32px 80px rgba(0,0,0,.62);
}

.dry-records-app .gateHeader{
  position:sticky;
  top:0;
  z-index:2;
  background:rgba(11,17,27,.96);
  backdrop-filter:blur(10px);
}

.dry-records-app .gatePill{
  align-self:flex-start;
  color:#dbeafe;
  border-color:rgba(147,197,253,.22);
  background:rgba(59,130,246,.10);
}

.dry-records-app .gateBody{
  padding:16px;
}

.dry-records-app .gatePanel{
  padding:16px;
}

.dry-records-app .gateCaptchaPanel{
  display:none;
}

.dry-records-app .gateOverlay[data-stage="captcha"] .gateCaptchaPanel{
  display:block;
}

.dry-records-app .gateOverlay[data-stage="captcha"] .gateInfoPanel,
.dry-records-app .gateOverlay[data-stage="captcha"] .gateFormPanel,
.dry-records-app .gateOverlay[data-stage="captcha"] .gateViewSwitch{
  display:none;
}

.dry-records-app .gateOverlay[data-stage="email"] .gateCaptchaPanel{
  display:none;
}

.dry-records-app .gateValueStack{
  display:grid;
  gap:14px;
  margin-bottom:16px;
}

.dry-records-app .gateLead{
  font-size:14px;
  line-height:1.6;
  color:rgba(230,237,243,.92);
}

.dry-records-app .gateBenefits{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:10px;
}

.dry-records-app .gateBenefit{
  display:grid;
  gap:6px;
  padding:12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.09);
  background:rgba(255,255,255,.03);
}

.dry-records-app .gateBenefit strong{
  color:#fff;
  font-size:13px;
}

.dry-records-app .gateBenefit span,
.dry-records-app .gateBenefitsText,
.dry-records-app .gatePrivacyNote{
  color:rgba(230,237,243,.74);
  font-size:12px;
  line-height:1.5;
}

.dry-records-app .gateFormGrid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
}

.dry-records-app .gateField{
  display:grid;
  gap:6px;
}

.dry-records-app .gateFieldWide{
  grid-column:1 / -1;
}

.dry-records-app .gateLabel{
  font-size:12px;
  color:var(--muted);
}

.dry-records-app .gateLabel em{
  color:#fca5a5;
  font-style:normal;
}

.dry-records-app .gateField input,
.dry-records-app .gateField textarea{
  width:100%;
  padding:10px 12px;
  border-radius:12px;
  background:rgba(255,255,255,.03);
  border:1px solid var(--line);
  color:var(--text);
  outline:none;
}

.dry-records-app .gateField input:focus,
.dry-records-app .gateField textarea:focus{
  border-color:rgba(94,234,212,.34);
  box-shadow:0 0 0 3px rgba(94,234,212,.10);
}

.dry-records-app .gateError{
  margin:10px 0 0;
  color:#fca5a5;
  font-size:13px;
}

.dry-records-app .gateError.is-success{
  color:#86efac;
}

.dry-records-app .gateRecaptchaContainer{
  margin:12px 0 0;
}

.dry-records-app .gateActions{
  display:flex;
  justify-content:flex-start;
  margin-top:14px;
}

.dry-records-app .gateSubmitBtn{
  min-height:46px;
  padding-inline:18px;
  color:#fff;
  border-color:rgba(94,234,212,.26);
  background:linear-gradient(180deg, rgba(94,234,212,.16), rgba(59,130,246,.12));
}

body.dry-records-gate-open #stickyControls,
body.dry-records-gate-open #stickyControls.is-fixed,
body.dry-records-gate-open .dry-records-app .stickyControls,
body.dry-records-gate-open .dry-records-app .stickyControls.is-fixed,
body.dry-records-gate-open body > #stickyControls.is-fixed,
body.dry-records-gate-open body > .dry-records-app .stickyControls.is-fixed{
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
  transform:translate3d(0,-120%,0) !important;
  -webkit-transform:translate3d(0,-120%,0) !important;
  box-shadow:none !important;
}

body.dry-records-gate-open .dry-records-app #overlay.show{
  pointer-events:none !important;
}

@media (max-width:800px){
  .dry-records-app .gateBenefits,
  .dry-records-app .gateFormGrid{
    grid-template-columns:1fr;
  }
}

@media (max-width:600px){
  .dry-records-app .gateOverlay{
    padding:0;
    align-items:flex-start;
  }

  .dry-records-app .gateModal{
    width:100%;
    max-height:none;
    min-height:100dvh;
    border-radius:0;
  }

  .dry-records-app .gateBody,
  .dry-records-app .gatePanel{
    padding:14px 12px 18px;
  }

  .dry-records-app .gateSubmitBtn{
    width:100%;
    justify-content:center;
  }
}


/* v14 gate mobile scroll + flip panels */
.dry-records-app .gateOverlay.show{
  display:flex;
  overflow-y:auto;
  overflow-x:hidden;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;
  transition:opacity .45s ease;
}

.dry-records-app .gateOverlay.is-verified{
  opacity:0;
  pointer-events:none;
}

.dry-records-app .gateModal{
  overflow:hidden;
}

.dry-records-app .gateBody{
  display:grid;
  gap:0;
}

.dry-records-app .gateViewSwitch{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  align-items:center;
}

.dry-records-app .gateSwitchBtn,
.dry-records-app .gateGhostBtn{
  min-height:40px;
}

.dry-records-app .gateSwitchBtn[aria-pressed="true"]{
  color:#fff;
  border-color:rgba(94,234,212,.28);
  background:linear-gradient(180deg, rgba(94,234,212,.14), rgba(59,130,246,.10));
}

.dry-records-app .gateInfoPanel,
.dry-records-app .gateFormPanel{
  transition:opacity .22s ease, transform .22s ease;
}

.dry-records-app .gateOverlay[data-view="info"] .gateFormPanel,
.dry-records-app .gateOverlay[data-view="form"] .gateInfoPanel{
  display:none;
}

.dry-records-app .gateInfoFooter{
  display:grid;
  gap:12px;
  margin-top:8px;
}

.dry-records-app .gateFormIntro{
  margin-bottom:14px;
  font-size:13px;
  color:rgba(230,237,243,.78);
}

.dry-records-app .gateActions{
  gap:10px;
  flex-wrap:wrap;
}

body.dry-records-gate-open,
body.dry-records-gate-open .dry-records-app{
  overscroll-behavior:contain;
}

@media (max-width:600px){
  body.dry-records-gate-open{
    overflow-y:auto !important;
    height:auto !important;
    position:static !important;
  }

  .dry-records-app .gateOverlay{
    position:fixed;
    inset:0;
    padding:0;
    align-items:stretch;
  }

  .dry-records-app .gateModal{
    width:100%;
    min-height:100dvh;
    max-height:none;
    overflow:visible;
    border-radius:0;
  }

  .dry-records-app .gateBody{
    padding:12px;
    overflow:visible;
  }

  .dry-records-app .gateHeader{
    position:sticky;
    top:0;
    z-index:5;
    display:grid;
    gap:12px;
    padding-right:12px;
  }

  .dry-records-app .gateViewSwitch{
    width:100%;
    display:grid;
    grid-template-columns:1fr 1fr;
  }

  .dry-records-app .gateSwitchBtn,
  .dry-records-app .gateSubmitBtn,
  .dry-records-app .gateGhostBtn,
  .dry-records-app .gateAdvanceBtn{
    width:100%;
    justify-content:center;
  }

  .dry-records-app .gatePanel{
    padding:14px 12px 18px;
  }

  .dry-records-app .gateBenefits{
    grid-template-columns:1fr;
  }

  .dry-records-app .gateFormGrid{
    grid-template-columns:1fr;
  }
}


/* v15.1 gate mobile full-width background correction */
@media (max-width:600px){
  .dry-records-app .gateOverlay,
  .dry-records-app .gateOverlay.show{
    left:0 !important;
    right:0 !important;
    width:100vw !important;
    max-width:100vw !important;
    margin:0 !important;
    padding:0 !important;
    box-sizing:border-box;
    overflow-x:hidden !important;
    background:rgba(3,6,10,.94) !important;
  }

  .dry-records-app .gateModal{
    display:block;
    width:100vw !important;
    max-width:100vw !important;
    min-width:100vw !important;
    margin:0 !important;
    border-radius:0 !important;
    box-sizing:border-box;
    overflow-x:hidden !important;
    background:
      radial-gradient(900px 400px at 0% 0%, rgba(94,234,212,.08), transparent 55%),
      radial-gradient(900px 400px at 100% 0%, rgba(59,130,246,.08), transparent 55%),
      #0b111b !important;
  }

  .dry-records-app .gateHeader,
  .dry-records-app .gateBody,
  .dry-records-app .gatePanel,
  .dry-records-app .gateInfoPanel,
  .dry-records-app .gateFormPanel{
    width:auto !important;
    max-width:none !important;
    margin:0 !important;
    box-sizing:border-box;
  }

  .dry-records-app .gateHeader{
    padding-left:12px !important;
    padding-right:12px !important;
    background:rgba(11,17,27,.98) !important;
  }
}

/* ---------------------------------------------------------------------------
 * Custom overrides added by ChatGPT to address mobile alignment and
 * duplicate arrow indicators.
 *
 * These overrides ensure that the sticky control bar remains centred and
 * properly aligned on small screens (max-width: 600px) by removing the
 * negative margins and full viewport width used in the base styles.  They
 * also standardise the styling of select dropdowns so that only one arrow
 * appears, regardless of theme or browser defaults.
 * -------------------------------------------------------------------------*/

/* ---------------------------------------------------------------------------
 * Fixes for the public shortcode UI on mobile
 *
 * On small screens (max-width: 600px) the search bar, three dropdowns and reset
 * button should be centred inside the app container.  The default styles
 * stretched the sticky controls across the entire viewport using 100vw widths
 * and negative margins, which causes misalignment with the rest of the
 * interface.  We override these rules for the non‑sticky version of the
 * control bar so it respects the container width and lays out dropdowns in
 * three equal columns.  We also standardise the select arrow styling across
 * browsers by hiding native arrows, adding a single SVG chevron and ensuring
 * the arrow does not repeat.
 * -------------------------------------------------------------------------*/

/* Mobile layout: constrain the stickyControls to the parent container and
   distribute three dropdowns evenly.  Search and reset span all columns. */
@media (max-width:600px){
  .dry-records-app .stickyControls:not(.is-fixed) {
    /* Remove full‑viewport width and negative margins used in base styles */
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: none !important;

    /* Lay out three equal columns so the dropdowns align neatly */
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* Standardise select dropdown arrows: hide native arrows and provide a single
   chevron.  Apply to all selects within the app including sticky controls. */
.dry-records-app select,
.dry-records-app .stickyControls select{
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  /* Add a single chevron icon on the right */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M3 5.25 7 9l4-3.75' stroke='%23c7d2da' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  background-size: 14px 14px !important;
  padding-right: 38px !important;
  /* Ensure no gradient or colour repeats under the icon */
  background-color: transparent !important;
}

/* Hide the default arrow in older versions of Internet Explorer */
.dry-records-app select::-ms-expand,
.dry-records-app .stickyControls select::-ms-expand{
  display: none !important;
}

/* ---------------------------------------------------------------------------
 * FINAL PATCH: center grid-view mobile search nav + restore desktop ad
 * -------------------------------------------------------------------------*/

/* The original ad wrapper was mobile-intro oriented. This dedicated desktop
   wrapper keeps the paid promotion visible on desktop above the record grid. */
.dry-records-app .desktopIntroAd{
  display:none;
}

@media (min-width:601px){
  .dry-records-app .desktopIntroAd{
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
    max-height:none !important;
    height:auto !important;
    overflow:visible !important;
    transform:none !important;
    filter:none !important;
    pointer-events:auto !important;
    margin:14px 0 18px !important;
    padding:0 !important;
  }

  .dry-records-app .desktopIntroAd .ad-block{
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
    margin:0 !important;
  }

  /* Prevent duplicate desktop ads if the original mobile intro ad becomes visible. */
  .dry-records-app .mobileIntroAd{
    display:none !important;
  }
}

/* Keep the grid-view mobile search nav aligned inside one full-width sticky box.
   The fields use the same fixed bar box as the background, with symmetric
   inline padding instead of a narrower translated 100vw calculation. */
@media (max-width:600px){
  .dry-records-app.mobile-browse .stickyControls,
  .dry-records-app.mobile-sticky-active .stickyControls,
  .dry-records-app .stickyControls.is-fixed,
  #stickyControls.is-fixed,
  body > #stickyControls.is-fixed{
    left:0 !important;
    right:0 !important;
    width:auto !important;
    max-width:none !important;
    margin-left:0 !important;
    margin-right:0 !important;
    transform:none !important;
    -webkit-transform:none !important;
    padding:calc(env(safe-area-inset-top, 0px) + 10px) 12px 14px !important;
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
    justify-content:stretch !important;
    justify-items:stretch !important;
    align-items:stretch !important;
    gap:8px !important;
    box-sizing:border-box !important;
    overflow-x:hidden !important;
  }

  .dry-records-app.mobile-browse .stickyControls,
  .dry-records-app.mobile-browse .stickyControls *,
  .dry-records-app.mobile-browse .stickyControls::before,
  .dry-records-app.mobile-browse .stickyControls::after,
  .dry-records-app.mobile-sticky-active .stickyControls,
  .dry-records-app.mobile-sticky-active .stickyControls *,
  .dry-records-app.mobile-sticky-active .stickyControls::before,
  .dry-records-app.mobile-sticky-active .stickyControls::after,
  #stickyControls.is-fixed,
  #stickyControls.is-fixed *,
  #stickyControls.is-fixed::before,
  #stickyControls.is-fixed::after,
  body > #stickyControls.is-fixed,
  body > #stickyControls.is-fixed *,
  body > #stickyControls.is-fixed::before,
  body > #stickyControls.is-fixed::after{
    box-sizing:border-box !important;
  }

  .dry-records-app.mobile-browse .stickyControls::before,
  .dry-records-app.mobile-sticky-active .stickyControls::before,
  .dry-records-app .stickyControls.is-fixed::before,
  #stickyControls.is-fixed::before,
  body > #stickyControls.is-fixed::before{
    inset:0 !important;
    width:auto !important;
    transform:none !important;
    -webkit-transform:none !important;
  }

  .dry-records-app.mobile-browse .stickyControls .control:first-child,
  .dry-records-app.mobile-sticky-active .stickyControls .control:first-child,
  .dry-records-app .stickyControls.is-fixed .control:first-child,
  #stickyControls.is-fixed .control:first-child,
  body > #stickyControls.is-fixed .control:first-child{
    grid-column:1 / -1 !important;
  }

  .dry-records-app.mobile-browse .stickyControls .btn,
  .dry-records-app.mobile-sticky-active .stickyControls .btn,
  .dry-records-app .stickyControls.is-fixed .btn,
  #stickyControls.is-fixed .btn,
  body > #stickyControls.is-fixed .btn{
    grid-column:1 / -1 !important;
    width:100% !important;
  }

  .dry-records-app.mobile-browse .stickyControls .control,
  .dry-records-app.mobile-sticky-active .stickyControls .control,
  .dry-records-app .stickyControls.is-fixed .control,
  #stickyControls.is-fixed .control,
  body > #stickyControls.is-fixed .control{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin:0 !important;
    justify-self:stretch !important;
  }

  .dry-records-app.mobile-browse .stickyControls input,
  .dry-records-app.mobile-browse .stickyControls select,
  .dry-records-app.mobile-sticky-active .stickyControls input,
  .dry-records-app.mobile-sticky-active .stickyControls select,
  .dry-records-app .stickyControls.is-fixed input,
  .dry-records-app .stickyControls.is-fixed select,
  #stickyControls.is-fixed input,
  #stickyControls.is-fixed select,
  body > #stickyControls.is-fixed input,
  body > #stickyControls.is-fixed select{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin:0 !important;
  }
}

/* Keep Google's reCAPTCHA challenge above the DRY gate.
   Google commonly renders the puzzle near z-index:2000000000; the prior
   max-int gate layer could cover that iframe and make the puzzle unusable. */
.dry-records-app .gateOverlay,
.dry-records-app .gateOverlay.show,
body.dry-records-modal-open .dry-records-app .gateOverlay.show,
body.dry-records-gate-open .dry-records-app .gateOverlay.show{
  z-index:1999999000 !important;
}

body.dry-records-gate-open .dry-records-app #overlay.show,
body.dry-records-gate-open .dry-records-app .overlay.show:not(.gateOverlay){
  z-index:1999998000 !important;
  pointer-events:none !important;
}

/* Keep floating action buttons usable while the inmate record modal is open.
   The record modal still sits above the page, but no longer uses a near-max
   z-index that buries the DRY chat launcher or third-party floating widgets. */
body.dry-records-modal-open .dry-records-app #overlay.show{
  z-index:900000 !important;
}

body.dry-records-modal-open .dry-records-app .aiChatBubble{
  z-index:950000 !important;
}

body.dry-records-modal-open.dry-records-chat-open .dry-records-app .aiChatOverlay.show{
  z-index:2147483647 !important;
}

/* Keep the mobile chat app above the hoisted sticky search controls.
   On mobile the search bar can move under body with a max z-index, so the
   chat-open body class must explicitly disable that layer. */
@media (max-width:600px){
  body.dry-records-modal-open #stickyControls.is-fixed,
  body.dry-records-modal-open .dry-records-app .stickyControls.is-fixed,
  body.dry-records-modal-open > #stickyControls.is-fixed,
  body.dry-records-modal-open > .dry-records-app .stickyControls.is-fixed,
  body.dry-records-chat-open #stickyControls,
  body.dry-records-chat-open #stickyControls.is-fixed,
  body.dry-records-chat-open .dry-records-app .stickyControls,
  body.dry-records-chat-open .dry-records-app .stickyControls.is-fixed,
  body.dry-records-chat-open > #stickyControls.is-fixed,
  body.dry-records-chat-open > .dry-records-app .stickyControls.is-fixed{
    opacity:0 !important;
    visibility:hidden !important;
    pointer-events:none !important;
    transform:translate3d(0,-120%,0) !important;
    -webkit-transform:translate3d(0,-120%,0) !important;
    box-shadow:none !important;
    z-index:0 !important;
  }

  body.dry-records-chat-open .dry-records-app .aiChatOverlay,
body.dry-records-chat-open .dry-records-app .aiChatOverlay.show{
    z-index:2147483647 !important;
  }
}

/* Public inmate desktop readability pass: larger type, calm dark cards, visible lower pager. */
@media (min-width:601px){
  .dry-records-app{
    --bg:#0b0f14;
    --text:#f4f7fb;
    --muted:#b8c3cc;
    --line:rgba(255,255,255,.11);
    --chip:rgba(255,255,255,.06);
    --shadow:0 16px 42px rgba(0,0,0,.42);
    --radius:8px;
    background:
      radial-gradient(1200px 700px at 18% -12%, rgba(148,163,184,.10), transparent 60%),
      radial-gradient(900px 620px at 92% 4%, rgba(59,130,246,.07), transparent 58%),
      linear-gradient(180deg, rgba(8,12,18,.98), rgba(7,10,15,.99)),
      var(--bg);
  }

  .dry-records-app .wrap{
    max-width:1260px;
    padding:28px 20px 72px;
  }

  .dry-records-app header{
    margin-bottom:22px;
  }

  .dry-records-app .title h1{
    font-size:30px;
    line-height:1.08;
    letter-spacing:0;
    color:#f8fafc;
    text-shadow:0 2px 18px rgba(0,0,0,.30);
  }

  .dry-records-app .title .sub{
    font-size:15px;
    line-height:1.45;
    color:#c4ccd5;
  }

  .dry-records-app .pill,
  .dry-records-app .control label,
  .dry-records-app .pagerInfo,
  .dry-records-app .pagerSize label{
    font-size:13px;
  }

  .dry-records-app .control,
  .dry-records-app .pagerBar,
  .dry-records-app .pagerSize{
    border-color:rgba(255,255,255,.11);
    background:rgba(255,255,255,.045);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
  }

  .dry-records-app .control input,
  .dry-records-app .control select,
  .dry-records-app .btn,
  .dry-records-app .pagerSize select{
    font-size:15px;
  }

  .dry-records-app .btn,
  .dry-records-app .pagerBtn,
  .dry-records-app .pagerNum{
    border-color:rgba(255,255,255,.12);
    background:rgba(15,23,34,.82);
    color:#eef3f7;
  }

  .dry-records-app .btn:hover,
  .dry-records-app .pagerBtn:hover:not(:disabled),
  .dry-records-app .pagerNum:hover{
    border-color:rgba(148,163,184,.34);
    background:rgba(22,31,44,.92);
    box-shadow:0 10px 26px rgba(0,0,0,.22);
  }

  .dry-records-app .grid{
    gap:16px;
  }

  .dry-records-app .card{
    border-color:rgba(255,255,255,.10);
    background:
      linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.026)),
      rgba(11,15,20,.96);
    box-shadow:0 16px 44px rgba(0,0,0,.44), inset 0 1px 0 rgba(255,255,255,.035);
  }

  .dry-records-app .card:hover{
    border-color:rgba(148,163,184,.26);
    box-shadow:0 18px 48px rgba(0,0,0,.50);
  }

  .dry-records-app .cardTop,
  .dry-records-app .imageStrip{
    background:rgba(0,0,0,.14);
    border-color:rgba(255,255,255,.09);
  }

  .dry-records-app .cardTop{
    padding:16px 16px 12px;
  }

  .dry-records-app .name{
    font-size:18px;
    line-height:1.22;
    letter-spacing:0;
    white-space:normal;
    overflow:hidden;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    color:#f8fafc;
  }

  .dry-records-app .chip,
  .dry-records-app .status,
  .dry-records-app .chargeTag{
    font-size:12.5px;
    line-height:1.25;
    border-radius:5px;
    color:#cbd5df;
    border-color:rgba(255,255,255,.11);
    background:rgba(255,255,255,.055);
  }

  .dry-records-app .status.in{
    border-color:rgba(255,202,74,.48);
    color:#ffe8a8;
    background:rgba(255,202,74,.10);
  }

  .dry-records-app .status.out{
    border-color:rgba(52,211,153,.42);
    color:#d8ffe8;
    background:rgba(52,211,153,.10);
  }

  .dry-records-app .mug{
    width:104px;
    height:128px;
    border-radius:8px;
    border-color:rgba(255,255,255,.12);
    background:#0b0f14;
  }

  .dry-records-app .imgMeta{
    gap:8px;
  }

  .dry-records-app .imgMeta .id{
    font-size:12.5px;
    color:#aeb9c3;
  }

  .dry-records-app .imgMeta .dept{
    font-size:15.5px;
    line-height:1.3;
    color:#eef3f7;
  }

  .dry-records-app .cardBody{
    padding:14px 16px 16px;
    gap:12px 16px;
    background:rgba(0,0,0,.08);
  }

  .dry-records-app .k{
    font-size:12.5px;
    color:#aeb9c3;
  }

  .dry-records-app .v{
    font-size:15.5px;
    line-height:1.32;
    color:#f4f7fb;
  }

  .dry-records-app .chargesPreview{
    border-color:rgba(255,255,255,.11);
  }

  .dry-records-app .openLink{
    font-size:12.5px;
  }

  .dry-records-app .openLink a,
  .dry-records-app .pagerNum.active{
    color:#ffffff;
    border-color:rgba(203,213,225,.34);
    background:rgba(203,213,225,.12);
  }

  .dry-records-app .pagerBarBottom{
    display:flex !important;
    position:relative;
    bottom:auto;
    z-index:1;
    margin:18px 0 0;
    border-radius:8px;
    border-bottom:1px solid rgba(255,255,255,.11);
    background:rgba(255,255,255,.045);
    backdrop-filter:none;
  }

  .dry-records-app .pagerBarBottom .pagerLeft{
    display:flex;
  }

  .dry-records-app .pagerBarBottom .pagerRight{
    width:auto;
    justify-content:flex-end;
  }

  .dry-records-app .pagerBarBottom .pagerNums{
    width:auto;
    justify-content:flex-end;
    flex-wrap:wrap;
  }

  .dry-records-app .pagerBtn,
  .dry-records-app .pagerNum{
    font-size:13px;
    padding:9px 12px;
  }
}
