:root{--ah-bg: #e9edf2;--ah-surface: #ffffff;--ah-surface-alt: #f6f7fb;--ah-header: #2b3340;--ah-header-light: #3a4457;--ah-text: #1f2532;--ah-text-muted: #6b7280;--ah-border: #d7dbe4;--ah-primary: #2563eb;--ah-primary-strong: #1d4ed8;--ah-accent: #ff6a00;--ah-danger: #e23b3b;--ah-warning: #e6a20a;--ah-success: #16a34a;--ah-critical: #d23a3a;--ah-medium: #f59e0b;--ah-low: #facc15;--ah-radius: 10px;--ah-radius-sm: 6px;--ah-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08)}*{box-sizing:border-box}html,body{margin:0;padding:0;background:var(--ah-bg);color:var(--ah-text);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Helvetica Neue,Arial,sans-serif;font-size:14px;line-height:1.45;height:100%}a{color:var(--ah-primary);text-decoration:none}a:hover{text-decoration:underline}.ah-shell{min-height:100vh;display:flex;flex-direction:column}.ah-topbar{background:var(--ah-surface);border-bottom:1px solid var(--ah-border);padding:0 24px;display:flex;align-items:center;gap:24px;height:52px}.ah-topbar .brand{display:inline-flex;align-items:center;height:100%;text-decoration:none}.ah-topbar .brand img{height:24px;width:auto;display:block}.ah-topbar nav{display:flex;gap:24px;height:100%}.ah-topbar nav a{display:inline-flex;align-items:center;height:100%;color:var(--ah-text-muted);border-bottom:2px solid transparent;padding:0 4px}.ah-topbar nav a.active{color:var(--ah-primary);border-bottom-color:var(--ah-primary);font-weight:600}.ah-topbar .spacer{flex:1}.ah-topbar .user-chip{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--ah-text-muted)}.ah-topbar .user-chip strong{color:var(--ah-text)}.ah-main{flex:1;padding:24px}.ah-card{background:var(--ah-surface);border:1px solid var(--ah-border);border-radius:var(--ah-radius);box-shadow:var(--ah-shadow);overflow:hidden}.ah-kpi-wrap{background:var(--ah-header);border:1px solid var(--ah-header);border-radius:var(--ah-radius);padding:16px;margin-bottom:20px}.ah-kpi-wrap header{text-align:center;color:#fff;letter-spacing:.08em;font-size:12px;font-weight:600;margin-bottom:12px}.ah-kpi-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.ah-kpi{background:var(--ah-surface);border:1px solid var(--ah-border);border-radius:var(--ah-radius);padding:14px 20px;cursor:pointer;font-weight:700;display:flex;align-items:center;justify-content:center;gap:8px;transition:transform .05s ease,box-shadow .15s ease,border-color .15s ease}.ah-kpi:hover{border-color:var(--ah-primary)}.ah-kpi.active{background:var(--ah-accent);color:#fff;border-color:var(--ah-accent);box-shadow:0 2px 6px #ff6a0040}.ah-kpi .count{font-weight:800}.ah-table-card h2{text-align:center;font-size:18px;margin:14px 0 0}.ah-table{width:100%;border-collapse:separate;border-spacing:0;margin-top:14px}.ah-table thead tr{background:var(--ah-header);color:#fff}.ah-table thead th{text-align:left;padding:10px 14px;font-weight:600;font-size:12px;letter-spacing:.02em;border-right:1px solid var(--ah-header-light)}.ah-table thead th:last-child{border-right:none}.ah-table thead .filter-row th{padding:6px 14px 10px;background:var(--ah-header-light);font-weight:400}.ah-table thead .filter-row input{width:100%;background:#fff;border:none;border-radius:4px;padding:6px 8px;font-size:12px;color:var(--ah-text)}.ah-table tbody tr{background:var(--ah-surface);border-bottom:1px solid var(--ah-border)}.ah-table tbody tr:hover{background:var(--ah-surface-alt)}.ah-table tbody tr.is-selected,.ah-table tbody tr.is-selected:hover{background:#2563eb24;box-shadow:inset 3px 0 0 0 var(--ah-primary);cursor:pointer}.ah-table tbody tr.is-selected td{color:var(--ah-text);font-weight:600}.ah-table tbody td{padding:10px 14px;vertical-align:middle;border-bottom:1px solid var(--ah-border)}.ah-table .empty{text-align:center;color:var(--ah-text-muted);padding:32px}.ah-badge{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;color:#fff;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.ah-badge--critical{background:var(--ah-critical)}.ah-badge--medium{background:var(--ah-medium);color:#1f2937}.ah-badge--low{background:var(--ah-low);color:#1f2937}.ah-status{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#fff;background:var(--ah-text-muted)}.ah-status--open{background:#e11d48}.ah-status--inprog{background:#f97316}.ah-status--resolved{background:var(--ah-success)}.ah-status--closed{background:#475569}.ah-btn{display:inline-flex;align-items:center;gap:6px;background:var(--ah-primary);color:#fff;border:none;border-radius:var(--ah-radius-sm);padding:6px 14px;font-weight:700;font-size:12px;cursor:pointer;text-transform:uppercase;letter-spacing:.04em;transition:background .15s ease,transform .05s ease}.ah-btn:hover:not(:disabled){background:var(--ah-primary-strong)}.ah-btn:disabled{opacity:.6;cursor:not-allowed}.ah-btn--ghost{background:transparent;color:var(--ah-primary);border:1px solid var(--ah-primary)}.ah-btn--ghost:hover:not(:disabled){background:#2563eb14}.ah-btn--danger{background:var(--ah-danger)}.ah-btn--success{background:var(--ah-success)}.ah-btn--block{width:100%;justify-content:center}.ah-login-wrapper{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(180deg,#f1f5f9,#e5e9f0);padding:24px}.ah-login-card{width:100%;max-width:420px;padding:32px;background:var(--ah-surface);border-radius:14px;box-shadow:0 4px 12px #0000000f,0 8px 24px #0000000d}.ah-login-card .ah-login-logo{display:block;margin:0 auto 12px;height:72px;width:auto;max-width:100%}.ah-login-card p.subtitle{color:var(--ah-text-muted);text-align:center;margin:0 0 24px}.ah-field{margin-bottom:14px}.ah-field label{display:block;margin-bottom:4px;font-weight:600;font-size:12px;color:var(--ah-text-muted);letter-spacing:.04em;text-transform:uppercase}.ah-field input{width:100%;padding:10px 12px;border:1px solid var(--ah-border);border-radius:8px;font-size:14px;background:#fff;color:var(--ah-text)}.ah-field input:focus{outline:none;border-color:var(--ah-primary);box-shadow:0 0 0 3px #2563eb26}.ah-alert{padding:10px 12px;border-radius:8px;background:#fef2f2;color:#b91c1c;border:1px solid #fecaca;font-size:13px;margin-bottom:14px}.ah-alert--info{background:#eff6ff;color:#1e40af;border-color:#bfdbfe}.ah-split{display:grid;grid-template-columns:1fr 480px;gap:16px}@media(max-width:1100px){.ah-split{grid-template-columns:1fr}}.ah-detail{background:var(--ah-surface);border:1px solid var(--ah-border);border-radius:var(--ah-radius);padding:18px}.ah-detail h3{margin:0 0 4px;font-size:18px}.ah-detail .addr{color:var(--ah-text-muted);margin-bottom:12px}.ah-detail .info-row{display:flex;justify-content:space-between;border-top:1px solid var(--ah-border);padding:8px 0;font-size:13px}.ah-detail .info-row span:first-child{color:var(--ah-text-muted)}.ah-detail-actions{display:flex;gap:8px;margin:14px 0}.ah-detail-history{margin-top:14px}.ah-detail-history header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.ah-detail-history h4{margin:0;font-size:14px;color:var(--ah-text-muted);text-transform:uppercase;letter-spacing:.06em}.ah-event{border-left:3px solid var(--ah-border);padding:6px 0 6px 12px;margin-bottom:6px;font-size:13px}.ah-event .ts{font-weight:600;color:var(--ah-text)}.ah-event .type{color:var(--ah-primary);font-weight:600;margin-left:6px}.ah-modal-backdrop{position:fixed;inset:0;background:#0f172a73;display:flex;align-items:center;justify-content:center;z-index:50;padding:24px}.ah-modal{background:var(--ah-surface);border-radius:var(--ah-radius);width:100%;max-width:460px;padding:22px;box-shadow:0 10px 30px #0f172a33}.ah-modal h3{margin:0 0 8px}.ah-modal .actions{margin-top:16px;display:flex;gap:8px;justify-content:flex-end}textarea.ah-textarea{width:100%;padding:10px;border:1px solid var(--ah-border);border-radius:8px;font-family:inherit;font-size:13px;resize:vertical;min-height:96px}.ah-muted{color:var(--ah-text-muted)}.ah-right{text-align:right}@layer properties;@layer theme,base,components,utilities;@layer theme{:root,:host{--font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family: var(--font-sans);--default-mono-font-family: var(--font-mono)}}@layer base{*,:after,:before,::backdrop,::file-selector-button{box-sizing:border-box;margin:0;padding:0;border:0 solid}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;tab-size:4;font-family:var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings, normal);font-variation-settings:var(--default-font-variation-settings, normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings, normal);font-variation-settings:var(--default-mono-font-variation-settings, normal);font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea,::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;border-radius:0;background-color:transparent;opacity:1}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px){::placeholder{color:currentcolor}@supports (color: color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]),::file-selector-button{appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer utilities{.inline{display:inline}.lowercase{text-transform:lowercase}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}@property --tw-blur{syntax: "*"; inherits: false;}@property --tw-brightness{syntax: "*"; inherits: false;}@property --tw-contrast{syntax: "*"; inherits: false;}@property --tw-grayscale{syntax: "*"; inherits: false;}@property --tw-hue-rotate{syntax: "*"; inherits: false;}@property --tw-invert{syntax: "*"; inherits: false;}@property --tw-opacity{syntax: "*"; inherits: false;}@property --tw-saturate{syntax: "*"; inherits: false;}@property --tw-sepia{syntax: "*"; inherits: false;}@property --tw-drop-shadow{syntax: "*"; inherits: false;}@property --tw-drop-shadow-color{syntax: "*"; inherits: false;}@property --tw-drop-shadow-alpha{syntax: "<percentage>"; inherits: false; initial-value: 100%;}@property --tw-drop-shadow-size{syntax: "*"; inherits: false;}@layer properties{@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-blur: initial;--tw-brightness: initial;--tw-contrast: initial;--tw-grayscale: initial;--tw-hue-rotate: initial;--tw-invert: initial;--tw-opacity: initial;--tw-saturate: initial;--tw-sepia: initial;--tw-drop-shadow: initial;--tw-drop-shadow-color: initial;--tw-drop-shadow-alpha: 100%;--tw-drop-shadow-size: initial}}}
