:root {
  --ink:#203e37;
  --green:#285b48;
  --muted:#77837b;
  --paper:#f8f8f2;
  --line:#e2e5db;
  --pale:#e9eee5;
  --gold:#b89c63;
  --white:#fff;
  --danger:#a74336
}
* {
  box-sizing:border-box
}
body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
  line-height:1.65
}
button,input,select,textarea {
  font:inherit
}
button,a,input,select,textarea {
  touch-action:manipulation
}
button {
  cursor:pointer
}
button:disabled {
  opacity:.55;
  cursor:wait
}
a {
  color:inherit;
  text-decoration:none
}
button:focus-visible,a:focus-visible {
  outline:3px solid var(--gold);
  outline-offset:3px
}
[hidden] {
  display:none!important
}
.header {
  height:94px;
  max-width:1240px;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  border-bottom:1px solid var(--line);
  padding:0 32px
}
.brand {
  display:flex;
  align-items:center;
  gap:12px;
  font-size:25px;
  font-weight:650;
  letter-spacing:2px;
  white-space:nowrap
}
.brand-mark {
  display:grid;
  place-items:center;
  width:42px;
  height:45px;
  background:var(--green);
  color:#f8f5e9;
  border-radius:11px 2px 11px 2px;
  font-family:serif;
  font-weight:400
}
.brand small {
  display:block;
  font-size:10px;
  font-weight:400;
  letter-spacing:2px;
  color:var(--muted)
}
nav {
  display:flex;
  gap:30px
}
.nav {
  background:none;
  border:0;
  padding:34px 0 30px;
  color:var(--muted);
  font-size:14px;
  border-bottom:3px solid transparent
}
.nav.active {
  color:var(--green);
  border-bottom-color:var(--green)
}
main {
  max-width:1176px;
  margin:auto;
  padding:0 32px 72px
}
.button {
  border:1px solid var(--green);
  background:var(--green);
  color:white;
  border-radius:6px;
  padding:12px 21px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:20px;
  font-size:14px;
  transition:background .15s
}
.button:hover {
  background:#194331
}
.button.small {
  padding:8px 16px;
  font-size:13px
}
.button.secondary {
  background:transparent;
  color:var(--green);
  border-color:#bdc9bb
}
.button.danger {
  background:var(--danger);
  border-color:var(--danger)
}
.wide {
  width:100%;
  justify-content:space-between
}
.text-button {
  border:0;
  background:none;
  color:var(--green);
  padding:8px;
  font-size:13px
}
.muted {
  color:var(--muted);
  font-size:13px
}
.hero {
  display:grid;
  grid-template-columns:1.05fr 1fr;
  min-height:445px;
  align-items:center;
  padding:46px 0 38px;
  gap:30px
}
.eyebrow {
  font-size:10px;
  letter-spacing:2.5px;
  font-weight:650;
  color:#82917d;
  display:flex;
  align-items:center;
  gap:8px
}
.dot {
  width:6px;
  height:6px;
  border-radius:50%;
  background:#9eb08c
}
h1,h2,h3,p {
  margin-top:0
}
h1 {
  font-size:46px;
  line-height:1.5;
  letter-spacing:2px;
  font-weight:550;
  margin:18px 0
}
h1 span {
  color:#82986f
}
p {
  font-size:14px;
  color:var(--muted);
  line-height:1.9
}
.hero p {
  margin-bottom:24px
}
.hero-notes {
  display:flex;
  gap:19px;
  font-size:11px;
  color:#6a7f65
}
.hero-notes span:before {
  content:'✓';
  margin-right:6px;
  color:#719264
}
.hero-art {
  position:relative;
  height:330px;
  display:grid;
  place-items:center;
  overflow:hidden;
  background:radial-gradient(ellipse,#e5eadb 0,transparent 68%);
  border-radius:50%
}
.orbit {
  position:absolute;
  border:1px solid #d9e0cc;
  border-radius:50%;
  width:350px;
  height:220px;
  transform:rotate(-25deg)
}
.orbit-two {
  width:310px;
  height:310px;
  transform:rotate(30deg)
}
.gift-box {
  position:relative;
  width:172px;
  height:158px;
  background:linear-gradient(115deg,#a9b899,#d4d9be 55%,#96aa85);
  box-shadow:15px 26px 35px #64715528;
  transform:rotate(-12deg);
  border-radius:3px;
  display:grid;
  place-items:center
}
.gift-box:before {
  content:'';
  height:23px;
  width:184px;
  background:linear-gradient(100deg,#c5ceb1,#dce1c9);
  position:absolute;
  top:-9px;
  left:-6px;
  box-shadow:0 3px 3px #59773d26;
  border-radius:2px
}
.ribbon {
  position:absolute;
  top:-9px;
  bottom:0;
  left:30px;
  width:23px;
  background:#f2eee1d9;
  transform:skewY(-1deg)
}
.ribbon:before,.ribbon:after {
  content:'';
  position:absolute;
  width:43px;
  height:25px;
  top:-21px;
  border:9px solid #e9e3cb;
  border-radius:75% 80% 0 80%;
  transform:rotate(20deg);
  left:-33px
}
.ribbon:after {
  left:8px;
  transform:rotate(-70deg)
}
.gift-box>span {
  font:22px/1.45 serif;
  margin-left:45px;
  color:#486343;
  opacity:.75
}
.art-tag {
  position:absolute;
  right:18px;
  bottom:58px;
  border:1px solid #dfe4d4;
  background:#f9faf2e8;
  border-radius:3px;
  padding:11px 18px;
  font-size:11px;
  letter-spacing:2px;
  transform:rotate(5deg)
}
.art-caption {
  position:absolute;
  bottom:0;
  font-size:8px;
  letter-spacing:2px;
  color:#9aa48f
}
.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:end;
  margin:24px 0
}
.section-heading h2 {
  font-size:24px;
  font-weight:550;
  margin:8px 0 0
}
.advisor-grid {
  display:grid;
  grid-template-columns:1.5fr 1fr;
  gap:24px;
  margin-bottom:52px
}
.panel {
  background:#fff;
  border:1px solid var(--line);
  border-radius:9px
}
.form-panel {
  padding:30px
}
.form-step {
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 18px
}
.form-step:not(:first-child) {
  margin-top:26px
}
.form-step>span {
  background:var(--pale);
  font-size:10px;
  color:var(--green);
  padding:3px 6px;
  border-radius:4px
}
.form-step h3 {
  font-size:14px;
  font-weight:550;
  margin:0
}
.form-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px
}
label {
  display:flex;
  flex-direction:column;
  gap:7px;
  font-size:12px;
  color:#596b5e;
  margin-bottom:18px
}
input,select,textarea {
  width:100%;
  border:1px solid var(--line);
  border-radius:5px;
  background:#fcfcf9;
  color:var(--ink);
  padding:11px 13px;
  font-size:14px;
  min-width:0
}
input:focus,select:focus,textarea:focus {
  outline:2px solid #abbc9f;
  outline-offset:1px
}
textarea {
  resize:vertical
}
::placeholder {
  color:#a0a99d
}
.form-note {
  font-size:10px;
  text-align:center;
  margin:11px 0 0
}
.note-panel {
  padding:28px 38px;
  background:#eef1e7;
  position:relative;
  overflow:hidden
}
.note-number {
  color:#b3c1a7;
  font:65px/1 Georgia
}
.note-panel h3 {
  font-size:26px;
  font-weight:500;
  line-height:1.6;
  letter-spacing:2px;
  margin:0 0 14px
}
.note-panel p {
  font-size:12px
}
.note-divider {
  height:1px;
  background:#d4dcc9;
  margin:26px 0
}
.feature {
  display:flex;
  gap:18px;
  margin-top:20px
}
.feature>span {
  font:12px Georgia;
  color:#a0af92;
  padding-top:4px
}
.feature b {
  font-size:12px;
  font-weight:550
}
.feature small {
  display:block;
  font-size:10px;
  color:#829078;
  margin-top:2px
}
.gift-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px
}
.gift-card {
  background:white;
  border:1px solid var(--line);
  border-radius:8px;
  overflow:hidden;
  cursor:pointer;
  transition:transform .2s;
  text-align:left;
  padding:0;
  color:inherit
}
.gift-card:hover {
  transform:translateY(-4px)
}
.gift-image {
  height:177px;
  background:#e8eddf;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden
}
.gift-image img {
  width:100%;
  height:100%;
  object-fit:cover
}
.gift-image:before {
  content:'';
  position:absolute;
  width:115px;
  height:115px;
  border:1px solid #ffffff85;
  border-radius:50%;
  transform:translate(30px,30px)
}
.gift-image .symbol {
  font:52px/1 serif;
  color:#617557;
  z-index:1;
  font-weight:400
}
.tone-1 {
  background:#f0e9da
}
.tone-2 {
  background:#e2e9e5
}
.tone-3 {
  background:#eae4df
}
.gift-image .category-label {
  position:absolute;
  left:12px;
  top:12px;
  font-size:9px;
  background:#ffffffe0;
  padding:2px 8px;
  border-radius:2px;
  color:#70806b
}
.gift-info {
  padding:18px
}
.gift-info h3 {
  font-size:14px;
  font-weight:550;
  margin-bottom:7px
}
.gift-info p {
  font-size:11px;
  overflow:hidden;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  min-height:40px;
  margin-bottom:13px
}
.gift-price {
  display:flex;
  align-items:center;
  justify-content:space-between
}
.gift-price strong {
  font-size:17px;
  font-weight:550
}
.gift-price small {
  font-size:9px;
  color:var(--muted)
}
.page-heading {
  padding:54px 0 32px
}
.page-heading h1 {
  font-size:34px;
  margin-bottom:12px
}
.page-heading.compact {
  padding-bottom:15px
}
.catalog-toolbar {
  margin:0 0 24px;
  display:flex;
  gap:20px;
  align-items:center
}
.catalog-toolbar input {
  max-width:300px;
  background:white
}
.chips {
  display:flex;
  gap:8px;
  flex-wrap:wrap
}
.chip,.tab {
  border:1px solid var(--line);
  border-radius:30px;
  padding:6px 14px;
  font-size:12px;
  background:transparent;
  color:var(--muted)
}
.chip.active,.tab.active {
  background:var(--green);
  color:white;
  border-color:var(--green)
}
.empty {
  padding:50px 24px;
  text-align:center;
  color:var(--muted);
  border:1px dashed #cbd3c5;
  border-radius:8px;
  grid-column:1/-1;
  font-size:14px
}
.results-heading {
  margin-top:25px
}
.plans {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px
}
.plan {
  padding:23px;
  background:white;
  border:1px solid #cbd8c1;
  border-radius:8px
}
.plan h3 {
  font-size:18px;
  font-weight:500;
  margin:10px 0 20px
}
.plan p {
  font-size:12px
}
.plan ul {
  padding-left:18px;
  font-size:13px
}
.plan strong {
  font-size:20px;
  font-weight:500
}
.result-note {
  font-size:12px;
  margin:15px 0 36px
}
.submission-panel {
  max-width:780px;
  margin:auto;
  padding:32px
}
.banner {
  background:var(--pale);
  border:1px solid #d6e0ce;
  border-radius:6px;
  padding:16px;
  margin-bottom:20px;
  font-size:13px
}
.link-box {
  display:flex;
  gap:10px;
  align-items:center;
  margin-top:14px
}
.link-box input {
  font-family:monospace;
  font-size:12px
}
.preview-image {
  max-width:180px;
  max-height:180px;
  object-fit:contain;
  border-radius:5px;
  margin:10px 0
}
.admin-stats {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-bottom:24px
}
.stat {
  padding:20px 25px
}
.stat span {
  font-size:12px;
  color:var(--muted)
}
.stat strong {
  display:block;
  font-size:30px;
  font-weight:500;
  margin-top:4px
}
.admin-tabs {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:24px
}
.admin-row {
  padding:24px;
  margin-bottom:16px
}
.admin-row h3 {
  font-size:17px;
  margin-bottom:8px
}
.row-heading {
  display:flex;
  justify-content:space-between;
  align-items:start;
  gap:20px
}
.badge {
  display:inline-flex;
  background:var(--pale);
  color:#6e825d;
  font-size:11px;
  border-radius:3px;
  padding:2px 8px;
  white-space:nowrap
}
.badge.pending {
  background:#f5eed7;
  color:#978034
}
.badge.rejected {
  background:#f5e6e0;
  color:#a06c55
}
.detail-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px 24px;
  font-size:12px;
  color:var(--muted);
  margin:16px 0
}
.detail-grid b {
  font-weight:500;
  color:var(--ink)
}
.private {
  color:#a17436
}
.actions {
  display:flex;
  gap:9px;
  align-items:center;
  flex-wrap:wrap
}
.actions input {
  max-width:280px
}
.table-wrap {
  overflow-x:auto
}
table {
  width:100%;
  border-collapse:collapse;
  font-size:12px;
  text-align:left
}
th,td {
  padding:14px 12px;
  border-bottom:1px solid var(--line);
  white-space:nowrap
}
th {
  font-weight:500;
  color:var(--muted)
}
td a {
  color:var(--green);
  text-decoration:underline
}
.inline-checkbox {
  display:flex;
  flex-direction:row;
  align-items:center;
  gap:10px
}
.inline-checkbox input {
  width:auto
}
.admin-panel {
  padding:24px
}
.admin-panel h3 {
  font-size:17px;
  font-weight:550
}
.admin-toolbar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:20px
}
.admin-toolbar h3 {
  margin:0
}
dialog {
  border:1px solid var(--line);
  border-radius:12px;
  padding:32px;
  width:min(650px,calc(100% - 28px));
  max-height:90vh;
  color:var(--ink);
  background:var(--paper)
}
dialog::backdrop {
  background:#17352b66;
  backdrop-filter:blur(3px)
}
.dialog-head {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:20px
}
.dialog-head h2 {
  font-size:23px;
  margin:0;
  font-weight:500
}
.close {
  border:0;
  background:none;
  font-size:25px;
  line-height:1;
  padding:8px;
  color:var(--muted)
}
.dialog-intro {
  font-size:12px
}
.auth-switch {
  font-size:12px;
  text-align:center;
  margin:16px 0 0
}
.error {
  background:#f9e9e4;
  color:#a74336;
  border-radius:4px;
  padding:10px;
  font-size:12px
}
.toast {
  position:fixed;
  bottom:28px;
  left:50%;
  transform:translateX(-50%);
  background:var(--ink);
  color:white;
  padding:12px 22px;
  border-radius:6px;
  font-size:13px;
  z-index:10;
  max-width:90vw;
  box-shadow:0 6px 30px #18332424
}
footer {
  max-width:1176px;
  margin:auto;
  border-top:1px solid var(--line);
  padding:26px 32px 36px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:25px;
  color:var(--muted);
  font-size:10px
}
footer .brand {
  font-size:17px;
  gap:16px
}
footer .brand small {
  font-size:10px;
  letter-spacing:1px;
  font-weight:400
}
.account-name {
  font-size:11px;
  max-width:130px;
  overflow:hidden;
  text-overflow:ellipsis;
  display:inline-block;
  vertical-align:middle
}
.quote-note {
  font-size:11px
}
.detail-description {
  white-space:pre-wrap
}
.loading {
  color:var(--muted);
  padding:40px;
  text-align:center
}
.role-select {
  padding:6px;
  font-size:12px;
  width:100px
}
.count {
  font-size:11px;
  color:var(--muted)
}
@media(min-width:1000px) {
  #featured .gift-card:nth-child(n+5) {
    display:none
  }
}
@media(max-width:1000px) {
  .gift-grid {
    grid-template-columns:repeat(3,1fr)
  }
  .header {
    padding:0 24px;
    gap:15px
  }
  nav {
    gap:20px
  }
  .brand small {
    letter-spacing:0
  }
  main {
    padding:0 24px 50px
  }
  .hero h1 {
    font-size:39px
  }
  .hero-art {
    height:300px
  }
  .advisor-grid {
    grid-template-columns:1.4fr 1fr
  }
  .note-panel {
    padding:28px
  }
  .hero-notes {
    gap:10px
  }
  #featured .gift-card:nth-child(n+4) {
    display:none
  }
}
@media(max-width:700px) {
  .header {
    height:auto;
    min-height:78px;
    flex-wrap:wrap;
    padding:16px 20px 0;
    gap:10px
  }
  .brand {
    font-size:22px;
    gap:8px
  }
  .brand-mark {
    width:35px;
    height:39px;
    font-size:22px
  }
  .brand small {
    font-size:8px
  }
  nav {
    order:3;
    flex-basis:100%;
    justify-content:center;
    gap:35px
  }
  .nav {
    padding:10px 0 13px;
    font-size:13px
  }
  #account .small {
    padding:7px 10px;
    font-size:11px
  }
  main {
    padding:0 20px 42px
  }
  .hero {
    min-height:0;
    padding:30px 0;
    grid-template-columns:1fr;
    gap:15px
  }
  .hero h1 {
    font-size:35px;
    line-height:1.45;
    margin:15px 0
  }
  .hero p {
    font-size:12px
  }
  .hero-notes {
    font-size:10px;
    gap:14px
  }
  .hero-art {
    display:none
  }
  .eyebrow {
    font-size:9px;
    letter-spacing:2px
  }
  .section-heading {
    margin:18px 0;
    align-items:center;
    gap:12px
  }
  .section-heading h2 {
    font-size:20px
  }
  .section-heading>.muted {
    max-width:80px;
    font-size:10px
  }
  .advisor-grid {
    grid-template-columns:1fr;
    gap:16px;
    margin-bottom:32px
  }
  .form-panel {
    padding:23px
  }
  .form-grid {
    gap:12px
  }
  .note-panel {
    display:none
  }
  label {
    font-size:11px
  }
  input,select,textarea {
    font-size:16px;
    padding:10px
  }
  .gift-grid {
    grid-template-columns:repeat(2,1fr);
    gap:12px
  }
  .gift-image {
    height:140px
  }
  .gift-info {
    padding:12px
  }
  .gift-info h3 {
    font-size:12px
  }
  .gift-info p {
    font-size:10px;
    min-height:38px
  }
  .gift-price strong {
    font-size:16px
  }
  .gift-price small {
    font-size:8px
  }
  .gift-image .symbol {
    font-size:42px
  }
  .gift-image .category-label {
    left:9px;
    top:9px;
    font-size:8px
  }
  #featured .gift-card:nth-child(n+3) {
    display:none
  }
  .page-heading {
    padding:30px 0 20px
  }
  .page-heading h1 {
    font-size:27px;
    letter-spacing:1px
  }
  .page-heading p {
    font-size:12px
  }
  .catalog-toolbar {
    display:block
  }
  .catalog-toolbar input {
    max-width:none;
    margin-bottom:16px
  }
  .chips {
    gap:7px
  }
  .chip,.tab {
    font-size:11px;
    padding:6px 12px
  }
  .plans {
    grid-template-columns:1fr
  }
  .plan {
    padding:22px
  }
  .plan h3 {
    margin-bottom:10px
  }
  .submission-panel {
    padding:22px
  }
  .link-box {
    flex-wrap:wrap
  }
  .link-box input {
    font-size:12px
  }
  .admin-stats {
    gap:10px
  }
  .stat {
    padding:14px
  }
  .stat strong {
    font-size:25px
  }
  .stat span {
    font-size:10px
  }
  .admin-row,.admin-panel {
    padding:18px
  }
  .detail-grid {
    grid-template-columns:1fr;
    font-size:11px
  }
  .admin-tabs {
    gap:7px
  }
  .actions input {
    max-width:none;
    flex-basis:100%;
    font-size:14px
  }
  .row-heading {
    gap:10px
  }
  .row-heading h3 {
    font-size:15px
  }
  footer {
    padding:23px 20px;
    flex-wrap:wrap;
    gap:13px
  }
  footer .brand {
    flex-basis:100%
  }
  .account-name {
    max-width:85px;
    font-size:10px
  }
  .text-button {
    font-size:11px
  }
  dialog {
    padding:23px
  }
  .dialog-head h2 {
    font-size:21px
  }
  .admin-toolbar {
    gap:8px
  }
  .admin-toolbar h3 {
    font-size:15px
  }
}
@media(prefers-reduced-motion:reduce) {
  * {
    transition:none!important;
    scroll-behavior:auto!important
  }
}
