:root{--ink:#173334;--muted:#758283;--green:#21685c;--green-dark:#123b3b;--brand:#21685c;--paper:#f5f7f5;--line:#e4e9e5;--orange:#ee9c62;--red:#ad4b42;--font:Inter,"Noto Sans SC","Microsoft YaHei",system-ui,-apple-system,sans-serif;font-family:var(--font);color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}a{color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #d7b963;outline-offset:3px}h1,h2,h3,p{margin:0}h1{font-size:30px;letter-spacing:-.8px;font-weight:650}h2{font-size:19px;font-weight:650}h3{font-size:15px;font-weight:650}p{line-height:1.7}.muted{color:var(--muted)}.tiny{font-size:11px}.small{font-size:12px}.mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.hidden{display:none!important}.boot{min-height:100vh;display:grid;align-content:center;justify-items:center;gap:20px}.brandmark{width:40px;height:40px;display:inline-grid;place-items:center;border-radius:12px;background:#e3c88c;color:#173b37;font-size:26px;font-weight:800;box-shadow:inset 0 0 0 1px #ffffff40}.btn{border:1px solid var(--line);border-radius:8px;padding:10px 15px;background:#fff;color:var(--ink);font-size:13px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:7px;line-height:1.4;white-space:nowrap;text-decoration:none;transition:background .15s,transform .15s}.btn:hover{background:#f1f5f2}.btn.primary{background:var(--brand);border-color:var(--brand);color:#fff}.btn.primary:hover{filter:brightness(.93)}.btn.danger{color:var(--red);border-color:#e6cbc7;background:#fff9f8}.btn.compact{padding:7px 10px;font-size:12px}.btn.ghost{background:transparent;border-color:transparent;color:var(--muted)}.btn.ghost:hover{background:#edf2ef}.icon{width:19px;height:19px;display:inline-grid;place-items:center;flex-shrink:0}.icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.badge{display:inline-flex;align-items:center;gap:5px;border-radius:5px;font-size:10px;line-height:1.4;padding:4px 7px;font-weight:650;white-space:nowrap;letter-spacing:.1px}.badge.green{background:#e4f2e9;color:#276b45}.badge.orange{background:#fff0dc;color:#916124}.badge.red{background:#fbe9e6;color:#aa463b}.badge.blue{background:#eaf0fc;color:#4a6596}.badge.gray{background:#edf1ed;color:#728177}.pill{border-radius:20px}.shell{display:grid;grid-template-columns:236px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--green-dark);color:#d9e7e2;position:fixed;inset:0 auto 0 0;width:236px;padding:26px 16px 16px;display:flex;flex-direction:column;z-index:30}.brand{display:flex;align-items:center;gap:11px;padding:0 10px 27px}.brand-title{font-size:20px;font-weight:700;letter-spacing:-.6px;color:#fff}.brand-english{font-size:9px;font-weight:650;letter-spacing:1.9px;color:#d8c48f;margin-top:2px}.brand-subtitle{font-size:9px;letter-spacing:1.4px;color:#a5bcb2;margin-top:3px}.tenant-card{background:#ffffff0b;border:1px solid #ffffff14;padding:12px;border-radius:10px;margin-bottom:24px;display:flex;align-items:center;gap:10px}.tenant-avatar{width:32px;height:32px;border-radius:7px;background:#f0e7d6;color:#425448;display:grid;place-items:center;font-size:13px;font-weight:700;flex-shrink:0}.tenant-card .name{font-size:12px;font-weight:650;color:#f4f7f3}.tenant-card .slug{font-size:10px;color:#93b0a3;margin-top:4px}.nav-caption{font-size:9px;letter-spacing:1.6px;color:#7e9d8c;padding:0 12px;margin:0 0 9px}.nav{display:flex;flex-direction:column;gap:3px;overflow-y:auto;scrollbar-width:thin}.nav-btn{display:flex;align-items:center;gap:11px;border:0;color:#a7c2b7;background:none;text-align:left;border-radius:7px;padding:10px 13px;font-size:12px;position:relative;min-height:39px}.nav-btn:hover{background:#ffffff07;color:white}.nav-btn.active{background:#2c5851;color:#fff}.nav-btn.active::before{content:"";position:absolute;left:0;top:11px;bottom:11px;width:3px;background:#dec58e;border-radius:3px}.nav-btn .icon{width:17px;height:17px}.nav-num{font-size:9px;margin-left:auto;color:#96b3a5}.sidebar-footer{margin-top:auto;padding-top:20px}.demo-note{padding:12px;background:#ffffff07;border:1px solid #ffffff10;border-radius:8px;font-size:10px;color:#8eac9b;line-height:1.7}.demo-note strong{display:block;font-size:11px;color:#dbcd9f;margin-bottom:4px}.workspace{grid-column:2;min-width:0}.topbar{height:76px;border-bottom:1px solid var(--line);background:#ffffffcc;display:flex;align-items:center;justify-content:space-between;padding:0 34px;gap:20px}.breadcrumb{font-size:12px;color:#81908a;display:flex;align-items:center;gap:10px}.breadcrumb strong{font-weight:500;color:#324a42}.topbar-right{display:flex;align-items:center;gap:17px}.user-chip{display:flex;align-items:center;gap:9px;font-size:11px;color:#546860}.user-avatar{height:32px;width:32px;display:grid;place-items:center;border-radius:50%;color:#486454;background:#e9eee6;font-weight:700}.mobile-nav{display:none}.main{padding:33px 34px 38px;max-width:1600px;margin:auto}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:24px}.eyebrow{font-size:10px;letter-spacing:1.9px;font-weight:600;color:#7b8e80;margin-bottom:9px}.page-sub{font-size:12px;color:#7b8a80;margin-top:9px;max-width:750px;line-height:1.8}.page-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding-top:6px}.alert{padding:13px 16px;border-radius:8px;font-size:12px;line-height:1.7;display:flex;gap:11px;margin-bottom:22px;align-items:flex-start;border:1px solid #e7e9dd;background:#f6f6e9;color:#767344}.alert .icon{margin-top:1px}.alert.info{background:#edf4f2;color:#4f7568;border-color:#dce8e1}.alert.error{background:#fff1ed;color:#a05041;border-color:#efd4cb}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:23px 0}.stat-card{padding:20px 21px;background:#fff;border:1px solid var(--line);border-radius:10px;min-height:139px}.stat-top{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:#7b887d}.stat-icon{background:#f1f5ef;border-radius:7px;padding:7px;display:grid;place-items:center;color:#799172}.stat-value{font-size:27px;font-weight:650;letter-spacing:-.8px;margin:9px 0 5px}.stat-foot{font-size:10px;color:#89958a}.grid-2{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr);gap:20px;margin-bottom:20px}.panel{background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:20px 22px;border-bottom:1px solid #eef0ec}.panel-head p{font-size:10px;color:#909a92;margin-top:5px}.panel-body{padding:22px}.workflow{display:grid;grid-template-columns:repeat(4,1fr);padding:26px 20px 24px;gap:9px;position:relative}.flow-step{position:relative;text-align:center;font-size:11px;z-index:1}.flow-step:not(:last-child)::after{content:"";height:1px;position:absolute;background:#e0e7df;top:18px;left:calc(50% + 24px);right:calc(-50% + 24px);z-index:-1}.flow-dot{height:38px;width:38px;display:grid;place-items:center;background:#eaf2e9;border-radius:50%;color:#5c8162;margin:0 auto 12px}.flow-dot.last{background:#f9f0dc;color:#a5884a}.flow-step small{display:block;color:#939c92;margin-top:6px;font-size:9px}.mini-summary{display:flex;justify-content:space-between;gap:14px;padding:14px 0;border-bottom:1px solid #edf0eb;font-size:12px}.mini-summary:last-child{border-bottom:0}.mini-summary .label{color:#859184}.mini-summary strong{font-weight:600}.module-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.module-card{border:1px solid var(--line);padding:15px;border-radius:8px;background:white;display:flex;gap:12px;align-items:center;text-align:left;color:var(--ink);cursor:pointer}.module-card:hover{border-color:#9fb8a6;box-shadow:0 2px 8px #153c3010}.module-card .module-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:9px;background:#f0f4ed;color:#6e8c67}.module-card strong{display:block;font-size:12px;font-weight:600}.module-card small{display:block;font-size:10px;color:#919b90;margin-top:5px}.module-card .arrow{margin-left:auto;color:#98a594}.table-wrap{overflow:auto;width:100%}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px;white-space:nowrap}th{font-size:10px;color:#8a968c;font-weight:500;padding:12px 18px;background:#fafbf9;border-bottom:1px solid var(--line)}td{padding:16px 18px;border-bottom:1px solid #edf0eb;color:#536553;max-width:380px;overflow:hidden;text-overflow:ellipsis}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafcf9}.cell-title{font-weight:600;font-size:12px;color:#294a37;max-width:230px;overflow:hidden;text-overflow:ellipsis}.cell-sub{font-size:10px;color:#96a08f;margin-top:5px}.row-actions{display:flex;gap:5px;flex-wrap:nowrap}.empty{padding:45px 20px;text-align:center;color:#89988b;font-size:12px;line-height:1.9}.empty .icon{width:30px;height:30px;display:block;margin:0 auto 12px;color:#aec0ae}.tabbar{display:flex;gap:22px;border-bottom:1px solid var(--line);margin-bottom:21px;overflow:auto}.tab{background:none;border:0;padding:10px 0 14px;font-size:12px;color:#8c988e;white-space:nowrap;border-bottom:2px solid transparent}.tab.active{color:var(--green);border-color:var(--green);font-weight:600}.data-note{font-size:10px;color:#9ca598;margin:13px 0 0}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.field{display:flex;flex-direction:column;gap:8px;font-size:12px;color:#576c5b}.field.wide{grid-column:1/-1}.field label{font-weight:600;font-size:11px;color:#49604d}.field input:not([type=checkbox]),.field textarea,.field select{width:100%;border:1px solid #dce4da;padding:11px 12px;border-radius:7px;background:#fff;color:var(--ink);font-size:12px;outline:none;min-height:40px}.field input:focus,.field textarea:focus,.field select:focus{border-color:#6c9c7b;box-shadow:0 0 0 3px #e7f2e6}.field input[type=color]{padding:5px;max-width:100px}.field textarea{min-height:83px;resize:vertical}.field small{font-size:10px;color:#8e9d8a;line-height:1.6}.checklabel{display:flex;gap:9px;align-items:flex-start;line-height:1.7;font-weight:400!important;color:#6b7e6e!important}.checklabel input{margin:3px 0 0;accent-color:var(--green);width:15px;height:15px}.form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:24px}.form-error{color:#aa4b42;background:#fff0ed;border-radius:7px;padding:11px 13px;font-size:12px;margin:0 0 17px;line-height:1.7}.login{min-height:100vh;display:grid;grid-template-columns:1.05fr 1fr;background:#fff}.login-story{position:relative;background:var(--green-dark);color:#e4ead9;padding:clamp(28px,5vh,50px) 10%;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:clamp(14px,3vh,30px);overflow:hidden}.login-story:before{content:"";width:600px;height:600px;position:absolute;bottom:-350px;right:-200px;border:1px solid #b9cfaa25;border-radius:50%;box-shadow:0 0 0 75px #b9cfaa07,0 0 0 150px #b9cfaa06,0 0 0 225px #b9cfaa05}.login-story .brand{padding:0;position:relative}.login-brand-lockup{position:relative;width:min(100%,360px);background:#fffdf6;border:1px solid #ffffff38;border-radius:12px;padding:9px 13px;box-shadow:0 12px 34px #061f1b2b;overflow:hidden}.login-brand-logo{display:block;width:100%;height:auto;aspect-ratio:3/1;object-fit:contain}.login-story-content{position:relative;align-self:center;width:100%;max-width:560px;min-width:0;padding:clamp(16px,5vh,60px) 0}.login-story h1{font-size:clamp(34px,4vw,46px);line-height:1.22;letter-spacing:-1px;max-width:490px;font-weight:550;overflow-wrap:anywhere}.login-story h1 span{color:#e0c992}.login-story p{font-size:13px;color:#a6bca6;max-width:400px;margin-top:clamp(12px,2.5vh,25px);line-height:1.8}.login-points{width:min(100%,480px);margin-top:clamp(14px,3vh,35px);display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(8px,1.8vh,17px)}.login-point{display:grid;grid-template-columns:24px minmax(0,1fr);gap:11px;align-items:center;width:100%;font-size:12px;color:#d0dec6}.login-point>span:first-child{border:1px solid #90b49047;width:24px;min-width:24px;height:24px;display:grid;place-items:center;border-radius:50%;font-size:11px;color:#dcca98}.login-point>span:last-child{display:block;min-width:0;line-height:1.6;white-space:normal;word-break:normal;overflow-wrap:break-word}.login-point>span:last-child>.i18n-label{display:block;width:100%;min-width:0;line-height:inherit;white-space:inherit;word-break:inherit;overflow-wrap:inherit}.login-bottom{font-size:10px;color:#78987d;position:relative;line-height:1.8;max-width:480px;overflow-wrap:anywhere}.login-form-area{display:flex;justify-content:center;align-items:center;padding:clamp(28px,5vh,50px);overflow:auto}.login-panel{width:100%;max-width:385px}.login-panel h2{font-size:27px;letter-spacing:-.6px}.login-panel .description{font-size:12px;color:#929e8e;margin-top:10px;margin-bottom:28px}.login-panel .field{margin-bottom:18px}.login-panel .btn.primary{width:100%;margin-top:6px;padding:12px}.login-demo{border-top:1px solid var(--line);margin-top:27px;padding-top:20px}.login-demo p{font-size:10px;color:#8f9e89;margin-bottom:12px}.demo-accounts{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.demo-account{background:#f7faf4;border:1px solid #e3e9df;color:#74866b;padding:9px 6px;border-radius:6px;font-size:10px;cursor:pointer}.demo-account:hover{border-color:#8baf84;background:#f1f6ed}.local-warning{font-size:10px;color:#9b967b;margin-top:16px;line-height:1.8}.login-store-link{display:block;text-align:center;color:#7c9270;font-size:11px;text-decoration:none;margin-top:25px}.login-store-link:hover{text-decoration:underline}dialog{border:0;border-radius:13px;padding:0;width:540px;max-width:calc(100vw - 32px);max-height:calc(100vh - 50px);box-shadow:0 30px 110px #0c2d3660;color:var(--ink)}dialog::backdrop{background:#0c2c325c;backdrop-filter:blur(3px)}.modal-header{padding:22px 25px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.modal-header h2{font-size:19px}.modal-header p{font-size:11px;color:#8c9987;margin-top:7px}.modal-body{padding:25px}.modal-close{border:0;background:#f0f4ed;width:27px;height:27px;border-radius:50%;color:#6f8666;font-size:18px;line-height:1;flex-shrink:0}#toast-region{position:fixed;bottom:25px;right:25px;z-index:1000;display:flex;flex-direction:column;gap:10px;max-width:min(440px,calc(100vw - 40px))}.toast{border-radius:9px;padding:15px 19px;background:#214f3e;color:#fff;font-size:12px;box-shadow:0 8px 30px #0f322c26;line-height:1.7;animation:toast-in .2s ease-out}.toast.error{background:#8c483e}@keyframes toast-in{from{transform:translateY(10px);opacity:0}to{transform:translateY(0);opacity:1}}.store{min-height:100vh;background:#f8f8f1}.store-header{background:#fff;border-bottom:1px solid #eceee5;display:flex;align-items:center;justify-content:space-between;padding:20px max(6vw,20px);gap:20px}.store-brand{display:flex;align-items:center;gap:11px}.store-brand .brandmark{background:var(--brand);color:white;width:36px;height:36px;font-size:20px}.store-brand h2{font-size:17px}.store-brand small{font-size:9px;letter-spacing:1.2px;color:#9ca18d;display:block;margin-top:3px}.store-hero{max-width:1150px;margin:40px auto 0;display:grid;grid-template-columns:1.3fr .7fr;background:#e6eedf;border:1px solid #d9e4d2;border-radius:17px;overflow:hidden;min-height:265px}.store-hero-copy{padding:40px 44px}.store-hero-copy .eyebrow{color:#708a62}.store-hero-copy h1{font-size:38px;line-height:1.35;letter-spacing:-1px;color:#2a4d2e;max-width:530px}.store-hero-copy p{font-size:12px;color:#7c8c70;margin-top:14px}.store-hero-art{position:relative;overflow:hidden;background:linear-gradient(145deg,#d5e1c6,#e9e9d1)}.leaf{position:absolute;border-radius:0 70% 0 70%;background:#76906b75;transform:rotate(-25deg)}.leaf.a{width:140px;height:230px;left:40px;top:70px}.leaf.b{width:105px;height:180px;left:160px;top:15px;transform:rotate(28deg);background:#97ad7a9c}.leaf.c{width:150px;height:200px;left:155px;top:175px;transform:rotate(65deg);background:#5e7f6177}.store-content{max-width:1150px;margin:33px auto;padding-bottom:50px}.store-section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;gap:20px}.store-section-head h2{font-size:20px}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.product-card{border:1px solid #e4e8dd;border-radius:12px;background:#fff;overflow:hidden}.product-art{height:145px;background:#eae8dc;position:relative;overflow:hidden;display:grid;place-items:center}.product-art .icon{width:60px;height:60px;color:#9da982;position:relative;z-index:1}.product-art::before,.product-art::after{content:"";width:180px;height:180px;position:absolute;border:1px solid #adbb9470;border-radius:50%;right:-25px;bottom:-110px}.product-art::after{width:270px;height:270px;bottom:-140px;right:-65px}.product-card:nth-child(3n+2) .product-art{background:#e0e9e5}.product-card:nth-child(3n+2) .product-art .icon{color:#84a49b}.product-card:nth-child(3n+3) .product-art{background:#f0e6d9}.product-card:nth-child(3n+3) .product-art .icon{color:#bca585}.product-body{padding:20px}.product-body h3{font-size:16px;margin-bottom:8px}.product-body p{font-size:11px;color:#8e9984;min-height:40px}.product-meta{display:flex;gap:6px;margin:14px 0 18px;flex-wrap:wrap}.product-bottom{display:flex;justify-content:space-between;align-items:flex-end;gap:12px}.price{font-size:25px;font-weight:650;letter-spacing:-.7px;color:#396440}.price small{font-size:10px;font-weight:400;letter-spacing:0;margin-right:4px}.store-footer{text-align:center;font-size:10px;color:#959f89;border-top:1px solid #e5e8dd;padding:25px;line-height:1.8}.referral-box{background:#f3f6ec;border:1px dashed #bdcfa8;padding:20px;border-radius:9px;overflow-wrap:anywhere}.referral-box p{font-size:11px;color:#819174;margin-bottom:8px}.referral-box strong{font-size:17px;color:#426239}.definition-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.definition{font-size:12px;line-height:1.7}.definition small{display:block;font-size:10px;color:#91a086;margin-bottom:5px}.content-stack{display:grid;gap:20px}.loading{padding:50px;text-align:center;font-size:12px;color:#8c9b85}.code{border:1px dashed #a7ba96;background:#f6f9ef;padding:7px 10px;border-radius:5px;font-size:11px;font-family:ui-monospace,monospace;color:#486142;overflow-wrap:anywhere;white-space:normal}.role-note{font-size:10px;color:#8fa184;margin-left:6px}.tenant-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.tenant-tile{padding:23px}.tenant-tile h3{font-size:19px;margin:12px 0 5px}.tenant-tile .definition-grid{margin:22px 0}.checkbox-list{display:flex;gap:15px;flex-wrap:wrap}.review-result{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.8}.detail-list{display:grid;grid-template-columns:135px 1fr;gap:11px;font-size:12px;line-height:1.7}.detail-list dt{color:#8c9a83}.detail-list dd{margin:0;overflow-wrap:anywhere;white-space:pre-wrap}.footer-hint{margin-top:27px;color:#98a38e;font-size:10px;text-align:center}.focus-banner{background:#163e35;color:#d5e0c9;display:flex;align-items:center;justify-content:space-between;padding:22px 24px;border-radius:10px;gap:25px;margin-bottom:22px}.focus-banner h2{font-size:17px;margin-bottom:5px;color:#f5f7e8}.focus-banner p{font-size:11px;color:#94af91}.focus-banner .btn{background:#dae6cb;color:#355e32;border-color:#dae6cb}.table-toolbar{padding:14px 19px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:14px;align-items:center}.table-toolbar input{border:1px solid var(--line);border-radius:6px;padding:8px 11px;font-size:11px;max-width:250px;width:100%;outline:none}.table-toolbar input:focus{border-color:#9eb18e}.table-toolbar .count{font-size:10px;color:#8d9c82}.local-chip{display:inline-block;padding:4px 6px;font-size:9px;border:1px solid #d8dccb;color:#9b9a75;border-radius:4px}.right{margin-left:auto}.tenant-context{max-width:200px;border:1px solid var(--line);border-radius:5px;padding:6px 8px;font-size:11px;color:#57724d;background:white}.note-list{padding-left:18px;margin:0;color:#809172;font-size:12px;line-height:2}.error-page{padding:50px 25px;max-width:750px;margin:auto}.error-page h1{margin-bottom:20px}.error-page p{margin-bottom:20px}.native-details{margin-top:15px;font-size:12px;color:#687b5d}.native-details summary{cursor:pointer}.native-details pre{overflow:auto;max-height:280px;font-size:11px;line-height:1.7;background:#f4f6ef;padding:12px;border-radius:7px}.skeleton{height:15px;width:70%;background:#edf2e9;border-radius:3px;margin:12px 0}.badge-dot{width:5px;height:5px;border-radius:50%;background:currentColor;display:inline-block}@media(min-width:1600px){.main{padding-top:43px}.stat-card{padding:24px}.store-hero,.store-content{max-width:1200px}}@media(max-width:1150px){.shell{grid-template-columns:210px 1fr}.sidebar{width:210px;padding-inline:12px}.topbar{padding:0 24px}.main{padding:28px 24px}.stat-grid{gap:10px}.stat-card{padding:17px}.stat-value{font-size:23px}.grid-2{grid-template-columns:1.4fr 1fr}.module-grid{grid-template-columns:repeat(2,1fr)}.user-chip .user-details{display:none}.store-hero,.store-content{margin-left:25px;margin-right:25px}.store-hero-copy{padding:35px}.store-hero-copy h1{font-size:32px}.product-grid{gap:13px}.product-body{padding:17px}}@media(max-width:900px){.grid-2{grid-template-columns:1fr}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.login-story{padding:35px 9%}.login-story h1{font-size:36px}.login-form-area{padding:30px}.topbar-right{gap:10px}.page-head{flex-direction:column;gap:12px}.page-actions{padding:0}.store-hero{grid-template-columns:1.5fr .5fr}.store-hero-art .leaf.a{left:5px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tenant-list{grid-template-columns:1fr}}@media(max-height:760px) and (min-width:681px){.login-story{padding:24px 8%;gap:10px}.login-story-content{padding:8px 0}.login-story h1{font-size:32px;line-height:1.18}.login-story p{margin-top:10px;line-height:1.65}.login-points{margin-top:12px;gap:7px}.login-bottom{line-height:1.5}.login-form-area{padding:22px 36px;align-items:flex-start}}@media(max-width:680px){.shell{display:block}.sidebar{transform:translateX(-100%);transition:transform .2s;width:236px}.shell.menu-open .sidebar{transform:translateX(0);box-shadow:0 0 0 200vw #0d29244d}.workspace{width:100%}.topbar{height:65px;padding:0 18px;gap:10px}.mobile-nav{display:inline-flex;background:none;border:0;color:#56774e;padding:0 8px 0 0}.breadcrumb{font-size:11px;gap:6px}.topbar-right .badge{display:none}.topbar-right{gap:7px}.topbar-right .user-chip{display:none}.topbar-right .btn.ghost{font-size:11px;padding:6px}.main{padding:24px 17px 30px}h1{font-size:26px}.page-head{margin-bottom:20px}.page-sub{font-size:11px}.eyebrow{font-size:9px}.stat-grid{gap:10px;margin:20px 0}.stat-card{padding:15px 13px;min-height:123px}.stat-value{font-size:25px}.stat-top{font-size:10px}.stat-icon{padding:5px}.stat-foot{font-size:9px}.module-grid{gap:9px}.module-card{padding:11px;gap:9px}.module-card strong{font-size:11px}.module-card small{font-size:9px}.module-card .module-icon{width:29px;height:32px}.module-card .arrow{display:none}.panel-head{padding:17px}.panel-body{padding:18px}.panel-head h2{font-size:16px}.alert{font-size:11px;padding:12px}.workflow{padding:23px 8px}.flow-step{font-size:10px}.flow-step small{font-size:8px}.flow-dot{width:31px;height:31px}.flow-step:not(:last-child)::after{top:15px;left:calc(50% + 20px);right:calc(-50% + 20px)}.login{display:block}.login-story{display:block;padding:27px 30px}.login-form-area{overflow:visible}.login-story .brand{padding:0}.login-brand-lockup{width:min(100%,320px);padding:7px 10px}.login-story-content{padding:35px 0 10px}.login-story h1{font-size:32px;max-width:450px}.login-story p{font-size:11px;margin-top:14px}.login-points,.login-bottom{display:none}.login-form-area{padding:32px 27px 40px}.login-panel{max-width:440px}.login-panel h2{font-size:24px}.login-panel .description{margin-bottom:23px}.login-demo{margin-top:22px}.store-header{padding:15px 18px}.store-header .btn{font-size:11px;padding:8px 10px}.store-brand h2{font-size:14px}.store-brand small{font-size:8px}.store-hero{margin:20px 16px 0;min-height:230px;grid-template-columns:1fr}.store-hero-copy{padding:28px}.store-hero-copy h1{font-size:30px;max-width:320px}.store-hero-art{display:none}.store-hero-copy p{font-size:11px}.store-content{margin:25px 16px}.product-grid{grid-template-columns:1fr}.product-card{display:grid;grid-template-columns:105px 1fr;overflow:hidden}.product-art{height:100%;min-height:190px}.product-art .icon{width:40px;height:40px}.product-body{padding:17px 15px}.product-body h3{font-size:14px}.product-body p{font-size:10px;min-height:0}.product-meta{margin:10px 0 13px}.product-meta .badge{font-size:9px}.price{font-size:21px}.product-bottom .btn{font-size:10px;padding:8px 10px}.product-bottom{align-items:center}.store-section-head h2{font-size:17px}.store-section-head .badge{font-size:9px}.focus-banner{padding:18px;gap:18px}.focus-banner h2{font-size:15px}.focus-banner p{font-size:10px}.focus-banner .btn{font-size:11px;padding:9px}.form-grid,.definition-grid{grid-template-columns:1fr}.form-grid{gap:15px}.modal-body{padding:20px}.modal-header{padding:20px}dialog{max-height:calc(100dvh - 28px)}.detail-list{grid-template-columns:100px 1fr;font-size:11px}.tenant-context{max-width:130px;font-size:10px}.brand-title{font-size:19px}.local-chip{display:none}.store-footer{font-size:9px}.referral-box strong{font-size:13px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
.product-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1}.message-history{max-height:250px;overflow:auto;margin-bottom:20px;border:1px solid var(--line);border-radius:8px;padding:5px 15px}.message-entry{padding:13px 0;border-bottom:1px solid var(--line)}.message-entry:last-child{border-bottom:0}.message-meta{font-size:10px;color:#8a9881;margin-bottom:6px}.message-entry p{font-size:12px;color:#526b48;white-space:pre-wrap;overflow-wrap:anywhere}
.nav-backdrop{display:none}@media(max-width:680px){.shell.menu-open .nav-backdrop{display:block;position:fixed;inset:0;border:0;background:#0d29244d;z-index:29;cursor:pointer}.shell.menu-open .sidebar{box-shadow:0 10px 30px #10241f33}.table-wrap:focus-visible{outline:2px solid #aac49a;outline-offset:-2px}}
/* Keep security codes readable on narrow screens; the table itself scrolls. */
.code{display:inline-block;min-width:190px;max-width:280px;line-height:1.6;user-select:all}
.export-controls{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;max-width:430px}.export-caption{width:100%;font-size:10px;line-height:1.6;color:#8b9981;text-align:right;white-space:normal}@media(max-width:680px){.export-controls{justify-content:flex-start;max-width:100%}.export-caption{text-align:left}}
.variant-selector{margin-top:15px;margin-bottom:13px;gap:6px}.variant-selector label{font-size:10px}.variant-selector select{font-size:11px;padding:9px 10px;min-height:38px}.product-art-slot{min-width:0;overflow:hidden}.product-art-slot>.product-art{height:145px}@media(max-width:680px){.product-art-slot>.product-art{height:100%;min-height:190px}.variant-selector{margin-top:12px;margin-bottom:10px}.variant-selector select{font-size:10px;padding:8px 6px}}

/* Personal security and bounded business-event reports. */
.personal-security{width:100%;margin-bottom:12px}.security-password-fields{display:grid;gap:16px}.report-filters .form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.report-output>.page-content{display:grid;gap:20px}.report-period{padding:20px 0;font-size:12px;line-height:1.8}.report-period .badge{margin-bottom:10px}.report-metrics{display:grid;gap:0}.report-metric{display:flex;justify-content:space-between;gap:20px;padding:14px 0;border-bottom:1px solid var(--line);font-size:13px}.report-metric:last-child{border-bottom:0}.report-value{white-space:nowrap;font-size:18px}.report-output .panel{margin-bottom:20px}@media(max-width:600px){.report-filters .form-grid{grid-template-columns:1fr}.report-metric{gap:10px}.report-value{font-size:14px;white-space:normal;text-align:right}.report-period{overflow-wrap:anywhere}}

/* Tenant image library, inline product picker and ordered media descriptions. */
.media-upload{display:grid;gap:12px}.media-drop{display:grid;gap:8px;border:1.5px dashed #a8bd9c;background:#f7faf2;border-radius:10px;padding:22px;text-align:center}.media-drop.dragging{border-color:#347a58;background:#e6f2df}.media-drop p{font-size:11px;color:#73886b}.media-drop input{max-width:100%;font-size:12px}.media-upload-fields,.media-filters{display:flex;gap:9px;flex-wrap:wrap}.media-upload-fields input,.media-filters input,.media-filters select,.media-sequence-content input,.media-sequence-content textarea{min-width:0;border:1px solid var(--line);border-radius:6px;padding:10px;font:inherit;font-size:12px;background:white;color:var(--ink)}.media-upload-fields input,.media-filters input{flex:1 1 160px}.media-upload-preview{max-width:100%;display:grid;place-items:center}.media-upload-preview:empty{display:none}.media-upload-preview>img{max-width:100%;max-height:240px;object-fit:contain;border-radius:8px}.media-library-list{display:grid;gap:15px}.media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.media-card{border:1px solid var(--line);border-radius:10px;overflow:hidden;background:white;min-width:0}.media-preview{aspect-ratio:4/3;display:grid;place-items:center;background:repeating-conic-gradient(#edf0e9 0% 25%,#f8faf5 0% 50%) 50%/20px 20px;overflow:hidden}.media-preview img{width:100%;height:100%;max-height:220px;object-fit:contain}.media-card-copy{padding:14px;display:grid;gap:8px}.media-card-copy strong{font-size:13px;overflow-wrap:anywhere}.media-card-meta,.media-card-actions{display:flex;gap:7px;flex-wrap:wrap}.media-card-actions .btn{white-space:normal;text-align:left}.media-pagination{display:flex;justify-content:flex-end;gap:10px}.media-large-preview{display:grid;place-items:center;min-height:110px;background:#f3f5ee;border-radius:9px;overflow:hidden}.media-large-preview img{display:block;max-width:100%;max-height:480px;height:auto;object-fit:contain}.media-usage{display:grid;gap:15px}.media-usage>p{font-size:12px}.product-media-editor{border-top:1px solid var(--line);margin-top:22px;padding-top:20px;display:grid;gap:15px;min-width:0}.product-media-editor h3{font-size:17px}.product-media-editor h4{font-size:13px;margin-bottom:10px}.media-editor-section{padding:14px;border:1px solid var(--line);border-radius:8px;min-width:0}.media-cover-preview{height:150px;background:#f4f6ef;display:grid;place-items:center;margin-bottom:10px}.media-cover-preview img{height:100%;max-width:100%;object-fit:contain}.media-mini-preview{width:70px;height:70px;background:#f3f5ed;display:grid;place-items:center;flex-shrink:0}.media-mini-preview img{width:100%;height:100%;object-fit:contain}.media-sequence-row{display:flex;align-items:flex-start;gap:10px;padding:12px 0;border-bottom:1px solid var(--line)}.media-sequence-row:last-child{border-bottom:0}.media-sequence-content{display:grid;gap:8px;min-width:0;flex:1}.media-sequence-content>input,.media-sequence-content>textarea{width:100%;box-sizing:border-box}.media-sequence-content textarea{min-height:100px;resize:vertical}.media-inline-picker{padding:14px;border:2px solid #b8ccb0;border-radius:10px;background:#f8faf3;max-width:100%}.media-inline-picker .media-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.media-inline-picker .media-card-copy{padding:10px}.media-picker-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}.media-picker-heading strong{font-size:14px}.media-drop.compact{padding:15px}.media-product-content{display:grid;gap:18px}.media-product-content figure{margin:0;min-width:0}.media-product-content figcaption{font-size:12px;line-height:1.7;color:#75896d;padding-top:8px;white-space:pre-wrap;overflow-wrap:anywhere}.media-detail-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.9;margin-bottom:15px}.media-carousel{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 0 12px}.media-carousel>figure{flex:0 0 82%;scroll-snap-align:start}.media-carousel .media-preview{aspect-ratio:4/3}.product-body>.btn.compact{margin-top:12px}.media-usage .note-list{overflow-wrap:anywhere}@media(max-width:1100px){.media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.media-grid,.media-inline-picker .media-grid{grid-template-columns:1fr}.media-card{display:grid;grid-template-columns:110px minmax(0,1fr)}.media-card>.media-preview{height:100%;min-height:140px;aspect-ratio:auto}.media-upload-fields,.media-filters{display:grid;grid-template-columns:1fr}.media-pagination{justify-content:space-between}.media-picker-heading{align-items:flex-start;flex-direction:column}.media-sequence-row{flex-wrap:wrap}.media-sequence-content{flex-basis:calc(100% - 80px)}.media-editor-section,.media-inline-picker{padding:11px}.media-cover-preview{height:130px}.media-large-preview img{max-height:340px}.media-carousel>figure{flex-basis:90%}}

dialog:has(.merchant-product-detail),dialog:has(.consumer-product-detail){width:min(940px,calc(100vw - 40px))}.merchant-product-detail,.consumer-product-detail{display:grid;gap:22px}.merchant-product-hero{display:grid;grid-template-columns:minmax(280px,1.15fr) minmax(260px,.85fr);gap:28px;align-items:center}.merchant-product-hero-image{min-height:260px;border-radius:12px;background:#f2f5ef;display:grid;place-items:center;overflow:hidden}.merchant-product-hero-image img{display:block;width:100%;height:auto;max-height:520px;object-fit:contain}.merchant-product-hero-image.empty .icon{width:64px;height:64px;color:#9aab96}.merchant-product-hero-copy{display:grid;gap:13px;align-content:center}.merchant-product-hero-copy h2{font-size:25px;line-height:1.35}.merchant-product-hero-copy p{font-size:13px;color:#6f7f72}.merchant-product-price{font-size:31px;font-weight:700;letter-spacing:-.8px;color:var(--green)}.merchant-product-chips{display:flex;gap:7px;flex-wrap:wrap}.merchant-admin-details{border:1px solid var(--line);border-radius:9px;background:#fafbf9}.merchant-admin-details summary{cursor:pointer;padding:14px 16px;font-size:12px;font-weight:650;color:#5d715f}.merchant-admin-details[open] summary{border-bottom:1px solid var(--line)}.merchant-admin-details .detail-list{padding:16px}.merchant-product-rich,.consumer-product-detail>.media-product-content{gap:16px}.media-showcase-section,.media-detail-section{display:grid;gap:12px}.media-showcase-section>h3,.media-detail-section>h3{font-size:17px}.media-carousel-shell{position:relative;min-width:0}.media-carousel-viewport{overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;border-radius:12px;background:#f3f5f0}.media-carousel-viewport::-webkit-scrollbar{display:none}.media-carousel-track{display:flex;align-items:center}.media-carousel-slide{flex:0 0 100%;scroll-snap-align:start;margin:0;min-width:0}.media-carousel-picture{display:grid;place-items:center;min-height:260px;overflow:hidden}.media-carousel-picture img{display:block;width:100%;height:auto;max-height:min(68vh,680px);object-fit:contain}.media-carousel-slide figcaption{padding:10px 14px 14px}.media-carousel-control{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:42px;height:42px;border:1px solid #dfe6dc;border-radius:50%;background:#fffffff2;color:#315c50;font-size:27px;line-height:1;box-shadow:0 6px 22px #17333424}.media-carousel-control.previous{left:12px}.media-carousel-control.next{right:12px}.media-carousel-indicators{display:flex;justify-content:center;gap:7px;padding-top:10px}.media-carousel-dot{width:8px;height:8px;border:0;border-radius:50%;padding:0;background:#c7d1c6}.media-carousel-dot.active{width:24px;border-radius:8px;background:var(--green)}.media-detail-section{gap:14px}.media-detail-figure{margin:0}.media-detail-figure .media-large-preview{min-height:0;background:transparent;border-radius:0;overflow:visible}.media-detail-figure .media-large-preview img{display:block;width:100%;max-width:100%;height:auto;max-height:none;object-fit:contain}.media-detail-figure+ .media-detail-figure{margin-top:2px}.media-cover-figure .media-large-preview img{width:100%;max-height:min(70vh,760px)}.consumer-product-summary{display:grid;gap:12px}.consumer-product-summary .media-detail-text{margin:0}.consumer-product-action{display:flex;justify-content:flex-end;border-top:1px solid var(--line);padding-top:18px}.merchant-product-empty{padding:18px;border:1px dashed var(--line);border-radius:9px}@media(max-width:720px){dialog:has(.merchant-product-detail),dialog:has(.consumer-product-detail){width:calc(100vw - 16px);max-width:none}.modal-body:has(.merchant-product-detail),.modal-body:has(.consumer-product-detail){padding:14px}.merchant-product-detail,.consumer-product-detail{gap:17px}.merchant-product-hero{grid-template-columns:1fr;gap:17px}.merchant-product-hero-image{min-height:180px}.merchant-product-hero-image img{max-height:48vh}.merchant-product-hero-copy h2{font-size:21px}.merchant-product-price{font-size:27px}.media-carousel-picture{min-height:180px}.media-carousel-picture img{max-height:56vh}.media-carousel-control{width:36px;height:36px;font-size:23px}.media-carousel-control.previous{left:7px}.media-carousel-control.next{right:7px}.media-showcase-section>h3,.media-detail-section>h3{font-size:15px}}

.product-form{display:flex;flex-direction:column}.product-form>.form-actions{order:10;margin-top:22px}

/* Parallel system labels: neither language is hidden or clipped. */
.bilingual-label{display:inline-flex;flex-wrap:wrap;align-items:baseline;gap:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}.i18n-zh,.i18n-en{min-width:0;overflow-wrap:anywhere}.i18n-en{font-size:.92em}.i18n-separator{white-space:pre}.nav-btn .bilingual-label{display:grid;gap:3px;flex:1}.nav-btn .i18n-separator{display:none}.nav-btn .i18n-en{font-size:10px;line-height:1.35;color:inherit;opacity:.87}.nav-btn{min-height:53px;align-items:center}.nav-num{flex-shrink:0}.btn:has(.bilingual-label){white-space:normal}.btn .bilingual-label{justify-content:center;text-align:center}.tab:has(.bilingual-label){min-width:100px;white-space:normal}.field label .bilingual-label{line-height:1.55}.i18n-coverage-note{font-size:11px;line-height:1.6;padding:10px 18px;background:#f3f3e6;color:#686c42;border-bottom:1px solid #e5e6d2}.login-panel>.i18n-coverage-note{margin:15px 0;border:1px solid #e5e6d2;border-radius:7px}.merchant-content-note{font-size:11px;line-height:1.65;color:var(--muted);padding:9px 12px;background:#f5f7f2;border-radius:7px}.bilingual-label[data-i18n-state=missing],.bilingual-label[data-i18n-state=incomplete]{color:#a05041;background:#fff1ed}.topbar .breadcrumb{min-width:0}.topbar .breadcrumb>strong{overflow-wrap:anywhere}.demo-account:has(.bilingual-label){white-space:normal}.panel-head .bilingual-label{line-height:1.5}@media(max-width:680px){.btn .bilingual-label{display:grid;gap:2px}.btn .i18n-separator{display:none}.topbar{height:auto;min-height:76px;flex-wrap:wrap;padding-top:12px;padding-bottom:12px;gap:10px}.topbar-right{flex-wrap:wrap;gap:8px}.page-actions{max-width:100%}.i18n-coverage-note{padding:9px 15px}.form-actions{flex-wrap:wrap}.modal-header h2 .bilingual-label{line-height:1.5}.table-wrap th .bilingual-label{min-width:90px}}
/* Short-height viewports: scroll the whole sidebar so bilingual chrome cannot collapse navigation. */
@media(max-height:420px){.sidebar{overflow-y:auto;overscroll-behavior:contain}.sidebar>*{flex-shrink:0}.sidebar>.nav{flex:none;overflow:visible}.sidebar>.sidebar-footer{margin-top:20px}}

/* Local feedback stays beside the identified input; no new validation rules. */
.field-error{margin-top:7px;padding:9px 11px;border-left:3px solid #b95d4c;border-radius:4px;background:#fff1ed;color:#944b3f;font-size:12px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}
.field [aria-invalid=true]{border-color:#b95d4c;box-shadow:0 0 0 1px #b95d4c}
.form-error:focus{outline:2px solid #944b3f;outline-offset:3px}
/* Only the merchant product table gets a wider, word-readable bilingual layout. */
.products-table-wrap{max-width:100%;overscroll-behavior-x:contain}
.products-table{min-width:1120px;table-layout:auto}
.products-table th,.products-table td{padding-left:14px;padding-right:14px}
.products-table th .bilingual-label,.products-table .badge .bilingual-label,.products-table .row-actions .bilingual-label{display:grid;gap:3px;white-space:normal;overflow-wrap:normal;word-break:normal}
.products-table .i18n-zh,.products-table .i18n-en{overflow-wrap:normal;word-break:normal}
.products-table .i18n-en{white-space:normal}
.products-table .i18n-separator{display:none}
.products-table th:first-child,.products-table td:first-child{min-width:200px;max-width:320px}
.products-table th:nth-child(2),.products-table td:nth-child(2){min-width:135px}
.products-table th:nth-child(3),.products-table td:nth-child(3){min-width:110px}
.products-table th:nth-child(4),.products-table th:nth-child(5),.products-table th:nth-child(6){min-width:100px}
.products-table th:nth-child(7),.products-table td:nth-child(7){min-width:130px}
.products-table .badge{white-space:normal;max-width:none}
.products-table th:last-child,.products-table td:last-child{min-width:270px;max-width:none;overflow:visible}
.products-table .row-actions{width:max-content;align-items:stretch;gap:7px}
.products-table .row-actions>.btn{flex:0 0 auto;min-width:60px;max-width:150px}
.products-table .row-actions>.btn .i18n-zh{white-space:nowrap}

/* Single selected UI language. Original merchant content is not rewritten. */
.i18n-label{display:inline;white-space:normal;overflow-wrap:break-word;word-break:normal}
.i18n-label[data-i18n-state=missing],.i18n-label[data-i18n-state=incomplete]{background:#fff1ed;color:#944b3f}
.btn:has(.i18n-label){white-space:normal}.nav-btn>.i18n-label{flex:1}.field label .i18n-label{line-height:1.55}
/* Compact shared language disclosure; existing preference logic remains in UiLocale. */
.locale-control{position:relative;display:flex;align-items:center;justify-content:flex-end;flex:0 0 auto;width:44px;min-width:44px;color:var(--ink);font-size:12px;line-height:1.5}
.locale-trigger{display:flex;align-items:center;justify-content:center;width:44px;min-width:44px;height:44px;padding:0;border:1px solid var(--line);border-radius:50%;background:#fff;color:var(--green);cursor:pointer;touch-action:manipulation}
.locale-trigger svg{width:23px;height:23px;pointer-events:none}.locale-trigger:hover,.locale-trigger[aria-expanded=true]{background:#edf4ea;border-color:#8b9f80}.locale-trigger:focus-visible,.locale-option:focus-visible,.locale-retry:focus-visible{outline:3px solid #c69232;outline-offset:3px}
.locale-panel,.locale-feedback{position:absolute;top:calc(100% + 6px);right:0;width:min(280px,calc(100vw - 32px));max-width:calc(100vw - 32px);padding:12px;border:1px solid var(--line);border-radius:13px;background:#fff;box-shadow:0 14px 36px #183b2526;z-index:1100;text-align:left}
.locale-panel{display:grid;gap:5px;max-height:min(70vh,380px);overflow:auto;overscroll-behavior:contain}
.locale-option{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:44px;padding:10px 11px;border:0;border-radius:8px;background:transparent;color:var(--ink);font:inherit;text-align:left;cursor:pointer;touch-action:manipulation}.locale-option:hover{background:#f1f5ee}.locale-option[aria-pressed=true]{background:#eaf2e5;color:var(--green);font-weight:600}.locale-option:disabled{opacity:.5;cursor:not-allowed}.locale-check{min-width:15px}
.locale-panel small,.locale-feedback small{display:block;overflow-wrap:anywhere}
.locale-retry{min-height:44px;padding:8px;border:0;border-radius:7px;background:transparent;color:var(--green);font:inherit;font-size:11px;text-align:left;white-space:normal;text-decoration:underline;cursor:pointer;touch-action:manipulation}.locale-menu-notice{padding:4px 8px;font-size:11px;color:#805b22}.locale-feedback{background:#fff9ed;border-color:#ddc896;color:#755320;font-size:11px}
.locale-control [hidden]{display:none!important}.login-panel>.locale-control{margin:0 0 18px auto}.modal-header>.locale-control{margin-left:auto}.modal-header>div:first-child{min-width:0}.store-header .row-actions{flex-wrap:wrap;align-items:center}
.products-table th .i18n-label,.products-table .badge .i18n-label,.products-table .row-actions .i18n-label{overflow-wrap:normal;word-break:normal}
@media(max-width:680px){.topbar-right>.locale-control{width:44px}.store-header .row-actions{max-width:100%}.modal-header{gap:10px}.locale-panel{max-height:65vh}}
/* Locale controls have variable translated/status height; the workspace header must contain them. */
.shell .topbar{height:auto;min-height:76px;padding-top:12px;padding-bottom:12px}
/* P2a content ownership: scoped nodes, no replacement of existing form/media rules. */
.content-editor,.content-history,.content-checkout{display:grid;gap:16px;min-width:0}.content-source,.content-authoritative,.content-preview,.content-review{border:1px solid var(--line,#dce4e2);border-radius:12px;padding:16px;background:var(--surface,#fff)}.content-source-fields{display:grid;gap:12px}.content-source-field pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:180px;overflow:auto;font:inherit;background:#f3f6f5;padding:10px}.content-language-panel{display:grid;gap:14px}.content-language-panel[hidden],.content-field[hidden],.content-presentation [hidden]{display:none!important}.content-draft-field{display:grid;gap:7px}.content-draft-field textarea{min-height:130px;resize:vertical}.content-draft-field input:not([type=checkbox]),.content-draft-field textarea,.content-source select,.content-editor select{width:100%;border:1px solid var(--line,#dce4e2);border-radius:8px;padding:10px;font:inherit}.content-value-toggle{display:flex;align-items:center;gap:8px;font-size:12px;color:#526962}.content-actions{display:flex;gap:8px;flex-wrap:wrap}.content-values{display:grid;grid-template-columns:minmax(90px,1fr) minmax(0,3fr);gap:8px;font-size:13px}.content-values dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.content-revisions,.content-identity{font-size:12px;overflow-wrap:anywhere}.content-title{white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 6px}.content-title-provenance{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:8px}.content-provenance{display:block;color:#66756d;font-size:11px;line-height:1.5}.content-field [data-content-value]{white-space:pre-wrap;overflow-wrap:anywhere}.content-parent{font-size:12px;margin:8px 0}.content-history-summary [data-content-history-name]{white-space:pre-wrap;overflow-wrap:anywhere}.content-status{padding:9px 12px;background:#f0f6f2;border-radius:8px}.content-review{border:2px solid #b98036}.content-review .btn{margin:8px 8px 0 0}.content-checkout-commerce{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.content-checkout .legal-source-text{font-size:12px;line-height:1.6}.content-checkout .content-provenance,.content-checkout .merchant-content-note{display:none!important}.content-checkout .content-field[data-content-status="MISSING"],.content-checkout .content-field[data-store-content-status="MISSING"],.content-checkout .content-field[data-rich-content-status="MISSING"]{display:none!important}.content-editor .hidden,.content-checkout .hidden{display:none!important}

.content-editor [aria-invalid=true]{border-color:#b95d4c;box-shadow:0 0 0 1px #b95d4c}
/* P2b store-name sections; scoped to the new editor/presentation, not product media. */
.store-content-presentation,.store-content-history{min-width:0;overflow-wrap:anywhere;border-top:1px solid var(--line);padding:16px 0;margin:8px 0}
.store-content-presentation h3,.store-content-presentation h4{margin:8px 0}
.store-content-presentation [data-store-original-identity],.store-content-history [data-merchant-content]{white-space:pre-wrap}
[data-store-content-editor] [aria-invalid="true"]{border-color:var(--danger,#b83333);outline:2px solid #b8333322}
[data-store-content-editor] .field-error{margin:6px 0 8px;line-height:1.5}
[data-store-content-editor] [data-store-content-value],[data-store-name],[data-store-name-template] [data-merchant-content]{white-space:pre-wrap}

.store-header .store-brand>div{min-width:0}
[data-store-name],[data-store-name-template]{overflow-wrap:anywhere}
/* P2c literal merchant text: scoped only to the new rich-content projection. */
[data-rich-content-value]{white-space:pre-wrap;overflow-wrap:anywhere;min-width:0}
.rich-content-checkout,.rich-content-history{display:grid;gap:14px;min-width:0}
.rich-content-checkout>div,.rich-content-history>.media-product-content{min-width:0}

/* v0.12 merchant-direct tools; historical finance styling is unchanged. */
.direct-stack{display:grid;gap:16px;min-width:0}
.direct-stack .row-actions{flex-wrap:wrap}
.direct-stack .stat-grid{grid-template-columns:repeat(auto-fit,minmax(min(190px,100%),1fr))}
.direct-stack .table-wrap{max-width:100%;overflow-x:auto}
.direct-stack input[readonly]{width:100%;font-family:monospace;overflow-wrap:anywhere}
.direct-mode-summary{border:1px solid var(--line,#e2e7e4);padding:14px;border-radius:12px;min-width:0}
.direct-linked-product{outline:3px solid var(--brand,#21685c);outline-offset:4px;scroll-margin-top:20px}
@media(max-width:480px){.direct-stack .form-actions{align-items:stretch;flex-direction:column}.direct-stack .row-actions .btn{white-space:normal}.direct-stack .form-grid{grid-template-columns:1fr}}

.direct-frozen-review{white-space:pre-wrap;overflow-wrap:anywhere;border-left:4px solid var(--brand,#21685c);padding:12px}.direct-stack td{white-space:normal;overflow-wrap:anywhere}

/* Generic external-result import: exact cells are literal, with a bounded scrollable review. */
dialog:has([data-payout-import]){width:1100px}
[data-payout-import] .table-wrap{max-height:440px;overflow:auto}
[data-payout-import] th{position:sticky;top:0;background:var(--surface,#fff);z-index:1}
[data-payout-import] td{min-width:110px;vertical-align:top}
[data-payout-import] td [data-import-literal]{white-space:pre-wrap;overflow-wrap:anywhere}
[data-payout-import] td small{display:block;white-space:nowrap}
.direct-import-issue{display:grid;gap:4px;margin-bottom:10px;min-width:180px}
.direct-import-issue code{font-size:10px;overflow-wrap:anywhere}
.direct-import-counts{display:flex;gap:12px;flex-wrap:wrap;font-size:12px}
[data-payout-import] input[type=file]{max-width:100%}
/* Author flex/grid display rules must not reveal hidden import-only state. */
[data-payout-import] [hidden]{display:none!important}

/* Checkout state controls must honor hidden despite generic button display. */
.content-checkout [hidden]{display:none!important}

/* Pending direct commands must honor hidden despite generic alert display. */
[data-direct-command] [hidden]{display:none!important}

/* Read-only order/commission summary only; no login or storefront selectors. */
.business-details{display:grid;gap:18px;min-width:0}.business-details-note{font-size:12px;line-height:1.75;color:var(--muted);overflow-wrap:anywhere}.business-details .business-details-list{grid-template-columns:minmax(120px,.8fr) minmax(0,1.4fr)}.business-details-list dt,.business-details-list dd{min-width:0;overflow-wrap:anywhere}@media(max-width:480px){.business-details .business-details-list{grid-template-columns:minmax(0,1fr);gap:4px}.business-details-list dd{margin-bottom:12px}}

/* Product management only: readable titles and a single desktop row of all actions. */
.products-table{min-width:0;table-layout:fixed;width:100%;white-space:normal}
.products-table th,.products-table td{min-width:0!important;max-width:none;padding:12px 7px;overflow-wrap:anywhere;vertical-align:top}
.products-table th:first-child,.products-table td:first-child{width:20%;min-width:0;max-width:none}
.products-table th:nth-child(2),.products-table td:nth-child(2){width:10%;min-width:0}
.products-table th:last-child,.products-table td:last-child{width:320px;min-width:0;max-width:none}
.products-table .cell-title{max-width:none;white-space:normal;overflow:visible;overflow-wrap:anywhere}
.products-table .cell-sub,.products-table .product-cell-value{white-space:normal;overflow-wrap:anywhere;min-width:0}
.products-table .row-actions{width:100%;display:flex;flex-wrap:nowrap;gap:4px;align-items:center}
.products-table .row-actions>.btn{flex:0 0 auto;min-width:0;max-width:none;min-height:32px;font-size:11px;line-height:1.4;white-space:nowrap;padding:5px 4px}
.products-table .row-actions>.btn .i18n-label{white-space:nowrap;overflow-wrap:normal}
.products-table .product-cell-label{display:none}
.content-provenance[hidden]{display:none!important}
@media(max-width:1100px){
 .products-table{display:block}
 .products-table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .products-table tbody{display:block}
 .products-table tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:14px;gap:12px;border-bottom:1px solid var(--line)}
 .products-table tbody tr:last-child{border-bottom:0}
 .products-table td,.products-table td:first-child,.products-table td:nth-child(2),.products-table td:last-child{display:block;width:auto;min-width:0;max-width:none;padding:0;border:0;overflow:visible}
 .products-table td:first-child,.products-table .product-actions-cell,.products-table td[colspan]{grid-column:1/-1}
 .products-table .product-cell-label{display:block;color:var(--muted);font-size:11px;line-height:1.5;margin-bottom:4px}
 .products-table .cell-title{font-size:14px}
 .products-table .row-actions{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
 .products-table .row-actions>.btn{min-height:44px;font-size:12px}
}

/* Keep touch targets generous, including touch-capable wide screens. */
@media(any-pointer:coarse){
 .products-table .row-actions>.btn{min-height:44px;font-size:12px}
}

/* Approved tree mark only in the authenticated workspace brand square. */
.sidebar .brand>.brandmark-logo{flex:0 0 48px;width:48px;height:48px;border-radius:14.4px}
.sidebar .brand>.brandmark-logo>img{display:block;width:43.2px;height:43.2px;object-fit:contain}

/* Shared merchant/platform order actions: keep short labels readable while the table remains scrollable. */
.table-wrap:not(.products-table-wrap) .row-actions{width:max-content;min-width:100%;flex-wrap:nowrap}
.table-wrap:not(.products-table-wrap) .row-actions>.btn,.table-wrap:not(.products-table-wrap) .row-actions>.btn .i18n-label{white-space:nowrap;overflow-wrap:normal;word-break:keep-all}

/* Customer order history only. Shared merchant/admin tables are unchanged. */
.customer-orders-page{min-width:0;max-width:100%}
.customer-orders-page .page-head>div,.customer-orders-page .page-actions{min-width:0;max-width:100%}
.customer-orders-page .page-sub,.customer-orders-page .export-caption,.customer-orders-page .data-note{overflow-wrap:anywhere}
.customer-orders-page .btn,.customer-orders-page .tab{min-height:44px;min-width:44px;white-space:normal;overflow-wrap:anywhere}
.customer-orders-page .tabbar{flex-wrap:wrap;gap:8px 18px;overflow:visible}
.customer-orders-page .tab{margin:0;padding:10px 0}
.customer-orders-list{min-width:0;max-width:100%;overflow:hidden}
.customer-orders-list .table-toolbar{flex-wrap:wrap}
.customer-orders-list .table-toolbar input{flex:1 1 220px;width:auto;min-width:0;max-width:100%;min-height:44px;font-size:16px}
.customer-orders-list .table-toolbar .count{flex:0 1 auto;white-space:normal}
.customer-orders-list{
 --order-columns:minmax(0,1fr) minmax(106px,.27fr) minmax(95px,.22fr) minmax(94px,.22fr) 12px;
}
.customer-order-rows{margin:0;padding:0;list-style:none}
.customer-order-list-head,.customer-order-row{
 display:grid;grid-template-columns:var(--order-columns);align-items:center;gap:12px;
 padding:0 18px;text-align:start;
}
.customer-order-list-head{
 min-height:34px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);
 background:var(--paper);color:var(--muted);font-size:12px;font-weight:650;
}
.customer-order-list-head[hidden]{display:none}
.customer-order-rows > li + li{border-top:1px solid var(--line)}
.customer-order-row{
 width:100%;min-width:0;min-height:48px;padding-block:8px;
 border:0;background:transparent;color:var(--ink);font-size:14px;line-height:1.4;cursor:pointer;
}
.customer-order-row:hover{background:#f2f7f3}
.customer-order-row:focus-visible{outline:2px solid var(--green);outline-offset:-3px}
.customer-order-identity{display:flex;align-items:baseline;gap:12px;min-width:0}
.customer-order-number{flex:none;font-weight:700;font-variant-numeric:tabular-nums}
.customer-order-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.customer-order-amount,.customer-order-date{font-variant-numeric:tabular-nums;white-space:nowrap}
.customer-order-amount{font-weight:650}
.customer-order-date{font-size:13px;color:var(--muted)}
.customer-order-status{min-width:0}
.customer-order-status .badge,.customer-order-detail .badge{
 max-width:100%;white-space:normal;overflow-wrap:anywhere;font-size:12px;
}
.customer-order-chevron{
 width:7px;height:7px;justify-self:center;color:var(--green);
 border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(-45deg);
}
[dir=rtl] .customer-order-chevron{transform:rotate(135deg)}
.customer-order-detail{display:grid;gap:16px;min-width:0}
.customer-order-detail-product{font-weight:650;overflow-wrap:anywhere}
.customer-order-detail-product .content-history-evidence{font-weight:400;font-size:13px}
.customer-order-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0}
.customer-order-fact{min-width:0}
.customer-order-fact dt{font-size:12px;line-height:1.5;color:var(--muted);margin-bottom:5px}
.customer-order-fact dd{font-size:14px;line-height:1.6;margin:0;overflow-wrap:anywhere}
.customer-order-payment-note{
 margin:0;background:#f0f5f3;color:var(--green-dark);border:1px solid var(--line);
 border-radius:8px;padding:10px 12px;font-size:13px;line-height:1.6;overflow-wrap:anywhere;
}
.customer-order-actions{display:flex;flex-wrap:wrap;gap:8px;min-width:0}
.customer-order-actions>.btn{
 min-height:44px;min-width:44px;max-width:100%;padding:10px 14px;font-size:13px;
 line-height:1.5;white-space:normal;overflow-wrap:anywhere;
}
@media(max-width:900px){
 .customer-order-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
 .customer-order-list-head{display:none}
 .customer-order-row{
  grid-template-columns:auto minmax(0,1fr) auto 10px;gap:4px 8px;min-height:60px;padding-inline:12px;
 }
 .customer-order-identity{grid-column:1/4;gap:8px}
 .customer-order-status{grid-column:2}
 .customer-order-chevron{grid-column:4;grid-row:1/3}
}
@media(max-width:480px){
 .customer-orders-list .table-toolbar{padding:12px;gap:8px}
 .customer-orders-list .table-toolbar input{flex-basis:100%;width:100%}
 .customer-order-amount,.customer-order-date{font-size:12px}
 .customer-order-actions>.btn{padding:10px 8px}
}

/* Administrator MFA view only; no changes to ordinary login or product actions. */
.admin-mfa-flow{min-width:0;display:grid;gap:14px}
.admin-mfa-flow .form-actions{flex-wrap:wrap;gap:10px}
.admin-mfa-flow .btn{min-height:44px;white-space:normal}
.admin-mfa-flow input{max-width:100%;min-width:0}
.admin-mfa-flow .mfa-recovery-codes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:16px 16px 16px 36px;background:#f5f7f2;border-radius:12px;overflow-wrap:anywhere}
.admin-mfa-flow [data-mfa-secret]{user-select:text}
@media(max-width:480px){.admin-mfa-flow .mfa-recovery-codes{grid-template-columns:minmax(0,1fr)}.admin-mfa-flow .form-actions>.btn{flex:1 1 100%}}

/* Approved public home/directory only; existing login/workspace/store styles remain intact. */
.public-home-page{min-height:100vh;background:#f6f3eb;color:#173c33;font-family:"Noto Sans CJK SC","Microsoft YaHei",system-ui,sans-serif}
.public-home-page *{box-sizing:border-box}
.public-home-page .public-home-header,.public-home-page .public-home-main{max-width:1440px;margin:auto;padding-left:48px;padding-right:48px}
.public-home-page .public-home-header{display:flex;align-items:center;justify-content:space-between;padding-top:27px;padding-bottom:26px;border-bottom:1px solid #dcded1;gap:20px}
.public-home-page .public-home-wordmark{font-size:13px;letter-spacing:2px;font-weight:700}
.public-home-page .public-home-header .locale-control{flex-shrink:0}
.public-home-page .public-home-header [data-locale-trigger]{min-height:44px;min-width:44px}
.public-home-page .public-home-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.public-home-page .public-home-roles{padding:30px 0 42px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.public-home-page .public-home-card{--public-card:#184f43;background:var(--public-card);color:#fffdf3;border-radius:19px;display:flex;flex-direction:column;min-width:0;position:relative}
.public-home-page .public-home-merchant{--public-card:#2c536b}
.public-home-page .public-home-consumer{--public-card:#795526}
.public-home-page .public-home-logo-frame{padding:9px;background:#fff8df;border-radius:8px}
.public-home-page .public-home-logo-frame img{width:100%;height:auto;display:block;aspect-ratio:3/1}
.public-home-page .public-home-entry{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;align-items:center;color:inherit;min-height:122px;padding:22px;border-radius:19px;text-decoration:none}
.public-home-page .public-home-entry h2{margin:0;font-size:clamp(16px,1.6vw,24px);line-height:1.35;font-weight:650;overflow-wrap:anywhere}
.public-home-page .public-home-entry::after{content:"";position:absolute;inset:0;border-radius:19px}
.public-home-page .public-home-entry:hover::after,.public-home-page .public-home-apply:hover{background:#ffffff18}
.public-home-page .public-home-apply{display:flex;align-items:center;align-self:flex-end;justify-content:center;min-height:44px;margin:0 12px 10px;padding:6px 10px;color:inherit;border-radius:8px;font-size:13px;text-underline-offset:3px;position:relative;z-index:1}
.public-home-page a:focus-visible,.public-home-page button:focus-visible{outline:3px solid #d5a331;outline-offset:4px}
.public-home-page .public-home-entry:focus-visible{outline:none}
.public-home-page .public-home-entry:focus-visible::after{outline:3px solid #d5a331;outline-offset:4px}
.public-home-page .public-home-back{display:inline-flex;align-items:center;min-height:44px;color:#2b6551;font-size:14px}
.public-home-page .public-home-directory{padding-top:30px;padding-bottom:20px}
.public-home-page .public-home-directory h1{font-size:clamp(24px,4vw,36px);line-height:1.4;margin:0 0 14px}
.public-home-page .public-home-directory-intro,.public-home-page .public-home-directory-status{line-height:1.8;font-size:14px;color:#617064}
.public-home-page .public-home-directory-controls{display:flex;gap:12px;padding:14px 0}
.public-home-page .public-home-directory-button{min-height:44px;white-space:normal}
.public-home-page .public-home-store-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.public-home-page .public-home-store-card{min-width:0;padding:24px;background:#fffdf7;border:1px solid #dce2d5;border-radius:12px;display:flex;flex-direction:column;align-items:flex-start;gap:18px}
.public-home-page .public-home-store-card h2{font-size:20px;line-height:1.6;margin:0;overflow-wrap:anywhere}
.public-home-page .public-home-store-link{display:inline-flex;align-items:center;min-height:44px;background:#184f43;color:#fffdf3;border-radius:7px;padding:10px 16px;text-decoration:none}
.public-home-page .public-home-directory-error{padding:16px;border:1px solid #ddbd9a;border-radius:8px;line-height:1.8;background:#fff4e4}
.public-home-page .public-home-directory-error .btn{display:block;margin-top:10px}
.public-home-page .public-home-empty{grid-column:1/-1;padding:28px 0;font-size:15px;line-height:1.8}
@media(max-width:1000px){.public-home-page .public-home-header,.public-home-page .public-home-main{padding-left:24px;padding-right:24px}.public-home-page .public-home-roles{gap:14px}.public-home-page .public-home-entry{padding:18px}}
@media(max-width:760px){.public-home-page .public-home-header,.public-home-page .public-home-main{padding-left:20px;padding-right:20px}.public-home-page .public-home-header{padding-top:18px;padding-bottom:18px}.public-home-page .public-home-wordmark{font-size:11px;letter-spacing:1.5px}.public-home-page .public-home-roles{grid-template-columns:1fr}.public-home-page .public-home-entry{grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:102px}.public-home-page .public-home-entry h2{font-size:18px}.public-home-page .public-home-store-grid{grid-template-columns:1fr}}

.public-home-page[data-public-view="home"] .public-home-main{padding-bottom:42px}
.public-home-page .merchant-campaign{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px 30px;align-items:center;padding:29px 34px 24px;border:1px solid #cdd9c9;border-radius:19px;background:#edf2e6}
.public-home-page .campaign-label{color:#466752;font-size:14px;font-weight:650;letter-spacing:.08em}
.public-home-page .campaign-title{margin:7px 0 9px;color:#143f34;font-size:clamp(25px,3vw,40px);font-weight:750;line-height:1.35;letter-spacing:-.025em}
.public-home-page .campaign-title strong{color:#286445;white-space:nowrap}
.public-home-page .campaign-lead{color:#3b5c49;font-size:16px;line-height:1.75}
.public-home-page .campaign-apply{display:inline-flex;align-items:center;justify-content:center;gap:17px;min-height:50px;padding:12px 20px;border-radius:9px;background:#184f43;color:#fffdf3;font-size:16px;font-weight:700;text-decoration:none}
.public-home-page .campaign-apply::after{content:"→"}
.public-home-page .campaign-apply:hover{background:#123f35}
[dir=rtl] .public-home-page .campaign-apply::after{content:"←"}
[dir=rtl] .public-home-page :is(.campaign-title,.campaign-label){letter-spacing:normal}
.public-home-page .locale-option{text-align:start}
[dir=rtl] .sidebar{inset:0 0 0 auto}
[dir=rtl] input:is([type=email],[type=number],[type=url],[type=tel]){direction:ltr;text-align:start}
@media(max-width:680px){[dir=rtl] .shell:not(.menu-open) .sidebar{transform:translateX(100%)}}
.public-home-page .campaign-terms{grid-column:1/-1;padding-top:16px;border-top:1px solid #cedacb;color:#365347;font-size:15px}
.public-home-page .campaign-terms p+p{margin-top:3px}
.public-home-page .campaign-terms strong{color:#173c33}
.public-home-page .home-brand-intro{display:grid;grid-template-columns:minmax(240px,.6fr) minmax(0,1fr);gap:22px 56px;align-items:center;margin-top:28px;padding:26px 34px;border:1px solid #e2ded2;border-radius:19px;background:#fffdf7}
.public-home-page .home-brand-intro h2{margin:2px 0 3px;font-size:clamp(23px,2.25vw,32px);color:#173c33;line-height:1.4}
.public-home-page .home-brand-name{color:#466354;font-size:14px;font-weight:600}
.public-home-page .home-brand-body{max-width:720px;color:#365249;font-size:16px;line-height:1.9}
@media(max-width:900px){.public-home-page .home-brand-intro{gap:18px 27px}}
@media(max-width:760px){
 .public-home-page .merchant-campaign,.public-home-page .home-brand-intro{grid-template-columns:minmax(0,1fr);padding:22px;gap:17px}
 .public-home-page .merchant-campaign{align-items:start}
 .public-home-page .campaign-apply{justify-self:start}
 .public-home-page .campaign-terms{padding-top:14px}
 .public-home-page .home-brand-intro{margin-top:20px}
 .public-home-page .campaign-lead,.public-home-page .home-brand-body{font-size:15px}
}

@media(max-width:680px){.modal-close{width:44px;height:44px}}

/* Opt-in text chat; existing design tokens, no third-party assets. */
.chat-layout{display:grid;grid-template-columns:minmax(170px,240px) minmax(0,1fr);gap:20px}.chat-layout aside .btn{display:block;width:100%;margin-bottom:8px}.chat-layout textarea{display:block;width:100%;box-sizing:border-box;margin-top:16px}.chat-layout label{display:block;margin-top:12px}.chat-layout .message-history{max-height:55vh;overflow:auto}.chat-layout input{max-width:100%;box-sizing:border-box}@media(max-width:700px){.chat-layout{grid-template-columns:1fr}.chat-layout aside{max-height:180px;overflow:auto}}

/* Added only after the server confirms the default-OFF account-recovery extension is enabled. */
.account-recovery-entry{position:fixed;right:18px;bottom:14px;z-index:20;padding:8px 12px;border-radius:999px;background:#fff;color:#176b57;border:1px solid #c9d8d1;text-decoration:none;font-size:.78rem;box-shadow:0 4px 16px #123b3b14}

.comparison-price{display:inline-flex;flex-direction:column;gap:.25rem}.original-price{font-size:.8em;color:#64748b;font-weight:400}.original-price s{text-decoration:line-through}.current-price{font-weight:700}

/* Native product title control. */
.product-title-action{appearance:none;border:0;background:transparent;color:inherit;font:inherit;font-weight:inherit;line-height:inherit;text-align:inherit;padding:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;cursor:pointer;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.18em}
.product-title-action:hover:not(:disabled){text-decoration-thickness:2px}
.product-title-action:focus-visible{outline:3px solid currentColor;outline-offset:4px;border-radius:2px}
.product-title-action:disabled{cursor:default;text-decoration:none;opacity:1}

/* Separate estimates remain readable on narrow screens. */
.promotion-estimate-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}
.promotion-estimate{display:flex;flex-direction:column;gap:8px;padding:12px;background:#fff;border:1px solid #c9d8d1;border-radius:10px}
.promotion-estimate strong{font-size:1.25rem;color:#176b57;overflow-wrap:anywhere}

.media-picker-upload{border:2px solid var(--primary,#176b55);border-radius:12px;padding:16px;margin:12px 0}.media-picker-upload h3{margin-top:0}.media-size-guide{line-height:1.6}


/* Darongshu appearance v1. */
.public-home-page {
  --home-bg:#f7f6ef;
  --home-surface:#fffefa;
  --home-ink:#172e26;
  --home-green:#205340;
  --home-border:#dedfd4;
  background:var(--home-bg);
  color:var(--home-ink);
}
.public-home-page .public-home-header,
.public-home-page .public-home-main {max-inline-size:1288px;padding-inline:44px}
.public-home-page .public-home-header {min-block-size:78px;padding-block:10px;border:0;gap:20px}
.public-home-page .home-brand-link {display:flex;align-items:center;min-block-size:44px;flex:none}
.public-home-page .home-brand-link img {inline-size:142px;block-size:auto}
.public-home-page .home-header-nav,.public-home-page .home-header-actions {display:flex;align-items:center;gap:20px;min-inline-size:0}
.public-home-page .home-header-nav a {display:inline-flex;align-items:center;min-block-size:44px;font-weight:650;text-decoration:none}
.public-home-page .home-header-nav a:hover {text-decoration:underline;text-underline-offset:4px}
.public-home-page .home-header-actions .campaign-apply {min-block-size:44px;font-size:14px;padding:8px 13px}
.public-home-page .home-hero {position:relative;isolation:isolate;overflow:hidden;min-block-size:464px;display:flex;align-items:center;border-radius:17px;color:#fffaf0;background:#173326}
.public-home-page .home-hero::before {content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#122b21 0%,#142d22ed 22%,#122b21ae 50%,#1d2d1d17 100%)}
.public-home-page .home-hero-content {max-inline-size:700px;padding:58px 6% 62px;min-inline-size:0}
.public-home-page .home-hero-label {color:#f2d9a8;font-size:14px;font-weight:650;display:flex;align-items:center;gap:12px}
.public-home-page .home-hero-label::before {content:"";inline-size:27px;block-size:1px;background:#dfc08a;flex:none}
.public-home-page .home-hero :is(h1,h2) {font-family:"Noto Serif CJK SC","Songti SC",SimSun,Georgia,serif;font-size:clamp(36px,4.6vw,62px);font-weight:750;line-height:1.29;margin:14px 0 15px;max-inline-size:14em;text-wrap:balance;overflow-wrap:anywhere}
.public-home-page .home-hero :is(h1,h2) .i18n-label {white-space:pre-line}
.public-home-page .home-hero-copy {color:#f2efe4;font-size:16px;line-height:1.72;max-inline-size:36em;margin:0}
.public-home-page .home-hero-actions {margin-block-start:24px;display:flex;align-items:center;flex-wrap:wrap;gap:12px;color:#f4e8d4;font-size:13px}
.public-home-page .home-hero-action {display:inline-flex;align-items:center;gap:15px;min-block-size:48px;padding:9px 18px;background:#f5e8cb;color:#193a2d;font-weight:750;font-size:15px;text-decoration:none;border-radius:8px}
.public-home-page .home-hero-action::after {content:"→";font-size:18px}
.public-home-page .home-hero-action:hover {background:#fff3dc}
[dir=rtl] .public-home-page .home-hero::before {transform:scaleX(-1)}
[dir=rtl] .public-home-page .home-hero-action::after {content:"←"}
.public-home-page .public-home-roles {gap:13px;padding:16px 0 27px}
.public-home-page .public-home-card {color:var(--home-ink);background:var(--home-surface);border:1px solid var(--home-border);border-radius:12px}
.public-home-page .public-home-card.public-home-consumer {background:#e8eee2;border-color:#dce5d7}
.public-home-page .public-home-entry {grid-template-columns:44px minmax(0,1fr) auto;gap:12px;min-block-size:83px;padding:14px 16px;border-radius:12px}
.public-home-page .public-home-entry h2 {font-size:17px}
.public-home-page .public-home-entry::after {border-radius:12px}
.public-home-page .public-home-entry:hover::after {background:#2053400d}
.public-home-page .public-home-entry > .icon {color:var(--home-green)}
[dir=rtl] .public-home-page .public-home-entry > .icon {transform:scaleX(-1)}
.public-home-page .home-entry-icon {display:grid;place-items:center;inline-size:42px;block-size:42px;border-radius:50%;background:#dce8da;color:var(--home-green)}
.public-home-page .home-entry-detail {display:block;margin-block-start:3px;color:#54655b;font-size:12px}
.public-home-page .public-home-apply {align-self:flex-start;color:var(--home-green);margin:0 8px 4px;min-block-size:44px;text-decoration:underline}
.public-home-page .public-home-apply:hover {background:#e8eee2}
.public-home-page .merchant-campaign {background:#ece8d8;border-color:#e2dac3;border-radius:14px;gap:12px 25px}
.public-home-page .campaign-label {color:#6f5425;font-size:13px}
.public-home-page .campaign-title {font-family:"Noto Serif CJK SC","Songti SC",SimSun,Georgia,serif;color:var(--home-ink);font-size:clamp(24px,3vw,35px);letter-spacing:normal}
.public-home-page .campaign-terms {padding-block-start:12px;border-color:#d8d3c1}
.public-home-page .home-brand-intro {border:none;background:none;margin-block-start:0;padding-block:45px;border-radius:0}
.public-home-page .campaign-apply,.public-home-page .public-home-store-link {background:var(--home-green)}
.public-home-page .home-directory-head {padding:34px;border:1px solid #dce4d6;border-radius:15px;background:#e6ecde}
.public-home-page .home-directory-head h1 {font-family:"Noto Serif CJK SC","Songti SC",SimSun,Georgia,serif;font-size:clamp(27px,4vw,44px);overflow-wrap:anywhere}
.public-home-page .home-directory-search {max-inline-size:555px;margin-block-start:15px}
.public-home-page .home-directory-search input {box-sizing:border-box;width:100%;min-block-size:44px;padding:9px 13px;border:1px solid #a7b8aa;border-radius:8px;background:var(--home-surface);color:var(--home-ink);font:inherit}
.public-home-page .home-directory-search input:focus-visible {outline:3px solid #a67636;outline-offset:3px}
.public-home-page .public-home-directory-status {min-block-size:1.8em}
.public-home-page .public-home-store-card {position:relative;display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;padding:18px;gap:12px;background:var(--home-surface)}
.public-home-page .public-home-store-card h2 {font-size:18px}
.public-home-page .public-home-store-card:focus-within,.public-home-page .public-home-store-card:hover {border-color:#84a089}
.public-home-page .public-home-store-link {grid-column:2;justify-self:start;background:none;color:var(--home-green);padding:0;text-decoration:underline;text-underline-offset:4px}
.public-home-page .public-home-store-link::after {content:"";position:absolute;inset:0;border-radius:12px}
.public-home-page .public-home-store-link:focus-visible::after {outline:3px solid #a67636;outline-offset:3px}
@media (max-width:1000px) {
  .public-home-page .public-home-header,.public-home-page .public-home-main {padding-inline:26px}
  .public-home-page .home-header-nav,.public-home-page .home-header-actions {gap:12px}
}
@media (max-width:760px) {
  .public-home-page .public-home-header,.public-home-page .public-home-main {padding-inline:16px}
  .public-home-page .public-home-header {min-block-size:66px;padding-block:6px;gap:9px}
  .public-home-page .home-brand-link img {inline-size:115px}
  .public-home-page .home-header-nav,.public-home-page .home-header-actions .campaign-apply {display:none}
  .public-home-page .home-hero {min-block-size:426px;align-items:end}
  .public-home-page .home-hero::before {background:linear-gradient(0deg,#102d22 3%,#10291ff0 39%,#1b332741 88%)}
  [dir=rtl] .public-home-page .home-hero::before {transform:none}
  .public-home-page .home-hero-content {padding:44px 21px 31px}
  .public-home-page .home-hero :is(h1,h2) {font-size:clamp(31px,8vw,41px)}
  .public-home-page .home-hero-copy {font-size:14px}
  .public-home-page .public-home-roles {gap:9px;padding:12px 0 20px}
  .public-home-page .public-home-entry {min-block-size:72px;padding:10px 12px;gap:9px}
  .public-home-page .public-home-entry h2 {font-size:16px}
  .public-home-page .home-brand-intro {padding:30px 4px;margin:0}
  .public-home-page .home-directory-head {padding:20px}
  .public-home-page .public-home-store-card {padding:13px}
}

.shell.merchant-design {
  --green-dark:#173b2f;
  --line:#dce3d9;
  --surface:#fffefa;
  background:#f4f6f1;
}
.merchant-design .sidebar {color:#eff4e9}
.merchant-design .sidebar .nav-btn {min-block-size:44px}
.merchant-design .sidebar .nav-btn.active {background:#2f5747;color:#fffefa}
.merchant-design .sidebar .nav-num {display:none}
.merchant-design .sidebar .nav-btn .i18n-label {white-space:normal}
.merchant-design .topbar {background:#fffefa}
.merchant-design .merchant-design-overview .page-head {margin-block-end:18px}
.merchant-design .merchant-design-overview .page-head .eyebrow {display:none}
.merchant-design .merchant-design-overview .page-head h1 {font-size:clamp(26px,3.2vw,42px)}
.merchant-design .merchant-design-overview :is(.panel,.stat-card) {background:#fffefa}
.merchant-design .merchant-design-overview .stat-value {font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.merchant-design .merchant-design-overview .stat-card {min-block-size:116px;padding:15px}
.merchant-design .merchant-design-actions {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:11px;margin-block-end:16px;padding:13px 16px;border:1px solid #d9e4d7;border-radius:10px;background:#e8efe4}
.merchant-design .merchant-design-actions h2 {margin:0;font-size:15px}
.merchant-design .merchant-design-actions > div {display:flex;flex-wrap:wrap;gap:8px}
.merchant-design .merchant-design-actions .btn {min-block-size:41px}
.merchant-design .merchant-design-order-grid {align-items:start;margin-block-start:18px}
.merchant-design .merchant-design-order-grid > .panel {min-inline-size:0}
.merchant-design .merchant-design-order-grid .panel-head {align-items:center;gap:8px}
.merchant-design .merchant-design-order-grid .panel-head > .btn {flex-shrink:0}
.merchant-design .merchant-design-order-grid .mini-summary {gap:10px;overflow-wrap:anywhere}
.merchant-design .merchant-design-order-grid .mini-summary > strong {text-align:end}
.merchant-design .merchant-design-overview > .panel + .alert {margin-block-start:17px}
@media (max-width:1100px) {
  .merchant-design .merchant-design-overview .stat-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  .merchant-design .merchant-design-order-grid {grid-template-columns:minmax(0,1fr)}
}
@media (max-width:680px) {
  .merchant-design .merchant-design-overview .stat-grid {gap:8px}
  .merchant-design .merchant-design-overview .stat-card {padding:9px;min-block-size:99px}
  .merchant-design .merchant-design-overview .stat-value {font-size:22px}
  .merchant-design .merchant-design-order-grid .panel-head {flex-wrap:wrap}
}

.customer-order-timer{display:block;color:var(--green);font-size:11px;font-variant-numeric:tabular-nums}
.customer-order-detail-timer{margin:0;padding:8px 12px;border-radius:8px;background:var(--paper);color:var(--green-dark);font-size:13px;font-variant-numeric:tabular-nums}
.customer-order-detail [hidden]{display:none!important}


.merchant-recent-orders {margin-block-start:18px;min-inline-size:0}
.merchant-recent-orders .panel > .table-wrap {max-block-size:none}
.merchant-recent-orders .cell-title,.merchant-recent-orders .cell-sub {white-space:normal;overflow-wrap:anywhere}
@media (min-width:761px){
 .merchant-recent-orders .products-table {min-width:750px}
 .merchant-recent-orders .products-table :is(th,td):last-child {width:auto;min-width:0}
 .merchant-recent-orders .products-table .row-actions {width:auto;flex-wrap:wrap}
}

.public-home-page .home-hero-images,
.public-home-page .home-hero-image {
  position:absolute;
  inset:0;
  inline-size:100%;
  block-size:100%;
}
.public-home-page .home-hero-images {z-index:-2;pointer-events:none}
.public-home-page .home-hero-image {
  object-fit:cover;
  object-position:54% 55%;
  opacity:0;
  transition:opacity .45s ease;
}
.public-home-page .home-hero-image.is-current {opacity:1}
.public-home-page .home-hero-deck {display:grid;min-inline-size:0;inline-size:100%}
.public-home-page .home-hero-slide {grid-area:1 / 1;visibility:hidden}
.public-home-page .home-hero-slide.is-current {visibility:visible}
.public-home-page .home-hero-controls {
  position:absolute;
  inset-inline-end:18px;
  inset-block-end:16px;
  display:flex;
  align-items:center;
  border:1px solid #fffaf069;
  border-radius:999px;
  background:#10291fe8;
  color:#fffaf0;
}
.public-home-page .home-hero-controls button {
  display:grid;
  place-items:center;
  inline-size:44px;
  block-size:44px;
  padding:0;
  border:0;
  border-radius:50%;
  background:transparent;
  color:inherit;
  cursor:pointer;
}
.public-home-page .home-hero-controls button:hover {background:#ffffff24}
.public-home-page .home-hero-controls button:focus-visible {outline:2px solid #ffe1a3;outline-offset:-3px}
.public-home-page .home-hero-controls .icon {inline-size:19px;block-size:19px}
.public-home-page .home-hero-prev .icon,
[dir=rtl] .public-home-page .home-hero-next .icon {transform:scaleX(-1)}
[dir=rtl] .public-home-page .home-hero-prev .icon {transform:none}
.public-home-page .home-hero-points {display:flex;align-items:center;gap:6px}
.public-home-page .home-hero-points span {
  inline-size:6px;
  block-size:6px;
  background:#fffaf07f;
  border-radius:999px;
}
.public-home-page .home-hero-points .is-current {inline-size:15px;background:#ffe1a3}
.public-home-page .home-hero-rotation span {font-size:15px;line-height:1}
[dir=rtl] .public-home-page .home-hero-image {object-position:40% 55%}
@media (max-width:760px) {
  .public-home-page .home-hero-content {padding-block-end:81px}
  .public-home-page .home-hero-image,
  [dir=rtl] .public-home-page .home-hero-image {object-position:62% 52%}
  .public-home-page .home-hero-controls {inset-inline-end:14px;inset-block-end:13px}
}
@media (prefers-reduced-motion:reduce) {
  .public-home-page .home-hero-image {transition:none}
}

.affiliate-hub-links{display:grid;grid-template-columns:minmax(0,1fr);gap:5px 10px;margin:0;padding:0;list-style:none}
.affiliate-hub-links li{min-width:0}
.affiliate-hub-links .affiliate-hub-row{
 display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-block-size:38px;
 margin:0;padding:6px 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface,#fffdfa);
 color:var(--ink);font:inherit;font-weight:600;line-height:1.35;text-align:start;text-decoration:none;overflow-wrap:anywhere;
}
.affiliate-hub-links :is(button,a).affiliate-hub-row{cursor:pointer}
.affiliate-hub-links :is(button,a).affiliate-hub-row::after{
 content:'';flex:none;inline-size:6px;block-size:6px;border-top:1.5px solid var(--green);border-right:1.5px solid var(--green);
 transform:rotate(45deg);margin-inline-end:3px;
}
.affiliate-hub-links :is(button,a).affiliate-hub-row:dir(rtl)::after{transform:rotate(-135deg)}
.affiliate-hub-links :is(button,a).affiliate-hub-row:hover{background:var(--paper);border-color:var(--green)}
.affiliate-hub-links :is(button,a).affiliate-hub-row:focus-visible{outline:2px solid var(--green);outline-offset:1px}
.affiliate-hub-links .affiliate-hub-row-disabled{font-weight:500}
.affiliate-hub-row-disabled .muted{font-size:.82em;text-align:end}
@media(min-width:1080px){
 .affiliate-hub-links{grid-template-columns:repeat(2,minmax(0,1fr))}
 .affiliate-hub-links li:last-child:nth-child(odd){grid-column:1/-1}
}
@media(max-width:650px),(pointer:coarse){.affiliate-hub-links .affiliate-hub-row{min-block-size:44px}}
/* Compact image library and product image picker. Full previews use separate classes. */
.media-filters .media-category-select{flex:0 1 175px;max-inline-size:100%}
.media-grid.media-library-grid{
 display:grid;
 grid-template-columns:repeat(auto-fill,minmax(min(100%,218px),1fr));
 gap:10px;
}
.media-library-grid>.media-card{
 display:grid;
 grid-template-columns:68px minmax(0,1fr);
 align-items:start;
 gap:9px;
 padding:9px;
 min-width:0;
}
.media-library-grid>.media-card>.media-preview{
 width:68px;
 height:68px;
 min-height:0;
 aspect-ratio:1;
 border-radius:6px;
}
.media-library-grid>.media-card>.media-preview>img{
 width:100%;
 height:100%;
 object-fit:contain;
}
.media-library-grid .media-card-copy{min-width:0;padding:0;gap:5px}
.media-library-grid .media-card-copy>strong{
 overflow:hidden;
 text-overflow:ellipsis;
 white-space:nowrap;
 font-size:12px;
}
.media-library-grid .media-card-copy>.small{overflow-wrap:anywhere}
.media-library-grid .media-card-meta{gap:3px;min-width:0}
.media-library-grid .media-card-meta>*{max-width:100%;overflow-wrap:anywhere}
.media-library-grid .media-card-actions{gap:4px}
.media-library-grid>.media-card>.media-card-actions{grid-column:1/-1}
.media-library-grid>.media-card .media-card-actions button{
 min-height:29px;
 padding:5px 7px;
 font-size:11px;
}
.media-library-grid>.empty{grid-column:1/-1}
@media(max-width:580px){
 .media-grid.media-library-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .media-library-grid>.media-card{grid-template-columns:minmax(0,1fr);gap:7px;padding:8px}
 .media-library-grid>.media-card>.media-preview{width:64px;height:64px}
}
/* File chooser and compact previews for the merchant image upload. */
.media-drop{position:relative}
.media-drop .media-file-input{
 position:absolute;
 inline-size:1px;
 block-size:1px;
 overflow:hidden;
 opacity:0;
 clip-path:inset(50%);
}
.media-drop .media-file-button{
 justify-self:center;
 justify-content:center;
 inline-size:min(100%,224px);
 min-block-size:48px;
 padding:10px 18px;
 font-size:15px;
 font-weight:700;
 color:#285a3a;
 border:1px solid #8bae80;
 background:#eaf4e5;
}
.media-drop .media-file-button:hover:not(:disabled){background:#dcefd8}
.media-drop .media-file-button:focus-visible{outline:2px solid #376d4a;outline-offset:2px}
.media-upload-queue{
 list-style:none;
 display:grid;
 grid-template-columns:repeat(auto-fill,minmax(min(100%,200px),1fr));
 gap:8px;
 margin:0;
 padding:0;
 max-block-size:280px;
 overflow:auto;
}
.media-upload-queue:empty{display:none}
.media-upload-queue>li{
 display:grid;
 grid-template-columns:48px minmax(0,1fr);
 align-items:center;
 gap:8px;
 min-inline-size:0;
 padding:7px;
 border:1px solid var(--line);
 border-radius:8px;
}
.media-upload-thumb{
 display:grid;
 place-items:center;
 inline-size:48px;
 block-size:48px;
 border-radius:5px;
 background:#f0f5eb;
 overflow:hidden;
}
.media-upload-thumb img{inline-size:100%;block-size:100%;object-fit:contain}
.media-upload-queue-copy{display:grid;gap:3px;min-inline-size:0}
.media-upload-queue-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
.media-upload-result{overflow-wrap:anywhere}
.media-upload-queue>[data-upload-state="saved"] .media-upload-result{color:#28603b}
.media-upload-queue>li:is([data-upload-state="invalid"],[data-upload-state="failed"],[data-upload-state="unknown"],[data-upload-state="archived"]) .media-upload-result{color:#8d3d1f}

/* Remove one file from the local upload selection. */
.media-upload-queue>li{grid-template-columns:48px minmax(0,1fr) auto}
.media-upload-queue .media-upload-remove{
 min-inline-size:44px;
 min-block-size:36px;
 max-inline-size:94px;
 justify-content:center;
 margin:0;
 padding:5px 7px;
 border:1px solid #d8b6b2;
 background:#fdf5f4;
 color:#8d362d;
 white-space:normal;
 overflow-wrap:anywhere;
 font-size:11px;
}
.media-upload-queue .media-upload-remove:hover:not(:disabled){background:#f7e6e3}
.media-upload-queue .media-upload-remove:focus-visible{outline:2px solid #8d362d;outline-offset:2px}
/* Merchant referral settings and review. Scoped to the operations panel. */
.attribution-ops>.attribution-heading{padding:14px 16px}
.attribution-ops .attribution-heading h2{margin:0;font-size:16px;line-height:1.45}
.attribution-ops .attribution-groups{display:grid;gap:8px;padding:12px 16px 16px}
.attribution-ops .attribution-group{
 min-inline-size:0;
 border:1px solid var(--line);
 border-radius:8px;
 background:#fff;
}
.attribution-ops .attribution-group>summary,
.attribution-ops .attribution-help>summary{
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:10px;
 list-style:none;
 cursor:pointer;
}
.attribution-ops summary::-webkit-details-marker{display:none}
.attribution-ops .attribution-group>summary{
 min-block-size:42px;
 padding:8px 12px;
 border-radius:7px;
 background:#f7faf5;
 color:var(--ink);
}
.attribution-ops .attribution-group>summary:hover{background:#eef5eb}
.attribution-ops summary:focus-visible{outline:2px solid var(--green,#398052);outline-offset:-2px}
.attribution-ops .attribution-group>summary::after,
.attribution-ops .attribution-help>summary::after{
 content:'';
 flex:0 0 6px;
 inline-size:6px;
 block-size:6px;
 margin-inline-end:4px;
 border-inline-end:1.5px solid #527659;
 border-block-end:1.5px solid #527659;
 transform:rotate(45deg);
}
.attribution-ops details[open]>summary::after{transform:rotate(225deg)}
.attribution-ops .attribution-group-title{font-size:13px;font-weight:700;line-height:1.45}
.attribution-ops .attribution-group-body{
 display:grid;
 gap:9px;
 padding:11px 12px 12px;
 border-block-start:1px solid var(--line);
 font-size:12px;
 line-height:1.55;
}
.attribution-ops .attribution-settings{display:grid;gap:9px}
.attribution-ops .attribution-rule-start{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px}
.attribution-ops .attribution-note{margin:0;color:#58695b;font-size:12px;line-height:1.6}
.attribution-ops .attribution-help{padding:0 9px;border:1px solid #e7eee4;border-radius:6px}
.attribution-ops .attribution-help>summary{min-block-size:32px;color:#2f6240;font-weight:600}
.attribution-ops .attribution-help[open]{padding-block-end:9px}
.attribution-ops .attribution-help[open]>:not(summary){margin-block-start:8px}
.attribution-ops .attribution-fields{
 display:grid;
 grid-template-columns:repeat(auto-fit,minmax(min(100%,185px),1fr));
 gap:8px 12px;
}
.attribution-ops .attribution-field{display:grid;align-content:start;gap:4px;min-inline-size:0;font-size:12px}
.attribution-ops .attribution-field>span{font-weight:600;line-height:1.45}
.attribution-ops .attribution-field>:is(input,select){
 inline-size:100%;min-inline-size:0;min-block-size:34px;
 padding:5px 7px;
 border:1px solid var(--line);
 border-radius:6px;
 background:#fff;
 color:var(--ink);
 font:inherit;
}
.attribution-ops .attribution-field>:is(input,select):disabled{background:#f4f6f2;color:#59685a}
.attribution-ops .attribution-check{display:flex;align-items:flex-start;gap:7px;font-size:12px;line-height:1.5}
.attribution-ops .attribution-check>input{flex:none;inline-size:16px;block-size:16px;margin:1px 0 0;accent-color:#34784f}
.attribution-ops .attribution-actions{display:flex;align-items:center;flex-wrap:wrap;gap:7px}
.attribution-ops .attribution-actions:not(:has(>.btn:not(.hidden))){display:none}
.attribution-ops .btn{min-block-size:32px;margin:0;padding:5px 9px;font-size:12px;white-space:normal}
.attribution-ops .attribution-feedback-slot:empty,
.attribution-ops .attribution-feedback-slot:not(:has(.attribution-feedback:not(.hidden))),
.attribution-ops [data-operation-rows]:empty{display:none}
.attribution-ops .attribution-feedback{
 display:flex;align-items:center;flex-wrap:wrap;gap:7px;
 padding:6px 9px;border-radius:6px;background:#eef5eb;
}
.attribution-ops .attribution-feedback [role=status]{margin:0;font-size:12px}
.attribution-ops .attribution-review-row{
 display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:7px;
 padding:5px 0;border-block-end:1px solid var(--line);
}
.attribution-ops [data-operation-rows=receipts] p{margin:0;padding:5px 0;border-block-end:1px solid var(--line);overflow-wrap:anywhere}
[data-anonymous-reviews=true]{
 display:grid;
 grid-template-columns:repeat(2,minmax(0,1fr));
 gap:8px 10px;
 padding:14px 16px 16px;
 font-size:12px;
 line-height:1.55;
}
[data-anonymous-reviews=true]>:is(h2,p){grid-column:1/-1;margin:0}
[data-anonymous-reviews=true]>h2{font-size:16px;line-height:1.45}
[data-anonymous-reviews=true]>p{color:#58695b}
[data-anonymous-reviews=true]>section{
 display:flex;align-content:flex-start;align-items:center;flex-wrap:wrap;gap:6px;
 min-inline-size:0;padding:8px 10px;border:1px solid var(--line);border-radius:7px;
}
[data-anonymous-reviews=true]>section>h3{flex:0 0 100%;margin:0;font-size:13px}
[data-anonymous-reviews=true]>section>:is(p,div){flex:0 0 100%;margin:0}
[data-anonymous-reviews=true]>section>:is(p,div):empty,
[data-anonymous-reviews=true]>section>button:not(:first-of-type):disabled{display:none}
[data-anonymous-reviews=true]>section>button{
 min-block-size:32px;margin:0;padding:5px 9px;font-size:12px;white-space:normal;
}
[data-anonymous-reviews=true]>section>div>p{margin:0;padding:4px 0;border-block-end:1px solid var(--line)}
@media(max-width:600px){
 .attribution-ops{margin-block-end:48px}
 .attribution-ops>.attribution-heading{padding:11px 12px}
 .attribution-ops .attribution-groups{padding:9px 10px 11px}
 .attribution-ops .attribution-group-body{padding:9px}
 .attribution-ops .attribution-group>summary{min-block-size:44px}
 .attribution-ops .attribution-help>summary,.attribution-ops .btn{min-block-size:38px}
 [data-anonymous-reviews=true]{grid-template-columns:minmax(0,1fr);padding:11px 12px}
 [data-anonymous-reviews=true]>section>button{min-block-size:38px}
}

.public-home-page .home-hero #home-hero-title:lang(zh) {
  font-size:clamp(34px,4.6vw,49px);
}
@media (max-width:760px) {
  .public-home-page .home-hero #home-hero-title:lang(zh) {
    font-size:clamp(20px,calc((100vw - 78px) / 11),41px);
  }
}

.public-home-page .home-hero :is(h1,h2):not(:lang(zh)) {
  max-inline-size:min(100%,36rem);
  font-family:Georgia,"Noto Serif CJK SC",serif;
  font-size:clamp(27px,2.7vw,34px);
  font-weight:700;
  letter-spacing:normal;
  line-height:1.3;
}
.public-home-page .home-hero :is(h1,h2):is(:lang(ta),:lang(bn),:lang(ne)) {
  font-family:"Noto Sans Tamil","Noto Sans Bengali","Noto Sans Devanagari","Nirmala UI",sans-serif;
  line-height:1.4;
}
.public-home-page .home-hero :is(h1,h2):lang(ar) {
  font-family:"Noto Sans Arabic",Tahoma,Arial,sans-serif;
}
@media (max-width:760px) {
  .public-home-page .home-hero :is(h1,h2):not(:lang(zh)) {
    font-size:clamp(21px,5.8vw,27px);
  }
  .public-home-page .home-hero :is(h1,h2):lang(ta) {
    font-size:clamp(18px,5.15vw,24px);
  }
}

/* Platform merchant management */
.main:has(.platform-merchant-list) {
  box-sizing: border-box;
  width: 100%;
}

.platform-merchant-list {
  container: platform-merchant-list / inline-size;
  display: grid;
  gap: 12px;
  min-inline-size: 0;
}

.platform-merchant-search {
  box-sizing: border-box;
  width: min(100%, 24rem);
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.platform-merchant-search:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 1px;
}

.platform-merchant-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  color: var(--muted);
}

.platform-merchant-table {
  table-layout: fixed;
  inline-size: 100%;
  text-align: start;
  white-space: normal;
}

.platform-merchant-table th,
.platform-merchant-table td {
  padding: 12px 10px;
  text-align: start;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.platform-merchant-table th[data-column="tenant"] { width: 6%; }
.platform-merchant-table th[data-column="currency"] { width: 7%; }
.platform-merchant-table th[data-column="status"] { width: 8%; }
.platform-merchant-table th[data-column="directory"] { width: 11%; }
.platform-merchant-table th[data-column="receiving"] { width: 16%; }
.platform-merchant-table th[data-column="payment"] { width: 14%; }
.platform-merchant-table th[data-column="actions"] { width: 23%; }

.platform-merchant-table .platform-merchant-field { display: none; }

.platform-merchant-table .row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.platform-merchant-table .btn,
.platform-merchant-table .badge {
  box-sizing: border-box;
  min-inline-size: 0;
  max-inline-size: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

.platform-merchant-table .btn svg { flex-shrink: 0; }

.platform-merchant-table :is([data-column="directory"], [data-column="receiving"]) .btn {
  margin-block: 4px 0;
  margin-inline-end: 4px;
}

@container platform-merchant-list (max-width: 1080px) {
  .platform-merchant-table,
  .platform-merchant-table tbody { display: block; }

  .platform-merchant-table thead {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .platform-merchant-table tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
    padding: 16px;
    border-block-end: 1px solid var(--line);
  }

  .platform-merchant-table tbody tr:last-child { border-block-end: 0; }

  .platform-merchant-table td {
    display: block;
    min-inline-size: 0;
    padding: 0;
    border: 0;
  }

  .platform-merchant-table td:is([data-column="name"], [data-column="actions"], [colspan]) {
    grid-column: 1 / -1;
  }

  .platform-merchant-table .platform-merchant-field {
    display: block;
    margin-block-end: 4px;
    color: var(--muted);
    font-size: 0.85em;
  }

  .platform-merchant-table td[data-column="name"] strong { font-size: 1.16em; }
  .platform-merchant-table .btn { min-block-size: 36px; }
}

/* Merchant workspace order record list */
.merchant-order-inbox { min-inline-size: 0; }
.merchant-order-controls { display: grid; gap: 10px; padding: 10px 16px; border-block-end: 1px solid var(--line); }
.merchant-order-filters { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.merchant-order-filters .tab { min-height: 36px; margin: 0; padding: 6px 3px; }
.merchant-inbox-search { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; }
.merchant-inbox-search input {
 width: min(100%, 320px); min-height: 34px; padding: 6px 10px;
 border: 1px solid var(--line); border-radius: 6px; font: inherit; background: #fff; color: var(--ink);
}
.merchant-inbox-search input:focus-visible { outline: 2px solid var(--green); outline-offset: 1px; }
.merchant-inbox-list { display: block; margin: 0; padding: 0; list-style: none; }
.merchant-inbox-header, .merchant-inbox-item {
 display: grid; grid-template-columns: minmax(0,1fr) 120px;
}
.merchant-inbox-header { color: var(--muted); background: var(--paper); font-size: 12px; }
.merchant-inbox-grid {
 display: grid; grid-template-columns: minmax(64px,.65fr) minmax(0,3.4fr) minmax(90px,1fr) minmax(92px,1fr) minmax(96px,1fr);
 gap: 10px; align-items: center; min-width: 0; padding: 7px 16px;
}
.merchant-inbox-item { border-block-start: 1px solid var(--line); }
.merchant-inbox-item:hover, .merchant-inbox-item:focus-within { background: #f3f8f5; }
.merchant-inbox-row {
 min-height: 43px; width: 100%; border: 0; background: transparent; color: inherit;
 text-align: start; font: inherit; cursor: pointer;
}
.merchant-inbox-row:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; }
.merchant-inbox-id { font-weight: 650; }
.merchant-inbox-date { color: var(--muted); }
.merchant-inbox-product { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.merchant-inbox-amount, .merchant-inbox-date, .merchant-inbox-id { overflow-wrap: anywhere; }
.merchant-inbox-status .badge { max-width: 100%; white-space: normal; }
.merchant-inbox-action {
 display: flex; align-items: center; justify-content: end;
 min-width: 0; padding-inline-end: 12px; padding-block: 3px;
}
.merchant-inbox-action .btn { min-height: 30px; min-width: 0; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.merchant-order-pager { display: flex; flex-wrap: wrap; justify-content: end; gap: 8px; padding: 8px 12px; border-block-start: 1px solid var(--line); }
.merchant-order-pager[hidden] { display: none; }
.merchant-inbox-loading, .merchant-inbox-detail { padding: 12px 16px; }
.merchant-inbox-detail-actions { flex-wrap: wrap; gap: 8px; }
@media (max-width: 1120px) {
 .merchant-inbox-header, .merchant-inbox-item { grid-template-columns: minmax(0,1fr) 94px; }
 .merchant-inbox-grid { grid-template-columns: minmax(45px,.55fr) minmax(0,2fr) minmax(68px,.95fr) minmax(64px,.85fr) minmax(70px,.9fr); gap: 7px; }
}
@media (max-width: 760px) {
 .merchant-inbox-header { display: none; }
 .merchant-inbox-item { grid-template-columns: minmax(0,1fr) 76px; }
 .merchant-inbox-grid { grid-template-columns: minmax(64px,1fr) minmax(0,2.6fr) minmax(70px,1fr); gap: 3px 8px; padding: 7px 10px; }
 .merchant-inbox-product { grid-column: 2 / -1; }
 .merchant-inbox-id, .merchant-inbox-amount, .merchant-inbox-date {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
 }
 .merchant-inbox-amount, .merchant-inbox-date { font-size: .78em; }
 .merchant-inbox-status { grid-column: 2; }
 .merchant-inbox-date { text-align: end; }
 .merchant-inbox-action { padding-inline-end: 7px; }
 .merchant-inbox-action .btn.compact { padding-inline: 6px; font-size: 11px; }
 .merchant-order-controls { padding: 8px 10px; }
}

.platform-voucher-search { display:flex; flex-wrap:wrap; gap:8px; }
.platform-voucher-search input {
  min-height:40px; width:min(100%, 16rem); padding:8px 10px; color:var(--ink); background:#fff;
  border:1px solid var(--line); border-radius:7px; font:inherit;
}
.platform-issued-vouchers th[data-column="merchant"] { width:16%; }
.platform-issued-vouchers th[data-column="voucher"] { width:13%; }
.platform-issued-vouchers th[data-column="paid"] { width:13%; }
.platform-issued-vouchers th[data-column="units"] { width:17%; }
.platform-issued-vouchers th[data-column="suffix"] { width:11%; }
.platform-issued-vouchers th[data-column="actions"] { width:11%; }
.platform-voucher-secret { display:grid; justify-items:center; gap:12px; }
.platform-voucher-secret img { max-width:100%; image-rendering:pixelated; }
.platform-voucher-secret .code { min-width:0; max-width:100%; overflow-wrap:anywhere; }

/* Shared merchant dashboard entry for plans and billing. */
.merchant-design-overview .merchant-plan-banner {
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  inline-size: 100%;
  aspect-ratio: 5 / 1;
  margin-block-end: 18px;
  border-radius: 16px;
  overflow: hidden;
  background: #060d0f;
  color: #f4faf6;
}
.merchant-plan-banner .merchant-plan-banner-visual {
  position: absolute;
  inset: 0;
  display: block;
  inline-size: 100%;
  block-size: 100%;
  object-fit: fill;
}
.merchant-plan-banner video.merchant-plan-banner-visual { visibility: hidden; }
.merchant-plan-banner video.merchant-plan-banner-visual.is-playing { visibility: visible; }
.merchant-plan-banner .merchant-plan-banner-overlay {
  position: absolute;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.46fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(8px, 1.5cqi, 26px);
  padding: clamp(8px, 2cqi, 35px) clamp(11px, 3.7cqi, 59px);
  background: linear-gradient(180deg, rgba(5, 11, 12, .79), rgba(5, 11, 12, .38) 79%, transparent);
  text-shadow: 0 1px 6px #000;
  pointer-events: none;
}
.merchant-plan-banner .merchant-plan-banner-heading { min-inline-size: 0; overflow-wrap: anywhere; }
.merchant-plan-banner .merchant-plan-banner-heading p {
  margin: 0 0 .25em;
  color: #9ddbaf;
  font-size: clamp(10px, 1.3cqi, 21px);
  line-height: 1.22;
}
.merchant-plan-banner .merchant-plan-banner-heading h2 {
  margin: 0;
  color: #f0f8f2;
  font-size: clamp(12px, 2.75cqi, 44px);
  line-height: 1.12;
  font-weight: 750;
}
.merchant-plan-banner .merchant-plan-banner-counter {
  display: grid;
  justify-items: end;
  text-align: end;
  color: #81ffe8;
}
.merchant-plan-banner .merchant-plan-banner-counter[data-stage="0"] { color: #ffe090; }
.merchant-plan-banner .merchant-plan-banner-counter[data-stage="1"] { color: #ffbe63; }
.merchant-plan-banner .merchant-plan-banner-counter[data-stage="2"] { color: #58ff9a; }
.merchant-plan-banner .merchant-plan-banner-counter[data-stage="3"] { color: #afffcc; }
.merchant-plan-banner .merchant-plan-banner-counter bdi {
  font-size: clamp(20px, 5.45cqi, 87px);
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  line-height: .98;
  white-space: nowrap;
}
.merchant-plan-banner .merchant-plan-banner-counter span {
  color: #e0f1e7;
  margin-block-start: .35em;
  font-size: clamp(9px, 1.5cqi, 24px);
  line-height: 1.16;
  overflow-wrap: anywhere;
}
.merchant-plan-banner .merchant-plan-banner-action {
  position: absolute;
  inset-inline-end: clamp(8px, 2cqi, 28px);
  inset-block-end: clamp(8px, 2cqi, 28px);
  max-inline-size: calc(100% - 16px);
  min-block-size: 44px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  padding: 9px clamp(8px, 1.4cqi, 18px);
  color: #17392e;
  background: #f7e5b1;
  font-size: clamp(11px, 1.15cqi, 15px);
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 2px 12px #0005;
}
.merchant-plan-banner .merchant-plan-banner-action:hover { background: #fff1cb; }
.merchant-plan-banner .merchant-plan-banner-action:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

@container (max-width: 660px) {
  .merchant-plan-banner .merchant-plan-banner-overlay {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 6px;
    padding: 3px 0;
    padding-inline: 8px 34cqi;
  }
  .merchant-plan-banner .merchant-plan-banner-heading p {
    font-size: clamp(8px, 2.5cqi, 12px);
    margin-block-end: .15em;
  }
  .merchant-plan-banner .merchant-plan-banner-heading h2 {
    font-size: clamp(10px, 3.25cqi, 17px);
    line-height: 1.08;
  }
  .merchant-plan-banner .merchant-plan-banner-counter bdi {
    font-size: clamp(14px, 4.7cqi, 25px);
  }
  .merchant-plan-banner .merchant-plan-banner-counter span {
    font-size: clamp(8px, 2.3cqi, 12px);
  }
  .merchant-plan-banner .merchant-plan-banner-action {
    box-sizing: border-box;
    inset-inline-end: 6px;
    inset-block-end: 5px;
    max-inline-size: calc(34cqi - 12px);
    padding: 4px 6px;
    overflow-wrap: anywhere;
    font-size: clamp(9px, 2.6cqi, 13px);
  }
}

/* Keep storefront cover images independent of descriptions and purchase controls. */
.store .product-grid {
  align-items: start;
}
.store .product-grid > .product-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-inline-size: 0;
}
.store .product-card > .product-art-slot {
  background: #f3f4ed;
}
.store .product-card > .product-art-slot > .product-art {
  block-size: clamp(164px, 18vw, 228px);
  min-block-size: 0;
  inline-size: 100%;
  margin: 0;
}
.store .product-card > .product-art-slot .product-image {
  object-fit: contain;
  object-position: center;
}
.store .product-card .store-product-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-block-end: 8px;
}
.store .product-card .store-product-heading h3 {
  min-inline-size: 0;
  margin: 0;
  padding-block: 5px;
  overflow-wrap: anywhere;
}
.store .product-card .store-product-heading .btn {
  flex: none;
  max-inline-size: 54%;
  min-block-size: 38px;
  padding: 6px 9px;
  white-space: normal;
  text-align: center;
}
.store .product-card .store-product-heading .btn:focus-visible {
  outline: 2px solid var(--green-dark);
  outline-offset: 2px;
}
@media (max-width: 680px) {
  .store .product-card > .product-art-slot > .product-art {
    block-size: auto;
    aspect-ratio: 4 / 3;
    max-block-size: 224px;
  }
  .store .product-card .store-product-heading .btn {
    min-block-size: 44px;
  }
}

.store .product-grid > .product-card {
  --product-cover-height: 220px;
  --product-body-height: 496px;
  --product-preview-lines: 15;
  grid-template-rows: var(--product-cover-height) var(--product-body-height);
}
.store .product-card > .product-art-slot > .product-art {
  block-size: 100%;
  max-block-size: none;
  aspect-ratio: auto;
}
.store .product-card > .product-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-inline-size: 0;
  padding: 14px 16px;
}
.store .product-card .store-product-intro {
  flex: 1;
  min-block-size: 0;
  overflow: hidden;
}
.store .product-card .store-product-heading {
  align-items: center;
}
.store .product-card .product-title-action {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  white-space: normal;
  text-align: start;
}
.store .product-card .store-product-heading .btn {
  flex-shrink: 0;
  overflow-wrap: anywhere;
}
.store .product-card .store-product-excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--product-preview-lines);
  overflow: hidden;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 15px;
  line-height: 22px;
}
.store .product-card .variant-selector {
  min-inline-size: 0;
  margin-block: 0;
}
.store .product-card .variant-selector select {
  max-inline-size: 100%;
}
.store .product-card .store-product-footer {
  display: grid;
  gap: 8px;
  flex-shrink: 0;
}
.store .product-card .store-product-footer .product-meta {
  margin-block: 0;
}
.store .product-card .product-bottom {
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.store .product-card .product-bottom .btn {
  margin-inline-start: auto;
  max-inline-size: 100%;
}
.store .product-card .store-product-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.store .product-card .store-product-footer .btn {
  justify-content: center;
  min-block-size: 38px;
  padding: 6px 8px;
  white-space: normal;
  overflow-wrap: anywhere;
}
@media (max-width: 680px) {
  .store .product-grid > .product-card {
    --product-cover-height: clamp(164px, 54vw, 216px);
    --product-body-height: 398px;
    --product-preview-lines: 9;
  }
  .store .product-card > .product-body {
    padding-inline: 13px;
  }
  .store .product-card .store-product-excerpt {
    font-size: 14px;
    line-height: 20px;
  }
  .store .product-card .store-product-footer .btn {
    min-block-size: 44px;
  }
}

.store .product-card .product-art-action,
.store .product-card .product-excerpt-action {
  appearance: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.store .product-card .product-excerpt-action {
  display: block;
  inline-size: 100%;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: start;
}
.store .product-card :is(.product-art-action, .product-title-action, .product-excerpt-action):focus-visible {
  outline-offset: -3px;
}

/* Guest checkout uses one set of contact rows and a compact order summary. */
.content-checkout.guest-checkout-layout {
  gap: 14px;
}
.guest-checkout-layout > :is(.content-checkout-state, .form-error):empty {
  display: none;
}
.guest-checkout-layout [data-guest-contact] {
  display: grid;
  gap: 6px;
  min-inline-size: 0;
}
.guest-checkout-layout [data-guest-contact] h3 {
  margin: 0 0 4px;
  font-size: 16px;
}
.guest-contact-rows {
  display: grid;
}
.guest-contact-row {
  display: grid;
  grid-template-columns: minmax(124px, 1fr) minmax(0, 2fr);
  align-items: center;
  gap: 12px;
  min-block-size: 50px;
  border-block-end: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
}
.guest-contact-row input {
  inline-size: 100%;
  min-inline-size: 0;
  min-block-size: 42px;
  padding: 7px 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
}
.guest-contact-row:focus-within {
  border-block-end-color: var(--green);
}
.guest-contact-row input:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: -2px;
  border-radius: 4px;
}
.guest-checkout-layout .guest-contact-help,
.guest-checkout-layout .guest-contact-error {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
}
.guest-checkout-layout .guest-contact-help {
  color: var(--muted);
}
.guest-checkout-layout .guest-contact-error {
  color: var(--red);
}
.guest-contact-error:empty {
  display: none;
}
.guest-checkout-details {
  min-inline-size: 0;
  border-block: 1px solid var(--line);
}
.guest-checkout-details > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-block-size: 44px;
  padding-block: 8px;
  cursor: pointer;
  list-style: none;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 650;
}
.guest-checkout-details > summary::-webkit-details-marker {
  display: none;
}
.guest-checkout-details > summary::after {
  content: "";
  margin-inline-start: auto;
  inline-size: 7px;
  block-size: 7px;
  flex-shrink: 0;
  border-inline-end: 1.5px solid currentColor;
  border-block-end: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.guest-checkout-details[open] > summary::after {
  transform: rotate(225deg);
}
.guest-checkout-item {
  min-inline-size: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-weight: 400;
}
.guest-checkout-details-body {
  display: grid;
  gap: 10px;
  overflow-wrap: anywhere;
  padding: 4px 0 14px;
}
.guest-checkout-order {
  display: grid;
  gap: 10px;
  min-inline-size: 0;
}
.guest-checkout-order .content-checkout-commerce {
  margin: 0;
}
.guest-checkout-quantity .field {
  display: grid;
  grid-template-columns: minmax(0, max-content) minmax(68px, 96px);
  column-gap: 12px;
  align-items: center;
}
.guest-checkout-order [name="quantity"] {
  inline-size: 100%;
}
.guest-checkout-coupon {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 8px;
}
.guest-checkout-coupon .field {
  flex: 1 1 10rem;
  min-inline-size: 0;
}
.guest-checkout-order input {
  font-size: 16px;
}
.guest-checkout-order .checkout-price-summary {
  display: grid;
  gap: 4px;
  padding-block: 8px;
  border-block-start: 1px solid var(--line);
}
.guest-checkout-order .checkout-price-summary :is(h3, p) {
  margin: 0;
  font-size: 13px;
}
.guest-checkout-order .checkout-price-summary > strong {
  margin-block: 4px;
  color: var(--green-dark);
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}
.guest-checkout-layout > .legal-source-text {
  margin: 0;
}
@media (max-width: 520px) {
  .guest-contact-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding-block-start: 6px;
  }
  .guest-contact-row input {
    padding-inline: 0;
  }
}

/* Keep the consumer detail controls outside the scrolling product content. */
dialog[open]:has(> .consumer-product-actions) {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

dialog:has(> .consumer-product-actions) > :is(.modal-header, .consumer-product-actions) {
  flex: none;
}

dialog:has(> .consumer-product-actions) > .modal-body {
  min-block-size: 0;
  overflow: auto;
  overscroll-behavior: contain;
}

dialog:has(> .consumer-product-actions) > .modal-body:focus-visible {
  outline-offset: -3px;
}

.consumer-product-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 12px 25px;
  padding-block-end: max(12px, env(safe-area-inset-bottom));
  border-block-start: 1px solid var(--line);
  background: #fff;
}

.consumer-product-actions > .btn {
  min-block-size: 44px;
  white-space: normal;
  text-align: center;
}

@media (max-width: 600px) {
  .consumer-product-actions {
    padding-inline: 14px;
  }

  .consumer-product-actions > .primary {
    flex: 1 1 auto;
  }
}

/* The consumer directory uses the same storefront layout at every viewport. */
.public-home-page .browse-directory-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0;
  border-radius: 15px;
  aspect-ratio: 3.55;
  background: #253527;
}
.public-home-page .browse-directory-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
}
.public-home-page .browse-directory-banner::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgb(25 34 22 / 68%), rgb(25 34 22 / 42%) 34%, transparent 64%);
}
[dir="rtl"] .public-home-page .browse-directory-banner::after {
  transform: scaleX(-1);
}
.public-home-page .browse-directory-banner h1 {
  position: absolute;
  z-index: 1;
  inset-block-start: 50%;
  inset-inline-start: 5.25%;
  max-inline-size: 58%;
  margin: 0;
  transform: translateY(-50%);
  color: #fffdf6;
  font: 600 clamp(25px, 3.25vw, 47px)/1.4 "Noto Serif CJK SC", "Songti SC", SimSun, Georgia, serif;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 7px rgb(15 28 17 / 42%);
  overflow-wrap: anywhere;
}
.public-home-page .browse-directory-banner h1 > span { display: block; }
.public-home-page .browse-directory-banner h1:lang(ar) { letter-spacing: normal; }
.public-home-page .browse-directory-search { margin-block: 22px 16px; }
.public-home-page .public-home-store-card--browse {
  display: block;
  padding: 0;
  overflow: hidden;
}
.public-home-page .public-home-store-card--browse:focus-within {
  outline: 3px solid #a67636;
  outline-offset: 3px;
}
.public-home-page .public-home-store-cover {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  background: #e5ede1;
}
.public-home-page .public-home-store-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.public-home-page .public-home-store-card-copy { padding: 11px 18px 5px; }
@media (max-width:760px) {
  .public-home-page .public-home-directory:has(.browse-directory-banner) { padding-block-start: 15px; }
  .public-home-page .browse-directory-banner { aspect-ratio: 2.2; border-radius: 12px; }
  .public-home-page .browse-directory-banner img { object-position: 52% 56%; }
  .public-home-page .browse-directory-banner::after {
    background: linear-gradient(90deg, rgb(25 34 22 / 72%), rgb(25 34 22 / 43%) 36%, transparent 75%);
  }
  .public-home-page .browse-directory-banner h1 {
    inset-block-start: 13%;
    inset-inline-start: 6%;
    max-inline-size: 72%;
    font-size: clamp(16px, 5.3vw, 27px);
    letter-spacing: 0.035em;
    transform: none;
  }
  .public-home-page .browse-directory-banner h1:is(:lang(ta), :lang(bn), :lang(ne)) {
    max-inline-size: 88%;
    font-size: clamp(15px, 4.5vw, 24px);
    letter-spacing: normal;
  }
  .public-home-page .browse-directory-search { margin-block: 16px 12px; }
  .public-home-page .public-home-store-cover { aspect-ratio: 16 / 6; }
  .public-home-page .public-home-store-card-copy { padding-inline: 13px; }
}

/* Keep each English headline phrase on one line in the browse banner. */
.public-home-page .browse-directory-banner h1:lang(en) {
  max-inline-size: 82%;
  inline-size: max-content;
  font-size: clamp(18px, 2.8vw, 38px);
  letter-spacing: normal;
}
.public-home-page .browse-directory-banner h1:lang(en) > span {
  white-space: nowrap;
}
@media (max-width: 760px) {
  .public-home-page .browse-directory-banner h1:lang(en) {
    max-inline-size: 88%;
    font-size: clamp(14px, 4.35vw, 25px);
  }
}

/* Platform overview visit report. */
.traffic-dashboard{display:grid;gap:16px;min-width:0}
.traffic-dashboard .page-head,.traffic-dashboard .tabbar{margin-block-end:0}
.traffic-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}
.traffic-filter .field{min-width:min(100%,11rem);max-width:100%}
.traffic-filter .field select{width:100%;min-height:42px}
.traffic-filter .btn{min-height:42px}
.traffic-status{margin:0;min-height:1.4em}
.traffic-results{display:grid;gap:14px;min-width:0}
.traffic-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr));gap:12px}
.traffic-kpi,.traffic-panel{border:1px solid #e3e9e3;border-radius:10px;background:#fff;padding:16px;min-width:0}
.traffic-kpi-label{color:#47635b;font-size:.9rem}
.traffic-kpi strong{display:block;margin-top:5px;color:#173e33;font-size:1.9rem;font-variant-numeric:tabular-nums}
.traffic-panel h2{font-size:1.05rem;margin:0 0 14px;color:#173e33}
.traffic-trend,.traffic-breakdown{list-style:none;margin:0;padding:0}
.traffic-trend{display:grid;gap:7px;overflow-x:auto;padding-block-end:4px}
.traffic-day{display:grid;grid-template-rows:1.6em 86px 1.6em;text-align:center;font-size:.74rem}
.traffic-day-count{font-variant-numeric:tabular-nums}
.traffic-bar-space{position:relative}
.traffic-column{position:absolute;inset-inline:20%;inset-block-end:0;background:#6bad93;border-radius:4px 4px 0 0}
.traffic-day time{color:#47635b;border-top:1px solid #dce9df;white-space:nowrap}
.traffic-breakdowns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.traffic-breakdown{display:grid;gap:10px;max-height:24rem;overflow-y:auto}
.traffic-bar-label{display:flex;gap:8px;justify-content:space-between;align-items:baseline;overflow-wrap:anywhere;font-size:.9rem}
.traffic-bar-label strong{font-variant-numeric:tabular-nums;flex:none}
.traffic-meter{height:6px;overflow:hidden;border-radius:20px;background:#e9f1ec;margin-top:3px}
.traffic-meter span{display:block;height:100%;border-radius:inherit;background:#468671}
.traffic-store-select{font:inherit;color:#215c49;text-align:start;text-decoration:underline;text-underline-offset:3px;cursor:pointer;border:0;background:none;padding:4px 0 0}
.traffic-store-select[aria-pressed="true"]{font-weight:700}
@media(max-width:700px){.traffic-breakdowns{grid-template-columns:1fr}.traffic-panel,.traffic-kpi{padding:12px}}

.traffic-filter .field[hidden]{display:none}
.traffic-filter .field input[type=date]{width:100%;min-height:42px}
.traffic-trend--hourly{gap:4px}

.traffic-attribution{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:14px;align-items:start}
.traffic-share{min-width:0;background:#fff;border:1px solid #e3e9e3;border-radius:10px;padding:16px}
.traffic-share summary{color:#173e33;font-size:1.05rem;font-weight:700;cursor:pointer}
.traffic-share-form{display:grid;gap:10px;margin-block-start:12px}
.traffic-share-form p{margin:0}
.traffic-share-fields{display:grid;gap:10px}
.traffic-share-fields .btn{justify-self:start}
.traffic-share .field{min-width:0;margin:0}
.traffic-share .field input,.traffic-share .field select{width:100%;min-width:0;min-height:42px}
.traffic-share .field[hidden],.traffic-share-status:empty{display:none}
@media(max-width:700px){.traffic-attribution{grid-template-columns:1fr}.traffic-share{padding:12px}}
