/* ProfitPilot V10 — compact commerce workflow and settings */
.v10-recent-list{padding:0 20px 16px;display:grid;gap:2px;min-width:0}
.v10-recent-order{width:100%;display:grid;grid-template-columns:38px minmax(0,1.35fr) minmax(115px,.7fr) minmax(85px,.48fr) 22px;gap:13px;align-items:center;padding:15px 8px;border:0;border-bottom:1px solid var(--v9-border);background:transparent;text-align:start;color:var(--v9-text);min-height:84px;transition:background .15s,border-radius .15s}
.v10-recent-order:last-child{border-bottom:0}.v10-recent-order:hover,.v10-recent-order:focus-visible{border-radius:12px;background:var(--v9-soft)}
.v10-recent-avatar{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:var(--v9-primary-pale);color:var(--v9-primary);font-size:15px;font-weight:800;flex:none}
.v10-recent-person,.v10-recent-money{display:flex;flex-direction:column;gap:4px;min-width:0}.v10-recent-person strong{font-weight:780;font-size:12px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.v10-recent-person small,.v10-recent-money small{color:var(--v9-muted);font-size:10px;line-height:1.6}.v10-recent-product{display:inline-flex;align-items:center;gap:5px;color:var(--v9-muted);font-size:10.5px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}
.v10-recent-money strong{color:var(--v9-text);font-size:15px;font-weight:800;white-space:nowrap;font-variant-numeric:tabular-nums}.v10-recent-money strong small{font-weight:600}.v10-recent-money>.t-danger{color:#bf4853}.v10-recent-money>.t-accent{color:var(--v9-primary)}.v10-recent-status{display:inline-flex;justify-content:flex-start}.v10-recent-status .badge{max-width:100%;white-space:nowrap}.v10-recent-open{color:var(--v9-muted);display:flex;justify-content:center}
.v9-recent-card{align-self:start;min-height:0!important;display:block!important}.v9-recent-card .v9-section-head{padding-bottom:8px}.v9-work-grid{align-items:start}.v9-action-card{align-self:start}
.v10-settings-block{padding:23px 25px;margin-bottom:18px}.v10-settings-title{display:flex;align-items:flex-start;gap:13px;margin-bottom:19px}.v10-settings-title h2{font-size:16px;line-height:1.35;margin:1px 0 4px;font-weight:780}.v10-settings-title p{font-size:11px;color:var(--v9-muted);margin:0;line-height:1.7}.v10-settings-icon{display:grid;place-items:center;border-radius:12px;background:var(--v9-primary-pale);color:var(--v9-primary);width:42px;height:42px;flex:none}
.v10-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px}.v10-settings-grid .field{min-width:0}.v10-settings-grid select{width:100%;min-height:43px;background:var(--v9-surface);color:var(--v9-text);border:1px solid var(--v9-border);border-radius:10px}.v10-settings-grid label{font-size:12px;font-weight:700;color:var(--v9-text)}.v10-settings-grid small{color:var(--v9-muted);font-size:10px;line-height:1.65;display:block;margin-top:5px}
.v10-settings-switches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}.v10-switch{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 17px;background:var(--v9-soft);border:1px solid var(--v9-border);border-radius:12px;cursor:pointer}.v10-switch strong,.v10-switch small{display:block}.v10-switch strong{font-size:12px;color:var(--v9-text);margin-bottom:4px}.v10-switch small{font-size:10px;line-height:1.6;color:var(--v9-muted)}.v10-switch input{accent-color:var(--v9-primary);width:20px;height:20px;flex:none;cursor:pointer}
.v10-settings-foot{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:17px;padding-top:16px;border-top:1px solid var(--v9-border)}.v10-settings-foot small{font-size:10.5px;color:var(--v9-muted);line-height:1.7}.v10-data-export{display:grid;gap:11px}.v10-data-export>div{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid var(--v9-border);flex-wrap:wrap}.v10-data-export>div:last-child{border-bottom:0}.v10-data-export>div>strong{min-width:94px;font-size:12px}.v10-data-export>div>small{font-size:10px;color:var(--v9-muted);flex:1;min-width:130px}.v10-export-links{display:inline-flex;gap:7px;flex-wrap:wrap}.v10-export-links .btn{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;min-height:34px;padding:7px 11px;font-size:10.5px}.v10-disclaimer{font-size:10.5px;color:var(--v9-muted);line-height:1.7;margin:14px 0 0}.v10-settings-links{display:flex;gap:8px;flex-wrap:wrap}.v10-settings-links .btn{min-height:37px;display:inline-flex;align-items:center;gap:8px}
.v10-reduced-motion *, .v10-reduced-motion *::after,.v10-reduced-motion *::before{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
:root[data-order-density='compact'] .order-table tbody td{padding-top:8px!important;padding-bottom:8px!important}:root[data-order-density='compact'] .v10-recent-order{min-height:65px;padding-block:8px}:root[data-order-density='compact'] .table td{padding-block:8px}
@media(max-width:1220px){.v10-recent-order{grid-template-columns:36px minmax(0,1fr) minmax(108px,.65fr) 24px;gap:8px}.v10-recent-status{display:none}.v10-data-export>div{flex-direction:column;align-items:flex-start}.v10-data-export>div>small{flex:none}}
@media(max-width:950px){.v10-recent-order{grid-template-columns:38px minmax(0,1fr) minmax(100px,.6fr) minmax(85px,.4fr) 20px}.v10-recent-status{display:inline-flex}}
@media(max-width:680px){.v10-recent-list{padding:0 11px 12px}.v10-recent-order{grid-template-columns:34px minmax(0,1fr) minmax(90px,.55fr);gap:9px;min-height:90px}.v10-recent-avatar{width:34px;height:34px}.v10-recent-money strong{font-size:12px}.v10-recent-status,.v10-recent-open{display:none}.v10-recent-person small{font-size:9.3px}.v10-recent-product{font-size:9.3px}.v10-settings-block{padding:16px}.v10-settings-grid,.v10-settings-switches{grid-template-columns:1fr}.v10-settings-foot{flex-direction:column;align-items:stretch}.v10-settings-foot .btn{width:100%;justify-content:center}.v10-data-export>div>small{min-width:0}.v10-export-links{width:100%}.v10-export-links .btn{flex:1}}
@media(prefers-reduced-motion:reduce){.v10-recent-order{transition:none}}
