*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Noto Sans SC',Arial,sans-serif;background:linear-gradient(135deg,#f7f9fd 0%,#eef5ff 52%,#f8fafc 100%);color:#111827;padding-bottom:24px;min-height:100vh}.wrap{max-width:1180px;margin:0 auto;padding:22px;width:100%}.app-header{width:100%;padding:22px 18px 0;display:flex;justify-content:center}.header-inner{width:100%;max-width:1180px;margin:0 auto;background:rgba(255,255,255,.82);border:1px solid rgba(226,232,240,.92);border-radius:28px;box-shadow:0 18px 45px rgba(15,23,42,.08);padding:18px 20px;display:flex;justify-content:space-between;align-items:center;gap:16px;backdrop-filter:blur(14px)}.brand{display:flex;align-items:center;gap:14px;min-width:0}.brand-icon{flex:0 0 auto;width:56px;height:56px;border-radius:18px;background:linear-gradient(135deg,#111827,#334155);color:white;display:grid;place-items:center;font-size:25px;font-weight:950;box-shadow:0 14px 30px rgba(15,23,42,.2)}.app-header h1{margin:0;font-size:25px;line-height:1.15;letter-spacing:-.7px}.app-header p{margin:7px 0 0;color:#64748b;font-weight:700}.header-actions{display:flex;gap:10px;align-items:center;flex-shrink:0}.user-pill{background:#fff;border:1px solid #e5e7eb;border-radius:999px;padding:12px 15px;color:#64748b;font-weight:900}.hero,.panel,.form-card,.list-window{background:rgba(255,255,255,.88);border:1px solid rgba(226,232,240,.92);border-radius:28px;box-shadow:0 18px 45px rgba(15,23,42,.08);padding:26px;margin-bottom:20px;backdrop-filter:blur(14px)}.hero{display:flex;justify-content:space-between;align-items:center;gap:20px}.hero h2,.panel h2,.form-card h2,.list-window h2{margin:0 0 10px;font-size:28px;letter-spacing:-.7px}.hero p,.muted{color:#64748b;margin:0}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.stats div{min-width:112px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:22px;padding:16px}.stats span{display:block;color:#64748b;font-weight:800}.stats b{font-size:30px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.section-head span{background:#f1f5f9;color:#64748b;border-radius:999px;padding:10px 16px;font-weight:900}.grid-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.action-card{display:block;text-decoration:none;color:#111827;background:white;border:1px solid #e5e7eb;border-radius:24px;padding:26px 22px;box-shadow:0 10px 30px rgba(15,23,42,.06);transition:transform .18s,box-shadow .18s,border-color .18s}.action-card i{width:52px;height:52px;border-radius:16px;background:#f4f6fb;display:grid;place-items:center;font-style:normal;font-size:24px;margin-bottom:16px}.action-card b{display:block;font-size:20px;margin-bottom:8px}.action-card span{color:#64748b;font-weight:650}.action-card:hover,.btn:hover,.mini:hover{transform:translateY(-4px);box-shadow:0 20px 42px rgba(15,23,42,.14);border-color:#cbd5e1}.action-card:active,.btn:active,.mini:active{transform:scale(.97)}.search-row{display:flex;gap:12px}input,select,textarea{width:100%;border:1px solid #dbe4ef;border-radius:18px;padding:15px 17px;font-size:16px;background:#fff;outline:none;transition:border .18s,box-shadow .18s}input:focus,select:focus,textarea:focus{border-color:#111827;box-shadow:0 0 0 4px rgba(17,24,39,.08)}textarea{min-height:90px}label{font-weight:900;display:block}label input,label select,label textarea{margin-top:8px;font-weight:500}.btn{border:0;border-radius:18px;padding:14px 22px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;font-weight:900;cursor:pointer;transition:.18s;white-space:nowrap}.primary{background:#4169e1;color:white}.dark{background:#111827;color:white}.light,.soft{background:#f1f5f9;color:#111827;border:1px solid #e5e7eb}.full{width:100%}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.full-span{grid-column:1/-1}.right{text-align:right}.notice{background:#e8fff2;border:1px solid #bbf7d0;color:#166534;padding:15px;border-radius:18px;margin:14px 0;font-weight:800}.alert{background:#ffe1e1;color:#9f1239;padding:14px;border-radius:16px;margin:14px 0;font-weight:900}.empty{text-align:center;color:#64748b;padding:24px}.table-wrap{overflow:auto}table{width:100%;border-collapse:separate;border-spacing:0 12px}th{text-align:left;color:#64748b;font-size:14px;padding:0 14px;white-space:nowrap}td{background:#fff;border-top:1px solid #e5e7eb;border-bottom:1px solid #e5e7eb;padding:16px 14px;vertical-align:middle}td:first-child{border-left:1px solid #e5e7eb;border-radius:18px 0 0 18px}td:last-child{border-right:1px solid #e5e7eb;border-radius:0 18px 18px 0}.sku-link{color:#2563eb;text-decoration:underline;font-weight:950;cursor:pointer}.sku-link.no-img{cursor:default;color:#111827;text-decoration:none}.mini{border:0;display:inline-block;text-decoration:none;border-radius:14px;padding:9px 12px;margin:2px;color:white;font-weight:900;transition:.18s}.mini.in{background:#16a34a}.mini.out{background:#ef4444}.login-bg{min-height:100vh;display:grid;place-items:center;padding:18px}.login-card{width:100%;max-width:430px;background:white;border:1px solid #e5e7eb;border-radius:28px;padding:32px;box-shadow:0 24px 60px rgba(15,23,42,.14)}.login-card h1{font-size:32px;margin:12px 0;letter-spacing:-.8px}.login-card p,.login-card small{color:#64748b}.logo{font-size:42px}.two-buttons{display:grid;grid-template-columns:1fr;gap:14px;margin:15px 0}small{display:block;color:#64748b;margin-top:6px}.bottom-nav{display:none!important}.image-modal{position:fixed;inset:0;background:rgba(0,0,0,.86);display:none;align-items:center;justify-content:center;z-index:99999;padding:24px}.image-modal.active{display:flex}.image-modal img{max-width:min(92vw,1120px);max-height:90vh;border-radius:24px;box-shadow:0 20px 70px rgba(0,0,0,.55);background:#fff}.image-modal-close{position:fixed;right:22px;top:18px;width:44px;height:44px;border-radius:999px;border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.14);color:white;font-size:28px;line-height:1;cursor:pointer}.image-modal-close:hover{background:rgba(255,255,255,.25)}
@media(max-width:820px){body{padding-bottom:96px}.wrap{padding:14px}.app-header{display:flex;justify-content:center;position:sticky;top:0;z-index:9;background:rgba(248,250,252,.94);backdrop-filter:blur(14px);padding:10px 12px}.header-inner{border-radius:24px;padding:12px 14px}.brand-icon{width:46px;height:46px;border-radius:14px}.app-header h1{font-size:19px}.app-header p{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:210px}.user-pill{display:none}.install-btn{padding:10px 12px;font-size:13px}.header-actions{gap:6px}.hero{display:block}.stats{margin-top:18px}.stats div{min-width:0;padding:14px}.stats b{font-size:24px}.grid-actions{grid-template-columns:repeat(2,1fr);gap:14px}.action-card{padding:22px 18px;min-height:152px}.action-card b{font-size:18px}.section-head h2,.hero h2,.panel h2,.form-card h2,.list-window h2{font-size:26px}.search-row{display:grid;grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.right{text-align:stretch}.right .btn{width:100%;margin-top:8px}th,td{font-size:14px;padding:12px 10px}.panel,.form-card,.list-window,.hero{border-radius:26px;padding:24px 18px}.bottom-nav{position:fixed!important;display:grid!important;grid-template-columns:repeat(4,1fr);left:14px;right:14px;bottom:12px;z-index:20;background:rgba(255,255,255,.94);border:1px solid #e5e7eb;border-radius:24px;box-shadow:0 18px 45px rgba(15,23,42,.18);padding:8px;backdrop-filter:blur(18px)}.bottom-nav a{text-decoration:none;color:#111827;display:grid;place-items:center;font-size:22px;font-weight:900;border-radius:18px;padding:8px 0}.bottom-nav a span{font-size:12px;margin-top:2px}.bottom-nav a:active{background:#111827;color:white}.login-card{padding:28px 24px}}
.stock-badge{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border-radius:999px;font-size:13px;font-weight:800;white-space:nowrap;margin:2px 4px 2px 0;border:1px solid rgba(15,23,42,.08)}
.stock-badge.closed{background:#ecfdf5;color:#047857}.stock-badge.open{background:#fff7ed;color:#c2410c}
.form-grid select{width:100%;padding:14px 14px;border:1px solid var(--line);border-radius:14px;background:#fff;font-weight:800;color:#0f172a;outline:none}

.stock-num{font-size:18px;font-weight:950}.stock-num.stock-low{color:#dc2626;background:#fee2e2;border:1px solid #fecaca;border-radius:999px;padding:7px 12px;display:inline-flex;min-width:44px;justify-content:center}.stock-num.stock-zero{color:#991b1b;background:#fecaca}.stock-badge.out{background:#fee2e2;color:#991b1b;border-color:#fecaca}.stock-badge.warning,.stock-badge.low{background:#fee2e2!important;color:#991b1b!important;border-color:#fecaca!important}

/* V13 mobile permission/user-page layout fix */
.role-manager{background:#eef2ff;color:#3730a3}
@media(max-width:820px){
  html,body{max-width:100%;overflow-x:hidden}
  .wrap{max-width:100%;overflow:hidden}
  .users-list{padding:18px 12px;overflow:hidden}
  .users-list .table-wrap{width:100%;overflow:visible}
  .users-table,.users-table tbody,.users-table tr,.users-table td{display:block;width:100%}
  .users-table thead{display:none}
  .users-table tr{background:#fff;border:1px solid #e5e7eb;border-radius:22px;margin:12px 0;padding:14px;box-shadow:0 10px 26px rgba(15,23,42,.06)}
  .users-table td{border:0!important;border-radius:0!important;background:transparent;padding:8px 4px;display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:15px;word-break:break-word}
  .users-table td:nth-child(1)::before{content:'ID';font-weight:900;color:#64748b}
  .users-table td:nth-child(2)::before{content:'用户名';font-weight:900;color:#64748b}
  .users-table td:nth-child(3)::before{content:'姓名';font-weight:900;color:#64748b}
  .users-table td:nth-child(4)::before{content:'角色';font-weight:900;color:#64748b}
  .users-table td:nth-child(5)::before{content:'状态';font-weight:900;color:#64748b}
  .users-table td:nth-child(6)::before{content:'操作';font-weight:900;color:#64748b}
  .users-table .mini{margin:0;min-width:96px;text-align:center}
}
/* V14 user delete + mobile table fix */
.user-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.mini.danger{background:#ef4444;color:#fff;border:0;border-radius:16px;padding:12px 18px;font-weight:900}.protect-label{display:inline-flex;align-items:center;padding:10px 14px;border-radius:999px;background:#eef2f7;color:#64748b;font-weight:800;font-size:13px}.alert{background:#fff1f2;color:#be123c;border:1px solid #fecdd3;border-radius:14px;padding:12px 16px;margin:12px 0;font-weight:800}@media(max-width:760px){.users-list .table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}.users-table{min-width:760px}.user-actions{min-width:190px}.mini.danger,.mini.out{white-space:nowrap}}

/* V16 SKU edit button */
.mini.edit{background:#4169e1;color:#fff}

/* V18 premium SKU category browser + visible edit actions */
.eyebrow{display:inline-flex;align-items:center;gap:8px;margin-bottom:8px;color:#4169e1;background:#eef2ff;border:1px solid #dbe4ff;border-radius:999px;padding:8px 12px;font-size:12px;font-weight:950;letter-spacing:.08em}.sku-browser-title h2{margin-bottom:6px}.sku-search-pro{display:grid;grid-template-columns:1fr auto auto;gap:12px;margin-top:20px}.sku-search-pro input{min-height:56px}.category-panel-pro{overflow:hidden}.category-grid-pro{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.category-card-pro{position:relative;display:grid;grid-template-columns:56px 1fr auto;align-items:center;gap:16px;text-decoration:none;color:#111827;background:linear-gradient(135deg,#fff 0%,#f8fbff 100%);border:1px solid #e5e7eb;border-radius:26px;padding:18px;box-shadow:0 12px 32px rgba(15,23,42,.06);transition:transform .18s,box-shadow .18s,border-color .18s,background .18s}.category-card-pro:before{content:'';position:absolute;left:0;top:18px;bottom:18px;width:5px;border-radius:0 999px 999px 0;background:transparent}.category-card-pro:hover,.category-card-pro.active{transform:translateY(-3px);border-color:#4169e1;box-shadow:0 20px 44px rgba(65,105,225,.14)}.category-card-pro.active{background:linear-gradient(135deg,#eef2ff 0%,#ffffff 72%)}.category-card-pro.active:before{background:#4169e1}.cat-icon{width:56px;height:56px;border-radius:18px;background:#f1f5f9;color:#4169e1;display:grid;place-items:center;font-size:26px;font-weight:950}.category-card-pro.active .cat-icon{background:#4169e1;color:white;box-shadow:0 12px 26px rgba(65,105,225,.25)}.cat-main b{display:block;font-size:20px;letter-spacing:-.3px;margin-bottom:5px;line-height:1.2}.cat-main small{display:block;color:#64748b;font-weight:800}.cat-meta{display:grid;place-items:end;gap:1px;text-align:right;background:#f8fafc;border:1px solid #e5e7eb;border-radius:18px;padding:12px 14px;min-width:96px}.cat-meta strong{font-size:24px;line-height:1;color:#111827}.cat-meta span{font-size:11px;line-height:1;background:transparent;padding:0;color:#64748b}.cat-meta em{font-style:normal;font-size:12px;color:#64748b;font-weight:850;white-space:nowrap}.sku-list-page-pro{padding:26px}.sku-card-list{display:grid;gap:14px}.sku-row-card{display:grid;grid-template-columns:1.2fr .9fr .9fr 1.2fr 1.4fr auto;gap:16px;align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:24px;padding:18px 20px;box-shadow:0 10px 28px rgba(15,23,42,.045);transition:.18s}.sku-row-card:hover{border-color:#cbd5e1;box-shadow:0 18px 40px rgba(15,23,42,.09);transform:translateY(-2px)}.sku-col{min-width:0}.sku-col .label{display:block;color:#64748b;font-size:12px;font-weight:950;text-transform:uppercase;letter-spacing:.04em;margin-bottom:7px}.sku-main-col .sku-link{font-size:18px}.sku-status-col .stock-badge{margin:0 4px 4px 0}.note-cell p{margin:0;color:#64748b;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:240px}.sku-actions{display:flex;gap:8px;align-items:center;justify-content:flex-end;flex-wrap:wrap;min-width:230px}.sku-actions .mini{border-radius:16px;padding:11px 14px;margin:0;box-shadow:0 8px 18px rgba(15,23,42,.08)}.sku-actions .mini.edit{background:#4169e1;color:#fff}.readonly-pill{display:inline-flex;padding:10px 14px;border-radius:999px;background:#f1f5f9;color:#64748b;font-weight:900}.category-section h3{margin-bottom:16px}.category-section h3:before{background:linear-gradient(180deg,#4169e1,#8b5cf6)}
@media(max-width:980px){.category-grid-pro{grid-template-columns:1fr}.sku-row-card{grid-template-columns:1fr 1fr;gap:14px}.sku-actions{grid-column:1/-1;justify-content:flex-start;min-width:0}.note-cell p{max-width:none}.sku-search-pro{grid-template-columns:1fr}.sku-search-pro .btn{width:100%}}

/* V18 mobile category cards only; SKU rows are controlled by V19 swipe list */
@media(max-width:560px){.category-card-pro{grid-template-columns:48px 1fr;padding:16px}.cat-icon{width:48px;height:48px;border-radius:16px;font-size:22px}.cat-meta{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;width:100%;place-items:initial;text-align:left}.cat-main b{font-size:18px}}

/* V22 FINAL FIX: remove excessive blank space when swiping mobile SKU list */
@media (max-width:560px){
  .sku-list-page-pro,
  .category-section{
    max-width:100%!important;
    overflow:hidden!important;
  }
  .sku-scroll-wrap{
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0 0 8px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    -webkit-overflow-scrolling:touch!important;
  }
  .sku-scroll-table{
    table-layout:auto!important;
    width:max-content!important;
    min-width:max-content!important;
    max-width:none!important;
    border-collapse:separate!important;
    border-spacing:0 8px!important;
  }
  .sku-scroll-table th,
  .sku-scroll-table td{
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    white-space:nowrap!important;
    padding:10px 8px!important;
  }
  .sku-scroll-table th:nth-child(1), .sku-scroll-table td:nth-child(1){min-width:72px!important;max-width:110px!important;}
  .sku-scroll-table th:nth-child(2), .sku-scroll-table td:nth-child(2){min-width:76px!important;}
  .sku-scroll-table th:nth-child(3), .sku-scroll-table td:nth-child(3){min-width:76px!important;}
  .sku-scroll-table th:nth-child(4), .sku-scroll-table td:nth-child(4){min-width:110px!important;}
  .sku-scroll-table th:nth-child(5), .sku-scroll-table td:nth-child(5){min-width:80px!important;max-width:110px!important;}
  .sku-scroll-table th:nth-child(6), .sku-scroll-table td:nth-child(6){min-width:0!important;width:1%!important;}
  .sku-scroll-table .sku-actions{
    min-width:0!important;
    width:max-content!important;
    max-width:none!important;
    display:inline-flex!important;
    flex-wrap:nowrap!important;
    justify-content:flex-start!important;
    gap:6px!important;
  }
  .sku-scroll-table .sku-actions .mini{
    min-width:0!important;
    width:auto!important;
    padding:8px 9px!important;
    margin:0!important;
    font-size:12px!important;
    line-height:1!important;
  }
  .sku-scroll-table .note-cell p{
    max-width:95px!important;
  }
}

/* V23 feature upgrade: low stock, reports, image center, stocktake */
.stats{grid-template-columns:repeat(4,1fr)}
.stat-alert b,.qty-out{color:#dc2626}.qty-in{color:#16a34a}.low-em{color:#dc2626!important;font-weight:950}.row-low-stock td{background:#fff7f7!important;border-color:#fecaca!important}.row-low-stock td:first-child{box-shadow:inset 5px 0 0 #ef4444}.stocktake-current{display:flex;gap:10px;align-items:center;flex-wrap:wrap;background:#f8fafc;border:1px solid #e5e7eb;border-radius:20px;padding:14px}.report-filter{align-items:end}.report-filter label{flex:1}.report-hero .stats,.stocktake-hero .stats,.image-stats{grid-template-columns:repeat(4,1fr)}.cron-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.cron-card{background:#fff;border:1px solid #e5e7eb;border-radius:22px;padding:18px;box-shadow:0 10px 28px rgba(15,23,42,.05)}.cron-card h3{margin:0 0 12px}.cron-card code{display:block;white-space:normal;word-break:break-all;background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px;padding:10px;margin-top:6px}.image-grid-admin{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:14px;margin-bottom:18px}.image-admin-card{background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:10px;display:grid;gap:8px;box-shadow:0 8px 22px rgba(15,23,42,.05);cursor:pointer}.image-admin-card input{width:auto;margin:0}.image-admin-card img{width:100%;height:120px;object-fit:contain;background:#f8fafc;border-radius:14px}.image-admin-card span{font-size:12px;color:#111827;word-break:break-all}.stocktake-product-preview{display:flex;gap:14px;align-items:center;flex-wrap:wrap;background:#f8fafc;border:1px solid #e5e7eb;border-radius:18px;padding:14px;margin:18px 0}.mini.danger{background:#991b1b;color:#fff}.mini.edit{background:#4169e1;color:#fff}
@media(max-width:820px){.stats,.report-hero .stats,.stocktake-hero .stats,.image-stats{grid-template-columns:repeat(2,1fr)}.cron-grid{grid-template-columns:1fr}.bottom-nav{grid-template-columns:repeat(auto-fit,minmax(48px,1fr))!important}.bottom-nav a{font-size:19px}.bottom-nav a span{font-size:11px}.report-filter{display:grid;grid-template-columns:1fr}.image-grid-admin{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.sku-scroll-table th:nth-child(7),.sku-scroll-table td:nth-child(7){min-width:0!important;width:1%!important}.sku-scroll-table th:nth-child(6),.sku-scroll-table td:nth-child(6){min-width:80px!important;max-width:110px!important}}

/* V24 batch stock, category management, undo logs, backup health */
.danger-zone{border:1px solid rgba(220,38,38,.25);background:linear-gradient(180deg,#fff,#fff7f7)}
.btn.danger,.mini.danger{background:#dc2626;color:#fff;border-color:#dc2626}
.confirm-box input{border-color:#dc2626;background:#fffafa;font-weight:700;letter-spacing:.04em}
.sensitive-inline{margin-top:16px;padding:14px;border:1px dashed rgba(220,38,38,.35);border-radius:16px;background:#fffafa}
.batch-table-wrap{overflow:auto;border:1px solid rgba(15,23,42,.08);border-radius:16px;background:#fff}
.batch-table input{width:100%;min-width:120px}
.row-reversal{background:#f8fafc;color:#64748b}
.row-muted{opacity:.72;background:#f8fafc}
.inline-edit-row,.inline-delete-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:6px 0}
.inline-edit-row input[name="name"]{min-width:240px;flex:1}
.inline-edit-row input[name="sort_order"],.inline-delete-row input{max-width:140px}
.check-inline{display:inline-flex!important;align-items:center;gap:6px;margin:0!important;font-size:13px;color:#475569}
.health-stats small{display:block;margin-top:6px;color:#64748b;font-size:12px;font-weight:600;word-break:break-all}
.cron-card code{white-space:normal;word-break:break-all}
@media (max-width: 720px){.inline-edit-row,.inline-delete-row{display:grid;grid-template-columns:1fr}.inline-edit-row input[name="name"],.inline-edit-row input[name="sort_order"],.inline-delete-row input{max-width:none;width:100%}.batch-table input{min-width:96px}}
.mini.warning{background:#f59e0b;color:#fff}.quick-tabs{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.quick-tabs .mini{color:#fff}.stocktake-product-preview span b{font-size:18px}.open-box-note{background:#fff7ed;color:#c2410c;border:1px solid #fed7aa;border-radius:16px;padding:12px;margin:10px 0;font-weight:850}

/* V25.1 batch import metadata + Google OAuth diagnostics */
.inline-check{display:flex!important;align-items:center;gap:10px;background:#f8fafc;border:1px solid #e5e7eb;border-radius:16px;padding:12px 14px!important;font-weight:800;color:#334155}
.inline-check input{width:auto!important;margin:0}
.google-diag-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:16px 0}
.google-diag-grid>div{background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:14px;display:grid;gap:6px;box-shadow:0 8px 22px rgba(15,23,42,.04)}
.google-diag-grid b{color:#0f172a}.google-diag-grid small{color:#64748b;word-break:break-all}.ok-text{color:#16a34a;font-weight:900}.bad-text{color:#dc2626;font-weight:900}
@media(max-width:900px){.google-diag-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.google-diag-grid{grid-template-columns:1fr}}
