:root{--blue:#087ed9;--ink:#162c42;--muted:#718296;--line:#e3eaf2;--bg:#f5f8fc}*{box-sizing:border-box}body{margin:0;font:15px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--bg)}button,input,textarea,select{font:inherit}button,a,select{touch-action:manipulation}button{cursor:pointer;border:0;border-radius:10px;padding:10px 17px;background:#eaf3fc;color:#0877c9;font-weight:600}button:hover{filter:brightness(.96)}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #ffb55a;outline-offset:3px}a{color:var(--blue)}.wrap{max-width:1120px;margin:auto;padding:0 24px}header{background:linear-gradient(120deg,#096bc5,#148de2 65%,#49b5ed);color:white;padding:24px 0 36px}.topline{display:flex;justify-content:space-between;align-items:center;gap:16px}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:white;font-size:28px;font-weight:800}.brand small{font-size:11px;letter-spacing:3px;display:block}.topline button{background:#ffffff20;color:white;border:1px solid #ffffff55}.hero{margin:42px 0 24px}.eyebrow{font-size:11px;font-weight:700;letter-spacing:2px;opacity:.75}h1{font-size:42px;letter-spacing:1px;margin:8px 0}h2{margin:5px 0;font-size:24px}h3{margin:0 0 9px}.hero p{opacity:.85}.search{display:flex;background:white;border-radius:12px;padding:6px;max-width:720px;box-shadow:0 12px 35px #074e7a22}.search input{flex:1;min-width:0;border:0;padding:12px;background:transparent}.search button,.primary{background:var(--blue);color:white}nav{display:flex;gap:6px;overflow:auto;padding:20px 0;border-bottom:1px solid var(--line)}nav button{white-space:nowrap;background:transparent;color:var(--muted)}nav button.active{background:white;color:var(--blue);box-shadow:0 2px 8px #152d4410}.notice{font-size:13px;color:#56738b;background:#eaf3fb;border:1px solid #d7e8f7;border-radius:10px;padding:11px 16px;margin:22px 0}.toolbar,.sectionhead{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:24px 0}.chip{border-radius:24px;background:white;border:1px solid var(--line);color:#637589;margin:3px}.chip.active{background:#e5f2ff;border-color:#91c7ee;color:#0877c9}.sort{display:flex;align-items:center;gap:16px;font-size:13px;color:var(--muted)}select{padding:8px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--ink)}.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.card{background:white;border:1px solid var(--line);border-radius:16px;overflow:hidden;transition:transform .2s,box-shadow .2s}.card:hover{transform:translateY(-3px);box-shadow:0 12px 28px #173b5f0c}.photo{height:180px;background:linear-gradient(135deg,#edf7ff,#dceaf6);display:grid;place-items:center;position:relative;font-size:62px}.photo img{height:100%;width:100%;object-fit:cover}.badge{position:absolute;top:12px;left:12px;border-radius:6px;padding:3px 8px;background:#fffffff0;font-size:11px;color:#3c688a}.details{padding:16px}.title{font-weight:700;overflow-wrap:anywhere;min-height:48px}.price{font-size:24px;color:#e96740;font-weight:750;margin:9px 0}.meta{font-size:12px;color:var(--muted)}.details button{width:100%;margin-top:14px}.empty{grid-column:1/-1;background:white;border:1px dashed #d3deea;border-radius:16px;text-align:center;padding:65px 24px;color:var(--muted)}.empty strong{display:block;font-size:22px;color:var(--ink);margin-bottom:8px}.pagination{display:flex;align-items:center;justify-content:center;gap:16px;margin:26px}footer{text-align:center;padding:40px 0;color:#7b8da0;font-size:13px}footer span{font-size:12px;color:#98a6b4}dialog{border:0;padding:24px;border-radius:18px;width:min(600px,calc(100% - 28px));max-height:90vh;box-shadow:0 20px 90px #0c27434a}dialog::backdrop{background:#10243b88;backdrop-filter:blur(3px)}.dialoghead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.dialoghead h2{font-size:21px}.icon{font-size:26px;background:transparent;padding:0 10px;color:#718296}.field{display:block;margin:14px 0;font-size:13px;color:#58718a}.field input,.field textarea,.field select{display:block;width:100%;border:1px solid #d5e0ec;background:white;border-radius:9px;padding:11px;margin-top:6px;color:var(--ink)}textarea{min-height:110px;resize:vertical}.actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.hint{color:var(--muted);font-size:13px}.error{color:#bc3025;background:#fff1ef;border-radius:8px;padding:9px;white-space:pre-wrap}.description{white-space:pre-wrap;overflow-wrap:anywhere}.detailimage{width:100%;max-height:330px;object-fit:contain;background:#f4f7fb;border-radius:10px}.panel,.order{padding:24px;background:white;border:1px solid var(--line);border-radius:14px;margin:16px 0}.orderhead{display:flex;justify-content:space-between;gap:15px;align-items:center}.status{font-size:12px;padding:4px 10px;border-radius:20px;background:#edf4fb;color:#3d6d91}.order p{margin:8px 0;overflow-wrap:anywhere}.ordersummary{display:flex;justify-content:space-between;gap:15px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);max-width:90vw;background:#17334d;color:white;border-radius:10px;padding:13px 22px;z-index:100;box-shadow:0 6px 20px #0002}table{border-collapse:collapse;width:100%;font-size:13px}td,th{text-align:left;padding:12px 8px;border-bottom:1px solid var(--line)}.scroll{overflow:auto}.danger{color:#ba483a;background:#fff0ee}[hidden]{display:none!important}@media(max-width:850px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{margin-top:30px}h1{font-size:34px}}@media(max-width:480px){.wrap{padding:0 16px}.grid{gap:12px}.photo{height:145px}.details{padding:12px}.price{font-size:21px}.brand{font-size:23px}.topline button{font-size:12px;padding:8px 10px}h1{font-size:30px}.hero p{font-size:13px}nav{margin:0 -16px;padding:14px 12px}.toolbar{gap:10px}.chip{padding:8px 11px;font-size:12px}.sectionhead h2{font-size:22px}.sort{gap:7px}.panel,.order{padding:17px}.search input{font-size:13px}.search button{padding:9px 12px;font-size:13px}}

/* Keep portrait uploads inside the image area and review controls accessible. */
.photo{overflow:hidden}.photo img{position:absolute;inset:0;display:block;width:100%;height:100%;min-width:0;min-height:0;object-fit:cover}.badge{z-index:1}.review-actions{display:flex;gap:8px;margin-top:10px}.details .review-actions button{width:auto;flex:1;margin-top:0}.details .review-actions .primary{background:var(--blue);color:white}.details .review-actions .danger{background:#fff0ee;color:#ba483a}

#statusfilters{margin-bottom:20px;flex-wrap:wrap}.unread{border-left:4px solid var(--blue)}

#admintools{margin:16px 0;flex-wrap:wrap}#admintools button.active{background:var(--blue);color:white}.orderhead{gap:12px;flex-wrap:wrap}

.brandlogo{width:54px;height:54px;object-fit:contain;border-radius:10px}.filterbar{display:flex;gap:12px;flex-wrap:wrap;align-items:end;background:white;border:1px solid var(--line);padding:16px;border-radius:12px}.filterbar label{display:grid;gap:5px;font-size:13px}.filterbar input{width:115px;max-width:100%;padding:9px;border:1px solid var(--line);border-radius:8px}.bannerimage{display:block;width:100%;max-height:360px;object-fit:contain;border-radius:10px}.bannercontrols{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:12px}.bannercontrols div{white-space:nowrap}.recommended{margin:16px 0 30px}.gallerymain{display:block;width:100%;padding:0;background:transparent}.thumbnails{display:flex;gap:8px;overflow:auto;margin-top:10px}.thumbnails button{padding:3px;flex:0 0 68px}.thumbnails img{width:62px;height:62px;object-fit:cover;border-radius:5px}.imageeditor{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.imageeditor>div{border:1px solid var(--line);padding:8px;border-radius:10px;display:grid;gap:5px}.imageeditor img{width:100%;height:100px;object-fit:cover}.imageeditor button{padding:6px;font-size:12px}.bannerpreview{max-width:100%;max-height:160px;object-fit:contain}#zoom{width:min(1100px,96vw)}.zoomimage{display:block;width:100%;max-height:68vh;object-fit:contain}#homeextras h2{margin-top:24px}#sitepreview{margin-top:24px}#announcement{white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:480px){.filterbar{gap:8px}.filterbar label:first-child{width:100%}.filterbar input{width:100px}.imageeditor{grid-template-columns:repeat(2,minmax(0,1fr))}.bannercontrols{flex-wrap:wrap}.bannerimage{max-height:220px}}

/* Account drawer keeps growing tools out of the storefront navigation. */
.topline .settingsbtn{position:relative;display:grid;place-items:center;width:46px;height:46px;padding:0;border-radius:50%;flex-shrink:0}.unreadbadge{position:absolute;right:-6px;top:-6px;min-width:20px;height:20px;padding:0 5px;line-height:20px;border-radius:12px;background:#f16b45;color:white;font-size:11px;border:1px solid white}#accountmenu{margin:0 0 0 auto;width:min(370px,calc(100% - 24px));height:100dvh;max-height:100dvh;border-radius:22px 0 0 22px;padding:26px 24px;color:var(--ink);overscroll-behavior:contain}body:has(#accountmenu[open]){overflow:hidden}#accountmenu::backdrop{background:#10243b55;backdrop-filter:blur(2px)}.menuidentity{display:flex;gap:14px;align-items:center;padding:20px 0 24px;border-bottom:1px solid var(--line)}.menuidentity strong{font-size:20px;overflow-wrap:anywhere}.menuavatar{display:grid;place-items:center;width:48px;height:48px;background:#eaf3fc;border-radius:16px;font-size:25px;flex-shrink:0}.menugroup{margin-top:24px}.menugroup h3{color:var(--muted);font-size:12px;font-weight:500;margin:0 12px 8px}.menugroup button{width:100%;display:flex;align-items:center;justify-content:space-between;text-align:left;gap:12px;background:transparent;color:var(--ink);padding:13px 12px;margin-top:3px}.menugroup button:hover,.menugroup button.active{background:#eaf3fc;color:var(--blue)}.menugroup b{display:block;font-size:15px}.menugroup small{display:block;font-size:12px;font-weight:400;color:var(--muted);margin-top:4px}.menutip{padding:18px 12px 0;margin-top:28px;border-top:1px solid var(--line)}@media(max-width:480px){#nav{justify-content:space-between}#nav button{padding:10px 12px}#accountmenu{padding:20px 18px}.topline .settingsbtn{width:42px;height:42px}}

.minestats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:20px 0}.minestats button{background:white;border:1px solid var(--line);color:var(--ink);padding:15px 6px}.minestats button.active{border-color:var(--blue);background:#eaf3fc}.minestats strong{display:block;font-size:24px}.minestats span{font-size:12px}.reviewreason{font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere;background:#fff1ef;padding:10px;border-radius:8px;color:#ac4436}.reportlink{font-size:12px;color:var(--muted);background:transparent}.reportrecord{white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:480px){.minestats{gap:5px}.minestats strong{font-size:20px}}
.minestats{grid-template-columns:repeat(6,minmax(0,1fr))}@media(max-width:480px){.minestats{grid-template-columns:repeat(3,minmax(0,1fr))}}

.countbadge{display:inline-block;min-width:20px;padding:0 6px;border-radius:12px;background:#e85d45;color:white;font-size:12px;line-height:20px;margin-left:5px}.emailrow{display:flex;gap:8px;align-items:center}.emailrow input{min-width:0;flex:1}.emailrow button{flex-shrink:0;font-size:12px}.securityhint{overflow-wrap:anywhere}

.supportcard{text-align:center;padding:18px 0}.supportlogo{display:grid;place-items:center;width:60px;height:60px;border-radius:20px;background:#e3f3ff;color:#168bd1;font-size:30px;margin:0 auto 14px}.supporthandle{font-size:24px;font-weight:700;color:var(--ink);overflow-wrap:anywhere}.supportactions{justify-content:center}.supportactions a{display:inline-block;text-decoration:none;padding:10px 17px;border-radius:10px;font-weight:600}.supportfooter{font-size:13px;background:transparent;padding:5px 12px;margin-bottom:10px}.supportorder{overflow-wrap:anywhere;text-align:left}
.taskcards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0 28px}.taskcard{text-align:left;padding:22px;display:flex;flex-direction:column;gap:12px;background:#fff;border:1px solid #dce8f1;border-radius:16px}.taskcard strong{font-size:36px;color:#0878d8}.taskcard small{color:#536b80}.taskcard:hover{border-color:#0878d8;background:#f5faff}.backupsummary{display:flex;flex-wrap:wrap;gap:24px;margin:20px 0;line-height:1.7}.backuppanel .sectionhead{margin-top:0}.backuppanel table{min-width:620px}.backuppanel td{white-space:nowrap}@media(max-width:560px){.taskcards{grid-template-columns:1fr;gap:10px}.taskcard{display:grid;grid-template-columns:1fr auto;align-items:center;padding:16px}.taskcard strong{grid-column:2;grid-row:1/3;font-size:30px}.taskcard small{grid-column:1}.backupsummary{gap:18px}}

.staffroles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.staffroles .panel{padding:18px;margin:8px 0 20px}@media(max-width:600px){.staffroles{grid-template-columns:1fr}.staffroles .panel{margin:0;padding:14px}}

/* The detail body scrolls independently; primary actions stay in view. */
body.modal-open{position:fixed;width:100%;overflow:hidden}
dialog{overscroll-behavior:contain;color:var(--ink)}
#dialog.product-detail[open]{display:flex;flex-direction:column;overflow:hidden;height:min(820px,90dvh);padding-bottom:0}
.product-detail .dialoghead{flex-shrink:0}.product-detail .dialoghead h2{overflow-wrap:anywhere}
.product-detail #dialogbody{display:flex;flex:1;flex-direction:column;min-height:0}
.product-detail-content{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 2px 24px;scroll-padding:16px}
.backtolist{margin-bottom:14px;background:transparent;padding-left:0}
.product-actionbar{flex-shrink:0;display:flex;gap:12px;border-top:1px solid var(--line);padding:14px 0 max(14px,env(safe-area-inset-bottom));background:white}
.product-actionbar button{min-height:46px;flex:1}.product-actionbar .primary{flex:2}
.contact-panel{background:#f3f8fe;border:1px solid var(--line);border-radius:12px;padding:16px;margin-top:20px;scroll-margin:16px}
.contact-panel:focus{outline:2px solid var(--blue);outline-offset:2px}
.product-state{border:1px solid #dce8f2;border-radius:10px;padding:12px;margin:14px 0;background:#f4f8fc;font-size:13px;overflow-wrap:anywhere}
.product-state p{margin:5px 0 0}.state-rejected{border-color:#f1cdc7;background:#fff4f1;color:#9f3528}.state-pending{background:#fff9e9;border-color:#ebdfb7;color:#846021}.state-active{background:#eff9f4;border-color:#cce6d7;color:#2a6a4a}
.details .product-state{font-size:12px;padding:10px}
.publish-guide{padding:14px;background:#eef6ff;border-radius:12px;font-size:14px}.publish-guide p{margin:5px 0 0;font-size:13px;color:#506e86}
.field-feedback{display:block;font-size:12px;margin-top:5px;color:#667e94}.field-feedback.invalid{color:#b33528}
.field [aria-invalid="true"]{border-color:#c24c3e;background:#fffafa}
.product-preview{background:#f5f9ff;border:1px solid #cbdff2;border-radius:12px;padding:18px;margin:20px 0;scroll-margin:16px}
.product-preview:focus{outline:2px solid var(--blue)}
@media(max-width:600px){#dialog.product-detail[open]{height:94dvh;max-height:94dvh;padding:18px 16px 0}.product-detail .dialoghead h2{font-size:18px}.product-actionbar{gap:8px}.product-actionbar button{padding:10px 8px}.publish-guide{font-size:13px}#productform input,#productform textarea,#productform select{font-size:16px}}

#viewasbanner{display:flex;justify-content:flex-end;gap:16px;align-items:center;padding:8px 24px;background:#edf4fc;font-size:14px}#viewasbanner a{color:#245ea8;font-weight:600;white-space:nowrap}#viewasbanner [role="alert"]{color:#a22f27}

/* Owner identity is based on the effective account, so user entry keeps its usual style. */
.owner-account .topline .settingsbtn{display:flex;gap:8px;width:auto;max-width:min(60vw,320px);padding:0 14px;border-radius:24px;background:#6d28d9;color:#fff;border:1px solid #c4b5fd;box-shadow:0 3px 12px #32106933}
.owner-account .settingsbtn svg{flex-shrink:0}.owner-account-label{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.owner-account #menurole{display:inline-block;margin-top:5px;padding:2px 9px;border-radius:12px;color:#6d28d9;background:#f0e8ff;font-weight:600}.owner-account .menuavatar{background:#f0e8ff}.owner-account #admintools button.active{background:#6d28d9;color:#fff}
@media(max-width:480px){.owner-account .topline .settingsbtn{gap:6px;padding:0 10px}.owner-account-label{font-size:12px}}
/* Product specifications: compact on desktop and stacked on phones. */
.price small{font-size:13px;font-weight:500;color:var(--muted,#65758a);margin-left:6px}
.variant-editor{border:1px solid #dbe5ef;border-radius:14px;padding:16px;margin:16px 0;background:#f7fafc}
.variant-editor .sectionhead{margin:0;gap:12px;flex-wrap:wrap}
.variant-editor h3{margin:0}.variant-editor h3 small{font-weight:400;color:#65758a}
.variant-editor-rows{display:grid;gap:12px;margin-top:12px}
.variant-editor-row{min-width:0;border:1px solid #dbe5ef;border-radius:10px;padding:12px;background:white}
.variant-editor-row legend{padding:0 6px;font-weight:600}
.variant-numbers{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.variant-numbers input{min-width:0;width:100%}
.variant-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.variant-options button{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:6px;white-space:normal;overflow-wrap:anywhere;padding:12px;border:1px solid #dbe5ef}
.variant-options button span{font-size:13px;color:#65758a}
.variant-options button[aria-pressed="true"]{border-color:#0878d8;background:#eaf5ff;box-shadow:inset 0 0 0 1px #0878d8}
.variant-options button:disabled{opacity:.6;background:#f3f5f7}
.variant-summary{margin:16px 0}.variant-summary>div{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #e6edf3;overflow-wrap:anywhere}
.variant-summary span{flex-shrink:0;font-size:13px}
@media(max-width:420px){.variant-options{grid-template-columns:1fr}.variant-editor{padding:12px}.variant-summary>div{flex-direction:column;gap:4px}}

.share-preview{display:block;width:100%;max-width:360px;height:auto;margin:18px auto;border:1px solid var(--line,#dce5ee);border-radius:12px}.share-download{display:block;width:fit-content;padding:12px 18px;background:#0878d8;color:white;border-radius:10px;margin:12px auto;text-decoration:none}.feedback-images{display:flex;flex-wrap:wrap;gap:12px;margin:12px 0}.feedback-images>div,.feedback-images>button{max-width:150px}.feedback-images img{display:block;max-width:100%;height:100px;object-fit:contain;border-radius:8px}.feedback-images button{font-size:13px}.share-preview[hidden],.share-download[hidden]{display:none}

#mobilenav{display:none}
.quantity-control{display:flex;align-items:center;gap:10px;max-width:280px;margin:8px 0 16px}
.quantity-control button{flex:0 0 44px;height:44px;padding:0;font-size:22px}
.quantity-control input{min-width:0;width:100%;height:44px;border:1px solid var(--line);border-radius:9px;text-align:center;font-size:18px;background:white;color:var(--ink)}
.quantity-total{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--line);margin:8px 0}
.quantity-total strong{font-size:26px;color:#e96740}
@media(max-width:600px){
 body{padding-bottom:calc(74px + env(safe-area-inset-bottom,0px))}
 #nav{display:none}
 #mobilenav{position:fixed;z-index:60;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));inset:auto 0 0;margin:0;padding:6px max(8px,env(safe-area-inset-right,0px)) calc(6px + env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px));border-top:1px solid var(--line);border-bottom:0;background:#fff;box-shadow:0 -3px 18px #17334d0c;overflow:visible;gap:0}
 #mobilenav button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:52px;padding:4px;border-radius:10px;color:#718296;background:transparent;font-size:12px;line-height:1.35;box-shadow:none}
 #mobilenav button.active{color:#0878d8;background:#edf6ff}
 #mobilemine .unreadbadge{top:0;right:calc(50% - 30px)}
 .owner-account #mobilemine{color:#6d28d9}
 .owner-account #mobilemine.active{background:#f0e8ff}
 #toast{bottom:calc(84px + env(safe-area-inset-bottom,0px))}
 #accountmenu{padding-bottom:calc(22px + env(safe-area-inset-bottom,0px))}
 #orderform textarea{font-size:16px}
}

/* Seller deposit workflow */
.guarantee-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.guarantee-summary>div{background:var(--soft,#f3f7fb);padding:12px;border-radius:12px;min-width:0}.guarantee-summary strong{display:block;font-size:20px;margin-top:6px;overflow-wrap:anywhere}.guarantee-badge{display:flex;flex-wrap:wrap;gap:10px;align-items:center;color:#176744;background:#eaf8ef;padding:9px 12px;border-radius:9px;margin:12px 0}.guarantee-badge span{font-size:12px}.guarantee-terms{margin:10px 0}.guarantee-terms summary{cursor:pointer}.guarantee-check{display:flex;gap:8px;align-items:flex-start;margin:16px 0}.guarantee-check input{width:auto;flex-shrink:0;margin-top:4px}.guarantee-info dd{margin:6px 0 18px;overflow-wrap:anywhere}.guarantee-proof{object-fit:contain;max-height:460px}@media(max-width:600px){.guarantee-summary{grid-template-columns:1fr}.guarantee-summary>div{display:flex;justify-content:space-between;align-items:center}.guarantee-summary strong{font-size:18px;margin:0}}

/* Public deposit status is always visible, even before enrollment. */
.guarantee-card{border:1px solid #d9e2ec;border-left:5px solid #64748b;background:#f3f6fa;border-radius:12px;padding:16px 18px;margin:16px 0;color:#334155;overflow-wrap:anywhere}.guarantee-card-head{display:flex;align-items:flex-start;gap:12px}.guarantee-icon{display:grid;place-items:center;width:30px;height:30px;border:2px solid currentColor;border-radius:50%;font-weight:800;flex-shrink:0}.guarantee-card-head strong{display:block;font-size:18px}.guarantee-card-amount{font-size:22px;font-weight:800;margin-top:5px;font-variant-numeric:tabular-nums}.guarantee-card p{font-size:13px;margin:8px 0 0;line-height:1.7}.guarantee-card-paid{color:#12643e;background:#edf9f1;border-color:#9cd4b0;border-left-color:#23935b}.guarantee-card-warning{color:#8c4508;background:#fff7e8;border-color:#edcd92;border-left-color:#da8b16}.guarantee-card-paused{color:#9e3030;background:#fff1f1;border-color:#eab0b0;border-left-color:#c24c4c}.guarantee-card .guarantee-terms{margin:12px 0 0}.guarantee-card summary{font-weight:600;font-size:14px}.guarantee-card .guarantee-target{font-weight:600}@media(max-width:600px){.guarantee-card{padding:14px 12px}.guarantee-card-head strong{font-size:17px}.guarantee-card-amount{font-size:21px}}

/* Seller collection onboarding */
.collection-entry{display:flex;gap:20px;align-items:center;justify-content:space-between;border:2px solid #1678d0;background:#eef7ff;border-radius:16px;padding:22px;margin:18px 0 24px;box-shadow:0 5px 18px #126ab414}.collection-entry h3{font-size:23px;margin:5px 0}.collection-entry p{margin:8px 0 0;line-height:1.7}.collection-entry button{min-width:160px;min-height:48px;font-size:16px}.collection-entry-done{border-color:#65ab81;background:#f0faf3}.collection-guide{padding:24px;border-radius:16px;background:#eaf5ff;border:2px solid #2986d8;margin:16px 0 24px}.collection-guide h3{font-size:24px;margin:0 0 12px}.collection-guide p{line-height:1.8}.collection-guide-done{background:#eef9f1;border-color:#65ab81}.collection-reason{background:white;padding:12px;border-radius:8px;white-space:pre-wrap}.collection-steps{display:flex;list-style:none;padding:0;gap:10px;margin:22px 0 0}.collection-steps li{flex:1;display:flex;gap:10px;align-items:center;border-radius:10px;padding:12px;background:#fff;color:#657386}.collection-steps b{display:grid;place-items:center;border-radius:50%;width:28px;height:28px;flex-shrink:0;background:#e7ecf3}.collection-steps .current{outline:2px solid #1678d0;color:#075798;font-weight:700}.collection-steps .current b{background:#1678d0;color:white}.collection-steps .done{color:#196b3f}.collection-steps .done b{background:#d5efdf}.collection-current{border:2px solid #2986d8}.collection-form-tip{border-left:4px solid #1678d0;background:#edf6ff;padding:14px;font-weight:600;line-height:1.8}.collection-submit{min-height:48px;font-size:16px}.collection-deposit summary{font-weight:600;color:#246b44;cursor:pointer}.collection-qr{display:flex;flex-direction:column;gap:10px;align-items:center;background:white;color:#245877;border:1px solid #ccd8e5;padding:14px;margin:12px 0;max-width:100%}.collection-qr img,.collection-qr-preview{display:block;width:200px;max-width:100%;height:200px;object-fit:contain;background:white}.collection-qr-preview{border:1px solid #dce4ec;margin:12px 0;padding:8px}.collection-qr-large{display:block;max-width:100%;width:100%;max-height:65vh;object-fit:contain;background:white}.panel>summary{cursor:pointer;font-weight:600;padding:4px 0}@media(max-width:600px){.collection-entry{display:block;padding:18px}.collection-entry button{width:100%;margin-top:15px}.collection-guide{padding:18px}.collection-guide h3{font-size:21px}.collection-steps{gap:7px}.collection-steps li{flex-direction:column;text-align:center;padding:12px 5px;gap:8px;font-size:12px}.collection-submit{width:100%}}
/* Admin guarantee workflow */
#admintools .guarantee-nav{background:#e6f0ff;border:2px solid #2877d4;color:#124a91;font-weight:800}#admintools .guarantee-nav .countbadge{background:#d93243;color:#fff;padding:3px 8px;border-radius:14px}.guarantee-taskcard{border:2px solid #2877d4!important;background:#edf5ff!important}.guarantee-admin-hero{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px;background:linear-gradient(120deg,#123d75,#1769ae);color:#fff;border-radius:16px;margin:16px 0}.guarantee-admin-hero h2{margin:8px 0}.guarantee-admin-hero .eyebrow{color:#cce4ff}.guarantee-admin-hero>strong{font-size:38px;text-align:center;flex-shrink:0}.guarantee-admin-hero small{display:block;font-size:13px}.guarantee-filter-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:18px 0}.guarantee-filter-grid button{display:flex;flex-direction:column;gap:8px;align-items:center;padding:14px 8px;border:2px solid #dce6f2}.guarantee-filter-grid b{font-size:23px}.guarantee-filter-grid button.active{border-color:#176bc0;background:#eaf3ff;color:#104b8a}.guarantee-next{display:flex;justify-content:space-between;align-items:center;gap:16px;background:#edf5ff;border-left:4px solid #2673be;padding:16px;border-radius:10px;margin:14px 0}.guarantee-next p{font-size:13px;margin:6px 0 0;color:#52657b}.guarantee-next button{flex-shrink:0}.guarantee-admin-step{border:1px solid #dbe4ee;border-radius:12px;margin:14px 0;background:#fff}.guarantee-admin-step.current{border:2px solid #2474c5}.guarantee-admin-step>summary{padding:16px;cursor:pointer;font-weight:700;list-style-position:inside}.guarantee-admin-step>summary b{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#e4efff;color:#165ba0;margin-right:10px}.guarantee-admin-step>summary small{margin-left:12px;color:#286bab}.guarantee-admin-step>div{padding:0 16px 16px}.guarantee-admin-row{padding:20px}.guarantee-admin-row .orderhead h3{overflow-wrap:anywhere}
@media(max-width:700px){.guarantee-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.guarantee-admin-hero{padding:18px;align-items:flex-start}.guarantee-admin-hero h2{font-size:22px}.guarantee-admin-hero>strong{font-size:30px}.guarantee-next{flex-direction:column;align-items:stretch}.guarantee-admin-step>summary{padding:12px}.guarantee-admin-step>summary small{display:block;margin:8px 0 0 20px}.guarantee-admin-row{padding:14px}}
