/* r260: stessi colori del gestionale, meno card e più spazio ai dati. */
.brand-production-view, .gmava-report-view {max-width:none;min-width:0;width:100%}
.brand-production-view .panel, .gmava-report-view .panel {padding:16px;border-radius:10px;box-shadow:none}
.brand-production-view .panel-head, .gmava-report-view .panel-head {margin-bottom:12px;gap:12px}
.brand-production-view h3, .gmava-report-view h3 {font-size:1.08rem}
.brand-production-view .brand-summary-grid, .gmava-report-view #multibrandSummary {gap:0;border:1px solid var(--line);border-radius:9px;overflow:hidden;margin-bottom:14px;background:var(--white)}
.brand-production-view .brand-summary-card, .gmava-report-view #multibrandSummary .brand-summary-card {border:0;border-right:1px solid var(--line);border-radius:0;box-shadow:none;padding:12px 14px;min-height:0;gap:5px}
.brand-production-view .brand-summary-card strong, .gmava-report-view #multibrandSummary .brand-summary-card strong {font-size:1.25rem;line-height:1.25}
.brand-production-view .brand-summary-card small, .gmava-report-view #multibrandSummary .brand-summary-card small {font-size:.82rem;line-height:1.4}
.brand-production-view .workflow-strip {gap:5px;margin:10px 0 14px}
.brand-production-view .workflow-step {padding:8px 10px;min-height:0;border-radius:7px;gap:7px}
.brand-production-view .workflow-step i {width:22px;height:22px;font-size:.85rem}
.brand-production-view .workflow-step small {font-size:.78rem}
.brand-production-view .brand-production-main {grid-template-columns:1fr;gap:10px;margin-bottom:16px}
.brand-production-view .brand-production-main .panel-head {margin:0}
.brand-production-view .brand-production-main .brand-anomaly-list {margin-top:12px}
.brand-production-view .data-freshness-strip {padding:9px 12px;margin-bottom:12px}
.brand-production-view #vodafoneProductionPanel>.grid-2 {grid-template-columns:1fr;gap:12px}
.brand-production-view #vodafoneControls {display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:8px}
.brand-production-view .vodafone-economic-summary {grid-template-columns:repeat(auto-fit,minmax(205px,1fr))}
.brand-production-view .vodafone-economic-summary .featured {grid-column:auto}
.brand-production-view .vodafone-inline-filter {gap:6px;margin:12px 0}
.brand-production-view .vodafone-inline-filter input, .brand-production-view .vodafone-inline-filter select {min-width:120px;min-height:36px;padding:6px 8px}
.brand-production-view .vodafone-inline-filter input[type=search] {flex:1;min-width:220px}
.brand-production-view table td, .brand-production-view table th {padding:10px 12px;font-size:.86rem;line-height:1.4}
.brand-production-view table .sub {font-size:.78rem;margin-top:2px}
.brand-production-view .vodafone-threshold-table table {min-width:960px}
.brand-production-view .wind-economic-notice {padding:10px 12px;font-size:.84rem;line-height:1.5}
.report-table {width:100%;border:1px solid var(--line);border-radius:7px;box-shadow:none;overflow:auto;margin:10px 0}
.report-table table {border-collapse:collapse;width:100%;min-width:760px;font-size:.86rem;line-height:1.4}
.report-table caption {text-align:left;font-weight:700;color:var(--navy);padding:10px 12px;background:var(--white)}
.report-table th,.report-table td {padding:10px 12px;border-bottom:1px solid var(--line);vertical-align:top;text-align:left;white-space:normal}
.report-table thead th {background:var(--bluebg);color:var(--navy);font-size:.8rem;letter-spacing:0;text-transform:none;white-space:nowrap}
.report-table tbody tr:nth-child(even) {background:var(--paper)}
.report-table tbody tr:hover {background:var(--bluebg)}
.report-table th[scope=row] {font-weight:600}
.report-table .money,.report-table .numeric {text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.report-table small {display:block;color:var(--muted);font-size:.78rem;line-height:1.35;margin-top:3px}
.report-link {border:0;background:none;padding:0;color:var(--blue);font:inherit;font-weight:650;text-align:left;text-decoration:underline;text-underline-offset:3px}
.report-link:focus-visible, .report-table summary:focus-visible {outline:2px solid var(--blue);outline-offset:4px}
.report-filter {display:flex;gap:10px;align-items:end;flex-wrap:wrap}
.report-filter label {display:grid;gap:5px;flex:1;min-width:150px;color:var(--muted);font-size:.8rem}
.report-filter input,.report-filter select {width:100%;min-height:38px;border:1px solid var(--line);border-radius:6px;padding:8px;background:var(--white);color:var(--ink)}
.report-filter label:first-child {flex:2;min-width:230px}
.report-note {padding:10px 12px;color:var(--muted);font-size:.84rem;line-height:1.5}
.report-total {background:var(--bluebg)!important;color:var(--navy)}
.report-thresholds {display:flex;gap:6px;flex-wrap:wrap}
.report-thresholds span {padding:3px 6px;border:1px solid var(--line);border-radius:4px;white-space:nowrap;color:var(--muted)}
.report-thresholds .reached {color:var(--green);background:var(--greenbg);border-color:var(--green)}
#vodafonePracticeDetailDialog {width:calc(100vw - 40px);max-width:none;height:calc(100dvh - 40px);max-height:calc(100dvh - 40px);padding:22px;border-radius:10px}
#vodafonePracticeDetailDialog .brand-summary-grid {display:flex;flex-wrap:wrap;gap:0;border:1px solid var(--line);border-radius:7px;margin:14px 0}
#vodafonePracticeDetailDialog .brand-summary-card {flex:1;min-width:160px;padding:10px 14px;border:0;border-right:1px solid var(--line);border-radius:0;box-shadow:none}
#vodafonePracticeDetailDialog .brand-summary-card strong {font-size:1.2rem}
#vodafonePracticeDetailBody {display:block}
#vodafonePracticeDetailBody .report-table table {min-width:1200px}
#vodafonePracticeDetailBody th:nth-child(2) {min-width:250px}
.report-row-data summary,.report-store-people summary {cursor:pointer;color:var(--blue);white-space:nowrap}
.report-row-data dl {width:220px;margin:10px 0;font-size:.8rem}
.report-row-data dl>div {margin:6px 0}
.report-row-data dt {color:var(--muted)}
.report-row-data dd {margin:0;overflow-wrap:anywhere}
.gmava-report-view .round5g-contest-hero {display:block;padding:16px 18px;border-radius:9px;box-shadow:none;margin-bottom:12px}
.gmava-report-view .round5g-contest-hero h3 {font-size:1.35rem;margin:3px 0 6px}
.gmava-report-view .round5g-contest-hero p {font-size:.86rem;line-height:1.5;margin-bottom:8px}
.gmava-report-view .round5g-rule-chips {display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.gmava-report-view .round5g-rule-chips span {padding:5px 8px;font-size:.78rem}
.gmava-report-view .multibrand-privacy {padding:8px 12px;font-size:.8rem;margin-bottom:10px}
.gmava-report-view #multibrandCategories,.gmava-report-view #round5gStoreTargets {display:block}
.gmava-report-view #multibrandCategories .report-table {margin-bottom:16px}
.gmava-report-view .gmava-reporting-toolbar {display:grid;grid-template-columns:1fr;gap:10px;padding:12px;margin-bottom:14px}
.gmava-report-view .gmava-reporting-toolbar>div:first-child p {margin:4px 0 0;font-size:.82rem}
.gmava-report-view .gmava-report-controls {display:flex;flex-wrap:wrap;align-items:end;gap:8px;padding:8px 0;border-top:1px solid var(--line)}
.gmava-report-view .gmava-report-controls label {display:grid;gap:5px;font-size:.78rem;flex:1;min-width:160px}
.gmava-report-view .gmava-report-controls button {font-size:.82rem;min-height:36px;padding:8px 10px}
.gmava-report-view .gmava-detail-hint {font-size:.75rem;margin-top:2px}
.gmava-report-view .round5g-target-section {margin:16px 0}
.report-store-people>div {margin:10px 0;min-width:200px}
.report-person {box-shadow:none;border-radius:8px;overflow:visible}
.report-person>summary {display:flex;justify-content:space-between;gap:14px;padding:14px 16px}
.report-person>summary>div:last-child {display:flex;gap:16px;align-items:center;flex-wrap:wrap}
.report-person>summary small {display:block;margin-top:5px;color:var(--muted)}
.report-person .round5g-employee-body {padding:14px}
.report-person-actions {display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;font-size:.85rem}
.report-person-actions>div {display:flex;gap:7px}
dialog.gmava-readable.gmava-contest-detail-dialog {width:calc(100vw - 48px);max-width:none;max-height:calc(100dvh - 48px)}
.gmava-contest-detail-dialog .gmava-detail-body {padding:14px 18px}
.gmava-contest-detail-dialog .gmava-detail-person {padding:0;margin-bottom:18px}
.gmava-contest-detail-dialog .gmava-detail-person>h3 {font-size:1.05rem;margin:0 0 4px}
.gmava-contest-detail-dialog .gmava-detail-person>p {font-size:.82rem;margin:0 0 10px}
@media(max-width:760px) {
  .brand-production-view .brand-summary-grid,.gmava-report-view #multibrandSummary {grid-template-columns:repeat(2,minmax(0,1fr))}
  .brand-production-view .workflow-strip {overflow:auto;display:flex}
  .brand-production-view .workflow-step {min-width:150px}
  #vodafonePracticeDetailDialog,dialog.gmava-readable.gmava-contest-detail-dialog {width:calc(100vw - 12px);max-height:calc(100dvh - 12px);padding:12px}
  .report-person>summary {flex-direction:column}
  .report-filter label,.report-filter label:first-child {min-width:calc(50% - 10px)}
}

.report-vincolata {display:flex;align-items:center;justify-content:space-between;gap:16px;margin:14px 0;padding:14px 16px;border:1px solid #e6c184;border-left:4px solid #b97713;border-radius:8px;background:#fff8eb}
.report-vincolata.reached {border-color:#9ac9b5;border-left-color:#19734f;background:#edf8f1}
.report-vincolata p {margin:5px 0;font-size:.88rem}
.report-vincolata small {color:var(--muted)}
.report-vincolata-value {font-size:1.5rem;white-space:nowrap}
@media(max-width:480px){.report-vincolata {flex-wrap:wrap}.report-vincolata-value {font-size:1.3rem}}

/* r311 · Avanzamento TIM distinto per PDV. */
.tim-contest-progress-store{margin:18px 0}.tim-contest-progress-store table{min-width:850px}.tim-contest-progress-store th,.tim-contest-progress-store td{vertical-align:top}.tim-contest-progress-store td small{display:block;margin-top:5px}.tim-progress-requirement{color:#955a00}.tim-progress-requirement.reached{color:#24714a}

/* Vodafone: one monthly layout, with no changes to economic rules. */
.vodafone-commission-calculation{min-width:230px;max-width:350px;white-space:normal;line-height:1.5}
.vodafone-track-summary button:disabled{opacity:1;cursor:default}
.vodafone-track-summary button:focus-visible{outline:2px solid #2563eb;outline-offset:-3px}

.vodafone-invoice-summary{margin:18px 0;padding:18px;border:1px solid var(--border,#dce3e8);border-radius:12px;background:var(--panel,#fff)}
.vodafone-invoice-summary h4{margin:0 0 12px}
.vodafone-invoice-summary .panel-head-actions{margin:16px 0 12px;display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.vodafone-invoice-summary table{width:100%;min-width:580px}
.vodafone-invoice-summary .table-card{overflow-x:auto}
.vodafone-invoice-summary input[type=month]{margin-left:8px;padding:7px;border:1px solid var(--border,#dce3e8);border-radius:6px}
.vodafone-invoice-summary .invoice-total{font-weight:700;background:var(--surface-soft,#f1f7f5)}
