.bpd-portal {
	--bpd-navy: #102f3e;
	--bpd-navy-2: #195064;
	--bpd-aqua: #48c3bd;
	--bpd-aqua-dark: #168f8d;
	--bpd-mist: #eaf7f5;
	--bpd-sand: #f5f2eb;
	--bpd-ink: #173641;
	--bpd-muted: #687c84;
	--bpd-line: #d8e3e5;
	color: var(--bpd-ink);
	font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.5;
	margin: 30px auto;
	max-width: 1180px;
}
.bpd-portal *, .bpd-portal *::before, .bpd-portal *::after { box-sizing: border-box; }
.bpd-portal h2, .bpd-portal h3, .bpd-portal h4, .bpd-portal p { margin-top: 0; }
.bpd-portal__hero { align-items: center; background: radial-gradient(circle at 85% 15%, rgba(72,195,189,.24), transparent 27%), linear-gradient(135deg, #0d2937, #19576b); border-radius: 20px; color: white; display: flex; justify-content: space-between; overflow: hidden; padding: clamp(30px, 5vw, 58px); position: relative; }
.bpd-portal__hero > * { position: relative; z-index: 1; }
.bpd-portal__mark { display: flex; gap: 3px; height: 14px; margin-bottom: 14px; }
.bpd-portal__mark span { background: var(--bpd-aqua); border-radius: 50% 50% 0 0; display: block; height: 10px; transform: skewX(-22deg); width: 29px; }
.bpd-portal__mark span:nth-child(2) { opacity: .72; transform: translateY(4px) skewX(-22deg); }
.bpd-portal__mark span:nth-child(3) { opacity: .4; transform: translateY(7px) skewX(-22deg); }
.bpd-portal__eyebrow { color: var(--bpd-aqua); font-size: 10px; font-weight: 900; letter-spacing: .15em; margin-bottom: 6px; text-transform: uppercase; }
.bpd-portal__hero h2 { color: white; font-family: Georgia, "Times New Roman", serif; font-size: clamp(30px, 5vw, 49px); font-weight: 500; letter-spacing: -.03em; line-height: 1.08; margin-bottom: 9px; }
.bpd-portal__hero p:last-child { color: rgba(255,255,255,.72); margin-bottom: 0; }
.bpd-portal__hero-actions { align-items: flex-end; display: flex; flex-direction: column; gap: 13px; }
.bpd-portal-button { align-items: center; border-radius: 8px; display: inline-flex; font-size: 12px; font-weight: 850; justify-content: center; min-height: 44px; padding: 11px 17px; text-decoration: none !important; transition: .18s ease; }
.bpd-portal-button--aqua { background: var(--bpd-aqua); color: var(--bpd-navy) !important; }
.bpd-portal-button--aqua:hover { background: white; transform: translateY(-1px); }
.bpd-portal-button--primary { background: var(--bpd-navy); color: white !important; }
.bpd-portal-button--primary:hover { background: var(--bpd-aqua-dark); }
.bpd-portal__logout { color: rgba(255,255,255,.75) !important; font-size: 11px; font-weight: 700; }
.bpd-portal__alert { background: #fff1ee; border: 1px solid #e9bbb3; border-left: 4px solid #a64338; border-radius: 9px; color: #7c3028; font-size: 13px; font-weight: 700; margin-top: 16px; padding: 14px 16px; }
.bpd-portal__summary { background: white; border: 1px solid var(--bpd-line); border-radius: 13px; box-shadow: 0 12px 34px rgba(16,47,62,.08); display: grid; grid-template-columns: 1fr 1fr 2fr; margin: -18px 28px 36px; overflow: hidden; position: relative; z-index: 2; }
.bpd-portal__summary > div { border-right: 1px solid var(--bpd-line); padding: 20px 24px; }
.bpd-portal__summary > div:last-child { border-right: 0; }
.bpd-portal__summary small { color: var(--bpd-muted); display: block; font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.bpd-portal__summary strong { color: var(--bpd-navy); display: block; font-size: 20px; margin-top: 4px; overflow-wrap: anywhere; }
.bpd-portal__section { margin: 0 0 48px; }
.bpd-portal__section-heading { align-items: end; border-bottom: 1px solid var(--bpd-line); display: flex; justify-content: space-between; margin-bottom: 17px; padding-bottom: 12px; }
.bpd-portal__section-heading p { color: var(--bpd-aqua-dark); font-size: 9px; font-weight: 900; letter-spacing: .14em; margin-bottom: 3px; text-transform: uppercase; }
.bpd-portal__section-heading h2 { color: var(--bpd-navy); font-family: Georgia, "Times New Roman", serif; font-size: 30px; font-weight: 500; margin-bottom: 0; }
.bpd-portal__section-heading > span { color: var(--bpd-muted); font-size: 11px; }
.bpd-portal__projects { display: grid; gap: 17px; }
.bpd-project-card { background: white; border: 1px solid var(--bpd-line); border-radius: 15px; box-shadow: 0 7px 24px rgba(16,47,62,.055); overflow: hidden; padding: 24px; }
.bpd-project-card--complete { border-top: 4px solid var(--bpd-aqua); }
.bpd-project-card__header { align-items: flex-start; display: flex; justify-content: space-between; gap: 20px; }
.bpd-project-card__number { color: var(--bpd-aqua-dark); font-size: 9px; font-weight: 900; letter-spacing: .12em; margin-bottom: 3px; text-transform: uppercase; }
.bpd-project-card__header h3 { color: var(--bpd-navy); font-family: Georgia, "Times New Roman", serif; font-size: 24px; font-weight: 600; margin-bottom: 2px; }
.bpd-project-card__header > div > span { color: var(--bpd-muted); font-size: 11px; }
.bpd-project-status { background: #e9eeee; border-radius: 20px; color: #466069; flex: 0 0 auto; font-size: 9px; font-weight: 900; letter-spacing: .06em; padding: 7px 10px; text-transform: uppercase; }
.bpd-project-status--new { background: var(--bpd-mist); color: var(--bpd-aqua-dark); }
.bpd-project-status--in_design, .bpd-project-status--proof_sent { background: #dfebfa; color: #356795; }
.bpd-project-status--waiting { background: #fff0c9; color: #7a5900; }
.bpd-project-status--complete { background: #dff2e2; color: #31703b; }
.bpd-project-card__progress { background: #edf2f2; border-radius: 10px; height: 5px; margin: 18px 0; overflow: hidden; }
.bpd-project-card__progress span { background: linear-gradient(90deg, var(--bpd-aqua-dark), var(--bpd-aqua)); display: block; height: 100%; }
.bpd-project-card__facts { border-bottom: 1px solid var(--bpd-line); border-top: 1px solid var(--bpd-line); display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 19px; }
.bpd-project-card__facts > div { border-right: 1px solid var(--bpd-line); padding: 14px; }
.bpd-project-card__facts > div:first-child { padding-left: 0; }
.bpd-project-card__facts > div:last-child { border-right: 0; }
.bpd-project-card__facts small, .bpd-project-card__detail-grid small { color: var(--bpd-muted); display: block; font-size: 8px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.bpd-project-card__facts strong, .bpd-project-card__detail-grid strong { color: var(--bpd-navy); display: block; font-size: 12px; margin-top: 4px; }
.bpd-payment--paid { color: #2f7b3c !important; }
.bpd-payment--failed, .bpd-payment--cancelled { color: #9b3d38 !important; }
.bpd-project-card__payment { align-items: center; background: var(--bpd-sand); border-radius: 10px; display: flex; gap: 20px; justify-content: space-between; margin-top: 17px; padding: 14px 16px; }
.bpd-project-card__payment strong { color: var(--bpd-navy); display: block; font-size: 12px; }
.bpd-project-card__payment span { color: var(--bpd-muted); display: block; font-size: 10px; }
.bpd-project-card__order-link { color: var(--bpd-aqua-dark) !important; display: inline-block; font-size: 11px; font-weight: 800; margin-top: 15px; }
.bpd-project-card__notice { background: var(--bpd-mist); border-radius: 9px; color: #43666d; font-size: 12px; margin-top: 17px; padding: 14px; }
.bpd-delivery { background: linear-gradient(180deg, #eef9f8, #fff); border: 1px solid #cce8e5; border-radius: 12px; margin-top: 20px; padding: 19px; }
.bpd-delivery__heading { align-items: center; display: flex; justify-content: space-between; margin-bottom: 12px; }
.bpd-delivery__heading small { color: var(--bpd-aqua-dark); font-size: 8px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.bpd-delivery__heading h4 { color: var(--bpd-navy); font-size: 17px; margin: 2px 0 0; }
.bpd-delivery__heading > span { background: white; border-radius: 20px; color: var(--bpd-aqua-dark); font-size: 9px; font-weight: 850; padding: 5px 9px; }
.bpd-delivery__note { color: var(--bpd-muted); font-size: 11px; }
.bpd-delivery__grid { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bpd-delivery-file { align-items: center; background: white; border: 1px solid var(--bpd-line); border-radius: 9px; color: var(--bpd-ink) !important; display: flex; gap: 10px; min-width: 0; padding: 8px; text-decoration: none !important; }
.bpd-delivery-file:hover { border-color: var(--bpd-aqua-dark); box-shadow: 0 4px 13px rgba(22,143,141,.11); }
.bpd-delivery-file__preview { align-items: center; background: var(--bpd-navy); border-radius: 7px; color: white; display: flex; flex: 0 0 auto; font-size: 9px; height: 46px; justify-content: center; overflow: hidden; width: 56px; }
.bpd-delivery-file__preview img { height: 100%; object-fit: cover; width: 100%; }
.bpd-delivery-file > span:last-child { min-width: 0; }
.bpd-delivery-file strong { display: block; font-size: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bpd-delivery-file small { color: var(--bpd-aqua-dark); display: block; font-size: 8px; font-weight: 800; margin-top: 3px; }
.bpd-project-card__details { border-top: 1px solid var(--bpd-line); margin-top: 18px; padding-top: 13px; }
.bpd-project-card__details summary { color: var(--bpd-navy); cursor: pointer; font-size: 11px; font-weight: 850; }
.bpd-project-card__detail-grid { display: grid; gap: 12px; grid-template-columns: 1fr 2fr; margin-top: 16px; }
.bpd-project-card__detail-grid > div { background: #f7f9f9; border-radius: 8px; padding: 12px; }
.bpd-project-card__goal { grid-column: 1 / -1; }
.bpd-project-timeline { border-left: 1px solid #c7d5d8; list-style: none; margin: 20px 0 0 8px; padding: 0 0 0 18px; }
.bpd-project-timeline li { display: flex; margin-bottom: 12px; position: relative; }
.bpd-project-timeline li > span { background: var(--bpd-aqua); border: 3px solid white; border-radius: 50%; box-shadow: 0 0 0 1px #afd7d4; height: 10px; left: -24px; position: absolute; top: 4px; width: 10px; }
.bpd-project-timeline strong { color: var(--bpd-ink); display: block; font-size: 10px; }
.bpd-project-timeline small { color: var(--bpd-muted); display: block; font-size: 8px; }
.bpd-portal__empty { background: #f8fafa; border: 1px dashed #bdcdcf; border-radius: 13px; padding: 38px 20px; text-align: center; }
.bpd-portal__empty > span { color: var(--bpd-aqua); font-size: 34px; }
.bpd-portal__empty h3 { color: var(--bpd-navy); font-family: Georgia, "Times New Roman", serif; font-size: 21px; margin: 6px 0; }
.bpd-portal__empty p { color: var(--bpd-muted); font-size: 11px; margin-bottom: 0; }
.bpd-portal--login { max-width: 520px; }
.bpd-portal__login-card { background: white; border: 1px solid var(--bpd-line); border-radius: 19px; box-shadow: 0 26px 70px rgba(16,47,62,.13); padding: clamp(28px, 6vw, 52px); }
.bpd-portal__login-card h2 { color: var(--bpd-navy); font-family: Georgia, "Times New Roman", serif; font-size: 36px; font-weight: 500; margin-bottom: 8px; }
.bpd-portal__login-card > p:not(.bpd-portal__eyebrow) { color: var(--bpd-muted); font-size: 13px; margin-bottom: 24px; }
.bpd-portal__login-card label { color: #405862; display: block; font-size: 11px; font-weight: 800; }
.bpd-portal__login-card input[type="text"], .bpd-portal__login-card input[type="password"] { background: #fbfdfd; border: 1px solid #bdccd1; border-radius: 8px; display: block; margin: 6px 0 14px; min-height: 45px; padding: 10px 12px; width: 100%; }
.bpd-portal__login-card input[type="submit"] { background: var(--bpd-navy); border: 0; border-radius: 8px; color: white; font-size: 12px; font-weight: 850; min-height: 44px; padding: 10px 18px; width: 100%; }
.bpd-portal__login-card .login-remember { font-size: 11px; }
.bpd-portal__login-links { display: flex; justify-content: space-between; margin-top: 18px; }
.bpd-portal__login-links a { color: var(--bpd-aqua-dark) !important; font-size: 10px; font-weight: 800; }
@media (max-width: 820px) {
	.bpd-portal { margin: 16px 10px; }
	.bpd-portal__hero { align-items: flex-start; flex-direction: column; gap: 22px; }
	.bpd-portal__hero-actions { align-items: flex-start; }
	.bpd-portal__summary { grid-template-columns: 1fr 1fr; margin-left: 14px; margin-right: 14px; }
	.bpd-portal__summary > div:last-child { border-top: 1px solid var(--bpd-line); grid-column: 1 / -1; }
	.bpd-project-card__facts { grid-template-columns: 1fr 1fr; }
	.bpd-project-card__facts > div:nth-child(2) { border-right: 0; }
	.bpd-project-card__facts > div:nth-child(n+3) { border-top: 1px solid var(--bpd-line); }
	.bpd-delivery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
	.bpd-portal__section-heading, .bpd-project-card__header, .bpd-project-card__payment { align-items: flex-start; flex-direction: column; }
	.bpd-portal__section-heading > span { margin-top: 5px; }
	.bpd-project-status { align-self: flex-start; }
	.bpd-project-card { padding: 18px; }
	.bpd-project-card__facts, .bpd-delivery__grid, .bpd-project-card__detail-grid { grid-template-columns: 1fr; }
	.bpd-project-card__facts > div { border-right: 0; border-top: 1px solid var(--bpd-line); padding-left: 0; }
	.bpd-project-card__facts > div:first-child { border-top: 0; }
	.bpd-project-card__goal { grid-column: auto; }
	.bpd-project-card__payment .bpd-portal-button { width: 100%; }
	.bpd-portal__login-links { align-items: flex-start; flex-direction: column; gap: 9px; }
}
