: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-order-card{padding:20px;border-bottom:1px solid var(--line);min-width:0;display:grid;gap:16px}
.customer-order-card:last-child{border-bottom:0}
.customer-order-card .cell-title{font-size:17px;white-space:normal;max-width:none;overflow:visible}
.customer-order-card .cell-sub{font-size:14px;line-height:1.7;white-space:normal;overflow-wrap:anywhere}
.customer-order-card .content-provenance{font-size:12px;line-height:1.6}
.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-card .badge{display:inline-flex;max-width:100%;white-space:normal;overflow-wrap:anywhere;font-size:12px}
.customer-order-payment-note{background:#fff6e8;color:#775422;border:1px solid #f0dcc1;border-radius:8px;padding:12px;font-size:13px;line-height:1.7;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))}}
@media(max-width:480px){
 .customer-order-card{padding:16px;gap:14px}
 .customer-orders-list .table-toolbar{padding:16px;gap:10px}
 .customer-orders-list .table-toolbar input{flex-basis:100%;width:100%}
 .customer-order-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .customer-order-actions>.btn{width:100%;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,.public-home-page .public-home-footer{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-top:30px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.public-home-page .public-home-card{--public-card:#184f43;--public-soft:#bcd1bd;--public-gold:#eedba1;position:relative;background:var(--public-card);color:#fffdf3;border-radius:19px;padding:27px 27px 24px;overflow:hidden;display:flex;flex-direction:column;min-width:0;container-type:inline-size}
.public-home-page .public-home-merchant{--public-card:#2c536b;--public-soft:#c5d8df;--public-gold:#dfebdc}
.public-home-page .public-home-consumer{--public-card:#795526;--public-soft:#e2ceb1;--public-gold:#ffe0a0}
.public-home-page .public-home-card:after{content:"";position:absolute;width:300px;height:300px;right:-230px;bottom:150px;border-radius:50%;border:1px solid #ffffff14;box-shadow:0 0 0 35px #ffffff04;pointer-events:none}
.public-home-page .public-home-card-top{display:flex;justify-content:space-between;font-size:10px;letter-spacing:2.3px;color:var(--public-soft);margin-bottom:20px}
.public-home-page .public-home-logo-frame{position:relative;padding:14px;background:#fff8df;border-radius:10px;margin-bottom:18px;box-shadow:0 8px 22px #00000012}
.public-home-page .public-home-logo-frame img{width:100%;height:auto;display:block;aspect-ratio:3/1}
.public-home-page .public-home-heading-row{display:grid;grid-template-columns:minmax(0,1fr) fit-content(32%);gap:12px;align-items:start;margin:0 0 15px}
.public-home-page .public-home-heading-row h2{min-width:0;font-size:22px;font-size:clamp(20px,6.8cqi,30px);margin:0;line-height:1.5;letter-spacing:-.5px;font-weight:550;white-space:pre-line;overflow-wrap:normal}
.public-home-page .public-home-entry{display:inline-flex;align-items:center;justify-content:center;align-self:start;margin-top:5px;background:var(--public-gold);color:#193c32;border:0;border-radius:6px;padding:8px 10px;font-size:11px;font-weight:750;max-width:108px;min-height:44px;min-width:44px;line-height:1.5;text-align:center;text-decoration:none;overflow-wrap:normal}
.public-home-page .public-home-lead{color:var(--public-soft);font-size:13px;line-height:1.8;margin:0 0 25px;min-height:47px}
.public-home-page .public-home-features{list-style:none;padding:0;margin:0 0 30px}
.public-home-page .public-home-features li{display:grid;grid-template-columns:25px minmax(0,1fr);gap:10px;padding:15px 0;border-top:1px solid #ffffff22}
.public-home-page .public-home-num{font-size:10px;letter-spacing:1px;color:var(--public-gold);padding-top:4px}
.public-home-page .public-home-features h3{font-size:14px;margin:0 0 7px;font-weight:650}
.public-home-page .public-home-features p{font-size:12px;line-height:1.85;margin:0;color:var(--public-soft)}
.public-home-page .public-home-cta{margin-top:auto;border:1px solid #ffffff50;border-radius:8px;color:#fffdf3;background:#ffffff08;width:100%;padding:14px 15px;text-align:left;font-size:13px;display:flex;justify-content:space-between;gap:10px;align-items:center;min-height:49px;text-decoration:none}
.public-home-page .public-home-cta:hover{background:#ffffff18}
.public-home-page .public-home-cta span:last-child{font-size:20px;line-height: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-footer{padding-top:25px;padding-bottom:30px;display:flex;justify-content:space-between;gap:20px;color:#697465;font-size:11px;line-height:1.7}
.public-home-page .public-home-footer strong{color:#4d6454;font-weight:500;letter-spacing:2px}
.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,.public-home-page .public-home-footer{padding-left:24px;padding-right:24px}.public-home-page .public-home-roles{gap:14px}.public-home-page .public-home-card{padding:22px 19px}}
@media(max-width:760px){.public-home-page .public-home-header,.public-home-page .public-home-main,.public-home-page .public-home-footer{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;gap:20px}.public-home-page .public-home-card{padding:25px}.public-home-page .public-home-logo-frame{max-width:420px;width:100%}.public-home-page .public-home-lead{min-height:0;margin-bottom:20px}.public-home-page .public-home-features{margin-bottom:23px}.public-home-page .public-home-features p{font-size:13px}.public-home-page .public-home-cta{font-size:14px}.public-home-page .public-home-footer{flex-direction:column;gap:8px}.public-home-page .public-home-store-grid{grid-template-columns:1fr}}
@container(max-width:260px){.public-home-page .public-home-heading-row{gap:9px}.public-home-page .public-home-heading-row .public-home-entry{padding:7px 8px;max-width:78px;font-size:10px}.public-home-page .public-home-heading-row h2{font-size:20px}}

@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}
