:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#10243b;background:#f5f7fa;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100vh;display:flex;flex-direction:column}a{color:inherit;text-decoration:none}.top{padding:18px max(24px,calc((100vw - 1120px)/2));display:flex;justify-content:space-between;align-items:center;background:white;border-bottom:1px solid #e8edf2}.brand{display:flex;align-items:center;gap:12px;font-size:22px;font-weight:800;letter-spacing:-.05em}.brand small{display:block;font-size:10px;color:#8b96a4;letter-spacing:.13em;text-transform:uppercase;font-weight:700}.brandmark{width:43px;height:43px;background:#142944;border-radius:12px;color:white;display:grid;place-items:center;letter-spacing:-.08em}.brandmark span{color:#72d2c2}nav{display:flex;align-items:center;gap:24px;font-size:14px}nav form{margin:0}nav a:hover,.textbutton:hover{color:#087f88}.textbutton{border:0;background:none;color:#354d66;cursor:pointer;font:inherit}.shell{width:100%;max-width:1120px;margin:0 auto;flex:1;padding:56px 24px}.eyebrow{font-weight:800;letter-spacing:.17em;text-transform:uppercase;color:#168e95;font-size:11px;margin-bottom:12px}h1{font-size:clamp(32px,5vw,48px);line-height:1.13;letter-spacing:-.055em;margin:0 0 16px}h2{letter-spacing:-.04em}.lead{font-size:18px;color:#657488;line-height:1.65;max-width:720px;margin-bottom:35px}.muted{color:#718095}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:18px;margin:30px 0}.tile,.panel,.authcard{background:white;border:1px solid #e3eaf0;border-radius:20px;box-shadow:0 12px 40px #1a3a5909}.tile{padding:28px}.tile h2{margin:10px 0}.authwrap{display:flex;justify-content:center;align-items:center;min-height:60vh}.authcard{padding:clamp(26px,5vw,48px);width:min(100%,470px)}.authcard h1{font-size:36px}.authcard .muted{line-height:1.6}label{display:block;font-size:13px;font-weight:700;margin:20px 0 8px}input,select{width:100%;background:#fff;border:1px solid #dce4ed;border-radius:10px;outline:none;padding:13px 15px;font:inherit;color:#142944}input:focus,select:focus{border-color:#14949a;box-shadow:0 0 0 3px #14949a22}.primary{display:flex;justify-content:center;align-items:center;gap:15px;width:100%;padding:15px 20px;margin-top:22px;border:0;border-radius:10px;background:#152d49;color:white;cursor:pointer;font-weight:700;font-size:14px}.primary:hover{background:#204366}.fine{font-size:12px;color:#95a0ae;text-align:center;margin-top:20px}.codeinput{font-size:26px;text-align:center;letter-spacing:.3em;font-variant-numeric:tabular-nums}.back{display:block;text-align:center;color:#087f88;font-size:14px;margin-top:22px}.notice{margin-top:18px;padding:15px;background:#eaf6f4;border-radius:10px;font-size:14px}.validation{color:#b32637;font-size:13px}.validation:empty{display:none}.panel{padding:27px;margin:25px 0}.panel h2{margin:0}.formgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 22px}.panel .primary,.inlineform .primary{width:auto}.inlineform{background:white;padding:20px;border:1px solid #e3eaf0;border-radius:16px;max-width:550px}.tablewrap{overflow:auto;margin-top:30px;background:white;border:1px solid #e3eaf0;border-radius:16px}table{width:100%;border-collapse:collapse;font-size:14px}th,td{text-align:left;padding:16px 20px;border-bottom:1px solid #edf1f5}th{font-size:12px;color:#718095;background:#f9fbfc}tr:last-child td{border:0}footer{text-align:center;padding:25px;font-size:12px;color:#9aa4ae}@media(max-width:680px){.top{padding:14px 18px;align-items:flex-start}.brand{font-size:18px}.brandmark{width:38px;height:38px}nav{gap:12px;flex-wrap:wrap;justify-content:flex-end;font-size:12px}.shell{padding:32px 16px}.authwrap{min-height:65vh}.authcard{padding:27px 22px}.formgrid{grid-template-columns:1fr}}

footer a{color:inherit;text-decoration:none}footer a:hover{text-decoration:underline;color:#657488}

.actionbar{display:flex;gap:14px;align-items:end;flex-wrap:wrap;margin:20px 0}.actionbar form{margin:0}.actionbar .primary{margin:0}.searchform{display:flex;flex:1;min-width:min(100%,320px);gap:8px}.searchform input{flex:1}.searchform .primary{width:auto}details.panel summary{cursor:pointer;font-weight:700}details.panel[open] summary{margin-bottom:20px}@media(max-width:680px){.actionbar,.searchform{flex-direction:column;align-items:stretch}.actionbar form,.actionbar .primary,.searchform .primary{width:100%}}

/* Ad3D branding: gemensam logotyp, favicon och avgransad footer */
:root{--ad3d-navy:#032a57;--ad3d-turquoise:#19e6e3}
.top{gap:24px}
.brand{letter-spacing:-.035em;min-width:0}
.brand-logo{width:52px;height:52px;flex:0 0 52px;object-fit:contain;border-radius:13px;box-shadow:0 5px 17px rgba(3,42,87,.13)}
.brand-name{display:flex;flex-direction:column;line-height:1.08;color:var(--ad3d-navy)}
.brand-name small{margin-top:6px;font-size:10px;font-weight:700;letter-spacing:.11em;color:#617387;text-transform:uppercase}
.top nav a:hover,.top .textbutton:hover{color:#087f88}
.site-footer{border-top:2px solid var(--ad3d-navy);background:#fff;display:flex;flex-wrap:wrap;gap:4px 8px;justify-content:center;align-items:center;text-align:center;padding:20px 18px;color:#788697;font-size:12px}
.site-footer a{color:var(--ad3d-navy)}
.site-footer a:hover{text-decoration:underline;color:#087f88}
@media(max-width:680px){.top{flex-wrap:wrap;align-items:center}.brand-logo{width:44px;height:44px;flex-basis:44px}.top nav{width:100%;justify-content:flex-start;gap:14px}.brand-name{font-size:20px}.site-footer{padding:18px 14px;font-size:11px}}

/* Gemensam dropdownpil: samma inset och utseende i hela Ad3D. */
select:not([multiple]):not([size]),
select[size="1"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='m5 7.5 5 5 5-5' stroke='%23032a57' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 22px center;
    background-size: 15px 15px;
    padding-right: 55px;
    cursor: pointer;
}
select:disabled {
    cursor: not-allowed;
}
select::-ms-expand {
    display: none;
}

/* Avskalad inloggning: egen centrerad kortvy utan sidhuvud. */
.shell-auth { display: flex; align-items: center; justify-content: center; padding-top: 32px; padding-bottom: 32px; }
.shell-auth .authwrap { width: 100%; min-height: 0; }
.authcard-minimal { width: min(100%, 430px); padding: 38px 40px 40px; text-align: center; }
.auth-logo { display: block; width: 84px; height: 84px; object-fit: contain; margin: 0 auto 20px; border-radius: 18px; }
.authcard-minimal h1 { font-size: clamp(27px, 5vw, 34px); line-height: 1.14; margin: 0 0 8px; }
.auth-intro { color: #718095; font-size: 14px; line-height: 1.5; margin: 0 0 27px; }
.authcard-minimal form { text-align: left; }
.authcard-minimal label { margin: 0 0 8px; }
.authcard-minimal .primary { margin-top: 18px; }
.authcard-minimal .notice { text-align: left; font-size: 13px; line-height: 1.5; }
.authcard-minimal .back { font-size: 13px; margin-top: 19px; }
@media(max-width:680px) {
 .shell-auth { padding: 24px 16px; }
 .authcard-minimal { padding: 32px 24px; }
 .auth-logo { width: 76px; height: 76px; margin-bottom: 16px; }
}

/* Diskret statusmarkering foer AI-behandlade foeretag i foeretagslistan. */
.table-link.company-link-ai{color:#087f88;font-weight:700}
.table-link.company-link-ai:hover{text-decoration:underline;color:#05646b}
.company-ai-tag{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;margin-left:8px;padding:2px 6px;border-radius:5px;background:#e8f7f5;color:#087f88;font-size:10px;letter-spacing:.03em;font-weight:800;line-height:1.4;white-space:nowrap}
.company-ai-legend{display:inline-block;margin-left:15px;font-size:12px}
.company-ai-legend .company-ai-tag{margin-left:0;margin-right:3px}
@media(max-width:680px){.company-ai-legend{display:block;margin:8px 0 0}}
