/* NI Office v3.0.41 – compact Contract CRM based on approved TKE reference. */
.tke-v341-dashboard{max-width:1760px!important;width:100%;min-width:0}
.tke-v341-dashboard .tke-v338-title{padding:12px 18px!important;margin:0 0 8px!important}
.tke-v341-dashboard .tke-v338-title h1{font-size:21px!important}
.tke-v341-dashboard .tke-v330-kpis{margin:6px 0 10px!important;gap:9px!important}
.tke-v341-dashboard .tke-v330-kpi{min-height:62px!important;padding:8px 11px!important}
.tke-v341-dashboard .tke-v338-workspace{grid-template-columns:minmax(315px,.78fr) minmax(0,1.55fr)!important;gap:12px!important;align-items:start}
.tke-v341-dashboard .tke-v338-left{position:sticky;top:16px;align-self:start;z-index:1}
.tke-v341-dashboard .tke-v338-table-wrap{max-height:calc(100vh - 295px)!important;min-height:140px}
.tke-v341-dashboard .tke-v338-case-panel{margin-bottom:0!important}
.tke-v341-dashboard .tke-v338-right .tke-v337-contract-docs-summary,.tke-v341-dashboard .tke-v338-doc-panel{display:none!important}
.tke-v341-dashboard .tke-v338-right .tke-page-title{margin-bottom:7px!important}
.tke-v341-dashboard .tke-v338-right .tke-v337-contract-actions{margin-bottom:7px!important}
.tke-v341-dashboard .tke-v340-essentials{margin-bottom:8px!important}
.tke-v341-dashboard .tke-v340-essentials-head{padding:8px 12px!important}
.tke-v341-dashboard .tke-v340-essential-grid{padding:8px!important;gap:6px!important}
.tke-v341-dashboard .tke-v340-essential-grid>div{padding:7px 10px!important}
.tke-v341-dashboard .tke-v340-essential-grid small{font-size:10px!important;margin-bottom:3px!important}
.tke-v341-dashboard .tke-v340-essential-grid strong{font-size:12px!important}
.tke-v341-dashboard .tke-v340-essential-grid .is-key strong{font-size:16px!important}
.tke-v341-dashboard .tke-v338-right .tke-v330-form{margin-bottom:8px!important}
.tke-v341-dashboard .tke-v338-right .tke-v330-form>.tke-card-head{margin-bottom:9px!important}
.tke-v341-dashboard .tke-v330-form .tke-v330-fields{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.tke-v341-dashboard .tke-v330-form .tke-v330-fields>label,.tke-v341-dashboard .tke-v330-form .tke-v330-fields>div{padding:7px 8px!important}
.tke-v341-dashboard .tke-v330-outcome{padding:6px 0!important}
.tke-v341-dashboard .tke-v330-memo textarea{min-height:62px!important;max-height:118px}
.tke-v341-dashboard .tke-v330-buttons{margin:8px 0 0!important}
.tke-v341-activity{background:#fff;border:1px solid #dfdbea;border-radius:11px;overflow:hidden;margin-top:8px;margin-bottom:10px}
.tke-v341-activity>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 15px;cursor:pointer;list-style:none;color:#191230;background:white}
.tke-v341-activity>summary::-webkit-details-marker{display:none}
.tke-v341-activity>summary>span:first-child{min-width:0;flex:1}
.tke-v341-activity>summary strong{display:block;font-size:13px;color:#1a1430;font-weight:800}
.tke-v341-activity>summary small{display:block;margin-top:4px;color:#5f5871;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tke-v341-activity>summary .tke-v341-disclose{color:#7820d3;font-weight:800;font-size:11px;white-space:nowrap}
.tke-v341-activity[open]>summary{border-bottom:1px solid #e6dff0}
.tke-v341-activity[open]>summary .tke-v341-disclose{font-size:0}
.tke-v341-activity[open]>summary .tke-v341-disclose:before{content:'Skjul historik';font-size:11px}
.tke-v341-activity .tke-v330-detail-bottom{margin:0!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important;padding:9px!important}
.tke-v341-activity .tke-v330-detail-bottom>.tke-card{margin:0!important}
.tke-v341-extra-info{padding:8px 16px 16px;border-top:1px solid #e8e2ed}
.tke-v341-extra-info h3{font-size:14px;color:#23143e;margin:8px 0}
.tke-v341-extra-info .tke-v340-more{margin:5px 0}
.tke-v341-extra-info .tke-v340-more-body .tke-v330-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.tke-v341-dashboard .tke-v338-panel-head h2,.tke-v341-dashboard .tke-card-head h2,.tke-v341-dashboard .tke-page-title h1{color:#fff!important;-webkit-text-fill-color:#fff!important}
@media(max-width:1350px){.tke-v341-dashboard .tke-v338-workspace{grid-template-columns:minmax(290px,.85fr) minmax(0,1.45fr)!important}.tke-v341-dashboard .tke-v330-form .tke-v330-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:1050px){.tke-v341-dashboard .tke-v338-workspace{grid-template-columns:1fr!important}.tke-v341-dashboard .tke-v338-left{position:static!important}.tke-v341-dashboard .tke-v338-table-wrap{max-height:260px!important;min-height:0}.tke-v341-dashboard .tke-v330-form .tke-v330-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:640px){.tke-v341-dashboard .tke-v330-form .tke-v330-fields{grid-template-columns:1fr!important}.tke-v341-dashboard .tke-v340-essential-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.tke-v341-activity .tke-v330-detail-bottom{grid-template-columns:1fr!important}.tke-v341-extra-info .tke-v340-more-body .tke-v330-fields{grid-template-columns:1fr!important}}
@media(max-width:385px){.tke-v341-dashboard .tke-v340-essential-grid{grid-template-columns:1fr!important}}
