/* ==========================================================================
   Components: buttons, panels, tables, badges, stat cards, feeds, forms,
   modals, toasts, search results, menus, states
   ========================================================================== */

/* ---- Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 0 16px;
  border: 1px solid transparent; border-radius: var(--r-md);
  font-size: var(--fs-base); font-weight: 600; line-height: 1.2; white-space: nowrap;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), color var(--dur);
}
.btn-primary { background: var(--action); color: #fff; box-shadow: 0 1px 2px rgba(0, 40, 40, .2); }
.btn-primary:hover:not(:disabled) { background: var(--action-hover); }
.btn-secondary { background: #fff; color: var(--navy); border-color: #B3C2D3; }
.btn-secondary:hover:not(:disabled) { background: #F3F7FB; border-color: #8CA0B5; }
.btn-soft { background: var(--teal-light); color: var(--action); }
.btn-soft:hover:not(:disabled) { background: #D3EEE6; }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover:not(:disabled) { background: #EEF3F8; }
.btn-danger { background: #fff; color: var(--bad-fg); border-color: #DFA3AA; }
.btn-danger:hover:not(:disabled) { background: var(--bad-bg); }
.btn-on-dark { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .72); }
.btn-on-dark:hover { background: rgba(255, 255, 255, .16); }
.btn-sm { min-height: 34px; padding: 0 12px; font-size: var(--fs-sm); border-radius: var(--r-sm); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; }
.btn[aria-busy="true"] { opacity: .75; pointer-events: none; }

.link-btn {
  white-space: nowrap; flex: none;
  display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 4px;
  border: 0; background: none; color: var(--action); font-weight: 600; font-size: var(--fs-sm);
  border-radius: 6px;
}
.link-btn:hover { text-decoration: underline; }

.id-link {
  padding: 0; border: 0; background: none; font-weight: 700; color: var(--navy);
  text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px;
  transition: text-decoration-color var(--dur);
}
.id-link:hover { text-decoration-color: var(--teal); color: var(--action); }

@media (pointer: coarse) {
  .btn { min-height: 44px; }
  .btn-sm { min-height: 40px; }
  .link-btn { min-height: 40px; }
  .icon-btn { width: 44px; height: 44px; }
}

/* ---- Panels ---------------------------------------------------------------- */
.panel { min-width: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-1); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px 10px; }
.panel-head h2, .panel-head h3 { font-size: var(--fs-lg); font-weight: 700; letter-spacing: -.01em; }
.panel-head .sub { margin-left: 8px; font-weight: 500; font-size: var(--fs-sm); color: var(--text-muted); }
.panel-body { padding: 4px 20px 18px; }
.panel-pad { padding: 18px 20px; }
.panel-tint { background: linear-gradient(160deg, #fff 0%, #F1FAF7 100%); }

/* ---- Tables ---------------------------------------------------------------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 0 12px 12px; }
.table-wrap:focus-visible { outline-offset: -2px; }
.table-flush { padding: 0 0 4px; }
.data-table { width: 100%; font-size: var(--fs-sm); }
.data-table th {
  padding: 10px 12px; text-align: left; white-space: nowrap;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--text-muted); background: #F5F8FB;
}
.data-table th:first-child { border-radius: 8px 0 0 8px; }
.data-table th:last-child { border-radius: 0 8px 8px 0; }
.data-table td { padding: 12px; border-bottom: 1px solid #EDF1F6; vertical-align: middle; color: #2C4059; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover td { background: #F9FBFD; }
.data-table .col-actions { text-align: right; white-space: nowrap; }
.data-table .col-num { text-align: right; font-variant-numeric: tabular-nums; }
.data-table.dense th, .data-table.dense td { padding-left: 8px; padding-right: 8px; }
.data-table.dense td { padding-top: 10px; padding-bottom: 10px; }
.data-table .cell-nowrap { white-space: nowrap; }
.row-actions { display: inline-flex; gap: 6px; align-items: center; }
.cell-sub { display: block; font-size: var(--fs-xs); color: var(--text-muted); }

/* ---- Badges ---------------------------------------------------------------- */
.badge {
  display: inline-flex; align-items: center; padding: 2px 10px;
  border-radius: 20px; font-size: var(--fs-xs); font-weight: 600; line-height: 1.6; white-space: nowrap;
  background: var(--neutral-bg); color: var(--neutral-fg);
}
.badge-ok { background: var(--ok-bg); color: var(--ok-fg); }
.badge-warn { background: var(--warn-bg); color: var(--warn-fg); }
.badge-bad { background: var(--bad-bg); color: var(--bad-fg); }
.badge-info { background: var(--info-bg); color: var(--info-fg); }
.badge-sold { background: var(--sold-bg); color: var(--sold-fg); }

/* ---- Stat cards ------------------------------------------------------------ */
.stat-card {
  position: relative; display: block; padding: 16px 16px 15px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-1);
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.stat-card:hover { border-color: #C5D4E3; box-shadow: 0 8px 24px rgba(18, 63, 120, .11); transform: translateY(-1px); }
.stat-top { display: flex; align-items: center; gap: 12px; }
.stat-ico { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 12px; }
.tone-teal { background: var(--ok-bg); color: var(--teal-deep); }
.tone-blue { background: var(--info-bg); color: var(--blue); }
.tone-amber { background: var(--warn-bg); color: #A86B08; }
.tone-red { background: var(--bad-bg); color: #C23643; }
.tone-navy { background: var(--sold-bg); color: var(--navy); }
.stat-label { font-size: var(--fs-base); font-weight: 600; color: var(--text); line-height: 1.3; }
.stat-value { margin-top: 12px; font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: var(--navy); font-variant-numeric: tabular-nums; }
.stat-sub { margin-top: 6px; font-size: var(--fs-sm); color: var(--text-muted); }
a.stat-card .stat-sub { padding-right: 38px; }
.stat-go { position: absolute; right: 14px; bottom: 36px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; }

/* ---- Activity feed --------------------------------------------------------- */
.activity-list { display: flex; flex-direction: column; }
.activity { display: flex; align-items: flex-start; gap: 12px; padding: 11px 0; border-bottom: 1px solid #EDF1F6; }
.activity:last-child { border-bottom: 0; }
.activity-ico { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; }
.activity-body { flex: 1; min-width: 0; }
.activity-title { font-size: var(--fs-sm); font-weight: 600; color: var(--navy); line-height: 1.35; }
.activity-text { margin-top: 1px; font-size: var(--fs-xs); color: var(--text-muted); line-height: 1.45; overflow-wrap: anywhere; }
.activity-time { flex: none; padding-top: 2px; font-size: var(--fs-xs); color: var(--text-muted); white-space: nowrap; }

/* ---- Service items / cards ------------------------------------------------- */
.service-list { display: flex; flex-direction: column; padding: 0 20px 8px; }
.service-item { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid #EDF1F6; }
.service-item:last-child { border-bottom: 0; }
.service-ico {
  display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 12px; color: #fff;
  background: linear-gradient(145deg, #0A8C78, var(--teal-deep));
}
.service-text { flex: 1; min-width: 0; }
.service-name { font-size: var(--fs-md); font-weight: 700; color: var(--navy); line-height: 1.3; }
.service-desc { margin-top: 2px; font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.45; }
.service-item .chev { color: var(--text-muted); transition: transform var(--dur); }
a.service-item:hover .service-name { color: var(--action); }
a.service-item:hover .chev { transform: translateX(2px); color: var(--action); }

.service-card { display: flex; flex-direction: column; gap: 14px; padding: 22px; }
.service-card .service-ico { width: 56px; height: 56px; }
.service-card h3 { font-size: var(--fs-lg); }
.service-card p { color: var(--text-muted); font-size: var(--fs-base); line-height: 1.55; }
.service-card ul { display: grid; gap: 6px; font-size: var(--fs-sm); color: #2C4059; }
.service-card li { display: flex; gap: 8px; align-items: flex-start; }
.service-card li .icon { color: var(--teal); margin-top: 3px; }
.service-card .btn { align-self: flex-start; margin-top: auto; }

/* ---- Notices --------------------------------------------------------------- */
.notice {
  display: flex; align-items: flex-start; gap: 10px; padding: 11px 14px;
  border-radius: var(--r-md); font-size: var(--fs-sm); line-height: 1.55;
  background: var(--info-bg); color: var(--info-fg);
}
.notice .icon { margin-top: 2px; flex: none; }
.notice-warn { background: var(--warn-bg); color: var(--warn-fg); }
.notice-ok { background: var(--ok-bg); color: var(--ok-fg); }
.notice-bad { background: var(--bad-bg); color: var(--bad-fg); }
.notice strong { font-weight: 700; }

/* ---- Toolbar (filters above a table) --------------------------------------- */
.toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 4px 20px 14px; }
.toolbar .field-search { position: relative; flex: 1 1 260px; max-width: 420px; }
.toolbar .field-search .icon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; }
.toolbar .field-search .input { padding-left: 38px; }
.toolbar .select { width: auto; min-width: 170px; }
.toolbar .result-count { margin-left: auto; font-size: var(--fs-sm); color: var(--text-muted); }

/* ---- Segmented control ------------------------------------------------------ */
.segmented { display: inline-flex; padding: 3px; gap: 2px; border: 1px solid #B3C2D3; border-radius: var(--r-md); background: #fff; }
.segmented button { min-height: 34px; padding: 0 14px; border: 0; border-radius: 8px; background: none; color: var(--text-muted); font-weight: 600; font-size: var(--fs-sm); }
.segmented button[aria-pressed="true"] { background: var(--action); color: #fff; }

/* ---- Forms ----------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field > label, .field > .label { font-size: var(--fs-sm); font-weight: 600; color: #2C4059; }
.req { color: var(--bad-fg); margin-left: 2px; }

.input, .select, .textarea {
  width: 100%; min-height: 42px; padding: 9px 12px;
  border: 1px solid var(--border-input); border-radius: var(--r-md);
  background: #fff; color: var(--text);
  transition: border-color var(--dur), box-shadow var(--dur);
}
.textarea { min-height: 98px; resize: vertical; line-height: 1.5; }
.select {
  appearance: none; -webkit-appearance: none; padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235A6D82' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.input::placeholder, .textarea::placeholder { color: #7A8CA0; opacity: 1; }
.input:hover, .select:hover, .textarea:hover { border-color: #5E738A; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgba(7, 143, 121, .25); }
.input[readonly], .input:disabled, .select:disabled { background: #F3F6FA; color: var(--text-muted); }
[aria-invalid="true"] { border-color: #C23643 !important; box-shadow: 0 0 0 1px #C23643; }

.input-group { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 8px; }
.field-hint { font-size: var(--fs-xs); color: var(--text-muted); line-height: 1.45; }
.field-error { display: flex; gap: 6px; align-items: flex-start; font-size: var(--fs-xs); font-weight: 600; color: var(--bad-fg); line-height: 1.45; }
.field-error .icon { margin-top: 1px; }

.check {
  display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px;
  border: 1px solid #B3C2D3; border-radius: var(--r-md); background: #fff; cursor: var(--cursor-hand);
}
.check:hover { background: #F8FBFD; }
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--action); }
.check-text { font-size: var(--fs-sm); line-height: 1.45; color: var(--text); }
.check-text strong { display: block; color: var(--navy); }

.error-summary {
  margin-bottom: 16px; padding: 12px 16px; border: 1px solid #DFA3AA; border-radius: var(--r-md);
  background: var(--bad-bg); color: var(--bad-fg); font-size: var(--fs-sm);
}
.error-summary:focus { outline: 2px solid #C23643; outline-offset: 2px; }
.error-summary h3 { font-size: var(--fs-base); color: var(--bad-fg); margin-bottom: 6px; }
.error-summary ul { display: grid; gap: 4px; padding-left: 18px; list-style: disc; }
.error-summary a { color: var(--bad-fg); font-weight: 600; text-decoration: underline; }

.form-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; margin-top: 22px; }

/* ---- Modal ----------------------------------------------------------------- */
.modal-root {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  background: rgba(6, 27, 50, .62);
  animation: fade-in .16s ease-out;
}
.modal {
  display: flex; flex-direction: column; width: min(680px, 100%); max-height: min(92vh, 900px);
  background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow-modal); overflow: hidden;
  animation: pop-in .2s var(--ease);
}
.modal-sm { width: min(460px, 100%); }
.modal-lg { width: min(880px, 100%); }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 20px 24px 12px; }
.modal-title { font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.modal-title:focus { outline: none; }
.modal-sub { margin-top: 2px; font-size: var(--fs-sm); color: var(--text-muted); }
.modal-body { padding: 6px 24px 24px; overflow-y: auto; overscroll-behavior: contain; }

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop-in { from { opacity: 0; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: none; } }

/* ---- Detail lists inside modals --------------------------------------------- */
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; margin: 0; }
.detail-grid dt { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--text-muted); }
.detail-grid dd { margin: 2px 0 0; font-weight: 600; color: var(--text); overflow-wrap: anywhere; }
.detail-wide { grid-column: 1 / -1; }
.detail-section { margin-top: 22px; }
.detail-section > h3 { margin-bottom: 8px; font-size: var(--fs-md); }
.quote { margin: 0; padding: 12px 14px; border-left: 3px solid var(--teal); border-radius: 0 var(--r-md) var(--r-md) 0; background: #F5F9FC; color: #2C4059; line-height: 1.6; white-space: pre-wrap; }

.mini-table { width: 100%; font-size: var(--fs-sm); }
.mini-table td, .mini-table th { padding: 8px 4px; text-align: left; border-bottom: 1px solid #EDF1F6; }
.mini-table th { font-size: var(--fs-xs); color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; }

.receipt { padding: 20px; border: 1px dashed #9DB0C4; border-radius: var(--r-lg); background: #fff; }
.receipt-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--border); }
.receipt-head img { width: 132px; height: auto; display: block; }
.receipt-no { text-align: right; }
.receipt-no .label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.receipt-no .value { font-size: 20px; font-weight: 800; color: var(--navy); }
.receipt-total { margin-top: 16px; display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--border); }
.receipt-total .amount { font-size: 28px; font-weight: 800; color: var(--navy); }

/* ---- Toasts ---------------------------------------------------------------- */
.toast-region { position: fixed; right: 20px; bottom: 20px; z-index: 300; display: flex; flex-direction: column; gap: 10px; max-width: calc(100vw - 32px); pointer-events: none; }
.toast {
  pointer-events: auto; display: flex; align-items: flex-start; gap: 10px;
  width: 380px; max-width: 100%; padding: 12px 14px;
  background: var(--navy-deep); color: #fff; border-radius: 12px; box-shadow: var(--shadow-pop);
  font-size: var(--fs-sm); line-height: 1.5; border-left: 4px solid var(--mint);
  animation: pop-in .2s var(--ease);
}
.toast .icon { margin-top: 2px; color: var(--mint); }
.toast-error { border-left-color: #FF8A94; }
.toast-error .icon { color: #FF8A94; }
.toast-close { margin-left: auto; flex: none; border: 0; background: none; color: #C9D8E8; padding: 2px; border-radius: 6px; display: grid; }
.toast-close:hover { color: #fff; }

/* ---- Global search results ------------------------------------------------ */
.search-results {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 60;
  max-height: min(70vh, 460px); overflow-y: auto;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-pop);
  padding: 6px 0;
}
.sr-heading { padding: 8px 16px 4px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.sr-item { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 6px 16px; cursor: var(--cursor-hand); }
.sr-item:hover, .sr-item[aria-selected="true"] { background: var(--teal-light); }
.sr-ico { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--info-bg); color: var(--blue); }
.sr-main { font-weight: 600; color: var(--navy); font-size: var(--fs-sm); }
.sr-sub { font-size: var(--fs-xs); color: var(--text-muted); }
.sr-empty { padding: 20px 16px; text-align: center; color: var(--text-muted); font-size: var(--fs-sm); }

/* ---- Popover menu (admin) ---------------------------------------------------- */
.menu {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; min-width: 260px;
  padding: 6px; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-pop);
}
.menu-item {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 42px; padding: 0 12px;
  border: 0; border-radius: 8px; background: none; color: var(--text); font-weight: 500; text-align: left;
}
.menu-item:hover { background: #F1F6FA; }
.menu-note { padding: 8px 12px 6px; font-size: var(--fs-xs); color: var(--text-muted); border-bottom: 1px solid var(--border); margin-bottom: 4px; }

/* ---- Empty / error / loading states -------------------------------------- */
.state { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 36px 20px; text-align: center; color: var(--text-muted); }
.state-ico { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--neutral-bg); color: var(--neutral-fg); }
.state-bad .state-ico { background: var(--bad-bg); color: var(--bad-fg); }
.state h3 { font-size: var(--fs-md); }
.state p { max-width: 380px; font-size: var(--fs-sm); line-height: 1.5; }

.skeleton { padding: 8px 20px 18px; display: grid; gap: 14px; }
.skel-line {
  height: 16px; border-radius: 6px;
  background: linear-gradient(90deg, #EDF1F6 25%, #F7F9FC 50%, #EDF1F6 75%); background-size: 200% 100%;
  animation: shimmer 1.3s linear infinite;
}
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ---- Notifications list ----------------------------------------------------- */
.notif-list { display: flex; flex-direction: column; }
.notif { display: flex; align-items: flex-start; gap: 14px; padding: 16px 20px; border-bottom: 1px solid #EDF1F6; }
.notif:last-child { border-bottom: 0; }
.notif.unread { background: #F5FBF8; box-shadow: inset 3px 0 0 var(--teal); }
.notif-body { flex: 1; min-width: 0; }
.notif-title { font-weight: 600; color: var(--navy); }
.notif.unread .notif-title { font-weight: 800; }
.notif-text { margin-top: 2px; color: #2C4059; font-size: var(--fs-sm); line-height: 1.5; overflow-wrap: anywhere; }
.notif-meta { margin-top: 6px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; font-size: var(--fs-xs); color: var(--text-muted); }
.notif-actions { display: flex; gap: 6px; flex: none; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.unread-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); margin-right: 6px; }

/* ---- Print (receipts) -------------------------------------------------------- */
@media print {
  body { background: #fff; }
  .sidebar, .topbar, .page, .footer, .scrim, .toast-region, .skip-link { display: none !important; }
  .app-main { margin: 0 !important; }
  .modal-root { position: static; background: none; padding: 0; display: block; animation: none; }
  .modal { box-shadow: none; max-height: none; width: 100%; animation: none; }
  .modal-head .icon-btn, .form-actions, .no-print { display: none !important; }
  .modal-root:not(:last-of-type) { display: none !important; }
}

@media (max-width: 700px) {
  .form-grid, .detail-grid { grid-template-columns: minmax(0, 1fr); }
  .modal-root { align-items: flex-end; padding: 0; }
  .modal { width: 100%; max-height: 94vh; border-radius: var(--r-xl) var(--r-xl) 0 0; }
  .modal-head { padding: 16px 16px 8px; }
  .modal-body { padding: 4px 16px 20px; }
  .toast-region { right: 12px; left: 12px; bottom: 12px; }
  .toast { width: 100%; }
  .toolbar { padding: 4px 14px 12px; }
  .toolbar .field-search { max-width: none; flex-basis: 100%; }
  .toolbar .select { flex: 1 1 140px; }
  .toolbar .result-count { margin-left: 0; width: 100%; }
  .panel-head { padding: 14px 14px 8px; }
  .panel-body, .panel-pad { padding-left: 14px; padding-right: 14px; }
  .service-list { padding: 0 14px 6px; }
  .notif { padding: 14px; flex-wrap: wrap; }
  .notif-actions { width: 100%; justify-content: flex-start; }
}
