:root{font-family:Inter,PingFang SC,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.6;font-weight:400;color:#0f172a;background-color:#f4f6fb;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}body{margin:0;min-height:100vh;background-color:#f4f6fb;width:100%;max-width:100vw;overflow-x:hidden}#root{min-height:100vh;width:100%;max-width:100vw}html{width:100%;max-width:100vw;overflow-x:hidden}.app-shell{min-height:100vh;background:#f4f6fb;color:#0f172a;width:100%;max-width:100vw;overflow-x:hidden}.app-layout{display:grid;grid-template-columns:220px 1fr;min-height:100vh;position:relative;width:100%;max-width:100vw}.app-sidebar{background:#0f172a;color:#e2e8f0;padding:2rem 1.5rem;display:flex;flex-direction:column;gap:2rem;z-index:30}.sidebar-brand{font-weight:700;font-size:1.25rem}.sidebar-nav{display:flex;flex-direction:column;gap:.5rem}.sidebar-nav a{color:inherit;text-decoration:none;padding:.6rem .8rem;border-radius:.5rem;transition:background .2s ease}.sidebar-nav__disabled{padding:.6rem .8rem;border-radius:.5rem;color:#e2e8f073;background:#ffffff0f;cursor:not-allowed;display:inline-flex}.sidebar-nav a.active,.sidebar-nav a:hover{background:#ffffff1f}.app-main{display:flex;flex-direction:column;min-height:100vh;width:100%;max-width:100vw;overflow-x:hidden}.app-topbar{display:flex;justify-content:flex-end;align-items:center;padding:1rem 2rem;background:#fff;border-bottom:1px solid #e2e8f0;gap:.75rem;flex-wrap:wrap}.app-content{flex:1;padding:2rem;width:100%;max-width:100vw;overflow-x:hidden}.ghost-button{border-radius:999px;border:1px solid rgba(148,163,184,.6);padding:.65rem 1.2rem;background:transparent;cursor:pointer;transition:all .2s ease}.ghost-button:disabled{opacity:.6}.ghost-button:not(:disabled):hover{border-color:#4f46e5;color:#4f46e5}.logout-button{border:none;background:#f43f5e;color:#fff;padding:.65rem 1.2rem;border-radius:999px;font-size:.9rem;cursor:pointer;transition:opacity .2s ease}.logout-button:hover{opacity:.9}.primary-button{border:none;background:#ef4444;color:#fff;padding:.75rem 1.4rem;border-radius:.75rem;font-size:.95rem;cursor:pointer;transition:opacity .2s ease}.primary-button:disabled{opacity:.5;cursor:not-allowed}.fortress-button{position:fixed;right:1rem;bottom:1.25rem;z-index:35;width:54px;height:54px;border-radius:50%;border:none;background:linear-gradient(135deg,#0f172a,#1f2937);color:#fff;font-weight:700;letter-spacing:.1em;box-shadow:0 12px 30px #0f172a59;cursor:pointer;display:none;text-align:center;white-space:pre-line;line-height:1.15}.sidebar-overlay{position:fixed;inset:0;background:#0f172a66;z-index:25;opacity:0;transition:opacity .2s ease;pointer-events:none}.sidebar-overlay.visible{opacity:1;pointer-events:auto}@media(max-width:960px){.app-layout{grid-template-columns:1fr}.app-sidebar{position:fixed;inset:0 auto 0 0;width:260px;max-width:80%;height:100vh;transform:translate(-100%);transition:transform .25s ease;box-shadow:12px 0 30px #0f172a59}.app-shell.sidebar-open .app-sidebar{transform:translate(0)}.app-main{min-height:100vh}.app-topbar{justify-content:space-between;padding:1rem 1.25rem}.app-content{padding:1.25rem}.fortress-button{display:inline-flex;align-items:center;justify-content:center}}@media(max-width:640px){.app-topbar{padding:.9rem 1rem}.app-content{padding:1rem}}.login-shell{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:2rem 1rem;background:radial-gradient(circle at top,rgba(99,102,241,.15),transparent),#f4f6fb}.login-card{width:min(480px,100%);background:#fff;border-radius:1.5rem;padding:2.5rem;box-shadow:0 40px 80px #0f172a26;border:1px solid rgba(99,102,241,.15)}.login-headline h1{margin:.2rem 0 .5rem;font-size:2rem;color:#0f172a}.login-headline p{margin:0;color:#475569}.login-form{display:flex;flex-direction:column;gap:1rem;margin-top:1.5rem}.login-form label{display:flex;flex-direction:column;gap:.35rem;font-size:.95rem;color:#334155}.login-form input{border-radius:.75rem;border:1px solid #cbd5f5;padding:.85rem 1rem;font-size:1rem;transition:border-color .2s ease}.login-form input:focus{outline:none;border-color:#6366f1;box-shadow:0 0 0 3px #6366f133}.captcha-field{display:flex;flex-direction:column;gap:.35rem}.captcha-input-group{display:flex;gap:.75rem;align-items:center}.captcha-input-group input{flex:1}.captcha-box{min-width:90px;text-align:center;font-weight:600;letter-spacing:.2em;background:#0f172a;color:#e2e8f0;padding:.65rem .75rem;border-radius:.75rem;border:1px solid rgba(15,23,42,.3)}.captcha-refresh{border:1px solid rgba(99,102,241,.6);border-radius:999px;padding:.55rem 1.1rem;background:transparent;color:#4f46e5;cursor:pointer;transition:all .2s ease}.captcha-refresh:disabled{opacity:.6;cursor:not-allowed}.captcha-refresh:not(:disabled):hover{background:#4f46e51a}.login-form button{border:none;border-radius:999px;padding:.9rem 1rem;background:linear-gradient(135deg,#6366f1,#4338ca);color:#fff;font-weight:600;font-size:1rem;cursor:pointer;transition:opacity .2s ease}.login-form button[disabled]{opacity:.7;cursor:not-allowed}.form-error{color:#dc2626;font-size:.9rem;margin:0}.register-section{margin-top:1.5rem;padding-top:1.25rem;border-top:1px solid #e2e8f0;display:flex;flex-direction:column;gap:1rem}.register-headline h2{margin:0 0 .25rem;font-size:1.25rem}.register-headline p{margin:0;color:#475569;font-size:.95rem}.register-form{display:flex;flex-direction:column;gap:.85rem}.register-form label{display:flex;flex-direction:column;gap:.35rem;font-size:.95rem;color:#334155}.register-form input{border-radius:.75rem;border:1px solid #cbd5f5;padding:.8rem 1rem;font-size:1rem}.register-form button{border:none;border-radius:999px;padding:.85rem 1rem;background:linear-gradient(135deg,#0f172a,#1f2937);color:#fff;font-weight:600;font-size:1rem;cursor:pointer;transition:opacity .2s ease}.register-form button[disabled]{opacity:.7;cursor:not-allowed}.register-entry{margin-top:1.25rem;display:flex;justify-content:space-between;align-items:center;gap:.75rem}@media(max-width:640px){.login-shell{padding:1.5rem 1rem}.login-card{padding:1.75rem 1.5rem;border-radius:1rem}.login-headline{text-align:center}.login-form{gap:.85rem}.captcha-input-group{flex-direction:column;align-items:stretch}.captcha-box,.captcha-refresh,.login-form button,.register-form button{width:100%;text-align:center}}.dashboard-shell{margin:0 auto;max-width:960px;padding:3rem 1.5rem 4rem;display:flex;flex-direction:column;gap:2rem;color:#0f172a}.dashboard-topbar{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start;background:#fff;padding:2rem;border-radius:1.25rem;border:1px solid rgba(100,116,139,.18);box-shadow:0 20px 40px #0f172a14}.eyebrow{font-size:.875rem;text-transform:uppercase;letter-spacing:.08em;color:#6366f1;margin-bottom:.5rem}.dashboard-topbar h1{margin:0;font-size:clamp(2rem,4vw,3rem);color:#0f172a}.user-meta{display:flex;gap:1rem;flex-wrap:wrap;margin-top:.5rem;color:#475569}.topbar-actions{display:flex;gap:.75rem}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1.25rem}.stat-card{border-radius:1.25rem;padding:1.75rem;background:#fff;border:1px solid rgba(148,163,184,.4);box-shadow:0 15px 40px #0f172a14}.card-label{font-size:.85rem;text-transform:uppercase;letter-spacing:.08em;margin-bottom:.5rem;color:inherit}.metric-value{margin:0;font-size:2rem;font-weight:700;color:#1d4ed8}.card-subtitle{margin:.5rem 0 0;color:#475569}.panel{background:#fff;border-radius:1.25rem;border:1px solid #e2e8f0;box-shadow:0 15px 40px #0f172a14;padding:1.5rem}.panel-headline{margin-bottom:1rem}.panel-headline h2{margin:0}.announcement-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:1rem}.announcement-list li{display:flex;justify-content:space-between;gap:1rem}.announcement-title{margin:0;font-weight:600}.announcement-content{margin:.3rem 0 0;color:#475569;font-size:.9rem}.badge{background:#f97316;color:#fff;border-radius:999px;padding:.1rem .5rem;margin-left:.5rem;font-size:.75rem}.error-banner{margin:0;padding:.85rem 1rem;background:#fee2e2;color:#b91c1c;border-radius:.75rem;border:1px solid #fecaca}.panel.loading-panel{text-align:center;font-size:1rem;color:#475569}@media(max-width:900px){.dashboard-shell{padding:2rem 1rem 3rem}.dashboard-topbar{flex-direction:column;align-items:flex-start;padding:1.5rem}.topbar-actions{width:100%;justify-content:flex-end}.announcement-list li{flex-direction:column;align-items:flex-start}}@media(max-width:640px){.dashboard-shell{padding:1.5rem .8rem 2.5rem}.dashboard-topbar{padding:1.25rem}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}}.open-products-page{max-width:1100px;margin:0 auto;display:flex;flex-direction:column;gap:1.5rem}.open-products-header{display:flex;justify-content:space-between;align-items:center}.open-products-actions{display:flex;gap:.75rem;flex-wrap:wrap}.filter-row{display:flex;gap:1rem;flex-wrap:wrap}.filter-row button{padding:.6rem 1rem;border-radius:.5rem;border:1px solid #cbd5f5;background:#fff;cursor:pointer}.product-table{width:100%;border-collapse:collapse;background:#fff;border-radius:1rem;overflow:hidden;border:1px solid #e2e8f0}.product-table th,.product-table td{padding:.85rem 1rem;border-bottom:1px solid #e2e8f0;text-align:left}.product-table th{background:#f8fafc;font-weight:600;font-size:.9rem}.status-pill{display:inline-flex;padding:.2rem .8rem;border-radius:999px;font-size:.8rem}.status-pill.published{background:#22c55e26;color:#15803d}.status-pill.draft{background:#facc1533;color:#a16207}.status-pill.archived{background:#f8717133;color:#b91c1c}.purchase-panel{background:#fff;padding:1.5rem;border-radius:1rem;border:1px solid #e2e8f0;display:flex;flex-direction:column;gap:1rem}.purchase-panel h3{margin:0}.purchase-panel label{display:flex;flex-direction:column;gap:.35rem;max-width:200px}.purchase-panel label input{padding:.5rem .6rem;border-radius:.5rem;border:1px solid #cbd5f5}.quantity-input{width:120px}.summary-bar{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap}.cost-display{font-size:1.1rem;font-weight:600}.pay-type-row{display:flex;gap:1rem;align-items:center;font-size:.95rem}.pay-type-row label{flex-direction:row;align-items:center;gap:.3rem;margin:0}.result-banner{padding:.75rem 1rem;border-radius:.75rem;font-size:.9rem}.result-banner.success{background:#22c55e26;color:#166534}.result-banner.error{background:#f8717133;color:#991b1b}.pending-payment-panel{padding:.85rem 1rem;border-radius:.75rem;border:1px dashed #cbd5f5;background:#f8fafc;display:flex;flex-direction:column;gap:.6rem}.pending-actions{display:flex;gap:.75rem;flex-wrap:wrap}.code-columns{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1rem;margin-top:1rem}.code-column{border:1px solid #e2e8f0;border-radius:.75rem;padding:.9rem;background:#fff;display:flex;flex-direction:column;gap:.75rem}.code-column__header{display:flex;justify-content:space-between;align-items:center;gap:.5rem}.activation-modal-mask{position:fixed;inset:0;background:#0f172a73;display:flex;justify-content:center;align-items:center;z-index:30;padding:1.5rem}.activation-modal{background:#fff;border-radius:1rem;width:min(700px,100%);box-shadow:0 15px 60px #0003;display:flex;flex-direction:column;overflow:hidden;position:relative}.activation-modal__header,.activation-modal__footer{padding:1rem 1.25rem;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;align-items:center}.activation-modal__footer{border-top:1px solid #e2e8f0;border-bottom:0;gap:.75rem}.activation-modal__body{padding:1rem 1.25rem;max-height:400px;overflow:auto}.activation-subtitle{margin:.2rem 0 0;color:#64748b;font-size:.95rem}.close-button{padding:.5rem .75rem}.code-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.35rem}.code-item{display:flex;align-items:center;justify-content:space-between;padding:.55rem .75rem;border:1px solid #e2e8f0;border-radius:.5rem;background:#f8fafc;font-family:Consolas,Courier New,monospace}.muted{color:#94a3b8;margin:0}.copy-toast{position:absolute;bottom:1rem;left:50%;transform:translate(-50%);background:#0f172a;color:#fff;padding:.5rem .9rem;border-radius:999px;font-size:.9rem}@media(max-width:900px){.open-products-header{flex-direction:column;align-items:flex-start;gap:.75rem}.open-products-actions{width:100%;justify-content:flex-start}.filter-row{flex-direction:column;align-items:stretch}.filter-row select,.filter-row input,.filter-row button{width:100%}.product-table th,.product-table td{padding:.75rem .8rem}.purchase-panel{padding:1.25rem}.summary-bar{flex-direction:column;align-items:flex-start}}@media(max-width:640px){.open-products-page{padding:0 .25rem}.open-products-actions{gap:.5rem}.code-columns{grid-template-columns:1fr}.code-item{font-size:.9rem}.activation-modal__header,.activation-modal__footer{flex-direction:column;align-items:flex-start}.activation-modal__footer{gap:.5rem}}.activation-codes-page{max-width:1100px;margin:0 auto;display:flex;flex-direction:column;gap:1.5rem}.activation-codes-header{display:flex;justify-content:space-between;align-items:center}.activation-codes-header h1{margin-bottom:.2rem}.header-actions{display:flex;gap:.75rem}.filter-row{display:flex;flex-wrap:wrap;gap:.75rem}.filter-row select,.filter-row input{padding:.6rem .8rem;border-radius:.5rem;border:1px solid #cbd5f5;min-width:180px}.cooldown-tip{color:#64748b;font-size:.9rem}.result-banner{background:#3b82f61f;padding:.6rem .8rem;border-radius:.75rem;border:1px solid rgba(59,130,246,.2)}.table-wrapper{overflow-x:auto;background:#fff;border-radius:1rem;border:1px solid #e2e8f0}.activation-table{width:100%;border-collapse:collapse}.activation-table th,.activation-table td{padding:.75rem 1rem;border-bottom:1px solid #e2e8f0;text-align:left}.activation-table th{background:#f8fafc;font-weight:600;font-size:.9rem}.code-cell{font-family:Fira Code,Consolas,SFMono-Regular,monospace}.status-pill{padding:.15rem .8rem;border-radius:999px;font-size:.8rem;display:inline-flex}.status-pill.unused{background:#3b82f626;color:#1d4ed8}.status-pill.used{background:#f8717126;color:#b91c1c}.status-pill.reserved{background:#fbbf2433;color:#b45309}.pagination-buttons{display:flex;gap:.5rem}.modal-backdrop{position:fixed;inset:0;background:#0f172a73;display:flex;align-items:center;justify-content:center;z-index:20}.modal-card{background:#fff;padding:1.5rem;border-radius:1rem;width:min(420px,90vw);display:flex;flex-direction:column;gap:1rem}.modal-card select{padding:.6rem .8rem;border-radius:.5rem;border:1px solid #cbd5f5}.modal-actions{display:flex;justify-content:flex-end;gap:.75rem}@media(max-width:900px){.activation-codes-page{padding:0 .25rem;gap:1.25rem}.activation-codes-header{flex-direction:column;align-items:flex-start;gap:.75rem}.header-actions{width:100%;flex-wrap:wrap;justify-content:flex-start}.filter-row{flex-direction:column;align-items:stretch}.filter-row select,.filter-row input{width:100%}.table-wrapper{border-radius:.75rem}.activation-table th,.activation-table td{padding:.65rem .7rem;font-size:.9rem}.pagination-bar{flex-direction:column;align-items:flex-start;gap:.5rem}}@media(max-width:640px){.activation-codes-header h1{margin-bottom:.5rem}.header-actions button{width:100%}.activation-table th:first-child,.activation-table td:first-child{width:44px}.modal-card{width:min(420px,95vw);padding:1.25rem}.modal-actions{flex-direction:column;align-items:stretch}}.base-orders-page{display:flex;flex-direction:column;gap:16px}.page-card{background:#fff;border-radius:12px;padding:16px 20px;box-shadow:0 1px 3px #0f172a14;width:100%;max-width:100%}.base-orders-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:12px 16px;align-items:end}.date-filter,.filter-actions{grid-column:span 2}.filter-group{display:flex;flex-direction:column;gap:8px;font-size:14px;color:#475569}.filter-group select,.filter-group input{padding:8px 10px;border:1px solid #cbd5f5;border-radius:8px;font-size:14px}.filter-group input[type=date]{color:#1f2937}.date-range{display:flex;gap:8px;align-items:center}.search-row{display:flex;gap:8px}.search-row select{width:120px}.search-row input{flex:1}.filter-actions{display:flex;justify-content:flex-end;gap:12px}.primary-button,.ghost-button{border-radius:8px;padding:8px 16px;border:none;cursor:pointer;font-size:14px}.primary-button{background:#ef4444;color:#fff}.ghost-button{background:transparent;border:1px solid #cbd5f5;color:#475569}.ghost-button:disabled,.primary-button:disabled{opacity:.6;cursor:not-allowed}.result-banner{padding:12px 16px;background:#fee2e2;border:1px solid #fecaca;border-radius:10px;color:#991b1b}.table-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;flex-wrap:wrap;gap:8px 12px;font-size:14px;color:#475569}.table-toolbar-actions{display:flex;gap:8px;align-items:center}.table-toolbar select{border-radius:6px;border:1px solid #cbd5f5;padding:4px 8px}.table-wrapper{overflow-x:auto;max-width:100%}.base-orders-table{width:100%;border-collapse:collapse;font-size:14px}.base-orders-table th,.base-orders-table td{border-bottom:1px solid #e2e8f0;padding:10px 12px;text-align:left;vertical-align:top;white-space:normal}.base-orders-table th{background:#f8fafc;font-weight:600;color:#1f2937}.product-cell{display:flex;flex-direction:column;gap:4px}.product-title{color:#0f172a;font-weight:500}.product-code{font-size:12px;color:#94a3b8}.status-pill{padding:2px 8px;border-radius:999px;font-size:12px;font-weight:600;text-transform:none}.status-paid{background:#dcfce7;color:#166534}.status-pending{background:#fef9c3;color:#92400e}.status-failed{background:#fee2e2;color:#991b1b}.status-activation_failed{background:#e0f2fe;color:#075985}.status-notify_failed{background:#fef3c7;color:#92400e}.pagination-bar{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}.disabled-action{color:#cbd5f5;font-size:12px}.status-reason{display:inline-block;max-width:220px;font-size:12px;color:#0f172a;word-break:break-all;white-space:pre-wrap}@media(max-width:900px){.base-orders-page{gap:12px}.page-card{padding:14px}.base-orders-filters{grid-template-columns:1fr}.date-filter,.filter-actions{grid-column:span 1}.date-range{flex-direction:column;align-items:flex-start}.search-row{flex-direction:column}.search-row select,.search-row input{width:100%}.filter-actions{justify-content:stretch;flex-wrap:wrap}.filter-actions button{width:100%}.table-toolbar{flex-direction:column;align-items:flex-start;gap:8px}.base-orders-table th,.base-orders-table td{padding:8px 10px;white-space:normal}.pagination-bar{justify-content:space-between;gap:8px;flex-wrap:wrap}.status-reason{max-width:180px}}@media(max-width:768px){.base-orders-table,.base-orders-table thead,.base-orders-table tbody,.base-orders-table th,.base-orders-table td,.base-orders-table tr{display:block;width:100%}.base-orders-table thead{display:none}.base-orders-table tr{margin-bottom:10px;border:1px solid #e2e8f0;border-radius:12px;padding:8px;background:#fff}.base-orders-table td{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;padding:8px 6px;white-space:normal}.base-orders-table td:before{content:attr(data-label);font-weight:600;color:#475569;font-size:12px;flex:0 0 38%}.base-orders-table td:first-child{align-items:center}.product-cell{align-items:flex-end;text-align:right}.status-reason{max-width:none}}@media(max-width:640px){.base-orders-table{font-size:12.5px}.status-reason{max-width:140px}.table-wrapper{margin:0}}.my-account-page{display:flex;flex-direction:column;gap:16px}.account-summary-card h2{margin-top:0;margin-bottom:12px}.summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}.summary-label{display:block;font-size:13px;color:#64748b}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.form-grid label{display:flex;flex-direction:column;gap:6px;font-size:14px;color:#1f2937}.form-grid input{padding:8px 12px;border:1px solid #cbd5f5;border-radius:8px}.form-actions{display:flex;align-items:center;gap:12px}.form-status{font-size:13px;color:#0891b2}.section-tip{color:#94a3b8;font-size:13px;margin-top:-4px}@media(max-width:900px){.my-account-page{padding:0 .25rem}.summary-grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}.form-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}}@media(max-width:640px){.form-actions{flex-direction:column;align-items:stretch}}.admin-tenants-page{display:flex;flex-direction:column;gap:16px}.page-toolbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px}.filters{display:flex;gap:8px}.filters input,.filters select{padding:8px 10px;border-radius:8px;border:1px solid #cbd5f5}.table-wrapper{overflow-x:auto;border:1px solid #e2e8f0;border-radius:12px;background:#fff;max-width:100%}.table-wrapper table{width:100%;border-collapse:collapse}.table-wrapper th,.table-wrapper td{padding:12px 14px;border-bottom:1px solid #e2e8f0;text-align:left}.table-wrapper th{background:#f8fafc;font-size:14px}.muted{font-size:12px;color:#94a3b8}.status-pill{padding:2px 10px;border-radius:999px;font-size:12px;text-transform:uppercase}.status-pill.active{background:#22c55e26;color:#15803d}.status-pill.disabled{background:#f8717133;color:#b91c1c}.actions{display:flex;gap:8px}.result-banner,.error-banner{padding:10px 14px;border-radius:10px}.result-banner{background:#ecfeff;color:#0f766e}.error-banner{background:#fee2e2;color:#991b1b}.pagination-bar{display:flex;justify-content:space-between;align-items:center}.pagination-buttons{display:flex;gap:8px}.modal-backdrop{position:fixed;inset:0;background:#0f172a73;display:flex;align-items:center;justify-content:center;z-index:100}.modal-card{background:#fff;padding:20px;border-radius:12px;width:400px;display:flex;flex-direction:column;gap:12px}.modal-card label{display:flex;flex-direction:column;font-size:14px;gap:6px}.modal-card input,.modal-card select,.modal-card textarea{border-radius:8px;border:1px solid #cbd5f5;padding:8px}.modal-actions{display:flex;justify-content:flex-end;gap:8px}@media(max-width:900px){.page-toolbar{flex-direction:column;align-items:flex-start}.filters{width:100%;flex-wrap:wrap}.filters input,.filters select,.page-toolbar .ghost-button{width:100%}.pagination-bar{flex-direction:column;align-items:flex-start;gap:8px}}@media(max-width:768px){.table-wrapper table,.table-wrapper thead,.table-wrapper tbody,.table-wrapper th,.table-wrapper td,.table-wrapper tr{display:block;width:100%}.table-wrapper thead{display:none}.table-wrapper tr{margin-bottom:10px;border:1px solid #e2e8f0;border-radius:12px;padding:8px;background:#fff}.table-wrapper td{padding:8px 6px;display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.table-wrapper td:before{content:attr(data-label);font-weight:600;color:#475569;font-size:12px;flex:0 0 40%}.table-wrapper td.actions{justify-content:flex-end;gap:6px}.modal-card{width:95vw}}.admin-pricing-page{display:flex;flex-direction:column;gap:16px}.pricing-toolbar{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;align-items:center}.pricing-hint{margin:0;font-size:12px;color:#64748b;flex:1 1 100%}.pricing-filters{display:flex;gap:8px;flex-wrap:wrap}.full-activation-card{border:1px solid #e2e8f0;border-radius:12px;padding:14px;background:#fff;display:flex;flex-direction:column;gap:12px}.full-activation-header{display:flex;justify-content:space-between;align-items:center;gap:8px}.full-activation-list{display:flex;flex-direction:column;gap:10px}.full-activation-item{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc}.switch-row{display:flex;align-items:center;gap:6px;font-size:13px;color:#0f172a}.switch{position:relative;display:inline-block;width:46px;height:26px}.switch input{opacity:0;width:0;height:0}.slider{position:absolute;cursor:pointer;inset:0;background-color:#e2e8f0;transition:.2s;border-radius:34px}.slider:before{position:absolute;content:"";height:22px;width:22px;left:2px;bottom:2px;background-color:#fff;transition:.2s;border-radius:50%;box-shadow:0 1px 3px #0f172a4d}.switch input:checked+.slider{background-color:#34c759}.switch input:checked+.slider:before{transform:translate(20px)}.switch-label{min-width:88px}.pricing-filters select,.pricing-filters input{border:1px solid #cbd5f5;border-radius:8px;padding:8px 10px}.pricing-table-wrapper{border:1px solid #e2e8f0;border-radius:12px;overflow-x:auto;background:#fff;max-width:100%}.pricing-table{width:100%;border-collapse:collapse}.pricing-table th,.pricing-table td{padding:12px 14px;border-bottom:1px solid #e2e8f0;text-align:left}.pricing-table th{background:#f8fafc;font-size:14px}.pricing-pagination{display:flex;justify-content:flex-end;gap:8px;margin-top:8px}.pricing-modal{position:fixed;inset:0;background:#0f172a73;display:flex;align-items:center;justify-content:center;z-index:100}.pricing-modal-card{background:#fff;width:420px;border-radius:12px;padding:20px;display:flex;flex-direction:column;gap:12px}.pricing-modal-card label{display:flex;flex-direction:column;gap:6px;font-size:14px}.pricing-modal-card input,.pricing-modal-card select{border:1px solid #cbd5f5;border-radius:8px;padding:8px}.pricing-modal-actions{display:flex;justify-content:flex-end;gap:8px}.uniform-card{border:1px solid #e2e8f0;border-radius:12px;padding:16px;background:#fff;display:flex;flex-direction:column;gap:12px}.uniform-form{display:flex;flex-wrap:wrap;gap:12px}.uniform-form label{display:flex;flex-direction:column;gap:6px}.uniform-form input,.uniform-form select{border:1px solid #cbd5f5;border-radius:8px;padding:8px}@media(max-width:900px){.pricing-toolbar{flex-direction:column;align-items:flex-start}.pricing-filters,.pricing-filters select,.pricing-filters input{width:100%}.pricing-pagination{justify-content:space-between;flex-wrap:wrap}.uniform-form{flex-direction:column}.uniform-form label,.uniform-form input,.uniform-form select,.uniform-card .primary-button{width:100%}}@media(max-width:768px){.pricing-table,.pricing-table thead,.pricing-table tbody,.pricing-table th,.pricing-table td,.pricing-table tr{display:block;width:100%}.pricing-table thead{display:none}.pricing-table tr{margin-bottom:10px;border:1px solid #e2e8f0;border-radius:12px;padding:8px;background:#fff}.pricing-table td{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;padding:8px 6px}.pricing-table td:before{content:attr(data-label);font-weight:600;color:#475569;font-size:12px;flex:0 0 42%}.pricing-modal-card{width:95vw}}.admin-accounts-page{display:flex;flex-direction:column;gap:16px}.accounts-toolbar{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;align-items:center}.role-hint{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:12px 14px;font-size:14px;color:#475569}.role-hint ul{margin:6px 0 0;padding-left:18px;display:grid;gap:4px}.accounts-filters{display:flex;gap:8px;flex-wrap:wrap}.accounts-filters input,.accounts-filters select{border-radius:8px;border:1px solid #cbd5f5;padding:8px 10px}.accounts-table-wrapper{border:1px solid #e2e8f0;border-radius:12px;overflow-x:auto;background:#fff;max-width:100%}.accounts-table{width:100%;border-collapse:collapse}.accounts-table th,.accounts-table td{border-bottom:1px solid #e2e8f0;text-align:left;padding:12px 14px}.accounts-table th{background:#f8fafc;font-size:14px}.accounts-pagination{display:flex;justify-content:flex-end;gap:8px}.accounts-modal{position:fixed;inset:0;background:#0f172a73;display:flex;align-items:center;justify-content:center;z-index:120}.accounts-modal-card{width:450px;background:#fff;border-radius:12px;padding:20px;display:flex;flex-direction:column;gap:12px}.accounts-modal-card label{display:flex;flex-direction:column;gap:6px;font-size:14px}.accounts-modal-card input,.accounts-modal-card select{border:1px solid #cbd5f5;border-radius:8px;padding:8px}.accounts-modal-actions{display:flex;justify-content:flex-end;gap:8px}@media(max-width:900px){.accounts-toolbar{flex-direction:column;align-items:flex-start}.accounts-filters,.accounts-filters input,.accounts-filters select,.accounts-toolbar .primary-button{width:100%}.accounts-pagination{justify-content:space-between;flex-wrap:wrap}.accounts-modal-card{width:95vw}}@media(max-width:768px){.accounts-table,.accounts-table thead,.accounts-table tbody,.accounts-table th,.accounts-table td,.accounts-table tr{display:block;width:100%}.accounts-table thead{display:none}.accounts-table tr{margin-bottom:10px;border:1px solid #e2e8f0;border-radius:12px;padding:8px;background:#fff}.accounts-table td{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;padding:8px 6px;white-space:normal}.accounts-table td:before{content:attr(data-label);font-weight:600;color:#475569;font-size:12px;flex:0 0 42%}}.payment-config-page{display:flex;flex-direction:column;gap:16px}.admin-tabs{display:flex;flex-wrap:wrap;gap:8px}.admin-tab-link{padding:8px 12px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc;color:#0f172a;text-decoration:none;font-size:14px}.admin-tab-link.active{background:#0f172a;color:#fff;border-color:#0f172a}.payment-config-card{border:1px solid #e2e8f0;border-radius:12px;padding:16px;background:#fff;display:flex;flex-direction:column;gap:12px}.payment-config-meta{font-size:13px;color:#475569}.payment-config-form{display:flex;flex-direction:column;gap:12px}.payment-config-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}.payment-config-grid label{display:flex;flex-direction:column;gap:6px;font-size:14px;color:#0f172a}.payment-config-grid input,.payment-config-grid select,.payment-config-grid textarea{padding:8px 10px;border:1px solid #cbd5e1;border-radius:8px;font-size:14px;font-family:inherit}.payment-config-grid textarea{min-height:96px;resize:vertical}.payment-config-actions{display:flex;align-items:center;gap:10px}.payment-config-actions button{padding:10px 14px;border:none;border-radius:8px;background:#0f172a;color:#fff;cursor:pointer}.payment-config-actions button:disabled{opacity:.6;cursor:not-allowed}.error-text{color:#b91c1c;font-size:13px}.success-text{color:#059669;font-size:13px}.emergency-activation-page{display:flex;flex-direction:column;gap:16px}.emergency-card{border:1px solid #e2e8f0;border-radius:12px;padding:16px;background:#fff;display:flex;flex-direction:column;gap:12px}.emergency-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}.emergency-form label{display:flex;flex-direction:column;gap:6px;font-size:14px;color:#0f172a}.emergency-form input,.emergency-form select,.emergency-form textarea{padding:8px 10px;border:1px solid #cbd5e1;border-radius:8px;font-size:14px;font-family:inherit}.emergency-form textarea{min-height:80px;resize:vertical}.emergency-actions{display:flex;align-items:center;gap:10px}.emergency-actions button{padding:10px 14px;border:none;border-radius:8px;background:#0f172a;color:#fff;cursor:pointer}.emergency-actions button:disabled{opacity:.6;cursor:not-allowed}.emergency-logs{border:1px solid #e2e8f0;border-radius:12px;padding:12px;background:#fff}.emergency-logs table{width:100%;border-collapse:collapse;font-size:13px}.emergency-logs th,.emergency-logs td{padding:8px 6px;border-bottom:1px solid #e2e8f0;text-align:left}.emergency-logs th{font-weight:600;color:#0f172a}.emergency-pagination{display:flex;gap:8px;align-items:center;margin-top:8px}.emergency-pagination button{padding:6px 10px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;cursor:pointer}.emergency-pagination button:disabled{opacity:.5;cursor:not-allowed}.muted{color:#64748b;font-size:12px}.success-text{color:#059669}.error-text{color:#b91c1c}.emergency-result{margin-top:8px;padding:12px;border:1px dashed #cbd5e1;border-radius:10px;background:#f8fafc;display:flex;flex-direction:column;gap:10px}.emergency-result__header{display:flex;align-items:center;justify-content:space-between;gap:10px}.emergency-result__actions button{padding:6px 10px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;cursor:pointer}.emergency-codes{display:flex;flex-direction:column;gap:8px}.emergency-codes.history{gap:6px}.emergency-code{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;word-break:break-all}.emergency-code button{padding:6px 10px;border:none;border-radius:6px;background:#0f172a;color:#fff;cursor:pointer}.emergency-code button:disabled{opacity:.6;cursor:not-allowed}.emergency-code.history-header{background:#f8fafc;border-style:dashed}.emergency-codes-list{max-height:160px;overflow:auto;display:flex;flex-direction:column;gap:6px}.emergency-code.history-item{font-size:12px;padding:6px 8px}.full-bank-toggle{display:flex;align-items:center;gap:8px;font-size:13px;color:#0f172a;padding:8px 10px;border:1px dashed #cbd5e1;border-radius:8px;background:#f8fafc}.full-bank-toggle input{width:16px;height:16px}
