.arsil-user-card-button { cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.arsil-user-card-button:hover, .arsil-user-card-button:focus { transform: translateY(-2px); border-color: #52b9e8; box-shadow: 0 12px 28px rgba(23, 79, 55, .12); outline: none; }
.arsil-customer-modal { position: fixed; inset: 0; z-index: 100000; display: none; place-items: center; padding: 24px; background: rgba(19, 35, 52, .52); backdrop-filter: blur(3px); }
.arsil-customer-modal.show { display: grid; }
.arsil-customer-dialog { position: relative; width: min(760px, 100%); max-height: min(760px, calc(100vh - 48px)); overflow: auto; border: 1px solid #cce9d5; border-radius: 20px; padding: 34px; background: #fff; box-shadow: 0 26px 70px rgba(18, 49, 42, .26); color: #1b344d; }
.arsil-customer-dialog-head { display: flex; align-items: center; gap: 16px; padding-right: 40px; }
.arsil-customer-dialog h2 { margin: 4px 0; font-size: 28px; color: #1b344d; }
.arsil-customer-dialog h3 { margin: 0 0 10px; font-size: 15px; color: #1b344d; }
.arsil-customer-dialog p { margin: 0; color: #65788c; }
.arsil-modal-close { position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; border: 1px solid #d9e8df; border-radius: 9px; background: #fff; color: #587065; font-size: 24px; line-height: 1; cursor: pointer; }
.arsil-modal-close:hover { background: #effaf3; color: #168c40; }
.arsil-customer-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 28px 0; }
.arsil-customer-metrics span { min-height: 82px; display: flex; flex-direction: column; justify-content: center; padding: 12px 16px; border: 1px solid #d7eadc; border-radius: 12px; background: #fbfffc; color: #698074; font-size: 12px; }
.arsil-customer-metrics b { margin-bottom: 4px; color: #168c40; font-size: 25px; }
.arsil-customer-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.arsil-customer-columns section { min-height: 180px; padding: 18px; border: 1px solid #d7eadc; border-radius: 12px; background: #fbfffc; }
.arsil-customer-columns ul { min-height: 82px; margin: 0 0 12px; padding: 0; list-style: none; }
.arsil-customer-columns li { padding: 8px 0; border-bottom: 1px solid #e7f1ea; }
.arsil-customer-columns li:last-child { border: 0; }
.arsil-customer-columns li strong, .arsil-customer-columns li small { display: block; }
.arsil-customer-columns li small { margin-top: 3px; color: #718479; }
.arsil-customer-columns a { color: #168c40; font-weight: 700; text-decoration: none; }
.arsil-customer-consent { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; padding: 17px 18px; border-radius: 12px; background: #edf9f1; }
.arsil-customer-consent p { font-size: 13px; }
.arsil-switch { position: relative; flex: 0 0 auto; width: 48px; height: 27px; }
.arsil-switch input { position: absolute; opacity: 0; }
.arsil-switch span { position: absolute; inset: 0; border-radius: 20px; background: #aab8b0; cursor: pointer; transition: .2s; }
.arsil-switch span:before { content: ''; position: absolute; width: 21px; height: 21px; left: 3px; top: 3px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: .2s; }
.arsil-switch input:checked + span { background: #1f963f; }
.arsil-switch input:checked + span:before { transform: translateX(21px); }
.arsil-modal-loading { padding: 56px 30px; text-align: center; font-weight: 700; }
@media (max-width: 620px) { .arsil-customer-modal { padding: 12px; } .arsil-customer-dialog { padding: 24px 18px; } .arsil-customer-metrics, .arsil-customer-columns { grid-template-columns: 1fr; } .arsil-customer-columns section { min-height: auto; } }
