@font-face{font-family:Engrave;src:url('/assets/DejaVuSans.ttf') format('truetype');font-display:swap}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f3f5f4;color:#192a29;font-family:Arial,sans-serif;font-size:16px;line-height:1.5}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #a86620;outline-offset:3px}[hidden]{display:none!important}.topbar{padding:25px 5%;border-bottom:1px solid #dce1dd;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{text-decoration:none;font-size:27px;letter-spacing:3px;font-weight:800}.brand span{display:block;font-size:10px;letter-spacing:1.6px;font-weight:400}.top-label{font-size:12px;letter-spacing:2px;color:#5d6c68}.text-button{border:0;background:none;color:#263d36;padding:8px 0;text-decoration:underline;text-underline-offset:4px;font-size:14px;font-weight:600}.topbar .text-button{text-decoration:none}#progressBadge{background:#e8eeea;padding:6px 10px;border-radius:6px;margin-left:8px}main{max-width:1320px;margin:auto;padding:45px 40px 25px}.intro{display:flex;align-items:center;justify-content:space-between;margin-bottom:38px;gap:28px}.eyebrow{font-size:12px;letter-spacing:2px;font-weight:700;color:#647770}h1{font-size:clamp(36px,4.1vw,56px);font-weight:500;line-height:1.12;letter-spacing:-2px;margin:12px 0 14px}h1 em{font-family:Georgia,serif;font-weight:normal;color:#426558}h2{font-size:24px;line-height:1.2;letter-spacing:-.6px;margin:8px 0 20px}h3{font-size:16px;margin:0}.intro p{color:#59675e;max-width:550px;margin:0}.progress-card{width:205px;flex-shrink:0}.progress-card strong{font-size:42px;font-weight:500;display:block;line-height:1.15}.progress-card small{font-size:22px;color:#7f8982}.progress-card>span{font-size:14px;color:#5e6a61}.progress-track{height:4px;background:#d9e1db;margin-top:15px}.progress-track i{display:block;width:0;height:100%;background:#a87536;transition:width .2s}.type-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-bottom:18px}.type-tabs button{border:1px solid #dce2dd;background:white;border-radius:9px;padding:15px 18px;display:flex;align-items:center;justify-content:space-between;font-weight:600}.type-tabs button span{font-size:12px;font-weight:400;opacity:.7}.type-tabs button.active{background:#183a30;border-color:#183a30;color:white}.workspace{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}.preview-card,.editor-card{border:1px solid #dbe3db;border-radius:15px;background:white;padding:26px;min-width:0}.preview-card{position:sticky;top:20px}.card-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.card-heading h2{margin:0}.pill{background:#eef2ef;font-size:13px;border-radius:5px;padding:5px 8px;color:#526554}.slots{display:flex;gap:9px;margin:20px 0}.slots button{width:40px;height:40px;border:1px solid #d8ded9;background:#fff;border-radius:50%;position:relative}.slots button.filled{border-color:#508169;background:#eff6f1}.slots button.active{background:#183a30;color:white;border-color:#183a30;box-shadow:0 0 0 3px #dce8df}.product-stage{position:relative;isolation:isolate;height:265px;border:1px solid #e8e2d7;border-radius:14px;overflow:hidden;background:radial-gradient(ellipse at 48% 30%,#fffefa 0%,#f5f0e7 58%,#e8e0d2 100%);margin-top:8px;box-shadow:inset 0 1px 0 #fff,0 8px 28px #534b3510}.product-stage:before{content:"";position:absolute;inset:0;background:linear-gradient(115deg,transparent 25%,#fff7 49%,transparent 70%);pointer-events:none}.product-stage:after{content:"";position:absolute;left:10%;right:8%;height:9px;top:calc(50% + 23px);border-radius:50%;background:#83796c25;filter:blur(11px);z-index:-1}.product-stage img{position:absolute;max-width:none;width:calc(100% - 24px);height:auto;left:12px;top:50%;transform:translateY(-50%);pointer-events:none}.engraving-position{position:absolute;pointer-events:none}.engraving-position svg{width:100%;height:100%;display:block}.field-heading{display:flex;justify-content:space-between;gap:8px;margin-top:23px;font-size:12px;color:#69776c}.field-preview{margin:10px 0;background:#f7f8f5;border:1px dashed #93a695;border-radius:5px;min-height:90px;padding:16px;display:flex;align-items:center;justify-content:center}.field-preview svg{width:100%;height:auto;max-height:86px}.field-preview .empty{font-family:Georgia,serif;font-style:italic;color:#889386;font-size:20px}.disclaimer{font-size:12px;color:#6a756c;line-height:1.55;margin-bottom:0}.editor-card>.eyebrow{display:block;margin-bottom:12px}label{display:block;font-size:14px;font-weight:600}input:not([type=checkbox]),textarea,select{width:100%;border:1px solid #cbd5cb;border-radius:7px;background:#fff;padding:12px;color:#182a22;min-height:45px;margin-top:6px}textarea{resize:vertical;font-family:Engrave,Arial,sans-serif;min-height:91px}textarea.invalid{border-color:#a9382b}.text-meta{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:#758072;margin-top:5px}.fit-message{font-size:14px;min-height:22px;margin:10px 0 0;color:#46634f}.fit-message.error{color:#a22d21}.library-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;border-top:1px solid #e2e7e0;padding-top:24px;margin-top:15px}.library-heading span{font-size:12px;color:#758172}.filters{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}.filters label{font-size:12px;color:#6e7a6b}.filters select{font-size:14px;padding:9px}.fit-filter,.approval{display:flex;gap:9px;align-items:flex-start;font-weight:400}.fit-filter{font-size:13px;margin:12px 0}.fit-filter input,.approval input{margin-top:4px;accent-color:#274c39;width:17px;height:17px;flex-shrink:0}.phrase-list{max-height:260px;overflow:auto;border-top:1px solid #e2e8df}.phrase{display:block;width:100%;text-align:left;border:0;background:white;border-bottom:1px solid #e3e8e0;padding:13px 4px;color:#253a29}.phrase:hover{background:#f0f5ec}.phrase small{display:block;color:#7d8875;font-size:11px;margin-bottom:2px}.bottom-actions{margin:26px 0 38px;display:flex;justify-content:space-between;gap:20px;align-items:center}.bottom-actions>span{font-size:14px;color:#687764}.primary{background:#193b2d;color:white;border:1px solid #193b2d;padding:14px 23px;border-radius:7px;font-size:15px;font-weight:600}.primary:hover{background:#29563c}.primary span{margin-left:12px}.summary-section{border-top:1px solid #ccd8c9;padding-top:35px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.summary-group{background:white;padding:18px;border:1px solid #dae3d6;border-radius:10px}.summary-item{width:100%;display:flex;gap:10px;text-align:left;border:0;border-bottom:1px solid #e5ebe2;background:none;padding:12px 0;color:#263925;font-size:13px;min-height:61px}.summary-item span{white-space:pre-wrap}.summary-item b{color:#6a7c60;flex-shrink:0}.summary-item.bad{color:#a23520}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:22px}#orderForm{max-width:840px;margin:42px auto;background:white;border:1px solid #dae3d6;border-radius:13px;padding:30px}.privacy{font-size:12px;color:#6c7866;line-height:1.7}.notice{background:#fff4d9;border:1px solid #d8c799;border-radius:6px;padding:13px 17px;font-size:14px;margin-bottom:22px}.success-card{max-width:740px;margin:30px auto;background:white;padding:40px;border:1px solid #bccfb6;border-radius:15px;text-align:center}.success-card>strong{display:block;font-size:32px;letter-spacing:2px;color:#1d4428;margin:20px 0}footer{padding:28px 5%;border-top:1px solid #d8e0d5;display:flex;justify-content:space-between;gap:20px;font-size:12px;color:#708066}footer>span:first-child{font-weight:800;letter-spacing:2px}.honeypot{position:absolute;left:-9999px;opacity:0}.sr-only{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}.admin{max-width:1100px}.admin-login{max-width:450px;margin:50px auto;background:white;padding:28px;border-radius:12px}.admin-order{background:#fff;border:1px solid #d6ded1;border-radius:8px;padding:18px;margin:12px 0}.admin-order h3{display:flex;justify-content:space-between}.admin-order p{margin:5px 0;font-size:14px}.admin-order a,.admin-order button{margin-right:15px}.admin-actions{display:flex;gap:16px;flex-wrap:wrap;margin-top:12px}.admin-list{margin-top:24px}.error-text{color:#a23520}
@media(max-width:850px){main{padding:28px 18px}.topbar{padding:18px}.top-label{display:none}.intro{gap:15px;margin-bottom:25px}.intro p{font-size:14px}.progress-card{width:150px}.workspace{gap:15px}.preview-card,.editor-card{padding:18px}.summary-grid{grid-template-columns:1fr 1fr}.type-tabs button{padding:12px 10px;font-size:14px}}
@media(max-width:650px){.topbar .brand{font-size:22px}.brand span{font-size:8px}.intro{align-items:flex-start}.intro h1{font-size:35px;letter-spacing:-1px}.progress-card{width:110px;padding-top:27px}.progress-card strong{font-size:33px}.progress-card .text-button{font-size:12px}.progress-card>span{font-size:12px}.intro p{max-width:240px}.type-tabs{gap:5px}.type-tabs button{flex-direction:column;gap:3px;padding:10px 3px}.workspace{grid-template-columns:1fr}.preview-card{position:static}.product-stage{height:205px}.field-preview{min-height:70px}.editor-card{padding:22px 18px}.bottom-actions{align-items:stretch;flex-direction:column;gap:10px}.bottom-actions .primary{width:100%}.summary-grid{grid-template-columns:1fr 1fr;gap:8px}.summary-group{padding:12px}.section-heading{align-items:flex-start}.section-heading h2{font-size:22px}.form-grid{grid-template-columns:1fr}#orderForm{padding:22px 18px}.success-card{padding:25px 16px}.success-card>strong{font-size:25px}.text-meta{font-size:11px}footer{flex-wrap:wrap}footer>span:nth-child(2){display:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

.admin-tabs{display:flex;gap:8px;margin-bottom:28px;flex-wrap:wrap}.admin-tabs button{border:1px solid #cbd5cb;background:white;border-radius:8px;padding:12px 20px}.admin-tabs .active{background:#193b2d;color:white;border-color:#193b2d}
.phrase-toolbar{display:flex;align-items:end;gap:16px;margin:26px 0}.phrase-toolbar label:first-child{flex:1}.phrase-toolbar .primary{min-height:48px;white-space:nowrap}.phrase-admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}.admin-phrase-list{display:grid;gap:8px}.admin-phrase{display:block;text-align:left;width:100%;background:white;border:1px solid #d6ded1;padding:16px;border-radius:8px;overflow-wrap:anywhere}.admin-phrase span,.admin-phrase small{display:block}.admin-phrase small{color:#65766a;margin:6px 0}.admin-phrase b{font-size:12px;color:#426558}.admin-phrase.selected{border:2px solid #426558}.phrase-editor{background:white;border:1px solid #d6ded1;border-radius:12px;padding:24px;position:sticky;top:20px}.phrase-editor .form-grid{margin-top:16px;gap:12px}.phrase-fit>div{border-top:1px solid #e2e7e0;padding:12px 0}.phrase-fit strong{display:block;font-size:12px;color:#65766a}.phrase-fit svg{display:block;width:100%;height:48px;margin-top:6px;background:#f3f5f4;padding:8px}.phrase-fit span{font-size:12px}.admin-phrase-list:empty{display:none}
@media(max-width:750px){.phrase-toolbar{flex-wrap:wrap}.phrase-toolbar label:first-child{flex-basis:100%}.phrase-admin-grid{display:flex;flex-direction:column}.phrase-admin-grid>div,.phrase-editor{width:100%}.phrase-editor{position:static;order:-1}.phrase-toolbar .primary{flex:1}.admin-tabs button{flex:1;padding:12px}}

.catalog-dialog{width:min(1180px,96vw);max-height:92dvh;border:1px solid #cbd5cb;border-radius:16px;padding:28px;background:#f3f5f4;color:#192a29;overflow:auto}.catalog-dialog::backdrop{background:#14271e99}.catalog-dialog>.section-heading{border-bottom:1px solid #d6ded1;margin-bottom:24px}.catalog-dialog .phrase-editor{position:static}.catalog-dialog .admin-login{max-width:440px;margin:24px auto}.catalog-dialog .admin-phrase-list{max-height:55dvh;overflow:auto}.danger{color:#a12e26}.group-removal{border-top:1px solid #ddd;margin-top:24px;padding-top:20px}.admin-actions{flex-wrap:wrap}.phrase-editor h3{margin-bottom:16px}.phrase-editor select{max-width:100%}
@media(max-width:750px){.catalog-dialog{padding:18px;width:96vw;max-height:94dvh}.catalog-dialog>.section-heading{align-items:flex-start}.catalog-dialog h2{font-size:21px}.catalog-dialog .phrase-toolbar{margin:16px 0}.catalog-dialog .phrase-editor{padding:16px}.catalog-dialog .admin-phrase-list{max-height:38dvh}.catalog-dialog>.section-heading .text-button{max-width:110px}.catalog-dialog .phrase-admin-grid>div{min-width:0}}
