@charset "UTF-8";:root{--hema-brand-900: #181934;--hema-brand-800: #21224A;--hema-brand-700: #2A2C5E;--hema-brand-600: #33356F;--hema-brand-500: #3A3D86;--hema-brand-400: #474C9E;--hema-accent: #3FA0C6;--hema-accent-soft: #7BD3D0;--hema-grad-primary: linear-gradient(120deg, #3FA0C6, #474C9E);--hema-grad-sidebar: linear-gradient(185deg, #33356F 0%, #2A2C5E 55%, #21224A 100%);--hema-grad-hero: linear-gradient(150deg, #33356F 0%, #3A3D86 42%, #4577B6 88%, #3FA0C6 120%);--hema-grad-avatar: linear-gradient(135deg, #3FA0C6, #474C9E);--hema-grad-avatar-user: linear-gradient(135deg, #33356F, #474C9E);--hema-text: #14152E;--hema-text-2: #3A3F58;--hema-text-3: #7A8099;--hema-text-4: #9AA0B5;--hema-text-5: #B3B9C9;--hema-bg: #EEF1F6;--hema-surface: #FFFFFF;--hema-surface-2: #FAFBFD;--hema-surface-3: #F5F7FB;--hema-surface-4: #F2F4F8;--hema-border: #E4E7EF;--hema-border-2: #EEF1F6;--hema-border-3: #D9DEEA;--hema-border-4: #C7CEDD;--hema-success: #1F8A5B;--hema-success-tint: rgba(31, 138, 91, .12);--hema-warning: #C99A2E;--hema-warning-deep: #9C7616;--hema-warning-tint: rgba(201, 154, 46, .15);--hema-danger: #C0556A;--hema-danger-deep: #9C4452;--hema-danger-tint: rgba(192, 85, 106, .12);--hema-info: #3FA0C6;--hema-info-tint: rgba(63, 160, 198, .15);--hema-draft-tint: rgba(71, 76, 158, .1);--hema-font-ui: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;--hema-font-latin: "Plus Jakarta Sans", "IBM Plex Sans Arabic", sans-serif;--hema-font-mono: "IBM Plex Mono", ui-monospace, monospace;--hema-sp-1: 4px;--hema-sp-2: 8px;--hema-sp-3: 12px;--hema-sp-4: 16px;--hema-sp-5: 20px;--hema-sp-6: 24px;--hema-sp-7: 28px;--hema-sp-8: 32px;--hema-r-xs: 6px;--hema-r-sm: 8px;--hema-r-md: 9px;--hema-r-lg: 11px;--hema-r-xl: 13px;--hema-r-2xl: 16px;--hema-r-3xl: 18px;--hema-r-full: 999px;--hema-shadow-xs: 0 1px 3px rgba(20, 21, 46, .04);--hema-shadow-md: 0 12px 32px rgba(20, 21, 46, .16);--hema-shadow-lg: 0 16px 44px rgba(20, 21, 46, .18);--hema-shadow-xl: 0 30px 80px rgba(20, 21, 46, .32);--hema-shadow-primary: 0 8px 20px rgba(71, 76, 158, .32);--hema-shadow-active-nav: 0 6px 16px rgba(71, 76, 158, .4);--hema-shadow-toast: 0 16px 40px rgba(20, 21, 46, .3);--hema-focus-ring: 0 0 0 3px rgba(63, 160, 198, .15);--hema-sidebar-w: 254px;--hema-topbar-h: 62px;--hema-overlay: rgba(20, 21, 46, .45)}.ai-assist-btn{display:inline-flex;align-items:center;gap:4px;font-size:.78rem;color:var(--hema-brand-600);background:var(--hema-accent-soft);border:1px solid var(--hema-border);border-radius:var(--hema-r-md);padding:3px 8px;cursor:pointer}.ai-assist-btn:hover{background:var(--hema-surface-2)}.ai-assist-btn:disabled{opacity:.6;cursor:default}.ai-panel{margin-top:var(--hema-sp-3);border:1px solid var(--hema-brand-400);border-radius:var(--hema-r-md);background:var(--hema-accent-soft);padding:var(--hema-sp-3);display:flex;flex-direction:column;gap:var(--hema-sp-2)}.ai-panel-head{display:flex;align-items:center;gap:6px;font-size:.78rem;font-weight:600;color:var(--hema-brand-700)}.ai-panel-text{font-size:.85rem;color:var(--hema-text);white-space:pre-wrap}.ai-panel-actions{display:flex;gap:var(--hema-sp-2);justify-content:flex-end}.ai-candidate{display:flex;align-items:center;justify-content:space-between;gap:var(--hema-sp-3);padding:6px 8px;border:1px solid var(--hema-border);border-radius:var(--hema-r-sm);background:var(--hema-surface);font-size:.82rem}.ai-candidate-main{display:flex;flex-direction:column;gap:2px}.ai-candidate-meta{color:var(--hema-text-3);font-size:.75rem}.graph-wrap{position:relative}.graph-svg{width:100%;height:auto;max-height:520px;display:block}.graph-edge{stroke:var(--hema-border-4);stroke-width:1.5}.graph-node-dot{stroke:var(--hema-surface);stroke-width:2;cursor:pointer}.graph-node-dot.tone-ci{fill:var(--hema-brand-400)}.graph-node-dot.tone-entity{fill:var(--hema-info)}.graph-node-dot.tone-risk{fill:var(--hema-danger)}.graph-node-dot.tone-control{fill:var(--hema-success)}.graph-node-dot.tone-issue{fill:var(--hema-warning)}.graph-node-dot.tone-objective{fill:var(--hema-brand-600)}.graph-node-dot.tone-neutral{fill:var(--hema-text-4)}.graph-node-dot.center{stroke:var(--hema-brand-600);stroke-width:3}.graph-node-label{font-size:11px;fill:var(--hema-text-2);pointer-events:none}.graph-legend{display:flex;flex-wrap:wrap;gap:6px 16px;margin-block-start:14px}*,*:before,*:after{box-sizing:border-box}html,body{height:100%;margin:0;padding:0}body{font-family:var(--hema-font-ui);background:var(--hema-bg);color:var(--hema-text);font-size:13.5px;line-height:1.6;-webkit-font-smoothing:antialiased}h1,h2,h3,h4,p{margin:0}button,input,select,textarea{font-family:inherit}input:focus,textarea:focus{outline:none;border-color:var(--hema-accent)!important;box-shadow:var(--hema-focus-ring)}a:focus-visible,button:focus-visible,summary:focus-visible,[tabindex]:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--hema-accent);outline-offset:2px;border-radius:var(--hema-r-xs)}a{color:var(--hema-brand-400);text-decoration:none}[dir=rtl] .rtl-flip{transform:scaleX(-1)}.hm-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:40px;padding:0 18px;border-radius:var(--hema-r-lg);font-size:13.5px;font-weight:700;cursor:pointer;border:none;white-space:nowrap}.hm-btn:disabled{opacity:.55;cursor:default}.hm-btn-primary{background:var(--hema-grad-primary);color:#fff;box-shadow:var(--hema-shadow-primary)}.hm-btn-secondary{background:var(--hema-surface);border:1px solid var(--hema-border-3);color:var(--hema-text-2)}.hm-btn-secondary:hover:not(:disabled){background:var(--hema-surface-3)}.hm-btn-danger-outline{background:var(--hema-surface);border:1px solid rgba(192,85,106,.4);color:var(--hema-danger)}.hm-btn-danger-outline:hover:not(:disabled){background:var(--hema-danger-tint)}.hm-badge{display:inline-flex;align-items:center;padding:2px 9px;border-radius:var(--hema-r-xs);font-size:11px;font-weight:700;white-space:nowrap}.hm-badge.success{background:var(--hema-success-tint);color:var(--hema-success)}.hm-badge.warning{background:var(--hema-warning-tint);color:var(--hema-warning-deep)}.hm-badge.danger{background:var(--hema-danger-tint);color:var(--hema-danger)}.hm-badge.info{background:var(--hema-info-tint);color:var(--hema-info)}.hm-badge.draft{background:var(--hema-draft-tint);color:var(--hema-brand-400)}.hm-badge.neutral{background:var(--hema-bg);color:var(--hema-text-3)}.hm-chip{display:inline-flex;align-items:center;padding:2px 9px;border-radius:var(--hema-r-full);background:var(--hema-surface-4);border:1px solid var(--hema-border-2);color:var(--hema-text-2);font-size:11px;font-weight:600;white-space:nowrap}.hm-chips{display:inline-flex;flex-wrap:wrap;gap:5px}.hm-field{display:block;margin-block-end:16px}.hm-field .hm-label{display:block;font-size:13px;font-weight:600;color:var(--hema-text-2);margin-block-end:7px}.hm-input,.hm-select{width:100%;height:44px;border:1px solid var(--hema-border);border-radius:var(--hema-r-lg);background:var(--hema-surface-2);padding-inline:13px;font-size:13.5px;color:var(--hema-text)}.hm-input::placeholder,.hm-select::placeholder{color:var(--hema-text-4)}select.hm-select:focus{outline:none;border-color:var(--hema-accent);box-shadow:var(--hema-focus-ring)}.hm-input.ltr{direction:ltr;text-align:left}.hm-error{display:block;margin-block-start:5px;font-size:12px;font-weight:600;color:var(--hema-danger)}.hm-hint{display:block;margin-block-start:5px;font-size:12px;color:var(--hema-text-4)}.check-inline{display:inline-flex;align-items:center;gap:8px;min-block-size:24px;font-size:13px;font-weight:600;color:var(--hema-text-2);cursor:pointer}.check-inline input{width:16px;height:16px;accent-color:var(--hema-brand-400)}.hm-form-alert{margin-block-end:14px;padding:10px 13px;border-radius:var(--hema-r-md);background:var(--hema-danger-tint);color:var(--hema-danger);font-size:12.5px;font-weight:600}.hm-form-alert.success{background:var(--hema-success-tint);color:var(--hema-success)}.hm-visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.hm-row-open{all:unset;display:block;inline-size:100%;text-align:start;cursor:pointer;font:inherit;color:inherit}.hm-row-open:focus-visible{outline:2px solid var(--hema-primary, #2563eb);outline-offset:2px}@keyframes hmFade{0%{opacity:0}to{opacity:1}}@keyframes hmPop{0%{opacity:0;transform:scale(.97) translateY(-4px)}to{opacity:1;transform:scale(1) translateY(0)}}@keyframes hemaPulse{0%,to{opacity:.35;transform:scale(1)}50%{opacity:.8;transform:scale(1.08)}}
