:root{--blue:#5586e6;--blue-dark:#3e6fd1;--text:#202020;--muted:#7d7d7d;--bg:#fff;--line:#ededed}*{box-sizing:border-box}body{margin:0;font-family:Arial,'Microsoft YaHei',sans-serif;color:var(--text);background:#eef1f7}.phone-page{width:min(100%,600px);min-height:100vh;margin:0 auto;background:#fff;position:relative;padding-bottom:82px;box-shadow:0 0 30px #bfc7d555}.mobile-header{height:97px;background:var(--blue);color:#fff;padding:12px 17px 0}.status{height:25px;display:flex;align-items:center;gap:7px;font-size:15px}.status-icons{font-size:10px;color:#fff}.network{font-size:9px;line-height:9px;margin-left:auto}.network small{font-size:8px}.battery{border:1px solid #fff;border-radius:4px;font-size:11px;line-height:16px;padding:0 4px;position:relative}.battery:after{content:'';width:2px;height:6px;background:#fff;position:absolute;right:-3px;top:4px}.header-row{height:59px;display:flex;align-items:center;justify-content:center;position:relative}.header-row h1{font-size:20px;font-weight:400;margin:0;letter-spacing:.04em}.more-button{position:absolute;right:0;top:9px;border:0;background:#3d6fca;color:#dce7ff;border-radius:24px;height:38px;width:110px;font-size:20px;letter-spacing:5px}.more-button span{font-size:23px;margin-left:7px;letter-spacing:0}.search-wrap{padding:18px 18px 11px}.search-box{height:39px;border-radius:22px;background:var(--blue);color:#fff;display:flex;align-items:center;padding:0 14px}.search-icon{font-size:23px;font-weight:200;line-height:1;transform:rotate(-20deg);margin-right:8px}.search-box input{min-width:0;flex:1;border:0;background:transparent;outline:0;color:#fff;font-size:16px}.search-box input::placeholder{color:#e5edff}.search-box button{border:0;background:transparent;color:#fff;font-size:16px;padding:0 0 0 11px}.series-tabs{display:flex;gap:12px;padding:0 0 8px 0;overflow:hidden;white-space:nowrap}.series{border:0;background:#f4f4f4;color:#777;border-radius:4px;padding:7px 12px;font-size:15px}.series:first-child{margin-left:0}.series.active{background:var(--blue);color:#fff}.catalog{display:grid;grid-template-columns:132px 1fr;min-height:650px}.side-nav{background:#f4f4f4}.side-item{display:block;width:100%;min-height:52px;border:0;border-left:4px solid transparent;background:transparent;color:#161616;padding:0 8px;font-size:15px;line-height:1.35}.side-item.active{background:#fff;border-left-color:var(--blue);font-weight:700}.product-list{padding:0 11px 30px}.product-card{display:grid;grid-template-columns:130px 1fr;gap:11px;padding:0 0 11px;margin-bottom:0}.product-card img{width:130px;height:130px;object-fit:cover;background:#eee}.product-main{padding-top:34px}.product-name{font-size:18px;margin:0 0 17px;font-weight:700;line-height:1.2}.product-sub{display:flex;align-items:center;gap:9px;color:#222;font-size:15px}.scan{font-size:22px;line-height:1;transform:rotate(45deg)}.detail{margin-left:auto;border:0;background:transparent;padding:0;color:#222;font-size:14px}.detail-icon{font-size:23px;vertical-align:-2px}.loading,.empty{padding:35px 5px;color:#999;font-size:14px}.bottom-nav{position:fixed;bottom:13px;left:50%;transform:translateX(-50%);width:min(calc(100% - 40px),560px);height:59px;border-radius:31px;background:var(--blue);display:grid;grid-template-columns:repeat(4,1fr);z-index:5;box-shadow:0 5px 15px #466fbd44}.nav-item{display:flex;align-items:center;justify-content:center;flex-direction:column;color:#fff;font-size:12px;gap:1px}.nav-icon{font-size:25px;line-height:24px;font-weight:300}.nav-item.active{font-weight:700}.toast{position:fixed;left:50%;bottom:92px;transform:translateX(-50%);background:#222;color:#fff;font-size:13px;padding:10px 17px;border-radius:5px;opacity:0;pointer-events:none;transition:opacity .25s;z-index:10}.toast.show{opacity:1}.admin-page{background:#f3f5f9;min-height:100vh}.admin-shell{max-width:980px;margin:0 auto;padding:0 24px}.admin-header{height:72px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dfe3eb}.admin-brand{font-size:18px;font-weight:700}.admin-brand span{font-size:12px;background:var(--blue);color:#fff;padding:4px 7px;border-radius:3px;margin-left:5px;font-weight:400}.back{color:var(--blue-dark);font-size:14px}.admin-title{position:relative;padding:48px 0 32px}.admin-title p{color:#8b94a3;letter-spacing:.16em;font-size:11px;margin:0 0 8px}.admin-title h1{font-size:42px;margin:0}.view-link{position:absolute;right:0;bottom:35px;color:var(--blue-dark);font-size:14px}.admin-grid{display:grid;grid-template-columns:minmax(280px,400px) 1fr;gap:60px;align-items:start}.upload-form,.existing{background:#fff;padding:26px;border-radius:8px;border:1px solid #e1e6ee}.upload-form label{display:block;font-size:13px;margin-bottom:17px}.upload-form input,.upload-form select{display:block;width:100%;margin-top:8px;padding:11px;border:1px solid #d7dce5;border-radius:4px;font-size:14px}.upload-form small{display:block;color:#9ba3ae;margin-top:7px}.upload-form img{width:100%;max-height:170px;object-fit:cover;margin-top:10px;display:none}.upload-form img.ready{display:block}.publish{width:100%;border:0;background:var(--blue);color:#fff;padding:13px;border-radius:4px;font-size:15px;display:flex;justify-content:space-between;margin-top:24px}.publish:hover{background:var(--blue-dark)}#status{min-height:18px;font-size:13px;margin:12px 0 0}.existing-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:15px;margin-bottom:4px}.existing h2{font-size:21px;margin:0}.existing-head span{color:#8b94a3;font-size:12px}.admin-row{display:grid;grid-template-columns:58px 1fr auto;gap:11px;align-items:center;padding:13px 0;border-bottom:1px solid var(--line)}.admin-row img{width:58px;height:58px;object-fit:cover;background:#eee}.admin-row h3{font-size:14px;margin:0 0 5px}.admin-row p{font-size:12px;color:#8b94a3;margin:0}.remove{border:0;background:none;color:#9ba3ae;font-size:12px}.remove:hover{color:#d33}@media(max-width:560px){.series-tabs{padding-left:0}.series{font-size:14px}.catalog{grid-template-columns:132px 1fr}.product-card{grid-template-columns:128px 1fr}.product-card img{width:128px;height:128px}.product-name{font-size:17px}.product-main{padding-top:31px}.admin-shell{padding:0 16px}.admin-grid{display:block}.existing{margin-top:25px}.admin-title h1{font-size:36px}.view-link{bottom:34px}.bottom-nav{bottom:7px;width:calc(100% - 40px)}}
.detail-page{background:#f4f6fb;min-height:100vh}.detail-shell{width:min(100%,600px);min-height:100vh;margin:0 auto;background:#fff;padding-bottom:76px}.detail-header{height:64px;background:var(--blue);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 17px}.detail-header h1{font-size:18px;font-weight:400;margin:0}.detail-back{font-size:31px;line-height:1}.detail-manage{font-size:13px}.detail-hero{padding:18px 18px 25px;border-bottom:8px solid #f4f6fb}.detail-hero>img{width:100%;aspect-ratio:1.3;object-fit:cover;background:#eee}.detail-summary{padding:18px 3px 0}.detail-kicker{font-size:12px;color:#888;margin:0 0 10px}.detail-summary h2{font-size:25px;margin:0 0 12px}.detail-views{font-size:13px;color:#666}.detail-description{font-size:14px;color:#666;line-height:1.7;margin:18px 0 0}.detail-body{padding:25px 21px}.detail-body h3{font-size:18px;margin:0 0 16px;border-left:3px solid var(--blue);padding-left:8px}.detail-copy{font-size:14px;line-height:1.9;color:#555}.detail-copy p{margin:0 0 8px}.detail-gallery{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:18px}.detail-gallery img{width:100%;aspect-ratio:1;object-fit:cover}.detail-actions{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,600px);height:62px;background:#fff;border-top:1px solid #e6e9ef;display:grid;grid-template-columns:1fr 1fr;padding:10px 16px;gap:10px}.detail-actions a,.detail-actions button{border:1px solid var(--blue);display:flex;align-items:center;justify-content:center;font-size:14px;background:#fff;color:var(--blue);border-radius:4px}.detail-actions button{background:var(--blue);color:#fff}.detail-preview{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.detail-preview img{display:block!important;width:64px!important;height:64px;object-fit:cover;margin:0!important}
.product-thumb-link{display:block}.product-title-link{color:inherit;text-decoration:none}.product-title-link:hover .product-name{color:var(--blue-dark)}
.product-card{cursor:pointer}.product-card:focus-visible{outline:2px solid var(--blue);outline-offset:-2px}
.row-actions{display:flex;gap:9px;align-items:center}.edit{border:0;background:none;color:var(--blue-dark);font-size:12px;padding:4px 0}.edit:hover{color:var(--blue)}
.side-heading{font-size:12px;color:#8a8a8a;letter-spacing:.08em;padding:13px 8px 7px;text-align:center;border-bottom:1px solid #e6e6e6}.side-item[hidden]{display:none}
.form-section-label{font-size:13px;font-weight:700;border-left:3px solid var(--blue);padding-left:8px;margin:2px 0 18px}.form-section-label:not(:first-child){margin-top:25px}.upload-form label small{display:inline;color:#9ba3ae;margin-left:6px;font-size:11px}
.side-heading{display:block;width:100%;min-height:52px;border:0;border-left:4px solid transparent;background:#fff;color:#161616;padding:0 8px;font-size:15px;font-weight:400}.side-heading.active{border-left-color:var(--blue);font-weight:700}.side-heading:focus{outline:0}.side-item{font-size:15px}
.nav-group{border:1px solid #e1e6ee;border-radius:6px;margin:0 0 18px;overflow:hidden}.nav-group-title{display:flex;align-items:center;justify-content:space-between;background:#f4f7fc;padding:14px 15px;border-bottom:1px solid #e1e6ee}.nav-group-title small{display:block;font-size:10px;color:#8b94a3;letter-spacing:.08em;margin-bottom:5px}.nav-group-title h3{margin:0;font-size:17px}.nav-group-title>span{font-size:11px;color:#8b94a3}.sub-group{padding:0 14px}.sub-group-title{display:flex;align-items:center;gap:8px;padding:13px 0 8px;color:#566174}.sub-group-title span{font-size:10px;color:#9aa4b2}.sub-group-title strong{font-size:13px;color:#2e3744}.sub-group-title em{font-style:normal;font-size:10px;color:#9aa4b2;margin-left:auto}.sub-group .admin-row:last-child{border-bottom:0}
.nav-form{background:#eef4ff;border:1px solid #d5e2fb;border-radius:6px;padding:15px;margin-bottom:15px}.nav-form strong{display:block;font-size:14px}.nav-form small{display:block;color:#7c8da8;font-size:11px;margin-top:4px}.nav-form-row{display:flex;gap:8px;margin-top:12px}.nav-form-row input{flex:1;min-width:0;border:1px solid #cbd8ef;border-radius:4px;padding:10px;font-size:13px;background:#fff}.nav-form-row button{border:0;background:var(--blue);color:#fff;border-radius:4px;padding:0 16px;font-size:13px}.nav-form p{font-size:11px;color:#456aa8;min-height:14px;margin:8px 0 0}
.nav-list{margin-top:13px;border-top:1px solid #d5e2fb}.nav-list-row{display:flex;align-items:center;justify-content:space-between;padding:9px 0;border-bottom:1px solid #d5e2fb;font-size:12px;color:#3d4d66}.nav-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.catalog-nav-edit,.catalog-sub-edit{border:0;background:none;color:#5579b8;font-size:11px;padding:3px}.catalog-nav-edit:hover,.catalog-sub-edit:hover{color:#315b9f}.nav-remove{border:0;background:none;color:#9aa9bd;font-size:11px;padding:3px}.nav-remove:hover{color:#d33}.nav-empty{font-size:11px;color:#8998ad;margin:10px 0 0}
.nav-group-title{position:relative;padding-right:88px}.nav-group-remove,.sub-remove{border:0;background:none;color:#9aa9bd;font-size:11px;padding:3px}.nav-group-remove{position:absolute;right:14px;top:50%;transform:translateY(-50%)}.nav-group-remove:hover,.sub-remove:hover{color:#d33}.sub-remove{margin-left:auto}.sub-group-title{padding-right:0}
.sub-form-row{display:grid;grid-template-columns:1fr 1fr auto;gap:7px;margin-top:8px}.sub-form-row select,.sub-form-row input{min-width:0;border:1px solid #cbd8ef;border-radius:4px;padding:9px;font-size:12px;background:#fff}.sub-form-row button{border:0;background:#3f6fca;color:#fff;border-radius:4px;padding:0 11px;font-size:12px}.nav-tree{border-bottom:1px solid #d5e2fb}.nav-tree .nav-list-row{border-bottom:0}.nav-sub-list{padding:0 0 8px 12px}.nav-sub-list>div{display:flex;align-items:center;justify-content:space-between;padding:5px 0;color:#64738a;font-size:11px}.nav-sub-list small{color:#99a5b6;font-size:10px}.catalog-sub-remove{border:0;background:none;color:#9aa9bd;font-size:10px}.catalog-sub-remove:hover{color:#d33}.publish:disabled{opacity:.45;cursor:not-allowed}
.admin-grid{display:flex;flex-direction:column;gap:22px}.admin-grid>div{display:contents}.admin-grid>.existing,.admin-grid>.upload-form,.admin-grid>div>.nav-form{width:100%}
.admin-grid .upload-form{width:100%;max-width:none}.admin-grid .existing{width:100%;max-width:none}
.admin-grid{display:grid;grid-template-columns:minmax(250px,1fr) minmax(300px,1.15fr) minmax(330px,1.35fr);gap:18px;align-items:start}.admin-grid>div{display:contents}.admin-grid .nav-form,.admin-grid .upload-form,.admin-grid .existing{width:100%;max-width:none}.admin-grid .upload-form{margin:0}.admin-grid .existing{margin:0}@media(max-width:1100px){.admin-grid{grid-template-columns:minmax(260px,1fr) minmax(300px,1.15fr)}.admin-grid>.existing{grid-column:1/-1}}@media(max-width:700px){.admin-grid{display:block}.admin-grid .upload-form,.admin-grid .existing{margin-top:18px}}
.nav-form>div:first-child{display:flex;align-items:center;justify-content:space-between}.panel-toggle{border:1px solid #cbd8ef;background:#fff;color:#5274ad;border-radius:4px;padding:5px 10px;font-size:11px}.panel-toggle:hover{background:#edf4ff}.nav-form.collapsed>*:not(:first-child),.existing.collapsed>#adminList{display:none}.existing-head .panel-toggle{margin-left:auto}
.group-toggle{position:absolute;right:76px;top:50%;transform:translateY(-50%);border:0;background:none;color:#5274ad;font-size:11px;padding:4px}.nav-group.collapsed .sub-group{display:none}
.bottom-nav button.nav-item{border:0;background:transparent;font-family:inherit}.chat-open{overflow:hidden}.chat-layer{position:fixed;inset:0;background:rgba(14,25,48,.45);z-index:30;display:flex;align-items:flex-end;justify-content:center;opacity:0;pointer-events:none;transition:opacity .2s}.chat-layer.open{opacity:1;pointer-events:auto}.customer-chat{width:min(100%,600px);height:min(78vh,680px);background:#f5f7fb;border-radius:12px 12px 0 0;display:grid;grid-template-rows:auto auto 1fr auto;overflow:hidden;box-shadow:0 -8px 30px #1e376644}.customer-chat>header{height:64px;background:var(--blue);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 18px}.customer-chat>header strong{display:block;font-size:17px}.customer-chat>header span{display:block;font-size:10px;opacity:.8;margin-top:3px}.customer-chat>header button{border:0;background:none;color:#fff;font-size:28px}.chat-name-row{display:flex;gap:8px;padding:10px 12px;background:#fff;border-bottom:1px solid #e5e9f0}.chat-name-row input{flex:1;min-width:0;border:1px solid #d4dae5;padding:9px;border-radius:4px;font-size:13px}.chat-name-row button{border:0;background:#edf3ff;color:var(--blue-dark);padding:0 12px;border-radius:4px}.chat-name-row.saved{display:none}.chat-messages{overflow-y:auto;padding:16px 13px}.chat-empty{text-align:center;color:#9aa3b2;font-size:12px;margin:35px 0}.chat-bubble-row{display:flex;margin:0 0 12px}.chat-bubble-row.mine{justify-content:flex-end}.chat-bubble{max-width:76%;background:#fff;border:1px solid #e2e6ed;border-radius:7px;padding:9px 10px;box-shadow:0 2px 6px #21314a0b}.chat-bubble-row.mine .chat-bubble{background:#dce9ff;border-color:#cadcff}.chat-bubble p{font-size:14px;line-height:1.55;margin:0;white-space:pre-wrap;word-break:break-word}.chat-bubble img{display:block;max-width:220px;width:100%;max-height:260px;object-fit:contain;margin-bottom:6px;border-radius:4px}.chat-bubble time{display:block;text-align:right;font-size:9px;color:#9ba4b1;margin-top:5px}.chat-compose{display:grid;grid-template-columns:36px 1fr 54px;gap:7px;align-items:end;background:#fff;border-top:1px solid #e1e5ec;padding:10px 11px max(10px,env(safe-area-inset-bottom))}.chat-compose>input{display:none}.chat-image-button{width:36px;height:36px;border:1px solid #d2d8e2;border-radius:50%;display:grid;place-items:center;font-size:23px;color:#65748a;cursor:pointer}.chat-compose textarea{resize:none;min-height:38px;max-height:90px;border:1px solid #d2d8e2;border-radius:5px;padding:9px;outline:0}.chat-compose button{height:38px;border:0;background:var(--blue);color:#fff;border-radius:5px}.chat-compose button:disabled{opacity:.5}.admin-header .service-link{margin-left:auto;margin-right:22px;color:var(--blue-dark);font-size:13px}
.service-page{background:#eef1f6;min-height:100vh}.service-shell{max-width:1180px;margin:0 auto;padding:0 24px 30px}.service-topbar{height:72px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dbe0e8}.service-topbar h1{font-size:19px;margin:0}.service-topbar nav{display:flex;gap:20px;font-size:13px;color:#5471a4}.service-workspace{display:grid;grid-template-columns:300px 1fr;height:calc(100vh - 104px);min-height:560px;margin-top:16px;background:#fff;border:1px solid #dde2ea;border-radius:6px;overflow:hidden}.session-panel{border-right:1px solid #e1e5ec;display:grid;grid-template-rows:auto 1fr;min-width:0}.session-panel>header{padding:18px;border-bottom:1px solid #e5e8ee}.session-panel h2{font-size:17px;margin:0 0 4px}.session-panel p{font-size:11px;color:#8a94a3;margin:0}.session-list{overflow-y:auto}.session-item{width:100%;border:0;border-bottom:1px solid #edf0f4;background:#fff;text-align:left;padding:14px 16px}.session-item.active{background:#edf4ff;border-left:3px solid var(--blue)}.session-item strong{display:block;font-size:13px;margin-bottom:5px}.session-item span{display:block;font-size:11px;color:#7f8997;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.session-item time{display:block;font-size:9px;color:#a0a8b3;margin-top:5px}.operator-chat{display:grid;grid-template-rows:auto 1fr auto;min-width:0}.operator-chat>header{height:65px;padding:0 20px;border-bottom:1px solid #e5e8ee;display:flex;align-items:center}.operator-chat>header strong{font-size:15px}.operator-messages{overflow-y:auto;padding:20px;background:#f7f8fa}.operator-compose{display:grid;grid-template-columns:38px 1fr 66px;gap:8px;align-items:end;padding:12px;border-top:1px solid #e2e6ec}.operator-compose input{display:none}.operator-compose textarea{resize:none;min-height:40px;border:1px solid #ccd3dd;border-radius:4px;padding:10px}.operator-compose button{height:40px;border:0;border-radius:4px;background:var(--blue);color:#fff}.operator-empty{display:grid;place-items:center;color:#9aa3af;font-size:13px}@media(max-width:720px){.customer-chat{height:88vh}.service-shell{padding:0}.service-topbar{padding:0 15px}.service-workspace{grid-template-columns:120px 1fr;height:calc(100vh - 72px);margin:0;border-radius:0}.session-panel>header{padding:12px}.session-item{padding:11px 8px}.operator-messages{padding:12px}}
.detail-header .detail-back{font-size:13px;font-weight:600;display:flex;align-items:center;min-width:60px;height:40px}.admin-header .back,.service-topbar nav a:first-child{font-weight:600;color:var(--blue-dark)}
.customer-chat{grid-template-rows:auto auto auto 1fr auto}.chat-product-share{display:grid;grid-template-columns:46px 1fr auto;gap:9px;align-items:center;padding:9px 11px;background:#fffbe9;border-bottom:1px solid #eadfae}.chat-product-share>img{width:46px;height:46px;object-fit:cover;border-radius:3px}.chat-product-share small,.chat-product-share strong{display:block}.chat-product-share small{font-size:9px;color:#8f835c;margin-bottom:4px}.chat-product-share strong{font-size:12px}.chat-product-share button{border:0;background:#e9a53b;color:#fff;border-radius:4px;padding:8px 10px;font-size:11px}.chat-product-share button:disabled{background:#aeb5bf}.chat-product-card{display:grid;grid-template-columns:64px minmax(100px,1fr);gap:9px;align-items:center;background:#fff;border:1px solid #e0e4eb;border-radius:5px;overflow:hidden;color:#1f2630;text-decoration:none;margin-bottom:6px;min-width:210px}.chat-product-card>img{width:64px;height:64px;object-fit:cover;margin:0;border-radius:0}.chat-product-card>div{padding:6px 7px 6px 0}.chat-product-card small,.chat-product-card strong,.chat-product-card span{display:block}.chat-product-card small{font-size:9px;color:#929ba8;margin-bottom:4px}.chat-product-card strong{font-size:12px;line-height:1.35;margin-bottom:5px}.chat-product-card span{font-size:10px;color:var(--blue-dark)}

/* Homepage */
.home-page{overflow:hidden}.home-header{height:100px;padding-top:11px}.home-header .status{font-weight:600}.home-header .network{margin-left:auto;font-size:11px}.status-bars{font-size:10px}.home-header .header-row h1{font-size:22px;font-weight:600;letter-spacing:0}.home-header .more-button{width:105px;background:#ffffffcf;color:#132846;font-size:19px}.home-carousel{padding:18px 17px 0;background:#fff}.carousel-viewport{width:100%;aspect-ratio:16/9;overflow:hidden;border-radius:6px;background:#edf2f8;touch-action:pan-y}.carousel-track{height:100%;display:flex;transition:transform .35s ease}.carousel-slide{position:relative;flex:0 0 100%;height:100%;display:block;overflow:hidden;color:#fff}.carousel-slide img{width:100%;height:100%;display:block;object-fit:cover}.carousel-slide span{position:absolute;left:0;right:0;bottom:0;padding:29px 15px 13px;font-size:15px;font-weight:700;background:linear-gradient(transparent,rgba(16,34,62,.62))}.carousel-empty{width:100%;display:grid;place-items:center;color:#8c97a8;font-size:13px}.carousel-dots{height:28px;display:flex;align-items:center;justify-content:center;gap:7px}.carousel-dot{width:7px;height:7px;border:0;border-radius:50%;padding:0;background:#a7adb5}.carousel-dot.active{width:24px;border-radius:4px;background:var(--blue)}.home-search{padding:24px 17px 27px;background:#fff}.home-search-box{height:48px;border-radius:24px;background:#e7f2ff;display:grid;grid-template-columns:38px 1fr 42px;align-items:center;color:#76a9ef;padding:0 8px 0 13px}.home-search-box input{min-width:0;border:0;outline:0;background:transparent;font-size:15px;color:#2b446a}.home-search-box input::placeholder{color:#9dc1ed}.home-search-box button{height:40px;border:0;background:transparent;color:#79aaf0;font-size:27px}.search-scan{font-size:25px;transform:rotate(-20deg)}.hot-section{padding:22px 18px 28px;background:#eef5ff}.home-section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.home-section-heading h2{margin:0;font-size:18px;letter-spacing:0}.home-section-heading a,.home-section-heading span{font-size:12px;color:#76849a}.hot-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px 13px}.hot-item{min-width:0;height:58px;border:1px solid #c8defb;border-radius:6px;background:#fff;color:#4078ca;display:grid;grid-template-columns:46px 1fr;align-items:center;text-align:left;padding:0 10px 0 6px;box-shadow:0 5px 15px rgba(60,110,184,.08);font-size:14px;font-weight:700}.hot-item>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hot-icon{width:42px;height:42px;border-radius:50%;background:#eff7ff;display:grid;place-items:center;font-size:24px;color:#5586e6}.promo-section{padding:23px 17px 14px;background:#f7f9fc}.promo-list{display:grid;gap:15px}.promo-card{position:relative;display:block;width:100%;aspect-ratio:16/7;overflow:hidden;border-radius:6px;background:#e7ebf1;color:#fff}.promo-card img{width:100%;height:100%;display:block;object-fit:cover}.promo-card span{position:absolute;left:0;right:0;bottom:0;padding:35px 16px 14px;background:linear-gradient(transparent,rgba(19,36,62,.65));font-weight:700;font-size:17px}.promo-empty{height:130px;display:grid;place-items:center;color:#909aaa;background:#eef1f5;border-radius:6px;font-size:13px}.product-section{padding-top:23px;background:#fff;scroll-margin-top:8px}.product-heading{padding:0 17px;margin-bottom:17px}.product-section .series-tabs{padding:0 17px 11px;overflow-x:auto}.product-section .catalog{border-top:1px solid #edf0f5}.home-page .product-list{padding-top:12px}.home-page .product-card{border-bottom:1px solid #f0f1f4;padding-bottom:11px;margin-bottom:11px}.home-page .product-card img{border-radius:4px}.home-page .bottom-nav{bottom:max(7px,env(safe-area-inset-bottom))}.home-page a{text-decoration:none}

/* Homepage administration */
.admin-shell{max-width:1460px}.homepage-admin{margin-bottom:24px}.homepage-admin-head{display:flex;align-items:flex-start;justify-content:space-between;padding:0 2px 14px;border-bottom:1px solid #dfe4ec}.homepage-admin-head p{font-size:10px;color:#8793a4;margin:0 0 5px}.homepage-admin-head h2{font-size:23px;margin:0 0 6px}.homepage-admin-head span{font-size:12px;color:#7f8a99}.homepage-admin-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:18px;padding-top:18px}.home-admin-card{min-width:0;background:#fff;border:1px solid #dfe5ee;border-radius:6px;padding:20px}.admin-card-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.admin-card-title h3{font-size:17px;margin:0}.admin-card-title span{font-size:11px;color:#8994a4}.admin-card-help{font-size:11px;color:#8793a4;margin:-5px 0 12px}.compact-form label{display:block;font-size:12px;color:#455164;margin-bottom:11px}.compact-form input{display:block;width:100%;height:38px;margin-top:6px;padding:0 10px;border:1px solid #d3dae5;border-radius:4px;background:#fff;font-size:12px}.compact-form input[type=file]{height:auto;padding:8px}.compact-form button,.save-hot{width:100%;height:39px;border:0;border-radius:4px;background:var(--blue);color:#fff;font-size:13px}.compact-form button:disabled{opacity:.5}.home-media-list{margin-top:15px;border-top:1px solid #edf0f4}.home-media-row{display:grid;grid-template-columns:54px minmax(0,1fr) auto;gap:10px;align-items:center;padding:11px 0;border-bottom:1px solid #edf0f4}.home-media-row img{width:54px;height:44px;object-fit:cover;border-radius:3px}.home-media-row strong,.home-media-row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.home-media-row strong{font-size:12px;margin-bottom:5px}.home-media-row small{font-size:10px;color:#8994a3}.home-media-remove{border:0;background:none;color:#a16a6a;font-size:11px}.home-media-empty{font-size:11px;color:#96a0ad;text-align:center;margin:15px 0 2px}.hot-picker{max-height:300px;overflow-y:auto;border:1px solid #e2e7ee;border-radius:4px;margin-bottom:12px}.hot-choice{display:grid;grid-template-columns:20px 1fr;align-items:center;gap:7px;padding:9px 10px;border-bottom:1px solid #edf0f4}.hot-choice:last-child{border-bottom:0}.hot-choice input{width:15px;height:15px}.hot-choice strong,.hot-choice small{display:block}.hot-choice strong{font-size:12px}.hot-choice small{font-size:10px;color:#929ca9;margin-top:3px}.home-admin-status{min-height:18px;font-size:12px;color:#456aa8;margin:10px 2px 0}.homepage-admin.collapsed .homepage-admin-grid,.homepage-admin.collapsed .home-admin-status{display:none}.homepage-admin-head .panel-toggle{margin-top:6px}.admin-grid{margin-bottom:40px}

@media(max-width:1000px){.homepage-admin-grid{grid-template-columns:1fr 1fr}.home-admin-card:last-child{grid-column:1/-1}}
@media(max-width:700px){.homepage-admin-grid{display:block}.home-admin-card{margin-bottom:14px}.homepage-admin-head span{display:block;max-width:260px;line-height:1.5}.admin-title{padding-top:32px}.admin-title h1{font-size:32px}}
@media(max-width:420px){.home-carousel{padding-left:12px;padding-right:12px}.home-search{padding-left:14px;padding-right:14px}.hot-section{padding-left:14px;padding-right:14px}.promo-section{padding-left:14px;padding-right:14px}.hot-grid{gap:12px 10px}.hot-item{grid-template-columns:40px 1fr;padding-left:4px;padding-right:7px;font-size:13px}.hot-icon{width:36px;height:36px;font-size:20px}.catalog{grid-template-columns:112px 1fr}.product-card{grid-template-columns:minmax(94px,116px) minmax(0,1fr)}.product-card img{width:100%;height:auto;aspect-ratio:1}.product-main{padding-top:22px}.product-name{font-size:16px}.product-sub{font-size:13px;gap:5px}.detail{font-size:12px}}

/* Promotional images keep their full aspect ratio and are display-only. */
.promo-card{aspect-ratio:auto;overflow:visible}.promo-card img{height:auto;object-fit:contain}

/* Admin navigation keeps large management sections out of the same long page. */
.admin-layout{display:grid;grid-template-columns:190px minmax(0,1fr);gap:24px;align-items:start}.admin-sidebar{position:sticky;top:18px;background:#fff;border:1px solid #dfe5ee;border-radius:6px;padding:10px}.admin-sidebar-title{padding:8px 10px 12px;color:#8a94a3;font-size:11px;letter-spacing:.08em}.admin-nav-item{display:flex;align-items:center;gap:9px;width:100%;min-height:42px;padding:0 11px;border:0;border-radius:4px;background:transparent;color:#4d5a6d;text-decoration:none;text-align:left;font:inherit;font-size:13px;cursor:pointer}.admin-nav-item span{width:18px;color:#7693c8;font-size:16px;text-align:center}.admin-nav-item:hover{background:#f1f5fc;color:var(--blue-dark)}.admin-nav-item.active{background:#e8f1ff;color:var(--blue-dark);font-weight:600}.admin-nav-link{margin-top:8px;border-top:1px solid #edf0f4;border-radius:0;padding-top:8px}.admin-content{min-width:0}.admin-view[hidden]{display:none!important}.admin-content>.admin-view{margin-bottom:24px}.admin-content>.admin-grid{margin-bottom:0}
@media(max-width:760px){.admin-layout{display:block}.admin-sidebar{position:static;display:flex;align-items:center;gap:4px;margin-bottom:18px;padding:7px;overflow-x:auto}.admin-sidebar-title{display:none}.admin-nav-item{width:auto;min-width:max-content;min-height:38px;padding:0 10px}.admin-nav-link{margin-top:0;border-top:0;padding-top:0}.admin-content>.admin-view{margin-bottom:18px}}

/* Product prices use one consistent currency format across the site. */
.product-main{padding-top:18px}.product-name{margin-bottom:9px}.product-price{margin-bottom:11px;color:#d4483b;font-size:18px;font-weight:700}.detail-price{margin:0 0 12px;color:#d4483b;font-size:25px;font-weight:700}.chat-product-price{display:block;margin:2px 0 4px;color:#d4483b;font-size:12px}.chat-product-share .chat-product-price{margin-top:4px}

/* Favorites and sharing. */
.product-main{position:relative;padding-right:32px}.product-favorite{position:absolute;right:0;top:11px;width:32px;height:32px;border:0;background:transparent;color:#7d8795;font-size:25px;line-height:1;cursor:pointer}.product-favorite.active{color:#d89b1d}.detail-header .detail-share{width:40px;height:40px;border:0;background:transparent;color:#fff;font-size:24px}.detail-actions{grid-template-columns:1fr 1fr 1.35fr}.detail-actions button{background:#fff;color:var(--blue)}.detail-actions #contactButton{background:var(--blue);color:#fff}.favorite-button span{font-size:20px;margin-right:5px}.favorite-button.active{border-color:#d89b1d;color:#b37a0d}.profile-sheet{max-height:92vh;overflow-y:auto}.favorite-section{margin:0 18px 18px;background:#fff;border:1px solid #e0e5ed;border-radius:6px}.favorite-heading{height:52px;display:flex;align-items:center;justify-content:space-between;padding:0 15px;border-bottom:1px solid #edf0f4}.favorite-heading h3{font-size:16px;margin:0}.favorite-heading span{font-size:11px;color:#8994a3}.favorite-list{max-height:300px;overflow-y:auto}.favorite-row{display:grid;grid-template-columns:minmax(0,1fr) 42px;align-items:center;border-bottom:1px solid #edf0f4}.favorite-row:last-child{border-bottom:0}.favorite-row>a{display:grid;grid-template-columns:58px minmax(0,1fr);gap:11px;align-items:center;padding:10px 12px;color:#263142;text-decoration:none}.favorite-row img{width:58px;height:58px;object-fit:cover;border-radius:3px}.favorite-row strong,.favorite-row span{display:block}.favorite-row strong{font-size:13px;margin-bottom:7px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.favorite-row span{color:#d4483b;font-size:13px;font-weight:700}.favorite-row>button{width:38px;height:38px;border:0;background:transparent;color:#d89b1d;font-size:22px}.favorite-empty{padding:25px 12px;margin:0;text-align:center;color:#929ca9;font-size:12px}.share-layer{position:fixed;inset:0;z-index:60;display:flex;align-items:flex-end;justify-content:center;background:rgba(14,25,48,.45);opacity:0;pointer-events:none;transition:opacity .2s}.share-layer.open{opacity:1;pointer-events:auto}.share-panel{width:min(100%,600px);background:#fff;border-radius:8px 8px 0 0;padding-bottom:max(20px,env(safe-area-inset-bottom));box-shadow:0 -8px 30px rgba(30,55,102,.25)}.share-panel>header{min-height:68px;display:flex;align-items:center;justify-content:space-between;padding:12px 18px;border-bottom:1px solid #e5e9f0}.share-panel>header strong,.share-panel>header span{display:block}.share-panel>header strong{font-size:17px;margin-bottom:4px}.share-panel>header span{max-width:440px;color:#8893a3;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.share-panel>header button{width:38px;height:38px;border:0;background:transparent;color:#65748a;font-size:28px}.share-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:18px}.share-options button{height:64px;border:1px solid #d8e0eb;border-radius:6px;background:#f7f9fc;color:#334157;font-size:14px}.share-options button span{display:block;margin-bottom:4px;color:var(--blue-dark);font-size:20px}.share-qr{width:220px;margin:0 auto 12px}.share-qr svg{display:block;width:100%;height:auto}.share-status{min-height:18px;margin:0 18px;text-align:center;color:#61708a;font-size:12px}
@media(max-width:420px){.detail-actions{padding-left:9px;padding-right:9px;gap:6px}.detail-actions button{font-size:12px}.product-main{padding-right:29px}.product-favorite{right:-3px}}

/* Display-only contact information in the profile and its admin editor. */
.profile-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 18px 18px}.profile-actions button{height:48px;border:1px solid #d9e0ea;border-radius:6px;background:#fff;color:#334157;font-size:14px}.profile-actions button span{margin-right:7px;color:var(--blue-dark);font-size:18px}.profile-contact{margin:0 18px 18px;background:#fff;border:1px solid #e0e5ed;border-radius:6px;overflow:hidden}.profile-contact[hidden]{display:none}.profile-contact-heading{height:52px;display:flex;align-items:center;justify-content:space-between;padding:0 15px;border-bottom:1px solid #edf0f4}.profile-contact-heading h3{font-size:16px;margin:0}.profile-contact-heading button{border:0;background:transparent;color:#6e7f98;font-size:12px}.profile-contact-content{padding:15px}.profile-contact-content p{margin:0 0 9px;color:#465267;font-size:14px;line-height:1.7;white-space:pre-wrap;word-break:break-word}.profile-contact-content img{display:block;width:100%;height:auto;margin-top:12px;border-radius:4px}.profile-contact-empty{text-align:center;color:#929ca9!important;font-size:12px!important}.contact-admin{margin:0 0 24px;background:#fff;border:1px solid #dfe5ee;border-radius:6px;padding:20px 22px}.contact-admin-head{display:flex;align-items:flex-end;justify-content:space-between;padding-bottom:14px;border-bottom:1px solid #edf0f4}.contact-admin-head p{font-size:10px;color:#8793a4;margin:0 0 5px}.contact-admin-head h2{font-size:23px;margin:0 0 6px}.contact-admin-head span{font-size:12px;color:#7f8a99}.contact-admin-form{max-width:720px;padding-top:17px}.contact-admin-form label{display:block;margin-bottom:14px;color:#455164;font-size:12px}.contact-admin-form textarea,.contact-admin-form input[type=file]{display:block;width:100%;margin-top:7px;border:1px solid #d3dae5;border-radius:4px;padding:10px;font-size:13px}.contact-admin-form textarea{resize:vertical}.contact-admin-form small{display:block;margin-top:6px;color:#8994a3}.contact-admin-form>button{height:39px;padding:0 18px;border:0;border-radius:4px;background:var(--blue);color:#fff;font-size:13px}.contact-admin-form>button:disabled{opacity:.55}.contact-admin-form>p{min-height:18px;margin:10px 0 0;color:#456aa8;font-size:12px}.contact-admin-images{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:12px;margin-top:14px}.contact-admin-image{position:relative;background:#f4f6f9;border:1px solid #e1e6ee;border-radius:4px;overflow:hidden}.contact-admin-image img{display:block;width:100%;height:120px;object-fit:cover}.contact-admin-image button{position:absolute;right:6px;top:6px;border:0;border-radius:3px;background:rgba(255,255,255,.92);color:#a05757;padding:5px 8px;font-size:11px}.contact-admin-empty{grid-column:1/-1;margin:0;padding:18px;text-align:center;color:#929ca9;font-size:12px;background:#f7f9fc;border-radius:4px}
@media(max-width:520px){.profile-actions{gap:8px}.contact-admin{padding:18px 16px}.contact-admin-head{display:block}.contact-admin-head>span{display:block;margin-top:9px}}

/* Consistent, high-visibility return-to-home action across inner pages. */
.home-return{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:0 13px;border:1px solid var(--blue);border-radius:4px;background:var(--blue);color:#fff!important;text-decoration:none;font-size:13px!important;font-weight:700!important;line-height:1;white-space:nowrap;box-shadow:0 3px 9px rgba(62,111,209,.2);transition:background .15s,border-color .15s,transform .15s}.home-return:hover{background:var(--blue-dark);border-color:var(--blue-dark)}.home-return:active{transform:translateY(1px)}.home-return:focus-visible{outline:3px solid rgba(85,134,230,.28);outline-offset:2px}.home-return-icon{font-size:19px;line-height:1;transform:translateY(-1px)}.home-return-on-blue{border-color:rgba(255,255,255,.65);background:rgba(43,91,183,.72);box-shadow:0 3px 10px rgba(25,59,126,.24)}.home-return-on-blue:hover{border-color:#fff;background:#356bc9}.detail-header{display:grid;grid-template-columns:116px minmax(0,1fr) 116px}.detail-header h1{text-align:center}.detail-header .detail-back{width:max-content;min-width:0;height:40px;font-size:13px}.detail-header .detail-share{justify-self:end}.products-header{grid-template-columns:116px minmax(0,1fr) 116px}.products-home{width:max-content}.service-topbar nav{align-items:center}.service-topbar nav>a:not(.home-return){font-weight:600;color:var(--blue-dark);text-decoration:none}.admin-header .back{color:#fff}.admin-header .service-link{align-self:center}
@media(max-width:420px){.home-return{min-height:38px;padding:0 10px;font-size:12px!important}.home-return-icon{font-size:18px}.detail-header,.products-header{grid-template-columns:106px minmax(0,1fr) 106px;padding-left:10px;padding-right:10px}}
@media(max-width:560px){.admin-header{gap:8px}.admin-header .service-link{margin-left:auto;margin-right:0}.admin-header .admin-brand{font-size:0}.admin-header .admin-brand span{font-size:12px;margin-left:0}.service-topbar h1{font-size:16px}.service-topbar nav{gap:8px}}

/* Dedicated products page */
.products-page{background:#fff}.products-header{height:66px;background:var(--blue);color:#fff;display:grid;grid-template-columns:110px 1fr 110px;align-items:center;padding:0 16px}.products-header h1{font-size:19px;font-weight:600;text-align:center;margin:0;letter-spacing:0}.products-home{color:#fff;font-size:13px;font-weight:600}.products-page .product-search{padding:18px 17px 17px}.products-page .series-tabs{padding:0 17px 11px;overflow-x:auto}.products-page .catalog{border-top:1px solid #edf0f5}.products-page .product-list{padding-top:12px}.products-page .product-card{border-bottom:1px solid #f0f1f4;padding-bottom:11px;margin-bottom:11px}.products-page .product-card img{border-radius:4px}.products-page a{text-decoration:none}.products-page .bottom-nav{bottom:max(7px,env(safe-area-inset-bottom))}
@media(max-width:420px){.products-header{grid-template-columns:95px 1fr 95px;padding:0 12px}.products-home{font-size:12px}}

/* Device identity */
.profile-layer{position:fixed;inset:0;background:rgba(14,25,48,.45);z-index:35;display:flex;align-items:flex-end;justify-content:center;opacity:0;pointer-events:none;transition:opacity .2s}.profile-layer.open{opacity:1;pointer-events:auto}.profile-sheet{width:min(100%,600px);background:#f5f7fb;border-radius:8px 8px 0 0;padding-bottom:max(22px,env(safe-area-inset-bottom));box-shadow:0 -8px 30px rgba(30,55,102,.25)}.profile-sheet>header{height:60px;background:#fff;border-bottom:1px solid #e5e9f0;display:flex;align-items:center;justify-content:space-between;padding:0 18px;border-radius:8px 8px 0 0}.profile-sheet>header h2{font-size:18px;margin:0}.profile-sheet>header button{border:0;background:none;color:#65748a;font-size:28px}.identity-card{margin:18px;background:var(--blue);color:#fff;border-radius:8px;min-height:156px;padding:23px 20px;display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:16px;align-items:center}.identity-avatar{width:72px;height:72px;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--blue-dark);font-size:21px;font-weight:700}.identity-copy{min-width:0}.identity-copy strong,.identity-copy span,.identity-copy small{display:block}.identity-copy strong{font-size:20px;margin-bottom:10px}.identity-copy span{font-size:17px}.identity-copy small{font-size:11px;color:#e4edff;margin-top:8px}.bind-phone-button{height:48px;border:0;border-radius:6px;background:#fff;color:#27364d;padding:0 18px;font-size:14px;white-space:nowrap}.phone-bind-form{margin:0 18px 18px;background:#fff;border:1px solid #e0e5ed;border-radius:6px;padding:16px}.phone-bind-form label{display:block;font-size:13px;color:#465267}.phone-bind-form input{display:block;width:100%;height:43px;margin-top:8px;border:1px solid #ccd4df;border-radius:4px;padding:0 11px;font-size:15px}.phone-bind-form>div{display:flex;justify-content:flex-end;gap:9px;margin-top:13px}.phone-bind-form button{height:38px;border:1px solid #ccd4df;border-radius:4px;background:#fff;color:#5c687a;padding:0 18px}.phone-bind-form button[type=submit]{border-color:var(--blue);background:var(--blue);color:#fff}.session-item em{display:block;font-style:normal;font-size:10px;color:var(--blue-dark);margin:-1px 0 5px}.visitor-admin{margin-bottom:24px}.visitor-admin-head{display:flex;align-items:flex-end;justify-content:space-between;padding:16px 2px 14px;border-bottom:1px solid #dfe4ec}.visitor-admin-head p{font-size:10px;color:#8793a4;margin:0 0 5px}.visitor-admin-head h2{font-size:23px;margin:0 0 6px}.visitor-admin-head span{font-size:12px;color:#7f8a99}.visitor-admin-head>div:last-child{display:flex;align-items:center;gap:12px}.visitor-admin-head>div:last-child strong{font-size:13px;color:#627087}.visitor-table-wrap{background:#fff;border:1px solid #dfe5ee;border-radius:6px;margin-top:18px;overflow:auto}.visitor-table{width:100%;border-collapse:collapse;min-width:760px}.visitor-table th,.visitor-table td{text-align:left;padding:13px 16px;border-bottom:1px solid #edf0f4;font-size:12px}.visitor-table th{background:#f7f9fc;color:#758093;font-weight:600}.visitor-table td{color:#3d4755}.visitor-table tbody tr:last-child td{border-bottom:0}.visitor-table td strong{color:var(--blue-dark)}.not-bound{color:#9ba4b1}.visitor-empty{text-align:center!important;color:#99a2af!important;padding:28px!important}.visitor-admin.collapsed .visitor-table-wrap{display:none}
@media(max-width:520px){.identity-card{grid-template-columns:58px minmax(0,1fr);gap:13px;padding:20px 16px}.identity-avatar{width:58px;height:58px}.identity-copy strong{font-size:18px}.identity-copy span{font-size:15px}.bind-phone-button{grid-column:1/-1;width:100%;height:43px}.profile-sheet{max-height:90vh;overflow-y:auto}}

/* Selected chat image */
.selected-image-preview{grid-column:1/-1;display:grid;grid-template-columns:54px minmax(0,1fr) 30px;gap:10px;align-items:center;min-height:62px;padding:7px 9px;background:#f3f6fa;border:1px solid #dbe1e9;border-radius:5px}.selected-image-preview[hidden]{display:none}.selected-image-preview img{width:48px;height:48px;object-fit:cover;border-radius:4px;background:#e8ebf0}.selected-image-preview span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#536174}.selected-image-preview button{width:28px!important;height:28px!important;border:0!important;border-radius:50%!important;background:#e2e7ee!important;color:#536174!important;padding:0!important;font-size:18px!important}.chat-compose:has(.selected-image-preview:not([hidden])),.operator-compose:has(.selected-image-preview:not([hidden])){align-items:end}

/* Keep the customer service composer inside every desktop viewport. */
.service-page{height:100vh;height:100dvh;overflow:hidden}.service-shell{height:100vh;height:100dvh;padding-bottom:16px;overflow:hidden}.service-workspace{height:calc(100vh - 104px);height:calc(100dvh - 104px);min-height:0}.session-panel,.operator-chat{min-height:0}.session-list,.operator-messages{min-height:0}.operator-chat{grid-template-rows:65px minmax(0,1fr) auto}.session-panel{grid-template-rows:auto minmax(0,1fr)}
@media(max-width:720px){.service-shell{height:100vh;height:100dvh;padding-bottom:0}.service-workspace{height:calc(100vh - 72px);height:calc(100dvh - 72px);min-height:0}}

/* Customer service auto-reply settings. */
.auto-reply-admin{margin:0 0 24px;background:#fff;border:1px solid #dfe5ee;border-radius:6px;padding:20px 22px}.auto-reply-head{display:flex;align-items:flex-end;justify-content:space-between;padding-bottom:14px;border-bottom:1px solid #edf0f4}.auto-reply-head p{font-size:10px;color:#8793a4;margin:0 0 5px}.auto-reply-head h2{font-size:23px;margin:0 0 6px}.auto-reply-head span{font-size:12px;color:#7f8a99}.auto-reply-switch{display:flex;align-items:center;gap:8px;font-size:12px;color:#455164;white-space:nowrap}.auto-reply-switch input{width:16px;height:16px}.auto-reply-form{max-width:720px;padding-top:17px}.auto-reply-form label{display:block;font-size:12px;color:#455164;margin-bottom:14px}.auto-reply-form textarea{display:block;width:100%;margin-top:7px;border:1px solid #d3dae5;border-radius:4px;padding:10px;font-size:13px;resize:vertical}.auto-reply-form input[type=file]{display:block;width:100%;height:auto;margin-top:7px;padding:8px;border:1px solid #d3dae5;border-radius:4px;font-size:12px}.auto-reply-form small{display:block;color:#8994a3;margin-top:6px}.auto-reply-form>button{height:39px;padding:0 18px;border:0;border-radius:4px;background:var(--blue);color:#fff;font-size:13px}.auto-reply-form>button:disabled{opacity:.55}.auto-reply-form>p{min-height:18px;font-size:12px;color:#456aa8;margin:10px 0 0}.auto-reply-image-preview{display:flex;align-items:center;gap:10px;margin-top:9px;padding:8px;background:#f5f7fa;border:1px solid #e1e6ee;border-radius:4px}.auto-reply-image-preview img{width:82px;height:58px;object-fit:cover;border-radius:3px}.auto-reply-image-preview span{font-size:11px;color:#536174;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.auto-reply-image-preview button{margin-left:auto;border:0;background:none;color:#a16a6a;font-size:11px;white-space:nowrap}
@media(max-width:520px){.auto-reply-admin{padding:18px 16px}.auto-reply-head{display:block}.auto-reply-switch{margin-top:14px}}

/* Product detail uploads use the full content width and keep their original ratio. */
.detail-gallery{grid-template-columns:minmax(0,1fr);gap:12px;width:calc(100% + 42px);margin-right:-21px;margin-left:-21px}
.detail-gallery img{display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:contain}

/* Keep product-management headings, counts and actions in distinct columns. */
.existing-head{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:12px;align-items:center}
.existing-head h2{min-width:0;white-space:nowrap}
.existing-head>span{margin:0;white-space:nowrap}
.existing-head .panel-toggle{margin-left:0;white-space:nowrap}
.nav-group-title{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:center;padding:14px 15px}
.nav-group-title>div{min-width:0}
.nav-group-title h3{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nav-group-title>span{white-space:nowrap}
.group-toggle{position:static;right:auto;top:auto;transform:none;white-space:nowrap;border:1px solid #cbd8ef;border-radius:4px;background:#fff;padding:5px 9px}
.admin-row{grid-template-columns:58px minmax(0,1fr) auto}
.admin-row>div:nth-child(2){min-width:0}
.admin-row h3,.admin-row p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.row-actions{flex-shrink:0;white-space:nowrap}
@media(max-width:420px){.existing-head{gap:8px}.existing h2{font-size:18px}.nav-group-title{gap:7px;padding-right:11px;padding-left:11px}.nav-group-title h3{font-size:15px}.sub-group{padding-right:10px;padding-left:10px}.row-actions{gap:7px}}

/* First-run permanent license activation. */
.activation-page{min-height:100vh;background:#edf1f7;color:#263142}.activation-shell{min-height:100vh;display:grid;place-items:center;padding:28px 16px}.activation-panel{width:min(100%,620px);background:#fff;border:1px solid #dce3ed;border-radius:8px;padding:34px;box-shadow:0 18px 50px rgba(43,62,95,.14)}.activation-mark{width:48px;height:48px;display:grid;place-items:center;border-radius:6px;background:var(--blue);color:#fff;font-size:28px;font-weight:700}.activation-kicker{margin:20px 0 6px;color:#75839a;font-size:10px;letter-spacing:.12em}.activation-panel h1{margin:0;color:#1f2a3a;font-size:28px;letter-spacing:0}.activation-intro{margin:14px 0 22px;color:#66748a;font-size:14px;line-height:1.8}.activation-info{margin:0 0 24px;border:1px solid #dce3ed;border-radius:6px;overflow:hidden}.activation-info>div{display:grid;grid-template-columns:88px minmax(0,1fr) 54px;align-items:center;min-height:54px;padding:8px 10px;border-bottom:1px solid #e7ebf1}.activation-info>div:last-child{border-bottom:0}.activation-info dt{color:#7c8899;font-size:12px}.activation-info dd{min-width:0;margin:0;color:#2f3c50;font-size:13px;font-weight:600;overflow-wrap:anywhere}.activation-info button{height:32px;border:1px solid #cbd8eb;border-radius:4px;background:#f7f9fc;color:#4c6fae;font-size:11px}.activation-panel form label{display:block;margin-bottom:8px;color:#354155;font-size:13px;font-weight:700}.activation-panel textarea{display:block;width:100%;min-height:116px;resize:vertical;border:1px solid #cbd4e0;border-radius:5px;padding:12px;color:#293548;font-family:Consolas,monospace;font-size:12px;line-height:1.6;outline:0}.activation-panel textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(85,134,230,.13)}.activation-panel form>button{width:100%;height:44px;margin-top:12px;border:0;border-radius:5px;background:var(--blue);color:#fff;font-size:14px;font-weight:700}.activation-panel form>button:disabled{opacity:.55}.activation-panel form>p{min-height:20px;margin:10px 0 0;color:#c14343;font-size:12px;line-height:1.6}.activation-note{margin:18px 0 0;padding-top:16px;border-top:1px solid #edf0f4;color:#8994a4;font-size:11px;line-height:1.7}
@media(max-width:520px){.activation-shell{padding:0}.activation-panel{min-height:100vh;border:0;border-radius:0;padding:28px 18px;box-shadow:none}.activation-panel h1{font-size:24px}.activation-info>div{grid-template-columns:72px minmax(0,1fr) 48px}.activation-info dd{font-size:11px}}

/* Unified administrator login for all management areas. */
.login-page{min-height:100vh;background:#edf1f7;color:#263142}.login-shell{min-height:100vh;display:grid;place-items:center;padding:28px 16px}.login-panel{position:relative;width:min(100%,460px);background:#fff;border:1px solid #dce3ed;border-radius:8px;padding:34px;box-shadow:0 18px 50px rgba(43,62,95,.14)}.login-home{position:absolute;right:24px;top:24px;color:#5475ac;text-decoration:none;font-size:12px}.login-mark{width:48px;height:48px;display:grid;place-items:center;border-radius:6px;background:var(--blue);color:#fff;font-size:17px;font-weight:700}.login-kicker{margin:20px 0 6px;color:#75839a;font-size:10px}.login-panel h1{margin:0;color:#1f2a3a;font-size:27px}.login-intro{margin:12px 0 24px;color:#6e7b8f;font-size:13px;line-height:1.7}.login-panel form label{display:block;margin-bottom:16px;color:#354155;font-size:13px;font-weight:700}.login-panel input{display:block;width:100%;height:44px;margin-top:8px;border:1px solid #cbd4e0;border-radius:5px;padding:0 12px;color:#293548;font-size:14px;outline:0}.login-panel input:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(85,134,230,.13)}.login-panel form>button{width:100%;height:44px;margin-top:2px;border:0;border-radius:5px;background:var(--blue);color:#fff;font-size:14px;font-weight:700}.login-panel form>button:disabled{opacity:.55}.login-status{min-height:20px;margin:10px 0 0;color:#c14343;font-size:12px;line-height:1.6}.login-note{margin:18px 0 0;padding-top:16px;border-top:1px solid #edf0f4;color:#8994a4;font-size:11px;line-height:1.7}.admin-logout,.service-logout{height:36px;border:1px solid #cbd5e5;border-radius:4px;background:#fff;color:#52647f;padding:0 12px;font-size:12px;white-space:nowrap}.admin-logout{margin-left:auto}.admin-logout:disabled,.service-logout:disabled{opacity:.55}.service-topbar .service-logout{cursor:pointer}.admin-header .service-link{margin-left:0}
@media(max-width:560px){.login-shell{padding:0}.login-panel{min-height:100vh;border:0;border-radius:0;padding:28px 18px;box-shadow:none}.login-home{right:18px;top:30px}.login-panel h1{font-size:24px}.admin-header .admin-logout{height:34px;padding:0 9px}.service-topbar nav>a:not(.home-return){display:none}.service-topbar .service-logout{height:34px;padding:0 8px}}

/* The mobile status strip and scan glyphs are not part of the storefront UI. */
.home-header{height:70px;padding-top:0}
.home-header .header-row{height:70px}
.home-search-box{grid-template-columns:minmax(0,1fr) 42px;padding-left:16px}
.status,.search-scan,.scan{display:none!important}
.admin-row{grid-template-columns:24px 18px 58px minmax(0,1fr) auto;cursor:grab}.admin-row.dragging{opacity:.45}.admin-order{font-size:12px;color:var(--blue-dark);font-weight:700;text-align:center}.drag-handle{font-size:16px;letter-spacing:-4px;color:#a7b0bd;cursor:grab;user-select:none}.admin-row:active{cursor:grabbing}
.detail-views{display:none!important}
.detail-header{grid-template-columns:116px minmax(0,1fr) auto;column-gap:8px}
.detail-header .detail-home-link{width:max-content;min-width:0;height:40px;font-size:13px!important;padding:0 9px}
.detail-header .detail-share{justify-self:end}
@media(max-width:420px){.detail-header{grid-template-columns:104px minmax(0,1fr) auto;column-gap:3px}.detail-header .detail-back{font-size:12px}.detail-header .detail-home-link{padding:0 6px;font-size:12px!important}}
.service-nav-item .service-icon{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--blue);font-size:19px;line-height:1;font-weight:700;box-shadow:0 2px 7px rgba(25,65,135,.2)}
.service-nav-item:hover .service-icon,.service-nav-item:focus-visible .service-icon{background:#eaf2ff;color:var(--blue-dark)}
.customer-chat{height:min(50vh,380px);max-height:50vh}
@media(max-width:560px){.chat-layer{padding:0 8px 8px}.customer-chat{width:100%;height:min(50vh,380px);max-height:50vh;border-radius:14px}}
.catalog-edit-overlay{position:fixed;inset:0;z-index:80;display:grid;place-items:center;padding:18px;background:rgba(20,34,58,.42)}
.catalog-edit-dialog{width:min(100%,380px);background:#fff;border:1px solid #dce3ed;border-radius:8px;padding:22px;box-shadow:0 18px 50px rgba(30,48,80,.25)}
.catalog-edit-dialog h3{margin:0 0 18px;font-size:18px;color:#263142}
.catalog-edit-dialog label{display:block;font-size:13px;color:#536174}
.catalog-edit-dialog input{display:block;width:100%;height:42px;margin-top:8px;border:1px solid #cbd5e2;border-radius:4px;padding:0 11px;font-size:14px;outline:0}
.catalog-edit-dialog input:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(85,134,230,.13)}
.catalog-edit-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:18px}
.catalog-edit-actions button{height:36px;border:1px solid #cbd5e2;border-radius:4px;padding:0 16px;background:#fff;color:#56657b;font-size:13px}
.catalog-edit-actions .catalog-edit-save{border-color:var(--blue);background:var(--blue);color:#fff}
