.application-card--encuestas { --app-accent: #0d9488; --app-soft: #f0fdfa; --app-ink: #0f766e; }
.applications-workspace.is-encuestas-open { overflow: hidden; grid-template-rows: minmax(0,1fr); padding: 0; gap: 0; }
.applications-workspace.is-encuestas-open .applications-hero,.applications-workspace.is-encuestas-open .applications-board { display: none; }
.sv-panel { height: 100%; min-height: 0; display: flex; flex-direction: column; background: #f5f8f7; color: #16352f; }
.sv-panel[hidden],.sv-dialog [hidden],.sv-public [hidden] { display: none !important; }
.sv-panel .recruiting-title-icon { color: #0f766e; border-color: #c6eee1; background: #ecfaf5; }
.sv-panel-body { padding: 24px; overflow: auto; flex: 1; }
.sv-admin { max-width: 1200px; margin: auto; }
.sv-panel .recruiting-head { background: white; border-bottom: 0; padding: 26px 28px 14px; position: relative; align-items: center; }
.sv-panel .recruiting-head-actions { margin: 28px 0 0; }
.sv-panel .recruiting-head-actions .sv-admin-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.sv-panel .recruiting-close-button { position: absolute; top: 14px; right: 18px; }
.sv-panel .recruiting-title-row h3 { font-size: 30px; letter-spacing: -.035em; line-height: 1.2; }
.sv-panel-body { background: #fcfefd; padding: 16px 28px 28px; }
.sv-admin--board { position: relative; max-width: none; }
.sv-admin--board .sv-admin-actions { justify-content: flex-end; margin-bottom: 22px; }
.sv-admin--board .sv-tabs { border: 0; border-bottom: 1px solid #e0ebe6; border-radius: 0; background: transparent; width: 100%; padding: 0; gap: 4px; margin-bottom: 22px; }
.sv-admin--board .sv-tabs button { padding: 14px 26px; border-bottom: 2px solid transparent; border-radius: 12px 12px 0 0; font-size: 15px; font-weight: 600; }
.sv-admin--board .sv-tabs button[aria-selected=true] { background: #e9f7f1; border-bottom-color: #078275; box-shadow: none; }
.sv-board-toolbar { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin: 0 0 24px; }
.sv-admin--board .sv-stats { display: flex; gap: 0; margin: 6px 0 20px; flex-wrap: wrap; }
.sv-admin--board .sv-stat { padding: 0 22px; border: 0; border-right: 1px solid #d5e5de; background: transparent; border-radius: 0; display: flex; align-items: baseline; gap: 8px; }
.sv-admin--board .sv-stat:first-child { padding-left: 8px; }
.sv-admin--board .sv-stat:last-child { border-right: 0; padding-right: 0; }
.sv-admin--board .sv-stat strong { margin: 0; font-size: 28px; font-weight: 700; letter-spacing: -.035em; }
.sv-admin--board .sv-stat span { font-size: 13px; color: #69857c; }
.sv-admin--board .sv-history-info { margin: 0; font-size: 11px; max-width: 620px; }
.sv-board-search { width: min(450px,45%); flex-shrink: 0; }
.sv-board-search-field { display: flex; align-items: center; padding-left: 14px; color: #6f8780; border: 1px solid #dbe7e2; border-radius: 9px; background: white; }
.sv-board-search-field input { border: 0; background: transparent; min-width: 0; padding: 12px; }
.sv-scope-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; justify-content: flex-end; }
.sv-scope-filters button { font: inherit; font-size: 12px; background: white; border: 1px solid #dfe9e5; border-radius: 10px; min-height: 36px; padding: 8px 14px; cursor: pointer; color: #69847d; }
.sv-scope-filters button[aria-pressed=true] { color: #007b6b; background: #eaf7f2; border-color: #5ba899; font-weight: 600; }
.sv-board-count { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.sv-board { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; align-items: stretch; }
.sv-board-column { border: 1px solid #e1ece7; border-radius: 12px; background: white; min-width: 0; height: clamp(280px,calc(100dvh - 410px),574px); display: flex; flex-direction: column; overflow: hidden; }
.sv-board-column>header { display: flex; align-items: center; gap: 14px; padding: 20px 18px; background: #f6faf8; border-radius: 12px 12px 0 0; flex-shrink: 0; }
.sv-board-column h4 { font-size: 16px; color: #21463e; margin: 0 0 6px; font-weight: 650; }
.sv-board-column h4 span { white-space: nowrap; }
.sv-board-column>header p { font-size: 12px; color: #738b80; line-height: 1.6; margin: 0; }
.sv-board-icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; background: #fff0d0; color: #986323; flex-shrink: 0; }
.sv-board-column--failed .sv-board-icon { background: #e8edef; color: #3e5a60; }
.sv-board-column--completed .sv-board-icon { background: #d7f1e8; color: #008675; }
.sv-board-column--other .sv-board-icon { background: #f0eff8; color: #6b6291; }
.sv-board-items { padding: 0 16px; min-height: 0; overflow-y: auto; flex: 1; }
.sv-board .sv-row { grid-template-columns: minmax(0,1fr) auto; gap: 8px 6px; padding: 20px 0; }
.sv-board .sv-row-person { gap: 12px; grid-column: 1/-1; }
.sv-board .sv-row strong { font-size: 14px; line-height: 1.5; }
.sv-board .sv-avatar { border-radius: 50%; width: 38px; height: 38px; }
.sv-board .sv-row-badges { padding-left: 50px; grid-column: 1; }
.sv-board .sv-row-badges:empty { display: none; }
.sv-board .sv-row-badges .sv-badge { border-radius: 20px; padding: 5px 10px; font-size: 10px; }
.sv-board .sv-row-date { padding-left: 50px; grid-column: 1; }
.sv-board .sv-row-date small { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.sv-board .sv-row-date strong { font-size: 13px; font-weight: 500; color: #6b827b; }
.sv-board .sv-row-actions { display: flex; justify-content: flex-end; grid-column: 2; grid-row: 2/span 2; align-self: center; padding-bottom: 0; }
.sv-board .sv-row-actions .sv-button { min-height: 38px; font-size: 12px; padding: 8px 10px; }
.sv-board .sv-row-date { padding-right: 0; }
.sv-board-empty { padding: 38px 12px; font-size: 13px; line-height: 1.7; color: #81958b; text-align: center; }
@media (max-width:1050px) { .sv-board-toolbar { flex-direction: column; gap: 16px; }.sv-board-search { width: 100%; }.sv-scope-filters { justify-content: flex-start; }.sv-board { grid-template-columns: repeat(2,minmax(0,1fr)); }.sv-board-column--completed { grid-column: 1/-1; } }
@media (max-width:640px) {
  .sv-panel .recruiting-head { padding: 20px 18px 12px; }.sv-panel .recruiting-title-row h3 { font-size: 27px; }
  .sv-panel .recruiting-head-actions { margin: 5px 0 0; width: 100%; }.sv-panel .recruiting-head-actions .sv-button { font-size: 11px; padding: 9px 12px; }
  .sv-admin--board .sv-admin-actions { justify-content: flex-start; gap: 6px; }.sv-admin--board .sv-admin-actions .sv-button { font-size: 11px; padding: 9px 12px; }
  .sv-admin--board .sv-tabs button { padding: 13px 15px; font-size: 13px; }.sv-admin--board .sv-stat { padding: 0 12px; gap: 5px; }.sv-admin--board .sv-stat:first-child { padding-left: 0; }.sv-admin--board .sv-stat strong { font-size: 23px; }.sv-admin--board .sv-stat span { font-size: 11px; }
  .sv-board { grid-template-columns: 1fr; }.sv-board-column--completed { grid-column: auto; }.sv-board-column { min-height: 0; height: auto; max-height: 70dvh; }.sv-board-column>header { padding: 16px; }.sv-board-empty { padding: 24px 12px; }.sv-board .sv-row-actions { grid-column: 2; }.sv-board .sv-row-date { display: block; }
  .sv-scope-filters button { min-height: 44px; }
  .sv-admin--board .sv-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
  .sv-admin--board .sv-stat { display: block; }
  .sv-admin--board .sv-stat span { margin-top: 5px; }
}
.sv-tabs { display: flex; gap: 6px; padding: 5px; border: 1px solid #e0e9e5; border-radius: 14px; background: #edf3f0; width: fit-content; margin-bottom: 22px; }
.sv-tabs button { border: 0; padding: 11px 17px; border-radius: 10px; font: inherit; color: #62766e; background: transparent; cursor: pointer; }
.sv-tabs button[aria-selected=true] { color: #116759; background: white; box-shadow: 0 2px 7px #183e3010; }
.sv-admin-toolbar { display: flex; align-items: center; gap: 12px; justify-content: space-between; margin: 20px 0; }
.sv-admin-toolbar p { margin: 0; color: #61766d; }
.sv-admin-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.sv-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.sv-stat { padding: 20px; border: 1px solid #e0e9e5; border-radius: 17px; background: white; }
.sv-stat span { display: block; font-size: 12px; color: #697d74; }
.sv-stat strong { display: block; font-size: 28px; font-weight: 650; margin-top: 5px; }
.sv-list { background: white; border: 1px solid #e0e9e5; border-radius: 18px; overflow: hidden; }
.sv-list-search { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid #eaf0ed; }
.sv-list-search input { max-width: 320px; }
.sv-row { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(100px,.65fr) minmax(100px,.6fr) auto; align-items: center; gap: 18px; padding: 16px 20px; border-bottom: 1px solid #edf2ef; }
.sv-row:last-child { border: 0; }
.sv-row-person { display: flex; gap: 12px; align-items: center; min-width: 0; }
.sv-row-person div { min-width: 0; }
.sv-row strong { font-size: 14px; display: block; overflow-wrap: anywhere; }
.sv-row small { color: #74867d; display: block; font-size: 12px; margin-top: 4px; overflow-wrap: anywhere; }
.sv-avatar { flex-shrink: 0; width: 38px; height: 38px; border-radius: 12px; background: #eff7f3; color: #32866b; display: grid; place-items: center; font-size: 12px; font-weight: 650; }
.sv-badge { display: inline-flex; font-size: 11px; padding: 6px 9px; border-radius: 7px; background: #f0f4f2; color: #62766e; width: fit-content; }
.sv-badge--sent,.sv-badge--sending { background: #eef5ff; color: #446fa4; }
.sv-badge--completed { background: #e7f7ef; color: #208461; }
.sv-badge--failed { background: #fff4e5; color: #ac732d; }
.sv-badge--test { background: #fff3d8; color: #8a641c; }
.sv-badge--history { background: #f0effb; color: #625294; }
.sv-history-info { font-size: 12px; line-height: 1.6; color: #74847c; margin: 0 0 18px; }
.sv-row-badges { display: flex; flex-wrap: wrap; gap: 5px; }
.sv-test-choice { display: flex; align-items: flex-start; gap: 12px; padding: 16px; margin: 18px 0; background: #fff8e9; border: 1px solid #eee1c5; border-radius: 12px; cursor: pointer; }
.sv-test-choice input { flex-shrink: 0; width: 18px; height: 18px; margin: 2px 0 0; accent-color: #168669; }
.sv-test-choice strong { display: block; font-size: 13px; }
.sv-test-choice small { display: block; font-size: 12px; line-height: 1.6; color: #796b50; margin-top: 4px; }
.sv-empty { padding: 45px 22px; text-align: center; color: #647970; }
.sv-empty strong { display: block; color: #284c40; margin-bottom: 7px; font-weight: 600; }
.sv-notice { padding: 12px 16px; background: #e9f7ef; border-radius: 12px; margin: 12px 0; color: #236c50; font-size: 13px; }
.sv-notice.is-error { background: #fff4e9; color: #925c2c; }
.sv-dialog { box-sizing: border-box; border: 1px solid #e0e9e5; border-radius: 24px; padding: 0; width: min(760px,calc(100% - 32px)); max-height: calc(100dvh - 40px); background: #f8faf9; color: #183b31; box-shadow: 0 24px 80px #142e352e; }
.sv-dialog::backdrop { background: #15372b55; backdrop-filter: blur(4px); }
.sv-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 26px; border-bottom: 1px solid #e6ede9; position: sticky; top: 0; background: #f8faf9; z-index: 1; }
.sv-dialog-head h3 { font-size: 16px; margin: 0; }
.sv-dialog-head button { border: 0; background: #eef5f2; color: #42645b; border-radius: 50%; width: 38px; height: 38px; font-size: 14px; cursor: pointer; flex-shrink: 0; }
.sv-dialog-body { padding: 26px; }
.sv-dialog-body>p:first-child { color: #647d73; line-height: 1.7; margin-top: 0; }
.sv-dialog-body>label[for=sv-people-search] { display: block; font-size: 14px; font-weight: 600; margin: 24px 0 9px; }
.sv-invitation-name { font-size: 28px; font-weight: 650; letter-spacing: -.03em; margin: 8px 0 16px; overflow-wrap: anywhere; }
.sv-invitation-help { font-size: 15px; line-height: 1.7; color: #647d73; margin-top: 22px; }
.sv-dialog--preview .sv-intro h1 { font-size: 32px; }
.sv-dialog--preview .sv-question { border: 0; border-bottom: 1px solid #e2ece7; border-radius: 0; box-shadow: none; padding: 20px 0; background: transparent; }
.sv-dialog--preview .sv-question-stack { gap: 0; }
.sv-dialog--reader { width: min(1010px,calc(100% - 48px)); height: min(874px,calc(100dvh - 64px)); max-height: calc(100dvh - 64px); overflow: hidden; background: #fff; border-radius: 17px; }
.sv-dialog--reader .sv-dialog-head { position: absolute; top: 18px; right: 18px; padding: 0; border: 0; background: transparent; z-index: 2; }
.sv-dialog--reader .sv-dialog-head h3 { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sv-dialog--reader .sv-dialog-body { height: 100%; padding: 0; }
.sv-reader { display: grid; grid-template-columns: 247px minmax(0,1fr); height: 100%; }
.sv-reader-sidebar { padding: 30px 26px 24px; background: #f4f9f7; border-right: 1px solid #e9f0ed; display: flex; flex-direction: column; overflow-y: auto; min-height: 0; }
.sv-reader-logo { width: 124px; height: 53px; object-fit: contain; object-position: left center; margin-bottom: 22px; }
.sv-reader-person>p { margin: 0 0 10px; font-size: 14px; line-height: 1.5; color: #647d78; }
.sv-reader-person h3 { margin: 0 0 14px; font-size: 24px; font-weight: 700; line-height: 1.25; letter-spacing: -.035em; overflow-wrap: anywhere; color: #123c36; }
.sv-reader-author { display: block; font-size: 11px; color: #648177; margin-bottom: 6px; }
.sv-reader-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.sv-reader .sv-badge { border-radius: 20px; padding: 8px 12px; font-size: 12px; font-weight: 600; }
.sv-reader-person .sv-reader-date { font-size: 13px; margin-bottom: 0; }
.sv-reader-nav { display: grid; gap: 5px; margin: 28px -16px 24px; border-top: 1px solid #dce8e2; padding-top: 18px; }
.sv-reader-nav button { display: flex; align-items: center; gap: 15px; background: transparent; border: 0; border-left: 4px solid transparent; border-radius: 7px; color: #375f65; min-height: 48px; text-align: left; padding: 11px 18px; font: inherit; font-size: 14px; cursor: pointer; }
.sv-reader-nav button i { font-size: 20px; width: 21px; flex-shrink: 0; }
.sv-reader-nav button[aria-current=page] { background: #e0f3ec; border-left-color: #078275; color: #006b5e; font-weight: 650; }
.sv-reader-nav button:hover { background: #e9f4ef; }
.sv-reader-source { margin: 0 0 24px; color: #627d74; font-size: 11px; line-height: 1.65; overflow-wrap: anywhere; }
.sv-reader-source strong { font-weight: 600; color: #45695f; }
.sv-reader-source p { margin: 7px 0; }
.sv-reader-source a { color: #007868; text-decoration: none; }
.sv-reader-source a:hover { text-decoration: underline; }
.sv-reader-content { min-width: 0; overflow-y: auto; padding: 42px 34px 26px; scroll-behavior: auto; }
.sv-reader-heading { padding-bottom: 21px; border-bottom: 1px solid #e2ebe7; margin-bottom: 24px; }
.sv-reader-eyebrow { text-transform: uppercase; letter-spacing: .11em; font-size: 11px; font-weight: 600; color: #69877f; margin: 0 40px 11px 0; }
.sv-reader-heading h2 { font-size: 36px; line-height: 1.2; font-weight: 700; letter-spacing: -.035em; color: #123c36; margin: 0 16px 13px 0; }
.sv-reader-heading>p:last-child { font-size: 14px; line-height: 1.6; color: #688178; margin: 0; }
.sv-reader-heading>p:last-child span { padding: 0 7px; }
.sv-reader-meta { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; margin-bottom: 25px; }
.sv-reader-meta>div { display: flex; align-items: flex-start; gap: 14px; min-width: 0; }
.sv-reader-meta i { background: #eef5f2; color: #215960; border-radius: 9px; padding: 11px; font-size: 20px; line-height: 1; flex-shrink: 0; }
.sv-reader-meta p { margin: 0; line-height: 1.5; overflow-wrap: anywhere; }
.sv-reader-meta span { color: #6e857c; font-size: 13px; display: block; }
.sv-reader-meta strong { font-size: 16px; font-weight: 550; display: block; color: #254951; margin-top: 4px; }
.sv-reader-answers { margin: 0; counter-reset: sv-answer; }
.sv-reader .sv-answer { border: 0; border-bottom: 1px solid #e0ebe5; border-radius: 0; padding: 25px 0 25px 30px; margin: 0; position: relative; background: transparent; }
.sv-reader .sv-answer:not(.sv-answer--highlight):not(.sv-answer--meta) { counter-increment: sv-answer; }
.sv-reader .sv-answer:not(.sv-answer--highlight):not(.sv-answer--meta)::before { content: counter(sv-answer) "."; position: absolute; left: 0; top: 25px; font-size: 15px; color: #6d857e; }
.sv-reader .sv-answer dt { font-size: 18px; font-weight: 600; line-height: 1.5; color: #244754; }
.sv-reader .sv-answer dd { font-size: 18px; line-height: 1.65; margin-top: 10px; color: #4d6b74; }
.sv-reader .sv-answer--highlight { background: #eff7f3; border: 0; border-radius: 11px; padding: 22px 24px 22px 90px; margin: 0 0 20px; }
.sv-answer-highlight-icon { position: absolute; left: 24px; top: 22px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #d8eee0; color: #008373; font-size: 23px; letter-spacing: 0; }
.sv-reader .sv-answer--highlight dt { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; font-weight: 550; color: #69857e; }
.sv-reader .sv-answer--highlight dd { font-size: 19px; color: #214a48; line-height: 1.6; }
.sv-reader .sv-answer--meta { padding-left: 0; }
.sv-reader-next { display: flex; justify-content: flex-end; gap: 18px; align-items: center; margin-top: 22px; }
.sv-reader-next>span { font-size: 13px; color: #7a9186; }
.sv-reader-next .sv-button { padding: 12px 18px; min-height: 46px; font-size: 14px; background: #007c6b; }
.sv-reader-next .sv-button--light { background: white; }
@media (prefers-reduced-motion:no-preference) { .sv-dialog[open] { animation: sv-dialog-enter 180ms ease-out; } }
@keyframes sv-dialog-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width:800px) {
  .sv-dialog--reader { width: calc(100% - 24px); height: calc(100dvh - 32px); max-height: calc(100dvh - 32px); }
  .sv-reader { grid-template-columns: 195px minmax(0,1fr); }
  .sv-reader-sidebar { padding: 25px 20px; }
  .sv-reader-nav { margin-left: -10px; margin-right: -10px; }
  .sv-reader-nav button { padding: 12px 10px; gap: 10px; }
  .sv-reader-person h3 { font-size: 22px; }
  .sv-reader-content { padding: 40px 24px 24px; }
  .sv-reader-heading h2 { font-size: 28px; }
  .sv-reader-meta { grid-template-columns: 1fr; }
}
@media (max-width:640px) {
  .sv-dialog--reader .sv-dialog-body { padding: 0; }
  .sv-reader { display: flex; flex-direction: column; }
  .sv-reader-sidebar { flex-shrink: 0; overflow: visible; padding: 18px 20px 0; border-right: 0; border-bottom: 1px solid #e2ebe5; }
  .sv-reader-logo { width: 84px; height: 41px; margin-bottom: 12px; }
  .sv-reader-person>p:first-child { margin-bottom: 5px; font-size: 12px; }
  .sv-reader-person h3 { font-size: 22px; padding-right: 18px; margin-bottom: 9px; }
  .sv-reader-person .sv-reader-date { font-size: 11px; }
  .sv-reader-badges { margin-bottom: 6px; }
  .sv-reader .sv-badge { padding: 5px 9px; font-size: 10px; }
  .sv-reader-nav { display: flex; overflow-x: auto; gap: 4px; margin: 14px -8px 0; border: 0; padding: 0 0 10px; }
  .sv-reader-nav button { flex-shrink: 0; min-height: 44px; padding: 9px 10px; gap: 7px; font-size: 12px; border-left: 0; border-bottom: 2px solid transparent; }
  .sv-reader-nav button i { font-size: 16px; width: auto; }
  .sv-reader-nav button[aria-current=page] { border-bottom-color: #078275; }
  .sv-reader-source { margin: 10px 0 2px; font-size: 10px; }
  .sv-reader-source p { display: inline; margin: 0 5px; }
  .sv-reader-source p br { display: none; }
  .sv-reader-content { flex: 1; min-height: 0; padding: 24px 20px; }
  .sv-reader-heading { margin-bottom: 20px; padding-bottom: 16px; }
  .sv-reader-heading h2 { font-size: 25px; margin-right: 0; }
  .sv-reader-heading>p:last-child { font-size: 11px; }
  .sv-reader-eyebrow { font-size: 10px; }
  .sv-reader-meta { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .sv-reader-meta>div { gap: 8px; }
  .sv-reader-meta i { font-size: 16px; padding: 8px; }
  .sv-reader-meta span { font-size: 10px; }
  .sv-reader-meta strong { font-size: 13px; }
  .sv-reader .sv-answer { padding: 20px 0 20px 24px; }
  .sv-reader .sv-answer:not(.sv-answer--highlight):not(.sv-answer--meta)::before { top: 20px; font-size: 13px; }
  .sv-reader .sv-answer dt { font-size: 14px; }
  .sv-reader .sv-answer dd { font-size: 14px; }
  .sv-reader .sv-answer--highlight { padding: 18px; margin-bottom: 12px; }
  .sv-reader .sv-answer--highlight .sv-answer-highlight-icon { position: static; float: left; width: 30px; height: 30px; font-size: 16px; margin-right: 9px; }
  .sv-reader .sv-answer--highlight dd { clear: both; padding-top: 8px; }
  .sv-reader .sv-answer--highlight dt { font-size: 10px; }
  .sv-reader .sv-answer--highlight dd { font-size: 16px; }
  .sv-reader .sv-answer--meta { padding-left: 0; }
  .sv-reader-next { flex-wrap: wrap; gap: 9px; }
}
.sv-people { display: grid; gap: 6px; max-height: 280px; overflow: auto; margin: 12px 0; }
.sv-person-option { display: flex; gap: 12px; align-items: center; text-align: left; border: 1px solid #e1eae4; border-radius: 12px; padding: 12px; background: white; font: inherit; cursor: pointer; color: #234437; }
.sv-person-option[aria-pressed=true] { border-color: #23a281; background: #effaf4; }
.sv-person-option small { display: block; color: #708679; margin-top: 3px; }
.sv-dialog-foot { display: flex; justify-content: flex-end; gap: 10px; align-items: center; margin-top: 20px; }
.sv-answer { background: white; border: 1px solid #e2eae5; padding: 18px; border-radius: 14px; margin-bottom: 10px; }
.sv-answer dt { font-size: 13px; font-weight: 600; color: #3e6251; }
.sv-answer dd { white-space: pre-wrap; overflow-wrap: anywhere; margin: 10px 0 0; line-height: 1.6; font-size: 14px; color: #223c31; }
.sv-link { width: 100%; box-sizing: border-box; }
.sv-button { font-family: inherit; font-size: 13px; font-weight: 600; border: 1px solid #167f65; background: #168669; color: white; border-radius: 10px; min-height: 42px; padding: 10px 16px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; transition: transform 140ms cubic-bezier(.23,1,.32,1),background-color 140ms ease; }
.sv-button:hover { background: #11775d; }
.sv-button:active { transform: scale(.98); }
.sv-button:disabled { opacity: .45; cursor: default; transform: none; }
.sv-button--light { background: white; color: #456a59; border-color: #dce7df; }
.sv-button--light:hover { background: #f0f6f2; }
.sv-public { margin: 0; background: #f5f8f7; color: #193c30; font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; -webkit-font-smoothing: antialiased; }
.sv-brand { max-width: 940px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 28px 28px; }
.sv-brand img { width: 104px; height: 38px; object-fit: contain; }
.sv-brand span { color: #7c8e84; font-size: 12px; }
.sv-public-main { max-width: 680px; margin: 24px auto 0; padding: 0 24px; }
.sv-intro { margin-bottom: 25px; }
.sv-eyebrow { color: #329b79; font-size: 10px; font-weight: 650; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 12px; }
.sv-intro h1,.sv-finish h1 { font-size: clamp(28px,4vw,36px); font-weight: 620; letter-spacing: -.035em; line-height: 1.2; margin: 0 0 13px; }
.sv-intro>p:not(.sv-eyebrow),.sv-finish>p:not(.sv-eyebrow) { color: #6d8175; font-size: 14px; line-height: 1.7; margin: 0; max-width: 520px; }
.sv-person { display: inline-flex; align-items: center; border: 1px solid #e0e9e2; padding: 7px 11px; border-radius: 8px; margin-top: 16px; color: #466b57; font-size: 12px; background: #ffffff80; }
.sv-progress { margin: 25px 0 24px; }
.sv-progress>div { display: flex; justify-content: space-between; gap: 10px; font-size: 11px; color: #758a7d; margin-bottom: 10px; }
.sv-progress progress { display: block; appearance: none; width: 100%; height: 4px; border: none; background: #e0eae3; border-radius: 4px; }
.sv-progress progress::-webkit-progress-bar { background: #e0eae3; border-radius: 4px; }
.sv-progress progress::-webkit-progress-value { background: #27a17b; border-radius: 4px; }
.sv-progress progress::-moz-progress-bar { background: #27a17b; border-radius: 4px; }
.sv-question-stack { display: grid; gap: 12px; }
.sv-question { margin: 0; min-width: 0; padding: 22px 24px; border: 1px solid #e2eae5; border-radius: 17px; background: white; box-shadow: 0 3px 12px #1c473006; }
.sv-question>label,.sv-question>legend { display: block; font-size: 14px; line-height: 1.55; font-weight: 550; margin-bottom: 14px; color: #284d3a; }
.sv-question legend { float: left; width: 100%; }
.sv-question legend+.sv-rating-control { clear: both; }
.sv-optional { display: block; font-size: 10px; font-weight: 400; color: #8a9b8f; margin-top: 3px; }
.sv-question input,.sv-question textarea,.sv-question select,.sv-admin input,.sv-list-filter,.sv-dialog input.sv-search,.sv-link { font: inherit; font-size: 13px; color: #2c4938; background: #f9fbfa; border: 1px solid #dfe8e1; border-radius: 9px; padding: 12px; box-sizing: border-box; width: 100%; outline-offset: 3px; }
.sv-list-search>strong { white-space: nowrap; }
.sv-list-filter { width: auto; max-width: 152px; flex: 0 0 152px; margin-left: auto; }
.sv-list-search>.flowmo-select-menu { width: 152px; max-width: 152px; flex: 0 0 152px; margin-left: auto; }
.sv-question textarea { resize: vertical; min-height: 90px; line-height: 1.6; }
.sv-question input:focus-visible,.sv-question textarea:focus-visible,.sv-question select:focus-visible,.sv-button:focus-visible,.sv-panel button:focus-visible,.sv-admin input:focus-visible,.sv-list-filter:focus-visible,.sv-dialog button:focus-visible,.sv-dialog input:focus-visible { outline: 2px solid #27a17b; outline-offset: 3px; }
.sv-question textarea::placeholder { color: #a2afa5; }
.sv-form-actions { display: flex; justify-content: space-between; gap: 14px; margin-top: 22px; }
.sv-form-actions .sv-button { min-width: 116px; }
.sv-form-error { padding: 13px; background: #fff0ed; color: #a45546; font-size: 13px; border-radius: 10px; }
.sv-privacy { font-size: 11px; color: #84988a; line-height: 1.8; margin-top: 20px; }
.sv-public-footer { font-size: 10px; color: #98a79d; text-align: center; padding: 26px; }
.sv-rating-control { padding: 20px 16px 18px; border: 1px solid #eddfbd; border-radius: 15px; background: #fffdf7; text-align: center; }
.sv-rating-help { margin: 0 0 10px; font-size: 13px; line-height: 1.5; color: #665738; }
.sv-rating { display: flex; justify-content: center; gap: 12px; }
.sv-rating-choice { cursor: pointer; position: relative; display: grid; place-items: center; width: 64px; height: 64px; flex-shrink: 0; border-radius: 12px; -webkit-tap-highlight-color: transparent; }
.sv-rating-choice input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; cursor: pointer; z-index: 2; }
.sv-rating-star { display: block; overflow: visible; pointer-events: none; width: 44px; height: 44px; transition: transform 180ms cubic-bezier(.22,1,.36,1); }
.sv-rating-star-ring,.sv-rating-star-line { stroke: #ffb51a; }
.sv-rating-star-ring { opacity: 0; transform: scale(0); }
.sv-rating-star-stroke { stroke: #977426; transition: stroke 180ms ease,transform 180ms ease; }
.sv-rating-star-fill { fill: #ffb51a; stroke: #996707; stroke-width: .8; opacity: 0; transform: scale(0); transition: opacity 180ms ease,transform 300ms cubic-bezier(.42,0,.58,1); }
.sv-rating-star-line { stroke-dasharray: 12 13; stroke-dashoffset: -13; }
.sv-rating-choice.is-filled .sv-rating-star-fill { opacity: 1; transform: scale(1); }
.sv-rating-choice.is-filled .sv-rating-star-stroke { transform: scale(0); }
.sv-rating-control.has-preview .sv-rating-choice.is-preview .sv-rating-star-fill { opacity: .85; transform: scale(1); }
.sv-rating-control.has-preview .sv-rating-choice:not(.is-preview) .sv-rating-star-fill { opacity: 0; transform: scale(0); }
.sv-rating-control.has-preview .sv-rating-choice.is-preview .sv-rating-star-stroke { stroke: #ffb51a; }
/* Secuencia del CodePen de Jon Kantner, aislada al control de Flowmo. */
.sv-rating-choice.is-celebrating .sv-rating-star-ring,.sv-rating-choice.is-celebrating .sv-rating-star-fill,.sv-rating-choice.is-celebrating .sv-rating-star-line,.sv-rating-choice.is-celebrating .sv-rating-star-stroke { animation-duration: 1s; animation-timing-function: ease-in-out; animation-fill-mode: both; animation-delay: var(--sv-rating-delay,0ms); }
.sv-rating-choice.is-celebrating .sv-rating-star-ring { animation-name: sv-rating-ring; }
.sv-rating-choice.is-celebrating .sv-rating-star-fill { animation-name: sv-rating-fill; }
.sv-rating-choice.is-celebrating .sv-rating-star-line { animation-name: sv-rating-line; }
.sv-rating-choice.is-celebrating .sv-rating-star-stroke { animation-name: sv-rating-stroke; }
@keyframes sv-rating-ring {
  from,20% { animation-timing-function: ease-in; opacity: 1; r: 8px; stroke-width: 16px; transform: scale(0); }
  35% { animation-timing-function: ease-out; opacity: .5; r: 8px; stroke-width: 16px; transform: scale(1); }
  50%,to { opacity: 0; r: 16px; stroke-width: 0; transform: scale(1); }
}
@keyframes sv-rating-fill {
  from,40% { animation-timing-function: ease-out; transform: scale(0); }
  60% { animation-timing-function: ease-in-out; transform: scale(1.2); }
  80% { transform: scale(.9); }
  to { transform: scale(1); }
}
@keyframes sv-rating-stroke { from { transform: scale(1); } 20%,to { transform: scale(0); } }
@keyframes sv-rating-line {
  from,40% { animation-timing-function: ease-out; stroke-dasharray: 1 23; stroke-dashoffset: 1; }
  60%,to { stroke-dasharray: 12 13; stroke-dashoffset: -13; }
}
.sv-rating-choice:active .sv-rating-star { transform: scale(.98); }
.sv-rating-choice input:focus-visible+.sv-rating-star { outline: 2px solid #168669; outline-offset: 6px; border-radius: 8px; }
.sv-rating-value { display: block; margin-top: 10px; font-size: 15px; line-height: 1.5; color: #735017; font-weight: 650; min-height: 23px; }
.sv-rating-note { margin: 7px 0 0; font-size: 11px; line-height: 1.5; color: #665738; }
.sv-rating-control[data-motion=keyboard] .sv-rating-star,.sv-rating-control[data-motion=keyboard] .sv-rating-star * { animation: none; transition: none; }
@media (hover:hover) and (pointer:fine) { .sv-rating-choice:hover:not(:active) .sv-rating-star { transform: scale(1.025); } }
@media (prefers-reduced-motion:reduce) { .sv-rating-control .sv-rating-choice .sv-rating-star,.sv-rating-control .sv-rating-choice .sv-rating-star * { animation: none; transition: none; }.sv-rating-choice:hover:not(:active) .sv-rating-star,.sv-rating-choice:active .sv-rating-star { transform: none; } }
@media (max-width:360px) { .sv-rating { gap: 8px; }.sv-rating-choice { width: 56px; height: 60px; } }
.sv-finish { text-align: center; padding: 80px 10px; }
.sv-finish-mark { width: 66px; height: 66px; display: grid; place-items: center; margin: 0 auto 28px; background: #e4f4e9; border: 1px solid #d3eada; color: #349569; font-size: 28px; border-radius: 22px; }
.sv-finish-mark--error { color: #a77d41; background: #fbf0df; border-color: #f1e2cb; }
.sv-finish>p { margin-left: auto !important; margin-right: auto !important; }
.sv-finish button { margin-top: 25px; }
.sv-loading { display: grid; gap: 16px; padding: 30px 0; }
.sv-loading span { height: 110px; border-radius: 17px; background: #e9efeb; animation: sv-pulse 1.6s ease-in-out infinite alternate; }
.sv-loading span:first-child { height: 55px; width: 65%; }
@keyframes sv-pulse { to { opacity: .45; } }
@media (prefers-reduced-motion:no-preference) { .sv-question-stack,.sv-finish { animation: sv-enter 220ms cubic-bezier(.23,1,.32,1); } }
@keyframes sv-enter { from { opacity: .5; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion:reduce) { .sv-button { transition: none; }.sv-loading span { animation: none; } }

/* Contraste y lectura continua del panel administrativo de Encuestas. */
.sv-panel-body { display: flex; flex-direction: column; padding-bottom: 16px; background: #f4f8f6; }
.sv-panel [data-sv-root] { display: flex; flex: 1; min-height: 0; }
.sv-admin--board { display: flex; flex-direction: column; flex: 1; min-width: 0; min-height: 0; margin: 0; }
.sv-admin--board #sv-tab-content { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.sv-admin--board .sv-tabs { margin-bottom: 18px; border-bottom-color: #b9cec4; }
.sv-admin--board .sv-tabs button { color: #3f5e53; }
.sv-admin--board .sv-tabs button[aria-selected=true] { color: #075f47; background: #ccecdf; border-bottom-color: #087b5c; }
.sv-board-toolbar { margin-bottom: 18px; gap: 20px; }
.sv-admin--board .sv-stat span,.sv-admin--board .sv-history-info { color: #456358; }
.sv-board-search-field { color: #405f53; border-color: #adc8ba; }
.sv-board-search-field input { border: 0; background: white; }
.sv-board-search-field input::placeholder { color: #536c62; }
.sv-scope-filters button { color: #375a4a; border-color: #b9cdc1; }
.sv-scope-filters button[aria-pressed=true] { color: white; border-color: #07684e; background: #087b5c; }
.sv-scope-filters button:hover { border-color: #087b5c; }
.sv-panel .sv-admin-actions .sv-button--light { color: #18583e; border-color: #a4c7b5; }
.sv-board { flex: 1; min-height: 280px; gap: 16px; grid-auto-rows: minmax(0,1fr); }
.sv-board-column { --sv-state: #995600; --sv-state-soft: #fff2d5; --sv-state-border: #e9c67e; --sv-state-ink: #724100; height: auto; min-height: 280px; border-color: var(--sv-state-border); background: var(--sv-state-soft); }
.sv-board-column--failed { --sv-state: #b4412d; --sv-state-soft: #ffe7e0; --sv-state-border: #e9b1a3; --sv-state-ink: #792b1c; }
.sv-board-column--completed { --sv-state: #087b5c; --sv-state-soft: #def3e8; --sv-state-border: #98c9b0; --sv-state-ink: #075d42; }
.sv-board-column--other { --sv-state: #68419c; --sv-state-soft: #ede5fa; --sv-state-border: #c9b3e3; --sv-state-ink: #4f2c80; }
.sv-board-column>header { padding: 18px; background: var(--sv-state-soft); border-bottom: 1px solid var(--sv-state-border); gap: 12px; }
.sv-board-column h4 { color: var(--sv-state-ink); font-weight: 700; }
.sv-board-column>header p { color: var(--sv-state-ink); font-size: 12px; line-height: 1.5; }
.sv-board-column .sv-board-icon { color: white; background: var(--sv-state); width: 42px; height: 42px; }
.sv-board-items { padding: 12px; scrollbar-color: var(--sv-state-border) transparent; }
.sv-board .sv-row { position: relative; background: white; border: 1px solid var(--sv-state-border); border-left: 3px solid var(--sv-state); border-radius: 10px; padding: 14px 12px; margin-bottom: 10px; gap: 6px; }
.sv-board .sv-row:last-child { margin-bottom: 0; }
.sv-board .sv-row strong { color: #153f31; font-size: 14px; line-height: 1.45; }
.sv-board .sv-row small { color: #456055; }
.sv-board .sv-avatar { background: var(--sv-state-soft); color: var(--sv-state-ink); border: 1px solid var(--sv-state-border); font-weight: 700; }
.sv-board .sv-row-date strong { color: #435e52; font-size: 12px; }
.sv-board .sv-row-badges .sv-badge { font-size: 10px; font-weight: 600; padding: 4px 9px; }
.sv-board .sv-badge--history { background: #68419c; color: white; }
.sv-panel .sv-badge--test { background: #ffe0a0; color: #634204; }
.sv-board .sv-row-actions .sv-button--light { color: var(--sv-state-ink); border-color: var(--sv-state-border); background: var(--sv-state-soft); font-weight: 650; }
.sv-board .sv-row-actions .sv-button--light:hover { color: white; background: var(--sv-state); border-color: var(--sv-state); }
.sv-board-empty { color: var(--sv-state-ink); }

.sv-reader-sidebar { background: #e5f4ed; border-right-color: #b6d6c7; padding: 26px 24px; }
.sv-reader-person>p,.sv-reader-author,.sv-reader-source { color: #426455; }
.sv-reader-person h3 { font-size: 22px; }
.sv-reader-nav { border-color: #adcdbc; margin-top: 22px; }
.sv-reader-nav button { color: #254e3e; }
.sv-reader-nav button:hover { background: #cce9da; }
.sv-reader-nav button[aria-current=location] { color: white; background: #087b5c; border-left-color: #06513d; font-weight: 650; }
.sv-reader .sv-badge--completed { color: #07583e; background: #bce8d2; }
.sv-reader-source { margin-bottom: 0; }
.sv-reader-source strong,.sv-reader-source a { color: #075d42; }
.sv-reader-content { padding: 32px 30px 26px; overscroll-behavior: contain; scrollbar-color: #92b6a6 #f1f7f4; }
.sv-reader-heading { padding-bottom: 18px; margin-bottom: 0; }
.sv-reader-heading h2 { font-size: 27px; margin-bottom: 10px; }
.sv-reader-eyebrow,.sv-reader-heading>p:last-child { color: #436858; }
.sv-reader-section { padding-top: 24px; scroll-margin-top: 12px; }
.sv-reader-section-head { display: flex; gap: 12px; align-items: baseline; padding: 0 0 13px; border-bottom: 2px solid #b6d8c8; margin-bottom: 3px; }
.sv-reader-section-head>span { color: #087b5c; font-size: 12px; font-weight: 700; }
.sv-reader-section-head h3 { margin: 0; font-size: 21px; line-height: 1.35; font-weight: 700; letter-spacing: -.025em; color: #123e2c; }
.sv-reader .sv-answer { padding: 16px 0 16px 25px; border-bottom-color: #cfe0d7; }
.sv-reader .sv-answer:not(.sv-answer--highlight):not(.sv-answer--meta)::before { top: 17px; font-size: 13px; color: #446857; }
.sv-reader .sv-answer dt { font-size: 15px; line-height: 1.5; font-weight: 650; color: #204735; }
.sv-reader .sv-answer dd { font-size: 15px; line-height: 1.6; color: #3c5b4b; margin-top: 7px; }
.sv-reader .sv-answer--highlight { margin: 15px 0 7px; padding: 20px 20px 20px 78px; background: #08785d; border: 1px solid #06624b; }
.sv-reader .sv-answer--highlight dt { color: #eafff4; font-size: 12px; font-weight: 600; letter-spacing: .03em; line-height: 1.5; }
.sv-reader .sv-answer--highlight dd { color: white; font-size: 17px; font-weight: 600; margin-top: 8px; }
.sv-reader .sv-answer-highlight-icon { background: #bcebd5; color: #075c42; left: 20px; top: 20px; width: 40px; height: 40px; font-size: 21px; }
.sv-reader .sv-answer--meta { padding-left: 0; }
.sv-reader-next { margin-top: 14px; }
.sv-reader-next>span { color: #466857; }
.sv-reader-next .sv-button { min-height: 42px; padding: 10px 15px; font-size: 13px; }
.sv-reader-next .sv-button--light { color: #17553a; border-color: #a5c7b5; }
@media (max-width:1050px) and (min-width:641px) { .sv-board { min-height: 650px; } }
@media (max-width:800px) { .sv-reader-sidebar { padding: 22px 18px; }.sv-reader-content { padding: 32px 22px 22px; }.sv-reader-heading h2 { font-size: 25px; }.sv-reader-section-head h3 { font-size: 20px; } }
@media (max-width:640px) {
  .sv-panel-body { display: block; padding-bottom: 18px; }.sv-panel [data-sv-root],.sv-admin--board,.sv-admin--board #sv-tab-content { display: block; }
  .sv-board { min-height: 0; gap: 14px; }.sv-board-column { height: auto; min-height: 0; max-height: 70dvh; }.sv-board-column>header { padding: 16px; }
  .sv-reader-sidebar { padding: 16px 18px 0; border-bottom-color: #b6d6c7; }
  .sv-reader-person h3 { font-size: 18px; }.sv-reader-nav { margin-top: 12px; }.sv-reader-nav button[aria-current=location] { border-bottom-color: #06513d; }
  .sv-reader-content { padding: 21px 18px; }.sv-reader-heading h2 { font-size: 23px; }.sv-reader-heading { padding-bottom: 15px; }
  .sv-reader-section { padding-top: 20px; }.sv-reader-section-head { gap: 9px; padding-bottom: 10px; }.sv-reader-section-head h3 { font-size: 19px; }
  .sv-reader .sv-answer { padding: 15px 0 15px 23px; }.sv-reader .sv-answer dt,.sv-reader .sv-answer dd { font-size: 14px; }.sv-reader .sv-answer--meta { padding-left: 0; }
  .sv-reader .sv-answer--highlight { padding: 16px; }.sv-reader .sv-answer--highlight .sv-answer-highlight-icon { position: static; float: left; width: 30px; height: 30px; margin-right: 10px; font-size: 17px; }
  .sv-reader .sv-answer--highlight dt { font-size: 11px; }.sv-reader .sv-answer--highlight dd { font-size: 16px; clear: both; padding-top: 4px; }
}
@media (max-width:640px) {
  .sv-list-filter { max-width: none; flex-basis: auto; margin-left: 0; width: 100%; }
  .sv-list-search>.flowmo-select-menu { width: 100%; max-width: none; flex-basis: auto; margin-left: 0; }
  .sv-panel-body { padding: 14px; }.sv-admin-toolbar { align-items: flex-start; flex-direction: column; }.sv-stats { gap: 7px; }.sv-stat { padding: 14px 12px; }.sv-stat strong { font-size: 24px; }.sv-row { grid-template-columns: minmax(0,1fr) auto; gap: 12px; padding: 16px; }.sv-row-date { display: none; }.sv-row-actions { grid-column: 1/-1; display: flex; justify-content: flex-end; }.sv-list-search { align-items: stretch; flex-direction: column; }.sv-list-search input { max-width: none; }.sv-dialog { width: calc(100% - 20px); border-radius: 19px; max-height: calc(100dvh - 20px); }.sv-dialog-head { padding: 16px 20px; }.sv-dialog-body { padding: 20px; }.sv-brand { padding: 20px; }.sv-brand img { width: 88px; }.sv-public-main { padding: 0 16px; margin-top: 20px; }.sv-question { padding: 19px 18px; }.sv-form-actions .sv-button { min-width: 104px; }.sv-intro h1 { font-size: 30px; }.sv-rating-choice b { font-size: 20px; }.sv-finish { padding: 50px 5px; }
}

/* Galería de respuestas: fondo blanco y tarjetas en filas. */
.sv-panel,.sv-panel-body { background: #fff; }
.sv-panel-body { display: block; padding-right: 12px; padding-bottom: 28px; }
.sv-panel [data-sv-root] { display: block; flex: none; }
.sv-admin--gallery { position: relative; max-width: none; margin: 0; min-width: 0; }
.sv-admin--gallery .sv-tabs { width: 100%; border: 0; border-bottom: 1px solid #b9cec4; border-radius: 0; background: transparent; padding: 0; gap: 4px; margin-bottom: 13px; }
.sv-admin--gallery .sv-tabs button { color: #3f5e53; padding: 14px 26px; border-bottom: 2px solid transparent; border-radius: 12px 12px 0 0; font-size: 15px; font-weight: 600; }
.sv-admin--gallery .sv-tabs button[aria-selected=true] { color: #075f47; background: #ccecdf; border-bottom-color: #087b5c; box-shadow: none; }
.sv-gallery-toolbar { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 0; }
.sv-admin--gallery .sv-scope-filters { margin-top: 9px; }
.sv-view-switch { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 6px; }
.sv-view-switch button { font: inherit; font-size: 13px; font-weight: 650; min-height: 38px; padding: 8px 24px; border: 1px solid #b3c8bf; border-radius: 9px; color: #17593e; background: #fff; cursor: pointer; white-space: nowrap; }
.sv-view-switch button[aria-pressed=true] { color: #fff; background: #087b5c; border-color: #087b5c; }
.sv-view-switch button:hover { border-color: #087b5c; }
.sv-gallery-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin: 0 0 14px; }
.sv-gallery-heading h3 { margin: 0; color: #123e2c; font-size: 26px; line-height: 1.3; letter-spacing: -.025em; font-weight: 700; }
.sv-gallery-heading .sv-history-info { color: #526171; font-size: 11px; text-align: right; margin: 0; max-width: 55%; }
.sv-syncbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: -4px 0 16px; }
.sv-sync-status { display: flex; align-items: center; gap: 7px; color: #17593e; font-size: 12px; line-height: 1.5; margin: 0; }
.sv-sync-status::before { content: ""; flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%; background: #087b5c; }
.sv-sync-status.is-warning { color: #7b4700; }
.sv-sync-status.is-warning::before { background: #956000; }
.sv-syncbar .sv-button { min-height: 36px; padding: 7px 11px; font-size: 12px; gap: 6px; white-space: nowrap; }
.sv-response-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; align-items: stretch; overflow-anchor: none; }
.sv-response-grid .sv-response-card { --sv-card-accent: #087b5c; --sv-card-soft: #dff2e9; --sv-card-ink: #075b41; position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 0; min-width: 0; min-height: 200px; padding: 18px 16px 14px; border: 1px solid #b8dcd0; border-top: 4px solid var(--sv-card-accent); border-radius: 12px; background: #fff; }
.sv-response-grid .sv-response-card--sent,.sv-response-grid .sv-response-card--sending { --sv-card-accent: #956000; --sv-card-soft: #fff2d5; --sv-card-ink: #724100; }
.sv-response-grid .sv-response-card--failed { --sv-card-accent: #b4412d; --sv-card-soft: #ffe7e0; --sv-card-ink: #792b1c; }
.sv-response-grid .sv-response-card--queued { --sv-card-accent: #956000; --sv-card-soft: #fff2d5; --sv-card-ink: #724100; }
.sv-response-grid .sv-response-card--skipped { --sv-card-accent: #68419c; --sv-card-soft: #ede5fa; --sv-card-ink: #4f2c80; }
.sv-panel .sv-response-grid .sv-badge--origin { background: #d9efe8; color: #18594a; }
.sv-badge--skipped { background: #ede5fa; color: #4f2c80; }
.sv-badge--queued { background: #fff2d5; color: #724100; }
.sv-badge--scheduled { background: #dfeaff; color: #214e89; }
.sv-badge--omitted { background: #e6e2f5; color: #4c396e; }
.sv-automation { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 20px; margin: 0 0 20px; border: 1px solid #cdd7e2; border-radius: 14px; background: #f4f6fa; color: #25384b; }
.sv-automation[hidden] { display: none; }
.sv-automation.is-enabled { border-color: #96c9b6; background: #edf8f3; color: #174f3d; }
.sv-automation strong { font-size: .94rem; }
.sv-automation p { margin: 6px 0 0; font-size: .82rem; line-height: 1.5; max-width: 750px; }
.sv-automation .sv-button { flex-shrink: 0; }
@media (max-width: 600px) { .sv-automation { align-items: stretch; flex-direction: column; gap: 12px; padding: 15px; }.sv-automation .sv-button { align-self: flex-start; } }
.sv-badge--awaiting_recipient,.sv-badge--awaiting_date { background: #ffe8bb; color: #71450b; }
.sv-response-grid .sv-response-card--scheduled { --sv-card-accent: #3e6fb6; --sv-card-soft: #e9f1ff; --sv-card-ink: #214e89; }
.sv-response-grid .sv-response-card--awaiting_recipient,.sv-response-grid .sv-response-card--awaiting_date { --sv-card-accent: #a16b0c; --sv-card-soft: #fff0d4; --sv-card-ink: #71450b; }
.sv-exit-origin { margin: 18px 0; padding: 15px; border: 1px solid #beddd1; border-radius: 12px; background: #f0f9f5; color: #214e43; font-size: .82rem; line-height: 1.5; overflow-wrap: anywhere; }
.sv-exit-origin > strong { font-size: .8rem; }
.sv-exit-origin dl { display: grid; gap: 9px; margin: 13px 0; }
.sv-exit-origin dt { color: #466159; font-size: .74rem; }
.sv-exit-origin dd { margin: 3px 0 0; font-weight: 600; }
.sv-exit-origin > p { margin: 0; color: #466159; font-size: .74rem; }
.sv-response-grid .sv-response-card--expired,.sv-response-grid .sv-response-card--revoked { --sv-card-accent: #68419c; --sv-card-soft: #ede5fa; --sv-card-ink: #4f2c80; }
.sv-response-grid .sv-row-person { gap: 14px; align-items: flex-start; }
.sv-response-grid .sv-avatar { width: 54px; height: 54px; border-radius: 50%; color: #153f31; background: #dff2e9; font-size: 16px; font-weight: 650; }
.sv-response-grid .sv-row-person h4 { font-size: 16px; line-height: 1.4; color: #153f31; font-weight: 700; margin: 0; overflow-wrap: anywhere; }
.sv-response-grid .sv-row-person small { color: #526171; font-size: 13px; line-height: 1.4; margin-top: 5px; }
.sv-response-grid .sv-row-badges { margin: 6px 0 0 68px; }
.sv-response-grid .sv-badge { font-size: 11px; font-weight: 600; border-radius: 20px; padding: 5px 11px; background: var(--sv-card-soft); color: var(--sv-card-ink); }
.sv-response-grid .sv-badge--history { background: #68419c; color: #fff; }
.sv-response-grid .sv-badge--test { background: #ffe0a0; color: #634204; }
.sv-response-grid .sv-row-date { display: block; margin: 8px 0 10px 68px; font-size: 13px; line-height: 1.4; color: #526171; }
.sv-response-grid .sv-row-actions { margin-top: auto; display: flex; padding: 0; }
.sv-response-grid .sv-row-actions .sv-button { width: 100%; min-height: 42px; padding: 10px 12px; font-size: 13px; font-weight: 650; color: var(--sv-card-ink); background: var(--sv-card-soft); border-color: #b8dcd0; border-radius: 9px; }
.sv-response-grid .sv-row-actions .sv-button:hover { color: #fff; background: var(--sv-card-accent); border-color: var(--sv-card-accent); }
.sv-gallery-empty { grid-column: 1/-1; padding: 64px 20px; border: 1px dashed #b3c8bf; border-radius: 12px; text-align: center; color: #526171; }
.sv-gallery-empty>i { display: block; font-size: 28px; color: #087b5c; margin-bottom: 14px; }
.sv-gallery-empty>strong { color: #153f31; font-size: 16px; }
.sv-gallery-empty>p { font-size: 14px; line-height: 1.6; margin: 8px 0 0; }
@media (max-width:1050px) {
  .sv-response-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .sv-gallery-toolbar { flex-direction: column; gap: 16px; }
  .sv-gallery-heading { margin-top: 16px; align-items: flex-start; }
}
@media (max-width:640px) {
  .sv-panel-body { padding-right: 14px; }
  .sv-admin--gallery .sv-tabs button { padding: 13px 15px; font-size: 13px; }
  .sv-gallery-toolbar { gap: 14px; }
  .sv-view-switch { width: 100%; gap: 8px; padding-top: 0; }
  .sv-view-switch button { flex: 1; min-height: 44px; padding: 10px 12px; }
  .sv-gallery-heading { display: block; margin: 20px 0 14px; }
  .sv-gallery-heading h3 { font-size: 23px; }
  .sv-gallery-heading .sv-history-info { max-width: none; text-align: left; margin-top: 8px; }
  .sv-syncbar { align-items: flex-start; gap: 8px; }
  .sv-syncbar .sv-button { min-height: 44px; }
  .sv-sync-status { padding-top: 8px; }
  .sv-response-grid { grid-template-columns: 1fr; gap: 14px; }
  .sv-response-grid .sv-row-actions .sv-button { min-height: 44px; }
}
