/* Home-only visual refinement. Approved narrative and other imagery stay intact. */
body .dn-challenge-grid .cv-card-art.hg-art{background:#f8f8f8!important;border:1px solid #e5e7eb!important;box-shadow:none!important;border-radius:12px!important;margin-bottom:19px!important;overflow:hidden}
.hg-scene{color:#111;font-family:Arial,Helvetica,sans-serif;position:relative;min-width:0;padding:18px 16px 0;background:#f8f8f8}
.hg-scene>.hg-art-footer{border-top:1px solid #e5e7eb;padding:12px 0;color:#555d68;font-size:11px;line-height:1.5;min-height:53px;display:flex;align-items:center;margin-top:15px}
.hg-scene>.hg-docs,.hg-scene>.hg-queue,.hg-scene>.hg-rules,.hg-scene>.hg-integration{height:145px;min-width:0;position:relative}
.hg-docs{display:flex;align-items:center;justify-content:center;padding:8px 4px}
.hg-paper{position:relative;display:grid;gap:9px;width:94px;height:118px;flex:0 0 94px;padding:13px 10px;background:#fff;border:1px solid #d2d5d9;border-radius:5px;box-shadow:0 5px 10px #11111108;align-content:start}
.hg-paper>span{font-size:11px;line-height:1.3;color:#333;font-weight:600;min-height:24px}
.hg-paper>i{display:block;height:2px;background:#d9dce0;width:100%}.hg-paper>i:nth-child(3){width:70%}.hg-paper>b{display:block;width:42%;height:5px;background:#f05a2850;margin-top:5px}
.hg-statement{transform:rotate(-9deg);margin-right:-38px;z-index:1}.hg-note{transform:rotate(7deg);z-index:2;margin-right:-32px;margin-top:8px;background:#fffdf9}.hg-note>i{transform:rotate(-5deg);height:1px;background:#8b8d92}.hg-invoice{transform:rotate(-1deg);z-index:3}
.hg-queue{padding:6px 0}.hg-queue-head{display:flex;justify-content:space-between;gap:8px;font-size:11px;line-height:1.4;color:#6b7280;margin-bottom:10px}.hg-queue-head>span{font-size:11px}
.hg-queue-row{display:grid;grid-template-columns:20px 1fr;gap:3px 7px;padding:7px 9px;border:1px solid #e0e2e5;border-radius:5px;background:#fff;margin-bottom:5px;font-size:11px;color:#333;align-items:center}
.hg-queue-row>.fv-icon{width:18px!important;height:18px!important;grid-row:1/3;color:#777!important;margin:0!important}
.hg-queue-row>i{height:3px;width:var(--queue-width);max-width:100%;background:#f05a2870;border-radius:3px}
.hg-queue-overflow{display:flex;justify-content:center;gap:4px;padding-top:2px}.hg-queue-overflow>i{height:3px;width:3px;border-radius:50%;background:#a1a1a1}
.hg-rules{padding:12px 0}.hg-policy{display:flex;align-items:center;gap:9px;justify-content:center;font-size:12px;color:#333;border:1px solid #d8dade;padding:10px;background:#fff;border-radius:6px;margin:0 16px}
.hg-policy>.fv-icon{width:23px!important;height:23px!important;color:#f05a28!important;margin:0!important}
.hg-rule-branches{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding-top:24px;position:relative}
.hg-rule-branches:before{content:'';position:absolute;left:25%;right:25%;top:12px;border-top:1px solid #999;height:12px;border-left:1px solid #999;border-right:1px solid #999}
.hg-rule-branches:after{content:'';position:absolute;top:0;left:50%;height:12px;width:1px;background:#999}
.hg-rule-branches>div{display:grid;grid-template-columns:18px 1fr;align-items:center;gap:5px;font-size:11px;color:#333;min-width:0}
.hg-rule-branches .fv-icon{width:18px!important;height:18px!important;color:#f05a28!important;margin:0!important}.hg-rule-branches span{grid-column:1/-1;display:block;padding:5px;background:#fff;border-radius:4px;border:1px solid #e5e7eb;color:#6b7280;font-size:11px;text-align:center}
.hg-integration{padding:9px 0}.hg-system-row{display:grid;grid-template-columns:24px 1fr;gap:3px 8px;background:#fff;border:1px solid #dcdee2;border-radius:6px;padding:10px;font-size:12px;color:#333;align-items:center}
.hg-system-row>.fv-icon{width:24px!important;height:24px!important;grid-row:1/3;color:#777!important;margin:0!important}.hg-system-row>span{font-size:11px;color:#6b7280}
.hg-joint{display:flex;align-items:center;gap:7px;padding:7px 0;color:#777;font-size:11px}.hg-joint>i{flex:1;height:1px;background:#bfc1c5}.hg-joint>span{display:flex;align-items:center;gap:5px}.hg-joint .fv-icon{width:16px!important;height:16px!important;color:#f05a28!important;margin:0!important}
@media(max-width:767px){body.df-device-polish .dn-challenge-grid{grid-template-columns:1fr 1fr!important;gap:24px 16px!important}body.df-device-polish .dn-challenge-grid .cv-challenge{display:block!important}body.df-device-polish .dn-challenge-grid .cv-challenge h3{font-size:17px!important;line-height:1.3!important}body.df-device-polish .dn-challenge-grid .cv-challenge>p{font-size:13px!important;line-height:1.6!important}.hg-scene{padding:12px 10px 0}.hg-scene>.hg-docs,.hg-scene>.hg-queue,.hg-scene>.hg-rules,.hg-scene>.hg-integration{height:139px}.hg-queue-head>span{display:none}.hg-paper{width:76px;flex-basis:76px;height:108px;padding:10px 8px}.hg-statement{margin-right:-43px}.hg-note{margin-right:-43px}.hg-policy{margin:0;padding:9px 5px;font-size:11px}.hg-rule-branches{gap:5px}.hg-rule-branches>div{font-size:11px;grid-template-columns:1fr;justify-items:center;text-align:center}.hg-rule-branches span{font-size:11px;padding:4px 2px}.hg-system-row{padding:9px 6px;font-size:11px}.hg-system-row>span{font-size:11px}.hg-joint{font-size:11px;gap:4px}.hg-joint .fv-icon{width:14px!important;height:14px!important}.hg-scene>.hg-art-footer{font-size:11px;min-height:58px;align-items:start;padding-top:10px;margin-top:12px}}
@media(max-width:359px){body.df-device-polish .dn-challenge-grid{grid-template-columns:1fr!important}.hg-scene{padding:16px 18px 0}.hg-scene>.hg-docs,.hg-scene>.hg-queue,.hg-scene>.hg-rules,.hg-scene>.hg-integration{height:145px}.hg-rule-branches>div{grid-template-columns:18px 1fr;justify-items:start;text-align:left;font-size:11px}.hg-rule-branches span{font-size:11px}.hg-system-row{font-size:12px}.hg-system-row>span,.hg-joint{font-size:11px}}
@media(min-width:360px) and (max-width:767px){.hg-scene>.hg-rules{height:auto;min-height:145px}.hg-rule-branches>div>.fv-icon{display:none!important}.hg-rule-branches>div{grid-template-columns:1fr;gap:4px}.hg-rule-branches span{grid-column:auto;line-height:1.4}}
