@import url('data:text/css,');

:root {
  --bg: #f5f2ea;
  --surface: #ffffff;
  --surface-soft: #eeeee5;
  --surface-strong: #173e35;
  --text: #17241f;
  --text-soft: #65716b;
  --border: #dfe2da;
  --green: #173e35;
  --green-2: #225c4d;
  --green-3: #357963;
  --gold: #c59652;
  --gold-soft: #f1e4cd;
  --cream: #fffaf0;
  --positive: #1c8f5f;
  --negative: #c45147;
  --shadow: 0 24px 60px rgba(25, 49, 41, .10);
  --shadow-sm: 0 10px 30px rgba(25, 49, 41, .08);
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1200px;
}

[data-theme="dark"] {
  --bg: #0f1916;
  --surface: #17231f;
  --surface-soft: #1d2b26;
  --surface-strong: #0b2d25;
  --text: #eff7f2;
  --text-soft: #a5b7af;
  --border: #2c3b35;
  --green: #75b7a1;
  --green-2: #4c9a80;
  --green-3: #69b399;
  --gold-soft: #3b3123;
  --cream: #17231f;
  --shadow: 0 24px 60px rgba(0, 0, 0, .32);
  --shadow-sm: 0 10px 30px rgba(0, 0, 0, .24);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img, svg { display: block; max-width: 100%; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.hidden { display: none !important; }

.announcement { background: var(--surface-strong); color: #eff7f2; font-size: 13px; }
.announcement-inner { min-height: 38px; display: flex; align-items: center; justify-content: center; gap: 18px; text-align: center; }
.text-button { border: 0; background: transparent; color: #d7ad71; padding: 2px 0; }
.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid transparent; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(18px); transition: .25s ease; }
.site-header.scrolled { border-bottom-color: var(--border); box-shadow: 0 8px 30px rgba(13, 34, 28, .06); }
.header-inner { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark { width: 52px; height: 52px; display: grid; place-items: center; flex-shrink: 0; }
.brand-mark img, .brand-mark svg { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand-copy { display: flex; flex-direction: column; line-height: 1; gap: 5px; }
.brand-copy strong { font-size: 20px; letter-spacing: .18em; }
.brand-copy small { font-size: 9px; letter-spacing: .28em; color: var(--text-soft); }
.desktop-nav { display: flex; align-items: center; gap: 30px; }
.desktop-nav a { position: relative; color: var(--text-soft); font-size: 14px; font-weight: 600; padding: 29px 0 25px; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 18px; height: 2px; border-radius: 99px; background: var(--gold); transition: .2s ease; }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--text); }
.desktop-nav a.active::after { right: 0; }
.header-actions { display: flex; gap: 10px; align-items: center; }
.icon-button, .mobile-menu-button { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); display: grid; place-items: center; }
.icon-button .icon { width: 20px; }
.mobile-menu-button { display: none; padding: 10px; }
.mobile-menu-button span { display: block; width: 20px; height: 2px; background: currentColor; margin: 2px auto; transition: .2s ease; }
.mobile-nav { display: none; }

.button { border: 0; min-height: 44px; border-radius: 12px; padding: 11px 18px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 14px; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--green); color: #fff; box-shadow: 0 10px 22px color-mix(in srgb, var(--green) 24%, transparent); }
[data-theme="dark"] .button-primary { color: #0f1916; }
.button-primary:hover { background: var(--green-2); }
.button-secondary { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.button-secondary:hover { box-shadow: var(--shadow-sm); }
.button-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.button-light { background: #fff; color: #173e35; }
.button-outline-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.42); }
.button-large { min-height: 52px; padding-inline: 24px; border-radius: 14px; }
.full { width: 100%; }

.page { display: none; min-height: 60vh; }
.page.active { display: block; animation: pageIn .35s ease; }
@keyframes pageIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.hero-grid-bg { position: absolute; inset: 116px 0 auto; height: 640px; background-image: linear-gradient(to right, color-mix(in srgb, var(--border) 50%, transparent) 1px, transparent 1px), linear-gradient(to bottom, color-mix(in srgb, var(--border) 45%, transparent) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 85%); pointer-events: none; }
.hero-layout { min-height: 660px; padding: 86px 0 68px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 70px; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--green-2); font-size: 13px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.eyebrow-dot { width: 9px; height: 9px; border-radius: 99px; background: var(--gold); box-shadow: 0 0 0 6px color-mix(in srgb, var(--gold) 18%, transparent); }
.hero-copy h1 { margin: 20px 0; max-width: 700px; font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: clamp(46px, 5.7vw, 78px); line-height: .98; letter-spacing: -.045em; }
.hero-lead { font-size: 18px; color: var(--text-soft); max-width: 670px; }
.hero-actions { display: flex; gap: 12px; margin-top: 30px; }
.hero-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 42px; padding-top: 26px; border-top: 1px solid var(--border); }
.hero-trust div { display: flex; flex-direction: column; gap: 2px; }
.hero-trust strong { font-size: 17px; }
.hero-trust span { color: var(--text-soft); font-size: 12px; }
.hero-market-card { background: linear-gradient(145deg, var(--surface), color-mix(in srgb, var(--surface) 82%, var(--gold-soft))); border: 1px solid color-mix(in srgb, var(--border) 75%, var(--gold)); border-radius: 30px; padding: 28px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.hero-market-card::before { content: ""; position: absolute; width: 240px; height: 240px; background: color-mix(in srgb, var(--gold) 16%, transparent); filter: blur(20px); border-radius: 50%; top: -130px; right: -90px; }
.market-card-head, .table-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; position: relative; }
.card-label { color: var(--text-soft); text-transform: uppercase; letter-spacing: .13em; font-size: 10px; font-weight: 800; }
.market-card-head h2 { margin: 4px 0 0; font-size: 18px; }
.status-pill { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--border); background: color-mix(in srgb, var(--surface) 80%, transparent); border-radius: 999px; padding: 7px 10px; font-size: 11px; font-weight: 700; }
.status-pill span, .live-indicator i { width: 7px; height: 7px; border-radius: 50%; background: var(--positive); box-shadow: 0 0 0 4px color-mix(in srgb, var(--positive) 16%, transparent); }
.headline-price { margin: 36px 0 24px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.headline-price div:first-child { display: flex; flex-direction: column; }
.headline-price small { color: var(--text-soft); }
.headline-price strong { font-size: clamp(36px, 5vw, 55px); line-height: 1.1; letter-spacing: -.04em; }
.headline-price span { font-size: 12px; color: var(--text-soft); }
.trend { padding: 7px 10px; border-radius: 10px; font-weight: 800; font-size: 13px; }
.trend.positive { background: color-mix(in srgb, var(--positive) 13%, transparent); color: var(--positive); }
.sparkline-wrap { height: 126px; color: var(--green-3); }
.sparkline { width: 100%; height: 100%; overflow: visible; }
.market-mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0; }
.market-mini-grid div { background: color-mix(in srgb, var(--surface-soft) 65%, transparent); border-radius: 13px; padding: 12px; }
.market-mini-grid span, .market-mini-grid strong { display: block; }
.market-mini-grid span { color: var(--text-soft); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.market-mini-grid strong { font-size: 13px; margin-top: 3px; }
.card-link { display: flex; justify-content: space-between; align-items: center; font-weight: 800; color: var(--green-2); border-top: 1px solid var(--border); padding-top: 18px; }

.section-space { padding: 92px 0; }
.section-heading { display: flex; justify-content: space-between; gap: 50px; align-items: flex-end; margin-bottom: 38px; }
.section-heading > div { max-width: 650px; }
.section-kicker { display: inline-block; color: var(--gold); font-size: 11px; text-transform: uppercase; letter-spacing: .17em; font-weight: 900; margin-bottom: 10px; }
.section-heading h2, .origin-copy h2, .cta-card h2, .quality-copy h2, .about-story h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 4vw, 52px); font-weight: 500; line-height: 1.08; letter-spacing: -.025em; }
.section-heading > p { max-width: 430px; margin: 0; color: var(--text-soft); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-card { background: var(--surface); border: 1px solid var(--border); padding: 28px; border-radius: var(--radius); min-height: 270px; display: flex; flex-direction: column; transition: .22s ease; }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); border-color: color-mix(in srgb, var(--gold) 60%, var(--border)); }
.feature-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--gold-soft); color: var(--gold); display: grid; place-items: center; font-weight: 900; font-size: 20px; }
.feature-card h3 { margin: 24px 0 9px; font-size: 20px; }
.feature-card p { color: var(--text-soft); margin: 0 0 22px; font-size: 14px; }
.feature-card a { margin-top: auto; color: var(--green-2); font-weight: 800; font-size: 13px; }
.origin-section { background: var(--surface-strong); color: #eef8f3; padding: 90px 0; overflow: hidden; }
.origin-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.origin-visual { min-height: 440px; border-radius: 30px; background: radial-gradient(circle at 20% 15%, rgba(214,177,116,.3), transparent 32%), linear-gradient(160deg, #234f43, #0d2c25); position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.12); }
.mountain { position: absolute; bottom: -15%; left: -10%; width: 120%; height: 74%; clip-path: polygon(0 100%, 20% 55%, 31% 72%, 48% 22%, 68% 65%, 80% 42%, 100% 100%); }
.mountain-back { background: #356b5b; opacity: .55; transform: translateY(-35px) scale(1.06); }
.mountain-front { background: #173e35; }
.origin-badge { position: absolute; left: 30px; bottom: 30px; background: rgba(255,255,255,.94); color: #173e35; border-radius: 18px; padding: 18px 20px; min-width: 210px; box-shadow: 0 20px 50px rgba(0,0,0,.2); }
.origin-badge small, .origin-badge strong, .origin-badge span { display: block; }
.origin-badge small { text-transform: uppercase; letter-spacing: .15em; font-size: 9px; color: #79867f; }
.origin-badge strong { font-family: Georgia, serif; font-size: 25px; margin: 2px 0; }
.origin-badge span { font-size: 12px; color: #627169; }
.coffee-orbit { position: absolute; color: #d8a967; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; display: grid; place-items: center; }
.orbit-one { width: 130px; height: 130px; top: 40px; right: 40px; }
.orbit-two { width: 56px; height: 56px; top: 160px; right: 180px; }
.origin-copy p { color: rgba(238,248,243,.72); font-size: 17px; }
.check-list { display: grid; gap: 13px; margin: 26px 0 30px; }
.check-list div { display: flex; gap: 10px; align-items: center; }
.check-list span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: #173e35; background: #d7ad71; font-weight: 900; font-size: 12px; }
.origin-copy .button-secondary { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #fff; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.process-item { border-top: 2px solid var(--border); padding-top: 24px; position: relative; }
.process-item::before { content: ""; position: absolute; width: 9px; height: 9px; background: var(--gold); border-radius: 50%; top: -5px; left: 0; }
.process-item > span { color: var(--gold); font-size: 11px; font-weight: 900; letter-spacing: .15em; }
.process-item h3 { margin: 18px 0 8px; }
.process-item p { margin: 0; color: var(--text-soft); font-size: 14px; }
.cta-section { padding: 0 0 88px; }
.cta-card { background: linear-gradient(120deg, #173e35, #245949); color: #fff; border-radius: 28px; padding: 54px; display: flex; align-items: center; justify-content: space-between; gap: 40px; position: relative; overflow: hidden; }
.cta-card::after { content: ""; position: absolute; width: 300px; height: 300px; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; right: -100px; top: -120px; box-shadow: 0 0 0 45px rgba(255,255,255,.025), 0 0 0 90px rgba(255,255,255,.02); }
.cta-card h2 { max-width: 700px; font-size: clamp(32px, 4vw, 47px); position: relative; z-index: 1; }
.section-kicker.light { color: #dfbb84; }
.cta-actions { display: flex; gap: 10px; position: relative; z-index: 1; flex-shrink: 0; }

.page-inner { padding-bottom: 90px; }
.inner-hero { padding: 70px 0 52px; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; border-bottom: 1px solid var(--border); }
.inner-hero > div:first-child { max-width: 790px; }
.inner-hero h1 { font-family: Georgia, serif; font-weight: 500; font-size: clamp(44px, 6vw, 70px); line-height: 1; margin: 4px 0 18px; letter-spacing: -.035em; }
.inner-hero p { margin: 0; color: var(--text-soft); font-size: 17px; max-width: 750px; }
.date-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 20px; min-width: 210px; }
.date-card small, .date-card strong, .date-card span { display: block; }
.date-card small { color: var(--text-soft); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.date-card strong { margin: 2px 0; }
.date-card span { color: var(--green-2); font-size: 12px; font-weight: 700; }
.page-content { padding-top: 42px; }
.market-overview-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.metric-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 22px; }
.metric-card span, .metric-card strong, .metric-card small { display: block; }
.metric-card span { color: var(--text-soft); font-size: 12px; }
.metric-card strong { margin: 7px 0 2px; font-size: 24px; }
.metric-card small { color: var(--text-soft); font-size: 11px; }
.positive-text { color: var(--positive); }
.filter-panel { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; margin: 22px 0; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 12px; font-weight: 800; color: var(--text-soft); }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--border); background: var(--surface); color: var(--text); border-radius: 11px; padding: 11px 12px; outline: none; transition: .2s ease; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green-3); box-shadow: 0 0 0 4px color-mix(in srgb, var(--green-3) 13%, transparent); }
.filter-action { justify-content: flex-end; }
.input-prefix { display: flex; align-items: stretch; border: 1px solid var(--border); border-radius: 11px; overflow: hidden; background: var(--surface); }
.input-prefix:focus-within { border-color: var(--green-3); box-shadow: 0 0 0 4px color-mix(in srgb, var(--green-3) 13%, transparent); }
.input-prefix span { display: grid; place-items: center; padding: 0 12px; background: var(--surface-soft); color: var(--text-soft); border-right: 1px solid var(--border); font-size: 12px; font-weight: 800; }
.input-prefix input { border: 0; border-radius: 0; box-shadow: none !important; }
.table-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.table-card-head { padding: 24px 26px; border-bottom: 1px solid var(--border); }
.table-card-head h2 { margin: 0 0 3px; font-size: 20px; }
.table-card-head p { margin: 0; color: var(--text-soft); font-size: 13px; }
.live-indicator { display: inline-flex; align-items: center; gap: 9px; color: var(--positive); font-size: 12px; font-weight: 800; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; white-space: nowrap; }
th { text-align: left; color: var(--text-soft); background: color-mix(in srgb, var(--surface-soft) 70%, transparent); font-size: 10px; text-transform: uppercase; letter-spacing: .09em; padding: 13px 18px; }
td { padding: 16px 18px; border-top: 1px solid var(--border); font-size: 13px; }
.price-table tbody tr { transition: .15s ease; }
.price-table tbody tr:hover { background: color-mix(in srgb, var(--gold-soft) 32%, transparent); }
.product-cell strong, .product-cell small { display: block; }
.product-cell small { color: var(--text-soft); }
.change-up { color: var(--positive); font-weight: 800; }
.change-down { color: var(--negative); font-weight: 800; }
.table-action { border: 0; background: var(--gold-soft); color: var(--green-2); border-radius: 8px; padding: 7px 10px; font-weight: 800; font-size: 11px; }
.calculator-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; margin-top: 26px; }
.calculator-card, .result-card { border-radius: var(--radius); padding: 30px; }
.calculator-card { background: var(--surface); border: 1px solid var(--border); }
.calculator-card h2 { margin: 0; }
.calculator-card > p { color: var(--text-soft); margin: 7px 0 24px; }
.form-grid { display: grid; gap: 16px; }
.form-grid.two { grid-template-columns: repeat(2, 1fr); }
.form-grid.three { grid-template-columns: repeat(3, 1fr); }
.span-2 { grid-column: span 2; }
.result-card { background: linear-gradient(145deg, #173e35, #255b4b); color: #fff; display: flex; flex-direction: column; justify-content: center; }
.result-card > small { text-transform: uppercase; letter-spacing: .14em; opacity: .65; }
.result-card > strong { font-size: clamp(30px, 4.2vw, 46px); margin: 4px 0 22px; letter-spacing: -.04em; }
.result-breakdown { display: grid; gap: 10px; margin-bottom: 24px; }
.result-breakdown div { display: flex; justify-content: space-between; gap: 18px; border-bottom: 1px solid rgba(255,255,255,.14); padding-bottom: 10px; font-size: 12px; }
.result-breakdown span { opacity: .67; }
.result-breakdown b { text-align: right; }
.info-note { margin-top: 20px; background: var(--gold-soft); border: 1px solid color-mix(in srgb, var(--gold) 35%, var(--border)); border-radius: var(--radius-sm); padding: 18px 20px; color: var(--text-soft); font-size: 13px; }

.guest-panel { display: grid; grid-template-columns: 280px 1fr; align-items: center; gap: 50px; background: var(--surface); border: 1px solid var(--border); border-radius: 26px; padding: 50px; }
.guest-visual { min-height: 230px; display: grid; place-items: center; font-size: 70px; color: var(--gold); background: radial-gradient(circle, var(--gold-soft), transparent 65%), var(--surface-soft); border-radius: 22px; }
.guest-panel h2 { margin: 0 0 12px; font-family: Georgia, serif; font-size: 38px; font-weight: 500; }
.guest-panel p { color: var(--text-soft); max-width: 620px; }
.member-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.member-toolbar > div:first-child { display: flex; flex-direction: column; }
.member-toolbar span { color: var(--text-soft); font-size: 12px; }
.member-toolbar strong { font-size: 18px; }
.member-toolbar > div:last-child { display: flex; gap: 10px; }
.contract-tabs { display: flex; gap: 8px; margin: 22px 0; border-bottom: 1px solid var(--border); }
.contract-tabs button { border: 0; background: transparent; color: var(--text-soft); font-weight: 800; padding: 14px 16px; border-bottom: 2px solid transparent; }
.contract-tabs button.active { color: var(--text); border-bottom-color: var(--gold); }
.contract-tabs button span { background: var(--surface-soft); padding: 2px 7px; border-radius: 999px; margin-left: 4px; font-size: 10px; }
.contract-tab-panel { display: none; }
.contract-tab-panel.active { display: block; }
.contract-form { display: grid; gap: 18px; }
.form-section { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.form-section-title { display: flex; gap: 15px; align-items: center; margin-bottom: 24px; }
.form-section-title > span { width: 36px; height: 36px; border-radius: 11px; background: var(--gold-soft); color: var(--gold); display: grid; place-items: center; font-weight: 900; }
.form-section-title h3, .form-section-title p { margin: 0; }
.form-section-title p { color: var(--text-soft); font-size: 12px; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.choice-card { position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px; cursor: pointer; transition: .2s ease; }
.choice-card input { position: absolute; opacity: 0; }
.choice-card.active { border-color: var(--green-3); background: color-mix(in srgb, var(--green-3) 8%, transparent); }
.choice-icon { grid-row: span 2; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-soft); font-size: 20px; }
.choice-card small { color: var(--text-soft); }
.readonly-box { min-height: 45px; display: flex; align-items: center; border-radius: 11px; background: var(--surface-soft); padding: 10px 12px; font-weight: 800; }
.contract-summary { background: var(--surface-strong); color: #fff; border-radius: var(--radius); padding: 24px; }
.checkbox-row { display: flex; align-items: flex-start; gap: 12px; font-size: 12px; color: rgba(255,255,255,.74); }
.checkbox-row input { margin-top: 4px; accent-color: var(--gold); }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.contract-summary .button-secondary { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; }
.contract-summary .button-primary { background: #fff; color: #173e35; }
.status { display: inline-flex; padding: 5px 9px; border-radius: 999px; font-size: 10px; font-weight: 900; }
.status.draft { background: var(--surface-soft); color: var(--text-soft); }
.status.submitted { background: color-mix(in srgb, var(--gold) 18%, transparent); color: var(--gold); }
.empty-state { text-align: center; padding: 55px 20px; }
.empty-state span { font-size: 40px; color: var(--gold); }
.empty-state h3 { margin: 12px 0 4px; }
.empty-state p { margin: 0; color: var(--text-soft); }
.profile-layout { display: grid; grid-template-columns: 330px 1fr; gap: 20px; }
.profile-card, .profile-form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.profile-card { text-align: center; }
.avatar { width: 76px; height: 76px; display: grid; place-items: center; border-radius: 22px; background: var(--green); color: #fff; margin: 0 auto 16px; font-size: 26px; font-weight: 900; }
.profile-card h2 { margin: 0; }
.profile-card > span { color: var(--text-soft); }
.profile-info { text-align: left; margin-top: 30px; display: grid; gap: 14px; }
.profile-info div { border-top: 1px solid var(--border); padding-top: 12px; }
.profile-info small, .profile-info strong { display: block; }
.profile-info small { color: var(--text-soft); }
.verified-text { color: var(--positive); }
.profile-form-card h2 { margin-top: 0; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.product-visual { height: 220px; position: relative; overflow: hidden; display: grid; place-items: center; background: linear-gradient(150deg, #234d41, #0f2d26); }
.product-visual::before, .product-visual::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); }
.product-visual::before { width: 180px; height: 180px; }
.product-visual::after { width: 260px; height: 260px; }
.bean-shape { width: 76px; height: 110px; border-radius: 50% 45% 50% 44%; background: linear-gradient(135deg, #b98549, #684322); transform: rotate(28deg); box-shadow: inset -12px -10px 22px rgba(0,0,0,.2), 0 18px 38px rgba(0,0,0,.25); position: relative; z-index: 1; }
.bean-shape::after { content: ""; position: absolute; left: 50%; top: 8%; bottom: 8%; width: 4px; border-radius: 50%; background: rgba(255,255,255,.35); transform: translateX(-50%) rotate(-8deg); }
.product-card-body { padding: 24px; }
.product-card-body h3 { margin: 0 0 6px; font-size: 21px; }
.product-card-body p { margin: 0 0 18px; color: var(--text-soft); font-size: 13px; }
.product-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.product-tags span { border-radius: 999px; background: var(--surface-soft); color: var(--text-soft); padding: 5px 9px; font-size: 10px; font-weight: 700; }
.quality-section { display: grid; grid-template-columns: .75fr 1.25fr; gap: 60px; align-items: center; margin-top: 85px; }
.quality-copy p { color: var(--text-soft); }
.quality-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.quality-grid div { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px; }
.quality-grid span { color: var(--gold); font-weight: 900; font-size: 11px; }
.quality-grid strong, .quality-grid small { display: block; }
.quality-grid strong { margin: 5px 0; }
.quality-grid small { color: var(--text-soft); font-size: 10px; }
.about-layout { display: grid; grid-template-columns: 1.35fr .65fr; gap: 65px; }
.about-story > p { color: var(--text-soft); font-size: 16px; }
.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 30px; }
.about-values div { border-top: 2px solid var(--gold); padding-top: 15px; }
.about-values strong, .about-values span { display: block; }
.about-values span { color: var(--text-soft); font-size: 12px; }
.about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.about-stats div { background: var(--surface-strong); color: #fff; border-radius: var(--radius); padding: 24px; min-height: 150px; display: flex; flex-direction: column; justify-content: flex-end; }
.about-stats strong { font-size: 32px; color: #dfb77b; }
.about-stats span { font-size: 12px; opacity: .72; }
.company-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 70px; }
.company-grid article { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; }
.company-grid span { color: var(--gold); font-weight: 900; font-size: 11px; letter-spacing: .15em; }
.company-grid h3 { font-family: Georgia, serif; font-size: 28px; margin: 14px 0 8px; }
.company-grid p { color: var(--text-soft); margin: 0; }
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 26px; }
.contact-info { display: grid; gap: 12px; }
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px; display: flex; gap: 15px; }
.contact-card > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; background: var(--gold-soft); color: var(--gold); font-size: 20px; }
.contact-card small, .contact-card strong { display: block; }
.contact-card small { color: var(--text-soft); text-transform: uppercase; letter-spacing: .1em; font-size: 9px; }
.contact-card p { color: var(--text-soft); margin: 4px 0 0; font-size: 12px; }
.contact-map { min-height: 220px; border-radius: var(--radius); background: #e7e5dc; position: relative; overflow: hidden; }
.map-grid { position: absolute; inset: -40px; background-image: linear-gradient(28deg, transparent 46%, rgba(74,110,96,.18) 47%, rgba(74,110,96,.18) 51%, transparent 52%), linear-gradient(-22deg, transparent 46%, rgba(74,110,96,.14) 47%, rgba(74,110,96,.14) 51%, transparent 52%); background-size: 90px 80px; transform: rotate(10deg); }
.map-pin { position: absolute; left: 52%; top: 45%; transform: translate(-50%,-50%); background: #173e35; color: #fff; padding: 9px 13px; border-radius: 10px; font-weight: 900; box-shadow: 0 10px 25px rgba(0,0,0,.25); }
.map-pin::after { content: ""; position: absolute; left: 50%; bottom: -8px; border: 8px solid transparent; border-top-color: #173e35; border-bottom: 0; transform: translateX(-50%); }
.map-pin span { display: block; font-size: 9px; font-weight: 500; opacity: .72; }
.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.contact-form h2 { margin-top: 0; }

.site-footer { background: #0e2d26; color: rgba(255,255,255,.72); padding: 70px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, .7fr); gap: 50px; }
.light-brand { color: #fff; }
.light-brand .brand-copy small { color: rgba(255,255,255,.5); }
.footer-brand p { max-width: 370px; }
.site-footer h4 { color: #fff; margin: 0 0 16px; }
.site-footer > .container > div:not(.footer-brand) { display: flex; flex-direction: column; }
.footer-grid a { display: block; margin-bottom: 9px; font-size: 13px; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 45px; padding-top: 20px; font-size: 11px; }

.modal-backdrop { position: fixed; inset: 0; background: rgba(5,15,12,.68); backdrop-filter: blur(7px); z-index: 300; display: none; place-items: center; padding: 20px; }
.modal-backdrop.open { display: grid; animation: fadeIn .2s ease; }
@keyframes fadeIn { from { opacity: 0; } }
.modal { width: min(100%, 540px); max-height: min(92vh, 820px); overflow-y: auto; background: var(--surface); color: var(--text); border-radius: 24px; padding: 30px; box-shadow: 0 30px 90px rgba(0,0,0,.35); position: relative; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-size: 22px; }
.auth-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 25px; }
.brand-mark.mini { width: 42px; height: 42px; }
.auth-brand div { display: flex; flex-direction: column; line-height: 1.2; }
.auth-brand small { color: var(--text-soft); }
.auth-modal h2 { margin-bottom: 4px; }
.auth-modal > p { color: var(--text-soft); margin-top: 0; }
.auth-tabs { display: grid; grid-template-columns: repeat(2, 1fr); padding: 4px; background: var(--surface-soft); border-radius: 12px; margin: 22px 0; }
.auth-tabs button { border: 0; background: transparent; color: var(--text-soft); border-radius: 9px; padding: 9px; font-weight: 800; }
.auth-tabs button.active { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.auth-panel { display: none; gap: 14px; }
.auth-panel.active { display: grid; }
.form-hint { text-align: center; color: var(--text-soft); }
.detail-modal { width: min(100%, 650px); }
.detail-header { padding-right: 40px; }
.detail-header span { color: var(--gold); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; font-weight: 900; }
.detail-header h2 { margin: 5px 0 0; }
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 22px; }
.detail-grid div { background: var(--surface-soft); border-radius: 12px; padding: 13px; }
.detail-grid small, .detail-grid strong { display: block; }
.detail-grid small { color: var(--text-soft); }
.detail-notes { margin-top: 14px; border: 1px solid var(--border); border-radius: 12px; padding: 14px; }
.toast { position: fixed; z-index: 500; right: 24px; bottom: 24px; width: min(calc(100% - 48px), 390px); background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 16px; display: flex; gap: 12px; align-items: flex-start; box-shadow: var(--shadow); transform: translateY(130%); opacity: 0; transition: .3s ease; }
.toast.show { transform: none; opacity: 1; }
.toast > span { width: 32px; height: 32px; border-radius: 10px; background: color-mix(in srgb, var(--positive) 14%, transparent); color: var(--positive); display: grid; place-items: center; font-weight: 900; }
.toast strong, .toast p { display: block; margin: 0; }
.toast p { color: var(--text-soft); font-size: 12px; }

.reveal { animation: reveal .65s ease both; }
.delay-1 { animation-delay: .08s; }
.delay-2 { animation-delay: .16s; }
.delay-3 { animation-delay: .24s; }
@keyframes reveal { from { opacity: 0; transform: translateY(20px); } }

@media (max-width: 1050px) {
  .desktop-nav { gap: 18px; }
  .hero-layout { grid-template-columns: 1fr; gap: 45px; padding-top: 65px; }
  .hero-copy { max-width: 820px; }
  .hero-market-card { max-width: 760px; }
  .feature-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .origin-layout { gap: 45px; }
  .market-overview-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .quality-section { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1.4fr repeat(3, .7fr); gap: 25px; }
}

@media (max-width: 980px) {
  .desktop-nav, .desktop-login { display: none; }
  .mobile-menu-button { display: block; }
  .mobile-nav { position: absolute; left: 20px; right: 20px; top: 70px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 12px; box-shadow: var(--shadow); }
  .mobile-nav.open { display: grid; }
  .mobile-nav a { padding: 11px 12px; border-radius: 10px; font-weight: 700; color: var(--text-soft); }
  .mobile-nav a.active { background: var(--surface-soft); color: var(--text); }
  .section-heading, .inner-hero { align-items: flex-start; flex-direction: column; }
  .origin-layout, .calculator-layout, .about-layout, .contact-layout, .guest-panel, .profile-layout { grid-template-columns: 1fr; }
  .origin-visual { min-height: 370px; }
  .cta-card { flex-direction: column; align-items: flex-start; padding: 40px; }
  .filter-panel { grid-template-columns: repeat(2, 1fr); }
  .filter-action { justify-content: flex-end; }
  .form-grid.three { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .guest-panel { padding: 30px; gap: 25px; }
  .guest-visual { min-height: 180px; }
}

@media (max-width: 600px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .announcement-inner { min-height: 48px; padding: 5px 0; }
  .announcement .text-button { display: none; }
  .header-inner { height: 68px; }
  .brand-mark { width: 44px; height: 44px; }
  .brand-copy strong { font-size: 17px; }
  .hero-layout { min-height: auto; padding: 52px 0; }
  .hero-copy h1 { font-size: 46px; }
  .hero-actions, .cta-actions, .member-toolbar, .member-toolbar > div:last-child, .form-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-actions .button, .cta-actions .button { width: 100%; }
  .hero-trust { grid-template-columns: 1fr; }
  .headline-price { align-items: flex-start; flex-direction: column; }
  .headline-price strong { font-size: 40px; }
  .market-mini-grid, .feature-grid, .process-grid, .market-overview-grid, .form-grid.two, .form-grid.three, .choice-grid, .product-grid, .quality-grid, .about-values, .about-stats, .company-grid, .detail-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: span 1; }
  .section-space { padding: 68px 0; }
  .section-heading h2, .origin-copy h2, .cta-card h2, .quality-copy h2, .about-story h2 { font-size: 36px; }
  .origin-section { padding: 68px 0; }
  .origin-visual { min-height: 310px; }
  .cta-card { padding: 30px 24px; }
  .inner-hero { padding: 48px 0 40px; }
  .inner-hero h1 { font-size: 47px; }
  .date-card { width: 100%; }
  .filter-panel { grid-template-columns: 1fr; padding: 17px; }
  .calculator-card, .result-card, .form-section, .profile-card, .profile-form-card, .contact-form { padding: 22px; }
  .member-toolbar { align-items: flex-start; }
  .contract-tabs { overflow-x: auto; }
  .contract-tabs button { white-space: nowrap; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .modal { padding: 24px 18px; }
}

/* === MAKA Basis & Admin update === */
.admin-nav-link { color: var(--primary) !important; font-weight: 800 !important; }
.basis-headline-price { margin-bottom: 22px; }
.basis-main-note { margin: 0 0 22px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-soft); color: var(--text-soft); font-size: .9rem; line-height: 1.55; }
.basis-main-note strong { color: var(--text); }
.basis-filter-panel { grid-template-columns: minmax(260px, 1fr) minmax(190px, .45fr) auto; }
.table-empty-cell { text-align: center; color: var(--text-soft); padding: 34px !important; }
.maka-basis-row { background: color-mix(in srgb, var(--primary) 7%, transparent); }
.maka-basis-row td:first-child { border-left: 3px solid var(--primary); }
.product-catalog-grid { align-items: stretch; }
.product-catalog-card { overflow: hidden; display: flex; flex-direction: column; }
.product-photo { height: 225px; background: var(--surface-soft); overflow: hidden; }
.product-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.product-catalog-card:hover .product-photo img { transform: scale(1.045); }
.product-catalog-card .product-card-body { flex: 1; display: flex; flex-direction: column; }
.product-type-label { color: var(--primary); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.product-price { display: flex; align-items: baseline; gap: 6px; margin: 12px 0 20px; }
.product-price strong { color: var(--text); font-size: 1.35rem; }
.product-price span { color: var(--text-soft); font-size: .8rem; }
.product-contract-button { margin-top: auto; width: 100%; }

.admin-login-card, .admin-panel, .admin-toolbar, .admin-summary-grid > div {
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-sm);
}
.admin-login-card { padding: 30px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: center; }
.admin-login-copy { display: flex; gap: 20px; align-items: flex-start; }
.admin-login-copy h2 { margin: 6px 0 8px; }
.admin-login-copy p { margin: 0; color: var(--text-soft); }
.admin-shield { width: 58px; height: 58px; flex: 0 0 58px; display: grid; place-items: center; border-radius: 18px; background: var(--primary); color: white; font-size: 1.4rem; }
.admin-login-form { display: grid; gap: 14px; }
.admin-toolbar { padding: 24px 26px; display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 20px; }
.admin-toolbar h2 { margin: 4px 0 0; }
.admin-toolbar-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.admin-summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.admin-summary-grid > div { padding: 20px; display: grid; gap: 5px; }
.admin-summary-grid span, .admin-summary-grid small { color: var(--text-soft); }
.admin-summary-grid strong { font-size: 1.5rem; }
.admin-content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.admin-panel { padding: 26px; }
.admin-panel-head { padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.admin-panel-head h2 { margin: 5px 0 6px; }
.admin-panel-head p { margin: 0; color: var(--text-soft); }
.admin-form { display: grid; gap: 17px; }
.field-help { display: block; margin-top: 7px; color: var(--text-soft); font-size: .75rem; line-height: 1.4; }
.product-image-preview { height: 190px; border: 1.5px dashed var(--line-strong); border-radius: 16px; background: var(--surface-soft); display: grid; place-items: center; overflow: hidden; color: var(--text-soft); font-size: .84rem; }
.product-image-preview img { width: 100%; height: 100%; object-fit: cover; }
.admin-list { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 22px; }
.admin-list h3 { margin: 0 0 14px; font-size: 1rem; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.admin-table th, .admin-table td { padding: 13px 10px; border-bottom: 1px solid var(--line); text-align: left; font-size: .83rem; }
.admin-table th { color: var(--text-soft); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; }
.danger-action { color: #b44242 !important; border-color: color-mix(in srgb, #b44242 25%, var(--line)) !important; }
.admin-product-list { display: grid; gap: 10px; }
.admin-product-item { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; }
.admin-product-item img { width: 64px; height: 54px; object-fit: cover; border-radius: 10px; background: var(--surface-soft); }
.admin-product-item div { display: grid; gap: 4px; min-width: 0; }
.admin-product-item strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-product-item span { color: var(--primary); font-weight: 800; font-size: .82rem; }

@media (max-width: 980px) {
  .admin-content-grid, .admin-login-card { grid-template-columns: 1fr; }
  .basis-filter-panel { grid-template-columns: 1fr 1fr; }
  .basis-filter-panel .filter-action { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .admin-login-card, .admin-panel { padding: 20px; }
  .admin-toolbar { align-items: flex-start; flex-direction: column; padding: 20px; }
  .admin-summary-grid { grid-template-columns: 1fr; }
  .basis-filter-panel { grid-template-columns: 1fr; }
  .basis-filter-panel .filter-action { grid-column: auto; }
  .product-photo { height: 210px; }
  .admin-login-copy { flex-direction: column; }
}

/* === Basis history, quality limits & admin visibility V3 === */
.input-suffix { display: flex; align-items: stretch; border: 1px solid var(--border); border-radius: 11px; overflow: hidden; background: var(--surface); }
.input-suffix input { border: 0 !important; border-radius: 0 !important; min-width: 0; flex: 1; }
.input-suffix span { min-width: 48px; display: grid; place-items: center; padding: 0 13px; border-left: 1px solid var(--border); background: var(--surface-soft); color: var(--text-soft); font-weight: 800; font-size: .82rem; }
.table-action-group { display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; }
.admin-date-note { display: block; color: var(--text-soft); font-size: .7rem; margin-top: 4px; font-weight: 500; }

.basis-history-card { margin: 28px 0; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-sm); scroll-margin-top: 110px; }
.basis-history-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.basis-history-head h2 { margin: 5px 0 7px; }
.basis-history-head p { margin: 0; max-width: 690px; color: var(--text-soft); line-height: 1.6; }
.history-company-field { width: min(100%, 340px); flex: 0 0 340px; }
.history-summary-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 20px 0; }
.history-summary-grid > div { padding: 18px; background: var(--surface-soft); border: 1px solid var(--line); border-radius: 16px; display: grid; gap: 5px; }
.history-summary-grid span, .history-summary-grid small { color: var(--text-soft); }
.history-summary-grid span { font-size: .78rem; font-weight: 700; }
.history-summary-grid strong { color: var(--text); font-size: 1.18rem; }
.history-summary-grid small { font-size: .72rem; }
.basis-chart-wrap { padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, var(--surface), var(--surface-soft)); overflow: hidden; }
.chart-title-row { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 12px; }
.chart-title-row strong { font-size: 1rem; }
.chart-title-row span { color: var(--text-soft); font-size: .76rem; }
.basis-history-chart { width: 100%; min-height: 290px; overflow-x: auto; }
.basis-history-chart svg { display: block; width: 100%; min-width: 720px; height: auto; overflow: visible; }
.chart-bg { fill: color-mix(in srgb, var(--surface-soft) 82%, #f2f2f2); }
.chart-grid-line { stroke: color-mix(in srgb, var(--line) 88%, #b8b8b8); stroke-width: 1; stroke-dasharray: 4 6; }
.chart-axis-line { stroke: color-mix(in srgb, var(--text-soft) 32%, transparent); stroke-width: 1.3; }
.chart-axis-line-soft { opacity: .45; }
.chart-axis-label { fill: var(--text-soft); font-size: 12px; font-weight: 600; }
.chart-axis-title { font-size: 13px; font-weight: 800; }
.basis-chart-line { fill: none; stroke: #09a9c7; stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; }
.chart-point-dot { fill: #09a9c7; stroke: var(--surface); stroke-width: 2; }
.chart-update-dot { fill: #efad3f; stroke: var(--surface); stroke-width: 3; cursor: help; }
.chart-latest-dot { fill: #0d6f80; stroke: var(--surface); stroke-width: 4; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: center; margin-top: 12px; color: var(--text-soft); font-size: .84rem; font-weight: 700; }
.legend-item { display: inline-flex; align-items: center; gap: 8px; }
.legend-line { width: 28px; height: 0; border-top: 4px solid #09a9c7; border-radius: 999px; display: inline-block; }
.legend-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.legend-dot-update { background: #efad3f; }
.legend-dot-latest { background: #0d6f80; }
.chart-empty { min-height: 260px; display: grid; place-items: center; color: var(--text-soft); text-align: center; }
.history-record-block { margin-top: 20px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.history-record-block .table-card-head { border-bottom: 1px solid var(--line); }
.history-record-block .table-card-head h3 { margin: 0 0 5px; }
.history-record-block .table-card-head p { margin: 0; }
.history-table-wrap { max-height: 460px; overflow: auto; }
.history-table thead { position: sticky; top: 0; z-index: 2; background: var(--surface); }
.history-status { display: inline-flex; align-items: center; white-space: nowrap; border-radius: 99px; padding: 5px 9px; font-size: .68rem; font-weight: 800; }
.history-status.updated { background: color-mix(in srgb, var(--primary) 12%, transparent); color: var(--primary); }
.history-status.carried { background: var(--gold-soft); color: var(--green-2); }
.history-status.no-data { background: var(--surface-soft); color: var(--text-soft); }

@media (max-width: 980px) {
  .basis-history-head { align-items: flex-start; flex-direction: column; }
  .history-company-field { width: 100%; flex-basis: auto; }
  .history-summary-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .basis-history-card { padding: 18px; border-radius: 19px; }
  .history-summary-grid { grid-template-columns: 1fr; }
  .basis-chart-wrap { padding: 13px; }
  .chart-title-row { align-items: flex-start; flex-direction: column; }
  .basis-history-chart { min-height: 245px; }
  .table-action-group { flex-direction: column; align-items: stretch; }
  .table-action-group .table-action { width: 100%; }
}

/* === V5: MAKA Coffee Group sebagai identitas utama === */
.hero-group-card {
  background:
    radial-gradient(circle at 82% 12%, color-mix(in srgb, var(--gold) 18%, transparent), transparent 34%),
    linear-gradient(145deg, var(--surface), color-mix(in srgb, var(--surface) 88%, var(--green-3)));
}
.hero-group-identity {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 24px;
  margin: 28px 0 22px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  position: relative;
}
.hero-group-identity img {
  width: 100%;
  max-height: 132px;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(11, 42, 33, .12));
}
.hero-group-identity p {
  margin: 0;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.65;
}
.group-mini-grid {
  margin-top: 0;
}
.hero-basis-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 18px 0;
  padding: 16px 18px;
  border-radius: 15px;
  background: color-mix(in srgb, var(--gold-soft) 65%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--gold) 30%, var(--border));
}
.hero-basis-strip div {
  display: flex;
  flex-direction: column;
}
.hero-basis-strip small {
  color: var(--text-soft);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
}
.hero-basis-strip strong {
  margin-top: 3px;
  font-size: 23px;
  letter-spacing: -.02em;
}
.hero-basis-strip > span {
  color: var(--text-soft);
  font-size: 11px;
  text-align: right;
}

@media (max-width: 600px) {
  .hero-group-identity {
    grid-template-columns: 100px 1fr;
    gap: 15px;
    padding: 18px;
  }
  .hero-group-identity p { font-size: 13px; }
  .hero-basis-strip { align-items: flex-start; }
}

/* === V9: Analisa Rendemen publik === */
.desktop-nav { gap: 20px; }
.desktop-nav a { white-space: nowrap; font-size: 13px; }
.yield-inner-hero { align-items: center; }
.yield-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr);
  gap: 24px;
  align-items: start;
}
.yield-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.yield-form-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.yield-form-head h2 { margin: 4px 0 7px; font-size: 27px; }
.yield-form-head p { margin: 0; max-width: 650px; color: var(--text-soft); font-size: 14px; }
.yield-form-badge {
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid color-mix(in srgb, var(--gold) 42%, var(--border));
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--green-2);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
}
.yield-input-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.yield-field {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface-soft) 48%, var(--surface));
}
.yield-field.featured {
  background: color-mix(in srgb, var(--gold-soft) 42%, var(--surface));
  border-color: color-mix(in srgb, var(--gold) 35%, var(--border));
}
.sample-weight-field {
  background: color-mix(in srgb, var(--green-3) 8%, var(--surface)) !important;
  border-color: color-mix(in srgb, var(--green-3) 42%, var(--border)) !important;
}
.yield-field input {
  margin-top: 2px;
  background: var(--surface);
  font-size: 18px;
  font-weight: 800;
}
.yield-field small { color: var(--text-soft); font-size: 10px; line-height: 1.35; }
.yield-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.yield-form-actions span { color: var(--text-soft); font-size: 12px; text-align: right; }
.yield-result-panel {
  position: sticky;
  top: 108px;
  overflow: hidden;
  padding: 28px;
  border-radius: 26px;
  color: #fff;
  background:
    radial-gradient(circle at 95% 0%, rgba(201, 154, 82, .28), transparent 36%),
    linear-gradient(145deg, #12392f, #235b4b);
  box-shadow: 0 24px 60px rgba(18, 57, 47, .22);
}
.yield-result-panel::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -125px;
  bottom: -140px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(255,255,255,.025), 0 0 0 84px rgba(255,255,255,.018);
  pointer-events: none;
}
.yield-result-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  position: relative;
  z-index: 1;
}
.yield-result-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  padding: 5px;
  border-radius: 15px;
  background: rgba(255,255,255,.94);
}
.yield-result-brand div { display: flex; flex-direction: column; }
.yield-result-brand span { color: rgba(255,255,255,.62); font-size: 11px; }
.yield-result-brand strong { font-size: 18px; }
.yield-score-card {
  margin-top: 26px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 20px;
  background: rgba(255,255,255,.075);
  position: relative;
  z-index: 1;
}
.yield-score-card > span, .yield-price-result > span {
  display: block;
  color: rgba(255,255,255,.68);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.yield-score-card > strong {
  display: block;
  margin: 4px 0 1px;
  font-size: clamp(48px, 6vw, 70px);
  line-height: 1;
  letter-spacing: -.055em;
}
.yield-score-card > small { color: #e4c58e; font-weight: 800; }
.yield-result-status[data-level="high"] { color: #a9e2c4; }
.yield-result-status[data-level="medium"] { color: #f0d39f; }
.yield-result-status[data-level="low"] { color: #ffb4aa; }
.yield-meter {
  height: 9px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255,255,255,.13);
}
.yield-meter span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #e5bb79;
  transition: width .35s ease, background .25s ease;
}
.yield-meter span[data-level="high"] { background: #74c99c; }
.yield-meter span[data-level="medium"] { background: #e5bb79; }
.yield-meter span[data-level="low"] { background: #e78074; }
.yield-price-result {
  margin-top: 15px;
  padding: 22px 24px;
  border-radius: 20px;
  color: #16392f;
  background: linear-gradient(135deg, #f1dfbd, #d7aa67);
  position: relative;
  z-index: 1;
}
.yield-price-result > span { color: rgba(22,57,47,.68); }
.yield-price-result > strong {
  display: block;
  margin: 2px 0 0;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.12;
  letter-spacing: -.035em;
}
.yield-price-result > small { color: rgba(22,57,47,.68); font-weight: 700; }
.yield-reference-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 15px;
  position: relative;
  z-index: 1;
}
.yield-reference-grid .yield-reference-wide { grid-column: 1 / -1; }
.yield-reference-grid > div {
  padding: 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(255,255,255,.055);
}
.yield-reference-grid span, .yield-reference-grid strong { display: block; }
.yield-reference-grid span { color: rgba(255,255,255,.57); font-size: 9px; text-transform: uppercase; letter-spacing: .07em; }
.yield-reference-grid strong { margin-top: 3px; font-size: 13px; }
.yield-result-note {
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.62);
  font-size: 11px;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}
.yield-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.yield-guide-grid article {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
}
.yield-guide-grid article > span { color: var(--gold); font-size: 11px; font-weight: 900; letter-spacing: .13em; }
.yield-guide-grid h3 { margin: 13px 0 7px; font-size: 17px; }
.yield-guide-grid p { margin: 0; color: var(--text-soft); font-size: 13px; }

@media (max-width: 1080px) {
  .desktop-nav { gap: 14px; }
  .desktop-nav a { font-size: 12px; }
  .yield-layout { grid-template-columns: 1fr; }
  .yield-result-panel { position: relative; top: auto; }
}

@media (max-width: 760px) {
  .yield-form-card, .yield-result-panel { padding: 22px; border-radius: 21px; }
  .yield-form-head { flex-direction: column; }
  .yield-input-grid { grid-template-columns: 1fr; }
  .yield-form-actions { flex-direction: column; align-items: stretch; }
  .yield-form-actions span { text-align: left; }
  .yield-guide-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .yield-reference-grid { grid-template-columns: 1fr; }
  .yield-score-card > strong { font-size: 52px; }
  .yield-price-result > strong { font-size: 31px; }
}

.yield-reference-grid .yield-triage-result {
  grid-column: 1 / -1;
  background: rgba(255, 255, 255, .1);
  border-color: rgba(226, 184, 116, .42);
}
.yield-reference-grid .yield-triage-result strong { color: #f0c77f; }
.yield-reference-grid .yield-triage-result small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, .62);
  font-size: 10px;
  line-height: 1.35;
}

/* === Modern Simple Elegant Refresh V14 === */
:root {
  --bg: #f7f5f0;
  --surface: #ffffff;
  --surface-soft: #f6f4ef;
  --surface-strong: #163f36;
  --text: #18251f;
  --text-soft: #6c766f;
  --border: #e5e3db;
  --line: #e9e5dc;
  --line-strong: #d8d2c3;
  --green: #153e35;
  --green-2: #215246;
  --green-3: #2f6f5f;
  --gold: #c59a58;
  --gold-soft: #f7ecdb;
  --shadow: 0 24px 70px rgba(20, 43, 36, .10);
  --shadow-sm: 0 10px 30px rgba(20, 43, 36, .07);
  --radius: 26px;
  --radius-sm: 16px;
}
[data-theme="dark"] {
  --bg: #101715;
  --surface: #16211d;
  --surface-soft: #1d2b26;
  --surface-strong: #0b2b24;
  --text: #eef5f1;
  --text-soft: #acbbb4;
  --border: #27332f;
  --line: #2c3934;
  --line-strong: #384742;
  --green: #6eb7a0;
  --green-2: #87c7b3;
  --green-3: #94d4bf;
  --gold: #ddb57b;
  --gold-soft: #31281d;
  --shadow: 0 24px 70px rgba(0, 0, 0, .34);
  --shadow-sm: 0 10px 30px rgba(0, 0, 0, .24);
}
html { scroll-padding-top: 100px; }
body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(197,154,88,.11), transparent 32%),
    radial-gradient(circle at top right, rgba(47,111,95,.08), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,0)),
    var(--bg);
}
::selection { background: color-mix(in srgb, var(--gold) 35%, transparent); color: var(--text); }
.announcement {
  background: linear-gradient(90deg, #12362e, #1d4c40);
  letter-spacing: .01em;
}
.announcement-inner { min-height: 42px; }
.site-header {
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  border-bottom-color: color-mix(in srgb, var(--border) 55%, transparent);
}
.header-inner { height: 84px; }
.brand { gap: 13px; }
.brand-copy strong {
  font-size: 19px;
  letter-spacing: .2em;
}
.brand-copy small {
  letter-spacing: .34em;
  font-size: 9px;
}
.desktop-nav {
  gap: 10px;
  padding: 8px;
  border: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  box-shadow: 0 8px 24px rgba(17, 36, 30, .04);
}
.desktop-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}
.desktop-nav a::after { display: none; }
.desktop-nav a:hover,
.desktop-nav a.active {
  background: color-mix(in srgb, var(--gold-soft) 74%, var(--surface));
  color: var(--green);
}
.icon-button, .mobile-menu-button {
  border-radius: 14px;
  border-color: color-mix(in srgb, var(--border) 85%, transparent);
  box-shadow: 0 8px 18px rgba(17, 36, 30, .04);
}
.button {
  min-height: 46px;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 800;
  letter-spacing: .01em;
}
.button-primary {
  background: linear-gradient(135deg, var(--green), var(--green-3));
  box-shadow: 0 14px 28px color-mix(in srgb, var(--green) 23%, transparent);
}
.button-secondary {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
}
.button-ghost {
  border-radius: 999px;
  border-color: var(--border);
}
.eyebrow,
.section-kicker,
.card-label,
.status-pill,
.yield-form-badge {
  letter-spacing: .08em;
}
.hero-layout {
  min-height: 78vh;
  padding: 72px 0 54px;
  gap: 42px;
}
.hero-copy h1,
.inner-hero h1,
.section-heading h2,
.origin-copy h2,
.cta-card h2,
.quality-copy h2,
.about-story h2 {
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  letter-spacing: -.04em;
}
.hero-copy h1 {
  max-width: 12ch;
  font-size: clamp(54px, 7vw, 84px);
  line-height: .96;
  margin-bottom: 18px;
}
.hero-lead {
  max-width: 680px;
  font-size: 17px;
  color: var(--text-soft);
}
.hero-trust {
  gap: 14px;
  margin-top: 28px;
}
.hero-trust > div,
.market-mini-grid > div,
.history-summary-grid > div,
.metric-card,
.date-card,
.process-item,
.product-catalog-card,
.feature-card,
.table-card,
.basis-history-card,
.yield-form-card,
.yield-result-panel,
.admin-panel,
.admin-login-card,
.admin-toolbar,
.admin-summary-grid > div,
.contact-form,
.profile-card,
.profile-form-card,
.form-section,
.guest-panel,
.cta-card {
  border: 1px solid color-mix(in srgb, var(--border) 86%, transparent);
  box-shadow: var(--shadow-sm);
}
.hero-market-card,
.feature-card,
.product-catalog-card,
.table-card,
.yield-form-card,
.yield-result-panel,
.admin-panel,
.contact-form,
.profile-card,
.profile-form-card,
.form-section,
.guest-panel,
.cta-card,
.basis-history-card {
  border-radius: 28px;
}
.hero-market-card {
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(247,245,240,.98));
}
.hero-group-identity img {
  filter: drop-shadow(0 10px 25px rgba(17, 36, 30, .08));
}
.hero-basis-strip,
.basis-main-note,
.info-note,
.yield-result-note {
  background: linear-gradient(180deg, color-mix(in srgb, var(--gold-soft) 52%, var(--surface)), var(--surface));
  border: 1px solid color-mix(in srgb, var(--gold) 20%, var(--border));
  border-radius: 18px;
}
.section-space { padding: 84px 0; }
.section-heading { margin-bottom: 26px; }
.section-heading p { max-width: 720px; }
.feature-grid { gap: 20px; }
.feature-card {
  padding: 28px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
}
.feature-card h3 { margin: 14px 0 10px; font-size: 21px; }
.feature-card p { color: var(--text-soft); }
.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--gold-soft) 88%, white), color-mix(in srgb, var(--surface) 30%, var(--gold-soft)));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}
.origin-section { padding: 86px 0; }
.origin-visual,
.about-visual,
.contact-map {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.process-grid { gap: 18px; }
.process-item {
  padding: 24px 0 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}
.process-item h3 { font-size: 18px; }
.cta-card {
  background: linear-gradient(135deg, #153c33, #245649);
}
.inner-hero {
  padding: 76px 0 52px;
}
.inner-hero p,
.origin-copy p,
.about-story p,
.yield-form-head p,
.table-card-head p,
.contact-card p,
.form-hint,
.field small,
.field-help,
.yield-guide-grid p {
  color: var(--text-soft);
}
.inner-hero h1 {
  font-size: clamp(46px, 6vw, 76px);
}
.date-card {
  border-radius: 20px;
  background: color-mix(in srgb, var(--surface) 93%, transparent);
}
.field label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
}
.field input, .field select, .field textarea, .input-prefix {
  border-radius: 14px;
  border-color: color-mix(in srgb, var(--border) 88%, transparent);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
}
.field input, .field select, .field textarea {
  padding: 13px 14px;
}
.field input:focus, .field select:focus, .field textarea:focus, .input-prefix:focus-within {
  border-color: color-mix(in srgb, var(--green-3) 70%, white);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--green-3) 12%, transparent);
}
.table-card-head,
.admin-panel-head,
.form-section-title {
  border-bottom-color: color-mix(in srgb, var(--line) 100%, transparent);
}
.price-table tbody tr:hover,
.history-table tbody tr:hover,
.admin-table tbody tr:hover {
  background: color-mix(in srgb, var(--gold-soft) 42%, transparent);
}
.chart-title-row,
.yield-form-head,
.market-card-head { align-items: center; }
.basis-chart-wrap {
  padding: 24px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(246,244,239,.92));
}
.yield-layout {
  gap: 22px;
}
.yield-form-card,
.yield-result-panel {
  background: color-mix(in srgb, var(--surface) 96%, transparent);
}
.yield-score-card,
.yield-price-result,
.yield-reference-grid > div,
.yield-guide-grid article {
  border-radius: 20px;
  border: 1px solid color-mix(in srgb, var(--border) 86%, transparent);
  background: color-mix(in srgb, var(--surface-soft) 68%, var(--surface));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}
.yield-score-card strong,
.yield-price-result strong {
  font-family: "Iowan Old Style", Georgia, serif;
  letter-spacing: -.03em;
}
.product-photo { height: 240px; }
.product-card-body { padding: 24px; }
.site-footer {
  background: linear-gradient(180deg, #102a24, #0c231d);
}
.footer-grid { gap: 34px; }
.toast {
  border-radius: 18px;
}
@media (max-width: 1050px) {
  .desktop-nav { gap: 8px; }
}
@media (max-width: 980px) {
  .desktop-nav { border: 0; background: transparent; box-shadow: none; padding: 0; }
  .mobile-nav {
    top: 76px;
    border-radius: 22px;
    padding: 14px;
    background: color-mix(in srgb, var(--surface) 96%, transparent);
  }
}
@media (max-width: 600px) {
  .header-inner { height: 72px; }
  .hero-copy h1 { font-size: 50px; }
  .section-space { padding: 68px 0; }
  .feature-card, .yield-form-card, .yield-result-panel, .basis-history-card, .table-card { border-radius: 22px; }
  .basis-chart-wrap { padding: 16px; }
}

/* === Corporate Formal Refresh V15 === */
:root {
  --bg: #f4f6f5;
  --surface: #ffffff;
  --surface-soft: #f7f8f7;
  --surface-strong: #10372f;
  --text: #14211d;
  --text-soft: #66716c;
  --border: #dfe4e1;
  --line: #e5e9e7;
  --line-strong: #cfd8d4;
  --green: #123c33;
  --green-2: #1f5649;
  --green-3: #2b705e;
  --gold: #b88b4c;
  --gold-soft: #f3eadc;
  --shadow: 0 18px 45px rgba(16, 45, 37, .08);
  --shadow-sm: 0 8px 24px rgba(16, 45, 37, .06);
  --radius: 14px;
  --radius-sm: 10px;
}
[data-theme="dark"] {
  --bg: #0e1714;
  --surface: #15211d;
  --surface-soft: #1b2924;
  --surface-strong: #092a23;
  --text: #eef4f1;
  --text-soft: #aab7b1;
  --border: #2a3832;
  --line: #2f3d37;
  --line-strong: #3b4b44;
  --green: #78b7a3;
  --green-2: #8ac8b5;
  --green-3: #9bd5c4;
  --gold: #d2aa73;
  --gold-soft: #30271d;
}
body {
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  background: linear-gradient(180deg, #f7f9f8 0%, var(--bg) 34%, var(--bg) 100%);
}
.announcement {
  background: #0f332b;
  font-size: 12px;
}
.site-header {
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}
.header-inner { height: 82px; }
.brand-copy strong {
  font-size: 18px;
  letter-spacing: .17em;
  font-weight: 800;
}
.brand-copy small {
  font-size: 9px;
  letter-spacing: .24em;
}
.desktop-nav {
  gap: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}
.desktop-nav a {
  padding: 30px 0 27px;
  border-radius: 0;
  font-size: 13px;
  color: var(--text-soft);
}
.desktop-nav a::after {
  display: block;
  bottom: 20px;
  height: 2px;
  background: var(--green-3);
}
.desktop-nav a:hover,
.desktop-nav a.active {
  background: transparent;
  color: var(--text);
}
.desktop-nav a.active::after { right: 0; }
.button {
  min-height: 44px;
  border-radius: 8px;
  padding: 11px 18px;
  font-weight: 700;
}
.button-primary {
  background: var(--green);
  box-shadow: 0 10px 22px rgba(18, 60, 51, .18);
}
.button-secondary,
.button-ghost {
  border-radius: 8px;
}
.hero-layout {
  min-height: 72vh;
  padding: 76px 0 58px;
}
.hero-copy h1,
.inner-hero h1,
.section-heading h2,
.origin-copy h2,
.cta-card h2,
.quality-copy h2,
.about-story h2 {
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  letter-spacing: -.035em;
  font-weight: 700;
}
.hero-copy h1 {
  max-width: 13ch;
  font-size: clamp(50px, 6.5vw, 76px);
  line-height: 1.02;
}
.hero-lead {
  font-size: 17px;
  line-height: 1.75;
}
.eyebrow,
.section-kicker,
.card-label,
.status-pill,
.yield-form-badge {
  letter-spacing: .11em;
  font-size: 11px;
  font-weight: 800;
}
.hero-market-card,
.feature-card,
.product-catalog-card,
.table-card,
.yield-form-card,
.yield-result-panel,
.admin-panel,
.contact-form,
.profile-card,
.profile-form-card,
.form-section,
.guest-panel,
.cta-card,
.basis-history-card {
  border-radius: 14px;
}
.hero-market-card {
  background: var(--surface);
  border: 1px solid var(--border);
}
.hero-trust > div,
.market-mini-grid > div,
.history-summary-grid > div,
.metric-card,
.date-card,
.yield-score-card,
.yield-price-result,
.yield-reference-grid > div,
.yield-guide-grid article {
  border-radius: 10px;
  box-shadow: none;
}
.feature-card {
  padding: 26px;
  background: var(--surface);
  box-shadow: none;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.feature-icon {
  border-radius: 10px;
  width: 46px;
  height: 46px;
  background: var(--gold-soft);
}
.section-heading h2 {
  font-size: clamp(34px, 4vw, 50px);
}
.origin-visual,
.about-visual,
.contact-map {
  border-radius: 14px;
}
.process-item {
  border-top: 2px solid var(--border);
}
.process-item::before {
  background: var(--green-3);
}
.cta-card {
  border-radius: 14px;
  background: #123c33;
}
.inner-hero {
  padding: 72px 0 48px;
}
.inner-hero h1 {
  font-size: clamp(44px, 5vw, 68px);
}
.date-card {
  border-radius: 10px;
}
.field input,
.field select,
.field textarea,
.input-prefix {
  border-radius: 8px;
}
.field input,
.field select,
.field textarea {
  min-height: 46px;
}
.table-card,
.basis-history-card,
.admin-panel,
.admin-login-card,
.admin-toolbar {
  box-shadow: none;
}
.table-card-head,
.admin-panel-head,
.form-section-title {
  background: color-mix(in srgb, var(--surface-soft) 55%, var(--surface));
}
th {
  background: #f1f4f2;
  color: #53605a;
  font-weight: 800;
}
.basis-chart-wrap {
  border-radius: 10px;
  background: #fafbfa;
}
.yield-layout { gap: 24px; }
.yield-form-card,
.yield-result-panel {
  background: var(--surface);
}
.yield-score-card,
.yield-price-result,
.yield-reference-grid > div,
.yield-guide-grid article {
  background: #f8faf9;
}
.yield-score-card strong,
.yield-price-result strong {
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-weight: 800;
}
.admin-login-card,
.admin-panel,
.admin-toolbar,
.admin-summary-grid > div {
  border-radius: 12px;
}
.site-footer {
  background: #0e2922;
}
.modal { border-radius: 14px; }
.toast { border-radius: 10px; }
@media (max-width: 980px) {
  .mobile-nav {
    border-radius: 12px;
  }
}
@media (max-width: 600px) {
  .hero-copy h1 { font-size: 46px; }
  .feature-card,
  .yield-form-card,
  .yield-result-panel,
  .basis-history-card,
  .table-card {
    border-radius: 12px;
  }
}

/* === V16: Layout Rapi & Kontras Tinggi === */
:root {
  --primary: #1f6553;
  --bg: #f3f5f4;
  --surface: #ffffff;
  --surface-soft: #eef2ef;
  --surface-strong: #10372f;
  --text: #14211c;
  --text-soft: #4f5d56;
  --border: #cfd8d3;
  --line: #dce3df;
  --line-strong: #b9c7c0;
  --green: #123c33;
  --green-2: #1d584a;
  --green-3: #2a715e;
  --gold: #b88746;
  --gold-soft: #f2e5d2;
  --shadow: 0 18px 46px rgba(16, 45, 37, .09);
  --shadow-sm: 0 8px 24px rgba(16, 45, 37, .065);
}
[data-theme="dark"] {
  --primary: #8bd1ba;
  --bg: #0d1613;
  --surface: #15221d;
  --surface-soft: #1c2d27;
  --surface-strong: #082a22;
  --text: #f2f7f4;
  --text-soft: #c0cdc7;
  --border: #405149;
  --line: #35463f;
  --line-strong: #53675e;
  --green: #80c5ae;
  --green-2: #91d2bd;
  --green-3: #a4dfcc;
  --gold: #e0b579;
  --gold-soft: #3a2e20;
}
body {
  color: var(--text);
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface-soft) 42%, var(--bg)) 0%, var(--bg) 34%, var(--bg) 100%);
  line-height: 1.65;
}
p, small, span, label, td, th { text-rendering: optimizeLegibility; }
.announcement { color: #f7fbf8; }
.announcement strong { color: #ffffff; }
.text-button { color: #f4c987; font-weight: 800; }
.site-header { border-bottom-color: var(--border); }
.brand-copy strong { color: var(--text); }
.brand-copy small { color: var(--text-soft); }
.desktop-nav a { color: #52615a; }
[data-theme="dark"] .desktop-nav a { color: #bdcbc4; }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--green-2); }
[data-theme="dark"] .desktop-nav a:hover,
[data-theme="dark"] .desktop-nav a.active { color: #ffffff; }

/* Hierarki konten */
.hero-layout {
  grid-template-columns: minmax(0, 1.12fr) minmax(390px, .88fr);
  gap: 54px;
  align-items: center;
}
.hero-copy { max-width: 760px; }
.hero-copy h1 { margin: 12px 0 22px; }
.hero-lead { margin: 0; color: var(--text-soft); }
.hero-actions { margin-top: 30px; }
.hero-trust {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  background: var(--surface);
}
.hero-trust > div {
  min-height: 92px;
  padding: 18px;
  justify-content: center;
  border-right: 1px solid var(--border);
}
.hero-trust > div:last-child { border-right: 0; }
.hero-trust strong { color: var(--text); font-size: 15px; }
.hero-trust span { color: var(--text-soft); font-size: 12px; line-height: 1.45; }
.hero-market-card { padding: 30px; }
.hero-group-identity { margin: 22px 0; }
.hero-group-identity p { color: var(--text-soft); line-height: 1.65; }
.market-mini-grid > div {
  min-height: 78px;
  padding: 14px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
}
.market-mini-grid span { color: var(--text-soft); }
.market-mini-grid strong { color: var(--text); }
.hero-basis-strip { margin-top: 16px; }
.hero-basis-strip small { color: var(--text-soft); }

.section-heading {
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 32px;
}
.section-heading > div { max-width: 720px; }
.section-heading > p {
  max-width: 500px;
  padding-top: 27px;
  color: var(--text-soft);
  line-height: 1.7;
}
.section-kicker { color: var(--green-3); }
[data-theme="dark"] .section-kicker { color: #a8ddcc; }
.feature-grid { align-items: stretch; }
.feature-card {
  display: flex;
  flex-direction: column;
  min-height: 285px;
  border-color: var(--border);
}
.feature-card h3 { color: var(--text); }
.feature-card p { color: var(--text-soft); line-height: 1.65; }
.feature-card a { margin-top: auto; color: var(--green-2); font-weight: 800; }
[data-theme="dark"] .feature-card a { color: #a8ddcc; }
.process-item { min-height: 225px; }
.process-item h3 { color: var(--text); }
.process-item p { color: var(--text-soft); line-height: 1.65; }
.origin-copy p, .check-list, .about-story > p { color: var(--text-soft); }

/* Header halaman dan kartu ringkasan */
.inner-hero { gap: 42px; }
.inner-hero > div:first-child { max-width: 820px; }
.inner-hero p { color: var(--text-soft); line-height: 1.75; }
.date-card {
  min-width: 230px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.date-card small { color: var(--text-soft); }
.date-card strong { color: var(--text); }
.date-card span { color: var(--green-2); }
[data-theme="dark"] .date-card span { color: #9bd8c5; }
.market-overview-grid, .history-summary-grid { gap: 14px; }
.metric-card, .history-summary-grid > div {
  min-height: 112px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.metric-card span, .metric-card small,
.history-summary-grid span, .history-summary-grid small { color: var(--text-soft); }
.metric-card strong, .history-summary-grid strong { color: var(--text); }

/* Form dan input */
.field { gap: 8px; }
.field label { color: #33423b; font-size: 12px; }
[data-theme="dark"] .field label { color: #d4dfda; }
.field input, .field select, .field textarea {
  color: var(--text);
  background: var(--surface);
  border-color: var(--line-strong);
}
.field input::placeholder, .field textarea::placeholder { color: #7a867f; opacity: 1; }
[data-theme="dark"] .field input::placeholder,
[data-theme="dark"] .field textarea::placeholder { color: #91a198; }
.field small, .field-help, .form-hint { color: var(--text-soft); }
.input-prefix, .input-suffix { border-color: var(--line-strong); }
.input-prefix span, .input-suffix span { color: #3f4e47; background: var(--surface-soft); }
[data-theme="dark"] .input-prefix span,
[data-theme="dark"] .input-suffix span { color: #d7e1dc; }

/* Tabel dan daftar */
.table-card, .basis-history-card, .history-record-block { border-color: var(--border); }
.table-card-head { padding: 22px 24px; background: var(--surface-soft); }
.table-card-head h2, .table-card-head h3 { color: var(--text); }
.table-card-head p { color: var(--text-soft); }
th {
  color: #36443d;
  background: #e8eeea;
  font-size: 11px;
}
[data-theme="dark"] th { color: #e3ece7; background: #22362e; }
td { color: var(--text); border-top-color: var(--line); }
.product-cell small { color: var(--text-soft); }
.table-action { color: #173d33; background: #e8d7ba; }
[data-theme="dark"] .table-action { color: #102b24; background: #ddb477; }
.history-status.carried { color: #59431f; background: #f2dfbd; }
[data-theme="dark"] .history-status.carried { color: #ffe5b7; background: #4a3921; }
.chart-axis-label { fill: #53615a; }
[data-theme="dark"] .chart-axis-label { fill: #c2cec8; }
.chart-bg { fill: var(--surface-soft); }
.basis-chart-wrap { background: var(--surface); border-color: var(--border); }
.chart-title-row strong { color: var(--text); }
.chart-title-row span, .chart-legend { color: var(--text-soft); }

/* Analisa Rendemen: susunan dan kontras */
.yield-layout {
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, .65fr);
  gap: 28px;
}
.yield-form-card { padding: 28px; border-color: var(--border); }
.yield-form-head {
  align-items: flex-start;
  padding-bottom: 20px;
  margin-bottom: 20px;
}
.yield-form-head h2 { color: var(--text); }
.yield-form-head p { color: var(--text-soft); line-height: 1.65; }
.yield-form-badge { color: #4e3618; background: #f1dfc2; border-color: #d7b77e; }
[data-theme="dark"] .yield-form-badge { color: #ffe4b8; background: #493620; border-color: #755733; }
.yield-input-grid { gap: 12px; }
.yield-field {
  min-height: 132px;
  padding: 15px;
  background: var(--surface-soft);
  border-color: var(--border);
}
.yield-field.featured { background: #f8eddd; border-color: #d8ba89; }
.sample-weight-field { background: #eaf3ef !important; border-color: #9fc5b7 !important; }
[data-theme="dark"] .yield-field.featured { background: #3b3021; border-color: #6f5735; }
[data-theme="dark"] .sample-weight-field { background: #19372e !important; border-color: #497c6b !important; }
.yield-field label { color: #2e3d36; }
[data-theme="dark"] .yield-field label { color: #eef5f1; }
.yield-field input { color: var(--text); background: var(--surface); border-color: var(--line-strong); }
.yield-field small { color: var(--text-soft); }
.yield-form-actions { border-top-color: var(--border); }
.yield-form-actions span { color: var(--text-soft); }

.yield-result-panel {
  border: 1px solid #2e6657;
  background: radial-gradient(circle at 100% 0%, rgba(211,165,91,.22), transparent 34%), linear-gradient(145deg, #10382f, #1d5345);
  color: #ffffff;
  box-shadow: 0 24px 60px rgba(12, 43, 35, .24);
}
.yield-result-brand span { color: rgba(255,255,255,.82); }
.yield-result-brand strong { color: #ffffff; }
.yield-score-card {
  background: rgba(255,255,255,.09) !important;
  border-color: rgba(255,255,255,.23) !important;
  color: #ffffff;
}
.yield-score-card > span { color: rgba(255,255,255,.86); }
.yield-score-card > strong { color: #ffffff; }
.yield-score-card > small { color: #ffe0aa; }
.yield-price-result {
  background: linear-gradient(135deg, #f5e3c2, #d9ad6e) !important;
  color: #153a31 !important;
  border: 1px solid #e6c38d !important;
}
.yield-price-result > span { color: #35594e !important; }
.yield-price-result > strong { color: #12382f !important; }
.yield-price-result > small { color: #365b50 !important; }
.yield-reference-grid > div {
  background: rgba(255,255,255,.085) !important;
  border-color: rgba(255,255,255,.23) !important;
  color: #ffffff;
}
.yield-reference-grid span { color: rgba(255,255,255,.80); }
.yield-reference-grid strong { color: #ffffff; font-size: 14px; }
.yield-reference-grid .yield-triage-result {
  background: rgba(210,165,91,.16) !important;
  border-color: rgba(235,195,130,.48) !important;
}
.yield-reference-grid .yield-triage-result strong { color: #ffd999; }
.yield-reference-grid .yield-triage-result small { color: rgba(255,255,255,.78); }
.yield-result-note { color: rgba(255,255,255,.82); border-top-color: rgba(255,255,255,.20); }
.yield-guide-grid { gap: 14px; }
.yield-guide-grid article { min-height: 175px; background: var(--surface); border-color: var(--border); }
.yield-guide-grid h3 { color: var(--text); }
.yield-guide-grid p { color: var(--text-soft); line-height: 1.65; }

/* Produk, kontrak, admin, kontak */
.product-catalog-card { border-color: var(--border); }
.product-type-label { color: var(--green-2); }
[data-theme="dark"] .product-type-label { color: #9bd8c5; }
.product-price strong { color: var(--text); }
.product-price span, .product-card-body p { color: var(--text-soft); }
.form-section, .profile-card, .profile-form-card, .contact-form, .admin-panel, .admin-toolbar, .admin-login-card, .admin-summary-grid > div {
  border-color: var(--border);
}
.form-section-title p, .admin-panel-head p, .admin-login-copy p, .contact-card p { color: var(--text-soft); }
.admin-summary-grid span, .admin-summary-grid small { color: var(--text-soft); }
.admin-summary-grid strong { color: var(--text); }
.admin-shield { background: var(--green); color: #ffffff; }
.admin-table th { color: #36443d; }
[data-theme="dark"] .admin-table th { color: #e3ece7; }
.contact-card small { color: var(--text-soft); }
.contact-card strong { color: var(--text); }

/* Footer */
.site-footer { color: #d0ddd7; }
.site-footer h4 { color: #ffffff; }
.footer-grid a { color: #c6d4ce; }
.footer-grid a:hover { color: #ffffff; }
.light-brand .brand-copy small { color: #c6d4ce; }
.footer-bottom { color: #b9c8c1; }

@media (max-width: 1180px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-market-card { max-width: 820px; }
  .yield-layout { grid-template-columns: 1fr; }
  .yield-result-panel { position: relative; top: auto; }
}
@media (max-width: 760px) {
  .section-heading > p { padding-top: 0; }
  .hero-trust { grid-template-columns: 1fr; }
  .hero-trust > div { border-right: 0; border-bottom: 1px solid var(--border); min-height: 78px; }
  .hero-trust > div:last-child { border-bottom: 0; }
  .yield-field { min-height: auto; }
  .date-card { min-width: 100%; }
}


/* === V17 modern background + clarity refresh === */
:root {
  --text-soft: #56625d;
  --border: #ddd8cb;
  --line: #e4dfd3;
  --line-strong: #cbc2b1;
}
[data-theme="dark"] {
  --text-soft: #c7d2cd;
  --border: #33423c;
  --line: #2f3c37;
  --line-strong: #415149;
}
.hero-grid-bg {
  inset: 0 0 auto;
  height: 735px;
  border-radius: 0 0 42px 42px;
  background:
    linear-gradient(90deg, rgba(247,245,240,.96) 0%, rgba(247,245,240,.88) 28%, rgba(247,245,240,.45) 58%, rgba(247,245,240,.78) 100%),
    linear-gradient(180deg, rgba(255,255,255,.06) 0%, rgba(247,245,240,.92) 88%),
    url('assets/coffee-plantation-bg.png') center center / cover no-repeat;
  box-shadow: inset 0 -60px 100px rgba(247,245,240,.65);
  overflow: hidden;
}
.hero-grid-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.18) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.65), transparent 82%);
  pointer-events: none;
}
[data-theme="dark"] .hero-grid-bg {
  background:
    linear-gradient(90deg, rgba(12,20,18,.88) 0%, rgba(12,20,18,.80) 28%, rgba(12,20,18,.36) 58%, rgba(12,20,18,.76) 100%),
    linear-gradient(180deg, rgba(0,0,0,.10) 0%, rgba(10,18,16,.90) 90%),
    url('assets/coffee-plantation-bg.png') center center / cover no-repeat;
  box-shadow: inset 0 -60px 100px rgba(10,18,16,.72);
}
.hero-layout,
.page-content,
.inner-hero { position: relative; z-index: 1; }
.hero-copy h1,
.section-heading h2,
.inner-hero h1,
.about-story h2,
.origin-copy h2,
.cta-card h2,
.quality-copy h2 { letter-spacing: -.035em; }
.hero-copy h1 { max-width: 11.5ch; }
.hero-lead,
.section-heading p,
.inner-hero p,
.origin-copy p,
.about-story p,
.contact-card p,
.yield-result-note,
.field small,
.field-help,
.form-hint { color: var(--text-soft) !important; }
.hero-market-card,
.table-card,
.basis-history-card,
.yield-form-card,
.yield-result-panel,
.admin-panel,
.admin-login-card,
.contact-form,
.profile-card,
.profile-form-card,
.form-section,
.guest-panel,
.feature-card,
.product-catalog-card,
.contact-card,
.date-card,
.metric-card,
.history-summary-grid > div,
.admin-summary-grid > div {
  border-color: color-mix(in srgb, var(--border) 85%, transparent) !important;
  box-shadow: 0 12px 30px rgba(18, 34, 29, .06) !important;
}
.market-mini-grid span,
.hero-basis-strip small,
.metric-card span,
.metric-card small,
.date-card small,
.history-summary-grid span,
.history-summary-grid small,
.profile-info small,
.detail-grid small,
.yield-field small,
.contact-card small,
.product-cell small,
.admin-summary-grid span,
.admin-summary-grid small,
.yield-price-result > small,
.yield-result-note,
.chart-title-row span { color: var(--text-soft) !important; }
.field label,
.table-card-head h2,
.table-card-head h3,
.admin-panel-head h2,
.form-section-title h2,
.yield-form-head h2,
.contact-form h2,
.contact-card strong,
.profile-card h2,
.profile-form-card h2 { color: var(--text) !important; }
.field input,
.field select,
.field textarea,
.button-secondary,
.button-ghost,
.icon-button,
.mobile-menu-button {
  background: color-mix(in srgb, var(--surface) 96%, white);
  border-color: color-mix(in srgb, var(--border) 90%, transparent) !important;
}
.field input::placeholder,
.field textarea::placeholder { color: color-mix(in srgb, var(--text-soft) 82%, white); }
.yield-reference-grid > div {
  background: linear-gradient(135deg, #173d34, #245546) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
}
.yield-reference-grid span { color: rgba(255,255,255,.88) !important; font-size: 10px !important; }
.yield-reference-grid strong { color: #ffffff !important; font-size: 15px !important; }
.yield-reference-grid .yield-triage-result small { color: rgba(255,255,255,.84) !important; }
.yield-score-card > small { color: #ffe1ae !important; }
.yield-price-result {
  background: linear-gradient(180deg, #fffaf1, #fff) !important;
  border-color: #ebdebf !important;
}
.yield-price-result > small { color: #3f5f56 !important; }
.contact-card {
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 96%, white), color-mix(in srgb, var(--surface-soft) 74%, white));
}
.contact-card strong { font-size: 15px; }
.origin-section {
  background:
    linear-gradient(135deg, rgba(11,38,32,.94), rgba(24,67,56,.92)),
    url('assets/coffee-plantation-bg.png') center center / cover no-repeat !important;
}
.origin-badge,
.cta-card,
.basis-chart-wrap {
  backdrop-filter: blur(6px);
}
.price-table thead th,
.history-table thead th,
.admin-table th { color: #67736d !important; }
[data-theme="dark"] .price-table thead th,
[data-theme="dark"] .history-table thead th,
[data-theme="dark"] .admin-table th { color: #c7d2cd !important; }
[data-theme="dark"] .contact-card,
[data-theme="dark"] .yield-price-result,
[data-theme="dark"] .button-secondary,
[data-theme="dark"] .button-ghost,
[data-theme="dark"] .field input,
[data-theme="dark"] .field select,
[data-theme="dark"] .field textarea {
  background: color-mix(in srgb, var(--surface) 96%, black) !important;
}
[data-theme="dark"] .hero-market-card,
[data-theme="dark"] .table-card,
[data-theme="dark"] .basis-history-card,
[data-theme="dark"] .yield-form-card,
[data-theme="dark"] .yield-result-panel,
[data-theme="dark"] .contact-form,
[data-theme="dark"] .feature-card,
[data-theme="dark"] .product-catalog-card,
[data-theme="dark"] .date-card,
[data-theme="dark"] .metric-card,
[data-theme="dark"] .history-summary-grid > div,
[data-theme="dark"] .admin-summary-grid > div {
  box-shadow: 0 12px 30px rgba(0, 0, 0, .18) !important;
}
@media (max-width: 980px) {
  .hero-grid-bg { height: 690px; border-radius: 0 0 32px 32px; }
}
@media (max-width: 600px) {
  .hero-grid-bg {
    height: 600px;
    background-position: 62% center;
  }
  .hero-copy h1 { max-width: none; }
  .contact-card strong { font-size: 14px; word-break: break-word; }
}

/* === V18 image integrated directly into website === */
.about-hero-wrap {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(9,33,28,.94) 0%, rgba(9,33,28,.82) 38%, rgba(9,33,28,.48) 72%, rgba(9,33,28,.70) 100%),
    url('assets/coffee-plantation-bg.png') center 56% / cover no-repeat;
  border-radius: 0 0 36px 36px;
  box-shadow: 0 24px 70px rgba(14,42,34,.16);
}
.about-hero-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(0,0,0,.20));
  pointer-events: none;
}
.about-hero {
  position: relative;
  z-index: 1;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  border-bottom: 0 !important;
  padding-top: 110px;
  padding-bottom: 70px;
}
.about-hero > div { max-width: 820px; }
.about-hero .section-kicker { color: #f0c985 !important; }
.about-hero h1 { color: #ffffff !important; text-shadow: 0 4px 18px rgba(0,0,0,.20); }
.about-hero p { color: rgba(255,255,255,.90) !important; max-width: 760px; }
.about-page .page-content { padding-top: 54px; }
.about-coffee-image {
  min-height: 310px;
  margin: 28px 0;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(13,46,38,.04), rgba(13,46,38,.18)),
    url('assets/coffee-plantation-bg.png') center 68% / cover no-repeat;
  border: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
  box-shadow: 0 18px 42px rgba(15,42,34,.12);
  overflow: hidden;
}
[data-theme="dark"] .about-hero-wrap {
  background:
    linear-gradient(90deg, rgba(4,18,15,.96) 0%, rgba(4,18,15,.86) 42%, rgba(4,18,15,.50) 72%, rgba(4,18,15,.76) 100%),
    url('assets/coffee-plantation-bg.png') center 56% / cover no-repeat;
}
[data-theme="dark"] .about-coffee-image {
  background:
    linear-gradient(180deg, rgba(8,25,21,.12), rgba(8,25,21,.36)),
    url('assets/coffee-plantation-bg.png') center 68% / cover no-repeat;
}
@media (max-width: 980px) {
  .about-hero { min-height: 360px; padding-top: 88px; padding-bottom: 56px; }
}
@media (max-width: 600px) {
  .about-hero-wrap { border-radius: 0 0 26px 26px; background-position: 65% center; }
  .about-hero { min-height: 330px; padding-top: 72px; padding-bottom: 44px; }
  .about-coffee-image { min-height: 220px; border-radius: 18px; }
}

/* === V19 spacing and text layout refinement === */
:root {
  --card-pad-x: 26px;
  --card-pad-y: 24px;
  --card-gap: 14px;
}
.section-heading,
.table-card-head,
.admin-panel-head,
.yield-form-head,
.form-section-title,
.contact-form,
.profile-card,
.profile-form-card,
.contact-card,
.date-card,
.metric-card,
.history-summary-grid > div,
.admin-summary-grid > div,
.feature-card,
.hero-market-card,
.basis-history-card,
.yield-form-card,
.yield-result-panel,
.form-section,
.guest-panel,
.admin-panel,
.admin-login-card,
.company-grid article,
.quality-grid div,
.about-stats div,
.process-item,
.choice-card,
.product-card-body,
.cta-card,
.origin-badge,
.basis-chart-wrap,
.detail-grid div,
.detail-notes,
.info-note,
.basis-main-note,
.yield-reference-grid > div,
.yield-score-card,
.yield-price-result {
  box-sizing: border-box;
}
.feature-card,
.hero-market-card,
.contact-card,
.date-card,
.metric-card,
.history-summary-grid > div,
.admin-summary-grid > div,
.company-grid article,
.quality-grid div,
.about-stats div,
.choice-card,
.yield-reference-grid > div,
.yield-score-card,
.yield-price-result,
.detail-grid div {
  padding: var(--card-pad-y) var(--card-pad-x) !important;
}
.table-card-head,
.admin-panel-head,
.form-section-title,
.basis-chart-wrap,
.origin-badge,
.basis-main-note,
.info-note,
.detail-notes {
  padding: 20px 22px !important;
}
.yield-form-card,
.yield-result-panel,
.form-section,
.profile-card,
.profile-form-card,
.contact-form,
.admin-panel,
.admin-login-card,
.guest-panel,
.hero-market-card,
.basis-history-card,
.cta-card {
  padding: 28px !important;
}
.section-heading > div,
.table-card-head > div,
.admin-panel-head > div,
.yield-form-head > div,
.contact-form > .section-kicker,
.contact-form > h2,
.contact-form > p {
  margin: 0;
}
.section-heading h2,
.table-card-head h2,
.table-card-head h3,
.admin-panel-head h2,
.yield-form-head h2,
.form-section-title h2,
.contact-form h2,
.profile-card h2,
.profile-form-card h2,
.hero-market-card h2,
.company-grid h3,
.feature-card h3,
.process-item h3,
.quality-copy h2,
.about-story h2,
.origin-copy h2,
.cta-card h2 {
  margin: 0 0 10px !important;
  line-height: 1.2;
}
.section-heading p,
.table-card-head p,
.admin-panel-head p,
.yield-form-head p,
.contact-form p,
.feature-card p,
.process-item p,
.company-grid p,
.profile-card p,
.contact-card p,
.quality-copy p,
.about-story p,
.origin-copy p,
.cta-card p,
.yield-result-note,
.info-note,
.basis-main-note {
  margin: 0 !important;
  line-height: 1.65;
}
.feature-card,
.contact-card,
.company-grid article,
.quality-grid div,
.about-stats div,
.process-item,
.profile-card,
.profile-form-card,
.admin-summary-grid > div,
.history-summary-grid > div,
.metric-card,
.date-card,
.yield-reference-grid > div,
.yield-score-card,
.yield-price-result {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
}
.hero-group-identity,
.hero-basis-strip,
.market-mini-grid,
.hero-trust,
.feature-grid,
.process-grid,
.about-values,
.about-stats,
.company-grid,
.quality-grid,
.history-summary-grid,
.admin-summary-grid,
.yield-guide-grid,
.yield-reference-grid,
.form-grid,
.filter-panel,
.choice-grid,
.product-tags {
  gap: 16px !important;
}
.hero-actions,
.cta-actions,
.yield-form-actions,
.form-actions,
.admin-toolbar-actions,
.member-toolbar > div:last-child {
  gap: 12px !important;
}
.hero-actions,
.cta-actions,
.yield-form-actions,
.form-actions {
  margin-top: 24px;
}
.button,
.table-action,
.contract-tabs button,
.auth-tabs button,
.icon-button,
.mobile-menu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.button {
  min-height: 46px;
  padding: 12px 20px !important;
}
.button-large { min-height: 52px; padding-inline: 24px !important; }
.table-action { min-height: 34px; padding: 8px 12px !important; }
.market-mini-grid div,
.hero-trust > div { padding: 16px 18px !important; }
.hero-basis-strip { padding: 16px 18px !important; gap: 12px; }
.contact-card { align-items: flex-start; gap: 14px !important; }
.contact-card > div { display: grid; gap: 4px; }
.contact-card strong { line-height: 1.35; }
.field { display: grid; gap: 7px; }
.field label { margin: 0; }
.field input,
.field select,
.field textarea { min-height: 46px; }
.yield-input-grid { gap: 16px !important; }
.yield-field { gap: 6px; }
.yield-score-card strong,
.yield-price-result strong,
.history-summary-grid strong,
.admin-summary-grid strong,
.metric-card strong,
.date-card strong,
.market-mini-grid strong,
.hero-trust strong,
.yield-reference-grid strong {
  line-height: 1.2;
}
.yield-reference-grid > div { min-height: 88px; justify-content: center; }
.yield-reference-grid .yield-triage-result { min-height: 102px; }
.yield-result-brand { margin-bottom: 18px; }
.yield-result-note { margin-top: 18px !important; padding-top: 16px; }
.table-wrap,
.history-table-wrap { margin-top: 0; }
.price-table thead th,
.history-table thead th,
.admin-table th { padding-top: 14px !important; padding-bottom: 14px !important; }
.price-table td,
.history-table td,
.admin-table td { vertical-align: top; }
.product-card-body { gap: 10px; }
.product-price { margin: 8px 0 16px !important; }
.product-contract-button { margin-top: 8px; }
.admin-list { margin-top: 22px !important; padding-top: 20px !important; }
.admin-product-item { padding: 12px !important; gap: 14px !important; }
.profile-info { gap: 10px; }
.profile-info div { padding-top: 12px; }
.footer-grid > div { display: grid; gap: 8px; align-content: start; }
.footer-grid h4,
.footer-grid p { margin: 0; }
@media (max-width: 600px) {
  :root {
    --card-pad-x: 20px;
    --card-pad-y: 18px;
  }
  .yield-form-card,
  .yield-result-panel,
  .form-section,
  .profile-card,
  .profile-form-card,
  .contact-form,
  .admin-panel,
  .admin-login-card,
  .guest-panel,
  .hero-market-card,
  .basis-history-card,
  .cta-card { padding: 22px !important; }
  .button,
  .button-large { width: auto; }
}

/* === V20 focused homepage refinement === */
#beranda {
  overflow: clip;
}
#beranda .hero-layout {
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
  min-height: 700px;
  padding-top: 76px;
  padding-bottom: 70px;
  gap: 54px;
}
#beranda .hero-copy {
  max-width: 760px;
  padding-right: 10px;
}
#beranda .eyebrow {
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(24, 69, 58, .14);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 8px 24px rgba(17,40,33,.05);
  backdrop-filter: blur(10px);
}
[data-theme="dark"] #beranda .eyebrow {
  background: rgba(17, 35, 29, .76);
  border-color: rgba(255,255,255,.12);
}
#beranda .hero-copy h1 {
  max-width: 12ch;
  margin: 0 0 22px !important;
  font-size: clamp(52px, 6.2vw, 80px);
  line-height: .98;
}
#beranda .hero-lead {
  max-width: 660px;
  margin: 0;
  font-size: 17px;
  line-height: 1.72;
}
#beranda .hero-actions {
  margin-top: 28px;
}
#beranda .hero-trust {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(34, 70, 59, .16);
}
#beranda .hero-trust > div {
  min-height: 88px;
  padding: 16px 0 !important;
  background: transparent;
  border: 0;
  box-shadow: none !important;
}
#beranda .hero-trust strong {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
  color: var(--text);
}
#beranda .hero-trust span {
  display: block;
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.5;
}
#beranda .hero-market-card {
  padding: 30px !important;
  border-radius: 28px;
  background: rgba(255,255,255,.90);
  backdrop-filter: blur(15px);
  box-shadow: 0 26px 70px rgba(18,44,36,.14) !important;
}
[data-theme="dark"] #beranda .hero-market-card {
  background: rgba(20,34,29,.92);
}
#beranda .market-card-head {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
#beranda .market-card-head h2 {
  margin: 5px 0 0 !important;
  font-size: 25px;
}
#beranda .hero-group-identity {
  display: grid;
  grid-template-columns: 118px minmax(0,1fr);
  align-items: center;
  gap: 22px;
  margin-bottom: 22px;
}
#beranda .hero-group-identity img {
  width: 118px;
  height: 118px;
  object-fit: contain;
  padding: 8px;
  border-radius: 22px;
  background: rgba(255,255,255,.76);
}
#beranda .hero-group-identity p {
  margin: 0 !important;
  color: var(--text-soft);
  line-height: 1.65;
}
#beranda .market-mini-grid {
  grid-template-columns: repeat(3, minmax(0,1fr));
  margin-bottom: 18px;
}
#beranda .market-mini-grid div {
  min-height: 86px;
  padding: 15px !important;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface-soft) 78%, var(--surface));
}
#beranda .market-mini-grid span {
  margin-bottom: 5px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .07em;
}
#beranda .market-mini-grid strong {
  font-size: 14px;
}
#beranda .hero-basis-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 18px;
  padding: 16px 18px !important;
}
#beranda .hero-basis-strip strong {
  display: block;
  margin-top: 4px;
  font-size: 24px;
}
#beranda .card-link {
  padding-top: 16px;
}
#beranda .section-space {
  padding-top: 86px;
  padding-bottom: 86px;
}
#beranda .section-heading {
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(300px,.75fr);
  align-items: end;
  gap: 38px;
  margin-bottom: 32px;
}
#beranda .section-heading h2 {
  max-width: 720px;
  margin: 6px 0 0 !important;
  font-size: clamp(36px,4vw,54px);
  line-height: 1.05;
}
#beranda .section-heading > p {
  margin: 0 !important;
  max-width: 520px;
  justify-self: end;
}
#beranda .feature-grid {
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 18px !important;
}
#beranda .feature-card {
  min-height: 280px;
  padding: 26px !important;
  border-radius: 22px;
}
#beranda .feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
}
#beranda .feature-card h3 {
  margin-top: 20px !important;
  min-height: 50px;
}
#beranda .feature-card p {
  min-height: 70px;
}
#beranda .feature-card a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
}
#beranda .feature-card a::after {
  content: "→";
  transition: transform .2s ease;
}
#beranda .feature-card:hover a::after {
  transform: translateX(3px);
}
#beranda .origin-section {
  position: relative;
  padding: 92px 0;
}
#beranda .origin-layout {
  grid-template-columns: minmax(0,1.02fr) minmax(0,.98fr);
  gap: 64px;
}
#beranda .origin-copy {
  max-width: 590px;
}
#beranda .origin-copy h2 {
  font-size: clamp(38px,4.6vw,58px);
  line-height: 1.06;
}
#beranda .origin-copy > p {
  margin: 0 0 22px !important;
}
#beranda .check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 26px;
}
#beranda .check-list > div {
  display: grid;
  grid-template-columns: 26px minmax(0,1fr);
  align-items: start;
  gap: 10px;
  line-height: 1.55;
}
#beranda .check-list > div > span {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #f0c881;
}
#beranda .process-grid {
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 18px !important;
}
#beranda .process-item {
  min-height: 220px;
  padding: 26px !important;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-sm) !important;
}
#beranda .process-item::before {
  display: none;
}
#beranda .process-item > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--gold-soft);
  color: var(--green-2);
  font-size: 12px;
}
#beranda .process-item h3 {
  margin-top: 18px !important;
}
#beranda .cta-section {
  padding-bottom: 96px;
}
#beranda .cta-card {
  min-height: 250px;
  padding: 44px 48px !important;
  border-radius: 26px;
}
#beranda .cta-copy {
  max-width: 760px;
}
#beranda .cta-description {
  max-width: 620px;
  margin: 14px 0 0 !important;
  color: rgba(255,255,255,.78);
}
#beranda .cta-actions {
  flex-shrink: 0;
}
@media (max-width: 1150px) {
  #beranda .hero-layout { grid-template-columns: 1fr; min-height: auto; }
  #beranda .hero-copy { max-width: 860px; }
  #beranda .hero-market-card { max-width: 820px; }
  #beranda .feature-grid,
  #beranda .process-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 800px) {
  #beranda .section-heading { grid-template-columns: 1fr; align-items: start; gap: 14px; }
  #beranda .section-heading > p { justify-self: start; }
  #beranda .origin-layout { grid-template-columns: 1fr; gap: 42px; }
  #beranda .cta-card { align-items: flex-start; }
}
@media (max-width: 600px) {
  #beranda .hero-layout { padding-top: 48px; padding-bottom: 48px; gap: 34px; }
  #beranda .hero-copy h1 { font-size: 47px; }
  #beranda .hero-trust,
  #beranda .market-mini-grid,
  #beranda .feature-grid,
  #beranda .process-grid { grid-template-columns: 1fr; }
  #beranda .hero-group-identity { grid-template-columns: 86px minmax(0,1fr); gap: 16px; }
  #beranda .hero-group-identity img { width: 86px; height: 86px; }
  #beranda .hero-market-card { padding: 22px !important; }
  #beranda .feature-card,
  #beranda .process-item { min-height: auto; }
  #beranda .feature-card h3,
  #beranda .feature-card p { min-height: 0; }
  #beranda .section-space { padding-top: 68px; padding-bottom: 68px; }
  #beranda .cta-card { padding: 30px 24px !important; }
}

/* === V21 all pages unified layout === */
:root {
  --page-gap: 24px;
  --panel-pad: 28px;
  --panel-radius: 22px;
  --section-space-v: 78px;
}
.page-inner {
  padding-bottom: 0;
}
.page-inner .page-content {
  padding-top: 34px;
  padding-bottom: 88px;
}
.page-inner .inner-hero {
  min-height: 250px;
  padding: 62px 0 46px;
  align-items: center;
}
.page-inner .inner-hero > div:first-child {
  max-width: 780px;
}
.page-inner .inner-hero h1 {
  margin: 8px 0 16px;
  line-height: 1.02;
}
.page-inner .inner-hero p {
  max-width: 720px;
  line-height: 1.65;
}
.page-content > .market-overview-grid,
.page-content > .filter-panel,
.page-content > .table-card,
.page-content > .basis-history-card,
.page-content > .calculator-layout,
.page-content > .info-note,
.page-content > .guest-panel,
.page-content > .member-area,
.page-content > .product-grid,
.page-content > .empty-state,
.page-content > .quality-section,
.page-content > .yield-layout,
.page-content > .yield-guide-grid,
.page-content > .admin-login-card,
.page-content > .admin-dashboard,
.page-content > .about-layout,
.page-content > .company-grid,
.page-content > .contact-layout {
  margin-top: 0;
}
.page-content > * + * {
  margin-top: var(--page-gap);
}
.market-overview-grid,
.history-summary-grid,
.admin-summary-grid {
  gap: 16px;
}
.metric-card,
.history-summary-grid > div,
.admin-summary-grid > div,
.date-card {
  min-height: 126px;
  padding: 22px 24px !important;
  justify-content: center;
}
.metric-card span,
.history-summary-grid span,
.admin-summary-grid span,
.date-card small {
  margin-bottom: 4px;
}
.metric-card strong,
.history-summary-grid strong,
.admin-summary-grid strong,
.date-card strong {
  margin: 0 0 3px;
  line-height: 1.15;
}
.filter-panel,
.basis-filter-panel {
  margin: 0;
  padding: 20px 22px;
  gap: 16px;
  align-items: end;
  border-radius: var(--panel-radius);
}
.filter-panel .field,
.basis-filter-panel .field {
  min-width: 0;
}
.filter-action {
  align-self: end;
}
.filter-action .button {
  width: 100%;
  white-space: nowrap;
}
.table-card,
.basis-history-card,
.calculator-card,
.result-card,
.guest-panel,
.member-toolbar,
.form-section,
.profile-card,
.profile-form-card,
.product-catalog-card,
.quality-grid > div,
.yield-form-card,
.yield-result-panel,
.yield-guide-grid > article,
.admin-login-card,
.admin-toolbar,
.admin-panel,
.about-stats > div,
.company-grid > article,
.contact-card,
.contact-form {
  border-radius: var(--panel-radius) !important;
}
.table-card {
  overflow: hidden;
}
.table-card-head,
.history-record-block .table-card-head {
  min-height: 92px;
  padding: 22px 24px !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.table-card-head h2,
.table-card-head h3 {
  margin: 0 0 6px !important;
}
.table-card-head p {
  max-width: 680px;
}
.table-wrap {
  scrollbar-width: thin;
}
th {
  padding: 14px 16px;
  font-size: 11px;
  line-height: 1.35;
}
td {
  padding: 16px;
  line-height: 1.45;
}
.table-action-group {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}
.table-action {
  border-radius: 10px;
  min-width: 72px;
}
.basis-history-card {
  padding: 26px !important;
}
.basis-history-head {
  align-items: center;
  gap: 28px;
  padding-bottom: 22px;
}
.basis-history-head h2 {
  margin: 5px 0 8px !important;
}
.history-company-field {
  width: min(100%, 330px);
}
.history-summary-grid {
  margin: 20px 0;
}
.basis-chart-wrap {
  margin: 0;
  padding: 22px !important;
}
.chart-title-row {
  min-height: 34px;
  margin-bottom: 14px;
}
.history-record-block {
  margin-top: 20px;
  border-radius: 18px;
}
.calculator-layout {
  gap: 22px;
  align-items: stretch;
}
.calculator-card,
.result-card {
  padding: 28px !important;
}
.calculator-card > p {
  margin: 8px 0 22px;
}
.calculator-card .button {
  margin-top: 20px;
}
.result-card {
  min-height: 100%;
}
.result-breakdown {
  gap: 12px;
  margin-bottom: 22px;
}
.result-breakdown div {
  min-height: 38px;
  padding-bottom: 10px;
  align-items: center;
}
.info-note {
  padding: 18px 20px !important;
  line-height: 1.65;
}
.guest-panel {
  grid-template-columns: 240px 1fr;
  padding: 34px !important;
  gap: 34px;
}
.guest-visual {
  min-height: 200px;
  border-radius: 18px;
}
.guest-panel h2 {
  margin: 8px 0 12px !important;
}
.guest-panel p {
  margin: 0 0 22px;
}
.member-area {
  display: grid;
  gap: 20px;
}
.member-toolbar {
  min-height: 78px;
  padding: 18px 22px;
}
.contract-tabs {
  margin: 0;
  padding: 0 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow-x: auto;
}
.contract-tabs button {
  min-height: 52px;
  padding: 14px 18px;
  white-space: nowrap;
}
.contract-form {
  gap: 20px;
}
.form-section {
  padding: 26px !important;
}
.form-section-title {
  padding: 0 0 18px !important;
  margin-bottom: 20px;
}
.form-section-title h3 {
  margin: 0 0 4px !important;
}
.choice-grid {
  gap: 14px;
}
.choice-card {
  min-height: 104px;
  padding: 18px 20px !important;
}
.choice-card strong {
  line-height: 1.25;
}
.contract-summary {
  padding: 24px;
  border-radius: 18px;
}
.profile-layout {
  gap: 22px;
}
.profile-card,
.profile-form-card {
  padding: 26px !important;
}
.profile-card {
  align-items: stretch;
}
.profile-info {
  margin-top: 18px;
}
.profile-form-card > .button {
  margin-top: 20px;
}
.product-grid {
  gap: 22px;
}
.product-catalog-card {
  min-height: 100%;
  overflow: hidden;
}
.product-photo {
  height: 250px;
}
.product-card-body {
  padding: 24px !important;
  gap: 8px;
}
.product-card-body h3 {
  margin: 6px 0 4px !important;
  line-height: 1.25;
}
.product-price {
  margin: 8px 0 16px !important;
}
.product-contract-button {
  margin-top: auto;
}
.quality-section {
  margin-top: 30px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--panel-radius);
  background: var(--surface);
  gap: 34px;
}
.quality-copy h2 {
  margin: 6px 0 12px !important;
}
.quality-grid {
  gap: 14px;
}
.quality-grid > div {
  min-height: 128px;
  padding: 20px !important;
  justify-content: center;
}
.yield-layout {
  align-items: start;
  gap: 24px;
}
.yield-form-card,
.yield-result-panel {
  padding: 28px !important;
}
.yield-form-head {
  padding-bottom: 20px;
  margin-bottom: 20px;
  gap: 20px;
}
.yield-form-head h2 {
  margin: 5px 0 8px !important;
}
.yield-input-grid {
  gap: 14px !important;
}
.yield-field {
  min-height: 118px;
  padding: 16px !important;
  justify-content: start;
}
.yield-field label {
  min-height: 34px;
  display: flex;
  align-items: flex-end;
}
.yield-field small {
  min-height: 28px;
}
.yield-form-actions {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  align-items: center;
}
.yield-result-brand {
  margin-bottom: 18px;
}
.yield-score-card,
.yield-price-result {
  padding: 22px 24px !important;
}
.yield-score-card > strong,
.yield-price-result > strong {
  margin: 6px 0;
}
.yield-reference-grid {
  gap: 12px !important;
}
.yield-reference-grid > div {
  padding: 18px 20px !important;
  min-height: 92px;
}
.yield-reference-grid .yield-triage-result {
  min-height: 108px;
}
.yield-result-note {
  margin-top: 18px !important;
  padding-top: 16px;
}
.yield-guide-grid {
  gap: 18px;
}
.yield-guide-grid > article {
  min-height: 180px;
  padding: 24px !important;
}
.yield-guide-grid h3 {
  margin: 12px 0 8px !important;
}
.admin-login-card {
  padding: 30px !important;
  gap: 28px;
}
.admin-login-copy {
  gap: 18px;
}
.admin-login-copy h2 {
  margin: 5px 0 8px !important;
}
.admin-dashboard {
  display: grid;
  gap: 20px;
}
.admin-toolbar {
  margin: 0;
  min-height: 82px;
  padding: 20px 24px !important;
}
.admin-toolbar h2 {
  margin: 4px 0 0 !important;
}
.admin-summary-grid {
  margin: 0;
}
.admin-content-grid {
  gap: 22px;
}
.admin-panel {
  padding: 26px !important;
}
.admin-panel-head {
  padding: 0 0 18px !important;
  margin-bottom: 20px;
}
.admin-panel-head h2 {
  margin: 5px 0 7px !important;
}
.admin-form {
  gap: 16px;
}
.admin-form > .button {
  margin-top: 4px;
}
.admin-list {
  margin-top: 22px !important;
  padding-top: 20px !important;
}
.product-image-preview {
  height: 200px;
}
.admin-product-list {
  gap: 12px;
}
.admin-product-item {
  min-height: 76px;
  padding: 11px 12px !important;
}
.about-hero-wrap {
  margin-bottom: 0;
}
.about-page .page-content {
  padding-top: 48px;
}
.about-layout {
  gap: 42px;
  align-items: start;
}
.about-story h2 {
  margin: 6px 0 16px !important;
}
.about-story > p + p {
  margin-top: 12px !important;
}
.about-coffee-image {
  margin: 28px 0 0;
  min-height: 340px;
  border-radius: 22px;
}
.about-values {
  margin-top: 24px;
  gap: 16px;
}
.about-values > div {
  padding: 18px 0 0;
}
.about-values strong {
  margin-bottom: 6px;
}
.about-stats {
  gap: 14px;
}
.about-stats > div {
  min-height: 150px;
  padding: 22px !important;
}
.company-grid {
  margin-top: 0;
  padding-bottom: 88px;
  gap: 22px;
}
.company-grid > article {
  min-height: 220px;
  padding: 28px !important;
}
.company-grid h3 {
  margin: 14px 0 10px !important;
}
.contact-layout {
  align-items: start;
  gap: 24px;
}
.contact-info {
  gap: 14px;
}
.contact-card {
  min-height: 108px;
  padding: 20px 22px !important;
  align-items: flex-start;
}
.contact-card > span {
  flex: 0 0 42px;
}
.contact-card > div {
  gap: 4px;
}
.contact-card strong {
  margin: 2px 0;
}
.contact-map {
  min-height: 250px;
  border-radius: var(--panel-radius);
}
.contact-form {
  padding: 28px !important;
}
.contact-form h2 {
  margin: 5px 0 20px !important;
}
.contact-form .button {
  margin-top: 20px;
}
.site-footer {
  padding-top: 64px;
}
.footer-grid {
  gap: 42px;
}
.footer-brand p {
  margin-top: 18px !important;
  line-height: 1.65;
}
.footer-grid h4 {
  margin-bottom: 12px !important;
}
.footer-grid a {
  margin-bottom: 7px;
}
.footer-bottom {
  margin-top: 40px;
  padding-top: 18px;
}
.modal {
  padding: 28px;
  border-radius: 22px;
}
.auth-tabs {
  margin: 20px 0;
}
.auth-panel .button {
  margin-top: 8px;
}
@media (max-width: 1050px) {
  .market-overview-grid,
  .history-summary-grid,
  .admin-summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .admin-content-grid {
    grid-template-columns: 1fr;
  }
  .quality-section {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 980px) {
  .page-inner .inner-hero {
    min-height: auto;
    padding: 50px 0 38px;
  }
  .guest-panel,
  .calculator-layout,
  .about-layout,
  .contact-layout,
  .profile-layout,
  .yield-layout {
    grid-template-columns: 1fr;
  }
  .guest-panel {
    grid-template-columns: 180px 1fr;
  }
  .basis-history-head {
    align-items: flex-start;
  }
  .history-company-field {
    width: 100%;
  }
  .yield-result-panel {
    position: static;
  }
}
@media (max-width: 720px) {
  :root {
    --page-gap: 18px;
    --panel-pad: 22px;
  }
  .page-inner .page-content {
    padding-top: 26px;
    padding-bottom: 66px;
  }
  .market-overview-grid,
  .history-summary-grid,
  .admin-summary-grid,
  .yield-guide-grid,
  .about-values,
  .about-stats,
  .company-grid,
  .quality-grid {
    grid-template-columns: 1fr;
  }
  .filter-panel,
  .basis-filter-panel {
    grid-template-columns: 1fr;
  }
  .table-card-head,
  .basis-history-head,
  .member-toolbar,
  .admin-toolbar,
  .yield-form-head,
  .yield-form-actions,
  .chart-title-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .guest-panel {
    grid-template-columns: 1fr;
    padding: 24px !important;
  }
  .guest-visual {
    min-height: 150px;
  }
  .form-grid.two,
  .form-grid.three,
  .choice-grid,
  .yield-input-grid {
    grid-template-columns: 1fr;
  }
  .yield-field {
    min-height: auto;
  }
  .yield-field label,
  .yield-field small {
    min-height: 0;
  }
  .calculator-card,
  .result-card,
  .form-section,
  .profile-card,
  .profile-form-card,
  .yield-form-card,
  .yield-result-panel,
  .admin-panel,
  .admin-login-card,
  .contact-form,
  .basis-history-card {
    padding: 22px !important;
  }
  .product-photo {
    height: 220px;
  }
  .contact-card {
    min-height: auto;
  }
  .footer-grid {
    gap: 28px;
  }
}
@media (max-width: 480px) {
  .page-inner .inner-hero h1 {
    font-size: 42px;
  }
  .metric-card,
  .history-summary-grid > div,
  .admin-summary-grid > div,
  .date-card {
    min-height: 112px;
  }
  .button,
  .button-large {
    width: 100%;
  }
  .member-toolbar > div:last-child,
  .admin-toolbar-actions,
  .form-actions,
  .cta-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }
  .table-action-group {
    justify-content: flex-start;
  }
}

/* === V22 precision layout audit: balanced text, uniform boxes, no hidden overflow === */
:root {
  --space-card: 24px;
  --space-card-lg: 28px;
  --space-grid: 18px;
  --radius-card: 20px;
}

/* Text flow */
h1, h2, h3, p, label, small, strong, span, a, td, th {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.section-kicker,
.card-label,
.status-pill,
.yield-form-badge,
.product-type-label { white-space: nowrap; }

/* Prevent decorative elements from creating invisible horizontal overflow */
.hero-market-card,
.origin-visual,
.cta-card,
.yield-result-panel,
.contact-map,
.basis-chart-wrap,
.about-visual,
.product-catalog-card { overflow: clip !important; }
.hero-layout > *,
.origin-layout > *,
.calculator-layout > *,
.about-layout > *,
.contact-layout > *,
.yield-layout > *,
.admin-content-grid > *,
.feature-grid > *,
.process-grid > *,
.company-grid > *,
.quality-grid > *,
.market-overview-grid > *,
.history-summary-grid > *,
.product-grid > *,
.yield-guide-grid > * { min-width: 0; }

/* Typography hierarchy */
.hero-copy h1 {
  max-width: 680px !important;
  font-size: clamp(52px, 5.25vw, 68px) !important;
  line-height: 1.02 !important;
  margin: 16px 0 20px !important;
}
.hero-lead {
  max-width: 690px !important;
  font-size: 16.5px !important;
  line-height: 1.72 !important;
}
.inner-hero h1 {
  max-width: 860px;
  font-size: clamp(44px, 4.6vw, 58px) !important;
  line-height: 1.07 !important;
  margin: 6px 0 16px !important;
}
.inner-hero p { max-width: 820px; line-height: 1.68 !important; }
.section-heading h2,
.origin-copy h2,
.about-story h2,
.quality-copy h2 {
  font-size: clamp(34px, 3.7vw, 44px) !important;
  line-height: 1.12 !important;
  margin: 5px 0 12px !important;
}
.cta-card h2 {
  font-size: clamp(30px, 3.2vw, 40px) !important;
  line-height: 1.14 !important;
  margin: 6px 0 10px !important;
}
.feature-card h3,
.company-grid h3 {
  font-size: 19px !important;
  line-height: 1.28 !important;
}
.process-item h3,
.yield-guide-grid h3 { font-size: 17px !important; line-height: 1.35 !important; }

/* Consistent grids and card dimensions */
.feature-grid,
.process-grid,
.market-overview-grid,
.history-summary-grid,
.product-grid,
.quality-grid,
.about-stats,
.company-grid,
.yield-guide-grid,
.admin-summary-grid {
  align-items: stretch !important;
  gap: var(--space-grid) !important;
}
.feature-card,
.process-item,
.metric-card,
.history-summary-grid > div,
.quality-grid > div,
.about-stats > div,
.company-grid article,
.yield-guide-grid article,
.admin-summary-grid > div,
.contact-card {
  height: 100%;
  padding: var(--space-card) !important;
  border-radius: var(--radius-card) !important;
}
.feature-card,
.process-item,
.company-grid article,
.yield-guide-grid article,
.product-catalog-card {
  display: flex !important;
  flex-direction: column;
}
.feature-card h3 { min-height: 49px; margin: 14px 0 8px !important; }
.feature-card p { min-height: 70px; margin: 0 0 18px !important; line-height: 1.58 !important; }
.feature-card a { margin-top: auto !important; }
.process-item { min-height: 220px !important; }
.process-item h3 { min-height: 46px; margin: 14px 0 8px !important; }
.process-item p { margin: 0 !important; line-height: 1.58 !important; }
.yield-guide-grid article { min-height: 184px; }
.yield-guide-grid h3 { min-height: 46px; margin: 12px 0 7px !important; }
.yield-guide-grid p { margin: 0 !important; line-height: 1.58 !important; }
.company-grid article { min-height: 218px; }
.company-grid h3 { margin: 10px 0 8px !important; }
.company-grid p { margin: 0 !important; line-height: 1.62 !important; }

/* Hero card */
.hero-layout { gap: 48px !important; }
.hero-market-card { padding: 28px !important; }
.market-card-head { gap: 18px; align-items: flex-start !important; }
.market-card-head > div { min-width: 0; }
.market-card-head h2 { margin: 4px 0 0 !important; }
.hero-group-identity { gap: 18px !important; margin: 22px 0 !important; }
.hero-group-identity p { margin: 0 !important; line-height: 1.6 !important; }
.market-mini-grid { gap: 12px !important; }
.market-mini-grid > div {
  min-height: 86px;
  padding: 15px !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.market-mini-grid span { line-height: 1.25; }
.market-mini-grid strong { line-height: 1.32; }
.hero-basis-strip { margin-top: 16px !important; padding: 15px 17px !important; }
.card-link { margin-top: 18px; }
.hero-trust { gap: 16px !important; margin-top: 30px !important; }
.hero-trust > div { min-height: 92px; padding: 15px 0 !important; }
.hero-trust strong { line-height: 1.3; }
.hero-trust span { line-height: 1.45; }

/* Section headers and major boxes */
.section-heading { gap: 36px !important; margin-bottom: 30px !important; }
.section-heading > div { max-width: 680px; }
.section-heading > p { max-width: 520px; margin: 0 !important; line-height: 1.65 !important; }
.table-card-head,
.admin-panel-head,
.form-section-title,
.yield-form-head {
  padding: 22px 24px !important;
  margin-bottom: 0 !important;
}
.table-card-head h2,
.table-card-head h3,
.admin-panel-head h2,
.yield-form-head h2 { margin: 0 0 7px !important; }
.table-card-head p,
.admin-panel-head p,
.yield-form-head p { margin: 0 !important; line-height: 1.55 !important; }

/* Price page */
.metric-card,
.history-summary-grid > div {
  min-height: 126px;
  justify-content: center !important;
  gap: 5px !important;
}
.metric-card strong,
.history-summary-grid strong { margin: 2px 0 !important; line-height: 1.18 !important; }
.filter-panel { gap: 16px !important; padding: 20px !important; }
.basis-history-card { padding: 24px !important; }
.basis-history-head { gap: 28px !important; }
.basis-history-head > div:first-child { max-width: 760px; }
.history-company-field { flex-basis: 320px !important; }
.basis-chart-wrap { padding: 22px !important; }
.chart-title-row { margin-bottom: 16px !important; }
.calculator-card,
.result-card { padding: 26px !important; }
.result-card > strong { line-height: 1.12; }

/* Forms */
.field { gap: 7px !important; }
.field label { line-height: 1.35; }
.field input,
.field select,
.field textarea { padding: 12px 14px !important; }
.field small,
.field-help,
.form-hint { line-height: 1.45 !important; }
.form-grid { gap: 16px !important; }
.form-section { padding: 26px !important; }
.form-section-title { padding: 0 0 18px !important; }
.form-section-title p { margin: 3px 0 0 !important; }
.choice-card { min-height: 112px; padding: 18px !important; }
.choice-card strong { line-height: 1.35; }
.choice-card small { line-height: 1.45; }
.checkbox-row { align-items: flex-start !important; line-height: 1.55; }

/* Yield analysis */
.yield-layout { grid-template-columns: minmax(0, 1.48fr) minmax(340px, .82fr) !important; gap: 24px !important; }
.yield-form-card,
.yield-result-panel { padding: 26px !important; }
.yield-form-head { padding: 0 0 20px !important; }
.yield-input-grid { gap: 15px !important; }
.yield-result-panel { min-width: 0 !important; }
.yield-result-panel > * { min-width: 0; max-width: 100%; }
.yield-score-card,
.yield-price-result { padding: 22px !important; }
.yield-reference-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
.yield-reference-grid > div { min-width: 0; padding: 16px !important; }
.yield-reference-grid span { white-space: normal; line-height: 1.35; }
.yield-reference-grid strong { overflow-wrap: anywhere; }
.yield-triage-result { grid-column: 1 / -1; }
.yield-triage-result small { line-height: 1.45 !important; }
.yield-result-note { line-height: 1.55 !important; }

/* Contact */
.contact-layout { gap: 28px !important; align-items: stretch !important; }
.contact-info { gap: 14px !important; }
.contact-card {
  min-height: 146px;
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr);
  align-content: center;
  gap: 15px !important;
}
.contact-card > div { min-width: 0; }
.contact-card strong { overflow-wrap: anywhere; line-height: 1.35 !important; }
.contact-card p { margin-top: 4px !important; line-height: 1.5 !important; }
.contact-map { min-height: 250px; }
.contact-form { padding: 28px !important; }
.contact-form h2 { margin: 5px 0 20px !important; }

/* About and products */
.about-layout { gap: 38px !important; }
.about-values { gap: 18px !important; }
.about-values > div { padding-top: 16px !important; }
.about-values strong { display: block; margin-bottom: 6px; }
.about-values span { line-height: 1.5; }
.about-stats > div { min-height: 144px; }
.product-catalog-card { height: 100%; }
.product-card-body { padding: 22px !important; }
.product-card-body h3 { min-height: 46px; margin: 8px 0 !important; }
.product-card-body p { min-height: 54px; margin: 0 !important; line-height: 1.55 !important; }
.product-contract-button { margin-top: auto !important; }

/* Admin */
.admin-summary-grid > div { min-height: 126px; justify-content: center !important; }
.admin-panel { padding: 24px !important; }
.admin-panel-head { padding: 0 0 18px !important; }
.admin-form { gap: 16px !important; }
.admin-product-item { min-width: 0; }
.admin-product-item strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* CTA, origin, footer */
.origin-layout { gap: 48px !important; }
.origin-copy p { line-height: 1.68 !important; }
.check-list { gap: 12px !important; }
.check-list > div { line-height: 1.5; }
.cta-card { padding: 38px 42px !important; gap: 28px !important; }
.cta-card > div:first-child { max-width: 760px; min-width: 0; }
.cta-description { margin: 0 !important; line-height: 1.55 !important; }
.cta-actions { flex-shrink: 0; }
.footer-grid { gap: 34px !important; }
.footer-grid p { line-height: 1.6 !important; }
.footer-grid a { line-height: 1.45; }

/* Responsive balance */
@media (max-width: 1120px) {
  .hero-copy h1 { font-size: clamp(50px, 6vw, 64px) !important; }
  .feature-grid,
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .feature-card h3,
  .feature-card p,
  .process-item h3 { min-height: 0; }
}
@media (max-width: 980px) {
  .section-heading { gap: 16px !important; }
  .section-heading > p { max-width: 760px; }
  .yield-layout { grid-template-columns: 1fr !important; }
  .yield-result-panel { width: 100%; }
  .cta-card { align-items: stretch !important; }
  .cta-actions { width: 100%; }
  .cta-actions .button { flex: 1; }
}
@media (max-width: 680px) {
  .section-kicker,
  .card-label,
  .yield-form-badge { white-space: normal; }
  .hero-copy h1 {
    max-width: none !important;
    font-size: 44px !important;
    line-height: 1.06 !important;
  }
  .inner-hero h1 { font-size: 42px !important; }
  .section-heading h2,
  .origin-copy h2,
  .about-story h2,
  .quality-copy h2 { font-size: 34px !important; }
  .feature-grid,
  .process-grid,
  .market-overview-grid,
  .history-summary-grid,
  .quality-grid,
  .about-stats,
  .company-grid,
  .yield-guide-grid,
  .admin-summary-grid { grid-template-columns: 1fr !important; }
  .feature-card,
  .process-item,
  .yield-guide-grid article,
  .company-grid article { min-height: 0 !important; }
  .feature-card h3,
  .feature-card p,
  .process-item h3,
  .yield-guide-grid h3,
  .product-card-body h3,
  .product-card-body p { min-height: 0 !important; }
  .market-mini-grid,
  .hero-trust,
  .yield-reference-grid { grid-template-columns: 1fr !important; }
  .yield-triage-result { grid-column: auto; }
  .contact-card { min-height: 0; }
  .cta-card { padding: 28px 22px !important; }
  .cta-actions { flex-direction: column; }
}

/* Final overflow and wrapping corrections */
.hero-copy h1 {
  max-width: 660px !important;
  font-size: clamp(50px, 4.7vw, 60px) !important;
}
.hero-market-card::before {
  width: 160px !important;
  height: 160px !important;
  top: -72px !important;
  right: -32px !important;
  filter: blur(14px) !important;
}
.origin-visual .mountain {
  left: 0 !important;
  width: 100% !important;
}
.origin-visual .mountain-back {
  transform: translateY(-35px) !important;
}
.cta-card::after {
  width: 210px !important;
  height: 210px !important;
  right: -35px !important;
  top: -65px !important;
  box-shadow: 0 0 0 30px rgba(255,255,255,.025), 0 0 0 60px rgba(255,255,255,.018) !important;
}
.yield-result-panel::after {
  width: 160px !important;
  height: 160px !important;
  right: -48px !important;
  bottom: -72px !important;
  box-shadow: 0 0 0 28px rgba(255,255,255,.022), 0 0 0 56px rgba(255,255,255,.016) !important;
}
.map-grid {
  inset: 0 !important;
  transform: none !important;
  background-size: 88px 78px !important;
}
@media (max-width: 680px) {
  .hero-copy h1 { font-size: 42px !important; }
}
.hero-market-card::before,
.cta-card::after,
.yield-result-panel::after { display: none !important; }

/* === V23 Beranda: perapian khusus halaman === */
#beranda.home-page {
  background: var(--bg);
  overflow: hidden;
}
#beranda .home-hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  isolation: isolate;
  background: url('assets/coffee-plantation-bg.png') center center / cover no-repeat;
}
#beranda .home-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(247,245,240,.98) 0%, rgba(247,245,240,.92) 33%, rgba(247,245,240,.60) 58%, rgba(247,245,240,.84) 100%),
    linear-gradient(180deg, rgba(247,245,240,.15) 0%, rgba(247,245,240,.22) 64%, var(--bg) 100%);
}
[data-theme="dark"] #beranda .home-hero-overlay {
  background:
    linear-gradient(90deg, rgba(11,19,16,.96) 0%, rgba(11,19,16,.88) 34%, rgba(11,19,16,.48) 60%, rgba(11,19,16,.82) 100%),
    linear-gradient(180deg, rgba(11,19,16,.12) 0%, rgba(11,19,16,.18) 64%, var(--bg) 100%);
}
#beranda .home-hero-grid {
  width: min(calc(100% - 48px), var(--container));
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  align-items: center;
  gap: 56px;
  padding: 86px 0 74px;
}
#beranda .home-hero-copy {
  max-width: 720px;
  min-width: 0;
}
#beranda .home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 8px 13px;
  border: 1px solid color-mix(in srgb, var(--green) 18%, var(--border));
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  color: var(--green-2);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .09em;
}
#beranda .home-eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 18%, transparent);
}
#beranda .home-hero-copy h1 {
  max-width: 690px !important;
  margin: 22px 0 20px !important;
  color: var(--text);
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: clamp(48px, 5vw, 68px) !important;
  line-height: 1.01 !important;
  font-weight: 600;
  letter-spacing: -.045em;
  text-wrap: balance;
}
#beranda .home-hero-copy > p {
  max-width: 650px;
  margin: 0;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.72;
}
#beranda .home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
#beranda .home-button-light {
  color: var(--text);
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 93%, transparent);
  box-shadow: 0 10px 24px rgba(18, 39, 32, .06);
}
#beranda .home-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}
#beranda .home-proof-grid > div {
  min-height: 96px;
  padding: 17px 16px;
  border: 1px solid color-mix(in srgb, var(--border) 86%, transparent);
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  box-shadow: 0 8px 22px rgba(18, 39, 32, .045);
}
#beranda .home-proof-grid strong,
#beranda .home-proof-grid span {
  display: block;
}
#beranda .home-proof-grid strong {
  margin-bottom: 6px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.3;
}
#beranda .home-proof-grid span {
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.5;
}
#beranda .home-company-card {
  min-width: 0;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.70);
  border-radius: 26px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 26px 70px rgba(18, 39, 32, .16);
  backdrop-filter: blur(18px);
}
[data-theme="dark"] #beranda .home-company-card {
  border-color: rgba(255,255,255,.09);
  background: rgba(20,32,28,.91);
}
#beranda .home-company-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
#beranda .home-company-brand {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-width: 0;
}
#beranda .home-company-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}
#beranda .home-company-brand span {
  display: block;
  margin-bottom: 3px;
  color: var(--text-soft);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
#beranda .home-company-brand h2 {
  margin: 0 !important;
  color: var(--text);
  font-size: 21px;
  line-height: 1.25;
}
#beranda .home-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--green-2);
  background: var(--surface);
  font-size: 11px;
  font-weight: 800;
}
#beranda .home-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--positive);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--positive) 14%, transparent);
}
#beranda .home-company-desc {
  margin: 22px 0 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.65;
}
#beranda .home-company-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}
#beranda .home-company-facts > div {
  min-height: 90px;
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--surface-soft);
}
#beranda .home-company-facts span,
#beranda .home-company-facts strong {
  display: block;
}
#beranda .home-company-facts span {
  margin-bottom: 6px;
  color: var(--text-soft);
  font-size: 10px;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: .055em;
}
#beranda .home-company-facts strong {
  color: var(--text);
  font-size: 13px;
  line-height: 1.4;
}
#beranda .home-basis-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 14px;
  padding: 17px 18px;
  border: 1px solid color-mix(in srgb, var(--gold) 30%, var(--border));
  border-radius: 17px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--gold-soft) 72%, var(--surface)), var(--surface));
}
#beranda .home-basis-card span,
#beranda .home-basis-card strong {
  display: block;
}
#beranda .home-basis-card span {
  margin-bottom: 3px;
  color: var(--text-soft);
  font-size: 11px;
}
#beranda .home-basis-card strong {
  color: var(--text);
  font-size: 22px;
  line-height: 1.2;
}
#beranda .home-basis-card small {
  color: var(--green-2);
  font-size: 11px;
  font-weight: 800;
  text-align: right;
}
#beranda .home-company-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid var(--border);
  color: var(--green-2);
  font-size: 13px;
  font-weight: 850;
}
#beranda .home-section {
  padding: 86px 0;
}
#beranda .home-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  align-items: end;
  gap: 50px;
  margin-bottom: 32px;
}
#beranda .home-section-head h2 {
  max-width: 680px;
  margin: 5px 0 0 !important;
  color: var(--text);
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.06;
  letter-spacing: -.038em;
  text-wrap: balance;
}
#beranda .home-section-head > p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.68;
}
#beranda .home-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
#beranda .home-service-card {
  position: relative;
  min-height: 310px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(18, 39, 32, .055);
  display: flex;
  flex-direction: column;
}
#beranda .home-service-number {
  position: absolute;
  top: 24px;
  right: 24px;
  color: color-mix(in srgb, var(--text-soft) 72%, transparent);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .09em;
}
#beranda .home-service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: var(--green-2);
  background: var(--gold-soft);
  font-size: 20px;
  font-weight: 900;
}
#beranda .home-service-card h3 {
  min-height: 0 !important;
  margin: 22px 0 10px !important;
  color: var(--text);
  font-size: 20px !important;
  line-height: 1.25 !important;
}
#beranda .home-service-card p {
  min-height: 0 !important;
  margin: 0 !important;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.62 !important;
}
#beranda .home-service-card a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  color: var(--green-2);
  font-size: 13px;
  font-weight: 850;
}
#beranda .home-origin-section {
  padding: 90px 0;
  color: #eef7f3;
  background: linear-gradient(135deg, #11362e, #1f5749);
}
#beranda .home-origin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
  gap: 58px;
}
#beranda .home-origin-image {
  position: relative;
  min-height: 510px;
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(10,31,26,.02), rgba(10,31,26,.38)),
    url('assets/coffee-plantation-bg.png') center center / cover no-repeat;
  box-shadow: 0 28px 70px rgba(0,0,0,.22);
}
#beranda .home-origin-label {
  position: absolute;
  left: 26px;
  bottom: 26px;
  min-width: 220px;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 18px;
  color: #173e35;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
}
#beranda .home-origin-label span,
#beranda .home-origin-label strong,
#beranda .home-origin-label small {
  display: block;
}
#beranda .home-origin-label span {
  color: #6c776f;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}
#beranda .home-origin-label strong {
  margin: 4px 0 2px;
  font-size: 23px;
  line-height: 1.2;
}
#beranda .home-origin-label small {
  color: #53635c;
  font-size: 12px;
}
#beranda .home-origin-content {
  min-width: 0;
}
#beranda .home-origin-content .section-kicker {
  color: #e0bc84;
}
#beranda .home-origin-content h2 {
  max-width: 650px;
  margin: 8px 0 18px !important;
  color: #fff;
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: clamp(38px, 4.3vw, 56px);
  line-height: 1.05;
  letter-spacing: -.04em;
  text-wrap: balance;
}
#beranda .home-origin-content > p {
  margin: 0;
  color: rgba(239,247,243,.78);
  font-size: 15px;
  line-height: 1.72;
}
#beranda .home-entity-list {
  display: grid;
  gap: 12px;
  margin: 27px 0;
}
#beranda .home-entity-list > div {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  padding: 15px 0;
  border-top: 1px solid rgba(255,255,255,.14);
}
#beranda .home-entity-list > div:last-child {
  border-bottom: 1px solid rgba(255,255,255,.14);
}
#beranda .home-entity-list > div > span {
  color: #e0bc84;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
}
#beranda .home-entity-list p {
  margin: 0;
  color: rgba(239,247,243,.72);
  line-height: 1.52;
}
#beranda .home-entity-list strong {
  display: block;
  margin-bottom: 3px;
  color: #fff;
  font-size: 14px;
}
#beranda .home-origin-content .button-secondary {
  color: #fff;
  border-color: rgba(255,255,255,.26);
  background: rgba(255,255,255,.08);
}
#beranda .home-process-section {
  background: var(--surface-soft);
}
#beranda .home-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
#beranda .home-process-card {
  min-height: 230px;
  padding: 25px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(18,39,32,.045);
}
#beranda .home-process-card > span {
  display: inline-flex;
  margin-bottom: 30px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
}
#beranda .home-process-card h3 {
  min-height: 0 !important;
  margin: 0 0 10px !important;
  color: var(--text);
  font-size: 18px !important;
  line-height: 1.3 !important;
}
#beranda .home-process-card p {
  margin: 0 !important;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.62 !important;
}
#beranda .home-cta-section {
  padding: 0 0 88px;
  background: var(--surface-soft);
}
#beranda .home-cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
  padding: 46px 48px;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(135deg, #14392f, #255a4b);
  box-shadow: 0 28px 70px rgba(18, 51, 42, .22);
}
#beranda .home-cta-card > div:first-child {
  min-width: 0;
  max-width: 780px;
}
#beranda .home-cta-card > div:first-child > span {
  display: block;
  margin-bottom: 8px;
  color: #dfbc85;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .1em;
}
#beranda .home-cta-card h2 {
  margin: 0 0 10px !important;
  color: #fff;
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: clamp(32px, 3.8vw, 48px) !important;
  line-height: 1.08 !important;
  letter-spacing: -.035em;
  text-wrap: balance;
}
#beranda .home-cta-card p {
  margin: 0;
  color: rgba(255,255,255,.74);
  line-height: 1.6;
}
#beranda .home-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
@media (max-width: 1100px) {
  #beranda .home-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 74px;
  }
  #beranda .home-hero-copy { max-width: 820px; }
  #beranda .home-company-card { max-width: 820px; }
  #beranda .home-service-grid,
  #beranda .home-process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #beranda .home-service-card { min-height: 280px; }
  #beranda .home-origin-grid { grid-template-columns: 1fr; }
  #beranda .home-origin-image { min-height: 430px; }
}
@media (max-width: 820px) {
  #beranda .home-section-head {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  #beranda .home-section-head > p { max-width: 720px; }
  #beranda .home-company-facts { grid-template-columns: 1fr; }
  #beranda .home-company-facts > div { min-height: 0; }
  #beranda .home-cta-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  #beranda .home-cta-actions { justify-content: flex-start; }
}
@media (max-width: 620px) {
  #beranda .home-hero { min-height: auto; }
  #beranda .home-hero-grid {
    width: min(calc(100% - 28px), var(--container));
    padding: 52px 0 62px;
  }
  #beranda .home-eyebrow {
    max-width: 100%;
    white-space: normal;
    line-height: 1.35;
  }
  #beranda .home-hero-copy h1 {
    max-width: none !important;
    font-size: 44px !important;
    line-height: 1.04 !important;
  }
  #beranda .home-hero-copy > p { font-size: 15px; }
  #beranda .home-hero-actions,
  #beranda .home-cta-actions { flex-direction: column; align-items: stretch; }
  #beranda .home-hero-actions .button,
  #beranda .home-cta-actions .button { width: 100%; }
  #beranda .home-proof-grid,
  #beranda .home-service-grid,
  #beranda .home-process-grid { grid-template-columns: 1fr; }
  #beranda .home-proof-grid > div { min-height: 0; }
  #beranda .home-company-card { padding: 22px; border-radius: 22px; }
  #beranda .home-company-head { flex-direction: column; }
  #beranda .home-company-brand { grid-template-columns: 50px minmax(0, 1fr); }
  #beranda .home-company-brand img { width: 50px; height: 50px; }
  #beranda .home-basis-card { align-items: flex-start; flex-direction: column; gap: 7px; }
  #beranda .home-basis-card small { text-align: left; }
  #beranda .home-section { padding: 68px 0; }
  #beranda .home-section-head h2,
  #beranda .home-origin-content h2 { font-size: 36px; }
  #beranda .home-service-card,
  #beranda .home-process-card { min-height: 0; }
  #beranda .home-origin-section { padding: 68px 0; }
  #beranda .home-origin-image { min-height: 330px; border-radius: 22px; }
  #beranda .home-origin-label { left: 16px; right: 16px; bottom: 16px; min-width: 0; }
  #beranda .home-cta-card { padding: 30px 24px; border-radius: 22px; }
}

/* === V24 Harga Basis — page-specific final layout === */
#harga {
  --price-card-radius: 22px;
  --price-card-border: color-mix(in srgb, var(--border) 92%, transparent);
  --price-card-shadow: 0 12px 34px rgba(20, 43, 36, .065);
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface-soft) 52%, transparent), transparent 420px);
}
#harga .price-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 42px;
  padding: 70px 0 46px;
  border-bottom: 1px solid var(--border);
}
#harga .price-hero-copy {
  min-width: 0;
  max-width: 790px;
}
#harga .price-hero-copy h1 {
  margin: 7px 0 14px;
  max-width: none;
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: clamp(46px, 5.6vw, 72px);
  line-height: 1.02;
  letter-spacing: -.04em;
  text-wrap: balance;
}
#harga .price-hero-copy p {
  margin: 0;
  max-width: 720px;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.68;
}
#harga .price-update-card {
  min-width: 230px;
  padding: 18px 20px;
  border: 1px solid var(--price-card-border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--price-card-shadow);
}
#harga .price-update-card span,
#harga .price-update-card strong,
#harga .price-update-card small {
  display: block;
}
#harga .price-update-card span {
  color: var(--text-soft);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
#harga .price-update-card strong {
  margin: 5px 0 3px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.25;
}
#harga .price-update-card small {
  color: var(--green-3);
  font-size: 11px;
  font-weight: 750;
}
#harga .price-content {
  display: grid;
  gap: 24px;
  padding: 34px 0 90px;
}
#harga .price-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
#harga .price-summary-card {
  min-width: 0;
  min-height: 145px;
  padding: 22px;
  border: 1px solid var(--price-card-border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--price-card-shadow);
}
#harga .price-summary-card.primary {
  color: #fff;
  background: linear-gradient(145deg, #153d34, #245748);
  border-color: rgba(255,255,255,.10);
}
#harga .price-summary-card span,
#harga .price-summary-card strong,
#harga .price-summary-card small {
  display: block;
}
#harga .price-summary-card span {
  min-height: 34px;
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: .02em;
}
#harga .price-summary-card strong {
  margin: 9px 0 4px;
  color: var(--text);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.1;
  white-space: nowrap;
}
#harga .price-summary-card small {
  color: var(--text-soft);
  font-size: 11px;
  line-height: 1.45;
}
#harga .price-summary-card.primary span,
#harga .price-summary-card.primary small {
  color: rgba(255,255,255,.72);
}
#harga .price-summary-card.primary strong {
  color: #fff;
}
#harga .price-filter-card,
#harga .price-table-card,
#harga .price-history-card,
#harga .price-calculator-card,
#harga .price-result-card,
#harga .price-note {
  border: 1px solid var(--price-card-border);
  border-radius: var(--price-card-radius);
  background: var(--surface);
  box-shadow: var(--price-card-shadow);
}
#harga .price-filter-card {
  padding: 24px;
}
#harga .price-filter-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 28px;
  align-items: end;
  padding-bottom: 19px;
  border-bottom: 1px solid var(--border);
}
#harga .price-filter-head h2,
#harga .price-section-head h2,
#harga .price-history-head h2,
#harga .price-calculator-card h2 {
  margin: 4px 0 0;
  color: var(--text);
  font-size: 24px;
  line-height: 1.2;
}
#harga .price-filter-head p,
#harga .price-section-head p,
#harga .price-history-head p,
#harga .price-calculator-card > p,
#harga .price-record-head p {
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.6;
}
#harga .price-filter-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(190px, .55fr) auto;
  gap: 15px;
  align-items: end;
  padding-top: 20px;
}
#harga .price-filter-grid .field {
  min-width: 0;
}
#harga .price-reset-button {
  min-width: 100px;
}
#harga .price-table-card {
  overflow: hidden;
}
#harga .price-section-head,
#harga .price-history-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  padding: 24px 26px;
  border-bottom: 1px solid var(--border);
}
#harga .price-section-head > div,
#harga .price-history-head > div:first-child {
  min-width: 0;
}
#harga .price-section-head p strong,
#harga .price-record-head p strong {
  color: var(--text);
}
#harga .price-commodity-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid color-mix(in srgb, var(--green-3) 22%, var(--border));
  border-radius: 999px;
  color: var(--green-2);
  background: color-mix(in srgb, var(--green-3) 8%, var(--surface));
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}
#harga .price-commodity-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--positive);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--positive) 13%, transparent);
}
#harga .price-table-scroll {
  width: 100%;
  overflow-x: auto;
}
#harga .basis-company-table {
  min-width: 930px;
}
#harga .basis-company-table th,
#harga .basis-company-table td {
  padding: 15px 17px;
  vertical-align: middle;
}
#harga .basis-company-table th {
  color: var(--text-soft);
  background: color-mix(in srgb, var(--surface-soft) 78%, var(--surface));
  font-size: 10px;
  line-height: 1.35;
  letter-spacing: .055em;
  white-space: nowrap;
}
#harga .basis-company-table td {
  color: var(--text);
  font-size: 13px;
}
#harga .basis-company-table td:first-child {
  min-width: 190px;
}
#harga .basis-company-table .product-cell strong {
  margin-bottom: 2px;
  line-height: 1.35;
  white-space: normal;
}
#harga .basis-company-table .product-cell small {
  line-height: 1.35;
}
#harga .basis-company-table .table-action-group {
  display: flex;
  gap: 7px;
  justify-content: flex-end;
}
#harga .basis-company-table .table-action {
  min-height: 34px;
  padding: 8px 10px;
  white-space: nowrap;
}
#harga .price-history-card {
  padding: 0;
  overflow: hidden;
}
#harga .price-company-select {
  width: 300px;
}
#harga .price-history-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  padding: 20px 24px 0;
}
#harga .price-history-summary article {
  min-width: 0;
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface-soft);
}
#harga .price-history-summary span,
#harga .price-history-summary strong,
#harga .price-history-summary small {
  display: block;
}
#harga .price-history-summary span {
  color: var(--text-soft);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .045em;
  text-transform: uppercase;
}
#harga .price-history-summary strong {
  margin: 8px 0 4px;
  color: var(--text);
  font-size: 21px;
  line-height: 1.15;
}
#harga .price-history-summary small {
  color: var(--text-soft);
  font-size: 11px;
  line-height: 1.4;
}
#harga .price-chart-card {
  margin: 18px 24px 0;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--surface), var(--surface-soft));
}
#harga .price-chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}
#harga .price-chart-head strong {
  color: var(--text);
  font-size: 15px;
  line-height: 1.35;
}
#harga .price-chart-head span {
  color: var(--text-soft);
  font-size: 11px;
  white-space: nowrap;
}
#harga .basis-history-chart {
  min-height: 310px;
}
#harga .basis-history-chart svg {
  min-width: 720px;
}
#harga .chart-legend {
  margin-top: 7px;
  font-size: 11px;
}
#harga .price-record-card {
  margin: 18px 24px 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}
#harga .price-record-head {
  padding: 19px 20px;
  border-bottom: 1px solid var(--border);
}
#harga .price-record-head h3 {
  margin: 0 0 5px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.25;
}
#harga .history-table {
  min-width: 690px;
}
#harga .history-table th,
#harga .history-table td {
  padding: 13px 16px;
  vertical-align: middle;
}
#harga .history-table th {
  color: var(--text-soft);
  background: color-mix(in srgb, var(--surface-soft) 78%, var(--surface));
  white-space: nowrap;
}
#harga .history-status {
  white-space: nowrap;
}
#harga .price-calculator-section {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr);
  gap: 20px;
}
#harga .price-calculator-card,
#harga .price-result-card {
  padding: 28px;
}
#harga .price-calculator-card > p {
  margin-top: 8px;
}
#harga .price-calculator-grid {
  gap: 16px;
  margin-top: 22px;
}
#harga .price-calculate-button {
  margin-top: 20px;
}
#harga .price-result-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  background: linear-gradient(145deg, #153d34, #255a4a);
  border-color: rgba(255,255,255,.10);
}
#harga .price-result-card > span {
  color: rgba(255,255,255,.68);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}
#harga .price-result-card > strong {
  margin: 8px 0 24px;
  color: #fff;
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: clamp(31px, 3.6vw, 46px);
  line-height: 1.05;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}
#harga .price-result-list {
  display: grid;
  gap: 0;
  margin-bottom: 24px;
}
#harga .price-result-list > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 18px;
  align-items: start;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,.15);
  font-size: 12px;
}
#harga .price-result-list span {
  color: rgba(255,255,255,.68);
}
#harga .price-result-list b {
  color: #fff;
  text-align: right;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
#harga .price-result-card .button-light {
  margin-top: auto;
}
#harga .price-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 18px 20px;
  color: var(--text-soft);
  background: color-mix(in srgb, var(--gold-soft) 46%, var(--surface));
  font-size: 12px;
  line-height: 1.6;
}
#harga .price-note strong {
  color: var(--text);
}
#harga .price-note span {
  min-width: 0;
}
[data-theme="dark"] #harga .price-summary-card.primary,
[data-theme="dark"] #harga .price-result-card {
  background: linear-gradient(145deg, #0f332b, #1b4b3e);
}
[data-theme="dark"] #harga .price-chart-card {
  background: linear-gradient(180deg, var(--surface), var(--surface-soft));
}
@media (max-width: 1050px) {
  #harga .price-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #harga .price-calculator-section {
    grid-template-columns: 1fr;
  }
  #harga .price-result-card {
    min-height: 370px;
  }
}
@media (max-width: 820px) {
  #harga .price-hero,
  #harga .price-filter-head,
  #harga .price-section-head,
  #harga .price-history-head {
    grid-template-columns: 1fr;
    align-items: start;
  }
  #harga .price-hero { gap: 22px; }
  #harga .price-update-card { width: 100%; min-width: 0; }
  #harga .price-filter-head { gap: 10px; }
  #harga .price-filter-grid {
    grid-template-columns: 1fr 1fr;
  }
  #harga .price-reset-button {
    grid-column: 1 / -1;
    width: max-content;
  }
  #harga .price-commodity-badge { justify-self: start; }
  #harga .price-company-select { width: 100%; }
  #harga .price-history-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  #harga .price-hero {
    padding: 50px 0 36px;
  }
  #harga .price-hero-copy h1 {
    font-size: 44px;
  }
  #harga .price-content {
    gap: 18px;
    padding-top: 24px;
  }
  #harga .price-summary-grid,
  #harga .price-filter-grid,
  #harga .price-history-summary {
    grid-template-columns: 1fr;
  }
  #harga .price-summary-card {
    min-height: 0;
  }
  #harga .price-summary-card span {
    min-height: 0;
  }
  #harga .price-filter-card,
  #harga .price-calculator-card,
  #harga .price-result-card {
    padding: 21px;
    border-radius: 19px;
  }
  #harga .price-section-head,
  #harga .price-history-head {
    padding: 20px;
  }
  #harga .price-history-summary {
    padding: 16px 18px 0;
  }
  #harga .price-history-summary article {
    min-height: 0;
  }
  #harga .price-chart-card {
    margin: 16px 18px 0;
    padding: 15px;
  }
  #harga .price-chart-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  #harga .price-chart-head span {
    white-space: normal;
  }
  #harga .price-record-card {
    margin: 16px 18px 18px;
  }
  #harga .price-record-head {
    padding: 17px;
  }
  #harga .price-calculator-grid {
    grid-template-columns: 1fr;
  }
  #harga .price-result-card {
    min-height: 340px;
  }
  #harga .price-result-card > strong {
    font-size: 34px;
  }
  #harga .price-note {
    grid-template-columns: 1fr;
    gap: 3px;
    padding: 16px 18px;
  }
  #harga .price-reset-button {
    width: 100%;
  }
}

/* === V25 Contract page final refinement === */
#kontrak.contract-page {
  --contract-gap: 20px;
}
#kontrak .contract-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px;
  padding: 68px 0 44px;
}
#kontrak .contract-hero-copy {
  min-width: 0;
  max-width: 820px;
}
#kontrak .contract-hero-copy h1 {
  max-width: 13ch;
  margin: 7px 0 14px !important;
  font-size: clamp(46px, 5.7vw, 72px);
  line-height: 1;
  overflow-wrap: normal;
  word-break: normal;
}
#kontrak .contract-hero-copy p {
  max-width: 720px;
  margin: 0;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.65;
}
#kontrak .contract-hero-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
#kontrak .contract-page-content {
  display: grid;
  gap: 22px;
  padding-top: 28px;
}
#kontrak .contract-guest-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: center;
  gap: 34px;
  padding: 32px !important;
  border-radius: 24px;
  background: linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--surface-soft) 62%, var(--surface)));
}
#kontrak .contract-guest-visual {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--gold-soft) 86%, transparent), transparent 48%),
    linear-gradient(145deg, color-mix(in srgb, var(--surface-soft) 82%, var(--surface)), var(--surface));
  border: 1px solid var(--border);
}
#kontrak .contract-guest-visual > span {
  font-size: 62px;
  line-height: 1;
  color: var(--gold);
}
#kontrak .contract-guest-visual > small {
  color: var(--text-soft);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .14em;
}
#kontrak .contract-guest-copy {
  min-width: 0;
}
#kontrak .contract-guest-copy h2 {
  max-width: 660px;
  margin: 7px 0 12px !important;
  color: var(--text);
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: clamp(30px, 3.5vw, 44px);
  line-height: 1.08;
  letter-spacing: -.03em;
}
#kontrak .contract-guest-copy p {
  max-width: 680px;
  margin: 0 0 22px !important;
  color: var(--text-soft);
  line-height: 1.65;
}
#kontrak .member-area {
  display: grid;
  gap: 18px;
}
#kontrak .contract-member-toolbar {
  min-height: 82px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
#kontrak .member-greeting {
  display: grid !important;
  gap: 2px;
}
#kontrak .member-greeting > span {
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}
#kontrak .member-greeting > strong {
  color: var(--text);
  font-size: 19px;
  line-height: 1.25;
}
#kontrak .member-greeting > small {
  color: var(--text-soft);
  font-size: 12px;
}
#kontrak .member-actions {
  display: flex !important;
  align-items: center;
  gap: 10px;
}
#kontrak .contract-tab-nav {
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}
#kontrak .contract-tab-nav button {
  min-height: 44px;
  padding: 10px 16px;
  border: 0;
  border-radius: 11px;
  color: var(--text-soft);
  background: transparent;
  font-weight: 800;
  white-space: nowrap;
}
#kontrak .contract-tab-nav button.active {
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--green-3));
  box-shadow: 0 8px 20px color-mix(in srgb, var(--green) 22%, transparent);
}
#kontrak .contract-tab-nav button.active span {
  color: var(--green);
  background: #fff;
}
#kontrak .contract-tab-nav button span {
  display: inline-flex;
  min-width: 22px;
  justify-content: center;
  margin-left: 5px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--surface-soft);
}
#kontrak .contract-form-layout {
  display: grid;
  gap: 18px;
}
#kontrak .contract-form-section {
  padding: 24px !important;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
#kontrak .contract-form-section .form-section-title {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  margin: 0 0 20px;
  padding: 0 0 18px !important;
  border-bottom: 1px solid var(--border);
}
#kontrak .contract-form-section .form-section-title > span {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  color: var(--green);
  background: var(--gold-soft);
  font-size: 14px;
}
#kontrak .contract-form-section .form-section-title h3 {
  margin: 0 0 4px !important;
  color: var(--text);
  font-size: 19px;
  line-height: 1.25;
}
#kontrak .contract-form-section .form-section-title p {
  margin: 0 !important;
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.55;
}
#kontrak .choice-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px !important;
}
#kontrak .choice-card {
  min-height: 104px;
  grid-template-columns: 42px minmax(0, 1fr);
  align-content: center;
  gap: 3px 14px;
  padding: 18px !important;
  border-radius: 16px;
}
#kontrak .choice-card .choice-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
}
#kontrak .choice-card strong,
#kontrak .choice-card small {
  min-width: 0;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
}
#kontrak .choice-card strong {
  color: var(--text);
  font-size: 15px;
  line-height: 1.25;
}
#kontrak .choice-card small {
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.45;
}
#kontrak .choice-card.active {
  border-color: color-mix(in srgb, var(--green-3) 50%, var(--border));
  background: color-mix(in srgb, var(--green-3) 7%, var(--surface));
}
#kontrak .form-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
#kontrak .form-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
#kontrak .field {
  min-width: 0;
}
#kontrak .field label {
  min-height: 0;
  margin: 0;
  white-space: normal;
  line-height: 1.35;
}
#kontrak .field input,
#kontrak .field select,
#kontrak .field textarea,
#kontrak .readonly-box,
#kontrak .input-prefix {
  min-width: 0;
  min-height: 46px;
  border-radius: 13px;
}
#kontrak .readonly-box {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  color: var(--green);
  background: color-mix(in srgb, var(--gold-soft) 52%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--gold) 25%, var(--border));
  overflow-wrap: anywhere;
}
#kontrak .contract-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 28px;
  align-items: end;
  padding: 24px !important;
  border-radius: 20px;
  background: linear-gradient(135deg, #153b32, #23594a);
  box-shadow: 0 16px 34px rgba(16, 48, 40, .18);
}
#kontrak .contract-submit-copy {
  grid-column: 1 / -1;
  display: grid;
  gap: 4px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.16);
}
#kontrak .contract-submit-copy span {
  color: #e5c58e;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}
#kontrak .contract-submit-copy strong {
  color: #fff;
  font-size: 16px;
  line-height: 1.35;
}
#kontrak .checkbox-row {
  min-width: 0;
  margin: 0;
  color: rgba(255,255,255,.84);
  font-size: 12px;
  line-height: 1.6;
}
#kontrak .checkbox-row span {
  min-width: 0;
}
#kontrak .contract-summary .form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin: 0;
}
#kontrak .contract-summary .button-secondary {
  color: #fff;
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.24);
}
#kontrak .contract-summary .button-primary {
  color: #153b32;
  background: #fff;
  box-shadow: none;
}
#kontrak .contract-history-card {
  overflow: hidden;
  border-radius: 22px;
}
#kontrak .contract-history-card .table-card-head {
  padding: 22px 24px !important;
}
#kontrak .contract-table {
  min-width: 980px;
}
#kontrak .contract-table th,
#kontrak .contract-table td {
  padding: 14px 16px;
  vertical-align: middle;
}
#kontrak .contract-table th {
  white-space: nowrap;
}
#kontrak .contract-table td {
  white-space: nowrap;
}
#kontrak .contract-history-card .empty-state {
  padding: 48px 22px;
}
#kontrak .contract-profile-layout {
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
#kontrak .contract-profile-card,
#kontrak .contract-profile-form {
  padding: 24px !important;
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
}
#kontrak .contract-profile-card {
  position: sticky;
  top: 112px;
}
#kontrak .contract-profile-card .avatar {
  width: 82px;
  height: 82px;
  margin-bottom: 14px;
  border-radius: 24px;
}
#kontrak .contract-profile-card h2 {
  margin: 0 0 4px !important;
  font-size: 21px;
}
#kontrak .profile-info {
  margin-top: 22px;
  gap: 0;
}
#kontrak .profile-info > div {
  padding: 13px 0;
  border-top: 1px solid var(--border);
}
#kontrak .profile-info small {
  margin-bottom: 3px;
  font-size: 10px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
#kontrak .profile-info strong {
  color: var(--text);
  line-height: 1.4;
  overflow-wrap: anywhere;
}
#kontrak .profile-form-head {
  margin-bottom: 20px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--border);
}
#kontrak .profile-form-head h2 {
  margin: 5px 0 6px !important;
  font-size: 22px;
}
#kontrak .profile-form-head p {
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.55;
}
#kontrak .contract-profile-form > .button {
  margin-top: 20px;
}
[data-theme="dark"] #kontrak .contract-guest-card,
[data-theme="dark"] #kontrak .contract-tab-nav,
[data-theme="dark"] #kontrak .contract-form-section,
[data-theme="dark"] #kontrak .contract-history-card,
[data-theme="dark"] #kontrak .contract-profile-card,
[data-theme="dark"] #kontrak .contract-profile-form,
[data-theme="dark"] #kontrak .contract-member-toolbar {
  background: var(--surface);
}
[data-theme="dark"] #kontrak .readonly-box {
  color: #e9d0a4;
  background: color-mix(in srgb, var(--gold-soft) 54%, var(--surface));
}
@media (max-width: 980px) {
  #kontrak .contract-hero {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 22px;
  }
  #kontrak .contract-hero-actions {
    justify-content: flex-start;
  }
  #kontrak .contract-guest-card {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 26px;
  }
  #kontrak .form-grid.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #kontrak .contract-summary {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  #kontrak .contract-summary .form-actions {
    justify-content: flex-start;
  }
  #kontrak .contract-profile-layout {
    grid-template-columns: 1fr;
  }
  #kontrak .contract-profile-card {
    position: static;
  }
}
@media (max-width: 720px) {
  #kontrak .contract-guest-card {
    grid-template-columns: 1fr;
    padding: 22px !important;
  }
  #kontrak .contract-guest-visual {
    min-height: 150px;
  }
  #kontrak .contract-member-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  #kontrak .member-actions {
    width: 100%;
    flex-wrap: wrap;
  }
  #kontrak .member-actions .button {
    flex: 1 1 160px;
  }
  #kontrak .form-grid.three,
  #kontrak .form-grid.two,
  #kontrak .choice-grid {
    grid-template-columns: 1fr;
  }
  #kontrak .contract-form-section {
    padding: 21px !important;
  }
  #kontrak .contract-summary .form-actions {
    flex-direction: column;
    align-items: stretch;
  }
  #kontrak .contract-summary .button {
    width: 100%;
  }
}
@media (max-width: 600px) {
  #kontrak .contract-hero {
    padding: 48px 0 34px;
  }
  #kontrak .contract-hero-copy h1 {
    max-width: none;
    font-size: 43px;
  }
  #kontrak .contract-hero-actions,
  #kontrak .contract-hero-actions .button {
    width: 100%;
  }
  #kontrak .contract-page-content {
    gap: 16px;
    padding-top: 22px;
  }
  #kontrak .contract-tab-nav button {
    min-height: 42px;
    padding: 9px 13px;
  }
  #kontrak .contract-form-section .form-section-title {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
  }
  #kontrak .contract-form-section .form-section-title > span {
    width: 38px;
    height: 38px;
  }
  #kontrak .choice-card {
    min-height: 96px;
  }
  #kontrak .contract-history-card .table-card-head,
  #kontrak .contract-profile-card,
  #kontrak .contract-profile-form {
    padding: 20px !important;
  }
}

/* === V26 Product Page Final Refinement === */
#produk .product-page-hero {
  align-items: center;
  gap: 42px;
}
#produk .product-page-hero > div:first-child {
  max-width: 760px;
}
#produk .product-page-hero h1 {
  max-width: 760px;
  font-size: clamp(48px, 5.6vw, 72px);
  line-height: 1.02;
  margin: 8px 0 18px;
}
#produk .product-page-hero p {
  max-width: 720px;
  line-height: 1.68;
}
#produk .product-catalog-status {
  min-width: 260px;
  padding: 20px 22px !important;
  border-radius: 18px;
  background: linear-gradient(180deg, var(--surface), var(--surface-soft));
}
#produk .product-catalog-status strong {
  margin: 5px 0 3px;
  font-size: 20px;
}
#produk .product-page-content {
  padding-top: 38px;
}
#produk .product-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  align-items: end;
  gap: 32px;
  margin-bottom: 24px;
}
#produk .product-section-head h2 {
  margin: 5px 0 0;
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.12;
  letter-spacing: -.03em;
}
#produk .product-section-head > p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.65;
}
#produk .product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
#produk .product-catalog-card {
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden !important;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(19, 43, 35, .07);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
#produk .product-catalog-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--gold) 45%, var(--border));
  box-shadow: 0 18px 42px rgba(19, 43, 35, .10);
}
#produk .product-photo {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-soft);
}
#produk .product-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(10, 25, 20, .34));
  pointer-events: none;
}
#produk .product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
#produk .product-catalog-card:hover .product-photo img {
  transform: scale(1.025);
}
#produk .product-photo-badge {
  position: absolute;
  z-index: 2;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 999px;
  background: rgba(15, 45, 37, .86);
  color: #fff;
  backdrop-filter: blur(8px);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
#produk .product-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px !important;
  gap: 0;
}
#produk .product-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
#produk .product-type-label,
#produk .product-stock-label {
  white-space: normal;
  line-height: 1.25;
}
#produk .product-type-label {
  color: var(--green-2);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}
#produk .product-stock-label {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--positive) 11%, var(--surface));
  color: var(--positive);
  font-size: 9px;
  font-weight: 850;
}
#produk .product-card-body h3 {
  min-height: 0 !important;
  margin: 0 0 18px !important;
  color: var(--text);
  font-size: 22px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
#produk .product-price-label {
  margin-top: auto;
  color: var(--text-soft);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
#produk .product-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 18px !important;
}
#produk .product-price strong {
  color: var(--text);
  font-size: 25px;
  line-height: 1.15;
  letter-spacing: -.025em;
}
#produk .product-price span {
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 650;
}
#produk .product-contract-button {
  width: 100%;
  min-height: 44px;
  margin-top: 0 !important;
}
#produk .empty-state {
  min-height: 260px;
  margin-top: 12px;
  border: 1px dashed var(--border);
  border-radius: 22px;
  background: var(--surface);
}
#produk .product-category-section {
  display: grid;
  grid-template-columns: minmax(260px, .78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: 34px;
  margin-top: 34px;
  padding: 30px !important;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: linear-gradient(135deg, var(--surface), var(--surface-soft));
  box-shadow: 0 12px 34px rgba(19, 43, 35, .05);
}
#produk .quality-copy h2 {
  margin: 7px 0 12px !important;
  font-size: clamp(30px, 3.3vw, 43px);
  line-height: 1.12;
}
#produk .quality-copy p {
  margin: 0;
  line-height: 1.65;
}
#produk .product-category-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px !important;
}
#produk .product-category-grid > div {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 20px !important;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: none;
}
#produk .product-category-grid span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
}
#produk .product-category-grid strong {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.3;
}
#produk .product-category-grid small {
  color: var(--text-soft);
  font-size: 11px;
  line-height: 1.5;
}
[data-theme="dark"] #produk .product-photo-badge {
  background: rgba(10, 30, 25, .9);
}
[data-theme="dark"] #produk .product-catalog-card,
[data-theme="dark"] #produk .product-category-section,
[data-theme="dark"] #produk .product-category-grid > div {
  box-shadow: 0 12px 30px rgba(0,0,0,.16);
}
@media (max-width: 980px) {
  #produk .product-page-hero {
    align-items: flex-start;
  }
  #produk .product-catalog-status {
    width: 100%;
    min-width: 0;
  }
  #produk .product-section-head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 12px;
  }
  #produk .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #produk .product-category-section {
    grid-template-columns: 1fr;
    align-items: start;
  }
}
@media (max-width: 620px) {
  #produk .product-page-hero h1 {
    font-size: 44px;
  }
  #produk .product-page-content {
    padding-top: 28px;
  }
  #produk .product-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  #produk .product-photo {
    aspect-ratio: 16 / 10;
  }
  #produk .product-card-body {
    padding: 20px !important;
  }
  #produk .product-card-body h3 {
    font-size: 20px;
    margin-bottom: 16px !important;
  }
  #produk .product-price strong {
    font-size: 23px;
  }
  #produk .product-category-section {
    padding: 22px !important;
    border-radius: 20px;
  }
  #produk .product-category-grid {
    grid-template-columns: 1fr;
  }
  #produk .product-category-grid > div {
    min-height: 112px;
  }
}

/* === V27 Analisa Rendemen final layout === */
#rendemen .yield-inner-hero {
  align-items: center !important;
  gap: 40px !important;
}
#rendemen .yield-hero-copy {
  max-width: 780px;
  min-width: 0;
}
#rendemen .yield-hero-copy h1 {
  margin: 6px 0 14px !important;
  font-size: clamp(46px, 5.6vw, 72px) !important;
  line-height: .98 !important;
  max-width: none !important;
}
#rendemen .yield-hero-copy p {
  margin: 0 !important;
  max-width: 720px;
  font-size: 16px;
  line-height: 1.65;
}
#rendemen .yield-access-card {
  min-width: 230px;
  padding: 18px 20px !important;
}
#rendemen .yield-page-content {
  display: grid;
  gap: 30px;
}
#rendemen .yield-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1.45fr) minmax(350px, .78fr) !important;
  gap: 24px !important;
  align-items: start !important;
  margin: 0 !important;
}
#rendemen .yield-form-card,
#rendemen .yield-result-panel {
  min-width: 0;
  border-radius: 24px !important;
  padding: 26px !important;
}
#rendemen .yield-form-card {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
}
#rendemen .yield-form-head {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 24px !important;
  padding: 0 0 20px !important;
  margin: 0 0 20px !important;
  border-bottom: 1px solid var(--border) !important;
}
#rendemen .yield-form-head > div {
  min-width: 0;
  max-width: 690px;
}
#rendemen .yield-form-head h2 {
  margin: 4px 0 8px !important;
  font-size: 27px !important;
  line-height: 1.18 !important;
}
#rendemen .yield-form-head p {
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}
#rendemen .yield-form-badge {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 8px 12px !important;
  border-radius: 999px !important;
}
#rendemen .yield-input-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
}
#rendemen .yield-group-title {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin: 2px 0 0;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-soft);
}
#rendemen .yield-group-title-components {
  margin-top: 8px;
}
#rendemen .yield-group-title > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--green);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}
#rendemen .yield-group-title > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}
#rendemen .yield-group-title strong {
  color: var(--text);
  font-size: 14px;
  line-height: 1.25;
}
#rendemen .yield-group-title small {
  color: var(--text-soft);
  font-size: 11px;
  line-height: 1.4;
}
#rendemen .yield-field {
  min-height: 0 !important;
  height: auto !important;
  padding: 15px !important;
  display: grid !important;
  grid-template-rows: auto auto auto !important;
  align-content: start !important;
  gap: 7px !important;
  border: 1px solid var(--border) !important;
  border-radius: 15px !important;
  background: var(--surface) !important;
}
#rendemen .yield-field.featured {
  background: color-mix(in srgb, var(--gold-soft) 62%, var(--surface)) !important;
  border-color: color-mix(in srgb, var(--gold) 38%, var(--border)) !important;
}
#rendemen .yield-field label {
  min-height: 0 !important;
  height: auto !important;
  display: block !important;
  color: var(--text) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
}
#rendemen .yield-field small {
  min-height: 0 !important;
  height: auto !important;
  display: block !important;
  margin: 0 !important;
  color: var(--text-soft) !important;
  font-size: 10.5px !important;
  line-height: 1.42 !important;
}
#rendemen .input-suffix {
  width: 100%;
  min-height: 44px;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
}
#rendemen .input-suffix:focus-within {
  border-color: var(--green-3);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--green-3) 12%, transparent);
}
#rendemen .input-suffix input {
  width: 100%;
  min-width: 0;
  min-height: 42px !important;
  padding: 10px 12px !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  color: var(--text) !important;
  font-weight: 800;
}
#rendemen .input-suffix span {
  min-width: 54px;
  display: grid;
  place-items: center;
  padding: 0 11px;
  border-left: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 800;
}
#rendemen .yield-form-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  margin: 22px 0 0 !important;
  padding: 20px 0 0 !important;
  border-top: 1px solid var(--border) !important;
}
#rendemen .yield-form-actions span {
  max-width: 520px;
  margin: 0 !important;
  color: var(--text-soft) !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
  text-align: left !important;
}
#rendemen .yield-form-actions .button {
  flex: 0 0 auto;
  min-width: 132px;
}
#rendemen .yield-result-panel {
  position: sticky !important;
  top: 112px !important;
  display: grid !important;
  gap: 14px !important;
  background: linear-gradient(155deg, #123b31, #225b4b) !important;
  color: #fff !important;
  overflow: hidden;
}
#rendemen .yield-result-panel::after {
  opacity: .35 !important;
  pointer-events: none;
}
#rendemen .yield-result-brand {
  position: relative;
  z-index: 1;
  margin: 0 0 2px !important;
}
#rendemen .yield-result-brand img {
  width: 46px !important;
  height: 46px !important;
}
#rendemen .yield-result-brand span {
  color: rgba(255,255,255,.76) !important;
}
#rendemen .yield-result-brand strong {
  color: #fff !important;
  font-size: 18px !important;
}
#rendemen .yield-score-card,
#rendemen .yield-price-result {
  position: relative;
  z-index: 1;
  min-height: 0 !important;
  padding: 20px !important;
  border-radius: 18px !important;
}
#rendemen .yield-score-card {
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
}
#rendemen .yield-score-card > span,
#rendemen .yield-price-result > span {
  display: block;
  font-size: 10px !important;
  font-weight: 900 !important;
  letter-spacing: .1em !important;
  text-transform: uppercase;
}
#rendemen .yield-score-card > strong {
  display: block;
  margin: 7px 0 4px !important;
  color: #fff !important;
  font-size: clamp(48px, 5vw, 64px) !important;
  line-height: .95 !important;
}
#rendemen .yield-score-card > small {
  display: block;
  margin: 0 0 14px !important;
  line-height: 1.4;
}
#rendemen .yield-meter {
  margin: 0 !important;
}
#rendemen .yield-price-result {
  background: #fffaf0 !important;
  border: 1px solid #ead8b6 !important;
  color: #173e35 !important;
}
#rendemen .yield-price-result > span,
#rendemen .yield-price-result > small {
  color: #4f6c63 !important;
}
#rendemen .yield-price-result > strong {
  display: block;
  margin: 6px 0 3px !important;
  color: #173e35 !important;
  font-size: clamp(31px, 3vw, 42px) !important;
  line-height: 1.05 !important;
  overflow-wrap: anywhere;
}
#rendemen .yield-reference-grid {
  position: relative;
  z-index: 1;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin: 0 !important;
}
#rendemen .yield-reference-grid > div {
  min-width: 0;
  min-height: 78px !important;
  padding: 14px !important;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 15px !important;
  background: rgba(8,31,25,.34) !important;
}
#rendemen .yield-reference-grid span {
  color: rgba(255,255,255,.76) !important;
  font-size: 9px !important;
  font-weight: 800;
  line-height: 1.35 !important;
  letter-spacing: .07em;
}
#rendemen .yield-reference-grid strong {
  margin: 0 !important;
  color: #fff !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
  overflow-wrap: anywhere;
}
#rendemen .yield-reference-grid .yield-triage-result {
  grid-column: 1 / -1 !important;
  min-height: 88px !important;
}
#rendemen .yield-reference-grid .yield-triage-result strong {
  color: #ffd995 !important;
  font-size: 17px !important;
}
#rendemen .yield-reference-grid .yield-triage-result small {
  margin: 1px 0 0 !important;
  color: rgba(255,255,255,.72) !important;
  font-size: 10px !important;
  line-height: 1.4 !important;
}
#rendemen .yield-result-note {
  position: relative;
  z-index: 1;
  margin: 0 !important;
  padding: 14px 0 0 !important;
  border-top: 1px solid rgba(255,255,255,.16) !important;
  color: rgba(255,255,255,.78) !important;
  font-size: 11px !important;
  line-height: 1.55 !important;
}
#rendemen .yield-result-note strong {
  color: #fff;
}
#rendemen .yield-guide-heading {
  max-width: 760px;
  margin-top: 8px;
}
#rendemen .yield-guide-heading h2 {
  margin: 5px 0 0 !important;
  font-size: clamp(28px, 3.2vw, 40px) !important;
  line-height: 1.12 !important;
}
#rendemen .yield-guide-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
  margin: 0 !important;
}
#rendemen .yield-guide-grid > article {
  min-width: 0;
  min-height: 0 !important;
  padding: 22px !important;
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  border: 1px solid var(--border) !important;
  border-radius: 18px !important;
  background: var(--surface) !important;
}
#rendemen .yield-guide-grid > article > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--gold-soft);
  color: var(--green) !important;
}
#rendemen .yield-guide-grid h3 {
  min-height: 0 !important;
  margin: 4px 0 0 !important;
  font-size: 17px !important;
  line-height: 1.3 !important;
}
#rendemen .yield-guide-grid p {
  margin: 0 !important;
  color: var(--text-soft) !important;
  font-size: 13px !important;
  line-height: 1.58 !important;
}
[data-theme="dark"] #rendemen .yield-field.featured {
  background: color-mix(in srgb, var(--gold-soft) 65%, var(--surface)) !important;
}
[data-theme="dark"] #rendemen .yield-price-result {
  background: #f8f0df !important;
}
@media (max-width: 1050px) {
  #rendemen .yield-layout {
    grid-template-columns: 1fr !important;
  }
  #rendemen .yield-result-panel {
    position: relative !important;
    top: auto !important;
  }
  #rendemen .yield-reference-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  #rendemen .yield-reference-grid .yield-triage-result {
    grid-column: auto !important;
  }
}
@media (max-width: 760px) {
  #rendemen .yield-inner-hero {
    align-items: flex-start !important;
  }
  #rendemen .yield-access-card {
    width: 100%;
    min-width: 0;
  }
  #rendemen .yield-form-head {
    flex-direction: column !important;
    gap: 14px !important;
  }
  #rendemen .yield-input-grid {
    grid-template-columns: 1fr !important;
  }
  #rendemen .yield-reference-grid {
    grid-template-columns: 1fr !important;
  }
  #rendemen .yield-reference-grid .yield-triage-result {
    grid-column: auto !important;
  }
  #rendemen .yield-guide-grid {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 600px) {
  #rendemen .yield-hero-copy h1 {
    font-size: 46px !important;
  }
  #rendemen .yield-form-card,
  #rendemen .yield-result-panel {
    padding: 20px !important;
    border-radius: 20px !important;
  }
  #rendemen .yield-form-actions {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  #rendemen .yield-form-actions .button {
    width: 100% !important;
  }
}

/* === V28 Tentang MAKA Coffee Group: final layout === */
#tentang.about-page {
  padding-bottom: 0 !important;
  overflow: hidden;
}
#tentang .about-hero-wrap {
  min-height: 520px !important;
  display: grid;
  align-items: center;
  border-radius: 0 0 34px 34px !important;
  background:
    linear-gradient(90deg, rgba(7,33,27,.93) 0%, rgba(11,43,35,.86) 42%, rgba(13,47,38,.45) 72%, rgba(12,41,34,.66) 100%),
    url('assets/coffee-plantation-bg.png') center 52% / cover no-repeat !important;
  box-shadow: inset 0 -80px 120px rgba(5,25,21,.20);
}
#tentang .about-hero-wrap::after { display: none !important; }
#tentang .about-hero-v28 {
  width: min(calc(100% - 40px), var(--container));
  min-height: 520px;
  margin-inline: auto;
  padding: 90px 0 66px;
  display: flex;
  align-items: center;
}
#tentang .about-hero-copy-v28 {
  width: min(760px, 100%);
}
#tentang .about-hero-copy-v28 .section-kicker {
  color: #f2ca88 !important;
}
#tentang .about-hero-copy-v28 h1 {
  max-width: 12ch;
  margin: 12px 0 18px !important;
  color: #fff !important;
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: clamp(48px, 6vw, 76px) !important;
  font-weight: 500;
  line-height: 1.02 !important;
  letter-spacing: -.045em !important;
  text-shadow: 0 6px 24px rgba(0,0,0,.20);
}
#tentang .about-hero-copy-v28 > p {
  max-width: 700px;
  margin: 0 !important;
  color: rgba(255,255,255,.90) !important;
  font-size: 17px !important;
  line-height: 1.68 !important;
}
#tentang .about-hero-tags-v28 {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
#tentang .about-hero-tags-v28 span {
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.09);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .03em;
  backdrop-filter: blur(8px);
}
#tentang .about-content-v28 {
  padding-top: 72px;
  padding-bottom: 90px;
  display: grid;
  gap: 74px;
}
#tentang .about-intro-v28 {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  gap: 34px;
  align-items: stretch;
}
#tentang .about-story-v28 {
  min-width: 0;
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
#tentang .about-story-v28 h2,
#tentang .about-section-heading-v28 h2,
#tentang .about-cta-v28 h2 {
  margin: 7px 0 16px !important;
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-weight: 500;
  letter-spacing: -.035em !important;
}
#tentang .about-story-v28 h2 {
  max-width: 16ch;
  font-size: clamp(35px, 4vw, 50px) !important;
  line-height: 1.08 !important;
}
#tentang .about-story-v28 > p {
  max-width: 780px;
  margin: 0 !important;
  color: var(--text-soft) !important;
  font-size: 15px;
  line-height: 1.72 !important;
}
#tentang .about-story-v28 > p + p {
  margin-top: 13px !important;
}
#tentang .about-pillars-v28 {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
#tentang .about-pillars-v28 > div {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface-soft);
}
#tentang .about-pillars-v28 span,
#tentang .about-pillars-v28 strong,
#tentang .about-pillars-v28 small {
  display: block;
}
#tentang .about-pillars-v28 span {
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
}
#tentang .about-pillars-v28 strong {
  margin-top: 7px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.3;
}
#tentang .about-pillars-v28 small {
  margin-top: 6px;
  color: var(--text-soft);
  font-size: 11px;
  line-height: 1.55;
}
#tentang .about-visual-v28 {
  min-width: 0;
  min-height: 100%;
  margin: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
#tentang .about-visual-image-v28 {
  min-height: 100%;
  height: 100%;
  background:
    linear-gradient(180deg, rgba(8,29,24,.05), rgba(8,29,24,.22)),
    url('assets/coffee-plantation-bg.png') center center / cover no-repeat;
}
#tentang .about-visual-v28 figcaption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 17px;
  background: rgba(10,35,29,.78);
  color: #fff;
  backdrop-filter: blur(10px);
}
#tentang .about-visual-v28 figcaption span,
#tentang .about-visual-v28 figcaption strong,
#tentang .about-visual-v28 figcaption small {
  display: block;
}
#tentang .about-visual-v28 figcaption span {
  color: #f1cb89;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
#tentang .about-visual-v28 figcaption strong {
  margin-top: 4px;
  font-size: 20px;
  line-height: 1.25;
}
#tentang .about-visual-v28 figcaption small {
  margin-top: 4px;
  color: rgba(255,255,255,.76);
  font-size: 11px;
  line-height: 1.45;
}
#tentang .about-stats-v28 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
#tentang .about-stats-v28 > div {
  min-width: 0;
  min-height: 142px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 5px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: linear-gradient(160deg, #153e35, #235849);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
#tentang .about-stats-v28 strong {
  color: #edc88b;
  font-size: 31px;
  line-height: 1;
}
#tentang .about-stats-v28 span {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}
#tentang .about-stats-v28 small {
  color: rgba(255,255,255,.68);
  font-size: 10px;
  line-height: 1.4;
}
#tentang .about-entities-v28,
#tentang .about-values-v28 {
  display: grid;
  gap: 25px;
}
#tentang .about-section-heading-v28 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr);
  gap: 28px;
  align-items: end;
}
#tentang .about-section-heading-v28.compact {
  grid-template-columns: 1fr;
}
#tentang .about-section-heading-v28 h2 {
  max-width: 18ch;
  font-size: clamp(34px, 4vw, 50px) !important;
  line-height: 1.08 !important;
}
#tentang .about-section-heading-v28 > p {
  margin: 0 !important;
  color: var(--text-soft) !important;
  font-size: 14px;
  line-height: 1.68;
}
#tentang .about-entity-grid-v28 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
#tentang .about-entity-grid-v28 > article {
  min-width: 0;
  padding: 30px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
#tentang .about-entity-number-v28 {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--gold-soft);
  color: var(--green);
  font-size: 15px;
  font-weight: 900;
}
#tentang .about-entity-copy-v28 {
  min-width: 0;
}
#tentang .about-entity-copy-v28 > span {
  display: block;
  color: var(--gold);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .11em;
  line-height: 1.4;
  text-transform: uppercase;
}
#tentang .about-entity-copy-v28 h3 {
  margin: 8px 0 9px !important;
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: 28px !important;
  font-weight: 500;
  line-height: 1.12 !important;
  letter-spacing: -.025em;
}
#tentang .about-entity-copy-v28 p {
  margin: 0 !important;
  color: var(--text-soft) !important;
  font-size: 13px;
  line-height: 1.65 !important;
}
#tentang .about-entity-copy-v28 ul {
  margin: 18px 0 0;
  padding: 17px 0 0;
  display: grid;
  gap: 9px;
  border-top: 1px solid var(--border);
  list-style: none;
}
#tentang .about-entity-copy-v28 li {
  position: relative;
  padding-left: 19px;
  color: var(--text);
  font-size: 12px;
  line-height: 1.5;
}
#tentang .about-entity-copy-v28 li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .57em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}
#tentang .about-value-grid-v28 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
#tentang .about-value-grid-v28 article {
  min-width: 0;
  min-height: 208px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
#tentang .about-value-grid-v28 article > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--gold-soft);
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
}
#tentang .about-value-grid-v28 h3 {
  margin: 18px 0 8px !important;
  font-size: 18px !important;
  line-height: 1.25 !important;
}
#tentang .about-value-grid-v28 p {
  margin: 0 !important;
  color: var(--text-soft) !important;
  font-size: 12px;
  line-height: 1.62 !important;
}
#tentang .about-cta-v28 {
  padding: 38px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 34px;
  overflow: hidden;
  position: relative;
  border-radius: 26px;
  background:
    linear-gradient(120deg, rgba(19,58,49,.96), rgba(34,85,71,.93)),
    url('assets/coffee-plantation-bg.png') center 60% / cover no-repeat;
  color: #fff;
  box-shadow: var(--shadow);
}
#tentang .about-cta-v28::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -100px;
  top: -140px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(255,255,255,.025), 0 0 0 84px rgba(255,255,255,.02);
}
#tentang .about-cta-v28 > div { position: relative; z-index: 1; }
#tentang .about-cta-v28 .section-kicker { color: #efc98a !important; }
#tentang .about-cta-v28 h2 {
  max-width: 700px;
  color: #fff !important;
  font-size: clamp(31px, 4vw, 47px) !important;
  line-height: 1.08 !important;
}
#tentang .about-cta-v28 p {
  max-width: 720px;
  margin: 0 !important;
  color: rgba(255,255,255,.80) !important;
  font-size: 13px;
  line-height: 1.6;
}
#tentang .about-cta-actions-v28 {
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
  display: flex;
  gap: 10px;
}
[data-theme="dark"] #tentang .about-story-v28,
[data-theme="dark"] #tentang .about-visual-v28,
[data-theme="dark"] #tentang .about-entity-grid-v28 > article,
[data-theme="dark"] #tentang .about-value-grid-v28 article {
  background: var(--surface) !important;
}
@media (max-width: 1050px) {
  #tentang .about-intro-v28 {
    grid-template-columns: 1fr;
  }
  #tentang .about-visual-v28 {
    min-height: 460px;
  }
  #tentang .about-stats-v28,
  #tentang .about-value-grid-v28 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #tentang .about-cta-v28 {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 760px) {
  #tentang .about-hero-wrap,
  #tentang .about-hero-v28 {
    min-height: 430px !important;
  }
  #tentang .about-hero-v28 {
    padding: 76px 0 48px;
  }
  #tentang .about-hero-copy-v28 h1 {
    max-width: none;
    font-size: 49px !important;
  }
  #tentang .about-content-v28 {
    padding-top: 54px;
    padding-bottom: 68px;
    gap: 58px;
  }
  #tentang .about-pillars-v28,
  #tentang .about-stats-v28,
  #tentang .about-entity-grid-v28,
  #tentang .about-value-grid-v28,
  #tentang .about-section-heading-v28 {
    grid-template-columns: 1fr;
  }
  #tentang .about-visual-v28 { min-height: 380px; }
  #tentang .about-entity-grid-v28 > article {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px;
  }
  #tentang .about-entity-number-v28 {
    width: 48px;
    height: 48px;
  }
  #tentang .about-value-grid-v28 article { min-height: 0; }
  #tentang .about-cta-actions-v28 {
    width: 100%;
    flex-direction: column;
  }
  #tentang .about-cta-actions-v28 .button { width: 100%; }
}
@media (max-width: 600px) {
  #tentang .about-hero-wrap { border-radius: 0 0 24px 24px !important; }
  #tentang .about-hero-v28 {
    width: min(calc(100% - 28px), var(--container));
  }
  #tentang .about-hero-copy-v28 h1 { font-size: 43px !important; }
  #tentang .about-hero-copy-v28 > p { font-size: 14px !important; }
  #tentang .about-story-v28,
  #tentang .about-entity-grid-v28 > article,
  #tentang .about-value-grid-v28 article {
    padding: 22px;
    border-radius: 19px;
  }
  #tentang .about-story-v28 h2,
  #tentang .about-section-heading-v28 h2 {
    font-size: 35px !important;
  }
  #tentang .about-visual-v28 { min-height: 330px; border-radius: 19px; }
  #tentang .about-visual-v28 figcaption { left: 16px; right: 16px; bottom: 16px; }
  #tentang .about-stats-v28 > div { min-height: 126px; padding: 20px; }
  #tentang .about-entity-grid-v28 > article { grid-template-columns: 1fr; }
  #tentang .about-cta-v28 { padding: 28px 22px; border-radius: 21px; }
}

/* === V29 Contact page final refinement === */
.contact-page-v29 .contact-inner-hero {
  align-items: flex-end;
  gap: 32px;
}
.contact-hero-copy {
  max-width: 800px;
}
.contact-page-v29 .contact-inner-hero h1 {
  max-width: 760px;
  font-size: clamp(46px, 5.4vw, 72px);
  line-height: 1.02;
  margin: 8px 0 18px;
}
.contact-page-v29 .contact-inner-hero p {
  max-width: 720px;
  font-size: 16px;
  line-height: 1.7;
}
.contact-response-card {
  min-width: 210px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 4px;
}
.contact-response-card small {
  color: var(--text-soft);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .11em;
}
.contact-response-card strong {
  color: var(--text);
  font-size: 18px;
  line-height: 1.2;
}
.contact-response-card span {
  color: var(--green-2);
  font-size: 13px;
  font-weight: 800;
}
.contact-page-layout {
  display: grid;
  grid-template-columns: minmax(320px, .88fr) minmax(0, 1.12fr);
  align-items: stretch;
  gap: 28px;
  padding-bottom: 92px;
}
.contact-sidebar,
.contact-form-v29 {
  min-width: 0;
}
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-sidebar-head {
  padding: 26px 26px 24px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.contact-sidebar-head h2 {
  margin: 6px 0 10px;
  font-size: 27px;
  line-height: 1.2;
}
.contact-sidebar-head p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.6;
}
.contact-channel-list {
  display: grid;
  gap: 12px;
}
.contact-channel-card {
  min-width: 0;
  min-height: 124px;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
}
.contact-channel-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--gold-soft);
  color: var(--green-2);
  display: grid;
  place-items: center;
}
.contact-channel-icon svg {
  width: 23px;
  height: 23px;
}
.contact-channel-card > div {
  min-width: 0;
  display: grid;
  gap: 5px;
}
.contact-channel-card small {
  color: var(--text-soft);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .09em;
  line-height: 1.3;
}
.contact-channel-card strong {
  color: var(--text);
  font-size: 15px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.contact-channel-card strong a {
  color: inherit;
}
.contact-channel-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.55;
}
.contact-location-visual {
  min-height: 235px;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  background: url('assets/coffee-plantation-bg.png') center center / cover no-repeat;
  box-shadow: var(--shadow-sm);
}
.contact-location-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,42,34,.18), rgba(12,42,34,.70));
}
.contact-location-badge {
  position: absolute;
  left: 22px;
  bottom: 22px;
  right: 22px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  background: rgba(15,49,41,.70);
  backdrop-filter: blur(10px);
  color: #fff;
  display: grid;
  gap: 3px;
}
.contact-location-badge span,
.contact-location-badge small {
  color: rgba(255,255,255,.78);
  font-size: 10px;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.contact-location-badge strong {
  font-size: 21px;
  line-height: 1.2;
}
.contact-form-v29 {
  padding: 30px !important;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-form-head {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.contact-form-head h2 {
  margin: 6px 0 10px !important;
  font-size: 31px;
  line-height: 1.2;
}
.contact-form-head p {
  margin: 0;
  max-width: 650px;
  color: var(--text-soft);
  line-height: 1.6;
}
.contact-form-grid {
  gap: 17px !important;
}
.contact-form-v29 .field {
  min-width: 0;
}
.contact-form-v29 .field label {
  font-size: 12px;
  color: var(--text);
}
.contact-form-v29 input,
.contact-form-v29 select,
.contact-form-v29 textarea {
  min-width: 0;
  border-radius: 13px;
  padding: 13px 14px;
}
.contact-form-v29 textarea {
  resize: vertical;
  min-height: 150px;
}
.contact-form-footer {
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.contact-form-footer p {
  margin: 0;
  max-width: 470px;
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.55;
}
.contact-form-footer .button {
  flex: 0 0 auto;
  min-width: 150px;
  margin: 0 !important;
}
[data-theme="dark"] .contact-location-badge {
  background: rgba(8,31,26,.80);
}
@media (max-width: 980px) {
  .contact-page-v29 .contact-inner-hero {
    align-items: flex-start;
  }
  .contact-response-card {
    width: 100%;
    min-width: 0;
  }
  .contact-page-layout {
    grid-template-columns: 1fr;
  }
  .contact-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
  .contact-sidebar-head,
  .contact-channel-list {
    grid-column: 1 / -1;
  }
  .contact-location-visual {
    grid-column: 1 / -1;
  }
}
@media (max-width: 680px) {
  .contact-page-v29 .contact-inner-hero h1 {
    font-size: 45px;
  }
  .contact-sidebar {
    display: flex;
  }
  .contact-sidebar-head,
  .contact-form-v29 {
    padding: 22px !important;
    border-radius: 20px;
  }
  .contact-channel-card {
    grid-template-columns: 42px minmax(0, 1fr);
    min-height: 0;
    padding: 18px;
  }
  .contact-channel-icon {
    width: 42px;
    height: 42px;
  }
  .contact-form-grid {
    grid-template-columns: 1fr !important;
  }
  .contact-form-grid .span-2 {
    grid-column: span 1;
  }
  .contact-form-footer {
    align-items: stretch;
    flex-direction: column;
  }
  .contact-form-footer .button {
    width: 100%;
  }
}

/* === V30 Admin page final refinement === */
#admin.admin-page-v30 .admin-inner-hero-v30 {
  align-items: flex-end;
  gap: 34px;
}
#admin .admin-hero-copy-v30 {
  max-width: 820px;
}
#admin .admin-hero-copy-v30 h1 {
  max-width: 720px;
  margin: 7px 0 16px;
  font-size: clamp(48px, 5.4vw, 72px);
  line-height: 1.02;
}
#admin .admin-hero-copy-v30 p {
  max-width: 740px;
  margin: 0;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.7;
}
#admin .admin-access-card-v30 {
  min-width: 220px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 4px;
}
#admin .admin-access-card-v30 small {
  color: var(--text-soft);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
#admin .admin-access-card-v30 strong {
  color: var(--text);
  font-size: 18px;
  line-height: 1.2;
}
#admin .admin-access-card-v30 span {
  color: var(--green-2);
  font-size: 12px;
  font-weight: 800;
}
#admin .admin-page-content-v30 {
  padding-bottom: 92px;
}
#admin .admin-login-v30 {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  align-items: stretch;
  gap: 0;
  padding: 0 !important;
  overflow: hidden;
  border-radius: 25px;
}
#admin .admin-login-copy-v30 {
  min-width: 0;
  padding: 38px;
  background:
    linear-gradient(135deg, rgba(17,57,48,.96), rgba(34,83,70,.94)),
    url('assets/coffee-plantation-bg.png') center center / cover no-repeat;
  color: #fff;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: start;
  gap: 22px;
}
#admin .admin-login-copy-v30 .section-kicker {
  color: #efca8c !important;
}
#admin .admin-login-copy-v30 h2 {
  margin: 6px 0 10px;
  color: #fff !important;
  font-size: 32px;
  line-height: 1.15;
}
#admin .admin-login-copy-v30 p {
  max-width: 560px;
  margin: 0;
  color: rgba(255,255,255,.82) !important;
  line-height: 1.65;
}
#admin .admin-login-icon-v30 {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
  color: #f0c885;
  display: grid;
  place-items: center;
}
#admin .admin-login-icon-v30 svg {
  width: 30px;
  height: 30px;
}
#admin .admin-login-points-v30 {
  margin-top: 22px;
  display: grid;
  gap: 9px;
}
#admin .admin-login-points-v30 span {
  position: relative;
  padding-left: 22px;
  color: rgba(255,255,255,.88);
  font-size: 13px;
  font-weight: 700;
}
#admin .admin-login-points-v30 span::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #f0c885;
  font-weight: 900;
}
#admin .admin-login-form-v30 {
  min-width: 0;
  padding: 36px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
#admin .admin-login-form-head-v30 {
  padding-bottom: 18px;
  margin-bottom: 2px;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 3px;
}
#admin .admin-login-form-head-v30 strong {
  color: var(--text);
  font-size: 18px;
}
#admin .admin-login-form-head-v30 span {
  color: var(--text-soft);
  font-size: 12px;
}
#admin .admin-login-form-v30 .button {
  width: 100%;
  margin-top: 2px;
}
#admin .admin-demo-hint-v30 {
  text-align: center;
  line-height: 1.5;
}
#admin .admin-dashboard {
  display: grid;
  gap: 22px;
}
#admin .admin-toolbar-v30 {
  margin: 0;
  padding: 24px 26px !important;
  border-radius: 22px;
  align-items: center;
}
#admin .admin-toolbar-v30 > div:first-child {
  min-width: 0;
}
#admin .admin-toolbar-v30 h2 {
  margin: 5px 0 6px !important;
  font-size: 28px;
  line-height: 1.2;
}
#admin .admin-toolbar-v30 p {
  max-width: 680px;
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.6;
}
#admin .admin-toolbar-v30 .admin-toolbar-actions {
  flex: 0 0 auto;
}
#admin .admin-summary-v30 {
  margin: 0;
  gap: 16px;
}
#admin .admin-summary-card-v30 {
  min-height: 132px;
  padding: 22px 24px !important;
  border-radius: 20px;
  display: flex !important;
  flex-direction: column;
  justify-content: center !important;
  gap: 5px;
}
#admin .admin-summary-label-v30 {
  color: var(--text-soft) !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
#admin .admin-summary-card-v30 strong {
  margin: 3px 0;
  color: var(--text);
  font-size: 29px;
  line-height: 1.1;
}
#admin .admin-summary-card-v30 small {
  color: var(--text-soft) !important;
  font-size: 12px;
}
#admin .admin-summary-highlight-v30 {
  background: linear-gradient(135deg, #173f35, #245748) !important;
  border-color: transparent !important;
}
#admin .admin-summary-highlight-v30 .admin-summary-label-v30,
#admin .admin-summary-highlight-v30 small {
  color: rgba(255,255,255,.72) !important;
}
#admin .admin-summary-highlight-v30 strong {
  color: #fff !important;
}
#admin .admin-content-v30 {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
#admin .admin-panel-v30 {
  min-width: 0;
  padding: 26px !important;
  border-radius: 23px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
#admin .admin-panel-head-v30 {
  min-width: 0;
  padding: 0 0 20px !important;
  margin: 0 0 22px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
#admin .admin-panel-head-v30 > div {
  min-width: 0;
}
#admin .admin-panel-head-v30 h2 {
  margin: 5px 0 7px !important;
  font-size: 26px;
  line-height: 1.2;
}
#admin .admin-panel-head-v30 p {
  max-width: 540px;
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.55;
}
#admin .admin-panel-badge-v30 {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--green-2);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}
#admin .admin-form-v30 {
  gap: 16px;
}
#admin .admin-form-section-v30 {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface-soft) 64%, var(--surface));
  display: grid;
  gap: 17px;
}
#admin .admin-form-section-title-v30 {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 3px;
}
#admin .admin-form-section-title-v30 strong {
  color: var(--text);
  font-size: 15px;
  line-height: 1.3;
}
#admin .admin-form-section-title-v30 span {
  color: var(--text-soft);
  font-size: 11px;
  line-height: 1.5;
}
#admin .admin-form-grid-v30 {
  gap: 15px !important;
}
#admin .admin-form-v30 .field {
  min-width: 0;
}
#admin .admin-form-v30 .field label {
  color: var(--text);
  line-height: 1.3;
}
#admin .admin-form-v30 input,
#admin .admin-form-v30 select,
#admin .admin-form-v30 .input-prefix,
#admin .admin-form-v30 .input-suffix {
  min-width: 0;
  border-radius: 13px;
}
#admin .admin-form-v30 .field-help {
  margin-top: 1px;
  min-height: 0;
  font-size: 10px;
  line-height: 1.45;
}
#admin .admin-form-actions-v30 {
  padding-top: 17px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
#admin .admin-form-actions-v30 p {
  max-width: 430px;
  margin: 0;
  color: var(--text-soft);
  font-size: 11px;
  line-height: 1.5;
}
#admin .admin-form-actions-v30 .button {
  flex: 0 0 auto;
  min-width: 165px;
}
#admin .product-image-preview-v30 {
  min-height: 210px;
  height: 210px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(21,62,53,.04), rgba(197,154,88,.09)),
    var(--surface);
}
#admin .admin-list-v30 {
  margin-top: 24px !important;
  padding-top: 22px !important;
}
#admin .admin-list-head-v30 {
  margin-bottom: 14px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
#admin .admin-list-head-v30 h3 {
  margin: 0 0 4px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.3;
}
#admin .admin-list-head-v30 p {
  margin: 0;
  color: var(--text-soft);
  font-size: 11px;
  line-height: 1.5;
}
#admin .admin-table {
  min-width: 610px;
}
#admin .admin-table th {
  padding: 13px 11px !important;
  background: color-mix(in srgb, var(--surface-soft) 76%, var(--surface));
  white-space: nowrap;
}
#admin .admin-table td {
  padding: 14px 11px !important;
  vertical-align: middle;
  line-height: 1.45;
}
#admin .admin-table td:first-child {
  min-width: 155px;
  white-space: normal;
}
#admin .admin-product-list {
  gap: 11px;
}
#admin .admin-product-item {
  grid-template-columns: 72px minmax(0, 1fr) auto;
  min-height: 76px;
  padding: 11px !important;
  border-radius: 15px;
  background: color-mix(in srgb, var(--surface-soft) 46%, var(--surface));
}
#admin .admin-product-item img {
  width: 72px;
  height: 58px;
  border-radius: 11px;
}
#admin .admin-product-item strong {
  color: var(--text);
  line-height: 1.35;
}
#admin .admin-product-item span {
  color: var(--green-2);
  line-height: 1.3;
}
[data-theme="dark"] #admin .admin-form-section-v30,
[data-theme="dark"] #admin .admin-product-item {
  background: color-mix(in srgb, var(--surface-soft) 76%, var(--surface));
}
@media (max-width: 1080px) {
  #admin .admin-content-v30 {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 900px) {
  #admin .admin-inner-hero-v30 {
    align-items: flex-start;
  }
  #admin .admin-access-card-v30 {
    width: 100%;
    min-width: 0;
  }
  #admin .admin-login-v30 {
    grid-template-columns: 1fr;
  }
  #admin .admin-login-copy-v30 {
    min-height: 310px;
  }
  #admin .admin-toolbar-v30 {
    align-items: flex-start;
    flex-direction: column;
  }
  #admin .admin-toolbar-v30 .admin-toolbar-actions {
    width: 100%;
  }
}
@media (max-width: 700px) {
  #admin .admin-hero-copy-v30 h1 {
    font-size: 45px;
  }
  #admin .admin-login-copy-v30 {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 26px;
  }
  #admin .admin-login-form-v30 {
    padding: 24px;
  }
  #admin .admin-summary-v30 {
    grid-template-columns: 1fr;
  }
  #admin .admin-panel-v30 {
    padding: 22px !important;
    border-radius: 20px;
  }
  #admin .admin-panel-head-v30 {
    align-items: flex-start;
    flex-direction: column;
  }
  #admin .admin-panel-badge-v30 {
    align-self: flex-start;
  }
  #admin .admin-form-section-v30 {
    padding: 17px;
  }
  #admin .admin-form-grid-v30 {
    grid-template-columns: 1fr !important;
  }
  #admin .admin-form-actions-v30 {
    align-items: stretch;
    flex-direction: column;
  }
  #admin .admin-form-actions-v30 .button {
    width: 100%;
  }
  #admin .admin-toolbar-v30 .admin-toolbar-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  #admin .admin-toolbar-v30 .button {
    width: 100%;
  }
}
@media (max-width: 480px) {
  #admin .admin-login-copy-v30,
  #admin .admin-login-form-v30,
  #admin .admin-panel-v30,
  #admin .admin-toolbar-v30 {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  #admin .admin-product-item {
    grid-template-columns: 60px minmax(0, 1fr);
  }
  #admin .admin-product-item img {
    width: 60px;
    height: 52px;
  }
  #admin .admin-product-item .button,
  #admin .admin-product-item button {
    grid-column: 1 / -1;
    width: 100%;
  }
}

/* === V31 Footer, Authentication and Global Modal Final === */
.footer-v31 {
  padding: 0;
  background:
    radial-gradient(circle at top right, rgba(197,154,88,.13), transparent 28%),
    linear-gradient(180deg, #12352d 0%, #0d2922 100%);
  color: #d8e3de;
}
.footer-main-v31 {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 72px;
  padding-top: 68px;
  padding-bottom: 46px;
}
.footer-brand-v31 {
  min-width: 0;
  max-width: 560px;
}
.footer-brand-v31 .brand {
  margin-bottom: 20px;
}
.footer-brand-v31 .brand-mark {
  width: 58px;
  height: 58px;
}
.footer-brand-v31 p {
  max-width: 540px;
  margin: 0;
  color: #c9d7d1;
  line-height: 1.75;
  font-size: 14px;
}
.footer-meta-v31 {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.footer-meta-v31 span,
.footer-meta-v31 a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  color: #edf4f1;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}
.footer-meta-v31 a {
  word-break: break-word;
}
.footer-meta-v31 a:hover {
  background: rgba(255,255,255,.10);
}
.footer-links-v31 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  align-items: start;
}
.footer-links-v31 > div {
  min-width: 0;
}
.footer-links-v31 h4 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 13px;
  letter-spacing: .04em;
}
.footer-links-v31 a {
  display: block;
  margin: 0 0 10px;
  color: #c7d5cf;
  font-size: 13px;
  line-height: 1.5;
}
.footer-links-v31 a:hover {
  color: #ffffff;
}
.footer-bottom-v31 {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 22px;
  min-height: 68px;
  padding-top: 18px;
  padding-bottom: 18px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: #b9c9c2;
  font-size: 11px;
}
.footer-demo-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(197,154,88,.16);
  color: #efd6ae;
  font-weight: 800;
}

.auth-modal-v31 {
  width: min(100%, 920px);
  padding: 0;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid color-mix(in srgb, var(--border) 88%, transparent);
}
.auth-modal-v31 .modal-close {
  top: 16px;
  right: 16px;
  z-index: 4;
}
.auth-shell-v31 {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  min-height: 610px;
}
.auth-intro-v31 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 34px;
  padding: 40px;
  background:
    linear-gradient(180deg, rgba(13,46,39,.86), rgba(13,46,39,.95)),
    url('assets/coffee-plantation-bg.png') center / cover no-repeat;
  color: #ffffff;
}
.auth-intro-brand-v31 {
  display: flex;
  align-items: center;
  gap: 13px;
}
.auth-intro-brand-v31 .brand-mark {
  width: 54px;
  height: 54px;
}
.auth-intro-brand-v31 > div {
  display: grid;
  gap: 3px;
}
.auth-intro-brand-v31 strong {
  font-size: 15px;
}
.auth-intro-brand-v31 small {
  color: rgba(255,255,255,.72);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.auth-intro-copy-v31 h3 {
  margin: 10px 0 14px;
  max-width: 12ch;
  font-family: Georgia, serif;
  font-size: 36px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.035em;
}
.auth-intro-copy-v31 p {
  margin: 0;
  color: rgba(255,255,255,.82);
  line-height: 1.7;
  font-size: 14px;
}
.auth-benefits-v31 {
  display: grid;
  gap: 10px;
}
.auth-benefits-v31 > div {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 13px;
  background: rgba(255,255,255,.06);
}
.auth-benefits-v31 span {
  color: #e9c997;
  font-size: 11px;
  font-weight: 900;
}
.auth-benefits-v31 p {
  margin: 0;
  color: #f3f7f5;
  font-size: 12px;
  line-height: 1.4;
}
.auth-content-v31 {
  min-width: 0;
  padding: 42px;
  background: var(--surface);
}
.auth-brand-v31 {
  display: none;
}
.auth-content-v31 h2 {
  margin: 0 0 7px;
  font-size: 30px;
  line-height: 1.15;
}
.auth-content-v31 > p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.6;
}
.auth-content-v31 .auth-tabs {
  margin: 24px 0;
  padding: 5px;
  border: 1px solid var(--border);
  border-radius: 14px;
}
.auth-content-v31 .auth-tabs button {
  min-height: 40px;
  border-radius: 10px;
}
.auth-content-v31 .auth-panel {
  gap: 16px;
}
.auth-content-v31 .field {
  gap: 7px;
}
.auth-content-v31 .button.full {
  width: 100%;
  margin-top: 2px;
}
.auth-demo-note-v31 {
  display: grid;
  gap: 5px;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface-soft);
}
.auth-demo-note-v31 strong {
  color: var(--text);
  font-size: 12px;
}
.auth-demo-note-v31 span,
.auth-register-note-v31 {
  color: var(--text-soft);
  font-size: 11px;
  line-height: 1.45;
}
.auth-register-note-v31 {
  display: block;
  margin-top: 2px;
}
.detail-modal {
  width: min(100%, 720px);
  padding: 30px;
  border-radius: 24px;
}
.detail-modal .detail-header {
  padding-right: 46px;
}
.detail-modal .detail-grid {
  gap: 12px;
}
.detail-modal .detail-grid > div,
.detail-modal .detail-notes {
  padding: 15px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-soft);
}
.toast {
  border-radius: 18px;
  padding: 15px 16px;
}

@media (max-width: 980px) {
  .footer-main-v31 {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .footer-brand-v31 {
    max-width: 700px;
  }
  .footer-links-v31 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .auth-shell-v31 {
    grid-template-columns: 1fr;
  }
  .auth-intro-v31 {
    display: none;
  }
  .auth-content-v31 {
    padding: 34px;
  }
  .auth-brand-v31 {
    display: flex;
    margin-bottom: 20px;
  }
}
@media (max-width: 680px) {
  .footer-main-v31 {
    padding-top: 50px;
    padding-bottom: 34px;
    gap: 34px;
  }
  .footer-links-v31 {
    grid-template-columns: 1fr 1fr;
    gap: 28px 24px;
  }
  .footer-links-v31 > div:last-child {
    grid-column: 1 / -1;
  }
  .footer-bottom-v31 {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 8px;
    padding-top: 18px;
    padding-bottom: 20px;
  }
  .auth-modal-v31 {
    border-radius: 20px;
  }
  .auth-content-v31 {
    padding: 28px 20px 24px;
  }
  .auth-content-v31 h2 {
    font-size: 26px;
  }
  .auth-content-v31 .form-grid.two {
    grid-template-columns: 1fr;
  }
  .auth-content-v31 .span-2 {
    grid-column: auto;
  }
  .detail-modal {
    padding: 24px 18px;
  }
}


/* === V33 Compact Footer Refinement === */
.footer-v31 {
  padding: 0 !important;
}
.footer-main-v31 {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) !important;
  gap: 46px !important;
  padding-top: 38px !important;
  padding-bottom: 24px !important;
}
.footer-brand-v31 {
  max-width: 500px !important;
}
.footer-brand-v31 .brand {
  margin-bottom: 12px !important;
}
.footer-brand-v31 .brand-mark {
  width: 46px !important;
  height: 46px !important;
}
.footer-brand-v31 .brand-copy strong {
  font-size: 17px !important;
}
.footer-brand-v31 .brand-copy small {
  font-size: 8px !important;
}
.footer-brand-v31 p {
  max-width: 480px !important;
  line-height: 1.55 !important;
  font-size: 13px !important;
}
.footer-meta-v31 {
  gap: 8px !important;
  margin-top: 14px !important;
}
.footer-meta-v31 span,
.footer-meta-v31 a {
  min-height: 30px !important;
  padding: 6px 10px !important;
  font-size: 11px !important;
}
.footer-links-v31 {
  gap: 24px !important;
}
.footer-links-v31 h4 {
  margin-bottom: 10px !important;
  font-size: 12px !important;
}
.footer-links-v31 a {
  margin-bottom: 6px !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
}
.footer-bottom-v31 {
  grid-template-columns: 1fr auto auto !important;
  gap: 16px !important;
  min-height: 48px !important;
  padding-top: 11px !important;
  padding-bottom: 11px !important;
  font-size: 10px !important;
}
.footer-demo-label {
  min-height: 24px !important;
  padding: 4px 8px !important;
  font-size: 9px !important;
}
@media (max-width: 980px) {
  .footer-main-v31 {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) !important;
    gap: 32px !important;
  }
  .footer-links-v31 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }
}
@media (max-width: 760px) {
  .footer-main-v31 {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    padding-top: 30px !important;
    padding-bottom: 20px !important;
  }
  .footer-brand-v31 {
    max-width: none !important;
  }
  .footer-links-v31 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }
  .footer-bottom-v31 {
    grid-template-columns: 1fr auto !important;
    gap: 8px 14px !important;
    min-height: 0 !important;
    padding-top: 12px !important;
    padding-bottom: 14px !important;
  }
  .footer-bottom-v31 > span:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}
@media (max-width: 520px) {
  .footer-main-v31 {
    padding-top: 26px !important;
    padding-bottom: 18px !important;
  }
  .footer-links-v31 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px 22px !important;
  }
  .footer-links-v31 > div:last-child {
    grid-column: auto !important;
  }
  .footer-brand-v31 p {
    font-size: 12px !important;
  }
  .footer-bottom-v31 {
    grid-template-columns: 1fr !important;
    justify-items: start !important;
  }
  .footer-bottom-v31 > span:nth-child(2) {
    grid-column: auto !important;
    grid-row: auto !important;
  }
}

/* === V35 Footer compact + About hero wider === */
.footer-main-v31 {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) !important;
  gap: 34px !important;
  padding-top: 26px !important;
  padding-bottom: 16px !important;
}
.footer-brand-v31 {
  max-width: 460px !important;
}
.footer-brand-v31 .brand {
  margin-bottom: 8px !important;
  gap: 10px !important;
}
.footer-brand-v31 .brand-mark {
  width: 42px !important;
  height: 42px !important;
}
.footer-brand-v31 .brand-copy {
  gap: 4px !important;
}
.footer-brand-v31 .brand-copy strong {
  color: #ffffff !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  letter-spacing: .20em !important;
  text-shadow: 0 2px 10px rgba(0,0,0,.24);
}
.footer-brand-v31 .brand-copy small {
  color: #f1c982 !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  letter-spacing: .30em !important;
  opacity: 1 !important;
}
.footer-brand-v31 p {
  max-width: 430px !important;
  font-size: 12px !important;
  line-height: 1.48 !important;
}
.footer-meta-v31 {
  gap: 7px !important;
  margin-top: 10px !important;
}
.footer-meta-v31 span,
.footer-meta-v31 a {
  min-height: 26px !important;
  padding: 4px 8px !important;
  border-radius: 8px !important;
  font-size: 10px !important;
  line-height: 1.2 !important;
}
.footer-links-v31 {
  gap: 20px !important;
}
.footer-links-v31 h4 {
  margin-bottom: 7px !important;
  font-size: 11px !important;
}
.footer-links-v31 a {
  margin-bottom: 4px !important;
  font-size: 11px !important;
  line-height: 1.35 !important;
}
.footer-bottom-v31 {
  min-height: 40px !important;
  gap: 12px !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  font-size: 9px !important;
}
.footer-demo-label {
  min-height: 21px !important;
  padding: 3px 7px !important;
  font-size: 8px !important;
}

#tentang .about-hero-copy-v28 {
  width: min(1040px, 100%) !important;
  max-width: none !important;
}
#tentang .about-hero-copy-v28 h1 {
  max-width: 17ch !important;
  font-size: clamp(46px, 5.2vw, 70px) !important;
  line-height: 1.04 !important;
}
#tentang .about-hero-copy-v28 > p {
  max-width: 900px !important;
}

@media (max-width: 980px) {
  .footer-main-v31 {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    padding-top: 24px !important;
    padding-bottom: 14px !important;
  }
  .footer-brand-v31 {
    max-width: 680px !important;
  }
  .footer-links-v31 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
  #tentang .about-hero-copy-v28 h1 {
    max-width: 15ch !important;
  }
}
@media (max-width: 600px) {
  .footer-main-v31 {
    padding-top: 22px !important;
    padding-bottom: 12px !important;
    gap: 16px !important;
  }
  .footer-links-v31 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px 20px !important;
  }
  .footer-links-v31 > div:last-child {
    grid-column: auto !important;
  }
  .footer-bottom-v31 {
    grid-template-columns: 1fr !important;
    gap: 4px !important;
    padding-top: 8px !important;
    padding-bottom: 10px !important;
  }
  #tentang .about-hero-copy-v28 h1 {
    max-width: none !important;
    font-size: 41px !important;
  }
  #tentang .about-hero-copy-v28 > p {
    max-width: none !important;
  }
}


/* === V35 Footer Compact + About Title Width === */
.footer-v31 {
  padding: 0 !important;
}
.footer-main-v31 {
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr) !important;
  gap: 34px !important;
  padding-top: 26px !important;
  padding-bottom: 16px !important;
  align-items: start !important;
}
.footer-brand-v31 {
  max-width: 470px !important;
}
.footer-brand-v31 .brand {
  margin-bottom: 8px !important;
  gap: 10px !important;
}
.footer-brand-v31 .brand-mark {
  width: 42px !important;
  height: 42px !important;
}
.footer-brand-v31 .brand-copy {
  gap: 4px !important;
}
.footer-brand-v31 .brand-copy strong {
  color: #ffffff !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  letter-spacing: .18em !important;
  text-shadow: 0 1px 10px rgba(0,0,0,.18);
}
.footer-brand-v31 .brand-copy small {
  color: #efc98f !important;
  font-size: 8px !important;
  font-weight: 800 !important;
  letter-spacing: .28em !important;
}
.footer-brand-v31 p {
  max-width: 455px !important;
  margin: 0 !important;
  color: #e0e9e5 !important;
  font-size: 12px !important;
  line-height: 1.48 !important;
}
.footer-meta-v31 {
  gap: 7px !important;
  margin-top: 10px !important;
}
.footer-meta-v31 span,
.footer-meta-v31 a {
  min-height: 27px !important;
  padding: 5px 9px !important;
  border-radius: 9px !important;
  border-color: rgba(255,255,255,.14) !important;
  background: rgba(255,255,255,.06) !important;
  color: #f4f7f6 !important;
  font-size: 10px !important;
  font-weight: 700 !important;
}
.footer-links-v31 {
  gap: 18px !important;
}
.footer-links-v31 h4 {
  margin: 0 0 7px !important;
  color: #ffffff !important;
  font-size: 11px !important;
  letter-spacing: .05em !important;
}
.footer-links-v31 a {
  margin: 0 0 4px !important;
  color: #d3dfda !important;
  font-size: 11px !important;
  line-height: 1.35 !important;
}
.footer-links-v31 a:hover {
  color: #ffffff !important;
}
.footer-bottom-v31 {
  grid-template-columns: 1fr auto auto !important;
  gap: 12px !important;
  min-height: 40px !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  color: #c0cec8 !important;
  font-size: 9.5px !important;
}
.footer-demo-label {
  min-height: 21px !important;
  padding: 3px 7px !important;
  font-size: 8px !important;
}

#tentang .about-hero-copy-v28 {
  width: min(1040px, 100%) !important;
  max-width: none !important;
}
#tentang .about-hero-copy-v28 h1 {
  width: min(100%, 1020px) !important;
  max-width: none !important;
  font-size: clamp(46px, 5.25vw, 72px) !important;
  line-height: 1.03 !important;
  text-wrap: balance;
}
#tentang .about-hero-copy-v28 > p {
  max-width: 900px !important;
}

@media (max-width: 980px) {
  .footer-main-v31 {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    padding-top: 24px !important;
    padding-bottom: 14px !important;
  }
  .footer-brand-v31 {
    max-width: none !important;
  }
  .footer-links-v31 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
  #tentang .about-hero-copy-v28 h1 {
    width: min(100%, 900px) !important;
    font-size: clamp(44px, 7vw, 64px) !important;
  }
}

@media (max-width: 680px) {
  .footer-main-v31 {
    gap: 16px !important;
    padding-top: 22px !important;
    padding-bottom: 12px !important;
  }
  .footer-links-v31 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px 20px !important;
  }
  .footer-links-v31 > div:last-child {
    grid-column: auto !important;
  }
  .footer-bottom-v31 {
    grid-template-columns: 1fr !important;
    justify-items: start !important;
    gap: 4px !important;
    padding-top: 8px !important;
    padding-bottom: 10px !important;
  }
  #tentang .about-hero-copy-v28 h1 {
    width: 100% !important;
    font-size: 42px !important;
    line-height: 1.06 !important;
  }
}

@media (max-width: 520px) {
  .footer-brand-v31 .brand-mark {
    width: 38px !important;
    height: 38px !important;
  }
  .footer-brand-v31 .brand-copy strong {
    font-size: 16px !important;
  }
  .footer-brand-v31 p {
    font-size: 11px !important;
  }
  .footer-meta-v31 {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
  .footer-meta-v31 span,
  .footer-meta-v31 a {
    width: 100% !important;
    justify-content: flex-start !important;
  }
  .footer-links-v31 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px 18px !important;
  }
}

/* === V36 Footer links aligned in one row === */
.footer-main-v31 {
  display: grid !important;
  grid-template-columns: minmax(300px, 1.35fr) repeat(3, minmax(120px, .65fr)) !important;
  column-gap: 28px !important;
  row-gap: 0 !important;
  align-items: start !important;
  padding-top: 24px !important;
  padding-bottom: 14px !important;
}
.footer-brand-v31 {
  grid-column: 1 !important;
  max-width: 430px !important;
  min-width: 0 !important;
}
.footer-links-v31 {
  display: contents !important;
}
.footer-links-v31 > div {
  min-width: 0 !important;
  display: grid !important;
  align-content: start !important;
  gap: 4px !important;
}
.footer-links-v31 > div:nth-child(1) { grid-column: 2 !important; }
.footer-links-v31 > div:nth-child(2) { grid-column: 3 !important; }
.footer-links-v31 > div:nth-child(3) { grid-column: 4 !important; }
.footer-links-v31 h4 {
  margin: 2px 0 7px !important;
  font-size: 11px !important;
  line-height: 1.25 !important;
}
.footer-links-v31 a {
  margin: 0 !important;
  padding: 1px 0 !important;
  font-size: 10.5px !important;
  line-height: 1.35 !important;
}
.footer-brand-v31 p {
  max-width: 410px !important;
  font-size: 11.5px !important;
  line-height: 1.45 !important;
}
.footer-meta-v31 {
  margin-top: 8px !important;
}
.footer-bottom-v31 {
  min-height: 36px !important;
  padding-top: 7px !important;
  padding-bottom: 7px !important;
}

@media (max-width: 980px) {
  .footer-main-v31 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    column-gap: 22px !important;
    row-gap: 14px !important;
    padding-top: 22px !important;
    padding-bottom: 12px !important;
  }
  .footer-brand-v31 {
    grid-column: 1 / -1 !important;
    max-width: none !important;
  }
  .footer-brand-v31 p {
    max-width: 680px !important;
  }
  .footer-links-v31 > div:nth-child(1) { grid-column: 1 !important; }
  .footer-links-v31 > div:nth-child(2) { grid-column: 2 !important; }
  .footer-links-v31 > div:nth-child(3) { grid-column: 3 !important; }
}

@media (max-width: 600px) {
  .footer-main-v31 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    column-gap: 12px !important;
    row-gap: 12px !important;
    padding-top: 20px !important;
    padding-bottom: 10px !important;
  }
  .footer-links-v31 h4 {
    font-size: 10px !important;
    margin-bottom: 5px !important;
  }
  .footer-links-v31 a {
    font-size: 9.5px !important;
    line-height: 1.3 !important;
    overflow-wrap: anywhere;
  }
  .footer-brand-v31 p {
    max-width: none !important;
    font-size: 11px !important;
  }
  .footer-meta-v31 {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
  }
  .footer-meta-v31 span,
  .footer-meta-v31 a {
    width: auto !important;
    min-height: 25px !important;
    padding: 4px 8px !important;
    font-size: 9px !important;
  }
}

@media (max-width: 420px) {
  .footer-main-v31 {
    column-gap: 8px !important;
  }
  .footer-links-v31 h4 {
    font-size: 9.5px !important;
  }
  .footer-links-v31 a {
    font-size: 8.8px !important;
  }
}

/* === V37 Admin approval & settings === */
.admin-summary-v37 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.admin-section-nav-v37 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}
.admin-section-nav-v37 button {
  min-height: 42px;
  border: 0;
  border-radius: 11px;
  padding: 10px 16px;
  background: transparent;
  color: var(--text-soft);
  font-weight: 800;
  white-space: nowrap;
}
.admin-section-nav-v37 button:hover,
.admin-section-nav-v37 button.active {
  background: var(--surface-soft);
  color: var(--green-2);
}
.admin-section-nav-v37 button span {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  min-height: 22px;
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--green-2);
  font-size: 11px;
}
.admin-section-panel-v37 { display: none !important; }
.admin-section-panel-v37.active { display: grid !important; }
#adminSectionUsers.active,
#adminSectionSettings.active { display: block !important; }
.admin-users-grid-v37,
.admin-settings-grid-v37 {
  display: grid;
  gap: 20px;
}
.admin-settings-grid-v37 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}
.admin-data-panel-v37 { grid-column: 1 / -1; }
.admin-users-panel-v37 { overflow: hidden; }
.admin-users-table-v37 { min-width: 780px; }
.admin-users-table-v37 td:first-child strong,
.admin-users-table-v37 td:first-child small { display: block; }
.admin-role-select-v37 {
  min-width: 150px;
  min-height: 38px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
}
.approve-action-v37 {
  background: color-mix(in srgb, var(--positive) 14%, var(--surface)) !important;
  color: var(--positive) !important;
}
.user-status-v37 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}
.user-status-v37.approved {
  background: color-mix(in srgb, var(--positive) 14%, transparent);
  color: var(--positive);
}
.user-status-v37.inactive,
.user-status-v37.rejected {
  background: color-mix(in srgb, var(--negative) 12%, transparent);
  color: var(--negative);
}
.admin-toggle-list-v37 {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}
.admin-toggle-row-v37 {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 72px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
  cursor: pointer;
}
.admin-toggle-row-v37 > span {
  display: grid;
  gap: 3px;
}
.admin-toggle-row-v37 strong { color: var(--text); font-size: 14px; }
.admin-toggle-row-v37 small { color: var(--text-soft); line-height: 1.45; }
.admin-toggle-row-v37 input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.admin-toggle-row-v37 i {
  position: relative;
  width: 48px;
  height: 27px;
  border-radius: 999px;
  background: var(--line-strong);
  transition: .2s ease;
}
.admin-toggle-row-v37 i::after {
  content: "";
  position: absolute;
  width: 21px;
  height: 21px;
  left: 3px;
  top: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 3px 8px rgba(0,0,0,.18);
  transition: .2s ease;
}
.admin-toggle-row-v37 input:checked + i { background: var(--green-3); }
.admin-toggle-row-v37 input:checked + i::after { transform: translateX(21px); }
.admin-data-actions-v37 {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.admin-import-button-v37 { position: relative; overflow: hidden; }
.admin-import-button-v37 input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.admin-data-note-v37 {
  margin: 14px 0 0;
  color: var(--text-soft);
  font-size: 12px;
}
@media (max-width: 1150px) {
  .admin-summary-v37 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .admin-settings-grid-v37 { grid-template-columns: 1fr; }
  .admin-data-panel-v37 { grid-column: auto; }
}
@media (max-width: 680px) {
  .admin-summary-v37 { grid-template-columns: 1fr 1fr; }
  .admin-summary-v37 > div:last-child { grid-column: 1 / -1; }
  .admin-section-nav-v37 { margin-inline: -2px; }
  .admin-section-nav-v37 button { padding-inline: 13px; }
  .admin-toggle-row-v37 { padding: 14px; }
  .admin-data-actions-v37 .button { width: 100%; }
}
.auth-tabs.registration-disabled { grid-template-columns: 1fr; }

/* === V38 Multi-language selector === */
.header-actions { position: relative; }
.language-selector { position: relative; flex: 0 0 auto; }
.language-button {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: color-mix(in srgb, var(--surface) 96%, white);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  box-shadow: 0 7px 18px rgba(18, 38, 31, .05);
  transition: .2s ease;
}
.language-button:hover,
.language-button.active {
  border-color: color-mix(in srgb, var(--gold) 55%, var(--border));
  background: color-mix(in srgb, var(--gold-soft) 48%, var(--surface));
  transform: translateY(-1px);
}
.language-current-flag { font-size: 21px; line-height: 1; }
.language-chevron { font-size: 11px; color: var(--text-soft); line-height: 1; transform: translateY(-1px); }
.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 500;
  width: 238px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 98%, transparent);
  box-shadow: 0 22px 60px rgba(9, 28, 22, .18);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(.98);
  transform-origin: top right;
  transition: .18s ease;
}
.language-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.language-menu button {
  width: 100%;
  min-height: 48px;
  display: grid;
  grid-template-columns: 34px 1fr;
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: center;
  padding: 8px 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  text-align: left;
  transition: .16s ease;
}
.language-menu button:hover,
.language-menu button.active {
  background: color-mix(in srgb, var(--gold-soft) 55%, var(--surface));
}
.language-menu button > span {
  grid-row: 1 / 3;
  font-size: 23px;
  line-height: 1;
}
.language-menu button strong { font-size: 13px; line-height: 1.2; }
.language-menu button small { color: var(--text-soft); font-size: 10px; line-height: 1.2; }
.navigation-menu-button {
  width: 44px;
  height: 44px;
  padding: 0 !important;
}
.navigation-menu-glyph { font-size: 21px; line-height: 1; }
html[dir="rtl"] body { direction: rtl; }
html[dir="rtl"] .language-menu { right: auto; left: 0; transform-origin: top left; }
html[dir="rtl"] .language-menu button { text-align: right; grid-template-columns: 1fr 34px; }
html[dir="rtl"] .language-menu button > span { grid-column: 2; }
html[dir="rtl"] .language-menu button strong,
html[dir="rtl"] .language-menu button small { grid-column: 1; }
html[dir="rtl"] input[type="email"],
html[dir="rtl"] input[type="tel"],
html[dir="rtl"] input[type="number"],
html[dir="rtl"] input[type="date"],
html[dir="rtl"] .input-prefix,
html[dir="rtl"] .input-suffix,
html[dir="rtl"] .price-table,
html[dir="rtl"] .admin-table { direction: ltr; }
html[dir="rtl"] .price-table th,
html[dir="rtl"] .price-table td,
html[dir="rtl"] .admin-table th,
html[dir="rtl"] .admin-table td { text-align: right; }
html[dir="rtl"] .home-company-link,
html[dir="rtl"] .card-link { flex-direction: row-reverse; }
html[dir="rtl"] .section-kicker { letter-spacing: 0; }
html[data-language="zh"] body { font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", Inter, system-ui, sans-serif; }
html[data-language="ar"] body { font-family: "Noto Sans Arabic", Tahoma, Arial, sans-serif; }
html[data-language="ar"] h1,
html[data-language="ar"] h2,
html[data-language="ar"] h3 { letter-spacing: 0 !important; line-height: 1.35; }
@media (max-width: 980px) {
  .header-actions { gap: 7px; }
  .navigation-menu-button { display: inline-flex; }
}
@media (min-width: 981px) {
  .navigation-menu-button { display: none !important; }
}
@media (max-width: 650px) {
  .brand-copy { display: none; }
  .header-inner { gap: 8px; }
  .header-actions { margin-left: auto; }
  .desktop-login { max-width: 118px; padding-inline: 12px !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .language-button,
  .navigation-menu-button,
  .icon-button { width: 42px; height: 42px; }
  .language-menu { position: fixed; top: 74px; right: 12px; left: auto; width: min(250px, calc(100vw - 24px)); }
  html[dir="rtl"] .language-menu { right: auto; left: 12px; }
}
@media (max-width: 430px) {
  .header-actions { gap: 5px; }
  .desktop-login { max-width: 92px; font-size: 11px; min-height: 42px; padding-inline: 9px !important; }
  .language-button,
  .navigation-menu-button,
  .icon-button { width: 40px; height: 40px; }
}

/* === V39 Generate Basis Otomatis === */
.admin-bulk-basis-v39 {
  display: grid;
  gap: 18px;
  margin-bottom: 24px;
  padding: 22px;
  border: 1px solid color-mix(in srgb, var(--green-3) 24%, var(--line));
  border-radius: 18px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--green-3) 7%, var(--surface)), var(--surface));
}
.admin-bulk-head-v39 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.admin-bulk-head-v39 h3 {
  margin: 4px 0 6px;
  color: var(--text);
  font-size: 1.18rem;
  line-height: 1.25;
}
.admin-bulk-head-v39 p {
  max-width: 590px;
  margin: 0;
  color: var(--text-soft);
  font-size: .84rem;
  line-height: 1.55;
}
.admin-bulk-defaults-v39 {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  flex: 0 0 auto;
}
.admin-bulk-defaults-v39 span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid color-mix(in srgb, var(--gold) 28%, var(--line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--gold-soft) 72%, var(--surface));
  color: var(--text-soft);
  font-size: .73rem;
  font-weight: 700;
  white-space: nowrap;
}
.admin-bulk-defaults-v39 strong { color: var(--text); }
.admin-bulk-text-field-v39 textarea {
  min-height: 218px;
  resize: vertical;
  line-height: 1.62;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: .82rem;
  background: color-mix(in srgb, var(--surface) 97%, var(--surface-soft));
}
.admin-bulk-controls-v39 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 180px));
  gap: 14px;
}
.admin-bulk-status-v39 {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
}
.admin-bulk-status-icon-v39 {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 11px;
  background: var(--surface);
  color: var(--green-2);
  font-size: .82rem;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px var(--line);
}
.admin-bulk-status-v39 > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.admin-bulk-status-v39 strong {
  color: var(--text);
  font-size: .84rem;
  line-height: 1.35;
}
.admin-bulk-status-v39 small {
  color: var(--text-soft);
  font-size: .72rem;
  line-height: 1.45;
}
.admin-bulk-status-v39[data-level="success"] {
  border-color: color-mix(in srgb, var(--positive) 36%, var(--line));
  background: color-mix(in srgb, var(--positive) 7%, var(--surface));
}
.admin-bulk-status-v39[data-level="success"] .admin-bulk-status-icon-v39 {
  background: color-mix(in srgb, var(--positive) 15%, var(--surface));
  color: var(--positive);
}
.admin-bulk-status-v39[data-level="warning"] {
  border-color: color-mix(in srgb, var(--gold) 42%, var(--line));
  background: color-mix(in srgb, var(--gold-soft) 55%, var(--surface));
}
.admin-bulk-status-v39[data-level="error"] {
  border-color: color-mix(in srgb, var(--negative) 36%, var(--line));
  background: color-mix(in srgb, var(--negative) 7%, var(--surface));
}
.admin-bulk-status-v39[data-level="error"] .admin-bulk-status-icon-v39 {
  background: color-mix(in srgb, var(--negative) 14%, var(--surface));
  color: var(--negative);
}
.admin-bulk-preview-v39 {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
}
.admin-bulk-preview-head-v39 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
}
.admin-bulk-preview-head-v39 > div {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.admin-bulk-preview-head-v39 strong { color: var(--text); font-size: .84rem; }
.admin-bulk-preview-head-v39 span { color: var(--text-soft); font-size: .72rem; }
.admin-bulk-preview-table-v39 { min-width: 650px; }
.admin-bulk-preview-table-v39 th,
.admin-bulk-preview-table-v39 td { padding: 11px 12px; }
.admin-bulk-actions-v39 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.admin-bulk-actions-v39 .button:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.admin-manual-separator-v39 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 2px 0 22px;
  color: var(--text-soft);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.admin-manual-separator-v39::before,
.admin-manual-separator-v39::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}
[dir="rtl"] .admin-bulk-head-v39,
[dir="rtl"] .admin-bulk-actions-v39,
[dir="rtl"] .admin-bulk-preview-head-v39 { direction: rtl; }
@media (max-width: 760px) {
  .admin-bulk-basis-v39 { padding: 17px; }
  .admin-bulk-head-v39 { flex-direction: column; }
  .admin-bulk-defaults-v39 { justify-content: flex-start; }
  .admin-bulk-controls-v39 { grid-template-columns: 1fr 1fr; }
  .admin-bulk-actions-v39 { flex-direction: column-reverse; align-items: stretch; }
  .admin-bulk-actions-v39 .button { width: 100%; }
}
@media (max-width: 480px) {
  .admin-bulk-controls-v39 { grid-template-columns: 1fr; }
}


/* === V40 Admin Basis and Product tabs separated === */
#admin .admin-separated-panel-v40 {
  grid-template-columns: minmax(0, 1fr) !important;
  width: 100%;
}
#admin .admin-separated-panel-v40 > .admin-panel-v30 {
  width: 100%;
  min-width: 0;
}
#admin .admin-section-nav-v37 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 760px) {
  #admin .admin-section-nav-v37 {
    display: flex;
    overflow-x: auto;
    scrollbar-width: thin;
    padding-bottom: 4px;
  }
  #admin .admin-section-nav-v37 button {
    flex: 0 0 auto;
    min-width: 128px;
    white-space: nowrap;
  }
}

/* === V41 production admin activity === */
.admin-activity-grid-v41 { display: grid; grid-template-columns: 1fr; gap: 20px; }
.admin-activity-table-v41 { min-width: 980px; }
.admin-message-cell-v41 { min-width: 260px; max-width: 420px; white-space: normal; line-height: 1.55; }
.admin-message-new-v41 { background: color-mix(in srgb, var(--gold-soft) 42%, transparent); }
.admin-message-new-v41 td:first-child { border-left: 3px solid var(--gold); }

/* === V42 Unified profile/login menu === */
.header-brand-cluster {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.header-actions {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  flex: 0 0 auto;
}
.account-menu { position: relative; }
.account-menu-button {
  position: relative;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: color-mix(in srgb, var(--surface) 96%, white);
  color: var(--text);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(18, 38, 31, .06);
  transition: border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.account-menu-button svg { width: 23px; height: 23px; }
.account-menu-button:hover,
.account-menu-button.active {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--gold) 55%, var(--border));
  background: color-mix(in srgb, var(--gold-soft) 46%, var(--surface));
  box-shadow: 0 12px 28px rgba(18, 38, 31, .10);
}
.account-menu-button.logged-in {
  color: var(--green-2);
  border-color: color-mix(in srgb, var(--green-3) 40%, var(--border));
}
.account-menu-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border: 2px solid var(--surface);
  border-radius: 999px;
  background: #d64d45;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}
.account-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 650;
  width: min(390px, calc(100vw - 24px));
  max-height: min(78vh, 680px);
  padding: 10px;
  overflow-y: auto;
  border: 1px solid color-mix(in srgb, var(--border) 92%, transparent);
  border-radius: 22px;
  background: color-mix(in srgb, var(--surface) 98%, transparent);
  box-shadow: 0 28px 80px rgba(9, 28, 22, .22);
  backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(.98);
  transform-origin: top right;
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}
.account-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.account-panel { display: grid; gap: 12px; }
.account-panel-heading {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  padding: 8px 8px 4px;
}
.account-panel-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--gold-soft);
  display: grid;
  place-items: center;
  font-size: 20px;
}
.account-panel-heading small,
.account-user-copy small,
.account-user-copy span,
.account-user-copy em,
.account-setting-title,
.account-row-action small,
.account-notification-item small {
  color: var(--text-soft);
}
.account-panel-heading small,
.account-user-copy small,
.account-setting-title,
.account-row-action small {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.account-panel-heading strong {
  display: block;
  margin-top: 3px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.4;
}
.account-divider { height: 1px; background: var(--border); margin: 2px 0; }
.account-user-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 13px;
  align-items: center;
  padding: 14px;
  border-radius: 17px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--green) 92%, black), color-mix(in srgb, var(--green-3) 86%, black));
  color: #fff;
}
.account-avatar {
  width: 54px;
  height: 54px;
  border-radius: 17px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.20);
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 900;
}
.account-user-copy { min-width: 0; }
.account-user-copy small { color: rgba(255,255,255,.72); }
.account-user-copy strong {
  display: block;
  margin-top: 2px;
  color: #fff;
  font-size: 16px;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-user-copy span,
.account-user-copy em {
  display: block;
  margin-top: 2px;
  color: rgba(255,255,255,.78);
  font-size: 11px;
  font-style: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-primary-link,
.account-row-action,
.account-logout-button,
.account-notification-item {
  width: 100%;
  border: 0;
  color: var(--text);
  text-align: left;
}
.account-primary-link {
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 13px;
  background: color-mix(in srgb, var(--gold-soft) 62%, var(--surface));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 850;
}
.account-primary-link:hover { background: color-mix(in srgb, var(--gold-soft) 82%, var(--surface)); }
.account-notification-section {
  display: grid;
  gap: 8px;
  padding: 4px 0;
}
.account-section-head {
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.account-section-head strong { font-size: 13px; }
.account-section-head span {
  min-width: 24px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--text-soft);
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 900;
}
.account-notification-list { display: grid; gap: 6px; }
.account-notification-item {
  min-height: 56px;
  padding: 9px 10px;
  border-radius: 13px;
  background: transparent;
  display: grid;
  grid-template-columns: 9px 1fr auto;
  gap: 10px;
  align-items: center;
  transition: background .16s ease;
}
.account-notification-item:hover { background: var(--surface-soft); }
.account-notification-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #9aa49f;
  box-shadow: 0 0 0 4px color-mix(in srgb, #9aa49f 14%, transparent);
}
.account-notification-item.warning .account-notification-dot { background: #d89a32; box-shadow: 0 0 0 4px rgba(216,154,50,.14); }
.account-notification-item.active .account-notification-dot { background: #248f72; box-shadow: 0 0 0 4px rgba(36,143,114,.14); }
.account-notification-item.success .account-notification-dot { background: #2e9b5f; box-shadow: 0 0 0 4px rgba(46,155,95,.14); }
.account-notification-item.danger .account-notification-dot { background: #d64d45; box-shadow: 0 0 0 4px rgba(214,77,69,.14); }
.account-notification-item.info .account-notification-dot { background: #3d7fc0; box-shadow: 0 0 0 4px rgba(61,127,192,.14); }
.account-notification-item strong,
.account-notification-item small { display: block; }
.account-notification-item strong { font-size: 12px; line-height: 1.35; }
.account-notification-item small { margin-top: 2px; font-size: 10px; line-height: 1.3; }
.account-notification-item b { color: var(--text-soft); font-size: 18px; }
.account-setting-block { display: grid; gap: 8px; }
.account-setting-title { padding: 0 4px; }
.account-language-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}
.account-language-grid button {
  min-width: 0;
  min-height: 48px;
  padding: 6px 4px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  display: grid;
  place-items: center;
  gap: 2px;
  transition: .16s ease;
}
.account-language-grid button:hover,
.account-language-grid button.active {
  border-color: color-mix(in srgb, var(--gold) 60%, var(--border));
  background: color-mix(in srgb, var(--gold-soft) 58%, var(--surface));
}
.account-language-grid button span { font-size: 19px; line-height: 1; }
.account-language-grid button small { font-size: 9px; font-weight: 850; color: var(--text-soft); }
.account-row-action {
  min-height: 48px;
  padding: 8px 11px;
  border-radius: 12px;
  background: transparent;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
}
.account-row-action:hover { background: var(--surface-soft); }
.account-row-action > span {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--surface-soft);
  display: grid;
  place-items: center;
  font-size: 17px;
}
.account-row-action strong { display: block; margin-top: 2px; font-size: 12px; }
.account-logout-button {
  min-height: 44px;
  padding: 10px 13px;
  border-radius: 12px;
  background: color-mix(in srgb, #d64d45 8%, var(--surface));
  color: #b53f39;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 850;
}
.account-logout-button:hover { background: color-mix(in srgb, #d64d45 14%, var(--surface)); }
html[dir="rtl"] .account-dropdown { right: auto; left: 0; transform-origin: top left; }
html[dir="rtl"] .account-primary-link,
html[dir="rtl"] .account-row-action,
html[dir="rtl"] .account-logout-button,
html[dir="rtl"] .account-notification-item { text-align: right; }
@media (max-width: 980px) {
  .header-inner { justify-content: space-between; }
  .header-brand-cluster { min-width: 0; }
  .navigation-menu-button {
    display: inline-flex !important;
    flex: 0 0 auto;
    width: 43px;
    height: 43px;
  }
  .header-actions { margin-left: auto; }
  .mobile-nav {
    top: calc(100% + 1px);
    z-index: 520;
  }
}
@media (min-width: 981px) {
  .navigation-menu-button { display: none !important; }
}
@media (max-width: 650px) {
  .header-inner { gap: 8px; }
  .header-brand-cluster { gap: 6px; }
  .brand-copy { display: none; }
  .account-menu-button,
  .navigation-menu-button { width: 42px; height: 42px; border-radius: 13px; }
  .account-dropdown {
    position: fixed;
    top: 72px;
    right: 10px;
    left: auto;
    width: min(390px, calc(100vw - 20px));
    max-height: calc(100vh - 84px);
  }
  html[dir="rtl"] .account-dropdown { right: auto; left: 10px; }
}
@media (max-width: 390px) {
  .account-dropdown { right: 8px; width: calc(100vw - 16px); }
  html[dir="rtl"] .account-dropdown { left: 8px; }
  .account-user-card { grid-template-columns: 48px 1fr; padding: 12px; }
  .account-avatar { width: 48px; height: 48px; }
}
.navigation-menu-button .navigation-menu-glyph {
  display: block;
  width: auto;
  height: auto;
  margin: 0;
  background: transparent;
  font-size: 21px;
  line-height: 1;
}

/* === V43 Mobile header, compact 2-column panels, priority basis table === */
#harga .basis-company-table .basis-price-cell strong,
#harga .basis-company-table .basis-price-cell small {
  display: block;
}
#harga .basis-company-table .basis-price-cell small {
  margin-top: 2px;
  color: var(--text-soft);
  font-size: 10px;
  line-height: 1.2;
}

@media (max-width: 760px) {
  /* Header mobile: menu left, brand centered, profile right */
  .site-header .header-inner {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) 44px !important;
    align-items: center !important;
    gap: 8px !important;
    direction: ltr;
  }
  .site-header .header-brand-cluster {
    display: contents !important;
  }
  .site-header .navigation-menu-button {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    width: 42px !important;
    height: 42px !important;
    margin: 0 !important;
  }
  .site-header .brand {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    min-width: 0;
    max-width: 100%;
    gap: 8px;
    direction: ltr;
  }
  .site-header .brand-mark {
    width: 38px !important;
    height: 38px !important;
  }
  .site-header .brand-copy {
    display: flex !important;
    min-width: 0;
    gap: 3px;
    text-align: left;
  }
  .site-header .brand-copy strong {
    font-size: 14px !important;
    line-height: 1 !important;
    letter-spacing: .13em !important;
    white-space: nowrap;
  }
  .site-header .brand-copy small {
    font-size: 7.5px !important;
    line-height: 1 !important;
    letter-spacing: .18em !important;
    white-space: nowrap;
  }
  .site-header .header-actions {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    margin: 0 !important;
  }
  .site-header .account-menu-button {
    width: 42px !important;
    height: 42px !important;
  }
  html[dir="rtl"] .site-header .account-dropdown { direction: rtl; }

  /* Short information panels: two columns per row */
  #harga .price-summary-grid,
  #harga .price-history-summary,
  .market-overview-grid,
  .history-summary-grid,
  .admin-summary-grid,
  .about-stats,
  #produk .product-category-grid,
  #rendemen .yield-reference-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  #harga .price-summary-card,
  #harga .price-history-summary article,
  .market-overview-grid > *,
  .history-summary-grid > *,
  .admin-summary-grid > *,
  .about-stats > *,
  #produk .product-category-grid > *,
  #rendemen .yield-reference-grid > div {
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 14px !important;
  }
  #harga .price-summary-card span,
  #harga .price-history-summary span,
  #rendemen .yield-reference-grid span {
    min-height: 0 !important;
    font-size: 9px !important;
    line-height: 1.35 !important;
  }
  #harga .price-summary-card strong,
  #harga .price-history-summary strong {
    margin: 6px 0 3px !important;
    font-size: clamp(17px, 5vw, 22px) !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }
  #produk .product-category-grid strong {
    font-size: 13px !important;
    line-height: 1.25 !important;
  }
  #produk .product-category-grid small {
    font-size: 10px !important;
    line-height: 1.4 !important;
  }
  #rendemen .yield-reference-grid .yield-triage-result {
    grid-column: 1 / -1 !important;
  }

  /* Input panels: two fields per row */
  .form-grid.two,
  .form-grid.three,
  .choice-grid,
  #rendemen .yield-input-grid,
  #harga .price-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
  .form-grid .field,
  .choice-grid > *,
  #rendemen .yield-field,
  #harga .price-filter-grid .field {
    min-width: 0 !important;
  }
  .form-grid .span-2,
  #rendemen .yield-group-title,
  #harga .price-filter-head,
  #harga .price-reset-button {
    grid-column: 1 / -1 !important;
  }
  .form-grid label,
  #rendemen .yield-field label,
  #harga .price-filter-grid label {
    font-size: 10.5px !important;
    line-height: 1.3 !important;
  }
  .form-grid input,
  .form-grid select,
  .form-grid textarea,
  #rendemen .yield-field input,
  #harga .price-filter-grid input,
  #harga .price-filter-grid select {
    min-width: 0 !important;
    font-size: 13px !important;
  }
  #rendemen .yield-field small {
    min-height: 0 !important;
    font-size: 9px !important;
    line-height: 1.35 !important;
  }
  #rendemen .input-suffix span {
    min-width: 36px !important;
    padding: 0 8px !important;
    font-size: 10px !important;
  }

  /* Basis table: company and price are the first and persistent columns */
  #harga .price-table-scroll {
    position: relative;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
  }
  #harga .basis-company-table {
    min-width: 820px !important;
  }
  #harga .basis-company-table th,
  #harga .basis-company-table td {
    padding: 12px 11px !important;
    font-size: 11px !important;
  }
  #harga .basis-company-table th:nth-child(1),
  #harga .basis-company-table td:nth-child(1) {
    position: sticky;
    left: 0;
    z-index: 4;
    width: 160px;
    min-width: 160px !important;
    max-width: 160px;
    background: var(--surface);
  }
  #harga .basis-company-table th:nth-child(2),
  #harga .basis-company-table td:nth-child(2) {
    position: sticky;
    left: 160px;
    z-index: 4;
    width: 118px;
    min-width: 118px;
    max-width: 118px;
    background: var(--surface);
    box-shadow: 8px 0 14px rgba(18, 38, 31, .08);
  }
  #harga .basis-company-table thead th:nth-child(1),
  #harga .basis-company-table thead th:nth-child(2) {
    z-index: 6;
    background: color-mix(in srgb, var(--surface-soft) 92%, var(--surface));
  }
  #harga .basis-company-table .maka-basis-row td:nth-child(1),
  #harga .basis-company-table .maka-basis-row td:nth-child(2) {
    background: color-mix(in srgb, var(--green-3) 7%, var(--surface));
  }
  #harga .basis-company-table .product-cell strong {
    font-size: 11px !important;
    line-height: 1.3 !important;
  }
  #harga .basis-company-table .product-cell small {
    display: none;
  }
  #harga .basis-company-table .basis-price-cell strong {
    font-size: 12px !important;
    line-height: 1.25 !important;
    white-space: nowrap;
  }
  #harga .basis-company-table .basis-price-cell small {
    font-size: 9px !important;
  }
}

@media (max-width: 420px) {
  .site-header .brand-mark {
    width: 34px !important;
    height: 34px !important;
  }
  .site-header .brand-copy strong { font-size: 12px !important; }
  .site-header .brand-copy small { font-size: 6.8px !important; }
  #harga .basis-company-table th:nth-child(1),
  #harga .basis-company-table td:nth-child(1) {
    width: 145px;
    min-width: 145px !important;
    max-width: 145px;
  }
  #harga .basis-company-table th:nth-child(2),
  #harga .basis-company-table td:nth-child(2) {
    left: 145px;
    width: 110px;
    min-width: 110px;
    max-width: 110px;
  }
}

/* === V44 Admin dashboard, settings sync, backup restore === */
.admin-top-nav-v44 {
  position: sticky;
  top: 88px;
  z-index: 35;
  margin: 0 0 22px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  background: color-mix(in srgb, var(--surface) 95%, transparent);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px);
}
.admin-top-nav-v44 button {
  flex: 0 0 auto;
  min-height: 42px;
  border: 0;
  border-radius: 12px;
  padding: 10px 15px;
  background: transparent;
  color: var(--text-soft);
  font-weight: 800;
  white-space: nowrap;
}
.admin-top-nav-v44 button:hover,
.admin-top-nav-v44 button.active {
  background: var(--surface-soft);
  color: var(--green);
}
.admin-top-nav-v44 button span {
  display: inline-grid;
  min-width: 20px;
  height: 20px;
  margin-inline-start: 5px;
  padding: 0 5px;
  place-items: center;
  border-radius: 999px;
  background: var(--gold-soft);
  font-size: 10px;
}
.admin-top-nav-v44 .admin-nav-logout-v44 {
  margin-inline-start: auto;
  color: #a33d3d;
  border: 1px solid color-mix(in srgb, #a33d3d 24%, var(--border));
}
.admin-dashboard-panel-v44 {
  display: none;
}
.admin-dashboard-panel-v44.active {
  display: block;
}
.admin-dashboard-shortcuts-v44 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.admin-dashboard-shortcuts-v44 button {
  min-height: 122px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 7px;
  text-align: start;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.admin-dashboard-shortcuts-v44 button:hover {
  border-color: color-mix(in srgb, var(--green-3) 45%, var(--border));
  transform: translateY(-2px);
}
.admin-dashboard-shortcuts-v44 strong {
  font-size: 15px;
}
.admin-dashboard-shortcuts-v44 span {
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.5;
}
.admin-backup-grid-v44 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.admin-backup-action-v44 {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface-soft);
}
.admin-backup-action-v44 > strong {
  color: var(--text);
  font-size: 16px;
}
.admin-backup-action-v44 > span,
.admin-backup-action-v44 > small {
  color: var(--text-soft);
  line-height: 1.5;
}
.admin-file-button-v44 {
  cursor: pointer;
}
.footer-meta-v31 {
  flex-wrap: wrap;
}
@media (max-width: 1050px) {
  .admin-dashboard-shortcuts-v44 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .admin-top-nav-v44 {
    top: 74px;
    margin-inline: -2px;
    border-radius: 14px;
  }
  .admin-top-nav-v44 .admin-nav-logout-v44 { margin-inline-start: 0; }
  .admin-dashboard-shortcuts-v44,
  .admin-backup-grid-v44 { grid-template-columns: 1fr; }
  .admin-dashboard-shortcuts-v44 button { min-height: 96px; }
}


/* === V45 Password visibility + WhatsApp channel === */
.password-input-wrap {
  position: relative;
  width: 100%;
}
.password-input-wrap > input {
  width: 100%;
  padding-inline-end: 52px !important;
}
.password-toggle-button {
  position: absolute;
  inset-inline-end: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.password-toggle-button svg { width: 21px; height: 21px; }
.password-toggle-button:hover,
.password-toggle-button:focus-visible,
.password-toggle-button.showing {
  background: color-mix(in srgb, var(--gold-soft) 72%, var(--surface));
  color: var(--green-2);
  outline: none;
}
.account-whatsapp-channel {
  min-height: 52px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  margin-top: 10px;
  border: 1px solid color-mix(in srgb, #25d366 35%, var(--border));
  border-radius: 14px;
  background: color-mix(in srgb, #25d366 10%, var(--surface));
  color: var(--text);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.account-whatsapp-channel:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, #25d366 65%, var(--border));
  background: color-mix(in srgb, #25d366 16%, var(--surface));
}
.account-whatsapp-channel .account-whatsapp-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
}
.account-whatsapp-channel div { min-width: 0; display: grid; gap: 2px; }
.account-whatsapp-channel small { color: var(--text-soft); font-size: 10px; line-height: 1.2; }
.account-whatsapp-channel strong { font-size: 13px; line-height: 1.25; }
.account-whatsapp-channel b { color: #159447; font-size: 16px; }
html[dir="rtl"] .password-input-wrap > input { padding-inline-start: 52px !important; padding-inline-end: 14px !important; }
@media (max-width: 600px) {
  .password-toggle-button { width: 36px; height: 36px; }
  .account-whatsapp-channel { min-height: 50px; }
}


/* === V46 Simplified Admin header === */
#admin .admin-page-content-clean-v46 {
  padding-top: 28px;
}
#admin .admin-dashboard:not(.hidden) .admin-top-nav-v44 {
  margin-top: 0;
}
#admin .admin-login-v30 {
  margin-top: 0;
}
@media (max-width: 700px) {
  #admin .admin-page-content-clean-v46 {
    padding-top: 18px;
  }
}

/* === V50 Admin-only navigation and access === */
body.admin-session .site-footer {
  display: none !important;
}
body.admin-session .admin-top-nav-v44 {
  display: none !important;
}
body.admin-session .desktop-nav {
  gap: 8px;
}
body.admin-session .desktop-nav a {
  padding-inline: 9px;
  font-size: 12px;
  font-weight: 750;
}
body.admin-session main {
  min-height: calc(100vh - 82px);
}
body.admin-session #admin .admin-page-content-clean-v46 {
  padding-top: 26px;
}
@media (max-width: 1180px) and (min-width: 901px) {
  body.admin-session .desktop-nav {
    gap: 3px;
  }
  body.admin-session .desktop-nav a {
    padding-inline: 6px;
    font-size: 11px;
  }
  body.admin-session .brand-copy small {
    letter-spacing: .12em;
  }
}
@media (max-width: 700px) {
  body.admin-session #admin .admin-page-content-clean-v46 {
    padding-top: 18px;
  }
  body.admin-session .mobile-nav a.active {
    background: color-mix(in srgb, var(--green-2) 12%, var(--surface));
    color: var(--green-2);
  }
}

/* === V53 Global visual polish — consistent, calm, professional === */
:root {
  --bg: #f6f4ee;
  --surface: #ffffff;
  --surface-soft: #f2f0e9;
  --surface-muted: #ebe8df;
  --text: #17231f;
  --text-soft: #61706a;
  --border: #dedbd1;
  --green: #173f35;
  --green-2: #235e4e;
  --green-3: #337861;
  --gold: #bd8c49;
  --gold-soft: #f3e8d4;
  --positive: #21845d;
  --negative: #bd4f48;
  --shadow-xs: 0 2px 8px rgba(21, 46, 38, .045);
  --shadow-sm: 0 10px 28px rgba(21, 46, 38, .075);
  --shadow: 0 22px 60px rgba(21, 46, 38, .105);
  --radius: 20px;
  --radius-sm: 13px;
  --container: 1180px;
}
[data-theme="dark"] {
  --bg: #101916;
  --surface: #17231f;
  --surface-soft: #1d2b26;
  --surface-muted: #24342e;
  --text: #edf5f0;
  --text-soft: #adbbb5;
  --border: #31413b;
  --green: #74b7a0;
  --green-2: #67aa92;
  --green-3: #82c4ad;
  --gold: #d5aa6d;
  --gold-soft: #382f23;
  --shadow-xs: 0 2px 8px rgba(0,0,0,.16);
  --shadow-sm: 0 10px 28px rgba(0,0,0,.23);
  --shadow: 0 22px 60px rgba(0,0,0,.30);
}

html { background: var(--bg); }
body {
  min-width: 320px;
  background:
    radial-gradient(circle at 7% 18%, color-mix(in srgb, var(--gold-soft) 32%, transparent), transparent 27rem),
    radial-gradient(circle at 92% 74%, color-mix(in srgb, var(--green-3) 7%, transparent), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.62;
}
main { overflow: clip; }
.container { width: min(calc(100% - 44px), var(--container)); }
::selection { background: color-mix(in srgb, var(--gold) 35%, transparent); color: var(--text); }

/* Header */
.site-header {
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  backdrop-filter: blur(20px) saturate(125%);
}
.site-header.scrolled { box-shadow: 0 10px 30px rgba(14, 37, 30, .075); }
.header-inner { height: 74px; gap: 20px; }
.brand { gap: 10px; }
.brand-mark { width: 46px; height: 46px; }
.brand-copy { gap: 4px; }
.brand-copy strong { font-size: 17px; letter-spacing: .16em; }
.brand-copy small { font-size: 8px; letter-spacing: .24em; }
.desktop-nav { gap: 6px; }
.desktop-nav a {
  padding: 11px 12px;
  border-radius: 10px;
  color: var(--text-soft);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.2;
  transition: color .18s ease, background .18s ease;
}
.desktop-nav a::after { display: none; }
.desktop-nav a:hover { color: var(--text); background: var(--surface-soft); }
.desktop-nav a.active {
  color: var(--green-2);
  background: color-mix(in srgb, var(--green-3) 10%, var(--surface));
}
.account-menu-button,
.navigation-menu-button {
  width: 43px;
  height: 43px;
  border-radius: 13px;
  box-shadow: var(--shadow-xs);
}
.mobile-nav {
  padding: 10px;
  border: 1px solid var(--border);
  border-top: 0;
  background: color-mix(in srgb, var(--surface) 97%, transparent);
  box-shadow: var(--shadow-sm);
}
.mobile-nav a {
  min-height: 44px;
  padding: 11px 14px;
  border-radius: 10px;
  color: var(--text-soft);
  font-weight: 700;
}
.mobile-nav a:hover,
.mobile-nav a.active { color: var(--green-2); background: var(--surface-soft); }

/* Shared typography and page rhythm */
.section-kicker,
.card-label,
.home-eyebrow {
  color: var(--gold);
  font-size: 10.5px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.page-inner { padding-bottom: 82px; }
.page-content,
.price-content { padding-top: 38px; }
.inner-hero,
.price-hero {
  min-height: 270px;
  padding: 58px 0 42px;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.inner-hero h1,
.price-hero h1 {
  margin: 8px 0 14px;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.04;
  letter-spacing: -.035em;
}
.inner-hero p,
.price-hero p {
  max-width: 720px;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.7;
}
.home-section,
.section-space { padding: 84px 0; }
.home-section-head,
.section-heading {
  align-items: end;
  margin-bottom: 32px;
  gap: 36px;
}
.home-section-head h2,
.section-heading h2 {
  margin: 6px 0 0;
  max-width: 780px;
  font-size: clamp(31px, 4vw, 48px);
  line-height: 1.12;
}
.home-section-head > p,
.section-heading > p {
  max-width: 430px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.7;
}

/* Unified surfaces */
.home-company-card,
.home-service-card,
.home-process-card,
.price-summary-card,
.price-filter-card,
.price-table-card,
.price-history-card,
.price-calculator-card,
.price-result-card,
.contract-guest-card,
.member-toolbar,
.form-section,
.contract-history-card,
.contract-profile-card,
.contract-profile-form,
.product-catalog-card,
.yield-form-card,
.yield-result-panel,
.admin-login-card,
.admin-toolbar,
.admin-panel,
.admin-summary-grid > div,
.contact-channel-card,
.contact-form-v29,
.profile-card,
.profile-form-card,
.date-card,
.metric-card,
.table-card,
.guest-panel {
  border: 1px solid color-mix(in srgb, var(--border) 92%, transparent) !important;
  border-radius: var(--radius) !important;
  background: var(--surface);
  box-shadow: var(--shadow-xs) !important;
}
.home-service-card,
.home-process-card,
.product-catalog-card,
.contact-channel-card,
.admin-summary-grid > div,
.price-summary-card {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.home-service-card:hover,
.home-process-card:hover,
.product-catalog-card:hover,
.contact-channel-card:hover,
.admin-summary-grid > div:hover,
.price-summary-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--gold) 38%, var(--border)) !important;
  box-shadow: var(--shadow-sm) !important;
}

/* Buttons */
.button {
  min-height: 44px;
  padding: 11px 18px !important;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .005em;
  box-shadow: none;
}
.button:hover { transform: translateY(-1px); }
.button-primary {
  background: linear-gradient(135deg, #173f35, #28604f);
  color: #fff;
  box-shadow: 0 10px 22px rgba(23, 63, 53, .18);
}
.button-primary:hover { background: linear-gradient(135deg, #1c4a3e, #32735e); }
.button-secondary,
.button-ghost {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
}
.button-secondary:hover,
.button-ghost:hover { background: var(--surface-soft); box-shadow: var(--shadow-xs); }
.button-light { background: #fff; color: #173e35; }
.button-outline-light { border-color: rgba(255,255,255,.40); color: #fff; }

/* Forms */
.field { gap: 7px; }
.field label {
  color: color-mix(in srgb, var(--text) 82%, var(--text-soft));
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .01em;
}
.field input,
.field select,
.field textarea,
.input-prefix {
  border-color: var(--border) !important;
  border-radius: 11px !important;
  background: color-mix(in srgb, var(--surface) 97%, var(--surface-soft)) !important;
}
.field input,
.field select,
.field textarea {
  min-height: 46px;
  padding: 11px 13px;
  color: var(--text);
  font-size: 13px;
}
.field textarea { min-height: 112px; resize: vertical; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: color-mix(in srgb, var(--green-3) 34%, var(--border)) !important; }
.field input:focus,
.field select:focus,
.field textarea:focus,
.input-prefix:focus-within {
  border-color: var(--green-3) !important;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--green-3) 12%, transparent) !important;
}
.field input::placeholder,
.field textarea::placeholder { color: color-mix(in srgb, var(--text-soft) 72%, transparent); }
.input-prefix span { background: var(--surface-soft); }
.form-grid { gap: 15px; }
.form-section { padding: 26px !important; }
.form-section-title { margin-bottom: 20px; padding: 0 !important; border: 0 !important; }
.choice-card { padding: 17px !important; border-radius: 13px; }
.choice-card.active { border-color: var(--green-3); box-shadow: 0 0 0 3px color-mix(in srgb, var(--green-3) 9%, transparent); }

/* Tables */
.table-card,
.price-table-card { overflow: hidden; }
.table-card-head,
.price-section-head,
.price-history-head,
.admin-panel-head {
  padding: 22px 24px !important;
  border-bottom: 1px solid var(--border);
}
.table-card-head h2,
.price-section-head h2,
.price-history-head h2,
.admin-panel-head h2 { margin: 3px 0 5px !important; font-size: 20px; }
.table-card-head p,
.price-section-head p,
.price-history-head p,
.admin-panel-head p { color: var(--text-soft); font-size: 12.5px; }
.table-wrap { scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
table { font-variant-numeric: tabular-nums; }
th {
  padding: 13px 15px !important;
  background: color-mix(in srgb, var(--surface-soft) 86%, var(--surface));
  color: var(--text-soft) !important;
  font-size: 9.5px !important;
  font-weight: 850;
  letter-spacing: .075em;
}
td {
  padding: 14px 15px !important;
  border-top: 1px solid color-mix(in srgb, var(--border) 78%, transparent);
  color: var(--text);
  font-size: 12.5px;
}
tbody tr:hover { background: color-mix(in srgb, var(--gold-soft) 30%, transparent); }
.table-action { border-radius: 8px; }

/* Home */
.home-hero {
  min-height: 680px;
  background-position: center 58%;
}
.home-hero-overlay {
  background: linear-gradient(90deg, rgba(9,34,28,.91) 0%, rgba(9,34,28,.79) 43%, rgba(9,34,28,.38) 73%, rgba(9,34,28,.54) 100%);
}
.home-hero-grid {
  min-height: 680px;
  grid-template-columns: minmax(0, 1.06fr) minmax(380px, .78fr);
  gap: 58px;
  padding-top: 64px;
  padding-bottom: 64px;
}
.home-hero-copy { max-width: 720px; }
.home-eyebrow {
  width: fit-content;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(7,27,22,.26);
  color: #f1d19c;
  backdrop-filter: blur(8px);
}
.home-hero-copy h1 {
  max-width: 12ch;
  margin: 20px 0 18px;
  color: #fff;
  font-size: clamp(48px, 6vw, 75px);
  line-height: .99;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.home-hero-copy > p {
  max-width: 650px;
  color: rgba(255,255,255,.83);
  font-size: 17px;
  line-height: 1.75;
}
.home-hero-actions { margin-top: 27px; gap: 11px; }
.home-proof-grid {
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.18);
  gap: 0 !important;
}
.home-proof-grid > div { padding: 0 18px; border-right: 1px solid rgba(255,255,255,.16); }
.home-proof-grid > div:first-child { padding-left: 0; }
.home-proof-grid > div:last-child { border-right: 0; }
.home-proof-grid strong { color: #fff; font-size: 14px; }
.home-proof-grid span { color: rgba(255,255,255,.65); font-size: 11px; }
.home-company-card {
  padding: 25px !important;
  border-color: rgba(255,255,255,.20) !important;
  background: rgba(255,255,255,.94) !important;
  box-shadow: 0 28px 65px rgba(5,22,17,.25) !important;
  backdrop-filter: blur(16px);
}
.home-company-head { align-items: center; }
.home-company-brand img { width: 48px; height: 48px; }
.home-company-brand h2 { margin: 3px 0 0; font-size: 17px; }
.home-company-desc { margin: 16px 0; color: var(--text-soft); font-size: 12.5px; }
.home-company-facts { gap: 8px; }
.home-company-facts > div { padding: 11px 12px; border-radius: 11px; background: var(--surface-soft); }
.home-company-facts span { font-size: 9px; }
.home-company-facts strong { font-size: 12px; }
.home-basis-card { margin-top: 14px; padding: 15px; border-radius: 13px; }
.home-company-link { margin-top: 15px; padding-top: 14px; }
.home-service-grid { gap: 16px; }
.home-service-card { min-height: 280px; padding: 24px !important; }
.home-service-card h3 { margin: 16px 0 8px; font-size: 18px; }
.home-service-card p { color: var(--text-soft); font-size: 13px; line-height: 1.7; }
.home-service-card a { margin-top: auto; padding-top: 16px; font-size: 12px; }
.home-service-icon { width: 45px; height: 45px; border-radius: 13px; }
.home-origin-section { padding: 88px 0; }
.home-origin-grid { gap: 56px; }
.home-origin-image { min-height: 480px; border-radius: 24px; box-shadow: var(--shadow); }
.home-origin-content h2 { margin: 8px 0 16px; font-size: clamp(34px, 4.4vw, 52px); }
.home-origin-content > p { color: var(--text-soft); font-size: 15px; }
.home-entity-list { margin: 24px 0; gap: 9px; }
.home-entity-list > div { padding: 13px 0; }
.home-process-grid { gap: 14px; }
.home-process-card { min-height: 200px; padding: 22px !important; }
.home-process-card > span { width: 36px; height: 36px; border-radius: 11px; }
.home-process-card h3 { margin: 20px 0 8px; font-size: 16px; }
.home-process-card p { color: var(--text-soft); font-size: 12.5px; }
.home-cta-section { padding: 0 0 84px; }
.home-cta-card { padding: 42px !important; border-radius: 24px !important; }
.home-cta-card h2 { max-width: 720px; font-size: clamp(31px, 4vw, 45px); }

/* Price page */
.price-summary-grid { gap: 13px; }
.price-summary-card { min-height: 132px; padding: 20px !important; }
.price-summary-card.primary { background: linear-gradient(145deg, #173f35, #265c4c); color: #fff; }
.price-summary-card span { font-size: 10px; }
.price-summary-card strong { margin: 7px 0 3px; font-size: 25px; }
.price-filter-card { margin: 18px 0; padding: 22px !important; }
.price-filter-head { margin-bottom: 16px; }
.price-table-card,
.price-history-card { margin-top: 18px; }
.price-history-summary { gap: 12px; }
.price-history-summary article { padding: 18px !important; border-radius: 14px; }
.price-chart-card,
.price-record-card { border-color: var(--border); border-radius: 15px; }
.price-calculator-section { gap: 18px; margin-top: 20px; }
.price-calculator-card,
.price-result-card { padding: 27px !important; }
.price-result-card { background: linear-gradient(145deg, #173f35, #28604f); color: #fff; }
.price-note { margin-top: 18px; border-radius: 13px; }

/* Products */
.product-grid { gap: 18px; }
.product-catalog-card { overflow: hidden; }
.product-photo { height: 228px; }
.product-card-body { padding: 22px !important; }
.product-card-body h3 { font-size: 19px; }
.product-card-body p { min-height: 42px; font-size: 12.5px; line-height: 1.65; }
.product-tags span { padding: 5px 9px; border: 1px solid var(--border); background: var(--surface-soft); }
.quality-grid.product-category-grid > div { padding: 20px !important; border-radius: 15px; }

/* Yield analysis */
.yield-layout { gap: 20px; }
.yield-form-card,
.yield-result-panel { padding: 27px !important; }
.yield-form-head { margin-bottom: 20px; }
.yield-input-grid { gap: 13px !important; }
.yield-field { padding: 0 !important; }
.yield-result-panel { background: linear-gradient(155deg, #123a30, #24594a) !important; }
.yield-score-card,
.yield-reference-grid > div { border-radius: 13px !important; }
.yield-guide-grid { gap: 13px !important; }
.yield-guide-grid article { padding: 20px !important; border-radius: 15px; }

/* Contract */
.contract-hero { min-height: 250px; }
.contract-member-toolbar { padding: 16px 19px !important; }
.contract-tabs { margin: 18px 0; gap: 4px; }
.contract-tabs button { padding: 12px 14px; font-size: 12px; }
.contract-form { gap: 15px; }
.profile-layout { gap: 18px; }
.contract-profile-card,
.contract-profile-form { padding: 25px !important; }

/* About */
.about-hero-wrap { border-radius: 0 0 30px 30px; }
.about-hero { min-height: 390px; padding-top: 94px; padding-bottom: 58px; }
.about-page .page-content { padding-top: 48px; }
.about-coffee-image { border-radius: 20px; }
.about-entity-grid-v28,
.about-value-grid-v28 { gap: 15px !important; }
.about-entity-card-v28,
.about-value-card-v28 { border-radius: 17px !important; box-shadow: var(--shadow-xs) !important; }
.about-stats-v28 > article { border-radius: 17px !important; }

/* Contact */
.contact-response-card { border-radius: 16px; }
.contact-channel-grid { gap: 14px !important; }
.contact-channel-card { padding: 20px !important; }
.contact-channel-icon { border-radius: 12px; }
.contact-layout-v29 { gap: 20px !important; }
.contact-form-v29 { padding: 27px !important; }
.contact-form-footer { margin-top: 18px; padding-top: 17px; }

/* Admin */
body.admin-session { background: var(--bg); }
body.admin-session main { padding-bottom: 34px; }
body.admin-session #admin .admin-page-content-clean-v46 { padding-top: 24px; }
.admin-section-panel-v37.active { gap: 18px !important; }
.admin-toolbar { padding: 20px 22px !important; margin-bottom: 16px; }
.admin-toolbar h2 { font-size: 22px; }
.admin-summary-grid { gap: 12px; margin-bottom: 18px; }
.admin-summary-grid > div { min-height: 112px; padding: 18px !important; }
.admin-summary-grid strong { font-size: 23px; }
.admin-dashboard-shortcuts-v44 { gap: 12px; }
.admin-dashboard-shortcuts-v44 button {
  min-height: 110px;
  padding: 18px;
  border-radius: 15px;
  box-shadow: var(--shadow-xs);
}
.admin-panel { padding: 24px !important; }
.admin-panel-head { margin: -24px -24px 20px !important; }
.admin-panel-badge-v30 { border-radius: 999px; }
.admin-content-grid,
.admin-users-grid-v37,
.admin-settings-grid-v37 { gap: 18px !important; }
.admin-bulk-basis-v39 { border-radius: 15px; }
.admin-product-item { border-radius: 12px; }
.admin-backup-action-v44 { border-radius: 14px; }
.admin-login-card { padding: 28px !important; }

/* Account dropdown, modal and toast */
.account-dropdown {
  padding: 11px;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(8,26,21,.22);
}
.account-user-card { border-radius: 14px; }
.account-language-grid button { border-radius: 10px; }
.account-whatsapp-channel { border-radius: 12px; }
.modal { border-radius: 20px; box-shadow: 0 30px 90px rgba(0,0,0,.34); }
.toast { border-radius: 14px; box-shadow: var(--shadow); }

/* Footer */
.footer-v31 {
  padding: 48px 0 18px !important;
  background: linear-gradient(145deg, #0d2d25, #12382e) !important;
}
.footer-main-v31 { gap: 34px !important; }
.footer-brand-v31 p { max-width: 390px; color: #c5d2cc; font-size: 12.5px; line-height: 1.7; }
.footer-meta-v31 { gap: 7px; }
.footer-meta-v31 span,
.footer-meta-v31 a { font-size: 11.5px; }
.footer-links-v31 { gap: 24px !important; }
.footer-links-v31 h4 { margin-bottom: 10px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.footer-links-v31 a { margin-bottom: 6px; font-size: 11.5px; }
.footer-bottom-v31 { margin-top: 30px; padding-top: 16px; }

/* Tablet */
@media (max-width: 1080px) {
  .desktop-nav { gap: 2px; }
  .desktop-nav a { padding-inline: 8px; font-size: 11.5px; }
  .home-hero-grid { grid-template-columns: 1fr minmax(340px, .72fr); gap: 34px; }
  .home-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .container { width: min(calc(100% - 34px), var(--container)); }
  .home-hero,
  .home-hero-grid { min-height: auto; }
  .home-hero-grid { grid-template-columns: 1fr; padding-top: 72px; padding-bottom: 58px; }
  .home-company-card { max-width: 680px; }
  .home-origin-grid { grid-template-columns: 1fr; }
  .home-origin-image { min-height: 360px; }
  .inner-hero,
  .price-hero { min-height: 230px; padding-top: 44px; padding-bottom: 36px; }
  .home-section,
  .section-space { padding: 68px 0; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-layout-v29,
  .profile-layout { grid-template-columns: 1fr; }
  .admin-content-grid,
  .admin-settings-grid-v37 { grid-template-columns: 1fr; }
}

/* Mobile */
@media (max-width: 760px) {
  .container { width: min(calc(100% - 26px), var(--container)); }
  .header-inner { height: 68px !important; }
  .site-header .brand-mark { width: 36px !important; height: 36px !important; }
  .site-header .brand-copy strong { font-size: 13px !important; }
  .site-header .brand-copy small { font-size: 7px !important; }
  .mobile-nav { max-height: calc(100vh - 68px); overflow-y: auto; }
  .account-dropdown { top: 69px; }

  .home-hero-grid { padding-top: 52px; padding-bottom: 48px; }
  .home-hero-copy h1 { font-size: clamp(40px, 12vw, 58px); }
  .home-hero-copy > p { font-size: 14px; }
  .home-hero-actions { flex-direction: column; align-items: stretch; }
  .home-hero-actions .button { width: 100%; }
  .home-proof-grid { grid-template-columns: 1fr; }
  .home-proof-grid > div {
    padding: 11px 0 !important;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.15);
  }
  .home-proof-grid > div:last-child { border-bottom: 0; }
  .home-company-card { padding: 20px !important; }
  .home-section,
  .section-space { padding: 56px 0; }
  .home-section-head,
  .section-heading { display: grid; gap: 12px; margin-bottom: 24px; }
  .home-section-head h2,
  .section-heading h2 { font-size: 30px; }
  .home-service-grid,
  .home-process-grid,
  .product-grid { grid-template-columns: 1fr; }
  .home-service-card { min-height: 0; }
  .home-origin-section { padding: 58px 0; }
  .home-origin-image { min-height: 285px; }
  .home-cta-card { padding: 28px !important; }
  .home-cta-actions { width: 100%; flex-direction: column; }
  .home-cta-actions .button { width: 100%; }

  .page-inner { padding-bottom: 60px; }
  .inner-hero,
  .price-hero {
    min-height: 0;
    padding: 38px 0 28px;
    display: grid;
    gap: 20px;
  }
  .inner-hero h1,
  .price-hero h1 { font-size: 38px; }
  .inner-hero p,
  .price-hero p { font-size: 14px; }
  .page-content,
  .price-content { padding-top: 26px; }

  .price-filter-card,
  .price-calculator-card,
  .price-result-card,
  .yield-form-card,
  .yield-result-panel,
  .form-section,
  .contact-form-v29,
  .admin-panel,
  .admin-login-card,
  .contract-profile-card,
  .contract-profile-form { padding: 20px !important; }
  .table-card-head,
  .price-section-head,
  .price-history-head { padding: 18px 19px !important; }
  .price-calculator-section { grid-template-columns: 1fr; }
  .product-photo { height: 210px; }
  .contact-channel-grid { grid-template-columns: 1fr; }
  .admin-toolbar { align-items: flex-start; }
  .admin-toolbar-actions { width: 100%; }
  .admin-toolbar-actions .button { flex: 1; }
  .admin-summary-grid > div { min-height: 96px; }
  .footer-main-v31 { gap: 24px !important; }
  .footer-links-v31 { gap: 16px !important; }
}

@media (max-width: 480px) {
  body { font-size: 14px; }
  .container { width: min(calc(100% - 22px), var(--container)); }
  .site-header .brand { gap: 6px; }
  .site-header .brand-mark { width: 33px !important; height: 33px !important; }
  .site-header .brand-copy strong { font-size: 11.5px !important; }
  .site-header .brand-copy small { font-size: 6.2px !important; letter-spacing: .14em !important; }
  .account-menu-button,
  .navigation-menu-button { width: 40px !important; height: 40px !important; }
  .home-hero-copy h1 { font-size: 39px; }
  .home-company-facts { grid-template-columns: 1fr; }
  .home-service-card,
  .home-process-card { padding: 20px !important; }
  .home-origin-content h2 { font-size: 33px; }
  .home-cta-card h2 { font-size: 30px; }
  .inner-hero h1,
  .price-hero h1 { font-size: 34px; }
  .button { padding-inline: 15px !important; }
  .modal { padding: 22px; }
  .footer-v31 { padding-top: 40px !important; }
}

/* === V53 About: logo meaning section === */
#tentang .about-logo-meaning-v53 {
  display: grid;
  gap: 28px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--border);
  border-radius: 28px;
  background:
    radial-gradient(circle at 8% 8%, rgba(196,139,36,.13), transparent 31%),
    linear-gradient(145deg, var(--surface), color-mix(in srgb, var(--surface) 92%, var(--gold-soft)));
  box-shadow: var(--shadow-sm);
}
#tentang .about-logo-meaning-head-v53 {
  display: grid;
  grid-template-columns: minmax(320px, .95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
#tentang .about-logo-lockup-v53 {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 30px);
}
#tentang .about-logo-lockup-v53 > img {
  width: clamp(126px, 16vw, 190px);
  height: auto;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 22px rgba(6,42,31,.10));
}
#tentang .about-logo-wordmark-v53 {
  min-width: 0;
  display: grid;
  gap: 7px;
  color: var(--green);
}
#tentang .about-logo-wordmark-v53 strong {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(50px, 7.3vw, 92px);
  font-weight: 500;
  line-height: .84;
  letter-spacing: .08em;
}
#tentang .about-logo-wordmark-v53 span {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: clamp(11px, 1.55vw, 18px);
  font-weight: 800;
  letter-spacing: .18em;
}
#tentang .about-logo-wordmark-v53 i {
  width: clamp(18px, 3vw, 42px);
  height: 2px;
  display: block;
  background: var(--gold);
}
#tentang .about-logo-meaning-copy-v53 h2 {
  max-width: 15ch;
  margin: 9px 0 13px !important;
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: clamp(34px, 4vw, 50px) !important;
  font-weight: 500;
  line-height: 1.06 !important;
  letter-spacing: -.035em;
}
#tentang .about-logo-meaning-copy-v53 p {
  max-width: 660px;
  margin: 0 !important;
  color: var(--text-soft) !important;
  font-size: 14px;
  line-height: 1.72 !important;
}
#tentang .about-logo-meaning-grid-v53 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
#tentang .about-logo-meaning-grid-v53 article {
  min-width: 0;
  min-height: 230px;
  padding: 22px;
  position: relative;
  border: 1px solid var(--border);
  border-radius: 19px;
  background: color-mix(in srgb, var(--surface) 96%, white);
}
#tentang .about-logo-meaning-grid-v53 article > span {
  position: absolute;
  top: 21px;
  right: 21px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
}
#tentang .about-logo-symbol-v53 {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--gold-soft);
  color: var(--gold);
}
#tentang .about-logo-symbol-v53 svg {
  width: 42px;
  height: 42px;
}
#tentang .about-logo-meaning-grid-v53 h3 {
  margin: 20px 0 8px !important;
  color: var(--text);
  font-size: 18px !important;
  line-height: 1.25 !important;
}
#tentang .about-logo-meaning-grid-v53 p {
  margin: 0 !important;
  color: var(--text-soft) !important;
  font-size: 12px;
  line-height: 1.62 !important;
}
#tentang .about-logo-colors-v53 {
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  padding: 8px;
}
#tentang .about-logo-colors-v53 b {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 11px;
  background: #075437;
}
#tentang .about-logo-colors-v53 b + b { background: #cb8a16; }
#tentang .about-logo-statement-v53 {
  padding: 23px clamp(22px, 4vw, 38px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 25px;
  align-items: center;
  border: 1px solid color-mix(in srgb, var(--gold) 55%, var(--border));
  border-radius: 19px;
  background: linear-gradient(90deg, rgba(200,142,37,.09), rgba(200,142,37,.025));
}
#tentang .about-logo-statement-v53 span {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
#tentang .about-logo-statement-v53 strong {
  color: var(--green);
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: clamp(19px, 2.25vw, 29px);
  font-weight: 600;
  line-height: 1.25;
}
[data-theme="dark"] #tentang .about-logo-meaning-v53,
[data-theme="dark"] #tentang .about-logo-meaning-grid-v53 article {
  background: var(--surface);
}
[data-theme="dark"] #tentang .about-logo-lockup-v53 > img {
  filter: drop-shadow(0 12px 22px rgba(0,0,0,.24));
}
@media (max-width: 1050px) {
  #tentang .about-logo-meaning-head-v53 { grid-template-columns: 1fr; }
  #tentang .about-logo-meaning-grid-v53 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #tentang .about-logo-meaning-copy-v53 h2 { max-width: none; }
}
@media (max-width: 650px) {
  #tentang .about-logo-meaning-v53 {
    padding: 22px;
    gap: 23px;
    border-radius: 21px;
  }
  #tentang .about-logo-lockup-v53 {
    justify-content: center;
    gap: 13px;
  }
  #tentang .about-logo-lockup-v53 > img { width: 104px; }
  #tentang .about-logo-wordmark-v53 strong { font-size: clamp(42px, 14vw, 62px); }
  #tentang .about-logo-wordmark-v53 span {
    gap: 7px;
    font-size: clamp(8px, 2.8vw, 12px);
    letter-spacing: .12em;
  }
  #tentang .about-logo-wordmark-v53 i { width: 18px; }
  #tentang .about-logo-meaning-copy-v53 { text-align: center; }
  #tentang .about-logo-meaning-copy-v53 h2 { font-size: 34px !important; }
  #tentang .about-logo-meaning-grid-v53 { grid-template-columns: 1fr; }
  #tentang .about-logo-meaning-grid-v53 article { min-height: 0; }
  #tentang .about-logo-statement-v53 {
    grid-template-columns: 1fr;
    gap: 13px;
    text-align: center;
  }
  #tentang .about-logo-statement-v53 span { justify-self: center; }
}

/* v41 - Form khusus Basis MAKA Coffee Group */
.admin-maka-basis-v41 {
  margin: 20px 0;
  padding: 22px;
  border: 1px solid rgba(24, 91, 70, .18);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(237, 248, 243, .95), rgba(255, 255, 255, .98));
  box-shadow: 0 16px 34px rgba(23, 70, 55, .07);
}
.admin-maka-basis-head-v41 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.admin-maka-basis-head-v41 h3 {
  margin: 5px 0 7px;
  color: var(--text);
  font-size: 1.18rem;
}
.admin-maka-basis-head-v41 p {
  max-width: 720px;
  margin: 0;
  color: var(--text-soft);
  line-height: 1.6;
}
.admin-maka-current-v41 {
  min-width: 190px;
  padding: 14px 16px;
  border: 1px solid rgba(24, 91, 70, .14);
  border-radius: 14px;
  background: rgba(255, 255, 255, .86);
}
.admin-maka-current-v41 small {
  display: block;
  margin-bottom: 5px;
  color: var(--text-soft);
  font-size: .72rem;
}
.admin-maka-current-v41 strong {
  display: block;
  color: var(--primary);
  font-size: 1.12rem;
}
.admin-maka-basis-form-v41 .field { min-width: 0; }
.admin-maka-basis-form-v41 input { width: 100%; }
.admin-maka-basis-grid-v41 { gap: 16px; }
.admin-maka-basis-actions-v41 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(24, 91, 70, .12);
}
.admin-maka-basis-actions-v41 p {
  margin: 0;
  color: var(--text-soft);
  font-size: .78rem;
}
@media (max-width: 720px) {
  .admin-maka-basis-v41 { padding: 17px; }
  .admin-maka-basis-head-v41,
  .admin-maka-basis-actions-v41 { flex-direction: column; align-items: stretch; }
  .admin-maka-current-v41 { min-width: 0; }
  .admin-maka-basis-grid-v41 { grid-template-columns: 1fr; }
  .admin-maka-basis-actions-v41 .button { width: 100%; }
}


/* Basis share */
.price-share-card {
  margin-top: 18px;
  padding: 22px !important;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f8fbf8);
  box-shadow: var(--shadow-xs);
}
.price-share-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.price-share-head h2 {
  margin: 6px 0 10px;
  font-size: clamp(24px, 3vw, 32px);
}
.price-share-head p {
  margin: 0;
  color: var(--text-soft);
  max-width: 700px;
}
.price-share-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.price-share-actions .button {
  min-width: 170px;
}
.price-share-summary {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #eef5f0;
  color: #174c3c;
  font-weight: 600;
}
@media (max-width: 760px) {
  .price-share-head {
    flex-direction: column;
  }
  .price-share-actions {
    width: 100%;
  }
  .price-share-actions .button {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
  }
}
@media (max-width: 480px) {
  .price-share-actions .button {
    flex-basis: 100%;
  }
}


/* Inline share basis button */
.price-head-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.price-share-inline-button {
  min-width: 132px;
  padding-inline: 18px;
  white-space: nowrap;
}
@media (max-width: 760px) {
  .price-head-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .price-share-inline-button {
    order: -1;
  }
}


/* Share badge beside Kopi Robusta */
#harga .price-head-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-left: auto;
  flex-wrap: nowrap;
  white-space: nowrap;
}
#harga .price-share-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid color-mix(in srgb, var(--green-3) 22%, var(--border));
  border-radius: 999px;
  color: var(--green-2);
  background: color-mix(in srgb, var(--green-3) 8%, var(--surface));
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
  cursor: pointer;
  transition: .2s ease;
}
#harga .price-share-badge:hover {
  border-color: color-mix(in srgb, var(--green-3) 42%, var(--border));
  background: color-mix(in srgb, var(--green-3) 12%, var(--surface));
}
#harga .price-share-badge:disabled {
  opacity: .55;
  cursor: not-allowed;
}
#harga .price-share-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--green-3) 14%, var(--surface));
  color: var(--green-2);
  font-size: 11px;
  line-height: 1;
}
@media (max-width: 980px) {
  #harga .price-head-actions {
    justify-content: flex-start;
  }
}
@media (max-width: 760px) {
  #harga .price-head-actions {
    width: auto;
    display: inline-flex;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  #harga .price-commodity-badge,
  #harga .price-share-badge {
    min-height: 32px;
    padding: 7px 11px;
    font-size: 10.5px;
  }
  #harga .price-share-badge-icon {
    width: 17px;
    height: 17px;
    font-size: 10px;
  }
}


/* Modern Bagikan Basis badge v54 */
#harga .price-share-badge {
  position: relative;
  min-height: 36px;
  padding: 7px 14px 7px 8px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #236b56 0%, #174d3e 55%, #10382e 100%);
  box-shadow: 0 8px 20px rgba(20,77,61,.22), inset 0 1px 0 rgba(255,255,255,.18);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .01em;
  overflow: hidden;
  transform: translateY(0);
}
#harga .price-share-badge::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 34%, rgba(255,255,255,.17) 48%, transparent 62%);
  transform: translateX(-125%);
  transition: transform .55s ease;
  pointer-events: none;
}
#harga .price-share-badge:hover {
  color: #fff;
  border-color: rgba(255,255,255,.32);
  background: linear-gradient(135deg, #28765f 0%, #195442 58%, #123f33 100%);
  box-shadow: 0 11px 24px rgba(20,77,61,.28), inset 0 1px 0 rgba(255,255,255,.22);
  transform: translateY(-1px);
}
#harga .price-share-badge:hover::after { transform: translateX(125%); }
#harga .price-share-badge:active { transform: translateY(0) scale(.985); }
#harga .price-share-badge-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.15);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.13);
}
#harga .price-share-badge-icon svg { width: 13px; height: 13px; display: block; }
#harga .price-share-badge[data-share-state="loading"] .price-share-badge-icon svg {
  display: none;
}
#harga .price-share-badge[data-share-state="loading"] .price-share-badge-icon::before {
  content: '';
  width: 11px;
  height: 11px;
  border: 2px solid rgba(255,255,255,.38);
  border-top-color: #fff;
  border-radius: 50%;
  animation: basis-share-spin .7s linear infinite;
}
#harga .price-share-badge:disabled {
  opacity: .68;
  color: rgba(255,255,255,.92);
  cursor: wait;
  transform: none;
}
@keyframes basis-share-spin { to { transform: rotate(360deg); } }
@media (max-width: 760px) {
  #harga .price-head-actions { gap: 8px; max-width: 100%; }
  #harga .price-share-badge {
    min-height: 34px;
    padding: 6px 12px 6px 7px;
    font-size: 10.5px;
    box-shadow: 0 6px 16px rgba(20,77,61,.2), inset 0 1px 0 rgba(255,255,255,.16);
  }
  #harga .price-share-badge-icon {
    width: 21px;
    height: 21px;
    flex-basis: 21px;
  }
}


/* v55 share basis alignment and badge polish */
#harga .price-head-actions {
  margin-left: 0;
  justify-content: flex-start;
  justify-self: start;
}
#harga .price-share-badge {
  min-height: 36px;
  padding: 7px 15px 7px 8px;
}
@media (max-width: 980px) {
  #harga .price-head-actions {
    justify-content: flex-start;
    justify-self: start;
  }
}
@media (max-width: 760px) {
  #harga .price-head-actions {
    width: auto;
    max-width: 100%;
    overflow-x: auto;
  }
}


/* v67 Mobile floating basis popup */
.basis-mobile-popup { display: none; }
body.basis-popup-open { overflow: hidden; }
@media (max-width: 760px) {
  .basis-mobile-popup {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 14px;
    padding: max(18px, env(safe-area-inset-top)) 16px max(18px, env(safe-area-inset-bottom));
    background: rgba(8, 24, 18, 0.42);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s ease, visibility .22s ease;
  }
  .basis-mobile-popup.open {
    display: flex;
    opacity: 1;
    visibility: visible;
  }
  .basis-mobile-popup-close {
    position: fixed;
    top: max(18px, env(safe-area-inset-top));
    right: 18px;
    z-index: 4;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255,255,255,.34);
    border-radius: 50%;
    color: #fff;
    background: rgba(8, 29, 21, 0.72);
    box-shadow: 0 10px 28px rgba(0,0,0,.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 30px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
  }
  .basis-mobile-popup-viewer {
    position: relative;
    flex: 0 1 auto;
    width: min(92vw, 520px);
    max-height: 76vh;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(247,250,247,.95) 100%);
    border: 1px solid rgba(255,255,255,.72);
    box-shadow: 0 28px 60px rgba(7, 31, 22, 0.20);
  }
  .basis-mobile-popup-viewer img {
    display: block;
    width: 100%;
    max-width: 100%;
    max-height: calc(76vh - 32px);
    height: auto;
    object-fit: contain;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(12, 43, 31, 0.14);
  }
  .basis-mobile-popup-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #48685b;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .01em;
    background: rgba(255,255,255,.72);
  }
  .basis-mobile-popup-loading.hidden { display: none; }
  .basis-mobile-popup-footer {
    flex: 0 0 auto;
    width: min(92vw, 520px);
  }
  .basis-mobile-popup-share {
    width: 100%;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 18px;
    border: 1px solid rgba(255,255,255,.30);
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(135deg, #2a795f 0%, #165541 58%, #0d3f31 100%);
    box-shadow: 0 16px 36px rgba(8, 33, 24, 0.22), inset 0 1px 0 rgba(255,255,255,.18);
    font-size: 15px;
    font-weight: 850;
    cursor: pointer;
  }
  .basis-mobile-popup-share:active { transform: scale(.986); }
  .basis-mobile-popup-share svg { width: 21px; height: 21px; }
}
