@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500;1,600&display=swap');

:root {
  --ink: #152624;
  --muted: #71807c;
  --quiet: #9ca8a2;
  --paper: #f5f6f1;
  --surface: #fffefa;
  --line: #e5e9e1;
  --deep: #123331;
  --deep-2: #1a4240;
  --mint: #c9e2cc;
  --mint-strong: #a9d2b5;
  --accent: #e09c66;
  --accent-wash: #f4dfca;
  --red: #b9574b;
  --green: #477962;
  --shadow: 0 20px 65px rgba(31, 57, 47, .08);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
.ambient { position: fixed; z-index: -1; pointer-events: none; border-radius: 50%; filter: blur(1px); }
.ambient-one { width: 420px; height: 420px; top: -260px; right: 12%; background: rgba(204, 227, 204, .34); }
.ambient-two { width: 400px; height: 400px; bottom: 4%; left: -300px; background: rgba(226, 197, 158, .16); }

.public-header {
  max-width: 1380px; min-height: 88px; margin: 0 auto; padding: 0 5.3%;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  position: relative; z-index: 10; border-bottom: 1px solid rgba(32, 63, 54, .09);
}
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; font-size: 19px; font-weight: 700; letter-spacing: -.7px; line-height: 1; }
.brand-mark { width: 35px; height: 35px; border-radius: 11px 11px 11px 3px; background: var(--deep); display: grid; place-items: center; color: #eff7eb; font-family: "Playfair Display", Georgia, serif; font-size: 22px; font-weight: 600; }
.brand-light { color: #678178; font-weight: 500; }
.brand small { display: block; color: #98a29a; letter-spacing: 1.8px; font-size: 8px; font-weight: 700; margin-top: 6px; }
.public-nav { display: flex; align-items: center; gap: 38px; color: #5f6e67; font-size: 12px; font-weight: 600; }
.public-nav a:hover, .text-link:hover, .form-link:hover { color: var(--red); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.button {
  min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 18px;
  padding: 0 18px; border: 1px solid transparent; border-radius: 9px;
  font-size: 12px; font-weight: 700; letter-spacing: .01em; transition: .2s ease;
}
.button:hover { transform: translateY(-1px); }
.button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible {
  outline: 3px solid rgba(224, 156, 102, .5); outline-offset: 2px;
}
.button-primary { background: var(--deep); color: #fff; box-shadow: 0 7px 18px rgba(18, 51, 49, .12); }
.button-primary:hover { background: #1a4641; box-shadow: 0 9px 24px rgba(18, 51, 49, .17); }
.button-quiet { color: #4e625a; }
.button-quiet:hover { background: #e9eee7; }
.button-dark { background: #263f3a; color: white; }
.button-light { background: #f5f7ed; color: var(--deep); }
.button-danger { background: #f7e9e5; color: #a53b32; border-color: #efd4cc; }
.button-small { min-height: 34px; padding: 0 12px; gap: 9px; border-radius: 7px; font-size: 11px; }
.button-large { min-height: 54px; padding: 0 22px; font-size: 13px; }
.button-full { width: 100%; margin-top: 8px; }
.button-arrow { font-size: 18px; line-height: .8; font-weight: 400; }
.mobile-menu-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.mobile-menu-toggle span { display: block; width: 21px; height: 2px; margin: 5px 0; background: var(--deep); }
.public-content { width: min(1180px, 89.4%); margin-inline: auto; }

.hero { min-height: 630px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 5.5%; padding-top: 38px; padding-bottom: 70px; position: relative; }
.hero-copy { padding-bottom: 28px; position: relative; z-index: 2; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: #89948b; font-family: "DM Mono", monospace; font-size: 9px; font-weight: 500; letter-spacing: 1.45px; text-transform: uppercase; }
.eyebrow-line { width: 24px; height: 1px; background: var(--accent); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin: 22px 0 20px; color: var(--deep); font-size: clamp(44px, 5.45vw, 72px); letter-spacing: -4px; line-height: 1.03; font-weight: 600; }
.hero h1 em, .section-intro h2 em, .how-inner h2 em, .auth-story h1 em { color: #6a8a76; font-family: "Playfair Display", Georgia, serif; font-weight: 500; letter-spacing: -2px; }
.hero-lede { max-width: 480px; color: #66736d; font-size: 15px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 25px; margin: 29px 0 35px; }
.text-link { color: #3e6054; font-size: 12px; font-weight: 700; transition: .2s ease; }
.text-link span { display: inline-block; margin-left: 7px; font-size: 16px; font-weight: 400; }
.hero-proof { display: flex; align-items: center; gap: 8px; color: #78847b; font-size: 10px; }
.proof-mark { width: 16px; height: 16px; display: inline-grid; place-items: center; border-radius: 50%; color: #4f735e; background: #dfebdd; font-size: 10px; }
.proof-divider { width: 1px; height: 16px; margin: 0 7px; background: #d5ddd3; }
.hero-art { min-height: 475px; position: relative; display: grid; place-items: center; }
.art-glow { position: absolute; width: 82%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(206, 222, 194, .74) 0, rgba(228, 228, 205, .41) 48%, rgba(245, 246, 241, 0) 71%); }
.orbit { position: absolute; border: 1px solid rgba(63, 110, 88, .12); border-radius: 50%; transform: rotate(-24deg); }
.orbit-a { width: 96%; height: 73%; }
.orbit-b { width: 82%; height: 101%; transform: rotate(29deg); }
.preview-card { position: relative; z-index: 1; width: min(390px, 84%); min-height: 310px; padding: 24px; border: 1px solid rgba(231, 235, 225, .95); border-radius: 17px; background: rgba(255, 255, 251, .95); box-shadow: 0 24px 70px rgba(22, 61, 48, .14); transform: rotate(2deg); }
.preview-top { display: flex; align-items: start; justify-content: space-between; }
.preview-top > div { display: grid; gap: 5px; }
.preview-label { color: #9ca69c; font-family: "DM Mono", monospace; font-size: 8px; letter-spacing: 1px; }
.preview-top strong { color: var(--deep); font-size: 14px; }
.preview-avatar { width: 30px; height: 30px; border-radius: 50%; background: #e7eee0; color: #52725d; display: grid; place-items: center; font-family: "Playfair Display", Georgia, serif; }
.preview-balance { display: grid; gap: 3px; margin: 23px 0 18px; padding: 15px 17px; border-radius: 11px; background: linear-gradient(110deg, #f0f4e9, #e7eee3); }
.preview-balance span, .preview-balance small { color: #718077; font-size: 9px; }
.preview-balance strong { color: #1c3e37; font-size: 24px; letter-spacing: -.8px; }
.preview-order { display: flex; align-items: center; gap: 10px; padding: 10px 1px; }
.preview-order-icon { width: 32px; height: 32px; border-radius: 9px; background: #f4e4d2; display: grid; place-items: center; color: #a46f47; font-family: "DM Mono", monospace; font-size: 9px; }
.preview-order > div:nth-child(2) { display: grid; gap: 2px; }
.preview-order strong { font-size: 10px; }
.preview-order small { color: #939c93; font-size: 8px; }
.preview-status { margin-left: auto; color: #947046; font-size: 8px; }
.preview-status i { display: inline-block; width: 5px; height: 5px; margin-right: 4px; border-radius: 50%; background: #dea265; vertical-align: 1px; }
.preview-progress { height: 3px; margin-top: 5px; border-radius: 5px; background: #e6ebe1; }
.preview-progress span { display: block; width: 35%; height: 100%; border-radius: 5px; background: #87a88d; }
.preview-foot { display: flex; justify-content: space-between; margin-top: 8px; color: #98a299; font-size: 7px; }
.floating-note { position: absolute; z-index: 2; right: -4%; bottom: 16%; display: flex; gap: 10px; align-items: center; padding: 12px 17px; border: 1px solid #e6ebdf; border-radius: 11px; background: #fffefa; box-shadow: 0 13px 36px rgba(26, 56, 45, .1); transform: rotate(-3deg); }
.floating-check { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; color: #3f7657; background: #dfebdc; font-size: 11px; }
.floating-note div { display: grid; gap: 3px; }
.floating-note strong { font-size: 9px; }
.floating-note small { color: #929c94; font-size: 8px; }
.hero-stamp { position: absolute; top: 6%; right: 0; display: grid; text-align: center; gap: 2px; color: #728b78; font-family: "DM Mono", monospace; font-size: 7px; letter-spacing: 1px; transform: rotate(9deg); }
.hero-stamp strong { color: #486c58; font-size: 15px; letter-spacing: 2px; }
.hero-index { position: absolute; right: 0; bottom: 45px; display: flex; align-items: center; gap: 10px; color: #89988c; font-family: "DM Mono", monospace; font-size: 9px; }
.hero-index span:first-child { color: #315347; }
.index-line { width: 58px; height: 1px; background: #bac8b7; }
.trust-strip { min-height: 102px; padding: 0 max(calc((100% - 1180px) / 2), 5.3%); display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; border-block: 1px solid #e2e8dd; background: rgba(236, 240, 231, .54); }
.trust-strip > div { display: grid; grid-template-columns: 28px 1fr; column-gap: 14px; align-items: center; }
.trust-strip > div + div { border-left: 1px solid #dfe5da; padding-left: 32px; }
.trust-strip > div > span { grid-row: span 2; color: #9aac99; font-family: "DM Mono", monospace; font-size: 10px; }
.trust-strip strong { color: #33544a; font-size: 11px; }
.trust-strip small { color: #87928a; font-size: 9px; }

.landing-section { padding-block: 105px 112px; }
.section-intro { display: grid; grid-template-columns: 1fr 1.2fr .9fr; align-items: end; gap: 35px; margin-bottom: 42px; }
.section-intro h2, .how-inner h2 { margin: 13px 0 0; color: var(--deep); font-size: 39px; letter-spacing: -1.7px; line-height: 1.12; }
.section-intro p { margin: 0 0 4px; color: #78847b; font-size: 12px; line-height: 1.8; }
.service-cards, .service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card { min-height: 280px; padding: 24px 23px 20px; border: 1px solid #e5e9e0; border-radius: 14px; background: rgba(255, 255, 251, .75); transition: .24s ease; }
.service-card:hover { transform: translateY(-4px); background: white; box-shadow: var(--shadow); }
.service-number { color: #9ba49b; font-family: "DM Mono", monospace; font-size: 8px; letter-spacing: 1px; }
.service-symbol { width: 40px; height: 40px; display: grid; place-items: center; margin: 27px 0 19px; border-radius: 12px; background: #ebf1e6; color: #52755e; font-family: "Playfair Display", Georgia, serif; font-size: 19px; }
.service-card:nth-child(2) .service-symbol { background: #f7e9da; color: #a97750; }
.service-card:nth-child(3) .service-symbol { background: #e9edea; color: #5b746d; }
.service-card h3 { margin: 0 0 8px; color: #1e4039; font-size: 16px; letter-spacing: -.3px; }
.service-card p { min-height: 42px; margin: 0; color: #829087; font-size: 10px; line-height: 1.7; }
.service-card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 17px; padding-top: 13px; border-top: 1px solid #e7ebe4; color: #536c5e; font-size: 11px; font-weight: 700; }
.service-arrow { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: #ebf1e7; color: #50765c; font-size: 15px; transition: .2s ease; }
.service-arrow:hover { color: white; background: var(--deep); }
.legal-note { max-width: 850px; margin: 20px 0 0; color: #89948b; font-size: 9px; line-height: 1.7; }
.how-section { padding: 85px 0; background: #eaf0e7; }
.how-inner { display: grid; grid-template-columns: .85fr 1.1fr; align-items: start; gap: 11%; }
.how-inner h2 { font-size: 45px; }
.how-inner > div:first-child p { max-width: 310px; margin-top: 19px; color: #748178; font-size: 12px; line-height: 1.8; }
.steps { border-top: 1px solid #d5dfd2; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 15px; padding: 20px 0; border-bottom: 1px solid #d5dfd2; }
.step > span { color: #66866e; font-family: "DM Mono", monospace; font-size: 10px; }
.step strong { color: #294b40; font-size: 12px; }
.step p { margin: 6px 0 0; color: #78847b; font-size: 10px; }
.faq-section { display: grid; grid-template-columns: .7fr 1.1fr; gap: 9%; padding-block: 96px 110px; }
.faq-section h2 { margin: 13px 0; color: var(--deep); font-size: 35px; letter-spacing: -1.2px; }
.faq-list details { border-bottom: 1px solid #e0e5dc; }
.faq-list details:first-child { border-top: 1px solid #e0e5dc; }
.faq-list summary { list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 19px 0; color: #2d4b40; font-size: 12px; font-weight: 700; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: #719078; font-size: 18px; font-weight: 400; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 640px; margin: -4px 0 17px; color: #77847b; font-size: 11px; line-height: 1.8; }
.cta-band { min-height: 205px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 38px 58px; margin-bottom: 65px; border-radius: 17px; background: var(--deep); }
.cta-band .eyebrow { color: #8da399; }
.cta-band h2 { margin: 11px 0 0; color: #f5f5e9; font-size: 32px; letter-spacing: -1px; line-height: 1.14; }
.cta-band .button { position: relative; z-index: 1; }
.cta-decoration { position: absolute; width: 370px; height: 370px; top: -170px; right: 17%; border: 1px solid rgba(196, 226, 192, .17); border-radius: 50%; }
.cta-decoration::after { content: ""; position: absolute; inset: 30px; border: 1px solid rgba(196, 226, 192, .12); border-radius: 50%; }
.public-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 28px; color: #8a958b; font-size: 9px; }
.public-footer .brand { color: var(--ink); font-size: 14px; }
.public-footer .brand-mark { width: 30px; height: 30px; font-size: 18px; }
.public-footer .brand small { font-size: 7px; }
.public-footer > a:last-child { color: #486d5c; font-weight: 700; }

/* Authentication */
.auth-layout { width: min(1080px, 89%); min-height: calc(100vh - 120px); margin: 0 auto; padding: 44px 0 70px; display: grid; grid-template-columns: 1fr .72fr; align-items: center; gap: 11%; }
.auth-story { padding: 15px 0 38px; }
.auth-story h1 { margin: 25px 0 18px; color: var(--deep); font-size: clamp(45px, 5vw, 66px); letter-spacing: -3px; line-height: 1.04; }
.auth-story > p { max-width: 385px; color: #758178; font-size: 13px; line-height: 1.9; }
.auth-story-rule { width: 48px; height: 1px; margin: 45px 0 15px; background: var(--accent); }
.auth-story-note { color: #87938a; font-size: 10px; }
.auth-card { padding: 35px 34px 30px; border: 1px solid #e4e9e0; border-radius: 16px; background: rgba(255, 255, 251, .9); box-shadow: 0 16px 60px rgba(31, 57, 47, .06); }
.auth-card h2 { margin: 12px 0 5px; color: var(--deep); font-size: 26px; letter-spacing: -.7px; }
.muted { color: #87928a; font-size: 11px; line-height: 1.7; }
.auth-card form { display: grid; gap: 16px; margin-top: 24px; }
label { display: grid; gap: 7px; color: #405a4e; font-size: 11px; font-weight: 700; }
input, select, textarea { width: 100%; min-height: 43px; padding: 10px 12px; border: 1px solid #dfe6dd; border-radius: 7px; background: #fff; color: #25433a; font-size: 12px; font-weight: 500; transition: border-color .18s ease, box-shadow .18s ease; }
textarea { min-height: 90px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #a4ada4; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: #78a085; box-shadow: 0 0 0 3px rgba(120, 160, 133, .13); }
input:disabled { color: #7b8880; background: #f1f3ef; }
.field-hint { color: #929c93; font-size: 9px; font-weight: 500; }
.form-link, .auth-switch a { color: #49735c; font-size: 11px; font-weight: 700; }
.form-row-right { display: flex; justify-content: end; margin-top: -8px; }
.auth-switch { margin: 21px 0 0; text-align: center; color: #89938c; font-size: 10px; }
.auth-disclaimer { margin: 22px 0 0; padding-top: 17px; border-top: 1px solid #ebeee8; color: #a0a9a0; text-align: center; font-size: 8px; }
.optional { color: #a1aaa1; font-size: 9px; font-weight: 500; }
.inline-warning { padding: 11px 13px; border: 1px solid #eed8cf; border-radius: 7px; background: #fbf0eb; color: #9d5544; font-size: 10px; }

/* App shell */
.app-body { min-height: 100vh; }
.app-shell { min-height: 100vh; display: flex; }
.sidebar { position: fixed; z-index: 20; top: 0; bottom: 0; left: 0; width: 246px; display: flex; flex-direction: column; padding: 26px 17px 15px; border-right: 1px solid #e3e8df; background: rgba(250, 251, 246, .94); }
.sidebar-brand { margin: 0 0 38px 8px; font-size: 17px; }
.sidebar-caption { margin: 23px 0 9px 11px; color: #a0aaa0; font-family: "DM Mono", monospace; font-size: 8px; letter-spacing: 1.2px; }
.side-nav { display: grid; gap: 3px; }
.side-nav a, .side-logout { min-height: 38px; display: flex; align-items: center; gap: 11px; padding: 0 11px; border: 0; border-radius: 7px; background: transparent; color: #708076; font-size: 11px; text-align: left; transition: .16s ease; }
.side-nav a:hover, .side-logout:hover { color: var(--deep); background: #edf2e9; }
.side-nav a.active { color: #23483c; background: #e8f0e6; font-weight: 700; }
.nav-dot { width: 17px; height: 17px; display: grid; place-items: center; border: 1px solid #cbd8c9; border-radius: 5px; color: #78917a; font-size: 7px; }
.side-nav a.active .nav-dot { border-color: #8cac91; background: #dbe9d9; }
.sidebar-bottom { margin-top: auto; }
.secure-note { display: flex; align-items: center; gap: 9px; padding: 12px 9px; margin-bottom: 9px; border: 1px solid #e5ebe0; border-radius: 9px; background: #f7f8f2; }
.secure-icon { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 7px; background: #e4efdf; color: #53775d; font-size: 13px; }
.secure-note div { display: grid; gap: 2px; }
.secure-note strong { color: #486355; font-size: 9px; }
.secure-note small { color: #98a198; font-size: 8px; }
.side-logout { width: 100%; }
.side-logout > span:last-child { margin-left: auto; color: #9ca79d; font-size: 14px; }
.app-main { width: calc(100% - 246px); min-height: 100vh; margin-left: 246px; display: flex; flex-direction: column; }
.topbar { height: 74px; display: flex; flex-shrink: 0; align-items: center; justify-content: space-between; padding: 0 4.3%; border-bottom: 1px solid #e6eae2; background: rgba(250, 251, 246, .68); }
.breadcrumb { color: #9ba49d; font-size: 10px; }
.breadcrumb span { margin: 0 9px; color: #c5ccc2; }
.topbar-right { display: flex; align-items: center; gap: 11px; }
.wallet-chip { display: flex; align-items: center; gap: 9px; padding: 8px 11px; border: 1px solid #e1e8dd; border-radius: 8px; background: #f8faf5; color: #79867d; font-size: 9px; }
.wallet-chip strong { color: #355a47; font-size: 10px; }
.avatar { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; background: #dfeadb; color: #54765e; font-family: "Playfair Display", Georgia, serif; font-size: 15px; }
.user-menu { display: grid; gap: 2px; }
.user-menu strong { color: #385449; font-size: 9px; }
.user-menu small { color: #9aa49c; font-size: 8px; }
.content-wrap { width: min(1280px, 100%); margin: 0 auto; padding: 35px 4.3% 55px; flex: 1; }
.page-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.page-heading h1 { margin: 8px 0 4px; color: var(--deep); font-size: 27px; letter-spacing: -.8px; line-height: 1.2; }
.page-heading p { max-width: 610px; margin: 0; color: #89948b; font-size: 11px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 19px; }
.stat-card { min-height: 122px; position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: start; justify-content: center; padding: 17px 18px; border: 1px solid #e3e9df; border-radius: 12px; background: #fffefa; }
.stat-label { color: #94a095; font-family: "DM Mono", monospace; font-size: 8px; letter-spacing: 1px; }
.stat-card > strong { margin-top: 8px; color: #26463b; font-size: 26px; letter-spacing: -1px; line-height: 1.1; }
.stat-foot { margin-top: 7px; color: #98a199; font-size: 9px; }
.stat-mark { position: absolute; top: 15px; right: 16px; color: #e0e7dd; font-family: "DM Mono", monospace; font-size: 9px; }
.stat-feature { color: #eff5eb; border-color: var(--deep); background: var(--deep); }
.stat-feature .stat-label { color: #a0b6a6; }
.stat-feature > strong { color: #f4f6e9; }
.stat-feature > a { margin-top: 9px; color: #bbd3bd; font-size: 9px; }
.stat-feature > a span { margin-left: 6px; }
.stat-decoration { position: absolute; right: 13px; bottom: -28px; color: rgba(201, 226, 204, .12); font-family: "Playfair Display", Georgia, serif; font-size: 126px; }
.dashboard-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 14px; align-items: start; }
.panel { padding: 20px; border: 1px solid #e3e9e0; border-radius: 12px; background: rgba(255, 255, 251, .87); box-shadow: 0 7px 25px rgba(37, 64, 50, .025); }
.panel + .panel, .content-wrap > .panel { margin-top: 16px; }
.panel-wide { min-width: 0; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 16px; }
.panel-heading .eyebrow { font-size: 8px; }
.panel-heading h2, .panel h2 { margin: 5px 0 0; color: #26483c; font-size: 16px; letter-spacing: -.4px; }
.panel-heading .text-link { font-size: 10px; }
.table-wrap { width: 100%; overflow-x: auto; scrollbar-width: thin; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th { padding: 9px 11px; border-bottom: 1px solid #e8ece5; color: #a0a9a0; font-family: "DM Mono", monospace; font-size: 8px; font-weight: 500; letter-spacing: .65px; text-transform: uppercase; white-space: nowrap; }
td { padding: 11px; border-bottom: 1px solid #edf0eb; color: #566c5f; font-size: 10px; vertical-align: middle; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: rgba(238, 243, 235, .45); }
.amount { color: #355e46; font-weight: 700; }
.negative { color: #a3564b !important; }
.mono { font-family: "DM Mono", monospace; font-size: 9px; letter-spacing: -.1px; }
.table-link { color: #4f795d; font-size: 9px; font-weight: 700; }
.table-sub { display: block; margin-top: 3px; color: #9aa49b; font-size: 8px; }
.badge { min-height: 20px; display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 20px; background: #edf0eb; color: #68766d; font-size: 8px; font-weight: 700; white-space: nowrap; }
.badge-submitted, .badge-pending, .badge-in_progress, .badge-processing { color: #977246; background: #f7ecd9; }
.badge-completed, .badge-active, .badge-success, .badge-credit, .badge-refund, .badge-bonus { color: #3e7452; background: #e5f0e2; }
.badge-failed, .badge-suspended, .badge-cancelled, .badge-error { color: #a55347; background: #f7e7e2; }
.badge-open, .badge-info, .badge-order, .badge-payment, .badge-wallet { color: #54776a; background: #e6efea; }
.activity-list { display: grid; }
.activity-row { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid #edf0eb; }
.activity-row:last-child { border-bottom: 0; }
.activity-symbol { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 8px; background: #eaf2e7; color: #56805e; font-size: 14px; }
.activity-row > div { display: grid; gap: 3px; min-width: 0; flex: 1; }
.activity-row strong { overflow: hidden; color: #51695b; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.activity-row small { color: #9aa49b; font-size: 8px; }
.activity-row b { color: #4f7859; font-family: "DM Mono", monospace; font-size: 9px; white-space: nowrap; }
.empty-state { min-height: 170px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; border: 1px dashed #dce5d9; border-radius: 10px; text-align: center; }
.empty-state.compact { min-height: 105px; border: 0; }
.empty-mark { width: 32px; height: 32px; display: grid; place-items: center; margin-bottom: 8px; border-radius: 10px; background: #eaf0e6; color: #729177; }
.empty-state h3 { margin: 4px 0; color: #476254; font-size: 12px; }
.empty-state p { margin: 0; color: #919b92; font-size: 9px; }
.notice-banner, .privacy-callout { display: flex; align-items: start; gap: 12px; margin-top: 15px; padding: 13px 15px; border: 1px solid #e5eadf; border-radius: 9px; background: #f2f5ec; }
.notice-mark, .privacy-callout > span { width: 19px; height: 19px; flex-shrink: 0; display: grid; place-items: center; border: 1px solid #b9cbb8; border-radius: 50%; color: #60816a; font-family: Georgia, serif; font-size: 11px; }
.notice-banner > div, .privacy-callout > div { flex: 1; }
.notice-banner strong, .privacy-callout strong { color: #486554; font-size: 9px; }
.notice-banner p, .privacy-callout p { margin: 3px 0 0; color: #7b897e; font-size: 9px; line-height: 1.7; }
.notice-banner > a { flex-shrink: 0; align-self: center; color: #53785c; font-size: 9px; font-weight: 700; }
.notice-banner > a span { margin-left: 4px; }
.service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.app-service { min-height: 300px; }
.service-meta { display: flex; justify-content: space-between; gap: 7px; margin-top: 13px; color: #94a096; font-size: 8px; }
.service-meta strong { color: #65796b; font-size: 8px; font-weight: 600; }
.provider-disclaimer { display: block; margin-top: 9px; color: #a0a99f; font-size: 8px; }
.order-layout, .wallet-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .7fr); align-items: start; gap: 15px; }
.order-form-panel { padding: 24px; }
.order-form { display: grid; gap: 17px; }
.step-count { color: #839286; font-family: "DM Mono", monospace; font-size: 10px; }
.step-count i { margin: 0 5px; color: #cad2c8; font-style: normal; }
.dynamic-fields { display: grid; gap: 16px; }
.required { color: #bc6b59; }
.order-summary { position: sticky; top: 18px; }
.order-summary h3 { margin: 9px 0 19px; color: #2a4b3e; font-size: 17px; }
.timeline { padding: 0; margin: 0; list-style: none; }
.timeline li { position: relative; display: flex; gap: 11px; padding: 0 0 19px; }
.timeline li:not(:last-child)::after { content: ""; position: absolute; top: 25px; bottom: 1px; left: 11px; width: 1px; background: #e1e8de; }
.timeline li > span { z-index: 1; width: 23px; height: 23px; display: grid; place-items: center; flex-shrink: 0; border: 1px solid #e0e6dd; border-radius: 50%; background: #fffefa; color: #9ba59c; font-family: "DM Mono", monospace; font-size: 8px; }
.timeline li.current > span { border-color: #a8c4a6; background: #e7f0e3; color: #4f7459; }
.timeline li div { display: grid; gap: 3px; padding-top: 2px; }
.timeline strong { color: #587063; font-size: 9px; }
.timeline small { color: #9ba49b; font-size: 8px; line-height: 1.5; }
.summary-price { display: flex; justify-content: space-between; margin: 6px 0 13px; padding-top: 13px; border-top: 1px solid #e7ebe5; color: #87938a; font-size: 9px; }
.summary-price strong { color: #315a44; }
.order-detail { max-width: 900px; }
.order-detail-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-bottom: 18px; border-bottom: 1px solid #edf0e9; }
.order-detail-top > div { display: grid; gap: 6px; }
.order-reference { color: #315649; font-size: 13px; }
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 15px; padding: 22px 0; }
.detail-grid div { display: grid; gap: 5px; }
.detail-grid span { color: #9aa49c; font-size: 9px; }
.detail-grid strong { color: #43604f; font-size: 10px; }
.order-detail > .text-link { display: inline-block; margin-top: 15px; }
.wallet-layout { grid-template-columns: .85fr 1.15fr; margin-bottom: 16px; }
.balance-card { min-height: 256px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 27px; border-radius: 13px; color: white; background: linear-gradient(132deg, #173a35, #254f40); }
.balance-card .stat-label { color: #aec7b0; }
.balance-card > strong { z-index: 1; margin-top: 11px; color: #f6f4e8; font-size: 38px; letter-spacing: -1.5px; }
.balance-card p { z-index: 1; margin: 3px 0 0; color: #b4c7b4; font-size: 9px; }
.balance-lines { position: absolute; right: -44px; bottom: -82px; width: 265px; height: 265px; border: 1px solid rgba(207, 230, 198, .18); border-radius: 50%; transform: rotate(-28deg); }
.balance-lines i { position: absolute; inset: 18px; border: 1px solid rgba(207, 230, 198, .14); border-radius: 50%; }
.balance-lines i:nth-child(2) { inset: 37px; }.balance-lines i:nth-child(3) { inset: 56px; }.balance-lines i:nth-child(4) { inset: 75px; }
.wallet-layout .panel form { display: grid; gap: 13px; margin-top: 17px; }
.wallet-layout .panel .privacy-callout { margin: 0; }
.notification-row { display: flex; align-items: start; gap: 12px; padding: 14px 0; border-bottom: 1px solid #edf0e9; }
.notification-row:last-child { border-bottom: 0; }
.notification-dot { width: 8px; height: 8px; margin: 6px 0 0 3px; border-radius: 50%; background: #8caf8a; }
.notification-row > div { flex: 1; }
.notification-row strong { color: #456151; font-size: 10px; }
.notification-row p { margin: 4px 0; color: #7f8c82; font-size: 9px; }
.notification-row small { color: #a0aaa1; font-size: 8px; }
.form-panel { max-width: 680px; }
.form-panel form { display: grid; gap: 15px; margin-top: 17px; }
.form-panel > .eyebrow + h2 { margin-top: 7px; }
.support-layout, .admin-two-col { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); align-items: start; gap: 15px; }
.support-layout .panel { margin: 0; }
.support-layout .form-panel form { display: grid; gap: 15px; margin-top: 17px; }
.ticket-list { display: grid; }
.ticket-row { display: flex; align-items: center; gap: 11px; padding: 13px 0; border-bottom: 1px solid #edf0e9; }
.ticket-row > div { display: grid; gap: 3px; flex: 1; }
.ticket-row strong { color: #4a6554; font-size: 10px; }
.ticket-row small { color: #9aa39b; font-size: 8px; }
.ticket-row > span:last-child { color: #79a080; font-size: 15px; }
.support-thread { max-width: 920px; }
.thread-list { display: grid; gap: 10px; padding: 5px 0 18px; }
.thread-message { max-width: 86%; padding: 13px 15px; border: 1px solid #e7ebe4; border-radius: 10px 10px 10px 2px; background: #f4f6f0; }
.thread-message.own { justify-self: end; border-radius: 10px 10px 2px 10px; background: #edf3e9; }
.thread-message strong { color: #506d5a; font-size: 9px; }
.thread-message p { margin: 6px 0; color: #64756a; font-size: 10px; white-space: pre-wrap; }
.thread-message small { color: #9ba49b; font-size: 8px; }
.support-thread form { display: grid; gap: 12px; margin: 10px 0 18px; padding-top: 15px; border-top: 1px solid #e9ede6; }
.thread-list + .text-link { display: inline-block; margin-top: 10px; }
.app-footer { display: flex; justify-content: space-between; gap: 15px; padding: 0 4.3% 20px; color: #a0a99f; font-size: 8px; }
.mobile-app-bar { display: none; }
.sidebar-scrim { display: none; }
.toast { position: fixed; z-index: 60; top: 18px; right: 20px; max-width: min(430px, calc(100vw - 40px)); display: flex; align-items: center; gap: 14px; padding: 13px 15px; border: 1px solid #d7e4d4; border-radius: 9px; background: #f4faf0; color: #3e684a; box-shadow: 0 12px 35px rgba(37, 64, 50, .14); font-size: 11px; animation: toast-in .24s ease-out; }
.toast-error { border-color: #eed8cf; background: #fff4ef; color: #985446; }
.toast button { margin-left: auto; padding: 0 4px; border: 0; background: transparent; color: inherit; font-size: 18px; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-7px); } to { opacity: 1; transform: translateY(0); } }
.loading-button { opacity: .72; pointer-events: none; }
.loading-button .button-arrow { display: none; }
.search-form { display: flex; align-items: center; gap: 7px; }
.search-form input { width: 200px; min-height: 34px; font-size: 10px; }
.inline-form { display: flex; align-items: center; gap: 6px; }
.inline-form select { width: auto; min-width: 114px; min-height: 32px; padding: 5px 8px; font-size: 9px; }
.verify-form input { min-width: 150px; min-height: 32px; font-size: 9px; }
.table-note { margin: 13px 0 0; color: #909b91; font-size: 9px; line-height: 1.7; }
.admin-heading { margin-bottom: 19px; }
.admin-heading .page-heading { margin-bottom: 16px; }
.admin-nav { display: flex; gap: 5px; overflow-x: auto; padding: 0 0 5px; scrollbar-width: thin; }
.admin-nav a { flex-shrink: 0; padding: 8px 10px; border: 1px solid transparent; border-radius: 7px; color: #7f8b81; font-size: 9px; }
.admin-nav a:hover { background: #edf1e9; color: #43644d; }
.admin-nav a.active { border-color: #dce6d9; background: #e8f0e6; color: #3f6448; font-weight: 700; }
.admin-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.admin-two-col .panel { margin: 0 0 15px; min-width: 0; }
.admin-two-col > .panel:first-child { align-self: start; }
.admin-two-col .form-panel form { display: grid; gap: 12px; margin-top: 15px; }
.form-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.role-mark { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 8px; background: #eaf0e6; color: #52775d; font-family: "Playfair Display", Georgia, serif; }
.permission-row { display: flex; flex-direction: column; gap: 3px; padding: 10px 0; border-bottom: 1px solid #edf0eb; }
.permission-row:last-child { border-bottom: 0; }
.permission-row strong { color: #576e5d; font-size: 9px; }
.permission-row small { color: #99a39a; font-size: 8px; }
.error-panel { width: min(620px, 100%); margin: 50px auto; padding: 30px; border: 1px solid #e3e9df; border-radius: 14px; background: #fffefa; }
.error-panel h1 { margin: 11px 0; color: var(--deep); font-size: 28px; letter-spacing: -.7px; }
.error-panel p { color: #7c8880; font-size: 11px; line-height: 1.8; }
.error-panel .button { margin-top: 8px; }
.public-content.error-panel { width: min(620px, 89%); }
.service-edit-row > td { padding: 0 10px 12px; white-space: normal; background: #fafbf7; }
.service-edit-row details { border-top: 1px solid #edf0eb; }
.service-edit-row summary { padding: 10px 0 4px; color: #62806a; font-size: 9px; font-weight: 700; cursor: pointer; }
.service-edit-form { display: grid; gap: 10px; max-width: 700px; padding: 9px 0 3px; }
.service-edit-form .form-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service-edit-form input, .service-edit-form select, .service-edit-form textarea { min-height: 35px; padding: 7px 9px; font-size: 10px; }

@media (max-width: 1050px) {
  .public-header { padding-inline: 4%; }
  .public-nav { gap: 22px; }
  .hero { gap: 1.5%; }
  .hero h1 { font-size: 60px; }
  .content-wrap { padding-inline: 3%; }
  .sidebar { width: 220px; }
  .app-main { width: calc(100% - 220px); margin-left: 220px; }
  .dashboard-grid { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
  .public-header { min-height: 72px; }
  .public-nav, .header-actions { display: none; }
  .mobile-menu-toggle { display: block; margin-left: auto; }
  .public-header.menu-open .public-nav { position: absolute; top: 71px; left: 0; right: 0; display: grid; gap: 0; padding: 10px 5.3%; border-bottom: 1px solid #e1e8de; background: #f8f9f4; }
  .public-header.menu-open .public-nav a { padding: 12px 0; }
  .public-header.menu-open .header-actions { position: absolute; top: 224px; left: 0; right: 0; display: flex; padding: 10px 5.3% 16px; background: #f8f9f4; }
  .hero { min-height: 0; grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 56px; }
  .hero-copy { padding-bottom: 0; }
  .hero h1 { font-size: clamp(47px, 10vw, 70px); }
  .hero-art { min-height: 390px; width: 100%; max-width: 540px; margin: 0 auto; }
  .hero-index { bottom: 15px; }
  .floating-note { right: 0; bottom: 12%; }
  .hero-stamp { right: 8%; }
  .trust-strip { grid-template-columns: 1fr; gap: 0; padding: 11px 6%; }
  .trust-strip > div { padding: 13px 0; }
  .trust-strip > div + div { border-left: 0; border-top: 1px solid #dfe5da; padding-left: 0; }
  .section-intro { grid-template-columns: 1fr 1fr; gap: 15px; }
  .section-intro .eyebrow { grid-column: 1 / -1; }
  .section-intro p { align-self: end; }
  .service-cards, .service-grid { grid-template-columns: 1fr 1fr; }
  .how-inner { grid-template-columns: 1fr; gap: 33px; }
  .faq-section { grid-template-columns: 1fr; gap: 16px; }
  .cta-band { padding-inline: 30px; }
  .auth-layout { grid-template-columns: 1fr; gap: 18px; padding-top: 45px; }
  .auth-story { padding-bottom: 0; }
  .auth-story h1 { font-size: 48px; }
  .auth-story-rule, .auth-story-note { display: none; }
  .auth-card { width: min(500px, 100%); }
  .app-main { width: 100%; margin-left: 0; }
  .sidebar { z-index: 40; transform: translateX(-105%); transition: transform .25s ease; box-shadow: 12px 0 40px rgba(23, 52, 41, .1); }
  .sidebar.open { transform: translateX(0); }
  .sidebar-scrim.visible { position: fixed; z-index: 30; inset: 0; display: block; background: rgba(18, 38, 31, .3); }
  .mobile-app-bar { height: 56px; display: flex; align-items: center; gap: 12px; padding: 0 4%; border-bottom: 1px solid #e6eae2; background: #fafbf6; }
  .mobile-app-bar > button { border: 0; background: transparent; color: #496556; font-size: 16px; }
  .mobile-app-bar .brand { font-size: 15px; }
  .mobile-app-bar .brand-mark { width: 28px; height: 28px; font-size: 18px; }
  .mobile-app-bar .brand small { display: none; }
  .topbar { height: 57px; padding-inline: 4%; }
  .user-menu { display: none; }
  .content-wrap { padding: 26px 4% 40px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .order-layout, .wallet-layout, .support-layout, .admin-two-col { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .app-footer { padding-inline: 4%; }
}
@media (max-width: 520px) {
  .public-header { padding-inline: 5.5%; }
  .brand { font-size: 16px; }
  .hero { width: 89%; padding-top: 50px; }
  .hero h1 { font-size: 46px; letter-spacing: -2.4px; }
  .hero-lede { font-size: 13px; }
  .hero-actions { align-items: start; flex-direction: column; gap: 16px; margin-top: 23px; }
  .hero-proof { flex-wrap: wrap; font-size: 8px; }
  .hero-art { min-height: 330px; }
  .preview-card { width: 88%; min-height: 284px; padding: 19px; }
  .preview-balance strong { font-size: 21px; }
  .floating-note { right: -2%; padding: 9px 11px; }
  .hero-stamp { top: 1%; right: 2%; }
  .landing-section { padding-block: 75px; }
  .section-intro { grid-template-columns: 1fr; margin-bottom: 25px; }
  .section-intro .eyebrow { grid-column: auto; }
  .section-intro h2 { font-size: 36px; }
  .service-cards, .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 250px; }
  .service-symbol { margin-top: 20px; }
  .how-section { padding: 65px 0; }
  .how-inner h2 { font-size: 39px; }
  .faq-section { padding-block: 65px; }
  .faq-section h2 { font-size: 29px; }
  .cta-band { align-items: start; flex-direction: column; padding: 27px 23px; }
  .cta-band h2 { font-size: 28px; }
  .public-footer { align-items: start; flex-direction: column; padding-bottom: 22px; }
  .auth-layout { width: 90%; padding-top: 35px; }
  .auth-story h1 { font-size: 43px; }
  .auth-card { padding: 26px 22px; }
  .topbar { padding-inline: 4%; }
  .breadcrumb { font-size: 8px; }
  .wallet-chip { gap: 5px; padding: 7px; font-size: 8px; }
  .wallet-chip strong { font-size: 8px; }
  .avatar { width: 27px; height: 27px; }
  .content-wrap { padding-top: 22px; }
  .page-heading h1 { font-size: 24px; }
  .stat-card { min-height: 108px; padding: 14px 12px; }
  .stat-card > strong { font-size: 22px; }
  .stat-label { font-size: 7px; letter-spacing: .6px; }
  .stat-foot { font-size: 8px; }
  .panel { padding: 15px 12px; }
  .panel-heading { align-items: start; }
  .panel-heading h2 { font-size: 14px; }
  th { padding: 8px; font-size: 7px; }
  td { padding: 9px 8px; font-size: 9px; }
  .notice-banner { flex-wrap: wrap; }
  .notice-banner > a { margin-left: 31px; }
  .order-form-panel { padding: 17px 14px; }
  .detail-grid { grid-template-columns: 1fr 1fr; }
  .balance-card { min-height: 205px; padding: 21px; }
  .balance-card > strong { font-size: 32px; }
  .admin-nav a { padding: 7px; font-size: 8px; }
  .search-form input { width: 130px; }
  .form-columns { grid-template-columns: 1fr; }
  .app-footer { flex-direction: column; font-size: 7px; }
}

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