/* ==========================================================================
   EqualBridge theme
   ========================================================================== */

@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-latin.woff2") format("woff2");
	font-weight: 400 700;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-latin-ext.woff2") format("woff2");
	font-weight: 400 700;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	/* Brand: logo teal + navy hero. */
	--eb-teal: #2be8cb;
	--eb-teal-600: #1fd0b4;
	--eb-teal-ink: #0b6e60;
	--eb-navy: #293056;
	--eb-navy-700: #1f2545;
	--eb-peach: #f6d9c6;

	--eb-primary: #293056;
	--eb-primary-600: #1f2545;
	--eb-primary-50: #eceef6;
	--eb-accent: #14b89c;
	--eb-accent-50: #e2faf5;
	--eb-ink: #1e1e1e;
	--eb-text: #3a3a3a;
	--eb-muted: #6b6b6b;
	--eb-line: #e8e8ea;
	--eb-bg: #f7f7f8;
	--eb-surface: #fff;
	--eb-warn: #b7791f;
	--eb-warn-50: #fdf6e7;
	--eb-danger: #c2362f;
	--eb-danger-50: #fdeceb;
	--eb-radius: 14px;
	--eb-radius-sm: 10px;
	--eb-shadow: 0 1px 2px rgba(30, 30, 30, .05), 0 6px 24px rgba(30, 30, 30, .06);
	--eb-shadow-lg: 0 24px 60px rgba(30, 30, 30, .12);
	--eb-font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--eb-font); font-size: 16px; line-height: 1.6; color: var(--eb-text); background: var(--eb-surface); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--eb-primary); text-decoration: none; }
a:hover { color: var(--eb-primary-600); }
h1, h2, h3, h4 { color: var(--eb-ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 600; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--eb-navy) 50%, transparent); outline-offset: 2px; border-radius: 6px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--eb-ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; color: #fff; }
.ebt-i { flex: none; }
[hidden] { display: none !important; }

/* Side padding never below 20px on any screen (client feedback: text too close to the edges). */
.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }
.wrap--wide { width: min(1560px, 100% - 48px); }
@media (max-width: 520px) { .wrap, .wrap--wide { width: calc(100% - 40px); } }
.center { text-align: center; margin-top: 40px; }

/* ---------- Buttons ---------- */
.btn, .eb-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 10px 22px; border: 1px solid var(--eb-teal); border-radius: 10px;
	background: var(--eb-teal); color: var(--eb-ink); font-weight: 600; font-size: 16px; line-height: 1.2;
	cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s; white-space: nowrap; text-decoration: none;
}
.btn:hover, .eb-btn:hover { background: var(--eb-teal-600); border-color: var(--eb-teal-600); color: var(--eb-ink); }
.btn:active, .eb-btn:active { transform: translateY(1px); }
.btn--ghost, .eb-btn--ghost { background: #fff; color: var(--eb-ink); border-color: var(--eb-line); }
.btn--ghost:hover, .eb-btn--ghost:hover { background: var(--eb-bg); color: var(--eb-ink); border-color: #d4d4d8; }
.btn--dark { background: var(--eb-ink); border-color: var(--eb-ink); color: #fff; }
.btn--dark:hover { background: #000; border-color: #000; color: #fff; }
.btn--light { background: #fff; color: var(--eb-ink); border-color: #fff; }
.btn--light:hover { background: var(--eb-bg); border-color: var(--eb-bg); color: var(--eb-ink); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .9); }
.btn--outline-light:hover { background: #fff; border-color: #fff; color: var(--eb-ink); }
.btn--lg, .eb-btn--lg { min-height: 54px; padding: 14px 28px; font-size: 16px; border-radius: 10px; }
.eb-btn--block { width: 100%; }
.eb-btn--danger { background: var(--eb-danger); border-color: var(--eb-danger); color: #fff; }
.eb-btn--danger:hover { background: #a52c26; border-color: #a52c26; color: #fff; }
.eb-btn[disabled], .btn[disabled] { opacity: .6; cursor: progress; }
.eb-btn .eb-icon { width: 18px; height: 18px; }
.eb-link { background: none; border: 0; padding: 0; color: var(--eb-primary); font-weight: 600; cursor: pointer; text-decoration: none; }
.eb-link:hover { text-decoration: underline; }
.eb-link--danger { color: var(--eb-danger); }

/* ---------- Header (always sticky) ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: #fff; border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-color: var(--eb-line); box-shadow: 0 6px 24px rgba(30, 30, 30, .06); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 36px; }
.site-logo { display: inline-flex; align-items: center; flex: none; }
.site-logo img, .custom-logo { display: block; height: 58px; width: auto; }
.site-nav { display: flex; align-items: center; }
.site-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.site-nav .menu > li { position: relative; }
.site-nav .menu a { display: flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 8px; color: var(--eb-ink); font-weight: 500; font-size: 16px; }
.site-nav .menu a:hover { color: var(--eb-teal-ink); }
.site-nav .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; border: 1px solid var(--eb-line); border-radius: 12px; box-shadow: var(--eb-shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.site-nav .menu > li:hover > .sub-menu, .site-nav .menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-nav .sub-menu a { padding: 10px 12px; font-size: 15px; }
.site-nav .sub-menu a:hover { background: var(--eb-bg); }

.hsearch { flex: 1; max-width: 460px; margin-left: auto; display: flex; align-items: center; gap: 6px; background: var(--eb-bg); border-radius: 12px; padding: 6px 6px 6px 14px; }
.hsearch__field { flex: 1; display: flex; align-items: center; gap: 10px; color: var(--eb-muted); min-width: 0; }
.hsearch__field input { flex: 1; min-width: 0; border: 0; background: none; padding: 8px 0; font-size: 15px; outline: none; color: var(--eb-ink); }
.dd { position: relative; flex: none; }
.dd__btn { display: flex; align-items: center; gap: 8px; border: 0; border-radius: 8px; background: #e9e9ec; padding: 8px 12px; font-size: 15px; font-weight: 500; color: var(--eb-ink); cursor: pointer; max-width: 210px; white-space: nowrap; }
.dd__btn span { overflow: hidden; text-overflow: ellipsis; }
.dd__btn .ebt-i { transition: transform .2s; }
.dd__btn[aria-expanded="true"] .ebt-i { transform: rotate(180deg); }
.dd__btn:hover { background: #e1e1e5; }
.dd__menu { position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; list-style: none; margin: 0; padding: 8px; min-width: 250px; background: #fff; border-radius: 14px; box-shadow: 0 16px 40px rgba(30, 30, 30, .14), 0 0 0 1px rgba(30, 30, 30, .04); outline: none; animation: eb-pop .16s ease; }
.dd__menu li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 9px; font-size: 15px; color: var(--eb-ink); cursor: pointer; white-space: nowrap; }
.dd__menu li .ebt-i { color: var(--eb-muted); }
.dd__menu li:hover, .dd__menu li.is-focus { background: var(--eb-bg); }
.dd__menu li[aria-selected="true"] { background: var(--eb-bg); font-weight: 600; }
.dd__menu li[aria-selected="true"] .ebt-i { color: var(--eb-teal-ink); }
@keyframes eb-pop { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.site-header__cta { display: flex; align-items: center; gap: 18px; flex: none; margin-left: auto; }
.hsearch + .site-header__cta { margin-left: 0; }
.hlink { color: var(--eb-ink); font-weight: 500; }
.hlink:hover { color: var(--eb-teal-ink); }
.hbtn-icon { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; color: var(--eb-ink); border: 1px solid var(--eb-line); }
.hbtn-icon:hover { background: var(--eb-bg); color: var(--eb-ink); }
.site-header .badge { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--eb-danger); color: #fff; font-size: 11px; line-height: 20px; text-align: center; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--eb-line); border-radius: 10px; background: #fff; cursor: pointer; flex: none; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; margin: auto; background: var(--eb-ink); border-radius: 2px; position: relative; transition: transform .2s, background .2s; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1180px) { .hsearch { display: none; } .site-header__cta { margin-left: auto !important; } }
@media (max-width: 960px) {
	:root { --header-h: 72px; }
	.site-header__inner { gap: 14px; }
	.site-logo img, .custom-logo { height: 48px; }
	.nav-toggle { display: block; }
	.site-nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; padding: 12px 20px 24px; background: #fff; border-bottom: 1px solid var(--eb-line); box-shadow: var(--eb-shadow-lg); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; max-height: calc(100vh - var(--header-h)); overflow: auto; }
	.site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
	.site-nav .menu { flex-direction: column; gap: 0; }
	.site-nav .menu a { padding: 13px 8px; font-size: 17px; border-bottom: 1px solid var(--eb-line); border-radius: 0; }
	.site-nav .menu a .ebt-i { display: none; }
	.site-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 0 14px; min-width: 0; }
	.site-nav .sub-menu a { font-size: 15px; color: var(--eb-muted); }
}
@media (max-width: 420px) {
	.site-header__cta { gap: 10px; }
	.site-header__cta .hlink { display: none; }
	.site-header__cta .btn { padding: 8px 14px; min-height: 42px; font-size: 15px; }
}

/* ---------- Shared section bits ---------- */
.sec { padding: 88px 0; }
@media (max-width: 720px) { .sec { padding: 64px 0; } }
.kicker { display: inline-block; font-size: 15px; font-weight: 500; color: var(--eb-teal-ink); margin-bottom: 10px; }
.sec h2, .h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 600; letter-spacing: -.025em; line-height: 1.18; }
.sec h2 b { font-weight: 700; }
.lead { font-size: 17px; color: var(--eb-muted); }
.head6 { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.head6 p:last-child { color: var(--eb-muted); font-size: 17px; margin: 0; }
.sec--grey { background: var(--eb-bg); padding: 110px 0; }
@media (max-width: 720px) { .sec--grey { padding: 72px 0; } }

/* ---------- Hero slider ---------- */
.hero6 { padding: 12px 0 0; }
.hero6__box { position: relative; background: var(--eb-navy); border-radius: 32px; overflow: hidden; min-height: 560px; display: grid; }
.hero6__slide { grid-area: 1 / 1; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 32px; padding: 72px 80px 96px; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.hero6__slide.is-active { opacity: 1; visibility: visible; }
.hero6__copy h1, .hero6__copy .h1 { color: #fff; font-size: clamp(36px, 4.3vw, 60px); font-weight: 600; letter-spacing: -.03em; line-height: 1.15; margin-bottom: 22px; }
.hero6__copy p { color: rgba(255, 255, 255, .82); font-size: 18px; max-width: 580px; margin-bottom: 36px; }
.hl { position: relative; white-space: nowrap; display: inline-block; }
.hl::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: -4px; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 12' preserveAspectRatio='none'%3E%3Cpath d='M2 9C80 2 220 1 298 6' fill='none' stroke='%232BE8CB' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat; }
@media (max-width: 640px) { .hl { white-space: normal; display: inline; } .hl::after { display: none; } .hl { box-shadow: inset 0 -4px 0 var(--eb-teal); } }
.hero6__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero6__art { position: relative; aspect-ratio: 520 / 440; width: 100%; max-width: 560px; justify-self: center; }
.hero6__disc { position: absolute; border-radius: 50%; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, .25); }
.hero6__disc img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero6__disc--a { width: 58%; aspect-ratio: 1; left: 2%; top: 8%; background: var(--eb-teal); border: 10px solid var(--eb-teal); }
.hero6__disc--b { width: 54%; aspect-ratio: 1; right: 0; top: 30%; background: var(--eb-peach); border: 10px solid var(--eb-peach); }
.hero6__deco { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero6__slide.is-active .hero6__disc--a { animation: eb-rise .8s ease both; }
.hero6__slide.is-active .hero6__disc--b { animation: eb-rise .8s .12s ease both; }
@keyframes eb-rise { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
.hero6__pager { position: absolute; left: 0; bottom: 0; z-index: 2; display: flex; align-items: center; gap: 10px; background: #fff; padding: 14px 22px 12px; border-top-right-radius: 22px; font-size: 15px; color: var(--eb-muted); }
.hero6__pager b { color: var(--eb-ink); font-weight: 600; }
.hero6__pager button { display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 8px; background: none; color: var(--eb-ink); cursor: pointer; }
.hero6__pager button:hover { background: var(--eb-bg); }
@media (max-width: 1080px) {
	.hero6__slide { padding: 56px 44px 90px; }
}
@media (max-width: 900px) {
	.hero6__box { border-radius: 24px; }
	.hero6__slide { grid-template-columns: 1fr; padding: 48px 28px 96px; gap: 36px; }
	.hero6__art { max-width: 420px; }
}
@media (max-width: 520px) {
	.hero6__slide { padding: 40px 20px 88px; }
	.hero6__copy p { font-size: 16px; }
	.hero6__actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .hero6__slide, .hero6__disc { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }

/* ---------- Category strip ---------- */
.strip { padding: 56px 0 8px; text-align: center; }
.strip__title { color: #585858; font-weight: 500; font-size: 17px; margin-bottom: 26px; }
.strip__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 48px; }
.strip__list a { display: flex; align-items: center; gap: 12px; color: #8a8a90; font-weight: 600; font-size: 19px; letter-spacing: -.01em; transition: color .15s; }
.strip__list a:hover { color: var(--eb-ink); }
.strip__list a:hover .ebt-i { color: var(--eb-teal-ink); }
@media (max-width: 640px) { .strip__list { gap: 14px 24px; } .strip__list a { font-size: 16px; } }

/* ---------- Trust ---------- */
.trust6__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.trust6__media { position: relative; }
.trust6__media::before { content: ""; position: absolute; left: -28px; top: -28px; width: 160px; height: 160px; background: radial-gradient(var(--eb-teal) 2px, transparent 2.5px) 0 0 / 16px 16px; opacity: .7; z-index: -1; }
.trust6__media img { width: 100%; aspect-ratio: 1 / .95; object-fit: cover; border-radius: 24px; display: block; }
.trust6__card { position: absolute; right: -20px; bottom: 36px; display: flex; gap: 14px; align-items: center; background: #fff; border-radius: 16px; padding: 16px 20px; box-shadow: var(--eb-shadow-lg); }
.trust6__card strong { display: block; color: var(--eb-ink); font-weight: 600; }
.trust6__card small { color: var(--eb-muted); font-size: 13px; }
.trust6__tick { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--eb-teal); color: var(--eb-ink); }
.ticklist { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.ticklist li { display: flex; gap: 12px; align-items: flex-start; color: #4a4a4a; font-size: 16px; }
.ticklist li::before { content: ""; flex: none; margin-top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--eb-teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e1e1e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }
@media (max-width: 900px) { .trust6__grid { grid-template-columns: 1fr; gap: 48px; } .trust6__card { right: 12px; } .trust6__media::before { left: -10px; } }

/* ---------- Project types grid ---------- */
.filter__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto 36px; }
.filter__tabs button { border: 0; background: transparent; padding: 10px 18px; border-radius: 10px; font-weight: 500; color: var(--eb-muted); cursor: pointer; transition: background .15s, color .15s; }
.filter__tabs button:hover { background: #fff; color: var(--eb-ink); }
.filter__tabs button[aria-selected="true"] { background: #fff; color: var(--eb-ink); box-shadow: var(--eb-shadow); }
.types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.type { display: flex; flex-direction: column; background: #fff; border-radius: 18px; padding: 26px; color: var(--eb-text); border: 1px solid transparent; transition: transform .2s, box-shadow .2s, border-color .2s; }
.type[hidden] { display: none; }
.type:hover { transform: translateY(-4px); box-shadow: var(--eb-shadow-lg); color: var(--eb-text); }
.type__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 22px; }
.type__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--eb-navy); color: var(--eb-teal); }
.type__tag { font-size: 13px; font-weight: 500; color: var(--eb-muted); background: var(--eb-bg); border-radius: 99px; padding: 5px 12px; white-space: nowrap; }
.type h3 { font-size: 20px; margin-bottom: 8px; }
.type p { color: var(--eb-muted); font-size: 15px; flex: 1; }
.type__foot { display: flex; align-items: center; gap: 8px; border-top: 1px solid var(--eb-line); padding-top: 16px; margin-top: 4px; font-weight: 600; color: var(--eb-ink); font-size: 15px; }
.type:hover .type__foot { color: var(--eb-teal-ink); }
.type.is-in { animation: eb-rise .35s ease both; }
@media (max-width: 1000px) { .types { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .types { grid-template-columns: 1fr; } .filter__tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -20px; padding: 0 20px 4px; } .filter__tabs button { flex: none; } }

/* ---------- FAQ ---------- */
.faq6__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.faq6__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.faq6__intro .lead { margin-bottom: 30px; }
.acc { display: grid; gap: 0; border-top: 1px solid var(--eb-line); }
.acc__item { border-bottom: 1px solid var(--eb-line); }
.acc__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 24px 0; font-size: 18px; font-weight: 600; color: var(--eb-ink); }
.acc__item summary::-webkit-details-marker { display: none; }
.acc__sign { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--eb-bg); transition: background .2s; }
.acc__sign::before, .acc__sign::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--eb-ink); border-radius: 2px; transform: translate(-50%, -50%); transition: transform .2s; }
.acc__sign::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc__item[open] .acc__sign { background: var(--eb-teal); }
.acc__item[open] .acc__sign::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc__body { padding: 0 52px 24px 0; color: var(--eb-muted); }
.acc__body p { margin: 0; }
@media (max-width: 900px) { .faq6__grid { grid-template-columns: 1fr; gap: 36px; } .faq6__intro { position: static; } .acc__body { padding-right: 0; } }

/* ---------- How it works ---------- */
.how6 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.how6__media img { width: 100%; aspect-ratio: 1 / 1.08; object-fit: cover; border-radius: 22px; display: block; }
.switch__tabs { display: inline-flex; gap: 6px; margin: 8px 0 30px; padding: 6px; background: #fff; border-radius: 12px; }
.switch__tabs button { border: 0; background: none; padding: 10px 18px; border-radius: 8px; font-weight: 500; color: var(--eb-muted); cursor: pointer; }
.switch__tabs button[aria-selected="true"] { background: var(--eb-ink); color: #fff; }
.vsteps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.vsteps li { position: relative; display: flex; gap: 20px; padding-bottom: 28px; }
.vsteps li:last-child { padding-bottom: 0; }
.vsteps li:not(:last-child)::before { content: ""; position: absolute; left: 27px; top: 60px; bottom: 6px; border-left: 2px dashed #cfcfd4; }
.vsteps__icon { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fff; color: var(--eb-ink); box-shadow: var(--eb-shadow); }
.vsteps li:first-child .vsteps__icon { background: var(--eb-teal); }
.vsteps h3 { font-size: 19px; margin: 4px 0 6px; font-weight: 500; }
.vsteps p { color: var(--eb-muted); margin: 0; font-size: 15px; }
@media (max-width: 900px) { .how6 { grid-template-columns: 1fr; gap: 44px; } .how6__media { order: -1; } .how6__media img { aspect-ratio: 16 / 11; } }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post { display: flex; flex-direction: column; color: var(--eb-text); }
.post:hover { color: var(--eb-text); }
.post:hover h3 { color: var(--eb-teal-ink); }
.post__img { display: block; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: var(--eb-bg); margin-bottom: 18px; }
.post__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.post:hover .post__img img { transform: scale(1.04); }
.post__ph { display: grid; place-items: center; height: 100%; }
.post__ph img { width: 80px; height: auto; opacity: .5; }
.post__meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 14px; color: var(--eb-muted); }
.post h3 { font-size: 21px; transition: color .15s; }
.post p { color: var(--eb-muted); font-size: 15px; }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* ---------- Join CTA ---------- */
.join6 { padding-top: 0; }
.join6__box { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; background: #161718; border-radius: 28px; padding: 64px 72px; color: rgba(255, 255, 255, .7); }
.join6__box::before, .join6__box::after { content: ""; position: absolute; width: 180px; height: 180px; background: radial-gradient(rgba(43, 232, 203, .5) 2px, transparent 2.5px) 0 0 / 16px 16px; pointer-events: none; }
.join6__box::before { right: -40px; bottom: -70px; }
.join6__box::after { left: 46%; top: -90px; opacity: .45; }
.join6__box h2 { color: #fff; max-width: 680px; }
.join6__box p { margin: 0; font-size: 17px; max-width: 640px; }
.join6__box .kicker { color: var(--eb-teal); }
.join6__cta { position: relative; z-index: 1; display: grid; gap: 14px; justify-items: center; text-align: center; }
.join6__cta small { color: rgba(255, 255, 255, .6); font-size: 14px; }
@media (max-width: 900px) { .join6__box { grid-template-columns: 1fr; padding: 48px 28px; } .join6__cta { justify-items: start; text-align: left; } }
@media (max-width: 520px) { .join6__box { padding: 40px 20px; border-radius: 22px; } .join6__cta .btn { width: 100%; } }

/* ---------- Generic pages ---------- */
.page-hero { background: var(--eb-bg); border-bottom: 1px solid var(--eb-line); padding: 56px 0 44px; }
.page-hero h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; margin: 0; }
.page-body { padding: 48px 0 80px; }
.prose { max-width: 780px; font-size: 17px; }
.prose h2 { margin-top: 1.6em; }
.notfound { text-align: center; padding: 120px 0; }
.notfound h1 { font-size: clamp(30px, 4vw, 44px); }
.notfound__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

/* ---------- Footer ---------- */
.site-footer { background: #1e1e1e; color: rgba(255, 255, 255, .62); padding: 80px 0 0; }
.site-footer .site-logo img { height: 64px; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 48px; }
.site-footer__brand p { margin-top: 20px; max-width: 360px; font-size: 15px; }
.site-footer h3 { color: #fff; font-size: 17px; font-weight: 600; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255, 255, 255, .72); font-size: 15px; }
.site-footer a:hover { color: var(--eb-teal); }
.site-footer__contact a, .site-footer__contact span { display: inline-flex; align-items: center; gap: 10px; overflow-wrap: anywhere; }
.site-footer__contact .ebt-i { color: var(--eb-teal); }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 56px; padding: 24px 0; font-size: 14px; }
.site-footer__bottom ul.site-footer__legal { display: flex; gap: 22px; }
.site-footer__bottom a { font-size: 14px; }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer { padding-top: 56px; } .site-footer__grid { grid-template-columns: 1fr; gap: 32px; } }

/* ==========================================================================
   App pages (dashboard, auth) – classes rendered by the EqualBridge Core plugin.
   Layout follows the marketplace dashboard the client chose: white sidebar,
   grey workspace, white cards, status pills, teal accents.
   ========================================================================== */

body.is-appshell { background: var(--eb-bg); }
.app-main { min-height: 100vh; }
.eb-icon { flex: none; }
.eb-muted { color: var(--eb-muted); }
.eb-inline { display: inline; margin: 0; }

/* ---------- Buttons extra ---------- */
.eb-btn--soft { background: var(--eb-bg); border-color: var(--eb-bg); color: var(--eb-ink); }
.eb-btn--soft:hover { background: var(--eb-teal); border-color: var(--eb-teal); }

/* ---------- Auth (split layout) ---------- */
.eb-auth2 { display: grid; grid-template-columns: minmax(420px, 640px) 1fr; min-height: 100vh; }
.eb-auth2__form { background: #fff; display: flex; justify-content: center; padding: 48px 56px; box-shadow: 4px 0 30px rgba(30, 30, 30, .04); position: relative; z-index: 1; }
.eb-auth2__inner { width: 100%; max-width: 500px; margin: auto 0; }
.eb-auth2__brand { text-align: center; margin-bottom: 30px; }
.eb-auth2__logo { display: inline-block; }
.eb-auth2__logo img { height: 84px; width: auto; display: block; margin: 0 auto 18px; }
.eb-auth2__brand p { color: var(--eb-muted); font-size: 17px; max-width: 340px; margin: 0 auto; }
.eb-auth2__art { background: var(--eb-bg); display: grid; place-items: center; padding: 48px; overflow: hidden; }
.eb-laptop { width: min(100%, 860px); }
.eb-laptop__screen { position: relative; background: #1d1f22; border-radius: 26px 26px 0 0; padding: 18px 18px 22px; box-shadow: 0 30px 60px rgba(30, 30, 30, .15); }
.eb-laptop__screen::before { content: ""; position: absolute; top: 7px; left: 50%; width: 7px; height: 7px; border-radius: 50%; background: #3a3d42; transform: translateX(-50%); }
.eb-laptop__screen img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; background: #fff; }
.eb-laptop__base { height: 18px; margin: 0 -7%; background: linear-gradient(#e4e5e8, #b9bbc0); border-radius: 0 0 22px 22px; position: relative; }
.eb-laptop__base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 7px; background: #cfd1d5; border-radius: 0 0 10px 10px; transform: translateX(-50%); }
.eb-auth__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 15px; }
.eb-auth__switch { text-align: center; margin: 24px 0 0; color: var(--eb-muted); font-size: 15px; }
.eb-auth__switch a { color: var(--eb-ink); font-weight: 600; }
.eb-pass { position: relative; }
.eb-pass input { padding-right: 48px !important; }
.eb-pass__eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; display: grid; place-items: center; border: 0; background: none; color: var(--eb-muted); cursor: pointer; border-radius: 8px; }
.eb-pass__eye:hover, .eb-pass__eye.is-on { color: var(--eb-ink); }
.eb-type { border: 0; margin: 0; padding: 0; }
.eb-type legend { font-weight: 500; font-size: 15px; color: var(--eb-ink); margin-bottom: 8px; padding: 0; }
.eb-type legend em { color: var(--eb-danger); font-style: normal; }
.eb-type__box { display: flex; gap: 10px; background: var(--eb-bg); border-radius: 10px; padding: 8px; }
.eb-type__box label { flex: 1; display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 8px; cursor: pointer; font-weight: 500; color: var(--eb-ink); transition: background .15s, box-shadow .15s; }
.eb-type__box label:has(input:checked) { background: #fff; box-shadow: var(--eb-shadow); }
.eb-type__box input { accent-color: var(--eb-teal-ink); width: 18px; height: 18px; margin: 0; }
.eb-type__box small { display: block; color: var(--eb-muted); font-weight: 400; font-size: 13px; }
@media (max-width: 1100px) { .eb-auth2 { grid-template-columns: 1fr; } .eb-auth2__art { display: none; } .eb-auth2__form { padding: 40px 24px; } }
@media (max-width: 520px) { .eb-auth2__form { padding: 32px 20px; } .eb-type__box { flex-direction: column; } }

/* ---------- Dashboard shell ---------- */
.eb-app { --side-w: 300px; display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr); min-height: 100vh; transition: grid-template-columns .2s; background: linear-gradient(90deg, #fff calc(var(--side-w) - 1px), var(--eb-line) calc(var(--side-w) - 1px) var(--side-w), transparent var(--side-w)); }
.eb-side { position: sticky; top: 0; height: 100vh; overflow-y: auto; background: #fff; border-right: 1px solid var(--eb-line); display: flex; flex-direction: column; padding: 16px 16px 12px; scrollbar-width: thin; }
.eb-side__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 2px 14px; }
.eb-side__logo img { height: 44px; width: auto; display: block; }
.eb-side__toggle { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 10px; background: var(--eb-bg); color: var(--eb-ink); cursor: pointer; }
.eb-side__toggle:hover { background: #ececef; }

.eb-who { position: relative; margin-bottom: 14px; }
.eb-who__btn { width: 100%; display: flex; align-items: center; gap: 12px; padding: 8px; border: 0; background: none; border-radius: 12px; cursor: pointer; text-align: left; color: var(--eb-ink); }
.eb-who__btn:hover { background: var(--eb-bg); }
.eb-who__btn > .eb-icon { margin-left: auto; color: var(--eb-muted); transition: transform .2s; }
.eb-who__btn[aria-expanded="true"] > .eb-icon { transform: rotate(180deg); }
.eb-who__avatar { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--eb-navy); color: var(--eb-teal); font-weight: 700; font-size: 17px; letter-spacing: .02em; }
.eb-who__avatar--lg { width: 72px; height: 72px; border-radius: 16px; font-size: 26px; }
.eb-who__text { min-width: 0; display: grid; }
.eb-who__text strong { font-size: 16px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eb-who__status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--eb-muted); }
.eb-who__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }
.eb-who__status.is-wait::before { background: #f59e0b; }
.eb-who__menu { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; background: #fff; border-radius: 14px; padding: 8px; box-shadow: 0 16px 40px rgba(30, 30, 30, .14), 0 0 0 1px rgba(30, 30, 30, .04); }
.eb-who__me { display: block; padding: 8px 12px 10px; border-bottom: 1px solid var(--eb-line); margin-bottom: 6px; font-weight: 600; color: var(--eb-ink); font-size: 15px; }
.eb-who__me small { display: block; font-weight: 400; color: var(--eb-muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; }
.eb-who__menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 9px; color: var(--eb-ink); font-size: 15px; }
.eb-who__menu a:hover { background: var(--eb-bg); color: var(--eb-ink); }
.eb-who__menu .eb-icon { width: 18px; height: 18px; color: var(--eb-muted); }

.eb-side__cta { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border: 1px solid var(--eb-line); border-radius: 10px; color: var(--eb-ink); font-weight: 500; margin-bottom: 16px; transition: border-color .15s, background .15s; }
.eb-side__cta:hover, .eb-side__cta.is-active { border-color: var(--eb-teal); background: var(--eb-accent-50); color: var(--eb-ink); }
.eb-side__cta .eb-icon { width: 19px; height: 19px; }

.eb-nav { display: grid; gap: 2px; }
.eb-nav__item { width: 100%; display: flex; align-items: center; gap: 12px; padding: 11px 12px; border: 0; background: none; border-radius: 10px; color: #3a3a3a; font-size: 16px; font-weight: 500; text-align: left; cursor: pointer; }
.eb-nav__item:hover { background: var(--eb-bg); color: var(--eb-ink); }
.eb-nav__item.is-active { background: var(--eb-bg); color: var(--eb-ink); font-weight: 600; }
.eb-nav__item.is-current { color: var(--eb-ink); }
.eb-nav__item > .eb-icon, .eb-nav__icon .eb-icon { color: var(--eb-ink); }
.eb-nav__chev { margin-left: auto; display: grid; color: var(--eb-muted); transition: transform .2s; font-style: normal; }
.eb-nav__chev .eb-icon { width: 18px; height: 18px; }
.eb-nav__group.is-open .eb-nav__chev { transform: rotate(180deg); }
.eb-nav__sub { display: none; padding: 2px 0 6px 44px; }
.eb-nav__group.is-open .eb-nav__sub { display: grid; }
.eb-nav__sub a { position: relative; padding: 8px 10px; border-radius: 8px; color: var(--eb-muted); font-size: 15px; }
.eb-nav__sub a::before { content: ""; position: absolute; left: -14px; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: #d4d4d8; transform: translateY(-50%); }
.eb-nav__sub a:hover { color: var(--eb-ink); background: var(--eb-bg); }
.eb-nav__sub a.is-active { color: var(--eb-ink); font-weight: 600; }
.eb-nav__sub a.is-active::before { background: var(--eb-teal); }

.eb-side__bottom { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--eb-line); display: grid; gap: 2px; }
.eb-nav__icon { position: relative; display: grid; }
.eb-dot-count { position: absolute; top: -9px; left: -9px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: #ef4444; color: #fff; font-size: 11px; line-height: 19px; text-align: center; font-weight: 600; box-shadow: 0 0 0 2px #fff; }
.eb-dot-count[hidden] { display: none; }
.eb-balance { display: flex; align-items: center; gap: 10px; margin: 8px -16px; padding: 16px; background: linear-gradient(90deg, #f1fdfb, #f7f3ff); color: var(--eb-ink); font-size: 15px; }
.eb-balance:hover { color: var(--eb-ink); }
.eb-balance b { margin-left: auto; font-weight: 600; }

/* Collapsed sidebar (desktop) */
.eb-app.is-collapsed { --side-w: 88px; }
.eb-app.is-collapsed .eb-side__logo, .eb-app.is-collapsed .eb-who__text, .eb-app.is-collapsed .eb-who__btn > .eb-icon, .eb-app.is-collapsed .eb-nav__item span:not(.eb-nav__icon), .eb-app.is-collapsed .eb-nav__chev, .eb-app.is-collapsed .eb-nav__sub, .eb-app.is-collapsed .eb-side__cta span, .eb-app.is-collapsed .eb-balance span, .eb-app.is-collapsed .eb-balance b { display: none; }
.eb-app.is-collapsed .eb-side__top { justify-content: center; }
.eb-app.is-collapsed .eb-who__btn, .eb-app.is-collapsed .eb-nav__item, .eb-app.is-collapsed .eb-side__cta, .eb-app.is-collapsed .eb-balance { justify-content: center; }
.eb-app.is-collapsed .eb-who__menu { width: 240px; }

.eb-mobilebar { display: none; }
.eb-side__scrim { display: none; }
.eb-app__body { min-width: 0; }
.eb-app__main { width: min(1320px, 100%); margin: 0 auto; padding: 36px 40px 64px; }

@media (max-width: 1080px) {
	.eb-app, .eb-app.is-collapsed { grid-template-columns: minmax(0, 1fr); background: none; }
	.eb-side { position: fixed; left: 0; top: 0; bottom: 0; width: 300px; z-index: 80; transform: translateX(-100%); transition: transform .25s; box-shadow: var(--eb-shadow-lg); }
	.eb-app.is-open .eb-side { transform: none; }
	.eb-side__toggle { display: none; }
	.eb-side__scrim:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 70; background: rgba(15, 15, 20, .4); }
	.eb-mobilebar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 16px; background: #fff; border-bottom: 1px solid var(--eb-line); }
	.eb-mobilebar__btn { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--eb-line); border-radius: 10px; background: #fff; color: var(--eb-ink); cursor: pointer; }
	.eb-mobilebar__logo img { height: 36px; width: auto; display: block; }
	.eb-mobilebar__bell { position: relative; margin-left: auto; display: grid; place-items: center; width: 42px; height: 42px; color: var(--eb-ink); }
	.eb-mobilebar__bell .eb-dot-count { top: 2px; left: auto; right: 0; }
	.eb-app__main { padding: 24px 20px 56px; }
}

/* ---------- Cards, headings ---------- */
.eb-card { background: var(--eb-surface); border-radius: 12px; padding: 24px; margin-bottom: 24px; box-shadow: 0 1px 2px rgba(30, 30, 30, .03); }
.eb-card--flush { padding: 0; overflow: hidden; }
.eb-card__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 24px; border-bottom: 1px solid var(--eb-line); }
.eb-card__head--plain { padding: 0 0 18px; margin-bottom: 4px; }
.eb-card__head p { margin: 4px 0 0; font-size: 14px; }
.eb-card__title { font-size: 19px; font-weight: 600; margin: 0 0 16px; }
.eb-card__head .eb-card__title { margin: 0; }
.eb-card__title-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.eb-card__title-row .eb-card__title { margin: 0; }
.eb-subtitle { font-size: 16px; font-weight: 600; margin: 22px 0 10px; }
.eb-pagehead { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.eb-pagehead h1 { font-size: 28px; font-weight: 600; margin: 0; letter-spacing: -.02em; }
.eb-pagehead__count { font-size: 22px !important; display: flex; align-items: center; gap: 14px; }
.eb-pagehead__count .eb-link { font-size: 15px; }
.eb-empty { text-align: center; padding: 48px 20px; color: var(--eb-muted); }
.eb-empty > .eb-icon { width: 56px; height: 56px; padding: 14px; border-radius: 50%; background: var(--eb-bg); color: var(--eb-muted); margin-bottom: 12px; }
.eb-empty p { margin-bottom: 18px; }
.eb-empty h2 { font-size: 20px; }

/* Alerts */
.eb-alert { border-radius: 10px; padding: 14px 16px; margin-bottom: 18px; font-size: 15px; border: 1px solid; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.eb-alert--ok { background: var(--eb-accent-50); border-color: #b5ead8; color: #0c6b51; }
.eb-alert--info { background: #eef4ff; border-color: #cfdcfb; color: #1d3f86; }
.eb-alert--warn { background: var(--eb-warn-50); border-color: #f2dcaa; color: #7a4f0d; }
.eb-alert--error { background: var(--eb-danger-50); border-color: #f5c3c0; color: #8c231d; }

/* Filter by dropdown */
.eb-filterby { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--eb-ink); font-size: 15px; }
.eb-dd { position: relative; }
.eb-dd__btn { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-width: 210px; padding: 11px 16px; background: #fff; border: 1px solid var(--eb-line); border-radius: 10px; color: var(--eb-ink); font-size: 15px; cursor: pointer; }
.eb-dd__btn .eb-icon { width: 18px; height: 18px; color: var(--eb-muted); transition: transform .2s; }
.eb-dd__btn[aria-expanded="true"] .eb-icon { transform: rotate(180deg); }
.eb-dd__menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; min-width: 100%; padding: 8px; background: #fff; border-radius: 12px; box-shadow: 0 16px 40px rgba(30, 30, 30, .14), 0 0 0 1px rgba(30, 30, 30, .04); display: grid; }
.eb-dd__menu a { padding: 10px 12px; border-radius: 8px; color: var(--eb-ink); font-weight: 400; white-space: nowrap; }
.eb-dd__menu a:hover, .eb-dd__menu a.is-active { background: var(--eb-bg); color: var(--eb-ink); }
.eb-dd__menu a.is-active { font-weight: 600; }

.eb-searchbox { position: relative; width: min(320px, 100%); }
.eb-searchbox input { width: 100%; min-height: 44px; padding: 10px 44px 10px 16px; border: 1px solid var(--eb-line); border-radius: 10px; font-size: 15px; background: #fff; }
.eb-searchbox input:focus { outline: none; border-color: var(--eb-teal-ink); }
.eb-searchbox button { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; display: grid; place-items: center; border: 0; background: none; color: var(--eb-muted); cursor: pointer; }

/* Tiles (money) */
.eb-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 24px; }
.eb-tiles--3 { grid-template-columns: repeat(3, 1fr); }
.eb-tile { background: #fff; border-radius: 12px; padding: 22px 18px; text-align: center; display: grid; gap: 4px; }
.eb-tile span { color: var(--eb-muted); font-size: 15px; }
.eb-tile strong { font-size: 26px; font-weight: 600; color: var(--eb-ink); letter-spacing: -.01em; }
.eb-tile a { color: var(--eb-muted); font-size: 15px; margin-top: 8px; }
.eb-tile a:hover { color: var(--eb-teal-ink); }
@media (max-width: 1200px) { .eb-tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .eb-tiles, .eb-tiles--3 { grid-template-columns: 1fr; } }

/* Insights grid: status cards + payment card */
.eb-insights { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; margin-bottom: 24px; }
.eb-scards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.eb-scard { position: relative; overflow: hidden; display: grid; background: #fff; border-radius: 12px; padding: 20px; min-height: 140px; color: var(--eb-ink); }
.eb-scard:hover { color: var(--eb-ink); box-shadow: var(--eb-shadow); }
.eb-scard__icon .eb-icon { width: 24px; height: 24px; }
.eb-scard strong { font-size: 30px; font-weight: 500; line-height: 1.1; margin-top: 16px; }
.eb-scard__label { color: #555; font-size: 16px; }
.eb-scard__view { position: absolute; right: 20px; top: 18px; padding: 4px 12px; border-radius: 99px; background: var(--eb-bg); color: #555; font-size: 14px; font-weight: 500; transition: background .15s, color .15s; }
.eb-scard:hover .eb-scard__view { background: var(--eb-teal); color: var(--eb-ink); }
.eb-scard__bg { position: absolute; right: -14px; bottom: -22px; color: #f1f1f3; pointer-events: none; }
.eb-scard__bg .eb-icon { width: 96px; height: 96px; stroke-width: 2.4; }
.eb-scard--green .eb-scard__icon { color: #22c55e; }
.eb-scard--amber .eb-scard__icon { color: #eab308; }
.eb-scard--red .eb-scard__icon { color: #ef4444; }
.eb-scard--violet .eb-scard__icon { color: #6366f1; }
.eb-scard--orange .eb-scard__icon { color: #f97316; }
.eb-scard--blue .eb-scard__icon { color: #3b82f6; }
.eb-paycard { margin: 0; padding: 0; overflow: hidden; }
.eb-paycard .eb-card__title { padding: 20px 20px 16px; margin: 0; border-bottom: 1px solid var(--eb-line); }
.eb-paycard > *:not(.eb-card__title) { margin-left: 20px; margin-right: 20px; }
.eb-paycard .eb-payopt:first-of-type { margin-top: 20px; }
.eb-paycard > p { font-size: 14px; line-height: 1.7; margin-top: 16px; margin-bottom: 20px; }
.eb-payopt { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--eb-line); border-radius: 10px; margin-bottom: 10px; color: var(--eb-ink); font-size: 15px; }
a.eb-payopt:hover { border-color: var(--eb-teal); color: var(--eb-ink); }
.eb-payopt > .eb-icon:last-child { margin-left: auto; color: var(--eb-muted); width: 18px; }
.eb-payopt__radio { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #d4d4d8; }
.eb-payopt.is-set .eb-payopt__radio { border: 5px solid var(--eb-teal-ink); }
@media (max-width: 1200px) { .eb-insights { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .eb-scards { grid-template-columns: 1fr; } }

/* Listing rows (projects, offers) */
.eb-list { list-style: none; margin: 0; padding: 0; }
.eb-list li + li { border-top: 1px solid var(--eb-line); }
.eb-lrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 24px; padding: 20px 24px; color: var(--eb-text); transition: background .15s; }
.eb-lrow:hover { background: #fcfcfd; color: var(--eb-text); }
.eb-lrow:hover h3 { color: var(--eb-teal-ink); }
.eb-lrow__head { display: grid; justify-items: start; gap: 6px; min-width: 0; }
.eb-lrow__head .eb-pill + .eb-pill { margin-left: 6px; }
.eb-lrow__cat { color: var(--eb-muted); font-size: 15px; }
.eb-lrow h3 { font-size: 18px; font-weight: 500; margin: 0; transition: color .15s; overflow-wrap: anywhere; }
.eb-lrow__amount { text-align: right; display: grid; align-content: center; }
.eb-lrow__amount small, .eb-lrow__meta small, .eb-phead__meta small { display: block; color: var(--eb-muted); font-size: 14px; }
.eb-lrow__amount b { font-size: 17px; font-weight: 600; color: var(--eb-ink); }
.eb-lrow__meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 16px 56px; align-items: center; }
.eb-lrow__meta b, .eb-phead__meta b { font-weight: 500; color: var(--eb-ink); font-size: 16px; }
.eb-lrow__who { display: flex; align-items: center; gap: 10px; }
.eb-av { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--eb-ink); color: #fff; font-weight: 600; }
.eb-av--teal { background: var(--eb-teal); color: var(--eb-ink); }
.eb-av--lg { width: 52px; height: 52px; font-size: 19px; }
@media (max-width: 640px) { .eb-lrow { grid-template-columns: 1fr; padding: 18px 20px; } .eb-lrow__amount { text-align: left; } .eb-lrow__meta { gap: 14px 28px; } }

/* Pills */
.eb-pill { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 6px; font-size: 13px; font-weight: 500; background: var(--eb-bg); color: var(--eb-text); white-space: nowrap; }
.eb-pill--offer_pending { background: #f1f1f3; color: #555; }
.eb-pill--offer_submitted, .eb-pill--offer-pending { background: #e7f0ff; color: #2563eb; }
.eb-pill--work_in_progress { background: #e7f0ff; color: #2563eb; }
.eb-pill--submitted_for_review { background: #f1eefe; color: #6d28d9; }
.eb-pill--revisions_requested, .eb-pill--approved_awaiting_payment { background: #fff4e5; color: #c2410c; }
.eb-pill--payment_received, .eb-pill--completed, .eb-pill--offer-accepted { background: #e8f8ef; color: #15803d; }
.eb-pill--cancelled, .eb-pill--offer-declined, .eb-pill--offer-withdrawn { background: #fdecec; color: #dc2626; }
.eb-pill--dispute { background: #dc2626; color: #fff; }
.eb-tag { display: inline-block; padding: 4px 10px; border-radius: 6px; font-size: 13px; font-weight: 500; background: var(--eb-bg); color: var(--eb-text); }

/* Find projects: search bar + result cards */
.eb-searchbar { display: flex; gap: 12px; align-items: center; padding: 12px; flex-wrap: wrap; }
.eb-searchbar__q, .eb-searchbar__cat { display: flex; align-items: center; gap: 10px; flex: 1 1 260px; min-height: 48px; padding: 0 14px; border-radius: 10px; background: var(--eb-bg); color: var(--eb-muted); }
.eb-searchbar__cat { flex: 0 1 280px; }
.eb-searchbar input, .eb-searchbar select { flex: 1; min-width: 0; border: 0; background: none; font-size: 15px; outline: none; color: var(--eb-ink); padding: 12px 0; }
.eb-searchbar .eb-btn { min-height: 48px; padding: 10px 28px; }
.eb-pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
.eb-pcard2 { display: flex; flex-direction: column; background: #fff; border-radius: 12px; padding: 22px; border: 1px solid transparent; transition: box-shadow .2s, border-color .2s; }
.eb-pcard2:hover { box-shadow: var(--eb-shadow-lg); }
.eb-pcard2__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; color: var(--eb-muted); font-size: 14px; margin-bottom: 6px; }
.eb-pcard2 h3 { font-size: 18px; font-weight: 600; margin-bottom: 14px; }
.eb-pcard2 h3 a { color: var(--eb-ink); }
.eb-pcard2 h3 a:hover { color: var(--eb-teal-ink); }
.eb-pcard2__price { background: var(--eb-bg); border-radius: 10px; padding: 12px 14px; margin-bottom: 14px; }
.eb-pcard2__price small { display: block; color: var(--eb-muted); font-size: 13px; }
.eb-pcard2__price b { color: var(--eb-ink); font-weight: 600; }
.eb-pcard2 > p { color: var(--eb-muted); font-size: 15px; flex: 1; }
.eb-chips { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.eb-chips li { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 6px; background: var(--eb-bg); font-size: 13px; color: #444; }
.eb-chips .eb-icon { width: 14px; height: 14px; }
.eb-chips .is-blue { background: #e7f0ff; color: #2563eb; }
.eb-chips .is-red { background: #fdecec; color: #dc2626; }
.eb-pcard2__foot { display: grid; gap: 14px; border-top: 1px solid var(--eb-line); padding-top: 16px; }
.eb-pcard2__foot .eb-av { width: 36px; height: 36px; font-size: 14px; }

/* Settings */
.eb-settings { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; align-items: start; }
.eb-subnav { padding: 10px; display: grid; gap: 2px; position: sticky; top: 24px; }
.eb-subnav a { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 9px; color: #3a3a3a; font-weight: 500; }
.eb-subnav a:hover { background: var(--eb-bg); color: var(--eb-ink); }
.eb-subnav a.is-active { background: var(--eb-bg); color: var(--eb-ink); font-weight: 600; }
.eb-settings__main { margin: 0; }
.eb-avatar-row { display: flex; align-items: center; gap: 16px; padding: 16px; border: 1px dashed #d9d9de; border-radius: 12px; }
.eb-avatar-row strong { display: block; color: var(--eb-ink); font-size: 17px; }
.eb-avatar-row small { color: var(--eb-muted); }
.eb-form__section { font-size: 16px; font-weight: 600; margin: 8px 0 -4px; padding-top: 14px; border-top: 1px solid var(--eb-line); }
.eb-team { list-style: none; margin: 0; padding: 0; }
.eb-team li { display: flex; align-items: center; gap: 14px; padding: 16px 24px; }
.eb-team li + li { border-top: 1px solid var(--eb-line); }
.eb-team li > div { flex: 1; min-width: 0; }
.eb-team strong { display: block; color: var(--eb-ink); font-weight: 600; }
.eb-team small { color: var(--eb-muted); font-size: 14px; }
.eb-team-note { padding: 16px 24px 22px; margin: 0; font-size: 14px; border-top: 1px solid var(--eb-line); }
.eb-team li { flex-wrap: wrap; }
.eb-team__sent { display: block; color: #c2410c !important; font-size: 13px !important; }
.eb-team__actions { display: flex; gap: 8px; margin-left: 4px; }
.eb-you { color: var(--eb-muted); font-weight: 400; font-size: 13px; }
.eb-count-pill { display: inline-grid; place-items: center; min-width: 26px; height: 24px; padding: 0 8px; margin-left: 6px; border-radius: 99px; background: var(--eb-bg); font-size: 13px; font-weight: 600; vertical-align: 2px; }
.eb-btn--sm { min-height: 36px; padding: 6px 14px; font-size: 14px; border-radius: 8px; }
.eb-btn--danger-ghost { color: var(--eb-danger); }
.eb-btn--danger-ghost:hover { background: var(--eb-danger-50); border-color: #f5c3c0; color: var(--eb-danger); }
.eb-team__perks { list-style: none; margin: 0; padding: 14px 16px; display: grid; gap: 8px; background: var(--eb-bg); border-radius: 10px; font-size: 14px; color: #444; }
.eb-team__perks li { display: flex; gap: 10px; align-items: center; }
.eb-team__perks li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--eb-teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e1e1e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center/10px no-repeat; }
#eb-add-member { scroll-margin-top: 24px; }
@media (max-width: 640px) { .eb-team li > div { flex-basis: calc(100% - 70px); } .eb-team__actions { margin-left: 66px; } }
@media (max-width: 900px) { .eb-settings { grid-template-columns: 1fr; } .eb-subnav { position: static; display: flex; overflow-x: auto; } .eb-subnav a { flex: none; } }

/* Create project */
.eb-postgrid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.eb-postgrid > .eb-card { margin: 0; }
.eb-tips { position: sticky; top: 24px; }
@media (max-width: 1100px) { .eb-postgrid { grid-template-columns: 1fr; } .eb-tips { position: static; } }

/* Requirement list (project side card, tips) */
.eb-reqs { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.eb-reqs li { display: flex; gap: 14px; align-items: flex-start; }
.eb-reqs li > span { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; background: var(--eb-bg); color: var(--eb-ink); }
.eb-reqs small { display: block; color: var(--eb-muted); font-size: 14px; }
.eb-reqs b { font-weight: 500; color: var(--eb-ink); }
.eb-tips .eb-reqs b { display: block; }

/* ---------- Forms ---------- */
.eb-form { display: grid; gap: 18px; }
.eb-field { display: grid; gap: 8px; }
.eb-field label, .eb-choice legend { font-weight: 500; font-size: 15px; color: var(--eb-ink); }
.eb-field label em, .eb-choice legend em, .eb-check em { color: var(--eb-danger); font-style: normal; }
.eb-field small { color: var(--eb-muted); font-size: 13px; }
.eb-form input[type=text], .eb-form input[type=email], .eb-form input[type=password], .eb-form input[type=number], .eb-form input[type=url], .eb-form input[type=date], .eb-form input[type=search], .eb-form select, .eb-form textarea,
.eb-card__title-row select, .eb-composer textarea {
	width: 100%; min-height: 48px; padding: 12px 16px; border: 1px solid var(--eb-line); border-radius: 10px; background: #fff; font-size: 15px; color: var(--eb-ink); transition: border-color .15s, box-shadow .15s, background .15s;
}
.eb-form--filled input[type=text], .eb-form--filled input[type=email], .eb-form--filled input[type=password] { background: var(--eb-bg); border-color: var(--eb-bg); }
.eb-form textarea, .eb-composer textarea { min-height: 0; resize: vertical; line-height: 1.55; }
.eb-form input:focus, .eb-form select:focus, .eb-form textarea:focus, .eb-composer textarea:focus { outline: none; border-color: var(--eb-teal-ink); background: #fff; box-shadow: 0 0 0 4px rgba(43, 232, 203, .2); }
.eb-form input[disabled], .eb-form textarea[disabled] { background: var(--eb-bg); color: var(--eb-muted); }
.eb-form input[type=file] { font-size: 14px; padding: 14px; border: 1.5px dashed #d4d4d8; border-radius: 10px; background: var(--eb-bg); width: 100%; }
.eb-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.eb-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 640px) { .eb-grid-2, .eb-grid-3 { grid-template-columns: 1fr; } }
.eb-money { position: relative; }
.eb-money span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--eb-muted); font-weight: 500; pointer-events: none; }
.eb-money input { padding-left: 34px !important; }
.eb-form__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid var(--eb-line); }
.eb-form__foot p { margin: 0; font-size: 14px; }
.eb-check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; cursor: pointer; color: #444; }
.eb-check input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--eb-teal-ink); flex: none; }
.eb-check a { color: #2563eb; }
.eb-checks { display: flex; flex-wrap: wrap; gap: 10px; }
.eb-checks label { display: flex; gap: 8px; align-items: center; padding: 10px 14px; border: 1px solid var(--eb-line); border-radius: 10px; font-weight: 400 !important; cursor: pointer; }
.eb-checks input { accent-color: var(--eb-teal-ink); }

/* ---------- Project page ---------- */
.eb-project { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; align-items: start; }
.eb-project__side { position: sticky; top: 24px; }
@media (max-width: 1200px) { .eb-project { grid-template-columns: minmax(0, 1fr); } .eb-project__side { position: static; } }
.eb-phead { padding: 28px; }
.eb-phead__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.eb-back { color: var(--eb-muted); font-size: 14px; font-weight: 500; }
.eb-back:hover { color: var(--eb-ink); }
.eb-phead__cat { color: var(--eb-muted); margin: 0 0 4px; }
.eb-phead h1 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 500; margin-bottom: 20px; }
.eb-phead__meta { display: flex; flex-wrap: wrap; gap: 18px 44px; align-items: center; }
.eb-progress { list-style: none; margin: 26px 0 0; padding: 20px 0 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--eb-line); counter-reset: none; }
.eb-progress li { position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; font-size: 13px; font-weight: 500; color: var(--eb-muted); line-height: 1.3; }
.eb-progress li + li::before { content: ""; position: absolute; top: 13px; right: calc(50% + 18px); left: calc(-50% + 18px); height: 2px; background: var(--eb-line); border-radius: 2px; }
.eb-progress li span { position: relative; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--eb-bg); font-size: 12px; font-weight: 600; }
.eb-progress li.is-done { color: #15803d; }
.eb-progress li.is-done span { background: #22c55e; color: #fff; }
.eb-progress li.is-done span .eb-icon { width: 14px; height: 14px; }
.eb-progress li.is-done + li::before, .eb-progress li.is-current::before { background: #22c55e; }
.eb-progress li.is-current { color: var(--eb-ink); font-weight: 600; }
.eb-progress li.is-current span { background: var(--eb-teal); color: var(--eb-ink); box-shadow: 0 0 0 4px rgba(43, 232, 203, .25); }
@media (max-width: 560px) { .eb-progress { font-size: 11px; } .eb-progress li { font-size: 11px; } .eb-progress li:not(.is-current) { color: transparent; } .eb-progress li:not(.is-current) span { color: var(--eb-muted); } .eb-progress li.is-done span { color: #fff; } .eb-progress li.is-current { white-space: nowrap; } }

.eb-action-panel { border-top: 4px solid var(--eb-teal); }
.eb-action-panel h2 { font-size: 20px; font-weight: 600; }
.eb-countdown { display: flex; gap: 8px; align-items: center; background: var(--eb-warn-50); color: #7a4f0d; border-radius: 10px; padding: 10px 14px; font-size: 14px; font-weight: 500; }
.eb-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-start; margin-top: 14px; }
.eb-details { flex: 1 1 280px; }
.eb-details summary { list-style: none; width: fit-content; }
.eb-details summary::-webkit-details-marker { display: none; }
.eb-details[open] summary { margin-bottom: 14px; }
.eb-prose { font-size: 16px; color: #444; overflow-wrap: anywhere; }
.eb-prose p:last-child { margin-bottom: 0; }
.eb-side-action { text-align: center; margin: -6px 0 20px; }
.eb-timeline { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid var(--eb-line); display: grid; gap: 12px; font-size: 14px; }
.eb-timeline li { position: relative; }
.eb-timeline li::before { content: ""; position: absolute; left: -20px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--eb-teal-ink); box-shadow: 0 0 0 3px #fff; }
.eb-timeline time { display: block; font-size: 12px; color: var(--eb-muted); }

/* Price summary card (right) */
.eb-pcard { padding: 0; overflow: hidden; position: relative; }
.eb-pcard__total { padding: 24px 24px 18px; }
.eb-pcard__total small { display: block; font-size: 16px; color: var(--eb-ink); font-weight: 500; }
.eb-pcard__total strong { display: block; font-size: 26px; font-weight: 600; color: var(--eb-ink); }
.eb-pcard__total--center { text-align: center; padding: 38px 24px 26px; border-bottom: 1px solid var(--eb-line); }
.eb-pcard__total--center strong { font-size: 30px; }
.eb-pcard__total--center small { color: var(--eb-muted); font-weight: 400; font-size: 14px; }
.eb-pcard__badge { position: absolute; top: 0; left: 50%; transform: translateX(-50%); padding: 6px 16px; border-radius: 0 0 10px 10px; background: #e7f0ff; color: #2563eb; font-weight: 500; font-size: 15px; white-space: nowrap; }
.eb-pcard__h { font-size: 18px; font-weight: 600; margin: 22px 24px 16px; }
.eb-pcard .eb-reqs { padding: 0 24px 24px; }
.eb-pcard__rows { margin: 0; padding: 0 24px; border-top: 1px solid var(--eb-line); }
.eb-pcard__rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px dashed #dcdce0; }
.eb-pcard__rows > div:last-child { border-bottom: 0; }
.eb-pcard__rows dt { color: var(--eb-ink); font-weight: 500; }
.eb-pcard__rows dd { margin: 0; color: #444; }
.eb-pcard__rows .is-total { border-top: 1px solid var(--eb-line); border-bottom: 0; margin: 0 -24px; padding: 18px 24px; }
.eb-pcard__rows .is-total dd { font-weight: 600; color: var(--eb-ink); }
.eb-deadline { background: var(--eb-teal); color: var(--eb-ink); padding: 18px 24px; }
.eb-deadline > span { display: block; font-size: 18px; font-weight: 600; }
.eb-deadline__nums { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin-top: 4px; font-size: 15px; }
.eb-deadline__nums b { font-size: 24px; font-weight: 600; margin-left: 2px; }
.eb-deadline__nums i { opacity: .4; font-style: normal; }
.eb-deadline__nums .is-s b { color: #7a4a00; }
.eb-deadline--static b { display: block; margin-top: 2px; font-weight: 500; }
.eb-dispute2 { background: #79eedc; }
.eb-dispute2 summary { list-style: none; cursor: pointer; text-align: center; padding: 14px; font-weight: 600; color: var(--eb-ink); }
.eb-dispute2 summary::-webkit-details-marker { display: none; }
.eb-dispute2 summary:hover { background: #6ae6d2; }
.eb-dispute2__body { background: #fff; padding: 18px 24px 22px; border-top: 1px solid var(--eb-line); }
.eb-dispute2__body textarea { width: 100%; min-height: 0; padding: 12px 14px; border: 1px solid var(--eb-line); border-radius: 10px; }

/* Price box (offers, payment) */
.eb-pricebox { background: var(--eb-bg); border-radius: 10px; padding: 4px 16px; margin: 14px 0; }
.eb-pricebox > div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; font-size: 15px; }
.eb-pricebox > div + div { border-top: 1px dashed #d8d8de; }
.eb-pricebox b { color: var(--eb-ink); font-weight: 600; }
.eb-pricebox .is-total b { font-size: 18px; }

/* Offers */
.eb-offers { display: grid; gap: 14px; }
.eb-offer { border: 1px solid var(--eb-line); border-radius: 12px; padding: 20px; background: #fff; }
.eb-offer--accepted { border-color: #9fdcc8; background: linear-gradient(0deg, #fff, var(--eb-accent-50)); }
.eb-offer--declined, .eb-offer--withdrawn { opacity: .65; }
.eb-offer__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
.eb-offer__head > div { display: grid; gap: 2px; }
.eb-offer__agency { display: flex; align-items: center; color: var(--eb-ink); font-weight: 600; }
.eb-offer__head a { font-size: 13px; }
.eb-avatar { flex: none; width: 42px; height: 42px; border-radius: 10px; display: inline-grid; place-items: center; background: var(--eb-ink); color: #fff; font-weight: 600; }
.eb-avatar--sm { width: 32px; height: 32px; border-radius: 8px; font-size: 13px; margin-right: 10px; vertical-align: middle; }
.eb-verified { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #22c55e; color: #fff; margin-left: 6px; }
.eb-verified .eb-icon { width: 12px; height: 12px; stroke-width: 3; }
.eb-offer__about { font-size: 14px; }
.eb-offer__body h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--eb-muted); margin: 6px 0; font-weight: 600; }
.eb-offer__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; border-top: 1px solid var(--eb-line); margin-top: 14px; padding-top: 14px; }
.eb-offer__foot .eb-actions { margin: 0; }
.eb-offer__nums { display: flex; gap: 28px; flex-wrap: wrap; }
.eb-offer__nums small { display: block; color: var(--eb-muted); font-size: 13px; }
.eb-offer__nums b { font-size: 18px; color: var(--eb-ink); font-weight: 600; }

/* Messages */
.eb-thread { display: grid; gap: 12px; max-height: 560px; overflow-y: auto; padding: 4px 2px 12px; }
.eb-thread__empty { text-align: center; padding: 20px; }
.eb-msg { max-width: 82%; background: var(--eb-bg); border-radius: 14px 14px 14px 4px; padding: 12px 14px; }
.eb-msg.is-mine { justify-self: end; background: #e3fbf6; border-radius: 14px 14px 4px 14px; }
.eb-msg.is-compact { max-width: none; margin: 12px 0; }
.eb-msg header { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; font-size: 13px; margin-bottom: 4px; }
.eb-msg header strong { color: var(--eb-ink); }
.eb-msg header span { color: var(--eb-muted); }
.eb-msg header time { margin-left: auto; color: var(--eb-muted); font-size: 12px; }
.eb-msg__label { display: inline-block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin: 2px 0 6px; padding: 2px 8px; border-radius: 6px; background: #fff; }
.eb-msg--submission { border: 1px solid #9fdcc8; background: var(--eb-accent-50) !important; max-width: 100%; }
.eb-msg--submission .eb-msg__label { color: #0c7a5c; }
.eb-msg--revision { border: 1px solid #f2dcaa; background: var(--eb-warn-50) !important; max-width: 100%; }
.eb-msg--revision .eb-msg__label { color: var(--eb-warn); }
.eb-msg--dispute, .eb-msg--resolution { border: 1px solid #f5c3c0; background: var(--eb-danger-50) !important; max-width: 100%; }
.eb-msg--dispute .eb-msg__label, .eb-msg--resolution .eb-msg__label { color: var(--eb-danger); }
.eb-msg__body { font-size: 15px; overflow-wrap: anywhere; }
.eb-msg__body p:last-child { margin: 0; }
.eb-files { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.eb-files a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: #fff; border: 1px solid var(--eb-line); border-radius: 10px; font-size: 14px; color: var(--eb-ink); }
.eb-files a:hover { border-color: var(--eb-teal-ink); }
.eb-files span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.eb-files small { color: var(--eb-muted); flex: none; }
.eb-composer { border-top: 1px solid var(--eb-line); padding-top: 14px; margin-top: 4px; display: grid; gap: 10px; }
.eb-composer__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.eb-attach { display: inline-flex; align-items: center; gap: 8px; color: var(--eb-muted); font-weight: 500; font-size: 14px; cursor: pointer; min-width: 0; }
.eb-attach span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 260px; }
.eb-attach:hover { color: var(--eb-teal-ink); }
@media (max-width: 600px) { .eb-msg { max-width: 94%; } }

/* Notifications */
.eb-notes { list-style: none; margin: 0; padding: 8px; }
.eb-notes a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; color: var(--eb-text); border-radius: 10px; }
.eb-notes a:hover { background: var(--eb-bg); color: var(--eb-text); }
.eb-notes li + li { border-top: 1px solid var(--eb-line); }
.eb-notes__icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #e8f8ef; color: #15803d; }
.eb-notes__icon .eb-icon { width: 18px; height: 18px; }
.eb-notes li.is-unread .eb-notes__icon { background: var(--eb-teal); color: var(--eb-ink); }
.eb-notes__text { flex: 1; font-size: 15px; color: #444; }
.eb-notes li.is-unread .eb-notes__text { color: var(--eb-ink); font-weight: 500; }
.eb-notes time { display: block; color: var(--eb-muted); font-size: 13px; font-weight: 400; margin-top: 2px; }
.eb-notes a > .eb-icon { color: #c4c4ca; width: 18px; }

/* How it works mini (overview) */
.eb-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.eb-steps li { background: var(--eb-bg); border-radius: 10px; padding: 16px; font-size: 14px; color: #444; }
.eb-steps li span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--eb-teal); color: var(--eb-ink); font-weight: 600; margin-bottom: 10px; }
@media (max-width: 860px) { .eb-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .eb-steps { grid-template-columns: 1fr; } }

/* How payments work page */
.eb-how { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.eb-how__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.eb-how__steps li { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--eb-line); }
.eb-how__steps h3 { font-size: 18px; margin-bottom: 4px; }
.eb-how__steps p { margin: 0; color: var(--eb-muted); }
.eb-how__n { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--eb-primary); color: #fff; font-weight: 800; }
.eb-how__example { position: sticky; top: calc(var(--header-h) + 20px); }
@media (max-width: 860px) { .eb-how { grid-template-columns: 1fr; } .eb-how__example { position: static; } }
