
:root{--bg:#f5f7f8;--surface:#fff;--surface-soft:#f9fafb;--ink:#1c2c35;--muted:#76838b;--line:#e7ecef;--teal:#168575;--teal-deep:#116857;--teal-soft:#edf7f3;--green:#16765c;--red:#ba5b49;--red-soft:#fcf0ec;--sidebar:#132827;--radius:16px;--shadow:0 3px 16px #203d3010;--font:Inter,"Segoe UI",system-ui,-apple-system,sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px var(--font);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}button,summary{cursor:pointer}button{color:inherit}button:disabled{opacity:.4;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid #d0a44c;outline-offset:4px}button{transition:background .18s,box-shadow .18s,transform .18s}a{color:var(--teal)}.hidden{display:none!important}.icon{width:19px;height:19px;flex-shrink:0;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.skip{position:fixed;left:20px;top:-100px;z-index:100;background:var(--surface);padding:12px;border-radius:8px}.skip:focus{top:15px}
.layout{display:grid;grid-template-columns:236px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;background:var(--sidebar);color:#d9e6e0;padding:33px 19px 18px;z-index:40}.brand{display:flex;align-items:center;gap:12px;padding:0 13px 34px}.brand-mark{color:#f4faf7;font-size:35px;line-height:1;font-weight:850;letter-spacing:-2px}.brand-mark b{color:#7dc9aa}.brand-divider{width:1px;height:32px;background:#ffffff25}.brand-name{font-size:10px;line-height:1.65;letter-spacing:1.4px;font-weight:600;color:#abbfb6}.nav-label{padding:17px 14px 12px;font-size:9px;letter-spacing:1.7px;font-weight:650;color:#829d91}.sidebar nav{display:flex;flex-direction:column;gap:5px}.sidebar nav button{display:flex;align-items:center;gap:12px;text-align:left;width:100%;border:0;padding:12px 14px;background:transparent;color:#a8beb4;border-radius:9px;font-size:12px;font-weight:500;min-height:43px}.sidebar nav button:hover{background:#ffffff08;color:#fff}.sidebar nav button.active{background:#2b4b3d;color:#e1f8e9;box-shadow:inset 3px 0 #9cdbb4}.sidebar nav button.active .icon{color:#9edcb9}.nav-count{font-size:10px;background:#ffffff0d;padding:3px 7px;margin-left:auto;border-radius:5px}.sidebar-spacer{flex:1;min-height:30px}.connection-card{background:#ffffff06;border:1px solid #ffffff0d;border-radius:11px;margin:0 7px 19px;padding:14px 12px}.connection-heading{font-size:11px;font-weight:600;display:flex;gap:7px;align-items:center;color:#c9dace}.dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#78bb96;flex-shrink:0}.connection-card p{font-size:10px;line-height:1.7;margin:7px 0 0;color:#8ba69a}.sidebar-profile{border-top:1px solid #ffffff0c;padding:17px 9px 0;display:flex;gap:10px;align-items:center}.avatar{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;font-size:10px;letter-spacing:1px;background:#32533f;color:#c2dfbc;font-weight:700}.profile-name{font-size:11px;font-weight:550;color:#d7e4dc}.profile-role{font-size:10px;color:#829e8f;margin-top:4px}.profile-login{background:none;border:0;color:#93b3a1;margin-left:auto;padding:5px}.profile-login .icon{width:16px}.mobile-backdrop{display:none}
.workspace{min-width:0}.topbar{height:76px;border-bottom:1px solid var(--line);background:var(--surface);display:flex;align-items:center;justify-content:space-between;padding:0 38px;gap:14px}.breadcrumbs{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:11px}.breadcrumbs .icon{width:15px;height:15px}.breadcrumbs strong{font-weight:500;color:var(--ink)}.breadcrumbs .slash{color:#bdc8cc}.topbar-right{display:flex;align-items:center;gap:14px}.date-label{font-size:10px;color:var(--muted);white-space:nowrap}.demo-pill{font-size:9px;font-weight:650;letter-spacing:.5px;background:var(--teal-soft);color:var(--green);padding:6px 9px;border:1px solid #1f8d6420;border-radius:5px}.top-divider{height:22px;width:1px;background:var(--line)}.icon-btn{border:1px solid var(--line);width:33px;height:33px;background:var(--surface);border-radius:9px;display:inline-grid;place-items:center;position:relative}.icon-btn:hover{background:var(--surface-soft)}.icon-btn .icon{width:16px;height:16px;color:var(--muted)}.notification-dot{position:absolute;width:5px;height:5px;background:var(--teal);border-radius:50%;top:6px;right:7px;border:1px solid var(--surface)}.mobile-menu{display:none}
main{width:100%;max-width:1700px;margin:0 auto;padding:32px 38px 24px;min-width:0}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:27px}.eyebrow{font-size:9px;letter-spacing:1.4px;font-weight:650;color:var(--teal);line-height:1.5}.heading-date{display:flex;align-items:center;gap:7px;font-size:10px;color:var(--muted);margin-bottom:9px}.heading-date span:first-child{width:17px;height:1px;background:var(--teal)}h1{font-size:30px;font-weight:650;letter-spacing:-1.05px;margin:0 0 9px;line-height:1.2}h2{font-size:14px;font-weight:650;letter-spacing:-.25px;margin:0}h3{font-size:14px;line-height:1.5}.subtitle{color:var(--muted);font-size:12px;line-height:1.6;margin:0}.heading-actions{display:flex;align-items:center;gap:8px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:8px;padding:10px 13px;font-size:11px;font-weight:550;min-height:36px;white-space:nowrap}.btn .icon{width:15px;height:15px}.btn:hover{background:var(--surface-soft);box-shadow:0 2px 7px #23352b06}.btn.primary{background:var(--teal);border-color:var(--teal);color:#fff;box-shadow:0 3px 7px #16857512}.btn.primary:hover{background:var(--teal-deep)}.btn.quiet{background:transparent;border-color:transparent;color:var(--muted)}.btn.small{padding:7px 9px;min-height:30px;font-size:10px}.tools{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:18px 0}.status{display:flex;gap:9px;align-items:center;color:var(--muted);font-size:10px;line-height:1.65;white-space:pre-wrap;min-height:20px;margin-top:13px;overflow-wrap:anywhere}.status:empty{display:none}.status:before{content:"";height:5px;width:5px;min-width:5px;border-radius:50%;background:var(--teal)}.status.error{padding:13px 15px;background:var(--red-soft);color:var(--red);border:1px solid #ba5b4915;border-radius:8px;font-size:12px}.status.error:before{background:var(--red)}.context-row{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:21px}.context-left{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.entity-select{display:flex;align-items:center;gap:8px}.entity-select .icon{width:16px;height:16px;color:var(--muted)}select,input,textarea{border:1px solid var(--line);border-radius:8px;padding:10px;background:var(--surface);color:var(--ink)}select{font-size:11px;max-width:100%}#entity{padding:8px 26px 8px 9px;font-weight:600;min-height:34px;max-width:160px}.period-tabs{display:flex;border:1px solid var(--line);border-radius:8px;background:var(--surface);padding:3px;gap:2px}.period-tabs button{border:0;border-radius:5px;padding:7px 12px;background:transparent;color:var(--muted);font-size:10px;font-weight:550;white-space:nowrap}.period-tabs button.active{background:var(--teal-soft);color:var(--teal-deep)}.context-right{display:flex;align-items:center;gap:7px}.source-time{font-size:10px;color:var(--muted);white-space:nowrap;margin-right:6px}.more-menu{position:relative}.more-menu summary{list-style:none}.more-menu summary::-webkit-details-marker{display:none}.menu-items{position:absolute;right:0;top:40px;background:var(--surface);border:1px solid var(--line);padding:6px;min-width:190px;box-shadow:0 12px 30px #102a2418;border-radius:10px;z-index:20}.menu-items button{background:transparent;border:0;border-radius:6px;width:100%;text-align:left;padding:11px;display:flex;gap:9px;align-items:center;font-size:11px}.menu-items button:hover{background:var(--surface-soft)}.menu-items .icon{width:15px}.progress{height:2px;overflow:hidden;border-radius:3px;margin-top:-9px;margin-bottom:7px;background:transparent}.progress div{background:var(--teal);height:100%;width:0;opacity:.45}.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:20px 20px 17px;min-width:0;box-shadow:0 2px 4px #243e2f02;position:relative;overflow:hidden}.card-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:19px}.label{font-size:11px;font-weight:500;color:#6e7e83}.kpi-icon{width:28px;height:28px;background:var(--surface-soft);border:1px solid var(--line);border-radius:8px;display:grid;place-items:center;color:var(--muted)}.kpi-icon .icon{width:14px;height:14px}.value{font-size:31px;font-weight:650;letter-spacing:-1px;font-variant-numeric:tabular-nums;line-height:1.25;white-space:nowrap;margin-bottom:16px}.value small{font-size:14px;font-weight:450;letter-spacing:-.1px;color:var(--muted);margin-left:3px}.card-foot{display:flex;align-items:center;gap:7px;min-height:19px;font-size:9px;color:var(--muted)}.chip{display:inline-flex;align-items:center;gap:3px;background:var(--teal-soft);color:var(--green);padding:4px 6px;border-radius:4px;font-size:9px;font-weight:600;white-space:nowrap}.chip .icon{width:10px;height:10px}.chip.bad{background:var(--red-soft);color:var(--red)}.card.highlight{background:var(--teal-soft);border-color:#d8eae3}.card.highlight .label{color:var(--green)}.card.highlight .kpi-icon{background:#ffffff75;border-color:#16857515;color:var(--teal)}.card.highlight .value{color:var(--teal-deep)}.negative{color:var(--red)!important}.hero{transition:opacity .2s,transform .2s}.hero.fade{opacity:0;transform:translateY(4px)}.two{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(265px,1fr);gap:21px;margin-bottom:21px;align-items:stretch}.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:23px;min-width:0}.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:21px}.panel-heading p{color:var(--muted);font-size:10px;margin:7px 0 0;line-height:1.5}.panel-action{color:var(--teal);background:none;border:0;display:inline-flex;align-items:center;gap:6px;font-size:10px;white-space:nowrap;padding:2px}.panel-action .icon{width:14px;height:14px}.chart-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.legend{display:flex;gap:15px;font-size:9px;color:var(--muted);flex-wrap:wrap}.legend span{display:inline-flex;align-items:center;gap:6px}.legend i{width:6px;height:6px;border-radius:2px;display:inline-block}.chart-select{padding:6px 8px;border-radius:6px;font-size:9px;max-width:130px}.financial-chart{width:100%;height:238px;display:block;overflow:visible}.chart-grid{stroke:var(--line);stroke-dasharray:3 4;stroke-width:1}.chart-label{font:10px var(--font);fill:var(--muted)}.chart-num{font:9px var(--font);fill:var(--muted);font-variant-numeric:tabular-nums}.chart-bar{transition:opacity .2s}.chart-bar:hover,.chart-bar:focus{opacity:.7;outline:none}.chart-note{font-size:9px;color:var(--muted);line-height:1.6;margin:6px 0 0}.chart-note .icon{width:11px;height:11px;margin-right:4px}.chart-tooltip{min-height:16px;color:var(--teal);font-size:10px;margin:0 0 3px}.news{position:relative;display:flex;flex-direction:column;overflow:hidden}.news-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.news-kicker{display:inline-flex;align-items:center;gap:6px;color:var(--teal);font-size:9px;font-weight:600;letter-spacing:1px}.news-kicker .icon{width:13px;height:13px}.news-date{font-size:9px;color:var(--muted);display:flex;align-items:center;gap:6px}.news-tag{font-size:9px;background:var(--teal-soft);color:var(--green);border-radius:4px;padding:4px 7px;display:inline-block;align-self:flex-start;margin-bottom:12px}.news h3{font-size:18px;font-weight:600;letter-spacing:-.45px;line-height:1.45;margin:0 0 10px;max-width:330px}.portal-news-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;color:var(--muted);line-height:1.85;margin:0 0 16px}.news-rule{height:1px;background:var(--line);margin:4px 0 18px}.news-footer{margin-top:auto;display:flex;align-items:center;justify-content:space-between;padding-top:18px;border-top:1px solid var(--line);gap:8px}.news-navigation{display:flex;gap:5px;align-items:center}.news-navigation button{width:26px;height:26px;border:1px solid var(--line);border-radius:6px;background:var(--surface);display:grid;place-items:center;color:var(--muted);padding:0}.news-navigation .icon{width:12px;height:12px}.news-count{color:var(--muted);font-size:9px;margin-top:12px;line-height:1.5}.dashboard-bottom{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(265px,1fr);gap:21px}.table-panel{padding:23px 0 5px;overflow:hidden}.table-panel .panel-heading,.table-panel .table-tools{margin-left:23px;margin-right:23px}.table-tools{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:14px}.table-tabs{display:flex;gap:15px;flex-wrap:wrap}.table-tabs button{padding:6px 0;border:0;border-bottom:2px solid transparent;background:none;color:var(--muted);font-size:10px}.table-tabs button.active{color:var(--teal);border-bottom-color:var(--teal);font-weight:600}.search-field{display:flex;align-items:center;gap:6px;max-width:145px}.search-field .icon{width:12px;height:12px;color:var(--muted)}.search-field input{padding:6px 0;border:0;min-width:0;width:100%;font-size:10px;background:transparent}.search-field input::placeholder{color:var(--muted)}.scroll{overflow:auto;scrollbar-width:thin;scrollbar-color:#c3d6cc transparent}table{width:100%;border-collapse:collapse;font-size:10px;font-variant-numeric:tabular-nums}td,th{padding:12px 15px;text-align:right;border-bottom:1px solid var(--line);white-space:nowrap}td:first-child,th:first-child{text-align:left;padding-left:23px}td:last-child,th:last-child{padding-right:23px}th{font-size:11px;font-weight:600;letter-spacing:.25px;color:var(--muted);background:var(--surface-soft)}td:first-child{font-weight:500}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:var(--surface-soft)}tr.total{background:var(--teal-soft);font-weight:650}tr.total td{color:var(--teal-deep)}.variance{display:inline-block;padding:3px 5px;border-radius:4px;background:var(--teal-soft);color:var(--green);font-size:9px}.variance.bad{background:var(--red-soft);color:var(--red)}.muted{font-size:11px;color:var(--muted);line-height:1.75}.cost-panel{padding-bottom:22px}.donut-wrapper{position:relative;width:176px;height:176px;margin:7px auto 23px}.donut{width:176px;height:176px;transform:rotate(-90deg)}.donut-center{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px}.donut-center small{font-size:9px;color:var(--muted)}.donut-center strong{font-size:24px;letter-spacing:-.6px;font-weight:600}.donut-center span{font-size:9px;color:var(--muted)}.cost-legend{display:grid;gap:14px}.cost-line{display:flex;align-items:center;gap:8px;font-size:10px}.cost-line i{width:7px;height:7px;border-radius:2px;flex-shrink:0}.cost-line span{color:var(--muted)}.cost-line b{font-size:10px;font-weight:550;margin-left:auto;font-variant-numeric:tabular-nums}.cost-note{padding-top:18px;margin-top:20px;border-top:1px solid var(--line);font-size:9px;color:var(--muted);line-height:1.65}.footer{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-top:24px;padding-top:18px;border-top:1px solid var(--line);font-size:9px;color:var(--muted);line-height:1.8}.footer-brand{color:var(--ink);font-weight:600;white-space:nowrap}.footer span:last-child{text-align:right}.tables{display:grid;gap:20px}.empty{padding:40px 20px;text-align:center;color:var(--muted);font-size:12px;line-height:1.7}.stack,.portal-form{display:grid;gap:18px;max-width:760px}.stack label,.portal-form label{display:grid;gap:8px;font-size:12px}.stack input[type=number]{max-width:150px}.check{display:flex;gap:9px;align-items:center;font-size:12px;margin-top:22px}input[type=checkbox]{accent-color:var(--teal);width:15px;height:15px}.form-intro{font-size:12px;color:var(--muted);line-height:1.8;max-width:700px;margin:12px 0 25px}.form-heading{display:flex;align-items:center;gap:12px;margin-bottom:9px}.form-heading .kpi-icon{width:36px;height:36px}.form-heading h2{font-size:18px}.settings-block{padding:18px 0;border-bottom:1px solid var(--line)}#editor input[type=number]{width:160px;text-align:right}#edit .tools{margin-bottom:0}.portal-note{background:#f9f3e6;border:1px solid #e7d5ad55;color:#8c7445;border-radius:9px;padding:14px;font-size:11px;line-height:1.7;margin:16px 0}.portal-news-body{overflow-wrap:anywhere}.portal-form textarea{min-height:130px;width:100%;line-height:1.7}.portal-scroll{max-height:65vh;overflow:auto}.portal-grid td{white-space:normal;min-width:110px;max-width:400px;overflow-wrap:anywhere}.portal-grid th{position:sticky;top:0}.portal-links{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.login-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,.8fr);gap:60px;max-width:920px;margin:10px auto;padding:20px 0}.login-art{border-radius:16px;background:var(--teal-soft);padding:40px 30px;display:flex;flex-direction:column;justify-content:center}.login-art .icon{width:40px;height:40px;color:var(--teal);margin-bottom:25px}.login-art h3{font-size:23px;font-weight:600;letter-spacing:-.5px;margin:0 0 15px}.login-art p{font-size:12px;color:var(--muted);line-height:1.85;margin:0}.portal-title{display:flex;align-items:center;gap:12px;margin-bottom:10px}.portal-title .kpi-icon{width:38px;height:38px}.portal-title h2{font-size:19px;letter-spacing:-.5px}#portalPanel{min-height:320px}#portalPanel>h2{font-size:19px;margin:0 0 14px}#portalPanel .panel{margin-top:18px}.news-list-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}.news-list-item{border-left:3px solid var(--teal)!important}.news-list-item h2{font-size:16px!important}.news-list-item .portal-news-body{font-size:12px;margin-top:12px}.skeleton{height:24px;width:70%;border-radius:6px;background:var(--surface-soft);animation:pulse 1.5s infinite}.skeleton.short{width:40%}@keyframes pulse{50%{opacity:.4}}
html[data-theme=dark]{--bg:#111c20;--surface:#19262b;--surface-soft:#1d2c31;--ink:#e1eae7;--muted:#8ea19f;--line:#2c3b40;--teal:#65b7a3;--teal-deep:#a4dbbf;--teal-soft:#223d35;--green:#9ed5b5;--red:#e19382;--red-soft:#402e2a;--sidebar:#10231f}.card.highlight{box-shadow:none}html[data-theme=dark] .label{color:var(--muted)}html[data-theme=dark] .btn.primary{color:#102a22}html[data-theme=dark] .card.highlight .kpi-icon{background:#ffffff05}html[data-theme=dark] .card.highlight .label{color:var(--green)}html[data-theme=dark] .portal-note{background:#382f20;color:#e5cea3}html[data-theme=dark] .card.highlight{border-color:var(--line)}
@media(min-width:1600px){main{padding-top:38px}.financial-chart{height:280px}.card{padding:23px}.value{font-size:36px}.panel{padding:26px}.table-panel{padding:26px 0 5px}.news h3{font-size:21px}}
@media(max-width:1200px){.layout{grid-template-columns:210px minmax(0,1fr)}.sidebar{padding-left:13px;padding-right:13px}.topbar{padding:0 25px}main{padding:27px 25px}.kpis{gap:11px}.card{padding:16px 14px}.value{font-size:26px}.value small{font-size:12px}.card-foot{font-size:8px;gap:5px}.two,.dashboard-bottom{grid-template-columns:minmax(0,1.6fr) minmax(240px,1fr);gap:16px}.panel{padding:19px}.table-panel{padding:19px 0 5px}.source-time{display:none}.date-label{display:none}.chart-label{font-size:10px}.table-tools{flex-wrap:wrap}.table-panel .panel-heading,.table-panel .table-tools{margin-left:19px;margin-right:19px}}
@media(max-width:1000px){.kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.card{padding:20px}.value{font-size:31px}.card-top{margin-bottom:14px}.card-foot{font-size:9px}.two,.dashboard-bottom{grid-template-columns:minmax(0,1fr)}.news h3{max-width:100%}.news-header{margin-bottom:17px}.news{min-height:280px}.cost-panel{display:grid;grid-template-columns:1fr 1fr;column-gap:24px}.cost-panel .panel-heading{grid-column:1/-1}.cost-panel .cost-note{grid-column:1/-1}.cost-panel .donut-wrapper{margin:auto}.cost-legend{align-content:center}.page-heading{align-items:flex-start}.heading-actions{gap:6px}.heading-actions .btn{font-size:0;gap:0;padding:10px}.heading-actions .btn .icon{width:16px;height:16px}.heading-actions .btn.primary{font-size:10px;gap:7px}.context-row{align-items:flex-end}.context-left{gap:8px}.period-tabs button{padding:7px 8px}.topbar{height:66px}}
@media(max-width:720px){.layout{display:block}.sidebar{position:fixed;left:0;top:0;width:238px;transform:translateX(-100%);transition:transform .22s;height:100dvh}.nav-open .sidebar{transform:translateX(0)}.nav-open{overflow:hidden}.nav-open .mobile-backdrop{display:block;position:fixed;inset:0;background:#0a1e2266;z-index:35;border:0}.mobile-menu{display:inline-grid}.topbar{padding:0 18px;gap:10px;height:64px}.breadcrumbs{gap:8px;font-size:10px}.breadcrumbs .icon,.breadcrumbs .workspace-crumb,.breadcrumbs .slash{display:none}.topbar-right{gap:9px}.top-divider{display:none}main{padding:24px 18px}.page-heading{gap:10px;margin-bottom:23px}h1{font-size:27px}.subtitle{font-size:11px;max-width:240px}.heading-actions .btn.primary{font-size:0;gap:0}.heading-date{font-size:9px}.context-row{margin-bottom:17px;align-items:center}.context-left{gap:12px}.entity-select .icon{display:none}.period-tabs button{font-size:9px;padding:7px 8px}.context-right{gap:4px}.context-right>.btn{padding:6px;width:29px;height:29px;min-height:0;font-size:0;gap:0}.context-right>.btn .icon{width:13px;height:13px}.context-right .icon-btn{width:29px;height:29px}.context-right #cycle{display:none}.kpis{gap:10px;margin-bottom:17px}.card{border-radius:12px;padding:15px}.label{font-size:10px}.kpi-icon{width:24px;height:24px;border-radius:7px}.card-top{margin-bottom:15px}.value{font-size:27px;letter-spacing:-.8px;margin-bottom:12px}.value small{font-size:12px}.card-foot{font-size:8px;flex-wrap:wrap;gap:5px;min-height:25px}.chip{font-size:8px}.two{margin-bottom:17px}.two,.dashboard-bottom{gap:17px}.panel{border-radius:13px;padding:19px}.table-panel{padding:19px 0 5px}.chart-tools{flex-wrap:wrap}.legend{font-size:8px;gap:10px}.financial-chart{height:225px}.chart-label{font-size:10px}.news{min-height:285px}.table-panel .panel-heading{margin-bottom:12px}.table-tools{gap:8px}.table-tabs{gap:15px}.table-tabs button{font-size:9px}.cost-panel{padding:19px;column-gap:10px}.donut-wrapper,.donut{width:145px;height:145px}.donut-center strong{font-size:21px}.cost-line{font-size:9px;gap:5px}.cost-line b{font-size:9px}.cost-legend{gap:15px}.footer{font-size:8px;gap:15px}.footer span:last-child{max-width:220px}#editor input[type=number]{width:125px}.login-layout{grid-template-columns:1fr;gap:25px;padding:5px}.login-art{padding:25px}.login-art .icon{display:none}.login-art h3{font-size:18px}.form-heading h2{font-size:16px}.form-intro{font-size:11px}.date-label{display:none}.portal-form{gap:15px}}
@media(max-width:380px){main{padding-left:13px;padding-right:13px}.card{padding:13px}.value{font-size:24px}.value small{font-size:10px}.period-tabs button{padding:7px 6px}.entity-select select{max-width:130px!important}.context-right{display:none}.cost-panel{display:block}.cost-panel .donut-wrapper{margin:0 auto 20px}.cost-note{margin-top:20px}.topbar-right{gap:6px}.brand{padding-bottom:22px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{body{background:#fff;color:#222}.sidebar,.topbar,.heading-actions,.context-row,.tools,.status,.progress,.search-field,.panel-action,.news-navigation,.table-tabs,.footer,.mobile-backdrop{display:none!important}.layout{display:block}main{padding:0;max-width:none}.card,.panel{box-shadow:none;break-inside:avoid}.kpis{grid-template-columns:repeat(4,1fr)}.two,.dashboard-bottom{grid-template-columns:1fr}.scroll{overflow:visible}td,th{padding:8px}.value{font-size:24px}.news{min-height:0}}
@keyframes columnGrow{from{transform:scaleY(0)}to{transform:scaleY(1)}}.animated-column{transform-box:fill-box;transform-origin:center bottom;animation:columnGrow .65s cubic-bezier(.22,1,.36,1)}
.brand-with-logo{flex-direction:column;align-items:stretch;gap:12px;padding:0 7px 26px}.brand-logo-link{display:block;background:#fff;border-radius:8px;padding:10px;line-height:0}.brand-logo{display:block;width:100%;height:auto;object-fit:contain}.brand-with-logo .brand-name{text-align:center;font-size:9px;letter-spacing:2px}
.kpi-comparisons{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.kpi-comparisons>.card-foot{flex-wrap:wrap}.kpi-comparisons>.week-change{margin-left:auto;justify-content:flex-end;text-align:right}.heading-brand{display:flex;align-items:center;gap:24px;min-width:0}.heading-logo{display:block;width:175px;height:auto;flex-shrink:0;object-fit:contain;background:#fff;padding:10px;border-radius:8px}@media(max-width:1000px){.heading-brand{gap:16px}.heading-logo{width:135px}}@media(max-width:720px){.heading-brand{align-items:flex-start;flex-direction:column;gap:16px}.heading-logo{width:145px}}
.nemitek-update{display:flex;align-items:center;gap:20px;padding:18px 22px;margin:0 0 22px;background:var(--surface);border:1px solid var(--line);border-left:4px solid var(--teal);border-radius:12px}.nemitek-badge{color:var(--teal-deep);font-size:17px;font-weight:750;letter-spacing:1px;flex-shrink:0}.nemitek-badge span{display:block;font-size:8px;letter-spacing:2px;margin-top:4px;color:var(--muted)}.nemitek-copy{min-width:0;flex:1}.nemitek-copy a{display:block;color:var(--ink);font-size:15px;font-weight:650;line-height:1.5;text-decoration:none}.nemitek-copy a:hover{text-decoration:underline;color:var(--teal)}.nemitek-copy>span{display:block;color:var(--muted);font-size:10px;margin-top:5px}.nemitek-arrow{color:var(--teal);font-size:24px}@media(max-width:720px){.nemitek-update{padding:15px;gap:12px}.nemitek-badge{font-size:13px}.nemitek-copy a{font-size:12px}}
.nemitek-copy{overflow:hidden}.nemitek-track{display:flex;gap:48px;width:max-content;animation:nemitek-scroll var(--news-duration,45s) linear infinite}.nemitek-track a{white-space:nowrap}.nemitek-update:hover .nemitek-track,.nemitek-update:focus-within .nemitek-track{animation-play-state:paused}@keyframes nemitek-scroll{from{transform:translateX(15vw)}to{transform:translateX(-100%)}}@media(prefers-reduced-motion:reduce){.nemitek-track{animation:none;width:auto;flex-wrap:wrap;gap:10px}.nemitek-track a{white-space:normal}}

[hidden]{display:none!important}.page article{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:24px;margin-bottom:20px}.page form{display:grid;gap:18px;max-width:850px}.page form label,.auth label{display:flex;flex-direction:column;gap:8px;font-size:12px;color:var(--muted)}.page form label.check{flex-direction:row;align-items:center}.page article p{color:var(--muted);font-size:12px;line-height:1.8}.page article button:not(.panel-action):not(.icon-btn){border:1px solid var(--line);border-radius:8px;background:var(--surface);padding:9px 13px;color:var(--ink)}.page button.primary{background:var(--teal);color:var(--surface)}.actions{display:flex;flex-wrap:wrap;gap:10px}.rights-row{display:grid;grid-template-columns:1fr 180px;align-items:center;gap:15px;padding:9px 0}#rights,#files{border:1px solid var(--line);border-radius:8px;padding:15px}#files{display:grid;gap:12px}#invite{padding:18px;background:var(--teal-soft);margin-top:20px}#inviteLink{width:100%}.edit-cell{display:flex;justify-content:flex-end;gap:7px}.edit-cell input{width:125px;text-align:right}pre{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--red);font-size:12px}.auth{width:calc(100% - 32px);max-width:430px;margin:8vh auto;padding:35px;background:var(--surface);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}.auth img{width:190px;background:white;border-radius:8px;padding:10px}.auth p{color:var(--muted);font-size:12px;line-height:1.8}.auth form{display:grid;gap:20px}.auth button{border:0;border-radius:8px;padding:12px;background:var(--teal);color:white}#authError{color:var(--red)}.news-track{display:flex;width:max-content;gap:45px;white-space:nowrap;animation:newsMove 55s linear infinite}#news{overflow:hidden;flex:1;min-width:0}.nemitek-update:hover .news-track,.nemitek-update:focus-within .news-track{animation-play-state:paused}.news-track a{text-decoration:none;color:var(--ink);font-size:13px;font-weight:550}@keyframes newsMove{from{transform:translateX(10vw)}to{transform:translateX(-100%)}}.pc-news{display:flex;flex-direction:column;min-height:335px;position:relative;overflow:hidden}.pc-news .news-title{font-size:26px;line-height:1.25;margin:25px 0 12px;max-width:300px}.pc-news p{font-size:12px;line-height:1.8;color:var(--muted);max-width:330px}.pc-news footer{margin-top:auto;padding-top:20px;display:flex;justify-content:space-between;font-size:10px;color:var(--muted)}.pc-news .eyebrow{color:var(--teal)}.card .kpi-foot{font-size:9px;display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;color:var(--muted);min-height:23px}.card .kpi-foot span:last-child{margin-left:auto;text-align:right}.card .kpi-foot span:first-child:not(:empty){color:var(--green);background:var(--teal-soft);padding:4px 6px;border-radius:5px}.positive{color:var(--green)}.data-hint{font-size:10px;color:var(--muted);margin:12px 0}.pc-admin-tabs{display:flex;gap:8px;margin-bottom:20px}.pc-admin-tabs button{border:1px solid var(--line);background:var(--surface);padding:10px;border-radius:8px}.sidebar-profile #who{font-size:10px;max-width:128px;overflow-wrap:anywhere}.sidebar nav button.selected{background:#2b4b3d;color:#e1f8e9;box-shadow:inset 3px 0 #9cdbb4}.sidebar-profile button{background:none;border:0;color:#b8ccbf;font-size:10px}.period-tabs button.selected{background:var(--teal-soft);color:var(--teal-deep)}.financial-chart .animated-column{transform-origin:bottom;animation:columnEnter 1.1s ease both}@keyframes columnEnter{from{opacity:.3;transform:scaleY(.05)}to{opacity:1;transform:scaleY(1)}}.scroll th{font-size:14px;font-weight:650}.donut-wrapper{position:relative}.panel-title-row{display:flex;align-items:center;gap:10px}#chartMetric{max-width:150px}@media(prefers-reduced-motion:reduce){.news-track,.financial-chart .animated-column{animation:none}.news-track{width:auto;flex-wrap:wrap;white-space:normal}}@media(max-width:720px){.rights-row{grid-template-columns:1fr 120px}.pc-news{min-height:270px}.pc-news .news-title{font-size:23px}.heading-brand{flex-direction:row}.heading-actions{flex-wrap:wrap;justify-content:flex-end}}
.legend-actual{background:#287d67}.legend-budget{background:#a4c8b8}.legend-forecast{background:#dce9e0}#costs{display:contents}.page #chartUnit{font-size:9px}.donut-center{pointer-events:none}.table-tabs{flex-wrap:wrap}.table-tabs button{white-space:nowrap}.auth h1{font-size:28px}#pageTitle{font-size:22px}.pc-admin-tabs{margin-bottom:20px}.page button.small{font-size:10px}
.cost-color-0{background:#287d67}.cost-color-1{background:#a4c8b8}.cost-color-2{background:#d2b473}.cost-color-3{background:#405c5a}

.company-brand{display:flex;flex-direction:column;align-items:center;gap:5px}.company-logo-name{font-size:11px;color:var(--muted);font-weight:550}.heading-logo{width:175px;height:90px;object-fit:contain;background:#fff;transition:opacity .2s}.history-controls{display:flex;gap:12px;align-items:end;margin-bottom:20px}.history-controls label{display:grid;gap:7px;font-size:11px}.history-controls+ p{line-height:1.7}#displayForm{max-width:550px;display:grid;gap:20px}#displayForm label{display:grid;gap:8px;font-size:12px}#displayForm label.check{display:flex;align-items:center}#displayForm input[type=number]{max-width:160px}.more-menu .menu-items{z-index:60}.more-menu .menu-items button{font-size:11px}#historyData table{min-width:550px}@media(max-width:720px){.heading-logo{width:145px;height:75px}.history-controls{align-items:stretch;flex-direction:column}}

#editForm{display:grid;gap:18px;margin-top:20px}#editForm input[type=number]{width:100%;min-width:100px;max-width:210px;text-align:right;padding:10px 12px;font-variant-numeric:tabular-nums}#editForm td{padding-top:13px;padding-bottom:13px}#editForm .check{display:flex;align-items:center;gap:9px;font-size:12px}#editForm input[disabled]{background:var(--surface-soft);color:var(--muted);opacity:.8}.edit-company-label{display:grid;gap:8px;max-width:300px;font-size:11px;color:var(--muted)}#editMessage:empty{display:none}#editForm button:disabled{opacity:.4;cursor:not-allowed}

.rotation-button{border:1px solid var(--teal);color:var(--teal-deep);background:var(--teal-soft);font-weight:650;min-width:115px}.rotation-button[aria-pressed=true]{background:var(--teal);color:var(--surface)}.result-controls{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin-bottom:20px}.result-controls label{display:grid;gap:8px;font-size:11px;color:var(--muted)}.result-controls input{width:105px}.page button.danger{color:var(--red);border-color:var(--red)}.aggregate-right{padding:12px;background:var(--teal-soft);border-radius:8px}#historicalDocument{border:1px solid var(--line);padding:20px;border-radius:12px;margin-bottom:20px}#historicalDocument iframe{width:100%;height:80vh;border:0}.source-link{font-size:12px}table .period-divider{border-left:1px solid var(--line)}

.rotation-button{border:1px solid var(--teal);color:var(--teal-deep);background:var(--teal-soft);font-weight:650;min-width:115px}.rotation-button[aria-pressed=true]{background:var(--teal);color:var(--surface)}.result-controls{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin-bottom:20px}.result-controls label{display:grid;gap:8px;font-size:11px;color:var(--muted)}.result-controls input{width:105px}.page button.danger{color:var(--red);border-color:var(--red)}.aggregate-right{padding:12px;background:var(--teal-soft);border-radius:8px}#historicalDocument{border:1px solid var(--line);padding:20px;border-radius:12px;margin-bottom:20px}#historicalDocument iframe{width:100%;height:80vh;border:0}.source-link{font-size:12px}table .period-divider{border-left:1px solid var(--line)}
.legend-deviation{background:#405c5a}.variance-column{opacity:.85}

/* Annual accounting instruments, independent of the forecast period. */
.health-panel{margin:24px 0;padding:22px;border:1px solid var(--line);border-radius:14px;background:var(--bg)}
.health-gauges{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.health-gauge h3{font-size:11px;letter-spacing:.08em;margin:0 0 8px;color:var(--muted)}
.health-reading{display:flex;align-items:center;gap:14px}.health-reading svg{width:100px;min-width:80px;height:92px;overflow:visible}
.health-rating{display:block;font-size:14px}.health-number{font-size:20px;font-variant-numeric:tabular-nums;margin:5px 0}.health-previous{color:var(--muted)}
:root{--gauge-pointer:#111;--gauge-pointer-outline:#fff}[data-theme=dark]{--gauge-pointer:#f5faf7;--gauge-pointer-outline:#102125}.gauge-hub{fill:var(--surface);stroke:#b7dac3;stroke-width:2}.gauge-needle path{fill:var(--gauge-pointer);stroke:var(--gauge-pointer-outline);stroke-width:1.6;stroke-linejoin:round}.gauge-needle circle{fill:var(--gauge-pointer);stroke:var(--gauge-pointer-outline);stroke-width:1.2}
.health-panel details{margin-top:14px}.health-panel summary{cursor:pointer;color:var(--muted)}.health-panel details p{max-width:900px;line-height:1.6}.health-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.health-panel form{max-width:850px}.health-panel #healthStatus{font-size:11px;margin:12px 0}
@media(max-width:850px){.health-gauges{grid-template-columns:1fr}.health-fields{grid-template-columns:1fr}.health-gauge{padding-bottom:12px;border-bottom:1px solid var(--line)}}

.input-formula{display:block;margin-top:6px;color:var(--muted);font-size:10px;max-width:350px;overflow-wrap:anywhere}#editRows input{width:100%;min-width:140px;text-align:right}

.bank-panel{margin:20px 0;padding:18px;border:1px solid var(--line);border-radius:12px}.bank-panel form{display:flex;gap:12px;flex-wrap:wrap;align-items:end;margin-top:15px}.statement-heading td{font-weight:700;background:var(--surface-soft)}.statement-source{color:var(--ink);font-size:11px;white-space:pre;overflow:auto;max-height:600px}#historicalDocument h3{margin-top:24px}
.analysis-intro{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px}.analysis-controls{display:flex;gap:14px;align-items:end;flex-wrap:wrap;margin-bottom:18px}.analysis-controls label{min-width:110px}.analysis-controls input{max-width:130px}#analysisContent>.panel,#analysisContent>.analysis-two{margin-bottom:20px}.analysis-two{display:grid;grid-template-columns:1fr 1fr;gap:20px}.analysis-value-inputs{display:grid;grid-template-columns:2fr 1fr 1fr;gap:18px;margin:20px 0}.analysis-value-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.analysis-value-cards strong{display:block;font-size:20px;margin-top:12px}.analysis-coverage{display:block;font-size:10px;color:var(--muted);margin-top:5px}.analysis-chart{display:block;width:100%;max-height:270px}#analysisRatios td:first-child{min-width:240px}#analysisRatios details p{white-space:normal;max-width:350px;color:var(--muted);font-size:11px}#analysisKpis .value{font-size:25px;margin-top:14px}#analysisStatus{line-height:1.7}#analysisScoreMethod{max-width:900px}#analysisSupplementForm{max-width:900px}@media(max-width:850px){.analysis-two,.analysis-value-cards{grid-template-columns:1fr}.analysis-value-inputs{grid-template-columns:1fr}.analysis-intro{align-items:flex-start}.analysis-controls{align-items:stretch}}@media print{.sidebar,.topbar,.heading-actions,.mobile-backdrop,#analysisForm,#analysisAdmin,#analysisPrint{display:none!important}.layout{display:block}main{padding:0}.panel,.card{break-inside:avoid;box-shadow:none}#analysisContent{color:#111}.analysis-coverage{color:#555}}

/* SLK_RESULT_VIEW_V1 */
.result-print-context{color:var(--muted);font-size:11px;margin:6px 0 0}
@media print{
 #resultPrint,#resultsPage .result-controls,#resultsPage #healthAdmin,#resultsPage #liveModelAdmin,#resultsPage #bankForm{display:none!important}
 #resultsPage>.panel,#resultsPage #historicalDocument,#resultsPage .scroll{break-inside:auto;overflow:visible!important;max-height:none!important}
 #resultsPage table{width:100%;font-size:9pt}#resultsPage thead{display:table-header-group}#resultsPage tr{break-inside:avoid}
 #resultsPage h2,#resultsPage h3{break-after:avoid}#resultsPage td,#resultsPage th{white-space:normal;overflow-wrap:anywhere}
 #resultsPage #historicalDocument iframe{height:85vh}
}

/* SLK_RAW_YTD_VARIANCE_V1 */
.variance.raw-neutral{color:var(--muted);background:transparent}

/* SLK_REGISTERED_CHANGE_V2 */
.registered-change{display:inline-flex;align-items:center;gap:4px;font-variant-numeric:tabular-nums;font-size:10px}
.registered-change.up{color:var(--green,var(--teal))}.registered-change.down{color:var(--red,#ba5b49)}.registered-change.unchanged{color:var(--muted)}
.sr-change{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.kpi-foot{flex-wrap:wrap;row-gap:8px}

/* SLK Graph-avstemming 0.4.36: distinguish reviewed and selected values. */
#graphReconcile .grMode{min-width:235px;max-width:280px}#graphReconcile .grCustom{display:block;min-width:180px;margin-top:8px}#graphReconcile .grCustom[hidden]{display:none!important}#graphReconcile table td{vertical-align:middle}#graphReconcile #grPreviewResult{overflow-wrap:anywhere}#graphReconcile #grForm{margin-top:22px}#graphReconcile #grSubmit:disabled{opacity:.48;cursor:not-allowed}

/* SLK 0.4.39: skill aktuell budsjettstatus fra endringen siden forrige registrering. */
.card.highlight.unfavorable{background:var(--red-soft);border-color:var(--line)}
.card.highlight.unfavorable .label,.card.highlight.unfavorable .kpi-icon{color:var(--red)}
.card.highlight.unfavorable .value{color:var(--red)!important}
.card.highlight.neutral{background:var(--surface-soft);border-color:var(--line)}
.card .kpi-foot .kpi-budget.bad:not(:empty){color:var(--red);background:var(--red-soft)}
.card .kpi-foot .kpi-budget.good:not(:empty){color:var(--green);background:var(--teal-soft)}
.card .kpi-foot .kpi-budget.neutral:not(:empty){color:var(--muted);background:var(--surface-soft)}
.registered-change{white-space:normal;justify-content:flex-end;line-height:1.4}

/* R22: isolated, responsive update center styles; no other pages affected. */
#slkUpdateCenter {margin:1rem 0; min-width:0;}
#slkUpdateCenter summary {cursor:pointer;font-weight:600;}
#slkUpdateCenter .slk-up-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:12px;margin-top:12px;}
#slkUpdateCenter .slk-up-card {border:1px solid #cbd5e1;border-radius:12px;padding:16px;min-width:0;overflow-wrap:anywhere;}
#slkUpdateCenter h3 {margin:0 0 8px;}
#slkUpdateCenter input {max-width:100%;box-sizing:border-box;}
#slkUpdateCenter input[type=file] {display:block;width:100%;margin:.5rem 0;}
#slkUpdateCenter button {margin:4px 4px 4px 0;white-space:normal;max-width:100%;}
#slkUpdateCenter .slk-up-actions {display:flex;flex-wrap:wrap;gap:4px;}
#slkUpdateCenter progress {width:100%;}
#slkUpdateCenter #slkLabView label {display:block;margin-top:.5rem;}
#slkUpdateCenter #slkLabView input {display:block;width:100%;}
#slkUpdateCenter #slkReleaseApproval:not([hidden]), #slkUpdateCenter #slkLabApproval:not([hidden]) {border:1px solid #cbd5e1;padding:10px;border-radius:8px;}
#slkFullBackup {margin:1rem 0; min-width:0;}
#slkFullBackup summary {cursor:pointer;font-weight:600;}
#slkFullBackup .slk-fb-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:12px;margin-top:12px;}
#slkFullBackup .slk-fb-card {border:1px solid #cbd5e1;border-radius:12px;padding:16px;min-width:0;overflow-wrap:anywhere;}
#slkFullBackup h3 {margin:0 0 8px;}
#slkFullBackup label {display:block;margin-top:.6rem;}
#slkFullBackup input[type=password] {display:block;width:100%;max-width:100%;box-sizing:border-box;}
#slkFullBackup .slk-fb-check {display:flex;gap:8px;align-items:flex-start;}
#slkFullBackup .slk-fb-actions {display:flex;flex-wrap:wrap;gap:4px;margin-top:.6rem;}
#slkFullBackup button {white-space:normal;max-width:100%;}
#slkFullBackup progress {width:100%;margin-top:.6rem;}
#slkFullBackup table {border-collapse:collapse;width:100%;font-size:.9em;}
#slkFullBackup th, #slkFullBackup td {border-bottom:1px solid #e2e8f0;padding:4px 6px;text-align:left;}

#slkAppUpdate progress{width:100%}#slkAuJobTitle.ok{color:var(--green)}#slkAuJobTitle.bad{color:var(--red)}#slkAuLog,#slkAuHistory{font-size:11px;line-height:1.7;padding-left:18px}

/* SLK 0.7.0 AI-analyse */
#aiPortal .ai-head p{max-width:70ch}
.ai-chat{display:flex;flex-direction:column;gap:12px}
.ai-log{display:flex;flex-direction:column;gap:12px;max-height:68vh;overflow:auto;padding:4px}
.ai-examples{display:flex;flex-wrap:wrap;gap:8px}
.ai-examples .btn{white-space:normal;text-align:left}
.ai-msg{border-radius:12px;padding:10px 14px;max-width:100%;line-height:1.5}
.ai-user{align-self:flex-end;background:#173138;color:#fff;max-width:75%}
.ai-user p{margin:0;white-space:pre-wrap}
.ai-assistant{align-self:stretch;background:rgba(23,49,56,.06);border:1px solid rgba(23,49,56,.12)}
.ai-text p{margin:.35em 0}.ai-text h4{margin:.8em 0 .3em}.ai-text ul{margin:.3em 0 .3em 1.2em;padding:0}
.ai-row{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:8px;border-bottom:1px solid rgba(23,49,56,.12);padding:3px 0;font-variant-numeric:tabular-nums}
.ai-error{color:#b3261e}
.ai-form{display:grid;grid-template-columns:1fr auto auto;gap:8px;align-items:end}
.ai-form textarea{width:100%;resize:vertical;font:inherit;padding:8px;border-radius:8px;border:1px solid rgba(23,49,56,.25)}
.ai-chart{margin:12px 0;padding:0}
.ai-chart figcaption{font-weight:600;margin-bottom:4px}
.ai-svg{width:100%;height:auto;max-width:760px;display:block}
.ai-grid{stroke:rgba(23,49,56,.12)}.ai-zero{stroke:rgba(23,49,56,.45)}
.ai-axis{font-size:11px;fill:currentColor;opacity:.75}
.ai-legend{display:flex;flex-wrap:wrap;gap:14px;font-size:13px;align-items:center}
.ai-legend i{display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:6px}
.ai-data table{border-collapse:collapse;font-size:13px;font-variant-numeric:tabular-nums}
.ai-data td,.ai-data th{padding:2px 10px;text-align:right}.ai-data td:first-child{text-align:left}
.ai-admin-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px;align-items:end}
.ai-admin-form label{display:flex;flex-direction:column;gap:4px}
.ai-admin table{font-size:13px}
@media (max-width:700px){.ai-form{grid-template-columns:1fr}.ai-user{max-width:100%}}
.ai-legend .ai-dot{display:inline-block;margin-right:6px;vertical-align:-1px}

/* 0.8.5 AI: innlimte bilder og endringsforslag */.ai-thumbs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:8px}.ai-thumb{position:relative;display:inline-block}.ai-thumb img{max-height:72px;max-width:120px;border-radius:6px;border:1px solid #e7ecef}.ai-thumb button{position:absolute;top:2px;right:2px;padding:0 6px;line-height:18px}.ai-msg-img{display:block;max-width:260px;max-height:200px;margin-top:6px;border-radius:6px}.ai-proposal{border:1px solid #e0a43a;background:#fffaf0;border-radius:10px;padding:12px;margin-top:10px}.ai-proposal table,.ai-changes table{width:100%;border-collapse:collapse;font-size:13px}.ai-proposal td,.ai-proposal th,.ai-changes td,.ai-changes th{padding:4px 6px;border-bottom:1px solid #eef1f3;text-align:left}
