.sav-main { display: grid; gap: 18px; padding-top: 26px; padding-bottom: 48px; }
.sav-heading, .sav-panel { border: 1px solid #dbe5f2; background: #fff; box-shadow: 0 12px 34px rgba(20, 42, 78, .06); }
.sav-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; border-radius: 18px; }
.sav-identity { display: flex; align-items: center; gap: 16px; }
.sav-monogram { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 15px; color: #fff; background: #cb2d8c; font-weight: 900; font-size: 15px; }
.sav-heading h1, .sav-panel h2 { margin: 0; color: #17233b; }
.sav-heading h1 { font-size: clamp(26px, 3vw, 38px); }
.sav-heading p, .sav-panel p { margin: 4px 0 0; color: #61708b; }
.sav-eyebrow, .sav-panel header > p, .sav-form-heading > div > p { color: #cb2d8c !important; font-size: 11px; font-weight: 900; letter-spacing: .11em; }
.sav-heading-links { display: flex; flex-wrap: wrap; gap: 9px; }
.sav-heading-links a, .sav-secondary { border: 1px solid #cbd8ea; border-radius: 10px; padding: 10px 14px; color: #30425f; background: #fff; font-weight: 800; text-decoration: none; cursor: pointer; }
.sav-status { margin: 0; padding: 12px 15px; border-radius: 10px; color: #a22172; background: #fff0f8; font-weight: 800; }
.sav-status[data-tone="error"] { color: #b42318; background: #fff1f0; }
.sav-status[data-tone="success"] { color: #087443; background: #ecfdf3; }
.sav-panel { position: relative; padding: 22px; border-radius: 16px; }
.sav-panel-body { display: grid; gap: 18px; }
.sav-step { position: absolute; top: 20px; right: 22px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #cb2d8c; background: #fff0f8; font-weight: 950; }
.sav-search-field, .sav-form-grid label { display: grid; gap: 7px; color: #43516b; font-size: 12px; font-weight: 850; }
.sav-search-field input, .sav-form-grid input, .sav-form-grid select, .sav-form-grid textarea { width: 100%; border: 1px solid #cad7e8; border-radius: 10px; padding: 11px 12px; color: #17233b; background: #fff; font: inherit; }
.sav-search-field input { min-height: 50px; font-size: 16px; }
.sav-form-grid textarea { min-height: 110px; resize: vertical; }
.sav-file-field input[type="file"] { padding: 9px; background: #fff; }
.sav-file-field small { color: #64748b; font-size: 11px; font-weight: 600; line-height: 1.4; }
.sav-refund-destination { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; align-items: end; padding: 15px; border: 1px solid #efc0dc; border-radius: 12px; background: #f8fbff; }
.sav-refund-destination > strong, .sav-refund-destination > p { grid-column: 1 / -1; }
.sav-refund-destination > strong { color: #17233b; font-size: 13px; }
.sav-refund-destination > p { margin: -5px 0 2px; font-size: 12px; }
.sav-choice-separator { align-self: center; color: #64748b; font-size: 11px; font-weight: 950; }
.sav-client-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(235px, 1fr)); gap: 10px; max-height: 360px; overflow: auto; }
.sav-client-results button { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 2px 10px; align-items: center; min-width: 0; border: 1px solid #d9e3f1; border-radius: 12px; padding: 12px; text-align: left; background: #fbfdff; cursor: pointer; }
.sav-client-results button:hover, .sav-client-results button:focus-visible { border-color: #cb2d8c; background: #f2f6ff; }
.sav-client-results button > span { grid-row: 1 / 3; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; color: #fff; background: #cb2d8c; font-weight: 900; }
.sav-client-results strong, .sav-client-results small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sav-client-results strong { color: #17233b; }
.sav-client-results small { color: #70809a; }
.sav-workspace { display: grid; gap: 18px; }
.sav-selected-client { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.sav-client-avatar { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; color: #fff; background: #142c69; font-size: 20px; font-weight: 950; }
.sav-selected-client small { color: #cb2d8c; font-weight: 900; letter-spacing: .08em; }
.sav-action-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.sav-action-grid button { display: grid; gap: 8px; min-height: 168px; border: 1px solid #d4dfed; border-radius: 14px; padding: 18px; text-align: left; background: #fbfdff; cursor: pointer; }
.sav-action-grid button:hover, .sav-action-grid button[aria-pressed="true"] { border-color: #cb2d8c; box-shadow: 0 10px 26px rgba(37, 99, 235, .12); }
.sav-action-grid strong { color: #17233b; font-size: 17px; }
.sav-action-grid small { color: #68778f; line-height: 1.45; }
.sav-action-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: #fff; background: #cb2d8c; font-size: 21px; font-weight: 900; }
.sav-form-panel { border-color: #9ebcff; scroll-margin-top: 90px; }
.sav-form-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.sav-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.sav-wide { grid-column: 1 / -1; }
.sav-form-grid select[size] { min-height: 210px; padding: 6px; }
.sav-form-grid select[size] option { padding: 8px; border-radius: 6px; }
.sav-submit { margin-top: 18px; border: 0; border-radius: 11px; padding: 13px 18px; color: #fff; background: #cb2d8c; font-weight: 900; cursor: pointer; }
.sav-submit:disabled { opacity: .55; cursor: wait; }
.sav-warning { padding: 12px 14px; border-left: 4px solid #d97706; color: #8a4b08 !important; background: #fff8e7; }
.sav-history header { margin-bottom: 14px; }
#savHistoryList { display: grid; gap: 10px; }
#savHistoryList article { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 11px; border: 1px solid #e0e7f0; border-radius: 11px; padding: 12px; }
#savHistoryList article > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; color: #fff; background: #cb2d8c; font-weight: 900; }
#savHistoryList article div { display: grid; gap: 3px; }
#savHistoryList strong { color: #17233b; }
#savHistoryList small, #savHistoryList p { color: #6b7890; }
#savHistoryList b { color: #b42318; }
.sav-empty { grid-column: 1 / -1; padding: 20px; border: 1px dashed #cbd6e5; border-radius: 11px; text-align: center; color: #6d7b92 !important; background: #fafcff; }
@media (max-width: 900px) { .sav-heading { align-items: flex-start; flex-direction: column; } .sav-action-grid { grid-template-columns: 1fr; } }
@media (max-width: 650px) { .sav-main { padding-inline: 12px; } .sav-heading, .sav-panel { padding: 17px; } .sav-selected-client { grid-template-columns: auto 1fr; } .sav-selected-client .sav-secondary { grid-column: 1 / -1; } .sav-form-grid { grid-template-columns: 1fr; } .sav-wide { grid-column: auto; } .sav-refund-destination { grid-template-columns: 1fr; } .sav-refund-destination > strong, .sav-refund-destination > p { grid-column: auto; } .sav-choice-separator { justify-self:center; } }
