.selectors { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-bottom: 8px; }
.selectors select {
  min-width: 0; border: 1px solid var(--line); border-radius: 12px; padding: 11px;
  outline: none; background: #0d1422; color: var(--text);
}
.selectors select:focus { border-color: var(--accent); }
.selectors option { background: #111827; color: var(--text); }

.dashboard { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.dashcard {
  min-height: 126px; border: 1px solid var(--line); border-radius: 18px; padding: 16px;
  text-align: left; background: linear-gradient(145deg, #182337, #111827); color: inherit;
  box-shadow: var(--shadow); transition: transform .18s ease, border-color .18s ease;
}
.dashcard:active { transform: scale(.98); border-color: #4f8cff88; }
.dashcard .sectionicon { display: block; width: 72px; height: 72px; margin-bottom: 10px; object-fit: contain; }
.dashcard b { display: block; margin: 10px 0 5px; font-size: 16px; }
.dashcard span { color: var(--muted); font-size: 12px; }

.toolbar { display: flex; gap: 7px; overflow-x: auto; margin-bottom: 11px; scrollbar-width: none; }
.toolbar::-webkit-scrollbar { display: none; }
.reportcards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.reportcard {
  border: 1px solid var(--line); border-radius: 15px; padding: 14px;
  background: linear-gradient(145deg, #182337, #111827);
}
.reportcard span { display: block; color: var(--muted); font-size: 11px; }
.reportcard b { display: block; margin-top: 7px; font-size: 19px; }

.alert { padding: 15px; border-bottom: 1px solid var(--line); }
.alert:last-child { border-bottom: 0; }
.alert header { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin: 0 0 9px; }
.alert .actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; }
.alert .actions button { border: 1px solid var(--line); border-radius: 10px; padding: 9px 6px; background: #1b2639; color: var(--text); }
.alertdetails { color: var(--muted); font-size: 12px; white-space: pre-wrap; }

.recipient { width: 100%; border: 0; background: transparent; text-align: left; color: inherit; }
.recipient:active { background: #192338; }
.recipient .count { text-align: right; }

dialog {
  width: min(720px, calc(100% - 18px)); max-height: 92vh; overflow: auto;
  border: 1px solid var(--line); border-radius: 22px; padding: 18px;
  background: #101827; color: var(--text); box-shadow: 0 30px 80px #000b;
}
dialog::backdrop { background: #030712c7; backdrop-filter: blur(5px); }
.close { float: right; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: #1b2639; color: white; font-size: 22px; }
.formgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; clear: both; }
.formgrid .wide { grid-column: 1 / -1; }
.formgrid label { color: var(--muted); font-size: 12px; }
.formgrid input {
  width: 100%; margin-top: 5px; border: 1px solid var(--line); border-radius: 11px;
  padding: 11px; outline: none; background: #0a111e; color: var(--text);
}
.formgrid input:focus { border-color: var(--accent); }
.addresses { display: grid; gap: 8px; margin: 12px 0; }
.address { border: 1px solid var(--line); border-radius: 13px; padding: 12px; text-align: left; background: #162033; color: var(--text); }
.address.active { border-color: var(--accent); background: #173b72; box-shadow: 0 0 0 2px #4f8cff22; }
.seat { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 8px 0; }
.seat input { min-width: 0; padding: 10px 6px; }
.dialogAction { width: 100%; margin-top: 12px; border: 0; border-radius: 13px; padding: 13px; background: linear-gradient(145deg, var(--accent), var(--accent-strong)); color: white; font-weight: 800; }
.hint { color: var(--muted); font-size: 12px; }
.sectiongap { margin-top: 12px; }
.listbox, .productlist { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #111827e8; box-shadow: var(--shadow); }
.productlist { display: grid; gap: 10px; overflow: visible; border: 0; background: transparent; box-shadow: none; }
.monthpick { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 13px; background: #111827; color: var(--muted); }
.monthpick input { border: 1px solid var(--line); border-radius: 9px; padding: 7px; background: #0d1422; color: var(--text); }
.pageinfo { padding: 12px; color: var(--muted); text-align: center; font-size: 12px; }
.pagination { display: grid; grid-template-columns: 48px 1fr 48px; gap: 8px; align-items: center; margin-top: 12px; }
.pagination button { height: 42px; border: 1px solid var(--line); border-radius: 12px; background: #172133; color: var(--text); font-size: 20px; }
.pagination button:disabled { opacity: .35; }
.pagination span { text-align: center; font-weight: 700; }.pagination small { display: block; color: var(--muted); font-weight: 400; }

.alertcard { display: block; width: 100%; padding: 15px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--text); text-align: left; }
.alertcard:last-child { border-bottom: 0; }.alertcard:active { background: #18243a; }
.alerttop { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }.alertsubject { margin-top: 7px; font-weight: 650; }
.alertcard ul { margin: 10px 0; padding-left: 19px; color: var(--muted); font-size: 12px; }.alertcard .more { display: block; margin-top: 10px; color: #77a7ff; font-size: 12px; }
.risk { flex: 0 0 auto; border-radius: 999px; padding: 4px 8px; font-size: 10px; }.risk.high { background: #641f2b; color: #ff9da6; }.risk.medium { background: #624516; color: #ffd27f; }.risk.low { background: #183f35; color: #79e1b9; }
.detailmeta { display: grid; grid-template-columns: minmax(90px,auto) 1fr; gap: 8px 12px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #0d1422; }.detailmeta span { color: var(--muted); }
.compare { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; margin-top: 12px; }.compare div { padding: 11px; border: 1px solid var(--line); border-radius: 12px; background: #151e2f; }.compare span,.compare b { display: block; }.compare span { color: var(--muted); font-size: 11px; }.compare b { margin-top: 5px; }
.detailsection { margin-top: 16px; }.detailsection h3 { margin-bottom: 9px; }.detailsection ul { padding-left: 20px; color: var(--muted); }
.change { margin-bottom: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 13px; background: #151e2f; }.change b,.change strong,.change span { display: block; }.change span { margin-top: 4px; color: var(--muted); font-size: 11px; }.change strong { margin-top: 5px; }.change p { margin: 8px 0 0; color: var(--muted); }
.snapshot { margin-top: 10px; border: 1px solid var(--line); border-radius: 13px; background: #101827; }.snapshot summary { padding: 12px; cursor: pointer; font-weight: 700; }.snapshot>div { padding: 0 12px 12px; }.snapshot>div>div { padding: 9px 0; border-top: 1px solid var(--line); font-size: 12px; }.snapshot span { display: block; margin-top: 3px; color: var(--muted); }
.decision { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; margin-top: 16px; }.decision button,.cardaction { border: 1px solid var(--line); border-radius: 11px; padding: 10px; background: #1b2639; color: var(--text); }

.product { padding: 15px; border: 1px solid var(--line); border-radius: 17px; background: linear-gradient(145deg,#172236,#101827); box-shadow: var(--shadow); }
.producthead { display: grid; grid-template-columns: 1fr auto; gap: 10px; }.producthead b,.producthead small,.producthead .code { display: block; }.producthead .code { margin-bottom: 5px; color: #78a7ff; font-size: 12px; font-weight: 800; }.producthead small { margin-top: 6px; color: var(--muted); }.pick { width: 24px; height: 24px; accent-color: var(--accent); }
.facts { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; margin-top: 13px; }.facts span { padding: 9px; border-radius: 10px; background: #0d1422; color: var(--muted); font-size: 10px; }.facts b { display: block; margin-top: 3px; color: var(--text); font-size: 13px; }
.recommend,.demandnote,.priceadvice { margin-top: 12px; padding: 12px; border: 1px solid #31568d; border-radius: 13px; background: #132b4d80; }.recommend>span { color: #86b1ff; font-size: 11px; font-weight: 800; text-transform: uppercase; }.recommend p,.demandnote p,.priceadvice p { margin: 7px 0; color: var(--muted); font-size: 12px; }.recommend label { display: flex; align-items: center; justify-content: space-between; gap: 10px; }.recommend input { width: 90px; border: 1px solid var(--line); border-radius: 9px; padding: 8px; background: #0d1422; color: var(--text); }
.priceadvice { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }.priceadvice div { min-width: 0; }.priceadvice span,.priceadvice b { display: block; }.priceadvice span { color: var(--muted); font-size: 10px; }.priceadvice b { margin-top: 4px; }.priceadvice p { grid-column: 1/-1; }.cardaction { width: 100%; margin-top: 10px; }
.seatcard { margin: 13px 0 0; border: 1px solid var(--line); border-radius: 14px; padding: 12px; background: #0d1422; }.seatcard legend { padding: 0 8px; color: #83adff; font-weight: 800; }.seatcard label { color: var(--muted); font-size: 11px; }.volume { margin-top: 8px; color: #83adff; font-size: 12px; }.recipienttitle { padding: 12px; border: 1px solid var(--line); border-radius: 13px; background: #0d1422; }.recipienttitle b,.recipienttitle span { display: block; }.recipienttitle span { margin-top: 4px; color: var(--muted); }.newaddress { margin: 12px 0; }

@media (max-width: 480px) {
  .formgrid { grid-template-columns: 1fr; }
  .formgrid .wide { grid-column: auto; }
  .seat { grid-template-columns: repeat(2, 1fr); }
  .alert .actions { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2,1fr); }
  .compare { grid-template-columns: 1fr; }
  .decision { grid-template-columns: 1fr; }
}
@media (max-width: 390px) { .reportcards { grid-template-columns: 1fr; } }
