/* Bottle debt keeps balances visible and daily diagnostics behind a disclosure. */
body.unified-shell #bottle-debts.af-bottle-debt-compact{min-width:0}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-page-head{align-items:center!important;gap:8px!important;margin:0 0 10px!important;padding:0!important}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-page-head>div{min-width:0}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-page-head small{font-size:10px!important;letter-spacing:.08em!important;line-height:1.5!important}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-page-head h2{margin:2px 0 0!important;font-size:22px!important;line-height:1.3!important;letter-spacing:-.02em!important}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-date-chip{grid-template-columns:auto minmax(0,1fr);gap:6px;padding:0 8px;border-radius:10px;font-size:12px;min-width:0}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-date-chip input{min-width:0;max-width:100%;height:44px;font-size:16px}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-overview-unified{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin:0 0 8px!important}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-primary-kpi{display:block!important;min-width:0;min-height:0!important;padding:12px!important;border-radius:12px!important;box-shadow:none!important}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-primary-kpi small{font-size:12px!important;line-height:1.4!important;font-weight:650!important;letter-spacing:0!important}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-primary-kpi strong{margin:5px 0 0!important;font-size:26px!important;line-height:1.25!important;letter-spacing:-.02em!important;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-primary-kpi p{margin:4px 0 0!important;font-size:11px!important;line-height:1.4!important;letter-spacing:0!important}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-day-details{margin:0 0 10px;padding:0;border:1px solid #dce8f2;border-radius:12px;background:#fff}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-day-details>summary{display:grid;grid-template-columns:minmax(0,1fr) auto 16px;align-items:center;gap:8px;min-height:56px;box-sizing:border-box;margin:0;padding:8px 12px;list-style:none;cursor:pointer}
body.unified-shell #bottle-debts.af-bottle-debt-compact summary::-webkit-details-marker{display:none}
body.unified-shell #bottle-debts.af-bottle-debt-compact summary::after{content:none!important}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-day-details summary strong{display:block;font-size:13px;line-height:1.5;letter-spacing:0;overflow-wrap:anywhere}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-day-details summary small{display:block;font-size:11px;line-height:1.4;color:#637a8f;letter-spacing:0}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-day-new{text-align:right}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-day-new b{color:#be2639;font-size:17px;line-height:1.4;white-space:nowrap;font-variant-numeric:tabular-nums}
body.unified-shell #bottle-debts.af-bottle-debt-compact summary i{display:block;font-style:normal;font-size:18px;line-height:1;color:#637a8f;text-align:center;transition:transform .15s}
body.unified-shell #bottle-debts.af-bottle-debt-compact details[open]>summary i{transform:rotate(180deg)}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-day-body{padding:0 12px 10px}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-day-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin:0!important}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-day-strip>span{display:block!important;grid-column:auto!important;min-width:0;padding:8px!important;border:0!important;border-radius:8px!important;background:#f3f8fd!important}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-day-strip small{display:block!important;margin:0!important;font-size:12px!important;line-height:1.4!important;letter-spacing:0!important}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-day-strip strong{display:block!important;margin:3px 0!important;font-size:18px!important;line-height:1.4!important;white-space:normal!important;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-day-strip em{display:block!important;font-size:11px!important;line-height:1.4!important;letter-spacing:0!important;font-weight:400!important}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-flow-card{display:block!important;min-height:0!important;margin:8px 0 0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-flow-card small{display:block;font-size:11px!important;line-height:1.4!important;letter-spacing:0!important;font-weight:500!important}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-flow-card strong{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px;margin:3px 0;font-size:13px!important;line-height:1.5!important;letter-spacing:0!important}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-flow-card b{font-size:14px!important;line-height:1.5!important;letter-spacing:0!important;white-space:nowrap}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-flow-card em{display:block;margin:3px 0 0;font-size:11px!important;line-height:1.5!important;letter-spacing:0!important}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-toolbar{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center;gap:8px!important;margin:0 0 12px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;min-width:0}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-search{display:flex!important;align-items:center;gap:6px;min-width:0!important;min-height:44px!important;padding:0 0 0 10px!important;border:1px solid #ccddea!important;border-radius:10px!important;background:#fff!important;box-shadow:none!important}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-search>span{flex:0 0 auto;font-size:19px!important}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-search input{flex:1 1 0;width:100%!important;min-width:0!important;height:44px!important;min-height:44px!important;padding:0 6px!important;border:0!important;border-radius:0!important;background:transparent!important;font-size:16px!important;line-height:1.4!important;box-shadow:none!important}
body.unified-shell #bottle-debts.af-bottle-debt-compact #bottle-debt-search-clear{flex:0 0 44px!important;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;border:0!important;border-radius:9px!important;background:transparent!important;font-size:22px!important;box-shadow:none!important}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-filter-segment{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:2px!important;min-width:180px!important;margin:0!important;padding:3px!important;border:1px solid #dce8f2!important;border-radius:10px!important;background:#ecf3f9!important}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-filter-segment button{min-width:0!important;min-height:44px!important;height:auto!important;padding:6px 10px!important;border-radius:7px!important;font-size:13px!important;line-height:1.4!important;letter-spacing:0!important;box-shadow:none!important;white-space:normal!important}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-list-head{display:flex!important;align-items:center!important;gap:8px!important;margin:0 0 8px!important;padding:0!important}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-list-head>div{min-width:0}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-list-head small{font-size:11px!important;line-height:1.4!important;letter-spacing:0!important}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-list-head h2{margin:2px 0 0!important;font-size:16px!important;line-height:1.4!important;letter-spacing:0!important}
body.unified-shell #bottle-debts.af-bottle-debt-compact #bottle-debt-list-count{flex:0 0 auto;margin-left:auto;min-width:0!important;height:auto!important;min-height:0!important;padding:4px 8px!important;border-radius:8px!important;font-size:12px!important;line-height:1.4!important;white-space:nowrap}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-list{gap:8px!important}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:"customer status" "activity activity" "actions actions"!important;align-items:start!important;gap:6px 10px!important;min-height:0!important;padding:12px!important;border-radius:12px!important;box-shadow:none!important}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-customer{min-width:0!important;margin:0!important}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-customer strong{display:block;font-size:16px!important;line-height:1.4!important;letter-spacing:0!important;white-space:normal;overflow-wrap:anywhere}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-customer small{display:block;margin:3px 0 0!important;font-size:12px!important;line-height:1.4!important;letter-spacing:0!important;white-space:normal;overflow-wrap:anywhere}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-status{min-width:0;max-width:150px;text-align:right}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-status strong{display:block!important;min-height:0!important;margin:0!important;padding:0!important;border-radius:0!important;background:transparent!important;font-size:22px!important;line-height:1.3!important;letter-spacing:-.02em!important;white-space:normal!important;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-status small{display:block;margin:3px 0 0!important;font-size:11px!important;line-height:1.4!important;letter-spacing:0!important}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-row-activity{grid-area:activity;min-width:0;margin:0!important;font-size:12px!important;line-height:1.5!important;color:#637a8f;letter-spacing:0!important;white-space:normal;overflow-wrap:anywhere}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-row-actions{display:flex!important;justify-content:flex-end!important;gap:6px!important;margin:0!important;padding:0!important;border:0!important}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-row-actions .btn{flex:0 1 auto!important;width:auto!important;min-width:80px!important;min-height:44px!important;margin:0!important;padding:8px 12px!important;border-radius:9px!important;font-size:13px!important;line-height:1.4!important;white-space:normal!important;box-shadow:none!important}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-help-details{margin:8px 0 0;padding:0;border:0;background:transparent;color:#637a8f}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-help-details>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;padding:0 2px;list-style:none;font-size:12px;line-height:1.5;cursor:pointer}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-help-details p{margin:0 0 8px!important;padding:0 2px!important;border:0!important;border-radius:0!important;background:transparent!important;font-size:12px!important;line-height:1.5!important;letter-spacing:0!important}
body.unified-shell #bottle-debts.af-bottle-debt-compact :is(summary,button):focus-visible{outline:2px solid #0878ef;outline-offset:2px}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-search:focus-within{outline:2px solid #0878ef;outline-offset:2px}
body.unified-shell #bottle-debts.af-bottle-debt-compact [hidden]{display:none!important}
@media(max-width:600px){
  body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-toolbar{grid-template-columns:minmax(0,1fr)!important}
  body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-filter-segment{min-width:0!important}
  body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-page-head h2{font-size:20px!important}
}
@media(prefers-reduced-motion:reduce){body.unified-shell #bottle-debts.af-bottle-debt-compact summary i{transition:none}}
