.ath-product-overlay{position:fixed;inset:0;z-index:11000;padding:24px;background:#020617c9;backdrop-filter:blur(7px);display:grid;place-items:center}
.ath-registry-dialog{padding:0;width:min(600px,calc(100% - 24px));max-height:90dvh;margin:auto}
.ath-registry-dialog:not([open]){display:none}
.ath-registry-dialog::backdrop{background:#020617c9}
.ath-registry-dialog form{display:flex;flex-direction:column;min-height:0;overflow:auto}
.ath-registry-dialog .product-scroll{padding-top:20px}
.ath-registry-dialog .product-field{margin-bottom:16px}
.product-registry-actions{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0}
.product-registry-actions button,.product-registry-row{padding:12px;border:1px solid #475569;border-radius:10px;background:#17304d;color:#e2e8f0;cursor:pointer}
.product-registry-row{display:flex;width:100%;justify-content:space-between;gap:16px;margin-bottom:8px;text-align:left}
@media(max-width:680px){.product-registry-actions{flex-direction:column}.product-registry-actions button{width:100%}}
.ath-product-shell{width:min(1080px,100%);max-height:92dvh;display:flex;flex-direction:column;overflow:hidden;background:#0f172a;border:1px solid #334155;border-radius:22px;color:#f8fafc;box-shadow:0 28px 90px #0008;font:14px system-ui,sans-serif;box-sizing:border-box}
.ath-product-shell *{box-sizing:border-box}.ath-product-shell [hidden]{display:none!important}
.ath-product-shell header{padding:20px 24px;display:flex;align-items:center;justify-content:space-between;background:linear-gradient(110deg,#0c4a6e,#155e75 65%,#867b35)}
.ath-product-shell h2{margin:0;font-size:17px;font-weight:800;color:#fff}.ath-product-shell header button{background:transparent;border:0;color:#fff;font-size:26px;padding:0 8px}
.ath-product-shell form{display:flex;flex-direction:column;min-height:0;overflow:hidden;margin:0}.ath-product-shell button{cursor:pointer;padding:10px 18px;border:1px solid #475569;border-radius:10px;background:#1e293b;color:#e2e8f0;font:inherit;font-weight:600}.ath-product-shell button.primary{background:linear-gradient(100deg,#03638b,#0b8cf0);border-color:transparent;color:white;min-width:112px}.ath-product-shell button:disabled{opacity:.5;cursor:wait}
.product-tabs{display:flex;padding:22px 22px 0;gap:6px;flex-shrink:0;border-bottom:1px solid #334155;background:#0f172a}.product-tabs button{border:1px solid transparent;border-radius:12px 12px 0 0;padding:14px 20px;color:#94a3b8;background:transparent;font-size:13px}.product-tabs button[aria-selected=true]{color:#38bdf8;border-color:#334155;background:#172438;border-bottom-color:#172438}
.product-scroll{overflow-y:auto;min-height:0;padding:0 32px 22px;scrollbar-width:thin;scrollbar-color:#475569 transparent}.product-section{padding:22px 0;border-bottom:1px solid #263448}.product-section:last-child{border-bottom:0}.product-section h3{color:#38bdf8;font-size:14px;font-weight:500;margin:0 0 20px}
.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 28px}.product-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.product-grid+.product-grid{margin-top:22px}
.product-field{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:700;color:#e2e8f0;min-width:0;margin:0}.product-field input,.product-field select,.product-field textarea{width:100%;padding:12px;border:1px solid #475569;border-radius:11px;background:#1e293b;color:#f8fafc;font:14px system-ui,sans-serif;box-shadow:none;min-height:43px;margin:0}.product-field textarea{resize:vertical;line-height:1.5}.product-field input:focus,.product-field select:focus,.product-field textarea:focus{outline:2px solid #0ea5e9;outline-offset:2px}.product-field input[readonly]{color:#94a3b8;background:#162034}.product-field em{color:#fb7185;font-style:normal}.product-field small,.product-help{font-size:11px;font-weight:400;color:#94a3b8}
.product-inline{display:flex;gap:10px;align-items:center}.product-inline button{background:linear-gradient(110deg,#075985,#0284c7);color:white;border:0;min-height:43px;min-width:48px;font-size:22px}.product-inline input{flex:1;min-width:0}
.product-grade{padding:18px;border:1px solid #334155;border-radius:12px;margin-bottom:16px}.product-grade>.product-field{margin-top:20px}.product-grade .product-remove{margin-top:12px;color:#fda4af;font-size:12px}.product-photo{width:150px;height:130px;object-fit:contain;background:#172438;border-radius:12px}[data-fraction],[data-delivery],[data-vessel]{margin-top:20px}
@media(max-width:600px){.inventory-workspace{padding:16px!important;text-align:center}.inventory-workspace>div:first-child{justify-content:center!important}.inventory-workspace>div:first-child>div{justify-content:center!important;width:100%}.inventory-workspace>div:first-child button{width:100%;max-width:420px;min-height:46px}.inventory-workspace>div:nth-child(2){grid-template-columns:repeat(2,minmax(0,1fr))!important}.inventory-workspace table{text-align:left}.ath-product-shell header{padding:16px}.product-tabs{justify-content:center}.product-tabs button{flex:1;padding:12px 8px}.product-scroll{padding:0 16px 20px}}
.ath-product-message{margin:0;padding:0 24px;color:#fbbf24;white-space:pre-wrap;font-size:13px}.ath-product-message:not(:empty){padding:12px 24px}.ath-product-shell footer{display:flex;justify-content:flex-end;gap:14px;padding:18px 24px;background:#111c2f;border-top:1px solid #334155;flex-shrink:0}
@media(max-width:680px){.ath-product-overlay{padding:8px}.ath-product-shell{max-height:98dvh;border-radius:14px}.product-scroll{padding:0 16px 16px}.product-tabs{padding:12px 8px 0;gap:0}.product-tabs button{font-size:11px;padding:12px 9px;flex:1}.product-grid,.product-grid.three{grid-template-columns:1fr}.ath-product-shell header{padding:14px 16px}}
