.app-shell{display:grid;grid-template-columns:260px 1fr;height:100%;min-height:100vh}.sidebar{background:var(--lh-sidebar);color:#fff;display:flex;flex-direction:column;padding:1rem .85rem;gap:.75rem}.brand{display:flex;align-items:center;gap:.65rem;font-weight:700;letter-spacing:.04em;font-size:.95rem;padding:.35rem .4rem .85rem}.brand-logo{display:block;height:28px;width:auto;max-width:100%;object-fit:contain;object-position:left center}.brand.dark{color:var(--lh-sidebar);justify-content:center;letter-spacing:.06em}.brand-mark{width:34px;height:34px;border-radius:8px;background:#ffffff14;display:grid;place-items:center}.new-chat{border:1px solid rgba(255,255,255,.18);background:transparent;color:#fff;border-radius:8px;padding:.55rem .75rem;text-align:left}.new-chat:hover{background:var(--lh-sidebar-hover)}.nav-section-label{color:var(--lh-sidebar-muted);font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;padding:.4rem .55rem}.session-list{display:flex;flex-direction:column;gap:.25rem;overflow:auto;flex:1}.session-item{display:grid;grid-template-columns:1fr auto;align-items:center;border-radius:8px}.session-item.active{background:var(--lh-active);color:var(--lh-active-text)}.session-main{display:flex;align-items:center;gap:.5rem;border:0;background:transparent;color:inherit;text-align:left;padding:.55rem .6rem;min-width:0}.session-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.9rem}.session-delete{border:0;background:transparent;color:inherit;opacity:.55;padding:.35rem .55rem}.session-item:not(.active) .session-main,.session-item:not(.active) .session-delete{color:#e2e8f0}.sidebar-footer{border-top:1px solid rgba(255,255,255,.1);padding-top:.85rem;display:flex;flex-direction:column;gap:.55rem}.user-chip{display:flex;gap:.65rem;align-items:center}.avatar{width:36px;height:36px;border-radius:999px;background:#334155;display:grid;place-items:center;font-size:.78rem;font-weight:700}.avatar.sm{width:28px;height:28px;font-size:.7rem;background:#3b4a63}.user-name{font-size:.86rem;font-weight:600}.user-role{font-size:.72rem;color:var(--lh-sidebar-muted)}.logout{border:0;background:#ffffff14;color:#fff;border-radius:8px;padding:.45rem .65rem}.main{display:flex;flex-direction:column;min-width:0}.topbar{background:var(--lh-header);color:#fff;display:flex;justify-content:space-between;align-items:center;padding:.7rem 1.25rem}.topbar-title{font-weight:700;letter-spacing:.08em;font-size:.92rem}.topbar-actions{display:flex;align-items:center;gap:.75rem}.status-pill{background:#ffffff1f;border-radius:999px;padding:.25rem .7rem;font-size:.75rem}.topbar-user{display:flex;align-items:center;gap:.45rem;font-size:.88rem}.content{padding:1rem 1.25rem 1.25rem;flex:1;min-height:0;display:flex}.chat-panel{display:grid;grid-template-rows:auto 1fr auto;gap:.85rem;width:min(960px,100%);margin:0 auto;min-height:0;flex:1}.card{background:var(--lh-card);border-radius:var(--lh-radius);box-shadow:var(--lh-shadow);border:1px solid rgba(215,222,232,.8)}.chat-toolbar{padding:1rem 1.1rem}.chat-toolbar h1{margin:0;font-size:1.2rem}.chat-toolbar p{margin:.25rem 0 0;color:var(--lh-text-muted);font-size:.9rem}.messages{padding:1rem;overflow:auto;display:flex;flex-direction:column;gap:.75rem;min-height:320px}.bubble-row{display:flex}.bubble-row.user{justify-content:flex-end}.bubble{max-width:min(720px,92%);padding:.75rem .9rem;border-radius:12px;line-height:1.45;white-space:pre-wrap;word-break:break-word}.bubble.user{background:var(--lh-user-bubble);color:#fff;border-bottom-right-radius:4px}.bubble.assistant{background:#f8fafc;border:1px solid var(--lh-border);border-bottom-left-radius:4px}.bubble.typing{color:var(--lh-text-muted);font-style:italic}.agent-badge{display:inline-block;font-size:.68rem;text-transform:uppercase;letter-spacing:.06em;background:var(--lh-mint);color:var(--lh-mint-text);border-radius:999px;padding:.15rem .45rem;margin-bottom:.4rem}.file-list{margin:.5rem 0 0;padding-left:1.1rem;font-size:.85rem}.message-content{display:flex;flex-direction:column;gap:.75rem}.bubble-text.markdown-body{white-space:normal}.markdown-body .md-h{margin:0 0 .45rem;font-size:1.02rem;font-weight:700;line-height:1.35}.markdown-body .md-p{margin:0 0 .55rem}.markdown-body .md-p:last-child{margin-bottom:0}.markdown-body strong{font-weight:700}.bubble.assistant{max-width:min(860px,96%)}.table-box{border:1px solid var(--lh-border);border-radius:10px;background:#fff;overflow:hidden}.table-box-title{font-size:.78rem;font-weight:600;letter-spacing:.02em;text-transform:uppercase;color:var(--lh-text-muted);padding:.55rem .75rem;border-bottom:1px solid var(--lh-border);background:#f1f5f9}.table-box-scroll{overflow:auto;max-height:280px}.table-box table{width:100%;border-collapse:collapse;font-size:.82rem}.table-box th,.table-box td{padding:.45rem .65rem;border-bottom:1px solid #e8eef5;text-align:left;white-space:nowrap;max-width:220px;overflow:hidden;text-overflow:ellipsis}.table-box th{position:sticky;top:0;background:#f8fafc;font-weight:600;color:#163f74;z-index:1}.table-box tr:hover td{background:#f8fafc}.file-downloads{display:flex;flex-direction:column;gap:.45rem}.file-downloads-label{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--lh-text-muted)}.file-downloads-row{display:flex;flex-wrap:wrap;gap:.5rem}.file-download-btn{display:flex;flex-direction:column;align-items:flex-start;gap:.15rem;border:1px solid #c5d4e8;background:#eef5ff;color:#163f74;border-radius:10px;padding:.55rem .75rem;font-weight:600;font-size:.85rem;cursor:pointer}.file-download-btn:disabled{opacity:.6;cursor:wait}.file-download-name{font-weight:500;font-size:.72rem;color:var(--lh-text-muted);max-width:220px;overflow:hidden;text-overflow:ellipsis}.file-download-error{color:#b42318;font-size:.8rem}.composer{display:grid;grid-template-columns:1fr auto;gap:.75rem;padding:.85rem;align-items:end}.composer textarea{width:100%;resize:vertical;border:1px solid var(--lh-border);border-radius:10px;padding:.75rem .85rem;min-height:64px}.composer button,button.primary{background:var(--lh-primary);color:#fff;border:0;border-radius:10px;padding:.7rem 1.1rem;font-weight:600}.composer button:disabled{opacity:.5;cursor:not-allowed}.composer button:hover:not(:disabled),button.primary:hover{background:var(--lh-primary-hover)}.login-screen{--login-navy: #163f74;--login-navy-deep: #123565;--login-navy-ink: #0e2c55;--login-dots: #2a558d;--login-teal: #2ec4b6;--login-text: #ffffff;--login-muted: #9eb6c4;--login-lead: #d7e6ee;--login-panel-bg: #f4f7f9;--login-panel-title: #163f74;--login-panel-sub: #6b7c8a;--login-panel-hint: #8a96a3;--login-font: Inter, "Segoe UI", "Source Sans 3", sans-serif;min-height:100vh;display:grid;grid-template-columns:minmax(0,1.55fr) minmax(360px,.95fr);background:var(--login-panel-bg);font-family:var(--login-font);-webkit-font-smoothing:antialiased}.login-hero{position:relative;display:flex;flex-direction:column;justify-content:space-between;padding:2.5rem 3.5rem 2rem;color:var(--login-text);overflow:hidden;background:linear-gradient(118deg,#ffffff14,#fff0 42%),linear-gradient(160deg,#1a4a82 0%,var(--login-navy) 40%,var(--login-navy-deep) 75%,var(--login-navy-ink) 100%)}.login-hero:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background-image:radial-gradient(var(--login-dots) 1.15px,transparent 1.15px);background-size:26px 26px;opacity:1;pointer-events:none}.login-hero:after{content:"";position:absolute;top:-35%;right:-18%;width:85%;height:95%;background:linear-gradient(125deg,#ffffff2e,#ffffff0d 28%,#fff0 55%);transform:rotate(-24deg);pointer-events:none}.login-hero-top,.login-hero-body,.login-hero-footer{position:relative;z-index:1}.login-hero-top{display:flex;align-items:center;gap:.9rem;min-width:0}.login-hero-logo{display:block;height:58px;width:auto;max-width:min(420px,58vw);object-fit:contain;object-position:left center;flex-shrink:0}.login-hero-brand-sep{width:1px;height:1.75rem;flex-shrink:0;background:#bacddc8c}.login-hero-brand-product{font-size:1.05rem;font-weight:600;letter-spacing:.14em;color:#b7c9d8;white-space:nowrap}.login-hero-body{max-width:40rem;margin:auto 0;padding:4.5rem 0 5rem}.login-hero-icon{width:76px;height:76px;border-radius:18px;display:grid;place-items:center;color:#e8f1f8;background:#ffffff1a;border:1.5px solid rgba(186,214,235,.35);margin-bottom:1.75rem;box-shadow:inset 0 1px #ffffff0f}.login-hero-shield{width:32px;height:32px;display:block}.login-hero-body h1{margin:0;font-size:clamp(2.4rem,4.1vw,3.15rem);line-height:1.12;font-weight:700;letter-spacing:-.03em;color:#fff}.login-hero-lead{margin:1.25rem 0 1.9rem;color:var(--login-lead);font-size:1.125rem;line-height:1.6;font-weight:400;max-width:36rem}.login-hero-points{list-style:none;margin:0;padding:0;display:grid;gap:.95rem}.login-hero-points li{position:relative;padding-left:1.35rem;color:#edf5f9;font-size:1.05rem;line-height:1.45}.login-hero-points li:before{content:"";position:absolute;left:0;top:.55rem;width:.5rem;height:.5rem;border-radius:50%;background:var(--login-teal);box-shadow:0 0 0 3px #2ec4b62e}.login-hero-footer{margin:0;color:#7f98a8;font-size:.84rem;letter-spacing:.01em}.login-panel{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:3.5rem 2.75rem;background:var(--login-panel-bg)}.login-panel-main{width:min(460px,100%);text-align:left}.login-panel-main h2{margin:0;color:var(--login-panel-title);font-size:2.9rem;font-weight:700;letter-spacing:-.03em;line-height:1.12}.login-panel-sub{margin:.75rem 0 2rem;color:var(--login-panel-sub);font-size:1.25rem;font-weight:400;line-height:1.45}.login-entra-btn{width:100%;display:inline-flex;align-items:center;justify-content:center;gap:.85rem;border:0;border-radius:12px;padding:1.15rem 1.25rem;background:var(--login-navy);color:#fff;font-family:inherit;font-size:1.125rem;font-weight:600;box-shadow:none;transition:background .15s ease}.login-entra-btn:hover{background:var(--login-navy-deep)}.login-entra-btn .ms-logo{flex-shrink:0}.login-panel-hint{margin:1.15rem 0 0;text-align:center;color:var(--login-panel-hint);font-size:1.05rem;font-weight:400}.login-panel-support{width:100%;margin:4.75rem 0 0;text-align:center;color:var(--login-panel-hint);font-size:.95rem;line-height:1.55}.login-panel-support a{color:#3b4a58;font-weight:700;text-decoration:none}.login-panel-support a:hover{text-decoration:underline}.error{background:#fef2f2;color:var(--lh-danger);border-radius:8px;padding:.55rem .7rem;margin:0 0 .9rem;font-size:.88rem}@media (max-width: 860px){.app-shell{grid-template-columns:1fr}.sidebar{max-height:280px}.login-screen{grid-template-columns:1fr}.login-hero{min-height:auto;padding:1.75rem 1.5rem 1.4rem}.login-hero-body{padding:2.25rem 0 2rem}.login-hero-body h1{font-size:2rem}.login-panel{min-height:52vh;padding:2.5rem 1.5rem 3rem}.login-panel-main h2{font-size:2.35rem}.login-panel-support{margin-top:3rem}}:root{--lh-sidebar: #1f2a3d;--lh-sidebar-muted: #94a3b8;--lh-sidebar-hover: rgba(255, 255, 255, .06);--lh-active: #ffffff;--lh-active-text: #1f2a3d;--lh-header: #243044;--lh-bg: #eef1f5;--lh-card: #ffffff;--lh-text: #1e293b;--lh-text-muted: #64748b;--lh-border: #d8dee8;--lh-primary: #2c3e55;--lh-primary-hover: #1f2a3d;--lh-accent: #3b82f6;--lh-mint: #d1fae5;--lh-mint-text: #065f46;--lh-danger: #dc2626;--lh-user-bubble: #2c3e55;--lh-bot-bubble: #ffffff;--lh-radius: 10px;--lh-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .06);font-family:"Source Sans 3",Segoe UI,sans-serif;color:var(--lh-text);background:var(--lh-bg)}*{box-sizing:border-box}html,body,#root{margin:0;min-height:100%;height:100%}button,input,textarea{font:inherit}button{cursor:pointer}
