/* Only the three work pages; navigation and portal header are untouched. */
.cl-page.refined{background:#f8fbff;padding:20px 22px 70px;color:#101e35}
.cl-page.refined .cl-hero,.refine-checklist-head,.refine-task-head{background:linear-gradient(112deg,#071423,#142a43 72%,#24394c)!important;border:0!important;border-radius:15px!important;box-shadow:0 15px 36px #10243d17;color:#fff!important;padding:26px 30px!important;margin:0 0 20px!important;min-height:150px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.cl-page.refined .cl-breadcrumb{color:#f9c551;font-size:13px;letter-spacing:.16em}
.cl-page.refined .cl-hero h1,.refine-checklist-head h1,.refine-task-head h1{color:#fff!important;font-size:clamp(32px,3vw,47px)!important;line-height:1.12!important;margin:7px 0!important}
.cl-page.refined .cl-hero p,.refine-checklist-head p,.refine-task-head p{color:#e0e9f3!important;font-size:clamp(16px,1.4vw,19px)!important;line-height:1.4!important;max-width:660px}
.cl-page.refined .cl-hero .cl-primary,.refine-checklist-head .create-btn,.refine-task-head .create-btn{background:#f7c65c!important;border:1px solid #e4b64d!important;color:#17233a!important;border-radius:11px!important;min-height:50px;padding:12px 20px!important;font-weight:800;font-size:16px!important;white-space:nowrap}
body .content .refine-checklist-head button.create-btn,body .content .refine-task-head button.create-btn{background:#f7c65c!important;border-color:#e4b64d!important;color:#17233a!important;box-shadow:none!important}
body.field-mode.field-refined .content .refine-checklist-head button.primary.create-btn,body.field-mode.field-refined .content .refine-task-head button.primary.create-btn{background:#f7c65c!important;border-color:#e4b64d!important;color:#17233a!important;box-shadow:none!important}
.cl-page.refined .cl-kpis{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 20px}
.cl-page.refined .cl-kpis>div{min-height:122px;padding:20px;grid-template-columns:55px 1fr;column-gap:16px;border:1px solid #dce5f0;border-radius:13px;box-shadow:0 6px 20px #11233a09}
.cl-page.refined .cl-kpis span{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#eaf3fc;color:#0861a6;font-size:27px}
.cl-page.refined .cl-kpis>div:nth-child(2) span{background:#fff0ef;color:#d7342d}
.cl-page.refined .cl-kpis strong{font-size:31px;color:#0d1a2f}
.cl-page.refined .cl-kpis small{font-size:16px;color:#526883}
.cl-page.refined .cl-tools{gap:10px;margin:0 0 18px;align-items:center}
.cl-page.refined .cl-tools>*{min-height:48px!important}
.cl-page.refined .cl-search{flex:1 1 300px;min-width:260px}
.cl-page.refined .cl-search input,.cl-page.refined .cl-tools select{font-size:15px}
.cl-page.refined .cl-tabs{margin:0 0 15px;gap:0}
.cl-page.refined .cl-tabs button{border-radius:0;min-height:44px;padding:9px 18px}
.cl-page.refined .cl-tabs button:first-child{border-radius:9px 0 0 9px}
.cl-page.refined .cl-tabs button:last-of-type{border-radius:0 9px 9px 0}
.cl-page.refined .refine-secondary-tab{display:none}
.cl-page.refined .cl-main-grid{display:block}
.cl-page.refined .cl-primary-results{padding:19px 20px 20px;border:1px solid #dce5ef;border-radius:14px;background:#fff;box-shadow:0 10px 28px #11233a0b}
.refine-section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 16px}
.refine-section-heading h2{font-size:25px;margin:0;font-weight:800;color:#0d1b33}
.refine-section-heading label{font-size:14px;color:#4b607c;white-space:nowrap}
.cl-page.refined .cl-table-wrap{border-radius:9px}
.cl-page.refined .cl-table{min-width:760px}
.cl-page.refined .cl-table th,.cl-page.refined .cl-table td{font-size:15px;padding:15px 11px}
.cl-page.refined .cl-table th{background:#eaf2f8;color:#415776}
.cl-page.refined .cl-table th:nth-child(5),.cl-page.refined .cl-table td:nth-child(5),.cl-page.refined .cl-table th:nth-child(8),.cl-page.refined .cl-table td:nth-child(8){display:none}
.cl-page.refined .cl-badge{font-size:14px}
.refine-extra-filters{position:relative;z-index:4;align-self:stretch}
.refine-extra-filters summary{display:flex;align-items:center;cursor:pointer;height:48px;padding:0 17px;border:1px solid #d8e2ee;border-radius:9px;background:#fff;color:#172f50;font-size:15px;font-weight:700;white-space:nowrap}
.refine-extra-fields{position:absolute;right:0;top:calc(100% + 5px);min-width:275px;max-width:min(90vw,360px);padding:14px;display:grid;gap:9px;background:#fff;border:1px solid #d8e2ee;border-radius:12px;box-shadow:0 14px 32px #10233a20}
.refine-extra-fields select,.refine-extra-fields .cl-date-filter{width:100%}
.refine-overdue{display:flex;align-items:center;gap:16px;width:100%;min-height:80px;margin:17px 0 0;padding:15px 17px;border:1px solid #f2c8ca;border-radius:12px;background:#fff0f2;color:#12243d;text-align:left;cursor:pointer}
.refine-overdue-icon{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:50%;background:#fbd8dc;color:#c52933;font-size:24px;font-weight:800}
.refine-overdue strong,.refine-overdue small{display:block}.refine-overdue strong{font-size:18px}.refine-overdue small{font-size:15px;color:#5d6880}.refine-overdue>b{margin-left:auto;color:#103e76;white-space:nowrap}
.refine-more{margin-top:16px}.refine-more>summary{cursor:pointer;color:#274e7c;font-weight:700;padding:8px 0}.refine-more .cl-bottom{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:10px}
.refine-checklist-head .page-actions{display:flex;align-items:center;gap:12px}
.refine-checklist-more{position:relative}.refine-checklist-more>summary{display:grid;place-items:center;min-width:48px;height:50px;border:1px solid #899aae;border-radius:10px;color:#fff;cursor:pointer;font-weight:900;list-style:none}
.refine-checklist-more>div{position:absolute;right:0;top:55px;z-index:5;min-width:190px;padding:8px;background:#fff;border:1px solid #d8e2ee;border-radius:12px;box-shadow:0 12px 28px #10233a27}.refine-checklist-more>div button{display:block;width:100%;min-height:43px;margin:0 0 5px;color:#193653!important;background:#f7f9fc!important;border:1px solid #e0e7ee!important}
.refine-checklist-tabs{display:flex;gap:0;border-bottom:2px solid #d7e0ec;margin:0 0 18px}.refine-checklist-tabs button{min-width:180px;min-height:51px;background:transparent;border:0;border-bottom:3px solid transparent;color:#526881;font-size:17px;font-weight:800;cursor:pointer}.refine-checklist-tabs button.active{background:#fff;border:1px solid #d7e0ec;border-bottom:3px solid #e2b655;border-radius:12px 12px 0 0;color:#10243d}
.control-summary:has(+.refine-template-pane){grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 21px}.control-summary:has(+.refine-template-pane)>div{min-height:95px;padding:19px 23px;border-top:3px solid #e0b656;border-radius:12px;background:#fff}.control-summary:has(+.refine-template-pane) strong{font-size:30px;color:#0e1e37}.control-summary:has(+.refine-template-pane) span{font-size:16px;color:#50617b;text-transform:capitalize}
.refine-template-pane{background:#fff;border:1px solid #dce5ef;border-radius:14px;padding:22px}.refine-template-pane h2{font-size:24px;margin:0}.refine-template-pane p{font-size:16px;color:#536b82}.refine-template-pane .template-grid{margin-top:20px}
.recent-controls:has(.refine-run){background:#fff;border:1px solid #dce5ef;border-radius:15px;box-shadow:0 10px 28px #11233a0b;overflow:hidden}.recent-controls:has(.refine-run)>.card-head{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:22px 24px 14px}.recent-controls:has(.refine-run) h2{font-size:24px!important;color:#10203a}.recent-controls:has(.refine-run) .control-filters{margin-left:auto}.refine-check-search{display:flex;align-items:center;gap:8px;flex:1 1 290px;min-width:250px;height:48px;padding:0 14px;border:1px solid #d0dce8;border-radius:10px;background:#f8fbff;color:#607792;font-size:23px}.refine-check-search input{width:100%;border:0;outline:0;background:transparent;color:#10243d;font-size:15px}
.refine-run{grid-template-columns:minmax(110px,23%) minmax(0,1fr) auto auto!important;min-height:101px!important;gap:16px!important;padding:15px 24px!important}.refine-run-progress{display:grid;gap:7px;max-width:230px;color:#0e2039}.refine-run-progress strong{font-size:15px}.refine-run-progress i{height:10px;border-radius:99px;background:#e1e8f0;overflow:hidden}.refine-run-progress b{display:block;height:100%;background:#deb055;border-radius:99px}.refine-run:has(.progress-ring.done) .refine-run-progress b,.refine-run-progress:has(strong:first-child) b{min-width:0}.refine-run .badge{padding:8px 13px;border-radius:99px;font-size:14px}.refine-run>span:nth-child(2) strong{font-size:18px}.refine-run>span:nth-child(2) small,.refine-run>span:nth-child(2) em{font-size:14px;color:#526883}
.refine-checklist-footer{display:flex;justify-content:center;align-items:center;gap:10px;margin:20px auto}.refine-checklist-footer button{padding:7px 10px!important;background:transparent!important;border:0!important;box-shadow:none!important;color:#3d597d!important;font-size:15px!important}.refine-checklist-footer button+button:before{content:"·";margin-right:20px;color:#8fa0b4}
.refine-task-head .page-actions{display:flex;align-items:center}.refine-task-title{font-size:25px;margin:20px 0 12px;color:#10203a}.task-tools{display:flex;flex-wrap:wrap;gap:12px;padding:16px 18px;border:1px solid #dce5ee;border-radius:14px;background:#fff}.task-focus-filters{align-items:center}.refine-task-link{background:#f8fafc!important;color:#244669!important;border:1px solid #d9e2eb!important}.task-facade{flex:0 0 64px;width:64px;height:62px;object-fit:cover;border-radius:10px;background:#eaf0f6}.task-facade-empty{display:grid;place-items:center;font-size:34px;color:#466888}.task-focus-row{min-height:100px;padding:15px 18px;gap:18px}.task-focus-row-main strong{font-size:18px}.task-focus-row-main small,.task-focus-row-main>span{font-size:14px}.task-focus-list{border:1px solid #dce5ee;border-radius:14px;overflow:hidden;box-shadow:0 10px 28px #11233a0b}
@media(max-width:800px){.cl-page.refined{padding:14px 14px 95px}.cl-page.refined .cl-hero,.refine-checklist-head,.refine-task-head{padding:22px 18px!important;min-height:0;align-items:flex-start;flex-direction:column}.cl-page.refined .cl-hero .cl-button,.refine-checklist-head .create-btn,.refine-task-head .create-btn{width:100%}.cl-page.refined .cl-kpis{gap:8px}.cl-page.refined .cl-kpis>div{padding:13px;grid-template-columns:1fr;min-height:95px}.cl-page.refined .cl-kpis span{display:none}.cl-page.refined .cl-kpis strong{font-size:25px}.cl-page.refined .cl-kpis small{font-size:13px}.cl-page.refined .cl-tools>select{flex:1 1 125px}.cl-page.refined .cl-search{min-width:100%}.refine-extra-filters{flex:1}.refine-extra-filters summary{justify-content:center}.cl-page.refined .cl-primary-results{padding:14px}.cl-page.refined .cl-table{min-width:0}.cl-page.refined .cl-table thead{display:none}.cl-page.refined .cl-table,.cl-page.refined .cl-table tbody,.cl-page.refined .cl-table tr,.cl-page.refined .cl-table td{display:block;width:100%}.cl-page.refined .cl-table tr{position:relative;padding:12px 42px 12px 12px;border-bottom:1px solid #dce5ef}.cl-page.refined .cl-table td{border:0;padding:3px 0;font-size:14px}.cl-page.refined .cl-table td:nth-child(5),.cl-page.refined .cl-table td:nth-child(8){display:none}.cl-page.refined .cl-table td:nth-child(9){position:absolute;right:10px;top:11px}.cl-page.refined .cl-table td:nth-child(2){font-weight:700}.cl-page.refined .cl-table td:nth-child(3):before{content:"Frekvens: ";color:#63758b}.cl-page.refined .cl-table td:nth-child(4):before{content:"Neste dato: ";color:#63758b}.cl-page.refined .cl-table td:nth-child(7):before{content:"Ansvarlig: ";color:#63758b}.cl-page.refined .cl-table .cl-link strong{font-size:17px}.refine-more .cl-bottom{grid-template-columns:1fr}.refine-section-heading h2{font-size:21px}.refine-checklist-tabs button{min-width:50%;font-size:16px}.control-summary:has(+.refine-template-pane){gap:7px}.control-summary:has(+.refine-template-pane)>div{min-height:82px;padding:10px}.control-summary:has(+.refine-template-pane) strong{font-size:24px}.control-summary:has(+.refine-template-pane) span{font-size:12px}.recent-controls:has(.refine-run)>.card-head{padding:16px}.recent-controls:has(.refine-run) .control-filters{margin:0;width:100%;overflow:auto}.refine-check-search{min-width:100%}.refine-run{grid-template-columns:90px minmax(0,1fr) auto!important;padding:12px 14px!important;gap:9px!important}.refine-run-progress{max-width:90px}.refine-run>span:nth-child(2) strong{font-size:16px}.refine-run>span:nth-child(2) small,.refine-run>span:nth-child(2) em{font-size:12px}.refine-run .badge{grid-column:2!important;justify-self:start}.refine-run>b{font-size:0}.task-facade{flex-basis:54px;width:54px;height:54px}.task-focus-row{gap:9px;padding:12px}.task-focus-row-main strong{font-size:16px}.task-focus-row .task-priority{font-size:11px}.task-focus-row>b{display:none}.task-focus-filters{width:100%;flex-wrap:wrap}.task-tools{padding:12px}}
