[hidden] { display: none !important; }
.production-error { color: #b45c72; font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.production-note { color: #9793a8; font-size: 11px; line-height: 1.8; }
.production-actions { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; margin-top: 18px; }
.production-actions .btn { margin: 0; }
.production-code { display: block; white-space: pre-wrap; overflow-wrap: anywhere; padding: 12px; background: #f7f5fc; border: 1px solid #e9e3f2; border-radius: 7px; color: #786c8b; font: 11px/1.8 Consolas, monospace; }
.production-field { display: grid; gap: 7px; margin: 15px 0; font-size: 12px; color: #858197; min-width: 0; }
.production-field .text-field { width: 100%; min-width: 0; margin: 0; }
.production-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 15px; }
.production-checkbox { display: flex; gap: 8px; align-items: center; font-size: 11px; line-height: 1.8; color: #8a8299; margin-top: 12px; }
.production-checkbox input { accent-color: var(--purple); }
.production-result { display: block; min-height: 38px; font-size: 28px; color: #7864bd; letter-spacing: 5px; padding: 15px; background: #f5f1fd; border-radius: 8px; margin: 18px 0; overflow-wrap: anywhere; }
.production-key-list { max-height: 160px; overflow-y: auto; margin-bottom: 12px; }
.production-key-select { width: 100%; }
.reader-plain { font: 13px/1.9 "Segoe UI", "Microsoft YaHei", sans-serif; white-space: pre-wrap; overflow-wrap: anywhere; margin: 16px 0; }
#reader.reader-modal { width: min(980px, 100%); }
.reader .reader-toolbar { flex-wrap: wrap; height: auto; min-height: 58px; padding-block: 10px; gap: 10px; }
.reader .reader-content { min-width: 0; padding: 24px; }
.reader .reader-body { margin-top: 20px; min-width: 0; }
.reader-addresses { display: grid; gap: 8px; padding: 15px 0; margin-top: 16px; border-top: 1px solid #efedf4; border-bottom: 1px solid #efedf4; }
.reader-address-line { display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: start; gap: 8px; font-size: 12px; line-height: 1.8; }
.reader-address-label { color: #9790a6; white-space: nowrap; }
.reader-address-value { min-width: 0; color: #625d70; overflow-wrap: anywhere; }
.reader-address-value strong { font-weight: 600; }
.reader-copy-address { display: inline-flex; align-items: center; vertical-align: baseline; gap: 4px; margin-left: 7px; padding: 1px 3px; color: #8b79b8; font-size: 11px; white-space: nowrap; }
.reader-copy-address svg { width: 13px; height: 13px; }
.reader-body-toolbar { display: flex; gap: 4px; padding-bottom: 12px; }
.reader-view-button { padding: 7px 12px; border-radius: 6px; color: #93899f; font-size: 12px; }
.reader-view-button[aria-pressed="true"] { background: #f1ecfa; color: #7862ac; font-weight: 600; }
.reader-image-controls { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 7px; padding: 9px 12px; margin-bottom: 10px; border-radius: 6px; background: #f8f6fc; color: #92869e; font-size: 11px; }
.reader-image-controls .text-button { font-size: 11px; color: #8068ad; }
#reader-html-slot { width: 100%; min-width: 0; }
.reader-html { display: block; width: 100%; height: clamp(340px, 58dvh, 720px); border: 1px solid #ede9f5; border-radius: 6px; background: white; }
.reader .reader-toolbar-actions { flex-wrap: wrap; }
.reader .attachment-card { text-decoration: none; }
.reader .sender-email { overflow-wrap: anywhere; }
.dialog-body .production-actions { margin-bottom: 3px; }
.job-status { padding: 14px; background: #f7f4fc; border-radius: 7px; font-size: 12px; line-height: 1.9; color: #87739c; }
.settings-menu { z-index: 90; }
.api-page .api-fields { display: grid; grid-template-columns: 1fr 1fr; }
.api-page .api-fields .production-field { margin-top: 0; }
.api-page .api-tool-body .production-field:first-child { margin-top: 0; }
.bl-form-message:empty { display: none; }
.mail-row.is-checked { background: #f8f5ff; }
.mail-row button:disabled { opacity: .6; cursor: wait; }
.account-form-note code { font-size: 10px; }
.production-boot { padding: 32px; font-size: 14px; color: #817692; }
.mobile-mail-filters { display: none; }
button:disabled { cursor: not-allowed; }
@media (max-width: 700px) {
  .production-grid, .api-page .api-fields { grid-template-columns: 1fr; }
  .reader .reader-content { padding: 18px 12px; }
  .reader .reader-toolbar { padding-inline: 12px; }
  .reader .reader-toolbar-actions { gap: 5px; margin-left: auto; }
  .reader .reader-toolbar-actions .text-button { font-size: 10px; }
  .reader-address-line { grid-template-columns: 49px minmax(0, 1fr); gap: 5px; font-size: 11px; }
  .reader-copy-address { font-size: 10px; }
  .reader-html { height: clamp(360px, 60dvh, 650px); }
  .mobile-mail-filters { display: flex; padding: 0 14px 12px; gap: 8px; min-width: 0; }
  .mobile-mail-filters label { flex: 1; min-width: 0; }
  .mobile-mail-filters select { width: 100%; min-width: 0; padding: 7px; border: 1px solid #e7e3f0; border-radius: 6px; color: #8d859f; background: white; font-size: 10px; }
}
