[hidden]{display:none!important}
body.is-custom .page{max-width:460px;background:#f2e8d7;padding-bottom:0;color:#173641}
body.is-custom .page>.hero,body.is-custom .page>.collection,body.is-custom .page>.ritual,body.is-custom .page>.grain{display:none}
body.is-custom .nav{border-bottom:1px solid #b9986033;padding-inline:24px}
body.is-custom .mark-seal{color:#89662f;border-color:#a17d42}
body.is-custom .nav-link{color:#62736b}
body.is-custom .footer{background:#f2e8d7;line-height:1.8;padding:30px 24px calc(95px + env(safe-area-inset-bottom))}
.bottom-nav a{position:relative;min-height:44px}
.bottom-nav a[aria-current=page]{color:#dfbd79}
.custom-page{padding:30px 24px 0;position:relative;font-family:var(--serif)}
.custom-heading{text-align:center}
.custom-heading>small{color:#8c754c;font:9px Georgia,serif;letter-spacing:2px}
.custom-heading h1{font-size:29px;font-weight:500;letter-spacing:4px;margin:14px 0 12px}
.custom-heading p{font-size:12px;color:#6c7669;line-height:1.9;margin:0}
.custom-rule{display:flex;align-items:center;justify-content:center;gap:12px;color:#a8864b;font-size:11px;margin:17px 0 0}
.custom-rule:before,.custom-rule:after{content:'';width:38px;height:1px;background:#b3945b66}
.custom-preview{height:278px;width:280px;max-width:100%;position:relative;margin:8px auto 0;background:radial-gradient(ellipse,#c5ab7133,transparent 66%)}
.custom-orbit{position:absolute;width:207px;height:207px;border:1px solid #b28e4c50;border-radius:50%;left:50%;top:25px;transform:translateX(-50%)}
.custom-orbit:after{content:'';position:absolute;inset:-10px;border:1px dashed #b28e4c33;border-radius:50%}
.custom-bead{position:absolute;left:calc(50% - 16px);top:112px;width:32px;height:32px;border-radius:50%;background:radial-gradient(circle at 32% 24%,#ffffffc7,transparent 24%),radial-gradient(circle at 37% 30%,var(--bead),#10292f);box-shadow:2px 4px 5px #21434830,inset -3px -4px 5px #0a1b2e50;border:1px solid #a58c5d55;transform:rotate(var(--angle)) translateY(-91px) rotate(calc(-1 * var(--angle)))}
.custom-preview img{position:absolute;left:50%;transform:translateX(-50%);top:179px;width:76px;height:76px;object-fit:contain;filter:drop-shadow(0 4px 4px #71552e33)}
.custom-preview-center{position:absolute;top:98px;left:0;right:0;text-align:center}
.custom-preview-center strong{display:block;letter-spacing:4px;font-size:20px;font-weight:400}
.custom-preview-center small{display:block;font-size:10px;letter-spacing:2px;color:#7c775d;margin-top:9px}
.custom-note{font:11px/1.9 var(--sans);color:#697568;text-align:center;margin:0 0 22px}
.custom-page fieldset{border:0;border-top:1px solid #b4945955;padding:20px 0 0;margin:28px 0;min-width:0}
.custom-page legend{padding:0 12px 0 0;font-size:17px;letter-spacing:2px}
.custom-page legend em{font-style:normal;color:#9d7c40;margin-right:8px;font-size:13px}
.custom-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.custom-option{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-width:0;background:#faf5e880;border:1px solid #b79b6a66;border-radius:3px;padding:11px 4px;color:#35504e;font:12px var(--serif);cursor:pointer;transition:background .2s,border-color .2s}
.custom-option[aria-pressed=true]{border-color:#32645c;box-shadow:inset 0 0 0 1px #32645c;background:#e1e4d8}
.custom-option[aria-pressed=true]:after{content:'✓';position:absolute;right:3px;top:3px;width:15px;height:15px;background:#32645c;color:#fff;font:10px/15px var(--sans);border-radius:50%;text-align:center}
.custom-option img{width:100%;height:72px;object-fit:contain}
.custom-option small{font:10px var(--sans);color:#677466}
.stone-sample{display:block;width:37px;height:37px;margin:4px 0;background:radial-gradient(circle at 30% 25%,#fff9,transparent 30%),radial-gradient(circle at 35% 30%,var(--stone),#13343d);border-radius:50%;box-shadow:1px 3px 4px #17364130}
.custom-option:hover{border-color:#32645c}
.custom-field{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:20px 0 10px;font-size:14px}
.custom-field small{font:11px var(--sans);color:#657268}
.custom-page input,.custom-page select{display:block;width:100%;height:48px;border:1px solid #b59a6a99;border-radius:3px;padding:0 12px;background:#fcf8ed;color:#173641;font:16px var(--serif)}
.custom-page input::placeholder{color:#7e897b}
.custom-page :focus-visible,.custom-dialog :focus-visible{outline:2px solid #32645c;outline-offset:3px}
.custom-field-note{font:11px/1.8 var(--sans);color:#657268;margin:9px 0 0}
.custom-total{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #b4945955;padding-top:22px}
.custom-total small{font:11px var(--sans);color:#657268}
.custom-total strong{display:block;font:29px Georgia,serif;color:#28564f;margin-top:6px}
.custom-primary{display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:48px;padding:13px 18px;color:#f4e6c8;background:#234d49;border:1px solid #8e956b;border-radius:3px;font:13px var(--serif);letter-spacing:1px;cursor:pointer;text-align:center}
.custom-primary:hover{background:#173d3a}
.custom-text-button{display:block;background:none;border:0;border-bottom:1px solid #a58a5755;color:#32645c;padding:12px 4px;min-height:44px;margin:10px auto 0;font:12px var(--serif);cursor:pointer}
.custom-summary-note{margin:17px 0 0;font:11px/1.8 var(--sans);text-align:center;color:#657268}
.custom-dialog{padding:30px 24px;border:1px solid #ae9158;border-radius:5px;width:calc(100% - 32px);max-width:410px;max-height:85svh;overflow:auto;background:#f3ead9;color:#173641;overscroll-behavior:contain}
.custom-dialog::backdrop{background:#03101ed9;backdrop-filter:blur(7px)}
body:has(.custom-dialog[open]){overflow:hidden}
.custom-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.custom-dialog-head small{color:#8d764a;font:9px Georgia,serif;letter-spacing:1.5px}
.custom-dialog-close{min-width:44px;min-height:44px;border:1px solid #b4945955;border-radius:50%;background:none;color:#173641;font:22px var(--sans);cursor:pointer}
.custom-dialog h2{font:24px/1.5 var(--serif);letter-spacing:2px;margin:15px 0 7px}
.custom-dialog h3{font:17px var(--serif);text-align:center;margin:5px 0 22px}
.custom-dialog dl{margin:20px 0;border-block:1px solid #b4945955;padding:12px 0}
.custom-dialog dl>div{display:flex;gap:12px;justify-content:space-between;padding:9px 0;font:13px/1.6 var(--sans)}
.custom-dialog dt{color:#657268;flex-shrink:0}.custom-dialog dd{margin:0;overflow-wrap:anywhere;text-align:right}
.custom-dialog .custom-primary{width:100%}
#custom-status{position:fixed;z-index:40;bottom:calc(85px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);max-width:calc(100% - 32px);padding:12px 18px;background:#173641;color:#f2e8d7;border:1px solid #ac925a;font:12px/1.6 var(--sans);border-radius:3px;pointer-events:none}
#custom-status:empty{display:none}
@media(max-width:360px){.custom-page{padding-inline:18px}.custom-heading h1{font-size:25px}.custom-option{font-size:11px}.custom-option small{font-size:9px}.custom-total .custom-primary{padding-inline:12px;gap:9px}}
