:root {
	--ink: #18241f;
	--muted: #66736c;
	--line: #e5e9e4;
	--paper: #f6f8f4;
	--green: #b8ed72;
	--deep-green: #263e32;
}

html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: #fff;
	color: var(--ink);
	font-family: 'Inter', sans-serif;
	-webkit-font-smoothing: antialiased;
}

.site-header { position: relative; z-index: 5; width: 100%; border-bottom: 1px solid #eff1ed; background: rgba(255, 255, 255, .88); }
.header-container { box-sizing: border-box; display: flex; width: 100%; max-width: 1208px; min-height: 76px; align-items: center; justify-content: space-between; gap: 24px; margin: 0 auto; padding: 14px 24px; }
.auth-page { display: flex; min-height: 100vh; flex-direction: column; background: var(--paper); }
.auth-main { box-sizing: border-box; margin: auto; padding-top: 44px; padding-bottom: 44px; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { color: #59665f; font-size: 13px; font-weight: 600; text-decoration: none; transition: color .2s, background .2s, transform .2s; }
.main-nav a:hover { color: var(--deep-green); }
.main-nav .header-cta { display: inline-flex; align-items: center; gap: 12px; padding: 12px 17px; border-radius: 999px; background: var(--deep-green); color: white; }
.main-nav .header-cta span { color: var(--green); font-size: 16px; }
.main-nav .header-cta:hover { transform: translateY(-1px); background: #162a20; color: white; }
.header-logout { flex-shrink: 0; margin: 0; white-space: nowrap; }
.header-logout button { padding: 8px 0; border: 0; background: transparent; color: #59665f; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.header-logout button:hover { color: var(--deep-green); }
.brand-mark { display: inline-flex; flex-shrink: 0; align-items: center; gap: 10px; color: var(--ink); font-size: 13px; font-weight: 500; letter-spacing: .08em; text-decoration: none; white-space: nowrap; }
.brand-mark strong { font-weight: 800; }
.site-header { position: relative; border-bottom: 1px solid #354b3d; background: #1e3228f5; box-shadow: 0 4px 18px #10211825; backdrop-filter: blur(14px); }
.header-container { max-width: 1208px; min-height: 64px; padding: 8px 24px; display: flex; align-items: center; justify-content: space-between; gap: clamp(14px, 2vw, 32px); }
.brand-mark { gap: 11px; letter-spacing: 0; }
.brand-mark img { display: block; width: 175px; height: auto; filter: drop-shadow(0 3px 6px #0002); }
.main-nav { display: flex; flex: 1 1 auto; min-width: 0; align-items: center; justify-content: flex-end; gap: clamp(14px, 2vw, 32px); }
.nav-links { display: flex; min-width: 0; align-items: center; justify-content: flex-end; flex-wrap: nowrap; gap: clamp(6px, 1.1vw, 16px); }
.header-actions { display: flex; min-width: 0; align-items: center; gap: 10px; flex-shrink: 0; }
.user-identity { display: inline-flex; min-width: 0; align-items: center; justify-content: flex-end; gap: 8px; }
.user-name { max-width: clamp(90px, 15vw, 220px); min-height: 38px; height: 38px; box-sizing: border-box; display: inline-flex; align-items: center; overflow: hidden; padding: 0 12px; border: 1px solid #607567; border-radius: 999px; background: #30483a; color: #e3eae4; font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.main-nav a { color: #e3eae4; }
.main-nav a:hover { color: #c2ec83; }
.nav-links > a:not(.header-cta) { flex-shrink: 0; padding: 8px 10px; border-radius: 8px; white-space: nowrap; font-size: 13px; }
.nav-links > a:not(.header-cta):hover, .nav-links > a[aria-current="page"] { background: #344b3c; color: #fff; }
.main-nav .header-cta { margin-left: 8px; padding: 10px 15px; background: #e0ad00; color: #1e3228; box-shadow: 0 5px 12px #0002; }
.main-nav .header-cta span { color: #1e3228; }
.main-nav .header-cta:hover { background: #f0c326; color: #1e3228; }
.header-logout button { color: #e3eae4; padding: 8px 10px; border-radius: 8px; font-size: 13px; }
.header-logout button:hover { background: #344b3c; color: #c2ec83; }
.role-pill { min-width: 44px; height: 38px; box-sizing: border-box; display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; padding: 0 11px; border: 1px solid #607567; border-radius: 999px; background: #30483a; color: #d8e7d2; font-size: 10px; font-weight: 800; line-height: 1; text-align: center; text-decoration: none; white-space: nowrap; }
.role-pill:hover { border-color: #a8c095; background: #405b49; color: #fff; }
.notification-menu { position: relative; }
.notification-menu > summary { position: relative; display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid #607567; border-radius: 12px; background: #30483a; color: #f0f4ef; font-size: 18px; list-style: none; cursor: pointer; transition: background .18s, border-color .18s, transform .18s; }
.notification-menu > summary::-webkit-details-marker { display: none; }
.notification-menu > summary svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.notification-menu > summary:hover, .notification-menu[open] > summary { border-color: #a8c095; background: #405b49; transform: translateY(-1px); }
.notification-menu > summary b { position: absolute; top: -5px; right: -5px; display: grid; min-width: 17px; height: 17px; place-items: center; padding: 0 3px; border: 2px solid white; border-radius: 20px; background: #b75848; color: #fff; font-size: 9px; }
.notification-popover { position: absolute; top: calc(100% + 14px); right: -20px; z-index: 15; width: min(340px, calc(100vw - 30px)); max-height: 65vh; overflow: auto; padding: 16px; border: 1px solid #e1e8de; border-radius: 13px; background: #fff; box-shadow: 0 18px 48px #18241f26; }
.notification-popover > strong { display: block; margin: 0 0 10px; color: #263e32; font-size: 13px; }
.notification-empty { margin: 0; padding: 12px 0; color: #8b968e; font-size: 11px; }
.notification-item { padding: 12px 0; border-top: 1px solid #edf0ec; }
.notification-item.is-pending { border-left: 3px solid #a8d66e; padding-left: 10px; }
.notification-item > a { color: #33483a; font-size: 12px; font-weight: 700; text-decoration: none; }
.notification-item > small { display: block; margin-top: 5px; color: #8a958d; font-size: 10px; line-height: 1.4; }
.notification-item form { margin: 9px 0 0; }
.notification-item form button { padding: 7px 10px; border: 1px solid #dce7d5; border-radius: 7px; background: #f5f9f1; color: #587449; font: inherit; font-size: 10px; font-weight: 800; cursor: pointer; }
.notification-item form button:hover { background: #eaf3e2; }
.notification-item .notification-acknowledged { color: #789267; }
.brand-icon { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 11px; background: var(--deep-green); color: var(--green); font-size: 13px; font-weight: 800; letter-spacing: -.08em; }
.nav-actions { display: flex; align-items: center; gap: 30px; }
.nav-actions a { text-decoration: none; font-size: 13px; font-weight: 600; transition: color .2s, background .2s, transform .2s; }
.nav-anchor, .nav-login { color: #59665f; }
.nav-actions a:hover { color: var(--deep-green); }
.nav-cta { padding: 12px 17px; border-radius: 999px; background: var(--deep-green); color: white; }
.nav-cta:hover { background: #162a20; color: white !important; transform: translateY(-1px); }

body > section:first-of-type { min-height: 730px; box-sizing: border-box; padding-top: 145px; padding-bottom: 90px; background: radial-gradient(ellipse at 79% 43%, #e9f3df 0, #f7f9f5 34%, #fff 72%); }
body > section:first-of-type > div { max-width: 1160px; }
body > section:first-of-type h1 { color: var(--ink); font-size: clamp(3rem, 5.3vw, 4.5rem); line-height: 1.06; letter-spacing: -.065em; }
.hero-highlight { color: #647d53; }
body > section:first-of-type p { color: #68746d; max-width: 490px; font-size: 16px; }
.hero-button { display: inline-flex; align-items: center; gap: 18px; padding: 16px 21px; border-radius: 999px; background: var(--deep-green); color: white; text-decoration: none; font-size: 14px; font-weight: 700; box-shadow: 0 12px 25px #263e3226; transition: .2s ease; }
.hero-button:hover { background: #162a20; transform: translateY(-2px); box-shadow: 0 16px 30px #263e3233; }
.hero-button span { color: var(--green); font-size: 20px; line-height: 14px; }
.hero-caption { display: block; margin-top: 18px; color: #859087; font-size: 12px; }
.hero-orbit { position: absolute; inset: 4% -2% 0 0; z-index: -1; border: 1px solid #d9e5d0; border-radius: 48% 52% 42% 58% / 57% 40% 60% 43%; background: linear-gradient(135deg, #e7f1db, #f7f8f2 65%); transform: rotate(-7deg) scale(1.02); }
.product-preview { position: relative; border-color: #e7ebe5; border-radius: 20px !important; padding: 27px !important; box-shadow: 0 34px 80px #263e321a, 0 4px 14px #263e320b !important; }
.window-dot { height: 8px; width: 8px; border-radius: 50%; background: #d8ded7; }
.preview-label { margin-left: auto; color: #a1aaa3; font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.preview-title-row { display: flex; align-items: center; justify-content: space-between; }
.preview-title-row h3 { margin: 0; font-size: 16px; }
.status-pill { padding: 6px 9px; border-radius: 999px; background: #f1f7e9; color: #617f45; font-size: 10px; font-weight: 700; }
.preview-field { position: relative; display: flex; min-height: 64px; box-sizing: border-box; flex-direction: column; justify-content: center; gap: 6px; padding: 10px 13px; border: 1px solid #e9ede8; border-radius: 9px; background: #fbfcfa; }
.preview-field span { color: #9aa39c; font-size: 8px; font-weight: 700; letter-spacing: .1em; }
.preview-field strong { color: #39453e; font-size: 11px; font-weight: 600; }
.preview-field b { position: absolute; right: 12px; color: #6c9b4a; font-size: 12px; }
.preview-upload { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 13px; border: 1px solid #e9ede8; border-radius: 9px; }
.upload-icon { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 8px; background: #eef4e8; color: #5c7847; font-size: 18px; }
.preview-upload strong, .preview-upload small { display: block; }
.preview-upload strong { color: #46524b; font-size: 10px; }
.preview-upload small { margin-top: 3px; color: #929c94; font-size: 9px; }
.upload-check { margin-left: auto; color: #72964f; }
.preview-progress { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 18px; color: #879188; font-size: 10px; }
.preview-progress strong { color: #536b43; }
.preview-progress i { grid-column: 1 / -1; height: 5px; overflow: hidden; border-radius: 99px; background: #edf0eb; }
.preview-progress i b { display: block; width: 86%; height: 100%; border-radius: inherit; background: #a8d66e; }

.trust-strip { border-color: var(--line) !important; }
.trust-strip > div { gap: 32px !important; }
.trust-strip > div > span { color: #8c978f !important; font-size: 10px !important; }
.trust-strip > div > div { gap: 32px !important; color: #48554d !important; }
.trust-strip > div > div span > span { background: #91b86b !important; }
.steps-section { background: var(--paper) !important; }
.steps-section h2, body > section h2 { letter-spacing: -.04em; }
.steps-section > div > p { color: #77827a; }
.steps-section .rounded-full { background: #e5eedb !important; color: #567047 !important; }
body > section:nth-of-type(4) { padding-top: 112px !important; padding-bottom: 112px !important; }
body > section:nth-of-type(4) li svg { color: #6d914e !important; }
body > section:nth-of-type(4) .bg-gray-50 { background: #f7f9f5 !important; }
body > section:nth-of-type(4) .rounded-2xl { border-color: #e8ece6 !important; }

.site-footer { background: #1e3228; color: #d8e0d9; }
.footer-inner { max-width: 1160px; margin: 0 auto; padding: 42px 24px 26px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px 24px; }
.footer-brand { color: white; }
.footer-brand img { display: block; width: 230px; height: auto; }
.footer-brand .brand-icon { background: #344c3e; }
.footer-inner p { margin: 0; color: #aab8ad; font-size: 13px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: #d8e0d9; font-size: 12px; text-decoration: none; }
.footer-links a:hover { color: var(--green); }
.footer-inner small { grid-column: 1 / -1; margin-top: 15px; padding-top: 20px; border-top: 1px solid #ffffff1a; color: #8e9e92; font-size: 10px; }

.has-scroll-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.has-scroll-reveal .reveal.active { opacity: 1; transform: translateY(0); }
.delay-100 { transition-delay: .1s; }
.delay-200 { transition-delay: .2s; }
.delay-300 { transition-delay: .3s; }

@media (max-width: 960px) {
	.site-header .header-container { min-height: unset; flex-direction: column; align-items: stretch; gap: 8px; padding: 10px 20px; }
	.site-header .brand-mark { align-self: flex-start; }
	.site-header .brand-mark img { width: 160px; }
	.site-header .main-nav { width: 100%; flex: unset; flex-direction: column; align-items: stretch; gap: 8px; margin-left: 0; }
	.site-header .nav-links { width: 100%; flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
	.site-header .main-nav a { min-height: 38px; box-sizing: border-box; display: inline-flex; align-items: center; font-size: 12px; }
	.site-header .nav-links > a:not(.header-cta) { padding: 7px 9px; }
	.site-header .header-logout { display: flex; min-height: 38px; align-items: center; }
	.site-header .header-logout button { min-height: 38px; padding: 7px 9px; }
	.site-header .role-pill { min-height: 38px; }
	.site-header .header-actions { justify-content: flex-end; }
}

@media (max-width: 767px) {
	.site-header .header-container { min-height: unset; flex-direction: column; align-items: stretch; gap: 6px; padding: 8px 16px; }
	.site-header .brand-mark img { width: 145px; }
	.brand-mark { align-self: flex-start; }
	.main-nav { width: 100%; flex: unset; flex-direction: column; align-items: stretch; gap: 6px; margin-left: 0; }
	.nav-links { width: 100%; flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
	.main-nav a { min-height: 36px; box-sizing: border-box; display: inline-flex; align-items: center; font-size: 12px; }
	.nav-links > a:not(.header-cta) { padding: 6px 8px; }
	.header-logout { display: flex; min-height: 36px; align-items: center; }
	.header-logout button { min-height: 36px; padding: 6px 8px; }
	.user-name { max-width: min(115px, calc(100vw - 212px)); min-height: 36px; height: 36px; padding: 0 9px; font-size: 11px; }
	.user-identity { gap: 6px; }
	.role-pill { min-height: 36px; height: 36px; padding: 0 9px; }
	.main-nav .header-cta { padding: 8px 12px; }
	.header-actions { justify-content: flex-end; }
	.notification-menu > summary { width: 36px; height: 36px; }
	.site-header .notification-menu { position: static; }
	.site-header .notification-popover { top: calc(100% + 8px); left: 16px; right: 16px; width: auto; max-height: calc(100vh - 150px); }
	body > section:first-of-type { min-height: unset; padding: 125px 22px 75px; }
	body > section:first-of-type h1 { font-size: clamp(2.7rem, 11vw, 4rem); }
	body > section:first-of-type > div { gap: 42px !important; }
	.product-preview { padding: 20px !important; }
	.trust-strip > div > div { flex-wrap: wrap; justify-content: center; gap: 12px 20px !important; }
	.steps-section { padding-top: 82px !important; padding-bottom: 82px !important; }
	body > section:nth-of-type(4) { padding: 80px 24px !important; }
	.footer-inner { grid-template-columns: 1fr; }
	.footer-links { flex-wrap: wrap; }
	.footer-inner small { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
	.reveal { opacity: 1; transform: none; }
}

/* Internal application, forms and brief views */
.app-page { min-height: 100vh; background: #f6f8f5; }
.app-main { width: min(1180px, calc(100% - 48px)); min-height: 60vh; margin: 0 auto; padding: 48px 0 84px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin: 18px 0 30px; }
.page-heading h1 { margin: 8px 0 8px; color: var(--ink); font-size: clamp(32px, 4vw, 46px); letter-spacing: -.055em; line-height: 1.08; }
.page-heading p, .panel-heading p { margin: 0; color: #768179; font-size: 14px; line-height: 1.65; }
.eyebrow { display: inline-block; color: #829078; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.button-primary, .button-secondary { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 10px; box-sizing: border-box; padding: 11px 17px; border: 0; border-radius: 9px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; text-decoration: none; transition: .18s ease; }
.button-primary { background: var(--deep-green); color: #fff; }
.button-primary:hover { background: #162a20; transform: translateY(-1px); }
.button-secondary { border: 1px solid #dce4da; background: #fff; color: var(--deep-green); }
.button-secondary:hover { background: #f2f6ee; }
.button-link { white-space: nowrap; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.stat-card, .panel { border: 1px solid #e7ebe5; border-radius: 14px; background: #fff; box-shadow: 0 8px 26px #263e3208; }
.stat-card { display: flex; min-height: 120px; flex-direction: column; justify-content: center; padding: 18px 22px; }
.stat-card > span { color: #829087; font-size: 12px; font-weight: 600; }
.stat-card strong { margin: 7px 0; color: var(--ink); font-size: 30px; letter-spacing: -.05em; }
.stat-card .stat-name { font-size: 19px; }
.stat-card small, .stat-card small a { color: #87928a; font-size: 11px; text-decoration: none; }
.panel { margin: 0 0 20px; padding: 24px; }
.panel h2 { margin: 5px 0 6px; color: var(--ink); font-size: 21px; letter-spacing: -.035em; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.search-form { display: flex; gap: 8px; }
.search-form input { width: 255px; }
.table-scroll { overflow-x: auto; }
.account-role-form { display: grid; min-width: 170px; gap: 6px; margin: 0; }
.account-role-form select, .account-role-form input { min-height: 36px; box-sizing: border-box; padding: 7px 9px; border: 1px solid #e3e8e1; border-radius: 7px; background: #fbfcfa; color: #344239; font: inherit; font-size: 11px; }
.account-role-form .button-secondary { min-height: 34px; justify-self: start; padding: 7px 10px; font-size: 11px; }
.account-role-form .account-client-company[hidden] { display: none; }
.data-table td > form { margin: 0; }
.data-table { width: 100%; border-collapse: collapse; text-align: left; }
.data-table th { padding: 11px 14px; border-bottom: 1px solid #e8ece7; color: #8a958d; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.data-table td { padding: 15px 14px; border-bottom: 1px solid #f0f2ef; color: #58645c; font-size: 12px; vertical-align: middle; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table td small, .table-primary { display: block; }
.data-table td small { margin-top: 5px; color: #98a19a; font-size: 10px; }
.table-primary { color: #2a4335; font-size: 13px; font-weight: 700; text-decoration: none; }
.text-link, .back-link { color: #5e7b48; font-size: 12px; font-weight: 700; text-decoration: none; }
.back-link { display: inline-block; margin-bottom: 12px; }
.project-row-actions { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.project-row-actions form { margin: 0; }
.danger-link { padding: 5px 0; border: 0; background: transparent; color: #a45648; font: inherit; font-size: 11px; font-weight: 700; cursor: pointer; }
.danger-link:hover { color: #7f3027; text-decoration: underline; }
.muted { color: #98a19a; }
.status-badge, .brief-status { display: inline-flex; align-items: center; max-width: 205px; padding: 7px 10px; border-radius: 999px; background: #f2f6ed; color: #60784e; font-size: 10px; font-weight: 700; line-height: 1.35; }
.status-large { max-width: 260px; padding: 10px 14px; }
.empty-state { padding: 25px; color: #8a958d; font-size: 13px; text-align: center; }
.empty-state.compact { padding: 16px 0 0; }
.form-stack { display: flex; flex-direction: column; gap: 18px; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.field-wrap { position: relative; display: flex; min-width: 0; flex-direction: column; gap: 7px; }
.field-wrap[hidden] { display: none !important; }
.field-wrap > label { color: #45534a; font-size: 11px; font-weight: 700; }
.field-help { margin: -2px 0 2px; color: #7d8980; font-size: 10px; line-height: 1.55; }
.field-info { position: absolute; top: -5px; right: 0; z-index: 5; }
.field-info-button { display: grid; width: 19px; height: 19px; place-items: center; padding: 0; border: 1px solid #cbd8c2; border-radius: 50%; background: #f5f9f1; color: #597449; font: inherit; font-size: 11px; font-weight: 800; cursor: help; }
.field-info-button:focus-visible { outline: 3px solid #a8d66e88; outline-offset: 2px; }
.field-info-tooltip { position: absolute; right: -4px; bottom: calc(100% + 9px); z-index: 10; width: min(260px, 75vw); padding: 10px 12px; border: 1px solid #dce5d6; border-radius: 9px; background: #263e32; box-shadow: 0 8px 22px #15261d33; color: #fff; font-size: 11px; font-weight: 500; line-height: 1.55; opacity: 0; pointer-events: none; transform: translateY(4px); transition: opacity .15s ease, transform .15s ease; }
.field-info-button:hover + .field-info-tooltip, .field-info-button:focus + .field-info-tooltip { opacity: 1; pointer-events: auto; transform: translateY(0); }
.field-wrap input, .field-wrap select, .field-wrap textarea, .search-form input, .upload-row input, .upload-row select, .upload-panel input, .upload-panel select { box-sizing: border-box; width: 100%; min-height: 42px; padding: 10px 12px; border: 1px solid #e3e8e1; border-radius: 8px; outline: 0; background: #fbfcfa; color: #344239; font: inherit; font-size: 12px; }
.field-wrap textarea { min-height: 86px; resize: vertical; }
.field-wrap input:focus, .field-wrap select:focus, .field-wrap textarea:focus, .search-form input:focus { border-color: #91b86b; box-shadow: 0 0 0 3px #a8d66e26; background: #fff; }
.field-wide { grid-column: 1 / -1; }
.required-mark { color: #b25848; }
.field-hint { color: #969f98; font-size: 10px; line-height: 1.5; }
.field-status { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 2px; }
.field-status span { color: #9aa39c; font-size: 9px; }
.field-status select { width: auto; min-height: 29px; padding: 4px 7px; border: 0; background: #f5f7f3; color: #718078; font: inherit; font-size: 9px; }
.input-with-unit { display: flex; }
.input-with-unit input { min-width: 0; flex: 1; border-radius: 8px 0 0 8px; }
.input-with-unit select { width: auto; max-width: 130px; border-left: 0; border-radius: 0 8px 8px 0; }
.form-section { padding: 19px 0; border-top: 1px solid #edf0ec; }
.form-section h3 { margin: 0 0 15px; color: #45534a; font-size: 13px; }
.form-section .field-grid { row-gap: 18px; }
.check-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.check-option { display: flex; align-items: center; gap: 5px; color: #5b675f; font-size: 11px; }
.check-option input { width: 15px; min-height: 15px; accent-color: #567047; }
.notice { margin: 16px 0; padding: 13px 15px; border-radius: 9px; font-size: 12px; line-height: 1.55; }
.notice-error { border: 1px solid #f0d7d1; background: #fff7f5; color: #9a4c40; }
.notice-success { border: 1px solid #d9e9ce; background: #f5faef; color: #567047; }
.details-summary { color: #31463a; font-size: 14px; font-weight: 700; cursor: pointer; list-style: none; }
.details-summary::-webkit-details-marker { display: none; }
.details-summary::after { float: right; content: '＋'; color: #78935e; }
details[open] > .details-summary::after { content: '−'; }
.details-form { padding-top: 22px; }
.product-card-list { display: flex; flex-direction: column; gap: 9px; }
.product-card { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid #edf0eb; border-radius: 10px; color: inherit; text-decoration: none; transition: border .15s, transform .15s; }
.product-card:hover { transform: translateY(-1px); border-color: #cddcc3; }
.product-icon, .file-icon { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border-radius: 10px; background: #eef4e8; color: #5b7847; font-size: 13px; font-weight: 800; }
.product-card-main { display: flex; flex: 1; flex-direction: column; gap: 4px; }
.product-card-main strong { color: #304238; font-size: 13px; }
.product-card-main small, .product-meta { color: #8d9890; font-size: 10px; }
.product-meta { text-align: right; line-height: 1.7; }
.product-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; align-items: start; gap: 20px; }
.product-content { min-width: 0; }
.product-sidebar { display: flex; flex-direction: column; gap: 14px; }
.product-sidebar .panel { position: sticky; top: 18px; }
.product-sidebar h2 { margin-top: 8px; }
.product-sidebar p { color: #77827a; font-size: 11px; line-height: 1.7; }
.completion-card { display: flex; min-width: 180px; flex-direction: column; gap: 5px; padding: 15px 17px; border: 1px solid #e4eadd; border-radius: 12px; background: white; }
.completion-card strong, .completion-line strong { color: #567047; font-size: 25px; letter-spacing: -.04em; }
.completion-card span, .completion-line span { color: #839087; font-size: 10px; }
.completion-card i, .progress-track { display: block; height: 5px; overflow: hidden; margin-top: 7px; border-radius: 99px; background: #edf0eb; }
.completion-card i b, .progress-track b { display: block; height: 100%; border-radius: inherit; background: #a8d66e; }
.completion-line { display: flex; align-items: center; justify-content: space-between; }
.area-progress { margin-top: 14px; }
.area-progress > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.area-progress strong { color: #4b5a50; font-size: 11px; }
.area-progress span { color: #98a19a; font-size: 9px; }
.missing-list { margin-top: 18px; padding: 13px; border: 1px solid #f0e3ce; border-radius: 9px; background: #fffaf1; color: #805c32; font-size: 10px; }
.missing-list ul { margin: 8px 0 0; padding-left: 16px; line-height: 1.7; }
.missing-count { display: inline-block; padding: 5px 8px; border-radius: 99px; background: #fff5e6; color: #956631; font-size: 9px; font-weight: 700; white-space: nowrap; }
.complete-count { color: #5f804b; font-size: 10px; }
.sidebar-help { margin-top: 0; }
.brief-history { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.brief-history > a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px; border: 1px solid #edf0ec; border-radius: 8px; text-decoration: none; }
.brief-history > a > span:first-child { display: flex; flex-direction: column; gap: 4px; }
.brief-history strong { color: #4b5a50; font-size: 10px; }
.brief-history small { color: #98a19a; font-size: 9px; }
.wizard-progress { --wizard-progress: 0%; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0 0 24px; padding: 8px 0; }
.wizard-progress-line { position: absolute; top: 24px; right: 12.5%; left: 12.5%; height: 3px; border-radius: 99px; background: #e7ece4; }
.wizard-progress-line i { display: block; width: var(--wizard-progress); height: 100%; border-radius: inherit; background: #91b86b; transition: width .25s ease; }
.wizard-step-indicator { position: relative; z-index: 1; display: grid; justify-items: center; gap: 5px; padding: 0; border: 0; background: transparent; color: #87928a; font: inherit; cursor: default; }
.wizard-step-indicator > span { display: grid; width: 34px; height: 34px; place-items: center; border: 2px solid #e1e8dd; border-radius: 50%; background: #fff; color: #87928a; font-size: 12px; font-weight: 800; transition: .2s ease; }
.wizard-step-indicator strong { color: #758078; font-size: 12px; }
.wizard-step-indicator small { color: #9aa39c; font-size: 10px; }
.wizard-step-indicator.is-active > span { border-color: var(--deep-green); background: var(--deep-green); color: white; box-shadow: 0 0 0 4px #263e3214; }
.wizard-step-indicator.is-active strong { color: var(--deep-green); }
.wizard-step-indicator.is-complete > span { border-color: #91b86b; background: #91b86b; color: white; }
.wizard-panel[hidden] { display: none !important; }
.staff-read-only .product-main .wizard-panel[hidden] { display: block !important; }
.staff-read-only .product-main .wizard-controls,
.staff-read-only .product-main .packaging-choice-grid,
.staff-read-only .product-main .add-component,
.staff-read-only .product-main .upload-panel,
.staff-read-only .product-main .upload-row,
.staff-read-only .product-main .product-sidebar > .panel:first-child,
.staff-read-only .product-main form button { display: none !important; }
.staff-read-only .product-main input:disabled,
.staff-read-only .product-main select:disabled,
.staff-read-only .product-main textarea:disabled { opacity: 1; background: #f5f8f3; color: #45534a; cursor: default; }
.wizard-controls { position: sticky; bottom: 12px; z-index: 8; display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 4px 0 36px; padding: 17px 20px; border: 1px solid #dfe7db; border-radius: 12px; background: #ffffffed; box-shadow: 0 8px 28px #263e3212; backdrop-filter: blur(10px); }
.wizard-step-count { color: #859087; font-size: 11px; font-weight: 700; }
.wizard-controls button[hidden] { display: none; }
.nutrition-editor { width: 100%; overflow-x: auto; border: 1px solid #e2e8df; border-radius: 10px; background: #fff; }
.nutrition-title { display: block; margin: 0 0 12px; color: #273d31; font-size: 18px; }
.nutrition-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
.nutrition-meta label { display: flex; flex-direction: column; gap: 6px; color: #526057; font-size: 11px; font-weight: 700; }
.nutrition-meta input { min-height: 38px; padding: 9px 11px; border: 1px solid #e2e8df; border-radius: 7px; background: #fff; color: var(--ink); font: inherit; font-weight: 400; }
.nutrition-table { width: 100%; min-width: 760px; border-collapse: collapse; text-align: left; }
.nutrition-table th { padding: 12px 13px; border-bottom: 2px solid #273d31; background: #f7f9f5; color: #37483d; font-size: 10px; font-weight: 800; }
.nutrition-table td { padding: 6px 8px; border-bottom: 1px solid #e9ede8; }
.nutrition-table tr:last-child td { border-bottom: 0; }
.nutrition-table input { min-height: 36px !important; border-color: transparent !important; background: transparent !important; }
.nutrition-table input:focus { border-color: #91b86b !important; background: #fff !important; }
.nutrition-remove { width: 30px; height: 30px; border: 0; border-radius: 7px; background: #fff2ef; color: #a45648; font-size: 18px; cursor: pointer; }
.nutrition-actions { display: flex; align-items: center; gap: 12px; padding: 12px; border-top: 1px solid #e9ede8; }
.nutrition-actions > span { color: #89948b; font-size: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
.component-card { margin: 18px 0; padding: 19px; border: 1px solid #e8ece6; border-radius: 12px; background: #fcfdfb; }
.packaging-choice-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; margin: 20px 0 14px; }
.packaging-choice-form { min-width: 0; margin: 0; }
.packaging-choice-card { display: flex; width: 100%; min-height: 145px; align-items: flex-start; flex-direction: column; gap: 7px; padding: 14px; border: 1px solid #e4eae1; border-radius: 11px; background: #fff; color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.packaging-choice-card:hover, .packaging-choice-card:focus-visible { transform: translateY(-2px); border-color: #a9c693; box-shadow: 0 9px 24px #263e3210; outline: none; }
.packaging-choice-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 9px; background: #eff5e9; color: #5f7a4d; font-size: 19px; font-weight: 700; }
.packaging-choice-card > strong { color: #34473a; font-size: 12px; }
.packaging-choice-card > small { min-height: 26px; color: #8a958d; font-size: 9px; line-height: 1.45; }
.packaging-choice-add { margin-top: auto; color: #607b4e; font-size: 10px; font-weight: 800; }
.component-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.component-heading h3 { margin: 5px 0 3px; color: #304238; font-size: 17px; }
.component-heading p { margin: 0; color: #8b968e; font-size: 11px; }
.component-heading > div:first-child { flex: 1; min-width: 0; }
.component-remove-form { margin: 0; }
.component-form .form-section:first-of-type { border-top: 0; padding-top: 4px; }
.add-component { margin-top: 20px; padding-top: 18px; border-top: 1px solid #edf0ec; }
.upload-row, .upload-panel { display: flex; align-items: center; gap: 9px; }
.upload-row select, .upload-panel select { width: auto; max-width: 210px; flex: 0 0 180px; }
.upload-row input[type=file], .upload-panel input[type=file] { min-width: 0; padding: 8px; background: white; }
.upload-row small, .upload-panel small { color: #909a92; font-size: 9px; white-space: nowrap; }
.upload-panel { flex-wrap: wrap; padding: 14px; border: 1px dashed #d8e1d3; border-radius: 10px; background: #fafcf8; }
.upload-panel input[type=file] { flex: 1; }
.attachment-list { margin-top: 14px; }
.attachment-row { display: flex; align-items: center; gap: 12px; padding: 11px 3px; border-bottom: 1px solid #eff1ee; }
.attachment-row > span:nth-child(2) { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 4px; }
.attachment-row strong { overflow: hidden; color: #48554d; font-size: 11px; text-overflow: ellipsis; }
.attachment-row small { color: #929c94; font-size: 9px; }
.file-icon { width: 32px; height: 32px; }
.auth-card-wrap { display: grid; width: min(100% - 36px, 510px); place-items: center; }
.auth-card { width: 100%; box-sizing: border-box; padding: 38px; border: 1px solid #e5eae3; border-radius: 18px; background: white; box-shadow: 0 25px 75px #263e3212; }
.auth-card h1 { margin: 9px 0; color: var(--ink); font-size: 30px; letter-spacing: -.05em; }
.auth-card > p { margin: 0 0 23px; color: #77827a; font-size: 12px; line-height: 1.7; }
.auth-card .auth-footnote { margin: 20px 0 0; text-align: center; }
.auth-card a { color: #5e7b48; font-weight: 700; }
.brief-main { width: min(960px, calc(100% - 40px)); }
.brief-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.brief-toolbar > div { display: flex; gap: 9px; }
.brief-email-form { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 12px 14px; border: 1px solid #e4e9e2; border-radius: 8px; background: #fff; }
.brief-email-form label { color: #526057; font-size: 11px; font-weight: 700; }
.brief-email-form input { width: min(100%, 340px); min-height: 40px; box-sizing: border-box; padding: 9px 11px; border: 1px solid #e3e8e1; border-radius: 7px; background: #fbfcfa; color: #344239; font: inherit; font-size: 12px; }
.brief-document { padding: 48px 54px; border: 1px solid #e4e9e2; border-radius: 14px; background: white; box-shadow: 0 15px 50px #263e320c; }
.brief-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding-bottom: 27px; border-bottom: 1px solid #e9ede8; }
.brief-header h1 { margin: 9px 0 7px; color: var(--ink); font-size: 34px; letter-spacing: -.05em; }
.brief-header p { margin: 0; color: #87928a; font-size: 11px; }
.brief-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 23px 0; border-bottom: 1px solid #e9ede8; }
.brief-summary > div { display: flex; flex-direction: column; gap: 5px; }
.brief-summary small { color: #9aa39c; font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.brief-summary strong { color: #45534a; font-size: 11px; }
.brief-section, .brief-notes { padding: 20px 0; border-bottom: 1px solid #edf0ec; }
.brief-section h2, .brief-notes h2 { margin: 0 0 14px; color: #34473a; font-size: 16px; }
.brief-section dl { margin: 0; }
.brief-field { display: grid; grid-template-columns: minmax(170px, .7fr) 1.4fr; gap: 20px; padding: 9px 0; border-bottom: 1px solid #f1f3f0; }
.brief-field:last-child { border-bottom: 0; }
.brief-field dt { color: #839087; font-size: 10px; }
.brief-field dd { margin: 0; color: #3d4a41; font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }
.tbc-value { color: #a07144; font-style: italic; }
.brief-missing { margin-top: 20px; padding: 14px 16px; border: 1px solid #f0e3ce; border-radius: 9px; background: #fffaf1; color: #805c32; font-size: 11px; }
.brief-missing p, .brief-notes p { margin: 7px 0 0; line-height: 1.6; }
.brief-component { margin: 15px 0; padding: 16px; border: 1px solid #edf0ec; border-radius: 10px; page-break-inside: avoid; }
.brief-component h3 { margin: 5px 0; font-size: 14px; }
.brief-component h4 { margin: 18px 0 5px; color: #58655c; font-size: 11px; }
.brief-footer { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; color: #9aa39c; font-size: 9px; }

/* Public homepage and staff-access guidance */
.landing-shell { box-sizing: border-box; width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.landing-hero { position: relative; overflow: hidden; padding: 92px 0 0; background: radial-gradient(ellipse at 77% 36%, #e7f1dc 0, #f5f8f2 34%, #fff 73%); }
.landing-hero-grid { display: grid; min-height: 490px; grid-template-columns: 1fr .92fr; align-items: center; gap: 58px; padding-bottom: 76px; }
.landing-copy { position: relative; z-index: 1; max-width: 565px; }
.landing-copy h1 { margin: 16px 0 21px; color: var(--ink); font-size: clamp(42px, 5vw, 66px); font-weight: 800; letter-spacing: -.07em; line-height: 1.04; }
.landing-copy h1 span { color: #698355; }
.landing-lead { max-width: 500px; margin: 0; color: #68746d; font-size: 16px; line-height: 1.8; }
.landing-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 30px; }
.landing-actions .button-primary, .landing-access-card .button-primary { gap: 15px; min-height: 50px; padding: 14px 20px; border-radius: 999px; }
.landing-text-link { color: #5d704f; font-size: 13px; font-weight: 700; text-decoration: none; }
.landing-text-link:hover { color: #304b35; }
.landing-note { display: flex; align-items: center; gap: 9px; margin-top: 25px; color: #849087; font-size: 11px; }
.landing-note-dot { width: 7px; height: 7px; border-radius: 50%; background: #91b86b; box-shadow: 0 0 0 4px #91b86b1c; }
.landing-visual { position: relative; display: grid; min-height: 410px; place-items: center; }
.landing-glow { position: absolute; inset: 6% 3% 3%; border: 1px solid #d9e5d0; border-radius: 48% 52% 42% 58% / 57% 40% 60% 43%; background: linear-gradient(140deg, #e7f1dc, #f7f9f4 70%); transform: rotate(-7deg); }
.landing-product-card { position: relative; width: min(100%, 470px); box-sizing: border-box; padding: 24px; border: 1px solid #e4eae1; border-radius: 18px; background: #fff; box-shadow: 0 28px 75px #263e3219, 0 3px 12px #263e3209; }
.landing-card-top { display: flex; align-items: center; gap: 12px; color: #9aa49a; font-size: 8px; font-weight: 800; letter-spacing: .14em; }
.landing-window-dots { display: flex; gap: 4px; }
.landing-window-dots i { width: 7px; height: 7px; border-radius: 50%; background: #d9dfd7; }
.landing-record-status { margin-left: auto; padding: 6px 8px; border-radius: 99px; background: #f2f7eb; color: #68804e; font-size: 9px; letter-spacing: 0; }
.landing-product-heading { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.landing-product-icon { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 12px; background: #edf4e6; color: #607a4d; font-weight: 800; }
.landing-product-heading strong, .landing-product-heading small { display: block; }
.landing-product-heading strong { color: #29372f; font-size: 14px; }
.landing-product-heading small { margin-top: 4px; color: #8d988f; font-size: 10px; }
.landing-card-rule { height: 1px; margin: 19px 0; background: #edf0ec; }
.landing-data-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.landing-data-grid > div { display: flex; flex-direction: column; gap: 6px; padding: 11px 12px; border: 1px solid #edf0ec; border-radius: 9px; background: #fbfcfa; }
.landing-data-grid small, .landing-component-heading { color: #9aa39b; font-size: 8px; font-weight: 800; letter-spacing: .11em; }
.landing-data-grid strong { color: #46534a; font-size: 10px; }
.landing-component-heading { display: flex; justify-content: space-between; margin: 20px 1px 7px; }
.landing-component-heading span:last-child { display: grid; width: 17px; height: 17px; place-items: center; border-radius: 50%; background: #eef4e8; color: #5c7847; letter-spacing: 0; }
.landing-component-row { display: flex; align-items: center; gap: 10px; padding: 10px 2px; border-bottom: 1px solid #f0f2ef; }
.landing-component-row:last-of-type { border-bottom: 0; }
.landing-component-icon { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 8px; background: #f3f6f0; color: #6b8259; }
.landing-component-row > span:nth-child(2) { display: flex; flex: 1; flex-direction: column; gap: 3px; }
.landing-component-row strong { color: #48554c; font-size: 10px; }
.landing-component-row small { color: #98a19a; font-size: 8px; }
.landing-component-row b { color: #6d974e; font-size: 13px; }
.landing-component-row em { padding: 5px 7px; border-radius: 99px; background: #f7f4ea; color: #9a8551; font-size: 8px; font-style: normal; }
.landing-completion { display: flex; flex-direction: column; gap: 8px; margin-top: 15px; }
.landing-completion > span { display: flex; justify-content: space-between; }
.landing-completion small { color: #929c94; font-size: 9px; }
.landing-completion strong { color: #60784e; font-size: 10px; }
.landing-completion i { height: 5px; overflow: hidden; border-radius: 99px; background: #edf0eb; }
.landing-completion i b { display: block; width: 68%; height: 100%; border-radius: inherit; background: #a8d66e; }
.landing-float-note { position: absolute; right: -4px; bottom: 18px; display: flex; align-items: center; gap: 10px; padding: 12px 15px; border: 1px solid #e7ece4; border-radius: 12px; background: white; box-shadow: 0 12px 35px #263e3212; }
.landing-float-note > span { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 8px; background: #eef4e8; color: #5b7847; }
.landing-float-note strong, .landing-float-note small { display: block; }
.landing-float-note strong { color: #45534a; font-size: 9px; }
.landing-float-note small { margin-top: 3px; color: #929c94; font-size: 8px; }
.landing-bottom-line { display: flex; align-items: center; justify-content: center; gap: 24px; min-height: 65px; border-top: 1px solid #e9ede7; color: #89958b; font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.landing-bottom-line i { width: 4px; height: 4px; border-radius: 50%; background: #a7c58d; }
.landing-intro { padding: 88px 0; background: #fff; }
.landing-intro-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 72px; }
.landing-intro h2, .landing-section-heading h2, .landing-access-card h2 { margin: 12px 0 0; color: var(--ink); font-size: clamp(30px, 3.5vw, 43px); letter-spacing: -.055em; line-height: 1.12; }
.landing-intro-grid > p { margin: 0; color: #6f7b72; font-size: 15px; line-height: 1.85; }
.landing-workflow { padding: 88px 0 98px; background: #f5f8f2; }
.landing-section-heading { max-width: 620px; margin: 0 auto 43px; text-align: center; }
.landing-section-heading h2 { margin-top: 12px; }
.landing-section-heading p { margin: 13px 0 0; color: #77827a; font-size: 14px; }
.landing-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.landing-step { position: relative; min-height: 210px; padding: 25px; border: 1px solid #e3e9df; border-radius: 14px; background: #fff; }
.landing-step-number { position: absolute; top: 23px; right: 24px; color: #aab7a2; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.landing-step-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; background: #eef4e8; color: #567047; font-size: 19px; font-weight: 700; }
.landing-step h3 { margin: 21px 0 8px; color: #304238; font-size: 16px; letter-spacing: -.025em; }
.landing-step p { max-width: 300px; margin: 0; color: #77827a; font-size: 12px; line-height: 1.7; }
.landing-access { padding: 72px 0; background: #fff; }
.landing-access-card { display: flex; align-items: center; justify-content: space-between; gap: 34px; padding: 31px 36px; border: 1px solid #e2e9de; border-radius: 16px; background: linear-gradient(115deg, #f6f9f2, #fff); }
.landing-access-card > div { max-width: 670px; }
.landing-access-card h2 { margin-top: 7px; font-size: 27px; }
.landing-access-card p { margin: 10px 0 0; color: #728077; font-size: 12px; line-height: 1.7; }
.information-guide { display: flex; gap: 11px; margin: 2px 0 17px; padding: 14px; border: 1px solid #e1ead9; border-radius: 10px; background: #f7faf4; }
.information-guide-icon { display: grid; width: 25px; height: 25px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #e8f1df; color: #60784e; font-size: 11px; font-weight: 800; }
.information-guide strong { color: #45554a; font-size: 11px; }
.information-guide p { margin: 4px 0 0; color: #78847b; font-size: 10px; line-height: 1.6; }
.info-section-nav { position: sticky; top: 10px; z-index: 2; display: flex; gap: 7px; overflow-x: auto; margin: 0 0 13px; padding: 8px; border: 1px solid #e8ede5; border-radius: 10px; background: #ffffffed; backdrop-filter: blur(8px); }
.info-section-nav a { flex: 0 0 auto; padding: 8px 10px; border-radius: 7px; background: #f5f8f2; color: #5d714f; font-size: 10px; font-weight: 700; text-decoration: none; }
.info-section-nav a:hover { background: #e9f1e2; color: #304b35; }
.current-packaging-upload { display: grid; gap: 7px; margin-top: 10px; padding: 12px; border: 1px dashed #d4dfce; border-radius: 9px; background: #fff; }
.current-packaging-upload > label { color: #53664f; font-size: 10px; font-weight: 700; }
.current-packaging-upload input[type="file"] { min-height: 39px; padding: 7px; background: #fff; }
.current-packaging-upload small { color: #8a968c; font-size: 9px; line-height: 1.5; }
.access-page { background: #f5f8f3; }
.access-main { width: min(1080px, calc(100% - 48px)); margin: auto; padding: 38px 0 68px; }
.access-layout { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 58px; margin-top: 12px; }
.access-copy h1 { max-width: 570px; margin: 14px 0 17px; color: var(--ink); font-size: clamp(36px, 4vw, 52px); letter-spacing: -.06em; line-height: 1.06; }
.access-lead { max-width: 560px; margin: 0; color: #6f7b72; font-size: 15px; line-height: 1.8; }
.access-notice { display: flex; gap: 13px; margin: 27px 0; padding: 17px; border: 1px solid #e3eadd; border-radius: 12px; background: white; }
.access-notice-icon { display: grid; width: 28px; height: 28px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #edf4e6; color: #5b7847; font-weight: 800; }
.access-notice strong { color: #3c4c41; font-size: 12px; }
.access-notice p { margin: 5px 0 0; color: #7e8981; font-size: 11px; line-height: 1.7; }
.access-card { padding: 27px; border: 1px solid #e3e9df; border-radius: 16px; background: #fff; box-shadow: 0 20px 55px #263e320b; }
.access-card h2 { margin: 8px 0 22px; color: #2d3e33; font-size: 21px; letter-spacing: -.04em; }
.access-steps { display: flex; flex-direction: column; gap: 19px; margin: 0; padding: 0; list-style: none; }
.access-steps li { display: flex; gap: 12px; }
.access-steps li > span { display: grid; width: 28px; height: 28px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #eef4e8; color: #5c7847; font-size: 11px; font-weight: 800; }
.access-steps strong { color: #46534a; font-size: 11px; }
.access-steps p { margin: 4px 0 0; color: #89938b; font-size: 10px; line-height: 1.6; }
.access-card-footer { display: flex; align-items: center; gap: 9px; margin-top: 24px; padding-top: 17px; border-top: 1px solid #edf0ec; color: #78847b; font-size: 10px; }
.access-lock { color: #60784e; font-size: 18px; }

@media (max-width: 800px) {
	.landing-hero { padding-top: 48px; }
	.landing-hero-grid { grid-template-columns: 1fr; gap: 22px; padding-bottom: 45px; }
	.landing-copy { max-width: 650px; }
	.landing-visual { width: min(100%, 570px); margin: 0 auto; }
	.landing-intro-grid { grid-template-columns: 1fr; gap: 22px; }
	.access-layout { grid-template-columns: 1fr; gap: 25px; }
	.access-card { max-width: 600px; }
}
@media (max-width: 600px) {
	.landing-shell { width: calc(100% - 34px); }
	.landing-hero-grid { min-height: 0; }
	.landing-copy h1 { font-size: clamp(39px, 11vw, 55px); }
	.landing-lead { font-size: 14px; }
	.landing-visual { min-height: 360px; }
	.landing-product-card { padding: 18px; }
	.landing-float-note { right: 0; bottom: 0; }
	.landing-bottom-line { flex-wrap: wrap; gap: 8px 13px; padding: 10px; font-size: 7px; }
	.landing-intro, .landing-workflow { padding: 62px 0; }
	.landing-steps { grid-template-columns: 1fr; }
	.landing-step { min-height: 0; }
	.landing-access { padding: 48px 0; }
	.landing-access-card { align-items: flex-start; flex-direction: column; padding: 24px; }
	.access-main { width: calc(100% - 34px); padding: 25px 0 45px; }
	.access-card { padding: 22px; }
}

@media (max-width: 850px) {
	.product-layout { grid-template-columns: 1fr; }
	.product-sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.product-sidebar .panel { position: static; }
	.brief-document { padding: 32px 28px; }
    .packaging-choice-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.app-main { width: calc(100% - 30px); padding: 30px 0 55px; }
	.wizard-progress { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 15px; }
	.wizard-progress-line { display: none; }
	.page-heading { align-items: flex-start; flex-direction: column; }
	.stats-grid { grid-template-columns: 1fr; }
	.stat-card { min-height: 95px; }
	.panel { padding: 18px; }
	.panel-heading { align-items: flex-start; flex-direction: column; }
	.search-form, .search-form input { width: 100%; }
	.field-grid { grid-template-columns: 1fr; }
	.field-wide { grid-column: auto; }
	.check-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.packaging-choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.product-sidebar { grid-template-columns: 1fr; }
	.product-card { align-items: flex-start; flex-wrap: wrap; }
	.product-meta { margin-left: 52px; text-align: left; }
	.product-card > .text-link { margin-left: auto; }
	.upload-row, .upload-panel { align-items: stretch; flex-direction: column; }
	.upload-row select, .upload-panel select { width: 100%; max-width: none; flex: auto; }
	.upload-row small, .upload-panel small { white-space: normal; }
	.auth-card { padding: 28px 22px; }
	.brief-toolbar { align-items: flex-start; flex-direction: column; }
	.brief-toolbar > div { flex-wrap: wrap; }
	.brief-email-form { align-items: stretch; flex-direction: column; }
	.brief-email-form input { width: 100%; max-width: none; }
	.brief-document { padding: 24px 18px; }
	.brief-header { flex-direction: column; }
	.brief-summary { grid-template-columns: repeat(2, 1fr); }
	.brief-field { grid-template-columns: 1fr; gap: 5px; }
	.brief-footer { flex-direction: column; }
	.wizard-step-indicator small { display: none; }
	.wizard-step-indicator strong { font-size: 10px; }
	.wizard-controls { flex-wrap: wrap; padding: 13px; }
	.wizard-controls .wizard-step-count { flex: 1; text-align: center; }
	.nutrition-meta { grid-template-columns: 1fr; }
	.nutrition-actions { align-items: flex-start; flex-direction: column; }
}
@media print {
	.site-header, .site-footer, .no-print, .brief-toolbar { display: none !important; }
	body, .app-page { background: #fff !important; }
	.app-main, .brief-main { width: auto; min-height: 0; margin: 0; padding: 0; }
	.brief-document { padding: 0; border: 0; box-shadow: none; }
	.brief-section, .brief-component, .brief-field { break-inside: avoid; }
	body.printing-nutrition * { visibility: hidden !important; }
	body.printing-nutrition .nutrition-print-region,
	body.printing-nutrition .nutrition-print-region * { visibility: visible !important; }
	body.printing-nutrition .nutrition-print-region { position: absolute; top: 0; left: 0; width: 100%; margin: 0; padding: 0; }
	body.printing-nutrition .nutrition-editor { overflow: visible; border: 1px solid #222; border-radius: 0; }
	body.printing-nutrition .nutrition-title { color: #111; }
	body.printing-nutrition .nutrition-meta { grid-template-columns: repeat(2, 1fr); }
	body.printing-nutrition .nutrition-meta input,
	body.printing-nutrition .nutrition-table input { min-height: 0 !important; padding: 2px 3px; border: 0 !important; border-radius: 0; background: #fff !important; color: #111; box-shadow: none !important; }
	body.printing-nutrition .nutrition-table { min-width: 0; }
	body.printing-nutrition .nutrition-actions,
	body.printing-nutrition .nutrition-remove,
	body.printing-nutrition .field-status { display: none !important; }
}

/* Allergen / emphasized fields */
.field-emphasize > label { font-size: 13px; font-weight: 800; color: #273d31; }
.field-emphasize .required-mark { font-weight: 800; }

/* QR code preview */
.qr-preview { margin-top: 8px; }
.qr-preview img { display: block; border: 1px solid #e3e8e1; border-radius: 8px; background: #fff; padding: 6px; }
.field-hint-error { color: #a45648; }

/* Add Nutrient button + download buttons alignment */
.nutrition-actions { flex-wrap: wrap; }
.nutrition-actions [data-add-nutrition-row] { margin-right: auto; border: 0; background: linear-gradient(135deg, #7fb84d, #4f8f3e); color: #fff; font-weight: 800; box-shadow: 0 6px 16px #4f8f3e33; }
.nutrition-actions [data-add-nutrition-row]:hover { background: linear-gradient(135deg, #8fc75d, #5fa24c); }

/* Missing Information checklist */
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.checklist-item { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border: 1px solid #e8ece7; border-radius: 9px; background: #fff; }
.checklist-item.is-complete { background: #f4f9ef; border-color: #d9ead0; }
.checklist-item input[type="checkbox"] { margin-top: 3px; }
.checklist-item .checklist-label { display: flex; flex-direction: column; gap: 3px; }
.checklist-item .checklist-label small { color: #8a958d; }
.checklist-group { margin-bottom: 22px; }
.checklist-group h3 { margin: 0 0 10px; }
.checklist-toggle { background: none; border: 0; color: #607b4e; font-weight: 800; cursor: pointer; font-size: 11px; }
.checklist-inline { margin-top: 10px; }

/* Missing information dropdown (projects page) */
.missing-dropdown summary { cursor: pointer; list-style: none; }
.missing-dropdown summary::-webkit-details-marker { display: none; }
.missing-dropdown summary .missing-count::after { content: ' \25BE'; }
.missing-dropdown[open] summary .missing-count::after { content: ' \25B4'; }
.missing-dropdown .checklist { margin-top: 10px; max-width: 320px; }
.checklist-item.is-complete .checklist-label { color: #8a958d; text-decoration: line-through; }

/* Priority badges */
.priority-badge { display: inline-flex; padding: 5px 10px; border-radius: 999px; font-size: 10px; font-weight: 800; }
.priority-badge.priority-low { background: #eef3ea; color: #5c7a52; }
.priority-badge.priority-medium { background: #eef2fb; color: #3f5fa8; }
.priority-badge.priority-high { background: #fdf0df; color: #a06423; }
.priority-badge.priority-urgent { background: #fde6e4; color: #a43a30; }

/* Status badge variants: make Draft vs complete clearly distinguishable */
.status-badge.status-draft { background: #f0f2ef; color: #767f78; }
.status-badge.status-in-progress { background: #fdf3df; color: #9c7417; }
.status-badge.status-complete { background: #e9f6e3; color: #3f7a30; font-weight: 800; }

/* Box selection cards (Secondary Carton Wizard) */
.wizard-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 16px 0; }
.wizard-choice-card { padding: 16px; border: 1px solid #e4eae1; border-radius: 11px; background: #fff; cursor: pointer; }
.wizard-choice-card.is-selected { border-color: #91b86b; box-shadow: 0 0 0 3px #a8d66e26; }
.box-option-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; max-height: 620px; overflow-y: auto; padding: 2px; }
.box-option { display: flex; flex-direction: column; gap: 8px; padding: 12px; border: 2px solid #e8ece7; border-radius: 10px; background: #fff; cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease; }
.box-option:hover { border-color: #c3d8ae; }
.box-option.is-selected { border-color: #91b86b; box-shadow: 0 0 0 3px #a8d66e26; }
.box-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.box-option-photo { width: 100%; height: 200px; border: 1px solid #e3e8e1; border-radius: 8px; object-fit: cover; background: #fff; }
.box-option-name { color: #273d31; font-size: 13px; }
.box-option-dims { display: flex; justify-content: space-between; gap: 6px; padding-top: 6px; border-top: 1px solid #eef1ec; }
.box-option-dims span { display: flex; flex-direction: column; gap: 2px; color: #8a958d; font-size: 10px; text-transform: uppercase; letter-spacing: .04em; }
.box-option-dims b { color: #273d31; font-size: 13px; font-weight: 800; text-transform: none; letter-spacing: 0; }
.box-option-notes { color: #8a958d; font-size: 10px; line-height: 1.4; }

/* Packaging selection accordion */
.component-card[data-collapsed="1"] .component-form { display: none; }
.component-card-toggle { background: none; border: 0; color: #607b4e; font-weight: 800; cursor: pointer; font-size: 11px; }

/* Title Case for static chrome only (never applied to headings/body text that can contain user data) */
.nav-links a, .header-logout button, .role-pill,
.button-primary, .button-secondary, .danger-link,
.field-wrap > label { text-transform: capitalize; }

/* Project-level batch file download */
.file-batch-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }

/* Attachment manager (nutrition photo, photography, brand assets, brand guidelines) */
.attachment-manager { margin-top: 10px; }
.attachment-thumb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; margin-bottom: 10px; }
.attachment-thumb { display: flex; flex-direction: column; gap: 6px; padding: 8px; border: 1px solid #e8ece7; border-radius: 9px; background: #fff; text-align: center; }
.attachment-thumb img { width: 100%; height: 80px; object-fit: cover; border-radius: 6px; background: #f3f5f1; }
.attachment-thumb .file-icon { display: block; font-size: 26px; color: #8a958d; }
.attachment-thumb small { overflow: hidden; color: #58645c; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.attachment-thumb-actions { display: flex; justify-content: center; gap: 10px; font-size: 10px; }
.attachment-thumb-actions button { background: none; border: 0; padding: 0; font: inherit; font-size: 10px; cursor: pointer; }

/* Horizontal project cards: photo on top, information below, scroll left to right */
.project-card-row { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 10px; }
.project-card { display: flex; flex: 0 0 260px; flex-direction: column; overflow: hidden; border: 1px solid #e7ebe5; border-radius: 14px; background: #fff; box-shadow: 0 8px 26px #263e3208; }
.project-card-photo { display: flex; align-items: center; justify-content: center; height: 140px; background: #f3f5f1; color: #8a958d; font-size: 34px; }
.project-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.project-card-body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 14px; }
.project-card-body h3 { margin: 0; font-size: 14px; }
.project-card-meta { display: flex; flex-wrap: wrap; gap: 6px; }

