/* Shared styles for the no-signup resume tools (/tools/resume-*) and the /tools hub. */
.ft-hero { padding: 96px 20px 8px; background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%); }
.ft-wrap { max-width: 960px; margin: 0 auto; }
.ft-crumbs { font-size: 13px; color: #64748b; margin: 0 0 10px; }
.ft-crumbs a { color: #0a66c2; text-decoration: none; }
.ft-hero h1 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); line-height: 1.15; font-weight: 800; color: #0f172a; margin: 0 0 8px; }
.ft-hero .ft-lead { font-size: 15px; color: #475569; line-height: 1.55; margin: 0 0 6px; max-width: 760px; }
.ft-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.ft-badges li { font-size: 12px; font-weight: 600; color: #0a66c2; background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 999px; padding: 3px 10px; }

.ft-tool { max-width: 960px; margin: 16px auto 0; padding: 0 20px; }
.ft-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 20px; box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05); min-width: 0; }
.ft-label { display: block; font-size: 13px; font-weight: 700; color: #0f172a; margin: 0 0 6px; }
.ft-hint { font-weight: 500; color: #64748b; }
.ft-textarea, .ft-input, .ft-select { width: 100%; box-sizing: border-box; border: 1px solid #cbd5e1; border-radius: 10px; padding: 11px 12px; font: inherit; font-size: 14px; color: #0f172a; background: #fff; }
.ft-textarea { min-height: 220px; resize: vertical; line-height: 1.5; }
.ft-textarea:focus, .ft-input:focus, .ft-select:focus { outline: 2px solid #93c5fd; border-color: #0a66c2; }
.ft-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 12px; }
.ft-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ft-grid2 > div { min-width: 0; }
.ft-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 10px; border: 0; background: #0a66c2; color: #fff; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; text-decoration: none; }
.ft-btn:hover { background: #0958a8; }
.ft-btn.ft-ghost { background: #fff; color: #0a66c2; border: 1px solid #bfdbfe; }
.ft-btn.ft-ghost:hover { background: #eff6ff; }
.ft-btn.ft-small { padding: 7px 12px; font-size: 13px; }
.ft-file { position: relative; overflow: hidden; }
.ft-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ft-status { font-size: 13px; color: #64748b; }
.ft-status.err { color: #b91c1c; }
.ft-privacy { font-size: 12px; color: #64748b; margin: 10px 0 0; display: flex; gap: 6px; align-items: center; }

.ft-results { margin-top: 16px; scroll-margin-top: 84px; }
.ft-scorebar { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.ft-score { width: 104px; height: 104px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; background: conic-gradient(var(--ft-c, #0a66c2) calc(var(--ft-p, 0) * 1%), #e2e8f0 0); position: relative; }
.ft-score::before { content: ''; position: absolute; inset: 9px; background: #fff; border-radius: 50%; }
.ft-score b, .ft-score span { position: relative; }
.ft-score b { font-size: 30px; font-weight: 800; color: #0f172a; line-height: 1; }
.ft-score span { font-size: 11px; color: #64748b; font-weight: 600; }
.ft-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; flex: 1; min-width: 240px; }
.ft-stat { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; padding: 10px; min-width: 0; }
.ft-stat b { display: block; font-size: 18px; color: #0f172a; }
.ft-stat span { font-size: 12px; color: #64748b; }
.ft-checks { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 8px; }
.ft-check { border: 1px solid #e2e8f0; border-left-width: 4px; border-radius: 10px; padding: 10px 12px; background: #fff; }
.ft-check.fail { border-left-color: #dc2626; }
.ft-check.warn { border-left-color: #f59e0b; }
.ft-check.pass { border-left-color: #16a34a; }
.ft-check h3 { font-size: 14px; margin: 0 0 3px; color: #0f172a; display: flex; gap: 8px; align-items: center; }
.ft-check p { font-size: 13px; color: #475569; margin: 2px 0 0; line-height: 1.5; overflow-wrap: anywhere; }
.ft-check .ft-fix { color: #0f172a; }
.ft-pill { font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 999px; text-transform: uppercase; letter-spacing: .03em; }
.ft-pill.fail { background: #fee2e2; color: #b91c1c; }
.ft-pill.warn { background: #fef3c7; color: #92400e; }
.ft-pill.pass { background: #dcfce7; color: #166534; }
.ft-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.ft-chip { font-size: 12px; background: #eff6ff; color: #0a66c2; border: 1px solid #bfdbfe; border-radius: 999px; padding: 3px 10px; cursor: pointer; font-family: inherit; }
.ft-chip:hover { background: #dbeafe; }
.ft-rewrite { margin-top: 8px; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 8px; padding: 8px 10px; font-size: 13px; color: #14532d; display: flex; gap: 8px; align-items: flex-start; justify-content: space-between; }
.ft-rewrite span { overflow-wrap: anywhere; }

.ft-cta { margin-top: 16px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: space-between; background: linear-gradient(135deg, #0a66c2 0%, #1e88e5 100%); color: #fff; border-radius: 14px; padding: 18px 20px; }
.ft-cta p { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.4; }
.ft-cta small { display: block; font-weight: 500; font-size: 13px; opacity: .9; margin-top: 2px; }
.ft-cta .ft-btn { background: #fff; color: #0a66c2; }
.ft-cta a.ft-link { color: #fff; font-size: 13px; text-decoration: underline; }

.ft-summary { border: 1px solid #e2e8f0; border-radius: 12px; padding: 14px; background: #fff; }
.ft-summary h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: #0a66c2; margin: 0 0 6px; }
.ft-summary p { font-size: 15px; color: #0f172a; line-height: 1.6; margin: 0; }
.ft-summary .ft-meta { font-size: 12px; color: #64748b; margin-top: 8px; display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }

.ft-article { max-width: 760px; margin: 48px auto; padding: 0 20px; color: #334155; font-size: 16px; line-height: 1.7; }
.ft-article h2 { font-size: 24px; font-weight: 800; color: #0f172a; margin: 36px 0 12px; line-height: 1.3; }
.ft-article h3 { font-size: 18px; font-weight: 700; color: #0f172a; margin: 24px 0 8px; }
.ft-article a { color: #0a66c2; font-weight: 600; }
.ft-article ul, .ft-article ol { padding-left: 22px; }
.ft-article li { margin: 4px 0; }
.ft-article table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 12px 0; display: block; overflow-x: auto; }
.ft-article th, .ft-article td { border: 1px solid #e2e8f0; padding: 8px 10px; text-align: left; vertical-align: top; }
.ft-article th { background: #f8fafc; color: #0f172a; }
.ft-ex { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; padding: 12px 14px; margin: 12px 0; font-size: 15px; }
.ft-ex .bad { color: #b91c1c; }
.ft-ex .good { color: #166534; }
.ft-faq details { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 14px 16px; margin: 8px 0; }
.ft-faq summary { cursor: pointer; font-weight: 700; color: #0f172a; font-size: 15px; }
.ft-faq p { margin: 8px 0 0; font-size: 15px; }
.ft-related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 12px 0; }
.ft-related a { display: block; border: 1px solid #e2e8f0; border-radius: 10px; padding: 12px; text-decoration: none; color: #0f172a; font-weight: 700; font-size: 14px; background: #fff; }
.ft-related a span { display: block; font-weight: 500; color: #64748b; font-size: 13px; margin-top: 2px; }

/* /tools hub */
.ft-hub { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 16px 0 8px; }
.ft-hub a { display: flex; flex-direction: column; gap: 6px; border: 1px solid #e2e8f0; border-radius: 14px; padding: 18px; text-decoration: none; background: #fff; box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04); }
.ft-hub a:hover { border-color: #93c5fd; }
.ft-hub b { color: #0f172a; font-size: 16px; }
.ft-hub span { color: #475569; font-size: 14px; line-height: 1.5; }
.ft-hub em { font-style: normal; font-size: 12px; font-weight: 700; color: #166534; background: #dcfce7; border-radius: 999px; padding: 2px 8px; align-self: flex-start; }
.ft-hub em.acct { color: #0a66c2; background: #eff6ff; }

@media (max-width: 760px) {
  .ft-hero { padding-top: 84px; }
  .ft-grid2 { grid-template-columns: 1fr; }
  .ft-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft-related, .ft-hub { grid-template-columns: 1fr; }
  .ft-textarea { min-height: 180px; }
  .ft-card { padding: 16px; }
}
