/* Shared refinements: keep the editor canvas and its tools independent. */
:root{--beadia-green:#1d5142;--beadia-pink:#ef6d97;--beadia-paper:#fffefa}
[hidden]{display:none!important}
html{scroll-padding-top:24px}
body:not(.assist-page) :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #d65785;outline-offset:3px}
body:not(.assist-page) button,body:not(.assist-page) summary{touch-action:manipulation}
.account-nav{min-width:42px;min-height:42px}
.community-page{background:var(--beadia-paper)}
.community-page .project-card{border:1px solid #e4e9e2;box-shadow:0 3px 14px #18362605}
.community-page .project-card img{aspect-ratio:1;object-fit:contain}
.community-page :is(.feed-tabs button,.feed-tabs a,.template-pagination button,.template-pagination a){min-height:42px;display:inline-flex;align-items:center;justify-content:center}
.shop-product-grid{min-height:420px}
.community-page #community-bags{min-height:315px}
.community-bag-card>img,.community-bag-card>.bag-preview-placeholder{aspect-ratio:1.2;height:auto;min-height:0}
.home-commerce-page .header-actions{position:relative;flex-shrink:0}
.home-commerce-page .account-nav{position:relative;margin:0;display:flex;align-items:center}
.home-commerce-page .account-avatar{width:42px;height:42px;padding:11px;border:0;background:transparent;color:var(--beadia-green);border-radius:50%;font:700 15px Arial;display:grid;place-items:center;cursor:pointer}
.home-commerce-page .account-avatar svg{width:21px;height:21px}
.home-commerce-page .account-avatar.signed-in{background:#fcebf1;color:#9f365c}
.home-commerce-page .account-menu{position:absolute;z-index:100;top:48px;right:0;width:270px;max-width:calc(100vw - 32px);padding:18px;display:grid;gap:12px;border:1px solid #e4e9e2;background:#fff;border-radius:15px;box-shadow:0 14px 36px #1836261a;font:14px/1.5 Arial;color:#25372f}
.home-commerce-page .account-menu :is(a,button){background:#f3f5f0;color:#254c3b;border:0;border-radius:8px;min-height:44px;padding:11px 13px;text-align:left;display:flex;align-items:center;font:inherit;cursor:pointer}
.home-commerce-page .account-identity{margin:0;overflow-wrap:anywhere}
.home-commerce-page .header-actions .account-menu{right:-42px}
.home-commerce-page .account-stats article{margin:8px 0}.home-commerce-page .account-stats article:first-child{display:flex;justify-content:space-between}
.home-commerce-page .account-signin-dialog{width:min(460px,calc(100vw - 24px));max-height:90dvh;border:1px solid #dfe6dc;border-radius:20px;padding:0;background:#fffefa;color:#25372f}
.home-commerce-page .account-signin-dialog::backdrop{background:#18362666}
.home-commerce-page .login-card{padding:26px}.home-commerce-page .login-card h2{font:30px/1.2 Georgia,serif;margin:0 0 14px}.home-commerce-page .login-card p{font-size:14px;line-height:1.6}
.home-commerce-page .login-card label{display:grid;gap:8px;margin:16px 0;font-size:14px}
.home-commerce-page .login-card input{width:100%;border:1px solid #cdd7c9;background:white;border-radius:9px;padding:12px;font:16px Arial}
.home-commerce-page .login-card .actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.home-commerce-page .login-card button{min-height:44px;padding:12px 16px;border:1px solid #cfdbca;border-radius:9px;background:#edf2e8;color:#254c3b}
.home-commerce-page .login-card :is(#nav-check-email,#nav-password-submit){background:#1d5142;color:white;border-color:#1d5142}
.home-commerce-page .footer-help-row{padding-bottom:24px}.home-commerce-page .footer-help-row summary{font-size:14px;min-height:44px;display:flex;align-items:center;cursor:pointer}.home-commerce-page .footer-help-row details[open]{max-width:620px}
.home-commerce-page .footer-links a{min-height:32px;display:inline-flex;align-items:center}
.home-commerce-page .cookie-consent{position:fixed;z-index:1000;left:50%;bottom:16px;transform:translateX(-50%);width:min(680px,calc(100vw - 28px));padding:18px 20px;display:flex;gap:14px;align-items:center;border:1px solid #eed7e0;border-radius:18px;background:#fff;box-shadow:0 8px 34px #18362626;font:13px/1.6 Arial;color:#46554c}
.home-commerce-page .cookie-consent p{margin:0}.home-commerce-page .cookie-consent button{min-height:44px;padding:11px 17px;border:1px solid #cfd8cb;border-radius:9px;background:#1d5142;color:white;font:600 13px Arial;cursor:pointer}
.home-commerce-page .cookie-consent .bead-ad-necessary{background:#f3f5f0;color:#25372f}.home-commerce-page .cookie-consent a{color:#9e3d62;text-decoration:underline}
.home-commerce-page .bead-privacy-choices{display:inline-flex;margin-left:10px;padding:2px;border:0;color:inherit;background:transparent;font:inherit;text-decoration:underline;cursor:pointer}
.home-commerce-page .bag-home-entry:focus-visible,.home-commerce-page .bag-home-entry:hover{border-color:#577e65!important;box-shadow:0 3px 16px #18362609}
.home-commerce-page .pattern-image{background:#f2f3ed;position:relative}
.home-commerce-page .pattern-card h3{min-height:2.6em;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.home-commerce-page .patterns-carousel .patterns-grid{min-height:clamp(225px,calc((100vw - 152px)/3.3 + 72px),445px)}
.home-commerce-page .patterns-actions button,.home-commerce-page .feature-arrows button{width:44px;height:44px}
.home-commerce-page .feature-dots button{min-height:24px;background:transparent;position:relative}.home-commerce-page .feature-dots button:after{content:'';display:block;height:7px;background:#cbd3c3;border-radius:8px}.home-commerce-page .feature-dots button[aria-pressed=true]:after{background:#1d5142}
.choose-page .bag-option-info small{font-size:12px;line-height:1.5;color:#64745e}.choose-page .choose-search{font-size:13px}.choose-page #choose-status{font-size:13px}.choose-page .back-home{padding:12px 0;min-height:44px;display:inline-flex;align-items:center}
.choose-page .bag-option{transition:border-color .15s,box-shadow .15s}.choose-page .bag-option:hover{border-color:#829a75}.choose-page .choose-footer{padding-bottom:max(14px,env(safe-area-inset-bottom))}
.checkout-reassurance{font-size:13px!important;padding:14px;background:#edf4e7;border-radius:9px}
@media(max-width:760px){.shop-product-grid{min-height:360px}.community-page #community-bags{min-height:255px}.community-page .project-body p{font-size:13px;line-height:1.6}}
@media(max-width:700px){.home-commerce-page .patterns-carousel .patterns-grid{min-height:calc((100vw - 53px)/2.2 + 82px)}.home-commerce-page .account-avatar{width:40px;height:42px}.home-commerce-page .footer-brand p{font-size:12px;max-width:170px}.home-commerce-page .footer-bottom{font-size:11px;line-height:1.7}.home-commerce-page .footer-links{gap:8px 18px}.home-commerce-page .patterns-caption{font-size:12px}.home-commerce-page .hero-note{font-size:12px}.home-commerce-page .text-link{font-size:12px;min-height:36px;align-items:center}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
@media(max-width:700px){.home-commerce-page .header-actions .account-menu{right:-80px}}
