.merchant-body{background:#f5f8f6;color:#18231d}
.merchant-sidebar{position:fixed;inset:0 auto 0 0;width:248px;background:#083d27;color:#c7dfd2;padding:24px 18px;display:flex;flex-direction:column;z-index:30}
.merchant-brand{display:flex;align-items:center;gap:11px;color:#fff;padding:2px 7px 22px;border-bottom:1px solid rgba(255,255,255,.1)}
.merchant-brand>span{width:42px;height:42px;border-radius:12px;background:linear-gradient(135deg,#33a66b,#1a7f4b);display:grid;place-items:center;font-weight:800}
.merchant-brand strong,.merchant-brand small{display:block}
.merchant-brand strong{font-size:16px}
.merchant-brand small{font-size:8px;letter-spacing:1.5px;color:#9ec7b2;margin-top:2px}
.merchant-side-status{padding:18px 8px 10px}
.merchant-side-status small{display:block;color:#9fc3b0;font-size:11px;margin-top:8px;line-height:1.5}
.merchant-sidebar nav{display:flex;flex-direction:column;gap:5px;margin-top:12px}
.merchant-sidebar nav a{padding:11px 13px;border-radius:9px;font-size:13px;color:#c2dacc}
.merchant-sidebar nav a:hover,.merchant-sidebar nav a.active{background:rgba(255,255,255,.1);color:#fff}
.merchant-sidebar .sidebar-bottom{margin-top:auto;border-top:1px solid rgba(255,255,255,.1);padding-top:14px;display:flex;flex-direction:column;gap:8px;font-size:12px}
.merchant-shell{margin-left:248px;min-height:100vh}
.merchant-topbar{height:64px;background:#fff;border-bottom:1px solid #e4ece7;display:flex;align-items:center;justify-content:space-between;padding:0 30px}
.merchant-topbar strong{font-size:16px}
.merchant-topbar span{font-size:12px;color:#718078}
.merchant-content{padding:28px;max-width:1480px;margin:0 auto}
.merchant-content .admin-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}
.merchant-content .admin-toolbar .btn{margin-left:auto}
.merchant-notice{border-radius:18px;padding:20px 22px;margin-bottom:20px;border:1px solid}
.merchant-notice strong{display:block;font-size:16px;margin-bottom:4px}
.merchant-notice p{margin:0;font-size:12px}
.merchant-notice.pending{background:#fffaf0;border-color:#f2ddae;color:#725719}
.merchant-notice.rejected{background:#fff5f5;border-color:#f0caca;color:#8b3030}
.merchant-notice.approved{background:#effaf3;border-color:#c7e7d4;color:#17663e}
.merchant-quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:20px}
.merchant-quick-actions a{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #dce9e2;border-radius:14px;padding:17px 18px;color:#1a7f4b;box-shadow:0 7px 22px rgba(20,83,54,.04)}
.merchant-quick-actions a:hover{border-color:#9dcfb5;box-shadow:0 10px 28px rgba(20,83,54,.08)}
.merchant-quick-actions span{width:36px;height:36px;border-radius:10px;background:#eaf7ef;display:grid;place-items:center;font-size:20px}
.merchant-quick-actions strong,.merchant-quick-actions small{display:block}
.merchant-quick-actions strong{font-size:14px}
.merchant-quick-actions small{font-size:10px;color:#7b8a82;margin-top:3px}
.merchant-profile-panel{margin-top:22px}
.merchant-inline-note{background:#f0faf4;border:1px solid #d2ebdd;color:#246d49;border-radius:10px;padding:11px 14px;margin-bottom:18px;font-size:12px}
.document-upload-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:18px 0}
.document-upload-grid label{border:1px dashed #c9dcd2;background:#f9fcfb;border-radius:12px;padding:15px;min-height:96px}
.document-upload-grid strong,.document-upload-grid small,.document-upload-grid a{display:block;font-size:12px}
.document-upload-grid small,.document-upload-grid a{color:#7a8b82;margin:5px 0 9px}
.document-upload-grid a{color:#1a7f4b;font-weight:700}
.document-upload-grid input{font-size:10px;max-width:100%}
.merchant-product-select{margin-top:24px;border-top:1px solid #e5eee8;padding-top:22px}
.merchant-product-select h3{font-size:16px;margin-bottom:14px}
.product-check-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.product-check-grid label{display:flex;align-items:flex-start;gap:8px;border:1px solid #e0ebe5;border-radius:10px;padding:10px;font-size:12px;background:#fbfdfc}
.product-check-grid small{display:block;color:#7a8b82;margin-top:3px}
.trace-code{font-size:11px;background:#edf8f1;color:#176b42;padding:3px 6px;border-radius:5px}
.merchant-auth-body{min-height:100vh;background:radial-gradient(circle at 15% 10%,#dcefe3 0,transparent 32%),linear-gradient(135deg,#f0f8f3,#f8faf9);display:grid;place-items:center;padding:28px;font-family:"Microsoft YaHei",system-ui,sans-serif}
.merchant-auth-card,.merchant-register-card{width:min(100%,440px);background:#fff;border:1px solid #e1ebe5;border-radius:24px;box-shadow:0 24px 70px rgba(14,81,48,.12);padding:32px}
.merchant-register-card{width:min(100%,920px)}
.merchant-auth-brand{display:flex;align-items:center;gap:11px;margin-bottom:24px}
.merchant-auth-brand>span{width:42px;height:42px;border-radius:12px;background:linear-gradient(135deg,#1a7f4b,#0f5c34);color:#fff;display:grid;place-items:center;font-weight:800}
.merchant-auth-brand strong,.merchant-auth-brand small{display:block}
.merchant-auth-brand small{font-size:8px;letter-spacing:1.5px;color:#4a8d68}
.merchant-auth-card h1,.merchant-register-card h1{font-size:25px;margin:0 0 7px}
.merchant-auth-card>p,.merchant-register-card>p{font-size:12px;color:#708077;line-height:1.8;margin:0 0 22px}
.merchant-auth-card form,.merchant-register-form{display:flex;flex-direction:column;gap:14px}
.merchant-auth-card label,.merchant-register-form label{display:block;font-size:12px;color:#526159}
.merchant-auth-card input,.merchant-register-form input,.merchant-register-form textarea{display:block;width:100%;border:1px solid #dbe7e0;border-radius:9px;padding:10px 11px;margin-top:5px;background:#fbfdfc;outline:none}
.merchant-auth-card input:focus,.merchant-register-form input:focus,.merchant-register-form textarea:focus{border-color:#80bd9c;box-shadow:0 0 0 3px rgba(26,127,75,.08)}
.merchant-register-form .document-upload-grid{grid-template-columns:repeat(4,1fr)}
.merchant-auth-links{display:flex;justify-content:space-between;margin-top:18px;font-size:11px;color:#1a7f4b}
.merchant-register-simple{position:relative}
.auth-back-link{display:inline-flex;align-items:center;color:#4f6659;font-size:12px;margin-bottom:18px}
.auth-back-link:hover{color:#1a7f4b}
.merchant-upload-simple{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.merchant-upload-simple label{border:1px dashed #c9dcd2;background:#f9fcfb;border-radius:12px;padding:15px;min-height:122px}
.merchant-upload-simple strong,.merchant-upload-simple small{display:block}
.merchant-upload-simple small{font-size:10px;color:#7a8b82;margin:5px 0 10px;line-height:1.6}
.merchant-upload-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.upload-card{position:relative;display:grid!important;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;border:1px solid #dce8e1!important;background:linear-gradient(145deg,#ffffff,#f8fcfa)!important;border-radius:14px!important;padding:15px!important;margin:0!important;cursor:pointer;transition:.2s;box-shadow:0 6px 20px rgba(20,83,54,.035)}
.upload-card:hover{border-color:#93c9ae!important;box-shadow:0 10px 28px rgba(20,83,54,.09);transform:translateY(-1px)}
.upload-card.has-file{border-color:#69ad8a!important;background:linear-gradient(145deg,#f7fdf9,#edf9f2)!important}
.logo-upload-card{width:100%}
.upload-input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;overflow:hidden!important;margin:0!important;padding:0!important}
.upload-icon{width:42px;height:42px;border-radius:11px;background:#e9f7ef;color:#1a7f4b;display:grid;place-items:center;font-size:16px}
.upload-content{min-width:0}
.upload-content strong,.upload-content small,.upload-filename{display:block}
.upload-content strong{font-size:13px;color:#243b2e;font-weight:700}
.upload-content em{font-style:normal;font-size:9px;font-weight:600;color:#fff;background:#1a7f4b;border-radius:10px;padding:2px 6px;margin-left:4px;vertical-align:1px}
.upload-content em.optional{background:#e5eee9;color:#6d7e75}
.upload-content small{font-size:9px;color:#8a9991;margin:4px 0}
.upload-filename{font-size:10px;color:#1a7f4b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.upload-button{background:#edf7f1;color:#176b42;border:1px solid #cde6d8;border-radius:8px;padding:6px 10px;font-size:10px;font-weight:700}
.merchant-submit-btn{display:flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:12px;background:linear-gradient(135deg,#1a7f4b,#0f5c34);color:#fff;padding:13px 20px;font-size:14px;font-weight:700;box-shadow:0 10px 25px rgba(15,92,52,.22);cursor:pointer;transition:.2s}
.merchant-submit-btn:hover{box-shadow:0 13px 30px rgba(15,92,52,.3);transform:translateY(-1px)}
.commitment-card{display:flex!important;align-items:flex-start;gap:10px;padding:14px 15px!important;border:1px solid #cfe6d8!important;border-radius:12px!important;background:linear-gradient(145deg,#f2fbf6,#fff)!important;cursor:pointer}
.commitment-card input{width:17px!important;height:17px;margin:2px 0 0!important;flex:0 0 auto;accent-color:#1a7f4b}
.commitment-card strong,.commitment-card small{display:block}
.commitment-card strong{font-size:12px;color:#176b42;margin:0 0 4px}
.commitment-card small{font-size:10px;line-height:1.7;color:#61736a;margin:0}
@media(max-width:1100px){.document-upload-grid,.merchant-register-form .document-upload-grid{grid-template-columns:repeat(2,1fr)}.product-check-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:820px){.merchant-sidebar{position:static;width:auto;flex-direction:row;flex-wrap:wrap;align-items:center}.merchant-sidebar nav{flex-direction:row;overflow:auto;margin:0 0 0 auto}.merchant-side-status,.merchant-sidebar .sidebar-bottom{display:none}.merchant-shell{margin-left:0}.merchant-content{padding:18px}.merchant-topbar{padding:0 18px}.document-upload-grid,.merchant-register-form .document-upload-grid,.product-check-grid,.merchant-upload-simple,.merchant-upload-grid{grid-template-columns:1fr}.merchant-register-form .form-grid.two{grid-template-columns:1fr}}
.merchant-topbar-user{display:flex;align-items:center;gap:12px}
.merchant-topbar-user a{border:1px solid #cfe0d6;background:#fff;color:#4f6157;border-radius:7px;padding:5px 11px;font-size:12px}
.merchant-topbar-user a:hover{border-color:#8dbfa4;color:#1a7f4b}
