.device-notification-page { background: var(--white, #fff); box-shadow: none; }
#settingsPage .set-step[data-sstep][hidden], #settingsPage .prof-row[hidden], #settingsPage .set-toggle-row[hidden] { display: none; }
.device-notification-page .pp-topbar { border-bottom: 1px solid var(--wanted-line, #e5e3df); }
.device-notification-page .pp-scroll { width: 100%; max-width: 760px; margin: 0 auto; padding: 26px 24px 48px; }
.device-notification-page .dn-content { max-width: none; padding: 0; }
.dn-header-button { min-width: 48px; min-height: 44px; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 14px; }
.dn-kicker { margin: 0 0 8px; color: var(--wanted-blue, #1a2925); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.dn-board-title { margin: 0 0 8px; font-size: 25px; line-height: 1.4; letter-spacing: -.04em; }
.dn-board-updated, .dn-resource-date { color: var(--text-2, #6b6b6b); font-size: 12px; }
.dn-feedback:not(:empty), .dn-empty { margin: 12px 0 20px; color: var(--text-2, #6b6b6b); font-size: 14px; line-height: 1.7; }
.dn-empty { padding: 28px 16px; border-radius: 12px; background: var(--wanted-soft, #f7f8fa); text-align: center; }
.dn-section-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin: 26px 0 14px; }
.dn-section-title { margin: 24px 0 14px; font-size: 17px; font-weight: 700; letter-spacing: -.025em; }
.dn-section-heading .dn-section-title, .dn-section > .dn-section-title:first-child { margin: 0; }
.dn-section { padding: 20px; margin: 16px 0; border: 1px solid var(--wanted-line, #e5e3df); border-radius: 14px; background: var(--white, #fff); }
.dn-copy { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.7; }
.dn-error { color: var(--danger, #b42318); line-height: 1.6; }
.dn-field { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 14px; margin: 16px 0; overflow-wrap: anywhere; }
.dn-field dt { color: var(--text-2, #6b6b6b); font-size: 13px; }
.dn-field dd { margin: 0; font-size: 14px; font-weight: 600; }
.dn-detail-fields { margin: 18px 0 0; }
.dn-detail-label { margin: 22px 0 8px; color: var(--text-2, #6b6b6b); font-size: 13px; }
.dn-amount { display: block; margin: 12px 0 0; font-size: 25px; font-weight: 750; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.dn-money-section .dn-section-title { color: var(--text-2, #6b6b6b); font-size: 13px; font-weight: 500; }

.dn-priority { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 52px; margin: 22px 0 16px; padding: 14px 16px; border: 0; border-radius: 12px; background: var(--wanted-blue, #1a2925); color: #fff; font: inherit; font-size: 14px; font-weight: 650; text-align: left; }
.dn-priority svg { width: 21px; height: 21px; flex: 0 0 auto; }
.dn-admin-counts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.dn-admin-metric { display: flex; flex-direction: column; align-items: center; gap: 9px; min-height: 118px; padding: 16px 8px; border: 1px solid var(--wanted-line, #e5e3df); border-radius: 12px; background: var(--white, #fff); color: var(--wanted-blue, #1a2925); font: inherit; }
.dn-admin-metric svg { width: 22px; height: 22px; }
.dn-admin-metric strong { font-size: 21px; font-variant-numeric: tabular-nums; }
.dn-admin-metric > span { color: var(--text-2, #6b6b6b); font-size: 12px; }
.dn-operating-summary { padding-bottom: 8px; }
.dn-unread-count { color: var(--wanted-blue, #1a2925); font-size: 12px; font-weight: 650; }
.dn-sections { display: flex; gap: 7px; margin: 0 -2px 18px; padding: 2px 2px 5px; overflow-x: auto; scrollbar-width: thin; }
.dn-section-tab { flex: 0 0 auto; min-height: 38px; padding: 8px 14px; border: 1px solid var(--wanted-line, #e5e3df); border-radius: 20px; background: var(--white, #fff); color: var(--text-2, #6b6b6b); font: inherit; font-size: 13px; }
.dn-section-tab[aria-pressed="true"] { border-color: var(--wanted-blue, #1a2925); background: var(--wanted-blue, #1a2925); color: #fff; font-weight: 650; }
.dn-unread-filter { display: flex; align-items: center; justify-content: space-between; min-height: 42px; padding-bottom: 12px; border-bottom: 1px solid var(--wanted-line, #e5e3df); font-size: 13px; }
.dn-unread-filter input, .dn-check input { width: 19px; height: 19px; margin: 0; accent-color: var(--wanted-blue, #1a2925); }
.dn-inbox-result { margin: 12px 0 16px; font-size: 12px; line-height: 1.6; }
.dn-inbox-list, .dn-transaction-list { display: grid; gap: 12px; }
.dn-transaction-list { margin: 22px 0 30px; }
.dn-card { display: flex; align-items: flex-start; gap: 14px; width: 100%; padding: 18px; border: 1px solid var(--wanted-line, #e5e3df); border-radius: 14px; background: var(--white, #fff); color: var(--text, #1a1a1a); font: inherit; text-align: left; }
.dn-card.unread { background: var(--wanted-soft-blue, #f1f5f3); border-color: var(--wanted-line, #e5e3df); }
.dn-card-visual { display: grid; place-items: center; flex: 0 0 54px; width: 54px; height: 62px; overflow: hidden; border-radius: 10px; background: var(--wanted-soft, #f7f8fa); color: var(--wanted-blue, #1a2925); }
.dn-card-visual svg { width: 26px; height: 26px; }
.dn-card-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dn-card-copy { display: flex; flex: 1; flex-direction: column; min-width: 0; gap: 9px; }
.dn-card-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 10px; color: var(--text-2, #6b6b6b); font-size: 11px; line-height: 1.4; }
.dn-category { color: var(--wanted-blue, #1a2925); font-weight: 700; }
.dn-card-title { overflow-wrap: anywhere; font-size: 15px; font-weight: 700; line-height: 1.5; letter-spacing: -.02em; }
.dn-card.unread .dn-card-title::after { display: inline-block; width: 5px; height: 5px; margin: 0 0 4px 6px; border-radius: 50%; background: var(--wanted-blue, #1a2925); content: ''; }
.dn-card-body { white-space: pre-wrap; overflow-wrap: anywhere; color: var(--text-2, #6b6b6b); font-size: 13px; line-height: 1.6; }
.dn-card-status, .dn-status-badge { align-self: flex-start; padding: 5px 8px; border-radius: 6px; background: var(--wanted-soft, #f7f8fa); color: var(--wanted-blue, #1a2925); font-size: 12px; font-weight: 650; }
.dn-card-reference, .dn-resource-reference { overflow-wrap: anywhere; color: var(--text-2, #6b6b6b); font-size: 11px; line-height: 1.6; }
.dn-card-destination { margin-top: 3px; color: var(--wanted-blue, #1a2925); font-size: 12px; font-weight: 650; }
.dn-progress { width: 100%; height: 5px; border: 0; accent-color: var(--wanted-blue, #1a2925); }
.dn-progress::-webkit-progress-bar { border-radius: 10px; background: var(--wanted-line, #e5e3df); }
.dn-progress::-webkit-progress-value { border-radius: 10px; background: var(--wanted-blue, #1a2925); }
.dn-progress::-moz-progress-bar { border-radius: 10px; background: var(--wanted-blue, #1a2925); }

.dn-resource-summary { padding-bottom: 20px; border-bottom: 1px solid var(--wanted-line, #e5e3df); }
.dn-resource-heading { display: flex; align-items: center; gap: 14px; margin: 18px 0; }
.dn-resource-heading .dn-card-visual { width: 74px; height: 84px; flex-basis: 74px; }
.dn-resource-title { margin: 0; overflow-wrap: anywhere; font-size: 21px; line-height: 1.45; letter-spacing: -.035em; }
.dn-resource-reference { margin: 0 0 5px; }
.dn-stage-current { color: var(--text-2, #6b6b6b); font-size: 12px; }
.dn-progress-list { display: flex; list-style: none; gap: 6px; padding: 8px 0 20px; margin: 0 0 4px; border-bottom: 1px solid var(--wanted-line, #e5e3df); }
.dn-progress-list li { display: flex; flex: 1; flex-direction: column; align-items: center; gap: 9px; min-width: 0; color: var(--text-3, #9a9a9a); font-size: 10px; line-height: 1.5; text-align: center; }
.dn-step-number { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--wanted-soft, #f7f8fa); font-size: 11px; }
.dn-progress-list .is-active { color: var(--wanted-blue, #1a2925); }
.dn-progress-list .is-active .dn-step-number { background: var(--wanted-soft-blue, #f1f5f3); }
.dn-progress-list [aria-current="step"] { font-weight: 750; }
.dn-progress-list [aria-current="step"] .dn-step-number { background: var(--wanted-blue, #1a2925); color: #fff; }
.dn-business-action, .dn-secondary-action { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; margin: 16px 0; padding: 13px 16px; border: 1px solid var(--wanted-blue, #1a2925); border-radius: 12px; background: var(--wanted-blue, #1a2925); color: #fff; font: inherit; font-size: 14px; font-weight: 650; line-height: 1.6; }
.dn-secondary-action { border-color: var(--wanted-line, #e5e3df); background: var(--white, #fff); color: var(--text, #1a1a1a); }
.dn-secondary-action svg { width: 18px; height: 18px; }
.dn-customer-name { margin: 18px 0 0; font-size: 15px; font-weight: 650; }
.dn-contact-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--wanted-line, #e5e3df); }
.dn-contact-row > strong { font-size: 16px; font-variant-numeric: tabular-nums; }
.dn-small-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 8px 10px; border: 1px solid var(--wanted-line, #e5e3df); border-radius: 8px; background: var(--white, #fff); color: var(--text, #1a1a1a); font: inherit; font-size: 12px; }
.dn-small-button svg { width: 16px; height: 16px; }
.dn-check { display: flex; align-items: center; gap: 10px; margin: 18px 0; font-size: 12px; line-height: 1.6; }

.dn-thread { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin: 24px 0; }
.dn-message { align-self: flex-start; max-width: 92%; padding: 14px; border: 1px solid var(--wanted-line, #e5e3df); border-radius: 4px 14px 14px; background: var(--wanted-soft, #f7f8fa); }
.dn-message.is-own { align-self: flex-end; border-radius: 14px 4px 14px 14px; background: var(--wanted-soft-blue, #f1f5f3); }
.dn-message.is-current { border-color: var(--wanted-blue, #1a2925); }
.dn-message > strong, .dn-message > time { display: block; color: var(--text-2, #6b6b6b); font-size: 11px; }
.dn-message > p { margin: 9px 0; }
.dn-form { display: grid; gap: 16px; margin-top: 24px; }
.dn-form .prof-fld { display: grid; gap: 9px; margin: 0; color: var(--text-2, #6b6b6b); font-size: 13px; }
.dn-form input, .dn-form textarea { width: 100%; min-height: 52px; padding: 14px 16px; border: 1px solid var(--wanted-line, #e5e3df); border-radius: 12px; background: var(--white, #fff); color: var(--text, #1a1a1a); font: inherit; font-size: 16px; }
.dn-form textarea { min-height: 110px; resize: vertical; }
.dn-form .prof-hint { margin: 0; font-size: 12px; line-height: 1.6; }
.device-notification-page .dn-submit { flex: initial; width: 100%; min-height: 52px; margin: 0; padding: 12px 16px; font-size: 15px; }

.dn-photos { margin: 20px 0; }
.dn-photos .dn-section-heading { margin: 0 0 12px; }
.dn-photos .dn-section-title { font-size: 14px; }
.dn-photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.dn-photo-cell { position: relative; min-width: 0; }
.dn-photo-open { display: block; width: 100%; padding: 0; aspect-ratio: 1; overflow: hidden; border: 0; border-radius: 8px; background: var(--wanted-soft, #f7f8fa); }
.dn-photo-open img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dn-photo-save { display: grid; place-items: center; position: absolute; right: 5px; bottom: 5px; width: 32px; height: 32px; border: 1px solid var(--wanted-line, #e5e3df); border-radius: 50%; background: var(--white, #fff); color: var(--text, #1a1a1a); }
.dn-photo-save svg { width: 17px; height: 17px; }
.dn-photo-viewer { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: #111; color: #fff; }
.dn-photo-viewer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; }
.dn-photo-viewer::backdrop { background: #111; }
.dn-photo-toolbar { display: flex; align-items: center; justify-content: space-between; padding: max(14px, env(safe-area-inset-top)) 18px 12px; }
.dn-photo-counter { padding-right: 8px; font-size: 14px; font-variant-numeric: tabular-nums; }
.dn-photo-tool { display: grid; place-items: center; width: 44px; height: 44px; padding: 10px; border: 0; border-radius: 50%; background: transparent; color: #fff; }
.dn-photo-tool svg { width: 24px; height: 24px; }
.dn-photo-stage { display: flex; align-items: center; gap: 0; min-height: 0; }
.dn-photo-stage .dn-photo-tool { flex: 0 0 38px; width: 38px; padding: 8px; }
.dn-photo-large { display: block; flex: 1; width: 0; height: 100%; min-height: 0; object-fit: contain; }
.dn-photo-footer { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; padding: 18px 20px max(18px, env(safe-area-inset-bottom)); }
.dn-photo-download { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 22px; border: 1px solid #555; border-radius: 10px; background: transparent; color: #fff; font: inherit; font-size: 14px; }
.dn-photo-download svg { width: 18px; height: 18px; }
.dn-photo-feedback { margin: 0; padding: 0 20px; color: #fff; font-size: 13px; line-height: 1.6; text-align: center; }
.dn-photo-feedback:not(:empty) { padding-bottom: 18px; }
.device-notification-page button:disabled { cursor: wait; opacity: .55; }
.dn-photo-tool:disabled { cursor: default; opacity: .25; }
.device-notification-page button:focus-visible, .dn-form input:focus-visible, .dn-form textarea:focus-visible { outline: 2px solid var(--wanted-blue, #1a2925); outline-offset: 3px; }
.dn-photo-viewer button:focus-visible { outline-color: #fff; }
.device-notification-open { overflow: hidden; }

@media (max-width: 480px) {
  .device-notification-page .pp-scroll { padding: 22px 20px 36px; }
  .dn-board-title { font-size: 23px; }
  .dn-admin-counts { gap: 7px; }
  .dn-admin-metric { min-height: 108px; padding: 14px 4px; gap: 8px; }
  .dn-admin-metric strong { font-size: 18px; }
  .dn-admin-metric > span { font-size: 11px; }
  .dn-card { gap: 12px; padding: 16px 14px; }
  .dn-card-visual { width: 48px; height: 58px; flex-basis: 48px; }
  .dn-card-title { font-size: 14px; }
  .dn-card-body { font-size: 12px; }
  .dn-section { padding: 16px; }
  .dn-resource-title { font-size: 19px; }
  .dn-photo-footer { gap: 10px; }
  .dn-photo-download { padding-inline: 18px; }
}
