*{box-sizing:border-box}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,"PingFang SC",sans-serif;background:#eef3fb;color:#0f172a}button,a.link-btn{border:0;border-radius:14px;padding:12px 16px;font-size:14px;font-weight:900;background:#2563eb;color:#fff;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;cursor:pointer}button:active,a.link-btn:active{transform:translateY(1px)}input,select,textarea{width:100%;padding:13px 14px;border:1px solid #d9e0ec;border-radius:14px;font-size:15px;background:#fff;outline:none}input:focus,select:focus,textarea:focus{border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.12)}textarea{resize:vertical}label{display:block;margin:12px 0 8px;font-size:14px;font-weight:900;color:#334155}h1,h2,p{margin:0}.hidden{display:none!important}.v2-hero{min-height:170px;padding:30px 34px 58px;background:radial-gradient(circle at 15% 0,#475569 0,#0f172a 38%,#1d4ed8 100%);color:#fff;display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.v2-hero h1{font-size:38px;letter-spacing:-1px}.v2-hero p{margin-top:10px;color:#dbeafe;max-width:760px}.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.16em;color:#93c5fd;font-weight:900;margin-bottom:8px}.hero-actions{display:flex;gap:10px}.ghost-light{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22)}.v2-wrap{max-width:1440px;margin:-38px auto 50px;padding:0 18px}.kpi-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin-bottom:16px}.kpi{background:#fff;border:1px solid #e7ecf4;border-radius:22px;padding:18px;box-shadow:0 12px 30px rgba(15,23,42,.08)}.kpi label{margin:0;color:#64748b}.kpi strong{display:block;margin-top:8px;font-size:34px;letter-spacing:-1px}.kpi span{color:#94a3b8;font-weight:800}.ops-grid{display:grid;grid-template-columns:minmax(0,1.35fr) 430px;gap:16px}.ops-main,.ops-side{display:grid;gap:16px;align-content:start}.v2-panel{background:#fff;border:1px solid #e7ecf4;border-radius:24px;box-shadow:0 12px 30px rgba(15,23,42,.08);padding:22px}.panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px}.panel-head h2{font-size:24px;letter-spacing:-.3px}.panel-head p{margin-top:6px;color:#64748b}.panel-head.compact{align-items:center}.badge{background:#dbeafe;color:#1d4ed8;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:900}.upload-zone{border:1px dashed #cbd5e1;background:#f8fafc;border-radius:18px;padding:14px}.upload-preview{min-height:60px;margin-top:10px}.uploadedImg{width:88px;height:112px;object-fit:cover;border-radius:14px;margin:4px 7px 4px 0;border:1px solid #e2e8f0}.empty-tip{color:#94a3b8;font-size:14px}.form-grid{display:grid;grid-template-columns:1fr 160px;gap:12px}.action-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}.primary-btn{background:#2563eb}.secondary-btn{background:#0f766e}.success-btn{background:#16a34a}.ghost-btn{background:#eef2f7;color:#0f172a}.ai-box{margin-top:14px;border:1px solid #e7ecf4;background:#f8fafc;border-radius:18px;padding:14px}.ai-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:12px}.ai-summary>*{background:#fff;border:1px solid #e7ecf4;border-radius:12px;padding:10px;font-size:13px}.risk-low b{color:#16a34a}.risk-mid b{color:#d97706}.risk-high b{color:#dc2626}.variant-list{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.variant-list div{background:#fff;border:1px solid #e7ecf4;border-radius:14px;padding:12px}.variant-list p{margin-top:6px;color:#475569;white-space:pre-wrap;line-height:1.45;font-size:13px}.card-list{display:grid;gap:10px}.device-card,.task-card{border:1px solid #e7ecf4;border-radius:18px;background:#fff;padding:14px;box-shadow:0 8px 20px rgba(15,23,42,.05)}.row{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.small{font-size:12px;color:#64748b;margin-top:7px;line-height:1.45}.state,.risk{border-radius:999px;padding:5px 9px;font-size:12px;font-weight:900;white-space:nowrap}.state.ok{background:#dcfce7;color:#15803d}.state.warn{background:#ffedd5;color:#c2410c}.state.off{background:#f1f5f9;color:#64748b}.risk.low{background:#dcfce7;color:#15803d}.risk.medium{background:#fef3c7;color:#b45309}.risk.high{background:#fee2e2;color:#b91c1c}.device-actions{display:flex;gap:8px;margin-top:10px}.device-actions button{padding:8px 10px;background:#eef2f7;color:#0f172a;border-radius:10px;font-size:12px}.event-list{display:grid;gap:8px;max-height:420px;overflow:auto}.event-item{padding:11px;border-radius:14px;background:#f8fafc;border:1px solid #e7ecf4}.event-item b{display:block;font-size:13px}.event-item span{display:block;margin-top:4px;font-size:11px;color:#94a3b8}#toast{position:fixed;left:50%;bottom:22px;transform:translateX(-50%);background:#111827;color:#fff;padding:10px 15px;border-radius:999px;display:none;z-index:20;box-shadow:0 10px 30px rgba(0,0,0,.25)}@media(max-width:1100px){.kpi-grid{grid-template-columns:repeat(3,1fr)}.ops-grid{grid-template-columns:1fr}.v2-hero{flex-direction:column}.form-grid,.ai-summary,.variant-list{grid-template-columns:1fr}}@media(max-width:640px){.kpi-grid{grid-template-columns:repeat(2,1fr)}.v2-hero h1{font-size:30px}.v2-panel{padding:16px}.hero-actions{flex-direction:column;width:100%}.hero-actions>*{width:100%}}
.library-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 14px;padding:12px;border:1px solid #e7ecf4;background:#f8fafc;border-radius:18px}.library-left,.library-send{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.library-send select{width:260px}.selected-count{font-size:13px;font-weight:900;color:#2563eb;background:#dbeafe;border-radius:999px;padding:8px 11px}.library-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.material-card{position:relative;border:1px solid #e7ecf4;border-radius:18px;background:#fff;padding:12px;box-shadow:0 8px 20px rgba(15,23,42,.05);display:grid;grid-template-columns:142px 1fr;gap:12px}.material-card.selected{border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.12),0 8px 20px rgba(15,23,42,.06)}.material-check{position:absolute;left:10px;top:10px;z-index:2;margin:0;background:rgba(15,23,42,.82);color:#fff;border-radius:999px;padding:6px 9px;font-size:12px}.material-check input{width:auto;margin:0 5px 0 0}.material-cover{display:grid;grid-template-columns:repeat(2,1fr);gap:5px;min-height:138px}.material-cover img{width:100%;height:66px;object-fit:cover;border-radius:10px;border:1px solid #e2e8f0;background:#f8fafc}.no-img{grid-column:1/3;display:flex;align-items:center;justify-content:center;border-radius:12px;background:#f1f5f9;color:#94a3b8}.material-body{min-width:0}.material-body b{word-break:break-all}@media(max-width:900px){.library-toolbar{align-items:stretch;flex-direction:column}.library-send select{width:100%}.library-grid{grid-template-columns:1fr}.material-card{grid-template-columns:110px 1fr}.material-cover{min-height:108px}.material-cover img{height:52px}}
/* Material library large-preview mode */
.library-grid{grid-template-columns:1fr!important}.material-card{grid-template-columns:260px 1fr!important;min-height:300px;padding:16px!important}.material-cover{display:block!important;min-height:268px!important}.material-cover a{display:block;width:100%;height:268px}.material-cover img{width:100%!important;height:268px!important;object-fit:contain!important;background:#f8fafc;border-radius:16px!important}.material-check{font-size:14px!important;padding:8px 12px!important}.material-check input{transform:scale(1.25);transform-origin:center}.material-body .row b{font-size:20px;line-height:1.35}.strong-tip{font-weight:900;color:#2563eb!important}.no-img{height:268px}.library-toolbar{position:sticky;top:0;z-index:5}.material-card.selected{border-width:2px}@media(max-width:760px){.material-card{grid-template-columns:1fr!important}.material-cover a,.material-cover img,.no-img{height:320px!important}.material-body .row b{font-size:18px}}
/* Used / unused material states */
.filter-btn{background:#eef2f7;color:#0f172a}.filter-btn.active{background:#2563eb;color:#fff}.usage-line{display:inline-flex;margin-top:8px;border-radius:999px;padding:6px 10px;font-size:13px;font-weight:900}.usage-line.unused{background:#dcfce7;color:#15803d}.usage-line.used{background:#e5e7eb;color:#4b5563}.material-card.used{opacity:.78;background:#fafafa}.used-flag{background:#6b7280!important}.reset-btn{margin-top:12px;background:#f59e0b;color:#fff;padding:9px 12px;border-radius:12px;font-size:13px}.material-card.unused{border-color:#dbeafe}

/* Focused material-send workbench v21 */
.focused-admin{background:#f4f7fb}.focused-admin .command-top{min-height:auto;padding:20px 28px 50px;background:linear-gradient(120deg,#0f172a 0,#172554 58%,#2563eb 100%);color:#fff;display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.command-top h1{font-size:30px;letter-spacing:-.7px}.command-top p{margin-top:6px;color:#dbeafe;max-width:760px}.focus-wrap{max-width:1500px;margin:-34px auto 42px;padding:0 18px}.compact-kpis{grid-template-columns:1.25fr repeat(5,1fr);margin-bottom:10px}.compact-kpis .kpi{border-radius:18px;padding:14px 16px}.compact-kpis .kpi strong{font-size:28px;margin-top:4px}.compact-kpis .kpi label{font-size:13px}.compact-kpis .primary-kpi{border-color:#93c5fd;box-shadow:0 0 0 3px rgba(37,99,235,.08),0 10px 24px rgba(15,23,42,.08)}.online-hint{margin:0 0 12px;padding:12px 14px;border:1px solid #fed7aa;background:#fff7ed;color:#9a3412;border-radius:16px;font-weight:900}.online-hint a{margin-left:10px;color:#2563eb}.workbench-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:14px;align-items:start}.right-rail{display:grid;gap:12px;position:sticky;top:12px;align-self:start}.primary-work{min-height:720px}.library-head{margin-bottom:12px;align-items:center}.library-head h2{font-size:28px}.library-head p{font-size:14px}.focus-toolbar{position:sticky;top:0;z-index:8;margin-bottom:14px;border-color:#dbeafe;background:rgba(255,255,255,.94);backdrop-filter:blur(10px)}.mobile-send-inline{display:none}.send-panel{border:2px solid #bfdbfe}.send-summary{display:flex;align-items:end;gap:10px;padding:14px;border-radius:18px;background:linear-gradient(135deg,#eff6ff,#dbeafe);margin-bottom:14px}.big-count{font-size:46px;font-weight:1000;line-height:.9;color:#1d4ed8;letter-spacing:-2px}.send-summary span{font-weight:900;color:#1e3a8a}.send-box label{margin-top:0}.full-btn{width:100%;margin-top:10px}.ghost-link{border:1px solid #dbeafe;background:#eff6ff;color:#1d4ed8;text-decoration:none;border-radius:14px;padding:12px 14px;font-weight:900;display:flex;justify-content:center}.device-panel .panel-head{margin-bottom:10px}.device-card{box-shadow:none;border-radius:16px}.device-card.ok{border-color:#bbf7d0}.device-card.off{opacity:.82}.device-card .row b{font-size:15px}.device-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:10px}.device-metrics span{background:#f8fafc;border:1px solid #e7ecf4;border-radius:12px;padding:8px 6px;font-size:11px;color:#64748b;text-align:center}.device-metrics b{display:block;color:#0f172a;font-size:14px;margin-top:2px}.device-id{font-size:11px;color:#94a3b8;margin-top:8px;word-break:break-all}.device-id summary{cursor:pointer;color:#64748b}.collapsible-panel{padding:0;overflow:hidden}.collapsible-panel summary{cursor:pointer;padding:16px 18px;font-size:17px;font-weight:1000;list-style:none}.collapsible-panel summary::-webkit-details-marker{display:none}.collapsible-panel summary:after{content:'展开';float:right;font-size:12px;color:#64748b;background:#f1f5f9;border-radius:999px;padding:5px 8px}.collapsible-panel[open] summary:after{content:'收起'}.collapsible-panel>*:not(summary){margin-left:18px;margin-right:18px}.collapsible-panel .upload-zone,.collapsible-panel .ai-box{margin-bottom:18px}.focus-upload{border:0;background:#f8fafc;padding:12px}.focused-admin .library-grid{grid-template-columns:1fr!important}.focused-admin .material-card{grid-template-columns:330px 1fr!important;min-height:360px;border-radius:22px;border-color:#dbeafe}.focused-admin .material-cover,.focused-admin .material-cover a,.focused-admin .material-cover img{height:326px!important}.focused-admin .material-cover img{border-radius:18px!important}.focused-admin .material-check{font-size:15px!important;padding:10px 14px!important}.focused-admin .material-body .row b{font-size:22px}.focused-admin .usage-line{font-size:14px}.focused-admin .small{font-size:13px}.focused-admin .filter-btn{padding:10px 14px}.focused-admin .selected-count{font-size:14px}.focused-admin .event-list{max-height:260px}.focused-admin .event-item{box-shadow:none}.focused-admin .v2-panel{border-radius:22px}@media(max-width:1180px){.workbench-grid{grid-template-columns:1fr}.right-rail{position:static}.send-panel{display:none}.mobile-send-inline{display:flex}.compact-kpis{grid-template-columns:repeat(3,1fr)}}@media(max-width:760px){.focused-admin .command-top{flex-direction:column;padding:18px 16px 44px}.focus-wrap{padding:0 10px}.compact-kpis{grid-template-columns:repeat(2,1fr)}.workbench-grid{gap:10px}.focused-admin .material-card{grid-template-columns:1fr!important;min-height:auto}.focused-admin .material-cover,.focused-admin .material-cover a,.focused-admin .material-cover img{height:330px!important}.library-head{align-items:flex-start;flex-direction:column}.focus-toolbar{align-items:stretch;flex-direction:column}.mobile-send-inline{display:flex;width:100%;flex-direction:column}.mobile-send-inline select{width:100%}.collapsible-panel>*:not(summary){margin-left:12px;margin-right:12px}}

/* V3 lifecycle + device recommendation */
.recommended-devices{display:grid;gap:8px;margin:10px 0 2px}.rec-device{width:100%;display:block;text-align:left;background:#f8fafc;color:#0f172a;border:1px solid #e7ecf4;border-radius:14px;padding:11px 12px}.rec-device.best{border-color:#22c55e;background:#f0fdf4}.rec-device b{display:block;font-size:14px}.rec-device span{display:block;margin-top:3px;color:#64748b;font-size:12px}.publish-links{display:grid;gap:6px;margin-top:8px}.publish-links a{display:block;border:1px solid #bbf7d0;background:#f0fdf4;color:#15803d;border-radius:12px;padding:8px 10px;text-decoration:none;font-weight:900;font-size:12px;word-break:break-all}.focused-admin .usage-line.used{background:#eff6ff;color:#1d4ed8}.focused-admin .material-card.used .used-flag{background:#1d4ed8!important}.filter-btn[data-filter="published"].active{background:#16a34a;color:#fff}

/* Button hover micro-interactions v23 */
button,a.link-btn,.ghost-link,.filter-btn,.rec-device,.setting-item{transition:transform .18s ease,box-shadow .18s ease,filter .18s ease,background .18s ease,border-color .18s ease,color .18s ease;will-change:transform}
button:hover,a.link-btn:hover,.ghost-link:hover,.filter-btn:hover,.rec-device:hover{transform:translateY(-2px);filter:brightness(1.04);box-shadow:0 12px 26px rgba(15,23,42,.16)}
button:active,a.link-btn:active,.ghost-link:active,.filter-btn:active,.rec-device:active{transform:translateY(0) scale(.985);box-shadow:0 6px 14px rgba(15,23,42,.12)}
.primary-btn:hover,.success-btn:hover,.secondary-btn:hover{box-shadow:0 14px 30px rgba(37,99,235,.22),0 0 0 4px rgba(37,99,235,.08)}
.success-btn:hover{box-shadow:0 14px 30px rgba(22,163,74,.24),0 0 0 4px rgba(34,197,94,.10)}
.secondary-btn:hover{box-shadow:0 14px 30px rgba(15,118,110,.24),0 0 0 4px rgba(20,184,166,.10)}
.ghost-btn:hover,.filter-btn:hover{background:#e0e7ff;color:#1d4ed8;border-color:#bfdbfe}.filter-btn.active:hover{background:#1d4ed8;color:#fff}.rec-device:hover{border-color:#60a5fa;background:#eff6ff}.rec-device.best:hover{border-color:#22c55e;background:#dcfce7}.material-check:hover,.reset-btn:hover{transform:translateY(-1px);filter:brightness(1.05);box-shadow:0 10px 22px rgba(15,23,42,.18)}
.material-card{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,opacity .18s ease}.material-card.unused:hover{transform:translateY(-2px);box-shadow:0 18px 42px rgba(15,23,42,.12);border-color:#93c5fd}.material-cover a{transition:transform .18s ease,filter .18s ease}.material-cover a:hover{transform:scale(1.012);filter:brightness(1.03)}
@media (prefers-reduced-motion: reduce){button,a.link-btn,.ghost-link,.filter-btn,.rec-device,.setting-item,.material-card,.material-cover a{transition:none!important}button:hover,a.link-btn:hover,.ghost-link:hover,.filter-btn:hover,.rec-device:hover,.material-card.unused:hover,.material-cover a:hover{transform:none!important}}

/* Compact material list density v24 */
.focused-admin .material-card{grid-template-columns:190px 1fr!important;min-height:210px!important;padding:12px!important;border-radius:18px!important;gap:12px!important}.focused-admin .material-cover,.focused-admin .material-cover a,.focused-admin .material-cover img{height:186px!important}.focused-admin .material-cover img{border-radius:14px!important}.focused-admin .material-body .row b{font-size:18px!important;line-height:1.25}.focused-admin .usage-line{font-size:12px!important;padding:5px 8px!important;margin-top:6px}.focused-admin .small{font-size:12px!important;line-height:1.32;margin-top:4px}.focused-admin .material-check{font-size:13px!important;padding:7px 10px!important}.focused-admin .material-check input{transform:scale(1.08)}.focused-admin .library-grid{gap:9px!important}.focused-admin .primary-work{min-height:640px}.focused-admin .panel-head.library-head{margin-bottom:8px}.focused-admin .focus-toolbar{padding:9px 10px!important;margin-bottom:10px!important}.focused-admin .strong-tip{display:none}.focused-admin .publish-links a{padding:6px 8px;font-size:11px}@media(min-width:1320px){.focused-admin .material-card{grid-template-columns:170px 1fr!important;min-height:190px!important}.focused-admin .material-cover,.focused-admin .material-cover a,.focused-admin .material-cover img{height:166px!important}}@media(max-width:760px){.focused-admin .material-card{grid-template-columns:126px 1fr!important;min-height:150px!important}.focused-admin .material-cover,.focused-admin .material-cover a,.focused-admin .material-cover img{height:126px!important}.focused-admin .material-body .row b{font-size:15px!important}.focused-admin .small{font-size:11px!important}.focused-admin .material-check{font-size:12px!important;padding:6px 8px!important}}

/* Wide-screen two-column material grid v25 */
@media(min-width:1200px){.focused-admin .library-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.focused-admin .material-card{grid-template-columns:132px 1fr!important;min-height:166px!important;padding:10px!important;gap:10px!important}.focused-admin .material-cover,.focused-admin .material-cover a,.focused-admin .material-cover img{height:142px!important}.focused-admin .material-body .row{align-items:center}.focused-admin .material-body .row b{font-size:15px!important;line-height:1.22;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.focused-admin .material-body .small{font-size:11px!important;line-height:1.28;margin-top:3px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.focused-admin .usage-line{font-size:11px!important;padding:4px 7px!important}.focused-admin .risk{font-size:11px;padding:4px 7px}.focused-admin .material-check{font-size:12px!important;padding:6px 8px!important}.focused-admin .publish-links{margin-top:5px}.focused-admin .publish-links a{font-size:11px;padding:5px 7px}.focused-admin .reset-btn{margin-top:7px;padding:7px 9px;font-size:12px}}
@media(min-width:1500px){.focused-admin .library-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.focused-admin .material-card{grid-template-columns:118px 1fr!important;min-height:150px!important}.focused-admin .material-cover,.focused-admin .material-cover a,.focused-admin .material-cover img{height:126px!important}}

/* Remove empty space inside material cards v26 */
.focused-admin .material-card{min-height:0!important;height:auto!important;align-items:start!important;grid-template-columns:132px minmax(0,1fr)!important;padding:10px!important;gap:10px!important}.focused-admin .material-cover{min-height:0!important;height:auto!important}.focused-admin .material-cover a,.focused-admin .material-cover img{height:132px!important}.focused-admin .material-body{align-self:start!important}.focused-admin .material-body .row{margin-bottom:2px!important}.focused-admin .material-body .small:nth-of-type(n+4){display:none!important}.focused-admin .material-card .strong-tip{display:none!important}.focused-admin .library-grid{align-items:start!important}.focused-admin .material-card.used{min-height:0!important}.focused-admin .no-img{height:132px!important}.focused-admin .reset-btn{margin-top:6px!important}
@media(min-width:1200px){.focused-admin .material-card{grid-template-columns:126px minmax(0,1fr)!important}.focused-admin .material-cover a,.focused-admin .material-cover img,.focused-admin .no-img{height:126px!important}}
@media(max-width:760px){.focused-admin .material-card{grid-template-columns:112px minmax(0,1fr)!important}.focused-admin .material-cover a,.focused-admin .material-cover img,.focused-admin .no-img{height:112px!important}}

/* Force two materials per row v27 */
@media(min-width:900px){.focused-admin .library-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.focused-admin .material-card{grid-template-columns:112px minmax(0,1fr)!important;min-width:0!important;min-height:0!important}.focused-admin .material-cover a,.focused-admin .material-cover img,.focused-admin .no-img{height:112px!important}.focused-admin .material-body{min-width:0!important}.focused-admin .material-body .row b{font-size:14px!important;-webkit-line-clamp:2}.focused-admin .material-body .small{font-size:11px!important;-webkit-line-clamp:1}.focused-admin .usage-line{font-size:11px!important}.focused-admin .material-check{font-size:12px!important}}
@media(min-width:1500px){.focused-admin .library-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}


/* V30 upload panel first row */
.right-rail .upload-first{order:-20;border-color:rgba(20,184,166,.26);box-shadow:0 18px 42px rgba(15,118,110,.10)}
.right-rail .upload-first summary{font-size:17px;font-weight:950}
.right-rail .send-panel{order:-10}
.right-rail .device-panel{order:0}

/* V32 save records: who saved what and when */
.save-panel{border-color:#bbf7d0;box-shadow:0 18px 42px rgba(22,163,74,.10)}
.save-summary{display:grid;gap:10px;margin-bottom:12px}.save-total{display:flex;align-items:end;gap:10px;padding:12px 14px;border-radius:18px;background:linear-gradient(135deg,#f0fdf4,#dcfce7)}.save-total b{font-size:40px;line-height:.9;color:#15803d;letter-spacing:-1px}.save-total span{font-weight:950;color:#166534}.save-chips{display:flex;flex-wrap:wrap;gap:7px}.save-chips span{display:inline-flex;align-items:center;gap:5px;padding:7px 9px;border-radius:999px;background:#f8fafc;border:1px solid #e7ecf4;color:#475569;font-size:12px;font-weight:850}.save-chips b{color:#15803d;font-size:15px}.save-records{display:grid;gap:8px;max-height:340px;overflow:auto}.save-record{display:grid;grid-template-columns:48px minmax(0,1fr);gap:9px;align-items:center;padding:8px;border:1px solid #e7ecf4;background:#f8fafc;border-radius:14px}.save-record img{width:48px;height:58px;object-fit:cover;border-radius:10px;background:#fff;border:1px solid #e2e8f0}.save-record b{display:block;font-size:13px;color:#0f172a}.save-record span{display:block;margin-top:2px;font-size:12px;font-weight:900;color:#15803d}.save-record small{display:block;margin-top:2px;color:#64748b;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.saved-line{margin-top:5px;padding:6px 8px;border-radius:10px;background:#f0fdf4;border:1px solid #bbf7d0;color:#166534;font-size:11px;font-weight:850;line-height:1.35}.right-rail .save-panel{order:-15}

/* V33 separate image/video libraries */
.media-switch{margin-bottom:8px}.media-btn{background:#eef2f7;color:#0f172a;border:1px solid #e2e8f0}.media-btn.active{background:linear-gradient(135deg,#7c3aed,#2563eb);color:#fff;border-color:transparent}.material-cover video{width:100%!important;height:112px!important;object-fit:cover!important;background:#020617;border-radius:10px!important;border:1px solid #e2e8f0}.focused-admin .material-cover video{height:112px!important}.save-panel .save-record video{width:48px;height:58px;object-fit:cover;border-radius:10px;background:#020617;border:1px solid #e2e8f0}


/* V34 mobile admin adaptation */
@media(max-width:820px){
  body.focused-admin{background:#f4f7fb;overflow-x:hidden}
  .focused-admin .command-top{padding:16px 14px 42px;display:block}
  .command-top h1{font-size:24px;line-height:1.15}.command-top p{font-size:13px;line-height:1.45}.eyebrow{font-size:10px}
  .hero-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}.hero-actions>*{width:100%;min-height:42px;padding:10px 12px}
  .focus-wrap{margin:-30px auto 28px;padding:0 10px;width:100%;max-width:100%}
  .compact-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.compact-kpis .kpi{padding:11px 12px;border-radius:15px}.compact-kpis .kpi strong{font-size:24px}.compact-kpis .kpi label{font-size:12px}.compact-kpis .kpi span{font-size:12px}
  .workbench-grid{display:flex;flex-direction:column;gap:10px}.primary-work{order:2;min-height:0}.right-rail{order:1;display:grid;gap:10px;position:static;top:auto;width:100%}
  .v2-panel{border-radius:18px;padding:14px}.collapsible-panel{padding:0}.collapsible-panel summary{padding:14px 15px;font-size:16px}.collapsible-panel>*:not(summary){margin-left:14px;margin-right:14px}
  .library-head{display:block}.library-head h2{font-size:22px}.library-head p{font-size:12px;margin-bottom:10px}.library-left{gap:7px}
  .media-switch{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:8px}.media-switch .media-btn{width:100%;min-height:42px;padding:10px 8px;font-size:13px}
  .library-head>.library-left:not(.media-switch){display:flex;flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px;-webkit-overflow-scrolling:touch}.filter-btn{white-space:nowrap;padding:10px 12px;font-size:13px;flex:0 0 auto}
  .focus-toolbar{position:sticky;top:0;z-index:15;display:block;padding:10px;border-radius:16px}.focus-toolbar .library-left{display:flex;flex-wrap:nowrap;overflow-x:auto;padding-bottom:6px}.focus-toolbar .ghost-btn,.selected-count{white-space:nowrap;flex:0 0 auto}
  .mobile-send-inline{display:grid;grid-template-columns:1fr;gap:8px;margin-top:8px}.mobile-send-inline select,.mobile-send-inline button{width:100%;min-height:44px}
  .library-grid{grid-template-columns:1fr!important;gap:9px!important}.focused-admin .material-card{grid-template-columns:92px minmax(0,1fr)!important;padding:9px!important;gap:9px!important;border-radius:16px!important}.focused-admin .material-cover,.focused-admin .material-cover a,.focused-admin .material-cover img,.focused-admin .material-cover video,.focused-admin .no-img{height:92px!important}.focused-admin .material-cover img,.focused-admin .material-cover video{border-radius:10px!important}.focused-admin .material-body .row b{font-size:13px!important;line-height:1.2;-webkit-line-clamp:2}.focused-admin .material-body .small{font-size:10.5px!important;line-height:1.25;margin-top:3px}.focused-admin .usage-line{font-size:10.5px!important;padding:3px 6px!important;margin-top:4px}.focused-admin .risk{font-size:10px!important;padding:3px 6px!important}.focused-admin .material-check{left:7px!important;top:7px!important;font-size:11px!important;padding:5px 7px!important}.focused-admin .material-check input{transform:scale(1.05)}.focused-admin .reset-btn{font-size:11px;padding:6px 8px;margin-top:5px}.saved-line{font-size:10.5px;padding:5px 6px}
  .send-panel,.save-panel,.device-panel{border-radius:18px}.send-summary{padding:12px;margin-bottom:10px}.big-count{font-size:38px}.send-box select,.send-box button,.ghost-link{min-height:44px}.recommended-devices{display:grid;gap:7px}.rec-device{width:100%;justify-content:space-between;padding:10px 11px}
  .save-records{max-height:240px}.save-summary{gap:8px}.save-total{padding:10px 12px}.save-total b{font-size:34px}.save-chips{flex-wrap:nowrap;overflow-x:auto;padding-bottom:3px}.save-chips span{white-space:nowrap;flex:0 0 auto}
  .device-metrics{grid-template-columns:repeat(3,1fr);gap:5px}.device-actions{display:grid;grid-template-columns:1fr 1fr}.device-actions button{width:100%}
  .form-grid{grid-template-columns:1fr!important}.action-row{display:grid;grid-template-columns:1fr}.action-row button{width:100%;min-height:44px}.ai-summary,.variant-list{grid-template-columns:1fr!important}
  input,select,textarea{font-size:16px;min-height:44px}#toast{max-width:88vw;text-align:center;white-space:normal;border-radius:16px;bottom:16px}
}

/* v132: employee self-service AI image studio */
.ai-image-toolbar-btn,.ai-image-trigger{border:0;color:#fff!important;font-weight:1000;background:linear-gradient(135deg,#2563eb 0%,#7c3aed 48%,#f97316 100%)!important;box-shadow:0 10px 26px rgba(99,102,241,.25)}
.ai-image-toolbar-btn{height:46px;min-width:112px;border-radius:15px;padding:0 20px;white-space:nowrap}.ai-image-trigger{height:48px;border-radius:15px}.ai-image-open{overflow:hidden}.ai-image-modal{position:fixed;inset:0;z-index:140;display:flex;align-items:center;justify-content:center;padding:18px}.ai-image-modal.hidden{display:none!important}.ai-image-mask{position:absolute;inset:0;background:rgba(8,15,35,.72);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.ai-image-panel{position:relative;z-index:1;width:min(1240px,97vw);max-height:94vh;overflow:auto;border:1px solid rgba(255,255,255,.55);border-radius:30px;background:linear-gradient(145deg,#fff 0%,#f7f9ff 70%,#f1f5ff 100%);box-shadow:0 40px 130px rgba(2,6,23,.46);padding:22px;color:#0f172a}
.ai-image-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.ai-image-head h2{margin:2px 0 4px;font-size:29px;letter-spacing:-.045em}.ai-image-head span{color:#64748b;font-size:13px;font-weight:850}.ai-image-close{width:42px;height:42px;border-radius:999px;padding:0;background:#e9eef7;color:#0f172a;font-size:26px}.ai-image-mode{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0 14px;padding:5px;border:1px solid #dce5f4;border-radius:18px;background:#edf2f9}.ai-image-mode button{height:46px;border-radius:14px;background:transparent;color:#64748b}.ai-image-mode button.active{background:#fff;color:#2563eb;box-shadow:0 6px 18px rgba(15,23,42,.09)}
.ai-image-template-picker{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin:0 0 14px}.ai-image-template-picker button{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"title badge" "desc badge";align-items:center;gap:2px 12px;min-height:72px;padding:13px 16px;border:1px solid #dbe4f2;border-radius:18px;background:#fff;color:#0f172a;text-align:left;box-shadow:0 6px 20px rgba(15,23,42,.045)}.ai-image-template-picker b{grid-area:title;font-size:15px}.ai-image-template-picker span{grid-area:desc;color:#64748b;font-size:11px;font-weight:850}.ai-image-template-picker em{grid-area:badge;padding:6px 9px;border-radius:999px;background:#eef2ff;color:#4f46e5;font-size:10px;font-style:normal;font-weight:1000;white-space:nowrap}.ai-image-template-picker button.active{border-color:#6366f1;background:linear-gradient(135deg,#eef2ff,#ecfeff);box-shadow:0 10px 26px rgba(79,70,229,.16)}.ai-image-template-picker button.active:before{content:"✓";position:absolute;right:-5px;top:-7px;display:grid;place-items:center;width:24px;height:24px;border:3px solid #f8faff;border-radius:999px;background:#4f46e5;color:#fff;font-size:12px;font-weight:1000}
.ai-image-workspace{display:grid;grid-template-columns:280px minmax(0,1fr);gap:16px}.ai-image-source,.ai-image-form{border:1px solid #dfe7f3;border-radius:23px;background:rgba(255,255,255,.9);padding:16px}.ai-image-source{display:flex;flex-direction:column}.ai-image-source-preview{display:flex;align-items:center;justify-content:center;min-height:360px;border-radius:18px;overflow:hidden;background:linear-gradient(145deg,#0f172a,#1e3a8a)}.ai-image-source-preview img{width:100%;height:100%;max-height:440px;object-fit:contain}.ai-image-source>strong{margin-top:14px;font-size:16px;line-height:1.35}.ai-image-source>span{margin-top:6px;color:#718096;font-size:12px;line-height:1.6}.ai-image-reference-pick{width:100%;min-height:44px;margin-top:12px;border:1px solid #93c5fd;border-radius:14px;background:linear-gradient(135deg,#eff6ff,#ecfeff);color:#2563eb;font-size:13px;font-weight:1000}.ai-image-reference-pick:hover{border-color:#3b82f6;background:#dbeafe}.ai-image-reference-pick:disabled{opacity:.58;cursor:wait}.ai-image-reference-pick.hidden{display:none!important}.ai-image-empty-source{display:grid;place-items:center;gap:8px;color:#dbeafe}.ai-image-empty-source b{display:grid;place-items:center;width:76px;height:76px;border-radius:24px;background:linear-gradient(135deg,#22d3ee,#6366f1);font-size:29px;color:#fff;box-shadow:0 15px 45px rgba(34,211,238,.28)}.ai-image-empty-source span{font-size:14px;font-weight:900}
.ai-image-form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.ai-image-form-grid label{display:block;margin:0;color:#475569;font-size:12px;font-weight:1000}.ai-image-form-grid label.wide{grid-column:span 2}.ai-image-form-grid input,.ai-image-form-grid select,.ai-image-form-grid textarea{box-sizing:border-box;width:100%;margin-top:6px;border:1px solid #d8e2f0;border-radius:14px;background:#fff;color:#0f172a;font-weight:850;outline:none}.ai-image-form-grid input,.ai-image-form-grid select{height:45px;padding:0 12px}.ai-image-form-grid textarea{min-height:86px;padding:12px;resize:vertical}.ai-image-form-grid input:focus,.ai-image-form-grid select:focus,.ai-image-form-grid textarea:focus{border-color:#60a5fa;box-shadow:0 0 0 3px rgba(59,130,246,.12)}.ai-image-strength input{height:28px;padding:0;accent-color:#7c3aed}.ai-image-strength b{float:right;color:#7c3aed}.ai-image-generate{width:100%;height:54px;margin-top:14px;border-radius:17px;background:linear-gradient(100deg,#2563eb,#7c3aed 55%,#06b6d4);color:#fff;font-size:17px;font-weight:1000;box-shadow:0 14px 34px rgba(79,70,229,.25)}.ai-image-generate:disabled{opacity:.62;cursor:wait}
.ai-image-progress{display:flex;align-items:center;gap:13px;margin-top:12px;padding:13px 15px;border:1px solid #c7d2fe;border-radius:16px;background:linear-gradient(90deg,#eef2ff,#ecfeff)}.ai-image-progress.hidden{display:none!important}.ai-image-progress i{width:28px;height:28px;border:4px solid #c7d2fe;border-top-color:#2563eb;border-right-color:#06b6d4;border-radius:999px;animation:aiImageSpin .8s linear infinite}.ai-image-progress b,.ai-image-progress span{display:block}.ai-image-progress span{margin-top:2px;color:#64748b;font-size:12px;font-weight:800}@keyframes aiImageSpin{to{transform:rotate(360deg)}}
.ai-image-result-section{margin-top:17px;padding:17px;border:1px solid #dfe7f3;border-radius:23px;background:#fff}.ai-image-result-section.hidden{display:none!important}.ai-image-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:13px}.ai-image-section-head span{color:#64748b;font-size:11px;font-weight:1000;letter-spacing:.16em}.ai-image-section-head h3{margin:2px 0 0;font-size:22px}.ai-image-section-head>div:last-child{display:flex;gap:8px}.ai-image-results{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.ai-image-result-card{position:relative;display:block;margin:0;border:2px solid #dbe4f1;border-radius:18px;overflow:hidden;background:#f8fafc;cursor:pointer}.ai-image-result-card:has(input:checked){border-color:#3b82f6;box-shadow:0 9px 26px rgba(59,130,246,.18)}.ai-image-result-card input{position:absolute;opacity:0;pointer-events:none}.ai-image-result-card img{display:block;width:100%;aspect-ratio:3/4;object-fit:cover;background:#e2e8f0}.ai-image-result-check{position:absolute;left:9px;top:9px;display:grid;place-items:center;width:30px;height:30px;border-radius:999px;background:rgba(15,23,42,.78);color:#fff;font-weight:1000}.ai-image-result-card:has(input:checked) .ai-image-result-check{background:#2563eb}.ai-image-result-card>div{display:flex;justify-content:space-between;gap:8px;padding:10px 11px}.ai-image-result-card>div b{font-size:12px}.ai-image-result-card>div span{color:#16a34a;font-size:11px;font-weight:900}
.ai-image-history-wrap{margin-top:14px;border:1px solid #dfe7f3;border-radius:20px;background:rgba(255,255,255,.72);padding:13px}.ai-image-history-wrap summary{cursor:pointer;color:#334155;font-weight:1000}.ai-image-history{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:12px}.ai-image-history>button{display:flex;align-items:center;gap:9px;min-width:0;padding:8px;border:1px solid #e2e8f0;border-radius:14px;background:#fff;text-align:left;color:#0f172a}.ai-image-history img{width:48px;height:60px;border-radius:9px;object-fit:cover}.ai-image-history span{min-width:0}.ai-image-history b,.ai-image-history small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ai-image-history small{margin-top:4px;color:#94a3b8;font-size:10px}.simple-send-v52 .ai-image-toolbar-btn{align-self:stretch}
@media(max-width:820px){.ai-image-modal{padding:7px;align-items:flex-end}.ai-image-panel{width:100%;max-height:96vh;border-radius:26px 26px 12px 12px;padding:14px}.ai-image-head h2{font-size:23px}.ai-image-mode{margin-top:13px}.ai-image-template-picker{gap:7px}.ai-image-template-picker button{display:block;min-height:72px;padding:11px 12px}.ai-image-template-picker b,.ai-image-template-picker span{display:block}.ai-image-template-picker span{margin-top:4px;line-height:1.35}.ai-image-template-picker em{display:inline-block;margin-top:7px;padding:4px 7px}.ai-image-workspace{grid-template-columns:1fr}.ai-image-source{display:grid;grid-template-columns:92px minmax(0,1fr);align-items:center;gap:8px 11px}.ai-image-source-preview{grid-row:1/4;min-height:128px;height:128px}.ai-image-source-preview img{height:128px}.ai-image-source>strong{margin:0}.ai-image-source>span{margin:0}.ai-image-reference-pick{width:auto;margin:0;min-height:38px;justify-self:start;padding:0 14px}.ai-image-form-grid{grid-template-columns:1fr 1fr}.ai-image-form-grid label.wide{grid-column:1/-1}.ai-image-form-grid input,.ai-image-form-grid select,.ai-image-form-grid textarea{font-size:13px!important}.ai-image-results{grid-template-columns:1fr 1fr}.ai-image-section-head{align-items:flex-start;flex-direction:column}.ai-image-section-head>div:last-child{width:100%}.ai-image-section-head button{flex:1}.ai-image-history{grid-template-columns:1fr 1fr}.mobile-actions-row .ai-image-toolbar-btn{order:-1;min-width:calc(50% - 5px)}}
@media(max-width:420px){.compact-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.focused-admin .material-card{grid-template-columns:84px minmax(0,1fr)!important}.focused-admin .material-cover,.focused-admin .material-cover a,.focused-admin .material-cover img,.focused-admin .material-cover video,.focused-admin .no-img{height:84px!important}.hero-actions{grid-template-columns:1fr}.library-head>.library-left:not(.media-switch){margin-left:-2px;margin-right:-2px}}


/* V35 dedicated mobile admin page */
.mobile-admin-page{margin:0;background:#f4f7fb;color:#0f172a;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,"PingFang SC",sans-serif;overflow-x:hidden}.mobile-admin-top{position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:calc(env(safe-area-inset-top) + 14px) 14px 14px;background:linear-gradient(135deg,#0f172a,#1d4ed8);color:#fff;box-shadow:0 12px 30px rgba(15,23,42,.18)}.mobile-admin-top p{margin:0 0 4px;color:#bfdbfe;font-size:11px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.mobile-admin-top h1{margin:0;font-size:24px;letter-spacing:-.04em}.mobile-admin-top span{display:block;margin-top:4px;color:#dbeafe;font-size:12px}.mobile-admin-top button{flex:0 0 auto;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.22);min-width:72px;height:42px}.mobile-admin-wrap{padding:12px 10px 28px;display:grid;gap:10px}.mobile-admin-page .mobile-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.mobile-admin-page .kpi{padding:11px 12px;border-radius:16px}.mobile-admin-page .kpi strong{font-size:25px;margin-top:3px}.mobile-admin-page .kpi label,.mobile-admin-page .kpi span{font-size:12px}.mobile-panel{background:#fff;border:1px solid #e7ecf4;border-radius:18px;padding:14px;box-shadow:0 10px 24px rgba(15,23,42,.07)}.mobile-panel h2{margin:0 0 10px;font-size:20px;letter-spacing:-.03em}.mobile-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.mobile-panel-head a{font-size:12px;font-weight:900;color:#2563eb;text-decoration:none;background:#eff6ff;border-radius:999px;padding:7px 10px}.mobile-admin-page input,.mobile-admin-page select,.mobile-admin-page textarea{font-size:16px;min-height:46px}.mobile-admin-page .full-btn{width:100%;min-height:46px}.mobile-media-switch{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:8px 0}.mobile-media-switch .media-btn{height:44px;padding:9px 8px;font-size:13px}.mobile-filter-row{display:flex;gap:7px;overflow-x:auto;padding:2px 0 8px;-webkit-overflow-scrolling:touch}.mobile-filter-row .filter-btn{white-space:nowrap;flex:0 0 auto;padding:10px 12px;font-size:13px}.mobile-actions-row{display:flex;gap:8px;overflow-x:auto;padding-bottom:8px;align-items:center}.mobile-actions-row>*{flex:0 0 auto;white-space:nowrap}.mobile-admin-page .mobile-library{display:grid!important;grid-template-columns:1fr!important;gap:9px!important}.mobile-admin-page .material-card{grid-template-columns:90px minmax(0,1fr)!important;min-height:0!important;height:auto!important;padding:9px!important;gap:9px!important;border-radius:16px!important}.mobile-admin-page .material-cover,.mobile-admin-page .material-cover a,.mobile-admin-page .material-cover img,.mobile-admin-page .material-cover video,.mobile-admin-page .no-img{height:90px!important;min-height:0!important}.mobile-admin-page .material-cover{display:block!important}.mobile-admin-page .material-cover img,.mobile-admin-page .material-cover video{width:100%!important;object-fit:cover!important;border-radius:10px!important}.mobile-admin-page .material-body .row b{font-size:13px!important;line-height:1.2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.mobile-admin-page .material-body .small{font-size:10.5px!important;line-height:1.25;margin-top:3px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.mobile-admin-page .material-body .small:nth-of-type(n+4){display:none!important}.mobile-admin-page .usage-line{font-size:10.5px!important;padding:3px 6px!important;margin-top:4px}.mobile-admin-page .risk{font-size:10px!important;padding:3px 6px!important}.mobile-admin-page .material-check{left:7px!important;top:7px!important;font-size:11px!important;padding:5px 7px!important}.mobile-admin-page .reset-btn{font-size:11px;padding:6px 8px;margin-top:5px}.compact-mobile-send{padding:12px;margin-bottom:10px}.mobile-admin-page .big-count{font-size:38px}.mobile-admin-page .recommended-devices{display:grid;gap:7px;margin-top:8px}.mobile-admin-page .rec-device{width:100%;justify-content:space-between;padding:10px 11px}.mobile-admin-page .save-records{max-height:280px}.mobile-admin-page .save-chips{flex-wrap:nowrap;overflow-x:auto;padding-bottom:3px}.mobile-admin-page .save-chips span{white-space:nowrap;flex:0 0 auto}.mobile-admin-page .device-card{box-shadow:none}.mobile-admin-page .device-metrics{grid-template-columns:repeat(3,1fr);gap:5px}.mobile-admin-page .device-actions{display:grid;grid-template-columns:1fr 1fr}.mobile-admin-page .device-actions button{width:100%}.advanced-mobile summary{font-size:18px;font-weight:1000;cursor:pointer}.mobile-admin-page .action-row{display:grid;grid-template-columns:1fr;gap:8px}.mobile-admin-page .action-row button{width:100%;min-height:44px}.mobile-admin-page .ai-summary,.mobile-admin-page .variant-list{grid-template-columns:1fr!important}.mobile-admin-page #toast{max-width:88vw;text-align:center;white-space:normal;border-radius:16px;bottom:16px}.mobile-admin-page .saved-line{font-size:10.5px;padding:5px 6px}.mobile-admin-page .upload-preview img,.mobile-admin-page .uploadedImg{width:72px;height:92px}.mobile-admin-page .online-hint{margin:0}.desktop-only-note{display:none}@media(max-width:380px){.mobile-admin-page .material-card{grid-template-columns:82px minmax(0,1fr)!important}.mobile-admin-page .material-cover,.mobile-admin-page .material-cover a,.mobile-admin-page .material-cover img,.mobile-admin-page .material-cover video,.mobile-admin-page .no-img{height:82px!important}.mobile-admin-top h1{font-size:22px}.mobile-admin-page .mobile-kpis{gap:7px}}


/* V36 mobile upload split: multi-photo and video pickers */
.hidden-file{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important}.mobile-upload-pickers{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:8px 0}.mobile-upload-pickers button{min-height:48px;border-radius:16px}.mobile-upload-pickers .video-pick{background:#f5f3ff;color:#5b21b6}.selected-upload-info{margin:8px 0 10px;padding:10px 12px;border-radius:14px;background:#f8fafc;border:1px solid #e7ecf4;color:#475569;font-size:13px;font-weight:900}.uploadedVideo{object-fit:cover;background:#020617}.uploaded-video-link{position:relative;display:inline-flex;vertical-align:top;margin:4px 7px 4px 0}.uploaded-video-link .uploadedImg{margin:0}.uploaded-video-link span{position:absolute;right:5px;bottom:5px;border-radius:999px;background:rgba(15,23,42,.76);color:#fff;font-size:10px;font-weight:1000;line-height:1;padding:4px 6px}.uploadedVideoThumb{display:block;background:#020617}.upload-video-fallback{display:flex;align-items:center;justify-content:center;color:#fff;font-size:12px;font-weight:1000}@media(max-width:420px){.mobile-upload-pickers{grid-template-columns:1fr}.mobile-upload-pickers button{width:100%}}


/* V37 video thumbnails + mobile title bar fix */
.video-cover{position:relative;display:block;background:#020617;border-radius:10px;overflow:hidden}.video-cover:after{content:'▶';position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:34px;height:34px;border-radius:999px;background:rgba(15,23,42,.72);color:#fff;display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:900}.video-cover span{position:absolute;right:6px;bottom:6px;padding:3px 6px;border-radius:999px;background:rgba(15,23,42,.78);color:#fff;font-size:10px;font-weight:900}.mobile-admin-page{width:100%;max-width:100vw}.mobile-admin-top{left:0;right:0;width:100%;max-width:100vw;box-sizing:border-box}.mobile-admin-wrap{width:100%;max-width:100vw;box-sizing:border-box}.mobile-admin-page *{max-width:100%;box-sizing:border-box}@media(max-width:820px){.mobile-admin-page .material-cover .video-cover img,.mobile-admin-page .material-cover .video-cover video{width:100%!important;height:90px!important;object-fit:cover!important}.mobile-admin-top{border-radius:0!important}.mobile-admin-top button{max-width:86px}.mobile-admin-top>div{min-width:0}.mobile-admin-top h1,.mobile-admin-top span,.mobile-admin-top p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}
@media(max-width:380px){.mobile-admin-page .material-cover .video-cover img,.mobile-admin-page .material-cover .video-cover video{height:82px!important}}


/* V38 client-side video cover generation */
.video-thumb-loading{width:100%;height:100%;min-height:84px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#111827,#1e1b4b);color:#c4b5fd;font-size:11px;font-weight:900}.video-cover img,.video-cover video{display:block;width:100%;height:100%;object-fit:cover}.mobile-admin-page .video-thumb-loading{height:90px}.mobile-admin-top{overflow:hidden}.mobile-admin-page{overflow-x:hidden}.mobile-admin-page .mobile-admin-top{position:sticky;top:0;margin:0;width:100vw;max-width:100vw}.mobile-admin-page .mobile-admin-wrap{max-width:100%;overflow-x:hidden}


/* V39 mobile header natural width fix */
.mobile-admin-page{width:100%!important;max-width:100%!important;overflow-x:hidden!important}.mobile-admin-page .mobile-admin-top{width:100%!important;max-width:100%!important;margin:0!important;left:auto!important;right:auto!important;overflow:visible!important}.mobile-admin-page .mobile-admin-wrap{width:100%!important;max-width:100%!important;overflow-x:hidden!important}.mobile-admin-top>div{min-width:0;flex:1}.mobile-admin-top h1{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;line-height:1.15}.mobile-admin-top span{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;line-height:1.35}.mobile-admin-top p{white-space:normal!important;overflow:visible!important;text-overflow:clip!important}.mobile-admin-top button{flex:0 0 auto!important;max-width:none!important;min-width:74px}.mobile-admin-page .online-hint{white-space:normal!important;overflow:hidden!important;word-break:break-word}.mobile-admin-page .online-hint a{display:inline-block;margin-left:0;margin-top:4px}


/* V40 real adaptive mobile admin: no horizontal squeeze */
@media(max-width:820px){
  html,body{width:100%!important;max-width:100%!important;overflow-x:hidden!important}
  .mobile-admin-page{--pad:10px;width:100%!important;max-width:100%!important;overflow-x:hidden!important;background:#f4f7fb!important}
  .mobile-admin-page *{min-width:0!important;box-sizing:border-box!important}
  .mobile-admin-top{position:sticky!important;top:0!important;z-index:30!important;width:100%!important;max-width:100%!important;padding:calc(env(safe-area-inset-top) + 14px) 14px 14px!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;align-items:center!important;border-radius:0!important;background:linear-gradient(135deg,#0f172a,#1d4ed8)!important;color:#fff!important;overflow:hidden!important}
  .mobile-admin-top h1{font-size:25px!important;line-height:1.1!important;margin:0!important;white-space:normal!important}.mobile-admin-top p{font-size:10px!important;letter-spacing:.18em!important}.mobile-admin-top span{font-size:12px!important;line-height:1.35!important}.mobile-admin-top button{width:auto!important;min-width:68px!important;height:44px!important;padding:0 14px!important;border-radius:16px!important}
  .mobile-admin-wrap{width:100%!important;max-width:100%!important;padding:10px!important;display:flex!important;flex-direction:column!important;gap:10px!important;overflow:hidden!important}
  .mobile-admin-page .mobile-kpis{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;width:100%!important;overflow:visible!important}
  .mobile-admin-page .kpi{width:100%!important;min-height:92px!important;padding:12px!important;border-radius:18px!important;box-shadow:0 8px 20px rgba(15,23,42,.06)!important;overflow:hidden!important}.mobile-admin-page .kpi label{font-size:12px!important;line-height:1.15!important;margin:0!important}.mobile-admin-page .kpi strong{font-size:28px!important;line-height:1!important;margin-top:7px!important}.mobile-admin-page .kpi span{font-size:12px!important;display:block!important;margin-top:5px!important}
  .mobile-panel{width:100%!important;max-width:100%!important;padding:14px!important;border-radius:20px!important;overflow:hidden!important;box-shadow:0 8px 22px rgba(15,23,42,.06)!important}.mobile-panel h2{font-size:21px!important;line-height:1.2!important;margin:0 0 12px!important}
  .mobile-upload-pickers{display:grid!important;grid-template-columns:1fr!important;gap:9px!important;width:100%!important}.mobile-upload-pickers button,.mobile-admin-page .full-btn{width:100%!important;height:52px!important;border-radius:16px!important;font-size:15px!important;justify-content:center!important}.selected-upload-info{width:100%!important;white-space:normal!important;word-break:break-word!important}
  .mobile-media-switch{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;width:100%!important}.mobile-media-switch .media-btn{width:100%!important;height:48px!important;border-radius:16px!important;font-size:14px!important}
  .mobile-filter-row{display:flex!important;gap:8px!important;overflow-x:auto!important;overflow-y:hidden!important;width:100%!important;padding:2px 0 10px!important;-webkit-overflow-scrolling:touch!important;scrollbar-width:none!important}.mobile-filter-row::-webkit-scrollbar{display:none!important}.mobile-filter-row .filter-btn{flex:0 0 auto!important;width:auto!important;max-width:none!important;white-space:nowrap!important;padding:10px 13px!important;border-radius:14px!important}
  .mobile-actions-row{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;width:100%!important;overflow:visible!important}.mobile-actions-row .ghost-btn{width:100%!important;height:42px!important;padding:0 8px!important}.mobile-actions-row .selected-count{grid-column:1/3!important;text-align:center!important;width:100%!important;white-space:normal!important}
  .mobile-admin-page .mobile-library{width:100%!important;display:grid!important;grid-template-columns:1fr!important;gap:9px!important;overflow:hidden!important}.mobile-admin-page .material-card{width:100%!important;display:grid!important;grid-template-columns:88px minmax(0,1fr)!important;gap:9px!important;padding:9px!important;border-radius:16px!important;overflow:hidden!important}.mobile-admin-page .material-cover,.mobile-admin-page .material-cover a,.mobile-admin-page .material-cover img,.mobile-admin-page .material-cover video,.mobile-admin-page .material-cover .video-cover,.mobile-admin-page .no-img{width:88px!important;height:88px!important;max-width:88px!important;min-width:88px!important}.mobile-admin-page .material-body{width:100%!important;overflow:hidden!important}.mobile-admin-page .material-body .row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:5px!important}.mobile-admin-page .material-body .row b{font-size:13px!important;line-height:1.25!important;overflow:hidden!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important}.mobile-admin-page .material-body .small,.mobile-admin-page .saved-line{max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
  .send-summary{width:100%!important}.send-box,.mobile-admin-page select{width:100%!important}.mobile-admin-page .recommended-devices{width:100%!important}.mobile-admin-page .rec-device{width:100%!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;text-align:left!important}.mobile-admin-page .rec-device b,.mobile-admin-page .rec-device span{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
  .save-summary,.save-records,.card-list,.device-card,.event-list,.ai-box{width:100%!important;max-width:100%!important;overflow:hidden!important}.save-chips{display:flex!important;overflow-x:auto!important;gap:7px!important;scrollbar-width:none!important}.save-chips::-webkit-scrollbar{display:none!important}.save-record{width:100%!important;grid-template-columns:48px minmax(0,1fr)!important}.device-metrics{grid-template-columns:repeat(3,minmax(0,1fr))!important}.device-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important}.device-actions button{width:100%!important;padding:8px 4px!important}
  .advanced-mobile textarea,.advanced-mobile input{width:100%!important}.mobile-admin-page .action-row{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;width:100%!important}
}
@media(max-width:360px){.mobile-admin-page .mobile-kpis{grid-template-columns:1fr!important}.mobile-admin-page .material-card{grid-template-columns:78px minmax(0,1fr)!important}.mobile-admin-page .material-cover,.mobile-admin-page .material-cover a,.mobile-admin-page .material-cover img,.mobile-admin-page .material-cover video,.mobile-admin-page .material-cover .video-cover,.mobile-admin-page .no-img{width:78px!important;height:78px!important;max-width:78px!important;min-width:78px!important}}

/* V41 premium desktop command center redesign */
@media(min-width:821px){
  .desktop-admin-v3{--bg:#f6f8fc;--panel:#ffffff;--ink:#101828;--muted:#667085;--line:#e6ebf2;--blue:#2563eb;--blue2:#4f46e5;--green:#16a34a;--orange:#f59e0b;--red:#dc2626;background:radial-gradient(circle at 20% -10%,rgba(79,70,229,.14),transparent 30%),linear-gradient(180deg,#f8fbff 0,#f4f7fb 42%,#eef3f8 100%)!important;color:var(--ink)!important;min-height:100vh!important}
  .desktop-admin-v3 .desktop-topbar{height:78px!important;position:sticky!important;top:0!important;z-index:50!important;display:grid!important;grid-template-columns:minmax(260px,1fr) auto minmax(260px,1fr)!important;align-items:center!important;gap:18px!important;padding:0 28px!important;background:rgba(255,255,255,.82)!important;border-bottom:1px solid rgba(230,235,242,.86)!important;backdrop-filter:blur(22px)!important;-webkit-backdrop-filter:blur(22px)!important;box-shadow:0 12px 34px rgba(16,24,40,.05)!important}
  .desktop-admin-v3 .desktop-brand{display:flex!important;align-items:center!important;gap:13px!important;min-width:0!important}.desktop-admin-v3 .brand-mark{width:42px!important;height:42px!important;border-radius:15px!important;background:linear-gradient(135deg,#2563eb,#7c3aed)!important;color:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important;font-weight:1000!important;font-size:20px!important;box-shadow:0 14px 30px rgba(37,99,235,.25)!important}.desktop-admin-v3 .desktop-brand h1{margin:0!important;font-size:22px!important;letter-spacing:-.04em!important}.desktop-admin-v3 .eyebrow,.desktop-admin-v3 .section-kicker{margin:0 0 3px!important;color:#667085!important;font-size:11px!important;letter-spacing:.16em!important;text-transform:uppercase!important;font-weight:1000!important}.desktop-admin-v3 .desktop-media-tabs{display:flex!important;align-items:center!important;gap:6px!important;padding:5px!important;border-radius:18px!important;background:#eef2f8!important;border:1px solid #e3e9f2!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.75)!important}.desktop-admin-v3 .media-btn{height:42px!important;min-width:112px!important;border-radius:14px!important;padding:0 18px!important;background:transparent!important;color:#475467!important;border:0!important;font-weight:950!important;box-shadow:none!important}.desktop-admin-v3 .media-btn.active{background:#fff!important;color:#1d4ed8!important;box-shadow:0 10px 24px rgba(16,24,40,.10)!important}.desktop-admin-v3 .desktop-actions{display:flex!important;justify-content:flex-end!important;align-items:center!important;gap:10px!important}.desktop-admin-v3 .desktop-actions button,.desktop-admin-v3 .desktop-actions a{height:42px!important;border-radius:14px!important;padding:0 16px!important;font-weight:950!important}.desktop-admin-v3 .ghost-light{background:#f2f5fa!important;color:#344054!important;border:1px solid #e3e9f2!important}.desktop-admin-v3 .link-btn{background:#111827!important;color:#fff!important;border:1px solid #111827!important}
  .desktop-admin-v3 .desktop-shell{max-width:1680px!important;margin:0 auto!important;padding:22px 28px 46px!important}.desktop-admin-v3 .desktop-kpis{display:grid!important;grid-template-columns:1.15fr 1.15fr 1.15fr .82fr .82fr .82fr!important;gap:12px!important;margin:0 0 16px!important}.desktop-admin-v3 .kpi{position:relative!important;overflow:hidden!important;min-height:106px!important;padding:18px 18px 16px!important;border-radius:24px!important;background:rgba(255,255,255,.90)!important;border:1px solid rgba(230,235,242,.95)!important;box-shadow:0 16px 38px rgba(16,24,40,.07)!important}.desktop-admin-v3 .kpi:after{content:""!important;position:absolute!important;right:-28px!important;top:-34px!important;width:92px!important;height:92px!important;border-radius:999px!important;background:rgba(37,99,235,.08)!important}.desktop-admin-v3 .kpi label{display:block!important;margin:0!important;color:#667085!important;font-size:13px!important;font-weight:900!important}.desktop-admin-v3 .kpi strong{display:block!important;margin:8px 0 0!important;font-size:34px!important;line-height:.95!important;letter-spacing:-.05em!important;color:#101828!important}.desktop-admin-v3 .kpi span{display:block!important;margin-top:8px!important;color:#98a2b3!important;font-size:12px!important;font-weight:850!important}.desktop-admin-v3 .kpi-saved:after{background:rgba(22,163,74,.10)!important}.desktop-admin-v3 .kpi-risk:after{background:rgba(220,38,38,.10)!important}.desktop-admin-v3 .kpi-dup:after{background:rgba(245,158,11,.13)!important}.desktop-admin-v3 .online-hint{border-radius:18px!important;margin:0 0 16px!important;background:#fff7ed!important;border:1px solid #fed7aa!important;color:#9a3412!important}
  .desktop-admin-v3 .desktop-layout{display:grid!important;grid-template-columns:minmax(0,1fr) 390px!important;gap:18px!important;align-items:start!important}.desktop-admin-v3 .v2-panel{border-radius:28px!important;background:rgba(255,255,255,.92)!important;border:1px solid rgba(230,235,242,.95)!important;box-shadow:0 18px 44px rgba(16,24,40,.075)!important}.desktop-admin-v3 .desktop-library{padding:20px!important;min-height:760px!important}.desktop-admin-v3 .desktop-library-head{display:grid!important;grid-template-columns:minmax(240px,1fr) auto!important;gap:18px!important;align-items:end!important;margin-bottom:14px!important}.desktop-admin-v3 .desktop-library-head h2{margin:0!important;font-size:30px!important;letter-spacing:-.055em!important}.desktop-admin-v3 .desktop-library-head span{display:block!important;margin-top:6px!important;color:#667085!important;font-size:14px!important}.desktop-admin-v3 .desktop-filters{display:flex!important;gap:8px!important;align-items:center!important;justify-content:flex-end!important}.desktop-admin-v3 .filter-btn{height:38px!important;border-radius:999px!important;padding:0 14px!important;background:#f2f5fa!important;color:#475467!important;border:1px solid #e6ebf2!important;font-weight:950!important}.desktop-admin-v3 .filter-btn.active{background:#111827!important;color:#fff!important;border-color:#111827!important;box-shadow:0 10px 24px rgba(17,24,39,.18)!important}.desktop-admin-v3 .desktop-selection-bar{position:sticky!important;top:90px!important;z-index:8!important;display:flex!important;justify-content:space-between!important;align-items:center!important;gap:12px!important;padding:10px!important;margin:0 0 16px!important;border-radius:20px!important;background:rgba(248,250,252,.88)!important;border:1px solid rgba(226,232,240,.90)!important;box-shadow:none!important}.desktop-admin-v3 .ghost-btn{background:#fff!important;color:#344054!important;border:1px solid #e6ebf2!important;box-shadow:0 4px 12px rgba(16,24,40,.04)!important}.desktop-admin-v3 .ghost-btn.subtle{color:#667085!important}.desktop-admin-v3 .selected-count{background:#eff6ff!important;color:#1d4ed8!important;border:1px solid #dbeafe!important;border-radius:999px!important;padding:9px 12px!important;font-weight:950!important}
  .desktop-admin-v3 .desktop-material-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(255px,1fr))!important;gap:16px!important;align-items:start!important}.desktop-admin-v3 .desktop-material-grid.empty-tip{display:block!important}.desktop-admin-v3 .empty-state{height:420px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;border:1px dashed #d8e0ec!important;border-radius:24px!important;background:#f8fafc!important;color:#98a2b3!important}.desktop-admin-v3 .empty-state b{font-size:22px!important;color:#475467!important;margin-bottom:6px!important}.desktop-admin-v3 .material-card.desktop-card{position:relative!important;display:block!important;min-height:0!important;height:auto!important;padding:0!important;border-radius:24px!important;overflow:hidden!important;background:#fff!important;border:1px solid #e6ebf2!important;box-shadow:0 14px 34px rgba(16,24,40,.07)!important;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important}.desktop-admin-v3 .material-card.desktop-card:hover{transform:translateY(-3px)!important;box-shadow:0 22px 54px rgba(16,24,40,.12)!important;border-color:#cbd5e1!important}.desktop-admin-v3 .material-card.desktop-card.selected{border-color:#2563eb!important;box-shadow:0 0 0 3px rgba(37,99,235,.14),0 22px 54px rgba(37,99,235,.12)!important}.desktop-admin-v3 .material-card.used{opacity:1!important;background:#fff!important}.desktop-admin-v3 .material-cover{display:block!important;width:100%!important;height:auto!important;min-height:0!important;background:#f2f5fa!important}.desktop-admin-v3 .material-cover a,.desktop-admin-v3 .material-cover img,.desktop-admin-v3 .material-cover video,.desktop-admin-v3 .material-cover .video-cover{display:block!important;width:100%!important;height:210px!important;max-width:none!important;min-width:0!important;border-radius:0!important;object-fit:cover!important;border:0!important;background:#0b1020!important}.desktop-admin-v3 .material-cover img{object-fit:cover!important}.desktop-admin-v3 .material-check{position:absolute!important;left:12px!important;top:12px!important;z-index:5!important;margin:0!important;border-radius:999px!important;background:rgba(15,23,42,.74)!important;color:#fff!important;border:1px solid rgba(255,255,255,.22)!important;backdrop-filter:blur(10px)!important;padding:7px 10px!important;font-size:12px!important;font-weight:950!important}.desktop-admin-v3 .desktop-select input{width:auto!important;margin:0 6px 0 0!important;accent-color:#2563eb!important}.desktop-admin-v3 .used-flag{background:rgba(29,78,216,.82)!important}.desktop-admin-v3 .material-body{padding:14px!important;min-width:0!important}.desktop-admin-v3 .card-status-row{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:8px!important;margin-bottom:9px!important}.desktop-admin-v3 .usage-line{margin:0!important;border-radius:999px!important;padding:5px 9px!important;font-size:12px!important;font-weight:950!important}.desktop-admin-v3 .usage-line.unused{background:#ecfdf3!important;color:#067647!important}.desktop-admin-v3 .usage-line.used{background:#eff6ff!important;color:#1d4ed8!important}.desktop-admin-v3 .risk{border-radius:999px!important;padding:5px 8px!important;font-size:11px!important;font-weight:950!important}.desktop-admin-v3 .material-body h3{margin:0!important;color:#101828!important;font-size:16px!important;line-height:1.32!important;letter-spacing:-.02em!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;min-height:42px!important}.desktop-admin-v3 .card-id{margin:7px 0 0!important;color:#98a2b3!important;font-size:11px!important;font-family:ui-monospace,SFMono-Regular,Menlo,monospace!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.desktop-admin-v3 .card-meta{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;margin-top:11px!important}.desktop-admin-v3 .card-meta span{padding:7px 8px!important;border-radius:12px!important;background:#f8fafc!important;border:1px solid #eef2f7!important;color:#667085!important;font-size:12px!important;font-weight:850!important;text-align:center!important}.desktop-admin-v3 .saved-line,.desktop-admin-v3 .risk-words{margin-top:9px!important;border-radius:12px!important;padding:8px 9px!important;font-size:12px!important;line-height:1.35!important}.desktop-admin-v3 .saved-line{background:#f0fdf4!important;border:1px solid #bbf7d0!important;color:#166534!important}.desktop-admin-v3 .risk-words{background:#fff7ed!important;border:1px solid #fed7aa!important;color:#9a3412!important}.desktop-admin-v3 .reset-btn{width:100%!important;margin-top:11px!important;border-radius:14px!important;background:#fff7ed!important;color:#b45309!important;border:1px solid #fed7aa!important;padding:10px!important}.desktop-admin-v3 .video-cover:after{width:42px!important;height:42px!important;font-size:17px!important}
  .desktop-admin-v3 .desktop-dock{position:sticky!important;top:96px!important;display:grid!important;gap:14px!important}.desktop-admin-v3 .dock-panel{padding:18px!important;border-radius:24px!important}.desktop-admin-v3 .dock-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin-bottom:14px!important}.desktop-admin-v3 .dock-head h2{margin:0!important;font-size:21px!important;letter-spacing:-.04em!important}.desktop-admin-v3 .compact-send{margin:0!important;padding:10px 12px!important;border-radius:16px!important;background:linear-gradient(135deg,#eff6ff,#eef2ff)!important}.desktop-admin-v3 .compact-send .big-count{font-size:34px!important;color:#1d4ed8!important}.desktop-admin-v3 .compact-send span{font-size:12px!important;color:#1e3a8a!important}.desktop-admin-v3 .send-panel{display:block!important;border:1px solid rgba(37,99,235,.22)!important;background:linear-gradient(180deg,#fff,#f8fbff)!important}.desktop-admin-v3 .send-box label{font-size:13px!important;color:#475467!important}.desktop-admin-v3 select,.desktop-admin-v3 input,.desktop-admin-v3 textarea{border-radius:14px!important;border:1px solid #d8e0ec!important;background:#fff!important}.desktop-admin-v3 .primary-action{height:48px!important;border-radius:16px!important;background:linear-gradient(135deg,#16a34a,#22c55e)!important;box-shadow:0 14px 30px rgba(22,163,74,.22)!important}.desktop-admin-v3 .upload-first{order:0!important}.desktop-admin-v3 .focus-upload{padding:0!important;background:transparent!important;border:0!important}.desktop-admin-v3 #images{padding:12px!important;border:1px dashed #cbd5e1!important;background:#f8fafc!important}.desktop-admin-v3 .secondary-btn{background:linear-gradient(135deg,#0f766e,#14b8a6)!important;box-shadow:0 12px 28px rgba(15,118,110,.18)!important}.desktop-admin-v3 .upload-preview{display:flex!important;gap:8px!important;flex-wrap:wrap!important;min-height:58px!important;margin-top:12px!important;padding:10px!important;border-radius:16px!important;background:#f8fafc!important;border:1px solid #eef2f7!important}.desktop-admin-v3 .uploadedImg{width:56px!important;height:72px!important;border-radius:12px!important;object-fit:cover!important}.desktop-admin-v3 .save-panel{border-color:rgba(22,163,74,.18)!important}.desktop-admin-v3 .save-summary{gap:8px!important}.desktop-admin-v3 .save-total{padding:12px!important;border-radius:16px!important}.desktop-admin-v3 .save-total b{font-size:34px!important}.desktop-admin-v3 .save-records{max-height:255px!important}.desktop-admin-v3 .save-record{border-radius:14px!important}.desktop-admin-v3 .device-panel .card-list{gap:8px!important}.desktop-admin-v3 .device-card{border-radius:16px!important;background:#f8fafc!important;border:1px solid #eef2f7!important}.desktop-admin-v3 .device-actions button{background:#fff!important;border:1px solid #e6ebf2!important;color:#344054!important}.desktop-admin-v3 .collapsible-panel{padding:0!important;overflow:hidden!important}.desktop-admin-v3 .collapsible-panel summary{padding:16px 18px!important;color:#344054!important}.desktop-admin-v3 .collapsible-panel>*:not(summary){margin-left:18px!important;margin-right:18px!important}.desktop-admin-v3 .event-list{max-height:220px!important}.desktop-admin-v3 #toast{border-radius:999px!important;background:#101828!important;box-shadow:0 20px 48px rgba(16,24,40,.22)!important}
  @media(max-width:1280px){.desktop-admin-v3 .desktop-layout{grid-template-columns:minmax(0,1fr) 340px!important}.desktop-admin-v3 .desktop-material-grid{grid-template-columns:repeat(auto-fill,minmax(225px,1fr))!important}.desktop-admin-v3 .desktop-kpis{grid-template-columns:repeat(3,1fr)!important}.desktop-admin-v3 .desktop-topbar{grid-template-columns:minmax(220px,1fr) auto auto!important}.desktop-admin-v3 .media-btn{min-width:96px!important}}
}


/* V42 desktop: remove redundant send panel, send from library toolbar */
@media(min-width:821px){
  .desktop-admin-v3 .desktop-layout{grid-template-columns:minmax(0,1fr) 340px!important;gap:18px!important}
  .desktop-admin-v3 .desktop-dock{top:96px!important}
  .desktop-admin-v3 .desktop-send-panel{display:none!important}
  .desktop-admin-v3 .desktop-inline-send{display:flex!important;align-items:center!important;gap:10px!important;margin-left:auto!important}
  .desktop-admin-v3 .desktop-inline-send select{width:240px!important;height:42px!important;border-radius:14px!important;background:#fff!important;border:1px solid #d8e0ec!important;color:#344054!important;font-weight:850!important}
  .desktop-admin-v3 .desktop-inline-send .success-btn{height:42px!important;border-radius:14px!important;padding:0 18px!important;background:linear-gradient(135deg,#16a34a,#22c55e)!important;box-shadow:0 12px 24px rgba(22,163,74,.18)!important;white-space:nowrap!important}
  .desktop-admin-v3 .desktop-selection-bar{grid-template-columns:minmax(0,1fr) auto!important;display:grid!important;align-items:center!important}
  .desktop-admin-v3 .desktop-selection-bar>.library-left{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important;flex-wrap:wrap!important}
  .desktop-admin-v3 .desktop-upload-panel{order:0!important;border-color:rgba(20,184,166,.20)!important}
  .desktop-admin-v3 .desktop-save-panel{order:1!important}
  .desktop-admin-v3 .desktop-device-panel{order:2!important}
  .desktop-admin-v3 .desktop-advanced{order:3!important}
  .desktop-admin-v3 .desktop-events{order:4!important}
  .desktop-admin-v3 .desktop-material-grid{grid-template-columns:repeat(auto-fill,minmax(270px,1fr))!important}
  .desktop-admin-v3 .material-cover a,.desktop-admin-v3 .material-cover img,.desktop-admin-v3 .material-cover video,.desktop-admin-v3 .material-cover .video-cover{height:222px!important}
  .desktop-admin-v3 .dock-panel{padding:16px!important}.desktop-admin-v3 .dock-head{margin-bottom:12px!important}
  .desktop-admin-v3 .upload-preview{max-height:160px!important;overflow:auto!important}
  @media(max-width:1280px){.desktop-admin-v3 .desktop-layout{grid-template-columns:minmax(0,1fr) 310px!important}.desktop-admin-v3 .desktop-inline-send select{width:200px!important}.desktop-admin-v3 .desktop-material-grid{grid-template-columns:repeat(auto-fill,minmax(235px,1fr))!important}}
}


/* V43 mobile admin: remove send card, inline send in library */
@media(max-width:820px){
  .mobile-admin-page .send-card{display:none!important}
  .mobile-inline-send{width:100%!important;margin:0 0 10px!important;padding:12px!important;border-radius:18px!important;background:linear-gradient(180deg,#f8fbff,#eef6ff)!important;border:1px solid #dbeafe!important;display:grid!important;gap:9px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.75)!important}
  .inline-send-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;color:#1e3a8a!important}.inline-send-head b{font-size:15px!important}.inline-send-head span{min-width:34px!important;height:28px!important;border-radius:999px!important;background:#2563eb!important;color:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:16px!important;font-weight:1000!important}
  .mobile-inline-send select{width:100%!important;height:46px!important;border-radius:15px!important;background:#fff!important;border:1px solid #bfdbfe!important;color:#1e3a8a!important;font-weight:850!important}
  .mobile-inline-send .recommended-devices{margin:0!important;display:grid!important;gap:7px!important}.mobile-inline-send .rec-device{background:#fff!important;border-color:#dbeafe!important}
  .mobile-inline-send .full-btn{height:48px!important;border-radius:16px!important;background:linear-gradient(135deg,#16a34a,#22c55e)!important;box-shadow:0 12px 24px rgba(22,163,74,.18)!important}
  .mobile-actions-row{margin-bottom:8px!important}
}

/* V45 product-grade admin cockpit: clearer IA, premium density, searchable library */
@media(min-width:821px){
  .product-admin-v45{--p-bg:#f5f7fb;--p-panel:#fff;--p-ink:#0b1220;--p-muted:#667085;--p-line:#e4e9f2;--p-blue:#2563eb;--p-indigo:#4f46e5;--p-green:#16a34a;background:radial-gradient(circle at 72px -90px,rgba(37,99,235,.18),transparent 310px),radial-gradient(circle at 92% 0,rgba(124,58,237,.13),transparent 360px),linear-gradient(180deg,#fbfdff,#eef3f9 58%,#e9eff7)!important;color:var(--p-ink)!important}
  .product-admin-v45 .desktop-topbar{height:86px!important;padding:0 30px!important;background:rgba(255,255,255,.86)!important;border-bottom:1px solid rgba(228,233,242,.92)!important;box-shadow:0 18px 48px rgba(15,23,42,.07)!important}
  .product-admin-v45 .brand-mark{width:48px!important;height:48px!important;border-radius:18px!important;background:linear-gradient(135deg,#111827,#2563eb 56%,#7c3aed)!important;box-shadow:0 18px 36px rgba(37,99,235,.28)!important}.product-admin-v45 .desktop-brand h1{font-size:24px!important;letter-spacing:-.06em!important}.brand-sub{margin-top:2px!important;color:#667085!important;font-size:12px!important;font-weight:850!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-pill{display:inline-flex;align-items:center;height:34px;padding:0 12px;border-radius:999px;background:#ecfdf5;color:#15803d;border:1px solid #bbf7d0;font-size:12px;font-weight:1000;white-space:nowrap}.live-pill:before{content:'';width:7px;height:7px;border-radius:99px;background:#22c55e;margin-right:7px;box-shadow:0 0 0 4px rgba(34,197,94,.13)}
  .product-admin-v45 .desktop-shell{max-width:1760px!important;padding:20px 30px 50px!important}.product-admin-v45 .desktop-kpis{grid-template-columns:1.2fr 1fr 1fr .85fr .85fr .85fr!important;gap:14px!important;margin-bottom:14px!important}.product-admin-v45 .kpi{min-height:112px!important;border-radius:28px!important;padding:20px!important;background:rgba(255,255,255,.92)!important;border:1px solid rgba(228,233,242,.95)!important;box-shadow:0 18px 42px rgba(15,23,42,.075)!important}.product-admin-v45 .kpi strong{font-size:36px!important}.product-admin-v45 .kpi label{font-size:13px!important;color:#5f6b7a!important}.product-admin-v45 .kpi.primary-kpi{background:linear-gradient(135deg,#111827,#1d4ed8)!important;color:#fff!important;border-color:transparent!important}.product-admin-v45 .kpi.primary-kpi label,.product-admin-v45 .kpi.primary-kpi span{color:#dbeafe!important}.product-admin-v45 .kpi.primary-kpi strong{color:#fff!important}
  .ops-brief-v45{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:0 0 16px}.ops-brief-v45 div{display:flex;align-items:center;gap:12px;padding:14px 16px;border-radius:22px;background:rgba(255,255,255,.72);border:1px solid rgba(228,233,242,.92);box-shadow:0 12px 30px rgba(15,23,42,.045)}.ops-brief-v45 b{flex:0 0 auto;color:#1d4ed8;font-size:13px}.ops-brief-v45 span{color:#667085;font-size:13px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .product-admin-v45 .desktop-layout{grid-template-columns:minmax(0,1fr) 370px!important;gap:20px!important;align-items:start!important}.product-admin-v45 .v2-panel{border-radius:30px!important;border:1px solid rgba(228,233,242,.95)!important;background:rgba(255,255,255,.93)!important;box-shadow:0 20px 48px rgba(15,23,42,.075)!important}.product-admin-v45 .desktop-library{padding:22px!important}.product-admin-v45 .desktop-library-head{display:grid!important;grid-template-columns:minmax(250px,1fr) minmax(300px,.86fr) auto!important;gap:16px!important;align-items:end!important;margin-bottom:14px!important}.product-admin-v45 .desktop-library-head h2{font-size:28px!important;letter-spacing:-.06em!important}.product-admin-v45 .desktop-library-head span{color:#667085!important;font-size:13px!important;font-weight:800!important}.library-tools-v45{display:grid;grid-template-columns:minmax(180px,1fr) 132px;gap:9px}.material-search,.material-sort{height:42px!important;border-radius:15px!important;background:#f8fafc!important;border:1px solid #dbe3ef!important;font-weight:850!important;color:#344054!important}.material-search{padding-left:38px!important;background-image:linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:13px center!important}.product-admin-v45 .desktop-filters{justify-content:flex-end!important;gap:8px!important}.product-admin-v45 .filter-btn{height:38px!important;border-radius:14px!important;padding:0 12px!important;background:#f2f5fa!important;border:1px solid #e3e9f2!important;color:#475467!important}.product-admin-v45 .filter-btn.active{background:#111827!important;color:#fff!important;border-color:#111827!important}
  .product-admin-v45 .desktop-selection-bar{top:86px!important;z-index:25!important;border-radius:22px!important;padding:12px!important;background:rgba(255,255,255,.90)!important;border:1px solid rgba(219,227,239,.95)!important;box-shadow:0 16px 34px rgba(15,23,42,.07)!important}.product-admin-v45 .selected-count{background:#eff6ff!important;color:#1d4ed8!important;border:1px solid #bfdbfe!important}.product-admin-v45 .desktop-inline-send select{height:44px!important;border-radius:16px!important}.product-admin-v45 .desktop-inline-send .success-btn{height:44px!important;border-radius:16px!important;background:linear-gradient(135deg,#16a34a,#22c55e)!important}
  .product-admin-v45 .desktop-material-grid{grid-template-columns:repeat(auto-fill,minmax(360px,1fr))!important;gap:14px!important}.product-admin-v45 .material-card{display:grid!important;grid-template-columns:128px minmax(0,1fr)!important;gap:12px!important;padding:12px!important;border-radius:24px!important;border:1px solid #e2e8f0!important;background:#fff!important;box-shadow:0 10px 26px rgba(15,23,42,.055)!important;min-height:154px!important}.product-admin-v45 .material-card.unused:hover{border-color:#93c5fd!important;box-shadow:0 22px 48px rgba(37,99,235,.12)!important}.product-admin-v45 .material-cover,.product-admin-v45 .material-cover a,.product-admin-v45 .material-cover img,.product-admin-v45 .material-cover video,.product-admin-v45 .material-cover .video-cover,.product-admin-v45 .no-img{width:128px!important;height:128px!important;min-height:0!important;max-width:128px!important;border-radius:18px!important;object-fit:cover!important}.product-admin-v45 .material-cover img{object-fit:cover!important}.product-admin-v45 .material-body h3{margin:8px 0 3px!important;font-size:16px!important;line-height:1.25!important;letter-spacing:-.02em!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}.product-admin-v45 .card-id{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;color:#98a2b3!important;font-size:11px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.product-admin-v45 .card-meta{display:flex!important;flex-wrap:wrap!important;gap:5px!important;margin-top:8px!important}.product-admin-v45 .card-meta span{padding:4px 7px;border-radius:999px;background:#f2f5fa;color:#667085;font-size:11px;font-weight:850}.product-admin-v45 .usage-line{margin:0!important}.product-admin-v45 .risk{font-size:11px!important}.product-admin-v45 .material-check{left:10px!important;top:10px!important;border-radius:999px!important;background:rgba(17,24,39,.84)!important;backdrop-filter:blur(10px)!important}.product-admin-v45 .risk-words,.product-admin-v45 .saved-line{margin-top:7px!important;font-size:11px!important;border-radius:12px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.product-empty-v45{min-height:360px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;color:#98a2b3}.product-empty-v45 b{font-size:24px;color:#344054;margin-bottom:6px}
  .product-admin-v45 .desktop-dock{gap:14px!important;top:104px!important}.product-admin-v45 .dock-panel{padding:18px!important;border-radius:26px!important}.product-admin-v45 .dock-head.simple{margin-bottom:12px!important}.product-admin-v45 .dock-head h2{font-size:20px!important;letter-spacing:-.04em!important}.dock-desc{display:block;margin-top:4px;color:#667085;font-size:12px;font-weight:850}.upload-drop-v45{margin:0 0 10px!important;min-height:108px!important;border:1.5px dashed #93c5fd!important;border-radius:22px!important;background:linear-gradient(135deg,#eff6ff,#f8fafc)!important;display:flex!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;text-align:center!important;color:#1d4ed8!important;cursor:pointer!important}.upload-drop-v45 b{font-size:16px}.upload-drop-v45 span{margin-top:5px;color:#667085;font-size:12px}.product-admin-v45 #images{position:absolute!important;left:-9999px!important;opacity:0!important}.product-admin-v45 .save-total{border-radius:20px!important}.product-admin-v45 .save-record,.product-admin-v45 .device-card{border-radius:18px!important;background:#f8fafc!important}.product-admin-v45 .collapsible-panel summary{font-size:16px!important}.product-admin-v45 .event-list{max-height:230px!important}
  @media(max-width:1400px){.product-admin-v45 .desktop-layout{grid-template-columns:minmax(0,1fr) 330px!important}.product-admin-v45 .desktop-library-head{grid-template-columns:1fr!important;align-items:start!important}.product-admin-v45 .desktop-filters{justify-content:flex-start!important}.product-admin-v45 .desktop-material-grid{grid-template-columns:repeat(auto-fill,minmax(320px,1fr))!important}.ops-brief-v45{grid-template-columns:1fr!important}.ops-brief-v45 span{white-space:normal}}
}

/* V45 product mobile admin */
.product-mobile-admin-v45{background:linear-gradient(180deg,#eef4ff 0,#f6f8fb 220px,#f3f6fb 100%)!important}.product-mobile-admin-v45 .mobile-admin-top{background:radial-gradient(circle at 90% 0,rgba(96,165,250,.45),transparent 40%),linear-gradient(135deg,#0b1220,#1d4ed8 62%,#4f46e5)!important;box-shadow:0 18px 42px rgba(29,78,216,.22)!important}.product-mobile-admin-v45 .mobile-admin-top h1{font-size:27px!important;letter-spacing:-.06em!important}.product-mobile-admin-v45 .mobile-admin-top span{color:#dbeafe!important}.mobile-admin-tabs-v45{position:sticky;top:76px;z-index:25;display:flex;gap:8px;overflow-x:auto;padding:10px 10px 8px;background:rgba(246,248,251,.86);backdrop-filter:blur(16px);-webkit-overflow-scrolling:touch;scrollbar-width:none}.mobile-admin-tabs-v45::-webkit-scrollbar{display:none}.mobile-admin-tabs-v45 a{flex:0 0 auto;text-decoration:none;color:#1e3a8a;background:#fff;border:1px solid #dbeafe;border-radius:999px;padding:9px 13px;font-size:13px;font-weight:1000;box-shadow:0 8px 18px rgba(15,23,42,.06)}.product-mobile-admin-v45 .mobile-admin-wrap{padding-top:8px!important;gap:12px!important}.product-mobile-admin-v45 .mobile-panel{border-radius:24px!important;border:1px solid rgba(226,232,240,.96)!important;background:rgba(255,255,255,.94)!important;box-shadow:0 16px 36px rgba(15,23,42,.075)!important}.product-mobile-admin-v45 .mobile-panel h2{font-size:22px!important;letter-spacing:-.05em!important}.product-mobile-admin-v45 .upload-card h2:before,.product-mobile-admin-v45 .library-card h2:before,.product-mobile-admin-v45 .save-card h2:before,.product-mobile-admin-v45 .device-card-mobile h2:before{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:9px;margin-right:8px;background:#eff6ff;color:#1d4ed8;font-size:12px;font-weight:1000}.product-mobile-admin-v45 .upload-card h2:before{content:'1'}.product-mobile-admin-v45 .library-card h2:before{content:'2'}.product-mobile-admin-v45 .save-card h2:before{content:'3'}.product-mobile-admin-v45 .device-card-mobile h2:before{content:'4'}.mobile-search-row-v45{display:grid;grid-template-columns:minmax(0,1fr) 92px;gap:8px;margin:8px 0}.product-mobile-admin-v45 .material-search,.product-mobile-admin-v45 .material-sort{height:46px!important;border-radius:16px!important}.product-mobile-admin-v45 .mobile-inline-send{border-radius:22px!important;background:linear-gradient(135deg,#f0fdf4,#eff6ff)!important;border-color:#bbf7d0!important}.product-mobile-admin-v45 .mobile-inline-send .full-btn{height:52px!important;border-radius:18px!important;font-size:16px!important}.product-mobile-admin-v45 .material-card{border-radius:19px!important;background:#fff!important;border:1px solid #e2e8f0!important;box-shadow:0 10px 24px rgba(15,23,42,.055)!important}.product-mobile-admin-v45 .material-cover,.product-mobile-admin-v45 .material-cover a,.product-mobile-admin-v45 .material-cover img,.product-mobile-admin-v45 .material-cover video,.product-mobile-admin-v45 .material-cover .video-cover,.product-mobile-admin-v45 .no-img{border-radius:15px!important}.product-mobile-admin-v45 .save-total{border-radius:20px!important}.product-mobile-admin-v45 .save-record,.product-mobile-admin-v45 .device-card{border-radius:18px!important;background:#f8fafc!important}.product-mobile-admin-v45 .selected-upload-info{border-radius:17px!important;background:#f8fafc!important}
@media(max-width:380px){.mobile-admin-tabs-v45{top:70px}.mobile-search-row-v45{grid-template-columns:1fr}.product-mobile-admin-v45 .mobile-admin-top h1{font-size:24px!important}}

/* V46 self-reviewed desktop admin fixes: no cramped controls, no blank material cards */
@media(min-width:821px){
  .product-admin-v46 .desktop-topbar{height:82px!important}.product-admin-v46 .desktop-shell{padding-top:18px!important}.product-admin-v46 .desktop-kpis{grid-template-columns:1.15fr repeat(5,1fr)!important;gap:12px!important}.product-admin-v46 .kpi{min-height:100px!important;padding:18px!important}.product-admin-v46 .kpi strong{font-size:32px!important}
  .product-admin-v46 .desktop-library-head{display:flex!important;flex-wrap:wrap!important;align-items:flex-start!important;gap:12px!important;margin-bottom:12px!important}.product-admin-v46 .desktop-library-head>div:first-child{flex:1 1 420px!important;min-width:300px!important}.product-admin-v46 .library-tools-v46,.product-admin-v46 .library-tools-v45{order:2!important;flex:0 0 380px!important;max-width:420px!important;margin-left:auto!important;display:grid!important;grid-template-columns:minmax(0,1fr) 126px!important;gap:8px!important}.product-admin-v46 .desktop-filters{order:3!important;flex:1 0 100%!important;justify-content:flex-start!important;display:flex!important;gap:8px!important;overflow-x:auto!important;padding:2px 0 0!important}.product-admin-v46 .desktop-filters .filter-btn{flex:0 0 auto!important}.product-admin-v46 .material-search,.product-admin-v46 .material-sort{height:40px!important;box-shadow:none!important}.product-admin-v46 .desktop-selection-bar{top:82px!important;margin-top:0!important;margin-bottom:12px!important;box-shadow:0 12px 28px rgba(15,23,42,.055)!important}.product-admin-v46 .desktop-selection-bar>.library-left{gap:8px!important}.product-admin-v46 .desktop-inline-send{gap:8px!important}.product-admin-v46 .desktop-inline-send select{width:210px!important;height:40px!important}.product-admin-v46 .desktop-inline-send .success-btn{height:40px!important;padding:0 15px!important}
  .product-admin-v46 .desktop-material-grid{grid-template-columns:repeat(auto-fill,minmax(248px,1fr))!important;gap:14px!important;align-items:start!important}.product-admin-v46 .material-card{display:flex!important;flex-direction:column!important;gap:0!important;min-height:0!important;height:auto!important;padding:10px!important;border-radius:22px!important;overflow:hidden!important;background:#fff!important}.product-admin-v46 .material-card.used{opacity:.92!important}.product-admin-v46 .material-cover{display:block!important;width:100%!important;max-width:none!important;height:178px!important;min-height:178px!important;margin:0!important;border-radius:17px!important;background:linear-gradient(135deg,#f8fafc,#eef2f7)!important;overflow:hidden!important}.product-admin-v46 .material-cover a,.product-admin-v46 .material-cover img,.product-admin-v46 .material-cover video,.product-admin-v46 .material-cover .video-cover,.product-admin-v46 .no-img{display:block!important;width:100%!important;max-width:none!important;height:178px!important;min-height:178px!important;border-radius:17px!important}.product-admin-v46 .material-cover img{object-fit:contain!important;background:#f8fafc!important;border:1px solid #edf1f7!important}.product-admin-v46 .material-cover .video-cover{position:relative!important;background:#020617!important}.product-admin-v46 .material-cover .video-cover span{position:absolute!important;right:8px!important;bottom:8px!important;background:rgba(17,24,39,.82)!important;color:#fff!important;border-radius:999px!important;padding:4px 7px!important;font-size:11px!important;font-weight:1000!important}.product-admin-v46 .material-body{display:flex!important;flex-direction:column!important;min-width:0!important;padding:10px 2px 2px!important;gap:6px!important}.product-admin-v46 .card-status-row{display:flex!important;align-items:center!important;gap:6px!important;min-height:24px!important}.product-admin-v46 .material-body h3{margin:0!important;font-size:15px!important;line-height:1.28!important;min-height:38px!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}.product-admin-v46 .card-id{margin:0!important;font-size:10.5px!important}.product-admin-v46 .card-meta{margin-top:2px!important;gap:5px!important}.product-admin-v46 .card-meta span{font-size:10.5px!important;padding:4px 6px!important}.product-admin-v46 .risk-words,.product-admin-v46 .saved-line{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.product-admin-v46 .reset-btn{width:100%!important;height:34px!important;margin-top:4px!important;border-radius:13px!important;background:#fff7ed!important;color:#c2410c!important;border:1px solid #fed7aa!important}.product-admin-v46 .material-check{left:18px!important;top:18px!important;z-index:3!important}.product-admin-v46 .desktop-dock{top:96px!important}.product-admin-v46 .dock-panel{border-radius:24px!important}.product-admin-v46 .upload-drop-v46,.product-admin-v46 .upload-drop-v45{min-height:96px!important}
  @media(max-width:1320px){.product-admin-v46 .desktop-layout{grid-template-columns:minmax(0,1fr) 320px!important}.product-admin-v46 .library-tools-v46,.product-admin-v46 .library-tools-v45{margin-left:0!important;flex:1 1 100%!important;max-width:none!important}.product-admin-v46 .desktop-material-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))!important}.product-admin-v46 .material-cover,.product-admin-v46 .material-cover a,.product-admin-v46 .material-cover img,.product-admin-v46 .material-cover video,.product-admin-v46 .material-cover .video-cover,.product-admin-v46 .no-img{height:160px!important;min-height:160px!important}}
}

/* V46 mobile admin cache class alias */
.product-mobile-admin-v46 .mobile-admin-tabs-v46,.product-mobile-admin-v46 .mobile-admin-tabs-v45{position:sticky;top:76px;z-index:25}

/* V46 aliases for renamed product blocks */
.ops-brief-v46{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:0 0 16px}.ops-brief-v46 div{display:flex;align-items:center;gap:12px;padding:14px 16px;border-radius:22px;background:rgba(255,255,255,.72);border:1px solid rgba(228,233,242,.92);box-shadow:0 12px 30px rgba(15,23,42,.045)}.ops-brief-v46 b{flex:0 0 auto;color:#1d4ed8;font-size:13px}.ops-brief-v46 span{color:#667085;font-size:13px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media(max-width:1400px){.ops-brief-v46{grid-template-columns:1fr!important}.ops-brief-v46 span{white-space:normal}}
.mobile-admin-tabs-v46{position:sticky;top:76px;z-index:25;display:flex;gap:8px;overflow-x:auto;padding:10px 10px 8px;background:rgba(246,248,251,.86);backdrop-filter:blur(16px);-webkit-overflow-scrolling:touch;scrollbar-width:none}.mobile-admin-tabs-v46::-webkit-scrollbar{display:none}.mobile-admin-tabs-v46 a{flex:0 0 auto;text-decoration:none;color:#1e3a8a;background:#fff;border:1px solid #dbeafe;border-radius:999px;padding:9px 13px;font-size:13px;font-weight:1000;box-shadow:0 8px 18px rgba(15,23,42,.06)}


/* V46 upload card targeted fix: make file picker visible and product-grade */
@media(min-width:821px){
  .product-admin-v46 .desktop-upload-panel .upload-zone{background:transparent!important;border:0!important;padding:0!important;display:grid!important;gap:12px!important}.product-admin-v46 .desktop-upload-panel .dock-desc{display:block!important;margin-top:4px!important;color:#667085!important;font-size:12px!important;font-weight:850!important}.product-admin-v46 .desktop-upload-panel #images{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}.product-admin-v46 .upload-drop-v46{min-height:118px!important;margin:4px 0 0!important;padding:18px 16px!important;border:1.5px dashed #7dd3fc!important;border-radius:22px!important;background:linear-gradient(135deg,#ecfeff 0,#eff6ff 56%,#f8fafc 100%)!important;display:flex!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;text-align:center!important;cursor:pointer!important;color:#075985!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.85)!important;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important}.product-admin-v46 .upload-drop-v46:hover{transform:translateY(-1px)!important;border-color:#0ea5e9!important;box-shadow:0 14px 28px rgba(14,165,233,.14),inset 0 1px 0 rgba(255,255,255,.9)!important}.product-admin-v46 .upload-drop-v46 b{display:block!important;font-size:16px!important;font-weight:1000!important;line-height:1.25!important;color:#075985!important}.product-admin-v46 .upload-drop-v46 b:before{content:'＋';display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;margin-right:7px;border-radius:8px;background:#0ea5e9;color:#fff;font-size:16px;vertical-align:-2px}.product-admin-v46 .upload-drop-v46 span{display:block!important;margin-top:8px!important;max-width:230px!important;color:#667085!important;font-size:12px!important;font-weight:850!important;line-height:1.45!important}.product-admin-v46 .desktop-upload-panel #uploadBtn{height:48px!important;margin-top:0!important;border-radius:17px!important;background:linear-gradient(135deg,#0f766e,#14b8a6)!important;box-shadow:0 14px 28px rgba(20,184,166,.18)!important}.product-admin-v46 .desktop-upload-panel #uploaded{min-height:54px!important;margin-top:0!important;border-radius:17px!important;background:#f8fafc!important;border:1px solid #edf1f7!important;padding:13px!important}.product-admin-v46 .desktop-upload-panel .uploadedImg{width:68px!important;height:86px!important;border-radius:12px!important;margin:3px!important;object-fit:cover!important}
}


/* V48 AI style classification */
.material-style{min-width:150px;background:#fff;border-color:#bfdbfe;color:#1e3a8a;font-weight:850}
.ai-style-action{background:#f5f3ff!important;color:#6d28d9!important;border:1px solid #ddd6fe!important}
.card-status-row{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-bottom:6px}
.ai-style-chip{display:inline-flex;align-items:center;gap:4px;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:950;border:1px solid #e2e8f0;background:#f8fafc;color:#475569;white-space:nowrap}
.ai-style-chip.style-chat{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe}
.ai-style-chip.style-poster{background:#fff7ed;color:#c2410c;border-color:#fed7aa}
.ai-style-chip.style-game{background:#f5f3ff;color:#6d28d9;border-color:#ddd6fe}
.ai-style-chip.style-real{background:#fdf2f8;color:#be185d;border-color:#fbcfe8}
.ai-style-chip.style-meme{background:#fefce8;color:#a16207;border-color:#fde68a}
.ai-style-chip.style-video{background:#ecfeff;color:#0e7490;border-color:#a5f3fc}
.ai-style-chip.style-plain{background:#f1f5f9;color:#475569;border-color:#e2e8f0}
.library-tools-v46{grid-template-columns:minmax(180px,1fr) 145px 155px!important}
.mobile-search-row-v46{grid-template-columns:minmax(0,1fr) 94px 118px!important}
@media(max-width:820px){.mobile-search-row-v46{grid-template-columns:1fr!important}.material-style{min-width:0;width:100%}.ai-style-action{white-space:nowrap}}

/* V49 ops brain: diagnosis */
.ops-diagnosis-v49{margin:0 0 16px;padding:18px;border:1px solid rgba(37,99,235,.16);background:linear-gradient(135deg,#ffffff 0%,#eff6ff 52%,#f8fafc 100%);border-radius:24px;box-shadow:0 14px 34px rgba(15,23,42,.08)}
.ops-diagnosis-v49,.style-perf-v49{display:none!important}
.ops-diagnosis-v49.empty-tip{color:#64748b;font-weight:800}.diag-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}.diag-head h2{font-size:24px;letter-spacing:-.4px}.diag-head>span{font-size:12px;font-weight:900;color:#2563eb;background:#dbeafe;border-radius:999px;padding:7px 10px;white-space:nowrap}.section-kicker{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#2563eb;font-weight:1000;margin-bottom:3px}.diag-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.diag-item{position:relative;overflow:hidden;border:1px solid #e7ecf4;background:#fff;border-radius:18px;padding:13px 14px 13px 18px}.diag-item:before{content:'';position:absolute;left:0;top:0;bottom:0;width:5px;background:#f59e0b}.diag-item.good:before{background:#22c55e}.diag-item.bad:before{background:#ef4444}.diag-item b{display:block;font-size:14px;color:#0f172a}.diag-item span{display:block;margin-top:5px;font-size:12px;line-height:1.42;color:#64748b}.ai-style-chip{display:inline-flex;align-items:center;gap:4px;border-radius:999px;padding:5px 8px;font-size:11px;font-weight:1000;background:#eef2ff;color:#3730a3;margin-left:5px}.ai-quality-chip{display:inline-flex;border-radius:999px;padding:5px 8px;font-size:11px;font-weight:1000;background:#fff7ed;color:#c2410c;margin-left:5px}.style-low_quality,.ai-style-chip.style-low_quality{background:#fee2e2;color:#b91c1c}.card-status-row{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin-bottom:5px}.product-mobile-admin-v45 .ops-diagnosis-v49,.product-mobile-admin-v46 .ops-diagnosis-v49,.mobile-diagnosis-v49{margin:10px 0;padding:13px;border-radius:18px}.product-mobile-admin-v45 .diag-head h2,.product-mobile-admin-v46 .diag-head h2,.mobile-diagnosis-v49 .diag-head h2{font-size:19px}.product-mobile-admin-v45 .diag-list,.product-mobile-admin-v46 .diag-list,.mobile-diagnosis-v49 .diag-list{grid-template-columns:1fr}.product-mobile-admin-v45 .diag-head,.product-mobile-admin-v46 .diag-head,.mobile-diagnosis-v49 .diag-head{align-items:center}.product-mobile-admin-v45 .diag-head>span,.product-mobile-admin-v46 .diag-head>span,.mobile-diagnosis-v49 .diag-head>span{display:none}
@media(max-width:900px){.diag-list{grid-template-columns:1fr}.diag-head{align-items:center}.diag-head h2{font-size:20px}.ops-diagnosis-v49{padding:14px;border-radius:18px}.ai-style-chip,.ai-quality-chip{font-size:10px;padding:4px 6px}}


/* V50 layout polish: self-reviewed desktop library header/card spacing */
.product-admin-v50 .desktop-library-head{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(520px,.98fr)!important;
  grid-template-areas:"title title" "filters tools"!important;
  align-items:center!important;
  gap:14px 18px!important;
  margin-bottom:14px!important;
}
.product-admin-v50 .desktop-library-head>div:first-child{grid-area:title!important;min-width:0!important;max-width:none!important;flex:none!important}.product-admin-v50 .desktop-library-head>div:first-child span{max-width:680px!important}
.product-admin-v50 .desktop-filters{grid-area:filters!important;order:0!important;flex:none!important;width:100%!important;justify-content:flex-start!important;overflow-x:auto!important;padding:0!important;gap:9px!important}.product-admin-v50 .desktop-filters .filter-btn{height:40px!important;padding:0 15px!important;border-radius:15px!important;white-space:nowrap!important}
.product-admin-v50 .library-tools-v46{grid-area:tools!important;order:0!important;flex:none!important;width:100%!important;max-width:none!important;margin:0!important;display:grid!important;grid-template-columns:minmax(240px,1fr) 142px 156px!important;gap:10px!important;align-items:center!important}.product-admin-v50 .material-search,.product-admin-v50 .material-sort,.product-admin-v50 .material-style{height:42px!important;border-radius:16px!important;background-color:#fff!important;border:1px solid #dbe3ef!important;box-shadow:0 8px 18px rgba(15,23,42,.035)!important;font-size:13px!important}.product-admin-v50 .material-style{min-width:0!important}.product-admin-v50 .desktop-selection-bar{top:82px!important;border-radius:18px!important;padding:9px 10px!important}.product-admin-v50 .desktop-selection-bar .ghost-btn,.product-admin-v50 .desktop-selection-bar .success-btn{height:38px!important;padding:0 13px!important;border-radius:13px!important}.product-admin-v50 .selected-count{height:38px!important;display:inline-flex!important;align-items:center!important}.product-admin-v50 .desktop-material-grid{grid-template-columns:repeat(auto-fill,minmax(232px,1fr))!important;gap:14px!important}.product-admin-v50 .material-card{border-radius:20px!important;padding:9px!important}.product-admin-v50 .material-cover,.product-admin-v50 .material-cover a,.product-admin-v50 .material-cover img,.product-admin-v50 .material-cover video,.product-admin-v50 .material-cover .video-cover,.product-admin-v50 .no-img{height:164px!important;min-height:164px!important;border-radius:15px!important}.product-admin-v50 .material-body{padding:9px 2px 2px!important;gap:5px!important}.product-admin-v50 .card-status-row{justify-content:flex-start!important;gap:5px!important;min-height:0!important;margin-bottom:3px!important}.product-admin-v50 .usage-line,.product-admin-v50 .risk,.product-admin-v50 .ai-style-chip,.product-admin-v50 .ai-quality-chip{font-size:10.5px!important;padding:4px 6px!important;margin-left:0!important;line-height:1!important}.product-admin-v50 .material-body h3{font-size:14px!important;line-height:1.25!important;min-height:35px!important}.product-admin-v50 .card-meta{display:flex!important;flex-wrap:wrap!important;gap:4px!important;margin-top:2px!important}.product-admin-v50 .card-meta span{font-size:10px!important;padding:4px 6px!important}.product-admin-v50 .reset-btn{height:32px!important;margin-top:4px!important;padding:0 8px!important}.product-admin-v50 .desktop-dock{top:96px!important}
@media(max-width:1500px){.product-admin-v50 .desktop-library-head{grid-template-columns:1fr!important;grid-template-areas:"title" "tools" "filters"!important}.product-admin-v50 .library-tools-v46{grid-template-columns:minmax(260px,1fr) 142px 156px!important}.product-admin-v50 .desktop-material-grid{grid-template-columns:repeat(auto-fill,minmax(218px,1fr))!important}.product-admin-v50 .material-cover,.product-admin-v50 .material-cover a,.product-admin-v50 .material-cover img,.product-admin-v50 .material-cover video,.product-admin-v50 .material-cover .video-cover,.product-admin-v50 .no-img{height:154px!important;min-height:154px!important}}
@media(max-width:900px){.product-admin-v50 .library-tools-v46{grid-template-columns:1fr!important}.product-admin-v50 .desktop-library-head{display:grid!important;grid-template-areas:"title" "tools" "filters"!important}.product-admin-v50 .desktop-material-grid{grid-template-columns:1fr!important}}

/* V51 batch settings modal */
.product-admin-v51 .batch-action:disabled{opacity:.48;cursor:not-allowed}.batch-modal-v51{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:22px}.batch-modal-v51.hidden{display:none!important}.batch-mask{position:absolute;inset:0;background:rgba(15,23,42,.48);backdrop-filter:blur(8px)}.batch-panel-v51{position:relative;width:min(760px,calc(100vw - 32px));background:#fff;border:1px solid #e6ebf2;border-radius:28px;box-shadow:0 30px 90px rgba(15,23,42,.25);padding:22px}.batch-head-v51{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:18px}.batch-head-v51 h2{font-size:26px;margin:0;letter-spacing:-.04em}.batch-head-v51 span{display:block;margin-top:5px;color:#667085;font-size:13px;font-weight:850}.batch-grid-v51{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.batch-grid-v51 label{margin:0;font-size:13px;color:#344054}.batch-grid-v51 input,.batch-grid-v51 select{height:44px;margin-top:7px;border-radius:15px;background:#f8fafc}.batch-check-v51{grid-column:1/-1;display:flex!important;align-items:center;gap:10px;padding:13px 14px;border:1px solid #fed7aa;border-radius:16px;background:#fff7ed;color:#9a3412!important}.batch-check-v51 input{width:auto!important;height:auto!important;margin:0!important}.batch-foot-v51{display:flex;justify-content:flex-end;margin-top:18px}.batch-foot-v51 button{min-width:180px;height:44px}@media(max-width:720px){.batch-grid-v51{grid-template-columns:1fr}.batch-panel-v51{border-radius:22px;padding:16px}.batch-head-v51 h2{font-size:22px}.batch-foot-v51 button{width:100%}}

/* V51.1 batch button visibility fix */
.product-admin-v51 .batch-action{border-color:#bfdbfe!important;background:#eff6ff!important;color:#1d4ed8!important;font-weight:1000!important}.product-admin-v51 .batch-action:disabled{opacity:1!important;background:#f8fafc!important;color:#94a3b8!important;border-style:dashed!important;box-shadow:none!important;cursor:not-allowed}.product-admin-v51 .batch-action:not(:disabled){background:linear-gradient(135deg,#2563eb,#1d4ed8)!important;color:#fff!important;border-color:#2563eb!important;box-shadow:0 10px 22px rgba(37,99,235,.18)!important}

/* V52 simplify material action bar: one primary flow + more menu */
.product-admin-v52 .simple-send-v52{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:12px!important;padding:12px!important;background:#fff!important;border:1px solid #e5eaf2!important;box-shadow:0 10px 24px rgba(15,23,42,.045)!important}.product-admin-v52 .send-flow-v52{display:grid!important;grid-template-columns:auto auto minmax(220px,320px) auto!important;align-items:center!important;gap:10px!important;min-width:0!important}.product-admin-v52 .quick-select-v52{background:#f8fafc!important;border-color:#e2e8f0!important;color:#0f172a!important}.product-admin-v52 .selected-count{min-width:96px!important;justify-content:center!important}.product-admin-v52 .send-flow-v52 select{height:42px!important;border-radius:15px!important;background:#fff!important}.product-admin-v52 .send-main-v52{height:42px!important;min-width:128px!important;border-radius:15px!important;background:linear-gradient(135deg,#10b981,#059669)!important;box-shadow:0 12px 24px rgba(16,185,129,.20)!important}.product-admin-v52 .more-actions-v52{position:relative!important;justify-self:end!important}.product-admin-v52 .more-actions-v52 summary{list-style:none!important;height:42px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0 16px!important;border-radius:15px!important;background:#f8fafc!important;border:1px solid #e2e8f0!important;color:#475569!important;font-weight:1000!important;cursor:pointer!important}.product-admin-v52 .more-actions-v52 summary::-webkit-details-marker{display:none!important}.product-admin-v52 .more-actions-v52[open] summary{background:#0f172a!important;color:#fff!important}.product-admin-v52 .more-actions-v52[open]::before{content:'';position:fixed;inset:0;z-index:19}.product-admin-v52 .more-actions-v52>button{display:none!important}.product-admin-v52 .more-actions-v52[open]>button{position:relative!important;z-index:20!important;display:flex!important;width:150px!important;height:38px!important;margin:8px 0 0 auto!important;border-radius:13px!important;background:#fff!important;border:1px solid #e2e8f0!important;color:#334155!important;box-shadow:0 12px 28px rgba(15,23,42,.10)!important}.product-admin-v52 .more-actions-v52[open]{position:relative!important;z-index:20!important}.product-admin-v52 .library-tools-v46{grid-template-columns:minmax(240px,1fr) 142px 148px!important}.product-admin-v52 .desktop-filters{gap:7px!important}.product-admin-v52 .desktop-filters .filter-btn{height:38px!important;padding:0 13px!important}@media(max-width:1100px){.product-admin-v52 .simple-send-v52{grid-template-columns:1fr!important}.product-admin-v52 .send-flow-v52{grid-template-columns:1fr!important}.product-admin-v52 .more-actions-v52{justify-self:stretch!important}.product-admin-v52 .more-actions-v52 summary{width:100%!important}.product-admin-v52 .more-actions-v52[open]>button{width:100%!important}}

/* V52.1 simplify primary bar further */
.product-admin-v52 .send-flow-v52{grid-template-columns:auto minmax(240px,360px) auto!important}.product-admin-v52 .quick-select-v52{width:150px!important}
@media(max-width:1100px){.product-admin-v52 .send-flow-v52{grid-template-columns:1fr!important}.product-admin-v52 .quick-select-v52{width:100%!important}}

/* V53 video link parser: paste link -> parse -> video material library */
.video-link-card{display:grid!important;gap:10px!important;margin:0 0 12px!important;padding:14px!important;border:1px solid rgba(34,197,94,.25)!important;border-radius:22px!important;background:linear-gradient(135deg,#f0fdf4 0,#ecfeff 58%,#f8fafc 100%)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.9)!important}.link-card-head b{display:block!important;font-size:16px!important;font-weight:1000!important;color:#14532d!important}.link-card-head b:before{content:'▶';display:inline-flex;align-items:center;justify-content:center;width:23px;height:23px;margin-right:8px;border-radius:9px;background:#16a34a;color:#fff;font-size:12px;vertical-align:1px}.link-card-head span{display:block!important;margin-top:5px!important;color:#475569!important;font-size:12px!important;font-weight:850!important;line-height:1.35!important}.video-link-card textarea{min-height:104px!important;border-color:#86efac!important;background:#fff!important;border-radius:17px!important;font-size:14px!important;line-height:1.5!important}.link-actions-v53{display:grid!important;grid-template-columns:1fr 1fr!important;gap:9px!important}.link-actions-v53 button{height:44px!important;border-radius:15px!important}.link-actions-v53 .success-btn{background:linear-gradient(135deg,#16a34a,#22c55e)!important;box-shadow:0 12px 24px rgba(22,163,74,.18)!important}.link-tip-v53{margin:0!important;color:#64748b!important;font-size:12px!important;font-weight:800!important;line-height:1.4!important}.mobile-link-card-v53{margin-bottom:12px!important}.mobile-link-card-v53 textarea{font-size:16px!important;min-height:112px!important}.mobile-link-card-v53 .link-actions-v53{grid-template-columns:1fr!important}.mobile-link-card-v53 .link-actions-v53 button{width:100%!important;min-height:48px!important}

/* V54 parse first, manually pick image/video to import */
.link-results-v54{border:1px solid #dcfce7;border-radius:18px;background:rgba(255,255,255,.72);padding:10px;color:#475569;font-size:12px}.link-result-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.link-result-head b{font-size:14px;color:#14532d}.link-result-head span{font-weight:850;color:#64748b}.link-candidate-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:10px}.link-candidate{position:relative;display:grid;gap:6px;padding:8px;border:1px solid #e2e8f0;border-radius:16px;background:#fff;cursor:pointer;overflow:hidden}.link-candidate input{position:absolute;left:9px;top:9px;z-index:2;width:18px;height:18px;accent-color:#16a34a}.link-candidate img,.link-no-preview{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px;background:#f1f5f9;display:flex;align-items:center;justify-content:center;color:#64748b;font-weight:900}.link-candidate.video img{filter:saturate(1.06)}.link-candidate.video:after{content:'▶';position:absolute;right:14px;top:14px;width:28px;height:28px;border-radius:99px;background:rgba(15,23,42,.72);color:#fff;display:flex;align-items:center;justify-content:center;font-size:12px}.link-candidate b{font-size:13px;color:#0f172a}.link-candidate span{font-size:11px;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.link-candidate:has(input:checked){border-color:#22c55e;box-shadow:0 0 0 3px rgba(34,197,94,.14)}@media(max-width:720px){.link-candidate-grid{grid-template-columns:1fr}.link-results-v54{margin-bottom:12px}}
.link-warning-v54{margin:0 0 10px;padding:9px 10px;border-radius:13px;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;font-size:12px;font-weight:850;line-height:1.4}

/* V56 link parse result modal: parse success must visibly pop selection UI */
.link-modal-v56{position:fixed;inset:0;z-index:80;display:flex;align-items:center;justify-content:center;padding:24px}.link-modal-v56.hidden{display:none!important}.link-modal-mask{position:absolute;inset:0;background:rgba(15,23,42,.58);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}.link-modal-panel-v56{position:relative;z-index:1;width:min(760px,96vw);max-height:86vh;overflow:auto;border-radius:28px;background:#fff;border:1px solid rgba(226,232,240,.95);box-shadow:0 34px 100px rgba(15,23,42,.35);padding:18px}.link-modal-head-v56{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:14px}.link-modal-head-v56 h2{margin:2px 0 4px;font-size:25px;letter-spacing:-.04em;color:#0f172a}.link-modal-head-v56 span{color:#64748b;font-size:13px;font-weight:850}.link-modal-body-v56 .link-candidate-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.link-modal-body-v56 .link-candidate{box-shadow:0 8px 22px rgba(15,23,42,.08)}.link-modal-body-v56 #importParsedLink{height:52px;border-radius:17px;font-size:17px}.link-inline-ready-v56{padding:10px 12px;border-radius:14px;background:#ecfdf5;border:1px solid #bbf7d0;color:#166534;font-weight:900;font-size:12px}.link-modal-open{overflow:hidden}@media(max-width:720px){.link-modal-v56{padding:10px;align-items:flex-end}.link-modal-panel-v56{width:100%;max-height:90vh;border-radius:26px 26px 18px 18px;padding:14px}.link-modal-head-v56 h2{font-size:22px}.link-modal-body-v56 .link-candidate-grid{grid-template-columns:1fr}.link-modal-body-v56 #importParsedLink{position:sticky;bottom:0}}

/* V57 real video preview in parse modal */
.link-candidate video{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px;background:#020617;display:block}.link-modal-body-v56 .link-candidate video{box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}.link-candidate.video:has(video):after{display:none!important}.link-candidate.video b:before{content:'可预览';display:inline-block;margin-right:6px;padding:2px 6px;border-radius:999px;background:#dcfce7;color:#166534;font-size:10px;font-weight:1000;vertical-align:1px}.link-candidate.video:has(.link-no-preview) b:before{content:'无预览';background:#fee2e2;color:#991b1b}

/* V63: persistent dual image/video downloader progress/error modal */
.link-download-state{display:flex;flex-direction:column;gap:12px;padding:22px;border:1px solid rgba(148,163,184,.25);border-radius:18px;background:rgba(15,23,42,.72);color:#e5e7eb;line-height:1.6}
.link-download-state b{font-size:18px;color:#fff}
.link-download-state span{color:#cbd5e1;font-size:14px}
.link-download-state code{display:block;max-height:96px;overflow:auto;padding:10px 12px;border-radius:12px;background:rgba(2,6,23,.75);color:#93c5fd;font-size:12px;word-break:break-all;white-space:pre-wrap}
.link-download-state small{color:#fbbf24;font-size:13px}
.v62-loading{border-color:rgba(59,130,246,.45);box-shadow:0 0 0 1px rgba(59,130,246,.15) inset}
.v62-error{border-color:rgba(248,113,113,.55);box-shadow:0 0 0 1px rgba(248,113,113,.15) inset}

/* V76 APK QR top action */
.apk-qr-card{display:flex!important;align-items:center!important;gap:8px!important;padding:7px 9px!important;border-radius:14px!important;background:#0f172a!important;color:#fff!important;text-decoration:none!important;box-shadow:0 12px 28px rgba(15,23,42,.18)!important;border:1px solid rgba(255,255,255,.18)!important;min-width:112px!important;justify-content:center!important}
.apk-qr-card img{width:54px!important;height:54px!important;border-radius:8px!important;background:#fff!important;padding:3px!important;box-shadow:0 0 0 1px rgba(15,23,42,.08)!important}
.apk-qr-card span{font-size:12px!important;line-height:1.15!important;font-weight:1000!important;letter-spacing:.02em!important;max-width:42px!important;text-align:left!important}
@media(max-width:760px){.apk-qr-card{padding:7px!important}.apk-qr-card img{width:48px!important;height:48px!important}.apk-qr-card span{font-size:11px!important}}
/* V76 override desktop action fixed button height for QR */
.desktop-admin-v3 .desktop-actions .apk-qr-card{height:72px!important;width:122px!important;padding:7px!important;display:grid!important;grid-template-columns:56px 1fr!important;align-items:center!important;gap:7px!important}
.desktop-admin-v3 .desktop-actions .apk-qr-card img{width:56px!important;height:56px!important;max-width:56px!important;min-width:56px!important;display:block!important}
.desktop-admin-v3 .desktop-actions .apk-qr-card span{max-width:none!important;font-size:11px!important;text-align:left!important}

/* V77 click-to-open APK QR modal */
.apk-qr-trigger{background:#111827!important;color:#fff!important;border:1px solid #111827!important}
.apk-qr-modal{position:fixed;inset:0;z-index:120;display:flex;align-items:center;justify-content:center;padding:24px}
.apk-qr-mask{position:absolute;inset:0;background:rgba(15,23,42,.58);backdrop-filter:blur(8px)}
.apk-qr-panel{position:relative;width:min(360px,92vw);background:#fff;border-radius:28px;padding:26px 24px 22px;text-align:center;box-shadow:0 30px 90px rgba(15,23,42,.35);border:1px solid rgba(226,232,240,.95)}
.apk-qr-panel h2{font-size:24px;letter-spacing:-.04em;margin:4px 0 16px;color:#0f172a}
.apk-qr-panel img{width:236px;height:236px;display:block;margin:0 auto 16px;border-radius:18px;padding:10px;background:#fff;border:1px solid #e2e8f0;box-shadow:0 12px 30px rgba(15,23,42,.10)}
.apk-qr-panel a{display:flex;justify-content:center;align-items:center;height:46px;border-radius:15px;background:#111827;color:#fff;text-decoration:none;font-weight:1000;margin:0 auto 10px}
.apk-qr-panel span{display:block;color:#64748b;font-size:13px;font-weight:800}
.apk-qr-close{position:absolute;right:14px;top:12px;width:34px;height:34px;border-radius:999px;background:#f1f5f9!important;color:#0f172a!important;padding:0!important;font-size:22px!important;line-height:1!important}

/* V79 delete materials */
.ghost-btn.danger-action{background:#fff1f2!important;color:#be123c!important;border:1px solid #fecdd3!important}.ghost-btn.danger-action:hover{background:#ffe4e6!important;color:#9f1239!important;border-color:#fda4af!important}.ghost-btn.danger-action:disabled{opacity:.45!important;cursor:not-allowed!important}

/* V80 drag multiselect */
.material-card{user-select:none}.material-card.selected{outline:2px solid #2563eb!important;box-shadow:0 14px 34px rgba(37,99,235,.22)!important}.desktop-material-grid{user-select:none}

/* V82 box multiselect */
.drag-select-box-v82{position:fixed;z-index:9999;border:2px solid #2563eb;background:rgba(37,99,235,.12);border-radius:10px;pointer-events:none;box-shadow:0 8px 24px rgba(37,99,235,.18)}

/* V83 real box select */
.drag-select-box-v83{position:fixed;z-index:9999;border:2px solid #2563eb;background:rgba(37,99,235,.14);border-radius:10px;pointer-events:none;box-shadow:0 8px 24px rgba(37,99,235,.22)}
.desktop-material-grid,.material-card{user-select:none!important;-webkit-user-select:none!important}

/* V84 final box selection on mouseup */
.drag-select-box-v84{position:fixed;z-index:9999;border:2px solid #2563eb;background:rgba(37,99,235,.14);border-radius:10px;pointer-events:none;box-shadow:0 8px 24px rgba(37,99,235,.22)}
.material-card.box-preview-v84{outline:2px dashed #60a5fa!important;box-shadow:0 12px 30px rgba(96,165,250,.18)!important}

/* V85 XHS health status */
.xhs-status-pill{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:800;border:1px solid rgba(255,255,255,.22);background:rgba(15,23,42,.08);color:#334155;white-space:nowrap}
.xhs-status-pill.ok{background:#dcfce7;color:#166534;border-color:#86efac}.xhs-status-pill.warn,.xhs-status-pill.checking{background:#fef3c7;color:#92400e;border-color:#fcd34d}.xhs-status-pill.error{background:#fee2e2;color:#991b1b;border-color:#fecaca}.mobile-head-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.mobile-admin-top .xhs-status-pill{font-size:11px;padding:6px 9px}

/* v86: show material created/updated time on every library card */
.card-time{margin:4px 0 0!important;color:#475467!important;font-size:11px!important;font-weight:850!important;line-height:1.2!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.product-admin-v46 .card-time,.product-admin-v50 .card-time{font-size:10.5px!important;margin-top:0!important;color:#667085!important}
.mobile-admin-page .card-time{font-size:10.5px!important;margin-top:2px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}

/* v87: select all controls for link parse result */
.link-select-toolbar-v87{display:flex;align-items:center;gap:8px;margin:-2px 0 10px;flex-wrap:wrap}
.link-select-toolbar-v87 button{padding:8px 12px;border-radius:999px;font-size:12px;background:#eef2f7;color:#0f172a}
.link-select-toolbar-v87 span{margin-left:auto;font-size:12px;font-weight:1000;color:#166534;background:#dcfce7;border-radius:999px;padding:7px 10px}
@media(max-width:720px){.link-select-toolbar-v87{position:sticky;top:0;z-index:3;background:#fff;padding:4px 0 8px}.link-select-toolbar-v87 button{flex:1}.link-select-toolbar-v87 span{margin-left:0;width:100%;text-align:center}}

/* v88: material preview modal with prev/next/delete */
.material-preview-modal{position:fixed;inset:0;z-index:95;display:flex;align-items:center;justify-content:center;padding:22px}.material-preview-modal.hidden{display:none!important}.material-preview-mask{position:absolute;inset:0;background:rgba(15,23,42,.66);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px)}.material-preview-panel{position:relative;z-index:1;width:min(1120px,96vw);max-height:92vh;overflow:auto;background:#fff;border:1px solid rgba(226,232,240,.95);border-radius:28px;box-shadow:0 34px 110px rgba(15,23,42,.42);padding:18px}.material-preview-open{overflow:hidden}.material-preview-close{position:absolute;right:14px;top:12px;width:38px;height:38px;border-radius:999px;background:#eef2f7;color:#0f172a;font-size:24px;padding:0;z-index:3}.material-preview-top{display:grid;grid-template-columns:120px 1fr 120px;align-items:center;gap:12px;margin:0 42px 14px 0}.material-preview-top>div{text-align:center}.material-preview-top b{display:block;font-size:18px}.material-preview-top span{display:block;margin-top:3px;color:#64748b;font-size:12px;font-weight:900}.material-preview-top button{padding:10px 12px}.material-preview-top button:disabled{opacity:.4;cursor:not-allowed}.material-preview-content{display:grid;grid-template-columns:minmax(0,1.15fr) 360px;gap:18px;align-items:start}.material-preview-media{display:flex;align-items:center;justify-content:center;min-height:520px;background:#f8fafc;border:1px solid #e7ecf4;border-radius:22px;overflow:hidden}.material-preview-media img,.material-preview-media video{max-width:100%;max-height:76vh;width:auto;height:auto;object-fit:contain;border-radius:18px}.material-preview-empty{color:#94a3b8;font-weight:900}.material-preview-info{min-width:0;padding:4px 4px 0}.material-preview-info h2{margin:14px 0 8px;font-size:24px;line-height:1.25;word-break:break-word}.material-preview-meta{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:12px 0}.material-preview-meta span{background:#f8fafc;border:1px solid #e7ecf4;border-radius:12px;padding:10px;font-size:12px;font-weight:900;color:#475569}.material-preview-actions{display:grid;gap:10px;margin-top:18px}.danger-btn{background:#dc2626!important;color:#fff!important}.material-card{cursor:pointer}.material-card input,.material-card button,.material-card select,.material-card textarea{cursor:auto}@media(max-width:820px){.material-preview-modal{padding:8px;align-items:flex-end}.material-preview-panel{width:100%;max-height:94vh;border-radius:24px 24px 14px 14px;padding:14px}.material-preview-top{grid-template-columns:1fr 1.1fr 1fr;margin-right:42px}.material-preview-content{grid-template-columns:1fr}.material-preview-media{min-height:320px}.material-preview-info h2{font-size:20px}.material-preview-meta{grid-template-columns:repeat(4,1fr);gap:6px}.material-preview-meta span{padding:8px 4px;text-align:center;font-size:11px}}

/* v89: device detail/edit modal */
.device-card{cursor:pointer}.device-card button,.device-card summary{cursor:auto}.device-detail-modal{position:fixed;inset:0;z-index:96;display:flex;align-items:center;justify-content:center;padding:22px}.device-detail-modal.hidden{display:none!important}.device-detail-mask{position:absolute;inset:0;background:rgba(15,23,42,.62);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px)}.device-detail-panel{position:relative;z-index:1;width:min(760px,96vw);max-height:92vh;overflow:auto;background:#fff;border:1px solid rgba(226,232,240,.95);border-radius:28px;box-shadow:0 34px 110px rgba(15,23,42,.42);padding:22px}.device-detail-open{overflow:hidden}.device-detail-close{position:absolute;right:14px;top:12px;width:38px;height:38px;border-radius:999px;background:#eef2f7;color:#0f172a;font-size:24px;padding:0;z-index:3}.device-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding-right:42px}.device-detail-head h2{margin:4px 0 4px;font-size:26px;line-height:1.2}.device-detail-head p{margin:0;color:#64748b;font-size:12px;font-weight:900;word-break:break-all}.device-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}.device-detail-grid label{display:block;margin-bottom:6px;color:#475569;font-size:12px;font-weight:1000}.device-detail-grid input,.device-detail-grid select{width:100%;box-sizing:border-box;border:1px solid #dbe3ee;border-radius:14px;padding:12px 13px;font-weight:900;background:#fff}.device-detail-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:16px 0}.device-detail-stats span{background:#f8fafc;border:1px solid #e7ecf4;border-radius:14px;padding:12px 8px;text-align:center;font-size:12px;color:#64748b;font-weight:900}.device-detail-stats b{display:block;color:#0f172a;font-size:20px}.device-detail-meta{background:#f8fafc;border:1px solid #e7ecf4;border-radius:16px;padding:12px 14px;color:#475569;font-size:13px;font-weight:800}.device-detail-meta p{margin:5px 0}.device-detail-actions{display:grid;grid-template-columns:1fr 120px;gap:10px;margin-top:16px}@media(max-width:720px){.device-detail-modal{padding:8px;align-items:flex-end}.device-detail-panel{border-radius:24px 24px 14px 14px;padding:18px}.device-detail-grid{grid-template-columns:1fr}.device-detail-stats{grid-template-columns:repeat(2,1fr)}.device-detail-actions{grid-template-columns:1fr}.device-detail-head h2{font-size:22px}}

/* v90: online devices KPI opens device overview */
.clickable-kpi{cursor:pointer;transition:transform .18s ease,box-shadow .18s ease}.clickable-kpi:hover{transform:translateY(-2px);box-shadow:0 20px 44px rgba(37,99,235,.22)}.clickable-kpi:focus{outline:3px solid rgba(59,130,246,.35);outline-offset:3px}.device-overview-list{display:grid;gap:10px;margin-top:18px}.device-overview-row{width:100%;display:grid;grid-template-columns:170px 1fr;gap:10px;align-items:center;text-align:left;background:#f8fafc;border:1px solid #e7ecf4;border-radius:16px;padding:13px 14px;color:#0f172a}.device-overview-row b{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.device-overview-row span{font-size:12px;color:#64748b;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.device-overview-row.ok{border-color:#bbf7d0;background:#f0fdf4}.device-overview-row.warn{border-color:#fde68a;background:#fffbeb}.device-overview-row.off{opacity:.72}@media(max-width:720px){.device-overview-row{grid-template-columns:1fr}.device-overview-row span{white-space:normal}}

/* v91 preview progressive image load */
.preview-img-wrap{position:relative;width:100%;height:100%;display:flex;align-items:center;justify-content:center}
.preview-img-wrap img{max-width:100%;max-height:100%;object-fit:contain;border-radius:12px}
.preview-img-wrap .preview-thumb{filter:none;transition:opacity .2s}
.preview-img-wrap .preview-full{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.preview-img-wrap .preview-full.hidden{display:none}
.preview-img-wrap .preview-thumb.hidden{opacity:0}

/* v91 video preview poster-first */
.preview-video-wrap{position:relative;width:100%;height:100%;display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:12px;overflow:hidden}
.preview-video-wrap:hover .preview-play-btn{transform:translate(-50%,-50%) scale(1.1);background:rgba(0,0,0,.75)}
.preview-video-poster{max-width:100%;max-height:100%;object-fit:contain;border-radius:12px}
.preview-play-btn{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:64px;height:64px;border-radius:50%;background:rgba(0,0,0,.55);color:#fff;font-size:28px;display:flex;align-items:center;justify-content:center;transition:all .2s;pointer-events:none;padding-left:4px}

/* v91c native video preview */
.preview-video-native{max-width:100%;max-height:100%;object-fit:contain;border-radius:12px}

/* v94 GEO carousel: show one material card as a visible 6-image set, not a single cover */
.product-admin-v54 .material-card.media-geo .material-cover.geo-carousel-cover,
.product-admin-v54 .material-card.media-geo .material-cover{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  grid-template-rows:repeat(2,minmax(0,1fr))!important;
  gap:4px!important;
  height:164px!important;
  min-height:164px!important;
  padding:6px!important;
  border-radius:15px!important;
  background:linear-gradient(135deg,#eef6ff,#f8fafc)!important;
  overflow:hidden!important;
  position:relative!important;
}
.product-admin-v54 .material-card.media-geo .material-cover a.geo-slide{
  display:block!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  border-radius:9px!important;
  overflow:hidden!important;
  position:relative!important;
  background:#fff!important;
  border:1px solid #dbeafe!important;
}
.product-admin-v54 .material-card.media-geo .material-cover a.geo-slide img{
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  border-radius:9px!important;
  object-fit:cover!important;
  border:0!important;
  background:#fff!important;
}
.product-admin-v54 .material-card.media-geo .material-cover a.geo-slide em{
  position:absolute!important;
  right:4px!important;
  bottom:4px!important;
  width:18px!important;
  height:18px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:999px!important;
  background:rgba(15,23,42,.72)!important;
  color:#fff!important;
  font-size:10px!important;
  font-style:normal!important;
  font-weight:1000!important;
}
.product-admin-v54 .material-card.media-geo .geo-set-badge{
  position:absolute!important;
  left:8px!important;
  bottom:8px!important;
  z-index:3!important;
  padding:5px 8px!important;
  border-radius:999px!important;
  background:rgba(37,99,235,.92)!important;
  color:#fff!important;
  font-size:11px!important;
  font-weight:1000!important;
  box-shadow:0 6px 16px rgba(37,99,235,.28)!important;
}
.product-admin-v54 .material-card.media-geo .material-cover.geo-single-cover{
  display:block!important;
  padding:0!important;
  height:164px!important;
  min-height:164px!important;
  background:#f8fafc!important;
}
.product-admin-v54 .material-card.media-geo .material-cover.geo-single-cover a.geo-slide{
  width:100%!important;
  height:100%!important;
  border:0!important;
  border-radius:15px!important;
}
.product-admin-v54 .material-card.media-geo .material-cover.geo-single-cover a.geo-slide img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  border-radius:15px!important;
  background:#fff!important;
}
.product-admin-v54 .material-card.media-geo .material-cover.geo-single-cover .geo-set-badge{
  left:10px!important;
  bottom:10px!important;
}
.geo-preview-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  width:100%!important;
  padding:10px!important;
}
.geo-preview-grid a{
  position:relative!important;
  display:block!important;
  aspect-ratio:9/16!important;
  border-radius:16px!important;
  overflow:hidden!important;
  background:#f8fafc!important;
  border:1px solid #dbeafe!important;
}
.geo-preview-grid img{width:100%!important;height:100%!important;object-fit:contain!important;background:#fff!important;border-radius:0!important}
.geo-preview-grid span{position:absolute!important;right:8px!important;bottom:8px!important;background:rgba(15,23,42,.78)!important;color:#fff!important;border-radius:999px!important;padding:4px 8px!important;font-size:12px!important;font-weight:1000!important}

/* v95 GEO 3x3 support: 9-image set cards */
.product-admin-v54 .material-card.media-geo .material-cover.geo-rows-3{
  grid-template-rows:repeat(3,minmax(0,1fr))!important;
  height:238px!important;
  min-height:238px!important;
}
.product-admin-v54 .material-card.media-geo .material-cover.geo-rows-2{
  grid-template-rows:repeat(2,minmax(0,1fr))!important;
  height:164px!important;
  min-height:164px!important;
}

.preview-save-local{
  background:linear-gradient(135deg,#16a34a,#22c55e)!important;
  color:#fff!important;
}

.copy-library-panel{display:grid;gap:14px}.copy-library-panel.hidden{display:none!important}.copy-editor-v105{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:10px;padding:14px;border:1px solid #e7ecf4;border-radius:20px;background:#f8fafc}.copy-editor-v105 textarea{grid-column:1/3;min-height:150px;line-height:1.5}.copy-editor-actions-v105{grid-column:1/3;display:flex;gap:10px}.copy-library-tools-v105{display:flex;align-items:center;gap:10px}.copy-library-tools-v105 input{flex:1}.copy-list-v105{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px}.copy-item-v105{border:1px solid #e2e8f0;border-radius:20px;background:#fff;padding:14px;box-shadow:0 10px 24px rgba(15,23,42,.055);display:grid;gap:10px}.copy-item-head-v105{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.copy-item-head-v105 b{display:block;font-size:16px;line-height:1.25;color:#0f172a}.copy-item-head-v105 span{display:block;margin-top:4px;font-size:11px;font-weight:850;color:#98a2b3}.copy-tags-v105{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}.copy-tags-v105 em{font-style:normal;border-radius:999px;background:#eff6ff;color:#1d4ed8;padding:4px 7px;font-size:11px;font-weight:1000}.copy-item-v105 pre{margin:0;white-space:pre-wrap;word-break:break-word;line-height:1.55;color:#334155;background:#f8fafc;border:1px solid #eef2f7;border-radius:14px;padding:11px;max-height:220px;overflow:auto;font-family:inherit;font-size:13px}.copy-actions-v105{display:grid;grid-template-columns:1fr auto auto;gap:8px}.copy-actions-v105 button{min-height:38px;padding:8px 12px}@media(max-width:820px){.copy-editor-v105{grid-template-columns:1fr}.copy-editor-v105 textarea,.copy-editor-actions-v105{grid-column:auto}.copy-library-tools-v105{align-items:stretch;flex-direction:column}.copy-list-v105{grid-template-columns:1fr}.copy-actions-v105{grid-template-columns:1fr 1fr}.copy-actions-v105 .success-btn{grid-column:1/3}.mobile-media-switch{grid-template-columns:1fr 1fr}.copy-card-v105 h2:before{content:'3';display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:9px;margin-right:8px;background:#eff6ff;color:#1d4ed8;font-size:12px;font-weight:1000}}
.desktop-admin-v3 .desktop-media-tabs .media-btn{min-width:88px!important;padding:0 12px!important}.desktop-admin-v3 .desktop-media-tabs .ai-image-nav-tab{color:#6d28d9!important}.desktop-admin-v3 .desktop-media-tabs .ai-image-nav-tab.active{color:#6d28d9!important;box-shadow:0 10px 24px rgba(109,40,217,.16)!important}

/* v138 AI image queue: make queued/running jobs visible for multi-staff use */
.ai-image-history>button.state-queued,
.ai-image-history>button.state-running{
  border-color:#93c5fd!important;
  background:linear-gradient(135deg,#eff6ff,#ecfeff)!important;
}
.ai-image-history>button.state-failed{
  border-color:#fecaca!important;
  background:#fff1f2!important;
}
.ai-image-history>button>em{
  display:grid!important;
  place-items:center!important;
  width:48px!important;
  height:60px!important;
  border-radius:9px!important;
  background:linear-gradient(135deg,#1d4ed8,#7c3aed)!important;
  color:#fff!important;
  font-style:normal!important;
  font-weight:1000!important;
}

/* v106 copy library tab: prevent older grid rules from overriding hidden state */
.copy-mode-v106 #adminTasks,
.copy-mode-v106 .desktop-selection-bar,
.copy-mode-v106 .desktop-filters,
.copy-mode-v106 .library-tools-v46,
.copy-mode-v106 .library-tools-v45{
  display:none!important;
}
.copy-mode-v106 #copyLibraryPanel{
  display:grid!important;
}
.copy-mode-v106 .desktop-library-head{
  display:block!important;
}
.copy-mode-v106 .desktop-library-head>div:first-child{
  max-width:760px!important;
}
.copy-mode-v106 .desktop-kpis,
.copy-mode-v106 .ops-brief-v46,
.copy-mode-v106 #onlineHint{
  display:none!important;
}
.copy-mode-v106 .desktop-shell{
  padding-top:12px!important;
}

/* v107 one-click AI copy generation */
.copy-ai-btn-v107{
  background:linear-gradient(135deg,#2563eb,#14b8a6)!important;
  color:#fff!important;
  border:0!important;
  box-shadow:0 12px 28px rgba(20,184,166,.22)!important;
}
.copy-ai-btn-v107:disabled{
  opacity:.68!important;
  cursor:wait!important;
}
.copy-rewrite-btn-v108{
  background:linear-gradient(135deg,#7c3aed,#f97316)!important;
  color:#fff!important;
  border:0!important;
  box-shadow:0 12px 28px rgba(249,115,22,.18)!important;
}
.copy-rewrite-btn-v108:disabled{
  opacity:.68!important;
  cursor:wait!important;
}

/* v109 copy library reading layout */
.copy-editor-v109{
  grid-template-columns:minmax(0,1fr) 300px!important;
  gap:14px!important;
  padding:18px!important;
  border-color:#dbe7f6!important;
  border-radius:18px!important;
  background:#f8fbff!important;
}
.copy-field-v109,
.copy-body-field-v109{
  display:grid!important;
  gap:8px!important;
  margin:0!important;
}
.copy-field-v109 span,
.copy-body-field-v109 span{
  font-size:12px!important;
  font-weight:1000!important;
  color:#64748b!important;
  text-transform:uppercase!important;
}
.copy-field-v109 input{
  width:100%!important;
  min-height:58px!important;
  border-radius:14px!important;
  background:#fff!important;
  border:1px solid #dbe4f0!important;
  color:#0f172a!important;
  font-size:16px!important;
  font-weight:800!important;
  padding:0 16px!important;
}
.copy-tags-field-v109 input{
  font-size:15px!important;
  font-weight:750!important;
}
.copy-body-field-v109{
  grid-column:1/3!important;
}
.copy-body-field-v109 textarea{
  width:100%!important;
  min-height:390px!important;
  max-height:56vh!important;
  resize:vertical!important;
  border-radius:16px!important;
  background:#fff!important;
  border:1px solid #cbd8ea!important;
  color:#111827!important;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif!important;
  font-size:18px!important;
  font-weight:650!important;
  line-height:1.82!important;
  padding:20px 22px!important;
  box-shadow:inset 0 0 0 1px rgba(59,130,246,.05)!important;
}
.copy-body-field-v109 textarea:focus,
.copy-field-v109 input:focus{
  outline:0!important;
  border-color:#60a5fa!important;
  box-shadow:0 0 0 4px rgba(59,130,246,.12)!important;
}
.copy-editor-v109 .copy-editor-actions-v105{
  grid-column:1/3!important;
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  padding-top:2px!important;
}
.copy-editor-v109 .copy-editor-actions-v105 button{
  min-height:50px!important;
  padding:0 20px!important;
  border-radius:14px!important;
  font-size:15px!important;
  font-weight:1000!important;
}
.copy-item-v105 pre{
  font-size:15px!important;
  line-height:1.72!important;
  color:#1f2937!important;
  background:#fff!important;
  border-color:#dbe4f0!important;
  max-height:330px!important;
  padding:14px 15px!important;
}
@media(max-width:820px){
  .copy-editor-v109{
    grid-template-columns:1fr!important;
    padding:14px!important;
    gap:12px!important;
  }
  .copy-body-field-v109,
  .copy-editor-v109 .copy-editor-actions-v105{
    grid-column:auto!important;
  }
  .copy-body-field-v109 textarea{
    min-height:360px!important;
    max-height:64vh!important;
    font-size:17px!important;
    line-height:1.78!important;
    padding:16px!important;
  }
  .copy-editor-v109 .copy-editor-actions-v105{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
  }
  .copy-editor-v109 .copy-ai-btn-v107,
  .copy-editor-v109 .copy-rewrite-btn-v108{
    grid-column:auto!important;
  }
}

/* v118 fast paged material loading */
.task-pager-fast-v118{
  margin:18px 0 4px!important;
  padding:12px!important;
  border:1px solid #e6ebf2!important;
  border-radius:18px!important;
  background:rgba(255,255,255,.86)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:12px!important;
  color:#667085!important;
  font-size:13px!important;
  font-weight:900!important;
}
.task-pager-fast-v118 .ghost-btn{
  min-height:38px!important;
  padding:8px 16px!important;
  border-radius:999px!important;
}
.task-pager-fast-v118 .ghost-btn:disabled{
  opacity:.58!important;
  cursor:wait!important;
}
@media(max-width:820px){
  .task-pager-fast-v118{
    flex-direction:column!important;
    align-items:stretch!important;
  }
  .task-pager-fast-v118 .ghost-btn{
    width:100%!important;
  }
}

/* v110 copy type split */
.copy-type-field-v110 select,
.copy-library-tools-v105 select{
  min-height:58px;
  border-radius:14px;
  background:#fff;
  border:1px solid #dbe4f0;
  color:#0f172a;
  font-size:15px;
  font-weight:900;
  padding:0 14px;
}
.copy-library-tools-v105 select{
  min-width:128px;
}
.copy-type-badge-v110{
  display:inline-flex;
  align-items:center;
  margin:0 0 7px;
  padding:5px 9px;
  border-radius:999px;
  background:#ecfdf5;
  color:#047857;
  font-size:11px;
  font-weight:1000;
}
.copy-type-long .copy-type-badge-v110{
  background:#eff6ff;
  color:#1d4ed8;
}
.copy-type-short pre{
  max-height:190px!important;
}
@media(max-width:820px){
  .copy-library-tools-v105 select{
    width:100%;
  }
}

/* v112 copy library split workbench */
.copy-editor-v112{
  grid-template-columns:minmax(0,1fr) 280px 170px!important;
  gap:10px!important;
  padding:14px!important;
  margin:0 0 14px!important;
  border-radius:22px!important;
  background:linear-gradient(135deg,#f8fbff 0,#f3f7fc 100%)!important;
}
.copy-editor-v112 .copy-title-field-v109{
  grid-column:1/2!important;
}
.copy-editor-v112 .copy-tags-field-v109{
  grid-column:2/3!important;
}
.copy-editor-v112 .copy-type-field-v110{
  grid-column:3/4!important;
}
.copy-editor-v112 .copy-body-field-v109{
  grid-column:1/4!important;
}
.copy-editor-v112 .copy-field-v109 input,
.copy-editor-v112 .copy-type-field-v110 select{
  min-height:48px!important;
  border-radius:14px!important;
  font-size:14px!important;
}
.copy-editor-v112 .copy-body-field-v109 textarea{
  min-height:140px!important;
  max-height:300px!important;
  border-radius:16px!important;
  font-size:16px!important;
  line-height:1.68!important;
  padding:15px 17px!important;
}
.copy-editor-v112 .copy-editor-actions-v105{
  grid-column:1/4!important;
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
  padding-top:0!important;
}
.copy-editor-v112 .copy-editor-actions-v105 button{
  min-height:44px!important;
  padding:0 14px!important;
  border-radius:14px!important;
  white-space:nowrap!important;
}
.copy-library-tools-v112{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:10px!important;
  align-items:center!important;
  margin-top:0!important;
}
.copy-library-tools-v112 input{
  height:48px!important;
  border-radius:16px!important;
  background:#fff!important;
  border-color:#dbe4f0!important;
  font-weight:850!important;
}
.copy-library-tools-v112 .selected-count{
  height:48px!important;
  min-width:92px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:16px!important;
}
.copy-split-board-v112{
  display:grid!important;
  grid-template-columns:minmax(0,1.12fr) minmax(330px,.88fr)!important;
  gap:14px!important;
  align-items:start!important;
}
.copy-column-v112{
  min-width:0!important;
  min-height:360px!important;
  border:1px solid #e2e8f0!important;
  border-radius:24px!important;
  padding:14px!important;
  background:#fff!important;
  box-shadow:0 14px 34px rgba(15,23,42,.055)!important;
}
.copy-long-column-v112{
  background:linear-gradient(180deg,#f8fbff 0,#fff 150px)!important;
  border-color:#dbeafe!important;
}
.copy-short-column-v112{
  background:linear-gradient(180deg,#f7fefc 0,#fff 150px)!important;
  border-color:#bbf7d0!important;
}
.copy-column-head-v112{
  display:flex!important;
  justify-content:space-between!important;
  align-items:flex-start!important;
  gap:12px!important;
  padding:4px 2px 13px!important;
  border-bottom:1px solid rgba(226,232,240,.9)!important;
  margin-bottom:12px!important;
}
.copy-column-head-v112 span{
  display:block!important;
  margin-bottom:4px!important;
  color:#667085!important;
  font-size:11px!important;
  font-weight:1000!important;
  letter-spacing:.14em!important;
}
.copy-column-head-v112 h3{
  margin:0!important;
  color:#0f172a!important;
  font-size:24px!important;
  line-height:1.1!important;
  letter-spacing:0!important;
}
.copy-column-head-v112 b{
  flex:0 0 auto!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:58px!important;
  height:34px!important;
  padding:0 10px!important;
  border-radius:999px!important;
  background:#eff6ff!important;
  color:#1d4ed8!important;
  font-size:12px!important;
  font-weight:1000!important;
}
.copy-short-column-v112 .copy-column-head-v112 b{
  background:#dcfce7!important;
  color:#15803d!important;
}
.copy-column-list-v112{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:12px!important;
  align-content:start!important;
}
.copy-column-list-v112.empty-tip{
  display:block!important;
}
.copy-column-list-v112 .copy-item-v105{
  border-radius:18px!important;
  padding:13px!important;
  box-shadow:0 10px 24px rgba(15,23,42,.05)!important;
}
.copy-column-list-v112 .copy-item-head-v105{
  align-items:flex-start!important;
}
.copy-column-list-v112 .copy-item-head-v105 b{
  font-size:15px!important;
}
.copy-column-list-v112 .copy-tags-v105{
  max-width:46%!important;
}
.copy-column-list-v112 .copy-item-v105 pre{
  max-height:240px!important;
  font-size:14px!important;
  line-height:1.68!important;
  background:#fbfdff!important;
}
.copy-short-column-v112 .copy-item-v105 pre{
  max-height:180px!important;
  font-size:15px!important;
  line-height:1.68!important;
}
.copy-empty-v112{
  min-height:190px!important;
  border:1px dashed #dbe4f0!important;
  border-radius:18px!important;
  background:rgba(248,250,252,.72)!important;
}
.copy-empty-v112 b{
  font-size:18px!important;
}
@media(max-width:1200px){
  .copy-split-board-v112{
    grid-template-columns:1fr!important;
  }
  .copy-column-v112{
    min-height:260px!important;
  }
}

/* v116 stable more-actions menu */
.product-admin-v52 .more-actions-v52[open]::before{
  display:none!important;
  content:none!important;
}
.product-admin-v52 .more-actions-v52{
  position:relative!important;
  z-index:8!important;
}
.product-admin-v52 .more-actions-v52 summary{
  user-select:none!important;
}
.product-admin-v52 .more-actions-v52[open]{
  z-index:50!important;
}
.product-admin-v52 .more-actions-v52[open]>button{
  position:relative!important;
  z-index:51!important;
}
@media(max-width:820px){
  .copy-editor-v112{
    grid-template-columns:1fr!important;
  }
  .copy-editor-v112 .copy-title-field-v109,
  .copy-editor-v112 .copy-tags-field-v109,
  .copy-editor-v112 .copy-type-field-v110,
  .copy-editor-v112 .copy-body-field-v109,
  .copy-editor-v112 .copy-editor-actions-v105{
    grid-column:auto!important;
  }
  .copy-editor-v112 .copy-body-field-v109 textarea{
    min-height:260px!important;
    max-height:58vh!important;
  }
  .copy-editor-v112 .copy-editor-actions-v105{
    grid-template-columns:1fr 1fr!important;
  }
  .copy-library-tools-v112{
    grid-template-columns:1fr!important;
  }
  .copy-library-tools-v112 .selected-count{
    width:100%!important;
  }
  .copy-column-head-v112 h3{
    font-size:22px!important;
  }
  .copy-column-list-v112 .copy-tags-v105{
    max-width:none!important;
  }
  .copy-column-list-v112 .copy-actions-v105{
    grid-template-columns:1fr 1fr!important;
  }
  .copy-column-list-v112 .copy-actions-v105 .success-btn{
    grid-column:1/3!important;
  }
}

/* v120 desktop left-side vertical material navigation */
@media(min-width:821px){
  .product-admin-v55 .desktop-topbar{
    grid-template-columns:minmax(260px,1fr) auto!important;
    gap:18px!important;
  }
  .product-admin-v55 .desktop-actions{
    justify-self:end!important;
  }
  .product-admin-v55 .desktop-shell{
    display:grid!important;
    grid-template-columns:158px minmax(0,1fr)!important;
    gap:18px!important;
    align-items:start!important;
    max-width:1880px!important;
  }
  .product-admin-v55 .desktop-main-stage{
    min-width:0!important;
  }
  .product-admin-v55 .desktop-left-nav{
    position:sticky!important;
    top:104px!important;
    z-index:18!important;
    align-self:start!important;
    min-width:0!important;
  }
  .product-admin-v55 .desktop-left-nav-card{
    padding:12px!important;
    border:1px solid rgba(219,226,238,.96)!important;
    border-radius:24px!important;
    background:rgba(255,255,255,.92)!important;
    box-shadow:0 18px 42px rgba(15,23,42,.075)!important;
    backdrop-filter:blur(18px)!important;
    -webkit-backdrop-filter:blur(18px)!important;
  }
  .product-admin-v55 .desktop-left-nav-card .section-kicker{
    padding:2px 6px 9px!important;
    color:#667085!important;
  }
  .product-admin-v55 .desktop-left-nav .desktop-media-tabs{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  .product-admin-v55 .desktop-left-nav .media-btn{
    width:100%!important;
    min-width:0!important;
    height:52px!important;
    justify-content:flex-start!important;
    text-align:left!important;
    padding:0 12px!important;
    border:1px solid #e3e9f2!important;
    border-radius:17px!important;
    background:#f8fafc!important;
    color:#475467!important;
    font-size:13px!important;
    line-height:1.15!important;
    white-space:normal!important;
    box-shadow:none!important;
  }
  .product-admin-v55 .desktop-left-nav .media-btn:hover{
    background:#eff6ff!important;
    color:#1d4ed8!important;
    border-color:#bfdbfe!important;
    transform:translateY(-1px)!important;
  }
  .product-admin-v55 .desktop-left-nav .media-btn.active{
    background:linear-gradient(135deg,#2563eb,#1d4ed8)!important;
    color:#fff!important;
    border-color:transparent!important;
    box-shadow:0 12px 26px rgba(37,99,235,.22)!important;
  }
  .product-admin-v55 .desktop-left-nav .ai-image-nav-tab{
    color:#6d28d9!important;
  }
  .product-admin-v55 .desktop-left-nav .ai-image-nav-tab.active{
    background:linear-gradient(135deg,#7c3aed,#2563eb)!important;
    color:#fff!important;
    box-shadow:0 12px 26px rgba(109,40,217,.20)!important;
  }
  .product-admin-v55 .desktop-left-nav .media-btn:before{
    content:"";
    width:7px;
    height:7px;
    border-radius:999px;
    margin-right:8px;
    flex:0 0 auto;
    background:#cbd5e1;
  }
  .product-admin-v55 .desktop-left-nav .media-btn.active:before{
    background:#fff;
    box-shadow:0 0 0 4px rgba(255,255,255,.18);
  }
}
@media(min-width:821px) and (max-width:1280px){
  .product-admin-v55 .desktop-shell{
    grid-template-columns:136px minmax(0,1fr)!important;
    gap:14px!important;
    padding-left:18px!important;
    padding-right:18px!important;
  }
  .product-admin-v55 .desktop-left-nav .media-btn{
    height:48px!important;
    padding:0 10px!important;
    font-size:12px!important;
  }
  .product-admin-v55 .desktop-left-nav-card{
    padding:10px!important;
    border-radius:22px!important;
  }
}

/* v122 commercial account console */
.account-status-btn{
  border:1px solid #bfdbfe;
  background:#eff6ff;
  color:#1d4ed8;
  border-radius:999px;
  padding:11px 16px;
  font-weight:900;
  cursor:pointer;
}
.account-logout-btn{
  color:#475467!important;
}
.account-mode-v106 .desktop-selection-bar,
.account-mode-v106 .library-tools-v46,
.account-mode-v106 .desktop-filters,
.account-mode-v106 #adminTasks,
.account-mode-v106 #taskPagerFast{
  display:none!important;
}
.account-mode-v106 #accountPanel{
  display:grid!important;
}
.account-panel-v106{
  display:grid;
  gap:18px;
}
.account-editor-v106,
.account-list-shell-v106{
  border:1px solid #dbe4f0;
  border-radius:22px;
  background:#f8fbff;
  padding:18px;
}
.account-editor-head-v106,
.account-list-head-v106{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:16px;
}
.account-editor-head-v106 h3,
.account-list-head-v106 h3{
  margin:0;
  font-size:24px;
  letter-spacing:0;
}
.account-editor-head-v106 span{
  color:#667085;
  font-weight:800;
}
.account-form-grid-v106{
  display:grid;
  grid-template-columns:1.1fr 1.1fr .8fr 1.2fr;
  gap:12px;
}
.account-form-grid-v106 label{
  display:grid;
  gap:7px;
  color:#475467;
  font-weight:900;
}
.account-form-grid-v106 input,
.account-form-grid-v106 select{
  width:100%;
  height:54px;
  border:1px solid #dbe4f0;
  border-radius:15px;
  background:#fff;
  padding:0 14px;
  font-weight:900;
  font-size:15px;
  color:#111827;
  outline:none;
}
.account-form-grid-v106 input:focus,
.account-form-grid-v106 select:focus{
  border-color:#93c5fd;
  box-shadow:0 0 0 4px rgba(37,99,235,.10);
}
.account-enabled-v106{
  grid-column:1/2;
  display:flex!important;
  align-items:center;
  gap:8px!important;
  min-height:48px;
}
.account-enabled-v106 input{
  width:18px!important;
  height:18px!important;
  padding:0!important;
}
.account-actions-v106{
  display:grid;
  grid-template-columns:260px 1fr;
  align-items:center;
  gap:14px;
  margin-top:14px;
}
.account-actions-v106 span{
  color:#667085;
  font-weight:800;
}
.account-list-v106{
  display:grid;
  gap:10px;
}
.account-row-v106{
  display:grid;
  grid-template-columns:minmax(0,1fr) 76px 82px 82px;
  gap:10px;
  align-items:center;
  border:1px solid #e3e9f2;
  border-radius:18px;
  background:#fff;
  padding:14px;
}
.account-row-v106.disabled{
  opacity:.62;
}
.account-row-v106 b{
  display:block;
  font-size:17px;
  color:#101828;
}
.account-row-v106 span,
.account-row-v106 small{
  display:block;
  color:#667085;
  font-weight:800;
  margin-top:4px;
}
.account-row-v106 em{
  justify-self:start;
  border-radius:999px;
  background:#dcfce7;
  color:#15803d;
  padding:6px 10px;
  font-style:normal;
  font-weight:900;
}
.account-row-v106.disabled em{
  background:#f1f5f9;
  color:#64748b;
}
.product-admin-v56 .desktop-left-nav .account-nav-tab{
  color:#0f766e!important;
}
.product-admin-v56 .desktop-left-nav .account-nav-tab.active{
  background:linear-gradient(135deg,#0f766e,#2563eb)!important;
  color:#fff!important;
  box-shadow:0 12px 26px rgba(15,118,110,.20)!important;
}

/* v143 commercial dark side navigation */
@media(min-width:821px){
  .product-admin-v56{
    background:#f3f6fa!important;
  }
  .product-admin-v56 .desktop-shell{
    max-width:none!important;
    margin:0!important;
    padding:0 28px 48px 0!important;
    grid-template-columns:226px minmax(0,1fr)!important;
    gap:28px!important;
    align-items:start!important;
  }
  .product-admin-v56 .desktop-main-stage{
    padding-top:20px!important;
    min-width:0!important;
  }
  .product-admin-v56 .desktop-left-nav{
    position:sticky!important;
    top:82px!important;
    height:calc(100vh - 82px)!important;
    align-self:start!important;
    overflow:hidden!important;
    z-index:19!important;
  }
  .product-admin-v56 .desktop-left-nav-card{
    height:100%!important;
    min-height:calc(100vh - 82px)!important;
    padding:18px 0 16px!important;
    border:0!important;
    border-radius:0!important;
    background:#34415a!important;
    box-shadow:inset -1px 0 0 rgba(255,255,255,.08),10px 0 30px rgba(15,23,42,.12)!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
  }
  .product-admin-v56 .desktop-left-nav-card .side-nav-title{
    margin:0 18px 14px!important;
    padding:0 0 13px!important;
    border-bottom:1px solid rgba(255,255,255,.10)!important;
    color:#cbd5e1!important;
    font-size:12px!important;
    letter-spacing:.18em!important;
  }
  .product-admin-v56 .desktop-left-nav .desktop-media-tabs{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:3px!important;
    max-height:calc(100vh - 150px)!important;
    overflow-y:auto!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    scrollbar-width:thin!important;
    scrollbar-color:rgba(203,213,225,.38) transparent!important;
  }
  .product-admin-v56 .desktop-left-nav .desktop-media-tabs::-webkit-scrollbar{
    width:4px!important;
  }
  .product-admin-v56 .desktop-left-nav .desktop-media-tabs::-webkit-scrollbar-thumb{
    background:rgba(203,213,225,.38)!important;
    border-radius:999px!important;
  }
  .product-admin-v56 .desktop-left-nav .media-btn{
    position:relative!important;
    display:flex!important;
    align-items:center!important;
    width:100%!important;
    min-width:0!important;
    height:56px!important;
    padding:0 40px 0 18px!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    color:#d9e2ef!important;
    font-size:15px!important;
    font-weight:900!important;
    line-height:1.2!important;
    text-align:left!important;
    justify-content:flex-start!important;
    white-space:nowrap!important;
    box-shadow:none!important;
  }
  .product-admin-v56 .desktop-left-nav .media-btn:before{
    content:""!important;
    display:inline-block!important;
    width:22px!important;
    height:22px!important;
    margin:0 13px 0 0!important;
    flex:0 0 22px!important;
    border-radius:7px!important;
    border:1.6px solid rgba(217,226,239,.72)!important;
    background:rgba(255,255,255,.04)!important;
    box-shadow:inset 0 0 0 5px transparent!important;
  }
  .product-admin-v56 .desktop-left-nav .media-btn:after{
    content:""!important;
    position:absolute!important;
    right:17px!important;
    top:50%!important;
    width:7px!important;
    height:7px!important;
    margin-top:-4px!important;
    border-top:2px solid currentColor!important;
    border-right:2px solid currentColor!important;
    transform:rotate(45deg)!important;
    opacity:.42!important;
  }
  .product-admin-v56 .desktop-left-nav .media-btn:hover{
    background:#3e4d68!important;
    color:#fff!important;
    border-color:transparent!important;
    transform:none!important;
  }
  .product-admin-v56 .desktop-left-nav .media-btn:hover:before{
    border-color:#fff!important;
    background:rgba(255,255,255,.10)!important;
  }
  .product-admin-v56 .desktop-left-nav .media-btn.active{
    background:#3478f6!important;
    color:#fff!important;
    border-color:transparent!important;
    box-shadow:inset 4px 0 0 rgba(255,255,255,.70)!important;
  }
  .product-admin-v56 .desktop-left-nav .media-btn.active:before{
    border-color:#fff!important;
    background:rgba(255,255,255,.18)!important;
    box-shadow:inset 0 0 0 5px rgba(255,255,255,.12)!important;
  }
  .product-admin-v56 .desktop-left-nav .media-btn.active:after{
    opacity:.86!important;
  }
  .product-admin-v56 .desktop-left-nav .media-btn:nth-child(5){
    margin-top:8px!important;
  }
  .product-admin-v56 .desktop-left-nav .media-btn:nth-child(5):before{
    border-radius:6px!important;
  }
  .product-admin-v56 .desktop-left-nav .ai-image-nav-tab,
  .product-admin-v56 .desktop-left-nav .account-nav-tab{
    color:#d9e2ef!important;
  }
  .product-admin-v56 .desktop-left-nav .ai-image-nav-tab.active,
  .product-admin-v56 .desktop-left-nav .account-nav-tab.active{
    background:#3478f6!important;
    color:#fff!important;
    box-shadow:inset 4px 0 0 rgba(255,255,255,.70)!important;
  }
}
@media(min-width:821px) and (max-width:1280px){
  .product-admin-v56 .desktop-shell{
    grid-template-columns:208px minmax(0,1fr)!important;
    gap:18px!important;
    padding-right:18px!important;
  }
  .product-admin-v56 .desktop-left-nav .media-btn{
    height:52px!important;
    padding-left:15px!important;
    padding-right:34px!important;
    font-size:13px!important;
  }
  .product-admin-v56 .desktop-left-nav .media-btn:before{
    margin-right:10px!important;
  }
}
@media(max-width:1200px){
  .account-form-grid-v106{
    grid-template-columns:1fr 1fr;
  }
  .account-row-v106{
    grid-template-columns:1fr 72px;
  }
  .account-row-v106 button{
    width:100%;
  }
}

/* v144 left navigation icons and account panel hardening */
@media(min-width:821px){
  .product-admin-v56 .desktop-left-nav .media-btn{
    --nav-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='16' height='16' rx='4'/%3E%3Cpath d='M8 12h8M8 16h5M8 8h8'/%3E%3C/svg%3E");
  }
  .product-admin-v56 .desktop-left-nav .media-btn[data-media="image"]{
    --nav-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='16' height='16' rx='4'/%3E%3Ccircle cx='9' cy='9' r='1.4'/%3E%3Cpath d='M7 17l4.2-4.2 2.6 2.6 1.7-1.7L20 18'/%3E%3C/svg%3E");
  }
  .product-admin-v56 .desktop-left-nav .media-btn[data-media="video"]{
    --nav-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='14' rx='4'/%3E%3Cpath d='M10 9l5 3-5 3z'/%3E%3C/svg%3E");
  }
  .product-admin-v56 .desktop-left-nav .media-btn[data-media="illustration"]{
    --nav-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5h16'/%3E%3Cpath d='M7 16l9.8-9.8a2.1 2.1 0 0 1 3 3L10 19l-4 1 1-4z'/%3E%3C/svg%3E");
  }
  .product-admin-v56 .desktop-left-nav .media-btn[data-media="geo"]{
    --nav-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='14' rx='4'/%3E%3Ccircle cx='9' cy='12' r='2.2'/%3E%3Cpath d='M14 10h3M14 14h3'/%3E%3C/svg%3E");
  }
  .product-admin-v56 .desktop-left-nav .media-btn[data-copy-tab]{
    --nav-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3.5h7l3 3V20a1.5 1.5 0 0 1-1.5 1.5h-8A1.5 1.5 0 0 1 6 20V5a1.5 1.5 0 0 1 1.5-1.5z'/%3E%3Cpath d='M13.5 3.5V7h3.5M9 11h6M9 15h6M9 18h4'/%3E%3C/svg%3E");
  }
  .product-admin-v56 .desktop-left-nav .media-btn[data-ai-image-tab]{
    --nav-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l1.6 4.4L18 9l-4.4 1.6L12 15l-1.6-4.4L6 9l4.4-1.6L12 3zM5 15l.8 2.2L8 18l-2.2.8L5 21l-.8-2.2L2 18l2.2-.8L5 15zM19 14l.9 2.1L22 17l-2.1.9L19 20l-.9-2.1L16 17l2.1-.9L19 14z'/%3E%3C/svg%3E");
  }
  .product-admin-v56 .desktop-left-nav .media-btn[data-account-tab]{
    --nav-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.2'/%3E%3Cpath d='M3.8 19c.8-3.2 2.6-4.8 5.2-4.8s4.4 1.6 5.2 4.8'/%3E%3Cpath d='M16 11a3 3 0 0 0 0-6M17.5 14.5c1.8.7 2.9 2.2 3.4 4.5'/%3E%3C/svg%3E");
  }
  .product-admin-v56 .desktop-left-nav .media-btn:before{
    border:0!important;
    border-radius:0!important;
    background:currentColor!important;
    opacity:.78!important;
    box-shadow:none!important;
    -webkit-mask:var(--nav-icon) center / 22px 22px no-repeat!important;
    mask:var(--nav-icon) center / 22px 22px no-repeat!important;
  }
  .product-admin-v56 .desktop-left-nav .media-btn.active:before,
  .product-admin-v56 .desktop-left-nav .media-btn:hover:before{
    border:0!important;
    background:currentColor!important;
    opacity:1!important;
    box-shadow:none!important;
  }
  .product-admin-v56 .desktop-left-nav .account-nav-tab.locked{
    opacity:.72!important;
  }
  .account-mode-v106 .desktop-kpis,
  .account-mode-v106 .ops-brief-v46,
  .account-mode-v106 #onlineHint{
    display:none!important;
  }
  .account-mode-v106 .desktop-main-stage{
    padding-top:12px!important;
  }
}
@media(max-width:820px){
  .mobile-head-actions{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    justify-content:flex-end;
  }
  .mobile-head-actions button{
    min-height:38px;
  }
  .account-status-btn{
    padding:9px 12px;
  }
}
