*, *::before, *::after { box-sizing: border-box; }
:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #202322;
  background: #f5f6f4;
  font-size: 16px;
  line-height: 1.55;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
body { margin: 0; min-width: 320px; }
button, input, select { font: inherit; }
button, a, select, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #5b78e8; outline-offset: 3px; }
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  max-width: 1100px; margin: 0 auto; padding: 1.1rem 1.25rem;
}
.brand { color: #222522; font-size: 1.05rem; font-weight: 800; letter-spacing: -.03em; text-decoration: none; }
.header-tag { color: #626862; font-size: .92rem; }
.header-actions { display: flex; align-items: center; gap: .75rem; }
.ui-language { display: flex; gap: .15rem; padding: .15rem; border: 1px solid #e1e5df; border-radius: 999px; background: #fff; }
.ui-language a { min-width: 2.15rem; padding: .22rem .38rem; border-radius: 999px; color: #59645b; font-size: .8rem; font-weight: 750; text-align: center; text-decoration: none; }
.ui-language a[aria-current="page"] { color: #fff; background: #273f31; }
.page-shell { width: min(100% - 2rem, 820px); margin: 1rem auto 4rem; }
.contribution-closed { padding-top: 1rem; }
.closed-panel { padding: clamp(1.2rem, 3vw, 2rem); border: 1px solid #e1e5df; border-radius: 22px; background: #fff; box-shadow: 0 12px 35px rgb(20 35 22 / 4%); }
.closed-panel h1 { margin-bottom: .75rem; }
.closed-panel h2 { margin: 1.5rem 0 .7rem; }
.closed-steps { display: grid; gap: .8rem; margin: 0; padding-left: 1.35rem; color: #5f665f; }
.closed-steps li { padding-left: .25rem; }
.closed-steps strong, .closed-steps span { display: block; }
.closed-steps strong { color: #2d3f32; }
.intro { padding: 1rem .2rem 1.5rem; }
.eyebrow, .step-label { margin: 0 0 .45rem; color: #59645c; font-size: .82rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 700px; margin-bottom: .65rem; font-size: clamp(2rem, 5vw, 3.05rem); line-height: 1.08; letter-spacing: -.05em; }
.intro-copy { max-width: 650px; margin-bottom: 0; color: #5f665f; font-size: 1.05rem; }
.panel { padding: clamp(1.15rem, 3vw, 1.75rem); border: 1px solid #e1e5df; border-radius: 22px; background: #fff; box-shadow: 0 12px 35px rgb(20 35 22 / 4%); }
.panel + .panel { margin-top: 1rem; }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
h2 { margin: 0; font-size: 1.45rem; line-height: 1.2; letter-spacing: -.025em; }
h3 { margin: 0 0 .3rem; font-size: 1.12rem; line-height: 1.25; }
.language-control { display: grid; gap: .25rem; color: #697069; font-size: .8rem; font-weight: 650; }
.language-control select { max-width: 165px; padding: .55rem .7rem; border: 1px solid #d9ded8; border-radius: 12px; color: #28302a; background: #fff; }
.search-input { width: 100%; min-height: 54px; padding: .75rem 1rem; border: 1px solid #d8ded8; border-radius: 15px; color: #222; background: #fbfcfa; font-size: 1rem; }
.search-input::placeholder { color: #8a9089; }
.helper { margin: .55rem 0 0; color: #697069; font-size: .95rem; }
.results { display: grid; gap: .5rem; margin-top: .85rem; }
.result-row { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; align-items: center; gap: .85rem; width: 100%; padding: .6rem; border: 1px solid #e5e8e3; border-radius: 15px; color: inherit; background: #fff; text-align: left; cursor: pointer; }
.result-row:hover, .result-row[aria-selected="true"] { border-color: #9aa89c; background: #f7f9f6; }
.result-image { width: 54px; height: 70px; object-fit: contain; border-radius: 8px; background: #f1f3ef; }
.result-copy { min-width: 0; display: grid; gap: .15rem; }
.result-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .98rem; }
.result-copy small { overflow-wrap: anywhere; color: #70776f; font-size: .82rem; }
.status-badge, .limit-pill { display: inline-flex; align-items: center; justify-content: center; padding: .32rem .62rem; border-radius: 999px; color: #4f5d52; background: #eef2ed; font-size: .77rem; font-weight: 700; text-align: center; }
.status-badge[data-status="designed"] { color: #215d40; background: #e7f4eb; }
.status-badge[data-status*="review"] { color: #755a1c; background: #fbf2d8; }
.status-badge[data-status*="rejected"], .status-badge[data-status*="changes"] { color: #8a3c36; background: #f8e8e6; }
.selected-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 1rem; align-items: center; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #e8ebe7; }
.selected-image { display: block; width: 96px; height: 132px; object-fit: contain; border-radius: 13px; background: transparent; }
.status-summary { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .55rem; }
.revision-note { margin: .65rem 0 0; color: #59665d; font-size: .88rem; }
.limit-pill { white-space: nowrap; }
.guide { margin: .75rem 0 1rem; border-top: 1px solid #edf0eb; border-bottom: 1px solid #edf0eb; }
.guide summary { padding: .8rem .1rem; color: #38453b; font-weight: 700; cursor: pointer; }
.guide-body { padding: 0 0 .85rem; color: #606860; font-size: .95rem; }
.guide-body p { margin: .25rem 0 .55rem; }
.text-link { display: inline-block; margin-top: .2rem; color: #314d9b; font-weight: 700; }
.file-picker { display: flex; align-items: center; gap: .85rem; min-height: 82px; padding: .9rem; border: 1px dashed #b9c3b9; border-radius: 16px; color: #263229; background: #fafbf9; cursor: pointer; }
.file-picker:hover { border-color: #718473; background: #f4f7f3; }
.file-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; color: #395143; background: #eaf0ea; font-size: 1.45rem; }
.file-picker span:nth-child(2) { display: grid; gap: .15rem; }
.file-picker small { color: #737a72; font-size: .85rem; overflow-wrap: anywhere; }
.file-picker input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; clip-path: inset(50%); }
.upload-actions { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; }
.button { min-height: 46px; padding: .65rem 1.15rem; border: 0; border-radius: 13px; font-weight: 750; cursor: pointer; }
.button.primary { color: #fff; background: #273f31; }
.button.primary:hover:not(:disabled) { background: #1c3024; }
.button:disabled { color: #858a84; background: #e8ebe7; cursor: not-allowed; }
.upload-actions .helper { margin: 0; }
.privacy-note { display: flex; align-items: center; gap: .75rem; margin: 1rem .2rem; color: #657067; }
.privacy-note p { margin: 0; font-size: .9rem; }
.privacy-icon { flex: 0 0 30px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #315b42; background: #e4efe6; font-weight: 800; }
.site-footer { display: flex; justify-content: center; flex-wrap: wrap; gap: .7rem 1.2rem; padding: 1.5rem 1rem; color: #747a73; font-size: .8rem; text-align: center; }
.site-footer a { color: #59645b; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
code { padding: .1rem .28rem; border-radius: 5px; background: #f0f2ee; font-size: .9em; }
[hidden] { display: none !important; }
@media (max-width: 600px) {
  .page-shell { width: min(100% - 1.25rem, 820px); margin-top: .4rem; }
  .site-header { padding-inline: .75rem; }
  .header-actions { gap: .4rem; }
  .header-tag { font-size: .8rem; }
  .ui-language a { min-width: 1.9rem; padding-inline: .28rem; }
  .panel-heading { flex-direction: column; }
  .language-control { grid-template-columns: auto 1fr; align-items: center; width: 100%; }
  .language-control select { max-width: none; }
  .result-row { grid-template-columns: 46px minmax(0, 1fr); }
  .result-image { width: 46px; height: 62px; }
  .result-row .status-badge { grid-column: 2; justify-self: start; }
  .selected-card { grid-template-columns: 76px minmax(0, 1fr); }
  .selected-image { width: 76px; height: 108px; }
  .upload-actions { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
