:root{--bg:#f5f8fc;--panel:#fff;--line:#e7eef7;--text:#132238;--sub:#66758d;--blue:#103fbe;--blue2:#1e62ff;--blue3:#0c2f8d;--ok:#16a34a;--warn:#f97316;--danger:#dc2626;--shadow:0 18px 50px rgba(16,35,63,.08)}
*{box-sizing:border-box}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;background:var(--bg);color:var(--text)}button,input,textarea,select{font:inherit}
.auth{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at top left,#eff5ff 0,#f7fbff 45%,#f3f7fc 100%)}.auth-card{width:min(920px,100%);display:grid;grid-template-columns:1fr 420px;border-radius:32px;overflow:hidden;background:#fff;box-shadow:0 30px 80px rgba(16,35,63,.12)}.auth-side{padding:36px;background:linear-gradient(160deg,#0d389f 0,#1958ec 55%,#3d88ff 100%);color:#fff}.auth-side h1{font-size:38px;line-height:1.1;margin:14px 0}.auth-side p{line-height:1.85;color:rgba(255,255,255,.84)}.auth-badges{display:grid;gap:10px;margin-top:20px}.auth-badge{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.16);border-radius:18px;padding:14px}.auth-main{padding:34px}.auth-main h2{margin:0 0 10px;font-size:30px}.field{margin:12px 0}.field label{display:block;font-size:14px;font-weight:700;margin-bottom:8px}.field input{width:100%;border:1px solid var(--line);border-radius:18px;padding:14px 16px}.auth-btn{width:100%;border:0;border-radius:18px;padding:14px 18px;background:linear-gradient(135deg,var(--blue2),var(--blue));color:#fff;font-weight:900;cursor:pointer;margin-top:12px}.helper{font-size:13px;color:var(--sub);line-height:1.8}.result{margin-top:12px;padding:12px 14px;border-radius:16px;display:none}.result.show{display:block}.ok{background:#ecfdf3;color:#166534;border:1px solid #bbf7d0}.err{background:#fff1f2;color:#be123c;border:1px solid #fecdd3}
.shell{display:none;min-height:100vh}.sidebar{width:260px;background:#0f0f23;color:#fff;position:fixed;inset:0 auto 0 0;padding:24px 18px 20px;display:flex;flex-direction:column;border-right:1px solid rgba(124,58,237,.18)}.brand{font-size:24px;font-weight:900;margin:4px 10px 22px}.tenant-meta{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);padding:14px;border-radius:18px;margin:0 8px 20px}.tenant-meta small{display:block;color:rgba(255,255,255,.52);margin-top:6px}.nav{display:grid;gap:8px}.nav button{display:flex;align-items:center;gap:10px;background:transparent;color:rgba(255,255,255,.72);border:0;border-radius:16px;padding:13px 14px;cursor:pointer;font-weight:800;text-align:left}.nav button.active,.nav button:hover{background:#7c3aed;color:#fff;box-shadow:0 8px 24px rgba(124,58,237,.28)}.side-bottom{margin-top:auto;padding:8px}.side-bottom button{width:100%;border:0;border-radius:16px;padding:12px;background:rgba(255,255,255,.08);color:#fff;font-weight:800;cursor:pointer}
.main{margin-left:260px;padding:28px}.topbar{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:20px}.topbar h1{margin:0;font-size:30px}.topbar p{margin:6px 0 0;color:var(--sub)}.status-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.pill{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);padding:10px 14px;border-radius:999px;box-shadow:var(--shadow);font-size:13px;font-weight:800}.switch{position:relative;width:56px;height:30px;display:inline-block}.switch input{opacity:0;width:0;height:0}.slider{position:absolute;inset:0;background:#cfd9ea;border-radius:999px;cursor:pointer;transition:.2s}.slider:before{content:"";position:absolute;width:24px;height:24px;left:3px;top:3px;border-radius:50%;background:#fff;transition:.2s;box-shadow:0 2px 6px rgba(0,0,0,.2)}.switch input:checked+.slider{background:#22c55e}.switch input:checked+.slider:before{transform:translateX(26px)}
.account-menu{position:relative}.account-trigger{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);border-radius:999px;padding:7px 12px;box-shadow:var(--shadow);font-weight:900;cursor:default}.account-avatar{width:26px;height:26px;border-radius:50%;object-fit:cover;background:#eef3fb;display:grid;place-items:center;color:#173052;font-size:12px;font-weight:900}.account-dropdown{display:none;position:absolute;right:0;top:40px;min-width:148px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 18px 48px rgba(16,35,63,.14);padding:8px;z-index:20}.account-menu:hover .account-dropdown{display:block}.account-dropdown button{display:block;width:100%;text-align:left;border:0;background:transparent;color:var(--text);border-radius:10px;padding:10px 12px;cursor:pointer;font-weight:800}.account-dropdown button:hover{background:#eef3fb}
.view{display:none}.view.active{display:block}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:20px;box-shadow:var(--shadow)}.card h3{margin:0 0 8px;font-size:15px;color:#60718b}.big{font-size:38px;font-weight:900}.chart{display:flex;align-items:end;gap:10px;height:220px;margin-top:20px}.bar-wrap{flex:1;display:flex;flex-direction:column;align-items:center;gap:10px}.bar{width:100%;border-radius:16px 16px 8px 8px;background:linear-gradient(180deg,#70a2ff 0,#1c5dff 100%);min-height:10px}.bar-num{font-size:13px;font-weight:800;color:#325286}.bar-label{font-size:12px;color:#70819d}
.toolbar{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:14px}.btn{border:0;border-radius:16px;padding:11px 16px;font-weight:800;cursor:pointer}.btn-primary{background:linear-gradient(135deg,var(--blue2),var(--blue));color:#fff}.btn-light{background:#eef3fb;color:#173052}.btn-danger{background:#ef4444;color:#fff}.btn-warn{background:#f97316;color:#fff}.input,.select,.textarea{width:100%;border:1px solid var(--line);border-radius:16px;padding:13px 14px;background:#fff}.textarea{min-height:148px;resize:vertical}.grid-3{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:16px}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:16px}.muted{color:var(--sub);font-size:13px;line-height:1.8}.chip-list{display:flex;flex-wrap:wrap;gap:10px}.chip{display:inline-flex;align-items:center;gap:10px;background:#eef6ff;border:1px solid #d8e7ff;border-radius:999px;padding:9px 12px}.chip b{max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chip button{width:22px;height:22px;border:0;border-radius:999px;background:#ef4444;color:#fff;cursor:pointer}
table{width:100%;border-collapse:collapse}th,td{padding:12px 10px;border-bottom:1px solid #eef2f8;text-align:left;font-size:14px;vertical-align:top}th{color:#5d6d86;font-size:13px}tr:hover td{background:#fbfdff}.table-wrap{overflow:auto}.empty{padding:28px;border:1px dashed #d9e2ef;border-radius:20px;background:#fafcff;color:#70819d;text-align:center}.section-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.section-title h2{margin:0;font-size:22px}.pager{display:flex;justify-content:center;gap:10px;align-items:center;margin-top:14px;flex-wrap:wrap}.pager-jump{display:inline-flex;align-items:center;gap:8px;background:#f7faff;border:1px solid var(--line);border-radius:14px;padding:6px 8px 6px 12px}.pager-jump input{width:70px;border:1px solid var(--line);border-radius:10px;padding:8px;text-align:center;background:#fff}.pager-jump button{border:0;border-radius:10px;padding:8px 10px;background:#173052;color:#fff;font-weight:800;cursor:pointer}.check{width:auto}.link-cell{max-width:420px;word-break:break-all}.notice{padding:12px 14px;border-radius:16px;background:#eff6ff;color:#1d4ed8;border:1px solid #dbeafe}
.modal-mask{position:fixed;inset:0;background:rgba(15,23,42,.36);display:none;align-items:center;justify-content:center;z-index:50;padding:20px}.modal-mask.show{display:flex}.modal{width:min(94vw,520px);background:#fff;border-radius:22px;padding:22px;box-shadow:0 30px 90px rgba(16,35,63,.2)}.modal-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.modal-top h2{margin:0;font-size:22px}.close{border:0;background:#eef3fb;color:#173052;border-radius:12px;width:34px;height:34px;cursor:pointer}.profile-preview{display:flex;align-items:center;gap:12px;margin:8px 0 14px}.profile-preview img{width:58px;height:58px;border-radius:50%;object-fit:cover;background:#eef3fb}
.sms-row{display:grid;grid-template-columns:1fr 116px;gap:8px;align-items:center}.sms-row .btn{height:42px;padding:0 12px;white-space:nowrap}.phone-bind-modal .notice{margin-bottom:14px}
.brand{display:flex;align-items:center;gap:10px;font-size:20px;white-space:nowrap}.brand-logo{width:34px;height:34px;border-radius:12px;object-fit:cover;background:#fff}.account-trigger{cursor:pointer}.account-caret{font-size:12px;color:#73829a;margin-left:2px}.dashboard-grid{display:grid;gap:16px}.hero-metrics{display:grid;grid-template-columns:1fr 1fr;gap:16px}.hero-card{position:relative;overflow:hidden;border:1px solid rgba(30,98,255,.12);background:linear-gradient(145deg,#ffffff 0,#f7fbff 48%,#eef6ff 100%);min-height:176px;padding:24px}.hero-card:before{content:"";position:absolute;right:18px;top:18px;width:132px;height:132px;border-radius:50%;background:linear-gradient(135deg,rgba(30,98,255,.16),rgba(20,184,166,.1));filter:blur(.2px)}.hero-card h3,.mini-card h3{position:relative;margin:0;color:#5f708a;font-size:14px}.hero-value{position:relative;font-size:54px;line-height:1.05;font-weight:950;letter-spacing:0;margin-top:16px;color:#10233f}.hero-note{position:relative;margin-top:12px;color:#66758d;font-size:13px}.mini-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.mini-card{padding:18px;background:#fff}.mini-card .big{font-size:32px;margin-top:6px;color:#203a5f}.trend-filter{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;margin-top:16px}.quick-date{display:inline-flex;border:1px solid #dfe6f1;border-radius:4px;overflow:hidden;background:#fff}.quick-date button{min-width:64px;border:0;border-right:1px solid #dfe6f1;background:#fff;padding:9px 14px;cursor:pointer;color:#132238}.quick-date button:last-child{border-right:0}.quick-date button.active{background:#eef6ff;color:#1e62ff;box-shadow:inset 0 0 0 1px #409eff}.date-range{display:flex;align-items:center;border:1px solid #dfe6f1;border-radius:4px;background:#fff;height:38px;overflow:hidden}.date-range span{padding:0 12px;color:#132238;font-weight:900}.date-input-wrap{display:flex;align-items:center;gap:8px;padding:0 12px;color:#8b98aa}.date-range input{width:138px;border:0;outline:0;height:36px;color:#132238}.dashboard-charts{display:grid;grid-template-columns:1fr;gap:16px;margin-top:16px}.bar-chart{height:278px;margin-top:10px;overflow-x:auto;overflow-y:hidden;padding-bottom:4px}.daily-bars{height:238px;min-width:720px;display:grid;align-items:end;gap:7px;border-top:1px solid #eef3fa;border-bottom:1px solid #eef3fa;padding:16px 4px 4px}.day-bar-wrap{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:7px}.day-bar{width:100%;max-width:18px;border-radius:8px 8px 3px 3px;background:linear-gradient(180deg,#6ea0ff 0,#1e62ff 100%);min-height:8px;box-shadow:0 8px 18px rgba(30,98,255,.16)}.day-bar.fan{background:linear-gradient(180deg,#5eead4 0,#14b8a6 100%);box-shadow:0 8px 18px rgba(20,184,166,.14)}.day-num{height:16px;font-size:11px;font-weight:800;color:#345072}.day-label{height:15px;font-size:10px;color:#73829a;writing-mode:vertical-rl;line-height:1}.progress-box{display:none;margin-top:12px}.progress-box.show{display:block}.progress-track{height:10px;border-radius:999px;background:#e6edf7;overflow:hidden}.progress-fill{width:0;height:100%;border-radius:999px;background:linear-gradient(90deg,#1e62ff,#14b8a6);transition:width .25s ease}.progress-text{font-size:12px;color:#66758d;margin-top:6px}.quick-panel{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.quick-group{border:1px solid var(--line);border-radius:18px;padding:14px;background:#fbfdff}.quick-group b{display:block;margin-bottom:10px}.quick-group .btn{width:100%;margin-top:8px}.ops-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px}.ops-grid.ops-single{grid-template-columns:minmax(0,1fr)}.ops-card{border-radius:20px}.ops-card .field{margin:9px 0}.ops-card textarea{min-height:88px}.ops-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:12px}.ops-stat{background:#f7fbff;border:1px solid #dfe8f6;border-radius:16px;padding:12px}.ops-stat b{display:block;font-size:12px;color:#60718b}.ops-stat span{display:block;font-size:24px;font-weight:950;margin-top:4px}.selector-box{max-height:320px;overflow:auto;border:1px solid var(--line);border-radius:18px;padding:10px;background:#fbfdff;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.selector-box label{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:10px;border:1px solid #e3ebf6;border-radius:14px;background:#fff;min-height:58px}.selector-box label:hover{background:#eef6ff}.selector-avatar{width:34px;height:34px;border-radius:50%;object-fit:cover;background:#dce8fb;color:#173052;display:grid;place-items:center;font-weight:900;overflow:hidden}.selector-name{font-weight:900;color:#173052;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.selector-tools{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}.file-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.upload-tile{width:64px;height:64px;border:1px dashed #9bb4da;border-radius:16px;background:#f7fbff;color:#1e62ff;font-size:32px;font-weight:700;display:grid;place-items:center;cursor:pointer;overflow:hidden}.upload-tile img{width:100%;height:100%;object-fit:cover;display:none}.upload-tile.has-image span{display:none}.upload-tile.has-image img{display:block}.qrcode-box{display:none;margin-top:14px;border:1px solid #dfe8f6;border-radius:18px;background:#f7fbff;padding:14px;align-items:center;gap:14px}.qrcode-box.show{display:flex}.qrcode-box img{width:128px;height:128px;border-radius:12px;background:#fff;border:1px solid var(--line);object-fit:contain}.qrcode-box b{display:block;margin-bottom:5px}.qrcode-box a{color:#1e62ff;font-weight:900;word-break:break-all}.card-data-panel{min-height:100%;background:linear-gradient(145deg,#fff 0,#f7fbff 60%,#eef6ff 100%)}.card-data-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.card-data-item{border:1px solid #dfe8f6;background:rgba(255,255,255,.76);border-radius:16px;padding:12px}.card-data-item b{display:block;color:#60718b;font-size:12px}.card-data-item span{display:block;margin-top:5px;font-size:24px;font-weight:950;color:#132238}.mini-day-chart{height:88px;display:flex;align-items:end;gap:5px;margin-top:14px;padding:12px 2px 0;border-top:1px solid #e6eef9}.mini-hour{flex:1;min-width:4px;border-radius:7px 7px 3px 3px;background:linear-gradient(180deg,#70a2ff,#1e62ff);min-height:5px;opacity:.92}.list-actions{margin:8px 0 14px}.avatar-upload{display:flex;align-items:center;gap:16px;margin:12px 0 16px;white-space:nowrap}.avatar-upload-control{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:120px}.avatar-upload-btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:14px;padding:11px 18px;background:linear-gradient(135deg,var(--blue2),var(--blue));color:#fff;font-weight:900;cursor:pointer}.avatar-temp{width:72px;height:72px;border-radius:22px;object-fit:cover;background:#eef3fb;border:1px solid var(--line);flex:0 0 auto}.avatar-file{display:none}
.ops-card{padding:18px 20px}.ops-form{display:grid;gap:14px}.ops-compact-head{display:grid;grid-template-columns:minmax(180px,260px) minmax(150px,190px) 1fr;gap:12px;align-items:start}.ops-compact-name{max-width:260px}.ops-material-panel{display:grid;grid-template-columns:minmax(340px,1.2fr) minmax(280px,.8fr);gap:14px;align-items:start;border:1px solid #dfe8f6;border-radius:20px;background:linear-gradient(145deg,#fbfdff 0,#f5f9ff 100%);padding:14px}.broadcast-compose{grid-template-columns:minmax(360px,1fr) minmax(520px,1.2fr)}.broadcast-action-panel{display:grid;grid-template-columns:220px 1fr;gap:12px;align-items:start}.broadcast-action-main{display:grid;gap:10px;justify-items:stretch}.broadcast-action-panel .ops-material-extra{margin-top:0}.broadcast-action-panel .ops-upload-row{margin-top:0}.contact-way-config{display:grid;grid-template-columns:minmax(360px,1fr) minmax(320px,.72fr);gap:14px;align-items:start}.contact-attach-panel{display:grid;gap:10px;border:1px solid #dfe8f6;border-radius:18px;background:#fbfdff;padding:14px}.contact-attach-panel .ops-material-extra{margin-top:0}.ops-material-fields{display:grid;grid-template-columns:150px 1fr;gap:10px}.ops-material-single{grid-template-columns:minmax(150px,210px)}.ops-material-extra{display:none;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}.ops-upload-row{display:none}.ops-textarea{min-height:112px}.ops-action-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:10px}.ops-section{border:1px solid #e4ecf7;border-radius:20px;background:#fff;padding:12px}.ops-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.ops-section-head label{font-size:14px;font-weight:950;color:#173052}.ops-section-head .selector-tools{margin:0}.ops-help{display:block;margin-top:6px;color:#73829a;font-size:12px;line-height:1.5}.selector-box{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));max-height:320px;padding:10px;gap:10px;border-radius:16px}.selector-box label{grid-template-columns:auto 1fr;position:relative;min-height:58px;padding:11px 44px 11px 11px;border-radius:15px;gap:11px}.selector-box label:hover{border-color:#bcd3ff;box-shadow:0 8px 20px rgba(30,98,255,.07)}.selector-box .check{position:absolute;right:14px;top:50%;transform:translateY(-50%)}.selector-avatar{width:36px;height:36px;font-size:13px}.selector-name{font-size:14px}.ops-section-senders .selector-box{max-height:230px}.ops-section-targets .selector-box{max-height:min(68vh,680px);grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}.ops-section-targets .selector-box label{min-height:68px}.ops-section-targets .selector-avatar{width:42px;height:42px}.ops-section-targets .selector-name{font-size:15px}.ops-card .upload-tile{width:58px;height:58px;border-radius:15px}.ops-card .file-row{align-items:center}.ops-card .btn{border-radius:14px}.ops-split-card{display:grid;gap:14px}.ops-inline-grid{display:grid;grid-template-columns:minmax(170px,250px) minmax(160px,220px);gap:12px;align-items:start}.ops-three-grid{display:grid;grid-template-columns:minmax(160px,240px) 1fr 1fr;gap:10px}.ops-wide-note{grid-column:1/-1}.qrcode-box{align-items:flex-start}.ops-create-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.ops-create-row .muted{margin:0}.way-cards,.group-card-list,.verify-card-list,.broadcast-history{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px}.way-card,.group-card,.verify-card,.broadcast-card{border:1px solid #e4ecf7;border-radius:18px;background:#fbfdff;padding:12px;display:grid;gap:10px;min-height:116px}.group-card:hover,.verify-card:hover,.broadcast-card:hover,.way-card:hover{border-color:#bcd3ff;box-shadow:0 10px 26px rgba(30,98,255,.09)}.way-card.active{border-color:#1e62ff;box-shadow:0 10px 26px rgba(30,98,255,.12)}.way-card-top,.group-card-top,.broadcast-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.way-card b,.group-card b,.verify-card b,.broadcast-card b{font-size:15px}.way-card .muted,.group-card .muted,.verify-card .muted,.broadcast-card .muted{line-height:1.5}.way-card-actions,.group-card-actions{display:flex;gap:8px;flex-wrap:wrap}.way-card-actions{flex-wrap:nowrap}.way-card-actions .btn{padding:9px 11px;white-space:nowrap}.wecom-group-card{min-height:420px}.group-card-list,.verify-card-list{max-height:540px;overflow:auto;padding-right:4px}.group-count{font-size:24px;font-weight:950;color:#173052}.broadcast-metrics{display:grid;grid-template-columns:1fr 1fr;gap:10px}.broadcast-metrics div{border:1px solid #dfe8f6;border-radius:14px;background:#fff;padding:10px}.broadcast-metrics b{display:block;font-size:24px}.broadcast-metrics span{font-size:12px;color:#66758d}.broadcast-snippet{position:relative;color:#173052;font-weight:800;line-height:1.65;max-height:52px;overflow:hidden}.broadcast-pop{display:none;position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:10;background:#fff;border:1px solid #dfe8f6;border-radius:16px;padding:12px;box-shadow:0 18px 48px rgba(16,35,63,.14);white-space:pre-wrap;font-weight:700;color:#132238}.broadcast-snippet:hover .broadcast-pop{display:block}.invite-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);gap:16px}.invite-form{display:grid;grid-template-columns:minmax(170px,240px) minmax(220px,1fr) minmax(140px,170px) minmax(120px,150px) auto;gap:12px;align-items:start;margin-bottom:14px}.invite-summary-grid{display:grid;gap:10px}.invite-summary-grid div{border:1px solid #dfe8f6;border-radius:16px;background:#fbfdff;padding:14px}.invite-summary-grid b{display:block;font-size:16px;color:#173052}.invite-summary-grid span{display:block;margin-top:5px;color:#66758d;font-size:13px;line-height:1.6}.invite-cards{display:grid;gap:14px}.invite-card{border:1px solid #dfe8f6;border-radius:20px;background:linear-gradient(145deg,#fbfdff,#fff);padding:14px}.invite-card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap}.invite-card h3{margin:0;color:#132238;font-size:18px}.invite-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0}.invite-metrics div{border:1px solid #e4ecf7;border-radius:14px;background:#fff;padding:10px}.invite-metrics b{display:block;font-size:22px;color:#132238}.invite-metrics span{display:block;color:#66758d;font-size:12px}.reward-tag{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:900;background:#eef6ff;color:#1e40af}.reward-tag.ok{background:#ecfdf3;color:#166534}.reward-tag.wait{background:#fff7ed;color:#9a3412}.qr-modal{max-width:420px;text-align:center}.qr-preview{display:grid;place-items:center;background:#f7fbff;border:1px solid var(--line);border-radius:20px;padding:18px}.qr-preview img{width:min(280px,70vw);height:min(280px,70vw);object-fit:contain;background:#fff;border-radius:16px}@media(max-width:1080px){.cards,.grid-3,.grid-2,.hero-metrics,.mini-metrics,.dashboard-charts,.quick-panel,.ops-grid,.ops-list,.ops-compact-head,.ops-material-panel,.broadcast-compose,.broadcast-action-panel,.contact-way-config,.ops-inline-grid,.ops-three-grid,.invite-layout,.invite-form{grid-template-columns:1fr}.ops-compact-name{max-width:none}.auth-card{grid-template-columns:1fr}.auth-side{display:none}} @media(max-width:860px){.sidebar{position:static;width:auto;height:auto;inset:auto;border-radius:0 0 26px 26px}.shell{display:block}.main{margin-left:0;padding:18px}.nav{grid-template-columns:1fr 1fr}.topbar h1{font-size:26px}.selector-box,.ops-section-targets .selector-box{grid-template-columns:1fr}.invite-metrics{grid-template-columns:1fr 1fr}} @media(max-width:560px){.nav{grid-template-columns:1fr}.cards{grid-template-columns:1fr}.main{padding:16px}.hero-value{font-size:42px}.daily-bars{min-width:660px}.ops-section-head{align-items:flex-start;flex-direction:column}.ops-material-fields,.ops-material-extra{grid-template-columns:1fr}.way-card-actions{flex-wrap:wrap}.invite-metrics{grid-template-columns:1fr}}
.daily-bars{min-width:760px;gap:8px}
.day-bar{max-width:28px;border-radius:10px 10px 4px 4px;min-height:10px}
.day-label{height:18px;line-height:18px;white-space:nowrap;writing-mode:horizontal-tb}
.control-metric{border:1px solid var(--line);border-radius:18px;background:#fbfdff;padding:14px}.control-metric b{display:block;color:#60718b;font-size:12px}.control-metric span{display:block;margin-top:6px;font-size:24px;font-weight:950;color:#132238}.status-dot{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:900;background:#ecfdf3;color:#166534}.status-dot.warn{background:#fff7ed;color:#9a3412}.status-dot.danger{background:#fff1f2;color:#be123c}.feature-row{display:grid;grid-template-columns:140px repeat(8,minmax(70px,1fr));gap:8px;align-items:center;border-bottom:1px solid #eef2f8;padding:10px 0}.feature-row b{color:#173052}.tiny-toggle{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#66758d}.tiny-toggle input{width:auto}.rank-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.rank-box{border:1px solid var(--line);border-radius:16px;padding:12px;background:#fbfdff}.rank-box b{display:block;margin-bottom:8px}.log-badge{display:inline-flex;border-radius:999px;padding:4px 8px;background:#eef6ff;color:#1e40af;font-size:12px;font-weight:900}
.short-url-result{display:flex;align-items:center;gap:8px;min-width:0;flex:1}.short-url-result .input{height:42px}.copy-icon-btn{width:42px;height:42px;border:0;border-radius:14px;background:#eef3fb;color:#173052;font-size:20px;font-weight:950;cursor:pointer}.copy-icon-btn:hover{background:#dfeaff}.broadcast-action-centered{align-self:center}.contact-name-row{grid-template-columns:minmax(180px,260px) minmax(150px,210px)}.contact-attach-panel{min-height:156px;align-content:start}
.pdd-preview-nav{justify-content:center}.pdd-preview-brand{text-align:center}.pdd-preview-brand b{font-size:17px}
.lt-domain-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;background:#fff;border:1px solid var(--line);border-radius:22px;padding:16px 18px;box-shadow:var(--shadow)}
.lt-domain-current{display:flex;align-items:center;gap:8px;min-width:260px;font-size:15px}.lt-domain-current span{font-weight:950;color:#173052;word-break:break-all}.lt-domain-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.lt-domain-actions .select{width:auto;min-width:210px;height:42px;padding:9px 12px}.lt-domain-modal{max-width:640px}.lt-dns-guide{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}.lt-dns-guide div{border:1px solid #dfe8f6;border-radius:16px;background:#fbfdff;padding:12px}.lt-dns-guide b{display:block;color:#60718b;font-size:12px}.lt-dns-guide span{display:block;margin-top:5px;color:#132238;font-size:16px;font-weight:950;word-break:break-all}.lt-plugin-box{display:flex;gap:12px;flex-wrap:wrap;border:1px solid #dfe8f6;background:#fbfdff;border-radius:16px;padding:12px;margin:12px 0}.lt-hide{display:none!important}
.lt-workbench{min-height:calc(100vh - 190px);display:flex;flex-direction:column;padding-bottom:64px}.lt-workbench-head{margin:0 0 16px}.lt-workbench-head h1{margin:0;font-size:24px;color:#333}.lt-content-card{background:#fff;border-radius:16px;padding:20px 24px;box-shadow:0 2px 12px rgba(0,0,0,.06);border:1px solid #f0f0f0;margin-bottom:16px}.lt-action-bar{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-bottom:16px}.lt-action-bar .btn{border-radius:8px;padding:10px 14px}.lt-action-bar .btn:disabled{opacity:.48;cursor:not-allowed}.lt-group-select{width:150px;height:42px;border-radius:8px}.lt-search-input{width:220px;height:42px;border-radius:20px;flex-shrink:0}.lt-batch-bar{background:#e6f7ff;padding:10px 16px;border-radius:8px;margin-bottom:16px;display:flex;align-items:center;gap:12px;font-size:14px}.lt-table{overflow:auto}.lt-table table{min-width:980px}.lt-table th{font-size:14px;color:#606266}.lt-table td{height:58px;vertical-align:middle}.short-link{color:#409eff;font-size:15px;font-weight:600}.link-original{font-size:13px;color:#999;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:360px}.copy-icon{color:#999}.pv-cell{display:flex;flex-direction:column;align-items:center}.pv-today{font-size:14px;color:#409eff;font-weight:500}.pv-total{font-size:14px;color:#666}.op-btns{display:flex;gap:6px;justify-content:center}.op-btns .btn{padding:7px 9px;border-radius:8px}.lt-bottom-bar{position:fixed;bottom:0;left:260px;right:0;display:flex;justify-content:space-between;align-items:center;padding:10px 32px;background:#fff;border-top:1px solid var(--line);z-index:30;box-shadow:0 -2px 8px rgba(0,0,0,.04)}.lt-pager{display:flex;gap:6px}.lt-pager .btn{border-radius:6px;padding:8px 12px}.lt-pager .active{background:#409eff;color:#fff}.lt-create-dialog{max-width:520px}.lt-batch-dialog{max-width:700px}.lt-form{display:grid;gap:10px}.lt-form-row{display:grid;grid-template-columns:90px 1fr;gap:10px;align-items:center}.lt-form-row label{font-weight:700;color:#606266}.lt-form-row label span{color:#ef4444}.lt-form-row.inline{grid-template-columns:90px auto 1fr}.lt-form-row em{font-style:normal;font-size:12px;color:#999}.lt-divider{display:flex;align-items:center;color:#606266;font-size:13px;margin:6px 0}.lt-divider:before,.lt-divider:after{content:"";height:1px;background:#e5e7eb;flex:1}.lt-divider span{padding:0 12px}.lt-switch{position:relative;width:40px;height:22px;display:inline-block}.lt-switch input{display:none}.lt-switch span{position:absolute;inset:0;background:#dcdfe6;border-radius:999px;transition:.2s}.lt-switch span:before{content:"";position:absolute;width:18px;height:18px;left:2px;top:2px;border-radius:50%;background:#fff;transition:.2s;box-shadow:0 1px 3px rgba(0,0,0,.25)}.lt-switch input:checked+span{background:#409eff}.lt-switch input:checked+span:before{transform:translateX(18px)}.lt-switch.small{width:38px;height:20px}.lt-switch.small span:before{width:16px;height:16px}.lt-sub-panel{margin-left:100px;display:grid;gap:8px}.lt-url-line{display:flex;gap:8px;margin-bottom:6px}.lt-dialog-footer{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.lt-dialog-footer .btn{border-radius:8px}.lt-batch-area{display:grid;grid-template-columns:1fr auto 1fr;gap:14px;align-items:center}.lt-batch-label{font-weight:700;color:#606266;margin-bottom:8px}.lt-batch-area .textarea{min-height:190px}.lt-batch-action{display:flex;justify-content:center}
@media(max-width:860px){.lt-domain-bar{align-items:flex-start}.lt-domain-current,.lt-domain-actions,.lt-domain-actions .select{width:100%;min-width:0}.lt-dns-guide{grid-template-columns:1fr}}
@media(max-width:860px){.lt-bottom-bar{left:0}.lt-form-row,.lt-form-row.inline,.lt-batch-area{grid-template-columns:1fr}.lt-sub-panel{margin-left:0}.lt-search-input,.lt-group-select{width:100%}}
.pdd-preview{min-height:640px;border-radius:28px;background:linear-gradient(160deg,#dcecff 0,#f8fbff 48%,#fff6df 100%);padding:24px;display:grid;place-items:center;overflow:hidden}
.pdd-phone{width:min(390px,100%);min-height:590px;border-radius:34px;background:#fff;box-shadow:0 30px 80px rgba(16,35,63,.18);padding:22px;display:flex;flex-direction:column;gap:16px}
.pdd-phone-media{height:150px;border-radius:24px;background:linear-gradient(135deg,#ff6b35,#ffcb45);background-size:cover;background-position:center;display:grid;place-items:center;color:#fff;text-align:center;padding:16px}
.pdd-phone-media b{font-size:28px;line-height:1.15}.pdd-phone h3{font-size:26px;margin:4px 0 0}.pdd-phone p{margin:0;color:#66758d;line-height:1.7}
.pdd-phone .pdd-cta{border:0;border-radius:18px;padding:15px 18px;background:linear-gradient(135deg,#ff4d2e,#ff8a00);color:#fff;font-weight:950;font-size:16px}
.pdd-phone .pdd-qr{width:118px;height:118px;border-radius:18px;object-fit:cover;border:1px solid #ffe2bf;background:#fff}
.pdd-phone .pdd-row{display:flex;align-items:center;gap:14px;border:1px solid #fff0d9;border-radius:20px;background:#fffaf1;padding:14px}
.pdd-phone .pdd-notice{margin-top:auto;border:1px solid #e7eef7;border-radius:18px;background:#f8fbff;padding:12px;color:#60718b;font-size:13px;line-height:1.7}
.pdd-admin-card{background:linear-gradient(145deg,#fff 0,#f8fbff 100%)}.pdd-admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.pdd-admin-wide{grid-column:1/-1}.pdd-admin-help{margin-top:10px}.pdd-preview{background:#f0f2f5;padding:16px;align-items:start}.pdd-preview-shell{width:min(520px,100%);margin:0 auto}.pdd-preview-nav{background:rgba(255,255,255,.94);border:1px solid #e2e8f0;border-radius:18px;padding:10px 12px;display:flex;align-items:center;gap:10px;margin-bottom:12px}.pdd-preview-icon{width:32px;height:32px;border-radius:8px;background:linear-gradient(135deg,#2563eb,#3b82f6);display:grid;place-items:center;color:#fff}.pdd-preview-brand b{display:block;font-size:16px}.pdd-preview-brand span{display:block;font-size:11px;color:#94a3b8;line-height:1}.pdd-preview-stat{display:flex;align-items:stretch;background:linear-gradient(135deg,#2563eb,#3b82f6);border-radius:18px;padding:18px 8px;margin-bottom:12px;box-shadow:0 10px 28px rgba(37,99,235,.22)}.pdd-preview-stat div{flex:1;text-align:center;color:#fff}.pdd-preview-stat b{display:block;font-size:28px;line-height:1.15}.pdd-preview-stat span{font-size:12px;opacity:.92}.pdd-preview-divider{width:1px;background:rgba(255,255,255,.35);margin:4px 0}.pdd-preview-tutorial{width:100%;border:1.5px solid rgba(37,99,235,.45);background:#fff;color:#dc2626;border-radius:14px;padding:11px 16px;font-weight:800;margin-bottom:14px}.pdd-preview-card{background:#fff;border:1px solid rgba(226,232,240,.9);border-radius:18px;padding:16px;margin-bottom:14px;box-shadow:0 2px 12px rgba(15,23,42,.06)}.pdd-preview-kicker{font-size:11px;color:#94a3b8;margin-bottom:2px}.pdd-preview-title{font-size:17px;font-weight:900;color:#1e3a5f;margin-bottom:14px}.pdd-preview-row{display:flex;gap:8px}.pdd-preview-input{flex:1;border:1.5px solid #e2e8f0;border-radius:12px;background:#f8fafc;padding:12px 14px;text-align:center;color:#94a3b8;letter-spacing:3px}.pdd-preview-btn{border:0;border-radius:12px;background:linear-gradient(135deg,#2563eb,#3b82f6);color:#fff;font-weight:900;padding:12px 18px}.pdd-preview-ghost{border:1.5px solid rgba(37,99,235,.35);border-radius:12px;background:#fff;color:#2563eb;font-weight:800;padding:12px 14px}.pdd-preview-msg{font-size:12px;color:#64748b;margin-top:10px}.pdd-preview-list-head{display:flex;align-items:center;gap:8px;font-weight:900}.pdd-preview-badge{min-width:22px;height:22px;border-radius:999px;background:#dbeafe;color:#1d4ed8;font-size:12px;display:grid;place-items:center;padding:0 7px}.pdd-preview-tabs{display:flex;gap:8px;margin:14px 0}.pdd-preview-tab{flex:1;border:1.5px solid rgba(37,99,235,.35);background:#fff;color:#2563eb;border-radius:999px;padding:8px 10px;font-weight:800}.pdd-preview-tab.active{background:linear-gradient(135deg,#2563eb,#3b82f6);color:#fff;border-color:transparent}.pdd-preview-li{display:flex;justify-content:space-between;align-items:center;gap:12px;border:1px solid #e2e8f0;border-radius:14px;background:#fafbff;padding:14px 12px}.pdd-preview-code{font-size:20px;font-weight:900;color:#059669;letter-spacing:2px}.pdd-preview-meta{font-size:11px;color:#94a3b8}.pdd-preview-copy{border:0;border-radius:10px;background:linear-gradient(135deg,#2563eb,#3b82f6);color:#fff;font-weight:800;padding:8px 14px;white-space:nowrap}
.meal-admin-panel{border:1px solid #dff7eb;background:linear-gradient(145deg,#fbfffd,#f7fffb);border-radius:18px;padding:14px;margin-top:14px}.meal-admin-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.meal-admin-head b{font-size:16px}.meal-admin-grid{display:grid;grid-template-columns:1fr;gap:10px}.meal-card{background:linear-gradient(145deg,#fbfffd,#fff);border:1px solid #d9f8e8;border-radius:18px;padding:16px;margin-bottom:14px}.meal-card h3{font-size:22px;margin:0 0 4px;color:#172033}.meal-card p{color:#64748b;margin:0 0 14px}.meal-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.meal-btn{height:54px;border-radius:16px;border:1.5px solid #f0cfa7;background:#fff8ef;color:#b45309;font-weight:950;display:flex;align-items:center;justify-content:center;gap:8px}.meal-btn.jd{border-color:#f2c8d0;background:#fff7f8;color:#b91c1c}.meal-btn.mt{border-color:#f5e48a;background:#fffde8;color:#854d0e}.meal-icon{width:26px;height:26px;border-radius:8px;display:grid;place-items:center;color:#fff;font-size:13px;font-weight:950}.meal-icon.tb{background:#f97316}.meal-icon.jd{background:#ef4444}.meal-icon.mt{background:#facc15;color:#222}
.pdd-stats-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:12px}.pdd-stats-grid .card-data-item{grid-column:span 4}.pdd-stats-grid .pdd-stat-main{grid-column:span 3;padding:18px;background:linear-gradient(145deg,#fff,#f3f8ff)}.pdd-stats-grid .pdd-stat-main span{font-size:34px}.pdd-url-row{display:flex;align-items:center;gap:8px}.pdd-url-row .input{height:46px}.pdd-url-row .copy-icon-btn{flex:0 0 46px;height:46px}@media(max-width:1100px){.pdd-stats-grid .pdd-stat-main{grid-column:span 6}.pdd-stats-grid .card-data-item{grid-column:span 4}}@media(max-width:860px){.pdd-stats-grid{grid-template-columns:1fr}.pdd-stats-grid .card-data-item,.pdd-stats-grid .pdd-stat-main{grid-column:auto}}
.pdd-preview-actions{display:grid;grid-template-columns:1fr;gap:10px;margin-bottom:14px}.pdd-preview-actions.two{grid-template-columns:1fr 1fr}.pdd-preview-actions .pdd-preview-tutorial{margin-bottom:0}.pdd-preview-tutorial.fan{color:#1d4ed8;border-color:rgba(37,99,235,.35)}
.pdd-preview-nav{justify-content:center}.pdd-preview-brand{text-align:center}.pdd-preview-brand b{font-size:17px}
.lt-ssl-badge{display:inline-flex;align-items:center;margin-left:8px;border-radius:999px;padding:4px 8px;background:#fff7ed;color:#9a3412;font-size:12px;font-style:normal;font-weight:900;white-space:nowrap}.lt-ssl-badge.ok{background:#ecfdf3;color:#166534}.lt-ssl-badge.bad{background:#fff1f2;color:#be123c}
.nav button{justify-content:center!important;text-align:center!important}.lt-group-select{height:44px!important;line-height:44px!important;padding:0 34px 0 14px!important;display:inline-flex!important;align-items:center!important}.lt-table th.center,.lt-table td.center{text-align:center!important;vertical-align:middle!important}.pv-cell{align-items:center!important;justify-content:center!important;line-height:1.7}.op-btns{align-items:center!important;justify-content:center!important;flex-wrap:nowrap}.lt-create-dialog{width:min(94vw,920px)!important;max-width:920px!important}.lt-create-dialog.wide{width:min(94vw,980px)!important;max-width:980px!important}.lt-form-row.top{align-items:start}.lt-form-row.top label{padding-top:12px}.stats-summary{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:20px}.chart-area{display:flex;align-items:flex-end;gap:4px;height:150px;background:#fafafa;border-radius:8px;padding:16px 8px 40px;position:relative}.chart-bar-wrap{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;position:relative}.chart-bar{width:100%;max-width:30px;background:linear-gradient(180deg,#409eff,#66b1ff);border-radius:4px 4px 0 0;min-height:2px}.chart-label{font-size:10px;color:#999;margin-top:4px;position:absolute;bottom:-28px;white-space:nowrap}.stat-item{background:#f5f5f5;border-radius:8px;padding:16px 20px;text-align:center;flex:1;min-width:90px}.stat-val{font-size:24px;font-weight:600;color:#333}.stat-lbl{font-size:12px;color:#999;margin-top:4px}
.nav button{justify-content:flex-start!important;text-align:left!important;font-size:16px!important;line-height:1.25!important;padding:15px 16px!important;letter-spacing:.2px}.nav{gap:9px!important}.brand{font-size:21px!important}
.lt-upload-line{display:flex;align-items:center;gap:10px;width:100%}.lt-upload-line .input{flex:1}.avatar-temp.small{width:46px;height:46px;border-radius:12px;object-fit:cover}.lt-page-preview-modal{width:min(94vw,460px)!important}.lt-page-preview{display:grid;place-items:center;background:#f7fbff;border:1px solid var(--line);border-radius:20px;padding:18px}.lt-preview-phone{width:min(360px,100%);background:#fff;border-radius:24px;border:1px solid #e5edf8;box-shadow:0 18px 50px rgba(16,35,63,.10);padding:18px}.lt-preview-sender{display:flex;align-items:center;gap:12px;margin-bottom:16px}.lt-preview-sender img{width:48px;height:48px;border-radius:50%;object-fit:cover;background:#eef3fb}.lt-preview-sender b{display:block;color:#132238;font-size:16px}.lt-preview-sender span{display:block;color:#66758d;font-size:12px;margin-top:4px}.lt-preview-content{display:grid;gap:12px;color:#1f2d44;line-height:1.75}.lt-preview-content p{margin:0;white-space:normal}.lt-preview-content img{width:100%;border-radius:16px;border:1px solid #edf2f8;object-fit:cover}.lt-domain-actions .btn{white-space:nowrap}
.nav button{font-size:16px!important;justify-content:flex-start!important;text-align:left!important}.nav-icon{width:20px;height:20px;flex:0 0 20px;display:inline-block;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;opacity:.95}.nav button span{display:inline-block}.nav button.active .nav-icon,.nav button:hover .nav-icon{opacity:1}
.local-sync-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:14px;align-items:stretch}.local-sync-main{display:grid;gap:10px}.local-sync-side{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px}.local-sync-side div{border:1px solid #dfe8f6;border-radius:16px;background:#fbfdff;padding:16px 10px;text-align:center}.local-sync-side b{display:block;font-size:28px;color:#173052}.local-sync-side span{display:block;margin-top:5px;color:#66758d;font-weight:800}@media(max-width:860px){.local-sync-grid{grid-template-columns:1fr}.local-sync-side{grid-template-columns:1fr 1fr 1fr}}
.lt-domain-modal{width:min(94vw,980px)!important;max-width:980px!important}.lt-create-dialog,.lt-create-dialog.wide{width:min(94vw,860px)!important;max-width:860px!important}.lt-batch-dialog{width:min(96vw,1180px)!important;max-width:1180px!important;min-height:720px;max-height:90vh;overflow:auto}.lt-batch-area .textarea{min-height:360px}.lt-page-editor-modal{width:min(96vw,1240px)!important;max-width:1240px!important;max-height:90vh;overflow:auto}.lt-page-head-grid{grid-template-columns:1fr 1fr 1.35fr}.lt-page-editor-layout{display:grid;grid-template-columns:minmax(0,1.1fr) 420px;gap:18px;align-items:start}.lt-page-builder,.lt-page-live{border:1px solid #e3edf9;background:#fbfdff;border-radius:18px;padding:14px}.lt-page-toolbar{margin:8px 0 12px}.lt-page-blocks{display:grid;gap:10px;max-height:520px;overflow:auto;padding-right:4px}.lt-page-block{border:1px solid #dce8f6;border-radius:14px;background:#fff;padding:12px;display:grid;gap:9px}.lt-page-block-head{display:flex;align-items:center;justify-content:space-between}.lt-page-block-head .btn{padding:6px 10px;border-radius:8px}.lt-page-live-preview{background:#ededed;border-radius:20px;padding:0;min-height:620px;overflow:hidden;border:1px solid #d6dbe3}.lt-chat-preview-phone{width:100%;min-height:620px;background:#ededed;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif}.lt-chat-top{height:54px;background:#f7f7f7;border-bottom:1px solid #ddd;display:flex;align-items:center;justify-content:center;font-size:17px;font-weight:800;color:#111;position:sticky;top:0;z-index:1}.lt-chat-body{padding:16px 14px 28px;max-height:566px;overflow:auto}.lt-chat-row{display:flex;align-items:flex-start;gap:10px;margin-bottom:16px}.lt-chat-avatar{width:42px;height:42px;border-radius:4px;object-fit:cover;background:#ccc;flex:0 0 auto}.lt-chat-main{min-width:0;flex:1}.lt-chat-name{font-size:12px;color:#999;margin-bottom:4px;padding-left:4px}.lt-chat-bubble{display:inline-block;max-width:82%;word-break:break-all}.lt-chat-bubble.text{background:#fff;padding:10px 14px;border-radius:4px 12px 12px;box-shadow:0 1px 2px rgba(0,0,0,.06);font-size:15px;line-height:1.7;color:#333}.lt-chat-text a{color:#576b95!important;text-decoration:none!important}.lt-chat-bubble.media{background:transparent;padding:0;border-radius:8px}.lt-chat-bubble.media img{display:block;max-width:240px;max-height:320px;border-radius:8px;box-shadow:0 1px 4px rgba(0,0,0,.12);object-fit:contain}.lt-chat-bubble.media video{display:block;max-width:280px;max-height:360px;border-radius:8px;background:#000;box-shadow:0 1px 4px rgba(0,0,0,.15)}.lt-chat-empty{text-align:center;color:#999;font-size:15px;padding:80px 20px}.lt-preview-content video{display:block;width:100%;max-height:360px;border-radius:14px;background:#000;margin:10px 0}.lt-preview-content a{color:#2563eb;font-weight:800;text-decoration:none}.center-toast{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%) scale(.96);z-index:99999;background:rgba(15,23,42,.92);color:#fff;padding:14px 24px;border-radius:999px;font-weight:900;font-size:16px;box-shadow:0 18px 50px rgba(15,23,42,.25);opacity:0;pointer-events:none;transition:.18s ease}.center-toast.show{opacity:1;transform:translate(-50%,-50%) scale(1)}.inline-copy{display:flex;align-items:center;gap:8px;min-width:220px}.copy-mini{width:30px;height:30px;border:0;border-radius:10px;background:#edf4ff;color:#2563eb;font-weight:900;cursor:pointer}.copy-mini:hover{background:#dbeafe}#ltCodeDialog .lt-create-dialog{width:min(96vw,1280px)!important;max-width:1280px!important;max-height:90vh;overflow:auto}.lt-subcode-list{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;max-height:360px;overflow:auto;padding-right:4px}.lt-subcode-card{border:1px solid #dfe8f6;border-radius:14px;background:#fbfdff;padding:8px;display:grid;gap:7px}.lt-subcode-card img{width:100%;aspect-ratio:1/1;border-radius:10px;object-fit:contain;background:#fff;border:1px solid #eef2f8}.lt-subcode-meta{display:grid;gap:5px}.lt-subcode-meta label{font-size:11px;color:#66758d;font-weight:800}.lt-subcode-meta .input{padding:8px 9px;border-radius:10px}.lt-subcode-card .btn{padding:7px 8px;border-radius:10px}.lt-domain-current{min-width:auto}.lt-domain-actions .muted,.lt-ssl-badge{display:none!important}.nav button[data-view="dashboard"] .nav-icon{width:21px;height:21px}
@media(max-width:980px){.lt-page-head-grid,.lt-page-editor-layout{grid-template-columns:1fr}.lt-page-live-preview{min-height:360px}.lt-subcode-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
.lt-domain-timeline{display:grid;gap:10px;margin:12px 0 14px}.lt-domain-step{display:grid;grid-template-columns:34px 1fr;gap:10px;align-items:start;padding:10px 12px;border:1px solid #e2ecf8;background:#f8fbff;border-radius:14px}.lt-domain-step>b{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#2563eb;color:#fff;font-size:14px}.lt-domain-step strong{display:block;color:#14213a;font-size:14px;margin-bottom:3px}.lt-domain-step p{margin:0;color:#65758d;font-size:13px;line-height:1.6}
.lt-batch-progress{margin-top:16px;border:1px solid #dbeafe;background:#f8fbff;border-radius:14px;padding:12px 14px}.lt-batch-progress-top{display:flex;align-items:center;justify-content:space-between;font-size:13px;color:#475569;font-weight:800;margin-bottom:8px}.lt-batch-progress-track{height:10px;border-radius:999px;background:#e2e8f0;overflow:hidden}.lt-batch-progress-track i{display:block;width:0;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#14b8a6);transition:width .18s ease}
.lt-short-dialog{width:min(96vw,1040px)!important;max-width:1040px!important}.lt-short-dialog .lt-form{gap:14px}.lt-short-dialog .lt-form-row{grid-template-columns:100px 1fr}.lt-group-combo{display:grid;grid-template-columns:minmax(180px,260px) 1fr;gap:10px;align-items:center}.lt-group-combo .select,.lt-group-combo .input{height:44px}
@media(max-width:760px){.lt-short-dialog .lt-form-row,.lt-group-combo{grid-template-columns:1fr}}
.lt-short-dialog{min-height:720px!important;max-height:90vh!important;overflow:auto!important}.lt-group-combo .select#ltShortGroupSelect{height:48px!important;min-height:48px!important;line-height:48px!important;padding-top:0!important;padding-bottom:0!important;display:block!important;box-sizing:border-box!important}.lt-group-combo .select#ltShortGroupSelect option{line-height:36px}.lt-group-combo .input#ltShortGroup{height:48px!important;line-height:48px!important;padding-top:0!important;padding-bottom:0!important;box-sizing:border-box!important}
.lt-short-dialog{min-height:0!important;width:min(96vw,980px)!important;max-width:980px!important}.lt-short-dialog .lt-form{gap:14px}.lt-short-dialog .lt-form-row{grid-template-columns:96px minmax(0,1fr)!important;align-items:center}.lt-short-dialog .lt-form-row>.input,.lt-short-dialog .lt-form-row>.lt-group-combo{width:100%}.lt-short-dialog .lt-group-combo{grid-template-columns:1fr!important;gap:8px}.lt-short-dialog #ltShortGroupSelect,.lt-short-dialog #ltShortGroup{width:100%;height:48px!important;line-height:48px!important}.lt-short-switch-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:2px}.lt-short-switch-item{min-height:72px;border:1px solid #e2ecf8;background:#f8fbff;border-radius:14px;padding:12px 14px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.lt-short-switch-item b{display:block;color:#172033;font-size:14px}.lt-short-switch-item em{display:block;margin-top:6px;font-style:normal;color:#718096;font-size:12px;line-height:1.45}.lt-short-dialog .lt-sub-panel{margin-left:96px;background:#fbfdff;border:1px solid #e2ecf8;border-radius:14px;padding:12px}.lt-short-dialog .lt-dialog-footer{margin-top:12px}@media(max-width:860px){.lt-short-dialog .lt-form-row,.lt-short-switch-row{grid-template-columns:1fr!important}.lt-short-dialog .lt-sub-panel{margin-left:0}}

.bottle-lib-list,.bottle-campaign-list,.bottle-review-list{display:grid;gap:12px}.bottle-lib,.bottle-campaign,.bottle-review{border:1px solid var(--line);border-radius:20px;background:#fbfdff;padding:14px}.bottle-lib-top,.bottle-campaign-top,.bottle-review-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.bottle-qr-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:10px;margin-top:12px}.bottle-qr{border:1px solid #e3ebf6;border-radius:16px;background:#fff;padding:8px;text-align:center}.bottle-qr img{width:100%;aspect-ratio:1/1;object-fit:contain;border-radius:12px;background:#f8fbff}.bottle-qr span{display:block;margin-top:5px;font-size:12px;color:#66758d;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bottle-upload{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:12px}.bottle-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}.bottle-metrics div{border:1px solid #dfe8f6;background:#fff;border-radius:14px;padding:10px}.bottle-metrics b{display:block;font-size:20px}.bottle-review-img{width:120px;height:120px;border-radius:16px;object-fit:cover;border:1px solid var(--line);background:#fff;cursor:pointer}@media(max-width:860px){.bottle-metrics{grid-template-columns:1fr 1fr}}
.bottle-entry-box{margin-top:12px;border:1px solid #dbeafe;border-radius:16px;background:#f8fbff;padding:12px;display:grid;gap:10px}.bottle-entry-warning{border:1px solid #fed7aa;background:#fff7ed;color:#9a3412;border-radius:12px;padding:10px 12px;font-size:13px;font-weight:800;line-height:1.55}.bottle-entry-row{display:flex;align-items:center;gap:8px}.bottle-entry-row .input{height:42px}.bottle-entry-row .copy-mini{flex:0 0 36px;width:36px;height:36px}
.bottle-lib.summary{background:linear-gradient(145deg,#fff,#f8fbff)}.bottle-lib.summary .bottle-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.bottle-group-picker{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}.bottle-lib-modal{width:min(96vw,1120px)!important;max-width:1120px!important;max-height:90vh;overflow:auto}.bottle-edit-head{display:grid;grid-template-columns:minmax(180px,1fr) auto auto auto;gap:10px;align-items:center;margin-bottom:12px}.bottle-modal-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:12px;margin-top:14px}.bottle-qr.edit{position:relative;cursor:pointer}.bottle-qr.edit input{position:absolute;right:10px;top:10px;z-index:2;width:18px;height:18px}.bottle-qr.edit em{display:inline-flex;margin-top:6px;border-radius:999px;padding:4px 8px;background:#ecfdf3;color:#166534;font-size:12px;font-style:normal;font-weight:900}.bottle-qr.edit.claimed{opacity:.72}.bottle-qr.edit.claimed em{background:#eef2f7;color:#66758d}@media(max-width:760px){.bottle-edit-head,.bottle-group-picker{grid-template-columns:1fr}.bottle-modal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.bottle-lib-table{border:1px solid #dfe8f6;border-radius:18px;overflow:hidden;background:#fff}.bottle-lib-row{display:grid;grid-template-columns:minmax(150px,1fr) 72px 72px 72px minmax(360px,1.8fr);align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid #eef3fa}.bottle-lib-row:last-child{border-bottom:0}.bottle-lib-row.head{background:#f6f9fe;color:#5d6d86;font-weight:900;font-size:13px}.bottle-lib-name{min-width:0}.bottle-lib-name b{display:block;color:#132238;font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bottle-lib-name span{display:block;color:#7b8aa2;font-size:12px;margin-top:4px}.bottle-lib-num{font-size:18px;font-weight:950;color:#173052;text-align:center}.bottle-lib-actions,.bottle-lib-action-head{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;align-items:center}.bottle-lib-action-head span{text-align:center;white-space:nowrap}.bottle-lib-actions .btn{padding:9px 10px;white-space:nowrap}.bottle-edit-body{margin-top:14px}.bottle-edit-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px;padding:10px;border:1px solid #e2ecf8;border-radius:14px;background:#f8fbff}.bottle-edit-toolbar .btn{padding:8px 12px;border-radius:10px}.bottle-edit-body>.pager{margin-top:16px}.bottle-lib-modal{width:min(98vw,1760px)!important;max-width:1760px!important}.bottle-modal-grid{grid-template-columns:repeat(20,minmax(0,1fr));gap:8px}.bottle-qr.edit{padding:5px;border-radius:10px}.bottle-qr.edit input{left:6px;right:auto;top:6px;width:14px;height:14px}.bottle-qr.edit img{margin-top:14px;border-radius:8px}.bottle-qr.edit span{font-size:10px;margin-top:3px}.bottle-qr.edit em{font-size:10px;padding:2px 5px;margin-top:3px}@media(max-width:1380px){.bottle-modal-grid{grid-template-columns:repeat(12,minmax(0,1fr))}.bottle-lib-row{grid-template-columns:minmax(140px,1fr) repeat(3,66px) minmax(300px,1.55fr)}}@media(max-width:860px){.bottle-lib-row,.bottle-lib-row.head{grid-template-columns:1fr}.bottle-lib-row.head{display:none}.bottle-lib-actions{grid-template-columns:1fr}.bottle-modal-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
.bottle-review-panel{margin-top:12px;border:1px solid #e2ecf8;border-radius:18px;background:#f8fbff;padding:12px;display:grid;gap:10px}.bottle-review-row{display:grid;grid-template-columns:minmax(180px,1fr) minmax(140px,.8fr) 84px minmax(180px,.9fr);align-items:center;gap:12px;border:1px solid #e6eef9;border-radius:16px;background:#fff;padding:10px}.bottle-review-row b{display:block;color:#132238}.bottle-review-actions{display:flex;gap:8px;flex-wrap:wrap}.bottle-review-actions .btn{padding:8px 12px;border-radius:10px}.bottle-review-toggle{display:inline-flex;align-items:center;gap:8px}.bottle-review-toggle b{font-size:15px}@media(max-width:900px){.bottle-review-row{grid-template-columns:1fr}.bottle-review-img{width:96px;height:96px}}
.bottle-campaign-modal{width:min(94vw,780px)!important;max-width:780px!important}.bottle-campaign-modal .tiny-toggle{margin:4px 0 14px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:14px}
.bottle-campaign-table{border:1px solid #dfe8f6;border-radius:18px;overflow:hidden;background:#fff}.bottle-campaign-row{display:grid;grid-template-columns:minmax(130px,.9fr) minmax(130px,.9fr) minmax(270px,1.45fr) minmax(130px,.82fr) minmax(260px,1.45fr) minmax(250px,1.18fr);gap:10px;align-items:center;padding:12px 14px;border-bottom:1px solid #eef3fa}.bottle-campaign-row:last-child{border-bottom:0}.bottle-campaign-row.head{background:#f6f9fe;color:#5d6d86;font-size:13px;font-weight:900}.bottle-campaign-name b{display:block;font-size:15px;color:#132238}.bottle-campaign-name span{display:block;margin-top:4px;font-size:12px;color:#7b8aa2}.bottle-campaign-groups{display:flex;gap:6px;flex-wrap:wrap;max-height:58px;overflow:hidden}.bottle-campaign-groups span{border:1px solid #dfe8f6;background:#f8fbff;border-radius:999px;padding:5px 8px;font-size:12px;color:#173052;font-weight:800}.bottle-campaign-data{display:grid;grid-template-columns:repeat(3,auto);gap:2px 8px;align-items:end}.bottle-campaign-data b{font-size:20px;color:#173052;line-height:1}.bottle-campaign-data span{font-size:12px;color:#66758d}.bottle-campaign-entry{display:grid;gap:7px;min-width:0}.bottle-campaign-entry .bottle-entry-row{min-width:0}.bottle-campaign-entry .input{height:36px;font-size:12px}.bottle-campaign-entry .copy-mini{width:32px;height:32px;flex-basis:32px}.bottle-entry-warning.compact{padding:7px 9px;font-size:12px}.bottle-campaign-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.bottle-campaign-actions .btn{padding:9px 10px;white-space:nowrap;border-radius:12px}@media(max-width:1280px){.bottle-campaign-row{grid-template-columns:1fr 1fr}.bottle-campaign-row.head{display:none}.bottle-campaign-actions{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:760px){.bottle-campaign-row{grid-template-columns:1fr}.bottle-campaign-actions{grid-template-columns:1fr 1fr}}
.bottle-upload-floating{position:fixed;left:50%;bottom:28px;transform:translateX(-50%);width:min(92vw,520px);z-index:9999;margin:0;padding:14px 16px;border:1px solid #dbeafe;border-radius:18px;background:#fff;box-shadow:0 18px 60px rgba(16,35,63,.18)}
.bottle-upload-floating.show{display:block}
#bottleLibraries{max-height:360px;overflow:auto;padding-right:4px}.bottle-create-inline{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}.bottle-create-inline .field{margin:0}.bottle-create-inline .btn{height:46px;white-space:nowrap}.bottle-form-inline{display:grid;grid-template-columns:1fr 1fr;gap:12px}.bottle-lib-row.head>div:nth-child(2),.bottle-lib-row.head>div:nth-child(3),.bottle-lib-row.head>div:nth-child(4){text-align:center}.bottle-campaign-actions{grid-template-columns:1fr!important;align-self:stretch;align-content:center}.bottle-campaign-data{grid-template-columns:repeat(3,minmax(0,1fr));align-items:center}.bottle-campaign-data div{text-align:center;border:1px solid #e6eef9;border-radius:12px;background:#fbfdff;padding:8px 6px}.bottle-campaign-data div b{display:block;font-size:20px;line-height:1.1}.bottle-campaign-data div span{display:block;margin-top:3px;font-size:12px;color:#66758d}.bottle-review-toggle{grid-column:1/-1;justify-content:center;padding:8px 10px!important;border-radius:12px!important}.bottle-review-panel{margin:0 14px 12px;border-radius:14px;padding:8px;background:#f8fbff}.bottle-review-row{grid-template-columns:minmax(170px,1fr) minmax(120px,.75fr) 58px minmax(130px,.7fr);gap:10px;padding:8px}.bottle-review-row b{font-size:14px}.bottle-review-row span{display:block;color:#66758d;font-size:12px;margin-top:3px}.bottle-review-img{width:52px;height:52px;border-radius:10px}.bottle-review-actions{justify-content:flex-end;align-items:center}.bottle-review-actions .btn{padding:7px 10px;border-radius:10px}.review-status,.review-done{display:inline-flex!important;align-items:center;justify-content:center;border-radius:999px;padding:5px 9px;font-style:normal;font-size:12px;font-weight:900}.review-status.pending{background:#fff7ed;color:#9a3412}.review-status.approved,.review-done{background:#ecfdf3;color:#166534}.review-status.rejected{background:#fff1f2;color:#be123c}@media(max-width:760px){.bottle-create-inline,.bottle-form-inline{grid-template-columns:1fr}#bottleLibraries{max-height:460px}.bottle-review-row{grid-template-columns:1fr}.bottle-campaign-actions{grid-template-columns:1fr!important}}
.bottle-review-row{grid-template-columns:minmax(130px,1fr) minmax(130px,1fr) minmax(150px,1fr) 88px minmax(170px,.95fr);align-items:center;column-gap:22px}.bottle-review-row.head{background:#eef4fb;color:#60718b;font-size:12px;font-weight:900;border-color:#dfe8f6}.bottle-review-row.head div{white-space:nowrap;text-align:center}.bottle-review-row>div{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center;justify-self:center;width:100%}.bottle-review-actions{gap:6px;justify-content:center;align-items:center}.bottle-review-actions .btn{padding:6px 12px!important;font-size:12px}.review-done.rejected{background:#fff1f2;color:#be123c}@media(max-width:760px){.bottle-review-row,.bottle-review-row.head{grid-template-columns:1fr}.bottle-review-row.head{display:none}.bottle-review-row>div{white-space:normal}}
.bottle-campaign-row{padding:8px 12px}.bottle-campaign-name b{font-size:14px}.bottle-campaign-name span{margin-top:2px}.bottle-campaign-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;max-height:none;overflow:visible}.bottle-campaign-groups span{display:flex;align-items:center;justify-content:center;min-height:28px;padding:4px 6px;white-space:nowrap;line-height:1.2;overflow:hidden;text-overflow:ellipsis}.bottle-campaign-data div{padding:6px 5px}.bottle-campaign-data div b{font-size:18px}.bottle-campaign-entry{gap:5px}.bottle-campaign-entry .input{height:32px}.bottle-campaign-actions{grid-template-columns:repeat(4,minmax(0,70px))!important;justify-content:center;align-content:center;gap:6px}.bottle-campaign-actions .btn{padding:7px 7px!important;border-radius:10px!important;font-size:12px;min-width:0}.bottle-review-toggle{padding:6px 8px!important;font-size:12px}.bottle-lib-actions .btn,.bottle-edit-head .btn,.bottle-edit-toolbar .btn,.bottle-review-actions .btn{background:#eef3fb!important;color:#173052!important}.bottle-create-inline>.btn,.card:has(#bottleCampaignName)>button.btn-primary{background:linear-gradient(135deg,var(--blue2),var(--blue))!important;color:#fff!important}@media(max-width:760px){.bottle-campaign-actions{grid-template-columns:repeat(2,minmax(0,92px))!important;justify-content:start}.bottle-campaign-groups{grid-template-columns:repeat(2,minmax(0,1fr))}}
.bottle-campaign-row.head>div,.bottle-campaign-row:not(.head)>div{text-align:center;justify-self:center;width:100%}.bottle-campaign-name b,.bottle-campaign-name span{text-align:center}.bottle-campaign-groups{justify-content:center}.bottle-campaign-entry{justify-items:center}.bottle-campaign-entry .bottle-entry-row{width:100%}.bottle-campaign-entry .muted{text-align:center}.bottle-campaign-actions{justify-items:center}.compact-verify-grid{align-items:stretch}.compact-verify-card{padding:16px 18px;min-width:0}.compact-group-picker{display:grid;grid-template-columns:1fr;gap:10px;align-items:center}.compact-group-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.compact-group-picker .btn{height:40px;padding:8px 10px;white-space:nowrap}.verify-compact-list{display:grid;gap:8px;max-height:190px;overflow:auto;padding-right:4px}.verify-compact-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;border:1px solid #e4ecf7;background:#fbfdff;border-radius:14px;padding:9px 10px}.verify-compact-item b{display:block;color:#132238;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.verify-compact-item span{display:block;margin-top:2px;color:#66758d;font-size:12px}.verify-compact-item .btn{padding:7px 10px;border-radius:10px}.compact-empty{padding:14px!important}.compact-verify-card .progress-box{margin-top:10px}@media(max-width:1280px){.compact-verify-grid.grid-3{grid-template-columns:1fr}.compact-group-actions{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:620px){.compact-group-actions{grid-template-columns:1fr}}
.verify-chip-list{display:grid;grid-template-columns:1fr;gap:8px;max-height:220px;overflow:auto;padding-right:4px}.verify-chip{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) 22px;align-items:center;gap:6px;border:1px solid #e4ecf7;background:#fbfdff;border-radius:13px;padding:8px 8px 8px 10px}.verify-chip:hover{border-color:#bcd3ff;box-shadow:0 8px 18px rgba(30,98,255,.08)}.verify-chip b{display:block;color:#132238;font-size:13px;white-space:normal;overflow:visible;text-overflow:clip;line-height:1.35;word-break:break-word}.verify-chip span{display:block;margin-top:1px;color:#66758d;font-size:11px;line-height:1.3}.verify-chip-remove{width:22px;height:22px;border:0;border-radius:50%;display:grid;place-items:center;background:#eef3fb;color:#66758d;font-size:17px;line-height:1;cursor:pointer}.verify-chip-remove:hover{background:#fee2e2;color:#dc2626}
.profile-card{display:grid;grid-template-columns:84px minmax(0,1fr);gap:16px;align-items:center;border:1px solid #e2ecf8;background:linear-gradient(145deg,#fff,#f8fbff);border-radius:18px;padding:16px;margin:8px 0 16px;cursor:pointer}.profile-avatar-main{width:84px;height:84px;border-radius:24px;object-fit:cover;background:#eef3fb;border:1px solid #dfe8f6}.profile-info{display:grid;gap:6px;min-width:0}.profile-info b{font-size:20px;color:#132238;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-upload-action{display:inline-flex;align-items:center;justify-content:center;width:max-content;border-radius:12px;padding:9px 14px;background:#eef4ff;color:#155eef;font-weight:900}.profile-card:hover .profile-upload-action{background:#dbeafe}.profile-card .muted{line-height:1.45}

/* Hallmark UI polish: a calmer, denser operations console without touching business logic. */
:root{--bg:#f3f6fb;--panel:#fff;--line:#dfe7f2;--text:#122033;--sub:#66758a;--blue:#155eef;--blue2:#2b73ff;--blue3:#0b3ea8;--shadow:0 10px 28px rgba(15,30,55,.07);--shadow-strong:0 22px 70px rgba(15,30,55,.12);--radius:18px}
html{background:#f3f6fb}body{background:linear-gradient(180deg,#f7faff 0,#eef3f9 100%);letter-spacing:0;-webkit-font-smoothing:antialiased}
.sidebar{width:248px;background:linear-gradient(180deg,#0b1020 0,#111827 100%);padding:22px 16px;border-right:1px solid rgba(255,255,255,.08);box-shadow:8px 0 34px rgba(15,23,42,.08)}
.brand{height:44px;margin:0 8px 18px;font-size:18px;letter-spacing:0}.brand-logo{width:32px;height:32px;border-radius:10px}.nav{gap:6px;overflow:auto;padding-right:2px}.nav button{min-height:42px;border-radius:12px;padding:10px 12px;font-size:15px;line-height:1;color:rgba(255,255,255,.68);transition:background .16s ease,color .16s ease,transform .16s ease,box-shadow .16s ease}.nav button:hover{transform:translateX(2px);background:rgba(255,255,255,.07);box-shadow:none}.nav button.active{background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff;box-shadow:0 12px 28px rgba(37,99,235,.22)}.nav-icon{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}.main{margin-left:248px;padding:24px 28px 42px}.topbar{position:sticky;top:0;z-index:12;margin:-24px -28px 20px;padding:22px 28px 16px;background:rgba(243,246,251,.88);backdrop-filter:blur(14px);border-bottom:1px solid rgba(223,231,242,.72)}.topbar h1{font-size:28px;line-height:1.15}.topbar p{font-size:13px}.pill,.account-trigger{box-shadow:0 8px 24px rgba(15,30,55,.06);border-color:#e3ebf6}.account-dropdown{top:44px}
.card{border-radius:18px;border-color:#e1e9f4;box-shadow:var(--shadow);padding:18px;background:rgba(255,255,255,.96)}.card:hover{box-shadow:0 14px 36px rgba(15,30,55,.09)}.section-title{min-height:34px;align-items:center}.section-title h2{font-size:18px;letter-spacing:0}.section-title .muted{font-size:12px}.btn{border-radius:12px;padding:10px 14px;min-height:40px;transition:transform .14s ease,box-shadow .14s ease,background .14s ease,border-color .14s ease;white-space:nowrap}.btn:hover{transform:translateY(-1px)}.btn:active{transform:translateY(0)}.btn-primary{background:linear-gradient(135deg,#2563eb,#1d4ed8);box-shadow:0 10px 22px rgba(37,99,235,.18)}.btn-light{background:#f2f6fb;color:#172033;border:1px solid #e1e9f4}.btn-light:hover{background:#eaf1fb;border-color:#cddcf0}.btn-danger,.btn-warn{background:#f2f6fb!important;color:#172033!important;border:1px solid #e1e9f4!important;box-shadow:none!important}.btn-danger:hover{border-color:#fecaca!important;background:#fff1f2!important;color:#b91c1c!important}.btn-warn:hover{border-color:#fed7aa!important;background:#fff7ed!important;color:#9a3412!important}.input,.select,.textarea,.field input{border-radius:12px;border-color:#dfe7f2;background:#fff;transition:border-color .14s ease,box-shadow .14s ease}.input:focus,.select:focus,.textarea:focus,.field input:focus{outline:0;border-color:#8bb5ff;box-shadow:0 0 0 4px rgba(43,115,255,.1)}.textarea{min-height:132px}
.dashboard-grid{gap:14px}.hero-metrics{grid-template-columns:1.1fr 1fr}.hero-card{border-radius:20px;min-height:154px;padding:22px;border-color:#dce8ff;background:linear-gradient(145deg,#fff 0,#f7fbff 58%,#edf5ff 100%)}.hero-card:before{opacity:.72}.hero-value{font-size:48px}.hero-note{font-size:12px}.mini-metrics{gap:12px}.mini-card{border-radius:16px;padding:16px}.mini-card .big{font-size:29px}.dashboard-charts{gap:14px}.bar-chart{height:250px}.day-label{writing-mode:horizontal-tb;transform:rotate(-32deg);transform-origin:top center;white-space:nowrap;width:24px;text-align:right}.daily-bars{height:220px;gap:8px;min-width:760px}.day-bar{max-width:22px}
.quick-panel,.ops-list{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.grid-3{grid-template-columns:minmax(320px,1.05fr) minmax(300px,1fr) minmax(300px,1fr)}.grid-2{gap:14px}.table-wrap{border:1px solid #edf2f8;border-radius:14px;background:#fff}table{min-width:720px}th{background:#f8fbff;color:#64748b;font-weight:900;position:sticky;top:0;z-index:1}th,td{padding:11px 12px}.pager{padding:10px}.notice{border-radius:14px}
.modal-mask{backdrop-filter:blur(5px)}.modal{border-radius:20px;border:1px solid #e1e9f4;box-shadow:var(--shadow-strong)}.close{border-radius:10px}.upload-tile{border-radius:14px;background:#f8fbff;transition:transform .14s ease,border-color .14s ease,box-shadow .14s ease}.upload-tile:hover{transform:translateY(-1px);border-color:#8bb5ff;box-shadow:0 10px 24px rgba(37,99,235,.11)}
.auth{background:radial-gradient(circle at 12% 4%,#e9f2ff 0,#f7fbff 34%,#eff4f9 100%)}.auth-card{border-radius:26px;box-shadow:0 24px 70px rgba(15,30,55,.14);border:1px solid #e4ecf7}.auth-side{background:linear-gradient(150deg,#0b1020 0,#123e91 52%,#1d7ed8 100%)}.auth-side h1{font-size:34px}.auth-main h2{font-size:28px}
#bottleLibraries{max-height:430px;border:1px solid #e8eef7;border-radius:16px;background:#fff;padding:6px;overflow:auto}.bottle-lib-table,.bottle-campaign-table{border-radius:16px;border-color:#e1e9f4}.bottle-lib-row{grid-template-columns:minmax(140px,1.25fr) 82px 82px 82px minmax(300px,1.35fr);padding:10px 12px}.bottle-lib-row.head,.bottle-campaign-row.head{background:#f8fbff}.bottle-lib-num{display:flex;align-items:center;justify-content:center;min-height:34px}.bottle-lib-actions .btn{min-height:34px;padding:7px 8px}.bottle-campaign-row{grid-template-columns:minmax(130px,.95fr) minmax(130px,.95fr) minmax(260px,1.45fr) minmax(132px,.82fr) minmax(260px,1.45fr) minmax(290px,1.35fr);padding:10px 12px}.bottle-campaign-groups{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}.bottle-campaign-groups span{min-height:30px;line-height:1.25;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.bottle-campaign-actions{grid-template-columns:repeat(4,minmax(0,68px))!important}.bottle-campaign-actions .btn{min-height:34px}.bottle-review-panel{border-radius:14px}.bottle-review-row{border-radius:12px}
.lt-hub-toolbar{align-items:center}.lt-table,.lt-card,.lt-domain-card{border-radius:16px}.lt-create-dialog{border-radius:20px}.lt-short-dialog{width:min(96vw,1080px)!important;max-width:1080px!important}.lt-short-switch-row{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}.lt-short-switch-item{border-radius:14px}
.selector-box{border-radius:14px;background:#f8fbff}.selector-box label{border-radius:13px}.way-card,.group-card,.verify-card,.broadcast-card{border-radius:15px}.progress-track{height:9px}
@media(max-width:1180px){.sidebar{width:226px}.main{margin-left:226px}.grid-3{grid-template-columns:1fr}.hero-metrics{grid-template-columns:1fr}.mini-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.bottle-campaign-row{grid-template-columns:1fr 1fr}.bottle-campaign-row.head{display:none}.bottle-campaign-actions{grid-template-columns:repeat(4,minmax(0,76px))!important}.bottle-lib-row{grid-template-columns:minmax(150px,1fr) repeat(3,72px) minmax(260px,1.25fr)}}@media(max-width:860px){.sidebar{position:static;width:auto;inset:auto;padding:14px}.shell{display:block}.main{margin-left:0;padding:18px}.topbar{position:static;margin:-18px -18px 16px;padding:18px}.nav{display:flex;overflow:auto}.nav button{flex:0 0 auto}.brand{margin-bottom:12px}.grid-2,.cards,.ops-grid,.hero-metrics,.mini-metrics{grid-template-columns:1fr}.card{padding:16px}.hero-value{font-size:40px}.bottle-lib-row,.bottle-lib-row.head{grid-template-columns:1fr}.bottle-lib-row.head{display:none}.bottle-lib-actions{grid-template-columns:1fr 1fr 1fr}.bottle-campaign-row{grid-template-columns:1fr}.bottle-campaign-actions{grid-template-columns:repeat(2,minmax(0,92px))!important}.auth-card{grid-template-columns:1fr}.auth-side{padding:28px}.auth-main{padding:28px}}@media(max-width:540px){.main{padding:14px}.topbar{margin:-14px -14px 14px;padding:14px}.topbar h1{font-size:24px}.status-tools{width:100%;justify-content:space-between}.hero-card{min-height:132px}.hero-value{font-size:36px}.mini-metrics{grid-template-columns:1fr}.quick-date{width:100%}.quick-date button{flex:1}.date-range{width:100%;justify-content:space-between}.bottle-lib-actions,.bottle-campaign-actions{grid-template-columns:1fr!important}.verify-chip-list{grid-template-columns:1fr}.lt-short-switch-row{grid-template-columns:1fr!important}}

/* Dark console shell refresh: black workspace + white rounded content canvas. */
:root{--bg:#05060a;--app-black:#05060a;--app-sidebar:#090b12;--app-sidebar-2:#11141d;--app-card:#ffffff;--app-soft:#f5f7fb;--app-line:#e7ebf2;--app-ink:#111827;--app-muted:#667085;--shadow:0 18px 48px rgba(0,0,0,.08)}
html,body{background:#05060a!important}.shell{min-height:100vh;background:#05060a!important}.sidebar{width:254px!important;background:linear-gradient(180deg,#070911 0,#0b0d15 100%)!important;border-right:1px solid rgba(255,255,255,.08)!important;box-shadow:none!important;padding:18px 14px 18px!important}.brand{height:46px;margin:2px 8px 18px!important;color:#fff!important;font-size:17px!important}.brand-logo{width:31px!important;height:31px!important;border-radius:9px!important}.nav{gap:5px!important}.nav button{border-radius:10px!important;min-height:38px!important;padding:10px 12px!important;color:rgba(255,255,255,.72)!important;background:transparent!important;font-size:14px!important;box-shadow:none!important}.nav button:hover{background:rgba(255,255,255,.08)!important;color:#fff!important;transform:none!important}.nav button.active{background:#1677ff!important;color:#fff!important;box-shadow:none!important}.nav-icon{width:17px!important;height:17px!important}.main{margin-left:254px!important;min-height:100vh;background:#05060a!important;padding:20px 22px 28px!important}.topbar{position:sticky!important;top:0!important;z-index:30!important;margin:0!important;padding:14px 18px!important;background:#fff!important;border:1px solid var(--app-line)!important;border-bottom:0!important;border-radius:22px 22px 0 0!important;box-shadow:none!important;backdrop-filter:none!important}.topbar h1{font-size:24px!important;color:#101828!important;margin:0!important}.topbar p{color:#667085!important;margin-top:4px!important}.view.active{display:block;background:#fff;border:1px solid var(--app-line);border-top:0;border-radius:0 0 24px 24px;padding:18px;min-height:calc(100vh - 112px);box-shadow:0 22px 70px rgba(0,0,0,.16)}.view>.card:first-child,.view>.dashboard-grid:first-child{margin-top:0}.card{background:#fff!important;border:1px solid #e6ebf2!important;border-radius:18px!important;box-shadow:none!important}.card:hover{box-shadow:none!important}.section-title h2{color:#101828!important}.muted,.topbar p{color:#667085!important}.pill,.account-trigger,.support-trigger{background:#f8fafc!important;border:1px solid #e6ebf2!important;box-shadow:none!important;color:#101828!important}.status-tools{gap:10px!important}.account-trigger{padding:7px 10px!important}.account-dropdown{border-radius:14px!important;box-shadow:0 18px 52px rgba(0,0,0,.16)!important}.support-menu{position:relative}.support-trigger{height:40px;display:inline-flex;align-items:center;justify-content:center;padding:0 14px;border-radius:999px;font-size:13px;font-weight:900;cursor:default}.support-popover{display:none;position:absolute;right:50%;top:48px;transform:translateX(50%);width:250px;padding:18px 16px 16px;background:#fff;border:1px solid #e6ebf2;border-radius:8px;box-shadow:0 18px 56px rgba(0,0,0,.18);z-index:60;text-align:center}.support-popover:before{content:"";position:absolute;top:-8px;left:50%;width:14px;height:14px;background:#fff;border-left:1px solid #e6ebf2;border-top:1px solid #e6ebf2;transform:translateX(-50%) rotate(45deg)}.support-menu:hover .support-popover{display:block}.support-popover-title{font-size:16px;font-weight:950;line-height:1.45;color:#111827;margin-bottom:12px}.support-popover img{width:190px;height:190px;object-fit:contain;border-radius:4px;background:#fff}.support-config{display:grid;grid-template-columns:minmax(260px,1fr) minmax(220px,.7fr) 96px auto;gap:12px;align-items:end}.support-config .field{margin:0}.support-config-preview{width:78px;height:78px;border:1px solid #e6ebf2;border-radius:14px;background:#f8fafc;display:grid;place-items:center;overflow:hidden}.support-config-preview img{width:100%;height:100%;object-fit:contain}.support-config .muted{grid-column:1/-1}.dashboard-grid,.dashboard-charts,.grid-2,.grid-3,.ops-grid,.quick-panel{gap:14px!important}.hero-card,.mini-card{border-radius:18px!important}.table-wrap{border-radius:14px!important}.modal{border-radius:22px!important}.btn{border-radius:10px!important}.btn-primary{background:#1677ff!important;box-shadow:none!important}.btn-light,.btn-danger,.btn-warn{background:#f3f5f8!important;color:#111827!important;border:1px solid #e5eaf1!important;box-shadow:none!important}.input,.select,.textarea,.field input{border-radius:10px!important}.auth{background:#05060a!important}.auth-card{border-radius:24px!important}.auth-side{background:linear-gradient(145deg,#080b13,#162033)!important}
@media(max-width:1180px){.sidebar{width:230px!important}.main{margin-left:230px!important}.support-config{grid-template-columns:1fr 1fr}}@media(max-width:860px){.sidebar{position:static!important;width:auto!important}.main{margin-left:0!important;padding:14px!important}.topbar{border-radius:18px 18px 0 0!important}.view.active{border-radius:0 0 18px 18px;padding:14px}.support-popover{right:0;transform:none}.support-popover:before{left:auto;right:28px}.support-config{grid-template-columns:1fr}.support-config-preview{width:96px;height:96px}}
.support-config .field:first-child{display:flex;flex-direction:column;gap:8px}.support-config .field:first-child .btn{width:max-content}.support-config-preview{box-shadow:inset 0 0 0 1px rgba(255,255,255,.5)}
.top-tool-trigger{height:34px;min-height:34px;display:inline-flex;align-items:center;gap:6px;border:1px solid transparent!important;background:transparent!important;color:rgba(255,255,255,.82)!important;border-radius:999px;padding:0 8px;font-size:13px;font-weight:900;cursor:pointer;box-shadow:none!important}.top-tool-trigger:hover{background:rgba(255,255,255,.12)!important;border-color:rgba(255,255,255,.14)!important;color:#fff!important}.top-tool-trigger.has-domain:not(:hover){background:transparent!important;border-color:transparent!important;color:rgba(255,255,255,.82)!important}.lt-domain-manage{border:1px solid #e2ecf8;background:#fbfdff;border-radius:16px;padding:14px;margin:12px 0}.lt-domain-manage-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.lt-domain-manage-head b{display:block;color:#14213a;font-size:14px;margin-bottom:5px}.lt-domain-manage-head span{display:block;color:#2563eb;font-weight:950;word-break:break-all}.lt-domain-manage-head .select{width:auto;min-width:230px}.lt-domain-manage .lt-domain-actions{margin-top:12px}.lt-domain-bar{display:none!important}

.hero-card-content{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) 132px;align-items:center;gap:18px}.hero-donut-wrap{display:grid;justify-items:center;gap:9px}.hero-donut{width:118px;height:118px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(255,255,255,.72),0 14px 34px rgba(15,35,63,.12)}.hero-pie{border:8px solid rgba(255,255,255,.88)}.hero-donut-legend{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;font-size:12px;font-weight:900;color:#52657f}.hero-donut-legend span{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.hero-donut-legend i{width:8px;height:8px;border-radius:50%;display:inline-block}.hero-donut-legend i.add{background:#14b8a6}.hero-donut-legend i.lost{background:#ef4444}

.mini-metrics{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
.hero-card-content{grid-template-columns:minmax(0,1fr) 190px}
.hero-pie-wrap{position:relative;display:grid;justify-items:center;gap:10px;min-width:180px}
.hero-big-pie{position:relative;width:138px;height:138px;border-radius:50%;box-shadow:0 18px 36px rgba(15,35,63,.14);border:1px solid rgba(15,35,63,.06)}
.hero-big-pie.empty{background:#dbe7f5}
.hero-pie-label{position:absolute;font-size:13px;font-weight:950;color:#111827;line-height:1;background:rgba(255,255,255,.78);border-radius:999px;padding:4px 7px;box-shadow:0 5px 14px rgba(15,35,63,.09)}
.hero-pie-label:after{content:"";position:absolute;width:34px;height:1px;background:currentColor;opacity:.46;top:50%}
.hero-pie-label.p1{right:-46px;top:46%}.hero-pie-label.p1:after{right:100%}
.hero-pie-label.p2{left:-46px;top:34%}.hero-pie-label.p2:after{left:100%}
.hero-pie-label.p3{top:-18px;left:50%;transform:translateX(-50%)}.hero-pie-label.p3:after{display:none}
.hero-pie-legend{display:grid;gap:5px;font-size:12px;font-weight:900;color:#52657f;justify-items:start}
.hero-pie-legend span{display:flex;align-items:center;gap:7px;white-space:nowrap}
.hero-pie-legend i{width:10px;height:10px;border-radius:50%;display:inline-block}
@media(max-width:560px){.hero-card-content{grid-template-columns:1fr}.hero-pie-wrap{justify-items:start;margin-top:12px}.hero-pie-label.p1{right:-38px}.hero-pie-label.p2{left:-38px}}

/* Dashboard pie chart: keep it as one solid pie, no decorative circle behind it. */
.hero-card:before{display:none!important}
.hero-card-content{grid-template-columns:minmax(0,1fr) 230px!important}
.hero-pie-wrap{min-width:220px!important;padding:8px 12px 0!important}
.hero-big-pie{
  width:150px!important;
  height:150px!important;
  border:0!important;
  box-shadow:none!important;
  overflow:visible!important;
}
.hero-big-pie:before,.hero-big-pie:after{display:none!important;content:none!important}
.hero-big-pie.empty{background:#dbe7f5!important}
.hero-pie-label{background:#fff!important;border:1px solid #e7ebf2!important;box-shadow:none!important}
.hero-pie-label:after{height:2px!important;opacity:.5!important}
.hero-pie-label.p1{right:-58px!important;top:50%!important;transform:translateY(-50%)!important}
.hero-pie-label.p2{left:-58px!important;top:35%!important}
.hero-pie-label.p3{top:-24px!important;left:50%!important;transform:translateX(-50%)!important}
.hero-pie-legend{justify-items:center!important;margin-top:6px!important}
.hero-card-content>div:first-child{position:relative!important;z-index:2!important;min-width:0!important}
.hero-value{display:block!important;visibility:visible!important;opacity:1!important}

/* Place account/support tools on the white content header bar. */
.main{padding-top:18px!important}.topbar{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;column-gap:18px!important;min-height:62px!important;padding:12px 16px 10px 18px!important}.topbar>div:first-child{min-width:0}.topbar h1{font-size:22px!important;line-height:1.2!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.topbar p{display:none!important}.status-tools{justify-self:end!important;display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:nowrap!important;white-space:nowrap!important}.support-trigger,.account-trigger,.pill{height:34px!important;min-height:34px!important;padding:0 10px!important;border-radius:999px!important;background:#f8fafc!important;border:1px solid #e6ebf2!important;font-size:12px!important}.account-avatar{width:24px!important;height:24px!important}.account-trigger img{width:24px!important;height:24px!important}.account-dropdown{top:38px!important}.support-popover{top:42px!important}.view.active{min-height:calc(100vh - 98px)!important}.pill#activityPill{display:none}.main .topbar #activityPill[style*="inline-flex"]{display:inline-flex!important}@media(max-width:760px){.topbar{grid-template-columns:1fr!important;row-gap:10px!important}.status-tools{justify-self:start!important;flex-wrap:wrap!important}.topbar h1{white-space:normal!important}.support-popover{right:auto;left:0;transform:none}.support-popover:before{left:34px;right:auto}}

/* Black toolbar above the white rounded content card. */
.main{padding:14px 22px 28px!important}.topbar{position:sticky!important;top:0!important;z-index:40!important;margin:0 0 10px!important;padding:0 2px!important;min-height:38px!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;background:#05060a!important;border:0!important;border-radius:0!important;box-shadow:none!important}.topbar h1{color:rgba(255,255,255,.92)!important;font-size:15px!important;font-weight:900!important}.topbar p{display:none!important}.status-tools{justify-self:end!important;display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:nowrap!important}.support-trigger,.account-trigger,.pill{height:30px!important;min-height:30px!important;padding:0 10px!important;border-radius:999px!important;background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.1)!important;color:rgba(255,255,255,.88)!important;font-size:12px!important;box-shadow:none!important}.support-trigger:hover,.account-trigger:hover,.pill:hover{background:rgba(255,255,255,.13)!important;color:#fff!important}.account-caret{color:rgba(255,255,255,.62)!important}.account-dropdown,.support-popover{top:36px!important}.view.active{border:1px solid var(--app-line)!important;border-radius:22px!important;padding:18px!important;min-height:calc(100vh - 92px)!important;box-shadow:0 22px 70px rgba(0,0,0,.16)!important}.pill#activityPill{display:none}.main .topbar #activityPill[style*="inline-flex"]{display:inline-flex!important}@media(max-width:760px){.topbar{grid-template-columns:1fr!important;row-gap:8px!important}.status-tools{justify-self:start!important;flex-wrap:wrap!important}.view.active{border-radius:18px!important}}

/* Top black toolbar refinement: no page title, plain support link until hover. */
.topbar{grid-template-columns:1fr!important}.topbar>div:first-child{display:none!important}.status-tools{grid-column:1!important;justify-self:end!important}.support-trigger{gap:6px!important;background:transparent!important;border-color:transparent!important;color:rgba(255,255,255,.82)!important;padding:0 8px!important;height:34px!important;min-height:34px!important;font-size:13px!important}.support-trigger:hover{background:rgba(255,255,255,.12)!important;border-color:rgba(255,255,255,.14)!important;color:#fff!important}.support-icon{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}.account-trigger{height:34px!important;min-height:34px!important;padding:0 12px 0 7px!important;font-size:13px!important}.account-avatar,.account-trigger img{width:26px!important;height:26px!important}.account-caret{font-size:13px!important}.pill{height:34px!important;min-height:34px!important;font-size:13px!important}.support-popover{top:40px!important}.account-dropdown{top:40px!important}
@media(max-width:760px){.status-tools{justify-self:start!important}.topbar>div:first-child{display:none!important}}

/* Narrow left sidebar by roughly one third. */
.sidebar{width:170px!important;padding:16px 10px 16px!important}.main{margin-left:170px!important}.brand{font-size:13px!important;gap:6px!important;margin:2px 4px 14px!important;height:38px!important}.brand-logo{width:26px!important;height:26px!important;border-radius:8px!important}.nav{gap:4px!important}.nav button{min-height:34px!important;padding:8px 9px!important;border-radius:9px!important;font-size:13px!important;gap:7px!important}.nav-icon{width:15px!important;height:15px!important}@media(max-width:860px){.sidebar{width:auto!important}.main{margin-left:0!important}.brand{font-size:15px!important}.nav button{font-size:13px!important}}

/* Restore sidebar width after narrow test. */
.sidebar{width:254px!important;padding:18px 14px 18px!important}.main{margin-left:254px!important}.brand{font-size:17px!important;gap:10px!important;margin:2px 8px 18px!important;height:46px!important}.brand-logo{width:31px!important;height:31px!important;border-radius:9px!important}.nav{gap:5px!important}.nav button{min-height:38px!important;padding:10px 12px!important;border-radius:10px!important;font-size:14px!important;gap:10px!important}.nav-icon{width:17px!important;height:17px!important}@media(max-width:860px){.sidebar{width:auto!important}.main{margin-left:0!important}.brand{font-size:15px!important}}

/* Match business-domain and support toolbar brightness. */
.top-tool-trigger,.support-trigger{color:rgba(255,255,255,.82)!important;background:transparent!important;border-color:transparent!important;box-shadow:none!important}
.top-tool-trigger:hover,.support-trigger:hover{color:#fff!important;background:rgba(255,255,255,.12)!important;border-color:rgba(255,255,255,.14)!important}
.top-tool-trigger.has-domain:not(:hover){color:rgba(255,255,255,.82)!important;background:transparent!important;border-color:transparent!important}

/* Bottle multi-type campaign picker. */
.bottle-type-panel{border:1px solid #e2ecf8;background:#fbfdff;border-radius:16px;padding:12px;margin:10px 0 12px}


.bottle-type-head{display:grid;grid-template-columns:24px minmax(120px,1fr) 90px 96px 96px;gap:8px;align-items:center;padding:0 10px 6px;color:#66758d;font-size:12px;font-weight:900}
.bottle-type-list{display:grid;gap:8px;max-height:230px;overflow:auto;padding-right:4px}
.bottle-type-row{display:grid;grid-template-columns:24px minmax(120px,1fr) 90px 96px 96px;gap:8px;align-items:center;border:1px solid #e6eef9;background:#fff;border-radius:12px;padding:8px 10px}
.bottle-type-row b{color:#132238;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bottle-type-row span{font-size:12px;color:#66758d}.bottle-type-row .input{height:36px;padding:8px 10px}
@media(max-width:760px){.bottle-type-row{grid-template-columns:1fr}.bottle-type-head{display:none}.bottle-type-row input[type=checkbox]{justify-self:start}}

/* Keep link-hub pagination inside the white workspace instead of a fixed bottom bar. */
.lt-workbench{min-height:calc(100vh - 140px)!important;padding-bottom:0!important}
.lt-bottom-bar{position:static!important;left:auto!important;right:auto!important;bottom:auto!important;width:100%!important;display:flex!important;justify-content:center!important;align-items:center!important;gap:14px!important;padding:18px 0 4px!important;margin-top:auto!important;background:transparent!important;border:0!important;box-shadow:none!important;z-index:auto!important}
.lt-bottom-bar .page-info{color:#66758d;font-weight:800}.lt-pager{display:flex!important;justify-content:center!important;align-items:center!important;gap:8px!important}.lt-pager .btn{min-height:34px!important;padding:7px 12px!important;border-radius:10px!important}
.sidebar{width:230px!important}.main{margin-left:230px!important}.brand{font-size:16px!important;text-decoration:none!important}.nav button{font-size:14px!important;padding-left:10px!important;padding-right:10px!important}
@media(max-width:860px){.sidebar{width:auto!important}.main{margin-left:0!important}}
.bottle-form-inline{grid-template-columns:minmax(0,1.15fr) minmax(160px,.75fr) auto;align-items:end}
.bottle-create-action{height:46px;margin:0;white-space:nowrap;padding:0 18px}
.bottle-count-fields{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(130px,.7fr) minmax(130px,.7fr);gap:12px;align-items:end;margin-top:12px}
.bottle-count-fields .field{margin:0}
@media(max-width:760px){.bottle-form-inline,.bottle-count-fields{grid-template-columns:1fr}.bottle-create-action{width:100%}}
.bottle-form-inline{grid-template-columns:minmax(0,1fr) minmax(160px,.72fr) auto;align-items:end}
.bottle-create-action{height:46px;min-height:46px;margin:0 0 0 0;padding:0 22px;align-self:end;display:inline-flex;align-items:center;justify-content:center;border-radius:12px}
.bottle-form-inline>.field{margin:0!important}
.bottle-create-action{position:relative!important;height:46px!important;min-height:46px!important;margin:25px 0 0 0!important;align-self:start!important;box-sizing:border-box!important;line-height:1!important}
.wecom-auth-card{margin-bottom:16px}.wecom-auth-flow{margin:8px 0 14px}.flow-title{font-size:13px;font-weight:950;color:#53647a;margin-bottom:10px}.wecom-auth-steps{display:grid;grid-template-columns:1fr 26px 1fr 26px 1fr 26px 1fr;align-items:center;gap:0}.wecom-auth-steps>i{height:2px;background:#dbe7f5}.wecom-auth-step{border:1px solid #e2ecf8;background:#fbfdff;border-radius:14px;padding:12px;display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px}.wecom-auth-step b{width:28px;height:28px;border-radius:999px;background:#eaf1fb;color:#173052;display:grid;place-items:center}.wecom-auth-step span{font-weight:950;color:#132238;white-space:nowrap}.wecom-auth-step.active{border-color:#8bb5ff;background:#eef6ff}.wecom-auth-step.active b,.wecom-auth-step.done b{background:#1677ff;color:#fff}.wecom-auth-step.done{border-color:#c7f2df;background:#f0fdf7}.wecom-auth-state{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid #e2ecf8;border-radius:16px;background:#fff;padding:14px}.wecom-auth-state b,.wecom-auth-state span,.wecom-auth-state em{display:block}.wecom-auth-state b{font-size:18px}.wecom-auth-state span{color:#66758d;margin-top:5px}.wecom-auth-state em{font-style:normal;color:#2563eb;margin-top:6px;font-weight:900}.wecom-auth-state.ok{background:#f0fdf7;border-color:#bbf7d0}.wecom-auth-modal{max-width:760px}.wecom-auth-center{display:grid;place-items:center;text-align:center}.wecom-auth-qr{display:grid;place-items:center;gap:10px;border:1px solid #e2ecf8;background:#fbfdff;border-radius:18px;padding:18px;margin-top:4px;width:min(360px,100%)}.wecom-auth-qr img{width:280px;height:280px;border-radius:14px;background:#fff}.wecom-auth-qr span{font-weight:900;color:#173052}.wecom-auth-official{margin:12px 0;color:#16a34a;font-weight:950}.wecom-auth-main-btn{min-width:180px;justify-content:center}.wecom-auth-msg{margin-top:10px;text-align:center}.wecom-auth-success{display:grid;gap:8px;border:1px solid #bbf7d0;background:#f0fdf7;border-radius:18px;padding:24px 40px}.wecom-auth-success b{font-size:22px;color:#166534}.wecom-auth-success span{color:#315244;font-weight:800}.spinner{width:30px;height:30px;border-radius:50%;border:3px solid #dbe7f5;border-top-color:#1677ff;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:760px){.wecom-auth-steps{grid-template-columns:1fr;gap:8px}.wecom-auth-steps>i{display:none}.wecom-auth-state{display:grid}.wecom-auth-qr img{width:220px;height:220px}}
.wecom-auth-modal{width:min(96vw,1120px)!important;max-width:1120px!important;max-height:92vh;overflow:auto}.wecom-auth-center{min-height:460px}.wecom-auth-qr{width:min(430px,100%);padding:22px}.wecom-auth-qr img{width:320px;height:320px}.wecom-auth-success{min-width:420px}.wecom-permission-layout{display:grid;grid-template-columns:minmax(360px,540px) minmax(360px,1fr);grid-template-rows:auto auto;column-gap:38px;row-gap:18px;align-items:center;text-align:left;width:100%;padding:8px 8px 4px}.wecom-permission-left{display:grid;gap:14px;justify-items:center}.wecom-permission-shot{background:#07111f;border-radius:20px;padding:18px;display:grid;place-items:center;width:100%}.wecom-permission-shot img{width:100%;max-height:560px;object-fit:contain;border-radius:8px}.wecom-permission-title{display:block;text-align:center;font-size:26px;color:#132238}.wecom-permission-copy{display:grid;gap:14px;align-content:center;justify-self:end;max-width:430px}.wecom-permission-copy p{margin:0;color:#53647a;font-size:16px;line-height:1.9;font-weight:850}.wecom-permission-actions{grid-column:1/-1;display:flex;justify-content:center;padding-top:4px}.wecom-permission-actions .wecom-auth-main-btn{min-width:240px}@media(max-width:900px){.wecom-auth-modal{width:min(96vw,760px)!important}.wecom-permission-layout{grid-template-columns:1fr}.wecom-permission-actions{grid-column:auto}.wecom-permission-copy{justify-self:stretch;max-width:none}.wecom-auth-center{min-height:auto}.wecom-auth-qr img{width:240px;height:240px}}
.wecom-permission-tip{display:grid;grid-template-columns:42px 1fr;gap:12px;align-items:flex-start;border:1px solid #e2ecf8;background:#fbfdff;border-radius:16px;padding:14px}.wecom-permission-tip>b{width:34px;height:34px;border-radius:999px;background:#1677ff;color:#fff;display:grid;place-items:center;font-size:13px}.wecom-permission-tip p{margin:0;color:#475569;font-size:16px;line-height:1.85;font-weight:850}.wecom-permission-tip span{display:block;color:#1677ff;font-weight:950;margin-top:4px}
.wecom-auth-modal{height:min(92vh,760px)!important;display:flex;flex-direction:column}.wecom-auth-modal .modal-top{flex:0 0 auto}.wecom-auth-modal #wecomAuthModalBody{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}.wecom-auth-modal .wecom-auth-flow{flex:0 0 auto}.wecom-auth-center{flex:1;min-height:0!important;overflow:hidden;align-content:center}.wecom-permission-layout{height:100%;min-height:0;grid-template-columns:minmax(320px,500px) minmax(340px,1fr);grid-template-rows:minmax(0,1fr) auto;align-items:center}.wecom-permission-left{min-height:0;height:100%;align-content:center}.wecom-permission-shot{height:100%;max-height:430px;min-height:0;overflow:hidden}.wecom-permission-shot img{max-height:100%;width:100%;height:100%;object-fit:contain}.wecom-permission-title{font-size:24px}.wecom-permission-copy{max-width:460px}.wecom-permission-tip{padding:12px}.wecom-permission-tip p{font-size:15px;line-height:1.7}.wecom-permission-actions{padding-top:0}@media(max-width:900px){.wecom-auth-modal{height:min(92vh,820px)!important}.wecom-auth-modal #wecomAuthModalBody{overflow:auto}.wecom-auth-center{overflow:visible}.wecom-permission-layout{height:auto;grid-template-rows:auto}.wecom-permission-shot{height:auto;max-height:360px}.wecom-permission-shot img{height:auto}}
.wecom-auth-card{padding:0!important;border:0!important;background:transparent!important}.wecom-auth-compact{display:grid;grid-template-columns:minmax(520px,1fr) auto auto;align-items:center;gap:16px;border:1px solid rgba(22,119,255,.22);border-radius:18px;background:linear-gradient(135deg,#0b1020 0,#111827 52%,#172554 100%);padding:14px 16px;box-shadow:0 18px 40px rgba(15,23,42,.16)}.wecom-auth-compact.ok{grid-template-columns:minmax(520px,1fr) auto}.wecom-auth-compact .wecom-auth-flow{margin:0}.wecom-auth-compact .flow-title{display:none}.wecom-auth-compact .wecom-auth-steps{grid-template-columns:repeat(4,auto);gap:8px}.wecom-auth-compact .wecom-auth-steps>i{display:none}.wecom-auth-compact .wecom-auth-step{min-height:34px;padding:7px 11px;border-radius:999px;border-color:rgba(255,255,255,.14);background:rgba(255,255,255,.08);backdrop-filter:blur(8px)}.wecom-auth-compact .wecom-auth-step b{width:22px;height:22px;background:rgba(255,255,255,.15);color:#e5edff;font-size:12px}.wecom-auth-compact .wecom-auth-step span{color:#e5edff;font-size:13px}.wecom-auth-compact .wecom-auth-step.active,.wecom-auth-compact .wecom-auth-step.done{border-color:rgba(96,165,250,.72);background:linear-gradient(135deg,#2563eb,#06b6d4)}.wecom-auth-compact .wecom-auth-step.active b,.wecom-auth-compact .wecom-auth-step.done b{background:rgba(255,255,255,.95);color:#0f172a}.wecom-auth-compact-title{display:grid;gap:3px;color:#fff;text-align:right}.wecom-auth-compact-title b{font-size:18px;white-space:nowrap}.wecom-auth-compact-title span{color:#b8c4d9;font-size:12px}.wecom-auth-compact .btn{white-space:nowrap}@media(max-width:1100px){.wecom-auth-compact,.wecom-auth-compact.ok{grid-template-columns:1fr}.wecom-auth-compact-title{text-align:left}.wecom-auth-compact .wecom-auth-steps{grid-template-columns:repeat(2,auto);justify-content:start}}
.wecom-auth-card{padding:0!important;border:0!important;background:transparent!important}.wecom-auth-compact,.wecom-auth-compact.ok{grid-template-columns:minmax(560px,1fr) auto;background:#fff!important;border:1px solid #e3edf9!important;box-shadow:0 10px 30px rgba(16,35,63,.06)!important}.wecom-auth-compact .wecom-auth-steps{display:grid;grid-template-columns:auto 28px auto 28px auto 28px auto;gap:0;align-items:center}.wecom-auth-compact .wecom-auth-steps>i{display:block;height:2px;background:linear-gradient(90deg,#93c5fd,#67e8f9);opacity:.85}.wecom-auth-compact .wecom-auth-step{border-color:#dce8f6;background:#f8fbff;box-shadow:none}.wecom-auth-compact .wecom-auth-step b{background:#e8f1ff;color:#0f172a}.wecom-auth-compact .wecom-auth-step span{color:#173052}.wecom-auth-compact .wecom-auth-step.active,.wecom-auth-compact .wecom-auth-step.done{border-color:#60a5fa;background:linear-gradient(135deg,#2563eb,#06b6d4)}.wecom-auth-compact .wecom-auth-step.active span,.wecom-auth-compact .wecom-auth-step.done span{color:#fff}.wecom-auth-compact-title{color:#132238}.wecom-auth-compact-title b{color:#132238}.wecom-auth-compact-title span{color:#66758d}@media(max-width:1100px){.wecom-auth-compact,.wecom-auth-compact.ok{grid-template-columns:1fr}.wecom-auth-compact .wecom-auth-steps{grid-template-columns:repeat(2,auto);gap:8px}.wecom-auth-compact .wecom-auth-steps>i{display:none}}
.wecom-auth-compact .wecom-auth-steps{grid-template-columns:auto 56px auto 56px auto 56px auto}.wecom-auth-compact .wecom-auth-step{min-height:28px!important;padding:4px 8px!important;gap:5px!important}.wecom-auth-compact .wecom-auth-step b{width:18px!important;height:18px!important;font-size:11px!important}.wecom-auth-compact .wecom-auth-step span{font-size:12px!important}.wecom-auth-compact .wecom-auth-steps>i{height:3px;border-radius:999px}@media(max-width:1100px){.wecom-auth-compact .wecom-auth-steps{grid-template-columns:repeat(2,auto);gap:8px}}
.wecom-auth-compact.pending{grid-template-columns:1fr!important}.wecom-auth-compact.pending .wecom-auth-steps{grid-template-columns:auto 56px auto 56px auto 56px auto auto;justify-content:start;gap:0 0}.wecom-auth-inline-btn{margin-left:12px;padding:7px 14px!important;border-radius:999px!important;min-height:30px;line-height:1;align-self:center}@media(max-width:1100px){.wecom-auth-compact.pending .wecom-auth-steps{grid-template-columns:repeat(2,auto);gap:8px}.wecom-auth-inline-btn{margin-left:0}}
.wecom-auth-card-title{font-size:18px;font-weight:950;color:#101828;margin:0 0 12px}.wecom-auth-compact.pending .wecom-auth-step{min-height:34px!important;padding:7px 11px!important;gap:8px!important}.wecom-auth-compact.pending .wecom-auth-step b{width:22px!important;height:22px!important;font-size:12px!important}.wecom-auth-compact.pending .wecom-auth-step span{font-size:13px!important}.wecom-auth-compact.pending .wecom-auth-steps>i{height:3px}.wecom-auth-compact.pending .wecom-auth-inline-btn{min-height:34px;padding:8px 16px!important}
.wecom-auth-compact .wecom-auth-compact-steps{width:100%}.wecom-auth-compact.pending .wecom-auth-steps{grid-template-columns:auto 56px auto 56px auto 56px auto auto!important;align-items:center!important}.wecom-auth-compact.pending{padding:14px 16px!important}.wecom-auth-compact.pending .wecom-auth-inline-btn{margin-left:12px!important;white-space:nowrap!important}
.wecom-auth-compact .wecom-auth-step,.wecom-auth-compact.pending .wecom-auth-step,.wecom-auth-compact.ok .wecom-auth-step{min-height:34px!important;padding:7px 11px!important;gap:8px!important;border-radius:999px!important}.wecom-auth-compact .wecom-auth-step b,.wecom-auth-compact.pending .wecom-auth-step b,.wecom-auth-compact.ok .wecom-auth-step b{width:22px!important;height:22px!important;font-size:12px!important}.wecom-auth-compact .wecom-auth-step span,.wecom-auth-compact.pending .wecom-auth-step span,.wecom-auth-compact.ok .wecom-auth-step span{font-size:13px!important}.wecom-auth-compact .wecom-auth-steps,.wecom-auth-compact.ok .wecom-auth-steps{grid-template-columns:auto 56px auto 56px auto 56px auto!important;align-items:center!important}.wecom-auth-compact.pending .wecom-auth-steps{grid-template-columns:auto 56px auto 56px auto 56px auto auto!important}.wecom-auth-compact .wecom-auth-steps>i{height:3px!important;border-radius:999px!important}

/* Super admin information architecture refresh. */
.admin-user-layout{display:grid;grid-template-columns:1fr;gap:16px}.admin-user-create-grid{display:grid;grid-template-columns:minmax(160px,1fr) minmax(180px,1fr) 150px auto;gap:12px;align-items:end}.admin-user-create-grid .field{margin:0}.admin-create-btn{height:46px;align-self:end}.admin-user-table table{min-width:980px}.admin-user-actions{display:flex;gap:8px;flex-wrap:wrap}.admin-user-actions .btn{min-height:32px;padding:7px 10px;border-radius:10px}.admin-user-corp{display:grid;grid-template-columns:minmax(180px,1fr) auto auto;gap:8px;align-items:center;min-width:340px}.admin-user-corp .select{height:38px;padding:8px 10px}.admin-user-entry{display:flex;align-items:center;gap:10px}.admin-user-entry b{font-size:15px}.admin-user-entry .muted{line-height:1.35}.admin-user-status{display:inline-flex;align-items:center;border-radius:999px;background:#f2f6fb;color:#173052;padding:6px 10px;font-weight:900;font-size:12px}.admin-user-status.pending{background:#fff7ed;color:#9a3412}.admin-user-status.rejected{background:#fff1f2;color:#b91c1c}.admin-user-status.disabled{background:#f1f5f9;color:#475569}.admin-user-link{max-width:310px;word-break:break-all;color:#475569;font-size:12px;line-height:1.5}.admin-page-clean .card{overflow:hidden}#adminRankingPanel .rank-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}#adminRankingPanel .rank-box{background:#f8fbff;border:1px solid #e6eef9;border-radius:14px;padding:14px}#view-card-admin .quick-panel,#view-bottle-admin .quick-panel,#view-pdd-admin .quick-panel{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.control-metric{border:1px solid #e6eef9;background:#f8fbff;border-radius:14px;padding:14px}.control-metric b{color:#667085;font-size:12px}.control-metric span{font-size:26px;color:#101828;font-weight:950}@media(max-width:1100px){.admin-user-create-grid{grid-template-columns:1fr 1fr}.admin-create-btn{width:100%}#adminRankingPanel .rank-grid{grid-template-columns:1fr 1fr}.admin-user-corp{grid-template-columns:1fr}}@media(max-width:680px){.admin-user-create-grid,#adminRankingPanel .rank-grid{grid-template-columns:1fr}.admin-user-actions{display:grid;grid-template-columns:1fr 1fr}.admin-user-actions .btn{width:100%}}

/* Super admin user list cleanup. */
.admin-user-table table{min-width:1080px}.admin-user-table th,.admin-user-table td{vertical-align:middle}.admin-user-avatar{width:34px;height:34px;border-radius:50%;object-fit:cover;background:#eef3fb;display:inline-block}.admin-user-entry{display:flex;align-items:center;gap:10px}.admin-user-entry b{font-size:15px;color:#101828}.admin-user-corp{display:grid;grid-template-columns:minmax(180px,260px) auto auto;gap:8px;align-items:center}.admin-user-corp .select{height:36px;padding:7px 10px;border-radius:10px}.admin-user-corp .btn,.admin-user-actions .btn{min-height:34px;padding:7px 10px;border-radius:10px}.admin-user-actions{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}.admin-user-status{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#eef7ff;color:#155eef;padding:6px 10px;font-size:12px;font-weight:950;white-space:nowrap}.admin-user-status.pending{background:#fff7ed;color:#9a3412}.admin-user-status.disabled{background:#f1f5f9;color:#475569}.admin-user-status.rejected{background:#fff1f2;color:#b91c1c}.admin-user-link{max-width:260px;word-break:break-all;color:#667085;font-size:12px;line-height:1.45}.merchant-detail-modal{width:min(92vw,760px)}.merchant-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.merchant-detail-item{border:1px solid #e6eef9;background:#f8fbff;border-radius:14px;padding:14px}.merchant-detail-item b{display:block;color:#667085;font-size:12px;margin-bottom:8px}.merchant-detail-item span{display:block;color:#101828;font-size:22px;font-weight:950;word-break:break-all}@media(max-width:980px){.admin-user-corp{grid-template-columns:1fr}.admin-user-actions{flex-wrap:wrap}.merchant-detail-grid{grid-template-columns:1fr 1fr}}@media(max-width:620px){.merchant-detail-grid{grid-template-columns:1fr}}

/* Force enterprise auth card steps to one exact size in every status. */
#wecomAuthCard .wecom-auth-compact .wecom-auth-steps,
#wecomAuthCard .wecom-auth-compact.ok .wecom-auth-steps,
#wecomAuthCard .wecom-auth-compact.pending .wecom-auth-steps{
  display:grid!important;
  grid-template-columns:112px 64px 112px 64px 112px 64px 112px auto!important;
  align-items:center!important;
  justify-content:start!important;
  gap:0!important;
}
#wecomAuthCard .wecom-auth-compact.ok .wecom-auth-steps{
  grid-template-columns:112px 64px 112px 64px 112px 64px 112px!important;
}
#wecomAuthCard .wecom-auth-compact .wecom-auth-step,
#wecomAuthCard .wecom-auth-compact.ok .wecom-auth-step,
#wecomAuthCard .wecom-auth-compact.pending .wecom-auth-step{
  width:112px!important;
  height:38px!important;
  min-height:38px!important;
  padding:0 12px!important;
  gap:8px!important;
  border-radius:999px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
}
#wecomAuthCard .wecom-auth-compact .wecom-auth-step b,
#wecomAuthCard .wecom-auth-compact.ok .wecom-auth-step b,
#wecomAuthCard .wecom-auth-compact.pending .wecom-auth-step b{
  width:22px!important;
  height:22px!important;
  min-width:22px!important;
  font-size:12px!important;
  line-height:22px!important;
}
#wecomAuthCard .wecom-auth-compact .wecom-auth-step span,
#wecomAuthCard .wecom-auth-compact.ok .wecom-auth-step span,
#wecomAuthCard .wecom-auth-compact.pending .wecom-auth-step span{
  font-size:13px!important;
  line-height:1!important;
  white-space:nowrap!important;
}
#wecomAuthCard .wecom-auth-compact .wecom-auth-steps>i,
#wecomAuthCard .wecom-auth-compact.ok .wecom-auth-steps>i,
#wecomAuthCard .wecom-auth-compact.pending .wecom-auth-steps>i{
  width:64px!important;
  height:3px!important;
  border-radius:999px!important;
}
#wecomAuthCard .wecom-auth-inline-btn{
  height:38px!important;
  min-height:38px!important;
  margin-left:14px!important;
  padding:0 18px!important;
  border-radius:999px!important;
}
@media(max-width:900px){
  #wecomAuthCard .wecom-auth-compact .wecom-auth-steps,
  #wecomAuthCard .wecom-auth-compact.ok .wecom-auth-steps,
  #wecomAuthCard .wecom-auth-compact.pending .wecom-auth-steps{grid-template-columns:1fr!important;gap:8px!important}
  #wecomAuthCard .wecom-auth-compact .wecom-auth-steps>i{display:none!important}
  #wecomAuthCard .wecom-auth-compact .wecom-auth-step{width:100%!important}
  #wecomAuthCard .wecom-auth-inline-btn{margin-left:0!important;width:100%!important}
}

/* Revert enterprise auth step size to the original authorized-success compact size. */
#wecomAuthCard .wecom-auth-compact .wecom-auth-steps,
#wecomAuthCard .wecom-auth-compact.ok .wecom-auth-steps{
  display:grid!important;
  grid-template-columns:auto 56px auto 56px auto 56px auto!important;
  align-items:center!important;
  justify-content:start!important;
  gap:0!important;
}
#wecomAuthCard .wecom-auth-compact.pending .wecom-auth-steps{
  display:grid!important;
  grid-template-columns:auto 56px auto 56px auto 56px auto auto!important;
  align-items:center!important;
  justify-content:start!important;
  gap:0!important;
}
#wecomAuthCard .wecom-auth-compact .wecom-auth-step,
#wecomAuthCard .wecom-auth-compact.ok .wecom-auth-step,
#wecomAuthCard .wecom-auth-compact.pending .wecom-auth-step{
  width:auto!important;
  height:auto!important;
  min-height:28px!important;
  padding:4px 8px!important;
  gap:5px!important;
  border-radius:999px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
}
#wecomAuthCard .wecom-auth-compact .wecom-auth-step b,
#wecomAuthCard .wecom-auth-compact.ok .wecom-auth-step b,
#wecomAuthCard .wecom-auth-compact.pending .wecom-auth-step b{
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  font-size:11px!important;
  line-height:18px!important;
}
#wecomAuthCard .wecom-auth-compact .wecom-auth-step span,
#wecomAuthCard .wecom-auth-compact.ok .wecom-auth-step span,
#wecomAuthCard .wecom-auth-compact.pending .wecom-auth-step span{
  font-size:12px!important;
  line-height:1!important;
  white-space:nowrap!important;
}
#wecomAuthCard .wecom-auth-compact .wecom-auth-steps>i,
#wecomAuthCard .wecom-auth-compact.ok .wecom-auth-steps>i,
#wecomAuthCard .wecom-auth-compact.pending .wecom-auth-steps>i{
  width:56px!important;
  height:3px!important;
  border-radius:999px!important;
}
#wecomAuthCard .wecom-auth-inline-btn{
  height:28px!important;
  min-height:28px!important;
  margin-left:12px!important;
  padding:0 14px!important;
  border-radius:999px!important;
}
@media(max-width:900px){
  #wecomAuthCard .wecom-auth-compact .wecom-auth-steps,
  #wecomAuthCard .wecom-auth-compact.ok .wecom-auth-steps,
  #wecomAuthCard .wecom-auth-compact.pending .wecom-auth-steps{grid-template-columns:1fr!important;gap:8px!important}
  #wecomAuthCard .wecom-auth-compact .wecom-auth-steps>i{display:none!important}
  #wecomAuthCard .wecom-auth-inline-btn{margin-left:0!important;width:100%!important;height:34px!important;min-height:34px!important}
}

/* Keep login screen white while the admin workspace stays dark. */
body:has(#authView[style*="display: grid"]),
body:has(#authView:not([style*="display: none"])){
  background:#fff!important;
}
#authView.auth{
  background:#fff!important;
}
.invite-form{align-items:start}
.invite-setup{display:grid;gap:16px}.invite-rule-form{grid-template-columns:minmax(220px,1.4fr) minmax(160px,.7fr) minmax(150px,.65fr) auto;margin-bottom:0}.invite-group-panel{border:1px solid #e1eaf7;border-radius:20px;background:linear-gradient(145deg,#fbfdff,#f6faff);padding:14px;display:grid;gap:12px}.invite-group-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.invite-group-head h3{margin:0;color:#132238;font-size:17px}.invite-group-head p{margin:5px 0 0;color:#66758d;font-size:13px;font-weight:800}.invite-group-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.invite-group-actions .input{width:210px}.invite-group-actions .btn{padding:10px 13px;white-space:nowrap}.invite-group-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px;min-height:280px}.invite-group-item{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:10px;border:1px solid #dfe8f6;border-radius:15px;background:#fff;padding:11px 12px;cursor:pointer;transition:.16s ease;min-height:52px}.invite-group-item:hover{border-color:#adc9ff;box-shadow:0 8px 20px rgba(30,98,255,.08)}.invite-group-item.selected{border-color:#1e62ff;background:#eff6ff}.invite-group-item input{width:16px;height:16px}.invite-group-name{font-weight:900;color:#173052;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.invite-group-type{display:block;margin-top:2px;font-size:12px;color:#7a8799;font-weight:800}.invite-group-pager{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;border-top:1px solid #e5edf8;padding-top:12px}.invite-group-pager .btn{padding:9px 12px}.invite-group-pager input{width:70px;text-align:center}.invite-card{padding:16px}.invite-card-top .toolbar .btn{padding:9px 12px}.local-sync-grid{align-items:stretch}@media(max-width:1080px){.invite-rule-form{grid-template-columns:1fr}.invite-group-head{display:grid}.invite-group-actions{justify-content:flex-start}.invite-group-actions .input{width:100%}.invite-group-list{grid-template-columns:1fr;min-height:auto}}

.activation-admin{display:grid;gap:14px}
.activation-admin-switch{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;border:1px solid #e3edf9;background:#f8fbff;border-radius:14px;padding:12px 14px}
.activation-admin-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.activation-admin-stats>div{border:1px solid #e0eaf8;background:linear-gradient(145deg,#fff,#f7fbff);border-radius:14px;padding:10px 12px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.activation-admin-stats b{font-size:13px;color:#68778f}
.activation-admin-stats span{font-size:20px;font-weight:950;color:#12213a}
.activation-admin-tools{display:grid;grid-template-columns:120px 1fr 1fr 1fr;gap:8px;align-items:center}
.activation-admin-tools .btn{white-space:nowrap}
.activation-compact{gap:10px}
.activation-compact .activation-admin-switch{padding:10px 12px}
.activation-compact .activation-table{max-height:165px}
.activation-compact .activation-table th,.activation-compact .activation-table td{padding:8px 10px;font-size:12px}
.activation-table{max-height:360px;overflow:auto}
.activation-table .code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;letter-spacing:.08em;color:#11264a}
.compact-empty{padding:22px!important}
@media(max-width:900px){
  .activation-admin-stats{grid-template-columns:1fr}
  .activation-admin-tools{grid-template-columns:1fr}
}

.compact-verify-grid.grid-3{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.1fr);gap:14px}
.compact-verify-card{overflow:hidden}
.compact-group-picker .select{width:100%;min-width:0;height:40px}
.compact-group-actions{grid-template-columns:repeat(3,minmax(0,1fr))}
.compact-group-actions .btn{font-size:12px;padding:7px 6px;min-width:0;overflow:hidden;text-overflow:ellipsis}
.compact-verify-card .section-title{gap:8px}
.compact-verify-card .section-title h2{font-size:16px;white-space:nowrap}
.compact-verify-card .section-title .muted{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.activation-compact .activation-admin-stats{gap:6px}
.activation-compact .activation-admin-stats>div{padding:7px 8px;border-radius:11px;display:grid;gap:2px;justify-items:center;text-align:center}
.activation-compact .activation-admin-stats b{font-size:11px;line-height:1.15}
.activation-compact .activation-admin-stats span{font-size:16px;line-height:1.1}
.activation-compact .activation-admin-tools{grid-template-columns:1fr 1fr;gap:7px}
.activation-compact .activation-admin-tools .input{grid-column:1/-1;height:38px}
.activation-compact .activation-admin-tools .btn{height:36px;padding:7px 8px;font-size:12px;min-width:0;overflow:hidden;text-overflow:ellipsis}
.activation-compact #activationGenerateBtn{grid-column:1/-1}
.activation-compact .table-wrap{width:100%;max-width:100%;overflow:auto}
.activation-compact .activation-table table{min-width:460px}
.activation-compact .activation-table .code{letter-spacing:.04em}
@media(max-width:980px){
  .compact-verify-grid.grid-3{grid-template-columns:1fr}
  .compact-group-actions{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:620px){
  .compact-group-actions,.activation-compact .activation-admin-tools{grid-template-columns:1fr}
}

#view-cards .compact-verify-grid.grid-3{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.05fr)!important;gap:14px!important;align-items:start!important;max-width:100%!important}
#view-cards .compact-verify-card{min-width:0!important;max-width:100%!important;overflow:hidden!important}
#view-cards .compact-group-picker{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;min-width:0!important;align-items:start!important}
#view-cards .compact-group-picker .select{width:100%!important;min-width:0!important;max-width:100%!important;height:44px!important;line-height:1.2!important;padding:0 10px!important;font-size:12px!important}
#view-cards .compact-group-actions{display:grid!important;grid-template-columns:82px 98px 112px!important;gap:5px!important}
#view-cards .compact-group-actions .btn{width:100%!important;min-width:0!important;height:44px!important;padding:5px 4px!important;font-size:10.5px!important;line-height:1.15!important;white-space:normal!important;word-break:keep-all!important;overflow:hidden!important}
#view-cards .verify-chip-list{grid-template-columns:repeat(4,minmax(0,1fr))!important;max-height:240px!important;overflow-y:auto!important;overflow-x:hidden!important}
#view-cards .verify-chip{grid-template-columns:minmax(0,1fr) 22px!important;align-items:center!important;min-height:34px!important;padding:6px 8px!important}
#view-cards .verify-chip b{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;word-break:normal!important;line-height:1.2!important;max-height:none!important}
#view-cards .verify-chip span{display:none!important}
#view-cards .activation-compact{min-width:0!important;max-width:100%!important;overflow:hidden!important}
#view-cards .activation-compact .activation-admin-switch{padding:8px 10px!important;min-width:0!important}
#view-cards .activation-compact .tiny-toggle{font-size:12px!important;white-space:normal!important}
#view-cards .activation-compact .activation-admin-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important}
#view-cards .activation-compact .activation-admin-stats>div{min-width:0!important;padding:6px 4px!important;border-radius:10px!important}
#view-cards .activation-compact .activation-admin-stats b{font-size:10px!important;white-space:nowrap!important}
#view-cards .activation-compact .activation-admin-stats span{font-size:15px!important}
#view-cards .activation-compact .activation-admin-tools{grid-template-columns:86px minmax(0,1fr)!important;gap:6px!important;min-width:0!important}
#view-cards .activation-compact .activation-admin-tools .input{grid-column:auto!important;min-width:0!important;width:100%!important;height:36px!important}
#view-cards .activation-compact .activation-admin-tools .btn{min-width:0!important;width:100%!important;height:34px!important;padding:6px 5px!important;font-size:11px!important;line-height:1.15!important;white-space:normal!important;overflow:hidden!important}
#view-cards .activation-compact #activationGenerateBtn{grid-column:auto!important}
.activation-code-list{display:grid;gap:7px;max-height:176px;overflow-y:auto;overflow-x:hidden;padding-right:3px}
.activation-code-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 8px;align-items:center;border:1px solid #e3edf9;background:#fbfdff;border-radius:11px;padding:8px 9px;min-width:0}
.activation-code-row .code{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;letter-spacing:.04em;color:#11264a;font-size:12px}
.activation-code-row span{font-size:11px;font-weight:900;border-radius:999px;padding:3px 6px;white-space:nowrap}
.activation-code-row span.unused{background:#ecfdf3;color:#047857}
.activation-code-row span.used{background:#eef2f7;color:#64748b}
.activation-code-row small{grid-column:1/-1;color:#7a8799;font-size:11px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cards-management-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start}
.cards-management-grid .card{min-width:0;overflow:hidden}
.activation-list-card .section-title{align-items:flex-start}
.activation-list-actions{display:flex!important;flex-wrap:nowrap!important;gap:6px!important;overflow-x:auto!important}
.activation-list-actions .btn{flex:0 0 auto!important;min-width:0!important;height:30px!important;padding:5px 8px!important;font-size:11px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.activation-full-table{width:100%;max-height:none;overflow-x:auto;overflow-y:visible;border:1px solid #e4ecf7;border-radius:14px;background:#fff}
.activation-full-table table{width:100%;min-width:760px;border-collapse:collapse}
.activation-full-table th,.activation-full-table td{padding:10px 9px;border-bottom:1px solid #eef3fb;text-align:left;font-size:12px;vertical-align:middle}
.activation-full-table th{position:sticky;top:0;background:#f8fbff;z-index:1;color:#526279;font-weight:900}
.activation-full-table tr:hover td{background:#fbfdff}
.activation-full-table .check-col{width:34px}
.activation-full-table .code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;letter-spacing:.04em;color:#11264a}
.activation-status{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:900;white-space:nowrap}
.activation-status.unused{background:#ecfdf3;color:#047857}
.activation-status.used{background:#eef2f7;color:#64748b}
.activation-full-table .mini-btn{height:28px!important;padding:4px 8px!important;font-size:11px!important}
@media(max-width:1180px){
  #view-cards .compact-verify-grid.grid-3{grid-template-columns:1fr!important}
  #view-cards .compact-group-picker{grid-template-columns:1fr!important}
  #view-cards .compact-group-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  #view-cards .compact-group-actions .btn{width:100%!important}
  #view-cards .verify-chip-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .cards-management-grid{grid-template-columns:1fr}
}
@media(max-width:620px){
  #view-cards .verify-chip-list{grid-template-columns:1fr!important}
  .activation-list-actions{grid-template-columns:1fr 1fr}
}

/* 卡密分发页：三卡片和左右列表统一尺寸，避免 100% 浏览器下挤压错位 */
#view-cards .compact-verify-grid.grid-3{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  align-items:stretch!important;
  gap:16px!important;
}
#view-cards .compact-verify-card{
  display:flex!important;
  flex-direction:column!important;
  min-height:278px!important;
  height:100%!important;
}
#view-cards .compact-group-picker{
  grid-template-columns:minmax(0,1fr) 306px!important;
  align-items:center!important;
}
#view-cards .compact-group-picker .select{
  height:42px!important;
  line-height:42px!important;
  padding:0 12px!important;
  font-size:12px!important;
}
#view-cards .compact-group-actions{
  grid-template-columns:86px 104px 108px!important;
  align-items:center!important;
}
#view-cards .compact-group-actions .btn{
  height:38px!important;
  padding:0 6px!important;
  font-size:10.5px!important;
  line-height:1.12!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}
#view-cards .verify-chip-list{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:7px!important;
  max-height:188px!important;
  overflow:auto!important;
  align-content:start!important;
}
#view-cards .verify-chip{
  min-height:32px!important;
  padding:6px 7px!important;
  gap:5px!important;
  border-radius:11px!important;
}
#view-cards .verify-chip b{
  font-size:11.5px!important;
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
  letter-spacing:0!important;
}
#view-cards .verify-chip-remove{
  width:20px!important;
  height:20px!important;
  font-size:15px!important;
}
#view-cards .activation-compact{
  display:flex!important;
  flex-direction:column!important;
  gap:9px!important;
}
#view-cards .activation-compact .activation-admin-tools{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  align-items:center!important;
}
#view-cards .activation-compact .activation-admin-tools .input,
#view-cards .activation-compact .activation-admin-tools .btn{
  height:38px!important;
}
#view-cards .activation-compact #activationGenerateBtn{
  font-size:11.5px!important;
  white-space:nowrap!important;
}
#view-cards .cards-management-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:16px!important;
  align-items:stretch!important;
}
#view-cards .cards-management-grid>.card{
  display:flex!important;
  flex-direction:column!important;
  min-height:640px!important;
}
#view-cards .cards-management-grid .list-actions{
  display:flex!important;
  flex-wrap:nowrap!important;
  gap:6px!important;
  overflow-x:auto!important;
  padding-bottom:2px!important;
}
#view-cards .cards-management-grid .list-actions .btn{
  flex:0 0 auto!important;
  width:82px!important;
  height:30px!important;
  padding:4px 6px!important;
  font-size:11px!important;
  line-height:1.12!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  white-space:normal!important;
}
#view-cards .cards-management-grid .list-actions .btn:nth-child(2),
#view-cards .cards-management-grid .list-actions .btn:nth-child(3),
#view-cards .cards-management-grid .list-actions .btn:nth-child(4){
  width:96px!important;
}
#view-cards .cards-management-grid .table-wrap,
#view-cards .activation-full-table{
  flex:1 1 auto!important;
  min-height:492px!important;
  max-height:none!important;
  overflow:auto!important;
  border:1px solid #e4ecf7!important;
  border-radius:14px!important;
}
#view-cards .cards-management-grid table{
  width:100%!important;
  min-width:760px!important;
}
#view-cards .cards-management-grid th,
#view-cards .cards-management-grid td{
  height:42px!important;
  padding:8px 9px!important;
  font-size:12px!important;
  vertical-align:middle!important;
}
#view-cards .cards-management-grid td .btn,
#view-cards .activation-full-table .mini-btn{
  width:56px!important;
  height:28px!important;
  padding:4px 8px!important;
  font-size:11px!important;
}
#view-cards .cards-management-grid .pager{
  margin-top:auto!important;
  min-height:44px!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  gap:8px!important;
  flex-wrap:wrap!important;
}
#view-cards .cards-management-grid .pager .btn{
  height:30px!important;
  padding:5px 10px!important;
  font-size:12px!important;
}
.claim-search-input{width:min(320px,100%)!important;max-width:320px!important;height:38px!important}
.claim-search-tag{display:inline-flex;align-items:center;margin-left:10px;border-radius:999px;padding:3px 9px;background:#eef6ff;color:#1e40af;font-size:12px;font-weight:900}
@media(max-width:1380px){
  #view-cards .compact-verify-grid.grid-3{grid-template-columns:1fr!important}
  #view-cards .compact-verify-card{min-height:0!important}
  #view-cards .compact-group-picker{grid-template-columns:1fr!important}
  #view-cards .compact-group-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:1180px){
  #view-cards .cards-management-grid{grid-template-columns:1fr!important}
}

/* Dashboard hero refresh: solid pie + upright trend dates. */
.hero-card{
  min-height:152px!important;
  padding:16px 22px!important;
}
.hero-card-content{
  grid-template-columns:minmax(0,1fr) 292px!important;
  align-items:center!important;
  gap:18px!important;
}
.hero-copy{
  display:grid!important;
  justify-items:stretch!important;
  align-content:stretch!important;
  text-align:left!important;
  min-height:118px!important;
  position:relative!important;
}
.hero-copy h3{
  position:absolute!important;
  left:-6px!important;
  top:-24px!important;
  font-size:15px!important;
  color:#52657f!important;
}
.hero-value{
  font-size:72px!important;
  line-height:.95!important;
  margin-top:0!important;
  min-height:118px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  text-align:left!important;
  color:#0f213d!important;
}
.hero-note{display:none!important}
.hero-pie-wrap{
  min-width:286px!important;
  padding:0!important;
  display:grid!important;
  justify-items:center!important;
  gap:6px!important;
}
.hero-pie-chart{
  width:286px!important;
  height:174px!important;
  display:block!important;
  overflow:visible!important;
}
.hero-pie-slice{
  stroke:#fff;
  stroke-width:2;
  vector-effect:non-scaling-stroke;
}
.hero-pie-line{
  fill:none;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
  opacity:.86;
  vector-effect:non-scaling-stroke;
}
.hero-pie-percent{
  fill:#101828;
  font-size:14px;
  font-weight:950;
}
.hero-pie-side-name{
  fill:#52657f;
  font-size:12px;
  font-weight:900;
}
.fixed-ratio-chart .hero-pie-line{
  stroke-width:2.4;
}
.fixed-ratio-legend{
  width:100%!important;
  justify-content:space-between!important;
  padding:0 22px!important;
}
.hero-pie-legend{
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  gap:12px!important;
  flex-wrap:wrap!important;
  margin-top:0!important;
  font-size:12px!important;
}
.hero-pie-legend span{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
}
.day-label{
  height:auto!important;
  line-height:1.2!important;
  writing-mode:horizontal-tb!important;
  transform:none!important;
  transform-origin:center!important;
  white-space:nowrap!important;
  width:auto!important;
  min-width:30px!important;
  text-align:center!important;
}
.daily-bars{
  padding-bottom:10px!important;
}
.contact-skip-option{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin:10px 0 2px;
  padding:9px 12px;
  border:1px solid #dfe8f6;
  border-radius:12px;
  background:#f8fbff;
  color:#173052;
  font-size:13px;
  font-weight:900;
  width:max-content;
}
.contact-skip-option input{
  width:auto;
}
@media(max-width:1180px){
  .hero-card-content{grid-template-columns:minmax(0,1fr) 276px!important}
  .hero-value{font-size:62px!important}
}
@media(max-width:860px){
  .hero-card-content{grid-template-columns:1fr!important}
  .hero-pie-wrap{min-width:0!important}
  .hero-pie-chart{width:280px!important;height:170px!important}
  .hero-value{font-size:52px!important}
}

/* Mobile admin layout: phone-only polish, desktop remains unchanged. */
body:not(.admin-authenticated) #shell{display:none!important}
@media(max-width:860px){
  html,body{
    width:100%!important;
    max-width:100%!important;
    overflow-x:hidden!important;
    background:#f4f7fb!important;
  }
  body:not(.admin-authenticated){
    background:#fff!important;
  }
  body:not(.admin-authenticated) #authView{
    min-height:100svh!important;
    display:grid!important;
    place-items:center start!important;
    padding:18px 24px!important;
    overflow:auto!important;
    background:#fff!important;
  }
  body:not(.admin-authenticated) .auth-card{
    width:min(320px,calc(100vw - 80px))!important;
    max-width:320px!important;
    min-width:0!important;
    justify-self:start!important;
    grid-template-columns:1fr!important;
    border-radius:22px!important;
    box-shadow:0 18px 48px rgba(15,35,63,.12)!important;
    border:1px solid #e8eef7!important;
  }
  body:not(.admin-authenticated) .auth-side{
    display:none!important;
  }
  body:not(.admin-authenticated) .auth-main{
    padding:26px 18px 22px!important;
  }
  body:not(.admin-authenticated) .auth-main h2{
    font-size:24px!important;
    line-height:1.25!important;
  }
  body:not(.admin-authenticated) .field input,
  body:not(.admin-authenticated) .input{
    height:44px!important;
    border-radius:12px!important;
    font-size:16px!important;
  }
  body:not(.admin-authenticated) .auth-btn{
    height:46px!important;
    border-radius:12px!important;
  }

  body.admin-authenticated .shell{
    display:block!important;
    min-height:100svh!important;
    background:#f4f7fb!important;
  }
  body.admin-authenticated .sidebar{
    position:sticky!important;
    top:0!important;
    z-index:70!important;
    inset:auto!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    padding:10px 10px 12px!important;
    border-radius:0 0 18px 18px!important;
    border-right:0!important;
    border-bottom:1px solid rgba(255,255,255,.08)!important;
    background:#05060a!important;
  }
  body.admin-authenticated .brand{
    height:34px!important;
    margin:0 4px 8px!important;
    font-size:15px!important;
  }
  body.admin-authenticated .brand-logo{
    width:28px!important;
    height:28px!important;
    border-radius:8px!important;
  }
  body.admin-authenticated .tenant-meta,
  body.admin-authenticated .side-bottom{
    display:none!important;
  }
  body.admin-authenticated .nav{
    display:flex!important;
    grid-template-columns:none!important;
    gap:7px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    padding:0 2px 2px!important;
    scrollbar-width:none!important;
    -webkit-overflow-scrolling:touch!important;
  }
  body.admin-authenticated .nav::-webkit-scrollbar{display:none!important}
  body.admin-authenticated .nav button{
    flex:0 0 auto!important;
    width:auto!important;
    min-width:84px!important;
    min-height:36px!important;
    padding:8px 11px!important;
    border-radius:10px!important;
    font-size:13px!important;
    justify-content:center!important;
    white-space:nowrap!important;
  }
  body.admin-authenticated .nav-icon{
    width:15px!important;
    height:15px!important;
  }
  body.admin-authenticated .main{
    margin-left:0!important;
    padding:10px!important;
    min-height:auto!important;
    background:#f4f7fb!important;
  }
  body.admin-authenticated .topbar{
    position:static!important;
    display:block!important;
    min-height:0!important;
    margin:0 0 8px!important;
    padding:0!important;
    background:transparent!important;
    border:0!important;
  }
  body.admin-authenticated .status-tools{
    display:flex!important;
    justify-content:flex-end!important;
    align-items:center!important;
    gap:7px!important;
    overflow-x:auto!important;
    padding-bottom:2px!important;
    flex-wrap:nowrap!important;
  }
  body.admin-authenticated .status-tools>*{
    flex:0 0 auto!important;
  }
  body.admin-authenticated .support-trigger,
  body.admin-authenticated .account-trigger,
  body.admin-authenticated .top-tool-trigger,
  body.admin-authenticated .pill{
    height:32px!important;
    min-height:32px!important;
    padding:0 9px!important;
    border-radius:999px!important;
    font-size:12px!important;
    background:#fff!important;
    color:#132238!important;
    border:1px solid #e5ebf4!important;
  }
  body.admin-authenticated .account-dropdown,
  body.admin-authenticated .support-popover{
    position:fixed!important;
    top:96px!important;
    right:10px!important;
    left:auto!important;
    transform:none!important;
    max-width:calc(100vw - 20px)!important;
    z-index:120!important;
  }
  body.admin-authenticated .view.active{
    width:100%!important;
    max-width:100%!important;
    min-height:auto!important;
    padding:12px!important;
    border-radius:16px!important;
    border:1px solid #e5ebf4!important;
    box-shadow:none!important;
    overflow:hidden!important;
    background:#fff!important;
  }
  .card{
    max-width:100%!important;
    padding:14px!important;
    border-radius:16px!important;
    overflow:hidden!important;
  }
  .section-title{
    align-items:flex-start!important;
    gap:8px!important;
    flex-wrap:wrap!important;
  }
  .section-title h2{
    font-size:18px!important;
    line-height:1.25!important;
  }
  .grid-2,.grid-3,.cards,.ops-grid,.ops-grid.ops-single,.quick-panel,.dashboard-grid,.dashboard-charts,.hero-metrics,.mini-metrics,.ops-list,.ops-compact-head,.ops-material-panel,.broadcast-compose,.broadcast-action-panel,.contact-way-config,.ops-inline-grid,.ops-three-grid,.invite-layout,.invite-form,.lt-batch-area,.lt-page-head-grid,.cards-management-grid,#view-cards .cards-management-grid,.compact-verify-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
  }
  .hero-card{
    min-height:auto!important;
    padding:16px!important;
  }
  .hero-card-content{
    grid-template-columns:1fr!important;
    gap:8px!important;
  }
  .hero-copy{
    min-height:78px!important;
    align-content:start!important;
  }
  .hero-copy h3{
    position:static!important;
    margin:0 0 6px!important;
    font-size:14px!important;
  }
  .hero-value{
    min-height:0!important;
    display:block!important;
    font-size:46px!important;
    line-height:1!important;
  }
  .hero-pie-wrap{
    width:100%!important;
    min-width:0!important;
    justify-items:center!important;
  }
  .hero-pie-chart{
    width:min(100%,300px)!important;
    height:160px!important;
  }
  .fixed-ratio-legend{
    padding:0!important;
    justify-content:center!important;
  }
  .mini-card .big,.control-metric span{
    font-size:26px!important;
  }
  .bar-chart,.chart{
    width:100%!important;
    max-width:100%!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    -webkit-overflow-scrolling:touch!important;
  }
  .daily-bars{
    min-width:720px!important;
  }
  .toolbar,.list-actions,.selector-tools,.lt-action-bar,.bottle-edit-toolbar{
    display:flex!important;
    flex-wrap:wrap!important;
    gap:8px!important;
    max-width:100%!important;
  }
  .toolbar .btn,.list-actions .btn,.selector-tools .btn,.lt-action-bar .btn{
    min-height:34px!important;
    padding:8px 10px!important;
    font-size:12px!important;
    white-space:nowrap!important;
  }
  .input,.select,.textarea,.field input{
    min-width:0!important;
    max-width:100%!important;
    font-size:16px!important;
    border-radius:12px!important;
  }
  .sms-row,.pdd-url-row,.activation-admin-tools,.compact-group-actions{
    grid-template-columns:1fr!important;
  }
  .selector-box,.ops-section-targets .selector-box,.invite-group-list,.way-cards,.group-card-list,.verify-card-list,.broadcast-history{
    grid-template-columns:1fr!important;
    max-height:56vh!important;
  }
  .table-wrap,.lt-table,#view-cards .cards-management-grid .table-wrap,#view-cards .activation-full-table{
    width:100%!important;
    max-width:100%!important;
    overflow-x:auto!important;
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch!important;
    border-radius:12px!important;
  }
  table,.lt-table table,#view-cards .cards-management-grid table,.admin-user-table table{
    width:max-content!important;
    min-width:720px!important;
  }
  th,td{
    padding:9px 8px!important;
    font-size:12px!important;
    white-space:nowrap!important;
  }
  .link-cell,.admin-user-link{
    max-width:220px!important;
    white-space:normal!important;
    word-break:break-all!important;
  }
  .pager{
    gap:7px!important;
    padding:8px 0!important;
  }
  .pager .muted{
    width:100%!important;
    text-align:center!important;
  }
  .pager-jump{
    width:100%!important;
    justify-content:center!important;
  }
  .modal-mask{
    align-items:flex-start!important;
    justify-content:center!important;
    padding:10px!important;
    overflow:auto!important;
  }
  .modal,.lt-create-dialog,.lt-create-dialog.wide,.lt-short-dialog,.lt-batch-dialog,.lt-page-editor-modal,.lt-code-dialog,.lt-domain-modal,.bottle-lib-modal,.bottle-campaign-modal,.wecom-auth-modal,.merchant-detail-modal{
    width:100%!important;
    max-width:none!important;
    max-height:calc(100svh - 20px)!important;
    height:auto!important;
    border-radius:18px!important;
    padding:14px!important;
    overflow:auto!important;
  }
  .modal-top{
    position:sticky!important;
    top:0!important;
    z-index:2!important;
    background:#fff!important;
    margin:-14px -14px 12px!important;
    padding:14px!important;
    border-bottom:1px solid #eef2f8!important;
  }
  .modal-top h2{
    font-size:18px!important;
  }
  .lt-workbench{
    min-height:auto!important;
    padding-bottom:0!important;
  }
  .lt-bottom-bar{
    position:static!important;
    left:auto!important;
    right:auto!important;
    bottom:auto!important;
    width:100%!important;
    padding:10px 0 0!important;
    box-shadow:none!important;
    border-top:1px solid #eef2f8!important;
    justify-content:center!important;
    flex-wrap:wrap!important;
  }
  .lt-form-row,.lt-form-row.inline,.lt-sub-panel,.lt-upload-line{
    display:grid!important;
    grid-template-columns:1fr!important;
    margin-left:0!important;
  }
  .lt-dialog-footer,.modal-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
  }
  #view-cards .cards-management-grid>.card{
    min-height:auto!important;
  }
  #view-cards .cards-management-grid .table-wrap,
  #view-cards .activation-full-table{
    min-height:0!important;
    max-height:62vh!important;
  }
  #view-cards .cards-management-grid .list-actions{
    flex-wrap:wrap!important;
    overflow-x:visible!important;
  }
  #view-cards .cards-management-grid .list-actions .btn{
    width:auto!important;
    min-width:76px!important;
    white-space:nowrap!important;
  }
  .wecom-auth-compact,.wecom-auth-compact.ok,.wecom-auth-compact.pending{
    display:grid!important;
    grid-template-columns:1fr!important;
    padding:12px!important;
  }
  .wecom-auth-compact .wecom-auth-steps,
  .wecom-auth-compact.pending .wecom-auth-steps{
    grid-template-columns:1fr 1fr!important;
    gap:8px!important;
  }
  .wecom-auth-compact .wecom-auth-steps>i{
    display:none!important;
  }
  .wecom-permission-layout{
    grid-template-columns:1fr!important;
  }
  .wecom-permission-shot{
    max-height:300px!important;
  }
  .wecom-auth-qr img{
    width:220px!important;
    height:220px!important;
  }
}
