/* ==========================================================================
   Area: notification choices and privacy (/account/notifications, /account/privacy, the business settings section,
   /privacy/request). Loaded after the page's own area stylesheet. Object UI: slip rows, filled surfaces, no borders.
   ========================================================================== */

/* ---------- The event × email / text table (partials/notify-table). Three columns from 481px, stacked below. ---------- */
.ntf-table { width: 100%; }
.ntf-table thead th { padding-block: 4px 8px; }
.ntf-table tbody th { font-weight: var(--body-weight); text-align: left; }
.ntf-table__name { display: block; font-weight: 600; }
.ntf-table__hint { display: block; margin-top: 1px; color: var(--fg-2); font-size: var(--small-size); font-weight: var(--body-weight); line-height: 1.35; }
.ntf-table th.ntf-table__on, .ntf-table td.ntf-table__on { width: 72px; padding-inline: 4px; text-align: center; vertical-align: middle; }
.ntf-table__none { color: var(--fg-2); font-size: var(--xs-size); line-height: 1.2; }
.ntf-tick { display: inline-grid; place-items: center; width: 44px; height: 44px; cursor: pointer; }
.ntf-tick:has(:disabled) { cursor: not-allowed; }
.ntf-tick .check__input:disabled:checked { background: var(--ink-2); border-color: var(--ink-2); }
@media (max-width: 640px) {
  .ntf-table th.ntf-table__on, .ntf-table td.ntf-table__on { width: 50px; padding-inline: 0; }
  .ntf-table thead th:first-child, .ntf-table tbody th { padding-left: 12px; padding-right: 4px; }
}

@media (max-width: 480px) {
  .ntf-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .ntf-table, .ntf-table tbody { display: block; }
  .ntf-table tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 8px; margin-bottom: var(--slip-gap); padding: 12px 14px 4px; border-radius: var(--r); background: var(--inset); }
  .ntf-table tbody th, .ntf-table tbody td { display: block; padding: 0 !important; background: none; border-radius: 0; }
  .ntf-table tbody th { grid-column: 1 / -1; }
  .ntf-table td.ntf-table__on { display: flex; align-items: center; gap: 2px; width: auto; text-align: left; }
  .ntf-table td.ntf-table__on::before { content: attr(data-label); color: var(--fg-2); font-size: var(--small-size); font-weight: 600; }
  .ntf-tick { margin-left: auto; margin-right: 6px; }
  .ntf-table__none { margin-left: auto; margin-right: 6px; min-height: 44px; display: inline-grid; align-items: center; }
}

/* ---------- /account/notifications: the choices beside where they go ---------- */
.ntf { display: grid; gap: 16px; align-items: start; }
.ntf__kv { margin: 0; grid-template-columns: minmax(0, 1fr); gap: 2px; }
.ntf__kv dt { color: var(--fg-2); font-size: var(--small-size); }
.ntf__kv dd { margin: 0 0 10px; overflow-wrap: anywhere; }
.ntf__edit { margin: 10px 0 0; font-size: var(--small-size); }
.ntf__alert { margin-top: 14px; }
.ntf__note { margin: 14px 0 0; color: var(--fg-2); font-size: var(--small-size); }
@media (min-width: 1100px) {
  .ntf { grid-template-columns: minmax(0, 1fr) 300px; }
}

/* ---------- /account/privacy ---------- */
.prv { display: grid; gap: 16px; align-items: stretch; }
.prv > .panel { display: flex; flex-direction: column; min-width: 0; }
.prv__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--slip-gap); margin: 0; padding: 0; list-style: none; }
.prv__list li { padding: 8px 14px; border-radius: var(--r); background: var(--inset); font-size: var(--small-size); }
.prv__form { display: flex; flex-direction: column; flex: 1 1 auto; }
.prv__parcels { display: flex; flex-wrap: wrap; gap: 2px 16px; margin: 4px 0 8px; padding: 0; list-style: none; }
.prv__parcels .mono { font-size: var(--data-s); }
.prv__foot { margin-top: auto; padding-top: 16px; }
.prv__kv { margin: 0; }
.prv__more { margin: 12px 0 0; color: var(--fg-2); font-size: var(--small-size); }
.prv__req { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 16px; align-items: baseline; }
.prv__reqstate { color: var(--fg-2); font-size: var(--small-size); }
@media (min-width: 1100px) {
  .prv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prv__keep, .prv__requests { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .prv__req { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 380px) {
  .prv__list { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- /privacy/request ---------- */
.prq { display: grid; gap: var(--s-5); align-items: start; padding-bottom: var(--s-8); }
.prq__panel { padding: 24px 26px 26px; }
.prq__form { display: grid; gap: 18px; }
.prq__kv { margin: 12px 0; }
.prq__slips { margin-top: 10px; }
.prq__slips .slip { font-size: var(--small-size); }
.prq__acct { margin: 14px 0 0; color: var(--fg-2); font-size: var(--small-size); }
@media (min-width: 960px) {
  .prq { grid-template-columns: minmax(0, 1fr) 340px; }
}
@media (max-width: 640px) {
  .prq__panel { padding: 18px 16px 20px; }
}

/* ---------- Business settings: delivery notifications ---------- */
.biz-notify { margin-top: var(--s-4); }
.biz-notify__cols { display: grid; gap: 24px 36px; }
.biz-notify__cols > .fieldset { min-width: 0; margin: 0; }
.biz-notify__legend { padding: 0; font-weight: 600; }
.biz-notify__intro { margin: 2px 0 10px; color: var(--fg-2); font-size: var(--small-size); }
.biz-notify__after { margin: 10px 0 0; }
.biz-notify__email { margin-top: 14px; }
.biz-notify__save { margin-top: 18px; }
@media (min-width: 1200px) {
  .biz-notify__cols { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}
