.ss-root{max-width:100%;direction:rtl;color:inherit}.ss-root *{box-sizing:border-box}.ss-root button,.ss-root input,.ss-root select,.ss-root textarea{font:inherit}.ss-root button{cursor:pointer;border:1px solid #d8d1e9;border-radius:10px;padding:10px 16px;background:var(--surface,#fff);color:inherit}.ss-root button:disabled{opacity:.65;cursor:default}.ss-card{background:var(--surface,#fff);border:1px solid #e5e0ef;border-radius:18px;padding:clamp(15px,3vw,30px);margin:18px 0}.ss-root label{display:block;margin:12px 0}.ss-root select,.ss-root textarea,.ss-root input:not([type=checkbox]){display:block;width:100%;padding:12px;border:1px solid #ddd5ed;border-radius:10px;background:var(--surface,#fff);color:inherit;margin-top:6px}.ss-root input[type=checkbox]{width:18px;height:18px;vertical-align:middle}.ss-root textarea{min-height:80px}.ss-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.ss-actions h3{flex:1}.ss-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px}.ss-stats article{background:var(--surface,#fff);border:1px solid #e5e0ef;border-radius:14px;padding:16px}.ss-stats strong{display:block;font-size:25px;margin-top:12px}.ss-root progress{width:100%;height:10px;accent-color:var(--primary,#6123d9)}.ss-scores{display:grid;grid-template-columns:repeat(auto-fit,minmax(42px,1fr));gap:6px;direction:ltr;margin-top:25px}.ss-scores button{padding:14px 4px;font-weight:bold;min-width:0}.ss-scores button[aria-pressed=true]{background:var(--primary,#6123d9);color:white;border-color:var(--primary,#6123d9)}.ss-scale{display:flex;justify-content:space-between;direction:ltr;font-size:12px;margin:8px 0 22px}.ss-reasons{border:1px solid #e7b5cc;border-radius:14px;padding:15px;margin:20px 0}.ss-history{display:block;width:100%;text-align:right;margin:10px 0;white-space:normal}.ss-target{padding:12px;background:#f3eefc;color:#40235f;border-radius:12px}.ss-root [role=status]{min-height:24px;color:#5936a1}.ss-root button:focus-visible{outline:3px solid #ab88ef;outline-offset:2px}@media(max-width:480px){.ss-scores{grid-template-columns:repeat(6,minmax(0,1fr))}.ss-card h2{font-size:19px;line-height:1.9}.ss-actions button{flex:1}.ss-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Focused customer survey layout. */
.ss-customer{max-width:760px;margin-inline:auto}.ss-customer .ss-card{box-shadow:0 8px 30px #29145406}.ss-customer h2{font-size:clamp(20px,3vw,26px);line-height:1.8;margin:12px 0}.ss-customer p{line-height:1.9}.ss-customer .ss-eyebrow{font-size:13px;color:var(--primary,#6123d9)}.ss-customer [data-start],.ss-customer [data-next],.ss-customer [data-complete],.ss-customer [data-return]{background:var(--primary,#6123d9);border-color:var(--primary,#6123d9);color:#fff;font-weight:700;min-height:48px}.ss-customer [data-start]{width:100%;margin-top:16px}.ss-customer [data-list]{border:0;background:transparent;font-size:13px}.ss-customer .ss-navigation{justify-content:space-between;margin-top:16px}.ss-customer [data-next],.ss-customer [data-complete]{margin-inline-start:auto;min-width:150px}.ss-customer [data-ss-msg]:empty{display:none}.ss-customer [data-ss-msg]:not(:empty){padding:12px;border-radius:10px;background:#f5efff}.ss-customer .ss-history-list summary{cursor:pointer;font-weight:600;min-height:32px}.ss-customer .ss-history{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:48px}.ss-customer .ss-success{text-align:center;padding-block:48px;outline:none}.ss-success-icon{display:inline-grid;place-items:center;width:64px;height:64px;border-radius:50%;background:#e9f8f0;color:#238153;font-size:32px}.ss-customer [data-return]{margin-top:18px}.ss-customer [data-score]{min-height:48px}.ss-customer textarea{resize:vertical}.ss-customer .ss-scale span{direction:rtl}
@media(max-width:480px){.ss-customer .ss-scores{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.ss-customer .ss-actions h3{flex-basis:100%;margin:0}.ss-customer [data-list]{flex:0 0 auto;padding-inline:0}.ss-customer .ss-navigation button{min-width:0}.ss-customer .ss-card{border-radius:16px;margin:12px 0}.ss-customer .ss-success{padding-block:32px}}

.purchase-search{max-width:560px;margin:24px auto 30px;width:100%}.purchase-search label{display:block;text-align:center;font-weight:600;margin-bottom:10px}.purchase-search input{width:100%;min-height:52px;padding:12px 18px;border:1px solid var(--line,#ddd5ed);border-radius:16px;background:var(--surface,#fff);color:inherit;font:inherit;box-shadow:0 4px 16px #29145405}.purchase-search input:focus{outline:2px solid #a795df;outline-offset:2px}.purchase-card{margin:18px 0;padding:24px!important}.purchase-header,.purchase-footer,.ss-invoice-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.purchase-caption{font-size:12px;color:var(--muted,#697080)}.purchase-header h2{margin:4px 0;font-size:20px;overflow-wrap:anywhere}.purchase-status,.ss-status{display:inline-flex;align-items:center;gap:6px;padding:6px 13px;border-radius:999px;font-size:12px;font-weight:700;white-space:nowrap}.is-completed,.ss-status-done{background:#e6f5ed;color:#216443}.is-cancelled{background:#fcebed;color:#a13748}.purchase-meta{display:flex;gap:16px 32px;flex-wrap:wrap;padding:16px 0;color:var(--muted,#697080);font-size:13px}.purchase-meta b{color:var(--ink,#25253b);font-weight:500;margin-inline-start:8px}.purchase-items{border:1px solid var(--line,#e6e5eb);border-radius:14px;overflow:hidden;margin:4px 0 20px}.purchase-items-heading,.purchase-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;padding:14px 16px;align-items:center}.purchase-items-heading{background:var(--bg,#f5f4f7);font-size:12px;color:var(--muted,#697080)}.purchase-item+.purchase-item{border-top:1px solid var(--line,#e6e5eb)}.purchase-item span{overflow-wrap:anywhere;line-height:1.9}.purchase-item strong{font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:600}.purchase-footer>div>span{display:block;font-size:12px;color:var(--muted,#697080)}.purchase-footer strong{display:block;font-size:22px;margin-top:4px}.purchase-footer small{font-size:12px;font-weight:400}.ss-customer .ss-invoice-done{border-color:#b8ddc9;background:linear-gradient(110deg,#f0faf4,var(--surface,#fff));border-inline-start:4px solid #499870}.ss-customer .ss-invoice-pending{border-color:#ead8b0;border-inline-start:4px solid #d0a044}.ss-status-pending{background:#fff2d6;color:#845914}.ss-invoice-heading h3{margin:5px 0;overflow-wrap:anywhere}.ss-invoice-meta{font-size:13px;color:var(--muted,#697080)}.ss-customer .ss-view-response{color:#216443;border-color:#9dcdb1;background:var(--surface,#fff)}.ss-customer .ss-resume{background:var(--primary,#6123d9);color:white;min-height:48px}.ss-customer .ss-invoice [data-start]{width:auto}.ss-customer .ss-invoice [data-ss-msg]{margin-bottom:0}
@media(max-width:480px){.purchase-card{padding:16px!important}.purchase-items-heading,.purchase-item{padding:12px;gap:12px}.purchase-meta{gap:8px 20px}.purchase-footer{align-items:flex-start}.purchase-footer .btn{width:100%;text-align:center}.purchase-footer strong{font-size:20px}.ss-customer .ss-invoice [data-start],.ss-customer .ss-invoice [data-open]{width:100%}.ss-status{font-size:11px;padding:6px 10px}}

.ss-answer-list{margin:24px 0}.ss-answer{padding:22px 0;border-top:1px solid var(--line,#e6e5eb)}.ss-answer-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.ss-answer-heading h3{margin:0;font-size:16px;line-height:1.9}.ss-answer-score{flex-shrink:0;padding:6px 12px;border-radius:10px;background:#f0ebfa;color:#513788;font-weight:700;font-size:13px}.ss-answer-target{color:var(--muted,#697080);font-size:13px}.ss-answer-note{white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0}.ss-answer-reasons,.ss-answer-notes{font-size:14px;margin-top:14px;line-height:1.9}.ss-answer-reasons ul{margin:6px 0;padding-inline-start:22px}.ss-answer-notes{background:var(--bg,#f5f4f7);padding:12px 16px;border-radius:12px}.ss-answer-summary [data-summary-back]{min-height:48px}@media(max-width:480px){.ss-answer-heading{flex-direction:column;gap:8px}.ss-answer-summary [data-summary-back]{width:100%}}

.survey-incentive{display:flex;align-items:center;gap:16px;padding:20px 24px;border:1px solid #ded1f3;border-radius:16px;background:#f6f0ff;margin:18px auto;max-width:760px;color:#513880}.survey-incentive>span{flex-shrink:0}.survey-incentive svg{width:28px;height:28px}.survey-incentive p{font-size:13px;line-height:1.9;margin:5px 0 0}.mission-survey-responses{margin-top:18px;max-height:340px;overflow:auto}.mission-survey-responses a{display:flex;flex-direction:column;gap:5px;padding:14px 0;border-top:1px solid var(--line,#e6e5eb);text-decoration:none}.mission-survey-responses small{color:var(--muted,#697080)}.mission-survey-responses b{font-size:12px;color:var(--primary,#6123d9)}.ss-customer .ss-earlier-response{display:block;width:100%;margin-top:12px;text-align:right;font-size:13px}.ss-answer-score{white-space:normal;overflow-wrap:anywhere;max-width:100%}
