.chat{display:flex;flex-direction:column}
.chat>#ask,.chat>.quick{flex-shrink:0}
#assistantFeed{min-height:0;overflow:auto;scrollbar-width:thin}
#assistantFeed #conversation{height:auto;min-height:0;max-height:none;overflow:visible}
/* 15 Nov 2026 — the list and the conversation are two screens, as in Operations: the list is the
   page, and a Tiffany "Speak" button opens the discussion. Questions and answers never pile up
   under the list; when a change is saved the page returns to the list on its own. */
.payment-speak,.payment-talk-bar,.payment-talk-hint{display:none}
.chat[data-payment-view="list"] .payment-speak{display:grid;justify-items:center;gap:5px;width:100%;margin:0 0 12px;padding:15px 10px 12px;border:0;border-radius:16px;background:#81d8d0;color:#073c36;font:800 16px/1.2 Inter,system-ui,sans-serif;cursor:pointer;box-shadow:0 2px 10px rgba(16,110,100,.18)}
.chat[data-payment-view="list"] .payment-speak:active{transform:translateY(1px)}
.payment-speak svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.payment-speak small{font:700 11.5px/1.3 'Cairo',system-ui,sans-serif;opacity:.75}
.chat[data-payment-view="list"] #conversation,.chat[data-payment-view="list"] #ask{display:none!important}
.chat[data-payment-view="talk"] #paymentPriorities{display:none!important}
.chat[data-payment-view="talk"] .payment-talk-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 8px;padding:0 2px}
.payment-talk-bar span{font-weight:750;color:#1b3f56;font-size:14px}
.payment-talk-bar button{min-height:36px;padding:0 13px;border:1px solid #cfe7e3;border-radius:10px;background:#eef9f7;color:#0f5a52;font-weight:700;font-size:13px}
.chat[data-payment-view="talk"]:not(:has(#conversation .message[data-mode="payments"])) .payment-talk-hint{display:block;margin:4px 2px 10px;padding:10px 12px;border:1px dashed #cfe7e3;border-radius:12px;color:#4d6676;font-size:13px;line-height:1.75}
.payment-flash{margin:0 0 11px;padding:8px 11px;border:1px solid #bfe0d6;border-radius:10px;background:#eef8f4;color:#14554c;font-size:12.5px;line-height:1.6}
#assistantFeed:not([data-mode="payments"]) #conversation [data-mode="payments"],
#assistantFeed[data-mode="payments"] #conversation .message:not([data-mode="payments"]),
#assistantFeed[data-mode="ask"] #conversation{display:none}
.chat .quick{margin:8px 0 0}
.chat .quick button[aria-pressed="true"]{background:#d9efec;color:#134b45;border-color:#87bcb3}
.chat #ask{position:static}
.assistant-capabilities,#paymentPriorities{padding:13px;border:1px solid #d9e5ec;border-radius:14px;background:#fff;color:#1b3545;color-scheme:light}
.assistant-capabilities h2{font-size:17px;margin:0 0 9px}
.assistant-capability-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:7px}
.assistant-capability-options button{min-height:44px;border-color:#cedee7;background:#f0f6fa;color:#294a60;text-align:start}
#paymentPriorities{background:#d4dbe1;border-color:#b9c4ce}
.payment-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));--payment-card-height:98px;gap:8px;margin-block-end:12px}
.payment-summary>*{
 padding:10px 12px;border:1px solid #dbe6ed;border-radius:12px;
 border-inline-start:3px solid var(--payment-edge,#9fb3c0);
 background:var(--payment-tint,#fff);color:#1b3545;min-width:0;align-self:stretch;box-sizing:border-box;inline-size:100%;block-size:var(--payment-card-height);min-block-size:0;margin:0;appearance:none;
}
.payment-summary>details{--payment-edge:#2f8f7d;--payment-tint:#e1f4ef}
.payment-summary>.payment-expected-total{--payment-edge:#557fb2;--payment-tint:#e6effb}
.payment-summary>.payment-critical-total{--payment-edge:#b17a29;--payment-tint:#fff0d9}
.payment-summary>.payment-later-total{--payment-edge:#8063aa;--payment-tint:#f1eafa}
.payment-summary>button[aria-pressed="true"]{border-color:var(--payment-edge);box-shadow:0 0 0 1px var(--payment-edge) inset}
.payment-summary summary,.payment-summary>div>span,.payment-summary>button>span{display:block;font-size:12.5px;font-weight:650;color:#4d6676}
/* The later total is the door to its own list: the items stay folded away until it is pressed. */
.payment-summary>button{font:inherit;text-align:start;cursor:pointer;position:relative;padding-inline-end:24px}
.payment-summary>button:focus-visible{outline:2px solid #44617a;outline-offset:2px}
/* The cash tile opens to show when Cash Management was last read, so it needs to look openable. */
.payment-summary>details>summary{list-style:none;cursor:pointer;position:relative;padding-inline-end:18px}
.payment-summary>details>summary::-webkit-details-marker{display:none}
.payment-summary>details>summary::after{content:"▾";position:absolute;inset-inline-end:0;inset-block-start:0;color:#7d93a5;font-size:12px}
.payment-summary>details[open]>summary::after{content:"▴"}
.payment-summary>details:not([open]) small{display:none}
.payment-summary>details[open] small{margin-block-start:4px;overflow-wrap:anywhere}
.payment-group{margin-block-start:16px;padding-block-start:13px;border-block-start:1px solid #b9c4ce}
.payment-group:first-of-type{margin-block-start:0;padding-block-start:0;border-block-start:0}
.payment-group h3{display:flex;align-items:center;gap:7px;font-size:14.5px;margin:0 0 5px;color:#1b3f56}
.payment-group h3::before{content:"";flex:none;width:8px;height:8px;border-radius:50%;background:#b07d2a}
.payment-group.payment-later h3{color:#44617a}
.payment-group.payment-later h3::before{background:#7d93a5}
.payment-note,.payment-empty{font-size:12px;color:#5d7484;margin:0 0 4px;line-height:1.7}
.payment-empty:empty{display:none}
.payment-summary strong{display:block;margin-block-start:2px;font-size:19px;line-height:1.3;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;color:#12324a}
.payment-summary>details strong{color:#14554c}
.payment-summary small,.payment-state{font-size:12px}
.payment-summary small{display:block;color:#5d7484;line-height:1.3}
/* A failure used to land as bare text between the tiles and the list, where it read as a caption.
   It is a notice, so it looks like one. */
.payment-state{margin:0 0 11px;padding:9px 11px;border:1px solid #efd9b4;border-radius:10px;background:#fdf5e7;color:#7a4e12;line-height:1.65}
.payment-state:empty{display:none}
#paymentPriorities ol{list-style:none;padding:0;margin:0}
#paymentPriorities li{display:grid;grid-template-columns:25px minmax(0,1fr) auto auto 36px;align-items:center;gap:6px;padding:8px 0;border-block-start:1px solid #e0e9ef}
#paymentPriorities li div{overflow-wrap:anywhere}
#paymentPriorities li small{display:block;color:#4d6675}
.payment-number{display:grid;place-items:center;border-radius:50%;width:25px;height:25px;background:#e5eff6;color:#30536a;font-weight:700}
.payment-later .payment-number{background:#eef3f7;color:#4a6779}
#paymentPriorities .payment-move{padding:0 9px;min-height:32px;border-radius:9px;border-color:#cedee7;background:#f0f6fa;color:#294a60;font-size:12px;white-space:nowrap}
#paymentPriorities .payment-remove{padding:0;min-height:36px;border-color:transparent;background:transparent;color:#4d6675;font-size:20px}
/* A payment recorded without an amount: a light, legible dash that opens a dinar field in place. */
#paymentPriorities .payment-amount-add{padding:0 10px;min-height:32px;border-radius:9px;border:1px dashed #c3d6e2;background:#f7fbfd;color:#2b566e;font-size:15px;font-weight:700}
#paymentPriorities .payment-amount-field{width:86px;min-height:32px;padding:0 8px;border-radius:9px;border:1px solid #9fc0d2;background:#fff;color:#12324a;font:700 15px/1.3 inherit;font-variant-numeric:tabular-nums;text-align:center}
#paymentPriorities .payment-order{display:flex;gap:5px;margin-top:4px}
#paymentPriorities .payment-order button{min-width:32px;min-height:28px;padding:1px 5px;background:#f2f7fa;border-color:#d4e4ed;color:#294a60}
#paymentPriorities .payment-order button:disabled{opacity:.35}
.fa-mobile-shell #assistantFeed{order:0;flex:1;min-height:70px;padding:14px 14px 6px;overscroll-behavior:contain}
.fa-mobile-shell #assistantFeed #conversation{padding:0}
.fa-mobile-shell .quick{margin:0}
@media(max-width:820px){
 #paymentPriorities .payment-remove{min-height:44px}
 #paymentPriorities .payment-move{min-height:40px;padding:0 8px}
 #paymentPriorities .payment-amount-add,#paymentPriorities .payment-amount-field{min-height:40px}
 #paymentPriorities li{grid-template-columns:25px minmax(0,1fr) auto auto 32px;gap:5px}
}

#assistantFeed:not([data-mode="cash"]) #conversation [data-mode="cash"],
#assistantFeed[data-mode="cash"] #conversation .message:not([data-mode="cash"]){display:none}
#cashQuickReport{padding:13px;border:1px solid #d9e5ec;border-radius:14px;background:#fff;color:#1b3545;color-scheme:light}
#cashQuickReport h2,#cashQuickReport h3{font-size:16px;margin:0 0 8px}
#cashQuickReport [data-cash-status]:empty{display:none}
/* Four periods sit as a tidy 2×2 on a phone rather than wrapping one button onto its own line. */
.cash-chart-ranges{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-block-end:10px}
@media(min-width:520px){.cash-chart-ranges{grid-template-columns:repeat(4,minmax(0,1fr))}}
#cashQuickReport .cash-chart-ranges button{min-height:44px;padding:0 8px;background:#f3f7fa;border-color:#d3dfe8;color:#21475b;white-space:nowrap}
#cashQuickReport .cash-chart-ranges button[aria-pressed="true"]{background:#22554f;border-color:var(--p-line-22554f,#22554f);color:#fff}
.cash-chart-period,.cash-chart-opening{color:#506775;font-size:12px}
.cash-chart-period{text-align:right}
/* 9 Nov 2026 — the card is now the same five lines as the Cash Management summary, in the same
   order: three head figures in large type, and the inflow split one step smaller beneath the
   first. The old three-tile row and the five-bar breakdown are gone with the markup that used
   them; every line here opens the same evidence tree, so no figure is repeated in two places. */
.cash-quick-lines{display:grid;gap:2px}
#cashQuickReport .cash-quick-row{display:flex;align-items:baseline;justify-content:space-between;gap:0 12px;width:100%;min-height:42px;padding:7px 9px;text-align:start;border-color:transparent;background:transparent;color:#254457;border-radius:9px}
#cashQuickReport .cash-quick-row:hover{background:#f2f7fa}
.cash-quick-row span{font-size:13px;min-width:0}
.cash-quick-row strong{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:15px}
#cashQuickReport .cash-quick-row.head{font-weight:700}
#cashQuickReport .cash-quick-row.head span{font-size:14px}
#cashQuickReport .cash-quick-row.head strong{font-size:21px}
#cashQuickReport .cash-quick-row.in{background:#dcf4ed;color:#0e594e}
#cashQuickReport .cash-quick-row.out{background:#ffefdf;color:#753f17}
#cashQuickReport .cash-quick-row.balance{background:#ede8ff;color:#4c3783}
.cash-quick-split{display:grid;gap:1px;margin:3px 0;padding-inline-start:11px;border-inline-start:2px solid #dde7ee}
#cashQuickReport .cash-quick-split .cash-quick-row{min-height:36px;padding:5px 9px}
#cashQuickReport .cash-quick-row.mine strong{color:#1c7a57}
#cashQuickReport .cash-quick-row.hotels strong{color:#a8394c}
#cashQuickReport .cash-quick-row.other strong{color:#6b4ea8}
#cashQuickReport .cash-quick-row.deep span{font-size:11px;color:#5d7484;padding-inline-start:13px;position:relative}
#cashQuickReport .cash-quick-row.deep span::before{content:"·";position:absolute;inset-inline-start:3px;font-weight:900;color:#8aa2b1}
#cashQuickReport .cash-quick-row.deep strong{font-size:13px;color:#3f7d63}
.cash-quick-note{color:#7a5a24;background:#fdf4e4;border-radius:9px;padding:8px 10px;font-size:11px;line-height:1.7;margin-block-start:8px}

#paymentPriorities:not([hidden]){display:flex;flex-direction:column}
.chat[data-payment-view="list"] #paymentPriorities .payment-speak{margin:12px 0 0}
/* Each payment is its own card with a border, so the rows never run into one another; the number
   badge carries the section's colour (amber for critical, grey for later). */
#paymentPriorities ol{display:grid;gap:8px}
#paymentPriorities li{padding:10px 10px;border:1px solid #dbe6ed;border-radius:12px;background:#fbfdfe;border-inline-start:3px solid #e2b874}
#paymentPriorities .payment-later li{border-inline-start-color:#b6c4cf;background:#fff}
.payment-number{background:#fbecd2;color:#8a5a12;border:1px solid #ecd2a6}
.payment-later .payment-number{background:#eef3f7;color:#4a6779;border-color:#d6e1e9}

.payment-summary>.payment-expected-total>strong{color:#30557f}
.payment-group.payment-expected h3{color:#3c5f8a}
.payment-group.payment-expected h3::before{background:#5a7fb0;box-shadow:0 0 0 2px #dce7f6}
.payment-expected-note{font-size:11.5px;color:#64788f;margin:0 0 8px;line-height:1.7}
.payment-expected-add{
 display:inline-block;border:1px dashed #a9c0da;background:#f7faff;color:#30557f;
 font:650 12.5px/1 inherit;padding:9px 13px;border-radius:11px;cursor:pointer;margin-block-end:8px;
}
.payment-expected-add:hover{background:#eef4fc}
.payment-expected-form{
 display:grid;gap:8px;margin-block-end:10px;padding:11px;
 border:1px solid #dbe6ed;border-radius:12px;background:#fbfdff;
}
.payment-expected-form input{
 font:inherit;font-size:14px;padding:9px 11px;border:1px solid #cfdcea;border-radius:10px;
 background:#fff;color:#1b3545;min-width:0;
}
.payment-expected-form input:focus{outline:none;border-color:#7fa3cc;box-shadow:0 0 0 2px #e4edf9}
.payment-expected-actions{display:flex;gap:8px}
.payment-expected-actions button{
 font:650 13px/1 inherit;padding:10px 14px;border-radius:10px;cursor:pointer;
 border:1px solid #5a7fb0;background:#5a7fb0;color:#fff;
}
.payment-expected-actions button.ghost{background:#fff;color:#4d6676;border-color:#cfdcea}
.payment-expected-state{font-size:12px;color:#64788f;margin:0;min-height:16px}

@media (max-width:700px){
 .payment-summary{--payment-card-height:86px;gap:6px;margin-block-end:10px}
 .payment-summary>*{padding:8px 11px;border-radius:10px}
 .payment-summary summary,.payment-summary>div>span,.payment-summary>button>span{font-size:11px}
 .payment-summary strong{font-size:15.5px;margin-block-start:1px}
 .payment-summary small,.payment-state{font-size:10.5px}
 .payment-summary>button{padding-inline-end:11px}
 .payment-summary>details>summary{padding-inline-end:14px}
}
