/* GIG Skills Hub — pastel GIG palette, no icons. Scoped to .gsh-app so the theme is not affected. */
.gsh-app {
	--ink: #0B0B0C; --body: #4B4F56; --muted: #646973; --line: #E3E5E9; --ground: #EEF0F2;
	--y: #FCE7A1; --b: #A9D4F0; --r: #F3B3B6; --g: #DCEAA0;
	--yt: #FEF5D6; --bt: #E2F1FB; --rt: #FCE4E5; --gt: #F2F7DC;
	background: var(--ground); color: var(--ink); font-family: Inter, Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.5;
	min-height: 70vh; box-sizing: border-box; text-align: left;
}
.gsh-app *, .gsh-app *::before, .gsh-app *::after { box-sizing: border-box; }
.gsh-app a { color: var(--ink); }
.gsh-app a:hover { color: var(--body); }
.gsh-app :focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.gsh-app [hidden] { display: none !important; }
.gsh-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.gsh-wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.gsh-narrow { max-width: 560px; padding-top: 56px; padding-bottom: 72px; }

.gsh-stripe { display: flex; height: 6px; }
.gsh-stripe span { flex: 1; }
.gsh-stripe span:nth-child(1) { background: var(--y); } .gsh-stripe span:nth-child(2) { background: var(--b); }
.gsh-stripe span:nth-child(3) { background: var(--r); } .gsh-stripe span:nth-child(4) { background: var(--g); }

.gsh-top { background: #fff; border-bottom: 1px solid #E8E9EC; }
.gsh-top-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.gsh-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.gsh-logo { height: 40px; width: auto; display: block; }
.gsh-tagline { font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); border-left: 1px solid #D5D8DD; padding-left: 20px; }
.gsh-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; font-size: 14px; font-weight: 500; }
.gsh-nav a { text-decoration: none; padding: 10px 0; }
.gsh-nav a.is-active { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.gsh-me { background: var(--ground); padding: 7px 12px; border-radius: 999px; font-size: 13px; color: var(--body); }

.gsh-main { padding-bottom: 8px; }
.gsh-hero { padding-top: 52px; padding-bottom: 28px; display: flex; flex-direction: column; gap: 18px; }
.gsh-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--body); }
.gsh-h1 { font-family: Archivo, Arial, sans-serif; font-weight: 800; font-size: clamp(30px, 4.2vw, 50px); line-height: 1.08; margin: 0; color: var(--ink); }
.gsh-h2 { font-family: Archivo, Arial, sans-serif; font-weight: 800; font-size: 28px; margin: 0 0 8px; }
.gsh-h3 { font-family: Archivo, Arial, sans-serif; font-weight: 700; font-size: 20px; line-height: 1.25; margin: 0; }
.gsh-lead { font-size: 17px; color: var(--body); margin: 0; max-width: 720px; }
.gsh-small { font-size: 13px; color: var(--muted); margin: 0; }
.gsh-notice { font-size: 13px; color: var(--muted); margin-top: 18px; }

.gsh-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }

.gsh-search { display: block; max-width: 760px; }
.gsh-search input { width: 100%; height: 54px; border: 1px solid #D5D8DD; border-radius: 10px; padding: 0 16px; font: inherit; font-size: 16px; background: #fff; }
.gsh-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.gsh-pill { font: inherit; font-size: 14px; font-weight: 600; padding: 10px 18px; min-height: 44px; border-radius: 999px; cursor: pointer; background: #fff; color: var(--ink); border: 1px solid #D5D8DD; }
.gsh-pill.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }

.gsh-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; padding-bottom: 48px; }
.gsh-cards-wide { grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); }
.gsh-skillcard { position: relative; overflow: hidden; text-decoration: none; color: inherit; min-height: 230px; padding-top: 29px; transition: box-shadow .15s ease, transform .15s ease; }
.gsh-skillcard::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--bar, var(--b)); }
a.gsh-skillcard:hover { box-shadow: 0 10px 28px rgba(11,11,12,.10); transform: translateY(-2px); color: inherit; }
.gsh-skillcard p { margin: 0; font-size: 15px; color: var(--body); flex: 1; }
.gsh-skillcard.is-soon { opacity: .72; }
.gsh-tag { align-self: flex-start; font-size: 12px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; background: var(--tint, var(--bt)); color: var(--ink); padding: 5px 10px; border-radius: 999px; }
.gsh-cardfoot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--ground); font-size: 13px; color: var(--muted); }
.gsh-open { font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.gsh-request { border: 2px dashed #C9CDD3; background: transparent; }
.gsh-request p { margin: 0; color: var(--body); font-size: 15px; }
.gsh-empty { color: var(--body); padding-bottom: 32px; }

.gsh-how { background: var(--ink); color: #fff; margin-top: 8px; }
.gsh-how .gsh-wrap { padding-top: 52px; padding-bottom: 52px; }
.gsh-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px; margin-top: 20px; }
.gsh-steps > div { border-top: 4px solid var(--y); padding-top: 16px; }
.gsh-steps > div:nth-child(2) { border-color: var(--b); } .gsh-steps > div:nth-child(3) { border-color: var(--g); }
.gsh-steps b { font-family: Archivo, Arial, sans-serif; color: var(--y); }
.gsh-steps > div:nth-child(2) b { color: var(--b); } .gsh-steps > div:nth-child(3) b { color: var(--g); }
.gsh-steps h3 { margin: 8px 0 6px; font-size: 19px; font-weight: 600; color: #fff; }
.gsh-steps p { margin: 0; color: #C9CDD3; font-size: 15px; }

.gsh-field { display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.gsh-field > span, .gsh-field legend { font-size: 14px; font-weight: 600; padding: 0; }
.gsh-field em { font-weight: 400; color: var(--muted); font-style: normal; }
.gsh-field input[type=text], .gsh-field input[type=email], .gsh-field input[type=url], .gsh-field select, .gsh-field textarea {
	font: inherit; font-size: 15px; color: var(--ink); background: #fff; border: 1px solid #D5D8DD; border-radius: 8px; padding: 11px 14px; width: 100%; min-height: 46px;
}
.gsh-field textarea { line-height: 1.55; resize: vertical; }
.gsh-field small { font-size: 13px; color: var(--muted); }
.gsh-grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.gsh-radio { display: flex; align-items: center; gap: 8px; font-size: 15px; min-height: 36px; }
.gsh-adv summary { cursor: pointer; font-size: 14px; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.gsh-adv[open] summary { margin-bottom: 6px; }
.gsh-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gsh-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.gsh-chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid #D5D8DD; background: #fff; font-size: 14px; font-weight: 600; cursor: pointer; }
.gsh-chip input:checked + span { background: var(--tint, var(--bt)); border: 2px solid var(--ink); }
.gsh-chip input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }

.gsh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-size: 15px; font-weight: 600; min-height: 48px; padding: 0 22px; border-radius: 8px; border: 1px solid var(--ink); background: var(--ink); color: #fff !important; cursor: pointer; text-decoration: none; }
.gsh-btn:hover { background: #2A2C30; }
.gsh-btn:disabled { opacity: .6; cursor: progress; }
.gsh-btn-wide { width: 100%; }
.gsh-btn-small { min-height: 44px; font-size: 14px; padding: 0 16px; }
.gsh-btn-light { background: #fff; color: var(--ink) !important; border-color: #D5D8DD; }
.gsh-btn-light:hover { background: var(--ground); }
.gsh-link, .gsh-linkbtn { background: none; border: 0; padding: 10px 4px; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.gsh-msg { margin: 0; font-size: 14px; color: var(--body); min-height: 1.2em; }
.gsh-msg.is-err { color: #A1161D; font-weight: 600; }

.gsh-back { font-size: 14px; font-weight: 600; text-decoration: none; display: inline-block; padding: 10px 0; }
.gsh-skill { padding-top: 24px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 14px; }
.gsh-skill > p { margin: 0; }
.gsh-split { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; margin-top: 10px; }
.gsh-form { flex: 1 1 360px; min-width: 0; }
.gsh-result { flex: 999 1 540px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.gsh-placeholder { border-style: dashed; color: var(--body); }
.gsh-placeholder p { margin: 0; }
.gsh-out { gap: 16px; }
.gsh-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.gsh-feedback { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 14px; color: var(--body); }
.gsh-pre { white-space: pre-wrap; font-family: inherit; font-size: 15px; line-height: 1.6; margin: 0; background: #F7F8F9; border-radius: 8px; padding: 16px; overflow-x: auto; }
.gsh-letter { background: #fff; border: 1px solid var(--line); }
.gsh-attach { background: var(--yt); border-radius: 8px; padding: 12px 14px; font-size: 14px; margin: 0; }
.gsh-attach ul { margin: 6px 0 0; padding-left: 20px; }
.gsh-mailframe { width: 100%; min-height: 420px; border: 0; border-radius: 8px; background: var(--ground); }
.gsh-flow { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.gsh-flow svg { display: block; max-width: 100%; height: auto; }

.gsh-rows { display: flex; flex-direction: column; }
.gsh-row { display: grid; grid-template-columns: minmax(120px, 200px) 1fr auto; gap: 6px 16px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--ground); }
.gsh-rowlabel { font-size: 13px; color: var(--muted); font-weight: 600; }
.gsh-rowval { font-size: 15px; font-weight: 500; overflow-wrap: anywhere; }
.gsh-rowval small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.gsh-rowval.is-missing { color: #A1161D; }
.gsh-copy { font: inherit; font-size: 14px; font-weight: 600; min-width: 72px; min-height: 40px; border-radius: 8px; border: 1px solid #D5D8DD; background: #fff; cursor: pointer; color: var(--ink); }
.gsh-copy.is-done, .gsh-btn.is-done { background: var(--gt); border-color: #A6BF55; color: var(--ink) !important; }
@media (max-width: 560px) { .gsh-row { grid-template-columns: 1fr auto; } .gsh-rowlabel { grid-column: 1 / -1; } }

.gsh-try { background: #F5F6F8; border-radius: 8px; padding: 12px 14px; }
.gsh-try span { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.gsh-try p { margin: 4px 0 0; font-size: 14px; color: var(--ink); }
.gsh-dark { background: var(--ink); color: #fff; border: 0; margin-bottom: 56px; }
.gsh-dark p { color: #C9CDD3; margin: 0; }
.gsh-dark .gsh-msg { color: #fff; }

.gsh-history { display: flex; flex-direction: column; }
.gsh-hist { border-bottom: 1px solid var(--ground); }
.gsh-hist summary { display: grid; grid-template-columns: 150px 200px 1fr auto; gap: 6px 16px; align-items: center; padding: 12px 0; cursor: pointer; list-style: none; }
.gsh-hist summary::-webkit-details-marker { display: none; }
.gsh-hdate { font-size: 13px; color: var(--muted); }
.gsh-hskill { font-size: 14px; font-weight: 600; }
.gsh-htitle { font-size: 14px; color: var(--body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gsh-hstatus { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.gsh-hstatus.is-ok { background: var(--gt); } .gsh-hstatus.is-err { background: var(--rt); }
.gsh-hbody { padding: 0 0 16px; display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 720px) { .gsh-hist summary { grid-template-columns: 1fr auto; } .gsh-hskill, .gsh-htitle { grid-column: 1 / -1; } }

.gsh-profile { margin: 8px 0 4px; background: var(--yt); border-color: var(--y); max-width: 760px; }
.gsh-profile .gsh-btn { align-self: flex-start; }

.gsh-foot { background: #fff; border-top: 1px solid #E8E9EC; }
.gsh-foot-in { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; padding-top: 20px; padding-bottom: 20px; font-size: 13px; color: var(--muted); }
.gsh-foot a { text-decoration: none; }

/* ---- Document skills: tables, badges, verdicts, uploads, previews ---- */
.gsh-h4 { font-family: Archivo, Arial, sans-serif; font-weight: 700; font-size: 16px; margin: 10px 0 0; }
.gsh-para { margin: 0; font-size: 15px; color: var(--ink); line-height: 1.6; }
.gsh-list { margin: 0; padding-left: 20px; font-size: 15px; color: var(--ink); display: flex; flex-direction: column; gap: 4px; }
.gsh-list.is-warn li::marker { color: #A1161D; }
.gsh-tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
.gsh-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.45; }
.gsh-table th { text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--muted); background: #F7F8F9; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.gsh-table td { padding: 10px 12px; border-bottom: 1px solid var(--ground); vertical-align: top; min-width: 70px; }
.gsh-table tr:last-child td { border-bottom: 0; }
.gsh-table td.is-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gsh-badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; color: var(--ink); background: var(--ground); }
.gsh-badge.is-red { background: var(--r); } .gsh-badge.is-orange { background: var(--rt); box-shadow: inset 0 0 0 1px var(--r); }
.gsh-badge.is-yellow { background: var(--yt); box-shadow: inset 0 0 0 1px var(--y); } .gsh-badge.is-green { background: var(--gt); box-shadow: inset 0 0 0 1px var(--g); }
.gsh-statusline { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.gsh-verdict { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border-radius: 10px; border-left: 6px solid var(--y); background: var(--yt); }
.gsh-verdict strong { font-family: Archivo, Arial, sans-serif; font-size: 26px; line-height: 1.2; }
.gsh-verdict.is-red { border-color: #D31F26; background: var(--rt); } .gsh-verdict.is-green { border-color: #A6BF55; background: var(--gt); }
.gsh-next { background: var(--bt); border-radius: 8px; padding: 12px 14px; }
.gsh-next p { margin: 4px 0 0; font-size: 15px; }
.gsh-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.gsh-kpi { background: #F7F8F9; border-radius: 10px; padding: 14px; }
.gsh-kpi b { display: block; font-family: Archivo, Arial, sans-serif; font-size: 28px; line-height: 1.1; }
.gsh-kpi span { font-size: 13px; color: var(--muted); }
.gsh-rowsection { font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--ink); padding: 18px 0 6px; border-bottom: 2px solid var(--b); }
.gsh-filefield > label { font-size: 14px; font-weight: 600; }
.gsh-filefield input[type=file], .gsh-field input[type=file] { font: inherit; font-size: 14px; padding: 12px; border: 2px dashed #C9CDD3; border-radius: 8px; background: #FAFAFB; width: 100%; cursor: pointer; }
.gsh-filelist { list-style: none; margin: 0; padding: 0; font-size: 13px; color: var(--body); }
.gsh-filelist li::before { content: "✓ "; color: #6E8A1E; font-weight: 700; }
.gsh-parsed:empty { display: none; }
.gsh-parsed { display: flex; flex-direction: column; gap: 8px; background: var(--bt); border-radius: 8px; padding: 12px; font-size: 14px; }
.gsh-parsed .gsh-table { background: #fff; }
.gsh-small.is-err, .gsh-attach.is-err { color: #A1161D; }
.gsh-attach.is-err { background: var(--rt); }
.gsh-inline { flex-direction: row; align-items: center; gap: 10px; }
.gsh-inline select { width: auto; min-height: 40px; }
.gsh-previews { display: flex; flex-direction: column; gap: 16px; }
.gsh-preview { margin: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.gsh-preview canvas { display: block; width: 100%; height: auto; }
.gsh-preview figcaption { font-size: 13px; color: var(--muted); padding: 8px 12px; border-top: 1px solid var(--ground); }
