/* Hub v47: clear daily priorities, compact secondary tools. */
.page-hub .primary-heading{margin-top:10px}
.primary-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.primary-card{position:relative;display:flex;min-width:0;min-height:174px;flex-direction:column;overflow:hidden;padding:16px;border:1px solid #d9e2ee;border-radius:17px;background:linear-gradient(145deg,#fff,#fbfcfe);box-shadow:0 10px 24px rgba(7,17,31,.07);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.primary-card::before{content:"";position:absolute;inset:0 0 auto;height:4px;background:var(--primary-accent,#f4bd12)}
.primary-card:hover{transform:translateY(-3px);border-color:var(--primary-accent,#d5aa1a);box-shadow:0 16px 32px rgba(7,17,31,.12)}
.primary-card .primary-icon{display:grid;place-items:center;width:39px;height:39px;border-radius:12px;color:#0b1730;background:#ffe57d;font-size:11px;font-weight:950}
.primary-card small{margin-top:12px;color:#8b6500;font-size:8px;font-weight:950;letter-spacing:.14em}
.primary-card h3{margin:4px 0 6px;color:#0b1730;font-size:18px;line-height:1.2;letter-spacing:-.025em}
.primary-card p{margin:0;color:#68758a;font-size:11px;line-height:1.4}
.primary-card>b{margin-top:auto;padding-top:10px;color:#8b6500;font-size:11px}
.primary-graphic{--primary-accent:#2f73da}.primary-operations{--primary-accent:#e09820}.primary-revenue{--primary-accent:#16836d}.primary-claim{--primary-accent:#c44f5d}.primary-partner{--primary-accent:#7654cf}
.operation-links{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:auto;padding-top:10px}
.operation-links a{display:flex;min-width:0;flex-direction:column;gap:2px;padding:9px;border:1px solid #dce4ef;border-radius:11px;background:#f4f7fb;transition:.16s ease}
.operation-links a:hover{border-color:#d5aa1a;background:#fff7d2}
.operation-links strong{color:#0b1730;font-size:12px}.operation-links span{color:#7a6a36;font-size:9px}
.secondary-heading{margin-top:13px}
.secondary-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}
.secondary-grid>a{display:grid;grid-template-columns:29px minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;min-height:49px;padding:7px 9px;border:1px solid #dce4ef;border-radius:12px;background:rgba(255,255,255,.82);box-shadow:0 4px 12px rgba(7,17,31,.035);transition:.16s ease}
.secondary-grid>a:hover{transform:translateY(-2px);border-color:#d7b63e;background:#fffaf0}
.secondary-grid>a>span{display:grid;place-items:center;width:29px;height:29px;border-radius:9px;color:#755600;background:#fff0a8;font-size:9px;font-weight:950}
.secondary-grid strong{overflow:hidden;color:#25334b;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.secondary-grid i{color:#9b7200;font-style:normal;font-weight:900}
html[data-dark="true"] .primary-card,html[data-dark="true"] .secondary-grid>a{border-color:#263757;background:#101d38}
html[data-dark="true"] .primary-card h3,html[data-dark="true"] .secondary-grid strong,html[data-dark="true"] .operation-links strong{color:#eef5ff}
html[data-dark="true"] .primary-card p{color:#a8b5c8}html[data-dark="true"] .operation-links a{border-color:#2c405f;background:#162642}html[data-dark="true"] .operation-links a:hover,html[data-dark="true"] .secondary-grid>a:hover{border-color:#8a7532;background:#20304f}
@media(min-width:901px){.page-hub .hero{min-height:0;padding:10px 16px}.page-hub .hero h1{font-size:28px}.page-hub .hero>p:last-child{margin:4px 0 0}.page-hub .news-board{margin-bottom:7px}.page-hub .owner-panel{margin-top:10px}.page-hub footer{margin-top:8px}}
@media(max-width:1100px){.primary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.secondary-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){.primary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.primary-card{min-height:158px;padding:13px}.primary-operations{grid-column:1/-1;min-height:auto}.secondary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px){.primary-grid{grid-template-columns:1fr}.primary-operations{grid-column:auto}.secondary-grid{grid-template-columns:1fr}}
