@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--primary: #7c3aed;--primary-light: #ede9fe;--bg: #f8fafc;--bg-card: #fff;--text: #0f172a;--text-muted: #64748b;--border: #e2e8f0;--success: #10b981;--danger: #ef4444;--radius: 12px;--shadow: 0 1px 3px rgba(0,0,0,.08)}*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,sans-serif;background:var(--bg);color:var(--text)}a{color:var(--primary);text-decoration:none}button,input,select,textarea{font:inherit}.btn{border:none;border-radius:8px;padding:.55rem 1rem;cursor:pointer;font-weight:500}.btn.btn-primary{background:var(--primary);color:#fff}.btn.btn-ghost{background:transparent;color:var(--text);border:1px solid var(--border)}.btn.btn-success{background:var(--success);color:#fff}.btn.btn-danger{background:var(--danger);color:#fff}.btn.btn-sm{padding:.35rem .65rem;font-size:.85rem}.btn.btn-block{width:100%}.btn:disabled{opacity:.6;cursor:not-allowed}.btn-icon{background:none;border:none;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:.25rem;color:inherit}.btn-with-icon{display:inline-flex;align-items:center;gap:.4rem}.form-group{margin-bottom:.85rem;display:flex;flex-direction:column;gap:.35rem}.form-group label{font-size:.85rem;font-weight:500}.form-group input,.form-group select,.form-group textarea{padding:.55rem .75rem;border:1px solid var(--border);border-radius:8px;background:#fff}.form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.75rem}.form-actions{display:flex;gap:.5rem;margin-top:1rem}.checkbox{display:flex;align-items:center;gap:.5rem;margin:.35rem 0;font-size:.9rem}.checkbox.disabled{opacity:.55}.alert{padding:.75rem 1rem;border-radius:8px;margin-bottom:1rem}.alert-error{background:#fee2e2;color:#b91c1c}.alert-success{background:#d1fae5;color:#047857}.auth-page{min-height:100vh;display:grid;place-items:center;padding:1rem;background:linear-gradient(135deg,#ede9fe,#f8fafc)}.auth-card{width:100%;max-width:420px;background:var(--bg-card);padding:2rem;border-radius:var(--radius);box-shadow:var(--shadow)}.auth-card h1{margin:.5rem 0;font-size:1.5rem}.auth-card .auth-brand-title{text-align:center;margin:.5rem 0 0}.auth-card .subtitle,.auth-card .auth-footer,.auth-card .demo-hint{color:var(--text-muted);font-size:.9rem}.auth-card .subtitle{text-align:center;display:block}.brand-logo{width:40px;height:40px;border-radius:10px;object-fit:cover;display:block;flex-shrink:0}.brand-logo.lg{width:72px;height:72px;margin:0 auto 1rem}.app-layout{display:flex;min-height:100vh}.sidebar{width:260px;background:#1e1b4b;color:#e2e8f0;display:flex;flex-direction:column}.sidebar .sidebar-header{display:flex;gap:.75rem;padding:1.25rem;align-items:center}.sidebar .sidebar-business{display:block;font-size:.8rem;opacity:.75}.sidebar .sidebar-nav{flex:1;padding:.5rem;display:flex;flex-direction:column;gap:2px}.sidebar .sidebar-nav a{display:flex;align-items:center;gap:.65rem;color:#cbd5e1;padding:.65rem .85rem;border-radius:8px}.sidebar .sidebar-nav a.active,.sidebar .sidebar-nav a:hover{background:#ffffff14;color:#fff}.sidebar .sidebar-footer{padding:1rem;border-top:1px solid rgba(255,255,255,.08)}.sidebar .user-info{display:flex;align-items:flex-start;gap:.75rem;margin-bottom:.75rem;text-decoration:none;color:inherit;border-radius:8px;padding:.35rem;margin-left:-.35rem;margin-right:-.35rem;transition:background .15s ease}.sidebar .user-info:hover,.sidebar .user-info.active{background:#ffffff14}.sidebar .user-avatar{width:40px;height:40px;min-width:40px;min-height:40px;flex-shrink:0;border-radius:50%;background:var(--primary);display:flex;align-items:center;justify-content:center;font-weight:600;font-size:.85rem;color:#fff}.sidebar .user-details{min-width:0;flex:1}.sidebar .user-name{display:block;font-size:.85rem;color:#fff;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar .user-email{display:block;font-size:.75rem;color:#94a3b8;margin-top:.15rem;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar .role-badge{display:inline-block;margin-top:.35rem;padding:.15rem .5rem;border-radius:999px;font-size:.65rem;font-weight:600;text-transform:uppercase;letter-spacing:.03em}.sidebar .role-badge.admin{background:#7c3aed59;color:#ddd6fe}.sidebar .role-badge.employee{background:#10b98140;color:#6ee7b7}.sidebar .user-profile-link{display:block;margin-top:.35rem;font-size:.72rem;color:#a5b4fc}.sidebar .btn-logout{width:100%;color:#cbd5e1;border-color:#ffffff26;background:#ffffff0a}.sidebar .btn-logout:hover{background:#ffffff1a;color:#fff;border-color:#ffffff40}.main-content{flex:1;display:flex;flex-direction:column;min-width:0}.topbar{display:flex;align-items:center;gap:1rem;padding:1rem 1.25rem;background:var(--bg-card);border-bottom:1px solid var(--border)}.topbar h1{margin:0;font-size:1.1rem}.page-content{padding:1.25rem;flex:1;min-height:0;display:flex;flex-direction:column}.page-content:has(.landing-editor){padding:0;overflow:hidden}.page-toolbar{display:flex;flex-wrap:wrap;gap:.75rem;margin-bottom:1rem;align-items:center}.page-toolbar input,.page-toolbar select{padding:.55rem .75rem;border:1px solid var(--border);border-radius:8px}.page-title{display:flex;align-items:center;gap:.5rem;margin:0;font-size:1.25rem}.profile-intro{margin-top:0;color:var(--text-muted)}.profile-meta{display:flex;flex-wrap:wrap;gap:1.5rem;margin-bottom:1.25rem;padding:.85rem 1rem;background:var(--bg);border-radius:8px;border:1px solid var(--border)}.profile-meta .meta-label{display:block;font-size:.75rem;color:var(--text-muted);margin-bottom:.2rem}.profile-panel h3{margin:1.25rem 0 .75rem;font-size:1rem}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem;margin-bottom:1.25rem}.stat-card,.panel,.card{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);padding:1rem 1.25rem;box-shadow:var(--shadow)}.stat-card span{color:var(--text-muted);font-size:.85rem}.stat-card strong{display:block;font-size:1.4rem;margin-top:.25rem}.grid-2{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:1rem}.cards-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1rem}.panel h2,.panel h3{margin-top:0}.list-item{display:flex;justify-content:space-between;gap:1rem;padding:.75rem 0;border-bottom:1px solid var(--border)}.list-item small{display:block;color:var(--text-muted);font-size:.8rem}.table-wrap{overflow:auto;background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius)}table{width:100%;border-collapse:collapse;font-size:.9rem}th,td{padding:.75rem 1rem;border-bottom:1px solid var(--border);text-align:left}th{background:#fafbfc;font-size:.8rem;color:var(--text-muted)}.actions{white-space:nowrap}.badge{display:inline-block;font-size:.75rem;padding:.2rem .5rem;border-radius:999px;background:#f1f5f9;color:#475569}.badge.badge-info{background:#dbeafe;color:#1d4ed8}.badge.badge-success{background:#d1fae5;color:#047857}.badge.badge-muted{background:#f1f5f9;color:#94a3b8}.positive{color:#047857}.negative{color:#b91c1c}.empty{color:var(--text-muted)}.card .avatar{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;font-weight:700;margin-bottom:.5rem}.card-actions{display:flex;gap:.35rem;margin-top:.75rem}.form-panel{margin-bottom:1rem}.perm-group{border:1px solid var(--border);border-radius:8px;padding:.75rem;margin-bottom:.5rem}.section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.hint{color:var(--text-muted);font-size:.85rem;margin:0 0 .75rem}.product-line{display:grid;grid-template-columns:1fr 70px 1fr auto;gap:.4rem;margin-bottom:.45rem;align-items:center}.product-line select,.product-line input{padding:.4rem .5rem;border:1px solid var(--border);border-radius:8px;font-size:.85rem}.total-preview{font-size:.95rem;margin:.5rem 0 1rem;color:var(--text-muted)}.alert-danger{background:#fee2e2;color:#b91c1c}.security-panel{margin-bottom:1.25rem}.security-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;margin-top:1rem}.security-card{border:1px solid var(--border);border-radius:10px;padding:1rem;background:#fafafa}.security-card h4{margin:0 0 .35rem}.security-card input{width:100%;margin:.5rem 0;padding:.45rem .6rem;border:1px solid var(--border);border-radius:8px}.lock-pages-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:.35rem .75rem;margin:.75rem 0 1rem}.sub-title{font-size:.9rem;margin:1rem 0 .5rem;color:var(--text-muted)}@media(max-width:900px){.sidebar{position:fixed;inset:0 auto 0 0;z-index:100;transform:translate(-100%);transition:transform .2s}.sidebar.open{transform:translate(0)}}
