/* Shared identity: forest green, warm gold and neutral paper surfaces. */
.pb-theme{--green:#215c3d;--line:#e1dfd0;--muted:#758370;--accent:#f1c84b;background:radial-gradient(ellipse at 10% 0%,#ecdfba77,transparent 55%),#f5f3ec;color:#263e30;accent-color:#215c3d}
.pb-theme>header,.pb-landing .wrap>header{background:#0e291e;color:#f6efd8;border-bottom:1px solid #a99143;min-height:88px}
.pb-theme>header{height:auto;padding-top:17px;padding-bottom:17px;flex-wrap:wrap}
.pb-theme header .brand,.pb-theme aside .brand{display:flex;align-items:center;gap:12px;color:#fff7dc;font-weight:750;letter-spacing:-.2px;min-width:0}
.pb-theme .logo,.pb-theme .brand-mark{display:block!important;flex:0 0 auto;width:48px!important;height:48px!important;background:transparent!important;padding:0!important;border:0!important;border-radius:8px!important;overflow:hidden;box-shadow:0 0 0 1px #b49c4966}
.pb-theme .brand-logo{display:block;width:48px;height:48px;object-fit:contain;border-radius:8px;flex-shrink:0}
.pb-theme .brand-wordmark{display:block;line-height:1.2;font-size:18px}
.pb-theme .brand small,.pb-theme .brand-wordmark small{color:#d6bd6c;font-size:9px;letter-spacing:1.5px;font-weight:600}
.pb-theme header .header-links{flex-wrap:wrap;gap:17px}
.pb-theme>header a,.pb-theme>header .nav-link,.pb-landing header nav a{color:#e3ddc5}
.pb-theme>header .badge{color:#e9d38c;background:#d0ae3520;border-color:#b49d4155}
.pb-theme main h1{color:#153d28;font-weight:750;letter-spacing:-1.15px}
.pb-theme .eyebrow,.pb-theme .section-label{color:#8b7028}
.pb-theme .card,.pb-theme .table-card,.pb-theme .chat-card,.pb-theme .profile-strip,.pb-theme .member-card,.pb-theme .stat{border-color:#e1dfcf;border-radius:13px;box-shadow:0 5px 18px #24372104}
.pb-theme .card-head,.pb-theme .table-heading{border-color:#e6dfc8}
.pb-theme .stat{border-top:3px solid #c7a146;background:#fffefa}
.pb-theme .stat b{color:#1b4a30}
.pb-theme .primary,.pb-theme button.submit,.pb-theme .cta{background:#e7bf48;color:#1b3022;border:1px solid #d5b03d;box-shadow:0 3px 9px #95751516}
.pb-theme .primary:hover:not(:disabled),.pb-theme button.submit:hover:not(:disabled),.pb-theme .cta:hover{background:#f2cf68;color:#163222}
.pb-theme .secondary{color:#375c40;background:#fffef9;border-color:#d9d8c5}
.pb-theme .notice{background:#f5efda;border-color:#e5d9ad;color:#655c36}
.pb-theme .error{background:#fff0e9;color:#9c563d;border-color:#ebd0bd}
.pb-theme .num,.pb-theme .avatar{background:#e9eddd;border-color:#dce1ca;color:#47633a}
.pb-theme .field input,.pb-theme .field textarea,.pb-theme .field select,.pb-theme .composer select,.pb-theme .search,.pb-theme .kyc-select{border-color:#dcdccb;background:#fffefa;color:#294335;border-radius:8px}
.pb-theme input:focus-visible,.pb-theme textarea:focus-visible,.pb-theme select:focus-visible,.pb-theme button:focus-visible,.pb-theme a:focus-visible{outline-color:#c8a63f}
.pb-theme input[type=file]::file-selector-button{background:#1f5136;color:#fff7dc;border:0;border-radius:5px;padding:8px 10px;margin-right:9px;cursor:pointer}
.pb-theme th,.pb-theme .messages{background:#f4f3e9;border-color:#e5e2d3}
.pb-theme .chat-top{background:#fffef8;border-bottom-color:#e3dec4}
.pb-theme .bubble{border-color:#e0dfce;box-shadow:0 2px 5px #25392104}
.pb-theme .bubble.mine{background:#eaf0df;border-color:#cedbc0}
.pb-theme .bubble.supplier,.pb-theme .bubble.both{border-left:3px solid #b69a48}
.pb-theme .bubble.supplier .who,.pb-theme .bubble.both .who{color:#8a722b}
.pb-theme .role-dot.supplier,.pb-theme .role-dot.both{background:#bea04c}
.pb-theme .quoted{border-color:#c4aa58;color:#797041}
.pb-theme .composer{border-color:#e1decc;background:#fffefa}
.pb-theme .receipt-access{border-color:#ded9c2}
.pb-theme footer{border-color:#ded9c2;color:#829079}
.pb-theme footer .footer-mark img{box-shadow:0 0 0 1px #bda24d44}
.pb-theme dialog{background:#fffef9;border-color:#d9d0aa;border-radius:14px;box-shadow:0 18px 80px #0a211e33}
.pb-theme .modal-head{border-color:#e8dfc0}
.pb-theme .toast{background:#183d28;color:#fff6d5;border:1px solid #a9903e66}
/* Administrative workspace keeps the same navigation and reading order. */
.pb-admin>aside{background:#0e291e;border-right-color:#8c7737;padding-top:26px}
.pb-admin>aside .section-label{color:#c1a95e;margin-top:40px}
.pb-admin>aside nav button,.pb-admin>aside nav a{color:#b9c9bc!important}
.pb-admin>aside nav button.active{background:#f0ce6820;color:#f4da8d!important;border-left:2px solid #e4c25a}
.pb-admin>aside nav button:hover,.pb-admin>aside nav a:hover{background:#ffffff0a;color:#fff0bc!important}
.pb-admin .sidebar-foot{border-color:#476044;color:#e0e8da}
.pb-admin .sidebar-foot .small{color:#a9baa6}
.pb-admin main>header{background:#fffdf5;border-bottom-color:#e1dcc7}
/* The public landing page carries the same gold accents and forest panels. */
.pb-landing .wrap>header{border-radius:0 0 14px 14px;padding:14px 24px;height:94px;margin-bottom:23px}
.pb-landing .nav-cta{border-color:#b5a05b;color:#f2d584!important}
.pb-landing .hero,.pb-landing .final-box{background:linear-gradient(125deg,#102d20,#1d4b32);border:1px solid #ad944044;box-shadow:0 15px 40px #1a392e0b}
.pb-landing .hero h1,.pb-landing .final-box h2{color:#fff8e3}
.pb-landing .hero h1 em{color:#f0ca58}
.pb-landing .hero .eyebrow{color:#d6c286}
.pb-landing .hero .eyebrow:before{background:#f0ca58}
.pb-landing .shield{background:#f0ca58;color:#23452e}
.pb-landing .process{background:#eeeedf;border-color:#e0ddc4}
.pb-landing .step-num{color:#8d752e;border-color:#d9c993;background:#f4ecd1}
.pb-landing .privacy-panel{border-color:#ded9c2;background:#fffef8}
.pb-landing .final-box .cta{white-space:nowrap}
.pb-landing .mobile-bottom{background:#f7f4eafa;border-top-color:#d6c893}
@media(max-width:760px){
 .pb-theme>header{min-height:80px;gap:14px}
 .pb-theme .brand{font-size:15px;gap:10px}
 .pb-theme .logo,.pb-theme .brand-mark,.pb-theme .brand-logo{width:42px!important;height:42px!important}
 .pb-theme .brand-wordmark{font-size:16px}
 .pb-theme header .header-links{gap:11px;font-size:10px}
 .pb-admin>aside{padding-top:17px}
 .pb-admin>aside .section-label{display:none}
 .pb-landing .wrap>header{padding:12px;height:84px;gap:12px;margin-bottom:18px}
 .pb-landing .brand{font-size:13px;gap:9px}
 .pb-landing .brand small{display:none}
 .pb-landing .nav-cta{padding:10px;font-size:10px}
 .pb-landing .hero h1{font-size:38px}
}
@media(prefers-reduced-motion:reduce){.pb-theme *{scroll-behavior:auto!important}}

/* Brazil accents at the right edge, with a blue-to-green band behind the brand. */
.pb-theme>header,.pb-admin main>header,.pb-landing .wrap>header{position:relative;background:linear-gradient(110deg,#12355a 0%,#0e5161 48%,#087143 100%);color:#fff8df;border-bottom-color:#c1ab5a;padding-right:calc(5% + 104px)}
.pb-admin>aside{background:linear-gradient(165deg,#12355a 0%,#103f46 42%,#115538 100%)}
.pb-admin main>header{min-height:88px;height:auto;padding-top:18px;padding-bottom:18px;gap:16px;flex-wrap:wrap}
.pb-admin main>header .crumb,.pb-admin main>header #breadcrumb{color:#edf4ed}
.pb-admin main>header .pill{background:#ffffff18;color:#f6edcc;border:1px solid #d3c47b55}
.pb-theme .pb-flag{position:absolute;right:5%;top:50%;transform:translateY(-50%);display:block;width:72px;height:48px;flex:0 0 auto}
.pb-theme .pb-flag img{display:block;width:72px;height:48px;object-fit:contain;border-radius:4px;box-shadow:0 2px 9px #06283d35,0 0 0 1px #ffffff38}
.pb-theme footer{position:relative;min-height:108px;padding:24px 124px 24px 24px;background:linear-gradient(110deg,#12355a 0%,#0e5161 48%,#087143 100%);color:#d5e4da;border:1px solid #50776544;border-radius:12px;gap:16px}
.pb-theme footer a,.pb-theme footer .footer-brand{color:#f6e3a1}
.pb-theme footer .pb-flag{right:24px}
.pb-landing .wrap>header{padding-right:122px}
.pb-landing .wrap>header .pb-flag{right:24px}
@media(max-width:760px){
 .pb-theme>header,.pb-admin main>header{padding-right:100px;min-height:88px}
 .pb-theme .pb-flag{width:60px;height:40px;right:20px;top:20px;transform:none}
 .pb-theme .pb-flag img{width:60px;height:40px}
 .pb-theme footer{padding:20px 96px 20px 18px;min-height:102px;gap:13px}
 .pb-theme footer .pb-flag{right:18px;top:22px}
 .pb-landing .wrap>header{height:auto;min-height:90px;padding:15px 96px 15px 14px;display:flex;flex-wrap:wrap;gap:12px}
 .pb-landing .wrap>header .pb-flag{right:16px;top:18px}
 .pb-landing .wrap>header nav{width:100%;justify-content:flex-start}
 .pb-landing footer{margin-bottom:115px}
}
