/* Shared by the English and Spanish releases. No external fonts or UI dependencies. */
.sim-chat,.sim-profile-form,.sim-result-score,.sim-float{--sim-ink:#005450;--sim-muted:#586b66;--sim-line:#d8dfd4;--sim-lime:#e6b800;--sim-navy:#005450;box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--sim-ink);text-align:left;line-height:1.5;-webkit-font-smoothing:antialiased;font-size:14px}
.sim-chat *,.sim-profile-form *,.sim-float *{box-sizing:border-box}.sim-chat{background:#fbf7e5;border:1px solid var(--sim-line);border-radius:24px;overflow:hidden;max-width:660px;margin:16px auto;isolation:isolate}
.sim-chat header{padding:22px 24px 20px;background:var(--sim-navy);color:#fff;border:0}.sim-brand{display:flex;gap:9px;align-items:center;margin-bottom:18px}.sim-brand-mark{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:var(--sim-lime);color:var(--sim-navy);font-size:23px;line-height:1;font-weight:500}.sim-chat .sim-kicker{font-size:10px;font-weight:700;letter-spacing:.13em;color:#f4efd8;line-height:1.2}
.sim-chat h2{font-family:inherit;font-size:22px;font-weight:650;letter-spacing:-.7px;line-height:1.2;margin:0 0 8px;color:inherit;text-wrap:balance}.sim-chat header p{font-size:12px;color:#f4efd8;margin:0;line-height:1.5}.sim-chat h3{font-family:inherit;font-size:17px;font-weight:650;line-height:1.35;letter-spacing:-.3px;margin:0 0 10px;color:var(--sim-ink)}.sim-chat p{font-size:13px;margin:8px 0 12px;text-wrap:pretty}
.sim-chat-progress{display:flex;align-items:center;gap:7px;padding:16px 22px 0;font-size:11px;letter-spacing:.025em;font-weight:600;color:var(--sim-muted)}.sim-chat-progress:before{content:"";width:6px;height:6px;border-radius:50%;background:#687d72;flex-shrink:0}.sim-chat[data-mode=chat] .sim-chat-progress:before{background:#005450}.sim-chat-body{padding:18px 22px 20px;min-height:0}
.sim-chat label,.sim-profile-form label{display:block;font-size:12px;font-weight:600;line-height:1.5;margin:0 0 14px;color:var(--sim-ink)}.sim-chat input,.sim-chat select,.sim-chat textarea,.sim-profile-form input{display:block;max-width:100%;width:100%;font:inherit;font-size:14px;font-weight:400;color:var(--sim-ink);background:#fff;border:1px solid #bbc9bf;border-radius:10px;padding:11px 12px;margin:6px 0 0;min-height:44px;height:auto;box-shadow:none}.sim-chat textarea{min-height:88px;resize:vertical}.sim-chat input:focus,.sim-chat select:focus,.sim-chat textarea:focus,.sim-profile-form input:focus{outline:2px solid #005450;outline-offset:2px}.sim-chat textarea::placeholder,.sim-chat input::placeholder{color:#61736b;opacity:1}
.sim-chat button,.sim-profile-form button,.sim-launch{font:inherit;font-size:12px;line-height:1.35;font-weight:600;border:1px solid var(--sim-navy);border-radius:10px;padding:11px 14px;min-height:44px;height:auto;background:var(--sim-lime);color:var(--sim-ink);cursor:pointer;text-transform:none;letter-spacing:0;white-space:normal;box-shadow:none;transition:background-color 150ms ease,border-color 150ms ease,transform 150ms ease}
.sim-chat button:focus-visible,.sim-launch:focus-visible,.sim-close:focus-visible,.sim-chat summary:focus-visible{outline:3px solid #005450;outline-offset:3px}.sim-chat button:active:not(:disabled),.sim-launch:active{transform:scale(.96)}.sim-chat button:disabled{opacity:.55;cursor:wait}.sim-chat .sim-secondary{color:#005450;background:#fff;border-color:#cbd6cc;margin-left:6px}.sim-actions{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.sim-actions .sim-secondary{margin-left:0}.sim-chat .sim-help,.sim-chat .sim-privacy{color:var(--sim-muted);font-size:11px;line-height:1.6}.sim-chat .sim-text-button{background:transparent;border:0;color:#48655b;padding:6px 0;text-decoration:underline;text-underline-offset:3px;font-size:11px;font-weight:400;min-height:40px}
.sim-messages{max-height:270px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#bdcbbf transparent;margin-bottom:16px;padding-right:3px}.sim-message{border:1px solid #e1e4d8;padding:12px 14px;margin:0 20px 12px 0;border-radius:3px 16px 16px 16px;background:#ffffff;overflow-wrap:anywhere}.sim-message:last-child{margin-bottom:0}.sim-message strong{display:block;font-size:10px;font-weight:650;line-height:1.4;color:#48655b;margin-bottom:5px}.sim-chat .sim-message p{font-size:13px;line-height:1.6;margin:0;white-space:pre-wrap}.sim-message-user{margin:0 0 12px 28px;border-radius:16px 3px 16px 16px;background:#f6edcc}.sim-message-user strong{color:#005450}
.sim-chat .sim-composer{border:1px solid #bbc9bf;border-radius:16px;padding:12px;background:#fff;box-shadow:0 2px 6px #00545006;margin:0}.sim-chat .sim-composer:focus-within{border-color:#005450;box-shadow:0 0 0 3px #00545014}.sim-chat .sim-composer-label{margin:0}.sim-chat textarea[name=message]{border:0;border-radius:0;outline:0;box-shadow:none;resize:vertical;padding:0;min-height:64px;max-height:150px;margin:0;font-size:13px;line-height:1.6;background:transparent}.sim-composer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px}.sim-key-hint{font-size:9px;line-height:1.4;color:#586b66;max-width:175px}.sim-chat .sim-send{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:var(--sim-lime);color:var(--sim-ink);border-color:transparent;min-width:86px;min-height:40px;padding:8px 12px;border-radius:9px}.sim-send span{font-size:20px;font-weight:400}.sim-chat .sim-response-status{margin:8px 0 0}.sim-response-status:empty{display:none}
.sim-starters{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 13px}.sim-chat .sim-starter{background:#fff;border:1px solid #cbd6cc;color:#005450;border-radius:22px;padding:8px 13px;font-size:11px;min-height:40px;font-weight:500}.sim-chat-actions{margin:14px 0 6px;display:grid;grid-template-columns:1fr;gap:2px}.sim-chat-actions>button:first-child{width:100%}.sim-chat .sim-chat-actions>.sim-secondary{margin:0;border-color:transparent;background:transparent;color:#48655b;min-height:40px;font-size:11px;font-weight:500;padding:8px}.sim-chat-footer{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;border-top:1px solid #d8dfd4;padding-top:5px}.sim-chat-footer .sim-privacy{flex:1;padding:11px 0 0;font-size:10px}.sim-privacy summary{cursor:pointer;line-height:1.6}.sim-chat .sim-privacy p{font-size:10px;line-height:1.6}.sim-chat-footer .sim-text-button{font-size:10px;flex-shrink:0;text-decoration:none}
.sim-sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.sim-result-score{padding:12px 14px;background:#f3f7ef;border:1px solid #d7e2cf;border-radius:12px;margin:10px 0;font-size:13px;white-space:normal;font-variant-numeric:tabular-nums}.sim-result-score strong{display:block;font-size:15px}.sim-coverage{display:block;font-size:11px;color:#536c58;margin:4px 0 8px}.sim-result-score details{font-size:12px}.sim-result-score summary{cursor:pointer;color:#345c3d}.sim-result-score h4{font-size:12px;font-weight:700;margin:12px 0 4px}.sim-result-score p{margin:4px 0;font-size:12px}.sim-offer{border:1px solid var(--sim-line);border-radius:16px;padding:16px;margin-bottom:12px}.sim-offer .sim-kicker{color:#48655b}.sim-offer h3{margin-top:7px}.sim-offer a{color:var(--sim-ink);text-decoration:none}.sim-offer a:hover{text-decoration:underline}.sim-chat .sim-conflicts,.sim-error{color:#963a25}.sim-chat .sim-unknown{color:#755818}.sim-chat .sim-matched{color:#345d40}
.sim-float{position:fixed;bottom:max(20px,env(safe-area-inset-bottom));right:20px;z-index:99990}.sim-launch{display:flex;align-items:center;justify-content:center;gap:10px;background:var(--sim-navy);color:#fff;font-size:13px;padding:10px 17px 10px 10px;border-radius:40px;box-shadow:0 6px 24px #00545024}.sim-launch-mark{display:grid;place-items:center;width:32px;height:32px;background:var(--sim-lime);color:var(--sim-navy);border-radius:50%;font-size:23px;font-weight:400}.sim-panel{position:absolute;right:0;bottom:66px;width:min(420px,calc(100vw - 32px));max-height:calc(100dvh - 108px);overflow:auto;overscroll-behavior:contain;background:#fff;border:1px solid #cbd6cc;border-radius:24px;box-shadow:0 24px 70px #00545026,0 4px 16px #00545010}.sim-panel .sim-chat{border:0;margin:0;border-radius:0;max-width:none}.sim-panel .sim-chat header{padding-right:56px}.sim-close{position:absolute;right:12px;top:12px;display:grid;place-items:center;width:40px;height:40px;background:transparent;border:0;border-radius:10px;color:#f4efd8;cursor:pointer;padding:0;z-index:1;font:inherit;font-size:25px;line-height:1}.sim-close:hover{background:#ffffff14;color:#fff}.sim-score[hidden],.sim-panel[hidden]{display:none!important}.sim-profile-form{padding:20px;border:1px solid var(--sim-line);border-radius:16px;max-width:700px;margin:20px auto}.sim-applications article{padding:12px 0;border-bottom:1px solid var(--sim-line)}
@media(hover:hover){.sim-chat button:hover:not(:disabled){background:#d5a900}.sim-chat .sim-secondary:hover,.sim-chat .sim-starter:hover{background:#f6f1df}.sim-chat .sim-text-button:hover{background:transparent;color:#005450}.sim-chat .sim-send:hover{background:#d5a900}.sim-chat .sim-chat-actions>.sim-secondary:hover{background:#f6f1df}.sim-launch:hover{background:#003e3b}}
@media(max-width:480px){.sim-float{bottom:max(12px,env(safe-area-inset-bottom));right:12px}.sim-panel{width:calc(100vw - 24px);bottom:62px;max-height:calc(100dvh - 96px);border-radius:20px}.sim-chat header{padding:18px}.sim-panel .sim-chat header{padding-right:52px}.sim-chat h2{font-size:21px}.sim-brand{margin-bottom:14px}.sim-chat-body{padding:16px 18px}.sim-chat-progress{padding:14px 18px 0}.sim-messages{max-height:230px}.sim-chat input,.sim-chat select,.sim-chat textarea[name=message]{font-size:16px}.sim-chat textarea[name=message]{min-height:62px}.sim-key-hint{display:none}.sim-composer-toolbar{justify-content:flex-end}.sim-chat .sim-send{min-height:44px}.sim-chat-footer{gap:8px}}
@media(prefers-reduced-motion:reduce){.sim-chat button,.sim-profile-form button,.sim-launch{transition:none}.sim-chat button:active:not(:disabled),.sim-launch:active{transform:none}}

.sim-profile-summary{border:1px solid #d8dfd4;border-radius:12px;padding:10px 12px;margin:12px 0;font-size:12px}.sim-profile-summary summary{cursor:pointer;font-weight:600}.sim-profile-summary dl{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:5px 12px;margin:10px 0 0}.sim-profile-summary dt{color:#586b66}.sim-profile-summary dd{margin:0;overflow-wrap:anywhere}.sim-response-status:empty{display:none}

/* Compact dashboard scores; theme-independent placement without template overrides. */
.sim-score{font-family:inherit;text-align:start;font-size:13px;line-height:1.4;color:#21382e;max-width:100%}
.sim-score-card{position:relative;container:sim-score-card / inline-size}
.sim-score-card .job-information-right,.sim-score-card .job-information,.sim-score-card .project-information{min-width:0}
.sim-score-job-heading{min-width:0;padding-inline-end:180px}
.sim-score-card .sim-score-offer{position:absolute;inset-block-start:24px;inset-inline-end:24px;z-index:2;display:inline-flex}
.sim-score-card.sim-score-has-favorite .sim-score-offer{inset-inline-end:82px}
.sim-score-heading{display:flex!important;flex-wrap:wrap;align-items:center;gap:8px 12px}
.sim-score-heading .sim-score-applicant{display:inline-flex;margin:0;font-weight:400;flex:0 0 auto}
.sim-match-badge,.sim-match-badge *,.sim-match-dialog,.sim-match-dialog *{box-sizing:border-box}
.sim-match-badge{display:inline-flex;align-items:center;max-width:100%;min-height:44px;border:1px solid #c4d8b7;border-radius:10px;background:#edf5e4;color:#254d3e;font-family:inherit;line-height:1;font-weight:400;white-space:nowrap;font-variant-numeric:tabular-nums}
.sim-match-badge-label{display:inline-flex;align-items:baseline;gap:8px;padding:0 0 0 12px}
.sim-match-number{display:inline-flex;align-items:baseline;gap:2px}.sim-match-number strong{font-size:17px;font-weight:750;color:inherit;line-height:1.1}.sim-match-denominator{font-size:12px;font-weight:500;color:#4d695b}.sim-match-word{font-size:12px;font-weight:600;line-height:1.2}
.sim-match-badge .sim-match-details{display:grid;place-items:center;flex:0 0 44px;width:44px;height:42px;min-height:42px;padding:0;margin:0 0 0 5px;border:0;border-radius:0 9px 9px 0;background:transparent;color:#3d6451;box-shadow:none;cursor:pointer;transition:background-color 140ms ease}
.sim-match-badge[data-state=unknown]{background:#f3f5f5;border-color:#d7dfe0;color:#405457}.sim-match-unknown{font-size:12px;line-height:1.35;font-weight:600;white-space:normal;max-width:170px}
.sim-match-badge button:focus-visible,.sim-match-close:focus-visible,.sim-score-retry:focus-visible{outline:3px solid #52754c;outline-offset:3px}
.sim-match-badge button:hover{background:#dcebcf}.sim-match-badge button:active{background:#d1e3c2}.sim-match-badge button svg,.sim-match-close svg{display:block;pointer-events:none}
.sim-score-error{display:inline-block;font-size:12px;color:#5b6563}.sim-score-retry{font:inherit;font-size:12px;font-weight:600;background:transparent;color:#315c49;border:0;padding:10px;min-height:44px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
@container sim-score-card (max-width:620px){
 .sim-score-card .sim-score-offer,.sim-score-card.sim-score-has-favorite .sim-score-offer{position:static;display:inline-flex;flex-basis:100%;margin:7px 0 0;max-width:100%}
 .sim-score-job-heading{display:flex!important;flex-wrap:wrap;align-items:center;padding-inline-end:0;gap:4px 8px}
 .sim-score-has-favorite .sim-score-job-heading{padding-inline-end:56px}
 .sim-score-job-heading>.job-title,.sim-score-job-heading>.project-title{max-width:100%;min-width:0}
}
/* The native dialog escapes all theme overflow and stacking contexts. */
.sim-match-open{overflow:hidden!important}
.sim-match-dialog{color:#1b3028;background:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;text-align:start;line-height:1.5;letter-spacing:0;width:min(560px,calc(100vw - 40px));max-width:none;max-height:calc(100dvh - 56px);padding:0;border:0;border-radius:16px;margin:auto;overflow:hidden;box-shadow:0 22px 70px #10281c33;font-variant-numeric:tabular-nums;z-index:100020}
.sim-match-dialog::backdrop{background:#0f241b66}
.sim-match-dialog:not([open]){display:none!important}.sim-match-dialog[open]{display:block}
.sim-match-content{max-height:inherit;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b9c8ba #f6f8f5}
.sim-match-dialog ::selection{background:#d7e8c9;color:#183b29}
.sim-match-dialog .sim-match-header{position:sticky;top:0;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:24px 26px 12px;background:#fff;color:inherit;border:0;z-index:1}
.sim-match-header h2{font:inherit;font-size:22px;line-height:1.3;font-weight:650;letter-spacing:-.02em;color:#1b3028;margin:0}
.sim-match-dialog .sim-match-close{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:10px;background:#f2f5ef;color:#3f584a;cursor:pointer;margin:-6px -10px -6px 0;box-shadow:none;transition:background-color 140ms ease}
.sim-match-close:hover{background:#e4eddd}.sim-match-close:active{background:#d6e5ca}
.sim-match-dialog .sim-match-context{font:inherit;font-size:13px;line-height:1.5;color:#52675b;margin:0 26px 18px;overflow-wrap:anywhere}
.sim-match-summary{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 14px;margin:0 26px 24px}
.sim-match-total{display:inline-flex;align-items:baseline;gap:4px}.sim-match-total strong{font-size:42px;font-weight:700;line-height:1.1;letter-spacing:-.03em;color:#1d4434}.sim-match-total .sim-match-denominator{font-size:18px;color:#5c7062}.sim-match-summary-label{font-size:13px;color:#53675b}
.sim-match-total .sim-match-unknown{font-size:22px;font-weight:650;max-width:none;letter-spacing:-.02em}
.sim-match-categories{padding:0 26px}.sim-match-category{padding:16px 0;border-top:1px solid #e4eae2}.sim-match-category-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:9px}
.sim-match-category h3{font:inherit;font-size:14px;font-weight:650;line-height:1.4;margin:0;color:#233b2e}.sim-match-points{flex-shrink:0;font-size:13px;font-weight:650;color:#315d43}
.sim-match-track{height:4px;background:#e6ece2;border-radius:2px;overflow:hidden;margin-bottom:9px}.sim-match-track span{display:block;height:100%;background:#62855a;border-radius:inherit}
.sim-match-dialog .sim-match-note{font:inherit;font-size:12px;line-height:1.65;margin:3px 0;color:#4f6356;overflow-wrap:anywhere}
.sim-match-dialog .sim-match-footer{padding:16px 26px 20px;background:#f6f8f3;border:0;margin-top:8px}.sim-match-footer p{font:inherit;font-size:12px;font-weight:600;line-height:1.6;color:#3f5b47;margin:0}.sim-match-footer .sim-match-footnote{font-size:11px;font-weight:400;margin-top:5px;color:#536757}
.sim-match-fallback{position:fixed;inset:50% auto auto 50%;transform:translate(-50%,-50%);margin:0;box-shadow:0 22px 70px #10281c33,0 0 0 100vmax #0f241b66}
@media(max-width:480px){.sim-match-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:14px}.sim-match-dialog .sim-match-header{padding:20px 20px 12px}.sim-match-header h2{font-size:20px}.sim-match-dialog .sim-match-context{margin-inline:20px}.sim-match-summary{margin-inline:20px;margin-bottom:20px}.sim-match-categories{padding-inline:20px}.sim-match-dialog .sim-match-footer{padding-inline:20px}.sim-match-total strong{font-size:38px}.sim-score-heading{gap:8px}.sim-match-number strong{font-size:16px}}
@media(prefers-reduced-motion:reduce){.sim-match-details,.sim-match-close{transition:none!important}}

.sim-chat header h2 .sim-name-ai{color:#ffac75}
