.resume-match-section { padding: clamp(2.5rem, 5vw, 4.5rem) 0; background: #f4f4f4; scroll-margin-top: 100px; }
.resume-match-section [hidden] { display: none !important; }
.resume-match-banner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(245px, .4fr); gap: 2rem; align-items: center; padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid #888; border-top: 3px solid #ffd60a; border-radius: 12px; background: linear-gradient(125deg, #fff, #e5e5e5); box-shadow: 0 14px 35px -25px #0006; }
.resume-match-intro { display: flex; align-items: flex-start; gap: 1rem; min-width: 0; }
.resume-match-symbol { display: grid; place-items: center; flex-shrink: 0; width: 55px; height: 60px; color: #111; border: 1px solid #e6be00; border-radius: 9px; background: var(--gradient-warm); }
.resume-match-symbol svg { width: 42px; height: 42px; }
.resume-match-eyebrow { display: block; margin-bottom: .55rem; color: #555; font-size: .63rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; line-height: 1.5; }
.resume-match-intro h2 { margin: 0 0 .6rem; color: #111; font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.12; }
.resume-match-intro p { max-width: 58ch; margin: 0; color: #444; font-size: .94rem; line-height: 1.6; }
.resume-match-drop { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: .55rem; min-height: 145px; padding: 1rem; border: 1.5px dashed #8a8a8a; border-radius: 8px; background: #ffffff8c; }
.resume-match-drop.is-dragging { outline: 3px solid #e6be00; outline-offset: 4px; background: #fff9cf; }
.resume-match-drop .btn { min-height: 46px; gap: 1rem; }
.resume-match-drop > span { color: #555; font-size: .66rem; line-height: 1.5; }
.resume-match-text-button { display: inline-flex; align-items: center; min-height: 34px; padding: .25rem .1rem; color: #3a3a3a; font: inherit; font-size: .76rem; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.resume-match-text-button:hover { color: #000; }
.resume-match-section :is(button, a, summary, input, textarea, select):focus-visible { outline: 3px solid #8d6b00; outline-offset: 4px; }
.resume-match-section button:disabled { opacity: .6; cursor: wait; }
.resume-match-privacy { margin: .8rem 0 0; color: #555; font-size: .72rem; line-height: 1.6; }
.resume-match-editor { margin-top: 1.3rem; padding: clamp(1rem, 2.4vw, 1.7rem); border: 1px solid #ccc; border-radius: 10px; background: #fff; }
.resume-match-editor-top { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding-bottom: .7rem; }
.resume-match-editor-top p { margin: 0; color: #333; font-size: .84rem; font-weight: 700; }
.resume-match-text-details { border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; }
.resume-match-text-details summary { min-height: 44px; padding: .6rem 0; color: #222; font-size: .82rem; font-weight: 700; cursor: pointer; }
.resume-match-text-details label { display: block; margin: .4rem 0 .4rem; color: #333; font-size: .78rem; font-weight: 700; }
.resume-match-text-details textarea { display: block; width: 100%; max-width: 100%; min-height: 170px; padding: .9rem; border: 1px solid #999; border-radius: 5px; background: #fbfbfb; color: #111; font: inherit; font-size: .88rem; line-height: 1.5; resize: vertical; }
.resume-match-text-details > p { margin: .6rem 0 1rem; color: #666; font-size: .72rem; line-height: 1.6; }
.resume-match-options { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1.2rem; padding-top: 1rem; }
.resume-match-options > label:first-child { flex: 1 1 180px; max-width: 290px; color: #333; font-size: .76rem; font-weight: 700; }
.resume-match-options select { display: block; width: 100%; min-height: 44px; margin-top: .35rem; padding: .65rem .8rem; border: 1px solid #999; border-radius: 5px; background: #fff; color: #111; font: inherit; font-size: .85rem; }
.resume-match-options > label:not(.resume-match-checkbox) { flex: 1 1 170px; color: #333; font-size: .76rem; font-weight: 700; }
.resume-match-options > .resume-match-origin { flex-basis: 240px; max-width: 330px; }
.resume-match-origin input { display: block; width: 100%; min-height: 44px; margin-top: .35rem; padding: .65rem .8rem; border: 1px solid #999; border-radius: 5px; background: #fff; color: #111; font: inherit; font-size: .85rem; }
.resume-match-origin input:disabled, .resume-match-options select:disabled { background: #ededed; color: #666; cursor: not-allowed; }
.resume-match-checkbox { display: flex; align-items: center; align-self: center; gap: .5rem; min-height: 44px; padding-top: 1.1rem; color: #333; font-size: .78rem; cursor: pointer; }
.resume-match-checkbox input { width: 19px; height: 19px; margin: 0; flex-shrink: 0; accent-color: #9e7600; }
.resume-match-options .btn { min-height: 44px; margin-left: auto; font-size: .8rem; }
.resume-match-method { max-width: 95ch; margin: 1rem 0 0; color: #666; font-size: .71rem; line-height: 1.6; }
.resume-match-feedback { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem 1rem; }
.resume-match-status { margin: .8rem 0 0; color: #444; font-size: .82rem; line-height: 1.6; }
.resume-match-status.is-error { color: #8b220d; }
.resume-match-feedback .resume-match-text-button { margin-top: .5rem; }
.resume-match-results { margin-top: 1.5rem; outline: none; }
.resume-match-results:focus-visible { outline: 3px solid #8d6b00; outline-offset: 7px; }
.resume-match-results-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; margin-bottom: 1rem; }
.resume-match-results-heading h3 { margin: 0; color: #111; font-size: clamp(1.25rem, 2.4vw, 1.8rem); line-height: 1.2; }
.resume-match-results-heading p { margin: 0; color: #666; font-size: .74rem; }
.resume-match-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.resume-match-card { display: flex; flex-direction: column; min-width: 0; padding: 1.3rem; border: 1px solid #ccc; border-radius: 9px; background: #fff; }
.resume-match-level { align-self: flex-start; margin-bottom: .8rem; padding: .25rem .55rem; border: 1px solid #e6cf64; border-radius: 4px; background: #fff8d5; color: #534000; font-size: .64rem; font-weight: 800; line-height: 1.5; }
.resume-match-card h4 { margin: 0 0 .5rem; color: #111; font-size: 1.12rem; line-height: 1.3; overflow-wrap: anywhere; }
.resume-match-company { margin: 0 0 .35rem; color: #444; font-size: .82rem; font-weight: 700; line-height: 1.5; }
.resume-match-location, .resume-match-pay { margin: 0 0 .35rem; color: #555; font-size: .76rem; line-height: 1.5; }
.resume-match-reasons { margin: .6rem 0 .7rem; padding-left: 1rem; color: #333; font-size: .76rem; line-height: 1.6; }
.resume-match-skills { display: flex; flex-wrap: wrap; gap: .3rem; margin: 0 0 .7rem; }
.resume-match-skills span { padding: .2rem .45rem; border-radius: 3px; background: #eee; color: #333; font-size: .64rem; line-height: 1.5; }
.resume-match-review { margin: 0 0 1rem; color: #666; font-size: .69rem; line-height: 1.5; }
.resume-match-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem; margin-top: auto; padding-top: .8rem; border-top: 1px solid #eee; }
.resume-match-actions a { display: inline-flex; align-items: center; min-height: 44px; color: #222; font-size: .74rem; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.resume-match-actions .resume-match-apply { padding: .45rem .65rem; border: 1px solid #e6be00; border-radius: 4px; background: var(--gradient-warm); color: #111; text-decoration: none; }
.resume-match-empty { grid-column: 1 / -1; padding: 1.5rem; border: 1px solid #ccc; border-radius: 8px; background: #fff; color: #444; }
.resume-match-empty p { max-width: 75ch; margin: 0 0 .7rem; font-size: .9rem; }
.resume-match-empty a { display: inline-flex; align-items: center; min-height: 44px; color: #222; font-size: .85rem; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.resume-match-more { display: block; min-height: 44px; margin: 1rem auto 0; padding: .65rem 1rem; border: 1px solid #999; border-radius: 5px; background: #fff; color: #111; font: inherit; font-size: .8rem; font-weight: 700; }
@media (max-width: 1000px) { .resume-match-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 750px) { .resume-match-banner { grid-template-columns: 1fr; gap: 1.2rem; } .resume-match-drop { min-height: 125px; } .resume-match-options .btn { margin-left: 0; } .resume-match-checkbox { padding-top: .8rem; } }
@media (max-width: 520px) { .resume-match-intro { gap: .75rem; } .resume-match-symbol { width: 42px; height: 48px; border-radius: 6px; } .resume-match-symbol svg { width: 34px; height: 34px; } .resume-match-eyebrow { font-size: .55rem; } .resume-match-intro h2 { font-size: 1.45rem; } .resume-match-intro p { font-size: .85rem; } .resume-match-cards { grid-template-columns: 1fr; } .resume-match-options { display: grid; grid-template-columns: 1fr; gap: .8rem; } .resume-match-options > label:first-child { max-width: none; } .resume-match-checkbox { padding-top: 0; } .resume-match-options .btn { width: 100%; } .resume-match-editor-top { align-items: flex-start; } .resume-match-card { padding: 1.1rem; } }
@media (prefers-reduced-motion: reduce) { .resume-match-section { scroll-behavior: auto; } }
