:root {
  color-scheme: dark;
  --ink: #171918;
  --ink-soft: #202321;
  --ink-raised: #292d2a;
  --paper: #f2f0e9;
  --muted: #a0a69f;
  --line: #383d39;
  --mint: #b8f36b;
  --orange: #ff795d;
  --font-body: 'IBM Plex Sans Thai', 'Tahoma', sans-serif;
  --font-display: 'Space Grotesk', var(--font-body);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--ink);
  background-image: linear-gradient(90deg, transparent 49.9%, rgba(255,255,255,.018) 50%, transparent 50.1%);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
}
button, input, select { font: inherit; }
button, select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.topbar {
  height: 76px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(5vw, calc((100vw - 1240px) / 2));
}
.brand { display: inline-flex; gap: 11px; align-items: center; text-decoration: none; }
.brand-mark {
  width: 38px; height: 38px; display: grid; place-items: center;
  background: var(--mint); color: var(--ink); font: 700 13px var(--font-display);
  transform: rotate(-5deg);
}
.brand-copy { display: grid; line-height: 1.2; }
.brand-copy strong { font: 700 14px var(--font-display); letter-spacing: .04em; }
.brand-copy small { margin-top: 4px; font: 500 9px var(--font-display); letter-spacing: .13em; color: var(--muted); }
.topbar-right { display: flex; align-items: center; gap: 27px; }
.studio-status { font-size: 14px; color: #d4d8d1; }
.studio-status i, .live-tag i { display: inline-block; width: 7px; height: 7px; margin: 0 7px 1px 0; background: var(--mint); border-radius: 50%; }
.account-identity { min-height: 38px; max-width: 180px; overflow: hidden; padding: 0 11px; border: 1px solid #555b55; background: transparent; color: #d4d8d1; cursor: pointer; font: inherit; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.account-button {
  min-height: 38px; border: 1px solid #555b55; padding: 0 13px; color: var(--paper);
  background: transparent; display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  transition: border-color .2s, color .2s;
}
.account-button[hidden], .account-identity[hidden] { display: none; }
.account-button:hover { border-color: var(--mint); color: var(--mint); }
.logout-button { border-color: #805348; color: #ffb09b; }
.logout-button:hover { border-color: var(--orange); color: #ffd0c4; }
.account-symbol { color: var(--mint); font: 600 16px var(--font-display); }
main { max-width: 1240px; margin: 0 auto; padding: 0 34px; }
.intro-band {
  min-height: 333px; display: grid; grid-template-columns: 1fr 350px; align-items: center;
  border-bottom: 1px solid var(--line); gap: 50px; padding: 37px 0 35px;
}
.eyebrow { margin: 0 0 17px; color: var(--muted); font: 600 10px var(--font-display); letter-spacing: .14em; }
.eyebrow span { color: var(--orange); margin-right: 10px; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 12px; font-size: clamp(34px, 4vw, 49px); line-height: 1.18; font-weight: 600; }
h1 em { color: var(--mint); font-style: normal; }
.intro-description { margin-bottom: 0; color: #b8bdb6; font-size: 16px; }
.print-art {
  width: 330px; height: 245px; position: relative; justify-self: end; overflow: hidden;
  background: #252a26; border: 1px solid #414742; padding: 16px;
}
.art-caption, .art-index { position: absolute; z-index: 1; font: 500 8px var(--font-display); letter-spacing: .13em; color: #c1c7bf; }
.art-caption { top: 15px; left: 16px; right: 16px; display: flex; justify-content: space-between; }
.art-index { bottom: 13px; right: 15px; color: #929a91; }
.sheet {
  width: 192px; height: 151px; position: absolute; left: 50%; top: 49%; transform: translate(-50%, -50%) rotate(-7deg);
  background: #e6e5d8; box-shadow: 8px 10px 0 rgba(0,0,0,.2); padding: 17px 13px;
  display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px;
}
.sticker { display: grid; place-content: center; text-align: center; line-height: 1; font: 700 9px var(--font-display); color: #1f2b27; }
.sticker b { font-size: 12px; }
.sticker-sun { background: var(--mint); border-radius: 50%; transform: rotate(8deg); }
.sticker-berry { background: var(--orange); border-radius: 37% 63% 54% 46%; transform: rotate(-9deg); font-size: 7px; }
.sticker-flower { color: #ef775d; font-size: 31px; }
.sticker-wave { border: 2px solid #343c38; border-radius: 48%; font-size: 7px; transform: rotate(7deg); }
.sticker-orbit { color: #f2f0e9; background: #343c38; border-radius: 45%; transform: rotate(-4deg); font-size: 7px; }
.sticker-star { color: #ed795e; font-size: 30px; transform: rotate(11deg); }
.product-samples { padding: 31px 0 36px; border-bottom: 1px solid var(--line); }
.sample-heading { margin-bottom: 18px; }
.sample-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.catalog-status { margin: 14px 0 0; color: #a0a69f; font-size: 14px; }
.catalog-status[hidden] { display: none; }
.product-sample-card { min-width: 0; padding: 7px 7px 12px; border: 1px solid #3d433e; border-radius: 3px; background: #202421; color: var(--paper); text-align: left; cursor: pointer; transition: border-color .18s, transform .18s, background .18s; }
.product-sample-card:hover { border-color: var(--mint); background: #252a26; transform: translateY(-3px); }
.product-sample-card:focus-visible, .gallery-arrow:focus-visible, .gallery-dot:focus-visible, .gallery-select:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.sample-visual { display: grid; place-items: center; aspect-ratio: 1.18; overflow: hidden; background: #292e2a; }
.sample-photo { display: block; width: 100%; height: 100%; padding: 5px; object-fit: contain; background: #f2f0e9; }
.image-placeholder { display: grid; place-items: center; color: #b2b9b0; background: #252a26; font-size: 13px; }
.image-placeholder--card { width: 100%; height: 100%; }
.sample-card-copy { display: grid; gap: 3px; padding: 10px 5px 0; }
.sample-card-copy strong { font-size: 14px; font-weight: 600; }
.sample-card-copy > span { display: flex; justify-content: space-between; gap: 6px; color: #c0c7bd; font-size: 13px; }
.sample-card-copy b { color: var(--mint); font: 600 13px var(--font-display); }
.product-gallery { width: min(860px, calc(100% - 30px)); }
.gallery-content { position: relative; padding: 32px; }
.gallery-content > .eyebrow { margin-bottom: 15px; }
.gallery-heading { display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.gallery-heading h2 { margin: 0 0 5px; }
.gallery-heading .modal-description { margin-bottom: 0; }
.gallery-count { padding-bottom: 3px; color: var(--mint); font: 600 13px var(--font-display); white-space: nowrap; }
.gallery-viewer { display: grid; grid-template-columns: 38px minmax(0, 1fr) 38px; align-items: center; gap: 14px; margin-top: 19px; }
.gallery-stage { min-width: 0; min-height: 360px; display: grid; place-items: center; overflow: hidden; background: #171b18; border: 1px solid #3b423c; }
.gallery-photo { display: block; max-width: 100%; max-height: min(55vh, 520px); object-fit: contain; }
.gallery-video { display: block; width: 100%; max-height: min(55vh, 520px); aspect-ratio: 1; object-fit: contain; background: #101210; }
.image-placeholder--gallery { width: 100%; min-height: 360px; }
.gallery-arrow { width: 38px; height: 38px; border: 1px solid #525a52; border-radius: 50%; background: #252a26; color: var(--paper); cursor: pointer; font: 600 15px var(--font-display); }
.gallery-arrow:hover { border-color: var(--mint); color: var(--mint); }
.gallery-controls { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-top: 15px; }
.gallery-pagination { display: flex; align-items: center; gap: 8px; }
.gallery-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #606860; cursor: pointer; }
.gallery-dot[aria-pressed="true"] { width: 22px; border-radius: 8px; background: var(--mint); }
.gallery-select { min-height: 42px; display: inline-flex; align-items: center; gap: 16px; padding: 0 14px; border: 0; background: var(--mint); color: #182018; font-weight: 700; cursor: pointer; }
.gallery-select:hover { background: #d2ff9a; }
.gallery-select span { font: 600 16px var(--font-display); }
.gallery-viewer button { flex: 0 0 auto; }
.order-section { padding: 35px 0 54px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 28px; }
.section-heading .eyebrow { margin-bottom: 7px; }
h2 { margin-bottom: 0; font-size: 24px; line-height: 1.3; font-weight: 600; }
.required-note { margin-bottom: 4px; font-size: 13px; color: var(--muted); }
.required-note b, label span { color: var(--orange); }
.order-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 68px; align-items: start; }
.order-form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 23px; }
.order-items, .add-order-item, .production-note { grid-column: 1 / -1; }
.order-items { display: grid; gap: 12px; }
.order-item { min-width: 0; padding: 14px; border: 1px solid #414741; background: #202421; }
.order-item-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; color: var(--mint); font-size: 14px; }
.remove-order-item { padding: 3px 0; border: 0; background: transparent; color: #c0c7bd; cursor: pointer; font: inherit; font-size: 13px; }
.remove-order-item:hover:not(:disabled) { color: var(--orange); }
.remove-order-item:disabled { opacity: .45; cursor: not-allowed; }
.order-item-fields { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(130px, .9fr); align-items: start; gap: 11px; }
.order-item-fields label { display: grid; min-width: 0; gap: 7px; color: #e4e6e0; font-size: 14px; }
.order-item-fields select, .order-item-fields .quantity-control { min-height: 43px; }
.order-item-fields .quantity-control button { width: 35px; }
.order-item-fields .quantity-control input { width: 42px; font-size: 14px; }
.order-item-hint { margin-bottom: 0; }
.order-artwork-input-label { grid-column: 1 / -1; display: grid; gap: 5px; color: #e4e6e0; font-size: 13px; }
.order-artwork-input-label input { width: 100%; color: #c0c7bd; font: inherit; }
.order-artwork-input-label .field-hint { margin: 0; font-size: 12px; }
.order-artwork-section { margin: 17px 0 4px; padding: 14px 0; border-top: 1px solid var(--line); }
.order-artwork-section h3 { margin: 0 0 4px; color: var(--paper); font-size: 16px; }
.order-artwork-section > p { margin: 0 0 9px; color: #c0c7bd; font-size: 12px; }
.order-artwork-list { display: grid; gap: 8px; }
.order-artwork-item { display: grid; gap: 5px; padding: 9px; border: 1px solid #414741; background: #1c201d; }
.order-artwork-item > strong { color: var(--mint); font-size: 13px; }
.order-artwork-file, .order-artwork-status { min-height: 18px; margin: 0; color: #c0c7bd; font-size: 12px; overflow-wrap: anywhere; }
.order-artwork-file a { color: var(--mint); }
.order-artwork-label { display: grid; gap: 5px; margin: 0 !important; color: #d0d5ce; font-size: 12px !important; }
.order-artwork-label input { width: 100%; color: #c0c7bd; font: inherit; }
.order-artwork-upload { justify-self: start; min-height: 34px; padding: 0 11px; border: 1px solid #4c554c; background: #222623; color: var(--mint); cursor: pointer; font: inherit; font-size: 12px; }
.order-artwork-upload:disabled { opacity: .5; cursor: not-allowed; }
.add-order-item { justify-self: start; min-height: 40px; padding: 0 12px; border: 1px solid #4c554c; background: #222623; color: var(--mint); cursor: pointer; font: inherit; font-size: 14px; }
.add-order-item:hover { border-color: var(--mint); }
.field-block { min-width: 0; }
.field-block label, .modal-content label { display: block; margin-bottom: 8px; color: #e4e6e0; font-size: 15px; font-weight: 500; }
.select-wrap { position: relative; }
select, .quantity-control, .modal-content input {
  min-height: 49px; width: 100%; color: var(--paper); background: #222623; border: 1px solid #444a45; border-radius: 3px;
}
select { appearance: none; padding: 0 42px 0 14px; cursor: pointer; }
select:focus, input:focus { outline: 2px solid var(--mint); outline-offset: 2px; }
select option { background: #222623; color: var(--paper); }
.select-arrow { position: absolute; pointer-events: none; right: 14px; top: 11px; color: var(--mint); font-size: 19px; }
.field-hint { min-height: 19px; margin: 7px 0 0; color: #b2b9b0; font-size: 13px; }
.quantity-control { display: flex; align-items: center; overflow: hidden; }
.quantity-control button { width: 48px; align-self: stretch; background: transparent; color: var(--mint); border: 0; font: 500 22px var(--font-display); cursor: pointer; }
.quantity-control button:hover { background: #303731; }
.quantity-control input { min-width: 0; width: 75px; flex: 1; padding: 0 8px; border: 0; border-radius: 0; background: transparent; color: var(--paper); text-align: center; font: 600 17px var(--font-display); appearance: textfield; }
.quantity-control input::-webkit-inner-spin-button, .quantity-control input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.quantity-unit { padding-right: 14px; color: var(--muted); font-size: 14px; }
.production-note { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 11px; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 1px; }
.note-icon { flex: 0 0 18px; height: 18px; border: 1px solid #818980; border-radius: 50%; color: #c6ccc4; text-align: center; font: 600 11px/17px var(--font-display); }
.production-note p { margin: 0; color: #b2b9b0; font-size: 13px; line-height: 1.7; }
.production-note strong { color: #e1e5de; font-size: 14px; font-weight: 500; }
.estimate-panel { background: #222623; border: 1px solid #414741; padding: 20px 22px 16px; }
.estimate-topline { display: flex; align-items: center; justify-content: space-between; color: #aab1a8; font: 600 9px var(--font-display); letter-spacing: .14em; }
.live-tag { color: var(--mint); font-size: 8px; }
.live-tag i { width: 5px; height: 5px; margin-right: 4px; }
.estimate-label { margin: 24px 0 2px; color: #c5cbc3; font-size: 14px; }
.estimate-total { display: flex; align-items: baseline; gap: 8px; margin: 0; color: var(--mint); font: 600 42px/1.2 var(--font-display); }
.estimate-total small { color: #bec4ba; font: 400 14px var(--font-body); }
.estimate-divider { height: 1px; background: #414741; margin: 18px 0 12px; }
.estimate-items { display: grid; gap: 10px; }
.estimate-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: start; color: #d0d5ce; font-size: 13px; line-height: 1.55; }
.estimate-item strong { color: #e4e6e0; font-size: 13px; font-weight: 500; white-space: nowrap; }
.estimate-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; color: #c2c8bf; font-size: 13px; }
.estimate-row strong { max-width: 56%; overflow-wrap: anywhere; text-align: right; color: #e4e6e0; font-size: 13px; font-weight: 500; }
.estimate-row .discount-value { color: var(--orange); }
.shipping-address-section { margin: 12px 0 15px; padding-top: 12px; border-top: 1px solid var(--line); }
.shipping-address-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.shipping-address-heading h3 { margin: 0; color: var(--paper); font-size: 15px; font-weight: 500; }
.shipping-address-add, .shipping-address-actions button { padding: 4px 0; border: 0; background: transparent; color: var(--mint); cursor: pointer; font: inherit; font-size: 13px; }
.shipping-address-add:disabled { color: #858d84; cursor: not-allowed; }
.shipping-address-status { margin: 7px 0; color: #c0c7bd; font-size: 12px; }
.shipping-address-list { display: grid; gap: 8px; }
.shipping-address-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 9px; border: 1px solid #414741; background: #1c201d; }
.shipping-address-choice { display: flex; align-items: flex-start; gap: 8px; margin: 0 !important; cursor: pointer; }
.shipping-address-choice input { width: 16px; min-height: 16px; margin: 3px 0 0; accent-color: var(--mint); }
.shipping-address-summary { display: grid; gap: 3px; min-width: 0; color: #c0c7bd; font-size: 12px; overflow-wrap: anywhere; }
.shipping-address-summary strong { color: var(--paper); font-size: 13px; font-weight: 500; }
.shipping-address-actions { display: flex; gap: 8px; align-items: flex-start; }
.shipping-address-actions button:last-child { color: var(--orange); }
.shipping-address-dialog { width: min(520px, calc(100% - 30px)); }
.shipping-address-form label { display: block; margin: 12px 0 6px; color: var(--paper); font-size: 14px; }
.shipping-address-form input, .shipping-address-form textarea { width: 100%; min-height: 43px; padding: 9px 11px; color: var(--paper); background: #222623; border: 1px solid #444a45; border-radius: 3px; font: inherit; }
.shipping-address-form textarea { resize: vertical; }
.shipping-address-locality { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.shipping-address-locality label { min-height: 21px; }
.shipping-address-form input:focus, .shipping-address-form textarea:focus { outline: 2px solid var(--mint); outline-offset: 2px; }
.shipping-address-form .form-error { margin-top: 10px; }
.line-order-button { width: 100%; min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 13px; padding: 0 14px; border: 1px solid #06c755; border-radius: 2px; background: #202923; color: #9df0b7; font: 600 14px var(--font-body); cursor: pointer; transition: background .18s, transform .18s; }
.line-order-button:hover { background: #263a2c; transform: translateY(-1px); }
.line-order-icon { width: 25px; height: 25px; flex: 0 0 25px; color: #06c755; }
.line-order-status { min-height: 18px; margin: 5px 0 0; color: #c0c7bd; text-align: center; font-size: 12px; }
.shipping-address-form .twitter-typeahead { display: block !important; width: 100%; }
.shipping-address-form .tt-menu { z-index: 20; max-height: 210px; overflow-y: auto; border-color: #596258; border-radius: 0 0 3px 3px; background: #202421; box-shadow: 0 8px 18px rgba(0, 0, 0, .35); }
.shipping-address-form .tt-suggestion { padding: 9px 11px; border-color: #414741; background: #202421; color: var(--paper); font-size: 13px; }
.shipping-address-form .tt-cursor, .shipping-address-form .tt-suggestion:hover { background: #343b34; color: var(--mint); }
.shipping-address-form .tt-hint { color: #899187 !important; }
.address-autocomplete-status { min-height: 18px; margin: 8px 0 0; color: #aeb6aa; font-size: 12px; }
.history-order-prices { margin: 0; color: #c2c8bf; font-size: 13px; }
.history-order-items { display: grid; gap: 4px; }
.history-order-items p { margin: 0; }
.confirm-button {
  width: 100%; min-height: 48px; margin-top: 15px; padding: 0 15px; border: 0; border-radius: 2px;
  background: var(--mint); color: #182018; display: flex; align-items: center; justify-content: space-between;
  font-weight: 700; cursor: pointer; transition: background .18s, transform .18s;
}
.confirm-button:hover:not(:disabled) { background: #d2ff9a; transform: translateY(-1px); }
.confirm-button:disabled { background: #444a44; color: #a0a69f; cursor: not-allowed; }
.confirm-button span:last-child { font: 600 19px var(--font-display); }
.login-hint { margin: 9px 0 0; text-align: center; color: #c0c7bd; font-size: 13px; }
.estimate-footnote { margin: 14px 0 0; color: #c0c7bd; font-size: 13px; text-align: center; }
.site-footer { min-height: 61px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #b2b9b0; font-size: 13px; }
.site-footer > span:first-child { font: 500 9px var(--font-display); letter-spacing: .09em; }
.site-footer a { color: #d4d9d1; text-decoration-color: #687168; text-underline-offset: 3px; }
.footer-dot { color: var(--orange); padding: 0 7px; }
.modal { width: min(440px, calc(100% - 30px)); max-width: none; max-height: 90vh; padding: 0; overflow-y: auto; border: 1px solid #4c534c; border-radius: 3px; background: #202421; color: var(--paper); }
.modal::backdrop { background: rgba(7, 9, 8, .78); backdrop-filter: blur(3px); }
.modal-content { position: relative; padding: 33px; }
.modal-close { position: absolute; top: 16px; right: 16px; width: 30px; height: 30px; border: 1px solid #454c45; background: transparent; color: var(--paper); font-size: 21px; line-height: 1; cursor: pointer; }
.modal-content .eyebrow { margin-bottom: 11px; }
.modal-content h2 { margin-bottom: 7px; }
.modal-description { margin-bottom: 21px; color: #c0c7bd; font-size: 14px; }
.modal-content label { margin: 16px 0 7px; font-size: 14px; }
.modal-content input { min-height: 45px; padding: 0 12px; }
.modal-content input::placeholder { color: #788078; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid #454c45; margin: 18px 0 3px; }
.auth-tab { min-height: 40px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #bdc4ba; cursor: pointer; font-size: 14px; }
.auth-tab.is-active { border-bottom-color: var(--mint); color: var(--mint); }
.email-auth-form[hidden] { display: none; }
.email-auth-form label { margin-top: 13px; }
.email-auth-form input { width: 100%; color: var(--paper); background: #222623; border: 1px solid #444a45; border-radius: 3px; }
.email-auth-form input:focus { outline: 2px solid var(--mint); outline-offset: 2px; }
.optional-label { color: #c0c7bd; font-size: 13px; font-weight: 400; }
.form-error { min-height: 20px; margin: 6px 0 0; color: var(--orange); font-size: 13px; }
.modal-submit { margin-top: 12px; }
.oauth-separator { display: flex; align-items: center; gap: 11px; margin-top: 22px; color: #c0c7bd; font-size: 13px; }
.oauth-separator::before, .oauth-separator::after { content: ''; height: 1px; flex: 1; background: #3c423d; }
.oauth-options { display: grid; gap: 9px; margin-top: 22px; }
.oauth-button {
  min-height: 48px; display: grid; grid-template-columns: 27px 1fr 20px; align-items: center; gap: 10px;
  padding: 0 13px; border: 1px solid #4a514a; background: #292e2a; color: var(--paper);
  text-decoration: none; font-size: 14px; transition: border-color .18s, background .18s, transform .18s;
}
.oauth-button:hover { border-color: var(--mint); background: #303731; transform: translateY(-1px); }
.oauth-button.is-disabled { color: #9ba198; border-color: #3e443f; background: #242825; cursor: not-allowed; }
.oauth-button.is-disabled:hover { border-color: #3e443f; background: #242825; transform: none; }
.oauth-mark { display: grid; place-items: center; width: 25px; height: 25px; background: #f2f0e9; color: #242824; border-radius: 50%; font: 700 14px var(--font-display); }
.oauth-facebook .oauth-mark { background: #1877f2; color: white; font-size: 18px; }
.oauth-line .oauth-mark { width: 27px; height: 22px; border-radius: 5px; background: #06c755; color: white; font: 700 8px var(--font-display); }
.oauth-arrow { justify-self: end; color: var(--mint); font: 600 17px var(--font-display); }
.oauth-status { min-height: 22px; margin: 12px 0 0; color: #c0c7bd; text-align: center; font-size: 13px; }
.receipt-summary { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 13px 0; margin: 18px 0 8px; }
.receipt-summary p { display: flex; justify-content: space-between; gap: 15px; margin: 7px 0; color: #c0c7bd; font-size: 14px; }
.receipt-summary strong { color: var(--paper); text-align: right; }
.payment-instructions { display: grid; justify-items: center; gap: 8px; padding: 16px 0; text-align: center; }
.payment-instructions[hidden] { display: none; }
.payment-instructions h3, .payment-instructions p { margin: 0; }
.payment-instructions h3 { color: var(--paper); font-size: 18px; }
.payment-instructions p { color: #c0c7bd; font-size: 14px; }
.payment-instructions strong { color: var(--paper); }
.payment-qr { width: min(250px, 75vw); aspect-ratio: 1; padding: 8px; background: white; image-rendering: pixelated; }
.payment-disclaimer { max-width: 420px; }
.payment-proof-form { display: grid; justify-items: stretch; gap: 9px; width: 100%; margin-top: 8px; text-align: left; }
.payment-proof-form label { color: var(--paper); font-size: 14px; }
.payment-proof-form input { width: 100%; color: #d0d5ce; font: inherit; }
.payment-proof-form [role="status"] { min-height: 20px; }
.order-history-dialog { width: min(620px, calc(100% - 30px)); }
.history-content h2 { margin-bottom: 6px; }
.history-content > .modal-description { margin-bottom: 16px; }
.history-status { min-height: 22px; margin: 0; color: #c0c7bd; font-size: 14px; }
.order-history-list { max-height: min(55vh, 460px); overflow-y: auto; border-top: 1px solid var(--line); }
.order-history-item { display: grid; gap: 7px; padding: 13px 2px; border-bottom: 1px solid var(--line); }
.history-item-heading, .history-item-footer { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.history-item-heading strong { color: var(--paper); font: 600 13px var(--font-display); }
.history-item-heading time { color: #c0c7bd; font-size: 13px; text-align: right; }
.order-history-item p { margin: 0; color: #d0d5ce; font-size: 14px; overflow-wrap: anywhere; }
.history-item-footer > span { color: #c0c7bd; font-size: 13px; }
.history-item-footer strong { color: var(--mint); font: 600 13px var(--font-display); }
.account-profile-list { margin-top: 18px; border-top: 1px solid var(--line); }
.account-profile-list p { display: flex; justify-content: space-between; gap: 18px; margin: 0; padding: 12px 2px; border-bottom: 1px solid var(--line); color: #c0c7bd; font-size: 14px; }
.account-profile-list strong { color: var(--paper); text-align: right; overflow-wrap: anywhere; font-weight: 500; }
.admin-content { position: relative; padding: 32px; }
.admin-content > .eyebrow { margin-bottom: 10px; }
.admin-content > h2 { margin-bottom: 16px; }
.admin-tabs { display: flex; gap: 20px; overflow-x: auto; border-bottom: 1px solid #454c45; margin-bottom: 14px; }
.admin-tab { flex: 0 0 auto; min-height: 40px; padding: 0 3px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #bdc4ba; cursor: pointer; font-size: 14px; }
.admin-tab.is-active { border-bottom-color: var(--mint); color: var(--mint); }
.admin-tab[hidden], .admin-panel[hidden] { display: none; }
.admin-status { min-height: 22px; margin: 0 0 8px; color: var(--mint); font-size: 13px; }
.admin-status.is-error { color: #ffb09b; }
.admin-toolbar { display: grid; grid-template-columns: auto minmax(160px, 1fr) auto auto; align-items: center; gap: 9px; margin-bottom: 16px; }
.admin-toolbar label, .admin-content label { color: #e0e4dc; font-size: 13px; }
.admin-content input, .admin-content select, .admin-content textarea { width: 100%; min-width: 0; min-height: 42px; padding: 8px 10px; border: 1px solid #444a45; border-radius: 3px; background: #222623; color: var(--paper); font-size: 14px; }
.admin-content textarea { min-height: 58px; resize: vertical; }
.admin-content input:focus, .admin-content select:focus, .admin-content textarea:focus { outline: 2px solid var(--mint); outline-offset: 1px; }
.admin-secondary-button, .admin-danger-button { min-height: 40px; padding: 0 11px; border: 1px solid #555d55; border-radius: 2px; background: #292e2a; color: var(--paper); cursor: pointer; font-size: 13px; white-space: nowrap; }
.admin-secondary-button:hover { border-color: var(--mint); color: var(--mint); }
.admin-danger-button { border-color: #805348; color: #ffb09b; }
.admin-danger-button:hover { border-color: var(--orange); color: #ffd0c4; }
.admin-secondary-button:disabled, .admin-danger-button:disabled { opacity: .5; cursor: not-allowed; }
.admin-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px 14px; }
.admin-form-grid label { display: grid; gap: 5px; min-width: 0; }
.admin-field-wide { grid-column: 1 / -1; }
.admin-fieldset { min-width: 0; margin: 17px 0 0; padding: 13px; border: 1px solid #414741; }
.admin-fieldset legend { padding: 0 7px; color: #e0e4dc; font-size: 13px; }
.admin-dynamic-list { display: grid; gap: 9px; margin-bottom: 10px; }
.admin-data-row { display: grid; grid-template-columns: minmax(70px, .65fr) minmax(130px, 1.5fr) minmax(90px, .65fr) auto; align-items: end; gap: 8px; }
.admin-data-row--gallery { grid-template-columns: repeat(2, minmax(0, 1fr)) auto; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.admin-data-row label { display: grid; gap: 4px; min-width: 0; }
.admin-data-row button { min-height: 36px; }
.admin-record-list { display: grid; max-height: 58vh; overflow: auto; border-top: 1px solid var(--line); }
.admin-record-card { display: grid; gap: 8px; padding: 13px 2px; border-bottom: 1px solid var(--line); }
.admin-record-heading, .admin-record-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.admin-record-heading strong { color: var(--paper); font: 600 14px var(--font-display); overflow-wrap: anywhere; }
.admin-record-heading time, .admin-record-card p { margin: 0; color: #c0c7bd; font-size: 13px; text-align: right; }
.admin-record-footer { flex-wrap: wrap; }
.admin-record-footer strong { color: var(--mint); font: 600 14px var(--font-display); }
.admin-record-card .admin-record-detail { color: #d0d5ce; font-size: 13px; text-align: left; overflow-wrap: anywhere; }
.admin-record-detail p { margin: 0 0 4px; color: inherit; font-size: inherit; text-align: left; }
.admin-record-actions { display: flex; align-items: center; gap: 8px; }
.admin-record-actions select { width: auto; min-width: 115px; }

@media (max-width: 760px) {
  .topbar { height: auto; min-height: 66px; flex-wrap: wrap; row-gap: 8px; padding: 9px 19px; }
  .topbar-right { gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
  .studio-status { display: none; }
  .account-identity { min-height: 38px; max-width: 140px; padding: 0 7px; font-size: 13px; }
  .account-button { min-height: 38px; padding: 0 7px; font-size: 13px; white-space: nowrap; }
  main { padding: 0 20px; }
  .intro-band { grid-template-columns: 1fr 230px; min-height: 275px; gap: 18px; }
  .print-art { width: 225px; height: 205px; }
  .sheet { transform: translate(-50%, -50%) rotate(-7deg) scale(.86); }
  h1 { font-size: 35px; }
  .sample-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .order-layout { grid-template-columns: minmax(0, 1fr) 310px; gap: 25px; }
}
@media (max-width: 590px) {
  .brand-mark { width: 34px; height: 34px; }
  .brand-copy strong { font-size: 12px; }
  .brand-copy small { font-size: 8px; }
  main { padding: 0 18px; }
  .intro-band { grid-template-columns: 1fr; padding: 30px 0 25px; gap: 24px; }
  .intro-copy { max-width: 390px; }
  h1 { font-size: 37px; }
  .print-art { width: 100%; max-width: 370px; height: 190px; justify-self: start; }
  .sheet { transform: translate(-50%, -50%) rotate(-7deg) scale(.8); }
  .section-heading { align-items: end; }
  .section-heading h2 { font-size: 21px; }
  .required-note { font-size: 13px; white-space: normal; }
  .order-section { padding-top: 28px; }
  .sample-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .sample-card-copy strong { font-size: 13px; }
  .sample-card-copy > span { font-size: 13px; }
  .gallery-content { padding: 28px 17px 18px; }
  .gallery-viewer { grid-template-columns: 30px minmax(0, 1fr) 30px; gap: 7px; }
  .gallery-arrow { width: 30px; height: 30px; }
  .gallery-stage { min-height: 250px; }
  .gallery-photo { max-height: 250px; }
  .gallery-video { max-height: 250px; }
  .image-placeholder--gallery { min-height: 250px; }
  .gallery-controls { align-items: flex-end; }
  .gallery-select { min-height: 42px; padding: 0 10px; font-size: 13px; }
  .admin-content { padding: 28px 15px 18px; }
  .admin-toolbar { grid-template-columns: 1fr 1fr; }
  .admin-toolbar label { grid-column: 1 / -1; }
  .admin-toolbar select { grid-column: 1 / -1; }
  .admin-form-grid { grid-template-columns: 1fr; }
  .admin-field-wide { grid-column: auto; }
  .admin-data-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-data-row button { justify-self: start; }
  .admin-data-row--gallery { grid-template-columns: 1fr; }
  .admin-record-heading { align-items: flex-start; flex-direction: column; gap: 3px; }
  .admin-record-heading time { text-align: left; }
  .admin-record-actions { width: 100%; justify-content: space-between; }
  .order-layout { grid-template-columns: 1fr; gap: 20px; }
  .order-form { gap: 19px 13px; }
  .order-item-fields { grid-template-columns: 1fr; }
  .field-block label { font-size: 14px; }
  select { padding-left: 10px; font-size: 14px; }
  .quantity-control button { width: 40px; }
  .estimate-panel { padding: 19px; }
  .estimate-total { font-size: 39px; }
  .site-footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 5px; padding: 13px 0; }
}
@media (max-width: 370px) {
  .topbar { padding: 9px 12px; }
  .topbar-right { gap: 4px; }
  .account-button { padding: 0 5px; font-size: 13px; }
  .brand { gap: 7px; }
  .brand-copy small { letter-spacing: .08em; }
  .sample-grid { grid-template-columns: 1fr; }
  .order-form { grid-template-columns: 1fr; }
  .production-note { grid-column: auto; }
  .quantity-control input { flex: initial; width: 120px; }
}
