/* ARVYNO 0.9.148 — retained Finance pages and a quieter operation hierarchy. */
.finance-form-screen.finance-screen-suspended { pointer-events: none !important; }
.finance-form-screen.finance-screen-covered { visibility: hidden !important; will-change: auto !important; }
.finance-form-screen.entity-slider-screen { transition-duration: 280ms !important; box-shadow: -6px 0 18px rgba(45,38,32,.045) !important; }
.finance-form-screen .entity-form-intro { display: none !important; }
.finance-form-screen .tracker-icon-button { background: transparent !important; border: 0 !important; box-shadow: none !important; }
.finance-form-screen .entity-form-top-title { font-size: 15px !important; font-weight: 600 !important; line-height: 1.3; }
.operations-list-refined-screen .entity-form-topbar { grid-template-columns: 44px minmax(0,1fr) 44px !important; }
.operations-period-caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; margin: 0 2px 18px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.operations-date-groups { display: grid; gap: 20px; }
.operations-date-group { min-width: 0; }
.operations-date-group h2 { margin: 0 4px 8px; color: var(--muted); font-size: 12px; font-weight: 500; line-height: 1.5; }
.operations-list-refined-screen .transaction-list { border-radius: 18px; background: #fff; padding: 2px 12px; border: 0; box-shadow: none; }
.operations-list-refined-screen .transaction-row { display: grid !important; grid-template-columns: minmax(0,1fr) auto; align-items: center; min-height: 62px; padding: 10px 0 !important; gap: 10px !important; border-bottom: 1px solid rgba(82,73,64,.065) !important; border-radius: 0 !important; background: transparent; }
.operations-list-refined-screen .transaction-row:last-child { border-bottom: 0 !important; }
.operations-list-refined-screen .transaction-main { min-width: 0; display: flex; gap: 10px; align-items: center; }
.operations-list-refined-screen .transaction-icon { width: 32px; height: 32px; min-width: 32px; border-radius: 10px; box-shadow: none; background: #f4f6f3; }
.operations-list-refined-screen .transaction-icon svg { width: 19px; height: 19px; }
.operations-list-refined-screen .finance-v2-transaction-copy { min-width: 0; gap: 4px; }
.operations-list-refined-screen .finance-v2-transaction-copy b { font-size: 14px; font-weight: 550; line-height: 1.3; overflow-wrap: anywhere; }
.operations-list-refined-screen .finance-v2-transaction-copy small { font-size: 11px; font-weight: 400; line-height: 1.4; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.operations-list-refined-screen .transaction-side { min-width: 0; gap: 6px; }
.operations-list-refined-screen .transaction-amount { font-size: 14px; font-weight: 550; white-space: nowrap; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.operations-list-refined-screen .transaction-chevron { font-size: 20px; opacity: .6; margin: 0; }
.operations-list-refined-screen .transaction-side .finance-v2-auto-badge { display: none; }
.operations-list-refined-screen .transaction-side .finance-v2-lock { width: 12px; opacity: .6; }
.transaction-detail-refined-screen .transaction-detail { gap: 14px; }
.transaction-detail-refined-screen .transaction-detail-hero { background: #fff; border: 0; border-radius: 20px; box-shadow: none; gap: 8px; padding: 20px 16px !important; }
.transaction-detail-refined-screen .transaction-detail-icon { width: 36px; height: 36px; border-radius: 12px; background: #f0f4ee; box-shadow: none; }
.transaction-detail-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.transaction-detail-kind { font-size: 12px; color: var(--muted); }
.transaction-detail-refined-screen .transaction-detail-amount { font-size: clamp(23px,7.6vw,32px); line-height: 1.15; letter-spacing: -.03em; font-weight: 550; max-width: 100%; overflow-wrap: anywhere; }
.transaction-detail-refined-screen .transaction-detail-date { font-size: 12px; line-height: 1.5; }
.transaction-detail-refined-screen .transaction-detail-list { background: #fff; border: 0; border-radius: 18px; padding: 0 14px; }
.transaction-detail-refined-screen .transaction-detail-row { padding: 14px 0; min-height: 48px; align-items: center; border-color: rgba(82,73,64,.065); }
.transaction-detail-refined-screen .transaction-detail-row span { font-size: 13px; }
.transaction-detail-refined-screen .transaction-detail-row b { font-size: 14px; font-weight: 500; line-height: 1.45; max-width: 67%; }
.transaction-detail-refined-screen .transaction-detail-note { align-items: flex-start; }
.transaction-detail-refined-screen .transaction-goal-impact { padding: 14px 0; border-top: 1px solid rgba(82,73,64,.065); }
.transaction-detail-refined-screen .transaction-goal-impact div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.transaction-detail-refined-screen .transaction-goal-impact b { overflow-wrap: anywhere; }
.transaction-detail-refined-screen .transaction-managed-note { margin: 0 0 14px; font-size: 12px; font-weight: 400; }
.transaction-detail-refined-screen .transaction-detail-close { min-height: 44px; border: 0; border-radius: 14px; font-size: 13px; font-weight: 500; }
.transaction-refined-screen .transaction-delete-button { margin-top: 2px; background: transparent !important; font-weight: 400 !important; font-size: 13px; min-height: 44px; }
.operations-list-refined-screen .transaction-row:focus-visible { outline: 2px solid var(--sage-dark); outline-offset: -2px; border-radius: 10px !important; }
@media(max-width:350px) {
  .operations-list-refined-screen .transaction-list { padding-inline: 10px; }
  .operations-list-refined-screen .transaction-row { gap: 6px !important; }
  .operations-list-refined-screen .transaction-main { gap: 7px; }
  .operations-list-refined-screen .transaction-amount { font-size: 12px; }
  .operations-list-refined-screen .finance-v2-transaction-copy b { font-size: 13px; }
}
@media(prefers-reduced-motion:reduce) {
  .finance-form-screen.entity-slider-screen { transition: none !important; }
}

.operations-list-refined-screen .finance-v2-transaction-copy b { white-space: normal !important; display: -webkit-box !important; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; text-overflow: clip; }
.operations-list-refined-screen .finance-v2-transaction-copy small { white-space: normal !important; }
.operations-list-refined-screen .transaction-row.managed { background: transparent !important; }
.transaction-detail-refined-screen .transaction-detail-close[hidden] { display:none !important; }

.operations-list-refined-screen .operations-long-money { grid-template-columns: minmax(0,1fr) !important; gap: 4px !important; }
.operations-list-refined-screen .operations-long-money .transaction-side { justify-content: flex-end; padding-left: 42px; }
.operations-list-refined-screen .operations-long-money .transaction-amount { white-space: normal; overflow-wrap: anywhere; text-align: right; }

/* v0.9.179 — history is a browsing surface, not an entity creation form. */
html body.entity-slider-open .operations-list-refined-screen.entity-slider-screen .entity-form-scroll {
  padding:12px 14px calc(24px + max(env(safe-area-inset-bottom), var(--arvyno-safe-bottom,0px))) !important;
  scroll-padding-top:12px; overflow-anchor:none;
}
html body .operations-list-refined-screen .entity-form-content,
html body .operations-list-refined-screen [data-entity-form-body] { display:block !important; margin:0 !important; padding:0 !important; }
html body .operations-list-refined-screen .operations-search { display:grid !important; gap:0; margin:0 0 4px !important; padding:0 !important; background:transparent !important; border:0 !important; border-radius:0 !important; box-shadow:none !important; }
.operations-list-refined-screen .operations-query { display:block; }
.operations-list-refined-screen .operations-query input { background:#fff; border:1px solid rgba(82,73,64,.07); border-radius:14px; min-height:46px; font-size:16px; box-shadow:none; }
.operations-list-refined-screen .operations-filters { padding:0; background:transparent; border-radius:0; }
.operations-list-refined-screen .operations-filters summary { display:flex; align-items:center; min-height:44px; gap:8px; font-weight:500; list-style:none; }
.operations-list-refined-screen .operations-filters summary::-webkit-details-marker { display:none; }
.operations-list-refined-screen .operations-filters summary::after { content:''; width:6px; height:6px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(45deg); margin-left:auto; margin-right:6px; }
.operations-list-refined-screen .operations-filters[open] summary::after { transform:rotate(225deg); }
.operations-filter-badge:not(:empty) { min-width:20px; padding:2px 5px; border-radius:7px; background:#e7ede4; text-align:center; font-size:11px; }
.operations-list-refined-screen .operations-filter-fields { margin-top:0; gap:10px; }
.operations-list-refined-screen .operations-filter-fields input,
.operations-list-refined-screen .operations-filter-fields select { font-size:16px; min-height:44px; }
.operations-reset { min-height:44px; border:0; background:transparent; padding:6px 0; color:var(--sage-dark); font:inherit; font-size:13px; }
.operations-range { color:var(--muted); font-size:11px; line-height:1.5; overflow-wrap:anywhere; }
.operations-status { display:flex; align-items:center; justify-content:space-between; gap:8px; min-height:30px; margin:2px 0 8px; color:var(--muted); font-size:12px; line-height:1.4; }
.operations-status.is-error { color:#97564e; }
.operations-status .operations-retry { width:auto; flex-shrink:0; margin:0; min-height:44px; padding:8px 12px; font-size:12px; }
.operations-list-refined-screen .operations-date-groups { gap:16px; }
.operations-list-refined-screen .operations-date-group h2 { margin:0 4px 6px; font-size:12px; font-weight:500; }
.operations-list-refined-screen .transaction-list { padding:0 12px; border-radius:18px; }
.operations-list-refined-screen .transaction-row { grid-template-columns:minmax(0,1fr) minmax(76px,40%); min-height:62px; padding:10px 0 !important; }
.operations-list-refined-screen .transaction-side { display:flex; justify-content:flex-end; max-width:none !important; width:100%; }
.operations-list-refined-screen .transaction-amount { font-size:14px; white-space:normal; overflow-wrap:anywhere; text-align:right; }
.operations-list-refined-screen .transaction-chevron { display:none; }
.operations-list-refined-screen .finance-v2-transaction-copy b { font-weight:500; }
.operations-list-refined-screen .finance-v2-transaction-copy small { font-size:11px; color:#807c74; }
.operations-list-refined-screen .transaction-icon { width:30px; height:30px; min-width:30px; }
.operations-empty { padding:24px 18px; display:grid; gap:7px; background:#fff; border-radius:18px; }
.operations-empty b { font-weight:550; font-size:15px; }
.operations-empty span { font-size:13px; line-height:1.5; color:var(--muted); }
.operations-list-refined-screen .operations-more { margin-top:12px; min-height:46px; font-size:14px; font-weight:500; }
.operations-list-refined-screen .operations-results[aria-busy="true"] { opacity:.65; }
@media(max-width:350px) {
  .operations-list-refined-screen .transaction-main { gap:7px; }
  .operations-list-refined-screen .transaction-amount { font-size:13px; }
}
