/* Active Life: agent "My Sales" page (mobile first). */
.alc-portal--sales .alc-portal__card { padding: clamp(16px, 3vw, 30px); }
.alc-s { display: grid; gap: 22px; }
.alc-s h2 { font-size: 1.3rem; margin-bottom: .6em; }
.alc-s h3 { font-size: 1.05rem; margin: 18px 0 8px; }
.alc-s-msg { padding: 12px 16px; border-radius: 12px; font-weight: 700; margin-bottom: 16px; }
.alc-s-msg.is-ok { background: #e7f5ea; color: #1d6b2e; }
.alc-s-msg.is-err { background: #c0392b; color: #fff; }
.alc-s-note { background: #fff8e1; border: 1px solid #f3dc8f; border-radius: 12px; padding: 12px 14px; color: #5b4a12; }
.alc-s-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.alc-s-card { background: var(--tint); border: 1px solid #dcebd5; border-radius: 14px; padding: 12px 14px; }
.alc-s-card span { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.alc-s-card b { display: block; font-family: var(--head); font-size: 1.5rem; color: var(--navy); line-height: 1.2; margin: 2px 0; }
.alc-s-card small { color: var(--muted); font-size: .82rem; }
.alc-s-bonus { background: var(--navy); color: #e3ecff; border-radius: 16px; padding: 16px 18px; }
.alc-s-bonus__txt strong { display: block; color: #fff; font-family: var(--head); font-size: 1.1rem; }
.alc-s-bonus__txt span { display: block; margin: 2px 0 10px; }
.alc-s-bonus small { color: #c9d7f5; }
.alc-s-bar { height: 12px; background: rgba(255, 255, 255, .18); border-radius: 99px; overflow: hidden; margin-bottom: 8px; }
.alc-s-bar i { display: block; height: 100%; background: var(--yellow); border-radius: 99px; }
.alc-s-sec { border-top: 1px solid var(--line); padding-top: 18px; }
.alc-s-form { display: grid; gap: 12px; }
.alc-s-form label, .alc-s-pay label { display: grid; gap: 5px; font-weight: 700; color: var(--navy); font-size: .95rem; }
.alc-s-form small, .alc-s-pay small { font-weight: 400; color: var(--muted); }
.alc-s-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.alc-s input[type="text"], .alc-s input[type="tel"], .alc-s input[type="number"], .alc-s input[type="date"], .alc-s select { width: 100%; font: inherit; font-size: 16px; padding: 11px 12px; border: 2px solid var(--line); border-radius: 12px; background: #fbfcfe; color: var(--ink); }
.alc-s input:focus, .alc-s select:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(46, 158, 68, .15); }
.alc-s-total { margin: 0; font-size: 1.05rem; }
.alc-s-total b { font-family: var(--head); color: var(--green); font-size: 1.3rem; }
.alc-s-paid { border: 2px solid var(--line); border-radius: 14px; padding: 12px 14px; display: grid; gap: 8px; margin: 0; }
.alc-s-paid legend { font-weight: 800; color: var(--navy); padding: 0 6px; }
.alc-s-radio { display: flex !important; align-items: center; gap: 10px; font-weight: 600 !important; color: var(--ink) !important; }
.alc-s-radio input { width: 20px; height: 20px; accent-color: var(--green); }
.alc-s-payfields { display: grid; gap: 10px; }
.alc-s-payfields[hidden] { display: none; }
.alc-s-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.alc-s-cust { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; background: #fff; }
.alc-s-cust__top { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.alc-s-cust__meta { color: var(--muted); font-size: .88rem; margin: 2px 0 6px; }
.alc-s-cust__money { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .92rem; }
.alc-s-badge { font-size: .75rem; font-weight: 800; padding: 3px 10px; border-radius: 99px; white-space: nowrap; background: #eef1f5; color: var(--ink); }
.alc-s-badge--paid { background: #d1f0d9; color: #0a6b2b; }
.alc-s-badge--unpaid, .alc-s-badge--overdue { background: #fde2e1; color: #a01a14; }
.alc-s-badge--partly-paid { background: #fff3cd; color: #7a5a00; }
.alc-s-badge--awaiting-confirmation { background: #dbe9ff; color: #0b3d91; }
.alc-s-pay { margin-top: 8px; }
.alc-s-pay summary { cursor: pointer; font-weight: 800; color: var(--blue); }
.alc-s-pay form { display: grid; gap: 10px; margin-top: 10px; }
.alc-s-break { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 6px; }
.alc-s-break li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed var(--line); padding: 6px 0; }
.alc-s-inline { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 12px; }
.alc-s-inline input, .alc-s-inline select { flex: 1 1 160px; width: auto !important; }
.alc-s-tablewrap { overflow-x: auto; }
.alc-s-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.alc-s-table th, .alc-s-table td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.alc-s-table th { background: var(--tint); color: var(--navy); }
@media (min-width: 700px) {
	.alc-s-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.alc-s-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.alc-s-payfields { grid-template-columns: 1fr 1fr 1.4fr; }
}
