:root{--bg: #f8fafc;--surface: #ffffff;--border: #e2e8f0;--border-strong: #cbd5e1;--text: #0f172a;--text-muted: #64748b;--text-subtle: #94a3b8;--accent: #2563eb;--accent-hover: #1d4ed8;--accent-soft: #eff6ff;--success: #059669;--success-soft: #ecfdf5;--warning: #d97706;--warning-soft: #fffbeb;--error: #dc2626;--error-soft: #fef2f2;--shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);--shadow-md: 0 4px 6px -1px rgba(15, 23, 42, .07), 0 2px 4px -2px rgba(15, 23, 42, .05);--shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, .08), 0 4px 6px -4px rgba(15, 23, 42, .05);--radius-sm: 6px;--radius: 10px;--radius-lg: 14px;--sidebar-width: 240px;--header-height: 56px}*{box-sizing:border-box;margin:0;padding:0}body{font-family:system-ui,-apple-system,Segoe UI,sans-serif;background:var(--bg);color:var(--text);min-height:100vh;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:1.5}code{background:var(--bg);border:1px solid var(--border);padding:.15em .45em;border-radius:var(--radius-sm);font-size:.875em;color:var(--accent)}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.loading{min-height:100vh;display:flex;align-items:center;justify-content:center;color:var(--text-muted);font-size:.95rem}.login-view{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:1.5rem;background:radial-gradient(ellipse at 20% 0%,rgba(37,99,235,.08) 0%,transparent 50%),radial-gradient(ellipse at 80% 100%,rgba(5,150,105,.06) 0%,transparent 50%),var(--bg)}.login-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:2rem;width:100%;max-width:380px;box-shadow:var(--shadow-lg)}.login-card h1{font-size:1.75rem;font-weight:700;letter-spacing:-.02em;margin-bottom:.25rem;color:var(--text)}.subtitle{color:var(--text-muted);font-size:.9rem;margin-bottom:1.75rem}.login-card label{display:block;margin-bottom:1rem;font-size:.85rem;font-weight:500;color:var(--text)}.login-card input{display:block;width:100%;margin-top:.4rem;padding:.65rem .85rem;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);font-size:1rem;transition:border-color .15s,box-shadow .15s}.login-card input:hover{border-color:var(--border-strong)}.login-card input:focus{border-color:var(--accent);box-shadow:0 0 0 3px #2563eb1f;outline:none}.login-card button[type=submit]{width:100%;padding:.7rem;margin-top:.5rem;background:var(--accent);color:#fff;border:none;border-radius:var(--radius-sm);font-size:1rem;font-weight:500;cursor:pointer;transition:background .15s}.login-card button[type=submit]:hover:not(:disabled){background:var(--accent-hover)}.login-card button:disabled{opacity:.65;cursor:not-allowed}.error{color:var(--error);font-size:.85rem;margin:.5rem 0}.app{min-height:100vh;display:flex;flex-direction:column}.header{position:sticky;top:0;z-index:100;display:flex;justify-content:space-between;align-items:center;height:var(--header-height);padding:0 1.5rem;background:var(--surface);border-bottom:1px solid var(--border);box-shadow:var(--shadow-sm)}.header h1{font-size:1.2rem;font-weight:700;letter-spacing:-.02em;color:var(--text)}.header-right{display:flex;align-items:center;gap:.75rem}.user-badge{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:var(--text-muted)}.user-badge:before{content:attr(data-initial);display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:var(--accent-soft);color:var(--accent);font-size:.75rem;font-weight:600;flex-shrink:0}.header-right button{padding:.4rem .85rem;background:transparent;border:1px solid var(--border);color:var(--text-muted);border-radius:var(--radius-sm);cursor:pointer;font-size:.85rem;font-weight:500;transition:border-color .15s,color .15s,background .15s}.header-right button:hover{border-color:var(--border-strong);color:var(--text);background:var(--bg)}.layout{display:flex;flex:1;min-height:0}.sidebar{width:var(--sidebar-width);flex-shrink:0;background:var(--surface);border-right:1px solid var(--border);padding:1.25rem 0;overflow-y:auto}.sidebar h2{font-size:.65rem;text-transform:uppercase;letter-spacing:.1em;font-weight:600;color:var(--text-subtle);padding:0 1.25rem;margin-bottom:.75rem}.sidebar ul{list-style:none}.sidebar button{display:block;width:100%;text-align:left;padding:.55rem 1.25rem;background:none;border:none;border-left:3px solid transparent;color:var(--text-muted);font-size:.9rem;font-weight:450;cursor:pointer;transition:background .15s,color .15s,border-color .15s}.sidebar button:hover{background:var(--bg);color:var(--text)}.sidebar button.active{background:var(--accent-soft);border-left-color:var(--accent);color:var(--accent);font-weight:500}.main{flex:1;overflow:auto;padding:1.75rem 2rem;background:var(--bg)}.content{max-width:960px}@media(max-width:768px){.layout{flex-direction:column}.sidebar{width:100%;border-right:none;border-bottom:1px solid var(--border);padding:.75rem 0}.sidebar h2{display:none}.sidebar ul{display:flex;gap:.5rem;padding:0 1rem;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}.sidebar ul::-webkit-scrollbar{display:none}.sidebar li{flex-shrink:0}.sidebar button{width:auto;padding:.45rem 1rem;border:1px solid var(--border);border-left:1px solid var(--border);border-radius:999px;white-space:nowrap}.sidebar button.active{border-color:var(--accent);border-left-color:var(--accent)}.main{padding:1.25rem 1rem}}@media(max-width:640px){.header{padding:0 1rem}.header h1{font-size:1.05rem}.user-badge span{display:none}}.page-header{margin-bottom:1.75rem}.page-header h2{font-size:1.5rem;font-weight:700;letter-spacing:-.02em;color:var(--text, #0f172a);margin-bottom:.25rem}.page-desc{color:var(--text-muted, #64748b);font-size:.95rem}.page>h2{font-size:1.5rem;font-weight:700;letter-spacing:-.02em;margin-bottom:1rem;color:var(--text, #0f172a)}.page p{color:var(--text-muted, #64748b);line-height:1.65;margin-bottom:.75rem}.page code{background:var(--bg, #f8fafc);border:1px solid var(--border, #e2e8f0);padding:.15em .45em;border-radius:6px;font-size:.875em;color:var(--accent, #2563eb)}.info-card{background:var(--surface, #ffffff);border:1px solid var(--border, #e2e8f0);border-radius:10px;padding:1.25rem 1.5rem;box-shadow:0 1px 2px #0f172a0d}.info-card p:last-child{margin-bottom:0}.metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem;margin-bottom:1.75rem}.metric{background:var(--surface, #ffffff);border:1px solid var(--border, #e2e8f0);border-radius:10px;padding:1.25rem 1.5rem;box-shadow:0 1px 2px #0f172a0d;position:relative;overflow:hidden}.metric:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:var(--accent, #2563eb)}.metric--visitors:before{background:var(--accent, #2563eb)}.metric--pages:before{background:var(--warning, #d97706)}.metric--uptime:before{background:var(--success, #059669)}.metric-value{display:block;font-size:1.875rem;font-weight:700;letter-spacing:-.02em;color:var(--text, #0f172a);line-height:1.2;margin-bottom:.25rem}.metric--visitors .metric-value{color:var(--accent, #2563eb)}.metric--pages .metric-value{color:var(--warning, #d97706)}.metric--uptime .metric-value{color:var(--success, #059669)}.metric-label{font-size:.8rem;font-weight:500;color:var(--text-muted, #64748b);text-transform:uppercase;letter-spacing:.04em}.table-card{background:var(--surface, #ffffff);border:1px solid var(--border, #e2e8f0);border-radius:10px;box-shadow:0 1px 2px #0f172a0d;overflow:hidden}.section-title{font-size:.95rem;font-weight:600;color:var(--text, #0f172a);padding:1rem 1.25rem;border-bottom:1px solid var(--border, #e2e8f0)}.data-table{width:100%;border-collapse:collapse;font-size:.875rem}.data-table th,.data-table td{text-align:left;padding:.75rem 1.25rem;border-bottom:1px solid var(--border, #e2e8f0)}.data-table th{font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted, #64748b);background:var(--bg, #f8fafc)}.data-table tbody tr{transition:background .12s}.data-table tbody tr:hover{background:var(--bg, #f8fafc)}.data-table tbody tr:last-child td{border-bottom:none}.data-table td{color:var(--text, #0f172a)}.notes-list{list-style:none;display:flex;flex-direction:column;gap:.75rem}.notes-list .note-card{background:var(--surface, #ffffff);border:1px solid var(--border, #e2e8f0);border-radius:10px;padding:1rem 1.25rem;box-shadow:0 1px 2px #0f172a0d;transition:box-shadow .15s,border-color .15s}.notes-list .note-card:hover{border-color:var(--border-strong, #cbd5e1);box-shadow:0 4px 6px -1px #0f172a12,0 2px 4px -2px #0f172a0d}.notes-list time{display:inline-block;font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--accent, #2563eb);background:var(--accent-soft, #eff6ff);padding:.2rem .55rem;border-radius:999px;margin-bottom:.5rem}.notes-list p{color:var(--text, #0f172a);line-height:1.6;margin-bottom:0}@media(max-width:640px){.metrics{grid-template-columns:1fr}.table-card{overflow-x:auto}.data-table{min-width:480px}}
