.mode-banner{position:fixed;z-index:30;right:18px;bottom:18px;display:flex;gap:8px;align-items:center;padding:10px 14px;border:1px solid #cfd6ff;border-radius:999px;background:#fff;box-shadow:0 10px 30px #3949ab22;font-size:12px;color:#4c5770}.mode-banner strong{color:#3f4eea}.mode-banner--api strong{color:#087e58}.app-notice{position:fixed;z-index:60;right:24px;top:24px;max-width:340px;padding:14px 16px;border-radius:12px;background:#182038;color:#fff;box-shadow:0 12px 28px #10152a33;opacity:0;transform:translateY(-8px);pointer-events:none;transition:.2s}.app-notice.is-visible{opacity:1;transform:translateY(0)}.app-notice[data-type=error]{background:#b42335}.app-dialog-backdrop{position:fixed;z-index:50;inset:0;display:grid;place-items:center;padding:20px;background:#0e163866}.app-dialog{position:relative;width:min(480px,100%);padding:28px;border-radius:20px;background:#fff;box-shadow:0 24px 70px #10183c4d}.app-dialog h2{margin:0 0 20px;font-size:22px}.app-dialog label{display:grid;gap:7px;margin:12px 0;font-size:14px;font-weight:700;color:#27304b}.app-dialog input,.app-dialog textarea,.app-dialog select{width:100%;box-sizing:border-box;padding:11px 12px;border:1px solid #dbe1ef;border-radius:9px;font:inherit;font-weight:400}.app-dialog textarea{min-height:80px;resize:vertical}.app-dialog .checkbox-line{display:flex;align-items:center}.app-dialog .checkbox-line input{width:auto}.dialog-close{position:absolute;top:12px;right:14px;border:0;background:transparent;font-size:26px;color:#64708a}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:22px}.join-page,.result-page{min-height:100vh;background:linear-gradient(135deg,#f7f9ff,#eef1ff);color:#12182b}.simple-header{display:flex;align-items:center;justify-content:space-between;padding:20px max(24px,calc((100% - 1180px)/2));background:#fff;border-bottom:1px solid #e5e9f3}.simple-brand{font-weight:800;font-size:20px;color:#19213a;text-decoration:none}.simple-main{width:min(760px,calc(100% - 32px));margin:68px auto}.join-card,.result-card{padding:34px;border:1px solid #e1e6f0;border-radius:20px;background:#fff;box-shadow:0 16px 45px #31408012}.join-card h1,.result-card h1{margin:0 0 8px;font-size:30px}.join-card p,.result-card p{color:#68728a}.join-card label{display:grid;gap:7px;margin:16px 0;font-weight:700}.join-card input,.join-card select{box-sizing:border-box;width:100%;padding:12px;border:1px solid #dbe1ef;border-radius:9px;font:inherit}.rating-row{display:grid!important;grid-template-columns:1fr 160px auto;align-items:center;border-top:1px solid #edf0f6;padding:12px 0}.join-success{margin-top:18px;padding:12px;border-radius:10px;background:#e5f8ed;color:#087a4c}.result-winner{margin:26px 0;padding:24px;border-radius:16px;background:linear-gradient(135deg,#eef0ff,#fff);text-align:center}.result-winner strong{display:block;font-size:29px;color:#3e4bed}.result-card li{margin:10px 0;color:#49536b}@media(max-width:600px){.mode-banner{left:12px;right:12px;bottom:12px;justify-content:center}.rating-row{grid-template-columns:1fr}.simple-main{margin:32px auto}.join-card,.result-card{padding:22px}}

.app-dialog label.participant-required-toggle{display:inline-flex;align-items:center;justify-content:flex-start;gap:.5rem;width:fit-content}.app-dialog label.participant-required-toggle input{width:auto;margin:0}
.app-dialog label.condition-required-toggle{display:inline-flex;align-items:center;gap:10px;width:auto;margin:0;padding:0;cursor:pointer;white-space:nowrap}.app-dialog label.condition-required-toggle input[type="checkbox"]{width:auto;margin:0;padding:0;flex:0 0 auto}.app-dialog label.condition-required-toggle span{display:inline;margin:0;padding:0;font:inherit}.app-dialog label.condition-required-toggle input[type="checkbox"]:focus-visible{outline:2px solid #5968ec;outline-offset:2px}
.app-dialog label.participant-invites-toggle{display:inline-flex;align-items:center;gap:10px;width:auto;margin:12px 0;padding:0;cursor:pointer}.app-dialog label.participant-invites-toggle input[type="checkbox"]{width:auto;margin:0;padding:0;flex:0 0 auto}.app-dialog label.participant-invites-toggle span{display:inline;margin:0;padding:0;font:inherit}.app-dialog label.participant-invites-toggle input[type="checkbox"]:focus-visible{outline:2px solid #5968ec;outline-offset:2px}
.invite-share-dialog{display:grid;gap:14px}.invite-share-dialog>p{margin:0;color:#58647c;line-height:1.5}.invite-share-actions{display:flex;flex-wrap:wrap;gap:8px}.invite-share-actions .secondary-button{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 11px;text-decoration:none;cursor:pointer}.invite-share-actions button,.invite-share-actions a[href]{cursor:pointer}@media(max-width:390px){.invite-share-actions .secondary-button{flex:1 1 calc(50% - 4px);min-width:0;font-size:12px;padding:0 8px}}
.app-dialog:has(.invite-share-dialog--expanded){width:min(820px,calc(100vw - 28px));padding:28px 32px}.invite-share-dialog--expanded{gap:16px}.invite-share-hero-header{display:grid;grid-template-columns:minmax(0,3fr) minmax(240px,2fr);align-items:center;gap:20px}.invite-share-hero-copy{min-width:0}.invite-share-hero-copy p{margin:0;color:#58647c;font-size:15px;line-height:1.65;word-break:keep-all;overflow-wrap:break-word}.invite-share-link-box{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;padding:14px 16px;border:1px solid #d9e1ff;border-radius:14px;background:#f7f9ff}.invite-share-link-box label{grid-column:1/-1;margin:0;color:#35415f;font-size:14px}.invite-share-link-box input{min-width:0;height:44px;padding:0 12px;border-color:#cbd6fa;background:#fff;color:#44527a}.invite-share-link-box .primary-button{min-height:44px;white-space:nowrap}.invite-share-dialog--expanded h3{margin:2px 0 -4px;font-size:17px;color:#27345b}.invite-share-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.invite-share-card{display:grid;grid-template-rows:96px auto minmax(34px,1fr);place-items:center;gap:7px;min-height:184px;padding:14px 12px;border:1px solid #e0e6f3;border-radius:14px;background:#fff;color:#26345c;text-align:center;text-decoration:none;cursor:pointer;min-width:0}.invite-share-card:hover,.invite-share-card:focus-visible{border-color:#7586ee;background:#f8f9ff;box-shadow:0 8px 18px #5365df18;outline:0}.invite-share-card__image{width:96px;height:96px;object-fit:contain}.invite-share-card strong{max-width:100%;font-size:14px;line-height:1.4;word-break:keep-all;overflow-wrap:break-word}.invite-share-card small{max-width:100%;color:#6b7690;font-size:12px;line-height:1.45;word-break:keep-all;overflow-wrap:break-word}.invite-share-help{margin:0;padding:11px 14px;border-radius:10px;background:#eef3ff;color:#5366c8;font-size:13px;line-height:1.5;word-break:keep-all}.invite-share-reissue-area{display:grid;justify-items:start;gap:5px;padding-top:2px}.invite-share-reissue{margin:0}.invite-share-reissue__note{margin:0;color:#6b7690;font-size:12px;line-height:1.45}.invite-share-hero{justify-self:end;width:100%;height:204px;object-fit:contain}@media(max-width:560px){.app-dialog:has(.invite-share-dialog--expanded){padding:22px 18px}.invite-share-hero-header{grid-template-columns:1fr;gap:8px}.invite-share-hero{justify-self:center;width:min(100%,320px);height:172px;order:2}.invite-share-link-box{grid-template-columns:1fr}.invite-share-link-box .primary-button{width:100%}.invite-share-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.invite-share-card{grid-template-rows:82px auto minmax(30px,1fr);min-height:168px;padding:12px 10px}.invite-share-card__image{width:82px;height:82px}.invite-share-card small{font-size:11px}.invite-share-cards>.invite-share-card:last-child:nth-child(odd){grid-column:1/-1;width:calc(50% - 5px);justify-self:center}}@media(max-width:390px){.invite-share-hero-copy p{font-size:14px;line-height:1.6}.invite-share-hero{height:150px}.invite-share-cards{grid-template-columns:1fr}.invite-share-cards>.invite-share-card:last-child:nth-child(odd){grid-column:auto;width:100%}.invite-share-card{grid-template-rows:88px auto auto;min-height:0}.invite-share-card__image{width:88px;height:88px}}
/* Final UI polish: shared hierarchy, states, and touch targets. */
:root{--focus-ring:0 0 0 3px rgba(63,78,234,.22);--card-shadow:0 14px 34px rgba(30,45,88,.08)}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:none;box-shadow:var(--focus-ring)}
button,.primary-button,.secondary-button,.chip-button{min-height:42px;transition:transform .16s ease,box-shadow .16s ease,background-color .16s ease}
button:not(:disabled):hover,.primary-button:hover,.secondary-button:hover,.chip-button:hover{transform:translateY(-1px)}
.panel,.option-card,.invite-card,.result-panel,.join-card,.result-card{box-shadow:var(--card-shadow)}
.app-notice{border:1px solid rgba(255,255,255,.18)}
.app-dialog-backdrop{backdrop-filter:blur(3px)}
.app-dialog{border:1px solid #e1e6f0}
.join-card,.result-card{border-color:#dce4f2}
.join-card input,.join-card select,.join-card textarea,.app-dialog input,.app-dialog select,.app-dialog textarea{transition:border-color .16s ease,box-shadow .16s ease}
.join-card input:focus,.join-card select:focus,.join-card textarea:focus,.app-dialog input:focus,.app-dialog select:focus,.app-dialog textarea:focus{border-color:#5968ec;box-shadow:var(--focus-ring);outline:0}
.join-constraints{border-left:4px solid #5968ec;background:linear-gradient(90deg,#f5f7ff,#fbfcff)}
.join-success{border:1px solid #b7ebca}.join-error{border:1px solid #f3b8c0}
.result-winner{border:1px solid #d8dcff;box-shadow:inset 0 1px #fff}
.result-card [data-share]{min-width:160px;padding:11px 16px;border:1px solid #cfd6ff;border-radius:10px;background:#fff;color:#3545c9;font:inherit;font-weight:700}
.empty-state{border:1px dashed #ced7e8;border-radius:10px;background:#fafbff}
@media(max-width:600px){.simple-header{gap:10px;padding:16px}.simple-header span{font-size:13px}.app-notice{left:12px;right:12px;top:12px;max-width:none}.dialog-actions{flex-direction:column-reverse}.dialog-actions button{width:100%}.rating-row{padding:14px}.join-card,.result-card{border-radius:16px}.result-card [data-share]{width:100%}}

/* Quality remediation: resilient empty-state and mobile join widths. */
.result-page .result-privacy::before{content:'🔒'!important;font-size:12px!important}
.empty-state,.participant-list .empty-state,.condition-list .empty-state,.preference-list .empty-state{min-width:0;max-width:100%;overflow-wrap:anywhere;word-break:keep-all;line-height:1.55;white-space:normal}
.workspace-layout .panel,.workspace-layout li{min-width:0}
@media(max-width:1100px){.workspace-layout{grid-template-columns:250px minmax(0,1fr)}.workspace-column--right{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.workspace-layout{width:min(100% - 24px,680px);grid-template-columns:1fr}.workspace-column--right{grid-template-columns:1fr}.participants-panel li,.condition-list li,.preference-list li{min-width:0;overflow-wrap:anywhere}}
@media(max-width:600px){.join-page{overflow-x:hidden}.simple-main{width:calc(100% - 24px);margin:22px auto}.join-card{width:100%;box-sizing:border-box;padding:18px;overflow:hidden}.join-card label,.join-card input,.join-card textarea,.join-card select{min-width:0;max-width:100%}.join-card textarea{width:100%;box-sizing:border-box}.join-date-row{gap:12px}.rating-row{min-width:0}.rating-row legend,.checkbox-line{overflow-wrap:anywhere}}


/* Homepage visual-parity pass: preserve interactions while restoring the target's compact three-part hero. */
.page-home {
  background:
    radial-gradient(circle at 50% 14%, rgba(121, 136, 255, 0.10), transparent 31%),
    linear-gradient(180deg, #ffffff 0%, #f8faff 66%, #f5f7ff 100%);
}
.page-home .site-header {
  background: rgba(255, 255, 255, 0.92);
}
.brand__name--home {
  font-size: 18px;
  letter-spacing: -0.04em;
}
@media (min-width: 1121px) {
  .page-home .hero {
    grid-template-columns: 532px minmax(0, 452px) 314px;
    gap: 36px;
    padding: 54px 0 20px;
  }
  .page-home .hero-copy {
    padding-left: 30px;
  }
  .page-home .hero-flow__canvas {
    display: block;
    min-height: 309px;
  }
  .page-home .flow-list {
    display: grid;
    width: 100%;
    gap: 20px;
  }
  .page-home .person-row {
    gap: 14px;
  }
  .page-home .person-row__chips {
    flex-wrap: nowrap;
    gap: 10px;
  }
  .page-home .flow-lines {
    right: 96px;
  }
  .page-home .flow-line {
    left: 266px;
    right: auto;
    width: 122px;
  }
  .page-home .flow-hub {
    position: absolute;
    right: -14px;
    top: 84px;
    gap: 0;
  }
  .page-home .flow-hub__arrow {
    width: 28px;
    height: 28px;
    margin-left: -2px;
  }
  .page-home .workspace-preview {
    padding-top: 4px;
  }
}
@media (min-width: 1121px) and (max-width: 1380px) {
  .page-home .hero {
    grid-template-columns: minmax(470px, 1.12fr) minmax(404px, .94fr) minmax(286px, .66fr);
    gap: 24px;
  }
  .page-home .hero-copy { padding-left: 20px; }
  .page-home .flow-line { left: 252px; width: 104px; }
  .page-home .flow-hub { right: -10px; }
}
@media (max-width: 1120px) {
  .page-home .hero-flow__canvas { display: block; }
  .page-home .flow-hub { position: absolute; }
}
@media (max-width: 820px) {
  .page-home .flow-hub { position: static; }
}


/* Keep the recommendation title on the same compact line as the reference card. */
.page-home .destination-card__header {
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 12px;
}
.page-home .destination-card__header img {
  width: 108px;
  height: 64px;
}
.page-home .destination-card__header h3 {
  font-size: 18px;
  white-space: nowrap;
}


/* The compact desktop breakpoint keeps the second headline line clear of the condition flow. */
@media (min-width: 1121px) and (max-width: 1380px) {
  .page-home .hero-copy h1 {
    font-size: 36px;
    line-height: 1.1;
  }
}

/* Final 1536px alignment: each homepage region keeps its own reference width. */
@media (min-width: 1381px) {
  .page-home .site-header__inner { width: calc(100% - 70px); max-width: none; }
  .page-home .hero { width: calc(100% - 160px); max-width: none; grid-template-columns: 520px 450px 314px; column-gap: 44px; padding-bottom: 26px; }
  .page-home .hero-copy { padding-left: 0; }
  .page-home .hero-copy h1 { max-width: 520px; line-height: 1.22; }
  .page-home .hero-flow h2, .page-home .hero-result h2 { margin-bottom: 22px; }
  .page-home .flow-line--1 { top: 23px; height: 86px; }
  .page-home .flow-line--2 { top: 89px; height: 42px; }
  .page-home .flow-line--3 { top: 155px; height: 26px; }
  .page-home .flow-line--4 { top: 221px; height: 64px; transform: scaleY(-1); transform-origin: top; }
  .page-home .hero-result { transform: translateX(-13px); }
  .page-home .workspace-preview { width: calc(100% - 100px); max-width: none; padding-top: 0; }
  .page-home .preview-board { grid-template-columns: 212px minmax(0, 1fr) 256px; gap: 0; }
  .page-home .preview-main { margin-right: 14px; }
}

/* Final vertical rhythm after the 1536px comparison pass. */
@media (min-width: 1381px) {
  .page-home .hero { padding: 56px 0 22px; }
  .page-home .hero-copy h1 { margin-bottom: 24px; }
  .page-home .hero-copy__actions { margin-top: 22px; }
  .page-home .hero-flow h2 { margin-bottom: 20px; }
  .page-home .hero-result h2 { margin-bottom: 16px; }
  .page-home .flow-hub { top: 78px; }
}

/* Keep the deliberate headline break readable on narrow phones. */
@media (max-width: 520px) {
  .page-home .hero-copy h1 {
    font-size: 32px;
    line-height: 1.25;
    letter-spacing: -0.06em;
  }

  .page-home .hero-title-line {
    white-space: normal;
  }
}

/* Static decision-template gallery. */
.template-gallery{max-height:min(66vh,620px);overflow:auto;padding-right:4px}.template-gallery__intro{margin:0 0 14px;color:#59627f}.template-gallery__filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}.template-filter,.template-card{font:inherit}.template-filter{border:1px solid #dce2f6;background:#fff;border-radius:999px;padding:7px 11px;color:#40496a;cursor:pointer}.template-filter.is-active{background:#eef0ff;border-color:#5960ef;color:#4149d8}.template-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.template-card{display:grid;grid-template-columns:auto 1fr;gap:6px 9px;text-align:left;border:1px solid #dfe4f3;border-radius:14px;background:#fff;padding:14px;cursor:pointer;color:#18213a}.template-card:hover,.template-card:focus-visible{border-color:#5860ed;box-shadow:0 0 0 3px rgba(88,96,237,.14);outline:none}.template-card__icon{font-size:22px;grid-row:span 2}.template-card__category{font-size:12px;color:#5960ed}.template-card p,.template-card small{grid-column:1/-1;margin:0;color:#59627f;line-height:1.45}.template-card small{font-size:12px;color:#7b829d}.template-preview{max-height:min(62vh,560px);overflow:auto;padding-right:4px}.template-preview>p{margin-top:0;color:#59627f;line-height:1.55}.template-preview__section{border-top:1px solid #e5e8f3;padding-top:10px;margin-top:10px}.template-preview__section h3{font-size:15px;margin:0 0 7px}.template-preview__section ul{margin:0;padding-left:18px;color:#48516e;line-height:1.55}.template-error{margin:0 0 12px;color:#b42318;font-size:14px}@media(max-width:560px){.template-card-grid{grid-template-columns:1fr}.template-gallery{max-height:62vh}.app-dialog{max-height:90vh;overflow:auto}}
/* Browser-local host decision recovery UI. */
.my-decisions__list{display:grid;gap:12px;margin:16px 0}.my-decisions__item{border:1px solid #dfe4f3;border-radius:12px;padding:14px;display:flex;flex-wrap:wrap;gap:8px;align-items:center}.my-decisions__item strong,.my-decisions__item p{flex-basis:100%;margin:0}.my-decisions__item p{font-size:13px;color:#59627f}.management-link-warning{margin:6px 0 0;font-size:12px;color:#8a3b00;max-width:260px;overflow-wrap:anywhere;line-height:1.4}.workspace-topbar__actions{flex-wrap:wrap}.workspace-topbar__actions .secondary-button{padding:8px 10px;min-height:36px}@media(max-width:600px){.my-decisions__item button{width:100%}.management-link-warning{font-size:11px;max-width:100%;white-space:normal}}
/* Homepage navigation and workspace density refinement. */
.page-home .site-header__inner{width:min(calc(100% - 64px),1440px);margin:0 auto;gap:32px}.page-home .top-nav{margin-left:auto;gap:30px}.page-home .header-actions{gap:12px;margin-left:8px}.page-home .header-actions .primary-button--small{min-width:132px}.page-home .flow-hub__core{width:72px;height:72px}.page-home .flow-hub__core svg{width:32px;height:32px}.page-home .flow-hub{gap:8px}.page-home .success-badge{white-space:nowrap;line-height:1.2}.page-home .destination-card__header{gap:12px}.page-home .destination-card__header h3{margin-top:7px}.page-home .hero-flow__canvas{min-height:286px}.page-home .flow-list{gap:16px}.page-home .person-row{gap:11px}.page-home .person-row img{width:40px;height:40px}.page-home .soft-chip{min-height:34px;font-size:14px;padding:0 12px}
.page-workspace{background:linear-gradient(180deg,#fafbff 0%,#f5f7fd 100%)}.workspace-topbar{min-height:68px;padding:0 max(24px,calc((100% - 1460px)/2));background:rgba(255,255,255,.94)}.workspace-topbar__brand{gap:22px}.workspace-links{gap:20px}.workspace-links a{font-size:14px}.workspace-topbar__actions{gap:8px}.workspace-layout{width:min(calc(100% - 40px),1380px);margin:16px auto 36px;grid-template-columns:226px minmax(0,1fr) 284px;gap:16px}.workspace-column--left,.workspace-column--right,.workspace-column--main,.workspace-section{gap:14px}.panel--sidebar,.participants-panel,.conditions-grid .panel,.option-card,.invite-card,.result-panel{padding:16px;border-radius:16px}.section-heading h1,.section-heading h2{font-size:20px}.section-heading p{margin-top:5px;font-size:13px;line-height:1.5}.section-card-title{font-size:16px;margin-bottom:12px}.section-card-title span{font-size:12px}.conditions-grid,.invite-grid{gap:14px}.condition-list li,.preference-list li{min-height:42px;gap:9px;padding:0 9px}.condition-list li span,.preference-list li span{font-size:14px}.panel-link{margin-top:12px;font-size:14px}.progress-list{margin-top:14px;gap:8px}.progress-list li{grid-template-columns:30px 1fr;gap:9px;padding:10px}.progress-list strong{font-size:14px}.progress-list p,.participant-list span{font-size:12px}.participant-list{gap:11px;margin-bottom:14px}.participant-list li{grid-template-columns:34px 1fr 16px;gap:8px}.participant-list img{width:34px;height:34px}.participant-list strong{font-size:14px}.result-panel--hero h2{font-size:21px}.score-row strong{font-size:42px}.summary-bars{gap:12px;margin-top:14px}.option-grid{gap:14px}.chip-button{min-height:34px;font-size:13px;padding:0 12px}.workspace-topbar button,.workspace-topbar .secondary-button{min-height:36px;font-size:13px}
@media(max-width:1100px){.page-home .site-header__inner{width:min(calc(100% - 40px),1000px)}.workspace-layout{grid-template-columns:220px minmax(0,1fr);width:min(calc(100% - 28px),1000px)}.workspace-column--right{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.page-home .site-header__inner{width:calc(100% - 28px);gap:14px}.page-home .top-nav{order:3;margin-left:0;gap:18px}.page-home .header-actions{margin-left:auto}.page-home .hero-flow__canvas{min-height:auto}.workspace-topbar{padding:12px 16px}.workspace-layout{width:calc(100% - 24px);margin:12px auto 24px}.workspace-column--right{grid-template-columns:1fr}.management-link-warning{width:100%;max-width:none}.section-heading{align-items:flex-start}.section-heading .secondary-button{width:auto}.workspace-topbar__actions{width:100%}}
@media(max-width:560px){.page-home .header-actions{width:auto;flex-direction:row;align-items:center}.page-home .header-actions .primary-button{width:auto}.page-home .top-nav{font-size:13px}.page-home .flow-hub__core{width:62px;height:62px}.page-home .flow-hub__core svg{width:28px;height:28px}.page-home .success-badge{white-space:normal;max-width:150px;padding:5px 9px}.workspace-links{width:100%;overflow-x:auto}.workspace-topbar__actions .secondary-button{width:auto}.workspace-layout{grid-template-columns:1fr}.section-heading h1,.section-heading h2{font-size:18px}.panel--sidebar,.participants-panel,.conditions-grid .panel,.option-card,.invite-card,.result-panel{padding:14px}}
/* Hero connector system and workspace information hierarchy. */
.page-home .confetti{display:none}.page-home .hero{align-items:start}.page-home .hero-flow__canvas{position:relative;display:block;min-height:284px}.page-home .flow-list{position:relative;z-index:2;display:grid;gap:18px}.page-home .flow-lines{position:absolute;inset:0;z-index:1;pointer-events:none}.page-home .flow-line{left:auto;right:88px;width:112px;height:0;border:0;border-top:2px dashed #c8d0ff;border-radius:0;opacity:1;transform:none}.page-home .flow-line::after{content:"";position:absolute;right:-20px;top:-1px;width:20px;height:var(--curve,34px);border-right:2px dashed #c8d0ff;border-top:2px dashed #c8d0ff;border-radius:0 40px 0 0}.page-home .flow-line--1{top:51px;--curve:38px}.page-home .flow-line--2{top:115px;--curve:20px}.page-home .flow-line--3{top:179px;--curve:20px}.page-home .flow-line--4{top:243px;--curve:38px;transform:scaleY(-1)}.page-home .flow-hub{position:absolute;z-index:3;right:-8px;top:96px;gap:10px}.page-home .flow-hub__core{width:68px;height:68px;box-shadow:0 14px 32px rgba(68,84,181,.14)}.page-home .flow-hub__core svg{width:30px;height:30px}.page-home .flow-hub__arrow{width:24px;height:24px}.page-home .destination-card--hero{padding:20px}.page-home .destination-card__header{align-items:start}.page-home .success-badge{white-space:nowrap}.page-home .destination-card .metric-list{margin:14px 0 16px}
.page-workspace .workspace-layout{grid-template-columns:232px minmax(0,1fr) 294px;gap:20px;align-items:start}.page-workspace .workspace-column--left,.page-workspace .workspace-column--right{gap:18px}.page-workspace .workspace-column--main{gap:22px}.page-workspace .workspace-section{gap:15px}.page-workspace .workspace-section+.workspace-section{padding-top:4px;border-top:1px solid rgba(223,228,243,.72)}.page-workspace .section-heading{padding:2px 2px 0}.page-workspace .section-heading h1{font-size:25px;color:#222c51;letter-spacing:-.055em}.page-workspace .section-heading h2{font-size:20px;color:#252e50}.page-workspace .section-heading p{font-size:14px;line-height:1.55}.page-workspace .conditions-grid .panel,.page-workspace .invite-card,.page-workspace .option-card{border:1px solid #e3e8f5;box-shadow:0 10px 24px rgba(57,72,135,.05)}.page-workspace .conditions-grid .panel{min-height:212px;display:flex;flex-direction:column;padding:20px}.page-workspace .section-card-title{font-size:18px;margin-bottom:15px}.page-workspace .section-card-title span{font-size:13px}.page-workspace .condition-list,.page-workspace .preference-list{gap:9px}.page-workspace .condition-list li,.page-workspace .preference-list li{min-height:46px;background:#fbfcff;border-color:#e8ecf6}.page-workspace .condition-list li button,.page-workspace .preference-list li button,.page-workspace .option-card .chip-button{min-height:30px;padding:0 9px;border:1px solid #e0e5f3;border-radius:8px;background:#fff;color:#6370af;font-size:12px;box-shadow:none}.page-workspace .panel-link{display:inline-flex;align-items:center;justify-content:center;min-height:38px;margin-top:auto;padding:0 12px;border:1px dashed #bfc9f4;border-radius:10px;background:#fafbff;font-size:13px;text-align:left}.page-workspace .option-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.page-workspace .option-card{min-height:154px;padding:17px}.page-workspace .option-card h3{font-size:17px;margin:7px 0 10px}.page-workspace .option-card__label{font-size:12px}.page-workspace .option-card__footer{margin-top:auto;padding-top:12px;align-items:center;border-top:1px solid #edf0f7}.page-workspace .invite-grid{gap:14px}.page-workspace .invite-card{padding:19px}.page-workspace .invite-card label{font-size:15px;margin-bottom:10px}.page-workspace .invite-input{gap:8px}.page-workspace .invite-input input{height:44px;background:#fbfcff}.page-workspace .invite-input .chip-button{min-height:44px;padding:0 14px;border:1px solid #d5dcf5;border-radius:10px;background:#fff;color:#4f5fe4}.page-workspace .panel--sidebar{padding:18px}.page-workspace .panel--sidebar h2,.page-workspace .participants-panel h2{font-size:18px}.page-workspace .progress-list{position:relative;gap:5px}.page-workspace .progress-list li{position:relative;grid-template-columns:32px 1fr;padding:12px 10px}.page-workspace .progress-list li.is-current{box-shadow:inset 3px 0 0 #5567eb}.page-workspace .progress-list li span{width:27px;height:27px}.page-workspace .progress-list strong{font-size:14px}.page-workspace .progress-list p{margin-top:3px;line-height:1.35}.page-workspace .participants-panel{padding:18px}.page-workspace .participant-list{gap:10px}.page-workspace .participant-list li{padding:5px 0}.page-workspace .workspace-column--right .result-panel{padding:19px;border:1px solid #e2e7f2;box-shadow:0 10px 24px rgba(57,72,135,.05)}.page-workspace .result-panel--hero{border-color:#e4d7aa;background:linear-gradient(145deg,#fffef8,#fff)}.page-workspace .result-panel--hero h2{font-size:22px;line-height:1.3}.page-workspace .result-panel h3{font-size:16px}.page-workspace .summary-bars li{grid-template-columns:minmax(0,1fr) 78px auto;font-size:13px}.page-workspace .reason-list{gap:9px}.page-workspace .reason-list li{font-size:13px}.page-workspace .result-panel .secondary-button{border-color:#d5dcf5;background:#fff;color:#4f5fe4}.page-workspace .result-panel .primary-button,.page-workspace .result-panel .secondary-button{min-height:40px;font-size:13px}
@media(max-width:1120px){.page-home .hero{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px}.page-home .hero-copy{grid-column:1/-1;padding-left:0;max-width:720px}.page-home .hero-flow{min-width:0}.page-home .hero-result{min-width:0}.page-home .flow-hub{right:4px}.page-home .flow-line{right:80px;width:calc(100% - 190px)}.page-workspace .workspace-layout{grid-template-columns:220px minmax(0,1fr);gap:16px}.page-workspace .workspace-column--right{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr))}.page-workspace .option-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.page-home .hero{grid-template-columns:1fr;gap:28px;padding-top:32px}.page-home .hero-copy{padding:0}.page-home .hero-copy p{font-size:16px;line-height:1.6}.page-home .hero-flow__canvas{min-height:300px}.page-home .flow-list{gap:15px}.page-home .person-row{gap:9px}.page-home .person-row img{width:38px;height:38px}.page-home .person-row__chips{gap:7px}.page-home .soft-chip{min-height:34px;padding:0 10px;font-size:13px}.page-home .flow-line{right:66px;width:calc(100% - 148px)}.page-home .flow-line::after{right:-16px;width:16px}.page-home .flow-line--1{top:43px}.page-home .flow-line--2{top:101px}.page-home .flow-line--3{top:159px}.page-home .flow-line--4{top:217px}.page-home .flow-hub{right:0;top:113px}.page-home .flow-hub__core{width:60px;height:60px}.page-home .flow-hub__core svg{width:27px;height:27px}.page-home .hero-result{width:min(100%,420px);margin:0 auto}.page-home .destination-card--hero{padding:18px}.page-home .destination-card__header{grid-template-columns:92px minmax(0,1fr)}.page-home .destination-card__header img{width:92px;height:58px}.page-home .destination-card__header h3{font-size:18px;white-space:normal}.page-home .success-badge{white-space:normal;min-height:auto;padding:5px 8px;line-height:1.35}.page-workspace .workspace-layout{grid-template-columns:1fr}.page-workspace .workspace-column--main{order:1}.page-workspace .workspace-column--right{order:2;grid-column:auto;grid-template-columns:1fr}.page-workspace .workspace-column--left{order:3}.page-workspace .workspace-section+.workspace-section{padding-top:14px}.page-workspace .conditions-grid,.page-workspace .invite-grid,.page-workspace .option-grid{grid-template-columns:1fr}.page-workspace .conditions-grid .panel{min-height:0}.page-workspace .section-heading{gap:10px}.page-workspace .section-heading .secondary-button{width:auto}.page-workspace .workspace-column--right .result-panel{padding:17px}}
@media(max-width:440px){.page-home .hero-copy h1{font-size:31px}.page-home .hero-flow__canvas{min-height:278px}.page-home .person-row__chips{flex-wrap:nowrap}.page-home .soft-chip{font-size:12px;padding:0 8px}.page-home .flow-line{right:56px;width:calc(100% - 136px)}.page-home .flow-line--1{top:43px}.page-home .flow-line--2{top:99px}.page-home .flow-line--3{top:155px}.page-home .flow-line--4{top:211px}.page-home .flow-hub{top:105px}.page-home .flow-hub__arrow{display:none}.page-home .destination-card .metric-list{font-size:13px}.page-workspace .section-heading h1{font-size:22px}.page-workspace .section-heading h2{font-size:18px}.page-workspace .invite-input{flex-wrap:nowrap}.page-workspace .invite-input input{font-size:13px}.page-workspace .invite-input .chip-button{padding:0 10px;font-size:12px}}
.page-home .hero-result .confetti{display:none!important}

.dialog-actions .template-back-button{margin-right:auto}@media(max-width:560px){.dialog-actions:has(.template-back-button){flex-wrap:wrap}.dialog-actions .template-back-button{flex-basis:100%;margin-right:0}}

/* Public invitation entry. */
.join-public-invite{display:grid;gap:13px;margin:18px 0;padding:16px;border:1px solid #e1e6f4;border-radius:14px;background:#fbfcff}.join-public-invite h2,.join-public-invite p{margin:0}.join-public-invite p{color:#59657d;line-height:1.55}.join-public-invite form{display:grid;gap:10px}.join-public-invite label{display:grid;gap:6px;color:#35405a;font-weight:700}.join-public-invite input{min-height:42px;padding:0 11px;border:1px solid #ccd5ee;border-radius:9px;font:inherit}.join-public-invite button{justify-self:start;cursor:pointer}
.join-public-invite__previous{display:grid;gap:8px;padding:13px;border:1px solid #d9e0f5;border-radius:10px;background:#f3f5ff}.join-participant-invite [data-participant-invite-actions]{display:flex;flex-wrap:wrap;gap:8px}

.app-dialog:has(.participant-response-detail){max-width:min(700px,calc(100vw - 28px))}.participant-response-detail{gap:18px}.participant-response-detail__header{padding-bottom:2px}.participant-response-detail__summary-item,.participant-response-detail__stats>div{min-height:72px;align-content:start;gap:7px}.participant-response-detail__summary-item strong,.participant-response-detail__stats strong{font-size:14px;line-height:1.45;overflow-wrap:anywhere}.participant-response-detail__ratings{display:grid;gap:9px}.participant-response-detail__ratings h3{font-size:16px}.participant-response-detail__bar-row{display:grid;gap:7px;padding:11px 12px;border:1px solid #e6eaf4;border-radius:11px;background:#fff}.participant-response-detail__bar-row>div{align-items:baseline}.participant-response-detail__bar-row strong{line-height:1.45;overflow-wrap:anywhere}.participant-response-detail__bar-row small{color:#56647e;font-size:12px}.participant-response-detail__notes{display:grid;gap:6px}.participant-response-detail__excluded li{line-height:1.45}

/* Keep decision history readable without allowing a long list to grow the dialog. */
.app-dialog.dashboard-history-dialog{width:min(720px,calc(100vw - 28px));max-height:min(760px,calc(100vh - 28px));display:flex;flex-direction:column;padding:28px 30px}.app-dialog.dashboard-history-dialog form{display:flex;flex:1;flex-direction:column;min-height:0}.dashboard-history{display:grid;gap:10px;min-height:0;max-height:min(520px,calc(100vh - 230px));overflow-y:auto;padding:2px 7px 2px 2px;overscroll-behavior:contain}.dashboard-history__row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 18px;align-items:start;padding:14px 15px;border:1px solid #e1e7f2;border-radius:13px;background:linear-gradient(135deg,#fff,#fafbff);box-shadow:0 4px 12px rgba(38,51,91,.035)}.dashboard-history__content{min-width:0;color:#27314b;font-size:15px;line-height:1.55;font-weight:750;overflow-wrap:anywhere;word-break:keep-all}.dashboard-history__meta{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:7px;min-width:0;color:#68758e;font-size:12px;line-height:1.4}.dashboard-history__time{font-variant-numeric:tabular-nums}.dashboard-history__actor{padding:3px 8px;border-radius:999px;background:#eef1ff;color:#5364c7;font-weight:750;white-space:nowrap}.dashboard-history__empty{margin:0;padding:16px;border:1px dashed #d6ddec;border-radius:12px;background:#fafbff;color:#64718a;line-height:1.55}.app-dialog.dashboard-history-dialog .dialog-actions{flex:none;margin-top:16px}
@media(max-width:560px){.app-dialog.dashboard-history-dialog{width:min(100%,calc(100vw - 20px));max-height:calc(100vh - 20px);padding:22px 18px}.dashboard-history{max-height:calc(100vh - 208px);padding-right:4px}.dashboard-history__row{grid-template-columns:1fr;gap:9px;padding:13px}.dashboard-history__meta{justify-content:flex-start}.app-dialog.dashboard-history-dialog .dialog-actions{margin-top:14px}}

/* Keep decision history readable without allowing a long list to grow the dialog. */
.app-dialog.dashboard-history-dialog{width:min(720px,calc(100vw - 28px));max-height:min(760px,calc(100vh - 28px));display:flex;flex-direction:column;padding:28px 30px}.app-dialog.dashboard-history-dialog form{display:flex;flex:1;flex-direction:column;min-height:0}.dashboard-history{display:grid;gap:10px;min-height:0;max-height:min(520px,calc(100vh - 230px));overflow-y:auto;padding:2px 7px 2px 2px;overscroll-behavior:contain}.dashboard-history__row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 18px;align-items:start;padding:14px 15px;border:1px solid #e1e7f2;border-radius:13px;background:linear-gradient(135deg,#fff,#fafbff);box-shadow:0 4px 12px rgba(38,51,91,.035)}.dashboard-history__content{min-width:0;color:#27314b;font-size:15px;line-height:1.55;font-weight:750;overflow-wrap:anywhere;word-break:keep-all}.dashboard-history__meta{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:7px;min-width:0;color:#68758e;font-size:12px;line-height:1.4}.dashboard-history__time{font-variant-numeric:tabular-nums}.dashboard-history__actor{padding:3px 8px;border-radius:999px;background:#eef1ff;color:#5364c7;font-weight:750;white-space:nowrap}.dashboard-history__empty{margin:0;padding:16px;border:1px dashed #d6ddec;border-radius:12px;background:#fafbff;color:#64718a;line-height:1.55}.app-dialog.dashboard-history-dialog .dialog-actions{flex:none;margin-top:16px}
@media(max-width:560px){.app-dialog.dashboard-history-dialog{width:min(100%,calc(100vw - 20px));max-height:calc(100vh - 20px);padding:22px 18px}.dashboard-history{max-height:calc(100vh - 208px);padding-right:4px}.dashboard-history__row{grid-template-columns:1fr;gap:9px;padding:13px}.dashboard-history__meta{justify-content:flex-start}.app-dialog.dashboard-history-dialog .dialog-actions{margin-top:14px}}
@media(max-width:520px){.join-public-invite{padding:14px}.participant-response-detail{gap:14px}.participant-response-detail__summary,.participant-response-detail__stats{grid-template-columns:1fr}.participant-response-detail__bar-row{padding:10px}.participant-response-detail__bar-row>div{align-items:flex-start;flex-direction:column;gap:3px}}

/* Shared host response detail for Dashboard and Workspace. */
.participant-response-detail{display:grid;gap:16px;max-width:660px}.participant-response-detail__header{display:flex;flex-wrap:wrap;align-items:center;gap:7px}.participant-response-detail__header>strong{flex:1 1 180px;font-size:18px}.participant-response-detail__header>span,.result-detail__provisional{padding:4px 8px;border-radius:999px;background:#eef1ff;color:#4f5fe4;font-size:12px;font-weight:700}.participant-response-detail__header>span:last-child{background:#e9f8f1;color:#22865c}.participant-response-detail__summary,.participant-response-detail__stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px}.participant-response-detail__summary-item,.participant-response-detail__stats>div{display:grid;gap:4px;padding:12px;border:1px solid #e3e8f5;border-radius:12px;background:#fbfcff}.participant-response-detail small{color:#6b7690;font-size:12px}.participant-response-detail__ratings h3,.participant-response-detail__excluded h3{margin:0 0 9px;font-size:15px}.participant-response-detail__ratings ul,.participant-response-detail__excluded ul,.result-detail__satisfaction-list{display:grid;gap:10px;margin:0;padding:0;list-style:none}.participant-response-detail__bar-row{display:grid;gap:6px}.participant-response-detail__bar-row>div,.result-detail__satisfaction-list li>div{display:flex;justify-content:space-between;gap:12px;min-width:0}.participant-response-detail__bar-row strong,.result-detail__satisfaction-list strong{min-width:0;overflow-wrap:anywhere}.participant-response-detail__bar-row small{flex:none}.participant-response-detail__bar,.result-detail__satisfaction-list li>span{display:block;overflow:hidden;height:8px;border-radius:999px;background:#e8ecf7}.participant-response-detail__bar i,.result-detail__satisfaction-list i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#5968ef,#7b8cff)}.participant-response-detail__excluded li{padding:9px 11px;border-radius:10px;background:#fff7f7;color:#7d4350;font-size:13px}.participant-response-detail__notes{padding:12px;border-radius:12px;background:#f8f9fc}.participant-response-detail__notes h3,.participant-response-detail__notes p{margin:0}.participant-response-detail__notes h3{margin-bottom:6px;font-size:15px}.participant-response-detail__notes p{line-height:1.55;white-space:pre-wrap}.result-detail__satisfaction{display:grid;gap:10px;margin:14px 0;padding:14px;border:1px solid #e3e8f5;border-radius:14px;background:#fbfcff}.result-detail__satisfaction h3{margin:0;font-size:16px}.result-detail__satisfaction-overview{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.result-detail__satisfaction-overview>strong{font-size:30px;color:#4f5fe4}.result-detail__satisfaction .result-detail__metrics{flex:1;grid-template-columns:repeat(3,minmax(0,1fr));margin:0}.result-detail__satisfaction .result-detail__metrics>div{padding:8px}.result-detail__satisfaction .result-detail__metrics strong:empty{display:none}.result-detail__satisfaction-list li{display:grid;gap:6px}.result-detail__satisfaction-list small{color:#64708d;font-size:12px}@media(max-width:520px){.participant-response-detail__header>strong{flex-basis:100%}.participant-response-detail__summary,.participant-response-detail__stats{grid-template-columns:1fr 1fr}.result-detail__satisfaction .result-detail__metrics{grid-template-columns:1fr}.result-detail__satisfaction-overview>strong{font-size:26px}}
.participant-response-detail__summary-block{display:grid;gap:9px}.participant-response-detail__summary-block h3{margin:0;font-size:16px}.participant-response-detail__approval{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;border:1px solid #b8e4cd;border-radius:12px;background:#f1fbf5}.participant-response-detail__approval.is-oppose{border-color:#f0c7ce;background:#fff5f6}.participant-response-detail__approval strong{font-size:17px;color:#247c55}.participant-response-detail__approval.is-oppose strong{color:#a33c4d}
.participant-response-detail__panel{padding:15px;border:1px solid #e1e7f4;border-radius:14px;background:#fff}.participant-response-detail__summary{gap:0;border:1px solid #edf0f7;border-radius:11px;overflow:hidden}.participant-response-detail__summary-item{grid-template-columns:minmax(115px,1fr) minmax(0,1.4fr);align-items:center;min-height:0;padding:12px 14px;border:0;border-bottom:1px solid #edf0f7;border-radius:0;background:#fff}.participant-response-detail__summary-item:last-child{border-bottom:0}.participant-response-detail__summary-item small{margin:0;color:#58657d;font-size:13px}.participant-response-detail__summary-item strong{font-size:15px;color:#202c48}.participant-response-detail__stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.participant-response-detail__stats>div{min-width:0;min-height:96px;place-content:center;text-align:center;background:#f9faff}.participant-response-detail__stats strong{font-size:16px;color:#28345f;overflow-wrap:anywhere}.participant-response-detail__ratings ul{gap:8px}.participant-response-detail__bar-row{padding:12px 13px;border-color:#e2e8f5;border-radius:11px;background:#fff}.participant-response-detail__score{padding:4px 8px;border-radius:999px;background:#eef1ff;color:#4e61d8;font-weight:700;white-space:nowrap}.participant-response-detail__bar-row.is-excluded .participant-response-detail__score{background:#fff0f2;color:#b44455}.participant-response-detail__bar-row.is-excluded .participant-response-detail__bar i{background:linear-gradient(90deg,#e49aa5,#eeaab2)}.participant-response-detail__notes{background:#f8faff}.participant-response-detail__excluded{display:none}
.participant-response-detail__status-row{display:flex;flex-wrap:wrap;gap:7px}.participant-response-detail__section-heading{display:flex;align-items:center;min-width:0;margin-bottom:10px}.participant-response-detail__section-heading h3{margin:0;font-size:16px}.participant-response-detail__stat{min-width:0}.participant-response-detail__ratings{display:grid;gap:8px;margin:0;padding:0;list-style:none}.participant-response-detail__panel--overview .participant-response-detail__stats{margin:0}.participant-response-detail__panel--ratings,.participant-response-detail__panel--preferences{display:grid;gap:0}
@media(max-width:520px){.participant-response-detail__panel{padding:12px}.participant-response-detail__summary-item{grid-template-columns:1fr;gap:4px;padding:11px 12px}.participant-response-detail__stats{grid-template-columns:1fr 1fr}.participant-response-detail__stats>div{min-height:82px}.participant-response-detail__bar-row>div{flex-direction:row;align-items:center}.participant-response-detail__score{font-size:11px}.participant-response-detail__section-heading{margin-bottom:8px}}
.hero-target-card,.hero-target-card-head,.hero-target-card-head>div,.hero-target-metrics li{min-width:0}.hero-target-card-head h3,.hero-target-metrics li{overflow-wrap:anywhere}.participant-response-detail,.participant-response-detail *{min-width:0}.participant-response-detail__summary-item strong,.participant-response-detail__stats strong{overflow-wrap:anywhere;word-break:normal}.participant-response-detail__summary-item{line-height:1.45}.participant-response-detail__summary-item small{display:block;margin-bottom:3px}.participant-response-detail__bar-row>div{align-items:flex-start}.participant-response-detail__bar-row small{text-align:right;white-space:normal}.participant-response-detail__notes p{overflow-wrap:anywhere}

/* Public result visual refresh: only the existing public payload is rendered. */
.result-page .result-score-guide{gap:12px!important}
.result-page .result-main{width:min(1040px,calc(100% - 48px))!important;margin:38px auto 56px!important}.result-page .result-card--public{padding:42px 48px!important;border-radius:24px!important;border-color:#dce4f2!important;box-shadow:0 22px 54px rgba(43,59,103,.12)!important}.result-page .result-eyebrow{min-height:30px!important;margin-bottom:12px!important;padding:0 11px!important;border-radius:9px!important;font-size:14px!important}.result-page .result-card--public h1{font-size:38px!important;line-height:1.18!important}.result-page .result-description{max-width:760px!important;margin-top:12px!important;font-size:16px!important}
.result-page .result-winner{position:relative;isolation:isolate;display:grid!important;min-height:190px;align-content:center;justify-items:center;gap:9px;margin:28px 0 30px!important;padding:28px min(17%,146px)!important;overflow:hidden;border:1px solid #c9d2ff!important;border-radius:18px!important;background:linear-gradient(135deg,#f3f5ff 0%,#f8f9ff 48%,#edf0ff 100%)!important;box-shadow:inset 0 1px rgba(255,255,255,.8)!important;text-align:center}.result-page .result-winner[hidden]{display:none!important}.result-winner__decoration{position:absolute;inset:0;z-index:-1;width:100%;height:100%;object-fit:contain;opacity:.86;pointer-events:none}.result-page .result-winner p{min-height:28px!important;margin:0!important;padding:4px 11px!important;border-color:#d4dafc!important;background:rgba(255,255,255,.86)!important;color:#5060d8!important;font-size:13px!important}.result-page .result-winner strong{position:relative;max-width:100%;color:#3f50d8!important;font-size:37px!important;line-height:1.2!important;letter-spacing:-.055em!important;word-break:keep-all;overflow-wrap:break-word}.result-page .result-winner b{position:relative;max-width:100%;color:#37425e!important;font-size:14px!important;line-height:1.55!important;font-variant-numeric:tabular-nums;word-break:keep-all;overflow-wrap:break-word}
.result-page .result-ranking{display:grid;gap:0}.result-page .result-ranking h2{margin:0 0 14px!important;font-size:21px!important}.result-page .result-ranking ol{gap:11px!important}.result-page .result-rank-card{grid-template-columns:42px minmax(0,1fr) auto!important;gap:14px!important;min-height:64px;padding:15px 18px!important;border-radius:14px!important}.result-page .result-rank-card.is-selected{border-color:#7283f5!important;background:linear-gradient(90deg,#f2f4ff,#fff)!important;box-shadow:0 9px 20px rgba(83,101,223,.12)!important}.result-rank-card__rank{width:34px!important;height:34px!important;font-size:16px!important}.result-rank-card__copy{gap:5px!important}.result-rank-card__copy>strong{font-size:16px!important;line-height:1.4;word-break:keep-all;overflow-wrap:break-word}.result-rank-card__breakdown{font-size:13px!important;line-height:1.5!important;word-break:keep-all;overflow-wrap:break-word}.result-rank-card__score{font-size:19px!important;font-variant-numeric:tabular-nums}.result-page .result-score-guide{grid-template-columns:38px minmax(0,1fr);gap:12px;margin:14px 0 0!important;padding:16px 18px!important;border-radius:14px!important;background:linear-gradient(135deg,#f3f6ff,#fafbff)!important}.result-page .result-score-guide::before{content:'i';display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#5063dc;color:#fff;font-weight:900}.result-page .result-score-guide strong{font-size:15px!important}.result-page .result-score-guide p{font-size:13px!important}.result-page .result-tie-note{margin-top:12px!important;padding:13px 15px!important;border-radius:12px!important}.result-page .result-actions{grid-template-columns:minmax(232px,1fr);justify-content:center;justify-items:center;gap:10px;margin-top:24px!important}.result-page .result-actions [data-share]{min-width:244px!important;min-height:50px!important;border-radius:11px!important;font-size:16px!important}.result-page .result-state{font-size:13px!important}.result-page .result-privacy{margin-top:20px!important;font-size:12px!important}
@media(max-width:600px){.result-page .result-main{width:calc(100% - 24px)!important;margin:20px auto 30px!important}.result-page .result-card--public{padding:26px 18px!important;border-radius:18px!important}.result-page .result-card--public h1{font-size:29px!important}.result-page .result-description{font-size:14px!important}.result-page .result-winner{min-height:174px;margin:22px 0 24px!important;padding:23px 48px!important;border-radius:15px!important}.result-winner__decoration{width:calc(100% + 56px);max-width:none;left:50%;right:auto;transform:translateX(-50%);opacity:.66}.result-page .result-winner strong{font-size:27px!important}.result-page .result-winner b{font-size:12px!important}.result-page .result-ranking h2{font-size:19px!important}.result-page .result-rank-card{grid-template-columns:34px minmax(0,1fr)!important;gap:11px!important;padding:14px!important}.result-page .result-rank-card__score{grid-column:2;font-size:16px!important}.result-rank-card__rank{width:30px!important;height:30px!important}.result-rank-card__copy>strong{font-size:15px!important}.result-rank-card__breakdown{font-size:12px!important}.result-page .result-score-guide{grid-template-columns:32px minmax(0,1fr);padding:14px!important}.result-page .result-score-guide::before{width:29px;height:29px}.result-page .result-actions{justify-items:stretch}.result-page .result-actions [data-share]{width:100%;min-width:0!important}}
.result-page .result-score-guide{display:grid;gap:3px;margin:14px 0 0;padding:13px 15px;border:1px solid #d8e1fb;border-radius:11px;background:#f6f8ff;color:#4e5f9a}.result-page .result-score-guide strong{font-size:14px}.result-page .result-score-guide p{margin:0;color:#64718c;font-size:12px;line-height:1.5}.result-page .result-score-guide[hidden]{display:none}
@media(min-width:601px){.result-page .simple-header{padding-inline:40px!important}}
.result-page{overflow-x:hidden;background:radial-gradient(circle at 0 0,#edf1ff 0,transparent 24rem),radial-gradient(circle at 100% 78%,#eff3ff 0,transparent 24rem),#f7f9ff}.result-page .simple-header{min-height:64px;box-sizing:border-box;padding:16px max(28px,calc((100% - 1440px)/2));border-color:#e3e8f3;background:rgba(255,255,255,.94);box-shadow:0 5px 18px rgba(38,52,91,.035)}.result-page .simple-brand{display:inline-flex;align-items:center;gap:9px;font-size:20px;letter-spacing:-.04em}.result-page .simple-brand::before{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:linear-gradient(135deg,#5365ef,#6b7bf3);color:#fff;content:'S';font-size:20px;font-weight:900;font-style:italic}.result-header__label{color:#39435d;font-size:14px;font-weight:800}.result-page .result-main{width:min(960px,calc(100% - 32px));margin:32px auto 40px}.result-page .result-card--public{box-sizing:border-box;padding:34px 42px;border-color:#dce4f1;border-radius:22px;background:rgba(255,255,255,.97);box-shadow:0 18px 44px rgba(43,59,103,.12)}.result-page .result-eyebrow{display:inline-flex;align-items:center;min-height:28px;margin:0 0 10px;padding:0 10px;border-radius:8px;background:#eef0ff;color:#5060d8;font-size:14px;font-weight:800}.result-page .result-card--public h1{margin:0;color:#1f2a46;font-size:34px;line-height:1.22;letter-spacing:-.055em;overflow-wrap:anywhere}.result-page .result-description{max-width:680px;margin:10px 0 0;color:#5f6c85;font-size:15px;line-height:1.6;overflow-wrap:anywhere}.result-page .result-winner{display:grid;justify-items:center;gap:8px;margin:24px 0 28px;padding:26px 22px;border-color:#cfd6ff;border-radius:16px;background:linear-gradient(135deg,#f4f5ff,#eef0ff 48%,#fbfcff);box-shadow:none;text-align:center}.result-page .result-winner p{margin:0;padding:4px 10px;border:1px solid #d4dafc;border-radius:999px;background:#fff;color:#5060d8;font-size:13px;font-weight:800}.result-page .result-winner strong{max-width:100%;color:#3f50d8;font-size:32px;line-height:1.25;letter-spacing:-.045em;overflow-wrap:anywhere}.result-page .result-winner b{color:#37425e;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.result-page .result-ranking h2{display:flex;align-items:center;gap:8px;margin:0 0 12px;color:#26314d;font-size:20px}.result-page .result-ranking h2::before{color:#5869e8;content:'✦';font-size:21px}.result-page .result-ranking ol{display:grid;gap:10px;margin:0;padding:0;list-style:none}.result-page .result-rank-card{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:12px;min-width:0;padding:15px 16px;border:1px solid #e2e7f1;border-radius:13px;background:#fff;box-shadow:0 4px 10px rgba(43,59,103,.025)}.result-page .result-rank-card.is-selected{border-color:#7e8dff;background:linear-gradient(90deg,#f5f6ff,#fff);box-shadow:0 7px 16px rgba(83,101,223,.11)}.result-rank-card__rank{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#e8ecf4;color:#59657d;font-size:15px;font-weight:900}.result-rank-card.is-selected .result-rank-card__rank{background:#ffe9be;color:#b87312}.result-rank-card__copy{display:grid;gap:4px;min-width:0}.result-rank-card__copy>strong{overflow-wrap:anywhere;color:#2b3651;font-size:15px}.result-rank-card__score{color:#334bc5;font-size:17px;white-space:nowrap}.result-rank-card__breakdown{color:#68748d;font-size:12px;line-height:1.4}.result-page .result-tie-note{margin:12px 0 0;padding:12px 14px;border:1px solid #d9e2fb;border-radius:10px;background:#f4f7ff;color:#5365b2;font-size:13px;line-height:1.5}.result-page .result-actions{display:grid;justify-items:center;gap:10px;margin-top:22px}.result-page .result-actions [data-share]{min-width:232px;min-height:48px;border:0;border-radius:10px;background:linear-gradient(135deg,#4253dd,#5d70ef);box-shadow:0 10px 18px rgba(68,84,223,.2);color:#fff;font-size:15px}.result-page .result-actions [data-share]:disabled{box-shadow:none;opacity:.55}.result-page .result-state{min-height:20px;margin:0;color:#68748d;font-size:13px;text-align:center}.result-page .result-privacy{margin:18px 0 0;color:#68748d;font-size:12px;line-height:1.5;text-align:center}.result-page .result-privacy::before{margin-right:7px;content:'♙';color:#5668db;font-size:14px}
@media(max-width:600px){.result-page .simple-header{padding:14px 16px}.result-page .simple-brand{font-size:17px}.result-page .simple-brand::before{width:25px;height:25px;font-size:17px}.result-header__label{font-size:12px}.result-page .result-main{width:calc(100% - 24px);margin:20px auto 28px}.result-page .result-card--public{padding:24px 18px;border-radius:17px}.result-page .result-card--public h1{font-size:27px}.result-page .result-description{font-size:14px}.result-page .result-winner{margin:20px 0 24px;padding:22px 16px}.result-page .result-winner strong{font-size:26px}.result-page .result-rank-card{grid-template-columns:32px minmax(0,1fr);padding:13px}.result-rank-card__rank{width:29px;height:29px}.result-rank-card__score{grid-column:2;font-size:15px}.result-page .result-actions{justify-items:stretch}.result-page .result-actions [data-share]{width:100%;min-width:0}.result-page .result-privacy{font-size:11px}}

/* Public results expose only the already-calculated aggregate evidence. */
.result-page .result-winner{grid-template-columns:132px minmax(0,1fr);justify-items:stretch;text-align:left;cursor:pointer}.result-page .result-winner__image{width:132px;height:116px;align-self:center;border-radius:14px;object-fit:cover;box-shadow:0 8px 18px rgba(54,72,137,.16)}.result-page .result-winner__copy{display:grid;align-content:center;justify-items:start;gap:7px;min-width:0}.result-page .result-winner__copy>span{color:#5060d8;font-size:12px;font-weight:800}.result-page .result-winner em{color:#334bc5;font-size:21px;font-style:normal;font-weight:900;font-variant-numeric:tabular-nums}.result-page .result-winner:focus-visible,.result-page .result-rank-card:focus-visible{outline:3px solid #5266e8;outline-offset:3px}.result-page .result-rank-card{grid-template-columns:92px 38px minmax(0,1fr) auto;cursor:pointer;text-align:left}.result-page .result-rank-card__image{width:92px;height:72px;border-radius:10px;object-fit:cover;background:#edf1f8}.result-calculation-dialog{width:min(520px,calc(100vw - 28px));max-height:min(680px,calc(100vh - 28px));overflow:auto;border:0;border-radius:18px;box-shadow:0 22px 52px rgba(26,39,77,.25)}.result-calculation-dialog::backdrop{background:rgba(23,34,61,.45)}.result-calculation-dialog form{display:grid;gap:16px;padding:4px}.result-calculation-dialog h2{margin:0;color:#233153;font-size:21px}.result-calculation-detail{display:grid;gap:0;margin:0;border:1px solid #dfe6f3;border-radius:12px;overflow:hidden}.result-calculation-detail>div{display:grid;gap:5px;padding:12px 14px;border-bottom:1px solid #e5eaf4}.result-calculation-detail>div:last-child{border-bottom:0}.result-calculation-detail dt{color:#66748d;font-size:12px;font-weight:800}.result-calculation-detail dd{margin:0;color:#283756;font-size:15px;line-height:1.5;overflow-wrap:anywhere}.result-calculation-dialog__privacy{margin:0;color:#68758d;font-size:12px;line-height:1.5}.result-calculation-dialog button{justify-self:end;min-height:40px;padding:0 16px;border:0;border-radius:9px;background:#4d5fe0;color:#fff;font:inherit;font-weight:800;cursor:pointer}
@media(max-width:600px){.result-page .result-winner{grid-template-columns:88px minmax(0,1fr);gap:13px;padding:16px!important}.result-page .result-winner__image{width:88px;height:88px;border-radius:11px}.result-page .result-winner em{font-size:18px}.result-page .result-rank-card{grid-template-columns:68px 30px minmax(0,1fr);gap:9px}.result-page .result-rank-card__image{width:68px;height:60px}.result-page .result-rank-card__score{grid-column:3}.result-calculation-dialog{padding:16px}.result-calculation-dialog h2{font-size:18px}}
