/* tp-account.css (new-look-all batch 3, 10/25/2026): Settings, FAQ, Video Training Library and the Capability Statement Generator
   in the site look, both looks. The pages keep their markup and their own style blocks; the rules here sit under one wrapper class per
   page and win on specificity. Pop-up panels (modalPopup*) are left alone. */

/* ---------------------------------------------------------------- shared: the classic button classes the new master never defined */
.tp-help .btn, .tp-stg .btn, .tp-csg .btn, .tp-help a.btn, .tp-stg a.btn, .tp-csg a.btn, .tp-stg input.btn, .tp-csg input.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 6px; font-weight: 600; font-size: 13.5px; padding: 7px 13px; border: 1px solid #e2e8f0; background: #fff; color: #334155; text-decoration: none; line-height: 1.3; box-shadow: none; text-shadow: none; font-family: inherit; white-space: normal; height: auto; }
.tp-help .btn:hover, .tp-stg .btn:hover, .tp-csg .btn:hover, .tp-help .btn:focus, .tp-stg .btn:focus, .tp-csg .btn:focus { border-color: #2d80d2; color: #2d80d2; background: #fff; text-decoration: none; outline: none; }
.tp-help .btn.btn-success, .tp-stg .btn.btn-success, .tp-csg .btn.btn-success, .tp-help .btn.btn-info, .tp-stg .btn.btn-info, .tp-help .btn.btn-primary, .tp-stg .btn.btn-primary { background: var(--tp-green, #10b981); border-color: var(--tp-green, #10b981); color: #fff; }
.tp-help .btn.btn-success:hover, .tp-stg .btn.btn-success:hover, .tp-csg .btn.btn-success:hover, .tp-help .btn.btn-info:hover, .tp-stg .btn.btn-info:hover, .tp-help .btn.btn-primary:hover, .tp-stg .btn.btn-primary:hover { background: var(--tp-green-dark, #059669); border-color: var(--tp-green-dark, #059669); color: #fff; }
.tp-help .btn.btn-greenout, .tp-stg .btn.btn-greenout, .tp-csg .btn.btn-greenout { background: #fff; border-color: #a7f3d0; color: var(--tp-green-ink, #047857); }
.tp-help .btn.btn-greenout:hover, .tp-stg .btn.btn-greenout:hover, .tp-csg .btn.btn-greenout:hover { background: var(--tp-green-soft, #ecfdf5); border-color: var(--tp-green, #10b981); color: var(--tp-green-ink, #047857); }
.tp-help .btn.btn-def, .tp-stg .btn.btn-def, .tp-csg .btn.btn-def { background: #fff; border-color: #bfdbfe; color: #1e40af; }
.tp-help .btn.btn-def:hover, .tp-stg .btn.btn-def:hover { background: #eff6ff; border-color: #2d80d2; }
.tp-help .btn.btn-danger, .tp-stg .btn.btn-danger { background: #fff; border-color: #fecaca; color: #b91c1c; }
.tp-help .btn.btn-danger:hover, .tp-stg .btn.btn-danger:hover { background: #fef2f2; border-color: #fca5a5; color: #991b1b; }
.tp-help .btn.btn-link, .tp-stg .btn.btn-link, .tp-csg .btn.btn-link { border-color: transparent; background: none; color: #2d80d2; padding: 4px 6px; }
.tp-help .btn.btn-link:hover, .tp-stg .btn.btn-link:hover, .tp-csg .btn.btn-link:hover { text-decoration: underline; background: none; }
.tp-help .btn.btn-lg, .tp-stg .btn.btn-lg, .tp-csg .btn.btn-lg { font-size: 14.5px; padding: 9px 16px; }
.tp-help .btn.btn-sm, .tp-stg .btn.btn-sm, .tp-help .btn.btn-xs, .tp-stg .btn.btn-xs { font-size: 12.5px; padding: 4px 9px; }
.tp-help .btn.btn-block, .tp-stg .btn.btn-block { display: flex; width: 100%; }
.tp-help .btn.btn-disabled, .tp-stg .btn.btn-disabled, .tp-csg .btn.btn-disabled, .tp-help .btn[disabled], .tp-stg .btn[disabled], .tp-csg .btn[disabled], .tp-stg .btn.aspNetDisabled, .tp-help .btn.aspNetDisabled { opacity: .45; pointer-events: none; cursor: default; }
.tp-help .btn i, .tp-stg .btn i, .tp-csg .btn i { color: inherit; }
.tp-help .btn font, .tp-stg .btn font, .tp-csg .btn font { color: inherit !important; }
.tp-stg .form-control, .tp-csg .form-control, .tp-stg input[type='text'].form-control, .tp-stg textarea.form-control, .tp-stg select.form-control { height: 38px; padding: 6px 10px; border: 1px solid #e2e8f0; border-radius: 8px; font-size: 13.5px; color: #334155; background: #fff; box-shadow: none; font-family: inherit; }
.tp-stg textarea.form-control { height: auto; min-height: 90px; }
.tp-stg .form-control:focus, .tp-csg .form-control:focus { outline: none; border-color: var(--tp-green, #10b981); box-shadow: 0 0 0 3px rgba(16, 185, 129, .16); }
.tp-stg .form-control[disabled], .tp-stg .form-control[readonly] { background: #f8fafc; color: #64748b; }
.tp-stg .checkbox-inline, .tp-stg .radio-inline, .tp-stg .checkbox-inline label, .tp-stg .radio-inline label { font-weight: 600; color: #334155; font-size: 13.5px; }
.tp-stg input[type='checkbox'], .tp-stg input[type='radio'] { accent-color: var(--tp-green, #10b981); }

/* ---------------------------------------------------------------- FAQ and Video Training Library (tp-help) */
.tp-help { padding: 0 0 30px; font-size: 14px; color: #334155; }
.tp-help .tp-help-ph { background: none !important; color: #0f172a !important; padding: 0 !important; border-radius: 0 !important; box-shadow: none !important; margin: 0 0 14px !important; text-align: left !important; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 16px; }
.tp-help .tp-help-ph h1 { margin: 0 !important; font-size: 26px !important; line-height: 1.2 !important; color: #0f172a !important; font-weight: 700 !important; display: flex; align-items: center; gap: 10px; flex: 1 1 100%; font-family: inherit; }
.tp-help .tp-help-ph h1 i { color: var(--tp-green-dark, #059669) !important; font-size: 22px; }
.tp-help .tp-help-ph p.lead { margin: -6px 0 0 !important; font-size: 14px !important; line-height: 1.5; color: #64748b !important; opacity: 1 !important; max-width: none !important; flex: 1 1 320px; text-align: left; }
.tp-help .tp-help-ph > div:last-child { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.tp-help .tp-help-ph .btn { margin: 0 !important; }
.tp-help .tp-help-ph .btn.btn-info, .tp-help .tp-help-ph .btn.btn-default { background: #fff; border-color: #e2e8f0; color: #334155; }
.tp-help .tp-help-ph .btn.btn-info:hover, .tp-help .tp-help-ph .btn.btn-default:hover { border-color: #2d80d2; color: #2d80d2; }
.tp-help .faq-section-card, .tp-help .video-section-card { background: #fff; border-radius: 12px; border: 1px solid #e2e8f0; box-shadow: 0 1px 3px rgba(0, 0, 0, .04); padding: 16px 18px; margin-bottom: 14px; }
.tp-help .faq-section-header, .tp-help .video-section-header { display: block; border-bottom: 1px solid #f1f5f9; font-size: 17px; line-height: 1.3; color: #0f172a; padding-bottom: 8px; margin: 0 0 12px; font-family: inherit; font-weight: 700; }
.tp-help .faq-section-header i, .tp-help .video-section-header i { color: var(--tp-green-dark, #059669) !important; margin-right: 6px; font-size: 16px; }
.tp-help .faq-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; transition: border-color .15s; }
.tp-help .faq-card:hover { border-color: #2d80d2; box-shadow: none; }
.tp-help .faq-card-title { font-size: 15px; font-weight: 700; color: #0f172a; }
.tp-help .faq-card-title:hover, .tp-help .faq-card-title:focus { color: #2d80d2; }
.tp-help .faq-card-title font { color: var(--tp-green-dark, #059669) !important; }
.tp-help .faq-card .collapse, .tp-help .faq-card .collapsing { font-size: 14px; color: #334155; line-height: 1.55; }
.tp-help .faq-card p, .tp-help .faq-card li { font-size: 14px; }
.tp-help .video-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; box-shadow: none; padding: 14px; }
.tp-help .video-card:hover { border-color: #2d80d2; box-shadow: 0 6px 15px rgba(45, 128, 210, .1); transform: none; }
.tp-help .video-card h2, .tp-help .video-card h4 { font-size: 15px !important; line-height: 1.35; color: #0f172a !important; font-family: inherit; font-weight: 700; margin: 8px 0; min-height: 0; }
.tp-help .video-card hr { border-top: 1px solid #f1f5f9; margin: 8px 0; }
.tp-help .video-card p { font-size: 13.5px; }
.tp-help .video-card-desc { font-size: 13px; color: #64748b; border-top: 1px solid #f1f5f9; }
.tp-help .video-container { border-radius: 8px; }
.tp-help .testimonial-card { background: var(--tp-green-soft, #ecfdf5); border-left: 4px solid var(--tp-green, #10b981); border-radius: 10px; }
.tp-help hr.class-1 { border: 0; border-top: 1px solid #f1f5f9; }
.tp-help .lead { font-size: 15px; }

/* ---------------------------------------------------------------- Settings (tp-stg) */
.tp-stg { padding: 0 0 30px; font-size: 14px; color: #334155; }
.tp-stg h2.tp-stg-title { margin: 0 0 4px; font-size: 26px; line-height: 1.2; font-weight: 700; color: #0f172a; display: flex; align-items: center; gap: 8px; font-family: inherit; text-transform: none; letter-spacing: 0; }
.tp-stg h2.tp-stg-title i { color: var(--tp-green-dark, #059669); font-size: 22px; }
.tp-stg h2.tp-stg-title span { font-size: inherit !important; font-weight: inherit !important; }
.tp-stg hr.class-1, .tp-stg hr.class-4, .tp-stg hr { border: 0; border-top: 1px solid #f1f5f9; margin: 12px 0; height: 0; background: none; }
.tp-stg .card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 14px 16px; margin: 0 0 14px; box-shadow: 0 1px 3px rgba(0, 0, 0, .04); }
.tp-stg .card .card { box-shadow: none; }
.tp-stg h3 { font-size: 15px; line-height: 1.3; font-weight: 700; color: #0f172a; margin: 14px 0 8px; font-family: inherit; text-transform: none; letter-spacing: 0; }
.tp-stg h3 font[color='orange'] { color: #b45309 !important; }
.tp-stg h3 font[color='#13B999'] { color: var(--tp-green-ink, #047857) !important; }
.tp-stg h4 { font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #64748b; margin: 4px 0 8px; font-family: inherit; }
.tp-stg h4 font { color: var(--tp-green-ink, #047857) !important; }
.tp-stg h5 { font-size: 12.5px; font-weight: 700; color: #64748b; margin: 8px 0 4px; }
.tp-stg h5:empty { display: none; }
.tp-stg b, .tp-stg strong { color: #334155; }
.tp-stg a { color: #2d80d2; }
.tp-stg .toolstip { font-size: 13px !important; }
.tp-stg .toolstip font { color: #2d80d2 !important; font-size: 13px !important; }
.tp-stg .text-left > br:first-child { display: none; }
/* the section menu: the first column's card holds one LinkButton per section; the code-behind marks the open one btn-success */
.tp-stg .col-lg-3 .card > br { display: none; }
.tp-stg .col-lg-3 .card .row { margin: 0; }
.tp-stg .col-lg-3 .card .row > [class*='col-'] { padding: 0; }
.tp-stg .col-lg-3 .card a.btn { display: flex; width: 100% !important; justify-content: flex-start; text-align: left; border: 0; border-radius: 8px; background: transparent; color: #334155; padding: 8px 12px; margin: 2px 0; font-size: 14px; }
.tp-stg .col-lg-3 .card a.btn:hover { background: #f1f5f9; color: #0f172a; }
.tp-stg .col-lg-3 .card a.btn.btn-success, .tp-stg .col-lg-3 .card a.btn.btn-success:hover { background: var(--tp-green-soft, #ecfdf5); color: var(--tp-green-ink, #047857); box-shadow: inset 3px 0 0 var(--tp-green, #10b981); }
.tp-stg .col-lg-3 .card a.btn.btn-disabled, .tp-stg .col-lg-3 .card a.btn.aspNetDisabled { opacity: .45; pointer-events: none; }
.tp-stg img { max-width: 100%; }
.tp-stg iframe { max-width: 100%; }
.tp-stg font[color='orange'], .tp-stg font[color='Orange'] { color: #b45309 !important; }
.tp-stg span[style*='color: orange'], .tp-stg span[style*='color:orange'] { color: #b45309 !important; }
@media (max-width: 991px) {
    .tp-stg .col-lg-3.col-sm-6, .tp-stg .col-lg-9 { width: 100%; }
}
@media (max-width: 760px) {
    .tp-stg .card { padding: 12px; }
    .tp-stg .btn, .tp-help .btn { width: 100%; }
    .tp-help .tp-help-ph .btn { width: auto; }
}

/* ---------------------------------------------------------------- Capability Statement Generator (tp-csg): a landing page with the tool at the top */
.tp-csg { padding: 0 0 30px; font-size: 14px; color: #334155; }
.tp-csg > br { display: none; }
.tp-csg .container { width: auto; max-width: 1180px; padding-left: 0; padding-right: 0; }
.tp-csg .container-fluid { padding-left: 0; padding-right: 0; border-radius: 12px; }
.tp-csg .card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px !important; padding: 16px 18px; margin: 0 0 14px; box-shadow: 0 1px 3px rgba(0, 0, 0, .04) !important; }
.tp-csg .card .card { box-shadow: none !important; border-color: #e2e8f0 !important; background: #f8fafc !important; }
.tp-csg span[style*='30pt'] { font-size: 28px !important; line-height: 1.2; color: #0f172a; }
.tp-csg span[style*='21pt'], .tp-csg span[style*='18pt'] { font-size: 18px !important; }
.tp-csg span[style*='XX-Large'], .tp-csg span[style*='xx-large'] { font-size: 22px !important; }
.tp-csg h1 { font-size: 22px; line-height: 1.25; font-weight: 700; color: #0f172a; font-family: inherit; text-transform: none; letter-spacing: 0; }
.tp-csg h2 { font-size: 18px; color: #0f172a; font-family: inherit; }
.tp-csg h3 { font-size: 15px; color: #0f172a; font-family: inherit; }
.tp-csg hr.class-1 { border: 0; border-top: 1px solid #f1f5f9; }
.tp-csg font[color='#009E0F'] { color: var(--tp-green-ink, #047857) !important; }
.tp-csg a { color: #2d80d2; }
.tp-csg .collapse { font-size: 14px; }
@media (max-width: 760px) {
    .tp-csg .card { padding: 12px; }
    .tp-csg span[style*='30pt'] { font-size: 22px !important; }
}

/* ---------------------------------------------------------------- new-look-all batch 5 (10/26/2026): one-card message pages
   (confirmOppInterest.aspx, verify_a.aspx): a centered card with an icon, a title and the page's own labels. The code-behind still
   writes its colored <font> and <h4> text into the label; those keep their colors. */
.tp-msg { display: flex; justify-content: center; padding: 24px 0 40px; }
.tp-msg-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; box-shadow: 0 1px 3px rgba(0, 0, 0, .04); padding: 32px 28px 28px; max-width: 600px; width: 100%; text-align: center; color: #334155; font-size: 15px; line-height: 1.55; }
.tp-msg-ic { width: 56px; height: 56px; border-radius: 50%; background: var(--tp-green-soft, #ecfdf5); color: var(--tp-green-dark, #059669); display: inline-flex; align-items: center; justify-content: center; font-size: 26px; margin: 0 0 14px; }
.tp-msg-card h1 { font-size: 22px; line-height: 1.25; font-weight: 700; color: #0f172a; margin: 0 0 12px; font-family: inherit; text-transform: none; letter-spacing: 0; }
.tp-msg-card p { margin: 0 0 8px; font-size: 15px; }
.tp-msg-card h4 { font-size: 14.5px; font-weight: 400; margin: 10px 0 0; line-height: 1.5; font-family: inherit; text-transform: none; color: #475569; }
.tp-msg-card a, .tp-msg-card a:visited { color: #2d80d2; font-weight: 600; }
.tp-msg-body { font-size: 15px; }
.tp-msg-body br + br { display: none; }
@media (max-width: 760px) { .tp-msg { padding: 8px 0 24px; } .tp-msg-card { padding: 24px 18px 20px; } }

/* ---------------------------------------------------------------- Settings regroup (11/06/2026, Chris's mockup): five tabs of cards above the
   open section. The old left menu column and the right section column both run full width now. */
.tp-stg .tp-stg-menu, .tp-stg .tp-stg-sections { width: 100%; float: none; padding: 0; }
.tp-stg .tp-stg-sections > .card { margin-top: 14px; }
.tp-stg .tp-stg-sections[hidden] { display: none; }
.tp-stg .tp-stg-tabs { display: flex; gap: 4px; border-bottom: 1px solid #e3e8ef; overflow-x: auto; scrollbar-width: none; margin: 0 0 14px; }
.tp-stg .tp-stg-tabs::-webkit-scrollbar { display: none; }
.tp-stg a.tp-stg-tab, .tp-stg a.tp-stg-tab:visited { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 3px solid transparent; color: #667085; font-weight: 700; font-size: 14px; white-space: nowrap; text-decoration: none; margin-bottom: -1px; }
.tp-stg a.tp-stg-tab svg { width: 16px; height: 16px; flex: none; }
.tp-stg a.tp-stg-tab:hover { color: #0f172a; text-decoration: none; }
.tp-stg a.tp-stg-tab.on { color: #0f172a; border-bottom-color: var(--tp-green, #12b886); }
.tp-stg a.tp-stg-tab:focus-visible { outline: 2px solid var(--tp-green, #12b886); outline-offset: 2px; border-radius: 6px; }
.tp-stg .tp-stg-panel[hidden] { display: none; }
.tp-stg .tp-stg-intro { color: #667085; font-size: 14px; margin: 0 0 12px; max-width: 70ch; }
.tp-stg .tp-stg-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.tp-stg .tp-stg-cards .row { margin: 0; }
.tp-stg .tp-stg-cardx { background: #fff; border: 1px solid #e3e8ef; border-radius: 12px; padding: 16px 18px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.tp-stg .tp-stg-cardhead { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.tp-stg .tp-stg-cardx h3 { margin: 0; font-size: 15.5px; line-height: 1.3; }
.tp-stg .tp-stg-cardx p { margin: 0; color: #667085; font-size: 13.5px; }
.tp-stg .tp-stg-pill { font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #eef2f7; color: #667085; white-space: nowrap; }
.tp-stg .tp-stg-pill.ai { background: var(--tp-green-soft, #e6f7f0); color: var(--tp-green-ink, #0b7a59); }
.tp-stg .tp-stg-cardact { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tp-stg .tp-stg-cardact a.btn { width: auto !important; display: inline-flex; font-size: 13.5px; padding: 7px 14px; border: 1px solid #e3e8ef; border-radius: 8px; background: #fff; color: var(--tp-green-ink, #0b7a59); font-weight: 700; }
.tp-stg .tp-stg-cardact a.btn:hover { border-color: var(--tp-green, #12b886); background: var(--tp-green-soft, #e6f7f0); color: var(--tp-green-ink, #0b7a59); }
.tp-stg .tp-stg-cardact a.btn.btn-success, .tp-stg .tp-stg-cardact a.btn.btn-success:hover { background: var(--tp-green, #12b886); border-color: var(--tp-green, #12b886); color: #fff; }
.tp-stg .tp-stg-cardact a.btn.aspNetDisabled, .tp-stg .tp-stg-cardact a.btn.btn-disabled { opacity: .45; pointer-events: none; }
.tp-stg .tp-stg-score { background: #fff; border: 1px solid #e3e8ef; border-radius: 12px; padding: 16px 18px; margin: 0 0 14px; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; }
.tp-stg .tp-stg-ring { width: 76px; height: 76px; }
.tp-stg .tp-stg-ring text { fill: #0f172a; font: 700 18px Lato, Arial, sans-serif; }
.tp-stg .tp-stg-scoretext { display: grid; gap: 8px; min-width: 0; }
.tp-stg .tp-stg-scoretext h3 { margin: 0; font-size: 15.5px; }
.tp-stg .tp-stg-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 4px 14px; font-size: 13.5px; margin: 0; padding: 0; list-style: none; }
.tp-stg .tp-stg-checks li { display: flex; gap: 6px; align-items: center; color: #334155; }
.tp-stg .tp-stg-checks li svg { width: 14px; height: 14px; flex: none; }
.tp-stg .tp-stg-checks li.ok svg { color: var(--tp-green-ink, #0b7a59); }
.tp-stg .tp-stg-checks li.miss { color: #667085; }
.tp-stg .tp-stg-checks li.miss svg { color: #b7791f; }
.tp-stg .tp-stg-plan { background: #fff; border: 1px solid #e3e8ef; border-radius: 12px; padding: 16px 18px; margin: 0 0 14px; display: grid; gap: 6px; justify-items: start; }
.tp-stg .tp-stg-planname { font-size: 22px; font-weight: 700; color: #0f172a; line-height: 1.2; }
.tp-stg .tp-stg-facts { display: flex; flex-wrap: wrap; gap: 6px 16px; color: #667085; font-size: 13.5px; }
.tp-stg .tp-stg-planact { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.tp-stg .tp-stg-planact a.btn { width: auto !important; }
@media (max-width: 640px) {
    .tp-stg .tp-stg-cards { grid-template-columns: 1fr; }
    .tp-stg .tp-stg-score { grid-template-columns: 1fr; }
    .tp-stg .tp-stg-cardact a.btn { width: 100% !important; }
}

/* ---------------------------------------------------------------- Chris's click test (11/06/2026) */
/* P1/B1 hover contrast: site-v2-compat.css (body.tp-v2 .btn-def:hover etc.) wins on color with its body prefix while this file won on
   background, so outline buttons hovered to white text on a pale background. These rules carry the body prefix and set both. */
body .tp-stg .btn:hover, body .tp-stg .btn:focus { background: #fff; border-color: #2d80d2; color: #1e40af; }
body .tp-stg .btn.btn-def:hover, body .tp-stg .btn.btn-def:focus, body .tp-stg .btn.btn-default:hover, body .tp-stg .btn.btn-greyout:hover, body .tp-stg .btn.btn-greyout:focus { background: #eff6ff; border-color: #2d80d2; color: #1e40af; }
body .tp-stg .btn.btn-greenout:hover, body .tp-stg .btn.btn-greenout:focus, body .tp-stg .btn.btn-success:hover, body .tp-stg .btn.btn-success:focus, body .tp-stg .btn.btn-info:hover, body .tp-stg .btn.btn-info:focus, body .tp-stg .btn.btn-primary:hover, body .tp-stg .btn.btn-primary:focus { background: var(--tp-green-dark, #059669); border-color: var(--tp-green-dark, #059669); color: #fff; }
body .tp-stg .btn.btn-danger:hover, body .tp-stg .btn.btn-danger:focus, body .tp-stg .btn.btn-danger-hollow:hover { background: #fef2f2; border-color: #fca5a5; color: #991b1b; }
body .tp-stg .btn.btn-link:hover, body .tp-stg .btn.btn-link:focus { background: none; border-color: transparent; color: #1e40af; text-decoration: underline; }
body .tp-stg .tp-stg-cardact a.btn:hover, body .tp-stg .tp-stg-cardact a.btn:focus { background: var(--tp-green-soft, #e6f7f0); border-color: var(--tp-green, #12b886); color: var(--tp-green-ink, #0b7a59); }
body .tp-stg .tp-stg-cardact a.btn.btn-success:hover, body .tp-stg .tp-stg-cardact a.btn.btn-success:focus { background: var(--tp-green-dark, #059669); border-color: var(--tp-green-dark, #059669); color: #fff; }
body .tp-stg .tp-stg-planact a.btn.btn-def:hover, body .tp-stg .tp-stg-planact a.btn.btn-def:focus { background: #eff6ff; border-color: #2d80d2; color: #1e40af; }
/* P6: the statement upload row */
.tp-stg .tp-stg-uprow { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; margin: 0; }
.tp-stg .tp-stg-uprow > [class*='col-'] { float: none; width: auto; padding: 0; flex: 1 1 220px; min-width: 0; }
.tp-stg .tp-stg-uprow > [class*='col-']:last-child { flex: 0 0 auto; }
.tp-stg .tp-stg-uprow .form-control { height: 38px; margin: 0; }
.tp-stg .tp-stg-uprow input[type='file'].form-control { padding: 6px 10px; line-height: 24px; }
.tp-stg .tp-stg-uprow a.btn { height: 38px; padding: 0 16px; width: auto !important; margin: 0; }
/* P2: keyword chips */
.tp-stg .tp-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; min-height: 44px; padding: 6px 8px; border: 1px solid #e2e8f0; border-radius: 8px; background: #fff; cursor: text; margin: 0 0 6px; }
.tp-stg .tp-chips:focus-within { border-color: var(--tp-green, #10b981); box-shadow: 0 0 0 3px rgba(16, 185, 129, .16); }
.tp-stg .tp-chips-list { display: contents; }
.tp-stg .tp-chip { display: inline-flex; align-items: center; gap: 4px; background: var(--tp-green-soft, #ecfdf5); color: var(--tp-green-ink, #047857); border: 1px solid #a7f3d0; border-radius: 999px; padding: 3px 6px 3px 10px; font-size: 13px; font-weight: 600; max-width: 100%; }
.tp-stg .tp-chip-x { border: 0; background: none; color: inherit; font-size: 15px; line-height: 1; padding: 0 2px; cursor: pointer; border-radius: 50%; }
.tp-stg .tp-chip-x:hover, .tp-stg .tp-chip-x:focus { background: #a7f3d0; outline: none; }
.tp-stg .tp-chips-input { flex: 1 1 160px; min-width: 120px; border: 0; outline: none; font: inherit; font-size: 13.5px; padding: 4px 2px; background: transparent; color: #334155; }
.tp-stg .tp-chips-source { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0; }
/* P4: district hint */
.tp-stg .tp-stg-hint { display: block; margin: 4px 0 0; font-size: 12.5px; color: #64748b; }
/* P5: logo preview */
.tp-stg .tp-stg-logo-preview { display: block; max-width: 220px; max-height: 120px; margin: 10px 0 4px; border: 1px solid #e2e8f0; border-radius: 8px; padding: 4px; background: #fff; }
.tp-stg .tp-stg-logo-preview[hidden] { display: none; }
/* U1: sticky save bar at the bottom of the open section */
.tp-stg .tp-stg-savebar { position: sticky; bottom: 0; z-index: 5; display: flex; justify-content: flex-end; align-items: center; gap: 12px; flex-wrap: wrap; margin: 16px -16px -14px; padding: 10px 16px; background: rgba(255, 255, 255, .96); border-top: 1px solid #e2e8f0; border-radius: 0 0 12px 12px; box-shadow: 0 -4px 12px rgba(15, 23, 42, .06); }
.tp-stg .tp-stg-savebar-hint { font-size: 12.5px; color: #64748b; margin-right: auto; }
.tp-stg .tp-stg-savebar .tp-stg-savebar-btn { width: auto !important; }
@media (max-width: 760px) { .tp-stg .tp-stg-savebar { margin: 12px -12px -12px; padding: 8px 12px; } .tp-stg .tp-stg-savebar .tp-stg-savebar-btn { width: 100% !important; } .tp-stg .tp-stg-savebar-hint { display: none; } }
