/* Samurai Store V1.39.8 · editor ampliado de cuentas y perfiles */
.v1397-account-editor-bg{padding:18px!important;place-items:center!important;background:rgba(2,7,16,.80)!important;backdrop-filter:blur(5px)}
.v1397-account-editor{width:min(1180px,97vw)!important;max-width:1180px!important;height:min(92vh,900px);max-height:92vh!important;padding:0!important;overflow:hidden!important;display:flex;flex-direction:column;border:1px solid #263a56!important;border-radius:20px!important;background:#07111e!important;box-shadow:0 34px 95px rgba(0,0,0,.58)!important}
.v1397-account-editor-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:20px 22px;border-bottom:1px solid #1d2e45;background:linear-gradient(180deg,#0d1a2c,#091421);flex:none}
.v1397-account-editor-kicker{display:inline-flex;padding:5px 8px;border:1px solid #29456c;border-radius:999px;background:#0a1a2d;color:#8db6ff;font-size:8px;font-weight:900;letter-spacing:.09em}
.v1397-account-editor-head h2{margin:9px 0 4px!important;font-size:24px!important;color:#f1f6ff}
.v1397-account-editor-head p{margin:0;color:#8296b1;font-size:11px;overflow-wrap:anywhere}
.v1397-account-editor-close{width:42px;height:42px;display:grid;place-items:center;border:1px solid #304866;border-radius:13px;background:#101d2d;color:#dce8f7;cursor:pointer;font-size:16px;flex:none}
.v1397-account-editor-close:hover{background:#17283d}
.v1397-account-editor-scroll{flex:1;min-height:0;overflow:auto;padding:18px 22px 24px;overscroll-behavior:contain}
.v1397-account-editor-scroll>.edit-account-warning,.v1397-account-editor-scroll>.multiadmin-lock-note{margin-bottom:12px}
.v1397-editor-section{margin-top:14px;padding:16px;border:1px solid #1d3048;border-radius:16px;background:linear-gradient(180deg,#0a1624,#08121e)}
.v1397-editor-section:first-of-type{margin-top:0}
.v1397-editor-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;padding-bottom:11px;border-bottom:1px solid #1b2c41}
.v1397-editor-section-head>div{display:flex;align-items:center;gap:9px;min-width:0}
.v1397-editor-section-head>div>span{width:31px;height:31px;display:grid;place-items:center;border:1px solid #29445f;border-radius:10px;background:#0d1e31;flex:none}
.v1397-editor-section-head b{display:block;color:#edf4ff;font-size:12px}
.v1397-editor-section-head small{display:block;margin-top:2px;color:#7186a0;font-size:9px;line-height:1.4}
.v1397-editor-badge{display:inline-flex;align-items:center;justify-content:center;padding:6px 9px;border:1px solid #2a4568;border-radius:999px;background:#0e1d32;color:#96baff;font-size:8px;font-weight:900;white-space:nowrap}
.v1397-editor-grid{display:grid;gap:12px}.v1397-editor-grid-3{grid-template-columns:1.35fr 1.15fr .9fr}.v1397-editor-grid-2{grid-template-columns:1fr 1fr}
.v1397-editor-section .field{margin:0}.v1397-editor-section>.field{margin-top:12px}
.v1397-editor-section input,.v1397-editor-section select,.v1397-editor-section textarea{min-height:42px;border-color:#2a3e58!important;background:#0b1725!important;color:#eef5ff!important}
.v1397-editor-section textarea{min-height:78px;padding-top:10px}
.v1397-code-tools{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.v1397-code-tools .btn{font-size:9px}
.v1397-shared-login-box{margin:14px 0!important;border-radius:15px!important}
.v1397-profile-section-head{align-items:center}.v1397-profile-section-head .btn{white-space:nowrap}
.v1397-account-profiles-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:10px}
.v1397-profile-card{position:relative;min-width:0;padding:13px;border:1px solid #294059;border-radius:14px;background:#0a1522;transition:.16s ease}
.v1397-profile-card.current{border-color:#547cff;box-shadow:0 0 0 1px rgba(84,124,255,.28),0 10px 26px rgba(0,0,0,.18)}
.v1397-profile-card.available{border-color:#176a4a}.v1397-profile-card.delivered{border-color:#7a3440}.v1397-profile-card.reserved{border-color:#80601e}.v1397-profile-card.revoked{border-color:#7a3440;opacity:.82}
.v1397-profile-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.v1397-profile-number{width:26px;height:26px;display:grid;place-items:center;border-radius:50%;background:#07101d;border:1px solid #2a4260;color:#cbd8ea;font-size:9px;font-weight:900;flex:none}
.v1397-profile-status{padding:4px 7px;border-radius:999px;background:#172536;color:#8fa4bd;font-size:7px;font-weight:900}.v1397-profile-card.available .v1397-profile-status{background:#0c3827;color:#80e1b1}.v1397-profile-card.delivered .v1397-profile-status{background:#3d1720;color:#ff9dab}.v1397-profile-card.reserved .v1397-profile-status{background:#3b2b0d;color:#f1ce75}
.v1397-profile-card h4{margin:12px 0 4px;color:#edf4ff;font-size:12px;overflow-wrap:anywhere}.v1397-profile-card p{min-height:28px;margin:0;color:#71869f;font-size:8px;line-height:1.45;overflow-wrap:anywhere}
.v1397-profile-card-meta{display:grid;gap:5px;margin-top:10px;padding-top:9px;border-top:1px solid #1b2b3e}.v1397-profile-card-meta span{color:#8ca0b8;font-size:8px;overflow-wrap:anywhere}.v1397-profile-card-meta b{color:#dbe7f6}
.v1397-profile-card .btn{width:100%;margin-top:10px;min-height:34px;font-size:8px}
.v1397-add-profile-panel{margin-top:13px;padding:14px;border:1px dashed #3a5f8c;border-radius:14px;background:#0b1a2b}.v1397-add-profile-title{display:flex;justify-content:space-between;gap:10px;margin-bottom:12px}.v1397-add-profile-title b{color:#e7f0ff;font-size:11px}.v1397-add-profile-title span{color:#7890ac;font-size:8px}.v1397-add-profile-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}
.v1397-linked-users{display:grid;gap:8px}.v1397-linked-user{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px 12px;border:1px solid #1d3047;border-radius:12px;background:#091522}.v1397-linked-user b{display:block;color:#e5eefb;font-size:10px}.v1397-linked-user span{display:block;margin-top:3px;color:#71849d;font-size:8px}.v1397-linked-user small{color:#98abc1;font-size:8px;text-align:right}.v1397-linked-empty{padding:13px;border:1px dashed #26394f;border-radius:12px;color:#70849c;font-size:9px;text-align:center}
.v1397-account-editor-actions{display:flex;justify-content:flex-end;gap:10px;padding:14px 22px;border-top:1px solid #1d2e45;background:#09131f;flex:none}.v1397-account-editor-actions .btn{min-width:145px}
body:has(#editInventoryModalBg:not(.hidden)){overflow:hidden}
@media(max-width:900px){.v1397-editor-grid-3{grid-template-columns:1fr 1fr}.v1397-editor-grid-3>.field:last-child{grid-column:1/-1}.v1397-account-profiles-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.v1397-account-editor-bg{padding:0!important}.v1397-account-editor{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important}.v1397-account-editor-head{padding:15px 14px}.v1397-account-editor-head h2{font-size:20px!important}.v1397-account-editor-scroll{padding:12px 12px 18px}.v1397-editor-section{padding:12px}.v1397-editor-grid-3,.v1397-editor-grid-2{grid-template-columns:1fr}.v1397-editor-grid-3>.field:last-child{grid-column:auto}.v1397-account-profiles-grid{grid-template-columns:1fr}.v1397-editor-section-head{align-items:flex-start}.v1397-profile-section-head{flex-direction:column}.v1397-profile-section-head .btn{width:100%}.v1397-add-profile-title{flex-direction:column}.v1397-add-profile-actions{display:grid;grid-template-columns:1fr 1fr}.v1397-account-editor-actions{padding:10px 12px}.v1397-account-editor-actions .btn{min-width:0;flex:1}.v1397-linked-user{grid-template-columns:1fr}.v1397-linked-user small{text-align:left}}


/* V1.39.8 · menú rápido + editor como vista completa */
.v1398-account-overview{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 14px;padding:12px 14px;border:1px solid #24415f;border-radius:15px;background:linear-gradient(90deg,#0b1a2c,#0b1723)}
.v1398-account-overview-copy{min-width:0}.v1398-account-overview-copy b{display:block;color:#eaf3ff;font-size:11px}.v1398-account-overview-copy span{display:block;margin-top:4px;color:#7f95ae;font-size:9px;line-height:1.4}.v1398-account-overview .btn{flex:none;white-space:nowrap}
.v1398-account-overview.migration{border-color:#6c4f19;background:linear-gradient(90deg,#251c0c,#101722)}.v1398-account-overview.migration .v1398-account-overview-copy span{color:#e8c873}.v1398-account-overview.migration #editMigrationToggleBtn{border-color:#356c52;background:#0e2c20;color:#9ce3bc}
.v1398-copy-field{display:grid;grid-template-columns:minmax(0,1fr) 42px;gap:7px;align-items:stretch}.v1398-copy-field input{min-width:0}.v1398-copy-btn{border:1px solid #2a3e58;border-radius:10px;background:#0c1a2a;color:#a7bbd5;cursor:pointer;font-size:14px}.v1398-copy-btn:hover{background:#14263c;color:#fff;border-color:#466589}
.shared-profile-compact-actions.v1398-options-only{grid-template-columns:1fr;padding-right:31px}.shared-profile-mini-btn.options{border-color:#3b4f6b;background:#101d2f;color:#c4d2e6}.shared-profile-mini-btn.options:hover{background:#172a43;color:#fff}
.account-action-divider{height:1px;margin:4px 7px;background:#26364d;opacity:.8}.account-card-actions .danger-zone-label{padding:4px 9px 2px;color:#a87e86;font-size:7px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;pointer-events:none}
@media(max-width:640px){.v1398-account-overview{align-items:stretch;flex-direction:column}.v1398-account-overview .btn{width:100%}.v1398-copy-field{grid-template-columns:minmax(0,1fr) 44px}}
