:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#302a26;background:#f4eee5;font-synthesis:none;text-rendering:optimizeLegibility;--bg: #f4eee5;--surface: #fffdf9;--surface-2: #faf6ef;--border: #e4dbcf;--border-strong: #d7ccbd;--text: #302a26;--muted: #756b62;--muted-2: #988d82;--accent: #9a6653;--accent-dark: #744a3c;--accent-soft: #ead8cc;--shadow: 0 10px 30px rgba(66, 48, 38, .06);--radius: 16px}*{box-sizing:border-box}body{margin:0;min-width:320px;background:var(--bg);color:var(--text)}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.65}.app-shell{min-height:100vh;display:flex}.desktop-sidebar{width:254px;flex:0 0 254px}.sidebar{width:254px;height:100vh;position:fixed;left:0;top:0;display:flex;flex-direction:column;padding:25px 15px 16px;background:#eee5d9;border-right:1px solid var(--border);z-index:20}.brand,.login-brand{display:flex;align-items:center;gap:11px}.brand-mark,.login-logo{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;color:#fff;background:var(--accent);box-shadow:0 5px 15px #744a3c26}.brand strong,.login-brand strong{display:block;font-size:17px;letter-spacing:.08em}.brand span,.login-brand span{display:block;margin-top:2px;color:var(--muted);font-size:10px;line-height:1.2;max-width:145px}.side-nav{margin-top:35px}.nav-label{margin:0 11px 9px;color:var(--muted-2);font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.12em}.nav-link{width:100%;display:flex;align-items:center;gap:11px;padding:11px 12px;margin:3px 0;color:#655a52;background:transparent;border:0;border-radius:11px;text-decoration:none;text-align:left;transition:.18s ease}.nav-link:hover{background:#ffffff80;color:var(--text)}.nav-link.active{color:var(--accent-dark);background:#fffaf4;box-shadow:0 3px 12px #4230260a;font-weight:650}.sidebar-bottom{margin-top:auto}.logout-link{color:#795f55}.sidebar-footer{color:#9a8d82;font-size:10px;padding:12px}.main-shell{min-width:0;flex:1}.topbar{height:76px;padding:0 34px;display:flex;align-items:center;justify-content:space-between;background:#f4eee5eb;border-bottom:1px solid rgba(228,219,207,.75);position:sticky;top:0;z-index:10;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.topbar-title h1{font-size:20px;margin:0;letter-spacing:-.02em}.topbar-right{display:flex;align-items:center;gap:14px}.global-search{width:250px;display:flex;align-items:center;gap:8px;padding:9px 12px;background:var(--surface);border:1px solid var(--border);border-radius:10px;color:var(--muted-2)}.global-search input{width:100%;border:0;outline:0;background:transparent;color:var(--text)}.profile-chip{display:flex;align-items:center;gap:8px;color:var(--muted)}.profile-chip strong{display:block;font-size:12px;color:var(--text);max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-chip small{font-size:10px;color:var(--muted-2)}.icon-button{position:relative;width:36px;height:36px;display:inline-grid;place-items:center;color:var(--muted);background:var(--surface);border:1px solid var(--border);border-radius:9px;transition:.18s ease}.icon-button:hover{color:var(--text);border-color:var(--border-strong);transform:translateY(-1px)}.icon-button.danger:hover{color:#8b4e46;background:#fff5f3}.notification-dot{position:absolute;top:7px;right:7px;width:5px;height:5px;border-radius:50%;background:var(--accent)}.page-content{padding:30px 34px 45px;max-width:1500px;margin:auto}.eyebrow{color:var(--accent);font-size:10px;font-weight:750;text-transform:uppercase;letter-spacing:.13em}.welcome-panel{display:flex;justify-content:space-between;align-items:center;padding:26px 28px;background:#eae0d3;border:1px solid #ded1c2;border-radius:var(--radius);margin-bottom:22px}.welcome-panel h2{margin:6px 0 7px;font-size:25px;letter-spacing:-.03em}.welcome-panel p,.page-intro p{margin:0;color:var(--muted);line-height:1.6;font-size:13px}.welcome-mark{width:70px;height:70px;display:grid;place-items:center;border-radius:50%;background:#fffdf98c;color:var(--accent-dark)}.stat-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}.stat-card{min-width:0;display:flex;gap:12px;padding:17px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}.stat-icon{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border-radius:10px;background:var(--surface-2);color:var(--accent)}.stat-accent .stat-icon{background:var(--accent-soft)}.stat-soft .stat-icon{background:#efe8dc}.stat-copy{min-width:0}.stat-title{display:block;color:var(--muted);font-size:10px;white-space:nowrap}.stat-copy strong{display:block;margin-top:4px;font-size:23px;letter-spacing:-.03em}.stat-copy small{color:var(--muted-2);font-size:9px}.dashboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}.panel{padding:23px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}.panel-heading{display:flex;justify-content:space-between;align-items:flex-start;color:var(--accent)}.panel-heading h3{margin:4px 0 0;color:var(--text);font-size:17px}.status-chart{margin-top:25px}.status-row{margin-bottom:17px}.status-label{display:flex;justify-content:space-between;font-size:12px;margin-bottom:7px}.status-label span{color:var(--muted)}.status-track{height:8px;background:#eee7dc;border-radius:99px;overflow:hidden}.status-fill{height:100%;border-radius:inherit;background:var(--accent)}.status-fill.completed{background:#78836c}.status-fill.progress{background:#a8845f}.status-fill.pending{background:#b8a99b}.status-fill.open{background:#a85d50}.status-fill.resolved{background:#6f816f}.chart-summary{display:flex;gap:35px;padding-top:7px;border-top:1px solid var(--border)}.chart-summary strong{display:block;font-size:20px}.chart-summary span{color:var(--muted-2);font-size:10px}.page-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.page-intro h2{margin:5px 0;font-size:25px;letter-spacing:-.03em}.primary-button,.secondary-button,.danger-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:9px 15px;border-radius:9px;border:1px solid transparent;font-weight:650;font-size:12px;transition:.18s ease}.primary-button{color:#fff;background:var(--accent);border-color:var(--accent);box-shadow:0 4px 10px #744a3c1f}.primary-button:hover{background:var(--accent-dark);border-color:var(--accent-dark);transform:translateY(-1px)}.secondary-button{color:var(--text);background:var(--surface);border-color:var(--border)}.secondary-button:hover{border-color:var(--border-strong)}.danger-button{color:#fff;background:#8d554d}.danger-button:hover{background:#713e37}.table-shell{overflow-x:auto;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}.data-table{width:100%;border-collapse:collapse;min-width:760px}.data-table th{padding:13px 15px;text-align:left;color:var(--muted-2);background:var(--surface-2);border-bottom:1px solid var(--border);font-size:10px;text-transform:uppercase;letter-spacing:.08em;white-space:nowrap}.data-table td{padding:14px 15px;border-bottom:1px solid #eee7de;color:#514941;font-size:12px;max-width:270px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.data-table tr:last-child td{border-bottom:0}.data-table tbody tr{transition:background .15s ease}.data-table tbody tr:hover{background:#fcf8f2}.actions-header{width:90px}.row-actions{display:flex;gap:6px}.empty-cell{padding:50px!important;text-align:center!important;color:var(--muted-2)!important}.status-badge,.severity-badge{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;background:#eee8de;color:#675d55;font-size:10px;font-weight:700}.status-badge.active,.status-badge.completed,.status-badge.resolved,.status-badge.closed{background:#e3e8df;color:#56614f}.status-badge.in-progress{background:#eee4d3;color:#806a4f}.status-badge.inactive,.status-badge.not-started,.status-badge.open{background:#f0e0db;color:#805247}.severity-badge.low{background:#e6e9df;color:#5c6955}.severity-badge.medium{background:#eee5d5;color:#7d674a}.severity-badge.high{background:#f0ddd7;color:#824d43}.severity-badge.critical{background:#e4cfc9;color:#6c3830}.alert{padding:11px 14px;margin-bottom:16px;border-radius:9px;font-size:12px}.error-alert{color:#79483f;background:#f5e3de;border:1px solid #e8cec7}.loading-state{min-height:240px;display:flex;align-items:center;justify-content:center;gap:9px;color:var(--muted);font-size:12px}.spinner{width:17px;height:17px;border:2px solid #d8cec2;border-top-color:var(--accent);border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;display:grid;place-items:center;padding:20px;background:#2c231d59;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.modal-card{width:min(100%,520px);max-height:90vh;overflow:auto;background:var(--surface);border:1px solid var(--border);border-radius:16px;box-shadow:0 24px 70px #2b211b2e}.modal-large{width:min(100%,720px)}.modal-small{width:min(100%,430px)}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:17px 20px;border-bottom:1px solid var(--border)}.modal-header h2{margin:0;font-size:16px}.modal-body{padding:20px}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}.form-stack{display:flex;flex-direction:column;gap:15px}.form-grid{display:grid;gap:14px}.form-grid.two{grid-template-columns:1fr 1fr}.field{display:flex;flex-direction:column;gap:6px;color:var(--muted);font-size:11px;font-weight:600}.field b{color:var(--accent)}.field input,.field textarea,.field select{width:100%;color:var(--text);background:#fffdfa;border:1px solid var(--border);border-radius:9px;outline:0;padding:10px 11px;font-size:12px;transition:.16s ease}.field textarea{resize:vertical}.field input:focus,.field textarea:focus,.field select:focus{border-color:#bb9687;box-shadow:0 0 0 3px #9a665314}.password-input{position:relative}.password-input input{padding-right:42px}.password-toggle{position:absolute;right:4px;top:4px;bottom:4px;width:34px;border:0;background:transparent;color:var(--muted)}.confirm-content p{color:var(--muted);font-size:13px;line-height:1.6;margin:0}.login-page{min-height:100vh;display:grid;place-items:center;padding:30px;overflow:hidden;position:relative;background:#f3ece2}.login-card{width:min(100%,430px);position:relative;z-index:2;padding:34px;background:#fffdf9e6;border:1px solid #e3d8ca;border-radius:20px;box-shadow:0 25px 80px #4531271a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.login-heading{margin:42px 0 25px}.login-heading h1{margin:7px 0 6px;font-size:30px;letter-spacing:-.04em}.login-heading p{margin:0;color:var(--muted);font-size:12px;line-height:1.6}.login-button{width:100%;min-height:43px;margin-top:3px}.login-footer{display:flex;justify-content:center;gap:7px;margin-top:25px;color:var(--muted-2);font-size:9px}.login-decoration{position:absolute;border-radius:50%;filter:blur(1px);opacity:.65}.decoration-one{width:430px;height:430px;right:-150px;top:-160px;background:radial-gradient(circle,#e6d3c2,#e6d3c200 68%)}.decoration-two{width:480px;height:480px;left:-190px;bottom:-220px;background:radial-gradient(circle,#e3d7c8,#e3d7c800 70%)}.mobile-menu-button,.mobile-sidebar,.mobile-overlay{display:none}@media(max-width:1200px){.stat-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:900px){.desktop-sidebar{display:none}.mobile-menu-button{display:block;margin-right:8px}.topbar{padding:0 18px}.topbar-title{display:flex;align-items:center;gap:5px}.global-search{width:190px}.page-content{padding:24px 18px 40px}.mobile-sidebar{display:block;position:fixed;inset:0 auto 0 0;width:254px;z-index:100;transform:translate(-100%);transition:transform .2s ease}.mobile-sidebar.open{transform:translate(0)}.mobile-sidebar .sidebar{position:static}.mobile-overlay{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:90;background:#1e181459;border:0}}@media(max-width:700px){.stat-grid{grid-template-columns:1fr 1fr}.dashboard-grid{grid-template-columns:1fr}.topbar{height:68px}.topbar-right{gap:7px}.profile-chip{display:none}.global-search{width:150px}.welcome-panel{padding:20px}.welcome-mark{display:none}.page-intro{align-items:flex-start;flex-direction:column}.form-grid.two{grid-template-columns:1fr}}@media(max-width:480px){.stat-grid{grid-template-columns:1fr}.login-page{padding:15px}.login-card{padding:25px 20px}.global-search{display:none}}
