/* The Tool Crib — front-end styles. Everything is scoped to .tc-app.
   Change the brand colours in the first block to match your theme. */
.tc-app {
	--tc-ink: #14202e;
	--tc-muted: #5b6878;
	--tc-line: #dde3ea;
	--tc-panel: #ffffff;
	--tc-wash: #f4f6f9;
	--tc-brand: #0f2a44;
	--tc-accent: #b8862b;
	--tc-ok: #1d7a45;
	--tc-ok-wash: #e3f4ea;
	--tc-bad: #a52a2a;
	--tc-bad-wash: #fbe9e9;
	--tc-radius: 10px;
	color: var(--tc-ink);
	font-size: 16px;
	line-height: 1.5;
	max-width: 1120px;
	margin: 0 auto;
	box-sizing: border-box;
}
.tc-app *, .tc-app *::before, .tc-app *::after { box-sizing: border-box; }
.tc-app h2, .tc-app h3, .tc-app h4 { color: var(--tc-ink); line-height: 1.25; margin: 0 0 .5em; }
.tc-app h3 { font-size: 1.25rem; }
.tc-app a { color: var(--tc-brand); }
.tc-app p { margin: 0 0 .75em; }
.tc-muted { color: var(--tc-muted); font-weight: normal; }
.tc-eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; color: var(--tc-accent); font-weight: 600; margin-bottom: .25em; }

/* Hero */
.tc-hero { background: var(--tc-brand); color: #fff; border-radius: var(--tc-radius); padding: 32px; margin-bottom: 24px; }
.tc-hero h2 { color: #fff; font-size: 2rem; margin-bottom: .25em; }
.tc-hero p { color: rgba(255, 255, 255, .85); max-width: 60ch; margin: 0; }

/* Navigation */
.tc-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--tc-line); padding-bottom: 12px; margin-bottom: 24px; }
.tc-brand { font-weight: 700; font-size: 1.15rem; display: flex; flex-direction: column; }
.tc-brand small { font-weight: 400; font-size: .8rem; color: var(--tc-muted); }
.tc-tabs { display: flex; flex-wrap: wrap; gap: 4px; }
.tc-tab { text-decoration: none; padding: 8px 14px; border-radius: 999px; color: var(--tc-ink) !important; font-size: .95rem; }
.tc-tab:hover { background: var(--tc-wash); }
.tc-tab.is-current { background: var(--tc-brand); color: #fff !important; }
.tc-logout { color: var(--tc-muted) !important; }
.tc-badge { display: inline-block; min-width: 20px; padding: 0 6px; margin-left: 4px; border-radius: 10px; background: var(--tc-accent); color: #fff; font-size: .75rem; text-align: center; }

/* Cards and layout */
.tc-card { background: var(--tc-panel); border: 1px solid var(--tc-line); border-radius: var(--tc-radius); padding: 24px; margin-bottom: 24px; }
.tc-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.tc-split > .tc-card { margin-bottom: 0; }
.tc-app section { margin-bottom: 28px; }

/* Plans */
.tc-plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.tc-plan { border: 1px solid var(--tc-line); border-radius: var(--tc-radius); padding: 16px; background: var(--tc-panel); }
.tc-plan h4 { font-size: .95rem; margin-bottom: .4em; }
.tc-plan-price { font-weight: 700; color: var(--tc-brand); margin-bottom: .3em; }
.tc-plan p:last-child { margin-bottom: 0; font-size: .9rem; color: var(--tc-muted); }

/* Forms */
.tc-form fieldset { border: 0; padding: 0; margin: 0 0 20px; }
.tc-form legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.tc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; margin-bottom: 14px; }
.tc-field { display: flex; flex-direction: column; gap: 4px; font-size: .9rem; }
.tc-field > span { font-weight: 600; }
.tc-field small { color: var(--tc-muted); font-size: .8rem; }
.tc-wide { grid-column: 1 / -1; margin-bottom: 14px; }
.tc-app input[type=text], .tc-app input[type=email], .tc-app input[type=tel], .tc-app input[type=url],
.tc-app input[type=number], .tc-app input[type=date], .tc-app input[type=search], .tc-app input[type=password],
.tc-app select, .tc-app textarea {
	width: 100%; padding: 9px 11px; border: 1px solid #c7cfd8; border-radius: 6px; background: #fff; color: var(--tc-ink); font: inherit; font-size: .95rem; min-height: 42px;
}
.tc-app input:focus, .tc-app select:focus, .tc-app textarea:focus { outline: 2px solid var(--tc-accent); outline-offset: 1px; border-color: var(--tc-accent); }
.tc-check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; margin: 6px 0 18px; }
.tc-check input { margin-top: 4px; flex: none; }
.tc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Login form from wp_login_form() */
#tc-login p { margin-bottom: 12px; }
#tc-login label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 4px; }
#tc-login .login-remember label { font-weight: 400; }
#tc-login input[type=submit] { width: auto; }

/* Buttons */
.tc-btn, .tc-app #tc-login input[type=submit] {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 20px; min-height: 42px;
	border: 1px solid var(--tc-brand); border-radius: 6px; background: var(--tc-brand); color: #fff !important; font: inherit; font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer;
}
.tc-btn:hover, .tc-app #tc-login input[type=submit]:hover { background: #163a5d; }
.tc-btn-ghost { background: transparent; color: var(--tc-brand) !important; }
.tc-btn-ghost:hover { background: var(--tc-wash); }
.tc-btn-sm { padding: 6px 14px; min-height: 34px; font-size: .9rem; }
.tc-btn-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tc-link-danger { background: none; border: 0; padding: 0; color: var(--tc-bad); cursor: pointer; font: inherit; text-decoration: underline; }
.tc-inline { display: inline; margin: 0; }

/* Notices */
.tc-notice { border-radius: 8px; padding: 12px 16px; margin-bottom: 20px; background: var(--tc-wash); border-left: 4px solid var(--tc-brand); }
.tc-notice-ok { background: var(--tc-ok-wash); border-color: var(--tc-ok); }
.tc-notice-error { background: var(--tc-bad-wash); border-color: var(--tc-bad); }
.tc-empty { padding: 28px; text-align: center; color: var(--tc-muted); background: var(--tc-wash); border-radius: var(--tc-radius); margin-bottom: 24px; }

/* Search */
.tc-search { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr auto; gap: 12px; align-items: end; background: var(--tc-wash); padding: 16px; border-radius: var(--tc-radius); margin-bottom: 12px; }
.tc-count { color: var(--tc-muted); font-size: .9rem; }
.tc-results { list-style: none; margin: 0 0 20px; padding: 0; border: 1px solid var(--tc-line); border-radius: var(--tc-radius); overflow: hidden; background: var(--tc-panel); }
.tc-result { display: flex; justify-content: space-between; gap: 20px; padding: 16px 20px; border-top: 1px solid var(--tc-line); margin: 0; }
.tc-result:first-child { border-top: 0; }
.tc-result p { margin: 0 0 4px; }
.tc-pn { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-weight: 700; font-size: 1rem; }
.tc-desc { font-weight: 500; }
.tc-meta, .tc-owner, .tc-cond { font-size: .85rem; color: var(--tc-muted); }
.tc-result-side { text-align: right; flex: none; min-width: 170px; }
.tc-price { font-weight: 700; color: var(--tc-brand); }
.tc-type { display: inline-block; padding: 1px 8px; border-radius: 4px; font-size: .72rem; font-weight: 700; letter-spacing: .03em; background: var(--tc-wash); color: var(--tc-brand); }
.tc-type-oem { background: #e8eefc; } .tc-type-mro { background: #fdf1dd; } .tc-type-airline { background: #e4f3ef; } .tc-type-corporate { background: #f0e8f7; } .tc-type-contractor { background: #eef0f2; } .tc-type-military { background: #e6ecdf; }
.tc-pages { display: flex; justify-content: center; gap: 20px; align-items: center; }

/* Pills */
.tc-pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .78rem; background: var(--tc-wash); color: var(--tc-muted); white-space: nowrap; }
.tc-pill-ok, .tc-pill-accepted { background: var(--tc-ok-wash); color: var(--tc-ok); }
.tc-pill-open { background: #fdf1dd; color: #8a5a00; }
.tc-pill-declined, .tc-pill-cancelled { background: var(--tc-bad-wash); color: var(--tc-bad); }

/* Detail lists */
.tc-dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 12px 0; font-size: .92rem; }
.tc-dl dt { color: var(--tc-muted); }
.tc-dl dd { margin: 0; }
.tc-notes, .tc-quote { background: var(--tc-wash); border-radius: 8px; padding: 12px 14px; font-size: .92rem; }
.tc-quote-reply { border-left: 3px solid var(--tc-ok); }
.tc-back { text-decoration: none; font-size: .9rem; }

/* Table */
.tc-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.tc-toolbar h3 { margin: 0; }
.tc-table-wrap { overflow-x: auto; border: 1px solid var(--tc-line); border-radius: var(--tc-radius); margin-bottom: 24px; background: var(--tc-panel); }
.tc-table { width: 100%; border-collapse: collapse; font-size: .9rem; margin: 0; }
.tc-table th, .tc-table td { padding: 10px 12px; border-bottom: 1px solid var(--tc-line); text-align: left; vertical-align: top; }
.tc-table th { background: var(--tc-wash); font-weight: 600; white-space: nowrap; }
.tc-table tr:last-child td { border-bottom: 0; }
.tc-table td small { display: block; color: var(--tc-muted); font-weight: 400; font-family: inherit; }
.tc-table .tc-pn { font-size: .9rem; }
.tc-warn { color: var(--tc-bad); font-weight: 600; }
.tc-actions { white-space: nowrap; }
.tc-actions a { margin-right: 10px; }

/* Requests */
.tc-requests { list-style: none; margin: 0; padding: 0; }
.tc-request { border: 1px solid var(--tc-line); border-radius: var(--tc-radius); margin: 0 0 10px; background: var(--tc-panel); }
.tc-request summary { cursor: pointer; padding: 14px 16px; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tc-request summary::-webkit-details-marker { display: none; }
.tc-request summary::after { content: "▾"; margin-left: auto; color: var(--tc-muted); }
.tc-request details[open] summary::after { content: "▴"; }
.tc-request details > *:not(summary) { margin-left: 16px; margin-right: 16px; }
.tc-request details > *:last-child { margin-bottom: 16px; }
.tc-reply { margin-top: 12px; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

/* Advantages and regulations */
.tc-adv { margin-bottom: 32px; }
.tc-adv > h3 { font-size: 1.5rem; }
.tc-adv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; margin: 16px 0 28px; }
.tc-adv-item { background: var(--tc-panel); border: 1px solid var(--tc-line); border-top: 3px solid var(--tc-accent); border-radius: var(--tc-radius); padding: 16px 18px; }
.tc-app .tc-adv-item h4 { margin: 0 0 6px; font-size: 1rem; }
.tc-adv-item p { margin: 0; font-size: .92rem; color: var(--tc-muted); }
.tc-regs h4 { font-size: 1.1rem; margin-top: 0; }
.tc-app .tc-adv-facts { border-top-color: var(--tc-brand); background: var(--tc-wash); }
.tc-adv-link { margin-top: 10px !important; }
.tc-adv-link a { font-weight: 600; color: var(--tc-brand); }
.tc-facts h2 { font-size: 1.7rem; }
.tc-facts .tc-regs { margin-top: 20px; }
.tc-regs-table { border: 1px solid var(--tc-line); border-radius: var(--tc-radius); overflow: hidden; background: var(--tc-panel); font-size: .9rem; }
.tc-regs-row { display: grid; grid-template-columns: 1.1fr 1fr 2.2fr 1.8fr; gap: 14px; padding: 12px 16px; border-top: 1px solid var(--tc-line); }
.tc-regs-row:first-child { border-top: 0; }
.tc-regs-head { background: var(--tc-wash); font-weight: 600; }
.tc-reg-id { font-weight: 700; color: var(--tc-brand); }
.tc-regs-note { font-size: .85rem; margin-top: 12px; }
.tc-regs-group { margin-bottom: 22px; }
.tc-regs-group h5 { font-size: 1rem; margin: 0 0 4px; color: var(--tc-brand); text-transform: uppercase; letter-spacing: .05em; }
.tc-regs-intro { font-size: .9rem; color: var(--tc-muted); margin-bottom: 10px; }
.tc-regs-details summary { cursor: pointer; font-weight: 600; color: var(--tc-brand); }
.tc-regs-details .tc-adv { margin: 16px 0 0; }
@media (max-width: 760px) {
	.tc-regs-head { display: none; }
	.tc-regs-row { grid-template-columns: 1fr; gap: 4px; }
	.tc-regs-row span[data-label]:not(.tc-reg-id)::before { content: attr(data-label) ": "; font-weight: 600; color: var(--tc-ink); }
}

/* Embedded on other pages (home page, shortcode) */
.tc-embed { padding: 48px 16px; }
.tc-home { background: #f4f6f9; max-width: none; }
.tc-home > .tc-adv { max-width: 1120px; margin: 0 auto; }
.tc-adv-lead { font-size: 1.05rem; color: var(--tc-muted); max-width: 70ch; }
.tc-adv-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }

/* Download App */
.tc-hero { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.tc-hero-text { flex: 1 1 360px; }
.tc-hero .tc-btn-install { background: var(--tc-accent); border-color: var(--tc-accent); }
.tc-hero .tc-btn-install:hover { background: #a37624; }
.tc-hero-app { display: flex; gap: 10px; flex-wrap: wrap; }
.tc-hero .tc-btn-demo { background: transparent; border-color: rgba(255,255,255,.55); }
.tc-hero .tc-btn-demo:hover { background: rgba(255,255,255,.1); }
.tc-nav-app .tc-btn-install { padding: 6px 14px; min-height: 36px; font-size: .9rem; }
.tc-btn-install[hidden], .tc-app [data-tc-install][hidden] { display: none !important; }
.tc-install-help { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); width: min(440px, calc(100vw - 32px)); z-index: 9999; background: #fff; color: var(--tc-ink); border-radius: 14px; padding: 22px 22px 14px; box-shadow: 0 18px 50px rgba(0,0,0,.3); }
.tc-install-help[hidden] { display: none; }
.tc-install-help h3 { margin: 0 0 10px; }
.tc-install-help p { font-size: .95rem; }
.tc-install-close { position: absolute; top: 8px; right: 10px; background: none; border: 0; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--tc-muted); padding: 4px 8px; }

/* Calibration, technicians, quality file */
.tc-tech { font-size: .85rem; color: var(--tc-accent); font-weight: 600; }
.tc-flags { font-size: .88rem; font-weight: 600; color: #8a5a00; background: #fdf1dd; border-radius: 6px; padding: 6px 10px; display: inline-block; }
.tc-docs { list-style: none; margin: 0 0 14px; padding: 0; }
.tc-docs li { padding: 6px 0; border-bottom: 1px solid var(--tc-line); font-size: .92rem; margin: 0; }
.tc-docs li:last-child { border-bottom: 0; }
.tc-owner-q { font-size: .9rem; border-top: 1px solid var(--tc-line); padding-top: 12px; margin-top: 12px; }
.tc-iqq-section { border-top: 1px solid var(--tc-line) !important; padding-top: 16px !important; }
.tc-iqq-section legend { font-size: 1.05rem; }
.tc-iqq-q { padding: 10px 0; border-bottom: 1px dashed var(--tc-line); }
.tc-iqq-q p { margin: 0 0 6px; font-size: .92rem; }
.tc-radios { display: flex; gap: 18px; flex-wrap: wrap; }
.tc-radios label { display: inline-flex; gap: 6px; align-items: center; font-size: .92rem; }
.tc-iqq-detail { margin-top: 8px; }
.tc-iqq-view { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.tc-app h4 { margin-top: 1.2em; }

@media (max-width: 900px) {
	.tc-search { grid-template-columns: 1fr 1fr; }
	.tc-search .tc-q { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
	.tc-hero { padding: 22px; }
	.tc-hero h2 { font-size: 1.6rem; }
	.tc-card { padding: 18px; }
	.tc-split, .tc-grid, .tc-search, .tc-iqq-view { grid-template-columns: 1fr; }
	.tc-result { flex-direction: column; gap: 8px; }
	.tc-result-side { text-align: left; min-width: 0; }
	.tc-nav { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   Legibility layer (v1.6). Higher specificity so the site theme's
   own colours, fonts and link styles cannot wash out the app.
   ========================================================= */
html body .tc-app {
	--tc-ink: #0b1622;
	--tc-muted: #3a4757;
	--tc-line: #c9d3de;
	--tc-wash: #eef2f6;
	background: #f7f9fb;
	color: var(--tc-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 17px;
	line-height: 1.6;
	padding: 24px max(16px, env(safe-area-inset-right, 0px)) 32px max(16px, env(safe-area-inset-left, 0px));
	border-radius: 12px;
	-webkit-font-smoothing: antialiased;
}
html body .tc-app.tc-home { border-radius: 0; }
html body .tc-app p, html body .tc-app li, html body .tc-app dd, html body .tc-app td,
html body .tc-app label, html body .tc-app span, html body .tc-app summary { color: inherit; font-family: inherit; }
html body .tc-app p, html body .tc-app li, html body .tc-app dd { font-size: 1rem; }
html body .tc-app h2, html body .tc-app h3, html body .tc-app h4, html body .tc-app h5 { color: var(--tc-ink); font-family: inherit; font-weight: 700; letter-spacing: 0; }
html body .tc-app h2 { font-size: 1.9rem; }
html body .tc-app h3 { font-size: 1.4rem; }
html body .tc-app h4 { font-size: 1.15rem; }
html body .tc-app .tc-muted, html body .tc-app small, html body .tc-app .tc-meta, html body .tc-app .tc-owner,
html body .tc-app .tc-cond, html body .tc-app .tc-count, html body .tc-app .tc-dl dt, html body .tc-app .tc-regs-intro,
html body .tc-app .tc-adv-item p, html body .tc-app .tc-plan p:last-child { color: var(--tc-muted) !important; }
html body .tc-app small, html body .tc-app .tc-meta, html body .tc-app .tc-owner, html body .tc-app .tc-cond { font-size: .9rem; }
html body .tc-app .tc-eyebrow { font-size: .85rem; color: #8a5f14 !important; font-weight: 700; }

/* Links: always dark, bold and underlined */
html body .tc-app a:not(.tc-btn):not(.tc-tab) {
	color: var(--tc-brand) !important; font-weight: 600; text-decoration: underline !important;
	text-decoration-thickness: 2px; text-underline-offset: 3px;
}
html body .tc-app a:not(.tc-btn):not(.tc-tab):hover { color: #8a5f14 !important; }

/* Buttons: large, bold, high contrast */
html body .tc-app .tc-btn, html body .tc-app #tc-login input[type=submit] {
	min-height: 48px; padding: 12px 22px; font-size: 1rem !important; font-weight: 700 !important; font-family: inherit;
	background: var(--tc-brand) !important; border: 2px solid var(--tc-brand) !important; color: #ffffff !important;
	text-decoration: none !important; border-radius: 8px; line-height: 1.2; text-transform: none; letter-spacing: 0;
	box-shadow: 0 2px 6px rgba(15, 42, 68, .18);
}
html body .tc-app .tc-btn:hover, html body .tc-app #tc-login input[type=submit]:hover { background: #1d4a75 !important; border-color: #1d4a75 !important; }
html body .tc-app .tc-btn-ghost {
	background: #ffffff !important; color: var(--tc-brand) !important; border: 2px solid var(--tc-brand) !important; box-shadow: none;
}
html body .tc-app .tc-btn-ghost:hover { background: var(--tc-wash) !important; color: var(--tc-brand) !important; }
html body .tc-app .tc-btn-sm { min-height: 40px; padding: 8px 16px; font-size: .95rem !important; }
html body .tc-app .tc-link-danger { color: var(--tc-bad) !important; font-weight: 700; font-size: .95rem; }

/* On the navy hero: amber and white buttons with dark text */
html body .tc-app .tc-hero { color: #ffffff; }
html body .tc-app .tc-hero p { color: #e6edf5 !important; font-size: 1.05rem; }
html body .tc-app .tc-hero .tc-eyebrow { color: #f0c46a !important; }
html body .tc-app .tc-hero .tc-btn-install { background: #f0b545 !important; border-color: #f0b545 !important; color: #14100a !important; }
html body .tc-app .tc-hero .tc-btn-install:hover { background: #ffc85e !important; border-color: #ffc85e !important; }
html body .tc-app .tc-hero .tc-btn-demo { background: #ffffff !important; border-color: #ffffff !important; color: var(--tc-brand) !important; }
html body .tc-app .tc-nav-app .tc-btn-install { background: #f0b545 !important; border-color: #f0b545 !important; color: #14100a !important; }

/* Tabs */
html body .tc-app .tc-tab { font-size: 1rem; font-weight: 600; padding: 10px 16px; color: var(--tc-ink) !important; text-decoration: none !important; }
html body .tc-app .tc-tab.is-current { color: #ffffff !important; }
html body .tc-app .tc-logout { color: var(--tc-muted) !important; }

/* Form fields and labels */
html body .tc-app .tc-field { font-size: .98rem; }
html body .tc-app input[type=text], html body .tc-app input[type=email], html body .tc-app input[type=tel], html body .tc-app input[type=url],
html body .tc-app input[type=number], html body .tc-app input[type=date], html body .tc-app input[type=search], html body .tc-app input[type=password],
html body .tc-app select, html body .tc-app textarea {
	font-size: 1rem; color: var(--tc-ink); background: #ffffff; border: 1.5px solid #9aa9b9; min-height: 46px;
}
html body .tc-app ::placeholder { color: #6a7787; opacity: 1; }

/* Pills, tables, regulation rows */
html body .tc-app .tc-pill { font-size: .85rem; font-weight: 700; }
html body .tc-app .tc-pill-open { background: #fbe7bf; color: #6b4600; }
html body .tc-app .tc-table, html body .tc-app .tc-regs-table { font-size: .97rem; }
html body .tc-app .tc-table th, html body .tc-app .tc-regs-head { color: var(--tc-ink); }
html body .tc-app .tc-reg-id { color: var(--tc-brand); }
html body .tc-app .tc-regs-group h5 { font-size: 1rem; color: #8a5f14; }
html body .tc-app .tc-price { font-size: 1.05rem; }
html body .tc-app .tc-adv-link a { font-size: 1.02rem; }
html body .tc-app :focus-visible { outline: 3px solid #f0b545; outline-offset: 2px; }
html body .tc-app .tc-hero h2 { color: #ffffff !important; font-size: 2.3rem; }
html body .tc-app .tc-adv-item h4 { font-size: 1.15rem; }
html body .tc-app.tc-embed { max-width: none; }
html body .tc-app.tc-embed > .tc-adv, html body .tc-app.tc-embed > .tc-facts { max-width: 1120px; margin-left: auto; margin-right: auto; }

/* =========================================================
   Tool tracking and integrations (v2.0)
   ========================================================= */
html body .tc-app .tc-avail { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: .88rem; font-weight: 700; white-space: nowrap; }
html body .tc-app .tc-avail-ok { background: var(--tc-ok-wash); color: var(--tc-ok); }
html body .tc-app .tc-avail-warn { background: #fbe7bf; color: #6b4600; }
html body .tc-app .tc-avail-bad { background: var(--tc-bad-wash); color: var(--tc-bad); }
html body .tc-app .tc-avail-changed { outline: 2px solid #f0b545; outline-offset: 1px; }
html body .tc-app .tc-src { color: #1d4a75 !important; font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
html body .tc-app .tc-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 12px; margin: 0 0 20px; }
html body .tc-app .tc-stat { background: #fff; border: 1px solid var(--tc-line); border-radius: 10px; padding: 14px 16px; display: grid; gap: 2px; }
html body .tc-app .tc-stat b { font-size: 1.8rem; line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--tc-ink); }
html body .tc-app .tc-stat span { font-size: .92rem; color: var(--tc-muted); font-weight: 600; }
html body .tc-app .tc-stat-ok b { color: var(--tc-ok); }
html body .tc-app .tc-stat-warn { background: #fdf3df; border-color: #ecd29b; }
html body .tc-app .tc-stat-bad { background: var(--tc-bad-wash); border-color: #e7b7b7; }
html body .tc-app .tc-stat-bad b { color: var(--tc-bad); }
html body .tc-app .tc-split-wide { grid-template-columns: minmax(0, 1fr); }
html body .tc-app .tc-events { list-style: none; margin: 0; padding: 0; }
html body .tc-app .tc-event { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--tc-line); margin: 0; font-size: .95rem; }
html body .tc-app .tc-event:first-child { border-top: 0; }
html body .tc-app .tc-ev-time { color: var(--tc-muted); font-size: .85rem; font-variant-numeric: tabular-nums; }
html body .tc-app .tc-ev-what small { display: block; }
html body .tc-app .tc-loan-step { border-top: 1px solid var(--tc-line); padding-top: 14px; margin-top: 14px; }
html body .tc-app .tc-loan-step h4 { margin-bottom: 8px; }
html body .tc-app .tc-pill-shipped, html body .tc-app .tc-pill-received, html body .tc-app .tc-pill-returned { background: #e3ecf7; color: #1d4a75; }
html body .tc-app .tc-bulk { align-items: center; margin-bottom: 10px; }
html body .tc-app .tc-api dd code, html body .tc-app .tc-secret { word-break: break-all; }
html body .tc-app code { background: var(--tc-wash); padding: 1px 5px; border-radius: 4px; font-size: .9em; }
html body .tc-app .tc-code { background: #0f2a44; color: #e8f0f8; padding: 14px; border-radius: 8px; overflow-x: auto; font-size: .85rem; white-space: pre-wrap; word-break: break-word; }
html body .tc-app .tc-fields summary { cursor: pointer; font-weight: 700; color: var(--tc-brand); margin: 6px 0; }
html body .tc-app .tc-fields ul { columns: 2; font-size: .92rem; }
html body .tc-app .tc-preview { background: var(--tc-wash); border-radius: 8px; padding: 14px 16px; margin-top: 14px; }
html body .tc-app .tc-int-actions { margin: -8px 0 24px; }
html body .tc-app .tc-card h3 + .tc-muted, html body .tc-app .tc-form h3 { margin-top: 18px; }
html body .tc-app .tc-labels { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
html body .tc-app .tc-label { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px; align-items: center; border: 1px dashed #9aa9b9; border-radius: 6px; padding: 8px; background: #fff; break-inside: avoid; }
html body .tc-app .tc-label .tc-qr svg { width: 84px; height: 84px; display: block; }
html body .tc-app .tc-label span { display: block; font-size: .8rem; color: var(--tc-muted); line-height: 1.3; }
html body .tc-app .tc-label .tc-pn { font-size: .95rem; }
html body .tc-app .tc-label-owner { font-size: .7rem !important; margin-top: 4px; }
@media (max-width: 900px) { html body .tc-app .tc-split-wide { grid-template-columns: minmax(0, 1fr); } html body .tc-app .tc-fields ul { columns: 1; } }
@media (max-width: 560px) { html body .tc-app .tc-event { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
@media print {
	body * { visibility: hidden !important; }
	.tc-labels, .tc-labels * { visibility: visible !important; }
	.tc-labels { position: absolute; left: 0; top: 0; width: 100%; }
	.tc-noprint, .tc-site-button { display: none !important; }
}

/* Front page photos (v2.1) */
html body .tc-app .tc-hero-photo {
	background-color: rgb(11, 30, 50);
	background-image: linear-gradient(90deg, rgba(11, 30, 50, .96) 0%, rgba(11, 30, 50, .88) 42%, rgba(11, 30, 50, .45) 75%, rgba(11, 30, 50, .25) 100%), var(--tc-hero-img);
	background-size: cover;
	background-position: center 40%;
	min-height: 340px;
	padding: 44px 40px;
	align-items: flex-end;
}
html body .tc-app .tc-hero-photo .tc-hero-text { max-width: 560px; }
html body .tc-app .tc-hero-photo h2 { font-size: 2.6rem; }
html body .tc-app .tc-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; background: #fff; border: 1px solid var(--tc-line); border-radius: 12px; overflow: hidden; margin-bottom: 32px; }
html body .tc-app .tc-feature img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; display: block; }
html body .tc-app .tc-feature-text { padding: 24px 28px 24px 0; }
html body .tc-app .tc-feature-text h3 { margin-bottom: 10px; }
@media (max-width: 760px) {
	html body .tc-app .tc-hero-photo { min-height: 300px; padding: 170px 22px 26px; background-position: 60% top; background-size: auto 360px; background-repeat: no-repeat; background-image: linear-gradient(180deg, rgba(11, 30, 50, .1) 0%, rgba(11, 30, 50, .35) 90px, rgba(11, 30, 50, .97) 210px, rgb(11, 30, 50) 300px), var(--tc-hero-img); background-color: rgb(11, 30, 50); }
	html body .tc-app .tc-hero-photo h2 { font-size: 2rem; }
	html body .tc-app .tc-feature { grid-template-columns: minmax(0, 1fr); gap: 0; }
	html body .tc-app .tc-feature img { min-height: 200px; max-height: 240px; }
	html body .tc-app .tc-feature-text { padding: 20px; }
}

/* U.S. Veteran-Owned badge (v2.2) */
html body .tc-app .tc-vet { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 6px 14px 6px 10px; border-radius: 999px; background: #ffffff; color: #0f2a44 !important; font-size: .9rem; font-weight: 700; letter-spacing: .01em; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
html body .tc-app .tc-vet svg { color: #b22234; flex: none; }
html body .tc-app .tc-vet span { color: #0f2a44 !important; }
html body .tc-app .tc-adv .tc-vet { box-shadow: none; border: 1px solid var(--tc-line); }


/* Logo (2.3) */
html body .tc-app .tc-hero h2.tc-logo { margin: 0 0 6px; line-height: 0; font-size: 0; }
html body .tc-app .tc-logo img { display: block; width: 100%; max-width: 440px; height: auto; }
html body .tc-app .tc-hero p.tc-owner { margin: 10px 0 16px; font-size: .9rem; color: #dbe5f1 !important; }
html body .tc-app .tc-brand { flex-direction: row; align-items: center; gap: 10px; }
html body .tc-app .tc-brand > span { display: flex; flex-direction: column; }
html body .tc-app .tc-brand-mark { width: 40px; height: 40px; flex: none; }
@media (max-width: 600px) { html body .tc-app .tc-logo img { max-width: 300px; } }

/* 2.4 — light hero with an embedded photo */
html body .tc-app .tc-hero.tc-hero-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 28px; align-items: center; background: #ffffff !important; background-image: none !important; color: var(--tc-ink); border: 1px solid #d3dfec; padding: 28px; min-height: 0; box-shadow: 0 4px 18px rgba(11, 37, 69, .08); }
html body .tc-app .tc-hero.tc-hero-split .tc-hero-text { max-width: none; }
html body .tc-app .tc-hero.tc-hero-split p { color: #2b3a4b !important; max-width: 60ch; }
html body .tc-app .tc-hero.tc-hero-split .tc-eyebrow { color: #8a5f14 !important; font-size: .85rem; margin-bottom: 8px; }
html body .tc-app .tc-hero.tc-hero-split p.tc-owner { color: #3a4757 !important; margin: 8px 0 14px; }
html body .tc-app .tc-hero.tc-hero-split .tc-logo img { max-width: 380px; }
html body .tc-app .tc-hero.tc-hero-split .tc-vet { border: 1px solid #d3dfec; box-shadow: none; }
html body .tc-app .tc-hero.tc-hero-split .tc-hero-app { margin-top: 18px; }
html body .tc-app .tc-hero.tc-hero-split .tc-btn-demo { background: #ffffff !important; border: 2px solid #0B2545 !important; color: #0B2545 !important; }
html body .tc-app .tc-hero-figure { margin: 0; }
html body .tc-app .tc-hero-figure img { display: block; width: 100%; height: 280px; object-fit: cover; border-radius: 12px; }
html body .tc-app .tc-btn-whatsapp { display: inline-flex; align-items: center; gap: 8px; background: #1E7A46 !important; border: 2px solid #1E7A46 !important; color: #ffffff !important; text-decoration: none; }
html body .tc-app .tc-btn-whatsapp:hover { background: #17653a !important; border-color: #17653a !important; }
html body .tc-app .tc-btn-whatsapp span { color: #ffffff !important; }
@media (max-width: 760px) {
	html body .tc-app .tc-hero.tc-hero-split { grid-template-columns: minmax(0, 1fr); padding: 20px; }
	html body .tc-app .tc-hero-figure { order: -1; }
	html body .tc-app .tc-hero-figure img { height: 190px; }
}

/* 2.4 — home page banner */
html body .tc-app.tc-home-banner { background: #EAF2FA; border-bottom: 1px solid #d3dfec; padding: 36px 20px; margin: 0; max-width: none; border-radius: 0; }
html body .tc-app.tc-home-banner .tc-hb-inner { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 36px; align-items: center; }
html body .tc-app.tc-home-banner .tc-hb-logo { display: inline-block; background: #ffffff; border: 1px solid #d3dfec; border-radius: 14px; padding: 14px 20px; margin-bottom: 18px; box-shadow: 0 3px 12px rgba(11, 37, 69, .10); transition: transform .15s ease, box-shadow .15s ease; }
html body .tc-app.tc-home-banner .tc-hb-logo:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(11, 37, 69, .16); }
html body .tc-app.tc-home-banner .tc-hb-logo img { display: block; width: 320px; max-width: 100%; height: auto; }
html body .tc-app.tc-home-banner .tc-eyebrow { color: #8a5f14 !important; font-size: .85rem; }
html body .tc-app.tc-home-banner h2 { color: #0B2545 !important; font-size: 2rem; line-height: 1.2; margin: 0 0 12px; }
html body .tc-app.tc-home-banner p { color: #2b3a4b !important; font-size: 1.05rem; max-width: 60ch; }
html body .tc-app.tc-home-banner .tc-hb-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 16px; }
html body .tc-app.tc-home-banner .tc-hb-go { display: inline-flex; align-items: center; gap: 10px; background: #0B2545 !important; border: 2px solid #0B2545 !important; color: #ffffff !important; text-decoration: none; }
html body .tc-app.tc-home-banner .tc-hb-go span { color: #ffffff !important; }
html body .tc-app.tc-home-banner .tc-hb-go img { width: 26px; height: 26px; }
html body .tc-app.tc-home-banner .tc-vet { border: 1px solid #d3dfec; box-shadow: none; margin-bottom: 8px; }
html body .tc-app.tc-home-banner p.tc-hb-owner { font-size: .9rem; color: #3a4757 !important; margin: 0; }
html body .tc-app.tc-home-banner .tc-hb-figure { margin: 0; }
html body .tc-app.tc-home-banner .tc-hb-figure img { display: block; width: 100%; height: 320px; object-fit: cover; border-radius: 14px; box-shadow: 0 6px 22px rgba(11, 37, 69, .15); }
@media (max-width: 800px) {
	html body .tc-app.tc-home-banner .tc-hb-inner { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	html body .tc-app.tc-home-banner .tc-hb-figure { order: -1; }
	html body .tc-app.tc-home-banner .tc-hb-figure img { height: 200px; }
	html body .tc-app.tc-home-banner h2 { font-size: 1.55rem; }
}

/* 2.4 — slim top banner above the site header (home page) */
html body .tc-topbar { background: #0B2545; border-bottom: 3px solid #F2A900; color: #ffffff; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; position: relative; z-index: 9999; }
html body .tc-topbar .tc-tb-inner { max-width: 1200px; margin: 0 auto; padding: 8px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
html body .tc-topbar p.tc-tb-text { margin: 0; font-size: 15px; line-height: 1.4; color: #e6edf5; }
html body .tc-topbar p.tc-tb-text strong { color: #F2A900; font-weight: 700; letter-spacing: .02em; margin-right: 6px; }
html body .tc-topbar a.tc-tb-logo { display: inline-flex; align-items: center; gap: 12px; background: #ffffff; border-radius: 10px; padding: 6px 8px 6px 12px; text-decoration: none; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); transition: transform .15s ease; }
html body .tc-topbar a.tc-tb-logo:hover { transform: translateY(-1px); }
html body .tc-topbar a.tc-tb-logo:focus-visible { outline: 3px solid #F2A900; outline-offset: 2px; }
html body .tc-topbar a.tc-tb-logo img { display: block; height: 38px; width: auto; }
html body .tc-topbar .tc-tb-go { background: #0B2545; color: #ffffff; font-weight: 700; font-size: 14px; border-radius: 7px; padding: 7px 12px; }
@media (max-width: 640px) {
	html body .tc-topbar .tc-tb-inner { justify-content: center; text-align: center; padding: 8px 14px; }
	html body .tc-topbar p.tc-tb-text span { display: block; }
	html body .tc-topbar a.tc-tb-logo img { height: 32px; }
}

/* 2.5 — Hangar Mode */
html body .tc-app .tc-hangar-intro .tc-stats { margin-top: 16px; }
html body .tc-app .tc-table tr.is-overdue td { background: var(--tc-bad-wash); }
html body .tc-app .tc-table tr.is-muted td { color: var(--tc-muted); }
html body .tc-app .tc-table td small { display: block; color: var(--tc-muted); font-size: .88rem; }
html body .tc-app .tc-inline-form { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
html body .tc-app .tc-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin: 0 0 14px; }
html body .tc-app .tc-filters label { display: grid; gap: 4px; font-weight: 600; font-size: .92rem; }
html body .tc-app .tc-warn-card { border-color: #f0cf8a; background: #fff8e8; }
html body .tc-app .tc-missing { margin: 10px 0 0; padding-left: 20px; columns: 2 280px; }
html body .tc-app .tc-missing li { margin: 0 0 6px; break-inside: avoid; }
html body .tc-app .tc-label .tc-label-loc { font-weight: 700; color: #0B2545; }
html body .tc-app .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 2.6 — integration setup instructions follow the system drop-down */
html body .tc-app .tc-setup { margin: 4px 0 16px; }
html body .tc-app .tc-setup-one { background: #F4F7FB; border: 1px solid #d3dfec; border-left: 4px solid #0B2545; border-radius: 10px; padding: 14px 18px; }
html body .tc-app .tc-setup-one[hidden] { display: none !important; }
html body .tc-app .tc-setup-one h4 { margin: 0 0 8px; color: #0B2545; }
html body .tc-app .tc-setup-one ol { margin: 0; padding-left: 22px; }
html body .tc-app .tc-setup-one li { margin: 0 0 8px; line-height: 1.5; }

/* 2.6 — technician badge labels */
html body .tc-app .tc-format-pick { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 14px; }
html body .tc-app .tc-badges { display: grid; gap: 10px; }
html body .tc-app .tc-badge { display: grid; align-items: center; background: #fff; border: 1px dashed #9aa9b9; color: #0B2545; break-inside: avoid; overflow: hidden; }
html body .tc-app .tc-badge .tc-qr svg { display: block; width: 100%; height: 100%; }
html body .tc-app .tc-badge-text { min-width: 0; display: grid; gap: 1px; line-height: 1.15; }
html body .tc-app .tc-badge-text b { color: #0B2545; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body .tc-app .tc-badge-text span { display: block; color: #3a4757; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body .tc-app .tc-badge-no { font-family: ui-monospace, Menlo, Consolas, monospace; font-weight: 700; color: #0B2545 !important; letter-spacing: .04em; }
/* Sticker: 50 x 25 mm, fits on most existing ID badges */
html body .tc-app .tc-badges-sticker { grid-template-columns: repeat(auto-fill, 50mm); }
html body .tc-app .tc-badges-sticker .tc-badge { width: 50mm; height: 25mm; grid-template-columns: 21mm minmax(0, 1fr); gap: 2mm; padding: 2mm; border-radius: 2mm; }
html body .tc-app .tc-badges-sticker .tc-qr { width: 21mm; height: 21mm; }
html body .tc-app .tc-badges-sticker .tc-badge-text b { font-size: 9pt; }
html body .tc-app .tc-badges-sticker .tc-badge-no { font-size: 10pt; }
html body .tc-app .tc-badges-sticker .tc-badge-co, html body .tc-app .tc-badges-sticker .tc-badge-brand { font-size: 6pt; }
/* Card: 85.6 x 54 mm (CR80 ID card) */
html body .tc-app .tc-badges-card { grid-template-columns: repeat(auto-fill, 85.6mm); }
html body .tc-app .tc-badges-card .tc-badge { width: 85.6mm; height: 54mm; grid-template-columns: 30mm minmax(0, 1fr); gap: 4mm; padding: 5mm; border-radius: 3mm; border-top: 3mm solid #0B2545; }
html body .tc-app .tc-badges-card .tc-qr { width: 30mm; height: 30mm; }
html body .tc-app .tc-badges-card .tc-badge-text b { font-size: 12pt; white-space: normal; }
html body .tc-app .tc-badges-card .tc-badge-no { font-size: 13pt; margin-top: 2mm; }
html body .tc-app .tc-badges-card .tc-badge-co { font-size: 8pt; margin-top: 2mm; }
html body .tc-app .tc-badges-card .tc-badge-brand { font-size: 7pt; color: #8a5f14 !important; }
@media print {
	html body .tc-app .tc-badge { border-style: solid; border-color: #c9d3de; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
html body .tc-app .tc-badge-text { text-align: left; }
html body .tc-app .tc-badges-sticker .tc-badge-text b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 8.5pt; line-height: 1.1; }
html body .tc-app .tc-badges-sticker .tc-badge-brand { display: none !important; }
html body .tc-app .tc-badges-sticker .tc-badge-co { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.15; }

/* Lending policy (2.6.3) */
.tc-lend { border: 1px solid #cfdbe8; border-radius: 10px; padding: 12px 14px; margin: 0; display: grid; gap: 8px; }
.tc-lend legend { font-weight: 600; padding: 0 4px; }
.tc-lend .tc-check { align-items: flex-start; }
.tc-optional summary { cursor: pointer; font-weight: 600; color: #0B2545; padding: 6px 0; }

/* 2.6.4: bridge to Hangar Parking */
.tc-tab-bridge { border: 1px dashed currentColor; }
.tc-tb-links { display: inline-flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.tc-tb-park { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.55); color: #fff !important; font-weight: 700; text-decoration: none; white-space: nowrap; }
.tc-tb-park:hover { background: rgba(255,255,255,.12); }
.tc-hb-park { white-space: nowrap; }
.tc-hp-icon { width: 22px; height: 22px; display: inline-block; vertical-align: middle; margin-right: 6px; flex: 0 0 auto; }
.tc-tab-bridge, .tc-hb-park { display: inline-flex; align-items: center; gap: 2px; }

/* 2.6.6: top banner on every page with both logo buttons */
html body .tc-topbar .tc-tb-links { gap: 12px; }
@media (max-width: 640px) {
	html body .tc-topbar .tc-tb-links { justify-content: center; width: 100%; }
	html body .tc-topbar a.tc-tb-logo { padding: 5px 6px 5px 10px; gap: 8px; }
	html body .tc-topbar a.tc-tb-logo img { height: 28px; }
	html body .tc-topbar .tc-tb-go { font-size: 13px; padding: 6px 9px; }
}

/* Tool file (2.6.8) */
.tc-app .tc-toolfile-group { margin: 14px 0 4px; }
.tc-app .tc-toolfile-kind { margin: 0 0 4px; font-weight: 700; color: var(--tc-ink, #14202e); }
.tc-app .tc-toolfile-h { margin: 18px 0 4px; }
.tc-app .tc-toolfile .tc-docs li, .tc-app .tc-toolfile-group .tc-docs li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.tc-app .tc-doc-actions { display: inline-flex; gap: 12px; margin-left: auto; }
.tc-app button.tc-link { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; font: inherit; text-decoration: underline; }
.tc-app .tc-pill-shared { background: #e3eefb; color: #0B2545; }
.tc-app .tc-pill-private { background: #fdf1dd; color: #6b4600; }
.tc-app .tc-toolfile-add { margin-top: 16px; border-top: 1px solid var(--tc-line, #dfe5ec); padding-top: 12px; }
.tc-app .tc-toolfile-add > summary { cursor: pointer; font-weight: 700; }
.tc-app .tc-tf { display: block; }
.tc-app .tc-tf .tc-warn { display: inline; padding: 0; background: none; }

/* Home page: the three main pages, the Maintenance Control apps and the technical services. */
html body .tc-app.tc-home-v2 { padding: 44px 20px 36px; }
html body .tc-home-v2 .tc-hv-inner { max-width: 1180px; margin: 0 auto; display: grid; gap: 28px; }
html body .tc-home-v2 .tc-hv-head { text-align: center; max-width: 820px; margin: 0 auto; }
html body .tc-home-v2 .tc-hv-head p { margin: 0 auto; max-width: 70ch; }
html body .tc-home-v2 h3 { color: #0B2545 !important; font-size: 1.25rem; line-height: 1.3; margin: 0 0 8px; }
html body .tc-home-v2 .tc-hv-main { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
html body .tc-home-v2 .tc-hv-main.tc-hv-n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
html body .tc-home-v2 .tc-hv-main.tc-hv-n1 { grid-template-columns: minmax(0, 1fr); }
html body .tc-home-v2 .tc-hv-card { background: #fff; border: 1px solid #d3dfec; border-top: 4px solid #F2A900; border-radius: 14px; padding: 22px; display: flex; flex-direction: column; box-shadow: 0 4px 16px rgba(11, 37, 69, .08); }
html body .tc-home-v2 .tc-hv-logo { display: block; margin: 0 0 16px; }
html body .tc-home-v2 .tc-hv-logo img { display: block; height: 64px; width: auto; max-width: 100%; }
html body .tc-home-v2 .tc-hv-card p { font-size: .98rem; margin: 0 0 12px; max-width: none; }
html body .tc-home-v2 .tc-hv-card ul { margin: 0 0 18px; padding: 0; list-style: none; display: grid; gap: 6px; flex: 1; }
html body .tc-home-v2 .tc-hv-card li { position: relative; padding-left: 22px; color: #2b3a4b; font-size: .95rem; }
html body .tc-home-v2 .tc-hv-card li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 10px; height: 6px; border-left: 2.5px solid #F2A900; border-bottom: 2.5px solid #F2A900; transform: rotate(-45deg); }
html body .tc-home-v2 .tc-hv-go { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; background: #0B2545 !important; border: 2px solid #0B2545 !important; color: #fff !important; text-decoration: none; }
html body .tc-home-v2 .tc-hv-go span { color: #fff !important; }
html body .tc-home-v2 .tc-hv-apps, html body .tc-home-v2 .tc-hv-services { background: #fff; border: 1px solid #d3dfec; border-radius: 14px; padding: 22px; }
html body .tc-home-v2 .tc-hv-services { background: #0B2545; border-color: #0B2545; }
html body .tc-home-v2 .tc-hv-services h3 { color: #fff !important; }
html body .tc-home-v2 .tc-hv-services p { color: #c9d6e8 !important; }
html body .tc-home-v2 .tc-hv-services .tc-eyebrow { color: #F2A900 !important; }
html body .tc-home-v2 .tc-hv-apps-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
html body .tc-home-v2 .tc-hv-apps-head > div { max-width: 720px; }
html body .tc-home-v2 .tc-hv-apps-head p { margin: 0; font-size: .98rem; }
html body .tc-home-v2 .tc-hv-more { white-space: nowrap; }
html body .tc-home-v2 .tc-hv-app-grid, html body .tc-home-v2 .tc-hv-svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
html body .tc-home-v2 a.tc-hv-app, html body .tc-home-v2 .tc-hv-svc { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 12px; border: 1px solid #dde5ee; background: #f7fafd; text-decoration: none; color: #14202e; transition: transform .15s ease, box-shadow .15s ease; }
html body .tc-home-v2 a.tc-hv-app:hover, html body .tc-home-v2 a.tc-hv-svc:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(11, 37, 69, .12); }
html body .tc-home-v2 .tc-hv-app img { width: 44px; height: 44px; flex: none; }
html body .tc-home-v2 .tc-hv-app b, html body .tc-home-v2 .tc-hv-svc b { display: block; color: #0B2545; font-size: 1rem; margin-bottom: 2px; }
html body .tc-home-v2 .tc-hv-app small, html body .tc-home-v2 .tc-hv-svc small { display: block; color: #3a4757; font-size: .88rem; line-height: 1.45; }
html body .tc-home-v2 .tc-hv-svc { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: #fff; }
html body .tc-home-v2 .tc-hv-svc b { color: #fff; }
html body .tc-home-v2 .tc-hv-svc small { color: #c9d6e8; }
html body .tc-home-v2 .tc-hv-ico { flex: none; width: 44px; height: 44px; border-radius: 10px; background: #F2A900; color: #0B2545; display: grid; place-items: center; }
html body .tc-home-v2 .tc-hv-foot { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 18px; text-align: center; }
html body .tc-home-v2 .tc-hv-foot .tc-vet { margin: 0; }
@media (max-width: 960px) {
	html body .tc-home-v2 .tc-hv-main, html body .tc-home-v2 .tc-hv-main.tc-hv-n2 { grid-template-columns: minmax(0, 1fr); }
	html body .tc-home-v2 .tc-hv-app-grid, html body .tc-home-v2 .tc-hv-svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	html body .tc-app.tc-home-v2 { padding: 28px 14px; }
	html body .tc-home-v2 .tc-hv-app-grid, html body .tc-home-v2 .tc-hv-svc-grid { grid-template-columns: minmax(0, 1fr); }
	html body .tc-home-v2 .tc-hv-card, html body .tc-home-v2 .tc-hv-apps, html body .tc-home-v2 .tc-hv-services { padding: 16px; }
	html body .tc-home-v2 .tc-hv-logo img { height: 52px; }
	html body .tc-home-v2 h2 { font-size: 1.5rem; }
}
html body .tc-home-v2 .tc-hv-card ul { align-content: start; }
html body .tc-home-v2 a.tc-hv-app, html body .tc-home-v2 a.tc-hv-app *, html body .tc-home-v2 a.tc-hv-svc, html body .tc-home-v2 a.tc-hv-svc * { text-decoration: none !important; }
html body .tc-home-v2 .tc-hv-app b { color: #0B2545 !important; }
html body .tc-home-v2 .tc-hv-app small { color: #3a4757 !important; }
html body .tc-home-v2 .tc-hv-svc b { color: #ffffff !important; }
html body .tc-home-v2 .tc-hv-svc small { color: #c9d6e8 !important; }
/* Home page photos */
html body .tc-home-v2 .tc-hv-card { padding: 0; overflow: hidden; }
html body .tc-home-v2 .tc-hv-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
html body .tc-home-v2 .tc-hv-photo { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #0B2545; }
html body .tc-home-v2 .tc-hv-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
html body .tc-home-v2 .tc-hv-card:hover .tc-hv-photo img { transform: scale(1.04); }
html body .tc-home-v2 .tc-hv-logo img { height: 56px; }
html body .tc-home-v2 .tc-hv-with-photo { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; align-items: center; }
html body .tc-home-v2 .tc-hv-apps .tc-hv-with-photo { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
html body .tc-home-v2 .tc-hv-side { margin: 0; }
html body .tc-home-v2 .tc-hv-side img { display: block; width: 100%; height: 230px; object-fit: cover; border-radius: 12px; box-shadow: 0 8px 24px rgba(11, 37, 69, .18); }
html body .tc-home-v2 .tc-hv-services .tc-hv-side img { box-shadow: 0 10px 28px rgba(0, 0, 0, .35); border: 1px solid rgba(255,255,255,.14); }
html body .tc-home-v2 p.tc-hv-cta { margin: 14px 0 0; }
@media (max-width: 760px) {
	html body .tc-home-v2 .tc-hv-with-photo, html body .tc-home-v2 .tc-hv-apps .tc-hv-with-photo { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	html body .tc-home-v2 .tc-hv-side { order: -1; }
	html body .tc-home-v2 .tc-hv-side img { height: 180px; }
}
html body .tc-app.tc-home-v2 a.tc-hv-app, html body .tc-app.tc-home-v2 a.tc-hv-app b, html body .tc-app.tc-home-v2 a.tc-hv-app small, html body .tc-app.tc-home-v2 a.tc-hv-svc, html body .tc-app.tc-home-v2 a.tc-hv-svc b, html body .tc-app.tc-home-v2 a.tc-hv-svc small { text-decoration: none !important; text-decoration-line: none !important; }
html body .tc-home-v2 a.tc-hv-demo { display: inline-block; margin-top: 10px; color: #8a5f14 !important; font-weight: 700; font-size: .92rem; text-decoration: underline; text-underline-offset: 3px; }
html body .tc-home-v2 .tc-hv-card .tc-hv-go + a.tc-hv-demo { align-self: flex-start; }
html body .tc-home-v2 p.tc-hv-cta a.tc-hv-demo { margin: 0 0 0 14px; }
html body .tc-home-v2 p.tc-hv-price { margin: 0 0 14px; font-weight: 700; color: #0B2545 !important; font-size: .98rem; }

/* 2.7.3 demonstration video */
html body .tc-app .tc-video { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 28px; align-items: center; background: #0B2545; color: #dbe5f1; border-radius: 12px; padding: 28px; margin-bottom: 32px; }
html body .tc-app .tc-video .tc-eyebrow { color: #F2A900; }
html body .tc-app .tc-video h3 { color: #fff; margin: 4px 0 10px; }
html body .tc-app .tc-video p { color: #dbe5f1; }
html body .tc-app .tc-video-frame { min-width: 0; border-radius: 10px; overflow: hidden; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); background: #000; }
html body .tc-app .tc-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; }
html body .tc-app a.tc-btn-video { background: #F2A900 !important; color: #0B2545 !important; border-color: #F2A900 !important; }
html body .tc-home-v2 a.tc-hv-video { display: inline-block; margin-top: 10px; margin-right: 14px; color: #0B2545 !important; font-weight: 700; font-size: .92rem; text-decoration: underline; text-underline-offset: 3px; }
html body .tc-home-v2 .tc-hv-card .tc-hv-go + a.tc-hv-video { align-self: flex-start; }
@media (max-width: 760px) {
	html body .tc-app .tc-video { grid-template-columns: minmax(0, 1fr); padding: 18px; gap: 16px; }
}
html body .tc-app .tc-video p.tc-eyebrow { color: #F2A900 !important; }
html body .tc-app a.tc-btn-video span[aria-hidden], html body .tc-home-v2 a.tc-hv-video span[aria-hidden] { margin-right: 6px; }

/* 2.8.0 card payments */
html body .tc-app .tc-pay-card .tc-actions, html body .tc-app .tc-billing .tc-actions { display: flex; flex-wrap: wrap; gap: 10px; white-space: normal; margin-top: 12px; }
html body .tc-app .tc-pay-card { border-top: 4px solid #F2A900; }
html body .tc-app .tc-notice .tc-inline { margin-left: 8px; }
html body .tc-app .tc-notice .tc-inline .tc-btn { padding: 6px 14px; font-size: .9rem; }
html body .tc-app .tc-plans h3 { margin: 4px 0 6px; }
html body .tc-app .tc-plan-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 14px; }
html body .tc-app .tc-plan .tc-plan-price { font-size: 1.35rem; font-weight: 800; color: var(--tc-brand); margin: 2px 0 8px; }
html body .tc-app .tc-plan-all { margin-top: 16px; border: 1px solid var(--tc-line); border-left: 4px solid #F2A900; border-radius: var(--tc-radius); padding: 14px 18px; background: var(--tc-panel); }
html body .tc-app .tc-plan-all h4 { margin: 0 0 6px; }
html body .tc-app .tc-plan-all ul { margin: 0; padding-left: 1.2em; columns: 2 260px; column-gap: 28px; }
html body .tc-app .tc-plan-all li { margin: 0 0 4px; break-inside: avoid; }
html body .tc-app .tc-plan-how { margin-top: 12px; }
/* 2.9.1: two-way member discount */
.tc-cross { margin: 10px 0 16px; padding: 12px 16px; border-radius: var(--tc-radius); background: #FFF6E0; border: 1px solid #F2C14E; color: var(--tc-brand); line-height: 1.5; }
.tc-plan p.tc-plan-mc, .tc-plan-mc { font-size: .85rem; font-weight: 700; color: #1d6b3c; margin: 0 0 .4em; }
