@font-face{font-family:system;src:local('Segoe UI')}*{box-sizing:border-box}body{margin:0;background:#f3f4f6;color:#191b20;font:15px system,system-ui,Arial,sans-serif}button,input,textarea,select{font:inherit}button,a,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #b7192a;outline-offset:3px}a{color:#286548}h1,h2,h3,p{margin-top:0}h1{font-size:34px;letter-spacing:-1px;line-height:1.2}h2{font-size:22px}h3{font-size:16px}p{line-height:1.65}.app{display:grid;grid-template-columns:242px minmax(0,1fr);min-height:100vh}.sidebar{background:#191b20;color:#f3f4f6;padding:30px 20px;display:flex;flex-direction:column;gap:30px;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:12px;font-size:23px;font-weight:700;letter-spacing:-.6px}.brand img{width:40px;height:40px}.brand small{font-size:10px;border:1px solid #555b65;border-radius:6px;padding:3px 6px;letter-spacing:1px}.nav{display:grid;gap:7px}.nav button{display:flex;align-items:center;gap:12px;text-align:start;background:transparent;border:0;color:#c3c8d0;padding:13px;border-radius:10px}.nav button.active,.nav button:hover{background:#ba1828;color:#fff}.nav svg{width:20px;height:20px}.side-note{border:1px solid #555b65;border-radius:12px;padding:16px;font-size:12px;line-height:1.65;color:#c3c8d0;margin-top:auto}.side-note strong{display:block;color:#fff;font-size:14px;margin-bottom:6px}.account{display:flex;align-items:center;gap:10px;font-size:12px}.avatar{width:34px;height:34px;border-radius:50%;background:#fbe8eb;color:#8f1220;display:grid;place-items:center;font-weight:700}.account button{margin-inline-start:auto;color:#c3c8d0;background:none;border:0}.main{padding:0 42px 36px;min-width:0}.topbar{height:85px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #d6d9df;margin-bottom:36px;gap:15px}.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:1.6px;font-weight:700;color:#555b65;margin-bottom:10px}.topbar select{border:1px solid #d6d9df;border-radius:9px;background:white;padding:8px 12px;color:#191b20}.status{font-size:12px;display:flex;align-items:center;gap:7px;color:#555b65}.dot{height:7px;width:7px;background:#ba1828;border-radius:50%}.toolbar{display:flex;justify-content:space-between;gap:20px;align-items:start;margin-bottom:25px}.muted{color:#555b65;font-size:14px}.btn{padding:11px 18px;border:1px solid #d6d9df;border-radius:9px;background:#fff;color:#191b20;display:inline-flex;gap:8px;align-items:center;justify-content:center;text-decoration:none;font-size:14px}.btn.primary{background:#ba1828;color:#fff;border-color:#ba1828}.btn.soft{background:#fbe8eb}.hero{display:grid;grid-template-columns:1.3fr 1fr;gap:25px;background:#fbe8eb;border:1px solid #eed4d8;border-radius:20px;padding:32px;margin-bottom:25px;overflow:hidden}.hero h1{max-width:570px}.hero p{color:#555b65;max-width:550px}.hero .btn{margin-top:8px}.hero-art{display:flex;align-items:center;justify-content:center;min-height:210px}.hero-art svg{width:100%;max-width:320px;height:220px}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:30px}.metric{padding:23px;border:1px solid #d6d9df;border-radius:14px;background:#fff}.metric b{display:block;font-size:28px;font-weight:600;margin-bottom:7px}.metric span{color:#555b65;font-size:13px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.card{background:#fff;border:1px solid #d6d9df;border-radius:14px;padding:24px}.card .tag{display:inline-block;font-size:11px;background:#fbe8eb;color:#8f1220;border-radius:5px;padding:5px 8px;margin-bottom:16px}.card h3{font-size:19px;margin-bottom:10px}.card p{font-size:14px;color:#555b65}.card-footer{border-top:1px solid #e9ebee;padding-top:16px;display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#555b65}.empty{padding:45px 30px;text-align:center;background:#fff;border:1px dashed #d6d9df;border-radius:14px}.empty h3{font-size:20px}.empty p{color:#555b65;margin-bottom:22px}.notice{background:#f3f4f6;border:1px solid #d6d9df;border-radius:9px;padding:13px 16px;font-size:13px;line-height:1.65;margin-bottom:20px}.notice.warn{background:#fff7e7;border-color:#eee2c5;color:#796744}.form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.form label{display:grid;gap:8px;font-size:13px;color:#555b65}.form .wide{grid-column:1/-1}.form input,.form textarea,.form select,.composer textarea,.search-input{background:#fff;border:1px solid #c3c8d0;border-radius:8px;padding:12px;color:#191b20;min-width:0;width:100%}.form textarea{min-height:100px;resize:vertical}.form input[type=file]{font-size:12px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:30px 0 18px}.section-head h2{margin:0}.chat-layout{max-width:900px;margin:auto}.chat-hero{text-align:center;padding:30px 12px}.chat-hero h1{font-size:36px}.chat-hero img{width:60px;height:60px;margin-bottom:22px}.chips{display:flex;gap:9px;justify-content:center;flex-wrap:wrap;margin:20px 0}.chips button{background:#fff;border:1px solid #d6d9df;border-radius:20px;padding:10px 16px;font-size:12px;color:#555b65}.composer{background:#fff;border:1px solid #d6d9df;border-radius:16px;padding:15px;position:sticky;bottom:18px;box-shadow:0 6px 25px #191b2010}.composer textarea{border:0;outline:none;min-height:70px;background:#fff;resize:vertical}.composer-footer{display:flex;align-items:center;justify-content:space-between;gap:15px}.composer select{max-width:200px;font-size:12px;border:0;color:#555b65;background:#f3f4f6;padding:8px;border-radius:7px}.message{margin-bottom:24px}.question{background:#fbe8eb;border-radius:14px;padding:15px 20px;margin-inline-start:15%;white-space:pre-wrap}.answer{padding:20px 0;line-height:1.7;white-space:pre-wrap}.source{background:#fff;border:1px solid #d6d9df;border-radius:10px;padding:14px;margin-bottom:10px}.source a{font-weight:600;font-size:13px}.source .excerpt{font-size:13px;color:#555b65;margin-top:9px;white-space:pre-wrap;max-height:180px;overflow:auto}.source small{color:#555b65}.plan-step{display:grid;grid-template-columns:34px 1fr;gap:15px;padding:18px 0;border-bottom:1px solid #e9ebee}.step-number{background:#fbe8eb;color:#8f1220;border-radius:50%;width:30px;height:30px;display:grid;place-items:center;font-size:12px}.plan-step p{margin:5px 0 0;font-size:13px;color:#555b65}.tagline{font-size:12px;color:#555b65}.drawing-box{background:#fff;border:1px solid #d6d9df;border-radius:14px;padding:20px}.drawing-box img{width:100%;display:block}.login{max-width:460px;margin:10vh auto;padding:34px;background:#fff;border:1px solid #d6d9df;border-radius:20px}.login .brand{margin-bottom:30px}.login .form{grid-template-columns:1fr}.login h1{font-size:28px}#toast{position:fixed;bottom:24px;inset-inline-end:24px;background:#191b20;color:white;padding:15px 24px;border-radius:10px;z-index:10;max-width:420px;box-shadow:0 5px 20px #0002}dialog{border:1px solid #d6d9df;border-radius:16px;padding:28px;max-width:680px;width:calc(100% - 30px);box-shadow:0 20px 100px #191b2033}dialog::backdrop{background:#191b2055}.dialog-head{display:flex;justify-content:space-between;gap:15px}.dialog-head button{background:none;border:0;font-size:24px;color:#555b65}.tiny{font-size:12px}.feature-list{display:grid;gap:12px}.feature-row{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid #e9ebee;padding:11px 0}.badge{font-size:11px;border-radius:20px;padding:5px 10px;background:#fbe8eb;color:#8f1220;white-space:nowrap}.badge.wait{background:#f6efe0;color:#967d4e}[hidden]{display:none!important}@media(min-width:1500px){.main{max-width:1350px;width:100%;margin:auto}}@media(max-width:1000px){.main{padding:0 24px 30px}.app{grid-template-columns:205px 1fr}.sidebar{padding:25px 15px}.hero{grid-template-columns:1fr}.hero-art{display:none}}@media(max-width:720px){.app{grid-template-columns:1fr}.sidebar{position:static;height:auto;padding:18px;gap:20px}.brand{font-size:20px}.nav{display:flex;overflow:auto;gap:5px}.nav button{padding:10px;font-size:12px;white-space:nowrap;gap:6px}.nav svg{display:none}.side-note,.account{display:none}.main{padding:0 18px 24px}.topbar{height:68px;margin-bottom:24px}.status{font-size:11px}.topbar .eyebrow{font-size:10px}.hero{padding:24px}h1{font-size:28px}.metrics{gap:8px}.metric{padding:15px}.metric b{font-size:23px}.metric span{font-size:11px}.grid,.form{grid-template-columns:1fr}.toolbar{flex-wrap:wrap}.form .wide{grid-column:auto}.chat-hero{padding:12px}.chat-hero h1{font-size:29px}.composer{bottom:8px}.question{margin-inline-start:5%}.feature-row{font-size:13px}.login{margin:5vh 15px}}
@media print{.sidebar,.topbar,.toolbar .btn,.composer,.chips{display:none}.app{display:block}.main{padding:0}.card{break-inside:avoid}.notice{border-color:#aaa}body{background:white}}

/* Shared design tokens and assets from Ninsar Uppdrag, 3 October 2026. */
:root{--ninsar-background:#f3f4f6;--ninsar-foreground:#191b20;--ninsar-primary:#ba1828;--ninsar-accent:#fbe8eb;--ninsar-border:#d6d9df;--ninsar-muted:#555b65}
body{font-family:Arial,Helvetica,sans-serif}.sidebar .brand{flex-wrap:wrap;gap:10px;align-items:center}.sidebar .brand .brand-logo{width:132px;height:84px;object-fit:contain}.sidebar .brand>span{font-size:22px;color:white}.brand .brand-logo{width:120px;height:77px;object-fit:contain}.login .brand>span{font-size:26px;color:#ba1828}.chat-hero .assistant-logo{width:130px;height:83px;object-fit:contain}.hero{background:white;border-color:var(--ninsar-border);border-top:4px solid var(--ninsar-primary)}.hero .eyebrow{color:var(--ninsar-primary)}.side-note strong{color:white}.card .tag{color:#8f1220}.btn.primary:hover{background:#a31422}.nav button.active{background:#ba1828}.nav button:hover{background:#24262c}.nav button.active:hover{background:#a31422}.avatar{color:#8f1220}.status .dot{background:#ba1828}.btn.soft{color:#8f1220;border-color:#eed4d8}a{color:#ba1828}.login{border-top:4px solid #ba1828}.metric b{color:#191b20}.hero-art{opacity:.9}
@media(max-width:720px){.sidebar .brand .brand-logo{width:80px;height:51px}.sidebar{gap:14px}.brand{gap:8px}.hero{border-top-width:3px}}
:root .source-filters{display:flex;gap:12px;flex:1;min-width:0;flex-wrap:wrap}
.source-filters label{display:flex;flex:1;min-width:150px;flex-direction:column;gap:5px;font-size:12px;font-weight:600;color:var(--ninsar-muted)}
.source-filters select{width:100%;max-width:none;min-width:0}
.composer-footer{align-items:flex-end;flex-wrap:wrap}
.filter-hint{margin:8px 0 0}
.source-meta{display:flex;gap:8px 16px;flex-wrap:wrap;color:var(--ninsar-muted);font-size:12px;margin:8px 0}
@media(max-width:600px){.source-filters{width:100%;flex-basis:100%}.source-filters label{min-width:120px}.composer-footer .btn{width:100%}}
.sidebar,.topbar>div:first-child{min-width:0}
.source a,.source-meta span,.topbar .tiny{overflow-wrap:anywhere}
@media(max-width:720px){.app{grid-template-columns:minmax(0,1fr)}.nav{min-width:0;max-width:100%}.topbar>div:first-child{flex:1}.topbar select{max-width:105px;padding:8px}.status{flex-shrink:0}}
