:root{--bg:#f5f7fb;--panel:#fff;--ink:#0f172a;--muted:#667085;--line:#e5e7eb;--brand:#111827;--accent:#f97316;--green:#16a34a;--red:#dc2626;--amber:#d97706;--shadow:0 16px 40px rgba(15,23,42,.08)}*{box-sizing:border-box}html{font-size:100%}html,body{margin:0;background:var(--bg);color:var(--ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}body{font-size:1rem;line-height:1.5}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.shell{min-height:100vh;display:grid;grid-template-columns:260px 1fr}.sidebar{position:sticky;top:0;height:100vh;background:#0b1020;color:#fff;padding:22px 16px;display:flex;flex-direction:column;gap:20px}.brand{display:flex;align-items:center;gap:12px}.brand strong{display:block;font-size:1rem;letter-spacing:.01em}.brand small{display:block;color:#9ca3af;margin-top:3px}.brand-mark{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(135deg,#f97316,#fb923c);font-weight:900;font-size:20px}.sidebar nav{display:flex;flex-direction:column;gap:6px}.sidebar nav a{display:flex;gap:10px;align-items:center;padding:11px 12px;border-radius:10px;color:#d6d9e0}.sidebar nav a:hover{background:#171f33;color:#fff}.sidebar nav a span{width:22px;text-align:center}.sidebar-foot{margin-top:auto;display:flex;flex-direction:column;gap:8px;padding:12px}.sidebar-foot>a,.link-button{color:#d1d5db;background:none;border:0;padding:0;text-align:left;cursor:pointer}.sidebar-foot>a:hover,.link-button:hover{color:#fff}.inline-form{margin:0}.topbar{height:88px;background:rgba(255,255,255,.92);backdrop-filter:blur(12px);border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:16px 28px;position:sticky;top:0;z-index:10}.topbar small{color:var(--muted)}.topbar h1{font-size:22px;margin:2px 0 0}.pill,.badge,.module-chip{display:inline-flex;align-items:center;border-radius:999px;padding:6px 10px;background:#f1f5f9;font-size:.875rem;font-weight:700;color:#334155}.content{padding:28px;max-width:1600px}.welcome,.hero-module{display:flex;justify-content:space-between;align-items:center;padding:26px 28px;border-radius:20px;background:linear-gradient(135deg,#101827,#202b42);color:#fff;margin-bottom:22px;box-shadow:var(--shadow)}.welcome h2,.hero-module h2{font-size:28px;margin:5px 0}.welcome p,.hero-module p{margin:0;color:#cbd5e1}.eyebrow{font-size:.8125rem;letter-spacing:.14em;text-transform:uppercase;color:#fb923c;font-weight:800}.module-chip{background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.15)}.grid{display:grid;gap:20px}.grid.two{grid-template-columns:minmax(0,1.6fr) minmax(300px,.8fr)}.card{background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:20px;box-shadow:0 4px 18px rgba(15,23,42,.035);margin-bottom:20px}.card h2{font-size:18px;margin:0 0 8px}.card p{color:var(--muted);margin:0 0 18px}.card-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.sticky-card{align-self:start;position:sticky;top:110px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.dashboard-stats{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}.stat{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px;display:flex;flex-direction:column;gap:6px}.stat span{color:var(--muted);font-size:.875rem}.stat strong{font-size:27px}.stat small{color:#94a3b8}.stat-link:hover{transform:translateY(-1px);box-shadow:var(--shadow);transition:.15s}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:12px}table{width:100%;border-collapse:collapse;min-width:650px}th,td{text-align:left;padding:12px 13px;border-bottom:1px solid var(--line);font-size:.875rem;vertical-align:top}th{background:#f8fafc;color:#475569;font-size:.875rem;text-transform:uppercase;letter-spacing:.04em}td small{display:block;color:var(--muted);margin-top:3px}tbody tr:last-child td{border-bottom:0}.muted{color:var(--muted)!important}.danger-text{color:var(--red);font-weight:700}form{display:flex;flex-direction:column;gap:14px}label{display:flex;flex-direction:column;gap:6px;font-size:.875rem;font-weight:700;color:#344054}input,select,textarea{width:100%;border:1px solid #d0d5dd;border-radius:10px;background:#fff;padding:10px 11px;color:#101828;outline:0}input:focus,select:focus,textarea:focus{border-color:#fb923c;box-shadow:0 0 0 3px rgba(249,115,22,.12)}button{border:1px solid transparent;border-radius:10px;padding:10px 14px;font-weight:800;cursor:pointer;background:#fff;color:#111827}.primary{background:var(--accent);color:#fff;border-color:var(--accent)}.primary:hover{filter:brightness(.96)}.full{width:100%}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.search{display:flex;flex-direction:row;gap:8px}.search input{min-width:220px}.search button{background:#111827;color:#fff}.module-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}.module-list a{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:12px;border:1px solid var(--line);border-radius:13px;padding:14px}.module-list a:hover{border-color:#fdba74;background:#fffaf5}.module-icon{width:38px;height:38px;border-radius:10px;background:#fff7ed;color:#ea580c;display:grid;place-items:center;font-weight:900}.module-list small,.tenant-list small,.plan-grid small,.module-admin-item small,.check-list small,.feature-grid small{display:block;color:var(--muted);margin-top:3px}.chev{font-size:22px;color:#94a3b8}.tenant-list{display:flex;flex-direction:column;gap:10px}.tenant-list a{display:flex;align-items:center;justify-content:space-between;border:1px solid var(--line);border-radius:12px;padding:13px}.tenant-list a:hover{border-color:#fdba74}.plan-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.plan-grid a{border:1px solid var(--line);border-radius:12px;padding:16px}.plan-grid a:hover{border-color:#fdba74}.plan-grid strong,.plan-grid span{display:block}.plan-grid span{margin-top:8px;font-size:20px;font-weight:800}.breadcrumbs{margin-bottom:12px;color:#475569}.details{display:grid;grid-template-columns:130px 1fr;gap:10px;margin:12px 0 0}.details dt{color:var(--muted)}.details dd{margin:0;font-weight:700}.module-admin-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:12px;margin:16px 0}.module-admin-item{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid var(--line);border-radius:12px;padding:13px}.module-admin-item>div:first-child{display:grid;grid-template-columns:42px 1fr;column-gap:10px;align-items:center}.module-admin-item>div:first-child small{grid-column:2}.module-admin-item>div:last-child{display:flex;align-items:center;gap:8px}.module-admin-item select{width:95px;padding:8px}.status-dot{width:10px;height:10px;border-radius:50%;background:#cbd5e1}.status-dot.on{background:var(--green)}.status-dot.off{background:var(--red)}.check-list,.feature-grid{display:grid;gap:10px}.feature-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.check-list label,.feature-grid label{display:flex;flex-direction:row;align-items:flex-start;gap:10px;border:1px solid var(--line);border-radius:11px;padding:11px}.check-list input,.feature-grid input{width:auto;margin-top:2px}.save-bar{position:sticky;bottom:18px;box-shadow:0 8px 30px rgba(249,115,22,.25)}.flash{border-radius:12px;padding:12px 14px;margin-bottom:16px;font-size:1rem;font-weight:700}.flash.success{background:#ecfdf3;color:#166534;border:1px solid #bbf7d0}.flash.error{background:#fef2f2;color:#991b1b;border:1px solid #fecaca}.flash.info{background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe}.box-grid{display:grid;grid-template-columns:repeat(18,minmax(45px,1fr));gap:6px;overflow:auto}.box-cell{min-width:45px;aspect-ratio:1;border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#f1f5f9;border:1px solid #e2e8f0;font-size:.8125rem}.box-cell.available{background:#ecfdf3;border-color:#bbf7d0;color:#166534}.box-cell.rented{background:#fef2f2;border-color:#fecaca;color:#991b1b}.box-cell.disabled{background:#111827;color:#fff;border-color:#111827}.box-cell small{opacity:.7}.callout{border-color:#fed7aa;background:#fffaf5}.login-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at top,#1e293b 0,#0b1020 38%,#050816 100%)}.login-card{width:min(440px,100%);background:#fff;border-radius:22px;padding:30px;box-shadow:0 30px 90px rgba(0,0,0,.35)}.login-card h1{margin:28px 0 6px}.login-card>p{color:var(--muted);margin:0 0 20px}.login-brand strong{color:#111827}.login-brand small{color:#64748b}@media(max-width:1050px){.shell{grid-template-columns:88px 1fr}.sidebar{padding:20px 10px}.brand>div:last-child,.sidebar nav a:not(:hover){font-size:0}.sidebar nav a{justify-content:center}.sidebar nav a span{font-size:18px}.sidebar-foot small,.sidebar-foot a,.sidebar-foot form{font-size:0}.grid.two{grid-template-columns:1fr}.sticky-card{position:static}.stats{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){.shell{display:block}.sidebar{position:relative;height:auto;display:block;padding:12px}.sidebar nav{display:flex;flex-direction:row;overflow:auto;margin-top:12px}.sidebar nav a{white-space:nowrap;font-size:.875rem!important;justify-content:flex-start}.brand>div:last-child{display:block}.sidebar-foot{display:none}.topbar{position:relative;height:auto;padding:16px}.content{padding:16px}.welcome,.hero-module{padding:20px;align-items:flex-start;gap:12px}.stats{grid-template-columns:1fr 1fr}.form-row{grid-template-columns:1fr}.card-head{flex-direction:column}.search{width:100%}.search input{min-width:0}.box-grid{grid-template-columns:repeat(12,minmax(42px,1fr))}.module-admin-grid{grid-template-columns:1fr}}
.automation-note{border-color:#bfdbfe;background:#eff6ff}.automation-note strong{display:block;color:#1d4ed8;margin-bottom:4px}.automation-note p{margin:0}.auto-summary{display:flex;justify-content:space-between;gap:12px;align-items:center;border:1px solid var(--line);background:#f8fafc;border-radius:10px;padding:11px 12px;font-size:.875rem}.auto-summary span{color:var(--muted)}.postbox-wall{margin-top:20px}.postbox-wall:first-of-type{margin-top:12px}.postbox-wall-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.postbox-wall-head small{color:var(--muted)}.postbox-wall-grid{display:grid;gap:6px;overflow:auto;padding-bottom:3px}.postbox-wall-grid.cols-12{grid-template-columns:repeat(12,minmax(48px,1fr))}.postbox-wall-grid.cols-6{grid-template-columns:repeat(6,minmax(48px,1fr))}.postbox-wall-grid .box-cell{min-width:48px}@media(max-width:700px){.postbox-wall-grid.cols-12{grid-template-columns:repeat(12,42px)}.postbox-wall-grid.cols-6{grid-template-columns:repeat(6,42px)}}

/* Autobahn 1.1.7 – premium polish */
:root{--bg:#f2f5f8;--panel:#fff;--line:#e1e7ee;--ink:#0d1726;--muted:#647184;--accent:#f47721;--shadow:0 18px 48px rgba(15,23,42,.075)}
html{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
.content{width:100%;margin:0 auto;padding:30px 32px 44px}
.sidebar{background:linear-gradient(180deg,#0a1020 0%,#0d1426 100%);border-right:1px solid rgba(255,255,255,.05);box-shadow:12px 0 32px rgba(4,10,20,.06)}
.sidebar nav a{border:1px solid transparent;transition:background .16s ease,color .16s ease,border-color .16s ease}.sidebar nav a:hover{background:#151f34;border-color:rgba(255,255,255,.055)}
.topbar{height:84px;background:rgba(255,255,255,.94);box-shadow:0 1px 0 rgba(15,23,42,.025);backdrop-filter:blur(18px)}
.welcome,.hero-module{border:1px solid rgba(255,255,255,.07);background:linear-gradient(135deg,#0e1727 0%,#1b2940 100%);box-shadow:0 22px 54px rgba(15,23,42,.12)}
.card,.stat{border-color:var(--line);box-shadow:0 2px 10px rgba(15,23,42,.025)}.card{border-radius:18px;padding:22px}.stat{border-radius:17px;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
.stat-link:hover{transform:translateY(-2px);border-color:#d4dce6;box-shadow:0 14px 30px rgba(15,23,42,.07)}
input,select,textarea{min-height:43px;border-color:#cfd8e3;border-radius:11px;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}textarea{min-height:92px}input:hover,select:hover,textarea:hover{border-color:#b8c5d3}
input:focus,select:focus,textarea:focus{border-color:#f47721;box-shadow:0 0 0 3px rgba(244,119,33,.11)}
button,.primary{min-height:42px;border-radius:11px;transition:transform .14s ease,filter .14s ease,box-shadow .14s ease}.primary{box-shadow:0 6px 16px rgba(244,119,33,.16)}.primary:hover{filter:brightness(.98);transform:translateY(-1px);box-shadow:0 9px 20px rgba(244,119,33,.2)}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(244,119,33,.25);outline-offset:2px}
.table-wrap{border-radius:14px;background:#fff}th{background:#f7f9fb;color:#526174}tbody tr{transition:background .12s ease}tbody tr:hover{background:#fafbfd}
.module-list a,.tenant-list a,.plan-grid a,.module-admin-item{transition:border-color .15s ease,background .15s ease,transform .15s ease}.module-list a:hover,.tenant-list a:hover,.plan-grid a:hover{transform:translateY(-1px)}
@media(max-width:700px){.content{padding:18px 14px 34px}.topbar{padding:14px 16px}.welcome,.hero-module{border-radius:16px}.card{padding:17px;border-radius:15px}.stats{gap:10px}.stat{padding:15px}.sidebar nav{scrollbar-width:none}}

/* Autobahn Core Calendar 1.1.9 */
.calendar-core-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:16px}.calendar-core-head h2{margin:3px 0 5px}.calendar-core-head p{margin:0;color:var(--muted,#687984);max-width:760px}.calendar-core-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}.calendar-core-kpis>div{background:#fff;border:1px solid #dde5e9;border-radius:14px;padding:13px 15px}.calendar-core-kpis span,.calendar-core-kpis small{display:block;color:#70818a;font-size:.8125rem}.calendar-core-kpis strong{display:block;margin:4px 0;font-size:21px}
.calendar-core-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;background:#fff;border:1px solid #dde5e9;border-radius:14px;padding:10px 12px;margin-bottom:14px}.calendar-core-views{display:flex;background:#f1f5f7;border-radius:10px;padding:3px}.calendar-core-views a{padding:7px 11px;border-radius:8px;color:#536a75;font-size:.875rem;font-weight:800}.calendar-core-views a.active{background:#fff;color:#0c6a93;box-shadow:0 1px 5px #163b5014}.calendar-core-filter{display:flex;gap:7px;flex-wrap:wrap}.calendar-core-filter input,.calendar-core-filter select,.calendar-core-filter button{border:1px solid #d7e1e6;border-radius:8px;background:#fff;padding:8px 9px}.calendar-core-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(330px,.55fr);gap:14px}.calendar-core-main{padding:0;overflow:hidden}.calendar-core-side{display:grid;gap:14px;align-content:start}.calendar-core-period{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border-bottom:1px solid #e4eaed}.calendar-core-period a{font-size:24px;color:#3c6578}
.calendar-core-weekdays,.calendar-core-month{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.calendar-core-weekdays span{padding:8px;text-align:center;color:#71818a;font-size:.8125rem;font-weight:800;border-bottom:1px solid #e4eaed}.calendar-core-day{min-height:128px;border-right:1px solid #e7edef;border-bottom:1px solid #e7edef;padding:7px;background:#fff}.calendar-core-day.today{background:#f2f9fc}.calendar-core-day.empty{background:#fafcfd}.calendar-core-day header{display:flex;justify-content:space-between;margin-bottom:6px}.calendar-core-day article,.calendar-core-week article{display:grid;gap:2px;padding:6px 7px;margin-bottom:5px;border-left:3px solid #4f91ad;border-radius:7px;background:#eef6f9;cursor:grab}.calendar-core-day article time,.calendar-core-day article small,.calendar-core-week article time,.calendar-core-week article small{font-size:.8125rem;color:#657983}.calendar-core-day article strong,.calendar-core-week article strong{font-size:.8125rem}.calendar-core-more{font-size:.8125rem;font-weight:800;color:#0a6c96}.calendar-core-week{display:grid;grid-template-columns:repeat(7,minmax(130px,1fr));overflow-x:auto;min-height:560px}.calendar-core-week>section{padding:8px;border-right:1px solid #e7edef}.calendar-core-week>section.today{background:#f3f9fc}.calendar-core-week>section>header{display:flex;justify-content:space-between;margin-bottom:9px}.calendar-core-week>section>header a{display:grid}.calendar-core-free{padding:15px;text-align:center;color:#98a4aa;font-size:.8125rem}
.calendar-core-agenda h3{margin:0;padding:9px 15px;background:#f7f9fa;border-bottom:1px solid #e6ecef;font-size:.8125rem}.calendar-core-agenda>article{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 15px;border-bottom:1px solid #e8edef}.calendar-core-agenda time{display:grid;font-weight:900}.calendar-core-agenda time small,.calendar-core-agenda span,.calendar-core-agenda div small{color:#71828b;font-size:.8125rem}.calendar-core-agenda form{display:flex;gap:5px}.calendar-core-agenda button{border:1px solid #d7e1e6;border-radius:7px;background:#fff;padding:6px 8px}.calendar-core-empty{display:grid;place-items:center;min-height:250px;color:#788992}.calendar-core-slots{display:grid;grid-template-columns:1fr 1fr;gap:7px}.calendar-core-slots span{display:flex;justify-content:space-between;gap:8px;border:1px solid #e0e7ea;border-radius:9px;padding:8px}.calendar-core-slots strong,.calendar-core-slots b{font-size:.8125rem}.calendar-core-slots b{color:#0a6d96}
.calendar-core-form{display:grid;gap:10px}.calendar-core-form label{display:grid;gap:5px;font-size:.8125rem;font-weight:750}.calendar-core-form input,.calendar-core-form select,.calendar-core-form textarea,.calendar-core-inline-form input,.calendar-core-inline-form select{width:100%;border:1px solid #d5e0e5;border-radius:9px;padding:9px;background:#fff}.calendar-core-inline-form{display:grid;grid-template-columns:1.2fr 1fr 110px 80px auto;gap:7px;margin-top:10px}.calendar-core-resources,.calendar-core-links{display:grid;gap:7px}.calendar-core-resources article,.calendar-core-links article{display:flex;justify-content:space-between;gap:10px;align-items:center;border:1px solid #e0e7ea;border-radius:10px;padding:9px}.calendar-core-resources article.paused,.calendar-core-links article.paused{opacity:.55}.calendar-core-resources small,.calendar-core-links small,.calendar-core-links code{display:block;color:#71828b;font-size:.8125rem}.calendar-core-resources button,.calendar-core-links button,.calendar-core-inline-form button{border:1px solid #d5e0e5;background:#fff;border-radius:8px;padding:7px 9px}.calendar-core-dragging{opacity:.45}.calendar-core-drop{outline:2px dashed #4da3c6;outline-offset:-3px;background:#edf8fc!important}
@media(max-width:1100px){.calendar-core-layout{grid-template-columns:1fr}.calendar-core-kpis{grid-template-columns:repeat(2,1fr)}.calendar-core-toolbar{align-items:stretch;flex-direction:column}.calendar-core-filter{display:grid;grid-template-columns:1fr 1fr 1fr auto}}
@media(max-width:650px){.calendar-core-head{display:grid}.calendar-core-kpis{grid-template-columns:1fr 1fr}.calendar-core-views{display:grid;grid-template-columns:repeat(4,1fr)}.calendar-core-views a{text-align:center}.calendar-core-filter{grid-template-columns:1fr}.calendar-core-weekdays{display:none}.calendar-core-month{grid-template-columns:1fr}.calendar-core-day.empty{display:none}.calendar-core-day{min-height:0}.calendar-core-inline-form{grid-template-columns:1fr}.calendar-core-slots{grid-template-columns:1fr}.calendar-core-agenda>article{grid-template-columns:52px 1fr}.calendar-core-agenda form{grid-column:2}.calendar-core-week{grid-template-columns:repeat(7,minmax(150px,1fr))}}

.calendar-core-head-actions{display:flex;gap:8px;align-items:center}.calendar-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 11px;border:1px solid #d7e1e6;border-radius:9px;background:#fff;color:#466270;font-size:.8125rem;font-weight:800}.calendar-quick-add{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px;align-items:center;margin-bottom:12px;padding:9px 10px;border:1px solid #dde5e9;border-radius:13px;background:#fff}.calendar-quick-add>span{display:grid;width:32px;height:32px;place-items:center;border-radius:9px;background:#fff5e9}.calendar-quick-add input{min-height:38px;border:0;background:#f7f9fa}.calendar-quick-add button{min-height:38px}.calendar-today{color:#0a6d96!important}.calendar-core-event{display:grid;gap:2px;padding:6px 7px;margin-bottom:5px;border-left:3px solid #4f91ad;border-radius:7px;background:#eef6f9;cursor:grab;transition:transform .12s ease,box-shadow .12s ease}.calendar-core-event:hover{transform:translateY(-1px);box-shadow:0 5px 15px rgba(19,61,82,.08)}.calendar-core-event.status-tentative{border-left-color:#d49a27;background:#fff8e8}.calendar-core-event.status-cancelled{opacity:.5;text-decoration:line-through}.calendar-core-event.status-done{border-left-color:#55a374;background:#eff9f3}.calendar-core-event time,.calendar-core-event small{font-size:.8125rem;color:#657983}.calendar-core-event strong{font-size:.8125rem}.calendar-core-day-events,.calendar-core-week-list{display:grid;align-content:start}
.calendar-core-day-focus>header{display:flex;justify-content:space-between;align-items:flex-start;padding:18px;border-bottom:1px solid #e5ebee}.calendar-core-day-focus h2{margin:3px 0 0}.calendar-core-day-timeline{display:grid}.calendar-core-agenda-row{display:grid;grid-template-columns:70px minmax(0,1fr) auto;gap:12px;align-items:center;padding:13px 16px;border-bottom:1px solid #e8edef}.calendar-core-agenda-row>time{display:grid;font-weight:900}.calendar-core-agenda-row>time small,.calendar-core-agenda-row span,.calendar-core-agenda-row div small{color:#71828b;font-size:.8125rem}.calendar-row-actions{display:flex;gap:5px;align-items:center}.calendar-row-actions form{margin:0}.calendar-row-actions a,.calendar-row-actions button{border:1px solid #d7e1e6;border-radius:7px;background:#fff;padding:6px 8px;font-size:.8125rem;font-weight:800}.calendar-row-actions a:hover,.calendar-row-actions button:hover{background:#f6f9fa}.calendar-assistant p{font-size:.8125rem}.calendar-core-slots button{display:flex;justify-content:space-between;gap:8px;border:1px solid #e0e7ea;border-radius:9px;padding:8px;background:#fff;text-align:left}.calendar-core-slots button:hover{border-color:#9bc8d9;background:#f4fafc}.calendar-core-slots button strong,.calendar-core-slots button b{font-size:.8125rem}.calendar-core-slots button b{color:#0a6d96}
.calendar-day-plan{background:linear-gradient(150deg,#0e2230,#173f54);color:#fff;border:0}.calendar-day-plan .eyebrow{color:#7bc5e5}.calendar-day-plan h2{color:#fff}.calendar-plan-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:12px}.calendar-plan-grid>div{padding:10px;border:1px solid rgba(255,255,255,.12);border-radius:10px;background:rgba(255,255,255,.06)}.calendar-plan-grid strong,.calendar-plan-grid span{display:block}.calendar-plan-grid strong{font-size:18px}.calendar-plan-grid span{margin-top:2px;color:#bfd2dc;font-size:.8125rem}.calendar-next{display:grid;gap:2px;margin-top:10px;padding-top:10px;border-top:1px solid rgba(255,255,255,.12)}.calendar-next span{color:#b8cdd7;font-size:.8125rem}.calendar-next strong{font-size:.8125rem}.calendar-check{display:flex!important;flex-direction:row!important;align-items:center;gap:8px!important}.calendar-check input{width:auto;min-height:auto}.calendar-advanced{border:1px solid #e2e9ed;border-radius:10px;padding:9px 10px}.calendar-advanced summary{cursor:pointer;color:#47626f;font-size:.8125rem;font-weight:850}.calendar-advanced[open] summary{margin-bottom:10px}.calendar-edit-actions{display:grid;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid #e5ebee}.calendar-edit-actions form{display:flex;flex-wrap:wrap;gap:6px}.calendar-edit-actions button{min-height:34px;padding:7px 9px;border:1px solid #d7e1e6;background:#fff;font-size:.8125rem}.calendar-edit-actions button.danger{color:#a32929;border-color:#efc5c5;background:#fff6f6}
.calendar-blackouts{display:grid;gap:7px;margin-top:12px}.calendar-blackouts article{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:9px 10px;border:1px solid #e0e7ea;border-radius:10px}.calendar-blackouts strong,.calendar-blackouts small{display:block}.calendar-blackouts small{margin-top:2px;color:#71828b;font-size:.8125rem}.calendar-blackouts form{margin:0}.calendar-blackouts button{min-height:32px;padding:6px 8px;border:1px solid #d7e1e6;background:#fff;font-size:.8125rem}.calendar-resource-actions,.calendar-link-actions{display:flex;gap:5px;align-items:center;flex-wrap:wrap}.calendar-resource-actions form,.calendar-link-actions form{margin:0}.calendar-resource-actions a,.calendar-link-actions a,.calendar-resource-actions button,.calendar-link-actions button{min-height:30px;padding:6px 8px;border:1px solid #d7e1e6;border-radius:7px;background:#fff;color:#466270;font-size:.8125rem;font-weight:800}.calendar-availability-editor,.calendar-link-editor{margin-top:13px;padding-top:13px;border-top:1px solid #e5ebee}.calendar-availability-editor h3,.calendar-link-editor h3,.calendar-link-availability h3{margin:3px 0 7px}.calendar-hours-grid{display:grid;gap:7px}.calendar-hours-day{display:grid;grid-template-columns:88px 1fr 1fr;gap:7px;align-items:center;padding:7px 0;border-bottom:1px solid #edf1f3}.calendar-hours-day>strong{font-size:.8125rem}.calendar-hours-period{display:grid!important;grid-template-columns:auto auto minmax(74px,1fr) auto minmax(74px,1fr);gap:5px!important;align-items:center;font-size:.8125rem!important;font-weight:700!important}.calendar-hours-period>input[type="checkbox"]{width:auto;min-height:auto}.calendar-hours-period>input[type="time"]{min-height:34px;padding:6px;font-size:.8125rem}.calendar-link-security{margin-top:9px}.calendar-link-security form{margin:0}.calendar-link-security button{border:1px solid #e8c9a8;background:#fff9f2;color:#9c5b1e}.calendar-link-availability{margin-top:14px;padding-top:14px;border-top:1px solid #e5ebee}.calendar-option-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.calendar-option-grid label{display:flex;flex-direction:row;align-items:center;gap:7px;padding:8px;border:1px solid #e0e7ea;border-radius:9px;font-size:.8125rem}.calendar-option-grid input{width:auto;min-height:auto}.calendar-core-links article>div:first-child{min-width:0}.calendar-core-links code{max-width:310px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.split{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
@media(max-width:1100px){.calendar-hours-day{grid-template-columns:84px 1fr}.calendar-hours-period{grid-column:2}.calendar-core-head-actions{flex-wrap:wrap}.calendar-core-links article{align-items:flex-start;flex-direction:column}.calendar-link-actions{width:100%}}
@media(max-width:650px){.calendar-core-head-actions{width:100%}.calendar-core-head-actions>*{flex:1}.calendar-quick-add{grid-template-columns:auto 1fr}.calendar-quick-add button{grid-column:1/-1}.calendar-core-views{grid-template-columns:repeat(5,1fr)}.calendar-core-day-focus>header{padding:14px}.calendar-core-agenda-row{grid-template-columns:56px 1fr}.calendar-row-actions{grid-column:2}.calendar-hours-day{grid-template-columns:1fr}.calendar-hours-period{grid-column:auto;grid-template-columns:auto auto 1fr auto 1fr}.calendar-option-grid{grid-template-columns:1fr}.calendar-plan-grid{grid-template-columns:repeat(3,1fr)}.calendar-core-links code{max-width:220px}.calendar-core-inline-form{grid-template-columns:1fr}.calendar-edit-actions form{display:grid;grid-template-columns:1fr 1fr}.split{align-items:flex-start}.calendar-core-filter select,.calendar-core-filter input,.calendar-core-filter button{width:100%}}

/* Autobahn Core notifications */
.top-actions{display:flex;align-items:center;gap:10px}.top-notification{position:relative;display:grid;width:40px;height:40px;place-items:center;border:1px solid var(--line);border-radius:12px;background:#fff;font-size:16px}.top-notification b{position:absolute;right:-5px;top:-5px;display:grid;min-width:19px;height:19px;place-items:center;border-radius:999px;background:var(--accent);color:#fff;font-size:.8125rem;padding:0 5px}.notification-list{display:grid;gap:10px;margin-top:18px}.notification-list article{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 16px;border:1px solid var(--line);border-radius:14px;background:#fff}.notification-list article.unread{border-color:#fdba74;background:#fffaf5}.notification-list article>div:first-child{display:grid;gap:4px}.notification-list article span,.notification-list article small{color:var(--muted);font-size:.875rem}.notification-actions{display:flex;align-items:center;gap:8px}.notification-actions form{margin:0}.notification-actions a,.notification-actions button{border:1px solid var(--line);border-radius:9px;padding:7px 9px;background:#fff;font-size:.875rem;font-weight:800}
@media(max-width:700px){.notification-list article{align-items:flex-start;flex-direction:column}.notification-actions{width:100%}.notification-actions a,.notification-actions form,.notification-actions button{width:100%}}

/* Autobahn Calendar 1.1.9 – resource schedule + safe trash */
.calendar-schedule-wrap{overflow:auto;background:#fff}.calendar-schedule-head{display:grid;grid-template-columns:58px repeat(var(--schedule-cols,8),minmax(150px,1fr));position:sticky;top:0;z-index:5;min-width:max-content;border-bottom:1px solid #dfe7eb;background:#fff}.calendar-schedule-head>span{min-width:150px;padding:10px 9px;border-left:1px solid #e5ebee}.calendar-schedule-head .calendar-schedule-time-head{min-width:58px;border-left:0;color:#75858e;font-size:.8125rem}.calendar-schedule-head strong,.calendar-schedule-head small{display:block}.calendar-schedule-head strong{font-size:.8125rem}.calendar-schedule-head small{color:#7b8990;font-size:.8125rem;margin-top:2px}.calendar-schedule-body{display:flex;min-width:max-content;height:1440px;position:relative}.calendar-schedule-time-axis{position:relative;flex:0 0 58px;width:58px;height:1440px;background:#fafcfd;border-right:1px solid #dfe7eb}.calendar-schedule-time-axis span{position:absolute;top:var(--cal-y);right:7px;transform:translateY(-7px);font-size:.8125rem;color:#7d8b92}.calendar-schedule-lane{position:relative;flex:0 0 170px;width:170px;height:1440px;border-right:1px solid #e6ecef;background:repeating-linear-gradient(to bottom,#fff 0,#fff 59px,#edf1f3 60px)}.calendar-schedule-lane:before{content:'';position:absolute;inset:0;background:repeating-linear-gradient(to bottom,transparent 0,transparent 29px,#f5f7f8 30px);pointer-events:none}.calendar-schedule-event{position:absolute;z-index:2;left:5px;right:5px;top:var(--cal-top);height:var(--cal-height);min-height:24px;overflow:hidden;border-left:3px solid #3183a8;border-radius:7px;background:#eaf5fa;padding:5px 6px;box-shadow:0 1px 4px rgba(15,55,75,.08);color:#173746}.calendar-schedule-event:hover{z-index:4;box-shadow:0 8px 20px rgba(15,55,75,.16)}.calendar-schedule-event time,.calendar-schedule-event small{display:block;font-size:.8125rem;color:#647c87}.calendar-schedule-event strong{display:block;font-size:.8125rem;line-height:1.2}.calendar-schedule-event.status-tentative{border-left-color:#d59b2c;background:#fff8e8}.calendar-schedule-event.status-done{border-left-color:#4b9c6a;background:#eef8f2}.calendar-schedule-event.status-cancelled,.calendar-schedule-event.status-no_show{opacity:.48}.calendar-schedule-all-day{display:flex;gap:7px;align-items:center;flex-wrap:wrap;padding:9px 12px;border-top:1px solid #e1e8eb;background:#f8fafb}.calendar-schedule-all-day>strong{font-size:.8125rem;color:#647883}.calendar-schedule-all-day a{padding:5px 8px;border:1px solid #dce6ea;border-radius:7px;background:#fff;font-size:.8125rem;font-weight:800}.calendar-trash{margin-bottom:14px}.calendar-trash-list{display:grid;gap:8px;margin-top:12px}.calendar-trash-list article{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 11px;border:1px solid #e0e7ea;border-radius:10px;background:#fff}.calendar-trash-list strong,.calendar-trash-list small{display:block}.calendar-trash-list small{margin-top:3px;color:#75858e;font-size:.8125rem}.calendar-trash-list form{margin:0}.calendar-trash-list button{border:1px solid #cbdde5;border-radius:8px;background:#f5fafc;padding:7px 9px;font-size:.8125rem;font-weight:800}
@media(max-width:700px){.calendar-schedule-lane{flex-basis:145px;width:145px}.calendar-schedule-head>span{min-width:145px}.calendar-trash-list article{align-items:flex-start;flex-direction:column}.calendar-trash-list form,.calendar-trash-list button{width:100%}}

.calendar-schedule-head{display:flex}.calendar-schedule-head>.calendar-schedule-time-head{flex:0 0 58px;width:58px;min-width:58px}.calendar-schedule-head>span:not(.calendar-schedule-time-head){flex:0 0 170px;width:170px;min-width:170px}
@media(max-width:700px){.calendar-schedule-head>span:not(.calendar-schedule-time-head){flex-basis:145px;width:145px;min-width:145px}}

.calendar-team-assignment{display:grid;gap:8px}.calendar-team-mode-note{display:grid;gap:2px;padding:10px 11px;border:1px solid #cfe3ec;border-radius:10px;background:#f3f9fc}.calendar-team-mode-note strong{font-size:.8125rem;color:#0b668d}.calendar-team-mode-note span{font-size:.8125rem;color:#637985}.calendar-resource-pool{display:grid;gap:9px;padding:11px;border:1px solid #dce7eb;border-radius:11px;background:#fafcfd}.calendar-resource-pool[hidden]{display:none!important}.calendar-resource-pool-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.calendar-resource-pool-head>div{display:grid;gap:2px}.calendar-resource-pool-head strong{font-size:.8125rem}.calendar-resource-pool-head small,.calendar-team-hint{font-size:.8125rem;color:#70818a}.calendar-resource-pool-head>span{flex:0 0 auto;padding:4px 7px;border-radius:999px;background:#eef5f8;color:#436b7e;font-size:.8125rem;font-weight:850}.calendar-team-grid{display:grid;gap:7px}.calendar-team-resource{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:10px!important;align-items:center;padding:9px 10px;border:1px solid #e0e7ea;border-radius:9px;background:#fff;font-size:.8125rem!important}.calendar-team-resource.selected{border-color:#9bc8d9;background:#f5fbfd}.calendar-team-resource-check{display:flex;gap:8px;align-items:center;min-width:0}.calendar-team-resource-check>input{width:auto!important;min-height:auto!important}.calendar-team-resource-check>span{display:grid;min-width:0}.calendar-team-resource-check strong{font-size:.8125rem}.calendar-team-resource-check small{color:#71828b;font-size:.8125rem;font-weight:600}.calendar-team-priority{display:flex;gap:6px;align-items:center;color:#6a7d86;font-size:.8125rem;font-weight:750}.calendar-team-priority input{width:64px!important;min-height:32px;padding:6px!important;text-align:center}.calendar-team-priority input:disabled{opacity:.45;background:#f3f5f6}.calendar-link-team{color:#4f7485!important}.calendar-team-hint{margin:0}.calendar-team-resource input:focus-visible{outline:2px solid #68a9c2;outline-offset:1px}
@media(max-width:650px){.calendar-resource-pool-head{display:grid}.calendar-resource-pool-head>span{justify-self:start}.calendar-team-resource{grid-template-columns:1fr}.calendar-team-priority{padding-left:26px}.calendar-team-priority input{width:72px!important}}
.calendar-audit-history{margin-top:12px;border-top:1px solid #e5ebee;padding-top:10px}.calendar-audit-history summary{cursor:pointer;font-size:.8125rem;font-weight:850;color:#466270}.calendar-audit-history>div{display:grid;gap:6px;margin-top:8px}.calendar-audit-history article{display:grid;grid-template-columns:108px minmax(0,1fr);gap:8px;padding:7px 8px;border:1px solid #e6ecef;border-radius:8px;background:#fafcfd}.calendar-audit-history time{font-size:.8125rem;color:#74858e}.calendar-audit-history strong,.calendar-audit-history small{display:block}.calendar-audit-history strong{font-size:.8125rem}.calendar-audit-history small{margin-top:2px;color:#72838c;font-size:.8125rem}@media(max-width:650px){.calendar-audit-history article{grid-template-columns:1fr}}

.calendar-resource-editor{display:grid;gap:10px;padding:11px;border:1px solid #dce7eb;border-radius:11px;background:#fafcfd}.calendar-resource-editor label{display:grid;gap:5px;font-size:.8125rem;font-weight:750}.calendar-resource-editor input,.calendar-resource-editor select{width:100%;border:1px solid #d5e0e5;border-radius:9px;padding:9px;background:#fff}.calendar-resource-editor input[readonly]{background:#f2f5f6;color:#6f7f87}.calendar-resource-editor small{font-size:.8125rem;color:#71828b;font-weight:600}.calendar-resource-hours{margin-top:14px;padding-top:14px;border-top:1px solid #e5ebee}.calendar-resource-dot{display:inline-block;width:8px;height:8px;margin-right:6px;border-radius:999px;background:#6f8792}.calendar-core-event.resource-color-blue,.calendar-schedule-event.resource-color-blue{border-left-color:#3183a8}.calendar-core-event.resource-color-green,.calendar-schedule-event.resource-color-green{border-left-color:#4b9c6a}.calendar-core-event.resource-color-orange,.calendar-schedule-event.resource-color-orange{border-left-color:#d58d2c}.calendar-core-event.resource-color-purple,.calendar-schedule-event.resource-color-purple{border-left-color:#8367b7}.calendar-core-event.resource-color-slate,.calendar-schedule-event.resource-color-slate{border-left-color:#70838d}.calendar-resource-dot.resource-color-blue{background:#3183a8}.calendar-resource-dot.resource-color-green{background:#4b9c6a}.calendar-resource-dot.resource-color-orange{background:#d58d2c}.calendar-resource-dot.resource-color-purple{background:#8367b7}.calendar-resource-dot.resource-color-slate{background:#70838d}

/* Autobahn Customer Core 1.1.9 */
.customer-core-hero{display:flex;justify-content:space-between;align-items:center;padding:26px 28px;border-radius:20px;background:linear-gradient(135deg,#101827,#202b42);color:#fff;margin-bottom:22px;box-shadow:var(--shadow)}
.customer-core-hero h2{font-size:28px;margin:5px 0}.customer-core-hero p{margin:0;color:#cbd5e1}.customer-core-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.customer-core-index{grid-template-columns:minmax(0,1.9fr) minmax(330px,.75fr)}
.customer-core-search{display:grid;grid-template-columns:minmax(220px,1fr) repeat(3,minmax(130px,.45fr)) auto;gap:8px;margin:14px 0}.customer-core-search input,.customer-core-search select,.customer-core-search button{min-height:40px;border:1px solid var(--line);border-radius:10px;padding:8px 10px;background:#fff}.customer-core-search button{font-weight:800;cursor:pointer}
.customer-core-list{display:grid;border:1px solid var(--line);border-radius:13px;overflow:hidden}.customer-core-row{display:grid;grid-template-columns:42px minmax(180px,1.2fr) minmax(180px,.9fr) minmax(120px,.8fr) 20px;gap:12px;align-items:center;padding:13px 14px;background:#fff;border-bottom:1px solid var(--line)}.customer-core-row:last-child{border-bottom:0}.customer-core-row:hover{background:#f8fafc}.customer-core-row.is-archived{opacity:.7;background:#f8fafc}.customer-core-avatar{display:grid;width:36px;height:36px;place-items:center;border-radius:11px;background:#e8eef7;color:#334155;font-size:.875rem;font-weight:900}.customer-core-avatar.large{width:48px;height:48px;border-radius:14px;background:#fff2e9;color:#c2410c;font-size:17px}.customer-core-row-main,.customer-core-row-contact{display:grid;gap:3px}.customer-core-row-main strong{font-size:.875rem}.customer-core-row-main small,.customer-core-row-contact,.customer-core-row-contact small{color:var(--muted);font-size:.8125rem}.customer-core-row-tags{display:flex;flex-wrap:wrap;gap:5px}.customer-core-chevron{font-size:23px;color:#94a3b8;text-align:right}.customer-tag{display:inline-flex;align-items:center;gap:4px;border-radius:999px;padding:4px 8px;background:#eef3f6;color:#4a6574;font-size:.8125rem;font-weight:800}.customer-core-empty{display:grid;gap:4px;padding:24px;text-align:center;color:var(--muted)}.customer-core-empty strong{color:#334155}.customer-core-empty.compact{padding:14px}.customer-core-create form,.customer-profile-grid form,.customer-core-side form,.customer-privacy-form{display:grid;gap:10px}.customer-core-create label,.customer-profile-grid label,.customer-core-side label,.customer-privacy-form label{display:grid;gap:5px;font-size:.8125rem;font-weight:750}.customer-core-create input,.customer-core-create select,.customer-core-create textarea,.customer-profile-grid input,.customer-profile-grid select,.customer-profile-grid textarea,.customer-core-side input,.customer-core-side select,.customer-core-side textarea,.customer-privacy-form input,.customer-privacy-form select,.customer-privacy-form textarea{width:100%;border:1px solid var(--line);border-radius:9px;padding:9px;background:#fff}.customer-core-create button,.customer-profile-grid button,.customer-core-side button,.customer-privacy-form button{border:1px solid #cbd5e1;border-radius:9px;padding:9px 11px;background:#fff;font-weight:800;cursor:pointer}.customer-core-create button.primary,.customer-profile-grid button.primary{background:#111827;color:#fff;border-color:#111827}
.customer-profile-head{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:16px}.customer-profile-title{display:grid;gap:10px}.customer-back{font-size:.8125rem;color:var(--muted);font-weight:800}.customer-profile-title>div{display:flex;gap:12px;align-items:center}.customer-profile-title h2{margin:2px 0;font-size:26px}.customer-profile-title p{margin:0;color:var(--muted);font-size:.8125rem}.customer-profile-actions form{margin:0}.customer-profile-actions button{border:1px solid var(--line);border-radius:10px;background:#fff;padding:9px 12px;font-weight:800;cursor:pointer}.customer-profile-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.customer-profile-nav{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 18px}.customer-profile-nav a{padding:7px 10px;border:1px solid var(--line);border-radius:999px;background:#fff;color:#475569;font-size:.8125rem;font-weight:800}.customer-profile-nav a:hover{border-color:#cbd5e1;background:#f8fafc}.customer-profile-grid{align-items:start}.customer-core-side hr{border:0;border-top:1px solid var(--line);margin:16px 0}.customer-tag-list{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}.customer-tag.removable{display:inline-flex!important;grid-template-columns:auto auto;gap:3px!important;margin:0;background:#eef3f6;padding:3px 5px 3px 8px}.customer-tag.removable button{border:0;background:transparent;padding:0 3px;color:#64748b}.customer-inline-form{grid-template-columns:1fr auto!important}.customer-mini-list{display:grid;gap:7px}.customer-mini-list>div{display:grid;gap:2px;padding:8px 9px;border:1px solid var(--line);border-radius:9px;background:#fafcfd}.customer-mini-list strong{font-size:.8125rem}.customer-mini-list span{font-size:.8125rem;color:var(--muted)}
.customer-duplicate-alert{display:grid;gap:7px;border:1px solid #f3c77b;border-radius:12px;background:#fff9ec;padding:13px 15px;margin-bottom:16px}.customer-duplicate-alert strong{font-size:.875rem;color:#8a5300}.customer-duplicate-alert>span{font-size:.8125rem;color:#7a6540}.customer-duplicate-alert>div{display:flex;gap:6px;flex-wrap:wrap}.customer-duplicate-alert a{font-size:.8125rem;font-weight:800;border:1px solid #ebd4a9;border-radius:8px;padding:6px 8px;background:#fff}
.customer-timeline{display:grid}.customer-timeline article{display:grid;grid-template-columns:28px 120px minmax(0,1fr);gap:10px;position:relative;padding:10px 0}.customer-timeline article:not(:last-child):before{content:'';position:absolute;left:13px;top:34px;bottom:-10px;width:1px;background:#dbe4e8}.customer-timeline-dot{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#eef3f6;color:#4a6574;font-size:.8125rem;font-weight:900;z-index:1}.customer-timeline time{font-size:.8125rem;color:#7a8b93;padding-top:5px}.customer-timeline article>div{display:grid;gap:2px}.customer-timeline strong{font-size:.8125rem}.customer-timeline span,.customer-timeline small{color:var(--muted);font-size:.8125rem}
.customer-timeline strong a{color:inherit;text-decoration:none}.customer-timeline strong a:hover{text-decoration:underline}.customer-timeline-degraded{margin:12px 0;padding:10px 12px;border:1px solid #e6d2a7;border-radius:10px;background:#fff9ec;color:#755918;font-size:.8125rem}
.customer-profile-degraded{margin:-6px 0 16px;padding:10px 12px;border:1px solid #e6d2a7;border-radius:10px;background:#fff9ec;color:#755918;font-size:.8125rem}.customer-federated-sections{align-items:start}.customer-federated-sections .customer-connected-list>a>span:last-child{text-align:right}.customer-federated-sections .customer-connected-list>a>span:last-child:empty{display:none}
/* #857: section items with a module image and actions on Customer 360. */
.customer-connected-list>.customer-connected-item{display:grid;grid-template-columns:minmax(110px,170px) minmax(0,1fr);gap:10px 12px;align-items:start;padding:10px;border:1px solid #dbe7ed;border-radius:10px;background:#fbfdfe}.customer-connected-list>.customer-connected-item.is-alert{border-color:#efc8c5;background:#fff7f6}.customer-connected-item:not(:has(>.customer-connected-media)){grid-template-columns:minmax(0,1fr)}.customer-connected-media{display:block}.customer-connected-media img{display:block;width:100%;height:auto;border-radius:4px}.customer-connected-text{display:grid;gap:6px;min-width:0;color:inherit}.customer-connected-text:hover strong{text-decoration:underline}.customer-connected-text>span{display:grid;gap:3px;min-width:0}.customer-connected-text>span:last-child:empty,.customer-connected-text>span:last-child:has(>strong:empty+small:empty){display:none}.customer-connected-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px;align-items:flex-start;min-width:0}.customer-connected-actions form{margin:0}.customer-connected-edit[open]{flex:1 1 100%}.customer-connected-edit>summary{list-style:none;cursor:pointer;width:max-content}.customer-connected-edit>summary::-webkit-details-marker{display:none}.customer-connected-edit form{display:grid;gap:8px;justify-items:start;margin-top:8px}.customer-connected-edit label{display:grid;gap:4px;width:100%;font-size:.8125rem;font-weight:750;text-align:left}.customer-connected-edit input{box-sizing:border-box;width:100%;height:auto}
@media(max-width:480px){.customer-connected-list>.customer-connected-item{grid-template-columns:minmax(0,1fr)}.customer-connected-media{max-width:260px}.customer-connected-actions>*{flex:1 1 auto}.customer-connected-actions form>.button,.customer-connected-actions>.button{width:100%}}
.customer-contact-cards,.customer-location-list,.customer-note-list,.customer-privacy-list,.customer-request-list{display:grid;gap:9px}.customer-contact-cards article,.customer-location-list article,.customer-note-list article,.customer-privacy-list article,.customer-request-list article{border:1px solid var(--line);border-radius:10px;padding:10px 11px;background:#fff}.customer-contact-cards article>div:first-child,.customer-privacy-list article>div,.customer-request-list article>div{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.customer-contact-cards strong,.customer-location-list strong,.customer-note-list strong,.customer-privacy-list strong,.customer-request-list strong{font-size:.8125rem}.customer-contact-cards span,.customer-location-list span,.customer-privacy-list span{font-size:.8125rem;color:var(--muted)}.customer-contact-cards article>div:last-child{display:grid;gap:2px;margin-top:6px}.customer-contact-cards small,.customer-location-list small,.customer-note-list small,.customer-privacy-list small,.customer-request-list small{font-size:.8125rem;color:var(--muted)}.customer-location-list article p,.customer-note-list article p{font-size:.8125rem;line-height:1.45;margin:6px 0 0;color:#475569}.customer-note-list article.pinned{border-color:#fdba74;background:#fffaf5}.customer-checks{display:flex;gap:12px;flex-wrap:wrap}.customer-checks label,.customer-check{display:flex!important;align-items:center;gap:6px!important;font-size:.8125rem!important}.customer-checks input,.customer-check input{width:auto!important}.customer-privacy-form{margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}.customer-request-list article{display:grid;gap:5px}.customer-request-list form{margin:0}.customer-request-list button{font-size:.8125rem;padding:6px 8px;width:max-content}
@media(max-width:1100px){.customer-core-index,.customer-profile-grid{grid-template-columns:1fr}.customer-core-create.sticky-card{position:static}.customer-core-search{grid-template-columns:1fr 1fr}.customer-core-search input{grid-column:1/-1}.customer-core-search button{grid-column:1/-1}.customer-core-row{grid-template-columns:42px minmax(160px,1fr) minmax(160px,1fr) 20px}.customer-core-row-tags{display:none}}
@media(max-width:760px){.customer-core-hero,.customer-profile-head{align-items:flex-start;flex-direction:column}.customer-core-stats,.customer-profile-stats{grid-template-columns:1fr 1fr}.customer-core-search{grid-template-columns:1fr}.customer-core-search input,.customer-core-search button{grid-column:auto}.customer-core-row{grid-template-columns:36px minmax(0,1fr) 20px}.customer-core-row-contact{display:none}.customer-profile-title h2{font-size:21px}.customer-profile-nav{overflow:auto;flex-wrap:nowrap;padding-bottom:4px}.customer-profile-nav a{flex:0 0 auto}.customer-timeline article{grid-template-columns:28px 1fr}.customer-timeline time{grid-column:2;padding-top:0}.customer-contact-cards article>div:first-child,.customer-privacy-list article>div,.customer-request-list article>div{display:grid}.form-row{grid-template-columns:1fr!important}}
.customer-core-side-stack{display:grid;gap:18px;align-content:start}.customer-core-side-stack>.sticky-card{position:sticky;top:16px}.customer-custom-definition-list{display:grid;gap:7px;margin:12px 0 14px}.customer-custom-definition-list>div{display:flex;justify-content:space-between;gap:10px;padding:8px 9px;border:1px solid var(--line);border-radius:9px;background:#fafcfd}.customer-custom-definition-list strong{font-size:.8125rem}.customer-custom-definition-list small{font-size:.8125rem;color:var(--muted)}
.customer-custom-fields{margin:18px 0}.customer-custom-fields-form{display:grid;gap:12px}.customer-custom-fields-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.customer-custom-fields-grid label{display:grid;gap:5px;font-size:.8125rem;font-weight:750}.customer-custom-fields-grid input,.customer-custom-fields-grid select,.customer-custom-fields-grid textarea{width:100%;border:1px solid var(--line);border-radius:9px;padding:9px;background:#fff}.customer-custom-fields-grid small{font-size:.8125rem;color:var(--muted);font-weight:600}.customer-boolean-field{display:flex;gap:7px;align-items:center;min-height:39px;padding:8px 10px;border:1px solid var(--line);border-radius:9px;background:#fff;font-size:.8125rem;font-weight:700}.customer-boolean-field input[type=checkbox]{width:auto}.customer-custom-fields-form>button{justify-self:start;border:1px solid #111827;border-radius:9px;padding:9px 12px;background:#111827;color:#fff;font-weight:800;cursor:pointer}
.customer-duplicate-choice{display:flex;gap:5px;align-items:center;flex-wrap:wrap}.customer-duplicate-alert .merge-link{background:#fff3dd;border-color:#e5bd73;color:#805000}.customer-merge-page{display:grid;gap:16px}.customer-merge-direction{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:14px;align-items:center}.customer-merge-direction>div{display:grid;gap:4px;padding:18px;border:1px solid var(--line);border-radius:14px;background:#fff}.customer-merge-direction>div.target{border-color:#a7d3bd;background:#f4fbf7}.customer-merge-direction span,.customer-merge-direction small{font-size:.8125rem;color:var(--muted)}.customer-merge-direction strong{font-size:17px}.customer-merge-arrow{font-size:26px;color:#64748b}.customer-merge-counts{display:grid;gap:7px}.customer-merge-counts>div{display:flex;justify-content:space-between;gap:12px;padding:8px 9px;border:1px solid var(--line);border-radius:9px;background:#fafcfd}.customer-merge-counts code{font-size:.8125rem}.customer-merge-counts strong{font-size:.8125rem}.customer-merge-fill{display:flex;flex-wrap:wrap;gap:6px}.customer-merge-fill span{padding:6px 8px;border-radius:999px;background:#eef3f6;color:#4a6574;font-size:.8125rem;font-weight:800}.customer-merge-confirm form{display:grid;gap:12px}.customer-merge-confirm button.primary{justify-self:start;border:1px solid #9f1239;border-radius:9px;padding:10px 13px;background:#be123c;color:#fff;font-weight:850;cursor:pointer}.customer-merge-ack{padding:10px 11px;border:1px solid #f1c1cd;border-radius:10px;background:#fff7f9}
@media(max-width:1100px){.customer-core-side-stack>.sticky-card{position:static}}
@media(max-width:760px){.customer-custom-fields-grid,.customer-merge-direction{grid-template-columns:1fr}.customer-merge-arrow{text-align:center;transform:rotate(90deg)}}

.calendar-core-layout.calendar-core-layout-stacked{display:block}.calendar-core-layout-stacked .calendar-core-main{width:100%;margin-bottom:16px}.calendar-widget-header{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:8px 0 12px}.calendar-widget-header h2{margin:3px 0 4px;font-size:19px}.calendar-widget-header p{margin:0;color:var(--muted);font-size:.8125rem}.calendar-widget-toolbar{display:flex;gap:7px;flex-wrap:wrap}.calendar-widget-toolbar button.is-active{border-color:#f59e0b;background:#fff7ed;color:#9a4b0d}.calendar-widget-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:14px;align-items:start}.calendar-widget{position:relative;min-width:0;margin:0;transition:box-shadow .15s ease,transform .15s ease,border-color .15s ease}.calendar-widget[data-widget-size="third"]{grid-column:span 4}.calendar-widget[data-widget-size="half"]{grid-column:span 6}.calendar-widget[data-widget-size="two-thirds"]{grid-column:span 8}.calendar-widget[data-widget-size="full"]{grid-column:1/-1}.calendar-widget.is-layout-edit{outline:1px dashed #a9bcc6;outline-offset:3px}.calendar-widget.is-widget-dragging{opacity:.5;transform:scale(.99)}.calendar-widget.is-widget-drop{border-color:#62a8c5;box-shadow:0 0 0 3px rgba(76,153,186,.15)}.calendar-widget-controls{position:absolute;top:10px;right:10px;z-index:5;display:flex;gap:4px;align-items:center}.calendar-widget-controls button{display:none;width:29px;height:29px;min-height:0;padding:0;border:1px solid #d7e1e6;border-radius:8px;background:rgba(255,255,255,.96);color:#526a76;font-size:.875rem;font-weight:900;box-shadow:0 2px 7px rgba(15,23,42,.06)}.calendar-widget-controls .calendar-widget-collapse{display:grid;place-items:center}.calendar-widget-grid.is-layout-edit .calendar-widget-controls button{display:grid;place-items:center}.calendar-widget-grip{cursor:grab}.calendar-widget-grip:active{cursor:grabbing}.calendar-widget:not(.is-collapsed){padding-right:max(20px,118px)}.calendar-widget.calendar-day-plan:not(.is-collapsed){padding-right:118px}.calendar-widget.is-collapsed{min-height:58px;padding:16px 120px 16px 18px;display:flex;align-items:center}.calendar-widget.is-collapsed>*:not(.calendar-widget-controls){display:none!important}.calendar-widget.is-collapsed:before{content:attr(data-widget-title);display:block;font-size:.875rem;font-weight:850;color:#334155}.calendar-widget.calendar-day-plan.is-collapsed:before{color:#fff}.calendar-widget.is-collapsed .calendar-widget-collapse{display:grid}.calendar-widget-empty{display:grid;gap:3px;padding:13px;border:1px dashed #d4e0e5;border-radius:10px;background:#fafcfd}.calendar-widget-empty strong{font-size:.8125rem}.calendar-widget-empty span{color:var(--muted);font-size:.8125rem}.calendar-booking-request-list{display:grid;gap:8px}.calendar-booking-request-list article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px 11px;border:1px solid #e0e7ea;border-radius:10px;background:#fff}.calendar-booking-request-list article>div:first-child{display:grid;gap:2px;min-width:0}.calendar-booking-request-list strong{font-size:.8125rem}.calendar-booking-request-list small,.calendar-booking-request-list span{font-size:.8125rem;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.calendar-booking-request-actions{display:flex;align-items:center;gap:5px;flex-wrap:wrap;justify-content:flex-end}.calendar-booking-request-actions form{margin:0}.calendar-booking-request-actions a,.calendar-booking-request-actions button{min-height:30px;padding:6px 8px;border:1px solid #d7e1e6;border-radius:7px;background:#fff;color:#466270;font-size:.8125rem;font-weight:800}.calendar-booking-request-actions .primary{background:var(--accent);border-color:var(--accent);color:#fff}.calendar-widget-grid.is-layout-edit .calendar-widget{user-select:none}.calendar-widget-grid.is-layout-edit .calendar-widget input,.calendar-widget-grid.is-layout-edit .calendar-widget select,.calendar-widget-grid.is-layout-edit .calendar-widget textarea,.calendar-widget-grid.is-layout-edit .calendar-widget form button:not(.calendar-widget-controls button),.calendar-widget-grid.is-layout-edit .calendar-widget a{pointer-events:none}.calendar-widget-layout-note{display:none}.calendar-widget-grid.is-layout-edit+.calendar-widget-layout-note{display:block}
@media(max-width:1200px){.calendar-widget[data-widget-size="third"]{grid-column:span 6}.calendar-widget[data-widget-size="two-thirds"]{grid-column:span 12}.calendar-widget[data-widget-size="half"]{grid-column:span 6}}
@media(max-width:760px){.calendar-widget-header{align-items:flex-start;flex-direction:column}.calendar-widget-toolbar{width:100%}.calendar-widget-toolbar button{flex:1}.calendar-widget-grid{grid-template-columns:1fr}.calendar-widget[data-widget-size]{grid-column:1/-1}.calendar-widget:not(.is-collapsed){padding-right:20px;padding-top:54px}.calendar-widget-controls{left:12px;right:auto;top:12px}.calendar-booking-request-list article{grid-template-columns:1fr}.calendar-booking-request-actions{justify-content:flex-start}.calendar-widget.is-collapsed{padding-right:16px;padding-top:54px}.calendar-widget.is-collapsed:before{width:100%}}

.calendar-widget-grid{grid-auto-flow:row dense;min-height:220px}.calendar-widget-grid[data-workspace-density="compact"]{gap:8px}.calendar-widget-grid[data-workspace-density="comfortable"]{gap:20px}.calendar-widget-grid.is-layout-edit{min-height:480px;padding:14px;border:1px dashed #b9cbd4;border-radius:16px;background-color:#f8fbfc;background-image:linear-gradient(to right,rgba(102,137,153,.07) 1px,transparent 1px),linear-gradient(to bottom,rgba(102,137,153,.07) 1px,transparent 1px);background-size:calc((100% - 154px)/12 + 14px) 72px}.calendar-widget-grid.is-layout-edit:empty:after{content:'Dra in widgets hit';display:grid;min-height:220px;place-items:center;color:#78909c;font-size:.875rem;font-weight:800}.calendar-widget[hidden]{display:none!important}.calendar-kpi-widget,.calendar-quick-widget{position:relative}.calendar-quick-widget .calendar-quick-add{margin:0}.calendar-kpi-widget.is-layout-edit,.calendar-quick-widget.is-layout-edit{border:1px dashed #a9bcc6;border-radius:14px;padding:8px}.calendar-widget:not(.is-collapsed){padding-right:20px}.calendar-widget-grid.is-layout-edit .calendar-widget:not(.is-collapsed){padding-right:224px}.calendar-core-main.calendar-widget{overflow:visible}.calendar-core-main.calendar-widget.is-collapsed{padding:16px 120px 16px 18px}.calendar-widget-controls{flex-wrap:nowrap}.calendar-widget-grid:not(.is-layout-edit) .calendar-widget-controls .calendar-widget-hide,.calendar-widget-grid:not(.is-layout-edit) .calendar-widget-controls .calendar-widget-left,.calendar-widget-grid:not(.is-layout-edit) .calendar-widget-controls .calendar-widget-right,.calendar-widget-grid:not(.is-layout-edit) .calendar-widget-controls .calendar-widget-size,.calendar-widget-grid:not(.is-layout-edit) .calendar-widget-controls .calendar-widget-grip{display:none!important}
.calendar-widget-picker{position:fixed;inset:0;z-index:1200;background:rgba(15,23,42,.34);backdrop-filter:blur(2px)}.calendar-widget-picker[hidden]{display:none!important}.calendar-widget-picker-panel{position:absolute;top:0;right:0;width:min(430px,94vw);height:100%;display:flex;flex-direction:column;background:#fff;box-shadow:-24px 0 60px rgba(15,23,42,.18);padding:22px}.calendar-widget-picker-head{display:flex;justify-content:space-between;gap:16px;padding-bottom:16px;border-bottom:1px solid var(--line)}.calendar-widget-picker-head h2{margin:4px 0 5px}.calendar-widget-picker-head p{margin:0;color:var(--muted);font-size:.8125rem}.calendar-widget-picker-close{width:36px;height:36px;border:1px solid var(--line);border-radius:10px;background:#fff;font-size:20px;color:#4b6472;cursor:pointer}.calendar-widget-picker-options{display:grid;gap:8px;overflow:auto;padding:16px 2px;flex:1}.calendar-widget-option{display:grid!important;grid-template-columns:auto minmax(0,1fr);gap:11px!important;align-items:center;padding:11px 12px;border:1px solid var(--line);border-radius:11px;background:#fbfdfe;cursor:pointer}.calendar-widget-option:hover{border-color:#a8c9d7;background:#f5fbfd}.calendar-widget-option input{width:18px!important;height:18px!important;min-height:0!important}.calendar-widget-option span{display:grid;gap:2px}.calendar-widget-option strong{font-size:.8125rem}.calendar-widget-option small{font-size:.8125rem;color:var(--muted);font-weight:600}.calendar-widget-picker-footer{display:flex;align-items:end;justify-content:space-between;gap:12px;padding-top:14px;border-top:1px solid var(--line)}.calendar-widget-picker-footer label{display:grid;gap:5px;font-size:.8125rem;font-weight:800}.calendar-widget-picker-footer select{min-width:140px}.calendar-widget-picker-open{overflow:hidden}.calendar-widget-layout-note{margin:10px 0 0;padding:8px 10px;border:1px dashed #c8d7de;border-radius:9px;background:#f8fbfc;color:#67808d;font-size:.8125rem}
@media(max-width:699px){.calendar-widget-grid.is-layout-edit{background-image:none}.calendar-widget-grid .calendar-widget{grid-column:1/-1!important}}
@media(max-width:699px){.calendar-widget-grid .calendar-widget{grid-column:1/-1!important}.calendar-widget-grid.is-layout-edit .calendar-widget:not(.is-collapsed){padding-right:20px;padding-top:58px}.calendar-widget-picker-panel{width:100%;padding:16px}.calendar-widget-picker-footer{align-items:stretch;flex-direction:column}.calendar-widget-picker-footer select,.calendar-widget-picker-footer button{width:100%}}

.calendar-workspace-status{display:inline-flex;align-items:center;min-height:34px;padding:7px 10px;border:1px solid #dce5e9;border-radius:9px;background:#fff;color:#607784;font-size:.8125rem;font-weight:800;white-space:nowrap}.calendar-workspace-status:before{content:'';width:7px;height:7px;border-radius:50%;margin-right:7px;background:#94a3b8}.calendar-workspace-status[data-state="saved"]:before{background:#16a34a}.calendar-workspace-status[data-state="saving"]:before{background:#f59e0b;animation:calendar-workspace-pulse .9s ease-in-out infinite}.calendar-workspace-status[data-state="editing"]:before{background:#0ea5e9}.calendar-workspace-status[data-state="error"]{color:#9f1239;border-color:#fecdd3;background:#fff7f8}.calendar-workspace-status[data-state="error"]:before{background:#e11d48}.calendar-workspace-status[data-state="local"]:before{background:#8b5cf6}@keyframes calendar-workspace-pulse{50%{opacity:.35}}
.calendar-widget-picker-shortcuts{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 2px 0}.calendar-widget-picker-shortcuts button{min-height:32px;padding:6px 10px}.calendar-widget-picker-shortcuts span{font-size:.8125rem;color:var(--muted);font-weight:700}.calendar-widget-option:has(input:checked){border-color:#9fd1e3;background:#f4fbfe;box-shadow:0 0 0 2px rgba(14,165,233,.06)}
.calendar-widget-grid.is-layout-edit{position:relative;isolation:isolate}.calendar-widget-grid.is-layout-edit:before{content:'ANPASSA ARBETSYTA · dra med ⠿ · klicka ⅓/½/⅔/1/1 för bredd';position:sticky;top:102px;z-index:8;grid-column:1/-1;display:block;width:max-content;max-width:100%;margin:0 0 2px;padding:7px 10px;border:1px solid #bae6fd;border-radius:9px;background:rgba(240,249,255,.96);box-shadow:0 4px 12px rgba(15,23,42,.04);color:#0369a1;font-size:.8125rem;font-weight:900;letter-spacing:.04em;pointer-events:none}.calendar-widget-grid.is-layout-edit .calendar-widget{outline:1px dashed #9fb6c2;outline-offset:3px;cursor:default}.calendar-widget-grid.is-layout-edit .calendar-widget:hover{outline-color:#5aa8c7;box-shadow:0 8px 26px rgba(15,23,42,.07)}
/* Content stays usable in edit mode. Drag starts only from the dedicated handle. */
.calendar-widget-grid.is-layout-edit .calendar-widget input,.calendar-widget-grid.is-layout-edit .calendar-widget select,.calendar-widget-grid.is-layout-edit .calendar-widget textarea,.calendar-widget-grid.is-layout-edit .calendar-widget form button,.calendar-widget-grid.is-layout-edit .calendar-widget a{pointer-events:auto!important}.calendar-widget-grid.is-layout-edit .calendar-widget{user-select:auto}.calendar-widget-grid.is-layout-edit .calendar-widget-controls{user-select:none}
.calendar-widget-controls{z-index:30;gap:5px;padding:4px;border:1px solid rgba(215,225,230,.9);border-radius:11px;background:rgba(255,255,255,.96);box-shadow:0 5px 18px rgba(15,23,42,.09);backdrop-filter:blur(8px)}.calendar-widget-controls button{width:31px;height:31px;border-radius:8px;touch-action:manipulation}.calendar-widget-grid.is-layout-edit .calendar-widget-controls button{display:grid!important;place-items:center}.calendar-widget-grid:not(.is-layout-edit) .calendar-widget-controls{padding:0;border:0;background:transparent;box-shadow:none}.calendar-widget-grid:not(.is-layout-edit) .calendar-widget-controls .calendar-widget-collapse{display:grid!important}.calendar-widget-grip{cursor:grab!important;touch-action:none!important;background:#f0f9ff!important;color:#0369a1!important;border-color:#bae6fd!important;font-size:16px!important}.calendar-widget-grip:active{cursor:grabbing!important}.calendar-widget-size{min-width:34px!important;width:auto!important;padding:0 7px!important;font-size:.8125rem!important}.calendar-widget-hide{color:#b42318!important}.calendar-widget-up,.calendar-widget-down{display:none!important}@media(max-width:1200px){.calendar-widget-grid.is-layout-edit .calendar-widget-up,.calendar-widget-grid.is-layout-edit .calendar-widget-down{display:grid!important}.calendar-widget-grid.is-layout-edit .calendar-widget-left,.calendar-widget-grid.is-layout-edit .calendar-widget-right{display:none!important}}
.calendar-widget.is-widget-dragging{opacity:.22!important;transform:scale(.995)!important;pointer-events:none!important}.calendar-widget-placeholder{min-width:0;border:2px dashed #38bdf8;border-radius:14px;background:rgba(224,242,254,.55);box-shadow:inset 0 0 0 4px rgba(255,255,255,.55);animation:calendar-placeholder-pulse .8s ease-in-out infinite alternate}.calendar-widget-placeholder[data-widget-size="third"]{grid-column:span 4}.calendar-widget-placeholder[data-widget-size="half"]{grid-column:span 6}.calendar-widget-placeholder[data-widget-size="two-thirds"]{grid-column:span 8}.calendar-widget-placeholder[data-widget-size="full"]{grid-column:1/-1}@keyframes calendar-placeholder-pulse{to{background:rgba(186,230,253,.65)}}.calendar-widget-drag-ghost{position:fixed;left:0;top:0;z-index:5000;pointer-events:none;min-width:150px;max-width:240px;padding:10px 12px;border:1px solid #7dd3fc;border-radius:10px;background:#fff;color:#0f172a;box-shadow:0 14px 34px rgba(15,23,42,.2);font-size:.8125rem;font-weight:900;will-change:transform}.calendar-widget-drag-active,.calendar-widget-drag-active *{cursor:grabbing!important}
.calendar-widget-grid.is-layout-edit .calendar-widget:not(.is-collapsed){padding-right:300px}.calendar-kpi-widget.is-layout-edit,.calendar-quick-widget.is-layout-edit{padding-top:48px}.calendar-widget-grid.is-layout-edit .calendar-core-main.calendar-widget{padding-top:58px}.calendar-widget-grid.is-layout-edit .calendar-widget.is-collapsed{padding-right:300px}.calendar-widget-grid.is-layout-edit .calendar-widget.is-collapsed:before{padding-right:12px}
.calendar-widget-toolbar{align-items:center}.calendar-widget-toolbar .calendar-secondary{min-height:36px}.calendar-widget-toolbar [data-calendar-layout-edit].is-active{background:#e0f2fe;border-color:#7dd3fc;color:#075985}.calendar-widget-layout-note{font-weight:700}.calendar-widget-grid.is-layout-edit+.calendar-widget-layout-note{display:block}.calendar-widget-grid:not(.is-layout-edit)+.calendar-widget-layout-note{display:none}
@media(max-width:900px){.calendar-widget-header{align-items:flex-start;flex-direction:column}.calendar-widget-toolbar{width:100%}.calendar-workspace-status{order:4;width:100%;justify-content:center}.calendar-widget-grid.is-layout-edit:before{top:8px}.calendar-widget-grid.is-layout-edit .calendar-widget:not(.is-collapsed),.calendar-widget-grid.is-layout-edit .calendar-widget.is-collapsed{padding-right:20px;padding-top:66px}.calendar-widget-controls{left:12px;right:auto;top:12px;max-width:calc(100% - 24px);overflow-x:auto}.calendar-widget-picker-shortcuts{align-items:flex-start;flex-direction:column}.calendar-widget-picker-shortcuts span{font-size:.8125rem}}
@media(max-width:560px){.calendar-widget-toolbar button{flex:1 1 calc(50% - 6px)}.calendar-widget-grid.is-layout-edit:before{width:100%;font-size:.8125rem}.calendar-widget-controls button{width:34px;height:34px}.calendar-widget-size{min-width:38px!important}}
.calendar-widget[data-widget-size="quarter"]{grid-column:span 3}.calendar-widget[data-widget-size="three-quarters"]{grid-column:span 9}.calendar-widget-placeholder[data-widget-size="quarter"]{grid-column:span 3}.calendar-widget-placeholder[data-widget-size="three-quarters"]{grid-column:span 9}.calendar-widget-grid.is-layout-edit .calendar-widget-grip{width:auto!important;min-width:72px!important;padding:0 9px!important;font-size:.8125rem!important;letter-spacing:.01em}.calendar-widget{container-type:inline-size;container-name:calendar-widget}
@container calendar-widget (max-width:620px){.calendar-widget .grid.two{grid-template-columns:1fr!important}.calendar-widget .calendar-core-inline-form{grid-template-columns:1fr!important}.calendar-widget .calendar-core-resources article,.calendar-widget .calendar-core-links article,.calendar-widget .calendar-blackouts article{align-items:stretch;flex-direction:column}.calendar-widget .calendar-resource-actions,.calendar-widget .calendar-link-actions{justify-content:flex-start}.calendar-widget .calendar-resource-actions>* ,.calendar-widget .calendar-link-actions>*{flex:0 0 auto}.calendar-widget .calendar-hours-day{grid-template-columns:1fr!important}.calendar-widget .calendar-hours-period{grid-column:auto!important;grid-template-columns:auto auto minmax(64px,1fr) auto minmax(64px,1fr)!important}.calendar-widget .calendar-option-grid{grid-template-columns:1fr!important}.calendar-widget .calendar-booking-request-list article{grid-template-columns:1fr!important}.calendar-widget .calendar-booking-request-actions{justify-content:flex-start!important}.calendar-widget .calendar-plan-grid{grid-template-columns:1fr 1fr 1fr}.calendar-widget .calendar-core-filter{grid-template-columns:1fr!important}.calendar-widget .calendar-core-filter>*{width:100%}.calendar-widget .split{flex-direction:column}.calendar-widget .calendar-team-grid{grid-template-columns:1fr!important}}
@container calendar-widget (max-width:400px){.calendar-widget .calendar-plan-grid{grid-template-columns:1fr}.calendar-widget .calendar-core-kpis{grid-template-columns:1fr 1fr}.calendar-widget .calendar-edit-actions form{grid-template-columns:1fr!important}.calendar-widget .calendar-hours-period{grid-template-columns:auto 1fr!important}.calendar-widget .calendar-hours-period span:nth-of-type(2){display:none}.calendar-widget .calendar-hours-period input[type="time"]{grid-column:2}.calendar-widget .calendar-widget-controls{max-width:calc(100% - 20px);overflow:auto}}


/* Autobahn Workspace Core v3 – tablet-first */
.calendar-widget-grid[data-workspace-columns="12"]{grid-template-columns:repeat(12,minmax(0,1fr))}
.calendar-widget-grid[data-workspace-columns="6"]{grid-template-columns:repeat(6,minmax(0,1fr))}
.calendar-widget-grid[data-workspace-columns="1"]{grid-template-columns:1fr}
.calendar-widget-grid[data-workspace-columns="6"].is-layout-edit{background-size:calc((100% - 70px)/6 + 14px) 78px}
.calendar-widget-grid[data-workspace-columns="1"].is-layout-edit{background-image:none}

@media (pointer:coarse){
  .calendar-widget-toolbar button,.calendar-widget-toolbar a,.calendar-widget-controls button,.calendar-widget-picker button{min-height:48px;min-width:48px}
  .calendar-widget-controls{gap:7px;padding:6px;border-radius:14px}
  .calendar-widget-controls button{width:48px;height:48px;border-radius:11px;font-size:1rem}
  .calendar-widget-grid.is-layout-edit .calendar-widget-grip{min-width:96px!important;height:48px!important;font-size:.875rem!important}
  .calendar-widget-size{min-width:52px!important;height:48px!important;font-size:.875rem!important}
  .calendar-widget input:not([type="checkbox"]):not([type="radio"]),.calendar-widget select,.calendar-widget textarea,.calendar-widget form button,.calendar-widget a.button{min-height:46px}
  .calendar-widget input[type="checkbox"],.calendar-widget input[type="radio"],.calendar-widget-option input{width:22px!important;height:22px!important}
  .calendar-widget-option{min-height:62px;padding:13px 14px}
  .calendar-widget-option strong{font-size:.875rem}.calendar-widget-option small{font-size:.8125rem;line-height:1.35}
  .calendar-widget-grip{touch-action:none!important;-webkit-tap-highlight-color:transparent}
  .calendar-widget-toolbar button,.calendar-widget-controls button,.calendar-widget-option{touch-action:manipulation}
}

@media (min-width:700px) and (max-width:1099px) and (orientation:portrait){
  .calendar-widget-header{align-items:flex-start}
  .calendar-widget-toolbar{width:100%;position:sticky;top:8px;z-index:45;padding:8px;border:1px solid #dce7ec;border-radius:14px;background:rgba(248,251,252,.96);box-shadow:0 8px 22px rgba(15,23,42,.07);backdrop-filter:blur(10px)}
  .calendar-widget-grid.is-layout-edit .calendar-widget:not(.is-collapsed),.calendar-widget-grid.is-layout-edit .calendar-widget.is-collapsed{padding-right:20px;padding-top:74px}
  .calendar-widget-controls{left:12px;right:auto;top:12px;max-width:calc(100% - 24px);overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none}
  .calendar-widget-controls::-webkit-scrollbar{display:none}
  .calendar-widget-grid.is-layout-edit .calendar-widget-left,.calendar-widget-grid.is-layout-edit .calendar-widget-right,.calendar-widget-grid.is-layout-edit .calendar-widget-up,.calendar-widget-grid.is-layout-edit .calendar-widget-down{display:none!important}
  .calendar-widget-picker-panel{top:auto;bottom:0;right:0;width:100%;height:auto;max-height:78vh;border-radius:22px 22px 0 0;padding:18px 20px calc(18px + env(safe-area-inset-bottom));box-shadow:0 -24px 60px rgba(15,23,42,.18)}
  .calendar-widget-picker-head{position:sticky;top:0;background:#fff;z-index:2}
}

@media (min-width:900px) and (orientation:landscape){
  .calendar-widget-grid.is-layout-edit .calendar-widget-left,.calendar-widget-grid.is-layout-edit .calendar-widget-right{display:grid!important}
  .calendar-widget-grid.is-layout-edit .calendar-widget-up,.calendar-widget-grid.is-layout-edit .calendar-widget-down{display:none!important}
}

@media (max-width:699px){
  .calendar-widget-toolbar{position:static}
  .calendar-widget-grid.is-layout-edit .calendar-widget:not(.is-collapsed),.calendar-widget-grid.is-layout-edit .calendar-widget.is-collapsed{padding-top:72px}
  .calendar-widget-controls{left:10px;right:10px;max-width:none}
  .calendar-widget-grid.is-layout-edit .calendar-widget-left,.calendar-widget-grid.is-layout-edit .calendar-widget-right,.calendar-widget-grid.is-layout-edit .calendar-widget-up,.calendar-widget-grid.is-layout-edit .calendar-widget-down{display:none!important}
}

@media (hover:none){
  .calendar-widget-grid.is-layout-edit .calendar-widget:hover{box-shadow:none}
  .calendar-widget-option:hover{border-color:var(--line);background:#fbfdfe}
}

/* Autobahn Workspace Core v4 – flexible tablet canvas */
.calendar-widget-grid.workspace-grid-ready{grid-auto-rows:24px;align-items:stretch}
.calendar-widget-grid.workspace-grid-ready .calendar-widget{min-height:0;height:100%;align-self:stretch}
.calendar-widget-grid.workspace-grid-ready .calendar-widget[data-widget-manual-rows="1"]{overflow:auto;overscroll-behavior:contain}
.calendar-widget-grid.is-layout-edit{background-color:#f9fbfc;background-image:linear-gradient(to right,rgba(83,118,135,.035) 1px,transparent 1px),linear-gradient(to bottom,rgba(83,118,135,.035) 1px,transparent 1px);border-color:#c9d7de}
.calendar-widget-grid.is-layout-edit:before{content:'Dra med ⠿ · ändra storlek från kanter eller hörn';top:8px;padding:6px 9px;border-color:#d7e8ef;background:rgba(248,252,254,.96);box-shadow:none;color:#52788a;font-size:.8125rem;letter-spacing:.02em}
.calendar-widget-grid.is-layout-edit .calendar-widget{outline:1px dashed #b7cbd4;outline-offset:2px;border-radius:14px}
.calendar-widget-grid.is-layout-edit .calendar-widget:hover{outline-color:#6daec8;box-shadow:0 5px 18px rgba(15,23,42,.045)}
.calendar-widget-grid.is-layout-edit .calendar-widget:not(.is-collapsed),.calendar-widget-grid.is-layout-edit .calendar-widget.is-collapsed{padding-top:52px!important;padding-right:12px!important}
.calendar-widget-grid.is-layout-edit .calendar-kpi-widget,.calendar-widget-grid.is-layout-edit .calendar-quick-widget{padding-left:10px;padding-bottom:10px}
.calendar-widget-grid:not(.is-layout-edit) .calendar-widget-controls{display:none!important}
.calendar-widget-controls{top:9px!important;right:9px!important;left:auto!important;max-width:none!important;overflow:visible!important;display:flex!important;align-items:center;gap:5px;padding:4px;border:1px solid #dce6eb;border-radius:11px;background:rgba(255,255,255,.97);box-shadow:0 4px 14px rgba(15,23,42,.07);backdrop-filter:blur(8px)}
.calendar-widget-controls>button{display:none!important;width:34px;height:34px;min-width:34px;min-height:34px;padding:0;border-radius:8px}
.calendar-widget-grid.is-layout-edit .calendar-widget-controls>button{display:grid!important;place-items:center}
.calendar-widget-grid.is-layout-edit .calendar-widget-grip{order:1;min-width:78px!important;width:auto!important;padding:0 10px!important;font-size:.8125rem!important;background:#eff9fd!important;color:#086b93!important;border-color:#bfe3f1!important}
.calendar-widget-more{order:2;font-size:18px!important;line-height:1}
.calendar-widget-collapse{order:3}
.calendar-widget-menu{position:absolute;top:calc(100% + 7px);right:0;z-index:45;display:grid;gap:4px;min-width:150px;padding:6px;border:1px solid #dce6eb;border-radius:10px;background:#fff;box-shadow:0 12px 28px rgba(15,23,42,.14)}
.calendar-widget-menu[hidden]{display:none!important}
.calendar-widget-menu button{display:flex!important;width:100%!important;height:auto!important;min-height:36px!important;justify-content:flex-start!important;padding:7px 9px!important;border:0!important;background:#fff!important;box-shadow:none!important;font-size:.8125rem!important;color:#405d6b!important}
.calendar-widget-menu button:hover{background:#f4f8fa!important}.calendar-widget-menu .calendar-widget-hide{color:#a52f2f!important}
.calendar-widget-resize{display:none;position:absolute;z-index:26;touch-action:none;-webkit-tap-highlight-color:transparent}
.calendar-widget-grid.is-layout-edit .calendar-widget-resize{display:block}
.calendar-widget-resize-n,.calendar-widget-resize-s{left:24px;right:24px;height:14px;cursor:ns-resize}.calendar-widget-resize-n{top:-7px}.calendar-widget-resize-s{bottom:-7px}
.calendar-widget-resize-e,.calendar-widget-resize-w{top:24px;bottom:24px;width:14px;cursor:ew-resize}.calendar-widget-resize-e{right:-7px}.calendar-widget-resize-w{left:-7px}
.calendar-widget-resize-ne,.calendar-widget-resize-nw,.calendar-widget-resize-se,.calendar-widget-resize-sw{width:22px;height:22px}
.calendar-widget-resize-ne{right:-7px;top:-7px;cursor:nesw-resize}.calendar-widget-resize-nw{left:-7px;top:-7px;cursor:nwse-resize}.calendar-widget-resize-se{right:-7px;bottom:-7px;cursor:nwse-resize}.calendar-widget-resize-sw{left:-7px;bottom:-7px;cursor:nesw-resize}
.calendar-widget-grid.is-layout-edit .calendar-widget-resize-ne:after,.calendar-widget-grid.is-layout-edit .calendar-widget-resize-nw:after,.calendar-widget-grid.is-layout-edit .calendar-widget-resize-se:after,.calendar-widget-grid.is-layout-edit .calendar-widget-resize-sw:after{content:'';position:absolute;width:8px;height:8px;border-radius:3px;background:#fff;border:2px solid #78b8cf}
.calendar-widget-resize-ne:after{right:1px;top:1px}.calendar-widget-resize-nw:after{left:1px;top:1px}.calendar-widget-resize-se:after{right:1px;bottom:1px}.calendar-widget-resize-sw:after{left:1px;bottom:1px}
.calendar-widget.is-widget-resizing{outline:2px solid #38a9d2!important;box-shadow:0 10px 28px rgba(14,116,144,.12)!important}.calendar-widget-resize-active,.calendar-widget-resize-active *{cursor:grabbing}
.calendar-widget-placeholder{border-width:1px;background:rgba(224,242,254,.38);animation:none}
.calendar-widget.is-collapsed{min-height:0;padding:14px 16px!important;align-items:center}.calendar-widget-grid.workspace-grid-ready .calendar-widget.is-collapsed{overflow:hidden}.calendar-widget.is-collapsed:before{font-size:.875rem}

/* Compact widget library */
.calendar-widget-picker-panel{width:min(610px,96vw);padding:16px 18px}
.calendar-widget-picker-head{padding-bottom:10px}.calendar-widget-picker-head h2{margin:2px 0 3px;font-size:20px}.calendar-widget-picker-head p{font-size:.8125rem}.calendar-widget-picker-close{width:34px;height:34px}
.calendar-widget-picker-tools{display:grid;gap:8px;padding-top:10px}.calendar-widget-picker-tools>input{width:100%;min-height:38px;border:1px solid #d7e1e6;border-radius:9px;padding:7px 10px;background:#fff;font:inherit;font-size:.8125rem}
.calendar-widget-categories{display:flex;gap:5px;flex-wrap:wrap}.calendar-widget-category{min-height:30px!important;min-width:0!important;padding:5px 9px!important;border:1px solid #dbe5e9;border-radius:999px;background:#fff;color:#58717d;font-size:.8125rem;font-weight:850}.calendar-widget-category.is-active{border-color:#8dc9df;background:#edf8fc;color:#086b93}
.calendar-widget-picker-shortcuts{padding-top:8px;gap:8px;flex-wrap:wrap}.calendar-widget-picker-shortcuts span{margin-left:auto;font-size:.8125rem}.calendar-widget-preset{display:flex!important;align-items:center!important;gap:6px!important;font-size:.8125rem!important;font-weight:800!important}.calendar-widget-preset select{min-height:32px;padding:5px 8px;border:1px solid #dbe5e9;border-radius:8px;background:#fff;font:inherit;font-size:.8125rem}
.calendar-widget-picker-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:10px 0;align-content:start}
.calendar-widget-option{min-height:46px!important;padding:7px 9px!important;gap:8px!important;border-radius:9px!important}
.calendar-widget-option input{width:17px!important;height:17px!important}.calendar-widget-option span{gap:0!important;min-width:0}.calendar-widget-option strong{font-size:.8125rem!important;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.calendar-widget-option small{margin-top:2px;font-size:.8125rem!important;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.calendar-widget-picker-footer{padding-top:9px}.calendar-widget-picker-footer label{font-size:.8125rem}.calendar-widget-picker-footer select{min-width:115px;min-height:34px}

/* Cleaner, denser calendar widgets */
.calendar-assistant>p.muted,.calendar-booking-requests>p.muted{display:none}.calendar-assistant .card-head,.calendar-booking-requests .card-head{margin-bottom:8px}
.calendar-widget-empty{padding:9px 10px}.calendar-widget-empty strong{font-size:.8125rem}.calendar-widget-empty span{font-size:.8125rem}
.calendar-booking-request-list article{padding:8px 9px;gap:8px}.calendar-booking-request-actions a,.calendar-booking-request-actions button{min-height:32px}
.calendar-day-plan{background:#f4fafc;color:#183746;border:1px solid #d8e9f0}.calendar-day-plan .eyebrow{color:#0b7aa5}.calendar-day-plan h2{color:#173747}.calendar-day-plan .calendar-plan-grid>div{border-color:#d7e8ee;background:#fff}.calendar-day-plan .calendar-plan-grid strong{color:#163b4b}.calendar-day-plan .calendar-plan-grid span{color:#687f8a}.calendar-day-plan .calendar-next{border-top-color:#d8e7ed}.calendar-day-plan .calendar-next span{color:#6d828c}.calendar-day-plan .calendar-next strong{color:#173747}.calendar-widget.calendar-day-plan.is-collapsed:before{color:#334155}
.calendar-core-kpis{gap:8px;margin-bottom:0}.calendar-core-kpis>div{padding:10px 12px;border-radius:11px}.calendar-core-kpis strong{font-size:18px}.calendar-core-kpis span,.calendar-core-kpis small{font-size:.8125rem}
.calendar-quick-add{margin:0;padding:7px 8px}.calendar-quick-add>span{width:30px;height:30px}.calendar-quick-add input,.calendar-quick-add button{min-height:34px}
.calendar-core-main[data-calendar-widget="calendar"]{box-shadow:0 3px 16px rgba(15,23,42,.035)}

@container calendar-widget (max-width:520px){.calendar-widget .calendar-core-kpis{grid-template-columns:1fr 1fr}.calendar-widget .calendar-core-toolbar{align-items:stretch;flex-direction:column}.calendar-widget .calendar-core-views{width:100%;overflow:auto}.calendar-widget .calendar-core-filter{grid-template-columns:1fr!important}}
@media (pointer:coarse){
  .calendar-widget-controls>button{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important}.calendar-widget-grid.is-layout-edit .calendar-widget-grip{min-width:94px!important;height:44px!important;font-size:.875rem!important}
  .calendar-widget-resize-n,.calendar-widget-resize-s{height:28px}.calendar-widget-resize-n{top:-14px}.calendar-widget-resize-s{bottom:-14px}.calendar-widget-resize-e,.calendar-widget-resize-w{width:28px}.calendar-widget-resize-e{right:-14px}.calendar-widget-resize-w{left:-14px}.calendar-widget-resize-ne,.calendar-widget-resize-nw,.calendar-widget-resize-se,.calendar-widget-resize-sw{width:34px;height:34px}
  .calendar-widget-option{min-height:50px!important;padding:7px 9px!important}.calendar-widget-option strong{font-size:.8125rem!important}.calendar-widget-option small{font-size:.8125rem!important}
}
@media (min-width:700px) and (max-width:1099px) and (orientation:portrait){.calendar-widget-picker-panel{max-height:72vh;padding:14px 16px calc(14px + env(safe-area-inset-bottom))}.calendar-widget-picker-options{grid-template-columns:repeat(2,minmax(0,1fr));overflow:auto}.calendar-widget-picker-head{padding-bottom:8px}.calendar-widget-picker-tools{padding-top:8px}.calendar-widget-picker-shortcuts{padding-top:6px}.calendar-widget-controls{right:9px!important;left:auto!important}}
@media (max-width:699px){.calendar-widget-picker-options{grid-template-columns:1fr}.calendar-widget-picker-panel{padding:13px}.calendar-widget-controls{right:9px!important;left:auto!important}.calendar-widget-grid.is-layout-edit .calendar-widget:not(.is-collapsed),.calendar-widget-grid.is-layout-edit .calendar-widget.is-collapsed{padding-top:58px!important}.calendar-widget-picker-shortcuts span{width:100%;margin-left:0}.calendar-widget-resize-e,.calendar-widget-resize-w,.calendar-widget-resize-ne,.calendar-widget-resize-nw,.calendar-widget-resize-se,.calendar-widget-resize-sw{display:none!important}}

/* Kompakt draghandtag – samma beteende som Meddelanden */
.calendar-widget-grip{display:none!important}
.calendar-widget-grid.is-layout-edit .calendar-widget-grip{
  display:flex!important;position:absolute!important;z-index:31!important;top:9px!important;left:9px!important;right:auto!important;
  align-items:center!important;justify-content:center!important;min-width:72px!important;height:34px!important;padding:0 9px!important;
  border:1px solid #9fc5d5!important;border-radius:8px!important;background:#eaf6fa!important;color:#09688f!important;
  box-shadow:none!important;font-size:.75rem!important;font-weight:900!important;letter-spacing:0!important;
  cursor:grab!important;touch-action:none!important;-webkit-tap-highlight-color:transparent!important
}
.calendar-widget-grid.is-layout-edit .calendar-widget-grip:before{content:'';margin:0}
.calendar-widget-grid.is-layout-edit .calendar-widget-grip:active{cursor:grabbing!important;background:#dff1f7!important;transform:scale(.98)}
.calendar-widget-grid.is-layout-edit .calendar-widget:not(.is-collapsed){padding-top:52px!important}
.calendar-widget-grid.is-layout-edit .calendar-widget.is-collapsed{padding-top:52px!important}
@media (min-width:700px) and (max-width:1099px){.calendar-widget-grid.is-layout-edit .calendar-widget-grip{min-width:94px!important;height:44px!important;font-size:.875rem!important}}
@media (max-width:699px){.calendar-widget-grid.is-layout-edit .calendar-widget-grip{left:9px!important;top:9px!important;min-width:88px!important;height:42px!important;font-size:.8125rem!important}}

/* Autobahn Economy Core 1.0 – tablet-first */
.economy-head{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:24px 26px;margin-bottom:14px;border:1px solid #d8e4e9;border-radius:18px;background:linear-gradient(135deg,#102033,#173a4a);color:#fff;box-shadow:var(--shadow)}
.economy-head h2{margin:4px 0 5px;font-size:27px}.economy-head p{margin:0;color:#c8dbe4}.economy-head .eyebrow{color:#7dd3fc}.economy-head-badges{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.economy-head-badges .badge{border-color:rgba(255,255,255,.2);background:rgba(255,255,255,.1);color:#fff}
.economy-tabs{display:flex;gap:6px;overflow-x:auto;margin-bottom:18px;padding:5px;border:1px solid var(--line);border-radius:13px;background:#fff;scrollbar-width:thin}.economy-tabs a{flex:0 0 auto;padding:9px 11px;border-radius:9px;color:#536873;font-size:.8125rem;font-weight:850}.economy-tabs a:hover{background:#f3f7f9}.economy-tabs a.active{background:#172538;color:#fff}
.economy-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.stat-link{color:inherit}.stat-link:hover{border-color:#a9c4d0;transform:translateY(-1px)}
.economy-action-list{display:grid;border:1px solid var(--line);border-radius:11px;overflow:hidden}.economy-action-list a{display:flex;justify-content:space-between;gap:12px;padding:12px 13px;border-bottom:1px solid var(--line);background:#fff;color:#3f5966;font-size:.8125rem;font-weight:800}.economy-action-list a:last-child{border-bottom:0}.economy-action-list a:hover{background:#f7fafb}.economy-action-list strong{display:grid;min-width:25px;height:25px;place-items:center;border-radius:999px;background:#eaf2f6;color:#25566d;font-size:.8125rem}
.economy-command-head{display:flex;align-items:center;justify-content:space-between;gap:22px;border-left:5px solid #38bdf8;background:linear-gradient(135deg,#fff 0%,#f3fafc 100%)}.economy-command-head h2{margin:4px 0 5px}.economy-command-head p{margin:0;color:var(--muted)}.economy-command-status{display:grid;grid-template-columns:auto 1fr;gap:1px 8px;min-width:190px;padding:12px 14px;border:1px solid;border-radius:12px}.economy-command-status strong{grid-row:1/3;font-size:27px;line-height:1}.economy-command-status span{font-size:.8125rem;font-weight:900}.economy-command-status small{font-size:.8125rem}.economy-command-status.is-clear{border-color:#b9e2cb;background:#f3fbf6;color:#166534}.economy-command-status.is-warning{border-color:#fed7aa;background:#fff9f2;color:#9a3412}
.economy-command-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,.72fr);gap:16px}.economy-command-side{display:grid;gap:16px;align-content:start}.economy-work-queue .card-head p{margin:4px 0 0;color:var(--muted)}.economy-todo-list{display:grid;grid-template-columns:1fr 1fr;gap:8px}.economy-todo{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:10px;align-items:center;min-height:66px;padding:10px 11px;border:1px solid var(--line);border-radius:10px;color:inherit}.economy-todo:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(15,36,51,.06)}.economy-todo>span{display:grid;width:27px;height:27px;place-items:center;border-radius:999px;font-size:.8125rem;font-weight:950}.economy-todo>div{display:grid;gap:3px}.economy-todo strong{font-size:.8125rem}.economy-todo small{color:var(--muted);font-size:.8125rem;line-height:1.3}.economy-todo em{display:grid;min-width:26px;height:26px;place-items:center;border-radius:999px;font-size:.8125rem;font-style:normal;font-weight:900}.economy-todo.is-clear{border-color:#d5eadc;background:#f8fcf9}.economy-todo.is-clear>span,.economy-todo.is-clear em{background:#dcfce7;color:#15803d}.economy-todo.is-warning{border-color:#fed7aa;background:#fffbf5}.economy-todo.is-warning>span,.economy-todo.is-warning em{background:#ffedd5;color:#b45309}.economy-todo.is-danger{border-color:#fecaca;background:#fff8f8}.economy-todo.is-danger>span,.economy-todo.is-danger em{background:#fee2e2;color:#b91c1c}
.economy-vat-summary{border-left:5px solid}.economy-vat-summary.is-clear{border-left-color:#16a34a}.economy-vat-summary.is-warning{border-left-color:#d97706}.economy-vat-summary.is-danger{border-left-color:#dc2626}.economy-vat-amount{display:block;margin:14px 0 4px;font-size:26px}.economy-vat-summary p{margin:0 0 12px;color:var(--muted);font-size:.8125rem;line-height:1.45}.economy-vat-flags{display:flex;gap:7px;margin-bottom:13px}.economy-vat-flags span{padding:5px 8px;border-radius:999px;background:#eef3f5;color:#536873;font-size:.8125rem;font-weight:850}.economy-vat-summary .primary{display:flex;justify-content:center;width:100%;padding:9px 11px;border-radius:9px;background:#172538;color:#fff;font-size:.8125rem;font-weight:900}.economy-quick-card{display:flex;align-items:center;justify-content:space-between;gap:18px}.economy-quick-card h2{margin:4px 0}.economy-quick-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.economy-quick-actions a{display:inline-flex;align-items:center;min-height:38px;padding:8px 11px;border:1px solid #c9dbe3;border-radius:9px;background:#fff;color:#23495a;font-size:.8125rem;font-weight:850}.economy-quick-actions a:first-child{border-color:#172538;background:#172538;color:#fff}.economy-quick-actions a:hover{transform:translateY(-1px);box-shadow:0 6px 16px rgba(15,36,51,.07)}
.economy-bank-actions{display:grid;gap:.65rem;min-width:min(100%,36rem)}.economy-bank-invoice-match{display:flex;align-items:end;gap:.65rem;padding:.75rem;border:1px solid #9bd6b2;border-radius:12px;background:#f0fbf4}.economy-bank-invoice-match label{display:grid;gap:.35rem;flex:1;margin:0}.economy-bank-invoice-match select{width:100%}.economy-bank-no-match{margin:0;color:var(--muted);font-size:.9rem}.economy-bank-manual summary{cursor:pointer;color:var(--muted);font-weight:700}.economy-bank-manual[open] summary{margin-bottom:.65rem}
.economy-camera{display:grid;gap:4px;place-items:center;margin:10px 0;padding:24px 16px;border:2px dashed #aac6d2;border-radius:13px;background:#f5fafc;text-align:center;cursor:pointer}.economy-camera input{position:absolute;width:1px;height:1px;opacity:0}.economy-camera span{font-size:1rem;font-weight:900;color:#23495a}.economy-camera small{color:var(--muted);font-size:.8125rem}.economy-camera:focus-within{outline:3px solid rgba(56,189,248,.25);border-color:#38a9d2}
.economy-document{display:grid;gap:12px}.economy-document-form,.economy-document form,.economy-lines,.economy-lines>div{display:grid;gap:9px}.economy-document-form label,.economy-document form label{display:grid;gap:5px;font-size:.8125rem;font-weight:800}.economy-document-form input,.economy-document-form select,.economy-document form input,.economy-document form select{width:100%;min-height:40px;border:1px solid var(--line);border-radius:9px;padding:8px 9px;background:#fff}.economy-lines>div{grid-template-columns:minmax(150px,1fr) minmax(90px,.45fr) minmax(90px,.45fr) minmax(130px,.8fr)}.economy-lines select,.economy-lines input{width:100%;min-height:39px;border:1px solid var(--line);border-radius:8px;padding:7px 8px;background:#fff}
.economy-check{display:flex!important;align-items:center;gap:7px!important;font-size:.8125rem!important;font-weight:750!important}.economy-check input{width:auto!important;min-height:0!important}.economy-inline-form{display:inline-flex!important;gap:6px!important;align-items:center}.economy-inline-form button,.economy-bank-match button{white-space:nowrap}
.economy-bank-import,.economy-bank-match,.economy-report-filter{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.economy-bank-import input,.economy-bank-match input,.economy-bank-match select,.economy-report-filter input{min-height:38px;border:1px solid var(--line);border-radius:8px;padding:7px 9px;background:#fff}.economy-bank-match{min-width:390px}.economy-report-filter label{display:grid;gap:4px;font-size:.8125rem;font-weight:800}.economy-report-filter .primary{display:inline-flex;align-items:center;min-height:38px;padding:7px 11px;border-radius:8px;background:#172538;color:#fff;font-size:.8125rem;font-weight:850}
@media(max-width:1100px){.economy-stats{grid-template-columns:1fr 1fr}.economy-command-grid{grid-template-columns:1fr}.economy-command-side{grid-template-columns:1fr 1fr}.economy-lines>div{grid-template-columns:1fr 1fr}.economy-lines>div select,.economy-lines>div input:last-child{grid-column:1/-1}.economy-bank-match{min-width:300px}}
@media(max-width:760px){.economy-head,.economy-command-head{align-items:flex-start;flex-direction:column;padding:20px}.economy-head h2{font-size:22px}.economy-head-badges{justify-content:flex-start}.economy-command-status{width:100%}.economy-command-side,.economy-todo-list{grid-template-columns:1fr}.economy-quick-card{align-items:flex-start;flex-direction:column}.economy-quick-actions{display:grid;width:100%;grid-template-columns:1fr 1fr}.economy-quick-actions a{justify-content:center}.economy-stats{grid-template-columns:1fr 1fr}.economy-lines>div{grid-template-columns:1fr}.economy-lines>div select,.economy-lines>div input:last-child{grid-column:auto}.economy-bank-import,.economy-bank-match,.economy-report-filter{display:grid;width:100%}.economy-bank-invoice-match{align-items:stretch;flex-direction:column}.economy-bank-match{min-width:230px}.economy-bank-import>*,.economy-bank-match>*,.economy-report-filter>*{width:100%}.economy-camera{min-height:130px}}
@media(max-width:480px){.economy-stats,.economy-quick-actions{grid-template-columns:1fr}.economy-todo{grid-template-columns:28px minmax(0,1fr) auto}}
@media(pointer:coarse){.economy-tabs a,.economy-camera,.economy-document button,.economy-bank-import button,.economy-bank-match button,.economy-report-filter button,.economy-report-filter .primary,.economy-todo,.economy-quick-actions a,.economy-vat-summary .primary{min-height:46px}.economy-document-form input,.economy-document-form select,.economy-lines select,.economy-lines input,.economy-bank-import input,.economy-bank-match input,.economy-bank-match select,.economy-report-filter input{min-height:46px}.economy-check input{width:22px!important;height:22px!important}}

/* Autobahn Modulverkstad */
.module-source-card{margin-bottom:18px}.module-source{max-height:68vh;overflow:auto;margin:0;padding:16px;border:1px solid #d7e1e6;border-radius:11px;background:#0f172a;color:#dbeafe;font:10px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace;tab-size:4;white-space:pre}.module-source-link{display:inline-flex;margin-top:12px;padding:7px 9px;border:1px solid var(--line);border-radius:8px;background:#f8fafc;font-size:.8125rem;font-weight:850}.module-source-link:hover{background:#eef4f7}
@media(pointer:coarse){.module-source-link{min-height:46px;align-items:center}.module-source{font-size:.8125rem}}

/* Autobahn 1.1.12.3 – navigerbar ekonomi och direkt kundvy */
.shell>main{min-width:0}
.sidebar nav>a.active{background:#18243a;border-color:rgba(255,255,255,.08);color:#fff}
.economy-sidebar-nav{display:grid;gap:2px;margin:-2px 0 10px 34px;padding:4px 0 9px 10px;border-left:1px solid rgba(148,163,184,.24)}
.economy-sidebar-nav small{margin:9px 8px 3px;color:#7890a8;font-size:.8125rem;font-weight:900;letter-spacing:.09em}
.economy-sidebar-nav a{display:block!important;min-height:0!important;padding:7px 9px!important;border:0!important;border-radius:7px!important;color:#aebccc!important;font-size:1rem!important;line-height:1.25}
.economy-sidebar-nav a:hover{background:#17283a!important;color:#fff!important}.economy-sidebar-nav a.active{background:#214b61!important;color:#fff!important;box-shadow:inset 3px 0 #38bdf8}
.economy-tabs{display:none}
.economy-closing-list{display:grid;gap:8px;margin-top:16px}.economy-closing-list>div{display:grid;grid-template-columns:30px 1fr;gap:10px;align-items:center;padding:10px 11px;border:1px solid var(--line);border-radius:10px;background:#fff}.economy-closing-list>div>span{display:grid;width:27px;height:27px;place-items:center;border-radius:999px;font-weight:900}.economy-closing-list>div>div{display:grid;gap:2px}.economy-closing-list strong{font-size:.8125rem}.economy-closing-list small{color:var(--muted);font-size:.8125rem}.economy-closing-list .is-done{border-color:#b9e2cb;background:#f5fcf8}.economy-closing-list .is-done>span{background:#dcfce7;color:#15803d}.economy-closing-list .is-open{border-color:#fed7aa;background:#fffaf5}.economy-closing-list .is-open>span{background:#ffedd5;color:#c2410c}
.module-card-actions{display:grid;gap:9px;margin-top:15px;padding-top:14px;border-top:1px solid var(--line)}.module-launch-form{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px;border:1px solid #b7d7c5;border-radius:10px;background:#f3fbf6}.module-launch-form>span{font-size:.8125rem;font-weight:850;color:#275c3d}.module-launch-form label{display:flex;align-items:center;flex-direction:row;gap:7px;font-size:.8125rem}.module-launch-form select{min-height:36px;padding:6px 8px}.module-launch-form button{flex:0 0 auto}.module-unavailable{margin:0!important}.module-source-notice{display:grid;gap:3px;margin:0 0 12px;padding:11px 12px;border:1px solid #bae6fd;border-radius:10px;background:#f0f9ff}.module-source-notice strong{font-size:.8125rem;color:#075985}.module-source-notice span{font-size:.8125rem;color:#486978}
@media(max-width:1100px){.economy-tabs{display:flex}.economy-sidebar-nav{display:none}.module-launch-form{align-items:stretch;flex-direction:column}.module-launch-form button{width:100%}}
@media(max-width:700px){.economy-tabs{display:flex}.economy-sidebar-nav{display:none}.module-card-actions{align-items:stretch}.module-source{max-height:52vh}}
@media(pointer:coarse){.module-launch-form button{min-height:46px}.economy-sidebar-nav a{min-height:40px!important}}

/* Autobahn 1.1.12.4 – datadrivet rapportcenter */
.economy-report-intro{display:flex;align-items:center;justify-content:space-between;gap:24px}.economy-report-intro h2{margin:4px 0 6px}.economy-report-intro p{max-width:760px;margin:0;color:var(--muted)}
.economy-report-count{display:grid;flex:0 0 170px;place-items:center;padding:15px;border:1px solid #c9dbe3;border-radius:13px;background:#f5fafc;text-align:center}.economy-report-count strong{font-size:25px;color:#164e63}.economy-report-count span{font-size:.8125rem;font-weight:900}.economy-report-count small{margin-top:3px;color:var(--muted);font-size:.8125rem}
.economy-report-catalog-filter{display:grid;grid-template-columns:minmax(240px,1fr) minmax(190px,.55fr) auto auto;gap:10px;align-items:end}.economy-report-catalog-filter label{display:grid;gap:5px;font-size:.8125rem;font-weight:850}.economy-report-catalog-filter input,.economy-report-catalog-filter select{width:100%;min-height:40px;border:1px solid var(--line);border-radius:9px;padding:8px 10px;background:#fff}.economy-report-catalog-filter>a{align-self:center;font-size:.8125rem;font-weight:800}
.economy-report-catalog{padding:0;overflow:hidden}.economy-report-list-head,.economy-report-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,230px);gap:20px;align-items:center}.economy-report-list-head{padding:12px 18px;border-bottom:1px solid var(--line);background:#f3f7f9;font-size:.8125rem;text-transform:uppercase;letter-spacing:.06em}.economy-report-list-head span{text-align:right}.economy-report-row{min-height:72px;padding:12px 18px;border-bottom:1px solid var(--line);color:inherit}.economy-report-row:last-child{border-bottom:0}.economy-report-row>div{display:grid;gap:3px}.economy-report-row small{color:#b45309;font-size:.8125rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.economy-report-row strong{font-size:.875rem}.economy-report-row span{color:var(--muted);font-size:.8125rem;line-height:1.35}.economy-report-row em{justify-self:end;color:#155e75;font-size:.8125rem;font-style:normal;font-weight:850;text-align:right}.economy-report-row[href]:hover{background:#f5fafc}.economy-report-row.is-planned{background:#fbfcfd}.economy-report-row.is-planned strong,.economy-report-row.is-planned span{color:#7c8b92}.economy-report-row.is-planned em{max-width:220px;color:#9a6a32}.economy-report-empty{padding:30px;text-align:center;color:var(--muted)}
.economy-report-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.economy-report-toolbar h2{margin:4px 0}.economy-report-toolbar p{margin:0;color:var(--muted)}.economy-report-back{display:block;margin-bottom:14px;font-size:.8125rem;font-weight:850}.economy-report-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.economy-report-actions .primary{display:inline-flex;align-items:center;padding:8px 12px;border-radius:9px;background:#172538;color:#fff;font-size:.8125rem;font-weight:850}
.economy-report-summary{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}.economy-report-sheet{padding:0;overflow:hidden}.economy-report-print-head{display:none;padding:0 0 16px;border-bottom:2px solid #172538}.economy-report-print-head span{font-size:.8125rem;font-weight:900;letter-spacing:.1em}.economy-report-print-head h2{margin:5px 0}.economy-report-print-head p{margin:0;color:#5c6c74}.economy-report-note{margin:16px;padding:12px;font-size:.8125rem}.economy-report-table{min-width:760px}.economy-report-table th{position:sticky;top:0;background:#f3f7f9}.economy-report-table td.report-type-money,.economy-report-table td.report-type-number{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.economy-report-table td.report-type-date,.economy-report-table td.report-type-datetime{white-space:nowrap}.economy-report-print-foot{display:none;padding:14px 0 0;color:#68777f;font-size:.8125rem}
@media(max-width:900px){.economy-report-intro,.economy-report-toolbar{align-items:flex-start;flex-direction:column}.economy-report-count{width:100%;grid-template-columns:auto auto 1fr;gap:8px;place-items:center start;text-align:left}.economy-report-count small{margin:0}.economy-report-actions{width:100%;justify-content:flex-start}.economy-report-catalog-filter{grid-template-columns:1fr 1fr}.economy-report-catalog-filter button{width:100%}}
@media(max-width:620px){.economy-report-catalog-filter{grid-template-columns:1fr}.economy-report-list-head{display:none}.economy-report-row{grid-template-columns:1fr;gap:8px}.economy-report-row em{justify-self:start;text-align:left}.economy-report-actions{display:grid;grid-template-columns:1fr}.economy-report-actions>*{justify-content:center;width:100%}.economy-report-summary{grid-template-columns:1fr 1fr}}
@media(pointer:coarse){.economy-report-row{min-height:82px}.economy-report-catalog-filter input,.economy-report-catalog-filter select,.economy-report-catalog-filter button,.economy-report-actions>*{min-height:46px}}
@media print{body{background:#fff}.shell{display:block}.sidebar,.topbar,.economy-head,.economy-tabs,.no-print{display:none!important}.shell>main{display:block}.content{padding:0!important}.content>*{display:none!important}.content>.economy-report-summary{display:grid!important;margin:0 0 14px!important}.content>.economy-report-sheet{display:block!important;border:0!important;box-shadow:none!important}.economy-report-print-head,.economy-report-print-foot{display:block}.economy-report-sheet .table-wrap{overflow:visible}.economy-report-table{min-width:0;width:100%;font-size:.8125rem}.economy-report-table th{position:static}.economy-report-table th,.economy-report-table td{padding:6px 5px}.economy-report-note{display:block!important;margin:12px 0}.badge{border:0;background:transparent;padding:0}@page{size:A4 landscape;margin:12mm}}

/* Autobahn 1.1.12.5 – ledger-driven Swedish VAT return */
.economy-lines>div{grid-template-columns:minmax(150px,1fr) minmax(80px,.38fr) minmax(80px,.38fr) minmax(120px,.65fr) minmax(145px,.72fr)}
.economy-vat-filter{display:grid;grid-template-columns:minmax(220px,.6fr) minmax(220px,1fr) auto;gap:14px;align-items:end}.economy-vat-filter label,.economy-vat-filter>div{display:grid;gap:5px;font-size:.8125rem;font-weight:850}.economy-vat-filter input{width:100%;min-height:42px;border:1px solid var(--line);border-radius:9px;padding:8px 10px;background:#fff}.economy-vat-filter>div{padding:7px 11px;border-left:3px solid #38bdf8}.economy-vat-filter>div span,.economy-vat-filter>div small{color:var(--muted)}.economy-vat-filter button{min-height:42px}.economy-stats .stat.is-refund{border-color:#a7d7ba;background:#f5fcf7}.economy-stats .stat.is-refund strong{color:#087443}
.economy-vat-status{display:flex;align-items:center;justify-content:space-between;gap:20px;border-left:5px solid}.economy-vat-status h2{margin:4px 0}.economy-vat-status p{margin:0;color:var(--muted)}.economy-vat-status.has-stop{border-left-color:#dc2626;background:#fff8f8}.economy-vat-status.has-warning{border-left-color:#d97706;background:#fffbf5}.economy-vat-status.is-ready{border-left-color:#16a34a;background:#f6fcf8}.economy-vat-status-count{display:grid;grid-template-columns:auto auto;gap:2px 7px;align-items:baseline;min-width:110px}.economy-vat-status-count strong{font-size:21px}.economy-vat-status-count span{color:var(--muted);font-size:.8125rem;font-weight:800}
.economy-vat-controls{display:grid;gap:7px}.economy-vat-control{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:11px;align-items:center;padding:10px 11px;border:1px solid var(--line);border-radius:10px}.economy-vat-control>span{display:grid;width:27px;height:27px;place-items:center;border-radius:999px;font-size:.8125rem;font-weight:900}.economy-vat-control>div{display:grid;gap:2px}.economy-vat-control strong{font-size:.8125rem}.economy-vat-control small{color:var(--muted);font-size:.8125rem}.economy-vat-control em{font-size:.8125rem;font-style:normal;font-weight:850}.economy-vat-control.is-ok{border-color:#c4e5d0}.economy-vat-control.is-ok>span{background:#dcfce7;color:#15803d}.economy-vat-control.is-stop{border-color:#fecaca;background:#fff8f8}.economy-vat-control.is-stop>span{background:#fee2e2;color:#b91c1c}.economy-vat-control.is-warning{border-color:#fed7aa;background:#fffbf5}.economy-vat-control.is-warning>span{background:#ffedd5;color:#b45309}
.economy-vat-return{padding:0;overflow:hidden}.economy-vat-return>.card-head{padding:18px 20px;border-bottom:1px solid var(--line)}.economy-vat-group{border-bottom:1px solid var(--line)}.economy-vat-group:last-child{border-bottom:0}.economy-vat-group h3{display:flex;gap:9px;align-items:center;margin:0;padding:10px 18px;background:#f3f7f9;font-size:.8125rem}.economy-vat-group h3 span{display:grid;width:23px;height:23px;place-items:center;border-radius:6px;background:#17394a;color:#fff;font-size:.8125rem}.economy-vat-group>div{display:grid}.economy-vat-box{display:grid;grid-template-columns:38px minmax(0,1fr) minmax(130px,.25fr);gap:12px;align-items:start;padding:11px 18px;border-top:1px solid #edf1f3}.economy-vat-box:first-child{border-top:0}.economy-vat-box>b{display:grid;width:31px;height:27px;place-items:center;border:1px solid #bbd0da;border-radius:7px;background:#f7fafb;color:#164e63;font-size:.8125rem}.economy-vat-box>div{display:grid;gap:3px}.economy-vat-box>div>strong{font-size:.8125rem}.economy-vat-box details{font-size:.8125rem;color:var(--muted)}.economy-vat-box details small{display:block;margin-top:3px}.economy-vat-box>em{justify-self:end;font-size:.8125rem;font-style:normal;font-weight:900;font-variant-numeric:tabular-nums}.economy-vat-box.is-total{background:#eef8f2}.economy-vat-box.is-total>b{border-color:#8dccaa;background:#dcfce7;color:#166534}.economy-vat-box.is-total>em{color:#166534;font-size:1rem}.primary.is-disabled{pointer-events:none;opacity:.45}
@media(max-width:1100px){.economy-lines>div{grid-template-columns:1fr 1fr}.economy-lines>div select:first-child,.economy-lines>div input:nth-child(4),.economy-lines>div select:last-child{grid-column:1/-1}}
@media(max-width:760px){.economy-vat-filter{grid-template-columns:1fr}.economy-vat-status{align-items:flex-start;flex-direction:column}.economy-vat-control{grid-template-columns:30px minmax(0,1fr)}.economy-vat-control em{grid-column:2}.economy-vat-box{grid-template-columns:34px minmax(0,1fr)}.economy-vat-box>em{grid-column:2;justify-self:start}.economy-lines>div{grid-template-columns:1fr}.economy-lines>div select:first-child,.economy-lines>div input:nth-child(4),.economy-lines>div select:last-child{grid-column:auto}}
@media(pointer:coarse){.economy-vat-filter input,.economy-vat-filter button,.economy-vat-control{min-height:46px}}

/* Autobahn 1.1.13.0 – verklig försäljning och leverantörsreskontra */
.commerce-title{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:0 0 14px}.commerce-title h2{margin:4px 0 5px;font-size:25px}.commerce-title p{max-width:760px;margin:0;color:var(--muted)}.commerce-title>div>a{display:inline-block;margin-bottom:10px;font-size:.8125rem;font-weight:850}.commerce-title>.primary,.commerce-upload-button .primary{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 14px;border-radius:9px;background:#0d6f98;color:#fff;font-size:.8125rem;font-weight:900;white-space:nowrap}
.commerce-tabs{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));margin-bottom:12px;border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}.commerce-tabs a{display:flex;align-items:center;justify-content:center;gap:7px;min-height:48px;padding:10px;border-right:1px solid var(--line);color:#546a75;font-size:.8125rem;font-weight:850}.commerce-tabs a:last-child{border-right:0}.commerce-tabs a.active{background:#17394a;color:#fff}.commerce-tabs span{display:grid;min-width:21px;height:21px;place-items:center;border-radius:999px;background:#edf3f6;color:#47616d;font-size:.8125rem}.commerce-tabs a.active span{background:#ffffff20;color:#fff}
.commerce-workspace{padding:0;overflow:hidden}.commerce-filter{display:grid;grid-template-columns:minmax(260px,1fr) auto;gap:8px;padding:13px 15px;border-bottom:1px solid var(--line);background:#f8fafb}.commerce-filter input,.commerce-filter select{min-height:40px;border:1px solid var(--line);border-radius:9px;padding:8px 10px;background:#fff}.commerce-filter button{min-width:100px}.commerce-workspace table{min-width:900px}.commerce-workspace th{background:#f5f8f9}.commerce-workspace td,.commerce-workspace th{padding:11px 13px}.commerce-empty{padding:32px!important;text-align:center;color:var(--muted)}
.commerce-form{position:relative;padding:22px}.commerce-form label{display:grid;gap:5px;color:#405762;font-size:.8125rem;font-weight:850}.commerce-form input,.commerce-form select,.commerce-form textarea{width:100%;min-height:42px;border:1px solid #cfdbe0;border-radius:9px;padding:8px 10px;background:#fff;color:#182d38}.commerce-form textarea{resize:vertical}.commerce-form-grid{display:grid;gap:12px}.commerce-form-grid.two{grid-template-columns:1fr 1fr}.commerce-form-grid.three{grid-template-columns:repeat(3,1fr)}.commerce-form .span-two{grid-column:span 2}.commerce-form .span-three{grid-column:span 3}.commerce-form-columns{display:grid;grid-template-columns:1fr 1fr;gap:26px}.commerce-form-columns.three{grid-template-columns:repeat(3,1fr)}.commerce-section{display:grid;align-content:start;gap:11px}.commerce-section h3{margin:8px 0 2px;padding-bottom:9px;border-bottom:1px solid var(--line);font-size:1rem}.commerce-section h3:first-child{margin-top:0}.commerce-form label.check{display:flex;align-items:center;grid-template-columns:auto 1fr;flex-direction:row}.commerce-form label.check input{width:18px;min-height:18px}
.commerce-line-table{margin:22px -22px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:13px 22px}.commerce-line-head,.commerce-line{display:grid;grid-template-columns:minmax(112px,.7fr) minmax(165px,1.2fr) 68px 62px 92px 70px 68px minmax(102px,.75fr) 94px 55px 32px;gap:7px;align-items:center}.commerce-line-head{padding:0 0 7px;color:#61737c;font-size:.8125rem;font-weight:900;text-transform:uppercase}.commerce-line{margin-bottom:7px}.commerce-line input,.commerce-line select{min-width:0;min-height:38px;padding:6px 7px;font-size:.8125rem}.commerce-line>button{display:grid;width:30px;height:30px;place-items:center;border:1px solid var(--line);border-radius:999px;background:#fff}.commerce-add-line{margin-top:5px;border:0;background:transparent;color:#0b6d96;font-size:.8125rem;font-weight:850}.commerce-supplier-head,.commerce-supplier-line{display:grid;grid-template-columns:1.1fr 1fr .55fr .42fr .45fr .6fr;gap:8px;align-items:center}.commerce-supplier-head{padding-bottom:7px;color:#61737c;font-size:.8125rem;font-weight:900;text-transform:uppercase}.commerce-supplier-line{margin-bottom:7px}.commerce-supplier-line input,.commerce-supplier-line select{min-height:38px;padding:6px 7px;font-size:.8125rem}
.commerce-form-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding-top:18px}.commerce-upload{position:relative;display:grid!important;width:190px;min-height:115px;place-items:center;padding:13px;border:2px dashed #afc6d0;border-radius:12px;background:#f6fafc;text-align:center;cursor:pointer}.commerce-upload>span{font-size:.8125rem}.commerce-upload>small{color:var(--muted);font-size:.8125rem}.commerce-upload input{position:absolute;width:1px;height:1px;opacity:0}.commerce-total-hint{display:grid;gap:4px;text-align:right}.commerce-total-hint span{color:var(--muted);font-size:.8125rem}.commerce-sticky-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin:20px -22px -22px;padding:13px 22px;border-top:1px solid var(--line);background:#fff}.commerce-sticky-actions>a{padding:9px 13px;color:#516873;font-size:.8125rem;font-weight:800}.commerce-sticky-actions button{min-width:160px}.commerce-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.commerce-summary>div{padding:12px;border:1px solid var(--line);border-radius:10px;background:#f8fafb}.commerce-summary dt{color:var(--muted);font-size:.8125rem;font-weight:850}.commerce-summary dd{margin:4px 0 0;font-size:.875rem;font-weight:900}
.commerce-live-totals{display:grid;min-width:280px;gap:7px;margin:0}.commerce-live-totals>div{display:flex;align-items:center;justify-content:space-between;gap:24px}.commerce-live-totals dt{color:var(--muted);font-size:.8125rem}.commerce-live-totals dd{margin:0;font-size:.8125rem;font-weight:900;font-variant-numeric:tabular-nums}.commerce-live-totals>div:last-child{padding-top:7px;border-top:1px solid var(--line)}
.commerce-upload-button{display:flex;gap:7px;align-items:center}.commerce-upload-button select{min-height:42px;border:1px solid var(--line);border-radius:9px;padding:7px 9px;background:#fff}.commerce-upload-button label{position:relative;cursor:pointer}.commerce-upload-button input{position:absolute;width:1px;height:1px;opacity:0}.commerce-document-grid{display:grid}.commerce-document-grid article{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 16px;border-bottom:1px solid var(--line)}.commerce-document-grid article:last-child{border-bottom:0}.commerce-document-grid article>div{display:grid;grid-template-columns:auto 1fr;gap:4px 10px;align-items:center}.commerce-document-grid article strong{font-size:.8125rem}.commerce-document-grid article small{grid-column:2;color:var(--muted);font-size:.8125rem}.commerce-document-grid article>a{font-size:.8125rem;font-weight:850}.commerce-empty-state{display:grid;min-height:340px;place-items:center;align-content:center;gap:7px;text-align:center}.commerce-empty-state>span{font-size:48px}.commerce-empty-state h3,.commerce-empty-state p{margin:0}.commerce-empty-state p{color:var(--muted)}
.commerce-document-actions{display:flex!important;grid-template-columns:none!important;align-items:center;justify-content:flex-end;gap:8px!important}.commerce-document-actions a{font-size:.8125rem;font-weight:850}.commerce-document-actions .primary{display:inline-flex;align-items:center;min-height:36px;padding:7px 11px;border-radius:8px}.commerce-ocr-review{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:16px 0 0;padding:12px 14px;border-radius:10px}.commerce-ocr-review strong{font-size:.8125rem}.commerce-ocr-review span{color:var(--muted);font-size:.8125rem}
@media(max-width:1200px){.commerce-line-head{display:none}.commerce-line{grid-template-columns:1fr 1fr 90px 90px}.commerce-line>*:nth-child(n+5){grid-column:auto}.commerce-line>button{justify-self:end}.commerce-form-columns.three{grid-template-columns:1fr 1fr}.commerce-form-columns.three>.commerce-section:last-child{grid-column:1/-1}.commerce-supplier-head{display:none}.commerce-supplier-line{grid-template-columns:1fr 1fr 1fr}}
@media(max-width:820px){.commerce-title{align-items:stretch;flex-direction:column}.commerce-title>.primary{align-self:flex-start}.commerce-tabs{grid-template-columns:1fr}.commerce-tabs a{border-right:0;border-bottom:1px solid var(--line)}.commerce-filter,.commerce-form-grid.two,.commerce-form-grid.three,.commerce-form-columns,.commerce-form-columns.three,.commerce-summary{grid-template-columns:1fr}.commerce-form .span-two,.commerce-form .span-three,.commerce-form-columns.three>.commerce-section:last-child{grid-column:auto}.commerce-line{grid-template-columns:1fr 1fr}.commerce-supplier-line{grid-template-columns:1fr}.commerce-form-bottom,.commerce-upload-button,.commerce-ocr-review{align-items:stretch;flex-direction:column}.commerce-upload{width:100%}.commerce-total-hint{text-align:left}.commerce-document-grid article{align-items:flex-start;flex-direction:column}.commerce-document-actions{width:100%;justify-content:flex-start}}
@media(max-width:520px){.commerce-line{grid-template-columns:1fr}.commerce-sticky-actions{align-items:stretch;flex-direction:column}.commerce-sticky-actions>*{width:100%;text-align:center}}
@media(pointer:coarse){.commerce-tabs a,.commerce-filter input,.commerce-filter button,.commerce-form input,.commerce-form select,.commerce-form textarea,.commerce-title>.primary,.commerce-upload-button .primary{min-height:48px}.commerce-line input,.commerce-line select,.commerce-supplier-line input,.commerce-supplier-line select{min-height:46px}}

/* Autobahn 1.1.13.1 – sammanhängande modulnavigation */
.sidebar{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#2b3b55 transparent}
.sidebar-nav-group{margin:2px 0 0;border:1px solid rgba(255,255,255,.06);border-radius:12px;background:rgba(255,255,255,.018);overflow:hidden}
.sidebar-nav-group>summary{display:flex;align-items:center;gap:10px;min-height:46px;padding:10px 12px;color:#f5f7fa;cursor:pointer;list-style:none;user-select:none}
.sidebar-nav-group>summary::-webkit-details-marker{display:none}
.sidebar-nav-group>summary>span:first-child{width:22px;text-align:center}
.sidebar-nav-group>summary strong{font-size:1rem}
.sidebar-summary-chevron{width:auto!important;margin-left:auto;color:#8ca0b8;transition:transform .16s ease}
.sidebar-nav-group:not([open]) .sidebar-summary-chevron{transform:rotate(-90deg)}
.sidebar-module-list{display:grid;gap:3px;margin:0 8px 9px;padding:3px 0 3px 9px;border-left:1px solid rgba(148,163,184,.23)}
.sidebar-module-list>a.module-link{min-height:39px;padding:8px 9px;border-radius:8px;font-size:1rem}
.sidebar-module-list>a.module-link.active{background:#214b61;border-color:rgba(125,211,252,.18);color:#fff;box-shadow:inset 3px 0 #38bdf8}
.sidebar-platform-nav{display:grid;gap:4px;margin-top:12px;padding-top:12px;border-top:1px solid rgba(148,163,184,.18)}
.sidebar-platform-nav>small{padding:0 12px 4px;color:#7890a8;font-size:.8125rem;font-weight:900;letter-spacing:.12em}
.sidebar-platform-nav>a.active{background:#18243a;border-color:rgba(255,255,255,.08);color:#fff}
.sidebar-module-list>.economy-sidebar-nav{display:grid;gap:2px;margin:0 0 7px 21px;padding:2px 0 6px 9px;border-left:1px solid rgba(125,211,252,.2)}
.sidebar-module-list>.economy-sidebar-nav a{display:block!important;min-height:34px!important;padding:7px 8px!important;border:0!important;border-radius:7px!important;color:#aebccc!important;font-size:1rem!important;line-height:1.25}
.sidebar-module-list>.economy-sidebar-nav a:hover{background:#17283a!important;color:#fff!important}
.sidebar-module-list>.economy-sidebar-nav a.active{background:#214b61!important;color:#fff!important;box-shadow:inset 3px 0 #38bdf8}
.sidebar-module-list>.economy-sidebar-nav>.economy-overview-link{margin-bottom:2px}
.economy-sidebar-section{border:0;border-radius:8px;background:transparent;overflow:hidden}
.economy-sidebar-section>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:35px;padding:7px 8px;border-radius:7px;color:#aebccc;cursor:pointer;list-style:none;font-size:1rem;font-weight:850;user-select:none}
.economy-sidebar-section>summary::-webkit-details-marker{display:none}
.economy-sidebar-section>summary:hover{background:#17283a;color:#fff}
.economy-sidebar-section[open]>summary{color:#fff}
.economy-sidebar-section>summary .economy-sidebar-chevron{color:#7890a8;transition:transform .16s ease}
.economy-sidebar-section:not([open])>summary .economy-sidebar-chevron{transform:rotate(-90deg)}
.economy-sidebar-section>div{display:grid;gap:2px;margin:0 0 3px 8px;padding:2px 0 3px 7px;border-left:1px solid rgba(125,211,252,.17)}

/* Surfplatta: behåll hela modulträdet läsbart och tryckvänligt. */
@media (min-width:701px) and (max-width:1180px){
  .shell{grid-template-columns:230px minmax(0,1fr)}
  .sidebar{padding:18px 12px}
  .brand>div:last-child{display:block}
  .sidebar nav a,.sidebar nav a:not(:hover){justify-content:flex-start;font-size:.875rem}
  .sidebar nav a span{font-size:1rem}
  .sidebar-foot small,.sidebar-foot a,.sidebar-foot form,.sidebar-foot .link-button{font-size:.875rem}
  .sidebar-module-list>.economy-sidebar-nav{display:grid}
  .content{padding:20px}
}

@media (max-width:700px){
  .sidebar nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}
  .sidebar-nav-group,.sidebar-platform-nav{grid-column:1/-1}
  .sidebar-module-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sidebar-module-list>.economy-sidebar-nav{display:none;grid-column:1/-1}
  .sidebar-platform-nav{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sidebar-platform-nav>small{grid-column:1/-1}
}

@media (pointer:coarse){
  .sidebar-nav-group>summary,.sidebar-module-list>a.module-link,.sidebar-platform-nav>a{min-height:46px}
  .sidebar-module-list>.economy-sidebar-nav a,.economy-sidebar-section>summary{min-height:42px!important}
}

/* Autobahn 1.1.29.4 – valbar och tydlig versionsåterställning */
.module-studio-page{display:grid;gap:12px}
.module-studio-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 18px;border:1px solid #c7dce6;border-left:4px solid #2f9ddd;border-radius:15px;background:linear-gradient(112deg,#fff 0%,#f2f9fc 68%,#e8f6fc 100%);box-shadow:0 8px 22px rgba(31,75,96,.06)}
.module-studio-identity{display:flex;align-items:center;gap:13px;min-width:0}
.module-studio-icon{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border:1px solid #f3d7c9;border-radius:10px;background:#fff5ef;color:var(--accent);font-size:20px}
.module-studio-identity h2{margin:3px 0 2px;font-size:24px;line-height:1.05}
.module-studio-identity p{max-width:880px;margin:0;color:var(--muted);font-size:.875rem}
.module-studio-status{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.module-studio-status .badge.success,.module-mirror-badges .badge.success{border-color:#a7d7ba;background:#eefaf3;color:#17623b}
.module-studio-commandbar{display:grid;grid-template-columns:minmax(280px,1fr) auto;align-items:center;gap:12px;padding:13px 15px}
.module-studio-command-copy{display:grid;gap:2px}.module-studio-command-copy strong{font-size:1rem}.module-studio-command-copy small{color:var(--muted);font-size:.8125rem}
.module-studio-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}
.module-studio-actions>a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 11px;border:1px solid var(--line);border-radius:9px;background:#fff;font-size:.8125rem;font-weight:850}
.module-studio-actions>a.primary{border-color:#0d6f98;background:#0d6f98;color:#fff}
.module-studio-tenant{grid-column:1/-1;display:grid;grid-template-columns:minmax(250px,430px) auto minmax(180px,1fr);align-items:end;gap:10px;padding:10px 11px;border:1px solid #c8dce5;border-radius:11px;background:#f4f9fb}
.module-studio-tenant label{display:grid;min-width:min(390px,100%);gap:5px;color:#405762;font-size:.8125rem;font-weight:850}
.module-studio-tenant select{width:100%;min-height:38px;border:1px solid #c4d4dc;border-radius:9px;padding:7px 10px;background:#fff}
.module-studio-tenant button{min-height:38px}
.module-studio-environment-note{align-self:center;margin:0;color:#54707e;font-size:.8125rem}
.module-studio-meta{display:grid;grid-template-columns:minmax(280px,.7fr) minmax(360px,1.3fr);gap:28px;padding:4px 0 2px}
.module-studio-meta .details{margin:12px 0 0}
.module-feature-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:7px;margin-top:12px}
.module-feature-list>div{display:grid;gap:2px;padding:10px 11px;border:1px solid var(--line);border-radius:9px;background:#f8fafb}
.module-feature-list strong{font-size:.8125rem}.module-feature-list small{color:var(--muted);font-size:.8125rem}
.module-mirror-card{padding:0;overflow:hidden;border-color:#a9c8d5}
.module-mirror-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:10px 14px;border-bottom:1px solid var(--line);background:#f4f9fb}
.module-mirror-head h2{margin:2px 0 0;font-size:17px}.module-mirror-badges{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}
.module-mirror-frame{display:block;width:100%;height:calc(100vh - 220px);min-height:680px;border:0;background:#edf3f6}
.module-studio-empty{padding:22px;text-align:center}.module-studio-empty h2{margin:5px 0}.module-studio-empty p{margin:0;color:var(--muted)}
.module-studio-technical{padding:0;overflow:hidden}
.module-studio-technical>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 15px;cursor:pointer;list-style:none}
.module-studio-technical>summary::-webkit-details-marker{display:none}
.module-studio-technical>summary>span:first-child{display:grid;gap:3px}.module-studio-technical>summary strong{font-size:.875rem}
.module-studio-technical[open]>summary{border-bottom:1px solid var(--line);background:#f8fbfc}
.module-studio-technical>.module-studio-meta{padding:15px 18px 18px}
.module-catalog-heading{align-items:flex-start;margin:22px 2px 10px}.module-catalog-heading h2{margin:0 0 2px;font-size:20px}.module-catalog-heading p{font-size:.8125rem}
.module-catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.module-catalog-card{display:flex;min-width:0;min-height:0;flex-direction:column;margin:0;padding:15px;border-radius:14px}
.module-catalog-topline{display:flex;align-items:center;justify-content:space-between;gap:10px}.module-catalog-topline .eyebrow{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.module-catalog-topline .badge{padding:5px 8px;font-size:.8125rem}
.module-catalog-title{display:flex;align-items:center;gap:9px;margin-top:9px;color:var(--ink);font-size:17px;font-weight:900;line-height:1.15}.module-catalog-title:hover{color:#0d6f98}.module-catalog-title .module-icon{display:grid;width:31px;height:31px;flex:0 0 31px;place-items:center;border-radius:8px;background:#fff4ed;color:var(--accent)}
.module-catalog-description{display:-webkit-box;min-height:34px;margin:8px 0 12px;overflow:hidden;color:var(--muted);font-size:.8125rem;line-height:1.55;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.module-catalog-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto}.module-catalog-feature-count{color:#5f7480;font-size:.8125rem;font-weight:800;white-space:nowrap}.module-catalog-open{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:7px 10px;border-radius:9px;background:var(--accent);color:#fff;font-size:.8125rem;font-weight:900;white-space:nowrap}.module-catalog-open:hover{background:#e95a2f;color:#fff}
.module-catalog-technical{margin-top:10px;border-top:1px solid var(--line)}.module-catalog-technical>summary{padding:9px 0 0;cursor:pointer;list-style:none;color:#617682;font-size:.8125rem;font-weight:850}.module-catalog-technical>summary::-webkit-details-marker{display:none}.module-catalog-technical>summary::after{content:' +';color:#0d6f98}.module-catalog-technical[open]>summary::after{content:' −'}
.module-catalog-technical>.details{grid-template-columns:92px minmax(0,1fr);gap:7px;margin:11px 0 0;padding:11px;border:1px solid var(--line);border-radius:9px;background:#f8fafb;font-size:.8125rem}.module-catalog-technical>.details code{overflow-wrap:anywhere}.module-catalog-technical-title{margin:12px 0 7px;font-size:.8125rem}.module-catalog-technical .check-list{grid-template-columns:1fr}.module-catalog-technical .module-source-link{margin-top:9px}

@media(max-width:900px){
  .module-studio-header,.module-mirror-head{align-items:flex-start;flex-direction:column}
  .module-studio-commandbar{grid-template-columns:1fr}
  .module-studio-actions{justify-content:flex-start}
  .module-studio-tenant{grid-template-columns:minmax(220px,1fr) auto}.module-studio-environment-note{grid-column:1/-1}
  .module-studio-meta{grid-template-columns:1fr}
  .module-mirror-frame{height:720px;min-height:720px}
}
@media(max-width:620px){
  .module-studio-identity{align-items:flex-start}.module-studio-status{justify-content:flex-start}
  .module-studio-actions,.module-studio-tenant{display:flex;align-items:stretch;flex-direction:column}
  .module-studio-actions>a,.module-studio-tenant button{width:100%}
  .module-feature-list{grid-template-columns:1fr}
  .module-mirror-frame{height:680px;min-height:680px}
  .module-catalog-grid{grid-template-columns:1fr}.module-catalog-card{padding:14px}.module-catalog-footer{align-items:stretch;flex-direction:column}.module-catalog-feature-count{order:2}.module-catalog-open{width:100%}
}
@media(pointer:coarse){
  .module-studio-actions>a,.module-studio-tenant select,.module-studio-tenant button,.module-catalog-open,.module-catalog-technical>summary{min-height:46px}
}

/* Autobahn 1.1.15.1 – samma utfällbara modulmeny i kontrollpanel och kundvy */
.sidebar-module-list{display:grid;gap:4px;margin:0 8px 9px;padding:4px 0 4px 8px}
.sidebar-module-section{border:0;border-radius:10px;background:transparent;overflow:hidden}
.sidebar-module-section>summary{display:flex;align-items:center;gap:9px;min-height:42px;padding:8px 9px;border:1px solid transparent;border-radius:9px;color:#d6dce5;cursor:pointer;list-style:none;user-select:none}
.sidebar-module-section>summary::-webkit-details-marker{display:none}
.sidebar-module-section>summary>span:first-child{width:22px;text-align:center;color:#b9c8d8}
.sidebar-module-section>summary strong{font-size:1rem}
.sidebar-module-section>summary:hover{background:#151f34;color:#fff}
.sidebar-module-section.active>summary,.sidebar-module-section[open]>summary{background:#18243a;border-color:rgba(255,255,255,.07);color:#fff}
.sidebar-module-section:not([open])>summary .sidebar-summary-chevron{transform:rotate(-90deg)}
.sidebar-module-submenu{display:grid;gap:2px;margin:2px 0 7px 22px;padding:3px 0 4px 9px;border-left:1px solid rgba(125,211,252,.2)}
.sidebar-module-submenu>a,.sidebar-module-submenu>.economy-sidebar-nav>a{display:block!important;min-height:34px!important;padding:7px 8px!important;border:0!important;border-radius:7px!important;color:#aebccc!important;font-size:1rem!important;line-height:1.25}
.sidebar-module-submenu>a:hover,.sidebar-module-submenu>.economy-sidebar-nav>a:hover{background:#17283a!important;color:#fff!important}
.sidebar-module-submenu>a.active,.sidebar-module-submenu>.economy-sidebar-nav>a.active{background:#214b61!important;color:#fff!important;box-shadow:inset 3px 0 #38bdf8}
.sidebar-module-submenu>.economy-sidebar-nav{display:grid;gap:2px;margin:0;padding:0;border:0}
.sidebar-module-submenu .economy-sidebar-section>div{margin-left:8px}

@media (min-width:701px) and (max-width:1180px){
  .sidebar-module-list{display:grid}
  .sidebar-module-submenu>.economy-sidebar-nav{display:grid}
}
@media (max-width:700px){
  .sidebar-module-list{display:grid;grid-template-columns:1fr}
  .sidebar-module-section{grid-column:1/-1}
  .sidebar-module-submenu,.sidebar-module-submenu>.economy-sidebar-nav{display:grid}
}
@media (pointer:coarse){
  .sidebar-module-section>summary,.sidebar-module-submenu>a,.sidebar-module-submenu>.economy-sidebar-nav>a,.sidebar-module-submenu .economy-sidebar-section>summary{min-height:46px!important}
}

/* Autobahn 1.1.15.2 – datadriven ekonomiöversikt */
.economy-overview-heading{display:flex;align-items:end;justify-content:space-between;gap:18px;margin:4px 0 18px}.economy-overview-heading h2{margin:3px 0 4px;font-size:30px}.economy-overview-heading p{margin:0;color:var(--muted)}
.economy-dashboard-period{display:flex;flex-direction:row;align-items:end;gap:8px}.economy-dashboard-period label{gap:4px;font-size:.8125rem}.economy-dashboard-period input{width:145px;min-height:38px;padding:7px 9px}.economy-dashboard-period button{min-height:38px;background:#172538;color:#fff}
.economy-dashboard-grid{display:grid;gap:16px}.economy-dashboard-top{grid-template-columns:minmax(0,1.75fr) minmax(285px,.65fr)}.economy-dashboard-middle{grid-template-columns:minmax(0,1.65fr) minmax(300px,.72fr)}
.economy-dashboard-grid>.card{min-width:0}.economy-dashboard-grid .card-head p{margin:2px 0 0}.economy-dashboard-grid .card-head>a{flex:0 0 auto;color:#315a6c;font-size:.8125rem;font-weight:850}
.economy-invoice-body{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:20px;margin-top:14px}.economy-invoice-chart{display:flex;align-items:stretch;gap:7px;height:250px;padding:12px 8px 0;border-bottom:1px solid #dde6ea;background:repeating-linear-gradient(to bottom,#fff 0,#fff 61px,#edf2f4 62px)}.economy-invoice-week{display:grid;grid-template-rows:minmax(0,1fr) 24px;flex:1;min-width:34px;gap:5px;text-align:center}.economy-invoice-bars{display:flex;align-items:end;justify-content:center;gap:2px;height:100%}.economy-invoice-bars span{display:block;width:min(15%,12px);min-width:5px;border-radius:3px 3px 0 0;transition:height .2s}.economy-invoice-bars span[style="height:0%"]{min-height:1px;opacity:.16}.economy-invoice-week>small{font-size:.8125rem;color:#64748b}
.economy-invoice-bars .customer_paid,.economy-chart-legend .customer_paid:before{background:#41bb55}.economy-invoice-bars .customer_open,.economy-chart-legend .customer_open:before{background:#9be79e;border:1px solid #41bb55}.economy-invoice-bars .supplier_paid,.economy-chart-legend .supplier_paid:before{background:#ff5c59}.economy-invoice-bars .supplier_open,.economy-chart-legend .supplier_open:before{background:#ffaaa6;border:1px solid #ff5c59}
.economy-invoice-summary{display:grid;grid-template-columns:1fr 1fr;align-content:start;gap:11px 14px;margin:0;padding-left:18px;border-left:1px solid var(--line)}.economy-invoice-summary dt{grid-column:1/-1;margin-top:3px;font-size:.875rem;font-weight:900}.economy-invoice-summary dd{display:grid;gap:2px;margin:0}.economy-invoice-summary dd span,.economy-invoice-summary dd small{font-size:.8125rem;color:var(--muted)}.economy-invoice-summary dd strong{font-size:18px}.economy-chart-legend{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:13px;padding-left:8px}.economy-chart-legend span{display:flex;align-items:center;gap:6px;font-size:.8125rem;color:#60707a}.economy-chart-legend span:before{content:"";width:10px;height:10px;border-radius:3px}
.economy-attention-card{align-self:stretch}.economy-task-total{display:grid;place-items:center;width:34px;height:34px;border-radius:999px;background:#fff1e8;color:#c2410c;font-size:.875rem;font-weight:900}.economy-attention-list{display:grid;margin-top:6px}.economy-attention-list a{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-height:51px;padding:10px 4px;border-bottom:1px solid var(--line)}.economy-attention-list a:last-child{border-bottom:0}.economy-attention-list a:hover span{color:#0f749c}.economy-attention-list span{font-size:.8125rem;font-weight:780}.economy-attention-list strong{display:grid;place-items:center;min-width:27px;height:27px;padding:0 7px;border-radius:999px;background:#f1f5f9;font-size:.8125rem}
.economy-liquidity-body{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:20px;margin-top:12px}.economy-line-chart{min-width:0}.economy-line-chart svg{display:block;width:100%;height:230px;overflow:visible}.economy-line-chart svg line{stroke:#e4eaed;stroke-width:1}.economy-line-chart svg polyline{fill:none;stroke:#33b64a;stroke-width:3;stroke-linejoin:round;stroke-linecap:round}.economy-line-chart svg circle{fill:#fff;stroke:#33b64a;stroke-width:2}.economy-line-labels{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:3px}.economy-line-labels span{display:grid;gap:2px;text-align:center;font-size:.8125rem;color:#536873}.economy-line-labels small{font-size:.8125rem;color:#82919a;white-space:nowrap}
.economy-bank-list{display:grid;align-content:start;gap:7px;padding-left:18px;border-left:1px solid var(--line)}.economy-bank-list>a{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 10px;padding:10px 0;border-bottom:1px solid var(--line)}.economy-bank-list>a small{grid-column:1/-1;color:var(--muted);font-size:.8125rem}.economy-bank-list>a strong{font-size:.8125rem}.economy-bank-list>a em{font-size:.8125rem;font-style:normal;font-weight:900}.economy-bank-list>p{font-size:.8125rem}.economy-bank-total{display:flex;justify-content:space-between;gap:10px;margin-top:7px;padding-top:11px;border-top:2px solid #dce5e8}.economy-bank-total span{font-size:.8125rem;font-weight:850}.economy-bank-total strong{color:#168237;font-size:17px}
.economy-result-chart{display:flex;align-items:end;justify-content:center;gap:24px;height:250px;margin:13px 0 10px;padding:12px 12px 0;border-bottom:1px solid var(--line);background:repeating-linear-gradient(to bottom,#fff 0,#fff 59px,#edf2f4 60px)}.economy-result-chart>div{display:grid;grid-template-rows:minmax(0,1fr) 25px;align-items:end;width:min(25%,80px);height:100%;text-align:center}.economy-result-chart span{display:block;width:100%;min-height:2px;border-radius:3px 3px 0 0}.economy-result-chart small{padding-top:7px;font-size:.8125rem}.economy-result-values{display:grid;grid-template-columns:1fr auto;gap:8px;margin:14px 0 0;padding-top:13px;border-top:1px solid var(--line)}.economy-result-values dt{font-size:.8125rem;font-weight:780}.economy-result-values dd{margin:0;text-align:right;font-size:.8125rem;font-weight:900}.economy-result-values dd.positive{color:#16a34a}.economy-result-values dd.negative{color:#dc2626}
.economy-overview-kpis{margin-top:0}.economy-table-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.economy-table-grid>.card{min-width:0}.economy-table-grid table{min-width:590px}.economy-table-grid .card-head{margin-bottom:12px}
.economy-stats+.grid.two>.card{min-width:0}.economy-stats+.grid.two .card-head{flex-wrap:wrap}.economy-stats+.grid.two .card-head>div{min-width:0}.economy-stats+.grid.two .card-head>.primary{max-width:100%;text-align:center;overflow-wrap:anywhere}
@media(max-width:1250px){.economy-dashboard-top,.economy-dashboard-middle,.economy-table-grid{grid-template-columns:1fr}.economy-attention-list{grid-template-columns:1fr 1fr}.economy-attention-list a:nth-last-child(2){border-bottom:0}}
@media(max-width:980px){.economy-invoice-body,.economy-liquidity-body{grid-template-columns:1fr}.economy-invoice-summary{padding:15px 0 0;border-top:1px solid var(--line);border-left:0}.economy-bank-list{grid-template-columns:1fr 1fr;padding:15px 0 0;border-top:1px solid var(--line);border-left:0}.economy-bank-list>.eyebrow,.economy-bank-total,.economy-bank-list>p{grid-column:1/-1}.economy-overview-heading{align-items:flex-start;flex-direction:column}.economy-dashboard-period{width:100%}.economy-dashboard-period label{flex:1}.economy-dashboard-period input{width:100%}}
@media(max-width:700px){.economy-attention-list{grid-template-columns:1fr}.economy-attention-list a:nth-last-child(2){border-bottom:1px solid var(--line)}.economy-dashboard-period{display:grid;grid-template-columns:1fr 1fr}.economy-dashboard-period button{grid-column:1/-1}.economy-invoice-chart{gap:3px;height:210px;padding-left:0;padding-right:0}.economy-invoice-week{min-width:25px}.economy-invoice-bars{gap:1px}.economy-invoice-bars span{min-width:3px}.economy-line-chart svg{height:190px}.economy-line-labels small{display:none}.economy-bank-list{grid-template-columns:1fr}.economy-bank-list>*{grid-column:1!important}.economy-result-chart{height:210px}.economy-overview-heading h2{font-size:25px}}
@media(max-width:460px){.economy-invoice-summary{grid-template-columns:1fr 1fr}.economy-chart-legend{display:grid;grid-template-columns:1fr 1fr}.economy-result-chart{gap:12px}.economy-overview-kpis{grid-template-columns:1fr}}
@media(pointer:coarse){.economy-dashboard-period input,.economy-dashboard-period button,.economy-attention-list a,.economy-bank-list>a{min-height:46px}}
/* Autobahn 1.1.16.0 – separata arbets- och kundversioner */
.release-channel-pill{background:#fff2dd!important;color:#9a4d00!important;border-color:#ffd19b!important;text-decoration:none}.preview-safety-banner{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px;padding:14px 18px;border:1px solid #f5c27f;border-radius:14px;background:#fff8ec;color:#522b08}.preview-safety-banner>div{display:grid;gap:3px}.preview-safety-banner strong{font-size:1rem}.preview-safety-banner small{color:#7c5a36}.preview-safety-banner.sandbox{border-color:#9bd9ad;background:#f0fbf3;color:#145a28}.preview-safety-banner>a{white-space:nowrap;font-weight:800}.release-hero{background:linear-gradient(130deg,#142137,#193f4f);color:#fff}.release-hero p{color:#d9e8ef}.release-flow{display:grid;grid-template-columns:1fr auto 1fr auto 1fr auto 1fr;align-items:center;gap:14px;margin:18px 0}.release-flow>div{display:grid;grid-template-columns:36px 1fr;column-gap:10px;align-items:center;padding:15px;border:1px solid var(--line);border-radius:14px;background:#fff}.release-flow b{grid-row:1/3;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#102039;color:#fff}.release-flow small{color:var(--muted)}.release-flow>span{color:#7c8c99;font-size:22px}.release-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:18px 0}.release-card{padding:22px;border:2px solid var(--line);border-radius:18px;background:#fff}.release-card.preview{border-color:#f3a34d;background:#fffaf4}.release-card.stable{border-color:#72c58a;background:#f7fcf8}.release-version{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0}.release-version strong{font-size:30px}.release-card>small{display:block;color:var(--muted);margin-top:4px}.release-card details{margin-top:14px}.release-card li{margin:5px 0}.release-publish-card,.release-rollback-card{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(300px,.6fr);gap:24px;align-items:center;margin-top:18px}.release-publish-card form,.release-rollback-card form{display:grid;gap:12px}.release-confirm{display:flex!important;align-items:flex-start;gap:9px;font-weight:600!important}.release-confirm input{width:auto;margin-top:3px}.release-rollback-card{border-color:#e5e9ec;background:#fbfcfd}@media(max-width:900px){.release-flow{grid-template-columns:1fr}.release-flow>span{display:none}.release-grid,.release-publish-card,.release-rollback-card{grid-template-columns:1fr}}@media(max-width:620px){.preview-safety-banner{align-items:flex-start;flex-direction:column}.release-version{align-items:flex-start;flex-direction:column}}

/* Autobahn 1.1.16.1 – tydlig produkt-, paket- och branschstruktur */
.welcome-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.welcome-actions a.module-chip:hover{border-color:#fb923c;background:rgba(249,115,22,.2)}
.product-hero{background:linear-gradient(130deg,#111d31,#173e4e)}
.product-principles{display:grid;grid-template-columns:repeat(3,1fr);gap:0;padding:0;overflow:hidden}.product-principles>div{display:grid;grid-template-columns:38px 1fr;align-content:start;gap:3px 12px;padding:20px;border-right:1px solid var(--line)}.product-principles>div:last-child{border-right:0}.product-principles strong{font-size:1rem}.product-principles p{grid-column:2;margin:0;font-size:.8125rem;line-height:1.5}.product-step{grid-row:1/3;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#fff2e8;color:#c65307;font-weight:900}
.product-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:28px 2px 13px}.product-section-head h2{margin:4px 0 4px;font-size:25px}.product-section-head p{margin:0;color:var(--muted)}
.product-plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.product-plan-card{display:flex;flex-direction:column;min-width:0}.product-plan-card.recommended{border:2px solid #68bd80;background:#fbfffc}.product-plan-card>p{min-height:44px}.product-plan-card .badge.success{border:1px solid #a7d7ba;background:#eefaf3;color:#17623b}.product-checks{display:grid;gap:8px;margin:0 0 17px;padding:0;list-style:none}.product-checks li{position:relative;padding-left:22px;color:#334155;font-size:.8125rem;line-height:1.45}.product-checks li:before{content:'✓';position:absolute;left:0;top:0;color:#16813c;font-weight:950}.product-progress{display:grid;gap:5px;margin:auto 0 14px;padding:11px 12px;border:1px dashed #e7b06c;border-radius:11px;background:#fff9ef}.product-progress strong{font-size:.8125rem;color:#8b4a0a}.product-progress span{font-size:.8125rem;color:#765634}.product-plan-action{display:flex;align-items:center;justify-content:center;margin-top:auto;min-height:42px;font-size:.8125rem}
.product-structure-grid{grid-template-columns:1fr 1fr}.product-component-list{display:grid;gap:8px}.product-component-list>a{display:grid;grid-template-columns:42px minmax(0,1fr);gap:11px;align-items:center;padding:11px;border:1px solid var(--line);border-radius:11px;background:#fbfcfd}.product-component-list>a:hover{border-color:#f2ad75;background:#fffaf6}.product-component-list strong,.product-component-list small{display:block}.product-component-list small{margin-top:3px;color:var(--muted);font-size:.8125rem;line-height:1.4}
.product-industry-card{border:2px solid #b9d9e4;background:#fafeff}.product-industry-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:10px}.product-industry-grid>a{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:11px;align-items:center;padding:14px;border:1px solid #c5dce5;border-radius:12px;background:#fff}.product-industry-grid>a:hover{border-color:#6fa9bc}.product-industry-grid strong,.product-industry-grid small{display:block}.product-industry-grid small{margin-top:3px;color:var(--muted);font-size:.8125rem}.product-industry-grid em{font-size:.8125rem;font-style:normal;font-weight:850;color:#17617c}
.product-decision{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;border-color:#f0c077;background:#fffaf0}.product-decision h2{margin:4px 0 7px}.product-decision p{margin:0;max-width:1100px;line-height:1.55}.product-decision .badge.warning{flex:0 0 auto;border:1px solid #edbd70;background:#fff3da;color:#8b4b06}
.plan-blueprint{margin-bottom:16px;border-color:#b8d8e4;background:#f7fcfe}.plan-blueprint h3{margin:4px 0 5px}.plan-blueprint ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:6px 18px;margin:12px 0 0;padding-left:20px}.plan-blueprint li{font-size:.8125rem;color:#405762}.tenant-industry-card{border:2px solid #b8d8e4;background:#f8fdff}.tenant-industry-card .module-admin-item{background:#fff}.sidebar-industries{margin-top:4px;padding-top:7px;border-top:1px solid rgba(148,163,184,.14)}.sidebar-industries:before{content:'BRANSCHLÖSNING';display:block;padding:2px 9px 5px;color:#7890a8;font-size:.8125rem;font-weight:900;letter-spacing:.12em}
@media(max-width:1050px){.product-plan-grid{grid-template-columns:1fr}.product-plan-card>p{min-height:0}.product-principles{grid-template-columns:1fr}.product-principles>div{border-right:0;border-bottom:1px solid var(--line)}.product-principles>div:last-child{border-bottom:0}}
@media(max-width:760px){.product-structure-grid{grid-template-columns:1fr}.product-industry-grid{grid-template-columns:1fr}.product-industry-grid>a{grid-template-columns:42px minmax(0,1fr)}.product-industry-grid em{grid-column:2}.product-decision,.welcome-actions{align-items:flex-start;flex-direction:column}.plan-blueprint ul{grid-template-columns:1fr}}
@media(pointer:coarse){.product-plan-action,.product-component-list>a,.product-industry-grid>a{min-height:48px}}

/* Autobahn 1.1.17.0 – central Branschstudio */
.industry-principle{display:grid;grid-template-columns:repeat(3,1fr);gap:0;padding:0;overflow:hidden}.industry-principle>div{display:grid;grid-template-columns:38px 1fr;align-content:start;gap:3px 12px;padding:20px;border-right:1px solid var(--line)}.industry-principle>div:last-child{border-right:0}.industry-principle strong{font-size:1rem}.industry-principle p{grid-column:2;margin:0;font-size:.8125rem;line-height:1.5}
.industry-catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.industry-catalog-card{display:flex;min-width:0;min-height:290px;flex-direction:column}.industry-catalog-card.is-planned{border-style:dashed;background:#fbfcfd}.industry-catalog-card h2{margin:6px 0}.industry-catalog-card>p{line-height:1.55}.industry-catalog-card>a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;margin-top:auto;border-radius:9px;background:#17394a;color:#fff;font-size:.8125rem;font-weight:900}.industry-catalog-card.is-planned>a{background:#e8eef1;color:#334c59}.industry-symbol{display:grid;width:44px;height:44px;place-items:center;border-radius:12px;background:#fff2e8;color:#c65307;font-size:21px;font-weight:900}.industry-status{display:inline-flex;align-items:center;border-radius:999px;padding:6px 10px;font-size:.8125rem;font-weight:900}.industry-status.is-live{border:1px solid #a7d7ba;background:#eefaf3;color:#17623b}.industry-status.is-work{border:1px solid #9fcbdc;background:#edf8fc;color:#155e75}.industry-status.is-planned{border:1px solid #d6dde1;background:#f2f5f7;color:#62717a}.industry-card-meta{display:flex;gap:8px;flex-wrap:wrap;margin:2px 0 18px}.industry-card-meta span{border-radius:999px;background:#f2f5f7;padding:5px 8px;color:#52636c;font-size:.8125rem;font-weight:800}
.industry-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.industry-detail-title{display:flex;align-items:flex-start;gap:14px}.industry-detail-title h2{margin:4px 0 6px;font-size:25px}.industry-detail-title p{margin:0;max-width:880px}.industry-safety{border:2px solid #e8bd76;background:#fffaf0}.industry-safety strong{display:block;margin-bottom:5px;color:#8b4b06}.industry-safety p{margin:0}.industry-blueprint-grid{grid-template-columns:1fr 1fr}.industry-list{display:grid;gap:8px;margin:0;padding:0;list-style:none}.industry-list li{position:relative;padding:10px 12px 10px 39px;border:1px solid var(--line);border-radius:10px;background:#fbfcfd;font-size:.8125rem;font-weight:750}.industry-list li:before{position:absolute;left:13px;top:9px;display:grid;width:19px;height:19px;place-items:center;border-radius:6px;font-size:.8125rem;font-weight:900}.industry-list.shared li:before{content:'✓';background:#dcfce7;color:#15803d}.industry-list.unique li:before{content:'◆';background:#e7f2f7;color:#17617c}.industry-module-link{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 11px;border-radius:9px;font-size:.8125rem}
.industry-phases{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:20px 0 0;padding:0;list-style:none}.industry-phases li{display:grid;grid-template-columns:30px minmax(0,1fr);gap:9px;align-items:start;padding:12px;border:1px solid var(--line);border-radius:11px;background:#fbfcfd}.industry-phases li>span{display:grid;width:28px;height:28px;place-items:center;border-radius:999px;background:#e8eef1;color:#52636c;font-size:.8125rem;font-weight:900}.industry-phases li div{display:grid;gap:3px}.industry-phases strong{font-size:.8125rem;line-height:1.35}.industry-phases small{color:var(--muted);font-size:.8125rem;line-height:1.3}.industry-phases li.is-complete{border-color:#bfe1ca;background:#f6fcf8}.industry-phases li.is-complete>span{background:#dcfce7;color:#15803d}.industry-phases li.is-current{border:2px solid #f0b36f;background:#fffaf3}.industry-phases li.is-current>span{background:#ffedd5;color:#c65307}.industry-phases li.is-locked{opacity:.62}.industry-next{border-left:5px solid #17617c;background:#f6fbfd}.industry-next h2{margin:5px 0 7px;max-width:1050px}.industry-next p{margin:0}
@media(max-width:1100px){.industry-phases{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){.industry-principle,.industry-catalog-grid,.industry-blueprint-grid{grid-template-columns:1fr}.industry-principle>div{border-right:0;border-bottom:1px solid var(--line)}.industry-principle>div:last-child{border-bottom:0}.industry-detail-head{align-items:flex-start;flex-direction:column}.industry-phases{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.industry-detail-title{align-items:flex-start;flex-direction:column}.industry-phases{grid-template-columns:1fr}}
@media(pointer:coarse){.industry-catalog-card>a,.industry-module-link{min-height:48px}}

/* Autobahn 1.1.18.0 – ljus, luftig och genomgående premiumsidmeny */
.sidebar{
  background:linear-gradient(180deg,#fbfcfa 0%,#f4f7f6 58%,#eef3f3 100%);
  color:#24343d;
  border-right:1px solid #dbe4e4;
  box-shadow:12px 0 34px rgba(31,55,65,.055);
  scrollbar-color:#c4d2d5 transparent
}
.brand{padding:2px 4px 17px;border-bottom:1px solid #dde6e6}
.brand-mark{border:1px solid rgba(180,112,43,.14);background:linear-gradient(145deg,#ff8a33,#f5a957);color:#fff;box-shadow:0 8px 20px rgba(194,118,43,.18)}
.brand strong{color:#172933;font-weight:850}
.brand small{color:#76868e}
.sidebar nav{gap:7px}
.sidebar nav a{color:#52636c;border-color:transparent}
.sidebar nav a span{color:#7b8d95}
.sidebar nav a:hover{background:#edf3f3;border-color:#dbe5e5;color:#183844}
.sidebar nav a:hover span{color:#2d6679}
.sidebar nav>a.active,
.sidebar-platform-nav>a.active{background:#e3f0f2;border-color:#c9dfe3;color:#143b49;box-shadow:inset 3px 0 #d49a4a,0 4px 14px rgba(30,75,88,.06)}
.sidebar nav>a.active span,
.sidebar-platform-nav>a.active span{color:#246b80}
.sidebar-nav-group{border-color:#dce5e5;background:rgba(255,255,255,.64);box-shadow:0 7px 22px rgba(38,62,70,.035)}
.sidebar-nav-group>summary{color:#2b3e47}
.sidebar-nav-group>summary>span:first-child{color:#71878f}
.sidebar-nav-group[open]>summary{background:rgba(238,244,244,.78)}
.sidebar-summary-chevron{color:#8a9ca2}
.sidebar-module-list{border-left-color:#cfdddf}
.sidebar-module-section>summary{color:#52636c}
.sidebar-module-section>summary>span:first-child{color:#82949b}
.sidebar-module-section>summary:hover{background:#edf3f3;color:#183844}
.sidebar-module-section.active>summary,
.sidebar-module-section[open]>summary{background:#e8f1f2;border-color:#d3e2e4;color:#183d4a}
.sidebar-module-submenu{border-left-color:#c7dadd}
.sidebar-module-submenu>a,
.sidebar-module-submenu>.economy-sidebar-nav>a,
.sidebar-module-list>.economy-sidebar-nav a{color:#62747d!important}
.sidebar-module-submenu>a:hover,
.sidebar-module-submenu>.economy-sidebar-nav>a:hover,
.sidebar-module-list>.economy-sidebar-nav a:hover{background:#eaf2f3!important;color:#173d49!important}
.sidebar-module-submenu>a.active,
.sidebar-module-submenu>.economy-sidebar-nav>a.active,
.sidebar-module-list>.economy-sidebar-nav a.active{background:#dcecef!important;color:#123d4c!important;box-shadow:inset 3px 0 #d49a4a!important}
.economy-sidebar-section>summary{color:#62747d}
.economy-sidebar-section>summary:hover{background:#eaf2f3;color:#173d49}
.economy-sidebar-section[open]>summary{color:#173d49}
.economy-sidebar-section>summary .economy-sidebar-chevron{color:#8b9da4}
.economy-sidebar-section>div{border-left-color:#c8dadd}
.sidebar-platform-nav{border-top-color:#d6e1e2}
.sidebar-platform-nav>small,
.sidebar-industries:before{color:#82939a}
.sidebar-industries{border-top-color:#d9e3e4}
.sidebar-foot{border-top:1px solid #d9e3e4;color:#65767e}
.sidebar-foot small{color:#65767e}
.sidebar-foot>a,
.sidebar .link-button{color:#53666f}
.sidebar-foot>a:hover,
.sidebar .link-button:hover{color:#173d49}

@media(max-width:700px){
  .sidebar{border-right:0;border-bottom:1px solid #dbe4e4;box-shadow:0 10px 30px rgba(31,55,65,.06)}
  .brand{border-bottom:0;padding-bottom:4px}
}

/* 1.1.21.0 - accounting controls and partial payments */
.economy-account-intro{display:flex;align-items:center;justify-content:space-between;gap:24px}.economy-account-intro h2{margin:4px 0 6px}.economy-account-intro p{max-width:820px;margin:0;color:var(--muted)}.economy-account-totals{display:grid;flex:0 0 150px;place-items:center;padding:14px;border:1px solid #c9dbe3;border-radius:13px;background:#f5fafc;text-align:center}.economy-account-totals strong{font-size:25px;color:#164e63}.economy-account-totals span{font-size:.8125rem;font-weight:900}.economy-account-totals small{margin-top:3px;color:var(--muted);font-size:.8125rem}
.economy-account-filter form{display:grid;grid-template-columns:minmax(220px,1.2fr) minmax(190px,.7fr) minmax(210px,.8fr) auto auto auto;gap:10px;align-items:end}.economy-account-filter label{display:grid;gap:5px;font-size:.8125rem;font-weight:850}.economy-account-filter input,.economy-account-filter select{width:100%;min-height:40px;border:1px solid var(--line);border-radius:9px;padding:8px 10px;background:#fff}.economy-account-filter input:disabled{color:#536873;background:#f5f8f9}.economy-account-filter .economy-account-inactive{display:flex;min-height:40px;align-items:center;gap:7px;white-space:nowrap}.economy-account-filter .economy-account-inactive input{width:18px;height:18px;min-height:0}.economy-account-filter a{align-self:center;font-size:.8125rem;font-weight:850}
.economy-account-catalog{padding:0;overflow:hidden}.economy-account-catalog table{min-width:1120px}.economy-account-catalog th:nth-child(1){width:90px}.economy-account-catalog th:nth-child(2){width:210px}.economy-account-catalog th:nth-child(3){width:46%}.economy-account-catalog th:nth-child(4){width:90px}.economy-account-catalog th:nth-child(5){width:85px}.economy-account-catalog th:nth-child(6){width:115px;text-align:right}.economy-account-catalog td{vertical-align:top}.economy-account-catalog td:nth-child(6){text-align:right;white-space:nowrap}.economy-account-catalog tr.is-inactive{opacity:.57;background:#f8fafb}.economy-account-link{font-weight:900;text-decoration:underline;text-underline-offset:2px}.economy-account-catalog td:nth-child(2)>strong,.economy-account-catalog td:nth-child(2)>small{display:block}.economy-account-catalog td:nth-child(2)>small{margin-top:3px;color:var(--muted);font-size:.8125rem}.economy-account-description{color:#536873;font-size:.8125rem;line-height:1.45}.economy-account-k2{display:block;margin-top:4px;color:#9a5a16;font-size:.8125rem;font-weight:900;text-transform:uppercase}.economy-account-empty{padding:34px!important;text-align:center;color:var(--muted)}
.economy-account-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-top:1px solid var(--line);background:#f8fafb;color:var(--muted);font-size:.8125rem}.economy-account-pagination nav{display:flex;gap:7px}.economy-account-pagination a{padding:7px 10px;border:1px solid var(--line);border-radius:8px;background:#fff;font-weight:850}.economy-account-edit-head{display:flex;align-items:flex-start;gap:20px}.economy-account-edit-head>a{flex:0 0 auto;font-size:.8125rem;font-weight:850}.economy-account-edit-head h2{margin:4px 0}.economy-account-edit-head p{margin:0;color:var(--muted)}
.economy-account-edit>form{display:grid;gap:20px}.economy-account-edit-grid{display:grid;grid-template-columns:1fr 1fr;gap:34px}.economy-account-edit-grid>div{display:grid;align-content:start;gap:13px}.economy-account-edit-grid h3{margin:0 0 3px;padding-bottom:9px;border-bottom:1px solid var(--line)}.economy-account-edit-grid label{display:grid;gap:5px;font-size:.8125rem;font-weight:850}.economy-account-edit-grid input,.economy-account-edit-grid select,.economy-account-edit-grid textarea{width:100%;border:1px solid var(--line);border-radius:9px;padding:9px 10px;background:#fff}.economy-account-edit-grid input,.economy-account-edit-grid select{min-height:42px}.economy-account-edit-grid textarea{min-height:190px;resize:vertical;line-height:1.5}.economy-account-edit-grid label>small{color:var(--muted);font-size:.8125rem;font-weight:500;line-height:1.45}.economy-account-edit-grid .economy-account-active{display:flex;align-items:center;gap:8px;min-height:34px}.economy-account-edit-grid .economy-account-active input{width:20px;height:20px;min-height:0}.economy-account-source{margin:4px 0 0}.economy-account-edit footer{display:flex;justify-content:flex-end;gap:10px;padding-top:17px;border-top:1px solid var(--line)}.economy-account-edit footer>a{display:inline-flex;align-items:center;padding:8px 12px;font-size:.8125rem;font-weight:850}
@media(max-width:900px){.economy-account-intro{align-items:flex-start;flex-direction:column}.economy-account-totals{width:100%;grid-template-columns:auto auto 1fr;gap:8px;place-items:center start;text-align:left}.economy-account-filter form{grid-template-columns:1fr 1fr}.economy-account-edit-grid{grid-template-columns:1fr}}
@media(max-width:620px){.economy-account-filter form{grid-template-columns:1fr}.economy-account-filter form>*{width:100%}.economy-account-pagination{align-items:flex-start;flex-direction:column}.economy-account-edit-head{flex-direction:column}.economy-account-edit footer{display:grid;grid-template-columns:1fr 1fr}.economy-account-edit footer>*{justify-content:center}}

/* Autobahn 1.1.22.0 – light, airy and consistent product UI */
:root{
  --bg:#f3f7fa;
  --panel:#ffffff;
  --ink:#102a40;
  --muted:#526979;
  --line:#dbe6ed;
  --brand:#102a40;
  --accent:#c94b1b;
  --accent-blue:#1477aa;
  --green:#159455;
  --red:#d13c3c;
  --amber:#d78a0b;
  --shadow:0 12px 32px rgba(35,76,101,.065)
}
html,body{background:var(--bg);color:var(--ink);line-height:1.45}
body{font-size:1rem}
.shell{grid-template-columns:248px minmax(0,1fr)}
.shell>main{min-width:0;background:linear-gradient(180deg,#f6f9fb 0%,#f1f6f9 100%)}
.sidebar{
  padding:18px 14px;
  background:#fff;
  color:var(--ink);
  border-right:1px solid var(--line);
  box-shadow:8px 0 26px rgba(36,76,99,.04);
  scrollbar-color:#c9dbe5 transparent
}
.brand{min-height:58px;gap:10px;padding:2px 3px 15px;border-bottom:1px solid #e7eef2}
.brand-wordmark{color:var(--accent);font-size:22px;font-weight:950;letter-spacing:.09em;line-height:1;white-space:nowrap}
.brand>div:last-child{min-width:0}
.brand>div:last-child strong{color:var(--accent-blue);font-size:.8125rem;font-weight:950;letter-spacing:.14em}
.brand>div:last-child small{overflow:hidden;color:#7c8e9a;font-size:.8125rem;text-overflow:ellipsis;white-space:nowrap}
.sidebar>.brand{display:grid;grid-template-columns:1fr;align-items:start;gap:6px}
.sidebar>.brand>div:last-child{display:flex;align-items:center;gap:8px;width:100%;min-width:0}
.sidebar>.brand>div:last-child strong{letter-spacing:.08em;white-space:nowrap}
.sidebar>.brand>div:last-child small{margin:0;padding-left:8px;border-left:1px solid #dce7ec;white-space:nowrap}
.brand-mark{background:linear-gradient(145deg,#ff6b35,#ff8a4d);box-shadow:0 7px 18px rgba(255,107,53,.18)}
.sidebar nav{gap:6px}
.sidebar nav>a,
.sidebar-platform-nav>a{min-height:43px;border:1px solid transparent;border-radius:10px;color:#425d6e;font-weight:750}
.sidebar nav>a span,.sidebar-platform-nav>a span{color:#78909e}
.sidebar nav>a:hover,.sidebar-platform-nav>a:hover{background:#eef7fc;border-color:#d9ebf4;color:#176a96}
.sidebar nav>a.active,.sidebar-platform-nav>a.active{
  background:#e8f4fb;
  border-color:#cfe7f3;
  color:#116f9e;
  box-shadow:inset 3px 0 var(--accent-blue)
}
.sidebar-nav-group{border-color:#e3ebef;background:#fff;box-shadow:none}
.sidebar-nav-group>summary{color:#29485b}
.sidebar-nav-group>summary:hover,.sidebar-nav-group[open]>summary{background:#f4f9fc;color:#176a96}
.sidebar-nav-group>summary>span:first-child{color:#526979}
.sidebar-module-list{border-left-color:#d9e7ee}
.sidebar-module-section>summary{min-height:41px;color:#486171;font-size:1rem}
.sidebar-module-section>summary:hover{background:#eef7fb;color:#176a96}
.sidebar-module-section.active>summary,.sidebar-module-section[open]>summary{
  background:#eef7fb;
  border-color:#d5e8f2;
  color:#176a96
}
.sidebar-module-submenu{border-left-color:#d4e4eb}
.sidebar-module-submenu>a,
.sidebar-module-submenu>.economy-sidebar-nav>a,
.sidebar-module-list>.economy-sidebar-nav a{min-height:36px;color:#587180!important;font-size:1rem!important}
.sidebar-module-submenu>a:hover,
.sidebar-module-submenu>.economy-sidebar-nav>a:hover,
.sidebar-module-list>.economy-sidebar-nav a:hover{background:#eef7fb!important;color:#176a96!important}
.sidebar-module-submenu>a.active,
.sidebar-module-submenu>.economy-sidebar-nav>a.active,
.sidebar-module-list>.economy-sidebar-nav a.active{
  background:#dff1fa!important;
  color:#116f9e!important;
  box-shadow:inset 3px 0 var(--accent-blue)!important
}
.economy-sidebar-section>summary{min-height:38px;color:#526d7c;font-size:1rem}
.economy-sidebar-section>summary:hover,.economy-sidebar-section[open]>summary{background:#f2f8fb;color:#176a96}
.economy-sidebar-section>div{border-left-color:#d6e5ec}
.sidebar-platform-nav{border-top-color:#e0e9ee}
.sidebar-platform-nav>small,.sidebar-industries:before{color:#526979}
.sidebar-foot{border-top-color:#e1e9ee;color:#667d8b}
.sidebar-foot small,.sidebar-foot>a,.sidebar .link-button{color:#607785}
.sidebar-foot>a:hover,.sidebar .link-button:hover{color:#1477aa}

.topbar{
  height:76px;
  padding:13px 26px;
  background:rgba(255,255,255,.96);
  border-bottom:1px solid var(--line);
  box-shadow:0 4px 18px rgba(37,78,101,.035)
}
.topbar small{color:#526979;font-size:.8125rem}
.topbar h1{color:var(--ink);font-size:22px;line-height:1.15}
.pill,.badge,.module-chip{border:1px solid #dce8ee;background:#f6f9fb;color:#3d5a6c}
.release-channel-pill{border-color:#ffd2bf;background:#fff4ed;color:#c84d1d}
.top-notification{border-color:#dce8ee;background:#fff;box-shadow:0 3px 10px rgba(36,76,99,.04)}
.top-notification:hover{border-color:#bcddea;background:#f2f9fc}
.top-notification b{background:var(--accent)}
.content{width:100%;max-width:1720px;padding:24px 26px 42px}

.welcome,.hero-module{
  position:relative;
  overflow:hidden;
  padding:24px 27px;
  border:1px solid #d7e6ed;
  border-left:5px solid var(--accent-blue);
  background:linear-gradient(125deg,#ffffff 0%,#f7fbfd 66%,#eef8fd 100%);
  color:var(--ink);
  box-shadow:var(--shadow)
}
.welcome:after,.hero-module:after{
  content:"";
  position:absolute;
  right:-65px;
  top:-90px;
  width:210px;
  height:210px;
  border-radius:999px;
  background:radial-gradient(circle,rgba(49,155,215,.10),rgba(49,155,215,0) 70%);
  pointer-events:none
}
.welcome h2,.hero-module h2{color:var(--ink)}
.welcome p,.hero-module p{color:var(--muted)}
.eyebrow{color:var(--accent);font-weight:900}
.module-chip{position:relative;z-index:1;background:#eef7fc;color:#176a96;border-color:#d2e8f2}
.card,.stat{
  border-color:var(--line);
  background:#fff;
  box-shadow:0 8px 24px rgba(34,75,98,.045)
}
.card{border-radius:15px}
.card h2,.card h3,.stat strong{color:var(--ink)}
.card p,.stat span,.stat small{color:var(--muted)}
.stat{position:relative;overflow:hidden;border-radius:14px}
.stat:before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:var(--accent-blue)}
.stats>.stat:nth-child(2n):before{background:var(--accent)}
.stats>.stat:nth-child(3n):before{background:var(--amber)}
.stats>.stat:nth-child(4n):before{background:var(--green)}
.table-wrap{border-color:#dce8ee;background:#fff}
th{background:#f2f7fa;color:#4e6878}
tbody tr:hover td{background:#f8fbfd}
input,select,textarea{border-color:#cfdde5;color:#173348}
input::placeholder,textarea::placeholder{color:#5d7180}
input:focus,select:focus,textarea:focus{border-color:var(--accent-blue);box-shadow:0 0 0 3px rgba(49,155,215,.13)}
button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid rgba(49,155,215,.27);outline-offset:2px}
.primary{background:var(--accent);border-color:var(--accent);color:#fff;box-shadow:0 5px 14px rgba(255,107,53,.16)}
.primary:hover{filter:none;background:#ed5d2b;border-color:#ed5d2b;transform:translateY(-1px)}
.search button,.economy-dashboard-period button{background:var(--accent-blue);border-color:var(--accent-blue);color:#fff}
.flash.info,.automation-note{background:#eff8fd;color:#176a96;border-color:#cce6f2}
.flash.success{background:#eef9f3;color:#12683e;border-color:#c5e8d3}
.flash.error{background:#fff3f2;color:#a52d2d;border-color:#f3cfcc}

.economy-overview-heading h2{color:var(--ink)}
.economy-dashboard-grid>.card{border-top:3px solid var(--accent-blue)}
.economy-dashboard-grid>.card:nth-child(2n){border-top-color:var(--accent)}
.economy-attention-card{border-left-color:var(--amber)!important;background:#fffaf1!important}
.economy-attention-card h2,.economy-attention-card strong{color:#8b5400}
.economy-quick-card{border-left:5px solid var(--accent-blue);background:linear-gradient(105deg,#fff,#f5fbfe)}
.economy-quick-actions a{border-color:#cfe3ed;background:#fff;color:#176a96}
.economy-quick-actions a:first-child{border-color:var(--accent);background:var(--accent);color:#fff}
.economy-quick-actions a:nth-child(2){border-color:var(--accent-blue);background:var(--accent-blue);color:#fff}
.commerce-title>.primary,.commerce-upload-button .primary{background:var(--accent);box-shadow:0 5px 14px rgba(255,107,53,.14)}
.commerce-tabs a.active{background:#e7f4fb;color:#1477aa;box-shadow:inset 0 -3px var(--accent-blue)}
.commerce-tabs a.active span{background:#fff;color:#1477aa}
.economy-tabs a.active{background:#e7f4fb!important;color:#1477aa!important;box-shadow:inset 0 -3px var(--accent-blue)}
.economy-head,.economy-command-head{border-color:#d8e7ee;background:linear-gradient(120deg,#fff,#f2f9fc);color:var(--ink)}
.economy-head p,.economy-command-head p{color:var(--muted)}
.economy-report-row:hover,.economy-document:hover{background:#f5fafc}

.login-page{background:linear-gradient(145deg,#f7fbfd 0%,#edf6fa 58%,#fff4ed 100%)}
.login-card{border:1px solid #dbe8ee;box-shadow:0 24px 70px rgba(35,76,101,.13)}
.login-brand{border-bottom:0;padding-bottom:4px}
.login-brand .brand-wordmark{font-size:25px}
.login-card h1{color:var(--ink)}

@media(max-width:1050px){
  .shell{grid-template-columns:92px minmax(0,1fr)}
  .sidebar{padding:16px 9px}
  .brand-wordmark{font-size:1rem;letter-spacing:.04em}
  .brand>div:last-child{display:none}
  .sidebar>.brand>div:last-child{display:none}
}
@media(max-width:700px){
  body{font-size:1rem}
  .shell{display:block}
  .sidebar{position:relative;height:auto;border-right:0;border-bottom:1px solid var(--line);box-shadow:0 8px 24px rgba(35,76,101,.05)}
  .brand{min-height:42px;border-bottom:0}
  .brand-wordmark{font-size:20px;letter-spacing:.08em}
  .brand>div:last-child{display:block}
  .sidebar>.brand>div:last-child{display:flex}
  .sidebar nav{padding-bottom:4px}
  .topbar{height:auto;padding:13px 15px}
  .topbar h1{font-size:19px}
  .content{padding:17px 13px 34px}
  .welcome,.hero-module{padding:20px 18px}
}
@media(pointer:coarse){
  .sidebar nav>a,.sidebar-platform-nav>a,.sidebar-nav-group>summary,.sidebar-module-section>summary{min-height:48px}
  button,a.primary,input,select{min-height:44px}
}

/* Gemensam kortyta för hela Autobahn-plattformen */
:root{
  --surface-bg:#f2f7fa;
  --surface-card:#fff;
  --surface-line:#d7e5ec;
  --surface-blue:#2f9ed8;
  --surface-orange:#ff6538;
  --surface-green:#159a57;
  --surface-amber:#df9100
}
.shell>main{background:linear-gradient(180deg,#f5f9fb 0%,var(--surface-bg) 100%)}
.content :where(.card,.stat,.module-admin-item),
.content .module-list>a,
.content .plan-grid>a,
.content .tenant-list>a{
  border:1px solid var(--surface-line);
  border-top:3px solid var(--surface-blue);
  border-radius:16px;
  background:var(--surface-card);
  box-shadow:0 9px 25px rgba(34,75,98,.055)
}
.content .stat{border-top-width:1px}
.content :where(.grid,.stats,.dashboard-stats,.economy-dashboard-grid,.economy-table-grid,.module-admin-grid,.plan-grid,.module-list)>
  :where(.card,.stat,.module-admin-item,a):nth-child(4n+2){border-top-color:var(--surface-orange)}
.content :where(.grid,.stats,.dashboard-stats,.economy-dashboard-grid,.economy-table-grid,.module-admin-grid,.plan-grid,.module-list)>
  :where(.card,.stat,.module-admin-item,a):nth-child(4n+3){border-top-color:var(--surface-amber)}
.content :where(.grid,.stats,.dashboard-stats,.economy-dashboard-grid,.economy-table-grid,.module-admin-grid,.plan-grid,.module-list)>
  :where(.card,.stat,.module-admin-item,a):nth-child(4n){border-top-color:var(--surface-green)}
.content :where(.card,.stat,.module-admin-item,.module-list>a,.plan-grid>a,.tenant-list>a){
  transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease
}
.content :where(.stat-link,.module-list>a,.plan-grid>a,.tenant-list>a):hover{
  box-shadow:0 14px 32px rgba(34,75,98,.09);
  transform:translateY(-2px)
}
.content .economy-quick-card-first{margin-bottom:18px}
.content .economy-attention-card{border-top-color:var(--surface-amber);background:#fffaf1}
.content .callout{border-top-color:var(--surface-orange);background:#fffaf5}
.content .automation-note{border-top-color:var(--surface-blue);background:#eff8fd}
.content .calendar-day-plan{border-top-color:#173f54;background:linear-gradient(150deg,#0e2230,#173f54);color:#fff}

/* Autobahn 1.1.30.4 - gemensam flyttbar arbetsyta på alla modulstarter */
.sidebar-module-section>summary .sidebar-module-home{min-width:0;flex:1;color:inherit;font-size:1rem;font-weight:850;line-height:1.25}
.sidebar-module-section>summary .sidebar-module-home:hover,.sidebar-module-section>summary .sidebar-module-home.active{color:#116f9e}
.sidebar-module-section>summary>strong{min-width:0;flex:1;overflow:hidden;font-size:1rem;text-overflow:ellipsis;white-space:nowrap}
.sidebar-module-direct{display:flex!important;align-items:center;gap:9px;min-height:42px!important;padding:8px 9px!important;border:1px solid transparent!important;border-radius:9px!important;color:#486171!important;font-size:1rem!important}
.sidebar-module-direct>span:first-child{width:22px;text-align:center;color:#82949b}.sidebar-module-direct strong{min-width:0;flex:1}.sidebar-module-open{width:auto!important;margin-left:auto;color:#8a9ca2}
.sidebar-module-direct:hover,.sidebar-module-direct.active{background:#eef7fb!important;border-color:#d5e8f2!important;color:#176a96!important;box-shadow:none!important}

.autobahn-workspace-bar{display:flex;position:relative;z-index:35;align-items:center;justify-content:space-between;gap:18px;margin-bottom:12px;padding:11px 13px;border:1px solid #d6e5ec;border-radius:14px;background:rgba(255,255,255,.96);box-shadow:0 7px 22px rgba(34,75,98,.05);backdrop-filter:blur(10px)}
.autobahn-workspace-bar>div:first-child{display:grid;min-width:0;grid-template-columns:auto minmax(0,1fr);gap:1px 9px;align-items:center}.autobahn-workspace-bar .eyebrow{grid-row:1/3;font-size:.8125rem}.autobahn-workspace-bar strong{overflow:hidden;color:#173b4d;font-size:.9375rem;text-overflow:ellipsis;white-space:nowrap}.autobahn-workspace-bar small{overflow:hidden;color:#687f8c;font-size:.8125rem;text-overflow:ellipsis;white-space:nowrap}
.autobahn-workspace-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}.autobahn-workspace-actions>span{padding:6px 8px;border-radius:999px;background:#edf7fb;color:#2b6d89;font-size:.8125rem;font-weight:800;white-space:nowrap}.autobahn-workspace-actions>span[data-state="saving"]{background:#fff7e8;color:#976000}.autobahn-workspace-actions>span[data-state="error"]{background:#fff0ef;color:#a53b36}.autobahn-workspace-actions>span[data-state="editing"]{background:#f1edff;color:#6d28d9}
.autobahn-workspace-actions button,.autobahn-widget-picker button{min-height:38px;padding:7px 10px;border:1px solid #cfe0e8;border-radius:9px;background:#fff;color:#31566a;font:inherit;font-size:.8125rem;font-weight:850;cursor:pointer}.autobahn-workspace-actions button:hover,.autobahn-widget-picker button:hover{border-color:#9fcadd;background:#f2f9fc}.autobahn-workspace-actions [data-autobahn-workspace-edit].is-active{border-color:#7c3aed;background:#7c3aed;color:#fff}
.autobahn-workspace-grid>nav,.autobahn-workspace-grid>.preview-safety-banner{margin-bottom:12px}
.autobahn-workspace-canvas{display:grid;position:relative;grid-template-columns:repeat(12,minmax(0,1fr));grid-auto-flow:dense;grid-auto-rows:24px;gap:14px;min-height:80px;padding:2px}
.autobahn-workspace-canvas[data-workspace-columns="6"]{grid-template-columns:repeat(6,minmax(0,1fr))}.autobahn-workspace-canvas[data-workspace-columns="1"]{grid-template-columns:1fr}
.autobahn-workspace-canvas[data-workspace-density="compact"]{gap:9px}.autobahn-workspace-canvas[data-workspace-density="comfortable"]{gap:20px}
.autobahn-workspace-widget{container:autobahn-widget / inline-size;position:relative;min-width:0;min-height:0;height:100%;align-self:stretch;border-radius:16px}
.autobahn-workspace-widget-content{min-width:0;height:100%}.autobahn-workspace-widget-content>:first-child{margin-top:0!important}.autobahn-workspace-widget-content>:last-child{margin-bottom:0!important}
.autobahn-workspace-widget[data-widget-manual-rows="1"]>.autobahn-workspace-widget-content{overflow:auto;overscroll-behavior:contain;border-radius:inherit}
.autobahn-workspace-canvas.is-layout-edit{padding:34px 10px 10px;border:1px dashed #b9cdd6;border-radius:17px;background-color:#f8fbfc;background-image:linear-gradient(to right,rgba(83,118,135,.045) 1px,transparent 1px),linear-gradient(to bottom,rgba(83,118,135,.045) 1px,transparent 1px);background-size:calc((100% - 22px)/12) 38px}
.autobahn-workspace-canvas.is-layout-edit:before{content:'Dra widgets och ändra storlek från kanter eller hörn';position:absolute;top:7px;left:11px;color:#587786;font-size:.8125rem;font-weight:800}
.autobahn-workspace-canvas.is-layout-edit .autobahn-workspace-widget{outline:1px dashed #a9c5d1;outline-offset:3px}.autobahn-workspace-canvas.is-layout-edit .autobahn-workspace-widget:hover{outline-color:#4f9fc0;box-shadow:0 8px 24px rgba(35,76,101,.07)}
.autobahn-workspace-canvas.is-layout-edit .autobahn-workspace-widget:not(.is-collapsed){padding-top:52px}.autobahn-workspace-canvas.is-layout-edit .autobahn-workspace-widget.is-collapsed{padding-top:52px}
.autobahn-workspace-widget.is-collapsed{display:flex;align-items:center;min-height:48px;padding:13px 15px;border:1px solid #d6e4ea;background:#fff}.autobahn-workspace-widget.is-collapsed>.autobahn-workspace-widget-content{display:none}.autobahn-workspace-widget.is-collapsed:before{content:attr(data-widget-title);overflow:hidden;color:#24485a;font-size:.875rem;font-weight:900;text-overflow:ellipsis;white-space:nowrap}
.autobahn-widget-grip{display:none;position:absolute;z-index:31;top:9px;left:9px;align-items:center;justify-content:center;min-width:72px;height:34px;padding:0 9px;border:1px solid #9fc5d5;border-radius:8px;background:#eaf6fa;color:#09688f;box-shadow:none;font-size:.75rem;font-weight:900;cursor:grab;touch-action:none;-webkit-tap-highlight-color:transparent}.autobahn-workspace-canvas.is-layout-edit .autobahn-widget-grip{display:flex}.autobahn-widget-grip:active{cursor:grabbing;background:#dff1f7}
.autobahn-widget-controls{display:none;position:absolute;z-index:32;top:9px;right:9px;align-items:center;gap:5px;padding:4px;border:1px solid #dce6eb;border-radius:11px;background:rgba(255,255,255,.98);box-shadow:0 4px 14px rgba(15,23,42,.07)}.autobahn-workspace-canvas.is-layout-edit .autobahn-widget-controls{display:flex}.autobahn-widget-controls>button{display:grid;width:34px;height:34px;min-width:34px;min-height:34px;padding:0;place-items:center;border:1px solid #d8e5ea;border-radius:8px;background:#fff;color:#456675;font:inherit;font-size:1rem;font-weight:900;cursor:pointer}
.autobahn-widget-menu{display:grid;position:absolute;z-index:50;top:calc(100% + 7px);right:0;gap:3px;min-width:190px;padding:6px;border:1px solid #dce6eb;border-radius:10px;background:#fff;box-shadow:0 12px 28px rgba(15,23,42,.14)}.autobahn-widget-menu[hidden]{display:none!important}.autobahn-widget-menu button{display:flex!important;width:100%!important;height:auto!important;min-height:38px!important;justify-content:flex-start!important;padding:8px 9px!important;border:0!important;background:#fff!important;color:#405d6b!important;font-size:.8125rem!important}.autobahn-widget-menu button:hover{background:#f4f8fa!important}.autobahn-widget-menu .autobahn-widget-hide{color:#a52f2f!important}
.autobahn-widget-resize{display:none;position:absolute;z-index:29;touch-action:none;-webkit-tap-highlight-color:transparent}.autobahn-workspace-canvas.is-layout-edit .autobahn-widget-resize{display:block}.autobahn-widget-resize-n,.autobahn-widget-resize-s{left:24px;right:24px;height:14px;cursor:ns-resize}.autobahn-widget-resize-n{top:-7px}.autobahn-widget-resize-s{bottom:-7px}.autobahn-widget-resize-e,.autobahn-widget-resize-w{top:24px;bottom:24px;width:14px;cursor:ew-resize}.autobahn-widget-resize-e{right:-7px}.autobahn-widget-resize-w{left:-7px}.autobahn-widget-resize-ne,.autobahn-widget-resize-nw,.autobahn-widget-resize-se,.autobahn-widget-resize-sw{width:24px;height:24px}.autobahn-widget-resize-ne{top:-7px;right:-7px;cursor:nesw-resize}.autobahn-widget-resize-nw{top:-7px;left:-7px;cursor:nwse-resize}.autobahn-widget-resize-se{right:-7px;bottom:-7px;cursor:nwse-resize}.autobahn-widget-resize-sw{left:-7px;bottom:-7px;cursor:nesw-resize}.autobahn-widget-resize-ne:after,.autobahn-widget-resize-nw:after,.autobahn-widget-resize-se:after,.autobahn-widget-resize-sw:after{content:'';position:absolute;width:9px;height:9px;border:2px solid #65abc7;border-radius:3px;background:#fff}.autobahn-widget-resize-ne:after{top:1px;right:1px}.autobahn-widget-resize-nw:after{top:1px;left:1px}.autobahn-widget-resize-se:after{right:1px;bottom:1px}.autobahn-widget-resize-sw:after{left:1px;bottom:1px}
.autobahn-workspace-widget.is-resizing{outline:2px solid #38a9d2!important}.autobahn-workspace-widget.is-dragging{visibility:visible}.autobahn-widget-placeholder{min-height:72px;border:2px dashed #61aeca;border-radius:15px;background:rgba(222,244,252,.58)}.autobahn-widget-ghost{position:fixed;z-index:9999;top:0;left:0;max-width:220px;padding:9px 12px;border:1px solid #bcdbe7;border-radius:10px;background:#fff;color:#24495b;box-shadow:0 12px 28px rgba(15,23,42,.15);font-size:.8125rem;font-weight:900;pointer-events:none}.autobahn-workspace-dragging{user-select:none;cursor:grabbing}

.autobahn-widget-picker{position:fixed;z-index:1000;inset:0;background:rgba(18,39,50,.32);backdrop-filter:blur(2px)}.autobahn-widget-picker[hidden]{display:none!important}.autobahn-widget-picker-panel{display:grid;position:absolute;top:0;right:0;grid-template-rows:auto auto auto minmax(0,1fr) auto;gap:12px;width:min(560px,96vw);height:100%;padding:22px;border-left:1px solid #d5e3e9;background:#fff;box-shadow:-24px 0 60px rgba(15,23,42,.17)}.autobahn-widget-picker-panel>header{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.autobahn-widget-picker-panel h2{margin:3px 0 4px;font-size:21px}.autobahn-widget-picker-panel p{margin:0;color:#6a808c;font-size:.875rem}.autobahn-widget-picker-panel>header>button{width:38px;min-width:38px;padding:0;font-size:20px}.autobahn-widget-picker-panel>input{width:100%;min-height:42px;padding:8px 11px;border:1px solid #cfdee5;border-radius:10px;background:#fff;font:inherit}
.autobahn-widget-picker-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.autobahn-widget-picker-tools label{display:flex;align-items:center;gap:6px;color:#526d7b;font-size:.8125rem;font-weight:850}.autobahn-widget-picker-tools select{min-height:38px;padding:6px 8px;border:1px solid #cfdee5;border-radius:9px;background:#fff;font:inherit;font-size:.8125rem}.autobahn-widget-picker-options{display:grid;align-content:start;grid-template-columns:1fr 1fr;gap:7px;overflow:auto;padding:2px}.autobahn-widget-picker-options>label{display:flex;align-items:center;gap:9px;min-height:56px;padding:9px 10px;border:1px solid #dbe6eb;border-radius:10px;background:#fff;cursor:pointer}.autobahn-widget-picker-options>label:hover{border-color:#a9d0df;background:#f7fbfd}.autobahn-widget-picker-options input{width:19px;height:19px;flex:0 0 auto}.autobahn-widget-picker-options span{display:grid;min-width:0}.autobahn-widget-picker-options strong,.autobahn-widget-picker-options small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.autobahn-widget-picker-options strong{color:#26495a;font-size:.875rem}.autobahn-widget-picker-options small{color:#718692;font-size:.8125rem}.autobahn-widget-picker-panel>footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:12px;border-top:1px solid #e0e9ed}.autobahn-widget-picker-panel>footer small{color:#71838d}

@container autobahn-widget (max-width:720px){.autobahn-workspace-widget-content .grid.two,.autobahn-workspace-widget-content .economy-command-grid,.autobahn-workspace-widget-content .social-overview-grid,.autobahn-workspace-widget-content .messages-layout{grid-template-columns:1fr!important}.autobahn-workspace-widget-content .stats{grid-template-columns:1fr 1fr!important}.autobahn-workspace-widget-content .split{flex-direction:column}}
@container autobahn-widget (max-width:430px){.autobahn-workspace-widget-content .stats{grid-template-columns:1fr!important}}
@media(pointer:coarse){.autobahn-workspace-actions button,.autobahn-widget-picker button{min-height:46px}.autobahn-widget-grip{min-width:98px;height:44px}.autobahn-widget-controls>button{width:44px;height:44px;min-width:44px;min-height:44px}.autobahn-widget-resize-n,.autobahn-widget-resize-s{height:28px}.autobahn-widget-resize-n{top:-14px}.autobahn-widget-resize-s{bottom:-14px}.autobahn-widget-resize-e,.autobahn-widget-resize-w{width:28px}.autobahn-widget-resize-e{right:-14px}.autobahn-widget-resize-w{left:-14px}.autobahn-widget-resize-ne,.autobahn-widget-resize-nw,.autobahn-widget-resize-se,.autobahn-widget-resize-sw{width:36px;height:36px}}
@media(max-width:900px){.autobahn-workspace-bar{position:sticky;top:8px;align-items:flex-start;flex-direction:column}.autobahn-workspace-actions{width:100%;justify-content:flex-start}.autobahn-workspace-bar>div:first-child{grid-template-columns:1fr}.autobahn-workspace-bar .eyebrow{grid-row:auto}.autobahn-workspace-canvas.is-layout-edit{background-size:calc((100% - 22px)/6) 38px}.autobahn-widget-picker-panel{top:auto;bottom:0;width:100%;height:auto;max-height:84vh;border-radius:22px 22px 0 0;padding-bottom:calc(20px + env(safe-area-inset-bottom))}}
@media(max-width:699px){.autobahn-workspace-bar small{white-space:normal}.autobahn-workspace-actions>span{width:100%}.autobahn-workspace-actions button{flex:1}.autobahn-workspace-canvas.is-layout-edit{background-image:none}.autobahn-widget-resize-e,.autobahn-widget-resize-w,.autobahn-widget-resize-ne,.autobahn-widget-resize-nw,.autobahn-widget-resize-se,.autobahn-widget-resize-sw{display:none!important}.autobahn-widget-picker-options{grid-template-columns:1fr}.autobahn-widget-picker-panel{padding:15px}.autobahn-workspace-canvas.is-layout-edit .autobahn-workspace-widget:not(.is-collapsed),.autobahn-workspace-canvas.is-layout-edit .autobahn-workspace-widget.is-collapsed{padding-top:62px}.autobahn-widget-controls{top:9px;right:9px}.autobahn-widget-grip{top:9px;left:9px}}

/* Customer Core 1.2.2 - fullbreddsregister, datakvalitet och kundarbetsyta */
.customer-hero-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.customer-new-button{min-height:44px;padding:10px 16px!important;border-color:var(--accent)!important;background:var(--accent)!important;color:#fff!important;font-weight:900!important}
.customer-quality-strip{display:grid;grid-template-columns:minmax(220px,1.35fr) repeat(5,minmax(130px,.65fr));gap:8px;align-items:stretch;margin:0 0 16px;padding:10px;border:1px solid #d7e5eb;border-radius:15px;background:#f6fafc}
.customer-quality-strip>div{display:grid;align-content:center;gap:3px;padding:7px 10px}.customer-quality-strip>div strong{color:var(--ink);font-size:.9375rem}.customer-quality-strip>div small{color:var(--muted);font-size:.8125rem;line-height:1.35}
.customer-quality-strip>a{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px;align-items:center;min-height:54px;padding:8px 10px;border:1px solid #d8e5eb;border-radius:11px;background:#fff;color:#4b6675}
.customer-quality-strip>a strong{display:grid;width:30px;height:30px;place-items:center;border-radius:999px;background:#eef4f7;color:#355c70;font-size:.8125rem}.customer-quality-strip>a span{font-size:.8125rem;font-weight:850;line-height:1.25}.customer-quality-strip>a.has-findings strong{background:#fff1e8;color:#b64b21}.customer-quality-strip>a.active{border-color:#2f9ed7;background:#eef8fc;color:#126b98}
.customer-crm-index-full,.customer-crm-index.customer-crm-index-full{display:block;grid-template-columns:1fr}.customer-crm-index-full .customer-crm-register{width:100%}
.customer-crm-register>.card-head{align-items:center}.customer-search-main{display:grid;grid-template-columns:minmax(260px,1fr) auto auto;gap:8px;grid-column:1/-1}.customer-search-main input{min-width:0}.customer-search-main button{min-width:92px}.customer-search-main a{display:flex;min-height:44px;align-items:center;justify-content:center;padding:8px 12px;border:1px solid #d2e1e8;border-radius:9px;background:#fff;color:#456777;font-size:.8125rem;font-weight:850}
.customer-crm-search{display:grid!important;grid-template-columns:1fr!important;gap:9px}.customer-filter-grid{display:grid;grid-template-columns:repeat(7,minmax(120px,1fr));gap:8px}.customer-filter-grid select{width:100%;min-width:0}
.customer-crm-table-head,.customer-crm-row{grid-template-columns:minmax(230px,1.25fr) minmax(190px,.95fr) minmax(145px,.72fr) minmax(145px,.68fr) minmax(180px,.83fr) minmax(178px,.84fr)}
.customer-crm-table-head{gap:11px;padding:10px 14px}.customer-crm-table-head span:last-child{grid-column:auto}
.customer-crm-row{position:relative;gap:11px;align-items:center;min-height:92px;padding:12px 14px}.customer-crm-row:hover{border-color:#9ccbdd;background:#f8fcfe;box-shadow:0 9px 24px rgba(34,75,98,.07)}
.customer-row-open{position:static;min-width:0;color:inherit}.customer-row-open:after{content:'';position:absolute;z-index:1;inset:0;border-radius:inherit}.customer-row-open:focus-visible:after{outline:3px solid #2f9ed7;outline-offset:2px}.customer-row-open b{color:#31586d;font-weight:850}
.customer-crm-contact,.customer-crm-owner,.customer-crm-money,.customer-crm-next{display:grid;gap:4px;min-width:0}.customer-crm-contact strong,.customer-crm-contact small,.customer-crm-owner strong,.customer-crm-owner small,.customer-crm-money strong,.customer-crm-money small,.customer-crm-next strong,.customer-crm-next small{overflow:hidden;text-overflow:ellipsis}.customer-crm-contact strong,.customer-crm-owner strong,.customer-crm-money strong,.customer-crm-next strong{font-size:.8125rem;white-space:nowrap}.customer-crm-contact small,.customer-crm-owner small,.customer-crm-money small,.customer-crm-next small{color:var(--muted);font-size:.8125rem;line-height:1.35}.customer-crm-money.has-unpaid small,.customer-crm-money.has-unpaid b{color:#b43a31}.customer-crm-next.is-overdue strong,.customer-crm-next.is-overdue small{color:#b72f2a}
.customer-row-actions{display:grid;position:relative;z-index:3;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.customer-row-actions a{display:flex;min-width:0;min-height:36px;align-items:center;justify-content:center;gap:4px;padding:5px 6px;border:1px solid #d4e3e9;border-radius:8px;background:#fff;color:#26627e;font-size:.8125rem;font-weight:850}.customer-row-actions a:hover{border-color:#7fbdd6;background:#eef8fc}.customer-row-actions a span{overflow:hidden;font-size:.6875rem;text-overflow:ellipsis;white-space:nowrap}.customer-row-actions a:last-child{grid-column:1/-1;border-color:#ffc19f;background:#fff5ef;color:#a84620}
.customer-settings-panel{margin-top:16px;padding:0!important;overflow:hidden}.customer-settings-panel>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:58px;padding:12px 16px;cursor:pointer;list-style:none}.customer-settings-panel>summary::-webkit-details-marker{display:none}.customer-settings-panel>summary>span:first-child{display:grid;gap:2px}.customer-settings-panel>summary strong{color:var(--ink)}.customer-settings-panel>summary small{color:var(--muted);font-size:.8125rem}.customer-settings-panel>summary>span:last-child{color:#16709e;font-size:.8125rem;font-weight:850}.customer-settings-panel[open]>summary{border-bottom:1px solid var(--line)}.customer-settings-body{display:grid;gap:12px;padding:16px}.customer-settings-body form{display:grid;max-width:720px;gap:10px}.customer-settings-body label{display:grid;gap:5px;font-size:.8125rem;font-weight:750}.customer-settings-body input,.customer-settings-body select,.customer-settings-body textarea{width:100%;padding:9px;border:1px solid #cedde5;border-radius:9px;background:#fff}
.customer-create-dialog{width:min(720px,calc(100vw - 28px));max-height:min(88vh,820px);padding:0;border:0;border-radius:18px;background:#fff;color:var(--ink);box-shadow:0 28px 80px rgba(15,37,49,.28)}.customer-create-dialog::backdrop{background:rgba(13,35,47,.48);backdrop-filter:blur(3px)}.customer-create-dialog>form{display:grid;gap:12px;max-height:inherit;overflow:auto;padding:20px}.customer-create-dialog label{display:grid;gap:5px;color:#3d5968;font-size:.8125rem;font-weight:800}.customer-create-dialog input,.customer-create-dialog select,.customer-create-dialog textarea{width:100%;min-height:44px;padding:9px 10px;border:1px solid #cbdce4;border-radius:9px;background:#fff;font:inherit}.customer-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding-bottom:10px;border-bottom:1px solid var(--line)}.customer-dialog-head h2{margin:3px 0 4px}.customer-dialog-head p{margin:0;color:var(--muted)}.customer-dialog-head>button{display:grid;width:44px;height:44px;flex:0 0 44px;place-items:center;padding:0;border:1px solid #d3e1e8;border-radius:10px;background:#fff;color:#496777;font-size:1.5rem;cursor:pointer}.customer-organization-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.customer-organization-fields[hidden]{display:none}.customer-create-more{padding:10px 12px;border:1px solid #dbe7ec;border-radius:11px;background:#f8fbfc}.customer-create-more>summary{color:#27637e;font-size:.8125rem;font-weight:900;cursor:pointer}.customer-create-more[open]{display:grid;gap:10px}.customer-dialog-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding-top:10px;border-top:1px solid var(--line)}.customer-dialog-actions button{min-height:44px;padding:9px 15px;border:1px solid #cfdfe6;border-radius:9px;background:#fff;color:#3f6070;font:inherit;font-weight:900;cursor:pointer}.customer-dialog-actions button.primary{border-color:var(--accent);background:var(--accent);color:#fff}
.customer-profile-nav-primary{overflow:visible;align-items:center}.customer-profile-nav-primary>details{position:relative;flex:0 0 auto}.customer-profile-nav-primary>details>summary{padding:9px 13px;border:1px solid #d5e3ea;border-radius:999px;background:#fff;color:#526b79;font-size:.8125rem;font-weight:850;cursor:pointer;list-style:none}.customer-profile-nav-primary>details>summary::-webkit-details-marker{display:none}.customer-profile-nav-primary>details>div{display:grid;position:absolute;z-index:20;top:calc(100% + 6px);right:0;min-width:170px;padding:6px;border:1px solid #d8e5eb;border-radius:11px;background:#fff;box-shadow:0 14px 35px rgba(25,52,67,.14)}.customer-profile-nav-primary>details>div a{border:0;border-radius:7px;background:#fff}.customer-profile-connected{margin-bottom:18px}.customer-profile-connected>.card{height:100%}.customer-profile-connected>.card:first-child{border-top-color:var(--accent)}.customer-profile-connected>.card:last-child{border-top-color:var(--accent-blue)}
.customer-connected-list{display:grid;gap:7px}.customer-connected-list>a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px;border:1px solid #dbe7ed;border-radius:10px;background:#fbfdfe;color:inherit}.customer-connected-list>a:hover{border-color:#9fcbdd;background:#f4fafc}.customer-connected-list>a.is-alert{border-color:#efc8c5;background:#fff7f6}.customer-connected-list>a>span{display:grid;gap:3px;min-width:0}.customer-connected-list>a>span:last-child{text-align:right}.customer-connected-list strong{font-size:.8125rem}.customer-connected-list small{color:var(--muted);font-size:.8125rem}
.customer-message-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.customer-message-summary>div{display:grid;gap:4px;padding:11px;border:1px solid #dbe7ed;border-radius:10px;background:#f8fbfc}.customer-message-summary span{color:var(--muted);font-size:.8125rem}.customer-message-summary strong{font-size:.9375rem}.customer-connected-actions{display:flex;gap:7px;margin-top:12px;flex-wrap:wrap}.customer-connected-actions a{padding:8px 10px;border:1px solid #d2e1e8;border-radius:9px;background:#fff;color:#27637e;font-size:.8125rem;font-weight:850}
#documents{margin-bottom:18px;border-top-color:#de8d00}.customer-document-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.customer-document-grid>a{display:grid;grid-template-columns:auto minmax(0,1fr);gap:2px 9px;padding:11px;border:1px solid #dbe7ed;border-radius:10px;background:#fbfdfe;color:inherit}.customer-document-grid>a>span{grid-row:1/3;color:#2f96c6;font-size:1.25rem}.customer-document-grid strong,.customer-document-grid small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-document-grid strong{font-size:.8125rem}.customer-document-grid small{color:var(--muted);font-size:.8125rem}

@media(max-width:1450px){.customer-filter-grid{grid-template-columns:repeat(4,minmax(130px,1fr))}.customer-crm-table-head,.customer-crm-row{grid-template-columns:minmax(220px,1.2fr) minmax(175px,.9fr) minmax(135px,.7fr) minmax(140px,.68fr) minmax(165px,.8fr) minmax(150px,.76fr)}.customer-row-actions a span{display:none}.customer-row-actions{grid-template-columns:repeat(3,1fr)}.customer-row-actions a:last-child{grid-column:auto}}
@media(max-width:1180px){.customer-quality-strip{grid-template-columns:repeat(3,1fr)}.customer-quality-strip>div{grid-column:1/-1}.customer-crm-table-head{display:none}.customer-crm-row{grid-template-columns:1.25fr 1fr 1fr;align-items:start}.customer-crm-contact{grid-column:2}.customer-crm-owner{grid-column:3}.customer-crm-money{grid-column:1}.customer-crm-next{grid-column:2}.customer-row-actions{grid-column:3;grid-template-columns:repeat(5,1fr)}.customer-row-actions a:last-child{grid-column:auto}.customer-row-actions a span{display:none}.customer-document-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.customer-crm-hero{align-items:flex-start}.customer-hero-actions{width:100%;justify-content:space-between}.customer-quality-strip{grid-template-columns:1fr 1fr}.customer-quality-strip>div{grid-column:1/-1}.customer-search-main{grid-template-columns:1fr 1fr}.customer-search-main input{grid-column:1/-1}.customer-filter-grid{grid-template-columns:1fr 1fr}.customer-crm-row{grid-template-columns:1fr}.customer-crm-row>*{grid-column:1!important}.customer-row-actions{grid-template-columns:repeat(5,1fr);width:100%}.customer-row-actions a{min-height:44px}.customer-profile-connected{grid-template-columns:1fr}.customer-message-summary{grid-template-columns:1fr 1fr}.customer-document-grid{grid-template-columns:1fr}.customer-organization-fields{grid-template-columns:1fr}.customer-dialog-actions button{flex:1}}
@media(max-width:480px){.customer-quality-strip,.customer-filter-grid{grid-template-columns:1fr}.customer-search-main{grid-template-columns:1fr}.customer-search-main input{grid-column:auto}.customer-message-summary{grid-template-columns:1fr}.customer-profile-nav-primary>details>div{right:auto;left:0}}

/* Customer 360 / CRM */
.customer-crm-hero{background:linear-gradient(125deg,#fff 0%,#f2f9fc 72%,#fff4ed 100%);color:var(--ink);border:1px solid #dbe8ee;box-shadow:0 14px 38px rgba(35,76,101,.08)}
.customer-crm-hero p{color:var(--muted)}
.customer-crm-stats{grid-template-columns:repeat(4,minmax(0,1fr))}
.customer-crm-stats .stat-link{display:grid;gap:4px;color:inherit;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
.customer-crm-stats .stat-link:hover{transform:translateY(-2px);border-color:#bfd8e4;box-shadow:0 12px 28px rgba(35,76,101,.09)}
.customer-crm-stats .stat-link.is-alert:before{background:#d84b42}
.customer-crm-stats .stat-link.is-alert strong{color:#b72f2a}
.customer-view-tabs{display:flex;gap:7px;overflow:auto;margin:0 0 16px;padding:3px 1px 6px;scrollbar-width:thin}
.customer-view-tabs a{flex:0 0 auto;padding:9px 13px;border:1px solid #d5e3ea;border-radius:999px;background:#fff;color:#526b79;font-size:.8125rem;font-weight:850}
.customer-view-tabs a:hover{border-color:#9fcbdc;color:#176a96}
.customer-view-tabs a.active{border-color:#319bd7;background:#eaf6fc;color:#126d9e;box-shadow:inset 0 0 0 1px rgba(49,155,215,.08)}
.customer-crm-index{grid-template-columns:minmax(0,2.4fr) minmax(310px,.72fr)}
.customer-crm-register{min-width:0}
.customer-crm-search{grid-template-columns:minmax(230px,1.25fr) repeat(5,minmax(125px,.55fr)) auto}
.customer-crm-table-head{display:grid;grid-template-columns:minmax(250px,1.35fr) minmax(155px,.75fr) minmax(135px,.58fr) minmax(175px,.78fr) 18px;gap:12px;padding:10px 15px;color:#6d8491;font-size:.8125rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.customer-crm-table-head span:last-child{grid-column:5}
.customer-crm-row{grid-template-columns:minmax(250px,1.35fr) minmax(155px,.75fr) minmax(135px,.58fr) minmax(175px,.78fr) 18px;padding:14px 15px;min-height:76px}
.customer-crm-row .customer-core-row-main{grid-template-columns:42px minmax(0,1fr);align-items:center}
.customer-crm-owner,.customer-crm-money,.customer-crm-next{display:grid;gap:4px;min-width:0}
.customer-crm-owner strong,.customer-crm-money strong,.customer-crm-next strong{font-size:.8125rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.customer-crm-owner small,.customer-crm-money small,.customer-crm-next small{color:var(--muted);font-size:.8125rem;line-height:1.35}
.customer-crm-next.is-overdue strong,.customer-crm-next.is-overdue small{color:#b72f2a}
.customer-stage{display:inline-flex;width:max-content;max-width:100%;align-items:center;border:1px solid #d6e4ea;border-radius:999px;padding:3px 7px;background:#f4f8fa;color:#526b79;font-size:.8125rem;font-weight:850}
.customer-stage.stage-lead{background:#fff6ea;border-color:#f5d6ab;color:#9a5c05}
.customer-stage.stage-prospect{background:#edf7fc;border-color:#c9e5f2;color:#176f9e}
.customer-stage.stage-loyal{background:#edf9f3;border-color:#c5e8d4;color:#12683e}
.customer-stage.stage-dormant{background:#f5f3f8;border-color:#ded8e6;color:#6c6077}
.customer-stage.stage-lost{background:#fff1f0;border-color:#f1cecb;color:#a1342f}
.customer-profile-head{padding:16px 18px;border:1px solid #dce8ee;border-radius:16px;background:linear-gradient(120deg,#fff,#f5fafc);box-shadow:0 8px 24px rgba(34,75,98,.045)}
.customer-crm-workspace{margin-bottom:18px;align-items:start}
.customer-crm-workspace>.card{height:100%;border-top:3px solid var(--accent-blue)}
.customer-crm-workspace>.card:nth-child(2n){border-top-color:var(--accent)}
.customer-crm-workspace form{display:grid;gap:10px}
.customer-crm-workspace label{display:grid;gap:5px;font-size:.8125rem;font-weight:750;color:#425c6a}
.customer-crm-workspace input,.customer-crm-workspace select,.customer-crm-workspace textarea{width:100%;border:1px solid #cfdde5;border-radius:9px;padding:9px;background:#fff}
.customer-crm-workspace button{width:max-content;border:1px solid #cbdce4;border-radius:9px;padding:9px 12px;background:#fff;color:#29485a;font-weight:850;cursor:pointer}
.customer-crm-workspace button.primary{background:var(--accent);border-color:var(--accent);color:#fff}
.customer-crm-facts{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}
.customer-crm-facts>div{display:grid;gap:3px;padding:10px;border:1px solid #dbe8ee;border-radius:10px;background:#f8fbfd}
.customer-crm-facts span{font-size:.8125rem;color:var(--muted)}
.customer-crm-facts strong{font-size:.8125rem;color:var(--ink)}
.customer-task-list{display:grid;gap:8px}
.customer-task-list article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:11px;border:1px solid #dbe7ed;border-radius:11px;background:#fbfdfe}
.customer-task-list article.is-overdue{border-color:#efc8c5;background:#fff7f6}
.customer-task-list article>div{display:grid;gap:3px;min-width:0}
.customer-task-list strong{font-size:.8125rem;color:var(--ink)}
.customer-task-list span,.customer-task-list small{font-size:.8125rem;color:var(--muted)}
.customer-task-list article.is-overdue span{color:#a73531}
.customer-task-list form{margin:0}
.customer-task-list button{padding:7px 10px;color:#12683e;border-color:#bfe2cf;background:#eff9f4}

@media(max-width:1280px){
  .customer-crm-search{grid-template-columns:1fr 1fr 1fr}
  .customer-crm-search input{grid-column:1/-1}
  .customer-crm-search button{grid-column:1/-1}
  .customer-crm-table-head,.customer-crm-row{grid-template-columns:minmax(220px,1.25fr) minmax(145px,.72fr) minmax(160px,.8fr) 18px}
  .customer-crm-table-head span:nth-child(3),.customer-crm-money{display:none}
  .customer-crm-table-head span:nth-child(4){grid-column:3}.customer-crm-table-head span:last-child{grid-column:4}
}
@media(max-width:1050px){
  .customer-crm-index{grid-template-columns:1fr}
  .customer-crm-stats{grid-template-columns:1fr 1fr}
}
@media(max-width:760px){
  .customer-crm-stats{grid-template-columns:1fr 1fr}
  .customer-crm-search{grid-template-columns:1fr}
  .customer-crm-search input,.customer-crm-search button{grid-column:auto}
  .customer-crm-table-head{display:none}
  .customer-crm-row{grid-template-columns:minmax(0,1fr) 18px;gap:9px}
  .customer-crm-row .customer-core-row-main{grid-column:1}
  .customer-crm-owner{grid-column:1;padding-left:42px}
  .customer-crm-next{grid-column:1;padding-left:42px}
  .customer-crm-row>.customer-core-chevron{grid-column:2;grid-row:1/4}
  .customer-crm-money{display:none}
  .customer-crm-facts{grid-template-columns:1fr}
}

/* Autobahn Communication Core */
.customer-profile-stats{grid-template-columns:repeat(5,minmax(0,1fr))}
.customer-message-stat{border-top-color:#2d9cdb!important;text-decoration:none}.customer-message-stat:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(45,156,219,.1)}
.messages-module-nav{display:flex;align-items:center;gap:5px;margin:0 0 14px;padding:5px;border:1px solid #dbe7ed;border-radius:12px;background:#f4f8fa;overflow:auto}.messages-module-nav a{display:flex;align-items:center;min-height:40px;padding:9px 13px;border-radius:9px;color:#496472;font-size:.875rem;font-weight:750;text-decoration:none;white-space:nowrap}.messages-module-nav a:hover{background:#fff}.messages-module-nav a.active{background:#fff;color:#176f9d;box-shadow:0 2px 9px rgba(28,76,101,.09)}
.messages-hero{display:flex;align-items:center;justify-content:space-between;gap:22px;background:linear-gradient(125deg,#fff 0%,#f5fbff 60%,#fff8f4 100%);border:1px solid #dbe8ef;color:var(--ink)}
.messages-hero h2{margin:5px 0 6px;font-size:28px}.messages-hero p{max-width:780px;margin:0;color:#587080}.messages-hero-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:flex-end}
.messages-create{position:relative}.messages-create>summary,.messages-source-link{display:flex;align-items:center;min-height:42px;border:1px solid #c8dce7;border-radius:10px;padding:10px 13px;background:#fff;color:#294b5d;font-size:.875rem;font-weight:800;cursor:pointer;white-space:nowrap}.messages-create>summary{list-style:none}.messages-compose-new>summary{background:var(--accent);border-color:var(--accent);color:#fff}.messages-create>summary::-webkit-details-marker{display:none}
.messages-create[open]>form{position:absolute;right:0;top:48px;z-index:30;width:min(430px,80vw);display:grid;gap:9px;padding:16px;border:1px solid #d6e4eb;border-radius:14px;background:#fff;box-shadow:0 18px 45px rgba(26,58,76,.18)}
.messages-create label,.messages-context label{display:grid;gap:5px;color:#496474;font-size:.875rem;font-weight:750}.messages-create input,.messages-create select,.messages-create textarea,.messages-context input,.messages-context select,.messages-context textarea,.messages-compose input,.messages-compose select,.messages-compose textarea{width:100%;min-height:40px;border:1px solid #cddde6;border-radius:9px;padding:9px 10px;background:#fff;color:var(--ink);font:inherit}.messages-create small{font-size:.875rem;line-height:1.45;color:#6b818d}
.messages-stats{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:14px}.messages-stats a{text-decoration:none}.messages-stats .stat:nth-child(1){border-top-color:#1e9d61}.messages-stats .stat:nth-child(2){border-top-color:#e39a1d}.messages-stats .stat:nth-child(3){border-top-color:#d04b45}.messages-stats .stat:nth-child(4){border-top-color:#2d9cdb}
.messages-mailbox-tabs{display:flex;gap:5px;margin:14px 0 0;padding:5px;border:1px solid #dce8ed;border-radius:11px;background:#fff;overflow:auto}.messages-mailbox-tabs a{display:flex;align-items:center;min-height:38px;padding:8px 12px;border-radius:8px;color:#5c7380;font-size:.875rem;font-weight:750;text-decoration:none;white-space:nowrap}.messages-mailbox-tabs a.active{background:#eaf6fc;color:#176f9d}.messages-mailbox-tabs a:hover{background:#f3f8fa}
.messages-connections{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:14px 0;padding:13px 15px}.messages-connections>div:first-child{display:grid;gap:3px}.messages-connections strong{font-size:1rem}.messages-connections span{font-size:.875rem;color:var(--muted)}.messages-connection-list{display:flex;gap:7px;align-items:center;justify-content:flex-end;flex-wrap:wrap}.messages-connection-list .status-chip{font-size:.8125rem;padding:6px 9px}.messages-connection-list form{margin:0}.messages-connection-list button{min-height:36px;border:1px solid #c7dce7;border-radius:8px;padding:7px 10px;background:#fff;color:#2b617c;font:inherit;font-size:.875rem;font-weight:750;cursor:pointer}.status-chip.connected{background:#eefaf4;color:#157548;border-color:#bfe4d1}.status-chip.attention{background:#fff6eb;color:#97520b;border-color:#f1d3ad}.status-chip.available,.status-chip.muted{background:#f3f7f9;color:#637986;border-color:#dce7ec}
.messages-filter{display:grid;grid-template-columns:minmax(220px,1.5fr) repeat(3,minmax(145px,.7fr)) auto auto;gap:8px;align-items:center;padding:10px;margin-bottom:14px}.messages-filter input,.messages-filter select{min-width:0;width:100%;border:1px solid #cfdfe7;border-radius:9px;padding:9px 10px;background:#fff}.messages-channel-lock{display:flex;align-items:center;min-height:40px;border:1px solid #d7e5eb;border-radius:9px;padding:9px 10px;background:#f4f8fa;color:#536d7b;font-size:.875rem;font-weight:750}.messages-filter button{border:0;border-radius:9px;padding:10px 13px;background:#2d9cdb;color:#fff;font-weight:850;cursor:pointer}.messages-clear-customer{font-size:.875rem;font-weight:800;color:#2c779f;white-space:nowrap}
.messages-workspace{display:grid;grid-template-columns:minmax(280px,.75fr) minmax(430px,1.25fr) minmax(250px,.62fr);gap:14px;align-items:stretch;min-height:650px}.messages-workspace>.card{padding:0;overflow:hidden}.messages-list,.messages-thread,.messages-context{min-width:0;display:flex;flex-direction:column}.messages-list>header,.messages-thread-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:15px 16px;border-bottom:1px solid #e3edf2;background:#fff}.messages-list h3,.messages-thread h3,.messages-context h3{margin:0;font-size:16px}.messages-list small,.messages-thread p{margin:3px 0 0;color:var(--muted);font-size:.875rem}.messages-list-scroll,.messages-thread-scroll{overflow:auto}.messages-list-scroll{max-height:760px}.message-row{display:grid;grid-template-columns:40px minmax(0,1fr);gap:10px;padding:13px;border-bottom:1px solid #edf3f6;color:inherit;text-decoration:none;background:#fff}.message-row:hover{background:#f7fbfd}.message-row.active{background:#eef8fd;box-shadow:inset 3px 0 #2d9cdb}.message-row.unread strong,.message-row.unread b{font-weight:900}.message-channel{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#edf7fc;color:#167fb8;font-weight:900}.message-row-body{display:grid;gap:4px;min-width:0}.message-row-body>span:first-child{display:flex;justify-content:space-between;gap:7px}.message-row-body strong,.message-row-body b,.message-row-body small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.message-row-body strong{font-size:.875rem}.message-row-body time{font-size:.8125rem;color:#7d919d}.message-row-body b{font-size:.875rem}.message-row-body small{font-size:.875rem;color:#718591}.message-row-meta{display:flex;gap:5px;align-items:center}.message-row-meta em{font-size:.8125rem;font-style:normal;padding:3px 6px;border-radius:999px;background:#f2f6f8;color:#657b87}.message-row-meta i{margin-left:auto;display:grid;place-items:center;min-width:20px;height:20px;border-radius:999px;background:#2d9cdb;color:#fff;font-size:.8125rem;font-style:normal}
.messages-thread-tools{position:relative;display:flex;align-items:center;gap:6px;padding:9px 12px;border-bottom:1px solid #e4edf2;background:#fbfdfe;overflow:visible;flex-wrap:wrap}.messages-thread-tools form{margin:0}.messages-thread-tools button,.messages-thread-tools summary{display:flex;align-items:center;min-height:36px;border:1px solid #ccdde5;border-radius:8px;padding:7px 9px;background:#fff;color:#365767;font:inherit;font-size:.8125rem;font-weight:750;cursor:pointer;list-style:none;white-space:nowrap}.messages-thread-tools summary::-webkit-details-marker{display:none}.messages-thread-tools details{position:relative}.messages-thread-tools details form{position:absolute;z-index:20;top:42px;left:0;width:230px;display:grid;gap:8px;padding:12px;border:1px solid #d5e3ea;border-radius:11px;background:#fff;box-shadow:0 14px 35px rgba(26,58,76,.16)}.messages-thread-tools input,.messages-thread-tools select{width:100%;min-height:38px;border:1px solid #cbdce5;border-radius:8px;padding:8px;background:#fff;font:inherit}
.messages-smart-secretary{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:11px 13px 0;padding:11px 12px;border:1px solid #d8d1ef;border-radius:11px;background:linear-gradient(110deg,#f7f4ff,#fff)}.messages-smart-secretary>div{display:grid;gap:2px}.messages-smart-secretary span{font-size:.8125rem;color:#66569b;font-weight:800}.messages-smart-secretary strong{font-size:.875rem}.messages-smart-secretary small{font-size:.8125rem;color:#786f92}.messages-smart-secretary button{min-height:38px;border:1px solid #c9bee9;border-radius:8px;padding:8px 10px;background:#fff;color:#58458f;font:inherit;font-size:.875rem;font-weight:750;cursor:pointer}
.messages-thread-scroll{display:grid;align-content:start;gap:11px;max-height:540px;min-height:330px;padding:16px;background:#f7fafc}.message-bubble{max-width:84%;padding:11px 13px;border:1px solid #d8e6ed;border-radius:13px;background:#fff;box-shadow:0 3px 10px rgba(32,68,88,.04)}.message-bubble.outbound{justify-self:end;background:#eaf7fd;border-color:#c4e4f4}.message-bubble.internal{max-width:94%;justify-self:center;background:#fff8e9;border-color:#f1d7a7}.message-bubble.type-draft{border-style:dashed;background:#f4f2ff;border-color:#cfc7ee}.message-bubble header{display:flex;justify-content:space-between;gap:8px}.message-bubble header strong{font-size:.875rem}.message-bubble header span,.message-bubble>small{font-size:.8125rem;color:#748894}.message-bubble p{margin:7px 0 0;color:#263f4d;font-size:1rem;line-height:1.55;white-space:normal;overflow-wrap:anywhere}
.messages-compose{display:grid;gap:0;border-top:1px solid #dfeaf0;background:#fff}.messages-compose details{padding:11px 14px;border-bottom:1px solid #eef3f6}.messages-compose summary{font-size:.875rem;font-weight:800;cursor:pointer;color:#365666}.messages-compose form{display:grid;gap:9px;margin-top:10px}.messages-compose form>div{display:flex;justify-content:space-between;align-items:center;gap:10px}.messages-compose label{display:grid;gap:5px;font-size:.875rem;font-weight:750;color:#496474}.messages-compose small{font-size:.8125rem;line-height:1.4;color:#748895}.messages-workspace button.primary,.messages-workspace button{min-height:38px;border:1px solid #c9dce5;border-radius:9px;padding:8px 10px;background:#fff;color:#294b5c;font:inherit;font-size:.875rem;font-weight:800;cursor:pointer}.messages-workspace button.primary{background:var(--accent);border-color:var(--accent);color:#fff}
.messages-context{background:#fbfdfe!important}.messages-context>section{display:grid;gap:10px;padding:16px;border-bottom:1px solid #e3edf2}.messages-context p{margin:0;color:#6b808c;font-size:.875rem;line-height:1.5}.messages-context form{display:grid;gap:9px}.context-link{font-size:.875rem;font-weight:800;color:#1d84bc}.message-source-facts{display:grid;gap:7px;margin:0}.message-source-facts>div{display:flex;justify-content:space-between;gap:8px;padding:8px 0;border-bottom:1px solid #e9f0f3}.message-source-facts dt,.message-source-facts dd{margin:0;font-size:.875rem}.message-source-facts dt{color:var(--muted)}.message-source-facts dd{font-weight:800}.empty-state{display:grid;place-items:center;text-align:center;gap:6px;padding:36px 18px;color:#6b808c}.empty-state.large{min-height:400px}.empty-state strong{color:#365565;font-size:1rem}.empty-state span{font-size:.875rem}.check-label{display:flex!important;grid-template-columns:auto 1fr;align-items:center}.check-label input{width:auto!important}
.messages-contact-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(310px,.65fr);gap:14px;align-items:start}.messages-contact-directory{padding:0;overflow:hidden}.messages-contact-directory>header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px;border-bottom:1px solid #e2ebf0}.messages-contact-directory h3,.messages-contact-groups h3{margin:0;font-size:17px}.messages-contact-directory header small{font-size:.875rem;color:#6d818c}.messages-contact-directory header form{display:flex;gap:7px}.messages-contact-directory input,.messages-contact-directory textarea,.messages-contact-groups input,.messages-contact-groups select,.messages-contact-groups textarea{width:100%;min-height:40px;border:1px solid #cbdde6;border-radius:9px;padding:9px 10px;background:#fff;font:inherit}.messages-contact-directory button,.messages-contact-groups button{min-height:40px;border:1px solid #c9dce5;border-radius:9px;padding:9px 11px;background:#fff;color:#294b5c;font:inherit;font-size:.875rem;font-weight:800;cursor:pointer}.messages-contact-directory button.primary,.messages-contact-groups button.primary{background:var(--accent);border-color:var(--accent);color:#fff}.messages-contact-list{display:grid}.messages-contact-list>article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:start;padding:14px 16px;border-bottom:1px solid #ebf1f4}.messages-contact-list article>div,.messages-group-members>div{display:grid;gap:3px}.messages-contact-list strong,.messages-group-members strong{font-size:.875rem}.messages-contact-list span,.messages-group-members span{font-size:.875rem;color:#6b818d}.messages-contact-list details{position:relative}.messages-contact-list summary,.messages-contact-groups summary{display:flex;align-items:center;min-height:36px;border:1px solid #cbdde6;border-radius:8px;padding:7px 10px;background:#fff;color:#2b6684;font-size:.875rem;font-weight:800;cursor:pointer;list-style:none}.messages-contact-list summary::-webkit-details-marker,.messages-contact-groups summary::-webkit-details-marker{display:none}.messages-contact-list details form{position:absolute;z-index:20;right:0;top:42px;width:min(390px,75vw);display:grid;gap:8px;padding:13px;border:1px solid #d5e3ea;border-radius:11px;background:#fff;box-shadow:0 14px 35px rgba(26,58,76,.16)}.messages-contact-groups{display:grid;gap:14px}.messages-contact-groups>.card{display:grid;gap:12px}.messages-contact-groups form{display:grid;gap:9px;margin-top:9px}.messages-contact-groups label{display:grid;gap:5px;color:#526d7b;font-size:.875rem;font-weight:750}.messages-contact-groups p{margin:0;color:#677e8a;font-size:.875rem;line-height:1.5}.messages-group-list,.messages-group-members{display:grid;gap:6px}.messages-group-list a{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:40px;padding:9px 10px;border:1px solid #e0e9ed;border-radius:9px;color:#3e5c6b;font-size:.875rem;text-decoration:none}.messages-group-list a.active{border-color:#b9ddeb;background:#eef8fc;color:#176f9d}.messages-group-list b{display:grid;place-items:center;min-width:24px;height:24px;border-radius:999px;background:#edf3f6;font-size:.8125rem}.messages-group-members>div{padding:9px 0;border-bottom:1px solid #e7eef2}
.status-chip.priority-low,.priority-low{background:#f1f5f7;color:#607784;border-color:#dbe5e9}.status-chip.priority-normal,.priority-normal{background:#eaf6fc;color:#2178a8;border-color:#c5e4f3}.status-chip.priority-high,.priority-high{background:#fff4e4;color:#a65a04;border-color:#f0d09f}.status-chip.priority-critical,.priority-critical{background:#fff0ef;color:#b33430;border-color:#efc3c0}
@media(max-width:1280px){.messages-workspace{grid-template-columns:minmax(260px,.72fr) minmax(390px,1.25fr)}.messages-context{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr)}.messages-context>section{border-right:1px solid #e3edf2}.messages-filter{grid-template-columns:1.3fr repeat(2,1fr);}.messages-filter button,.messages-clear-customer{width:100%}.customer-profile-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.messages-hero{align-items:flex-start;flex-direction:column}.messages-hero-actions{justify-content:flex-start}.messages-workspace,.messages-contact-layout{grid-template-columns:1fr}.messages-list-scroll{max-height:330px}.messages-thread-scroll{max-height:560px}.messages-context{grid-column:auto;grid-template-columns:1fr}.messages-filter{grid-template-columns:1fr 1fr}.messages-stats{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.messages-filter,.messages-stats,.customer-profile-stats{grid-template-columns:1fr}.messages-create[open]>form{position:fixed;left:12px;right:12px;top:90px;width:auto;max-height:80vh;overflow:auto}.messages-workspace{min-height:0}.messages-thread-scroll{min-height:260px}.message-bubble{max-width:94%}.messages-compose form>div{align-items:flex-start;flex-direction:column}.messages-context{display:block}.messages-contact-directory>header{align-items:stretch;flex-direction:column}.messages-contact-directory header form{display:grid;grid-template-columns:1fr auto}.messages-contact-list details form{position:fixed;left:12px;right:12px;top:90px;width:auto;max-height:80vh;overflow:auto}.messages-thread-tools details form{left:auto;right:0}}

/* Autobahn 1.1.30.38 – Kontakter och relationer */
.contacts-hero{align-items:center}.contacts-hero>div:last-child{display:grid;gap:8px;justify-items:end}.contacts-stats{grid-template-columns:repeat(5,minmax(0,1fr))}
.contact-directory-tabs{display:flex;gap:7px;overflow:auto;padding:3px 1px}.contact-directory-tabs a{white-space:nowrap;border:1px solid #d9e6ec;border-radius:999px;padding:8px 13px;background:#fff;color:#4b6572;font-size:.875rem;font-weight:800;text-decoration:none}.contact-directory-tabs a.active{border-color:#a6d8e9;background:#eaf8fd;color:#1476a3}
.contacts-layout-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,380px);gap:16px;align-items:start}.contacts-directory-card{padding:0;overflow:hidden}.contacts-directory-card>.card-head{padding:17px;border-bottom:1px solid #e7eef2}.contacts-search{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;padding:13px 17px;border-bottom:1px solid #edf2f5}.contacts-search input{width:100%}.contacts-directory-table{min-width:820px}.contacts-directory-table td>a,.contacts-directory-table td>strong{display:grid;gap:3px}.contacts-directory-table small{display:block;color:#748691;margin-top:3px}.contacts-create-card{position:sticky;top:84px}.contacts-create-card form,.contacts-relationship-create form{display:grid;gap:10px}.contacts-create-card details{border:1px solid #e0e9ed;border-radius:10px;padding:9px}.contacts-create-card details[open]{display:grid;gap:9px}.contacts-create-card summary{cursor:pointer;font-weight:800;color:#496473}.contacts-source-note{display:grid;gap:4px;margin-top:14px;border-radius:10px;padding:12px;background:#f2f7f9;color:#56707d}.contacts-source-note span{font-size:.875rem}
.contacts-profile-head{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid #dfe9ee;border-radius:15px;padding:18px;background:linear-gradient(135deg,#fff,#f3fafc)}.contacts-profile-head>div{display:grid;gap:5px}.contacts-profile-head>div:last-child{display:flex;align-items:center;gap:8px}.contacts-profile-head h2{margin:0}.contacts-profile-head p{margin:0;color:#607580}.contacts-profile-grid{align-items:start}.contacts-relations-card{padding:0;overflow:hidden}.contacts-relations-card>.card-head{padding:17px;border-bottom:1px solid #e7eef2}.contacts-relation-list{display:grid}.contacts-relation-list>article{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,.55fr) auto;gap:14px;align-items:center;padding:14px 17px;border-bottom:1px solid #e9eff2}.contacts-relation-list>article>div{display:grid;gap:4px}.contacts-relation-list>article>div:last-child{justify-items:end}.contacts-relation-list article.is-inactive,.contacts-relations-register tr.is-inactive{opacity:.66;background:#f7f8f9}.contacts-relation-list small{color:#6e828d}.contacts-relation-list form{margin:0}.contacts-relation-list button{min-height:34px}
.contacts-relations-register{padding:0;overflow:hidden}.contacts-relations-register table{min-width:920px}.contacts-relations-register td>a{display:grid;gap:3px}.contacts-relations-register small{display:block;color:#71848e;margin-top:3px}.contacts-history{padding:0;overflow:hidden}.contacts-history>.card-head{padding:17px;border-bottom:1px solid #e7eef2}.contacts-history-list{display:grid;padding:4px 17px 12px}.contacts-history-list article{display:grid;grid-template-columns:16px 132px minmax(0,1fr);gap:10px;align-items:start;padding:12px 0;border-bottom:1px solid #ebf0f2}.contacts-history-list article>div{display:grid;gap:3px}.contact-history-dot{width:10px;height:10px;margin-top:5px;border-radius:999px;background:#25a6cf;box-shadow:0 0 0 4px #e3f5fb}.contacts-history-list time,.contacts-history-list small{color:#71848e;font-size:.8125rem}
@media(max-width:1100px){.contacts-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.contacts-layout-grid{grid-template-columns:1fr}.contacts-create-card{position:static}.contacts-relation-list>article{grid-template-columns:minmax(0,1fr) auto}.contacts-relation-list>article>div:nth-child(2){grid-column:1/-1}.contacts-relation-list>article>div:last-child{grid-column:2;grid-row:1;align-self:start}}
@media(max-width:700px){.contacts-stats{grid-template-columns:1fr 1fr}.contacts-profile-head{align-items:flex-start;flex-direction:column}.contacts-profile-head>div:last-child{width:100%;justify-content:space-between}.contacts-search{grid-template-columns:1fr}.contacts-relation-list>article{grid-template-columns:1fr}.contacts-relation-list>article>div:nth-child(2),.contacts-relation-list>article>div:last-child{grid-column:auto;grid-row:auto;justify-items:start}.contacts-history-list article{grid-template-columns:16px 1fr}.contacts-history-list time{grid-column:2}}

/* Autobahn 1.1.30.39 – separat Personal- och tidmodul */
.personnel-hero{align-items:center}.personnel-hero .module-chip{max-width:360px;text-align:center}.personnel-stats{grid-template-columns:repeat(5,minmax(0,1fr))}.personnel-stats .personnel-attention{border-top-color:#f97316;background:#fffaf5}.personnel-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.personnel-flow>article{display:grid;grid-template-columns:42px minmax(0,1fr);gap:13px;align-items:start}.personnel-flow>article>span{display:grid;width:39px;height:39px;place-items:center;border-radius:12px;background:#eaf7fc;color:#15799f;font-weight:950}.personnel-flow h2{margin:2px 0 5px}.personnel-flow p{margin-bottom:10px}.personnel-flow a{color:#1476a3;font-weight:850}.personnel-boundary{border-top:4px solid #2d9f70;background:#f4fcf8}.personnel-boundary h2{margin:3px 0 6px}.personnel-self-card{display:flex;align-items:center;justify-content:space-between;gap:18px}.personnel-self-card h2{margin:3px 0}.personnel-self-card p{margin:0}.personnel-directory{padding:0;overflow:hidden}.personnel-filter{display:grid;grid-template-columns:minmax(260px,1fr) minmax(170px,.35fr) auto;gap:8px;padding:15px;border-bottom:1px solid #e7eef2}.personnel-filter label{display:grid;gap:5px}.personnel-filter>button{align-self:end;min-height:43px}.personnel-profile-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.personnel-profile-grid{align-items:start}.personnel-entity-list{display:grid;gap:8px;margin-top:14px}.personnel-entity-list>article{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:12px;border:1px solid #e0e9ed;border-radius:11px;background:#fff}.personnel-entity-list>article.is-inactive{opacity:.62;background:#f6f8f9}.personnel-entity-list article>div{display:grid;gap:3px;min-width:0}.personnel-entity-list strong{font-size:.9375rem}.personnel-entity-list small{color:#6f838d;font-size:.8125rem}.personnel-entity-list p{margin:3px 0 0;font-size:.875rem}.personnel-entity-list form{margin:0}.personnel-inline-form{display:grid;grid-template-columns:minmax(160px,1fr) minmax(145px,.55fr) minmax(150px,.7fr) auto;gap:8px;align-items:end;margin-top:15px;padding-top:15px;border-top:1px solid #e5ecef}.personnel-check{display:flex!important;align-items:center;flex-direction:row!important;gap:7px!important;min-height:43px}.personnel-check input{width:auto}.personnel-schedule-week{display:grid;grid-template-columns:repeat(7,minmax(110px,1fr));gap:8px;overflow:auto}.personnel-schedule-week article{display:grid;gap:4px;min-height:95px;padding:12px;border:1px solid #dce8ed;border-radius:11px;background:#f8fbfc}.personnel-schedule-week span{font-weight:850}.personnel-schedule-week small{color:#738691}.personnel-entry-grid{align-items:start}.personnel-entry-grid>.card{margin-bottom:0}.personnel-person-picker{margin:12px 0 16px;padding:11px;border:1px solid #e1e9ed;border-radius:10px;background:#f7fafb}.personnel-info{border-top:4px solid #2c98c4}.personnel-info ol{display:grid;gap:10px;margin:15px 0 0;padding-left:22px;color:#526d79}.personnel-review{padding:0;overflow:hidden}.personnel-review>.card-title-row{padding:18px;border-bottom:1px solid #e5ecef}.personnel-review-list{display:grid}.personnel-review-list>article{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.55fr);gap:18px;align-items:start;padding:17px 18px;border-bottom:1px solid #e8eef1}.personnel-review-list article>div{display:grid;gap:4px}.personnel-review-list article>div>.status{width:max-content}.personnel-review-list article p{margin:2px 0 0}.personnel-review-list form{display:grid;grid-template-columns:minmax(160px,1fr) auto auto;gap:7px;align-items:end}.personnel-review-list form label{grid-column:1/-1}.personnel-register-grid{align-items:start}.personnel-register-grid>.card{margin-bottom:0}.personnel-activity{padding:0;overflow:hidden}.personnel-timeline{display:grid;padding:8px 18px 16px}.personnel-timeline article{display:grid;grid-template-columns:16px 135px minmax(0,1fr);gap:10px;padding:12px 0;border-bottom:1px solid #e8eef1}.personnel-timeline article>span{width:10px;height:10px;margin-top:6px;border-radius:50%;background:#2aa1cd;box-shadow:0 0 0 4px #e5f6fb}.personnel-timeline article>div{display:grid;gap:3px}.personnel-timeline time,.personnel-timeline small{color:#71858f;font-size:.8125rem}.personnel-timeline p{margin:0}.status.available{background:#e8f7ef;color:#18764b}
/* Autobahn 1.1.30.83 – medarbetarresa, utbildning, mål och prestationssamtal */
.personnel-growth-link{display:flex;align-items:center;justify-content:space-between;gap:24px;border-top:4px solid #2789b3;background:linear-gradient(135deg,#f7fcfe,#fff)}.personnel-growth-link h2{margin:3px 0 6px}.personnel-growth-link p{margin:0;max-width:760px}.personnel-growth-link>.primary{flex:0 0 auto}.personnel-growth-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.personnel-growth-grid{align-items:start}.personnel-growth-grid>.card{margin-bottom:0}.personnel-growth-section{overflow:hidden}.personnel-growth-section>.card-head{margin-bottom:15px}.personnel-lifecycle-list,.personnel-growth-list,.personnel-review-list{display:grid;gap:10px}.personnel-lifecycle-list>article,.personnel-growth-list>article,.personnel-review-list>article{padding:14px;border:1px solid #dce7ec;border-radius:12px;background:#fff}.personnel-lifecycle-list article>header,.personnel-review-list article>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.personnel-lifecycle-list header>div,.personnel-growth-list article>div,.personnel-review-list header>div{display:grid;gap:4px;min-width:0}.personnel-lifecycle-list small,.personnel-growth-list small,.personnel-review-list small{color:#526978}.personnel-checklist{display:grid;gap:7px;margin-top:12px;padding-top:11px;border-top:1px solid #e4ecef}.personnel-checklist>div{display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:8px;align-items:center;min-height:38px}.personnel-checklist>div.is-done{color:#526978}.personnel-checklist form{margin:0}.personnel-growth-create{margin-top:14px;padding-top:12px;border-top:1px solid #e2e9ed}.personnel-growth-create>summary{width:max-content;cursor:pointer;color:#116c93;font-weight:850}.personnel-growth-create[open]>summary{margin-bottom:12px}.personnel-growth-create form{display:grid;gap:9px;max-width:720px}.personnel-growth-create label,.personnel-progress-form label{display:grid;gap:5px}.personnel-growth-list>article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:start}.personnel-growth-list>article>form{grid-column:1/-1;display:grid;grid-template-columns:minmax(160px,.45fr) minmax(180px,1fr) auto;gap:8px;align-items:end;padding-top:9px;border-top:1px solid #e7edef}.personnel-progress-form{grid-template-columns:minmax(120px,.35fr) auto!important}.personnel-review-list article>p{margin:11px 0;white-space:normal}.personnel-review-list blockquote{margin:11px 0 0;padding:11px 13px;border-left:4px solid #2d9f70;background:#f3fbf7;color:#314d59}.personnel-review-list article>form{display:grid;gap:8px;margin-top:12px;padding-top:11px;border-top:1px solid #e5ecef}.status.expired{background:#fff0ec;color:#a43b21}.status.shared{background:#eaf5fb;color:#17698d}.status.acknowledged,.status.completed{background:#e7f7ef;color:#176d47}
@media(max-width:1250px){.personnel-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.personnel-growth-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.personnel-flow{grid-template-columns:1fr 1fr}.personnel-schedule-week{grid-template-columns:repeat(4,minmax(130px,1fr))}.personnel-inline-form{grid-template-columns:1fr 1fr}.personnel-inline-form button{min-height:43px}}
@media(max-width:900px){.personnel-hero{align-items:flex-start;flex-direction:column}.personnel-growth-link{align-items:flex-start;flex-direction:column}.personnel-flow,.personnel-profile-grid,.personnel-growth-grid{grid-template-columns:1fr}.personnel-profile-stats{grid-template-columns:1fr 1fr}.personnel-review-list>article{grid-template-columns:1fr}.personnel-schedule-week{grid-template-columns:repeat(2,minmax(130px,1fr))}}
@media(max-width:650px){.personnel-stats,.personnel-profile-stats,.personnel-flow{grid-template-columns:1fr 1fr}.personnel-growth-stats{grid-template-columns:1fr}.personnel-filter,.personnel-inline-form,.personnel-review-list form,.personnel-growth-list>article>form,.personnel-progress-form{grid-template-columns:1fr!important}.personnel-review-list form label{grid-column:auto}.personnel-self-card{align-items:flex-start;flex-direction:column}.personnel-growth-link>.primary{width:100%}.personnel-lifecycle-list article>header,.personnel-review-list article>header{display:grid}.personnel-checklist>div{grid-template-columns:22px minmax(0,1fr)}.personnel-checklist form,.personnel-checklist small{grid-column:2}.personnel-checklist button{width:100%}.personnel-schedule-week{grid-template-columns:1fr}.personnel-timeline article{grid-template-columns:16px 1fr}.personnel-timeline time{grid-column:2}}
.personnel-review>.personnel-review-list{gap:0}.personnel-review>.personnel-review-list>article{padding:17px 18px;border:0;border-bottom:1px solid #e8eef1;border-radius:0;background:transparent}.personnel-growth-section>.personnel-review-list>article{display:block}

/* Autobahn Customer Subscriptions */
.customer-profile-stats{grid-template-columns:repeat(6,minmax(0,1fr))}
.customer-subscription-stat{border-top-color:#1e9d61!important;text-decoration:none}.customer-subscription-stat:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(30,157,97,.1)}
.subscription-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:15px;padding:24px 26px;border:1px solid #dbe8ef;border-radius:17px;background:linear-gradient(125deg,#fff 0%,#f3fbff 58%,#fff8f4 100%);box-shadow:0 10px 32px rgba(33,72,94,.055)}
.subscription-hero h2{margin:5px 0 6px;font-size:28px}.subscription-hero p{max-width:760px;margin:0;color:#587080;line-height:1.55}.subscription-hero .module-chip{padding:8px 11px;border:1px solid #bfe4d1;border-radius:999px;background:#eefaf4;color:#157548;font-size:.8125rem;font-weight:850;white-space:nowrap}
.subscription-stats{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:15px}.subscription-stats .stat{min-height:110px}.subscription-stats .stat:nth-child(1){border-top-color:#1e9d61}.subscription-stats .stat:nth-child(2){border-top-color:#2d9cdb}.subscription-stats .stat:nth-child(3){border-top-color:#e39a1d}.subscription-stats .stat:nth-child(4){border-top-color:#ff6b3d}
.subscription-overview-grid,.subscription-work-grid{align-items:start;margin-bottom:15px}.subscription-overview-grid>.card,.subscription-work-grid>.card{height:100%}.subscription-work-grid{grid-template-columns:minmax(0,1.1fr) minmax(330px,.72fr)}
.card-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:13px}.card-title-row h2{margin:3px 0 0}.button.secondary{display:inline-flex;align-items:center;justify-content:center;padding:8px 11px;border:1px solid #cbdde7;border-radius:9px;background:#fff;color:#294d60;font-size:.8125rem;font-weight:850;text-decoration:none;white-space:nowrap}
.subscription-safety{display:flex;align-items:center;justify-content:space-between;gap:22px;background:linear-gradient(110deg,#fff 0%,#f4fbf7 100%)}.subscription-safety h2{margin:4px 0}.subscription-safety p{max-width:680px;margin:0;color:#607783;line-height:1.55}.subscription-flow{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end}.subscription-flow span{padding:7px 9px;border:1px solid #d6e7de;border-radius:8px;background:#fff;color:#2d6350;font-size:.8125rem;font-weight:850}.subscription-flow b{color:#91aaa0}
.subscription-plan-list{display:grid;gap:8px}.subscription-plan-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center;padding:13px 14px;border:1px solid #dce8ed;border-radius:12px;background:#fff;color:inherit;text-decoration:none;transition:.16s ease}.subscription-plan-row:hover{border-color:#aed6e8;background:#f8fcfe;transform:translateY(-1px)}.subscription-plan-row.is-inactive{opacity:.62}.subscription-plan-row>div{display:grid;gap:3px}.subscription-plan-row>div:last-child{text-align:right}.subscription-plan-row strong{font-size:.8125rem}.subscription-plan-row small{color:#6e838f;font-size:.8125rem}
.subscription-form-card{background:linear-gradient(145deg,#fff,#f8fbfd)}.subscription-form-card h2{margin:4px 0 14px}.subscription-create{margin-bottom:15px}.subscription-create>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;list-style:none;cursor:pointer}.subscription-create>summary::-webkit-details-marker{display:none}.subscription-create>summary h2{margin:3px 0 0}.subscription-create-form{margin-top:18px;padding-top:16px;border-top:1px solid #e3edf2}
.subscription-filter{display:grid;grid-template-columns:minmax(220px,1fr) minmax(160px,.38fr) auto;gap:9px;margin-bottom:14px}.subscription-filter input,.subscription-filter select,.subscription-billing-control input{width:100%;border:1px solid #cbdde6;border-radius:9px;padding:9px 10px;background:#fff;color:var(--ink)}.subscription-filter button,.subscription-billing-control button{border:1px solid #c8dce6;border-radius:9px;padding:9px 12px;background:#fff;color:#294d60;font-weight:850;cursor:pointer}.subscription-billing-control button.primary{background:var(--accent);border-color:var(--accent);color:#fff}.subscription-billing-control button:disabled{opacity:.5;cursor:not-allowed}
.subscription-billing-control{display:grid;grid-template-columns:minmax(260px,1fr) auto auto;gap:20px;align-items:end;margin-bottom:15px}.subscription-billing-control>form:first-child{display:flex;align-items:end;gap:9px}.subscription-billing-control label{display:grid;gap:5px;color:#536d7b;font-size:.8125rem;font-weight:800}.subscription-billing-control>div{display:grid;gap:2px;text-align:right}.subscription-billing-control>div span,.subscription-billing-control>div small{color:#718793;font-size:.8125rem}.subscription-billing-control>div strong{font-size:18px}
.subscription-table{width:100%;border-collapse:collapse}.subscription-table th{padding:9px 10px;border-bottom:1px solid #dce8ed;color:#637b88;font-size:.8125rem;text-align:left;text-transform:uppercase;letter-spacing:.06em}.subscription-table td{padding:11px 10px;border-bottom:1px solid #edf3f6;vertical-align:middle;font-size:.8125rem}.subscription-table td>a{color:#247ca8;text-decoration:none}.subscription-table td strong,.subscription-table td small{display:block}.subscription-table td small{margin-top:3px;color:#758a95;font-size:.8125rem}.subscription-table .inline-form{display:flex;gap:5px;align-items:center}.subscription-table button{border:1px solid #cbdce5;border-radius:8px;padding:6px 8px;background:#fff;color:#2f5365;font-size:.8125rem;font-weight:800;cursor:pointer}.subscription-table .danger-link{color:#b43d38}.subscription-table .status{display:inline-flex;padding:4px 7px;border:1px solid #d8e5ea;border-radius:999px;background:#f5f8fa;color:#5f7682;font-size:.8125rem;font-weight:850}.subscription-table .status.active{border-color:#bfe4d1;background:#eefaf4;color:#157548}.subscription-table .status.paused{border-color:#f1d3ad;background:#fff6eb;color:#97520b}.subscription-table .status.cancelled,.subscription-table .status.ended{border-color:#efc3c0;background:#fff0ef;color:#a83a35}
@media(max-width:1280px){.customer-profile-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.subscription-work-grid{grid-template-columns:1fr}.subscription-billing-control{grid-template-columns:1fr auto}.subscription-billing-control>form:last-child{grid-column:1/-1}.subscription-billing-control>form:last-child button{width:100%}}
@media(max-width:900px){.subscription-hero,.subscription-safety{align-items:flex-start;flex-direction:column}.subscription-stats{grid-template-columns:1fr 1fr}.subscription-flow{justify-content:flex-start}.subscription-overview-grid{grid-template-columns:1fr}.subscription-billing-control{grid-template-columns:1fr}.subscription-billing-control>div{text-align:left}.subscription-billing-control>form:last-child{grid-column:auto}}
@media(max-width:700px){.subscription-filter,.subscription-stats{grid-template-columns:1fr}.subscription-plan-row{grid-template-columns:1fr}.subscription-plan-row>div:last-child{text-align:left}.subscription-billing-control>form:first-child{align-items:stretch;flex-direction:column}.subscription-table{min-width:760px}.subscription-hero h2{font-size:23px}.subscription-flow b{display:none}}

/* Autobahn Social Publishing */
.social-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:15px;padding:24px 26px;border:1px solid #dbe8ef;border-radius:18px;background:linear-gradient(125deg,#fff 0%,#f1faff 56%,#fff7f1 100%);box-shadow:0 10px 32px rgba(33,72,94,.055)}
.social-hero h2{margin:5px 0 6px;font-size:28px}.social-hero p{max-width:790px;margin:0;color:#587080;line-height:1.55}.social-hero .module-chip{padding:8px 11px;border:1px solid #c9e3f0;border-radius:999px;background:#f3fbff;color:#1679a9;font-size:.8125rem;font-weight:850;white-space:nowrap}
.social-stats{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:15px}.social-stats .stat{min-height:108px}.social-stats .stat:nth-child(1){border-top-color:#1e9d61}.social-stats .stat:nth-child(2){border-top-color:#2d9cdb}.social-stats .stat:nth-child(3){border-top-color:#e39a1d}.social-stats .stat:nth-child(4){border-top-color:#d04b45}
.social-action-strip{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:15px;padding:18px 21px;border:1px solid #dce8ee;border-left:5px solid #ff7043;border-radius:14px;background:#fff;box-shadow:0 7px 23px rgba(31,68,89,.04)}.social-action-strip h2{margin:3px 0 4px}.social-action-strip p{max-width:780px;margin:0;color:var(--muted);line-height:1.5}
.social-action-strip .button,.social-calendar .button,.social-filter .button{display:inline-flex;align-items:center;justify-content:center;padding:10px 13px;border-radius:10px;text-decoration:none;white-space:nowrap}.social-action-strip .primary,.social-calendar .primary,.social-filter .primary{border:1px solid #ff7043;background:#ff7043;color:#fff;font-weight:900}
.social-overview-grid{align-items:stretch;margin-bottom:15px}.social-overview-grid>.card{height:100%}.social-post-list,.social-connection-mini{display:grid;gap:8px}.social-post-list article,.social-connection-mini article{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px 11px;border:1px solid #dce8ed;border-radius:11px;background:#fbfdfe}.social-post-list time{color:#59717f;font-size:.8125rem}.social-post-list article>div,.social-connection-mini article>div{display:grid;gap:2px;min-width:0}.social-post-list strong,.social-connection-mini strong{font-size:.8125rem}.social-post-list small,.social-connection-mini small{overflow:hidden;color:var(--muted);font-size:.8125rem;text-overflow:ellipsis;white-space:nowrap}
.social-platform-mark{display:grid;width:30px;height:30px;place-items:center;border:1px solid #cae1ec;border-radius:9px;background:#edf8fd;color:#1479ac;font-size:.8125rem;font-weight:950}.social-platform-mark.large{width:42px;height:42px;border-radius:12px;font-size:1rem}
.status.connected,.status.published,.status.ready{border-color:#bfe4d1!important;background:#eefaf4!important;color:#157548!important}.status.pending,.status.scheduled,.status.publishing{border-color:#c7e2ef!important;background:#eef8fd!important;color:#1978a4!important}.status.blocked,.status.failed,.status.partial,.status.attention{border-color:#f0c2bf!important;background:#fff3f2!important;color:#a83b36!important}.status.cancelled,.status.disabled,.status.draft{border-color:#dce5e9!important;background:#f3f7f9!important;color:#607784!important}
.social-post-table{width:100%;border-collapse:collapse}.social-post-table th{padding:9px 10px;border-bottom:1px solid #dce8ed;color:#637b88;font-size:.8125rem;text-align:left;text-transform:uppercase;letter-spacing:.06em}.social-post-table td{padding:11px 10px;border-bottom:1px solid #edf3f6;vertical-align:middle;font-size:.8125rem}.social-post-table td strong,.social-post-table td small{display:block}.social-post-table td small{max-width:420px;margin-top:3px;overflow:hidden;color:#758a95;font-size:.8125rem;text-overflow:ellipsis;white-space:nowrap}
.social-composer{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(300px,.55fr);gap:15px;align-items:start}.social-compose-main,.social-compose-side{display:grid;gap:13px}.social-composer label{display:grid;gap:5px;color:#496474;font-size:.8125rem;font-weight:850}.social-composer label>small,.form-help{color:#738894;font-size:.8125rem;font-weight:500;line-height:1.5}.social-composer input,.social-composer textarea,.social-composer select{width:100%;border:1px solid #cddde6;border-radius:10px;padding:10px 11px;background:#fff;color:var(--ink)}.social-composer textarea{min-height:210px;resize:vertical;line-height:1.55}.social-composer button{border:1px solid #c9dce5;border-radius:10px;padding:10px 12px;background:#fff;color:#294b5c;font-weight:900;cursor:pointer}.social-composer button.primary{border-color:#ff7043;background:#ff7043;color:#fff}.social-composer button:disabled{opacity:.48;cursor:not-allowed}.social-composer .full{width:100%}.social-composer hr{width:100%;border:0;border-top:1px solid #e3edf2}.social-composer [data-social-character-count]{color:#718793;font-size:.8125rem;font-weight:800}.social-composer [data-social-character-count].is-near-limit{color:#a83b36}
.social-media-drop{position:relative;min-height:145px;place-items:center;align-content:center;padding:18px;border:2px dashed #acd1df!important;border-radius:13px;background:#f5fbfd;text-align:center;cursor:pointer}.social-media-drop input{position:absolute;width:1px;height:1px;opacity:0}.social-media-drop span{color:#247ca6;font-size:.8125rem;font-weight:900}.social-media-drop:focus-within{outline:3px solid rgba(45,156,219,.18);border-color:#2d9cdb!important}
.social-channel-choice{display:grid;gap:7px}.social-channel-choice label{display:grid;grid-template-columns:auto auto minmax(0,1fr);gap:9px;align-items:center;padding:10px;border:1px solid #dbe8ed;border-radius:11px;background:#fff;cursor:pointer}.social-channel-choice label>input{width:18px;height:18px;padding:0}.social-channel-choice label>span:last-child{display:grid;gap:2px}.social-channel-choice label.is-blocked{opacity:.7;background:#f7f9fa}.social-channel-choice label.is-ready{border-color:#bfe4d1;background:#f6fcf8}
.social-saved-preview,.social-truth{margin-bottom:15px}.social-post-copy{white-space:pre-wrap;line-height:1.55}.social-media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:10px;margin:13px 0}.social-media-grid figure{margin:0;overflow:hidden;border:1px solid #dce8ed;border-radius:11px;background:#f6fafc}.social-media-grid img,.social-media-grid video{display:block;width:100%;height:175px;object-fit:cover;background:#e8eff3}.social-media-grid figcaption{padding:7px 9px;overflow:hidden;color:#687e8a;font-size:.8125rem;text-overflow:ellipsis;white-space:nowrap}.social-target-list{display:grid;gap:7px}.social-target-list>div{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:9px;align-items:center;padding:9px 10px;border:1px solid #dce8ed;border-radius:10px}.social-target-list>div>span:nth-child(2){display:grid;gap:2px}.social-target-list small{color:var(--muted);font-size:.8125rem}
.social-truth{border-left:5px solid #1e9d61;background:linear-gradient(110deg,#fff,#f3fbf7)}.social-truth p{margin:4px 0 0;color:var(--muted);line-height:1.5}
.social-calendar-day{display:grid;grid-template-columns:70px minmax(0,1fr);gap:14px;padding:14px 0;border-top:1px solid #e5edf1}.social-calendar-day>time{display:grid;align-content:center;justify-items:center;height:65px;border:1px solid #c9e2ee;border-radius:12px;background:#f1f9fd;color:#1977a2}.social-calendar-day>time strong{font-size:23px}.social-calendar-day>time span{font-size:.8125rem;font-weight:900;text-transform:uppercase}.social-calendar-day>div{display:grid;gap:7px}.social-calendar-day article{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid #dce8ed;border-radius:10px;background:#fff}.social-calendar-day article>div{display:grid;gap:3px}.social-calendar-day small{color:var(--muted);font-size:.8125rem}.danger-link{border:0;background:transparent;color:#b43d38;font-size:.8125rem;font-weight:850;cursor:pointer}
.social-filter{display:grid;grid-template-columns:minmax(190px,.5fr) auto 1fr;gap:9px;margin-bottom:14px}.social-filter select,.social-filter button{border:1px solid #cddde6;border-radius:9px;padding:9px 10px;background:#fff}.social-filter button{width:max-content;color:#294d60;font-weight:850;cursor:pointer}.social-filter .button{justify-self:end}
.social-connection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:15px}.social-provider-card{display:grid;gap:11px}.social-provider-card.is-ready{border-color:#bfe4d1;background:linear-gradient(145deg,#fff,#f5fcf8)}.social-provider-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center}.social-provider-head h2{margin:2px 0 0}.social-provider-card>p{min-height:42px;margin:0;color:var(--muted);font-size:.8125rem;line-height:1.55}.social-capabilities{display:flex;gap:5px;flex-wrap:wrap}.social-capabilities span{padding:5px 7px;border:1px solid #dbe8ed;border-radius:999px;background:#f6f9fa;color:#607784;font-size:.8125rem;font-weight:800}.social-connection-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:10px;border-top:1px solid #e5edf1}.social-connection-row>div{display:grid;gap:2px}.social-connection-row strong{font-size:.8125rem}.social-connection-row small{color:var(--muted);font-size:.8125rem}.social-connect-work{align-items:start}.social-connect-work h2{margin:4px 0 13px}.social-oauth-explanation ol{display:grid;gap:9px;padding-left:20px;color:#405d6c}.social-oauth-explanation li,.social-oauth-explanation p{font-size:.8125rem;line-height:1.55}.social-oauth-explanation p{margin:13px 0 0;padding:11px;border:1px solid #f0d2ad;border-radius:9px;background:#fff8ef;color:#875016}
@media(max-width:1180px){.social-connection-grid{grid-template-columns:1fr 1fr}.social-composer{grid-template-columns:minmax(0,1fr) minmax(280px,.55fr)}}
@media(max-width:900px){.social-hero,.social-action-strip{align-items:flex-start;flex-direction:column}.social-stats{grid-template-columns:1fr 1fr}.social-composer{grid-template-columns:1fr}.social-compose-side{grid-template-columns:1fr 1fr}.social-compose-side>hr,.social-compose-side>.form-help,.social-compose-side>h2,.social-compose-side>.eyebrow,.social-compose-side>.social-channel-choice{grid-column:1/-1}.social-connection-grid{grid-template-columns:1fr 1fr}.social-post-table{min-width:700px}}
@media(max-width:620px){.social-stats,.social-connection-grid,.social-compose-side{grid-template-columns:1fr}.social-compose-side>*{grid-column:auto!important}.social-calendar-day{grid-template-columns:52px minmax(0,1fr)}.social-calendar-day article{align-items:flex-start}.social-filter{grid-template-columns:1fr}.social-filter .button{justify-self:stretch}.social-provider-head{grid-template-columns:auto minmax(0,1fr)}.social-provider-head>.status{grid-column:1/-1;width:max-content}.social-hero h2{font-size:23px}}
@media(pointer:coarse){.social-composer button,.social-action-strip .button,.social-calendar .button,.social-filter .button,.social-filter button,.social-composer input,.social-composer select,.social-channel-choice label{min-height:46px}}

/* Säker kundvis versionsdistribution */
.release-publish-card,.release-rollback-card{align-items:start}.release-action-copy{position:sticky;top:18px}.release-action-form{display:grid;gap:14px}.release-scope{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:0;padding:0;border:0}.release-scope legend{grid-column:1/-1;margin-bottom:2px;font-weight:850}.release-scope-option{display:flex!important;gap:9px;align-items:flex-start;padding:12px;border:1px solid #d9e4ea;border-radius:12px;background:#f8fbfc;cursor:pointer}.release-scope-option:has(input:checked){border-color:#35a7d7;background:#eef9fe;box-shadow:0 0 0 2px rgba(53,167,215,.1)}.release-scope-option input{width:auto;margin-top:3px}.release-scope-option span{display:grid;gap:2px}.release-scope-option small{color:var(--muted);font-weight:500}.release-tenant-list{display:grid;border:1px solid #dbe5ea;border-radius:13px;overflow:hidden}.release-tenant-row{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 12px;background:#fff;border-bottom:1px solid #e6edf1;cursor:pointer}.release-tenant-row:last-child{border-bottom:0}.release-tenant-row:has(input:checked){background:#f2fbf6}.release-tenant-row input{width:auto}.release-tenant-row>span{display:grid;gap:2px}.release-tenant-row small{color:var(--muted);font-weight:500}.release-tenant-version{text-align:right}.release-password{display:grid!important;gap:6px;font-weight:800!important}.release-password input{width:100%;min-height:43px;border:1px solid #cbd9e1;border-radius:10px;padding:9px 11px;background:#fff}.release-password input:focus{outline:2px solid rgba(53,167,215,.25);border-color:#35a7d7}.release-action-form button{min-height:45px}.release-action-form button:disabled{cursor:not-allowed;opacity:.48}@media(max-width:900px){.release-action-copy{position:static}}@media(max-width:620px){.release-scope{grid-template-columns:1fr}.release-scope legend{grid-column:auto}.release-tenant-row{grid-template-columns:auto minmax(0,1fr)}.release-tenant-version{grid-column:2;text-align:left}}
.release-action-form:not(:has(input[name="scope"][value="selected"]:checked)) .release-tenant-list{opacity:.45;pointer-events:none}
.release-target-picker{display:grid!important;gap:6px!important;margin-top:2px;color:#17324a;font-weight:850!important}
.release-target-picker select{width:100%;min-height:46px;border:1px solid #cbdce8;border-radius:12px;background:#fff;color:#10283d;padding:0 42px 0 14px;font:inherit;font-weight:750;box-shadow:0 1px 2px rgba(16,40,61,.04)}
.release-target-picker select:focus{outline:3px solid rgba(47,163,218,.18);border-color:#2fa3da}
.release-target-picker small{color:#6c8091;font-size:.875rem;font-weight:600;line-height:1.45}
.release-transition{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:stretch;gap:10px;margin-top:2px;padding:10px;border:1px solid #d6e5ee;border-radius:14px;background:linear-gradient(135deg,#f7fbfd,#eef8fc)}
.release-transition>span{display:grid;gap:3px;min-width:0;padding:10px 12px;border:1px solid #dbe8ef;border-radius:10px;background:#fff}
.release-transition small{color:#6c8091;font-size:.8125rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.release-transition strong{overflow-wrap:anywhere;color:#10283d;font-size:1rem;line-height:1.25}
.release-transition>b{align-self:center;color:#2496cf;font-size:20px}
@media(max-width:620px){.release-transition{grid-template-columns:1fr}.release-transition>b{justify-self:center;line-height:12px;transform:rotate(90deg)}}

/* Adminarbetsväljare: Service 365 AB, Autobahn Plattform och Utveckling */
.workspace-control{display:grid;gap:6px;margin:0 0 4px}
.sidebar nav>.workspace-control{position:sticky;top:0;z-index:35;padding:4px 0 8px;background:#fff}
.workspace-control-label{padding:0 8px;color:#8798a1;font-size:.8125rem;font-weight:950;letter-spacing:.13em}
.workspace-switcher{position:relative}
.workspace-switcher>summary{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:9px;align-items:center;min-height:58px;padding:9px 10px;border:1px solid #d7e3e6;border-radius:13px;background:linear-gradient(145deg,#fff,#f4f8f9);color:#203b47;cursor:pointer;list-style:none;box-shadow:0 7px 20px rgba(36,73,88,.05)}
.workspace-switcher>summary::-webkit-details-marker{display:none}
.workspace-switcher>summary>span:nth-child(2){display:grid;gap:2px;min-width:0}
.workspace-switcher>summary strong{overflow:hidden;font-size:.8125rem;text-overflow:ellipsis;white-space:nowrap}
.workspace-switcher>summary small{overflow:hidden;color:#72858e;font-size:.8125rem;font-weight:600;text-overflow:ellipsis;white-space:nowrap}
.workspace-switcher>summary>b{color:#7d929b;font-size:.8125rem;transition:transform .16s ease}
.workspace-switcher[open]>summary>b{transform:rotate(180deg)}
.workspace-switcher-icon{display:grid;width:30px!important;height:30px;place-items:center;border:1px solid #cbe1e8;border-radius:9px;background:#eaf5f8;color:#24748d;font-weight:950}
.workspace-switcher-menu{position:absolute;z-index:40;top:64px;left:0;right:0;display:grid;gap:4px;padding:7px;border:1px solid #cfdee3;border-radius:13px;background:#fff;box-shadow:0 18px 45px rgba(31,64,78,.18)}
.sidebar nav .workspace-option{display:grid;grid-template-columns:25px minmax(0,1fr) auto;gap:8px;align-items:center;padding:9px;border-radius:9px;color:#465f6a}
.sidebar nav .workspace-option>span:first-child{width:25px;color:#65818c;text-align:center}
.sidebar nav .workspace-option>span:nth-child(2){display:grid;gap:2px;min-width:0}
.sidebar nav .workspace-option strong{font-size:.8125rem;color:#294652}
.sidebar nav .workspace-option small{overflow:hidden;color:#81929a;font-size:.8125rem;text-overflow:ellipsis;white-space:nowrap}
.sidebar nav .workspace-option>b{color:#16825a;font-size:.8125rem}
.sidebar nav .workspace-option:hover{background:#edf5f6;color:#163e4c}
.sidebar nav .workspace-option.active{background:#e7f2f4;color:#143d4b;box-shadow:inset 3px 0 #d49a4a}
.workspace-navigation{margin-top:8px}
.sidebar-development-industries{margin-top:5px}
.sidebar-development-industries .sidebar-module-list{max-height:none;overflow:visible}
.sidebar-development-industries .module-link{min-height:37px!important;padding:7px 8px!important}
.workspace-development-tools{margin-top:8px}
@media(max-width:700px){.workspace-control{min-width:250px}.sidebar nav>.workspace-control{position:static}.workspace-switcher-menu{position:fixed;top:86px;left:14px;right:14px}}

/* Service 365 AB: operativ SaaS-oversikt */
.service365-welcome{background:linear-gradient(125deg,#fff 0%,#f2faff 58%,#fff8f2 100%);border:1px solid #d8e8ef;color:var(--ink);box-shadow:0 12px 34px rgba(34,73,94,.06)}
.service365-welcome h2{margin:5px 0 7px;font-size:29px}.service365-welcome p{max-width:820px;margin:0 0 6px;color:#58717f;line-height:1.55}.service365-welcome small{color:#70838d}
.service365-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:15px 0}
.service365-kpis article{display:grid;gap:5px;min-height:116px;padding:17px 18px;border:1px solid #dbe8ee;border-top:4px solid #2d9cdb;border-radius:14px;background:#fff;box-shadow:0 7px 24px rgba(34,73,94,.045)}
.service365-kpis article:nth-child(2){border-top-color:#1e9d61}.service365-kpis article:nth-child(3){border-top-color:#ff7043}.service365-kpis article:nth-child(4){border-top-color:#d49a4a}
.service365-kpis span{color:#5b7481;font-size:.8125rem;font-weight:900;letter-spacing:.055em;text-transform:uppercase}.service365-kpis strong{color:var(--ink);font-size:25px;line-height:1.1}.service365-kpis small{color:#758a95;font-size:.8125rem;line-height:1.45}
.service365-customer-card{margin-bottom:15px}.service365-customer-card>.card-head{align-items:flex-start}.service365-customer-card>.card-head .primary{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 13px;border-radius:10px;text-decoration:none;white-space:nowrap}
.service365-filter{display:grid;grid-template-columns:minmax(280px,1.45fr) minmax(155px,.55fr) minmax(155px,.55fr) auto;gap:10px;align-items:end;margin:14px 0;padding:13px;border:1px solid #dce8ee;border-radius:13px;background:#f8fbfc}
.service365-filter label{display:grid;gap:5px;color:#506a78;font-size:.8125rem;font-weight:850}.service365-filter input,.service365-filter select{width:100%;min-height:40px;border:1px solid #cbdce5;border-radius:9px;padding:9px 10px;background:#fff;color:var(--ink)}
.service365-filter input:focus,.service365-filter select:focus{outline:3px solid rgba(45,156,219,.13);border-color:#4da9d2}.service365-filter-actions{display:flex;gap:7px;align-items:center}.service365-filter-actions button,.service365-filter-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 12px;border:1px solid #c8dce5;border-radius:9px;background:#fff;color:#294d60;font-size:.8125rem;font-weight:850;text-decoration:none;cursor:pointer}.service365-filter-actions button{border-color:#2d9cdb;background:#2d9cdb;color:#fff}
.service365-customer-table{border:1px solid #e0e9ed;border-radius:12px}.service365-customer-table table{width:100%;min-width:1120px;border-collapse:collapse}.service365-customer-table th{padding:10px 11px;border-bottom:1px solid #dbe7ed;background:#f5f8fa;color:#617985;font-size:.8125rem;text-align:left;text-transform:uppercase;letter-spacing:.06em}.service365-customer-table td{padding:12px 11px;border-bottom:1px solid #eaf0f3;vertical-align:middle;font-size:.8125rem}.service365-customer-table tbody tr:last-child td{border-bottom:0}.service365-customer-table tbody tr:hover{background:#fbfdfe}
.service365-customer-cell{display:grid;gap:3px}.service365-customer-cell strong{color:var(--ink);font-size:.8125rem}.service365-customer-cell small{color:#758a95;font-size:.8125rem;line-height:1.35}.service365-status{display:inline-flex;width:max-content;margin-top:2px;padding:4px 7px;border:1px solid #d8e5ea;border-radius:999px;background:#f4f8fa;color:#5f7682;font-size:.8125rem;font-weight:850}.service365-status.status-active,.service365-status.status-trial{border-color:#bfe4d1;background:#eefaf4;color:#157548}.service365-status.status-past_due{border-color:#f1d3ad;background:#fff6eb;color:#97520b}.service365-status.status-paused{border-color:#c7e2ef;background:#eef8fd;color:#1978a4}.service365-status.status-cancelled,.service365-status.status-inactive{border-color:#efc3c0;background:#fff0ef;color:#a83a35}
.service365-row-action{text-align:right}.service365-row-action a{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:7px 10px;border:1px solid #c8dce6;border-radius:9px;background:#fff;color:#217ca7;font-size:.8125rem;font-weight:850;text-decoration:none;white-space:nowrap}.service365-row-action a:hover{border-color:#2d9cdb;background:#eef9fe}
.service365-operations-grid{align-items:start;margin-bottom:15px}.service365-operations-grid>.card{height:100%}.service365-workflow{display:grid;gap:9px;margin:15px 0}.service365-workflow>div{display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;align-items:center;padding:11px;border:1px solid #dce8ed;border-radius:11px;background:#fbfdfe}.service365-workflow b{display:grid;width:34px;height:34px;place-items:center;border:1px solid #c7e2ef;border-radius:10px;background:#edf8fd;color:#1978a4}.service365-workflow span{display:grid;gap:3px}.service365-workflow strong{font-size:.8125rem}.service365-workflow small{color:#6f8590;font-size:.8125rem;line-height:1.45}.service365-workflow-actions{display:flex;gap:8px;flex-wrap:wrap}.service365-workflow-actions a{display:inline-flex;min-height:38px;align-items:center;padding:8px 11px;border:1px solid #c9dce5;border-radius:9px;background:#fff;color:#27617c;font-size:.8125rem;font-weight:850;text-decoration:none}.service365-workflow-actions a:first-child{border-color:#ff7043;background:#ff7043;color:#fff}
@media(max-width:1180px){.service365-kpis{grid-template-columns:1fr 1fr}.service365-filter{grid-template-columns:1fr 1fr}.service365-search{grid-column:1/-1}.service365-filter-actions{grid-column:1/-1}}
@media(max-width:720px){.service365-welcome h2{font-size:24px}.service365-kpis,.service365-filter{grid-template-columns:1fr}.service365-search,.service365-filter-actions{grid-column:auto}.service365-filter-actions>*{flex:1}.service365-customer-card>.card-head{gap:12px;align-items:stretch;flex-direction:column}.service365-customer-card>.card-head .primary{width:100%}}

/* Autobahn 1.1.30.85 - tre tydligt åtskilda adminlägen */
body[data-admin-workspace] main{min-width:0;transition:background .18s ease}
body[data-admin-workspace="service365"] main{background:linear-gradient(145deg,#edf7f1 0,#f6fbf8 44%,#eef8f4 100%)}
body[data-admin-workspace="platform"] main{background:linear-gradient(145deg,#edf6fb 0,#f7fbfd 44%,#edf7fb 100%)}
body[data-admin-workspace="development"] main{background:linear-gradient(145deg,#fff7e8 0,#fffcf5 44%,#fff5e1 100%)}
body[data-admin-workspace="service365"] .topbar{border-bottom-color:#b8ddca;background:rgba(247,252,249,.94)}
body[data-admin-workspace="platform"] .topbar{border-bottom-color:#bddbea;background:rgba(247,251,253,.94)}
body[data-admin-workspace="development"] .topbar{border-bottom-color:#efd19d;background:rgba(255,252,245,.95)}
.workspace-mode-pill{gap:6px;white-space:nowrap;border:1px solid transparent}
body[data-admin-workspace="service365"] .workspace-mode-pill{border-color:#b8ddca;background:#e8f6ee;color:#176540}
body[data-admin-workspace="platform"] .workspace-mode-pill{border-color:#bddbea;background:#e9f5fb;color:#176684}
body[data-admin-workspace="development"] .workspace-mode-pill{border-color:#efd19d;background:#fff3dc;color:#96510d}
body[data-admin-workspace="service365"] .workspace-switcher>summary{border-color:#b7dbc8;background:linear-gradient(145deg,#fff,#eaf7f0)}
body[data-admin-workspace="platform"] .workspace-switcher>summary{border-color:#bad9e8;background:linear-gradient(145deg,#fff,#eaf6fb)}
body[data-admin-workspace="development"] .workspace-switcher>summary{border-color:#edcf98;background:linear-gradient(145deg,#fff,#fff3dd)}
body[data-admin-workspace="service365"] .workspace-switcher-icon{border-color:#b5dbc7;background:#e5f5ec;color:#197147}
body[data-admin-workspace="platform"] .workspace-switcher-icon{border-color:#b9dbe9;background:#e5f4fa;color:#167193}
body[data-admin-workspace="development"] .workspace-switcher-icon{border-color:#efce91;background:#fff0d3;color:#a65a0d}
body[data-admin-workspace="service365"] .workspace-option.active{box-shadow:inset 3px 0 #279b64}
body[data-admin-workspace="platform"] .workspace-option.active{box-shadow:inset 3px 0 #299ac8}
body[data-admin-workspace="development"] .workspace-option.active{box-shadow:inset 3px 0 #e3982c}

/* Service 365 - bolagets egen operativa arbetsyta */
.company-welcome{border-color:#bedfce;background:linear-gradient(125deg,#fff 0%,#eaf7f0 60%,#f4fbf7 100%)}
.company-welcome .module-chip{border-color:#bcdccc;background:#fff;color:#176540}.company-welcome .module-chip:hover{background:#e8f6ee}
.company-setup-card{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:28px;align-items:end;border-top:4px solid #279b64}.company-setup-card form{padding:16px;border:1px solid #cde4d8;border-radius:14px;background:#f6fbf8}
.company-boundary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.company-boundary-grid article{display:grid;grid-template-columns:38px 1fr;gap:11px;padding:18px;border:1px solid #cfe3d8;border-radius:15px;background:#fff}.company-boundary-grid b{display:grid;width:38px;height:38px;place-items:center;border-radius:11px;background:#e8f6ee;color:#176540}.company-boundary-grid span{display:grid;gap:4px}.company-boundary-grid small{color:#6d8277;line-height:1.45}
.company-context-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px;padding:10px 14px;border:1px solid #bedfce;border-radius:12px;background:#f8fcfa}.company-context-bar>span:first-child{display:grid}.company-context-bar small{color:#71847a}
.company-kpis{margin-top:0}.company-kpis article{border-top-color:#279b64}.company-kpis article:nth-child(2){border-top-color:#299ac8}.company-kpis article:nth-child(3){border-top-color:#df9731}.company-kpis article:nth-child(4){border-top-color:#7b6bb0}
.company-flow-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:20px}.company-flow{display:grid;align-content:start;gap:9px;padding:19px;border:1px solid #d5e5dd;border-top:4px solid #299ac8;border-radius:16px;background:#fff;box-shadow:0 7px 24px rgba(34,73,94,.045)}.company-flow.postbox-flow{border-top-color:#df9731}.company-flow.economy-flow{border-top-color:#279b64}.company-flow header{display:flex;align-items:center;gap:10px}.company-flow header>span{display:grid;width:38px;height:38px;place-items:center;border-radius:11px;background:#edf7fb;color:#19789a;font-weight:900}.company-flow.postbox-flow header>span{background:#fff5e5;color:#a45a0e}.company-flow.economy-flow header>span{background:#eaf7f0;color:#197147}.company-flow header small{color:#718790;font-weight:900;letter-spacing:.11em}.company-flow h2{margin:1px 0 0;font-size:17px}.company-flow>strong{font-size:24px}.company-flow>p{min-height:48px;margin:0;color:#6a7e75}.company-flow>a,.company-module-open button{min-height:36px;border:1px solid #c8ded3;border-radius:9px;background:#fff;color:#176540;font-size:.8125rem;font-weight:850}.company-flow>a{display:inline-flex;align-items:center;justify-content:center;padding:7px 10px}.company-module-open{margin:0}.company-module-open button{width:100%;padding:7px 10px}
.company-tools-card{border-top:4px solid #279b64}.company-module-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-top:16px}.company-module-grid article{display:grid;grid-template-columns:36px minmax(0,1fr);gap:9px;padding:13px;border:1px solid #d5e5dd;border-radius:12px;background:#fbfefc}.company-module-grid article>span{display:grid;width:36px;height:36px;place-items:center;border-radius:10px;background:#e8f6ee;color:#176540;font-weight:900}.company-module-grid article>div{display:grid;gap:2px}.company-module-grid small{color:#71847a;font-size:.8125rem;line-height:1.35}.company-module-grid .company-module-open{grid-column:1/-1}.company-module-grid .company-module-open button{text-align:left}
.company-billing-grid{align-items:start}.company-billing-grid>.card{height:100%}.company-run-list{display:grid;gap:7px;margin-top:12px}.company-run-list article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 10px;padding:10px;border:1px solid #dce8e1;border-radius:10px;background:#fbfefc}.company-run-list article>span{display:grid}.company-run-list article small{color:#71847a}.company-run-list article>b{align-self:center;padding:4px 7px;border-radius:999px;background:#e8f6ee;color:#176540;font-size:.8125rem}.company-run-list article>b.run-failed{background:#fff0ef;color:#a83a35}.company-run-list article>small{grid-column:1/-1}.company-settings>summary{cursor:pointer;font-weight:850}.company-settings form{max-width:640px;margin-top:14px}
@media(max-width:1150px){.company-module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.company-flow-grid{grid-template-columns:1fr 1fr}.company-flow:last-child{grid-column:1/-1}}
@media(max-width:760px){.workspace-mode-pill{display:none}.company-setup-card{grid-template-columns:1fr}.company-boundary-grid,.company-flow-grid,.company-module-grid{grid-template-columns:1fr}.company-flow:last-child{grid-column:auto}.company-context-bar{align-items:flex-start;flex-direction:column}}

/* Versionssida: kompakt arbetsyta utan tomma sidokolumner */
.release-hero{padding:17px 20px}.release-hero h2{margin:4px 0 5px}.release-hero p{margin:0}
.release-flow{gap:8px;margin:12px 0}.release-flow>div{grid-template-columns:30px 1fr;column-gap:8px;padding:10px 11px;border-radius:11px}.release-flow b{width:30px;height:30px}.release-flow>span{font-size:17px}
.release-grid{gap:12px;margin:12px 0}.release-card{padding:15px 17px;border-width:1px;border-radius:14px}.release-version{margin:5px 0}.release-version strong{font-size:24px}.release-version-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.release-card-publish{min-height:34px;padding:7px 11px;border:1px solid #f05b25;border-radius:10px;background:#ff6b35;color:#fff;font:inherit;font-size:.875rem;font-weight:800;cursor:pointer;box-shadow:0 5px 14px rgba(255,107,53,.18)}.release-card-publish:hover{background:#f35d28}.release-card-publish:focus-visible{outline:3px solid rgba(47,158,219,.28);outline-offset:2px}.release-card details{margin-top:9px}
.release-card .release-state-badge{border:1px solid #d6e2e8;background:#f5f8fa;color:#415c69}.release-card .release-state-badge.ready{border-color:#f4bf80;background:#fff3e2;color:#914708}.release-card .release-state-badge.active{border-color:#a7d7ba;background:#eefaf3;color:#17623b}.release-card .release-state-badge.warning{border-color:#efb0a9;background:#fff2f0;color:#9c2f25}.release-card .release-stage-note{margin:1px 0 7px;padding:6px 8px;border-left:3px solid #f4a04d;border-radius:0 7px 7px 0;background:rgba(255,255,255,.62);color:#405d6a;font-weight:700}.release-card.stable .release-stage-note{border-left-color:#61b87b}
.release-publish-card,.release-rollback-card{display:block;margin-top:12px;padding:16px 18px;border-radius:15px}
.release-action-copy{position:static;display:grid;grid-template-columns:minmax(240px,.65fr) minmax(360px,1.35fr);grid-template-areas:"eyebrow eyebrow" "title description";gap:3px 18px;align-items:end;margin-bottom:12px}
.release-action-copy>.eyebrow{grid-area:eyebrow}.release-action-copy>h2{grid-area:title;margin:0;font-size:19px;line-height:1.2}.release-action-copy>p{grid-area:description;margin:0;color:var(--muted);line-height:1.45}
.release-action-form{display:grid;grid-template-columns:minmax(265px,.9fr) minmax(245px,.8fr) minmax(315px,1fr);gap:9px 12px;align-items:start}
.release-action-form>.release-scope{grid-column:1}.release-action-form>.release-tenant-list{grid-column:2;max-height:235px;overflow:auto}.release-action-form>.release-target-picker,.release-action-form>.release-transition,.release-action-form>.release-password,.release-action-form>.release-confirm,.release-action-form>.release-publish-shortcut-notice,.release-action-form>button{grid-column:3}.release-publish-shortcut-notice{margin:0;padding:9px 11px;border:1px solid #a8d8ee;border-radius:10px;background:#eef9fe;color:#16445d;font-size:.875rem;font-weight:750}
.release-scope{gap:7px}.release-scope legend{margin-bottom:0}.release-scope-option{gap:7px;padding:9px;border-radius:10px}.release-scope-option small{font-size:.8125rem;line-height:1.3}
.release-tenant-row{gap:8px;padding:8px 9px}.release-tenant-row small{font-size:.8125rem}.release-password{gap:4px!important}.release-password input{min-height:40px;padding:7px 10px}.release-action-form button{min-height:41px}.release-target-picker{gap:4px!important;margin-top:0}.release-target-picker select{min-height:41px;padding-left:11px}.release-transition{gap:7px;margin-top:0;padding:7px;border-radius:11px}.release-transition>span{padding:7px 9px}.release-transition strong{font-size:.875rem}
.release-card .release-notes{margin-top:10px;padding:9px 0 0;border-top:1px solid rgba(84,122,140,.18)}.release-card .release-notes summary{color:#214f64;font-size:.875rem;font-weight:850;cursor:pointer}.release-card .release-notes-title{display:block;margin-top:7px;color:var(--ink);font-size:.875rem}.release-card .release-notes ul{display:grid;gap:4px;margin:6px 0 0;padding-left:18px}.release-card .release-notes li,.release-card .release-notes p{color:#58717f;font-size:.8125rem;line-height:1.4}.release-card .release-notes p{margin:6px 0 0}
.release-history{margin:12px 0;padding:0}.release-history-archive>summary{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:13px 16px;cursor:pointer;list-style:none}.release-history-archive>summary>span:first-child{display:grid;gap:2px}.release-history-count{flex:none;padding:7px 10px;border-radius:999px;background:#ff6b35;color:#fff;font-weight:850}.release-history-list{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px 14px 14px}.release-history-item{border:1px solid #dbe7ed;border-radius:11px;background:#fbfdfe;overflow:hidden}.release-history-item summary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px 12px;cursor:pointer;list-style-position:inside}.release-history-item summary>span:first-of-type{display:grid;gap:2px}.release-history-item summary strong{font-size:1rem}.release-history-item summary small{color:#617a87;font-size:.8125rem;line-height:1.35}.release-history-meta{display:grid;gap:2px;text-align:right;color:#526d7a;font-size:.8125rem}.release-history-item ul{display:grid;gap:4px;margin:0;padding:0 16px 11px 32px;border-top:1px solid #e5edf1}.release-history-item li{padding-top:7px;color:#4f6976;font-size:.8125rem;line-height:1.4}.release-history-item>p{margin:0;padding:10px 13px;border-top:1px solid #e5edf1;color:#6d838e;font-size:.8125rem}
@media(max-width:1180px){.release-action-form{grid-template-columns:1fr 1fr}.release-action-form>.release-scope{grid-column:1}.release-action-form>.release-tenant-list{grid-column:2}.release-action-form>.release-target-picker,.release-action-form>.release-transition,.release-action-form>.release-password,.release-action-form>.release-confirm,.release-action-form>.release-publish-shortcut-notice,.release-action-form>button{grid-column:1/-1}.release-action-copy{grid-template-columns:1fr;grid-template-areas:"eyebrow" "title" "description"}.release-action-copy>p{margin-top:2px}.release-history-list{grid-template-columns:1fr}}
@media(max-width:700px){.release-publish-card,.release-rollback-card{padding:14px}.release-version-actions{width:100%;justify-content:space-between}.release-action-form{grid-template-columns:1fr}.release-action-form>.release-scope,.release-action-form>.release-tenant-list,.release-action-form>.release-target-picker,.release-action-form>.release-transition,.release-action-form>.release-password,.release-action-form>.release-confirm,.release-action-form>.release-publish-shortcut-notice,.release-action-form>button{grid-column:1}.release-action-form>.release-tenant-list{max-height:190px}.release-flow{grid-template-columns:1fr 1fr}.release-flow>span{display:none}.release-grid{grid-template-columns:1fr}.release-history-archive>summary{align-items:flex-start}.release-history-list{padding:10px}.release-history-item summary{grid-template-columns:1fr}.release-history-meta{text-align:left}}
.release-rollback-form{grid-template-columns:minmax(260px,.75fr) minmax(360px,1.25fr);gap:12px 16px}
.release-rollback-form>.release-scope{grid-column:1}.release-rollback-form>.release-target-picker{grid-column:2}.release-rollback-form>.release-tenant-list{grid-column:1/-1;max-height:210px}.release-rollback-form>.release-rollback-plan,.release-rollback-form>.release-rollback-security{grid-column:1/-1}
.release-rollback-plan{display:grid;gap:9px;padding:12px;border:1px solid #cfe2ec;border-radius:13px;background:linear-gradient(135deg,#f8fcfe,#eef8fc)}

/* Publik Autobahn-sida och riktig 14-dagarsregistrering */
.marketing-page,.trial-page{min-height:100vh;background:#f7fafc;color:#112633;font-size:16px;line-height:1.55}.marketing-page{overflow-x:clip}.marketing-page main{overflow:hidden}.marketing-header{display:flex;justify-content:space-between;align-items:center;gap:28px;width:min(1180px,calc(100% - 40px));min-height:78px;margin:0 auto}.marketing-brand{display:flex;align-items:center;gap:12px}.marketing-brand>span{color:#ff6338;font-size:23px;font-weight:950;letter-spacing:.045em}.marketing-brand small{padding-left:11px;border-left:1px solid #d6e2e8;color:#387797;font-size:.8125rem;font-weight:850;line-height:1.25;letter-spacing:.055em}.marketing-header nav{display:flex;align-items:center;gap:24px}.marketing-header nav>a{color:#365463;font-size:1rem;font-weight:750}.marketing-button,.marketing-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:47px;padding:11px 19px;border-radius:11px;font-weight:850}.marketing-header .marketing-button,.marketing-button{background:#ff6338;color:#fff}.marketing-header .marketing-button{min-height:41px;padding:8px 15px}.marketing-secondary{border:1px solid #c6d7df;background:#fff;color:#244b5e}.marketing-hero{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(330px,.75fr);gap:64px;align-items:center;width:min(1180px,calc(100% - 40px));min-height:610px;margin:0 auto;padding:74px 0 96px}.marketing-hero h1{max-width:760px;margin:13px 0 22px;color:#102a38;font-size:clamp(45px,6vw,76px);line-height:1.01;letter-spacing:-.055em}.marketing-hero h1 em{color:#ff6338;font-style:normal}.marketing-hero>div>p{max-width:650px;margin:0;color:#56717e;font-size:20px;line-height:1.55}.marketing-actions{display:flex;gap:11px;margin:30px 0 13px}.marketing-hero>div>small{color:#78909b;font-size:.875rem}.marketing-dashboard{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:24px;border:1px solid #d5e5eb;border-radius:24px;background:linear-gradient(145deg,#fff,#eef8fb);box-shadow:0 28px 70px rgba(36,79,98,.13);transform:rotate(1.5deg)}.marketing-dashboard>span{grid-column:1/-1;color:#64808c;font-size:.875rem;font-weight:900;letter-spacing:.12em}.marketing-dashboard article{display:grid;gap:5px;min-height:116px;padding:19px;border:1px solid #dce8ed;border-radius:15px;background:#fff}.marketing-dashboard article:first-of-type{border-top:4px solid #ff6338}.marketing-dashboard article:nth-of-type(2){border-top:4px solid #2f9dd2}.marketing-dashboard article:nth-of-type(3){border-top:4px solid #1da268}.marketing-dashboard article:nth-of-type(4){border-top:4px solid #d6a14e}.marketing-dashboard b{font-size:29px}.marketing-dashboard small{color:#6e8792;font-size:.875rem}.marketing-section{padding:96px max(20px,calc((100% - 1180px)/2))}.marketing-section:nth-of-type(2){background:#fff}.marketing-section-head{max-width:760px;margin-bottom:38px}.marketing-section-head h2{margin:9px 0 12px;font-size:clamp(32px,4vw,48px);line-height:1.08;letter-spacing:-.035em}.marketing-section-head p{margin:0;color:#607985;font-size:18px}.marketing-feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.marketing-feature-grid article{padding:25px;border:1px solid #dbe7ec;border-radius:17px;background:#fbfdfe}.marketing-feature-grid b{display:grid;width:45px;height:45px;place-items:center;border-radius:12px;background:#eaf7fc;color:#1f85b1;font-size:21px}.marketing-feature-grid h3{margin:20px 0 7px;font-size:20px}.marketing-feature-grid p{margin:0;color:#667f8a;font-size:1rem}.marketing-plans{background:#eef6f9}.marketing-plan-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;align-items:stretch}.marketing-plan-grid article{position:relative;display:flex;flex-direction:column;padding:28px;border:1px solid #d2e1e7;border-radius:20px;background:#fff;box-shadow:0 10px 35px rgba(29,71,89,.05)}.marketing-plan-grid article.featured{border:2px solid #ff7043;box-shadow:0 18px 45px rgba(255,99,56,.12)}.marketing-plan-badge{position:absolute;top:-14px;right:22px;padding:6px 11px;border-radius:999px;background:#ff6338;color:#fff;font-size:.875rem;font-weight:850}.marketing-plan-grid h3{margin:0 0 9px;font-size:25px}.marketing-plan-grid article>p{min-height:75px;margin:0;color:#647c87}.marketing-plan-grid article>strong{display:block;margin:21px 0 14px;font-size:25px}.marketing-plan-grid article>strong small{margin-left:4px;color:#718691;font-size:.875rem}.marketing-plan-grid ul{display:grid;gap:8px;margin:0 0 25px;padding:0;list-style:none;color:#496471;font-size:1rem}.marketing-plan-grid li{padding-bottom:7px;border-bottom:1px solid #eef2f4}.marketing-plan-grid article>a{display:flex;align-items:center;justify-content:center;min-height:45px;margin-top:auto;border:1px solid #cbdce4;border-radius:10px;color:#246e91;font-weight:850}.marketing-plan-grid article.featured>a{border-color:#ff6338;background:#ff6338;color:#fff}.marketing-trial{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:38px;align-items:center;width:min(1180px,calc(100% - 40px));margin:88px auto;padding:38px;border-radius:23px;background:#102b39;color:#fff}.marketing-trial h2{margin:7px 0 8px;font-size:30px}.marketing-trial p{max-width:570px;margin:0;color:#c3d4dc}.marketing-trial ol{display:flex;gap:17px;margin:0;padding:0;list-style:none}.marketing-trial li{display:grid;gap:5px;justify-items:center;color:#d8e5ea;font-size:.875rem;white-space:nowrap}.marketing-trial li b{display:grid;width:34px;height:34px;place-items:center;border:1px solid #50707f;border-radius:50%;color:#ff8a64}.marketing-footer{display:flex;align-items:center;gap:18px;width:min(1180px,calc(100% - 40px));min-height:95px;margin:0 auto;border-top:1px solid #d9e4e9;color:#627b86;font-size:1rem}.marketing-footer>span{color:#ff6338;font-weight:950;letter-spacing:.05em}.marketing-footer p{margin:0}.marketing-footer a{margin-left:auto;font-weight:800}.login-links{display:flex;justify-content:space-between;gap:15px;margin-top:18px;padding-top:16px;border-top:1px solid #e5eaed}.login-links a{color:#39718c;font-size:.875rem;font-weight:750}
.trial-page{background:linear-gradient(145deg,#eef7fa,#fff7f1)}.trial-shell{display:grid;grid-template-columns:minmax(0,.85fr) minmax(520px,1.15fr);gap:68px;align-items:start;width:min(1120px,calc(100% - 40px));margin:0 auto;padding:62px 0 90px}.trial-intro{position:sticky;top:38px;padding-top:32px}.trial-intro h1{margin:10px 0 18px;font-size:clamp(39px,5vw,58px);line-height:1.04;letter-spacing:-.045em}.trial-intro>p{margin:0;color:#57727f;font-size:18px}.trial-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:28px 0}.trial-facts article{display:grid;gap:3px;padding:16px;border:1px solid #d4e5eb;border-radius:14px;background:rgba(255,255,255,.72)}.trial-facts b{font-size:24px}.trial-facts span{color:#657e89;font-size:.875rem}.trial-intro>ul{display:grid;gap:9px;margin:0;padding:0;list-style:none;color:#466471}.trial-form-card{padding:32px;border:1px solid #d7e4e9;border-radius:22px;background:#fff;box-shadow:0 25px 65px rgba(35,75,91,.12)}.trial-form-card h2{margin:7px 0 23px;font-size:27px}.trial-form-card label{font-size:1rem}.trial-form-card label>small{color:#7a8d96;font-size:.875rem;font-weight:550}.trial-form-card input,.trial-form-card select{min-height:46px;border-radius:10px}.trial-form-card button{min-height:49px;font-size:1rem}.trial-terms{display:grid!important;grid-template-columns:auto 1fr;gap:10px!important;align-items:flex-start}.trial-terms input{width:auto;min-height:auto;margin-top:4px}.trial-terms span{color:#526d79;font-weight:550;line-height:1.45}.trial-form-note{margin:-3px 0 0!important;text-align:center;color:#748992!important;font-size:.875rem}.trial-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}

/* Service 365: separat provkundskö */
.trial-queue-hero{align-items:center}.trial-queue-hero .module-chip{background:#257fa7;color:#fff}.trial-queue-kpis article{min-height:112px}.trial-queue-card>.card-head{margin-bottom:15px}.trial-queue-filter{grid-template-columns:minmax(300px,1fr) minmax(170px,.35fr) auto}.trial-queue-list{display:grid;gap:10px}.trial-queue-item{display:grid;grid-template-columns:minmax(190px,1.2fr) minmax(190px,1fr) minmax(145px,.75fr) minmax(130px,.65fr) minmax(260px,1.35fr);gap:15px;align-items:center;padding:15px;border:1px solid #dce7ec;border-left:4px solid #38a46b;border-radius:13px;background:#fff}.trial-queue-item.status-expired{border-left-color:#d99436}.trial-queue-item.status-converted{border-left-color:#2e91c2}.trial-queue-item.status-cancelled,.trial-queue-item.status-failed{border-left-color:#c85b55}.trial-queue-item.status-provisioning{border-left-color:#7c8e97}.trial-queue-item h3{margin:5px 0 1px;font-size:1rem}.trial-queue-item strong,.trial-queue-item span,.trial-queue-item a,.trial-queue-item small{display:block}.trial-queue-item strong,.trial-queue-item a{font-size:.875rem}.trial-queue-item a{color:#267b9f;font-weight:750}.trial-queue-item span{color:#526e7b;font-size:.875rem}.trial-queue-item small{margin-top:3px;color:#7a8f98;font-size:.8125rem}.trial-queue-actions{display:grid;gap:7px}.trial-queue-actions>a{justify-self:start}.trial-queue-actions form{display:flex;flex-direction:row;flex-wrap:wrap;gap:5px}.trial-queue-actions button{min-height:34px;padding:7px 9px;border-color:#d1dfe5;font-size:.8125rem}.trial-queue-actions button.danger-text{background:#fff8f7}.service365-status.status-ready{border-color:#bfe4d1;background:#eefaf4;color:#157548}.service365-status.status-expired{border-color:#efd5af;background:#fff7eb;color:#9a5d0f}.service365-status.status-converted{border-color:#bdddeb;background:#edf8fc;color:#1e7197}.service365-status.status-cancelled,.service365-status.status-failed{border-color:#efc3c0;background:#fff0ef;color:#a83a35}.service365-status.status-provisioning{border-color:#d7e0e4;background:#f4f7f8;color:#627781}
@media(max-width:1000px){.marketing-hero{grid-template-columns:1fr;gap:35px;padding-top:54px}.marketing-dashboard{max-width:650px;transform:none}.marketing-feature-grid{grid-template-columns:1fr 1fr}.marketing-trial{grid-template-columns:1fr}.marketing-trial ol{justify-content:flex-start}.trial-shell{grid-template-columns:1fr;gap:30px}.trial-intro{position:static;padding-top:0}.trial-queue-item{grid-template-columns:1fr 1fr}.trial-queue-actions{grid-column:1/-1}}
@media(max-width:700px){.marketing-header{min-height:68px}.marketing-header nav{gap:12px}.marketing-header nav>a:not(:last-child){display:none}.marketing-hero{min-height:auto;padding:48px 0 70px}.marketing-hero h1{font-size:43px}.marketing-hero>div>p{font-size:17px}.marketing-actions{align-items:stretch;flex-direction:column}.marketing-dashboard{grid-template-columns:1fr 1fr;padding:14px}.marketing-section{padding-top:70px;padding-bottom:70px}.marketing-section-head p{font-size:16px}.marketing-feature-grid,.marketing-plan-grid{grid-template-columns:1fr}.marketing-plan-grid article>p{min-height:0}.marketing-trial{margin:55px auto;padding:25px}.marketing-trial ol{display:grid;grid-template-columns:repeat(3,1fr);width:100%;gap:8px}.marketing-trial .marketing-button{width:100%}.trial-shell{padding-top:35px}.trial-form-card{padding:22px}.trial-facts{grid-template-columns:1fr}.trial-form-card .form-row{grid-template-columns:1fr}.trial-queue-filter,.trial-queue-item{grid-template-columns:1fr}.trial-queue-actions{grid-column:auto}.trial-queue-actions form{display:grid;grid-template-columns:1fr 1fr}.trial-queue-actions form button:last-child{grid-column:1/-1}}
.release-plan-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.release-plan-head>span:first-child{display:grid;gap:2px}.release-plan-head small{color:#f06332;font-size:.8125rem;font-weight:900;letter-spacing:.12em}.release-plan-head strong{font-size:1rem}.release-plan-head>span:last-child{padding:5px 9px;border:1px solid #cfe2ec;border-radius:999px;background:#fff;color:#536d7e;font-size:.875rem;font-weight:800}
.release-rollback-plan .release-transition{margin:0}.release-rollback-plan>p{margin:0;color:#536d7e;font-size:.875rem;line-height:1.45}
.release-rollback-security{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(320px,1.2fr) auto;align-items:end;gap:12px;padding-top:2px}.release-rollback-security>.release-confirm{align-self:center;margin:0}.release-rollback-security>button{min-width:190px}
.release-tenant-list[hidden]{display:none!important}
@media(max-width:1000px){.release-rollback-form{grid-template-columns:1fr}.release-rollback-form>.release-scope,.release-rollback-form>.release-target-picker,.release-rollback-form>.release-tenant-list,.release-rollback-form>.release-rollback-plan,.release-rollback-form>.release-rollback-security{grid-column:1}.release-rollback-security{grid-template-columns:1fr 1fr}.release-rollback-security>button{grid-column:1/-1}}
@media(max-width:620px){.release-plan-head{align-items:flex-start;flex-direction:column}.release-rollback-security{grid-template-columns:1fr}.release-rollback-security>button{grid-column:1;width:100%}}

/* Autobahn 1.1.29.16 - kompakt publicering med tydlig versionsväxling */
.release-publish-card{padding:14px 16px}
.release-publish-card .release-action-copy{margin-bottom:9px}
.release-publish-card .release-action-form{grid-template-columns:minmax(230px,.7fr) minmax(360px,1.3fr);gap:9px 12px}
.release-publish-card .release-action-form>.release-scope{grid-column:1}
.release-publish-target{grid-column:2;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 10px;border:1px solid #d4e5ed;border-radius:10px;background:#f6fbfd}
.release-publish-target>span{display:grid;gap:1px}.release-publish-target small{color:var(--muted);font-size:.8125rem}.release-publish-target>span>small{text-transform:uppercase;letter-spacing:.1em;font-weight:900}.release-publish-target strong{font-size:16px;color:#0d789f}
.release-publish-card .release-action-form>.release-tenant-list{grid-column:1/-1;max-height:220px}
.release-publish-card .release-action-form>.release-publish-shortcut-notice{grid-column:1/-1}
.release-publish-security{grid-column:1/-1;display:grid;gap:8px;padding-top:9px;border-top:1px solid var(--line)}
.release-publish-security-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}
.release-publish-security .release-confirm{margin:0;align-items:center}.release-publish-security .release-confirm input{margin-top:0}
.release-publish-security button{width:auto;min-width:150px;padding-inline:24px}
.release-tenant-version.has-target{display:flex;align-items:center;gap:8px;text-align:left}
.release-tenant-version.has-target>span{display:grid;gap:1px}.release-tenant-version.has-target i{font-style:normal;color:#3995bd}.release-tenant-version.has-target small{font-size:.8125rem;text-transform:uppercase;letter-spacing:.08em}
@media(max-width:900px){.release-publish-card .release-action-form{grid-template-columns:1fr}.release-publish-card .release-action-form>.release-scope,.release-publish-card .release-action-form>.release-publish-target,.release-publish-card .release-action-form>.release-tenant-list,.release-publish-card .release-action-form>.release-publish-shortcut-notice,.release-publish-security{grid-column:1}}
@media(max-width:620px){.release-publish-security-actions{align-items:stretch;flex-direction:column}.release-publish-security button{width:100%}.release-tenant-version.has-target{grid-column:2;flex-wrap:wrap}}

/* Autobahn 1.1.29.17 - synlig versionsplan och samlad publiceringsbekräftelse */
.release-publish-card .release-action-form>.release-tenant-list{max-height:180px;overflow:auto;overscroll-behavior:contain}
.release-publish-card .release-action-form>.release-tenant-list.is-all-scope{opacity:1;pointer-events:none}
.release-publish-card .release-tenant-list.is-all-scope .release-tenant-row{cursor:default}
.release-publish-card .release-tenant-list.is-all-scope .release-tenant-row input{opacity:.45}
.release-publish-security .release-confirm{display:inline-flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;width:auto!important;min-width:0!important;margin:0!important}
.release-publish-security .release-confirm input{position:static!important;flex:0 0 16px!important;width:16px!important;height:16px!important;margin:0!important}
.release-publish-security .release-confirm span{display:inline!important;flex:0 1 auto!important;width:auto!important;margin:0!important}

/* Autobahn 1.1.29.18 - permanent kundval i versionsåterställning */
.release-rollback-form>.release-tenant-head{grid-column:1/-1}
.release-tenant-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 2px}
.release-tenant-head span{display:grid;gap:2px}
.release-tenant-head small{color:var(--muted);font-size:.8125rem}
.release-tenant-head>b{display:inline-flex;align-items:center;justify-content:center;padding:5px 9px;border:1px solid #cfe2ec;border-radius:999px;background:#f7fbfd;color:#436574;font-size:.8125rem}
.release-rollback-form>.release-tenant-list{max-height:180px;overflow:auto;opacity:1!important;overscroll-behavior:contain}
.release-rollback-form>.release-tenant-list.is-all-scope{pointer-events:none}
.release-rollback-form>.release-tenant-list.is-all-scope .release-tenant-row{cursor:default;background:#f8fafb}
.release-rollback-form>.release-tenant-list.is-all-scope input{opacity:.45}

/* Autobahn 1.1.29.21 - compact, consistent and tablet-readable Branch Studio */
.product-hero{
  min-height:0;
  padding:22px 24px;
}
.product-hero h2{
  margin:6px 0 7px;
  font-size:clamp(26px,2.1vw,32px);
  line-height:1.15;
}
.product-hero p{
  max-width:1050px;
  margin:0;
  font-size:1rem;
  line-height:1.5;
}
.product-hero .eyebrow{
  font-size:.875rem;
  letter-spacing:.12em;
}
.product-hero .module-chip{
  min-height:34px;
  padding:7px 12px;
  font-size:.875rem;
}
.industry-principle>div{
  grid-template-columns:40px minmax(0,1fr);
  gap:4px 12px;
  padding:16px 18px;
}
.industry-principle .product-step{
  width:40px;
  height:40px;
  font-size:1rem;
}
.industry-principle strong{
  font-size:1rem;
  line-height:1.3;
}
.industry-principle p{
  font-size:1rem;
  line-height:1.45;
}
.industry-catalog-grid{gap:14px}
.industry-catalog-card{
  min-height:0;
  padding:20px 22px;
}
.industry-catalog-card .card-head{margin-bottom:8px}
.industry-catalog-card h2{
  margin:5px 0 7px;
  font-size:21px;
  line-height:1.25;
}
.industry-catalog-card>p{
  margin:0 0 14px;
  font-size:1rem;
  line-height:1.5;
}
.industry-catalog-card .eyebrow{
  font-size:.875rem;
  letter-spacing:.1em;
}
.industry-symbol{
  width:42px;
  height:42px;
  font-size:20px;
}
.industry-status{
  padding:6px 10px;
  font-size:.875rem;
  line-height:1.2;
}
.industry-card-meta{
  gap:7px;
  margin:0 0 14px;
}
.industry-card-meta span{
  padding:5px 9px;
  font-size:.875rem;
  line-height:1.2;
}
.industry-catalog-card>a{
  min-height:44px;
  padding:10px 14px;
  font-size:1rem;
  line-height:1.2;
}
.industry-detail-title h2{font-size:26px}
.industry-detail-title p,
.industry-safety p,
.industry-next p{
  font-size:1rem;
  line-height:1.5;
}
.industry-list li{
  font-size:1rem;
  line-height:1.4;
}
.industry-module-link{
  min-height:44px;
  font-size:1rem;
}
.industry-phases strong{font-size:.875rem}
.industry-phases small{font-size:.875rem}

@media(max-width:1050px) and (min-width:701px){
  .content{padding:20px}
  .industry-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:860px){
  .industry-principle,
  .industry-catalog-grid,
  .industry-blueprint-grid{grid-template-columns:1fr}
  .industry-principle>div{
    border-right:0;
    border-bottom:1px solid var(--line);
  }
  .industry-principle>div:last-child{border-bottom:0}
}
@media(max-width:700px){
  .product-hero{padding:18px}
  .product-hero h2{font-size:25px}
  .product-hero p{font-size:1rem}
  .industry-catalog-card{padding:18px}
}
@media(pointer:coarse){
  .industry-catalog-card>a,
  .industry-module-link{
    min-height:48px;
    font-size:1rem;
  }
  .industry-status,
  .industry-card-meta span{font-size:.875rem}
}

/* Autobahn 1.1.29.22 - orange primary actions and compact tablet workflows */
:where(main,.app-main,.content) :is(button.primary,a.primary,.button.primary,input.primary):not(.danger):not(.destructive):not([data-danger]){
  background:var(--accent)!important;
  border-color:var(--accent)!important;
  color:#fff!important;
}
:where(main,.app-main,.content) :is(button.primary,a.primary,.button.primary,input.primary):not(.danger):not(.destructive):not([data-danger]):hover{
  background:#ea580c!important;
  border-color:#ea580c!important;
}
.customer-merge-confirm button.primary{
  background:#be123c!important;
  border-color:#9f1239!important;
}
.release-publish-card,
.release-rollback-card{padding:13px 15px}
.release-publish-card .release-action-copy,
.release-rollback-card .release-action-copy{margin-bottom:8px}
.release-rollback-card .release-action-form{gap:8px 11px}
.release-rollback-card .release-scope-option{
  min-height:82px;
  padding:8px 9px;
}
.release-rollback-card .release-tenant-row{padding:7px 9px}
.release-rollback-card .release-rollback-plan{
  gap:6px;
  padding:9px 10px;
}
.release-rollback-card .release-transition{padding:5px}
.release-rollback-card .release-transition>span{padding:6px 8px}
.release-rollback-card .release-rollback-security{gap:8px 10px}
@media (min-width:901px) and (max-width:1180px){
  .release-rollback-card .release-action-copy{
    grid-template-columns:minmax(220px,.65fr) minmax(0,1.35fr);
    grid-template-areas:"eyebrow eyebrow" "title description";
    margin-bottom:8px;
  }
  .release-rollback-card .release-action-form{
    grid-template-columns:minmax(210px,.65fr) minmax(300px,1.35fr);
    gap:8px 12px;
  }
  .release-rollback-form>.release-scope{grid-column:1}
  .release-rollback-form>.release-target-picker{grid-column:2}
  .release-rollback-form>.release-tenant-head,
  .release-rollback-form>.release-tenant-list,
  .release-rollback-form>.release-rollback-plan,
  .release-rollback-form>.release-rollback-security{grid-column:1/-1}
  .release-rollback-card .release-rollback-security{
    grid-template-columns:minmax(200px,.8fr) minmax(260px,1.2fr) minmax(150px,.55fr);
    gap:8px 10px;
    align-items:end;
  }
  .release-rollback-security>.release-confirm{grid-column:auto}
  .release-rollback-security>button{
    grid-column:auto;
    min-width:150px;
  }
}
@media (max-width:900px){
  .release-rollback-card,
  .release-publish-card{padding:12px}
  .release-rollback-card .release-action-copy{margin-bottom:7px}
  .release-rollback-card .release-scope-option{min-height:68px}
  .release-rollback-security{gap:8px}
}
@media (pointer:coarse){
  :where(main,.app-main,.content) :is(button.primary,a.primary,.button.primary,input.primary){min-height:44px}
  .release-scope-option,
  .release-tenant-row{min-height:44px}
}

/* Autobahn 1.1.29.23 - compact publishing workflow */
.release-publish-card{display:block;padding:13px 15px}
.release-publish-card .release-action-copy{
  position:static;
  display:grid;
  grid-template-columns:minmax(250px,.75fr) minmax(0,1.25fr);
  grid-template-areas:"eyebrow description" "title description";
  gap:2px 18px;
  align-items:center;
  margin-bottom:9px;
}
.release-publish-card .release-action-copy .eyebrow{grid-area:eyebrow}
.release-publish-card .release-action-copy h2{grid-area:title}
.release-publish-card .release-action-copy p{grid-area:description;margin:0}
.release-publish-card .release-action-form{
  display:grid;
  grid-template-columns:minmax(215px,.62fr) minmax(240px,.72fr) minmax(320px,1fr);
  gap:8px 12px;
  align-items:start;
}
.release-publish-card .release-action-form>.release-scope{grid-column:1;grid-row:1/span 2}
.release-publish-card .release-action-form>.release-publish-target{grid-column:2;grid-row:1}
.release-publish-card .release-action-form>.release-publish-shortcut-notice{grid-column:2;grid-row:2;margin:0}
.release-publish-card .release-action-form>.release-tenant-list{grid-column:2;grid-row:2;max-height:130px}
.release-publish-card .release-publish-security{
  grid-column:3;
  grid-row:1/span 2;
  display:grid;
  gap:8px;
  align-content:start;
  padding:0;
  border:0;
}
.release-publish-card .release-publish-security-actions{
  display:grid;
  gap:8px;
  align-items:start;
}
.release-publish-card .release-publish-security button{
  width:100%;
  min-height:44px;
}
.release-publish-card .release-scope-option{
  min-height:72px;
  padding:8px 9px;
}
.release-publish-card .release-password input{min-height:44px}
.release-publish-card .release-tenant-list[hidden]{display:none}
@media(max-width:1100px){
  .release-publish-card .release-action-form{grid-template-columns:minmax(230px,.7fr) minmax(0,1.3fr)}
  .release-publish-card .release-action-form>.release-scope{grid-column:1;grid-row:1/span 2}
  .release-publish-card .release-action-form>.release-publish-target{grid-column:2;grid-row:1}
  .release-publish-card .release-action-form>.release-publish-shortcut-notice,
  .release-publish-card .release-action-form>.release-tenant-list{grid-column:2;grid-row:2}
  .release-publish-card .release-publish-security{
    grid-column:1/-1;
    grid-row:3;
    grid-template-columns:minmax(280px,.8fr) minmax(360px,1.2fr);
    align-items:end;
    padding-top:8px;
    border-top:1px solid var(--line);
  }
}
@media(max-width:700px){
  .release-publish-card .release-action-copy,
  .release-publish-card .release-action-form{grid-template-columns:1fr}
  .release-publish-card .release-action-copy{grid-template-areas:"eyebrow" "title" "description"}
  .release-publish-card .release-action-form>*,
  .release-publish-card .release-action-form>.release-scope,
  .release-publish-card .release-action-form>.release-publish-target,
  .release-publish-card .release-action-form>.release-publish-shortcut-notice,
  .release-publish-card .release-action-form>.release-tenant-list,
  .release-publish-card .release-publish-security{grid-column:1;grid-row:auto}
  .release-publish-card .release-publish-security{grid-template-columns:1fr}
}

/* Autobahn 1.1.30.3 - readable publish layout after typography upgrade */
@media(min-width:1101px){
  .release-publish-card .release-action-form>.release-scope{grid-column:1;grid-row:1/span 2}
  .release-publish-card .release-action-form>.release-publish-target{grid-column:2;grid-row:1}
  .release-publish-card .release-action-form>.release-publish-shortcut-notice{grid-column:2;grid-row:2}
  .release-publish-card .release-action-form>.release-tenant-list{grid-column:1/3;grid-row:3;max-height:180px}
  .release-publish-card .release-publish-security{grid-column:3;grid-row:1/span 3}
}
@media(min-width:701px) and (max-width:1100px){
  .release-publish-card .release-action-form>.release-scope{grid-column:1;grid-row:1/span 2}
  .release-publish-card .release-action-form>.release-publish-target{grid-column:2;grid-row:1}
  .release-publish-card .release-action-form>.release-publish-shortcut-notice{grid-column:2;grid-row:2}
  .release-publish-card .release-action-form>.release-tenant-list{grid-column:1/-1;grid-row:3;max-height:180px}
  .release-publish-card .release-publish-security{grid-column:1/-1;grid-row:4}
}

/* Service 365 public site - trial completion */
.trial-complete-page{display:flex;min-height:100vh;flex-direction:column}.trial-complete-shell{display:grid;flex:1;place-items:center;width:min(760px,calc(100% - 40px));margin:0 auto;padding:55px 0 95px}.trial-complete-card{width:100%;padding:54px;border:1px solid #d7e4e9;border-radius:25px;background:#fff;text-align:center;box-shadow:0 25px 65px rgba(35,75,91,.12)}.trial-complete-check{display:grid;width:70px;height:70px;margin:0 auto 22px;place-items:center;border-radius:50%;background:#e9f8ef;color:#168148;font-size:34px;font-weight:950}.trial-complete-card h1{margin:9px 0 14px;font-size:clamp(37px,6vw,56px);line-height:1.04;letter-spacing:-.045em}.trial-complete-card>p{max-width:590px;margin:0 auto;color:#56717e;font-size:18px}.trial-complete-actions{display:flex;justify-content:center;gap:11px;margin:29px 0 14px}.trial-complete-card>small{color:#748992;font-size:.875rem}
@media(max-width:700px){.trial-complete-card{padding:35px 22px}.trial-complete-actions{align-items:stretch;flex-direction:column}}

/* Meddelanden 1.1.30.6 - en ren kommunikationsyta med direkt widgetstyrning */
.postbox-message-module{display:grid;gap:8px;min-width:0}
.postbox-message-module-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;min-height:86px;padding:4px 2px 12px;border:0;background:transparent}
.postbox-message-live{display:grid;gap:3px;min-width:0;color:#17384a}.postbox-message-live .eyebrow{color:#ff6338}.postbox-message-live h2{margin:0;font-size:1.72rem;letter-spacing:-.025em}.postbox-message-live p{display:flex;align-items:center;gap:8px;margin:1px 0 0;color:#667f8d;font-size:.9375rem}.postbox-message-live p>i{width:9px;height:9px;flex:0 0 auto;border-radius:50%;background:#22a163;box-shadow:0 0 0 4px rgba(34,161,99,.11)}
.postbox-message-module-toolbar>a{flex:0 0 auto;min-height:44px;border:1px solid #c9dce5;border-radius:10px;padding:10px 13px;background:#fff;color:#294b5c;font-size:.8125rem;font-weight:850}
.postbox-message-frame-shell{min-width:0;overflow:hidden;border:0;border-radius:0;background:transparent;box-shadow:none}
.postbox-message-frame{display:block;width:100%;height:calc(100dvh - 178px);min-height:760px;border:0;background:#f4f7f8}
@media(max-width:900px){.postbox-message-frame{height:900px;min-height:760px}}
@media(max-width:620px){.postbox-message-module-toolbar{align-items:stretch;flex-direction:column;padding:2px 0 10px}.postbox-message-module-toolbar>a{text-align:center}.postbox-message-frame{height:1120px}}

/* Customer Core grid overrides must remain after the legacy CRM breakpoints. */
.customer-crm-table-head,.customer-crm-row{grid-template-columns:minmax(230px,1.25fr) minmax(190px,.95fr) minmax(145px,.72fr) minmax(145px,.68fr) minmax(180px,.83fr) minmax(178px,.84fr)}
.customer-crm-table-head span:last-child{grid-column:auto}.customer-crm-row{min-height:92px;padding:12px 14px}.customer-crm-money{display:grid}
@media(max-width:1450px){.customer-crm-table-head,.customer-crm-row{grid-template-columns:minmax(220px,1.2fr) minmax(175px,.9fr) minmax(135px,.7fr) minmax(140px,.68fr) minmax(165px,.8fr) minmax(150px,.76fr)}.customer-crm-money{display:grid}}
@media(max-width:1180px){.customer-crm-table-head{display:none}.customer-crm-row{grid-template-columns:1.25fr 1fr 1fr}.customer-crm-contact{grid-column:2}.customer-crm-owner{grid-column:3}.customer-crm-money{display:grid;grid-column:1}.customer-crm-next{grid-column:2}.customer-row-actions{grid-column:3}}
@media(max-width:760px){.customer-crm-row{grid-template-columns:1fr}.customer-crm-row>*{grid-column:1!important}.customer-crm-money{display:grid}}

/* Autobahn 1.1.30.7 - samma rena, låsbara widgetöversikt i hela plattformen */
.autobahn-workspace-grid{display:block;min-width:0}
.autobahn-workspace-heading,
.autobahn-workspace-grid>.welcome,
.autobahn-workspace-grid>.hero-module,
.autobahn-workspace-grid>.customer-core-hero,
.autobahn-workspace-grid>.economy-overview-heading,
.autobahn-workspace-grid>.social-hero,
.autobahn-workspace-grid>.subscription-hero,
.autobahn-workspace-grid>.card-head.autobahn-workspace-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  min-height:86px;
  margin:0 0 4px!important;
  padding:4px 2px 12px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:var(--ink)!important;
  box-shadow:none!important
}
.autobahn-workspace-heading:after{display:none!important}
.autobahn-workspace-heading>div:first-child{display:grid;gap:2px;min-width:0}
.autobahn-workspace-heading h2{margin:0!important;color:var(--ink)!important;font-size:1.72rem!important;line-height:1.18;letter-spacing:-.025em}
.autobahn-workspace-heading p{max-width:900px;margin:1px 0 0!important;color:#526979!important;font-size:.9375rem;line-height:1.5}
.autobahn-workspace-heading .eyebrow{color:#b54708!important}
.autobahn-workspace-heading .module-chip{border:1px solid #c9dce5;background:#fff;color:#294b5c}
.autobahn-workspace-heading-fallback{min-height:92px}

.autobahn-workspace-grid>.autobahn-workspace-bar{
  display:grid;
  position:relative;
  z-index:35;
  grid-template-columns:minmax(0,1fr) auto;
  grid-template-rows:auto auto;
  align-items:center;
  gap:4px 10px;
  margin:0 0 12px;
  padding:0 2px;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  backdrop-filter:none
}
.autobahn-workspace-grid>.autobahn-workspace-bar>[data-autobahn-workspace-status]{grid-column:2;grid-row:2;justify-self:end;padding:0;background:transparent;color:#526979;font-size:.8125rem;font-weight:500;white-space:normal;text-align:right}
.autobahn-workspace-grid>.autobahn-workspace-bar>[data-autobahn-workspace-status][data-state="editing"]{color:#286d8d;font-weight:750}
.autobahn-workspace-grid>.autobahn-workspace-bar>.autobahn-workspace-actions{grid-column:2;grid-row:1}
.autobahn-workspace-actions [data-autobahn-widget-picker-open]{display:inline-flex;align-items:center;gap:6px}
.autobahn-workspace-actions [data-autobahn-widget-count]{display:grid;min-width:22px;height:22px;place-items:center;border-radius:999px;background:#e5f3f8;color:#176d94;font-size:.8125rem}
.autobahn-workspace-actions [data-autobahn-workspace-edit].is-active{border-color:#15799f;background:#15799f;color:#fff}

.autobahn-workspace-canvas{gap:15px;padding:2px 2px 8px}
.autobahn-workspace-widget{border-radius:15px}
.autobahn-workspace-widget-content>:is(.card,.stat){height:100%;margin-bottom:0!important;background:#fff;box-shadow:0 8px 24px rgba(34,75,98,.05)}
.autobahn-workspace-widget:nth-child(4n+1)>.autobahn-workspace-widget-content>:is(.card,.stat){border-top-color:var(--surface-blue)}
.autobahn-workspace-widget:nth-child(4n+2)>.autobahn-workspace-widget-content>:is(.card,.stat){border-top-color:var(--surface-green)}
.autobahn-workspace-widget:nth-child(4n+3)>.autobahn-workspace-widget-content>:is(.card,.stat){border-top-color:var(--surface-orange)}
.autobahn-workspace-widget:nth-child(4n)>.autobahn-workspace-widget-content>:is(.card,.stat){border-top-color:var(--surface-amber)}
.autobahn-workspace-canvas.is-layout-edit{padding:42px 12px 12px;border-color:#b9d4df;background-color:#f7fbfc;background-image:radial-gradient(circle,#c8dce4 1px,transparent 1px);background-size:22px 22px}
.autobahn-workspace-canvas.is-layout-edit:before{content:'Arbetsytan är öppen – flytta, förstora eller minska widgetarna';top:10px}
.autobahn-workspace-canvas.is-layout-edit .autobahn-workspace-widget:not(.is-collapsed),.autobahn-workspace-canvas.is-layout-edit .autobahn-workspace-widget.is-collapsed{padding-top:54px}
.autobahn-widget-controls>button.autobahn-widget-smaller,.autobahn-widget-controls>button.autobahn-widget-larger{display:grid;width:38px;min-width:38px;padding:0;place-items:center;font-size:1rem}

/* Autobahn 1.1.30.9 – alla arbetsytor använder Meddelandens diskreta widgetverktyg. */
.autobahn-workspace-canvas.is-layout-edit,.calendar-widget-grid.is-layout-edit{padding:2px!important;border:0!important;background:transparent!important;background-image:none!important}
.autobahn-workspace-canvas.is-layout-edit:before,.calendar-widget-grid.is-layout-edit:before{display:none!important}
.autobahn-workspace-canvas.is-layout-edit .autobahn-workspace-widget{padding-top:0!important;outline:2px solid rgba(8,116,158,.18);outline-offset:2px}
.autobahn-workspace-canvas.is-layout-edit .autobahn-workspace-widget>.autobahn-workspace-widget-content>:first-child{padding-top:52px!important}
.autobahn-workspace-canvas.is-layout-edit .autobahn-workspace-widget.is-collapsed{padding:52px 15px 13px!important}
.autobahn-widget-controls,.calendar-widget-controls{border:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important}
.autobahn-widget-controls>button,.calendar-widget-controls>button{box-shadow:none!important}
.calendar-widget-grid.is-layout-edit .calendar-widget{outline:2px solid rgba(8,116,158,.18);outline-offset:2px}
.calendar-widget-grid.is-layout-edit .calendar-widget:not(.is-collapsed),.calendar-widget-grid.is-layout-edit .calendar-widget.is-collapsed{padding-top:52px!important}
.calendar-widget-grid.is-layout-edit .calendar-widget-controls>button.calendar-widget-size{display:inline-grid!important;width:auto!important;min-width:58px!important;padding:0 8px!important;font-size:.72rem!important}
.calendar-widget-smaller{order:1}.calendar-widget-larger{order:2}.calendar-widget-more{order:3}.calendar-widget-collapse{order:4}.calendar-widget-menu{order:5}

@media(max-width:900px){
  .autobahn-workspace-heading{align-items:flex-start;flex-direction:column;min-height:0}
  .autobahn-workspace-grid>.autobahn-workspace-bar{position:relative;top:auto;display:grid;grid-template-columns:1fr;gap:6px}
  .autobahn-workspace-grid>.autobahn-workspace-bar>.autobahn-workspace-actions{grid-column:1;grid-row:1;width:100%;justify-content:flex-start}
  .autobahn-workspace-grid>.autobahn-workspace-bar>[data-autobahn-workspace-status]{grid-column:1;grid-row:2;justify-self:start;text-align:left}
}
@media(max-width:699px){
  .autobahn-workspace-heading h2{font-size:1.5rem!important}
  .autobahn-workspace-actions button{flex:1}
  .autobahn-widget-controls>button.autobahn-widget-smaller,.autobahn-widget-controls>button.autobahn-widget-larger{width:44px;min-width:44px;padding:0;font-size:0}
  .autobahn-widget-smaller:after{content:'−';font-size:1rem}
  .autobahn-widget-larger:after{content:'＋';font-size:1rem}
  .autobahn-workspace-canvas.is-layout-edit .autobahn-workspace-widget>.autobahn-workspace-widget-content>:first-child{padding-top:62px!important}
  .autobahn-workspace-canvas.is-layout-edit .autobahn-workspace-widget.is-collapsed{padding-top:62px!important}
  .calendar-widget-grid.is-layout-edit .calendar-widget:not(.is-collapsed),.calendar-widget-grid.is-layout-edit .calendar-widget.is-collapsed{padding-top:62px!important}
  .calendar-widget-grid.is-layout-edit .calendar-widget-controls>button.calendar-widget-size{width:44px!important;min-width:44px!important;padding:0!important;font-size:0!important}
  .calendar-widget-smaller:after{content:'−';font-size:1rem}.calendar-widget-larger:after{content:'＋';font-size:1rem}
}

/* Autobahn 1.1.30.12 – gemensam AI-assistent och säkra automationer. */
.topbar{display:grid;grid-template-columns:minmax(170px,.55fr) minmax(300px,1.2fr) auto;gap:18px}
.topbar-title{min-width:0}.topbar-title h1{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.global-assistant{display:flex;min-width:0;max-width:720px;justify-self:stretch;flex-direction:row;gap:7px;margin:0}
.global-assistant label{display:flex;min-width:0;flex:1;flex-direction:row;align-items:center;gap:8px;border:1px solid #c9dbe4;border-radius:12px;background:#f8fbfc;padding:0 11px;color:#19749a;box-shadow:0 3px 12px rgba(39,85,106,.04)}
.global-assistant label:focus-within{border-color:#2b94bd;box-shadow:0 0 0 3px rgba(43,148,189,.12);background:#fff}
.global-assistant label>span{font-size:18px}.global-assistant input{min-width:0;height:42px;border:0;background:transparent;padding:0;box-shadow:none!important;font-size:.875rem}
.global-assistant button{width:42px;height:42px;flex:0 0 auto;border-radius:12px;background:var(--accent);color:#fff;font-size:20px;padding:0}
.assistant-nav{display:flex;gap:5px;overflow:auto;margin:0 0 13px;padding:4px;border:1px solid #dbe6eb;border-radius:13px;background:#fff;scrollbar-width:none}
.assistant-nav a{min-height:42px;display:flex;align-items:center;justify-content:center;flex:0 0 auto;border-radius:9px;padding:8px 13px;color:#58717e;font-size:.875rem;font-weight:800}
.assistant-nav a:hover{background:#f3f8fa}.assistant-nav a.active{background:#e6f4fa;color:#096d98}
.assistant-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;min-height:88px;margin:0 0 12px;padding:5px 2px 13px;border:0;background:transparent}
.assistant-hero h2{margin:2px 0 0;font-size:1.72rem;letter-spacing:-.025em}.assistant-hero p{max-width:820px;margin:3px 0 0;color:#667f8d;font-size:.9375rem}
.assistant-provider{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto;border:1px solid #cbdde5;border-radius:999px;background:#fff;padding:8px 12px;color:#536f7d;font-size:.8125rem;font-weight:850}
.assistant-provider i{width:9px;height:9px;border-radius:50%;background:#9aaab2}.assistant-provider.connected{border-color:#b9dec8;background:#f2fbf6;color:#137844}.assistant-provider.connected i{background:#1ca461;box-shadow:0 0 0 4px rgba(28,164,97,.1)}
.assistant-brief{display:grid;gap:15px;margin-bottom:16px;border:1px solid #c9e0ea;border-top:4px solid #2297c7;border-radius:17px;background:linear-gradient(135deg,#fff,#f4fbfe);padding:19px;box-shadow:0 8px 28px rgba(34,86,108,.06)}
.assistant-brief-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.assistant-brief-head h3{max-width:920px;margin:3px 0 0;font-size:1.1rem;line-height:1.45}.assistant-brief-head>span{color:#78909c;font-size:.8125rem;white-space:nowrap}
.assistant-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.assistant-metric{display:grid;gap:2px;min-width:0;border:1px solid #dbe7eb;border-radius:12px;background:#fff;padding:13px}.assistant-metric:hover{border-color:#9ecbdc}.assistant-metric span,.assistant-metric small{overflow:hidden;color:#586f7a;font-size:.8125rem;text-overflow:ellipsis;white-space:nowrap}.assistant-metric strong{font-size:1.55rem;line-height:1.2}.assistant-metric.orange{border-top:3px solid #ff824e}.assistant-metric.green{border-top:3px solid #38a66b}.assistant-metric.blue{border-top:3px solid #2c9dca}
.assistant-attention{display:grid;grid-template-columns:1fr 1fr;gap:7px}.assistant-attention a{display:grid;grid-template-columns:10px minmax(0,1fr) auto;align-items:center;gap:10px;border:1px solid #e1eaee;border-radius:10px;background:#fff;padding:10px 11px}.assistant-attention a:hover{border-color:#aed4e2}.assistant-attention a>span:nth-child(2){display:grid;min-width:0}.assistant-attention strong,.assistant-attention small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.assistant-attention small{color:#586f7a;font-size:.8125rem}.assistant-attention b{color:#526b77}.assistant-kind{width:8px;height:8px;border-radius:50%;background:#329ac1}.assistant-kind.task,.assistant-kind.invoice{background:#f27942}.assistant-kind.calendar{background:#2e9b68}
.assistant-calm,.assistant-empty{display:flex;align-items:center;gap:13px;border:1px dashed #bfd9c9;border-radius:12px;background:#f6fcf8;padding:15px}.assistant-calm>span,.assistant-empty>span{display:grid;width:38px;height:38px;flex:0 0 auto;place-items:center;border-radius:12px;background:#e0f5e8;color:#18814b;font-size:20px;font-weight:900}.assistant-calm>div,.assistant-empty>div{display:grid}.assistant-calm small,.assistant-empty p{margin:1px 0 0;color:#526b79;font-size:.875rem}
.assistant-workbench{display:grid;grid-template-columns:235px minmax(0,1fr);min-height:570px;overflow:hidden;border:1px solid #d8e4e9;border-top:4px solid #ff7043;border-radius:17px;background:#fff;box-shadow:0 8px 28px rgba(34,86,108,.055)}
.assistant-conversations{display:flex;min-width:0;flex-direction:column;gap:5px;border-right:1px solid #e1e9ed;background:#f8fafb;padding:13px}.assistant-conversations header{display:flex;align-items:center;justify-content:space-between;padding:4px 3px 8px}.assistant-conversations header a{color:#0876a2;font-size:.8125rem;font-weight:850}.assistant-conversations>a{display:grid;gap:3px;border-radius:10px;padding:10px;color:#526a76}.assistant-conversations>a:hover,.assistant-conversations>a.active{background:#e6f3f8;color:#135d7d}.assistant-conversations>a strong,.assistant-conversations>a small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.assistant-conversations>a strong{font-size:.875rem}.assistant-conversations>a small,.assistant-conversations>p{color:#586f7a;font-size:.8125rem}
.assistant-chat{display:grid;min-width:0;grid-template-rows:minmax(300px,1fr) auto auto auto;padding:0}.assistant-messages{display:flex;max-height:560px;min-height:330px;overflow:auto;flex-direction:column;gap:14px;padding:20px}.assistant-welcome-message{display:flex;align-items:flex-start;gap:13px;margin:auto;max-width:520px}.assistant-welcome-message>span,.assistant-message.assistant>span{display:grid;width:38px;height:38px;flex:0 0 auto;place-items:center;border-radius:12px;background:#e8f5fa;color:#0976a1;font-size:19px}.assistant-welcome-message p{margin:3px 0;color:#586f7a}
.assistant-message{display:flex;align-items:flex-start;gap:10px;max-width:82%}.assistant-message.user{align-self:flex-end;flex-direction:row-reverse}.assistant-message.user>span{display:grid;min-width:35px;height:35px;place-items:center;border-radius:11px;background:#ff7043;color:#fff;font-size:.75rem;font-weight:850}.assistant-message>div{border:1px solid #dce7eb;border-radius:13px;background:#f7fafb;padding:11px 13px}.assistant-message.user>div{border-color:#ffd0bf;background:#fff7f3}.assistant-message p{margin:0;color:#233e4b;white-space:normal}.assistant-message small{display:block;margin-top:6px;color:#81949d;font-size:.75rem}
.assistant-prompts{display:flex;gap:6px;overflow:auto;padding:0 17px 10px;scrollbar-width:none}.assistant-prompts button{min-height:36px;flex:0 0 auto;border:1px solid #d6e4ea;background:#fff;padding:7px 10px;color:#426675;font-size:.8125rem}.assistant-prompts button:hover{border-color:#8ec4d8;background:#f4fafc}
.assistant-composer{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:24px;margin:0;padding:13px 17px;border-top:1px solid #e0e9ed;background:#fbfcfd}.assistant-composer textarea{min-height:48px;max-height:150px;resize:vertical}.assistant-composer button{min-width:92px;min-height:48px}.assistant-connection-note{padding:0 18px 13px;color:#586f7a;font-size:.75rem}
.assistant-safety{display:grid;grid-template-columns:repeat(3,1fr);gap:0;padding:0;overflow:hidden}.assistant-safety>div{display:grid;grid-template-columns:38px 1fr;column-gap:11px;padding:17px;border-right:1px solid #e2e9ed}.assistant-safety>div:last-child{border:0}.assistant-safety>div>span{grid-row:1/3;display:grid;width:38px;height:38px;place-items:center;border-radius:11px;background:#edf6fa;color:#167aa1}.assistant-safety small{color:#526b79;font-size:.8125rem}
.assistant-approval-list{display:grid;gap:12px}.assistant-approval{border:1px solid #e0e7ea;border-left:4px solid #ef8a4f;border-radius:14px;background:#fff;padding:17px;box-shadow:0 5px 18px rgba(35,75,94,.045)}.assistant-approval header,.assistant-approval footer{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.assistant-approval h3{margin:2px 0 0}.assistant-approval time,.assistant-approval footer small{color:#526b79;font-size:.8125rem}.assistant-approval>p{color:#5e7681}.assistant-approval dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:7px;margin:13px 0}.assistant-approval dl>div{border:1px solid #e5ebee;border-radius:9px;background:#f9fbfc;padding:8px 10px}.assistant-approval dt{color:#526b79;font-size:.75rem}.assistant-approval dd{margin:2px 0 0;font-size:.875rem;font-weight:750;overflow-wrap:anywhere}.assistant-approval footer{align-items:center;padding-top:12px;border-top:1px solid #e8edef}.assistant-approval footer>div{display:flex;gap:7px}.assistant-approval footer form{margin:0}
.assistant-automation-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(310px,.65fr);align-items:start;gap:16px}.assistant-automation-list{display:grid;gap:9px}.assistant-automation-list>article{display:grid;grid-template-columns:12px minmax(0,1fr) auto;align-items:center;gap:12px;border:1px solid #dce7eb;border-radius:13px;background:#fff;padding:14px}.assistant-automation-list article>div{display:grid}.assistant-automation-list small{color:#718791;font-size:.8125rem}.assistant-automation-list p{margin:5px 0 0;color:#637b86;font-size:.875rem}.assistant-automation-list form{margin:0}.assistant-automation-state{width:10px;height:10px;border-radius:50%;background:#aab7bd}.assistant-automation-state.on{background:#25a362;box-shadow:0 0 0 5px rgba(37,163,98,.1)}.assistant-automation-create{position:sticky;top:104px}.assistant-automation-create h3{margin:3px 0}.assistant-automation-create>small{color:#71858e;font-size:.8125rem}.assistant-check{display:flex;flex-direction:row;align-items:center;gap:9px}.assistant-check input{width:auto}
.assistant-activity{display:grid;overflow:hidden;border:1px solid #dce7eb;border-radius:14px;background:#fff}.assistant-activity>article{display:grid;grid-template-columns:10px minmax(0,1fr) auto;align-items:center;gap:12px;padding:13px 15px;border-bottom:1px solid #e7edef}.assistant-activity>article:last-child{border:0}.assistant-activity article>div{display:grid}.assistant-activity small,.assistant-activity time{color:#758a94;font-size:.8125rem}.assistant-activity-dot{width:9px;height:9px;border-radius:50%;background:#2e9bc7}.assistant-activity-dot.failed,.assistant-activity-dot.blocked{background:#d96f45}.assistant-activity-dot.pending{background:#e4a12e}
.assistant-settings-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);gap:16px;align-items:start}.assistant-settings-grid h3,.assistant-provider-card h3{margin:3px 0 7px}.assistant-provider-card{border-top:4px solid #2b9bc8}.assistant-provider-card dl{display:grid;grid-template-columns:110px 1fr;gap:9px;margin:18px 0 0}.assistant-provider-card dt{color:#71858e}.assistant-provider-card dd{margin:0;font-weight:750}.assistant-error{max-width:760px;border-top:4px solid #ef7a48}.assistant-error code{display:inline-block;margin:4px 0 15px;border-radius:8px;background:#122132;color:#fff;padding:8px 10px}
@media(max-width:1150px){.topbar{grid-template-columns:minmax(150px,.55fr) minmax(250px,1fr) auto}.top-actions>.pill:not(.release-channel-pill){display:none}.assistant-metrics{grid-template-columns:1fr 1fr}.assistant-automation-grid,.assistant-settings-grid{grid-template-columns:1fr}.assistant-automation-create{position:static}}
@media(max-width:900px){.topbar{grid-template-columns:minmax(0,1fr) auto}.global-assistant{grid-column:1/-1;grid-row:2;max-width:none;width:100%}.topbar{height:auto}.assistant-workbench{grid-template-columns:1fr}.assistant-conversations{display:none}.assistant-attention{grid-template-columns:1fr}.assistant-safety{grid-template-columns:1fr}.assistant-safety>div{border-right:0;border-bottom:1px solid #e2e9ed}.assistant-hero{align-items:flex-start;flex-direction:column}.assistant-provider{align-self:flex-start}}
@media(max-width:700px){.topbar{display:grid;gap:10px}.topbar-title h1{font-size:19px}.global-assistant input{font-size:1rem}.assistant-nav{margin-top:0}.assistant-metrics{grid-template-columns:1fr 1fr}.assistant-brief{padding:14px}.assistant-brief-head{display:grid}.assistant-workbench{min-height:500px}.assistant-messages{min-height:280px;padding:15px}.assistant-message{max-width:94%}.assistant-composer{grid-template-columns:1fr;padding:11px}.assistant-composer button{width:100%}.assistant-prompts{padding-inline:11px}.assistant-approval header,.assistant-approval footer{align-items:flex-start;flex-direction:column}.assistant-approval footer>div{width:100%}.assistant-approval footer form,.assistant-approval footer button{width:100%}.assistant-automation-list>article{grid-template-columns:12px minmax(0,1fr)}.assistant-automation-list form{grid-column:2}.assistant-settings-grid{grid-template-columns:1fr}.assistant-provider-card dl{grid-template-columns:1fr}.assistant-provider-card dd{margin-top:-7px}}
@media(pointer:coarse){.assistant-nav a,.assistant-prompts button,.assistant-automation-list button,.assistant-approval button{min-height:44px}.global-assistant input,.global-assistant button{height:46px}}

/* Autobahn 1.1.30.13 – kontextmedveten assistent och testbar automationsbyggare. */
.assistant-context-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.assistant-context-button{display:inline-flex;min-height:40px;align-items:center;justify-content:center;gap:6px;border:1px solid #b8dbe8;border-radius:10px;background:#f2fafe;padding:8px 11px;color:#08749f;font-size:.8125rem;font-weight:850;white-space:nowrap}
.assistant-context-button:hover{border-color:#72b7d0;background:#e5f5fb;color:#075d7f}
.assistant-current-context{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:13px;margin:0 0 16px;border:1px solid #b9dce9;border-left:4px solid #2799c4;border-radius:14px;background:#f4fbfe;padding:13px 15px}
.assistant-current-context>span{display:grid;width:40px;height:40px;place-items:center;border-radius:12px;background:#dff2f9;color:#0877a2;font-size:20px}.assistant-current-context>div{display:grid;min-width:0}.assistant-current-context small{color:#458099;font-size:.72rem;font-weight:900;letter-spacing:.07em}.assistant-current-context strong{overflow:hidden;color:#183b4a;font-size:1rem;text-overflow:ellipsis;white-space:nowrap}.assistant-current-context p{margin:2px 0 0;color:#647d88;font-size:.8125rem}.assistant-current-context>a{font-size:.8125rem;font-weight:800;white-space:nowrap}
.assistant-automation-builder{position:sticky;top:104px;display:grid;gap:12px}.assistant-automation-builder .assistant-automation-create{position:static}.assistant-automation-create>p{margin:6px 0 12px;color:#617985;font-size:.875rem}
.assistant-automation-preview{border-top:4px solid #2da66a;background:#f7fcf9}.assistant-automation-preview h3{margin:4px 0 12px}.assistant-automation-preview>dl{display:grid;gap:7px;margin:0}.assistant-automation-preview>dl>div{display:grid;grid-template-columns:85px minmax(0,1fr);gap:10px;border-bottom:1px solid #e0ece5;padding:7px 0}.assistant-automation-preview dt{color:#6d8378;font-size:.8125rem}.assistant-automation-preview dd{margin:0;color:#254c39;font-size:.875rem;font-weight:800}.assistant-automation-preview>p{color:#61796c;font-size:.8125rem}
.assistant-automation-test{display:flex;align-items:center;gap:10px;margin:12px 0;border:1px solid #bee2cd;border-radius:11px;background:#ecf9f1;padding:11px}.assistant-automation-test>span{display:grid;width:32px;height:32px;flex:0 0 auto;place-items:center;border-radius:10px;background:#d0efdb;color:#158049;font-weight:900}.assistant-automation-test>div{display:grid}.assistant-automation-test small{color:#5f7b6b;font-size:.8125rem}
.assistant-preview-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.assistant-preview-actions form,.assistant-preview-actions button{width:100%;margin:0}
.assistant-automation-manual{padding:0;overflow:hidden}.assistant-automation-manual>summary{cursor:pointer;padding:14px 16px;color:#496571;font-size:.875rem;font-weight:850}.assistant-automation-manual>form{display:grid;gap:11px;border-top:1px solid #e1e9ed;padding:16px}.assistant-automation-manual form>small{color:#71858e;font-size:.8125rem}
@media(max-width:1150px){.assistant-automation-builder{position:static}}
@media(max-width:700px){.assistant-context-actions{align-items:stretch;flex-direction:column}.assistant-context-button{width:100%}.assistant-current-context{grid-template-columns:38px minmax(0,1fr)}.assistant-current-context>a{grid-column:2}.assistant-preview-actions{grid-template-columns:1fr}.calendar-core-head-actions .assistant-context-button{width:auto}}
@media(pointer:coarse){.assistant-context-button,.assistant-preview-actions button,.assistant-automation-create button{min-height:44px}}

/* Autobahn 1.1.30.14 – branschfokus för Postbox 365 och Verkstad. */
.assistant-industry-focus{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:15px;margin:0 0 16px;border:1px solid #d8e4e9;border-top:4px solid #2b9bc8;border-radius:15px;background:#fff;padding:16px 17px;box-shadow:0 7px 24px rgba(31,79,99,.05)}
.assistant-industry-focus.postbox{border-top-color:#ff7043;background:linear-gradient(135deg,#fff,#fff8f4)}.assistant-industry-focus.workshop{background:linear-gradient(135deg,#fff,#f3f9fc)}
.assistant-industry-icon{display:grid;width:50px;height:50px;place-items:center;border-radius:14px;background:#e4f3f9;color:#167ca5;font-size:23px;font-weight:900}.assistant-industry-focus.postbox .assistant-industry-icon{background:#ffeadf;color:#c9552c}
.assistant-industry-focus>div:nth-child(2){display:grid;min-width:0}.assistant-industry-focus h3{margin:2px 0}.assistant-industry-focus p{margin:1px 0 4px;color:#526e7a;font-size:.9375rem}.assistant-industry-focus small{color:#748993;font-size:.8125rem}.assistant-industry-focus>a{white-space:nowrap}
@media(max-width:700px){.assistant-industry-focus{grid-template-columns:45px minmax(0,1fr)}.assistant-industry-icon{width:43px;height:43px}.assistant-industry-focus>a{grid-column:2;width:100%;white-space:normal}}
@media(pointer:coarse){.assistant-industry-focus>a{min-height:44px}}
/* Global företagssökning och personligt konto i toppraden. */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.global-search-form{display:flex;flex-direction:row;align-items:center;gap:0;width:clamp(220px,24vw,390px);margin:0}
.global-search-form input{min-width:0;height:42px;padding:9px 44px 9px 13px;border-color:#d8e5eb;border-radius:11px;background:#f8fbfc;font-size:.875rem}
.global-search-form input:focus{position:relative;z-index:1;border-color:#35a7d7;box-shadow:0 0 0 3px rgba(53,167,215,.12)}
.global-search-form button{width:40px;height:38px;margin-left:-42px;padding:0;border:0;background:transparent;color:#176d94;font-size:1.15rem}
.account-pill{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.global-search-heading{display:grid;gap:5px;margin-bottom:20px}
.global-search-heading h2{margin:0;font-size:1.8rem;letter-spacing:-.025em}
.global-search-heading p{max-width:900px;margin:0;color:var(--muted)}
.global-search-page-form{max-width:860px;margin-bottom:22px;padding:18px;border:1px solid #d9e5eb;border-radius:15px;background:#fff;box-shadow:0 8px 24px rgba(34,75,98,.05)}
.global-search-page-form>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px}
.global-search-page-form button{min-width:100px}
.global-search-summary{margin:0 0 10px;color:var(--muted);font-size:.875rem;font-weight:750}
.global-search-results{grid-template-columns:repeat(auto-fill,minmax(330px,1fr))}
.global-search-results a{min-width:0;background:#fff;border-top:3px solid #35a7d7;box-shadow:0 8px 24px rgba(34,75,98,.045)}
.global-search-results a>div{display:grid;min-width:0;gap:2px}
.global-search-results a>div small{margin:0;color:#ee643b;font-size:.75rem;font-weight:850;text-transform:uppercase;letter-spacing:.08em}
.global-search-results a>div strong,.global-search-results a>div span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.global-search-results a>div span{color:var(--muted);font-size:.8125rem}
.global-search-empty{max-width:860px}
.global-search-degraded{max-width:860px;margin:18px 0 0;padding:12px 14px;border:1px solid #f2cf90;border-radius:12px;background:#fff8e8;color:#79551d;font-size:.875rem}
.global-search-boundary{max-width:860px;margin-top:22px;padding:16px 18px;border-left:4px solid #35a7d7;border-radius:0 12px 12px 0;background:#eef8fc}
.global-search-boundary strong{display:block;margin-bottom:3px;color:#176d94}.global-search-boundary p{margin:0;color:var(--muted)}
@media(max-width:900px){.global-search-form{width:min(36vw,320px)}.account-pill{max-width:150px}}
@media(max-width:700px){.topbar{align-items:flex-start;gap:10px}.top-actions{flex-wrap:wrap;justify-content:flex-end}.global-search-form{order:3;width:100%}.global-search-form input{width:100%}.global-search-results{grid-template-columns:1fr}.global-search-page-form>div{grid-template-columns:1fr}.global-search-page-form button{width:100%}.account-pill{max-width:135px}}

/* Autobahn 1.1.30.10 – Meddelandens rubrikdragning är standard på alla arbetsytor. */
.autobahn-widget-grip,.autobahn-widget-ghost,.calendar-widget-grip,.calendar-widget-drag-ghost{display:none!important}
.autobahn-widget-head,.calendar-widget-edit-head{display:none}
.autobahn-workspace-canvas.is-layout-edit .autobahn-widget-head,
.calendar-widget-grid.is-layout-edit .calendar-widget-edit-head{
  display:flex!important;position:absolute;z-index:31;top:0;right:0;left:0;align-items:center;min-height:52px;padding:7px 9px 7px 13px;
  border-bottom:1px solid #dce7ec;border-radius:14px 14px 0 0;background:rgba(255,255,255,.98);color:#24495b;
  cursor:grab;touch-action:none;user-select:none;-webkit-tap-highlight-color:transparent
}
.autobahn-workspace-canvas.is-layout-edit .autobahn-widget-head:active,
.calendar-widget-grid.is-layout-edit .calendar-widget-edit-head:active{cursor:grabbing}
.autobahn-widget-head>strong,.calendar-widget-edit-head>strong{display:block;min-width:0;overflow:hidden;padding-right:10px;font-size:.8125rem;font-weight:900;text-overflow:ellipsis;white-space:nowrap}
.autobahn-widget-head>.autobahn-widget-controls{position:static!important;display:flex!important;flex:0 0 auto;margin-left:auto}
.calendar-widget-edit-head{z-index:29!important;padding-right:270px!important}
.calendar-widget-edit-head>strong{max-width:100%}
.autobahn-workspace-widget.is-dragging,.calendar-widget.is-widget-dragging{
  visibility:visible!important;opacity:.97!important;transform:none!important;outline:2px solid rgba(8,116,158,.34)!important;
  box-shadow:0 22px 52px rgba(18,48,64,.22)!important;cursor:grabbing!important
}
.autobahn-widget-placeholder,.calendar-widget-placeholder{opacity:.9}
@media(pointer:coarse){
  .autobahn-workspace-canvas.is-layout-edit .autobahn-widget-head,.calendar-widget-grid.is-layout-edit .calendar-widget-edit-head{min-height:62px;padding-top:9px;padding-bottom:9px}
  .calendar-widget-edit-head{padding-right:312px!important}
}
@media(max-width:699px){
  .autobahn-widget-head>strong,.calendar-widget-edit-head>strong{font-size:.8125rem}
  .calendar-widget-edit-head{padding-right:218px!important}
}

/* Autobahn 1.1.30.12 – Meddelandens fria arbetsyta är gemensam för alla menyöversikter. */
.autobahn-workspace-canvas.autobahn-free-workspace{display:block;position:relative;min-height:220px;padding:0;overflow:hidden;background:transparent}
.autobahn-free-workspace .autobahn-workspace-widget{position:absolute;box-sizing:border-box;min-width:280px;min-height:180px;max-width:100%;max-height:none;margin:0;overflow:hidden;background:#fff;box-shadow:0 8px 24px rgba(34,75,98,.05)}
.autobahn-free-workspace .autobahn-workspace-widget[hidden]{display:none!important}
.autobahn-free-workspace .autobahn-workspace-widget-content{width:100%;height:100%;min-width:0;overflow:auto;overscroll-behavior:contain;border-radius:inherit}
.autobahn-free-workspace .autobahn-workspace-widget-content>:first-child{box-sizing:border-box;min-height:100%;margin:0!important}
.autobahn-free-workspace [data-autobahn-widget="assistant-workbench"]{min-height:650px}
.autobahn-free-workspace.is-layout-edit{min-height:220px;padding:2px!important;overflow:hidden;border:0!important;background:transparent!important;background-image:none!important}
.autobahn-free-workspace.is-layout-edit .autobahn-workspace-widget{padding:0!important;outline:2px solid rgba(8,116,158,.2)!important;outline-offset:2px;touch-action:auto}
.autobahn-free-workspace.is-layout-edit .autobahn-workspace-widget:hover{outline-color:#4f9fc0!important}
.autobahn-free-workspace.is-layout-edit .autobahn-workspace-widget>.autobahn-workspace-widget-content>:first-child{padding-top:52px!important}
.autobahn-free-workspace .autobahn-workspace-widget.is-collapsed{min-height:56px;height:56px;overflow:hidden}
.autobahn-workspace-canvas.autobahn-free-workspace.is-layout-edit .autobahn-workspace-widget.is-collapsed{padding:0!important}
.autobahn-free-workspace.is-layout-edit .autobahn-workspace-widget.is-collapsed:before{display:none}
.autobahn-free-workspace.is-layout-edit .autobahn-widget-head{touch-action:none}
.autobahn-free-workspace .autobahn-widget-resize-n,
.autobahn-free-workspace .autobahn-widget-resize-s{left:22px;right:22px}
.autobahn-free-workspace .autobahn-widget-resize-e,
.autobahn-free-workspace .autobahn-widget-resize-w{top:22px;bottom:22px}
.autobahn-free-workspace .autobahn-widget-resize-s{bottom:-9px}
.autobahn-free-workspace .autobahn-widget-resize-se,
.autobahn-free-workspace .autobahn-widget-resize-sw{bottom:-9px}
.autobahn-free-workspace .autobahn-widget-resize-e{right:-9px}
.autobahn-free-workspace .autobahn-widget-resize-w{left:-9px}
.autobahn-free-workspace .autobahn-workspace-widget.is-dragging,.autobahn-free-workspace .autobahn-workspace-widget.is-resizing{opacity:.97!important;box-shadow:0 22px 52px rgba(18,48,64,.22)!important}
.autobahn-free-workspace[data-workspace-density="compact"] .autobahn-workspace-widget-content{font-size:.94em}
.autobahn-free-workspace[data-workspace-density="comfortable"] .autobahn-workspace-widget-content{font-size:1.02em}
@media(pointer:coarse){.autobahn-free-workspace .autobahn-widget-resize-n,.autobahn-free-workspace .autobahn-widget-resize-s{left:28px;right:28px}.autobahn-free-workspace .autobahn-widget-resize-e,.autobahn-free-workspace .autobahn-widget-resize-w{top:28px;bottom:28px}}
@media(max-width:699px){.autobahn-workspace-canvas.autobahn-free-workspace{display:grid;position:relative;grid-template-columns:1fr;grid-auto-rows:auto;gap:12px;min-height:0!important;padding:0!important;overflow:hidden}.autobahn-free-workspace .autobahn-workspace-widget{position:relative!important;top:auto!important;left:auto!important;width:100%!important;height:auto!important;min-width:0;min-height:0;max-width:100%!important;margin:0!important}.autobahn-free-workspace .autobahn-workspace-widget-content{height:auto;overflow:visible}.autobahn-free-workspace .autobahn-workspace-widget.is-collapsed{height:56px!important;min-height:56px}.autobahn-free-workspace .autobahn-widget-resize{display:none!important}}
/* Autobahns officiella identitet – originalfiler från Autobahn-Logo-Paket v1.0. */
:root{--autobahn-logo-navy:#0b2346;--autobahn-logo-orange:#f57c00}
.autobahn-sidebar-brand{display:grid!important;grid-template-columns:1fr!important;align-items:start!important;gap:9px!important;color:inherit;text-decoration:none}
.autobahn-sidebar-logo,.autobahn-sidebar-symbol,.autobahn-public-logo,.autobahn-login-logo,.autobahn-footer-logo,.trial-complete-brand img{display:block;height:auto}
.autobahn-sidebar-logo{width:min(190px,100%)}
.autobahn-sidebar-symbol{display:none;width:44px}
.autobahn-brand-meta{display:flex;align-items:center;gap:8px;min-width:0}
.autobahn-brand-meta strong{color:var(--autobahn-logo-navy);font-size:.75rem;font-weight:950;letter-spacing:.08em;white-space:nowrap}
.autobahn-brand-meta small{margin:0;padding-left:8px;border-left:1px solid #dce7ec;color:#526979;font-size:.75rem;white-space:nowrap}
.autobahn-public-brand{gap:15px;text-decoration:none}
.autobahn-public-logo{width:210px;max-width:42vw}
.autobahn-login-brand{display:grid!important;grid-template-columns:1fr!important;gap:13px!important;align-items:start!important;text-decoration:none}
.autobahn-login-logo{width:min(265px,100%)}
.autobahn-login-meta{display:flex;align-items:center;gap:9px;min-width:0}
.autobahn-login-meta strong{color:var(--autobahn-logo-navy);font-size:.8125rem;font-weight:950;letter-spacing:.1em}
.autobahn-login-meta small{margin:0;padding-left:9px;border-left:1px solid #dce7ec;color:#6c8290;font-size:.75rem;line-height:1.25}
.autobahn-footer-logo{width:160px;max-width:38vw}
.trial-complete-brand{display:inline-block;margin:0 auto 26px;text-decoration:none}
.trial-complete-brand img{width:210px;max-width:62vw}
@media(max-width:1050px) and (min-width:701px){.autobahn-sidebar-brand{justify-items:center;padding-right:0!important;padding-left:0!important}.autobahn-sidebar-logo,.autobahn-brand-meta{display:none!important}.autobahn-sidebar-symbol{display:block}}
@media(max-width:700px){.autobahn-sidebar-brand{grid-template-columns:auto 1fr!important;align-items:center!important;gap:12px!important}.autobahn-sidebar-logo{display:block;width:165px;max-width:45vw}.autobahn-sidebar-symbol{display:none}.autobahn-brand-meta{display:flex!important}.autobahn-public-logo{width:175px;max-width:47vw}.autobahn-public-brand{gap:10px}.autobahn-public-brand small{padding-left:9px;font-size:.7rem}.autobahn-footer-logo{width:145px}}
@media(max-width:480px){.autobahn-brand-meta,.autobahn-public-brand small{display:none!important}.autobahn-public-logo{width:168px;max-width:58vw}.login-card{width:calc(100vw - 32px);padding:24px}.login-card h1{font-size:clamp(1.55rem,8vw,2rem);overflow-wrap:anywhere}.autobahn-login-meta{display:grid;gap:3px}.autobahn-login-meta>*{min-width:0;overflow-wrap:anywhere}.autobahn-login-meta small{padding-left:0;border-left:0}}
@media(max-width:700px){.marketing-footer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:18px 0}.marketing-footer .autobahn-footer-logo{grid-column:1;grid-row:1}.marketing-footer p{grid-column:1/-1;grid-row:2;min-width:0}.marketing-footer a{grid-column:2;grid-row:1;margin-left:0;align-self:center}}

/* Autobahn 1.1.30.19 – svensk lönehantering, tablet-first och avvikelsestyrd. */
.payroll-hero{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:27px 29px;margin-bottom:22px;border:1px solid rgba(255,255,255,.08);border-radius:21px;color:#fff;background:linear-gradient(132deg,#0b2346 0%,#12355e 64%,#17446d 100%);box-shadow:0 22px 55px rgba(11,35,70,.16)}
.payroll-hero h2{margin:4px 0 5px;font-size:29px}.payroll-hero p{max-width:880px;margin:0;color:#d8e5ef}.payroll-hero .module-chip{max-width:270px;text-align:center;justify-content:center}.payroll-attention{border-color:#f59e0b;background:#fffbeb}.payroll-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:20px}.payroll-flow article{display:grid;grid-template-columns:42px 1fr;gap:13px;margin:0}.payroll-flow h2{margin-top:2px}.payroll-step{width:40px;height:40px;display:grid;place-items:center;border-radius:13px;background:#fff1e8;color:#c2410c;font-size:20px;font-weight:950}.payroll-quick-run{display:grid;grid-template-columns:1fr;gap:8px}.payroll-quick-run input{min-width:0}.payroll-control ul,.payroll-blockers ul{margin:13px 0 0;padding-left:20px;color:#475569}.payroll-control li,.payroll-blockers li{margin:7px 0}.payroll-employee-form{display:block}.payroll-employee-form>.card{margin-bottom:18px}.payroll-sticky-save{position:sticky;bottom:14px;z-index:8;display:flex;align-items:center;justify-content:space-between;gap:18px;border-color:#fed7aa;box-shadow:0 18px 48px rgba(15,23,42,.14)}.payroll-sticky-save small{display:block;color:var(--muted)}.payroll-review-list{display:grid;gap:10px}.payroll-review-list article{display:grid;grid-template-columns:minmax(240px,1fr) minmax(330px,.8fr);gap:16px;align-items:center;padding:14px;border:1px solid var(--line);border-radius:13px}.payroll-review-list article>div{display:grid;grid-template-columns:auto 1fr;column-gap:9px;align-items:center}.payroll-review-list article>div small,.payroll-review-list article>div p{grid-column:2;margin:2px 0 0}.payroll-review-list form{display:grid;grid-template-columns:minmax(150px,1fr) auto auto;gap:7px;align-items:end}.payroll-person-picker{display:flex;flex-direction:row;align-items:end}.payroll-person-picker label{min-width:min(440px,100%)}.payroll-self-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:20px}.payroll-self-grid details{padding:0;overflow:hidden;margin:0}.payroll-self-grid summary{display:flex;gap:12px;align-items:center;padding:18px;cursor:pointer;list-style:none}.payroll-self-grid summary::-webkit-details-marker{display:none}.payroll-self-grid summary>span{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#eff6ff;color:#0b5b8a;font-weight:950}.payroll-self-grid summary small{display:block;color:var(--muted);font-weight:500}.payroll-self-grid details[open] summary{border-bottom:1px solid var(--line);background:#f8fafc}.payroll-self-grid form{padding:18px}.payroll-new-run summary{display:flex;justify-content:space-between;align-items:center;cursor:pointer;list-style:none}.payroll-new-run summary::-webkit-details-marker{display:none}.payroll-new-run[open] summary{padding-bottom:18px;border-bottom:1px solid var(--line);margin-bottom:18px}.payroll-run-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.payroll-blockers{border-color:#fecaca;background:#fff7f7}.payroll-blockers .eyebrow{color:#b42318}.payroll-ready{display:grid;grid-template-columns:52px 1fr;gap:14px;align-items:center;border-color:#bbf7d0;background:#f4fff8}.payroll-ready>span{display:grid;place-items:center;width:50px;height:50px;border-radius:50%;background:#dcfce7;color:#15803d;font-size:24px;font-weight:950}.payroll-ready p{margin:0}.payroll-finalize{border-color:#fed7aa}.payroll-finalize form,.payroll-export-grid form{margin-top:16px}.payroll-export>div:first-child{max-width:900px}.payroll-export-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.payroll-export-grid form{padding:13px;border:1px solid var(--line);border-radius:13px;background:#f8fafc}.payroll-export-grid form strong{color:#0b2346}.payroll-paid-form{align-items:flex-end;margin-top:18px}.payroll-payslip-list{display:grid;gap:12px}.payroll-payslip-list>a{display:flex;justify-content:space-between;align-items:center;gap:22px;margin:0}.payroll-payslip-list>a>div:last-child{text-align:right}.payroll-payslip-list>a span,.payroll-payslip-list>a small{display:block;color:var(--muted)}.payroll-payslip-list>a>div:last-child strong{font-size:25px;color:#0b2346}.payroll-slip{max-width:1050px;margin:0 auto}.payroll-slip>header{display:flex;justify-content:space-between;gap:20px;padding-bottom:20px;border-bottom:2px solid #0b2346}.payroll-slip>header h2{font-size:27px;margin:5px 0}.payroll-slip>header>div:last-child{text-align:right}.payroll-slip>header span,.payroll-slip>header small{display:block;color:var(--muted)}.payroll-slip .table-wrap{margin:20px 0}.payroll-slip-totals{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.payroll-slip-totals>div{padding:13px;border-radius:11px;background:#f8fafc}.payroll-slip-totals span,.payroll-slip-totals strong{display:block}.payroll-slip-totals span{font-size:.8125rem;color:var(--muted)}.payroll-slip-totals .total{background:#0b2346;color:#fff}.payroll-slip-totals .total span{color:#cbd5e1}.payroll-slip>footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:22px;padding-top:16px;border-top:1px solid var(--line)}.payroll-settings-form{display:block}.payroll-settings-save{position:sticky;bottom:16px;width:100%;z-index:7;box-shadow:0 12px 30px rgba(244,119,33,.3)}.payroll-mapping-create{display:flex;justify-content:space-between;gap:28px;align-items:end}.payroll-mapping-create>div{max-width:760px}.payroll-mapping-create form{display:grid;grid-template-columns:140px auto;align-items:end}.payroll-transparency-note{border-color:#bae6fd;background:#f0f9ff}
@media(max-width:1180px){.payroll-flow,.payroll-self-grid{grid-template-columns:1fr}.payroll-export-grid{grid-template-columns:1fr 1fr}.payroll-review-list article{grid-template-columns:1fr}.payroll-slip-totals{grid-template-columns:1fr 1fr}.payroll-slip-totals .total{grid-column:1/-1}}
@media(max-width:720px){.payroll-hero{align-items:flex-start;flex-direction:column;padding:21px}.payroll-hero h2{font-size:24px}.payroll-run-stats{grid-template-columns:1fr 1fr}.payroll-review-list form{grid-template-columns:1fr}.payroll-export-grid{grid-template-columns:1fr}.payroll-payslip-list>a,.payroll-slip>header,.payroll-slip>footer,.payroll-mapping-create{align-items:stretch;flex-direction:column}.payroll-payslip-list>a>div:last-child,.payroll-slip>header>div:last-child{text-align:left}.payroll-mapping-create form{grid-template-columns:1fr}.payroll-sticky-save{align-items:stretch;flex-direction:column}.payroll-sticky-save button{width:100%}}

/* Autobahn 1.1.30.54 – fas 0H: kanoniska tokens och gemensamma komponenter */
:root{--ui-color-background:#f3f7f9;--ui-color-surface:#ffffff;--ui-color-surface-subtle:#f7fafb;--ui-color-text:#10232d;--ui-color-text-muted:#5d727d;--ui-color-border:#d8e3e8;
  --ui-color-brand:#0b607f;--ui-color-brand-strong:#084b64;--ui-color-accent:#b0580f;
  --ui-color-focus:#0b73a3;--ui-color-success:#16794b;--ui-color-warning:#9a5a08;
  --ui-color-danger:#b42318;--ui-color-inverse:#ffffff;
  --ui-font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --ui-space-1:4px;--ui-space-2:8px;--ui-space-3:12px;--ui-space-4:16px;--ui-space-5:20px;
  --ui-space-6:24px;--ui-space-8:32px;--ui-space-10:40px;--ui-space-12:48px;
  --ui-radius-sm:8px;--ui-radius-md:12px;--ui-radius-lg:16px;--ui-radius-xl:20px;--ui-radius-round:999px;
  --ui-shadow-surface:0 4px 18px rgba(16,35,45,.055);--ui-shadow-floating:0 24px 64px rgba(16,35,45,.18);
  --ui-layer-sticky:20;--ui-layer-overlay:60;--ui-layer-dialog:80;--ui-layer-toast:100;
  --ui-touch-target:44px;--ui-control-size:44px;--ui-content-max:1600px;
  --bg:var(--ui-color-background);--panel:var(--ui-color-surface);--ink:var(--ui-color-text);
  --muted:var(--ui-color-text-muted);--line:var(--ui-color-border);--accent:var(--ui-color-accent);
  --green:var(--ui-color-success);--red:var(--ui-color-danger);--amber:var(--ui-color-warning);
  --shadow:var(--ui-shadow-surface)
}
html{scroll-padding-top:104px}body{font-family:var(--ui-font-family)}
.ui-skip-link{position:fixed;top:8px;left:8px;z-index:var(--ui-layer-toast);padding:10px 14px;border-radius:var(--ui-radius-md);background:var(--ui-color-text);color:var(--ui-color-inverse);font-weight:800;transform:translateY(-160%)}
.ui-skip-link:focus{transform:translateY(0)}
:is(button,.button,.ui-button,input:not([type="checkbox"]):not([type="radio"]),select){min-height:var(--ui-control-size)}
:is(button,.button,.ui-button,a,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid var(--ui-color-focus);outline-offset:3px}
.ui-button{display:inline-flex;min-height:var(--ui-touch-target);align-items:center;justify-content:center;gap:8px;border:1px solid var(--ui-color-border);border-radius:var(--ui-radius-md);padding:9px 14px;background:var(--ui-color-surface);color:var(--ui-color-text);font-weight:800;line-height:1.2;cursor:pointer}
.ui-button.primary{border-color:var(--ui-color-accent);background:var(--ui-color-accent);color:var(--ui-color-inverse)}
.ui-button.secondary{border-color:var(--ui-color-brand);color:var(--ui-color-brand)}
.ui-button.danger{border-color:var(--ui-color-danger);color:var(--ui-color-danger)}
.ui-button.quiet{border-color:transparent;background:transparent}
.ui-button:hover,.ui-button:focus-visible,.ui-button:active{filter:none;box-shadow:0 0 0 3px rgba(11,115,163,.14);transform:none}
.ui-action-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:var(--ui-space-2);padding:var(--ui-space-3);border-top:1px solid var(--ui-color-border)}
.ui-status{display:inline-flex;align-items:center;gap:6px;border-radius:var(--ui-radius-round);padding:5px 10px;background:var(--ui-color-surface-subtle);color:var(--ui-color-text);font-size:.875rem;font-weight:750}
.ui-status.success{background:#eaf8f0;color:var(--ui-color-success)}.ui-status.warning{background:#fff7e8;color:var(--ui-color-warning)}.ui-status.danger{background:#fff0ef;color:var(--ui-color-danger)}.ui-status.info{background:#eaf6fb;color:var(--ui-color-brand)}
.ui-empty-state{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:var(--ui-space-4);min-height:132px;padding:var(--ui-space-5);border:1px dashed #b9cbd3;border-radius:var(--ui-radius-lg);background:var(--ui-color-surface-subtle)}
.ui-empty-state>span{display:grid;width:44px;height:44px;place-items:center;border-radius:var(--ui-radius-md);background:#e6f2f6;color:var(--ui-color-brand);font-size:22px}.ui-empty-state p{margin:3px 0 0;color:var(--ui-color-text-muted)}
.ui-disclosure{border:1px solid var(--ui-color-border);border-radius:var(--ui-radius-md);background:var(--ui-color-surface)}.ui-disclosure>summary{min-height:var(--ui-touch-target);display:flex;align-items:center;padding:10px 14px;font-weight:800;cursor:pointer}.ui-disclosure>div{padding:0 14px 14px}
.ui-timeline{display:grid;gap:var(--ui-space-3);list-style:none;padding:0}.ui-timeline>li{display:grid;grid-template-columns:12px minmax(0,1fr);gap:var(--ui-space-3)}.ui-timeline>li:before{content:"";width:10px;height:10px;margin-top:7px;border-radius:50%;background:var(--ui-color-brand)}
.ui-side-panel{position:fixed;z-index:var(--ui-layer-overlay);top:0;right:0;width:min(440px,100%);height:100dvh;overflow:auto;border-left:1px solid var(--ui-color-border);background:var(--ui-color-surface);box-shadow:var(--ui-shadow-floating);padding:var(--ui-space-5)}
.ui-dialog{width:min(680px,calc(100vw - 28px));max-height:min(760px,calc(100dvh - 28px));overflow:hidden;border:1px solid var(--ui-color-border);border-radius:var(--ui-radius-xl);background:var(--ui-color-surface);color:var(--ui-color-text);box-shadow:var(--ui-shadow-floating);padding:0}
.ui-dialog::backdrop{background:rgba(6,20,28,.58);backdrop-filter:blur(3px)}
.ui-command-palette{grid-template-rows:auto auto minmax(0,1fr) auto}.ui-command-palette[open]{display:grid}
.ui-command-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px 20px 12px}.ui-command-head h2{margin:3px 0 0}.ui-command-head .ui-button{width:44px;padding:0;font-size:22px}
.ui-command-search{padding:0 20px 12px}.ui-command-search input{min-height:50px;border-color:#b9cbd3;background:var(--ui-color-surface-subtle);font-size:1rem}
.ui-command-list{display:grid;gap:5px;overflow:auto;padding:0 12px 14px}.ui-command{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:11px;min-height:58px;border:1px solid transparent;border-radius:var(--ui-radius-md);padding:8px 11px}.ui-command>span:first-child{display:grid;width:34px;height:34px;place-items:center;border-radius:10px;background:#e8f3f7;color:var(--ui-color-brand);font-size:19px;font-weight:900}.ui-command>span:last-child{display:grid}.ui-command small{color:var(--ui-color-text-muted)}
.ui-command:hover,.ui-command:focus-visible,.ui-command[data-command-active="true"]{border-color:#abc9d6;background:#f0f7fa;outline:0}.ui-command[hidden]{display:none}.ui-command-empty{margin:0 20px 18px;color:var(--ui-color-text-muted)}
.ui-command-palette footer{display:flex;flex-wrap:wrap;gap:14px;padding:11px 20px;border-top:1px solid var(--ui-color-border);background:var(--ui-color-surface-subtle);color:var(--ui-color-text-muted);font-size:.8125rem}.ui-command-palette footer span{display:flex;align-items:center;gap:4px}.ui-command-palette kbd{min-width:24px;border:1px solid #bdcbd2;border-radius:6px;background:#fff;padding:2px 5px;text-align:center;box-shadow:0 1px 1px rgba(16,35,45,.08)}
.ui-create-button{white-space:nowrap}.ui-metric[data-metric-key]{font-variant-numeric:tabular-nums}.ui-widget-group[data-widget-mode="grouped"]{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:var(--ui-space-3)}
.top-actions{min-width:0}.sidebar nav a .sidebar-link-label{color:#526979}
.economy-line-labels small,.customer-crm-table-head{color:#526979}.economy-result-values dd.positive{color:var(--ui-color-success)}
.customer-row-actions{grid-template-columns:repeat(auto-fit,minmax(44px,1fr))}.customer-row-actions a{min-width:44px;min-height:44px}.quick-links{display:flex;flex-wrap:wrap;gap:var(--ui-space-2)}.quick-links a{display:inline-flex;min-height:44px;align-items:center;padding:8px 10px}
[data-personalization-scope="presentation-only"]{contain:layout style}
@media(max-width:1500px){.topbar{height:auto;grid-template-columns:minmax(0,1fr) auto}.global-assistant{grid-column:1/-1;grid-row:2;width:100%;max-width:none}}
@media(max-width:900px){.ui-create-button{width:44px;padding:0;font-size:0}.ui-create-button span{font-size:22px}.ui-empty-state{grid-template-columns:auto 1fr}.ui-empty-state>.ui-button{grid-column:1/-1;width:100%}}
@media(max-width:700px){.ui-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:var(--ui-radius-lg)}.ui-command-head{padding:16px 16px 10px}.ui-command-search{padding:0 16px 10px}.ui-command-palette footer{display:none}.ui-action-bar{align-items:stretch;flex-direction:column}.ui-action-bar .ui-button{width:100%}}
@media(pointer:coarse){.ui-command{min-height:var(--ui-touch-target)}.ui-command-palette kbd{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
@media(forced-colors:active){.ui-button,.ui-dialog,.ui-command,.ui-empty-state{border:1px solid ButtonText}.ui-command[data-command-active="true"]{outline:2px solid Highlight}.ui-command>span:first-child{forced-color-adjust:none}}
@media print{body:has(.payroll-slip) .sidebar,body:has(.payroll-slip) .topbar,body:has(.payroll-slip) .flash,body:has(.payroll-slip) .abai-shell{display:none!important}body:has(.payroll-slip) .shell{display:block}body:has(.payroll-slip) .content{padding:0}body:has(.payroll-slip) .payroll-slip{border:0;box-shadow:none;max-width:none}body:has(.payroll-slip) .payroll-slip footer button{display:none}.payroll-slip-totals{grid-template-columns:repeat(5,1fr)}}

.sidebar[data-sidebar]{overflow:hidden;gap:10px}
.sidebar[data-sidebar]>nav{min-height:0;flex:1;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:0 2px 8px 0;scrollbar-width:thin;scrollbar-color:#c9dbe5 transparent}
.sidebar[data-sidebar]>nav>*{flex:0 0 auto}
.sidebar-collapse-toggle{display:flex;align-items:center;justify-content:flex-end;gap:6px;min-height:30px;padding:3px 7px;border:0;background:transparent;color:#6b8290;font-size:.75rem;font-weight:850}
.sidebar-collapse-toggle:hover{background:#eef7fb;color:#176a96}
.sidebar-collapse-toggle span{display:grid;width:18px;height:18px;place-items:center;border:1px solid #d5e5ec;border-radius:6px;background:#fff;font-size:1rem;line-height:1}
.sidebar-menu-search-wrap{display:grid;gap:4px;margin:2px 0 3px}
.sidebar-menu-search{display:grid;grid-template-columns:22px minmax(0,1fr) 24px;align-items:center;gap:4px;min-height:41px;padding:5px 7px;border:1px solid #d7e5ec;border-radius:10px;background:#f8fbfd;color:#78909e}
.sidebar-menu-search:focus-within{border-color:#86c6e3;box-shadow:0 0 0 3px rgba(49,155,215,.11);background:#fff}
.sidebar-menu-search>span{display:grid;width:22px;place-items:center}
.sidebar-menu-search input{min-width:0;height:29px;min-height:0;padding:0;border:0;background:transparent;color:#173b4d;font-size:.8125rem;font-weight:650;box-shadow:none}
.sidebar-menu-search input:focus{border:0;box-shadow:none}
.sidebar-menu-search input::placeholder{color:#8396a1}
.sidebar-menu-search button{display:grid;width:24px;height:24px;min-height:0;place-items:center;padding:0;border:0;border-radius:6px;background:transparent;color:#718895;font-size:1rem}
.sidebar-menu-search button:hover{background:#e5f1f6;color:#176a96}
.sidebar-search-empty{margin:3px 6px 7px;color:#8a5a3a;font-size:.75rem;font-weight:750;line-height:1.35}
.sidebar-nav-group>summary{gap:8px}
.sidebar-nav-group>summary .sidebar-group-icon{width:22px;text-align:center}
.sidebar-nav-group>summary strong{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sidebar-group-count{display:grid;min-width:22px;height:22px;place-items:center;margin-left:auto;border:1px solid #d8e7ed;border-radius:999px;background:#f2f7fa;color:#637b89;font-size:.6875rem;font-weight:900}
.sidebar-nav-group[open] .sidebar-group-count{border-color:#cbe3ee;background:#e9f6fb;color:#1477aa}
.sidebar-summary-chevron{margin-left:0}
.sidebar nav a .sidebar-link-icon{width:22px;flex:0 0 22px;text-align:center}
.sidebar nav a .sidebar-link-label{width:auto;min-width:0;flex:1;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}
.sidebar-foot{flex:0 0 auto;margin-top:0;padding:11px 10px 3px;background:#fff}
.workspace-development-tools{margin-top:14px}

@media(min-width:1051px){
  .shell{transition:grid-template-columns .18s ease}
  .shell.sidebar-is-collapsed{grid-template-columns:82px minmax(0,1fr)}
  .sidebar-is-collapsed .sidebar[data-sidebar]{padding-inline:10px}
  .sidebar-is-collapsed .autobahn-sidebar-logo,.sidebar-is-collapsed .autobahn-brand-meta{display:none!important}
  .sidebar-is-collapsed .autobahn-sidebar-symbol{display:block!important;width:44px;margin-inline:auto}
  .sidebar-is-collapsed .sidebar-collapse-toggle{justify-content:center}
  .sidebar-is-collapsed .sidebar-collapse-toggle span{transform:rotate(180deg)}
  .sidebar-is-collapsed .sidebar-collapse-toggle strong,.sidebar-is-collapsed .sidebar-menu-search-wrap,.sidebar-is-collapsed .workspace-navigation>small,.sidebar-is-collapsed .sidebar-link-label,.sidebar-is-collapsed .sidebar-nav-group>summary strong,.sidebar-is-collapsed .sidebar-group-count,.sidebar-is-collapsed .sidebar-summary-chevron,.sidebar-is-collapsed .sidebar-module-list{display:none!important}
  .sidebar-is-collapsed .sidebar-platform-nav>a,.sidebar-is-collapsed .sidebar-nav-group>summary{justify-content:center;padding-inline:8px}
  .sidebar-is-collapsed .sidebar-platform-nav>a .sidebar-link-icon,.sidebar-is-collapsed .sidebar-nav-group>summary .sidebar-group-icon{width:24px;flex:0 0 24px;font-size:1.05rem;text-align:center}
  .sidebar-is-collapsed .sidebar-nav-group{overflow:hidden}
  .sidebar-is-collapsed .sidebar-foot{align-items:center;padding-inline:2px}
  .sidebar-is-collapsed .sidebar-foot small,.sidebar-is-collapsed .sidebar-foot form{display:none}
  .sidebar-is-collapsed .sidebar-foot>a{font-size:0}
  .sidebar-is-collapsed .sidebar-foot>a:before{content:'↪';font-size:1.1rem}
}

@media(min-width:701px) and (max-width:1050px){
  .shell{grid-template-columns:230px minmax(0,1fr)}
  .sidebar-collapse-toggle{display:none}
  .autobahn-sidebar-logo{display:block!important;width:min(190px,100%)}
  .autobahn-sidebar-symbol{display:none!important}
  .autobahn-brand-meta{display:flex!important}
  .sidebar nav a,.sidebar nav a:not(:hover){justify-content:flex-start;font-size:.875rem}
  .sidebar-foot small,.sidebar-foot a,.sidebar-foot form,.sidebar-foot .link-button{font-size:.8125rem}
}

@media(max-width:700px){
  .sidebar[data-sidebar]{overflow:visible}
  .sidebar[data-sidebar]>nav{overflow:visible;padding-bottom:5px}
  .sidebar-collapse-toggle{display:none}
  .sidebar-menu-search-wrap{grid-column:1/-1}
  .sidebar-menu-search{max-width:none}
  .sidebar-foot{display:none}
}

@media(min-width:1051px){.shell{grid-template-columns:250px minmax(0,1fr)}.shell.sidebar-is-collapsed{grid-template-columns:72px minmax(0,1fr)}}.sidebar[data-sidebar]{gap:8px;padding:16px 10px 12px}.sidebar-collapse-toggle{width:36px;min-width:36px;min-height:36px;align-self:flex-end;justify-content:center;padding:5px;border:1px solid #dce8ed;border-radius:10px;background:#f8fbfd;color:#526d7c;font-size:.8125rem}.sidebar-collapse-toggle:hover{border-color:#bdddea;background:#edf7fb;color:#126f9e}.sidebar-collapse-toggle span{width:22px;height:22px;border-color:#cfe1e9;border-radius:7px}
.sidebar[data-sidebar]>nav{padding-right:4px;scrollbar-color:#b9d1dc transparent}
.sidebar-menu-search-wrap{position:sticky;z-index:20;top:0;margin:0;padding:7px 0 8px;background:linear-gradient(180deg,#fff 0%,#fff 82%,rgba(255,255,255,.92) 100%)}
.sidebar-menu-search{min-height:46px;padding:6px 8px;border-color:#cbdfe8;border-radius:11px;background:#f6fafc}
.sidebar-menu-search input{height:32px;font-size:.875rem;font-weight:720}
.sidebar-menu-search input::placeholder{color:#647f8e;opacity:1}
.sidebar-platform-nav>a{min-height:46px;padding:9px 10px;color:#35566a;font-size:.875rem}
.sidebar-platform-nav>a.active{border-color:#aad6e9;background:#dff1fa;color:#0f6696;box-shadow:inset 4px 0 #249cd3,0 5px 14px rgba(37,132,177,.09);font-weight:900}
.sidebar-development-ai .sidebar-link-icon{border-color:#f3d5b7!important;background:#fff5e9!important;color:#c66b19!important}
.sidebar-development-sales .sidebar-link-icon{border-color:#c9e4f1!important;background:#edf8fd!important;color:#16779f!important}
.sidebar-development-communication .sidebar-link-icon{border-color:#d9d4f2!important;background:#f4f1ff!important;color:#6b56b2!important}
.sidebar-development-operations .sidebar-link-icon{border-color:#efdfbd!important;background:#fff8e9!important;color:#a06c18!important}
.sidebar-development-industries .sidebar-link-icon{border-color:#d5ddea!important;background:#f2f6fb!important;color:#4a6684!important}
.sidebar-assistant-quick{border-color:#f0dbc3!important;background:linear-gradient(100deg,#fff8ef,#fff)!important;color:#8e4e16!important;box-shadow:0 4px 12px rgba(174,99,30,.06)}
.sidebar-assistant-quick:hover,.sidebar-assistant-quick.active{border-color:#e8bf91!important;background:#fff2e3!important;color:#934c0d!important}
.sidebar nav a:focus-visible,.sidebar-collapse-toggle:focus-visible,.sidebar-menu-search:has(input:focus-visible){outline:3px solid rgba(36,156,211,.22);outline-offset:2px}
.sidebar-foot{gap:9px;padding:11px 10px 2px;border-top:1px solid #e4edf1;background:#fff}
.sidebar-foot small{color:#486776;font-weight:800}
.sidebar-foot>a{display:flex;min-height:36px;align-items:center;border-radius:8px;color:#486776;font-weight:750}
.sidebar-foot>a:hover{background:#eef7fb;color:#126d9b}
@media(min-width:1051px){
  .sidebar-is-collapsed .sidebar[data-sidebar]{gap:10px;padding-inline:10px}
  .sidebar-is-collapsed .sidebar-collapse-toggle{padding-inline:6px}
  .sidebar-is-collapsed .sidebar-menu-search-wrap{display:none!important}
}
@media(min-width:701px) and (max-width:1050px){.shell{grid-template-columns:232px minmax(0,1fr)}}
@media(max-width:700px){
  .sidebar-menu-search-wrap{position:static;padding:0}
}

/* Autobahn 1.1.30.40 – fristående Kvitton, utlägg och attest */
.expense-title{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:24px}.expense-title h2{margin:.2rem 0 .35rem;font-size:clamp(1.75rem,3vw,2.35rem)}.expense-title p{max-width:780px;margin:0;color:#637f91}.expense-stats{grid-template-columns:repeat(5,minmax(0,1fr))}.expense-stats .stat{min-height:150px;border-top:4px solid #2b9fd5}.expense-stats .stat:nth-child(2){border-top-color:#1a9a5b}.expense-stats .stat:nth-child(3){border-top-color:#d58b00}.expense-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:18px 0}.expense-flow article{display:flex;gap:16px}.expense-flow article>b{display:grid;width:38px;height:38px;flex:0 0 38px;place-items:center;border-radius:50%;background:#e8f6fc;color:#0875a8;font-size:1.1rem}.expense-flow h2{margin:.15rem 0 .35rem;font-size:1.15rem}.expense-flow p{min-height:48px;color:#6a8292}.expense-boundary{border-left:5px solid #ff6538;background:linear-gradient(100deg,#fff8ed,#fff)}
.expense-form{overflow:hidden;padding:0}.expense-form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding:22px}.expense-form-grid label{display:grid;align-content:start;gap:7px;font-weight:800;color:#2c4053}.expense-form-grid label small{color:#6e8594;font-weight:500}.expense-form-grid .span-two{grid-column:span 2}.expense-upload{display:flex!important;min-height:94px;grid-template-columns:auto 1fr!important;align-items:center!important;padding:16px;border:2px dashed #a8cfdf;border-radius:14px;background:#f3fafd;color:#0b6f9e!important;font-size:1.35rem;cursor:pointer}.expense-upload span{display:grid;gap:3px;font-size:.95rem}.expense-upload input{grid-column:1/-1}.expense-check{display:flex!important;align-items:center!important;gap:9px!important}.expense-check input{width:auto}.expense-form-actions{display:flex;justify-content:flex-end;align-items:center;gap:16px;padding:15px 22px;border-top:1px solid #dbe7ed;background:#f7fafb}
.expense-list .card-title-row{margin-bottom:16px}.expense-list td strong,.expense-list td small{display:block}.expense-list td small{margin-top:4px;color:#708797}.expense-review-list{display:grid;gap:15px}.expense-review-list article{border-left:4px solid #d58b00}.expense-review-list header,.expense-review-meta,.expense-review-list form{display:flex;align-items:center;justify-content:space-between;gap:15px}.expense-review-list header>strong{font-size:1.35rem}.expense-review-meta{justify-content:flex-start;flex-wrap:wrap;margin:14px 0;padding:10px 0;border-block:1px solid #e3ebef;color:#597383}.expense-review-list form input{flex:1}.expense-detail dl{display:grid;grid-template-columns:auto 1fr;gap:10px 18px}.expense-detail dt{font-weight:850}.expense-detail dd{margin:0}.expense-documents{display:grid;gap:9px}.expense-documents a{display:grid;padding:12px;border:1px solid #d6e6ed;border-radius:10px;background:#f8fbfc}.expense-documents small{color:#6c8493}.expense-timeline article{position:relative;display:grid;grid-template-columns:18px 1fr;gap:12px;padding:0 0 20px}.expense-timeline article:before{content:"";position:absolute;left:7px;top:15px;bottom:0;width:2px;background:#d9e7ed}.expense-timeline article:last-child:before{display:none}.expense-timeline article>i{width:16px;height:16px;border:4px solid #dff2fa;border-radius:50%;background:#199bd1}.expense-timeline small,.expense-timeline p{display:block;margin:.2rem 0;color:#6c8393}.expense-empty{text-align:center;padding:42px}
.expense-access{margin-top:18px}.expense-access td strong,.expense-access td small{display:block}.expense-access-form{display:flex;gap:8px}.expense-access-form select{min-width:190px}
@media(max-width:1100px){.expense-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.expense-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:750px){.expense-title{align-items:flex-start;flex-direction:column}.expense-stats,.expense-flow,.expense-form-grid{grid-template-columns:1fr}.expense-form-grid .span-two{grid-column:auto}.expense-review-list header,.expense-review-list form{align-items:stretch;flex-direction:column}.expense-form-actions{position:sticky;bottom:0}.expense-detail dl{grid-template-columns:1fr}.expense-detail dd{margin-bottom:8px}}

/* Autobahn 1.1.30.41 – fristående Resursplanering */
.resource-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}.resource-hero h2{margin:.2rem 0 .35rem;font-size:clamp(1.75rem,3vw,2.35rem)}.resource-hero p{max-width:850px;margin:0;color:#637f91}.resource-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.resource-stats .stat{min-height:145px;border-top:4px solid #2b9fd5}.resource-stats .stat:nth-child(2){border-top-color:#1a9a5b}.resource-stats .stat:nth-child(3){border-top-color:#d58b00}.resource-attention{background:#fffaf0!important}.resource-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:18px 0}.resource-flow article{display:flex;gap:16px}.resource-flow article>span{display:grid;width:38px;height:38px;flex:0 0 38px;place-items:center;border-radius:50%;background:#e8f6fc;color:#0875a8;font-size:1.1rem;font-weight:900}.resource-flow h2{margin:.15rem 0 .35rem;font-size:1.15rem}.resource-flow p{min-height:66px;color:#6a8292}.resource-boundary{border-left:5px solid #ff6538;background:linear-gradient(100deg,#fff8ed,#fff)}
.resource-filter{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.resource-filter label{min-width:160px}.resource-filter input[name=q]{min-width:270px}.resource-catalog-grid{grid-template-columns:minmax(0,2.2fr) minmax(300px,.8fr)}.resource-catalog-grid td strong,.resource-catalog-grid td small,.resource-upcoming td strong,.resource-upcoming td small{display:block}.resource-catalog-grid td small,.resource-upcoming td small{margin-top:4px;color:#708797}.resource-week{display:grid;grid-template-columns:repeat(7,minmax(150px,1fr));gap:8px;overflow-x:auto;padding-bottom:8px}.resource-week>section{min-height:320px;border:1px solid #d6e6ed;border-radius:12px;background:#f8fbfc}.resource-week header{display:grid;padding:12px;border-bottom:1px solid #d6e6ed;background:#eff7fa}.resource-week article{display:grid;gap:4px;margin:8px;padding:10px;border-left:4px solid #2b9fd5;border-radius:8px;background:#fff;box-shadow:0 3px 10px rgba(30,82,105,.06)}.resource-week article time,.resource-week article small,.resource-week>section>p{color:#6a8292;font-size:.78rem}.resource-week>section>p{padding:10px}.resource-bars{display:grid;gap:12px;margin-top:18px}.resource-bars article{display:grid;grid-template-columns:minmax(190px,1fr) minmax(220px,3fr) 65px;align-items:center;gap:14px}.resource-bars article small{display:block;color:#718898}.resource-meter{height:15px;overflow:hidden;border-radius:999px;background:#e8eff3}.resource-meter span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2b9fd5,#1a9a5b)}
.resource-availability-grid{align-items:start}.resource-week-rules{display:grid;gap:8px;margin-bottom:16px}.resource-week-rules>div{display:grid;grid-template-columns:minmax(130px,1fr) 110px auto 110px;align-items:center;gap:8px}.resource-check{display:flex!important;align-items:center!important;gap:8px!important}.resource-check input{width:auto}.resource-booking-grid{grid-template-columns:minmax(0,2fr) minmax(270px,.7fr);align-items:start}.resource-selector{display:grid;gap:8px;padding:14px;border:1px solid #cfdee5;border-radius:12px}.resource-selector>label{display:grid;grid-template-columns:auto 1fr 76px;align-items:center;gap:10px;padding:10px;border:1px solid #e1eaf0;border-radius:9px;background:#f9fbfc}.resource-selector>label>input:first-child{width:auto}.resource-selector span small{display:block;color:#718898}.resource-checklist ol{display:grid;gap:12px;padding-left:22px}.resource-timeline article{position:relative;display:grid;grid-template-columns:18px 130px 1fr;gap:12px;padding:0 0 20px}.resource-timeline article:before{content:"";position:absolute;left:7px;top:15px;bottom:0;width:2px;background:#d9e7ed}.resource-timeline article:last-child:before{display:none}.resource-timeline article>span{width:16px;height:16px;border:4px solid #dff2fa;border-radius:50%;background:#199bd1}.resource-timeline p{margin:.2rem 0}.resource-timeline small,.resource-timeline time{color:#6c8393}
@media(max-width:1100px){.resource-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.resource-flow,.resource-catalog-grid,.resource-booking-grid{grid-template-columns:1fr}.resource-week{grid-template-columns:repeat(7,minmax(190px,1fr))}}
@media(max-width:700px){.resource-hero{align-items:flex-start;flex-direction:column}.resource-stats,.resource-flow{grid-template-columns:1fr}.resource-filter{align-items:stretch;flex-direction:column}.resource-filter label,.resource-filter input[name=q]{min-width:0;width:100%}.resource-week-rules>div{grid-template-columns:1fr 1fr auto 1fr}.resource-check{grid-column:1/-1}.resource-bars article{grid-template-columns:1fr}.resource-selector>label{grid-template-columns:auto 1fr 70px}.resource-timeline article{grid-template-columns:18px 1fr}.resource-timeline time{grid-column:2}.resource-timeline article>div{grid-column:2}}
/* Autobahn 1.1.30.42 – fristående Leverantörsmodul */
.supplier-hero{align-items:flex-start}.supplier-hero .module-chip{white-space:nowrap}.supplier-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.supplier-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:16px 0}.supplier-flow article{display:grid;grid-template-columns:42px 1fr;gap:12px}.supplier-flow article>span{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#e6f5fb;color:#0878a8;font-weight:800}.supplier-flow h2{margin:2px 0 6px}.supplier-flow p{margin:0 0 8px}.supplier-boundary{border-left:4px solid #ff6237}.supplier-catalog-grid{grid-template-columns:minmax(0,2fr) minmax(300px,.8fr)}.supplier-filter{display:grid;grid-template-columns:minmax(240px,2fr) repeat(2,minmax(145px,1fr)) auto auto;gap:10px;align-items:end;margin-bottom:16px}.supplier-check{display:flex!important;flex-direction:row!important;align-items:center;gap:8px;min-height:42px}.supplier-check input{width:auto!important;margin:0}.supplier-form,.supplier-inline-form{display:grid;gap:10px}.supplier-form .form-row,.supplier-inline-form .form-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.supplier-detail-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(360px,.75fr);gap:16px;margin:16px 0}.supplier-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.supplier-tabs a{padding:9px 12px;border:1px solid #cfe0ea;border-radius:999px;background:#fff}.supplier-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}.supplier-facts div{padding:12px;border:1px solid #dbe8ef;border-radius:12px;background:#f8fbfd}.supplier-facts dt{font-size:.78rem;color:#6c8496}.supplier-facts dd{margin:4px 0 0;font-weight:700}.supplier-danger{margin-top:14px;padding-top:14px;border-top:1px solid #e2ebf0}.supplier-split{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,.7fr);gap:18px;align-items:start}.supplier-inline-form{padding:16px;border:1px solid #d9e6ed;border-radius:14px;background:#f8fbfd}.supplier-history{display:grid;gap:0}.supplier-history article{display:grid;grid-template-columns:14px 120px 1fr;gap:10px;position:relative;padding:8px 0}.supplier-history article>span{width:10px;height:10px;margin-top:5px;border-radius:50%;background:#ff6237}.supplier-history time,.supplier-history small{color:#6c8496}.supplier-history p{margin:2px 0}.supplier-history article:not(:last-child)::after{content:"";position:absolute;left:4px;top:21px;bottom:-8px;width:2px;background:#e1ebf0}
@media(max-width:1100px){.supplier-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.supplier-flow,.supplier-detail-grid,.supplier-split,.supplier-catalog-grid{grid-template-columns:1fr}.supplier-filter{grid-template-columns:repeat(2,minmax(0,1fr))}.supplier-filter input:first-of-type{grid-column:1/-1}}
@media(max-width:700px){.supplier-stats,.supplier-flow,.supplier-facts,.supplier-form .form-row,.supplier-inline-form .form-row,.supplier-filter{grid-template-columns:1fr}.supplier-history article{grid-template-columns:14px 1fr}.supplier-history time{grid-column:2}.supplier-tabs{overflow-x:auto;flex-wrap:nowrap}.supplier-tabs a{white-space:nowrap}}

/* Autobahn 1.1.30.90 */
[hidden]{display:none!important}
body[data-admin-workspace="service365"]{--workspace-sidebar:#f4fbf7;--workspace-sidebar-strong:#e7f6ed;--workspace-line:#b8ddca;--workspace-accent:#238b59;--workspace-ink:#175b3d}
body[data-admin-workspace="platform"]{--workspace-sidebar:#f3f9fc;--workspace-sidebar-strong:#e7f4fa;--workspace-line:#bddbea;--workspace-accent:#2084ad;--workspace-ink:#175f7d}
body[data-admin-workspace="development"]{--workspace-sidebar:#fff9ef;--workspace-sidebar-strong:#fff0d8;--workspace-line:#efd19d;--workspace-accent:#ca781a;--workspace-ink:#8c4b0c}
body[data-admin-workspace] .sidebar{background:linear-gradient(180deg,#fff 0%,var(--workspace-sidebar) 42%,var(--workspace-sidebar-strong) 100%);border-right-color:var(--workspace-line)}
body[data-admin-workspace] .sidebar-foot{background:transparent;border-top-color:var(--workspace-line)}
body[data-admin-workspace] .sidebar nav>.workspace-control,
body[data-admin-workspace] .sidebar-menu-search-wrap{background:linear-gradient(180deg,var(--workspace-sidebar) 0%,var(--workspace-sidebar) 84%,color-mix(in srgb,var(--workspace-sidebar) 88%,transparent) 100%)}
body[data-admin-workspace] .sidebar nav>a.active,
body[data-admin-workspace] .sidebar-platform-nav>a.active{border-color:var(--workspace-line);background:var(--workspace-sidebar-strong);color:var(--workspace-ink);box-shadow:inset 4px 0 var(--workspace-accent)}
body[data-admin-workspace] .sidebar-menu-search:focus-within{border-color:var(--workspace-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--workspace-accent) 15%,transparent)}
body[data-admin-workspace] .sidebar-nav-group[open]>summary{background:var(--workspace-sidebar-strong);color:var(--workspace-ink)}
.sidebar-menu-search-wrap{top:0}
body[data-admin-workspace] .sidebar-menu-search-wrap{top:112px}
.sidebar-menu-search{grid-template-columns:24px minmax(0,1fr) 24px}
.sidebar-menu-search>svg{width:20px;height:20px;margin-left:2px}
.sidebar-menu-search input{font-size:1rem}
.sidebar-platform-nav{display:grid;gap:4px}
.sidebar-platform-nav>small{padding:8px 9px 3px;font-size:.75rem;font-weight:950;letter-spacing:.105em}
.sidebar-platform-nav>a,
.sidebar-nav-group>summary{font-size:1rem}
.sidebar-platform-nav>a{gap:10px}
.sidebar nav a .sidebar-link-icon{display:grid;width:31px;height:31px;flex:0 0 31px;place-items:center;border:1px solid #d8e6ed;border-radius:9px;background:rgba(255,255,255,.72);color:#4f7183}
.sidebar nav a .sidebar-link-icon>svg{width:19px;height:19px}
.sidebar nav a .sidebar-link-icon>span{display:grid;width:auto;place-items:center;color:inherit}
.sidebar-nav-group{margin-top:3px;border-radius:11px}
.sidebar-nav-group>summary{min-height:48px;padding:8px 10px}
.sidebar-nav-group>summary .sidebar-group-icon{display:grid;width:31px;height:31px;flex:0 0 31px;place-items:center;border:1px solid #d8e6ed;border-radius:9px;background:#fff;color:#4f7183}
.sidebar-nav-group>summary .sidebar-group-icon svg{width:19px;height:19px}
.sidebar-nav-group>.sidebar-module-list{display:grid;gap:4px;margin:0 7px 8px;padding:5px 0 3px 10px}
.sidebar-nav-group>.sidebar-module-list>a{min-height:44px;padding:6px 8px;font-size:1rem}
.sidebar-personal-tools{display:grid;gap:4px;margin:3px 0 8px;padding:8px 0;border-block:1px solid color-mix(in srgb,var(--workspace-line,#dce7ed) 75%,transparent)}
.sidebar-personal-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 7px 3px}
.sidebar-personal-heading>small{color:#526d7a;font-size:.75rem;font-weight:950;letter-spacing:.1em}
.sidebar-personal-heading>button{min-height:30px;padding:4px 7px;border:1px solid #d4e4eb;border-radius:8px;background:#fff;color:#55717f;font-size:.8125rem;font-weight:850}
.sidebar-personal-heading>button:hover,.sidebar-personal-heading>button.is-favorite{border-color:#e9bb74;background:#fff7e8;color:#995c0b}
.sidebar-personal-heading>button:disabled{opacity:.48;cursor:not-allowed}
.sidebar-personal-tools>details{border-radius:9px}
.sidebar-personal-tools>details>summary{display:flex;min-height:40px;align-items:center;gap:8px;padding:6px 9px;border-radius:9px;color:#456171;cursor:pointer;list-style:none;font-size:1rem}
.sidebar-personal-tools>details>summary::-webkit-details-marker{display:none}
.sidebar-personal-tools>details>summary:hover,.sidebar-personal-tools>details[open]>summary{background:rgba(255,255,255,.72);color:var(--workspace-ink,#176a96)}
.sidebar-personal-tools>details>summary>svg{width:18px;height:18px;flex:0 0 18px}
.sidebar-personal-tools>details>summary>strong{min-width:0;flex:1}
.sidebar-personal-tools>details>summary>small{display:grid;min-width:22px;height:22px;place-items:center;border-radius:999px;background:#fff;color:#617987;font-size:.75rem}
.sidebar-personal-tools>details:not([open]) .sidebar-summary-chevron{transform:rotate(-90deg)}
.sidebar-personal-list{display:grid;gap:2px;margin:0 7px 5px 25px;padding-left:8px;border-left:1px solid #d5e4ea}
.sidebar-personal-list>p{margin:4px 6px 7px;color:#718692;font-size:.8125rem;line-height:1.35}
.sidebar-personal-list>a{display:flex;min-height:36px;align-items:center;gap:7px;padding:5px 7px;border-radius:7px;color:#526e7d;font-size:.875rem;font-weight:750}
.sidebar-personal-list>a>span:first-child{width:17px;color:#c47b20;text-align:center}
.sidebar-personal-list>a:hover{background:#fff;color:var(--workspace-ink,#176a96)}
.workspace-development-tools{padding-top:7px;border-top:1px solid color-mix(in srgb,var(--workspace-line,#dce7ed) 75%,transparent)}
.sidebar-collapse-toggle{width:36px;min-width:36px;min-height:36px;align-self:flex-end;justify-content:center;padding:5px;border-radius:8px;background:rgba(255,255,255,.68);font-size:.8125rem}
.sidebar-mobile-primary{display:none}
@media(min-width:1051px){
  .sidebar-is-collapsed .sidebar-personal-tools{display:none!important}
  .sidebar-is-collapsed .sidebar-nav-group>summary .sidebar-group-icon{width:32px;flex-basis:32px}
}
@media(max-width:700px){
  body[data-admin-workspace]{padding-bottom:72px}
  body[data-admin-workspace] .sidebar{padding:10px 14px;background:var(--workspace-sidebar)}
  body[data-admin-workspace] .sidebar [data-sidebar-navigation]{display:block;margin:0}
  body[data-admin-workspace] .sidebar [data-sidebar-navigation]>:not(.workspace-control){display:none!important}
  body[data-admin-workspace] .sidebar nav>.workspace-control{display:grid;position:static;padding:0;background:transparent}
  body[data-admin-workspace] .sidebar-foot{display:none}
  .sidebar-mobile-primary{position:fixed;z-index:90;right:10px;bottom:10px;left:10px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));min-height:58px;padding:5px;border:1px solid var(--workspace-line,#d8e5eb);border-radius:16px;background:rgba(255,255,255,.96);box-shadow:0 12px 35px rgba(30,66,84,.18);backdrop-filter:blur(14px)}
  .sidebar-mobile-primary>a{display:grid;place-items:center;gap:2px;min-width:0;padding:4px;border-radius:11px;color:#5d7480;font-size:.75rem;font-weight:850}
  .sidebar-mobile-primary>a svg{width:21px;height:21px}
  .sidebar-mobile-primary>a span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .sidebar-mobile-primary>a.active{background:var(--workspace-sidebar-strong,#e8f4fb);color:var(--workspace-ink,#176a96)}
}
/* Autobahn 1.1.30.43 – fristående Lagermodul */
.inventory-hero{border-color:#1b6174;background:linear-gradient(135deg,#12324a,#124a3e)}
.inventory-stats{grid-template-columns:repeat(4,minmax(0,1fr))}
.inventory-attention{border-color:#e89c13!important;background:#fffaf0!important}
.inventory-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:14px 0}
.inventory-flow article{display:flex;gap:14px;min-height:148px}
.inventory-flow article>span{display:grid;place-items:center;flex:0 0 38px;height:38px;border-radius:50%;background:#e9f7fc;color:#0876a6;font-weight:900}
.inventory-flow h2,.inventory-flow p{margin:4px 0 8px}
.inventory-overview-grid{align-items:start}
.inventory-boundary{border-left:4px solid #169a62;background:#f5fcf8}
.inventory-catalog-grid,.inventory-location-grid{grid-template-columns:minmax(0,1.8fr) minmax(300px,.72fr);align-items:start}
.inventory-filter{display:flex;flex-wrap:wrap;gap:10px;align-items:end;margin-bottom:14px}
.inventory-filter>input{flex:1 1 280px}
.inventory-filter>select{flex:0 1 190px}
.inventory-check{display:flex!important;flex-direction:row!important;align-items:center;gap:8px;min-height:40px}
.inventory-check input{width:auto!important;margin:0}
.inventory-item-form .form-row{grid-template-columns:repeat(3,minmax(0,1fr))}
.inventory-danger{margin-top:12px;padding-top:12px;border-top:1px solid var(--line,#dce8ef)}
.inventory-movement-form{margin-bottom:14px}
.inventory-movement-form .form-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.inventory-count-create form{display:grid;grid-template-columns:minmax(220px,.5fr) minmax(280px,1fr) auto;gap:12px;align-items:end}
.inventory-count-input{max-width:130px}
.inventory-count-submit{display:flex;justify-content:flex-end;align-items:center;gap:16px;margin-top:14px}
.inventory-history{max-width:1100px}
.inventory-timeline{display:grid;gap:0}
.inventory-timeline article{display:grid;grid-template-columns:14px 126px minmax(0,1fr);gap:12px;position:relative;padding:0 0 18px}
.inventory-timeline article>span{width:10px;height:10px;margin-top:5px;border-radius:50%;background:#0f8fc3;box-shadow:0 0 0 4px #e5f6fc}
.inventory-timeline article:not(:last-child)>span:after{content:"";position:absolute;left:4px;top:17px;bottom:0;border-left:2px solid #d9eaf1}
.inventory-timeline time,.inventory-timeline small{color:var(--muted,#6e8494);font-size:.78rem}
.inventory-timeline p{margin:3px 0}
@media(max-width:1050px){.inventory-stats,.inventory-flow{grid-template-columns:repeat(2,minmax(0,1fr))}.inventory-catalog-grid,.inventory-location-grid{grid-template-columns:1fr}.inventory-movement-form .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.inventory-stats,.inventory-flow,.inventory-movement-form .form-grid,.inventory-item-form .form-row,.inventory-count-create form{grid-template-columns:1fr}.inventory-filter{align-items:stretch}.inventory-filter>*{flex:1 1 100%!important}.inventory-count-submit{align-items:stretch;flex-direction:column}.inventory-timeline article{grid-template-columns:14px 1fr}.inventory-timeline time{grid-column:2}.inventory-timeline article>div{grid-column:2}.inventory-catalog-grid .sticky-card,.inventory-location-grid .sticky-card{position:static}}

/* Autobahn 1.1.30.44 – fristående Inköp och leverantörsfakturor */
.purchasing-hero{align-items:flex-start}.purchasing-hero .module-chip{white-space:nowrap}.purchasing-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.purchasing-stats .stat{min-height:145px;border-top:4px solid #269ed4}.purchasing-stats .stat:nth-child(2){border-top-color:#14965a}.purchasing-stats .stat:nth-child(3){border-top-color:#d28a00}.purchasing-stats .stat:nth-child(4){border-top-color:#ff6538}.purchasing-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:18px 0}.purchasing-flow article{display:flex;gap:14px}.purchasing-flow article>b{display:grid;width:38px;height:38px;flex:0 0 38px;place-items:center;border-radius:50%;background:#e7f6fc;color:#0879aa}.purchasing-flow h2{margin:.15rem 0 .35rem;font-size:1.12rem}.purchasing-flow p{margin:0;color:#637e8f}.purchasing-boundary{border-left:5px solid #ff6538;background:linear-gradient(100deg,#fff8ed,#fff)}
.purchasing-main-grid{grid-template-columns:minmax(0,2fr) minmax(320px,.8fr);align-items:start}.purchasing-filter{display:flex;align-items:end;gap:10px;margin-bottom:16px}.purchasing-filter select{min-width:220px}.purchasing-form{display:grid;gap:13px}.purchasing-form .form-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.purchasing-lines{display:grid;gap:8px}.purchasing-lines>div{display:grid;grid-template-columns:minmax(220px,3fr) 90px 80px 120px;gap:8px}.purchasing-order-lines>div{grid-template-columns:minmax(190px,1.4fr) minmax(220px,2fr) 90px 78px 115px 74px}.purchasing-actions{display:flex;gap:12px;flex-wrap:wrap}.purchasing-transition{display:flex;align-items:end;gap:12px;padding:14px}.purchasing-transition label{flex:1}.purchasing-total{display:block;margin-top:10px;font-size:1.2rem}.purchasing-history{display:grid;gap:0}.purchasing-history article{display:grid;grid-template-columns:140px 1fr;gap:14px;padding:14px 0;border-bottom:1px solid #e1eaf0}.purchasing-history article:last-child{border-bottom:0}.purchasing-history p{margin:.25rem 0}.purchasing-history small,.purchasing-history time{color:#6d8392}.purchasing-form td input{min-width:90px}.purchasing-form table small,.purchasing-main-grid table small,.purchasing-stats small{display:block}.status.submitted,.status.pending_stock{background:#fff5d8;color:#8c6200}.status.approved,.status.sent,.status.synced,.status.matched,.status.received{background:#e6f7ed;color:#147345}.status.rejected,.status.cancelled,.status.stock_failed,.status.exception{background:#ffeded;color:#a52a2a}.status.partially_received,.status.accepted,.status.ordered{background:#e8f5fb;color:#0874a5}
@media(max-width:1150px){.purchasing-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.purchasing-main-grid,.purchasing-flow{grid-template-columns:1fr}.purchasing-form .form-row{grid-template-columns:repeat(2,minmax(0,1fr))}.purchasing-order-lines>div{grid-template-columns:minmax(200px,1fr) minmax(220px,1.5fr) 80px 70px 105px 70px;overflow-x:auto}}
@media(max-width:700px){.purchasing-hero{align-items:flex-start;flex-direction:column}.purchasing-stats,.purchasing-form .form-row{grid-template-columns:1fr}.purchasing-filter{align-items:stretch;flex-direction:column}.purchasing-filter select{min-width:0;width:100%}.purchasing-lines>div,.purchasing-order-lines>div{grid-template-columns:1fr}.purchasing-transition{align-items:stretch;flex-direction:column}.purchasing-history article{grid-template-columns:1fr}.purchasing-actions{display:grid}}
/* Autobahn 1.1.30.45 – fristående Försäljning och fakturering */
.sales-hero{background:linear-gradient(135deg,#fff8ef,#fff 62%);border-color:#ffb05f;color:#102b43}.sales-hero p{color:#657b8b}.sales-hero .module-chip{background:#fff;color:#9a491f;border-color:#ffc98f}
.sales-stats{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:16px}
.sales-stats .stat{min-height:145px;border-top:4px solid #2b9dd2}.sales-stats .stat:nth-child(2){border-top-color:#ff6737}.sales-stats .stat:nth-child(3){border-top-color:#d58a00}.sales-stats .stat:nth-child(4){border-top-color:#23915a}
.sales-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:16px 0}
.sales-flow article{display:flex;gap:14px;align-items:flex-start;border-top:3px solid #ff6737}
.sales-flow article>b{display:grid;place-items:center;min-width:38px;height:38px;border-radius:50%;background:#fff0e9;color:#d84920;font-size:18px}
.sales-flow h2{margin:2px 0 5px;font-size:18px}.sales-flow p{margin:0;color:var(--muted)}
.sales-boundary{border-left:4px solid #ff6737;background:#fffaf6}.sales-boundary h2{margin:3px 0 7px}
.sales-filter{display:flex;gap:10px;justify-content:flex-end;margin-bottom:14px}.sales-filter select{max-width:280px}
.sales-form{display:grid;gap:14px}.sales-form label{display:grid;gap:6px;font-weight:700;color:#263a50}
.sales-lines{display:grid;gap:9px}.sales-lines>div{display:grid;grid-template-columns:1.15fr 1.6fr .55fr .5fr .8fr .6fr .55fr 1.15fr;gap:8px;padding:10px;border:1px solid #dbe8ef;border-radius:14px;background:#f8fbfd}
.sales-actions{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}.sales-actions .card{margin:0;padding:12px}
.sales-transition{display:flex;gap:10px;align-items:end}.sales-transition label{display:grid;gap:5px}
.sales-total{display:block;margin-top:10px;font-size:21px;text-align:right;color:#102b43}
.sales-notes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:16px;padding-top:14px;border-top:1px solid #dbe8ef}
.sales-decision{display:grid;gap:4px;margin-top:15px;padding:15px;border-radius:14px;background:#effaf3;border:1px solid #a9dec0}.sales-decision span{color:#527166}.sales-decision p{margin:4px 0 0}
.sales-history{display:grid}.sales-history article{display:grid;grid-template-columns:150px 1fr;gap:18px;padding:14px 0;border-bottom:1px solid #e3edf2}.sales-history time{font-variant-numeric:tabular-nums;color:#6c8293}.sales-history p{margin:4px 0}
.sales-pipeline-board{display:grid;grid-template-columns:repeat(6,minmax(245px,1fr));gap:12px;align-items:start;min-width:0;max-width:100%;overflow-x:auto;padding:2px 0 14px}.sales-pipeline-column{display:grid;gap:9px;min-width:245px;padding:10px;border:1px solid #dbe7ed;border-radius:16px;background:#f5f9fb}.sales-pipeline-column>header{display:flex;align-items:center;justify-content:space-between;padding:2px 3px}.sales-opportunity-card{display:grid;gap:7px;margin:0;padding:13px;color:inherit;text-decoration:none}.sales-opportunity-card>strong{font-size:1rem}.sales-opportunity-card>small{color:#526b79}.sales-opportunity-card>div{display:flex;justify-content:space-between;gap:10px;align-items:center}.sales-opportunity-card>div span{font-weight:800;color:#2e657d}.sales-version-list{display:grid;gap:8px}.sales-version-list article{display:flex;justify-content:space-between;gap:14px;padding:11px 12px;border:1px solid #dce8ed;border-radius:11px;background:#f8fbfc}.sales-version-list small{color:#526b79;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.status.lead,.status.qualified,.status.proposal,.status.negotiation{background:#e9f5fc;color:#176184}.status.won,.status.completed,.status.active{background:#e8f8ee;color:#17653b}.status.lost,.status.blocked{background:#ffebeb;color:#8f2424}
.status.ready_to_invoice,.status.partially_invoiced{background:#fff2d7;color:#815500}.status.invoiced,.status.created,.status.accepted{background:#e8f8ee;color:#17653b}.status.failed,.status.rejected{background:#ffebeb;color:#9a2929}.status.confirmed,.status.sent{background:#e9f5fc;color:#176184}
@media(max-width:1100px){.sales-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-lines>div{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){.sales-stats,.sales-flow,.sales-notes{grid-template-columns:1fr}.sales-lines>div{grid-template-columns:1fr 1fr}.sales-filter,.sales-actions{align-items:stretch;flex-direction:column}.sales-filter select{max-width:none}.sales-history article{grid-template-columns:1fr;gap:5px}.sales-total{text-align:left}.sales-transition{align-items:stretch;flex-direction:column}.sales-version-list article{align-items:flex-start;flex-direction:column}}
/* Release identity and compact customer component view – Autobahn 1.1.30.47 */
.release-identity{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:14px 0}.release-identity span{display:flex;flex-direction:column;gap:2px;padding:9px 10px;border:1px solid var(--line,#d5e3ec);border-radius:10px;background:#f8fbfd}.release-identity small,.release-version-table small{display:block;color:#70879a}.release-components>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:10px;max-height:220px;overflow:auto}.release-components span{display:flex;justify-content:space-between;gap:8px;padding:7px 9px;border:1px solid #dce8ef;border-radius:9px}.release-version-table-wrap{overflow:auto}.release-version-table{width:100%;border-collapse:separate;border-spacing:0;min-width:780px}.release-version-table th,.release-version-table td{text-align:left;padding:11px 12px;border-bottom:1px solid #dce8ef;vertical-align:middle}.release-version-table th{font-size:.75rem;text-transform:uppercase;letter-spacing:.04em;color:#587185;background:#f5f9fb}.release-version-table td:first-child strong{display:block}.release-customer-versions{margin-top:16px}
@media(max-width:900px){.release-identity{grid-template-columns:repeat(2,minmax(0,1fr))}.release-components>div{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.release-components>div{grid-template-columns:1fr}.release-identity{grid-template-columns:1fr 1fr}}

/* Autobahn 1.1.30.52 – säkerhets- och integritetscenter */
.security-center,.privacy-center{display:grid;gap:18px}.security-challenge{max-width:620px}.security-secret{display:grid;gap:8px;padding:14px;border:1px solid var(--line,#d5e3ec);border-radius:12px;background:#f7fafc}.security-secret dt{font-size:.76rem;font-weight:800;color:var(--muted,#607789);text-transform:uppercase}.security-secret dd{margin:0;overflow-wrap:anywhere}.security-secret code,.recovery-codes code{font-variant-numeric:tabular-nums;letter-spacing:.05em}.recovery-codes ol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0;list-style-position:inside}.recovery-codes li{padding:9px;border:1px solid var(--line,#d5e3ec);border-radius:9px;background:#f8fbfd}.privacy-queue{display:grid;gap:14px}.privacy-queue article header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.privacy-queue article h3{margin:.2rem 0}.privacy-center fieldset{padding:14px;border:1px solid var(--line,#d5e3ec);border-radius:12px}.privacy-center legend{padding:0 6px;font-weight:800}.security-center table code{white-space:nowrap}
@media(max-width:700px){.recovery-codes ol{grid-template-columns:1fr}.privacy-queue article header{flex-direction:column}.security-secret dd code{font-size:.76rem}}

/* Autobahn 1.1.30.55 – fristående Projektmodul */
.project-hero{background:linear-gradient(135deg,#0f324c,#145c64);border-color:#2a7881;color:#fff}.project-hero p{color:#d8ecee}.project-hero .module-chip{border-color:#74bcc2;background:#eafafb;color:#0d5961}
.project-stats,.project-finance{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:16px}.project-stats .stat,.project-finance .stat{min-height:142px;border-top:4px solid #1599aa}.project-stats .stat:nth-child(2),.project-finance .stat:nth-child(2){border-top-color:#ff6737}.project-stats .stat:nth-child(3),.project-finance .stat:nth-child(3){border-top-color:#d58a00}.project-stats .stat:nth-child(4),.project-finance .stat:nth-child(4){border-top-color:#26905b}
.project-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:16px 0}.project-flow article{display:flex;gap:14px;min-height:150px;border-top:3px solid #1599aa}.project-flow article>b{display:grid;place-items:center;flex:0 0 38px;height:38px;border-radius:50%;background:#e3f6f8;color:#08717c}.project-flow h2{margin:2px 0 5px;font-size:18px}.project-flow p{margin:0;color:var(--muted,#647b8c)}
.project-boundary{border-left:5px solid #1599aa;background:#f4fbfc}.project-boundary h2{margin:3px 0 7px}.project-table strong,.project-table small,.project-summary small{display:block}.project-table small{margin-top:3px;color:var(--muted,#647b8c)}.negative{color:#a12828!important}
.project-create>summary,.project-form-card>summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;list-style:none}.project-create>summary::-webkit-details-marker,.project-form-card>summary::-webkit-details-marker{display:none}.project-create[open]>summary,.project-form-card[open]>summary{margin-bottom:18px;padding-bottom:14px;border-bottom:1px solid var(--line,#dbe7ed)}
.project-form{margin-top:12px}.project-filter{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin-bottom:16px}.project-filter label:first-of-type{flex:1 1 320px}.project-filter label:nth-of-type(2){flex:0 1 220px}.project-filter label{display:grid;gap:5px;font-weight:700}
.project-tabs{display:flex;gap:7px;margin:0 0 14px;overflow-x:auto}.project-tabs a{white-space:nowrap;padding:9px 12px;border:1px solid var(--line,#dbe7ed);border-radius:999px;background:#fff}.project-tabs a.active{border-color:#1599aa;background:#e9f8fa;color:#076874}
.project-summary{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(340px,.7fr);gap:24px}.project-summary h2{margin:4px 0}.project-summary dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:0}.project-summary dl div{padding:12px;border:1px solid var(--line,#dbe7ed);border-radius:12px;background:#f8fbfd}.project-summary dt{font-size:.76rem;color:var(--muted,#647b8c)}.project-summary dd{margin:4px 0 0;font-size:1.05rem;font-weight:800}
.project-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 16px}.project-actions form{margin:0}.project-form-card{align-self:start}.project-milestones{display:flex;gap:10px;overflow-x:auto;margin:0 0 14px;padding-bottom:4px}.project-milestones article{display:grid;min-width:190px;gap:5px;padding:12px;border:1px solid var(--line,#dbe7ed);border-radius:12px;background:#f8fbfd}.project-milestones small{color:var(--muted,#647b8c)}
.project-checklist{display:grid;gap:5px;min-width:220px}.project-checklist form{margin:0}.check-item{width:100%;padding:5px 7px;border-color:transparent;background:transparent;text-align:left}.check-item:hover{background:#eef7f9}.check-item.done{text-decoration:line-through;color:var(--muted,#647b8c)}.project-checklist .inline-form{display:flex}.project-checklist .inline-form input{min-width:120px}
.project-picker{display:flex;align-items:end;gap:10px}.project-picker label{display:grid;flex:1;gap:5px;font-weight:700}.project-board{display:grid;grid-template-columns:repeat(4,minmax(230px,1fr));gap:12px;overflow-x:auto}.project-board>section{min-height:390px;background:#f4f8fa}.project-board>section>h2{font-size:1rem}.project-task{display:grid;gap:7px;margin:10px 0;padding:12px;border:1px solid var(--line,#dbe7ed);border-radius:12px;background:#fff;box-shadow:0 4px 12px rgba(24,66,89,.06)}.project-task h3,.project-task p{margin:0}.project-task p{font-size:.8rem;color:var(--muted,#647b8c)}.project-task form{display:flex;gap:6px}.project-task select{min-width:0}
.project-resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.project-resource-grid article{display:grid;gap:3px;padding:11px;border:1px solid var(--line,#dbe7ed);border-radius:10px}.project-resource-grid span{font-size:.8rem;color:var(--muted,#647b8c)}.project-source-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.project-source-list span{padding:12px;border:1px solid var(--line,#dbe7ed);border-radius:11px;background:#f8fbfd}.project-source-list b{display:block;font-size:1.2rem}.project-billing-callout{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:16px;padding:16px;border:1px solid #9ed4c2;border-radius:14px;background:#effaf5}.project-billing-callout p{margin:4px 0 0}
.project-documents{display:grid;gap:8px;margin-bottom:14px}.project-documents article{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px;border:1px solid var(--line,#dbe7ed);border-radius:10px}.project-documents strong,.project-documents small{display:block}.project-documents small{margin-top:3px;color:var(--muted,#647b8c)}.project-document-form{padding-top:14px;border-top:1px solid var(--line,#dbe7ed)}
.project-comments{display:grid;gap:9px;margin-bottom:14px}.project-comments article{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;padding:11px;border:1px solid var(--line,#dbe7ed);border-radius:11px}.project-comments time{justify-self:end;color:var(--muted,#647b8c);font-size:.78rem}.project-comments p{grid-column:1/-1;margin:4px 0}.project-comment-form{display:grid;grid-template-columns:180px 1fr auto;align-items:end;gap:8px}.project-comment-form label{display:grid}
.project-events{display:grid}.project-events article{display:grid;grid-template-columns:145px 1fr;gap:14px;padding:11px 0;border-bottom:1px solid var(--line,#dbe7ed)}.project-events article:last-child{border-bottom:0}.project-events time,.project-events small{color:var(--muted,#647b8c);font-size:.79rem}.project-events small{display:block;margin-top:3px}.project-events p{margin:4px 0}.project-decision{display:grid;gap:7px;margin-top:8px;padding:9px;border:1px solid var(--line,#dbe7ed);border-radius:9px;background:#f8fbfd}.project-decision label{display:grid;gap:4px}.status.planned,.status.todo,.status.submitted{background:#eaf5fb;color:#176184}.status.on_hold,.status.blocked,.status.consumed,.status.pending{background:#fff3d8;color:#815500}.status.completed,.status.done,.status.approved,.status.invoiced{background:#e8f8ee;color:#17653b}.status.cancelled,.status.rejected,.status.failed,.status.critical{background:#ffebeb;color:#982828}.status.high{background:#fff0e6;color:#9a491f}.status.low{background:#f0f4f6;color:#526a79}
@media(max-width:1100px){.project-stats,.project-finance{grid-template-columns:repeat(2,minmax(0,1fr))}.project-flow,.project-summary{grid-template-columns:1fr}.project-board{grid-template-columns:repeat(4,minmax(260px,1fr))}.project-resource-grid,.project-source-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.project-stats,.project-finance,.project-flow,.project-resource-grid,.project-source-list,.project-summary dl{grid-template-columns:1fr}.project-hero{align-items:flex-start;flex-direction:column}.project-filter,.project-picker,.project-billing-callout,.project-documents article{align-items:stretch;flex-direction:column}.project-comment-form{grid-template-columns:1fr}.project-comments article,.project-events article{grid-template-columns:1fr}.project-comments time{justify-self:start}.project-tabs{margin-inline:-4px}.project-board{grid-template-columns:repeat(4,minmax(285px,1fr))}}

/* Autobahn 1.1.30.62 – Automation Studio 1.0 */
.automation-hero{background:linear-gradient(135deg,#182b4d,#4b2c72);border-color:#7654a1;color:#fff}.automation-hero p{color:#e8dff4}.automation-hero .module-chip{border-color:#b89bd3;background:#f4edfa;color:#5e347d}
.automation-stats{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:16px}.automation-stats .stat{min-height:138px;border-top:4px solid #7351a0}.automation-stats .stat:nth-child(2){border-top-color:#ff6737}.automation-stats .stat:nth-child(3){border-top-color:#2383a6}.automation-stats .stat:nth-child(4){border-top-color:#26865a}
.automation-boundary{display:flex;align-items:center;justify-content:space-between;gap:20px;border-left:5px solid #7351a0;background:#faf7fd}.automation-boundary h2{margin:3px 0 6px}.automation-boundary p{margin:0;color:var(--muted,#647b8c)}
.automation-table strong,.automation-table small{display:block}.automation-table small{margin-top:4px;color:var(--muted,#647b8c)}
.automation-builder{display:grid;gap:15px}.automation-meta{margin:0}.automation-flow{display:grid;grid-template-columns:minmax(280px,1.1fr) 34px minmax(220px,.8fr) 34px minmax(280px,1.1fr);align-items:stretch;gap:10px}.automation-node{position:relative;margin:0;border-top:4px solid #7351a0}.automation-node>b{position:absolute;right:14px;top:13px;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#efe6f8;color:#603986}.automation-node h2{margin:4px 0 14px}.automation-node label{display:grid;gap:5px;margin:10px 0;font-weight:700}.automation-node p{color:var(--muted,#647b8c)}.automation-node.condition{border-top-color:#2383a6}.automation-node.condition>b{background:#e5f4fa;color:#176e8a}.automation-node.action{border-top-color:#ff6737}.automation-node.action>b{background:#fff0e8;color:#a34f24}.automation-arrow{display:grid;place-items:center;font-size:28px;font-weight:900;color:#8c75a5}.automation-safe-check{grid-template-columns:auto 1fr!important;align-items:start}.automation-safe-check input{margin-top:4px}.automation-builder-actions,.automation-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px}.automation-actions{justify-content:flex-start;margin:14px 0}.automation-actions form{margin:0}
.automation-draft-notice{margin-bottom:16px;border-color:#efc267;background:#fffaf0}.automation-draft-notice strong{color:#765315}.automation-draft-notice p{margin:5px 0 0;color:var(--muted,#647b8c)}.automation-detail-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,.6fr);gap:16px}.automation-definition dl,.automation-approval-list dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.automation-definition dl div,.automation-approval-list dl div{padding:10px;border:1px solid var(--line,#dbe7ed);border-radius:10px;background:#f8fbfd}.automation-definition dt,.automation-approval-list dt{font-size:.76rem;color:var(--muted,#647b8c)}.automation-definition dd,.automation-approval-list dd{margin:4px 0 0;font-weight:800}.automation-mini-flow{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;align-items:center;gap:9px;margin-bottom:16px}.automation-mini-flow div{display:grid;gap:4px;min-height:86px;padding:12px;border:1px solid #d9cbe8;border-radius:12px;background:#faf7fd}.automation-mini-flow span{font-size:.7rem;font-weight:900;color:#74558e}.automation-mini-flow i{font-style:normal;font-weight:900;color:#8b75a1}.automation-simulation{border:1px solid #9dd6b6;background:#f1fbf5}.automation-simulation h2{margin:5px 0}.automation-simulation form{margin-top:14px}
.automation-version-list{display:grid;gap:8px}.automation-version-list article{display:grid;grid-template-columns:120px 1fr auto;align-items:center;gap:10px;padding:10px;border:1px solid var(--line,#dbe7ed);border-radius:10px}.automation-version-list small{color:var(--muted,#647b8c)}.automation-version-list code{font-size:.75rem}
.automation-template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.automation-template-grid article{display:flex;flex-direction:column}.automation-template-grid article>div{display:flex;gap:8px;margin:auto 0 14px}.automation-template-grid article>div span{padding:6px 8px;border-radius:999px;background:#f0e9f7;color:#62427e;font-size:.75rem}.automation-template-grid form{margin-top:auto}
.automation-approval-list{display:grid;gap:12px}.automation-approval-list article header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.automation-approval-list article h2{margin:3px 0}.automation-decision{display:flex;align-items:end;justify-content:flex-end;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid var(--line,#dbe7ed)}.automation-decision label{display:grid;flex:1;gap:4px}.status.active,.status.completed,.status.approved{background:#e8f8ee;color:#17653b}.status.draft,.status.dry_run{background:#eaf5fb;color:#176184}.status.paused,.status.awaiting_approval,.status.pending{background:#fff3d8;color:#815500}.status.error,.status.failed,.status.rejected,.status.expired{background:#ffebeb;color:#982828}
@media(max-width:1100px){.automation-flow{grid-template-columns:1fr}.automation-arrow{min-height:24px;transform:rotate(90deg)}.automation-stats,.automation-template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.automation-detail-grid{grid-template-columns:1fr}}
@media(max-width:700px){.automation-stats,.automation-template-grid,.automation-definition dl,.automation-approval-list dl{grid-template-columns:1fr}.automation-boundary,.automation-builder-actions,.automation-actions,.automation-decision{align-items:stretch;flex-direction:column}.automation-mini-flow{grid-template-columns:1fr}.automation-mini-flow i{justify-self:center;transform:rotate(90deg)}.automation-version-list article{grid-template-columns:1fr}}

/* Autobahn 1.1.30.63 – Integration Hub 1.0 */
.integration-hero{background:linear-gradient(135deg,#0b3444,#0d6869);border-color:#328e8c;color:#fff}.integration-hero p{color:#d9f0ef}.integration-hero .module-chip{border-color:#82c9c4;background:#eafaf7;color:#12635f}
.integration-stats{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:16px}.integration-stats .stat{min-height:138px;border-top:4px solid #16837e}.integration-stats .stat:nth-child(2){border-top-color:#dc7c20}.integration-stats .stat:nth-child(3){border-top-color:#327ca5}.integration-stats .stat:nth-child(4){border-top-color:#684c91}
.integration-boundary{display:flex;align-items:center;justify-content:space-between;gap:20px;border-left:5px solid #16837e;background:#f2fbf9}.integration-boundary h2{margin:3px 0 6px}.integration-boundary p{max-width:920px;margin:0;color:var(--muted,#647b8c)}
.integration-catalog{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.integration-provider{display:flex;flex-direction:column;margin:0}.integration-provider header{display:flex;align-items:flex-start;gap:11px}.integration-provider header>div{min-width:0;flex:1}.integration-provider h2{margin:2px 0}.integration-provider p{min-height:68px;color:var(--muted,#647b8c)}.integration-provider>small{margin-top:auto;color:var(--muted,#647b8c)}.integration-provider-icon{display:grid;width:42px;height:42px;flex:0 0 42px;place-items:center;border:1px solid #b8ddd9;border-radius:12px;background:#eaf8f6;color:#126d68;font-size:1.1rem;font-weight:950}.integration-provider details{margin-top:auto}.integration-provider details>summary{display:inline-flex;cursor:pointer;list-style:none}.integration-provider details>summary::-webkit-details-marker{display:none}.integration-create-form{display:grid;gap:9px;margin-top:12px;padding-top:12px;border-top:1px solid var(--line,#dbe7ed)}.integration-create-form label{display:grid;gap:5px;font-weight:700}
.integration-detail-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,.6fr);gap:16px}.integration-definition{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.integration-definition div{padding:11px;border:1px solid var(--line,#dbe7ed);border-radius:10px;background:#f8fbfd}.integration-definition dt{font-size:.76rem;color:var(--muted,#647b8c)}.integration-definition dd{margin:4px 0 0;font-weight:800;overflow-wrap:anywhere}.danger-zone{margin-top:24px;padding-top:15px;border-top:1px solid #efd1d1}.danger-zone button{border-color:#e3b0b0;color:#942c2c}
.integration-secret-once{border:2px solid #d7a53b;background:#fffaf0}.integration-secret-once label{display:grid;gap:5px;margin:10px 0;font-weight:800}.integration-secret-once input{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.integration-secret-once code{overflow-wrap:anywhere}.integration-url{display:block;max-width:480px;margin-top:4px;overflow-wrap:anywhere;color:var(--muted,#647b8c)}.integration-tabs{margin-bottom:16px}.integration-tabs a.active{border-color:#16837e;background:#e8f7f5;color:#116963}.integration-provider .status,.integration-detail-grid .status{white-space:nowrap}.status.connected,.status.processed{background:#e8f8ee;color:#17653b}.status.attention,.status.retry,.status.queued,.status.processing{background:#fff3d8;color:#815500}.status.disabled,.status.rejected,.status.dead_letter{background:#ffebeb;color:#982828}
@media(max-width:1100px){.integration-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.integration-catalog{grid-template-columns:repeat(2,minmax(0,1fr))}.integration-detail-grid{grid-template-columns:1fr}}
@media(max-width:700px){.integration-stats,.integration-catalog,.integration-definition{grid-template-columns:1fr}.integration-boundary{align-items:stretch;flex-direction:column}.integration-provider p{min-height:0}}

/* Autobahn 1.1.30.64 – Analys & BI 1.0 */
.analytics-hero{background:linear-gradient(135deg,#172d55,#51448f);border-color:#7165ac;color:#fff}.analytics-hero p{color:#e8e6f7}.analytics-tabs{margin-bottom:16px}.analytics-tabs a.active{border-color:#675aa2;background:#f0edfa;color:#4a3d88}
.analytics-trust,.analytics-export,.analytics-forecast-create,.analytics-source-summary{display:flex;align-items:center;justify-content:space-between;gap:22px;border-left:5px solid #675aa2;background:#f8f7fd}.analytics-trust h2,.analytics-export h2,.analytics-forecast-create h2,.analytics-source-summary h2{margin:3px 0 6px}.analytics-trust p,.analytics-export p,.analytics-forecast-create p,.analytics-source-summary p{max-width:850px;margin:0;color:var(--muted,#647b8c)}
.analytics-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:16px}.analytics-widget{display:flex;min-height:250px;flex-direction:column;margin:0;border-top:4px solid #675aa2}.analytics-widget:nth-child(3n+2){border-top-color:#1f8094}.analytics-widget:nth-child(3n+3){border-top-color:#cf742a}.analytics-widget header,.analytics-forecast-list article>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.analytics-widget h2{margin:3px 0;font-size:1.05rem}.analytics-freshness{font-size:.72rem;color:var(--muted,#647b8c);white-space:nowrap}.analytics-value{margin:14px 0 3px;font-size:2rem;line-height:1.1}.analytics-delta{font-size:.78rem;font-weight:800}.analytics-delta.good{color:#187345}.analytics-delta.bad{color:#a33a36}.analytics-widget footer{margin-top:auto;padding-top:10px;border-top:1px solid var(--line,#dbe7ed);color:var(--muted,#647b8c);font-size:.75rem}.analytics-sparkline{width:100%;height:76px;margin:14px 0;overflow:visible}.analytics-sparkline line{stroke:#dce4eb;stroke-width:.8}.analytics-sparkline polyline{fill:none;stroke:#675aa2;stroke-width:2.4;vector-effect:non-scaling-stroke}.analytics-chart-empty{display:grid;min-height:76px;margin:14px 0;place-items:center;border:1px dashed var(--line,#dbe7ed);color:var(--muted,#647b8c)}.analytics-mini-table{display:grid;gap:5px;margin:14px 0}.analytics-mini-table span{display:flex;justify-content:space-between;gap:10px;padding:5px 0;border-bottom:1px solid var(--line,#dbe7ed);font-size:.78rem}
.analytics-export form,.analytics-forecast-create form{display:flex;align-items:end;gap:8px}.analytics-export label,.analytics-forecast-create label{display:grid;gap:4px;font-weight:700}.analytics-question form>label{display:block;margin-bottom:8px;font-size:1.1rem;font-weight:850}.analytics-question form>div{display:flex;gap:8px}.analytics-question input{min-width:0;flex:1}.analytics-question small{display:block;margin-top:8px;color:var(--muted,#647b8c)}.analytics-answer-list{display:grid;gap:10px}.analytics-answer-list article{padding:12px;border:1px solid var(--line,#dbe7ed);border-radius:12px;background:#fbfcfd}.analytics-answer-list header{display:flex;justify-content:space-between;gap:12px}.analytics-answer-list time,.analytics-answer-list small{color:var(--muted,#647b8c);font-size:.76rem}.analytics-answer-list p{margin:7px 0}
.analytics-forecast-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.analytics-forecast-list article{margin:0}.analytics-forecast-list article>header>strong{font-size:1.4rem;text-align:right}.analytics-forecast-list article>header>strong small{display:block;color:var(--muted,#647b8c);font-size:.7rem;font-weight:600}.analytics-forecast-bars{display:flex;align-items:end;gap:4px;height:150px;margin:18px 0;padding-top:8px;border-bottom:1px solid var(--line,#dbe7ed)}.analytics-forecast-bars>span{display:flex;min-width:0;height:100%;flex:1;flex-direction:column;justify-content:flex-end;align-items:center}.analytics-forecast-bars i{width:70%;height:var(--forecast-height);min-height:3px;border-radius:4px 4px 0 0;background:linear-gradient(#7568b0,#4b8fa0)}.analytics-forecast-bars small{margin-top:5px;transform:rotate(-35deg);transform-origin:center;color:var(--muted,#647b8c);font-size:.62rem}.warning-note{padding:9px;border-radius:9px;background:#fff5df;color:#765315}.analytics-forecast-list footer{color:var(--muted,#647b8c);font-size:.74rem}
.analytics-dashboard-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:16px}.analytics-dashboard-list article{display:flex;justify-content:space-between;gap:12px;margin:0}.analytics-dashboard-list article.is-default{border-top:4px solid #675aa2}.analytics-dashboard-list h2{margin:3px 0}.analytics-dashboard-list p{color:var(--muted,#647b8c)}.analytics-dashboard-list form{align-self:flex-start}.analytics-source-summary{margin-bottom:16px}.status.success{background:#e8f8ee;color:#17653b}.status.warning{background:#fff3d8;color:#815500}
@media(max-width:1100px){.analytics-grid,.analytics-dashboard-list{grid-template-columns:repeat(2,minmax(0,1fr))}.analytics-forecast-list{grid-template-columns:1fr}.analytics-export,.analytics-forecast-create{align-items:stretch;flex-direction:column}.analytics-export form,.analytics-forecast-create form{flex-wrap:wrap}}
@media(max-width:700px){.analytics-grid,.analytics-dashboard-list{grid-template-columns:1fr}.analytics-trust,.analytics-source-summary{align-items:stretch;flex-direction:column}.analytics-export form,.analytics-forecast-create form,.analytics-question form>div{align-items:stretch;flex-direction:column}.analytics-answer-list header{flex-direction:column}.analytics-forecast-bars small{display:none}}

/* Autobahn 1.1.30.65 – Control Tower, fortsatt aktiv i 1.1.30.74 */
.control-tower{margin:0 0 28px;padding:24px;border:1px solid #d9e3ee;border-radius:22px;background:linear-gradient(135deg,#f7fbff 0%,#fff 58%,#f8fafc 100%);box-shadow:0 14px 36px rgba(15,42,67,.07)}
.control-tower-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:18px}.control-tower-head h2{margin:3px 0 5px;font-size:clamp(1.35rem,2vw,1.8rem)}.control-tower-head p{max-width:720px;margin:0;color:var(--muted,#617184)}
.control-tower-summary{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.control-tower-summary span{display:flex;align-items:baseline;gap:5px;min-height:44px;padding:9px 12px;border:1px solid #dce5ee;border-radius:12px;background:#fff;color:#526273;white-space:nowrap}.control-tower-summary strong{font-size:1.15rem;color:#172b3f}.control-tower-summary .critical{border-color:#f3c7c3;background:#fff8f7}.control-tower-summary .critical strong{color:#b52820}
.control-tower-side{display:grid;gap:9px;justify-items:end}.control-tower-decision-link{color:#1c5d8f;font-size:.84rem;font-weight:800;text-decoration:none}.control-tower-decision-link:hover,.control-tower-decision-link:focus-visible{text-decoration:underline;text-underline-offset:3px}
.control-tower-personal{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:-4px 0 16px;padding:12px 14px;border:1px solid #dce5ee;border-radius:14px;background:#fff}.control-tower-personal details{min-width:min(100%,620px)}.control-tower-personal summary{cursor:pointer;color:#1c5d8f;font-weight:800}.control-tower-focus-form{display:grid;grid-template-columns:1fr auto;gap:12px;margin-top:14px}.control-tower-focus-form fieldset{grid-column:1/-1;margin:0;padding:12px;border:1px solid #dce5ee;border-radius:12px}.control-tower-focus-form fieldset p{margin:2px 0 9px;color:#64748b;font-size:.82rem}.control-tower-focus-form fieldset label{display:inline-flex;align-items:center;gap:6px;margin:3px 6px 3px 0;padding:5px 7px;border-radius:9px;background:#eef5fb}.control-tower-focus-form fieldset select{min-height:38px}.control-tower-weekly{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.control-tower-weekly span{padding:7px 10px;border-radius:10px;background:#f4f8fb;color:#526273}.control-tower-weekly strong{color:#172b3f}.control-tower-weekly small{flex-basis:100%;text-align:right;color:#64748b}
.control-tower-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.control-tower-item{position:relative;display:grid;grid-template-columns:5px minmax(0,1fr) auto;gap:14px;align-items:center;min-height:122px;padding:16px 16px 16px 0;border:1px solid #dce5ee;border-radius:16px;background:#fff;color:inherit;text-decoration:none;transition:border-color .15s ease,transform .15s ease,box-shadow .15s ease}.control-tower-item:hover,.control-tower-item:focus-visible{border-color:#8fa9bf;box-shadow:0 10px 24px rgba(15,42,67,.1);transform:translateY(-1px)}.control-tower-priority{align-self:stretch;border-radius:0 4px 4px 0;background:#64748b}.control-tower-item.kind-risk .control-tower-priority{background:#c93f35}.control-tower-item.kind-approval .control-tower-priority{background:#805ad5}.control-tower-item.kind-deadline .control-tower-priority{background:#d97706}.control-tower-item.kind-opportunity .control-tower-priority{background:#16856b}.control-tower-item small{display:block;margin-bottom:4px;color:#526273;font-size:.7rem;font-weight:800;letter-spacing:.08em}.control-tower-item h3{margin:0 0 5px;font-size:1rem}.control-tower-item p{margin:0;color:#617184;font-size:.88rem;line-height:1.45}.control-tower-action{padding-left:8px;color:#1c5d8f;font-size:.82rem;font-weight:750;white-space:nowrap}.control-tower-clear{display:flex;align-items:center;gap:14px;padding:20px;border:1px solid #bce1d5;border-radius:16px;background:#f3fbf8}.control-tower-clear>span{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#16856b;color:#fff;font-size:1.2rem}.control-tower-clear h3,.control-tower-clear p{margin:0}.control-tower-clear p{margin-top:3px;color:#587267}.control-tower-degraded{margin:12px 0 0;color:#8b5c14;font-size:.85rem}.section-heading{display:flex;align-items:end;justify-content:space-between;margin:0 0 12px}.section-heading h2{margin:3px 0 0}
@media(max-width:900px){.control-tower-list{grid-template-columns:1fr}.control-tower-head{flex-direction:column}.control-tower-side{justify-items:start}.control-tower-summary{justify-content:flex-start}.control-tower-item{grid-template-columns:5px minmax(0,1fr)}.control-tower-action{grid-column:2;padding:0}.control-tower{padding:18px}.control-tower-personal{flex-direction:column}.control-tower-weekly{justify-content:flex-start}.control-tower-weekly small{text-align:left}}
@media(max-width:560px){.control-tower-summary{display:grid;grid-template-columns:repeat(3,1fr);width:100%}.control-tower-summary span{justify-content:center;padding:8px 5px}.control-tower-item{min-height:0}.control-tower-item p{font-size:.84rem}.control-tower-focus-form{grid-template-columns:1fr}.control-tower-focus-form>*{grid-column:1}}

/* Autobahn Beslutscenter: läsande kö ovanpå modulernas egna beslutsspår. */
.decision-center{display:grid;gap:16px}.decision-center-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:28px;padding:26px;border:1px solid #d6e2ed;border-radius:22px;background:linear-gradient(135deg,#f5faff,#fff 62%);box-shadow:0 14px 34px rgba(15,42,67,.06)}.decision-center-hero h2{margin:4px 0 7px;font-size:clamp(1.45rem,2.5vw,2rem)}.decision-center-hero p{max-width:760px;margin:0;color:#5e6f80;line-height:1.55}.decision-center-total{display:grid;min-width:132px;padding:14px 16px;border-radius:16px;background:#173f5f;color:#fff;text-align:center}.decision-center-total strong{font-size:2rem;line-height:1}.decision-center-total span{margin-top:5px;font-size:.75rem;color:#dbe9f3}.decision-center-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.decision-center-stats span{display:flex;align-items:baseline;gap:7px;padding:13px 15px;border:1px solid #dde6ee;border-radius:14px;background:#fff;color:#607080}.decision-center-stats strong{font-size:1.25rem;color:#1c344a}.decision-center-filter{display:flex;align-items:end;gap:10px;padding:15px;border:1px solid #dde6ee;border-radius:16px;background:#f8fafc}.decision-center-filter label{display:grid;gap:5px;min-width:190px;color:#526273;font-size:.78rem;font-weight:750}.decision-center-filter select{min-height:42px}.decision-center-filter button{min-height:42px}.decision-center-filter>a{align-self:center;color:#315f82;font-size:.84rem;font-weight:700}.decision-center-list{display:grid;gap:11px}.decision-item{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:22px;align-items:center;overflow:hidden;padding:18px 18px 18px 22px;border:1px solid #dce5ed;border-radius:17px;background:#fff;box-shadow:0 7px 19px rgba(15,42,67,.035)}.decision-item:before{position:absolute;inset:0 auto 0 0;width:5px;background:#668096;content:""}.decision-item.risk-high:before{background:#d97706}.decision-item.risk-sensitive:before{background:#c0392f}.decision-item-meta{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:7px}.decision-item-meta span{padding:4px 7px;border-radius:7px;background:#eef3f7;color:#536879;font-size:.65rem;font-weight:850;letter-spacing:.06em}.decision-item.risk-high .decision-item-meta span:last-child{background:#fff4df;color:#945600}.decision-item.risk-sensitive .decision-item-meta span:last-child{background:#fff0ef;color:#a32720}.decision-item h3{margin:0 0 5px;font-size:1.04rem}.decision-item p{max-width:850px;margin:0;color:#607080;font-size:.89rem;line-height:1.48}.decision-item dl{display:flex;flex-wrap:wrap;gap:8px 20px;margin:13px 0 0}.decision-item dl div{display:grid;gap:2px}.decision-item dt{color:#778795;font-size:.66rem;font-weight:800;text-transform:uppercase}.decision-item dd{margin:0;color:#2a4054;font-size:.81rem;font-weight:650}.decision-item-action{display:flex;align-items:center;justify-content:space-between;gap:18px;min-width:190px;padding:11px 13px;border:1px solid #b8ccdc;border-radius:11px;color:#1d5d8c;font-size:.82rem;font-weight:800;text-decoration:none}.decision-item-action:hover,.decision-item-action:focus-visible{border-color:#547b99;background:#f2f8fc;outline:3px solid rgba(46,116,166,.14);outline-offset:2px}.decision-item-action b{font-size:1rem}.decision-center-empty{display:flex;align-items:center;gap:15px;padding:26px;border:1px solid #b9dfd2;border-radius:17px;background:#f3fbf8}.decision-center-empty>span{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#16856b;color:#fff;font-size:1.25rem}.decision-center-empty h3,.decision-center-empty p{margin:0}.decision-center-empty p{margin-top:4px;color:#5c746b}.decision-center-degraded{margin:0;padding:11px 14px;border-radius:10px;background:#fff7e8;color:#885811;font-size:.84rem}.decision-center-boundary{padding:16px 18px;border-left:4px solid #6f8799;border-radius:10px;background:#f5f7f9}.decision-center-boundary p{margin:4px 0 0;color:#607080;font-size:.86rem}
@media(max-width:900px){.decision-center-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.decision-item{grid-template-columns:1fr}.decision-item-action{min-width:0}.decision-center-filter{flex-wrap:wrap}}
@media(max-width:560px){.decision-center-hero{display:grid;padding:19px}.decision-center-total{min-width:0}.decision-center-stats{grid-template-columns:1fr 1fr}.decision-center-filter{display:grid}.decision-center-filter label{min-width:0}.decision-item{padding:16px 14px 16px 19px}.decision-item dl{display:grid;grid-template-columns:1fr 1fr}.decision-item-action{width:100%}}
.decision-queue-tabs{display:flex;flex-wrap:wrap;gap:8px}.decision-queue-tabs a{display:flex;align-items:center;gap:7px;padding:9px 12px;border:1px solid #d6e2eb;border-radius:999px;background:#fff;color:#496276;font-size:.78rem;font-weight:750;text-decoration:none}.decision-queue-tabs a[aria-current="page"]{border-color:#315f82;background:#173f5f;color:#fff}.decision-queue-tabs strong{display:grid;min-width:22px;height:22px;place-items:center;border-radius:999px;background:rgba(116,145,166,.16);font-size:.7rem}.decision-item.is-new{box-shadow:0 8px 24px rgba(32,101,151,.1)}.decision-item.is-pinned{border-color:#8eb2cb}.decision-item.is-snoozed{opacity:.72}.decision-item-triage{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:13px}.decision-item-triage button,.decision-item-triage select{min-height:34px;padding:6px 9px;border:1px solid #c8d7e2;border-radius:8px;background:#f8fbfd;color:#31556f;font-size:.74rem;font-weight:750}.decision-item-triage label{display:flex;align-items:center;gap:6px;color:#657785;font-size:.73rem;font-weight:700}.decision-item-triage small{color:#9a4c43;font-size:.72rem;font-weight:700}
@media(max-width:560px){.decision-queue-tabs{display:grid;grid-template-columns:1fr 1fr}.decision-queue-tabs a{justify-content:space-between}.decision-item-triage{display:grid;grid-template-columns:1fr 1fr}.decision-item-triage label{grid-column:1/-1}.decision-item-triage select{width:100%}}

/* Passkey och mobilens WebAuthn/QR-flöde. */
.passkey-login{margin:18px 0 14px}.passkey-primary{display:grid;width:100%;gap:4px;padding:15px 16px;border:1px solid #78a8c7;border-radius:13px;background:linear-gradient(135deg,#edf8ff,#fff);color:#123f60;text-align:left;box-shadow:0 8px 22px rgba(25,91,136,.1)}.passkey-primary strong{font-size:.95rem}.passkey-primary span{color:#59788d;font-size:.77rem;font-weight:650}.passkey-primary:hover,.passkey-primary:focus-visible{border-color:#176b9e;outline:3px solid rgba(23,107,158,.16);outline-offset:2px}.passkey-divider{display:flex;align-items:center;gap:10px;margin:15px 0 0;color:#718493;font-size:.7rem;font-weight:750;text-transform:uppercase}.passkey-divider:before,.passkey-divider:after{height:1px;flex:1;background:#dce5eb;content:""}[data-passkey-message]{min-height:18px;margin:8px 0;color:#315f7b;font-size:.78rem;font-weight:700}[data-passkey-message].error{color:#a92e28}.passkey-settings .card-head{align-items:flex-start}.passkey-settings .card-head p{max-width:760px}.passkey-list{display:grid;gap:8px;margin-top:12px}.passkey-list article{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 14px;border:1px solid #dde6ec;border-radius:12px;background:#f9fbfc}.passkey-list article div{display:grid;gap:3px}.passkey-list small{color:#687b89}.passkey-list form{margin:0}
@media(max-width:560px){.passkey-settings .card-head,.passkey-list article{display:grid}.passkey-settings .card-head button,.passkey-list article button{width:100%}}

/* Autobahn 1.1.30.80 – Core/IAM användarhantering och tenantväljare. */
.tenant-picker-card{width:min(640px,100%)}.tenant-picker-card .tenant-list form{margin:0}.tenant-choice{display:flex;width:100%;min-height:64px;align-items:center;justify-content:space-between;gap:18px;padding:13px 15px;border:1px solid #d6e2eb;border-radius:13px;background:#fff;text-align:left}.tenant-choice:hover,.tenant-choice:focus-visible{border-color:#f97316;outline:3px solid rgba(249,115,22,.14);outline-offset:2px}.tenant-choice.is-current{border-color:#9acdbf;background:#f2fbf7}.tenant-choice span{display:grid;gap:3px}.tenant-choice small{color:#66798a}.tenant-choice b{color:#245e79;font-size:.78rem;white-space:nowrap}
.iam-users{display:grid;gap:16px;min-width:0}.iam-users>.card{margin:0;min-width:0;max-width:100%}.iam-users summary{cursor:pointer}.iam-scope-boundary{border-left:4px solid #32759b;background:#f3f8fc}.iam-scope-boundary p{margin:4px 0 0}.iam-member-list{display:grid;gap:12px;margin-top:14px;min-width:0}.iam-member{min-width:0;padding:16px;border:1px solid #dce5ec;border-radius:14px;background:#fbfcfd}.iam-member>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;min-width:0}.iam-member>header div{display:grid;gap:3px;min-width:0}.iam-member>header small{color:#526978}.iam-member>details{margin-top:14px;padding-top:12px;border-top:1px solid #e2e8ee}.iam-member>details>summary{color:#225d7d;font-weight:800}.iam-member>details form{margin-top:13px}.iam-lifecycle-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;min-width:0;margin-top:14px;padding-top:14px;border-top:1px solid #e2e8ee}.iam-lifecycle-actions form{min-width:0;margin:0;padding:12px;border:1px solid #e3e8ed;border-radius:11px;background:#fff}.iam-lifecycle-actions button{width:100%}.iam-users fieldset{min-width:0;margin:0;padding:13px;border:1px solid #dce5ec;border-radius:12px}.iam-users fieldset>small{display:block;margin-top:8px;color:#526978}.iam-users legend{padding:0 5px;color:#344054;font-size:.82rem;font-weight:800}.iam-users .check{display:flex;flex-direction:row;align-items:center;align-self:end;min-height:44px}.iam-users .check input{width:auto}.iam-users input,.iam-users select,.iam-users textarea{min-width:0;max-width:100%}.iam-users .table-wrap{min-width:0;max-width:100%;overflow-x:auto}.iam-users small,.iam-users p{overflow-wrap:anywhere}.iam-users .callout input{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}
@media(max-width:700px){.iam-lifecycle-actions{grid-template-columns:1fr}.iam-member>header{display:grid}.tenant-choice{align-items:flex-start}.iam-users .feature-grid{grid-template-columns:1fr}}
/* #844: utvecklingsarbetsytans förhandsvisning syns och kan lämnas. */
.workbench-preview-leave{flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;margin:0;padding:8px 16px;background:#fff7ed;border-bottom:2px solid var(--accent);color:#7c2d12;font-size:.875rem;font-weight:700}.workbench-preview-leave button{padding:6px 12px;background:#7c2d12;color:#fff}
