/* Trusted MIS — a quiet, readable executive workspace. */
@font-face{font-family:TrustedArabic;src:url('/assets/Tajawal-Regular.ttf');font-weight:400;font-display:swap}@font-face{font-family:TrustedArabic;src:url('/assets/Tajawal-Bold.ttf');font-weight:700;font-display:swap}@font-face{font-family:TrustedBody;src:url('/assets/body.ttf')}@font-face{font-family:TrustedDisplay;src:url('/assets/bank-display.ttf')}
:root{--ink:#172c46;--muted:#647387;--line:#e2e8ef;--canvas:#f5f7fa;--blue:#205cc3;--teal:#087f83;--nav:#102c48;--soft:#edf4ff;--radius:18px;--shadow:0 5px 24px #182f4d06}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--canvas);color:var(--ink);font:15px/1.65 TrustedBody,Arial,sans-serif}html[lang=ar] body{font-family:TrustedArabic,Arial,sans-serif;font-size:18px;line-height:1.8}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.58}button{border:0}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #87b4fb;outline-offset:3px}[hidden]{display:none!important}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.45;font-weight:700}h1{font-size:32px}h2{font-size:22px}h3{font-size:19px}svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6}small{font-size:12px}html[lang=ar] small{font-size:15px}label{display:block;font-size:14px;font-weight:600;margin-bottom:7px}html[lang=ar] label{font-size:17px}input,select,textarea{color:var(--ink);background:#fff;border:1px solid #ced8e4;border-radius:9px;padding:11px 14px;min-width:0;max-width:100%}input::placeholder,textarea::placeholder{color:#748298;opacity:1}input[type=date]{direction:ltr;min-width:160px}textarea{resize:vertical}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
.primary,.secondary,.ghost,.language-button,.text-button,.downloads button,.downloads a{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:9px 17px;border-radius:9px;font-weight:600;line-height:1.5;transition:background .15s,box-shadow .15s}.primary{background:var(--blue);color:white;box-shadow:0 3px 7px #205cc31a}.primary:hover{background:#174ba6}.secondary{background:white;color:var(--ink);border:1px solid #d5deea}.secondary:hover{background:#f1f5fa}.ghost,.language-button,.text-button{background:transparent;color:var(--muted)}.language-button{color:var(--ink);border:1px solid var(--line);font-size:14px}.text-button:hover,.ghost:hover{background:#eaf0f7}.wide{width:100%}.error{color:#b5293c;white-space:pre-wrap}.error:empty{display:none}.form-hint{font-size:13px;color:var(--muted)}html[lang=ar] .form-hint{font-size:16px}.eyebrow,.section-kicker{font-size:11px;letter-spacing:1.7px;color:var(--teal);font-weight:700}html[lang=ar] .eyebrow,html[lang=ar] .section-kicker{font-size:15px;letter-spacing:0}.demo-label{color:#896224;font-size:12px}html[lang=ar] .demo-label{font-size:15px}.subtle-tag{padding:6px 10px;background:#edf6f4;color:#136c60;border-radius:7px;font-size:12px;white-space:nowrap}html[lang=ar] .subtle-tag{font-size:15px}.dot,.security-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#91a1b4;flex-shrink:0}.dot.ok,.security-dot{background:#24896f}.dot.warn{background:#c38a24}
.app-shell{display:flex;min-height:100vh}.sidebar{width:244px;flex:none;background:#fff;border-inline-end:1px solid var(--line);padding:28px 18px 20px;position:fixed;inset-block:0;inset-inline-start:0;z-index:20;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;color:var(--ink);direction:ltr}.brand img{width:42px;height:42px;border-radius:10px;background:#f0f5fa;object-fit:contain;padding:3px}.brand strong{font:700 22px TrustedBody,sans-serif;letter-spacing:-.8px;white-space:nowrap}.brand small{display:block;font:9px TrustedBody,sans-serif;letter-spacing:2.5px;margin-top:1px;color:var(--muted)}.sidebar-brand{margin-bottom:45px;justify-content:center}.nav-caption,.saved-caption{font-size:11px;color:var(--muted);letter-spacing:1.1px;margin:0 13px 10px}html[lang=ar] .nav-caption,html[lang=ar] .saved-caption{font-size:14px;letter-spacing:0}.nav-item{display:flex;gap:11px;align-items:center;width:100%;min-height:49px;margin:5px 0;padding:10px 14px;text-align:start;border-radius:10px;background:transparent;color:#51657d;font-size:14px;font-weight:600}.nav-item.active{background:var(--nav);color:#fff}.nav-item:hover:not(.active){background:#eef3f9}html[lang=ar] .nav-item{font-size:17px}.count{margin-inline-start:auto;background:#dce6f2;padding:0 7px;border-radius:5px;font-size:11px}.nav-item.active .count{color:var(--ink)}.saved-caption{display:flex;align-items:center;justify-content:space-between;margin-top:32px}.icon-button{background:transparent;color:var(--muted);font-size:22px;width:30px;height:30px}.saved-menu{max-height:43vh;overflow:auto}.saved-link{display:flex;gap:10px;width:100%;text-align:start;background:transparent;color:#455b75;padding:11px 12px;border-radius:8px;line-height:1.6;font-size:13px}.saved-link:hover{background:#f1f5fa}.saved-link>span:last-child{min-width:0;overflow-wrap:anywhere}.saved-link small{display:block;color:#6d8095;direction:ltr;font-size:11px}html[lang=ar] .saved-link{font-size:16px}html[lang=ar] .saved-link small{font-size:13px}.saved-placeholder{padding:8px 12px;color:var(--muted);font-size:13px}.sidebar-bottom{margin-top:auto;border-top:1px solid var(--line);padding:20px 12px 0;font-size:12px}.sidebar-assurance{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:11px;margin-bottom:13px}.sidebar-bottom>a{display:flex;justify-content:space-between;color:var(--ink)}html[lang=ar] .sidebar-assurance{font-size:14px}.main-shell{margin-inline-start:244px;min-width:0;width:calc(100% - 244px)}.topbar{height:76px;border-bottom:1px solid var(--line);background:#ffffffed;padding:0 34px;display:flex;justify-content:space-between;align-items:center;gap:15px}.breadcrumb{display:flex;align-items:center;gap:11px;font-size:12px;color:var(--muted)}.breadcrumb strong{color:var(--ink);font-weight:500}html[lang=ar] .breadcrumb{font-size:15px}.topbar-actions{display:flex;align-items:center;gap:16px}.identity{display:flex;align-items:center;gap:9px;font-size:12px;line-height:1.4}.identity small{color:var(--muted);font-size:10px;display:block}.avatar{width:34px;height:34px;background:#edf2fb;color:var(--blue);border-radius:50%;display:grid;place-items:center;font:600 11px TrustedBody}.topbar .ghost{font-size:12px}html[lang=ar] .identity{font-size:15px}html[lang=ar] .identity small,html[lang=ar] .topbar .ghost{font-size:13px}.main-shell main{padding:30px 36px 15px;max-width:1370px;margin:auto}.app-footer{display:flex;justify-content:space-between;gap:20px;color:#78869a;font-size:11px;padding:22px 36px;max-width:1370px;margin:auto}.footer-separator{margin:0 10px}html[lang=ar] .app-footer{font-size:13px}
.workspace-grid{display:flex;flex-direction:column;gap:26px}.panel{border:1px solid var(--line);background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);min-width:0}.conversation{padding:24px 30px 19px;max-width:1050px;width:100%;margin:auto}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:20px}.panel-title{display:flex;gap:12px;align-items:center}.assistant-icon{width:42px;height:42px;background:#edf3ff;color:var(--blue);display:grid;place-items:center;font-size:25px;border-radius:12px}.panel-title h2{font-size:19px}.panel-subtitle{color:var(--muted);font-size:12px}html[lang=ar] .panel-title h2{font-size:22px}html[lang=ar] .panel-subtitle{font-size:16px}.chat-heading-actions{display:flex;align-items:center;gap:12px}.status-chip{display:flex;align-items:center;gap:7px;font-size:11px;white-space:nowrap;color:var(--muted)}html[lang=ar] .status-chip{font-size:14px}.chat-heading-actions .secondary{font-size:12px;min-height:36px;padding:6px 12px}html[lang=ar] .chat-heading-actions .secondary{font-size:15px}.assistant-empty{padding:40px 0 24px;text-align:center;max-width:670px;margin:auto}.spark{width:54px;height:54px;display:grid;place-items:center;border-radius:17px;color:var(--blue);background:linear-gradient(135deg,#f0f5ff,#e2f1ef);margin:0 auto 17px;font-size:31px}.assistant-empty h3{font-size:30px;letter-spacing:-.5px;white-space:pre-line}.assistant-empty p{margin:13px auto 0;max-width:560px;color:var(--muted);font-size:15px}html[lang=ar] .assistant-empty h3{font-size:33px;letter-spacing:0}html[lang=ar] .assistant-empty p{font-size:19px}.suggestions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin:18px 0 22px}.suggestions button{padding:14px 16px;text-align:start;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);font-size:13px;min-height:86px;line-height:1.55;position:relative}.suggestions button:before{content:'↗';display:block;color:var(--blue);font-size:19px;margin-bottom:4px}.suggestions button:hover{background:#f5f8ff;border-color:#a9c4ee}.suggestions button small{color:var(--muted);display:block;font-size:11px;margin-top:4px}html[lang=ar] .suggestions button{font-size:17px}html[lang=ar] .suggestions button small{font-size:14px}.composer{position:relative;border:1px solid #b9cce5;background:#fff;border-radius:14px;box-shadow:0 0 0 4px #f0f5fc;transition:border-color .2s}.composer:focus-within{border-color:var(--blue);box-shadow:0 0 0 4px #e8f0ff}.composer textarea{display:block;width:100%;border:0;background:transparent;outline:none!important;box-shadow:none;padding:18px 18px 9px;min-height:90px;max-height:220px;font-size:17px;resize:vertical;line-height:1.65}.composer-actions{display:flex;align-items:center;justify-content:space-between;padding:6px 14px 12px;gap:15px}.composer-hint{color:var(--muted);font-size:11px;padding-inline-end:46px}.send-button{width:38px;height:38px;border-radius:10px;background:var(--blue);color:#fff;font-size:25px;line-height:1}.send-button:hover{background:#154caa}.voice-button{position:absolute;bottom:12px;inset-inline-end:61px;width:38px;height:38px;display:grid;place-items:center;background:#eff4fc;color:#315f97;border-radius:10px}.voice-button.recording{color:#b72f42;background:#fcebf0}.voice-button svg{width:21px;height:21px}.chat-date{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:16px}.chat-date label{margin:0;color:var(--muted);font-size:12px;font-weight:400}.chat-date input{min-height:36px;height:36px;font-size:12px;padding:5px 9px;min-width:145px}.chat-date .text-button{font-size:11px;min-height:34px;padding:5px 9px}.chat-date .demo-label{margin-inline-start:auto}html[lang=ar] .composer textarea{font-size:21px}html[lang=ar] .composer-hint{font-size:14px}html[lang=ar] .chat-date label,html[lang=ar] .chat-date .text-button{font-size:15px}.voice-tools{display:flex;align-items:center;gap:14px;margin-top:13px;flex-wrap:wrap;font-size:11px;color:var(--muted)}.voice-upload{display:flex;align-items:center;gap:5px;color:#526983;background:transparent;padding:4px 0}.voice-upload svg{width:16px;height:16px}.voice-options{display:flex;gap:9px;align-items:center;font-size:11px;margin:0;margin-inline-start:auto;font-weight:400}.voice-options select{padding:3px 7px;font-size:11px;border-color:var(--line);min-height:29px}.voice-cancel{color:#af2c41;background:#fcebf0;border-radius:6px;padding:4px 10px}.voice-status,.activity{font-size:12px;color:var(--teal);white-space:pre-wrap}.voice-status:empty{display:none}.voice-status{margin-top:8px}html[lang=ar] .voice-tools,html[lang=ar] .voice-options,html[lang=ar] .voice-options select{font-size:14px}html[lang=ar] .voice-status,html[lang=ar] .activity{font-size:16px}.activity-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px}.activity-row:has(.activity:empty){margin-top:0}.assistant-footnote{font-size:10px;color:#76859a;text-align:center;margin-top:12px}html[lang=ar] .assistant-footnote{font-size:14px}.data-assurance{display:flex;justify-content:space-between;gap:16px;font-size:11px;color:var(--muted);max-width:1050px;margin:16px auto 0}.data-assurance>span:first-child{display:flex;align-items:center;gap:7px}html[lang=ar] .data-assurance{font-size:14px}.message{border-radius:12px;padding:18px 20px;margin:16px 0;line-height:1.85;font-size:15px;overflow-wrap:anywhere}.message small{display:block;color:var(--muted);font-size:10px;letter-spacing:1px;margin-bottom:5px}.message>div{white-space:pre-wrap}.message.user{background:#f0f4fa;margin-inline-start:10%;padding:13px 18px}.message.assistant{background:linear-gradient(110deg,#f6f9ff,#f6fbfa);border:1px solid #e6edf5}.message.error{background:#fff3f4;border:1px solid #f4d1d7}html[lang=ar] .message{font-size:20px;line-height:1.95}html[lang=ar] .message small{font-size:13px;letter-spacing:0}.inline-code{font:12px monospace;background:#e6edf5;padding:3px 6px;border-radius:4px}.conversation:has(.message) .suggestions{display:none}.conversation:has(.message) #messages{max-height:430px;overflow:auto;padding-inline-end:8px;scrollbar-width:thin;margin-top:16px}.conversation:has(.message) .panel-head{padding-bottom:15px;border-bottom:1px solid var(--line)}
.results-panel{display:none;padding:26px 30px}.has-results .results-panel{display:block}.results-panel>.panel-head{padding-bottom:20px;border-bottom:1px solid var(--line);margin-bottom:24px}.results-panel h2{margin-top:3px}.result{padding:24px 0;border-bottom:1px solid var(--line);scroll-margin-top:25px}.result:first-child{padding-top:0}.result:last-child{border-bottom:0}.result-title{display:flex;justify-content:space-between;align-items:center;gap:15px}.result-title h3{font-size:20px}.validation{font-size:11px;color:var(--muted);margin:5px 0 17px}html[lang=ar] .validation{font-size:14px}.metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}.metric-card{padding:18px 20px;background:#f5f8fd;border:1px solid #e4ebf6;border-radius:12px;min-width:0}.metric-card small{display:block;color:#536b88;font-size:12px;margin-bottom:7px}.metric-card strong{display:block;direction:ltr;text-align:start;font:600 27px TrustedBody,sans-serif;letter-spacing:-.8px;overflow-wrap:anywhere}.metric-card span{display:block;color:var(--muted);font-size:11px;margin-top:5px}html[lang=ar] .metric-card small{font-size:16px}html[lang=ar] .metric-card span{font-size:14px}.table-scroll{overflow:auto;max-width:100%;border:1px solid var(--line);border-radius:11px;margin:15px 0;scrollbar-width:thin}table{width:100%;border-collapse:collapse;font-size:13px;line-height:1.7;text-align:start;white-space:nowrap}th,td{padding:13px 16px;text-align:start;border-bottom:1px solid #e7ecf3}th{background:#f4f7fb;color:#46617e;font-weight:600;font-size:12px}tr:last-child td{border-bottom:0}tbody tr:hover{background:#f7faff}.numeric{font-variant-numeric:tabular-nums}html[lang=ar] table{font-size:17px}html[lang=ar] th{font-size:16px}.chart-image{display:block;width:100%;height:auto;border-radius:12px;margin:15px 0}.downloads{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin:12px 0}.downloads button,.downloads a{background:#f4f7fb;color:#3e5d80;font-size:11px;min-height:33px;padding:6px 11px;font-weight:500}.downloads a:hover{background:#e8eff9}html[lang=ar] .downloads button,html[lang=ar] .downloads a{font-size:14px}details{border:1px solid var(--line);border-radius:9px;margin:10px 0;background:#fff}summary{cursor:pointer;padding:10px 13px;font-size:12px;color:#536983}html[lang=ar] summary{font-size:16px}pre{direction:ltr;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere;font:11px/1.7 monospace;padding:15px;background:#f4f7fb;margin:0}.chart-controls{display:flex;gap:9px;flex-wrap:wrap;padding:0 13px 13px}.chart-controls select{font-size:12px;flex:1;min-width:110px;padding:7px 9px}.chart-controls button{font-size:12px;padding:7px 11px}.result-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px;color:var(--muted);font-size:12px}.result-meta span{border:1px solid var(--line);border-radius:5px;padding:2px 8px}html[lang=ar] .result-meta{font-size:15px}.report-builder{padding:25px;background:#f7f9fd;border-radius:14px;margin-top:25px;border:1px solid #e1e9f5}.builder-header{display:flex;justify-content:space-between;gap:20px;margin-bottom:20px}.builder-header h3{margin-top:2px}.save-indicator{font-size:11px;color:var(--teal);align-self:center}.report-builder form{display:grid;grid-template-columns:1.2fr 1.8fr;gap:13px 20px;align-items:end}.report-builder form>label{grid-column:1;grid-row:1;margin-bottom:0}.report-builder form>input{grid-column:1;grid-row:2}.builder-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px;grid-column:2;grid-row:1/3;align-items:end}.builder-fields select,.builder-fields input{width:100%}.report-builder .form-hint{grid-column:1}.report-builder .primary{grid-column:2;width:auto;justify-self:end;min-width:240px}.report-builder #save-error{margin-top:12px}.results-empty{display:none}.result-tabbar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:23px}.result-tabbar a{display:inline-flex;padding:7px 12px;border-radius:8px;background:#edf3fc;font-size:12px;color:#375b87}html[lang=ar] .result-tabbar a{font-size:15px}
.hero{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:12px 0 30px}.hero h1{margin:9px 0 8px}.hero p{color:var(--muted)}.library-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:25px;color:var(--muted);font-size:13px}.library-toolbar input{width:400px;max-width:75%}.report-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.report-card{display:flex;flex-direction:column;align-items:flex-start;gap:11px;background:#fff;border:1px solid var(--line);border-radius:15px;padding:22px;text-align:start;min-height:220px;color:var(--ink);box-shadow:var(--shadow)}.report-card:hover{border-color:#acc7ef;box-shadow:0 8px 30px #18365d0c}.report-card h3{font-size:18px;overflow-wrap:anywhere}.report-card p,.report-card small{font-size:12px;color:var(--muted)}html[lang=ar] .report-card h3{font-size:21px}html[lang=ar] .report-card p,html[lang=ar] .report-card small{font-size:15px}.report-card-icon{display:grid;place-items:center;background:#edf4ff;color:#3065ac;border-radius:9px;width:38px;height:38px;font-size:23px}.library-empty{grid-column:1/-1;text-align:center;padding:65px 20px;background:white;border:1px dashed #cbd8e8;border-radius:15px}.library-empty p{color:var(--muted);margin-top:8px}.catalog-panel{padding:28px}.catalog-intro{color:var(--muted);margin:15px 0 23px}#schema-form{display:flex;gap:10px}#schema-query{flex:1}.catalog-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;border-bottom:1px solid var(--line);font-size:13px;overflow-wrap:anywhere}.catalog-row button{padding:7px 12px;border-radius:7px;color:var(--blue);background:#edf4ff}.columns{padding:15px;font-size:12px;background:#f4f7fb;direction:ltr}.knowledge-control{display:flex;align-items:center;gap:15px;flex-wrap:wrap;padding:18px;border:1px solid #e3d4ba;background:#fffaf1;border-radius:12px;margin:20px 0}.knowledge-control p{font-size:14px;flex:1;min-width:230px}.knowledge-control button{white-space:nowrap}.saved-report-head{padding:0 0 20px}.saved-report-title{display:flex;align-items:center;gap:15px;margin:16px 0 22px}.saved-report-title h1{font-size:27px}.report-actions{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}.report-actions select{font-size:13px}.rerun-form{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:17px 0;border-top:1px solid var(--line)}.rerun-form label{margin:0;font-size:13px}.rerun-form .form-hint{flex-basis:100%}.report-preview{width:100%;height:1100px;border:1px solid var(--line);background:#fff;border-radius:10px}
.login-shell{display:grid;grid-template-columns:1fr 1fr;min-height:100vh;background:white;direction:ltr}.login-art{padding:48px 60px;background:radial-gradient(ellipse at 100% 100%,#1b5378,transparent 60%),#102c48;color:white;display:flex;flex-direction:column}.login-art .brand{color:white}.login-art .brand small{color:#a6bfdb}.login-art .brand img{background:white}.login-story{margin:auto 0;padding:60px 0;max-width:490px}.login-story .eyebrow{color:#a9d9da}.login-story h1{font-size:44px;line-height:1.35;margin:20px 0;white-space:pre-line;letter-spacing:-1px}.login-story>p{color:#bed0e3;font-size:17px;line-height:1.8}.login-flow{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:38px;border-top:1px solid #ffffff24;padding-top:23px}.login-flow span{display:block;font:11px TrustedBody;color:#7ebbc6;margin-bottom:10px}.login-flow strong{font-size:13px}.login-flow p{font-size:12px;color:#bdd0e4;margin-top:5px}.login-bottom{font-size:11px;color:#b7cce0}.login-form-wrap{display:flex;flex-direction:column;padding:35px 60px}.login-form-wrap>.language-button{align-self:flex-end}.login-form-inner{margin:auto;max-width:375px;width:100%;padding:55px 0}.login-form-inner h2{font-size:27px;margin:12px 0}.login-form-inner>p{color:var(--muted);margin-bottom:28px}.login-form-inner form{display:flex;flex-direction:column;gap:8px}.login-form-inner input{min-height:48px;margin-bottom:13px}.login-form-inner .primary{margin:7px 0 10px;min-height:49px}.login-legal{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:11px;margin:20px 0}.login-form-inner .demo-label{font-size:11px}html[lang=ar] .login-story,html[lang=ar] .login-form-inner{direction:rtl}html[lang=ar] .login-story h1{font-size:43px;letter-spacing:0}html[lang=ar] .login-story>p{font-size:21px}html[lang=ar] .login-flow strong{font-size:17px}html[lang=ar] .login-flow p{font-size:15px}html[lang=ar] .login-legal,html[lang=ar] .login-form-inner .demo-label{font-size:14px}
@media(min-width:1500px){.main-shell main{padding-top:40px}.conversation{padding-inline:40px}.assistant-empty{padding-top:55px;padding-bottom:32px}}
@media(max-width:1150px){.sidebar{width:212px;padding-inline:12px}.main-shell{margin-inline-start:212px;width:calc(100% - 212px)}.brand strong{font-size:20px}.main-shell main{padding:23px}.topbar{padding:0 23px}.conversation,.results-panel{padding:22px}.status-chip{display:none}.report-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.report-builder form{display:flex;flex-direction:column;align-items:stretch}.builder-fields{width:100%}.report-builder .primary{align-self:stretch}.login-art,.login-form-wrap{padding:35px}.login-story h1{font-size:36px}}
@media(max-width:800px){.app-shell{display:block}.sidebar{position:relative;width:100%;padding:15px 20px 0;border-inline-end:0;border-bottom:1px solid var(--line)}.sidebar-brand{justify-content:flex-start;margin-bottom:13px}.sidebar-brand img{width:34px;height:34px}.sidebar-brand strong{font-size:21px}.sidebar-brand small{font-size:8px}.sidebar nav{display:flex;gap:7px}.nav-item{width:auto;flex:1;justify-content:center;min-height:43px;padding:9px 10px;font-size:13px;margin:0 0 12px;white-space:nowrap}.nav-item svg{width:18px;height:18px}.nav-caption,.saved-caption,.saved-menu,.sidebar-bottom{display:none}.main-shell{margin:0;width:100%}.topbar{height:65px;padding:0 20px}.breadcrumb>span{display:none}.topbar-actions{gap:10px}.identity{display:none}.main-shell main{padding:20px}.app-footer{padding:20px;font-size:10px}.app-footer>span:last-child{display:none}.conversation,.results-panel{padding:20px}.panel-head{gap:10px}.panel-subtitle{display:none}.panel-title h2{font-size:16px}.assistant-icon{width:33px;height:33px;font-size:23px}.assistant-empty{padding:30px 0 15px}.assistant-empty h3{font-size:27px}.assistant-empty p{font-size:14px}.suggestions{gap:8px}.suggestions button{padding:11px;font-size:12px;min-height:80px}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.metric-card strong{font-size:25px}.login-shell{grid-template-columns:1fr}.login-art{padding:25px}.login-story{padding:32px 0 0;max-width:none}.login-story h1{font-size:32px;white-space:normal}.login-story>p,.login-flow,.login-bottom{display:none}.login-form-wrap{padding:20px 30px}.login-form-wrap>.language-button{position:absolute;inset:26px 25px auto auto;background:#fff}.login-form-inner{padding:35px 0}.hero h1{font-size:27px}html[lang=ar] .nav-item{font-size:16px}html[lang=ar] .panel-title h2{font-size:19px}html[lang=ar] .assistant-empty h3{font-size:29px}html[lang=ar] .assistant-empty p{font-size:18px}html[lang=ar] .suggestions button{font-size:16px}html[lang=ar] .login-story h1{font-size:32px}}
@media(max-width:480px){.sidebar{padding:13px 12px 0}.sidebar nav{gap:5px}.nav-item{gap:5px;padding:9px 6px;font-size:11px}.nav-item svg{display:none}.count{font-size:10px}.topbar{padding:0 13px;height:60px}.topbar .ghost{padding:7px;font-size:11px}.topbar .language-button{padding:7px 12px;min-height:36px}.breadcrumb{font-size:11px}.main-shell main{padding:13px}.conversation,.results-panel{padding:17px 15px;border-radius:13px}.panel-title h2{font-size:15px}.chat-heading-actions .secondary{font-size:10px;padding:5px 8px;min-height:32px}.assistant-icon{display:none}.assistant-empty{padding:28px 0 12px}.assistant-empty h3{font-size:25px}.spark{width:46px;height:46px;font-size:27px;margin-bottom:13px}.suggestions{grid-template-columns:1fr;margin:15px 0 19px;gap:7px}.suggestions button{min-height:43px;padding:10px 13px;display:flex;align-items:center;gap:9px}.suggestions button:before{margin:0;font-size:17px}.composer textarea{font-size:17px;padding:14px;min-height:86px}.composer-hint{font-size:10px;max-width:70%}.chat-date{gap:7px}.chat-date .demo-label{flex-basis:100%;margin:0;font-size:11px}.chat-date label{font-size:11px}.chat-date input{font-size:12px;min-width:137px}.voice-tools{gap:10px;font-size:10px}.voice-options{font-size:10px;gap:5px}.voice-options select{font-size:10px;max-width:100px}.assistant-footnote{font-size:10px}.data-assurance{font-size:10px}.data-assurance>span:last-child{max-width:60%;text-align:end}.message{padding:14px;font-size:15px}.message.user{margin-inline-start:6%}.conversation:has(.message) #messages{max-height:370px}.metric-card{padding:14px}.metric-card strong{font-size:22px}.metric-card small{font-size:11px}.result-title h3{font-size:18px}.result-meta{font-size:10px}th,td{padding:11px 12px}.report-builder{padding:17px}.builder-header{display:block}.save-indicator{display:none}.builder-fields{grid-template-columns:1fr}.report-builder .primary{min-width:0}.report-cards{grid-template-columns:1fr}.report-card{min-height:180px}.hero{align-items:flex-start;flex-direction:column;margin:10px 0 23px}.hero h1{font-size:27px}.hero p{font-size:14px}.library-toolbar input{max-width:100%;width:100%}.library-toolbar span{display:none}.saved-report-title{align-items:flex-start;flex-direction:column;gap:8px}.saved-report-title h1{font-size:23px}.report-actions{gap:7px}.report-actions button{font-size:12px;flex:1}.report-actions select{width:100%}.rerun-form label{flex-basis:100%}.rerun-form input{flex:1}.report-preview{height:900px}.catalog-panel{padding:17px}.catalog-row{font-size:11px;gap:12px}.catalog-row code{overflow-wrap:anywhere;max-width:70%}html[lang=ar] .nav-item{font-size:14px}html[lang=ar] .panel-title h2{font-size:18px}html[lang=ar] .chat-heading-actions .secondary{font-size:13px}html[lang=ar] .composer textarea{font-size:20px}html[lang=ar] .composer-hint{font-size:12px}html[lang=ar] .assistant-empty h3{font-size:27px}html[lang=ar] .chat-date label,html[lang=ar] .chat-date .text-button{font-size:14px}html[lang=ar] .chat-date .demo-label{font-size:14px}html[lang=ar] .voice-options,html[lang=ar] .voice-options select{font-size:12px}html[lang=ar] .assistant-footnote{font-size:13px}html[lang=ar] .message{font-size:19px}html[lang=ar] .metric-card small{font-size:15px}html[lang=ar] .result-meta{font-size:14px}html[lang=ar] .data-assurance{font-size:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Keep the question, reporting date and voice controls in the first screen. */
.assistant-empty{padding-top:24px;padding-bottom:12px}.spark{width:42px;height:42px;font-size:27px;margin-bottom:10px}.suggestions{margin:12px 0 18px}.suggestions button{min-height:65px;padding:10px 15px}.suggestions button:before{display:inline-block;margin:0 8px 0 0;font-size:17px}.chat-date{margin:0 0 14px}.composer textarea{min-height:80px}.conversation{padding-top:22px}.assistant-empty h3{font-size:29px}html[lang=ar] .assistant-empty h3{font-size:31px}.assistant-empty p{margin-top:8px}@media(min-width:1500px){.assistant-empty{padding-top:32px;padding-bottom:18px}}@media(max-width:480px){.chat-date{margin-top:3px}.suggestions button{min-height:43px;padding:10px 13px}.assistant-empty{padding-top:23px}.chat-date .demo-label{flex-basis:auto;margin-inline-start:auto}.chat-date label{flex-basis:100%}}
@media(max-width:480px){.conversation{display:flex;flex-direction:column}.conversation>.panel-head{order:0}.conversation>#messages{order:1}.conversation>#chat-form{order:2}.conversation>.voice-tools,.conversation>.voice-status,.conversation>.activity-row{order:3}.conversation>.suggestions{order:4;margin-top:18px}.conversation>.assistant-footnote{order:5}.assistant-empty .spark{display:none}.assistant-empty{padding:20px 0 16px}.assistant-empty h3{font-size:25px!important}.assistant-empty p{font-size:17px!important;line-height:1.7}.chat-date .demo-label{font-size:12px!important}.chat-date{margin-bottom:10px}}

.report-quick-actions{display:flex;gap:8px;flex-wrap:wrap}.report-quick-actions button{font-size:12px;min-height:37px}html[lang=ar] .report-quick-actions button{font-size:15px}@media(max-width:800px){.results-panel>.panel-head{flex-wrap:wrap}.report-quick-actions{width:100%}.report-quick-actions button{flex:1}}
html[lang=ar] select:not(#voice-language),html[lang=ar] .chart-controls button,html[lang=ar] .library-toolbar input{font-size:16px}html[lang=ar] .knowledge-control p{font-size:17px}@media(max-width:480px){html[lang=ar] .report-actions button{font-size:16px}html[lang=ar] .voice-options,html[lang=ar] .voice-options select{font-size:14px}.voice-options select{max-width:115px}}
