@import "https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap";@import "https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap";@import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap";html,body,#root{width:100%;min-width:0;min-height:100%;margin:0;padding:0}html{overflow-x:hidden}body{background:#f8fafc;min-height:100vh;font-family:Poppins,sans-serif;overflow-x:hidden}#root{min-height:100vh}a{color:inherit;text-decoration:none}button,input,select,textarea{font-family:inherit}img,svg,canvas{max-width:100%}.login-page{width:100%;height:100vh;position:relative;overflow:hidden}.login-bg{background-position:50%;background-repeat:no-repeat;background-size:cover;position:absolute;inset:0}.login-panel{z-index:10;position:absolute;top:50%;right:4%;transform:translateY(-50%)}.login-card{-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);background:#ffffffd1;border:1px solid #fff9;border-radius:28px;width:560px;max-width:90vw;padding:60px;transition:all .35s;box-shadow:0 25px 80px #0000002e,0 10px 35px #2563eb14}.login-card:hover{transform:translateY(-3px);box-shadow:0 35px 90px #00000038}.login-title{margin-bottom:35px}.login-title h1{color:#0f172a;font-size:36px;font-weight:700}.login-title p{color:#64748b;margin-top:8px;font-size:15px;line-height:24px}.error-box{color:#dc2626;background:#fee2e2;border-radius:12px;margin-bottom:18px;padding:12px;font-size:14px}form{flex-direction:column;display:flex}label{color:#334155;margin-bottom:8px;font-size:14px;font-weight:600}.input-group{background:#fff;border:1px solid #dbe4f0;border-radius:15px;align-items:center;height:64px;margin-bottom:18px;padding:0 18px;transition:all .3s;display:flex}.input-group:hover{border-color:#93c5fd}.input-group:focus-within{border-color:#2563eb;box-shadow:0 0 0 5px #2563eb1a}.input-group span{margin-right:14px;font-size:20px}.input-group input{color:#0f172a;background:0 0;border:none;outline:none;flex:1;font-size:17px}.input-group input::placeholder{color:#94a3b8}.eye-btn{cursor:pointer;background:0 0;border:none;font-size:20px}.forgot{text-align:right;color:#2563eb;cursor:pointer;margin-top:-5px;margin-bottom:24px;font-size:14px;font-weight:500;transition:all .3s}.forgot:hover{color:#1d4ed8}.login-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#2563eb,#06b6d4);border:none;border-radius:16px;height:62px;font-size:18px;font-weight:600;transition:all .35s}.login-btn:hover{transform:translateY(-2px);box-shadow:0 15px 35px #2563eb59}.login-btn:disabled{opacity:.7;cursor:not-allowed}.copyright{text-align:center;color:#64748b;margin-top:35px;font-size:13px}@media (width<=1024px){.bg-overlay{width:55%}.login-panel{right:4%}.login-card{width:390px;padding:35px}}@media (width<=768px){.bg-overlay{display:none}.login-panel{width:92%;max-width:420px;top:50%;left:50%;right:auto;transform:translate(-50%,-50%)}.login-card{width:100%;padding:30px}.login-title h1{font-size:30px}}@media (width<=480px){.login-card{border-radius:22px;padding:24px}.login-title h1{font-size:26px}.login-title p{font-size:13px}.input-group,.login-btn{height:50px}}body{overflow:hidden}.otp-page{width:100%;height:100vh;position:relative;overflow:hidden}.otp-bg{background-position:50%;background-repeat:no-repeat;background-size:cover;position:absolute;inset:0}.otp-overlay{background:linear-gradient(90deg,#fff0,#ffffff0f,#ffffff26,#ffffff47);width:38%;height:100%;position:absolute;top:0;right:0}.otp-panel{z-index:5;position:absolute;top:50%;right:6%;transform:translateY(-50%)}.otp-card{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#ffffffd1;border:1px solid #ffffffa6;border-radius:28px;width:430px;padding:45px;box-shadow:0 25px 70px #0000002e}.otp-heading{color:#3b82f6;margin-bottom:8px;font-size:22px;font-weight:600}.otp-title{margin-bottom:30px}.otp-title h1{color:#0f172a;font-size:34px}.otp-title p{color:#64748b;margin-top:8px;line-height:24px}.otp-email{color:#2563eb;margin-top:15px;font-weight:600}.otp-error{color:#dc2626;background:#fee2e2;border-radius:12px;margin-bottom:20px;padding:12px}.otp-box-container{justify-content:space-between;margin:25px 0;display:flex}.otp-input{text-align:center;border:2px solid #dbeafe;border-radius:16px;outline:none;width:56px;height:60px;font-size:24px;font-weight:700}.otp-input:focus{border-color:#2563eb;box-shadow:0 0 0 5px #2563eb1f}.otp-info{text-align:center;color:#64748b;margin-bottom:20px}.verify-button{color:#fff;cursor:pointer;background:linear-gradient(135deg,#2563eb,#06b6d4);border:none;border-radius:16px;width:100%;height:56px;font-size:16px;font-weight:600;transition:all .3s}.verify-button:hover{transform:translateY(-2px)}.resend{text-align:center;color:#2563eb;margin-top:20px;font-weight:500}.otp-footer{text-align:center;color:#64748b;margin-top:30px;font-size:13px}@media (width<=768px){.otp-overlay{display:none}.otp-panel{width:92%;left:50%;right:auto;transform:translate(-50%,-50%)}.otp-card{width:100%;padding:30px}.otp-title h1{font-size:28px}.resend-link{color:#2563eb;cursor:pointer;font-weight:600;transition:all .3s}.resend-link:hover{color:#1d4ed8;text-decoration:underline}.otp-input{width:48px;height:52px}}*{box-sizing:border-box;margin:0;padding:0;font-family:Poppins,sans-serif}body{background:#f5f8fc}.home-page{background:#f8fafc;width:100%}.home-content{width:100%;padding:35px;overflow:visible}.home-header{margin:8px 0 30px;padding:8px 0 0}.home-header h1{color:#172b4d;letter-spacing:-1.1px;overflow-wrap:anywhere;margin:0;font-size:clamp(28px,3vw,36px);font-weight:750;line-height:1.3}.home-header p{color:#64748b;letter-spacing:.1px;margin:10px 0 0;font-size:14px;font-weight:400;line-height:1.7}@media (width<=600px){.home-header{margin:4px 0 22px}.home-header h1{letter-spacing:-.6px;font-size:27px}.home-header p{margin-top:8px;font-size:13px}}.module-grid{grid-template-columns:repeat(3,minmax(260px,1fr));gap:28px;display:grid}@media (width<=1024px){.module-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=768px){.module-grid{grid-template-columns:1fr}}.module-card{cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:20px;padding:30px;transition:all .35s;position:relative;overflow:hidden;box-shadow:0 12px 30px #0000000d}.module-card:hover{transform:translateY(-8px);box-shadow:0 20px 40px #2563eb26}.module-icon{margin-bottom:20px;font-size:42px}.module-card h3{color:#0f172a;margin-bottom:10px;font-size:22px}.module-card p{color:#64748b;font-size:15px;line-height:24px}.open-dashboard{color:#2563eb;margin-top:18px;font-size:14px;font-weight:600;transition:all .3s}.module-card:hover .open-dashboard{transform:translate(6px)}.home-page{width:100%}.home-content{width:100%;max-width:none;padding:35px}.welcome-section{margin-bottom:30px}.search-box{margin-bottom:35px}.search-box input{border:1px solid #dbe4f0;border-radius:12px;outline:none;width:100%;max-width:420px;height:48px;padding:0 18px;font-size:15px;transition:all .3s}.search-box input:focus{border-color:#2563eb;box-shadow:0 0 0 4px #2563eb1f}.module-card:before{content:"";background:linear-gradient(90deg,#2563eb,#06b6d4);width:100%;height:5px;position:absolute;top:0;left:0}.home-header-bar{z-index:100;box-sizing:border-box;background:#fff;border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;gap:20px;width:100%;min-height:76px;padding:12px 32px;display:flex;position:relative;box-shadow:0 2px 8px #0f172a0a}.home-header-brand{align-items:center;gap:12px;min-width:0;display:flex}.home-header-logo{object-fit:contain;flex-shrink:0;width:46px;height:46px}.home-header-brand-text{flex-direction:column;gap:3px;display:flex}.home-header-brand-text h2{color:#0f172a;letter-spacing:-.4px;margin:0;font-size:19px;font-weight:800}.home-header-brand-text span{color:#64748b;font-size:12px}.home-header-actions{align-items:center;gap:12px;display:flex}.home-header-profile-wrap{position:relative}.home-header-profile{cursor:pointer;text-align:left;background:0 0;border:1px solid #0000;border-radius:12px;align-items:center;gap:10px;padding:5px 9px 5px 5px;display:flex}.home-header-profile:hover{background:#f8fafc;border-color:#e2e8f0}.home-header-avatar{color:#fff;background:#2f6fed;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;font-size:16px;font-weight:800;display:flex}.home-header-user-info{flex-direction:column;gap:3px;max-width:190px;display:flex}.home-header-user-info strong{color:#0f172a;font-size:13px;font-weight:700}.home-header-user-info span{color:#64748b;text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.home-header-chevron{color:#64748b;transition:transform .2s}.home-header-chevron.open{transform:rotate(180deg)}.home-header-dropdown{z-index:102;background:#fff;border:1px solid #e2e8f0;border-radius:12px;width:250px;padding:10px;position:absolute;top:calc(100% + 10px);right:0;box-shadow:0 12px 30px #0f172a24}.home-header-dropdown-user{color:#64748b;border-bottom:1px solid #e2e8f0;align-items:flex-start;gap:10px;padding:10px 8px 14px;display:flex}.home-header-dropdown-user div{flex-direction:column;gap:4px;min-width:0;display:flex}.home-header-dropdown-user strong{color:#0f172a;font-size:13px}.home-header-dropdown-user span{overflow-wrap:anywhere;color:#64748b;font-size:11px}.home-header-logout{color:#dc2626;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:8px;align-items:center;gap:10px;width:100%;margin-top:8px;padding:10px;font-size:13px;font-weight:700;display:flex}.home-header-logout:hover{background:#fef2f2}.home-header-dismiss{z-index:101;cursor:default;background:0 0;border:none;position:fixed;inset:0}@media (width<=600px){.home-header-bar{gap:8px;min-height:68px;padding:10px 14px}.home-header-logo{width:38px;height:38px}.home-header-brand{gap:8px}.home-header-brand-text h2{font-size:16px}.home-header-brand-text span{font-size:10px}.home-header-user-info{display:none}.home-header-profile{gap:5px;padding:4px}.home-header-avatar{width:36px;height:36px}.home-header-dropdown{width:min(250px,100vw - 28px)}}:root{--sg-blue:#2563eb;--sg-blue-dark:#1d4ed8;--sg-purple:#7c3aed;--sg-green:#16a34a;--sg-red:#dc2626;--sg-orange:#f59e0b;--sg-magenta:#c026d3;--sg-bg:#eef1f6;--sg-card:#fff;--sg-border:#e2e8f0;--sg-text:#0f172a;--sg-text-muted:#64748b;--sg-text-faint:#94a3b8;--sg-radius:14px;--sg-radius-sm:8px;--sg-shadow:0 1px 3px #0f172a0f, 0 1px 2px #0f172a0a;--sg-shadow-md:0 4px 14px #0f172a14;--sg-font:"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--sg-mono:"JetBrains Mono", "SFMono-Regular", Consolas, monospace}*{box-sizing:border-box}.dashboard,.dashboard *,.device-detail,.device-detail *{min-width:0}html,body{max-width:100%;overflow-x:hidden}.dashboard{font-family:var(--sg-font);background:var(--sg-bg);color:var(--sg-text);width:100%;max-width:100%;min-height:100vh;padding:20px;overflow-x:hidden}.dashboard-left,.dashboard-right{flex-direction:column;gap:18px;min-width:0;max-width:100%;display:flex}.dashboard-widget{background:var(--sg-card);border-radius:var(--sg-radius);border:1px solid var(--sg-border);box-shadow:var(--sg-shadow);max-width:100%;padding:20px 22px}.chart-row{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px;display:grid}.widget-title{color:var(--sg-text);letter-spacing:-.01em;margin:0 0 14px;font-size:16px;font-weight:700}.entity-hierarchy{background:var(--sg-card);border-radius:var(--sg-radius);border:1px solid var(--sg-border);box-shadow:var(--sg-shadow);max-width:100%;padding:16px;position:sticky;top:20px}.entity-search{background:var(--sg-bg);border:1px solid var(--sg-border);border-radius:var(--sg-radius-sm);align-items:center;gap:8px;margin-bottom:14px;padding:9px 12px;display:flex}.entity-hierarchy-title{color:var(--sg-text);letter-spacing:-.01em;margin:2px 0 14px 2px;font-size:19px;font-weight:800}.entity-all-customers{color:var(--sg-blue-dark);border-bottom:1px solid var(--sg-border);border-radius:0;margin-bottom:10px;padding-bottom:14px;font-weight:700}.entity-all-customers.active{border-radius:var(--sg-radius-sm);background:#dbeafe;border-bottom:none}.entity-all-customers .entity-icon{color:var(--sg-blue-dark)}.entity-icon{width:18px;height:18px;color:var(--sg-blue);flex-shrink:0}.entity-search input{font-family:var(--sg-font);color:var(--sg-text);background:0 0;border:none;outline:none;width:100%;min-width:0;font-size:13px}.entity-search svg{color:var(--sg-text-faint);flex-shrink:0}.entity-tree{flex-direction:column;gap:2px;max-height:640px;display:flex;overflow:hidden auto}.entity-node-row{border-radius:var(--sg-radius-sm);cursor:pointer;color:var(--sg-text);-webkit-user-select:none;user-select:none;align-items:center;gap:8px;width:100%;max-width:100%;padding:8px 10px;font-size:13.5px;font-weight:500;transition:background .12s;display:flex}.entity-node-row:hover{background:#f1f5f9}.entity-node-row.active{color:var(--sg-blue-dark);background:#dbeafe;font-weight:600}.entity-caret{width:14px;height:14px;color:var(--sg-text-faint);flex-shrink:0;transition:transform .15s}.entity-caret.expanded{transform:rotate(90deg)}.entity-label{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.entity-count{font-family:var(--sg-mono);color:var(--sg-blue);background:#eff6ff;border-radius:999px;flex-shrink:0;padding:1px 7px;font-size:11.5px;font-weight:600}.entity-children{border-left:1px dashed var(--sg-border);max-width:100%;margin-left:18px;padding-left:4px}.entity-leaf{color:var(--sg-text-muted);border-radius:var(--sg-radius-sm);cursor:pointer;align-items:center;gap:8px;max-width:100%;padding:7px 10px 7px 6px;font-size:12.5px;display:flex}.entity-leaf:hover{color:var(--sg-text);background:#f8fafc}.entity-leaf svg{width:14px;height:14px;color:var(--sg-text-faint);flex-shrink:0}.entity-leaf span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.entity-highlight{color:var(--sg-text);background:#fef08a;border-radius:3px;padding:0 1px}.entity-no-results{color:var(--sg-text-faint);text-align:center;padding:18px 8px;font-size:12.5px}.dashboard-banner{width:100%;max-width:100%;box-shadow:var(--sg-shadow-md);background:linear-gradient(90deg,#6d28d9,#2563eb,#b5179e);border-radius:28px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;padding:24px 30px;display:flex}.banner-content{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;width:100%;display:flex}.banner-content h1{color:#fff;margin:0;font-size:28px;font-weight:500}.banner-content p{color:#ffffffe6;margin-top:8px;font-size:15px}.banner-title{color:#fff;letter-spacing:-.01em;margin:0 0 4px;font-size:26px;font-weight:800}.banner-subtitle{color:#ffffffd9;margin:0;font-size:13.5px;font-weight:500}.live-badge,.banner-live-badge{color:#fff;letter-spacing:.05em;background:#ffffff2e;border-radius:999px;flex-shrink:0;align-items:center;gap:8px;margin-left:auto;padding:12px 22px;font-size:12.5px;font-weight:700;display:inline-flex}.live-dot,.banner-live-dot{background:#22c55e;border-radius:50%;width:10px;height:10px;animation:1.8s infinite banner-live-pulse;box-shadow:0 0 #22c55e99}@keyframes banner-live-pulse{0%{box-shadow:0 0 #22c55e99}70%{box-shadow:0 0 0 7px #22c55e00}to{box-shadow:0 0 #22c55e00}}.stat-cards-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:22px;width:100%;max-width:100%;margin-bottom:24px;display:grid}.stat-card{background:#fff;border:1px solid #e5e7eb;border-radius:24px;flex-direction:column;justify-content:center;align-items:center;min-width:0;min-height:240px;padding:22px 18px;transition:all .25s;display:flex;box-shadow:0 8px 25px #0000000f}.stat-card:hover{transform:translateY(-4px);box-shadow:0 15px 35px #0000001f}.stat-card-label{color:#374151;text-transform:uppercase;letter-spacing:.08em;text-align:center;margin-bottom:20px;font-size:16px;font-weight:700}.stat-ring-wrap{flex-shrink:0;width:100px;height:100px;position:relative}.stat-ring-wrap svg{width:100%;height:100%;transform:rotate(-90deg)}.stat-ring-track{fill:none;stroke:#edf2f7;stroke-width:8px}.stat-ring-value-path{fill:none;stroke-width:8px;stroke-linecap:round;transition:stroke-dashoffset .6s}.stat-ring-number{color:#1f2937;justify-content:center;align-items:center;font-family:Inter,sans-serif;font-size:34px;font-weight:700;display:flex;position:absolute;inset:0}.pl-tabs{flex-wrap:wrap;gap:8px;display:flex}.sg-btn{font-family:var(--sg-font);border-radius:var(--sg-radius-sm);cursor:pointer;white-space:nowrap;border:none;padding:8px 16px;font-size:13px;font-weight:600;transition:filter .12s,transform 50ms}.sg-btn:active{transform:translateY(1px)}.sg-btn-tab{color:var(--sg-text-muted);background:#eef1f6}.sg-btn-tab.active{background:var(--sg-blue);color:#fff}.sg-btn-tab:hover:not(.active){background:#e2e8f0}.sg-btn-export{background:var(--sg-green);color:#fff;align-items:center;gap:6px;display:inline-flex}.sg-btn-export:hover{filter:brightness(1.05)}.sg-btn-primary{background:var(--sg-blue);color:#fff}.sg-btn-primary:hover{filter:brightness(1.08)}.sg-btn-refresh{background:var(--sg-purple);color:#fff;align-items:center;gap:6px;display:inline-flex}.sg-btn-refresh:hover{filter:brightness(1.08)}.pl-table-wrap{-webkit-overflow-scrolling:touch;border-radius:var(--sg-radius-sm);border:1px solid var(--sg-border);max-width:100%;margin-bottom:22px;overflow-x:auto}.sg-table{border-collapse:collapse;width:100%;min-width:480px;font-size:13px}.sg-table thead th{background:var(--sg-blue);color:#fff;text-align:left;white-space:nowrap;padding:10px 14px;font-weight:600}.sg-table tbody td{border-top:1px solid var(--sg-border);color:var(--sg-text);padding:10px 14px}.sg-table tbody tr:nth-child(2n){background:#f8fafc}.sg-table tbody td.mono{font-family:var(--sg-mono);font-weight:600}.sg-table tbody td.pos{color:var(--sg-green)}.sg-table tbody td.neg{color:var(--sg-red)}.pl-section-title{margin:0 0 14px;font-size:16px;font-weight:700}.pl-charts-row{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));align-items:center;gap:20px;display:grid}.pie-legend{flex-wrap:wrap;justify-content:center;gap:14px;margin-top:10px;display:flex}.pie-legend-item{color:var(--sg-text-muted);align-items:center;gap:6px;font-size:12.5px;font-weight:600;display:flex}.pie-legend-swatch{border-radius:2px;flex-shrink:0;width:10px;height:10px}.problem-list{flex-direction:column;gap:10px;min-width:0;display:flex}.problem-row{align-items:center;gap:10px;min-width:0;display:flex}.problem-name{width:84px;color:var(--sg-text-muted);font-size:12.5px;font-weight:600;font-family:var(--sg-mono);text-overflow:ellipsis;white-space:nowrap;flex-shrink:0;overflow:hidden}.problem-bar-track{background:#eef1f6;border-radius:999px;flex:1;min-width:0;height:10px;overflow:hidden}.problem-bar-fill{border-radius:999px;height:100%}.problem-value{text-align:right;width:28px;font-family:var(--sg-mono);flex-shrink:0;font-size:12.5px;font-weight:700}.chart-legend-row{flex-wrap:wrap;justify-content:center;gap:18px;margin-top:8px;display:flex}.chart-legend-item{color:var(--sg-text-muted);align-items:center;gap:6px;font-size:12px;font-weight:600;display:flex}.chart-legend-swatch{border-radius:3px;flex-shrink:0;width:10px;height:10px}.telemetry-controls{flex-wrap:wrap;align-items:flex-end;gap:14px;margin-bottom:18px;display:flex}.telemetry-field{flex-direction:column;gap:5px;min-width:0;display:flex}.telemetry-field label{color:var(--sg-text-muted);text-transform:uppercase;letter-spacing:.05em;font-size:11.5px;font-weight:700}.telemetry-field input[type=date]{font-family:var(--sg-mono);border:1px solid var(--sg-border);border-radius:var(--sg-radius-sm);color:var(--sg-text);background:#fff;max-width:100%;padding:8px 10px;font-size:13px}.table-header-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:14px;display:flex}.sg-badge{font-family:var(--sg-mono);text-transform:uppercase;letter-spacing:.03em;white-space:nowrap;border-radius:999px;padding:3px 9px;font-size:11px;font-weight:700}.sg-badge-green{color:var(--sg-green);background:#dcfce7}.sg-badge-red{color:var(--sg-red);background:#fee2e2}.sg-badge-orange{color:#b45309;background:#fef3c7}.sg-badge-blue{color:var(--sg-blue-dark);background:#dbeafe}.device-detail{flex-direction:column;gap:16px;max-width:100%;display:flex}.dd-breadcrumb{flex-wrap:wrap;align-items:center;gap:14px;display:flex}.dd-back-btn{background:var(--sg-card);border:1px solid var(--sg-border);border-radius:var(--sg-radius-sm);font-family:var(--sg-font);color:var(--sg-text);cursor:pointer;box-shadow:var(--sg-shadow);white-space:nowrap;align-items:center;gap:6px;padding:8px 14px;font-size:13px;font-weight:600;display:inline-flex}.dd-back-btn:hover{background:#f8fafc}.dd-breadcrumb-name{color:var(--sg-text-muted);overflow-wrap:anywhere;font-size:14px;font-weight:700}.device-detail-grid{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));align-items:start;gap:18px;width:100%;max-width:100%;display:grid}.dd-left-col,.dd-right-col{flex-direction:column;gap:16px;min-width:0;display:flex}.dd-row-2{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:16px;display:grid}.dd-card{background:var(--sg-card);border-radius:var(--sg-radius);border:1px solid var(--sg-border);box-shadow:var(--sg-shadow);min-width:0;max-width:100%;padding:18px 20px}.dd-card-header{align-items:center;gap:8px;margin-bottom:8px;display:flex}.dd-card-title{color:var(--sg-text);font-size:16px;font-weight:600}.dd-card-title-plain{color:var(--sg-text-muted);margin-bottom:12px;font-size:13.5px;font-weight:600}.dd-card-sub{color:var(--sg-text-faint);font-size:12.5px}.dd-temp-value{font-family:var(--sg-mono);color:var(--sg-text);margin-top:6px;font-size:34px;font-weight:700}.dd-metric-card{text-align:center;flex-direction:column;align-items:center;gap:4px;display:flex}.dd-metric-label{color:var(--sg-text-muted);align-items:center;gap:6px;margin-bottom:6px;font-size:13px;font-weight:600;display:flex}.dd-arrow{font-size:11px}.dd-arrow.up{color:var(--sg-green)}.dd-arrow.down{color:var(--sg-red)}.dd-metric-value{font-family:var(--sg-mono);color:var(--sg-text);margin-top:4px;font-size:20px;font-weight:700}.dd-sensor-status{color:var(--sg-text);flex-wrap:wrap;align-items:center;gap:12px;font-size:15px;display:flex}.dd-status-normal{color:var(--sg-green)}.dd-icon-badge{background:var(--sg-blue);border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;display:inline-flex}.dd-alert-banner{color:var(--sg-text-muted);text-align:center;background:#f8fafc;font-size:14px;font-weight:500}.dd-state-chart{width:100%;min-width:0;padding-bottom:10px;overflow:visible}@media (width<=768px){.dd-state-chart{padding:14px}.dd-state-chart>div{max-width:100%}}.dd-risk-card{text-align:center;flex-direction:column;align-items:center;gap:6px;display:flex}.dd-risk-card-tall{padding-top:22px;padding-bottom:22px}@media (width<=768px){.device-detail-grid,.dd-row-2{grid-template-columns:1fr}}@media (width<=420px){.dd-temp-value{font-size:26px}.dd-card{padding:14px 16px}}.status-filter-group{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;flex-wrap:wrap;gap:10px 16px;margin:12px 0 18px;padding:10px 14px;display:flex}.status-filter-item{color:#475569;cursor:pointer;border-radius:6px;align-items:center;gap:6px;padding:4px 10px;font-size:13px;font-weight:500;transition:background .15s,color .15s;display:flex}.status-filter-item:hover{color:#1e293b;background:#eef2ff}.status-filter-item input[type=radio]{accent-color:#2563eb;cursor:pointer;width:14px;height:14px;margin:0}.status-filter-item:has(input:checked){color:#1d4ed8;background:#dbeafe;font-weight:600}.status-percentage-chart-wrap{width:100%;max-width:100%;height:280px}@media (width<=1280px){.dashboard-main{grid-template-columns:minmax(0,240px) minmax(0,1fr)}}@media (width<=1024px){.dashboard-main{grid-template-columns:1fr}.entity-hierarchy{position:static}.entity-tree{max-height:320px}}@media (width<=768px){.dashboard{padding:14px}.dashboard-widget{padding:16px}.stat-cards-grid{gap:12px}.stat-ring-wrap{width:76px;height:76px}.stat-ring-number{font-size:18px}.pl-header{flex-direction:column;align-items:stretch}.pl-tabs{width:100%}.pl-tabs .sg-btn{flex:1}.sg-btn-export{justify-content:center;width:100%}.sg-table{font-size:12px}.sg-table thead th,.sg-table tbody td{padding:8px 10px}.telemetry-controls{align-items:stretch}.telemetry-field{flex:130px}.telemetry-controls .sg-btn{flex:130px;justify-content:center}.dd-card{padding:14px 16px}.dd-temp-value{font-size:26px}.dd-metric-value{font-size:16px}}@media (width<=560px){.widget-title{font-size:14.5px}.pie-legend{gap:10px}.problem-name{width:64px;font-size:11px}.dd-breadcrumb{gap:8px}.dd-back-btn{padding:7px 11px;font-size:12px}.dd-breadcrumb-name{font-size:12.5px}}@media (width<=480px){.dashboard{padding:10px}.dashboard-main,.dashboard-left,.dashboard-right{gap:14px}.dashboard-widget{border-radius:10px;padding:14px}.dashboard-banner{padding:16px 18px}.banner-content h1{font-size:19px}.banner-content p{font-size:12px}.banner-title{font-size:19px}.banner-subtitle{font-size:12px}.stat-cards-grid{gap:10px}.stat-card{min-height:190px;padding:14px 8px 16px}.stat-ring-wrap{width:64px;height:64px}.stat-ring-number{font-size:15px}.stat-card-label{font-size:10px}.pl-tabs{flex-wrap:wrap}.sg-btn{padding:7px 10px;font-size:12px}.telemetry-field,.telemetry-controls .sg-btn{flex:100%}.dd-row-2{grid-template-columns:1fr}.dd-metric-card svg,.dd-risk-card svg{transform:scale(.85)}.dd-alert-banner{padding:14px 16px;font-size:13px}.dd-sensor-status{font-size:13.5px}}.pagination{background:#fff;border-radius:16px;flex-wrap:wrap;justify-content:center;align-items:center;gap:14px;margin-top:20px;padding:16px;display:flex;box-shadow:0 5px 18px #0000000d}.pagination-btn{color:#334155;cursor:pointer;background:#fff;border:1px solid #dbe4ee;border-radius:8px;align-items:center;gap:4px;padding:8px 14px;font-size:13.5px;font-weight:600;transition:all .2s;display:flex}.pagination-btn:hover:not(:disabled){color:#2563eb;background:#eff6ff;border-color:#2563eb}.pagination-btn:disabled{opacity:.4;cursor:not-allowed}.pagination-numbers{flex-wrap:wrap;gap:6px;display:flex}.pagination-number{color:#334155;cursor:pointer;background:#fff;border:1px solid #dbe4ee;border-radius:8px;width:34px;height:34px;font-size:13.5px;font-weight:600;transition:all .2s}.pagination-number:hover{background:#eff6ff;border-color:#2563eb}.pagination-number.active{color:#fff;background:#2563eb;border-color:#2563eb}.pagination-info{color:#64748b;margin-left:8px;font-size:13px}@media (width<=600px){.pagination{flex-direction:column}.pagination-info{order:10;margin-left:0}}.dashboard,.dashboard-main,.dashboard-left,.dashboard-right,.dashboard-widget,.chart-row{min-width:0;max-width:100%}@media (width<=768px){.dashboard{width:100%;max-width:100%;padding:14px;overflow-x:hidden}.dashboard-main{grid-template-columns:1fr;gap:14px;width:100%;max-width:100%}.dashboard-left,.dashboard-right{width:100%;min-width:0;max-width:100%}.dashboard-widget{width:100%;min-width:0;max-width:100%;padding:16px;overflow:hidden}.chart-row{grid-template-columns:1fr;gap:14px;width:100%;max-width:100%}.chart-row>.dashboard-widget{width:100%;min-width:0}.entity-hierarchy{width:100%;max-width:100%;position:static}.status-percentage-chart-wrap{width:100%;max-width:100%}.recharts-responsive-container{max-width:100%!important}}@media (width<=480px){.dashboard{width:100%;max-width:100%;padding:10px}.dashboard-main{grid-template-columns:1fr;gap:12px;display:grid}.dashboard-left,.dashboard-right{width:100%;min-width:0}.dashboard-widget{border-radius:12px;width:100%;min-width:0;max-width:100%;padding:14px;overflow:hidden}.chart-row{gap:12px;width:100%;max-width:100%;display:grid;grid-template-columns:1fr!important}.chart-row>.dashboard-widget{width:100%;min-width:0;max-width:100%}.widget-title{font-size:14px;line-height:1.4}.dashboard-widget h1,.dashboard-widget h2,.dashboard-widget h3,.dashboard-widget h4,.dashboard-widget p,.dashboard-widget span{overflow-wrap:anywhere;max-width:100%}.dashboard-widget svg,.dashboard-widget canvas{max-width:100%}.recharts-wrapper{max-width:100%!important}.recharts-responsive-container{width:100%!important;max-width:100%!important}}@media (width<=360px){.dashboard{padding:8px}.dashboard-main{gap:10px}.dashboard-widget{border-radius:10px;padding:12px}.chart-row{gap:10px}}.dashboard-status-card-clickable{cursor:pointer;transition:transform .18s,box-shadow .18s,border-color .18s}.dashboard-status-card-clickable:hover{transform:translateY(-2px);box-shadow:0 8px 22px #0f172a1a}.dashboard-status-card-clickable:active{transform:translateY(0)}.dashboard-status-overlay{z-index:9999;box-sizing:border-box;-webkit-backdrop-filter:blur(3px);background:#0f172a73;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.dashboard-status-panel{background:#fff;border:1px solid #e5e7eb;border-radius:16px;flex-direction:column;width:100%;max-width:620px;max-height:82vh;animation:.18s ease-out dashboard-status-panel-in;display:flex;overflow:hidden;box-shadow:0 24px 70px #0f172a33}@keyframes dashboard-status-panel-in{0%{opacity:0;transform:translateY(10px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}.dashboard-status-panel-header{border-bottom:1px solid #eef2f7;justify-content:space-between;align-items:center;gap:14px;padding:18px 20px;display:flex}.dashboard-status-title-wrap{align-items:center;gap:12px;min-width:0;display:flex}.dashboard-status-title-icon{border-radius:11px;flex:0 0 42px;justify-content:center;align-items:center;width:42px;height:42px;display:flex}.dashboard-status-title-wrap h3{color:#172033;margin:0;font-size:17px;font-weight:700}.dashboard-status-title-wrap p{color:#94a3b8;margin:3px 0 0;font-size:12px}.dashboard-status-close{color:#64748b;cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:8px;flex:0 0 34px;justify-content:center;align-items:center;width:34px;height:34px;transition:background .18s,color .18s,border-color .18s;display:flex}.dashboard-status-close:hover{color:#1e293b;background:#f8fafc;border-color:#cbd5e1}.dashboard-status-panel-body{flex:1;min-height:0;padding:12px 16px;overflow-y:auto}.dashboard-status-device-list{flex-direction:column;gap:8px;display:flex}.dashboard-status-device{background:#fff;border:1px solid #edf1f5;border-radius:10px;align-items:center;gap:12px;padding:12px;transition:background .18s,border-color .18s,transform .18s;display:flex}.dashboard-status-device:hover{background:#f8fafc;border-color:#dce3eb;transform:translate(2px)}.dashboard-status-device-icon{border-radius:9px;flex:0 0 38px;justify-content:center;align-items:center;width:38px;height:38px;display:flex}.dashboard-status-device-info{flex:1;min-width:0}.dashboard-status-device-name{color:#1e293b;white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:700;overflow:hidden}.dashboard-status-device-id{color:#94a3b8;white-space:nowrap;text-overflow:ellipsis;margin-top:3px;font-size:11px;overflow:hidden}.dashboard-status-device-meta{color:#64748b;align-items:center;gap:12px;margin-top:5px;font-size:11px;display:flex}.dashboard-status-device-meta strong{color:#334155;font-weight:600}.dashboard-status-device-badge{text-transform:uppercase;white-space:nowrap;border-radius:999px;flex:none;padding:5px 9px;font-size:10px;font-weight:700}.dashboard-status-empty{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:260px;padding:30px 20px;display:flex}.dashboard-status-empty-icon{border-radius:13px;justify-content:center;align-items:center;width:52px;height:52px;margin-bottom:14px;display:flex}.dashboard-status-empty h4{color:#334155;margin:0;font-size:15px;font-weight:700}.dashboard-status-empty p{color:#94a3b8;max-width:320px;margin:6px 0 0;font-size:12px;line-height:1.5}.dashboard-status-loading{color:#94a3b8;flex-direction:column;justify-content:center;align-items:center;gap:12px;min-height:260px;font-size:12px;display:flex}.dashboard-status-spinner{border:3px solid #e5e7eb;border-top-color:#198754;border-radius:50%;width:28px;height:28px;animation:.75s linear infinite dashboard-status-spin}@keyframes dashboard-status-spin{to{transform:rotate(360deg)}}.dashboard-status-panel-footer{color:#94a3b8;border-top:1px solid #eef2f7;justify-content:space-between;align-items:center;padding:11px 20px;font-size:11px;display:flex}.dashboard-status-live{color:#198754;align-items:center;gap:5px;font-size:10px;font-weight:700;display:inline-flex}.dashboard-status-live span{background:#198754;border-radius:50%;width:6px;height:6px;box-shadow:0 0 0 3px #1987541a}@media (width<=600px){.dashboard-status-overlay{align-items:flex-end;padding:0}.dashboard-status-panel{border-radius:16px 16px 0 0;max-width:none;max-height:88vh}.dashboard-status-panel-header{padding:16px}.dashboard-status-panel-body{padding:10px 12px}.dashboard-status-device{padding:11px}.dashboard-status-device-icon{flex-basis:36px;width:36px;height:36px}.dashboard-status-device-badge{padding:4px 7px;font-size:9px}.dashboard-status-device-meta{gap:8px}.dashboard-status-panel-footer{padding:10px 16px}}.steam-loss-summary{gap:12px;width:100%;min-width:0;display:flex}.steam-loss-summary>div{min-width:0}@media (width<=768px){.steam-loss-summary{flex-direction:column}.steam-loss-summary>div{flex:none!important;width:100%!important}}.status-detail-modal{box-sizing:border-box;width:100%;min-width:0;max-width:850px}.status-detail-modal .status-device-table-header,.status-detail-modal .status-device-row{box-sizing:border-box;min-width:0}@media (width<=600px){.dashboard-status-overlay{overflow-y:auto;justify-content:center!important;align-items:flex-start!important;padding:8px!important}.status-detail-modal{margin:auto 0;border-radius:12px!important;width:100%!important;max-width:100%!important;max-height:calc(100dvh - 16px)!important}.status-detail-modal>div:nth-child(2){overflow:hidden auto;padding:12px!important}.status-detail-modal>div:first-child{gap:8px;padding:12px!important}.status-device-table-header{display:none!important}.status-device-row{border-bottom:1px solid #e2e8f0;gap:12px 8px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;align-items:start!important;padding:14px 12px!important;display:grid!important}.status-device-row>div:first-child{overflow-wrap:anywhere;border-bottom:1px solid #f1f5f9;grid-column:1/-1;min-width:0;padding-bottom:8px}.status-device-inlet,.status-device-outlet,.status-device-condition{overflow-wrap:anywhere;flex-direction:column;align-items:flex-start;gap:5px;min-width:0;display:flex}.status-device-inlet:before{content:"INLET";color:#94a3b8;letter-spacing:.05em;font-size:10px;font-weight:700}.status-device-outlet:before{content:"OUTLET";color:#94a3b8;letter-spacing:.05em;font-size:10px;font-weight:700}.status-device-condition{flex-flow:wrap;grid-column:1/-1;align-items:center}.status-device-condition:before{content:"CONDITION:";color:#94a3b8;letter-spacing:.05em;font-size:10px;font-weight:700}.status-device-condition span{overflow-wrap:anywhere;white-space:normal!important}.status-detail-modal .status-device-row:last-child{border-bottom:none}.status-detail-modal>div:last-child{padding:10px 12px!important;font-size:11px!important}}@media (width<=768px){.content-area{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;padding:16px!important;overflow-x:hidden!important}.dashboard-page,.dashboard-container,.dashboard-content{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;overflow-x:hidden!important}.dashboard-grid,.dashboard-row,.charts-grid,.chart-grid{box-sizing:border-box!important;grid-template-columns:1fr!important;width:100%!important;min-width:0!important;max-width:100%!important}.dashboard-card,.chart-card,.widget-card,.dashboard-widget{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;overflow:hidden!important}.recharts-responsive-container{min-width:0!important;max-width:100%!important}.widget-title{margin-bottom:10px!important;font-size:15px!important;line-height:1.3!important}.device-status-chart{width:100%!important;min-width:0!important;max-width:100%!important;overflow:hidden!important}.profit-loss-card,.profit-loss-widget,.profit-loss-container{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;overflow:hidden!important}.pl-header{flex-direction:column!important;align-items:flex-start!important;gap:10px!important;width:100%!important;min-width:0!important}.pl-tabs{flex-wrap:wrap!important;gap:6px!important;width:100%!important;max-width:100%!important;display:flex!important}.pl-tabs button{white-space:nowrap;flex:auto;min-width:0}.pl-header+div,.pl-table-wrap{min-width:0!important;max-width:100%!important}input[type=date]{box-sizing:border-box!important;max-width:100%!important}.pl-table-wrap{-webkit-overflow-scrolling:touch;width:100%!important;overflow-x:auto!important}.pl-profit-table{min-width:620px!important}.steam-loss-summary{box-sizing:border-box!important;grid-template-columns:1fr!important;gap:10px!important;width:100%!important;min-width:0!important;display:grid!important}.steam-loss-card{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important}.steam-loss-card+div,.steam-loss-summary+div{width:100%!important;min-width:0!important;max-width:100%!important;overflow:hidden!important}.pagination{box-sizing:border-box!important;flex-wrap:wrap!important;justify-content:center!important;gap:6px!important;width:100%!important;max-width:100%!important}.pagination-info{text-align:center!important;width:100%!important}}@media (width<=480px){.content-area{padding:12px!important}.widget-title{font-size:14px!important}.pl-tabs button{padding:7px 9px!important;font-size:11px!important}.pl-header+div{gap:8px!important;padding:10px!important}.pl-header+div>div,.pl-header+div input[type=date]{width:100%!important}.pl-header+div button{flex:1!important}.device-status-chart>div:first-of-type{height:190px!important}.chart-legend-row{gap:7px 10px!important;font-size:11px!important}.steam-loss-summary+div{height:220px!important}}.sensor-status-chart-wrapper{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;height:240px!important;display:block!important;position:relative!important;overflow:hidden!important}.sensor-status-chart-wrapper .recharts-responsive-container{width:100%!important;min-width:0!important;max-width:100%!important}@media (width<=768px){.sensor-status-chart-wrapper{width:100%!important;min-width:0!important;max-width:100%!important;height:250px!important;margin:0!important;padding:0!important;display:block!important;overflow:hidden!important}.sensor-status-chart-wrapper .recharts-responsive-container{width:100%!important;min-width:0!important;height:100%!important}}@media (width<=480px){.sensor-status-chart-wrapper{width:100%!important;height:260px!important}.sensor-status-chart-wrapper .recharts-responsive-container{width:100%!important;height:100%!important}}.device-status-chart{box-sizing:border-box;width:100%;min-width:0;max-width:100%}.device-status-chart .widget-title{margin-bottom:10px}.device-status-chart .plant-status-chart{box-sizing:border-box;width:100%;min-width:0;height:220px;min-height:220px;display:block;position:relative;overflow:visible!important}.device-status-chart .plant-status-chart .recharts-responsive-container{width:100%!important;min-width:0!important;height:100%!important;min-height:0!important}.device-status-chart .plant-status-chart .recharts-wrapper{width:100%!important;height:100%!important}.device-status-chart .plant-status-chart .recharts-surface{opacity:1!important;visibility:visible!important;width:100%!important;height:100%!important;display:block!important;overflow:visible!important}.device-status-chart .recharts-pie,.device-status-chart .recharts-pie-sector,.device-status-chart .recharts-sector{opacity:1!important;visibility:visible!important}.device-status-chart .device-status-loading{color:#94a3b8;justify-content:center;align-items:center;width:100%;height:100%;font-size:12px;display:flex}.device-status-chart .device-status-empty{text-align:center;color:#94a3b8;justify-content:center;align-items:center;width:100%;height:100%;font-size:12px;display:flex}.device-status-chart .chart-legend-row{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 14px;width:100%;margin-top:4px;display:flex}.device-status-chart .chart-legend-item{white-space:nowrap;align-items:center;gap:5px;display:inline-flex}.device-status-chart .chart-legend-swatch{border-radius:50%;flex-shrink:0;width:9px;min-width:9px;height:9px}@media (width<=768px){.device-status-chart{width:100%!important;min-width:0!important;max-width:100%!important}.device-status-chart .plant-status-chart{width:100%!important;height:210px!important;min-height:210px!important}.device-status-chart .plant-status-chart .recharts-responsive-container{width:100%!important;height:100%!important}}@media (width<=480px){.device-status-chart .plant-status-chart{height:190px!important;min-height:190px!important}.device-status-chart .chart-legend-row{gap:7px 10px}.device-status-chart .chart-legend-item{font-size:11px}}.device-status-chart .recharts-sector.device-status-sector{opacity:1!important;visibility:visible!important}.device-status-chart .recharts-sector.device-status-sector.blocked{fill:#2563eb!important}.device-status-chart .recharts-sector.device-status-sector.full-leak{fill:#dc2626!important}.device-status-chart .recharts-sector.device-status-sector.normal{fill:#16a34a!important}.device-status-chart .recharts-sector.device-status-sector.partial-leak{fill:#f59e0b!important}.dashboard-right>*{width:100%;min-width:0;max-width:100%}.entity-hierarchy{padding:12px;position:sticky;top:12px}.entity-tree{max-height:calc(100vh - 220px)}@media (width<=1024px){.dashboard-main{grid-template-columns:minmax(0,1fr)}.dashboard-left,.dashboard-right{width:100%}.entity-hierarchy{position:static}.entity-tree{max-height:280px}}.dashboard-left{width:100%;min-width:0}.dashboard-right{min-width:0}.dashboard-right>.dashboard-banner,.dashboard-right>.stat-cards-grid{width:100%;min-width:0;max-width:100%}.dashboard-right .stat-cards-grid{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:14px;display:grid}.dashboard-right .stat-card{border-radius:18px;width:100%;min-width:0;min-height:210px;padding:18px 12px}.dashboard-right .stat-card-label{overflow-wrap:anywhere;margin-bottom:16px;font-size:13px;line-height:1.4}.dashboard-left .entity-hierarchy{width:100%;max-width:100%;padding:12px;position:sticky;top:12px}.dashboard-left .entity-hierarchy-title{margin-bottom:10px;font-size:16px}.dashboard-left .entity-tree{max-height:calc(100vh - 200px)}@media (width<=1024px){.dashboard-main{grid-template-columns:minmax(0,1fr)}.dashboard-left,.dashboard-right{width:100%}.dashboard-left .entity-hierarchy{position:static}.dashboard-left .entity-tree{max-height:280px}}@media (width<=600px){.dashboard-right .stat-cards-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dashboard-right .stat-card{min-height:170px;padding:14px 8px}.dashboard-right .stat-card-label{margin-bottom:12px;font-size:11px}}@media (width<=360px){.dashboard-right .stat-cards-grid{grid-template-columns:minmax(0,1fr)}}.dashboard-status-heading{width:100%;min-width:0;max-width:100%;margin-bottom:20px}.dashboard-status-heading>.stat-cards-grid{display:none}.dashboard-main{grid-template-columns:minmax(280px,320px) minmax(0,1fr);align-items:start;gap:20px;width:100%;max-width:100%;display:grid}.dashboard-left,.dashboard-right{width:100%;min-width:0;max-width:100%}@media (width<=1024px){.dashboard-main{grid-template-columns:minmax(0,1fr)}}.dashboard-banner{border:1px solid #e2e8f0;border-radius:22px;padding:24px 90px 24px 24px;position:relative;box-shadow:0 8px 24px #64748b1f;background:linear-gradient(115deg,#9255f4,#5082ed,#ed5ad7)!important}.dashboard-banner .banner-content>div:first-child{display:none!important}.dashboard-banner .banner-content{text-align:left;justify-content:center;align-items:center;gap:16px;width:100%;display:flex!important}.dashboard-banner .banner-org-logo,.dashboard-banner .banner-org-logo-placeholder{object-fit:contain;background:#fff;border-radius:12px;flex-shrink:0;margin:0;padding:5px;width:64px!important;min-width:64px!important;max-width:64px!important;height:64px!important}.dashboard-banner .banner-customer-info{text-align:left;justify-content:center;align-items:center;gap:16px;width:auto;flex-direction:row!important;display:flex!important}.dashboard-banner .banner-customer-text h3{color:#000;margin:0;font-size:22px;font-weight:800;line-height:1.4}.dashboard-banner .banner-customer-text p{color:#e4ecf8;margin:0;font-size:15px;font-weight:600}.dashboard-banner .live-badge,.dashboard-banner .banner-live-badge{color:#166534;background:#ffffffe6;border:1px solid #bbf7d0;border-radius:20px;align-items:center;gap:7px;padding:7px 12px;font-size:12px;font-weight:800;display:inline-flex;position:absolute;top:16px;right:16px;margin:0!important}@media (width<=600px){.dashboard-banner{border-radius:16px;padding:54px 14px 18px}.dashboard-banner .banner-content{justify-content:flex-start;gap:12px}.dashboard-banner .banner-org-logo,.dashboard-banner .banner-org-logo-placeholder{width:50px!important;min-width:50px!important;max-width:50px!important;height:50px!important}.dashboard-banner .banner-customer-info{align-items:flex-start;gap:3px;flex-direction:column!important}.dashboard-banner .banner-customer-text h3{overflow-wrap:anywhere;font-size:17px}.dashboard-banner .banner-customer-text p{overflow-wrap:anywhere;font-size:13px}.dashboard-banner .live-badge,.dashboard-banner .banner-live-badge{top:12px;right:12px}}.entity-hierarchy{width:100%;min-width:0;overflow:hidden}.entity-tree,.entity-children{box-sizing:border-box;width:100%;min-width:0}.entity-children{overflow:visible}.entity-node-row{box-sizing:border-box;align-items:center;gap:6px;width:100%;min-width:0;padding-top:9px;padding-bottom:9px;padding-right:8px;display:flex}.entity-node-row .entity-caret{flex:0 0 14px}.entity-node-row .entity-icon{flex:0 0 16px}.entity-node-row .entity-label{white-space:normal;overflow-wrap:anywhere;word-break:normal;flex:1 1 0;min-width:0;line-height:1.4}.entity-node-row .entity-count{white-space:nowrap;flex:none;margin-left:auto}.entity-node-row.entity-all-customers{padding-left:10px}@media (width<=768px){.entity-node-row{gap:5px;padding-right:6px}.entity-node-row .entity-label{font-size:13px}}.recent-alert-table-scroll{border-radius:8px;max-height:320px;overflow:auto}.recent-alert-table-scroll .sg-table thead th{z-index:2;background:#f8fafc;position:sticky;top:0}.recent-alert-table-scroll::-webkit-scrollbar{width:6px;height:6px}.recent-alert-table-scroll::-webkit-scrollbar-track{background:#f1f5f9;border-radius:10px}.recent-alert-table-scroll::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:10px}.recent-alert-table-scroll::-webkit-scrollbar-thumb:hover{background:#94a3b8}.improvement-page{box-sizing:border-box;background:#f5f7fb;width:100%;min-height:calc(100vh - 70px);padding:24px}.improvement-page-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;display:flex}.improvement-title-block{align-items:center;gap:12px;display:flex}.improvement-title-icon{color:#198754;background:#ecfdf5;border-radius:11px;flex:0 0 46px;justify-content:center;align-items:center;width:46px;height:46px;display:flex}.improvement-title-block h2{color:#172033;margin:0;font-size:27px;font-weight:700;line-height:1.2}.improvement-title-block p{color:#6b7280;margin:5px 0 0;font-size:14px}.improvement-refresh-btn{color:#374151;cursor:pointer;background:#fff;border:1px solid #dce1e8;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:9px 16px;font-size:13px;font-weight:600;transition:all .2s;display:inline-flex}.improvement-refresh-btn:hover:not(:disabled){color:#198754;background:#f0fdf4;border-color:#a7d9be}.improvement-refresh-btn:disabled{opacity:.55;cursor:not-allowed}.improvement-customer-message{color:#92400e;background:#fffbeb;border:1px solid #fde68a;border-radius:10px;align-items:center;gap:12px;margin-bottom:20px;padding:14px 16px;display:flex}.improvement-customer-message svg{flex:none}.improvement-customer-message div{flex-direction:column;gap:2px;display:flex}.improvement-customer-message strong{font-size:13px;font-weight:700}.improvement-customer-message span{color:#a16207;font-size:12px}.improvement-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px;display:grid}.improvement-summary-card{box-sizing:border-box;background:#fff;border:1px solid #e6eaf0;border-radius:11px;align-items:center;gap:13px;min-width:0;min-height:92px;padding:16px 18px;transition:transform .2s,box-shadow .2s;display:flex;box-shadow:0 2px 8px #0f172a09}.improvement-summary-card:hover{transform:translateY(-2px);box-shadow:0 6px 18px #0f172a0f}.improvement-summary-icon{border-radius:10px;flex:0 0 42px;justify-content:center;align-items:center;width:42px;height:42px;display:flex}.improvement-summary-card>div:last-child{flex-direction:column;gap:5px;min-width:0;display:flex}.improvement-summary-card span{color:#64748b;font-size:12px;font-weight:500}.improvement-summary-card strong{color:#172033;font-size:25px;font-weight:700;line-height:1}.improvement-summary-card.total .improvement-summary-icon{color:#198754;background:#ecfdf5}.improvement-summary-card.confirmed .improvement-summary-icon{color:#15803d;background:#dcfce7}.improvement-summary-card.pending .improvement-summary-icon{color:#ca8a04;background:#fef3c7}.improvement-summary-card.rejected .improvement-summary-icon{color:#dc2626;background:#fef2f2}.improvement-filter-card{box-sizing:border-box;background:#fff;border:1px solid #e6eaf0;border-radius:11px;grid-template-columns:minmax(150px,1fr) minmax(150px,1fr) minmax(220px,2fr) auto;align-items:end;gap:12px;margin-bottom:22px;padding:16px;display:grid;box-shadow:0 2px 8px #0f172a09}.improvement-filter-field{flex-direction:column;gap:6px;min-width:0;display:flex}.improvement-filter-field label{color:#475569;font-size:11px;font-weight:700}.improvement-input-wrap{width:100%;height:40px;position:relative}.improvement-input-wrap svg{color:#94a3b8;pointer-events:none;width:16px;height:16px;position:absolute;top:50%;left:11px;transform:translateY(-50%)}.improvement-input-wrap input{box-sizing:border-box;color:#374151;background:#fff;border:1px solid #dce1e8;border-radius:8px;outline:none;width:100%;height:40px;padding:0 11px 0 34px;font-family:inherit;font-size:13px;transition:all .2s}.improvement-input-wrap input::placeholder{color:#9ca3af}.improvement-input-wrap input:focus{border-color:#198754;box-shadow:0 0 0 3px #19875414}.improvement-search-btn{color:#fff;cursor:pointer;white-space:nowrap;background:#198754;border:none;border-radius:8px;justify-content:center;align-items:center;gap:7px;min-height:40px;padding:9px 18px;font-size:13px;font-weight:600;transition:background .2s,transform .2s;display:inline-flex}.improvement-search-btn:hover:not(:disabled){background:#157347}.improvement-search-btn:active:not(:disabled){transform:translateY(1px)}.improvement-search-btn:disabled{opacity:.55;cursor:not-allowed}.improvement-results-header{justify-content:space-between;align-items:center;gap:15px;margin-bottom:10px;padding:0 2px;display:flex}.improvement-results-header>div{align-items:baseline;gap:9px;display:flex}.improvement-results-header h3{color:#172033;margin:0;font-size:16px;font-weight:700}.improvement-results-header>div>span{color:#94a3b8;font-size:12px}.improvement-live-indicator{color:#64748b;align-items:center;gap:6px;font-size:11px;font-weight:600;display:inline-flex}.improvement-live-indicator>span{background:#22c55e;border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 3px #22c55e1f}.improvement-table-card{box-sizing:border-box;background:#fff;border:1px solid #e6eaf0;border-radius:11px;width:100%;overflow:hidden;box-shadow:0 2px 8px #0f172a09}.improvement-table-wrapper{-webkit-overflow-scrolling:touch;width:100%;overflow-x:auto}.improvement-table{border-collapse:collapse;width:100%;min-width:1080px}.improvement-table thead{background:#f8fafc}.improvement-table th{color:#64748b;text-align:left;white-space:nowrap;border-bottom:1px solid #e8edf2;padding:13px 15px;font-size:11px;font-weight:700}.improvement-table td{color:#374151;vertical-align:middle;border-top:1px solid #edf0f4;padding:14px 15px;font-size:13px}.improvement-table tbody tr{transition:background .15s}.improvement-table tbody tr:hover{background:#fafdfb}.improvement-id{color:#475569;white-space:nowrap;background:#f1f5f9;border-radius:6px;align-items:center;padding:5px 8px;font-size:11px;font-weight:700;display:inline-flex}.improvement-device-cell{align-items:center;gap:9px;min-width:150px;display:flex}.improvement-device-icon{color:#198754;background:#ecfdf5;border-radius:8px;flex:0 0 31px;justify-content:center;align-items:center;width:31px;height:31px;display:flex}.improvement-device-cell>span{text-overflow:ellipsis;color:#1f2937;white-space:nowrap;max-width:180px;font-size:13px;font-weight:600;overflow:hidden}.improvement-condition{white-space:nowrap;border-radius:20px;justify-content:center;align-items:center;padding:5px 9px;font-size:11px;font-weight:600;display:inline-flex}.improvement-condition.previous{color:#c2410c;background:#fff7ed}.improvement-condition.current{color:#15803d;background:#ecfdf3}.improvement-duration{color:#334155;white-space:nowrap;font-weight:600}.improvement-date{color:#64748b;white-space:nowrap;font-size:12px}.improvement-status{letter-spacing:.2px;white-space:nowrap;border-radius:20px;justify-content:center;align-items:center;min-width:76px;padding:5px 9px;font-size:10px;font-weight:700;display:inline-flex}.improvement-status.confirmed{color:#15803d;background:#dcfce7}.improvement-status.pending{color:#a16207;background:#fef3c7}.improvement-status.rejected{color:#b91c1c;background:#fef2f2}.improvement-table-message{text-align:center;color:#64748b;height:220px}.improvement-table-message svg{vertical-align:middle;margin-right:8px}.improvement-table-message span{font-size:13px}.improvement-empty-state{text-align:center;vertical-align:middle;color:#64748b;height:240px}.improvement-empty-state svg{color:#94a3b8;margin:0 auto 10px;display:block}.improvement-empty-state strong{color:#475569;font-size:14px;display:block}.improvement-empty-state span{color:#94a3b8;margin-top:5px;font-size:12px;display:block}.improvement-mobile-list{display:none}.improvement-pagination{background:#fff;border-top:1px solid #edf0f4;justify-content:flex-end;align-items:center;gap:7px;padding:14px 16px;display:flex}.improvement-pagination-btn{color:#475569;cursor:pointer;background:#fff;border:1px solid #dce1e8;border-radius:7px;justify-content:center;align-items:center;gap:5px;min-height:34px;padding:7px 11px;font-size:12px;font-weight:600;display:inline-flex}.improvement-pagination-btn:hover:not(:disabled){color:#198754;background:#f0fdf4;border-color:#a7d9be}.improvement-pagination-btn:disabled{opacity:.45;cursor:not-allowed}.improvement-pagination-numbers{align-items:center;gap:5px;display:flex}.improvement-pagination-number{color:#475569;cursor:pointer;background:#fff;border:1px solid #dce1e8;border-radius:7px;justify-content:center;align-items:center;width:34px;height:34px;font-size:12px;font-weight:600;display:flex}.improvement-pagination-number:hover{color:#198754;border-color:#a7d9be}.improvement-pagination-number.active{color:#fff;background:#198754;border-color:#198754}.improvement-pagination-info{color:#64748b;white-space:nowrap;margin-left:8px;font-size:12px}.improvement-spin{animation:.8s linear infinite improvement-spin-animation}@keyframes improvement-spin-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (width<=1200px){.improvement-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.improvement-filter-card{grid-template-columns:1fr 1fr}.improvement-filter-card .search-field{grid-column:1/2}.improvement-search-btn{grid-column:2/3}}@media (width<=768px){.improvement-page{padding:15px}.improvement-page-header{flex-direction:column;align-items:flex-start;gap:14px;margin-bottom:18px}.improvement-title-block{align-items:center}.improvement-title-icon{flex-basis:42px;width:42px;height:42px}.improvement-title-block h2{font-size:23px}.improvement-title-block p{font-size:12px}.improvement-refresh-btn{width:100%}.improvement-summary{grid-template-columns:1fr;gap:10px;margin-bottom:16px}.improvement-summary-card{min-height:76px;padding:14px 16px}.improvement-summary-icon{flex-basis:39px;width:39px;height:39px}.improvement-summary-card strong{font-size:23px}.improvement-customer-message{align-items:flex-start}.improvement-filter-card{grid-template-columns:1fr;gap:10px;margin-bottom:18px;padding:13px}.improvement-filter-card .search-field{grid-column:auto}.improvement-search-btn{grid-column:auto;width:100%}.improvement-results-header{flex-direction:column;align-items:flex-start;gap:8px}.improvement-results-header>div{flex-wrap:wrap}.improvement-table-wrapper{display:none}.improvement-mobile-list{display:block}.improvement-mobile-card{border-bottom:1px solid #edf0f4;padding:15px}.improvement-mobile-card:last-child{border-bottom:none}.improvement-mobile-top{justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:15px;display:flex}.improvement-mobile-device{align-items:center;gap:9px;min-width:0;display:flex}.improvement-mobile-device>div:last-child{flex-direction:column;gap:3px;min-width:0;display:flex}.improvement-mobile-device strong{text-overflow:ellipsis;color:#1f2937;white-space:nowrap;font-size:13px;overflow:hidden}.improvement-mobile-device span{color:#94a3b8;font-size:10px;font-weight:600}.improvement-mobile-condition{background:#f8fafc;border-radius:9px;align-items:center;gap:10px;margin-bottom:14px;padding:12px;display:flex}.improvement-mobile-condition>div{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.improvement-mobile-condition span{color:#94a3b8;font-size:10px;font-weight:600}.improvement-mobile-condition strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:700;overflow:hidden}.previous-text{color:#c2410c}.current-text{color:#15803d}.condition-arrow{flex:none;color:#94a3b8!important;font-size:18px!important}.improvement-mobile-details{grid-template-columns:1fr 1fr;gap:13px 15px;display:grid}.improvement-mobile-details>div{flex-direction:column;gap:4px;min-width:0;display:flex}.improvement-mobile-details span{color:#94a3b8;font-size:10px;font-weight:600}.improvement-mobile-details strong{color:#475569;font-size:11px;font-weight:600;line-height:1.4}.improvement-mobile-message{color:#64748b;justify-content:center;align-items:center;gap:8px;min-height:180px;font-size:13px;display:flex}.improvement-mobile-empty{text-align:center;color:#94a3b8;flex-direction:column;justify-content:center;align-items:center;min-height:210px;padding:25px;display:flex}.improvement-mobile-empty svg{margin-bottom:10px}.improvement-mobile-empty strong{color:#475569;font-size:14px}.improvement-mobile-empty span{color:#94a3b8;margin-top:5px;font-size:12px}.improvement-pagination{flex-wrap:wrap;justify-content:center;padding:13px}.improvement-pagination-info{text-align:center;width:100%;margin:3px 0 0}}@media (width<=480px){.improvement-page{padding:12px}.improvement-title-block h2{font-size:21px}.improvement-title-icon{flex-basis:40px;width:40px;height:40px}.improvement-summary-card{padding:13px 14px}.improvement-filter-card{padding:11px}.improvement-mobile-card{padding:14px}.improvement-mobile-condition{padding:10px}.improvement-mobile-details{gap:12px}.improvement-pagination{gap:6px}.improvement-pagination-numbers{max-width:100%;overflow-x:auto}.improvement-pagination-number{flex:0 0 34px}.improvement-pagination-btn{flex:1}}.improvement-actions{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.improvement-confirm-btn,.improvement-reject-btn{cursor:pointer;white-space:nowrap;border:0;border-radius:7px;justify-content:center;align-items:center;gap:5px;padding:7px 10px;font-size:12px;font-weight:600;transition:background .2s,transform .2s;display:inline-flex}.improvement-confirm-btn{color:#fff;background:#198754}.improvement-confirm-btn:hover{background:#157347;transform:translateY(-1px)}.improvement-reject-btn{color:#dc3545;background:#fff1f2;border:1px solid #fecdd3}.improvement-reject-btn:hover{background:#ffe4e6;transform:translateY(-1px)}.improvement-action-done,.improvement-action-rejected{white-space:nowrap;border-radius:7px;justify-content:center;align-items:center;gap:5px;padding:7px 10px;font-size:12px;font-weight:600;display:inline-flex}.improvement-action-done{color:#198754;background:#ecfdf5}.improvement-action-rejected{color:#dc3545;background:#fff1f2}.improvement-mobile-actions{border-top:1px solid #eef1f4;gap:8px;margin-top:16px;padding-top:14px;display:flex}.improvement-mobile-actions .improvement-confirm-btn,.improvement-mobile-actions .improvement-reject-btn{flex:1;min-height:38px}.improvement-mobile-action-result{border-top:1px solid #eef1f4;align-items:center;gap:7px;margin-top:16px;padding-top:14px;font-size:12px;font-weight:600;display:flex}.improvement-mobile-action-result.confirmed{color:#198754}.improvement-mobile-action-result.rejected{color:#dc3545}@media (width<=768px){.improvement-mobile-actions{width:100%}.improvement-mobile-actions .improvement-confirm-btn,.improvement-mobile-actions .improvement-reject-btn{padding:9px 8px;font-size:12px}}.improvement-modal-overlay{z-index:9999;box-sizing:border-box;-webkit-backdrop-filter:blur(3px);background:#0f172a73;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.improvement-action-modal{box-sizing:border-box;background:#fff;border:1px solid #e6eaf0;border-radius:14px;width:100%;max-width:430px;padding:24px;animation:.18s ease-out improvement-modal-in;box-shadow:0 20px 50px #0f172a2e}@keyframes improvement-modal-in{0%{opacity:0;transform:translateY(8px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}.improvement-modal-icon{border-radius:12px;justify-content:center;align-items:center;width:50px;height:50px;margin-bottom:16px;display:flex}.improvement-modal-icon.confirm{color:#198754;background:#ecfdf5}.improvement-modal-icon.reject{color:#dc3545;background:#fff1f2}.improvement-modal-content h3{color:#172033;margin:0 0 7px;font-size:18px;font-weight:700;line-height:1.3}.improvement-modal-content p{color:#6b7280;margin:0;font-size:14px;line-height:1.6}.improvement-modal-actions{justify-content:flex-end;align-items:center;gap:9px;margin-top:24px;display:flex}.improvement-modal-cancel,.improvement-modal-confirm,.improvement-modal-reject{cursor:pointer;border-radius:7px;justify-content:center;align-items:center;min-height:38px;padding:8px 14px;font-family:inherit;font-size:13px;font-weight:600;transition:background .2s,border-color .2s,transform .2s;display:inline-flex}.improvement-modal-cancel{color:#4b5563;background:#fff;border:1px solid #dfe3e8}.improvement-modal-cancel:hover{background:#f8fafc}.improvement-modal-cancel:active,.improvement-modal-confirm:active,.improvement-modal-reject:active{transform:translateY(1px)}.improvement-modal-confirm{color:#fff;background:#198754;border:1px solid #198754}.improvement-modal-confirm:hover{background:#157347;border-color:#157347}.improvement-modal-reject{color:#fff;background:#dc3545;border:1px solid #dc3545}.improvement-modal-reject:hover{background:#bb2d3b;border-color:#bb2d3b}@media (width<=480px){.improvement-modal-overlay{padding:16px}.improvement-action-modal{border-radius:12px;max-width:100%;padding:20px}.improvement-modal-content h3{font-size:17px}.improvement-modal-content p{font-size:13px}.improvement-modal-actions{flex-direction:column-reverse;gap:8px}.improvement-modal-cancel,.improvement-modal-confirm,.improvement-modal-reject{width:100%}}.improvement-header-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.improvement-export-btn{cursor:pointer;border:1px solid #0000;border-radius:7px;padding:7px 13px;font-size:12.5px;font-weight:600;transition:all .2s}.improvement-export-btn.excel{color:#fff;background:#198754;border-color:#198754}.improvement-export-btn.excel:hover{background:#157347}.improvement-export-btn.pdf{color:#fff;background:#dc2626;border-color:#dc2626}.improvement-export-btn.pdf:hover{background:#b91c1c}.improvement-export-btn:disabled{color:#94a3b8;cursor:not-allowed;background:#f1f5f9;border-color:#e2e8f0}.header{z-index:1000;background:#fff;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;height:70px;padding:0 25px;display:flex;position:sticky;top:0}.header-left{align-items:center;gap:15px;display:flex}.menu-btn{cursor:pointer;color:#334155;background:0 0;border:none;justify-content:center;align-items:center;display:flex}.menu-btn:hover{color:#2563eb}.header-logo{object-fit:contain;width:42px;height:42px}.brand{flex-direction:column;display:flex}.brand h2{color:#0f172a;margin:0;font-size:22px;font-weight:700}.brand span{color:#64748b;font-size:13px}.header-right{align-items:center;display:flex;position:relative}.profile{cursor:pointer;align-items:center;gap:10px;display:flex}.user-info{text-align:right}.user-info h4{color:#0f172a;margin:0;font-size:15px}.user-info p{color:#64748b;margin:2px 0;font-size:12px}.avatar{color:#fff;background:#2563eb;border-radius:50%;justify-content:center;align-items:center;width:42px;height:42px;font-size:18px;font-weight:700;display:flex}.profile-dropdown{z-index:2000;background:#fff;border-radius:16px;width:260px;padding:15px;position:absolute;top:55px;right:0;box-shadow:0 15px 40px #00000026}.dropdown-user{border-bottom:1px solid #e5e7eb;padding-bottom:12px}.dropdown-user h4{color:#0f172a;margin:0;font-size:16px}.dropdown-user p{color:#64748b;margin:4px 0 0;font-size:12px}.dropdown-logout{color:#fff;cursor:pointer;background:#ef4444;border:none;border-radius:10px;width:100%;margin-top:12px;padding:12px;font-size:15px;font-weight:600}.dropdown-logout:hover{background:#dc2626}.rotate{transition:all .3s;transform:rotate(180deg)}@media (width<=992px){.header{padding:0 16px}.brand h2{font-size:20px}}@media (width<=768px){.header{height:64px;padding:0 12px}.header-logo{width:34px;height:34px}.brand h2{font-size:18px}.brand span{font-size:11px}.user-info{display:none}.avatar{width:36px;height:36px;font-size:16px}.profile-dropdown{width:240px;right:-10px}}@media (width<=480px){.brand h2{font-size:16px}.brand span{display:none}.header-logo{width:30px;height:30px}.avatar{width:34px;height:34px}.profile-dropdown{width:220px}}.sidebar{background:#0f172a;border-right:1px solid #ffffff0d;flex-direction:column;flex:0 0 250px;width:250px;min-width:250px;max-width:250px;height:calc(100vh - 70px);transition:all .3s;display:flex;position:sticky;top:70px;left:0;overflow:hidden}.sidebar-menu{flex-direction:column;flex:1;gap:6px;padding:15px;display:flex;overflow:hidden auto}.sidebar-menu::-webkit-scrollbar{width:6px}.sidebar-menu::-webkit-scrollbar-thumb{background:#2563eb;border-radius:20px}.menu-title{color:#7c8db5;letter-spacing:1px;text-transform:uppercase;margin:18px 12px 8px;font-size:11px;font-weight:700}.sidebar-menu a{color:#dbe4f0;border-radius:14px;align-items:center;gap:14px;padding:14px 16px;font-size:15px;font-weight:500;text-decoration:none;transition:all .25s;display:flex}.sidebar-menu a:hover{color:#fff;background:#2563eb2e;transform:translate(4px)}.sidebar-menu a.active{color:#fff;background:linear-gradient(90deg,#2563eb,#06b6d4);box-shadow:0 8px 18px #2563eb59}.sidebar-menu svg{flex-shrink:0;width:20px;height:20px}.sidebar-menu a:hover svg{transform:scale(1.08)}.sidebar-footer{border-top:1px solid #ffffff0f;padding:15px}.sidebar-version{text-align:center;color:#94a3b8}.sidebar-version h3{color:#fff;margin-bottom:5px;font-size:16px}.sidebar-version p{margin-bottom:5px;font-size:12px}.sidebar-version small{color:#64748b}.sidebar.collapsed{flex:0 0 78px;width:78px;min-width:78px;max-width:78px}.sidebar.collapsed .menu-title{display:none}.sidebar.collapsed .sidebar-menu a{justify-content:center;padding:15px 0}.sidebar.collapsed .sidebar-menu a span{display:none}@media (width<=992px){.sidebar{flex:0 0 220px;width:220px;min-width:220px;max-width:220px}}@media (width<=768px){.sidebar{z-index:999;width:250px;height:calc(100vh - 70px);transition:left .3s;position:fixed;top:70px;left:-250px}.sidebar.open{left:0}}footer{background:#fff;justify-content:center;align-items:center;height:40px;display:flex}@media (width<=768px){.content-area{padding:16px}.sidebar-overlay{z-index:998;background:#00000073;width:100%;height:calc(100vh - 70px);display:block;position:fixed;top:70px;left:0}}.app-layout{background:#f8fafc;flex-direction:column;width:100%;min-width:0;max-width:none;height:100vh;min-height:100vh;display:flex;overflow:hidden}.main-section{flex:auto;width:100%;min-width:0;max-width:none;min-height:0;display:flex}.content-area{background:#f8fafc;flex:auto;width:auto;min-width:0;max-width:none;padding:30px;overflow:hidden auto}.sidebar-overlay{display:none}@media (width<=768px){.content-area{padding:16px}.sidebar-overlay{z-index:998;background:#00000073;width:100%;height:calc(100vh - 70px);display:block;position:fixed;top:70px;left:0}}.modal-overlay{z-index:9999;background:#0f172a73;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.customer-modal{background:#fff;border-radius:14px;width:900px;max-width:100%;animation:.25s popup;overflow:hidden;box-shadow:0 18px 45px #0003}@keyframes popup{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}.modal-header{border-bottom:1px solid #ececec;justify-content:space-between;align-items:center;padding:20px 24px;display:flex}.modal-header h2{color:#111827;margin:0;font-size:24px}.modal-header p{color:#6b7280;margin-top:6px;font-size:14px}.close-btn{cursor:pointer;background:#f3f4f6;border:none;border-radius:8px;width:38px;height:38px;transition:all .3s}.close-btn:hover{background:#e5e7eb}.modal-body{padding:24px}.form-group input,.form-group select,.form-group textarea{resize:vertical;border:1px solid #d1d5db;border-radius:8px;outline:none;width:100%;padding:11px 14px;font-family:inherit;font-size:14px;transition:all .25s}.form-group textarea{min-height:90px}.form-group:nth-child(5){grid-column:span 2}.modal-footer{border-top:1px solid #ececec;justify-content:flex-end;gap:12px;padding:18px 24px;display:flex}.cancel-btn{cursor:pointer;background:#e5e7eb;border:none;border-radius:8px;padding:10px 18px;font-weight:600}.save-btn{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:8px;padding:10px 22px;font-weight:600}.save-btn:hover{background:#1d4ed8}@media (width<=768px){.customer-modal{width:100%;max-height:95vh;overflow-y:auto}.form-grid{grid-template-columns:1fr}.form-group:nth-child(5){grid-column:span 1}.modal-footer{flex-direction:column}.cancel-btn,.save-btn{width:100%}}.customer-page{color:#1e293b;background:#f5f7fb;width:100%;min-width:0;min-height:100vh;padding:24px}.customer-page-header{justify-content:space-between;align-items:center;gap:20px;width:100%;margin-bottom:24px;display:flex}.customer-page-eyebrow{color:#198754;letter-spacing:.9px;margin-bottom:5px;font-size:11px;font-weight:700}.customer-page-header h1{color:#0f172a;letter-spacing:-.4px;margin:0;font-size:26px;font-weight:700}.customer-page-header p{color:#64748b;margin:6px 0 0;font-size:14px}.customer-add-btn{color:#fff;cursor:pointer;background:#198754;border:none;border-radius:9px;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:0 17px;font-size:14px;font-weight:600;transition:all .2s;display:inline-flex}.customer-add-btn:hover{background:#157347;transform:translateY(-1px);box-shadow:0 5px 14px #19875438}.customer-toolbar{align-items:center;width:100%;margin-bottom:20px;display:flex}.customer-search-box{color:#94a3b8;background:#fff;border:1px solid #e2e8f0;border-radius:9px;align-items:center;gap:10px;width:100%;max-width:460px;height:44px;padding:0 13px;transition:all .2s;display:flex}.customer-search-box:focus-within{border-color:#198754;box-shadow:0 0 0 3px #19875414}.customer-search-box input{color:#1e293b;background:0 0;border:none;outline:none;width:100%;min-width:0;font-size:14px}.customer-search-box input::placeholder{color:#94a3b8}.customer-search-clear{color:#64748b;cursor:pointer;background:#f1f5f9;border:none;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:26px;height:26px;padding:0;display:flex}.customer-search-clear:hover{color:#334155;background:#e2e8f0}.customer-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;width:100%;margin-bottom:24px;display:grid}.customer-summary-card{background:#fff;border:1px solid #e8edf3;border-radius:12px;justify-content:space-between;align-items:center;gap:15px;min-width:0;padding:19px 20px;transition:all .2s;display:flex;box-shadow:0 2px 10px #0f172a0a}.customer-summary-card:hover{transform:translateY(-2px);box-shadow:0 7px 18px #0f172a12}.customer-summary-content{min-width:0}.customer-summary-content span{color:#64748b;margin-bottom:5px;font-size:13px;font-weight:500;display:block}.customer-summary-content strong{color:#0f172a;font-size:27px;font-weight:700;line-height:1.1;display:block}.customer-summary-icon{border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:42px;height:42px;display:flex}.customer-summary-icon.total{color:#0284c7;background:#e0f2fe}.customer-summary-icon.active{background:#dcfce7}.customer-summary-icon.inactive{background:#fee2e2}.customer-summary-icon span{border-radius:50%;width:9px;height:9px}.customer-summary-icon.active span{background:#16a34a}.customer-summary-icon.inactive span{background:#dc2626}.customer-table-card{background:#fff;border:1px solid #e8edf3;border-radius:12px;width:100%;min-width:0;overflow:hidden;box-shadow:0 2px 10px #0f172a0a}.customer-table-header{border-bottom:1px solid #eef2f7;align-items:center;min-height:68px;padding:14px 18px;display:flex}.customer-table-title{align-items:center;gap:11px;display:flex}.customer-table-icon{color:#198754;background:#ecfdf5;border-radius:9px;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.customer-table-title h2{color:#0f172a;margin:0;font-size:15px;font-weight:700}.customer-table-title span{color:#94a3b8;margin-top:3px;font-size:11px;display:block}.customer-table-wrapper{width:100%;min-width:0;overflow:auto hidden}.customer-table{border-collapse:collapse;width:100%;min-width:900px}.customer-table thead{background:#f8fafc}.customer-table th{color:#475569;text-align:left;white-space:nowrap;border-bottom:1px solid #e2e8f0;padding:13px 15px;font-size:11px;font-weight:700}.customer-table td{color:#475569;white-space:nowrap;vertical-align:middle;border-bottom:1px solid #eef2f7;padding:14px 15px;font-size:13px}.customer-table tbody tr{transition:background .18s}.customer-table tbody tr:hover{background:#f8fafc}.customer-table tbody tr:last-child td{border-bottom:none}.customer-name-cell{align-items:center;gap:9px;min-width:0;display:flex}.customer-avatar{color:#198754;background:#ecfdf5;border-radius:8px;flex:0 0 32px;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.customer-avatar svg{width:17px;height:17px}.customer-name{flex-direction:column;min-width:0;display:flex}.customer-name strong{text-overflow:ellipsis;color:#0f172a;font-size:13px;font-weight:600;overflow:hidden}.customer-name small{color:#94a3b8;margin-top:3px;font-size:11px}.customer-org-cell{color:#475569;align-items:center;gap:8px;display:flex}.customer-org-cell svg{color:#198754;flex-shrink:0}.customer-status{border-radius:20px;justify-content:center;align-items:center;gap:6px;min-width:76px;padding:5px 9px;font-size:10px;font-weight:700;line-height:1;display:inline-flex}.customer-status-dot{border-radius:50%;flex-shrink:0;width:6px;height:6px}.customer-status.active{color:#15803d;background:#dcfce7}.customer-status.active .customer-status-dot{background:#16a34a}.customer-status.inactive{color:#b91c1c;background:#fee2e2}.customer-status.inactive .customer-status-dot{background:#dc2626}.customer-actions{align-items:center;gap:6px;display:flex}.customer-action{cursor:pointer;border:none;border-radius:8px;justify-content:center;align-items:center;width:33px;height:33px;padding:0;transition:all .18s;display:flex}.customer-action:hover{transform:translateY(-1px)}.customer-action.edit{color:#d97706;background:#fef3c7}.customer-action.edit:hover{background:#fde68a}.customer-action.delete{color:#dc2626;background:#fee2e2}.customer-action.delete:hover{background:#fecaca}.customer-loading{color:#64748b;justify-content:center;align-items:center;min-height:260px;font-size:14px;display:flex}.customer-empty{color:#cbd5e1;text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:260px;padding:40px 20px;display:flex}.customer-empty svg{margin-bottom:12px}.customer-empty h3{color:#64748b;margin:0 0 5px;font-size:15px;font-weight:600}.customer-empty p{color:#94a3b8;margin:0;font-size:12px}.customer-pagination{background:#fff;border:1px solid #e8edf3;border-radius:12px;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;margin-top:16px;padding:14px 16px;display:flex;box-shadow:0 2px 10px #0f172a0a}.customer-pagination-btn{color:#334155;cursor:pointer;background:#fff;border:1px solid #dbe4ee;border-radius:8px;align-items:center;gap:4px;height:34px;padding:0 12px;font-size:12px;font-weight:600;transition:all .2s;display:flex}.customer-pagination-btn:hover:not(:disabled){color:#198754;background:#ecfdf5;border-color:#198754}.customer-pagination-btn:disabled{opacity:.4;cursor:not-allowed}.customer-pagination-numbers{flex-wrap:wrap;align-items:center;gap:5px;display:flex}.customer-pagination-number{color:#334155;cursor:pointer;background:#fff;border:1px solid #dbe4ee;border-radius:8px;width:34px;height:34px;font-size:12px;font-weight:600;transition:all .2s}.customer-pagination-number:hover{color:#198754;background:#ecfdf5;border-color:#198754}.customer-pagination-number.active{color:#fff;background:#198754;border-color:#198754}.customer-pagination-info{color:#64748b;margin-left:5px;font-size:12px}.customer-mobile-list{display:none}.customer-mobile-card{background:#fff;border:1px solid #e8edf3;border-radius:12px;width:100%;min-width:0;padding:16px;box-shadow:0 2px 9px #0f172a0a}.customer-mobile-top{border-bottom:1px solid #eef2f7;justify-content:space-between;align-items:flex-start;gap:12px;padding-bottom:14px;display:flex}.customer-mobile-identity{align-items:center;gap:9px;min-width:0;display:flex}.customer-mobile-avatar{color:#198754;background:#ecfdf5;border-radius:9px;flex:0 0 36px;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.customer-mobile-name{min-width:0}.customer-mobile-name h3{text-overflow:ellipsis;white-space:nowrap;color:#0f172a;max-width:180px;margin:0;font-size:14px;font-weight:700;overflow:hidden}.customer-mobile-name span{color:#64748b;margin-top:3px;font-size:11px;display:block}.customer-mobile-info{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:15px 0;display:grid}.customer-mobile-info-item{min-width:0}.customer-mobile-info-item span{color:#94a3b8;text-transform:uppercase;letter-spacing:.3px;margin-bottom:4px;font-size:10px;font-weight:600;display:block}.customer-mobile-info-item strong{text-overflow:ellipsis;white-space:nowrap;color:#334155;font-size:12px;font-weight:600;display:block;overflow:hidden}.customer-mobile-actions{border-top:1px solid #eef2f7;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding-top:13px;display:grid}.customer-mobile-action{cursor:pointer;border:none;border-radius:7px;justify-content:center;align-items:center;gap:5px;height:35px;font-size:10px;font-weight:600;transition:all .18s;display:flex}.customer-mobile-action:hover{transform:translateY(-1px)}.customer-mobile-action.edit{color:#d97706;background:#fef3c7}.customer-mobile-action.delete{color:#dc2626;background:#fee2e2}.customer-mobile-empty{text-align:center;color:#cbd5e1;background:#fff;border:1px solid #e8edf3;border-radius:12px;padding:55px 20px}.customer-mobile-empty h3{color:#64748b;margin:12px 0 5px;font-size:15px}.customer-mobile-empty p{color:#94a3b8;margin:0;font-size:12px}@media (width<=900px){.customer-page{padding:20px}.customer-summary-grid{gap:12px}.customer-summary-card{padding:16px}.customer-summary-content strong{font-size:24px}.customer-table{min-width:850px}}@media (width<=768px){.customer-page{padding:16px}.customer-page-header{align-items:flex-start}.customer-page-header h1{font-size:22px}.customer-page-header p{font-size:13px}.customer-add-btn{min-height:40px;padding:0 13px}.customer-search-box{max-width:none}.customer-summary-grid{grid-template-columns:1fr;gap:9px}.customer-summary-card{padding:14px 16px}.customer-summary-content strong{font-size:23px}.customer-table-card{display:none}.customer-mobile-list{flex-direction:column;gap:10px;width:100%;display:flex}.customer-pagination{margin-bottom:14px}}@media (width<=600px){.customer-page{padding:13px}.customer-page-header{flex-direction:column;align-items:stretch;gap:13px}.customer-add-btn{width:100%}.customer-toolbar{margin-bottom:15px}.customer-search-box{height:42px}.customer-mobile-card{padding:14px}.customer-mobile-info{gap:11px}.customer-pagination{flex-direction:column}.customer-pagination-info{margin-left:0}}@media (width<=380px){.customer-page{padding:10px}.customer-page-header h1{font-size:20px}.customer-mobile-top{gap:8px}.customer-mobile-name h3{max-width:135px}.customer-status{min-width:auto;padding:5px 7px}}.asset-page{box-sizing:border-box;background:#f8fafc;width:100%;min-height:100%;padding:4px}.asset-page *,.asset-page :before,.asset-page :after{box-sizing:border-box}.asset-page-header{justify-content:space-between;align-items:flex-end;gap:20px;width:100%;margin-bottom:28px;display:flex}.asset-page-title{min-width:0}.asset-page-eyebrow{color:#64748b;letter-spacing:.08em;text-transform:uppercase;margin-bottom:6px;font-size:12px;font-weight:600;display:block}.asset-page-header h1,.asset-page-header h2{color:#0f172a;margin:0;font-size:clamp(24px,2.2vw,32px);font-weight:700;line-height:1.2}.asset-page-header p{color:#64748b;margin:7px 0 0;font-size:14px;line-height:1.5}.asset-header-actions{flex-shrink:0;align-items:center;gap:10px;display:flex}.asset-add-btn{color:#fff;cursor:pointer;background:#198754;border:none;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:11px 17px;font-size:14px;font-weight:600;transition:background .2s,transform .2s,box-shadow .2s;display:inline-flex;box-shadow:0 4px 12px #1987542e}.asset-add-btn:hover{background:#157347;transform:translateY(-1px);box-shadow:0 6px 16px #1987543d}.asset-add-icon{font-size:19px;line-height:1}.asset-error{color:#991b1b;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;align-items:center;gap:10px;width:100%;margin-bottom:18px;padding:13px 16px;font-size:14px;display:flex}.asset-error-icon{background:#fee2e2;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:22px;height:22px;font-size:12px;font-weight:700;display:flex}.asset-form-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;width:100%;padding:26px;box-shadow:0 4px 6px #0f172a05,0 10px 30px #0f172a0a}.asset-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;width:100%;display:grid}.asset-form-full{grid-column:1/-1}.asset-form-group{flex-direction:column;min-width:0;display:flex}.asset-form-group label{color:#334155;margin-bottom:7px;font-size:13px;font-weight:600}.asset-form-group label span{color:#dc2626}.asset-form-group input,.asset-form-group select,.asset-form-group textarea{color:#1e293b;background:#fff;border:1px solid #dfe3e8;border-radius:9px;outline:none;width:100%;font-family:inherit;font-size:13px;transition:border-color .2s,box-shadow .2s,background .2s}.asset-form-group input,.asset-form-group select{height:44px;padding:0 13px}.asset-form-group textarea{resize:vertical;min-height:110px;padding:12px 13px;line-height:1.5}.asset-form-group input::placeholder,.asset-form-group textarea::placeholder{color:#94a3b8}.asset-form-group input:focus,.asset-form-group select:focus,.asset-form-group textarea:focus{border-color:#198754;box-shadow:0 0 0 3px #19875414}.asset-form-group input:disabled,.asset-form-group select:disabled,.asset-form-group textarea:disabled{color:#94a3b8;cursor:not-allowed;background:#f8fafc}.asset-form-actions{border-top:1px solid #eef0f3;justify-content:flex-end;align-items:center;gap:10px;margin-top:28px;padding-top:22px;display:flex}.asset-cancel-btn,.asset-save-btn{cursor:pointer;border-radius:9px;justify-content:center;align-items:center;min-height:42px;padding:10px 18px;font-family:inherit;font-size:13px;font-weight:600;transition:background .2s,border-color .2s,color .2s,transform .2s;display:inline-flex}.asset-cancel-btn{color:#475569;background:#fff;border:1px solid #dfe3e8}.asset-cancel-btn:hover{color:#1e293b;background:#f8fafc;border-color:#cbd5e1}.asset-save-btn{color:#fff;background:#198754;border:1px solid #198754;box-shadow:0 4px 12px #19875426}.asset-save-btn:hover{background:#157347;transform:translateY(-1px)}.asset-cancel-btn:disabled,.asset-save-btn:disabled,.asset-add-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}.asset-table-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;width:100%;overflow:hidden;box-shadow:0 4px 6px #0f172a05,0 10px 30px #0f172a0a}.asset-table-header{background:#fff;border-bottom:1px solid #eef0f3;justify-content:space-between;align-items:center;gap:20px;padding:20px 22px;display:flex}.asset-table-title{align-items:center;gap:12px;min-width:0;display:flex}.asset-table-icon{color:#198754;background:#eef7f2;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;font-size:16px;font-weight:700;display:flex}.asset-table-title h2{color:#111827;margin:0;font-size:16px;font-weight:700}.asset-table-title span{color:#64748b;margin-top:3px;font-size:12px;display:block}.asset-count{color:#64748b;flex-shrink:0;align-items:baseline;gap:5px;font-size:13px;display:flex}.asset-count strong{color:#111827;font-size:18px}.asset-filters{background:#fbfcfd;border-bottom:1px solid #eef0f3;align-items:flex-end;gap:12px;width:100%;padding:16px 22px;display:flex}.asset-search-box{flex:auto;min-width:240px;position:relative}.asset-search-box input{color:#1e293b;background:#fff;border:1px solid #dfe3e8;border-radius:9px;outline:none;width:100%;height:42px;padding:0 40px;font-family:inherit;font-size:13px;transition:border-color .2s,box-shadow .2s}.asset-search-box input::placeholder{color:#94a3b8}.asset-search-box input:focus{border-color:#198754;box-shadow:0 0 0 3px #19875414}.asset-search-icon{color:#64748b;pointer-events:none;font-size:20px;line-height:1;position:absolute;top:50%;left:14px;transform:translateY(-50%)}.asset-search-clear{color:#64748b;cursor:pointer;background:#f1f5f9;border:none;border-radius:50%;justify-content:center;align-items:center;width:24px;height:24px;padding:0;font-size:17px;line-height:1;display:flex;position:absolute;top:50%;right:10px;transform:translateY(-50%)}.asset-search-clear:hover{color:#334155;background:#e2e8f0}.asset-filter-control{flex-direction:column;flex:0 0 170px;gap:5px;display:flex}.asset-filter-control label{color:#64748b;letter-spacing:.05em;text-transform:uppercase;font-size:10px;font-weight:700}.asset-filter-control select{color:#334155;cursor:pointer;background:#fff;border:1px solid #dfe3e8;border-radius:9px;outline:none;width:100%;height:42px;padding:0 32px 0 12px;font-family:inherit;font-size:12px;font-weight:500;transition:border-color .2s,box-shadow .2s}.asset-filter-control select:focus{border-color:#198754;box-shadow:0 0 0 3px #19875414}.asset-clear-filter-btn{color:#64748b;cursor:pointer;background:#fff;border:1px solid #dfe3e8;border-radius:9px;flex:none;height:42px;padding:0 15px;font-family:inherit;font-size:12px;font-weight:600;transition:background .2s,color .2s,border-color .2s}.asset-clear-filter-btn:hover{color:#1e293b;background:#f8fafc;border-color:#cbd5e1}.asset-table-wrapper{-webkit-overflow-scrolling:touch;width:100%;overflow:auto hidden}.asset-table{border-collapse:collapse;width:100%;min-width:960px}.asset-table th,.asset-table td{text-align:left;white-space:nowrap;border-bottom:1px solid #f0f2f5;padding:15px 18px;font-size:13px}.asset-table th{color:#64748b;letter-spacing:.04em;text-transform:uppercase;background:#f8fafc;font-size:11px;font-weight:700}.asset-table td{color:#475569}.asset-table tbody tr{transition:background .15s}.asset-table tbody tr:hover{background:#f8fafc}.asset-table tbody tr:last-child td{border-bottom:none}.asset-id{color:#64748b;font-size:12px;font-weight:600}.asset-name-cell{align-items:center;gap:10px;min-width:180px;display:flex}.asset-name-cell strong{color:#1e293b;font-size:13px;font-weight:600;display:block}.asset-name-cell small{color:#94a3b8;margin-top:3px;font-size:11px;display:block}.asset-avatar{color:#198754;background:#eef7f2;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;font-size:13px;font-weight:700;display:flex}.asset-code{color:#475569;background:#f8fafc;border-radius:6px;padding:5px 8px;font-family:monospace;font-size:12px;display:inline-block}.asset-status{border-radius:20px;align-items:center;gap:6px;padding:5px 9px;font-size:11px;font-weight:700;display:inline-flex}.asset-status-dot{background:currentColor;border-radius:50%;width:6px;height:6px}.asset-status.active{color:#15803d;background:#ecfdf3}.asset-status.inactive{color:#b91c1c;background:#fef2f2}.asset-actions{align-items:center;gap:6px;display:flex}.asset-actions button,.asset-mobile-actions button{cursor:pointer;border:none;border-radius:7px;padding:7px 10px;font-family:inherit;font-size:11px;font-weight:600;transition:background .15s,transform .15s}.asset-actions button:hover,.asset-mobile-actions button:hover{transform:translateY(-1px)}.asset-view-btn{color:#2563eb;background:#eff6ff}.asset-view-btn:hover{background:#dbeafe}.asset-edit-btn{color:#a16207;cursor:pointer;background:#fffbeb;border:none;border-radius:9px;padding:9px 14px;font-family:inherit;font-size:12px;font-weight:600}.asset-edit-btn:hover{background:#fef3c7}.asset-delete-btn{color:#dc2626;background:#fef2f2}.asset-delete-btn:hover{background:#fee2e2}.asset-mobile-list{display:none}.asset-mobile-card{background:#fff;border:1px solid #e5e7eb;border-radius:13px;width:100%;padding:16px;box-shadow:0 2px 8px #0f172a08}.asset-mobile-top{border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:flex-start;gap:12px;padding-bottom:14px;display:flex}.asset-mobile-identity{align-items:center;gap:10px;min-width:0;display:flex}.asset-mobile-identity .asset-avatar{width:40px;height:40px}.asset-mobile-identity h3{color:#1e293b;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:14px;font-weight:700;overflow:hidden}.asset-mobile-identity span{color:#94a3b8;margin-top:3px;font-size:11px;display:block}.asset-mobile-info{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:16px 0;display:grid}.asset-mobile-info-item{min-width:0}.asset-mobile-info-item span{color:#94a3b8;letter-spacing:.04em;text-transform:uppercase;margin-bottom:4px;font-size:10px;font-weight:600;display:block}.asset-mobile-info-item strong{color:#334155;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600;display:block;overflow:hidden}.asset-mobile-actions{border-top:1px solid #f1f5f9;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding-top:13px;display:grid}.asset-mobile-actions button{min-height:36px}.asset-empty{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:280px;padding:40px 20px;display:flex}.asset-empty-icon{color:#198754;background:#eef7f2;border-radius:14px;justify-content:center;align-items:center;width:56px;height:56px;margin-bottom:14px;font-size:20px;font-weight:700;display:flex}.asset-empty h3{color:#1e293b;margin:0;font-size:16px}.asset-empty p{color:#64748b;margin:7px 0 18px;font-size:13px}.asset-empty-btn{color:#fff;cursor:pointer;background:#198754;border:none;border-radius:9px;padding:10px 16px;font-family:inherit;font-size:13px;font-weight:600}.asset-empty-btn:hover{background:#157347}.asset-loading{color:#64748b;flex-direction:column;justify-content:center;align-items:center;gap:12px;min-height:280px;font-size:14px;display:flex}.asset-loading-spinner{border:3px solid #e2e8f0;border-top-color:#198754;border-radius:50%;width:28px;height:28px;animation:.8s linear infinite assetSpin}@keyframes assetSpin{to{transform:rotate(360deg)}}.asset-details-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.asset-detail-item{background:#fbfcfd;border:1px solid #eef0f3;border-radius:10px;min-width:0;padding:16px}.asset-detail-item label{color:#94a3b8;letter-spacing:.05em;text-transform:uppercase;margin-bottom:7px;font-size:10px;font-weight:700;display:block}.asset-detail-item>div{overflow-wrap:anywhere;color:#334155;font-size:13px;font-weight:600;line-height:1.5}.asset-detail-full{grid-column:1/-1}@media (width<=1000px){.asset-page{padding:2px}.asset-page-header{margin-bottom:22px}.asset-table th,.asset-table td{padding:13px 14px}.asset-filters{flex-wrap:wrap}.asset-search-box{flex:100%}.asset-filter-control{flex:1 1 0}.asset-clear-filter-btn{flex:none}}@media (width<=768px){.asset-page{padding:0}.asset-page-header{flex-direction:column;align-items:stretch;gap:16px;margin-bottom:20px}.asset-page-header h1,.asset-page-header h2{font-size:25px}.asset-page-header p{font-size:13px}.asset-header-actions{width:100%}.asset-header-actions button{flex:1}.asset-add-btn{width:100%;min-height:44px}.asset-form-card{border-radius:14px;padding:18px}.asset-form-grid{grid-template-columns:1fr;gap:18px}.asset-form-full{grid-column:auto}.asset-form-actions{flex-direction:column-reverse;align-items:stretch}.asset-form-actions button{width:100%;min-height:44px}.asset-details-grid{grid-template-columns:1fr;gap:12px}.asset-detail-full{grid-column:auto}.asset-filters{grid-template-columns:1fr 1fr;gap:10px;padding:14px 16px;display:grid}.asset-search-box{grid-column:1/-1;min-width:0}.asset-filter-control{width:100%;min-width:0}.asset-clear-filter-btn{width:100%}.asset-table-wrapper{display:none}.asset-mobile-list{flex-direction:column;gap:12px;padding:14px;display:flex}.asset-table-card{border-radius:14px}.asset-table-header{align-items:center;padding:16px}.asset-table-title span{display:none}.asset-table-icon{border-radius:9px;width:36px;height:36px}.asset-count{font-size:12px}.asset-count strong{font-size:16px}.asset-mobile-card{width:100%;padding:16px}.asset-mobile-top{padding-bottom:14px}.asset-mobile-info{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:16px 0}.asset-mobile-actions{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=480px){.asset-page-header h1,.asset-page-header h2{font-size:23px}.asset-page-header p{font-size:12px}.asset-form-card{border-radius:12px;padding:15px}.asset-form-group input,.asset-form-group select{height:44px;font-size:12px}.asset-form-group textarea{font-size:12px}.asset-table-header{padding:14px}.asset-table-title h2{font-size:14px}.asset-mobile-list{gap:10px;padding:10px}.asset-mobile-card{padding:14px}.asset-mobile-info{gap:12px}.asset-mobile-actions button{font-size:10px}.asset-filters{padding:12px}.asset-search-box input{height:44px;font-size:12px}.asset-filter-control select{height:42px;font-size:11px}.asset-filter-control label{font-size:9px}.asset-clear-filter-btn{height:42px;font-size:11px}.asset-detail-item{padding:13px}}@media (width<=360px){.asset-page-header h1,.asset-page-header h2{font-size:21px}.asset-mobile-info{grid-template-columns:1fr;gap:10px}.asset-mobile-actions{grid-template-columns:1fr}.asset-mobile-actions button{width:100%}.asset-filters{grid-template-columns:1fr}.asset-search-box{grid-column:auto}}.user-page{color:#1e293b;background:#f5f7fb;width:100%;min-width:0;min-height:100vh;padding:24px}.user-page-header{justify-content:space-between;align-items:center;gap:20px;width:100%;margin-bottom:24px;display:flex}.user-page-eyebrow{color:#198754;letter-spacing:.9px;margin-bottom:5px;font-size:11px;font-weight:700}.user-page-header h1{color:#0f172a;letter-spacing:-.4px;margin:0;font-size:26px;font-weight:700}.user-page-header p{color:#64748b;margin:6px 0 0;font-size:14px}.user-add-btn{color:#fff;cursor:pointer;background:#198754;border:none;border-radius:9px;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:0 17px;font-size:14px;font-weight:600;transition:all .2s;display:inline-flex}.user-add-btn:hover{background:#157347;transform:translateY(-1px);box-shadow:0 5px 14px #19875438}.user-toolbar{align-items:center;width:100%;margin-bottom:20px;display:flex}.user-search-box{color:#94a3b8;background:#fff;border:1px solid #e2e8f0;border-radius:9px;align-items:center;gap:10px;width:100%;max-width:460px;height:44px;padding:0 13px;transition:all .2s;display:flex}.user-search-box:focus-within{border-color:#198754;box-shadow:0 0 0 3px #19875414}.user-search-box input{color:#1e293b;background:0 0;border:none;outline:none;width:100%;min-width:0;font-size:14px}.user-search-box input::placeholder{color:#94a3b8}.user-search-clear{color:#64748b;cursor:pointer;background:#f1f5f9;border:none;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:26px;height:26px;padding:0;display:flex}.user-search-clear:hover{color:#334155;background:#e2e8f0}.user-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;width:100%;margin-bottom:24px;display:grid}.user-summary-card{background:#fff;border:1px solid #e8edf3;border-radius:12px;justify-content:space-between;align-items:center;gap:15px;min-width:0;padding:19px 20px;transition:all .2s;display:flex;box-shadow:0 2px 10px #0f172a0a}.user-summary-card:hover{transform:translateY(-2px);box-shadow:0 7px 18px #0f172a12}.user-summary-content{min-width:0}.user-summary-content span{color:#64748b;margin-bottom:5px;font-size:13px;font-weight:500;display:block}.user-summary-content strong{color:#0f172a;font-size:27px;font-weight:700;line-height:1.1;display:block}.user-summary-icon{border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:42px;height:42px;display:flex}.user-summary-icon.total{color:#0284c7;background:#e0f2fe}.user-summary-icon.active{background:#dcfce7}.user-summary-icon.inactive{background:#fee2e2}.user-summary-icon span{border-radius:50%;width:9px;height:9px}.user-summary-icon.active span{background:#16a34a}.user-summary-icon.inactive span{background:#dc2626}.user-table-card{background:#fff;border:1px solid #e8edf3;border-radius:12px;width:100%;min-width:0;overflow:hidden;box-shadow:0 2px 10px #0f172a0a}.user-table-header{border-bottom:1px solid #eef2f7;align-items:center;min-height:68px;padding:14px 18px;display:flex}.user-table-title{align-items:center;gap:11px;display:flex}.user-table-icon{color:#198754;background:#ecfdf5;border-radius:9px;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.user-table-icon svg{width:18px;height:18px}.user-table-title h2{color:#0f172a;margin:0;font-size:15px;font-weight:700}.user-table-title span{color:#94a3b8;margin-top:3px;font-size:11px;display:block}.user-table-wrapper{width:100%;min-width:0;overflow:auto hidden}.user-table{border-collapse:collapse;width:100%;min-width:1050px}.user-table thead{background:#f8fafc}.user-table th{color:#475569;text-align:left;white-space:nowrap;border-bottom:1px solid #e2e8f0;padding:13px 15px;font-size:11px;font-weight:700}.user-table td{color:#475569;white-space:nowrap;vertical-align:middle;border-bottom:1px solid #eef2f7;padding:14px 15px;font-size:13px}.user-table tbody tr{transition:background .18s}.user-table tbody tr:hover{background:#f8fafc}.user-table tbody tr:last-child td{border-bottom:none}.user-name-cell{align-items:center;gap:9px;min-width:0;display:flex}.user-avatar{color:#198754;background:#ecfdf5;border-radius:8px;flex:0 0 32px;justify-content:center;align-items:center;width:32px;height:32px;font-size:11px;font-weight:700;display:flex}.user-name-cell>span{color:#0f172a;font-size:13px;font-weight:600}.user-role{color:#475569;background:#f1f5f9;border-radius:6px;align-items:center;padding:5px 9px;font-size:10px;font-weight:700;display:inline-flex}.user-status{border-radius:20px;justify-content:center;align-items:center;gap:6px;min-width:76px;padding:5px 9px;font-size:10px;font-weight:700;line-height:1;display:inline-flex}.user-status-dot{border-radius:50%;flex-shrink:0;width:6px;height:6px}.user-status.active{color:#15803d;background:#dcfce7}.user-status.active .user-status-dot{background:#16a34a}.user-status.inactive{color:#b91c1c;background:#fee2e2}.user-status.inactive .user-status-dot{background:#dc2626}.user-actions{align-items:center;gap:6px;display:flex}.user-action{cursor:pointer;border:none;border-radius:8px;justify-content:center;align-items:center;width:33px;height:33px;padding:0;transition:all .18s;display:flex}.user-action:hover{transform:translateY(-1px)}.user-action.view{color:#0284c7;background:#e0f2fe}.user-action.view:hover{background:#bae6fd}.user-action.edit{color:#d97706;background:#fef3c7}.user-action.edit:hover{background:#fde68a}.user-action.deactivate{color:#ea580c;background:#fff7ed}.user-action.deactivate:hover{background:#ffedd5}.user-action.activate{color:#16a34a;background:#dcfce7}.user-action.activate:hover{background:#bbf7d0}.user-action.delete{color:#dc2626;background:#fee2e2}.user-action.delete:hover{background:#fecaca}.user-empty{color:#cbd5e1;text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:260px;padding:40px 20px;display:flex}.user-empty svg{margin-bottom:12px}.user-empty h3{color:#64748b;margin:0 0 5px;font-size:15px;font-weight:600}.user-empty p{color:#94a3b8;margin:0;font-size:12px}.user-mobile-list{display:none}.user-mobile-card{background:#fff;border:1px solid #e8edf3;border-radius:12px;width:100%;min-width:0;padding:16px;box-shadow:0 2px 9px #0f172a0a}.user-mobile-top{border-bottom:1px solid #eef2f7;justify-content:space-between;align-items:flex-start;gap:12px;padding-bottom:14px;display:flex}.user-mobile-identity{align-items:center;gap:9px;min-width:0;display:flex}.user-mobile-avatar{color:#198754;background:#ecfdf5;border-radius:9px;flex:0 0 36px;justify-content:center;align-items:center;width:36px;height:36px;font-size:12px;font-weight:700;display:flex}.user-mobile-name{min-width:0}.user-mobile-name h3{text-overflow:ellipsis;white-space:nowrap;color:#0f172a;max-width:180px;margin:0;font-size:14px;font-weight:700;overflow:hidden}.user-mobile-name span{text-overflow:ellipsis;white-space:nowrap;color:#64748b;max-width:180px;margin-top:3px;font-size:11px;display:block;overflow:hidden}.user-mobile-info{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:15px 0;display:grid}.user-mobile-info-item{min-width:0}.user-mobile-info-item span{color:#94a3b8;text-transform:uppercase;letter-spacing:.3px;margin-bottom:4px;font-size:10px;font-weight:600;display:block}.user-mobile-info-item strong{text-overflow:ellipsis;white-space:nowrap;color:#334155;font-size:12px;font-weight:600;display:block;overflow:hidden}.user-mobile-actions{border-top:1px solid #eef2f7;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;padding-top:13px;display:grid}.user-mobile-action{cursor:pointer;border:none;border-radius:7px;justify-content:center;align-items:center;gap:5px;min-width:0;height:35px;padding:0 5px;font-size:10px;font-weight:600;transition:all .18s;display:flex}.user-mobile-action:hover{transform:translateY(-1px)}.user-mobile-action.view{color:#0284c7;background:#e0f2fe}.user-mobile-action.edit{color:#d97706;background:#fef3c7}.user-mobile-action.deactivate{color:#ea580c;background:#fff7ed}.user-mobile-action.activate{color:#16a34a;background:#dcfce7}.user-mobile-action.delete{color:#dc2626;background:#fee2e2}.user-mobile-empty{text-align:center;color:#cbd5e1;background:#fff;border:1px solid #e8edf3;border-radius:12px;padding:55px 20px}.user-mobile-empty h3{color:#64748b;margin:12px 0 5px;font-size:15px}.user-mobile-empty p{color:#94a3b8;margin:0;font-size:12px}@media (width<=900px){.user-page{padding:20px}.user-summary-grid{gap:12px}.user-summary-card{padding:16px}.user-summary-content strong{font-size:24px}.user-table{min-width:1000px}}@media (width<=768px){.user-page{padding:16px}.user-page-header{align-items:flex-start}.user-page-header h1{font-size:22px}.user-page-header p{font-size:13px}.user-add-btn{min-height:40px;padding:0 13px}.user-search-box{max-width:none}.user-summary-grid{grid-template-columns:1fr;gap:9px}.user-summary-card{padding:14px 16px}.user-summary-content strong{font-size:23px}.user-table-card{display:none}.user-mobile-list{flex-direction:column;gap:10px;width:100%;display:flex}}@media (width<=600px){.user-page{padding:13px}.user-page-header{flex-direction:column;align-items:stretch;gap:13px}.user-add-btn{width:100%}.user-toolbar{margin-bottom:15px}.user-search-box{height:42px}.user-mobile-card{padding:14px}.user-mobile-info{gap:11px}}@media (width<=380px){.user-page{padding:10px}.user-page-header h1{font-size:20px}.user-mobile-top{gap:8px}.user-mobile-name h3{max-width:135px}.user-status{min-width:auto;padding:5px 7px}.user-mobile-actions{gap:5px}.user-mobile-action{gap:3px;font-size:9px}}.modal-overlay{z-index:9999;background:#00000080;justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:fixed;top:0;left:0}.delete-modal{text-align:center;background:#fff;border-radius:18px;width:420px;padding:35px;animation:.25s popup;box-shadow:0 20px 50px #00000040}.modal-icon{color:#dc2626;background:#fee2e2;border-radius:50%;justify-content:center;align-items:center;width:90px;height:90px;margin:auto auto 20px;display:flex}.modal-buttons{justify-content:center;gap:15px;margin-top:25px;display:flex}.delete-btn{color:#fff;cursor:pointer;background:#dc2626;border:none;border-radius:10px;align-items:center;gap:8px;padding:12px 22px;display:flex}.cancel-btn{cursor:pointer;background:#f1f5f9;border:none;border-radius:10px;align-items:center;gap:8px;padding:12px 22px;display:flex}.organization-page{box-sizing:border-box;background:#f5f7fb;width:100%;min-height:100vh;padding:24px}.organization-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px;display:flex}.organization-header h2{color:#1e293b;margin:0;font-size:26px;font-weight:700;line-height:1.2}.organization-header p{color:#64748b;margin:7px 0 0;font-size:14px}.organization-add-btn{color:#fff;cursor:pointer;background:#198754;border:none;border-radius:8px;justify-content:center;align-items:center;gap:8px;height:42px;padding:0 17px;font-size:14px;font-weight:600;transition:background .2s,transform .2s;display:inline-flex}.organization-add-btn:hover{background:#157347;transform:translateY(-1px)}.organization-toolbar{align-items:center;gap:12px;margin-bottom:20px;display:flex}.organization-search-box{color:#64748b;box-sizing:border-box;background:#fff;border:1px solid #dbe3ea;border-radius:8px;align-items:center;gap:10px;width:100%;max-width:460px;height:44px;padding:0 13px;display:flex}.organization-search-box:focus-within{border-color:#198754;box-shadow:0 0 0 3px #19875414}.organization-search-box input{color:#1e293b;background:0 0;border:none;outline:none;flex:1;width:100%;font-size:14px}.organization-search-box input::placeholder{color:#94a3b8}.organization-status-filter{color:#334155;cursor:pointer;background:#fff;border:1px solid #dbe3ea;border-radius:8px;outline:none;min-width:145px;height:44px;padding:0 13px;font-size:14px}.organization-status-filter:focus{border-color:#198754}.organization-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:20px;display:grid}.organization-summary-card{box-sizing:border-box;background:#fff;border:1px solid #e8edf2;border-radius:10px;justify-content:space-between;align-items:center;min-height:100px;padding:18px 20px;display:flex;box-shadow:0 2px 8px #0f172a0a}.organization-summary-card h2{color:#1e293b;margin:0;font-size:28px;font-weight:700;line-height:1}.organization-summary-card p{color:#64748b;margin:7px 0 0;font-size:13px}.organization-summary-card.total,.organization-summary-card.active{border-left:4px solid #198754}.organization-summary-card.inactive{border-left:4px solid #dc3545}.organization-summary-icon{color:#198754;background:#ecfdf5;border-radius:9px;justify-content:center;align-items:center;width:38px;height:38px;display:flex}.organization-summary-card.inactive .organization-summary-icon{color:#dc3545;background:#fff1f2}.summary-dot{border-radius:50%;width:10px;height:10px;display:block}.active-dot{background:#198754}.inactive-dot{background:#dc3545}.organization-table-card{background:#fff;border:1px solid #e8edf2;border-radius:10px;width:100%;overflow-x:auto;box-shadow:0 2px 8px #0f172a0a}.organization-table{border-collapse:collapse;width:100%;min-width:920px}.organization-table thead{background:#f8fafc}.organization-table th{text-align:left;color:#475569;white-space:nowrap;border-bottom:1px solid #e8edf2;padding:14px 16px;font-size:12px;font-weight:700}.organization-table td{color:#334155;vertical-align:middle;border-bottom:1px solid #eef2f6;padding:13px 16px;font-size:13px}.organization-table tbody tr{transition:background .15s}.organization-table tbody tr:hover{background:#f8fbfa}.organization-table tbody tr:last-child td{border-bottom:none}.organization-name-cell{align-items:center;gap:11px;min-width:190px;display:flex}.organization-logo,.organization-logo-fallback{box-sizing:border-box;border-radius:9px;flex:0 0 38px;width:38px;height:38px}.organization-logo{object-fit:contain;background:#fff;border:1px solid #e2e8f0;padding:3px}.organization-logo-fallback{color:#198754;background:#ecfdf5;border:1px solid #d1fae5;justify-content:center;align-items:center;font-size:15px;font-weight:700;display:flex}.organization-name-info{flex-direction:column;gap:3px;min-width:0;display:flex}.organization-name-info strong{text-overflow:ellipsis;white-space:nowrap;color:#1e293b;max-width:190px;font-size:13.5px;font-weight:650;overflow:hidden}.organization-name-info span{color:#94a3b8;white-space:nowrap;font-size:11.5px}.organization-location{flex-direction:column;gap:2px;display:flex}.organization-location span{color:#334155}.organization-location small{color:#94a3b8;font-size:11px}.organization-status{border-radius:20px;justify-content:center;align-items:center;min-width:70px;padding:5px 10px;font-size:11px;font-weight:700;line-height:1;display:inline-flex}.organization-status.active{color:#15803d;background:#dcfce7}.organization-status.inactive{color:#dc2626;background:#fee2e2}.organization-action-header{text-align:center!important}.organization-action-buttons{justify-content:flex-start;align-items:center;gap:7px;display:flex}.organization-action-buttons button{cursor:pointer;border:none;border-radius:7px;flex:0 0 32px;justify-content:center;align-items:center;width:32px;min-width:32px;max-width:32px;height:32px;padding:0;transition:background .18s,color .18s;display:flex}.organization-view-btn{color:#2563eb;background:#eef6ff}.organization-view-btn:hover{color:#fff;background:#2563eb}.organization-edit-btn{color:#d97706;background:#fff7e6}.organization-edit-btn:hover{color:#fff;background:#f59e0b}.organization-delete-btn{color:#dc3545;background:#fff1f2}.organization-delete-btn:hover{color:#fff;background:#dc3545}.organization-loading{color:#64748b;justify-content:center;align-items:center;min-height:250px;font-size:14px;display:flex}.organization-empty-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:300px;padding:30px;display:flex}.organization-empty-state svg{color:#94a3b8;margin-bottom:14px}.organization-empty-state h3{color:#334155;margin:0 0 6px;font-size:17px}.organization-empty-state p{color:#94a3b8;margin:0;font-size:13px}.organization-mobile-list{display:none}.organization-pagination{background:#fff;border:1px solid #e8edf2;border-radius:10px;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;margin-top:16px;padding:13px 15px;display:flex;box-shadow:0 2px 8px #0f172a0a}.organization-pagination-btn{color:#475569;cursor:pointer;background:#fff;border:1px solid #dbe3ea;border-radius:7px;align-items:center;gap:4px;height:34px;padding:0 11px;font-size:12.5px;font-weight:600;display:inline-flex}.organization-pagination-btn:hover:not(:disabled){color:#198754;background:#f0fdf4;border-color:#198754}.organization-pagination-btn:disabled{opacity:.45;cursor:not-allowed}.organization-pagination-numbers{align-items:center;gap:5px;display:flex}.organization-pagination-number{color:#475569;cursor:pointer;background:#fff;border:1px solid #dbe3ea;border-radius:7px;justify-content:center;align-items:center;width:32px;height:32px;padding:0;font-size:12px;font-weight:600;display:flex}.organization-pagination-number:hover{color:#198754;border-color:#198754}.organization-pagination-number.active{color:#fff;background:#198754;border-color:#198754}.organization-pagination-info{color:#64748b;margin-left:6px;font-size:12px}@media (width<=1000px){.organization-page{padding:20px}.organization-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.organization-summary-card{padding:16px}.organization-summary-card h2{font-size:25px}.organization-table{min-width:850px}}@media (width<=768px){.organization-page{padding:15px}.organization-header{flex-direction:column;align-items:flex-start;gap:14px;margin-bottom:18px}.organization-header h2{font-size:22px}.organization-header p{font-size:13px}.organization-add-btn{width:100%;height:42px}.organization-toolbar{flex-direction:column;align-items:stretch;gap:10px;margin-bottom:16px}.organization-search-box{width:100%;max-width:none}.organization-status-filter{width:100%}.organization-summary-grid{grid-template-columns:1fr;gap:10px;margin-bottom:16px}.organization-summary-card{min-height:82px;padding:14px 16px}.organization-summary-card h2{font-size:24px}.organization-summary-card p{font-size:12px}.organization-summary-icon{width:34px;height:34px}.organization-table-card{display:none}.organization-mobile-list{flex-direction:column;gap:12px;display:flex}.organization-mobile-card{box-sizing:border-box;background:#fff;border:1px solid #e7edf2;border-radius:10px;width:100%;padding:15px;box-shadow:0 2px 8px #0f172a0a}.organization-mobile-header{border-bottom:1px solid #eef2f6;justify-content:space-between;align-items:flex-start;gap:10px;padding-bottom:13px;display:flex}.organization-mobile-identity{align-items:center;gap:10px;min-width:0;display:flex}.organization-mobile-identity .organization-logo,.organization-mobile-identity .organization-logo-fallback{flex-basis:40px;width:40px;height:40px}.organization-mobile-identity>div:last-child{min-width:0}.organization-mobile-identity h3{text-overflow:ellipsis;white-space:nowrap;color:#1e293b;max-width:190px;margin:0 0 3px;font-size:14px;font-weight:650;overflow:hidden}.organization-mobile-identity span{color:#94a3b8;font-size:11px}.organization-mobile-header .organization-status{flex-shrink:0}.organization-mobile-details{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px 0;display:grid}.organization-detail-item{flex-direction:column;gap:4px;min-width:0;display:flex}.organization-detail-item.full{grid-column:1/-1}.organization-detail-item span{color:#94a3b8;text-transform:uppercase;letter-spacing:.3px;font-size:10.5px}.organization-detail-item strong{color:#334155;text-overflow:ellipsis;white-space:nowrap;font-size:12.5px;font-weight:600;overflow:hidden}.organization-mobile-actions{border-top:1px solid #eef2f6;padding-top:12px}.organization-mobile-actions .organization-action-buttons{justify-content:flex-end}.organization-mobile-actions .organization-action-buttons button{flex-basis:34px;width:34px;min-width:34px;max-width:34px;height:34px}.organization-mobile-message{text-align:center;color:#94a3b8;background:#fff;border:1px solid #e7edf2;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;min-height:180px;padding:25px;display:flex}.organization-mobile-message h3{color:#334155;margin:10px 0 5px;font-size:16px}.organization-mobile-message p{color:#94a3b8;margin:0;font-size:12px}.organization-pagination{gap:7px;margin-top:14px;padding:12px}.organization-pagination-info{text-align:center;width:100%;margin:3px 0 0}}@media (width<=480px){.organization-page{padding:12px}.organization-header h2{font-size:20px}.organization-mobile-card{padding:13px}.organization-mobile-details{gap:10px}.organization-mobile-identity h3{max-width:155px}.organization-pagination-numbers{max-width:150px;overflow-x:auto}}.organization-form-page{background:#f5f7fb;min-height:100vh;padding:30px}.form-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px;display:flex}.form-header h2{color:#1e293b;margin:0;font-size:30px;font-weight:700}.form-header p{color:#64748b;margin-top:5px;font-size:15px}.back-btn:hover{color:#fff;background:#2563eb}.organization-form{background:#fff;border-radius:18px;padding:35px;box-shadow:0 8px 25px #00000014}.form-group.full{grid-column:1/-1}.form-group input,.form-group select,.form-group textarea{box-sizing:border-box;background:#fff;border:1px solid #dbe4ee;border-radius:10px;outline:none;width:100%;padding:13px 15px;font-size:15px;transition:all .3s}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#2563eb;box-shadow:0 0 0 4px #2563eb1f}.form-group textarea{resize:vertical}input[type=file]{cursor:pointer;background:#f8fafc;padding:12px}.form-footer{justify-content:flex-end;margin-top:35px;display:flex}.save-btn{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:10px;align-items:center;gap:10px;padding:14px 30px;font-size:15px;font-weight:600;transition:all .3s;display:flex}.save-btn:hover{background:#1d4ed8;transform:translateY(-2px)}::placeholder{color:#94a3b8}@media (width<=992px){.form-grid{grid-template-columns:1fr}.form-group.full{grid-column:auto}}@media (width<=768px){.organization-form-page{padding:15px}.organization-form{padding:20px}.form-header{flex-direction:column;align-items:flex-start}.back-btn,.save-btn{justify-content:center;width:100%}.form-footer{justify-content:stretch}}.view-page{background:#f5f7fb;min-height:100vh;padding:30px}.view-header{justify-content:space-between;align-items:center;margin-bottom:25px;display:flex}.view-header h2{color:#1e293b;margin:0;font-size:30px;font-weight:700}.view-header p{color:#64748b;margin-top:6px;font-size:14px}.profile-card{background:#fff;border-radius:18px;align-items:center;gap:25px;margin-bottom:30px;padding:25px;display:flex;box-shadow:0 8px 25px #00000014}.company-logo{color:#fff;background:#cfd7e6;border-radius:50%;justify-content:center;align-items:center;width:90px;height:90px;font-size:36px;font-weight:700;display:flex}.profile-right h2{color:#1e293b;margin:0;font-size:28px}.profile-right p{color:#64748b;margin:6px 0}.status{border-radius:30px;margin-top:8px;padding:6px 16px;font-size:13px;font-weight:600;display:inline-block}.status.active{color:#15803d;background:#dcfce7}.status.inactive{color:#dc2626;background:#fee2e2}.details-grid{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px;display:grid}.detail-card{background:#fff;border-radius:16px;align-items:flex-start;gap:18px;padding:22px;transition:all .3s;display:flex;box-shadow:0 5px 18px #00000014}.detail-card:hover{transform:translateY(-4px)}.detail-card svg{color:#2563eb;min-width:24px}.detail-card span{color:#64748b;margin-bottom:5px;font-size:13px;display:block}.detail-card h4{color:#1e293b;word-break:break-word;margin:0;font-size:17px}.audit-card{background:#fff;border-radius:16px;margin-top:30px;padding:25px;box-shadow:0 6px 18px #00000014}.audit-card h3{color:#1e293b;margin-top:0;margin-bottom:18px}.audit-row{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;padding:14px 0;display:flex}.audit-row:last-child{border-bottom:none}.audit-row span{color:#64748b}.audit-row strong{color:#1e293b}@media (width<=992px){.profile-card{text-align:center;flex-direction:column}.profile-right{flex-direction:column;align-items:center;display:flex}}@media (width<=768px){.view-page{padding:18px}.view-header{flex-direction:column;align-items:flex-start;gap:15px}.back-btn{justify-content:center;width:100%}.details-grid{grid-template-columns:1fr}.audit-row{flex-direction:column;align-items:flex-start;gap:6px}}@media (width<=480px){.company-logo{width:70px;height:70px;font-size:28px}.profile-right h2{font-size:22px}.view-header h2{font-size:24px}.detail-card{padding:18px}}.company-logo-img{object-fit:contain;border-radius:50%;width:100%;height:100%}.rule-profile-page{box-sizing:border-box;background:#f5f7fb;width:100%;min-height:calc(100vh - 70px);padding:24px}.rule-profile-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;display:flex}.rule-profile-title{align-items:center;gap:13px;display:flex}.rule-profile-title-icon{color:#198754;background:#ecfdf5;border-radius:11px;flex:0 0 44px;justify-content:center;align-items:center;width:44px;height:44px;display:flex}.rule-profile-title h1{color:#172033;margin:0;font-size:27px;font-weight:700;line-height:1.2}.rule-profile-title p{color:#6b7280;margin:6px 0 0;font-size:14px}.rule-profile-primary-btn{color:#fff;cursor:pointer;white-space:nowrap;background:#198754;border:none;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:10px 17px;font-size:14px;font-weight:600;transition:background .2s,transform .15s,box-shadow .2s;display:inline-flex}.rule-profile-primary-btn:hover{background:#157347}.rule-profile-primary-btn:active{transform:scale(.98)}.rule-profile-primary-btn:disabled{opacity:.65;cursor:not-allowed;transform:none}.rule-profile-error{color:#be123c;background:#fff1f2;border:1px solid #fecdd3;border-radius:8px;margin-bottom:18px;padding:12px 15px;font-size:13px}.profile-summary{grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:22px;display:grid}.profile-summary-card{box-sizing:border-box;background:#fff;border:1px solid #e6eaf0;border-radius:11px;justify-content:space-between;align-items:center;gap:15px;min-height:92px;padding:18px 20px;display:flex;box-shadow:0 2px 8px #0f172a09}.profile-summary-card span{color:#6b7280;margin-bottom:7px;font-size:13px;display:block}.profile-summary-card strong{color:#172033;font-size:25px;line-height:1}.profile-summary-icon{border-radius:9px;flex:0 0 40px;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.profile-summary-icon.total{color:#198754;background:#ecfdf5}.profile-summary-icon.active{color:#15803d;background:#dcfce7}.profile-summary-icon.inactive{color:#dc2626;background:#fef2f2}.profile-card{box-sizing:border-box;background:#fff;border:1px solid #e6eaf0;border-radius:11px;width:100%;overflow:hidden}.profile-toolbar{border-bottom:1px solid #edf0f4;justify-content:space-between;align-items:center;gap:20px;padding:18px 20px;display:flex}.profile-toolbar-title h2{color:#172033;margin:0;font-size:18px;font-weight:700}.profile-toolbar-title p{color:#7a8190;margin:5px 0 0;font-size:13px}.profile-toolbar-actions{align-items:center;gap:9px;display:flex}.profile-refresh-btn{color:#64748b;cursor:pointer;background:#fff;border:1px solid #dce1e8;border-radius:8px;flex:0 0 38px;justify-content:center;align-items:center;width:38px;height:38px;transition:all .2s;display:flex}.profile-refresh-btn:hover{color:#198754;background:#f0fdf4;border-color:#a7d9be}.profile-refresh-btn:disabled{opacity:.6;cursor:not-allowed}.profile-search{box-sizing:border-box;background:#fff;border:1px solid #dce1e8;border-radius:8px;align-items:center;gap:8px;width:260px;height:38px;padding:0 11px;display:flex}.profile-search svg{color:#8a93a3;flex:none}.profile-search input{color:#374151;background:0 0;border:none;outline:none;width:100%;min-width:0;padding:0;font-size:13px}.profile-search:focus-within{border-color:#198754;box-shadow:0 0 0 3px #19875414}.profile-table-wrapper{width:100%;overflow-x:auto}.profile-table{border-collapse:collapse;width:100%;min-width:900px}.profile-table th{color:#697386;text-align:left;white-space:nowrap;background:#f8fafc;padding:13px 16px;font-size:12px;font-weight:700}.profile-table td{color:#374151;vertical-align:middle;border-top:1px solid #edf0f4;padding:14px 16px;font-size:13px}.profile-table tbody tr:hover{background:#fafdfb}.profile-name-cell{align-items:center;gap:10px;min-width:170px;display:flex}.profile-name-cell strong{color:#172033;font-weight:600}.profile-row-icon{color:#198754;background:#ecfdf5;border-radius:8px;flex:0 0 32px;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.profile-row-icon svg{width:17px;height:17px}.logic-badge{color:#198754;white-space:nowrap;background:#ecfdf5;border-radius:20px;align-items:center;padding:5px 9px;font-size:11px;font-weight:600;display:inline-flex}.profile-table code,.profile-mobile-card code{color:#475569;background:#f1f5f9;border-radius:5px;padding:4px 7px;font-family:Consolas,Monaco,monospace;font-size:11px;display:inline-block}.description-text{text-overflow:ellipsis;white-space:nowrap;color:#6b7280;max-width:300px;display:block;overflow:hidden}.profile-status{white-space:nowrap;border-radius:20px;justify-content:center;align-items:center;padding:5px 10px;font-size:11px;font-weight:600;display:inline-flex}.profile-status.active{color:#15803d;background:#ecfdf3}.profile-status.inactive{color:#b91c1c;background:#fef2f2}.profile-action-buttons{align-items:center;gap:6px;display:flex}.profile-icon-btn{cursor:pointer;background:#fff;border:1px solid #e1e5eb;border-radius:7px;flex:0 0 32px;justify-content:center;align-items:center;width:32px;height:32px;transition:all .2s;display:flex}.profile-icon-btn.view{color:#2563eb}.profile-icon-btn.edit{color:#7c3aed}.profile-icon-btn.delete{color:#dc2626}.profile-icon-btn:hover{background:#f8fafc}.profile-icon-btn.view:hover{background:#eff6ff;border-color:#bfdbfe}.profile-icon-btn.edit:hover{background:#f5f3ff;border-color:#ddd6fe}.profile-icon-btn.delete:hover{background:#fef2f2;border-color:#fecaca}.profile-empty-state{text-align:center;height:180px;color:#8a93a3!important}.profile-empty-state svg{margin:0 auto 9px;display:block}.profile-empty-state span{display:block}.profile-mobile-list{display:none}.rule-profile-modal-overlay{z-index:1000;box-sizing:border-box;background:#0f172a7a;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.profile-modal{background:#fff;border-radius:13px;width:650px;max-width:100%;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px #0f172a33}.profile-modal-header{border-bottom:1px solid #edf0f4;justify-content:space-between;align-items:flex-start;gap:15px;padding:20px 22px;display:flex}.profile-modal-header h2{color:#172033;margin:0;font-size:19px;font-weight:700}.profile-modal-header p{color:#7a8190;margin:5px 0 0;font-size:13px}.profile-close-btn{color:#64748b;cursor:pointer;background:#f3f4f6;border:none;border-radius:7px;flex:0 0 34px;justify-content:center;align-items:center;width:34px;height:34px;display:flex}.profile-close-btn:hover{color:#172033;background:#e5e7eb}.profile-modal-error{color:#be123c;background:#fff1f2;border:1px solid #fecdd3;border-radius:7px;margin:16px 22px 0;padding:11px 13px;font-size:13px}.profile-modal-body{padding:22px}.profile-form-grid{grid-template-columns:1fr 1fr;gap:18px;display:grid}.profile-form-group{flex-direction:column;gap:7px;display:flex}.profile-form-group.full-width{grid-column:1/-1}.profile-form-group label{color:#374151;font-size:13px;font-weight:600}.profile-form-group input,.profile-form-group select,.profile-form-group textarea{box-sizing:border-box;color:#374151;background:#fff;border:1px solid #d8dee8;border-radius:8px;outline:none;width:100%;padding:10px 12px;font-family:inherit;font-size:13px}.profile-form-group input,.profile-form-group select{height:42px}.profile-form-group input:focus,.profile-form-group select:focus,.profile-form-group textarea:focus{border-color:#198754;box-shadow:0 0 0 3px #19875414}.profile-form-group input:disabled,.profile-form-group select:disabled,.profile-form-group textarea:disabled{color:#64748b;cursor:not-allowed;background:#f8fafc}.profile-form-group textarea{resize:vertical;min-height:100px}.profile-active-toggle{color:#374151;grid-column:1/-1;align-items:center;gap:10px;font-size:13px;font-weight:600;display:flex}.profile-switch{width:40px;height:22px;display:inline-block;position:relative}.profile-switch input{opacity:0;width:0;height:0;position:absolute}.profile-slider{cursor:pointer;background:#d1d5db;border-radius:20px;transition:all .2s;position:absolute;inset:0}.profile-slider:before{content:"";background:#fff;border-radius:50%;width:16px;height:16px;transition:all .2s;position:absolute;top:3px;left:3px}.profile-switch input:checked+.profile-slider{background:#198754}.profile-switch input:checked+.profile-slider:before{transform:translate(18px)}.profile-switch input:disabled+.profile-slider{cursor:not-allowed;opacity:.7}.profile-modal-footer{border-top:1px solid #edf0f4;justify-content:flex-end;align-items:center;gap:10px;padding:17px 22px;display:flex}.profile-secondary-btn{color:#374151;cursor:pointer;background:#fff;border:1px solid #d7dce5;border-radius:8px;min-height:40px;padding:9px 17px;font-size:13px;font-weight:600}.profile-secondary-btn:hover{background:#f8fafc}.profile-secondary-btn:disabled{opacity:.6;cursor:not-allowed}.profile-spin{animation:.9s linear infinite profileSpin}@keyframes profileSpin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (width<=900px){.rule-profile-header{flex-direction:column;align-items:flex-start}.rule-profile-primary-btn{width:100%}.profile-summary{grid-template-columns:repeat(3,1fr)}.profile-toolbar{flex-direction:column;align-items:flex-start}.profile-toolbar-actions{width:100%}.profile-search{flex:1;width:auto}}@media (width<=700px){.rule-profile-page{padding:15px}.rule-profile-title{align-items:flex-start}.rule-profile-title-icon{flex-basis:40px;width:40px;height:40px}.rule-profile-title h1{font-size:23px}.rule-profile-title p{font-size:13px;line-height:1.45}.profile-summary{grid-template-columns:1fr;gap:10px}.profile-summary-card{min-height:76px;padding:15px 17px}.profile-toolbar{padding:16px}.profile-toolbar-actions{gap:8px}.profile-refresh-btn{flex-basis:40px;width:40px;height:40px}.profile-search{height:40px}.profile-table-wrapper{display:none}.profile-mobile-list{background:#f8fafc;flex-direction:column;gap:10px;padding:12px;display:flex}.profile-mobile-card{background:#fff;border:1px solid #e5e9ef;border-radius:10px;padding:15px}.profile-mobile-top{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.profile-mobile-name{align-items:center;gap:10px;min-width:0;display:flex}.profile-mobile-name>div:last-child{min-width:0}.profile-mobile-name strong{text-overflow:ellipsis;white-space:nowrap;color:#172033;font-size:14px;display:block;overflow:hidden}.profile-mobile-name code{margin-top:5px}.profile-mobile-details{border-top:1px solid #edf0f4;margin-top:14px;padding-top:13px}.profile-mobile-field{margin-bottom:11px}.profile-mobile-field:last-child{margin-bottom:0}.profile-mobile-field>span{color:#8a93a3;text-transform:uppercase;letter-spacing:.03em;margin-bottom:4px;font-size:11px;font-weight:600;display:block}.profile-mobile-field strong{color:#374151;font-size:13px;font-weight:600}.profile-mobile-field p{color:#6b7280;margin:0;font-size:13px;line-height:1.45}.profile-mobile-actions{border-top:1px solid #edf0f4;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:14px;padding-top:13px;display:grid}.profile-mobile-action{cursor:pointer;background:#fff;border:1px solid #e1e5eb;border-radius:7px;justify-content:center;align-items:center;gap:5px;min-height:36px;font-size:11px;font-weight:600;display:flex}.profile-mobile-action.view{color:#2563eb}.profile-mobile-action.edit{color:#7c3aed}.profile-mobile-action.delete{color:#dc2626}.profile-mobile-action.view:hover{background:#eff6ff}.profile-mobile-action.edit:hover{background:#f5f3ff}.profile-mobile-action.delete:hover{background:#fef2f2}.profile-mobile-empty{color:#8a93a3;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:150px;font-size:13px;display:flex}.rule-profile-modal-overlay{align-items:flex-start;padding:12px;overflow-y:auto}.profile-modal{border-radius:11px;width:100%;max-height:calc(100vh - 24px)}.profile-modal-header{padding:17px}.profile-modal-header h2{font-size:17px}.profile-modal-body{padding:17px}.profile-form-grid{grid-template-columns:1fr;gap:15px}.profile-form-group.full-width,.profile-active-toggle{grid-column:auto}.profile-modal-footer{flex-direction:column-reverse;padding:14px 17px}.profile-modal-footer button{width:100%}}@media (width<=420px){.rule-profile-page{padding:12px}.rule-profile-title-icon{display:none}.rule-profile-title h1{font-size:21px}.profile-toolbar-actions{width:100%}.profile-search{min-width:0}.profile-mobile-card{padding:13px}.profile-mobile-actions{grid-template-columns:1fr}.profile-mobile-action{width:100%}}:root{--pl-accent:#2563eb;--pl-accent-dark:#1d4ed8;--pl-accent-light:#eff6ff;--pl-success:#16a34a;--pl-success-bg:#dcfce7;--pl-danger:#dc2626;--pl-danger-bg:#fee2e2;--pl-warning:#d97706;--pl-warning-bg:#fef3c7;--pl-text-primary:#111827;--pl-text-secondary:#6b7280;--pl-border:#e5e7eb;--pl-bg:#f3f4f6;--pl-card-bg:#fff;--pl-radius:10px;--pl-shadow:0 1px 3px #0000000f, 0 1px 2px #0000000a}.pl-page{background:var(--pl-bg);min-height:100%;color:var(--pl-text-primary);padding:24px 32px;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.pl-mono{font-family:JetBrains Mono,Courier New,monospace}.pl-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:24px;display:flex}.pl-header-title-group{align-items:center;gap:10px;display:flex}.pl-header-title-group svg{color:var(--pl-accent)}.pl-header h1{color:var(--pl-text-primary);margin:0;font-size:24px;font-weight:700}.pl-header p{color:var(--pl-text-secondary);margin:4px 0 0;font-size:14px}.pl-header-actions{flex-wrap:wrap;gap:10px;display:flex}.pl-btn{cursor:pointer;white-space:nowrap;border:none;border-radius:8px;align-items:center;gap:6px;padding:10px 18px;font-size:14px;font-weight:600;transition:background .15s,box-shadow .15s;display:inline-flex}.pl-btn-primary{background:var(--pl-accent);color:#fff}.pl-btn-primary:hover{background:var(--pl-accent-dark)}.pl-btn-outline{color:var(--pl-accent);border:1px solid var(--pl-border);background:#fff}.pl-btn-outline:hover{background:var(--pl-accent-light)}.pl-btn-success{color:var(--pl-success);border:1px solid var(--pl-border);background:#fff}.pl-btn-success:hover{background:#f0fdf4}.pl-btn-danger{background:var(--pl-danger);color:#fff}.pl-btn-danger:hover{background:#b91c1c}.pl-btn:disabled{opacity:.6;cursor:not-allowed}.pl-kpi-grid{grid-template-columns:repeat(4,1fr);gap:20px;margin-bottom:20px;display:grid}@media (width<=1100px){.pl-kpi-grid{grid-template-columns:repeat(2,1fr)}}.pl-kpi-card{background:var(--pl-card-bg);border-radius:var(--pl-radius);box-shadow:var(--pl-shadow);border-left:4px solid var(--pl-accent);align-items:center;gap:16px;padding:20px 24px;display:flex}.pl-kpi-card.pl-kpi-danger{border-left-color:var(--pl-danger)}.pl-kpi-card.pl-kpi-warning{border-left-color:var(--pl-warning)}.pl-kpi-card.pl-kpi-success{border-left-color:var(--pl-success)}.pl-kpi-icon{background:var(--pl-accent-light);width:48px;height:48px;color:var(--pl-accent);border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;display:flex}.pl-kpi-card.pl-kpi-danger .pl-kpi-icon{background:var(--pl-danger-bg);color:var(--pl-danger)}.pl-kpi-card.pl-kpi-warning .pl-kpi-icon{background:var(--pl-warning-bg);color:var(--pl-warning)}.pl-kpi-card.pl-kpi-success .pl-kpi-icon{background:var(--pl-success-bg);color:var(--pl-success)}.pl-kpi-value{font-family:JetBrains Mono,monospace;font-size:26px;font-weight:700;line-height:1.1}.pl-kpi-label{color:var(--pl-text-secondary);margin-top:2px;font-size:13px;font-weight:600}.pl-filter-bar{background:var(--pl-card-bg);border-radius:var(--pl-radius);box-shadow:var(--pl-shadow);flex-wrap:wrap;align-items:center;gap:14px;margin-bottom:20px;padding:16px 20px;display:flex}.pl-input,.pl-select{border:1px solid var(--pl-border);color:var(--pl-text-primary);background:#fff;border-radius:8px;padding:10px 14px;font-family:inherit;font-size:14px}.pl-input{flex:1;min-width:200px}.pl-search-wrap{flex:1;min-width:220px;position:relative}.pl-search-wrap svg{color:var(--pl-text-secondary);position:absolute;top:50%;left:12px;transform:translateY(-50%)}.pl-search-wrap input{box-sizing:border-box;width:100%;padding-left:38px}.pl-table-card{background:var(--pl-card-bg);border-radius:var(--pl-radius);box-shadow:var(--pl-shadow);overflow:hidden}.pl-table{border-collapse:collapse;width:100%}.pl-table thead th{text-align:left;letter-spacing:.03em;text-transform:uppercase;color:var(--pl-text-secondary);border-bottom:1px solid var(--pl-border);padding:14px 20px;font-size:12px;font-weight:700}.pl-table tbody td{border-bottom:1px solid var(--pl-border);color:var(--pl-text-primary);padding:16px 20px;font-size:14px}.pl-table tbody tr:last-child td{border-bottom:none}.pl-table tbody tr:hover{background:#f9fafb}.pl-badge{border-radius:999px;padding:4px 12px;font-size:12px;font-weight:700;display:inline-block}.pl-badge-profit{background:var(--pl-success-bg);color:var(--pl-success)}.pl-badge-loss{background:var(--pl-danger-bg);color:var(--pl-danger)}.pl-badge-medium{background:var(--pl-warning-bg);color:var(--pl-warning)}.pl-badge-neutral{color:#374151;background:#e5e7eb}.pl-action-group{gap:8px;display:flex}.pl-icon-btn{cursor:pointer;border:none;border-radius:8px;justify-content:center;align-items:center;width:32px;height:32px;transition:background .15s;display:inline-flex}.pl-icon-btn.view{background:var(--pl-accent-light);color:var(--pl-accent)}.pl-icon-btn.edit{background:var(--pl-warning-bg);color:var(--pl-warning)}.pl-icon-btn.delete{background:var(--pl-danger-bg);color:var(--pl-danger)}.pl-icon-btn:hover{filter:brightness(.95)}.pl-empty-state,.pl-loading-state{text-align:center;color:var(--pl-text-secondary);padding:60px 20px}.pl-modal-overlay{z-index:1000;background:#11182780;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.pl-modal{border-radius:var(--pl-radius);background:#fff;width:100%;max-width:560px;max-height:90vh;overflow-y:auto;box-shadow:0 20px 40px #0003}.pl-modal.pl-modal-sm{max-width:420px}.pl-modal-header{border-bottom:1px solid var(--pl-border);justify-content:space-between;align-items:center;padding:20px 24px;display:flex}.pl-modal-header h2{margin:0;font-size:18px;font-weight:700}.pl-modal-close{cursor:pointer;color:var(--pl-text-secondary);background:0 0;border:none;display:flex}.pl-modal-body{padding:24px}.pl-modal-footer{border-top:1px solid var(--pl-border);justify-content:flex-end;gap:10px;padding:16px 24px;display:flex}.pl-form-grid{grid-template-columns:1fr 1fr;gap:16px;display:grid}.pl-form-grid .pl-full{grid-column:1/-1}.pl-field label{color:var(--pl-text-secondary);margin-bottom:6px;font-size:13px;font-weight:600;display:block}.pl-field input,.pl-field select{box-sizing:border-box;border:1px solid var(--pl-border);border-radius:8px;width:100%;padding:10px 12px;font-family:inherit;font-size:14px}.pl-field input:focus,.pl-field select:focus{border-color:var(--pl-accent);box-shadow:0 0 0 3px var(--pl-accent-light);outline:none}.pl-field input[readonly]{color:var(--pl-text-secondary);background:#f9fafb;font-family:JetBrains Mono,monospace}.pl-field-error{color:var(--pl-danger);margin-top:4px;font-size:12px}.pl-formula-note{background:var(--pl-accent-light);color:var(--pl-accent-dark);border-radius:8px;margin-top:4px;padding:10px 14px;font-family:JetBrains Mono,monospace;font-size:13px}.pl-view-grid{grid-template-columns:1fr 1fr;gap:18px;display:grid}.pl-view-item .label{color:var(--pl-text-secondary);text-transform:uppercase;letter-spacing:.03em;margin-bottom:4px;font-size:12px;font-weight:700}.pl-view-item .value{color:var(--pl-text-primary);font-size:15px;font-weight:600}.pl-delete-icon-wrap{background:var(--pl-danger-bg);width:56px;height:56px;color:var(--pl-danger);border-radius:50%;justify-content:center;align-items:center;margin:0 auto 16px;display:flex}.pl-delete-text{text-align:center;color:var(--pl-text-secondary);font-size:14px}.pl-delete-text strong{color:var(--pl-text-primary)}@media (width<=1200px){.pl-page{padding:20px}.pl-kpi-grid{grid-template-columns:repeat(2,1fr);gap:18px}.pl-filter-bar{grid-template-columns:repeat(2,1fr);gap:15px;display:grid}.pl-search-wrap{grid-column:1/-1}}@media (width<=992px){.pl-page{padding:18px}.pl-header{flex-direction:column;align-items:flex-start;gap:18px}.pl-header-actions{flex-wrap:wrap;gap:10px;width:100%;display:flex}.pl-header-actions .pl-btn{flex:1;justify-content:center;min-width:160px}.pl-kpi-grid{grid-template-columns:repeat(2,1fr)}.pl-filter-bar{flex-direction:column;align-items:stretch;display:flex}.pl-search-wrap,.pl-input,.pl-select{width:100%;min-width:100%}.pl-table-card{overflow-x:auto}.pl-table{min-width:1300px}.pl-form-grid,.pl-view-grid{grid-template-columns:1fr}.pl-full{grid-column:auto}}@media (width<=1100px){.pl-page{padding:15px}.pl-header{margin-bottom:18px}.pl-header h1{font-size:22px}.pl-header p{font-size:13px}.pl-header-actions{flex-direction:column;width:100%}.pl-header-actions .pl-btn{justify-content:center;width:100%}.pl-kpi-grid{grid-template-columns:1fr;gap:15px}.pl-kpi-card{padding:18px}.pl-kpi-icon{width:42px;height:42px}.pl-kpi-value{font-size:22px}.pl-filter-bar{flex-direction:column;gap:12px;padding:15px;display:flex}.pl-search-wrap,.pl-input,.pl-select{width:100%}.pl-table-card{border-radius:10px;overflow-x:auto}.pl-table{min-width:1200px}.pl-table th,.pl-table td{white-space:nowrap;padding:12px}.pl-modal{max-width:100%;margin:10px}.pl-modal-body{padding:18px}.pl-modal-header{padding:16px}.pl-modal-footer{flex-direction:column;padding:16px}.pl-modal-footer .pl-btn{justify-content:center;width:100%}}@media (width<=480px){.pl-page{padding:12px}.pl-header h1{font-size:20px}.pl-header p{font-size:12px}.pl-kpi-card{gap:12px;padding:15px}.pl-kpi-icon{width:38px;height:38px}.pl-kpi-value{font-size:20px}.pl-kpi-label{font-size:12px}.pl-btn{justify-content:center;width:100%;padding:10px;font-size:13px}.pl-filter-bar{padding:12px}.pl-input,.pl-select{padding:10px;font-size:13px}.pl-table{min-width:1150px}.pl-modal-header h2{font-size:17px}.pl-delete-icon-wrap{width:50px;height:50px}.pl-delete-text{font-size:13px}}.pl-table-wrap{-webkit-overflow-scrolling:touch;box-sizing:border-box;width:100%;max-width:100%;overflow-y:hidden;overflow-x:auto!important}.pl-table-wrap .pl-profit-table{border-collapse:collapse;min-width:760px;table-layout:auto!important;width:100%!important;max-width:none!important}.pl-table-wrap .pl-profit-table th,.pl-table-wrap .pl-profit-table td{box-sizing:border-box;vertical-align:middle;white-space:nowrap!important;text-overflow:clip!important;overflow:visible!important}.pl-table-wrap .pl-profit-table th:first-child,.pl-table-wrap .pl-profit-table td:first-child{width:25%;min-width:180px}.pl-table-wrap .pl-profit-table th:nth-child(2),.pl-table-wrap .pl-profit-table td:nth-child(2){width:18%;min-width:145px}.pl-table-wrap .pl-profit-table th:nth-child(3),.pl-table-wrap .pl-profit-table td:nth-child(3){width:19%;min-width:170px}.pl-table-wrap .pl-profit-table th:nth-child(4),.pl-table-wrap .pl-profit-table td:nth-child(4){width:19%;min-width:150px}.pl-table-wrap .pl-profit-table th:nth-child(5),.pl-table-wrap .pl-profit-table td:nth-child(5){width:19%;min-width:170px}.pl-table-wrap .pl-profit-table td.mono{font-variant-numeric:tabular-nums;white-space:nowrap!important;text-overflow:clip!important;font-family:JetBrains Mono,Courier New,monospace!important;overflow:visible!important}.pl-table-wrap .pl-profit-table td.mono.neg{color:var(--pl-danger);font-weight:600}.pl-table-wrap .pl-profit-table td.mono.pos{color:var(--pl-success);font-weight:600}@media (width<=992px){.pl-table-wrap{width:100%;max-width:100%;overflow-x:auto!important}.pl-table-wrap .pl-profit-table{min-width:900px;width:900px!important}.pl-table-wrap .pl-profit-table th,.pl-table-wrap .pl-profit-table td{padding:12px 10px}}@media (width<=768px){.pl-table-wrap{border-radius:8px;width:100%;max-width:100%;overflow-x:auto!important}.pl-table-wrap .pl-profit-table{table-layout:auto!important;width:900px!important;min-width:900px!important}.pl-table-wrap .pl-profit-table th,.pl-table-wrap .pl-profit-table td{padding:11px 10px;font-size:12px;white-space:nowrap!important}.pl-table-wrap .pl-profit-table td.mono{font-size:12px}}@media (width<=480px){.pl-table-wrap{width:100%;overflow-x:auto!important}.pl-table-wrap .pl-profit-table{width:900px!important;min-width:900px!important}.pl-table-wrap .pl-profit-table th,.pl-table-wrap .pl-profit-table td{padding:10px 8px;font-size:11.5px}.pl-table-wrap .pl-profit-table td.mono{font-size:11.5px}}@media (width<=768px){.pl-table-wrap{border-radius:10px;width:100%;max-width:100%;overflow-x:auto}.pl-table-wrap .sg-table{table-layout:auto;width:760px;min-width:760px}.pl-table-wrap .sg-table th,.pl-table-wrap .sg-table td{white-space:nowrap;padding:11px 10px;font-size:12px}.pl-table-wrap .sg-table th:first-child,.pl-table-wrap .sg-table td:first-child{width:180px;min-width:180px}.pl-table-wrap .sg-table th:nth-child(2),.pl-table-wrap .sg-table td:nth-child(2){width:140px;min-width:140px}.pl-table-wrap .sg-table th:nth-child(3),.pl-table-wrap .sg-table td:nth-child(3){width:150px;min-width:150px}.pl-table-wrap .sg-table th:nth-child(4),.pl-table-wrap .sg-table td:nth-child(4){width:140px;min-width:140px}.pl-table-wrap .sg-table th:nth-child(5),.pl-table-wrap .sg-table td:nth-child(5){width:150px;min-width:150px}}@media (width<=480px){.pl-table-wrap .sg-table{width:760px;min-width:760px}.pl-table-wrap .sg-table th,.pl-table-wrap .sg-table td{padding:10px 8px;font-size:11.5px}.pl-table-wrap .sg-table td.mono{font-size:11.5px}}*,:before,:after{box-sizing:border-box}.device-page{color:#1e293b;background:#f5f7fb;width:100%;min-width:0;min-height:100vh;padding:24px}.device-page-header{justify-content:space-between;align-items:center;gap:20px;width:100%;margin-bottom:24px;display:flex}.device-page-eyebrow{color:#198754;letter-spacing:.9px;margin-bottom:5px;font-size:11px;font-weight:700}.device-page-header h1{color:#0f172a;letter-spacing:-.4px;margin:0;font-size:26px;font-weight:700}.device-page-header p{color:#64748b;margin:6px 0 0;font-size:14px}.device-add-btn{color:#fff;cursor:pointer;background:#198754;border:none;border-radius:9px;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:0 17px;font-size:14px;font-weight:600;transition:all .2s;display:inline-flex}.device-add-btn:hover{background:#157347;transform:translateY(-1px);box-shadow:0 5px 14px #19875438}.device-toolbar{align-items:center;width:100%;margin-bottom:20px;display:flex}.device-search-box{color:#94a3b8;background:#fff;border:1px solid #e2e8f0;border-radius:9px;align-items:center;gap:10px;width:100%;max-width:460px;height:44px;padding:0 13px;transition:all .2s;display:flex}.device-search-box:focus-within{border-color:#198754;box-shadow:0 0 0 3px #19875414}.device-search-box input{color:#1e293b;background:0 0;border:none;outline:none;width:100%;min-width:0;font-size:14px}.device-search-box input::placeholder{color:#94a3b8}.device-search-clear{color:#64748b;cursor:pointer;background:#f1f5f9;border:none;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:26px;height:26px;padding:0;display:flex}.device-search-clear:hover{color:#334155;background:#e2e8f0}.device-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;width:100%;margin-bottom:24px;display:grid}.device-summary-card{background:#fff;border:1px solid #e8edf3;border-radius:12px;justify-content:space-between;align-items:center;gap:15px;min-width:0;padding:19px 20px;transition:all .2s;display:flex;box-shadow:0 2px 10px #0f172a0a}.device-summary-card:hover{transform:translateY(-2px);box-shadow:0 7px 18px #0f172a12}.device-summary-content{min-width:0}.device-summary-content span{color:#64748b;margin-bottom:5px;font-size:13px;font-weight:500;display:block}.device-summary-content strong{color:#0f172a;font-size:27px;font-weight:700;line-height:1.1;display:block}.device-summary-icon{border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:42px;height:42px;display:flex}.device-summary-icon.total{color:#0284c7;background:#e0f2fe}.device-summary-icon.active{background:#dcfce7}.device-summary-icon.inactive{background:#fee2e2}.device-summary-icon span{border-radius:50%;width:9px;height:9px}.device-summary-icon.active span{background:#16a34a}.device-summary-icon.inactive span{background:#dc2626}.device-table-card{background:#fff;border:1px solid #e8edf3;border-radius:12px;width:100%;min-width:0;overflow:hidden;box-shadow:0 2px 10px #0f172a0a}.device-table-header{border-bottom:1px solid #eef2f7;align-items:center;min-height:68px;padding:14px 18px;display:flex}.device-table-title{align-items:center;gap:11px;display:flex}.device-table-icon{color:#198754;background:#ecfdf5;border-radius:8px;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.device-table-icon svg{stroke-width:2px;width:17px;height:17px}.device-table-title h2{color:#0f172a;margin:0;font-size:15px;font-weight:700}.device-table-title span{color:#94a3b8;margin-top:3px;font-size:11px;display:block}.device-table-wrapper{width:100%;min-width:0;overflow:auto hidden}.device-table{border-collapse:collapse;width:100%;min-width:1080px}.device-table thead{background:#f8fafc}.device-table th{color:#475569;text-align:left;white-space:nowrap;border-bottom:1px solid #e2e8f0;padding:13px 15px;font-size:11px;font-weight:700}.device-table td{color:#475569;white-space:nowrap;vertical-align:middle;border-bottom:1px solid #eef2f7;padding:14px 15px;font-size:13px}.device-table tbody tr{transition:background .18s}.device-table tbody tr:hover{background:#f8fafc}.device-table tbody tr:last-child td{border-bottom:none}.device-id{color:#334155;font-family:monospace;font-size:12px;font-weight:600}.device-name-cell{align-items:center;gap:9px;min-width:0;display:flex}.device-avatar{color:#198754;background:#ecfdf5;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.device-avatar svg{stroke-width:2px;display:block;width:18px!important;height:18px!important}.device-avatar{color:#198754;background:#ecfdf5;border-radius:8px;flex:0 0 32px;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.device-avatar svg{stroke-width:2px;min-width:18px;max-width:18px;min-height:18px;max-height:18px;display:block;width:18px!important;height:18px!important}.device-name-cell>span{text-overflow:ellipsis;white-space:nowrap;color:#0f172a;min-width:0;font-size:13px;font-weight:600;overflow:hidden}.device-avatar svg{stroke-width:2px;width:10px;height:10px}.device-name-cell span{color:#0f172a;font-weight:600}.device-status{border-radius:20px;justify-content:center;align-items:center;gap:6px;min-width:76px;padding:5px 9px;font-size:10px;font-weight:700;line-height:1;display:inline-flex}.device-status-dot{border-radius:50%;flex-shrink:0;width:6px;height:6px}.device-status.active{color:#15803d;background:#dcfce7}.device-status.active .device-status-dot{background:#16a34a}.device-status.inactive{color:#b91c1c;background:#fee2e2}.device-status.inactive .device-status-dot{background:#dc2626}.device-actions{align-items:center;gap:6px;display:flex}.device-action{cursor:pointer;border:none;border-radius:8px;justify-content:center;align-items:center;width:33px;height:33px;padding:0;transition:all .18s;display:flex}.device-action:hover{transform:translateY(-1px)}.device-action.view{color:#0284c7;background:#e0f2fe}.device-action.view:hover{background:#bae6fd}.device-action.edit{color:#d97706;background:#fef3c7}.device-action.edit:hover{background:#fde68a}.device-action.rules{color:#7c3aed;background:#ede9fe}.device-action.rules:hover{background:#ddd6fe}.device-action.delete{color:#dc2626;background:#fee2e2}.device-action.delete:hover{background:#fecaca}.device-empty{color:#cbd5e1;text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:260px;padding:40px 20px;display:flex}.device-empty svg{margin-bottom:12px}.device-empty h3{color:#64748b;margin:0 0 5px;font-size:15px;font-weight:600}.device-empty p{color:#94a3b8;margin:0;font-size:12px}.device-mobile-list{display:none}.device-mobile-card{background:#fff;border:1px solid #e8edf3;border-radius:12px;width:100%;min-width:0;padding:16px;box-shadow:0 2px 9px #0f172a0a}.device-mobile-top{border-bottom:1px solid #eef2f7;justify-content:space-between;align-items:flex-start;gap:12px;padding-bottom:14px;display:flex}.device-mobile-avatar{color:#198754;background:#ecfdf5;border-radius:8px;flex:0 0 34px;justify-content:center;align-items:center;width:34px;height:34px;display:flex}.device-mobile-avatar svg{stroke-width:2px;min-width:17px;max-width:17px;min-height:17px;max-height:17px;display:block;width:17px!important;height:17px!important}.device-mobile-identity h3{text-overflow:ellipsis;white-space:nowrap;color:#0f172a;min-width:0;max-width:180px;margin:0;font-size:14px;font-weight:700;overflow:hidden}.device-mobile-avatar{color:#198754;background:#ecfdf5;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;display:flex}.device-mobile-avatar svg{stroke-width:2px;width:17px;height:17px}.device-mobile-identity{align-items:center;gap:9px;min-width:0;display:flex}.device-mobile-identity h3{text-overflow:ellipsis;white-space:nowrap;color:#0f172a;white-space:nowrap;max-width:180px;margin:0;font-size:14px;font-weight:700;overflow:hidden}.device-mobile-identity span{color:#64748b;text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:11px;display:block;overflow:hidden}.device-mobile-info{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:15px 0;display:grid}.device-mobile-info-item{min-width:0}.device-mobile-info-item span{color:#94a3b8;text-transform:uppercase;letter-spacing:.3px;margin-bottom:4px;font-size:10px;font-weight:600;display:block}.device-mobile-info-item strong{text-overflow:ellipsis;white-space:nowrap;color:#334155;font-size:12px;font-weight:600;display:block;overflow:hidden}.device-mobile-actions{border-top:1px solid #eef2f7;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;padding-top:13px;display:grid}.device-mobile-action{cursor:pointer;border:none;border-radius:7px;justify-content:center;align-items:center;gap:5px;min-width:0;height:35px;padding:0 5px;font-size:10px;font-weight:600;transition:all .18s;display:flex}.device-mobile-action:hover{transform:translateY(-1px)}.device-mobile-action.view{color:#0284c7;background:#e0f2fe}.device-mobile-action.edit{color:#d97706;background:#fef3c7}.device-mobile-action.rules{color:#7c3aed;background:#ede9fe}.device-mobile-action.delete{color:#dc2626;background:#fee2e2}.device-mobile-empty{text-align:center;color:#cbd5e1;background:#fff;border:1px solid #e8edf3;border-radius:12px;padding:55px 20px}.device-mobile-empty h3{color:#64748b;margin:12px 0 5px;font-size:15px}.device-mobile-empty p{color:#94a3b8;margin:0;font-size:12px}@media (width<=900px){.device-page{padding:20px}.device-summary-grid{gap:12px}.device-summary-card{padding:16px}.device-summary-content strong{font-size:24px}.device-table{min-width:1050px}}@media (width<=768px){.device-page{padding:16px}.device-page-header{align-items:flex-start}.device-page-header h1{font-size:22px}.device-page-header p{font-size:13px}.device-add-btn{min-height:40px;padding:0 13px}.device-search-box{max-width:none}.device-summary-grid{grid-template-columns:1fr;gap:9px}.device-summary-card{padding:14px 16px}.device-summary-content strong{font-size:23px}.device-table-card{display:none}.device-mobile-list{flex-direction:column;gap:10px;width:100%;display:flex}}@media (width<=600px){.device-page{padding:13px}.device-page-header{flex-direction:column;align-items:stretch;gap:13px}.device-add-btn{width:100%}.device-toolbar{margin-bottom:15px}.device-search-box{height:42px}.device-mobile-card{padding:14px}.device-mobile-info{gap:11px}}@media (width<=380px){.device-page{padding:10px}.device-page-header h1{font-size:20px}.device-mobile-top{gap:8px}.device-mobile-identity h3{max-width:135px}.device-status{min-width:auto;padding:5px 7px}.device-mobile-actions{gap:5px}.device-mobile-action{gap:3px;font-size:9px}}.add-device-page{background:#f4f7fc;min-height:calc(100vh - 70px);padding:30px}.back-btn{color:#1e293b;cursor:pointer;background:#e2e8f0;border:none;border-radius:8px;align-items:center;gap:8px;padding:12px 20px;font-size:14px;font-weight:600;transition:all .2s;display:flex}.form-card{background:#fff;border-radius:14px;padding:35px;box-shadow:0 10px 30px #0f172a14}.form-group.full-width{grid-column:1/-1}.form-group label{color:#334155;margin-bottom:8px;font-size:13.5px;font-weight:600}.required{color:#ef4444}.form-group input,.form-group select,.form-group textarea{color:#1e293b;box-sizing:border-box;background:#fff;border:1px solid #d1d5db;border-radius:10px;width:100%;height:46px;padding:0 14px;font-size:14px;transition:all .2s}.form-group select:disabled{color:#94a3b8;cursor:not-allowed;background:#f1f5f9}.form-group textarea{resize:vertical;height:110px;padding:12px 14px}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#2563eb;outline:none;box-shadow:0 0 0 4px #2563eb1f}.form-group input::placeholder,.form-group textarea::placeholder{color:#94a3b8}.error-text{color:#dc2626;margin-top:6px;font-size:12px}.form-actions{border-top:1px solid #e2e8f0;justify-content:flex-end;gap:14px;margin-top:32px;padding-top:24px;display:flex}.cancel-btn{color:#334155;cursor:pointer;background:#e2e8f0;border:none;border-radius:10px;min-width:130px;height:46px;font-size:14px;font-weight:600;transition:all .2s}.cancel-btn:hover{background:#cbd5e1}.save-btn{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:10px;min-width:170px;height:46px;font-size:14px;font-weight:600;transition:all .2s}.save-btn:hover:not(:disabled){background:#1d4ed8}.save-btn:disabled{cursor:not-allowed;background:#93c5fd}@media (width<=1024px){.form-grid{grid-template-columns:1fr}}@media (width<=768px){.add-device-page{padding:20px}.page-header{flex-direction:column;align-items:flex-start;gap:16px}.form-card{padding:22px}.form-actions{flex-direction:column}.cancel-btn,.save-btn{width:100%}}.view-device-page{background:#f4f7fc;min-height:calc(100vh - 70px);padding:30px}.page-header{justify-content:space-between;align-items:center;margin-bottom:30px;display:flex}.page-header h2{color:#1e293b;margin:0;font-size:30px;font-weight:700}.page-header p{color:#64748b;margin-top:6px;font-size:15px}.back-btn{color:#334155;cursor:pointer;background:#e2e8f0;border:none;border-radius:10px;align-items:center;gap:8px;padding:12px 20px;font-weight:600;transition:all .3s;display:flex}.back-btn:hover{background:#cbd5e1}.view-card{background:#fff;border-radius:16px;padding:40px;box-shadow:0 12px 30px #0f172a14}.device-avatar{color:#fff;background:linear-gradient(135deg,#2563eb,#3b82f6);border-radius:50%;justify-content:center;align-items:center;width:100px;height:100px;margin:auto auto 35px;font-size:38px;font-weight:700;display:flex;box-shadow:0 8px 20px #2563eb40}.device-grid{grid-template-columns:repeat(2,minmax(320px,1fr));gap:22px;display:grid}.device-item{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:20px;transition:all .25s}.device-item:hover{border-color:#2563eb;box-shadow:0 6px 18px #2563eb14}.device-item label{color:#64748b;text-transform:uppercase;letter-spacing:.5px;margin-bottom:8px;font-size:13px;font-weight:600;display:block}.device-item span{color:#1e293b;word-break:break-word;font-size:15px;font-weight:600}.status-active{color:#15803d;background:#dcfce7;border-radius:30px;align-items:center;padding:7px 16px;font-size:13px;font-weight:700;display:inline-flex}.status-inactive{color:#dc2626;background:#fee2e2;border-radius:30px;align-items:center;padding:7px 16px;font-size:13px;font-weight:700;display:inline-flex}.status-maintenance{color:#d97706;background:#fef3c7;border-radius:30px;align-items:center;padding:7px 16px;font-size:13px;font-weight:700;display:inline-flex}.view-footer{justify-content:flex-end;gap:15px;margin-top:35px;display:flex}.edit-btn{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:10px;justify-content:center;align-items:center;gap:8px;min-width:170px;height:48px;font-size:15px;font-weight:600;transition:all .3s;display:flex}.edit-btn:hover{background:#1d4ed8}@media (width<=1024px){.device-grid{grid-template-columns:1fr}}@media (width<=768px){.view-device-page{padding:20px}.page-header{flex-direction:column;align-items:flex-start;gap:18px}.view-card{padding:25px}.view-footer{flex-direction:column}.back-btn,.edit-btn{justify-content:center;width:100%}}.alert-page{box-sizing:border-box;background:#f5f7fb;width:100%;min-height:100vh;padding:25px}.alert-page .alert-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;display:flex}.alert-page .alert-header-content h2{color:#1e293b;align-items:center;gap:10px;margin:0;font-size:26px;font-weight:700;display:flex}.alert-page .alert-header-content h2 svg{color:#198754}.alert-page .alert-header-content p{color:#64748b;margin:6px 0 0;font-size:14px}.alert-page .header-actions{align-items:center;gap:10px;display:flex}.alert-page .refresh-btn{color:#334155;cursor:pointer;background:#fff;border:1px solid #d7dee7;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:9px 16px;font-size:13px;font-weight:600;transition:all .2s;display:inline-flex}.alert-page .refresh-btn:hover:not(:disabled){color:#198754;background:#f0fdf4;border-color:#198754}.alert-page .refresh-btn:disabled{opacity:.65;cursor:not-allowed}.alert-page .customer-message{color:#64748b;text-align:left;background:#fff;border:1px solid #e2e8f0;border-left:4px solid #198754;border-radius:8px;margin-bottom:20px;padding:16px 18px;font-size:14px}.alert-page .alert-summary{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;margin-bottom:22px;display:grid}.alert-page .summary-card{background:#fff;border:1px solid #e4e9ef;border-radius:10px;align-items:center;gap:14px;min-width:0;padding:16px 18px;transition:all .2s;display:flex;box-shadow:0 2px 8px #0f172a0a}.alert-page .summary-card:hover{transform:translateY(-2px);box-shadow:0 5px 14px #0f172a12}.alert-page .summary-card svg{box-sizing:border-box;border-radius:9px;flex:0 0 40px;width:40px;height:40px;padding:9px}.alert-page .summary-card h3{color:#172033;margin:0;font-size:23px;font-weight:700;line-height:1.1}.alert-page .summary-card p{color:#64748b;margin:5px 0 0;font-size:12px;line-height:1.3}.alert-page .summary-card.total svg{color:#198754;background:#ecfdf5}.alert-page .summary-card.critical svg{color:#dc2626;background:#fef2f2}.alert-page .summary-card.warning svg{color:#ea580c;background:#fff7ed}.alert-page .summary-card.major svg{color:#d97706;background:#fff7ed}.alert-page .summary-card.resolved svg{color:#198754;background:#ecfdf5}.alert-page .filter-card{background:#fff;border:1px solid #e4e9ef;border-radius:10px;grid-template-columns:150px 150px minmax(220px,1fr) 160px auto;align-items:center;gap:10px;margin-bottom:20px;padding:15px;display:grid;box-shadow:0 2px 8px #0f172a08}.alert-page .filter-card input,.alert-page .filter-card select{box-sizing:border-box;color:#334155;background:#fff;border:1px solid #d7dee7;border-radius:7px;outline:none;width:100%;min-width:0;height:40px;padding:0 11px;font-size:13px;transition:all .2s}.alert-page .filter-card input::placeholder{color:#94a3b8}.alert-page .filter-card input:focus,.alert-page .filter-card select:focus{border-color:#198754;box-shadow:0 0 0 3px #19875414}.alert-page .filter-card>button{color:#fff;cursor:pointer;white-space:nowrap;background:#198754;border:none;border-radius:7px;justify-content:center;align-items:center;gap:7px;height:40px;padding:0 17px;font-size:13px;font-weight:600;transition:all .2s;display:inline-flex}.alert-page .filter-card>button:hover:not(:disabled){background:#157347}.alert-page .filter-card>button:disabled{opacity:.55;cursor:not-allowed}.alert-page .table-card{background:#fff;border:1px solid #e4e9ef;border-radius:10px;width:100%;overflow:hidden;box-shadow:0 2px 8px #0f172a08}.alert-page .table-responsive{width:100%;overflow-x:auto}.alert-page table{border-collapse:collapse;width:100%;min-width:1100px}.alert-page thead{background:#f8fafc}.alert-page th{color:#64748b;text-align:left;text-transform:uppercase;letter-spacing:.25px;white-space:nowrap;border-bottom:1px solid #e5eaf0;padding:13px 15px;font-size:11px;font-weight:700}.alert-page td{color:#334155;vertical-align:middle;border-bottom:1px solid #edf1f5;padding:14px 15px;font-size:13px}.alert-page tbody tr:last-child td{border-bottom:none}.alert-page tbody tr:hover{background:#fafdfb}.alert-page .alert-id{color:#64748b;white-space:nowrap;font-size:12px;font-weight:600}.alert-page .alert-device{color:#172033;font-weight:600}.alert-page .alert-message{color:#334155;max-width:260px;line-height:1.4}.alert-page .severity,.alert-page .status{box-sizing:border-box;white-space:nowrap;border-radius:20px;justify-content:center;align-items:center;min-height:27px;padding:4px 10px;font-size:11px;font-weight:700;display:inline-flex}.alert-page .severity.critical{color:#dc2626;background:#fef2f2}.alert-page .severity.major{color:#c2410c;background:#fff7ed}.alert-page .severity.warning{color:#b45309;background:#fffbeb}.alert-page .severity.low{color:#15803d;background:#ecfdf5}.alert-page .status.active{color:#dc2626;background:#fef2f2}.alert-page .status.resolved{color:#15803d;background:#ecfdf5}.alert-page .alert-duration{color:#334155;white-space:nowrap;font-weight:600}.alert-page .resolve-btn{color:#fff;cursor:pointer;white-space:nowrap;background:#198754;border:1px solid #198754;border-radius:7px;min-height:32px;padding:6px 12px;font-size:11px;font-weight:600;transition:all .2s}.alert-page .resolve-btn:hover{background:#157347;border-color:#157347}.alert-page .resolve-btn:active{transform:scale(.97)}.alert-page .resolved-badge{box-sizing:border-box;color:#15803d;white-space:nowrap;background:#ecfdf5;border-radius:20px;align-items:center;gap:5px;min-height:27px;padding:4px 10px;font-size:11px;font-weight:700;display:inline-flex}.alert-mobile-list{display:none}.alert-mobile-card{background:#fff;border-bottom:1px solid #edf1f5;padding:15px}.alert-mobile-card:last-child{border-bottom:none}.alert-mobile-top{justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:11px;display:flex}.alert-mobile-title{min-width:0}.alert-mobile-title strong{color:#172033;font-size:14px;font-weight:700;line-height:1.35;display:block}.alert-mobile-title small{color:#94a3b8;margin-top:3px;font-size:11px;display:block}.alert-mobile-message{color:#334155;margin-bottom:12px;font-size:13px;line-height:1.45}.alert-mobile-info{grid-template-columns:1fr 1fr;gap:9px;margin-bottom:12px;display:grid}.alert-mobile-info-item{background:#f8fafc;border:1px solid #edf1f5;border-radius:7px;padding:9px 10px}.alert-mobile-info-item span{color:#94a3b8;text-transform:uppercase;margin-bottom:3px;font-size:10px;font-weight:700;display:block}.alert-mobile-info-item strong{color:#334155;font-size:12px;font-weight:600}.alert-mobile-footer{justify-content:space-between;align-items:center;gap:10px;display:flex}.alert-mobile-dates{color:#64748b;flex-direction:column;gap:3px;font-size:11px;line-height:1.4;display:flex}.alert-page .alert-empty{text-align:center;color:#64748b;padding:45px 20px}.alert-page .alert-empty-icon{color:#198754;background:#ecfdf5;border-radius:50%;justify-content:center;align-items:center;width:46px;height:46px;margin:0 auto 10px;display:flex}.alert-page .alert-empty strong{color:#334155;font-size:14px;display:block}.alert-page .pagination{background:#fff;border-top:1px solid #edf1f5;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:7px;padding:14px 16px;display:flex}.alert-page .pagination-btn,.alert-page .pagination-number{color:#475569;cursor:pointer;background:#fff;border:1px solid #dce3ea;border-radius:6px;justify-content:center;align-items:center;gap:5px;min-width:32px;height:32px;padding:0 9px;font-size:12px;font-weight:600;display:inline-flex}.alert-page .pagination-btn:hover:not(:disabled),.alert-page .pagination-number:hover{color:#198754;border-color:#198754}.alert-page .pagination-btn:disabled{opacity:.45;cursor:not-allowed}.alert-page .pagination-number.active{color:#fff;background:#198754;border-color:#198754}.alert-page .pagination-numbers{gap:5px;display:flex}.alert-page .pagination-info{color:#64748b;margin-left:8px;font-size:11px}@media (width<=1250px){.alert-page .alert-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.alert-page .filter-card{grid-template-columns:1fr 1fr 2fr 1fr auto}}@media (width<=1000px){.alert-page .alert-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.alert-page .filter-card{grid-template-columns:1fr 1fr}.alert-page .filter-card>button{width:100%}}@media (width<=768px){.alert-page{padding:15px}.alert-page .alert-header{flex-direction:column;align-items:flex-start;margin-bottom:20px}.alert-page .alert-header-content h2{font-size:23px}.alert-page .header-actions,.alert-page .refresh-btn{width:100%}.alert-page .alert-summary{grid-template-columns:1fr 1fr;gap:10px}.alert-page .summary-card{gap:10px;padding:13px}.alert-page .summary-card svg{flex-basis:34px;width:34px;height:34px;padding:7px}.alert-page .summary-card h3{font-size:20px}.alert-page .summary-card p{font-size:11px}.alert-page .filter-card{grid-template-columns:1fr;gap:9px;padding:12px}.alert-page .filter-card input,.alert-page .filter-card select,.alert-page .filter-card>button{width:100%}.alert-page .desktop-alert-table{display:none}.alert-page .alert-mobile-list{display:block}.alert-page .pagination{justify-content:center;padding:12px}.alert-page .pagination-info{text-align:center;width:100%;margin:4px 0 0}}@media (width<=480px){.alert-page{padding:12px}.alert-page .alert-summary{grid-template-columns:1fr}.alert-page .summary-card{padding:12px 14px}.alert-page .alert-mobile-info{grid-template-columns:1fr 1fr}.alert-page .pagination-numbers{max-width:100%;overflow-x:auto}}@media (width<=768px){.alert-page .filter-card{grid-template-columns:1fr 1fr;gap:8px}.alert-page .filter-card input,.alert-page .filter-card select{height:38px;padding:0 9px;font-size:12px}.alert-page .filter-card input[type=text],.alert-page .filter-card select{grid-column:1/-1}.alert-page .filter-card>button{grid-column:1/-1;height:38px}}.business-logic-page{box-sizing:border-box;background:#f5f7fb;width:100%;min-height:100vh;padding:25px}.business-logic-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;display:flex}.business-logic-header h1{color:#1e293b;margin:0;font-size:26px;font-weight:700}.business-logic-header p{color:#64748b;margin:6px 0 0;font-size:14px}.business-logic-page .primary-btn{color:#fff;cursor:pointer;white-space:nowrap;background:#198754;border:none;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:9px 16px;font-size:13px;font-weight:600;transition:all .2s;display:inline-flex}.business-logic-page .primary-btn:hover:not(:disabled){background:#157347}.business-logic-page .primary-btn:disabled{opacity:.6;cursor:not-allowed}.business-logic-page .secondary-btn{color:#334155;cursor:pointer;background:#fff;border:1px solid #d7dee7;border-radius:8px;min-height:40px;padding:9px 16px;font-size:13px;font-weight:600}.business-logic-page .secondary-btn:hover{color:#198754;background:#f0fdf4;border-color:#198754}.business-logic-page .logic-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:22px;display:grid}.business-logic-page .summary-card{background:#fff;border:1px solid #e4e9ef;border-radius:10px;align-items:center;gap:13px;min-width:0;padding:16px 18px;display:flex;box-shadow:0 2px 8px #0f172a0a}.business-logic-page .summary-icon{color:#198754;background:#ecfdf5;border-radius:9px;flex:0 0 38px;justify-content:center;align-items:center;width:38px;height:38px;font-size:18px;font-weight:700;display:flex}.business-logic-page .summary-card.active .summary-icon{color:#198754;background:#ecfdf5}.business-logic-page .summary-card.inactive .summary-icon{color:#dc2626;background:#fef2f2}.business-logic-page .summary-card span{color:#64748b;margin-bottom:4px;font-size:12px;display:block}.business-logic-page .summary-card strong{color:#172033;font-size:23px;line-height:1.1;display:block}.business-logic-page .logic-card{background:#fff;border:1px solid #e4e9ef;border-radius:10px;width:100%;overflow:hidden;box-shadow:0 2px 8px #0f172a08}.business-logic-page .logic-toolbar{border-bottom:1px solid #edf1f5;justify-content:space-between;align-items:center;gap:20px;padding:17px 18px;display:flex}.business-logic-page .logic-toolbar h2{color:#172033;margin:0;font-size:17px;font-weight:700}.business-logic-page .logic-toolbar p{color:#7a8190;margin:4px 0 0;font-size:12px}.business-logic-page .logic-search{box-sizing:border-box;background:#fff;border:1px solid #d7dee7;border-radius:7px;flex:0 0 260px;align-items:center;gap:8px;width:260px;height:38px;padding:0 11px;display:flex}.business-logic-page .logic-search svg{color:#94a3b8;flex:none}.business-logic-page .logic-search input{color:#334155;background:0 0;border:none;outline:none;width:100%;min-width:0;font-size:13px}.business-logic-page .logic-search input::placeholder{color:#94a3b8}.business-logic-page .logic-search:focus-within{border-color:#198754;box-shadow:0 0 0 3px #19875414}.business-logic-page .logic-table-wrapper{width:100%;overflow-x:auto}.business-logic-page .logic-table{border-collapse:collapse;width:100%;min-width:900px}.business-logic-page .logic-table th{color:#64748b;text-align:left;text-transform:uppercase;letter-spacing:.25px;white-space:nowrap;background:#f8fafc;border-bottom:1px solid #e5eaf0;padding:13px 16px;font-size:11px;font-weight:700}.business-logic-page .logic-table td{color:#334155;vertical-align:middle;border-bottom:1px solid #edf1f5;padding:14px 16px;font-size:13px}.business-logic-page .logic-table tbody tr:last-child td{border-bottom:none}.business-logic-page .logic-table tbody tr:hover{background:#fafdfb}.business-logic-page .logic-name-cell{align-items:center;gap:10px;min-width:190px;display:flex}.business-logic-page .logic-avatar{color:#198754;background:#ecfdf5;border-radius:8px;flex:0 0 34px;justify-content:center;align-items:center;width:34px;height:34px;font-size:17px;font-weight:700;display:flex}.business-logic-page .logic-name-cell strong{color:#172033;font-size:13px;font-weight:700;display:block}.business-logic-page .logic-name-cell small{color:#94a3b8;text-overflow:ellipsis;white-space:nowrap;max-width:260px;margin-top:3px;font-size:11px;line-height:1.35;display:block;overflow:hidden}.business-logic-page .logic-code{color:#475569;white-space:nowrap;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;align-items:center;padding:5px 8px;font-family:monospace;font-size:11px;display:inline-flex}.business-logic-page .type-badge{color:#15803d;white-space:nowrap;background:#ecfdf5;border-radius:20px;align-items:center;padding:5px 9px;font-size:11px;font-weight:700;display:inline-flex}.business-logic-page .description-text{color:#64748b;text-overflow:ellipsis;white-space:nowrap;max-width:280px;font-size:12px;line-height:1.4;display:block;overflow:hidden}.business-logic-page .status-badge{white-space:nowrap;border-radius:20px;align-items:center;gap:6px;padding:5px 9px;font-size:11px;font-weight:700;display:inline-flex}.business-logic-page .status-badge.active{color:#15803d;background:#ecfdf5}.business-logic-page .status-badge.inactive{color:#b91c1c;background:#fef2f2}.business-logic-page .status-dot{background:currentColor;border-radius:50%;width:6px;height:6px}.business-logic-page .action-buttons{align-items:center;gap:6px;display:flex}.business-logic-page .icon-btn{cursor:pointer;background:#fff;border:1px solid #e1e5eb;border-radius:7px;justify-content:center;align-items:center;width:31px;height:31px;padding:0;transition:all .2s;display:flex}.business-logic-page .icon-btn.view{color:#198754}.business-logic-page .icon-btn.edit{color:#64748b}.business-logic-page .icon-btn.delete{color:#dc2626}.business-logic-page .icon-btn:hover{background:#f8fafc}.business-logic-page .icon-btn.view:hover{background:#ecfdf5;border-color:#198754}.business-logic-page .icon-btn.edit:hover{border-color:#94a3b8}.business-logic-page .icon-btn.delete:hover{background:#fef2f2;border-color:#dc2626}.business-logic-page .empty-state{box-sizing:border-box;color:#94a3b8;text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:6px;min-height:180px;padding:35px 20px;display:flex}.business-logic-page .empty-state strong{color:#475569;font-size:14px}.business-logic-page .empty-state span{font-size:12px}.business-logic-page .empty-icon{color:#198754;background:#ecfdf5;border-radius:50%;justify-content:center;align-items:center;width:42px;height:42px;margin-bottom:3px;display:flex}.business-logic-page .logic-mobile-list{display:none}.business-logic-page .logic-mobile-card{background:#fff;border-bottom:1px solid #edf1f5;padding:15px}.business-logic-page .logic-mobile-card:last-child{border-bottom:none}.business-logic-page .logic-mobile-header{justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:14px;display:flex}.business-logic-page .logic-mobile-info{grid-template-columns:1fr 1fr;gap:9px;margin-bottom:12px;display:grid}.business-logic-page .mobile-info-item{background:#f8fafc;border:1px solid #edf1f5;border-radius:7px;padding:9px 10px}.business-logic-page .mobile-info-item span{color:#94a3b8;text-transform:uppercase;margin-bottom:3px;font-size:10px;font-weight:700;display:block}.business-logic-page .mobile-info-item strong{color:#334155;text-overflow:ellipsis;white-space:nowrap;font-size:12px;display:block;overflow:hidden}.business-logic-page .mobile-description{margin-bottom:13px}.business-logic-page .mobile-description>span{color:#94a3b8;text-transform:uppercase;margin-bottom:4px;font-size:10px;font-weight:700;display:block}.business-logic-page .mobile-description p{color:#475569;margin:0;font-size:12px;line-height:1.45}.business-logic-page .logic-mobile-actions{grid-template-columns:repeat(3,1fr);gap:7px;display:grid}.business-logic-page .mobile-action{cursor:pointer;background:#fff;border:1px solid #dce3ea;border-radius:7px;justify-content:center;align-items:center;gap:5px;min-height:34px;font-size:11px;font-weight:600;display:inline-flex}.business-logic-page .mobile-action.view{color:#198754}.business-logic-page .mobile-action.edit{color:#475569}.business-logic-page .mobile-action.delete{color:#dc2626}.business-logic-page .mobile-action.view:hover{background:#ecfdf5;border-color:#198754}.business-logic-page .mobile-action.edit:hover{background:#f8fafc}.business-logic-page .mobile-action.delete:hover{background:#fef2f2;border-color:#dc2626}.business-logic-page .modal-overlay{z-index:9999;box-sizing:border-box;background:#0f172a7a;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.business-logic-page .logic-modal{background:#fff;border-radius:12px;width:650px;max-width:100%;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px #0f172a33}.business-logic-page .modal-header{border-bottom:1px solid #edf1f5;justify-content:space-between;align-items:flex-start;gap:15px;padding:19px 20px;display:flex}.business-logic-page .modal-header h2{color:#172033;margin:0;font-size:19px;font-weight:700}.business-logic-page .modal-header p{color:#7a8190;margin:5px 0 0;font-size:12px}.business-logic-page .close-btn{color:#64748b;cursor:pointer;background:#f1f5f9;border:none;border-radius:7px;flex:0 0 32px;justify-content:center;align-items:center;width:32px;height:32px;padding:0;display:flex}.business-logic-page .close-btn:hover{color:#334155;background:#e2e8f0}.business-logic-page .modal-body{padding:20px}.business-logic-page .form-grid{grid-template-columns:1fr 1fr;gap:16px;display:grid}.business-logic-page .form-group{flex-direction:column;gap:6px;display:flex}.business-logic-page .form-group.full-width{grid-column:1/-1}.business-logic-page .form-group label{color:#374151;font-size:12px;font-weight:600}.business-logic-page .form-group input,.business-logic-page .form-group select,.business-logic-page .form-group textarea{box-sizing:border-box;color:#334155;background:#fff;border:1px solid #d7dee7;border-radius:7px;outline:none;width:100%;padding:10px 11px;font-family:inherit;font-size:13px;transition:all .2s}.business-logic-page .form-group input,.business-logic-page .form-group select{height:40px}.business-logic-page .form-group textarea{resize:vertical;min-height:80px;line-height:1.45}.business-logic-page .form-group input:focus,.business-logic-page .form-group select:focus,.business-logic-page .form-group textarea:focus{border-color:#198754;box-shadow:0 0 0 3px #19875414}.business-logic-page .form-group input:disabled,.business-logic-page .form-group select:disabled,.business-logic-page .form-group textarea:disabled{color:#64748b;cursor:not-allowed;background:#f8fafc}.business-logic-page .form-group small{color:#94a3b8;font-size:10px;line-height:1.4}.business-logic-page .active-toggle{color:#374151;grid-column:1/-1;align-items:center;gap:9px;font-size:13px;font-weight:600;display:flex}.business-logic-page .switch{flex:0 0 40px;width:40px;height:22px;position:relative}.business-logic-page .switch input{opacity:0;width:0;height:0}.business-logic-page .slider{cursor:pointer;background:#cbd5e1;border-radius:20px;transition:all .2s;position:absolute;inset:0}.business-logic-page .slider:before{content:"";background:#fff;border-radius:50%;width:16px;height:16px;transition:all .2s;position:absolute;top:3px;left:3px}.business-logic-page .switch input:checked+.slider{background:#198754}.business-logic-page .switch input:checked+.slider:before{transform:translate(18px)}.business-logic-page .modal-footer{border-top:1px solid #edf1f5;justify-content:flex-end;gap:9px;padding:15px 20px;display:flex}@media (width<=1000px){.business-logic-page .logic-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.business-logic-page .logic-toolbar{align-items:flex-start}.business-logic-page .logic-search{flex-basis:230px;width:230px}}@media (width<=768px){.business-logic-page{padding:15px}.business-logic-header{flex-direction:column;align-items:flex-start}.business-logic-page .primary-btn{width:100%}.business-logic-page .logic-summary{grid-template-columns:1fr;gap:10px}.business-logic-page .logic-toolbar{flex-direction:column;align-items:stretch;gap:12px;padding:15px}.business-logic-page .logic-search{flex-basis:38px;width:100%}.business-logic-page .desktop-logic-table{display:none}.business-logic-page .logic-mobile-list{display:block}.business-logic-page .logic-mobile-header{align-items:flex-start}.business-logic-page .logic-name-cell small{max-width:190px}.business-logic-page .logic-modal{border-radius:10px;width:100%;max-height:94vh}.business-logic-page .modal-overlay{padding:10px}.business-logic-page .form-grid{grid-template-columns:1fr;gap:14px}.business-logic-page .form-group.full-width,.business-logic-page .active-toggle{grid-column:auto}.business-logic-page .modal-body,.business-logic-page .modal-header{padding:16px}.business-logic-page .modal-footer{padding:13px 16px}}@media (width<=480px){.business-logic-page{padding:12px}.business-logic-header h1{font-size:23px}.business-logic-header p{font-size:13px}.business-logic-page .summary-card{padding:13px 14px}.business-logic-page .logic-mobile-info{grid-template-columns:1fr 1fr}.business-logic-page .logic-mobile-actions{grid-template-columns:1fr 1fr 1fr}.business-logic-page .mobile-action{padding:0 4px;font-size:10px}.business-logic-page .modal-footer{grid-template-columns:1fr;display:grid}.business-logic-page .modal-footer button{width:100%}}.device-profile-page{box-sizing:border-box;background:#f5f7fb;width:100%;min-height:100vh;padding:24px}.device-profile-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px;display:flex}.device-profile-header h1{color:#1e293b;margin:0;font-size:26px;font-weight:700;line-height:1.2}.device-profile-header p{color:#64748b;margin:7px 0 0;font-size:14px}.device-profile-add-btn{color:#fff;cursor:pointer;background:#198754;border:none;border-radius:8px;justify-content:center;align-items:center;gap:8px;height:42px;padding:0 17px;font-size:14px;font-weight:600;transition:all .2s;display:inline-flex}.device-profile-add-btn:hover{background:#157347;transform:translateY(-1px)}.device-profile-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:20px;display:grid}.device-profile-summary-card{box-sizing:border-box;background:#fff;border:1px solid #e8edf2;border-radius:10px;justify-content:space-between;align-items:center;min-height:98px;padding:17px 20px;display:flex;box-shadow:0 2px 8px #0f172a0a}.device-profile-summary-card.total,.device-profile-summary-card.active{border-left:4px solid #198754}.device-profile-summary-card.inactive{border-left:4px solid #dc3545}.device-profile-summary-card strong{color:#1e293b;font-size:28px;font-weight:700;line-height:1;display:block}.device-profile-summary-card span{color:#64748b;margin-top:7px;font-size:13px;display:block}.device-profile-summary-icon{color:#198754;background:#ecfdf5;border-radius:9px;justify-content:center;align-items:center;width:38px;height:38px;display:flex}.device-profile-summary-card.inactive .device-profile-summary-icon{color:#dc3545;background:#fff1f2}.summary-status-dot{border-radius:50%;width:10px;height:10px;display:block}.summary-status-dot.active{background:#198754}.summary-status-dot.inactive{background:#dc3545}.device-profile-card{background:#fff;border:1px solid #e8edf2;border-radius:10px;width:100%;overflow:hidden;box-shadow:0 2px 8px #0f172a0a}.device-profile-toolbar{box-sizing:border-box;border-bottom:1px solid #edf0f4;justify-content:space-between;align-items:center;gap:20px;min-height:74px;padding:15px 18px;display:flex}.device-profile-toolbar h2{color:#1e293b;margin:0;font-size:17px;font-weight:700}.device-profile-toolbar p{color:#7a8190;margin:5px 0 0;font-size:12.5px}.device-profile-search{color:#8a93a3;box-sizing:border-box;background:#fff;border:1px solid #dbe3ea;border-radius:8px;align-items:center;gap:8px;width:280px;height:40px;padding:0 12px;display:flex}.device-profile-search:focus-within{border-color:#198754;box-shadow:0 0 0 3px #19875414}.device-profile-search input{color:#334155;background:0 0;border:none;outline:none;width:100%;font-size:13px}.device-profile-search input::placeholder{color:#94a3b8}.device-profile-desktop-table{width:100%;overflow-x:auto}.device-profile-table{border-collapse:collapse;width:100%;min-width:850px}.device-profile-table th{color:#64748b;text-align:left;white-space:nowrap;background:#f8fafc;border-bottom:1px solid #edf0f4;padding:13px 16px;font-size:11.5px;font-weight:700}.device-profile-table td{color:#334155;vertical-align:middle;border-bottom:1px solid #edf0f4;padding:13px 16px;font-size:13px}.device-profile-table tbody tr{transition:all .15s}.device-profile-table tbody tr:hover{background:#f8fbfa}.device-profile-table tbody tr:last-child td{border-bottom:none}.device-profile-name-cell{align-items:center;gap:10px;min-width:210px;display:flex}.device-profile-avatar{color:#198754;background:#ecfdf5;border:1px solid #d1fae5;border-radius:8px;flex:0 0 36px;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.device-profile-name-cell>div:last-child{flex-direction:column;gap:3px;min-width:0;display:flex}.device-profile-name-cell strong{text-overflow:ellipsis;white-space:nowrap;color:#1e293b;max-width:220px;font-size:13.5px;font-weight:650;overflow:hidden}.device-profile-name-cell span{text-overflow:ellipsis;white-space:nowrap;color:#94a3b8;max-width:230px;font-size:11px;overflow:hidden}.device-profile-type-badge{color:#15803d;white-space:nowrap;background:#f0fdf4;border-radius:7px;align-items:center;padding:5px 9px;font-size:11px;font-weight:700;display:inline-flex}.device-profile-rule-badge{color:#6d28d9;white-space:nowrap;text-overflow:ellipsis;background:#f5f3ff;border-radius:7px;align-items:center;max-width:180px;padding:5px 9px;font-size:11px;font-weight:600;display:inline-flex;overflow:hidden}.device-profile-chain-badge{color:#2563eb;white-space:nowrap;text-overflow:ellipsis;background:#eff6ff;border-radius:7px;align-items:center;gap:5px;max-width:180px;padding:5px 9px;font-size:11px;font-weight:600;display:inline-flex;overflow:hidden}.device-profile-chain-badge svg{flex-shrink:0}.device-profile-status{white-space:nowrap;border-radius:20px;align-items:center;gap:6px;padding:5px 9px;font-size:11px;font-weight:700;line-height:1;display:inline-flex}.device-profile-status.active{color:#15803d;background:#dcfce7}.device-profile-status.inactive{color:#dc2626;background:#fee2e2}.device-profile-status-dot{background:currentColor;border-radius:50%;flex-shrink:0;width:6px;height:6px;display:block}.device-profile-actions{align-items:center;gap:6px;display:flex}.device-profile-action{cursor:pointer;border:none;border-radius:7px;flex:0 0 32px;justify-content:center;align-items:center;width:32px;min-width:32px;max-width:32px;height:32px;padding:0;transition:background .18s,color .18s;display:flex}.device-profile-action.view{color:#2563eb;background:#eef6ff}.device-profile-action.view:hover{color:#fff;background:#2563eb}.device-profile-action.edit{color:#d97706;background:#fff7e6}.device-profile-action.edit:hover{color:#fff;background:#f59e0b}.device-profile-action.delete{color:#dc3545;background:#fff1f2}.device-profile-action.delete:hover{color:#fff;background:#dc3545}.device-profile-empty{height:250px;text-align:center!important;color:#94a3b8!important}.device-profile-empty svg{margin-bottom:10px}.device-profile-empty h3{color:#334155;margin:4px 0;font-size:16px}.device-profile-empty p{color:#94a3b8;margin:0;font-size:12px}.device-profile-mobile-list{display:none}.device-profile-modal-overlay{z-index:9999;box-sizing:border-box;background:#0f172a7a;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.device-profile-modal{background:#fff;border-radius:12px;flex-direction:column;width:100%;max-width:680px;max-height:calc(100vh - 40px);display:flex;overflow:hidden;box-shadow:0 20px 60px #0f172a33}.device-profile-modal-header{border-bottom:1px solid #edf0f4;justify-content:space-between;align-items:flex-start;gap:20px;padding:18px 20px;display:flex}.device-profile-modal-header h2{color:#1e293b;margin:0;font-size:19px;font-weight:700}.device-profile-modal-header p{color:#64748b;margin:5px 0 0;font-size:12.5px}.device-profile-modal-close{color:#64748b;cursor:pointer;background:#f8fafc;border:none;border-radius:7px;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;padding:0;display:flex}.device-profile-modal-close:hover{color:#dc3545;background:#fee2e2}.device-profile-modal-body{padding:20px;overflow-y:auto}.device-profile-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.device-profile-form-group{flex-direction:column;gap:6px;display:flex}.device-profile-form-group.full{grid-column:1/-1}.device-profile-form-group label{color:#334155;font-size:12px;font-weight:600}.device-profile-form-group input,.device-profile-form-group select,.device-profile-form-group textarea{box-sizing:border-box;color:#334155;background:#fff;border:1px solid #dbe3ea;border-radius:8px;outline:none;width:100%;font-size:13px;transition:all .18s}.device-profile-form-group input,.device-profile-form-group select{height:42px;padding:0 12px}.device-profile-form-group textarea{resize:vertical;min-height:95px;padding:10px 12px}.device-profile-form-group input:focus,.device-profile-form-group select:focus,.device-profile-form-group textarea:focus{border-color:#198754;box-shadow:0 0 0 3px #19875414}.device-profile-form-group input:disabled,.device-profile-form-group select:disabled,.device-profile-form-group textarea:disabled{color:#64748b;cursor:not-allowed;background:#f8fafc}.device-profile-active-field{color:#334155;grid-column:1/-1;align-items:center;gap:9px;font-size:13px;font-weight:600;display:flex}.device-profile-switch{width:40px;height:22px;display:inline-block;position:relative}.device-profile-switch input{opacity:0;width:0;height:0}.device-profile-slider{cursor:pointer;background:#cbd5e1;border-radius:20px;transition:all .2s;position:absolute;inset:0}.device-profile-slider:before{content:"";background:#fff;border-radius:50%;width:16px;height:16px;transition:all .2s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #0003}.device-profile-switch input:checked+.device-profile-slider{background:#198754}.device-profile-switch input:checked+.device-profile-slider:before{transform:translate(18px)}.device-profile-switch input:disabled+.device-profile-slider{opacity:.55;cursor:not-allowed}.device-profile-modal-footer{background:#fafbfc;border-top:1px solid #edf0f4;justify-content:flex-end;align-items:center;gap:9px;padding:14px 20px;display:flex}.device-profile-secondary-btn,.device-profile-save-btn{cursor:pointer;border-radius:8px;height:39px;padding:0 15px;font-size:13px;font-weight:600}.device-profile-secondary-btn{color:#475569;background:#fff;border:1px solid #dbe3ea}.device-profile-secondary-btn:hover{background:#f8fafc}.device-profile-save-btn{color:#fff;background:#198754;border:none}.device-profile-save-btn:hover{background:#157347}@media (width<=900px){.device-profile-page{padding:20px}.device-profile-header{flex-direction:column;align-items:flex-start;gap:14px}.device-profile-add-btn{width:100%}.device-profile-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.device-profile-toolbar{flex-direction:column;align-items:flex-start;gap:12px}.device-profile-search{width:100%}}@media (width<=768px){.device-profile-page{padding:15px}.device-profile-header{margin-bottom:17px}.device-profile-header h1{font-size:22px}.device-profile-header p{font-size:13px}.device-profile-summary{grid-template-columns:1fr;gap:10px;margin-bottom:16px}.device-profile-summary-card{min-height:80px;padding:14px 16px}.device-profile-summary-card strong{font-size:24px}.device-profile-toolbar{padding:14px}.device-profile-toolbar h2{font-size:16px}.device-profile-desktop-table{display:none}.device-profile-mobile-list{flex-direction:column;gap:10px;padding:12px;display:flex}.device-profile-mobile-card{box-sizing:border-box;background:#fff;border:1px solid #e7edf2;border-radius:9px;width:100%;padding:14px}.device-profile-mobile-top{border-bottom:1px solid #eef2f6;justify-content:space-between;align-items:flex-start;gap:10px;padding-bottom:12px;display:flex}.device-profile-mobile-identity{align-items:center;gap:10px;min-width:0;display:flex}.device-profile-mobile-identity .device-profile-avatar{flex-basis:38px;width:38px;height:38px}.device-profile-mobile-identity>div:last-child{min-width:0}.device-profile-mobile-identity h3{text-overflow:ellipsis;white-space:nowrap;color:#1e293b;max-width:190px;margin:0 0 3px;font-size:14px;font-weight:650;overflow:hidden}.device-profile-mobile-identity span{color:#94a3b8;font-size:11px}.device-profile-mobile-description{color:#64748b;margin:11px 0;font-size:12px;line-height:1.5}.device-profile-mobile-details{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px 0;display:grid}.device-profile-detail{flex-direction:column;gap:4px;min-width:0;display:flex}.device-profile-detail span{color:#94a3b8;text-transform:uppercase;letter-spacing:.3px;font-size:10px}.device-profile-detail strong{text-overflow:ellipsis;white-space:nowrap;color:#334155;font-size:12px;font-weight:600;overflow:hidden}.device-profile-mobile-actions{border-top:1px solid #eef2f6;padding-top:11px}.device-profile-mobile-actions .device-profile-actions{justify-content:flex-end}.device-profile-mobile-actions .device-profile-action{flex-basis:34px;width:34px;min-width:34px;max-width:34px;height:34px}.device-profile-mobile-message{text-align:center;color:#94a3b8;flex-direction:column;justify-content:center;align-items:center;min-height:180px;padding:25px;display:flex}.device-profile-mobile-message h3{color:#334155;margin:10px 0 5px;font-size:16px}.device-profile-mobile-message p{color:#94a3b8;margin:0;font-size:12px}.device-profile-modal-overlay{align-items:flex-end;padding:0}.device-profile-modal{border-radius:14px 14px 0 0;max-width:none;max-height:92vh}.device-profile-form-grid{grid-template-columns:1fr}.device-profile-form-group.full{grid-column:auto}.device-profile-modal-footer{padding:12px 15px}.device-profile-secondary-btn,.device-profile-save-btn{flex:1;padding:0 10px}}@media (width<=480px){.device-profile-page{padding:12px}.device-profile-header h1{font-size:20px}.device-profile-mobile-card{padding:13px}.device-profile-mobile-identity h3{max-width:150px}.device-profile-mobile-details{gap:8px}.device-profile-modal-body{padding:16px}}:root{--primary:#2563eb;--primary-dark:#1d4ed8;--success:#16a34a;--warning:#d97706;--danger:#dc2626;--bg:#f5f7fb;--card:#fff;--border:#e2e8f0;--text:#1e293b;--muted:#64748b}.report-page{background:var(--bg);min-height:100vh;padding:25px}.page-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px;display:flex}.report-generator{background:#fff;border:1px solid #e2e8f0;border-radius:14px;margin-bottom:22px;padding:18px 20px;box-shadow:0 2px 8px #0f172a0a}.generator-header{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.generator-header h3{color:#0f172a;margin:0;font-size:17px;font-weight:700}.generator-header p{color:#64748b;margin:4px 0 0;font-size:13px}.generator-grid{grid-template-columns:minmax(180px,1fr) minmax(220px,1.2fr) auto;align-items:end;gap:14px;display:grid}.generator-grid .form-group{min-width:0}.generator-grid label{color:#475569;margin-bottom:6px;font-size:12px;font-weight:600;display:block}.generator-grid select,.generator-grid input{box-sizing:border-box;color:#1e293b;background:#fff;border:1px solid #cbd5e1;border-radius:8px;outline:none;width:100%;height:40px;padding:0 12px;font-size:13px;transition:border-color .2s,box-shadow .2s}.generator-grid select:focus,.generator-grid input:focus{border-color:#64748b;box-shadow:0 0 0 3px #64748b1f}.generator-grid select:disabled,.generator-grid input:disabled{color:#94a3b8;cursor:not-allowed;background:#f8fafc}.generator-action{align-items:flex-end;display:flex}.generator-action .primary-btn{color:#fff;white-space:nowrap;cursor:pointer;background:#0f172a;border:none;border-radius:8px;height:40px;padding:0 18px;font-size:13px;font-weight:600;transition:background .2s,transform .15s,box-shadow .2s}.generator-action .primary-btn:hover{background:#1e293b;box-shadow:0 3px 8px #0f172a26}.generator-action .primary-btn:active{transform:translateY(1px)}.generator-action .primary-btn:disabled{opacity:.6;cursor:not-allowed}.page-header h2{color:var(--text);margin:0;font-size:30px}.page-header p{color:var(--muted);margin-top:8px}.header-actions{gap:12px;display:flex}.primary-btn,.refresh-btn{cursor:pointer;border:none;border-radius:10px;padding:12px 22px;font-weight:600;transition:all .3s}.primary-btn{background:var(--primary);color:#fff}.primary-btn:hover{background:var(--primary-dark)}.refresh-btn{border:1px solid var(--border);background:#fff}.refresh-btn:hover{background:#eef4ff}.table-card,.form-card,.report-preview,.executive-summary{border:1px solid var(--border);background:#fff;border-radius:16px;box-shadow:0 4px 15px #0000000d}.form-card,.report-preview,.executive-summary{padding:25px}.report-card-grid{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin-bottom:25px;display:grid}.report-card{border:1px solid var(--border);background:#fff;border-radius:16px;align-items:center;gap:18px;padding:22px;transition:all .3s;display:flex;box-shadow:0 4px 15px #0000000d}.report-card:hover{transform:translateY(-5px);box-shadow:0 10px 25px #0000001f}.report-icon{border-radius:14px;justify-content:center;align-items:center;width:65px;height:65px;display:flex}.report-card h2{margin:0;font-size:28px}.report-card p{color:var(--muted);margin-top:5px}.filter-box{border:1px solid var(--border);background:#fff;border-radius:16px;grid-template-columns:2fr repeat(4,1fr) auto;gap:15px;margin-bottom:25px;padding:20px;display:grid}.filter-box input,.filter-box select{border:1px solid #cbd5e1;border-radius:10px;height:45px;padding:0 14px}.filter-box button{background:var(--primary);color:#fff;border:none;border-radius:10px;padding:0 22px}.table-wrapper{overflow-x:auto}.report-table{border-collapse:collapse;width:100%;min-width:950px}.report-table thead{background:#eff6ff}.report-table th,.report-table td{text-align:left;padding:16px}.report-table td{border-top:1px solid var(--border)}.report-table tbody tr:hover{background:#f8fafc}.status{border-radius:30px;padding:6px 14px;font-size:12px;font-weight:600}.ready{color:var(--success);background:#dcfce7}.processing{color:var(--warning);background:#fef3c7}.failed{color:var(--danger);background:#fee2e2}.action-buttons{gap:10px;display:flex}.action-buttons button{cursor:pointer;width:36px;height:36px;color:var(--primary);background:#eef4ff;border:none;border-radius:8px}.action-buttons button:hover{background:var(--primary);color:#fff}.form-grid{grid-template-columns:repeat(2,1fr);gap:20px;display:grid}.form-group{flex-direction:column;display:flex}.form-group label{margin-bottom:8px;font-weight:600}.form-group input,.form-group select{border:1px solid #cbd5e1;border-radius:10px;height:46px;padding:0 15px}.form-actions{justify-content:flex-end;gap:15px;margin-top:25px;display:flex}.report-summary,.preview-grid,.report-kpi{grid-template-columns:repeat(4,1fr);gap:20px;margin-bottom:25px;display:grid}.summary-item,.kpi-card{border:1px solid var(--border);background:#fff;border-radius:14px;padding:20px}.preview-header{gap:20px;margin-bottom:20px;display:flex}.executive-summary p{color:var(--muted);line-height:28px}@media (width<=1200px){.filter-box{grid-template-columns:repeat(3,1fr)}.report-summary,.preview-grid,.report-kpi{grid-template-columns:repeat(2,1fr)}}@media (width<=992px){.page-header{flex-direction:column;align-items:flex-start}.header-actions{width:100%}.primary-btn,.refresh-btn{flex:1}.filter-box{grid-template-columns:repeat(2,1fr)}.form-grid{grid-template-columns:1fr}}@media (width<=768px){.report-page{padding:15px}.page-header h2{font-size:24px}.header-actions{flex-direction:column;width:100%}.report-card-grid,.filter-box,.report-summary,.preview-grid,.report-kpi{grid-template-columns:1fr}.form-actions{flex-direction:column}.form-actions button,.primary-btn,.refresh-btn{width:100%}.report-table{min-width:900px}}@media (width<=576px){.report-page{padding:12px}.page-header h2{font-size:22px}.report-card{flex-direction:column;align-items:flex-start}.report-card h2{font-size:22px}}.reset-filter-btn{appearance:none;color:#475569;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:8px;min-height:40px;padding:9px 16px;font-size:14px;font-weight:600;line-height:1;transition:background-color .2s,border-color .2s,color .2s,box-shadow .2s,transform .15s}.reset-filter-btn:hover{color:#1e293b;background:#f8fafc;border-color:#94a3b8;box-shadow:0 2px 6px #0f172a14}.reset-filter-btn:active{transform:translateY(1px)}.reset-filter-btn:focus-visible{border-color:#64748b;outline:none;box-shadow:0 0 0 3px #64748b26}.reset-filter-btn:disabled{opacity:.5;cursor:not-allowed}@media (width<=600px){.report-generator{border-radius:12px;margin-bottom:16px;padding:14px}.generator-header{margin-bottom:12px}.generator-header h3{font-size:16px}.generator-header p{font-size:12px}.generator-grid{grid-template-columns:1fr 1fr;gap:10px}.generator-grid:has(.form-group input[type=date]){grid-template-columns:1fr 1fr}.generator-grid label{margin-bottom:5px;font-size:11px}.generator-grid select,.generator-grid input{height:38px;padding:0 9px;font-size:12px}.generator-action{grid-column:1/-1}.generator-action .primary-btn{width:100%;height:40px}}:root{--tl-accent:#2563eb;--tl-accent-dark:#1d4ed8;--tl-accent-light:#eff6ff;--tl-success:#16a34a;--tl-success-bg:#dcfce7;--tl-danger:#dc2626;--tl-danger-bg:#fee2e2;--tl-warning:#d97706;--tl-warning-bg:#fef3c7;--tl-text-primary:#111827;--tl-text-secondary:#6b7280;--tl-border:#e5e7eb;--tl-bg:#f3f4f6;--tl-card-bg:#fff;--tl-radius:10px;--tl-shadow:0 1px 3px #0000000f, 0 1px 2px #0000000a}.tl-page{background:var(--tl-bg);min-height:100%;color:var(--tl-text-primary);padding:24px 32px;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.tl-mono{font-family:JetBrains Mono,Courier New,monospace}.tl-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:24px;display:flex}.tl-header-title-group{align-items:center;gap:10px;display:flex}.tl-header-title-group svg{color:var(--tl-accent)}.tl-header h1{margin:0;font-size:24px;font-weight:700}.tl-header p{color:var(--tl-text-secondary);margin:4px 0 0;font-size:14px}.tl-header-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.tl-live-badge{background:var(--tl-success-bg);color:var(--tl-success);border-radius:999px;align-items:center;gap:6px;padding:6px 12px;font-size:12px;font-weight:700;display:inline-flex}.tl-live-dot{background:var(--tl-success);border-radius:50%;width:8px;height:8px;animation:1.4s infinite tl-pulse}@keyframes tl-pulse{0%{box-shadow:0 0 #16a34a80}70%{box-shadow:0 0 0 6px #16a34a00}to{box-shadow:0 0 #16a34a00}}.tl-btn{cursor:pointer;white-space:nowrap;border:none;border-radius:8px;align-items:center;gap:6px;padding:10px 18px;font-size:14px;font-weight:600;display:inline-flex}.tl-btn-outline{color:var(--tl-accent);border:1px solid var(--tl-border);background:#fff}.tl-btn-outline:hover{background:var(--tl-accent-light)}.tl-btn-outline.active{background:var(--tl-accent);color:#fff;border-color:var(--tl-accent)}.tl-kpi-grid{grid-template-columns:repeat(4,1fr);gap:20px;margin-bottom:20px;display:grid}@media (width<=1100px){.tl-kpi-grid{grid-template-columns:repeat(2,1fr)}}.tl-kpi-card{background:var(--tl-card-bg);border-radius:var(--tl-radius);box-shadow:var(--tl-shadow);border-left:4px solid var(--tl-accent);align-items:center;gap:16px;padding:20px 24px;display:flex}.tl-kpi-card.tl-kpi-danger{border-left-color:var(--tl-danger)}.tl-kpi-card.tl-kpi-warning{border-left-color:var(--tl-warning)}.tl-kpi-card.tl-kpi-success{border-left-color:var(--tl-success)}.tl-kpi-icon{background:var(--tl-accent-light);width:48px;height:48px;color:var(--tl-accent);border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;display:flex}.tl-kpi-card.tl-kpi-danger .tl-kpi-icon{background:var(--tl-danger-bg);color:var(--tl-danger)}.tl-kpi-card.tl-kpi-warning .tl-kpi-icon{background:var(--tl-warning-bg);color:var(--tl-warning)}.tl-kpi-card.tl-kpi-success .tl-kpi-icon{background:var(--tl-success-bg);color:var(--tl-success)}.tl-kpi-value{font-family:JetBrains Mono,monospace;font-size:26px;font-weight:700}.tl-kpi-label{color:var(--tl-text-secondary);margin-top:2px;font-size:13px;font-weight:600}.tl-filter-bar{background:var(--tl-card-bg);border-radius:var(--tl-radius);box-shadow:var(--tl-shadow);flex-wrap:wrap;align-items:center;gap:14px;margin-bottom:20px;padding:16px 20px;display:flex}.tl-input,.tl-select{border:1px solid var(--tl-border);background:#fff;border-radius:8px;padding:10px 14px;font-family:inherit;font-size:14px}.tl-search-wrap{flex:1;min-width:220px;position:relative}.tl-search-wrap svg{color:var(--tl-text-secondary);position:absolute;top:50%;left:12px;transform:translateY(-50%)}.tl-search-wrap input{box-sizing:border-box;width:100%;padding-left:38px}.tl-table-card{background:var(--tl-card-bg);border-radius:var(--tl-radius);box-shadow:var(--tl-shadow);overflow:hidden}.tl-table{border-collapse:collapse;width:100%}.tl-table thead th{text-align:left;letter-spacing:.03em;text-transform:uppercase;color:var(--tl-text-secondary);border-bottom:1px solid var(--tl-border);padding:14px 20px;font-size:12px;font-weight:700}.tl-table tbody td{border-bottom:1px solid var(--tl-border);padding:14px 20px;font-size:14px}.tl-table tbody tr:last-child td{border-bottom:none}.tl-table tbody tr:hover{background:#f9fafb}.tl-badge{border-radius:999px;align-items:center;gap:5px;padding:4px 12px;font-size:12px;font-weight:700;display:inline-flex}.tl-badge-online{background:var(--tl-success-bg);color:var(--tl-success)}.tl-badge-offline{background:var(--tl-danger-bg);color:var(--tl-danger)}.tl-badge-warning{background:var(--tl-warning-bg);color:var(--tl-warning)}.tl-value-flash{animation:.6s tl-flash}@keyframes tl-flash{0%{background-color:var(--tl-accent-light)}to{background-color:#0000}}.tl-empty-state,.tl-loading-state{text-align:center;color:var(--tl-text-secondary);padding:60px 20px}.tl-timestamp{color:var(--tl-text-secondary);font-size:13px}@media (width<=1200px){.tl-page{padding:20px}.tl-kpi-grid{grid-template-columns:repeat(2,1fr);gap:18px}.tl-filter-bar{grid-template-columns:repeat(2,1fr);gap:15px;display:grid}.tl-search-wrap{grid-column:1/-1}}@media (width<=992px){.tl-page{padding:18px}.tl-header{flex-direction:column;align-items:flex-start;gap:18px}.tl-header-actions{flex-wrap:wrap;width:100%;display:flex}.tl-header-actions .tl-btn{flex:1;justify-content:center;min-width:150px}.tl-kpi-grid{grid-template-columns:repeat(2,1fr)}.tl-filter-bar{grid-template-columns:1fr}.tl-select,.tl-input,.tl-search-wrap{width:100%}.tl-table-card{overflow-x:auto}.tl-table{min-width:1100px}}@media (width<=1100px){.tl-page{padding:15px}.tl-header-title-group{align-items:flex-start}.tl-header h1{font-size:22px}.tl-header p{font-size:13px}.tl-header-actions{flex-direction:column;width:100%}.tl-header-actions .tl-btn{justify-content:center;width:100%}.tl-kpi-grid{grid-template-columns:1fr;gap:15px}.tl-kpi-card{padding:18px}.tl-kpi-icon{width:42px;height:42px}.tl-kpi-value{font-size:22px}.tl-filter-bar{flex-direction:column;gap:12px;display:flex}.tl-search-wrap,.tl-select,.tl-input{width:100%}.tl-table-card{border-radius:10px;overflow-x:auto}.tl-table{min-width:1050px}.tl-table th,.tl-table td{white-space:nowrap;padding:12px}}@media (width<=480px){.tl-page{padding:12px}.tl-header h1{font-size:20px}.tl-header p{font-size:12px}.tl-kpi-card{gap:12px;padding:15px}.tl-kpi-icon{width:38px;height:38px}.tl-kpi-value{font-size:20px}.tl-kpi-label{font-size:12px}.tl-btn{justify-content:center;width:100%;padding:10px;font-size:13px}.tl-filter-bar{padding:15px}.tl-input,.tl-select{padding:10px;font-size:13px}.tl-table{min-width:1000px}}.energy-page{background:#fafaf9;height:100vh;overflow-y:auto}.energy-header{background:#fff;border-bottom:.5px solid #e7e5e4}.energy-header-top{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;max-width:1280px;margin:0 auto;padding:14px 20px;display:flex}.energy-header-brand{align-items:center;gap:12px;display:flex}.energy-back-btn{color:#475569;cursor:pointer;white-space:nowrap;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;align-items:center;gap:6px;padding:7px 12px;font-size:12.5px;font-weight:600;transition:background .15s,color .15s;display:inline-flex}.energy-back-btn:hover{color:#ea580c;background:#f1f5f9}.energy-logo-badge{color:#fff;background:linear-gradient(135deg,#fb923c,#dc2626);border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;display:flex;box-shadow:0 4px 12px #dc262640}.energy-header-title{color:#1c1917;font-size:14px;font-weight:500}.energy-header-sub{color:#a8a29e;text-transform:uppercase;letter-spacing:.04em;margin-top:1px;font-size:11px}.energy-role-select{align-items:center;gap:8px;display:flex}.energy-role-select select{color:#334155;background:#fff;border:1px solid #cbd5e1;border-radius:7px;padding:6px 10px;font-size:12.5px}.energy-nav{gap:4px;max-width:1280px;margin:0 auto;padding:0 20px;display:flex;overflow-x:auto}.energy-nav-link{color:#64748b;white-space:nowrap;cursor:pointer;background:0 0;border:none;border-bottom:2px solid #0000;align-items:center;gap:6px;padding:10px 14px;font-size:13px;font-weight:600;text-decoration:none;transition:color .15s,border-color .15s;display:flex}.energy-nav-link:hover{color:#ea580c}.energy-nav-link.active{color:#ea580c;border-bottom-color:#ea580c}.energy-main{flex-direction:column;gap:20px;max-width:1280px;margin:0 auto;padding:20px;display:flex}.energy-kpi-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;display:grid}.energy-kpi-card{background:#fff;border:.5px solid #e7e5e4;border-radius:10px;padding:16px}.energy-kpi-top{justify-content:space-between;align-items:flex-start;display:flex}.energy-kpi-icon{border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;display:flex}.energy-kpi-icon.blue{color:#99590d;background:#faeeda}.energy-kpi-icon.slate{color:#5f5e5a;background:#f1efe8}.energy-kpi-icon.red{color:#a32d2d;background:#fcebeb}.energy-kpi-icon.amber{color:#854f0b;background:#faeeda}.energy-kpi-icon.green{color:#3b6d11;background:#eaf3de}.energy-kpi-value{color:#1c1917;font-variant-numeric:tabular-nums;margin-top:12px;font-family:SF Mono,Roboto Mono,Consolas,monospace;font-size:24px;font-weight:500}.energy-kpi-label{color:#a8a29e;text-transform:uppercase;letter-spacing:.06em;margin-top:4px;font-size:10.5px;font-weight:600}.energy-kpi-sub{color:#a8a29e;margin-top:6px;font-size:11px}.energy-card{background:#fff;border:.5px solid #e7e5e4;border-radius:12px;padding:20px}.energy-section-title{color:#1e293b;margin:0;font-size:14.5px;font-weight:700}.energy-section-note{color:#64748b;align-items:flex-start;gap:6px;margin-top:6px;font-size:11.5px;line-height:1.5;display:flex}.energy-section-note svg{flex-shrink:0;margin-top:2px}.energy-banner-warning{color:#78350f;background:#fffbeb;border:1px solid #fde68a;border-radius:12px;align-items:flex-start;gap:10px;padding:12px 16px;font-size:12.5px;display:flex}.energy-banner-warning svg{color:#d97706;flex-shrink:0;margin-top:1px}.energy-legend{color:#64748b;flex-wrap:wrap;gap:14px;margin-top:10px;font-size:11px;display:flex}.energy-legend-dot{align-items:center;gap:5px;display:inline-flex}.energy-legend-swatch{border-radius:3px;width:10px;height:10px;display:inline-block}.energy-table-wrap{overflow-x:auto}.energy-table{border-collapse:collapse;width:100%;font-size:12.5px}.energy-table thead th{text-align:left;color:#64748b;white-space:nowrap;border-bottom:1px solid #e2e8f0;padding:8px 10px;font-weight:600}.energy-table thead th.right,.energy-table td.right{text-align:right}.energy-table tbody td{color:#334155;border-bottom:1px solid #f1f5f9;padding:10px}.energy-table tbody tr{transition:background .12s}.energy-table tbody tr:hover{background:#f8fafc}.energy-table tbody tr.estimated-row{background:#fffbeb}.energy-table tbody tr.estimated-row:hover{background:#fef3c7}.energy-table-machine-name{color:#1e293b;font-weight:600}.energy-table-machine-note{color:#94a3b8;margin-top:2px;font-size:10.5px}.energy-quality-badge{border:1px solid;border-radius:999px;align-items:center;padding:2px 8px;font-size:10px;font-weight:700;display:inline-flex}.energy-quality-badge.measured{color:#047857;background:#ecfdf5;border-color:#a7f3d0}.energy-quality-badge.estimated{color:#b45309;background:#fffbeb;border-color:#fde68a}.energy-quality-badge.suspect{color:#dc2626;background:#fef2f2;border-color:#fecaca}.energy-value-warn{color:#dc2626;font-weight:700}.energy-value-amber{color:#b45309;font-weight:700}.energy-value-good{color:#16a34a}.energy-select{color:#334155;background:#fff;border:1px solid #cbd5e1;border-radius:7px;padding:6px 10px;font-size:12.5px}.energy-alert-item{border-left:4px solid;border-radius:0 10px 10px 0;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:8px;padding:12px 14px;display:flex}.energy-alert-item.sev-high{background:#fef2f2;border-color:#ef4444}.energy-alert-item.sev-medium{background:#fffbeb;border-color:#f59e0b}.energy-alert-item.sev-low{background:#f8fafc;border-color:#94a3b8}.energy-alert-item.acked{opacity:.5}.energy-alert-machine{color:#1e293b;font-size:12px;font-weight:700}.energy-alert-sev-tag{text-transform:uppercase;letter-spacing:.04em;color:#64748b;margin-left:8px;font-size:10px}.energy-alert-msg{color:#475569;margin-top:4px;font-size:12px}.energy-alert-value{color:#0f172a;margin-top:4px;font-size:12.5px;font-weight:700}.energy-alert-actions{flex-direction:column;flex-shrink:0;gap:6px;display:flex}.energy-alert-btn{cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #cbd5e1;border-radius:7px;padding:5px 10px;font-size:11px}.energy-alert-btn:hover{background:#f8fafc}.energy-footer{max-width:1280px;margin:0 auto;padding:0 20px 30px}.energy-footer-note{color:#64748b;background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:12px 16px;font-size:11px;line-height:1.6}.energy-grid-2col{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px;display:grid}@media (width<=700px){.energy-grid-2col{grid-template-columns:1fr}}.energy-power-triangle-wrap{flex-wrap:wrap;justify-content:center;align-items:center;gap:16px;display:flex}.energy-power-triangle-grid{flex:260px;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px;display:grid}.energy-power-triangle-card{text-align:center;border-radius:10px;min-width:0;padding:12px 6px}.energy-power-triangle-label{color:#64748b;white-space:nowrap;text-overflow:ellipsis;margin-bottom:4px;font-size:10px;overflow:hidden}.energy-power-triangle-value{font-size:18px;font-weight:700}.energy-power-triangle-sub{color:#94a3b8;margin-top:2px;font-size:8.5px}.energy-power-triangle-svg-wrap{flex:0 140px;min-width:90px;max-width:140px}.energy-power-triangle-svg-wrap svg{width:100%;height:auto;display:block}@media (width<=480px){.energy-power-triangle-grid{grid-template-columns:1fr}.energy-power-triangle-svg-wrap{max-width:110px}}.energy-table-wrap{-webkit-overflow-scrolling:touch;overflow-x:auto}.energy-table{min-width:480px}@media (width<=768px){.energy-header-top{flex-direction:column;align-items:flex-start}.energy-role-select{width:100%}.energy-role-select select{flex:1}.energy-kpi-grid{grid-template-columns:repeat(2,1fr)}.energy-table{font-size:11px}.energy-back-btn{padding:6px 10px;font-size:11.5px}}@media (width<=480px){.energy-kpi-grid{grid-template-columns:1fr}.energy-main{padding:12px}.energy-header-brand{flex-wrap:wrap}.energy-nav-link{padding:8px 10px;font-size:11.5px}.energy-card{padding:12px!important}.energy-header-sub{word-break:break-word}.energy-page>div[style*="justify-content: space-between"]{flex-direction:column;align-items:flex-start!important}.recharts-cartesian-axis-tick text{font-size:9px!important}.recharts-legend-item-text{font-size:10px!important}.recharts-brush-traveller{width:12px!important}}.energy-meter-section{background:#fff;border:1px solid #e5e7eb;border-radius:16px;margin-top:24px;padding:24px}.section-header{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.section-header h3{margin:0;font-size:20px;font-weight:700}.section-header p{color:#6b7280;margin:5px 0 0;font-size:14px}.meter-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.meter-card{background:#f9fafb;border:1px solid #e5e7eb;border-radius:14px;padding:18px}.meter-card-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.meter-card-header h4{margin:0;font-size:17px;font-weight:700}.meter-card-header span{color:#6b7280;margin-top:4px;font-size:13px;display:block}.meter-level{text-transform:uppercase;background:#eef2ff;border-radius:8px;padding:5px 9px;font-weight:600;color:#4338ca!important;font-size:11px!important}.meter-card-info{grid-template-columns:repeat(2,1fr);gap:14px;margin-top:20px;display:grid}.meter-card-info div{flex-direction:column;gap:4px;display:flex}.meter-card-info span{color:#6b7280;font-size:12px}.meter-card-info strong{color:#111827;word-break:break-word;font-size:14px}.meter-loading,.meter-empty{text-align:center;color:#6b7280;padding:30px}@media (width<=1000px){.meter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=650px){.energy-meter-section{padding:16px}.meter-grid{grid-template-columns:1fr}}.elx-brand-logo{object-fit:contain;width:40px;height:40px;display:block}.elx-topbar-brand-logo{object-fit:contain;width:36px;height:36px;display:block}.elx-logo-badge,.elx-topbar-logo{background:0 0}.steam-reports-page{--steam-primary:#245fe5;--steam-primary-dark:#194dc4;--steam-text:#172033;--steam-muted:#64748b;--steam-border:#e5eaf2;--steam-surface:#fff;--steam-page:#f5f7fb;box-sizing:border-box;min-height:100%;color:var(--steam-text);background:var(--steam-page);padding:28px;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.steam-reports-page *,.steam-reports-page :before,.steam-reports-page :after{box-sizing:border-box}.steam-reports-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px;display:flex}.steam-reports-eyebrow{color:var(--steam-primary);letter-spacing:1.8px;margin-bottom:8px;font-size:11px;font-weight:800}.steam-reports-heading h1{color:var(--steam-text);letter-spacing:-.9px;margin:0;font-size:clamp(24px,2.2vw,30px);font-weight:780;line-height:1.25}.steam-reports-heading p{color:var(--steam-muted);margin:9px 0 0;font-size:13px;line-height:1.7}.steam-reports-heading-icon{width:54px;height:54px;color:var(--steam-primary);background:linear-gradient(145deg,#eef3ff,#e5edff);border:1px solid #dce7ff;border-radius:16px;flex-shrink:0;place-items:center;display:grid}.steam-report-filter{border:1px solid var(--steam-border);background:var(--steam-surface);border-radius:16px;flex-wrap:wrap;align-items:flex-end;gap:16px;margin-bottom:24px;padding:21px;display:flex;box-shadow:0 2px 8px #17203308}.steam-report-field{flex-direction:column;flex:200px;gap:8px;min-width:0;display:flex}.steam-report-field label{color:#475569;font-size:12px;font-weight:700}.steam-report-field input,.steam-report-field select{color:#1e293b;background:#fff;border:1px solid #d7dfeb;border-radius:9px;outline:none;width:100%;min-width:0;min-height:44px;padding:10px 12px;font-family:inherit;font-size:13px;transition:border-color .18s,box-shadow .18s}.steam-report-field input:focus,.steam-report-field select:focus{border-color:var(--steam-primary);box-shadow:0 0 0 3px #245fe51c}.steam-report-field select:disabled{cursor:not-allowed;color:#94a3b8;background:#f8fafc}.steam-report-button{white-space:nowrap;cursor:pointer;border:1px solid #0000;border-radius:9px;flex:none;justify-content:center;align-items:center;gap:9px;min-height:44px;padding:0 16px;font-family:inherit;font-size:12px;font-weight:750;transition:background .18s,border-color .18s,box-shadow .18s,transform .18s;display:inline-flex}.steam-report-button:active:not(:disabled){transform:translateY(1px)}.steam-report-button:focus-visible{outline-offset:2px;outline:3px solid #245fe533}.steam-report-button:disabled{opacity:.6;cursor:not-allowed}.steam-report-button.primary{color:#fff;background:var(--steam-primary);box-shadow:0 3px 7px #245fe529}.steam-report-button.primary:hover:not(:disabled){background:var(--steam-primary-dark);box-shadow:0 5px 12px #245fe533}.steam-report-button.secondary{color:#334155;background:#fff;border-color:#d8e0ec}.steam-report-button.secondary:hover:not(:disabled){color:var(--steam-primary);background:#f6f9ff;border-color:#b8c9e5}.steam-report-error{color:#991b1b;overflow-wrap:anywhere;background:#fff5f5;border:1px solid #fecaca;border-radius:11px;align-items:flex-start;gap:11px;margin-bottom:22px;padding:15px 17px;font-size:13px;line-height:1.6;display:flex}.steam-report-error svg{flex-shrink:0;margin-top:1px}.steam-report-empty,.steam-report-loading{color:#94a3b8;text-align:center;background:#fff;border:1px dashed #d5deeb;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:12px;min-height:250px;padding:30px 20px;display:flex}.steam-report-empty>svg{width:54px;height:54px;color:var(--steam-primary);background:#edf3ff;border-radius:15px;padding:13px}.steam-report-empty h2{color:var(--steam-text);margin:3px 0 0;font-size:18px;font-weight:750}.steam-report-empty p{max-width:400px;color:var(--steam-muted);margin:0;font-size:13px;line-height:1.7}.steam-report-loading{color:#475569;flex-direction:row;min-height:120px;font-size:13px}.steam-spin{animation:1s linear infinite steam-spin}@keyframes steam-spin{to{transform:rotate(360deg)}}.steam-report-overview{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px;display:grid}.steam-report-overview>div{border:1px solid var(--steam-border);background:#fff;border-radius:13px;flex-direction:column;justify-content:center;gap:9px;min-width:0;min-height:91px;padding:17px;transition:border-color .18s,transform .18s;display:flex;box-shadow:0 2px 7px #17203305}.steam-report-overview>div:hover{border-color:#cbd9f3;transform:translateY(-2px)}.steam-report-overview span{color:var(--steam-muted);font-size:11px;font-weight:650}.steam-report-overview strong{color:var(--steam-text);overflow-wrap:anywhere;font-size:14px;font-weight:750;line-height:1.5}.steam-report-kpis{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:27px;display:grid}.steam-report-kpi{border:1px solid var(--steam-border);background:#fff;border-radius:15px;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:7px 13px;min-width:0;min-height:112px;padding:19px;transition:transform .2s,box-shadow .2s;display:grid;position:relative;overflow:hidden;box-shadow:0 2px 8px #17203308}.steam-report-kpi:hover{transform:translateY(-3px);box-shadow:0 7px 20px #17203312}.steam-kpi-icon{border-radius:12px;grid-row:span 2;place-items:center;width:44px;height:44px;display:grid}.steam-kpi-icon.blue{color:#245fe5;background:#eaf0ff}.steam-kpi-icon.orange{color:#b45309;background:#fff4df}.steam-kpi-icon.red{color:#dc2626;background:#fff0f0}.steam-kpi-icon.green{color:#15803d;background:#eaf8ef}.steam-report-kpi>span{color:#64748b;align-self:end;font-size:12px;font-weight:600}.steam-report-kpi strong{min-width:0;color:var(--steam-text);letter-spacing:-.5px;overflow-wrap:anywhere;align-self:start;font-size:clamp(19px,1.8vw,24px);font-weight:780;line-height:1.35}.steam-report-section{border:1px solid var(--steam-border);background:#fff;border-radius:15px;margin-bottom:25px;overflow:hidden;box-shadow:0 2px 8px #17203308}.steam-report-section-heading{background:#fff;border-bottom:1px solid #edf0f5;justify-content:space-between;align-items:center;gap:16px;padding:21px 22px;display:flex}.steam-report-section-heading h2{color:var(--steam-text);letter-spacing:-.2px;margin:0;font-size:16px;font-weight:780}.steam-report-section-heading p{color:var(--steam-muted);margin:6px 0 0;font-size:12px;line-height:1.6}.steam-report-count{color:#475569;background:#f8fafc;border:1px solid #e6ebf3;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;min-height:28px;padding:6px 10px;font-size:11px;font-weight:750;display:inline-flex}.steam-report-table-wrap{scrollbar-color:#cbd5e1 #f8fafc;scrollbar-width:thin;width:100%;overflow:auto}.steam-report-table{border-collapse:separate;border-spacing:0;color:#334155;text-align:left;background:#fff;width:100%;min-width:760px;font-size:12px}.steam-report-table th{z-index:1;color:#64748b;letter-spacing:.45px;text-transform:uppercase;white-space:nowrap;background:#f8fafc;border-bottom:1px solid #e5eaf2;padding:14px 16px;font-size:10px;font-weight:800;position:sticky;top:0}.steam-report-table td{color:#334155;vertical-align:middle;border-bottom:1px solid #edf0f5;padding:15px 16px;line-height:1.6}.steam-report-table tbody tr:last-child td{border-bottom:0}.steam-report-table tbody tr{transition:background .15s}.steam-report-table tbody tr:hover{background:#f8faff}.steam-report-table td strong{color:#172033;font-size:12px;font-weight:750;line-height:1.5;display:block}.steam-report-table td small{color:#94a3b8;overflow-wrap:anywhere;margin-top:5px;font-size:10px;line-height:1.5;display:block}.steam-report-message{overflow-wrap:anywhere;white-space:normal;min-width:180px;max-width:320px}.steam-report-no-data{text-align:center;font-size:12px;color:#94a3b8!important;padding:34px 20px!important}.steam-status{letter-spacing:.15px;white-space:nowrap;border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;max-width:100%;padding:5px 9px;font-size:10px;font-weight:800;line-height:1.4;display:inline-flex}.steam-status.success{color:#166534;background:#f0fdf4;border-color:#bbf7d0}.steam-status.danger{color:#991b1b;background:#fff1f2;border-color:#fecaca}.steam-status.warning{color:#92400e;background:#fffbeb;border-color:#fde68a}.steam-status.neutral{color:#475569;background:#f1f5f9;border-color:#e2e8f0}@media (width<=1100px){.steam-reports-page{padding:22px}.steam-report-filter{gap:13px}.steam-report-overview,.steam-report-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=640px){.steam-reports-page{padding:15px}.steam-reports-heading{align-items:flex-start;gap:12px;margin-bottom:20px}.steam-reports-heading h1{letter-spacing:-.6px;font-size:24px}.steam-reports-heading p{max-width:300px;font-size:12px}.steam-reports-heading-icon{border-radius:12px;width:43px;height:43px}.steam-report-filter{border-radius:13px;gap:13px;padding:15px}.steam-report-field,.steam-report-button{flex:100%;width:100%}.steam-report-overview{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.steam-report-overview>div{min-height:83px;padding:13px}.steam-report-overview strong{font-size:12px}.steam-report-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:22px}.steam-report-kpi{border-radius:12px;grid-template-columns:35px minmax(0,1fr);gap:6px 9px;min-height:100px;padding:13px}.steam-kpi-icon{border-radius:9px;width:35px;height:35px}.steam-kpi-icon svg{width:18px;height:18px}.steam-report-kpi>span{font-size:10px;line-height:1.5}.steam-report-kpi strong{letter-spacing:-.3px;font-size:18px}.steam-report-section{border-radius:12px;margin-bottom:19px}.steam-report-section-heading{align-items:flex-start;gap:10px;padding:16px}.steam-report-section-heading h2{font-size:15px}.steam-report-section-heading p{font-size:11px}.steam-report-count{padding:5px 7px;font-size:10px}.steam-report-table{min-width:760px}}.steam-report-filter{grid-template-columns:minmax(150px,.8fr) minmax(220px,1.2fr) auto auto auto;align-items:end;gap:12px;padding:20px;display:grid}.steam-report-field{flex:initial;width:100%;min-width:0}.steam-report-button{white-space:nowrap;width:auto;min-width:135px;padding-inline:14px}@media (width<=1100px) and (width>=641px){.steam-report-filter{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end}.steam-report-button{width:100%;min-width:0}}@media (width<=640px){.steam-report-filter{grid-template-columns:minmax(0,1fr);gap:13px;padding:15px}.steam-report-field,.steam-report-button{width:100%;min-width:0}}@media (width<=380px){.steam-reports-page{padding:11px}.steam-report-overview{grid-template-columns:1fr}.steam-report-kpi{padding:12px}.steam-report-section-heading{flex-direction:column}.steam-report-count{align-self:flex-start}}@media (prefers-reduced-motion:reduce){.steam-reports-page *,.steam-reports-page :before,.steam-reports-page :after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
