.identity-dialog{width:min(620px,calc(100vw - 32px));max-height:90vh;overflow-y:auto}
.identity-dialog input,.identity-dialog textarea{box-sizing:border-box;width:100%;min-width:0}
.identity-dialog textarea{resize:vertical;line-height:1.45}
.identity-dialog label{display:block;margin-top:14px}
.identity-dialog small{display:block;line-height:1.45;margin:6px 0 12px;color:#697e76}
.identity-lookup{display:flex;gap:8px;align-items:center}.identity-lookup button{flex-shrink:0}
.identity-product{display:flex;gap:16px;align-items:center;margin:18px 0}.identity-product img{width:70px;height:88px;object-fit:contain}
.identity-product strong{font-size:20px}.identity-current{padding:12px 0;line-height:1.6;overflow-wrap:break-word}
.identity-current p{margin:4px 0}.identity-conflict{color:#aa3829;font-weight:600}
.matches-extra-card .identity-actions{display:flex;flex-wrap:wrap;gap:8px;grid-column:1/-1}
.variant-identifiers-body>.identity-edit{margin-top:8px;max-width:100%}
.gtin-plan-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:16px}
.gtin-plan-heading h2{margin:0 0 6px}.gtin-plan-heading p{margin:0;color:var(--muted,#61726b)}
.gtin-plan-policy{padding:14px 16px;margin-bottom:16px;border:1px solid #b8d9ca;border-radius:12px;background:#f0f8f4;color:#185e46}
.gtin-plan-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:18px;border:1px solid #dfe7e2;border-radius:14px;overflow:hidden;background:#fff}
.gtin-plan-stats>div{padding:18px 20px;border-right:1px solid #dfe7e2}.gtin-plan-stats>div:last-child{border-right:0}
.gtin-plan-stats span{display:block;color:#6c7d75;font-size:.9rem}.gtin-plan-stats strong{display:block;margin-top:8px;font-size:1.8rem;color:#102c23}
.gtin-plan-toolbar{margin-bottom:12px}.gtin-plan-table{margin-bottom:6px}
.gtin-plan-product,.gtin-plan-destination{display:flex;flex-direction:column;gap:5px;min-width:170px}
.gtin-plan-product strong,.gtin-plan-destination strong{color:#102c23}.gtin-plan-product small,.gtin-plan-destination small{color:#63746d;line-height:1.35}
.gtin-plan-destination code{white-space:normal;overflow-wrap:anywhere;color:#1e654f;background:transparent;padding:0}
.gtin-plan-state{display:inline-flex;align-self:flex-start;padding:4px 9px;border-radius:999px;font-size:.78rem;font-weight:700}
.gtin-plan-state.ok{background:#e6f5ed;color:#126044}.gtin-plan-state.change{background:#e8f1ff;color:#265b96}
.gtin-plan-state.off{background:#eef1ef;color:#617069}.gtin-plan-state.attention{background:#fff0cc;color:#865d00}
.gtin-plan-state.error{background:#fde7e5;color:#a6322b}.gtin-plan-action{display:inline-flex;align-self:flex-start;max-width:100%;padding:7px 11px;border:1px solid transparent;border-radius:999px;font-size:.78rem;font-weight:800;line-height:1.25;text-align:left;white-space:normal}.gtin-plan-action.attention{background:#ffd966;color:#5d4300;border-color:#d7ad31}.gtin-plan-action.attention:hover{background:#ffcf3e}.gtin-plan-action.change{background:#dbeaff;color:#174f8d;border-color:#9ec2eb}.gtin-plan-action.change:hover{background:#c9dfff}.gtin-plan-action.ok{background:#dff3e9;color:#0c5c3e;border-color:#98cfb5}.gtin-plan-action:disabled{cursor:wait;opacity:.75}.data-transfer-divider{height:1px;margin:32px 0;background:#dfe7e2}
@media(max-width:900px){.gtin-plan-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.gtin-plan-stats>div:nth-child(2){border-right:0}.gtin-plan-stats>div:nth-child(-n+2){border-bottom:1px solid #dfe7e2}}
@media(max-width:560px){.gtin-plan-heading{display:block}.gtin-plan-heading .readonly-badge{display:inline-flex;margin-top:10px}.gtin-plan-stats{grid-template-columns:1fr}.gtin-plan-stats>div{border-right:0;border-bottom:1px solid #dfe7e2}.gtin-plan-stats>div:last-child{border-bottom:0}}
.section-loading{display:flex;align-items:center;gap:.7rem;margin:.85rem 0;padding:.75rem 1rem;border:1px solid #d9e5dc;border-radius:12px;background:#f4f8f4;color:#1c513f}.section-loading[hidden]{display:none}.section-loading>span{width:1rem;height:1rem;border:2px solid #b9d1c3;border-top-color:#1e644c;border-radius:50%;animation:section-spin .8s linear infinite}.section-loading small{color:#61756c}.tabs button:disabled{opacity:.65;cursor:wait}@keyframes section-spin{to{transform:rotate(360deg)}}
