:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#1a2c3b;background:#f5f8f8;font-synthesis:none}*{box-sizing:border-box}html,body{margin:0;min-height:100%;}button,input,select,textarea{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:3px solid #81aebc;outline-offset:2px}a{color:inherit}.app{min-height:100vh}.topbar{height:76px;background:#fff;border-bottom:1px solid #e1e9eb;display:flex;align-items:center;justify-content:space-between;padding:0 32px;position:relative;z-index:2}.brand{display:flex;gap:11px;align-items:center;text-decoration:none;letter-spacing:.12em;font-size:18px;font-weight:850;color:#173751}.brand small{display:block;font-size:8px;letter-spacing:.39em;margin-top:1px;color:#7393a0}.brand-icon{width:37px;height:37px;background:#173751;border-radius:10px;display:grid;place-items:center;color:#f9d99e;font-size:21px;font-weight:850}.top-right{display:flex;align-items:center;gap:15px}.privacy-flag{font-size:12px;color:#69828c;display:flex;gap:8px;align-items:center;white-space:nowrap}.privacy-dot{width:7px;height:7px;background:#3aa58e;border-radius:50%}.primary,.ghost,.light-btn,.outline-btn,.square-btn,.destructive{border-radius:10px;border:1px solid transparent;padding:12px 16px;font-weight:750;font-size:13px;display:inline-flex;align-items:center;justify-content:center;gap:9px;transition:background .15s,transform .15s}.primary{background:#173e56;color:white}.primary:hover{background:#24647b}.primary svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.ghost,.light-btn{background:#fff;color:#345267;border-color:#d9e4e7}.ghost:hover,.light-btn:hover,.square-btn:hover{background:#f0f6f6}.outline-btn{border-color:#91acb4;background:transparent;color:#275467}.destructive{background:#a33936;color:#fff}.workspace{display:grid;grid-template-columns:370px minmax(0,1fr);max-width:1980px;margin:auto;min-height:calc(100vh - 76px)}.editor{background:#fff;border-right:1px solid #e1e9eb;display:flex;flex-direction:column;min-height:calc(100vh - 76px)}.editor-header{padding:30px 27px 19px}.eyebrow{font-size:10px;letter-spacing:.18em;color:#668993;font-weight:800}.editor-header h1{font-size:30px;letter-spacing:-.05em;line-height:1.05;margin:11px 0 7px}.editor-header p{font-size:13px;color:#7a8e98;margin:0}.tabs{display:flex;flex-wrap:wrap;gap:4px;padding:0 20px 16px;border-bottom:1px solid #ebeff1}.tab{border:1px solid transparent;background:none;color:#637c85;padding:9px 10px;font-size:12px;font-weight:700;border-radius:9px}.tab span{margin-right:3px;color:#80939a}.tab.active{color:#1b556c;background:#eaf5f7;border-color:#dcebed}.tab:hover{background:#f0f6f7}.control-panel{padding:23px 27px 29px;overflow-y:auto;flex:1;max-height:calc(100vh - 326px)}.group{margin:0 0 25px}.group-title{display:flex;justify-content:space-between;align-items:center;margin:0 0 12px;font-size:12px;font-weight:850;color:#324b5d;text-transform:uppercase;letter-spacing:.07em}.field{margin-bottom:14px}.field label,.field-label{display:block;font-size:12px;color:#466070;font-weight:700;margin-bottom:7px}.field input:not([type=color]):not([type=checkbox]),.field select,.field textarea{width:100%;border:1px solid #d5e2e6;background:#fff;border-radius:9px;padding:11px 12px;color:#1e3947;font-size:14px;min-height:42px}.field textarea{resize:vertical;min-height:70px}.field input[type=color]{width:38px;height:32px;padding:0;background:transparent;border:0;cursor:pointer}.field-hint{color:#8b9da7;font-size:11px;margin-top:6px;line-height:1.4}.two{display:grid;grid-template-columns:1fr 1fr;gap:11px}.segmented{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.seg{background:#fff;border:1px solid #d8e3e7;border-radius:10px;padding:11px 6px;color:#496571;font-weight:700;font-size:12px}.seg.active{border-color:#4b96a1;background:#eaf6f4;color:#215966}.theme-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.theme-card{border:1px solid #dae5e9;background:white;border-radius:11px;padding:9px;text-align:left}.theme-card.active{border-color:#368b9c;box-shadow:0 0 0 1px #368b9c}.swatches{display:flex;height:28px;border-radius:6px;overflow:hidden;margin-bottom:7px}.swatches i{display:block;flex:1}.theme-card b{font-size:12px;color:#465d69}.color-row{display:flex;align-items:center;justify-content:space-between;padding:9px 0;border-bottom:1px solid #eef3f4}.color-row span{font-size:12px;color:#526e78;font-weight:600}.toggle-row{display:flex;gap:10px;align-items:flex-start;padding:9px 0;font-size:13px;color:#344f5c}.toggle-row input{margin-top:2px;width:16px;height:16px;accent-color:#327e88}.muted{font-size:12px;color:#82949e;line-height:1.5}.small-btn{border:1px solid #d7e4e6;background:#fff;color:#2d6475;border-radius:8px;padding:8px 10px;font-size:12px;font-weight:750}.small-btn:hover{background:#eef7f7}.person-card,.event-card{display:flex;align-items:center;justify-content:space-between;border:1px solid #e4ebed;padding:11px 12px;border-radius:10px;margin:8px 0;gap:12px}.person-card strong,.event-card strong{font-size:13px;color:#273f4e}.event-card small,.person-card small{display:block;color:#81939b;font-size:11px;margin-top:4px}.person-info{display:flex;align-items:center;gap:9px;min-width:0}.person-swatch{width:12px;height:12px;border-radius:50%;flex:0 0 12px}.icon-btn{background:none;border:none;color:#a36766;padding:5px 7px;font-size:12px;font-weight:800}.card-actions{display:flex;gap:4px}.form-card{border:1px solid #dde7e9;background:#f8fbfb;border-radius:12px;padding:15px;margin-bottom:18px}.form-card h3{font-size:14px;margin:0 0 14px;color:#314e5b}.form-card .primary{width:100%;margin-top:6px}.inline-check{display:flex;align-items:center;gap:9px;font-size:12px;color:#44616d;font-weight:650}.inline-check input{accent-color:#347f85}.empty-note{background:#f6fafb;border:1px dashed #cadbe0;border-radius:10px;padding:16px;color:#738b95;font-size:12px;line-height:1.6}.holiday-list{max-height:360px;overflow:auto;padding-right:5px}.holiday-entry{border-bottom:1px solid #eef2f4;padding:8px 0}.holiday-entry-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.holiday-entry-row label{display:flex;align-items:center;gap:7px;font-size:12px;color:#3e5967}.holiday-entry-row input{accent-color:#347b8c}.holiday-entry button{font-size:11px;color:#487d90;background:none;border:none;text-decoration:underline}.pill{font-size:10px;color:#426b75;background:#e5f4f4;border-radius:99px;padding:4px 8px}.editor-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:17px 23px 19px;border-top:1px solid #edf0f2;color:#6a8a8d;font-size:11px}.plain-link{background:none;border:0;color:#718b92;text-decoration:underline;padding:0;font-size:11px}.main-area{padding:31px 32px;min-width:0;background:linear-gradient(135deg,#f7faf9,#eff5f5)}.preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:23px}.preview-toolbar h2{font-size:23px;letter-spacing:-.035em;margin:7px 0 4px}.preview-toolbar p{font-size:13px;color:#8297a0;margin:0}.toolbar-actions{display:flex;align-items:center;gap:8px;color:#728b94;font-size:12px}.square-btn{padding:0;width:31px;height:31px;border:1px solid #d5e1e4;color:#4e707b;background:white;border-radius:8px;font-size:20px}.preview-viewport{min-height:420px;max-height:calc(100vh - 289px);overflow:auto;padding:28px 20px;background:#e8eff0;border:1px solid #dce7ea;border-radius:15px;display:flex;align-items:flex-start;justify-content:center}.paper-wrap{width:100%;display:flex;justify-content:center;transition:width .1s}.paper{background:white;box-shadow:0 9px 29px #304d5d21,0 1px 4px #35505f1c;transform-origin:top center;width:100%;max-width:none;flex-shrink:0}.paper svg{display:block;width:100%;height:auto}.preview-bottom{display:flex;gap:20px;justify-content:space-between;align-items:center;margin:16px 1px 25px}.preview-bottom strong{display:block;color:#314d5d;font-size:13px}.preview-bottom span{display:block;color:#7e939c;font-size:12px;margin-top:4px}.preview-bottom-right{display:flex;align-items:center;gap:15px}.preview-bottom-right .privacy-note{font-size:11px;color:#79959c}.selling-strip{border:1px solid #dfebec;background:#fff;border-radius:16px;padding:20px 24px;display:flex;justify-content:space-between;align-items:center;gap:20px}.selling-strip h3{margin:0 0 5px;font-size:19px;letter-spacing:-.03em}.selling-strip p{color:#81949e;font-size:12px;max-width:610px;line-height:1.6;margin:0}.small-sparkle{color:#c7974e;float:left;margin-right:10px;font-size:27px}.toast{position:fixed;z-index:30;bottom:25px;right:26px;background:#1b4454;color:#fff;padding:13px 19px;border-radius:12px;box-shadow:0 8px 30px #172d3944;font-weight:650;font-size:13px;max-width:430px}.modal{border:0;max-width:470px;padding:29px;border-radius:16px;box-shadow:0 18px 60px #19313e55;color:#243e4b}.modal::backdrop{background:#102e3aa6}.modal h2{font-size:22px;margin:13px 0}.modal p{font-size:14px;color:#56707a;line-height:1.6}.modal-close{float:right;background:none;border:none;font-size:24px;color:#789099}.dialog-actions{display:flex;justify-content:flex-end;gap:9px}.divider{border:0;border-top:1px solid #eaf0f1;margin:17px 0}.hint-banner{border:1px solid #d6e8eb;background:#f0f8f8;padding:12px;border-radius:10px;color:#4e7580;font-size:12px;line-height:1.6;margin:14px 0}.actions-stack{display:grid;gap:10px}.actions-stack button{width:100%}.no-wrap{white-space:nowrap}.warning-box{border:1px solid #e9d7b7;background:#fffaef;border-radius:10px;padding:12px;color:#886c3e;font-size:12px;line-height:1.55}.hidden{display:none!important}
@media(max-width:1090px){.workspace{grid-template-columns:340px minmax(0,1fr)}.main-area{padding:24px 18px}.preview-bottom-right .privacy-note{display:none}.privacy-flag{display:none}}
@media(max-width:760px){.topbar{height:68px;padding:0 17px}.workspace{display:flex;flex-direction:column}.editor{min-height:0;border-right:0;border-bottom:1px solid #e4ebef}.editor-header{padding:22px 22px 16px}.editor-header h1{font-size:25px}.tabs{padding:0 14px 12px;justify-content:space-between}.tab{padding:9px 7px;font-size:11px}.control-panel{max-height:none;padding:23px 22px}.editor-footer{padding:13px 22px}.main-area{padding:23px 12px}.preview-toolbar{padding:0 4px}.preview-toolbar h2{font-size:19px}.preview-toolbar p,.toolbar-actions{display:none}.preview-viewport{min-height:0;max-height:none;padding:14px 8px;border-radius:12px}.preview-bottom{padding:0 4px;align-items:flex-start}.preview-bottom-right{display:block}.selling-strip{padding:20px;align-items:flex-start;flex-direction:column}.desktop-only{display:none}.brand{font-size:16px}.top-right .primary{padding:11px 12px}.privacy-flag{display:none}}

.visibility-actions{display:flex;gap:8px;margin:10px 0 12px;flex-wrap:wrap}.visibility-actions button{flex:1}.hint-banner .small-btn{margin-top:9px}.seg[aria-pressed="true"]{border-color:#4b96a1;background:#eaf6f4;color:#215966}
/* Commerce-ready UI */
.checkout-product{background:#fff;border:1px solid #d9e5e9;border-radius:12px;padding:16px;margin:13px 0}
.selected-product{background:#f2f8f7;border-color:#82b7b4;box-shadow:0 0 0 1px #82b7b4}
.coming-soon{opacity:.75}
.checkout-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}
.checkout-head strong{font-size:14px;color:#284653}.checkout-price{font-size:21px;font-weight:800;color:#214c57}
button:disabled{opacity:.58;cursor:not-allowed;transform:none}
@media(max-width:760px){.top-right .primary{font-size:11px;max-width:165px}}
.checkout-result-page{min-height:100vh;background:radial-gradient(circle at 40% 5%,#f5ead5,transparent 55%),#f3f8f7;display:flex;justify-content:center;align-items:center;padding:20px}
.checkout-result{max-width:560px;width:100%;text-align:center;background:#fff;border:1px solid #dce8e8;border-radius:22px;padding:45px 34px;box-shadow:0 20px 70px #1d4c5420}
.result-brand{font-size:14px;font-weight:900;letter-spacing:.1em;text-decoration:none;color:#174157}.result-brand strong{color:#c18f49}
.result-icon{width:67px;height:67px;background:#eaf5f0;color:#2a8670;border-radius:50%;font-size:40px;line-height:67px;margin:25px auto 15px}
.checkout-result h1{font-size:30px;line-height:1.1;color:#163e54;letter-spacing:-.04em;margin:12px 0}
.checkout-result p{font-size:14px;line-height:1.65;color:#66808b}
.result-actions{display:flex;justify-content:center;gap:10px;margin:24px 0;flex-wrap:wrap}.result-actions a{text-decoration:none}
.checkout-result .result-small{font-size:12px;color:#899ca2}
