/* Manrope (SIL Open Font License), served from this site instead of Google Fonts: one origin fewer before the first paint */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(fonts/manrope-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(fonts/manrope-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Shared widgets: member popup and the congratulate panel. Each template sets the --ssa-* tokens. */
:root {
  --ssa-accent: #1f5fa8; --ssa-text: #1d2430; --ssa-muted: #68727f; --ssa-border: #d9dee5;
  --ssa-panel: #ffffff; --ssa-soft: #f2f5f9; --ssa-radius: 10px; --ssa-focus: #ffb300;
}
[hidden] { display: none !important; }
.ssa-name { color: var(--ssa-accent) !important; text-decoration: underline dotted; text-decoration-thickness: 1px; text-underline-offset: 3px; cursor: pointer; }
.ssa-nw { white-space: nowrap; }
.ssa-name:hover, .ssa-name:focus { color: var(--ssa-accent); text-decoration-style: solid; outline: none; }

.ssa-popup-backdrop { position: fixed; inset: 0; background: rgba(10, 20, 35, .55); display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 16px; }
.ssa-popup { position: relative; background: var(--ssa-panel); color: var(--ssa-text); max-width: 440px; width: 100%; padding: 28px 28px 22px; border-radius: var(--ssa-radius); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); font-size: 15px; line-height: 1.5; }
.ssa-popup-name { margin: 0 0 8px; font-weight: 700; font-size: 18px; }
.ssa-popup-msg { margin: 0 0 18px; color: var(--ssa-muted); }
.ssa-popup-close { position: absolute; top: 8px; right: 10px; background: none; border: 0; font-size: 26px; line-height: 1; color: var(--ssa-muted); cursor: pointer; }
.ssa-popup-ok { background: var(--ssa-accent); color: #fff; border: 0; padding: 9px 18px; border-radius: 6px; font: inherit; font-weight: 600; cursor: pointer; }
.ssa-popup-ok:focus, .ssa-popup-close:focus, .ssa-social button:focus-visible, .ssa-form input:focus, .ssa-form textarea:focus { outline: 2px solid var(--ssa-focus); outline-offset: 2px; }

.ssa-social { position: relative; font-size: 13px; white-space: nowrap; }
.ssa-social-toggle { display: inline-flex; vertical-align: middle; align-items: center; gap: 6px; background: none; border: 1px solid transparent; color: var(--ssa-muted); padding: 3px 8px 3px 4px; border-radius: 999px; cursor: pointer; font: inherit; line-height: 1; }
.ssa-social-toggle:hover, .ssa-social.open .ssa-social-toggle { border-color: var(--ssa-border); background: var(--ssa-soft); color: var(--ssa-text); }
.ssa-social-faces { display: inline-flex; }
.ssa-social-faces .ssa-rx { margin-right: -5px; box-shadow: 0 0 0 2px var(--ssa-panel); border-radius: 50%; }
.ssa-social-faces .ssa-rx:last-child { margin-right: 2px; }
.ssa-social-count { font-weight: 600; }
.ssa-social-comments { display: inline-flex; align-items: center; gap: 3px; }
.ssa-social-cta { color: var(--ssa-accent); font-weight: 600; }
.ssa-social.has-mine .ssa-social-toggle { color: var(--ssa-accent); }
.ssa-rx { display: inline-flex; width: 18px; height: 18px; border-radius: 50%; align-items: center; justify-content: center; }
.ssa-rx svg { width: 100%; height: 100%; display: block; }
.ssa-rx-like { color: #1877f2; } .ssa-rx-like svg { width: 72%; height: 72%; }
.ssa-rx-like { background: #1877f2; color: #fff; }
.ssa-rx-love { color: #f0284a; } .ssa-rx-love { background: #f0284a; color: #fff; } .ssa-rx-love svg { width: 70%; height: 70%; }
.ssa-rx-care, .ssa-rx-haha, .ssa-rx-wow, .ssa-rx-sad { color: #f7b125; }
.ssa-rx-angry { color: #e9710f; }

.ssa-social-panel { position: absolute; left: 0; top: calc(100% + 6px); z-index: 50; width: min(380px, 92vw); background: var(--ssa-panel); color: var(--ssa-text); border: 1px solid var(--ssa-border); border-radius: var(--ssa-radius); box-shadow: 0 18px 44px rgba(0, 0, 0, .22); padding: 10px 12px 12px; text-align: left; white-space: normal; }
.ssa-social-panel[hidden] { display: none; }
.ssa-picker { display: flex; gap: 4px; margin-bottom: 10px; }
.ssa-pick { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; background: none; border: 1px solid transparent; border-radius: 8px; padding: 5px 0 3px; cursor: pointer; color: var(--ssa-muted); font: inherit; font-size: 11px; }
.ssa-pick .ssa-rx { width: 28px; height: 28px; transition: transform .15s; }
.ssa-pick:hover .ssa-rx { transform: scale(1.3) translateY(-3px); }
.ssa-pick.mine { background: var(--ssa-soft); border-color: var(--ssa-border); color: var(--ssa-text); }
.ssa-pick i { font-style: normal; min-height: 12px; }
.ssa-photos { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.ssa-photos img { width: 72px; height: 72px; object-fit: cover; border-radius: 6px; border: 1px solid var(--ssa-border); }
/* Facebook-style comment list */
.ssa-c-head { font-size: 12px; color: var(--ssa-muted); font-weight: 600; margin: 2px 0 6px; padding-top: 8px; border-top: 1px solid var(--ssa-border); }
.ssa-comments { max-height: 260px; overflow: auto; margin-bottom: 8px; display: flex; flex-direction: column; gap: 8px; }
.ssa-c { display: flex; gap: 7px; align-items: flex-start; }
.ssa-av { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; letter-spacing: .02em; }
.ssa-av-me { background: var(--ssa-accent); }
.ssa-c-main { min-width: 0; flex: 1; }
.ssa-bubble { display: inline-block; max-width: 100%; background: var(--ssa-soft); border-radius: 14px; padding: 6px 11px 7px; }
.ssa-bubble b { display: block; font-size: 12.5px; line-height: 1.3; }
.ssa-bubble p { margin: 1px 0 0; white-space: pre-wrap; word-wrap: break-word; line-height: 1.35; }
.ssa-c-photo img { display: block; max-width: 180px; max-height: 140px; border-radius: 10px; margin-top: 4px; border: 1px solid var(--ssa-border); }
.ssa-c-meta { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--ssa-muted); padding: 2px 0 0 10px; flex-wrap: wrap; }
.ssa-c-act { background: none; border: 0; padding: 2px; color: var(--ssa-muted); cursor: pointer; line-height: 0; border-radius: 4px; opacity: .75; }
.ssa-c-act:hover { color: var(--ssa-accent); opacity: 1; background: var(--ssa-soft); }
.ssa-c-meta button.ssa-c-save, .ssa-c-meta button.ssa-c-confirm, .ssa-c-meta button.ssa-c-keep { background: none; border: 0; padding: 0; font: inherit; font-size: 12px; font-weight: 700; color: var(--ssa-accent); cursor: pointer; }
.ssa-c-meta button.ssa-c-confirm { color: #c62828; }
.ssa-c-edit { width: 100%; box-sizing: border-box; font: inherit; font-size: 13px; padding: 6px 10px; border: 1px solid var(--ssa-border); border-radius: 12px; background: var(--ssa-panel); color: var(--ssa-text); resize: vertical; }
.ssa-c-err { color: #c62828; }
.ssa-compose-open { display: flex; align-items: center; gap: 7px; width: 100%; background: none; border: 0; padding: 0; cursor: text; font: inherit; }
.ssa-compose-open span:last-child { flex: 1; text-align: left; background: var(--ssa-soft); border-radius: 16px; padding: 7px 12px; color: var(--ssa-muted); font-size: 13px; }
.ssa-compose-open[hidden], .ssa-form[hidden] { display: none; }
.ssa-form-btns { justify-content: flex-end; margin-top: 6px; }
.ssa-cancel { background: none; border: 0; color: var(--ssa-muted); font: inherit; cursor: pointer; padding: 7px 8px; }
.ssa-flash { margin: 6px 0 0; font-size: 12px; color: var(--ssa-muted); min-height: 0; }
.ssa-flash:empty { display: none; }
.ssa-empty { color: var(--ssa-muted); margin: 4px 0 8px; }
.ssa-form input[type=text], .ssa-form textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 13px; padding: 6px 8px; border: 1px solid var(--ssa-border); border-radius: 6px; background: var(--ssa-panel); color: var(--ssa-text); }
.ssa-form textarea { margin: 0 0 6px; resize: vertical; }
.ssa-form-row { display: flex; gap: 6px; align-items: center; }
.ssa-form-row input[name=name] { flex: 1; }
.ssa-photo-btn { position: relative; overflow: hidden; border: 1px dashed var(--ssa-border); border-radius: 6px; padding: 6px 10px; cursor: pointer; color: var(--ssa-muted); white-space: nowrap; }
.ssa-photo-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ssa-sec { margin-top: 6px; }
.ssa-sec label { flex: 1; display: flex; gap: 6px; align-items: center; white-space: nowrap; color: var(--ssa-muted); }
.ssa-sec label input { width: 110px; flex: 1; }
.ssa-form button[type=submit] { background: var(--ssa-accent); color: #fff; border: 0; border-radius: 6px; padding: 7px 14px; font: inherit; font-weight: 600; cursor: pointer; }
.ssa-form button[disabled] { opacity: .6; }
.ssa-note { margin: 6px 0 0; color: var(--ssa-muted); font-size: 11px; }
.ssa-msg { margin: 4px 0 0; font-size: 12px; min-height: 1em; }
.ssa-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (prefers-reduced-motion: reduce) { .ssa-pick .ssa-rx { transition: none; } }

/* Pilot achievement summary */
.ssa-popup.ssa-profile { max-width: 760px; padding: 0; overflow: hidden; display: flex; flex-direction: column; max-height: 90vh; }
.ssa-ph-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 24px 28px 14px; border-bottom: 1px solid var(--ssa-border); background: var(--ssa-soft); }
.ssa-popup-kicker { margin: 0; font-size: 12px; color: var(--ssa-muted); letter-spacing: .02em; }
.ssa-profile .ssa-popup-name { font-size: 24px; margin: 2px 0 2px; }
.ssa-popup-sub { margin: 0; color: var(--ssa-muted); font-size: 14px; }
.ssa-shelf { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; align-self: stretch; gap: 4px; margin-right: 24px; min-width: 0; }
.ssa-shelf-row { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; }
.ssa-shelf-item { display: inline-flex; align-items: center; }
.ssa-shelf svg { display: block; filter: drop-shadow(0 2px 2px rgba(0,0,0,.25)); }
.ssa-shelf img { display: block; height: 48px; width: auto; max-width: 53px; object-fit: contain; filter: drop-shadow(0 2px 2px rgba(0,0,0,.25)); }
.ssa-shelf-abc img { height: 40px; max-width: 44px; }
.ssa-ph-body { overflow: auto; padding: 8px 28px 10px; font-size: 14px; }
.ssa-ph-body h3 { font-size: 17px; margin: 14px 0 6px; }
.ssa-ph-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 10px; padding: 5px 0; border-bottom: 1px solid var(--ssa-border); }
.ssa-ph-row > span:nth-child(3) { text-align: right; }
.ssa-ph-row.leg { color: var(--ssa-muted); font-size: 13px; }
.ssa-ph-class { font-weight: 700; margin: 10px 0 2px; }
.ssa-ph-rec { display: grid; grid-template-columns: 44px 70px 1.6fr 90px minmax(150px, max-content) auto; gap: 8px; padding: 4px 0; border-bottom: 1px solid var(--ssa-border); }
.ssa-ph-rec .rg { color: #2e8b57; font-weight: 700; }
.ssa-ph-rec .val { color: var(--ssa-accent); text-align: right; font-variant-numeric: tabular-nums; }
.ssa-ph-rec .dt { text-align: right; font-variant-numeric: tabular-nums; }
.ssa-ph-rec.Pending .rg { color: #c2410c; }
.ssa-ph-rec.Historical { color: var(--ssa-muted); }
.ssa-ph-rec i { font-style: normal; font-size: 11px; color: var(--ssa-muted); }
.ssa-ph-empty { color: var(--ssa-muted); margin: 4px 0; }
.ssa-ph-foot { margin: 0; padding: 10px 28px; border-top: 1px solid var(--ssa-border); color: var(--ssa-muted); font-size: 12px; }
.ssa-profile .ssa-popup-ok { margin: 0 28px 18px; align-self: flex-end; }
@media (max-width: 640px) {
  .ssa-popup-backdrop { padding: 10px; }
  .ssa-popup { max-width: 100%; min-width: 0; }
  .ssa-ph-head { flex-direction: column; padding: 18px 16px 10px; }
  .ssa-shelf { margin: 0; align-self: stretch; }
  .ssa-shelf svg { width: 40px; height: 40px; }
  .ssa-shelf img { height: 41px; max-width: 46px; }
  .ssa-shelf-abc img { height: 34px; max-width: 38px; }
  .ssa-ph-body, .ssa-ph-foot { padding-left: 16px; padding-right: 16px; }
  .ssa-ph-row { grid-template-columns: 1fr 1fr auto; } .ssa-ph-row > span:nth-child(2) { display: none; }
  .ssa-ph-rec { grid-template-columns: 36px 1fr 80px auto; } .ssa-ph-rec > span:nth-child(2), .ssa-ph-rec > .dt { display: none; }
  .ssa-profile .ssa-popup-ok { margin: 0 16px 14px; }
}

/* ---------- Top Recordholders grids ---------- */
.ssa-th { margin: 0 0 14px; }
.ssa-th-btn { background: var(--ssa-accent); color: #fff; border: 0; border-radius: 6px; padding: 8px 16px; font: inherit; font-weight: 700; cursor: pointer; }
.ssa-th-btn:hover { filter: brightness(1.08); }
.ssa-th-btn:focus-visible, .ssa-th-cats button:focus-visible, .ssa-th-val:focus-visible { outline: 2px solid var(--ssa-focus); outline-offset: 2px; }
.ssa-th-panel { margin-top: 12px; background: var(--ssa-panel); color: var(--ssa-text); border: 1px solid var(--ssa-border); border-radius: var(--ssa-radius); padding: 14px 14px 6px; }
.ssa-th-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.ssa-th-head h2 { margin: 0; font-size: 18px; }
.ssa-th-cats { display: flex; gap: 4px; }
.ssa-th-cats button { background: var(--ssa-soft); color: var(--ssa-text); border: 1px solid var(--ssa-border); border-radius: 6px; padding: 5px 12px; font: inherit; font-size: 13px; cursor: pointer; }
.ssa-th-cats button.on { background: var(--ssa-accent); border-color: var(--ssa-accent); color: #fff; font-weight: 700; }
.ssa-th-notes { margin: 8px 0 10px; padding-left: 18px; font-size: 12px; color: var(--ssa-muted); }
.ssa-th-notes .pending-word { color: #e8690c; font-weight: 700; }
.ssa-th-scroll { overflow-x: auto; margin: 0 0 14px; -webkit-overflow-scrolling: touch; }
.ssa-th-grid { border-collapse: collapse; font-size: 12px; line-height: 1.35; min-width: 600px; width: 100%; background: #fff; color: #222; }
.ssa-th-grid caption { text-align: left; font-weight: 700; font-size: 15px; padding: 2px 0 6px; color: var(--ssa-text); }
.ssa-th-cap { margin: 0; text-align: left; font-weight: 700; font-size: 15px; letter-spacing: normal; padding: 2px 0 6px; color: var(--ssa-text); }
.ssa-th-grid th, .ssa-th-grid td { border: 1px solid #b9c7d6; padding: 5px 6px; vertical-align: middle; }
.ssa-th-grid thead th { background: var(--ssa-th-col-bg, #3A8ECC); color: var(--ssa-th-col-fg, #fff); font-weight: 700; text-align: center; min-width: 70px; }
.ssa-th-grid tbody th { background: var(--ssa-th-row-bg, #3A8ECC); color: var(--ssa-th-row-fg, #fff); font-weight: 700; text-align: left; width: 84px; position: sticky; left: 0; z-index: 1; }
.ssa-th-grid td { text-align: center; min-width: 70px; height: 52px; }
.ssa-th-grid td.na { background: #d3d3d3; }
.ssa-th-grid thead th { position: relative; z-index: 3; }
.ssa-th-grid thead th:first-child { z-index: 4; }
.ssa-th-grid thead th.ssa-th-float { box-shadow: 0 2px 4px rgba(0,0,0,.18); }
.ssa-th-val { background: none; border: 0; padding: 0; font: inherit; color: #2D73B5; cursor: pointer; display: block; margin: 0 auto; }
.ssa-th-val:hover { text-decoration: underline; }
.ssa-th-val.pending { color: #e8690c; font-weight: 700; }
.ssa-th-who, .ssa-th-dt { display: block; }
.ssa-th-who .ssa-name { color: var(--ssa-accent, #2D73B5); }

.ssa-rec-pop { max-width: 520px; max-height: 90vh; overflow: auto; font-size: 14px; }
.ssa-rec-pop dl { display: grid; grid-template-columns: 140px 1fr; margin: 0; }
.ssa-rec-pop dt, .ssa-rec-pop dd { margin: 0; padding: 4px 6px; border-bottom: 1px solid #eee; }
.ssa-rec-pop dt { color: #555; }
.ssa-rec-pop .hd { background: #3A8ECC; color: #fff; font-weight: 700; padding: 4px 6px; margin-top: 8px; }
.ssa-rec-pop .hd:first-of-type { margin-top: 0; }
.ssa-rec-pop-foot { margin: 10px 0 0; text-align: right; }
.ssa-th-min { display: block; font-style: italic; color: #d00; }
.ssa-th-grid td.ssa-th-none { text-align: left; color: var(--ssa-muted); height: auto; font-style: italic; }
.ssa-th-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ssa-th-reg { font: inherit; padding: 7px 10px; border: 1px solid var(--ssa-border); border-radius: 6px; background: #fff; color: #222; max-width: 100%; }
.ssa-th-reg:focus-visible { outline: 2px solid var(--ssa-focus); outline-offset: 2px; }
.ssa-th .ssa-th-bar .ssa-th-reg { width: auto; min-width: 180px; flex: 0 1 260px; margin: 0; }
.ssa-th .ssa-th-bar .ssa-th-btn { flex: 0 0 auto; margin: 0; }
.ssa-th-prevbox { display: inline-flex; align-items: center; gap: 6px; margin: 0 auto 0 0; font-size: 13px; font-weight: 400; cursor: pointer; }
.ssa-th-prevbox input { width: 16px; height: 16px; margin: 0; accent-color: var(--ssa-accent); }
.ssa-th-prev { margin-top: 5px; padding-top: 5px; border-top: 1px dashed #b9c7d6; opacity: .78; font-size: 11.5px; }
.ssa-th-head h2 { margin-right: 6px; }
.ssa-th-prevbox b { font-weight: 700; }
.ssa-th-caveat { color: var(--ssa-muted); }
.ssa-th-mag { font-style: italic; color: var(--ssa-muted); }
.ssa-ph-note { font-size: 12px; font-weight: 400; font-style: italic; color: var(--ssa-muted); margin-left: 8px; letter-spacing: 0; }

/* Share button and menu (icon + blue text, matching the Congratulate control) */
.ssa-ico { width: 16px; height: 16px; flex: none; display: block; border-radius: 4px; }
.ssa-share { display: inline-flex; align-items: center; gap: 5px; background: none; color: var(--ssa-accent); border: 1px solid transparent; border-radius: 999px; padding: 3px 8px 3px 4px; margin-right: 2px; font: inherit; font-size: 13px; font-weight: 600; line-height: 1; cursor: pointer; vertical-align: middle; white-space: nowrap; }
.ssa-share:hover { background: var(--ssa-soft); border-color: var(--ssa-border); }
.ssa-share:focus-visible { outline: 2px solid var(--ssa-focus, #f0a830); outline-offset: 2px; }
.ssa-share.ssa-share-lg { margin-top: 10px; margin-left: -4px; font-size: 15px; gap: 7px; }
.ssa-share.ssa-share-lg .ssa-ico { width: 20px; height: 20px; border-radius: 5px; }
.ssa-social-cta { display: inline-flex; align-items: center; gap: 5px; }
.ssa-share-menu { position: absolute; z-index: 1000; width: min(330px, calc(100vw - 16px)); background: #fff; color: #16324f; border: 1px solid #d6dde6; border-radius: 10px; box-shadow: 0 16px 40px rgba(0,0,0,.22); padding: 12px; font: 13px/1.4 system-ui, -apple-system, "Segoe UI", sans-serif; text-align: left; }
.ssa-share-t { margin: 0 0 8px; font-weight: 600; }
.ssa-share-copy { display: flex; gap: 6px; }
.ssa-share-copy input { flex: 1; min-width: 0; padding: 6px 8px; border: 1px solid #cfd6de; border-radius: 6px; font: inherit; font-size: 12px; color: #333; background: #f6f8fa; }
.ssa-share-cp { background: var(--ssa-accent, #2f86e6); color: #fff; border: 0; border-radius: 6px; padding: 6px 10px; font: inherit; font-weight: 700; cursor: pointer; white-space: nowrap; }
.ssa-share-nets { display: flex; flex-wrap: nowrap; align-items: center; gap: 6px; margin-top: 12px; justify-content: space-between; }
.ssa-share-note { margin: 10px 0 0; font-size: 12px; color: #146b4b; font-weight: 600; }
.ssa-share-nets a { display: block; flex: 0 1 30px; min-width: 22px; line-height: 0; border-radius: 50%; transition: transform .12s; }
.ssa-share-nets a img { width: 100%; max-width: 30px; height: auto; display: block; }
.ssa-share-nets a:focus-visible { outline: 2px solid var(--ssa-focus, #f0a830); outline-offset: 2px; }
.ssa-share-nets a:hover, .ssa-share-more:hover { transform: scale(1.12); }
.ssa-share-more { flex: 0 0 12px; width: 12px; height: 30px; padding: 0; border: 0; background: none; cursor: pointer; line-height: 0; transition: transform .12s; }
.ssa-share-more svg { width: 10px; height: 30px; display: block; margin: 0 auto; }
.ssa-ph-row.ssa-hl, .ssa-ph-rec.ssa-hl { background: #fff4c7; box-shadow: 0 0 0 3px #fff4c7; border-radius: 3px; }

/* Record grids: share on each table title, icon-only Congratulate beside each current value */
.ssa-th-cap { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ssa-th-cap .ssa-share { font-size: 13px; }
.ssa-th-cap.ssa-hl-cap { background: #fff4c7; border-radius: 4px; padding-left: 6px; padding-right: 6px; }
.ssa-th-vline { display: flex; align-items: center; justify-content: center; gap: 3px; }
.ssa-th-vline .ssa-th-val { margin: 0; }
.ssa-social-mini { display: inline-block; font-size: 12px; white-space: nowrap; }
.ssa-social-mini .ssa-social-toggle { padding: 1px; border-radius: 4px; gap: 0; }
.ssa-social-mini .ssa-ico { width: 14px; height: 14px; border-radius: 3px; }
.ssa-social-mini .ssa-social-faces, .ssa-social-mini .ssa-social-count, .ssa-social-mini .ssa-social-comments, .ssa-social-mini .ssa-social-cta { display: none !important; }
.ssa-social-mini.has-mine .ssa-ico rect { fill: #e8690c; }
.ssa-th-sum { display: flex; align-items: center; justify-content: center; gap: 2px; margin-top: 3px; line-height: 16px; font-size: 11px; color: var(--ssa-accent); cursor: pointer; }
.ssa-th-sum:hover { text-decoration: underline; }
.ssa-th-sum .c { margin-left: 4px; }
.ssa-th-sum:empty { display: none; }
.ssa-th-sum .ssa-rx { width: 14px; height: 14px; }
.ssa-th-sum .ssa-rx svg { width: 14px; height: 14px; }
.ssa-th-sum b { margin-left: 2px; font-weight: 700; color: var(--ssa-text); }
.ssa-social-mini .ssa-social-panel { color: var(--ssa-text); }

/* Profile button after names, and the "i Details" control */
.ssa-pbtn { display: inline-block; margin-left: 4px; vertical-align: -2px; line-height: 0; }
.ssa-pbtn .ssa-ico { width: 14px; height: 14px; border-radius: 3px; }
a.ssa-name:hover .ssa-pbtn .ssa-ico rect { fill: #1f74d2; }
.ssa-det { display: inline-flex; align-items: center; gap: 5px; background: none; border: 1px solid transparent; border-radius: 999px; padding: 3px 8px 3px 4px; color: var(--ssa-accent); font: inherit; font-size: 13px; font-weight: 600; line-height: 1; cursor: pointer; white-space: nowrap; }
.ssa-det:hover { background: var(--ssa-soft); border-color: var(--ssa-border); }
summary.ssa-det { list-style: none; width: max-content; }
summary.ssa-det::-webkit-details-marker { display: none; }
summary.ssa-det::marker { content: ""; }
/* Inside the record grids only: inverted icons (white tile, blue figure) so the many icons stay quiet */
.ssa-th-grid .ssa-ico rect { fill: transparent; }
.ssa-th-grid .ssa-ico [fill="#fff"] { fill: #2f86e6; }
.ssa-th-grid .ssa-ico [stroke="#fff"] { stroke: #2f86e6; }
.ssa-th-grid .ssa-ico g[fill="#2f86e6"] { fill: #fff; stroke: #fff; }
.ssa-th-grid td.na .ssa-ico g[fill="#2f86e6"] { fill: #d3d3d3; stroke: #d3d3d3; }
.ssa-th-grid a.ssa-name:hover .ssa-pbtn .ssa-ico rect, .ssa-th-grid .ssa-social-mini .ssa-social-toggle:hover .ssa-ico rect { fill: rgba(47,134,230,.12); }
.ssa-th-grid .ssa-social-mini.has-mine .ssa-ico rect { fill: transparent; }
.ssa-th-grid .ssa-social-mini.has-mine .ssa-ico [fill="#fff"] { fill: #e8690c; }
.ssa-th-grid .ssa-social-mini.has-mine .ssa-ico [stroke="#fff"] { stroke: #e8690c; }
/* Keep the name's last word and profile button inline whatever the surrounding template does to spans */
a.ssa-name span.ssa-nw { display: inline !important; font: inherit !important; color: inherit !important; margin: 0 !important; padding: 0 !important; }
a.ssa-name span.ssa-pbtn { display: inline-block !important; margin: 0 0 0 4px !important; padding: 0 !important; }
/* Some template fonts join "fl" into one glyph, which reads like a misspelling in dropdowns; keep letters separate */
body, body *, select, option, input, button { font-variant-ligatures: none !important; font-feature-settings: "liga" 0, "clig" 0 !important; }

/* Pilot portrait and +Add Portrait */
.ssa-ph-portrait { flex: none; width: 96px; height: 96px; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.18); background: #fff; }
.ssa-ph-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ssa-ph-id { flex: 0 1 auto; min-width: 0; }
.ssa-ph-acts { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ssa-addp { margin-top: 10px; background: none; border: 0; padding: 4px 2px; color: var(--ssa-accent); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.ssa-addp:hover { text-decoration: underline; }
.ssa-pform { margin-top: 10px; display: grid; gap: 8px; font-size: 13px; max-width: 360px; }
.ssa-pform label { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ssa-pform input[type=text] { width: 120px; padding: 5px 8px; border: 1px solid var(--ssa-border); border-radius: 6px; font: inherit; }
.ssa-pform input[type=file] { font-size: 12px; max-width: 100%; }
.ssa-pbtns { display: flex; gap: 8px; }
.ssa-pbtns button { font: inherit; padding: 6px 14px; border-radius: 6px; border: 1px solid var(--ssa-border); background: #fff; cursor: pointer; }
.ssa-pbtns button[type=submit] { background: var(--ssa-accent); border-color: var(--ssa-accent); color: #fff; font-weight: 700; }
.ssa-pmsg { margin: 0; color: #c62828; min-height: 1em; }
/* first solo photo from Soaring magazine in the portrait corner: 4:3, click to enlarge */
.ssa-ph-portrait.ssa-ph-solo { width: 136px; height: 102px; }
.ssa-ph-solo button.ssa-ms-thumb { display: block; width: 100%; height: 100%; padding: 0; margin: 0; border: 0; background: #e8edf3; cursor: zoom-in; }
.ssa-ph-solo button.ssa-ms-thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .ssa-ph-portrait { width: 72px; height: 72px; } .ssa-ph-portrait.ssa-ph-solo { width: 112px; height: 84px; } }

/* Level dot before each award in the achievements popup */
.ssa-lvdot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 7px; vertical-align: 0; background: #c6d6e6; }
.ssa-lvdot.Bronze { background: #b67a46; } .ssa-lvdot.Silver { background: #a9b4c2; } .ssa-lvdot.Gold { background: #e0b14b; }
.ssa-lvdot.Diamond { background: #8fc6f3; } .ssa-lvdot.Diploma { background: #24507a; }

/* Soaring magazine milestones in the pilot popup */
.ssa-ms { display: grid; gap: 12px; margin: 4px 0 8px; }
.ssa-ms-item { display: flex; gap: 12px; align-items: flex-start; padding-bottom: 12px; border-bottom: 1px solid var(--ssa-border); }
.ssa-ms-pic { flex: none; width: 240px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ssa-ms-thumb { flex: none; width: 240px; padding: 0; border: 1px solid var(--ssa-border); border-radius: 6px; overflow: hidden; background: #e9edf2; cursor: zoom-in; line-height: 0; }
button.ssa-ms-enl { width: auto; border: 0; background: none; padding: 2px 0; line-height: 1.3; color: var(--ssa-accent); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; overflow: visible; }
button.ssa-ms-enl:hover { text-decoration: underline; }
.ssa-ms-thumb img { width: 240px; height: 180px; object-fit: cover; display: block; }
.ssa-ms-thumb:focus-visible { outline: 2px solid var(--ssa-focus, #f0a830); outline-offset: 2px; }
.ssa-ms-txt { min-width: 0; font-size: 14px; }
.ssa-ms-txt b { font-weight: 700; }
.ssa-ms-dt { color: var(--ssa-muted); }
.ssa-ms-l { display: block; color: var(--ssa-text); font-size: 13px; }
a.ssa-ms-issue { color: var(--ssa-accent); text-decoration: underline; text-underline-offset: 2px; }
.ssa-ms-cap { display: block; margin-top: 4px; color: var(--ssa-muted); font-size: 12px; line-height: 1.4; }
.ssa-ms-zoom { position: fixed; inset: 0; z-index: 2000; background: rgba(10,20,35,.82); display: flex; align-items: center; justify-content: center; padding: 16px; cursor: zoom-out; }
.ssa-ms-zoom img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; box-shadow: 0 10px 40px rgba(0,0,0,.5); background: #fff; }
.ssa-ms-x { position: absolute; top: 10px; right: 14px; background: none; border: 0; color: #fff; font-size: 34px; line-height: 1; cursor: pointer; }
@media (max-width: 640px) { .ssa-ms-item { flex-direction: column; } .ssa-ms-pic, .ssa-ms-thumb, .ssa-ms-thumb img { width: 100%; } .ssa-ms-thumb img { height: auto; aspect-ratio: 4 / 3; } }

/* More photos from Soaring (other magazine photos of the pilot) */
.ssa-om-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 14px 12px; margin: 6px 0 4px; }
.ssa-om-item { margin: 0; min-width: 0; }
.ssa-om-item[hidden] { display: none; }
.ssa-om-item .ssa-ms-pic { display: block; width: 100%; }
.ssa-om-item .ssa-ms-thumb { display: block; width: 100%; }
.ssa-om-item .ssa-ms-thumb img { width: 100%; height: auto; aspect-ratio: 4 / 3; }
.ssa-om-item figcaption { margin-top: 5px; font-size: 12px; line-height: 1.4; color: var(--ssa-muted, #5b6b7c); }
.ssa-om-item figcaption b { display: block; color: var(--ssa-ink, #16324f); font-size: 12.5px; }
.ssa-om-issue { display: block; color: var(--ssa-accent); text-decoration: underline; margin: 1px 0 2px; }
.ssa-om-cap { display: block; }
.ssa-om-pos { white-space: nowrap; font-weight: 600; }
button.ssa-om-more, button.ssa-om-all { border: 0; background: none; padding: 0; color: var(--ssa-accent); font: inherit; font-weight: 600; cursor: pointer; }
button.ssa-om-all { display: block; margin: 8px 0 2px; font-size: 13.5px; }
button.ssa-om-more:hover, button.ssa-om-all:hover { text-decoration: underline; }
@media (max-width: 640px) { .ssa-om-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; } }

/* staff tagging tool: faint "+" after a magazine photo's title */
button.ssa-ptag { border: 0; background: none; padding: 0 3px; margin-left: 2px; color: #f3e7a6; font: inherit; font-weight: 700; font-size: 14px; line-height: 1; cursor: pointer; opacity: .7; vertical-align: baseline; }
button.ssa-ptag:hover, button.ssa-ptag:focus-visible { color: #d9b600; opacity: 1; }
.ssa-pick-ask { display: inline-block; margin-left: 4px; padding: 1px 6px; border-radius: 5px; background: #fff7d1; color: #5b4b00; font-size: 12px; font-weight: 600; white-space: nowrap; }
.ssa-pick-ask button { border: 1px solid #d9b600; background: #fff; color: #5b4b00; border-radius: 4px; padding: 0 6px; font: inherit; cursor: pointer; }
.ssa-pick-ask button.ssa-pick-ok { background: #d9b600; color: #fff; }

/* top-left picture with a centred +Enlarge beneath */
.ssa-ph-pwrap { flex: none; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.ssa-ph-pwrap > button.ssa-ph-enl { width: auto; padding: 0; line-height: 1.3; border: 0; background: none; }
.ssa-ph-pwrap > button.ssa-ph-enl[hidden] { display: none; }
.ssa-ph-pwrap:not(:has(> .ssa-ph-portrait:not([hidden]))) { display: none; }

/* +Add Photos, the Photos section and the congratulations beside each badge / record */
.ssa-gadd { margin: 6px 0 2px; }
.ssa-gadd .ssa-addp { margin-top: 2px; }
.ssa-gform textarea { width: 100%; min-width: 220px; padding: 5px 8px; border: 1px solid var(--ssa-border); border-radius: 6px; font: inherit; resize: vertical; }
.ssa-gform .ssa-gdesc { flex-direction: column; align-items: stretch; }
.ssa-gform input[type=date] { padding: 4px 6px; border: 1px solid var(--ssa-border); border-radius: 6px; font: inherit; }
.ssa-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ssa-gnote { color: #a16207; }
button.ssa-cg-link { border: 0; background: none; padding: 0 2px; margin-left: 6px; color: var(--ssa-accent); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; vertical-align: middle; }
button.ssa-cg-link .ssa-ico { width: 15px; height: 15px; }
button.ssa-cg-link:hover { text-decoration: underline; }
.ssa-cg-view { margin: 2px 0 8px 18px; padding: 8px 10px; background: var(--ssa-soft, #f3f6fa); border-radius: 8px; font-size: 13px; display: grid; gap: 8px; }
.ssa-cg-rx { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ssa-cg-rx .ssa-rx svg { width: 16px; height: 16px; vertical-align: middle; }
.ssa-cg-rx b { margin-left: 2px; font-size: 12px; }
.ssa-cg-t { color: var(--ssa-muted); font-size: 11.5px; }
.ssa-cg-c .ssa-ms-pic { display: block; width: 140px; margin-top: 4px; }
.ssa-cg-c .ssa-ms-thumb, .ssa-cg-c .ssa-ms-thumb img { width: 140px; }
.ssa-cg-c .ssa-ms-thumb img { height: 105px; }

/* "Send to Soaring mag" fields */
.ssa-gsoar { font-weight: 600; }
.ssa-gsub { border: 1px solid var(--ssa-border); border-radius: 8px; padding: 8px 10px 10px; margin: 0; display: grid; gap: 6px; }
.ssa-gsub[hidden] { display: none; }
.ssa-gsub legend { font-weight: 700; font-size: 12.5px; padding: 0 4px; }
.ssa-gsub label { justify-content: space-between; }
.ssa-pform.ssa-gform .ssa-gsub input, .ssa-pform.ssa-gform .ssa-gsub select { width: 190px; max-width: 100%; padding: 4px 7px; border: 1px solid var(--ssa-border); border-radius: 6px; font: inherit; }
.ssa-gsent { margin: 4px 0 0; color: #166534; font-size: 13px; font-weight: 600; }
@media (max-width: 640px) { .ssa-pform.ssa-gform .ssa-gsub input, .ssa-pform.ssa-gform .ssa-gsub select { width: 100%; } .ssa-gsub label { flex-direction: column; align-items: stretch; gap: 2px; } }

/* thumbs-up / comment after each badge and record in the pilot summary */
.ssa-plike { position: relative; display: inline-flex; align-items: center; justify-content: flex-end; width: 92px; white-space: nowrap; }
.ssa-plike-ui { display: inline-flex; align-items: center; gap: 4px; }
.ssa-plike .ssa-social-mini { position: static; width: 0; overflow: visible; }
.ssa-plike .ssa-social-mini > .ssa-social-toggle { display: none; }
button.ssa-plike-btn { border: 0; background: none; padding: 0 2px; line-height: 0; cursor: pointer; }
.ssa-thumb { width: 18px; height: 18px; display: block; }
button.ssa-plike-btn:hover .ssa-thumb path { fill: #e6f0fc; }
button.ssa-plike-c { border: 0; background: none; padding: 0; color: var(--ssa-accent); text-decoration: underline; font: inherit; font-size: 12.5px; cursor: pointer; }
.ssa-plike-ok { font-size: 15px; line-height: 1; }

/* the top-left picture is itself an enlarge button */
.ssa-ph-portrait > button.ssa-ms-thumb { display: block; width: 100%; height: 100%; padding: 0; margin: 0; border: 0; border-radius: 0; background: #e8edf3; cursor: zoom-in; }
.ssa-ph-portrait > button.ssa-ms-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* the milestone a shared link points to */
.ssa-ph-mile { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: #f7fafe; border: 1px solid #d6e3f2; margin-bottom: 6px; }
.ssa-ph-mile .ssa-ms-pic img { width: 120px; height: 90px; object-fit: cover; border-radius: 8px; display: block; }
.ssa-ph-mile .mt { min-width: 0; flex: 1; display: grid; gap: 3px; font-size: 14px; }
.ssa-ph-mile .mh { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ssa-ph-mile .mp { width: 30px; height: 30px; }
.ssa-ph-mile .ms { color: #5b6878; font-size: 13px; }
.ssa-ph-mile .mc { line-height: 1.4; }
@media (max-width: 520px) { .ssa-ph-mile { flex-direction: column; } .ssa-ph-mile .ssa-ms-pic img { width: 100%; height: auto; max-height: 220px; } }

/* Details inside a milestone: thumbs-up, congratulations, photos, +Add Photos */
.ssa-mx { margin-top: 8px; padding-top: 8px; border-top: 1px solid #d6e3f2; display: grid; gap: 6px; }
.ssa-mx-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ssa-mx-h { font-weight: 700; color: #1d3b5c; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.ssa-mx .ssa-cg-view { margin: 0; }
.ssa-mx-ph { font-weight: 700; color: #1d3b5c; font-size: 13px; margin: 4px 0 2px; }
.ssa-mx .ssa-om-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
td .ssa-mx { max-width: 720px; white-space: normal; }

/* Phone: pilot summary header packs Share / +Edit Portrait beside the photo; no footer or bottom Close (the x stays) */
@media (max-width: 640px) {
  .ssa-profile .ssa-ph-head { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; row-gap: 2px; padding: 14px 16px 6px; align-items: start; }
  .ssa-profile .ssa-ph-id { display: contents; }
  .ssa-profile .ssa-ph-pwrap { grid-column: 1; grid-row: 1; }
  .ssa-profile .ssa-ph-acts { grid-column: 2; grid-row: 1; flex-direction: column; align-items: flex-start; gap: 10px; align-self: center; padding-right: 34px; }
  .ssa-profile .ssa-ph-id > :not(.ssa-ph-acts), .ssa-profile .ssa-shelf { grid-column: 1 / -1; }
  .ssa-profile .ssa-popup-kicker { margin-top: 6px; }
  .ssa-profile .ssa-shelf { margin: 4px 0 0; }
  .ssa-profile .ssa-ph-foot, .ssa-profile .ssa-popup-ok { display: none; }
  .ssa-profile .ssa-ph-body { padding-bottom: 14px; }
}

/* Women Soaring Pilots Association mark beside a woman pilot's name (desktop) */
.ssa-ph-head .ssa-wspa { flex: none; width: 150px; height: auto; align-self: center; margin-left: 8px; }
@media (max-width: 640px) { .ssa-ph-head .ssa-wspa { display: none; } }

/* Development plan */
.ssa-dp { margin: 10px 0 4px; }
.ssa-dp-box { margin-top: 8px; border: 1px solid #d6e3f2; background: #f7fafe; border-radius: 10px; padding: 12px 14px; font-size: 14px; }
.ssa-dp-box .dp-intro p { margin: 4px 0; }
.ssa-dp-box .dp-note { color: #7a4a00; background: #fff6e0; border-radius: 6px; padding: 6px 8px; }
.ssa-dp-box .dp-form { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px 14px; margin-top: 8px; }
.ssa-dp-box .dp-form label { display: grid; gap: 3px; font-size: 13px; font-weight: 600; color: #1d3b5c; }
.ssa-dp-box .dp-form select { font: inherit; font-weight: 400; padding: 6px 8px; border: 1px solid #c9d1db; border-radius: 6px; background: #fff; width: 100%; }
.ssa-dp-box .dp-btns { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.ssa-dp-box .dp-btns button { font: inherit; font-weight: 700; padding: 8px 16px; border-radius: 7px; border: 1px solid #1f6fd1; background: #fff; color: #1f6fd1; cursor: pointer; }
.ssa-dp-box .dp-btns .dp-go { background: #1f6fd1; color: #fff; }
.ssa-dp-box .dp-legal { margin: 14px 0 0; font-size: 12px; color: #8a97a8; }
.dp-gate { z-index: 1100; }
.dp-gate-box { max-width: 520px; }
.dp-gate-box h3 { margin: 0 0 10px; font-size: 18px; }
.dp-gate-box p { margin: 0 0 14px; font-size: 14px; }
.dp-gate-ck { display: flex; gap: 8px; align-items: flex-start; font-weight: 600; margin: 0 0 16px; cursor: pointer; }
.dp-gate-ck input { width: 18px; height: 18px; margin: 2px 0 0; flex: 0 0 auto; }
.dp-gate-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.dp-gate-btns .ssa-popup-ok:disabled { opacity: .45; cursor: not-allowed; }
.dp-gate-no { background: #eef2f6; color: #1d3b5c; border: 0; padding: 9px 18px; border-radius: 6px; font: inherit; font-weight: 600; cursor: pointer; }
.ssa-dp-box .dp-share { margin-top: 10px; font-size: 13px; }
.ssa-dp-box .dp-mailf { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.ssa-dp-box .dp-mailf label { display: flex; gap: 6px; align-items: center; font-weight: 600; color: #1d3b5c; }
.ssa-dp-box .dp-mailf input { font: inherit; padding: 6px 8px; border: 1px solid #c9d1db; border-radius: 6px; width: 220px; max-width: 60vw; }
.ssa-dp-box .dp-mailf button { font: inherit; font-weight: 700; padding: 7px 14px; border-radius: 7px; border: 0; background: #1f6fd1; color: #fff; cursor: pointer; }
.ssa-dp-box .dp-share-msg { color: #4a5563; }
.ssa-dp-box .dp-share-msg.dp-ok { color: #166534; }
.ssa-dp-box .dp-drivebox { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.ssa-dp-box .dp-gbtn { display: inline-flex; min-height: 26px; }
.ssa-dp-box .dp-phases { padding-left: 20px; margin: 10px 0; }
.ssa-dp-box .dp-phases > li { margin: 0 0 12px; }
.ssa-dp-box .dp-ph b { color: #1d3b5c; }
.ssa-dp-box .dp-when { font-size: 12px; color: #5b6878; background: #e8eef6; border-radius: 9px; padding: 1px 8px; margin-left: 4px; white-space: nowrap; }
.ssa-dp-box .dp-req { margin: 3px 0; color: #4a5563; font-size: 13px; }
.ssa-dp-box .dp-phases ul { list-style: none; padding: 0; margin: 4px 0; }
.ssa-dp-box .dp-phases ul li { margin: 3px 0; }
.ssa-dp-box .dp-phases ul label { display: flex; gap: 7px; align-items: flex-start; font-weight: 400; cursor: pointer; }
.ssa-dp-box .dp-phases ul input { margin-top: 3px; flex: none; }
.ssa-dp-box .dp-read { font-size: 12.5px; color: #5b6878; margin: 2px 0 0; }
.ssa-dp-box .dp-src { font-size: 12.5px; color: #4a5563; margin-top: 6px; }
.ssa-dp-box .dp-src ul { padding-left: 18px; }
@media (max-width: 640px) {
  /* no photo yet: Share and +Add Portrait sit in one row */
  .ssa-profile .ssa-ph-head:not(:has(.ssa-ph-portrait:not([hidden]))) .ssa-ph-acts { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 18px; padding-right: 40px; }
}
.ssa-dp-box .dp-more { font-size: 12.5px; margin-top: 2px; }
.ssa-dp-box .dp-more summary, .ssa-dp-box .dp-src summary { cursor: pointer; color: #1f6fd1; font-weight: 600; }
.ssa-dp-box .dp-more ul, .ssa-dp-box .dp-lib ul { list-style: disc; padding-left: 18px; }
.ssa-dp-box .dp-lib { list-style: none; padding-left: 0; }
.ssa-dp-box .dp-lib > li { margin: 6px 0; }
/* Development plan: the three questions */
.ssa-dp-box .dp-q { display: grid; gap: 4px; font-size: 13px; font-weight: 600; color: #1d3b5c; }
.ssa-dp-box .dp-full { grid-column: 1 / -1; }
.ssa-dp-box .dp-ql small { font-weight: 400; color: #5b6878; }
.ssa-dp-box .dp-rank { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 6px 10px; }
.ssa-dp-box .dp-rb { display: flex; align-items: center; gap: 8px; text-align: left; font: inherit; font-weight: 500; color: #1d2430; background: #fff; border: 1px solid #c9d1db; border-radius: 8px; padding: 7px 10px; cursor: pointer; }
.ssa-dp-box .dp-rb .dp-rk { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #c9d1db; display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-weight: 700; font-size: 12px; color: #fff; }
.ssa-dp-box .dp-rb.on { border-color: #1f6fd1; background: #eef5fd; }
.ssa-dp-box .dp-rb.on .dp-rk { background: #1f6fd1; border-color: #1f6fd1; }
.ssa-dp-box .dp-form input[type=text] { font: inherit; font-weight: 400; padding: 6px 8px; border: 1px solid #c9d1db; border-radius: 6px; width: 140px; }
.ssa-dp-box .dp-num { color: #c62828; font-weight: 700; font-size: 12px; }
.ssa-dp-box .dp-err { color: #c62828; font-weight: 600; font-size: 13px; align-self: center; }
