/* Home card: compact information hierarchy, existing slot colours retained. */
#panel-home .home-account-item{padding:20px;border-radius:16px;min-width:0}
#panel-home .home-account-item-top{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:start}
#panel-home .home-account-item-top>div:first-child{gap:8px}
#panel-home .home-account-item .home-account-login{white-space:normal;overflow-wrap:anywhere;font-size:15px;line-height:1.4}
#panel-home .home-account-item .home-account-badges{align-items:flex-end!important;gap:8px!important;max-width:190px}
#panel-home .home-account-item .home-account-owner{font-size:11px;line-height:1.4;padding:6px 8px;text-align:right}
#panel-home .home-account-item .home-account-edit{font-size:12px;padding:6px 10px;min-height:32px}
#panel-home .home-account-item .home-plan-line{gap:7px;line-height:1.5}
#panel-home .home-account-item .home-cost-inline{margin-left:0;white-space:nowrap}
#panel-home .home-account-item .home-remaining{font-size:11px;line-height:1.5}
#panel-home .home-account-item .home-account-buyers{margin-top:16px;padding-top:14px}
#panel-home .home-account-item .home-account-instruction-choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:8px 0 18px}
#panel-home .home-account-item .home-account-instruction-choices .home-account-instruction{min-height:38px;padding:8px 6px;font-size:12px;border-radius:8px}
#panel-home .home-account-item .home-account-buyers-head{flex-wrap:wrap;gap:8px;margin-bottom:10px}
#panel-home .home-account-item .home-account-capacity{font-size:11px;padding:5px 8px;font-weight:600}
#panel-home .home-account-item .home-account-buyer{padding:12px;gap:9px;margin-top:8px;align-items:center}
#panel-home .home-account-item .home-account-buyer>div:first-child{gap:4px}
#panel-home .home-account-item .home-account-buyer a,#panel-home .home-account-item .home-account-buyer strong{white-space:normal;font-size:13px;line-height:1.4}
#panel-home .home-account-item .home-account-buyer>div:first-child>span{font-size:11px;line-height:1.5}
#panel-home .home-account-item .home-account-buyer>.home-buyer-controls{flex-direction:row!important;gap:4px}
#panel-home .home-account-item .home-buyer-controls button{padding:6px 8px;min-height:32px;font-size:11px}
#panel-home .home-account-item .home-buyer-money{border:0;padding-top:0;justify-content:flex-start;gap:20px;flex-wrap:wrap}
#panel-home .home-account-item .home-buyer-money>div{flex-direction:row;align-items:baseline;gap:6px;text-align:left}
#panel-home .home-account-item .home-buyer-money span{font-size:11px}
#panel-home .home-account-item .home-buyer-money b{font-size:14px}
#panel-home .home-account-item .home-buyer-empty{min-height:46px;padding:7px 12px;margin-top:8px;border-radius:10px;gap:8px}
#panel-home .home-account-item .home-buyer-empty>span{font-size:12px}
#panel-home .home-account-item .home-buyer-empty button{padding:6px 8px;min-height:30px;font-size:12px}
#panel-home .home-account-item .home-account-actions.home-account-actions-simple{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;border-top:1px solid var(--border);padding-top:14px;margin-top:16px}
#panel-home .home-account-item .home-account-actions-simple>.home-main-action{min-height:38px;font-size:12px;padding:8px}
#panel-home .home-account-item .home-account-actions-simple>.home-delivery-feedback,#panel-home .home-account-item .home-account-actions-simple>.home-audit-notice{grid-column:1/-1}
#panel-home .home-account-item .home-audit-notice{padding:10px 12px;font-size:12px;gap:6px;border-radius:9px;line-height:1.5}
#panel-home .home-account-item .home-audit-notice.is-ok{background:rgba(52,199,89,.10);color:var(--green)}
#panel-home .home-account-item .home-audit-notice details{color:var(--text2)}
#panel-home .home-account-item .home-audit-notice summary{cursor:pointer;padding:3px 0}
#panel-home .home-account-item .home-audit-notice summary:hover{color:var(--text)}
#panel-home .home-account-item .home-audit-notice p{margin:6px 0}
#panel-home .home-account-item .home-account-row{margin-top:10px;font-size:11px}
#panel-home .home-account-item .home-check-pending{display:flex;align-items:center;gap:8px}
#panel-home .home-account-item .home-check-pending::before{content:'';width:12px;height:12px;flex:0 0 12px;border:2px solid var(--border);border-top-color:var(--accent);border-radius:50%;animation:home-check-spin .9s linear infinite}
@keyframes home-check-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){#panel-home .home-account-item .home-check-pending::before{animation:none}}
@media(max-width:600px){#panel-home .home-account-item{padding:15px}#panel-home .home-account-item-top{grid-template-columns:minmax(0,1fr)}#panel-home .home-account-item .home-account-badges{grid-row:1;max-width:none;flex-direction:row;justify-content:space-between;align-items:center!important}#panel-home .home-account-item .home-account-owner{margin-left:auto;order:2}#panel-home .home-account-item .home-account-buyer{grid-template-columns:minmax(0,1fr)}#panel-home .home-account-item .home-buyer-controls{justify-content:flex-end}#panel-home .home-account-item .home-buyer-money{grid-row:2}#panel-home .home-account-item .home-account-instruction-choices .home-account-instruction{min-height:44px}#panel-home .home-account-item .home-buyer-controls button,#panel-home .home-account-item .home-buyer-empty button{min-height:40px}}

#panel-home .home-account-item .home-account-instruction{display:inline-flex;align-items:center;justify-content:center;gap:7px}
#panel-home .home-account-item .home-account-instruction::before{margin:0;flex:0 0 15px}
#panel-home .home-account-item .home-buyer-edit{width:32px;padding:7px;background:transparent;border-color:transparent}
#panel-home .home-account-item .home-buyer-empty button{display:inline-flex;align-items:center;gap:6px}
#panel-home .home-account-item .home-buyer-empty button:hover{background:rgba(var(--accent-rgb),.12);border-radius:7px}
#panel-home .home-account-item .home-profit-positive{color:var(--green)}
#panel-home .home-account-item .home-profit-negative{color:var(--red,#f28c82)}
#panel-home .home-audit-notice>strong[data-action-icon]:not([data-action-icon=""]){display:flex;align-items:center;gap:7px}
#panel-home .home-check-time{font-size:11px;color:var(--text2)}
#panel-analytics .an-cost-row-card{grid-template-columns:minmax(180px,1fr) 145px 320px;align-items:center;column-gap:16px}
#panel-analytics .an-cost-row-card>.an-cost-identity{grid-column:1;grid-row:1}
#panel-analytics .an-cost-row-card>.an-cost-amount{grid-column:2;grid-row:1;align-items:flex-end;text-align:right;justify-self:end;white-space:nowrap;font-variant-numeric:tabular-nums}
#panel-analytics .an-cost-row-card>.an-cost-actions{grid-column:3;grid-row:1;width:320px;max-width:none;justify-content:flex-end;flex-wrap:wrap}
#panel-analytics .an-cost-identity .an-cost-note{text-align:left;display:block;margin-top:4px;color:var(--text2);font-size:11px}
#panel-analytics .an-logo-adviz{background:transparent!important}
#panel-analytics .an-logo-adviz svg{width:30px;height:30px}
@media(max-width:1100px){#panel-analytics .an-cost-row-card{grid-template-columns:minmax(0,1fr) 130px}#panel-analytics .an-cost-row-card>.an-cost-actions{grid-column:1/-1;grid-row:2;justify-content:flex-start;width:auto}}
@media(max-width:440px){#panel-home .home-account-item .home-buyer-controls{grid-column:2;grid-row:1}#panel-home .home-account-item .home-account-buyer{grid-template-columns:minmax(0,1fr) auto}#panel-home .home-account-item .home-buyer-money{grid-row:2;gap:12px}#panel-home .home-account-item .home-buyer-controls button{min-height:36px}#panel-home .home-account-item .home-buyer-edit{width:32px}#panel-analytics .an-cost-row-card{grid-template-columns:minmax(0,1fr) auto}}

[data-action-icon="gamepad"]{--action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%208h12a3%203%200%200%201%203%203l1%207a2%202%200%200%201-3%202l-4-3H9l-4%203a2%202%200%200%201-3-2l1-7a3%203%200%200%201%203-3z%20M7%2010v5M4.5%2012.5h5M16%2011h.01M19%2014h.01%22/%3E%3C/svg%3E")}

[data-action-icon="login"]{--action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%205H4v14h5M12%208l4%204-4%204M8%2012h13%22/%3E%3C/svg%3E")}

[data-action-icon="monitor"]{--action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%204h18v13H3zM12%2017v4M8%2021h8%22/%3E%3C/svg%3E")}
