.bill-card-att .ui-card-body{display:flex;flex-direction:column;gap:10px;}
.bill-pkg{font-size:14px;font-weight:700;padding:10px 12px;border-radius:12px;background:var(--accent-soft);}
.bill-form{display:flex;flex-direction:column;gap:10px;}
.bill-form input[type=date],.bill-form input[type=text]{width:100%;min-height:44px;border:1px solid var(--border);border-radius:12px;padding:0 12px;font:inherit;font-size:14px;background:var(--surface);color:var(--text);box-sizing:border-box;}
.bill-seg{display:flex;gap:8px;flex-wrap:wrap;}
.bill-seg button{flex:1;min-width:80px;min-height:40px;border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:999px;font:inherit;font-size:13px;cursor:pointer;padding:0 10px;}
.bill-seg button[aria-pressed=true]{background:var(--accent-soft);border-color:var(--accent);font-weight:700;}
.bill-save{min-height:44px;border-radius:12px;border:0;background:var(--accent);color:var(--accent-text,#fff);font:inherit;font-weight:700;cursor:pointer;padding:0 16px;}
.bill-cancel{min-height:40px;border-radius:12px;border:1px solid var(--border);background:var(--surface);color:var(--text);font:inherit;cursor:pointer;}
.bill-note{font-size:12.5px;color:var(--text-dim);}
.bill-err{font-size:13px;color:#b3261e;}
.bill-err:empty{display:none;}
.bill-list{display:flex;flex-direction:column;}
.bill-row{display:flex;align-items:center;gap:8px;padding:10px 0;border-top:1px solid var(--border);}
.bill-row .n{flex:1;min-width:0;font-weight:700;font-size:14px;}
.bill-row .s{display:block;font-weight:400;font-size:12px;color:var(--text-dim);}
.bill-row>button{min-height:40px;border-radius:10px;border:1px solid var(--accent);background:var(--accent-soft);color:var(--text);font:inherit;font-size:13px;font-weight:700;padding:0 12px;cursor:pointer;}
.bill-row>button.bill-ic{min-width:40px;padding:0;border:1px solid var(--border);background:var(--surface);font-weight:400;}
.bill-chip{font-size:12px;padding:4px 10px;border-radius:999px;background:var(--accent-soft);white-space:nowrap;}
.bill-chip.absent{background:#fde8e6;color:#8a1c14;}
.bill-chip.cancelled{background:#eceeed;color:#4b5450;}
.bill-today{display:flex;flex-direction:column;gap:12px;margin:0 0 12px;}
.bill-today[hidden]{display:none;}
.bill-card{border:1px solid var(--border);border-radius:16px;background:var(--surface);overflow:hidden;}
.bill-card>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px;cursor:pointer;list-style:none;font-weight:700;font-size:15px;}
.bill-card>summary::-webkit-details-marker{display:none;}
.bill-badge{font-size:13px;padding:3px 10px;border-radius:999px;background:var(--accent-soft);font-weight:700;}
.bill-badge.warn{background:#fff1d6;color:#7a4b00;}
.bill-body{padding:0 14px 14px;}
.bill-body h4{margin:10px 0 0;font-size:13px;color:var(--text-dim);}
.bill-body .bill-row:first-of-type{border-top:0;}
.bill-empty{font-size:13px;color:var(--text-dim);padding:6px 0;}
.bill-nav{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px;font-weight:700;}
.bill-nav button{width:40px;height:40px;border-radius:10px;border:1px solid var(--border);background:var(--surface);color:var(--text);font-size:18px;cursor:pointer;}
.bill-total{font-size:26px;font-weight:800;}
.bill-mrow{display:flex;justify-content:space-between;font-size:14px;margin-top:10px;}
.bill-bar{height:8px;border-radius:99px;background:var(--accent-soft);overflow:hidden;margin-top:4px;}
.bill-bar i{display:block;height:100%;background:var(--accent);border-radius:99px;}
.bill-out{margin-top:14px;padding-top:10px;border-top:1px solid var(--border);font-size:13px;color:var(--text-dim);}
#csCard .bill-mrow{margin-top:8px;}
