/*
 * TenderPro360 — Stone & Sage (client palette, October 2026).
 * Shared colour layer only: no functional changes to forms, routes or scripts.
 * Deliberately keep error / warning / success statuses distinct.
 * Loaded through both Jetstream guest and authenticated layouts.
 */
:root {
  --tp-sage-900:#334d46;
  --tp-sage-800:#3c5850;
  --tp-sage-700:#47685d;
  --tp-sage-600:#527365;
  --tp-sage-500:#668377;
  --tp-sage-100:#e7efea;
  --tp-sage-50:#f1f5f1;
  --tp-stone-900:#283731;
  --tp-stone-700:#52615a;
  --tp-stone-500:#6e7a73;
  --tp-stone-200:#d9e0da;
  --tp-stone-100:#edf0eb;
  --tp-canvas:#f4f5f1;
  --tp-primary:#47685d;
  --tp-primary-hover:#334d46;
  --tp-focus:rgba(82,115,101,.22);
}
html {accent-color:var(--tp-primary)}
body,body.bg-gray-50,body.bg-slate-50 {background:var(--tp-canvas)!important;color:var(--tp-stone-900)}
.bg-gray-50,.bg-slate-50,.bg-blue-50,.bg-indigo-50,.bg-violet-50,.bg-purple-50 {background-color:var(--tp-sage-50)!important}
.bg-blue-100,.bg-indigo-100,.bg-violet-100,.bg-purple-100,.bg-sky-100 {background-color:var(--tp-sage-100)!important}
.bg-blue-200,.bg-indigo-200,.bg-violet-200 {background-color:#d1ded4!important}
.bg-blue-300,.bg-indigo-300,.bg-violet-300 {background-color:#b8c9bc!important}
.bg-blue-400,.bg-blue-500,.bg-blue-600,.bg-indigo-500,.bg-indigo-600,.bg-violet-500,.bg-violet-600,.bg-purple-600,.bg-sky-600 {background-color:var(--tp-primary)!important}
.bg-blue-700,.bg-blue-800,.bg-indigo-700,.bg-indigo-800,.bg-violet-700,.bg-purple-700 {background-color:var(--tp-primary-hover)!important}
.text-blue-100,.text-indigo-100,.text-violet-100 {color:#e6eee8!important}
.text-blue-300,.text-indigo-300,.text-violet-300 {color:#c9d9cf!important}
.text-blue-400,.text-blue-500,.text-blue-600,.text-blue-700,.text-blue-800,
.text-indigo-400,.text-indigo-500,.text-indigo-600,.text-indigo-700,.text-indigo-800,
.text-violet-500,.text-violet-600,.text-violet-700,.text-purple-600,.text-purple-700,
.text-sky-500,.text-sky-600,.text-sky-700 {color:var(--tp-primary)!important}
.border-blue-100,.border-blue-200,.border-indigo-100,.border-indigo-200,.border-violet-200 {border-color:#d2dfd6!important}
.border-blue-300,.border-blue-400,.border-blue-500,.border-blue-600,
.border-indigo-400,.border-indigo-500,.border-indigo-600,.border-violet-500,.border-violet-600 {border-color:var(--tp-sage-500)!important}
.ring-blue-500,.ring-indigo-500,.ring-violet-500 {--tw-ring-color:var(--tp-sage-500)!important}
.focus\:ring-blue-500:focus,.focus\:ring-indigo-500:focus,.focus\:ring-violet-500:focus {--tw-ring-color:var(--tp-sage-500)!important}
.focus\:border-blue-500:focus,.focus\:border-indigo-500:focus {border-color:var(--tp-primary)!important}
.hover\:bg-blue-700:hover,.hover\:bg-blue-600:hover,.hover\:bg-indigo-700:hover,.hover\:bg-indigo-600:hover,
.hover\:bg-violet-700:hover,.hover\:bg-purple-700:hover {background-color:var(--tp-primary-hover)!important}
.hover\:bg-blue-50:hover,.hover\:bg-indigo-50:hover,.hover\:bg-violet-50:hover {background-color:var(--tp-sage-100)!important}
.hover\:text-blue-500:hover,.hover\:text-blue-600:hover,.hover\:text-blue-700:hover,
.hover\:text-indigo-500:hover,.hover\:text-indigo-600:hover {color:var(--tp-primary-hover)!important}
/* Tailwind-generated blue gradients, including guest home and auth pages. */
.from-blue-600.to-blue-800,.from-blue-500.to-blue-700,.from-indigo-600.to-purple-600,
.bg-gradient-to-br.from-blue-600,.bg-gradient-to-r.from-blue-600 {background-image:linear-gradient(124deg,#668176 0%,#4d6c62 52%,#3b594f 100%)!important}
/* The active navigation underline inherits the same quiet accent. */
nav .border-indigo-400,nav .border-blue-400,nav .border-indigo-500 {border-color:var(--tp-sage-600)!important}
nav a[aria-current="page"],nav a[aria-current="true"] {border-color:var(--tp-primary)!important}
input:focus,textarea:focus,select:focus {--tw-ring-color:var(--tp-sage-500);outline-color:var(--tp-primary)}
/* Match the two sidebar implementations without affecting their structure. */
.tp-global-sidebar.tp-sidebar,.tp-dashboard .tp-sidebar {
  background:linear-gradient(166deg,#637c70 0%,#516a60 48%,#405a50 100%)!important;
  border-color:#789084!important;color:#edf3ed!important;
  box-shadow:inset -12px 0 18px -12px rgba(28,48,39,.26)!important;
}
.tp-global-sidebar .tp-brand,.tp-dashboard .tp-brand {color:#fff!important}
.tp-global-sidebar .tp-brand-accent,.tp-dashboard .tp-brand-accent {color:#cfdfd1!important}
.tp-global-sidebar .tp-nav-active,.tp-dashboard .tp-nav-active {
  background:linear-gradient(105deg,#799486,#688477)!important;
  box-shadow:inset 3px 0 #d9e7db,0 5px 14px rgba(30,52,43,.11)!important;
  color:#fff!important;
}
.tp-global-sidebar .tp-nav-idle,.tp-dashboard .tp-nav-idle {color:#e0e9e0!important}
.tp-global-sidebar .tp-nav-idle:hover,.tp-dashboard .tp-nav-idle:hover {background:rgba(255,255,255,.12)!important;color:#fff!important}
.tp-global-sidebar .tp-icon,.tp-dashboard .tp-sidebar .tp-icon {color:#d0dfd2!important}
.tp-global-sidebar .tp-nav-active .tp-icon,.tp-dashboard .tp-sidebar .tp-nav-active .tp-icon {color:#fff!important}
.tp-global-sidebar .tp-mode,.tp-dashboard .tp-mode {background:rgba(33,57,48,.36)!important}
.tp-global-sidebar .tp-mode-active,.tp-dashboard .tp-mode-active {background:#edf2eb!important;color:#344f45!important}
.tp-global-sidebar .tp-mode-inactive,.tp-dashboard .tp-mode-inactive {color:#dee8dd!important}
.tp-global-sidebar .tp-profile,.tp-dashboard .tp-profile {border-color:rgba(237,244,237,.3)!important}
/* Main dashboard: replace cobalt and purple accents, preserve meaningful chart/status hues. */
.tp-dashboard {--tp-navy:#40594f!important;--tp-blue:#557467!important;--tp-muted:#69776f!important;--tp-edge:#dce3dc!important;--tp-ink:#283731!important;
  background:radial-gradient(ellipse 70% 30% at 76% 0%,#e7eee7 0%,transparent 82%),var(--tp-canvas)!important}
.tp-dashboard .tp-primary {background:linear-gradient(118deg,#608071,#47685d)!important;color:white!important;box-shadow:0 8px 18px rgba(44,77,60,.18)!important}
.tp-dashboard .tp-primary:hover {background:linear-gradient(118deg,#4e6e60,#344e45)!important}
.tp-dashboard .tp-search:focus,.tp-dashboard .tp-soft-control:focus {border-color:var(--tp-sage-600)!important;box-shadow:0 0 0 3px var(--tp-focus)!important}
.tp-dashboard .tp-stat-icon {background:#e5eee7!important;color:#47685d!important}
.tp-dashboard .tp-stat:nth-child(2) .tp-stat-icon {background:#e6f1e9!important;color:#397454!important}
.tp-dashboard .tp-stat:nth-child(3) .tp-stat-icon {background:#f6eddc!important;color:#9a722f!important}
.tp-dashboard .tp-stat:nth-child(4) .tp-stat-icon {background:#eaece5!important;color:#637364!important}
.tp-dashboard .tp-link {color:var(--tp-primary)!important}
.tp-dashboard .tp-link:hover {color:var(--tp-primary-hover)!important}
.tp-dashboard .tp-table-head {background:#eef2ee!important;color:#66776a!important}
.tp-dashboard .tp-table-row:hover {background:#f4f7f3!important}
.tp-dashboard .tp-copilot {
  background:radial-gradient(circle at 100% 0%,rgba(207,226,207,.24),transparent 58%),linear-gradient(150deg,#647d70,#4a6a5e 62%,#395a4e)!important;
  color:#f7faf5!important;border-color:#7f9888!important;box-shadow:0 12px 27px rgba(34,63,46,.14)!important}
.tp-dashboard .tp-copilot-icon {background:linear-gradient(125deg,#7a9b8b,#4b6c5d)!important}
.tp-dashboard .tp-copilot-action {border-color:rgba(239,246,240,.28)!important;background:rgba(255,255,255,.08)!important;color:#fff!important}
.tp-dashboard .tp-copilot-action:hover {background:rgba(255,255,255,.16)!important}
/* Supplier Co-Pilot, dashboard and floating version share the same components. */
.tp-supplier-copilot,.tp-floating-copilot {border-color:#d3ded5!important}
.tp-supplier-copilot-head,.tp-floating-customer-head,.tp-floating-copilot .tp-supplier-copilot-head {
  background:radial-gradient(circle at 98% 0%,rgba(205,225,207,.29),transparent 57%),linear-gradient(132deg,#678174,#4b6b60 64%,#3a584e)!important;color:#fff!important}
.tp-supplier-copilot-head p,.tp-floating-customer-head p {color:#edf3eb!important}
.tp-supplier-copilot-messages {background:#fff!important}
.tp-supplier-copilot-bubble {background:#eff4ef!important;color:#2b3c32!important}
.tp-supplier-copilot-msg.is-user .tp-supplier-copilot-bubble {background:#e0eee4!important;color:#2c5140!important}
.tp-supplier-copilot-card {color:var(--tp-primary)!important;border-color:#d4e1d6!important}
.tp-supplier-copilot-card:hover {background:#f2f6f1!important;border-color:#a6bdad!important}
.tp-supplier-copilot-links a {color:var(--tp-primary)!important;border-color:#cfdbd0!important}
.tp-supplier-copilot-suggestions button {color:#426657!important;border-color:#d4dfd5!important;background:#f1f5f1!important}
.tp-supplier-copilot-suggestions button:hover {border-color:#9eb7a3!important;background:#e6eee6!important}
.tp-supplier-copilot-compose,.tp-floating-panel-toolbar {background:#f5f7f3!important;border-color:#dce4dc!important}
.tp-supplier-copilot-input:focus {border-color:var(--tp-primary)!important;outline-color:var(--tp-focus)!important}
.tp-supplier-copilot-send {background:var(--tp-primary)!important;color:white!important}
.tp-supplier-copilot-send:hover {background:var(--tp-primary-hover)!important}
.tp-floating-trigger {background:linear-gradient(125deg,#688577,#426154)!important;color:white!important;box-shadow:0 12px 28px rgba(40,74,56,.27)!important}
.tp-floating-trigger:hover {box-shadow:0 15px 33px rgba(40,74,56,.33)!important}
.tp-floating-mode-badge {color:var(--tp-primary)!important}
.tp-floating-close {background:#e6eee8!important;color:#415e51!important}
.tp-floating-quick-actions a {color:var(--tp-primary)!important;background:#f2f5f1!important;border-color:#d4dfd6!important}
.tp-floating-quick-actions a:hover {background:#e6efe7!important;border-color:#a4b9a7!important}
.tp-floating-wrap :focus-visible {outline-color:#99b7a4!important}
/* Guest hero and registration panels: same flowing animation, calmer colours. */
.tp-animated-hero,.tp-auth-panel {
  background:linear-gradient(120deg,#6d8579 0%,#5b7568 53%,#425f54 100%)!important;
}
.tp-hero-light--blue,.tp-auth-light--one {background:radial-gradient(ellipse at center,rgba(190,219,193,.78) 0%,rgba(132,174,148,.59) 38%,rgba(132,174,148,0) 75%)!important}
.tp-hero-light--violet,.tp-auth-light--two {background:radial-gradient(ellipse at center,rgba(152,185,162,.76) 0%,rgba(112,152,126,.63) 39%,rgba(112,152,126,0) 76%)!important}
.tp-hero-light--cyan,.tp-auth-light--three {background:radial-gradient(ellipse at center,rgba(202,216,193,.66) 0%,rgba(155,184,149,.45) 43%,rgba(155,184,149,0) 76%)!important}
/* Builder and chat panel surfaces. Keep chat interiors white as requested earlier. */
.tb {--tp-navy:#3e5b50!important;--tp-navy-deep:#344f46!important;--tp-blue:#4b6c5f!important;--tp-violet:#5b7565!important;--tp-border:#dce4dc!important;
  background:radial-gradient(ellipse 65% 27% at 85% 0%,rgba(154,188,159,.14),transparent 80%),var(--tp-canvas)!important}
.tb .tb-btn-primary,.tb button[type=submit].tb-btn-primary {background:linear-gradient(110deg,#5d7c6b,#446458)!important;box-shadow:0 7px 18px rgba(44,73,52,.18)!important}
.tb .tb-btn-primary:hover,.tb button[type=submit].tb-btn-primary:hover {background:linear-gradient(110deg,#506e61,#354f46)!important}
.tb .tb-tag,.tb .tb-step {background:#e7efe8!important;color:#466658!important;border-color:#d1e0d4!important}
.tb .tb-intro,.tb .tb-card-head {background:#f5f7f3!important;border-color:#e0e5dd!important}
.tb .tb-guide-title,.tb .tb-intro strong,.tb .tb-aside .tb-summary strong {color:var(--tp-primary)!important}
.tb .tb-aside {background:#fff!important;border-color:#d6e1d7!important;color:var(--tp-stone-900)!important}
.tb .tb-aside > :first-child:not(.tb-summary) {background:linear-gradient(125deg,#698577,#4d6a5d)!important;color:#fff!important}
.tb .tb-aside > :first-child:not(.tb-summary) strong {color:white!important}
.tb .tb-aside > :first-child:not(.tb-summary) small {color:#e1ebe2!important}
.tb input:focus,.tb select:focus,.tb textarea:focus {border-color:var(--tp-primary)!important;box-shadow:0 0 0 3px var(--tp-focus)!important}
.tb input[type=file]::file-selector-button {background:#e3ece5!important;color:#466659!important}
/* Existing larger-text team and account redesigns. */
.tp-team-page,.tp-settings-page {background:var(--tp-canvas)!important}
.tp-team-eyebrow,.tp-settings-eyebrow,.tp-settings-overline {color:var(--tp-primary)!important}
.tp-team-avatar,.tp-team-empty-icon,.tp-settings-avatar,.tp-settings-organisation-icon {background:#e4eee6!important;color:#47685d!important}
.tp-team-role-chip,.tp-settings-role-chip,.tp-team-result {background:#edf3ee!important;color:#3e6352!important;border-color:#d5e3d7!important}
.tp-team-role-option:has(input:checked) {border-color:#8aaa93!important;background:#eef5ee!important}
.tp-team-button,.tp-team-action,.tp-settings-button--primary {background:var(--tp-primary)!important;color:white!important}
.tp-team-button:hover,.tp-team-action:hover,.tp-settings-button--primary:hover {background:var(--tp-primary-hover)!important}
.tp-settings-profile-banner {background:radial-gradient(circle at 70% 0%,rgba(190,213,191,.46),transparent 54%),linear-gradient(115deg,#627c6e,#3f5f51)!important}
.tp-settings-tab[aria-selected="true"],.tp-settings-tab.is-active,.tp-settings-tab.active {background:var(--tp-primary)!important;color:#fff!important}
.tp-settings-button--secondary {border-color:#d2ded4!important;color:var(--tp-primary)!important}
.tp-browse-card:hover,.tp-browse-card:focus-within {border-color:#adc4b2!important;box-shadow:0 7px 20px rgba(48,74,56,.09)!important}
.tp-browse-card__type,.tp-browse-card__keyword {background:#e6eee6!important;color:#426350!important}
.tp-browse-card__link {background:var(--tp-primary)!important;color:white!important}
.tp-browse-card__link:hover {background:var(--tp-primary-hover)!important}
/* Generic focus/links for Jetstream, Livewire and default browser controls. */
a:not([class]) {color:var(--tp-primary)}
a:not([class]):hover {color:var(--tp-primary-hover)}
::selection {background:#c8dbc9;color:#263f32}

/* Contextual components not expressed as Tailwind utility classes. */
.tb {--blue:var(--tp-primary)!important;--soft:#ecf3ed!important;--ink:#283731!important;--muted:#69776e!important;--line:#dbe4db!important}
.tb a,.tb .tb-add,.tb .tb-status,.tb .tb-settings summary,.tb .tb-bid-evaluation summary,
.tb .tb-tabs button[aria-pressed="true"] {color:var(--tp-primary)!important}
.tb .tb-btn-primary {background:var(--tp-primary)!important;color:white!important;border-color:var(--tp-primary)!important}
.tb .tb-btn-soft,.tb .tb-intro,.tb .tb-notice,.tb .tb-ai-proposal {background:#eef4ed!important;color:#365548!important;border-color:#d4e1d4!important}
.tb .tb-assistant-head {background:linear-gradient(128deg,#6d8879,#4d6d5e)!important;border-color:#698777!important;color:#fff!important}
.tb .tb-assistant-head h2,.tb .tb-assistant-head p {color:#fff!important}
.tb .tb-assistant-icon {background:#466b59!important}
.tb .tb-bubble {background:#f0f4ef!important;color:#2e4135!important}
.tb .tb-bubble-user {background:#dfece1!important;color:#2f5643!important}
.tb .tb-choice:hover {border-color:#97b49d!important;background:#f2f6f0!important}
.tb .tb-ai-doc-file-icon {background:#e4eee5!important;color:var(--tp-primary)!important}
.tp-team-action {background:#fff!important;color:var(--tp-primary)!important;border-color:#d6e2d7!important}
.tp-team-action:hover {background:#f0f5ef!important;border-color:#9eb7a3!important}
.tp-team-button {border-color:var(--tp-primary)!important}
.tp-team-secondary,.tp-team-header-link:hover {color:var(--tp-primary)!important}
.tp-settings-tab.is-selected {background:transparent!important;color:var(--tp-primary)!important}
.tp-settings-tab.is-selected::after {background:var(--tp-primary)!important}
.tp-settings-tab:hover {color:var(--tp-primary-hover)!important}
.tp-settings-avatar--profile {border-color:#fff!important}
.tp-settings-button--primary {border-color:var(--tp-primary)!important}
.tp-settings-role-chip {background:#edf2eb!important}
.tp-browse-card__reference {color:#61766b!important}
.tp-browse-card__type {border-color:#cfdfd2!important}
/* Keep current user/profile avatar and top navigation visually consistent. */
.bg-indigo-500,.bg-indigo-600,.bg-purple-500,.bg-purple-600 {background:var(--tp-primary)!important}
.text-indigo-900,.text-blue-900,.text-violet-900 {color:var(--tp-sage-900)!important}
.border-indigo-300,.border-indigo-400,.border-violet-300 {border-color:#9bb4a4!important}
/* Chart lines on the dashboard that were manually hard-coded in older components. */
.tp-dashboard svg [stroke="#315efb"],.tp-dashboard svg [stroke="#2563eb"],.tp-dashboard svg [stroke="#3164f5"] {stroke:#5b8271!important}
.tp-dashboard svg [fill="#315efb"],.tp-dashboard svg [fill="#2563eb"] {fill:#5b8271!important}
