/* ======================================================================
RUTEPLANEN EMPLOYEE DOMAIN LAYOUT
Scoped exclusively to .rp-emp-* and loaded through the same canonical UI file.
====================================================================== */
.rp-emp-app *,.rp-emp-app *:before,.rp-emp-app *:after{box-sizing:border-box;}
.rp-emp-app [hidden]{display:none!important;}
.rp-emp-shell{min-height:100dvh;margin:0 auto;}
.rp-emp-shell--boot{display:grid;place-items:center;}
.rp-emp-main{display:flex;flex-direction:column;}

.rp-emp-loading-card{padding:18px;text-align:center;font-weight:850;}
.rp-emp-login{width:min(460px,calc(100% - 24px));margin:clamp(20px,7dvh,72px) auto;padding:24px;overflow:hidden;}
.rp-app-entry-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin-bottom:20px;padding:4px;border:1px solid var(--rp-line);border-radius:14px;background:var(--rp-surface-subtle);}
.rp-emp-ui .rp-app-entry-choice{appearance:none;display:flex;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:44px;padding:10px 8px;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--rp-muted);font:inherit;font-size:13px;font-weight:800;line-height:1.3;cursor:pointer;transition:background .18s ease,color .18s ease;}
.rp-emp-ui .rp-app-entry-choice[aria-selected="true"]{color:#fff;background:var(--rp-button-primary,#2e7834);border-color:var(--rp-button-primary,#2e7834);box-shadow:0 3px 8px rgba(24,74,37,.12);}
.rp-emp-ui .rp-app-entry-choice svg{flex:0 0 17px;}
.rp-app-entry-description{color:var(--rp-muted);font-size:13px;line-height:1.5;}
.rp-emp-ui .rp-app-entry-choice:not([aria-selected="true"]):hover{background:var(--rp-primary-soft);color:var(--rp-primary-dark);}
.rp-emp-ui .rp-app-entry-choice:focus-visible{outline:3px solid var(--rp-primary)!important;outline-offset:2px;}
.rp-app-entry-panel{display:grid;gap:18px;min-width:0;max-width:none;margin:0;padding:0;border:0;background:transparent;}
.rp-emp-ui .rp-emp-login .rp-emp-btn--primary{color:#fff!important;background:var(--rp-button-primary,#2e7834)!important;border-color:var(--rp-button-primary-border,#63ad55)!important;text-decoration:none;}
.rp-emp-ui .rp-emp-login .rp-emp-btn--primary:hover,.rp-emp-ui .rp-emp-login .rp-emp-btn--primary:focus-visible{color:#fff!important;background:var(--rp-button-primary-hover,#347c39)!important;border-color:var(--rp-button-primary-hover-border,#7dc66a)!important;}
.rp-emp-login__hero{display:flex;align-items:center;gap:14px;margin:-24px -24px 24px;padding:28px 24px;background:linear-gradient(130deg,var(--rp-primary-deep,#153d27),var(--rp-button-primary,#2e7834));}
.rp-emp-login__hero .rp-emp-logo{border:1px solid rgba(255,255,255,.25);border-radius:16px;background:rgba(255,255,255,.12);color:#fff;box-shadow:none;}
.rp-emp-login__hero .rp-emp-eyebrow{color:#d9efd3;font-size:10px;letter-spacing:.12em;}
.rp-emp-login .rp-emp-login__hero h1{color:#fff;font-size:28px;}
.rp-emp-login .rp-emp-login__hero p{color:#e6f1e2;font-size:13px;font-weight:500;}
.rp-emp-logo{width:52px;height:52px;display:grid;place-items:center;flex:0 0 auto;font-size:22px;font-weight:950;letter-spacing:-.04em;}
.rp-emp-eyebrow{color:var(--rp-muted);font-size:12px;font-weight:950;letter-spacing:.13em;text-transform:uppercase;}
.rp-emp-login h1{margin:3px 0 7px;font-size:clamp(24px,3.6vw,34px);letter-spacing:-.035em;line-height:1.14;color:var(--rp-text);}
.rp-emp-login p,.rp-emp-login__hint,.rp-emp-muted{color:var(--rp-muted);}
.rp-emp-login p{margin:0;font-weight:650;}
.rp-emp-login-form{display:flex;flex-direction:column;gap:12px;}
.rp-emp-login__hint{font-size:12px;line-height:1.6;}
@media(max-width:380px){.rp-emp-login{width:calc(100% - 8px);padding:18px;}.rp-emp-login__hero{margin:-18px -18px 20px;padding:24px 18px;gap:10px;}.rp-emp-login__hero .rp-emp-logo{width:42px;height:42px;flex-basis:42px;}.rp-emp-ui .rp-app-entry-choice{gap:4px;font-size:12px;padding-inline:5px;}}
@media(prefers-reduced-motion:reduce){.rp-emp-ui .rp-app-entry-choice{transition:none;}}
.rp-emp-app label{display:flex;flex-direction:column;gap:6px;color:var(--rp-text);font-size:13px;font-weight:900;}
.rp-emp-app input,.rp-emp-app select{width:100%;min-width:0;min-height:48px;padding:12px 14px;font:inherit;font-size:16px;font-weight:500;line-height:1.5;outline:none!important;appearance:none;}
.rp-emp-app textarea{width:100%;padding:12px 14px;font:inherit;font-size:16px;font-weight:500;line-height:1.5;outline:none!important;appearance:none;resize:vertical;min-height:112px;}
.rp-emp-app select{background-image:linear-gradient(45deg,transparent 50%,var(--rp-primary-deep) 50%),linear-gradient(135deg,var(--rp-primary-deep) 50%,transparent 50%);background-position:calc(100% - 18px) 52%,calc(100% - 12px) 52%;background-size:6px 6px,6px 6px;background-repeat:no-repeat;padding-right:34px;}

.rp-emp-app input[readonly]{background:color-mix(in srgb,var(--rp-primary) 4%,var(--rp-surface) 96%)!important;}
.rp-emp-code-input,.rp-emp-app input[name="rp_emp_gate"],.rp-emp-app input[name="ruteplanen_employee_access_key"]{letter-spacing:.12em;font-weight:950;font-variant-numeric:tabular-nums;-webkit-text-security:disc;}
.rp-emp-btn{appearance:none;-webkit-appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;font:inherit;cursor:pointer;touch-action:manipulation;transition:background .16s ease,transform .16s ease,box-shadow .16s ease;}.rp-emp-btn:visited,.rp-emp-app button.rp-emp-btn,.rp-emp-app a.rp-emp-btn{appearance:none;-webkit-appearance:none;min-height:46px;padding:12px 17px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font:inherit;cursor:pointer;touch-action:manipulation;transition:background .16s ease,transform .16s ease,box-shadow .16s ease;}
.rp-emp-btn:hover,.rp-emp-btn:focus,.rp-emp-btn:active{transform:translateY(-1px);}

.rp-emp-btn--small{min-height:34px;padding:8px 12px;}
.rp-emp-btn--done{opacity:.86;cursor:default;}

.rp-emp-alert,.rp-emp-toast{padding:11px 13px;border-radius:18px;font-weight:850;font-size:13px;line-height:1.35;}
.rp-emp-alert.is-danger,.rp-emp-toast.is-danger{color:var(--rp-danger);background:var(--rp-danger-soft);border:1px solid var(--rp-danger-line);}
.rp-emp-alert.is-warning,.rp-emp-toast.is-warning{color:#6b4e00;background:#fff8db;border:1px solid #eed98b;}
.rp-emp-alert.is-ok,.rp-emp-toast.is-ok{color:var(--rp-primary-dark);background:var(--rp-primary-soft);border:1px solid #cbe7c0;}
.rp-emp-top{position:sticky;z-index:40;display:flex;align-items:center;gap:10px;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);}
.rp-emp-burger{display:grid;place-items:center;cursor:pointer;}
.rp-emp-burger span{width:18px;height:2px;border-radius:999px;background:var(--rp-primary-deep);box-shadow:0 6px 0 var(--rp-primary-deep),0 -6px 0 var(--rp-primary-deep);}
.rp-emp-avatar{display:grid;place-items:center;overflow:hidden;font-size:14px;font-weight:950;}
.rp-emp-avatar img{width:100%;height:100%;object-fit:cover;}
.rp-emp-top__who{min-width:0;flex:1;}
.rp-emp-top__who strong,.rp-emp-top__who span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}

.rp-emp-top__status{display:flex;align-items:center;gap:5px;white-space:nowrap;}
.rp-emp-top__status:before{content:"";width:8px;height:8px;}
.rp-emp-hero{display:flex;align-items:center;justify-content:space-between;gap:14px;}
.rp-emp-hero span,.rp-emp-hero small,.rp-emp-hero strong{display:block;}.rp-emp-hero strong{letter-spacing:-.05em;}
.rp-emp-progress{--p:0;width:72px;height:72px;flex:0 0 72px;border-radius:50%;display:grid;place-items:center;font-size:13px;font-weight:950;position:relative;}
.rp-emp-progress:after{content:"";position:absolute;inset:9px;border-radius:50%;}.rp-emp-progress b{position:relative;z-index:1;}
.rp-emp-mapcard{overflow:hidden;}
.rp-emp-map{width:100%;background:linear-gradient(135deg,color-mix(in srgb,var(--rp-primary) 7%,var(--rp-surface) 93%),var(--rp-surface-subtle))!important;}
.rp-emp-map__empty{height:100%;display:grid;place-items:center;padding:20px;text-align:center;color:var(--rp-muted);font-weight:850;}
.rp-emp-map-popup{color:var(--rp-text);font-size:13px;line-height:1.35;}
.rp-emp-route-head{display:flex;justify-content:space-between;gap:10px;align-items:center;}
.rp-emp-route-head span,.rp-emp-section-head span{display:block;}
.rp-emp-route-pace{margin-top:6px;display:inline-flex;padding:6px 9px;color:var(--rp-primary-dark);background:var(--rp-primary-soft);font-size:12px;font-weight:900;}
.rp-emp-route-pace.is-ok{color:var(--rp-primary-dark)!important;background:var(--rp-primary-soft)!important;}
.rp-emp-tasks{display:flex;flex-direction:column;gap:12px;}
.rp-emp-task{overflow:hidden;}
.rp-emp-task__top{display:flex;gap:12px;align-items:flex-start;}.rp-emp-task__no{width:42px;height:42px;display:grid;place-items:center;flex:0 0 auto;}
.rp-emp-task__main{min-width:0;flex:1;}.rp-emp-task__state{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;text-transform:uppercase;letter-spacing:.04em;}
.rp-emp-task__main h2{margin:8px 0 4px;}.rp-emp-task__main p{margin:0;}
.rp-emp-task__meta{display:flex;flex-wrap:wrap;margin:13px 0 0;}.rp-emp-task__meta span,.rp-emp-pill,.rp-emp-delta{display:inline-flex;align-items:center;gap:4px;padding:5px 8px;}.rp-emp-delta{background:var(--rp-primary-soft);}
.rp-emp-task__actions{display:grid;grid-template-columns:1fr 1fr 1fr;}.rp-emp-report__actions{display:grid;gap:8px;margin-top:13px;grid-template-columns:1fr 1fr;padding:8px;}
.rp-emp-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;}.rp-emp-detail-grid>div{min-width:0;padding:11px;}.rp-emp-detail-grid>div>span:first-child{display:block;color:var(--rp-muted);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;}.rp-emp-detail-grid strong{display:block;margin-top:3px;font-size:13px;word-break:break-word;}
.rp-emp-contact{display:grid;gap:5px;align-content:start;overflow-wrap:anywhere;}
.rp-emp-contact>span:not(:first-child){font-size:13px;line-height:1.45;color:var(--rp-text);font-weight:400;text-transform:none;letter-spacing:normal;}
.rp-emp-contact a{display:inline-flex;align-items:center;min-height:44px;color:var(--rp-primary-deep);font-weight:750;text-decoration:none;overflow-wrap:anywhere;}
.rp-emp-app a.rp-emp-contact-call{min-width:0;max-width:100%;min-height:44px;white-space:normal;text-align:left;text-decoration:none;overflow-wrap:anywhere;}
.rp-emp-recipient-preview ul{display:grid;gap:10px;margin:12px 0;padding:0;list-style:none;}
.rp-emp-recipient-preview li{display:grid;gap:4px;min-width:0;overflow-wrap:anywhere;}
.rp-emp-recipient-preview li>span{color:var(--rp-muted);font-size:13px;text-transform:none;letter-spacing:normal;}
.rp-emp-note{margin-top:10px;padding:13px;}.rp-emp-note strong{display:block;margin-bottom:5px;color:#6b4e00;}.rp-emp-note p{margin:0;color:#5f4a12;font-size:13px;line-height:1.45;}
.rp-emp-report{display:grid;width:100%;min-width:0;margin:16px 0 0;padding:0;box-sizing:border-box;background:transparent;}

.rp-emp-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;}.rp-emp-form-grid label:nth-child(3),.rp-emp-form-grid label:nth-child(4){grid-column:span 1;}.rp-emp-form-grid--tasktype{margin:12px 0;}.rp-emp-title-preview{margin:0 0 12px;padding:12px;border-radius:18px;background:var(--rp-primary-soft);border:1px dashed color-mix(in srgb,var(--rp-primary) 34%,var(--rp-line) 66%);color:var(--rp-primary-deep);font-weight:850;font-size:13px;}
.rp-emp-form-title{display:flex;flex-direction:column;gap:3px;margin:14px 0 8px;font-size:13px;font-weight:900;}.rp-emp-form-title strong{font-size:16px;}.rp-emp-form-title span{color:var(--rp-muted);font-size:12px;font-weight:700;}
.rp-emp-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:8px 0 12px;}.rp-emp-choice-grid--plans{grid-template-columns:1fr 1fr 1fr;}
.rp-emp-choice strong,.rp-emp-choice small{display:block;}.rp-emp-choice small{margin-top:2px;color:var(--rp-muted);font-weight:650;line-height:1.25;}
.rp-emp-plan-fields{display:flex;flex-direction:column;gap:10px;padding:12px;border-radius:20px;background:var(--rp-surface);border:1px dashed color-mix(in srgb,var(--rp-primary) 34%,var(--rp-line) 66%);}.rp-emp-admin-extra{padding:12px;border-radius:18px;background:var(--rp-surface);border:1px solid var(--rp-line);}.rp-emp-admin-extra summary{cursor:pointer;font-weight:900;color:var(--rp-primary-deep);}
.rp-emp-field-hint{display:block;color:var(--rp-muted);font-size:12px;line-height:1.35;font-weight:800;}
.rp-emp-care-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:12px;}.rp-emp-care-card{position:relative;min-height:118px;padding:14px 12px!important;display:flex!important;flex-direction:column!important;align-items:center;text-align:center;gap:4px!important;cursor:pointer;color:var(--rp-text)!important;}.rp-emp-care-card span{font-size:30px;line-height:1.05;}.rp-emp-care-card strong{color:var(--rp-primary-deep);font-size:13px;line-height:1.2;}.rp-emp-care-card small{color:var(--rp-muted);font-size:11px;line-height:1.25;}
.rp-emp-photo-upload input{padding:10px!important;}.rp-emp-photo-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-top:8px;}.rp-emp-photo-item{position:relative;overflow:hidden;border-radius:18px;border:1px solid var(--rp-line);background:var(--rp-surface);min-height:118px;}.rp-emp-photo-item img{display:block;width:100%;height:104px;object-fit:cover;}.rp-emp-photo-item button{position:absolute;top:6px;right:6px;width:30px;height:30px;border:0!important;border-radius:999px;color:#fff!important;background:rgba(17,33,15,.82)!important;font-size:20px;line-height:1;cursor:pointer;}.rp-emp-photo-item small{display:block;padding:7px 8px;overflow:hidden;color:var(--rp-muted);font-size:11px;font-weight:800;text-overflow:ellipsis;white-space:nowrap;}
.rp-emp-history-row,.rp-emp-draft-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 0;border-top:1px solid var(--rp-line);}.rp-emp-history-row:first-of-type,.rp-emp-draft-row:first-of-type{border-top:0;}.rp-emp-history-row div:first-child,.rp-emp-draft-row div:first-child{min-width:0;}.rp-emp-history-row strong,.rp-emp-history-row span,.rp-emp-history-row b,.rp-emp-history-row small,.rp-emp-draft-row strong,.rp-emp-draft-row span{display:block;}.rp-emp-history-row strong,.rp-emp-draft-row strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.rp-emp-history-row span,.rp-emp-draft-row span,.rp-emp-history-row small{color:var(--rp-muted);font-size:12px;line-height:1.35;}.rp-emp-history-row b{text-align:right;font-size:12px;color:var(--rp-primary-deep);}.rp-emp-calendar-week,.rp-emp-calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;}.rp-emp-calendar-week{margin-bottom:7px;}.rp-emp-calendar-week span{color:var(--rp-muted);text-align:center;font-size:11px;font-weight:950;}.rp-emp-cal-cell:hover{background:color-mix(in srgb,var(--rp-primary) 6%,var(--rp-surface) 94%)!important;}.rp-emp-cal-cell.is-empty{background:transparent!important;border:0!important;cursor:default;}.rp-emp-cal-cell span{display:inline-flex;padding:3px 7px;border-radius:999px;color:var(--rp-success);background:var(--rp-success-soft);font-size:11px;font-weight:950;}.rp-emp-cal-cell.has-work{border-color:color-mix(in srgb,var(--rp-primary) 34%,var(--rp-line) 66%)!important;background:color-mix(in srgb,var(--rp-primary) 8%,var(--rp-surface) 92%)!important;}.rp-emp-cal-cell.is-selected span{color:#fff;background:var(--rp-primary);}.rp-emp-cal-cell.is-plus small{color:var(--rp-success)!important;}.rp-emp-cal-cell.is-minus small{color:var(--rp-danger)!important;}
.rp-emp-drawer-backdrop{position:fixed;inset:0;z-index:90;opacity:0;visibility:hidden;pointer-events:none;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);transition:opacity .18s ease,visibility .18s ease;}.rp-emp-drawer-backdrop.is-open{opacity:1;visibility:visible;pointer-events:auto;}
.rp-emp-cal-modal__stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}.rp-emp-cal-modal__stats>div{padding:12px;}.rp-emp-cal-modal__stats span{display:block;text-transform:uppercase;}.rp-emp-cal-modal__calc{display:flex;flex-direction:column;gap:4px;margin:12px 0;padding:12px;}.rp-emp-cal-session-list{display:flex;flex-direction:column;gap:8px;}.rp-emp-cal-session{display:flex;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid var(--rp-line);border-radius:16px;background:var(--rp-surface);}.rp-emp-cal-session span{color:var(--rp-muted);font-size:12px;}.rp-emp-cal-session strong{color:var(--rp-primary-deep);}
.rp-emp-empty,.rp-emp-empty-mini{border:1px dashed color-mix(in srgb,var(--rp-primary) 34%,var(--rp-line) 66%);border-radius:20px;padding:18px;text-align:center;color:var(--rp-muted);background:color-mix(in srgb,var(--rp-primary) 5%,var(--rp-surface) 95%);}.rp-emp-empty strong,.rp-emp-empty span{display:block;}.rp-emp-empty strong{color:var(--rp-text);margin-bottom:4px;}
.rp-emp-drawer__head{display:flex;justify-content:space-between;margin-bottom:18px;}.rp-emp-drawer__head strong{letter-spacing:-.035em;}.rp-emp-drawer__head button{width:42px;height:42px;cursor:pointer;}
.rp-emp-drawer__date{padding:12px;margin-bottom:12px;}.rp-emp-menu{flex-direction:column;}.rp-emp-menu button{justify-content:space-between;font:inherit;font-weight:900;cursor:pointer;}.rp-emp-menu button:hover{color:var(--rp-text)!important;}.rp-emp-menu span{min-width:26px;height:26px;border-radius:999px;display:grid;place-items:center;color:var(--rp-primary-deep);background:var(--rp-surface);font-size:12px;}
.rp-emp-drawer__kpi{margin-top:14px;padding:15px;}.rp-emp-drawer__kpi span,.rp-emp-drawer__kpi small,.rp-emp-drawer__kpi strong{display:block;}.rp-emp-drawer__kpi strong{margin:4px 0;letter-spacing:-.035em;}.rp-emp-drawer__actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px;}.rp-emp-drawer__actions--single{grid-template-columns:1fr;}

.rp-emp-drawer[aria-hidden="true"]{visibility:hidden!important;pointer-events:none!important;}
.rp-emp-drawer[aria-hidden="false"]{visibility:visible!important;pointer-events:auto!important;}
.rp-emp-app .rp-emp-drawer-backdrop:not(.is-open){display:block!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;}

@media (max-width:720px){.rp-emp-shell{padding-left:9px;padding-right:9px;}.rp-emp-map{height:238px;}.rp-emp-care-grid{grid-template-columns:1fr 1fr;}.rp-emp-choice-grid--plans{grid-template-columns:1fr;}.rp-emp-form-grid{grid-template-columns:1fr;}.rp-emp-task__actions{grid-template-columns:1fr 1fr;}.rp-emp-task__actions .rp-emp-btn--nav,.rp-emp-task__actions .rp-emp-btn--primary{grid-column:span 2;}.rp-emp-detail-grid{grid-template-columns:1fr;}.rp-emp-progress{width:64px;height:64px;flex-basis:64px;}}
@media (max-width:420px){.rp-emp-task__actions,.rp-emp-report__actions{grid-template-columns:1fr;}.rp-emp-task__actions .rp-emp-btn--nav,.rp-emp-task__actions .rp-emp-btn--primary{grid-column:auto;}.rp-emp-cal-modal__stats{grid-template-columns:1fr;}.rp-emp-calendar-week,.rp-emp-calendar{gap:4px;}.rp-emp-cal-cell span{font-size:10px;padding:2px 5px;}.rp-emp-care-grid{grid-template-columns:1fr;}}
@supports not selector(:has(*)){.rp-emp-choice input:checked+span strong{color:var(--rp-primary-dark);}.rp-emp-care-card input:checked~strong{color:var(--rp-primary-dark);}}
.rp-emp-app .rp-emp-drawer-backdrop{z-index:100000!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;transition:opacity .18s ease,visibility .18s ease!important;}
.rp-emp-app .rp-emp-drawer-backdrop.is-open{display:block!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;}
.rp-emp-app .rp-emp-drawer{z-index:100001!important;max-width:calc(100vw - 18px)!important;}
.rp-emp-app .rp-emp-drawer:not(.is-open){visibility:hidden!important;pointer-events:none!important;}
.rp-emp-app .rp-emp-drawer.is-open{visibility:visible!important;pointer-events:auto!important;}
.rp-emp-app .rp-emp-drawer__head button,.rp-emp-app .rp-emp-burger{position:relative!important;z-index:2!important;-webkit-tap-highlight-color:transparent!important;}
.rp-emp-home-return .rp-emp-btn[disabled]{opacity:.78!important;cursor:not-allowed!important;}
@media (max-width:782px){
  .admin-bar .rp-emp-drawer{padding-top:calc(18px + env(safe-area-inset-top) + 46px)!important;}
}
@media (min-width:783px){
  .admin-bar .rp-emp-drawer{padding-top:calc(18px + env(safe-area-inset-top) + 32px)!important;}
}
.rp-emp-drawer{position:fixed;z-index:100;top:0;height:100dvh;transform:translateX(-105%);padding:calc(18px + env(safe-area-inset-top)) 14px calc(18px + env(safe-area-inset-bottom));transition:transform .22s ease,visibility .22s ease;overflow:auto;-webkit-overflow-scrolling:touch;pointer-events:none!important;visibility:hidden!important;}
.rp-emp-drawer.is-open{transform:translateX(0);pointer-events:auto!important;visibility:visible!important;}
.rp-emp-app{--rp-warn:var(--rp-danger);box-sizing:border-box;width:100%;min-height:100dvh;font-size:15px;line-height:1.38;}
.rp-emp-app .rp-emp-mapcard--route{overflow:hidden!important;}

.rp-emp-current-under-map{margin-top:2px!important;}
.rp-emp-current-under-map .rp-emp-current-label{margin-top:0!important;}
.rp-emp-upcoming-list{gap:14px!important;}

.rp-emp-task.is-upcoming{transform:translateZ(0);}
.rp-emp-task.is-upcoming+.rp-emp-task.is-upcoming{margin-top:2px;}
.rp-emp-task.is-upcoming:not(.is-open){opacity:.96;}
.rp-emp-task.is-upcoming:not(.is-open) .rp-emp-task__details{display:none!important;}
.rp-emp-task.is-upcoming .rp-emp-task__no{width:38px!important;height:38px!important;}
.rp-emp-task.is-current .rp-emp-task__no{width:44px!important;height:44px!important;}

.rp-emp-home-return{box-shadow:0 12px 30px rgba(23,79,20,.10)!important;}
.rp-emp-choice{position:relative;display:flex!important;flex-direction:row!important;gap:10px!important;color:var(--rp-text)!important;align-items:stretch!important;padding:0!important;overflow:hidden!important;min-height:72px;}
.rp-emp-choice input{padding:0!important;flex:0 0 auto;accent-color:var(--rp-primary);position:absolute!important;opacity:0!important;pointer-events:none!important;width:1px!important;height:1px!important;min-height:1px!important;margin:0!important;}
.rp-emp-choice-body{width:100%;display:flex;align-items:center;gap:11px;padding:13px 14px;border-radius:18px;color:var(--rp-text);background:var(--rp-surface);transition:background .16s ease,color .16s ease,box-shadow .16s ease;}
.rp-emp-choice-icon{width:34px;height:34px;flex:0 0 34px;border-radius:14px;display:grid;place-items:center;color:var(--rp-primary-deep);background:var(--rp-primary-soft);}
.rp-emp-choice-icon svg{width:19px;height:19px;display:block;}

.rp-emp-choice:has(input:checked) .rp-emp-choice-body{background:linear-gradient(180deg,color-mix(in srgb,var(--rp-primary) 7%,var(--rp-surface) 93%),color-mix(in srgb,var(--rp-primary) 16%,var(--rp-surface) 84%))!important;}
.rp-emp-choice:has(input:checked) .rp-emp-choice-icon{color:#fff;background:linear-gradient(135deg,var(--rp-primary),var(--rp-primary-dark));}
.rp-emp-choice:has(input:checked) strong{color:var(--rp-primary-deep)!important;}
.rp-emp-care-card input{top:10px;left:10px;padding:0!important;accent-color:var(--rp-primary);position:absolute!important;opacity:0!important;pointer-events:none!important;width:1px!important;height:1px!important;min-height:1px!important;}
.rp-emp-care-icon,.rp-emp-care-card .rp-emp-care-icon{width:42px;height:42px;display:grid!important;place-items:center!important;border-radius:16px;color:var(--rp-primary-deep);background:var(--rp-primary-soft);font-size:0!important;line-height:1!important;}
.rp-emp-care-icon svg{width:23px;height:23px;display:block;}
.rp-emp-care-card:has(input:checked) .rp-emp-care-icon{color:#fff;background:linear-gradient(135deg,var(--rp-primary),var(--rp-primary-dark));}
.rp-emp-care-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px;}
.rp-emp-care-chips span{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border-radius:999px;background:#fff7dc;color:#5d470b;font-size:11px;font-weight:900;box-shadow:inset 0 0 0 1px rgba(245,197,66,.32);}
.rp-emp-care-chips b{width:16px;height:16px;display:grid;place-items:center;color:#5d470b;}
.rp-emp-care-chips svg{width:14px;height:14px;display:block;}

@supports not selector(:has(*)){
  .rp-emp-choice input:checked+.rp-emp-choice-body{background:#e2f4d9!important;}
  .rp-emp-choice input:checked+.rp-emp-choice-body strong{color:var(--rp-primary-deep)!important;}
  .rp-emp-care-card input:checked~.rp-emp-care-icon{color:#fff;background:linear-gradient(135deg,var(--rp-primary),var(--rp-primary-dark));}
}
@media (max-width:720px){
  .rp-emp-app .rp-emp-map{height:230px!important;}
  .rp-emp-route-head{align-items:flex-start!important;}
  .rp-emp-task{padding:14px!important;}
  .rp-emp-choice-grid{grid-template-columns:1fr!important;}

}
@media (max-width:420px){
  .rp-emp-app .rp-emp-map{height:214px!important;}

  .rp-emp-choice-body{padding:12px!important;}
}
.rp-emp-app .rp-emp-burger{display:flex!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;gap:4px!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.72),0 8px 18px rgba(23,79,20,.10)!important;}
.rp-emp-app .rp-emp-burger span{width:19px!important;height:2px!important;min-height:2px!important;border-radius:999px!important;background:var(--rp-primary-deep)!important;box-shadow:none!important;transition:transform .18s ease,opacity .18s ease,width .18s ease!important;}
.rp-emp-app .rp-emp-burger.is-open span:nth-child(1){transform:translateY(6px) rotate(45deg)!important;}
.rp-emp-app .rp-emp-burger.is-open span:nth-child(2){opacity:0!important;width:8px!important;}
.rp-emp-app .rp-emp-burger.is-open span:nth-child(3){transform:translateY(-6px) rotate(-45deg)!important;}
.rp-emp-app .rp-emp-drawer__head button,.rp-emp-app .rp-emp-photo-item button{display:grid!important;place-items:center!important;align-items:center!important;justify-content:center!important;padding:0!important;text-align:center!important;}
.rp-emp-app .rp-emp-drawer__head button{width:34px!important;height:34px!important;min-height:34px!important;}

.rp-emp-app .rp-emp-photo-item button{width:28px!important;height:28px!important;min-height:28px!important;border-radius:999px!important;}

.rp-emp-app .rp-emp-map .gm-style img{max-width:none!important;}
.rp-emp-app .rp-emp-admin-extra{display:flex!important;flex-direction:column!important;gap:10px!important;}
.rp-emp-app .rp-emp-switch-check{display:block!important;position:relative!important;cursor:pointer!important;margin:0!important;}
.rp-emp-app .rp-emp-switch-check input{position:absolute!important;opacity:0!important;pointer-events:none!important;width:1px!important;height:1px!important;min-height:1px!important;padding:0!important;margin:0!important;}
.rp-emp-app .rp-emp-switch-check span{display:flex!important;align-items:center!important;gap:11px!important;width:100%!important;padding:13px 14px!important;border:1px solid var(--rp-line)!important;border-radius:18px!important;background:var(--rp-surface)!important;color:var(--rp-text)!important;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease!important;}
.rp-emp-app .rp-emp-switch-check b{width:34px!important;height:34px!important;flex:0 0 34px!important;display:grid!important;place-items:center!important;border-radius:14px!important;color:var(--rp-primary-deep)!important;background:var(--rp-primary-soft)!important;}
.rp-emp-app .rp-emp-switch-check svg{width:19px!important;height:19px!important;display:block!important;}
.rp-emp-app .rp-emp-switch-check strong,.rp-emp-app .rp-emp-switch-check small{display:block!important;line-height:1.25!important;}
.rp-emp-app .rp-emp-switch-check small{margin-top:3px!important;color:var(--rp-muted)!important;font-weight:700!important;}
.rp-emp-app .rp-emp-switch-check input:checked+span{border-color:color-mix(in srgb,var(--rp-primary) 52%,var(--rp-line) 48%)!important;background:linear-gradient(180deg,color-mix(in srgb,var(--rp-primary) 7%,var(--rp-surface) 93%),color-mix(in srgb,var(--rp-primary) 16%,var(--rp-surface) 84%))!important;box-shadow:0 10px 24px color-mix(in srgb,var(--rp-primary) 12%,transparent)!important;}
.rp-emp-app .rp-emp-switch-check input:checked+span b{color:#fff!important;background:linear-gradient(135deg,var(--rp-primary),var(--rp-primary-dark))!important;}
.rp-emp-app .rp-emp-switch-check input:checked+span strong{color:var(--rp-primary-deep)!important;}
.rp-emp-app .rp-address-suggest{position:relative!important;z-index:100020!important;margin-top:6px!important;width:100%!important;}
.rp-emp-app .rp-address-suggest.is-open{background:var(--rp-surface)!important;border:1px solid color-mix(in srgb,var(--rp-primary) 26%,var(--rp-line) 74%)!important;border-radius:16px!important;box-shadow:0 18px 38px rgba(23,79,20,.16)!important;overflow:hidden!important;}
.rp-emp-app .rp-address-suggest__item{display:block!important;width:100%!important;border:0!important;border-radius:0!important;min-height:44px!important;padding:11px 13px!important;background:var(--rp-surface)!important;color:var(--rp-text)!important;text-align:left!important;font:inherit!important;font-size:13px!important;font-weight:850!important;line-height:1.3!important;cursor:pointer!important;box-shadow:none!important;}
.rp-emp-app .rp-address-suggest__item:hover,.rp-emp-app .rp-address-suggest__item:focus{background:var(--rp-primary-soft)!important;color:var(--rp-primary-deep)!important;}
.rp-emp-app .rp-address-suggest__item+.rp-address-suggest__item{border-top:1px solid var(--rp-line)!important;}
.rp-emp-app .rp-emp-choice input[type="radio"]{position:absolute!important;opacity:0!important;pointer-events:none!important;width:1px!important;height:1px!important;min-height:1px!important;margin:0!important;padding:0!important;}
.rp-emp-app .rp-emp-choice{cursor:pointer!important;}

@media (max-width:520px){
  .rp-emp-shell{padding-left:10px!important;padding-right:10px!important;}
  .rp-emp-app .rp-emp-map{height:232px!important;min-height:210px!important;}
  .rp-emp-task__actions{gap:7px!important;}
  .rp-emp-btn{min-height:44px!important;padding-left:12px!important;padding-right:12px!important;}
}
.rp-emp-app .rp-emp-history-day{display:flex!important;flex-direction:column!important;gap:8px!important;margin-top:12px!important;}
.rp-emp-app .rp-emp-history-day h3{margin:0!important;padding:7px 10px!important;border-radius:999px!important;background:var(--rp-primary-soft)!important;color:var(--rp-primary-deep)!important;font-size:12px!important;font-weight:950!important;letter-spacing:.04em!important;}
.rp-emp-admin-extra [data-rp-price-note][hidden]{display:none!important;}
.rp-emp-admin-extra [data-rp-price-note]{display:block;margin-top:10px!important;}
.rp-emp-admin-extra [data-rp-price-note] textarea{min-height:82px!important;}
.rp-emp-calendar{align-items:stretch!important;}
.rp-emp-cal-cell{appearance:none;border:1px solid var(--rp-line)!important;border-radius:15px;background:var(--rp-surface)!important;display:flex;flex-direction:column;align-items:center;color:var(--rp-text)!important;font:inherit;cursor:pointer;min-height:58px!important;height:58px!important;max-height:58px!important;padding:6px 3px!important;justify-content:center!important;gap:3px!important;overflow:hidden!important;}
.rp-emp-cal-cell strong{font-size:13px!important;line-height:1!important;}
.rp-emp-cal-cell small{color:var(--rp-muted);display:block!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:9px!important;line-height:1.05!important;font-weight:950!important;}
.rp-emp-cal-cell.is-plus{background:var(--rp-success-soft)!important;border-color:var(--rp-success-line)!important;}
.rp-emp-cal-cell.is-minus{background:var(--rp-danger-soft)!important;border-color:var(--rp-danger-line)!important;}
.rp-emp-cal-cell.is-selected{background:var(--rp-primary-deep)!important;border-color:var(--rp-primary)!important;color:#fff!important;}
.rp-emp-cal-cell.is-selected small{color:rgba(255,255,255,.9)!important;}
@media (max-width:420px){.rp-emp-cal-cell{padding:7px 3px;min-height:52px!important;height:52px!important;max-height:52px!important;border-radius:12px!important;}}
.rp-emp-pests .rp-emp-section-head{margin-bottom:12px!important;}
.rp-emp-pest-group{margin-top:14px!important;}
.rp-emp-pest-group h3{margin:0 0 8px!important;font-size:13px!important;font-weight:1000!important;color:var(--rp-primary-deep)!important;}
.rp-emp-pest-grid{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;}
.rp-emp-pest-card{display:flex!important;gap:10px!important;align-items:flex-start!important;border:1px solid var(--rp-line)!important;border-radius:18px!important;background:var(--rp-surface)!important;padding:10px!important;box-shadow:0 8px 18px rgba(30,88,35,.06)!important;}
.rp-emp-pest-card img{display:block!important;width:64px!important;height:64px!important;padding:4px!important;box-sizing:border-box!important;border-radius:14px!important;object-fit:contain!important;object-position:center!important;background:color-mix(in srgb,var(--rp-primary) 6%,var(--rp-surface) 94%)!important;flex:0 0 auto!important;}
.rp-emp-pest-card__body{min-width:0!important;display:flex!important;flex-direction:column!important;gap:5px!important;}
.rp-emp-pest-card__body strong{font-size:15px!important;line-height:1.15!important;color:var(--rp-text)!important;}
.rp-emp-pest-card__body small{font-size:11px!important;font-weight:850!important;color:var(--rp-muted)!important;}

.rp-emp-pest-prices{display:flex!important;flex-wrap:wrap!important;gap:5px!important;margin-top:3px!important;}
.rp-emp-pest-prices span{display:inline-flex!important;border-radius:999px!important;padding:4px 7px!important;background:var(--rp-surface-subtle)!important;border:1px solid color-mix(in srgb,var(--rp-primary) 22%,var(--rp-line) 78%)!important;font-size:10px!important;font-weight:900!important;color:var(--rp-primary-dark)!important;}
.rp-emp-app .rp-emp-map{filter:saturate(.94) contrast(.98);position:relative!important;overflow:hidden!important;}
.rp-emp-app .rp-emp-map-canvas{width:100%!important;height:100%!important;min-height:inherit!important;}
.rp-emp-app .rp-emp-map__loading{position:absolute!important;inset:12px!important;z-index:3!important;display:grid!important;place-items:center!important;text-align:center!important;border-radius:20px!important;background:rgba(248,255,244,.88)!important;border:1px solid rgba(194,224,184,.72)!important;color:var(--rp-primary-deep)!important;font-weight:950!important;pointer-events:none!important;}
.rp-emp-app .rp-emp-map__loading small{display:block!important;margin-top:4px!important;font-size:11px!important;color:var(--rp-muted)!important;font-weight:850!important;}
.rp-emp-app .rp-emp-price-note{border:1px solid color-mix(in srgb,var(--rp-primary) 26%,var(--rp-line) 74%)!important;background:color-mix(in srgb,var(--rp-primary) 4%,var(--rp-surface) 96%)!important;border-radius:16px!important;padding:10px!important;color:var(--rp-primary-deep)!important;font-size:12px!important;font-weight:950!important;}
.rp-emp-app .rp-emp-price-note textarea{margin-top:6px!important;background:var(--rp-surface)!important;}
.rp-emp-search{display:flex!important;flex-direction:column!important;gap:6px!important;margin:8px 0 12px!important;font-size:12px!important;font-weight:950!important;color:var(--rp-primary-deep)!important;}
.rp-emp-search input{width:100%!important;min-height:42px!important;border-radius:14px!important;border:1px solid color-mix(in srgb,var(--rp-primary) 26%,var(--rp-line) 74%)!important;background:var(--rp-surface)!important;padding:8px 12px!important;font-size:14px!important;box-sizing:border-box!important;}
.rp-emp-pest-card,.rp-emp-pest-card *{max-width:100%!important;box-sizing:border-box!important;overflow-wrap:anywhere!important;word-break:normal!important;}
.rp-emp-pest-card[hidden],.rp-emp-pest-group[hidden]{display:none!important;}
.rp-emp-pest-card__body p{margin:0!important;font-size:12px!important;line-height:1.45!important;color:var(--rp-text)!important;display:-webkit-box!important;-webkit-line-clamp:3!important;-webkit-box-orient:vertical!important;overflow:hidden!important;overflow-wrap:anywhere!important;}

.rp-emp-pest-modal__img{display:block!important;width:100%!important;height:auto!important;max-height:210px!important;padding:6px!important;box-sizing:border-box!important;object-fit:contain!important;object-position:center!important;border-radius:20px!important;background:color-mix(in srgb,var(--rp-primary) 6%,var(--rp-surface) 94%)!important;margin-bottom:12px!important;}

.rp-emp-pest-modal__texts{display:flex!important;flex-direction:column!important;gap:10px!important;margin-top:12px!important;}
.rp-emp-pest-modal__texts section{border:1px solid var(--rp-line)!important;border-radius:16px!important;background:color-mix(in srgb,var(--rp-primary) 4%,var(--rp-surface) 96%)!important;padding:10px!important;}
.rp-emp-pest-modal__texts h3{margin:0 0 5px!important;font-size:12px!important;text-transform:uppercase!important;letter-spacing:.05em!important;color:var(--rp-primary-deep)!important;}
.rp-emp-pest-modal__texts p{margin:0!important;font-size:13px!important;line-height:1.5!important;color:var(--rp-text)!important;overflow-wrap:anywhere!important;}
.rp-emp-pest-prices--modal{margin:10px 0 0!important;}

.rp-emp-customer-picker{display:flex;flex-direction:column;gap:10px;margin-bottom:14px;padding:13px;border:1px solid var(--rp-line);border-radius:22px;background:color-mix(in srgb,var(--rp-primary) 5%,var(--rp-surface) 95%);box-shadow:var(--rp-shadow-soft,0 10px 24px rgba(23,79,20,.08));}
.rp-emp-customer-picker__head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;}
.rp-emp-customer-picker__head strong,.rp-emp-customer-picker__head span{display:block;}
.rp-emp-customer-picker__head span{color:var(--rp-muted);font-size:12px;font-weight:750;line-height:1.32;}
.rp-emp-customer-results{display:flex;flex-direction:column;gap:7px;max-height:270px;overflow:auto;padding-right:2px;}
.rp-emp-customer-result{width:100%;border:1px solid var(--rp-line)!important;border-radius:17px;padding:10px 12px;background:var(--rp-surface)!important;color:var(--rp-text)!important;text-align:left;box-shadow:0 8px 18px rgba(23,79,20,.06)!important;cursor:pointer;}
.rp-emp-customer-result:hover,.rp-emp-customer-result:focus{border-color:color-mix(in srgb,var(--rp-primary) 38%,var(--rp-line) 62%)!important;background:color-mix(in srgb,var(--rp-primary) 7%,var(--rp-surface) 93%)!important;}
.rp-emp-customer-result strong,.rp-emp-customer-result span,.rp-emp-customer-result small,.rp-emp-customer-selected strong,.rp-emp-customer-selected span,.rp-emp-customer-selected small{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.rp-emp-customer-result strong,.rp-emp-customer-selected strong{font-size:13px;font-weight:950;}
.rp-emp-customer-result span,.rp-emp-customer-selected span{font-size:12px;color:var(--rp-muted);}
.rp-emp-customer-result small,.rp-emp-customer-selected small{font-size:11px;color:var(--rp-primary-dark);font-weight:750;}
.rp-emp-customer-selected{padding:11px 12px;border:1px solid color-mix(in srgb,var(--rp-primary) 34%,var(--rp-line) 66%);border-radius:18px;background:var(--rp-primary-soft);color:var(--rp-primary-deep);}
@media (max-width:420px){.rp-emp-customer-picker__head{flex-direction:column;}.rp-emp-customer-picker__head .rp-emp-btn{width:100%;}}
.rp-emp-day-control{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0;padding:12px;}
.rp-emp-day-control.is-active{background:color-mix(in srgb,var(--rp-primary) 11%,var(--rp-surface) 89%);border-color:color-mix(in srgb,var(--rp-primary) 45%,var(--rp-line) 55%);}
.rp-emp-day-control strong{display:block;font-size:13px;color:var(--rp-primary-deep);margin-bottom:2px;}
.rp-emp-day-control span{display:block;font-size:11px;line-height:1.35;color:var(--rp-muted);}
.rp-emp-drawer__actions .rp-emp-day-control{display:grid;grid-template-columns:1fr;align-items:stretch;margin:0 0 10px 0;}
.rp-emp-drawer__actions .rp-emp-day-control .rp-emp-btn{width:100%;}
@media (max-width:520px){.rp-emp-day-control{align-items:stretch;flex-direction:column;}.rp-emp-day-control .rp-emp-btn{width:100%;}}
.rp-emp-calendar-controls{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 10px;}
.rp-emp-calendar-controls label{display:flex;flex-direction:column;gap:4px;font-size:10px;font-weight:950;color:var(--rp-muted);text-transform:uppercase;letter-spacing:.04em;}
.rp-emp-calendar-controls select{width:100%;border:1px solid var(--rp-line);border-radius:13px;background:var(--rp-surface);padding:9px 10px;font-size:13px;font-weight:900;color:var(--rp-text);}
@media (max-width:420px){.rp-emp-calendar-controls{grid-template-columns:1fr 1fr;gap:6px;}.rp-emp-calendar-controls select{padding:8px 7px;font-size:12px;}}
.rp-emp-balance-summary{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:8px;margin:0 0 12px;align-items:stretch;}
.rp-emp-balance-summary>div{border:1px solid var(--rp-line);border-radius:16px;background:var(--rp-surface);padding:9px 10px;min-width:0;}
.rp-emp-balance-summary__main{background:var(--rp-surface-subtle)!important;border-color:color-mix(in srgb,var(--rp-primary) 34%,var(--rp-line) 66%)!important;}
.rp-emp-balance-summary span{display:block;color:var(--rp-muted);font-size:10px;font-weight:950;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.rp-emp-balance-summary strong{display:block;margin-top:3px;font-size:13px;line-height:1.15;font-weight:1000;color:var(--rp-success);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.rp-emp-balance-summary.is-minus .rp-emp-balance-summary__main{background:var(--rp-danger-soft)!important;border-color:var(--rp-danger-line)!important;}
.rp-emp-balance-summary.is-minus .rp-emp-balance-summary__main strong,.rp-emp-balance-summary strong.is-minus{color:var(--rp-danger)!important;}
.rp-emp-balance-summary strong.is-plus{color:var(--rp-success)!important;}
@media (max-width:420px){.rp-emp-balance-summary{grid-template-columns:1fr;gap:6px;}.rp-emp-balance-summary>div{padding:8px 10px;}.rp-emp-balance-summary strong{font-size:12px;}}
.rp-emp-balance-summary small{display:block;margin-top:2px;font-size:10px;font-weight:850;color:var(--rp-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.rp-emp-month-overview{margin:-2px 0 12px;border:1px solid var(--rp-line);border-radius:18px;background:var(--rp-surface);overflow:hidden;}
.rp-emp-month-overview__head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;padding:10px 12px;background:var(--rp-surface-subtle);border-bottom:1px solid var(--rp-line);}
.rp-emp-month-overview__head strong{font-size:12px;font-weight:1000;color:var(--rp-text);}
.rp-emp-month-overview__head span{font-size:10px;font-weight:800;color:var(--rp-muted);text-align:right;}
.rp-emp-month-overview__scroll{max-height:190px;overflow:auto;padding:6px;display:grid;gap:5px;}
.rp-emp-month-overview__row{appearance:none;border:1px solid var(--rp-line)!important;background:var(--rp-surface)!important;border-radius:13px;padding:8px 9px;display:grid;grid-template-columns:1fr auto;gap:3px 8px;align-items:center;text-align:left;color:var(--rp-text)!important;font:inherit;cursor:pointer;}
.rp-emp-month-overview__row.is-selected{border-color:color-mix(in srgb,var(--rp-primary) 52%,var(--rp-line) 48%)!important;background:color-mix(in srgb,var(--rp-primary) 8%,var(--rp-surface) 92%)!important;}
.rp-emp-month-overview__row span{font-size:12px;font-weight:1000;}
.rp-emp-month-overview__row small{font-size:10px;font-weight:850;color:var(--rp-muted);white-space:nowrap;}
.rp-emp-month-overview__row strong{font-size:11px;font-weight:1000;white-space:nowrap;}
.rp-emp-month-overview__row .is-plus{color:var(--rp-success)!important;}.rp-emp-month-overview__row .is-minus{color:var(--rp-danger)!important;}
@media (max-width:420px){.rp-emp-month-overview__head{display:block;}.rp-emp-month-overview__head span{display:block;text-align:left;margin-top:2px;}.rp-emp-month-overview__row{grid-template-columns:1fr;}.rp-emp-month-overview__scroll{max-height:170px;}}
.rp-emp-route-lock{display:flex;flex-direction:column;gap:4px;margin:10px 0;}
.rp-emp-day-control.is-locked{border-color:#f4c36b;background:#fff8e8;}
.rp-emp-day-control.is-locked .rp-emp-btn[disabled],.rp-emp-task.is-locked .rp-emp-btn[disabled]{opacity:.72;cursor:not-allowed;white-space:normal;text-align:center;}
.rp-emp-task__state-row{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:0;}
.rp-emp-task__state-row .rp-emp-task__state{margin:0!important;}
.rp-emp-visit-badge{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:950;line-height:1;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap;border:1px solid rgba(47,125,32,.14);background:var(--rp-primary-soft);color:var(--rp-primary-deep);}
.rp-emp-visit-badge.is-new{background:var(--rp-primary-soft);color:var(--rp-primary-deep);border-color:color-mix(in srgb,var(--rp-primary) 28%,var(--rp-line) 72%);}
.rp-emp-visit-badge.is-followup{background:#fff7dc;color:#6b4e00;border-color:#ead69d;}
.rp-emp-visit-badge.is-recheck{background:var(--rp-purple-soft);color:#55389c;border-color:color-mix(in srgb,var(--rp-purple) 32%,var(--rp-line) 68%);}
.rp-emp-course-badge,.rp-course-badge{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:6px 10px;border-radius:999px;background:var(--rp-purple-soft,#f1ecff);color:#55389c;font-weight:700;font-size:12px;line-height:1.4;white-space:normal;overflow-wrap:anywhere;}
.rp-emp-task.is-course.is-upcoming{border-inline-start:4px solid var(--rp-purple,#7956d9);}
.rp-emp-case-equipment summary{display:flex;align-items:center;gap:10px;min-height:44px;cursor:pointer;list-style:none;}
.rp-emp-case-equipment summary::-webkit-details-marker{display:none;}
.rp-emp-case-equipment summary>strong{flex:1;min-width:0;margin:0;color:var(--rp-text);}
.rp-emp-case-equipment summary>.rp-icon{transition:transform .16s ease;}
.rp-emp-case-equipment[open] summary>.rp-icon{transform:rotate(180deg);}
.rp-emp-equipment-icon{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:10px;background:var(--rp-primary-soft);color:var(--rp-primary-dark);}
.rp-emp-case-equipment>label{margin:12px 0;}
.rp-emp-case-equipment>label small{color:var(--rp-muted);font-weight:500;}
.rp-emp-case-equipment textarea{box-sizing:border-box;max-width:100%;width:100%;}
.rp-emp-map-popup .rp-emp-visit-badge{margin-top:6px;}
@media (max-width:420px){.rp-emp-visit-badge{font-size:10.5px;padding:5px 8px;}.rp-emp-task__state-row{gap:5px;}}

@media (max-width:720px){.rp-emp-task__actions .rp-emp-btn--undo{grid-column:span 2;}}
@media (max-width:420px){.rp-emp-task__actions .rp-emp-btn--undo{grid-column:auto;}}
.rp-emp-route-pace-box{display:grid;gap:3px;margin-top:10px;padding:14px 15px;border:1px solid #e2e8f0;background:#f8fafc;color:var(--rp-muted);box-shadow:0 10px 24px rgba(15,23,42,.06);}
.rp-emp-route-pace-box b{font-size:10px;font-weight:950;letter-spacing:.07em;text-transform:uppercase;line-height:1.1;color:inherit;}
.rp-emp-route-pace-box strong{font-size:23px;font-weight:950;line-height:1.05;color:inherit;}
.rp-emp-route-pace-box span{font-size:12px;font-weight:800;line-height:1.35;color:inherit;opacity:.86;}
.rp-emp-route-pace-box.is-danger{border-color:var(--rp-danger-line);background:var(--rp-danger-soft);color:var(--rp-danger);}
.rp-emp-route-pace-box.is-ahead,.rp-emp-route-pace-box.is-ok{border-color:var(--rp-success-line);background:var(--rp-success-soft);color:var(--rp-success);}
.rp-emp-route-pace-box.is-neutral{border-color:#e2e8f0;background:#f8fafc;color:var(--rp-muted);}
.rp-emp-route-pace.is-warning{color:var(--rp-warning-text)!important;background:var(--rp-warning-soft)!important;}
.rp-emp-route-pace.is-danger{color:var(--rp-danger)!important;background:var(--rp-danger-soft)!important;}
.rp-emp-route-pace.is-ahead{color:var(--rp-primary-dark)!important;background:var(--rp-primary-soft)!important;}
.rp-emp-route-pace.is-good{color:var(--rp-primary-dark)!important;background:var(--rp-primary-soft)!important;}
.rp-emp-delta.is-ok{color:var(--rp-primary-dark)!important;background:var(--rp-primary-soft)!important;}
.rp-emp-delta.is-danger{color:var(--rp-danger)!important;background:var(--rp-danger-soft)!important;}
.rp-emp-delta.is-ahead{color:var(--rp-primary-dark)!important;background:var(--rp-primary-soft)!important;}
.rp-emp-note--time{background:var(--rp-danger-soft)!important;border-color:var(--rp-danger-line)!important;}
.rp-emp-note--time strong,.rp-emp-note--time p{color:var(--rp-danger)!important;}
.rp-emp-map-popup__time{margin-top:8px;padding:8px 9px;border-radius:12px;background:var(--rp-danger-soft);border:1px solid var(--rp-danger-line);color:var(--rp-danger);font-size:12px;font-weight:800;line-height:1.35;}
.rp-emp-map-popup__time strong{color:var(--rp-danger);font-weight:950;}
.rp-emp-new-task-addons{display:grid;gap:10px;margin:14px 0;padding:13px;border:1px solid #d5e5d0;border-radius:15px;background:var(--rp-surface-subtle);}
.rp-emp-new-task-addon-rows{display:grid;gap:9px;}
.rp-emp-new-task-addon-row{display:grid;grid-template-columns:82px minmax(0,1.2fr) minmax(130px,.8fr) auto;gap:9px;align-items:end;padding:11px;border:1px solid #dbe7d6;border-radius:12px;background:var(--rp-surface);}
.rp-emp-new-task-addon-row>strong{align-self:center;color:var(--rp-primary-dark);font-size:12px;}.rp-emp-new-task-addon-row label{margin:0;}.rp-emp-new-task-addon-row select{min-height:42px;}

.rp-emp-task-count-badge{display:inline-flex;align-items:center;padding:5px 9px;text-transform:uppercase;letter-spacing:.035em;white-space:nowrap;}
.rp-emp-task-lines{display:grid;gap:12px;margin:10px 0 16px;padding:0;}
.rp-emp-task-lines>[data-rp-addon-rows]{display:grid;gap:12px;}
.rp-emp-task-lines__overview{display:block;padding:0 2px 2px;}
.rp-emp-task-lines__progress{display:grid;grid-template-columns:auto minmax(90px,180px);gap:9px;align-items:center;justify-content:end;}
.rp-emp-task-lines__progress>span{text-align:right;white-space:nowrap;}
.rp-emp-task-lines__progress>i{display:block;height:7px;overflow:hidden;}.rp-emp-task-lines__progress>i>b{display:block;height:100%;min-width:0;transition:width .2s ease;}
.rp-emp-task-line{position:relative;display:block;margin:0;overflow:hidden;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease;}
.rp-emp-task-line>summary{list-style:none;}.rp-emp-task-line>summary::-webkit-details-marker{display:none;}
.rp-emp-task-line__summary{display:grid;grid-template-columns:34px minmax(0,1fr) auto auto;gap:9px;align-items:center;padding:12px;cursor:pointer;}
.rp-emp-addon-row .rp-emp-task-line__summary{padding-right:72px;}
.rp-emp-task-line__icon{display:grid;place-items:center;width:30px;height:30px;}
.rp-emp-task-line__icon.has-image{position:relative;overflow:visible;padding:0;}
.rp-emp-task-line__icon.has-image>img{display:block;width:100%;height:100%;padding:2px;box-sizing:border-box;object-fit:contain;object-position:center;}
.rp-emp-task-line__icon.has-image>i{position:absolute;right:-3px;bottom:-3px;display:grid;place-items:center;width:15px;height:15px;font-style:normal;}

.rp-emp-task-line__icon>.rp-icon{width:16px;height:16px;}
.rp-emp-task-line__icon.has-image>i>.rp-icon{width:9px;height:9px;}
.rp-emp-task-line__toggle{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:30px;padding:0 9px;white-space:nowrap;}
.rp-emp-task-line__toggle i{display:block;width:7px;height:7px;transform:rotate(45deg) translateY(-2px);transition:transform .16s ease;}
.rp-emp-task-line__toggle-close{display:none;}.rp-emp-task-line[open]>.rp-emp-task-line__summary .rp-emp-task-line__toggle-open{display:none;}.rp-emp-task-line[open]>.rp-emp-task-line__summary .rp-emp-task-line__toggle-close{display:inline;}.rp-emp-task-line[open]>.rp-emp-task-line__summary .rp-emp-task-line__toggle i{transform:rotate(225deg) translate(-1px,-1px);}
.rp-emp-task-line__identity{display:block;min-width:0;}.rp-emp-task-line__identity b,.rp-emp-task-line__identity small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.rp-emp-task-line__identity small{margin-top:2px;}
.rp-emp-service-summary{display:block;margin-top:4px;color:var(--rp-primary-dark);font-size:11px;font-weight:900;white-space:normal;line-height:1.35;}
.rp-emp-task-service-summary{margin:2px 0 4px;}
.rp-emp-service-summary[hidden]{display:none!important;}
.rp-emp-task-line__status{padding:5px 8px;white-space:nowrap;}
.rp-emp-task-line__body{display:grid;gap:14px;padding:14px;}
.rp-emp-task-line--primary{overflow:visible;}.rp-emp-task-line--primary>.rp-emp-task-line__summary{margin:0 -15px;padding:12px 15px;}.rp-emp-task-line--primary>.rp-emp-task-line__body{padding:16px 0 0;}
.rp-emp-task-line__body>label,.rp-emp-task-line__selectors label,.rp-emp-addon-followup>label,.rp-emp-addon-followup__contents>label{display:grid;gap:5px;margin:0;}
.rp-emp-task-line__body textarea,.rp-emp-task-line__body select,.rp-emp-task-line__body input{width:100%;box-sizing:border-box;}
.rp-emp-task-line__body input,.rp-emp-task-line__body select,.rp-emp-task-line__body textarea{min-height:44px;}.rp-emp-task-line__body textarea{padding:10px 11px;resize:vertical;}
.rp-emp-task-line__selectors{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(140px,.75fr);gap:9px;}

.rp-emp-line-lock{padding:9px 10px;border:1px solid #d8dfd8;border-radius:12px;background:#f1f4f1;color:#5d695f;font-size:11px;font-weight:850;}
.rp-emp-addon-followup{display:grid;gap:10px;padding:11px;border:1px solid #bfd9f3;border-radius:14px;background:#f3f9ff;}.rp-emp-addon-followup__contents{display:contents;}.rp-emp-addon-followup[hidden],.rp-emp-task-line [hidden]{display:none!important;}
.rp-emp-addon-remove{position:absolute;z-index:3;top:11px;right:12px;min-height:30px;padding:5px 9px;border:1px solid #edb5b0;border-radius:9px;background:var(--rp-surface);color:#a4372f;font-size:10px;font-weight:950;cursor:pointer;}.rp-emp-addon-remove:hover{background:#fff1ef;}
.rp-emp-price-note-panel{border:1px solid #dce6d8;border-radius:13px;background:var(--rp-surface-subtle);overflow:hidden;}.rp-emp-price-note-panel>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:11px 12px;cursor:pointer;color:var(--rp-primary-dark);font-size:11px;font-weight:950;list-style:none;}.rp-emp-price-note-panel>summary::-webkit-details-marker{display:none;}.rp-emp-price-note-panel>summary:after{content:"";width:7px;height:7px;border-right:2px solid var(--rp-primary-dark);border-bottom:2px solid var(--rp-primary-dark);transform:translateY(-2px) rotate(45deg);transition:transform .16s ease;}.rp-emp-price-note-panel[open]>summary:after{transform:translateY(2px) rotate(225deg);}.rp-emp-price-note-panel>summary small{margin-left:auto;color:#78847a;font-size:9.5px;font-weight:800;}.rp-emp-price-note-panel>textarea,.rp-emp-price-note-panel>div,.rp-emp-price-note-panel>label{margin:0 11px 11px;}.rp-emp-price-note-panel>div[data-rp-price-change-fields],.rp-emp-addon-price-proposal>div[data-rp-addon-price-change-fields]{display:grid;gap:10px;margin:0 11px 11px;}.rp-emp-price-note-panel>div[hidden]{display:none!important;}.rp-emp-price-proposal__reference{display:flex!important;align-items:center;justify-content:space-between;gap:12px;padding:10px 11px;border:1px solid var(--rp-line);border-radius:11px;background:#f5faf2;}.rp-emp-price-proposal__reference span{color:#58705b;font-size:10px;font-weight:900;}.rp-emp-price-proposal__reference strong{color:#1f5f27;font-size:16px;font-weight:1000;}.rp-emp-inline-clear{display:inline-flex;align-items:center;gap:5px;justify-self:start;padding:0;border:0;background:transparent;color:#8b3d34;font-size:10.5px;font-weight:900;text-decoration:underline;cursor:pointer;}.rp-emp-inline-clear:hover,.rp-emp-inline-clear:focus{color:#641f19;}
.rp-emp-line-decision{margin:0 11px 11px;padding:9px 10px;border-radius:11px;font-size:11px;font-weight:900;}.rp-emp-line-decision.is-approved{background:#e9f7e5;color:#226127;}.rp-emp-line-decision.is-rejected{background:#fff0ee;color:#923c33;}
.rp-emp-service-addons{margin:0;padding:0;background:transparent;}.rp-emp-addon-service-addons,.rp-emp-new-service-addons,.rp-emp-new-addon-services{display:grid;gap:8px;padding:10px 0;border-top:1px solid #e2e9df;border-bottom:1px solid #e2e9df;}.rp-emp-addon-service-addons[hidden],.rp-emp-new-service-addons[hidden],.rp-emp-new-addon-services[hidden]{display:none!important;}.rp-emp-new-service-addons{margin:4px 0 12px;}.rp-emp-new-addon-services{grid-column:1/-1;margin-top:2px;}.rp-emp-service-addons__rows{display:grid;gap:8px;}.rp-emp-service-addon-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:11px;align-items:center;padding:10px 11px;border:1px solid var(--rp-line);border-radius:13px;background:var(--rp-surface-subtle);}.rp-emp-service-addon-row__copy{min-width:0;}.rp-emp-service-addon-row__copy strong{color:#193e20;font-size:12px;font-weight:950;}
.rp-emp-service-qty{display:inline-grid;grid-template-columns:38px 56px 38px;gap:5px;align-items:center;}.rp-emp-service-qty__btn{display:grid;place-items:center;min-width:38px;height:40px;padding:0;border:1px solid #b9cfb5;border-radius:11px;background:#eef7eb;color:#205c28;font-size:20px;font-weight:1000;line-height:1;cursor:pointer;}.rp-emp-service-qty__btn:disabled{cursor:not-allowed;opacity:.45;}.rp-emp-service-qty input{width:56px!important;min-height:40px!important;padding:5px!important;text-align:center;font-size:15px!important;font-weight:950!important;-moz-appearance:textfield;}.rp-emp-service-qty input::-webkit-outer-spin-button,.rp-emp-service-qty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}.rp-emp-service-addon-row.is-locked{background:#f1f4f1;color:#69736b;}
.rp-emp-task-lines__add{justify-self:start;min-height:44px!important;}.rp-emp-report-photos{display:grid;gap:8px;margin:14px 0;padding:0;border:0;border-radius:0;background:transparent;}.rp-emp-report-photos>label{margin:0;color:#31503a;font-size:11px;font-weight:900;}.rp-emp-report__actions [data-rp-report-submit]{min-height:48px;font-weight:1000;}
.rp-emp-task-line.rp-emp-addon-row{display:block;margin:0;padding:0;}

@media(max-width:720px){.rp-emp-new-task-addon-row [data-rp-new-addon-remove]{justify-self:start;}}
@media(max-width:680px){.rp-emp-task-lines__progress{grid-template-columns:auto minmax(70px,1fr);justify-content:stretch;}.rp-emp-task-line__summary{grid-template-columns:38px minmax(0,1fr) auto;grid-template-rows:auto auto;gap:8px 10px;}.rp-emp-task-line__icon{grid-row:1 / span 2;width:38px;height:38px;}.rp-emp-task-line__status{grid-column:2;grid-row:2;justify-self:start;}.rp-emp-task-line__toggle{grid-column:3;grid-row:1 / span 2;}.rp-emp-task-line__selectors{grid-template-columns:1fr;}.rp-emp-task-line__identity b,.rp-emp-task-line__identity small{white-space:normal;}.rp-emp-task-line__body{padding:12px;}.rp-emp-task-line--primary>.rp-emp-task-line__summary{margin:0 -15px;padding:11px 15px;}.rp-emp-task-line--primary>.rp-emp-task-line__body{padding:14px 0 0;}.rp-emp-task-lines__add{width:100%;justify-content:center;}.rp-emp-addon-remove{top:10px;right:10px;}.rp-emp-addon-row .rp-emp-task-line__summary{padding-right:66px;}.rp-emp-service-addon-row{grid-template-columns:1fr;}.rp-emp-service-qty{width:max-content;}.rp-emp-report__actions{grid-template-columns:1fr;}}

.rp-emp-app [data-rp-work-minutes][readonly]{background:#f1f5ef;color:#425946;cursor:default;}
.rp-emp-route-addons{margin:6px 0 0;max-width:100%;font-size:11px;}
.rp-emp-route-addons>summary{display:inline-flex;align-items:center;gap:6px;margin:0;padding:3px 8px;border:1px solid var(--rp-line);border-radius:999px;background:#f5faf3;color:#315b35;font-weight:850;cursor:pointer;list-style:none;}
.rp-emp-route-addons>summary::-webkit-details-marker{display:none;}
.rp-emp-route-addons>summary::after{font-size:9px;}
.rp-emp-route-addons[open]>summary::after{content:"▴";}
.rp-emp-route-addons>div{display:grid;gap:5px;margin-top:7px;padding:8px 10px;border-left:2px solid #a9cfa0;background:var(--rp-surface-subtle);border-radius:0 8px 8px 0;}
.rp-emp-route-addons p{display:grid;gap:1px;margin:0;color:#405344;}
.rp-emp-route-addons p strong{font-size:11px;color:#173f1d;}
.rp-emp-route-addons p span{font-size:10px;color:#657269;}
@media (max-width:720px){
  .rp-emp-task-lines{margin-inline:-8px;}
  .rp-emp-task-line{overflow:hidden;}
  .rp-emp-task-line__body{padding:16px 14px 18px;display:grid;gap:16px;}
  .rp-emp-task-line__selectors{grid-template-columns:1fr;gap:12px;}
  .rp-emp-service-addons__rows{gap:10px;}
  .rp-emp-service-addon-row{grid-template-columns:1fr;gap:12px;padding:14px;border-radius:16px;}
  .rp-emp-service-addon-row__copy{display:grid;gap:3px;}
  .rp-emp-service-addon-row__copy strong{display:block;font-size:15px;line-height:1.25;}
  .rp-emp-service-addon-row__copy strong+span,.rp-emp-service-addon-row__copy small{display:block;margin-top:2px;color:#526454;font-size:12px;line-height:1.35;}
  .rp-emp-service-qty{grid-template-columns:52px 58px 52px;justify-content:flex-start;column-gap:12px;row-gap:0;}
  .rp-emp-service-qty__btn,.rp-emp-service-qty input{width:52px!important;min-width:52px;height:50px;min-height:50px!important;margin:0!important;}
  .rp-emp-price-note-panel{border-radius:16px;}
  .rp-emp-price-note-panel>summary{min-height:54px;padding:0 15px;}
  .rp-emp-task-line__summary{grid-template-columns:42px minmax(0,1fr) auto;grid-template-rows:auto auto;gap:8px 10px;padding:15px 14px;}
  .rp-emp-task-line__icon{grid-row:1 / span 2;width:38px;height:38px;}
  .rp-emp-task-line__status{grid-column:2;grid-row:2;justify-self:start;}
  .rp-emp-task-line__toggle{grid-column:3;grid-row:1 / span 2;}

  .rp-emp-service-summary{display:block;margin-top:4px;font-size:12px;line-height:1.35;}
  .rp-emp-new-task-addons{margin-inline:0;padding:12px;}
  .rp-emp-new-task-addon-row{grid-template-columns:1fr;gap:12px;}
  .rp-emp-new-task-addon-row>strong{grid-column:auto;}
}
.rp-emp-pest-search{position:relative;min-width:0;}
.rp-emp-pest-search__input{width:100%;min-height:48px;padding:11px 42px 11px 13px;border:1px solid #c9ddc4;border-radius:14px;background:var(--rp-surface);color:#163d21;font:inherit;font-weight:750;box-sizing:border-box;}
.rp-emp-pest-search__input:focus{outline:3px solid rgba(76,154,52,.16);border-color:#66a84f;}
.rp-emp-pest-search__native{position:absolute!important;inset:0 auto auto 0!important;width:1px!important;height:1px!important;min-width:0!important;min-height:0!important;padding:0!important;border:0!important;clip-path:inset(50%)!important;opacity:0!important;pointer-events:none!important;overflow:hidden!important;}
.rp-emp-pest-search__list{position:absolute;z-index:80;left:0;right:0;top:calc(100% + 5px);max-height:min(45vh,360px);overflow:auto;padding:7px;border:1px solid #bdd4b7;border-radius:14px;background:var(--rp-surface);box-shadow:0 18px 44px rgba(23,61,31,.2);}
.rp-emp-pest-search__group{padding:8px 9px 4px;color:#648069;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.05em;}
.rp-emp-pest-search__list button{display:block;width:100%;padding:10px 11px;border:0;border-radius:10px;background:transparent;color:#163d21;text-align:left;cursor:pointer;}
.rp-emp-pest-search__list button:hover,.rp-emp-pest-search__list button:focus{background:var(--rp-primary-soft);outline:0;}
.rp-emp-pest-search__empty{padding:13px;color:#6c7c6d;font-weight:700;}
.rp-emp-task__no.has-image{position:relative;padding:0;overflow:visible;}
.rp-emp-task__no.has-image img{display:block;width:100%;height:100%;padding:3px;box-sizing:border-box;object-fit:contain;object-position:center;}
.rp-emp-task__no.has-image i{position:absolute;right:-3px;bottom:-3px;display:grid;place-items:center;width:16px;height:16px;font-style:normal;box-sizing:border-box;}

.rp-emp-queue-row{align-items:stretch;gap:12px;flex-wrap:wrap;}
.rp-emp-queue-row__text{display:flex;flex:1 1 260px;min-width:0;flex-direction:column;gap:5px;}
.rp-emp-queue-row__text>span:not(.rp-emp-pill){overflow-wrap:anywhere;}
.rp-emp-queue-row__text .rp-emp-pill{align-self:flex-start;}
.rp-emp-queue-row__actions{display:flex;flex:1 1 100%;gap:8px;flex-wrap:wrap;}
.rp-emp-queue-row__actions .rp-emp-btn{display:inline-flex;justify-content:center;min-width:120px;flex:1 1 120px;}
.rp-emp-queue-row.has-error{border-color:var(--rp-danger);background:var(--rp-danger-soft);}
@media(max-width:560px){.rp-emp-queue-row__actions{display:grid;grid-template-columns:1fr;}.rp-emp-queue-row__actions .rp-emp-btn{width:100%;}}

/* ======================================================================
RUTEPLANEN UI — CLEAN CANONICAL PRESENTATION
One stylesheet owns the active Admin + Employee presentation layer.
No versioned visual overlays or compatibility styles are loaded at runtime.
====================================================================== */
:root{--rp-bg:#f3f6f3;--rp-surface:#ffffff;--rp-surface-subtle:#f8faf8;--rp-line:#dde6df;--rp-line-2:#cbd8ce;--rp-line-strong:#aebdaf;--rp-ink:#102219;--rp-text:#102219;--rp-muted:#526258;--rp-muted-strong:#394a40;--rp-primary:#72bd38;--rp-primary-2:#246b25;--rp-primary-dark:#174e1c;--rp-primary-mid:#398433;--rp-primary-soft:rgba(114,189,56,.13);--rp-primary-focus:rgba(114,189,56,.22);--rp-green:#246b25;--rp-green-soft:rgba(114,189,56,.13);--rp-yellow:#d7a617;--rp-yellow-soft:rgba(215,166,23,.14);--rp-orange:#e87e18;--rp-orange-soft:rgba(232,126,24,.13);--rp-red:#d83d3d;--rp-red-soft:#fff0ef;--rp-blue:#2879e9;--rp-blue-soft:#eaf2ff;--rp-purple:#7956d9;--rp-purple-soft:#f1ecff;--rp-slate:#52616d;--rp-slate-soft:rgba(82,97,109,.11);--rp-shadow-xs:0 1px 2px rgba(10,35,26,.06),0 1px 1px rgba(10,35,26,.04);--rp-shadow-sm:0 8px 24px rgba(10,35,26,.08),0 2px 7px rgba(10,35,26,.05);--rp-shadow:0 6px 20px rgba(13,35,22,.06);--rp-shadow-hover:0 16px 38px rgba(13,35,22,.11);--rp-shadow-lg:0 32px 90px rgba(3,20,14,.25),0 10px 28px rgba(3,20,14,.13);--rp-radius:16px;--rp-radius-lg:20px;--rp-focus-ring:rgba(114,189,56,.22);--rp-focus:0 0 0 4px var(--rp-focus-ring);--rp-bg-glow:color-mix(in srgb,var(--rp-primary) 9%,var(--rp-surface) 91%);--rp-surface-raised:#ffffff;--rp-teal:#158a79;--rp-teal-soft:rgba(21,138,121,.12);--rp-amber:#ed9d16;--rp-amber-soft:#fff5df;--rp-gloss:inset 0 1px 0 rgba(255,255,255,.72);--rp-green-950:#082d20;--rp-green-900:#0b3b29;--rp-green-800:#0f5132;--rp-green-700:#176b3a;--rp-green-600:#249143;--rp-green-500:#38ad4c;--rp-green-400:#63c969;--rp-green-300:#9bdd9a;--rp-green-200:#ccefc9;--rp-green-100:#eaf8e8;--rp-green-50:#f5fbf3;--rp-ink-950:#0d1720;--rp-ink-900:#14202a;--rp-ink-800:#22313e;--rp-ink-700:#3b4b58;--rp-ink-600:#596a78;--rp-ink-500:#768693;--rp-ink-400:#97a5b0;--rp-ink-300:#bdc7ce;--rp-ink-200:#d8e0e5;--rp-ink-150:#e5eaed;--rp-ink-100:#eef2f4;--rp-ink-50:#f7f9fa;--rp-white:#fff;--rp-radius-xs:8px;--rp-radius-sm:11px;--rp-radius-md:15px;--rp-radius-xl:26px;--rp-shadow-md:0 18px 46px rgba(7,29,22,.14),0 4px 14px rgba(7,29,22,.08);--rp-ring:0 0 0 3px rgba(56,173,76,.18);--rp-font:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji",sans-serif;--rp-transition:160ms cubic-bezier(.2,.75,.25,1);--rp-sidebar-bg:#111d17;--rp-sidebar-top:#14231b;--rp-sidebar-bottom:#0e1914;--rp-sidebar-text:#f0f2f3;--rp-sidebar-muted:#9da8af;--rp-page-top:#f6f8f6;--rp-page-bottom:#f2f5f2;--rp-button-primary:#2e7834;--rp-button-primary-start:#245d2a;--rp-button-primary-end:#37803d;--rp-button-primary-hover:#347c39;--rp-button-primary-border:#63ad55;--rp-button-primary-hover-border:#7dc66a;--rp-button-primary-shadow:rgba(35,99,44,.16);--rp-button-primary-hover-shadow:rgba(35,99,44,.20);--rp-status-new-case:#3f86d6;--rp-status-new-visit:#79b9e8;--rp-status-recheck:#9aa8a0;--rp-status-fixed:#e87e18;--rp-status-published:#43a64b;--rp-status-draft:#d95454;--rp-status-warning:#d7a617;--rp-success:#43a64b;--rp-success-soft:rgba(67,166,75,.12);--rp-success-line:rgba(67,166,75,.30);--rp-danger:#d95454;--rp-danger-soft:rgba(217,84,84,.11);--rp-danger-line:rgba(217,84,84,.28);--rp-warning:#d7a617;--rp-warning-soft:rgba(215,166,23,.12);--rp-warning-line:rgba(215,166,23,.30);--rp-warning-text:#715706;--rp-info:#3f86d6;--rp-info-soft:rgba(63,134,214,.11);--rp-info-line:rgba(63,134,214,.27);--rp-neutral:#9aa8a0;--rp-neutral-soft:rgba(154,168,160,.12);}
/* ===== SHARED FOUNDATION / PREMIUM COMPONENTS ===== */
/*======================================================================
   RUTEPLAN SHARED UI — Admin contract
   Djursland shared visual discipline: one token set, one component
   language, shared icons, calm surfaces and consistent interactions.
   ======================================================================*/
.dsrv.rp-ui{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Inter,Arial,sans-serif;}
.dsrv.rp-ui *{box-sizing:border-box;}
html.rp-admin-fullscreen{padding-top:0  !important;}
html.rp-admin-fullscreen #wpadminbar{display:none  !important;}
html.rp-admin-fullscreen body.admin-bar{--rp-adminbar-offset:0px;}
body.toplevel_page_ruteplanen #wpcontent{padding-left:0;}
body.toplevel_page_ruteplanen #wpbody-content{padding-bottom:0;}
body.toplevel_page_ruteplanen .wrap.dsrv.rp-ui{margin:0  !important;width:100%;max-width:none;}
body.rp-admin-nav-open{overflow:hidden;}
.dsrv.rp-ui a{color:var(--rp-primary-dark);}

/*Shell + navigation*/
.dsrv.rp-ui .dsrv-shell{display:grid;grid-template-columns:278px minmax(0,1fr);gap:0;align-items:stretch;width:100%;max-width:none;min-height:100vh;margin:0;padding:0;background:var(--rp-bg);}
.dsrv.rp-ui .dsrv-sidebar .dsrv-tab.is-active .dsrv-tab-count{background:var(--rp-primary)!important;color:#fff!important;border-color:rgba(255,255,255,.22)!important;text-shadow:0 1px 1px rgba(20,68,22,.34)!important;}

.dsrv.rp-ui .dsrv-sidebar-alert{display:grid;grid-template-columns:32px minmax(0,1fr) auto;gap:9px;align-items:center;padding:8px;border:1px solid rgba(255,255,255,.06);border-radius:11px;background:rgba(255,255,255,.035);color:var(--rp-sidebar-text);text-align:left;}
.dsrv.rp-ui .dsrv-sidebar-alert+.dsrv-sidebar-alert{margin-top:6px;}
.dsrv.rp-ui .dsrv-sidebar-alert:hover{background:rgba(255,255,255,.07);}
.dsrv.rp-ui .dsrv-sidebar-alert-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:color-mix(in srgb,var(--rp-primary) 16%,transparent)!important;color:color-mix(in srgb,var(--rp-primary) 64%,#fff 36%);}
.dsrv.rp-ui .dsrv-sidebar-alert-icon.is-red{background:color-mix(in srgb,var(--rp-danger) 16%,transparent)!important;color:color-mix(in srgb,var(--rp-danger) 56%,#fff 44%);}
.dsrv.rp-ui .dsrv-sidebar-alert-icon.is-orange{background:color-mix(in srgb,var(--rp-warning) 16%,transparent)!important;color:color-mix(in srgb,var(--rp-warning) 54%,#fff 46%);}
.dsrv-overview-secondary-card{margin:0 0 16px;}

.dsrv.rp-ui .dsrv-sidebar-alert-icon.is-blue{background:color-mix(in srgb,var(--rp-info) 18%,transparent)!important;color:color-mix(in srgb,var(--rp-info) 56%,#fff 44%);}
.dsrv.rp-ui .dsrv-sidebar-alert-copy strong{color:var(--rp-sidebar-text);font-size:11px;font-weight:800;}
.dsrv.rp-ui .dsrv-sidebar-alert-copy small{margin-top:1px;color:var(--rp-sidebar-muted);font-size:9px;line-height:1.35;}
.dsrv.rp-ui .dsrv-sidebar-alert-count{min-width:22px;height:22px;padding:0 6px;display:grid;place-items:center;border-radius:999px;background:rgba(255,255,255,.09);color:#fff;font-size:10px;font-weight:850;}
.dsrv.rp-ui .dsrv-sidebar-quicknav{display:grid;gap:5px;margin:0;}
.dsrv.rp-ui .dsrv-sidebar-link{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;padding:8px 9px;border:0;border-radius:9px;background:transparent;color:var(--rp-sidebar-muted);text-align:left;font-size:10px;}
.dsrv.rp-ui .dsrv-sidebar-link:hover{background:rgba(255,255,255,.05);color:var(--rp-sidebar-text);}
.dsrv.rp-ui .dsrv-sidebar-link strong{color:var(--rp-sidebar-text);font-size:9px;text-align:right;}
.dsrv.rp-ui .dsrv-sidebar-helpchips{display:none;}
.dsrv.rp-ui .rp-admin-mobile-topbar{display:none;}
.dsrv.rp-ui .rp-admin-nav-backdrop{display:none;}

.dsrv.rp-ui .rp-admin-mobile-title{display:grid;gap:1px;min-width:0;flex:1;}
.dsrv.rp-ui .rp-admin-mobile-title span{color:var(--rp-muted);font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.08em;}
.dsrv.rp-ui .rp-admin-mobile-title strong{overflow:hidden;color:var(--rp-text);font-size:15px;font-weight:850;text-overflow:ellipsis;white-space:nowrap;}
.dsrv.rp-ui .rp-admin-mobile-spacer{width:42px;height:42px;flex:0 0 42px;}
/*Ruter er Admins golden-master arbejdsflade. Den samme card-, action- og
   statusdisciplin genbruges af Opgaver og Rapporter via de fælles komponenter.*/

.dsrv.rp-ui .dsrv-routes-work-map{position:relative  !important;width:100%  !important;height:430px  !important;min-height:430px  !important;max-height:430px  !important;border:1px solid var(--rp-line)  !important;border-radius:16px  !important;background:#edf4ea  !important;overflow:hidden  !important;}
.dsrv.rp-ui .dsrv-routes-work-map[hidden]{display:none  !important;}
/*Primary content surfaces*/
.dsrv.rp-ui .dsrv-panel{min-width:0;}
.dsrv.rp-ui .dsrv-h3{color:var(--rp-text);font-size:13px;line-height:1.2;font-weight:800;}

.dsrv.rp-ui .dsrv-card-title{color:var(--rp-text);font-size:12px;font-weight:800;}

/*Buttons*/
.dsrv.rp-ui .button-small{min-height:30px;padding:0 9px;border-radius:9px;font-size:10px;}
.dsrv.rp-ui .rp-ui-button__icon{display:inline-grid;place-items:center;color:currentColor;}

/*Inputs + filters*/

/*Pills / status*/
.dsrv.rp-ui .badge-teal{border-color:rgba(14,116,144,.15);background:var(--rp-blue-soft);color:var(--rp-blue);}
/*Tabs*/

.dsrv.rp-ui .rp-ui-tab__count{margin-left:5px;}
/*Tables*/

.dsrv.rp-ui table.widefat thead th{padding:10px 12px;border-bottom:1px solid var(--rp-line);background:#f8fafc;color:var(--rp-muted);font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.045em;}
.dsrv.rp-ui table.widefat td{padding:10px 12px;border-bottom-color:#eef2f6;color:#27313a;font-size:10px;vertical-align:middle;}
/*Modal*/
body>.dsrv-modal.rp-ui-modal .rp-ui-modal__backdrop{background:rgba(15,23,42,.48)  !important;backdrop-filter:blur(2px);}
body>.dsrv-modal.rp-ui-modal .rp-ui-modal__card{border:1px solid var(--rp-line)!important;overflow:hidden!important;}
body>.dsrv-modal.rp-ui-modal .rp-ui-modal__head{min-height:58px  !important;padding:14px 16px  !important;border-bottom:1px solid var(--rp-line)  !important;background:var(--rp-surface)  !important;}
body>.dsrv-modal.rp-ui-modal .rp-ui-modal__heading{display:grid;gap:4px;min-width:0;}
/*Empty/message states*/
.dsrv.rp-ui .rp-ui-empty{padding:28px 20px;border:1px dashed #cfd9e4;border-radius:14px;background:#fbfcfd;text-align:center;}
.dsrv.rp-ui .rp-ui-empty__title{color:var(--rp-text);font-size:13px;font-weight:820;}
.dsrv.rp-ui .rp-ui-empty__text{max-width:620px;margin:5px auto 0;color:var(--rp-muted);font-size:10px;line-height:1.5;}
/*Toast*/
@media (max-width:1180px){.dsrv.rp-ui .dsrv-shell{grid-template-columns:246px minmax(0,1fr);}
.dsrv.rp-ui .dsrv-main{padding:22px 20px 46px;}
.dsrv.rp-ui .dsrv-sidebar .dsrv-tab{font-size:11px;}}
@media (max-width:960px){.dsrv.rp-ui .dsrv-shell{grid-template-columns:1fr;min-height:100vh;}
.dsrv.rp-ui .dsrv-main{padding:12px 12px 34px;}
.dsrv.rp-ui .dsrv-sidebar{position:fixed;z-index:100050;top:0;left:0;bottom:0;width:min(330px,88vw);height:100dvh;visibility:hidden;transform:translateX(-104%);transition:transform .18s ease;box-shadow:22px 0 60px rgba(15,23,42,.28);}
.dsrv.rp-ui .dsrv-sidebar.is-mobile-open{transform:translateX(0);visibility:visible;}
.dsrv.rp-ui .dsrv-sidebar-tabs{grid-template-columns:1fr;padding:10px;}

.dsrv.rp-ui .dsrv-sidebar .dsrv-tab{min-width:0;}
.dsrv.rp-ui .rp-admin-mobile-topbar{position:sticky;z-index:1000;top:8px;display:flex;align-items:center;gap:10px;min-width:0;margin:-2px 0 4px;padding:9px;border:1px solid var(--rp-line);border-radius:15px;background:rgba(255,255,255,.96);box-shadow:var(--rp-shadow);backdrop-filter:blur(12px);}
.dsrv.rp-ui .rp-admin-nav-backdrop.is-open{position:fixed;z-index:100040;inset:0;display:block;border:0;background:rgba(15,23,42,.44);backdrop-filter:blur(1px);}

.dsrv.rp-ui .dsrv-routes-work-map{height:360px  !important;min-height:360px  !important;max-height:360px  !important;}}
@media (max-width:782px){.dsrv.rp-ui .dsrv-main{padding:8px 8px 28px;}
.dsrv.rp-ui .dsrv-sidebar-brand{padding:16px 14px;}
.dsrv.rp-ui .dsrv-sidebar-tabs{padding:8px;}

.dsrv.rp-ui .dsrv-routes-work-map{height:320px  !important;min-height:320px  !important;max-height:320px  !important;}
}
@media (max-width:520px){.dsrv.rp-ui .dsrv-h1{font-size:21px;}

.dsrv.rp-ui .rp-admin-mobile-title span{display:none;}
.dsrv.rp-ui .rp-admin-mobile-title strong{font-size:14px;}}

/*Permanent UI utilities: stateful visibility/progress remains inline only when value is dynamic.*/
.rp-ui-section-gap{margin-top:16px!important;}
.dsrv-backup-cleanup-form{margin-top:14px;}
.dsrv-backup-module-grid{margin-top:12px;}
.rp-ui-mt-4{margin-top:4px;}
.rp-ui-mt-6{margin-top:6px;}
.rp-ui-mt-8{margin-top:8px;}
.rp-ui-mt-10{margin-top:10px;}
.rp-ui-mb-10{margin-bottom:10px;}
.rp-ui-minw-0{min-width:0;}
.rp-ui-maxw-360{max-width:360px;}
.rp-ui-flex-wrap-start{align-items:flex-start;flex-wrap:wrap;}
.rp-ui-flex-wrap-gap6{gap:6px;flex-wrap:wrap;}
.rp-ui-flex-between-wrap{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;}
.rp-ui-employee-avatar{width:56px;height:56px;border-radius:16px;overflow:hidden;background:#eef3ef;color:var(--rp-primary-dark);display:flex;align-items:center;justify-content:center;font-weight:800;font-size:18px;flex:0 0 auto;}
.rp-ui-media-cover{display:block;width:100%;height:100%;object-fit:cover;}
.rp-ui-media-profile{width:100%;height:auto;display:block;border-radius:12px;object-fit:cover;}
.rp-ui-media-fluid{display:block;max-width:100%;height:auto;border-radius:12px;border:1px solid var(--rp-line,#d8dde7);}
/*Employee UI — one mobile-first surface shared with the Ruteplan design language.*/
.rp-emp-ui .rp-emp-main{gap:14px;}

/*App header*/
.rp-emp-ui .rp-emp-burger span{display:none;}
.rp-emp-ui .rp-emp-top__who{display:flex;align-items:center;gap:9px;}
.rp-emp-ui .rp-emp-top__who>div:last-child{min-width:0;}
.rp-emp-ui .rp-emp-top__status:before{display:none;}
/*Day summary*/
.rp-emp-ui .rp-emp-hero__main{min-width:0;flex:1;}
.rp-emp-ui .rp-emp-hero p{margin:0;font-size:12px;}
.rp-emp-ui .rp-emp-hero__stats{display:grid;grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:0;}

.rp-emp-ui .rp-emp-hero__stats b{color:#183d29;font-size:13px;}
.rp-emp-ui .rp-emp-hero__stats small{margin-top:3px;color:var(--rp-muted);font-size:10px;font-weight:650;line-height:1.35;}
/*Route surface*/
.rp-emp-ui .rp-emp-mapcard--route{border-radius:20px  !important;box-shadow:var(--rp-shadow)  !important;}
.rp-emp-ui .rp-emp-map{height:245px  !important;min-height:220px  !important;}
.rp-emp-ui .rp-emp-day-control>div strong{color:#1a3022;}
.rp-emp-ui .rp-emp-route-head{padding:13px 14px;}
.rp-emp-ui .rp-emp-route-head>div>strong{font-size:14px;}

.rp-emp-ui .rp-emp-current-label{display:flex;align-items:center;gap:7px;margin:2px 2px 8px;color:#526259;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.07em;}
.rp-emp-ui .rp-emp-task.is-upcoming{border-color:#e2e9e4  !important;background:var(--rp-surface)  !important;box-shadow:var(--rp-shadow-soft)  !important;}
.rp-emp-ui .rp-emp-task__no.has-image{background:#f3f6f4  !important;}
.rp-emp-ui .rp-emp-task__main h2{margin-top:3px;font-size:18px  !important;letter-spacing:-.025em;}
.rp-emp-ui .rp-emp-task__main p{color:#67746c;overflow-wrap:anywhere;}
.rp-emp-ui .rp-emp-task__meta{gap:6px;}
.rp-emp-ui .rp-emp-task__meta>span{border-radius:999px;background:#f4f7f5;color:#56645c;}
.rp-emp-ui .rp-emp-task__actions{gap:8px;margin-top:13px;}
.rp-emp-ui .rp-emp-task__actions .rp-emp-contact-call{grid-column:1/-1;justify-content:flex-start;text-align:left;}
.rp-emp-contact-call>span{display:grid;gap:2px;min-width:0;overflow-wrap:anywhere;}
.rp-emp-contact-call strong{font:inherit;}
.rp-emp-contact-call small{font-size:12px;font-weight:500;color:var(--rp-muted);}
.rp-emp-ui .rp-emp-btn svg{width:17px;height:17px;}
.rp-emp-ui .rp-emp-task__details{margin-top:14px;padding-top:14px;border-top:1px solid #e8eeea;}
/*Forms/report*/
.rp-emp-ui .rp-emp-card{padding:16px;}
.rp-emp-ui .rp-emp-section-head strong{font-size:19px;letter-spacing:-.025em;}
.rp-emp-ui .rp-emp-report{gap:14px;}

.rp-emp-ui .rp-emp-task-line__summary{min-height:58px;}
.rp-emp-ui .rp-emp-photo-upload{border-radius:16px;border-color:#cfdad2;background:#f8faf9;}
/*Drawer: dark, calm navigation like the Admin sidebar.*/
.rp-emp-ui .rp-emp-drawer__head{align-items:center;gap:12px;}
.rp-emp-ui .rp-emp-drawer__head>div{display:grid;gap:4px;}
.rp-emp-ui .rp-emp-drawer__date{border-color:#31473a;}
.rp-emp-ui .rp-emp-drawer__date label{color:#b9c9bf;}
.rp-emp-ui .rp-emp-drawer__date input{border-color:#3b5143  !important;background:#f8fbf9  !important;}
.rp-emp-ui .rp-emp-menu button>svg{color:#61776a;}
.rp-emp-ui .rp-emp-menu button em{min-width:25px;height:25px;display:grid;place-items:center;border-radius:999px;color:#d6eadf;background:#2b4033;font-size:11px;font-style:normal;}
.rp-emp-ui .rp-emp-drawer__kpi strong{color:#9ee0b6;}
.rp-emp-ui .rp-emp-drawer__actions .rp-emp-day-control{border-color:#31473a;}
.rp-emp-ui .rp-emp-drawer__actions .rp-emp-day-control strong{color:#fff;}
.rp-emp-ui .rp-emp-drawer__actions .rp-emp-day-control span{color:#aebdb4;}
.rp-emp-ui .rp-emp-drawer__actions .rp-emp-btn--ghost{color:#e1ebe5  !important;border-color:#3a5142  !important;background:#203229  !important;}
/*Fixed touch navigation*/
.rp-emp-ui .rp-emp-bottom-nav button svg{width:19px;height:19px;}
.rp-emp-ui .rp-emp-bottom-nav em{position:absolute;top:3px;right:18%;min-width:17px;height:17px;padding:0 4px;display:grid;place-items:center;border:2px solid #fff;border-radius:999px;color:#fff;background:#bd3838;font-size:8px;font-style:normal;}
.rp-emp-ui.rp-emp-drawer-open .rp-emp-bottom-nav{pointer-events:none;opacity:.35;}
/*Modal and calendar surfaces*/
.rp-emp-ui .rp-emp-balance-summary{border-radius:18px;}
@media (max-width:600px){.rp-emp-ui .rp-emp-shell{padding-left:8px;padding-right:8px;}
.rp-emp-ui .rp-emp-top{top:calc(5px + env(safe-area-inset-top));border-radius:16px;}
.rp-emp-ui .rp-emp-top__status span{display:none;}
.rp-emp-ui .rp-emp-top__status{width:31px;height:31px;justify-content:center;padding:0;}
.rp-emp-ui .rp-emp-hero{padding:15px;gap:10px;}
.rp-emp-ui .rp-emp-hero h1{font-size:24px;}
.rp-emp-ui .rp-emp-progress{width:60px;height:60px;flex-basis:60px;font-size:11px;}
.rp-emp-ui .rp-emp-hero__stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;}
.rp-emp-ui .rp-emp-hero__stats>span{padding:7px 6px;}
.rp-emp-ui .rp-emp-hero__stats b{font-size:11px;}
.rp-emp-ui .rp-emp-map{height:220px  !important;min-height:210px  !important;}
.rp-emp-ui .rp-emp-task{padding:13px;}
.rp-emp-ui .rp-emp-task__actions{grid-template-columns:1fr 1fr  !important;}

.rp-emp-ui .rp-emp-report__actions{grid-template-columns:1fr  !important;}
.rp-emp-ui .rp-emp-bottom-nav{width:calc(100vw - 12px);bottom:calc(5px + env(safe-area-inset-bottom));}}
@media (min-width:821px){.rp-emp-ui .rp-emp-shell{padding-top:16px;}
.rp-emp-ui .rp-emp-bottom-nav{width:500px;}}
.rp-emp-ui .rp-emp-menu button b span{min-width:0;height:auto;display:inline;color:inherit;background:transparent;border-radius:0;font-size:inherit;}
/*==========================================================================
   RUTEPLANEN SHARED UI SYSTEM
   Shared visual contract for Ruteplanen Admin + Employee.
   This file is the sole owner of shared shell/cards/buttons/forms/modal styling
   across Admin, Reports and Employee. Domain-specific layout remains in the
   domain stylesheets; shared presentation is owned here.
   ==========================================================================*/

/*Shared component sizes used by Admin, Rapport and companion surfaces.*/

/*Canonical page header: no tinted hero-card around every page title.*/
.dsrv.rp-ui .dsrv-section-head{display:flex  !important;align-items:flex-start  !important;justify-content:space-between  !important;gap:18px  !important;margin:0 0 18px  !important;padding:0  !important;border:0  !important;border-radius:0  !important;background:transparent  !important;box-shadow:none  !important;}
.dsrv.rp-ui .rp-ui-section-head__copy{min-width:0;}
.dsrv.rp-ui .dsrv-h1{margin:0  !important;color:var(--rp-ink)  !important;font-size:30px  !important;line-height:1.1  !important;font-weight:720  !important;letter-spacing:-.025em  !important;}
.dsrv.rp-ui .dsrv-h2{color:var(--rp-ink)  !important;font-weight:800  !important;}
.dsrv.rp-ui .dsrv-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;}
/*Shared cards, buttons, fields and tables use one component geometry.*/

.dsrv.rp-ui table{border-collapse:collapse;background:var(--rp-surface);}

.dsrv.rp-ui table th{background:var(--rp-surface-subtle);color:var(--rp-ink);font-size:11.5px;font-weight:800;text-align:left;}
.dsrv.rp-ui table tbody tr:hover{background:linear-gradient(180deg,color-mix(in srgb,var(--rp-primary) 4%,var(--rp-surface) 96%),var(--rp-surface));}

/*Admin sidebar uses the shared grouped navigation contract.*/

.dsrv.rp-ui .dsrv-brandcopy strong{color:var(--rp-sidebar-text);font-size:15px;font-weight:850;}
.dsrv.rp-ui .dsrv-brandcopy span{margin-top:3px;color:var(--rp-sidebar-muted);font-size:11px;}
.dsrv.rp-ui .dsrv-sidebar-quick{padding:14px 14px 8px;}
.dsrv.rp-ui .dsrv-sidebar-quick .dsrv-sidebar-newtask{width:100%  !important;}
/*One modal frame is used regardless of report, task or case source.*/
body>.dsrv-modal.rp-ui-modal{--rp-adminbar-offset:0px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;position:fixed  !important;inset:0  !important;z-index:100000  !important;display:none  !important;padding:18px  !important;align-items:center  !important;justify-content:center  !important;background:transparent  !important;overflow:auto  !important;}
body>.dsrv-modal.rp-ui-modal.is-open{display:flex  !important;}
body>.dsrv-modal.rp-ui-modal .dsrv-modal-backdrop{position:fixed  !important;inset:0  !important;background:rgba(15,23,42,.50)  !important;backdrop-filter:blur(1.5px)  !important;}
body>.dsrv-modal.rp-ui-modal .rp-ui-modal__foot{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap;padding:14px 20px;border-top:1px solid var(--rp-line);background:color-mix(in srgb,var(--rp-surface) 90%,var(--rp-primary) 10%);backdrop-filter:blur(12px);}
body>.dsrv-modal.rp-ui-modal .rp-ui-modal__foot[hidden]{display:none  !important;}
body>.dsrv-modal.rp-ui-modal .rp-ui-modal__foot>:first-child{margin-right:auto;}
body>.dsrv-modal.rp-ui-modal--small .dsrv-modal-card{width:min(520px,calc(100vw - 36px))  !important;max-width:520px  !important;}
body>.dsrv-modal.rp-ui-modal--medium .dsrv-modal-card{width:min(760px,calc(100vw - 36px))  !important;max-width:760px  !important;}
body>.dsrv-modal.rp-ui-modal--large .dsrv-modal-card{width:min(1120px,calc(100vw - 36px))  !important;max-width:1120px  !important;}
body>.dsrv-modal.rp-ui-modal--wide .dsrv-modal-card{width:min(1360px,calc(100vw - 36px))  !important;max-width:1360px  !important;max-height:92vh  !important;}
body.dsrv-modal-open{overflow:hidden  !important;}
/*==========================================================================
   CANONICAL COMPONENT GEOMETRY — shared visual semantics
   ==========================================================================*/
/*Employee uses the same tokens and icon/button/card grammar, adapted to touch.*/
.rp-emp-app.rp-emp-ui{--rp-primary-soft-2:color-mix(in srgb,var(--rp-primary) 5%,var(--rp-card) 95%);--rp-shadow:0 4px 14px rgba(2,6,23,.045);--rp-shadow-soft:0 4px 14px rgba(2,6,23,.045);--rp-shadow-strong:0 18px 50px rgba(15,23,42,.18);--rp-radius:14px;background:var(--rp-bg)!important;color:var(--rp-text)!important;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Inter,Arial,sans-serif!important;}
.rp-emp-ui .rp-emp-shell{width:min(820px,100%)  !important;padding:10px 12px calc(96px + env(safe-area-inset-bottom))  !important;}

.rp-emp-ui .rp-emp-logo{border-radius:11px  !important;color:#fff  !important;background:linear-gradient(135deg,var(--rp-primary),var(--rp-primary-dark))  !important;box-shadow:0 7px 18px rgba(31,90,26,.13)  !important;}
.rp-emp-ui .rp-emp-top{top:calc(8px + env(safe-area-inset-top))  !important;padding:9px 10px  !important;border:1px solid rgba(255,255,255,.08)  !important;border-radius:14px  !important;color:#fff  !important;background:linear-gradient(180deg,var(--rp-primary-deep),color-mix(in srgb,var(--rp-primary-deep) 76%,#000 24%))  !important;box-shadow:0 10px 28px rgba(15,23,42,.18)  !important;}
.rp-emp-ui .rp-emp-burger{width:42px  !important;height:42px  !important;border-radius:9px  !important;color:#e8edf0  !important;background:rgba(255,255,255,.06)  !important;border:1px solid rgba(255,255,255,.12)  !important;}

.rp-emp-ui .rp-emp-avatar{width:40px  !important;height:40px  !important;border-radius:10px  !important;background:var(--rp-primary)  !important;color:#fff  !important;}
.rp-emp-ui .rp-emp-top__who strong{font-size:13px  !important;color:#fff  !important;}
.rp-emp-ui .rp-emp-top__who span{font-size:11px  !important;color:color-mix(in srgb,var(--rp-sidebar-text) 66%,transparent)  !important;}
.rp-emp-ui .rp-emp-top__status{padding:6px 9px  !important;border-radius:999px  !important;color:#fff  !important;background:color-mix(in srgb,var(--rp-primary) 26%,transparent)  !important;}
.rp-emp-ui .rp-emp-top__status.is-offline{color:#ffe6a7  !important;background:rgba(219,166,23,.16)  !important;}
.rp-emp-ui .rp-emp-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;margin-top:10px  !important;padding:16px  !important;border:1px solid var(--rp-line)  !important;border-radius:var(--rp-radius)  !important;color:var(--rp-text)  !important;background:var(--rp-surface)  !important;box-shadow:var(--rp-shadow)  !important;}
.rp-emp-ui .rp-emp-hero .rp-emp-eyebrow{color:var(--rp-primary-dark)  !important;}
.rp-emp-ui .rp-emp-hero h1{font-size:27px  !important;font-weight:720  !important;letter-spacing:-.035em  !important;color:var(--rp-text)  !important;}

.rp-emp-ui .rp-emp-hero__stats>span{border:1px solid var(--rp-line)  !important;border-radius:9px  !important;background:var(--rp-surface-subtle)  !important;}
.rp-emp-ui .rp-emp-progress{color:var(--rp-primary-dark)  !important;background:conic-gradient(var(--rp-primary) calc(var(--p)*1%),#e8eef0 0)  !important;}
.rp-emp-ui .rp-emp-progress:after{background:var(--rp-surface)  !important;}

.rp-emp-ui .rp-emp-btn{min-height:44px  !important;padding:9px 12px  !important;border:1px solid var(--rp-line-2)  !important;border-radius:9px  !important;color:var(--rp-text)  !important;background:var(--rp-surface)  !important;box-shadow:0 3px 10px rgba(2,6,23,.035)  !important;font-size:12.5px  !important;font-weight:750  !important;}
.rp-emp-ui .rp-emp-btn--primary,.rp-emp-ui .rp-emp-btn--nav{color:#fff!important;background:var(--rp-button-primary)!important;border-color:var(--rp-button-primary)!important;}
.rp-emp-ui .rp-emp-btn:disabled{opacity:.55;cursor:not-allowed;transform:none;}
.rp-emp-ui button:focus-visible,.rp-emp-ui a:focus-visible,.rp-emp-ui summary:focus-visible{outline:3px solid var(--rp-primary);outline-offset:3px;}

.rp-emp-ui .rp-emp-btn--ghost{background:var(--rp-surface)  !important;}
.rp-emp-ui .rp-emp-btn--undo{border-color:#efd7a4  !important;background:#fffdf8  !important;color:#8a4f08  !important;}
.rp-emp-ui .rp-emp-btn--done{border-color:#d6e8ce  !important;background:var(--rp-surface-subtle)  !important;color:var(--rp-primary-dark)  !important;}
.rp-emp-ui .rp-emp-task{padding:14px  !important;}
.rp-emp-ui .rp-emp-task.is-current{border-color:rgba(132,194,58,.65)  !important;background:var(--rp-surface)  !important;box-shadow:0 10px 26px rgba(31,90,26,.10)  !important;}
.rp-emp-ui .rp-emp-task.is-current:before{background:var(--rp-primary)  !important;}
.rp-emp-ui .rp-emp-task__no{border-radius:10px  !important;background:var(--rp-primary-soft)  !important;color:var(--rp-primary-dark)  !important;}
.rp-emp-ui .rp-emp-task.is-current .rp-emp-task__no{background:var(--rp-primary)  !important;color:#fff  !important;}
.rp-emp-ui .rp-emp-task__state{background:var(--rp-primary-soft)  !important;color:var(--rp-primary-dark)  !important;}
.rp-emp-ui .rp-emp-task__state.is-danger{background:var(--rp-danger-soft)  !important;color:var(--rp-danger)  !important;}

.rp-emp-ui .rp-emp-report__actions{border:1px solid var(--rp-line)  !important;border-radius:12px  !important;background:color-mix(in srgb,var(--rp-surface) 97%,transparent)  !important;box-shadow:0 10px 28px rgba(15,23,42,.12)  !important;}
.rp-emp-ui .rp-emp-drawer{left:max(0px,calc((100vw - 820px) / 2))  !important;width:min(370px,92vw)  !important;border-radius:0 14px 14px 0  !important;color:#fff  !important;background:linear-gradient(180deg,var(--rp-primary-deep),color-mix(in srgb,var(--rp-primary-deep) 76%,#000 24%))  !important;box-shadow:30px 0 80px rgba(15,23,42,.32)  !important;}
.rp-emp-ui .rp-emp-drawer__head strong{color:#fff  !important;}
.rp-emp-ui .rp-emp-drawer__head .rp-emp-eyebrow{color:#a8b0b6  !important;}
.rp-emp-ui .rp-emp-drawer__head button{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;border:1px solid rgba(255,255,255,.18);border-radius:9px  !important;color:#e8edf0  !important;background:rgba(255,255,255,.06)  !important;}

.rp-emp-ui .rp-emp-menu button:hover{background:color-mix(in srgb,var(--rp-primary) 12%,transparent)  !important;}
.rp-emp-ui .rp-emp-menu button.is-active{border-left-color:var(--rp-primary)  !important;color:#fff  !important;background:linear-gradient(90deg,color-mix(in srgb,var(--rp-primary) 28%,transparent),color-mix(in srgb,var(--rp-primary-dark) 18%,transparent))  !important;}
.rp-emp-ui .rp-emp-menu button b svg{color:#cbd2d6  !important;}
.rp-emp-ui .rp-emp-menu button.is-active b svg{color:color-mix(in srgb,var(--rp-primary) 70%,#fff 30%)  !important;}
.rp-emp-ui .rp-emp-bottom-nav{position:fixed;z-index:45;left:50%;transform:translateX(-50%);bottom:calc(8px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:6px;width:min(500px,calc(100vw - 24px));max-width:100%;border:1px solid var(--rp-line)  !important;border-radius:14px  !important;background:color-mix(in srgb,var(--rp-surface) 97%,transparent)  !important;box-shadow:0 14px 38px rgba(15,23,42,.16)  !important;}
.rp-emp-ui .rp-emp-bottom-nav button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:52px;padding:6px 4px;appearance:none;border:0;background:transparent;font:inherit;font-size:11px;font-weight:650;cursor:pointer;border-radius:9px  !important;color:var(--rp-muted)!important;}
.rp-emp-ui .rp-emp-bottom-nav button.is-active{color:var(--rp-primary-dark)  !important;background:var(--rp-primary-soft)  !important;}

@media (max-width:620px){.rp-emp-ui .rp-emp-top__status span{display:none;}
.rp-emp-ui .rp-emp-top__status{width:31px;height:31px;justify-content:center;padding:0  !important;}}
/*Shared Admin / Report / Employee parity refinements*/
.rp-emp-ui .rp-ui-section-head__identity{display:flex;align-items:center;gap:10px;min-width:0;}
.rp-emp-ui .rp-ui-section-head__copy{min-width:0;}
.rp-emp-ui .rp-ui-section-head__copy>strong{display:block;color:var(--rp-ink);font-size:15px;font-weight:850;line-height:1.25;}
.rp-emp-ui .rp-ui-section-head__copy>span{display:block;margin-top:3px;color:var(--rp-muted);font-size:11.5px;font-weight:600;line-height:1.45;}
/*The shared modal shell owns the title. Task/report internals only
   keep contextual customer/status information, preventing the historical double header.*/

body>.dsrv-modal.rp-ui-modal .dsrv-report-admin-fact{border:1px solid var(--rp-line)  !important;border-radius:10px  !important;background:var(--rp-surface)  !important;box-shadow:none  !important;}
/*Shared SVG caret owns selects in task/report modal.*/
body>.dsrv-modal.rp-ui-modal .dsrv-select-caret{position:absolute  !important;right:11px  !important;top:50%  !important;transform:translateY(-50%)  !important;display:grid  !important;place-items:center  !important;width:18px  !important;height:18px  !important;color:var(--rp-primary-2)  !important;pointer-events:none  !important;}
body>.dsrv-modal.rp-ui-modal .dsrv-select-caret .rp-icon{width:15px  !important;height:15px  !important;}
/*Disclosure arrows use CSS geometry instead of font glyphs.*/

.rp-ui .dsrv-addon-economy-target__control:after{content:""  !important;width:7px;height:7px;border-right:2px solid var(--rp-primary-dark);border-bottom:2px solid var(--rp-primary-dark);transform:translateY(-70%) rotate(45deg)  !important;}

/*Employee popups use the same icon + title identity as Admin.*/
/*Body-level modal controls keep the same geometry after dialog reparenting.*/

body>.dsrv-modal.rp-ui-modal textarea{min-height:96px;resize:vertical;}

body>.dsrv-modal.rp-ui-modal label{color:var(--rp-ink);font-size:12px;font-weight:800;line-height:1.4;}
/*Mail preview is content inside the common modal, not a second green popup header.*/
body>.dsrv-modal.rp-ui-modal .dsrv-mail-preview-head{padding:14px 15px  !important;border:1px solid var(--rp-line)  !important;border-radius:var(--rp-radius)  !important;background:var(--rp-surface)  !important;color:var(--rp-ink)  !important;box-shadow:var(--rp-shadow)  !important;}
body>.dsrv-modal.rp-ui-modal .dsrv-mail-preview-head h3{margin:0 0 4px  !important;font-size:16px  !important;line-height:1.25  !important;color:var(--rp-ink)  !important;}

body>.dsrv-modal.rp-ui-modal .dsrv-mail-preview-actions .button:not(.button-primary){background:var(--rp-surface)  !important;color:var(--rp-text)  !important;border-color:var(--rp-line-2)  !important;}
body>.dsrv-modal.rp-ui-modal .dsrv-mail-preview-frame{border-radius:10px  !important;box-shadow:0 8px 24px rgba(15,23,42,.08)  !important;}
/*Shared modal shell is hidden safely before the JS controller reparents it to <body>.*/
.rp-ui-modal{position:fixed;inset:0;z-index:100000;display:none;}
.rp-ui-modal.is-open{display:flex;}
/*======================================================================
   CANONICAL SHARED PRESENTATION
   This block owns the shared visual contract and
   presentation owner for shared admin navigation, admin modal workspace and
   employee chrome. Domain-specific route/task/report layout stays in its
   domain files; generic visual ownership lives here only.
   ======================================================================*/
/*Sidebar: always one clean vertical menu. No multi-column inherited layouts.*/
.dsrv.rp-ui .dsrv-sidebar-tabs{display:block  !important;padding:8px 0 10px  !important;margin:0  !important;}
.dsrv.rp-ui .dsrv-nav-group{display:grid  !important;grid-template-columns:minmax(0,1fr)  !important;gap:0  !important;width:100%  !important;margin:6px 0 8px  !important;}
.dsrv.rp-ui .dsrv-nav-label{grid-column:1!important;width:100%!important;padding:10px 14px 6px!important;color:var(--rp-sidebar-muted)!important;font-size:10px!important;font-weight:850!important;letter-spacing:.11em!important;text-transform:uppercase!important;}
.dsrv.rp-ui .dsrv-sidebar .dsrv-tab+.dsrv-tab{margin-top:1px  !important;}
.dsrv.rp-ui .dsrv-tab-main{display:grid  !important;grid-template-columns:27px minmax(0,1fr)  !important;gap:9px  !important;align-items:center  !important;width:100%  !important;min-width:0  !important;}
.dsrv.rp-ui .dsrv-tab-label{display:block  !important;min-width:0  !important;overflow:hidden  !important;text-overflow:ellipsis  !important;white-space:nowrap  !important;}
.dsrv.rp-ui .dsrv-sidebar .dsrv-tab-count{justify-self:end  !important;margin:0  !important;min-width:23px  !important;height:23px  !important;padding:0 7px  !important;border-radius:999px  !important;background:var(--rp-primary)!important;color:#fff!important;border:1px solid rgba(255,255,255,.14)  !important;box-shadow:0 2px 7px rgba(0,0,0,.18)  !important;font-size:11.5px  !important;font-weight:900  !important;}

/*Shared page headers define the common Admin identity.*/
.dsrv.rp-ui .rp-ui-section-head{display:flex  !important;align-items:flex-start  !important;justify-content:space-between  !important;gap:18px  !important;margin:0 0 14px  !important;padding:0  !important;background:transparent  !important;border:0  !important;box-shadow:none  !important;}
.dsrv.rp-ui .rp-ui-section-head__identity{display:flex  !important;gap:12px  !important;align-items:flex-start  !important;min-width:0  !important;}
.dsrv.rp-ui .rp-ui-section-head__actions{display:flex  !important;gap:8px  !important;flex-wrap:wrap  !important;justify-content:flex-end  !important;}
/*Modal: one frame, one scroll surface, one section navigation.*/

/*Task/report internals use calm shared sections instead of nested presentation layers.*/
body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="task"] .dsrv-task-top-grid{gap:12px  !important;}
body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="task"] .dsrv-task-top-field{padding:12px  !important;}
body>.dsrv-modal.rp-ui-modal .dsrv-form-actions .dsrv-modal-cancel{margin-right:auto  !important;}

body>.dsrv-modal.rp-ui-modal .dsrv-delete:hover{border-color:color-mix(in srgb,var(--rp-danger) 48%,var(--rp-line) 52%)!important;}
/*Employee app follows the same shared surfaces and icon geometry.*/
.rp-emp-ui{--rp-radius:14px;--rp-shadow:0 4px 14px rgba(2,6,23,.045);--rp-shadow-hover:0 10px 26px rgba(2,6,23,.075);}

.rp-emp-ui .rp-emp-task:hover{border-color:#d6e3d1  !important;box-shadow:var(--rp-shadow-hover)  !important;}
.rp-emp-ui .rp-emp-section-head{display:flex  !important;flex-direction:row  !important;align-items:flex-start  !important;justify-content:space-between  !important;gap:12px  !important;margin-bottom:14px  !important;}
@media (max-width:960px){.dsrv.rp-ui .rp-ui-section-head{display:grid  !important;gap:12px  !important;}
.dsrv.rp-ui .rp-ui-section-head__actions{justify-content:flex-start  !important;}
}
@media (max-width:600px){.dsrv.rp-ui .rp-ui-section-head__copy .dsrv-h1{font-size:24px  !important;}
}
/*Remaining Admin popups use the same shared section language.*/

body>.dsrv-modal.rp-ui-modal .rp-modal-subhead__icon{display:grid  !important;place-items:center  !important;width:30px  !important;height:30px  !important;flex:0 0 30px  !important;border:1px solid color-mix(in srgb,var(--rp-primary) 25%,var(--rp-line) 75%)  !important;border-radius:8px  !important;background:var(--rp-primary-soft)  !important;color:var(--rp-primary-dark)  !important;}
body>.dsrv-modal.rp-ui-modal .dsrv-mail-preview-card{border:1px solid var(--rp-line)  !important;border-radius:12px  !important;background:var(--rp-surface)  !important;box-shadow:0 1px 2px rgba(2,6,23,.025)  !important;}
/*Employee navigation is also strictly vertical in its drawer.*/
.rp-emp-ui .rp-emp-menu{display:grid  !important;grid-template-columns:1fr  !important;gap:1px  !important;width:100%  !important;}
.rp-emp-ui .rp-emp-menu button{width:100%  !important;max-width:none  !important;min-height:48px  !important;display:grid  !important;grid-template-columns:minmax(0,1fr) auto  !important;align-items:center  !important;gap:9px  !important;padding:9px 12px  !important;border:0  !important;border-left:4px solid transparent  !important;border-radius:0  !important;background:transparent  !important;color:#f0f2f3  !important;text-align:left  !important;}
/*Navigation emoji presentation follows the shared icon contract. Action controls
   keep crisp shared SVG icons; navigation uses the configured emoji vocabulary.*/
.rp-emp-ui .rp-emp-menu button b{display:grid  !important;grid-template-columns:28px minmax(0,1fr)  !important;gap:9px  !important;align-items:center  !important;min-width:0  !important;font:inherit  !important;}
.rp-emp-ui .rp-emp-menu .rp-emp-nav-icon{display:grid  !important;place-items:center  !important;width:28px  !important;height:28px  !important;min-width:28px  !important;border-radius:9px  !important;background:rgba(255,255,255,.075)  !important;box-shadow:inset 0 1px 0 rgba(255,255,255,.08)  !important;}
.rp-emp-ui .rp-emp-menu .rp-emp-nav-icon .rp-icon--emoji>span{font-size:19px  !important;}
.rp-emp-ui .rp-emp-menu button.is-active .rp-emp-nav-icon{background:linear-gradient(145deg,rgba(148,215,89,.34),rgba(59,139,47,.18))  !important;color:#fff  !important;box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 7px 16px rgba(0,0,0,.16)  !important;}
.rp-emp-ui .rp-emp-menu button b>span:last-child{min-width:0  !important;overflow:hidden  !important;text-overflow:ellipsis  !important;white-space:nowrap  !important;}
/*Route workspace usability: do not stretch the employee chooser to the full
   calendar height and never leave a half-width employee card when only one
   technician is present.*/
.dsrv.rp-ui .dsrv-panel[data-panel="ruter"] .dsrv-route-toolbar{display:grid  !important;grid-template-columns:minmax(0,1.38fr) minmax(340px,.82fr)  !important;align-items:start  !important;gap:14px  !important;width:100%  !important;}

@media (max-width:1280px){.dsrv.rp-ui .dsrv-panel[data-panel="ruter"] .dsrv-route-toolbar{grid-template-columns:1fr  !important;}}
/*======================================================================
   PREMIUM UI MASTER — contract 5
   One canonical presentation layer for icons, cards, modals, report forms,
   special considerations and the administrator icon studio.
   ======================================================================*/
/*Shared icon renderer: SVG, colour emoji and administrator uploads.*/
svg.rp-icon{display:block;flex:0 0 auto;overflow:visible;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;filter:drop-shadow(0 1px 1px rgba(15,35,22,.06));}
span.rp-icon{display:inline-grid;place-items:center;flex:0 0 auto;line-height:1;vertical-align:middle;overflow:visible;}
span.rp-icon--emoji>span{display:block;font-family:"Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji",sans-serif;font-size:calc(var(--rp-icon-size,18px) * .94);line-height:1;transform:translateY(-.01em);filter:saturate(1.06) drop-shadow(0 1px 1px rgba(15,35,22,.12));}
span.rp-icon--custom{overflow:hidden;border-radius:24%;}
span.rp-icon--custom>img{display:block;width:100%;height:100%;object-fit:contain;}
.rp-ui-icon-tile{--rp-tile-a:#ecf8e4;--rp-tile-b:#dff1d3;--rp-tile-ink:var(--rp-primary-dark);position:relative;isolation:isolate;display:inline-grid;place-items:center;flex:0 0 36px;width:36px;height:36px;padding:7px;border:1px solid color-mix(in srgb,var(--rp-tile-ink) 20%,transparent);border-radius:11px;background:linear-gradient(145deg,var(--rp-tile-a),var(--rp-tile-b));color:var(--rp-tile-ink);box-shadow:var(--rp-gloss),0 7px 16px color-mix(in srgb,var(--rp-tile-ink) 12%,transparent);overflow:hidden;}
.rp-ui-icon-tile::before{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(145deg,rgba(255,255,255,.78),transparent 46%);pointer-events:none;}
.rp-ui-icon-tile::after{content:"";position:absolute;z-index:-1;width:48%;aspect-ratio:1;right:-15%;bottom:-25%;border-radius:50%;background:color-mix(in srgb,var(--rp-tile-ink) 13%,transparent);pointer-events:none;}
.rp-ui-icon-tile.is-green{--rp-tile-a:var(--rp-primary-soft);--rp-tile-b:#dcefcf;--rp-tile-ink:var(--rp-primary-dark);}
.rp-ui-icon-tile.is-blue{--rp-tile-a:#edf7fc;--rp-tile-b:#dceef8;--rp-tile-ink:#1976a8;}
.rp-ui-icon-tile.is-orange{--rp-tile-a:#fff6e9;--rp-tile-b:#fde8ce;--rp-tile-ink:#cf6810;}
.rp-ui-icon-tile.is-purple{--rp-tile-a:#f5f1fd;--rp-tile-b:#e8def9;--rp-tile-ink:#7652c7;}
.rp-ui-icon-tile.is-red{--rp-tile-a:#fff1f1;--rp-tile-b:#f8dddd;--rp-tile-ink:#c53b3b;}
.rp-ui-icon-tile.is-slate{--rp-tile-a:#f3f6f7;--rp-tile-b:#e4eaed;--rp-tile-ink:#52616d;}
.rp-ui-icon-tile.is-teal{--rp-tile-a:#ebfaf7;--rp-tile-b:#d4f0ea;--rp-tile-ink:#158a79;}
.rp-ui-icon-tile.is-amber{--rp-tile-a:#fff8e7;--rp-tile-b:#f8e8bd;--rp-tile-ink:#a66c06;}
.rp-ui-icon-tile.is-emoji{padding:5px;}
.rp-ui-icon-tile.is-emoji .rp-icon--emoji>span{font-size:calc(var(--rp-icon-size,18px) * 1.02);}
.rp-ui-icon-tile.is-custom{padding:4px;background:var(--rp-surface);}
/*Premium workspace foundation.*/
@media(min-width:1181px){.dsrv.rp-ui .dsrv-main{padding:26px 28px 52px;}}
.dsrv.rp-ui .dsrv-main{display:grid;align-content:start;gap:18px;min-width:0;background:radial-gradient(circle at 16% 0,var(--rp-primary-soft),transparent 24%),linear-gradient(180deg,var(--rp-page-top) 0,var(--rp-page-bottom) 100%);overflow-x:hidden;}

.dsrv.rp-ui .dsrv-card::before,.dsrv.rp-ui .rp-ui-card::before{content:"";position:absolute;inset:0 0 auto;height:1px;background:rgba(255,255,255,.95);pointer-events:none;}

body>.dsrv-modal.rp-ui-modal .rp-premium-action .rp-ui-button__icon,.dsrv.rp-ui .rp-premium-action .rp-ui-button__icon{display:inline-grid  !important;place-items:center  !important;flex:0 0 auto  !important;color:currentColor  !important;}
body>.dsrv-modal.rp-ui-modal .rp-premium-action .rp-icon,.dsrv.rp-ui .rp-premium-action .rp-icon{width:16px  !important;height:16px  !important;}

/*Sidebar with colourful semantic icons and a high-contrast active state.*/
@media(min-width:961px){.dsrv.rp-ui .dsrv-sidebar{position:sticky;top:0;height:100vh;}}
.dsrv.rp-ui .dsrv-sidebar{align-self:start;padding:0;border:0;border-right:1px solid rgba(255,255,255,.06);border-radius:0;background:radial-gradient(circle at 22% 0,var(--rp-primary-soft),transparent 26%),linear-gradient(180deg,var(--rp-sidebar-top) 0,var(--rp-sidebar-bg) 45%,var(--rp-sidebar-bottom) 100%);color:var(--rp-sidebar-text);box-shadow:14px 0 44px rgba(7,22,13,.16);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;border-right-color:rgba(255,255,255,.07);}
.dsrv.rp-ui .dsrv-sidebar-brand{display:grid!important;grid-template-columns:46px minmax(0,1fr)!important;gap:11px!important;align-items:center!important;padding:18px 16px!important;border-bottom:1px solid rgba(255,255,255,.08)!important;box-shadow:inset 0 -2px 0 color-mix(in srgb,var(--rp-primary) 18%,transparent)!important;background:linear-gradient(180deg,rgba(255,255,255,.035),transparent);}
.dsrv.rp-ui .dsrv-brandmark{width:46px;height:46px;border-radius:13px;background:linear-gradient(145deg,#f9fff6,#dff2d4);color:var(--rp-primary-dark);display:grid;place-items:center;border:1px solid rgba(132,194,58,.30);box-shadow:inset 0 1px 0 #fff,0 10px 24px rgba(0,0,0,.24);border-color:rgba(114,189,56,.46);}
.dsrv.rp-ui .dsrv-sidebar .dsrv-tab{grid-column:1!important;width:100%!important;max-width:none!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:8px!important;margin:0!important;min-height:43px!important;padding:9px 14px 9px 12px!important;border:0!important;border-left:4px solid transparent!important;border-radius:0!important;background:transparent!important;color:var(--rp-sidebar-text)!important;font-size:13px!important;font-weight:650!important;white-space:normal!important;text-align:left!important;transition:background .16s ease,color .16s ease,border-color .16s ease,transform .16s ease!important;}
.dsrv.rp-ui .dsrv-sidebar .dsrv-tab:hover{background:linear-gradient(90deg,var(--rp-primary-soft),color-mix(in srgb,var(--rp-primary) 4%,transparent))!important;color:var(--rp-sidebar-text)!important;}
.dsrv.rp-ui .dsrv-sidebar .dsrv-tab.is-active{background:linear-gradient(90deg,color-mix(in srgb,var(--rp-primary) 28%,transparent),color-mix(in srgb,var(--rp-primary-dark) 10%,transparent))!important;border-left-color:var(--rp-primary)!important;color:var(--rp-sidebar-text)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.04)!important;font-weight:850!important;}
.dsrv.rp-ui .dsrv-sidebar .dsrv-tab .rp-ui-icon-tile{width:29px;height:29px;flex-basis:29px;padding:4px;border:0  !important;border-radius:9px;background:rgba(255,255,255,.055);color:#dfe8e1;border-color:rgba(255,255,255,.08);box-shadow:inset 0 1px 0 rgba(255,255,255,.06);}
.dsrv.rp-ui .dsrv-sidebar .dsrv-tab .rp-ui-icon-tile::after{display:none;}
.dsrv.rp-ui .dsrv-sidebar .dsrv-tab:hover .rp-ui-icon-tile{border-color:rgba(140,209,78,.25);box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 5px 14px rgba(0,0,0,.16);}
.dsrv.rp-ui .dsrv-sidebar .dsrv-tab .rp-ui-icon-tile.is-emoji{background:transparent;border-color:transparent;box-shadow:none;}
.dsrv.rp-ui .dsrv-sidebar .dsrv-tab .rp-ui-icon-tile.is-emoji::before,.dsrv.rp-ui .dsrv-sidebar .dsrv-tab .rp-ui-icon-tile.is-emoji::after{display:none;}
.dsrv.rp-ui .dsrv-sidebar .dsrv-tab .rp-ui-icon-tile.is-emoji .rp-icon--emoji>span{font-size:19px;filter:saturate(1.1) drop-shadow(0 2px 2px rgba(0,0,0,.22));}

/*Page identity.*/
.dsrv.rp-ui .rp-ui-section-head__identity>.rp-ui-icon-tile{width:48px;height:48px;flex:0 0 48px;border:0  !important;border-radius:14px;padding:9px;color:#fff;background:linear-gradient(145deg,#8bd04f,#4f9e35 52%,var(--rp-primary-dark));box-shadow:inset 0 1px 0 rgba(255,255,255,.34),0 12px 28px rgba(36,107,37,.22);border-color:rgba(114,189,56,.46);}
.dsrv.rp-ui .rp-ui-section-head__identity>.rp-ui-icon-tile::after{background:rgba(255,255,255,.13);}
.dsrv.rp-ui .rp-ui-section-head__identity>.rp-ui-icon-tile.is-emoji{padding:7px;}
.dsrv.rp-ui .rp-ui-section-head__identity>.rp-ui-icon-tile.is-emoji .rp-icon--emoji>span{font-size:30px;filter:saturate(1.08) drop-shadow(0 2px 2px rgba(13,35,22,.18));}
.dsrv.rp-ui .rp-ui-section-head__copy .dsrv-h1{margin:0  !important;color:var(--rp-ink)  !important;font-size:32px  !important;line-height:1.1  !important;font-weight:820  !important;letter-spacing:-.035em  !important;}
.dsrv.rp-ui .rp-ui-section-head__subtitle{max-width:1180px  !important;margin-top:5px  !important;color:#475a4e  !important;font-size:13px  !important;line-height:1.5  !important;font-weight:540  !important;}
/*One premium modal frame and one scrolling body.*/
body>.dsrv-modal.rp-ui-modal .dsrv-modal-card{position:relative  !important;z-index:1  !important;max-height:min(92vh,940px)  !important;margin:0  !important;display:flex  !important;flex-direction:column  !important;overflow:hidden  !important;border:1px solid color-mix(in srgb,var(--rp-primary) 14%,var(--rp-line) 86%)  !important;border-radius:18px  !important;background:var(--rp-surface)  !important;box-shadow:0 38px 110px rgba(7,22,13,.34),inset 0 1px 0 rgba(255,255,255,.95)  !important;}
body>.dsrv-modal.rp-ui-modal .dsrv-modal-head{min-height:72px  !important;padding:15px 20px  !important;display:flex  !important;align-items:center  !important;justify-content:space-between  !important;gap:14px  !important;border-bottom:1px solid var(--rp-line)!important;background:linear-gradient(180deg,var(--rp-surface),color-mix(in srgb,var(--rp-surface-subtle) 88%,var(--rp-primary) 12%))!important;}
body>.dsrv-modal.rp-ui-modal .rp-ui-modal__identity{display:flex;align-items:center;gap:12px;min-width:0;}
body>.dsrv-modal.rp-ui-modal .rp-ui-modal__icon{width:42px;height:42px;flex:0 0 42px;border-radius:13px;padding:8px;}
body>.dsrv-modal.rp-ui-modal .rp-ui-modal__icon.is-emoji .rp-icon--emoji>span{font-size:27px;}
body>.dsrv-modal.rp-ui-modal .rp-ui-modal__title{margin:0;color:var(--rp-text)!important;font-size:19px  !important;font-weight:880  !important;line-height:1.2;letter-spacing:-.012em;}
body>.dsrv-modal.rp-ui-modal .rp-ui-modal__description{margin-top:4px;color:var(--rp-muted)!important;font-size:12px  !important;font-weight:560  !important;line-height:1.4;}
body>.dsrv-modal.rp-ui-modal .rp-ui-modal__close{width:40px  !important;height:40px  !important;display:grid  !important;place-items:center  !important;flex:0 0 40px  !important;padding:0  !important;border:1px solid var(--rp-line)!important;border-radius:11px!important;background:linear-gradient(180deg,var(--rp-surface),var(--rp-surface-subtle))!important;color:var(--rp-text)!important;box-shadow:var(--rp-gloss),0 4px 12px rgba(13,35,22,.05)  !important;}
body>.dsrv-modal.rp-ui-modal .rp-ui-modal__close:hover{background:var(--rp-primary-soft)  !important;border-color:color-mix(in srgb,var(--rp-primary) 62%,var(--rp-line) 38%)  !important;color:var(--rp-primary-dark)  !important;transform:translateY(-1px)  !important;}
body>.dsrv-modal.rp-ui-modal .rp-ui-modal__body{position:relative  !important;padding:20px 22px  !important;overflow:auto  !important;background:radial-gradient(circle at 100% 0,color-mix(in srgb,var(--rp-primary) 7%,transparent),transparent 22%),linear-gradient(180deg,var(--rp-surface),var(--rp-surface-subtle))!important;scrollbar-width:thin  !important;scrollbar-color:color-mix(in srgb,var(--rp-primary) 25%,var(--rp-line) 75%) transparent!important;scroll-padding-top:16px  !important;}
body>.dsrv-modal.rp-ui-modal .rp-modal-form-makeover{position:relative!important;display:grid!important;grid-template-columns:188px minmax(0,1fr)!important;grid-template-rows:auto!important;column-gap:18px!important;row-gap:0!important;align-items:start!important;max-width:none!important;}
body>.dsrv-modal.rp-ui-modal .rp-modal-form-makeover>:not(input[type="hidden"]):not(.rp-modal-section-nav):not(.rp-modal-form-main){grid-column:2!important;min-width:0!important;}
body>.dsrv-modal.rp-ui-modal .rp-modal-form-makeover>.rp-modal-form-main{grid-column:2!important;grid-row:1!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;align-content:start!important;min-width:0!important;min-height:0!important;}
body>.dsrv-modal.rp-ui-modal .rp-modal-form-makeover>.rp-modal-form-main>*{grid-column:1!important;min-width:0!important;}
body>.dsrv-modal.rp-ui-modal .rp-modal-section-nav{grid-column:1!important;grid-row:1!important;position:sticky!important;top:0!important;z-index:8!important;align-self:start!important;display:grid!important;gap:5px!important;width:100%!important;max-width:188px!important;padding:10px!important;border:1px solid var(--rp-line)!important;border-radius:17px!important;background:linear-gradient(180deg,var(--rp-surface),color-mix(in srgb,var(--rp-surface-subtle) 90%,var(--rp-primary) 10%))!important;box-shadow:0 10px 24px color-mix(in srgb,var(--rp-primary-dark) 7%,transparent)!important;overflow:visible!important;}
body>.dsrv-modal.rp-ui-modal .rp-modal-section-nav__label{display:block!important;padding:5px 8px 8px!important;color:var(--rp-muted)!important;font-size:9px!important;font-weight:950!important;letter-spacing:.11em!important;text-transform:uppercase!important;}
body>.dsrv-modal.rp-ui-modal .rp-modal-section-nav__item{position:relative!important;display:grid!important;grid-template-columns:34px minmax(0,1fr)!important;align-items:center!important;gap:9px!important;width:100%!important;min-height:48px!important;padding:7px 9px!important;border:1px solid transparent!important;border-radius:13px!important;background:transparent!important;text-align:left!important;box-shadow:none!important;cursor:pointer!important;}
body>.dsrv-modal.rp-ui-modal .rp-modal-section-nav__item:hover{border-color:color-mix(in srgb,var(--rp-primary) 30%,var(--rp-line) 70%)!important;background:var(--rp-surface)!important;color:var(--rp-primary-dark)!important;}
body>.dsrv-modal.rp-ui-modal .rp-modal-section-nav__item.is-active{border-color:color-mix(in srgb,var(--rp-primary) 42%,var(--rp-line) 58%)!important;background:linear-gradient(145deg,color-mix(in srgb,var(--rp-primary) 11%,var(--rp-surface) 89%),color-mix(in srgb,var(--rp-primary) 16%,var(--rp-surface-subtle) 84%))!important;box-shadow:0 7px 16px color-mix(in srgb,var(--rp-primary) 10%,transparent)!important;}
body>.dsrv-modal.rp-ui-modal .rp-modal-section-nav__item.is-active::before{content:""!important;position:absolute!important;left:-1px!important;top:10px!important;bottom:10px!important;width:4px!important;border-radius:0 4px 4px 0!important;background:linear-gradient(180deg,color-mix(in srgb,var(--rp-primary) 82%,#fff 18%),var(--rp-button-primary))!important;}
body>.dsrv-modal.rp-ui-modal .rp-modal-section-nav__icon{display:grid!important;place-items:center!important;width:34px!important;height:34px!important;border:1px solid var(--rp-line)!important;border-radius:11px!important;background:var(--rp-surface)!important;color:var(--rp-primary-dark)!important;box-shadow:0 4px 10px color-mix(in srgb,var(--rp-primary-dark) 4%,transparent)!important;}
body>.dsrv-modal.rp-ui-modal .rp-modal-section-nav__item.is-active .rp-modal-section-nav__icon{border-color:color-mix(in srgb,var(--rp-primary) 34%,var(--rp-line) 66%)!important;background:color-mix(in srgb,var(--rp-primary) 7%,var(--rp-surface) 93%)!important;color:var(--rp-primary-dark)!important;}
body>.dsrv-modal.rp-ui-modal .rp-modal-section-nav__copy{display:grid!important;gap:2px!important;min-width:0!important;}
body>.dsrv-modal.rp-ui-modal .rp-modal-section-nav__copy strong{display:block!important;overflow:hidden!important;color:inherit!important;font-size:11.5px!important;font-weight:900!important;line-height:1.2!important;text-overflow:ellipsis!important;white-space:nowrap!important;}
body>.dsrv-modal.rp-ui-modal .rp-modal-section-nav__copy small{display:block!important;overflow:hidden!important;color:var(--rp-muted)!important;font-size:8.8px!important;font-weight:650!important;line-height:1.25!important;text-overflow:ellipsis!important;white-space:nowrap!important;}
body>.dsrv-modal.rp-ui-modal .rp-modal-section-nav__item.is-active .rp-modal-section-nav__copy small{color:var(--rp-muted)!important;}
body>.dsrv-modal.rp-ui-modal .rp-modal-section-anchor{scroll-margin-top:16px!important;}
/*Task and report sections: airy, readable and consistent.*/

body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="task"] .dsrv-form-row,body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="report"] .dsrv-form-row{margin-bottom:12px  !important;}

body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="task"] textarea,body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="report"] textarea{min-height:105px  !important;}
body>.dsrv-modal.rp-ui-modal .dsrv-form-actions{position:sticky  !important;bottom:-18px  !important;z-index:4  !important;margin:14px 0 0  !important;padding:14px 0 2px  !important;border-top:1px solid var(--rp-line)  !important;background:linear-gradient(180deg,color-mix(in srgb,var(--rp-surface) 82%,transparent),var(--rp-surface) 32%)  !important;backdrop-filter:blur(12px)  !important;border-top-color:color-mix(in srgb,var(--rp-line) 72%,transparent)  !important;}
body>.dsrv-modal.rp-ui-modal .dsrv-task-no-charge-card{background:linear-gradient(110deg,color-mix(in srgb,var(--rp-warning) 9%,var(--rp-surface) 91%),var(--rp-surface-subtle))!important;border-color:var(--rp-warning-line)!important;}

body>.dsrv-modal.rp-ui-modal .rp-service-qty{display:inline-grid  !important;grid-template-columns:38px minmax(64px,110px) 38px  !important;align-items:center  !important;gap:7px  !important;}
body>.dsrv-modal.rp-ui-modal .rp-service-qty .button{width:38px  !important;min-width:38px  !important;height:38px  !important;min-height:38px  !important;padding:0  !important;border-radius:10px  !important;color:var(--rp-primary-dark)  !important;font-size:20px  !important;font-weight:900  !important;}
body>.dsrv-modal.rp-ui-modal .rp-service-qty input{min-height:38px  !important;text-align:center  !important;font-weight:850  !important;}
/*Special considerations: one clean dynamic card component.*/
body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="task"] .dsrv-task-obs-box{grid-column:1/-1  !important;padding:15px  !important;border:1px solid var(--rp-line)!important;border-radius:15px!important;background:linear-gradient(180deg,var(--rp-surface),var(--rp-surface-subtle))!important;box-shadow:var(--rp-gloss),0 5px 14px rgba(13,35,22,.04)  !important;}
body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="task"] .dsrv-obs-checks--grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;align-items:stretch!important;}
body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="task"] .dsrv-obs-checks--grid.rp-care-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="task"] .dsrv-obs-checks--grid.rp-care-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="task"] .dsrv-obs-checks--grid.rp-care-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))!important;}
body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="task"] .dsrv-check-chip--obs{--rp-care-tone:var(--rp-primary-dark);position:relative;isolation:isolate;overflow:hidden;min-height:148px;padding:14px 12px  !important;display:flex  !important;flex-direction:column  !important;align-items:center  !important;justify-content:center  !important;gap:9px  !important;border:1px solid color-mix(in srgb,var(--rp-primary) 30%,var(--rp-line) 70%)!important;border-radius:18px!important;background:linear-gradient(155deg,color-mix(in srgb,var(--rp-primary) 5%,var(--rp-surface) 95%) 0,color-mix(in srgb,var(--rp-primary) 11%,var(--rp-surface) 89%) 58%,color-mix(in srgb,var(--rp-primary) 17%,var(--rp-surface) 83%) 100%)!important;color:var(--rp-text)!important;text-align:center  !important;box-shadow:inset 0 1px 0 rgba(255,255,255,.88),0 10px 24px rgba(36,107,37,.08)  !important;cursor:pointer  !important;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease,background .16s ease  !important;}
body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="task"] .dsrv-check-chip--obs::after{content:"";position:absolute;z-index:-1;right:-30px;bottom:-38px;width:96px;height:96px;border-radius:50%;background:color-mix(in srgb,var(--rp-primary) 14%,transparent);}
body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="task"] .dsrv-check-chip--obs:hover{transform:translateY(-2px)  !important;border-color:color-mix(in srgb,var(--rp-primary) 68%,var(--rp-line) 32%)  !important;box-shadow:inset 0 1px 0 #fff,0 17px 34px color-mix(in srgb,var(--rp-primary-dark) 14%,transparent)  !important;}
body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="task"] .dsrv-check-chip--obs>input{position:absolute  !important;top:10px  !important;right:10px  !important;width:18px  !important;height:18px  !important;margin:0  !important;opacity:1  !important;pointer-events:auto  !important;accent-color:var(--rp-primary)  !important;z-index:3  !important;}
body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="task"] .dsrv-check-chip__icon{position:relative;z-index:1;display:grid  !important;place-items:center  !important;width:auto  !important;height:auto  !important;margin:0  !important;padding:0  !important;border:0  !important;background:transparent  !important;color:inherit  !important;box-shadow:none  !important;}
body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="task"] .dsrv-check-chip__icon .rp-ui-icon-tile{width:56px;height:56px;flex-basis:56px;padding:9px;border-radius:18px;box-shadow:var(--rp-gloss),0 11px 23px color-mix(in srgb,var(--rp-primary-dark) 13%,transparent);}
body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="task"] .dsrv-check-chip__icon .rp-ui-icon-tile.is-emoji .rp-icon--emoji>span{font-size:38px;}
body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="task"] .dsrv-check-chip__text{position:relative;z-index:1;display:grid  !important;gap:4px  !important;width:100%  !important;min-width:0  !important;text-align:center  !important;}
body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="task"] .dsrv-check-chip__text strong{display:block  !important;color:var(--rp-text)!important;font-size:13px  !important;line-height:1.25  !important;font-weight:900  !important;}
body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="task"] .dsrv-check-chip__text small{display:block  !important;margin:0  !important;color:var(--rp-muted)  !important;font-size:10.5px  !important;line-height:1.42  !important;font-weight:540  !important;}
body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="task"] .dsrv-check-chip--obs:has(input:checked),body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="task"] .dsrv-check-chip--obs.is-selected{border-color:var(--rp-button-primary-border)!important;background:linear-gradient(155deg,color-mix(in srgb,var(--rp-primary) 82%,#fff 18%) 0,var(--rp-button-primary) 58%,var(--rp-primary-dark) 100%)!important;color:#fff  !important;box-shadow:inset 0 1px 0 rgba(255,255,255,.34),0 0 0 4px var(--rp-primary-focus),0 20px 38px color-mix(in srgb,var(--rp-primary-dark) 24%,transparent)!important;}
body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="task"] .dsrv-check-chip--obs:has(input:checked)::after,body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="task"] .dsrv-check-chip--obs.is-selected::after{background:rgba(255,255,255,.13);}
body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="task"] .dsrv-check-chip--obs:has(input:checked) .rp-ui-icon-tile,body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="task"] .dsrv-check-chip--obs.is-selected .rp-ui-icon-tile{border-color:rgba(255,255,255,.35);background:rgba(255,255,255,.19);color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.34),0 11px 23px rgba(0,0,0,.12);}
body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="task"] .dsrv-check-chip--obs:has(input:checked) .dsrv-check-chip__text strong,body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="task"] .dsrv-check-chip--obs:has(input:checked) .dsrv-check-chip__text small,body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="task"] .dsrv-check-chip--obs.is-selected .dsrv-check-chip__text strong,body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="task"] .dsrv-check-chip--obs.is-selected .dsrv-check-chip__text small{color:#fff  !important;}
/*Employee uses the same configurable icon contract and care cards.*/
.rp-emp-ui .rp-ui-icon-tile{width:38px;height:38px;flex:0 0 38px;padding:7px;border-radius:12px;}
.rp-emp-ui .rp-emp-section-head .rp-ui-icon-tile{width:42px  !important;height:42px  !important;flex:0 0 38px  !important;border-radius:13px  !important;flex-basis:42px  !important;}
.rp-emp-ui .rp-emp-care-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:9px!important;}
.rp-emp-ui .rp-emp-care-grid.rp-care-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
.rp-emp-ui .rp-emp-care-grid.rp-care-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
.rp-emp-ui .rp-emp-care-grid.rp-care-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))!important;}
.rp-emp-ui .rp-emp-care-card{position:relative;overflow:hidden;min-height:116px;padding:11px 8px  !important;display:flex  !important;flex-direction:column  !important;align-items:center  !important;justify-content:center  !important;gap:5px  !important;text-align:center  !important;}
.rp-emp-ui .rp-emp-care-card>input{position:absolute  !important;top:8px  !important;right:8px  !important;margin:0  !important;accent-color:var(--rp-primary)  !important;}
.rp-emp-ui .rp-emp-care-card .rp-emp-care-icon{display:grid;place-items:center;width:50px;height:50px;}
.rp-emp-ui .rp-emp-care-card .rp-icon--emoji>span{font-size:34px;}
.rp-emp-ui .rp-emp-care-card strong{color:var(--rp-text);font-size:11.5px;line-height:1.25;}
.rp-emp-ui .rp-emp-care-card small{color:var(--rp-muted);font-size:9.5px;line-height:1.35;}

.rp-emp-ui .rp-emp-care-card:has(input:checked) strong,.rp-emp-ui .rp-emp-care-card:has(input:checked) small{color:#fff  !important;}
.rp-emp-ui .rp-emp-care-chips span{display:inline-flex  !important;align-items:center  !important;gap:6px  !important;padding:6px 9px  !important;border:1px solid color-mix(in srgb,var(--rp-primary) 24%,transparent)  !important;border-radius:999px  !important;background:var(--rp-primary-soft)  !important;color:var(--rp-primary-dark)  !important;box-shadow:var(--rp-gloss)  !important;}
.rp-emp-ui .rp-emp-care-chips b{display:grid  !important;place-items:center  !important;}
/*Icon & UI studio.*/

.rp-icon-studio{--rp-studio-gap:16px;}
.rp-icon-studio-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(380px,420px);gap:18px;align-items:start;}
.rp-icon-studio-main{display:grid;gap:var(--rp-studio-gap);min-width:0;}
.rp-icon-studio-card{position:relative;overflow:hidden;padding:18px;border:1px solid rgba(174,189,175,.62);border-radius:18px;background:linear-gradient(180deg,#fff,#fcfefc);box-shadow:var(--rp-gloss),var(--rp-shadow);}
.rp-icon-studio-card::after{content:"";position:absolute;right:-95px;top:-105px;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle,rgba(114,189,56,.08),transparent 67%);pointer-events:none;}
.rp-icon-studio-card__head{position:relative;z-index:1;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:15px;}
.rp-icon-studio-card__head h2,.rp-icon-studio-preview__head h2{margin:3px 0 4px;color:var(--rp-text);font-size:18px;line-height:1.2;font-weight:880;letter-spacing:-.015em;}
.rp-icon-studio-card__head p,.rp-icon-studio-preview__head p{max-width:760px;margin:0;color:#5a6b60;font-size:12px;line-height:1.48;}
.rp-icon-studio-eyebrow{display:block;color:#31742c;font-size:9.5px;font-weight:900;letter-spacing:.13em;text-transform:uppercase;}
.rp-icon-studio-status,.rp-icon-studio-preview__live{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;padding:6px 9px;border:1px solid rgba(114,189,56,.25);border-radius:999px;background:#f1faec;color:var(--rp-primary-dark);font-size:10px;font-weight:850;}
.rp-icon-studio-status i,.rp-icon-studio-preview__live i{width:7px;height:7px;border-radius:50%;background:#65b83c;box-shadow:0 0 0 4px rgba(101,184,60,.12);}
.rp-icon-library-grid{position:relative;z-index:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;}
.rp-icon-library-choice{position:relative;isolation:isolate;min-height:155px;padding:15px 13px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:1px solid rgba(174,189,175,.65);border-radius:16px;background:linear-gradient(160deg,#fff,var(--rp-surface-subtle));text-align:center;cursor:pointer;box-shadow:var(--rp-gloss),0 7px 17px rgba(13,35,22,.045);transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease,background .16s ease;}
.rp-icon-library-choice:hover{transform:translateY(-2px);border-color:rgba(114,189,56,.6);box-shadow:var(--rp-gloss),0 15px 28px rgba(36,107,37,.11);}
.rp-icon-library-choice.is-selected{border-color:#64ab38;background:linear-gradient(155deg,color-mix(in srgb,var(--rp-primary) 5%,var(--rp-surface) 95%),#e7f6de);box-shadow:inset 0 1px 0 #fff,0 0 0 3px rgba(114,189,56,.14),0 16px 31px rgba(36,107,37,.13);}
.rp-icon-library-choice>input{position:absolute;opacity:0;pointer-events:none;}
.rp-icon-library-choice__mark{position:absolute;top:11px;right:11px;width:17px;height:17px;border:2px solid #b8c5bb;border-radius:50%;background:var(--rp-surface);}
.rp-icon-library-choice.is-selected .rp-icon-library-choice__mark{border:5px solid #5eaa34;box-shadow:0 0 0 3px rgba(94,170,52,.12);}
.rp-icon-library-choice__icon .rp-ui-icon-tile{width:58px;height:58px;flex-basis:58px;border-radius:18px;}
.rp-icon-library-choice__icon .rp-icon--emoji>span{font-size:38px;}
.rp-icon-library-choice strong{color:var(--rp-text);font-size:14px;font-weight:900;}
.rp-icon-library-choice small{color:#5b6d61;font-size:10.5px;line-height:1.4;}
.rp-icon-library-choice em{margin-top:2px;padding:4px 7px;border-radius:999px;background:rgba(114,189,56,.1);color:#31742c;font-size:9px;font-style:normal;font-weight:850;text-transform:uppercase;letter-spacing:.06em;}
.rp-icon-placement-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.rp-icon-placement-row{display:grid;grid-template-columns:42px minmax(0,1fr) 158px;gap:10px;align-items:center;padding:10px;border:1px solid rgba(203,216,206,.72);border-radius:13px;background:linear-gradient(180deg,#fff,#f9fbf9);box-shadow:var(--rp-gloss),0 4px 12px rgba(13,35,22,.035);}
.rp-icon-placement-row__preview{display:grid;place-items:center;}
.rp-icon-placement-row__copy{display:grid;gap:2px;min-width:0;}
.rp-icon-placement-row__copy strong{color:var(--rp-text);font-size:11.5px;}
.rp-icon-placement-row__copy small{color:var(--rp-muted);font-size:9.5px;line-height:1.35;}
.rp-icon-placement-row__select select{min-height:38px  !important;font-size:11px  !important;}
.rp-icon-columns-control{display:flex;align-items:center;gap:8px;color:#4d5f53;font-size:10.5px;font-weight:800;}
.rp-icon-columns-control select{width:70px  !important;min-height:38px  !important;}
.rp-consideration-editor{display:grid;gap:9px;}
.rp-consideration-editor__row{display:grid;grid-template-columns:24px 56px minmax(280px,1fr) 88px 110px minmax(170px,auto);gap:10px;align-items:center;padding:10px;border:1px solid rgba(203,216,206,.72);border-radius:14px;background:linear-gradient(180deg,#fff,#f9fbf9);box-shadow:var(--rp-gloss),0 4px 12px rgba(13,35,22,.035);}
.rp-consideration-editor__drag{display:grid;place-items:center;color:#93a198;cursor:grab;}
.rp-consideration-editor__icon{display:grid;place-items:center;}
.rp-consideration-editor__icon .rp-ui-icon-tile{width:50px;height:50px;flex-basis:50px;border-radius:16px;}
.rp-consideration-editor__icon .rp-icon--emoji>span{font-size:34px;}
.rp-consideration-editor__fields{display:grid;grid-template-columns:minmax(150px,.8fr) minmax(180px,1.2fr);gap:9px;min-width:0;}
.rp-consideration-editor label{display:grid;gap:4px;min-width:0;}
.rp-consideration-editor label>span{color:#596a5f;font-size:9px;font-weight:850;letter-spacing:.05em;text-transform:uppercase;}
.rp-consideration-editor input,.rp-consideration-editor select{min-height:38px  !important;font-size:11px  !important;}
.rp-consideration-settings__head{align-items:flex-end;}
.rp-consideration-settings__tools{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;}
.rp-consideration-active-count{display:inline-flex;align-items:baseline;gap:4px;min-height:38px;padding:7px 10px;border:1px solid var(--rp-line);border-radius:10px;background:var(--rp-surface-subtle);color:#58705b;font-size:10px;font-weight:850;}
.rp-consideration-active-count strong{color:#24652d;font-size:15px;line-height:1;}
.rp-consideration-active-count.is-full{border-color:#e7c66a;background:#fff9e8;}
.rp-consideration-editor__row.is-inactive{opacity:.62;background:#fafbfa;}
.rp-consideration-editor__row.is-active{border-color:#c9ddc3;}
.rp-consideration-editor__row.is-deleted{display:none!important;}
.rp-consideration-editor__actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;min-width:0;}
.rp-consideration-editor__actions .button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:34px;margin:0;padding:0 9px;border-radius:9px;font-size:10px;font-weight:850;}
.rp-consideration-editor__actions .rp-icon-switch{display:flex;align-items:center;gap:5px;margin:0 2px;}
.rp-consideration-remove{color:#fff!important;border-color:#c84c4c!important;background:linear-gradient(180deg,#db6666,#bd3e3e)!important;box-shadow:0 4px 10px rgba(153,40,40,.12)!important;}
.rp-consideration-remove:hover,.rp-consideration-remove:focus{color:#fff!important;border-color:#a83232!important;background:linear-gradient(180deg,#ce5454,#aa3434)!important;}
.rp-consideration-icon-button{border-color:#8dbad5!important;background:#f1f8fc!important;color:#245c7a!important;}
.rp-consideration-icon-button:hover,.rp-consideration-icon-button:focus{border-color:#64a0c4!important;background:#e7f3fa!important;color:#184e6d!important;}
.rp-consideration-settings__note{display:flex;align-items:flex-start;gap:9px;margin-top:10px;padding:9px 11px;border-top:1px solid var(--rp-line);color:#68776d;font-size:10.5px;line-height:1.45;}

.rp-icon-switch{display:flex  !important;align-items:center  !important;justify-content:center  !important;gap:7px  !important;cursor:pointer;}
.rp-icon-switch input[type=checkbox]{position:absolute;opacity:0;pointer-events:none;}
.rp-icon-switch>span{position:relative;width:38px;height:22px;border-radius:999px;background:#cbd5cf;box-shadow:inset 0 1px 3px rgba(13,35,22,.13);transition:background .15s ease;}
.rp-icon-switch>span::after{content:"";position:absolute;left:3px;top:3px;width:16px;height:16px;border-radius:50%;background:var(--rp-surface);box-shadow:0 2px 6px rgba(13,35,22,.18);transition:transform .15s ease;}
.rp-icon-switch input:checked+span{background:linear-gradient(135deg,#78c63e,#36832f);}
.rp-icon-switch input:checked+span::after{transform:translateX(16px);}
.rp-icon-switch em{color:var(--rp-muted);font-size:10px;font-style:normal;font-weight:800;}
.rp-icon-role-search{display:flex  !important;align-items:center  !important;gap:7px  !important;min-width:240px;padding:0 10px;border:1px solid rgba(174,189,175,.72);border-radius:11px;background:var(--rp-surface);}
.rp-icon-role-search input{min-height:38px  !important;padding:0  !important;border:0  !important;background:transparent  !important;box-shadow:none  !important;font-size:11px  !important;}
.rp-icon-mapping-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;}
.rp-icon-mapping-head-actions>.button{display:inline-flex!important;align-items:center!important;gap:7px!important;min-height:38px!important;margin:0!important;border-radius:11px!important;font-weight:900!important;}
.rp-icon-mapping-groups{display:grid;gap:10px;}
.rp-icon-mapping-group{overflow:hidden;border:1px solid rgba(203,216,206,.72);border-radius:14px;background:var(--rp-surface);box-shadow:var(--rp-gloss),0 5px 15px rgba(13,35,22,.04);}
.rp-icon-mapping-group>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;background:linear-gradient(180deg,#fff,#f6faf6);cursor:pointer;list-style:none;color:var(--rp-text);}
.rp-icon-mapping-group>summary::-webkit-details-marker{display:none;}
.rp-icon-mapping-group>summary>span{display:flex;align-items:center;gap:8px;}
.rp-icon-mapping-group>summary strong{font-size:12.5px;font-weight:900;}
.rp-icon-mapping-group>summary small{padding:3px 7px;border-radius:999px;background:var(--rp-primary-soft);color:#4a6650;font-size:9px;font-weight:800;}
.rp-icon-mapping-group>summary .rp-icon{transition:transform .16s ease;}
.rp-icon-mapping-group[open]>summary .rp-icon{transform:rotate(180deg);}
.rp-icon-mapping-table{border-top:1px solid rgba(203,216,206,.62);}
.rp-icon-mapping-table__head,.rp-icon-mapping-row{display:grid;grid-template-columns:minmax(180px,1.25fr) 72px minmax(180px,1fr) minmax(220px,.8fr);gap:12px;align-items:center;}
.rp-icon-mapping-table__head{padding:9px 14px;background:#f4f7f4;color:#728078;font-size:8.5px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;}
.rp-icon-mapping-row{padding:10px 14px;border-top:1px solid rgba(221,230,223,.72);background:var(--rp-surface);}
.rp-icon-mapping-row:first-of-type{border-top:0;}
.rp-icon-mapping-row:hover{background:var(--rp-surface-subtle);}
.rp-icon-mapping-row__identity{display:grid;grid-template-columns:18px minmax(0,1fr);column-gap:7px;min-width:0;}
.rp-icon-mapping-row__identity i{grid-row:1/3;display:grid;place-items:center;color:#9aa79e;}
.rp-icon-mapping-row__identity strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--rp-text);font-size:11px;}
.rp-icon-mapping-row__identity small{color:#87938b;font-size:8.5px;}
.rp-icon-mapping-row__preview{display:grid;place-items:center;}
.rp-icon-mapping-row__preview .rp-ui-icon-tile{width:44px;height:44px;flex-basis:44px;border-radius:13px;}
.rp-icon-mapping-row__preview .rp-icon--emoji>span{font-size:29px;}
.rp-icon-mapping-row__choice{display:grid;gap:3px;min-width:0;}
.rp-icon-mapping-row__choice strong{color:#213c29;font-size:10.5px;font-weight:900;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.rp-icon-mapping-row__choice small{color:#77847b;font-size:9px;line-height:1.35;}
.rp-icon-mapping-row__actions{display:flex;justify-content:flex-end;gap:7px;align-items:center;}
.rp-icon-mapping-row__actions .button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;min-height:34px!important;margin:0!important;border-radius:9px!important;}
.rp-icon-mapping-row__actions .rp-icon-row-edit svg,.rp-icon-mapping-row__actions .rp-icon-row-edit .rp-icon{color:#fff!important;stroke:currentColor!important;}
.rp-icon-mapping-row__actions .rp-icon-row-reset{border-color:#cedbd0!important;background:var(--rp-surface-subtle)!important;color:#42594a!important;box-shadow:none!important;}
.rp-icon-mapping-row__actions .rp-icon-row-reset:hover,.rp-icon-mapping-row__actions .rp-icon-row-reset:focus{border-color:#a9c4aa!important;background:#edf6eb!important;color:#265f2e!important;}
.rp-icon-mapping-row__actions .rp-icon-row-delete{border-color:#c84c4c!important;background:linear-gradient(180deg,#dc6767,#bc3e3e)!important;color:#fff!important;box-shadow:0 4px 10px rgba(153,40,40,.12)!important;}
.rp-icon-mapping-row__actions .rp-icon-row-delete:hover,.rp-icon-mapping-row__actions .rp-icon-row-delete:focus{border-color:#aa3434!important;background:linear-gradient(180deg,#ce5555,#aa3434)!important;color:#fff!important;}
.rp-icon-mapping-row__actions .rp-icon-row-delete svg{stroke:#fff!important;}
.rp-icon-picker[hidden]{display:none!important;}
html.rp-icon-picker-open{overflow:hidden;}
.rp-icon-picker{position:fixed;inset:0;z-index:100250;display:grid;place-items:center;padding:26px;}
.rp-icon-picker__backdrop{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;border:0;background:rgba(10,23,16,.58);backdrop-filter:blur(4px);cursor:default;}
.rp-icon-picker__dialog{position:relative;z-index:1;display:grid;grid-template-rows:auto auto auto minmax(0,1fr) auto auto;width:min(920px,calc(100vw - 44px));max-height:min(820px,calc(100vh - 44px));overflow:hidden;border:1px solid #ceddca;border-radius:22px;background:var(--rp-surface);box-shadow:0 28px 80px rgba(7,28,15,.28);}
.rp-icon-picker__head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:17px 18px;border-bottom:1px solid var(--rp-line);background:linear-gradient(180deg,#fff,#f9fcf8);}
.rp-icon-picker__identity{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:center;min-width:0;}
.rp-icon-picker__preview{display:grid;place-items:center;width:52px;height:52px;border:1px solid #d5e4d0;border-radius:15px;background:#f5fbf1;}
.rp-icon-picker__preview .rp-ui-icon-tile{width:46px;height:46px;flex-basis:46px;border:0;background:transparent;box-shadow:none;}
.rp-icon-picker__head h2{margin:2px 0 3px;color:#12251a;font-size:18px;line-height:1.2;}
.rp-icon-picker__head p{margin:0;color:#617065;font-size:10.5px;line-height:1.45;}
.rp-icon-picker__close{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;margin:0;padding:0;border:1px solid #d7e2d4;border-radius:10px;background:var(--rp-surface);color:#526259;cursor:pointer;}
.rp-icon-picker__quick{display:grid;grid-template-columns:minmax(260px,1fr) auto auto;align-items:end;gap:10px;padding:10px 18px;border-bottom:1px solid #e7eee4;background:var(--rp-surface-subtle);}
.rp-icon-picker__quick .button{display:inline-flex!important;align-items:center!important;gap:7px!important;margin:0!important;min-height:39px!important;}
.rp-icon-picker__quick>span{align-self:center;color:#5c6d61;font-size:10px;font-weight:850;white-space:nowrap;}
.rp-icon-picker__role-select{display:grid;gap:4px;min-width:0;color:var(--rp-muted);font-size:9px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;}
.rp-icon-picker__role-select select{width:100%;min-width:0;min-height:39px!important;margin:0!important;border:1px solid #cfddcb!important;border-radius:10px!important;background:var(--rp-surface)!important;color:var(--rp-text)!important;font-size:11px!important;font-weight:850!important;text-transform:none!important;letter-spacing:0!important;}
.rp-icon-picker__tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;padding:10px 18px;border-bottom:1px solid var(--rp-line);background:var(--rp-surface);}
.rp-icon-picker__tabs button{min-height:38px;margin:0;padding:7px 10px;border:1px solid #dce6d9;border-radius:10px;background:var(--rp-surface-subtle);color:#46584b;font-size:10.5px;font-weight:900;cursor:pointer;}
.rp-icon-picker__tabs button.is-active{border-color:#68a84c;background:#eaf6e4;color:#245f25;box-shadow:inset 0 0 0 1px rgba(104,168,76,.12);}
.rp-icon-picker__panel{min-height:0;overflow:auto;padding:14px 18px 17px;background:var(--rp-surface);}
.rp-icon-picker__panel[hidden]{display:none!important;}
.rp-icon-picker__emoji-toolbar{position:sticky;top:-14px;z-index:3;margin:-14px -18px 12px;padding:12px 18px 10px;border-bottom:1px solid #edf2eb;background:rgba(255,255,255,.97);backdrop-filter:blur(8px);}
.rp-icon-picker__emoji-categories{display:flex;gap:6px;margin:0 0 8px;overflow-x:auto;padding-bottom:2px;scrollbar-width:thin;}
.rp-icon-picker__emoji-categories button{flex:0 0 auto;min-height:30px;margin:0;padding:5px 10px;border:1px solid #dbe6d8;border-radius:999px;background:#f7faf6;color:var(--rp-muted);font-size:9.5px;font-weight:900;cursor:pointer;}
.rp-icon-picker__emoji-categories button:hover{border-color:#9fc58f;background:#f0f8ec;color:#2e6428;}
.rp-icon-picker__emoji-categories button.is-active{border-color:#5e9f49;background:#e4f3dc;color:#21591c;box-shadow:inset 0 0 0 1px rgba(94,159,73,.1);}
.rp-icon-picker__search{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:8px;margin:0 0 12px;padding:8px 10px;border:1px solid #d8e4d4;border-radius:11px;background:rgba(255,255,255,.96);box-shadow:0 5px 14px rgba(17,56,29,.04);}
.rp-icon-picker__emoji-toolbar .rp-icon-picker__search{position:static;margin:0;box-shadow:none;}
.rp-icon-picker__search input{width:100%;min-height:30px!important;margin:0!important;padding:0!important;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;font-size:11px!important;}
.rp-icon-picker__emoji-groups{display:grid;gap:16px;}
.rp-icon-picker__emoji-group{display:grid;gap:8px;}
.rp-icon-picker__emoji-group[hidden]{display:none!important;}
.rp-icon-picker__emoji-group h3{margin:0;color:#405248;font-size:10px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;}
.rp-icon-picker__emoji-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:7px;}
.rp-icon-picker__emoji-grid button,.rp-icon-picker__svg-grid button{display:grid;place-items:center;align-content:center;gap:5px;min-height:68px;margin:0;padding:7px;border:1px solid var(--rp-line);border-radius:11px;background:var(--rp-surface);color:#405047;cursor:pointer;transition:border-color .15s ease,background .15s ease,transform .15s ease;}
.rp-icon-picker__emoji-grid button:hover,.rp-icon-picker__svg-grid button:hover{border-color:#8fbd78;background:#f5fbf1;transform:translateY(-1px);}
.rp-icon-picker__emoji-grid button.is-selected,.rp-icon-picker__svg-grid button.is-selected{border-color:#4e9638;background:#eaf6e4;box-shadow:inset 0 0 0 1px rgba(78,150,56,.15);}
.rp-icon-picker__emoji-grid button>span{font-size:27px;line-height:1;}
.rp-icon-picker__emoji-grid button small,.rp-icon-picker__svg-grid button small{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--rp-muted);font-size:8.5px;font-weight:800;}
.rp-icon-picker__svg-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(108px,1fr));gap:7px;}
.rp-icon-picker__svg-grid button .rp-icon{width:23px!important;height:23px!important;color:#285e32;}
.rp-icon-picker__upload-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:12px;align-items:center;padding:16px;border:1px solid #d8e5d4;border-radius:14px;background:var(--rp-surface-subtle);}
.rp-icon-picker__upload-preview{display:grid;place-items:center;width:54px;height:54px;border-radius:15px;background:var(--rp-surface);}
.rp-icon-picker__upload-card strong{display:block;color:#23482a;font-size:12px;}
.rp-icon-picker__upload-card p{margin:3px 0 0;color:var(--rp-muted);font-size:9.5px;line-height:1.45;}
.rp-icon-picker__upload-card .button{display:inline-flex!important;align-items:center!important;gap:6px!important;margin:0!important;}
.rp-icon-picker__custom-url{display:grid;gap:5px;margin-top:12px;color:var(--rp-muted);font-size:9px;font-weight:900;text-transform:uppercase;}
.rp-icon-picker__custom-url input{width:100%;min-height:38px!important;border:1px solid #d9e4d6!important;border-radius:10px!important;background:#f7f9f7!important;color:#657169!important;font-size:10px!important;}
.rp-icon-picker__tones{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 18px;border-top:1px solid var(--rp-line);background:var(--rp-surface-subtle);}
.rp-icon-picker__tones>div:first-child{display:grid;gap:2px;}
.rp-icon-picker__tones strong{color:#2d4633;font-size:10.5px;}
.rp-icon-picker__tones span{color:#718076;font-size:9px;}
.rp-icon-picker__tone-grid{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px;}
.rp-icon-picker__tone-grid button{display:inline-flex;align-items:center;gap:5px;min-height:30px;margin:0;padding:4px 8px;border:1px solid #dde6da;border-radius:999px;background:var(--rp-surface);color:#516157;font-size:8.5px;font-weight:850;cursor:pointer;}
.rp-icon-picker__tone-grid button.is-selected{border-color:#549a40;background:var(--rp-primary-soft);color:#245e25;}
.rp-icon-picker__tone-grid i{display:block;width:10px;height:10px;border-radius:50%;background:var(--rp-muted);box-shadow:inset 0 0 0 1px rgba(0,0,0,.05);}
.rp-icon-picker__tone-grid i.is-green{background:#65a842;}.rp-icon-picker__tone-grid i.is-blue{background:#4294cf;}.rp-icon-picker__tone-grid i.is-orange{background:#e39634;}.rp-icon-picker__tone-grid i.is-purple{background:#8a67c7;}.rp-icon-picker__tone-grid i.is-red{background:#d55a55;}.rp-icon-picker__tone-grid i.is-slate{background:#718096;}.rp-icon-picker__tone-grid i.is-teal{background:#35a69d;}.rp-icon-picker__tone-grid i.is-amber{background:#d3a12e;}
.rp-icon-picker__footer{display:flex;justify-content:flex-end;gap:8px;padding:11px 18px;border-top:1px solid #dfe8dc;background:var(--rp-surface);}
.rp-icon-picker__footer .button{display:inline-flex!important;align-items:center!important;gap:6px!important;margin:0!important;}
@media (max-width:780px){.rp-icon-picker{padding:8px;}.rp-icon-picker__dialog{width:100%;max-height:calc(100vh - 16px);border-radius:16px;}.rp-icon-picker__quick{grid-template-columns:1fr;align-items:stretch;}.rp-icon-picker__quick>span{white-space:normal;}.rp-icon-picker__upload-card{grid-template-columns:auto minmax(0,1fr);}.rp-icon-picker__upload-card .button{width:100%;}.rp-icon-picker__tones{display:grid;}.rp-icon-picker__tone-grid{justify-content:flex-start;}.rp-icon-mapping-table__head{display:none;}.rp-icon-mapping-row{grid-template-columns:minmax(0,1fr) auto;}.rp-icon-mapping-row__preview{grid-row:1/3;grid-column:2;}.rp-icon-mapping-row__choice{grid-column:1;}.rp-icon-mapping-row__actions{grid-column:1/-1;justify-content:flex-start;}.rp-icon-mapping-head-actions{width:100%;justify-content:stretch;}.rp-icon-mapping-head-actions>.button,.rp-icon-mapping-head-actions>.rp-icon-role-search{width:100%;}}
.rp-icon-studio-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:4px 0 14px;}
.rp-icon-reset-button{color:var(--rp-danger)  !important;}
.rp-icon-studio-footer .button{gap:7px  !important;}
.rp-icon-studio-preview{position:sticky;top:12px;max-height:calc(100vh - 24px);overflow:auto;padding:18px;border:1px solid rgba(174,189,175,.68);border-radius:20px;background:linear-gradient(180deg,#fff 0%,var(--rp-surface-subtle) 100%);box-shadow:var(--rp-gloss),0 18px 42px rgba(13,35,22,.11);scrollbar-width:thin;}
.rp-icon-studio-preview__head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:12px;padding:1px 1px 0;}
.rp-icon-preview-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:5px;border:1px solid var(--rp-line);border-radius:11px;background:#eef3ef;}
.rp-icon-preview-tabs button{min-height:34px  !important;padding:5px  !important;border:0  !important;border-radius:8px  !important;background:transparent  !important;box-shadow:none  !important;color:#58695e  !important;font-size:10px  !important;font-weight:850  !important;transition:background .16s ease,color .16s ease,box-shadow .16s ease  !important;}
.rp-icon-preview-tabs button.is-active{background:linear-gradient(180deg,#fff,var(--rp-surface-subtle))  !important;color:#235f29  !important;box-shadow:0 5px 13px rgba(21,59,31,.08)  !important;}
.rp-icon-preview-stage{min-height:365px;margin-top:13px;}
.rp-icon-preview-sidebar{overflow:hidden;min-height:365px;padding:16px;border-radius:16px;background:radial-gradient(circle at 18% 0,rgba(114,189,56,.18),transparent 29%),linear-gradient(180deg,#14231b,#0f1b15);box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 14px 30px rgba(7,22,13,.23);}
.rp-icon-preview-brand{display:flex;align-items:center;gap:9px;padding-bottom:13px;margin-bottom:7px;border-bottom:1px solid rgba(255,255,255,.08);}
.rp-icon-preview-brand>span .rp-ui-icon-tile{width:42px;height:42px;flex-basis:42px;border-radius:13px;}
.rp-icon-preview-brand strong,.rp-icon-preview-brand small{display:block;}
.rp-icon-preview-brand strong{color:#fff;font-size:12px;}
.rp-icon-preview-brand small{margin-top:2px;color:#8da098;font-size:8.5px;}
.rp-icon-preview-nav{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:8px;align-items:center;min-height:42px;padding:7px 9px;border-left:3px solid transparent;border-radius:8px;color:#dce6df;}
.rp-icon-preview-nav.is-active{border-left-color:#83cc43;background:linear-gradient(90deg,rgba(114,189,56,.2),rgba(36,107,37,.06));color:#fff;box-shadow:inset 0 0 0 1px rgba(128,207,70,.10);}
.rp-icon-preview-nav>span{display:grid;place-items:center;width:26px;height:26px;}
.rp-icon-preview-nav .rp-icon--emoji>span{font-size:18px;}
.rp-icon-preview-nav strong{font-size:10.5px;}
.rp-icon-preview-nav em{min-width:20px;height:20px;display:grid;place-items:center;border-radius:999px;background:#76bf3d;color:#fff;font-size:9px;font-style:normal;font-weight:900;text-shadow:0 1px 1px rgba(20,68,22,.32);}
.rp-icon-preview-sidebar>button,.rp-icon-preview-sidebar>button *{color:#fff!important;}
.rp-icon-preview-sidebar>button svg{stroke:#fff!important;}
.rp-icon-preview-modal{min-height:365px;overflow:hidden;border:1px solid rgba(174,189,175,.62);border-radius:15px;background:var(--rp-surface);box-shadow:0 13px 30px rgba(13,35,22,.13);}
.rp-icon-preview-modal__head{display:grid;grid-template-columns:38px minmax(0,1fr) 28px;gap:8px;align-items:center;padding:10px;border-bottom:1px solid #dde6df;background:linear-gradient(180deg,#fff,var(--rp-surface-subtle));}
.rp-icon-preview-modal__head>span .rp-ui-icon-tile{width:36px;height:36px;flex-basis:36px;border-radius:11px;}
.rp-icon-preview-modal__head strong{color:var(--rp-text);font-size:12px;}
.rp-icon-preview-modal__head>i{display:grid;place-items:center;width:28px;height:28px;border:1px solid #d7e0d9;border-radius:8px;background:var(--rp-surface);}
.rp-icon-preview-modal__body{display:grid;grid-template-columns:104px minmax(0,1fr);gap:8px;padding:10px;}
.rp-icon-preview-modal__body nav{display:grid;gap:3px;padding:5px;border:1px solid var(--rp-line);border-radius:10px;background:var(--rp-surface-subtle);}
.rp-icon-preview-modal__body nav>span{display:grid;grid-template-columns:23px minmax(0,1fr);gap:5px;align-items:center;min-height:31px;padding:4px 5px;border-radius:7px;color:var(--rp-muted);font-size:8.5px;font-weight:700;}
.rp-icon-preview-modal__body nav>span.is-active{background:#e9f5e3;color:var(--rp-primary-dark);}
.rp-icon-preview-modal__body nav i{display:grid;place-items:center;}
.rp-icon-preview-modal__content{display:grid;gap:6px;align-content:start;}
.rp-icon-preview-modal__content>b{color:#58695e;font-size:8px;text-transform:uppercase;letter-spacing:.05em;}
.rp-icon-preview-modal__content>div{height:42px;border:1px solid #d9e3dc;border-radius:8px;background:var(--rp-surface);}
.rp-icon-preview-care{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-content:start;min-height:365px;gap:10px;}
.rp-icon-preview-care.rp-care-cols-2{grid-template-columns:repeat(2,minmax(0,1fr));}
.rp-icon-preview-care.rp-care-cols-3{grid-template-columns:repeat(3,minmax(0,1fr));}
.rp-icon-preview-care.rp-care-cols-5{grid-template-columns:repeat(5,minmax(0,1fr));}
.rp-icon-preview-care article{min-height:142px;padding:12px 8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;border:1px solid rgba(114,189,56,.26);border-radius:14px;background:linear-gradient(155deg,#f9fff6,#e8f5e0);text-align:center;box-shadow:var(--rp-gloss),0 8px 18px rgba(36,107,37,.07);}
.rp-icon-preview-care article>span .rp-ui-icon-tile{width:50px;height:50px;flex-basis:50px;border-radius:16px;}
.rp-icon-preview-care article .rp-icon--emoji>span{font-size:34px;}
.rp-icon-preview-care strong{color:var(--rp-text);font-size:10.5px;line-height:1.25;}
.rp-icon-preview-care small{color:#5f7165;font-size:8.5px;line-height:1.4;}
.rp-icon-studio-preview__note{display:flex;align-items:center;gap:9px;margin-top:14px;padding:10px;border:1px solid rgba(114,189,56,.22);border-radius:12px;background:var(--rp-primary-soft);}
.rp-icon-studio-preview__note .rp-ui-icon-tile{width:34px;height:34px;flex-basis:34px;border-radius:11px;}
.rp-icon-studio-preview__note strong,.rp-icon-studio-preview__note span{display:block;}
.rp-icon-studio-preview__note strong{color:var(--rp-primary-dark);font-size:10.5px;}
.rp-icon-studio-preview__note span{margin-top:2px;color:#5a6d5f;font-size:8.5px;line-height:1.35;}
@media (max-width:1500px){.rp-icon-studio-layout{grid-template-columns:minmax(0,1fr) minmax(330px,360px);}
.rp-icon-preview-care{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
.rp-icon-library-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
.rp-icon-placement-grid{grid-template-columns:1fr;}
.rp-consideration-editor__row{grid-template-columns:24px 52px minmax(240px,1fr) 82px 96px minmax(160px,auto);}
}
@media (max-width:1180px){.rp-icon-studio-layout{grid-template-columns:1fr;}
.rp-icon-studio-preview{position:relative;top:auto;max-height:none;overflow:visible;}
.rp-consideration-editor__row{grid-template-columns:24px 52px minmax(0,1fr) 80px 94px;}.rp-consideration-editor__actions{grid-column:3/-1;justify-content:flex-start;}
body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="task"] .dsrv-obs-checks--grid{grid-template-columns:repeat(2,minmax(0,1fr))  !important;}}
@media (max-width:960px){
.rp-icon-mapping-table{overflow:visible;}
.rp-consideration-editor__row{grid-template-columns:24px 52px minmax(0,1fr) 80px;}
.rp-consideration-editor__tone{grid-column:auto;}.rp-consideration-editor__actions{grid-column:3/-1;justify-content:flex-start;}}
@media (max-width:700px){.rp-icon-library-grid{grid-template-columns:1fr;}
.rp-icon-preview-care,.rp-icon-preview-care.rp-care-cols-2,.rp-icon-preview-care.rp-care-cols-3,.rp-icon-preview-care.rp-care-cols-4,.rp-icon-preview-care.rp-care-cols-5{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
.rp-icon-placement-row{grid-template-columns:40px minmax(0,1fr);}
.rp-icon-placement-row__select{grid-column:1/-1;}
.rp-consideration-editor__row{grid-template-columns:24px 48px minmax(0,1fr);align-items:start;}
.rp-consideration-editor__fields{grid-column:3;grid-template-columns:1fr;}
.rp-consideration-editor__order,.rp-consideration-editor__tone,.rp-consideration-editor__actions{grid-column:3;}
.rp-icon-studio-card__head{display:grid;}
.rp-icon-role-search{min-width:0;width:100%;}
.rp-icon-studio-footer{display:grid;grid-template-columns:1fr;}
.rp-icon-studio-footer .button{width:100%;}
.rp-emp-ui .rp-emp-care-grid{grid-template-columns:repeat(2,minmax(0,1fr))  !important;}}
@media (max-width:600px){
body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="task"] .dsrv-obs-checks--grid{grid-template-columns:1fr  !important;}
body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="task"] .dsrv-check-chip--obs{min-height:128px  !important;}
.rp-icon-studio-card{padding:14px;}
}
/*Portable company profile: same premium settings language as Icon Studio.*/
.dsrv.rp-ui .rp-company-settings-grid{align-items:start;gap:16px  !important;}
.dsrv.rp-ui .dsrv-field--span-2{grid-column:1/-1;}
.dsrv.rp-ui .rp-company-logo-picker{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;}
.dsrv.rp-ui .rp-company-logo-picker>.button{min-height:44px  !important;display:inline-flex  !important;align-items:center  !important;justify-content:center  !important;gap:8px  !important;white-space:nowrap  !important;}
.dsrv.rp-ui .rp-company-settings-status{display:flex;align-items:center;gap:12px;margin:16px 0 4px;padding:14px 15px;border:1px solid rgba(114,189,56,.28);border-radius:15px;background:linear-gradient(110deg,#f1f9ed,var(--rp-surface-subtle));box-shadow:var(--rp-gloss),0 8px 18px rgba(36,107,37,.06);}
.dsrv.rp-ui .rp-company-settings-status>.rp-ui-icon-tile{width:42px;height:42px;flex-basis:42px;border-radius:13px;}
.dsrv.rp-ui .rp-company-settings-status>div{min-width:0;}
.dsrv.rp-ui .rp-company-settings-status strong,.dsrv.rp-ui .rp-company-settings-status span{display:block;}
.dsrv.rp-ui .rp-company-settings-status strong{color:var(--rp-text);font-size:13px;font-weight:850;}
.dsrv.rp-ui .rp-company-settings-status span{margin-top:3px;color:#5a6d5f;font-size:11px;line-height:1.5;}
@media (max-width:700px){.dsrv.rp-ui .rp-company-logo-picker{grid-template-columns:1fr;}
.dsrv.rp-ui .rp-company-logo-picker>.button{width:100%;}
.dsrv.rp-ui .dsrv-field--span-2{grid-column:auto;}}
/*======================================================================
   SHARED MODAL DOMAIN PANELS — one modal engine, premium business views
   Workday and timebank content are rendered inside the canonical
   .rp-ui-modal shell. There is no secondary backdrop, card or close engine.
   ======================================================================*/
body>.dsrv-modal.rp-ui-modal:has(#rp-workday-editor) .dsrv-modal-card{width:min(1120px,calc(100vw - 42px))  !important;max-width:1120px  !important;}
body>.dsrv-modal.rp-ui-modal:has(#rp-timebank-editor) .dsrv-modal-card{width:min(850px,calc(100vw - 42px))  !important;max-width:850px  !important;}
body>.dsrv-modal.rp-ui-modal:has(#rp-workday-editor) .rp-ui-modal__body,body>.dsrv-modal.rp-ui-modal:has(#rp-timebank-editor) .rp-ui-modal__body{padding:18px 20px 20px  !important;background:linear-gradient(180deg,var(--rp-surface),var(--rp-surface-subtle))!important;}
.rp-workday-editor,.rp-timebank-editor{display:grid;gap:14px;min-width:0;color:var(--rp-text);}
.rp-workday-editor>*,.rp-timebank-editor>*{min-width:0;}
.rp-workday-editor .notice{margin:0  !important;border:1px solid rgba(232,126,24,.28)  !important;border-left:4px solid var(--rp-orange)  !important;border-radius:14px  !important;background:linear-gradient(130deg,#fffaf1,#fff)  !important;box-shadow:var(--rp-gloss),0 7px 18px rgba(139,74,12,.06)  !important;}
.rp-workday-editor .notice p{margin:0  !important;color:#70410d  !important;font-size:12px  !important;line-height:1.5  !important;}
.rp-workday-editor .notice strong{color:#572f06  !important;}
.rp-workday-editor .dsrv-workday-typebar{display:grid  !important;grid-template-columns:repeat(6,minmax(0,1fr))  !important;gap:8px  !important;margin:0  !important;padding:8px  !important;border:1px solid var(--rp-line)  !important;border-radius:17px  !important;background:linear-gradient(180deg,#eef5eb,var(--rp-surface-subtle))  !important;box-shadow:var(--rp-gloss),0 8px 20px rgba(13,35,22,.05)  !important;}
.rp-workday-editor .dsrv-workday-typebar button{display:flex  !important;align-items:center  !important;justify-content:center  !important;gap:7px  !important;min-height:44px  !important;width:100%  !important;padding:8px 9px  !important;border:1px solid transparent  !important;border-radius:12px  !important;background:transparent  !important;color:#385044  !important;font-size:10.5px  !important;font-weight:850  !important;line-height:1.15  !important;box-shadow:none  !important;transition:transform .16s ease,border-color .16s ease,background .16s ease,color .16s ease,box-shadow .16s ease  !important;}
.rp-workday-editor .dsrv-workday-typebar button:hover{transform:translateY(-1px)  !important;border-color:#c4d6c7  !important;background:var(--rp-surface)  !important;color:var(--rp-primary-dark)  !important;box-shadow:0 7px 15px rgba(13,35,22,.07)  !important;}
.rp-workday-editor .dsrv-workday-typebar .rp-icon{width:18px  !important;height:18px  !important;}
.rp-workday-editor .dsrv-workday-form-grid{display:grid  !important;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr)  !important;gap:13px  !important;align-items:start  !important;}
.rp-workday-editor .dsrv-workday-section{position:relative  !important;overflow:hidden  !important;padding:16px  !important;border:1px solid rgba(174,189,175,.62)  !important;border-radius:18px  !important;background:linear-gradient(165deg,#fff 0%,var(--rp-surface-subtle) 58%,#f2f8ee 100%)  !important;box-shadow:var(--rp-gloss),0 10px 25px rgba(13,35,22,.06)  !important;}
.rp-workday-editor .dsrv-workday-section::after{content:"";position:absolute;right:-44px;bottom:-55px;width:120px;height:120px;border-radius:50%;background:radial-gradient(circle,rgba(114,189,56,.12),rgba(114,189,56,0) 70%);pointer-events:none;}
.rp-workday-editor .dsrv-workday-section h3{position:relative;z-index:1;display:flex  !important;align-items:center  !important;gap:8px  !important;margin:0 0 13px  !important;padding-bottom:11px  !important;border-bottom:1px solid #e6ede7  !important;color:#2d5931  !important;font-size:11px  !important;font-weight:900  !important;letter-spacing:.065em  !important;line-height:1.2  !important;text-transform:uppercase  !important;}
.rp-workday-editor .dsrv-workday-section h3>.rp-icon{width:18px  !important;height:18px  !important;}
.rp-workday-editor .dsrv-workday-fields{position:relative;z-index:1;display:grid  !important;gap:10px  !important;}
.rp-workday-editor .dsrv-workday-fields--time{grid-template-columns:repeat(2,minmax(0,1fr))  !important;}
.rp-workday-editor .dsrv-workday-section label,.rp-workday-editor .dsrv-workday-adjust-row{position:relative;z-index:1;}
.rp-workday-editor .dsrv-workday-section label{display:grid  !important;gap:6px  !important;margin:0  !important;color:#53655a  !important;font-size:9.5px  !important;font-weight:900  !important;letter-spacing:.07em  !important;text-transform:uppercase  !important;}
.rp-workday-editor .dsrv-workday-section input,.rp-workday-editor .dsrv-workday-section select{width:100%  !important;max-width:none  !important;min-height:43px  !important;margin:0  !important;padding:9px 11px  !important;border:1px solid var(--rp-line)  !important;border-radius:11px  !important;background:var(--rp-surface)  !important;color:var(--rp-text)  !important;font-size:12px  !important;font-weight:720  !important;letter-spacing:0  !important;text-transform:none  !important;box-shadow:inset 0 1px 2px rgba(10,35,18,.025)  !important;transition:border-color .15s ease,box-shadow .15s ease  !important;}
.rp-workday-editor .dsrv-workday-section input:focus,.rp-workday-editor .dsrv-workday-section select:focus,.rp-workday-editor .dsrv-workday-section textarea:focus{border-color:#77b95a  !important;box-shadow:var(--rp-focus)  !important;outline:0  !important;}
.rp-workday-editor .dsrv-workday-section textarea{width:100%  !important;max-width:none  !important;margin:0  !important;padding:9px 11px  !important;border:1px solid var(--rp-line)  !important;border-radius:11px  !important;background:var(--rp-surface)  !important;color:var(--rp-text)  !important;font-size:12px  !important;font-weight:720  !important;letter-spacing:0  !important;text-transform:none  !important;box-shadow:inset 0 1px 2px rgba(10,35,18,.025)  !important;transition:border-color .15s ease,box-shadow .15s ease  !important;min-height:126px  !important;resize:vertical  !important;line-height:1.5  !important;}
.rp-workday-editor .dsrv-workday-section--note{grid-column:1  !important;}
.rp-workday-editor .dsrv-workday-section--result{grid-column:2  !important;grid-row:1 / span 3  !important;}
.rp-workday-editor .dsrv-workday-adjust-row{display:grid  !important;grid-template-columns:112px minmax(90px,1fr) auto  !important;gap:8px  !important;align-items:center  !important;}
.rp-workday-editor .dsrv-workday-adjust-row>span{color:var(--rp-muted)  !important;font-size:10px  !important;font-weight:850  !important;white-space:nowrap  !important;}
.rp-workday-editor .dsrv-workday-minihelp,.rp-workday-editor .dsrv-workday-help,.rp-workday-editor .dsrv-muted{color:#64746a  !important;font-size:10.5px  !important;font-weight:600  !important;line-height:1.5  !important;}
.rp-workday-editor .dsrv-workday-sessions{display:grid;gap:8px;margin-top:11px;}
.rp-workday-editor [data-workday-session-row]{display:grid;grid-template-columns:minmax(100px,1fr) minmax(100px,1fr) auto auto;gap:8px;align-items:end;padding:10px;border:1px solid var(--rp-line);border-radius:13px;background:rgba(255,255,255,.82);}
.rp-workday-editor [data-workday-session-row] [data-session-duration]{align-self:center;min-width:54px;color:#2d6830;font-size:10px;font-weight:850;text-align:center;}
.rp-workday-editor [data-workday-remove-session]{display:grid  !important;place-items:center  !important;width:36px  !important;height:36px  !important;min-height:36px  !important;padding:0  !important;border-radius:10px  !important;}
.rp-workday-editor .dsrv-workday-add-session{display:inline-flex  !important;align-items:center  !important;gap:7px  !important;width:max-content  !important;margin-top:10px  !important;border-color:#b9d6ae  !important;background:color-mix(in srgb,var(--rp-primary) 6%,var(--rp-surface) 94%)  !important;color:#285f27  !important;}
.rp-workday-editor .dsrv-workday-access-log,.rp-workday-editor .dsrv-workday-home-control{display:grid;gap:6px;margin-top:11px;padding:11px 12px;border:1px solid var(--rp-line);border-radius:13px;background:var(--rp-surface-subtle);color:#5a6b60;font-size:10px;line-height:1.45;}
.rp-workday-editor .dsrv-workday-access-log>strong,.rp-workday-editor .dsrv-workday-home-control>strong{color:#284b30;font-size:10.5px;}
.rp-workday-editor .dsrv-workday-access-log>span{display:block;padding-top:5px;border-top:1px solid #e7eee8;}
.rp-workday-editor .dsrv-workday-result-list{position:relative;z-index:1;display:grid  !important;grid-template-columns:repeat(2,minmax(0,1fr))  !important;gap:9px  !important;}
.rp-workday-editor .dsrv-workday-result{display:grid  !important;align-content:center  !important;gap:5px  !important;min-height:76px  !important;padding:12px  !important;border:1px solid var(--rp-line)  !important;border-radius:14px  !important;background:rgba(255,255,255,.94)  !important;box-shadow:0 5px 12px rgba(13,35,22,.035)  !important;}
.rp-workday-editor .dsrv-workday-result>span{color:var(--rp-muted)  !important;font-size:8.5px  !important;font-weight:900  !important;letter-spacing:.06em  !important;text-transform:uppercase  !important;}
.rp-workday-editor .dsrv-workday-result>strong{color:var(--rp-text)!important;font-size:18px  !important;font-weight:900  !important;line-height:1.05  !important;white-space:normal  !important;}
.rp-workday-editor .dsrv-workday-result--final{grid-column:1/-1  !important;min-height:86px  !important;border-color:#b9dcae  !important;background:linear-gradient(135deg,#f3fbed,#e5f4dc)  !important;box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 9px 20px rgba(36,107,37,.08)  !important;}
.rp-workday-editor .dsrv-workday-result--final>strong{font-size:23px  !important;}
.rp-workday-editor .is-plus{color:#21822a  !important;}
.rp-workday-editor .is-minus{color:#c53737  !important;}
.rp-workday-editor>.dsrv-workday-help{margin:0  !important;padding:11px 13px  !important;border:1px solid var(--rp-line)  !important;border-radius:13px  !important;background:var(--rp-surface-subtle)  !important;}
.rp-timebank-balance{display:flex;align-items:center;gap:12px;padding:14px 15px;border:1px solid rgba(114,189,56,.28);border-radius:16px;background:linear-gradient(125deg,#edf8e7,var(--rp-surface-subtle));box-shadow:var(--rp-gloss),0 9px 21px rgba(36,107,37,.07);}
.rp-timebank-balance>span{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;border-radius:14px;background:linear-gradient(145deg,#ffca55,#d69208);color:#5d3700;box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 8px 17px rgba(169,105,5,.16);}
.rp-timebank-balance small,.rp-timebank-balance strong{display:block;}
.rp-timebank-balance small{color:#617168;font-size:9px;font-weight:900;letter-spacing:.07em;text-transform:uppercase;}
.rp-timebank-balance strong{margin-top:3px;color:#174d1f;font-size:23px;font-weight:900;line-height:1;}
.rp-timebank-feedback{display:flex;align-items:center;gap:9px;padding:10px 12px;border:1px solid #c9d9cc;border-radius:12px;background:var(--rp-surface-subtle);color:#405447;font-size:11px;font-weight:700;}
.rp-timebank-feedback.is-success{border-color:#add6a7;background:#eef9e9;color:#245e28;}
.rp-timebank-feedback.is-warning{border-color:#efcf8c;background:#fff9e9;color:#6b4d08;}
.rp-timebank-edit-warning{display:flex;align-items:flex-start;gap:10px;padding:12px 13px;border:1px solid #efcf8c;border-radius:14px;background:linear-gradient(120deg,#fff8e6,#fffdf8);color:#6b4d08;box-shadow:var(--rp-gloss),0 7px 16px rgba(121,79,7,.05);}
.rp-timebank-edit-warning>span{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;border-radius:11px;background:#ffedb8;color:#845800;}
.rp-timebank-edit-warning strong,.rp-timebank-edit-warning small{display:block;}
.rp-timebank-edit-warning strong{color:#5b3e00;font-size:11.5px;}
.rp-timebank-edit-warning small{margin-top:3px;color:#76591a;font-size:10px;line-height:1.45;}
.rp-timebank-choice{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:0;padding:0;border:0;}
.rp-timebank-choice>legend{grid-column:1/-1;margin:0 0 1px;color:#4a5c51;font-size:9px;font-weight:900;letter-spacing:.075em;text-transform:uppercase;}
.rp-timebank-choice>label{position:relative;margin:0;cursor:pointer;}
.rp-timebank-choice input{position:absolute;opacity:0;pointer-events:none;}
.rp-timebank-choice label>span{display:grid;grid-template-columns:36px minmax(0,1fr);grid-template-rows:auto auto;column-gap:10px;align-items:center;min-height:67px;padding:10px 12px;border:1px solid #d6e1d8;border-radius:14px;background:var(--rp-surface);box-shadow:var(--rp-gloss),0 6px 15px rgba(13,35,22,.04);transition:border-color .15s ease,background .15s ease,box-shadow .15s ease,transform .15s ease;}
.rp-timebank-choice label>span>.rp-icon{grid-row:1/3;display:grid  !important;place-self:center;width:25px  !important;height:25px  !important;}
.rp-timebank-choice label>span>b{align-self:end;color:#253c2c;font-size:11.5px;}
.rp-timebank-choice label>span>small{align-self:start;color:#6c7a71;font-size:9.5px;}
.rp-timebank-choice label:hover>span{transform:translateY(-1px);border-color:#a9c8a2;box-shadow:0 10px 20px rgba(13,35,22,.075);}
.rp-timebank-choice input:checked+span{border-color:#60a845;background:linear-gradient(145deg,#f3faef,#e7f4df);box-shadow:0 0 0 3px rgba(114,189,56,.14),var(--rp-gloss);}
.rp-timebank-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}
.rp-timebank-grid label{display:grid;gap:6px;margin:0;color:#53655a;font-size:9px;font-weight:900;letter-spacing:.07em;text-transform:uppercase;}
.rp-timebank-grid label.is-wide{grid-column:1/-1;}
.rp-timebank-grid input{width:100%  !important;max-width:none  !important;min-height:43px  !important;margin:0  !important;padding:9px 11px  !important;border:1px solid var(--rp-line)  !important;border-radius:11px  !important;background:var(--rp-surface)  !important;color:var(--rp-text)  !important;font-size:12px  !important;font-weight:720  !important;letter-spacing:0  !important;text-transform:none  !important;box-shadow:inset 0 1px 2px rgba(10,35,18,.025)  !important;}
.rp-timebank-grid textarea{width:100%  !important;max-width:none  !important;margin:0  !important;padding:9px 11px  !important;border:1px solid var(--rp-line)  !important;border-radius:11px  !important;background:var(--rp-surface)  !important;color:var(--rp-text)  !important;font-size:12px  !important;font-weight:720  !important;letter-spacing:0  !important;text-transform:none  !important;box-shadow:inset 0 1px 2px rgba(10,35,18,.025)  !important;min-height:90px  !important;resize:vertical  !important;line-height:1.5  !important;}
.rp-timebank-grid input:focus,.rp-timebank-grid textarea:focus{border-color:#77b95a  !important;box-shadow:var(--rp-focus)  !important;outline:0  !important;}
.rp-timebank-result{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px;border:1px solid #d9e5da;border-radius:16px;background:linear-gradient(180deg,#f5f9f3,var(--rp-primary-soft));}
.rp-timebank-result>div{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:52px;padding:10px 11px;border:1px solid rgba(203,216,206,.8);border-radius:12px;background:var(--rp-surface);}
.rp-timebank-result>div>span{color:var(--rp-muted);font-size:9px;font-weight:900;letter-spacing:.055em;text-transform:uppercase;}
.rp-timebank-result>div>strong{color:#1f5225;font-size:15px;font-weight:900;white-space:nowrap;}
.rp-timebank-result>div.is-total{grid-column:1/-1;min-height:62px;border-color:#b3d7aa;background:linear-gradient(140deg,#eff9e9,#ddf0d3);}
.rp-timebank-result>div.is-total>strong{font-size:21px;}
.rp-timebank-help{margin:0;padding:10px 12px;border:1px solid var(--rp-line);border-radius:12px;background:var(--rp-surface-subtle);color:#68776e;font-size:10px;line-height:1.5;}
.rp-inline-modal-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;padding-top:13px;border-top:1px solid #dfe7e1;}
.rp-inline-modal-actions .button{display:inline-flex  !important;align-items:center  !important;justify-content:center  !important;gap:7px  !important;min-height:41px  !important;margin:0  !important;padding:0 15px  !important;border-radius:11px  !important;font-size:10.5px  !important;font-weight:850  !important;}
.rp-inline-modal-actions .button-primary.is-danger{border-color:#a72f2f  !important;background:linear-gradient(145deg,#df5c5c,#a72525)  !important;box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 9px 18px rgba(167,37,37,.17)  !important;}
.rp-confirm-card{display:grid;grid-template-columns:56px minmax(0,1fr);gap:13px;align-items:start;padding:16px;border:1px solid #ecd69c;border-radius:17px;background:linear-gradient(135deg,var(--rp-warning-soft),var(--rp-surface));box-shadow:var(--rp-gloss),0 10px 24px rgba(104,70,8,.07);}
.rp-confirm-card__icon{display:grid;place-items:center;}
.rp-confirm-card__icon>.rp-ui-icon-tile{width:52px;height:52px;flex-basis:52px;border-radius:16px;}
.rp-confirm-card h3{margin:2px 0 6px;color:#573806;font-size:16px;line-height:1.2;}
.rp-confirm-card p{margin:0;color:#755a22;font-size:11px;line-height:1.55;}
@media (max-width:980px){.rp-workday-editor .dsrv-workday-typebar{grid-template-columns:repeat(3,minmax(0,1fr))  !important;}
.rp-workday-editor .dsrv-workday-form-grid{grid-template-columns:1fr  !important;}
.rp-workday-editor .dsrv-workday-section--note,.rp-workday-editor .dsrv-workday-section--result{grid-column:auto  !important;grid-row:auto  !important;}
.rp-workday-editor .dsrv-workday-result-list{grid-template-columns:repeat(3,minmax(0,1fr))  !important;}
.rp-workday-editor .dsrv-workday-result--final{grid-column:span 2  !important;}}
@media (max-width:700px){body>.dsrv-modal.rp-ui-modal:has(#rp-workday-editor) .rp-ui-modal__body,body>.dsrv-modal.rp-ui-modal:has(#rp-timebank-editor) .rp-ui-modal__body{padding:13px  !important;}
.rp-workday-editor .dsrv-workday-typebar{grid-template-columns:repeat(2,minmax(0,1fr))  !important;}
.rp-workday-editor .dsrv-workday-fields--time,.rp-workday-editor .dsrv-workday-result-list,.rp-timebank-choice,.rp-timebank-grid,.rp-timebank-result{grid-template-columns:1fr  !important;}
.rp-workday-editor .dsrv-workday-result--final,.rp-timebank-result>div.is-total{grid-column:auto  !important;}
.rp-workday-editor [data-workday-session-row]{grid-template-columns:1fr 1fr;}
.rp-workday-editor [data-workday-session-row] [data-session-duration],.rp-workday-editor [data-workday-remove-session]{align-self:center;}
.rp-timebank-grid label.is-wide{grid-column:auto;}
.rp-inline-modal-actions{display:grid;grid-template-columns:1fr;}
.rp-inline-modal-actions .button{width:100%  !important;}}
@media (max-width:460px){.rp-workday-editor .dsrv-workday-typebar{grid-template-columns:1fr  !important;}
.rp-workday-editor .dsrv-workday-adjust-row,.rp-workday-editor [data-workday-session-row]{grid-template-columns:1fr  !important;}
.rp-confirm-card{grid-template-columns:1fr;text-align:center;}
.rp-confirm-card__icon{justify-self:center;}}
/*Shared premium typed-confirmation content.*/
.rp-prompt-card{display:grid;gap:14px;padding:16px;border:1px solid #ecd69c;border-radius:17px;background:linear-gradient(135deg,var(--rp-warning-soft),var(--rp-surface));box-shadow:var(--rp-gloss),0 10px 24px rgba(104,70,8,.07);}
.rp-prompt-card__copy{display:grid;grid-template-columns:48px minmax(0,1fr);gap:12px;align-items:start;}
.rp-prompt-card__copy>.rp-ui-icon-tile{width:46px;height:46px;flex-basis:46px;border-radius:14px;}
.rp-prompt-card h3{margin:2px 0 6px;color:#573806;font-size:16px;line-height:1.2;}
.rp-prompt-card p{margin:0;color:#755a22;font-size:11px;line-height:1.55;}
.rp-prompt-card label{display:grid;gap:6px;color:#5d491e;font-size:9.5px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;}
.rp-prompt-card input{width:100%  !important;max-width:none  !important;min-height:45px  !important;margin:0  !important;border:1px solid #d8bd78  !important;border-radius:11px  !important;background:var(--rp-surface)  !important;color:#372504  !important;font-size:13px  !important;font-weight:800  !important;letter-spacing:.02em  !important;text-transform:none  !important;box-shadow:inset 0 1px 2px rgba(61,41,4,.04)  !important;}
.rp-prompt-card input:focus{border-color:#bd8217  !important;box-shadow:0 0 0 4px rgba(215,166,23,.18)  !important;outline:0  !important;}
.rp-prompt-card>small{color:#76591a;font-size:10px;line-height:1.45;}
@media (max-width:460px){.rp-prompt-card__copy{grid-template-columns:1fr;text-align:center;}
.rp-prompt-card__copy>.rp-ui-icon-tile{justify-self:center;}}
.rp-addon-validation-message{display:flex;align-items:center;gap:9px;margin:0 0 12px;padding:11px 13px;border:1px solid rgba(216,66,66,.28);border-left:4px solid var(--rp-red);border-radius:13px;background:linear-gradient(120deg,#fff3f3,#fff);color:#8b2525;box-shadow:var(--rp-gloss),0 7px 16px rgba(119,25,25,.06);}
.rp-addon-validation-message>span{display:grid;place-items:center;width:32px;height:32px;flex:0 0 32px;border-radius:10px;background:var(--rp-red-soft);color:var(--rp-red);}
.rp-addon-validation-message>strong{font-size:11px;line-height:1.45;}
.rp-backup-inline-message{display:flex;align-items:center;gap:9px;margin:0 0 12px;padding:11px 13px;border:1px solid var(--rp-line);border-left:4px solid var(--rp-blue);border-radius:13px;background:linear-gradient(120deg,#f1f8fc,#fff);color:#24546d;box-shadow:var(--rp-gloss),0 7px 16px rgba(25,89,122,.05);}
.rp-backup-inline-message.is-error{border-color:rgba(216,66,66,.28);border-left-color:var(--rp-red);background:linear-gradient(120deg,#fff3f3,#fff);color:#8b2525;}
.rp-backup-inline-message>span{display:grid;place-items:center;width:32px;height:32px;flex:0 0 32px;border-radius:10px;background:var(--rp-blue-soft);color:var(--rp-blue);}
.rp-backup-inline-message.is-error>span{background:var(--rp-red-soft);color:var(--rp-red);}
.rp-backup-inline-message>strong{font-size:11px;line-height:1.45;}
.dsrv-admin-toast{position:fixed;right:18px;bottom:18px;z-index:100000;display:none;padding:11px 13px  !important;background:linear-gradient(145deg,#25332a,#101b14)  !important;color:#fff;font-weight:600;line-height:1.4;max-width:min(420px,calc(100vw - 24px));border:1px solid rgba(255,255,255,.12)  !important;border-radius:14px  !important;box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 20px 48px rgba(6,22,11,.28)  !important;font-size:11px  !important;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:10px;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);}
.dsrv-admin-toast.is-visible{display:grid  !important;animation:rp-toast-in .18s ease-out both;}
.dsrv-admin-toast.is-success{background:linear-gradient(145deg,#34882e,#1d5a24)  !important;}
.dsrv-admin-toast.is-error{background:linear-gradient(145deg,#c44747,#842424)  !important;}
.dsrv-admin-toast.is-warning{background:linear-gradient(145deg,#d89018,#925b07)  !important;}
.dsrv-admin-toast__icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:rgba(255,255,255,.16);color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.16);}
.dsrv-admin-toast__text{min-width:0;color:#fff;font-size:11px;font-weight:750;line-height:1.45;}
@keyframes rp-toast-in{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}
/* Employee modal domain content.
   The visual shell/backdrop/header/footer/focus/Escape behavior is owned by the
   same .rp-ui-modal engine used by Admin. Employee only supplies domain content. */
body>.dsrv-modal.rp-ui-modal.is-employee-modal{z-index:100080  !important;}

body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-ui-modal__foot{padding-bottom:calc(14px + env(safe-area-inset-bottom));}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-employee-modal-content{display:grid;gap:13px;min-width:0;color:var(--rp-text);}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-employee-modal-content>*{min-width:0;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-emp-route-update-copy{display:grid;gap:8px;padding:16px;border:1px solid var(--rp-info-line);border-radius:18px;background:linear-gradient(135deg,var(--rp-info-soft),var(--rp-surface));box-shadow:var(--rp-gloss),0 10px 24px rgba(29,96,132,.07);}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-emp-route-update-copy p{margin:0;color:var(--rp-info);font-size:12px;font-weight:720;line-height:1.55;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-emp-route-update-copy small{display:inline-flex;justify-self:start;padding:5px 8px;border-radius:999px;background:var(--rp-info-soft);color:var(--rp-info);font-size:9px;font-weight:900;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-emp-cal-modal__stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-emp-cal-modal__stats>div{min-width:0;padding:12px;border:1px solid var(--rp-line);border-radius:14px;background:linear-gradient(160deg,var(--rp-surface),var(--rp-surface-subtle));box-shadow:var(--rp-gloss);}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-emp-cal-modal__stats span,body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-emp-cal-modal__stats strong{display:block;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-emp-cal-modal__stats span{margin-bottom:4px;color:var(--rp-muted);font-size:8.5px;font-weight:900;letter-spacing:.065em;text-transform:uppercase;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-emp-cal-modal__stats strong{overflow-wrap:anywhere;color:var(--rp-primary-dark);font-size:13px;font-weight:900;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-emp-cal-modal__stats strong.is-plus{color:var(--rp-success);}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-emp-cal-modal__stats strong.is-minus{color:var(--rp-danger);}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-emp-cal-modal__calc{display:grid;gap:4px;margin:11px 0;padding:12px;border:1px solid var(--rp-info-line);border-radius:14px;background:linear-gradient(135deg,var(--rp-info-soft),var(--rp-surface));}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-emp-cal-modal__calc strong{color:var(--rp-info);font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.05em;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-emp-cal-modal__calc span{color:var(--rp-muted);font-size:10.5px;line-height:1.5;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-emp-cal-session-list{display:grid;gap:8px;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-emp-cal-session{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;border:1px solid var(--rp-line);border-radius:13px;background:var(--rp-surface);box-shadow:var(--rp-gloss);}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-emp-cal-session span{color:var(--rp-muted);font-size:10.5px;font-weight:700;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-emp-cal-session strong{color:var(--rp-primary-dark);font-size:11px;font-weight:900;white-space:nowrap;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-emp-pest-dialog-body{display:grid;gap:13px;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-emp-pest-modal__img{display:block;width:100%;max-height:280px;object-fit:cover;border:1px solid var(--rp-line);border-radius:17px;background:var(--rp-surface-subtle);box-shadow:var(--rp-gloss),0 12px 28px rgba(17,52,25,.08);}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-emp-pest-prices{display:flex;flex-wrap:wrap;gap:7px;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-emp-pest-prices span{display:inline-flex;align-items:center;min-height:30px;padding:6px 10px;border:1px solid var(--rp-line);border-radius:999px;background:linear-gradient(145deg,var(--rp-primary-soft),var(--rp-surface));color:var(--rp-primary-dark);font-size:9.5px;font-weight:900;box-shadow:var(--rp-gloss);}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-emp-pest-modal__texts{display:grid;gap:9px;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-emp-pest-modal__texts section{padding:13px;border:1px solid var(--rp-line);border-radius:15px;background:linear-gradient(160deg,var(--rp-surface),var(--rp-surface-subtle));box-shadow:var(--rp-gloss);}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-emp-pest-modal__texts h3{margin:0 0 6px;color:var(--rp-text);font-size:11px;font-weight:900;letter-spacing:.025em;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-emp-pest-modal__texts p{margin:0;color:var(--rp-muted);font-size:10.5px;line-height:1.55;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-emp-note{margin-top:10px;padding:13px;border:1px solid var(--rp-warning-line);border-radius:14px;background:linear-gradient(135deg,var(--rp-warning-soft),var(--rp-surface));}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-emp-note strong{display:block;margin-bottom:5px;color:var(--rp-warning-text);font-size:10px;font-weight:900;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-emp-note p{margin:0;color:var(--rp-warning-text);font-size:10.5px;line-height:1.5;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-emp-empty-mini{padding:16px;border:1px dashed color-mix(in srgb,var(--rp-primary) 34%,var(--rp-line) 66%);border-radius:16px;background:color-mix(in srgb,var(--rp-primary) 5%,var(--rp-surface) 95%);color:var(--rp-muted);text-align:center;font-size:11px;}
@media (max-width:430px){body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-emp-cal-modal__stats{grid-template-columns:1fr;}}
@media (max-width:782px){.dsrv-admin-toast{left:12px;right:12px;bottom:12px;max-width:none;}}
/*Premium semantic identity rows inside the canonical task/report modal.*/
body>.dsrv-modal.rp-ui-modal .dsrv-customer-unified-head{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:start!important;gap:10px!important;margin:0 0 12px!important;padding:0 0 12px!important;border:0!important;border-bottom:1px solid var(--rp-line)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;}
body>.dsrv-modal.rp-ui-modal .dsrv-customer-unified-head__icon{display:flex;align-items:center;justify-content:center;}
body>.dsrv-modal.rp-ui-modal .dsrv-customer-unified-head__copy{display:flex;flex-direction:column;gap:3px;min-width:0;}
body>.dsrv-modal.rp-ui-modal .dsrv-customer-unified-head__copy>strong{font-size:12px  !important;line-height:1.25  !important;color:var(--rp-text)!important;}
body>.dsrv-modal.rp-ui-modal .dsrv-customer-unified-head__copy>span{font-size:10.5px  !important;line-height:1.45  !important;color:var(--rp-muted)!important;}
body>.dsrv-modal.rp-ui-modal .dsrv-admin-billing-card__identity{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:12px;min-width:0;}
body>.dsrv-modal.rp-ui-modal .dsrv-admin-billing-card__icon{display:flex;align-items:center;justify-content:center;margin-top:1px;}
body>.dsrv-modal.rp-ui-modal .dsrv-admin-billing-card__copy{min-width:0;}
@media (max-width:720px){body>.dsrv-modal.rp-ui-modal .dsrv-admin-billing-card__identity{grid-template-columns:1fr;}
body>.dsrv-modal.rp-ui-modal .dsrv-admin-billing-card__icon{justify-content:flex-start;}}
/* Canonical core component geometry. */
.dsrv.rp-ui button,.dsrv.rp-ui input,.dsrv.rp-ui select,.dsrv.rp-ui textarea{font:inherit;}
.dsrv.rp-ui .rp-icon{display:block;flex:none;stroke:currentColor;vector-effect:non-scaling-stroke;}
.dsrv.rp-ui .rp-ui-icon-tile{display:inline-grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:10px;color:var(--rp-primary-dark);background:var(--rp-primary-soft);border:1px solid color-mix(in srgb,var(--rp-primary) 22%,var(--rp-line) 78%);}
.dsrv.rp-ui .rp-ui-icon-tile.is-blue{color:var(--rp-info);background:var(--rp-info-soft);border-color:var(--rp-info-line);}
.dsrv.rp-ui .rp-ui-icon-tile.is-orange{color:var(--rp-warning);background:var(--rp-warning-soft);border-color:var(--rp-warning-line);}
.dsrv.rp-ui .rp-ui-icon-tile.is-purple{color:var(--rp-info);background:var(--rp-info-soft);border-color:var(--rp-info-line);}
.dsrv.rp-ui .rp-ui-icon-tile.is-red{color:var(--rp-danger);background:var(--rp-danger-soft);border-color:var(--rp-danger-line);}
.dsrv.rp-ui .rp-ui-icon-tile.is-slate{color:var(--rp-neutral);background:var(--rp-neutral-soft);border-color:color-mix(in srgb,var(--rp-neutral) 28%,var(--rp-line) 72%);}
.dsrv.rp-ui .dsrv-sidebar .dsrv-tab.is-active .rp-ui-icon-tile{box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 5px 14px rgba(0,0,0,.16);border-color:color-mix(in srgb,var(--rp-primary) 18%,transparent);}
.dsrv.rp-ui .dsrv-sidebar-focus .dsrv-h3,.dsrv.rp-ui .dsrv-sidebar-help .dsrv-h3{margin:0 0 9px;color:var(--rp-sidebar-muted);font-size:9px;line-height:1.2;font-weight:850;letter-spacing:.11em;text-transform:uppercase;}
.dsrv.rp-ui .rp-admin-mobile-menu,.dsrv.rp-ui .rp-admin-mobile-new{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;padding:0;border:1px solid var(--rp-line);border-radius:12px;background:var(--rp-surface);color:var(--rp-primary-dark);box-shadow:var(--rp-shadow-xs);}

.dsrv.rp-ui .dsrv-rowitem,.dsrv.rp-ui .dsrv-task-card,.dsrv.rp-ui .rp-customer-card{border-color:var(--rp-line);background:var(--rp-surface);box-shadow:var(--rp-shadow-xs);}

.dsrv.rp-ui input[type=text],.dsrv.rp-ui input[type=email],.dsrv.rp-ui input[type=tel],.dsrv.rp-ui input[type=number],.dsrv.rp-ui input[type=date],.dsrv.rp-ui input[type=time],.dsrv.rp-ui input[type=password]{min-height:38px;border:1px solid var(--rp-line-strong);border-radius:10px;background:var(--rp-surface);color:var(--rp-text);font-size:11px;box-shadow:none;transition:border-color .15s,box-shadow .15s;}
.dsrv.rp-ui select,.dsrv.rp-ui textarea{font-size:11px;transition:border-color .15s,box-shadow .15s;}
.dsrv.rp-ui input:focus{outline:0;}
.dsrv.rp-ui .dsrv-local-search,.dsrv.rp-ui .dsrv-global-search{min-width:250px;background:var(--rp-surface);}
.dsrv.rp-ui .dsrv-subtabs,.dsrv.rp-ui .rp-ui-tabs{display:flex;gap:6px;flex-wrap:wrap;padding:4px;border:1px solid var(--rp-line);border-radius:12px;background:var(--rp-surface-subtle);width:max-content;max-width:100%;}
.dsrv.rp-ui .dsrv-subtab,.dsrv.rp-ui .rp-ui-tab{min-height:32px;padding:0 10px;border:0;border-radius:9px;background:transparent;color:var(--rp-muted-strong);font-size:10px;font-weight:780;box-shadow:none;}
.dsrv.rp-ui .dsrv-subtab:hover,.dsrv.rp-ui .rp-ui-tab:hover{background:color-mix(in srgb,var(--rp-surface) 82%,transparent);color:var(--rp-text);}
.dsrv.rp-ui .dsrv-subtab.is-active,.dsrv.rp-ui .rp-ui-tab.is-active{background:var(--rp-surface);color:var(--rp-primary-dark);box-shadow:0 1px 4px rgba(15,23,42,.08);}
.dsrv.rp-ui table.widefat,.dsrv.rp-ui .wp-list-table{border:1px solid var(--rp-line);border-radius:12px;background:var(--rp-surface);box-shadow:none;overflow:hidden;}
.rp-emp-ui .rp-icon{display:block;flex:0 0 auto;}
.rp-emp-ui .rp-emp-loading-card,.rp-emp-ui .rp-emp-login,.rp-emp-ui .rp-emp-card,.rp-emp-ui .rp-emp-mapcard,.rp-emp-ui .rp-emp-task,.rp-emp-ui .rp-emp-route-head{border-color:var(--rp-line);}
.rp-emp-ui .rp-emp-hero__stats b{display:block;white-space:nowrap;}
.rp-emp-ui .rp-emp-hero__stats small{display:block;white-space:normal;overflow-wrap:anywhere;}
.rp-emp-ui .rp-emp-route-pace-box,.rp-emp-ui .rp-emp-route-pace{border-radius:12px;}
.rp-emp-ui .rp-emp-report .rp-emp-form-title,.rp-emp-ui .rp-emp-form-title{color:var(--rp-text);}
.rp-ui,.rp-ui *,body>.rp-ui-modal,body>.rp-ui-modal *{box-sizing:border-box;}
.rp-ui,body>.rp-ui-modal{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Inter,Arial,sans-serif;font-size:14px;line-height:1.5;color:var(--rp-ink);}
.rp-ui button,.rp-ui input,.rp-ui select,.rp-ui textarea,body>.rp-ui-modal button,body>.rp-ui-modal input,body>.rp-ui-modal select,body>.rp-ui-modal textarea{font:inherit;}
.rp-ui .rp-icon,body>.rp-ui-modal .rp-icon{display:block;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;}
.dsrv.rp-ui .button.button-small,body>.dsrv-modal.rp-ui-modal .button.button-small{min-height:var(--rp-small-button-height,32px)  !important;padding:var(--rp-small-button-padding,5px 9px)  !important;border-radius:var(--rp-small-button-radius,8px)  !important;font-size:var(--rp-small-button-font,11.5px)  !important;}
/* Badge palette is owned by the shared badge contract below. */
.dsrv.rp-ui .dsrv-card,.dsrv.rp-ui .rp-ui-card{position:relative;overflow:hidden;background:var(--rp-surface)!important;border:1px solid var(--rp-line)!important;border-radius:var(--rp-radius)!important;box-shadow:var(--rp-shadow)!important;}
.dsrv.rp-ui .dsrv-card:hover,.dsrv.rp-ui .rp-ui-card:hover{border-color:#d6e3d1  !important;box-shadow:var(--rp-shadow-hover)  !important;}
/* Admin button states are owned by the shared button contract below. */
.dsrv.rp-ui input:not([type=checkbox]):not([type=radio]),body>.rp-ui-modal input:not([type=checkbox]):not([type=radio]),body>.rp-ui-modal select,body>.rp-ui-modal textarea{width:100%;max-width:100%;font-size:14px;border:1px solid var(--rp-line-2)  !important;border-radius:9px  !important;background:var(--rp-surface)  !important;color:var(--rp-ink)  !important;box-shadow:none  !important;outline:0  !important;}.dsrv.rp-ui select,.dsrv.rp-ui textarea{width:100%;max-width:100%;border:1px solid var(--rp-line-2)  !important;border-radius:9px  !important;outline:0  !important;}
.dsrv.rp-ui input:not([type=checkbox]):not([type=radio]),.dsrv.rp-ui select,body>.rp-ui-modal input:not([type=checkbox]):not([type=radio]),body>.rp-ui-modal select{min-height:44px  !important;padding:0 12px  !important;}
.dsrv.rp-ui textarea,body>.rp-ui-modal textarea{min-height:122px;padding:11px 12px  !important;line-height:1.5;resize:vertical;}
.dsrv.rp-ui input:focus,body>.rp-ui-modal input:focus,body>.rp-ui-modal select:focus,body>.rp-ui-modal textarea:focus{border-color:var(--rp-primary)  !important;box-shadow:0 0 0 4px var(--rp-primary-focus)  !important;}.dsrv.rp-ui select:focus,.dsrv.rp-ui textarea:focus{border-color:var(--rp-primary)  !important;}
.dsrv.rp-ui input[type=checkbox],.dsrv.rp-ui input[type=radio],body>.rp-ui-modal input[type=checkbox],body>.rp-ui-modal input[type=radio]{width:18px  !important;height:18px  !important;min-width:18px  !important;min-height:18px  !important;margin:0 6px 0 0  !important;}
.dsrv.rp-ui table th,.dsrv.rp-ui table td{padding:10px 12px;border-bottom:1px solid var(--rp-line);vertical-align:middle;}

.dsrv.rp-ui .dsrv-brandcopy strong,.dsrv.rp-ui .dsrv-brandcopy span{display:block;}
.dsrv.rp-ui .dsrv-sidebar .dsrv-tab:hover .rp-ui-icon-tile,.dsrv.rp-ui .dsrv-sidebar .dsrv-tab.is-active .rp-ui-icon-tile{background:color-mix(in srgb,var(--rp-primary) 14%,transparent)!important;color:color-mix(in srgb,var(--rp-primary) 68%,#fff 32%)!important;}
.rp-emp-ui .rp-emp-loading-card,.rp-emp-ui .rp-emp-login{border:1px solid var(--rp-line)  !important;border-radius:var(--rp-radius)  !important;background:var(--rp-surface)  !important;box-shadow:var(--rp-shadow)  !important;}
.rp-emp-ui .rp-emp-burger:hover,.rp-emp-ui .rp-emp-burger:focus{background:rgba(132,194,58,.12)  !important;color:#fff  !important;}
.rp-emp-ui .rp-emp-hero p,.rp-emp-ui .rp-emp-hero p b{color:var(--rp-text)  !important;}
.rp-emp-ui input,.rp-emp-ui textarea,.rp-emp-ui select{border:1px solid var(--rp-line-2)  !important;border-radius:9px  !important;background-color:var(--rp-surface)  !important;color:var(--rp-text)  !important;box-shadow:none  !important;}
.rp-emp-ui input:focus,.rp-emp-ui textarea:focus,.rp-emp-ui select:focus{border-color:var(--rp-primary)  !important;box-shadow:0 0 0 4px var(--rp-primary-focus)  !important;}
.rp-emp-ui .rp-emp-btn:hover,.rp-emp-ui .rp-emp-btn:focus{background:var(--rp-primary-soft)  !important;border-color:color-mix(in srgb,var(--rp-primary) 56%,var(--rp-line) 44%)!important;color:var(--rp-primary-dark)!important;box-shadow:0 5px 12px color-mix(in srgb,var(--rp-primary) 8%,transparent)!important;}
.rp-emp-ui .rp-emp-detail-grid>div,.rp-emp-ui .rp-emp-note{border:1px solid var(--rp-line)  !important;border-radius:9px  !important;background:var(--rp-surface-subtle)!important;}
.rp-emp-ui .rp-emp-choice,.rp-emp-ui .rp-emp-care-card,.rp-emp-ui .rp-emp-task-line{border:1px solid var(--rp-line)  !important;border-radius:11px  !important;background:var(--rp-surface)  !important;box-shadow:none  !important;}
.rp-emp-ui .rp-emp-choice:has(input:checked),.rp-emp-ui .rp-emp-care-card:has(input:checked){border-color:rgba(132,194,58,.72)  !important;background:var(--rp-primary-soft)  !important;box-shadow:0 0 0 3px var(--rp-primary-focus)  !important;}
.rp-emp-ui .rp-emp-drawer__date,.rp-emp-ui .rp-emp-drawer__kpi,.rp-emp-ui .rp-emp-drawer__actions .rp-emp-day-control{border:1px solid rgba(255,255,255,.08)  !important;border-radius:11px  !important;background:rgba(255,255,255,.04)  !important;}

.rp-emp-ui .rp-ui-section-head__identity>.rp-ui-icon-tile{width:36px;height:36px;flex:0 0 36px;border-radius:9px;}

body>.dsrv-modal.rp-ui-modal .dsrv-report-section,body>.dsrv-modal.rp-ui-modal .dsrv-task-reportlike-section{border:1px solid var(--rp-line)  !important;border-radius:var(--rp-radius)  !important;background:var(--rp-surface)  !important;box-shadow:none  !important;}
.rp-ui .rp-customer-comms__previews summary::after,.rp-ui .dsrv-route-extra-lines>summary::after,.rp-ui .dsrv-addon-row__report>summary::after,.rp-emp-ui .rp-emp-price-note-panel>summary::after,.rp-emp-ui .rp-emp-route-addons>summary::after{content:""  !important;width:7px;height:7px;flex:0 0 7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);transform-origin:center;transition:transform .16s ease;}
.rp-ui .rp-customer-comms__previews details[open] summary::after,.rp-ui .dsrv-route-extra-lines[open]>summary::after,.rp-ui .dsrv-addon-row__report[open]>summary::after,.rp-emp-ui .rp-emp-price-note-panel[open]>summary::after,.rp-emp-ui .rp-emp-route-addons[open]>summary::after{transform:rotate(225deg) translate(-1px,-1px);}

/* Modal button states are owned by the shared button contract below. */
body>.dsrv-modal.rp-ui-modal input[type="text"],body>.dsrv-modal.rp-ui-modal input[type="email"],body>.dsrv-modal.rp-ui-modal input[type="tel"],body>.dsrv-modal.rp-ui-modal input[type="number"],body>.dsrv-modal.rp-ui-modal input[type="date"],body>.dsrv-modal.rp-ui-modal input[type="time"]{width:100%;max-width:100%;min-height:44px;margin:0;padding:9px 11px;border:1px solid var(--rp-line-2);border-radius:9px;background:var(--rp-surface);color:var(--rp-ink);box-shadow:none;font:inherit;box-sizing:border-box;}body>.dsrv-modal.rp-ui-modal select{width:100%;max-width:100%;min-height:44px;margin:0;padding:9px 11px;border:1px solid var(--rp-line-2);border-radius:9px;font:inherit;box-sizing:border-box;}
body>.dsrv-modal.rp-ui-modal input:focus{outline:none;border-color:var(--rp-primary);box-shadow:0 0 0 4px var(--rp-primary-focus);}body>.dsrv-modal.rp-ui-modal select:focus,body>.dsrv-modal.rp-ui-modal textarea:focus{border-color:var(--rp-primary);}
body>.dsrv-modal.rp-ui-modal input[type="checkbox"],body>.dsrv-modal.rp-ui-modal input[type="radio"]{width:18px  !important;height:18px  !important;min-height:18px  !important;padding:0  !important;margin:0  !important;flex:0 0 18px  !important;}
body>.dsrv-modal.rp-ui-modal .dsrv-mail-preview-head p,body>.dsrv-modal.rp-ui-modal .dsrv-mail-preview-kicker{color:var(--rp-muted)  !important;}
.dsrv.rp-ui .dsrv-sidebar-focus,.dsrv.rp-ui .dsrv-sidebar-help{display:grid  !important;grid-template-columns:1fr  !important;gap:6px  !important;margin:0  !important;padding:14px 14px 16px  !important;border-top:1px solid rgba(255,255,255,.08)  !important;}
.dsrv.rp-ui .dsrv-sidebar-alert,.dsrv.rp-ui .dsrv-sidebar-link{width:100%  !important;max-width:none  !important;margin:0  !important;}
body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="task"] .dsrv-report-section,body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="task"] .dsrv-task-reportlike-section,body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="task"] .dsrv-task-no-charge-card,body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="task"] .dsrv-task-price-card,body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="task"] .dsrv-task-customer-section,body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="report"] .dsrv-report-section{padding:14px 15px!important;border:1px solid var(--rp-line)!important;border-radius:12px!important;background:var(--rp-surface)!important;box-shadow:0 1px 2px rgba(2,6,23,.025)!important;}body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="task"] .dsrv-task-booking-section{padding:14px 15px!important;border-radius:12px!important;}
body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="task"] .dsrv-form-row>label:not(.rp-communication-toggle):not(.rp-task-work-address__question):not(.dsrv-task-no-charge-control),body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="report"] .dsrv-form-row>label{letter-spacing:.055em  !important;text-transform:uppercase  !important;display:flex  !important;align-items:center  !important;min-height:20px  !important;margin-bottom:7px  !important;color:var(--rp-ink)  !important;font-size:12px  !important;line-height:1.3  !important;font-weight:800  !important;}
body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="task"] .dsrv-muted,body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="report"] .dsrv-muted{color:var(--rp-muted)!important;font-size:11px  !important;line-height:1.45  !important;font-weight:600  !important;}
.rp-emp-ui .rp-emp-card,.rp-emp-ui .rp-emp-mapcard,.rp-emp-ui .rp-emp-task,.rp-emp-ui .rp-emp-route-head,.rp-emp-ui .rp-emp-day-control{border:1px solid var(--rp-line)  !important;border-radius:14px  !important;background:var(--rp-surface)  !important;box-shadow:var(--rp-shadow)  !important;}

body>.dsrv-modal.rp-ui-modal .dsrv-case-viewer__hero,body>.dsrv-modal.rp-ui-modal .dsrv-case-viewer__intro,body>.dsrv-modal.rp-ui-modal .dsrv-case-price-box,body>.dsrv-modal.rp-ui-modal .dsrv-case-viewer__visit-card,body>.dsrv-modal.rp-ui-modal .dsrv-case-report__info-card,body>.dsrv-modal.rp-ui-modal .dsrv-case-report__panel{border:1px solid var(--rp-line)  !important;border-radius:12px  !important;background:var(--rp-surface)  !important;box-shadow:0 1px 2px rgba(2,6,23,.025)  !important;color:var(--rp-ink)  !important;}body>.dsrv-modal.rp-ui-modal:not(.is-pest-modal) .dsrv-setup-modal__section{border:1px solid var(--rp-line)  !important;box-shadow:0 1px 2px rgba(2,6,23,.025)  !important;color:var(--rp-ink)  !important;}
body>.dsrv-modal.rp-ui-modal .dsrv-case-viewer__hero,body>.dsrv-modal.rp-ui-modal .dsrv-case-viewer__intro{padding:14px 15px  !important;}
body>.dsrv-modal.rp-ui-modal .dsrv-case-viewer__section-head,body>.dsrv-modal.rp-ui-modal .rp-modal-subhead{display:flex  !important;align-items:center  !important;gap:8px  !important;color:var(--rp-ink)  !important;font-size:15px  !important;font-weight:820  !important;}

.dsrv.rp-ui .dsrv-panel[data-panel="ruter"] .dsrv-monthbox{align-self:start  !important;height:auto  !important;min-height:0  !important;border:1px solid var(--rp-line)  !important;border-radius:14px  !important;background:var(--rp-surface)  !important;box-shadow:var(--rp-shadow)  !important;}
@media (max-width:960px){
.dsrv.rp-ui .dsrv-sidebar-focus,.dsrv.rp-ui .dsrv-sidebar-help{display:block;}
}
@media (max-width:782px){
.dsrv.rp-ui .dsrv-section-head,.dsrv.rp-ui .rp-ui-section-head{align-items:stretch;flex-direction:column;}
.dsrv.rp-ui .dsrv-actions,.dsrv.rp-ui .rp-ui-section-head__actions{width:100%;}
.dsrv.rp-ui .dsrv-local-search,.dsrv.rp-ui .dsrv-global-search{width:100%;min-width:0;}
}
@media (max-width:520px){
.dsrv.rp-ui .rp-ui-section-head__identity>.rp-ui-icon-tile{width:34px;height:34px;flex-basis:34px;}
}
@media (max-width:600px){
.rp-emp-ui .rp-emp-task__actions .rp-emp-btn--primary,.rp-emp-ui .rp-emp-task__actions .rp-emp-btn--nav{grid-column:1/-1  !important;}
.dsrv.rp-ui .rp-ui-section-head__identity>.rp-ui-icon-tile{width:40px  !important;height:40px  !important;flex-basis:40px  !important;padding:9px  !important;}
}

/* ===== DOMAIN PRESENTATION ===== */
/*Canonical domain presentation rules.*/

.dsrv-global-search{width:420px;max-width:48vw;padding:10px 12px;border:1px solid var(--rp-line);border-radius:12px;box-shadow:0 1px 0 rgba(16,24,40,.02);}
.dsrv a{text-decoration:none;}
.dsrv a:hover{color:var(--rp-primary);}
.dsrv :is(input,select,textarea,button):focus{outline:none  !important;}
.dsrv :is(input,select,textarea):focus{border-color:rgba(127,176,62,.85)  !important;box-shadow:0 0 0 4px rgba(127,176,62,.18)  !important;}
.dsrv button:not(.button):focus{box-shadow:none;outline:0;}
.dsrv-panel{display:none;}
.dsrv-panel.is-active{display:block;}
.dsrv-h2{font-size:14px;margin-bottom:8px;}
.dsrv-h3{margin-bottom:6px;}
.dsrv-row{display:flex;gap:12px;}
.dsrv-row-center{align-items:flex-end;}
.dsrv-row-space{justify-content:space-between;align-items:center;}
.dsrv-field label{display:block;font-size:12px;color:var(--rp-muted);margin-bottom:4px;}
.dsrv-field input,.dsrv-field select{padding:9px 12px;border:1px solid var(--rp-line);border-radius:12px;background:var(--rp-surface);}
.dsrv-divider{height:1px;background:var(--rp-line);margin:14px 0;}
.dsrv-grid.cards{display:grid;grid-template-columns:repeat(auto-fill, minmax(260px, 1fr));gap:12px;}

.dsrv-col{background:var(--rp-surface);border:1px solid var(--rp-line);border-radius:16px;padding:14px;box-shadow:var(--rp-shadow);}
.dsrv-block{margin-top:10px;padding:12px;border:1px solid var(--rp-line);border-radius:14px;background:linear-gradient(180deg,var(--rp-surface-subtle),var(--rp-surface));}
.dsrv-dnd-list{margin-top:10px;min-height:240px;border:1px dashed var(--rp-line);border-radius:14px;padding:10px;background:var(--rp-surface);}
.dsrv-empty{color:var(--rp-muted);padding:10px;}
.dsrv-task{border:1px solid var(--rp-line);border-radius:14px;padding:12px;background:linear-gradient(180deg, rgba(127,176,62,.07), #ffffff 70%);border-color:rgba(127,176,62,.18);margin-bottom:10px;box-shadow:0 1px 0 rgba(16,24,40,.03);}
.dsrv-task:hover{border-color:#cbd5e1;}
.dsrv-task.is-dragging{opacity:.65;}
.dsrv-task-title{font-weight:800;}
.dsrv-task-sub{color:var(--rp-muted);margin-top:3px;}
.dsrv-task-meta{display:flex;gap:8px;align-items:center;margin-top:10px;flex-wrap:wrap;}
.dsrv .pill{border:0  !important;border-width:0  !important;border-style:none  !important;background:transparent;color:inherit;outline:none  !important;}
.dsrv .pill-yellow{border:0;}
.dsrv .pill-orange{border:0;}
.dsrv .pill-danger *{color:inherit;}
.dsrv .pill-soft-green{background:#ecfdf5  !important;border-color:var(--rp-success-line)  !important;color:var(--rp-success)  !important;box-shadow:none  !important;}
.dsrv .pill-soft-red{background:var(--rp-danger-soft)  !important;border-color:var(--rp-danger-line)  !important;color:var(--rp-danger)  !important;box-shadow:none  !important;}
.dsrv-inline{display:flex;align-items:center;gap:8px;}
.dsrv-inline .k{font-size:11px;color:var(--rp-muted);}
.dsrv-rowitem-title{font-weight:800;}
.dsrv-rowitem-sub{color:var(--rp-muted);}
.dsrv-rowitem-meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap;}
.dsrv-rowitem-actions{display:flex;align-items:center;flex-wrap:wrap;}
.dsrv-hidden{display:none  !important;}
.dsrv-hidden-by-filter{display:none  !important;}
.dsrv-subtabs{align-items:center;margin:0 0 12px 0;}
.dsrv-subtab{cursor:pointer;display:inline-flex;gap:8px;align-items:center;}
.dsrv-subtab.is-active{border-color:rgba(0,0,0,.22);}
.dsrv-subtab--all.is-active{border-color:rgba(16,185,129,.55);}
.dsrv-subtab-count{background:rgba(0,0,0,.06);padding:2px 8px;border-radius:999px;font-size:12px;}
.dsrv-split{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.dsrv-split-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:8px 0 10px 0;}
.dsrv-local-search{width:340px;max-width:40vw;padding:9px 12px;border:1px solid var(--rp-line);border-radius:12px;}
.dsrv-form h3{margin:0 0 12px 0;font-weight:900;}
.dsrv-combo{display:flex;gap:10px;align-items:center;}
.dsrv-combo-input{flex:1;min-width:220px;}
.dsrv-combo-list{position:relative;display:none;margin-top:8px;border:1px solid var(--rp-line);border-radius:14px;background:var(--rp-surface);box-shadow:0 8px 24px rgba(2,6,23,.10);max-height:260px;overflow:auto;}
.dsrv-combo-list.is-open{display:block;}
.dsrv-combo-item{width:100%;text-align:left;border:0;background:var(--rp-surface);padding:10px 12px;cursor:pointer;border-bottom:1px solid #eef2f7;font-weight:800;}
.dsrv-combo-item:last-child{border-bottom:none;}
.dsrv-combo-item:hover{background:rgba(127,176,62,.10);}
.dsrv-combo-empty{padding:12px;color:var(--rp-muted);}
.dsrv-panel[data-panel="ruter"] .dsrv-status .dsrv-toggle-publish{min-height:34px;padding:.45rem 1.35rem;border-radius:999px;min-width:180px;}
.dsrv-panel[data-panel="ruter"] .dsrv-status .dsrv-btn-publish.button{background:var(--rp-surface);border-color:var(--rp-primary);}
.dsrv-panel[data-panel="ruter"] .dsrv-status .dsrv-btn-publish.button:focus{background:linear-gradient(135deg,var(--rp-primary),var(--rp-primary-2))  !important;border-color:var(--rp-primary)  !important;color:#fff  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-card-actions .dsrv-open-route{min-height:34px;padding:.45rem 1.1rem;border-radius:14px;width:100%;}
.dsrv-panel[data-panel="ruter"] .dsrv-row.dsrv-row-center{gap:18px;margin:8px 0 16px 0;}
@media (max-width: 1020px){
  .dsrv-route-editor{grid-template-columns:1fr;}

  .dsrv-split{grid-template-columns:1fr;}
  .dsrv-form-grid-2,.dsrv-form-grid-3{grid-template-columns:1fr;}
  .dsrv-global-search{width:100%;max-width:100%;}
  .dsrv-local-search{width:100%;max-width:100%;}
}
.dsrv-desc{margin-top:4px;}
.dsrv-panel[data-panel="ruter"] .dsrv-status{display:flex;align-items:center;gap:14px;margin:12px 0 18px 0;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-editor{gap:18px;}
.dsrv-panel[data-panel="ruter"] .dsrv-col .dsrv-dnd-list[data-list="available"]{margin-top:10px;}
.dsrv-date-indicators{display:flex;align-items:center;gap:8px;margin-top:6px;}
.dsrv-dot{width:10px;height:10px;border-radius:999px;display:inline-block;border:1px solid rgba(15,23,42,.18);}
.dsrv-dot-draft{background:rgba(220,38,38,.75);}
.dsrv-dot-published{background:rgba(127,176,62,.85);}
.dsrv-panel[data-panel="opgaver"] .dsrv-tasklist{max-height:none;overflow:visible;padding-right:0;}
.dsrv-panel[data-panel="opgaver"] .dsrv-tasklist[data-task-bucket="ledige"]{display:block;}
.dsrv-panel[data-panel="ruter"] .dsrv-tasklist[data-task-bucket="ledige"]{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));gap:12px;align-content:start;max-height:760px;overflow:auto;padding-right:6px;}
@media (max-width: 1024px){
  .dsrv-panel[data-panel="ruter"] .dsrv-tasklist[data-task-bucket="ledige"]{grid-template-columns:repeat(1, minmax(0, 1fr));max-height:920px;}
}
.dsrv-monthbox-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;padding-bottom:10px;border-bottom:1px solid var(--rp-line);}
.dsrv-monthbox-title{font-weight:800;font-size:14px;white-space:nowrap;flex:0 0 auto;}
.dsrv-monthbox .dsrv-date{padding:6px 8px;font-size:13px;border:1px solid var(--rp-line);border-radius:10px;background:var(--rp-surface);min-width:180px;flex:1 1 220px;}
.dsrv-mini-cal{width:100%;max-width:1200px;margin:0 auto;flex:1 1 auto;}
.dsrv-cal-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px;}
.dsrv-cal-title{font-weight:700;color:var(--rp-text);flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.dsrv-cal-grid{display:grid;grid-template-columns:repeat(7, minmax(0,1fr));gap:7px;margin-bottom:6px;}
.dsrv-cal-dow{font-size:11px;color:var(--rp-muted);text-align:center;padding:4px 0;}
.dsrv-cal-days{display:grid;grid-template-columns:repeat(7, minmax(0,1fr));gap:7px;}
.dsrv-cal-day.is-empty{border:1px dashed rgba(148,163,184,.55);background:transparent;cursor:default;}
.dsrv-cal-day:hover:not(.is-empty){border-color:rgba(127,176,62,.55);box-shadow:0 6px 16px rgba(2,6,23,.08);}
.dsrv-cal-day.is-selected{outline:2px solid rgba(127,176,62,.55);background:var(--rp-primary-soft);}
.dsrv-cal-day.is-today{box-shadow:inset 0 0 0 2px rgba(14,116,144,.40);}
.dsrv-cal-num{display:block;font-size:14px;font-weight:800;color:var(--rp-text);line-height:1.0;}
.dsrv-cal-date{display:block;font-size:10px;color:var(--rp-muted);margin-top:2px;}
.dsrv-cal-dot{position:absolute;top:7px;right:7px;width:8px;height:8px;border-radius:999px;border:1px solid rgba(15,23,42,.18);background:transparent;}
.dsrv-cal-day.is-draft .dsrv-cal-dot{background:rgba(220,38,38,.75);}
.dsrv-cal-day.is-published .dsrv-cal-dot{background:rgba(127,176,62,.85);}
.dsrv-cal-day{position:relative;border:1px solid var(--rp-line);background:var(--rp-surface);border-radius:14px;padding:6px;cursor:pointer;text-align:left;min-height:72px;}
.dsrv-cal-emps{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px;}
.dsrv-cal-emps--bars .dsrv-empdot{width:18px;height:6px;border-radius:999px;font-size:0;line-height:0;}
.dsrv-empdot{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:999px;font-size:10px;font-weight:900;line-height:1;border:1px solid transparent;user-select:none;}
.dsrv-empdot.is-published{background:linear-gradient(135deg,var(--rp-primary),var(--rp-primary-2));color:#fff;}
.dsrv-empdot.is-draft{background:linear-gradient(135deg,var(--rp-danger),#b91c1c);color:#fff;}
.dsrv-empdot.is-none{background:rgba(15,23,42,.06);border-color:rgba(15,23,42,.12);color:var(--rp-muted);}
.dsrv-mini-cal-legend{display:flex;gap:14px;align-items:center;margin-top:10px;font-size:12px;}
.dsrv-legend-item{display:flex;gap:6px;align-items:center;}

@media (max-width: 1200px){
  .dsrv-monthbox{flex:1 1 520px;min-width:320px;max-width:none;}

  .dsrv-monthbox .dsrv-cal-days{max-height:380px;overflow:auto;padding-right:2px;}

}
@media (max-width: 782px){
  .dsrv-monthbox{min-width:0;}
  .dsrv-monthbox .dsrv-cal-days{max-height:320px;}
}
.dsrv-panel[data-panel="ruter"] .dsrv-card--mini .dsrv-h2{font-size:17px;}
.dsrv-route-editor .dsrv-dnd-list[data-list="available"]{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));gap:12px;align-content:start;max-height:560px;overflow:auto;padding-right:6px;}
@media (max-width: 1024px){
  .dsrv-route-editor .dsrv-dnd-list[data-list="available"]{grid-template-columns:1fr;max-height:720px;}
}
.pill-info{border:0  !important;border-width:0  !important;border-style:none  !important;box-shadow:none  !important;}
.pill-green{border:0  !important;border-width:0  !important;border-style:none  !important;box-shadow:none  !important;}
.pill-red{border:0  !important;border-width:0  !important;border-style:none  !important;box-shadow:none  !important;}
@media (max-width: 980px){
  .dsrv .dsrv-list .dsrv-rowitem,.dsrv .dsrv-split .dsrv-rowitem{grid-template-columns:minmax(0,1fr) max-content  !important;grid-template-rows:auto auto;align-items:start  !important;}

  .dsrv .dsrv-rowitem-actions{grid-column:2;grid-row:1;align-self:start;flex-wrap:wrap;}
}
.dsrv .dsrv-case-head{margin:0 0 10px 0;}
.dsrv .dsrv-outcome-card input{position:absolute;opacity:0;pointer-events:none;}
.dsrv .dsrv-outcome-title{font-weight:700;margin-bottom:4px;}
.dsrv .dsrv-outcome-desc{color:rgba(15,23,42,0.72);font-size:13px;line-height:1.35;}
@media (max-width: 720px){
  .dsrv .dsrv-outcome-grid{grid-template-columns:1fr;}
}
.dsrv-ledige-panel{display:none;}
.dsrv-ledige-panel.is-active{display:block;}
.dsrv-count-dot{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:999px;color:#fff;font-weight:700;font-size:12px;line-height:1;}
.dsrv-count-dot.is-attn{background:#d63638;}
.dsrv-count-dot.is-ok{background:#1b5e20;}
.dsrv-ledige-count{opacity:.85;}
.dsrv-overview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:12px 0 16px;}
.dsrv-overview-columns{display:grid;grid-template-columns:1.3fr 1fr;gap:16px;}
.dsrv-overview-employee-list,.dsrv-overview-action-list{display:flex;flex-direction:column;gap:12px;}
.dsrv-overview-badges{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;}
.dsrv-overview-employee-actions{display:flex;gap:8px;flex-wrap:wrap;}
@media (max-width: 1100px){

  .dsrv-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .dsrv-overview-columns{grid-template-columns:1fr;}
}
@media (max-width: 782px){
  .dsrv-overview-grid{grid-template-columns:1fr;}
  .dsrv-overview-employee-item,.dsrv-overview-action-item{grid-template-columns:1fr;}
}
.dsrv-spotlight{box-shadow:0 0 0 3px rgba(22,163,74,.25), 0 18px 34px rgba(15,23,42,.08)  !important;transform:translateY(-1px);transition:box-shadow .18s ease, transform .18s ease;}
.dsrv-subtabs .dsrv-subtab{white-space:nowrap;}
.dsrv-task-actions .dsrv-open-customer{border-color:var(--rp-success-line);}
.dsrv .dsrv-overview-chain{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px;}
.dsrv-subtabs--tasks{margin-bottom:14px;}
.dsrv-rowitem .pill{margin:2px 6px 2px 0;}
.dsrv .dsrv-route-message{margin:10px 0 0;padding:10px 12px;border-radius:10px;background:#ecfdf3;border:1px solid rgba(22,163,74,.18);color:var(--rp-success);font-weight:600;}
.dsrv .dsrv-route-message[hidden]{display:none  !important;}
.dsrv-rowitem-actions--compact{display:flex;flex-wrap:wrap;align-items:center;}
.dsrv-inline-menu{position:relative;}
.dsrv-inline-menu summary{list-style:none;cursor:pointer;padding:8px 12px;border:1px solid rgba(15,23,42,.12);border-radius:10px;background:var(--rp-surface);font-weight:600;}
.dsrv-inline-menu summary::-webkit-details-marker{display:none;}
.dsrv-inline-menu[open] summary{background:#f8fafc;border-color:rgba(15,23,42,.18);}
@media (max-width: 782px){
  .dsrv-inline-menu{width:100%;}
  .dsrv-inline-menu summary{width:100%;text-align:center;}
}
.dsrv-overview-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;}
.dsrv-customer-mode-select{max-width:260px;}
.dsrv-task-booking-section .dsrv-mini-cal{max-width:none;}
.dsrv-task-booking-section .dsrv-h4{margin:14px 0 6px;font-size:15px;color:#163029;}
.dsrv-task-selected-date{margin-top:8px;font-size:13px;color:var(--rp-muted);}
.dsrv-task-route-now,.dsrv-task-customer-time{margin-top:14px;}
.dsrv-helpdot:hover{border-color:#7fb03e;color:#163029;box-shadow:0 0 0 3px rgba(127,176,62,.12);}
@media (max-width:782px){.dsrv-overview-actions{justify-content:flex-start;}}
.dsrv-pest-tile-icon{width:34px;height:34px;padding:2px;box-sizing:border-box;object-fit:contain;object-position:center;flex:0 0 34px;}
.dsrv-pest-tile-icon.is-large{width:54px;height:54px;}
.dsrv-select-wrap{position:relative;}
.dsrv-select-wrap select{appearance:none;-webkit-appearance:none;padding-right:34px;}
.dsrv-select-caret{position:absolute;right:12px;top:50%;transform:translateY(-50%);pointer-events:none;color:var(--rp-muted);font-size:14px;}
.dsrv-form-grid-2[data-customer-mode-panel="new"]{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;}
.dsrv-empty-state{padding:18px;border:1px dashed rgba(15,23,42,.12);border-radius:14px;background:#f8fafc;color:var(--rp-muted);}
.dsrv-empty-state__title{font-weight:700;color:var(--rp-text);margin-bottom:4px;}
.dsrv-empty-state__text{font-size:13px;line-height:1.5;}
.dsrv-search-empty{margin-top:10px;}
.dsrv-overview-chain--quiet{display:flex;flex-wrap:wrap;gap:10px 14px;margin-top:8px;font-size:12px;color:var(--rp-muted);}
.dsrv-task-flow-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;background:#f6f8fb;border:1px solid #e4e8ee;border-radius:16px;padding:12px 14px;margin:0 0 16px;}
.dsrv-task-flow-summary span{display:block;font-size:13px;line-height:1.35;}
.dsrv-task-flow-summary strong{display:block;line-height:1.35;font-size:14px;color:#1f2937;}
.dsrv-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.dsrv-plan-choice-grid--triple{grid-template-columns:repeat(3,minmax(0,1fr));}
.dsrv-choice-card input{position:absolute;opacity:0;pointer-events:none;}
@media (max-width: 782px){
  .dsrv-task-flow-summary,.dsrv-choice-grid{grid-template-columns:1fr;}
}
@media (max-width:782px){

  .dsrv-inline-menu>summary{width:100%;text-align:center;}
}
.dsrv-route-card{cursor:pointer;}
.dsrv .dsrv-list .dsrv-rowitem,.dsrv .dsrv-split .dsrv-rowitem{display:grid  !important;column-gap:12px;row-gap:8px;}
.dsrv .dsrv-rowitem-main{min-width:0;grid-column:1;}
.dsrv .dsrv-rowitem-actions{justify-self:end;display:flex;gap:8px;align-items:center;justify-content:flex-end;grid-column:3;align-self:center;flex-wrap:wrap;}
@media (max-width:980px){

  .dsrv .dsrv-rowitem-actions{grid-column:1;justify-self:stretch;}
}
.dsrv-report-image-preview img{display:block;max-width:100%;height:auto;border-radius:12px;border:1px solid var(--rp-line);}
@media (max-width:782px){.dsrv-report-image-grid{grid-template-columns:1fr;}}
.dsrv-task-actions{display:flex;margin-top:14px;gap:10px;flex-wrap:wrap;justify-content:flex-start;}
.dsrv-overview-action-item{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;border:1px solid var(--rp-line);border-radius:14px;background:var(--rp-surface);padding:16px 18px;gap:14px;}
.dsrv-list .dsrv-rowitem{display:flex;align-items:center;justify-content:space-between;border:1px solid var(--rp-line);background:var(--rp-surface);box-shadow:var(--rp-shadow);padding:16px 18px;gap:18px;border-radius:16px;margin-bottom:12px;}
.dsrv-rowitem-actions,.dsrv-rowitem-actions--compact{gap:10px;}
.dsrv-task.is-stop{padding:16px 18px;border-radius:16px;}
.dsrv-task.is-stop .dsrv-task-meta{margin-top:10px;}
.dsrv-card .dsrv-muted{line-height:1.45;}
.dsrv .dsrv-split .dsrv-rowitem,.dsrv .dsrv-list .dsrv-rowitem{grid-template-columns:minmax(0,1.45fr) minmax(360px,.95fr) max-content  !important;align-items:center  !important;}
@media (max-width:980px){
  .dsrv .dsrv-split .dsrv-rowitem,.dsrv .dsrv-list .dsrv-rowitem{grid-template-columns:1fr  !important;align-items:start  !important;}
}
.dsrv-rowitem-meta--report{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-start;padding:8px 0;}
.dsrv-panel[data-panel="rapporter"] .dsrv-rowitem,.dsrv-panel[data-panel="opgaver"] .dsrv-rowitem{row-gap:12px;}
.dsrv-overview-employee-item{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.9fr);gap:18px;align-items:stretch;padding:18px;border:1px solid #e4eaf0;border-radius:20px;background:linear-gradient(180deg,#fff,#f8fbfd);box-shadow:0 10px 30px rgba(15,23,42,.05);}
.dsrv-overview-employee-main{display:flex;flex-direction:column;gap:12px;min-width:0;}
.dsrv-overview-employee-mapcol{display:flex;align-items:stretch;}
.dsrv-overview-map{width:100%;min-height:180px;border-radius:18px;overflow:hidden;border:1px solid #dbe3ea;background:#eef4f7;}
.dsrv-overview-map--empty{display:flex;align-items:center;justify-content:center;color:#6b7280;text-align:center;padding:20px;}
.dsrv-panel[data-panel="rapporter"] .dsrv-list{border-radius:18px;}
.dsrv-section-head{margin-bottom:18px;}
@media (max-width: 1100px){
  .dsrv-overview-employee-item{grid-template-columns:1fr;}
  .dsrv-overview-map{min-height:220px;}
}
.dsrv-panel[data-panel="rapporter"] .dsrv-rowitem-main{min-width:0;}
.dsrv .dsrv-outcome-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
@media (max-width:980px){

  .dsrv-choice-row,.dsrv .dsrv-outcome-grid{grid-template-columns:1fr;}
}
.dsrv-helpdot{width:28px;height:28px;min-width:28px;flex:0 0 28px;border-radius:999px;border:1px solid var(--rp-line);background:var(--rp-primary-soft);color:var(--rp-primary-dark);font-size:13px;font-weight:800;line-height:1;cursor:help;display:inline-flex;align-items:center;justify-content:center;padding:0;position:relative;}
.dsrv-helpdot:focus-visible{outline:2px solid var(--rp-primary-dark);outline-offset:2px;}
.dsrv-help-tooltip{position:fixed;z-index:100600;max-width:min(320px,calc(100vw - 24px));box-sizing:border-box;background:#163029;color:#fff;padding:12px 14px;border-radius:12px;box-shadow:0 16px 32px rgba(0,0,0,.20);font-size:13px;line-height:1.5;pointer-events:none;overflow-wrap:anywhere;}
.dsrv-subtabs--reports{margin-bottom:14px;margin:0 0 12px;padding:0;background:transparent;border:0;}
.dsrv-report-suggested-note{color:var(--rp-muted);font-size:12px;}
.dsrv-toggle-followup-cal{min-height:32px  !important;padding:0 10px  !important;border-radius:10px  !important;}
.dsrv-choice-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:0;}
@media (max-width:980px){.dsrv-panel[data-panel="rapporter"] .dsrv-rowitem{align-items:start  !important;grid-template-columns:1fr  !important;}.dsrv-panel[data-panel="rapporter"] .dsrv-rowitem-meta--report{grid-template-columns:repeat(2,max-content);justify-content:flex-start;}}
.dsrv-rowitem-phone,.dsrv-inline-phone{margin-top:8px;padding:10px 12px;border-radius:12px;background:#f8fafc;border:1px solid #dbe4ec;font-size:16px;font-weight:800;color:var(--rp-text);}
.dsrv-followup-admin-box label{font-weight:800;color:var(--rp-text);}
.dsrv-followup-calendar-wrap .dsrv-mini-cal{margin-top:10px;}
@media (max-width:980px){.dsrv-rowitem--report{grid-template-columns:1fr;}}
.dsrv-form[data-entity="report"] .dsrv-form-row{margin-bottom:12px;}
.dsrv-outcome-grid{margin-top:8px  !important;grid-template-columns:repeat(3,minmax(0,1fr))  !important;gap:8px  !important;}
.dsrv-panel[data-panel="opgaver"] .dsrv-desc{display:none;}
.dsrv-panel[data-panel="kunder"] .dsrv-rowitem .dsrv-muted{font-size:12px;}
@media (max-width:980px){
  .dsrv-followup-admin-box{grid-template-columns:1fr;}
  .dsrv-outcome-grid{grid-template-columns:1fr  !important;}
}
.dsrv-panel[data-panel="rapporter"] .dsrv-section-head,.dsrv-panel[data-panel="opgaver"] .dsrv-section-head,.dsrv-panel[data-panel="kunder"] .dsrv-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:14px;}
.dsrv-panel[data-panel="rapporter"] .dsrv-subtabs,.dsrv-panel[data-panel="opgaver"] .dsrv-subtabs,.dsrv-panel[data-panel="kunder"] .dsrv-subtabs{margin:0 0 14px;padding:0;border:0;background:transparent;}
.dsrv-panel[data-panel="rapporter"] .dsrv-subtab,.dsrv-panel[data-panel="opgaver"] .dsrv-subtab,.dsrv-panel[data-panel="kunder"] .dsrv-subtab{min-height:34px;padding:0 12px;border-radius:999px;font-size:12px;font-weight:700;}
.dsrv-rowitem-meta-line span{display:inline-flex;align-items:center;border-radius:999px;background:var(--rp-surface-subtle);border:0;color:var(--rp-muted-strong);padding:4px 8px;font-size:11px;font-weight:800;box-shadow:none;}
.dsrv-report-image-head{flex-wrap:wrap;display:flex;justify-content:space-between;gap:10px;align-items:flex-start;}
.dsrv-report-image-head strong{font-size:12px;font-weight:800;}
.dsrv-report-image-preview{margin-top:8px;min-height:24px;font-size:11px;color:var(--rp-muted);}
.dsrv-outcome-title{font-size:13px  !important;font-weight:800;color:var(--rp-text);margin-bottom:4px;}
.dsrv-outcome-desc{font-size:11px  !important;color:var(--rp-muted);line-height:1.45;}
.dsrv-followup-admin-box{grid-template-columns:minmax(210px,.9fr) minmax(0,1fr) minmax(0,.9fr);gap:10px;align-items:start;margin-top:6px;display:block;margin:0 0 12px;padding:14px;border-radius:16px;border:1px solid #dce5ee;background:#f8fafc;}
.dsrv-followup-admin-box>label{grid-column:1/-1;display:block;margin:0 0 10px;font-size:12px;}
.dsrv-report-suggested-time span{font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--rp-muted);}
.dsrv-report-suggested-time strong{font-weight:800  !important;font-size:16px;color:#111  !important;}

.dsrv-panel[data-panel="opgaver"] .dsrv-block{border:1px solid #e3e8ef;border-radius:20px;padding:14px;background:var(--rp-surface);box-shadow:0 8px 24px rgba(15,23,42,.04);}

.dsrv-panel[data-panel="opgaver"] .dsrv-rowitem:last-child{border-bottom:0;padding-bottom:0;}
.dsrv-panel[data-panel="opgaver"] .dsrv-rowitem:first-child{padding-top:4px;}

.dsrv-panel[data-panel="opgaver"] .dsrv-rowitem-main>.dsrv-muted:last-child{margin-top:6px;font-size:12px;}
.dsrv-panel[data-panel="opgaver"] .dsrv-rowitem-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end;}
.dsrv-panel[data-panel="opgaver"] .dsrv-rowitem-actions .button,.dsrv-panel[data-panel="opgaver"] .dsrv-inline-menu summary{min-height:32px;padding:0 12px  !important;border-radius:10px;font-size:12px;font-weight:700;}
.dsrv-panel[data-panel="opgaver"] .dsrv-rowitem-meta{display:grid  !important;}
.dsrv-panel[data-panel="kunder"] .dsrv-list{padding:0;border:none;background:transparent;box-shadow:none;gap:12px;}
.dsrv-panel[data-panel="kunder"] .dsrv-rowitem-title{font-size:15px  !important;font-weight:800;}
.dsrv-panel[data-panel="kunder"] .dsrv-rowitem-sub{font-size:12px  !important;color:var(--rp-muted);}
.dsrv-panel[data-panel="kunder"] .dsrv-rowitem-main>.dsrv-muted{font-size:12px;}
.dsrv-panel[data-panel="kunder"] .dsrv-rowitem-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;}
.dsrv-panel[data-panel="kunder"] .dsrv-rowitem-actions .button,.dsrv-panel[data-panel="kunder"] .dsrv-inline-menu summary{min-height:32px;padding:0 12px  !important;border-radius:10px;font-size:12px;font-weight:700;}
@media (max-width:980px){
  .dsrv-panel[data-panel="rapporter"] .dsrv-section-head,.dsrv-panel[data-panel="opgaver"] .dsrv-section-head,.dsrv-panel[data-panel="kunder"] .dsrv-section-head{align-items:stretch;flex-direction:column;}

}
.dsrv-rowitem-meta-line{font-weight:600;margin-top:8px;display:flex;gap:10px;flex-wrap:wrap;font-size:11px;color:var(--rp-muted);}

.dsrv-report-modal-eyebrow{font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--rp-muted);margin-bottom:6px;}

.dsrv-report-section{background:var(--rp-surface);border:1px solid var(--rp-line);border-radius:16px;padding:14px 16px;margin-bottom:14px  !important;}
.dsrv-report-section>label{display:block;margin:0 0 10px;font-size:12px;font-weight:800;color:var(--rp-text);text-transform:uppercase;letter-spacing:.04em;}
.dsrv-form[data-entity="report"] select,.dsrv-form[data-entity="report"] textarea,.dsrv-form[data-entity="report"] input[type="text"]{box-shadow:none;background:var(--rp-surface);}
.dsrv-report-image-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.dsrv-report-image-slot{border:1px solid var(--rp-line);padding:10px 12px  !important;border-radius:14px  !important;background:var(--rp-surface-subtle)  !important;}
.dsrv-report-image-head .button{border-radius:8px  !important;min-height:24px  !important;padding:0 8px  !important;font-size:10px  !important;}
.dsrv-report-section--after .dsrv-outcome-grid{grid-template-columns:repeat(3,minmax(0,1fr))  !important;gap:12px  !important;margin-top:0  !important;display:grid;margin-bottom:12px;}
.dsrv-report-section--after .dsrv-outcome-card{min-height:108px;padding:14px;border:1px solid var(--rp-line);border-radius:14px;background:var(--rp-surface);display:flex;flex-direction:column;justify-content:flex-start;}
.dsrv-report-section--after .dsrv-outcome-title{font-size:16px;font-weight:800;color:var(--rp-text);margin-bottom:4px;}
.dsrv-report-section--after .dsrv-outcome-desc{font-size:12px;color:var(--rp-muted);}
.dsrv-followup-admin-box--wide{margin:0;border:1px solid var(--rp-line);border-radius:14px;background:#f8fbff;padding:12px;}
.dsrv-followup-admin-box--wide>label{display:block;margin:0 0 10px;font-size:12px;font-weight:800;color:var(--rp-text);text-transform:uppercase;letter-spacing:.04em;}
.dsrv-report-suggested-time{line-height:1.5;color:var(--rp-text);font-size:12px;display:flex;flex-direction:column;gap:4px;border:1px solid var(--rp-line);background:var(--rp-surface);margin:0 0 10px  !important;padding:12px  !important;border-radius:12px  !important;}
.dsrv-choice-row--report-admin{display:grid  !important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.dsrv-followup-calendar-wrap{padding:12px;border-radius:14px;border:1px solid #d9e2ec;background:var(--rp-surface);margin:0 0 10px  !important;}
.dsrv-task-legend{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 10px;}
.dsrv-task-legend .pill{margin:0;}
.dsrv-panel[data-panel="opgaver"] .dsrv-rowitem{border-bottom:1px solid #edf2f7;box-shadow:none;}
.dsrv-panel[data-panel="opgaver"] .dsrv-muted{font-size:11px;}
.dsrv-inline-menu,.dsrv-open-customer-route{display:none  !important;}
@media (max-width:980px){

  .dsrv-report-section--after .dsrv-outcome-grid,.dsrv-choice-row--report-admin,.dsrv-report-image-grid{grid-template-columns:1fr  !important;}
}

/*Samlet modalramme: tager højde for WordPress-adminbaren og holder hele popup'en synlig.*/
body{--rp-adminbar-offset:0px;}
body.admin-bar{--rp-adminbar-offset:32px;}
@media (max-width:782px){
  body.admin-bar{--rp-adminbar-offset:46px;}

}
.dsrv-next-step-wrap[hidden],[data-outcome-target][hidden]{display:none  !important;}
.dsrv-task-main{gap:6px  !important;}
.dsrv-task-meta-grid{display:grid  !important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px;align-content:start;}
.dsrv-task-meta-item{display:flex;flex-direction:column;gap:4px;min-width:0;}
.dsrv-task-meta-k{font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:var(--rp-muted);}
.dsrv-task-meta-v{font-size:12px;font-weight:700;color:var(--rp-text);display:flex;gap:6px;flex-wrap:wrap;align-items:center;}
.dsrv-task-card .dsrv-rowitem-actions{justify-content:flex-end;}

.dsrv-panel[data-panel="opgaver"] .dsrv-task-legend .pill{font-size:10px;}
@media (max-width: 980px){
  .dsrv-task-meta-grid{grid-template-columns:1fr  !important;}
}
.dsrv-form[data-entity="report"] .dsrv-report-modal-eyebrow{display:none  !important;}

.dsrv-form[data-entity="task"] .dsrv-form-row,.dsrv-form[data-entity="report"] .dsrv-form-row{margin:0 0 12px  !important;}
.dsrv-form[data-entity="report"] input[type="text"],.dsrv-form[data-entity="report"] input[type="date"],.dsrv-form[data-entity="report"] input[type="time"],.dsrv-form[data-entity="report"] select{min-height:38px  !important;font-size:13px  !important;border-radius:10px  !important;border-color:var(--rp-line)  !important;}
.dsrv-form[data-entity="report"] textarea{font-size:13px  !important;border-radius:10px  !important;border-color:var(--rp-line)  !important;min-height:96px  !important;}
.dsrv-form[data-entity="task"] .dsrv-choice-card-body,.dsrv-form[data-entity="report"] .dsrv-choice-card-body{padding:12px 13px  !important;border-radius:12px  !important;border:1px solid var(--rp-line)  !important;background:var(--rp-surface)  !important;box-shadow:none  !important;}
.dsrv-form[data-entity="task"] .dsrv-form-actions,.dsrv-form[data-entity="report"] .dsrv-form-actions{margin-top:12px  !important;padding-top:12px  !important;border-top:1px solid #edf2f7  !important;gap:8px  !important;}
@media (max-width: 980px){
  .dsrv-form[data-entity="report"] .dsrv-report-image-grid,.dsrv-form[data-entity="report"] .dsrv-outcome-grid,.dsrv-form[data-entity="report"] .dsrv-choice-row--report-admin,.dsrv-form[data-entity="task"] .dsrv-form-grid-2:not([data-rp-new-customer]){grid-template-columns:1fr  !important;}
}
.dsrv-form[data-entity="report"] .dsrv-outcome-card input[type="radio"],.dsrv-form[data-entity="report"] .dsrv-choice-card--compact input[type="radio"],.dsrv-form[data-entity="task"] .dsrv-choice-card--plan input[type="radio"]{position:absolute  !important;opacity:0  !important;pointer-events:none  !important;}
.dsrv-form[data-entity="report"] .dsrv-followup-summary span strong{font-size:12px  !important;color:var(--rp-text)  !important;}
.dsrv-form[data-entity="report"] .dsrv-task-selected-date{margin-top:8px  !important;padding:8px 10px  !important;font-size:12px  !important;color:var(--rp-muted)  !important;}
.dsrv-form[data-entity="task"] .dsrv-task-selected-date strong,.dsrv-form[data-entity="report"] .dsrv-task-selected-date strong{color:var(--rp-text)  !important;}
.dsrv-form[data-entity="report"] [data-outcome-target="cancelled"] .dsrv-followup-calendar-wrap,.dsrv-form[data-entity="report"] [data-outcome-target="followup"] .dsrv-followup-calendar-wrap{overflow:visible  !important;}
.dsrv-form[data-entity="task"] .dsrv-pick-route-employee,.dsrv-form[data-entity="report"] .dsrv-pick-route-employee{min-height:32px  !important;border-radius:10px  !important;font-size:11px  !important;padding:0 10px  !important;}
.dsrv-form[data-entity="report"] .dsrv-toggle-followup-cal{display:none  !important;}
.dsrv-form[data-entity="task"] .dsrv-h3,.dsrv-form[data-entity="task"] .dsrv-h4,.dsrv-form[data-entity="task"] .dsrv-task-selected-date__label,.dsrv-form[data-entity="report"] .dsrv-h3,.dsrv-form[data-entity="report"] .dsrv-h4,.dsrv-form[data-entity="report"] .dsrv-task-selected-date__label{font-size:11px  !important;font-weight:800  !important;letter-spacing:.04em  !important;text-transform:uppercase  !important;color:var(--rp-text)  !important;}
.dsrv-form[data-entity="task"] .dsrv-task-booking-cal,.dsrv-form[data-entity="report"] .dsrv-task-booking-cal,.dsrv-form[data-entity="report"] .dsrv-followup-calendar-wrap{width:100%  !important;max-width:100%  !important;min-width:0  !important;overflow:hidden  !important;box-sizing:border-box  !important;}
.dsrv-form[data-entity="task"] .dsrv-cal-days,.dsrv-form[data-entity="report"] .dsrv-cal-days{display:grid  !important;grid-template-columns:repeat(7,minmax(0,1fr))  !important;gap:6px  !important;}
.dsrv-form[data-entity="task"] .dsrv-cal-day,.dsrv-form[data-entity="report"] .dsrv-cal-day{min-height:52px  !important;padding:6px 5px  !important;border-radius:12px  !important;min-width:0  !important;}
.dsrv-form[data-entity="task"] .dsrv-cal-day.is-selected,.dsrv-form[data-entity="report"] .dsrv-cal-day.is-selected{outline:none  !important;border-color:var(--rp-primary)  !important;background:var(--rp-primary-soft)  !important;box-shadow:0 0 0 2px var(--rp-focus-ring)  !important;}
.dsrv-form[data-entity="task"] .dsrv-cal-day.is-selected .dsrv-cal-dot,.dsrv-form[data-entity="report"] .dsrv-cal-day.is-selected .dsrv-cal-dot{background:#7fb03e  !important;color:#fff  !important;font-size:10px  !important;font-weight:800  !important;display:inline-flex  !important;align-items:center  !important;justify-content:center  !important;width:auto  !important;height:18px  !important;right:5px  !important;top:5px  !important;padding:0 6px  !important;border:none  !important;box-shadow:none  !important;}
.dsrv-form[data-entity="task"] .dsrv-cal-day.is-selected .dsrv-cal-dot::before,.dsrv-form[data-entity="report"] .dsrv-cal-day.is-selected .dsrv-cal-dot::before{content:"Valgt";}
.dsrv-form[data-entity="task"] .dsrv-cal-day:not(.is-selected) .dsrv-cal-dot,.dsrv-form[data-entity="report"] .dsrv-cal-day:not(.is-selected) .dsrv-cal-dot{display:none  !important;}
@media (max-width:980px){
  .dsrv-form[data-entity="task"] .dsrv-plan-choice-grid,.dsrv-form[data-entity="report"] .dsrv-outcome-grid,.dsrv-form[data-entity="report"] .dsrv-choice-row--report-admin,.dsrv-form[data-entity="task"] .dsrv-form-grid-2:not([data-rp-new-customer]),.dsrv-form[data-entity="report"] .dsrv-form-grid-2{grid-template-columns:1fr  !important;}
}
.dsrv-form[data-entity="report"]{padding:0  !important;max-width:none  !important;}

.dsrv-form[data-entity="task"] .dsrv-report-modal-eyebrow,.dsrv-form[data-entity="report"] .dsrv-report-modal-eyebrow,.dsrv-form[data-entity="report"] .dsrv-form-row>label,.dsrv-form[data-entity="task"] .dsrv-form-section>.dsrv-h3,.dsrv-form[data-entity="report"] .dsrv-followup-admin-box>label{font-size:10px  !important;line-height:1.2  !important;font-weight:800  !important;letter-spacing:.08em  !important;text-transform:uppercase  !important;color:var(--rp-text)  !important;}
.dsrv-form[data-entity="task"] h3,.dsrv-form[data-entity="report"] h3{font-size:28px  !important;line-height:1.05  !important;font-weight:800  !important;color:var(--rp-text)  !important;margin:0  !important;}

.dsrv-form[data-entity="report"] .dsrv-form-row,.dsrv-form[data-entity="report"] .dsrv-form-section,.dsrv-form[data-entity="report"] .dsrv-followup-admin-box{background:var(--rp-surface)  !important;border:1px solid var(--rp-line)  !important;border-radius:14px  !important;box-shadow:none  !important;}
.dsrv-form[data-entity="report"] .dsrv-choice-row--report,.dsrv-form[data-entity="report"] .dsrv-outcome-grid{display:grid  !important;grid-template-columns:repeat(3,minmax(0,1fr))  !important;gap:10px  !important;}
.dsrv-form[data-entity="task"] .dsrv-choice-card:not(.dsrv-choice-card--plan),.dsrv-form[data-entity="report"] .dsrv-choice-card:not(.dsrv-choice-card--compact){min-height:82px  !important;padding:12px 14px  !important;border-radius:12px  !important;border:1px solid var(--rp-line)  !important;background:var(--rp-surface)  !important;box-shadow:none  !important;position:relative  !important;}
.dsrv-form[data-entity="task"] .dsrv-choice-card:not(.dsrv-choice-card--plan):hover,.dsrv-form[data-entity="report"] .dsrv-choice-card:not(.dsrv-choice-card--compact):hover{border-color:#c9d7e3  !important;box-shadow:0 8px 18px rgba(15,23,42,.05)  !important;}
.dsrv-form[data-entity="task"] .dsrv-choice-card:not(.dsrv-choice-card--plan).is-selected,.dsrv-form[data-entity="report"] .dsrv-choice-card:not(.dsrv-choice-card--compact).is-selected{background:var(--rp-primary-soft)  !important;border-color:var(--rp-primary)  !important;box-shadow:0 0 0 2px var(--rp-focus-ring)  !important;}
.dsrv-form[data-entity="task"] .dsrv-task-pane-head,.dsrv-form[data-entity="task"] .dsrv-booking-inline-summary{border-radius:12px  !important;}
.dsrv-form[data-entity="task"] .button:hover,.dsrv-form[data-entity="report"] .button:hover{transform:translateY(-1px);}
.dsrv-form[data-entity="report"] .dsrv-followup-calendar-wrap[hidden]{display:none  !important;}
.dsrv-form[data-entity="report"] [data-outcome-target="followup"] .dsrv-followup-calendar-wrap,.dsrv-form[data-entity="report"] [data-outcome-target="cancelled"] .dsrv-followup-calendar-wrap{display:block;}
.dsrv-form[data-entity="task"] .dsrv-mini-cal,.dsrv-form[data-entity="report"] .dsrv-mini-cal{width:100%  !important;min-width:0  !important;padding:10px  !important;border-radius:12px  !important;box-sizing:border-box  !important;max-width:100%  !important;overflow:hidden  !important;}
@media (max-width: 900px){
  .dsrv-form[data-entity="report"] .dsrv-choice-row--report{grid-template-columns:1fr  !important;}
}
.dsrv-form[data-entity="task"] .dsrv-form-section .dsrv-h3,.dsrv-form[data-entity="task"] .dsrv-form-section label:not(.rp-communication-toggle):not(.rp-task-work-address__question):not(.dsrv-task-no-charge-control),.dsrv-form[data-entity="report"] .dsrv-report-section>label,.dsrv-form[data-entity="report"] .dsrv-followup-admin-box--wide>label{font-size:10px  !important;line-height:1.2  !important;font-weight:800  !important;color:var(--rp-text)  !important;text-transform:uppercase  !important;letter-spacing:.08em  !important;}
.dsrv-form[data-entity="task"] .dsrv-task-top-field--boxed,.dsrv-form[data-entity="task"] .dsrv-task-description-row,.dsrv-form[data-entity="report"] .dsrv-report-section{padding:12px 14px  !important;border:1px solid var(--rp-line)  !important;border-radius:14px  !important;background:var(--rp-surface)  !important;box-shadow:none  !important;}
.dsrv-form[data-entity="report"] .dsrv-followup-admin-box--wide{padding:12px 14px  !important;border:1px solid var(--rp-line)  !important;background:var(--rp-surface)  !important;box-shadow:none  !important;}
.dsrv-form[data-entity="report"] .dsrv-outcome-card:hover{transform:translateY(-1px)  !important;border-color:#c7d9a2  !important;box-shadow:0 8px 18px rgba(15,23,42,.05)  !important;}
.dsrv-form[data-entity="report"] .dsrv-outcome-card.is-selected{background:#fbfdf8  !important;border-color:#b8cf7d  !important;box-shadow:0 0 0 2px rgba(154,184,87,.12)  !important;}
.dsrv-form[data-entity="report"] .dsrv-outcome-card{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;column-gap:10px!important;align-items:center!important;transition:border-color .18s ease, box-shadow .18s ease, background .18s ease, transform .18s ease  !important;position:relative  !important;overflow:hidden  !important;min-height:76px  !important;background:var(--rp-surface)  !important;border:1px solid var(--rp-line)  !important;border-radius:12px  !important;padding:11px 68px 11px 12px  !important;box-shadow:none  !important;}
.dsrv-form[data-entity="report"] .dsrv-outcome-card.is-selected::after{content:"Valgt";position:absolute;top:10px;right:10px;min-width:44px;height:22px;padding:0 8px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:var(--rp-primary)  !important;color:#fff  !important;font-size:10px  !important;font-weight:800  !important;line-height:1.1  !important;letter-spacing:.02em;box-shadow:none  !important;}
.dsrv-form[data-entity="report"] .dsrv-outcome-card.is-selected::before{position:absolute;top:14px;right:58px;color:#5f7d31;font-weight:900;font-size:13px;display:none  !important;content:none  !important;}

.dsrv-form[data-entity="task"] .dsrv-form-section,.dsrv-form[data-entity="task"] .dsrv-task-booking-section,.dsrv-form[data-entity="task"] .dsrv-form-row,.dsrv-form[data-entity="report"] .dsrv-followup-admin-box--wide{border-radius:14px  !important;}
.dsrv-form[data-entity="report"] .dsrv-choice-card--compact{box-shadow:none  !important;border-radius:12px  !important;transition:border-color .18s ease, box-shadow .18s ease, background .18s ease, transform .18s ease  !important;position:relative  !important;min-height:auto  !important;overflow:hidden  !important;border:0  !important;background:transparent  !important;padding:0  !important;}
.dsrv-form[data-entity="report"] .dsrv-choice-card--compact:hover .dsrv-choice-card-body{box-shadow:0 8px 18px rgba(15,23,42,.05)  !important;border-color:#c6d2de  !important;background:#fbfdff  !important;}
.dsrv-form[data-entity="report"] .dsrv-choice-card--compact.is-selected .dsrv-choice-card-body,.dsrv-form[data-entity="report"] .dsrv-choice-card input:checked+.dsrv-choice-card-body{border-color:#b7cc90  !important;background:#f8fbf3  !important;box-shadow:inset 0 0 0 1px #d7e5be  !important;}
.dsrv-form[data-entity="report"] .dsrv-choice-card--compact.is-selected .dsrv-choice-card-body::after{content:"Valgt";position:absolute;top:10px;right:10px;padding:2px 8px;border-radius:999px;background:#8ebc43;color:#fff;font-size:10px;font-weight:800;letter-spacing:.01em;}
.dsrv-form[data-entity="report"] .dsrv-choice-card--compact .dsrv-choice-card-body{min-height:68px  !important;display:grid  !important;grid-template-columns:auto minmax(0,1fr)  !important;align-items:center  !important;gap:9px  !important;box-shadow:none  !important;padding:9px 64px 9px 10px  !important;border-radius:12px  !important;border:1px solid #dbe3ea  !important;background:var(--rp-surface)  !important;position:relative  !important;}
.dsrv-form[data-entity="report"] .dsrv-choice-card--compact .dsrv-choice-card__icon{display:flex;align-items:center;justify-content:center;align-self:center;}
.dsrv-form[data-entity="report"] .dsrv-choice-card--compact .dsrv-choice-card__icon .rp-ui-icon-tile{width:31px;height:31px;border-radius:9px;}
.dsrv-form[data-entity="report"] .dsrv-choice-card--compact .dsrv-choice-card__copy{display:block;min-width:0;}
.dsrv-form[data-entity="report"] .dsrv-choice-card--compact .dsrv-choice-card__copy strong{text-transform:none!important;letter-spacing:0!important;}
.dsrv-form[data-entity="report"] .dsrv-choice-card--compact .dsrv-choice-card__copy small{font-size:9.6px!important;line-height:1.35!important;}
.dsrv-form[data-entity="task"] .dsrv-task-customer-section .dsrv-form-row{background:transparent  !important;border:0  !important;box-shadow:none  !important;padding:0  !important;margin-bottom:12px  !important;}
.dsrv-form[data-entity="task"] .dsrv-task-customer-section .dsrv-form-grid-2{gap:12px  !important;}


.dsrv-form[data-entity="task"] .dsrv-task-top-grid,.dsrv-form[data-entity="report"] .dsrv-report-visit-grid{display:grid  !important;grid-template-columns:repeat(2,minmax(0,1fr))  !important;gap:12px  !important;margin:0 0 12px  !important;padding:0  !important;border:0  !important;border-radius:0  !important;background:transparent  !important;box-shadow:none  !important;}
.dsrv-form[data-entity="task"] .dsrv-task-top-grid>.dsrv-task-reportlike-section,.dsrv-form[data-entity="report"] .dsrv-report-visit-grid>.dsrv-report-visit-field{margin:0  !important;}
.dsrv-form[data-entity="report"] .dsrv-report-visit-field{min-width:0  !important;}
.dsrv-form[data-entity="report"] .dsrv-report-visit-field .dsrv-select-wrap,.dsrv-form[data-entity="report"] .dsrv-report-visit-field .dsrv-field-control{width:100%  !important;min-width:0  !important;}
.dsrv-form[data-entity="report"] .dsrv-report-visit-field select{width:100%  !important;min-height:40px  !important;}
.dsrv-form[data-entity="task"] .dsrv-task-reportlike-section{margin:0 0 12px  !important;padding:12px 14px  !important;border:1px solid var(--rp-line)  !important;border-radius:14px  !important;background:var(--rp-surface)  !important;box-shadow:none  !important;}
.dsrv-form[data-entity="task"] .dsrv-task-reportlike-section>label,.dsrv-form[data-entity="task"] .dsrv-task-customer-section [data-customer-mode-panel="existing"]>label,.dsrv-form[data-entity="task"] .dsrv-form-row>label:not(.rp-communication-toggle):not(.rp-task-work-address__question):not(.dsrv-task-no-charge-control),.dsrv-form[data-entity="task"] .dsrv-form-section>label:not(.rp-communication-toggle):not(.rp-task-work-address__question):not(.dsrv-task-no-charge-control){display:block  !important;margin:0 0 10px  !important;font-size:10px  !important;line-height:1.2  !important;font-weight:800  !important;color:var(--rp-text)  !important;text-transform:uppercase  !important;letter-spacing:.08em  !important;}
.dsrv-form[data-entity="task"] .dsrv-task-selected-date{border-color:#dfe8d2  !important;}.dsrv-form[data-entity="report"] .dsrv-task-selected-date{border:1px solid #dfe8d2  !important;border-radius:12px  !important;background:#f8fbf5  !important;border-color:#dfe8d2  !important;}
.dsrv-form[data-entity="task"] .dsrv-choice-grid,.dsrv-form[data-entity="report"] .dsrv-choice-row--report-admin{gap:10px  !important;}
.dsrv-form[data-entity="task"] .dsrv-choice-card-body strong,.dsrv-form[data-entity="report"] .dsrv-choice-card-body strong,.dsrv-form[data-entity="report"] .dsrv-outcome-title{display:block  !important;font-size:12px  !important;line-height:1.25  !important;color:var(--rp-text)  !important;font-weight:800  !important;}
.dsrv-form[data-entity="task"] .dsrv-choice-card-body small,.dsrv-form[data-entity="report"] .dsrv-choice-card-body small,.dsrv-form[data-entity="report"] .dsrv-outcome-desc{display:block  !important;margin-top:4px  !important;}
.dsrv-form[data-entity="report"] .dsrv-followup-calendar-wrap{margin-top:10px  !important;margin:10px 0 0  !important;padding:0  !important;border:0  !important;background:transparent  !important;box-shadow:none  !important;}
.dsrv-form[data-entity="report"] .dsrv-followup-plan-fields .dsrv-form-grid-2{display:grid  !important;grid-template-columns:1fr 1fr  !important;gap:12px  !important;}
.dsrv-form[data-entity="report"] .dsrv-followup-plan-fields .dsrv-muted{margin-top:10px  !important;}
@media (max-width: 900px){
  .dsrv-form[data-entity="task"] .dsrv-task-top-grid,.dsrv-form[data-entity="report"] .dsrv-report-visit-grid,.dsrv-form[data-entity="task"] .dsrv-choice-grid,.dsrv-form[data-entity="report"] .dsrv-choice-row--report-admin,.dsrv-form[data-entity="report"] .dsrv-outcome-grid,.dsrv-form[data-entity="report"] .dsrv-followup-plan-fields .dsrv-form-grid-2{grid-template-columns:1fr  !important;}
}
.dsrv-form[data-entity="task"] .dsrv-task-booking-section .dsrv-task-backlog-pane,.dsrv-form[data-entity="task"] .dsrv-task-booking-section .dsrv-task-customer-time,.dsrv-form[data-entity="task"] .dsrv-task-booking-section .dsrv-task-route-now{border-radius:14px  !important;padding:0  !important;border:0  !important;background:transparent  !important;box-shadow:none  !important;}
.dsrv-form[data-entity="task"] .dsrv-task-customer-section>.dsrv-form-row,.dsrv-form[data-entity="task"] .dsrv-task-customer-section .dsrv-form-grid-2>.dsrv-form-row,.dsrv-form[data-entity="report"] .dsrv-followup-plan-fields .dsrv-form-grid-2>.dsrv-form-row{padding:0  !important;border:0  !important;background:transparent  !important;box-shadow:none  !important;margin:0 0 12px  !important;}
.dsrv-form[data-entity="task"] .dsrv-task-customer-section>.dsrv-form-row>label,.dsrv-form[data-entity="task"] .dsrv-task-customer-section .dsrv-form-grid-2>.dsrv-form-row>label,.dsrv-form[data-entity="report"] .dsrv-followup-plan-fields .dsrv-form-grid-2>.dsrv-form-row>label{margin:0 0 8px  !important;}
.dsrv-form[data-entity="report"] .dsrv-followup-plan-fields{margin-top:14px  !important;padding-top:0  !important;}
.dsrv-form[data-entity="report"] .dsrv-followup-choice-row{padding:0  !important;border:0  !important;background:transparent  !important;box-shadow:none  !important;margin-top:16px  !important;}
.dsrv-form[data-entity="task"] .dsrv-muted,.dsrv-form[data-entity="report"] .dsrv-muted,.dsrv-form[data-entity="task"] .dsrv-task-section-note,.dsrv-form[data-entity="task"] .dsrv-task-plan-subnote,.dsrv-form[data-entity="task"] .dsrv-task-plan-help,.dsrv-form[data-entity="report"] .dsrv-followup-load-note{letter-spacing:0  !important;}
.dsrv-form[data-entity="task"] .dsrv-choice-card-body small,.dsrv-form[data-entity="report"] .dsrv-choice-card-body small,.dsrv-form[data-entity="report"] .dsrv-outcome-desc,.dsrv-form[data-entity="report"] .dsrv-report-suggested-note{font-size:10.5px  !important;line-height:1.5  !important;color:var(--rp-text)  !important;font-weight:500  !important;letter-spacing:0  !important;}
.dsrv-form[data-entity="task"] .dsrv-task-customer-section [data-customer-mode-panel="existing"],.dsrv-form[data-entity="task"] .dsrv-task-customer-section [data-customer-mode-panel="new"]{margin-top:16px  !important;}
.dsrv-form[data-entity="task"] .dsrv-task-customer-section .dsrv-combo{margin-bottom:14px  !important;align-items:stretch  !important;}
.dsrv-form[data-entity="task"] .dsrv-task-customer-section .dsrv-combo .button{min-height:40px  !important;}

.dsrv-form[data-entity="task"] .dsrv-task-customer-time{padding:0  !important;border:0  !important;background:transparent  !important;box-shadow:none  !important;}
@media (max-width: 900px){
  .dsrv-form[data-entity="task"] .dsrv-task-plan-fields .dsrv-form-grid-2{grid-template-columns:1fr  !important;}
}
.dsrv-form[data-entity="task"] .dsrv-muted,.dsrv-form[data-entity="report"] .dsrv-muted,.dsrv-form[data-entity="task"] small,.dsrv-form[data-entity="report"] small,.dsrv-form[data-entity="task"] .dsrv-task-section-note,.dsrv-form[data-entity="report"] .dsrv-followup-load-note,.dsrv-form[data-entity="task"] .dsrv-task-plan-help,.dsrv-form[data-entity="task"] .dsrv-task-plan-subnote,.dsrv-form[data-entity="report"] .dsrv-report-suggested-time span,.dsrv-form[data-entity="task"] .dsrv-combo-input::placeholder,.dsrv-form[data-entity="report"] .dsrv-combo-input::placeholder{color:var(--rp-muted)  !important;font-size:11px  !important;font-weight:500  !important;line-height:1.45  !important;}
.dsrv-form[data-entity="task"] .dsrv-task-selected-date{display:flex  !important;align-items:center  !important;justify-content:space-between  !important;gap:12px  !important;margin:12px 0 14px  !important;padding:10px 12px  !important;border:1px solid var(--rp-line)  !important;border-radius:11px  !important;background:var(--rp-surface-subtle)  !important;color:#607066  !important;font-size:11px  !important;}
.dsrv-form[data-entity="task"] .dsrv-task-selected-date strong{font-size:12px  !important;white-space:nowrap  !important;}
.dsrv-form[data-entity="task"] .dsrv-task-plan-fields{display:grid  !important;gap:14px  !important;margin-top:2px  !important;}
.dsrv-form[data-entity="task"] .dsrv-task-plan-fields__grid{display:grid  !important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)  !important;gap:18px  !important;align-items:start  !important;}
.dsrv-form[data-entity="task"] .dsrv-task-plan-field{display:grid  !important;gap:7px  !important;min-width:0  !important;margin:0  !important;padding:0  !important;}
.dsrv-form[data-entity="task"] .dsrv-task-plan-field>label{margin:0  !important;color:#3f5145  !important;font-size:10px  !important;font-weight:900  !important;letter-spacing:.055em  !important;text-transform:uppercase  !important;}
.dsrv-form[data-entity="task"] .dsrv-task-plan-field input[type="time"],.dsrv-form[data-entity="task"] .dsrv-task-plan-field select{min-height:44px  !important;}
@media (max-width:900px){.dsrv-form[data-entity="task"] .dsrv-task-plan-fields__grid{grid-template-columns:1fr  !important;gap:12px  !important;}}

.dsrv-form[data-entity="report"] .dsrv-followup-summary{display:flex  !important;flex-wrap:wrap  !important;gap:10px  !important;align-items:center  !important;padding:10px 12px  !important;border:1px solid #dce8cf  !important;color:var(--rp-text)  !important;margin-top:16px  !important;border-radius:12px  !important;background:#f8fbf4  !important;border-color:#dbe7ca  !important;}
.dsrv-form[data-entity="report"] .dsrv-followup-summary span{display:inline-flex  !important;align-items:center  !important;gap:5px  !important;font-size:12px  !important;line-height:1.35  !important;color:var(--rp-text)  !important;}
.dsrv-form[data-entity="report"] .dsrv-followup-summary strong{font-size:11px  !important;color:var(--rp-text)  !important;}
.dsrv-form[data-entity="task"] .dsrv-time-row--picker,.dsrv-form[data-entity="report"] .dsrv-time-row--picker{position:relative  !important;cursor:pointer  !important;}
.dsrv-form[data-entity="task"] .dsrv-time-row--picker input[type="time"],.dsrv-form[data-entity="report"] .dsrv-time-row--picker input[type="time"]{width:100%  !important;cursor:pointer  !important;}
.dsrv-form[data-entity="task"] .dsrv-form-actions .button,.dsrv-form[data-entity="report"] .dsrv-form-actions .button,.dsrv-case-modal .dsrv-form-actions .button,.dsrv-case-modal .dsrv-rowitem-actions .button,.dsrv-panel[data-panel="okonomi"] .dsrv-rowitem-actions .button{min-height:40px  !important;padding:0 16px  !important;border-radius:999px  !important;font-size:12px  !important;font-weight:700  !important;}
.dsrv-panel[data-panel="okonomi"] .dsrv-rowitem .dsrv-card-title{color:var(--rp-text)  !important;}
.dsrv-case-modal .dsrv-billing-pill.pill-success,.dsrv-panel[data-panel="okonomi"] .dsrv-billing-pill.pill-success{background:#eef6e2  !important;color:#55761f  !important;border-color:#d8e7bb  !important;}
.dsrv-case-modal .dsrv-billing-pill.pill-ghost,.dsrv-panel[data-panel="okonomi"] .dsrv-billing-pill.pill-ghost{background:var(--rp-surface-subtle)  !important;color:var(--rp-muted)  !important;border-color:var(--rp-line)  !important;}
.dsrv-case-modal .dsrv-case-status-pill.pill-success,.dsrv-panel[data-panel="okonomi"] .dsrv-case-status-pill.pill-success{background:#edf7de  !important;color:#53731c  !important;border-color:#d8e8b8  !important;}
.dsrv-case-modal .dsrv-case-status-pill.pill-orange,.dsrv-panel[data-panel="okonomi"] .dsrv-case-status-pill.pill-orange{background:#fff3e4  !important;color:#a1590a  !important;border-color:#f8d7a8  !important;}

.dsrv button.button,.dsrv-form[data-entity="task"] .button,.dsrv-form[data-entity="report"] .button,.dsrv-case-modal .button,.dsrv-panel[data-panel="okonomi"] .button{display:inline-flex  !important;align-items:center  !important;justify-content:center  !important;gap:.55rem  !important;transition:box-shadow .18s ease,border-color .18s ease,transform .18s ease,background .18s ease,color .18s ease  !important;}
.dsrv-panel[data-panel="okonomi"] .dsrv-rowitem::before,.dsrv-case-modal .dsrv-rowitem::before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(180deg,var(--rp-primary),var(--rp-primary-2));}
.dsrv-case-modal h3,.dsrv-panel[data-panel="okonomi"] .dsrv-card-title,.dsrv-case-modal .dsrv-card-title{font-weight:800!important;color:var(--rp-text)!important;}
.dsrv-case-modal .dsrv-muted,.dsrv-panel[data-panel="okonomi"] .dsrv-muted{color:#415063  !important;}
.dsrv-panel[data-panel="okonomi"] .dsrv-rowitem-actions,.dsrv-case-modal .dsrv-rowitem-actions{gap:8px  !important;}
.dsrv-panel[data-panel="okonomi"] .dsrv-rowitem-actions .pill,.dsrv-case-modal .dsrv-rowitem-actions .pill{min-height:30px  !important;padding:0 11px  !important;}
.dsrv-dnd-list .dsrv-task{cursor:grab  !important;}
.rp-pests__grid .rp-pest-card{cursor:default  !important;}
.dsrv-dnd-list .dsrv-task.is-dragging{opacity:.76  !important;cursor:grabbing  !important;}
.rp-pests__grid .rp-pest-card.is-dragging{opacity:.76  !important;cursor:default  !important;}
.dsrv-panel[data-panel="okonomi"] .dsrv-rowitem{padding-left:18px  !important;position:relative  !important;overflow:hidden  !important;border:1px solid var(--rp-line)  !important;background:linear-gradient(180deg,#ffffff 0%,var(--rp-surface-subtle) 100%)  !important;border-radius:18px  !important;box-shadow:0 12px 28px rgba(31,41,55,.06)  !important;}
.dsrv-panel[data-panel="okonomi"] .pill,.dsrv-case-modal .pill{border-radius:999px  !important;}
.dsrv-subtabs--reports .dsrv-subtab{min-height:38px;border-radius:999px;padding:0 14px;font-weight:700;min-width:160px  !important;}
html{-webkit-text-size-adjust:100%;}
body.wp-admin .wrap.dsrv,body .wrap.dsrv{max-width:none;margin-right:0;}
.dsrv{max-width:100%;overflow-wrap:anywhere;}
.dsrv :is(input,select,textarea,button){font:inherit;}
.dsrv .button,.dsrv button,.dsrv input,.dsrv select,.dsrv textarea,.dsrv .dsrv-tab,.dsrv-inline-menu summary{-webkit-tap-highlight-color:transparent;touch-action:manipulation;}
.dsrv-card,.dsrv-col,.dsrv-task,.dsrv-rowitem{max-width:100%;}
.dsrv-touch-actions{display:none;gap:8px;flex-wrap:wrap;width:100%;margin-top:10px;}
@media (hover:none), (pointer:coarse), (max-width:1024px){
  .dsrv-touch-actions{display:flex;}
}
@media (max-width:1100px){
  .dsrv-section-head,.dsrv-row,.dsrv-row-center,.dsrv-row-space,.dsrv-route-toolbar,.dsrv-overview-actions,.dsrv-form-actions{flex-direction:column;align-items:stretch;}
  .dsrv-section-head>*,.dsrv-route-toolbar>*{width:100%;}
  .dsrv-global-search,.dsrv-local-search{width:100%;max-width:none;}
  .dsrv-monthbox{width:100%;min-width:0;max-width:none;}
  .dsrv-monthbox .dsrv-date,.dsrv-employee-select{width:100%;}
  .dsrv-card-stats{grid-template-columns:repeat(auto-fit,minmax(110px,1fr));}

}
@media (max-width:782px){

  .dsrv-main{gap:14px;}

  .dsrv-field input,.dsrv-field select,.dsrv-form-row input,.dsrv-form-row select,.dsrv-form-row textarea{padding:12px 14px;}
  .dsrv-overview-employee-item,.dsrv-overview-action-item,.dsrv-task,.dsrv-rowitem,.dsrv-card{padding:14px;}

  .dsrv-inline-menu{width:100%;}
  .dsrv-inline-menu summary{width:100%;}
  .dsrv-monthbox-head{flex-direction:column;align-items:stretch;}
  .dsrv-monthbox .dsrv-cal-days{max-height:none;padding-right:0;}
}
@media (max-width:560px){

  .dsrv-overview-employee-item,.dsrv-overview-action-item{padding:12px;}
  .dsrv-task-title,.dsrv-rowitem-title,.dsrv-card-title{font-size:15px;}

}
.dsrv-health-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:14px;}
.dsrv-health-card strong{font-size:15px;line-height:1.45;color:var(--rp-text);}
.dsrv-health-card small{font-size:12px;line-height:1.5;color:var(--rp-muted);}
@media (max-width:980px){.dsrv-health-cards{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:640px){.dsrv-health-cards{grid-template-columns:1fr;}.dsrv-health-card strong{font-size:14px;}}
.dsrv-case-modal>.dsrv-muted:first-of-type{padding:14px 16px;border:1px solid #e2e8f0;border-radius:18px;background:#f8fbfc;line-height:1.65;}
.dsrv-case-modal .dsrv-rowitem-actions--compact{gap:8px 10px;flex-wrap:wrap;}
.dsrv-case-modal .dsrv-list{display:grid;gap:14px;}
.dsrv-case-modal .dsrv-rowitem{position:relative  !important;overflow:hidden  !important;background:linear-gradient(180deg,#ffffff 0%,var(--rp-surface-subtle) 100%)  !important;border:1px solid #e7eef5  !important;box-shadow:none  !important;padding:18px  !important;border-radius:20px  !important;}
.dsrv-case-modal .dsrv-rowitem>div[style*="display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))"]>div{background:var(--rp-surface)  !important;border-radius:16px  !important;padding:14px  !important;}
.dsrv-case-modal .dsrv-rowitem>div[style*="white-space:pre-wrap"]{line-height:1.65;border-radius:16px  !important;padding:14px 16px  !important;}

.dsrv-case-viewer__eyebrow{color:#5c6d5e;font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;opacity:.88;margin-bottom:6px;}
.dsrv-setup-modal:not(.rp-pest-setup-form) .dsrv-form-row{margin:0;}
.dsrv-setup-modal:not(.rp-pest-setup-form) input,.dsrv-setup-modal:not(.rp-pest-setup-form) select{background:var(--rp-surface)  !important;min-height:48px;}
.dsrv-setup-modal:not(.rp-pest-setup-form) textarea{background:var(--rp-surface)  !important;min-height:170px;padding-top:14px;}
.dsrv-setup-modal:not(.rp-pest-setup-form) .dsrv-setup-modal__media-card img{max-width:100%;max-height:240px;border-radius:16px;object-fit:contain;}
.dsrv-setup-modal:not(.rp-pest-setup-form) .dsrv-setup-modal__media-actions{flex-wrap:wrap;}
.dsrv-setup-modal:not(.rp-pest-setup-form) .dsrv-setup-modal__actions{padding-top:0;justify-content:flex-end;gap:10px;}
@media (max-width: 900px){
  .dsrv-setup-modal:not(.rp-pest-setup-form) .dsrv-setup-modal__grid{grid-template-columns:1fr;}
}
@media (max-width: 640px){

  .dsrv-case-viewer__hero h3{font-size:24px;}
}
.dsrv-case-viewer__hero{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap;border-top:5px solid var(--rp-primary)  !important;padding:0 0 14px  !important;border:none  !important;border-bottom:1px solid var(--rp-line)  !important;border-radius:0  !important;background:transparent  !important;box-shadow:none  !important;color:var(--rp-text)  !important;}
.dsrv-case-viewer__hero h3{margin:0  !important;font-size:22px  !important;line-height:1.15  !important;color:var(--rp-text)  !important;}
.dsrv-case-viewer__subtitle{line-height:1.6;margin-top:6px  !important;font-size:12px  !important;color:var(--rp-muted)!important;max-width:620px  !important;}
.dsrv-case-viewer__intro{display:grid;grid-template-columns:minmax(0,1fr) auto  !important;gap:12px  !important;padding:0  !important;border:none  !important;border-radius:0  !important;background:transparent  !important;box-shadow:none  !important;}
.dsrv-case-viewer__intro-main{min-width:0;font-size:13px  !important;line-height:1.6  !important;color:var(--rp-muted)  !important;}
.dsrv-case-viewer__intro-main strong{display:block;font-size:16px  !important;line-height:1.35  !important;color:var(--rp-text)  !important;margin-bottom:4px  !important;}
.dsrv-case-viewer__intro-line{color:var(--rp-muted)!important;}
.dsrv-case-viewer__meta-note{box-shadow:none  !important;padding:12px 14px  !important;border:1px solid var(--rp-line)  !important;border-radius:14px  !important;background:var(--rp-surface-subtle)  !important;color:var(--rp-muted)  !important;line-height:1.6  !important;}
.dsrv-case-viewer__section-head{display:flex  !important;justify-content:space-between  !important;gap:12px  !important;align-items:flex-end  !important;flex-wrap:wrap  !important;padding:0  !important;}
@media (max-width: 900px){.dsrv-case-viewer__intro{grid-template-columns:1fr  !important;}.dsrv-case-viewer__intro-actions{justify-content:flex-start  !important;}}
@media (max-width: 640px){.dsrv-case-viewer__visit-actions{padding-left:14px  !important;padding-right:14px  !important;}}
.dsrv-case-report{padding:0  !important;border-radius:24px  !important;overflow:hidden;}
.dsrv-case-report__info-card strong{display:block;font-size:15px;line-height:1.55;color:var(--rp-text);overflow-wrap:anywhere;white-space:normal;}
.dsrv-case-report__panel .flow-shell{margin-top:16px;padding:18px 16px 8px;border:1px solid #e7eee1;border-radius:24px;background:linear-gradient(180deg,#fcfdfb 0%,#f7faf5 100%);}
.dsrv-case-report__panel .timeline{position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;}
.dsrv-case-report__panel .timeline::before{content:"";position:absolute;left:7%;right:7%;top:24px;height:4px;border-radius:999px;background:linear-gradient(90deg,#d7e8c8 0%,#dbe6d5 100%);z-index:0;}
.dsrv-case-report__panel .step{position:relative;z-index:1;display:flex;flex-direction:column;gap:8px;min-height:164px;}
.dsrv-case-report__panel .step-icon{width:50px;height:50px;border-radius:16px;display:grid;place-items:center;margin-bottom:2px;}
.dsrv-case-report__panel .step.done .step-icon{background:linear-gradient(180deg,#dff0cf 0%,#cde8b7 100%);border:1px solid #c9e1b0;color:#5f962c;box-shadow:0 10px 20px rgba(95,150,44,.10);}
.dsrv-case-report__panel .step.current .step-icon,.dsrv-case-report__panel .step.closed .step-icon{background:linear-gradient(180deg,#84C23A 0%,#79B43A 100%);color:#fff;border:1px solid #7db53f;box-shadow:0 12px 22px rgba(103,161,47,.20);}
.dsrv-case-report__panel .step.pending-close .step-icon{background:linear-gradient(180deg,#ffd68a 0%,#f5be5c 100%);color:#8a5a00;border:1px solid #efc57f;box-shadow:0 10px 20px rgba(197,138,28,.12);}
.dsrv-case-report__panel .step-icon svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round;}
.dsrv-case-report__panel .step-title{margin:0;font-size:15px;font-weight:800;line-height:1.25;color:#203022;}
.dsrv-case-report__panel .step-time{margin:0;font-size:13px;font-weight:800;line-height:1.4;color:#203022;}
.dsrv-case-report__panel .step-desc{margin:0;font-size:12px;line-height:1.55;color:#6b756d;}
.dsrv-case-report__panel .step.pending-close .step-desc{color:#7b694b;}
.dsrv-case-report__panel .summary{margin-top:14px;border:1px solid var(--rp-line);border-radius:18px;background:var(--rp-surface-subtle);padding:4px 18px;}
.dsrv-case-report__panel .summary-row{display:flex;justify-content:space-between;gap:14px;padding:14px 0;border-bottom:1px solid #edf1ea;}
.dsrv-case-report__panel .summary-row:last-child{border-bottom:0;}
.dsrv-case-report__panel .summary-key{font-size:14px;font-weight:600;color:#6b756d;}
.dsrv-case-report__panel .summary-value{font-size:14px;font-weight:800;color:#203022;text-align:right;}
.dsrv-case-report__panel .photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:14px;}
.dsrv-case-report__panel .photo-card{border:1px solid var(--rp-line);border-radius:18px;background:var(--rp-surface-subtle);padding:12px;}
.dsrv-case-report__panel .photo-card img{display:block;width:100%;height:auto;border-radius:14px;}
.dsrv-case-report__panel .photo-label{display:block;margin-bottom:10px;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#6b756d;}

.dsrv-panel[data-panel="backup"] .pill.pill-ghost{background:#f5f8f4;border-color:var(--rp-line);color:var(--rp-muted-strong);}
.dsrv-panel[data-panel="backup"] .pill.pill-success{background:#e7f4dc;border-color:#d1e7bb;color:#35511b;}
@media (max-width: 900px){
  .dsrv-case-report__panel .photo-grid{grid-template-columns:1fr;}
  .dsrv-case-report__panel .timeline{grid-template-columns:repeat(2,minmax(0,1fr));}
  .dsrv-case-report__panel .timeline::before{display:none;}
}
@media (max-width: 640px){
  .dsrv-case-report__panel{padding:16px;}

  .dsrv-case-report__panel .timeline{grid-template-columns:1fr;}
}

/* Canonical plan-summary: labels and values remain visually separated and readable. */
.dsrv-form[data-entity="task"] .dsrv-booking-summary-block{margin:16px 0 2px;}
.dsrv-form[data-entity="task"] .dsrv-booking-side-card{padding:14px;border:1px solid var(--rp-line);border-radius:14px;background:linear-gradient(180deg,var(--rp-surface-subtle),#f6faf3);box-shadow:none;}
.dsrv-form[data-entity="task"] .dsrv-booking-side-card__eyebrow{margin-bottom:4px;color:#5f7463;font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;}
.dsrv-form[data-entity="task"] .dsrv-booking-side-card h4{margin:0 0 10px;color:var(--rp-text);font-size:14px;line-height:1.3;}
.dsrv-form[data-entity="task"] .dsrv-booking-side-list{display:grid;gap:0;margin:0;padding:0;list-style:none;border-top:1px solid var(--rp-line);}
.dsrv-form[data-entity="task"] .dsrv-booking-side-list li{display:grid;grid-template-columns:minmax(90px,120px) minmax(0,1fr);gap:14px;align-items:center;padding:9px 2px;border-bottom:1px solid #e8eee5;}
.dsrv-form[data-entity="task"] .dsrv-booking-side-list li strong{color:#647168;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.04em;}
.dsrv-form[data-entity="task"] .dsrv-booking-side-list li span{min-width:0;color:var(--rp-text);font-size:12px;font-weight:800;line-height:1.4;text-align:right;overflow-wrap:anywhere;}
.dsrv-form[data-entity="task"] .dsrv-booking-side-note{margin-top:10px;padding:9px 10px;border-radius:10px;background:color-mix(in srgb,var(--rp-primary) 9%,var(--rp-surface) 91%);color:#38533d;font-size:10.5px;line-height:1.45;}
@media(max-width:640px){.dsrv-form[data-entity="task"] .dsrv-booking-side-list li{grid-template-columns:1fr;gap:3px;}.dsrv-form[data-entity="task"] .dsrv-booking-side-list li span{text-align:left;}}

/* Canonical KPI component — light by default; cover variant is owned below. */
.rp-cover-kpi{position:relative;display:grid;align-content:start;min-width:0;min-height:108px;padding:14px 15px;overflow:hidden;border:1px solid var(--rp-line);border-radius:18px;background:linear-gradient(180deg,var(--rp-surface),var(--rp-surface-subtle));color:var(--rp-text);box-shadow:var(--rp-shadow-sm);transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease,background .16s ease;}
.rp-cover-kpi::before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;border-radius:18px 0 0 18px;background:linear-gradient(180deg,color-mix(in srgb,var(--rp-primary) 82%,#fff 18%),var(--rp-button-primary));}
.rp-cover-kpi[role="button"]{cursor:pointer;}
.rp-cover-kpi[role="button"]:hover,.rp-cover-kpi[role="button"]:focus{transform:translateY(-1px);border-color:color-mix(in srgb,var(--rp-primary) 38%,var(--rp-line) 62%);box-shadow:var(--rp-shadow-hover);outline:0;}
.rp-cover-kpi__head{position:relative;z-index:1;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:9px;}
.rp-cover-kpi__icon{display:grid;place-items:center;width:34px;height:34px;}
.rp-cover-kpi__icon .rp-ui-icon-tile{width:34px!important;height:34px!important;flex-basis:34px!important;padding:7px!important;border:1px solid color-mix(in srgb,var(--rp-primary) 24%,var(--rp-line) 76%)!important;border-radius:11px!important;background:linear-gradient(180deg,var(--rp-surface),var(--rp-primary-soft))!important;box-shadow:0 6px 14px color-mix(in srgb,var(--rp-primary-dark) 8%,transparent)!important;}
.rp-cover-kpi__title{display:block;min-width:0;color:var(--rp-muted)!important;font-size:9.5px!important;font-weight:900!important;line-height:1.2!important;letter-spacing:.06em!important;text-transform:uppercase!important;}
.rp-cover-kpi__value{position:relative;z-index:1;display:block;margin:11px 0 0!important;color:var(--rp-text)!important;font-size:25px!important;font-weight:950!important;line-height:1!important;letter-spacing:-.035em!important;}
.rp-cover-kpi__subtitle{position:relative;z-index:1;display:block;margin:6px 0 0!important;color:var(--rp-muted)!important;font-size:10px!important;font-weight:650!important;line-height:1.4!important;}
.rp-cover-kpi.is-warning,.rp-cover-kpi.is-requires{border-color:var(--rp-warning-line);background:linear-gradient(180deg,color-mix(in srgb,var(--rp-warning) 8%,var(--rp-surface) 92%),var(--rp-surface));}
.rp-cover-kpi.is-warning::before,.rp-cover-kpi.is-requires::before{background:linear-gradient(180deg,color-mix(in srgb,var(--rp-warning) 78%,#fff 22%),var(--rp-warning));}
.rp-cover-kpi.is-positive,.rp-cover-kpi.is-primary,.rp-cover-kpi.is-ready{border-color:color-mix(in srgb,var(--rp-primary) 26%,var(--rp-line) 74%);background:linear-gradient(180deg,color-mix(in srgb,var(--rp-primary) 6%,var(--rp-surface) 94%),var(--rp-surface));}

/* Premium page hero: one canonical cover layer.
 * Full-bleed inside the Ruteplan main area. Actions and KPI/status rows are
 * moved into this single layer by admin-shell.js; no duplicate markup is made. */

.dsrv.rp-ui .dsrv-panel>.rp-page-cover{position:relative;isolation:isolate;min-height:248px;margin:-26px -28px 22px;overflow:hidden;border:0;border-bottom:1px solid color-mix(in srgb,var(--rp-primary) 28%,transparent);border-radius:0 0 24px 24px;background-color:var(--rp-cover-start,var(--rp-primary-dark));background-image:var(--rp-page-cover-image,linear-gradient(135deg,var(--rp-cover-start,var(--rp-primary-dark)),var(--rp-cover-mid,var(--rp-primary-dark)) 52%,var(--rp-cover-end,var(--rp-primary))));background-size:cover;background-repeat:no-repeat;background-position:center center;box-shadow:0 24px 48px rgba(13,43,24,.16);color:#fff;}
.dsrv.rp-ui .dsrv-panel>.rp-page-cover.has-dock{min-height:326px;}
.rp-page-cover__veil{position:absolute;inset:0;z-index:-1;background:radial-gradient(circle at 82% 14%,rgba(255,255,255,.18),transparent 25%),linear-gradient(92deg,var(--rp-cover-veil-1) 0%,var(--rp-cover-veil-2) 28%,var(--rp-cover-veil-3) 52%,var(--rp-cover-veil-4) 72%,var(--rp-cover-veil-5) 100%),linear-gradient(180deg,rgba(255,255,255,.04),transparent 48%,rgba(2,15,9,.28) 100%);pointer-events:none;}
.rp-page-cover__content{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.76fr);align-items:center;gap:28px;min-height:172px;padding:38px 32px 26px;}
.rp-page-cover:not(.has-actions) .rp-page-cover__content{grid-template-columns:1fr;}
.rp-page-cover__main{display:flex;align-items:center;gap:15px;min-width:0;}
.rp-page-cover__icon{flex:0 0 auto;}
.rp-page-cover__icon .rp-ui-icon-tile{width:56px;height:56px;flex-basis:56px;border:1px solid rgba(255,255,255,.28)!important;border-radius:16px;background:rgba(247,255,244,.96)!important;box-shadow:0 14px 30px rgba(0,0,0,.20)!important;}
.rp-page-cover__copy{display:grid;gap:5px;min-width:0;text-shadow:0 2px 12px rgba(0,0,0,.34);}
.rp-page-cover__copy small{color:rgba(238,248,241,.78);font-size:9.5px;font-weight:880;letter-spacing:.10em;text-transform:uppercase;}
.rp-page-cover__copy strong{color:#fff;font-size:34px;line-height:1;font-weight:930;letter-spacing:-.04em;}
.rp-page-cover__copy em{display:block;max-width:760px;color:rgba(240,248,242,.92);font-style:normal;font-size:12px;line-height:1.5;font-weight:650;}
.rp-page-cover__actions{display:flex;align-items:center;justify-content:flex-end;min-width:0;}
.rp-page-cover__actions:empty,.rp-page-cover__dock:empty{display:none;}
.rp-page-cover__actions .rp-page-actionbar{width:100%;min-height:0;margin:0;padding:0;justify-content:flex-end;background:transparent;border:0;box-shadow:none;}
.rp-page-cover__actions .rp-page-actionbar>.dsrv-row,.rp-page-cover__actions .rp-page-actionbar>.rp-customer-searchbar,.rp-page-cover__actions .rp-page-actionbar>.dsrv-task-search-wrap{width:100%;justify-content:flex-end;}
.rp-page-cover__actions .button{min-height:40px;margin:0!important;border-color:rgba(255,255,255,.24)!important;background:rgba(5,24,15,.60)!important;color:#f6fff6!important;box-shadow:0 10px 24px rgba(0,0,0,.16)!important;backdrop-filter:blur(10px);}
.rp-page-cover__actions .button:hover,.rp-page-cover__actions .button:focus{border-color:color-mix(in srgb,var(--rp-primary) 62%,rgba(255,255,255,.24))!important;background:color-mix(in srgb,var(--rp-primary-dark) 76%,transparent)!important;color:#fff!important;}
.rp-page-cover__actions .button.button-primary{border-color:var(--rp-button-primary-border)!important;background:linear-gradient(155deg,var(--rp-button-primary-start),var(--rp-button-primary) 38%,var(--rp-button-primary-end) 100%)!important;color:#fff!important;text-shadow:0 1px 1px rgba(8,33,14,.25)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.20),0 12px 26px var(--rp-button-primary-hover-shadow)!important;}
.rp-page-cover__actions .button.button-primary:hover,.rp-page-cover__actions .button.button-primary:focus-visible{border-color:var(--rp-button-primary-hover-border)!important;background:linear-gradient(155deg,var(--rp-button-primary-start),var(--rp-button-primary-hover) 44%,var(--rp-button-primary-end))!important;color:#fff!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.28),0 16px 32px rgba(36,107,37,.30)!important;}
.rp-page-cover__actions input[type="text"],.rp-page-cover__actions input[type="search"],.rp-page-cover__actions input[type="date"],.rp-page-cover__actions select{min-height:40px;border-color:rgba(255,255,255,.20)!important;background:rgba(255,255,255,.96)!important;color:var(--rp-text)!important;box-shadow:0 10px 24px rgba(0,0,0,.12)!important;}
.rp-page-cover__dock{position:relative;z-index:1;display:grid;gap:12px;padding:0 28px 24px;}
.rp-page-cover__dock .rp-ui-kpi-grid,.rp-page-cover__dock .dsrv-task-overview-strip,.rp-page-cover__dock .dsrv-reports-overview-strip,.rp-page-cover__dock .dsrv-economy-overview-strip,.rp-page-cover__dock .dsrv-employee-kpis,.rp-page-cover__dock .rp-pests__metrics{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(168px,1fr))!important;gap:12px!important;margin:0!important;}
.rp-page-cover__dock .rp-settings-cover-kpis{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;margin:0!important;}
.rp-page-cover__dock .rp-settings-cover-kpis a{text-decoration:none!important;}
.rp-page-cover__dock .rp-settings-cover-kpi{min-height:112px!important;}
.rp-page-cover__dock .rp-settings-cover-kpi .rp-cover-kpi__value{font-size:18px!important;line-height:1.12!important;letter-spacing:-.015em!important;}
.rp-page-cover__dock .rp-settings-cover-kpi:hover,.rp-page-cover__dock .rp-settings-cover-kpi:focus{transform:translateY(-2px);border-color:color-mix(in srgb,var(--rp-primary) 48%,rgba(255,255,255,.18));background:linear-gradient(145deg,color-mix(in srgb,var(--rp-primary-dark) 90%,#000 10%),color-mix(in srgb,var(--rp-primary-dark) 62%,var(--rp-primary) 38%));box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 18px 36px rgba(0,0,0,.23);outline:0;}
.rp-page-cover__dock .rp-cover-kpi{position:relative;display:grid;grid-template-columns:46px minmax(0,1fr);grid-template-rows:auto auto auto;column-gap:12px;row-gap:3px;align-content:center;min-width:0;min-height:116px;padding:14px 16px 13px;overflow:hidden;border:1px solid rgba(255,255,255,.17);border-radius:18px;background:linear-gradient(145deg,var(--rp-cover-kpi-start),var(--rp-cover-kpi-end));color:#fff;box-shadow:0 12px 26px rgba(0,0,0,.14);backdrop-filter:blur(15px);transition:transform .16s ease,border-color .16s ease,background .16s ease,box-shadow .16s ease;}
.rp-page-cover__dock .rp-cover-kpi::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;border-radius:16px 0 0 16px;background:linear-gradient(180deg,var(--rp-cover-accent-start),var(--rp-cover-accent-end));opacity:.95;}
.rp-page-cover__dock .rp-cover-kpi::after{content:"";position:absolute;right:-24px;top:-42px;width:128px;height:128px;border-radius:999px;background:radial-gradient(circle,color-mix(in srgb,var(--rp-primary) 18%,transparent),transparent 67%);pointer-events:none;}
.rp-page-cover__dock .rp-cover-kpi[role="button"]{cursor:pointer;}
.rp-page-cover__dock .rp-cover-kpi[role="button"]:hover,.rp-page-cover__dock .rp-cover-kpi[role="button"]:focus{transform:translateY(-1px);border-color:color-mix(in srgb,var(--rp-primary) 42%,rgba(255,255,255,.18));background:linear-gradient(145deg,var(--rp-cover-kpi-hover-start),var(--rp-cover-kpi-hover-end));box-shadow:inset 0 1px 0 rgba(255,255,255,.11),0 14px 28px rgba(0,0,0,.17);outline:0;}
.rp-page-cover__dock .rp-cover-kpi__head{display:contents!important;}
.rp-page-cover__dock .rp-cover-kpi__icon{position:relative;z-index:1;grid-column:1;grid-row:1/4;align-self:center;display:grid;place-items:center;width:42px;height:42px;min-width:42px;}
.rp-page-cover__dock .rp-cover-kpi__icon .rp-ui-icon-tile{width:46px!important;height:46px!important;flex-basis:46px!important;padding:8px!important;border-radius:14px!important;background:color-mix(in srgb,var(--rp-tile-ink) 18%,rgba(7,31,20,.20))!important;border:1px solid color-mix(in srgb,var(--rp-tile-ink) 34%,rgba(255,255,255,.20))!important;color:color-mix(in srgb,var(--rp-tile-ink) 62%,#fff)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.13),0 7px 15px rgba(0,0,0,.10)!important;}
.rp-page-cover__dock .rp-cover-kpi__icon .rp-ui-icon-tile::before{background:linear-gradient(145deg,rgba(255,255,255,.10),transparent 50%)!important;}
.rp-page-cover__dock .rp-cover-kpi__icon .rp-ui-icon-tile::after{background:color-mix(in srgb,var(--rp-tile-ink) 24%,transparent)!important;}
.rp-page-cover__dock .rp-cover-kpi__icon .rp-icon{width:23px!important;height:23px!important;}
.rp-page-cover__dock .rp-cover-kpi__icon .rp-ui-icon-tile.is-emoji .rp-icon--emoji>span{font-size:28px!important;filter:saturate(1.08) drop-shadow(0 1px 1px rgba(0,0,0,.14));}
.rp-page-cover__dock .rp-cover-kpi__title{position:relative;z-index:1;grid-column:2;grid-row:1;display:block;min-width:0;margin:0!important;overflow:hidden;color:#fff!important;font-size:10.5px!important;font-weight:950!important;line-height:1.15!important;letter-spacing:.035em!important;text-align:left!important;text-transform:uppercase!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;white-space:normal!important;overflow-wrap:normal!important;word-break:keep-all!important;hyphens:none!important;text-shadow:0 1px 2px rgba(0,0,0,.18)!important;}
.rp-page-cover__dock .rp-cover-kpi__value{position:relative;z-index:1;grid-column:2;grid-row:2;display:block;min-width:0;margin:0!important;color:#fff!important;font-size:26px!important;font-weight:950!important;line-height:1!important;letter-spacing:-.03em!important;white-space:nowrap!important;text-shadow:0 1px 2px rgba(0,0,0,.15)!important;}
.rp-page-cover__dock .rp-cover-kpi__subtitle{position:relative;z-index:1;grid-column:2;grid-row:3;display:block;min-width:0;margin:1px 0 0!important;overflow:hidden;color:rgba(250,255,251,.98)!important;font-size:10.2px!important;font-weight:720!important;line-height:1.25!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;text-shadow:0 1px 1px rgba(0,0,0,.12)!important;}
.rp-page-cover__dock .rp-cover-kpi.is-warning,.rp-page-cover__dock .rp-cover-kpi.is-requires{border-color:color-mix(in srgb,var(--rp-warning) 38%,rgba(255,255,255,.17));background:linear-gradient(160deg,color-mix(in srgb,var(--rp-warning) 35%,var(--rp-primary-dark) 65%),color-mix(in srgb,var(--rp-warning) 18%,var(--rp-primary-dark) 82%));}
.rp-page-cover__dock .rp-cover-kpi.is-warning::before,.rp-page-cover__dock .rp-cover-kpi.is-requires::before{background:linear-gradient(180deg,color-mix(in srgb,var(--rp-warning) 74%,#fff 26%),var(--rp-warning));}
.rp-page-cover__dock .rp-cover-kpi.is-positive,.rp-page-cover__dock .rp-cover-kpi.is-primary,.rp-page-cover__dock .rp-cover-kpi.is-ready{border-color:color-mix(in srgb,var(--rp-primary) 34%,rgba(255,255,255,.16));background:linear-gradient(160deg,color-mix(in srgb,var(--rp-primary-dark) 72%,var(--rp-primary) 28%),color-mix(in srgb,var(--rp-primary-dark) 86%,#000 14%));}
.rp-page-cover__dock .rp-cover-kpi.is-positive::before,.rp-page-cover__dock .rp-cover-kpi.is-primary::before,.rp-page-cover__dock .rp-cover-kpi.is-ready::before{background:linear-gradient(180deg,color-mix(in srgb,var(--rp-primary) 82%,#fff 18%),var(--rp-button-primary));}
.rp-page-cover__dock .rp-cover-kpi.is-warning::after,.rp-page-cover__dock .rp-cover-kpi.is-requires::after{background:radial-gradient(circle,color-mix(in srgb,var(--rp-warning) 16%,transparent),transparent 67%);}
.rp-page-cover__actions .rp-cover-search{position:relative;display:flex;align-items:center;width:min(100%,620px);min-width:260px;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;}
.rp-page-cover__actions .rp-cover-search--wide{width:min(100%,760px);}
.rp-page-cover__actions .rp-cover-search--icons{flex:1 1 280px;width:min(100%,360px);min-width:220px;}
.rp-page-cover__actions .rp-cover-search__icon{position:absolute;z-index:2;left:6px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:31px;height:31px;border:1px solid var(--rp-line);border-radius:9px;background:linear-gradient(180deg,#f9fff7,#eef8ea);color:var(--rp-primary-dark);box-shadow:0 4px 10px rgba(22,68,34,.07);pointer-events:none;}
.rp-page-cover__actions .rp-cover-search input[type="text"],.rp-page-cover__actions .rp-cover-search input[type="search"]{width:100%!important;min-width:0!important;min-height:44px!important;padding:0 14px 0 46px!important;border:1px solid rgba(255,255,255,.42)!important;border-radius:13px!important;color:var(--rp-text)!important;font-size:12px!important;font-weight:720!important;line-height:1!important;}
.rp-page-cover__actions .rp-cover-search input:focus{border-color:color-mix(in srgb,var(--rp-primary) 62%,#fff 38%)!important;box-shadow:0 0 0 3px var(--rp-primary-focus),0 10px 24px rgba(0,0,0,.14)!important;}
.rp-page-cover__actions .rp-customer-searchbar,.rp-page-cover__actions .rp-ui-actions-end{display:flex!important;align-items:center!important;gap:7px!important;}
.rp-page-cover__actions .rp-pests__toolbar{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important;width:100%!important;min-width:0!important;}
.rp-page-cover__actions .rp-customer-searchbar .rp-cover-search,.rp-page-cover__actions .rp-ui-actions-end .rp-cover-search{flex:1 1 auto;}
@media(max-width:1280px){.rp-page-cover__content{grid-template-columns:minmax(0,1fr) minmax(280px,.72fr);gap:20px;}.rp-page-cover__dock .rp-ui-kpi-grid,.rp-page-cover__dock .dsrv-task-overview-strip,.rp-page-cover__dock .dsrv-reports-overview-strip,.rp-page-cover__dock .dsrv-economy-overview-strip,.rp-page-cover__dock .dsrv-employee-kpis,.rp-page-cover__dock .rp-pests__metrics{grid-template-columns:repeat(auto-fit,minmax(158px,1fr))!important;}}
@media(max-width:960px){.rp-page-cover__dock .rp-settings-cover-kpis{grid-template-columns:1fr!important;}.dsrv.rp-ui .dsrv-panel>.rp-page-cover{margin:-12px -12px 16px;min-height:228px;border-radius:0 0 18px 18px;background-size:cover,cover;}.rp-page-cover__content{grid-template-columns:1fr;min-height:0;padding:28px 18px 18px;gap:14px;}.rp-page-cover__copy strong{font-size:27px;}.rp-page-cover__copy em{font-size:11.5px;}.rp-page-cover__actions{justify-content:stretch;}.rp-page-cover__actions .rp-page-actionbar,.rp-page-cover__actions .rp-page-actionbar>.dsrv-row,.rp-page-cover__actions .rp-page-actionbar>.rp-customer-searchbar,.rp-page-cover__actions .rp-page-actionbar>.dsrv-task-search-wrap{width:100%;justify-content:flex-start;}.rp-page-cover__dock{padding:0 16px 18px;}.rp-page-cover__dock .rp-ui-kpi-grid,.rp-page-cover__dock .dsrv-task-overview-strip,.rp-page-cover__dock .dsrv-reports-overview-strip,.rp-page-cover__dock .dsrv-economy-overview-strip,.rp-page-cover__dock .dsrv-employee-kpis,.rp-page-cover__dock .rp-pests__metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
@media(max-width:782px){.dsrv.rp-ui .dsrv-panel>.rp-page-cover{margin:-8px -8px 14px;}.rp-page-cover__content{padding-top:20px;}.rp-page-cover__dock{padding-left:12px;padding-right:12px;}}
@media(max-width:640px){.rp-page-cover__content{padding:18px 12px 12px;}.rp-page-cover__main{align-items:flex-start;}.rp-page-cover__icon .rp-ui-icon-tile{width:44px;height:44px;flex-basis:44px;border-radius:12px;}.rp-page-cover__copy strong{font-size:22px;}.rp-page-cover__copy em{max-width:none;}.rp-page-cover__actions .rp-page-actionbar{align-items:stretch;flex-direction:column;}.rp-page-cover__actions .rp-page-actionbar .dsrv-row,.rp-page-cover__actions .rp-page-actionbar .rp-customer-searchbar,.rp-page-cover__actions .rp-page-actionbar .dsrv-task-search-wrap{display:grid!important;grid-template-columns:1fr!important;gap:7px!important;}.rp-page-cover__actions input,.rp-page-cover__actions select,.rp-page-cover__actions .button{width:100%!important;}.rp-page-cover__dock .rp-ui-kpi-grid,.rp-page-cover__dock .dsrv-task-overview-strip,.rp-page-cover__dock .dsrv-reports-overview-strip,.rp-page-cover__dock .dsrv-economy-overview-strip,.rp-page-cover__dock .dsrv-employee-kpis,.rp-page-cover__dock .rp-pests__metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important;}.rp-page-cover__dock .rp-cover-kpi{min-height:96px;padding:10px 10px 10px;}.rp-page-cover__dock .rp-cover-kpi__value{font-size:20px!important;}.dsrv.rp-ui .dsrv-panel>.rp-page-cover{background-size:cover,cover;background-position:center center,65% center;}}
@media(max-width:360px){.rp-page-cover__dock .rp-ui-kpi-grid,.rp-page-cover__dock .dsrv-task-overview-strip,.rp-page-cover__dock .dsrv-reports-overview-strip,.rp-page-cover__dock .dsrv-economy-overview-strip,.rp-page-cover__dock .dsrv-employee-kpis,.rp-page-cover__dock .rp-pests__metrics{grid-template-columns:1fr!important;}}

.rp-page-actionbar{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-height:42px;margin:0 0 12px;padding:0;border:0;background:transparent;box-shadow:none;}
.rp-page-actionbar>*{min-width:0;}
.rp-page-actionbar .dsrv-row,.rp-page-actionbar .rp-customer-searchbar,.rp-page-actionbar .dsrv-task-search-wrap{width:100%;margin:0;}
.rp-page-actionbar input[type="text"],.rp-page-actionbar input[type="search"]{min-height:38px;}
.rp-page-actionbar .button{margin:0;}
.rp-page-cover-editor{display:grid;gap:10px;}
.rp-page-cover-overrides{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}
.rp-page-cover-row{display:grid;grid-template-columns:150px minmax(150px,.65fr) minmax(220px,1fr) auto;gap:10px;align-items:center;padding:10px;border:1px solid #dce6da;border-radius:14px;background:var(--rp-surface);}
.rp-page-cover-row.is-default{grid-template-columns:190px minmax(180px,.65fr) minmax(260px,1fr) auto;border-color:#b9d8ad;background:linear-gradient(180deg,#fff,var(--rp-surface-subtle));}
.rp-page-cover-row__preview{position:relative;display:flex;align-items:center;gap:8px;min-height:54px;padding:8px 10px;overflow:hidden;border-radius:11px;background-image:linear-gradient(95deg,rgba(15,56,28,.85),rgba(59,122,50,.56)),var(--rp-cover-preview,linear-gradient(135deg,#173d25,#6ca83c));background-size:cover;background-position:center;color:#fff;}
.rp-page-cover-row__preview .rp-ui-icon-tile{width:34px;height:34px;flex-basis:34px;border-radius:10px;background:rgba(255,255,255,.9)!important;}
.rp-page-cover-row__preview strong{min-width:0;color:#fff;font-size:11px;text-shadow:0 1px 4px rgba(0,0,0,.25);}
.rp-page-cover-row__copy{display:grid;gap:2px;min-width:0;}.rp-page-cover-row__copy strong{color:var(--rp-text);font-size:11px;}.rp-page-cover-row__copy small{color:var(--rp-muted);font-size:9.5px;line-height:1.35;}.rp-page-cover-row>input{width:100%;min-width:0;}.rp-page-cover-row__actions{display:flex;gap:6px;justify-content:flex-end;}.rp-page-cover-row__actions .button{margin:0!important;white-space:nowrap;}
@media(max-width:1100px){.rp-page-cover-overrides{grid-template-columns:1fr;}.rp-page-cover-row,.rp-page-cover-row.is-default{grid-template-columns:150px minmax(0,1fr) auto;}.rp-page-cover-row__copy{display:none;}.rp-page-cover-row>input{grid-column:2;}}
@media(max-width:680px){.rp-page-cover-row,.rp-page-cover-row.is-default{grid-template-columns:1fr;}.rp-page-cover-row>input,.rp-page-cover-row__actions{grid-column:1;}.rp-page-cover-row__actions{justify-content:flex-start;}}

/* Extra helper card for cover size guidance. */
.rp-page-cover-guide{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px;}
.rp-page-cover-guide>div{display:grid;grid-template-columns:auto 1fr;gap:8px 10px;align-items:start;padding:11px 12px;border:1px solid var(--rp-line);border-radius:14px;background:linear-gradient(180deg,#fff,#f7fbf4);}
.rp-page-cover-guide .rp-ui-icon-tile{grid-row:1 / span 2;}
.rp-page-cover-guide strong{display:block;color:#1d3426;font-size:12px;line-height:1.25;}
.rp-page-cover-guide span{display:block;color:var(--rp-muted);font-size:11px;line-height:1.5;}
.rp-page-cover-guide b{color:#25472f;}
@media(max-width:800px){.rp-page-cover-guide{grid-template-columns:1fr;}}

.dsrv-setup-modal:not(.rp-pest-setup-form) .dsrv-setup-modal__media-card--small img{max-height:150px;}
.dsrv-setup-modal:not(.rp-pest-setup-form) .dsrv-muted,.dsrv-setup-modal:not(.rp-pest-setup-form) input,.dsrv-setup-modal:not(.rp-pest-setup-form) select,.dsrv-setup-modal:not(.rp-pest-setup-form) textarea{color:var(--rp-text)!important;}
.dsrv-setup-modal:not(.rp-pest-setup-form) .dsrv-muted{opacity:.88;}
.dsrv-panel[data-panel="backup"] .dsrv-rowitem-title{color:var(--rp-text);}
.dsrv-panel[data-panel="backup"] .pill{border-color:var(--rp-line);}
.dsrv-report-admin-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 14px;}
.dsrv-report-admin-fact{padding:12px 14px;border:1px solid var(--rp-line);border-radius:16px;background:linear-gradient(180deg,var(--rp-surface) 0%,var(--rp-surface-subtle) 100%);}
.dsrv-report-admin-fact span{display:block;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--rp-muted);margin-bottom:5px;}
.dsrv-report-admin-fact strong{display:block;font-size:14px;color:var(--rp-text);line-height:1.45;word-break:break-word;}
.dsrv-followup-explain{margin:8px 0 10px;padding:10px 12px;border:1px solid var(--rp-line);border-radius:14px;background:var(--rp-surface-subtle);color:#3f5340;line-height:1.6;font-size:12px;}
.dsrv-case-viewer{padding-top:4px;display:grid;padding:0  !important;gap:12px  !important;background:transparent  !important;}
.dsrv-case-viewer__hero,.dsrv-case-viewer__intro,.dsrv-case-viewer__meta-note,.dsrv-case-viewer__section-head{margin:0  !important;}
.dsrv-case-report-fold__eyebrow{display:block;margin-bottom:4px;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--rp-muted);}
.dsrv-case-report-fold__body{padding:0;background:transparent;}
.dsrv-case-report-fold[open] .dsrv-case-report-fold__summary strong,.dsrv-case-report-fold[open] .dsrv-case-report-fold__summary .dsrv-muted,.dsrv-case-report-fold[open] .dsrv-case-report-fold__eyebrow{color:#fff  !important;opacity:1;}
.dsrv-case-viewer__visit-card.dsrv-case-report{display:block  !important;width:100%  !important;min-width:0  !important;grid-template-columns:none  !important;border:none  !important;border-radius:0  !important;box-shadow:none  !important;background:transparent  !important;padding:0  !important;}
.dsrv-case-report__grid,.dsrv-case-report__panel,.dsrv-case-viewer__visit-actions{padding-left:20px;padding-right:20px;}
.dsrv-case-report__sub{line-height:1.6;margin:0 0 12px;color:#5a6b5f;font-size:12px;}
.dsrv-case-report .photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
.dsrv-case-report .photo-card{padding:12px;border:1px solid var(--rp-line);background:var(--rp-surface-subtle);}
.dsrv-case-report .dsrv-rowitem-actions{padding-bottom:18px;}

.dsrv-setup-modal:not(.rp-pest-setup-form) .dsrv-setup-modal__grid{display:grid;gap:16px;grid-template-columns:1fr 1fr  !important;}
.dsrv-setup-modal:not(.rp-pest-setup-form) .dsrv-setup-modal__media-card--small{padding:14px;min-height:140px  !important;max-height:140px  !important;}
.dsrv-setup-modal:not(.rp-pest-setup-form) .dsrv-setup-modal__media-card{display:flex;align-items:center;justify-content:center;min-height:220px;border:1px dashed #c5d7c1;border-radius:20px;background:#f7faf5;padding:14px  !important;}
.dsrv-setup-modal:not(.rp-pest-setup-form) label{font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#4d624d  !important;}
.dsrv-panel[data-panel="backup"] .dsrv-block{border:1px solid var(--rp-line);border-radius:22px;background:linear-gradient(180deg,var(--rp-surface) 0%,var(--rp-surface-subtle) 100%);box-shadow:var(--rp-shadow-sm);}
.dsrv-panel[data-panel="backup"] .dsrv-h2,.dsrv-panel[data-panel="backup"] .dsrv-h1{color:var(--rp-text);}
.dsrv-panel[data-panel="backup"] .dsrv-muted{color:var(--rp-muted);}
@media (max-width: 900px){
  .dsrv-report-admin-facts{grid-template-columns:1fr 1fr;}
}
@media (max-width: 640px){
  .dsrv-report-admin-facts{grid-template-columns:1fr;}
  .dsrv-case-viewer__hero,.dsrv-case-viewer__intro,.dsrv-setup-modal:not(.rp-pest-setup-form) .dsrv-setup-modal__section{padding:16px  !important;}
}
.dsrv-case-report-fold__main>div:first-child{min-width:0;}
.dsrv-case-report-fold[open] .dsrv-case-report-fold__toggle{background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.22);color:#fff;}
.dsrv-case-report-fold[open] .dsrv-case-report-fold__toggle-icon{background:rgba(255,255,255,.18);color:#fff;transform:rotate(180deg);}
.dsrv-case-report__info-card{min-width:0;overflow:hidden;min-height:72px;padding:13px 15px;border:0;border-right:1px solid var(--rp-line);border-bottom:1px solid var(--rp-line);border-radius:0;background:transparent;box-shadow:none;}
.dsrv-case-report__label{display:block;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--rp-muted);margin-bottom:5px;}
.dsrv-case-report__panel{border-top:1px solid #edf2ea;padding-top:18px;padding:18px 20px 0;}
.dsrv-case-report__panel>h4{display:flex;align-items:center;gap:8px;margin:0 0 8px;color:#203724;font-size:14px;font-weight:950;line-height:1.25;}
.dsrv-case-report__panel>h4 .rp-icon{flex:0 0 auto;}
.dsrv-case-report__split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:0 20px 18px;min-width:0;}
.dsrv-case-report__note{margin-top:14px;font-size:15px;padding:16px 18px;border:1px solid #e1eadf;border-radius:18px;background:var(--rp-surface-subtle);line-height:1.7;color:#26352b;min-height:120px;overflow-wrap:anywhere;word-break:normal;white-space:normal;}
.dsrv-case-report .summary{margin-top:0;}

.dsrv-form[data-entity="report"] .dsrv-report-admin-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 14px;}
.dsrv-form[data-entity="report"] .dsrv-report-admin-fact{padding:12px 14px;border:1px solid var(--rp-line);border-radius:16px;background:linear-gradient(180deg,var(--rp-surface) 0%,var(--rp-surface-subtle) 100%);}
.dsrv-form[data-entity="report"] .dsrv-report-admin-fact span{display:block;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--rp-muted);margin-bottom:5px;}
.dsrv-form[data-entity="report"] .dsrv-report-admin-fact strong{display:block;font-size:14px;color:var(--rp-text);line-height:1.45;word-break:break-word;}
.dsrv-form[data-entity="report"] .dsrv-followup-explain{margin:8px 0 10px;padding:10px 12px;border:1px solid var(--rp-line);border-radius:14px;background:var(--rp-surface-subtle);color:#3f5340;line-height:1.6;font-size:12px;}

.dsrv-setup-modal:not(.rp-pest-setup-form){display:grid;gap:16px;}

.dsrv-setup-modal:not(.rp-pest-setup-form) .dsrv-setup-modal__eyebrow{font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;opacity:.88;margin-bottom:6px;}

.dsrv-setup-modal:not(.rp-pest-setup-form) .dsrv-setup-modal__section{padding:16px 18px;border:1px solid var(--rp-line);border-radius:22px;background:linear-gradient(180deg,#fff 0%,#f8fbf4 100%);box-shadow:0 10px 24px rgba(15,23,42,.04);}
@media (max-width: 900px){
  .dsrv-form[data-entity="report"] .dsrv-report-admin-facts,.dsrv-case-report__grid,.dsrv-case-report__split{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width: 700px){
  .dsrv-case-report-fold__summary{flex-direction:column;align-items:flex-start;}
  .dsrv-case-report-fold__main{flex-direction:column;align-items:flex-start;}
  .dsrv-case-report-fold__pills{justify-content:flex-start;}
}
@media (max-width: 640px){
  .dsrv-form[data-entity="report"] .dsrv-report-admin-facts,.dsrv-case-report__grid,.dsrv-case-report__split{grid-template-columns:1fr;}
  .dsrv-case-report__grid,.dsrv-case-report__panel{padding-left:16px;padding-right:16px;}
  .dsrv-case-report__split{padding-left:16px;padding-right:16px;}

}
.dsrv-case-modal .button,.dsrv-setup-modal:not(.rp-pest-setup-form) .button,.dsrv-panel[data-panel="okonomi"] .button,.dsrv-panel[data-panel="backup"] .button{letter-spacing:.01em  !important;}
.dsrv-case-modal .button:hover,.dsrv-setup-modal:not(.rp-pest-setup-form) .button:hover,.dsrv-panel[data-panel="okonomi"] .button:hover,.dsrv-panel[data-panel="backup"] .button:hover{transform:translateY(-1px);}
.dsrv-case-report-fold__summary strong,.dsrv-case-report-fold__summary .dsrv-muted,.dsrv-case-report-fold__summary .dsrv-case-report-fold__eyebrow{color:#fff  !important;}
.dsrv-case-report-fold__pills .pill{background:rgba(255,255,255,.14)  !important;color:#fff  !important;border:1px solid rgba(255,255,255,.18)  !important;box-shadow:none  !important;}
.dsrv-case-report-fold__toggle-icon{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:999px;font-size:14px;line-height:1;transition:transform .18s ease;background:rgba(255,255,255,.16)  !important;color:#fff  !important;}
.dsrv-case-report-fold[open] .dsrv-case-report-fold__summary{background:linear-gradient(135deg,var(--rp-primary-dark) 0%,var(--rp-primary) 100%);border-bottom:1px solid rgba(255,255,255,.18)  !important;}
.dsrv-case-report__panel h4{line-height:1.1;margin:0 0 6px;font-size:18px;color:var(--rp-text)!important;}

.dsrv-setup-modal:not(.rp-pest-setup-form) input,.dsrv-setup-modal:not(.rp-pest-setup-form) select,.dsrv-setup-modal:not(.rp-pest-setup-form) textarea,.dsrv-case-modal input,.dsrv-case-modal select,.dsrv-case-modal textarea{border:1px solid #d4e3cf  !important;border-radius:16px  !important;box-shadow:none  !important;}
.dsrv-setup-modal:not(.rp-pest-setup-form) input:focus,.dsrv-setup-modal:not(.rp-pest-setup-form) select:focus,.dsrv-setup-modal:not(.rp-pest-setup-form) textarea:focus,.dsrv-case-modal input:focus,.dsrv-case-modal select:focus,.dsrv-case-modal textarea:focus{outline:none  !important;border-color:var(--rp-primary)  !important;box-shadow:0 0 0 4px rgba(120,183,58,.16)  !important;}
.dsrv-case-report-fold+.dsrv-case-report-fold{margin-top:16px  !important;}
.dsrv-case-viewer__visits{display:grid  !important;gap:14px  !important;padding-bottom:6px;}
.dsrv-case-report-fold--followup .dsrv-case-report-fold__eyebrow{color:#5d4200  !important;}
.dsrv-case-report-fold--cancelled .dsrv-case-report-fold__eyebrow{color:#5b1e10  !important;}
.dsrv-case-report-fold--followup .dsrv-case-report-fold__pills .pill,.dsrv-case-report-fold--cancelled .dsrv-case-report-fold__pills .pill{background:rgba(255,255,255,.45)  !important;color:var(--rp-text)!important;border-color:rgba(255,255,255,.35)  !important;}
.dsrv-case-report-fold--followup .dsrv-case-report-fold__toggle,.dsrv-case-report-fold--cancelled .dsrv-case-report-fold__toggle{border-color:rgba(255,255,255,.35)  !important;}

.dsrv-report-inline-actions{display:flex;justify-content:flex-end;gap:10px;margin:0 0 14px;}
.dsrv-rowitem--report .dsrv-rowitem-actions .button{white-space:nowrap;}
.dsrv-case-viewer__visit-actions{padding:14px 16px 16px  !important;justify-content:flex-end  !important;margin-top:0  !important;gap:10px;}
.dsrv-case-route-intel{display:grid;gap:12px;padding:16px;border-radius:18px;border:1px solid var(--rp-line);background:var(--rp-surface-subtle);}
.dsrv-case-route-intel__fit{display:grid;gap:6px;}
.dsrv-case-route-intel__fit strong{font-size:15px;line-height:1.3;color:var(--rp-text);}
.dsrv-case-route-intel__fit span{font-size:13px;line-height:1.55;color:var(--rp-muted-strong);}
.dsrv-case-route-intel__fit small{font-size:12px;line-height:1.55;color:var(--rp-muted);font-weight:700;}
.dsrv-case-route-intel__stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}
.dsrv-case-route-intel__stats span{display:flex;flex-direction:column;gap:3px;padding:10px 12px;border-radius:14px;background:var(--rp-surface);border:1px solid var(--rp-line);font-size:12px;color:var(--rp-muted-strong);line-height:1.45;}
.dsrv-case-route-intel__stats strong{font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:#6f826f;}
.dsrv-case-route-intel--green{background:linear-gradient(180deg,var(--rp-surface-subtle) 0%,#eef7e7 100%);border-color:#d6e7c8;}
.dsrv-case-route-intel--yellow{background:linear-gradient(180deg,#fff9ec 0%,#fff3d9 100%);border-color:#f0d79d;}
.dsrv-case-route-intel--red{background:linear-gradient(180deg,#fff1f1 0%,#fde6e6 100%);border-color:#f2c1c1;}
.dsrv-task.is-stop .dsrv-task-title{font-size:16px;line-height:1.3;}
.dsrv-task.is-stop .dsrv-task-actions{align-items:center;}
.dsrv-task.is-stop.is-stop-locked{border-color:#cfe0c7  !important;box-shadow:0 0 0 2px rgba(95,143,67,.10)  !important;}
.dsrv-task.is-stop.is-manual-adjusted{border-color:#d8c0ff  !important;box-shadow:0 0 0 3px rgba(141,87,200,.10)  !important;background:linear-gradient(180deg, rgba(155,89,182,.08), #ffffff 70%)  !important;}
.dsrv-task.is-stop.is-manual-adjusted .dsrv-task-title{color:#4a2874;}
.dsrv-route-stop-seq{margin:0 0 8px;display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:10px;}
.dsrv-route-stop-seq__badge{box-shadow:0 8px 16px color-mix(in srgb,var(--rp-primary-dark) 14%,transparent);display:inline-flex;align-items:center;min-height:30px;padding:0 10px;border-radius:999px;background:var(--rp-primary-dark);color:#fff;font-size:11px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;}
.dsrv-route-stop-seq__copy{font-size:12px;font-weight:700;color:var(--rp-muted);}
.dsrv-toggle-stop-lock.is-locked{background:linear-gradient(135deg,var(--rp-primary-dark) 0%,var(--rp-primary) 100%)  !important;border-color:#2f6a20  !important;color:#fff  !important;}
.dsrv-report-route-intel__fit{display:grid;gap:6px;}
.dsrv-report-route-intel__fit strong{font-size:15px;line-height:1.3;color:var(--rp-text);}
.dsrv-report-route-intel__fit span{font-size:13px;line-height:1.55;color:var(--rp-muted-strong);}
.dsrv-report-route-intel__fit small{font-size:12px;line-height:1.55;color:var(--rp-muted);font-weight:700;}
.dsrv-report-route-intel__stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;}
.dsrv-report-route-intel__stats span{display:flex;flex-direction:column;gap:3px;padding:10px 12px;border-radius:14px;background:var(--rp-surface);border:1px solid var(--rp-line);font-size:12px;color:var(--rp-muted-strong);line-height:1.45;}
.dsrv-report-route-intel__stats strong{font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:#6f826f;}
.dsrv-report-route-intel--green{background:linear-gradient(180deg,var(--rp-surface-subtle) 0%,#eef7e7 100%);border-color:#d6e7c8;}
.dsrv-report-route-intel--yellow{background:linear-gradient(180deg,#fff9ec 0%,#fff3d9 100%);border-color:#f0d79d;}
.dsrv-report-route-intel--red{background:linear-gradient(180deg,#fff1f1 0%,#fde6e6 100%);border-color:#f2c1c1;}
.dsrv-case-report-fold__summary .dsrv-case-report-fold__route{color:rgba(255,255,255,.92);}
@media (max-width: 900px){
  .dsrv-report-route-intel__stats{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width: 640px){
  .dsrv-report-route-intel__stats{grid-template-columns:1fr;}
}
.dsrv-panel[data-panel="okonomi"] .dsrv-open-route-map{display:none  !important;}
.dsrv-case-report-fold{box-shadow:0 12px 28px rgba(15,23,42,.05);border:1px solid var(--rp-line)!important;border-radius:22px  !important;background:var(--rp-surface)  !important;overflow:hidden  !important;}
.dsrv-case-report-fold__summary{list-style:none;background:linear-gradient(135deg,var(--rp-primary-dark) 0%,var(--rp-primary) 100%)  !important;color:#fff  !important;padding:14px 16px  !important;display:flex  !important;justify-content:space-between  !important;gap:14px  !important;align-items:center  !important;cursor:pointer  !important;border-bottom:0  !important;}
.dsrv-case-report-fold__summary::-webkit-details-marker{display:none;}
.dsrv-case-report-fold__main{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;flex:1;min-width:0;}
.dsrv-case-report-fold__summary strong{display:block;font-size:16px  !important;line-height:1.3  !important;}
.dsrv-case-report-fold__summary .dsrv-muted{margin-top:4px  !important;display:block;}
.dsrv-case-report-fold--closed .dsrv-case-report-fold__summary{background:linear-gradient(135deg,var(--rp-primary-dark) 0%,var(--rp-primary) 100%)  !important;}
.dsrv-case-report-fold--closed .dsrv-case-report-fold__summary strong,.dsrv-case-report-fold--closed .dsrv-case-report-fold__summary .dsrv-muted,.dsrv-case-report-fold--closed .dsrv-case-report-fold__summary .dsrv-case-report-fold__eyebrow,.dsrv-case-report-fold--closed .dsrv-case-report-fold__toggle{color:#fff  !important;}
.dsrv-case-report-fold--closed .dsrv-case-report-fold__toggle{background:rgba(255,255,255,.14)  !important;border:1px solid rgba(255,255,255,.2)  !important;}
.dsrv-case-report-fold--closed .dsrv-case-report-fold__toggle-icon{background:rgba(255,255,255,.16)  !important;color:#fff  !important;}
.dsrv-case-report-fold--followup .dsrv-case-report-fold__summary{background:linear-gradient(135deg,#f0c14b 0%,#dca122 100%)  !important;}
.dsrv-case-report-fold--followup .dsrv-case-report-fold__summary strong,.dsrv-case-report-fold--followup .dsrv-case-report-fold__summary .dsrv-muted,.dsrv-case-report-fold--followup .dsrv-case-report-fold__summary .dsrv-case-report-fold__eyebrow,.dsrv-case-report-fold--followup .dsrv-case-report-fold__toggle{color:#3c2a05  !important;}
.dsrv-case-report-fold--followup .dsrv-case-report-fold__toggle{background:rgba(255,255,255,.42)  !important;border:1px solid rgba(121,82,0,.18)  !important;}
.dsrv-case-report-fold--followup .dsrv-case-report-fold__toggle-icon{background:rgba(255,255,255,.42)  !important;color:#3c2a05  !important;}
.dsrv-case-report-fold--cancelled .dsrv-case-report-fold__summary{background:linear-gradient(135deg,#d9534f 0%,#b43632 100%)  !important;}
.dsrv-case-report-fold--cancelled .dsrv-case-report-fold__summary strong,.dsrv-case-report-fold--cancelled .dsrv-case-report-fold__summary .dsrv-muted,.dsrv-case-report-fold--cancelled .dsrv-case-report-fold__summary .dsrv-case-report-fold__eyebrow,.dsrv-case-report-fold--cancelled .dsrv-case-report-fold__toggle{color:#fff  !important;}
.dsrv-case-report-fold--cancelled .dsrv-case-report-fold__toggle{background:rgba(255,255,255,.14)  !important;border:1px solid rgba(255,255,255,.2)  !important;}
.dsrv-case-report-fold--cancelled .dsrv-case-report-fold__toggle-icon{background:rgba(255,255,255,.16)  !important;color:#fff  !important;}
.dsrv-case-report__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:16px 20px 0;padding:0  !important;width:auto;min-width:0  !important;border:1px solid var(--rp-line);border-radius:16px;background:var(--rp-surface-subtle);overflow:hidden;}
.dsrv-case-report__grid>*{min-width:0  !important;overflow-wrap:anywhere;}
.dsrv-case-report__panel--route-intel{display:none  !important;}
.dsrv-col>.dsrv-muted.dsrv-block{padding:16px 18px  !important;border-radius:20px  !important;}
.dsrv-report-route-intel{gap:12px;margin:0 0 14px;padding:16px;border-radius:18px;border:1px solid var(--rp-line);background:var(--rp-surface-subtle);display:none  !important;}
.dsrv-case-report-fold__route{margin-top:6px;font-size:12px;line-height:1.5;color:#eff9e9;font-weight:700;display:none  !important;}
.dsrv-route-live-summary__value{display:block;line-height:1;font-size:18px;color:var(--rp-text);}
.dsrv-rowitem--report .dsrv-rowitem-main{display:flex;flex-direction:column;gap:4px;min-width:0;}
.dsrv-rowitem--report .dsrv-rowitem-title{font-weight:800;color:var(--rp-text);font-size:14px  !important;margin-bottom:4px;}
.dsrv-rowitem--report .dsrv-rowitem-sub{color:var(--rp-muted);margin-top:4px;font-size:11px  !important;line-height:1.4;margin-bottom:6px;}
.dsrv-rowitem--report .dsrv-rowitem-meta-line{display:flex;flex-wrap:wrap;gap:10px 14px;font-size:12px;color:#5e7061;line-height:1.5;}
.dsrv-rowitem--report .dsrv-rowitem-actions{align-items:flex-start;align-self:center;}
.dsrv-col .dsrv-est-km{font-size:14px;}
.dsrv-case-viewer__section-head .dsrv-muted{line-height:1.5;max-width:420px;}
.dsrv .dsrv-card-stats--route-time{grid-template-columns:repeat(5,minmax(0,1fr));}
.dsrv .dsrv-card-stats--route-time.is-warning{border-color:#fbbf24;background:var(--rp-warning-soft);}
.dsrv .dsrv-visit-mail-note{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:800;color:var(--rp-muted);background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;padding:6px 9px;}
.dsrv .dsrv-visit-mail-note--sent{display:flex;width:max-content;max-width:100%;margin:8px 0 0;color:var(--rp-success);background:var(--rp-success-soft);border-color:var(--rp-success-line);}
.dsrv .dsrv-send-visit-notice.is-sent{background:var(--rp-success-soft)  !important;border-color:#86efac  !important;color:var(--rp-success)  !important;font-weight:900;}
.dsrv .dsrv-preview-visit-notice{font-weight:800;}
.dsrv .dsrv-mail-preview-head p{margin:0;font-weight:700;}
.dsrv .dsrv-mail-preview-kicker{font-size:11px;text-transform:uppercase;letter-spacing:.08em;font-weight:900;}
.dsrv .dsrv-mail-preview-meta span{display:block;font-size:11px;font-weight:900;letter-spacing:.07em;text-transform:uppercase;color:var(--rp-muted);margin-bottom:6px;}
.dsrv .dsrv-mail-preview-meta strong{display:block;color:var(--rp-text);line-height:1.35;word-break:break-word;}
.dsrv .dsrv-mail-preview-note{padding:11px 13px;border-radius:14px;border:1px solid #e2e8f0;background:#f8fafc;color:var(--rp-muted);font-weight:800;}
.dsrv .dsrv-mail-preview-note.is-sent{border-color:var(--rp-success-line);background:var(--rp-success-soft);color:var(--rp-success);}
@media (max-width:760px){.dsrv .dsrv-mail-preview-head{display:grid;}.dsrv .dsrv-mail-preview-actions{justify-content:stretch;}.dsrv .dsrv-mail-preview-actions .button{flex:1;}.dsrv .dsrv-mail-preview-frame{min-height:560px;}}
.dsrv-route-scroll-shell{max-height:920px;overflow-y:auto;overscroll-behavior:contain;padding-right:6px;scrollbar-width:thin;}
.dsrv-route-scroll-shell::-webkit-scrollbar{width:10px;}
.dsrv-route-scroll-shell::-webkit-scrollbar-thumb{background:#c8d9c5;border-radius:999px;border:2px solid #f4f8f2;}
.dsrv-route-scroll-shell>.dsrv-task{scroll-margin-top:110px;}
.dsrv-case-viewer__intro-actions{display:flex  !important;flex-wrap:wrap  !important;justify-content:flex-end  !important;gap:8px  !important;align-content:flex-start  !important;align-items:center  !important;}
.dsrv-case-viewer__intro-actions .button,.dsrv-case-viewer__intro-actions .pill,.dsrv-case-report-fold__pills .pill{display:inline-flex  !important;align-items:center  !important;justify-content:center  !important;min-height:34px;padding:6px 12px  !important;border-radius:999px  !important;line-height:1.2  !important;}
.dsrv-case-report-fold__pills{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;align-items:center;row-gap:8px;}
.dsrv-case-report-fold__toggle{display:inline-flex;align-items:center;gap:10px;padding:9px 12px;border-radius:999px;font-size:12px;font-weight:700;white-space:nowrap;box-shadow:0 2px 6px rgba(15,23,42,.04);background:rgba(255,255,255,.14)  !important;border:1px solid rgba(255,255,255,.2)  !important;color:#fff  !important;align-self:center;}
.dsrv-case-report-fold__summary strong,.dsrv-case-report__info-card strong{word-break:break-word;}
@media (max-width: 782px){
  .dsrv-route-scroll-shell{max-height:540px;padding-right:0;}
}
.dsrv-panel[data-panel="ruter"] .dsrv-card--mini{min-height:0  !important;padding:14px  !important;border-radius:18px  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-card--mini .dsrv-card-title{font-size:15px  !important;line-height:1.25  !important;margin-bottom:6px;}
.dsrv-panel[data-panel="ruter"] .dsrv-card--mini .dsrv-card-meta{margin:4px 0 8px  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-card--mini .dsrv-card-stats--route-time{display:grid  !important;grid-template-columns:repeat(2,minmax(0,1fr))  !important;gap:8px  !important;margin-top:10px  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-card--mini .dsrv-card-stats--route-time>div{padding:8px 9px;border:1px solid var(--rp-line);border-radius:12px;background:var(--rp-surface-subtle);min-width:0;}
.dsrv-panel[data-panel="ruter"] .dsrv-card--mini .dsrv-card-stats .k{display:block;font-size:10px  !important;text-transform:uppercase;letter-spacing:.04em;color:#6f826f;}
.dsrv-panel[data-panel="ruter"] .dsrv-card--mini .dsrv-card-stats .v{font-size:13px  !important;line-height:1.2  !important;white-space:normal  !important;word-break:break-word;}
.dsrv-panel[data-panel="ruter"] .dsrv-card--mini .dsrv-card-actions .button{width:100%;justify-content:center;border-radius:999px;}
.dsrv-routes-work-map-body{display:block;}
.dsrv-routes-work-map-card.is-collapsed .dsrv-routes-work-map-body{display:none;}
@media (max-width: 1400px){
  .dsrv-panel[data-panel="ruter"] .dsrv-route-toolbar{grid-template-columns:1fr  !important;}

}
@media (max-width: 1100px){
  .dsrv-routes-work-map{min-height:400px;}
}
@media (max-width: 782px){

  .dsrv-routes-work-map-head{display:grid;}

  .dsrv-routes-work-map{min-height:320px;}
}

@media (max-width:1400px){.dsrv-route-toolbar{grid-template-columns:1fr  !important;}}
@media (max-width:1400px){
  .dsrv-panel[data-panel="ruter"] .dsrv-route-toolbar{grid-template-columns:1fr  !important;}

}

.dsrv-panel[data-panel="ruter"] .dsrv-monthbox{flex:unset  !important;overflow:visible  !important;}

.dsrv-monthbox-route-count{color:#6e7a6d;font-size:12px;font-weight:800;}
.dsrv-panel[data-panel="ruter"] .dsrv-employee-select{display:block;padding:10px 12px;border:1px solid var(--rp-line);width:100%!important;height:40px!important;border-color:var(--rp-line)!important;background:var(--rp-surface)!important;max-width:none!important;border-radius:14px!important;min-height:40px!important;font-weight:800!important;color:var(--rp-text)!important;}

@media (max-width:640px){

  .dsrv-routes-work-map{height:340px  !important;min-height:340px  !important;max-height:340px  !important;}
}

.dsrv-panel[data-panel="ruter"] .dsrv-arrive-stop,.dsrv-panel[data-panel="ruter"] .dsrv-send-visit-notice{display:none  !important;}

.dsrv .dsrv-mail-preview-shell{display:grid  !important;gap:14px  !important;}
.dsrv .dsrv-mail-preview-head{display:flex  !important;align-items:flex-start  !important;justify-content:space-between  !important;gap:16px  !important;padding:20px  !important;border:1px solid var(--rp-line)!important;border-radius:24px  !important;background:linear-gradient(135deg,var(--rp-primary-dark) 0%,var(--rp-primary) 100%)  !important;color:#fff  !important;box-shadow:0 16px 32px rgba(33,93,30,.18)  !important;}
.dsrv .dsrv-mail-preview-head h3{margin:4px 0 4px  !important;font-size:30px  !important;line-height:1.05  !important;color:#fff  !important;}
.dsrv .dsrv-mail-preview-head p,.dsrv .dsrv-mail-preview-kicker{color:rgba(255,255,255,.92)  !important;}
.dsrv .dsrv-mail-preview-actions{display:flex  !important;gap:10px  !important;align-items:center  !important;justify-content:flex-end  !important;flex-wrap:wrap  !important;}
.dsrv .dsrv-mail-preview-meta{display:grid  !important;grid-template-columns:repeat(4,minmax(0,1fr))  !important;gap:10px  !important;}
.dsrv .dsrv-mail-preview-meta>div{padding:14px  !important;border:1px solid var(--rp-line)!important;border-radius:18px  !important;background:var(--rp-surface)  !important;min-height:72px  !important;}
.dsrv .dsrv-mail-preview-frame{display:block  !important;width:100%  !important;min-height:720px  !important;border:1px solid var(--rp-line)!important;border-radius:22px  !important;background:var(--rp-surface)  !important;box-shadow:0 16px 38px rgba(15,23,42,.08)  !important;overflow:hidden  !important;}
@media (max-width:1100px){.dsrv-routes-work-map-head{display:grid  !important;}.dsrv-routes-work-map{height:340px  !important;min-height:340px  !important;}.dsrv .dsrv-mail-preview-meta{grid-template-columns:repeat(2,minmax(0,1fr))  !important;}}
@media (max-width:680px){.dsrv .dsrv-mail-preview-head{display:grid  !important;}.dsrv .dsrv-mail-preview-meta{grid-template-columns:1fr  !important;}.dsrv .dsrv-mail-preview-frame{min-height:580px  !important;}}
body>.dsrv-modal .dsrv-mail-preview-shell{display:grid  !important;gap:14px  !important;}
body>.dsrv-modal .dsrv-mail-preview-head{display:flex  !important;align-items:flex-start  !important;justify-content:space-between  !important;gap:16px  !important;padding:18px 20px  !important;border:1px solid var(--rp-line)!important;border-radius:22px  !important;background:linear-gradient(135deg,var(--rp-primary-dark) 0%,var(--rp-button-primary) 100%)!important;color:#fff  !important;box-shadow:0 16px 34px color-mix(in srgb,var(--rp-primary-dark) 16%,transparent)!important;}
body>.dsrv-modal .dsrv-mail-preview-head h3{margin:3px 0 4px  !important;font-size:26px  !important;line-height:1.08  !important;color:#fff  !important;}
body>.dsrv-modal .dsrv-mail-preview-head p{margin:0  !important;color:rgba(255,255,255,.88)  !important;font-weight:700  !important;max-width:620px  !important;}
body>.dsrv-modal .dsrv-mail-preview-kicker{font-size:11px  !important;text-transform:uppercase  !important;letter-spacing:.08em  !important;font-weight:900  !important;color:rgba(255,255,255,.86)  !important;}
body>.dsrv-modal .dsrv-mail-preview-actions{display:flex  !important;align-items:center  !important;justify-content:flex-end  !important;gap:10px  !important;flex-wrap:wrap  !important;}
body>.dsrv-modal .dsrv-mail-preview-meta{display:grid  !important;grid-template-columns:repeat(4,minmax(0,1fr))  !important;gap:10px  !important;}
body>.dsrv-modal .dsrv-mail-preview-meta>div{padding:12px 14px  !important;border:1px solid var(--rp-line)!important;border-radius:16px  !important;background:var(--rp-surface)  !important;box-shadow:0 8px 20px rgba(15,23,42,.04)  !important;}
body>.dsrv-modal .dsrv-mail-preview-meta span{display:block  !important;font-size:10px  !important;font-weight:900  !important;letter-spacing:.08em  !important;text-transform:uppercase  !important;color:var(--rp-muted)!important;margin-bottom:5px  !important;}
body>.dsrv-modal .dsrv-mail-preview-meta strong{display:block  !important;color:var(--rp-text)!important;line-height:1.35  !important;word-break:break-word  !important;}
body>.dsrv-modal .dsrv-mail-preview-note{padding:11px 13px!important;border-radius:14px!important;border:1px solid var(--rp-line)!important;background:var(--rp-surface)!important;color:var(--rp-muted)!important;font-weight:800!important;}
body>.dsrv-modal .dsrv-mail-preview-note.is-sent{border-color:var(--rp-success-line)!important;background:var(--rp-success-soft)!important;color:var(--rp-success)!important;}
body>.dsrv-modal .dsrv-mail-preview-frame{display:block  !important;width:100%  !important;min-height:660px  !important;border:0  !important;border-radius:18px  !important;background:var(--rp-surface)  !important;box-shadow:0 16px 38px rgba(15,23,42,.10)  !important;}
.dsrv-routes-work-map-card{margin-top:16px  !important;}
@media (max-width:900px){
  body>.dsrv-modal .dsrv-mail-preview-head{display:grid  !important;}
  body>.dsrv-modal .dsrv-mail-preview-meta{grid-template-columns:repeat(2,minmax(0,1fr))  !important;}
  .dsrv-routes-work-map{height:340px  !important;min-height:340px  !important;max-height:340px  !important;}
}
@media (max-width:640px){

  body>.dsrv-modal .dsrv-mail-preview-meta{grid-template-columns:1fr  !important;}
  body>.dsrv-modal .dsrv-mail-preview-frame{min-height:560px  !important;}
}

@media (max-width: 1320px){
  .dsrv-route-toolbar{grid-template-columns:1fr  !important;}

}
.dsrv-route-toolbar{flex-wrap:wrap;margin-top:14px;display:grid  !important;grid-template-columns:minmax(640px,1.15fr) minmax(420px,.85fr)  !important;align-items:start  !important;gap:18px  !important;}
.dsrv-monthbox{border:1px solid var(--rp-line);border-radius:16px;box-shadow:var(--rp-shadow);display:flex;flex-direction:column;padding:14px;background:linear-gradient(180deg,#f8fafc,#ffffff);min-width:0  !important;max-width:none  !important;flex:initial  !important;width:100%  !important;align-self:stretch  !important;height:100%;}
.dsrv-monthbox .dsrv-mini-cal{min-height:420px;}

@media (max-width: 1500px){
  .dsrv-route-toolbar{grid-template-columns:1fr  !important;}
}
.dsrv-employee-period-pills{display:flex;gap:8px;flex-wrap:wrap;}
.dsrv-employee-period-pills span{display:inline-flex;align-items:center;padding:7px 10px;border-radius:999px;background:color-mix(in srgb,var(--rp-primary) 9%,var(--rp-surface) 91%);border:1px solid #d6e8ce;font-weight:700;color:#365728;font-size:12px;}
@media (min-width: 900px){
  .dsrv-panel[data-panel="ruter"] .dsrv-route-toolbar,.dsrv-route-toolbar{display:grid  !important;grid-template-columns:minmax(520px,1.12fr) minmax(360px,.88fr)  !important;align-items:start  !important;gap:16px  !important;}
}
@media (max-width: 899px){
  .dsrv-panel[data-panel="ruter"] .dsrv-route-toolbar,.dsrv-route-toolbar{grid-template-columns:1fr  !important;}
}
.dsrv-panel[data-panel="ruter"] .dsrv-monthbox .dsrv-mini-cal{min-height:360px  !important;}

.dsrv-work-session-edit strong{font-size:12px;color:var(--rp-primary-dark);white-space:nowrap;padding-bottom:7px;}
@media (max-width: 900px){.dsrv-work-session-edit{grid-template-columns:1fr 1fr;}.dsrv-work-session-edit strong,.dsrv-work-session-edit .button{grid-column:span 2;}}
@media (min-width: 1180px){
  .dsrv-panel[data-panel="ruter"] .dsrv-route-toolbar{display:grid  !important;grid-template-columns:minmax(560px,1fr) minmax(520px,1fr)  !important;gap:18px  !important;align-items:start  !important;}
  .dsrv-panel[data-panel="ruter"] .dsrv-monthbox{width:auto  !important;max-width:none  !important;min-width:0  !important;}
}
.dsrv-panel[data-panel="ruter"] .dsrv-monthbox{width:auto  !important;max-width:none  !important;min-width:0  !important;}

.dsrv-report-section--billing-internal{border-left:5px solid #f59e0b  !important;background:#fffaf0  !important;}
.dsrv-economy-total-line{margin-top:8px;padding:10px 12px;border-radius:14px;background:color-mix(in srgb,var(--rp-primary) 9%,var(--rp-surface) 91%);border:1px solid #d5e8cd;display:flex;gap:10px;align-items:center;flex-wrap:wrap;}
.dsrv-price-breakdown{margin-top:8px;padding:10px;border-radius:14px;border:1px solid #e0ead8;background:var(--rp-surface-subtle);}
.dsrv-price-breakdown__row{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px solid #edf2e9;}
.dsrv-price-breakdown__row:last-child{border-bottom:0;}
.dsrv-price-breakdown__row em{display:inline-flex;margin-left:6px;padding:2px 7px;border-radius:999px;background:#fff4d6;color:#7a5200;font-size:11px;font-style:normal;font-weight:700;}
.dsrv-price-breakdown__row small{display:block;color:#697569;font-size:11px;margin-top:3px;}
.dsrv-case-price-box{margin:14px 0;padding:14px;border-radius:18px;border:1px solid #d5e8cd;background:var(--rp-surface-subtle);text-align:center;}
.dsrv-case-price-box__total span{display:block;text-transform:uppercase;font-size:10px;font-weight:800;color:#60755c;letter-spacing:.08em;}
.dsrv-case-price-box__total strong{display:block;font-size:24px;color:var(--rp-primary-dark);margin-top:4px;}
.dsrv-case-price-box details{margin-top:10px;text-align:left;}
.dsrv-internal-correction-note{margin:8px 0;padding:9px 11px;border:1px solid #f0d99b;border-left:5px solid #f0b429;border-radius:12px;background:#fff8e4;color:#533f07;font-size:12px;line-height:1.45;}
.dsrv-price-breakdown__row.is-pending{background:#fffaf0;border-color:#f2d59b;color:#7a5200;}
.dsrv-price-breakdown__row.is-pending em{display:block;font-style:normal;font-size:11px;color:#8a5a00;margin-top:3px;}
/*Prisdetaljer: forklarer opgavens eksisterende total uden at ændre økonomidata.*/
.dsrv-price-breakdown__details{flex:1 0 100%;min-width:0;display:grid;gap:5px;margin-top:7px;padding:8px 10px;border:1px solid #dce8d7;border-radius:10px;background:var(--rp-surface-subtle);}
.dsrv-price-breakdown__detail{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:5px 0;border-bottom:1px solid #e7eee4;}
.dsrv-price-breakdown__detail:last-child{border-bottom:0;}
.dsrv-price-breakdown__detail span{display:grid;gap:2px;min-width:0;}
.dsrv-price-breakdown__detail b{font-size:11px;color:var(--rp-text);}
.dsrv-price-breakdown__detail small{font-size:10px;color:#68766a;font-style:normal;}
.dsrv-price-breakdown__detail strong{font-size:11px;color:var(--rp-primary-dark);white-space:nowrap;}
@media (max-width:680px){.dsrv-price-breakdown__detail{grid-template-columns:1fr;}.dsrv-price-breakdown__detail strong{text-align:left;}}
.dsrv-employee-module-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px;}
.dsrv-work-session-edit label{flex-direction:column;margin:0;letter-spacing:.04em;display:grid;gap:4px;font-size:11px;text-transform:uppercase;font-weight:800;color:var(--rp-muted);}
.dsrv-work-session-edit input{width:100%;background:var(--rp-surface);min-height:32px;border-radius:10px;border:1px solid var(--rp-line);padding:4px 8px;}
@media (max-width:1100px){.dsrv-work-session-edit{grid-template-columns:1fr 1fr;}.dsrv-work-session-edit .button{grid-column:1/-1;}}
.dsrv-employee-details[hidden]{display:none  !important;}
.dsrv-rowitem-actions .dsrv-view-employee{white-space:nowrap;}
.dsrv-mail-preview-shell--compact .dsrv-mail-preview-head{align-items:flex-start;}
.dsrv-mail-preview-shell--compact .dsrv-mail-preview-head h3{font-size:24px;margin:0 0 4px;}
.dsrv-mail-preview-shell--compact .dsrv-mail-preview-head p{margin:0;font-size:13px;line-height:1.45;}
.dsrv-mail-preview-shell--compact .dsrv-mail-preview-meta{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:10px 0;}
.dsrv-mail-preview-shell--compact .dsrv-mail-preview-meta>div{padding:10px 12px;border-radius:14px;}
.dsrv-mail-preview-shell--compact .dsrv-mail-preview-frame{border-radius:14px;}
.dsrv-mail-preview-bottom-actions{display:flex;justify-content:flex-end;gap:10px;align-items:center;margin-top:12px;padding-top:12px;border-top:1px solid #dfe8db;}
@media (max-width: 800px){
  .dsrv-mail-preview-shell--compact .dsrv-mail-preview-meta{grid-template-columns:1fr 1fr;}
  .dsrv-mail-preview-bottom-actions{position:sticky;bottom:0;background:var(--rp-surface);padding:10px;z-index:2;border-radius:14px;}
}
@media (max-width: 520px){
  .dsrv-mail-preview-shell--compact .dsrv-mail-preview-meta{grid-template-columns:1fr;}
  .dsrv-mail-preview-shell--compact .dsrv-mail-preview-card{padding:0;background:var(--rp-surface);}
}

.dsrv-task-precautions{display:flex;flex-wrap:wrap;gap:5px;margin:7px 0 4px;align-items:center;}
.dsrv-task-precaution{font-weight:700;}
.dsrv-route-editor .dsrv-task,.dsrv-route-editor .dsrv-dnd-list[data-list="available"] .dsrv-task{border:1px solid var(--rp-line)  !important;border-radius:18px  !important;background:linear-gradient(180deg,#ffffff 0%,var(--rp-surface-subtle) 100%)  !important;box-shadow:0 10px 20px rgba(15,23,42,.04)  !important;transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease  !important;}
.dsrv-route-editor .dsrv-task:hover,.dsrv-route-editor .dsrv-dnd-list[data-list="available"] .dsrv-task:hover{transform:translateY(-1px)  !important;border-color:#b8cfaa  !important;box-shadow:0 16px 28px rgba(15,23,42,.08)  !important;}
.dsrv-route-editor .dsrv-task.is-stop[data-stop-state="cancelled"]{border-color:#caa181  !important;background:linear-gradient(180deg,#fffaf5 0%,#fcf4ec 100%)  !important;}
@keyframes dsrvPulseDot{0%, 100%{transform:scale(1);opacity:1;}50%{transform:scale(1.25);opacity:.55;}}
@keyframes dsrvPulseBar{0%, 100%{opacity:1;}50%{opacity:.42;}}
@keyframes ruteplanenPulseDot{0%, 100%{opacity:1;transform:scale(1);}50%{opacity:.45;transform:scale(1.35);}}

.dsrv-route-editor .dsrv-task.is-stop[data-stop-state="enroute"]{border-color:var(--rp-warning-line)  !important;background:linear-gradient(180deg,#fffaf5 0%,#fff3e8 100%)  !important;box-shadow:0 0 0 3px rgba(249,115,22,.14),0 18px 30px rgba(15,23,42,.08)  !important;}
.dsrv-route-editor .dsrv-task.is-stop[data-stop-state="next"]{border-color:#f1d46b  !important;background:linear-gradient(180deg,#fffef6 0%,#fff9dc 100%)  !important;}
.dsrv-route-editor .dsrv-task.is-stop[data-stop-state="done"]{border-color:#b9dfb9  !important;background:linear-gradient(180deg,#fbfffb 0%,#eef9ef 100%)  !important;}
.dsrv-route-editor .dsrv-task.is-stop[data-stop-state="planned"]{border-color:#bfdbfe  !important;background:linear-gradient(180deg,#fff 0%,#f8fbff 100%)  !important;}

.dsrv-work-session-edit{display:grid  !important;margin:6px 0;grid-template-columns:1.1fr .9fr .9fr auto auto;gap:8px;align-items:end;margin-top:8px;border:1px solid #dfe9da  !important;border-radius:16px  !important;background:var(--rp-surface)  !important;padding:10px  !important;}
.dsrv-panel[data-panel="ruter"]>.dsrv-routes-work-map-card{display:none  !important;}
.dsrv-panel[data-panel="opgavekort"] .dsrv-routes-work-map-card{display:block  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-opgavekort-embedded .dsrv-routes-work-map-card{display:block  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-opgavekort-embedded [data-route-map]{display:block  !important;}
.dsrv-panel[data-panel="opgavekort"] .dsrv-routes-work-map{height:640px  !important;}
@media (max-width:900px){.dsrv-panel[data-panel="opgavekort"] .dsrv-routes-work-map{min-height:460px  !important;height:460px  !important;}}
.dsrv-admin-billing-card{border:1px solid #ead79f  !important;border-left:6px solid #f59e0b  !important;border-radius:22px  !important;background:linear-gradient(180deg,#fffdf7 0%,#fff8e6 100%)  !important;padding:16px  !important;box-shadow:0 12px 26px rgba(146,64,14,.08)  !important;}
.dsrv-admin-billing-card__head{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.85fr);gap:16px;align-items:center;}
.dsrv-admin-billing-card__head strong{display:block;font-size:18px;line-height:1.2;color:var(--rp-text);margin:2px 0 5px;}
.dsrv-admin-billing-card__head p{margin:0;color:#6a5a2e;font-size:13px;line-height:1.55;}
.dsrv-admin-billing-card>.dsrv-addon-economy-summary{width:100%;min-width:0;margin:14px 0 16px;}
.dsrv-switch-card input{position:absolute  !important;opacity:0  !important;pointer-events:none  !important;}
.dsrv-admin-billing-card__note{margin-top:14px;}
.dsrv-admin-billing-card__note label{display:block;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#7a5b12;margin-bottom:6px;}
.dsrv-admin-billing-card__note textarea{width:100%;min-height:74px;border:1px solid #ead79f  !important;border-radius:16px  !important;background:var(--rp-surface)  !important;padding:11px 12px  !important;}
@media (max-width:860px){.dsrv-admin-billing-card__head{grid-template-columns:1fr;}}
.dsrv-opgavekort-head{align-items:flex-start  !important;}
.dsrv-opgavekort-controls{display:flex;gap:10px;align-items:flex-end;justify-content:flex-end;flex-wrap:wrap;}
.dsrv-opgavekort-controls label{display:grid;gap:5px;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#5b6b58;}
.dsrv-opgavekort-controls input,.dsrv-opgavekort-controls select{min-height:38px;border-radius:12px;border:1px solid #dce8d7;background:var(--rp-surface);padding:0 10px;min-width:160px;}
.dsrv-opgavekort-status-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 14px;}
.dsrv-opgavekort-status-row>div{padding:12px 14px;border:1px solid #dce8d7;border-radius:18px;background:var(--rp-surface-subtle);box-shadow:0 8px 18px rgba(15,23,42,.04);}
.dsrv-opgavekort-status-row span{display:block;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:var(--rp-muted);margin-bottom:5px;}
.dsrv-opgavekort-status-row strong{display:block;font-size:18px;color:var(--rp-text);line-height:1.15;}
@media (max-width:900px){.dsrv-opgavekort-status-row{grid-template-columns:repeat(2,minmax(0,1fr));}.dsrv-opgavekort-controls{justify-content:flex-start;}}
@media (max-width:520px){.dsrv-opgavekort-status-row{grid-template-columns:1fr;}.dsrv-opgavekort-controls input,.dsrv-opgavekort-controls select{width:100%;min-width:0;}}
.dsrv-form[data-entity="report"] .dsrv-report-section--media{background:#fbfdff  !important;border:1px solid #e2e8f0  !important;border-radius:18px  !important;padding:14px  !important;}
.dsrv-form[data-entity="report"] .dsrv-report-section--media>label{display:block  !important;margin-bottom:10px  !important;font-size:12px  !important;font-weight:900  !important;letter-spacing:.06em  !important;text-transform:uppercase  !important;color:var(--rp-text)  !important;}
.dsrv-form[data-entity="report"] .dsrv-report-image-grid{display:grid  !important;grid-template-columns:repeat(4,minmax(0,1fr))  !important;gap:10px  !important;}
.dsrv-form[data-entity="report"] .dsrv-report-image-slot{min-width:0  !important;padding:10px  !important;border:1px solid #e5edf5  !important;border-radius:14px  !important;background:var(--rp-surface)  !important;}
.dsrv-form[data-entity="report"] .dsrv-report-image-head{display:grid  !important;gap:7px  !important;align-items:start  !important;}
.dsrv-form[data-entity="report"] .dsrv-report-image-head strong{font-size:11px  !important;font-weight:900  !important;letter-spacing:.04em  !important;text-transform:uppercase  !important;color:var(--rp-text)  !important;}
.dsrv-form[data-entity="report"] .dsrv-report-image-preview{min-height:68px  !important;display:flex  !important;align-items:center  !important;justify-content:center  !important;border-radius:12px  !important;background:var(--rp-surface-subtle)  !important;overflow:hidden  !important;}
.dsrv-form[data-entity="report"] .dsrv-report-image-preview img{display:block  !important;width:100%  !important;height:90px  !important;object-fit:cover  !important;border:0  !important;border-radius:12px  !important;}
.dsrv-form[data-entity="report"] .dsrv-report-image-head .dsrv-inline{gap:5px  !important;}
.dsrv-form[data-entity="report"] .dsrv-report-image-head .button{min-height:24px  !important;padding:0 7px  !important;font-size:10px  !important;border-radius:8px  !important;}
@media (max-width:1100px){
  .dsrv-form[data-entity="report"] .dsrv-report-image-grid{grid-template-columns:repeat(2,minmax(0,1fr))  !important;}
}
@media (max-width:680px){
  .dsrv-form[data-entity="report"] .dsrv-report-image-grid{grid-template-columns:1fr  !important;}
  .dsrv-form[data-entity="report"] .dsrv-report-image-preview img{height:auto  !important;max-height:220px  !important;}
}
@keyframes dsrvTaskAgePulse156{
  0%{box-shadow:0 0 0 0 rgba(220,38,38,.34),inset 0 1px 0 rgba(255,255,255,.74);}
  55%{box-shadow:0 0 0 8px rgba(220,38,38,0),inset 0 1px 0 rgba(255,255,255,.74);}
  100%{box-shadow:0 0 0 0 rgba(220,38,38,0),inset 0 1px 0 rgba(255,255,255,.74);}
}
.dsrv-route-live-warning{margin:8px 0 10px  !important;padding:10px 12px  !important;border:1px solid var(--rp-danger-line)  !important;border-left:5px solid var(--rp-danger)  !important;border-radius:14px  !important;font-weight:900  !important;}
.dsrv-route-live-warning strong{display:block  !important;font-size:13px  !important;}
.dsrv-route-live-warning span{display:block  !important;color:#b91c1c  !important;font-size:12px  !important;line-height:1.45  !important;}
.dsrv-panel[data-panel="opgavekort"] .dsrv-routes-work-map{display:block  !important;min-height:560px  !important;}
.dsrv-routes-work-map--empty{padding:22px;display:flex  !important;align-items:center  !important;justify-content:center  !important;min-height:220px  !important;background:var(--rp-surface-subtle)  !important;border:1px dashed #cbd5e1  !important;border-radius:18px  !important;color:var(--rp-muted)!important;font-weight:800  !important;}
.dsrv-routes-work-map--empty[hidden],[data-work-map-view-panel][hidden]{display:none  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-editor .dsrv-route-opgavekort-slot{display:none  !important;}
.dsrv-rowitem--report.is-no-charge{border-color:var(--rp-warning-line)!important;background:linear-gradient(145deg,color-mix(in srgb,var(--rp-warning) 7%,var(--rp-surface) 93%),var(--rp-surface))!important;box-shadow:0 12px 26px color-mix(in srgb,var(--rp-warning) 7%,transparent)!important;}
.dsrv-report-no-charge-list-card{margin-top:10px;display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;padding:12px 14px;border:1px solid var(--rp-warning-line);border-radius:16px;background:linear-gradient(145deg,color-mix(in srgb,var(--rp-warning) 10%,var(--rp-surface) 90%),var(--rp-surface));color:var(--rp-warning-text);box-shadow:0 10px 24px color-mix(in srgb,var(--rp-warning) 10%,transparent);}
.dsrv-report-no-charge-list-card strong{font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.06em;}
.dsrv-report-no-charge-list-card span{font-size:12px;font-weight:750;}
.dsrv-report-no-charge-list-card small{flex-basis:100%;color:var(--rp-warning-text);font-size:12px;line-height:1.45;}
.dsrv-report-no-charge-live{display:none;margin:14px 0 0;padding:14px 16px;border:1px solid var(--rp-warning-line);border-left:5px solid var(--rp-warning);border-radius:18px;background:linear-gradient(145deg,color-mix(in srgb,var(--rp-warning) 11%,var(--rp-surface) 89%),var(--rp-surface));box-shadow:0 12px 28px color-mix(in srgb,var(--rp-warning) 11%,transparent);color:var(--rp-warning-text);}
.dsrv-report-no-charge-live.is-visible{display:grid;gap:4px;}
.dsrv-report-no-charge-live strong{font-size:16px;line-height:1.25;font-weight:950;color:var(--rp-warning-text);}
.dsrv-report-no-charge-live span{font-size:13px;line-height:1.45;font-weight:850;color:var(--rp-warning-text);}
.dsrv-employee-module-tabs span{display:inline-flex;align-items:center;padding:7px 11px;border-radius:999px;background:#edf6e8;border:1px solid #d6e8cd;color:#295218;font-size:12px;font-weight:800;white-space:nowrap;}
.dsrv-employee-details--calendar{margin-top:14px  !important;}
.dsrv-employee-calendar-head strong{display:block  !important;font-size:17px  !important;color:var(--rp-text)!important;}
.dsrv-employee-timebank-summary{display:grid  !important;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))  !important;gap:8px  !important;min-width:min(100%,340px)  !important;}
.dsrv-employee-timebank-summary span{display:grid  !important;align-content:center  !important;gap:3px  !important;padding:10px  !important;border:1px solid #d7e7d0  !important;border-radius:13px  !important;background:var(--rp-surface)  !important;text-align:center  !important;font-weight:800  !important;font-size:12px  !important;color:#284d24  !important;}
.dsrv-employee-timebank-summary span b{font-size:13px  !important;line-height:1.25  !important;}
.dsrv-employee-timebank-summary .is-plus{background:#ecfdf3  !important;border-color:#bde8c8  !important;color:var(--rp-success)  !important;}
.dsrv-employee-timebank-summary .is-minus{background:var(--rp-warning-soft)  !important;border-color:var(--rp-warning-line)  !important;color:var(--rp-warning-text)  !important;}
.dsrv-employee-calendar-weekdays{display:grid  !important;grid-template-columns:repeat(7,minmax(0,1fr))  !important;gap:7px  !important;margin:8px 0  !important;}
.dsrv-employee-calendar-weekdays span{text-align:center  !important;text-transform:uppercase  !important;font-size:10px  !important;letter-spacing:.08em  !important;font-weight:950  !important;color:#6b7b64  !important;}
.dsrv-employee-time-calendar{display:grid  !important;gap:7px  !important;}
.dsrv-work-day{min-height:78px  !important;border:1px solid #dfe9da  !important;border-radius:16px  !important;background:var(--rp-surface)  !important;padding:8px  !important;text-align:left  !important;display:flex  !important;flex-direction:column  !important;gap:4px  !important;cursor:pointer  !important;box-shadow:0 7px 16px rgba(15,23,42,.035)  !important;transition:.15s ease  !important;}
.dsrv-work-day:hover{transform:translateY(-1px)  !important;border-color:#8cc56c  !important;box-shadow:0 12px 24px rgba(15,23,42,.08)  !important;}
.dsrv-work-day.is-empty{visibility:hidden  !important;pointer-events:none  !important;}
.dsrv-work-day strong{font-size:16px  !important;color:var(--rp-text)!important;line-height:1  !important;}
.dsrv-work-day small{font-size:12px  !important;font-weight:900  !important;color:#2e5c29  !important;}
.dsrv-work-day em{margin-top:auto  !important;font-style:normal  !important;font-size:11px  !important;font-weight:900  !important;color:#7b847a  !important;}
.dsrv-work-day.has-time{background:#f8fdf5  !important;border-color:var(--rp-line)  !important;}
.dsrv-work-day.is-minus{background:#fffaf2  !important;border-color:#f6d6a8  !important;}
.dsrv-workday-help{font-weight:700  !important;}
@media (max-width:1100px){.dsrv-employee-time-calendar,.dsrv-employee-calendar-weekdays{grid-template-columns:repeat(4,minmax(0,1fr))  !important;}}
@media (max-width:720px){.dsrv-employee-calendar-head{display:grid  !important;}.dsrv-employee-timebank-summary{width:100%  !important;min-width:0  !important;}.dsrv-employee-time-calendar,.dsrv-employee-calendar-weekdays{grid-template-columns:repeat(2,minmax(0,1fr))  !important;}}
.dsrv-panel[data-panel="ruter"] .dsrv-dnd-list[data-list="available"] .dsrv-task{background:#fffdfd  !important;border-color:#f3d6da  !important;border-left:4px solid #f6a9b2  !important;box-shadow:0 5px 14px rgba(15,23,42,.045)  !important;}
.dsrv-panel[data-panel="kunder"] .dsrv-subtab[data-customer-filter]{cursor:pointer  !important;pointer-events:auto  !important;}
.dsrv-work-day-type{display:inline-flex  !important;align-self:flex-start  !important;max-width:100%  !important;border-radius:999px  !important;background:color-mix(in srgb,var(--rp-primary) 9%,var(--rp-surface) 91%)  !important;border:1px solid #d4e8c9  !important;color:#365728  !important;padding:2px 7px  !important;font-size:10px  !important;font-weight:900  !important;white-space:nowrap  !important;overflow:hidden  !important;text-overflow:ellipsis  !important;}
.dsrv-work-day.is-type-day_off,.dsrv-work-day.is-type-paid_leave{background:color-mix(in srgb,var(--rp-primary) 5%,var(--rp-surface) 95%)  !important;border-color:#cfe8c9  !important;}
.dsrv-work-day.is-type-half_day{background:#fffdf4  !important;border-color:#f3dda1  !important;}
.dsrv-work-day.is-type-early_stop{background:var(--rp-warning-soft)  !important;border-color:var(--rp-warning-line)  !important;}
.dsrv-work-day.is-type-payout{background:var(--rp-surface-subtle)  !important;border-color:#cbd5e1  !important;}
.dsrv-workday-typebar{display:flex  !important;gap:8px  !important;flex-wrap:wrap  !important;margin:0 0 12px  !important;padding:10px  !important;border-radius:18px  !important;background:var(--rp-surface-subtle)  !important;border:1px solid #e0ecd9  !important;}
.dsrv-workday-typebar button{appearance:none  !important;border:1px solid var(--rp-line)  !important;background:var(--rp-surface)  !important;color:var(--rp-primary-dark)  !important;border-radius:999px  !important;padding:8px 12px  !important;font-weight:900  !important;cursor:pointer  !important;box-shadow:0 4px 12px rgba(15,23,42,.04)  !important;}
.dsrv-workday-typebar button.is-active{background:linear-gradient(135deg,var(--rp-primary-dark),var(--rp-primary))  !important;border-color:var(--rp-primary-dark)  !important;color:#fff  !important;}
@media (max-width:720px){.dsrv-workday-typebar{display:grid  !important;grid-template-columns:1fr 1fr  !important;}.dsrv-workday-typebar button{width:100%  !important;}}

.dsrv-workday-fields label{display:grid!important;gap:5px!important;min-width:0!important;color:var(--rp-muted)!important;font-size:10px!important;font-weight:950!important;letter-spacing:.07em!important;text-transform:uppercase!important;}
.dsrv-workday-fields input{width:100%  !important;max-width:100%  !important;min-height:40px  !important;border-radius:12px  !important;border:1px solid #d6e3cf  !important;background:var(--rp-surface)  !important;padding:7px 10px  !important;color:var(--rp-text)!important;font-size:14px  !important;font-weight:800  !important;box-shadow:none  !important;}
.dsrv-workday-section input,.dsrv-workday-section select{font-weight:800  !important;box-shadow:none  !important;}
.dsrv-workday-section textarea{box-shadow:none  !important;resize:vertical  !important;text-transform:none  !important;letter-spacing:normal  !important;font-weight:700  !important;}
.dsrv-workday-minihelp{font-weight:700  !important;}
.dsrv-workday-section--result .dsrv-workday-result-list{display:grid  !important;gap:10px  !important;}
.dsrv-workday-section--result .dsrv-workday-result{min-height:54px  !important;border:1px solid #d6e3cf  !important;border-radius:16px  !important;background:var(--rp-surface)  !important;padding:10px 12px  !important;display:grid  !important;align-content:center  !important;gap:2px  !important;}
.dsrv-workday-section--result .dsrv-workday-result strong{font-size:17px  !important;white-space:nowrap  !important;}
@media (max-width:1120px){
  .dsrv-workday-form-grid{grid-template-columns:1fr 1fr  !important;}
}
@media (max-width:720px){
  .dsrv-workday-form-grid{grid-template-columns:1fr  !important;}
  .dsrv-workday-fields--time{grid-template-columns:1fr  !important;}
  .dsrv-workday-adjust-row{grid-template-columns:1fr  !important;}

}
.dsrv-workday-section{min-width:0  !important;border:1px solid #dfeadc  !important;border-radius:20px  !important;background:linear-gradient(180deg,#fff,var(--rp-surface-subtle))  !important;padding:14px  !important;box-shadow:0 8px 22px rgba(15,23,42,.045)  !important;}
.dsrv-workday-section h3{font-weight:950  !important;margin:0 0 10px  !important;font-size:13px  !important;text-transform:uppercase  !important;letter-spacing:.07em  !important;color:#365728  !important;}
.dsrv-workday-fields{display:grid  !important;gap:10px  !important;}
.dsrv-workday-fields--time{grid-template-columns:repeat(2,minmax(0,1fr))  !important;}
.dsrv-workday-section label{letter-spacing:.07em  !important;text-transform:uppercase  !important;display:grid  !important;gap:5px  !important;font-size:12px  !important;font-weight:900  !important;color:#344f2c  !important;min-width:0  !important;}
.dsrv-workday-section input,.dsrv-workday-section select,.dsrv-workday-section textarea{width:100%  !important;max-width:100%  !important;box-sizing:border-box  !important;min-height:42px  !important;border-radius:14px  !important;border:1px solid #cddfc7  !important;background:var(--rp-surface)  !important;color:#172017  !important;padding:8px 10px  !important;font-size:14px  !important;}
.dsrv-workday-adjust-row{display:grid  !important;grid-template-columns:110px minmax(0,1fr) auto  !important;gap:8px  !important;align-items:center  !important;}
.dsrv-workday-adjust-row span{font-size:12px  !important;color:var(--rp-muted)!important;font-weight:800  !important;white-space:nowrap  !important;}
.dsrv-workday-minihelp,.dsrv-workday-help{margin-top:10px  !important;color:var(--rp-muted)!important;font-size:12px  !important;line-height:1.4  !important;}
.dsrv-workday-section--note{grid-column:1/2  !important;}
.dsrv-workday-result-list{display:grid  !important;gap:10px  !important;}
.dsrv-workday-result{min-height:38px  !important;align-content:center  !important;display:flex  !important;align-items:center  !important;justify-content:space-between  !important;gap:12px  !important;min-width:0  !important;border:1px solid #dfeadc  !important;background:var(--rp-surface)  !important;border-radius:16px  !important;padding:12px  !important;}
.dsrv-workday-result span{font-size:12px  !important;text-transform:uppercase  !important;letter-spacing:.06em  !important;color:var(--rp-muted)!important;font-weight:900  !important;}
.dsrv-workday-result strong{font-size:20px  !important;line-height:1.1  !important;color:var(--rp-text)!important;white-space:nowrap  !important;}

.dsrv-workday-secondary{border:1px solid #cadcc3  !important;background:var(--rp-surface-subtle)  !important;border-color:#cbd5e1  !important;color:var(--rp-text)  !important;}
@media (max-width:820px){

  .dsrv-workday-form-grid{grid-template-columns:1fr  !important;}
  .dsrv-workday-section--note,.dsrv-workday-section--result{grid-column:auto  !important;}
  .dsrv-workday-fields--time{grid-template-columns:1fr 1fr  !important;}
}
@media (max-width:520px){

  .dsrv-workday-fields--time,.dsrv-workday-adjust-row{grid-template-columns:1fr  !important;}

}
.dsrv-employee-calendar-nav{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:10px;}
.dsrv-employee-calendar-nav .button{border-radius:999px  !important;}
.dsrv-employee-calendar-jump{display:flex;flex-wrap:wrap;gap:7px;align-items:center;}
.dsrv-employee-calendar-jump select{min-height:32px;border-radius:999px;border:1px solid #d8e6d2;background:var(--rp-surface);padding:0 10px;}
.dsrv-employee-week-totals{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:12px 0;}
.dsrv-employee-week-totals span{display:grid;gap:3px;border:1px solid var(--rp-line);background:var(--rp-surface-subtle);border-radius:14px;padding:9px;}
.dsrv-employee-week-totals strong{font-size:11px;text-transform:uppercase;color:#64745f;letter-spacing:.04em;}
.dsrv-employee-week-totals b{font-size:14px;color:var(--rp-text);}
.dsrv-employee-pest-year-nav{margin-top:10px;}
.dsrv-route-editor{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:start  !important;}
.dsrv-route-editor>.dsrv-col:first-child{position:sticky;top:72px;align-self:start;max-height:calc(100vh - 92px);overflow:auto;padding-bottom:16px;background:var(--rp-surface);border-radius:18px;z-index:4;}
.dsrv-route-editor>.dsrv-col:first-child .dsrv-dnd-list[data-list="available"]{min-height:180px;}
.dsrv-touch-actions--available{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px;}
.dsrv-touch-add-route{background:linear-gradient(135deg,#2f7d22,#78bd35)  !important;color:#fff  !important;border-color:#5aac39  !important;}
@media (max-width:1100px){.dsrv-route-editor>.dsrv-col:first-child{position:relative;top:auto;max-height:none;}}
.dsrv-employee-calendar-head{display:flex  !important;justify-content:space-between  !important;gap:14px  !important;margin-bottom:12px  !important;align-items:flex-start  !important;}
.dsrv-workday-result-list--pro{grid-template-columns:repeat(2,minmax(0,1fr))  !important;}
.dsrv-workday-result--final{grid-column:1/-1  !important;background:#f0fae9  !important;border-color:#bfe4ad  !important;}
.dsrv-workday-result .is-plus,[data-workday-new-balance].is-plus,[data-workday-prev-balance].is-plus,[data-workday-adjust-label].is-plus{color:#168a22  !important;}
.dsrv-workday-result .is-minus,[data-workday-new-balance].is-minus,[data-workday-prev-balance].is-minus,[data-workday-adjust-label].is-minus{color:var(--rp-danger)  !important;}
.dsrv-workday-section--result{grid-column:2  !important;grid-row:1 / span 3  !important;}
@media (max-width:900px){.dsrv-workday-form-grid{grid-template-columns:1fr  !important;}.dsrv-workday-section--result{grid-column:auto  !important;grid-row:auto  !important;}.dsrv-workday-result-list--pro{grid-template-columns:1fr  !important;}}
.dsrv-employee-work-profile-box{border:1px solid #dbe8d5;background:var(--rp-surface-subtle);border-radius:18px;padding:14px  !important;margin-top:12px  !important;}
.dsrv-employee-calendar-weekdays--weeks,.dsrv-employee-time-calendar{grid-template-columns:54px repeat(7,minmax(0,1fr))  !important;}
.dsrv-work-week-no{display:grid;place-items:center;min-height:58px;border:1px solid #d9ead1;background:#eaf4e6;border-radius:14px;color:#28651d;font-size:11px;font-weight:900;text-align:center;}
.dsrv-work-day.is-today{border-color:#93c5fd  !important;background:#eff6ff  !important;box-shadow:0 0 0 2px rgba(37,99,235,.16)  !important;}
.dsrv-work-day.is-plus em,.dsrv-workday-result strong.is-plus{color:#16801f  !important;font-weight:950  !important;}
.dsrv-work-day.is-minus em,.dsrv-workday-result strong.is-minus{color:#b91c1c  !important;font-weight:950  !important;}
.dsrv-employee-session-btn{white-space:nowrap;}
@media (max-width:760px){.dsrv-employee-calendar-weekdays--weeks,.dsrv-employee-time-calendar{grid-template-columns:46px repeat(7,minmax(0,1fr))  !important;}.dsrv-work-week-no{font-size:10px;min-height:50px;}.dsrv-workday-result-list--pro{grid-template-columns:1fr;}}
.dsrv-workday-section--note textarea{height:100%  !important;min-height:112px  !important;width:100%  !important;max-width:100%  !important;box-sizing:border-box  !important;resize:vertical  !important;}
.dsrv-employee-calendar-shell{border:1px solid #d9e8d2  !important;border-radius:22px  !important;background:linear-gradient(180deg,var(--rp-surface-subtle),#f2f8ee)  !important;padding:16px  !important;box-shadow:0 12px 28px rgba(15,23,42,.05)  !important;max-width:520px  !important;}
.dsrv-rowitem-actions .dsrv-employee-session-btn[data-employee-session-action="logout"]{border-color:#cbd5e1  !important;background:var(--rp-surface)  !important;}
.dsrv-case-head{background:var(--rp-surface);border:1px solid #e2efd9;border-radius:14px;padding:10px 12px;}
.dsrv textarea{box-sizing:border-box;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;}
.dsrv-settings-card{display:grid;gap:12px;align-content:start;}
.dsrv-settings-card .dsrv-field{display:grid;gap:6px;}
.dsrv-settings-card .dsrv-field span{font-weight:900;color:#102910;}
.dsrv-settings-card .dsrv-field input{width:100%;max-width:100%;box-sizing:border-box;border:1px solid #cfe6c4;border-radius:12px;padding:10px 12px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;}
.dsrv-settings-card .dsrv-field small{color:var(--rp-muted);font-weight:700;}
.dsrv-checkline{display:flex;align-items:center;gap:8px;font-weight:900;color:#78350f;background:var(--rp-warning-soft);border:1px solid var(--rp-warning-line);border-radius:12px;padding:9px 10px;}
.dsrv-settings-status{display:grid;gap:8px;}
.dsrv-settings-status>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;border:1px solid #e2efd9;background:color-mix(in srgb,var(--rp-primary) 5%,var(--rp-surface) 95%);border-radius:12px;padding:10px 12px;}
.dsrv-settings-status span{color:var(--rp-muted);font-weight:900;text-transform:uppercase;font-size:11px;letter-spacing:.04em;}
.dsrv-settings-status strong{color:#102910;text-align:right;}
.dsrv-google-api-test{margin-top:12px;display:grid;gap:8px;border:1px solid #dbead4;background:var(--rp-surface-subtle);border-radius:14px;padding:10px;color:#243326;font-weight:700;}
.dsrv-google-api-test__row{display:grid;grid-template-columns:170px minmax(0,1fr);gap:8px;align-items:start;border:1px solid #e5e7eb;background:var(--rp-surface);border-radius:11px;padding:9px 10px;}
.dsrv-google-api-test__row strong{font-weight:950;color:var(--rp-text);}
.dsrv-google-api-test__row span{color:var(--rp-muted);font-weight:750;line-height:1.35;}
.dsrv-google-api-test__row.is-ok{border-color:var(--rp-success-line);background:var(--rp-success-soft);}
.dsrv-google-api-test__row.is-ok strong{color:var(--rp-success);}
.dsrv-google-api-test__row.is-warning{border-color:var(--rp-warning-line);background:var(--rp-warning-soft);}
.dsrv-google-api-test__row.is-warning strong{color:var(--rp-warning-text);}
.dsrv-google-api-test__row.is-error{border-color:var(--rp-danger-line);background:var(--rp-danger-soft);}
.dsrv-google-api-test__row.is-error strong{color:var(--rp-danger);}
@media (max-width:700px){.dsrv-google-api-test__row{grid-template-columns:1fr;}}
.dsrv-employee-details{margin-top:16px  !important;padding:16px  !important;border-radius:24px  !important;background:linear-gradient(180deg,#fff 0%,var(--rp-surface-subtle) 100%)  !important;border:1px solid #dfe9da  !important;box-shadow:0 16px 36px rgba(15,23,42,.06)  !important;}
.dsrv-employee-details .button{border-radius:999px  !important;font-weight:850  !important;}






.dsrv .dsrv-settings-status>div{border-radius:16px  !important;background:linear-gradient(180deg,#ffffff 0%,#f8fbf5 100%)  !important;}
.dsrv .dsrv-google-api-test__row{border-radius:13px  !important;}
.dsrv .dsrv-google-api-test__row strong{font-size:12px  !important;}
.dsrv .dsrv-google-api-test__row span{font-size:12px  !important;line-height:1.45  !important;}



.dsrv [data-google-route-map]{border-radius:20px  !important;overflow:hidden  !important;border:1px solid #d9ead2  !important;}
.dsrv .dsrv-api-errors{border:1px solid var(--rp-warning-line)  !important;background:var(--rp-warning-soft)  !important;border-radius:16px  !important;padding:12px  !important;margin-top:12px  !important;}
.dsrv .dsrv-api-error-row{display:grid  !important;grid-template-columns:auto minmax(0,1fr)  !important;gap:8px  !important;align-items:start  !important;padding:6px 0  !important;border-top:1px solid var(--rp-warning-soft)  !important;}
.dsrv .dsrv-api-error-row:first-of-type{border-top:0  !important;}
.dsrv .dsrv-api-error-row code{background:var(--rp-danger-soft)  !important;color:var(--rp-danger)  !important;border-radius:999px  !important;padding:3px 6px  !important;font-size:10px  !important;font-weight:900  !important;}
.dsrv .dsrv-open-report{border-radius:999px  !important;font-weight:900  !important;}
.dsrv .dsrv-send-plain:not(.dsrv-modal .dsrv-send-plain){display:none  !important;}
.dsrv .dsrv-google-api-test__row.is-ok{background:var(--rp-success-soft)  !important;border-color:var(--rp-success-line)  !important;}
.dsrv .dsrv-google-api-test__row.is-error{background:var(--rp-danger-soft)  !important;border-color:var(--rp-danger-line)  !important;}
.dsrv .dsrv-google-api-test__row.is-warning{background:var(--rp-warning-soft)  !important;border-color:var(--rp-warning-line)  !important;}
@media (max-width:860px){.dsrv .dsrv-card-title-row{align-items:flex-start  !important;flex-direction:column  !important;}}
.rp-address-suggest{position:relative;z-index:9999;max-width:520px;}
.rp-address-suggest.is-open{background:var(--rp-surface);border:1px solid #d8e7d5;border-radius:12px;box-shadow:0 14px 28px rgba(0,0,0,.12);overflow:hidden;margin-top:4px;}
.rp-address-suggest__item{display:block;width:100%;border:0;background:var(--rp-surface);text-align:left;padding:10px 12px;font-weight:700;color:#18311f;cursor:pointer;}
.rp-address-suggest__item:hover{background:#eef6ee;}
.rp-address-suggest__item+.rp-address-suggest__item{border-top:1px solid #edf3eb;}
.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-details,.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-details--calendar,.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-calendar-shell{box-sizing:border-box  !important;}
.dsrv .dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-details,.dsrv .dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-details--calendar,.dsrv .dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-calendar-shell{width:100%  !important;max-width:none  !important;min-width:0  !important;box-sizing:border-box  !important;}
.dsrv .dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-calendar-shell{padding:18px  !important;}
.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-calendar-head,.dsrv .dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-calendar-head{display:grid  !important;grid-template-columns:minmax(0,1fr) minmax(220px,360px)  !important;gap:16px  !important;align-items:start  !important;}
.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-calendar-nav,.dsrv .dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-calendar-nav{display:grid  !important;grid-template-columns:repeat(2,max-content) minmax(280px,1fr) repeat(2,max-content)  !important;gap:8px  !important;align-items:center  !important;width:100%  !important;}
.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-calendar-jump,.dsrv .dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-calendar-jump{display:grid  !important;grid-template-columns:1.2fr .9fr .9fr  !important;gap:7px  !important;min-width:0  !important;}
.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-calendar-jump select,.dsrv .dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-calendar-jump select{width:100%  !important;min-width:0  !important;max-width:100%  !important;}
.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-calendar-weekdays--weeks,.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-time-calendar,.dsrv .dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-calendar-weekdays--weeks,.dsrv .dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-time-calendar{grid-template-columns:64px repeat(7,minmax(84px,1fr))  !important;gap:8px  !important;}
.dsrv-panel[data-panel="medarbejdere"] .dsrv-work-week-no,.dsrv .dsrv-panel[data-panel="medarbejdere"] .dsrv-work-week-no{min-height:62px  !important;}
@media (max-width:1200px){
  .dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-calendar-head,.dsrv .dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-calendar-head{grid-template-columns:1fr  !important;}
  .dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-calendar-nav,.dsrv .dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-calendar-nav{grid-template-columns:repeat(2,max-content) minmax(240px,1fr) repeat(2,max-content)  !important;}
}
@media (max-width:900px){
  .dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-calendar-nav,.dsrv .dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-calendar-nav{grid-template-columns:1fr 1fr  !important;}
  .dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-calendar-jump,.dsrv .dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-calendar-jump{grid-column:1 / -1  !important;grid-template-columns:1fr 1fr 1fr  !important;order:3  !important;}
  .dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-calendar-weekdays--weeks,.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-time-calendar,.dsrv .dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-calendar-weekdays--weeks,.dsrv .dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-time-calendar{grid-template-columns:52px repeat(7,minmax(70px,1fr))  !important;overflow-x:auto  !important;}
}
.dsrv-new-customer-grid .dsrv-new-customer-address-row,.dsrv-new-customer-grid .dsrv-new-customer-email-row{grid-column:1 / -1  !important;}
.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-details--calendar{clear:both  !important;max-width:none  !important;min-width:0  !important;}

.dsrv .dsrv-panel:not([data-panel="ruter"]) .dsrv-card,.dsrv .dsrv-panel:not([data-panel="ruter"]) .dsrv-rowitem,.dsrv .dsrv-panel:not([data-panel="ruter"]) .dsrv-task,.dsrv .dsrv-panel:not([data-panel="ruter"]) .dsrv-health-card,.dsrv .dsrv-panel:not([data-panel="ruter"]) .dsrv-empty-state{border-color:var(--rp-line);border-radius:var(--rp-radius);background:var(--rp-surface);box-shadow:var(--rp-shadow);}
.dsrv .dsrv-panel:not([data-panel="ruter"]) .dsrv-section-head{margin:12px 0 18px;align-items:flex-start;}
.dsrv .dsrv-panel:not([data-panel="ruter"]) .dsrv-h1{font-size:21px;line-height:1.18;letter-spacing:-.025em;color:var(--rp-ink);}
.dsrv .dsrv-panel:not([data-panel="ruter"]) .dsrv-h2,.dsrv .dsrv-panel:not([data-panel="ruter"]) .dsrv-card-title{letter-spacing:-.01em;color:var(--rp-ink);}
.dsrv .dsrv-panel:not([data-panel="ruter"]) .dsrv-muted{line-height:1.5;color:var(--rp-muted);}
.dsrv .dsrv-panel:not([data-panel="ruter"]) .dsrv-list{gap:12px;}
.dsrv .dsrv-panel:not([data-panel="ruter"]) .dsrv-grid.cards{gap:14px;}
.dsrv .dsrv-panel:not([data-panel="ruter"]) .button,.dsrv .dsrv-panel:not([data-panel="ruter"]) button.button{box-shadow:var(--rp-shadow-xs);}
@media (max-width:782px){
  .dsrv .dsrv-panel:not([data-panel="ruter"]) .dsrv-section-head{gap:10px;}
  .dsrv .dsrv-panel:not([data-panel="ruter"]) .dsrv-h1{font-size:19px;}
}
.dsrv .dsrv-panel:not([data-panel="ruter"]) input[type="text"],.dsrv .dsrv-panel:not([data-panel="ruter"]) input[type="email"],.dsrv .dsrv-panel:not([data-panel="ruter"]) input[type="tel"],.dsrv .dsrv-panel:not([data-panel="ruter"]) input[type="number"],.dsrv .dsrv-panel:not([data-panel="ruter"]) input[type="date"],.dsrv .dsrv-panel:not([data-panel="ruter"]) input[type="time"],.dsrv .dsrv-panel:not([data-panel="ruter"]) select,.dsrv .dsrv-panel:not([data-panel="ruter"]) textarea,.dsrv .dsrv-modal input[type="text"],.dsrv .dsrv-modal input[type="email"],.dsrv .dsrv-modal input[type="tel"],.dsrv .dsrv-modal input[type="number"],.dsrv .dsrv-modal input[type="date"],.dsrv .dsrv-modal input[type="time"],.dsrv .dsrv-modal select,.dsrv .dsrv-modal textarea{border-color:var(--rp-line);border-radius:13px;box-shadow:0 1px 0 rgba(15,23,42,.025);}
.dsrv .dsrv-panel:not([data-panel="ruter"]) input:focus,.dsrv .dsrv-panel:not([data-panel="ruter"]) select:focus,.dsrv .dsrv-panel:not([data-panel="ruter"]) textarea:focus,.dsrv .dsrv-modal input:focus,.dsrv .dsrv-modal select:focus,.dsrv .dsrv-modal textarea:focus{border-color:var(--rp-primary);box-shadow:0 0 0 3px var(--rp-primary-focus);outline:none;}
.dsrv .dsrv-subtab{border-color:#dbe7d6;}
.dsrv .dsrv-local-search{min-height:38px;}
.dsrv-admin-map-status{display:grid;grid-template-columns:14px minmax(0,1fr);gap:10px;align-items:start;max-width:680px;width:100%;border-radius:14px;padding:11px 12px;background:#eff6ff;border:1px solid #bfdbfe;color:#1e3a8a;box-shadow:0 10px 26px rgba(15,23,42,.08);font-weight:850;line-height:1.35;}
.dsrv-admin-map-status__dot{width:10px;height:10px;border-radius:999px;margin-top:4px;background:currentColor;box-shadow:0 0 0 4px rgba(37,99,235,.10);}
.dsrv-admin-map-status strong{display:block;font-size:12px;font-weight:950;letter-spacing:.01em;}
.dsrv-admin-map-status small{display:block;margin-top:3px;font-size:11px;font-weight:750;color:inherit;opacity:.88;}
.dsrv-admin-map-status.is-ok{background:var(--rp-success-soft);border-color:var(--rp-success-line);color:var(--rp-success);}
.dsrv-admin-map-status.is-ok .dsrv-admin-map-status__dot{box-shadow:0 0 0 4px rgba(22,163,74,.12);}
.dsrv-admin-map-status.is-warning{background:var(--rp-warning-soft);border-color:var(--rp-warning-line);color:var(--rp-warning-text);}
.dsrv-admin-map-status.is-warning .dsrv-admin-map-status__dot{box-shadow:0 0 0 4px rgba(245,158,11,.14);}
.dsrv-admin-map-status.is-error{background:var(--rp-danger-soft);border-color:var(--rp-danger-line);color:var(--rp-danger);}
.dsrv-admin-map-status.is-error .dsrv-admin-map-status__dot{box-shadow:0 0 0 4px rgba(220,38,38,.12);}
.dsrv-report-normalized-note{margin:10px 0  !important;border-radius:12px  !important;padding:10px 12px  !important;background:var(--rp-warning-soft)  !important;border:1px solid var(--rp-warning-line)  !important;color:var(--rp-warning-text)  !important;font-weight:800  !important;}
.dsrv-form[data-entity="report"] .dsrv-followup-tools{display:flex  !important;gap:8px  !important;flex-wrap:wrap  !important;align-items:center  !important;margin:0 0 10px  !important;}
.dsrv-form[data-entity="report"] .dsrv-report-route-planner{display:block  !important;margin-top:12px  !important;padding:12px  !important;border:1px solid var(--rp-success-line)  !important;background:var(--rp-success-soft)  !important;border-radius:16px  !important;}
.dsrv-form[data-entity="report"] .dsrv-report-route-planner__head{display:flex  !important;justify-content:space-between  !important;gap:12px  !important;align-items:flex-start  !important;}
.dsrv-form[data-entity="report"] .dsrv-report-route-planner__head strong{display:block  !important;color:var(--rp-success)  !important;font-size:13px  !important;}
.dsrv-form[data-entity="report"] .dsrv-report-route-planner__head span{display:block  !important;color:var(--rp-muted)  !important;font-size:11px  !important;line-height:1.35  !important;}
.dsrv-form[data-entity="report"] .dsrv-route-placement-box{display:block  !important;margin-top:10px  !important;padding:10px 12px  !important;border:1px solid #d9f99d  !important;border-radius:14px  !important;background:#f7fee7  !important;color:#365314  !important;font-weight:800  !important;}
.dsrv-task-feasibility{margin:9px 0;border-radius:16px;border:1px solid #dbeafe;background:#eff6ff;color:#1e3a8a;padding:10px 11px;display:grid;gap:4px;font-size:11px;line-height:1.35;}
.dsrv-task-feasibility strong{font-size:12px;font-weight:950;color:inherit;}
.dsrv-task-feasibility span{font-weight:850;color:inherit;}
.dsrv-task-feasibility small{font-weight:750;color:inherit;opacity:.86;}
.dsrv-task-feasibility--neutral{border-color:#e2e8f0;background:#f8fafc;color:var(--rp-muted);}
.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-details{clear:both  !important;width:100%  !important;max-width:none  !important;min-width:0  !important;border-radius:20px;border:1px solid var(--rp-line);background:var(--rp-surface-subtle);padding:16px;box-shadow:inset 0 1px 0 rgba(255,255,255,.75);}
.dsrv-panel[data-panel="medarbejdere"] .dsrv-work-day{border-radius:14px;border:1px solid #e1eadc;background:var(--rp-surface);box-shadow:none;}
.dsrv-panel[data-panel="medarbejdere"] .dsrv-work-day.is-plus{background:#f0faeb;border-color:#cfe8c7;}
.dsrv-panel[data-panel="medarbejdere"] .dsrv-work-day.is-minus{background:#fff7f6;border-color:var(--rp-danger-line);}

.dsrv [data-route-map] .gm-style{font:inherit  !important;z-index:1  !important;}
.dsrv [data-route-map] .gm-style-iw-c{border-radius:20px  !important;padding:0  !important;box-shadow:0 22px 55px rgba(15,23,42,.24)  !important;border:1px solid rgba(15,23,42,.08)  !important;}
.dsrv [data-route-map] .gm-style-iw-d{overflow:auto  !important;padding:12px  !important;max-height:min(560px,72vh)  !important;}
.dsrv [data-route-map] .gm-style-iw-tc{filter:drop-shadow(0 4px 8px rgba(15,23,42,.16));}
.dsrv [data-route-map] .gm-ui-hover-effect{top:6px  !important;right:6px  !important;border-radius:999px  !important;opacity:.72  !important;}
.dsrv [data-route-map] .gm-ui-hover-effect:hover{opacity:1  !important;background:#f1f5f9  !important;}
.dsrv-work-map-popup,.dsrv-route-map-popup{width:min(360px,calc(100vw - 56px));min-width:268px;display:grid;gap:8px;color:var(--rp-text);font-size:12px;line-height:1.35;}
.dsrv-work-map-popup__top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;}
.dsrv-work-map-popup__titlewrap{min-width:0;display:grid;gap:4px;}
.dsrv-work-map-popup__eyebrow{display:inline-flex;width:max-content;max-width:100%;align-items:center;gap:6px;padding:4px 9px;border-radius:999px;background:var(--rp-primary-soft);color:var(--rp-primary-dark);font-size:10px;font-weight:950;letter-spacing:.075em;text-transform:uppercase;}
.dsrv-work-map-popup--unrouted .dsrv-work-map-popup__eyebrow{background:#f1f5f9;color:var(--rp-text);}
.dsrv-work-map-popup--unrouted.is-overdue .dsrv-work-map-popup__eyebrow{background:var(--rp-warning-soft);color:var(--rp-warning-text);}
.dsrv-route-map-popup.is-live .dsrv-work-map-popup__eyebrow{background:var(--rp-warning-soft);color:var(--rp-warning-text);}
.dsrv-route-map-popup.is-live .dsrv-work-map-popup__eyebrow::before{content:"";width:8px;height:8px;border-radius:999px;background:var(--rp-warning);animation:ruteplanenPulseDot 1.2s ease-in-out infinite;}
.dsrv-route-map-popup.is-cancelled .dsrv-work-map-popup__eyebrow{background:var(--rp-neutral-soft);color:var(--rp-muted-strong);}
.dsrv-route-map-popup.is-done .dsrv-work-map-popup__eyebrow{background:var(--rp-success-soft);color:var(--rp-success);}
.dsrv-work-map-popup.is-danger .dsrv-work-map-popup__eyebrow,.dsrv-route-map-popup.is-danger .dsrv-work-map-popup__eyebrow{background:var(--rp-danger-soft);color:var(--rp-danger);}
.dsrv-work-map-popup strong,.dsrv-route-map-popup strong{display:block;margin:0;color:var(--rp-text);font-size:15px;font-weight:950;line-height:1.24;overflow-wrap:anywhere;}
.dsrv-work-map-popup__mapmark{flex:0 0 auto;display:grid;place-items:center;width:34px;height:34px;border-radius:999px;background:var(--rp-muted-strong);color:#fff;border:3px solid var(--rp-surface);box-shadow:0 0 0 5px color-mix(in srgb,var(--rp-muted) 15%,transparent),0 10px 22px color-mix(in srgb,var(--rp-primary-dark) 18%,transparent);font-size:16px;font-weight:950;line-height:1;}
.dsrv-work-map-popup__mapmark.is-overdue{background:#f97316;color:var(--rp-text);box-shadow:0 0 0 5px rgba(249,115,22,.18),0 10px 22px rgba(15,23,42,.20);}
.dsrv-work-map-popup__customer{font-weight:900;color:var(--rp-text);overflow-wrap:anywhere;}
.dsrv-work-map-popup__address{color:var(--rp-muted);font-size:12px;line-height:1.4;overflow-wrap:anywhere;}
.dsrv-work-map-popup__precautions{display:flex;flex-wrap:wrap;gap:4px;margin-top:2px;}
.dsrv-work-map-popup__precautions span{display:inline-flex;align-items:center;border:1px solid var(--rp-warning-line);background:var(--rp-warning-soft);color:var(--rp-warning-text);border-radius:999px;padding:2px 7px;font-size:11px;font-weight:800;}
.dsrv-work-map-popup__meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:2px;}
.dsrv-work-map-popup__meta span{display:inline-flex;align-items:center;border-radius:999px;padding:4px 8px;background:var(--rp-primary-soft);color:var(--rp-primary-dark);font-size:11px;font-weight:850;}
.dsrv-work-map-popup--unrouted .dsrv-work-map-popup__meta span{background:var(--rp-surface-subtle);color:var(--rp-text);border:1px solid var(--rp-line);}
.dsrv-work-map-popup__route{border-radius:13px;border:1px solid var(--rp-line);background:var(--rp-surface-subtle);padding:8px 10px;color:var(--rp-muted-strong);font-size:12px;line-height:1.35;}
.dsrv-work-map-popup--unrouted .dsrv-work-map-popup__route{background:var(--rp-surface-subtle);border-color:var(--rp-line);color:var(--rp-text);}
.dsrv-work-map-popup--unrouted.is-overdue .dsrv-work-map-popup__route{background:var(--rp-warning-soft);border-color:var(--rp-warning-line);color:var(--rp-warning-text);}
.dsrv-work-map-popup__target{border-radius:13px;border:1px solid var(--rp-line);padding:8px 10px;font-size:12px;line-height:1.35;display:grid;gap:2px;margin:0;background:color-mix(in srgb,var(--rp-primary) 5%,var(--rp-surface) 95%);color:var(--rp-text);}
.dsrv-work-map-popup__target strong{font-size:10px;text-transform:uppercase;letter-spacing:.055em;color:var(--rp-muted);}
.dsrv-work-map-popup__target span{font-weight:850;overflow-wrap:anywhere;}
.dsrv-work-map-popup__actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:2px;}
.dsrv-work-map-popup__entity-actions{display:flex;gap:6px;flex-wrap:wrap;align-items:center;margin-top:2px;}
.dsrv-work-map-popup__entity-actions .button{border-radius:999px  !important;min-height:30px  !important;padding:0 12px  !important;font-weight:900  !important;}
.dsrv-work-map-addbox{display:grid;gap:8px;width:100%;}
.dsrv-work-map-addbox .button,.dsrv-work-map-add-task{justify-content:center;border-radius:999px  !important;font-weight:950  !important;min-height:32px  !important;padding:0 14px  !important;cursor:pointer  !important;pointer-events:auto  !important;}
.dsrv-work-map-popup-note{padding:8px 10px;border-radius:13px;border:1px solid var(--rp-success-line);background:var(--rp-success-soft);color:var(--rp-success);font-size:12px;font-weight:850;line-height:1.35;}
.dsrv-work-map-popup-note.is-ok{border-radius:999px;}
.dsrv-work-map-popup-note.is-warning{background:var(--rp-warning-soft);border-color:var(--rp-warning-line);color:var(--rp-warning-text);}
.dsrv-work-map-popup-note.is-info{background:var(--rp-info-soft);border-color:var(--rp-info-line);color:var(--rp-text);font-weight:750;}
.dsrv-work-map-popup-note.is-danger strong{color:var(--rp-danger)  !important;}
.dsrv-work-map-fit,.dsrv-work-map-impact{display:grid;gap:7px;margin:2px 0;padding:10px;border:1px solid var(--rp-line);border-radius:13px;background:#f7fbf4;color:#25451f;}
.dsrv-work-map-fit strong,.dsrv-work-map-impact__head strong{font-size:12px;font-weight:950;color:var(--rp-text);}
.dsrv-work-map-fit span,.dsrv-work-map-fit small{display:block;font-size:12px;line-height:1.35;color:#536756;}
.dsrv-work-map-fit.is-yellow,.dsrv-work-map-impact.is-warning{background:var(--rp-warning-soft);border-color:var(--rp-warning-line);color:var(--rp-warning-text);}
.dsrv-work-map-impact.is-danger .dsrv-work-map-impact__head strong{color:var(--rp-danger)  !important;}
.dsrv-work-map-fit.is-red{background:var(--rp-danger-soft);border-color:var(--rp-danger-line);color:var(--rp-danger);}
.dsrv-work-map-fit.is-red span,.dsrv-work-map-fit.is-red small{color:var(--rp-danger);}
.dsrv-work-map-impact__head{display:flex;align-items:center;justify-content:space-between;gap:8px;}
.dsrv-work-map-impact__head small{font-size:10px;font-weight:950;color:inherit;white-space:nowrap;}
.dsrv-work-map-impact__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;}
.dsrv-work-map-impact__grid span{display:grid;gap:2px;padding:6px 7px;border-radius:10px;background:rgba(255,255,255,.72);border:1px solid rgba(15,23,42,.07);min-width:0;}
.dsrv-work-map-impact__grid span.is-wide{grid-column:1 / -1;}
.dsrv-work-map-impact__grid span b{font-size:9px;line-height:1.1;text-transform:uppercase;letter-spacing:.035em;color:var(--rp-muted);}
.dsrv-work-map-impact__grid span em{font-style:normal;font-size:11px;line-height:1.22;font-weight:850;color:var(--rp-text);overflow-wrap:anywhere;}
.dsrv-work-map-impact__grid span.is-danger{border-color:var(--rp-danger-line);background:#fff1f2;}
.dsrv-work-map-impact__grid span.is-danger b,.dsrv-work-map-impact__grid span.is-danger em{color:#b91c1c;}
.dsrv-work-map-impact__grid span.is-ok em{color:var(--rp-success);}
.dsrv-work-map-impact__warnings{display:grid;gap:5px;margin-top:1px;}
.dsrv-work-map-impact__warning-title{font-size:10px;font-weight:950;text-transform:uppercase;letter-spacing:.045em;color:var(--rp-warning-text);}
.dsrv-work-map-impact__warning-list{display:grid;gap:4px;}
.dsrv-work-map-impact__warning-list small{display:grid;grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);gap:6px;padding:5px 6px;border-radius:9px;background:#fff1f2;border:1px solid var(--rp-danger-line);color:var(--rp-danger);font-size:10px;line-height:1.25;}
.dsrv-work-map-impact__warning-list small b{font-weight:950;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.dsrv-work-map-impact__warning-list small span{overflow-wrap:anywhere;}
.dsrv-work-map-impact__warning-list small.is-more{display:block;background:var(--rp-warning-soft);border-color:var(--rp-warning-line);color:var(--rp-warning-text);font-weight:850;}
@media (max-width:680px){
  .dsrv-work-map-popup,.dsrv-route-map-popup{width:min(320px,calc(100vw - 34px));min-width:236px;}
  .dsrv-work-map-impact__grid,.dsrv-work-map-impact__warning-list small{grid-template-columns:1fr;}
  .dsrv-work-map-addbox .button,.dsrv-work-map-add-task{width:100%;}
}
/*Rute-editor toolbar styles are scoped in the clean rute-editor block below.*/
.dsrv-task-route-candidates{display:grid  !important;gap:14px  !important;margin:16px 0  !important;min-width:0  !important;width:100%  !important;}
.dsrv-task-route-candidates__title{font-size:13px  !important;font-weight:900  !important;color:var(--rp-text)!important;letter-spacing:.02em  !important;}
.dsrv-task-route-candidates__empty{padding:12px 14px  !important;border:1px dashed var(--rp-line)  !important;border-radius:14px  !important;background:var(--rp-surface-subtle)  !important;color:var(--rp-muted)!important;}
.dsrv-route-candidate{position:relative  !important;display:grid  !important;gap:14px  !important;width:100%  !important;min-width:0  !important;padding:16px  !important;border:1px solid var(--rp-line)!important;border-radius:18px  !important;background:linear-gradient(180deg,#ffffff 0%,var(--rp-surface-subtle) 100%)  !important;box-shadow:0 10px 24px rgba(15,23,42,.05)  !important;overflow:visible  !important;}
.dsrv-route-candidate:hover{border-color:#c7dfb7  !important;box-shadow:0 14px 30px rgba(31,90,26,.09)  !important;}
.dsrv-route-candidate.is-selected{border-color:#78b93d  !important;background:linear-gradient(180deg,#f8fff2 0%,#f1fae8 100%)  !important;box-shadow:0 0 0 3px rgba(120,185,61,.18),0 14px 30px rgba(31,90,26,.08)  !important;}
.dsrv-route-candidate.has-route-warning{border:2px solid var(--rp-danger)  !important;background:linear-gradient(180deg,#fff1f2 0%,#ffe4e6 100%)  !important;box-shadow:0 0 0 3px rgba(220,38,38,.16),0 16px 34px rgba(185,28,28,.18)  !important;}
.dsrv-route-candidate__head{display:flex  !important;align-items:flex-start  !important;justify-content:space-between  !important;gap:12px  !important;flex-wrap:wrap  !important;min-width:0  !important;}
.dsrv-route-candidate__meta{display:grid  !important;gap:5px  !important;min-width:0  !important;color:var(--rp-muted)!important;font-size:12px  !important;line-height:1.45  !important;}
.dsrv-route-candidate__meta strong{color:var(--rp-text)!important;}
.dsrv-route-candidate__stats{display:grid  !important;grid-template-columns:repeat(4,minmax(0,1fr))  !important;gap:8px  !important;margin-top:0  !important;padding:0  !important;border:0  !important;min-width:0  !important;}
.dsrv-route-candidate__stats span{display:grid  !important;gap:3px  !important;align-content:start  !important;padding:9px 10px  !important;border-radius:13px  !important;border:1px solid var(--rp-line)  !important;background:var(--rp-surface)  !important;color:var(--rp-muted)  !important;font-size:12px  !important;line-height:1.3  !important;box-shadow:none  !important;}
.dsrv-route-candidate__stats strong{display:block  !important;font-size:10px  !important;text-transform:uppercase  !important;letter-spacing:.06em  !important;color:var(--rp-muted)!important;}
.dsrv-route-candidate.has-route-warning.is-selected{border-color:var(--rp-danger)  !important;box-shadow:0 0 0 3px rgba(239,68,68,.14),0 12px 26px rgba(185,28,28,.10)  !important;}
.dsrv-route-candidate.has-route-waiting:not(.has-route-warning){border-color:#fcd34d  !important;background:var(--rp-warning-soft)  !important;}
.dsrv-route-candidate__head .button{display:inline-flex  !important;align-items:center  !important;justify-content:center  !important;min-height:32px  !important;border-radius:999px  !important;font-weight:800  !important;white-space:nowrap  !important;}
.dsrv-route-candidate__map,.dsrv-route-preview-modal__map{display:block  !important;width:100%  !important;min-width:0  !important;height:300px  !important;min-height:300px  !important;max-height:none  !important;border:1px solid var(--rp-line)!important;border-radius:18px  !important;background:color-mix(in srgb,var(--rp-info) 7%,var(--rp-surface) 93%)  !important;overflow:hidden  !important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.75)  !important;}
.dsrv-modal .dsrv-route-candidate__map,.dsrv-modal .dsrv-route-preview-modal__map{height:320px !important;min-height:320px !important;}
.dsrv-route-hero-grid{display:grid  !important;grid-template-columns:minmax(360px,1fr) minmax(220px,.42fr)  !important;gap:16px  !important;align-items:stretch  !important;margin:14px 0 16px  !important;min-width:0  !important;width:100%  !important;}
.dsrv-route-map-card{display:block  !important;min-width:0  !important;width:100%  !important;padding:16px  !important;border:1px solid var(--rp-line)!important;border-radius:18px  !important;background:var(--rp-surface)  !important;box-sizing:border-box  !important;}
.dsrv-route-main-map{display:block  !important;width:100%  !important;min-width:0  !important;height:330px  !important;min-height:330px  !important;border:1px solid var(--rp-line)!important;border-radius:18px  !important;background:color-mix(in srgb,var(--rp-info) 7%,var(--rp-surface) 93%)  !important;overflow:hidden  !important;}
.dsrv-route-start-card{display:block  !important;min-width:0  !important;}
.dsrv-route-preview-modal{display:grid  !important;gap:16px  !important;width:100%  !important;min-width:0  !important;}
.dsrv-route-preview-modal__hero{display:flex  !important;align-items:flex-start  !important;justify-content:space-between  !important;gap:14px  !important;flex-wrap:wrap  !important;padding:18px  !important;border-radius:22px  !important;background:linear-gradient(135deg,var(--rp-primary-dark) 0%,var(--rp-primary) 100%)  !important;color:#fff  !important;box-shadow:0 16px 32px rgba(33,93,30,.18)  !important;}
.dsrv-route-preview-modal__hero h3{margin:0  !important;color:#fff  !important;font-size:24px  !important;line-height:1.15  !important;}
.dsrv-route-preview-modal__subtitle{color:rgba(255,255,255,.9)  !important;font-size:13px  !important;line-height:1.55  !important;}
.dsrv-route-preview-modal__stats{display:grid  !important;grid-template-columns:repeat(4,minmax(0,1fr))  !important;gap:10px  !important;}
.dsrv-route-preview-modal__stat{padding:12px  !important;border:1px solid var(--rp-line)!important;border-radius:16px  !important;background:var(--rp-surface-subtle)  !important;min-width:0  !important;}
.dsrv-route-preview-modal__legend{display:flex  !important;gap:8px  !important;flex-wrap:wrap  !important;align-items:center  !important;}
.dsrv-route-preview-modal__legend .chip{display:inline-flex  !important;align-items:center  !important;padding:6px 10px  !important;border-radius:999px  !important;font-size:11px  !important;font-weight:900  !important;border:1px solid transparent  !important;}
.dsrv-route-preview-modal__legend .chip.green{background:var(--rp-success-soft)  !important;color:var(--rp-success)  !important;border-color:var(--rp-success-line)  !important;}
.dsrv-route-preview-modal__legend .chip.yellow,.dsrv-route-preview-modal__legend .chip.purple{background:var(--rp-warning-soft)  !important;color:var(--rp-warning-text)  !important;border-color:var(--rp-warning-line)  !important;}
.dsrv-route-preview-modal__legend .chip.red{background:var(--rp-danger-soft)  !important;color:var(--rp-danger)  !important;border-color:var(--rp-danger-line)  !important;}
.dsrv-route-preview-modal__actions{display:flex  !important;justify-content:flex-end  !important;gap:8px  !important;flex-wrap:wrap  !important;}
.dsrv-manual-route-placement{display:grid  !important;gap:10px  !important;margin:0  !important;padding:12px  !important;border:1px solid var(--rp-line)!important;border-radius:16px  !important;background:var(--rp-surface)  !important;min-width:0  !important;width:100%  !important;}
.dsrv-manual-route-placement[open]{background:var(--rp-surface-subtle)  !important;}
.dsrv-manual-route-placement summary{display:flex  !important;align-items:flex-start  !important;justify-content:space-between  !important;gap:10px  !important;cursor:pointer  !important;list-style:none  !important;font-size:13px  !important;color:var(--rp-text)!important;}
.dsrv-manual-route-placement summary::-webkit-details-marker{display:none  !important;}
.dsrv-manual-route-placement summary span{font-size:12px  !important;color:var(--rp-muted)!important;font-weight:600  !important;}
.dsrv-manual-route-placement__hint{padding:9px 11px  !important;border:1px dashed var(--rp-line)  !important;border-radius:13px  !important;background:var(--rp-surface)  !important;color:var(--rp-muted)!important;font-size:12px  !important;line-height:1.45  !important;}
.dsrv-manual-route-placement__tools{display:flex  !important;align-items:center  !important;gap:8px  !important;flex-wrap:wrap  !important;font-size:12px  !important;color:var(--rp-muted)!important;}
.dsrv-manual-route-list{display:grid  !important;gap:8px  !important;max-height:320px  !important;overflow:auto  !important;padding:4px  !important;min-width:0  !important;}
.dsrv-manual-route-row{display:grid  !important;grid-template-columns:18px 30px minmax(0,1fr) auto  !important;gap:8px  !important;align-items:center  !important;padding:9px 10px  !important;border:1px solid var(--rp-line)  !important;border-radius:13px  !important;background:var(--rp-surface)  !important;color:var(--rp-text)!important;box-shadow:none  !important;min-width:0  !important;}
.dsrv-manual-route-row.is-candidate{border-color:#86efac  !important;background:var(--rp-success-soft)  !important;box-shadow:0 0 0 2px rgba(34,197,94,.12)  !important;}
.dsrv-manual-route-row.is-late{border-color:var(--rp-danger-line)  !important;background:var(--rp-danger-soft)  !important;color:var(--rp-danger)  !important;}
.dsrv-manual-route-row.is-waiting{border-color:var(--rp-warning-line)  !important;background:var(--rp-warning-soft)  !important;color:#78350f  !important;}
.dsrv-manual-route-row.is-dragging{opacity:.72  !important;outline:2px solid #78b93d  !important;}
.dsrv-manual-route-row__handle{color:#94a3b8  !important;font-weight:900  !important;cursor:grab  !important;}
.dsrv-manual-route-row__num{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:28px!important;height:28px!important;border-radius:999px!important;background:var(--rp-primary-dark)!important;color:#fff!important;font-size:12px!important;font-weight:900!important;}
.dsrv-manual-route-row__body{display:grid  !important;gap:3px  !important;min-width:0  !important;}
.dsrv-manual-route-row__body strong{font-size:13px  !important;color:inherit  !important;line-height:1.25  !important;white-space:normal  !important;}
.dsrv-manual-route-row__body small{font-size:12px  !important;color:var(--rp-muted)!important;line-height:1.35  !important;white-space:normal  !important;}
.dsrv-manual-route-row__meta{display:flex  !important;flex-wrap:wrap  !important;gap:5px  !important;margin-top:3px  !important;}
.dsrv-manual-route-row__meta i{display:inline-flex  !important;align-items:center  !important;padding:3px 7px  !important;border-radius:999px  !important;background:#f1f5f9  !important;color:var(--rp-muted)  !important;font-size:10px  !important;font-style:normal  !important;font-weight:800  !important;line-height:1.2  !important;}
.dsrv-manual-route-row.is-late .dsrv-manual-route-row__meta i{background:var(--rp-danger-soft)  !important;color:var(--rp-danger)  !important;}
.dsrv-manual-route-row.is-waiting .dsrv-manual-route-row__meta i{background:#fef3c7  !important;color:var(--rp-warning-text)  !important;}
.dsrv-manual-route-row__pill{display:inline-flex  !important;align-items:center  !important;justify-content:center  !important;padding:4px 8px  !important;border-radius:999px  !important;background:#22c55e  !important;color:#fff  !important;font-size:10px  !important;font-weight:900  !important;}
.dsrv-report-live-route-check{display:grid  !important;gap:6px  !important;margin:0  !important;padding:12px 14px  !important;border-radius:16px  !important;border:1px solid var(--rp-success-line)  !important;background:var(--rp-success-soft)  !important;color:var(--rp-success)  !important;font-size:12px  !important;line-height:1.45  !important;}
.dsrv-report-live-route-check strong{font-size:13px  !important;color:inherit  !important;}
.dsrv-report-live-route-check span,.dsrv-report-live-route-check small{display:block  !important;color:inherit  !important;}
.dsrv-report-live-route-check.is-wait,.dsrv-report-live-route-check.is-waiting{border-color:var(--rp-warning-line)  !important;background:var(--rp-warning-soft)  !important;color:var(--rp-warning-text)  !important;}
.dsrv-report-live-route-check.is-warning{border-color:var(--rp-warning-line)  !important;background:var(--rp-warning-soft)  !important;color:var(--rp-warning-text)  !important;box-shadow:0 8px 18px rgba(249,115,22,.08)  !important;}
.dsrv-report-live-route-check.is-warning strong,.dsrv-report-live-route-check.is-warning span,.dsrv-report-live-route-check.is-warning small{color:var(--rp-warning-text)  !important;}
.dsrv-report-live-route-check.is-bad{border:2px solid var(--rp-danger)  !important;background:linear-gradient(180deg,var(--rp-danger-soft) 0%,var(--rp-danger-line) 100%)  !important;color:var(--rp-danger)  !important;box-shadow:0 0 0 3px rgba(220,38,38,.14),0 12px 28px rgba(185,28,28,.18)  !important;}
.dsrv-report-live-route-check.is-bad strong,.dsrv-report-live-route-check.is-bad span,.dsrv-report-live-route-check.is-bad small{color:var(--rp-danger)  !important;}
.dsrv-route-live-check-details{margin:6px 0 3px 18px  !important;padding:0  !important;display:grid  !important;gap:3px  !important;font-size:12px  !important;font-weight:800  !important;line-height:1.35  !important;color:inherit  !important;}
.dsrv-route-live-check-details li{margin:0  !important;color:inherit  !important;}
.dsrv-report-flow-top{display:grid  !important;gap:12px  !important;margin:14px 0  !important;padding:14px  !important;border:1px solid var(--rp-line)!important;border-radius:18px  !important;background:linear-gradient(180deg,var(--rp-surface),var(--rp-surface-subtle))  !important;box-shadow:0 10px 24px color-mix(in srgb,var(--rp-primary-dark) 6%,transparent)  !important;}
.dsrv-report-flow-top.is-alert{border-color:var(--rp-danger-line)  !important;background:var(--rp-danger-soft)  !important;box-shadow:0 12px 26px rgba(185,28,28,.10)  !important;}
.dsrv-report-flow-top__head{display:flex  !important;align-items:flex-start  !important;justify-content:space-between  !important;gap:12px  !important;flex-wrap:wrap  !important;}
.dsrv-report-flow-top__head strong{display:block  !important;font-size:14px  !important;color:var(--rp-text)!important;margin:0 0 3px  !important;}
.dsrv-report-flow-top__head span{display:block  !important;font-size:12px  !important;color:var(--rp-muted)!important;line-height:1.45  !important;}
.dsrv-report-flow-badge{display:inline-flex  !important;align-items:center  !important;justify-content:center  !important;min-height:28px  !important;padding:5px 10px  !important;border-radius:999px  !important;font-size:11px  !important;font-weight:900  !important;text-transform:uppercase  !important;letter-spacing:.04em  !important;border:1px solid var(--rp-success-line)  !important;background:var(--rp-success-soft)  !important;color:var(--rp-success)  !important;}
.dsrv-report-flow-badge.is-red{border-color:var(--rp-danger-line)  !important;background:var(--rp-danger-soft)  !important;color:var(--rp-danger)  !important;}
.dsrv-report-flow-badge.is-orange{border-color:var(--rp-warning-line)  !important;background:var(--rp-warning-soft)  !important;color:var(--rp-warning-text)  !important;}
.dsrv-report-flow-steps{display:grid  !important;grid-template-columns:repeat(4,minmax(0,1fr))  !important;gap:10px  !important;}
.dsrv-report-flow-step{display:grid  !important;gap:4px  !important;min-width:0  !important;padding:10px 11px  !important;border:1px solid var(--rp-line)  !important;border-radius:14px  !important;background:var(--rp-surface)  !important;}
.dsrv-report-flow-step b{font-size:10px  !important;color:var(--rp-muted)!important;text-transform:uppercase  !important;letter-spacing:.06em  !important;}
.dsrv-report-flow-step span{font-size:13px  !important;color:var(--rp-text)!important;font-weight:900  !important;overflow-wrap:anywhere  !important;}
.dsrv-report-flow-metrics{display:grid  !important;grid-template-columns:repeat(4,minmax(0,1fr))  !important;gap:10px  !important;}
.dsrv-report-flow-metric{display:grid  !important;gap:4px  !important;padding:10px 11px  !important;border:1px solid var(--rp-line)  !important;border-radius:14px  !important;background:var(--rp-surface)  !important;min-width:0  !important;}
.dsrv-report-flow-metric.is-red{border-color:var(--rp-danger-line)  !important;background:var(--rp-danger-soft)  !important;color:var(--rp-danger)  !important;}
.dsrv-report-flow-metric.is-green{border-color:var(--rp-success-line)!important;background:var(--rp-success-soft)!important;color:var(--rp-success)!important;}
.dsrv-report-flow-metric.is-orange{border-color:var(--rp-warning-line)  !important;background:var(--rp-warning-soft)  !important;color:var(--rp-warning-text)  !important;}
.dsrv-report-flow-metric b{font-size:10px  !important;color:var(--rp-muted)!important;text-transform:uppercase  !important;letter-spacing:.06em  !important;}
.dsrv-report-flow-metric.is-red b,.dsrv-report-flow-metric.is-orange b,.dsrv-report-flow-metric.is-green b{color:inherit  !important;}
.dsrv-report-flow-metric span{font-size:13px  !important;color:var(--rp-text)!important;font-weight:900  !important;overflow-wrap:anywhere  !important;}
.dsrv-report-flow-metric.is-red span,.dsrv-report-flow-metric.is-orange span,.dsrv-report-flow-metric.is-green span{color:inherit  !important;}
.dsrv-report-flow-alert{padding:10px 12px  !important;border:1px solid var(--rp-danger-line)  !important;border-left:5px solid var(--rp-danger)  !important;border-radius:14px  !important;background:var(--rp-danger-soft)  !important;color:var(--rp-danger)  !important;font-size:12px  !important;font-weight:900  !important;line-height:1.45  !important;}
@media (max-width:900px){.dsrv-report-flow-steps,.dsrv-report-flow-metrics{grid-template-columns:repeat(2,minmax(0,1fr))  !important;}}
@media (max-width:560px){.dsrv-report-flow-steps,.dsrv-report-flow-metrics{grid-template-columns:1fr  !important;}}
.dsrv-route-time-summary{display:grid  !important;grid-template-columns:repeat(auto-fit,minmax(104px,1fr))  !important;gap:10px  !important;margin:16px 0  !important;min-width:0  !important;}
.dsrv-route-time-summary>div{display:grid  !important;gap:4px  !important;padding:11px 12px  !important;border-radius:14px  !important;border:1px solid var(--rp-line)  !important;background:var(--rp-surface)  !important;min-width:0  !important;}
.dsrv-route-time-summary b{font-size:10px  !important;text-transform:uppercase  !important;letter-spacing:.07em  !important;color:var(--rp-muted)!important;}
.dsrv-route-time-summary span{font-size:13px  !important;font-weight:900  !important;color:var(--rp-text)!important;overflow-wrap:anywhere  !important;}
.dsrv-route-time-summary__status.is-good{border-color:var(--rp-success-line)  !important;background:var(--rp-success-soft)  !important;box-shadow:inset 0 0 0 1px rgba(34,197,94,.14)  !important;}
.dsrv-route-time-summary__status.is-good b{color:var(--rp-success)  !important;}
.dsrv-route-time-summary__status.is-good span,.dsrv-route-time-summary__status.is-ok span,.dsrv-route-time-summary__balance.is-positive span{color:var(--rp-success)  !important;}
.dsrv-route-time-summary__status.is-danger span,.dsrv-route-time-summary__balance.is-negative span{color:var(--rp-danger)  !important;}
.dsrv-route-schedule-warnings{display:grid  !important;gap:8px  !important;margin:12px 0  !important;padding:13px 15px  !important;border:1px solid var(--rp-danger-line)  !important;border-left:5px solid var(--rp-danger)  !important;border-radius:16px  !important;background:var(--rp-danger-soft)  !important;color:var(--rp-danger)  !important;}
.dsrv-route-schedule-warnings--wait{border-color:var(--rp-warning-line)  !important;border-left-color:#f59e0b  !important;background:var(--rp-warning-soft)  !important;color:var(--rp-warning-text)  !important;}
.dsrv-route-schedule-warnings__head{display:flex  !important;justify-content:space-between  !important;gap:10px  !important;flex-wrap:wrap  !important;align-items:center  !important;}
.dsrv-route-schedule-warnings__head strong{font-size:14px  !important;color:inherit  !important;}
.dsrv-route-schedule-warnings__head span{font-size:11px  !important;font-weight:900  !important;text-transform:uppercase  !important;letter-spacing:.06em  !important;}
.dsrv-route-schedule-warnings ul{margin:0  !important;padding-left:18px  !important;display:grid  !important;gap:5px  !important;}
.dsrv-task.is-time-broken,.dsrv-route-editor .dsrv-task.is-time-broken{border-color:#fca5a5  !important;background:linear-gradient(180deg,#fff 0%,#fff5f5 100%)  !important;box-shadow:0 0 0 2px rgba(239,68,68,.08)  !important;}
.dsrv-route-time-breach{display:grid  !important;gap:4px  !important;margin:8px 0 10px  !important;padding:10px 12px  !important;border:1px solid var(--rp-danger-line)  !important;border-left:5px solid var(--rp-danger)  !important;border-radius:14px  !important;font-size:12px  !important;line-height:1.45  !important;}
.dsrv-route-time-breach strong{font-size:13px  !important;}
.dsrv-route-time-breach span{color:var(--rp-danger)  !important;font-weight:800  !important;}
.dsrv-route-editor .dsrv-task.is-time-waiting{border-color:var(--rp-warning-line)  !important;background:linear-gradient(180deg,#fff 0%,var(--rp-warning-soft) 100%)  !important;box-shadow:0 0 0 2px rgba(249,115,22,.10)  !important;}
.dsrv-route-time-wait{display:grid  !important;gap:5px  !important;margin:8px 0 10px  !important;padding:11px 13px  !important;border:1px solid var(--rp-warning-line)  !important;border-left:6px solid #f97316  !important;border-radius:14px  !important;background:var(--rp-warning-soft)  !important;color:var(--rp-warning-text)  !important;font-size:12px  !important;line-height:1.45  !important;box-shadow:0 8px 18px rgba(249,115,22,.10)  !important;}
.dsrv-route-time-wait strong{color:var(--rp-warning-text)  !important;font-size:12px  !important;letter-spacing:.06em  !important;text-transform:uppercase  !important;}
.dsrv-route-time-wait span{color:#7c2d12  !important;font-weight:900  !important;}
.dsrv-route-stop-flags{display:flex  !important;gap:6px  !important;flex-wrap:wrap  !important;margin-bottom:8px  !important;}
.dsrv-route-stop-flag{display:inline-flex  !important;align-items:center  !important;gap:4px  !important;padding:4px 8px  !important;border-radius:999px  !important;font-size:10px  !important;font-weight:900  !important;text-transform:uppercase  !important;letter-spacing:.04em  !important;background:#f1f5f9  !important;color:var(--rp-muted)  !important;border:1px solid #e2e8f0  !important;}
.dsrv-route-stop-flag.is-done,.dsrv-route-stop-flag.is-report{background:var(--rp-success-soft)  !important;color:var(--rp-success)  !important;border-color:var(--rp-success-line)  !important;}
.dsrv-route-stop-flag.is-enroute,.dsrv-route-stop-flag.is-next,.dsrv-route-stop-flag.is-planned,.dsrv-route-stop-flag.is-draft_missing_report,.dsrv-route-stop-flag.is-arrived{background:var(--rp-warning-soft)  !important;color:var(--rp-warning-text)  !important;border-color:var(--rp-warning-line)  !important;}
.dsrv-route-stop-flag.is-time-broken{background:var(--rp-danger)  !important;color:#fff  !important;border-color:var(--rp-danger)  !important;}
.dsrv-route-stop-flag.is-locked,.dsrv-route-stop-flag.is-internal{background:#f1f5f9  !important;color:var(--rp-muted)  !important;border-color:#cbd5e1  !important;}
.dsrv-routes-work-map-legend{display:flex  !important;gap:10px  !important;align-items:center  !important;flex-wrap:wrap  !important;margin-top:8px  !important;font-size:12px  !important;color:var(--rp-muted)!important;}
.dsrv-routes-work-map-legend span{display:inline-flex  !important;align-items:center  !important;gap:5px  !important;}
.dsrv-routes-work-map-legend i{display:inline-block  !important;width:10px  !important;height:10px  !important;border-radius:999px  !important;background:var(--rp-muted)  !important;}
.dsrv-routes-work-map-legend i.is-done{background:#22c55e  !important;}
.dsrv-routes-work-map-legend i.is-pending{background:#f59e0b  !important;}
.dsrv-routes-work-map-legend i.is-unrouted{background:var(--rp-muted)  !important;}
.dsrv-routes-work-map-legend i.is-unrouted-overdue{background:#f97316  !important;}
.dsrv-routes-work-map-legend i.is-candidate{background:#f59e0b  !important;}
.dsrv-routes-work-map-legend i.is-time-broken,.dsrv-routes-work-map-legend i.is-work-time-broken{background:var(--rp-danger)  !important;}
.dsrv-google-route-note,.dsrv-map-loading,.dsrv-map-error{position:relative  !important;z-index:3  !important;margin:8px  !important;padding:10px 12px  !important;border-radius:14px  !important;border:1px solid var(--rp-line)!important;background:rgba(255,255,255,.94)  !important;color:var(--rp-muted)  !important;font-size:12px  !important;line-height:1.45  !important;box-shadow:0 8px 18px rgba(15,23,42,.08)  !important;}
.dsrv-google-route-note.is-warning,.dsrv-map-error.is-warning{border-color:var(--rp-warning-line)  !important;background:var(--rp-warning-soft)  !important;color:var(--rp-warning-text)  !important;}
.dsrv-google-route-note.is-error,.dsrv-map-error.is-error{border-color:var(--rp-danger-line)  !important;background:var(--rp-danger-soft)  !important;color:var(--rp-danger)  !important;}
.dsrv-admin-route-schematic{display:grid  !important;gap:12px  !important;width:100%  !important;min-width:0  !important;padding:14px  !important;border:1px solid var(--rp-line)!important;border-radius:18px  !important;background:var(--rp-surface)  !important;}
.dsrv-admin-schematic-title{display:flex  !important;align-items:flex-start  !important;justify-content:space-between  !important;gap:10px  !important;flex-wrap:wrap  !important;color:var(--rp-text)!important;}
.dsrv-admin-schematic-title small{color:var(--rp-muted)!important;font-size:12px  !important;}
.dsrv-admin-schematic-summary{display:flex!important;flex-wrap:wrap!important;gap:8px!important;min-width:0!important;}
.dsrv-admin-schematic-summary-badge{display:inline-flex!important;align-items:center!important;gap:8px!important;max-width:100%!important;padding:7px 10px!important;border:1px solid var(--rp-line)!important;border-radius:12px!important;background:var(--rp-surface-subtle)!important;color:var(--rp-text)!important;line-height:1.35!important;}
.dsrv-admin-schematic-summary-badge strong{font-size:11px!important;font-weight:750!important;color:inherit!important;overflow-wrap:anywhere!important;}
.dsrv-admin-schematic-summary-badge em{font-size:13px!important;font-style:normal!important;font-weight:900!important;color:inherit!important;}
.dsrv-admin-schematic-summary-badge.is-done{background:var(--rp-success-soft)!important;border-color:var(--rp-success-line)!important;color:var(--rp-primary-dark)!important;}
.dsrv-admin-schematic-summary-badge.is-active{background:var(--rp-info-soft)!important;border-color:var(--rp-info-line)!important;color:var(--rp-text)!important;}
.dsrv-admin-schematic-summary-badge.is-unrouted{background:var(--rp-warning-soft)!important;border-color:var(--rp-warning-line)!important;color:var(--rp-warning-text)!important;}
.dsrv-admin-schematic-summary-badge.is-alert{background:var(--rp-danger-soft)!important;border-color:var(--rp-danger-line)!important;color:var(--rp-danger)!important;}
.dsrv-admin-route-schematic svg{display:block  !important;width:100%  !important;height:120px  !important;border-radius:14px  !important;background:var(--rp-surface-subtle)  !important;}
.dsrv-admin-schematic-list{display:grid  !important;gap:6px  !important;}
.dsrv-admin-schematic-stop{display:grid  !important;grid-template-columns:30px minmax(0,1fr)  !important;gap:8px  !important;align-items:start  !important;padding:8px 10px  !important;border-radius:12px  !important;background:var(--rp-surface-subtle)  !important;border:1px solid #e2e8f0  !important;}
.dsrv-admin-schematic-stop b{display:inline-flex  !important;align-items:center  !important;justify-content:center  !important;width:26px  !important;height:26px  !important;border-radius:999px  !important;background:#f59e0b  !important;color:#fff  !important;font-size:11px  !important;}
.dsrv-admin-schematic-stop.is-home b{background:var(--rp-muted)  !important;}
.dsrv-admin-schematic-stop.is-done b{background:#22c55e  !important;}
.dsrv-admin-schematic-stop.is-conflict b,.dsrv-admin-schematic-stop.is-danger b{background:var(--rp-danger)  !important;}
.dsrv-admin-schematic-stop__body{display:grid!important;gap:5px!important;min-width:0!important;}
.dsrv-admin-schematic-stop__top{display:flex!important;flex-wrap:wrap!important;align-items:flex-start!important;justify-content:space-between!important;gap:6px 10px!important;min-width:0!important;}
.dsrv-admin-schematic-stop__chips{display:flex!important;flex-wrap:wrap!important;gap:5px!important;min-width:0!important;}
.dsrv-admin-schematic-chip{display:inline-flex!important;align-items:center!important;min-height:22px!important;max-width:100%!important;padding:3px 7px!important;border:1px solid var(--rp-line)!important;border-radius:999px!important;background:var(--rp-surface)!important;color:var(--rp-muted-strong)!important;font-size:10px!important;line-height:1.35!important;font-weight:750!important;overflow-wrap:anywhere!important;}
.dsrv-admin-schematic-stop__meta{display:flex!important;flex-wrap:wrap!important;gap:6px!important;min-width:0!important;}
.dsrv-admin-schematic-stop__meta span{font-size:11px!important;line-height:1.4!important;color:var(--rp-muted)!important;overflow-wrap:anywhere!important;}
.dsrv-admin-schematic-stop__note{padding:7px 9px!important;border:1px dashed var(--rp-line)!important;border-radius:10px!important;background:var(--rp-surface)!important;color:var(--rp-muted-strong)!important;font-size:11px!important;line-height:1.4!important;overflow-wrap:anywhere!important;}
.dsrv-admin-schematic-stop strong{font-size:12px  !important;color:var(--rp-text)!important;}
.dsrv-admin-schematic-stop small{font-size:11px  !important;color:var(--rp-muted)!important;line-height:1.35  !important;}
.dsrv-admin-schematic-stop strong,.dsrv-admin-schematic-stop small{min-width:0!important;overflow-wrap:anywhere!important;}
.dsrv-route-candidate__map.is-schematic,.dsrv-route-preview-modal__map.is-schematic,.dsrv-route-main-map.is-schematic{height:auto!important;min-height:0!important;max-height:min(65dvh,520px)!important;overflow-y:auto!important;overscroll-behavior:contain;}
@media (max-width:1100px){.dsrv-route-hero-grid{grid-template-columns:1fr  !important;}.dsrv-route-time-summary,.dsrv-route-candidate__stats,.dsrv-route-preview-modal__stats{grid-template-columns:repeat(2,minmax(0,1fr))  !important;}.dsrv-route-candidate__map,.dsrv-route-preview-modal__map,.dsrv-route-main-map{height:260px  !important;min-height:260px  !important;}}
@media (max-width:760px){.dsrv-route-time-summary,.dsrv-route-candidate__stats,.dsrv-route-preview-modal__stats{grid-template-columns:1fr  !important;}.dsrv-route-candidate{padding:13px  !important;border-radius:15px  !important;}.dsrv-manual-route-row{grid-template-columns:18px 28px minmax(0,1fr)  !important;}.dsrv-manual-route-row__pill{grid-column:3  !important;justify-self:start  !important;}.dsrv-route-candidate__map,.dsrv-route-preview-modal__map,.dsrv-route-main-map{height:230px  !important;min-height:230px  !important;}}
/*Kunder: kompakt neutral liste. Kunde åbner sager; konkret sag åbner rapporter.*/
.dsrv-panel[data-panel="kunder"] .dsrv-customer-cases-panel{grid-column:1/-1  !important;border-top:1px solid #edf1ea  !important;padding-top:8px  !important;}
.dsrv-panel[data-panel="kunder"] .dsrv-customer-cases-panel>summary{display:flex  !important;align-items:center  !important;justify-content:space-between  !important;gap:10px  !important;list-style:none  !important;cursor:pointer  !important;color:#1d2f1c  !important;font-size:12px  !important;font-weight:950  !important;line-height:1.25  !important;}
.dsrv-panel[data-panel="kunder"] .dsrv-customer-cases-panel>summary::-webkit-details-marker{display:none  !important;}
.dsrv-panel[data-panel="kunder"] .dsrv-customer-cases-panel>summary::after{content:"Åbn sager"  !important;padding:3px 9px  !important;border:1px solid var(--rp-line)  !important;border-radius:999px  !important;background:var(--rp-surface)  !important;color:#536151  !important;font-size:11px  !important;font-weight:900  !important;}
.dsrv-panel[data-panel="kunder"] .dsrv-customer-cases-panel[open]>summary::after{content:"Luk sager"  !important;}
.dsrv-panel[data-panel="kunder"] .dsrv-customer-cases-panel[open]>summary{margin-bottom:8px  !important;}
/*Backup controls: one workflow is visible at a time; restore reports real upload progress.*/

.dsrv-panel[data-panel="backup"] .dsrv-backup-workspace{padding:0  !important;overflow:hidden  !important;}
.dsrv-panel[data-panel="backup"] .dsrv-backup-mode-tabs{border-bottom:1px solid var(--rp-line)  !important;}
.dsrv-panel[data-panel="backup"] .dsrv-backup-mode-tab{appearance:none  !important;cursor:pointer  !important;box-shadow:none  !important;}

.dsrv-panel[data-panel="backup"] .dsrv-backup-mode-tab:focus-visible{outline-offset:1px  !important;}

.dsrv-panel[data-panel="backup"] .dsrv-backup-mode-panel[hidden]{display:none  !important;}
.dsrv-panel[data-panel="backup"] .dsrv-backup-panel-head{display:grid  !important;gap:4px  !important;margin-bottom:14px  !important;}
.dsrv-panel[data-panel="backup"] .dsrv-backup-direct-form,.dsrv-panel[data-panel="backup"] .dsrv-backup-restore-form{display:grid  !important;gap:0  !important;margin:0  !important;}
.dsrv-panel[data-panel="backup"] .dsrv-backup-file-field{max-width:620px  !important;margin-bottom:4px  !important;}
.dsrv-panel[data-panel="backup"] .dsrv-backup-file-field input[type="file"]{width:100%  !important;min-height:44px  !important;padding:8px 10px  !important;border:1px solid #d9e8d2  !important;border-radius:12px  !important;background:var(--rp-surface)  !important;box-sizing:border-box  !important;}
.dsrv-panel[data-panel="backup"] .dsrv-backup-restore-picker-head{display:flex  !important;align-items:flex-start  !important;justify-content:space-between  !important;gap:12px  !important;margin-top:2px  !important;}
.dsrv-panel[data-panel="backup"] .dsrv-backup-restore-picker-head>div{display:grid  !important;gap:3px  !important;}
.dsrv-panel[data-panel="backup"] .dsrv-backup-restore-picker-head strong{color:var(--rp-text)!important;font-size:13px  !important;font-weight:950  !important;}
.dsrv-panel[data-panel="backup"] .dsrv-backup-restore-picker-head span{color:#667a62  !important;font-size:11.5px  !important;}
.dsrv-panel[data-panel="backup"] .dsrv-backup-date-row{display:grid  !important;grid-template-columns:repeat(2,minmax(0,220px))  !important;gap:12px  !important;align-items:end  !important;}
.dsrv-panel[data-panel="backup"] .dsrv-backup-date-row label{display:grid  !important;gap:5px  !important;font-weight:850  !important;color:var(--rp-text)!important;}
.dsrv-panel[data-panel="backup"] .dsrv-backup-date-row input{min-height:36px  !important;border:1px solid #d9e8d2  !important;border-radius:10px  !important;padding:6px 10px  !important;background:var(--rp-surface)  !important;}
.dsrv-panel[data-panel="backup"] .dsrv-backup-checklist,.dsrv-panel[data-panel="backup"] .dsrv-backup-choice-list{display:grid  !important;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))  !important;margin:12px 0 0  !important;padding:0  !important;border:0  !important;}
.dsrv-panel[data-panel="backup"] .dsrv-backup-checkline,.dsrv-panel[data-panel="backup"] .dsrv-backup-choice-row{display:grid  !important;grid-template-columns:22px minmax(0,1fr)  !important;gap:10px  !important;align-items:start  !important;cursor:pointer  !important;box-sizing:border-box  !important;}
.dsrv-panel[data-panel="backup"] .dsrv-backup-checkline input[type="checkbox"],.dsrv-panel[data-panel="backup"] .dsrv-backup-choice-row input[type="checkbox"]{position:static  !important;-webkit-appearance:checkbox  !important;appearance:auto  !important;opacity:1  !important;width:18px  !important;min-width:18px  !important;height:18px  !important;min-height:18px  !important;margin:1px 0 0  !important;padding:0  !important;border:0  !important;box-shadow:none  !important;accent-color:#2b7424  !important;pointer-events:auto  !important;}
.dsrv-panel[data-panel="backup"] .dsrv-backup-checkline input[type="checkbox"]::before,.dsrv-panel[data-panel="backup"] .dsrv-backup-checkline input[type="checkbox"]::after,.dsrv-panel[data-panel="backup"] .dsrv-backup-choice-row input[type="checkbox"]::before,.dsrv-panel[data-panel="backup"] .dsrv-backup-choice-row input[type="checkbox"]::after{content:none  !important;display:none  !important;}
.dsrv-panel[data-panel="backup"] .dsrv-backup-checkline input[type="checkbox"]:focus,.dsrv-panel[data-panel="backup"] .dsrv-backup-checkline input[type="checkbox"]:focus-visible,.dsrv-panel[data-panel="backup"] .dsrv-backup-choice-row input[type="checkbox"]:focus,.dsrv-panel[data-panel="backup"] .dsrv-backup-choice-row input[type="checkbox"]:focus-visible{box-shadow:none  !important;}
.dsrv-panel[data-panel="backup"] .dsrv-backup-checkline:has(input:focus-visible),.dsrv-panel[data-panel="backup"] .dsrv-backup-choice-row:has(input:focus-visible){outline-offset:2px  !important;}
.dsrv-panel[data-panel="backup"] .dsrv-backup-checkline:has(input:checked),.dsrv-panel[data-panel="backup"] .dsrv-backup-choice-row:has(input:checked){border-color:#93c66e  !important;background:#f7fcf3  !important;}
.dsrv-panel[data-panel="backup"] .dsrv-backup-checkline span,.dsrv-panel[data-panel="backup"] .dsrv-backup-choice-row span{display:grid  !important;gap:3px  !important;min-width:0  !important;}

.dsrv-panel[data-panel="backup"] .dsrv-backup-restore-note{margin:12px 0 0  !important;padding:11px 13px  !important;border:1px solid #e0eadb  !important;border-radius:13px  !important;background:var(--rp-surface-subtle)  !important;line-height:1.5  !important;}
.dsrv-panel[data-panel="backup"] .dsrv-backup-form-actions{display:flex  !important;align-items:center  !important;justify-content:flex-start  !important;gap:10px  !important;margin-top:14px  !important;}
.dsrv-panel[data-panel="backup"] .dsrv-backup-control-card .button{border-radius:999px  !important;font-weight:900  !important;}
.dsrv-panel[data-panel="backup"] .dsrv-restore-progress{display:grid  !important;gap:8px  !important;margin-top:14px  !important;padding:13px 14px  !important;border:1px solid #cfe2c6  !important;border-radius:15px  !important;background:var(--rp-surface-subtle)  !important;}
.dsrv-panel[data-panel="backup"] .dsrv-restore-progress[hidden],.dsrv-panel[data-panel="backup"] .dsrv-restore-result[hidden]{display:none  !important;}
.dsrv-panel[data-panel="backup"] .dsrv-restore-progress__head{display:flex  !important;align-items:center  !important;justify-content:space-between  !important;gap:12px  !important;color:var(--rp-text)!important;}
.dsrv-panel[data-panel="backup"] .dsrv-restore-progress__head strong{font-size:13px  !important;font-weight:950  !important;}
.dsrv-panel[data-panel="backup"] .dsrv-restore-progress__head span{font-size:12px  !important;font-weight:900  !important;color:#3f6d32  !important;white-space:nowrap  !important;}
.dsrv-panel[data-panel="backup"] .dsrv-restore-progress__track{position:relative  !important;height:11px  !important;border-radius:999px  !important;overflow:hidden  !important;background:var(--rp-line)  !important;box-shadow:inset 0 1px 2px rgba(15,23,42,.08)  !important;}
.dsrv-panel[data-panel="backup"] .dsrv-restore-progress__track>span{display:block  !important;width:0;height:100%  !important;border-radius:inherit  !important;background:linear-gradient(90deg,#2b7424 0%,#86bd43 100%)  !important;transition:width .16s linear  !important;}
.dsrv-panel[data-panel="backup"] .dsrv-restore-progress.is-processing .dsrv-restore-progress__track>span{position:relative  !important;width:100%  !important;overflow:hidden  !important;}
.dsrv-panel[data-panel="backup"] .dsrv-restore-progress.is-processing .dsrv-restore-progress__track>span::after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.62),transparent);animation:dsrvBackupRestoreSweep 1.25s ease-in-out infinite;}
.dsrv-panel[data-panel="backup"] .dsrv-restore-progress.is-complete{border-color:#8fc66f  !important;background:#f2faed  !important;}
.dsrv-panel[data-panel="backup"] .dsrv-restore-progress.is-error{border-color:#e0a0a0  !important;background:#fff6f6  !important;}
.dsrv-panel[data-panel="backup"] .dsrv-restore-progress.is-error .dsrv-restore-progress__track>span{background:#c94e4e  !important;}
.dsrv-panel[data-panel="backup"] .dsrv-restore-progress__status{color:#60725e  !important;font-size:12px  !important;line-height:1.45  !important;}
.dsrv-panel[data-panel="backup"] .dsrv-restore-result{margin-top:10px  !important;padding:11px 13px  !important;border-radius:13px  !important;font-size:12px  !important;line-height:1.5  !important;font-weight:750  !important;}
.dsrv-panel[data-panel="backup"] .dsrv-restore-result.is-success{border:1px solid #9acc7c  !important;background:#eff9e9  !important;color:#205e20  !important;}
.dsrv-panel[data-panel="backup"] .dsrv-restore-result.is-error{border:1px solid #e1a0a0  !important;background:#fff4f4  !important;color:#8d2929  !important;}
@keyframes dsrvBackupRestoreSweep{0%{transform:translateX(-100%);}100%{transform:translateX(100%);}}
@media (max-width:760px){
  .dsrv-panel[data-panel="backup"] .dsrv-backup-mode-panel{padding:14px  !important;}
  .dsrv-panel[data-panel="backup"] .dsrv-backup-checklist,.dsrv-panel[data-panel="backup"] .dsrv-backup-choice-list{grid-template-columns:1fr  !important;}
  .dsrv-panel[data-panel="backup"] .dsrv-backup-date-row{grid-template-columns:1fr  !important;}
  .dsrv-panel[data-panel="backup"] .dsrv-backup-form-actions .button{width:100%  !important;}
}
/*Medarbejder-app live state: rapport skrives lige nu*/
/*Live medarbejderrapport popup*/
.dsrv-live-report-popups{position:fixed;right:24px;bottom:24px;z-index:100000;display:flex;flex-direction:column;gap:12px;width:min(390px,calc(100vw - 32px));pointer-events:none;}
.dsrv-live-report-pop{position:relative;transform:translateY(18px);opacity:0;pointer-events:auto;padding:18px;border-radius:22px;border:1px solid rgba(47,125,32,.22);background:linear-gradient(180deg,#ffffff 0%,#f6fbf2 100%);box-shadow:0 24px 70px rgba(17,33,15,.24);color:#11210f;transition:opacity .2s ease, transform .2s ease;}
.dsrv-live-report-pop.is-visible{opacity:1;transform:translateY(0);}
.dsrv-live-report-pop__close{position:absolute;top:10px;right:10px;width:30px;height:30px;border:0;border-radius:999px;background:#e9f3e4;color:#1f5f16;font-size:20px;line-height:1;cursor:pointer;}
.dsrv-live-report-pop__badge{display:inline-flex;margin-bottom:9px;padding:5px 9px;border-radius:999px;color:#fff;background:#2f7d20;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.05em;}
.dsrv-live-report-pop strong,.dsrv-live-report-pop span,.dsrv-live-report-pop small{display:block;}
.dsrv-live-report-pop strong{font-size:17px;margin-right:28px;}
.dsrv-live-report-pop span{margin-top:3px;color:#43533f;font-weight:700;}
.dsrv-live-report-pop small{margin-top:3px;color:#5f705b;}
.dsrv-live-report-pop p{margin:10px 0 0;padding:10px;border-radius:14px;background:var(--rp-surface);border:1px solid var(--rp-line);color:#43533f;}
.dsrv-live-report-pop__actions{display:flex;gap:8px;margin-top:12px;}
.dsrv-live-report-pop__actions .button{flex:1;text-align:center;justify-content:center;}
@media (max-width:782px){
  .dsrv-live-report-popups{right:12px;left:12px;bottom:16px;width:auto;}
}
.dsrv-route-home-return-admin{border-color:#9bd489  !important;background:linear-gradient(180deg,#ffffff 0%,#f3faef 100%)  !important;box-shadow:0 12px 28px rgba(47,125,32,.10)  !important;}
.dsrv-route-home-return-admin .dsrv-task-title{color:#174f14  !important;}
.dsrv-route-home-return-admin .dsrv-route-stop-flag.is-home_return{background:#2f7d20  !important;color:#fff  !important;}
.dsrv-task-no-charge-control{display:grid!important;grid-template-columns:18px minmax(0,1fr);align-items:start;gap:10px;cursor:pointer;margin:0;}
.dsrv-task-no-charge-control input{margin-top:2px!important;}
.dsrv-task-no-charge-control b,.dsrv-task-no-charge-control small{display:block;}
.dsrv-task-no-charge-control small{margin-top:3px;color:var(--rp-muted);font-size:12px;font-weight:500;line-height:1.4;}
.dsrv-task-no-charge-card__note{margin-top:12px;}
.dsrv-task-no-charge-card__note[hidden],.dsrv-admin-billing-card__note[hidden]{display:none  !important;}
.dsrv-employee-access-strip{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:8px;margin-top:10px;}
.dsrv-employee-access-strip span{display:flex;flex-direction:column;gap:3px;border:1px solid #e2ecd9;background:#fbfff7;border-radius:12px;padding:8px 10px;color:var(--rp-primary-dark);font-size:12px;}
.dsrv-employee-access-strip b{font-size:10px;text-transform:uppercase;letter-spacing:.05em;color:#6a7b5e;}
.dsrv-employee-session-mini{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:8px;color:var(--rp-primary-dark);}
.dsrv-employee-session-mini strong{font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:#6a7b5e;margin-right:2px;}
.dsrv-employee-session-mini span{display:inline-flex;border:1px solid #dbe9d2;background:#f7fff0;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:700;}
.dsrv-workday-sessions{display:flex;flex-direction:column;gap:8px;margin-top:8px;}
.dsrv-workday-session-row{display:grid;grid-template-columns:1fr 1fr auto auto;gap:8px;align-items:end;border:1px solid #dfead7;background:#fbfff7;border-radius:12px;padding:8px;}
.dsrv-workday-session-row.is-review{border-color:#f7c56b;background:#fff8e8;}
.dsrv-workday-session-row label{display:flex;flex-direction:column;gap:3px;font-size:10px;text-transform:uppercase;letter-spacing:.04em;color:#667a5d;font-weight:800;margin:0;}
.dsrv-workday-session-row input{width:100%;min-height:32px;border-radius:9px;border:1px solid #d5e3cf;padding:4px 6px;background:var(--rp-surface);}
.dsrv-workday-session-row small{font-weight:800;color:var(--rp-primary-dark);white-space:nowrap;padding-bottom:7px;}
.dsrv-workday-session-row.is-review small{color:#b45309;}
.dsrv-workday-add-session{margin-top:8px;border-radius:999px  !important;}
@media (max-width:900px){.dsrv-employee-access-strip{grid-template-columns:1fr 1fr;}.dsrv-workday-session-row{grid-template-columns:1fr 1fr;}.dsrv-workday-session-row small,.dsrv-workday-session-row .button{grid-column:span 2;}}
.dsrv-workday-access-log{display:flex;flex-direction:column;gap:5px;margin-top:10px;border:1px solid #e3eedb;background:color-mix(in srgb,var(--rp-primary) 5%,var(--rp-surface) 95%);border-radius:12px;padding:8px;}
.dsrv-workday-access-log strong{font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:#64775b;}
.dsrv-workday-access-log span{font-size:12px;color:var(--rp-primary-dark);line-height:1.35;}
.dsrv-workday-access-log b{display:inline-block;min-width:42px;color:var(--rp-primary-dark);}
.dsrv-workday-home-control{display:grid;gap:8px;margin-top:10px;border:1px solid #f0d38a;background:#fffaf0;border-radius:12px;padding:10px;}
.dsrv-workday-home-control[hidden]{display:none  !important;}
.dsrv-workday-home-control__head{display:flex;justify-content:space-between;gap:10px;align-items:center;}
.dsrv-workday-home-control__head strong{font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:#7c4a03;}
.dsrv-workday-home-control__head em{font-style:normal;font-weight:900;color:var(--rp-warning-text);font-size:12px;}
.dsrv-workday-home-control__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;}
.dsrv-workday-home-control__grid span{display:grid;gap:2px;border:1px solid #f2dfaa;background:var(--rp-surface);border-radius:10px;padding:7px;}
.dsrv-workday-home-control__grid b{font-size:10px;text-transform:uppercase;letter-spacing:.05em;color:#7a5b12;}
.dsrv-workday-home-control__grid strong{font-size:12px;color:var(--rp-text);line-height:1.3;}
.dsrv-workday-home-control__warnings{display:grid;gap:5px;}
.dsrv-workday-home-control__warnings span{display:block;border-radius:10px;background:#fff3cd;color:#7a3d00;border:1px solid #f4cf73;padding:7px 8px;font-size:12px;font-weight:800;line-height:1.35;}
@media (max-width:720px){.dsrv-workday-home-control__grid{grid-template-columns:1fr;}}
.dsrv-task.dsrv-task--fit-red{border-color:var(--rp-danger)  !important;background:linear-gradient(180deg,#fff1f2 0%,var(--rp-danger-soft) 100%)  !important;box-shadow:inset 5px 0 0 var(--rp-danger), 0 0 0 1px rgba(220,38,38,.22), 0 10px 24px rgba(127,29,29,.10)  !important;}
.dsrv-task.dsrv-task--fit-red .dsrv-task-title{color:var(--rp-danger)  !important;}
.dsrv-task.dsrv-task--fit-red .dsrv-task-sub{color:var(--rp-danger)  !important;}
.dsrv-route-live-warning,.dsrv-route-time-breach{border-color:var(--rp-danger)  !important;background:linear-gradient(180deg,var(--rp-danger-soft) 0%,#fff1f2 100%)  !important;color:var(--rp-danger)  !important;box-shadow:inset 5px 0 0 var(--rp-danger), 0 0 0 1px rgba(220,38,38,.18)  !important;}
.dsrv-route-live-warning strong,.dsrv-route-time-breach strong{color:var(--rp-danger)  !important;}
.dsrv-work-map-popup-note.is-danger,.dsrv-work-map-impact.is-danger{border-color:var(--rp-danger)  !important;background:linear-gradient(180deg,var(--rp-danger-soft) 0%,#fff1f2 100%)  !important;color:var(--rp-danger)  !important;box-shadow:inset 4px 0 0 var(--rp-danger)  !important;}
.dsrv-work-map-impact__grid span.is-danger.is-critical,.dsrv-work-map-impact__grid span.is-critical{border-color:var(--rp-danger)  !important;background:var(--rp-danger-soft)  !important;box-shadow:inset 0 0 0 1px rgba(220,38,38,.18)  !important;}
.dsrv-work-map-impact__grid span.is-danger.is-critical b,.dsrv-work-map-impact__grid span.is-critical b,.dsrv-work-map-impact__grid span.is-danger.is-critical em,.dsrv-work-map-impact__grid span.is-critical em{color:var(--rp-danger)  !important;font-weight:950  !important;}
.dsrv-economy-pending-note{margin-top:6px;}
.dsrv-report-proposal-box .dsrv-muted{line-height:1.45;}
.dsrv-report-section--internal-note .dsrv-report-modal-eyebrow{display:inline-flex;align-items:center;width:max-content;border:1px solid color-mix(in srgb,var(--rp-primary) 34%,var(--rp-line) 66%);background:var(--rp-primary-soft);color:var(--rp-primary-dark);border-radius:999px;padding:4px 9px;font-size:10px;font-weight:950;text-transform:uppercase;letter-spacing:.06em;margin-bottom:8px;}
.dsrv-report-proposal-box .dsrv-muted strong{font-size:13px  !important;color:var(--rp-text)!important;}
.dsrv-report-proposal-box label{display:block;margin-top:4px;font-weight:850  !important;color:var(--rp-primary-dark)  !important;}
.dsrv-report-proposal-box select,.dsrv-report-proposal-box input{max-width:100%;margin-top:5px  !important;border-radius:12px  !important;border-color:var(--rp-line)  !important;background:var(--rp-surface)  !important;min-height:38px  !important;}
.dsrv-report-proposal-box::before{content:"Adminvalg";display:inline-flex;width:max-content;border:1px solid var(--rp-line);background:var(--rp-surface);border-radius:999px;padding:3px 8px;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.05em;color:var(--rp-muted);}
.dsrv-report-proposal-box:has(select option[value="approved"]:checked)::before{content:"Godkendt";border-color:var(--rp-success);background:var(--rp-primary-soft);color:var(--rp-primary-dark);}
.dsrv-report-proposal-box:has(select option[value="rejected"]:checked)::before{content:"Afvist";border-color:var(--rp-danger-line);background:var(--rp-danger-soft);color:var(--rp-danger);}
.dsrv [data-task-business-fields][hidden],.dsrv [data-customer-business-only][hidden],.dsrv [data-new-customer-business-only][hidden],.dsrv-form[data-customer-kind="private"] [data-task-business-fields]{display:none  !important;}
.dsrv-task-business-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px;align-items:end;min-width:0;}
.dsrv-task-customer-section .dsrv-task-business-fields--embedded{margin:12px 0 0  !important;padding:12px 0 0  !important;border-top:1px solid #edf2e8  !important;background:transparent  !important;box-shadow:none  !important;}
.dsrv-task-business-fields input,.dsrv-task-business-fields select{width:100%;min-height:38px  !important;border-radius:10px  !important;border:1px solid var(--rp-line)  !important;background:var(--rp-surface)  !important;font-size:13px  !important;padding:10px 12px  !important;box-shadow:none  !important;}
.dsrv-task-business-fields .dsrv-select-wrap{margin:0;}



.dsrv-service-address-editor-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:12px;border:1px solid #dbead5;border-radius:14px;background:var(--rp-surface);}
.dsrv-service-address-editor-row__main{display:grid;gap:8px;min-width:0;}
.dsrv-service-address-editor-row__grid{display:grid;grid-template-columns:120px minmax(0,1fr);gap:8px;}
.dsrv-service-address-editor-row label{display:block;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#46633c;margin:0 0 5px;}
.dsrv-service-address-editor-row input{width:100%;min-height:36px;}
.dsrv-service-address-editor-row [data-remove-service-address]{align-self:center;white-space:nowrap;}
@media (max-width:900px){.dsrv-task-business-fields,.dsrv-service-address-editor-row,.dsrv-service-address-editor-row__grid{grid-template-columns:1fr;}.dsrv-service-address-editor-row [data-remove-service-address]{justify-self:start;}}
.dsrv-report-proposal-box{display:grid;gap:8px;border-color:var(--rp-line)  !important;background:linear-gradient(180deg,var(--rp-surface) 0%,var(--rp-surface-subtle) 100%)  !important;box-shadow:0 8px 18px rgba(50,86,42,.06)  !important;border:1px solid var(--rp-line);border-radius:16px;padding:14px;margin:10px 0;}
.dsrv-report-proposal-box>strong{font-size:16px  !important;letter-spacing:-.01em  !important;display:block;color:var(--rp-primary-dark);margin-bottom:8px;}
.dsrv .dsrv-reset-enroute{background:#fff7dc  !important;border-color:#d6b453  !important;color:#5d470b  !important;font-weight:800;}
.dsrv .dsrv-reset-enroute:hover,.dsrv .dsrv-reset-enroute:focus{background:#ffeaa0  !important;border-color:#b98900  !important;color:#4d3900  !important;}
/*Kunder-filter: skal altid kunne skjule kundekort, også når kort bruger grid !important.*/
.dsrv-route-time-summary.is-within-capacity{border-left:0  !important;}
.dsrv-route-time-summary.is-warning>div{border-color:var(--rp-warning-line)  !important;}
.dsrv-route-time-summary__status.is-ok,.dsrv-route-time-summary__balance.is-positive,.dsrv-route-time-summary__wait.is-ok{border-color:var(--rp-success-line)  !important;background:var(--rp-success-soft)  !important;box-shadow:inset 0 0 0 1px rgba(34,197,94,.14)  !important;}
.dsrv-route-time-summary__status.is-ok b,.dsrv-route-time-summary__balance.is-positive b,.dsrv-route-time-summary__wait.is-ok b{color:var(--rp-success)  !important;}
.dsrv-route-time-summary__balance.is-warning,.dsrv-route-time-summary__status.is-warning,.dsrv-route-time-summary__status.is-waiting,.dsrv-route-time-summary__wait.is-waiting{border-color:var(--rp-warning-line)  !important;background:var(--rp-warning-soft)  !important;box-shadow:inset 0 0 0 1px rgba(251,146,60,.22)  !important;}
.dsrv-route-time-summary__balance.is-warning b,.dsrv-route-time-summary__status.is-warning b,.dsrv-route-time-summary__status.is-waiting b,.dsrv-route-time-summary__wait.is-waiting b{color:var(--rp-warning-text)  !important;}
.dsrv-route-time-summary__status.is-danger,.dsrv-route-time-summary__balance.is-negative{border-color:var(--rp-danger-line)  !important;background:var(--rp-danger-soft)  !important;box-shadow:inset 0 0 0 1px rgba(239,68,68,.18)  !important;}
.dsrv-route-time-summary__status.is-danger b,.dsrv-route-time-summary__balance.is-negative b{color:var(--rp-danger)  !important;}
.dsrv-economy-bulkbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;margin:12px 0;border:1px solid #d9ecd0;border-radius:16px;background:#f4fbf1;}
.dsrv-economy-case-row{position:relative;grid-template-columns:auto minmax(0,1fr) auto;}
.dsrv-economy-case-select{display:flex;align-items:flex-start;padding-top:4px;}
.dsrv-economy-case-select input{width:18px;height:18px;margin:0;}
.dsrv-economy-groups{margin:0 0 18px;display:grid;gap:16px;}
.dsrv-economy-groups .dsrv-section-subhead{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:2px;}
.dsrv-invoice-group{--rp-small-button-height:40px;--rp-small-button-padding:8px 12px;--rp-small-button-radius:10px;--rp-small-button-font:12px;--rp-finance-row-font:13px;container:rp-invoice-group / inline-size;margin:0;border:1px solid color-mix(in srgb,var(--rp-primary) 25%,var(--rp-line));border-radius:18px;background:linear-gradient(145deg,var(--rp-primary-soft),var(--rp-surface-subtle));padding:20px;box-shadow:0 8px 24px rgba(42,96,31,.06);min-width:0;}
.dsrv-invoice-group__head{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.85fr);gap:20px;align-items:start;}
.dsrv-invoice-group__head>div{min-width:0;}
.dsrv.rp-ui .dsrv-invoice-group__head .dsrv-card-title{margin-bottom:6px;font-size:17px;line-height:1.4;overflow-wrap:anywhere;}
.dsrv-invoice-group__head .dsrv-muted{font-size:12px;line-height:1.6;overflow-wrap:anywhere;}
.dsrv-invoice-group__status{margin:10px 0 0;padding:9px 12px;border-left:3px solid var(--rp-primary);background:var(--rp-surface);border-radius:0 8px 8px 0;color:var(--rp-ink);font-size:13px;line-height:1.5;overflow-wrap:anywhere;}
.dsrv-invoice-group__status:empty{display:none;}
.dsrv-invoice-group__status[data-status-level="error"]{border-left-color:var(--rp-danger);background:var(--rp-danger-soft);color:var(--rp-danger-text,#8a2929);}
.dsrv-invoice-group__lines{margin-top:16px;border-top:1px solid var(--rp-line);padding-top:16px;display:grid;gap:12px;}
.dsrv-invoice-group__lines[hidden]{display:none!important;}
.dsrv-invoice-group__add{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px 14px;padding:16px;border:1px solid var(--rp-line);border-radius:14px;background:var(--rp-surface);min-width:0;}
.dsrv-invoice-group__add>label,.dsrv-invoice-group__add>.dsrv-muted{grid-column:1/-1;}
.dsrv-invoice-group__add>label{font-size:13px;font-weight:700;color:var(--rp-ink);}
.dsrv-invoice-group__add>select{width:100%;max-width:100%;min-width:0;min-height:40px;}
.dsrv-invoice-group-line{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:20px;align-items:start;padding:18px;border:1px solid var(--rp-line);border-radius:14px;background:var(--rp-surface);min-width:0;}
.dsrv-invoice-group-line__main{display:grid;gap:7px;min-width:0;overflow-wrap:anywhere;}
.dsrv-invoice-group-line__main>strong{font-size:15px;line-height:1.4;color:var(--rp-primary-dark);}
.dsrv-invoice-group-line__main>.dsrv-muted{font-size:12px;line-height:1.5;}
.dsrv-invoice-group-line__meta{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px;border:1px solid var(--rp-line);border-radius:12px;background:var(--rp-surface-subtle);min-width:0;}
.dsrv-invoice-group-line__meta>strong{font-size:15px;white-space:nowrap;}
.dsrv-invoice-group-line__meta>.pill{justify-self:start;}
.dsrv-invoice-group-line__meta>.button{grid-column:1/-1;width:100%;}
.dsrv-invoice-group-line .dsrv-inline-finance-price{max-width:none;min-width:0;}
.dsrv-invoice-group-line .dsrv-inline-finance-price>label{display:grid;gap:5px;font-size:12px;font-weight:650;}
.dsrv-invoice-group-line .dsrv-inline-finance-price input{box-sizing:border-box;width:100%;min-width:0;font-size:13px;}
.dsrv-invoice-group__actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:stretch;}
.dsrv-invoice-group__actions>.pill{grid-column:1/-1;justify-self:start;}
.dsrv-invoice-group__actions>.button{width:100%;white-space:normal;line-height:1.4;}
.dsrv-invoice-group__total{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px;padding:14px 16px;margin-top:4px;border:1px solid var(--rp-line);border-radius:12px;background:var(--rp-surface);color:var(--rp-primary-dark);font-size:16px;}
@container rp-invoice-group (max-width:800px){
  .dsrv-invoice-group__head,.dsrv-invoice-group-line{grid-template-columns:minmax(0,1fr);}
}
@container rp-invoice-group (max-width:600px){
  .dsrv-invoice-group .dsrv-inline-finance-price{--rp-finance-price-columns:minmax(0,1fr);}
}
@media (max-width: 900px){
  .dsrv-economy-bulkbar,.dsrv-invoice-group__head,.dsrv-invoice-group-line{display:grid;grid-template-columns:1fr;}
  .dsrv-invoice-group-line__meta{grid-template-columns:minmax(0,1fr) auto;}
}
@media (max-width: 600px){
  .dsrv-invoice-group{padding:14px;}
  .dsrv-invoice-group-line,.dsrv-invoice-group__add{padding:12px;}
  .dsrv-invoice-group__actions{grid-template-columns:minmax(0,1fr);}
  .dsrv-invoice-group__add{grid-template-columns:minmax(0,1fr);}
  .dsrv-invoice-group__add>.button{width:100%;min-height:40px;}
}
.dsrv-panel[data-panel="ruter"] .dsrv-dnd-list[data-list="available"] .dsrv-task.dsrv-task--new-case{background:linear-gradient(180deg,#ffffff 0%,#eff6ff 100%)  !important;border-color:#93c5fd  !important;border-left:5px solid #2563eb  !important;box-shadow:0 6px 18px rgba(37,99,235,.10)  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-dnd-list[data-list="available"] .dsrv-task.dsrv-task--new-case:hover{background:linear-gradient(180deg,#edf6ff 0%,#dbeeff 100%)!important;border-color:#3b82f6!important;box-shadow:0 14px 28px rgba(37,99,235,.18)!important;transform:translateY(-1px)!important;}
.dsrv-panel[data-panel="ruter"] .dsrv-dnd-list[data-list="available"] .dsrv-task.dsrv-task--new-case .dsrv-task-age-badge.is-warning{background:#dbeafe  !important;border-color:#93c5fd  !important;color:#1e40af  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-dnd-list[data-list="available"] .dsrv-task.dsrv-task--new-case .dsrv-task-age-badge.is-warning::before{background:#2563eb  !important;box-shadow:none  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-dnd-list .dsrv-task.dsrv-task--revenue-followup{background:linear-gradient(180deg,#ffffff 0%,#f0f9ff 100%)  !important;border-color:#7dd3fc  !important;border-left:5px solid #38bdf8  !important;box-shadow:0 6px 18px rgba(14,165,233,.10)  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-dnd-list .dsrv-task.dsrv-task--revenue-followup:hover{background:linear-gradient(180deg,#effaff 0%,#dff5ff 100%)!important;border-color:#38bdf8!important;box-shadow:0 14px 28px rgba(14,165,233,.17)!important;transform:translateY(-1px)!important;}
.dsrv-work-map-popup.is-case-new:not(.is-danger):not(.is-overdue) .dsrv-work-map-popup__eyebrow{background:#dbeafe  !important;color:#1e40af  !important;}
.dsrv-work-map-popup.is-revenue-followup:not(.is-danger):not(.is-overdue) .dsrv-work-map-popup__eyebrow{background:#e0f2fe  !important;color:#075985  !important;}
.dsrv-work-map-popup__mapmark.is-case-new:not(.is-overdue){background:#2563eb  !important;color:#fff  !important;box-shadow:0 0 0 5px rgba(37,99,235,.16),0 10px 22px rgba(15,23,42,.20)  !important;}
.dsrv-work-map-popup__mapmark.is-revenue-followup:not(.is-overdue){background:#38bdf8  !important;color:#082f49  !important;box-shadow:0 0 0 5px rgba(14,165,233,.18),0 10px 22px rgba(15,23,42,.18)  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-editor.dsrv-route-editor--opgavekort-primary,.dsrv-panel[data-panel="ruter"] .dsrv-route-editor.dsrv-route-editor--simple{display:grid  !important;grid-template-columns:1fr  !important;gap:0  !important;width:100%  !important;max-width:none  !important;min-width:0  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-editor.dsrv-route-editor--simple>.dsrv-col:first-child{position:relative  !important;top:auto  !important;max-height:none  !important;overflow:visible  !important;padding-bottom:0  !important;background:transparent  !important;border-radius:0  !important;z-index:auto  !important;width:100%  !important;max-width:none  !important;min-width:0  !important;box-sizing:border-box  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-workbench{display:grid  !important;grid-template-columns:repeat(2,minmax(0,1fr))  !important;gap:18px  !important;align-items:start  !important;width:100%  !important;max-width:none  !important;min-width:0  !important;box-sizing:border-box  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-workbench__left,.dsrv-panel[data-panel="ruter"] .dsrv-route-workbench__right{min-width:0  !important;width:100%  !important;box-sizing:border-box  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-workbench__left{position:static  !important;top:auto  !important;align-self:start  !important;display:grid  !important;gap:12px  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-workbench__right{display:grid  !important;gap:14px  !important;align-self:start  !important;align-content:start  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-daybox{display:grid  !important;align-content:start  !important;gap:14px  !important;width:100%  !important;margin:0  !important;padding:18px  !important;border:1px solid var(--rp-line)  !important;border-radius:22px  !important;background:linear-gradient(180deg,#ffffff 0%,var(--rp-surface-subtle) 100%)  !important;box-shadow:0 14px 34px rgba(15,23,42,.07)  !important;box-sizing:border-box  !important;min-width:0  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-daybox__top{display:flex  !important;align-items:flex-start  !important;justify-content:space-between  !important;gap:14px  !important;padding-bottom:14px  !important;border-bottom:1px solid #edf3e9  !important;min-width:0  !important;flex-wrap:wrap  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-daybox__title{display:grid  !important;gap:5px  !important;min-width:0  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-daybox__eyebrow{width:max-content  !important;max-width:100%  !important;padding:4px 10px  !important;border-radius:999px  !important;background:#eaf6df  !important;color:var(--rp-primary-dark)  !important;font-size:11px  !important;font-weight:900  !important;line-height:1.15  !important;letter-spacing:.05em  !important;text-transform:uppercase  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-daybox__name{color:var(--rp-text)!important;font-size:26px  !important;font-weight:950  !important;line-height:1.08  !important;letter-spacing:-.03em  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-daybox__meta{display:flex  !important;flex-wrap:wrap  !important;gap:6px 12px  !important;color:#5c6d5b  !important;font-size:13px  !important;font-weight:700  !important;line-height:1.35  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-daybox__publish,.dsrv-panel[data-panel="ruter"] .dsrv-route-daybox__actions{display:flex  !important;align-items:center  !important;justify-content:flex-start  !important;gap:8px  !important;flex-wrap:wrap  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-pace-box{display:grid  !important;grid-template-columns:auto 1fr  !important;gap:3px 12px  !important;align-items:center  !important;padding:14px 16px  !important;border-radius:18px  !important;border:1px solid #dbe7d2  !important;background:var(--rp-surface-subtle)  !important;color:var(--rp-text)  !important;box-shadow:0 10px 24px rgba(15,23,42,.055)  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-pace-box b{grid-column:1/-1  !important;color:inherit  !important;font-size:10px  !important;font-weight:950  !important;letter-spacing:.07em  !important;line-height:1.1  !important;text-transform:uppercase  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-pace-box strong{color:inherit  !important;font-size:24px  !important;font-weight:950  !important;line-height:1.05  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-pace-box span{color:inherit  !important;font-size:12px  !important;font-weight:800  !important;line-height:1.35  !important;opacity:.86  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-pace-box.is-danger{border-color:var(--rp-danger-line)  !important;background:var(--rp-danger-soft)  !important;color:var(--rp-danger)  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-pace-box.is-ahead,.dsrv-panel[data-panel="ruter"] .dsrv-route-pace-box.is-ok{border-color:var(--rp-success-line)!important;background:var(--rp-success-soft)!important;color:var(--rp-success)!important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-pace-box.is-neutral{border-color:#e2e8f0  !important;background:var(--rp-surface-subtle)  !important;color:var(--rp-muted)  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-daybox__stats{display:grid  !important;grid-template-columns:repeat(2,minmax(0,1fr))  !important;gap:8px  !important;min-width:0  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-daybox__stats>div{display:grid  !important;align-content:center  !important;gap:4px  !important;min-height:56px  !important;padding:9px 10px  !important;border:1px solid var(--rp-line)  !important;border-radius:15px  !important;background:var(--rp-surface)  !important;box-shadow:0 6px 16px rgba(15,23,42,.035)  !important;min-width:0  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-daybox__stats b{color:#637562  !important;font-size:10px  !important;font-weight:900  !important;line-height:1.1  !important;letter-spacing:.055em  !important;text-transform:uppercase  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-daybox__stats span{color:var(--rp-text)!important;font-size:14px  !important;font-weight:950  !important;line-height:1.2  !important;overflow-wrap:anywhere  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-daybox__stats .is-ok,.dsrv-panel[data-panel="ruter"] .dsrv-route-daybox__stats .is-positive{border-color:var(--rp-success-line)  !important;background:var(--rp-success-soft)  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-daybox__stats .is-waiting,.dsrv-panel[data-panel="ruter"] .dsrv-route-daybox__stats .is-warning{border-color:var(--rp-warning-line)  !important;background:var(--rp-warning-soft)  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-daybox__stats .is-danger,.dsrv-panel[data-panel="ruter"] .dsrv-route-daybox__stats .is-negative{border-color:var(--rp-danger-line)  !important;background:var(--rp-danger-soft)  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-daybox__controlrow{display:grid  !important;gap:10px  !important;padding:12px  !important;border:1px solid #e3ecdc  !important;border-radius:17px  !important;background:var(--rp-surface-subtle)  !important;min-width:0  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-daybox__start{display:flex  !important;align-items:center  !important;gap:8px  !important;flex-wrap:wrap  !important;min-width:0  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-daybox__start label{margin:0  !important;color:var(--rp-text)!important;font-size:12px  !important;font-weight:900  !important;white-space:nowrap  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-daybox__start input[type="time"]{width:104px  !important;min-height:34px  !important;border-radius:10px  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-daybox__controlrow .dsrv-route-message{margin:0  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-planner{display:grid  !important;gap:12px  !important;padding:14px  !important;border:1px solid #cfe7bd  !important;border-radius:18px  !important;background:#f5fbef  !important;min-width:0  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-planner--top{margin:0 0 2px  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-planner.is-active{border-color:#7fb03e  !important;background:#eff9e8  !important;box-shadow:0 0 0 4px rgba(127,176,62,.12)  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-planner__head{display:grid  !important;gap:8px  !important;min-width:0  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-planner__head>div{display:grid  !important;gap:3px  !important;min-width:0  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-planner__head strong{color:var(--rp-text)!important;font-size:15px  !important;font-weight:950  !important;line-height:1.2  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-planner__head span:not(.dsrv-route-planner__count){color:#60715e  !important;font-size:12px  !important;font-weight:700  !important;line-height:1.45  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-planner__count{width:max-content  !important;max-width:100%  !important;padding:5px 10px  !important;border-radius:999px  !important;background:var(--rp-surface)  !important;border:1px solid var(--rp-line)  !important;color:var(--rp-primary-dark)  !important;font-size:12px  !important;font-weight:950  !important;white-space:nowrap  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-planner__controls{display:grid  !important;grid-template-columns:1fr  !important;gap:8px  !important;align-items:stretch  !important;min-width:0  !important;}
@media (min-width:1181px){.dsrv-panel[data-panel="ruter"] .dsrv-route-planner__controls{grid-template-columns:auto minmax(220px,1fr) auto auto  !important;align-items:end  !important;}.dsrv-panel[data-panel="ruter"] .dsrv-route-planner__controls .button{width:auto  !important;}.dsrv-panel[data-panel="ruter"] .dsrv-route-planner__controls [data-route-batch-add],.dsrv-panel[data-panel="ruter"] .dsrv-route-planner__controls [data-route-batch-clear]{justify-self:start  !important;}}
.dsrv-panel[data-panel="ruter"] .dsrv-route-planner__controls label{display:grid  !important;gap:4px  !important;margin:0  !important;min-width:0  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-planner__controls label span{font-size:10px  !important;font-weight:900  !important;color:#637562  !important;text-transform:uppercase  !important;letter-spacing:.055em  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-planner__controls select{width:100%  !important;min-height:34px  !important;border-radius:10px  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-planner__controls .button{width:100%  !important;justify-content:center  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-batch-list{display:flex  !important;align-items:center  !important;gap:7px  !important;flex-wrap:wrap  !important;min-height:34px  !important;padding:8px  !important;border-radius:14px  !important;background:var(--rp-surface)  !important;border:1px dashed #cfe0c5  !important;color:var(--rp-muted)!important;font-weight:700  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-batch-empty{font-size:12px  !important;line-height:1.4  !important;color:var(--rp-muted)!important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-batch-empty.is-active{color:var(--rp-primary-dark)  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-batch-item{display:inline-flex  !important;align-items:center  !important;gap:7px  !important;max-width:100%  !important;padding:5px 8px  !important;border-radius:999px  !important;background:var(--rp-primary-soft)  !important;border:1px solid #cfe7bd  !important;color:var(--rp-text)!important;font-size:12px  !important;font-weight:900  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-batch-item b{display:inline-grid  !important;place-items:center  !important;width:18px  !important;height:18px  !important;border-radius:999px  !important;background:var(--rp-primary-dark)  !important;color:#fff  !important;font-size:11px  !important;line-height:1  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-batch-item em{font-style:normal  !important;max-width:180px  !important;overflow:hidden  !important;text-overflow:ellipsis  !important;white-space:nowrap  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-work-map-add-task.is-batch-selected{background:var(--rp-primary-dark)  !important;border-color:var(--rp-primary-dark)  !important;color:#fff  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-map-details{margin:0  !important;border:1px solid var(--rp-line)  !important;border-radius:18px  !important;background:#fbfdf8  !important;overflow:hidden  !important;box-shadow:0 14px 34px rgba(15,23,42,.04)  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-map-details summary{display:flex  !important;align-items:center  !important;justify-content:space-between  !important;gap:10px  !important;padding:11px 14px  !important;cursor:pointer  !important;font-weight:950  !important;color:var(--rp-text)!important;background:var(--rp-surface-subtle)  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-map-details summary small{color:var(--rp-muted)!important;font-size:11px  !important;font-weight:800  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-hero-grid{display:grid  !important;grid-template-columns:minmax(0,1.7fr) minmax(220px,.5fr)  !important;gap:12px  !important;margin:12px  !important;align-items:stretch  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-map-card,.dsrv-panel[data-panel="ruter"] .dsrv-route-start-card{min-width:0  !important;box-sizing:border-box  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-main-map{height:325px  !important;min-height:325px  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-list-head{display:flex  !important;align-items:flex-end  !important;justify-content:space-between  !important;gap:12px  !important;margin:14px 0 8px  !important;padding:0 2px  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-list-head strong{color:var(--rp-text)!important;font-size:18px  !important;font-weight:950  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-list-head span{color:var(--rp-muted)!important;font-size:12px  !important;font-weight:700  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-scroll-shell{display:grid  !important;gap:10px  !important;counter-reset:dsrv-stop  !important;max-height:none  !important;overflow:visible  !important;padding:0  !important;border:0  !important;background:transparent  !important;scroll-padding-top:12px  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-scroll-shell .dsrv-task.is-stop{position:relative  !important;display:grid  !important;gap:8px  !important;padding:14px 14px 14px 62px  !important;border:1px solid var(--rp-line)  !important;border-radius:18px  !important;background:var(--rp-surface)  !important;box-shadow:0 8px 24px rgba(15,23,42,.045)  !important;min-width:0  !important;transition:opacity .16s ease, transform .16s ease  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-scroll-shell .dsrv-task.is-stop:not(.dsrv-route-home-return-admin){counter-increment:dsrv-stop  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-scroll-shell .dsrv-task.is-stop:not(.dsrv-route-home-return-admin)::before{content:counter(dsrv-stop)  !important;position:absolute  !important;left:14px  !important;top:14px  !important;width:34px  !important;height:34px  !important;display:grid  !important;place-items:center  !important;border-radius:999px  !important;background:var(--rp-primary-dark)  !important;color:#fff  !important;font-size:14px  !important;font-weight:950  !important;box-shadow:0 7px 16px rgba(47,97,32,.18)  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-scroll-shell .dsrv-task.is-stop.is-time-broken::before{background:#b91c1c  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-scroll-shell .dsrv-task.is-stop.is-time-waiting::before{background:#b45309  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-scroll-shell .dsrv-task.is-stop .dsrv-task-title{font-size:15px  !important;font-weight:950  !important;color:var(--rp-text)!important;line-height:1.25  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-scroll-shell .dsrv-task.is-stop .dsrv-task-sub{font-size:13px  !important;color:var(--rp-muted)  !important;line-height:1.35  !important;font-weight:700  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-scroll-shell .dsrv-task.is-stop .dsrv-task-actions{display:flex  !important;gap:7px  !important;flex-wrap:wrap  !important;align-items:center  !important;justify-content:flex-start  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-home-return-admin::before{content:"H"  !important;position:absolute  !important;left:14px  !important;top:14px  !important;width:34px  !important;height:34px  !important;display:grid  !important;place-items:center  !important;border-radius:999px  !important;background:var(--rp-text)  !important;color:#fff  !important;font-size:14px  !important;font-weight:950  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-scroll-shell .dsrv-task.is-removing{opacity:.45  !important;pointer-events:none  !important;}
.dsrv-route-placement-modal{display:grid  !important;gap:12px  !important;min-width:min(520px,80vw)  !important;}
.dsrv-route-placement-modal__intro{display:grid  !important;gap:4px  !important;padding:12px  !important;border:1px solid var(--rp-line)  !important;border-radius:14px  !important;background:var(--rp-surface-subtle)  !important;}
.dsrv-route-placement-modal__intro strong{color:var(--rp-text)!important;font-size:15px  !important;font-weight:950  !important;}
.dsrv-route-placement-modal__intro span{color:var(--rp-muted)!important;font-size:12px  !important;font-weight:700  !important;line-height:1.45  !important;}
.dsrv-route-placement-modal__field{display:grid  !important;gap:6px  !important;margin:0  !important;}
.dsrv-route-placement-modal__field span{font-weight:900  !important;color:var(--rp-text)!important;}
.dsrv-route-placement-modal__field select{width:100%  !important;min-height:38px  !important;border-radius:10px  !important;}
.dsrv-route-placement-modal__actions{display:flex  !important;justify-content:flex-end  !important;gap:8px  !important;flex-wrap:wrap  !important;}
@media (max-width:1180px){
  .dsrv-panel[data-panel="ruter"] .dsrv-route-workbench{grid-template-columns:1fr  !important;}
}
@media (max-width:760px){
  .dsrv-panel[data-panel="ruter"] .dsrv-route-hero-grid{grid-template-columns:1fr  !important;margin:10px  !important;}
  .dsrv-panel[data-panel="ruter"] .dsrv-route-main-map{height:240px  !important;min-height:240px  !important;}
  .dsrv-panel[data-panel="ruter"] .dsrv-route-scroll-shell .dsrv-task.is-stop{padding-left:54px  !important;}
  .dsrv-panel[data-panel="ruter"] .dsrv-route-batch-item em{max-width:160px  !important;}
}
.dsrv-panel[data-panel="okonomi"] .dsrv-economy-customer-meta,.dsrv-economy-groups .dsrv-economy-customer-meta{display:flex  !important;flex-wrap:wrap  !important;gap:6px  !important;margin:5px 0 6px  !important;}
.dsrv-panel[data-panel="okonomi"] .dsrv-economy-customer-meta span,.dsrv-economy-groups .dsrv-economy-customer-meta span{display:inline-flex  !important;align-items:center  !important;padding:3px 8px  !important;border:1px solid var(--rp-line)  !important;border-radius:999px  !important;background:var(--rp-surface-subtle)  !important;color:var(--rp-text)!important;font-size:11px  !important;font-weight:900  !important;}
.rp-masterdata-results{display:grid;gap:6px;max-height:280px;overflow:auto;padding:8px;border:1px solid var(--rp-line);border-radius:var(--rp-radius-sm);background:var(--rp-surface);box-shadow:var(--rp-shadow-sm);}
.rp-masterdata-results[hidden],.rp-case-workspace [hidden],body>.dsrv-modal.rp-ui-modal [data-rp-masterdata] [hidden]{display:none!important;}
.rp-masterdata-results .dsrv-combo-item{position:static;display:flex;flex-wrap:wrap;gap:5px;text-align:left;white-space:normal;width:100%;min-width:0;overflow-wrap:anywhere;}
.rp-masterdata-lookup{min-width:0;}
[data-rp-inline-editor]{grid-column:1/-1;min-width:0;}
.rp-masterdata-editor{display:grid;gap:16px;margin:8px 0 0;}
.rp-masterdata-editor>.dsrv-form-grid-2,.rp-site-contact-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0;}
.rp-masterdata-editor>.dsrv-form-grid-2>label,.rp-site-contact-fields>label{display:grid;gap:6px;min-width:0;}
.rp-masterdata-editor .rp-editor-field-wide,.rp-site-contact-fields>details,.rp-site-contact-fields>.rp-address-duplicates{grid-column:1/-1;}
.rp-task-work-address{display:grid;gap:14px;min-width:0;margin-top:20px;padding-top:18px;border-top:1px solid var(--rp-line);}
.rp-task-work-address>.dsrv-customer-unified-head{margin:0;padding:0;border:0;background:transparent;}
.dsrv-form .rp-task-work-address__question{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:start;gap:12px;margin:0;padding:14px;border:1px solid var(--rp-line);border-radius:13px;background:var(--rp-surface-subtle);color:var(--rp-text);font-size:13px;line-height:1.5;font-weight:600;letter-spacing:normal;text-transform:none;cursor:pointer;}
.rp-task-work-address__question:has(input:checked){border-color:color-mix(in srgb,var(--rp-primary) 45%,var(--rp-line));background:var(--rp-primary-soft);}
.rp-task-work-address__question:focus-within{outline:2px solid var(--rp-primary-dark);outline-offset:3px;}
.rp-task-work-address__question>input{accent-color:var(--rp-primary-dark);cursor:pointer;}
.rp-task-work-address__question>span{display:grid;gap:4px;min-width:0;overflow-wrap:anywhere;}
.rp-task-work-address__question strong{font-size:13px;line-height:1.45;}
.rp-task-work-address__question small{display:block;}
.rp-task-work-address__summary{display:grid;gap:5px;padding:12px 14px;min-width:0;border:1px solid var(--rp-line);border-radius:12px;background:var(--rp-surface);color:var(--rp-text);overflow-wrap:anywhere;}
.rp-task-work-address__summary>strong{font-size:11px;color:var(--rp-muted);font-weight:650;}
.rp-task-work-address__summary>span{font-size:13px;font-weight:750;line-height:1.5;}
.rp-task-work-address__fields>label{display:grid;gap:6px;min-width:0;}
.rp-task-work-address__fields>.rp-task-work-address__street,.rp-task-work-address__fields>.dsrv-muted{grid-column:1/-1;}
.rp-task-work-address__fields>.dsrv-muted{margin:0;}
.rp-task-work-address>.rp-site-contacts{margin-top:0;}
.rp-case-site-contacts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:14px;margin-top:14px;}
.rp-site-contacts{display:grid;gap:12px;margin-top:16px;padding-top:16px;border-top:1px solid var(--rp-line);min-width:0;}
.rp-site-contacts>[data-rp-site-contact-add]{justify-self:start;}
[data-rp-site-contact-rows]{display:grid;gap:12px;}
.rp-site-contact{display:flex;align-items:flex-start;gap:12px;padding:14px;border:1px solid var(--rp-line);border-radius:12px;background:var(--rp-surface);min-width:0;}
.rp-site-contact>.rp-site-contact-fields,.rp-site-contact>.rp-customer-copy{flex:1;min-width:0;}
.rp-site-contact>button{flex-shrink:0;}
.rp-site-contact-fields>details summary{cursor:pointer;font-size:12px;color:var(--rp-muted);}
.rp-site-contact-fields>details label{display:grid;gap:6px;margin:8px 0;}
.rp-site-contact-fields>details small{color:var(--rp-muted);line-height:1.5;}
.rp-address-duplicates{display:grid;gap:10px;margin:12px 0;padding:14px;border:1px solid var(--rp-warning-line);border-radius:14px;background:var(--rp-warning-soft);min-width:0;}
.rp-address-duplicates[hidden]{display:none!important;}
.rp-address-duplicates>button{justify-self:start;}
@media(max-width:680px){.rp-masterdata-editor>.dsrv-form-grid-2,.rp-site-contact-fields{grid-template-columns:minmax(0,1fr);}.rp-site-contact{flex-wrap:wrap;}.rp-site-contact>.rp-site-contact-fields{flex-basis:100%;}}

.dsrv-form :is([data-rp-new-customer],[data-rp-new-contact],[data-task-business-fields],[data-rp-customer-relations],.rp-task-work-address__fields){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0;}
.dsrv-form :is([data-rp-new-customer],[data-rp-new-contact],[data-task-business-fields])>label{display:grid;gap:6px;min-width:0;}
.dsrv-form :is([data-rp-new-contact],[data-task-business-fields],[data-rp-customer-relations]){margin-top:16px;}
.dsrv-form [data-rp-customer-relations] [data-rp-lookup]{margin:0;}
.dsrv-form [data-rp-new-customer]>[data-rp-customer-address],.dsrv-form [data-rp-new-customer]>[data-new-customer-business-only]{grid-column:1/-1;}
.rp-field-label{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;margin-bottom:6px;}
.dsrv-form .rp-field-label>label{margin:0;}
.dsrv-customer-unified-head__copy>.rp-field-label{justify-content:flex-start;margin-bottom:0;}
@media(max-width:680px){.dsrv-form :is([data-rp-new-customer],[data-rp-new-contact],[data-task-business-fields],[data-rp-customer-relations],.rp-task-work-address__fields){grid-template-columns:minmax(0,1fr);}}

.rp-masterdata-lookup[data-rp-lookup="customer"] .rp-masterdata-results{max-height:min(440px,55dvh);gap:10px;padding:10px;background:var(--rp-warning-soft);border-color:var(--rp-warning-line);}
.rp-customer-match-group{display:grid;gap:8px;min-width:0;}
.rp-customer-location-match{margin-left:12px;border-left:3px solid var(--rp-primary);}
.rp-customer-match{display:flex;align-items:center;justify-content:space-between;gap:14px;min-width:0;padding:12px;border:1px solid var(--rp-warning-line);border-radius:12px;background:var(--rp-surface);}
.rp-customer-match>div,.rp-customer-copy{min-width:0;}
.rp-customer-copy{display:grid;gap:4px;overflow-wrap:anywhere;}
.rp-customer-copy strong{font-size:14px;font-weight:800;line-height:1.4;color:var(--rp-text);}
.rp-customer-copy>span{font-size:12px;font-weight:500;line-height:1.5;color:var(--rp-muted);}
body>.dsrv-modal.rp-ui-modal .rp-customer-match>.button,body>.dsrv-modal.rp-ui-modal .dsrv-customer-linked-box>.button{flex-shrink:0;min-height:44px!important;white-space:normal;text-align:center;}
.rp-customer-match-reason{margin:8px 0 0;color:var(--rp-warning-text);font-size:12px;line-height:1.4;font-weight:650;}
.rp-masterdata-lookup [data-rp-customer-change-hint],.rp-masterdata-lookup [data-rp-location-address]{display:block;margin:8px 0;overflow-wrap:anywhere;}
@media(max-width:600px){
  .rp-customer-match{align-items:stretch;flex-direction:column;gap:10px;}
  .rp-customer-match>.button{width:100%;}
  .dsrv-form--customer-unified .dsrv-customer-linked-box{flex-wrap:wrap;}
}

.rp-masterdata-lookup .dsrv-combo{display:flex;gap:8px;}
.rp-masterdata-combobox{position:relative;flex:1;min-width:0;}
.rp-masterdata-lookup .rp-masterdata-combobox input[data-rp-lookup-search][type="search"]{min-width:0;width:100%;padding-right:46px!important;}
.rp-masterdata-toggle{position:absolute;inset:3px 3px 3px auto;display:grid;place-items:center;width:38px;padding:0;border:0;border-radius:7px;background:transparent;color:var(--rp-primary-dark);cursor:pointer;}
.rp-masterdata-toggle:hover,.rp-masterdata-toggle:focus-visible{background:var(--rp-primary-soft);outline:2px solid var(--rp-primary-dark);outline-offset:-2px;}
.rp-masterdata-toggle svg{display:block;width:16px;height:16px;}
.rp-masterdata-lookup>button{margin-top:8px;}
.dsrv-panel[data-panel="opgaver"] .dsrv-task-card--visit-course::before{background:var(--rp-purple)!important;}
.dsrv-task.is-stop.is-upcoming-treatment{border-inline-start:4px solid var(--rp-purple);}
.dsrv-map-mark.is-upcoming-treatment,.dsrv-work-map-popup.is-upcoming-treatment{--rp-marker-fill:var(--rp-purple);border-color:var(--rp-purple);}
.rp-case-workspace{display:grid;gap:14px;min-width:0;}
.rp-case-workspace .dsrv-form-grid-2{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:14px;}
.rp-case-workspace label:not(.rp-communication-toggle),.rp-case-service label,.rp-case-communication label:not(.rp-communication-toggle),.rp-case-equipment label{display:grid;gap:6px;}
:is(.dsrv-form,.rp-case-workspace,.rp-case-communication) .rp-communication-toggle{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:start;gap:9px;min-width:0;margin:0;padding:8px 0;color:var(--rp-text);font-size:13px;line-height:1.45;font-weight:650;letter-spacing:normal;text-transform:none;cursor:pointer;}
:is(.dsrv-form,.rp-case-workspace,.rp-case-communication) .rp-communication-toggle>input[type="checkbox"]{width:18px;height:18px;min-width:18px;min-height:18px;margin:1px 0 0!important;padding:0;accent-color:var(--rp-primary-dark);}
:is(.dsrv-form,.rp-case-workspace,.rp-case-communication) .rp-communication-toggle>span{min-width:0;overflow-wrap:anywhere;}
.rp-case-workspace input,.rp-case-workspace select{box-sizing:border-box;max-width:100%;min-width:0;}
.rp-case-workspace .dsrv-report-section,.rp-case-service,.rp-case-communication,.rp-case-equipment{min-width:0;}
.rp-case-workspace summary,.rp-case-equipment summary{cursor:pointer;display:flex;gap:8px;align-items:center;flex-wrap:wrap;}
.rp-case-fact-value{display:block;overflow-wrap:anywhere;}
.rp-case-note-text{white-space:pre-wrap;overflow-wrap:anywhere;}
.rp-case-equipment textarea,.rp-case-service select,.rp-case-communication select{box-sizing:border-box;width:100%;max-width:100%;}
.rp-case-communication>details{margin:12px 0;}
.rp-case-communication>button[data-rp-communication-save]{margin-top:8px;}
.rp-case-equipment>summary{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;min-height:42px;}
.rp-case-equipment>summary .rp-equipment-summary-copy{display:grid;gap:4px;min-width:0;}
.rp-case-equipment>summary .rp-equipment-summary-copy>small{font-size:12px;font-weight:500;color:var(--rp-muted);}
.rp-recipient-preview__row{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;padding:10px 0;border-bottom:1px solid var(--rp-line);overflow-wrap:anywhere;}
.rp-recipient-preview__row label{display:inline-flex;gap:6px;align-items:center;}
.rp-recipient-preview__row span{min-width:0;overflow-wrap:anywhere;}
.rp-recipient-preview{grid-column:1/-1;min-width:0;}
.rp-recipient-preview:focus{outline:2px solid var(--rp-primary-dark);outline-offset:3px;}
.rp-recipient-extra{display:grid;gap:12px;margin-top:16px;padding-top:16px;border-top:1px solid var(--rp-line);}
.rp-recipient-extra>label:not(.rp-communication-toggle){display:grid;gap:6px;min-width:0;}
.rp-recipient-extra input[type="email"]{box-sizing:border-box;width:100%;min-width:0;}
.rp-recipient-extra>small{color:var(--rp-muted);line-height:1.5;}
.rp-recipient-extra>button{justify-self:start;}
.rp-recipient-preview [data-rp-recipient-status]{overflow-wrap:anywhere;line-height:1.5;}
.rp-recipient-preview [data-rp-recipient-status].is-error{color:var(--rp-danger);}
.rp-communication-default{display:grid;gap:4px;grid-column:1/-1;margin:12px 0;padding:13px 15px;border:1px solid var(--rp-success-line);border-radius:12px;background:var(--rp-success-soft);overflow-wrap:anywhere;}
.rp-communication-default small{color:var(--rp-muted);font-size:12px;}
.rp-communication-default.is-disabled{background:var(--rp-surface-subtle);border-color:var(--rp-line);}
.dsrv-sidebar-alert-icon.is-purple{background:var(--rp-purple-soft);color:var(--rp-purple);}
.dsrv-customer-duplicate-box[hidden]{display:none  !important;}
.dsrv-customer-duplicate-box{grid-column:1/-1  !important;display:grid  !important;gap:10px  !important;margin:4px 0 12px  !important;padding:12px  !important;border:1px solid var(--rp-warning-line)  !important;border-radius:16px  !important;background:var(--rp-warning-soft)  !important;}
.dsrv-customer-duplicate-box__head{display:grid  !important;gap:2px  !important;}
.dsrv-customer-duplicate-box__head strong{color:#7c2d12  !important;font-size:14px  !important;font-weight:950  !important;}
.dsrv-customer-duplicate-box__head span{color:var(--rp-warning-text)  !important;font-size:12px  !important;font-weight:700  !important;}
.dsrv-customer-duplicate-box__list{display:grid  !important;gap:8px  !important;}
.dsrv-customer-duplicate-match{display:flex  !important;align-items:center  !important;justify-content:space-between  !important;gap:10px  !important;padding:9px  !important;border:1px solid var(--rp-warning-line)  !important;border-radius:13px  !important;background:var(--rp-surface)  !important;}
.dsrv-customer-duplicate-match strong{display:block  !important;color:var(--rp-text)!important;font-size:13px  !important;font-weight:900  !important;}
.dsrv-customer-duplicate-match span{display:block  !important;color:var(--rp-muted)!important;font-size:11px  !important;font-weight:800  !important;}
.dsrv-customer-duplicate-box__actions{display:flex  !important;justify-content:flex-end  !important;}
.dsrv-form--customer-unified .dsrv-customer-picker--source-only{display:none  !important;}
.dsrv-form--customer-unified .dsrv-customer-unified-head{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:10px;margin:0 0 12px;padding:0 0 12px;border:0;border-bottom:1px solid #e3ebe1;border-radius:0;background:transparent;color:var(--rp-text);box-shadow:none;}
.dsrv-form--customer-unified .dsrv-customer-unified-head strong{font-size:14px;font-weight:950;line-height:1.2;}
.dsrv-form--customer-unified .dsrv-customer-unified-head span{font-size:12px;font-weight:700;line-height:1.35;color:#60715e;}
.dsrv-form--customer-unified .dsrv-customer-linked-box{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin:0 0 16px;padding:14px;border:1px solid var(--rp-success-line);border-radius:14px;background:var(--rp-success-soft);color:var(--rp-text);box-shadow:none;}
.dsrv-form--customer-unified .dsrv-customer-linked-box[hidden]{display:none  !important;}

.dsrv-routes-work-map-legend i.is-fixed-time{background:var(--rp-status-fixed)!important;}
.dsrv-route-stop-flag.is-fixed-time,.pill.pill-fixed-time{background:color-mix(in srgb,var(--rp-status-fixed) 14%,#fff 86%)!important;color:color-mix(in srgb,var(--rp-status-fixed) 68%,#5b2f00 32%)!important;border-color:color-mix(in srgb,var(--rp-status-fixed) 36%,#fff 64%)!important;font-weight:950!important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-scroll-shell .dsrv-task.is-stop.is-fixed-time:not(.is-time-broken){border-color:var(--rp-status-fixed)!important;background:linear-gradient(180deg,color-mix(in srgb,var(--rp-status-fixed) 4%,#fff 96%) 0%,color-mix(in srgb,var(--rp-status-fixed) 8%,#fff 92%) 100%)!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--rp-status-fixed) 12%,transparent),0 10px 24px color-mix(in srgb,var(--rp-status-fixed) 8%,transparent)!important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-scroll-shell .dsrv-task.is-stop.is-fixed-time:not(.is-time-broken)::before{background:var(--rp-status-fixed)!important;box-shadow:0 7px 16px color-mix(in srgb,var(--rp-status-fixed) 24%,transparent)!important;}
.dsrv-work-map-popup.is-fixed-time:not(.is-danger) .dsrv-work-map-popup__eyebrow{background:color-mix(in srgb,var(--rp-status-fixed) 14%,#fff 86%)!important;color:color-mix(in srgb,var(--rp-status-fixed) 68%,#5b2f00 32%)!important;}
.dsrv-work-map-popup__mapmark.is-fixed-time:not(.is-overdue){background:var(--rp-status-fixed)!important;color:#fff!important;box-shadow:0 0 0 5px color-mix(in srgb,var(--rp-status-fixed) 16%,transparent),0 10px 22px color-mix(in srgb,var(--rp-status-fixed) 24%,transparent)!important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-daybox__stats .is-ahead{border-color:var(--rp-success-line)  !important;background:var(--rp-success-soft)  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-daybox__stats .is-ahead span{color:var(--rp-success)  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-daybox__stats .is-danger span{color:var(--rp-danger)  !important;}
.dsrv-panel[data-panel="ruter"] .dsrv-route-daybox__stats .is-warning span,.dsrv-panel[data-panel="ruter"] .dsrv-route-daybox__stats .is-waiting span{color:var(--rp-warning-text)  !important;}
.dsrv-route-stop-flag.is-time-note,.pill.is-time-note{background:var(--rp-danger-soft)  !important;color:var(--rp-danger)  !important;border-color:var(--rp-danger-line)  !important;font-weight:950  !important;}
.dsrv-desc--time-note{color:var(--rp-danger)  !important;background:var(--rp-danger-soft)  !important;border:1px solid var(--rp-danger-line)  !important;border-radius:10px  !important;padding:6px 8px  !important;margin-top:6px  !important;}
.dsrv-same-address-modal p{margin:0;color:var(--rp-text);}
.dsrv-same-address-list{display:grid;gap:10px;max-height:55vh;overflow:auto;}
.dsrv-same-address-choice{display:grid;gap:4px;width:100%;text-align:left;border:1px solid #d4e8ca;background:var(--rp-surface);border-radius:10px;padding:10px 12px;cursor:pointer;color:var(--rp-text);}
.dsrv-same-address-choice:hover,.dsrv-same-address-choice.is-selected{border-color:var(--rp-button-primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--rp-primary) 16%,transparent);}
.dsrv-same-address-choice.is-current{background:color-mix(in srgb,var(--rp-primary) 5%,var(--rp-surface) 95%);}
.dsrv-same-address-choice strong{font-size:13px;}
.dsrv-same-address-choice span,.dsrv-same-address-choice small,.dsrv-same-address-choice em{font-size:12px;color:var(--rp-muted);font-style:normal;}
.dsrv-panel[data-panel="kunder"] .rp-customers-page{--rpc-ink:var(--rp-text);--rpc-line:var(--rp-line);--rpc-soft:var(--rp-surface-subtle);--rpc-soft-2:color-mix(in srgb,var(--rp-primary) 9%,var(--rp-surface) 91%);--rpc-green:var(--rp-button-primary);--rpc-green-dark:var(--rp-primary-dark);--rpc-shadow:0 10px 26px color-mix(in srgb,var(--rp-primary-dark) 6%,transparent);display:grid  !important;gap:12px  !important;min-width:0  !important;position:relative  !important;}
.dsrv-panel[data-panel="kunder"] .rp-customers-page [hidden]{display:none  !important;}

.dsrv-panel[data-panel="kunder"] .rp-customer-searchbar{display:grid  !important;grid-template-columns:minmax(320px,1fr) auto auto auto  !important;gap:7px  !important;align-items:center  !important;min-width:0  !important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-searchbar input[type="search"]{width:100%  !important;min-width:0  !important;min-height:38px  !important;margin:0  !important;padding:7px 12px  !important;border:1px solid var(--rp-line)  !important;border-radius:12px  !important;background:var(--rp-surface)  !important;color:var(--rpc-ink)  !important;font-size:12.5px  !important;font-weight:750  !important;box-shadow:0 2px 8px rgba(15,23,42,.025)  !important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-searchbar input[type="search"]:focus{border-color:color-mix(in srgb,var(--rp-primary) 58%,var(--rp-line) 42%)  !important;box-shadow:0 0 0 3px var(--rp-primary-focus)  !important;outline:none  !important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-searchbar .button{min-height:38px  !important;height:38px  !important;padding:0 14px  !important;border-radius:12px  !important;white-space:nowrap  !important;font-weight:900  !important;display:inline-flex  !important;align-items:center  !important;justify-content:center  !important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-filters{display:flex  !important;flex-wrap:wrap  !important;gap:7px  !important;margin:0  !important;padding:0  !important;border:0  !important;background:transparent  !important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-filters .dsrv-subtab{display:inline-flex  !important;align-items:center  !important;gap:7px  !important;min-height:34px  !important;margin:0  !important;padding:6px 11px  !important;border:1px solid var(--rpc-line)  !important;border-radius:999px  !important;background:var(--rp-surface)  !important;color:#425340  !important;box-shadow:none  !important;font-size:12px  !important;font-weight:900  !important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-filters .dsrv-subtab:hover{border-color:color-mix(in srgb,var(--rp-primary) 30%,var(--rp-line) 70%)  !important;background:var(--rp-surface-subtle)  !important;}

.dsrv-panel[data-panel="kunder"] .rp-customer-filters .dsrv-subtab-count{display:inline-grid  !important;place-items:center  !important;min-width:23px  !important;height:21px  !important;padding:0 6px  !important;border-radius:999px  !important;background:#edf2ea  !important;color:#425340  !important;font-size:10.5px  !important;font-weight:950  !important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-filters .dsrv-subtab.is-active .dsrv-subtab-count{background:color-mix(in srgb,var(--rp-primary) 16%,var(--rp-surface) 84%)  !important;color:var(--rp-primary-dark)  !important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-results-head{display:grid  !important;grid-template-columns:minmax(220px,1fr) minmax(120px,auto) auto  !important;gap:12px  !important;align-items:center  !important;min-height:34px  !important;padding:7px 10px  !important;border:1px solid var(--rp-line)  !important;border-radius:12px  !important;background:var(--rp-surface-subtle)  !important;color:#566553  !important;font-size:11.5px  !important;font-weight:800  !important;}
.dsrv-panel[data-panel="kunder"] [data-customer-search-status]{text-align:right  !important;font-weight:900  !important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-results-foot{display:flex  !important;justify-content:flex-end  !important;min-height:1px  !important;padding-top:2px  !important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-pagination{display:flex  !important;align-items:center  !important;justify-content:flex-end  !important;gap:5px  !important;flex-wrap:wrap  !important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-pagination .button{display:inline-flex  !important;align-items:center  !important;justify-content:center  !important;min-width:31px  !important;width:auto  !important;min-height:30px  !important;height:30px  !important;margin:0  !important;padding:0 9px  !important;border-radius:9px  !important;font-size:11.5px  !important;line-height:1  !important;font-weight:900  !important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-pagination .button.is-current{border-color:var(--rpc-green)  !important;background:var(--rpc-green)  !important;color:#fff  !important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-pagination .button:disabled{opacity:.42  !important;cursor:not-allowed  !important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-pagination__pages{display:inline-flex  !important;align-items:center  !important;gap:4px  !important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-pagination__ellipsis{color:#748071  !important;padding:0 2px  !important;font-weight:900  !important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-pagination__label{margin-left:5px  !important;color:#657363  !important;font-size:11px  !important;font-weight:850  !important;white-space:nowrap  !important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-results{min-width:0  !important;transition:opacity .16s ease  !important;}
.dsrv-panel[data-panel="kunder"] .rp-customers-page.is-loading .rp-customer-results{opacity:.5  !important;pointer-events:none  !important;}
.dsrv-panel[data-panel="kunder"] .rp-customers-page.is-loading::after{content:""  !important;position:fixed  !important;right:28px  !important;bottom:28px  !important;width:22px  !important;height:22px  !important;border:3px solid var(--rp-line)  !important;border-top-color:var(--rpc-green)  !important;border-radius:50%  !important;animation:rpCustomerSpin .75s linear infinite  !important;z-index:9999  !important;background:var(--rp-surface)  !important;box-shadow:0 0 0 7px #fff,0 7px 20px rgba(15,23,42,.16)  !important;}
@keyframes rpCustomerSpin{to{transform:rotate(360deg);}}
.dsrv-panel[data-panel="kunder"] .rp-customer-card{display:grid  !important;grid-template-columns:minmax(0,1fr)  !important;gap:0  !important;min-width:0  !important;padding:0  !important;box-shadow:0 10px 28px color-mix(in srgb,var(--rp-primary-dark) 7%,transparent)  !important;content-visibility:auto  !important;contain-intrinsic-size:220px  !important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-card:hover{border-color:color-mix(in srgb,var(--rp-primary) 22%,var(--rp-line) 78%)  !important;box-shadow:0 12px 30px color-mix(in srgb,var(--rp-primary-dark) 7.5%,transparent)  !important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-card.is-search-target{border-color:color-mix(in srgb,var(--rp-primary) 58%,var(--rp-line) 42%)  !important;box-shadow:0 0 0 3px color-mix(in srgb,var(--rp-primary) 12%,transparent),var(--rpc-shadow)  !important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-card__top{align-items:start  !important;min-width:0  !important;background:linear-gradient(90deg,color-mix(in srgb,var(--rp-primary) 5%,var(--rp-surface) 95%) 0,var(--rp-surface-subtle) 54%,#fff 100%)  !important;border-radius:14px 17px 0 0  !important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-card__identity{display:grid  !important;gap:5px  !important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-card__eyebrow{display:flex;align-items:center;gap:6px;font-size:9px;font-weight:950;letter-spacing:.1em;text-transform:uppercase;}
.dsrv-panel[data-panel="kunder"] .rp-customer-card__titleline{min-width:0  !important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-card__titleline h3{letter-spacing:-.012em  !important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-card__contact{min-width:0  !important;font-weight:780  !important;overflow-wrap:anywhere  !important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-card__contact--secondary{color:#71806e  !important;font-size:11.5px  !important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-card__system-meta{padding-top:7px;border-top:1px solid #edf2ea;}
.dsrv-panel[data-panel="kunder"] .rp-customer-card__system-meta>span{font-weight:750;}
.dsrv-panel[data-panel="kunder"] .rp-customer-card__system-meta b{color:#526050;font-weight:850;}
.dsrv-panel[data-panel="kunder"] .rp-customer-card__system-meta strong{color:#24462a;font-weight:950;}

.dsrv-panel[data-panel="kunder"] .rp-customer-card__actions>.button{display:flex  !important;align-items:center  !important;justify-content:center  !important;gap:6px  !important;width:100%  !important;min-width:0  !important;min-height:33px  !important;height:33px  !important;margin:0  !important;padding:0 10px  !important;border-radius:10px  !important;white-space:nowrap  !important;font-size:11.5px  !important;line-height:1  !important;font-weight:900  !important;box-sizing:border-box  !important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-card__metrics{min-width:0  !important;margin:0 15px  !important;border-top:1px solid #edf2eb  !important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-card__metrics>div{display:grid  !important;grid-template-rows:auto auto 1fr  !important;gap:2px  !important;min-width:0  !important;border:0  !important;border-left:1px solid #e4ebe1  !important;border-radius:0  !important;background:transparent  !important;box-shadow:none  !important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-card__metrics>div:first-child{border-left:0  !important;padding-left:0  !important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-card__metrics>div>span{color:#71806e  !important;font-size:9.5px  !important;line-height:1.2  !important;letter-spacing:.055em  !important;text-transform:uppercase  !important;font-weight:950  !important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-card__metrics>div>strong{min-width:0  !important;color:var(--rpc-ink)  !important;font-size:13.5px  !important;line-height:1.22  !important;font-weight:950  !important;white-space:nowrap  !important;overflow:hidden  !important;text-overflow:ellipsis  !important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-card__metrics>div>small{min-width:0  !important;color:#667565  !important;font-size:10.8px  !important;line-height:1.3  !important;font-weight:750  !important;overflow-wrap:anywhere  !important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-cases-panel{display:block  !important;grid-column:1/-1  !important;min-width:0  !important;margin:0  !important;border:0  !important;border-radius:0  !important;overflow:visible  !important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-cases-panel>summary{display:flex  !important;align-items:center  !important;justify-content:space-between  !important;gap:12px  !important;min-height:50px  !important;margin:0  !important;border-radius:0  !important;background:linear-gradient(90deg,#eaf5e4,var(--rp-surface-subtle) 58%,#fff)  !important;color:var(--rpc-ink)  !important;list-style:none  !important;cursor:pointer  !important;box-sizing:border-box  !important;border-top:1px solid #d7e5d1  !important;border-bottom:1px solid var(--rp-line)  !important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-cases-panel>summary::-webkit-details-marker{display:none  !important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-cases-panel>summary::after{content:none  !important;display:none  !important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-cases-panel>summary>span:first-child{display:grid  !important;gap:1px  !important;min-width:0  !important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-cases-panel>summary strong{color:#17361d  !important;font-size:13px  !important;line-height:1.25  !important;font-weight:950  !important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-cases-panel__eyebrow{display:block;margin:0 0 2px;color:#4d7a43;font-size:8.5px;font-style:normal;font-weight:950;letter-spacing:.1em;text-transform:uppercase;}
.dsrv-panel[data-panel="kunder"] .rp-customer-cases-panel>summary small{color:#71806e  !important;font-size:10.8px  !important;line-height:1.3  !important;font-weight:750  !important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-cases-panel__toggle{justify-content:center  !important;flex:0 0 auto  !important;min-width:78px  !important;border:1px solid color-mix(in srgb,var(--rp-primary) 20%,var(--rp-line) 80%)  !important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-cases-panel[open]>summary{margin:0  !important;border-bottom:1px solid color-mix(in srgb,var(--rp-primary) 20%,var(--rp-line) 80%)  !important;border-radius:0  !important;background:linear-gradient(90deg,color-mix(in srgb,var(--rp-primary) 10%,var(--rp-surface) 90%),var(--rp-surface-subtle) 62%,#fff)  !important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-cases-panel:not([open])>.rp-customer-cases-panel__body{display:none  !important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-cases-panel[open]>.rp-customer-cases-panel__body{display:block  !important;padding:14px 15px 16px  !important;background:var(--rp-surface-subtle)  !important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-cases-panel.is-loading>summary{opacity:.7  !important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-lazy-placeholder,.dsrv-panel[data-panel="kunder"] .rp-customer-empty{display:flex  !important;align-items:center  !important;justify-content:center  !important;gap:8px  !important;min-height:48px  !important;padding:10px  !important;border:1px dashed #d8e4d3  !important;border-radius:10px  !important;background:var(--rp-surface-subtle)  !important;color:#647260  !important;text-align:center  !important;font-size:11.5px  !important;line-height:1.4  !important;font-weight:750  !important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-lazy-placeholder .spinner{float:none  !important;margin:0  !important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-case-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 13px;padding:0 0 10px;border:0;border-bottom:1px solid #e4ebe1;border-radius:0;background:transparent;}
.dsrv-panel[data-panel="kunder"] .rp-customer-case-toolbar>div:first-child{display:grid;gap:2px;}
.dsrv-panel[data-panel="kunder"] .rp-customer-case-toolbar strong{color:#263d29;font-size:11.5px;}
.dsrv-panel[data-panel="kunder"] .rp-customer-case-toolbar span{color:#6d796f;font-size:10px;}
.dsrv-panel[data-panel="kunder"] .rp-customer-case-toolbar>div:last-child{display:flex;gap:7px;flex-wrap:wrap;}
.dsrv-panel[data-panel="kunder"] .rp-customer-address-groups{display:grid;gap:16px;min-width:0;}
.dsrv-panel[data-panel="kunder"] .rp-customer-address-group{min-width:0;border:0;background:transparent;overflow:visible;box-shadow:none;}
.dsrv-panel[data-panel="kunder"] .rp-customer-address-group__head{display:flex;align-items:end;justify-content:space-between;gap:12px;padding:0 0 9px;border-bottom:2px solid color-mix(in srgb,var(--rp-primary) 25%,var(--rp-line) 75%);background:transparent;}
.dsrv-panel[data-panel="kunder"] .rp-customer-address-group.has-conflict .rp-customer-address-group__head{border-bottom-color:#db8585;}
.dsrv-panel[data-panel="kunder"] .rp-customer-address-group__head>div{display:grid;gap:2px;}
.dsrv-panel[data-panel="kunder"] .rp-customer-address-group__head>div>span{color:#748071;font-size:9px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;}
.dsrv-panel[data-panel="kunder"] .rp-customer-address-group__head>div>strong{color:#17361d;font-size:14px;font-weight:950;}
.dsrv-panel[data-panel="kunder"] .rp-customer-flow-list{display:grid;gap:0;padding-top:0;}
.dsrv-panel[data-panel="kunder"] .rp-customer-flow-box{min-width:0;border:0;border-radius:0;background:transparent;overflow:visible;box-shadow:none;}
.dsrv-panel[data-panel="kunder"] .rp-customer-flow-box.has-conflict{padding:0;border:0;border-radius:0;background:transparent;}
.dsrv-panel[data-panel="kunder"] .rp-customer-flow-box.is-highlighted{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;}
.dsrv-panel[data-panel="kunder"] .rp-customer-flow-box__head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0 8px;border:0;border-bottom:1px dashed #d7e2d4;background:transparent;border-radius:0;box-shadow:none;}
.dsrv-panel[data-panel="kunder"] .rp-customer-flow-box__head>div:first-child{display:grid;gap:2px;}
.dsrv-panel[data-panel="kunder"] .rp-customer-flow-box__head>div:first-child>strong{color:#214225;font-size:12px;}
.dsrv-panel[data-panel="kunder"] .rp-customer-flow-box__head>div:first-child>small{color:#6b786c;font-size:9.5px;}
.dsrv-panel[data-panel="kunder"] .rp-customer-flow-box__head>div:last-child{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end;}
.dsrv-panel[data-panel="kunder"] .rp-customer-flow-box>.rp-customer-case-list{display:grid;gap:0;padding:0;}
.dsrv-panel[data-panel="kunder"] .rp-customer-flow-box.is-single>.rp-customer-case-list{padding:0;}
.dsrv-panel[data-panel="kunder"] .rp-customer-case-row{display:block;min-width:0;border-top:1px solid var(--rp-line);border-left:4px solid #a6c999;box-shadow:none;}
.dsrv-panel[data-panel="kunder"] .rp-customer-case-row:last-child{border-bottom:0;border-radius:0;}
.dsrv-panel[data-panel="kunder"] .rp-customer-flow-box.is-single .rp-customer-case-row:first-child{border-top:1px solid var(--rp-line);border-radius:0;}
.dsrv-panel[data-panel="kunder"] .rp-customer-case-row.is-highlighted{border-color:var(--rp-line);box-shadow:inset 3px 0 #63a14f;}
.dsrv-panel[data-panel="kunder"] .rp-customer-case-row>summary{display:grid;grid-template-columns:minmax(230px,1.1fr) minmax(230px,.9fr) minmax(180px,auto);gap:14px;align-items:center;min-width:0;margin:0;padding:12px 11px;background:var(--rp-surface);list-style:none;cursor:pointer;border-radius:0;transition:background .15s ease;}
.dsrv-panel[data-panel="kunder"] .rp-customer-case-row>summary:hover{background:#f6faf3;}
.dsrv-panel[data-panel="kunder"] .rp-customer-case-row>summary::-webkit-details-marker{display:none;}
.dsrv-panel[data-panel="kunder"] .rp-customer-case-row[open]>summary{background:#edf6e9;border-bottom:1px solid #d6e5d1;border-radius:0;padding-left:11px;padding-right:11px;}
.dsrv-panel[data-panel="kunder"] .rp-customer-case-row__identity{display:grid;grid-template-columns:auto minmax(0,1fr);gap:1px 8px;align-items:center;min-width:0;}
.dsrv-panel[data-panel="kunder"] .rp-customer-case-row__id{grid-row:1/3;display:inline-flex;align-items:center;justify-content:center;min-width:64px;min-height:31px;padding:3px 7px;border:1px solid #8fbd7f;border-radius:8px;background:#e5f2df;color:#20591b;font-size:10.5px;font-weight:950;white-space:nowrap;}
.dsrv-panel[data-panel="kunder"] .rp-customer-case-row__identity>strong{min-width:0;color:#142e19;font-size:13.2px;font-weight:950;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.dsrv-panel[data-panel="kunder"] .rp-customer-case-row__identity>small{min-width:0;color:#506251;font-size:10.4px;font-weight:760;overflow-wrap:anywhere;}
.dsrv-panel[data-panel="kunder"] .rp-customer-case-row__people{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 10px;padding:0;background:transparent;}
.dsrv-panel[data-panel="kunder"] .rp-customer-case-row__people>span{display:grid;gap:2px;padding-left:8px;border-left:3px solid #bfd7b6;color:#5f705f;font-size:9.2px;font-weight:900;}
.dsrv-panel[data-panel="kunder"] .rp-customer-case-row__people strong{color:#1c3822;font-size:10.8px;font-weight:950;overflow-wrap:anywhere;}
.dsrv-panel[data-panel="kunder"] .rp-customer-case-row__status{display:flex;align-items:center;justify-content:flex-end;gap:5px;flex-wrap:wrap;}
.dsrv-panel[data-panel="kunder"] .rp-customer-card__titleline .pill,.dsrv-panel[data-panel="kunder"] .rp-customer-case-row__status .pill,.dsrv-panel[data-panel="kunder"] .rp-customer-report-row__pills .pill{display:inline-flex  !important;align-items:center  !important;justify-content:center  !important;width:auto  !important;min-width:0  !important;max-width:100%  !important;min-height:22px  !important;padding:3px 8px  !important;line-height:1.15  !important;white-space:normal  !important;text-align:center  !important;font-size:10.5px  !important;font-weight:950  !important;border-radius:999px;}
.dsrv-panel[data-panel="kunder"] .rp-customer-flow-box__head .pill{display:inline-flex;align-items:center;justify-content:center;width:auto;min-height:21px;padding:3px 7px;border-radius:999px;font-size:9.5px;font-weight:950;line-height:1.15;white-space:normal;text-align:center;}
.dsrv-panel[data-panel="kunder"] .pill-danger,.dsrv-panel[data-panel="kunder"] .pill-red{background:var(--rp-danger-soft)!important;border-color:#edcaca!important;color:#8a3131!important;text-shadow:none!important;}
.dsrv-panel[data-panel="kunder"] .pill-danger *,.dsrv-panel[data-panel="kunder"] .pill-red *{color:inherit!important;}
.dsrv-panel[data-panel="kunder"] .pill-success,.dsrv-panel[data-panel="kunder"] .pill-green{background:color-mix(in srgb,var(--rp-primary) 10%,var(--rp-surface) 90%)!important;border-color:#cce2c7!important;color:var(--rp-primary-dark)!important;text-shadow:none!important;}
.dsrv-panel[data-panel="kunder"] .pill-warning,.dsrv-panel[data-panel="kunder"] .pill-yellow,.dsrv-panel[data-panel="kunder"] .pill-orange{background:#fff5df!important;border-color:#ecd7a3!important;color:#805707!important;text-shadow:none!important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-case-row__body{display:grid;gap:13px;min-width:0;padding:13px 12px 15px;background:var(--rp-surface);border-radius:0;}
.dsrv-panel[data-panel="kunder"] .rp-customer-case-warning{padding:9px 10px;border:1px solid #e6a0a0;border-radius:8px;background:#fff3f3;color:#7e1e1e;font-size:10.5px;font-weight:750;}
.dsrv-panel[data-panel="kunder"] .rp-customer-case-flow{border:0;border-bottom:1px solid var(--rp-line);background:transparent;}
.dsrv-panel[data-panel="kunder"] .rp-customer-case-flow__label{color:#356c32;font-size:9px;font-weight:950;letter-spacing:.07em;text-transform:uppercase;}

.dsrv-panel[data-panel="kunder"] .rp-customer-case-result-summary{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:0;padding:9px 0;border:0;border-bottom:1px solid var(--rp-line);background:transparent;}
.dsrv-panel[data-panel="kunder"] .rp-customer-case-result-summary>span{display:grid;gap:2px;padding:3px 10px;border-left:1px solid #dfe7dc;color:#6c796d;font-size:8.3px;font-weight:900;text-transform:uppercase;}
.dsrv-panel[data-panel="kunder"] .rp-customer-case-result-summary>span:first-child{border-left:0;}
.dsrv-panel[data-panel="kunder"] .rp-customer-case-result-summary>span strong{color:#263c25;font-size:10px;text-transform:none;overflow-wrap:anywhere;}
.dsrv-panel[data-panel="kunder"] .rp-customer-case-result-summary__warning{grid-column:1/-1;margin-top:8px;padding:8px 10px;border-radius:8px;background:var(--rp-danger-soft);color:#8f1d1d;font-size:10px;font-weight:850;}
.dsrv-panel[data-panel="kunder"] .rp-customer-case-result-summary.has-conflict{background:#fffafa;}
.dsrv-panel[data-panel="kunder"] .rp-customer-case-row__actions{display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap;margin:0;padding:0;position:relative;overflow:visible;}
.dsrv-panel[data-panel="kunder"] .rp-customer-case-row__primary-actions{display:flex;gap:7px;flex-wrap:wrap;}
.dsrv-panel[data-panel="kunder"] .rp-customer-case-row__actions .button,.dsrv-panel[data-panel="kunder"] .rp-customer-case-row__actions a.button{display:inline-flex;align-items:center;justify-content:center;width:auto;min-height:32px;height:32px;margin:0;padding:0 10px;border-radius:8px;font-size:10.2px;font-weight:900;white-space:nowrap;}
.dsrv-panel[data-panel="kunder"] .rp-customer-case-row__latest-report{border-color:#2f7050;color:#24583f;background:var(--rp-surface);}
.dsrv-panel[data-panel="kunder"] .rp-customer-case-row__latest-report[disabled]{border-color:#d7ddd9;color:#8a948f;background:#f7f8f7;}
.dsrv-panel[data-panel="kunder"] .rp-customer-case-more{position:relative;margin:0;}
.dsrv-panel[data-panel="kunder"] .rp-customer-case-more>summary{list-style:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:76px;min-height:32px;padding:0 10px;border-radius:8px;cursor:pointer;font-size:10.2px;font-weight:900;}
.dsrv-panel[data-panel="kunder"] .rp-customer-case-more>summary::-webkit-details-marker{display:none;}
.rp-customer-case-more__menu.is-portal{position:fixed;z-index:100150;display:grid;gap:5px;padding:8px;border:1px solid #d7dfda;border-radius:11px;background:var(--rp-surface);box-shadow:0 18px 42px rgba(23,45,34,.22);overflow-y:auto;overscroll-behavior:contain;box-sizing:border-box;}
.rp-customer-case-more__menu.is-portal>.button{display:flex;align-items:center;width:100%;min-height:37px;margin:0;padding:0 11px;border-radius:8px;text-align:left;font-size:10.5px;font-weight:850;}
.rp-customer-case-more__menu.is-portal>.button .rp-icon,.rp-customer-case-more__menu.is-portal>.button svg{flex:0 0 auto;margin:0!important;}
.rp-customer-case-more__menu.is-portal>.button>span{min-width:0;}
.rp-customer-case-more__menu.is-portal .rp-customer-case-more__danger{margin-top:3px;padding-top:7px;border-top:1px solid #ecefed;}
.rp-customer-case-more__menu.is-portal .rp-customer-case-more__danger>.button{width:100%;color:#8d2020;border-color:#e5bcbc;background:#fff8f8;text-align:left;}
.dsrv-panel[data-panel="kunder"] .rp-customer-report-list{display:block;margin:0;border:0;border-top:1px solid var(--rp-line);border-radius:0;background:var(--rp-surface);overflow:visible;}
.dsrv-panel[data-panel="kunder"] .rp-customer-report-list__head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 1px;color:#435241;font-size:10.5px;font-weight:950;list-style:none;cursor:pointer;background:transparent;}
.dsrv-panel[data-panel="kunder"] .rp-customer-report-list__head::-webkit-details-marker{display:none;}
.dsrv-panel[data-panel="kunder"] .rp-customer-report-list__head:after{content:"Fold ud";color:#6d7b69;font-size:8.8px;font-weight:900;text-transform:uppercase;}
.dsrv-panel[data-panel="kunder"] .rp-customer-report-list[open]>.rp-customer-report-list__head:after{content:"Fold ind";}
.dsrv-panel[data-panel="kunder"] .rp-customer-report-list__head>span{display:grid;place-items:center;width:20px;height:20px;border-radius:999px;background:#eaf3e5;color:#315d2d;}
.dsrv-panel[data-panel="kunder"] .rp-customer-report-list__body{display:grid;gap:6px;padding:0 0 2px;}
@media (max-width:1100px){.dsrv-panel[data-panel="kunder"] .rp-customer-card__top{grid-template-columns:1fr  !important;}.dsrv-panel[data-panel="kunder"] .rp-customer-card__actions{grid-template-columns:repeat(4,minmax(0,1fr))  !important;}.dsrv-panel[data-panel="kunder"] .rp-customer-card__metrics{grid-template-columns:repeat(2,minmax(0,1fr))  !important;}.dsrv-panel[data-panel="kunder"] .rp-customer-card__metrics>div:nth-child(odd){border-left:0  !important;padding-left:0  !important;}.dsrv-panel[data-panel="kunder"] .rp-customer-card__metrics>div:nth-child(n/**/+3){margin-top:8px;padding-top:8px;border-top:1px solid #e8eee6  !important;}}
@media (max-width:720px){.dsrv-panel[data-panel="kunder"] .rp-customer-card__actions{grid-template-columns:repeat(2,minmax(0,1fr))  !important;}.dsrv-panel[data-panel="kunder"] .rp-customer-card__metrics{grid-template-columns:1fr  !important;}.dsrv-panel[data-panel="kunder"] .rp-customer-card__metrics>div{padding:7px 0  !important;border-left:0  !important;border-top:1px solid #e8eee6  !important;}.dsrv-panel[data-panel="kunder"] .rp-customer-card__metrics>div:first-child{border-top:0  !important;}.dsrv-panel[data-panel="kunder"] .rp-customer-card__metrics>div:nth-child(n/**/+3){margin-top:0;}}
@media (max-width:1050px){.dsrv-panel[data-panel="kunder"] .rp-customer-case-row>summary{grid-template-columns:minmax(210px,1fr) minmax(240px,1fr);}.dsrv-panel[data-panel="kunder"] .rp-customer-case-row__status{grid-column:1/-1;justify-content:flex-start;}.dsrv-panel[data-panel="kunder"] .rp-customer-case-result-summary{grid-template-columns:repeat(2,minmax(130px,1fr));}.dsrv-panel[data-panel="kunder"] .rp-customer-case-result-summary>span:nth-child(3){border-left:0;}}
@media (max-width:720px){.dsrv-panel[data-panel="kunder"] .rp-customer-case-toolbar,.dsrv-panel[data-panel="kunder"] .rp-customer-flow-box__head,.dsrv-panel[data-panel="kunder"] .rp-customer-case-row__actions{align-items:stretch;flex-direction:column;}.dsrv-panel[data-panel="kunder"] .rp-customer-case-row>summary{grid-template-columns:1fr;}.dsrv-panel[data-panel="kunder"] .rp-customer-case-row__status{grid-column:auto;justify-content:flex-start;}.dsrv-panel[data-panel="kunder"] .rp-customer-case-row__people{grid-template-columns:1fr;}.dsrv-panel[data-panel="kunder"] .rp-customer-case-result-summary{grid-template-columns:1fr;}.dsrv-panel[data-panel="kunder"] .rp-customer-case-result-summary>span{border-left:0;border-top:1px solid var(--rp-line);}.dsrv-panel[data-panel="kunder"] .rp-customer-case-result-summary>span:first-child{border-top:0;}.dsrv-panel[data-panel="kunder"] .rp-customer-case-row__primary-actions,.dsrv-panel[data-panel="kunder"] .rp-customer-case-row__primary-actions>.button,.dsrv-panel[data-panel="kunder"] .rp-customer-case-more,.dsrv-panel[data-panel="kunder"] .rp-customer-case-more>summary{width:100%;}.dsrv-panel[data-panel="kunder"] .rp-customer-case-row__actions .button,.dsrv-panel[data-panel="kunder"] .rp-customer-case-row__actions a.button{width:100%;}}
.rp-customer-comms{display:grid;gap:18px;min-width:0;}
.rp-customer-comms__preview-head,.rp-customer-comms__history{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:20px;border:1px solid #d6e4d2;border-radius:18px;background:var(--rp-surface);}
.rp-customer-comms__preview-head>div,.rp-customer-comms__history>div{display:grid;gap:5px;min-width:0;}
.rp-customer-comms__preview-head span,.rp-customer-comms__history span{color:#2d7627;font-size:10.5px;font-weight:900;letter-spacing:.09em;text-transform:uppercase;}
.rp-customer-comms__preview-head h2,.rp-customer-comms__history h2{margin:0;color:#1d3825;line-height:1.18;}
.rp-customer-comms__preview-head p,.rp-customer-comms__history p{margin:0;max-width:760px;color:var(--rp-muted);line-height:1.55;}
.rp-customer-comms__notice{display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:8px 14px;margin:0 0 14px;padding:10px 0 12px;border:0;border-bottom:1px solid var(--rp-line);background:transparent;color:#29592c;}
.rp-customer-comms__notice span{color:#2d7627;font-size:10px;font-weight:900;letter-spacing:.09em;text-transform:uppercase;}
.rp-customer-comms__notice strong{font-size:12.5px;}
.rp-customer-comms__notice p{grid-column:3;margin:0;color:var(--rp-muted);font-size:11.5px;line-height:1.5;}
.rp-customer-comms__form{display:grid;gap:14px;margin:0;}
.rp-customer-comms__editor{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
.rp-customer-comms__card{display:grid;align-content:start;gap:13px;min-width:0;padding:18px;border:1px solid #d9e5d6;border-radius:17px;background:var(--rp-surface);}
.rp-customer-comms__card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid #e8eee6;}
.rp-customer-comms__card-head>div{display:grid;gap:3px;min-width:0;}
.rp-customer-comms__card-head span{color:#2d7627;font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;}
.rp-customer-comms__card-head h2{margin:0;color:#203d27;font-size:19px;}
.rp-customer-comms__card-head p{margin:0;color:#6b776e;font-size:11.5px;line-height:1.5;}
.rp-customer-comms__card-head b{flex:0 0 auto;padding:5px 8px;border-radius:999px;background:#edf6e9;color:#2e692d;font-size:10px;white-space:nowrap;}
.rp-customer-comms__card>label,.rp-customer-comms__two>label{display:grid;gap:6px;margin:0;color:#304b36;font-size:11px;font-weight:850;line-height:1.35;}
.rp-customer-comms__card input[type="text"]{width:100%;max-width:none;min-height:42px;margin:0;border:1px solid #cddcc9;border-radius:10px;background:var(--rp-surface);color:#213828;box-sizing:border-box;}
.rp-customer-comms__card textarea{width:100%;max-width:none;margin:0;border:1px solid #cddcc9;border-radius:10px;background:var(--rp-surface);color:#213828;box-sizing:border-box;min-height:88px;resize:vertical;}
.rp-customer-comms__card small{color:#728078;font-size:10.5px;font-weight:500;line-height:1.45;}
.rp-customer-comms__two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;}
.rp-customer-comms__actions{display:grid;grid-template-columns:auto 1fr auto auto;gap:9px;align-items:center;padding:13px 15px;border:1px solid #d9e5d6;border-radius:14px;background:var(--rp-surface-subtle);}
.rp-customer-comms__actions .button{margin:0;}
.rp-customer-comms__previews{display:grid;gap:12px;}
.rp-customer-comms__preview-head strong{flex:0 0 auto;padding:7px 10px;border-radius:999px;background:#fff2cf;color:#7b5700;font-size:10px;letter-spacing:.04em;}
.rp-customer-comms__previews details{overflow:visible;border:1px solid #d8e4d5;border-radius:15px;background:var(--rp-surface);}
.rp-customer-comms__previews summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;cursor:pointer;color:#25492b;font-weight:900;list-style:none;}
.rp-customer-comms__previews summary::-webkit-details-marker{display:none;}
.rp-customer-comms__previews summary::after{content:"Fold ud ▾";color:var(--rp-muted);font-size:10.5px;}
.rp-customer-comms__previews details[open] summary{border-bottom:1px solid #e3ebe1;}
.rp-customer-comms__previews details[open] summary::after{content:"Fold ind ▴";}
.rp-customer-comms__previews iframe{display:block;width:100%;height:760px;border:0;border-radius:0 0 14px 14px;background:#eef3ef;}
.rp-customer-comms__history form{display:flex;align-items:center;gap:8px;flex:0 0 min(430px,45%);}
.rp-customer-comms__history select{min-width:0;flex:1;max-width:none;}
.rp-customer-comms__history .button{flex:0 0 auto;margin:0;}
@media (max-width:980px){.rp-customer-comms__editor{grid-template-columns:1fr;}.rp-customer-comms__preview-head,.rp-customer-comms__history{display:grid;}.rp-customer-comms__history form{width:100%;max-width:none;box-sizing:border-box;}.rp-customer-comms__notice{grid-template-columns:1fr;}.rp-customer-comms__notice p{grid-column:1;}.rp-customer-comms__actions{grid-template-columns:1fr 1fr;}.rp-customer-comms__actions>span{display:none;}.rp-customer-comms__actions .button{width:100%;}}
@media (max-width:640px){.rp-customer-comms__two,.rp-customer-comms__actions{grid-template-columns:1fr;}.rp-customer-comms__card,.rp-customer-comms__preview-head,.rp-customer-comms__history{padding:15px;}.rp-customer-comms__card-head{display:grid;}.rp-customer-comms__previews iframe{height:650px;}.rp-customer-comms__history form{display:grid;}.rp-customer-comms__history select,.rp-customer-comms__history .button{width:100%;}}
.dsrv-timebank-ledger__buttons{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;}
.dsrv-timebank-history__row.is-settled{background:#f7f8f7;color:#6d776f;}
.dsrv-timebank-history__row.is-settled>div:first-child strong{text-decoration:line-through;text-decoration-thickness:1px;}
.dsrv-timebank-history__row>div:first-child>em{display:inline-flex;width:max-content;max-width:100%;padding:3px 7px;border-radius:999px;background:#edf4ea;color:#526351;font-size:9px;font-style:normal;font-weight:900;text-transform:uppercase;letter-spacing:.04em;}
.rp-customer-comms__previews details[data-preview-kind="report-document"] iframe{height:1000px;background:var(--rp-surface);}
@media (max-width:760px){.dsrv-timebank-ledger__buttons{display:grid;grid-template-columns:1fr 1fr;width:100%;}.dsrv-timebank-ledger__buttons .button{width:100%;}}
.rp-customers-page .rp-customer-activity-filter{margin:18px 0 14px;padding:16px;border:1px solid #d7e5dc;border-radius:16px;background:#f7fbf8;box-shadow:0 8px 22px rgba(20,78,49,.05);}
.rp-customers-page .rp-customer-activity-filter.is-active{border-color:#8fc5a4;background:#f2faf5;}
.rp-customers-page .rp-customer-activity-filter__head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px;}
.rp-customers-page .rp-customer-activity-filter__head>div{display:grid;gap:3px;}
.rp-customers-page .rp-customer-activity-filter__head strong{color:#183c28;font-size:15px;}
.rp-customers-page .rp-customer-activity-filter__head span:not(.pill){color:#607267;font-size:12px;line-height:1.45;}
.rp-customers-page .rp-customer-activity-filter__fields{display:grid;grid-template-columns:minmax(250px,1.5fr) minmax(170px,.8fr) minmax(170px,.8fr) auto;align-items:end;gap:12px;}
.rp-customers-page .rp-customer-activity-filter__field{display:grid;gap:6px;min-width:0;}
.rp-customers-page .rp-customer-activity-filter__field>span{color:#324c3b;font-size:12px;font-weight:700;}
.rp-customers-page .rp-customer-activity-filter__field select,.rp-customers-page .rp-customer-activity-filter__field input{width:100%;min-height:40px;margin:0;border-color:#b9cec0;border-radius:10px;background:var(--rp-surface);}
.rp-customers-page .rp-customer-activity-filter__range{display:grid;grid-template-columns:repeat(2,minmax(135px,1fr));gap:10px;grid-column:span 2;}
.rp-customers-page .rp-customer-activity-filter__range[hidden],.rp-customers-page [data-customer-activity-wrap="month"][hidden]{display:none  !important;}
.rp-customers-page .rp-customer-activity-filter__actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-height:40px;}
.rp-customers-page .rp-customer-activity-filter__actions .button{min-height:40px;white-space:nowrap;}
.rp-customers-page .rp-customer-activity-filter__error{color:#a42626;font-size:11px;font-weight:800;line-height:1.35;}
.rp-customers-page .rp-customer-activity-filter__error[hidden]{display:none  !important;}
.rp-customers-page .rp-customer-activity-match{display:flex;align-items:center;gap:10px;margin:0 18px 14px;padding:10px 12px;border:1px solid #cde2d4;border-radius:12px;background:#f3faf5;color:#244b32;}
.rp-customers-page .rp-customer-activity-match span{font-size:12px;font-weight:700;}
.rp-customers-page .rp-customer-activity-match strong{margin-left:auto;font-size:13px;}
.rp-customers-page .rp-customer-activity-match small{color:#617269;font-size:12px;}
@media (max-width:1180px){
  .rp-customers-page .rp-customer-activity-filter__fields{grid-template-columns:repeat(2,minmax(0,1fr));}
  .rp-customers-page .rp-customer-activity-filter__actions{justify-content:flex-start;}
}
@media (max-width:720px){
  .rp-customers-page .rp-customer-activity-filter__head,.rp-customers-page .rp-customer-activity-match{align-items:flex-start;flex-direction:column;}
  .rp-customers-page .rp-customer-activity-filter__fields,.rp-customers-page .rp-customer-activity-filter__range{grid-template-columns:1fr;}
  .rp-customers-page .rp-customer-activity-filter__range{grid-column:auto;}
  .rp-customers-page .rp-customer-activity-filter__actions{flex-wrap:wrap;}
  .rp-customers-page .rp-customer-activity-match strong{margin-left:0;}
}
:is(.dsrv-form,.rp-case-workspace,.dsrv-invoice-group__add) .dsrv-pest-search{position:relative;width:100%;min-width:0;text-transform:none;letter-spacing:normal;font-weight:400;}
:is(.dsrv-form,.rp-case-workspace,.dsrv-invoice-group__add) .dsrv-pest-search__control{position:relative;display:flex;align-items:center;width:100%;}
:is(.dsrv-form,.rp-case-workspace,.dsrv-invoice-group__add) .dsrv-pest-search__input{width:100%;min-height:40px  !important;margin:0  !important;padding:8px 42px 8px 12px  !important;border:1px solid #d4e1d8  !important;border-radius:10px  !important;background:var(--rp-surface)  !important;color:#172b20  !important;font-size:13px  !important;font-weight:600  !important;line-height:1.35  !important;text-transform:none  !important;letter-spacing:0  !important;box-shadow:none  !important;}
:is(.dsrv-form,.rp-case-workspace,.dsrv-invoice-group__add) .dsrv-pest-search__input:focus{border-color:#6fa744  !important;box-shadow:0 0 0 3px rgba(111,167,68,.15)  !important;outline:0  !important;}
:is(.dsrv-form,.rp-case-workspace,.dsrv-invoice-group__add) .dsrv-pest-search.is-disabled .dsrv-pest-search__input,:is(.dsrv-form,.rp-case-workspace,.dsrv-invoice-group__add) .dsrv-pest-search.is-disabled .dsrv-pest-search__toggle{cursor:not-allowed;opacity:.62;}
:is(.dsrv-form,.rp-case-workspace,.dsrv-invoice-group__add) .dsrv-pest-search__toggle{position:absolute;top:50%;right:5px;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;transform:translateY(-50%);border:0;border-radius:8px;background:transparent;color:#3d644a;cursor:pointer;}
:is(.dsrv-form,.rp-case-workspace,.dsrv-invoice-group__add) .dsrv-pest-search__toggle:hover,:is(.dsrv-form,.rp-case-workspace,.dsrv-invoice-group__add) .dsrv-pest-search__toggle:focus-visible{background:color-mix(in srgb,var(--rp-primary) 9%,var(--rp-surface) 91%);}
:is(.dsrv-form,.rp-case-workspace,.dsrv-invoice-group__add) .dsrv-pest-search__toggle span{display:block;font-size:19px;line-height:1;transition:transform .16s ease;}
:is(.dsrv-form,.rp-case-workspace,.dsrv-invoice-group__add) .dsrv-pest-search.is-open .dsrv-pest-search__toggle span{transform:rotate(180deg);}
:is(.dsrv-form,.rp-case-workspace,.dsrv-invoice-group__add) .dsrv-pest-search__list{position:fixed;z-index:10040;box-sizing:border-box;max-height:min(390px, 52vh);overflow:auto;padding:7px;border:1px solid #cbdccf;border-radius:12px;background:var(--rp-surface);box-shadow:0 18px 44px rgba(25,58,35,.18);}
:is(.dsrv-form,.rp-case-workspace,.dsrv-invoice-group__add) .dsrv-pest-search__list[hidden]{display:none  !important;}
:is(.dsrv-form,.rp-case-workspace,.dsrv-invoice-group__add) .dsrv-pest-search__group{position:sticky;top:-7px;z-index:1;margin:0 0 4px;padding:8px 10px 5px;background:var(--rp-surface);color:#577063;font-size:10px;font-weight:800;line-height:1.2;letter-spacing:.06em;text-transform:uppercase;}
:is(.dsrv-form,.rp-case-workspace,.dsrv-invoice-group__add) .dsrv-pest-search__group:not(:first-child){margin-top:7px;border-top:1px solid #edf2ee;}
:is(.dsrv-form,.rp-case-workspace,.dsrv-invoice-group__add) .dsrv-pest-search__option{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;min-height:44px;margin:0;padding:8px 10px;border:0;border-radius:9px;background:var(--rp-surface);color:#173522;text-align:left;cursor:pointer;}
:is(.dsrv-form,.rp-case-workspace,.dsrv-invoice-group__add) .dsrv-pest-search__option:hover,:is(.dsrv-form,.rp-case-workspace,.dsrv-invoice-group__add) .dsrv-pest-search__option.is-active,:is(.dsrv-form,.rp-case-workspace,.dsrv-invoice-group__add) .dsrv-pest-search__option.is-selected{background:color-mix(in srgb,var(--rp-primary) 9%,var(--rp-surface) 91%);}
:is(.dsrv-form,.rp-case-workspace,.dsrv-invoice-group__add) .dsrv-pest-search__option-title{min-width:0;font-size:13px;font-weight:750;line-height:1.4;white-space:normal;overflow-wrap:anywhere;}
:is(.dsrv-form,.rp-case-workspace,.dsrv-invoice-group__add) .dsrv-pest-search__option-category{color:#6a7d70;font-size:10.5px;font-weight:700;line-height:1.25;white-space:nowrap;}
:is(.dsrv-form,.rp-case-workspace,.dsrv-invoice-group__add) .dsrv-pest-search__empty{padding:16px 12px;color:#6b7b70;font-size:12px;line-height:1.45;text-align:center;}
:is(.dsrv-form,.rp-case-workspace,.dsrv-invoice-group__add) select.dsrv-pest-search__native{display:none  !important;}
:is(.dsrv-form,.rp-case-workspace,.dsrv-invoice-group__add) .has-searchable-pest-select>.dsrv-select-caret{display:none  !important;}
@media (max-width:680px){
  :is(.dsrv-form,.rp-case-workspace,.dsrv-invoice-group__add) .dsrv-pest-search__option{min-height:46px;}
}
.dsrv-route-extra-lines{margin:7px 0 2px;max-width:760px;}
.dsrv-route-extra-lines>summary{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border:1px solid #c9ddc4;border-radius:999px;background:#f4faf1;color:#28562e;font-size:11px;font-weight:850;cursor:pointer;list-style:none;}
.dsrv-route-extra-lines>summary::-webkit-details-marker{display:none;}
.dsrv-route-extra-lines>summary::after{content:"▾";font-size:9px;}
.dsrv-route-extra-lines[open]>summary::after{content:"▴";}
.dsrv-route-extra-lines__body{display:grid;gap:5px;margin-top:7px;padding:9px 11px;border-left:3px solid #83b773;border-radius:0 10px 10px 0;background:var(--rp-surface-subtle);}
.dsrv-route-extra-line{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 14px;align-items:center;}
.dsrv-route-extra-line strong{color:#173d1e;font-size:11px;font-weight:900;}
.dsrv-route-extra-line span{color:#667568;font-size:10px;font-weight:750;text-align:right;}
@media (max-width:700px){.dsrv-route-extra-line{grid-template-columns:1fr;}.dsrv-route-extra-line span{text-align:left;}}
.dsrv-task-title-row{display:flex;align-items:center;gap:10px;min-width:0;}
.dsrv-route-pest-avatar{position:relative;display:inline-grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:50%;background:#eff7eb;border:1px solid #c6ddbf;color:#285b2f;font-size:16px;font-weight:900;overflow:visible;}
.dsrv-route-pest-avatar img{display:block;width:100%;height:100%;padding:3px;box-sizing:border-box;border-radius:inherit;object-fit:contain;object-position:center;background:var(--rp-surface);}
.dsrv-route-pest-avatar i{position:absolute;right:-2px;bottom:-2px;width:12px;height:12px;border:2px solid #fff;border-radius:50%;background:#d6574d;box-sizing:border-box;}
.dsrv-route-pest-avatar i.is-next,.dsrv-route-pest-avatar i.is-planned,.dsrv-route-pest-avatar i.is-waiting{background:#d6574d;}
.dsrv-route-pest-avatar i.is-enroute{background:#e1b53e;}
.dsrv-route-pest-avatar i.is-arrived{background:#86cef3;}
.dsrv-route-pest-avatar i.is-writing_report{background:#4387d8;}
.dsrv-route-pest-avatar i.is-done{background:#59a83c;}
.dsrv-route-pest-avatar i.is-cancelled,.dsrv-route-pest-avatar i.is-late_conflict{background:#d6574d;}

.dsrv-panel[data-panel="opgaver"] .dsrv-subtab--requires.is-active{border-color:#dc6b52;background:#fff3ef;color:#8f2f21;}
.dsrv-panel[data-panel="opgaver"] .dsrv-task-bucket-section.is-requires{margin-top:16px;border-color:#efb7a8;background:linear-gradient(180deg,#fffdfa,#fff8f5);}
.dsrv-panel[data-panel="opgaver"] .dsrv-task-bucket-section.is-requires .dsrv-tasklist{max-height:none;overflow:visible;padding-right:0;}
.dsrv-panel[data-panel="opgaver"] .dsrv-task-integrity-issues{display:grid;gap:7px;margin-top:10px;}
.dsrv-panel[data-panel="opgaver"] .dsrv-task-integrity-issue{padding:9px 11px;border:1px solid #f3c6ba;border-radius:11px;background:#fff7f4;color:#7f291c;font-size:12px;line-height:1.45;}
.dsrv-panel[data-panel="opgaver"] .dsrv-task-integrity-issue.is-warning{border-color:#ecd18d;background:#fffaf0;color:#75520d;}
.dsrv-panel[data-panel="opgaver"] .dsrv-task-integrity-actions{min-width:220px;align-content:flex-start;}
@media (max-width:680px){
  .dsrv-panel[data-panel="opgaver"] .dsrv-task-integrity-actions{min-width:0;width:100%;}
}
/*===== Task/service addon feature styles (consolidated into the permanent admin stylesheet) =====*/
.dsrv-addon-block{grid-column:1/-1;margin:-4px 0 14px;container-type:inline-size;}
.dsrv-addon-rows{display:grid;gap:10px;margin-bottom:10px;}
.dsrv-addon-row{display:grid;grid-template-columns:116px minmax(0,1.35fr) minmax(145px,.8fr) 88px;gap:11px;align-items:center;padding:12px 13px;border:1px solid #d7e5d4;border-radius:14px;background:var(--rp-surface-subtle);box-shadow:0 3px 9px rgba(23,72,37,.04);}
.dsrv-addon-row__number{align-self:stretch;display:grid;align-content:center;gap:3px;min-width:0;padding:8px 10px;border:1px solid #d7e7d3;border-radius:11px;background:linear-gradient(145deg,#f4faef,#fff);color:#315f3a;}
.dsrv-addon-row__eyebrow{font-size:9.5px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;color:#617361;}
.dsrv-addon-row__price{font-size:14px;line-height:1.1;font-weight:950;color:#1f6b29;white-space:nowrap;}
.dsrv-addon-row__number em{display:block;margin-top:2px;color:#70806f;font-size:9px;font-style:normal;}
.dsrv-addon-row__number small{justify-self:start;display:inline-flex;margin-top:2px;padding:2px 6px;border-radius:999px;background:var(--rp-primary-soft);color:#537052;font-size:8.5px;font-weight:850;text-align:center;}
.dsrv-addon-row__actions{display:flex;align-items:center;justify-content:flex-end;min-width:0;}
.dsrv-addon-row label{margin:0  !important;}
.dsrv-addon-row label>span{display:block;margin:0 0 5px;font-size:11px;font-weight:850;letter-spacing:.04em;text-transform:uppercase;color:#52645a;}
.dsrv-addon-row select{width:100%;min-width:0;min-height:40px;border:1px solid #ccdccc;border-radius:10px;background:var(--rp-surface);color:var(--rp-text);}
.dsrv-addon-row__remove{align-self:center;display:inline-flex  !important;align-items:center  !important;justify-content:center  !important;gap:5px  !important;min-height:34px  !important;margin:0  !important;padding:6px 9px  !important;border:1px solid #ecc5c5  !important;border-radius:9px  !important;background:#fffafa  !important;color:#992f2f  !important;text-decoration:none  !important;font-size:10.5px  !important;font-weight:850  !important;box-shadow:none  !important;white-space:nowrap;}
.dsrv-addon-row__remove:hover{border-color:#dc8888  !important;background:#fff1f1  !important;color:var(--rp-danger)  !important;}
.dsrv-addon-row__locked{align-self:center;display:inline-flex;align-items:center;gap:5px;margin:0;padding:5px 8px;border-radius:999px;background:#edf3ed;color:#5a695d;font-size:10px;font-weight:850;white-space:nowrap;}
.dsrv-addon-row.is-locked{background:#f7f9f7;border-color:#dce4dc;}
.dsrv-addon-row.is-locked select,.dsrv-addon-row.is-locked textarea{background:#f1f4f1;color:#667268;}
.dsrv-addon-add{display:inline-flex  !important;align-items:center;gap:5px;border:1px solid #8dbb8d  !important;color:var(--rp-primary-dark)  !important;background:#f7fcf5  !important;border-radius:10px  !important;font-weight:800  !important;min-height:38px  !important;padding:0 13px  !important;}
.dsrv-addon-add:hover,.dsrv-addon-add:focus{background:color-mix(in srgb,var(--rp-primary) 10%,var(--rp-surface) 90%)  !important;border-color:#6ca45d  !important;color:var(--rp-primary-dark)  !important;}
.dsrv-addon-row__report summary{cursor:pointer;color:#2f6739;font-weight:800;font-size:12px;}
.dsrv-addon-row__report label{display:block;margin-top:8px  !important;}
.dsrv-addon-row__report textarea{width:100%;}
.dsrv-addon-economy-summary{display:grid;grid-template-columns:minmax(0,1fr) minmax(235px,285px);align-items:start;gap:14px;margin:14px 0 16px;padding:12px 14px;border:1px solid #d4e3d1;border-radius:14px;background:var(--rp-surface-subtle);overflow:visible;}
.dsrv-addon-economy-summary[hidden]{display:none  !important;}
.dsrv-addon-visit-total{display:grid;gap:6px;min-width:0;}
.dsrv-addon-visit-total>div{display:flex;align-items:center;justify-content:space-between;gap:14px;}
.dsrv-addon-visit-total span{color:var(--rp-text);font-size:11px;font-weight:850;}
.dsrv-addon-visit-total strong{color:var(--rp-primary-dark);font-size:19px;font-weight:950;white-space:nowrap;}
.dsrv-addon-visit-total>small{display:grid;gap:3px;color:#617065;font-size:10px;line-height:1.4;}
.dsrv-addon-visit-total>small span{display:flex;justify-content:space-between;gap:10px;padding:3px 0;border-bottom:1px solid #e5eee1;}
.dsrv-addon-visit-total>small span:last-child{border-bottom:0;}
.dsrv-addon-economy-target{display:grid;align-content:start;gap:8px;min-width:0;padding:10px;border:1px solid #c8ddc2;border-left:4px solid #4d982f;border-radius:12px;background:var(--rp-surface);box-shadow:0 5px 14px rgba(35,78,31,.07);}
.dsrv-addon-economy-target__intro{display:flex;align-items:center;gap:9px;min-width:0;}
.dsrv-addon-economy-target__icon{display:grid;place-items:center;flex:0 0 31px;height:31px;border-radius:9px;background:linear-gradient(145deg,#2f7d27,#69b638);color:#fff;font-size:10px;font-weight:950;letter-spacing:.01em;box-shadow:0 3px 8px rgba(47,125,39,.18);}
.dsrv-addon-economy-target__copy{display:grid;gap:1px;min-width:0;}
.dsrv-addon-economy-target__copy strong{color:var(--rp-text);font-size:11.5px;font-weight:900;line-height:1.2;}
.dsrv-addon-economy-target__copy small{color:var(--rp-muted);font-size:9.5px;line-height:1.25;}
.dsrv-addon-economy-target__control{position:relative;display:block;margin:0  !important;}
.dsrv-addon-economy-target__control:after{content:"";position:absolute;right:14px;top:50%;width:7px;height:7px;border-right:2px solid var(--rp-primary-dark);border-bottom:2px solid var(--rp-primary-dark);transform:translateY(-68%) rotate(45deg);pointer-events:none;}
.dsrv-addon-economy-target select{width:100%;min-height:38px;padding:0 36px 0 12px;border:1px solid #c8ddc2;border-radius:9px;background:#f4faf1;color:var(--rp-text);font-size:10.5px;font-weight:850;appearance:none;-webkit-appearance:none;box-shadow:inset 0 1px 0 rgba(255,255,255,.8);transition:border-color .15s ease,box-shadow .15s ease,background .15s ease;}
.dsrv-addon-economy-target select:hover{border-color:#94bd87;background:var(--rp-surface-subtle);}
.dsrv-addon-economy-target select:focus{outline:0;border-color:#4d982f;box-shadow:0 0 0 3px rgba(77,152,47,.14);background:var(--rp-surface);}
.dsrv-addon-economy-target>small{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:1px;color:var(--rp-muted);font-size:9.25px;}
.dsrv-addon-economy-target>small strong{color:#2b5734;font-size:9.75px;}
.dsrv-addon-row__services{grid-column:2/4;display:grid;gap:8px;margin-top:2px;padding:10px 11px;border:1px solid var(--rp-line);border-radius:12px;background:var(--rp-surface-subtle);}
.dsrv-addon-row__services[hidden]{display:none  !important;}
.dsrv-addon-row__services-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;}
.dsrv-addon-row__services-head strong{color:#214f29;font-size:11px;}
.dsrv-addon-row__services-head small{color:#6c796e;font-size:9px;text-align:right;}
.dsrv-addon-row__services-rows{display:grid;gap:7px;}
.dsrv-addon-service-line{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:center;padding:9px 10px;border:1px solid #dde9d9;border-radius:10px;background:var(--rp-surface);}
.dsrv-addon-service-line>div:first-child{display:grid;gap:2px;min-width:0;}
.dsrv-addon-service-line>div:first-child strong{color:#193e20;font-size:11px;}
.dsrv-addon-service-line>div:first-child small{color:#6b786d;font-size:9px;}
.dsrv-addon-service-qty{display:inline-grid;grid-template-columns:32px 46px 32px;gap:4px;align-items:center;}
.dsrv-addon-service-qty button{display:grid;place-items:center;width:32px;height:34px;padding:0;border:1px solid #b9cfb5;border-radius:9px;background:#eef7eb;color:#205c28;font-size:18px;font-weight:900;cursor:pointer;}
.dsrv-addon-service-qty input{width:46px;min-height:34px;padding:3px;border:1px solid #c7d8c3;border-radius:9px;text-align:center;font-weight:900;}
.dsrv-addon-service-line>[data-addon-service-line-total]{color:#1e5426;font-size:11px;white-space:nowrap;}
@media (max-width:850px){.dsrv-addon-row{grid-template-columns:1fr 1fr;}.dsrv-addon-row__number{grid-column:1/-1;}.dsrv-addon-row__remove{justify-self:start;}.dsrv-addon-row__services{grid-column:1/-1;}.dsrv-addon-economy-summary{grid-template-columns:1fr;}.dsrv-addon-service-line{grid-template-columns:minmax(0,1fr) auto;}.dsrv-addon-service-line>[data-addon-service-line-total]{grid-column:1/-1;}.dsrv-addon-followup-date-time,.rp-emp-addon-followup__date-time{grid-template-columns:1fr;}}
@container (max-width:620px){.dsrv-addon-row{grid-template-columns:1fr 1fr;}.dsrv-addon-row__number{grid-column:1/-1;}.dsrv-addon-row__remove{justify-self:start;}.dsrv-addon-row__services{grid-column:1/-1;}.dsrv-addon-economy-summary{grid-template-columns:1fr;}.dsrv-addon-service-line{grid-template-columns:minmax(0,1fr) auto;}.dsrv-addon-service-line>[data-addon-service-line-total]{grid-column:1/-1;}.dsrv-addon-followup-date-time{grid-template-columns:1fr;}}
.dsrv-addon-row__report{grid-column:2/4;margin-top:3px;padding:0;border:1px solid #dce8d8;border-radius:12px;background:var(--rp-surface);overflow:hidden;}
.dsrv-addon-row__report>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;list-style:none;cursor:pointer;background:#f7faf5;color:#285f31;font-weight:850;font-size:12px;}
.dsrv-addon-row__report>summary::-webkit-details-marker{display:none;}
.dsrv-addon-row__report>summary:after{content:"";width:7px;height:7px;margin-left:auto;border-right:2px solid #6f8170;border-bottom:2px solid #6f8170;transform:translateY(-2px) rotate(45deg);transition:transform .16s ease;}
.dsrv-addon-row__report[open]>summary:after{transform:translateY(2px) rotate(225deg);}
.dsrv-addon-row__report>summary small{order:2;display:inline-flex;align-items:center;min-height:24px;padding:0 8px;border-radius:999px;background:var(--rp-primary-soft);color:#286220;font-size:9.5px;font-weight:900;white-space:nowrap;}
.dsrv-addon-row.has-followup .dsrv-addon-row__report>summary small{background:#e9f2ff;color:#245a96;}
.dsrv-addon-row.is-cancelled .dsrv-addon-row__report>summary small{background:#fff0ee;color:#963c31;}
.dsrv-addon-row__report-grid{display:grid;grid-template-columns:minmax(180px,.72fr) minmax(0,1.28fr);gap:10px;padding:12px;}
.dsrv-addon-row__report-grid .is-wide{grid-column:1/-1;}
.dsrv-addon-row__report-grid label{display:grid;gap:5px;margin:0  !important;}
.dsrv-addon-row__report-grid textarea,.dsrv-addon-row__report-grid select{width:100%;min-width:0;border:1px solid #ccdccc;border-radius:10px;background:var(--rp-surface);color:var(--rp-text);}
.dsrv-addon-row__report-grid textarea{min-height:72px;padding:9px 10px;resize:vertical;}
.dsrv-addon-followup-fields{margin:0 12px 12px;padding:12px;border:1px solid #cddff3;border-radius:12px;background:#f5f9ff;}
.dsrv-addon-followup-fields[hidden],.dsrv-addon-followup-fields [hidden]{display:none  !important;}
.dsrv-addon-followup-fields__head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px;color:#274e78;}
.dsrv-addon-followup-fields__head strong{font-size:12px;}
.dsrv-addon-followup-fields__head small{max-width:310px;color:#65788b;font-size:9.5px;line-height:1.35;text-align:right;}
.dsrv-addon-followup-fields__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.dsrv-addon-followup-fields__grid .is-wide{grid-column:1/-1;}
.dsrv-addon-followup-date-time{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-width:0;}
.dsrv-addon-followup-date-time label{min-width:0;}
.dsrv-addon-followup-date-time label span em{font-style:normal;color:#778579;font-size:9px;font-weight:700;text-transform:none;}
.dsrv-addon-followup-date-time label small{color:#748177;font-size:9px;font-weight:650;line-height:1.35;}
.rp-emp-addon-followup__date-time{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}
.rp-emp-addon-followup__date-time label{display:grid;gap:5px;margin:0;min-width:0;}
.rp-emp-addon-followup__date-time label small{color:#6c7a70;font-size:9px;font-weight:700;}
.dsrv-addon-followup-fields__grid label{display:grid;gap:5px;margin:0  !important;}
.dsrv-addon-followup-fields__grid select,.dsrv-addon-followup-fields__grid input,.dsrv-addon-followup-fields__grid textarea{width:100%;min-width:0;border:1px solid #c5d9ed;border-radius:10px;background:var(--rp-surface);color:var(--rp-text);}
.dsrv-addon-followup-fields__grid textarea{min-height:62px;padding:9px 10px;resize:vertical;}
.dsrv-addon-price-proposal>div{display:grid;gap:3px;}
.dsrv-addon-price-proposal>div span{color:#745c17;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;}
.dsrv-addon-price-proposal>div strong{color:#5d4810;font-size:17px;}
.dsrv-addon-price-proposal>div small{color:#786b44;line-height:1.35;}
.dsrv-addon-price-proposal label{display:grid;gap:5px;margin:0  !important;}
.dsrv-addon-price-proposal select{width:100%;min-height:40px;border:1px solid #dfc56f;border-radius:10px;background:var(--rp-surface);}
.dsrv-addon-price-decision{margin:0 12px 12px;padding:9px 11px;border-radius:10px;font-size:11px;font-weight:850;}
.dsrv-addon-price-decision.is-approved{background:color-mix(in srgb,var(--rp-primary) 10%,var(--rp-surface) 90%);color:#286220;}
.dsrv-addon-price-decision.is-rejected{background:#fff0ee;color:#963c31;}
@media (max-width:850px){.dsrv-addon-row__report{grid-column:1/-1;}.dsrv-addon-row__report-grid,.dsrv-addon-followup-fields__grid,.dsrv-addon-price-proposal{grid-template-columns:1fr;}.dsrv-addon-followup-fields__grid .is-wide{grid-column:auto;}.dsrv-addon-followup-fields__head{display:grid;}.dsrv-addon-followup-fields__head small{text-align:left;}}
@container (max-width:620px){.dsrv-addon-row__report{grid-column:1/-1;}.dsrv-addon-row__report-grid,.dsrv-addon-followup-fields__grid,.dsrv-addon-price-proposal{grid-template-columns:1fr;}.dsrv-addon-followup-fields__grid .is-wide{grid-column:auto;}.dsrv-addon-followup-fields__head{display:grid;}.dsrv-addon-followup-fields__head small{text-align:left;}}
.dsrv-addon-price-proposal{display:grid;grid-template-columns:minmax(0,1fr) minmax(190px,.52fr);gap:12px;align-items:end;margin:0 12px 12px;padding:12px;border:1px solid #efd58e;border-radius:12px;background:#fff9e9;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease;}
.dsrv-addon-price-proposal.is-pending{border-color:#efd58e;background:#fff9e9;}
.dsrv-addon-price-proposal.is-approved{border-color:#a8d19d;background:#f1faed;box-shadow:0 0 0 1px rgba(72,139,61,.06);}
.dsrv-addon-price-proposal.is-rejected{border-color:#efbbb4;background:#fff4f2;}
.dsrv-addon-price-proposal.is-approved>div span,.dsrv-addon-price-proposal.is-approved>div strong{color:#286220;}
.dsrv-addon-price-proposal.is-rejected>div span,.dsrv-addon-price-proposal.is-rejected>div strong{color:#8b3d34;}
.dsrv-addon-row__report-grid select,.dsrv-addon-followup-fields__grid select,.dsrv-addon-followup-fields__grid input{min-height:42px;}
.dsrv-addon-row__report-grid textarea:invalid,.dsrv-addon-followup-fields__grid select:invalid,.dsrv-addon-followup-fields__grid input:invalid{border-color:#c65b4f;box-shadow:0 0 0 1px rgba(198,91,79,.12);}
.dsrv-form[data-entity="task"] .rp-service-addons--task-editor{display:grid;gap:10px;margin:14px 0;padding:13px;border:1px solid var(--rp-line);border-radius:14px;background:#f6fbf4;box-sizing:border-box;}
.dsrv-form[data-entity="task"] .rp-service-addons__head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;}
.dsrv-form[data-entity="task"] .rp-service-addons__head>div{display:grid;gap:2px;min-width:0;}
.dsrv-form[data-entity="task"] .rp-service-addons__head strong{color:#1d4d25;font-size:13px;font-weight:900;}
.dsrv-form[data-entity="task"] .rp-service-addons__head span{color:#68766b;font-size:11px;line-height:1.4;}
.dsrv-form[data-entity="task"] .rp-service-addons__rows{display:grid;gap:8px;}
.dsrv-form[data-entity="task"] .rp-service-addon-row{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(86px,auto);gap:10px;align-items:center;min-width:0;padding:10px 11px;border:1px solid #d9e6d5;border-radius:11px;background:var(--rp-surface);box-sizing:border-box;}
.dsrv-form[data-entity="task"] .rp-service-addon-row__label{display:grid;gap:2px;min-width:0;}
.dsrv-form[data-entity="task"] .rp-service-addon-row__label strong{min-width:0;color:#183f20;font-size:12px;font-weight:900;overflow-wrap:anywhere;}
.dsrv-form[data-entity="task"] .rp-service-addon-row__label small{color:#6b786d;font-size:10px;line-height:1.3;}
.dsrv-form[data-entity="task"] .rp-service-addon-row__total{justify-self:end;color:#1e5426;font-size:12px;font-weight:900;white-space:nowrap;}
.dsrv-form[data-entity="task"] .rp-service-addon-row.is-locked{background:#f2f5f2;opacity:.78;}
.dsrv-form[data-entity="task"] .rp-service-addons__empty{padding:10px 11px;border:1px dashed #bfd3b9;border-radius:10px;background:var(--rp-surface);color:#637166;font-size:11px;line-height:1.45;}
.dsrv-form[data-entity="task"] .rp-service-addons__empty[hidden]{display:none  !important;}
@media (max-width:720px){
  .dsrv-form[data-entity="task"] .rp-service-addon-row{grid-template-columns:minmax(0,1fr) auto;}
  .dsrv-form[data-entity="task"] .rp-service-addon-row__label{grid-column:1/-1;}
  .dsrv-form[data-entity="task"] .rp-service-addon-row__total{justify-self:start;}
}
.dsrv-form[data-entity="task"] .dsrv-task-price-card>.dsrv-report-modal-eyebrow{margin:0;}
.dsrv-form[data-entity="task"] .dsrv-task-price-card{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;align-content:start;min-width:0;}
.dsrv-form[data-entity="task"] .dsrv-task-price-card>strong{display:block;margin:0;color:#17301f;font-size:15px;line-height:1.25;font-weight:900;}
.dsrv-form[data-entity="task"] .dsrv-task-price-card>p.dsrv-muted{display:block;margin:0;color:#68766d;font-size:11px;line-height:1.45;}
.dsrv-form[data-entity="task"] .dsrv-task-price-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0;}
.dsrv-form[data-entity="task"] .dsrv-task-price-fields>label{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;margin:0;color:#344a3a;font-size:10px;font-weight:850;letter-spacing:.035em;text-transform:uppercase;}
.dsrv-form[data-entity="task"] .dsrv-task-price-fields input{width:100%;min-width:0;}
.dsrv-form[data-entity="task"] .dsrv-task-current-total{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;align-items:center;padding:11px 12px;border:1px solid #cde2c9;border-radius:11px;background:linear-gradient(145deg,#f9fff7,color-mix(in srgb,var(--rp-primary) 10%,var(--rp-surface) 90%));}
.dsrv-form[data-entity="task"] .dsrv-task-current-total>span{color:#34553b;font-size:10px;font-weight:850;}
.dsrv-form[data-entity="task"] .dsrv-task-current-total>strong{color:#1f742e;font-size:17px;font-weight:950;white-space:nowrap;}
.dsrv-form[data-entity="task"] .dsrv-task-current-total>small{grid-column:1/-1;color:#66766b;font-size:10px;line-height:1.35;}
@media (max-width:720px){.dsrv-form[data-entity="task"] .dsrv-task-price-fields{grid-template-columns:1fr;}.dsrv-form[data-entity="task"] .dsrv-task-current-total{grid-template-columns:1fr;}.dsrv-form[data-entity="task"] .dsrv-task-current-total>strong{white-space:normal;}}
.dsrv-form[data-entity="task"] .rp-service-addons--task-editor[hidden]{display:none  !important;}
/*===== Economy / pest / overview domain presentation =====*/
/*Økonomi – samme oplysninger og funktioner, tydeligere hierarki.*/
/*===== Quality and case-tool domain presentation =====*/
.rpq-panel{display:grid;gap:14px;min-width:0;}

.rpq-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(170px,1fr));gap:12px;}
.rpq-filter-card label{display:flex;flex-direction:column;gap:6px;font-weight:800;color:#1f2937;}
.rpq-filter-card input[type=date],.rpq-filter-card select,.rpq-reopen-form input,.rpq-reopen-form select,.rpq-search-form input{width:100%;max-width:none;min-height:42px;border:1px solid var(--rp-line);border-radius:12px;background:var(--rp-surface);padding:8px 11px;}
.rpq-employee-filter{display:grid;grid-template-columns:minmax(210px,.6fr) minmax(0,2fr);gap:16px;align-items:start;border-top:1px solid var(--rp-line);margin-top:15px;padding-top:15px;}
.rpq-employee-filter strong,.rpq-employee-filter small{display:block;}
.rpq-employee-filter small{color:var(--rp-muted);margin-top:3px;}
.rpq-check-grid{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:8px;}
.rpq-check-grid label{display:flex;flex-direction:row;align-items:center;gap:8px;font-weight:700;border:1px solid var(--rp-line);border-radius:12px;padding:9px 10px;background:var(--rp-surface-subtle);}
.rpq-filter-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:15px;}
.rpq-filter-actions>span{color:var(--rp-muted);font-size:12px;flex:1;min-width:260px;}
.rpq-rule-icon{width:46px;height:46px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--rp-primary),var(--rp-primary-2));color:#fff;font-size:20px;font-weight:900;flex:0 0 auto;}
.rpq-rule-card strong,.rpq-rule-card span{display:block;}
.rpq-rule-card span{color:var(--rp-muted);margin-top:3px;}
.rpq-kpis>div{background:var(--rp-surface);border:1px solid var(--rp-line);border-radius:16px;padding:16px;box-shadow:0 8px 24px rgba(2,6,23,.05);min-height:120px;}
.rpq-kpis>div.is-emphasis{border-color:rgba(132,194,58,.65);background:linear-gradient(180deg,#fff,#f5fbeF);}
.rpq-kpis span{display:block;color:var(--rp-muted);font-size:11px;line-height:1.3;text-transform:uppercase;letter-spacing:.045em;font-weight:800;}
.rpq-kpis strong{display:block;font-size:26px;line-height:1.12;margin-top:7px;color:#172033;}
.rpq-kpis small{display:block;color:var(--rp-muted);margin-top:7px;line-height:1.35;}
.rpq-table-wrap{width:100%;overflow:auto;border:1px solid var(--rp-line);border-radius:14px;}
.rpq-table{width:100%;border-collapse:separate;border-spacing:0;min-width:980px;background:var(--rp-surface);}
.rpq-table th,.rpq-table td{padding:11px 12px;text-align:left;vertical-align:middle;border-bottom:1px solid #edf1f5;white-space:nowrap;}
.rpq-table thead th{position:sticky;top:0;z-index:1;background:#f6faF2;color:#27421f;font-size:11px;text-transform:uppercase;letter-spacing:.035em;font-weight:900;}
.rpq-table tbody tr:last-child th,.rpq-table tbody tr:last-child td{border-bottom:0;}
.rpq-table tbody tr:nth-child(even){background:#fbfcfd;}
.rpq-table tbody tr:hover{background:var(--rp-surface-subtle);}
.rpq-table td strong{font-weight:900;}
.rpq-employee-results{display:grid;gap:10px;}
.rpq-employee-result{overflow:hidden;border:1px solid #dbe6d7;border-radius:14px;background:var(--rp-surface);}
.rpq-employee-result>summary{display:grid;grid-template-columns:minmax(220px,1fr) minmax(260px,1.4fr) 28px;align-items:center;gap:14px;padding:14px 15px;cursor:pointer;list-style:none;background:linear-gradient(180deg,var(--rp-surface-subtle),#f5f9f2);}
.rpq-employee-result>summary::-webkit-details-marker{display:none;}
.rpq-employee-result[open]>summary{border-bottom:1px solid #dfe8db;background:var(--rp-surface-subtle);}
.rpq-employee-result__identity{display:grid;gap:3px;min-width:0;}
.rpq-employee-result__identity strong{color:#183b22;font-size:15px;}
.rpq-employee-result__identity span{color:#66746b;font-size:11px;line-height:1.4;}
.rpq-employee-result__rates{display:flex;justify-content:flex-end;gap:6px;flex-wrap:wrap;}
.rpq-employee-result__rates span{display:inline-flex;align-items:center;min-height:26px;padding:4px 8px;border:1px solid var(--rp-line);border-radius:999px;background:var(--rp-surface);color:#315a31;font-size:10px;font-weight:850;white-space:nowrap;}
.rpq-employee-result__toggle{display:grid;place-items:center;width:28px;height:28px;border-radius:999px;background:var(--rp-surface);color:var(--rp-primary-dark);font-size:20px;font-weight:900;transition:transform .16s ease;}
.rpq-employee-result[open] .rpq-employee-result__toggle{transform:rotate(180deg);}
.rpq-employee-result__body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px;background:var(--rp-surface-subtle);}
.rpq-model-result{display:grid;align-content:start;gap:11px;min-width:0;padding:13px;border:1px solid #dfe7dc;border-radius:12px;background:var(--rp-surface);}
.rpq-model-result--common{border-color:#bfd9b5;background:var(--rp-surface-subtle);}
.rpq-model-result>header{display:grid;gap:2px;padding-bottom:9px;border-bottom:1px solid #e7ede4;}
.rpq-model-result>header strong{color:#203f25;font-size:13px;}
.rpq-model-result>header span{color:#6b776e;font-size:10.5px;line-height:1.4;}
.rpq-model-result dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:0;}
.rpq-model-result dl>div{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;padding:8px 9px;border-radius:9px;background:#f6f9f5;}
.rpq-model-result dt{min-width:0;color:#5d6d61;font-size:10.5px;line-height:1.3;}
.rpq-model-result dd{margin:0;color:#1d3a23;font-size:12px;font-weight:900;text-align:right;white-space:nowrap;}
.rpq-model-result__actions{display:flex;flex-wrap:wrap;gap:6px;padding-top:2px;}
@media (max-width:1050px){.rpq-employee-result>summary{grid-template-columns:1fr 28px;}.rpq-employee-result__rates{grid-column:1/-1;grid-row:2;justify-content:flex-start;}.rpq-employee-result__toggle{grid-column:2;grid-row:1;}.rpq-employee-result__body{grid-template-columns:1fr;}}
@media (max-width:600px){.rpq-model-result dl{grid-template-columns:1fr;}.rpq-employee-result__rates span{white-space:normal;}}
.rpq-comparison{border-left:5px solid var(--rp-primary);}
.rpq-compare-grid{display:grid;grid-template-columns:repeat(2,minmax(250px,1fr));gap:12px;margin-top:14px;}
.rpq-compare-card>span,.rpq-compare-card>small{display:block;}
.rpq-compare-card>span{font-weight:900;}
.rpq-compare-card>strong{font-size:28px;display:block;margin:6px 0;}
.rpq-compare-card>small{color:var(--rp-muted);}
.rpq-compare-card dl{display:grid;grid-template-columns:1fr auto;gap:7px 16px;margin:14px 0 0;padding-top:12px;border-top:1px solid var(--rp-line);}
.rpq-compare-card dt{color:var(--rp-muted);}
.rpq-compare-card dd{margin:0;font-weight:900;}
.rpq-comparison-copy{margin-top:12px;padding:12px 14px;border-radius:12px;background:var(--rp-primary-soft);}
.rpq-comparison-copy p{margin:0 0 6px;}
.rpq-comparison-copy p:last-child{margin-bottom:0;}
.rpq-notice{display:flex;gap:10px;align-items:center;border-radius:12px;padding:11px 13px;}
.rpq-notice.is-success{background:rgba(132,194,58,.13);color:#24551b;}
.rpq-notice.is-error{background:rgba(220,38,38,.1);color:#9f1f1f;}
.rpq-notice strong,.rpq-notice span{display:block;}
.rpq-tool-tabs{margin:0;}
.rpq-tool-tabs a{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;}
.rpq-card h2{margin:0 0 6px;font-size:16px;}
.rpq-card p{color:var(--rp-muted);margin:0 0 14px;}
.rpq-search-form input{flex:1;}
.rpq-reopen-form button{grid-column:1/-1;}
.rpq-card .widefat{border:0;box-shadow:none;}
.rpq-card .widefat th,.rpq-card .widefat td{padding:10px;border-bottom:1px solid #edf1f5;}
.rpq-card .widefat thead th{background:#f6faf2;color:#27421f;font-weight:900;}
@media (max-width:1400px){.rpq-filter-grid{grid-template-columns:repeat(2,minmax(170px,1fr));}.rpq-kpis{grid-template-columns:repeat(3,minmax(150px,1fr));}.rpq-check-grid{grid-template-columns:repeat(3,minmax(120px,1fr));}}
@media (max-width:900px){.rpq-filter-grid,.rpq-kpis,.rpq-compare-grid{grid-template-columns:1fr;}.rpq-employee-filter{grid-template-columns:1fr;}.rpq-check-grid{grid-template-columns:repeat(2,minmax(110px,1fr));}}
@media (max-width:600px){.rpq-check-grid{grid-template-columns:1fr;}.rpq-filter-actions{align-items:stretch;}.rpq-filter-actions .button{width:100%;}.rpq-search-form{display:grid;}.rpq-reopen-form{grid-template-columns:1fr;min-width:260px;}.rpq-reopen-form button{grid-column:auto;}.rpq-rule-card{align-items:flex-start;}}
.rpq-review-intro{display:grid;gap:15px;padding:20px!important;border:1px solid var(--rp-line)!important;border-radius:20px!important;background:var(--rp-surface)!important;box-shadow:0 10px 26px color-mix(in srgb,var(--rp-primary-dark) 4%,transparent)!important;}
.rpq-review-intro h2{margin:0!important;color:var(--rp-text)!important;font-size:20px!important;line-height:1.18!important;font-weight:950!important;letter-spacing:-.015em!important;}
.rpq-review-intro p{margin:0!important;color:var(--rp-muted)!important;font-size:11.75px!important;line-height:1.5!important;font-weight:600!important;}
.rpq-safety-note{display:flex;gap:12px;align-items:flex-start;padding:13px 15px;border:1px solid #b7d98f;border-radius:13px;background:#f6fbed;}
.rpq-safety-note strong{white-space:nowrap;color:#285b1f;font-size:11.5px;font-weight:950;}
.rpq-safety-note span{color:#405449;font-size:11.25px;line-height:1.45;font-weight:600;}
.rpq-progress{display:grid;gap:7px;}
.rpq-progress>div{display:flex;justify-content:space-between;gap:12px;color:#506359;font-size:11px;font-weight:800;}
.rpq-progress progress{width:100%;height:12px;accent-color:var(--rp-primary);}
.rpq-review-filters{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr)) minmax(130px,auto);gap:10px;align-items:end;width:100%;}
.rpq-review-filters label,.rpq-admin-note,.rpq-visit-edit label{display:flex;flex-direction:column;gap:6px;color:#294a31;font-size:11px;font-weight:850;}
.rpq-review-filters select,.rpq-review-filters input,.rpq-admin-note textarea,.rpq-visit-edit select,.rpq-visit-edit input,.rpq-open-review-by-id input{width:100%;max-width:none;min-height:43px;border:1px solid #d6e2d5;border-radius:11px;background:var(--rp-surface);padding:8px 10px;color:var(--rp-text);box-shadow:none;}
.rpq-review-filters select:focus,.rpq-review-filters input:focus,.rpq-admin-note textarea:focus,.rpq-visit-edit select:focus,.rpq-visit-edit input:focus,.rpq-open-review-by-id input:focus{border-color:color-mix(in srgb,var(--rp-primary) 55%,var(--rp-line) 45%);box-shadow:0 0 0 3px var(--rp-primary-focus);outline:0;}
.rpq-review-filters button{min-height:43px;}
.rpq-open-review-by-id{display:flex;gap:10px;max-width:520px;}
.rpq-open-review-by-id input{flex:1;}
.rpq-review-visits{display:grid;gap:11px;}
.rpq-visit-edit__head{grid-column:1/-1;display:flex;justify-content:space-between;gap:12px;padding-bottom:8px;border-bottom:1px solid #e8eee2;}
.rpq-visit-edit__head span{color:#5f7166;font-size:11.5px;}
.rpq-visit-edit .rpq-wide{grid-column:1/-1;}
.rpq-admin-note{margin-top:12px;}
.rpq-corrected-pill{background:#ede9fe;color:#5b21b6;}
@media(max-width:1200px){.rpq-review-filters{grid-template-columns:repeat(2,minmax(170px,1fr));}.rpq-review-filters button{grid-column:1/-1;}.rpq-visit-edit{grid-template-columns:1fr 1fr;}.rpq-visit-edit .rpq-wide{grid-column:1/-1;}}
@media(max-width:720px){.rpq-review-filters,.rpq-visit-edit{grid-template-columns:1fr;}.rpq-visit-edit .rpq-wide,.rpq-visit-edit__head{grid-column:auto;}.rpq-visit-edit__head{display:grid;}.rpq-safety-note{display:grid;}}
.rpq-editor-nav{display:flex;gap:9px;align-items:center;margin:0 0 14px;}
.rpq-case-editor{display:grid;}
.rpq-editor-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;border-left:5px solid var(--rp-primary);}
.rpq-editor-head h2{font-size:22px;margin:3px 0 6px;}
.rpq-editor-head p{margin:0;}
.rpq-kicker{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.08em;font-weight:900;color:#4f772d;}
.rpq-editor-status small{color:var(--rp-muted);}
.rpq-editor-section{padding:20px;}
.rpq-flow-chips{display:flex;flex-wrap:wrap;gap:6px;align-items:stretch;}
.rpq-flow-chip strong{font-size:12px;}
.rpq-flow-chip small{font-size:10px  !important;margin:0  !important;color:var(--rp-muted);white-space:normal;}
.rpq-empty-flow{color:var(--rp-muted);font-style:italic;}
.rpq-open-case-card p{margin:0;}
.rpq-open-case-card .rpq-open-review-by-id{width:min(500px,100%);}
.rpq-visit-edit{display:grid;gap:10px;border:1px solid #dfe7d6;border-radius:13px;grid-template-columns:minmax(160px,.75fr) minmax(260px,1.35fr) minmax(220px,1fr);padding:16px;background:var(--rp-surface);}
.rpq-visit-edit.is-corrected{border-color:#a78bfa;box-shadow:inset 4px 0 0 #8b5cf6;}
.rpq-visit-edit__head>div{display:grid;gap:3px;}
.rpq-visit-edit__head>div>span{display:block;}
.rpq-original-values{grid-column:1/-1;display:flex;gap:7px;align-items:center;flex-wrap:wrap;padding:9px 11px;border-radius:10px;background:#f1f5f9;color:var(--rp-muted);font-size:12px;}
.rpq-original-values span{display:inline-flex;padding:4px 7px;border:1px solid #d8e0e8;border-radius:999px;background:var(--rp-surface);}
.rpq-excluded-visits{margin-top:13px;border:1px dashed #cbd5e1;border-radius:12px;background:#f8fafc;padding:11px 13px;}
.rpq-excluded-visits summary{cursor:pointer;font-weight:850;}
.rpq-excluded-visits>div{display:flex;justify-content:space-between;gap:15px;padding:9px 0;border-top:1px solid #e2e8f0;}
.rpq-excluded-visits>div:first-of-type{margin-top:8px;}
.rpq-excluded-visits span{color:var(--rp-muted);}
.rpq-empty-state{display:grid;gap:4px;padding:15px;border:1px dashed #cbd5e1;border-radius:13px;background:#f8fafc;}
.rpq-empty-state span{color:var(--rp-muted);}
@media (max-width:1100px){.rpq-editor-head,.rpq-open-case-card{display:grid;}.rpq-editor-status{align-items:flex-start;text-align:left;}.rpq-open-case-card .rpq-open-review-by-id{width:100%;}}
@media (max-width:800px){.rpq-visit-edit{grid-template-columns:1fr;}.rpq-excluded-visits>div{display:grid;}.rpq-editor-actions{display:grid;}}
.rpq-address-overview{width:100%;max-width:none;padding:20px!important;border:1px solid var(--rp-line)!important;border-radius:20px!important;background:var(--rp-surface)!important;box-shadow:0 10px 26px color-mix(in srgb,var(--rp-primary-dark) 4%,transparent)!important;}
.rpq-address-overview__head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:15px;padding-bottom:13px;border-bottom:1px solid #e5ede4;}
.rpq-address-overview__head h2{margin:0 0 4px!important;color:var(--rp-text);font-size:20px;line-height:1.18;font-weight:950;letter-spacing:-.015em;}
.rpq-address-overview__head p{margin:0;color:#586a60;font-size:11.75px;line-height:1.5;font-weight:600;}
.rpq-address-groups{display:grid;gap:11px;}
.rpq-address-group{overflow:hidden;border:1px solid #dbe6da;border-radius:16px;background:var(--rp-surface);box-shadow:0 5px 15px rgba(15,23,42,.035);}
.rpq-address-group.has-conflict{border-color:#edb3b3;}
.rpq-address-group>summary{display:grid;grid-template-columns:minmax(260px,1fr) auto 28px;align-items:center;gap:14px;padding:14px 16px;background:linear-gradient(180deg,var(--rp-surface-subtle),#f5f9f2);cursor:pointer;list-style:none;}
.rpq-address-group>summary:hover{background:#f1f7ed;}
.rpq-address-group>summary::-webkit-details-marker{display:none;}
.rpq-address-group[open]>summary{border-bottom:1px solid var(--rp-line);}
.rpq-address-group__title{display:grid;gap:3px;min-width:0;}
.rpq-address-group__title strong{color:var(--rp-text);font-size:15.5px;line-height:1.3;font-weight:950;}
.rpq-address-group__title small{color:var(--rp-muted);font-size:10.75px;line-height:1.4;font-weight:600;white-space:normal;}
.rpq-address-group__stats{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px;}
.rpq-address-group__stats .pill,.rpq-address-group__stats .badge{font-size:9.5px!important;}
.rpq-address-group__toggle{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:var(--rp-surface);color:#51723f;transform:rotate(-90deg);transition:transform .18s ease;}
.rpq-address-group[open] .rpq-address-group__toggle{transform:rotate(0deg);}
.rpq-address-group__body{display:grid;gap:13px;padding:14px;background:var(--rp-surface-subtle);}
.rpq-address-case-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(330px,1fr));gap:10px;}
.rpq-address-case{display:grid;gap:10px;min-width:0;padding:14px;border:1px solid #dde6db;border-radius:13px;background:var(--rp-surface);box-shadow:0 4px 12px rgba(18,57,31,.025);}
.rpq-address-case.is-match{border-color:#9bc96e;box-shadow:inset 4px 0 0 var(--rp-primary);}
.rpq-address-case.is-context{background:var(--rp-surface-subtle);opacity:.9;}
.rpq-address-case.has-conflict{border-color:#ef9a9a;box-shadow:inset 4px 0 0 var(--rp-danger);}
.rpq-address-case__top{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;}
.rpq-address-case__top>div{display:grid;gap:2px;min-width:0;}
.rpq-address-case__top>div>span{color:var(--rp-muted);font-size:10.5px;font-weight:800;}
.rpq-address-case__top>div>strong{color:var(--rp-text);font-size:16px;line-height:1.3;font-weight:950;overflow-wrap:anywhere;}
.rpq-address-case__type{display:grid;gap:2px;}
.rpq-address-case__type strong{color:#27462e;font-size:13.5px;font-weight:900;}
.rpq-address-case__type small{color:var(--rp-muted);font-size:10.75px;line-height:1.4;white-space:normal;min-height:0;}
.rpq-address-case .rpq-flow-chips{gap:5px;}
.rpq-address-case__meta{display:grid;gap:6px;margin:0;padding:10px 0;border-top:1px solid #edf1eb;border-bottom:1px solid #edf1eb;}
.rpq-address-case__meta>div{display:grid;grid-template-columns:minmax(100px,.7fr) minmax(150px,1.3fr);gap:8px;}
.rpq-address-case__meta dt{color:#66776d;font-size:10.5px;line-height:1.35;}
.rpq-address-case__meta dd{display:grid;gap:3px;margin:0;color:#263f2e;font-size:11.25px;line-height:1.35;font-weight:850;text-align:right;}
.rpq-address-case__meta dd small{display:block;color:var(--rp-muted);font-size:10.25px;font-weight:600;white-space:normal;}
.rpq-address-case__actions{display:flex;align-items:center;justify-content:space-between;gap:10px;}
.rpq-address-case__actions>span{color:var(--rp-muted);font-size:10.75px;font-weight:750;}
.rpq-address-rule{display:flex;gap:8px;align-items:flex-start;padding:10px 12px;border:1px solid #c8dcba;border-radius:11px;background:#f1f8e9;color:var(--rp-text);}
.rpq-address-rule strong{white-space:nowrap;color:#285b1f;}
.rpq-address-rule span{line-height:1.4;}
.rpq-category-lane{display:grid;gap:10px;padding:14px;border:1px solid #e0e7dc;border-radius:13px;background:var(--rp-surface);}
.rpq-category-lane.is-context-only{background:#fafbfc;border-style:dashed;}
.rpq-category-lane>header{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;padding-bottom:9px;border-bottom:1px solid #edf1eb;}
.rpq-category-lane>header h3{margin:1px 0 0;font-size:16px;}
.rpq-category-lane>header>span{font-size:12px;font-weight:800;color:var(--rp-muted);}
.rpq-case-warning{padding:8px 10px;border-radius:9px;background:#fff1f2;color:#9f1239;font-size:12px;line-height:1.4;font-weight:700;}
.rpq-secondary-details{padding:0;overflow:hidden;}
.rpq-secondary-details>summary{display:flex;justify-content:space-between;gap:14px;padding:16px 18px;cursor:pointer;list-style:none;}
.rpq-secondary-details>summary::-webkit-details-marker{display:none;}
.rpq-secondary-details[open]>summary{border-bottom:1px solid var(--rp-line);}
.rpq-secondary-details>.rpq-table-wrap{border:0;border-radius:0;}
.rpq-step-number{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:28px;margin:0 0 7px;padding:0 9px;border-radius:999px;background:#e9f4de;color:#315f24;font-size:12px;font-weight:900;}
.rpq-placement-block{display:grid;gap:10px;margin-top:15px;}
.rpq-placement-block:first-of-type{margin-top:0;}
.rpq-placement-block h3{margin:0;font-size:14px;}
.rpq-placement-block--other{padding-top:16px;border-top:1px solid #e5e9e2;}
.rpq-placement-list{display:grid;grid-template-columns:1fr;gap:9px;}
.rpq-placement-option{display:grid;grid-template-columns:24px minmax(0,1fr);gap:11px;align-items:flex-start;padding:13px 14px;border:2px solid #dce4d8;border-radius:13px;background:var(--rp-surface);cursor:pointer;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease;}
.rpq-placement-option:hover{border-color:#a7ca82;background:var(--rp-surface-subtle);}
.rpq-placement-option.is-selected{border-color:var(--rp-primary);background:#f3faec;box-shadow:0 0 0 3px rgba(132,194,58,.13);}
.rpq-placement-option>input[type=radio]{width:18px;height:18px;margin:3px 0 0;accent-color:var(--rp-primary);}
.rpq-placement-option__body{display:grid;gap:5px;min-width:0;}
.rpq-placement-option__body>strong{font-size:14px;}
.rpq-placement-option__body>small{color:var(--rp-muted);line-height:1.4;}
.rpq-placement-option__top{display:flex;justify-content:space-between;align-items:center;gap:12px;}
.rpq-placement-option__top>strong{font-size:15px;}
.rpq-placement-option__top>small{color:var(--rp-muted);font-weight:750;}
.rpq-placement-option__title{font-weight:750;color:var(--rp-text);}
.rpq-placement-option--candidate .rpq-flow-chips{margin-top:2px;}
.rpq-admin-note-details{margin-top:14px;border:1px dashed #cbd5e1;border-radius:12px;background:#f8fafc;padding:11px 13px;}
.rpq-admin-note-details>summary{cursor:pointer;font-weight:850;}
.rpq-admin-note-details>summary small{font-weight:500;color:var(--rp-muted);}
.rpq-admin-note-details .rpq-admin-note{margin-top:11px;}
.rpq-control-section{border:2px solid #cbd5e1;background:linear-gradient(180deg,#fff,#f8fafc);}
.rpq-case-editor.is-controlled .rpq-control-section{border-color:#83bd55;box-shadow:0 0 0 3px rgba(132,194,58,.12);}
.rpq-live-summary{display:grid;gap:4px;padding:13px 15px;border:1px solid #d7e2d1;border-radius:12px;background:var(--rp-surface-subtle);color:var(--rp-text);line-height:1.5;}
.rpq-live-summary strong{font-size:14px;color:#234c1c;}
.rpq-live-summary span{display:block;}
.rpq-live-summary.is-warning{border-color:#f3b27f;background:var(--rp-warning-soft);color:var(--rp-warning-text);}
.rpq-live-summary.is-warning strong{color:var(--rp-warning-text);}
.rpq-editor-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:14px;padding-top:14px;border-top:1px solid var(--rp-line);align-items:center;}
.rpq-editor-actions [data-rpq-check]{min-width:185px;min-height:42px;font-weight:850;}
@media (max-width:1200px){.rpq-address-group>summary{grid-template-columns:1fr 26px;}.rpq-address-group__stats{grid-column:1/-1;justify-content:flex-start;grid-row:2;}.rpq-address-group__toggle{grid-column:2;grid-row:1;}}
@media (max-width:800px){.rpq-address-overview__head,.rpq-address-case__actions,.rpq-category-lane>header{display:grid;}.rpq-group-controls{width:100%;}.rpq-group-controls .button{flex:1;}.rpq-address-group>summary{padding:13px;}.rpq-address-group__body{padding:12px;}.rpq-address-rule{display:grid;}.rpq-address-rule strong{white-space:normal;}.rpq-address-case-grid{grid-template-columns:1fr;}.rpq-address-case__meta>div{grid-template-columns:1fr;}.rpq-address-case__meta dd{text-align:left;}.rpq-visit-edit .rpq-wide,.rpq-visit-edit__head,.rpq-original-values{grid-column:auto;}.rpq-editor-head{display:grid;}.rpq-editor-status{align-items:flex-start;text-align:left;}.rpq-placement-option__top{display:grid;}.rpq-editor-actions .button{width:100%;min-width:0;text-align:center;}}
.rpq-live-summary__head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding-bottom:9px;border-bottom:1px solid #dce7d6;}
.rpq-live-summary__head strong{font-size:15px;}
.rpq-live-summary__head span{font-size:11px;color:var(--rp-muted);font-weight:750;}
.rpq-live-summary__visits{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px;margin-top:4px;}
.rpq-live-summary__visits>div{display:grid;gap:3px;padding:10px 11px;border:1px solid #dce7d6;border-radius:10px;background:var(--rp-surface);}
.rpq-live-summary__visits>div strong{font-size:13px;}
.rpq-live-summary__visits>div span{font-size:12px;color:var(--rp-muted);line-height:1.4;}
.rpq-live-summary__result{display:grid;gap:4px;margin-top:4px;padding:11px 12px;border:1px solid #a9cf84;border-radius:10px;background:#eef8e6;}
.rpq-live-summary__result strong{font-size:13px;}
.rpq-live-summary__result span{color:var(--rp-text);line-height:1.45;}
.rpq-live-summary__result.is-warning{border-color:#f3b27f;background:var(--rp-warning-soft);}
.rpq-live-summary__result.is-warning strong,.rpq-live-summary__result.is-warning span{color:var(--rp-warning-text);}
.rpq-case-editor.is-controlled [data-rpq-check]{border-color:#80ad58;background:#eff8e8;color:#2f5f24;}
.rpq-case-editor.is-controlled [data-rpq-save]{opacity:1;box-shadow:0 0 0 3px rgba(57,126,45,.14);}
.rpq-placement-option:focus-within{outline:3px solid rgba(59,130,246,.22);outline-offset:2px;}
@media (max-width:800px){.rpq-live-summary__head{display:grid;}.rpq-live-summary__visits{grid-template-columns:1fr;}}
.rpq-address-case__buttons{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px;}
.rpq-standalone-trigger{font-weight:850  !important;}
.rpq-standalone-done{border-color:#b9d7a4  !important;background:var(--rp-primary-soft)  !important;color:#2d6423  !important;opacity:1  !important;font-weight:850  !important;}
.rpq-placement-list--standalone-only{grid-template-columns:minmax(280px,680px);}
.rpq-placement-option--standalone{border-color:#a8ce88;background:var(--rp-surface-subtle);}
.rpq-manual-case-row{position:relative;display:grid;grid-template-columns:minmax(0,1fr);gap:7px;max-width:680px;padding:12px 13px;border:1px dashed #b9c7b3;border-radius:11px;background:var(--rp-surface-subtle);}
.rpq-manual-case-row.is-selected{border-style:solid;border-color:var(--rp-primary);background:#f3faec;box-shadow:0 0 0 3px rgba(132,194,58,.11);}
.rpq-manual-case-row label{display:grid;gap:5px;margin:0;}
.rpq-manual-case-row label>span{font-weight:850;color:var(--rp-text);}
.rpq-manual-case-row label>small{color:var(--rp-muted);line-height:1.4;}
.rpq-manual-case-row input[type=number]{width:100%;max-width:300px;min-height:42px;margin-top:2px;border:1px solid var(--rp-line);border-radius:10px;background:var(--rp-surface);padding:8px 10px;}
@media (max-width:800px){
  .rpq-address-case__buttons{display:grid;grid-template-columns:1fr;}
  .rpq-address-case__buttons .button{width:100%;text-align:center;}
  .rpq-placement-list--standalone-only{grid-template-columns:1fr;}
}
.rpq-scope-card h2{margin:3px 0 5px;}
.rpq-scope-card p{margin:0;color:#52624d;}
.rpq-review-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:10px;}
.rpq-audit-review-link{margin:0  !important;border-color:var(--rp-primary-dark)  !important;background:var(--rp-surface)  !important;color:var(--rp-primary-dark)  !important;font-weight:850  !important;}
.rpq-audit-review-link:hover,.rpq-audit-review-link:focus{border-color:var(--rp-button-primary)  !important;background:var(--rp-button-primary)  !important;color:#fff  !important;}
.rpq-table-review-link{display:inline-flex;align-items:center;min-height:23px;margin:5px 5px 0 0;padding:2px 7px;border:1px solid var(--rp-primary-dark);border-radius:999px;font-size:10.5px;font-weight:850;color:var(--rp-primary-dark);text-decoration:none;white-space:nowrap;}
.rpq-table-review-link.is-pending{background:var(--rp-primary-dark);color:#fff;}
.rpq-table-review-link.is-pending:hover,.rpq-table-review-link.is-pending:focus{border-color:var(--rp-button-primary);background:var(--rp-button-primary);color:#fff;text-decoration:none;}
.rpq-table-review-link.is-audit{background:var(--rp-surface);color:var(--rp-primary-dark);}
.rpq-table-review-link.is-audit:hover,.rpq-table-review-link.is-audit:focus{border-color:var(--rp-button-primary);background:var(--rp-button-primary);color:#fff;text-decoration:none;}
.rpq-flow-boxes{display:grid;gap:12px;}
.rpq-flow-box{overflow:hidden;border:1px solid #dce6d7;border-radius:13px;background:#f9fbf8;}
.rpq-flow-box.is-chain{border-color:#91bd70;background:#f4f9ef;box-shadow:0 3px 12px rgba(49,95,36,.07);}
.rpq-flow-box.has-conflict{border-color:#ef9a9a;background:#fff8f8;}
.rpq-flow-box__head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 13px;border-bottom:1px solid #e1eadc;background:var(--rp-surface);}
.rpq-flow-box__head>div{display:flex;align-items:center;gap:7px;flex-wrap:wrap;}
.rpq-flow-box__head>div:first-child{display:grid;gap:2px;}
.rpq-flow-box__head strong{font-size:14px;color:#20351c;}
.rpq-flow-box__head small{font-size:11px;color:var(--rp-muted);}
.rpq-flow-box .rpq-address-case-grid{padding:11px;grid-template-columns:repeat(auto-fit,minmax(315px,1fr));}
.rpq-address-case.is-focused{outline:3px solid rgba(59,130,246,.28);outline-offset:2px;box-shadow:0 0 0 5px rgba(59,130,246,.08);}
.rpq-inline-action-message:empty{display:none;}
.rpq-inline-action-message .notice{margin:0  !important;}
.rpq-save-section{border-color:#98c977;background:linear-gradient(180deg,var(--rp-surface-subtle),#f4faef);}
.rpq-save-section .rpq-save-button,.rpq-editor-actions [data-rpq-save]{min-width:210px;min-height:44px;font-weight:850;}
@media (max-width:800px){.rpq-scope-card,.rpq-flow-box__head{display:grid;}.rpq-flow-box__head>div:last-child{justify-content:flex-start;}.rpq-flow-box .rpq-address-case-grid{grid-template-columns:1fr;}}
.rpq-suggestion-note{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid #cfe4bb;border-radius:11px;background:#f6fbf1;color:#35572a;}
.rpq-suggestion-note strong{font-size:13px;}
.rpq-suggestion-note span{font-size:12px;color:#58704e;text-align:right;}
.rpq-placement-option__badges{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:6px;}
.rpq-placement-option__badges>small{color:var(--rp-muted);font-weight:750;}
@media (max-width:800px){.rpq-suggestion-note{display:grid;}.rpq-suggestion-note span{text-align:left;}.rpq-placement-option__badges{justify-content:flex-start;}}
.rpq-quality-control-card>div:nth-child(2){flex:1;min-width:0;}
.rpq-quality-control-card>.button{margin-left:auto;flex:0 0 auto;white-space:nowrap;}
.rpq-repair-customer-trigger{border-color:#c44  !important;background:var(--rp-danger-soft)  !important;color:#9f1f1f  !important;font-weight:850  !important;}
.rpq-repair-customer-trigger:hover,.rpq-repair-customer-trigger:focus{border-color:#9f1f1f  !important;background:#9f1f1f  !important;color:#fff  !important;}
@media (max-width:800px){.rpq-quality-control-card{display:grid;}.rpq-quality-control-card>.button{width:100%;margin-left:0;text-align:center;}}
.rpq-table td small,.rpq-table th small{display:block;margin-top:3px;color:#68766f;line-height:1.35;white-space:normal;}
.rpq-table td strong+small{min-width:130px;}
.rpq-kpis{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));}
.rpq-flow-chip em{display:inline-flex;align-items:center;width:max-content;max-width:100%;margin-top:2px;padding:3px 6px;border-radius:999px;background:#e8eef3;color:#465569;font-size:9px;font-style:normal;font-weight:900;white-space:normal;}
.rpq-visit-edit__result{display:flex  !important;align-items:flex-start;justify-content:flex-end;gap:6px;flex-wrap:wrap;}
.rpq-visit-result.is-success{background:#dcf5d2;color:#225b1b;}
.rpq-visit-result.is-followup{background:#fff0c9;color:#8a5700;}
.rpq-visit-result.is-neutral{background:#edf1f4;color:#59636d;}
.rpq-visit-result.is-missing{background:#ffe2e2;color:#9b1c1c;}
.rpq-case-result-summary{display:grid;grid-template-columns:repeat(4,minmax(140px,1fr));gap:7px;padding:9px;border:1px solid #dce6d8;border-radius:12px;background:var(--rp-surface-subtle);}
.rpq-case-result-summary>span{display:grid;gap:3px;min-width:0;padding:8px 9px;border-radius:9px;background:var(--rp-surface);color:#66776d;font-size:9.75px;font-weight:800;text-transform:none;letter-spacing:0;}
.rpq-case-result-summary>span strong{color:#263a25;font-size:11.5px;line-height:1.35;text-transform:none;letter-spacing:0;font-weight:900;overflow-wrap:anywhere;}
.rpq-case-result-summary>em{grid-column:1/-1;padding:8px 10px;border-radius:8px;background:var(--rp-danger-soft);color:#a21d1d;font-size:11px;font-style:normal;font-weight:850;}
.rpq-case-result-summary.has-conflict{border-color:#f1aaaa;background:var(--rp-danger-soft);}
@media (max-width:900px){.rpq-case-result-summary{grid-template-columns:repeat(2,minmax(130px,1fr));}}
@media (max-width:560px){.rpq-case-result-summary{grid-template-columns:1fr;}.rpq-visit-edit__result{justify-content:flex-start;}}
.rpq-placement-option--blocked{cursor:not-allowed;border-color:#f0b7b7;background:#fff6f6;color:#9b1c1c;}
.rpq-placement-option--blocked>span:first-child{display:inline-grid;place-items:center;width:20px;height:20px;margin-top:2px;border-radius:999px;background:#c62828;color:#fff;font-weight:950;}
.rpq-placement-option--blocked .rpq-placement-option__body>small{color:var(--rp-danger);}
/*Ren, modelspecifik visning pr. skadedyrstype*/
.rpq-pest-results{display:grid;gap:10px;}
.rpq-pest-result{overflow:hidden;border:1px solid #d7e3d3;border-radius:14px;background:var(--rp-surface);}
.rpq-pest-result>summary{display:grid;grid-template-columns:minmax(220px,1fr) minmax(260px,1.35fr) 28px;align-items:center;gap:14px;padding:14px 15px;cursor:pointer;list-style:none;background:linear-gradient(180deg,var(--rp-surface-subtle),#f5f9f2);}
.rpq-pest-result>summary::-webkit-details-marker{display:none;}
.rpq-pest-result[open]>summary{border-bottom:1px solid #dfe8db;background:var(--rp-surface-subtle);}
.rpq-pest-result__identity{display:grid;gap:2px;min-width:0;}
.rpq-pest-result__identity>span{color:#5b765c;font-size:9px;font-weight:900;letter-spacing:.05em;text-transform:uppercase;}
.rpq-pest-result__identity>strong{color:#183b22;font-size:14px;}
.rpq-pest-result__identity>small{color:#66746b;font-size:10.5px;line-height:1.4;}
.rpq-pest-result__rates{display:flex;justify-content:flex-end;gap:6px;flex-wrap:wrap;}
.rpq-pest-result__rates span{display:inline-flex;align-items:center;min-height:26px;padding:4px 8px;border:1px solid var(--rp-line);border-radius:999px;background:var(--rp-surface);color:#315a31;font-size:10px;font-weight:850;white-space:nowrap;}
.rpq-pest-result__toggle{display:grid;place-items:center;width:28px;height:28px;border-radius:999px;background:var(--rp-surface);color:var(--rp-primary-dark);font-size:20px;font-weight:900;transition:transform .16s ease;}
.rpq-pest-result[open] .rpq-pest-result__toggle{transform:rotate(180deg);}
.rpq-pest-result__body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px;background:var(--rp-surface-subtle);}
@media (max-width:1050px){.rpq-pest-result>summary{grid-template-columns:1fr 28px;}.rpq-pest-result__rates{grid-column:1/-1;grid-row:2;justify-content:flex-start;}.rpq-pest-result__toggle{grid-column:2;grid-row:1;}.rpq-pest-result__body{grid-template-columns:1fr;}}
@media (max-width:600px){.rpq-pest-result__rates span{white-space:normal;}}
/* ======================================================================
   RUTEPLANEN RUNTIME BASELINE — one canonical owner
   ====================================================================== */
body.ruteplanen-ui-runtime{--wp-admin-theme-color:var(--rp-green-600);}
body.ruteplanen-app-entry,body.ruteplanen-app-portal{margin:0;min-height:100dvh;background:var(--rp-bg);color:var(--rp-text);font-family:var(--rp-font);}
.ruteplanen-portal-header{display:flex;align-items:center;gap:24px;padding:14px clamp(14px,3vw,36px);border-bottom:1px solid var(--rp-line);background:var(--rp-surface);box-sizing:border-box;}
.ruteplanen-portal-brand{display:flex;align-items:center;gap:11px;flex:0 0 auto;color:var(--rp-primary-dark);text-decoration:none;font-weight:800;}
.ruteplanen-portal-brand>span{display:grid;gap:3px;font-size:13px;}
.ruteplanen-portal-brand strong{font-size:11px;color:var(--rp-muted);font-weight:550;}
.ruteplanen-portal-nav{display:flex;flex-wrap:wrap;gap:8px;min-width:0;}
.ruteplanen-portal-nav a,.ruteplanen-portal-account button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;box-sizing:border-box;padding:10px 14px;border:1px solid var(--rp-line);border-radius:10px;background:var(--rp-surface);color:var(--rp-text);font:inherit;font-size:13px;font-weight:750;text-decoration:none;cursor:pointer;}
.ruteplanen-portal-nav a[aria-current="page"]{border-color:var(--rp-button-primary);background:var(--rp-button-primary);color:#fff;}
.ruteplanen-portal-header :is(a,button):focus-visible{outline:3px solid var(--rp-primary);outline-offset:3px;}
.ruteplanen-portal-account{display:flex;align-items:center;gap:12px;min-width:0;margin-left:auto;font-size:13px;}
.ruteplanen-portal-account>span{max-width:180px;overflow-wrap:anywhere;}
.ruteplanen-portal-account form{margin:0;}
#ruteplanen-portal-content{min-width:0;}
@media(max-width:760px){.ruteplanen-portal-header{flex-wrap:wrap;gap:12px;}.ruteplanen-portal-nav{order:3;flex-basis:100%;}.ruteplanen-portal-nav a{flex:1;}.ruteplanen-portal-account{gap:8px;}.ruteplanen-portal-account>span{max-width:100px;}}

body.ruteplanen-ui-runtime #wpbody-content{padding-bottom:0;}
body.ruteplanen-ui-runtime .wrap.dsrv.rp-ui{margin:0;width:100%;max-width:none;}
.rp-ui-action-gap{margin-top:12px !important;}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto !important;transition-duration:.01ms !important;animation-duration:.01ms !important;animation-iteration-count:1 !important;}
}

/* ================================================================
 * CANONICAL DIRECT OWNERS for active Admin markup
 * These rules style the actual PHP component classes. They do not rely on
 * JavaScript classification and therefore remain correct during lazy loads.
 * ================================================================ */

body.ruteplanen-ui-runtime .dsrv-economy-search-wrap{position:relative;z-index:1;min-width:min(100%,370px);}
body.ruteplanen-ui-runtime .dsrv-economy-search{width:min(100%,370px);min-height:42px;background:rgba(255,255,255,.94);box-shadow:0 4px 16px rgba(26,70,39,.05);}

body.ruteplanen-ui-runtime .dsrv-economy-overview-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 14px;}

body.ruteplanen-ui-runtime .dsrv-subtabs--economy{display:flex;align-items:center;gap:7px;margin:0 0 14px;padding:7px;overflow-x:auto;border:1px solid rgba(43,75,56,.10);border-radius:14px;background:rgba(255,255,255,.92);box-shadow:0 5px 16px rgba(24,69,38,.045);}
body.ruteplanen-ui-runtime .dsrv-subtabs--economy .rp-ui-tab,body.ruteplanen-ui-runtime .dsrv-subtabs--economy button{min-height:38px;border-radius:10px;white-space:nowrap;}

/* Canonical economy list/table skin — compact and dense. */
body.ruteplanen-ui-runtime .dsrv-economy-bulkbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;margin:0 0 12px!important;padding:11px 13px!important;border:1px solid var(--rp-line)!important;border-radius:14px!important;background:linear-gradient(145deg,#fff,var(--rp-surface-subtle))!important;box-shadow:0 6px 18px rgba(24,69,38,.045)!important;}
body.ruteplanen-ui-runtime .dsrv-economy-bulkbar__copy{min-width:220px!important;}
body.ruteplanen-ui-runtime .dsrv-economy-bulkbar__copy strong{display:block;color:var(--rp-text);font-size:12.5px;font-weight:900;}
body.ruteplanen-ui-runtime .dsrv-economy-bulkbar__copy span{display:block;max-width:640px;margin-top:2px;color:#75827a;font-size:10.5px;line-height:1.4;}
body.ruteplanen-ui-runtime .dsrv-economy-bulkbar__actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:6px!important;flex-wrap:wrap!important;}
body.ruteplanen-ui-runtime .dsrv-economy-list{display:grid!important;gap:9px!important;margin:0!important;padding:0!important;background:transparent!important;}
body.ruteplanen-ui-runtime .dsrv-economy-case-card{display:grid!important;grid-template-columns:minmax(0,1fr) 284px!important;gap:0!important;min-height:0!important;height:auto!important;padding:0!important;overflow:hidden!important;border:1px solid var(--rp-line)!important;border-left:4px solid #50a84e!important;border-radius:15px!important;background:var(--rp-surface)!important;box-shadow:0 5px 16px rgba(24,69,38,.045)!important;transition:border-color .16s ease,box-shadow .16s ease!important;}
body.ruteplanen-ui-runtime .dsrv-economy-case-card:hover{border-color:#a8c99d!important;box-shadow:0 9px 22px rgba(24,69,38,.07)!important;transform:none!important;}
body.ruteplanen-ui-runtime .dsrv-economy-case-card[data-economy-kind="zero"]{border-left-color:#d59a24!important;}
body.ruteplanen-ui-runtime .dsrv-economy-case-main{display:grid!important;grid-template-columns:minmax(0,1fr) 155px!important;align-content:start!important;gap:4px 12px!important;min-width:0!important;padding:13px 15px!important;}
body.ruteplanen-ui-runtime .dsrv-economy-case-title,body.ruteplanen-ui-runtime .dsrv-economy-customer-meta,body.ruteplanen-ui-runtime .dsrv-economy-case-main>.dsrv-muted,body.ruteplanen-ui-runtime .dsrv-economy-pending-note,body.ruteplanen-ui-runtime .dsrv-price-breakdown{grid-column:1!important;}
body.ruteplanen-ui-runtime .dsrv-economy-case-title{display:flex!important;align-items:center!important;gap:7px!important;flex-wrap:wrap!important;margin:0!important;font-size:14px!important;line-height:1.25!important;}
body.ruteplanen-ui-runtime .dsrv-economy-case-title small{display:inline-flex;align-items:center;min-height:21px;padding:1px 7px;border-radius:999px;background:#eef7ec;color:#2c713a;font-size:9px;font-weight:850;}
body.ruteplanen-ui-runtime .dsrv-economy-customer-meta{display:flex!important;gap:4px!important;flex-wrap:wrap!important;margin:1px 0!important;}
body.ruteplanen-ui-runtime .dsrv-economy-customer-meta>span{padding:3px 7px;border-radius:999px;background:#f3f6f4;color:#5f7065;font-size:9px;font-weight:750;}
body.ruteplanen-ui-runtime .dsrv-economy-case-main>.dsrv-muted{margin:0!important;color:#697870!important;font-size:9.7px!important;line-height:1.35!important;}
body.ruteplanen-ui-runtime .dsrv-economy-total-line{grid-column:2!important;grid-row:1/span 5!important;align-self:start!important;display:grid!important;gap:4px!important;margin:0!important;padding:10px!important;border:1px solid #d9e9d5!important;border-radius:12px!important;background:linear-gradient(145deg,#f8fff7,#edf8eb)!important;}
body.ruteplanen-ui-runtime .dsrv-economy-total-line>span{color:#5d6f63;font-size:8px;font-weight:900;letter-spacing:.05em;text-transform:uppercase;}
body.ruteplanen-ui-runtime .dsrv-economy-total-line>strong{color:#176f31;font-size:20px;font-weight:950;letter-spacing:-.025em;}
body.ruteplanen-ui-runtime .dsrv-economy-total-line>.button{justify-self:start;min-height:29px!important;padding:0 9px!important;border-radius:999px!important;font-size:9px!important;}
body.ruteplanen-ui-runtime .dsrv-economy-case-actions{display:grid!important;align-content:start!important;gap:8px!important;min-width:0!important;padding:11px!important;border:0!important;border-left:1px solid #e1e9e3!important;border-radius:0!important;background:linear-gradient(180deg,var(--rp-surface-subtle),#f5f9f6)!important;}
body.ruteplanen-ui-runtime .dsrv-economy-action-label{display:block;margin:0 0 3px;color:#708078;font-size:8px;font-weight:950;letter-spacing:.07em;text-transform:uppercase;}
body.ruteplanen-ui-runtime .dsrv-economy-case-actions__selection,body.ruteplanen-ui-runtime .dsrv-economy-case-actions__buttons,body.ruteplanen-ui-runtime .dsrv-economy-case-actions__invoice{display:grid!important;gap:5px!important;}
body.ruteplanen-ui-runtime .dsrv-economy-case-actions__status{display:flex!important;gap:4px!important;flex-wrap:wrap!important;padding:7px!important;border:1px solid #e3ebe5!important;border-radius:10px!important;background:var(--rp-surface)!important;}
body.ruteplanen-ui-runtime .dsrv-economy-case-actions__status .dsrv-economy-action-label{flex:0 0 100%;}
body.ruteplanen-ui-runtime .dsrv-economy-case-actions .pill{min-height:24px!important;margin:0!important;padding:3px 7px!important;border-radius:999px!important;font-size:8.5px!important;line-height:1.15!important;font-weight:850!important;}
body.ruteplanen-ui-runtime .dsrv-economy-case-actions .button{width:100%!important;min-height:34px!important;margin:0!important;padding:5px 9px!important;border-radius:9px!important;font-size:9.5px!important;line-height:1.2!important;font-weight:850!important;justify-content:center!important;}
body.ruteplanen-ui-runtime .dsrv-economy-select-pill{display:flex!important;align-items:center!important;gap:7px!important;min-height:32px!important;padding:5px 8px!important;border:1px solid var(--rp-line)!important;border-radius:9px!important;background:var(--rp-surface)!important;font-size:9.5px!important;}
body.ruteplanen-ui-runtime .dsrv-economy-case-actions__invoice{padding-top:7px!important;border-top:1px solid #e0e8e2!important;}
body.ruteplanen-ui-runtime .dsrv-price-breakdown{margin-top:6px!important;padding:7px!important;border:1px solid #e3ebe5!important;border-radius:10px!important;background:#fbfcfb!important;}
body.ruteplanen-ui-runtime .dsrv-price-breakdown__row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;padding:6px!important;border-bottom:1px solid #edf1ee!important;font-size:var(--rp-finance-row-font,9.5px)!important;}
body.ruteplanen-ui-runtime .dsrv-price-breakdown__row:last-child{border-bottom:0!important;}

@media(max-width:980px){body.ruteplanen-ui-runtime .dsrv-economy-case-card{grid-template-columns:1fr!important;}body.ruteplanen-ui-runtime .dsrv-economy-case-actions{border-left:0!important;border-top:1px solid #e1e9e3!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;}body.ruteplanen-ui-runtime .dsrv-economy-case-actions__invoice{border-top:0!important;padding-top:0!important;}}
@media(max-width:700px){body.ruteplanen-ui-runtime .dsrv-economy-bulkbar{align-items:stretch!important;flex-direction:column!important;}body.ruteplanen-ui-runtime .dsrv-economy-bulkbar__actions{justify-content:flex-start!important;}body.ruteplanen-ui-runtime .dsrv-economy-case-main{grid-template-columns:1fr!important;}body.ruteplanen-ui-runtime .dsrv-economy-case-title,body.ruteplanen-ui-runtime .dsrv-economy-customer-meta,body.ruteplanen-ui-runtime .dsrv-economy-case-main>.dsrv-muted,body.ruteplanen-ui-runtime .dsrv-economy-pending-note,body.ruteplanen-ui-runtime .dsrv-price-breakdown,body.ruteplanen-ui-runtime .dsrv-economy-total-line{grid-column:1!important;grid-row:auto!important;}body.ruteplanen-ui-runtime .dsrv-economy-case-actions{grid-template-columns:1fr!important;}}

/* ---- Canonical page parity: every active admin surface uses the same UI runtime ---- */
body.ruteplanen-ui-runtime .rp-ui-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 16px;}
body.ruteplanen-ui-runtime .rp-ui-kpi-grid>*{min-width:0;}

body.ruteplanen-ui-runtime .rp-ui-card__intro{color:#6f7d74;font-size:12px;line-height:1.5;}
body.ruteplanen-ui-runtime .rp-ui-action-list{display:grid;gap:8px;}
body.ruteplanen-ui-runtime .rp-ui-action-list>*{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:58px;padding:11px 12px;border:1px solid #e2e9e4;border-radius:12px;background:linear-gradient(145deg,#fff,var(--rp-surface-subtle));}
body.ruteplanen-ui-runtime .rp-ui-badge-list{display:flex;align-items:center;gap:6px;flex-wrap:wrap;}

body.ruteplanen-ui-runtime .dsrv-reports-overview-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 16px;}

body.ruteplanen-ui-runtime .dsrv-reports-search{width:min(100%,390px);}
body.ruteplanen-ui-runtime .dsrv-reports-queue{display:grid;gap:14px;min-height:0;height:auto;}
body.ruteplanen-ui-runtime .dsrv-subtabs--reports{margin-bottom:14px;padding:6px;border:1px solid #e1e8e3;border-radius:13px;background:var(--rp-surface);}

body.ruteplanen-ui-runtime .dsrv-grid--2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
body.ruteplanen-ui-runtime .dsrv-api-usage-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;}
body.ruteplanen-ui-runtime .dsrv-api-usage-grid>div{min-height:78px;padding:11px;border:1px solid #e2e9e4;border-radius:11px;background:linear-gradient(145deg,var(--rp-surface-subtle),#f5f9f6);}
body.ruteplanen-ui-runtime .dsrv-api-usage-grid span{display:block;color:#738078;font-size:10px;font-weight:800;}
body.ruteplanen-ui-runtime .dsrv-api-usage-grid strong{display:block;margin-top:7px;color:#17301f;font-size:20px;}
body.ruteplanen-ui-runtime .dsrv-api-usage-card{overflow:hidden;}

body.ruteplanen-ui-runtime .dsrv-employee-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 14px;}
body.ruteplanen-ui-runtime .dsrv-employee-kpis>*{min-width:0;}
body.ruteplanen-ui-runtime .dsrv-employee-pest-shell,body.ruteplanen-ui-runtime .dsrv-employee-time-overview,body.ruteplanen-ui-runtime .dsrv-employee-details-wrap{border:1px solid #e0e8e2;border-radius:15px;background:var(--rp-surface);box-shadow:0 7px 20px rgba(24,69,38,.045);}
body.ruteplanen-ui-runtime .dsrv-employee-pest-shell{padding:14px;}
body.ruteplanen-ui-runtime .dsrv-employee-time-overview{padding:14px;}
body.ruteplanen-ui-runtime .dsrv-timebank-month-table-wrap{overflow:auto;border:1px solid #e1e8e3;border-radius:12px;background:var(--rp-surface);}
body.ruteplanen-ui-runtime .dsrv-timebank-month-table{width:100%;border-collapse:collapse;}
body.ruteplanen-ui-runtime .dsrv-timebank-month-table th,body.ruteplanen-ui-runtime .dsrv-timebank-month-table td{padding:9px 10px;border-bottom:1px solid #edf1ee;text-align:left;}

body.ruteplanen-ui-runtime .dsrv-tasks-page{display:grid;gap:14px;}
body.ruteplanen-ui-runtime .dsrv-task-buckets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;align-items:start;}
body.ruteplanen-ui-runtime .dsrv-task-bucket-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 8px;padding:11px 12px;border:1px solid #e2e9e4;border-radius:12px;background:linear-gradient(145deg,#fff,#f7faf8);}
body.ruteplanen-ui-runtime .dsrv-task-card-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:11px;}
body.ruteplanen-ui-runtime .dsrv-task-badges{display:flex;gap:5px;flex-wrap:wrap;}
body.ruteplanen-ui-runtime .dsrv-task-summaryline{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:#6d7b72;font-size:11px;}

body.ruteplanen-ui-runtime .dsrv-route-main-col{min-width:0;}
body.ruteplanen-ui-runtime .dsrv-route-main-map--empty{display:grid;min-height:240px;place-items:center;border:1px dashed #cddbd0;border-radius:14px;background:linear-gradient(145deg,#fafdfa,#f1f6f2);color:#78867d;font-weight:700;}
body.ruteplanen-ui-runtime .dsrv-route-start-card__body{display:grid;gap:9px;}
body.ruteplanen-ui-runtime .dsrv-route-start-time{font-size:22px;font-weight:900;color:#1e6f33;}

body.ruteplanen-ui-runtime .rp-icon-library-card,body.ruteplanen-ui-runtime .rp-icon-mapping-card,body.ruteplanen-ui-runtime .rp-consideration-settings{border:1px solid rgba(48,80,61,.11);border-radius:16px;background:var(--rp-surface);box-shadow:0 8px 24px rgba(24,70,38,.055);}
body.ruteplanen-ui-runtime .rp-icon-studio-notice{border-radius:12px;overflow:hidden;}

@media (max-width:1180px){
  body.ruteplanen-ui-runtime .rp-ui-kpi-grid,body.ruteplanen-ui-runtime .dsrv-reports-overview-strip,body.ruteplanen-ui-runtime .dsrv-employee-kpis{grid-template-columns:repeat(2,minmax(0,1fr));}
  body.ruteplanen-ui-runtime .dsrv-api-usage-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media (max-width:760px){
  body.ruteplanen-ui-runtime .rp-ui-kpi-grid,body.ruteplanen-ui-runtime .dsrv-reports-overview-strip,body.ruteplanen-ui-runtime .dsrv-employee-kpis,body.ruteplanen-ui-runtime .dsrv-api-usage-grid,body.ruteplanen-ui-runtime .dsrv-task-buckets,body.ruteplanen-ui-runtime .dsrv-grid--2{grid-template-columns:1fr;}
}

/* Customer visit flow: latest visit first, compact history on demand. */
.dsrv-panel[data-panel="kunder"] .rp-customer-case-flow{display:grid!important;grid-template-columns:92px minmax(0,1fr)!important;gap:12px!important;align-items:start!important;padding:4px 0 12px!important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-case-flow__summary{display:grid!important;gap:8px!important;min-width:0!important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-visit-latest{display:flex!important;align-items:center!important;gap:7px!important;flex-wrap:wrap!important;min-width:0!important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-visit-latest__meta{color:#56695c!important;font-size:10.5px!important;font-weight:760!important;line-height:1.35!important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-visit-latest .pill,.dsrv-panel[data-panel="kunder"] .rp-customer-visit-history .pill{min-height:24px!important;padding:4px 9px!important;font-size:10.5px!important;line-height:1.15!important;}

.dsrv-panel[data-panel="kunder"] .rp-customer-visit-history{position:relative!important;margin:0!important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-visit-history>summary{display:inline-flex!important;align-items:center!important;gap:7px!important;min-height:30px!important;height:30px!important;margin:0!important;padding:0 10px!important;border:1px solid #d7e4d5!important;border-radius:9px!important;background:var(--rp-surface)!important;color:#2f5f37!important;font-size:10.5px!important;font-weight:900!important;list-style:none!important;cursor:pointer!important;box-shadow:0 4px 10px color-mix(in srgb,var(--rp-primary-dark) 4%,transparent)!important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-visit-history>summary::-webkit-details-marker{display:none!important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-visit-history>summary:hover,.dsrv-panel[data-panel="kunder"] .rp-customer-visit-history>summary:focus-visible{border-color:#a8caa1!important;background:var(--rp-surface-subtle)!important;color:var(--rp-primary-dark)!important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-visit-history[open]>summary .rp-icon{transform:rotate(180deg)!important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-visit-history__list{display:grid!important;gap:7px!important;margin-top:8px!important;padding:9px!important;border:1px solid var(--rp-line)!important;border-radius:13px!important;background:var(--rp-surface-subtle)!important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-visit-history__row{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;gap:9px!important;align-items:center!important;padding:8px 9px!important;border:1px solid var(--rp-line)!important;border-radius:11px!important;background:var(--rp-surface)!important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-visit-history__identity{display:flex!important;align-items:center!important;gap:7px!important;flex-wrap:wrap!important;min-width:0!important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-visit-history__identity strong{color:#213b29!important;font-size:10.5px!important;font-weight:900!important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-visit-history__identity small{color:var(--rp-muted)!important;font-size:9.5px!important;font-weight:700!important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-visit-history__no-report{color:#7a877e!important;font-size:9.5px!important;font-weight:800!important;white-space:nowrap!important;}
@media(max-width:720px){
  .dsrv-panel[data-panel="kunder"] .rp-customer-case-flow{grid-template-columns:1fr!important;}
  .dsrv-panel[data-panel="kunder"] .rp-customer-visit-history__row{grid-template-columns:1fr!important;align-items:start!important;}
}

/* ======================================================================
   MODAL WORKSPACE — canonical task/report navigation and context
   ====================================================================== */
body>.dsrv-modal.rp-ui-modal .rp-modal-contextbar{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:66px;padding:13px 15px;border:1px solid var(--rp-line);border-radius:14px;background:linear-gradient(145deg,var(--rp-surface) 0,color-mix(in srgb,var(--rp-primary) 6%,var(--rp-surface-subtle) 94%) 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.65),0 7px 18px color-mix(in srgb,var(--rp-primary-dark) 6%,transparent);}
body>.dsrv-modal.rp-ui-modal .rp-modal-contextbar__identity{display:flex;align-items:center;gap:11px;min-width:0;}
body>.dsrv-modal.rp-ui-modal .rp-modal-contextbar__copy,body>.dsrv-modal.rp-ui-modal .rp-modal-contextbar__identity>div{display:grid;gap:3px;min-width:0;}
body>.dsrv-modal.rp-ui-modal .rp-modal-contextbar strong{color:var(--rp-text);font-size:13px;line-height:1.3;font-weight:850;}
body>.dsrv-modal.rp-ui-modal .rp-modal-contextbar__copy>span,body>.dsrv-modal.rp-ui-modal .rp-modal-contextbar__identity>div>span{color:var(--rp-muted);font-size:11px;line-height:1.45;font-weight:600;}
body>.dsrv-modal.rp-ui-modal .rp-modal-contextbar__meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px;}
body>.dsrv-modal.rp-ui-modal .rp-modal-contextbar__meta>span{display:inline-flex;align-items:center;gap:5px;min-height:27px;padding:4px 8px;border:1px solid var(--rp-line);border-radius:999px;background:color-mix(in srgb,var(--rp-surface) 82%,transparent);color:var(--rp-text);font-size:10px;font-weight:700;}
body>.dsrv-modal.rp-ui-modal .rp-modal-contextbar__status{display:inline-flex;align-items:center;justify-content:center;min-width:max-content;min-height:29px;padding:5px 10px;border:1px solid color-mix(in srgb,var(--rp-primary) 30%,var(--rp-line) 70%);border-radius:999px;background:color-mix(in srgb,var(--rp-primary) 10%,var(--rp-surface) 90%);color:var(--rp-primary-dark);font-size:10px;font-weight:850;letter-spacing:.025em;}
body>.dsrv-modal.rp-ui-modal .rp-modal-contextbar__status.is-new{border-color:var(--rp-success-line);background:var(--rp-success-soft);color:var(--rp-success);}
body>.dsrv-modal.rp-ui-modal .rp-modal-contextbar__status.is-edit{border-color:var(--rp-info-line);background:var(--rp-info-soft);color:var(--rp-info);}
body>.dsrv-modal.rp-ui-modal .rp-modal-contextbar__status.pill-yellow,body>.dsrv-modal.rp-ui-modal .rp-modal-contextbar__status.is-pending{border-color:var(--rp-warning-line);background:var(--rp-warning-soft);color:var(--rp-warning-text);}
body>.dsrv-modal.rp-ui-modal .rp-modal-contextbar__status.pill-success,body>.dsrv-modal.rp-ui-modal .rp-modal-contextbar__status.is-approved,body>.dsrv-modal.rp-ui-modal .rp-modal-contextbar__status.is-sent{border-color:var(--rp-success-line);background:var(--rp-success-soft);color:var(--rp-success);}
body>.dsrv-modal.rp-ui-modal .rp-modal-section-marker{height:1px;min-height:1px;padding:0 !important;margin:0 !important;border:0 !important;background:transparent !important;box-shadow:none !important;scroll-margin-top:14px;}
body>.dsrv-modal.rp-ui-modal .dsrv-task-flow-summary{margin:0 0 2px;padding:11px 12px;border-color:var(--rp-line);background:linear-gradient(145deg,var(--rp-surface),color-mix(in srgb,var(--rp-primary) 5%,var(--rp-surface-subtle) 95%));box-shadow:inset 0 1px 0 rgba(255,255,255,.88);}
body>.dsrv-modal.rp-ui-modal .dsrv-task-flow-summary>div{min-width:0;padding:2px 4px;}
body>.dsrv-modal.rp-ui-modal .dsrv-task-flow-summary strong{font-size:10px;text-transform:uppercase;letter-spacing:.055em;color:var(--rp-muted);}
body>.dsrv-modal.rp-ui-modal .dsrv-task-flow-summary span{margin-top:3px;overflow:hidden;color:var(--rp-text);font-size:11px;font-weight:720;text-overflow:ellipsis;white-space:nowrap;}

/* ======================================================================
   CANONICAL MODAL RESPONSIVE CONTRACT
   One responsive owner for shell, section rail and sticky actions.
   ====================================================================== */
@media (max-width:960px){
body>.dsrv-modal.rp-ui-modal .rp-modal-form-makeover{grid-template-columns:1fr!important;grid-template-rows:auto auto!important;}
body>.dsrv-modal.rp-ui-modal .rp-modal-form-makeover>:not(input[type="hidden"]):not(.rp-modal-section-nav),body>.dsrv-modal.rp-ui-modal .rp-modal-form-makeover>.rp-modal-contextbar,body>.dsrv-modal.rp-ui-modal .rp-modal-form-makeover>.rp-modal-form-main{grid-column:1!important;}
body>.dsrv-modal.rp-ui-modal .rp-modal-form-makeover>.rp-modal-form-main{grid-row:2!important;}
body>.dsrv-modal.rp-ui-modal .rp-modal-section-nav{grid-column:1  !important;grid-row:auto  !important;position:sticky  !important;top:-20px  !important;z-index:8  !important;display:flex  !important;width:100%  !important;max-width:100%  !important;box-sizing:border-box  !important;gap:6px  !important;overflow-x:auto  !important;overscroll-behavior-inline:contain  !important;scroll-snap-type:x proximity  !important;padding:8px 0  !important;border-width:0 0 1px  !important;border-radius:0  !important;background:rgba(255,255,255,.96)  !important;box-shadow:none  !important;scrollbar-width:none  !important;backdrop-filter:blur(12px)  !important;}
body>.dsrv-modal.rp-ui-modal .rp-modal-section-nav::-webkit-scrollbar{display:none;}
body>.dsrv-modal.rp-ui-modal .rp-modal-section-nav__label{display:none  !important;}
body>.dsrv-modal.rp-ui-modal .rp-modal-section-nav__item{width:auto  !important;min-width:max-content  !important;grid-template-columns:29px auto  !important;padding:5px 9px  !important;scroll-snap-align:start  !important;}
body>.dsrv-modal.rp-ui-modal .rp-modal-section-nav__item::before{display:none;}
body>.dsrv-modal.rp-ui-modal .rp-modal-section-nav__icon{width:29px  !important;height:29px  !important;}
body>.dsrv-modal.rp-ui-modal .rp-modal-contextbar{padding:11px 12px;}
body>.dsrv-modal.rp-ui-modal .rp-modal-contextbar__status{display:none;}
body>.dsrv-modal.rp-ui-modal .rp-modal-section-nav__copy small{display:none;}
body>.dsrv-modal.rp-ui-modal .rp-modal-section-nav__copy strong{font-size:11px;}
}
@media (max-width:782px){
body>.dsrv-modal.rp-ui-modal{padding:0  !important;align-items:stretch  !important;overflow:hidden  !important;}
body>.dsrv-modal.rp-ui-modal .dsrv-modal-card,body>.dsrv-modal.rp-ui-modal--small .dsrv-modal-card,body>.dsrv-modal.rp-ui-modal--medium .dsrv-modal-card,body>.dsrv-modal.rp-ui-modal--large .dsrv-modal-card,body>.dsrv-modal.rp-ui-modal--wide .dsrv-modal-card{width:100vw  !important;max-width:none  !important;height:100dvh  !important;max-height:none  !important;border:0  !important;border-radius:0  !important;}
body>.dsrv-modal.rp-ui-modal .dsrv-modal-head{min-height:58px  !important;padding:12px 14px  !important;}
body>.dsrv-modal.rp-ui-modal .rp-ui-modal__body{padding:14px 12px 18px  !important;overflow-y:auto  !important;overflow-x:hidden  !important;}
body>.dsrv-modal.rp-ui-modal .rp-ui-modal__foot{padding:10px 12px  !important;display:grid  !important;grid-template-columns:repeat(2,minmax(0,1fr))  !important;gap:8px  !important;}
body>.dsrv-modal.rp-ui-modal .rp-ui-modal__foot>*{width:100%  !important;min-width:0  !important;justify-content:center  !important;margin:0  !important;}
body>.dsrv-modal.rp-ui-modal .dsrv-form-actions{bottom:-14px  !important;display:grid  !important;grid-template-columns:repeat(2,minmax(0,1fr))  !important;gap:8px  !important;}
body>.dsrv-modal.rp-ui-modal .dsrv-form-actions .button{width:100%  !important;min-width:0  !important;justify-content:center  !important;}
body>.dsrv-modal.rp-ui-modal .dsrv-form-actions .dsrv-modal-cancel{margin-right:0  !important;}
body>.dsrv-modal.rp-ui-modal .dsrv-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),body>.dsrv-modal.rp-ui-modal .dsrv-form select,body>.dsrv-modal.rp-ui-modal .dsrv-form textarea{font-size:16px!important;}
}
@media (max-width:600px){
body>.dsrv-modal.rp-ui-modal .rp-modal-section-nav{top:-14px  !important;}
}

/* Canonical task line price + compact action controls. */
.dsrv-task-field-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 8px;}
.dsrv-task-field-head>label{margin:0!important;}
.dsrv-task-line-price{display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:3px 8px;border:1px solid #cfe4c8;border-radius:999px;background:#f2faee;color:#28672b;font-size:10px;font-weight:900;line-height:1;white-space:nowrap;}
.dsrv-form[data-entity="report"] .dsrv-outcome-card__icon{grid-row:1/3;display:flex;align-items:center;justify-content:center;}
.dsrv-form[data-entity="report"] .dsrv-outcome-card__icon .rp-ui-icon-tile{width:32px;height:32px;border-radius:10px;}
.dsrv-form-actions .button .rp-ui-icon{flex:0 0 auto;}

/* === CANONICAL TASK WORKFLOW === */
body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="task"] .dsrv-task-booking-section{
  border:1px solid rgba(16,185,129,.20)!important;
  background:linear-gradient(145deg,#ffffff 0%,#fbfffd 58%,var(--rp-success-soft) 100%)!important;
  box-shadow:0 18px 45px rgba(15,23,42,.07),inset 0 1px 0 rgba(255,255,255,.9)!important;
}
body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="task"] .dsrv-plan-choice-grid{
  gap:9px!important;margin:12px 0 14px!important;
}
body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="task"] .dsrv-choice-card--plan{
  position:relative;display:block;min-width:0;cursor:pointer;
}
body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="task"] .dsrv-choice-card--plan .dsrv-choice-card__icon{display:flex;align-items:center;justify-content:center;align-self:center;}
body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="task"] .dsrv-choice-card--plan .dsrv-choice-card__icon .rp-ui-icon-tile{width:32px;height:32px;border-radius:10px;box-shadow:inset 0 1px 0 rgba(255,255,255,.88),0 4px 10px rgba(21,55,32,.06);}
body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="task"] .dsrv-choice-card--plan .dsrv-choice-card__copy{display:block;min-width:0;}
body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="task"] .dsrv-choice-card--plan.is-selected .dsrv-choice-card__icon .rp-ui-icon-tile,body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="task"] .dsrv-choice-card--plan:has(input:checked) .dsrv-choice-card__icon .rp-ui-icon-tile{border-color:color-mix(in srgb,var(--rp-primary) 36%,var(--rp-line) 64%);background:linear-gradient(145deg,color-mix(in srgb,var(--rp-primary) 15%,var(--rp-surface) 85%),var(--rp-primary-soft));box-shadow:inset 0 1px 0 var(--rp-surface),0 8px 16px color-mix(in srgb,var(--rp-primary-dark) 10%,transparent);}
body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="task"] .dsrv-choice-card--plan .dsrv-choice-card-body{
  min-height:64px;display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:center!important;gap:9px!important;
  padding:8px 38px 8px 9px!important;border:1px solid #dfe8e3!important;border-radius:13px!important;
  background:var(--rp-surface)!important;
  box-shadow:0 4px 12px rgba(15,23,42,.035),inset 0 1px 0 rgba(255,255,255,.95)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease,background .16s ease!important;
}
body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="task"] .dsrv-choice-card--plan:hover .dsrv-choice-card-body{
  transform:translateY(-1px);border-color:#9fd7b5!important;box-shadow:0 8px 18px rgba(15,23,42,.065)!important;
}
body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="task"] .dsrv-choice-card--plan input:checked+.dsrv-choice-card-body{
  border-color:#22a85a!important;background:linear-gradient(145deg,#f4fdf5 0%,#ffffff 100%)!important;
  box-shadow:inset 0 0 0 1px rgba(34,168,90,.14),0 7px 16px rgba(22,101,52,.08)!important;
  transform:none;
}
body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="task"] .dsrv-choice-card--plan input:checked+.dsrv-choice-card-body:after{
  content:"✓";position:absolute;right:10px;top:10px;width:20px;height:20px;border-radius:999px;
  display:flex;align-items:center;justify-content:center;background:#15803d;color:#fff;font-size:12px;font-weight:900;
  box-shadow:none;
}
body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="task"] .dsrv-choice-card--plan .dsrv-choice-card__copy strong{
  display:block;color:#14261f!important;font-size:11.5px!important;line-height:1.18!important;padding-right:0;text-transform:none!important;letter-spacing:0!important;
}
body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="task"] .dsrv-choice-card--plan .dsrv-choice-card__copy small{
  display:block;margin-top:2px;color:#60716a!important;font-size:9px!important;line-height:1.3!important;font-weight:650!important;
}
@media(max-width:900px){body>.dsrv-modal.rp-ui-modal .dsrv-form[data-entity="task"] .dsrv-plan-choice-grid--triple{grid-template-columns:1fr!important;}}
@media(max-width:720px){
  .rp-emp-ui .rp-emp-care-grid.rp-care-cols-2,.rp-emp-ui .rp-emp-care-grid.rp-care-cols-3,.rp-emp-ui .rp-emp-care-grid.rp-care-cols-4,.rp-emp-ui .rp-emp-care-grid.rp-care-cols-5{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:420px){
  .rp-emp-ui .rp-emp-care-grid.rp-care-cols-2,.rp-emp-ui .rp-emp-care-grid.rp-care-cols-3,.rp-emp-ui .rp-emp-care-grid.rp-care-cols-4,.rp-emp-ui .rp-emp-care-grid.rp-care-cols-5{grid-template-columns:1fr!important;}
}

/* ======================================================================
   CANONICAL PAGE FINISH — CURRENT
   One page-specific finish layer. Old 1.43 finish was removed, not stacked.
   ====================================================================== */

/* Shared search contract: same alignment on every page and in every hero. */
.dsrv.rp-ui .rp-cover-search{position:relative!important;display:flex!important;align-items:center!important;min-width:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;}
.dsrv.rp-ui .rp-cover-search__icon{position:absolute!important;z-index:3!important;left:6px!important;top:50%!important;transform:translateY(-50%)!important;display:grid!important;place-items:center!important;width:31px!important;height:31px!important;border:1px solid var(--rp-line)!important;border-radius:9px!important;background:linear-gradient(180deg,#fbfff9,var(--rp-primary-soft))!important;color:var(--rp-primary-dark)!important;box-shadow:0 4px 10px rgba(22,68,34,.07)!important;pointer-events:none!important;}
.dsrv.rp-ui .rp-cover-search__icon .rp-icon{width:16px!important;height:16px!important;}
.dsrv.rp-ui .rp-cover-search input[type="search"],.dsrv.rp-ui .rp-cover-search input[type="text"]{width:100%!important;min-width:0!important;min-height:44px!important;margin:0!important;padding:0 14px 0 46px!important;border:1px solid #cfdccf!important;border-radius:13px!important;background:var(--rp-surface)!important;color:var(--rp-text)!important;font-size:12px!important;font-weight:720!important;line-height:1!important;box-shadow:0 7px 18px rgba(22,68,34,.06)!important;}
.dsrv.rp-ui .rp-cover-search input:focus{border-color:#7fba68!important;box-shadow:0 0 0 3px rgba(114,189,56,.15),0 9px 20px rgba(22,68,34,.07)!important;outline:0!important;}
.rp-page-cover__actions .rp-cover-search__icon{border-color:color-mix(in srgb,var(--rp-primary) 22%,rgba(255,255,255,.9))!important;background:color-mix(in srgb,var(--rp-primary) 6%,rgba(255,255,255,.97))!important;}
.rp-page-cover__actions .rp-cover-search input[type="search"],.rp-page-cover__actions .rp-cover-search input[type="text"]{border-color:rgba(255,255,255,.44)!important;background:rgba(255,255,255,.97)!important;box-shadow:0 10px 24px rgba(0,0,0,.14)!important;}

/* Overview: compact economy dashboard with totals + one shared weekly comparison chart. */
.dsrv-panel[data-panel="overblik"] .dsrv-overview-secondary-card{margin:0 0 20px!important;padding:20px!important;border:1px solid var(--rp-line)!important;border-radius:22px!important;background:linear-gradient(180deg,#fff,var(--rp-surface-subtle))!important;box-shadow:0 14px 34px rgba(18,57,31,.06)!important;}
.dsrv-panel[data-panel="overblik"] .dsrv-overview-secondary-card__head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;margin-bottom:15px!important;}
.dsrv-panel[data-panel="overblik"] .rp-overview-week-pill{display:inline-flex!important;align-items:center!important;min-height:34px!important;padding:0 12px!important;border:1px solid #cfe1c8!important;border-radius:999px!important;background:var(--rp-primary-soft)!important;color:#2e6332!important;font-size:10px!important;font-weight:900!important;white-space:nowrap!important;box-shadow:0 5px 12px color-mix(in srgb,var(--rp-primary-dark) 4%,transparent)!important;}
.dsrv-panel[data-panel="overblik"] .rp-overview-money-totals{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;margin-bottom:14px!important;}
.dsrv-panel[data-panel="overblik"] .rp-overview-money-total{appearance:none!important;position:relative!important;display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center!important;gap:12px!important;min-width:0!important;min-height:96px!important;padding:14px 15px!important;border:1px solid var(--rp-line)!important;border-radius:18px!important;background:linear-gradient(145deg,#fff,#f6faf3)!important;color:var(--rp-text)!important;text-align:left!important;cursor:pointer!important;box-shadow:0 10px 24px rgba(18,57,31,.055)!important;overflow:hidden!important;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease!important;}
.dsrv-panel[data-panel="overblik"] .rp-overview-money-total:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:linear-gradient(180deg,#78c84b,#2f7b35);}
.dsrv-panel[data-panel="overblik"] .rp-overview-money-total.is-planned:before{background:linear-gradient(180deg,#65b9a2,#207d69);}
.dsrv-panel[data-panel="overblik"] .rp-overview-money-total.is-upcoming:before{background:linear-gradient(180deg,#78aef0,#326eb7);}
.dsrv-panel[data-panel="overblik"] .rp-overview-money-total:hover,.dsrv-panel[data-panel="overblik"] .rp-overview-money-total:focus{transform:translateY(-2px)!important;border-color:#9fca8e!important;box-shadow:0 16px 32px color-mix(in srgb,var(--rp-primary-dark) 10%,transparent)!important;outline:0!important;}
.rp-overview-money-total__icon .rp-ui-icon-tile{width:48px!important;height:48px!important;flex-basis:48px!important;border-radius:15px!important;box-shadow:0 8px 18px rgba(18,57,31,.08)!important;}
.rp-overview-money-total__copy{display:grid;gap:3px;min-width:0;}
.rp-overview-money-total__copy small{color:#527059;font-size:9px;font-weight:950;letter-spacing:.09em;text-transform:uppercase;}
.rp-overview-money-total__copy strong{color:var(--rp-text);font-size:27px;font-weight:950;line-height:1.05;letter-spacing:-.035em;}
.rp-overview-money-total__copy em{overflow:hidden;color:var(--rp-muted);font-size:10px;font-style:normal;font-weight:650;line-height:1.4;text-overflow:ellipsis;white-space:nowrap;}
.rp-overview-money-total__arrow{display:grid;place-items:center;width:32px;height:32px;border:1px solid #dce8d8;border-radius:999px;background:var(--rp-surface);color:#37733d;}
.dsrv-panel[data-panel="overblik"] .dsrv-overview-revenue-foot{display:grid!important;grid-template-columns:minmax(220px,.75fr) minmax(0,1.25fr)!important;gap:12px!important;align-items:stretch!important;margin-top:13px!important;}
.dsrv-panel[data-panel="overblik"] .dsrv-overview-revenue-foot>button{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"label value" "meta meta";align-items:center;gap:2px 12px;min-height:58px;padding:10px 12px;border:1px solid var(--rp-line);border-radius:15px;background:var(--rp-surface);color:var(--rp-text);text-align:left;cursor:pointer;box-shadow:0 7px 16px color-mix(in srgb,var(--rp-primary-dark) 4%,transparent);}
.dsrv-panel[data-panel="overblik"] .dsrv-overview-revenue-foot>button:hover,.dsrv-panel[data-panel="overblik"] .dsrv-overview-revenue-foot>button:focus{border-color:#9fca8e;background:var(--rp-surface-subtle);outline:0;}
.dsrv-panel[data-panel="overblik"] .dsrv-overview-revenue-foot>button span{grid-area:label;color:#53705b;font-size:9px;font-weight:950;text-transform:uppercase;letter-spacing:.07em;}
.dsrv-panel[data-panel="overblik"] .dsrv-overview-revenue-foot>button strong{grid-area:value;color:var(--rp-text);font-size:19px;font-weight:950;}
.dsrv-panel[data-panel="overblik"] .dsrv-overview-revenue-foot>button small{grid-area:meta;color:#7a877f;font-size:9px;font-weight:700;}
.rp-overview-upcoming-breakdown{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;}
.rp-overview-upcoming-breakdown span{display:grid;gap:3px;align-content:center;min-height:58px;padding:9px 10px;border:1px solid #e2ebe0;border-radius:14px;background:linear-gradient(180deg,#fff,var(--rp-surface-subtle));color:#24452d;font-size:12px;font-weight:950;}
.rp-overview-upcoming-breakdown b{color:#708078;font-size:8.5px;font-weight:950;text-transform:uppercase;letter-spacing:.07em;}
@media(max-width:1050px){.dsrv-panel[data-panel="overblik"] .rp-overview-money-totals{grid-template-columns:1fr 1fr!important;}.dsrv-panel[data-panel="overblik"] .rp-overview-money-total.is-upcoming{grid-column:1/-1;}.dsrv-panel[data-panel="overblik"] .dsrv-overview-revenue-foot{grid-template-columns:1fr!important;}}
@media(max-width:720px){.dsrv-panel[data-panel="overblik"] .dsrv-overview-secondary-card__head{display:grid!important;}.dsrv-panel[data-panel="overblik"] .rp-overview-money-totals{grid-template-columns:1fr!important;}.dsrv-panel[data-panel="overblik"] .rp-overview-money-total.is-upcoming{grid-column:auto;}.rp-overview-upcoming-breakdown{grid-template-columns:1fr 1fr 1fr;}}
@media(max-width:480px){.rp-overview-upcoming-breakdown{grid-template-columns:1fr;}.rp-overview-money-total__copy em{white-space:normal;}}

/* Employees: one premium admin card owner. */
.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-time-overview{padding:20px!important;border:1px solid var(--rp-line)!important;border-radius:22px!important;background:linear-gradient(180deg,#fff,var(--rp-surface-subtle))!important;box-shadow:0 15px 34px rgba(18,57,31,.055)!important;}
.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-module-tabs{display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin-top:13px!important;}
.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-module-tabs span,.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-period-pills span{display:inline-flex!important;align-items:center!important;min-height:34px!important;padding:0 12px!important;border:1px solid var(--rp-line)!important;border-radius:999px!important;background:var(--rp-surface)!important;color:#2c5034!important;font-size:10.5px!important;font-weight:900!important;box-shadow:none!important;}
.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-period-pills{display:flex!important;flex-wrap:wrap!important;justify-content:flex-end!important;gap:8px!important;}
.dsrv-panel[data-panel="medarbejdere"] .dsrv-list{display:grid!important;gap:18px!important;}
.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-final-card{display:grid!important;border:1px solid #d5e3d3!important;overflow:hidden!important;}
.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-final-card__main{display:grid!important;min-width:0!important;align-items:start!important;}
.dsrv-panel[data-panel="medarbejdere"] .rp-ui-employee-avatar{color:#246b2a!important;font-weight:950!important;}
.dsrv-panel[data-panel="medarbejdere"] .rp-ui-employee-avatar img{width:100%!important;height:100%!important;object-fit:cover!important;}

.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-summary-status{margin-top:10px!important;padding:9px!important;border:1px solid var(--rp-line)!important;border-radius:14px!important;background:var(--rp-surface-subtle)!important;}
.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-quick-stats{margin-top:11px!important;max-width:none!important;}
.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-quick-stats>div{position:relative!important;display:grid!important;gap:3px!important;align-content:start!important;box-shadow:none!important;overflow:hidden!important;}
.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-quick-stats>div:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:linear-gradient(180deg,#77c958,#3a893a);}
.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-quick-stats span{line-height:1.25!important;}
.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-quick-stats strong{line-height:1.2!important;}
.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-access-strip{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;margin-top:10px!important;}
.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-access-strip span{display:flex!important;flex-direction:column!important;gap:3px!important;min-height:55px!important;padding:9px 10px!important;border:1px solid var(--rp-line)!important;border-radius:13px!important;background:var(--rp-surface)!important;color:var(--rp-primary-dark)!important;font-size:10.5px!important;box-shadow:none!important;}

.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-final-card__actions{align-self:start!important;display:grid!important;gap:8px!important;border:1px solid var(--rp-line)!important;box-shadow:none!important;}
.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-final-card__actions .button{width:100%!important;min-width:0!important;white-space:normal!important;line-height:1.15!important;}
.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-final-card__action-help{grid-column:1/-1!important;padding:9px 10px!important;border:1px solid #e2e9e0!important;border-radius:12px!important;background:var(--rp-surface)!important;line-height:1.45!important;}
.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-details-wrap{grid-column:1/-1!important;min-width:0!important;}
.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-details--calendar,.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-details--pests{margin-top:2px!important;width:100%!important;}
.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-calendar-shell,.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-pest-shell{padding:17px!important;border:1px solid var(--rp-line)!important;border-radius:18px!important;background:linear-gradient(180deg,#fff,var(--rp-surface-subtle))!important;box-shadow:none!important;}
.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-time-calendar{width:100%!important;min-width:680px!important;}
.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-pest-overview{display:grid!important;gap:12px!important;}
.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-pest-overview__intro{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:12px!important;align-items:center!important;padding:12px 14px!important;border:1px solid #e0ebdc!important;border-radius:16px!important;background:var(--rp-surface-subtle)!important;}
.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-pest-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important;gap:10px!important;}
.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-pest-card{border:1px solid #e0ebdc!important;border-radius:16px!important;background:var(--rp-surface)!important;padding:13px 12px!important;min-height:88px!important;display:grid!important;place-items:center!important;text-align:center!important;gap:4px!important;}
@media(max-width:1180px){.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-final-card{grid-template-columns:1fr!important;}.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-final-card__actions{grid-template-columns:repeat(3,minmax(140px,1fr))!important;}}
@media(max-width:820px){.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-quick-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;}.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-access-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important;}.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-final-card__actions{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
@media(max-width:620px){.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-final-card__main{grid-template-columns:1fr!important;}.dsrv-panel[data-panel="medarbejdere"] .rp-ui-employee-avatar{width:72px!important;height:72px!important;min-width:72px!important;}.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-final-card__actions{grid-template-columns:1fr!important;}}

/* Quality: modern result cards with clear identities and result-model groups. */
.dsrv-panel[data-panel="kvalitet"] .rpq-panel{gap:20px!important;}
.dsrv-panel[data-panel="kvalitet"] .rpq-filter-card{padding:19px!important;border:1px solid var(--rp-line)!important;border-radius:22px!important;background:linear-gradient(180deg,#fff,var(--rp-surface-subtle))!important;box-shadow:0 14px 32px rgba(18,57,31,.06)!important;}
.dsrv-panel[data-panel="kvalitet"] .rpq-filter-grid>label{padding:12px!important;border:1px solid var(--rp-line)!important;border-radius:15px!important;background:var(--rp-surface)!important;box-shadow:0 6px 15px rgba(18,57,31,.035)!important;}
.dsrv-panel[data-panel="kvalitet"] .rpq-rule-card{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center!important;gap:15px!important;padding:16px 18px!important;border:1px solid var(--rp-line)!important;border-radius:19px!important;background:linear-gradient(180deg,#fff,var(--rp-surface-subtle))!important;box-shadow:0 10px 25px color-mix(in srgb,var(--rp-primary-dark) 5%,transparent)!important;}
.dsrv-panel[data-panel="kvalitet"] .rpq-rule-icon{width:46px!important;height:46px!important;border-radius:14px!important;background:linear-gradient(145deg,#74c845,#2e7d31)!important;box-shadow:0 10px 20px rgba(47,125,49,.19)!important;}
.dsrv-panel[data-panel="kvalitet"] .rpq-kpi-section{padding:19px!important;border:1px solid var(--rp-line)!important;border-radius:22px!important;background:linear-gradient(180deg,#fff,var(--rp-surface-subtle))!important;box-shadow:0 14px 32px rgba(18,57,31,.06)!important;}
.dsrv-panel[data-panel="kvalitet"] .rpq-kpi-section__head{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:16px!important;margin-bottom:14px!important;padding-bottom:13px!important;border-bottom:1px solid var(--rp-line)!important;}
.dsrv-panel[data-panel="kvalitet"] .rpq-kpi-section__head>div{display:grid!important;gap:3px!important;}
.dsrv-panel[data-panel="kvalitet"] .rpq-kpi-section__head span{color:#4f7654!important;font-size:9px!important;font-weight:950!important;letter-spacing:.1em!important;text-transform:uppercase!important;}
.dsrv-panel[data-panel="kvalitet"] .rpq-kpi-section__head strong{color:var(--rp-text)!important;font-size:18px!important;font-weight:950!important;}
.dsrv-panel[data-panel="kvalitet"] .rpq-kpi-section__head small{max-width:540px!important;color:#6a796f!important;font-size:10.5px!important;line-height:1.45!important;text-align:right!important;}
.dsrv-panel[data-panel="kvalitet"] .rpq-kpis{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;}
.dsrv-panel[data-panel="kvalitet"] .rpq-kpis>div{position:relative!important;min-height:132px!important;padding:15px 15px 14px 17px!important;overflow:hidden!important;border:1px solid var(--rp-line)!important;border-radius:17px!important;background:linear-gradient(180deg,#fff,var(--rp-surface-subtle))!important;box-shadow:0 9px 22px color-mix(in srgb,var(--rp-primary-dark) 5%,transparent)!important;}
.dsrv-panel[data-panel="kvalitet"] .rpq-kpis>div:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:linear-gradient(180deg,#80ce50,#2f7d31);}
.dsrv-panel[data-panel="kvalitet"] .rpq-kpis>div.is-emphasis{border-color:#b8d7aa!important;background:linear-gradient(180deg,#f4ffef,var(--rp-surface-subtle))!important;}
.dsrv-panel[data-panel="kvalitet"] .rpq-kpis span{font-size:9px!important;color:#5a6f5f!important;}
.dsrv-panel[data-panel="kvalitet"] .rpq-kpis strong{margin-top:10px!important;color:var(--rp-text)!important;font-size:27px!important;letter-spacing:-.035em!important;}
.dsrv-panel[data-panel="kvalitet"] .rpq-kpis small{margin-top:8px!important;color:#6d7c72!important;font-size:10px!important;line-height:1.42!important;}
.dsrv-panel[data-panel="kvalitet"] .rpq-pest-results-card,.dsrv-panel[data-panel="kvalitet"] .rpq-employee-results-card{padding:18px!important;border:1px solid var(--rp-line)!important;border-radius:22px!important;background:linear-gradient(180deg,#fff,var(--rp-surface-subtle))!important;box-shadow:0 14px 32px rgba(18,57,31,.055)!important;}
.dsrv-panel[data-panel="kvalitet"] .rpq-employee-results,.dsrv-panel[data-panel="kvalitet"] .rpq-pest-results{gap:13px!important;}
.dsrv-panel[data-panel="kvalitet"] .rpq-employee-result,.dsrv-panel[data-panel="kvalitet"] .rpq-pest-result{overflow:hidden!important;border:1px solid #d9e6d6!important;border-radius:18px!important;background:var(--rp-surface)!important;box-shadow:0 9px 22px color-mix(in srgb,var(--rp-primary-dark) 5%,transparent)!important;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease!important;}
.dsrv-panel[data-panel="kvalitet"] .rpq-employee-result:hover,.dsrv-panel[data-panel="kvalitet"] .rpq-pest-result:hover{transform:translateY(-1px)!important;border-color:#b5d3aa!important;box-shadow:0 14px 28px rgba(18,57,31,.08)!important;}
.dsrv-panel[data-panel="kvalitet"] .rpq-employee-result>summary,.dsrv-panel[data-panel="kvalitet"] .rpq-pest-result>summary{min-height:82px!important;padding:13px 15px!important;background:linear-gradient(180deg,var(--rp-surface-subtle),#f2f8ef)!important;}
.dsrv-panel[data-panel="kvalitet"] .rpq-employee-result__identity,.dsrv-panel[data-panel="kvalitet"] .rpq-pest-result__identity{display:grid!important;grid-template-columns:46px minmax(0,1fr)!important;align-items:center!important;gap:12px!important;}
.dsrv-panel[data-panel="kvalitet"] .rpq-result-icon{display:grid!important;place-items:center!important;}
.dsrv-panel[data-panel="kvalitet"] .rpq-result-icon .rp-ui-icon-tile{width:46px!important;height:46px!important;flex-basis:46px!important;border-radius:14px!important;box-shadow:0 8px 18px rgba(40,101,42,.10)!important;}
.dsrv-panel[data-panel="kvalitet"] .rpq-result-copy{display:grid!important;gap:2px!important;min-width:0!important;}
.dsrv-panel[data-panel="kvalitet"] .rpq-result-copy>strong{color:var(--rp-text)!important;font-size:15px!important;font-weight:950!important;}
.dsrv-panel[data-panel="kvalitet"] .rpq-result-copy>span,.dsrv-panel[data-panel="kvalitet"] .rpq-result-copy>small{color:#68786d!important;font-size:10.5px!important;line-height:1.4!important;}
.dsrv-panel[data-panel="kvalitet"] .rpq-result-copy>em{color:#4d7553!important;font-size:8.5px!important;font-style:normal!important;font-weight:950!important;letter-spacing:.08em!important;text-transform:uppercase!important;}
.dsrv-panel[data-panel="kvalitet"] .rpq-employee-result__rates span,.dsrv-panel[data-panel="kvalitet"] .rpq-pest-result__rates span{min-height:29px!important;padding:5px 9px!important;border-color:#cbdcc6!important;background:var(--rp-surface)!important;color:#2e5a33!important;font-size:9.5px!important;box-shadow:0 4px 10px rgba(18,57,31,.035)!important;}
.dsrv-panel[data-panel="kvalitet"] .rpq-employee-result__toggle,.dsrv-panel[data-panel="kvalitet"] .rpq-pest-result__toggle{width:32px!important;height:32px!important;border:1px solid #d8e5d5!important;background:var(--rp-surface)!important;box-shadow:0 5px 12px color-mix(in srgb,var(--rp-primary-dark) 4%,transparent)!important;}
.dsrv-panel[data-panel="kvalitet"] .rpq-employee-result__body,.dsrv-panel[data-panel="kvalitet"] .rpq-pest-result__body{gap:12px!important;padding:14px!important;background:#f7faf6!important;}
.dsrv-panel[data-panel="kvalitet"] .rpq-model-result{padding:14px!important;}

.dsrv-panel[data-panel="kvalitet"] summary:focus,.dsrv-panel[data-panel="kvalitet"] summary:focus-visible,.dsrv-panel[data-panel="kvalitet"] button:focus-visible,.dsrv-panel[data-panel="kvalitet"] a:focus-visible{}
.dsrv-panel[data-panel="kvalitet"] .rpq-employee-result>summary:hover,.dsrv-panel[data-panel="kvalitet"] .rpq-pest-result>summary:hover{background:linear-gradient(180deg,var(--rp-surface-subtle),var(--rp-primary-soft))!important;}
.dsrv-panel[data-panel="kvalitet"] .rpq-model-result{border-radius:16px!important;border-color:var(--rp-line)!important;background:linear-gradient(180deg,#fff,var(--rp-surface-subtle))!important;box-shadow:0 8px 18px rgba(18,57,31,.035)!important;}

/* Settings body surfaces; navigation KPI cards live in the cover. */
.dsrv-panel[data-panel="indstillinger"] .dsrv-grid--2{gap:18px!important;}
.dsrv-panel[data-panel="indstillinger"] .dsrv-settings-card,.dsrv-panel[data-panel="indstillinger"] .rp-customer-comms__card{box-shadow:0 13px 31px rgba(18,57,31,.06)!important;}.dsrv-panel[data-panel="indstillinger"] .rp-customer-comms__preview-head,.dsrv-panel[data-panel="indstillinger"] .rp-customer-comms__history{padding:19px!important;border:1px solid var(--rp-line)!important;border-radius:21px!important;background:linear-gradient(180deg,#fff,#fafdf9)!important;box-shadow:0 13px 31px rgba(18,57,31,.06)!important;}
.dsrv-panel[data-panel="indstillinger"] .dsrv-settings-card h2,.dsrv-panel[data-panel="indstillinger"] .rp-customer-comms__card h2{margin-top:0!important;}

.dsrv-panel[data-panel="indstillinger"] .dsrv-api-usage-grid>div{min-height:91px!important;border-radius:14px!important;background:var(--rp-surface)!important;box-shadow:0 7px 18px color-mix(in srgb,var(--rp-primary-dark) 4%,transparent)!important;}

/* Backup: status KPIs, workspace tabs and destructive area are visually separated. */
.dsrv-panel[data-panel="backup"] .dsrv-backup-simple-overview{box-shadow:0 14px 32px rgba(18,57,31,.06)!important;}.dsrv-panel[data-panel="backup"] .dsrv-backup-control-card{padding:18px!important;border:1px solid var(--rp-line)!important;box-shadow:0 14px 32px rgba(18,57,31,.06)!important;}

.dsrv-panel[data-panel="backup"] .dsrv-health-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:linear-gradient(180deg,#80ce50,#2f7d31);}

.dsrv-panel[data-panel="backup"] .dsrv-health-card strong{display:block!important;margin-top:9px!important;}
.dsrv-panel[data-panel="backup"] .dsrv-health-card small{display:block!important;margin-top:6px!important;}
.dsrv-panel[data-panel="backup"] .dsrv-backup-mode-tabs{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;}
.dsrv-panel[data-panel="backup"] .dsrv-backup-mode-tab{border:1px solid transparent!important;background:transparent!important;color:var(--rp-text)!important;}
.dsrv-panel[data-panel="backup"] .dsrv-backup-mode-tab.is-active{border-color:#82b66f!important;background:var(--rp-surface)!important;color:var(--rp-primary-dark)!important;box-shadow:0 7px 16px rgba(18,57,31,.07)!important;}
.dsrv-panel[data-panel="backup"] .dsrv-backup-mode-panel{margin-top:12px!important;padding:18px!important;border:1px solid var(--rp-line)!important;border-radius:18px!important;background:var(--rp-surface)!important;}
.dsrv-panel[data-panel="backup"] .dsrv-backup-checklist,.dsrv-panel[data-panel="backup"] .dsrv-backup-choice-list,.dsrv-panel[data-panel="backup"] .dsrv-backup-module-grid{gap:11px!important;}
.dsrv-panel[data-panel="backup"] .dsrv-backup-checkline,.dsrv-panel[data-panel="backup"] .dsrv-backup-choice-row{box-shadow:0 7px 17px rgba(18,57,31,.035)!important;}
.dsrv-panel[data-panel="backup"] .dsrv-backup-cleanup-form{padding-top:4px!important;}
.dsrv-panel[data-panel="backup"] .dsrv-backup-date-row label{padding:11px!important;border:1px solid #e1eae0!important;border-radius:14px!important;background:var(--rp-surface)!important;}

.dsrv-panel[data-panel="backup"] .dsrv-backup-mode-tab:hover,.dsrv-panel[data-panel="backup"] .dsrv-backup-mode-tab:focus,.dsrv-panel[data-panel="backup"] .dsrv-backup-mode-tab:focus-visible{box-shadow:0 8px 18px rgba(18,57,31,.08)!important;border-color:#b3d2a7!important;background:var(--rp-surface)!important;color:var(--rp-primary-dark)!important;}
.dsrv-panel[data-panel="backup"] .dsrv-backup-checkline:hover,.dsrv-panel[data-panel="backup"] .dsrv-backup-choice-row:hover{transform:translateY(-1px);border-color:#afd19f!important;box-shadow:0 12px 24px rgba(18,57,31,.07)!important;}
.dsrv-panel[data-panel="backup"] .dsrv-backup-checkline:has(input:focus-visible),.dsrv-panel[data-panel="backup"] .dsrv-backup-choice-row:has(input:focus-visible){box-shadow:0 0 0 3px rgba(114,189,56,.16),0 12px 24px rgba(18,57,31,.07)!important;}

/* Popups: one premium surface language across task, employee and pest flows. */
body>.dsrv-modal.rp-ui-modal:not(.is-pest-modal) .dsrv-setup-modal__section,body>.dsrv-modal.rp-ui-modal .dsrv-task-top-field{border-radius:17px!important;border-color:var(--rp-line)!important;background:linear-gradient(180deg,var(--rp-surface),var(--rp-surface-subtle))!important;box-shadow:0 8px 19px color-mix(in srgb,var(--rp-primary-dark) 4%,transparent)!important;}

@media(max-width:1180px){
  .dsrv-panel[data-panel="backup"] .dsrv-health-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-quick-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .dsrv-panel[data-panel="kvalitet"] .rpq-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .dsrv-panel[data-panel="kvalitet"] .rpq-rule-card{grid-template-columns:auto minmax(0,1fr)!important;}
  .dsrv-panel[data-panel="kvalitet"] .rpq-rule-card>.button{grid-column:1/-1;justify-self:start;}
}
@media(max-width:800px){
  .dsrv-panel[data-panel="overblik"] .dsrv-overview-secondary-card__head{align-items:flex-start!important;flex-direction:column!important;}
  .dsrv-panel[data-panel="kvalitet"] .rpq-kpi-section__head{display:grid!important;}
  .dsrv-panel[data-panel="kvalitet"] .rpq-kpi-section__head small{text-align:left!important;}
  .dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-period-pills{justify-content:flex-start!important;}
  .dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-access-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .dsrv-panel[data-panel="backup"] .dsrv-health-cards{grid-template-columns:1fr!important;}
}
@media(max-width:620px){
  .dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-quick-stats,.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-access-strip,.dsrv-panel[data-panel="kvalitet"] .rpq-kpis{grid-template-columns:1fr!important;}
}

/* Safe admin-only economy demo data controls. */
.dsrv-panel[data-panel="okonomi"] .dsrv-economy-demo-tools{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center;margin:14px 0;padding:15px 16px;box-shadow:0 9px 22px color-mix(in srgb,var(--rp-primary-dark) 4.5%,transparent);}
.dsrv-economy-demo-tools__copy{display:grid;grid-template-columns:46px minmax(0,1fr);gap:12px;align-items:center;min-width:0;}
.dsrv-economy-demo-tools__copy>.rp-ui-icon-tile{width:46px!important;height:46px!important;flex-basis:46px!important;border-radius:14px!important;}
.dsrv-economy-demo-tools__copy>div{display:grid;gap:2px;min-width:0;}
.dsrv-economy-demo-tools__copy small{color:#6b5b94;font-size:8.5px;font-weight:950;letter-spacing:.09em;}
.dsrv-economy-demo-tools__copy strong{color:var(--rp-text);font-size:14px;font-weight:950;}
.dsrv-economy-demo-tools__copy p{margin:1px 0 0;color:#66766d;font-size:10.5px;line-height:1.45;}
.dsrv-economy-demo-tools__actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;}
.dsrv-economy-demo-tools__actions form{margin:0;}
.dsrv-economy-demo-tools__message{grid-column:1/-1;padding:9px 11px;border:1px solid #cfe2c8;border-radius:11px;background:#f1faed;color:#315d33;font-size:10.5px;font-weight:750;}
.dsrv-economy-demo-tools.has-error .dsrv-economy-demo-tools__message{border-color:#efc7c2;background:#fff4f3;color:#93342d;}
@media(max-width:900px){.dsrv-panel[data-panel="okonomi"] .dsrv-economy-demo-tools{grid-template-columns:1fr;}.dsrv-economy-demo-tools__actions{justify-content:flex-start;}}

/* ======================================================================
   CANONICAL DOMAIN UI CONTRACT
   Final owner for the areas touched in the September cleanup pass.
   This block intentionally replaces the removed customer/pest owners and
   the previous horizontal modal step bar. This is the single current owner for the affected presentation contracts.
   ====================================================================== */

/* Consolidated presentation owners carried forward from the cleaned master. */
/* Shared keyboard focus: theme colour without a black browser ring. */
.dsrv.rp-ui :is(button,a,summary,[tabindex]):focus-visible,body>.dsrv-modal.rp-ui-modal :is(button,a,summary,[tabindex]):focus-visible,.rp-emp-app :is(button,a,summary,[tabindex]):focus-visible{outline:2px solid var(--rp-primary-dark)!important;outline-offset:3px!important;}

/* OPGAVER: premium cards with a clean, stable information hierarchy. */
.dsrv-panel[data-panel="opgaver"] .dsrv-task-bucket-section{
  padding:18px!important;border:1px solid #d8e5d8!important;border-radius:23px!important;
  background:linear-gradient(180deg,#fff 0%,var(--rp-surface-subtle) 100%)!important;box-shadow:0 16px 34px rgba(16,44,25,.06)!important;
}
.dsrv-panel[data-panel="opgaver"] .dsrv-split{gap:18px!important;align-items:start!important;}
.dsrv-panel[data-panel="opgaver"] .dsrv-task-bucket-head{margin:0 0 13px!important;padding:0 0 13px!important;border-bottom:1px solid var(--rp-line)!important;}
.dsrv-panel[data-panel="opgaver"] .dsrv-task-bucket-head .dsrv-h2{color:var(--rp-text)!important;font-size:19px!important;line-height:1.15!important;font-weight:950!important;letter-spacing:-.015em!important;}
.dsrv-panel[data-panel="opgaver"] .dsrv-task-bucket-head .dsrv-muted{margin-top:3px!important;font-size:11.5px!important;line-height:1.45!important;}
.dsrv-panel[data-panel="opgaver"] .dsrv-task-legend{display:flex!important;align-items:center!important;gap:6px!important;flex-wrap:wrap!important;margin:0 0 13px!important;padding:9px 10px!important;border:1px solid #e2eae1!important;border-radius:13px!important;background:var(--rp-surface-subtle)!important;}
.dsrv-panel[data-panel="opgaver"] .dsrv-list{display:grid!important;gap:12px!important;}
.dsrv-panel[data-panel="opgaver"] .dsrv-rowitem{
  position:relative!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(205px,225px)!important;grid-template-rows:auto auto!important;
  gap:10px 14px!important;align-items:start!important;overflow:hidden!important;margin:0!important;padding:17px 17px 17px 21px!important;
  border:1px solid #dbe6db!important;border-radius:19px!important;background:var(--rp-surface)!important;
  box-shadow:0 8px 22px color-mix(in srgb,var(--rp-primary-dark) 4.5%,transparent)!important;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease!important;
}
.dsrv-panel[data-panel="opgaver"] .dsrv-rowitem:hover{transform:translateY(-1px)!important;border-color:#cbdcc9!important;box-shadow:0 13px 28px rgba(18,57,31,.07)!important;}
.dsrv-panel[data-panel="opgaver"] .dsrv-rowitem::before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(180deg,#83d25a,#2d7d35);}
.dsrv-panel[data-panel="opgaver"] .dsrv-rowitem-main{grid-column:1!important;grid-row:1 / span 2!important;min-width:0!important;}
.dsrv-panel[data-panel="opgaver"] .dsrv-task-card-head{grid-template-columns:50px minmax(0,1fr)!important;gap:10px 12px!important;align-items:start!important;}
.dsrv-panel[data-panel="opgaver"] .dsrv-task-pest-visual{display:grid!important;place-items:center!important;width:50px!important;height:50px!important;min-width:50px!important;border:1px solid #d6e4d4!important;border-radius:15px!important;background:linear-gradient(145deg,var(--rp-surface-subtle),var(--rp-primary-soft))!important;overflow:hidden!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.85)!important;}
.dsrv-panel[data-panel="opgaver"] .dsrv-task-pest-visual.has-photo img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;}
.dsrv-panel[data-panel="opgaver"] .dsrv-task-pest-visual>.rp-ui-icon-tile{width:38px!important;height:38px!important;min-width:38px!important;border:0!important;background:transparent!important;box-shadow:none!important;}
.dsrv-panel[data-panel="opgaver"] .dsrv-task-card-copy{display:grid!important;gap:4px!important;min-width:0!important;padding-top:1px!important;}
.dsrv-panel[data-panel="opgaver"] .dsrv-rowitem-title{color:#143222!important;font-size:16px!important;line-height:1.22!important;font-weight:950!important;letter-spacing:-.01em!important;overflow-wrap:anywhere!important;}
.dsrv-panel[data-panel="opgaver"] .dsrv-rowitem-sub{color:#52665a!important;font-size:11.5px!important;line-height:1.45!important;font-weight:650!important;overflow-wrap:anywhere!important;}
.dsrv-panel[data-panel="opgaver"] .dsrv-task-identity-badges{display:flex!important;align-items:center!important;gap:6px!important;flex-wrap:wrap!important;margin-top:5px!important;}
.dsrv-panel[data-panel="opgaver"] .dsrv-task-badges--top{grid-column:1/-1!important;justify-content:flex-start!important;gap:6px!important;max-width:none!important;padding-top:1px!important;}
.dsrv-panel[data-panel="opgaver"] .dsrv-task-summaryline{display:flex!important;align-items:center!important;gap:6px!important;flex-wrap:wrap!important;margin-top:11px!important;padding-top:10px!important;border-top:1px solid #e8eee7!important;color:#53675b!important;font-size:10.5px!important;line-height:1.35!important;}
.dsrv-panel[data-panel="opgaver"] .dsrv-task-summaryline span{display:inline-flex!important;align-items:center!important;gap:5px!important;min-height:27px!important;padding:4px 8px!important;border:1px solid var(--rp-line)!important;border-radius:999px!important;background:var(--rp-surface-subtle)!important;}
.dsrv-panel[data-panel="opgaver"] .dsrv-task-summaryline strong{color:#36513d!important;font-size:9px!important;font-weight:950!important;letter-spacing:.025em!important;text-transform:uppercase!important;}
.dsrv-panel[data-panel="opgaver"] .dsrv-task-created{background:#f1f7ef!important;}
.dsrv-panel[data-panel="opgaver"] .dsrv-task-main>.dsrv-muted:last-child{margin-top:10px!important;color:#5a6d61!important;font-size:11px!important;line-height:1.45!important;}
.dsrv-panel[data-panel="opgaver"] .dsrv-task-age-badge{display:inline-flex!important;align-items:center!important;min-height:25px!important;padding:4px 8px!important;border:1px solid var(--rp-line)!important;border-radius:999px!important;background:var(--rp-surface-subtle)!important;color:#4f6256!important;font-size:10px!important;font-weight:900!important;}
.dsrv-panel[data-panel="opgaver"] .dsrv-task-age-badge.is-warning{border-color:#ecd7a3!important;background:#fff5df!important;color:#805707!important;}
.dsrv-panel[data-panel="opgaver"] .dsrv-task-age-badge.is-danger{border-color:#e7b8b8!important;background:var(--rp-danger-soft)!important;color:#8a3131!important;}
.dsrv-panel[data-panel="opgaver"] .dsrv-task-card--age-is-danger{border-color:#e2a7a7!important;background:linear-gradient(180deg,#fffafa,#fff4f4)!important;box-shadow:0 10px 24px rgba(142,42,42,.07)!important;}
.dsrv-panel[data-panel="opgaver"] .dsrv-task-card--age-is-danger::before{background:#d94a4a!important;}
.dsrv-panel[data-panel="opgaver"] .dsrv-task-card--visit-case-new:not(.dsrv-task-card--age-is-danger)::before{background:var(--rp-status-new-case)!important;}
.dsrv-panel[data-panel="opgaver"] .dsrv-task-card--visit-followup:not(.dsrv-task-card--age-is-danger)::before{background:var(--rp-status-new-visit)!important;}
.dsrv-panel[data-panel="opgaver"] .dsrv-task-card--visit-recheck:not(.dsrv-task-card--age-is-danger)::before{background:var(--rp-status-recheck)!important;}
.dsrv-panel[data-panel="opgaver"] .dsrv-task-meta-grid--focused{grid-column:2!important;grid-row:1!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;min-width:0!important;width:100%!important;}
.dsrv-panel[data-panel="opgaver"] .dsrv-task-meta-item{display:grid!important;align-content:start!important;gap:4px!important;min-height:55px!important;padding:9px 10px!important;border:1px solid var(--rp-line)!important;border-radius:12px!important;background:#f9fbf9!important;}
.dsrv-panel[data-panel="opgaver"] .dsrv-task-meta-k{color:#68796f!important;font-size:9px!important;line-height:1.2!important;font-weight:900!important;letter-spacing:.045em!important;text-transform:uppercase!important;}
.dsrv-panel[data-panel="opgaver"] .dsrv-task-meta-v{min-width:0!important;color:#24402d!important;font-size:11.25px!important;line-height:1.35!important;font-weight:850!important;overflow-wrap:anywhere!important;}
.dsrv-panel[data-panel="opgaver"] .dsrv-task-meta-v .pill{max-width:100%!important;}
.dsrv-panel[data-panel="opgaver"] .dsrv-rowitem-actions--compact{grid-column:2!important;grid-row:2!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important;flex-wrap:wrap!important;width:100%!important;}
.dsrv-panel[data-panel="opgaver"] .dsrv-rowitem-actions--compact .button{min-height:35px!important;padding:6px 10px!important;border-radius:10px!important;font-size:10.5px!important;font-weight:900!important;}
.dsrv-panel[data-panel="opgaver"] .dsrv-task-integrity-actions{align-self:end!important;}
.dsrv-panel[data-panel="opgaver"] .pill-slate{background:#f1f4f2!important;border-color:#d9e1dc!important;color:#4f5f56!important;}
/* Task metadata: one semantic row; no duplicate raw date/status labels. */
.dsrv-panel[data-panel="opgaver"] .dsrv-task-info-chip{display:inline-flex!important;align-items:center!important;gap:5px!important;min-height:25px!important;padding:4px 8px!important;border:1px solid var(--rp-line)!important;border-radius:999px!important;background:var(--rp-surface-subtle)!important;color:#45564c!important;font-style:normal!important;}
.dsrv-panel[data-panel="opgaver"] .dsrv-task-info-chip strong{color:#4a5d51!important;font-size:9px!important;font-weight:950!important;text-transform:uppercase!important;letter-spacing:.035em!important;}
.dsrv-panel[data-panel="opgaver"] .dsrv-task-info-chip em{color:#263e30!important;font-size:10px!important;font-style:normal!important;font-weight:850!important;}
.dsrv-panel[data-panel="opgaver"] .dsrv-task-info-chip.is-created{background:#f1f7ef!important;border-color:#d5e4d2!important;}
.dsrv-panel[data-panel="opgaver"] .dsrv-task-info-chip.is-requested-date,.dsrv-panel[data-panel="opgaver"] .dsrv-task-info-chip.is-time{background:#f5f0fb!important;border-color:#ddd0ee!important;}
.dsrv-panel[data-panel="opgaver"] .dsrv-task-info-chip.is-route-date,.dsrv-panel[data-panel="opgaver"] .dsrv-task-info-chip.is-published{background:color-mix(in srgb,var(--rp-primary) 10%,var(--rp-surface) 90%)!important;border-color:#c8dfc2!important;}
.dsrv-panel[data-panel="opgaver"] .dsrv-task-info-chip.is-draft,.dsrv-panel[data-panel="opgaver"] .dsrv-task-card--route-kladde{border-color:#e6baba!important;background:linear-gradient(180deg,#fffafa,#fff4f4)!important;}
.dsrv-panel[data-panel="opgaver"] .dsrv-task-info-chip.is-draft strong,.dsrv-panel[data-panel="opgaver"] .dsrv-task-info-chip.is-draft em{color:#8a3131!important;}
.dsrv-panel[data-panel="opgaver"] .dsrv-task-info-chip.is-danger{background:var(--rp-danger-soft)!important;border-color:#ebc6c6!important;}
.dsrv-panel[data-panel="opgaver"] .dsrv-task-info-chip.is-warning,.dsrv-panel[data-panel="opgaver"] .dsrv-task-info-chip.is-previous{background:#fff6e3!important;border-color:#ecd7a8!important;}
.dsrv-panel[data-panel="opgaver"] .dsrv-task-card--route-udgivet{border-color:#b9d8b2!important;background:linear-gradient(180deg,#fbfffa,#f3faf1)!important;}
@media(max-width:1280px){
  .dsrv-panel[data-panel="opgaver"] .dsrv-split{grid-template-columns:1fr!important;}
  .dsrv-panel[data-panel="opgaver"] .dsrv-rowitem{grid-template-columns:minmax(0,1fr) minmax(230px,300px)!important;}
}
@media(max-width:820px){
  .dsrv-panel[data-panel="opgaver"] .dsrv-rowitem{grid-template-columns:1fr!important;padding:15px 14px 15px 18px!important;}
  .dsrv-panel[data-panel="opgaver"] .dsrv-rowitem-main{grid-column:1!important;grid-row:auto!important;}
  .dsrv-panel[data-panel="opgaver"] .dsrv-task-meta-grid--focused{grid-column:1!important;grid-row:auto!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .dsrv-panel[data-panel="opgaver"] .dsrv-rowitem-actions--compact{grid-column:1!important;grid-row:auto!important;justify-content:flex-start!important;}
  .dsrv-panel[data-panel="opgaver"] .dsrv-task-badges--top{max-width:none!important;}
}
@media(max-width:560px){
  .dsrv-panel[data-panel="opgaver"] .dsrv-task-meta-grid--focused{grid-template-columns:1fr!important;}
  .dsrv-panel[data-panel="opgaver"] .dsrv-rowitem-actions--compact{display:grid!important;grid-template-columns:1fr!important;}
  .dsrv-panel[data-panel="opgaver"] .dsrv-rowitem-actions--compact .button{width:100%!important;}
}

/* RAPPORTER: cards use same component grammar and no harsh rings. */
.dsrv-panel[data-panel="rapporter"] .dsrv-list{gap:13px!important;}
.dsrv-panel[data-panel="rapporter"] .dsrv-rowitem{position:relative!important;overflow:hidden!important;padding:17px 19px 17px 22px!important;border:1px solid var(--rp-line)!important;border-radius:20px!important;background:linear-gradient(180deg,#fff,#fafdfa)!important;box-shadow:0 12px 28px rgba(18,57,31,.055)!important;}
.dsrv-panel[data-panel="rapporter"] .dsrv-rowitem::before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(180deg,#83d25a,#2d7d35);}
.dsrv-panel[data-panel="rapporter"] .dsrv-rowitem-title{color:#143222!important;font-size:15px!important;font-weight:900!important;}
.dsrv-panel[data-panel="rapporter"] .dsrv-rowitem-sub,.dsrv-panel[data-panel="rapporter"] .dsrv-muted{color:#5e7064!important;}
.dsrv-panel[data-panel="rapporter"] .dsrv-rowitem-actions .button{border-radius:11px!important;}

@media(max-width:760px){
  .dsrv.rp-ui .dsrv-routes-work-map-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;justify-content:stretch!important;}
  .dsrv.rp-ui .dsrv-work-map-filter-row{display:grid!important;grid-template-columns:1fr 1fr!important;grid-column:1/-1!important;margin-left:0!important;}
  .dsrv.rp-ui .dsrv-work-map-filter-row .button{width:100%!important;}
}

/* Remaining route publish CTA follows the same premium green action language. */
.dsrv-panel[data-panel="ruter"] .dsrv-status .dsrv-btn-publish.button{border:1px solid var(--rp-button-primary-border)!important;background:linear-gradient(155deg,var(--rp-button-primary-start),var(--rp-button-primary) 35%,var(--rp-button-primary-end) 72%,color-mix(in srgb,var(--rp-button-primary-end) 82%,#fff 18%))!important;color:#fff!important;text-shadow:0 1px 1px color-mix(in srgb,var(--rp-primary-dark) 22%,transparent)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.20),0 10px 22px var(--rp-button-primary-shadow)!important;}
.dsrv-panel[data-panel="ruter"] .dsrv-status .dsrv-btn-publish.button:hover,.dsrv-panel[data-panel="ruter"] .dsrv-status .dsrv-btn-publish.button:focus-visible{border-color:#a0dc87!important;background:linear-gradient(155deg,#337c38,#3e9341 32%,#5caf4f 70%,#8bd56f)!important;color:#fff!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.28),0 15px 30px rgba(36,107,37,.26)!important;}

/* --- Overview: weekly money + pest distribution in one balanced dashboard --- */
.dsrv-panel[data-panel="overblik"] .rp-overview-insights-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1.62fr) minmax(270px,.72fr)!important;
  gap:14px!important;
  align-items:stretch!important;
}
@media(max-width:1050px){
  .dsrv-panel[data-panel="overblik"] .rp-overview-insights-grid{grid-template-columns:minmax(0,1fr)!important;}
}
.dsrv-panel[data-panel="overblik"] .rp-overview-pest-distribution{
  appearance:none!important;
  display:grid!important;
  grid-template-rows:auto 1fr!important;
  gap:14px!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:16px!important;
  border:1px solid #d8e6d6!important;
  border-radius:20px!important;
  background:linear-gradient(155deg,#fafff8 0%,color-mix(in srgb,var(--rp-primary) 6%,var(--rp-surface) 94%) 55%,#eaf5e5 100%)!important;
  color:var(--rp-text)!important;
  text-align:left!important;
  cursor:pointer!important;
  box-shadow:0 10px 24px rgba(18,57,31,.055)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease!important;
}
.dsrv-panel[data-panel="overblik"] .rp-overview-pest-distribution:hover,.dsrv-panel[data-panel="overblik"] .rp-overview-pest-distribution:focus-visible{
  transform:translateY(-2px)!important;
  border-color:color-mix(in srgb,var(--rp-primary) 44%,var(--rp-line) 56%)!important;

  box-shadow:0 16px 34px color-mix(in srgb,var(--rp-primary-dark) 10%,transparent)!important;
}
.rp-overview-pest-distribution__head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:12px!important;}
.rp-overview-pest-distribution__head>span:first-child{display:grid!important;gap:3px!important;}
.rp-overview-pest-distribution__head small{color:#5d7863!important;font-size:9px!important;font-weight:950!important;letter-spacing:.1em!important;}
.rp-overview-pest-distribution__head strong{color:var(--rp-text)!important;font-size:16px!important;font-weight:950!important;line-height:1.2!important;}
.rp-overview-pest-distribution__head em{color:var(--rp-muted)!important;font-size:10px!important;font-style:normal!important;line-height:1.4!important;}
.rp-overview-pest-distribution__arrow{display:grid!important;place-items:center!important;width:32px!important;height:32px!important;border:1px solid color-mix(in srgb,var(--rp-primary) 18%,var(--rp-line) 82%)!important;border-radius:999px!important;background:var(--rp-surface)!important;color:var(--rp-primary-dark)!important;box-shadow:0 5px 12px color-mix(in srgb,var(--rp-primary-dark) 5%,transparent)!important;}
.rp-overview-pest-distribution__body{display:grid!important;grid-template-columns:148px minmax(0,1fr)!important;gap:18px!important;align-items:center!important;}
.rp-overview-pest-donut{position:relative!important;display:grid!important;place-items:center!important;width:148px!important;height:148px!important;border-radius:50%!important;background:var(--rp-pest-donut)!important;box-shadow:0 14px 30px color-mix(in srgb,var(--rp-primary-dark) 14%,transparent)!important;}
.rp-overview-pest-donut::after{content:"";position:absolute!important;inset:22px!important;border-radius:50%!important;background:linear-gradient(145deg,#fff,var(--rp-surface-subtle))!important;box-shadow:inset 0 0 0 1px var(--rp-line)!important;}
.rp-overview-pest-donut>span{position:relative!important;z-index:2!important;display:grid!important;gap:2px!important;text-align:center!important;}
.rp-overview-pest-donut strong{color:#143121!important;font-size:34px!important;font-weight:950!important;line-height:1!important;letter-spacing:-.035em!important;}
.rp-overview-pest-donut small{color:var(--rp-muted)!important;font-size:10px!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.065em!important;}
.rp-overview-pest-legend{display:grid!important;gap:7px!important;min-width:0!important;}
.rp-overview-pest-legend__row{display:grid!important;grid-template-columns:10px minmax(0,1fr) auto!important;gap:8px!important;align-items:center!important;min-width:0!important;padding:7px 0!important;border-bottom:1px solid rgba(207,224,204,.66)!important;}
.rp-overview-pest-legend__row:last-child{border-bottom:0!important;}
.rp-overview-pest-legend__row i{width:9px!important;height:9px!important;border-radius:999px!important;background:var(--rp-dot)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--rp-dot) 16%,transparent)!important;}
.rp-overview-pest-legend__row b{overflow:hidden!important;color:#23472d!important;font-size:11.8px!important;font-weight:900!important;text-overflow:ellipsis!important;white-space:nowrap!important;}
.rp-overview-pest-legend__row em{display:inline-flex!important;align-items:center!important;gap:6px!important;color:#596b60!important;font-size:10px!important;font-style:normal!important;font-weight:850!important;white-space:nowrap!important;}
.rp-overview-pest-legend__row em strong{display:inline-flex!important;align-items:center!important;min-height:24px!important;padding:0 8px!important;border:1px solid color-mix(in srgb,var(--rp-primary) 18%,var(--rp-line) 82%)!important;border-radius:999px!important;background:var(--rp-surface)!important;color:var(--rp-primary-dark)!important;font-size:10px!important;font-weight:950!important;}
.rp-overview-pest-legend__row em span{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:43px!important;min-height:24px!important;padding:0 8px!important;border-radius:999px!important;background:var(--rp-primary-soft)!important;color:var(--rp-primary-dark)!important;font-size:10px!important;font-weight:950!important;}
.rp-overview-pest-legend .is-empty{padding:12px!important;border:1px dashed #d4e2d2!important;border-radius:13px!important;background:rgba(255,255,255,.72)!important;color:#6e7e73!important;font-size:11px!important;text-align:center!important;}

/* --- Customers: clear hierarchy, consistent action colours, no black icons --- */
.dsrv-panel[data-panel="kunder"] .rp-customer-results{display:grid!important;gap:28px!important;padding:10px 0 18px!important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-card{
  position:relative!important;
  overflow:hidden!important;
  margin:0!important;
  border:1px solid var(--rp-line)!important;
  border-left:5px solid var(--rp-button-primary)!important;
  border-radius:24px!important;
  background:var(--rp-surface)!important;
  box-shadow:0 16px 36px color-mix(in srgb,var(--rp-primary-dark) 7.5%,transparent)!important;
}
.dsrv-panel[data-panel="kunder"] .rp-customer-card__top{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(300px,auto)!important;gap:18px!important;padding:20px!important;background:linear-gradient(105deg,color-mix(in srgb,var(--rp-primary) 6%,var(--rp-surface) 94%) 0%,var(--rp-surface-subtle) 58%,#fff 100%)!important;border-bottom:1px solid var(--rp-line)!important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-card__identity{min-width:0!important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-card__titleline{display:flex!important;align-items:center!important;gap:7px!important;flex-wrap:wrap!important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-card__titleline h3{margin:0 4px 0 0!important;color:var(--rp-text)!important;font-size:21px!important;font-weight:950!important;line-height:1.15!important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-card__contact{margin-top:7px!important;color:var(--rp-muted)!important;font-size:12px!important;line-height:1.55!important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-card__system-meta{display:flex!important;gap:12px!important;flex-wrap:wrap!important;margin-top:11px!important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-card__system-meta>span{display:inline-flex!important;align-items:center!important;gap:6px!important;padding:6px 9px!important;border:1px solid var(--rp-line)!important;border-radius:999px!important;background:var(--rp-surface)!important;color:var(--rp-muted)!important;font-size:10px!important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-card__actions{display:grid!important;grid-template-columns:repeat(2,minmax(145px,1fr))!important;gap:8px!important;align-content:start!important;min-width:300px!important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-card__actions .button{width:100%!important;min-height:40px!important;border-radius:11px!important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-card__actions .button-primary .rp-icon,.dsrv-panel[data-panel="kunder"] .rp-customer-card__actions .button-primary svg{color:#fff!important;stroke:#fff!important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-card__metrics{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;padding:0 18px!important;border-bottom:1px solid var(--rp-line)!important;background:var(--rp-surface)!important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-card__metrics>div{min-height:84px!important;padding:15px 16px!important;border-right:1px solid var(--rp-line)!important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-card__metrics>div:last-child{border-right:0!important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-card__metrics span:first-child{display:block!important;color:var(--rp-muted)!important;font-size:9px!important;font-weight:950!important;text-transform:uppercase!important;letter-spacing:.07em!important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-card__metrics strong{display:block!important;margin-top:5px!important;color:var(--rp-text)!important;font-size:17px!important;font-weight:950!important;line-height:1.2!important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-card__metrics small{display:block!important;margin-top:4px!important;color:var(--rp-muted)!important;font-size:10.5px!important;line-height:1.45!important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-cases-panel{padding:14px 18px 18px!important;border-top:0!important;background:linear-gradient(180deg,#fbfefb,#f7fbf6)!important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-cases-panel>summary{padding:10px 15px!important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-cases-panel__toggle{display:inline-flex!important;align-items:center!important;min-height:34px!important;padding:0 12px!important;border:1px solid color-mix(in srgb,var(--rp-primary) 18%,var(--rp-line) 82%)!important;border-radius:999px!important;background:var(--rp-surface)!important;font-size:10.5px!important;font-weight:900!important;box-shadow:0 5px 12px color-mix(in srgb,var(--rp-primary-dark) 4%,transparent)!important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-case-row{margin:15px 0!important;border:1px solid var(--rp-line)!important;border-radius:18px!important;background:var(--rp-surface)!important;box-shadow:0 9px 20px color-mix(in srgb,var(--rp-primary-dark) 4.5%,transparent)!important;overflow:hidden!important;}

/* --- Task/report modal: canonical left rail + shared card grammar --- */
body>.dsrv-modal.rp-ui-modal.is-task-modal .rp-ui-modal__body,body>.dsrv-modal.rp-ui-modal.is-report-modal .rp-ui-modal__body{background:linear-gradient(180deg,var(--rp-surface-subtle),color-mix(in srgb,var(--rp-surface-subtle) 92%,var(--rp-primary) 8%))!important;}
body>.dsrv-modal.rp-ui-modal.is-task-modal .rp-modal-contextbar{grid-column:1!important;margin:0 0 2px!important;border-radius:19px!important;padding:15px 17px!important;background:linear-gradient(145deg,var(--rp-surface),color-mix(in srgb,var(--rp-surface-subtle) 90%,var(--rp-primary) 10%))!important;box-shadow:0 10px 24px color-mix(in srgb,var(--rp-primary-dark) 7%,transparent)!important;}
body>.dsrv-modal.rp-ui-modal.is-report-modal .rp-modal-contextbar{grid-column:1!important;border-radius:19px!important;padding:15px 17px!important;background:linear-gradient(145deg,var(--rp-surface),color-mix(in srgb,var(--rp-surface-subtle) 90%,var(--rp-primary) 10%))!important;box-shadow:0 10px 24px color-mix(in srgb,var(--rp-primary-dark) 7%,transparent)!important;}

body>.dsrv-modal.rp-ui-modal.is-report-modal .rp-modal-form-main>.rp-modal-contextbar{min-height:58px!important;padding:11px 13px!important;border-radius:15px!important;box-shadow:none!important;}
body>.dsrv-modal.rp-ui-modal.is-report-modal .rp-modal-form-main>.dsrv-report-section{margin:0!important;}
body>.dsrv-modal.rp-ui-modal.is-task-modal .dsrv-form[data-entity="task"] #rp-task-section-task,body>.dsrv-modal.rp-ui-modal.is-task-modal .dsrv-form[data-entity="task"] #rp-task-section-notes,body>.dsrv-modal.rp-ui-modal.is-task-modal .dsrv-form[data-entity="task"] #rp-task-section-economy,body>.dsrv-modal.rp-ui-modal.is-task-modal .dsrv-form[data-entity="task"] #rp-task-section-care,body>.dsrv-modal.rp-ui-modal.is-task-modal .dsrv-form[data-entity="task"] #rp-task-section-planning,body>.dsrv-modal.rp-ui-modal.is-task-modal .dsrv-form[data-entity="task"] #rp-task-section-customer,body>.dsrv-modal.rp-ui-modal.is-task-modal .dsrv-form[data-entity="task"] #rp-task-section-address{margin:0 0 14px!important;}
body>.dsrv-modal.rp-ui-modal.is-task-modal .dsrv-form[data-entity="task"] .dsrv-report-section,body>.dsrv-modal.rp-ui-modal.is-task-modal .dsrv-form[data-entity="task"] .dsrv-task-no-charge-card,body>.dsrv-modal.rp-ui-modal.is-task-modal .dsrv-form[data-entity="task"] .dsrv-task-customer-section{border:1px solid var(--rp-line)!important;border-radius:20px!important;background:linear-gradient(180deg,var(--rp-surface),var(--rp-surface-subtle))!important;box-shadow:0 12px 28px color-mix(in srgb,var(--rp-primary-dark) 6%,transparent)!important;}body>.dsrv-modal.rp-ui-modal.is-report-modal .dsrv-report-section{background:linear-gradient(180deg,var(--rp-surface),var(--rp-surface-subtle))!important;box-shadow:0 12px 28px color-mix(in srgb,var(--rp-primary-dark) 6%,transparent)!important;}
body>.dsrv-modal.rp-ui-modal.is-task-modal .dsrv-form[data-entity="task"] .dsrv-task-top-grid{gap:12px!important;}
body>.dsrv-modal.rp-ui-modal.is-task-modal .dsrv-form[data-entity="task"] .dsrv-task-top-field{padding:15px!important;}
body>.dsrv-modal.rp-ui-modal.is-task-modal .dsrv-form[data-entity="task"] .dsrv-task-description-row,body>.dsrv-modal.rp-ui-modal.is-task-modal .dsrv-form[data-entity="task"] .dsrv-task-booking-section,body>.dsrv-modal.rp-ui-modal.is-task-modal .dsrv-form[data-entity="task"] .dsrv-task-customer-section{padding:16px!important;}
/* --- Economy main view + case popup --- */
.dsrv-panel[data-panel="okonomi"] .dsrv-subtabs{display:inline-flex!important;gap:5px!important;padding:5px!important;border:1px solid var(--rp-line)!important;border-radius:15px!important;background:#f3f8f2!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.86)!important;}
.dsrv-panel[data-panel="okonomi"] .dsrv-subtab{min-height:34px!important;padding:0 12px!important;border:1px solid transparent!important;border-radius:10px!important;background:transparent!important;color:var(--rp-muted)!important;font-size:10.5px!important;font-weight:850!important;}
.dsrv-panel[data-panel="okonomi"] .dsrv-subtab.is-active{border-color:#cfe1cb!important;background:var(--rp-surface)!important;color:var(--rp-primary-dark)!important;box-shadow:0 5px 12px rgba(18,57,31,.06)!important;}
.dsrv-panel[data-panel="okonomi"] .dsrv-economy-demo-tools,.dsrv-panel[data-panel="okonomi"] .dsrv-economy-bulkbar{border:1px solid var(--rp-line)!important;border-radius:20px!important;background:linear-gradient(180deg,#fff,#fafdfa)!important;box-shadow:0 12px 27px color-mix(in srgb,var(--rp-primary-dark) 5%,transparent)!important;}
body>.dsrv-modal.rp-ui-modal.is-case-modal .rp-ui-modal__body{background:linear-gradient(180deg,var(--rp-surface-subtle),color-mix(in srgb,var(--rp-surface-subtle) 92%,var(--rp-primary) 8%))!important;}
body>.dsrv-modal.rp-ui-modal.is-case-modal .dsrv-case-viewer{display:grid!important;gap:14px!important;}
body>.dsrv-modal.rp-ui-modal.is-case-modal .dsrv-case-viewer__hero,body>.dsrv-modal.rp-ui-modal.is-case-modal .dsrv-case-viewer__intro,body>.dsrv-modal.rp-ui-modal.is-case-modal .dsrv-case-price-box,body>.dsrv-modal.rp-ui-modal.is-case-modal .dsrv-case-viewer__meta-note,body>.dsrv-modal.rp-ui-modal.is-case-modal .dsrv-case-viewer__section-head{border:1px solid var(--rp-line)!important;border-radius:20px!important;background:linear-gradient(180deg,var(--rp-surface),var(--rp-surface-subtle))!important;box-shadow:0 12px 28px color-mix(in srgb,var(--rp-primary-dark) 6%,transparent)!important;}
body>.dsrv-modal.rp-ui-modal.is-case-modal .dsrv-case-viewer__hero{position:relative!important;overflow:hidden!important;padding:18px 20px!important;}
body>.dsrv-modal.rp-ui-modal.is-case-modal .dsrv-case-viewer__hero::before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:linear-gradient(180deg,color-mix(in srgb,var(--rp-primary) 82%,#fff 18%),var(--rp-button-primary));}
body>.dsrv-modal.rp-ui-modal.is-case-modal .dsrv-case-viewer__intro{padding:16px 18px!important;}
body>.dsrv-modal.rp-ui-modal.is-case-modal .dsrv-case-viewer__intro-main{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px 12px!important;}
body>.dsrv-modal.rp-ui-modal.is-case-modal .dsrv-case-viewer__intro-main>strong{grid-column:1/-1!important;margin-bottom:2px!important;font-size:18px!important;color:var(--rp-text)!important;}
body>.dsrv-modal.rp-ui-modal.is-case-modal .dsrv-case-viewer__intro-line{padding:9px 10px!important;border:1px solid var(--rp-line)!important;border-radius:12px!important;background:var(--rp-surface-subtle)!important;color:var(--rp-muted)!important;font-size:11px!important;line-height:1.4!important;}
body>.dsrv-modal.rp-ui-modal.is-case-modal .dsrv-case-viewer__intro-line strong{display:block!important;margin:0 0 3px!important;color:var(--rp-muted)!important;font-size:8.5px!important;letter-spacing:.07em!important;text-transform:uppercase!important;}
body>.dsrv-modal.rp-ui-modal.is-case-modal .dsrv-case-viewer__intro-actions{display:flex!important;align-content:flex-start!important;justify-content:flex-end!important;gap:7px!important;flex-wrap:wrap!important;}
body>.dsrv-modal.rp-ui-modal.is-case-modal .dsrv-case-price-box{padding:16px!important;background:linear-gradient(160deg,color-mix(in srgb,var(--rp-primary) 6%,var(--rp-surface) 94%),color-mix(in srgb,var(--rp-primary) 10%,var(--rp-surface) 90%))!important;}
body>.dsrv-modal.rp-ui-modal.is-case-modal .dsrv-case-price-box__total{display:grid!important;justify-items:center!important;padding:16px!important;border:1px solid var(--rp-line)!important;border-radius:17px!important;background:var(--rp-surface)!important;box-shadow:inset 0 1px 0 color-mix(in srgb,var(--rp-surface) 88%,#fff 12%),0 7px 16px color-mix(in srgb,var(--rp-primary-dark) 5%,transparent)!important;}
body>.dsrv-modal.rp-ui-modal.is-case-modal .dsrv-case-price-box__total span{color:var(--rp-muted)!important;font-size:9px!important;font-weight:950!important;letter-spacing:.09em!important;}
body>.dsrv-modal.rp-ui-modal.is-case-modal .dsrv-case-price-box__total strong{margin-top:5px!important;color:var(--rp-primary-dark)!important;font-size:28px!important;font-weight:950!important;}
body>.dsrv-modal.rp-ui-modal.is-case-modal .dsrv-case-price-box details>summary{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:9px!important;width:100%!important;margin-top:12px!important;padding:11px 13px!important;border:1px solid var(--rp-line)!important;border-radius:13px!important;background:linear-gradient(180deg,var(--rp-surface),var(--rp-surface-subtle))!important;color:var(--rp-primary-dark)!important;font-size:11px!important;font-weight:900!important;cursor:pointer!important;box-shadow:0 5px 12px color-mix(in srgb,var(--rp-primary-dark) 4%,transparent)!important;}
body>.dsrv-modal.rp-ui-modal.is-case-modal .dsrv-case-price-box details>summary:hover{border-color:color-mix(in srgb,var(--rp-primary) 40%,var(--rp-line) 60%)!important;background:var(--rp-primary-soft)!important;}
body>.dsrv-modal.rp-ui-modal.is-case-modal .dsrv-price-breakdown{display:grid!important;gap:9px!important;margin-top:12px!important;padding:10px!important;border:1px solid var(--rp-line)!important;border-radius:16px!important;background:var(--rp-surface-subtle)!important;}
body>.dsrv-modal.rp-ui-modal.is-case-modal .dsrv-price-breakdown__row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px 12px!important;padding:11px 12px!important;border:1px solid var(--rp-line)!important;border-radius:13px!important;background:var(--rp-surface)!important;}
body>.dsrv-modal.rp-ui-modal.is-case-modal .dsrv-price-breakdown__row>span{color:var(--rp-text)!important;font-size:11px!important;line-height:1.45!important;}
body>.dsrv-modal.rp-ui-modal.is-case-modal .dsrv-price-breakdown__row>strong{color:var(--rp-primary-dark)!important;font-size:12px!important;font-weight:950!important;white-space:nowrap!important;}
body>.dsrv-modal.rp-ui-modal.is-case-modal .dsrv-inline-finance-price{grid-column:1/-1!important;display:grid!important;grid-template-columns:minmax(120px,.35fr) minmax(0,1fr) auto!important;gap:8px!important;padding-top:9px!important;border-top:1px solid var(--rp-line)!important;}
body>.dsrv-modal.rp-ui-modal.is-case-modal .dsrv-inline-finance-price .button{min-height:38px!important;border-radius:10px!important;}
body>.dsrv-modal.rp-ui-modal.is-case-modal .dsrv-case-viewer__meta-note{position:relative!important;padding:13px 14px 13px 42px!important;color:var(--rp-muted)!important;line-height:1.5!important;}
body>.dsrv-modal.rp-ui-modal.is-case-modal .dsrv-case-viewer__meta-note::before{content:"i";position:absolute;left:13px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:20px;height:20px;border-radius:999px;background:var(--rp-primary-soft);color:var(--rp-primary-dark);font-size:11px;font-weight:950;}
body>.dsrv-modal.rp-ui-modal.is-case-modal .dsrv-case-viewer__section-head{align-items:center!important;padding:13px 14px!important;}
body>.dsrv-modal.rp-ui-modal.is-case-modal .dsrv-case-viewer__section-head .dsrv-h3{display:flex!important;align-items:center!important;gap:8px!important;color:var(--rp-text)!important;font-size:14px!important;font-weight:950!important;}
body>.dsrv-modal.rp-ui-modal.is-case-modal .dsrv-case-viewer__section-head .dsrv-muted{max-width:480px!important;color:var(--rp-muted)!important;font-size:10.5px!important;text-align:right!important;}
body>.dsrv-modal.rp-ui-modal.is-case-modal .dsrv-case-report-fold{overflow:hidden!important;border:1px solid var(--rp-line)!important;border-radius:22px!important;background:var(--rp-surface)!important;box-shadow:0 14px 30px rgba(16,44,25,.06)!important;}
body>.dsrv-modal.rp-ui-modal.is-case-modal .dsrv-case-report-fold__summary{padding:15px 17px!important;background:linear-gradient(155deg,var(--rp-primary-dark),var(--rp-button-primary) 42%,var(--rp-primary) 100%)!important;color:#fff!important;}
body>.dsrv-modal.rp-ui-modal.is-case-modal .dsrv-case-report-fold__summary strong,body>.dsrv-modal.rp-ui-modal.is-case-modal .dsrv-case-report-fold__summary .dsrv-muted,body>.dsrv-modal.rp-ui-modal.is-case-modal .dsrv-case-report-fold__eyebrow{color:#fff!important;}
@media(max-width:760px){body>.dsrv-modal.rp-ui-modal.is-case-modal .dsrv-case-viewer__intro-main{grid-template-columns:1fr!important;}body>.dsrv-modal.rp-ui-modal.is-case-modal .dsrv-inline-finance-price{grid-template-columns:1fr!important;}body>.dsrv-modal.rp-ui-modal.is-case-modal .dsrv-case-viewer__section-head .dsrv-muted{text-align:left!important;}}

/* ======================================================================
   CANONICAL DOMAIN COMPONENTS
   One final component owner for buttons, badges, route employee chooser,
   overview money cards, employee modal and pest surfaces.
   ====================================================================== */

/* ---------- Shared readable text ---------- */

/* Buttons and badges are owned by the single shared component contract. */

/* ---------- Overview money: actual = routed, upcoming = ledige ---------- */
.rp-overview-money-total.is-actual .rp-overview-money-total__copy>strong{font-size:24px!important;}
.rp-overview-money-total.is-upcoming .rp-overview-money-total__copy>strong,.rp-overview-money-total.is-upcoming-total .rp-overview-money-total__copy>strong{font-size:20px!important;line-height:1.05!important;white-space:nowrap!important;}

.rp-overview-week-ledger__head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-bottom:12px;border-bottom:1px solid #e6ede3;}
.rp-overview-week-ledger__head>div:first-child{display:grid;gap:3px;}
.rp-overview-week-ledger__head small{color:#5f7865;font-size:9px;font-weight:950;letter-spacing:.09em;}
.rp-overview-week-ledger__head strong{color:var(--rp-text);font-size:17px;font-weight:950;line-height:1.2;}
.rp-overview-week-ledger__head span{color:#758179;font-size:10px;line-height:1.45;}
.rp-overview-week-ledger__legend{justify-content:flex-end;}
.rp-overview-week-ledger__legend>span{display:inline-flex;align-items:center;gap:6px;min-height:29px;padding:0 10px;border:1px solid var(--rp-line);border-radius:999px;background:var(--rp-surface);color:#3e5947;font-size:9.5px;font-weight:900;}
.rp-overview-week-ledger__legend i{background:#4ba64e;}
.rp-overview-week-ledger__legend .is-upcoming i{background:#3f8d82;}
.rp-overview-week-ledger__days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px;}
.rp-overview-week-ledger__day{display:grid;gap:10px;min-width:0;padding:11px;border:1px solid var(--rp-line);border-radius:16px;background:linear-gradient(180deg,#fff,#f7faf6);box-shadow:0 5px 14px rgba(18,57,31,.035);}
.rp-overview-week-ledger__day.is-today{border-color:#9ccb89;background:linear-gradient(180deg,#f8fff5,var(--rp-primary-soft));box-shadow:0 0 0 2px rgba(114,189,56,.08),0 7px 18px color-mix(in srgb,var(--rp-primary-dark) 5%,transparent);}
.rp-overview-week-ledger__day>header{display:flex;align-items:center;justify-content:space-between;gap:8px;}
.rp-overview-week-ledger__day>header>span{display:grid;gap:2px;}
.rp-overview-week-ledger__day>header strong{color:#26442e;font-size:11px;font-weight:950;}
.rp-overview-week-ledger__day>header small{color:#829087;font-size:8.5px;font-weight:800;}
.rp-overview-week-ledger__day>header em{display:inline-flex;white-space:nowrap;flex-shrink:0;align-items:center;min-height:21px;padding:0 7px;border-radius:999px;background:#eaf7e4;color:var(--rp-primary-dark);font-size:8px;font-style:normal;font-weight:950;}
.rp-overview-week-ledger__amounts{display:grid;gap:7px;}
.rp-overview-week-ledger__amounts>button{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;min-height:40px;margin:0;padding:8px 9px;border:1px solid #e1e9df;border-radius:11px;background:var(--rp-surface);color:#344d3b;text-align:left;cursor:pointer;box-shadow:none;transition:border-color .15s ease,background .15s ease,transform .15s ease;}
.rp-overview-week-ledger__amounts>button:hover,.rp-overview-week-ledger__amounts>button:focus{transform:translateY(-1px);border-color:#aacaa2;background:var(--rp-surface-subtle);outline:0;}
.rp-overview-week-ledger__amounts>button>span{display:inline-flex;align-items:center;gap:6px;color:#607164;font-size:8.5px;font-weight:900;text-transform:uppercase;}
.rp-overview-week-ledger__amounts>button>span i{display:block;width:7px;height:7px;border-radius:999px;background:#4ba64e;}
.rp-overview-week-ledger__amounts>button.is-upcoming>span i{background:#3f8d82;}
.rp-overview-week-ledger__amounts>button>strong{color:var(--rp-text);font-size:11px;font-weight:950;white-space:nowrap;}
.rp-overview-week-ledger__day>footer{display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:0 7px;border-radius:9px;background:#f1f4f2;color:#66756b;font-size:8.5px;font-weight:850;text-align:center;}
.rp-overview-week-ledger__day>footer.is-positive{background:color-mix(in srgb,var(--rp-primary) 10%,var(--rp-surface) 90%);color:var(--rp-primary-dark);}
.rp-overview-week-ledger__day>footer.is-warning{background:#fff5df;color:#805707;}
.rp-overview-week-ledger__day>footer.is-even{background:#edf5fc;color:#2a567d;}
@media(max-width:1180px){.rp-overview-week-ledger__days{grid-template-columns:repeat(4,minmax(0,1fr));}.rp-overview-week-ledger__day:nth-child(n/**/+5){grid-column:auto;}}
@media(max-width:760px){.rp-overview-week-ledger__head{display:grid;}.rp-overview-week-ledger__legend{justify-content:flex-start;}.rp-overview-week-ledger__days{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:480px){.rp-overview-week-ledger__days{grid-template-columns:1fr;}}
.rp-overview-week-ledger__amounts .is-actual strong{font-size:12px!important;white-space:nowrap!important;}
.rp-overview-week-ledger__amounts .is-upcoming strong{font-size:10.5px!important;white-space:nowrap!important;letter-spacing:-.01em!important;}
.rp-overview-week-ledger__legend .is-upcoming,.rp-overview-week-ledger__amounts .is-upcoming span{color:#805707!important;}
.rp-overview-week-ledger__amounts .is-upcoming{border-color:#edd9a6!important;background:#fff9ea!important;color:#6f4d05!important;}
.rp-overview-week-ledger__amounts .is-upcoming:hover,.rp-overview-week-ledger__amounts .is-upcoming:focus-visible{border-color:#d8b35b!important;background:#fff4d7!important;color:#6f4d05!important;}

/* ---------- Route employee picker: date -> one technician -> one route ---------- */

.dsrv-panel[data-panel="ruter"] .rp-route-employee-native-select{opacity:0!important;pointer-events:none!important;}

/* Calendar with many employees stays compact. */
.dsrv-cal-emps.is-dense{gap:3px!important;margin-top:5px!important;align-content:start!important;}
.dsrv-cal-emps--bars.is-dense .dsrv-empdot{width:12px!important;height:5px!important;min-width:12px!important;border-radius:999px!important;font-size:0!important;line-height:0!important;}

/* Employee modal layout is owned by the shared modal contract. */

/* ---------- Skadedyr modal: single active component ----------
   One owner for layout, tabs, quality rules, extra services and content.
   IMPORTANT: [hidden] always wins over display rules so tab/profile state works. */
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-setup-form{
  display:grid!important;
  grid-template-columns:172px minmax(0,1fr)!important;
  grid-template-rows:auto auto auto!important;
  column-gap:16px!important;
  row-gap:12px!important;
  align-items:start!important;
  align-content:start!important;
  min-height:0!important;
  padding:15px!important;
  background:linear-gradient(180deg,var(--rp-surface) 0%,var(--rp-surface-subtle) 100%)!important;
}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-setup-form [hidden],body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-setup-form>[data-rp-pest-tab-panel][hidden]{display:none!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-modal-tabs{
  grid-column:1!important;
  grid-row:1 / 4!important;
  position:sticky!important;
  top:0!important;
  z-index:4!important;
  display:grid!important;
  align-self:start!important;
  gap:6px!important;
  width:100%!important;
  max-width:172px!important;
  margin:0!important;
  padding:8px!important;
  border:1px solid var(--rp-line)!important;
  border-radius:16px!important;
  background:linear-gradient(180deg,var(--rp-surface),var(--rp-surface-subtle))!important;
  box-shadow:0 8px 20px color-mix(in srgb,var(--rp-primary-dark) 5%,transparent)!important;
}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-modal-tabs button{
  appearance:none!important;
  display:grid!important;
  grid-template-columns:30px minmax(0,1fr)!important;
  align-items:center!important;
  gap:8px!important;
  width:100%!important;
  min-height:45px!important;
  margin:0!important;
  padding:7px 8px!important;
  border:1px solid transparent!important;
  border-radius:11px!important;
  background:transparent!important;
  color:var(--rp-text)!important;
  font-size:11.25px!important;
  line-height:1.25!important;
  font-weight:850!important;
  text-align:left!important;
  box-shadow:none!important;
  cursor:pointer!important;
}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-modal-tabs button:hover,body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-modal-tabs button:focus-visible{border-color:color-mix(in srgb,var(--rp-primary) 28%,var(--rp-line) 72%)!important;background:color-mix(in srgb,var(--rp-primary) 6%,var(--rp-surface) 94%)!important;color:var(--rp-primary-dark)!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-modal-tabs button.is-active{border-color:color-mix(in srgb,var(--rp-primary) 42%,var(--rp-line) 58%)!important;background:linear-gradient(145deg,color-mix(in srgb,var(--rp-primary) 10%,var(--rp-surface) 90%),color-mix(in srgb,var(--rp-primary) 16%,var(--rp-surface-subtle) 84%))!important;color:var(--rp-primary-dark)!important;box-shadow:0 5px 13px color-mix(in srgb,var(--rp-primary) 8%,transparent)!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-modal-contextbar--pest,body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-setup-form>[data-rp-pest-tab-panel],body>.dsrv-modal.rp-ui-modal.is-pest-modal .dsrv-setup-modal__actions{grid-column:2!important;min-width:0!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-modal-contextbar--pest{
  grid-row:1!important;
  margin:0!important;
  min-height:58px!important;
  padding:11px 13px!important;
  border:1px solid var(--rp-line)!important;
  border-radius:15px!important;
  background:var(--rp-surface)!important;
  box-shadow:0 5px 14px rgba(18,57,31,.03)!important;
}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-modal-contextbar__identity strong{font-size:13px!important;line-height:1.25!important;font-weight:950!important;color:var(--rp-text)!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-modal-contextbar__identity span{margin-top:2px!important;color:var(--rp-muted)!important;font-size:10.5px!important;line-height:1.4!important;font-weight:650!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-setup-form>[data-rp-pest-tab-panel]{
  grid-row:2!important;
  align-self:start!important;
  margin:0!important;
  min-height:0!important;
  padding:14px!important;
  border:1px solid var(--rp-line)!important;
  border-radius:16px!important;
  background:var(--rp-surface)!important;
  box-shadow:0 6px 16px rgba(18,57,31,.03)!important;
}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .dsrv-setup-modal__actions{
  grid-row:3!important;
  position:sticky!important;
  bottom:-15px!important;
  z-index:5!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  margin:0!important;
  padding:9px 0 1px!important;
  border-top:1px solid var(--rp-line)!important;
  background:linear-gradient(180deg,rgba(243,248,241,.82),var(--rp-surface-subtle) 34%)!important;
}

/* Basic fields. Text controls never inherit checkbox/radio sizing. */
.rp-catalog-notice{margin:0 0 16px;padding:14px 16px;min-width:0;overflow-wrap:anywhere;}
.rp-catalog-notice>p{margin:6px 0 10px;line-height:1.5;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-setup-form .dsrv-setup-modal__grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px 12px!important;align-items:start!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-setup-form .dsrv-setup-modal__grid>.dsrv-form-row{min-width:0!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .dsrv-form-row{display:grid!important;gap:5px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .dsrv-form-row>label,body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stat-unit-grid>label,body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-service-simple-grid>label{color:var(--rp-text)!important;font-size:11px!important;line-height:1.3!important;font-weight:900!important;letter-spacing:0!important;text-transform:none!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-setup-form input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]){
  width:100%!important;
  max-width:100%!important;
  min-height:42px!important;
  box-sizing:border-box!important;
  border:1px solid var(--rp-line)!important;
  border-radius:10px!important;
  background:var(--rp-surface)!important;
  color:var(--rp-text)!important;
  padding:8px 10px!important;
  box-shadow:none!important;
  font-size:11.75px!important;
  line-height:1.4!important;
  caret-color:var(--rp-text)!important;
  cursor:text!important;
}body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-setup-form select{
  width:100%!important;
  max-width:100%!important;
  min-height:42px!important;
  box-sizing:border-box!important;
  border:1px solid var(--rp-line)!important;
  border-radius:10px!important;
  background:var(--rp-surface)!important;
  color:var(--rp-text)!important;
  padding:8px 10px!important;
  box-shadow:none!important;
  font-size:11.75px!important;
  line-height:1.4!important;
  caret-color:var(--rp-text)!important;

}body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-setup-form textarea{
  width:100%!important;
  max-width:100%!important;

  box-sizing:border-box!important;
  border:1px solid var(--rp-line)!important;
  border-radius:10px!important;
  background:var(--rp-surface)!important;
  color:var(--rp-text)!important;
  padding:8px 10px!important;
  box-shadow:none!important;
  font-size:11.75px!important;
  line-height:1.4!important;
  caret-color:var(--rp-text)!important;
  cursor:text!important;
}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-setup-form select{cursor:pointer!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-setup-form textarea{min-height:92px!important;resize:vertical!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-setup-form input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):focus,body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-setup-form select:focus,body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-setup-form textarea:focus{border-color:var(--rp-primary)!important;box-shadow:0 0 0 3px var(--rp-primary-focus)!important;outline:0!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-setup-form input[type="checkbox"],body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-setup-form input[type="radio"]{pointer-events:auto!important;cursor:pointer!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-setup-form .dsrv-muted{color:var(--rp-muted)!important;font-size:10.5px!important;line-height:1.45!important;font-weight:600!important;}

/* Shared compact headings. */
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-section-heading{display:flex!important;align-items:center!important;gap:7px!important;flex-wrap:wrap!important;margin:0 0 9px!important;color:var(--rp-text)!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-section-heading strong{font-size:13.25px!important;line-height:1.25!important;font-weight:950!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-section-heading span{color:var(--rp-muted)!important;font-size:10.75px!important;line-height:1.4!important;font-weight:650!important;}

/* Quality / statistics. */
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-stats-editor{display:grid!important;gap:11px!important;padding:14px!important;background:var(--rp-surface)!important;border-color:var(--rp-line)!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-stats-editor__head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:12px!important;padding-bottom:10px!important;border-bottom:1px solid var(--rp-line)!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-stats-editor__head>div:first-child{display:grid!important;gap:5px!important;min-width:0!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-stats-editor__title-row{display:flex!important;align-items:center!important;gap:7px!important;flex-wrap:wrap!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-stats-editor__title-row h4{margin:0!important;color:var(--rp-text)!important;font-size:15px!important;line-height:1.25!important;font-weight:950!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-stats-editor__head p{margin:0!important;color:var(--rp-muted)!important;font-size:10.75px!important;line-height:1.5!important;font-weight:600!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-stats-editor__safe-note{display:inline-flex!important;align-items:center!important;gap:5px!important;min-height:28px!important;padding:4px 8px!important;border:1px solid var(--rp-line)!important;border-radius:999px!important;background:var(--rp-surface-subtle)!important;color:var(--rp-text)!important;font-size:9.75px!important;font-weight:850!important;white-space:nowrap!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-stats-editor__safe-note .dashicons{width:13px!important;height:13px!important;font-size:13px!important;line-height:13px!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stats-help{position:relative!important;display:inline-flex!important;align-items:center!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stats-help__button{appearance:none!important;display:grid!important;place-items:center!important;width:25px!important;height:25px!important;min-width:25px!important;padding:0!important;border:1px solid var(--rp-line)!important;border-radius:8px!important;background:var(--rp-surface-subtle)!important;color:var(--rp-muted)!important;font-size:11px!important;font-weight:950!important;box-shadow:none!important;cursor:pointer!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stats-help__button:hover,body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stats-help__button[aria-expanded="true"]{border-color:color-mix(in srgb,var(--rp-primary) 52%,var(--rp-line) 48%)!important;background:var(--rp-primary-soft)!important;color:var(--rp-primary-dark)!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stats-help__popover{z-index:100500!important;padding:12px 13px!important;border:1px solid var(--rp-line)!important;border-radius:13px!important;background:var(--rp-surface)!important;color:var(--rp-text)!important;box-shadow:0 20px 48px color-mix(in srgb,var(--rp-primary-dark) 20%,transparent)!important;font-size:10.75px!important;line-height:1.52!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stats-help__popover strong{display:block!important;margin-bottom:5px!important;color:var(--rp-text)!important;font-size:11.75px!important;font-weight:950!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stats-help__popover p{margin:6px 0 0!important;color:var(--rp-muted)!important;font-size:10.75px!important;line-height:1.52!important;}

body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stat-profile{display:grid!important;gap:9px!important;padding:12px!important;border:1px solid var(--rp-line)!important;border-radius:14px!important;background:linear-gradient(180deg,var(--rp-surface),var(--rp-surface-subtle))!important;box-shadow:none!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stat-profile__head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:10px!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stat-profile__head>div:first-child{display:grid!important;gap:2px!important;min-width:0!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stat-profile__head span{color:var(--rp-muted)!important;font-size:9.25px!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.045em!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stat-profile__head strong{color:var(--rp-text)!important;font-size:12.25px!important;line-height:1.3!important;font-weight:950!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stat-profile__head small{color:var(--rp-muted)!important;font-size:10.25px!important;line-height:1.4!important;font-weight:600!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stat-profile__choices{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stat-profile__choice,body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stat-profile__save{display:grid!important;grid-template-columns:18px minmax(0,1fr)!important;gap:8px!important;align-items:start!important;margin:0!important;padding:10px!important;border:1px solid var(--rp-line)!important;border-radius:11px!important;background:var(--rp-surface)!important;color:var(--rp-text)!important;cursor:pointer!important;transition:border-color .14s ease,background .14s ease,box-shadow .14s ease!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stat-profile__choice:hover{border-color:color-mix(in srgb,var(--rp-primary) 36%,var(--rp-line) 64%)!important;background:color-mix(in srgb,var(--rp-primary) 5%,var(--rp-surface) 95%)!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stat-profile__choice.is-selected,body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stat-profile__choice:has(input[type="radio"]:checked){border-color:color-mix(in srgb,var(--rp-primary) 48%,var(--rp-line) 52%)!important;background:color-mix(in srgb,var(--rp-primary) 10%,var(--rp-surface) 90%)!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--rp-primary) 8%,transparent)!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stat-profile__choice input[type="radio"]{
  -webkit-appearance:none!important;appearance:none!important;
  box-sizing:border-box!important;width:17px!important;height:17px!important;min-width:17px!important;min-height:17px!important;margin:1px 0 0!important;padding:0!important;
  border:1.5px solid #aebfaf!important;border-radius:50%!important;background:var(--rp-surface)!important;box-shadow:none!important;outline:0!important;cursor:pointer!important;
}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stat-profile__choice input[type="radio"]:checked{border-color:var(--rp-primary)!important;background:var(--rp-button-primary)!important;box-shadow:inset 0 0 0 4px #fff!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stat-profile__save input[type="checkbox"],body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stat-toggle input[type="checkbox"],body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stat-family-override-toggle input[type="checkbox"],body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-service-definition__checks input[type="checkbox"]{width:17px!important;height:17px!important;min-width:17px!important;min-height:17px!important;margin:1px 0 0!important;padding:0!important;accent-color:var(--rp-primary)!important;cursor:pointer!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stat-profile__choice>span,body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stat-profile__save>span{display:grid!important;gap:2px!important;min-width:0!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stat-profile__choice b,body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stat-profile__save b{color:var(--rp-text)!important;font-size:11px!important;line-height:1.35!important;font-weight:900!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stat-profile__choice small,body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stat-profile__save small{color:var(--rp-muted)!important;font-size:10px!important;line-height:1.4!important;font-weight:600!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stat-profile__local-state,body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stat-profile__summary{display:grid!important;gap:3px!important;padding:9px 10px!important;border:1px solid var(--rp-line)!important;border-radius:10px!important;background:var(--rp-surface)!important;color:var(--rp-muted)!important;font-size:10.25px!important;line-height:1.45!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stat-profile__local-state strong{color:var(--rp-text)!important;font-size:10.75px!important;font-weight:900!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stat-validation:not([hidden]){display:block!important;padding:9px 11px!important;border:1px solid var(--rp-danger-line)!important;border-radius:10px!important;background:var(--rp-danger-soft)!important;color:var(--rp-danger)!important;font-size:10.5px!important;font-weight:750!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-stats-local{display:grid!important;gap:9px!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stat-config-section{display:grid!important;gap:9px!important;margin:0!important;padding:12px!important;border:1px solid var(--rp-line)!important;border-radius:13px!important;background:var(--rp-surface-subtle)!important;box-shadow:none!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stat-config-section__head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:10px!important;padding-bottom:8px!important;border-bottom:1px solid var(--rp-line)!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stat-config-section__head>div:first-child{display:grid!important;gap:2px!important;min-width:0!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stat-config-section__head strong{color:var(--rp-text)!important;font-size:12.25px!important;line-height:1.3!important;font-weight:950!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stat-config-section__head span{color:var(--rp-muted)!important;font-size:10.25px!important;line-height:1.4!important;font-weight:600!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stat-config-grid,body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stat-unit-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px 10px!important;align-items:start!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stat-field__label{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:7px!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stat-field__label label{margin:0!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stat-unit-grid>label{display:grid!important;gap:5px!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stat-toggle,body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stat-family-override-toggle{display:flex!important;align-items:flex-start!important;gap:8px!important;margin:0!important;padding:9px 10px!important;border:1px solid var(--rp-line)!important;border-radius:11px!important;background:var(--rp-surface)!important;color:var(--rp-text)!important;font-size:10.75px!important;line-height:1.4!important;font-weight:800!important;cursor:pointer!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal [data-rp-stat-section="flow"] .rp-stat-config-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}

/* Advanced rules are a real compact accordion, not raw browser text. */
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stat-config-advanced,body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-service-definition__advanced{margin:0!important;border:1px solid var(--rp-line)!important;border-radius:12px!important;background:var(--rp-surface)!important;overflow:hidden!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stat-config-advanced>summary,body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-service-definition__advanced>summary{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;padding:10px 11px!important;list-style:none!important;cursor:pointer!important;background:var(--rp-surface-subtle)!important;color:var(--rp-text)!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stat-config-advanced>summary::-webkit-details-marker,body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-service-definition__advanced>summary::-webkit-details-marker{display:none!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stat-config-advanced>summary>span,body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-service-definition__advanced>summary>span{display:grid!important;gap:2px!important;min-width:0!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stat-config-advanced>summary b,body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-service-definition__advanced>summary b{font-size:11px!important;font-weight:950!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stat-config-advanced>summary small,body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-service-definition__advanced>summary small{color:var(--rp-muted)!important;font-size:9.75px!important;line-height:1.35!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stat-config-advanced__body,body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-service-definition__advanced-body{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px 10px!important;padding:11px!important;border-top:1px solid var(--rp-line)!important;background:var(--rp-surface)!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stat-family-auto{display:grid!important;gap:2px!important;padding:9px 10px!important;border:1px solid var(--rp-line)!important;border-radius:10px!important;background:var(--rp-surface-subtle)!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stat-family-auto>span{color:var(--rp-muted)!important;font-size:9px!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.045em!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stat-family-auto>strong{color:var(--rp-text)!important;font-size:11.5px!important;font-weight:950!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stat-family-auto>small{color:var(--rp-muted)!important;font-size:9.75px!important;line-height:1.35!important;}

/* Live explanation preview. */
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-stats-example{display:grid!important;gap:0!important;margin:0!important;padding:0!important;border:1px solid var(--rp-line)!important;border-radius:13px!important;background:var(--rp-surface)!important;overflow:hidden!important;box-shadow:none!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-stats-example__head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:10px!important;padding:10px 11px!important;border-bottom:1px solid var(--rp-line)!important;background:var(--rp-surface-subtle)!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-stats-example__head>div{display:grid!important;gap:2px!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-stats-example__head strong{color:var(--rp-text)!important;font-size:11.5px!important;font-weight:950!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-stats-example__head span{color:var(--rp-muted)!important;font-size:9.75px!important;line-height:1.35!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-stats-example__model{display:inline-flex!important;align-items:center!important;min-height:25px!important;padding:3px 7px!important;border:1px solid color-mix(in srgb,var(--rp-primary) 30%,var(--rp-line) 70%)!important;border-radius:999px!important;background:var(--rp-primary-soft)!important;color:var(--rp-primary-dark)!important;font-size:9.25px!important;font-weight:900!important;white-space:nowrap!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-stats-example__body{display:grid!important;gap:9px!important;padding:11px!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-stats-example__body h5{margin:0!important;color:var(--rp-text)!important;font-size:12.5px!important;line-height:1.3!important;font-weight:950!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-stats-example__body>p{margin:0!important;color:var(--rp-muted)!important;font-size:10.5px!important;line-height:1.5!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-stats-example__timeline{display:grid!important;gap:6px!important;margin:0!important;padding:0!important;list-style:none!important;counter-reset:none!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-stats-example__timeline>li{display:grid!important;grid-template-columns:26px minmax(0,1fr)!important;gap:8px!important;align-items:start!important;padding:8px 9px!important;border:1px solid var(--rp-line)!important;border-radius:10px!important;background:var(--rp-surface-subtle)!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-stats-example__step-number{display:grid!important;place-items:center!important;width:24px!important;height:24px!important;border-radius:8px!important;background:var(--rp-primary-soft)!important;color:var(--rp-primary-dark)!important;font-size:9.5px!important;font-weight:950!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-stats-example__timeline strong{display:block!important;color:var(--rp-text)!important;font-size:10.75px!important;font-weight:900!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-stats-example__timeline p{margin:2px 0 0!important;color:var(--rp-muted)!important;font-size:10px!important;line-height:1.4!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-stats-example__units{padding:8px 9px!important;border:1px solid var(--rp-line)!important;border-radius:10px!important;background:var(--rp-surface-subtle)!important;color:var(--rp-text)!important;font-size:10.25px!important;font-weight:800!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-stats-example__rules{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;margin:0!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-stats-example__rules>div{display:grid!important;gap:2px!important;padding:8px 9px!important;border:1px solid var(--rp-line)!important;border-radius:9px!important;background:var(--rp-surface)!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-stats-example__rules dt{color:var(--rp-muted)!important;font-size:9px!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.035em!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-stats-example__rules dd{margin:0!important;color:var(--rp-text)!important;font-size:10.25px!important;font-weight:800!important;}

/* Extra services. */
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-service-editor{display:grid!important;gap:11px!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-service-editor__head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:12px!important;padding-bottom:10px!important;border-bottom:1px solid var(--rp-line)!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-service-editor__head>div{display:grid!important;gap:4px!important;min-width:0!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-service-editor__head h4{margin:0!important;color:var(--rp-text)!important;font-size:14.5px!important;line-height:1.25!important;font-weight:950!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-service-editor__head p{margin:0!important;color:var(--rp-muted)!important;font-size:10.5px!important;line-height:1.5!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal [data-rp-service-definition-list]{display:grid!important;gap:9px!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-service-editor__empty{padding:12px!important;border:1px dashed var(--rp-line)!important;border-radius:11px!important;background:var(--rp-surface-subtle)!important;color:var(--rp-muted)!important;font-size:10.75px!important;line-height:1.45!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-service-definition{display:grid!important;gap:0!important;border:1px solid var(--rp-line)!important;border-radius:13px!important;background:var(--rp-surface)!important;overflow:hidden!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-service-definition__head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;padding:9px 10px!important;border-bottom:1px solid var(--rp-line)!important;background:var(--rp-surface-subtle)!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-service-definition__head>div{display:grid!important;gap:2px!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-service-definition__head strong{color:var(--rp-text)!important;font-size:11.5px!important;font-weight:950!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-service-definition__head small{color:var(--rp-muted)!important;font-size:9.75px!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-service-definition__status{display:inline-flex!important;align-items:center!important;min-height:24px!important;padding:3px 7px!important;border:1px solid color-mix(in srgb,var(--rp-primary) 30%,var(--rp-line) 70%)!important;border-radius:999px!important;background:var(--rp-primary-soft)!important;color:var(--rp-primary-dark)!important;font-size:9px!important;font-weight:900!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-service-definition__body{display:grid!important;gap:9px!important;padding:10px!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-service-simple-section{display:grid!important;gap:8px!important;padding:10px!important;border:1px solid var(--rp-line)!important;border-radius:11px!important;background:var(--rp-surface-subtle)!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-service-simple-section>header{display:grid!important;gap:2px!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-service-simple-section>header strong{color:var(--rp-text)!important;font-size:11.25px!important;font-weight:950!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-service-simple-section>header span{color:var(--rp-muted)!important;font-size:9.75px!important;line-height:1.4!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-service-simple-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px 10px!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-service-simple-grid>label{display:grid!important;gap:5px!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-service-definition__checks{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-service-definition__checks--availability{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-service-definition__checks>label{display:grid!important;grid-template-columns:18px minmax(0,1fr)!important;gap:7px!important;align-items:start!important;padding:8px 9px!important;border:1px solid var(--rp-line)!important;border-radius:10px!important;background:var(--rp-surface)!important;color:var(--rp-text)!important;cursor:pointer!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-service-definition__checks span{display:grid!important;gap:2px!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-service-definition__checks b{font-size:10.5px!important;font-weight:900!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-service-definition__checks small{color:var(--rp-muted)!important;font-size:9.5px!important;line-height:1.35!important;}

/* Content tab. */
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-content-panel__grid{display:grid!important;grid-template-columns:minmax(190px,.72fr) minmax(0,1.28fr)!important;gap:12px!important;align-items:start!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-content-panel__media,body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-content-panel__copy{display:grid!important;gap:9px!important;min-width:0!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .dsrv-setup-modal__media-card--small{display:grid!important;place-items:center!important;min-height:150px!important;max-height:190px!important;padding:10px!important;border:1px dashed var(--rp-line)!important;border-radius:12px!important;background:var(--rp-surface-subtle)!important;overflow:hidden!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .dsrv-setup-modal__media-card--small img{display:block!important;max-width:100%!important;max-height:165px!important;border-radius:9px!important;object-fit:contain!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .dsrv-setup-modal__media-actions{display:flex!important;gap:7px!important;flex-wrap:wrap!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-content-panel__copy textarea[name="notes"]{min-height:150px!important;}

@media(max-width:980px){
  body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-setup-form{grid-template-columns:1fr!important;grid-template-rows:auto auto auto auto!important;padding:12px!important;}
  body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-modal-tabs{grid-column:1!important;grid-row:1!important;position:sticky!important;top:-12px!important;display:flex!important;max-width:none!important;overflow-x:auto!important;scrollbar-width:none!important;}
  body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-modal-tabs::-webkit-scrollbar{display:none!important;}
  body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-modal-tabs button{grid-template-columns:24px auto!important;min-width:max-content!important;}
  body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-modal-contextbar--pest{grid-column:1!important;grid-row:2!important;}
  body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-setup-form>[data-rp-pest-tab-panel]{grid-column:1!important;grid-row:3!important;}
  body>.dsrv-modal.rp-ui-modal.is-pest-modal .dsrv-setup-modal__actions{grid-column:1!important;grid-row:4!important;}
  body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-setup-form .dsrv-setup-modal__grid,body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stat-profile__choices,body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stat-config-grid,body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stat-unit-grid,body>.dsrv-modal.rp-ui-modal.is-pest-modal [data-rp-stat-section="flow"] .rp-stat-config-grid,body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stat-config-advanced__body,body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-stats-example__rules,body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-service-simple-grid,body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-service-definition__checks,body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-service-definition__checks--availability,body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-content-panel__grid{grid-template-columns:1fr!important;}
  body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-stats-editor__head,body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-service-editor__head{display:grid!important;}
  body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-pest-stats-editor__safe-note{justify-self:start!important;}
}

/* ---------- Case/economy and menu spacing ---------- */

body.ruteplanen-ui-runtime .dsrv-price-breakdown__row .dsrv-inline-finance-price{grid-column:1/-1!important;display:grid!important;grid-template-columns:var(--rp-finance-price-columns,minmax(110px,130px) minmax(220px,1fr) auto)!important;gap:8px!important;align-items:center!important;margin-top:8px!important;padding-top:8px!important;border-top:1px solid var(--rp-line)!important;}
body.ruteplanen-ui-runtime .dsrv-price-breakdown__row .dsrv-inline-finance-price input{min-height:38px!important;border:1px solid #d6e3d4!important;border-radius:10px!important;background:var(--rp-surface)!important;color:var(--rp-text)!important;}

@media(max-width:1180px){
  .dsrv-panel[data-panel="skadedyr"] .rp-pests__grid{grid-template-columns:1fr!important;}
}
@media(max-width:760px){
  body.ruteplanen-ui-runtime .dsrv-price-breakdown__row .dsrv-inline-finance-price{grid-template-columns:1fr!important;}
}

/* ======================================================================
   SHARED CROSS-MODULE COMPONENT CONTRACT
   Single owner for buttons, badges, task semantics, task/report/employee
   modal layout and the shared employee planners.
   ====================================================================== */

/* Shared text/readability. */

.dsrv.rp-ui small,body>.dsrv-modal.rp-ui-modal small{font-weight:650;}

/* One button contract. */
.dsrv.rp-ui .button,.dsrv.rp-ui .rp-ui-button,body>.dsrv-modal.rp-ui-modal .button,body>.dsrv-modal.rp-ui-modal .rp-ui-button{
  -webkit-appearance:none!important;appearance:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;
  min-height:36px!important;margin:0!important;padding:7px 12px!important;border:1px solid var(--rp-line)!important;border-radius:10px!important;outline:0!important;
  background:var(--rp-surface)!important;color:var(--rp-text)!important;text-shadow:none!important;text-decoration:none!important;box-shadow:0 3px 8px rgba(18,57,31,.035)!important;
  font-weight:850!important;line-height:1.15!important;transition:transform .14s ease,border-color .14s ease,background .14s ease,color .14s ease,box-shadow .14s ease!important;
}
.dsrv.rp-ui .button *,.dsrv.rp-ui .rp-ui-button *,body>.dsrv-modal.rp-ui-modal .button *,body>.dsrv-modal.rp-ui-modal .rp-ui-button *{color:inherit!important;stroke:currentColor!important;text-shadow:none!important;}
.dsrv.rp-ui .button>.rp-icon,.dsrv.rp-ui .button>.rp-ui-button__icon,.dsrv.rp-ui .rp-ui-button>.rp-icon,.dsrv.rp-ui .rp-ui-button>.rp-ui-button__icon,body>.dsrv-modal.rp-ui-modal .button>.rp-icon,body>.dsrv-modal.rp-ui-modal .button>.rp-ui-button__icon,body>.dsrv-modal.rp-ui-modal .rp-ui-button>.rp-icon,body>.dsrv-modal.rp-ui-modal .rp-ui-button>.rp-ui-button__icon{position:static!important;inset:auto!important;display:inline-grid!important;place-items:center!important;flex:0 0 auto!important;width:16px!important;height:16px!important;margin:0!important;transform:none!important;overflow:visible!important;line-height:1!important;}
.dsrv.rp-ui .button>.rp-icon svg,.dsrv.rp-ui .button>.rp-ui-button__icon svg,.dsrv.rp-ui .rp-ui-button>.rp-icon svg,.dsrv.rp-ui .rp-ui-button>.rp-ui-button__icon svg,body>.dsrv-modal.rp-ui-modal .button>.rp-icon svg,body>.dsrv-modal.rp-ui-modal .button>.rp-ui-button__icon svg{display:block!important;width:16px!important;height:16px!important;flex:0 0 16px!important;}
.dsrv.rp-ui .button>span:not(.rp-icon):not(.rp-ui-button__icon),.dsrv.rp-ui .rp-ui-button>span:not(.rp-icon):not(.rp-ui-button__icon),body>.dsrv-modal.rp-ui-modal .button>span:not(.rp-icon):not(.rp-ui-button__icon),body>.dsrv-modal.rp-ui-modal .rp-ui-button>span:not(.rp-icon):not(.rp-ui-button__icon){position:static!important;display:inline-block!important;min-width:0!important;margin:0!important;line-height:1.2!important;white-space:nowrap!important;}
body>.dsrv-modal.rp-ui-modal .dsrv-form-actions .button{flex:0 1 auto!important;}
body>.dsrv-modal.rp-ui-modal .dsrv-form-actions .button>span:not(.rp-icon):not(.rp-ui-button__icon){text-align:center!important;}
body>.dsrv-modal.rp-ui-modal .dsrv-approve-send-plain,body>.dsrv-modal.rp-ui-modal .dsrv-submit-report{min-width:0!important;max-width:100%!important;overflow:visible!important;}
.dsrv.rp-ui .button:hover,.dsrv.rp-ui .button:focus-visible,.dsrv.rp-ui .rp-ui-button:hover,.dsrv.rp-ui .rp-ui-button:focus-visible,body>.dsrv-modal.rp-ui-modal .button:hover,body>.dsrv-modal.rp-ui-modal .button:focus-visible,body>.dsrv-modal.rp-ui-modal .rp-ui-button:hover,body>.dsrv-modal.rp-ui-modal .rp-ui-button:focus-visible{
  transform:translateY(-1px)!important;border-color:color-mix(in srgb,var(--rp-primary) 42%,var(--rp-line) 58%)!important;background:color-mix(in srgb,var(--rp-primary) 6%,var(--rp-surface) 94%)!important;color:var(--rp-primary-dark)!important;box-shadow:0 6px 14px color-mix(in srgb,var(--rp-primary) 9%,transparent)!important;
}
.dsrv.rp-ui .button:active,body>.dsrv-modal.rp-ui-modal .button:active{transform:translateY(0)!important;box-shadow:0 2px 6px color-mix(in srgb,var(--rp-primary-dark) 5%,transparent)!important;}
.dsrv.rp-ui .button-primary,.dsrv.rp-ui .rp-ui-button.button-primary,.dsrv.rp-ui .button.is-active,body>.dsrv-modal.rp-ui-modal .button-primary,body>.dsrv-modal.rp-ui-modal .rp-ui-button.button-primary{
  border-color:var(--rp-button-primary-border)!important;background:linear-gradient(155deg,var(--rp-button-primary-start) 0%,var(--rp-button-primary) 45%,var(--rp-button-primary-end) 100%)!important;color:#fff!important;text-shadow:0 1px 1px rgba(5,25,10,.16)!important;box-shadow:0 7px 16px var(--rp-button-primary-shadow)!important;
}
.dsrv.rp-ui .button-primary:hover,.dsrv.rp-ui .button-primary:focus-visible,.dsrv.rp-ui .rp-ui-button.button-primary:hover,.dsrv.rp-ui .button.is-active:hover,body>.dsrv-modal.rp-ui-modal .button-primary:hover,body>.dsrv-modal.rp-ui-modal .button-primary:focus-visible{
  border-color:var(--rp-button-primary-hover-border)!important;background:linear-gradient(155deg,var(--rp-button-primary-start) 0%,var(--rp-button-primary-hover) 44%,var(--rp-button-primary-end) 100%)!important;color:#fff!important;box-shadow:0 9px 19px var(--rp-button-primary-hover-shadow)!important;
}
.dsrv.rp-ui .button-primary *,.dsrv.rp-ui .button.is-active *,body>.dsrv-modal.rp-ui-modal .button-primary *{color:#fff!important;stroke:#fff!important;}
.dsrv.rp-ui .dsrv-sidebar-newtask,.dsrv.rp-ui .dsrv-sidebar-newtask:hover,.dsrv.rp-ui .dsrv-sidebar-newtask:focus-visible{border-color:var(--rp-button-primary-border)!important;background:linear-gradient(155deg,var(--rp-button-primary-start),var(--rp-button-primary) 45%,var(--rp-button-primary-end))!important;color:#fff!important;box-shadow:0 7px 16px var(--rp-button-primary-shadow)!important;}
.dsrv.rp-ui .dsrv-sidebar-newtask:hover{background:linear-gradient(155deg,var(--rp-button-primary-start),var(--rp-button-primary-hover) 44%,var(--rp-button-primary-end))!important;}
.dsrv.rp-ui .dsrv-sidebar-newtask *,.dsrv.rp-ui .dsrv-sidebar-newtask:hover *{color:#fff!important;stroke:#fff!important;}
.dsrv.rp-ui .dsrv-delete,.dsrv.rp-ui .button.is-danger,body>.dsrv-modal.rp-ui-modal .dsrv-delete,body>.dsrv-modal.rp-ui-modal .button.is-danger{border-color:var(--rp-danger-line)!important;background:var(--rp-surface)!important;color:var(--rp-danger)!important;box-shadow:none!important;}
.dsrv.rp-ui .dsrv-delete:hover,.dsrv.rp-ui .button.is-danger:hover,body>.dsrv-modal.rp-ui-modal .dsrv-delete:hover,body>.dsrv-modal.rp-ui-modal .button.is-danger:hover{border-color:color-mix(in srgb,var(--rp-danger) 45%,var(--rp-line) 55%)!important;background:var(--rp-danger-soft)!important;color:var(--rp-danger)!important;box-shadow:0 5px 11px color-mix(in srgb,var(--rp-danger) 9%,transparent)!important;}
.dsrv.rp-ui .button[disabled],.dsrv.rp-ui .rp-ui-button[disabled],body>.dsrv-modal.rp-ui-modal .button[disabled]{opacity:.58!important;background:var(--rp-surface-subtle)!important;color:var(--rp-muted)!important;border-color:var(--rp-line)!important;box-shadow:none!important;cursor:not-allowed!important;transform:none!important;}

/* One crisp, borderless badge/status contract. */
.dsrv.rp-ui .pill,.dsrv.rp-ui .badge,.dsrv.rp-ui .rp-ui-badge,body>.dsrv-modal.rp-ui-modal .pill,body>.dsrv-modal.rp-ui-modal .badge,body>.dsrv-modal.rp-ui-modal .rp-ui-badge{
  box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;min-height:23px!important;padding:4px 8px!important;
  border:0!important;border-radius:999px!important;background:var(--rp-surface-subtle)!important;color:var(--rp-text)!important;box-shadow:none!important;outline:0!important;filter:none!important;text-shadow:none!important;font-size:10px!important;font-weight:900!important;line-height:1.1!important;white-space:nowrap!important;-webkit-font-smoothing:antialiased!important;-moz-osx-font-smoothing:grayscale!important;
}
.dsrv.rp-ui .pill *,.dsrv.rp-ui .badge *,body>.dsrv-modal.rp-ui-modal .pill *,body>.dsrv-modal.rp-ui-modal .badge *{color:inherit!important;stroke:currentColor!important;text-shadow:none!important;}
.dsrv.rp-ui .pill-success,.dsrv.rp-ui .pill-green,.dsrv.rp-ui .badge-green,body>.dsrv-modal.rp-ui-modal .pill-success,body>.dsrv-modal.rp-ui-modal .pill-green,body>.dsrv-modal.rp-ui-modal .badge-green{background:color-mix(in srgb,var(--rp-status-published) 12%,#fff 88%)!important;color:color-mix(in srgb,var(--rp-status-published) 72%,#102219 28%)!important;}
.dsrv.rp-ui .pill-warning,.dsrv.rp-ui .pill-yellow,.dsrv.rp-ui .pill-orange,.dsrv.rp-ui .badge-yellow,body>.dsrv-modal.rp-ui-modal .pill-warning,body>.dsrv-modal.rp-ui-modal .pill-yellow,body>.dsrv-modal.rp-ui-modal .pill-orange{background:color-mix(in srgb,var(--rp-status-warning) 13%,#fff 87%)!important;color:color-mix(in srgb,var(--rp-status-warning) 60%,#5b4300 40%)!important;}
.dsrv.rp-ui .pill-danger,.dsrv.rp-ui .pill-red,.dsrv.rp-ui .badge-red,body>.dsrv-modal.rp-ui-modal .pill-danger,body>.dsrv-modal.rp-ui-modal .pill-red,body>.dsrv-modal.rp-ui-modal .badge-red{background:color-mix(in srgb,var(--rp-status-draft) 10%,#fff 90%)!important;color:color-mix(in srgb,var(--rp-status-draft) 72%,#5d2020 28%)!important;}
.dsrv.rp-ui .pill-blue,.dsrv.rp-ui .pill-info,.dsrv.rp-ui .badge-blue,body>.dsrv-modal.rp-ui-modal .pill-blue,body>.dsrv-modal.rp-ui-modal .pill-info,body>.dsrv-modal.rp-ui-modal .badge-blue{background:var(--rp-info-soft)!important;color:var(--rp-info)!important;}
html body.ruteplanen-ui-runtime .dsrv.rp-ui .pill.pill-case-new,html body.ruteplanen-ui-runtime .dsrv.rp-ui span.pill.pill-case-new,body>.dsrv-modal.rp-ui-modal .pill.pill-case-new{
  box-sizing:border-box!important;background:var(--rp-status-new-case)!important;background-image:none!important;background-clip:border-box!important;color:#fff!important;
  border:0!important;outline:0!important;box-shadow:none!important;filter:none!important;text-shadow:none!important;
  -webkit-font-smoothing:antialiased!important;-moz-osx-font-smoothing:grayscale!important;
}
html body.ruteplanen-ui-runtime .dsrv.rp-ui .pill.pill-case-new::before,html body.ruteplanen-ui-runtime .dsrv.rp-ui .pill.pill-case-new::after,body>.dsrv-modal.rp-ui-modal .pill.pill-case-new::before,body>.dsrv-modal.rp-ui-modal .pill.pill-case-new::after{content:none!important;border:0!important;outline:0!important;box-shadow:none!important;filter:none!important;}
.dsrv.rp-ui .pill-revenue-followup,body>.dsrv-modal.rp-ui-modal .pill-revenue-followup{background:color-mix(in srgb,var(--rp-status-new-visit) 18%,#fff 82%)!important;color:color-mix(in srgb,var(--rp-status-new-visit) 60%,#174563 40%)!important;}
.dsrv.rp-ui .pill-slate,.dsrv.rp-ui .pill-ghost,.dsrv.rp-ui .badge-slate,body>.dsrv-modal.rp-ui-modal .pill-slate,body>.dsrv-modal.rp-ui-modal .pill-ghost{background:color-mix(in srgb,var(--rp-status-recheck) 16%,#fff 84%)!important;color:color-mix(in srgb,var(--rp-status-recheck) 48%,#334139 52%)!important;}

/* Ny sag stays fully borderless on Opgaver and Kunder. */
html body.ruteplanen-ui-runtime .dsrv-panel[data-panel="opgaver"] .pill.pill-case-new,html body.ruteplanen-ui-runtime .dsrv-panel[data-panel="kunder"] .pill.pill-case-new{background:var(--rp-status-new-case)!important;border:0!important;outline:0!important;box-shadow:none!important;filter:none!important;text-shadow:none!important;}

/* Overview weekly ledger is explicitly owned here so it never falls back to raw text. */
.dsrv-panel[data-panel="overblik"] .rp-overview-week-ledger{display:grid!important;gap:14px!important;padding:16px 17px 17px!important;border:1px solid var(--rp-line)!important;border-radius:20px!important;background:linear-gradient(180deg,#fff,var(--rp-surface))!important;box-shadow:0 9px 22px color-mix(in srgb,var(--rp-primary-dark) 5%,transparent)!important;}
.dsrv-panel[data-panel="overblik"] .rp-overview-week-ledger__head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:14px!important;padding-bottom:11px!important;border-bottom:1px solid #e5ece3!important;}
.dsrv-panel[data-panel="overblik"] .rp-overview-week-ledger__days{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(145px,1fr))!important;gap:7px!important;}
.dsrv-panel[data-panel="overblik"] .rp-overview-week-ledger__day{display:grid!important;grid-template-rows:auto 1fr auto!important;gap:8px!important;min-width:0!important;min-height:130px!important;padding:10px!important;border:1px solid #e0e8de!important;border-radius:14px!important;background:var(--rp-surface)!important;}
.dsrv-panel[data-panel="overblik"] .rp-overview-week-ledger__day.is-today{border-color:#9fce8d!important;background:#f3fbee!important;}
.dsrv-panel[data-panel="overblik"] .rp-overview-week-ledger__day header{display:flex!important;flex-wrap:wrap!important;justify-content:space-between!important;gap:6px!important;}
.dsrv-panel[data-panel="overblik"] .rp-overview-week-ledger__day header span{display:grid!important;gap:2px!important;}
.dsrv-panel[data-panel="overblik"] .rp-overview-week-ledger__day header strong{color:var(--rp-text)!important;font-size:10.5px!important;font-weight:950!important;}
.dsrv-panel[data-panel="overblik"] .rp-overview-week-ledger__day header small{color:#6d7c72!important;font-size:8.6px!important;font-weight:800!important;white-space:nowrap!important;}
.dsrv-panel[data-panel="overblik"] .rp-overview-week-ledger__amounts{display:grid!important;gap:6px!important;align-content:start!important;}
.dsrv-panel[data-panel="overblik"] .rp-overview-week-ledger__amounts>button{display:grid!important;grid-template-columns:minmax(0,1fr)!important;align-items:start!important;justify-items:start!important;gap:6px!important;min-height:34px!important;padding:6px 7px!important;border:1px solid #e0e7df!important;border-radius:10px!important;background:var(--rp-surface-subtle)!important;color:#334c3a!important;box-shadow:none!important;transform:none!important;}
.dsrv-panel[data-panel="overblik"] .rp-overview-week-ledger__amounts>button.is-upcoming{border-color:#edd9a6!important;background:#fff9ea!important;color:#6f4d05!important;}
.dsrv-panel[data-panel="overblik"] .rp-overview-week-ledger__amounts>button>span{display:inline-flex!important;word-break:normal!important;overflow-wrap:normal!important;align-items:center!important;gap:4px!important;text-transform:uppercase!important;}
.dsrv-panel[data-panel="overblik"] .rp-overview-week-ledger__amounts>button>strong{font-size:10.8px!important;font-weight:950!important;white-space:nowrap!important;letter-spacing:-.015em!important;}
.dsrv-panel[data-panel="overblik"] .rp-overview-week-ledger__amounts>button.is-upcoming>strong{font-size:9.6px!important;}
.dsrv-panel[data-panel="overblik"] .rp-overview-week-ledger__day>footer{display:flex!important;align-items:center!important;justify-content:center!important;min-height:23px!important;padding:3px 6px!important;border-radius:8px!important;background:#f1f4f2!important;text-align:center!important;}
@media(max-width:1180px){.dsrv-panel[data-panel="overblik"] .rp-overview-week-ledger__days{grid-template-columns:repeat(4,minmax(0,1fr))!important;}}
@media(max-width:760px){.dsrv-panel[data-panel="overblik"] .rp-overview-week-ledger__head{display:grid!important;}.dsrv-panel[data-panel="overblik"] .rp-overview-week-ledger__days{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
@media(max-width:480px){.dsrv-panel[data-panel="overblik"] .rp-overview-week-ledger__days{grid-template-columns:1fr!important;}}

/* Shared modern employee planner for New task + Report rescheduling. */
.rp-task-employee-native-select{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;}
.rp-task-employee-pro{position:relative;min-width:0;}
.rp-task-employee-pro details{position:relative;margin:0;}.rp-task-employee-pro summary{list-style:none;}.rp-task-employee-pro summary::-webkit-details-marker{display:none;}
.rp-task-employee-pro__trigger{display:grid!important;grid-template-columns:42px minmax(0,1fr) auto 22px!important;gap:10px!important;align-items:center!important;width:100%!important;min-height:58px!important;padding:7px 9px!important;border:1px solid #c7d9c2!important;border-radius:14px!important;background:var(--rp-surface)!important;color:#1c3824!important;cursor:pointer!important;box-shadow:0 6px 14px color-mix(in srgb,var(--rp-primary-dark) 5%,transparent)!important;}
.rp-task-employee-pro__trigger.is-draft,.rp-task-employee-pro__trigger.is-unavailable{border-color:#e4b9b9!important;background:#fff5f5!important;}.rp-task-employee-pro__trigger.is-published{border-color:#b9d9b2!important;background:color-mix(in srgb,var(--rp-primary) 5%,var(--rp-surface) 95%)!important;}
.rp-task-employee-pro details[open] .rp-task-employee-pro__trigger{border-color:#83b971!important;box-shadow:0 7px 16px rgba(18,57,31,.07)!important;}
.rp-task-employee-pro__avatar{display:grid;place-items:center;width:40px;height:40px;min-width:40px;border-radius:12px;overflow:hidden;background:linear-gradient(145deg,#e7f5df,#cfe9c5);border:1px solid #c9dfc3;color:#2d6a34;font-size:13px;font-weight:950;}.rp-task-employee-pro__avatar img{width:100%;height:100%;object-fit:cover;display:block;}
.rp-task-employee-pro__copy{display:grid;gap:3px;min-width:0;text-align:left;}.rp-task-employee-pro__copy strong{overflow:hidden;color:#173222;font-size:12px;font-weight:950;text-overflow:ellipsis;white-space:nowrap;}.rp-task-employee-pro__copy small{overflow:hidden;color:#5f7165;font-size:9.8px;font-weight:720;text-overflow:ellipsis;white-space:nowrap;}
.rp-task-employee-pro__state{display:inline-flex;align-items:center;justify-content:center;min-height:24px;max-width:180px;padding:4px 8px;border:1px solid #dce5dc;border-radius:999px;background:#f6f8f6;color:#5c6c61;font-size:9px;font-weight:900;line-height:1.2;text-align:center;}.rp-task-employee-pro__state.is-published{background:color-mix(in srgb,var(--rp-primary) 10%,var(--rp-surface) 90%);border-color:#cce2c7;color:var(--rp-primary-dark);}.rp-task-employee-pro__state.is-draft,.rp-task-employee-pro__state.is-unavailable{background:var(--rp-danger-soft);border-color:#edcaca;color:var(--rp-danger);}
.rp-task-employee-pro__menu{position:absolute;z-index:120;top:calc(100% + 7px);left:0;right:0;padding:9px;border:1px solid #d7e4d6;border-radius:15px;background:var(--rp-surface);box-shadow:0 20px 44px rgba(11,40,20,.15);}.rp-task-employee-pro__menu-head{display:grid;gap:2px;padding:6px 7px 9px;border-bottom:1px solid var(--rp-line);}.rp-task-employee-pro__list{display:grid;gap:4px;max-height:340px;margin-top:7px;overflow:auto;scrollbar-width:thin;}
.rp-task-employee-pro__option{display:grid!important;grid-template-columns:38px minmax(0,1fr) 12px!important;gap:9px!important;align-items:center!important;width:100%!important;min-height:52px!important;padding:6px 8px!important;border:1px solid transparent!important;border-radius:12px!important;background:var(--rp-surface)!important;color:#2f4937!important;text-align:left!important;box-shadow:none!important;cursor:pointer!important;}.rp-task-employee-pro__option:hover,.rp-task-employee-pro__option:focus-visible{border-color:#cde0c8!important;background:color-mix(in srgb,var(--rp-primary) 5%,var(--rp-surface) 95%)!important;color:#24442c!important;}.rp-task-employee-pro__option.is-selected{border-color:#9cca8e!important;background:color-mix(in srgb,var(--rp-primary) 10%,var(--rp-surface) 90%)!important;}.rp-task-employee-pro__option.is-draft.is-selected,.rp-task-employee-pro__option.is-unavailable.is-selected{border-color:#e0aaaa!important;background:#fff3f3!important;}
.rp-task-employee-pro__option .rp-task-employee-pro__avatar{width:36px;height:36px;min-width:36px;border-radius:11px;font-size:12px;}.rp-task-employee-pro__dot{width:9px;height:9px;border-radius:999px;background:#a5b0a9;box-shadow:none;}.rp-task-employee-pro__option.is-published .rp-task-employee-pro__dot{background:#43a447;}.rp-task-employee-pro__option.is-draft .rp-task-employee-pro__dot,.rp-task-employee-pro__option.is-unavailable .rp-task-employee-pro__dot{background:#d65353;}
@media(max-width:760px){.rp-task-employee-pro__trigger{grid-template-columns:40px minmax(0,1fr) 22px!important;}.rp-task-employee-pro__state{display:none!important;}.rp-task-employee-pro__menu{position:relative;top:auto;margin-top:7px;}}

/* Route state contract is shared with task/customer semantics. */

/* Employee modal: compact premium workspace with a single visual owner. */
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-ui-modal__body{padding:16px 18px 18px!important;background:linear-gradient(180deg,var(--rp-surface),var(--rp-surface-subtle))!important;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .dsrv-employee-modal{display:grid!important;grid-template-columns:190px minmax(0,1fr)!important;grid-template-rows:auto!important;gap:0 18px!important;align-items:start!important;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .dsrv-employee-modal>.rp-modal-section-nav{grid-column:1!important;grid-row:1!important;position:sticky!important;top:0!important;max-width:190px!important;padding:9px!important;border:1px solid var(--rp-line)!important;border-radius:17px!important;background:linear-gradient(180deg,var(--rp-surface),var(--rp-surface-subtle))!important;box-shadow:0 9px 22px color-mix(in srgb,var(--rp-primary-dark) 5%,transparent)!important;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .dsrv-employee-modal>.rp-modal-form-main{grid-column:2!important;grid-row:1!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-auto-rows:max-content!important;gap:12px!important;align-content:start!important;min-width:0!important;min-height:0!important;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .dsrv-employee-modal>.rp-modal-form-main>*{grid-column:1!important;grid-row:auto!important;position:relative!important;min-width:0!important;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-modal-section-marker{height:0!important;min-height:0!important;margin:0!important;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-modal-contextbar--employee{min-height:88px!important;padding:12px 14px!important;border:1px solid var(--rp-line)!important;border-radius:17px!important;background:var(--rp-surface)!important;box-shadow:0 6px 16px color-mix(in srgb,var(--rp-primary-dark) 4%,transparent)!important;}
.rp-employee-login-settings{display:grid;gap:14px;min-width:0;padding:16px;border:1px solid var(--rp-line);border-radius:16px;background:var(--rp-surface-subtle);}
.rp-employee-login-settings h3{margin:0 0 6px;color:var(--rp-text);font-size:16px;}
.rp-employee-login-settings p{margin:0;line-height:1.6;}
.rp-app-admin-provisioning{margin:0 0 20px;border:1px solid var(--rp-line);border-radius:var(--rp-radius,18px);background:var(--rp-surface);overflow:hidden;}
.rp-app-admin-provisioning>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:68px;padding:16px 20px;background:var(--rp-primary-soft);color:var(--rp-text);cursor:pointer;list-style:none;}
.rp-app-admin-provisioning>summary::-webkit-details-marker{display:none;}
.rp-app-admin-provisioning>summary strong,.rp-app-admin-provisioning>summary small{display:block;line-height:1.5;}
.rp-app-admin-provisioning>summary small{color:var(--rp-muted);font-size:12px;}
.rp-app-admin-provisioning__toggle{display:grid;place-items:center;flex:0 0 32px;height:32px;border:1px solid var(--rp-line);border-radius:50%;color:var(--rp-primary-dark);font-size:22px;}
.rp-app-admin-provisioning[open] .rp-app-admin-provisioning__toggle{transform:rotate(45deg);}
.rp-app-admin-provisioning__body{display:grid;gap:20px;padding:20px;}
.rp-app-admin-provisioning__body p{margin:0;color:var(--rp-muted);font-size:13px;line-height:1.7;}
.rp-app-admin-form{display:grid;gap:16px;}
.rp-app-admin-form .dsrv-form-grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
.rp-app-admin-form label{display:grid;align-content:start;gap:7px;min-width:0;font-size:13px;font-weight:750;}
.rp-app-admin-form input{box-sizing:border-box;width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid var(--rp-line);border-radius:10px;background:var(--rp-surface);color:var(--rp-text);font-size:16px;}
.rp-app-admin-form small{color:var(--rp-muted);font-size:12px;font-weight:400;}
.rp-app-admin-form__actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;}
.rp-app-admin-form__actions [role="status"]{font-size:13px;overflow-wrap:anywhere;}
.rp-app-admin-list{border-top:1px solid var(--rp-line);padding-top:16px;}
.rp-app-admin-list h3{margin:0 0 12px;font-size:15px;}
.rp-app-admin-list ul{display:grid;gap:10px;margin:0;padding:0;list-style:none;}
.rp-app-admin-list li{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;padding:12px;border:1px solid var(--rp-line);border-radius:12px;overflow-wrap:anywhere;}
.rp-app-admin-list li span,.rp-app-admin-list li a{font-size:12px;}
@media(max-width:600px){.rp-app-admin-form .dsrv-form-grid-2{grid-template-columns:minmax(0,1fr);}.rp-app-admin-provisioning__body{padding:16px;}}
.rp-employee-modal-avatar{display:grid;place-items:center;width:64px;height:64px;min-width:64px;overflow:hidden;border:1px solid #c5dec0;border-radius:18px;background:linear-gradient(145deg,#e7f5df,#cfe9c5);color:var(--rp-primary-dark);font-size:18px;font-weight:950;box-shadow:0 8px 18px rgba(35,99,44,.07);}
.rp-employee-modal-avatar img,.rp-employee-modal-avatar__img{display:block;width:100%!important;height:100%!important;object-fit:cover!important;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-modal-contextbar__identity strong{color:var(--rp-text)!important;font-size:14px!important;line-height:1.25!important;font-weight:950!important;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-modal-contextbar__identity span{margin-top:2px!important;color:var(--rp-muted)!important;font-size:11px!important;line-height:1.4!important;font-weight:650!important;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .dsrv-form-row{margin:0!important;padding:13px 14px!important;border:1px solid var(--rp-line)!important;border-radius:15px!important;background:var(--rp-surface)!important;box-shadow:none!important;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .dsrv-form-row>label{display:block!important;margin-bottom:6px!important;color:var(--rp-text)!important;font-size:11.5px!important;line-height:1.3!important;font-weight:900!important;letter-spacing:0!important;text-transform:none!important;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .dsrv-form-grid-2,body>.dsrv-modal.rp-ui-modal.is-employee-modal .dsrv-form-grid-3{margin:0!important;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal input,body>.dsrv-modal.rp-ui-modal.is-employee-modal select{min-height:43px!important;border:1px solid var(--rp-line)!important;border-radius:11px!important;background:var(--rp-surface)!important;color:var(--rp-text)!important;padding:9px 10px!important;box-shadow:none!important;font-size:12px!important;line-height:1.4!important;}body>.dsrv-modal.rp-ui-modal.is-employee-modal textarea{border:1px solid var(--rp-line)!important;border-radius:11px!important;background:var(--rp-surface)!important;color:var(--rp-text)!important;padding:9px 10px!important;box-shadow:none!important;font-size:12px!important;line-height:1.4!important;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal textarea{min-height:90px!important;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal input:focus,body>.dsrv-modal.rp-ui-modal.is-employee-modal select:focus,body>.dsrv-modal.rp-ui-modal.is-employee-modal textarea:focus{border-color:color-mix(in srgb,var(--rp-primary) 55%,var(--rp-line) 45%)!important;box-shadow:0 0 0 3px var(--rp-primary-focus)!important;outline:0!important;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .dsrv-muted{color:var(--rp-muted)!important;font-size:11px!important;line-height:1.45!important;font-weight:600!important;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .dsrv-employee-work-profile-box{padding:14px!important;border:1px solid var(--rp-line)!important;border-radius:16px!important;background:linear-gradient(180deg,var(--rp-surface),var(--rp-surface-subtle))!important;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .dsrv-employee-work-profile-box .dsrv-form-row{background:color-mix(in srgb,var(--rp-surface) 86%,transparent)!important;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .dsrv-report-image-slot{max-width:none!important;display:grid!important;grid-template-columns:minmax(0,1fr) 132px!important;gap:12px!important;align-items:center!important;}
.dsrv-employee-profile-preview{display:grid!important;place-items:center!important;min-height:112px!important;border:1px dashed #c9dac6!important;border-radius:15px!important;background:var(--rp-surface-subtle)!important;overflow:hidden!important;}
.dsrv-employee-profile-preview img{width:100px!important;height:100px!important;border-radius:17px!important;object-fit:cover!important;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .dsrv-employee-modal__actions{position:sticky!important;bottom:-16px!important;z-index:3!important;margin:0!important;padding:11px 0 2px!important;border-top:1px solid var(--rp-line)!important;background:linear-gradient(180deg,color-mix(in srgb,var(--rp-surface-subtle) 76%,transparent),var(--rp-surface-subtle) 34%)!important;}
@media(max-width:960px){body>.dsrv-modal.rp-ui-modal.is-employee-modal .dsrv-employee-modal{grid-template-columns:1fr!important;grid-template-rows:auto auto!important;gap:10px!important;}body>.dsrv-modal.rp-ui-modal.is-employee-modal .dsrv-employee-modal>.rp-modal-section-nav{grid-column:1!important;grid-row:1!important;max-width:100%!important;}body>.dsrv-modal.rp-ui-modal.is-employee-modal .dsrv-employee-modal>.rp-modal-form-main{grid-column:1!important;grid-row:2!important;}body>.dsrv-modal.rp-ui-modal.is-employee-modal .dsrv-report-image-slot{grid-template-columns:1fr!important;}}

body>.dsrv-modal.rp-ui-modal.is-employee-modal .dsrv-form-grid-2{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;min-width:0!important;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .dsrv-form-grid-3{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;min-width:0!important;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .dsrv-form-grid-2>.dsrv-form-row,body>.dsrv-modal.rp-ui-modal.is-employee-modal .dsrv-form-grid-3>.dsrv-form-row{min-width:0!important;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .dsrv-employee-work-profile-box{display:grid!important;gap:11px!important;margin:0!important;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .dsrv-employee-work-profile-box>.dsrv-muted{margin:-4px 0 0!important;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .dsrv-employee-work-profile-box .dsrv-form-grid-3>.dsrv-form-row{
  padding:10px 11px!important;border:1px solid var(--rp-line)!important;border-radius:12px!important;background:var(--rp-surface)!important;
}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .dsrv-employee-work-profile-box .dsrv-form-grid-3>.dsrv-form-row>label{
  margin:0 0 5px!important;color:#36513d!important;font-size:9.75px!important;font-weight:900!important;letter-spacing:.035em!important;text-transform:uppercase!important;
}
/* Employee workdays: canonical multi-select. Native inputs remain checkboxes; visual state is owned here. */
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-employee-workday-picker{display:grid!important;gap:9px!important;margin-top:1px!important;padding:11px 12px!important;border:1px solid var(--rp-line)!important;border-radius:13px!important;background:var(--rp-surface-subtle)!important;box-shadow:none!important;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-employee-workday-picker.has-error{border-color:var(--rp-danger-line)!important;background:var(--rp-danger-soft)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--rp-danger) 8%,transparent)!important;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-employee-workday-picker__head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:12px!important;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-employee-workday-picker__head>div{display:grid!important;gap:2px!important;min-width:0!important;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-employee-workday-picker__head>div>strong{color:var(--rp-text)!important;font-size:11.5px!important;font-weight:950!important;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-employee-workday-picker__head>div>span{color:var(--rp-muted)!important;font-size:10.25px!important;line-height:1.4!important;font-weight:600!important;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-employee-workday-picker__count{flex:0 0 auto!important;min-height:25px!important;padding:5px 8px!important;border:1px solid color-mix(in srgb,var(--rp-primary) 30%,var(--rp-line) 70%)!important;border-radius:999px!important;background:color-mix(in srgb,var(--rp-primary) 10%,var(--rp-surface) 90%)!important;color:var(--rp-primary-dark)!important;font-size:9.75px!important;line-height:1.2!important;font-weight:950!important;white-space:nowrap!important;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-employee-workday-picker__count.is-empty{border-color:var(--rp-danger-line)!important;background:var(--rp-danger-soft)!important;color:var(--rp-danger)!important;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .dsrv-employee-workdays{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:7px!important;margin:0!important;padding:0!important;border:0!important;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-workday-choice{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;min-width:0!important;min-height:38px!important;margin:0!important;padding:7px 8px!important;border:1px solid var(--rp-line)!important;border-radius:11px!important;background:var(--rp-surface)!important;color:var(--rp-text)!important;font-size:10.5px!important;font-weight:900!important;cursor:pointer!important;user-select:none!important;transition:border-color .14s ease,background .14s ease,color .14s ease,box-shadow .14s ease!important;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-workday-choice:hover{border-color:color-mix(in srgb,var(--rp-primary) 28%,var(--rp-line) 72%)!important;background:color-mix(in srgb,var(--rp-primary) 5%,var(--rp-surface) 95%)!important;color:var(--rp-primary-dark)!important;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-workday-choice.is-selected,body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-workday-choice:has(.rp-workday-choice__input:checked){border-color:color-mix(in srgb,var(--rp-primary) 48%,var(--rp-line) 52%)!important;background:color-mix(in srgb,var(--rp-primary) 10%,var(--rp-surface) 90%)!important;color:var(--rp-primary-dark)!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--rp-primary) 8%,transparent)!important;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-workday-choice__input{position:absolute!important;width:1px!important;height:1px!important;min-width:1px!important;min-height:1px!important;margin:0!important;padding:0!important;opacity:0!important;pointer-events:none!important;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-workday-choice__box{display:grid!important;place-items:center!important;width:17px!important;height:17px!important;min-width:17px!important;border:1.5px solid var(--rp-line)!important;border-radius:5px!important;background:var(--rp-surface)!important;box-shadow:none!important;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-workday-choice__box::after{content:""!important;width:5px!important;height:9px!important;margin-top:-2px!important;border-right:2px solid #fff!important;border-bottom:2px solid #fff!important;opacity:0!important;transform:rotate(45deg)!important;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-workday-choice__input:checked+.rp-workday-choice__box{border-color:var(--rp-button-primary)!important;background:var(--rp-button-primary)!important;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-workday-choice__input:checked+.rp-workday-choice__box::after{opacity:1!important;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-workday-choice__input:focus-visible+.rp-workday-choice__box{box-shadow:0 0 0 3px var(--rp-primary-focus)!important;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-workday-choice__label{display:block!important;min-width:0!important;line-height:1!important;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-employee-workday-picker__help{padding-top:8px!important;border-top:1px solid var(--rp-line)!important;color:var(--rp-muted)!important;font-size:10.25px!important;line-height:1.45!important;font-weight:600!important;}
body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-employee-workday-picker__help strong{color:var(--rp-primary-dark)!important;font-weight:900!important;}
@media(max-width:820px){body>.dsrv-modal.rp-ui-modal.is-employee-modal .dsrv-employee-workdays{grid-template-columns:repeat(4,minmax(0,1fr))!important;}}
@media(max-width:520px){body>.dsrv-modal.rp-ui-modal.is-employee-modal .dsrv-employee-workdays{grid-template-columns:repeat(2,minmax(0,1fr))!important;}body>.dsrv-modal.rp-ui-modal.is-employee-modal .rp-employee-workday-picker__head{display:grid!important;}}
@media(max-width:1180px){body>.dsrv-modal.rp-ui-modal.is-employee-modal .dsrv-form-grid-3{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
@media(max-width:720px){
  body>.dsrv-modal.rp-ui-modal.is-employee-modal .dsrv-form-grid-2,body>.dsrv-modal.rp-ui-modal.is-employee-modal .dsrv-form-grid-3{grid-template-columns:1fr!important;}
}

/* Employee admin cards: visual identity first, actions second. */
.dsrv-panel[data-panel="medarbejdere"] .rp-ui-employee-avatar{overflow:hidden!important;}

/* Report modal: no empty vertical spacer; same workspace rhythm as task/employee. */
body>.dsrv-modal.rp-ui-modal.is-report-modal .rp-modal-form-main{display:grid!important;grid-auto-rows:max-content!important;align-content:start!important;gap:10px!important;min-height:0!important;}
body>.dsrv-modal.rp-ui-modal.is-report-modal .rp-modal-form-main>*{grid-row:auto!important;position:relative!important;min-height:0!important;}
body>.dsrv-modal.rp-ui-modal.is-report-modal .rp-modal-section-marker{height:0!important;min-height:0!important;margin:0!important;}
body>.dsrv-modal.rp-ui-modal.is-report-modal .rp-modal-contextbar{margin:0!important;}
body>.dsrv-modal.rp-ui-modal.is-report-modal .dsrv-report-section{margin:0!important;min-height:0!important;}

/* Customer/card edges and menu spacing stay crisp. */
.dsrv-panel[data-panel="kunder"] .rp-customer-card,.dsrv-panel[data-panel="kunder"] .rp-customer-case-row,.dsrv-panel[data-panel="kunder"] .rp-customer-flow-box{box-shadow:0 8px 20px color-mix(in srgb,var(--rp-primary-dark) 4%,transparent)!important;}
.rp-customer-case-more__menu.is-portal>.button{justify-content:flex-start!important;gap:11px!important;padding-left:12px!important;padding-right:12px!important;}
.rp-customer-case-more__menu.is-portal>.button .rp-icon{margin-right:2px!important;}

/* === ACTIVE COMPONENT: SKADEDYR ===
   One owner for the pest overview. This replaces the old compact pest-card rules
   instead of stacking another visual layer on top. */
.dsrv-panel[data-panel="skadedyr"] .rp-pests__layout{
  display:grid!important;
  grid-template-columns:minmax(250px,286px) minmax(0,1fr)!important;
  gap:18px!important;
  align-items:start!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pests__rail,.dsrv-panel[data-panel="skadedyr"] .rp-pests__workspace{
  min-width:0!important;
  border:1px solid #d8e5d8!important;
  border-radius:22px!important;
  background:linear-gradient(180deg,#ffffff 0%,var(--rp-surface-subtle) 100%)!important;
  box-shadow:0 14px 34px rgba(18,57,31,.055)!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pests__rail{
  position:sticky!important;
  top:18px!important;
  padding:16px!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pests__workspace{padding:16px!important;}

.dsrv-panel[data-panel="skadedyr"] .rp-pests__rail-head,.dsrv-panel[data-panel="skadedyr"] .rp-pests__workspace-head{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:12px!important;
  margin:0 0 14px!important;
  padding:0 0 13px!important;
  border-bottom:1px solid #e3ece3!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pests__rail-head>div,.dsrv-panel[data-panel="skadedyr"] .rp-pests__workspace-head>div{
  display:grid!important;
  gap:4px!important;
  min-width:0!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pests__rail-head>div>span,.dsrv-panel[data-panel="skadedyr"] .rp-pests__workspace-head>div>span{
  display:block!important;
  color:var(--rp-text)!important;
  font-size:15px!important;
  line-height:1.25!important;
  font-weight:950!important;
  letter-spacing:-.01em!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pests__rail-head small,.dsrv-panel[data-panel="skadedyr"] .rp-pests__workspace-head small{
  display:block!important;
  margin:0!important;
  color:#596d60!important;
  font-size:11.25px!important;
  line-height:1.45!important;
  font-weight:650!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pests__count{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  min-width:32px!important;
  height:32px!important;
  padding:0 10px!important;
  border:1px solid #cde2c9!important;
  border-radius:999px!important;
  background:var(--rp-primary-soft)!important;
  color:#265f2e!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:950!important;
}

/* Category rail */
.dsrv-panel[data-panel="skadedyr"] .rp-pests__category-list{
  display:grid!important;
  gap:9px!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pests__category-item{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:8px!important;
  min-width:0!important;
  padding:9px!important;
  border:1px solid var(--rp-line)!important;
  border-radius:15px!important;
  background:var(--rp-surface-subtle)!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pests__category-open{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:10px!important;
  width:100%!important;
  min-width:0!important;
  min-height:54px!important;
  margin:0!important;
  padding:9px 10px!important;
  border:1px solid #d5e2d4!important;
  border-radius:12px!important;
  background:var(--rp-surface)!important;
  color:#214c2a!important;
  text-align:left!important;
  box-shadow:none!important;
  cursor:pointer!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pests__category-open:hover,.dsrv-panel[data-panel="skadedyr"] .rp-pests__category-open:focus-visible{
  border-color:#9bc894!important;
  background:#f7fcf5!important;

}
.dsrv-panel[data-panel="skadedyr"] .rp-pests__category-open>span{
  display:grid!important;
  gap:3px!important;
  min-width:0!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pests__category-open strong{
  display:block!important;
  min-width:0!important;
  margin:0!important;
  color:#204b28!important;
  font-size:12.5px!important;
  line-height:1.28!important;
  font-weight:900!important;
  overflow-wrap:anywhere!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pests__category-open small{
  display:block!important;
  margin:0!important;
  color:var(--rp-muted)!important;
  font-size:10px!important;
  line-height:1.35!important;
  font-weight:650!important;
  overflow-wrap:anywhere!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pests__category-open>b{
  display:inline-grid!important;
  place-items:center!important;
  min-width:28px!important;
  height:28px!important;
  padding:0 7px!important;
  border:1px solid #d4e6d1!important;
  border-radius:999px!important;
  background:#f0f8ed!important;
  color:#2c6333!important;
  font-size:10px!important;
  line-height:1!important;
  font-weight:950!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pests__category-actions{
  display:grid!important;
  grid-template-columns:1fr auto!important;
  gap:7px!important;
  min-width:0!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pests__category-actions .button{
  min-height:34px!important;
  margin:0!important;
  padding:5px 10px!important;
  border-radius:10px!important;
  font-size:10.5px!important;
  line-height:1.2!important;
  font-weight:900!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pests__rail-note{
  margin:12px 2px 0!important;
  color:var(--rp-muted)!important;
  font-size:10.5px!important;
  line-height:1.45!important;
  font-weight:650!important;
}

/* Category groups */
.dsrv-panel[data-panel="skadedyr"] .rp-pests__group{
  overflow:hidden!important;
  margin:0 0 11px!important;
  border:1px solid #dce7dc!important;
  border-radius:18px!important;
  background:var(--rp-surface-subtle)!important;
  box-shadow:0 4px 12px rgba(18,57,31,.025)!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pests__group-summary{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto auto!important;
  align-items:center!important;
  gap:10px!important;
  min-height:58px!important;
  padding:12px 13px!important;
  list-style:none!important;
  cursor:pointer!important;
  transition:background .15s ease,border-color .15s ease!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pests__group-summary:hover{background:#f3f9f1!important;}
.dsrv-panel[data-panel="skadedyr"] .rp-pests__group-summary::-webkit-details-marker{display:none!important;}
.dsrv-panel[data-panel="skadedyr"] .rp-pests__group-title{
  display:grid!important;
  gap:3px!important;
  min-width:0!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pests__group-title strong{
  display:block!important;
  margin:0!important;
  color:var(--rp-text)!important;
  font-size:15px!important;
  line-height:1.25!important;
  font-weight:950!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pests__group-title small{
  display:block!important;
  margin:0!important;
  color:var(--rp-muted)!important;
  font-size:10.5px!important;
  line-height:1.35!important;
  font-weight:650!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pests__group-hint{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:30px!important;
  padding:0 9px!important;
  border:1px solid #d3e4d0!important;
  border-radius:999px!important;
  background:#f2f8f0!important;
  color:#315d38!important;
  font-size:9.5px!important;
  line-height:1!important;
  font-weight:900!important;
  white-space:nowrap!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pests__group-chevron{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:28px!important;
  height:28px!important;
  color:#5c7162!important;
  transition:transform .16s ease!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pests__group[open]>.rp-pests__group-summary .rp-pests__group-chevron{transform:rotate(180deg)!important;}

/* Pest cards */
.dsrv-panel[data-panel="skadedyr"] .rp-pests__grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(360px,1fr))!important;
  gap:12px!important;
  min-width:0!important;
  padding:0 12px 12px!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pest-card{
  display:grid!important;
  grid-template-rows:auto auto auto auto!important;
  gap:12px!important;
  min-width:0!important;
  padding:14px!important;
  border:1px solid #dce7dc!important;
  border-radius:18px!important;
  background:linear-gradient(180deg,#fff 0%,#fcfefc 100%)!important;
  box-shadow:0 8px 20px color-mix(in srgb,var(--rp-primary-dark) 4%,transparent)!important;

}
.dsrv-panel[data-panel="skadedyr"] .rp-pest-card:hover{
  border-color:#bfd8bb!important;
  box-shadow:0 12px 26px rgba(18,57,31,.07)!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pest-card.is-dragging{opacity:.78!important;}
.dsrv-panel[data-panel="skadedyr"] .rp-pest-card__top{
  display:grid!important;
  grid-template-columns:50px minmax(0,1fr) 34px!important;
  gap:11px!important;
  align-items:start!important;
  min-width:0!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pest-card__media{
  display:grid!important;
  place-items:center!important;
  width:50px!important;
  height:50px!important;
  min-width:50px!important;
  overflow:hidden!important;
  border:1px solid #d6e4d5!important;
  border-radius:14px!important;
  background:#f3f8f2!important;
  color:var(--rp-primary-dark)!important;
  font-size:15px!important;
  font-weight:900!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pest-card__media img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pest-card__identity{
  display:grid!important;
  gap:3px!important;
  min-width:0!important;
  align-content:start!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pest-card__category{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  width:max-content!important;
  max-width:100%!important;
  min-height:22px!important;
  padding:0 8px!important;
  border:1px solid #cce1c8!important;
  border-radius:999px!important;
  background:var(--rp-primary-soft)!important;
  color:#286330!important;
  font-size:9px!important;
  line-height:1!important;
  font-weight:950!important;
  letter-spacing:.045em!important;
  text-transform:uppercase!important;
  white-space:normal!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pest-card__identity h3,.dsrv-panel[data-panel="skadedyr"] .rp-pest-card__identity strong{
  display:block!important;
  min-width:0!important;
  margin:0!important;
  color:var(--rp-text)!important;
  font-size:15px!important;
  line-height:1.25!important;
  font-weight:950!important;
  overflow-wrap:anywhere!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pest-card__identity small{
  display:block!important;
  margin:0!important;
  color:#617268!important;
  font-size:10px!important;
  line-height:1.35!important;
  font-weight:650!important;
  overflow-wrap:anywhere!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pest-card__drag{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:34px!important;
  height:34px!important;
  padding:0!important;
  border:1px solid var(--rp-line)!important;
  border-radius:11px!important;
  background:var(--rp-surface)!important;
  color:#55705d!important;
  box-shadow:none!important;

}

/* Setup readiness */
.dsrv-panel[data-panel="skadedyr"] .rp-pest-card__readiness{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:7px!important;
  min-width:0!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pest-card__readiness>span{
  display:flex!important;
  align-items:center!important;
  min-width:0!important;
  min-height:35px!important;
  padding:7px 9px!important;
  border:1px solid #e0e8e0!important;
  border-radius:10px!important;
  background:var(--rp-surface-subtle)!important;
  color:#56695e!important;
  font-size:9.75px!important;
  line-height:1.25!important;
  font-weight:850!important;
  overflow-wrap:anywhere!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pest-card__readiness>span.is-ready{
  border-color:#cce1c7!important;
  background:var(--rp-primary-soft)!important;
  color:#2c6333!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pest-card__readiness>span.is-missing{
  border-color:#ead7b4!important;
  background:#fff8e9!important;
  color:#7b5a15!important;
}

/* Pricing: explicit vertical rhythm fixes the previous inline text collision. */
.dsrv-panel[data-panel="skadedyr"] .rp-pest-card__services{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:7px!important;
  min-width:0!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pest-card__services>div{
  display:grid!important;
  grid-template-rows:auto auto auto!important;
  align-content:start!important;
  gap:4px!important;
  min-width:0!important;
  min-height:74px!important;
  padding:9px 10px!important;
  border:1px solid var(--rp-line)!important;
  border-radius:12px!important;
  background:var(--rp-surface-subtle)!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pest-card__services>div>span,.dsrv-panel[data-panel="skadedyr"] .rp-pest-card__services>div>strong,.dsrv-panel[data-panel="skadedyr"] .rp-pest-card__services>div>small{
  display:block!important;
  position:static!important;
  float:none!important;
  width:auto!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  transform:none!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pest-card__services>div>span{
  color:var(--rp-muted)!important;
  font-size:9.25px!important;
  line-height:1.2!important;
  font-weight:900!important;
  letter-spacing:.025em!important;
  text-transform:uppercase!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pest-card__services>div>strong{
  color:#203d29!important;
  font-size:13px!important;
  line-height:1.2!important;
  font-weight:950!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pest-card__services>div>small{
  color:var(--rp-muted)!important;
  font-size:9.75px!important;
  line-height:1.25!important;
  font-weight:700!important;
}

/* Folded rules/content */
.dsrv-panel[data-panel="skadedyr"] .rp-pest-card__details{
  overflow:hidden!important;
  min-width:0!important;
  border:1px solid var(--rp-line)!important;
  border-radius:13px!important;
  background:var(--rp-surface)!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pest-card__details>summary{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:10px!important;
  min-height:45px!important;
  padding:9px 10px!important;
  list-style:none!important;
  color:#324d39!important;
  cursor:pointer!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pest-card__details>summary::-webkit-details-marker{display:none!important;}
.dsrv-panel[data-panel="skadedyr"] .rp-pest-card__details>summary>span:first-child{
  display:grid!important;
  gap:2px!important;
  min-width:0!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pest-card__details>summary strong{
  display:block!important;
  margin:0!important;
  color:#2d4c36!important;
  font-size:10.75px!important;
  line-height:1.3!important;
  font-weight:900!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pest-card__details>summary small{
  display:block!important;
  margin:0!important;
  color:var(--rp-muted)!important;
  font-size:9.5px!important;
  line-height:1.35!important;
  font-weight:650!important;
  overflow-wrap:anywhere!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pest-card__details-chevron{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:26px!important;
  height:26px!important;
  transition:transform .16s ease!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pest-card__details[open] .rp-pest-card__details-chevron{transform:rotate(180deg)!important;}
.dsrv-panel[data-panel="skadedyr"] .rp-pest-card__details-body{
  display:grid!important;
  gap:10px!important;
  min-width:0!important;
  padding:0 10px 10px!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pest-card__statistics{
  display:grid!important;
  gap:9px!important;
  min-width:0!important;
  padding:10px!important;
  border:1px solid #e2eae1!important;
  border-radius:12px!important;
  background:var(--rp-surface-subtle)!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pest-card__statistics-head{
  display:grid!important;
  gap:2px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pest-card__statistics-head strong{
  display:block!important;
  color:var(--rp-text)!important;
  font-size:11px!important;
  line-height:1.3!important;
  font-weight:950!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pest-card__statistics-head span{
  display:block!important;
  color:#65766c!important;
  font-size:9.5px!important;
  line-height:1.35!important;
  font-weight:650!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pest-card__statistics dl{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:7px!important;
  margin:0!important;
  min-width:0!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pest-card__statistics dl>div{
  display:grid!important;
  gap:3px!important;
  min-width:0!important;
  padding:8px 9px!important;
  border:1px solid #e4ebe4!important;
  border-radius:10px!important;
  background:var(--rp-surface)!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pest-card__statistics dt,.dsrv-panel[data-panel="skadedyr"] .rp-pest-card__statistics dd,.dsrv-panel[data-panel="skadedyr"] .rp-pest-card__statistics dd>span,.dsrv-panel[data-panel="skadedyr"] .rp-pest-card__statistics dd>small{
  display:block!important;
  position:static!important;
  float:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  transform:none!important;
  overflow-wrap:anywhere!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pest-card__statistics dt{
  color:#68796f!important;
  font-size:9px!important;
  line-height:1.25!important;
  font-weight:900!important;
  letter-spacing:.03em!important;
  text-transform:uppercase!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pest-card__statistics dd{
  color:#243f2d!important;
  font-size:10.5px!important;
  line-height:1.35!important;
  font-weight:850!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pest-card__statistics dd small{
  margin-top:2px!important;
  color:#68796f!important;
  font-size:9.25px!important;
  line-height:1.35!important;
  font-weight:650!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pest-card__family-mode{
  display:inline-flex!important;
  width:max-content!important;
  max-width:100%!important;
  margin-top:4px!important;
  padding:3px 6px!important;
  border:1px solid var(--rp-line)!important;
  border-radius:999px!important;
  background:var(--rp-surface-subtle)!important;
  color:#53675b!important;
  font-size:8.75px!important;
  line-height:1.15!important;
  font-weight:850!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pest-card__copy{
  display:grid!important;
  gap:7px!important;
  padding:10px!important;
  border:1px dashed #d6e2d4!important;
  border-radius:12px!important;
  background:var(--rp-surface-subtle)!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pest-card__copy p{
  margin:0!important;
  color:var(--rp-muted)!important;
  font-size:10.25px!important;
  line-height:1.45!important;
  font-weight:650!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pest-card__copy p strong{color:#294532!important;font-weight:900!important;}

.dsrv-panel[data-panel="skadedyr"] .rp-pest-card__footer{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  flex-wrap:wrap!important;
  min-width:0!important;
  padding-top:1px!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pest-card__usage{
  color:#5b6d61!important;
  font-size:10.25px!important;
  line-height:1.35!important;
  font-weight:700!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pest-card__actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:7px!important;
  flex-wrap:wrap!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pest-card__actions .button{
  min-height:34px!important;
  margin:0!important;
  padding:5px 10px!important;
  border-radius:10px!important;
  font-size:10.5px!important;
  line-height:1.2!important;
  font-weight:900!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pests__group-footer{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  flex-wrap:wrap!important;
  padding:0 12px 12px!important;
  color:var(--rp-muted)!important;
  font-size:10.25px!important;
  line-height:1.4!important;
  font-weight:650!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pests__group-footer .button{
  min-height:34px!important;
  border-radius:10px!important;
  font-size:10.5px!important;
  font-weight:900!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pests__empty{
  grid-column:1/-1!important;
  padding:20px!important;
  border:1px dashed #d5e3d4!important;
  border-radius:14px!important;
  background:var(--rp-surface-subtle)!important;
  color:var(--rp-muted)!important;
  font-size:11px!important;
  line-height:1.45!important;
  text-align:center!important;
}

@media(max-width:1360px){
  .dsrv-panel[data-panel="skadedyr"] .rp-pests__grid{grid-template-columns:1fr!important;}
}
@media(max-width:1100px){
  .dsrv-panel[data-panel="skadedyr"] .rp-pests__layout{grid-template-columns:1fr!important;}
  .dsrv-panel[data-panel="skadedyr"] .rp-pests__rail{position:relative!important;top:auto!important;}
  .dsrv-panel[data-panel="skadedyr"] .rp-pests__category-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:760px){
  .dsrv-panel[data-panel="skadedyr"] .rp-pests__category-list{grid-template-columns:1fr!important;}
  .dsrv-panel[data-panel="skadedyr"] .rp-pest-card__top{grid-template-columns:46px minmax(0,1fr) 32px!important;}
  .dsrv-panel[data-panel="skadedyr"] .rp-pest-card__media{width:46px!important;height:46px!important;min-width:46px!important;}
  .dsrv-panel[data-panel="skadedyr"] .rp-pest-card__readiness{grid-template-columns:1fr!important;}
  .dsrv-panel[data-panel="skadedyr"] .rp-pest-card__services{grid-template-columns:1fr!important;}
  .dsrv-panel[data-panel="skadedyr"] .rp-pest-card__services>div{min-height:0!important;}
  .dsrv-panel[data-panel="skadedyr"] .rp-pest-card__statistics dl{grid-template-columns:1fr!important;}
  .dsrv-panel[data-panel="skadedyr"] .rp-pests__group-summary{grid-template-columns:minmax(0,1fr) auto!important;}
  .dsrv-panel[data-panel="skadedyr"] .rp-pests__group-hint{display:none!important;}
}

.rp-overview-week-ledger__legend span.is-unrouted i,.rp-overview-week-ledger__amounts>.is-unrouted i{background:#8b9a92!important;}
.rp-overview-week-ledger__amounts>.is-unrouted{border-color:#d2ddd7!important;background:#f6faf8!important;color:#25422d!important;}
.rp-overview-week-ledger__amounts>.is-unrouted:hover,.rp-overview-week-ledger__amounts>.is-unrouted:focus-visible{border-color:#b6c8bf!important;background:#f1f7f4!important;color:var(--rp-text)!important;}
.rp-overview-week-ledger__legend{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important;}
.rp-overview-week-ledger__legend span{display:inline-flex!important;align-items:center!important;gap:6px!important;}
.rp-overview-week-ledger__legend i{width:10px!important;height:10px!important;border-radius:999px!important;display:inline-block!important;}

/* =====================================================================
   SHARED ADMIN READABILITY + WORKSPACE CONTRACT
   Unified task, employee, settings, backup, case-tool and pest UI.
   ===================================================================== */

/* Global readability: helper text must be readable on white, not washed out. */
.dsrv.rp-ui .dsrv-muted,.dsrv.rp-ui .dsrv-rowitem-sub,body>.dsrv-modal.rp-ui-modal .dsrv-muted{
  color:var(--rp-muted)!important;
  font-size:11.5px!important;
  line-height:1.5!important;
  font-weight:600!important;
}
.dsrv.rp-ui small,body>.dsrv-modal.rp-ui-modal small{font-synthesis:none;}

/* ------------------------- RUTER: PREMIUM STAFF ------------------------- */
.dsrv-panel[data-panel="ruter"] .rp-route-staff-panel{
  position:relative;
  align-self:start;
  min-width:0;
  padding:16px;
  border:1px solid #d9e7da;
  border-radius:22px;
  background:linear-gradient(180deg,#ffffff 0%,#f6faf6 100%);
  box-shadow:0 18px 38px rgba(17,48,31,.08);
  isolation:isolate;
}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-panel *{box-sizing:border-box;}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-panel__head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin:0 0 12px;
}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-panel__head>div{display:grid;gap:2px;min-width:0;}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-panel__eyebrow{color:#3d7548;font-size:9px;font-weight:950;letter-spacing:.11em;text-transform:uppercase;}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-panel__head h2{margin:0;color:#142b1d;font-size:20px;line-height:1.1;font-weight:950;letter-spacing:-.02em;}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-panel__head p{margin:3px 0 0;color:var(--rp-muted);font-size:10.5px;line-height:1.35;font-weight:650;}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-panel__count{display:inline-flex;align-items:center;justify-content:center;min-height:27px;padding:0 10px;border-radius:999px;background:#eff7ec;color:#315f35;font-size:9.5px;font-weight:900;white-space:nowrap;}

.dsrv-panel[data-panel="ruter"] .rp-route-staff-picker{position:relative;margin-bottom:12px;}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-picker details{position:relative;}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-picker__trigger{
  appearance:none!important;display:grid!important;grid-template-columns:52px minmax(0,1fr) auto 22px!important;gap:11px!important;align-items:center!important;
  min-height:72px!important;padding:9px 11px!important;border:1px solid #d2ded4!important;border-radius:17px!important;background:var(--rp-surface)!important;color:var(--rp-text)!important;cursor:pointer!important;
  box-shadow:0 8px 20px rgba(20,53,34,.045)!important;list-style:none!important;outline:0!important;
}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-picker__trigger::-webkit-details-marker{display:none!important;}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-picker__trigger.is-published{border-color:#9fce99!important;background:linear-gradient(180deg,#fff,#f2faef)!important;}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-picker__trigger.is-draft{border-color:#e5b2b2!important;background:linear-gradient(180deg,#fff,#fff4f4)!important;}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-picker__trigger.is-unavailable{border-color:#e7c0a3!important;background:linear-gradient(180deg,#fff,#fff7ef)!important;}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-picker__trigger.is-empty{border-color:#d6dfd9!important;background:linear-gradient(180deg,#fff,#f7f9f8)!important;}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-picker details[open] .rp-route-staff-picker__trigger{box-shadow:0 0 0 3px rgba(70,140,67,.10),0 12px 26px rgba(20,53,34,.08)!important;}

.dsrv-panel[data-panel="ruter"] .rp-route-staff-avatar{
  display:grid;place-items:center;width:50px;height:50px;min-width:50px;overflow:hidden;border:1px solid var(--rp-line);border-radius:15px;background:linear-gradient(145deg,#e8f6e2,#d4eccd);color:#2e6d35;font-size:15px;font-weight:950;box-shadow:inset 0 1px 0 rgba(255,255,255,.8);
}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-avatar img{display:block;width:100%;height:100%;object-fit:cover;}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-avatar--small{width:38px;height:38px;min-width:38px;border-radius:12px;font-size:12px;}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-avatar--hero{width:70px;height:70px;min-width:70px;border-radius:20px;font-size:21px;box-shadow:0 10px 24px rgba(37,99,44,.10);}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-picker__copy{display:grid;gap:3px;min-width:0;text-align:left;}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-picker__copy strong{overflow:hidden;color:var(--rp-text);font-size:13px;font-weight:950;text-overflow:ellipsis;white-space:nowrap;}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-picker__copy small{overflow:hidden;color:#586b60;font-size:10.2px;font-weight:700;text-overflow:ellipsis;white-space:nowrap;}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-state{display:inline-flex;align-items:center;justify-content:center;min-height:27px;padding:0 9px;border-radius:999px;font-size:9.5px;font-weight:950;white-space:nowrap;border:0!important;box-shadow:none!important;}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-state.is-published{background:#e5f5e0;color:#23602a;}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-state.is-draft{background:#ffeded;color:#8c3131;}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-state.is-unavailable{background:#fff1df;color:#8b560c;}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-state.is-empty{background:#eef2ef;color:#53635a;}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-picker__chevron{display:grid;place-items:center;color:#58705f;transition:transform .16s ease;}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-picker details[open] .rp-route-staff-picker__chevron{transform:rotate(180deg);}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-picker__menu{position:absolute;z-index:100;top:calc(100% + 7px);left:0;right:0;padding:10px;border:1px solid #d5e2d6;border-radius:17px;background:var(--rp-surface);box-shadow:0 24px 58px rgba(10,37,22,.20);}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-picker__menu-head{display:grid;gap:3px;padding:7px 8px 10px;border-bottom:1px solid #e5ede5;}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-picker__menu-head strong{color:#183323;font-size:11.5px;font-weight:950;}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-picker__menu-head small{color:var(--rp-muted);font-size:10px;font-weight:650;}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-picker__list{display:grid;gap:5px;max-height:370px;margin-top:8px;overflow:auto;scrollbar-width:thin;}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-picker__option{
  appearance:none!important;display:grid!important;grid-template-columns:40px minmax(0,1fr) auto!important;gap:10px!important;align-items:center!important;width:100%!important;min-height:56px!important;margin:0!important;padding:7px 9px!important;
  border:1px solid transparent!important;border-radius:13px!important;background:var(--rp-surface)!important;color:var(--rp-text)!important;text-align:left!important;box-shadow:none!important;outline:0!important;cursor:pointer!important;
}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-picker__option:hover,.dsrv-panel[data-panel="ruter"] .rp-route-staff-picker__option:focus-visible{border-color:#c9dbca!important;background:#f6fbf5!important;}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-picker__option.is-selected{border-color:#9cc894!important;background:var(--rp-primary-soft)!important;}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-picker__option-state{display:inline-flex;align-items:center;gap:6px;color:#52645a;font-size:9px;font-weight:900;white-space:nowrap;}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-picker__option-state i{width:9px;height:9px;border-radius:999px;background:#98a59d;box-shadow:none!important;}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-picker__option.is-published .rp-route-staff-picker__option-state i{background:#42a64a;}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-picker__option.is-draft .rp-route-staff-picker__option-state i{background:var(--rp-status-draft);}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-picker__option.is-unavailable .rp-route-staff-picker__option-state i{background:#dc8a2b;}
.dsrv-panel[data-panel="ruter"] .rp-route-employee-native-select{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;}

.dsrv-panel[data-panel="ruter"] .rp-route-staff-cards{display:grid;}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-card{display:none;position:relative;min-width:0;padding:15px;border:1px solid var(--rp-line);border-radius:19px;background:linear-gradient(180deg,#fff,var(--rp-surface-subtle));box-shadow:0 12px 26px rgba(19,54,34,.055);overflow:hidden;}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-card.is-selected{display:grid;gap:13px;}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-card::after{content:"";position:absolute;left:0;right:0;bottom:0;height:4px;background:#9aa8a0;}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-card.is-published{border-color:#b8d8b3;background:linear-gradient(180deg,#fff,#f3faf1);}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-card.is-published::after{background:var(--rp-status-published);}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-card.is-draft{border-color:#e4b7b7;background:linear-gradient(180deg,#fff,#fff5f5);}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-card.is-draft::after{background:var(--rp-status-draft);}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-card.is-unavailable{border-color:#e8c8a8;background:linear-gradient(180deg,#fff,#fff8f1);}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-card.is-unavailable::after{background:#d98a2b;}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-card__hero{display:grid;grid-template-columns:70px minmax(0,1fr) auto;gap:13px;align-items:center;}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-card__identity{display:grid;gap:2px;min-width:0;}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-card__identity small{color:#588064;font-size:9px;font-weight:950;letter-spacing:.09em;text-transform:uppercase;}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-card__identity h3{margin:0;color:#13291c;font-size:18px;line-height:1.15;font-weight:950;letter-spacing:-.02em;}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-card__identity p{margin:2px 0 0;color:#5c6d63;font-size:10.5px;font-weight:700;}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-card__stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-card__stats>div{min-width:0;padding:10px;border:1px solid #e0e8df;border-radius:13px;background:rgba(255,255,255,.82);}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-card__stats span{display:block;color:#65756b;font-size:8.5px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-card__stats strong{display:block;margin-top:4px;color:#183123;font-size:13px;font-weight:950;white-space:nowrap;}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-card__status{display:grid;gap:3px;padding:11px 12px;border:1px solid #dfe8df;border-radius:14px;background:var(--rp-surface);}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-card__status>span{color:#58705e;font-size:8.5px;font-weight:950;letter-spacing:.08em;text-transform:uppercase;}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-card__status>strong{color:var(--rp-text);font-size:12.5px;font-weight:900;line-height:1.3;}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-card__status>small{color:#5e7065;font-size:10px;font-weight:650;line-height:1.35;}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-action{
  appearance:none!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;width:100%!important;min-height:42px!important;margin:0!important;padding:0 16px!important;
  border:0!important;border-radius:13px!important;background:linear-gradient(135deg,#1c6b2c 0%,#3f9d3d 100%)!important;color:#fff!important;box-shadow:0 10px 22px rgba(31,105,45,.18)!important;outline:0!important;cursor:pointer!important;font-size:11.5px!important;font-weight:950!important;line-height:1!important;text-shadow:none!important;
  transition:filter .15s ease,transform .15s ease,box-shadow .15s ease!important;
}
.dsrv-panel[data-panel="ruter"] .rp-route-staff-action:hover,.dsrv-panel[data-panel="ruter"] .rp-route-staff-action:focus-visible{filter:brightness(1.11) saturate(1.05);transform:translateY(-1px);box-shadow:0 14px 28px rgba(31,105,45,.24)!important;color:#fff!important;}
@media(max-width:1280px){.dsrv-panel[data-panel="ruter"] .rp-route-staff-card__stats{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:720px){.dsrv-panel[data-panel="ruter"] .rp-route-staff-picker__trigger{grid-template-columns:48px minmax(0,1fr) 20px!important;}.dsrv-panel[data-panel="ruter"] .rp-route-staff-picker__trigger>.rp-route-staff-state{display:none;}.dsrv-panel[data-panel="ruter"] .rp-route-staff-card__hero{grid-template-columns:60px minmax(0,1fr);}.dsrv-panel[data-panel="ruter"] .rp-route-staff-card__hero>.rp-route-staff-state{grid-column:1/-1;justify-self:start;}.dsrv-panel[data-panel="ruter"] .rp-route-staff-avatar--hero{width:60px;height:60px;min-width:60px;}}

/* ------------------------- OVERBLIK: 3 økonomispor ------------------------- */
.dsrv-panel[data-panel="overblik"] .rp-overview-week-ledger__head span{color:#52655a!important;font-size:10.5px!important;font-weight:650!important;}
.dsrv-panel[data-panel="overblik"] .rp-overview-week-ledger__day>header small{color:#586b60!important;font-size:9.2px!important;font-weight:800!important;}
.dsrv-panel[data-panel="overblik"] .rp-overview-week-ledger__amounts>button>span{color:#45594d!important;font-size:8.8px!important;font-weight:950!important;}
.dsrv-panel[data-panel="overblik"] .rp-overview-week-ledger__day>footer{color:#43564b!important;font-size:9px!important;font-weight:900!important;}
.dsrv-panel[data-panel="overblik"] .rp-overview-week-ledger__day>footer.is-positive{color:var(--rp-primary-dark)!important;}
.dsrv-panel[data-panel="overblik"] .rp-overview-week-ledger__day>footer.is-warning{color:#744e05!important;}
.dsrv-panel[data-panel="overblik"] .rp-overview-week-ledger__day>footer.is-even{color:#2c5576!important;}
.dsrv-panel[data-panel="overblik"] .rp-overview-week-ledger__day>footer.is-neutral{background:#eef2ef!important;color:#4b5e53!important;}

/* ------------------------- MEDARBEJDERE: admin cards ------------------------- */
.dsrv-panel[data-panel="medarbejdere"] .dsrv-list[data-search-scope="medarbejdere"]{display:grid!important;gap:16px!important;}
.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-final-card{grid-template-columns:minmax(0,1fr) 360px!important;gap:18px!important;padding:19px!important;border-color:#d9e6d8!important;border-radius:22px!important;background:linear-gradient(180deg,#fff 0%,#f9fcf8 100%)!important;box-shadow:0 14px 32px rgba(17,51,31,.055)!important;}
.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-final-card__main{grid-template-columns:86px minmax(0,1fr)!important;gap:16px!important;}
.dsrv-panel[data-panel="medarbejdere"] .rp-ui-employee-avatar{width:78px!important;height:78px!important;min-width:78px!important;border-radius:20px!important;border:1px solid var(--rp-line)!important;background:linear-gradient(145deg,#e8f6e2,#d4eccd)!important;box-shadow:0 10px 22px rgba(37,99,44,.08)!important;font-size:21px!important;}
.dsrv-panel[data-panel="medarbejdere"] .dsrv-rowitem-title{color:var(--rp-text)!important;font-size:18px!important;line-height:1.16!important;font-weight:950!important;letter-spacing:-.015em!important;}
.dsrv-panel[data-panel="medarbejdere"] .dsrv-rowitem-sub{margin-top:3px!important;color:#52655a!important;font-size:11.5px!important;font-weight:650!important;}
.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-summary-status{display:flex!important;gap:6px!important;flex-wrap:wrap!important;margin:10px 0!important;}
.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-quick-stats{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;}
.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-quick-stats>div{min-height:58px!important;padding:10px 11px!important;border:1px solid var(--rp-line)!important;border-radius:13px!important;background:var(--rp-surface)!important;}
.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-quick-stats span{color:#65766b!important;font-size:8.5px!important;font-weight:950!important;letter-spacing:.06em!important;text-transform:uppercase!important;}
.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-quick-stats strong{display:block!important;margin-top:4px!important;color:var(--rp-text)!important;font-size:13px!important;font-weight:950!important;}

.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-access-strip>span{padding:9px 10px!important;border:1px solid var(--rp-line)!important;border-radius:12px!important;background:var(--rp-surface-subtle)!important;color:#51645a!important;font-size:10px!important;line-height:1.35!important;}
.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-access-strip b{display:block!important;margin-bottom:3px!important;color:#49604f!important;font-size:8px!important;letter-spacing:.05em!important;text-transform:uppercase!important;}
.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-final-card__actions{grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:14px!important;border-color:#dde8dc!important;border-radius:18px!important;background:linear-gradient(180deg,var(--rp-surface-subtle),#f2f7f1)!important;}
.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-final-card__actions .button{min-height:41px!important;border-radius:12px!important;font-size:11px!important;font-weight:900!important;}
.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-final-card__action-help{color:#52655a!important;font-size:10px!important;}
@media(max-width:1220px){.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-final-card{grid-template-columns:1fr!important;}.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-final-card__actions{grid-template-columns:repeat(3,minmax(130px,1fr))!important;}}
@media(max-width:760px){.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-final-card__main{grid-template-columns:1fr!important;}.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-quick-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;}.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-access-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important;}.dsrv-panel[data-panel="medarbejdere"] .dsrv-employee-final-card__actions{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}

/* ------------------------- INDSTILLINGER ------------------------- */
.dsrv-panel[data-panel="indstillinger"]>.dsrv-grid{gap:16px!important;align-items:start!important;}
.dsrv-panel[data-panel="indstillinger"] .dsrv-settings-card,.dsrv-panel[data-panel="indstillinger"] .rp-customer-comms__card{display:grid!important;gap:16px!important;padding:21px!important;border:1px solid var(--rp-line)!important;border-radius:22px!important;background:var(--rp-surface)!important;box-shadow:0 13px 30px color-mix(in srgb,var(--rp-primary-dark) 5%,transparent)!important;}
.dsrv-panel[data-panel="indstillinger"] .dsrv-settings-card h2,.dsrv-panel[data-panel="indstillinger"] .rp-customer-comms__card h2{margin:0!important;color:var(--rp-text)!important;font-size:20px!important;line-height:1.15!important;font-weight:950!important;letter-spacing:-.018em!important;}
.dsrv-panel[data-panel="indstillinger"] .dsrv-settings-card>p.dsrv-muted,.dsrv-panel[data-panel="indstillinger"] .rp-customer-comms__card>p.dsrv-muted{margin:-5px 0 1px!important;color:#56695d!important;font-size:12px!important;line-height:1.5!important;font-weight:600!important;}
.dsrv-panel[data-panel="indstillinger"] .dsrv-settings-card .dsrv-field{display:grid!important;gap:6px!important;margin:0!important;}
.dsrv-panel[data-panel="indstillinger"] .dsrv-settings-card .dsrv-field>span{color:var(--rp-text)!important;font-size:11.5px!important;line-height:1.3!important;font-weight:900!important;letter-spacing:0!important;text-transform:none!important;}
.dsrv-panel[data-panel="indstillinger"] .dsrv-settings-card .dsrv-field input,.dsrv-panel[data-panel="indstillinger"] .dsrv-settings-card .dsrv-field select,.dsrv-panel[data-panel="indstillinger"] .dsrv-settings-card .dsrv-field textarea{min-height:45px!important;border:1px solid #d5e1d4!important;border-radius:12px!important;background:var(--rp-surface)!important;color:var(--rp-text)!important;padding:9px 11px!important;box-shadow:none!important;font-family:var(--rp-font)!important;font-size:12px!important;line-height:1.4!important;}
.dsrv-panel[data-panel="indstillinger"] .dsrv-settings-card .dsrv-field input:focus,.dsrv-panel[data-panel="indstillinger"] .dsrv-settings-card .dsrv-field select:focus,.dsrv-panel[data-panel="indstillinger"] .dsrv-settings-card .dsrv-field textarea:focus{border-color:color-mix(in srgb,var(--rp-primary) 55%,var(--rp-line) 45%)!important;box-shadow:0 0 0 3px rgba(114,189,56,.10)!important;outline:0!important;}
.dsrv-panel[data-panel="indstillinger"] .dsrv-settings-card input[name*="google_maps"]{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace!important;font-size:11.25px!important;}
.dsrv-panel[data-panel="indstillinger"] .dsrv-settings-card .dsrv-field small{color:var(--rp-muted)!important;font-size:11.25px!important;line-height:1.45!important;font-weight:600!important;}
.dsrv-panel[data-panel="indstillinger"] .dsrv-settings-status{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;padding:10px!important;border:1px solid var(--rp-line)!important;border-radius:16px!important;background:var(--rp-surface-subtle)!important;}
.dsrv-panel[data-panel="indstillinger"] .dsrv-settings-status>div{display:grid!important;align-content:center!important;gap:4px!important;min-height:58px!important;padding:10px 12px!important;border:1px solid var(--rp-line)!important;border-radius:12px!important;background:var(--rp-surface)!important;}
.dsrv-panel[data-panel="indstillinger"] .dsrv-settings-status span{color:var(--rp-muted)!important;font-size:9.75px!important;line-height:1.25!important;font-weight:900!important;letter-spacing:.035em!important;text-transform:uppercase!important;}
.dsrv-panel[data-panel="indstillinger"] .dsrv-settings-status strong{color:var(--rp-text)!important;font-size:12.5px!important;line-height:1.3!important;font-weight:950!important;overflow-wrap:anywhere!important;}
.dsrv-panel[data-panel="indstillinger"] .dsrv-actions{margin-top:2px!important;padding-top:2px!important;}
.dsrv-panel[data-panel="indstillinger"] .rp-company-settings-grid{gap:10px!important;}
.dsrv-panel[data-panel="indstillinger"] .rp-company-settings-grid .dsrv-field{padding:13px!important;border:1px solid var(--rp-line)!important;border-radius:14px!important;background:var(--rp-surface-subtle)!important;}
.dsrv-panel[data-panel="indstillinger"] .rp-company-settings-status{margin:0!important;}
@media(max-width:700px){.dsrv-panel[data-panel="indstillinger"] .dsrv-settings-status{grid-template-columns:1fr!important;}}

/* ------------------------- BACKUP ------------------------- */
.dsrv-panel[data-panel="backup"] .dsrv-backup-simple-overview{padding:21px!important;border:1px solid var(--rp-line)!important;border-radius:22px!important;background:var(--rp-surface)!important;box-shadow:0 13px 30px color-mix(in srgb,var(--rp-primary-dark) 5%,transparent)!important;}
.dsrv-panel[data-panel="backup"] .dsrv-backup-simple-overview .dsrv-h2,.dsrv-panel[data-panel="backup"] .dsrv-backup-panel-head .dsrv-h2,.dsrv-panel[data-panel="backup"] .dsrv-backup-control-card>.dsrv-row .dsrv-h2{color:var(--rp-text)!important;font-size:20px!important;line-height:1.15!important;font-weight:950!important;letter-spacing:-.018em!important;}
.dsrv-panel[data-panel="backup"] .dsrv-backup-simple-overview>.dsrv-muted,.dsrv-panel[data-panel="backup"] .dsrv-backup-panel-head .dsrv-muted{color:var(--rp-muted)!important;font-size:11.75px!important;line-height:1.5!important;font-weight:600!important;}
.dsrv-panel[data-panel="backup"] .dsrv-health-cards{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;margin-top:15px!important;}
.dsrv-panel[data-panel="backup"] .dsrv-health-card{position:relative!important;display:grid!important;align-content:center!important;gap:5px!important;min-height:108px!important;padding:15px 16px 15px 18px!important;border:1px solid var(--rp-line)!important;border-radius:16px!important;background:linear-gradient(180deg,#fff,var(--rp-surface-subtle))!important;box-shadow:none!important;overflow:hidden!important;}
.dsrv-panel[data-panel="backup"] .dsrv-health-card::before{content:""!important;position:absolute!important;inset:0 auto 0 0!important;width:4px!important;background:linear-gradient(180deg,#82c65b,#357d39)!important;}
.dsrv-panel[data-panel="backup"] .dsrv-health-card__label{color:#54695c!important;font-size:11px!important;line-height:1.3!important;font-weight:850!important;letter-spacing:0!important;text-transform:none!important;}
.dsrv-panel[data-panel="backup"] .dsrv-health-card strong{color:var(--rp-text)!important;font-size:25px!important;line-height:1.05!important;font-weight:950!important;letter-spacing:-.02em!important;}
.dsrv-panel[data-panel="backup"] .dsrv-health-card small{color:#617369!important;font-size:11.25px!important;line-height:1.4!important;font-weight:600!important;}
.dsrv-panel[data-panel="backup"] .dsrv-backup-panel,.dsrv-panel[data-panel="backup"] .dsrv-backup-control-card{border-color:var(--rp-line)!important;border-radius:20px!important;background:var(--rp-surface)!important;box-shadow:0 10px 26px color-mix(in srgb,var(--rp-primary-dark) 4%,transparent)!important;}
.dsrv-panel[data-panel="backup"] .dsrv-backup-panel-head{padding-bottom:13px!important;border-bottom:1px solid var(--rp-line)!important;}
.dsrv-panel[data-panel="backup"] .dsrv-backup-mode-tabs{padding:5px!important;border:1px solid #dbe7d9!important;border-radius:14px!important;background:#eef6eb!important;}
.dsrv-panel[data-panel="backup"] .dsrv-backup-mode-tab{min-height:42px!important;border-radius:10px!important;font-size:11.5px!important;font-weight:900!important;}
.dsrv-panel[data-panel="backup"] .dsrv-backup-checkline,.dsrv-panel[data-panel="backup"] .dsrv-backup-choice-row{min-height:92px!important;padding:14px 15px!important;border:1px solid var(--rp-line)!important;border-radius:15px!important;background:var(--rp-surface-subtle)!important;}
.dsrv-panel[data-panel="backup"] .dsrv-backup-checkline strong,.dsrv-panel[data-panel="backup"] .dsrv-backup-choice-row strong{color:#203f28!important;font-size:13px!important;line-height:1.3!important;font-weight:950!important;}
.dsrv-panel[data-panel="backup"] .dsrv-backup-checkline small,.dsrv-panel[data-panel="backup"] .dsrv-backup-choice-row small{color:#586b60!important;font-size:11.25px!important;line-height:1.45!important;font-weight:600!important;}
.dsrv-panel[data-panel="backup"] .dsrv-backup-control-card:last-of-type{border-color:#eadbb3!important;background:linear-gradient(180deg,#fffdf8,#fffaf1)!important;}
@media(max-width:1100px){.dsrv-panel[data-panel="backup"] .dsrv-health-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
@media(max-width:620px){.dsrv-panel[data-panel="backup"] .dsrv-health-cards{grid-template-columns:1fr!important;}}

/* ------------------------- SAGSVÆRKTØJER ------------------------- */
.dsrv-panel[data-panel="sagsvaerktoejer"],.dsrv-panel[data-panel="sagsværktøjer"]{width:100%!important;max-width:none!important;}
.dsrv-panel[data-panel="sagsvaerktoejer"]>.rpq-card,.dsrv-panel[data-panel="sagsværktøjer"]>.rpq-card{width:100%!important;max-width:none!important;}
.dsrv-panel[data-panel="sagsvaerktoejer"] .rpq-case-editor,.dsrv-panel[data-panel="sagsværktøjer"] .rpq-case-editor,.rpq-case-editor{width:100%!important;max-width:none!important;gap:16px!important;}
.rpq-case-editor .rpq-card{border:1px solid var(--rp-line)!important;border-radius:19px!important;background:var(--rp-surface)!important;box-shadow:0 9px 24px color-mix(in srgb,var(--rp-primary-dark) 4%,transparent)!important;}
.rpq-case-editor .rpq-editor-head{padding:19px 20px!important;border-left:5px solid #5aa449!important;}
.rpq-case-editor .rpq-editor-head h2{margin:4px 0 5px!important;color:var(--rp-text)!important;font-size:23px!important;line-height:1.12!important;font-weight:950!important;letter-spacing:-.02em!important;}
.rpq-case-editor .rpq-editor-head p{color:#56695d!important;font-size:11.75px!important;line-height:1.5!important;font-weight:600!important;}
.rpq-case-editor .rpq-editor-status{display:grid!important;gap:6px!important;justify-items:end!important;max-width:460px!important;}
.rpq-case-editor .rpq-editor-status small{color:var(--rp-muted)!important;font-size:11px!important;line-height:1.45!important;text-align:right!important;font-weight:600!important;}
.rpq-case-editor .rpq-editor-section{padding:19px!important;}
.rpq-case-editor .rpq-card-head{margin-bottom:14px!important;}
.rpq-case-editor .rpq-card-head>div{display:grid!important;grid-template-columns:36px minmax(0,1fr)!important;column-gap:11px!important;align-items:center!important;}
.rpq-case-editor .rpq-step-number{grid-row:1/3!important;align-self:start!important;width:34px!important;height:34px!important;min-width:34px!important;margin:0!important;padding:0!important;border-radius:10px!important;background:linear-gradient(145deg,#e6f5df,#d2ecc8)!important;color:#2f6833!important;font-size:12px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.75)!important;}
.rpq-case-editor .rpq-card-head h2{margin:0!important;color:var(--rp-text)!important;font-size:18px!important;line-height:1.18!important;font-weight:950!important;}
.rpq-case-editor .rpq-card-head p{grid-column:2!important;margin:3px 0 0!important;color:var(--rp-muted)!important;font-size:11.5px!important;line-height:1.45!important;font-weight:600!important;}
.rpq-case-editor .rpq-visit-edit{padding:15px!important;border-color:var(--rp-line)!important;border-radius:15px!important;background:var(--rp-surface)!important;box-shadow:0 5px 15px rgba(18,57,31,.025)!important;}
.rpq-case-editor .rpq-visit-edit label>span{color:#314b39!important;font-size:11px!important;line-height:1.3!important;font-weight:850!important;letter-spacing:0!important;}
.rpq-case-editor .rpq-visit-edit select,.rpq-case-editor .rpq-visit-edit input{min-height:43px!important;border-color:#d7e2d6!important;border-radius:11px!important;background:var(--rp-surface)!important;color:var(--rp-text)!important;}
.rpq-case-editor .rpq-original-values{padding:10px 11px!important;border-radius:11px!important;background:#f4f7f5!important;color:#4d6055!important;font-size:11px!important;}
.rpq-case-editor .rpq-original-values span{border:0!important;background:var(--rp-surface)!important;box-shadow:inset 0 0 0 1px #dce4de!important;color:var(--rp-text)!important;}
.rpq-case-editor .rpq-placement-block{padding:14px!important;border:1px solid var(--rp-line)!important;border-radius:15px!important;background:var(--rp-surface)!important;}
.rpq-case-editor .rpq-placement-block--other{border-top:1px solid var(--rp-line)!important;}
.rpq-case-editor .rpq-placement-block h3{color:#203f28!important;font-size:13.5px!important;font-weight:950!important;}
.rpq-case-editor .rpq-placement-option{border-width:1px!important;border-color:#dbe5d9!important;border-radius:13px!important;background:var(--rp-surface-subtle)!important;box-shadow:none!important;}
.rpq-case-editor .rpq-placement-option:hover{border-color:#adcfa2!important;background:#f7fcf5!important;}
.rpq-case-editor .rpq-placement-option.is-selected{border-color:#7eb56c!important;background:#eff8eb!important;box-shadow:0 0 0 3px rgba(114,189,56,.10)!important;}
.rpq-case-editor .rpq-placement-option__body>small,.rpq-case-editor .rpq-manual-case-row label>small,.rpq-case-editor .rpq-suggestion-note span{color:var(--rp-muted)!important;font-size:11px!important;line-height:1.45!important;font-weight:600!important;}
.rpq-case-editor .rpq-manual-case-row{max-width:none!important;border-color:#cbd9c8!important;border-radius:13px!important;background:var(--rp-surface-subtle)!important;}
.rpq-case-editor .rpq-empty-state{border-color:#d5e0d4!important;background:#f7faf8!important;}
.rpq-case-editor .rpq-empty-state span{color:var(--rp-muted)!important;font-size:11.25px!important;font-weight:600!important;}
.rpq-case-editor .rpq-save-section{border-color:#a7ce96!important;background:linear-gradient(180deg,var(--rp-surface-subtle),color-mix(in srgb,var(--rp-primary) 6%,var(--rp-surface) 94%))!important;}
.rpq-case-editor .rpq-live-summary{border-color:#d6e3d3!important;border-radius:13px!important;background:var(--rp-surface)!important;color:#405349!important;}
.rpq-case-editor .rpq-editor-actions{margin-top:12px!important;padding-top:12px!important;border-top:1px solid var(--rp-line)!important;}
.rpq-case-editor .rpq-placement-list--standalone-only{grid-template-columns:1fr!important;max-width:none!important;}
.rpq-case-editor .rpq-placement-option--standalone,.rpq-case-editor .rpq-manual-case-row{width:100%!important;}
@media(max-width:900px){.rpq-case-editor .rpq-editor-head{display:grid!important;}.rpq-case-editor .rpq-editor-status{justify-items:start!important;max-width:none!important;}.rpq-case-editor .rpq-editor-status small{text-align:left!important;}}

/* === ACTIVE COMPONENT: INTERACTION / HELP === */
/* Pest cards are draggable, but the whole white card must not switch to the white grab hand.
   The dedicated grip remains the only drag affordance. */
.dsrv-panel[data-panel="skadedyr"] .rp-pest-card,.dsrv-panel[data-panel="skadedyr"] .rp-pest-card:hover,.dsrv-panel[data-panel="skadedyr"] .rp-pest-card.is-dragging{
  cursor:default!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pest-card__drag,.dsrv-panel[data-panel="skadedyr"] .rp-pest-card__drag:hover{
  cursor:grab!important;
}
.dsrv-panel[data-panel="skadedyr"] .rp-pest-card__drag:active{cursor:grabbing!important;}

/* Help is a real desktop hover tooltip as well as click/tap help. */
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stats-help__button{
  position:relative!important;
  z-index:2!important;
}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stats-help__button:focus-visible{
  border-color:var(--rp-primary)!important;
  background:var(--rp-primary-soft)!important;
  color:#1f5727!important;

  box-shadow:0 0 0 3px rgba(114,189,56,.14)!important;
}

/* Customer visit inspection: task and report shortcuts live together. */
.dsrv-panel[data-panel="kunder"] .rp-customer-visit-task,.dsrv-panel[data-panel="kunder"] .rp-customer-visit-report{
  min-height:30px!important;
  height:30px!important;
  padding:0 10px!important;
  border-radius:9px!important;
}
.dsrv-panel[data-panel="kunder"] .rp-customer-visit-task{
  border-color:#c8d9e8!important;
  background:#f2f7fc!important;
  color:#315b82!important;
  box-shadow:none!important;
}
.dsrv-panel[data-panel="kunder"] .rp-customer-visit-task:hover,.dsrv-panel[data-panel="kunder"] .rp-customer-visit-task:focus-visible{
  border-color:#9dbbd6!important;
  background:#eaf3fb!important;
  color:#244f78!important;

}
.dsrv-panel[data-panel="kunder"] .rp-customer-visit-history__actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:6px!important;
  flex-wrap:wrap!important;
  min-width:0!important;
}
@media(max-width:720px){
  .dsrv-panel[data-panel="kunder"] .rp-customer-visit-history__actions{justify-content:flex-start!important;}
}

/* Green/primary actions always carry white action glyphs. This includes the
   dashboard/sidebar Ny opgave button and + / arrow icons in the task modal. */
html body.ruteplanen-ui-runtime .dsrv.rp-ui .button-primary .rp-icon,html body.ruteplanen-ui-runtime .dsrv.rp-ui .button-primary .rp-ui-button__icon,html body.ruteplanen-ui-runtime .dsrv.rp-ui .button-primary svg,html body.ruteplanen-ui-runtime .dsrv.rp-ui .button-primary svg *,body>.dsrv-modal.rp-ui-modal .button-primary .rp-icon,body>.dsrv-modal.rp-ui-modal .button-primary .rp-ui-button__icon,body>.dsrv-modal.rp-ui-modal .button-primary svg,body>.dsrv-modal.rp-ui-modal .button-primary svg *,html body.ruteplanen-ui-runtime .dsrv.rp-ui .dsrv-sidebar-newtask .rp-icon,html body.ruteplanen-ui-runtime .dsrv.rp-ui .dsrv-sidebar-newtask .rp-ui-button__icon,html body.ruteplanen-ui-runtime .dsrv.rp-ui .dsrv-sidebar-newtask svg,html body.ruteplanen-ui-runtime .dsrv.rp-ui .dsrv-sidebar-newtask svg *{
  color:#fff!important;
  stroke:#fff!important;
}
.dsrv-panel[data-panel="kunder"] .rp-customer-report-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(220px,auto) auto!important;
  gap:10px 14px!important;
  align-items:center!important;
  min-width:0!important;
  padding:9px 10px!important;
  border:1px solid #e1e9e3!important;
  border-radius:11px!important;
  background:var(--rp-surface)!important;
}
.dsrv-panel[data-panel="kunder"] .rp-customer-report-row>div:first-child{display:grid!important;gap:2px!important;min-width:0!important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-report-row>div:first-child strong{color:#223b2a!important;font-size:10.75px!important;font-weight:950!important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-report-row>div:first-child small{color:#6b7a71!important;font-size:9.5px!important;font-weight:700!important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-report-row__pills{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:5px!important;flex-wrap:wrap!important;min-width:0!important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-report-row__actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:6px!important;flex-wrap:wrap!important;}
@media(max-width:980px){
  .dsrv-panel[data-panel="kunder"] .rp-customer-report-row{grid-template-columns:1fr!important;align-items:start!important;}
  .dsrv-panel[data-panel="kunder"] .rp-customer-report-row__pills,.dsrv-panel[data-panel="kunder"] .rp-customer-report-row__actions{justify-content:flex-start!important;}
}

/* === ACTIVE COMPONENT: OPGAVEKORT EDGE-TO-EDGE === */
.dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  margin:18px 0 26px!important;
}
.dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-opgavekort-embedded{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  border:1px solid #d7e5da!important;
  border-radius:26px!important;
  background:var(--rp-surface-subtle)!important;
  box-shadow:0 18px 42px rgba(16,44,25,.075)!important;
}
.dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-opgavekort-head--embedded,.dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-opgavekort-status-row,.dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-opgavekort-controls{
  display:none!important;
}
.dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-routes-work-map-card{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-routes-work-map-head{
  display:grid!important;
  grid-template-columns:minmax(320px,1fr) minmax(480px,auto)!important;
  gap:14px 20px!important;
  align-items:center!important;
  width:100%!important;
  padding:18px 20px!important;
  border:0!important;
  border-bottom:1px solid #dfe9e1!important;
  background:linear-gradient(180deg,#ffffff 0%,#f5faf4 100%)!important;
}
.dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-routes-work-map-head>div:first-child{
  display:grid!important;
  gap:4px!important;
  min-width:0!important;
}
.dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-routes-work-map-head .dsrv-h2{
  margin:0!important;
  color:var(--rp-text)!important;
  font-size:23px!important;
  line-height:1.08!important;
  font-weight:950!important;
  letter-spacing:-.025em!important;
}
.dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-routes-work-map-head .dsrv-muted{
  margin:0!important;
  max-width:760px!important;
  color:#617267!important;
  font-size:11.5px!important;
  line-height:1.45!important;
  font-weight:650!important;
}
.dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-routes-work-map-actions{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:7px!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-routes-work-map-actions .button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  min-height:34px!important;
  margin:0!important;
  padding:6px 10px!important;
  border:1px solid #d5e2d7!important;
  border-radius:11px!important;
  background:var(--rp-surface)!important;
  color:var(--rp-text)!important;
  font-size:10px!important;
  line-height:1.2!important;
  font-weight:900!important;
  box-shadow:none!important;
}
.dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-routes-work-map-actions .button:hover,.dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-routes-work-map-actions .button:focus-visible{
  border-color:color-mix(in srgb,var(--rp-primary) 38%,var(--rp-line) 62%)!important;
  background:#f4fbf1!important;
  color:var(--rp-primary-dark)!important;

}
.dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-routes-work-map-actions .button.is-active,.dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-routes-work-map-actions [data-work-map-view].is-active{
  border-color:color-mix(in srgb,var(--rp-primary) 70%,var(--rp-line) 30%)!important;
  background:linear-gradient(150deg,var(--rp-button-primary-start) 0%,var(--rp-button-primary) 55%,var(--rp-button-primary-end) 100%)!important;
  color:#fff!important;
  box-shadow:0 7px 16px rgba(38,112,45,.18)!important;
}
.dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-routes-work-map-actions .button span{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:20px!important;
  height:20px!important;
  padding:0 5px!important;
  border:1px solid #d9e5da!important;
  border-radius:999px!important;
  background:#eef5ef!important;
  color:#31513c!important;
  font-size:8.5px!important;
  font-weight:950!important;
}
.dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-routes-work-map-actions .button.is-active span{
  border-color:rgba(255,255,255,.18)!important;
  background:rgba(255,255,255,.18)!important;
  color:#fff!important;
}
.dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-work-map-statechip{
  display:inline-flex!important;
  align-items:center!important;
  min-height:32px!important;
  padding:6px 9px!important;
  border:1px solid transparent!important;
  border-radius:999px!important;
  font-size:9.5px!important;
  line-height:1.2!important;
  font-weight:900!important;
  white-space:nowrap!important;
  box-shadow:none!important;
}
.dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-work-map-statechip.is-done{border-color:#cde3c7!important;background:#eef8ec!important;color:#2a6330!important;}
.dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-work-map-statechip.is-enroute{border-color:#f0d6a8!important;background:#fff5e5!important;color:#8c520b!important;}
.dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-work-map-statechip.is-pending{border-color:#eadfae!important;background:#fffbea!important;color:#775c16!important;}
.dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-work-map-statechip.is-money{border-color:#ccdcef!important;background:#eef5fc!important;color:#315785!important;}
.dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-work-map-filter-row{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  margin:0!important;
}
.dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-routes-work-map-body{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  background:var(--rp-surface-subtle)!important;
}
.dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-routes-work-map{
  display:block!important;
  position:relative!important;
  width:100%!important;
  min-width:0!important;
  height:clamp(520px,62vh,720px)!important;
  min-height:520px!important;
  max-height:720px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:#eef5ec!important;
  overflow:hidden!important;
  box-shadow:none!important;
  visibility:visible!important;
  opacity:1!important;
}
.dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-routes-work-map[hidden],.dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot [data-work-map-view-panel][hidden]{
  display:none!important;
}
.dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-routes-work-map.is-schematic{
  overflow:hidden!important;
  background:var(--rp-surface-subtle)!important;
}
.dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-routes-work-map.is-schematic .dsrv-admin-route-schematic{
  display:flex!important;
  flex-direction:column!important;
  gap:12px!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  padding:16px 18px 14px!important;
  border:0!important;
  border-radius:0!important;
  background:linear-gradient(180deg,#ffffff 0%,var(--rp-surface-subtle) 100%)!important;
  box-shadow:none!important;
}
.dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-routes-work-map.is-schematic .dsrv-admin-map-status{
  flex:0 0 auto!important;
  margin:0!important;
  padding:12px 14px!important;
  border-radius:14px!important;
  box-shadow:none!important;
}
.dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-routes-work-map.is-schematic .dsrv-admin-schematic-title,.dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-routes-work-map.is-schematic .dsrv-admin-schematic-summary{
  flex:0 0 auto!important;
}
.dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-routes-work-map.is-schematic .dsrv-admin-schematic-list{
  flex:1 1 auto!important;
  display:grid!important;
  align-content:start!important;
  gap:10px!important;
  min-height:0!important;
  padding:0 3px 2px 0!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior:contain!important;
  scrollbar-gutter:stable!important;
}
.dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-routes-work-map.is-schematic .dsrv-admin-schematic-list::-webkit-scrollbar{width:10px!important;}
.dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-routes-work-map.is-schematic .dsrv-admin-schematic-list::-webkit-scrollbar-track{background:#eef4ed!important;border-radius:999px!important;}
.dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-routes-work-map.is-schematic .dsrv-admin-schematic-list::-webkit-scrollbar-thumb{background:#b9cbb8!important;border:2px solid #eef4ed!important;border-radius:999px!important;}
.dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-admin-schematic-stop{
  position:relative!important;
  display:grid!important;
  grid-template-columns:40px minmax(0,1fr)!important;
  gap:12px!important;
  align-items:start!important;
  min-height:74px!important;
  padding:11px 13px!important;
  border:1px solid var(--rp-line)!important;
  border-radius:15px!important;
  background:var(--rp-surface)!important;
  box-shadow:0 5px 14px rgba(18,57,31,.025)!important;
  overflow:hidden!important;
}
.dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-admin-schematic-stop::before{
  content:""!important;
  position:absolute!important;
  inset:0 auto 0 0!important;
  width:4px!important;
  background:#e4a11c!important;
}
.dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-admin-schematic-stop.is-home::before{background:#87958d!important;}
.dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-admin-schematic-stop.is-done::before{background:var(--rp-status-published)!important;}
.dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-admin-schematic-stop.is-conflict::before,.dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-admin-schematic-stop.is-danger::before{background:var(--rp-status-draft)!important;}
.dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-admin-schematic-stop b{
  display:grid!important;
  place-items:center!important;
  width:31px!important;
  height:31px!important;
  border:0!important;
  border-radius:10px!important;
  background:#fff3d8!important;
  color:#8a5b06!important;
  font-size:10px!important;
  font-weight:950!important;
  box-shadow:inset 0 0 0 1px #edd5a6!important;
}
.dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-admin-schematic-stop.is-home b{background:#eef2ef!important;color:#53635a!important;box-shadow:inset 0 0 0 1px #d7e0da!important;}
.dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-admin-schematic-stop.is-done b{background:#eaf7e6!important;color:#286631!important;box-shadow:inset 0 0 0 1px #c8e1c2!important;}
.dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-admin-schematic-stop__top{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:6px 10px!important;align-items:start!important;}
.dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-admin-schematic-stop strong{min-width:0!important;color:var(--rp-text)!important;font-size:12px!important;line-height:1.3!important;font-weight:900!important;overflow-wrap:anywhere!important;}
.dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-admin-schematic-stop small{min-width:0!important;color:var(--rp-muted)!important;font-size:10px!important;line-height:1.4!important;font-weight:600!important;overflow-wrap:anywhere!important;}
.dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-admin-schematic-stop__chips{display:flex!important;flex-wrap:wrap!important;gap:5px!important;justify-content:flex-end!important;}
.dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-admin-schematic-chip{display:inline-flex!important;align-items:center!important;min-height:22px!important;padding:3px 7px!important;border:1px solid var(--rp-line)!important;border-radius:999px!important;background:#f9fbf9!important;color:#45574e!important;font-size:8.75px!important;font-weight:900!important;white-space:nowrap!important;}
.dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-admin-schematic-stop__meta span{display:inline-flex!important;align-items:center!important;min-height:21px!important;padding:3px 7px!important;border:1px solid #e1e8e3!important;border-radius:999px!important;background:var(--rp-surface-subtle)!important;color:#556860!important;font-size:8.75px!important;font-weight:800!important;}
.dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-admin-schematic-stop__note{padding:7px 9px!important;border:1px dashed #d9e5db!important;border-radius:10px!important;background:var(--rp-surface-subtle)!important;color:#5d6f65!important;font-size:9.5px!important;line-height:1.4!important;font-weight:650!important;}
.dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-routes-work-map--empty{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:clamp(420px,55vh,620px)!important;
  min-height:420px!important;
  padding:24px!important;
  border:0!important;
  border-radius:0!important;
  background:var(--rp-surface-subtle)!important;
  color:#66785d!important;
  font-weight:850!important;
}
.dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-routes-work-map-legend{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:8px 12px!important;
  margin:0!important;
  padding:11px 18px 12px!important;
  border:0!important;
  border-top:1px solid #e3ebe4!important;
  background:var(--rp-surface)!important;
  color:#66766e!important;
  font-size:9px!important;
  line-height:1.4!important;
}
@media(max-width:1180px){
  .dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-routes-work-map-head{grid-template-columns:1fr!important;align-items:start!important;}
  .dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-routes-work-map-actions{justify-content:flex-start!important;}
}
@media(max-width:760px){
  .dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-opgavekort-embedded{border-radius:20px!important;}
  .dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-routes-work-map-head{padding:15px 14px!important;}
  .dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-routes-work-map-head .dsrv-h2{font-size:20px!important;}
  .dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-routes-work-map-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important;}
  .dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-work-map-filter-row{display:grid!important;grid-template-columns:1fr 1fr!important;grid-column:1/-1!important;}
  .dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-routes-work-map{height:clamp(440px,62vh,600px)!important;min-height:440px!important;max-height:600px!important;}
  .dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-routes-work-map.is-schematic .dsrv-admin-route-schematic{padding:12px!important;}
  .dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-admin-schematic-stop{grid-template-columns:1fr!important;padding:12px 12px 12px 16px!important;}
  .dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-admin-schematic-stop__top{grid-template-columns:1fr!important;}
  .dsrv-panel[data-panel="ruter"]>.dsrv-route-opgavekort-slot .dsrv-admin-schematic-stop__chips{justify-content:flex-start!important;}
}

/* === ACTIVE COMPONENT: LOADING / MODAL SPACING === */
/* JS owns tooltip geometry. CSS owns only appearance, so hover/focus never reflows the pest form. */
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stats-help__popover{
  position:fixed!important;
  right:auto!important;
  bottom:auto!important;
  margin:0!important;
  max-width:min(440px,calc(100vw - 32px))!important;
  pointer-events:auto!important;
}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stats-help__popover[hidden]{display:none!important;}
body>.dsrv-modal.rp-ui-modal.is-pest-modal .rp-stats-help__popover:not([hidden]){display:block!important;}

/* Shared premium loading state for every lazy-loaded Admin panel. */
.dsrv.rp-ui .rp-ui-loading-card{
  display:grid!important;
  grid-template-columns:minmax(240px,.72fr) minmax(300px,1.28fr)!important;
  gap:22px!important;
  align-items:center!important;
  min-height:148px!important;
  padding:22px 24px!important;
  border:1px solid var(--rp-line)!important;
  border-radius:22px!important;
  background:radial-gradient(circle at 100% 0,rgba(114,189,56,.07),transparent 32%),linear-gradient(180deg,#fff,var(--rp-surface-subtle))!important;
  box-shadow:0 14px 32px rgba(15,48,26,.055)!important;
}
.dsrv.rp-ui .rp-ui-loading-card.is-compact{min-height:118px!important;padding:18px!important;}
.dsrv.rp-ui .rp-ui-loading-card__identity{display:flex!important;align-items:center!important;gap:14px!important;min-width:0!important;}
.dsrv.rp-ui .rp-ui-loading-card__identity>div{display:grid!important;gap:5px!important;min-width:0!important;}
.dsrv.rp-ui .rp-ui-loading-card__identity strong{color:var(--rp-text)!important;font-size:16px!important;line-height:1.2!important;font-weight:950!important;}
.dsrv.rp-ui .rp-ui-loading-card__identity span:not(.rp-ui-loading-card__spinner){color:#617267!important;font-size:11px!important;line-height:1.5!important;font-weight:650!important;}
.dsrv.rp-ui .rp-ui-loading-card__spinner{width:34px!important;height:34px!important;flex:0 0 34px!important;border:3px solid #dce9d7!important;border-top-color:#3e8f3b!important;border-radius:50%!important;animation:rpLoadingSpin15610 .78s linear infinite!important;}
.dsrv.rp-ui .rp-ui-loading-card__skeleton{display:grid!important;gap:10px!important;min-width:0!important;}
.dsrv.rp-ui .rp-ui-loading-card__line{display:block!important;height:13px!important;border-radius:999px!important;background:linear-gradient(90deg,#edf3ed 25%,var(--rp-surface-subtle) 45%,#edf3ed 65%)!important;background-size:220% 100%!important;animation:rpLoadingShimmer15610 1.2s ease-in-out infinite!important;}
.dsrv.rp-ui .rp-ui-loading-card__line.is-1{width:82%!important;}
.dsrv.rp-ui .rp-ui-loading-card__line.is-2{width:100%!important;}
.dsrv.rp-ui .rp-ui-loading-card__line.is-3{width:72%!important;}
.dsrv.rp-ui .rp-ui-loading-card__line.is-4{width:91%!important;}
.dsrv.rp-ui .rp-ui-loading-card__line.is-5{width:64%!important;}
@keyframes rpLoadingSpin15610{to{transform:rotate(360deg)}}
@keyframes rpLoadingShimmer15610{0%{background-position:100% 0}100%{background-position:-120% 0}}
@media(max-width:760px){
  .dsrv.rp-ui .rp-ui-loading-card{grid-template-columns:1fr!important;gap:16px!important;min-height:0!important;padding:18px!important;}
}

/* Legacy map/opgavekort loaders follow the same visual language while they are still used. */
.dsrv.rp-ui .dsrv-map-loading,.dsrv.rp-ui .dsrv-opgavekort-loading{
  min-height:118px!important;
  display:grid!important;
  place-content:center!important;
  gap:5px!important;
  padding:20px!important;
  border:1px solid var(--rp-line)!important;
  border-radius:18px!important;
  background:linear-gradient(180deg,var(--rp-surface),var(--rp-surface-subtle))!important;
  color:var(--rp-text)!important;
  text-align:center!important;
  box-shadow:var(--rp-shadow-sm)!important;
}
.dsrv.rp-ui .dsrv-map-loading strong{font-size:13px!important;font-weight:950!important;color:var(--rp-text)!important;}
.dsrv.rp-ui .dsrv-map-loading small{font-size:10.5px!important;line-height:1.45!important;color:var(--rp-muted)!important;}

/* Case chooser footer needs a real safe zone instead of buttons touching the modal edge. */
body>.dsrv-modal.rp-ui-modal .dsrv-same-address-modal{display:grid!important;gap:12px!important;padding:2px 8px 10px!important;}
body>.dsrv-modal.rp-ui-modal .dsrv-same-address-modal .dsrv-route-placement-modal__actions{
  margin-top:2px!important;
  padding:12px 8px 4px!important;
  border-top:1px solid var(--rp-line)!important;
  background:linear-gradient(180deg,color-mix(in srgb,var(--rp-surface) 25%,transparent),var(--rp-surface))!important;
}
body>.dsrv-modal.rp-ui-modal .dsrv-same-address-modal .dsrv-route-placement-modal__actions .button{
  min-height:38px!important;
  padding:7px 13px!important;
  border-radius:11px!important;
}

/* === ACTIVE COMPONENT: SAVE BUTTON CONTRACT === */
/* Gem er en ren teksthandling. Det gamle save-glyph lignede en checkbox ved små størrelser. */
button .rp-ui-button__icon:empty,.button .rp-ui-button__icon:empty,.rp-emp-btn .rp-ui-button__icon:empty{display:none!important;}
button .rp-icon--gem,.button .rp-icon--gem,.rp-emp-btn .rp-icon--gem{display:none!important;}

/* === ACTIVE COMPONENT: IKONER & UI / THEME STUDIO === */
.rp-page-cover__dock .rp-icon-ui-cover-kpis{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;width:100%!important;margin:0!important;}
.rp-page-cover__dock .rp-icon-ui-cover-kpis .rp-cover-kpi{width:100%!important;min-height:112px!important;appearance:none!important;-webkit-appearance:none!important;text-align:left!important;font:inherit!important;cursor:pointer!important;}
.rp-page-cover__dock .rp-icon-ui-cover-kpis .rp-cover-kpi .rp-cover-kpi__value{font-size:18px!important;line-height:1.12!important;letter-spacing:-.015em!important;}
.rp-page-cover__dock .rp-icon-ui-cover-kpis .rp-cover-kpi:not(.is-active){opacity:.9;}
.rp-page-cover__dock .rp-icon-ui-cover-kpis .rp-cover-kpi.is-active{opacity:1;transform:translateY(-2px);border-color:color-mix(in srgb,var(--rp-primary) 48%,rgba(255,255,255,.18));background:linear-gradient(145deg,color-mix(in srgb,var(--rp-primary-dark) 90%,#000 10%),color-mix(in srgb,var(--rp-primary-dark) 62%,var(--rp-primary) 38%));box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 18px 36px rgba(0,0,0,.23);}
.rp-icon-studio [data-rp-ui-workspace][hidden]{display:none!important;}
.rp-theme-studio-layout{display:grid;gap:18px;align-items:start;}
.rp-theme-studio-main{display:grid;gap:16px;min-width:0;}
.rp-theme-intro-card{background:linear-gradient(155deg,color-mix(in srgb,var(--rp-primary) 7%,#fff 93%),#fff)!important;}
.rp-theme-intro-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}
.rp-theme-intro-strip>div{display:grid;gap:4px;min-width:0;padding:12px 13px;border:1px solid var(--rp-line);border-radius:14px;background:var(--rp-surface);}
.rp-theme-intro-strip span{color:var(--rp-muted);font-size:9.5px;font-weight:900;letter-spacing:.05em;text-transform:uppercase;}
.rp-theme-intro-strip strong{color:var(--rp-text);font-size:12px;line-height:1.3;font-weight:950;}
.rp-theme-group-card .rp-icon-studio-card__head{margin-bottom:12px;}
.rp-theme-color-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}
.rp-theme-color-row{display:grid!important;grid-template-columns:44px minmax(0,1fr) minmax(142px,172px)!important;gap:11px!important;align-items:center!important;min-width:0!important;min-height:72px!important;margin:0!important;padding:10px 11px!important;border:1px solid var(--rp-line)!important;border-radius:14px!important;background:var(--rp-surface)!important;color:var(--rp-text)!important;cursor:default!important;}
.rp-theme-color-row:hover{border-color:color-mix(in srgb,var(--rp-primary) 28%,var(--rp-line) 72%)!important;background:color-mix(in srgb,var(--rp-primary) 2.5%,var(--rp-surface) 97.5%)!important;}
.rp-theme-color-row__swatch{display:block;width:38px;height:38px;border-radius:12px;background:var(--rp-theme-swatch,#fff);box-shadow:inset 0 0 0 1px rgba(16,34,25,.12),0 5px 12px rgba(16,44,25,.07);}
.rp-theme-color-row__copy{display:grid;gap:3px;min-width:0;}
.rp-theme-color-row__copy strong{color:var(--rp-text);font-size:11px;line-height:1.25;font-weight:950;}
.rp-theme-color-row__copy small{color:var(--rp-muted);font-size:9.5px;line-height:1.35;font-weight:650;}
.rp-theme-color-row__control{display:grid;grid-template-columns:38px minmax(0,1fr);gap:7px;align-items:center;}
.rp-theme-color-row__control input[type="color"]{width:38px!important;height:38px!important;min-height:38px!important;padding:2px!important;border:1px solid var(--rp-line)!important;border-radius:10px!important;background:var(--rp-surface)!important;cursor:pointer!important;}
.rp-theme-color-row__control input[type="color"]::-webkit-color-swatch-wrapper{padding:0;}
.rp-theme-color-row__control input[type="color"]::-webkit-color-swatch{border:0;border-radius:7px;}
.rp-theme-color-row__control input[type="text"]{width:100%!important;min-width:0!important;min-height:38px!important;padding:7px 8px!important;border:1px solid var(--rp-line)!important;border-radius:10px!important;background:var(--rp-surface)!important;color:var(--rp-text)!important;font:750 10.5px/1.2 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace!important;text-transform:uppercase;box-shadow:none!important;}
.rp-theme-color-row__control input[type="text"]:focus{border-color:var(--rp-primary)!important;box-shadow:0 0 0 3px var(--rp-primary-soft)!important;outline:0!important;}
.rp-theme-color-row__control input[type="text"].is-invalid{border-color:var(--rp-status-draft)!important;background:color-mix(in srgb,var(--rp-status-draft) 6%,#fff 94%)!important;}
.rp-theme-studio-footer{padding-top:2px;}
.rp-theme-preview{--rp-theme-primary:var(--rp-primary);--rp-theme-primary-dark:var(--rp-primary-dark);--rp-theme-button:var(--rp-button-primary);--rp-theme-sidebar:#111d17;--rp-theme-sidebar-text:#f0f2f3;--rp-theme-sidebar-muted:#9da8af;--rp-theme-page:#f3f6f3;--rp-theme-surface:#fff;--rp-theme-subtle:#f8faf8;--rp-theme-border:#dde6df;--rp-theme-text:#102219;--rp-theme-muted:#526258;--rp-theme-new-case:#3f86d6;--rp-theme-new-visit:#79b9e8;--rp-theme-recheck:#9aa8a0;--rp-theme-fixed:#e87e18;--rp-theme-published:var(--rp-success);--rp-theme-draft:#d95454;--rp-theme-warning:#d7a617;}
.rp-theme-preview-shell{display:grid;grid-template-columns:132px minmax(0,1fr);min-height:330px;overflow:hidden;border:1px solid var(--rp-theme-border);border-radius:18px;background:var(--rp-theme-page);box-shadow:0 12px 28px rgba(13,35,22,.08);}
.rp-theme-preview-sidebar{display:grid;align-content:start;gap:4px;padding:12px 8px;background:linear-gradient(180deg,color-mix(in srgb,var(--rp-theme-sidebar) 94%,#fff 6%),var(--rp-theme-sidebar));color:var(--rp-theme-sidebar-text);}
.rp-theme-preview-brand{display:flex;align-items:center;gap:8px;margin-bottom:8px;padding:6px 5px 11px;border-bottom:1px solid rgba(255,255,255,.08);}
.rp-theme-preview-brand>span{width:28px;height:28px;display:grid;place-items:center;border-radius:9px;background:color-mix(in srgb,var(--rp-theme-primary) 18%,transparent);color:var(--rp-theme-primary);font-size:12px;font-weight:950;}
.rp-theme-preview-brand strong,.rp-theme-preview-brand small{display:block;}
.rp-theme-preview-brand strong{font-size:9px;color:var(--rp-theme-sidebar-text);}
.rp-theme-preview-brand small{margin-top:2px;font-size:7px;color:var(--rp-theme-sidebar-muted);}
.rp-theme-preview-nav{display:grid;grid-template-columns:20px minmax(0,1fr) auto;gap:6px;align-items:center;min-height:34px;padding:7px 7px;border-left:3px solid transparent;border-radius:7px;color:var(--rp-theme-sidebar-text);font-size:8.5px;}
.rp-theme-preview-nav.is-active{border-left-color:var(--rp-theme-primary);background:color-mix(in srgb,var(--rp-theme-primary) 22%,transparent);}
.rp-theme-preview-nav em{min-width:18px;height:18px;display:grid;place-items:center;padding:0 4px;border-radius:999px;background:var(--rp-theme-primary);color:#fff;font-size:7px;font-style:normal;font-weight:950;}
.rp-theme-preview-content{display:grid;align-content:start;gap:10px;padding:14px;background:var(--rp-theme-page);}
.rp-theme-preview-card{padding:13px;border:1px solid var(--rp-theme-border);border-radius:14px;background:var(--rp-theme-surface);color:var(--rp-theme-text);box-shadow:0 8px 18px rgba(16,44,25,.05);}
.rp-theme-preview-eyebrow{display:block;color:var(--rp-theme-primary-dark);font-size:7.5px;font-weight:950;letter-spacing:.08em;text-transform:uppercase;}
.rp-theme-preview-card h3{margin:4px 0;color:var(--rp-theme-text);font-size:12px;line-height:1.25;}
.rp-theme-preview-card p{margin:0;color:var(--rp-theme-muted);font-size:8.5px;line-height:1.45;}
.rp-theme-preview-actions{display:flex;gap:6px;margin-top:12px;}
.rp-theme-preview-actions button{min-height:30px;padding:6px 10px;border:1px solid var(--rp-theme-border);border-radius:9px;background:var(--rp-theme-surface);color:var(--rp-theme-text);font-size:8.5px;font-weight:900;}
.rp-theme-preview-actions button.is-primary{border-color:var(--rp-theme-button);background:var(--rp-theme-button);color:#fff;}
.rp-theme-preview-statuses{display:flex;flex-wrap:wrap;gap:6px;padding:10px;border:1px solid var(--rp-theme-border);border-radius:13px;background:var(--rp-theme-subtle);}
.rp-theme-preview-statuses span{display:inline-flex;align-items:center;min-height:22px;padding:4px 7px;border:1px solid transparent;border-radius:999px;font-size:7.5px;font-weight:950;}
.rp-theme-preview-statuses .is-new-case{background:var(--rp-theme-new-case);border-color:var(--rp-theme-new-case);color:#fff;}
.rp-theme-preview-statuses .is-new-visit{background:color-mix(in srgb,var(--rp-theme-new-visit) 20%,#fff 80%);border-color:color-mix(in srgb,var(--rp-theme-new-visit) 45%,#fff 55%);color:color-mix(in srgb,var(--rp-theme-new-visit) 58%,#14384f 42%);}
.rp-theme-preview-statuses .is-recheck{background:color-mix(in srgb,var(--rp-theme-recheck) 17%,#fff 83%);border-color:color-mix(in srgb,var(--rp-theme-recheck) 38%,#fff 62%);color:#4b5a52;}
.rp-theme-preview-statuses .is-fixed{background:color-mix(in srgb,var(--rp-theme-fixed) 14%,#fff 86%);border-color:color-mix(in srgb,var(--rp-theme-fixed) 34%,#fff 66%);color:color-mix(in srgb,var(--rp-theme-fixed) 66%,#5c3500 34%);}
.rp-theme-preview-statuses .is-published{background:color-mix(in srgb,var(--rp-theme-published) 13%,#fff 87%);border-color:color-mix(in srgb,var(--rp-theme-published) 34%,#fff 66%);color:color-mix(in srgb,var(--rp-theme-published) 68%,#17331b 32%);}
.rp-theme-preview-statuses .is-draft{background:color-mix(in srgb,var(--rp-theme-draft) 11%,#fff 89%);border-color:color-mix(in srgb,var(--rp-theme-draft) 32%,#fff 68%);color:color-mix(in srgb,var(--rp-theme-draft) 70%,#511b1b 30%);}
.rp-theme-preview-statuses .is-warning{background:color-mix(in srgb,var(--rp-theme-warning) 14%,#fff 86%);border-color:color-mix(in srgb,var(--rp-theme-warning) 34%,#fff 66%);color:#695000;}
.rp-theme-contrast-card{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;padding:11px 12px;border:1px solid var(--rp-line);border-radius:14px;background:var(--rp-surface);}
.rp-theme-contrast-card strong,.rp-theme-contrast-card span{display:block;}
.rp-theme-contrast-card strong{color:var(--rp-text);font-size:10.5px;}
.rp-theme-contrast-card>div>span{margin-top:2px;color:var(--rp-muted);font-size:8.5px;}
.rp-theme-contrast-state{flex:0 0 auto;padding:5px 8px;border-radius:999px;font-size:8.5px;font-weight:950;}
.rp-theme-contrast-state.is-ok{background:var(--rp-primary-soft);color:var(--rp-primary-dark);border:1px solid #c8dfc2;}
.rp-theme-contrast-state.is-warning{background:var(--rp-danger-soft);color:#8a3131;border:1px solid #ebc6c6;}
@media(max-width:1500px){.rp-theme-color-row{grid-template-columns:40px minmax(0,1fr) minmax(128px,150px)!important;}}
@media(max-width:1180px){.rp-theme-preview{position:relative;top:auto;max-height:none;overflow:visible;}.rp-theme-color-grid{grid-template-columns:1fr 1fr;}}
@media(max-width:960px){.rp-page-cover__dock .rp-icon-ui-cover-kpis{grid-template-columns:1fr!important;}}
@media(max-width:760px){.rp-theme-color-grid,.rp-theme-intro-strip{grid-template-columns:1fr;}.rp-theme-color-row{grid-template-columns:40px minmax(0,1fr)!important;}.rp-theme-color-row__control{grid-column:1/-1;grid-template-columns:42px minmax(0,1fr);}.rp-theme-preview-shell{grid-template-columns:108px minmax(0,1fr);}}
@media(max-width:520px){.rp-theme-preview-shell{grid-template-columns:1fr;}.rp-theme-preview-sidebar{grid-template-columns:1fr 1fr;}.rp-theme-preview-brand{grid-column:1/-1;}.rp-theme-preview-content{padding:10px;}.rp-theme-contrast-card{align-items:flex-start;flex-direction:column;}}

/* === ACTIVE COMPONENT: CUSTOMER COMMUNICATION PREVIEW === */
.rp-theme-studio-layout{grid-template-columns:minmax(0,1fr) minmax(410px,460px)!important;}
.rp-theme-library{display:grid;gap:11px;margin-top:14px;padding:13px;border:1px solid var(--rp-line);border-radius:16px;background:linear-gradient(180deg,#fff,var(--rp-surface-subtle));}
.rp-theme-library__head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;}
.rp-theme-library__head>div{display:grid;gap:2px;min-width:0;}
.rp-theme-library__head h3{margin:1px 0 0;color:var(--rp-text);font-size:13px;line-height:1.25;font-weight:950;}
.rp-theme-library__head p{margin:2px 0 0;color:var(--rp-muted);font-size:9px;line-height:1.4;font-weight:650;}
.rp-theme-library__head>.button{flex:0 0 auto;min-height:34px!important;padding:6px 10px!important;border-radius:10px!important;font-size:9.5px!important;}
.rp-theme-library__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
[data-rp-custom-theme-cards]{display:contents;}
.rp-theme-library-card{position:relative;min-width:0;border:1px solid var(--rp-line);border-radius:13px;background:var(--rp-surface);box-shadow:0 5px 12px rgba(16,44,25,.035);overflow:hidden;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease;}
.rp-theme-library-card:hover{border-color:color-mix(in srgb,var(--rp-primary) 36%,var(--rp-line) 64%);transform:translateY(-1px);box-shadow:0 9px 20px rgba(16,44,25,.07);}
.rp-theme-library-card.is-active{border-color:color-mix(in srgb,var(--rp-primary) 68%,#fff 32%);box-shadow:0 0 0 2px var(--rp-primary-soft),0 10px 22px rgba(16,44,25,.08);}
.rp-theme-library-card__apply{display:grid;grid-template-columns:42px minmax(0,1fr);grid-template-rows:auto auto;gap:6px 8px;width:100%;min-height:92px;padding:10px 11px;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer;}
.rp-theme-library-card__palette{display:grid;grid-template-columns:repeat(3,1fr);align-self:start;width:42px;height:30px;overflow:hidden;border:1px solid rgba(16,34,25,.12);border-radius:9px;box-shadow:0 3px 8px rgba(16,44,25,.05);}
.rp-theme-library-card__palette i{display:block;background:var(--c,#fff);}
.rp-theme-library-card__copy{display:grid;gap:2px;min-width:0;}
.rp-theme-library-card__copy strong{color:var(--rp-text);font-size:10.25px;line-height:1.25;font-weight:950;overflow-wrap:anywhere;}
.rp-theme-library-card__copy small{color:var(--rp-muted);font-size:8.25px;line-height:1.35;font-weight:650;}
.rp-theme-library-card__state{grid-column:1/-1;justify-self:start;display:inline-flex;align-items:center;min-height:20px;padding:3px 7px;border:1px solid var(--rp-line);border-radius:999px;background:#f5f8f5;color:#53665a;font-size:7.75px;font-weight:950;}
.rp-theme-library-card.is-active .rp-theme-library-card__state{border-color:color-mix(in srgb,var(--rp-primary) 38%,#fff 62%);background:color-mix(in srgb,var(--rp-primary) 12%,#fff 88%);color:var(--rp-primary-dark);}
.rp-theme-library-card__delete{position:absolute;right:7px;top:7px;z-index:2;display:grid;place-items:center;width:24px;height:24px;padding:0;border:1px solid #eccaca;border-radius:8px;background:#fff8f8;color:#9b3c3c;font-size:16px;line-height:1;cursor:pointer;opacity:.78;}
.rp-theme-library-card__delete:hover{opacity:1;border-color:#dfaaaa;background:var(--rp-danger-soft);}
.rp-theme-library-card.is-custom .rp-theme-library-card__apply{padding-right:38px;}
.rp-theme-library__new{display:grid;gap:9px;padding:11px;border:1px solid color-mix(in srgb,var(--rp-primary) 25%,var(--rp-line) 75%);border-radius:13px;background:color-mix(in srgb,var(--rp-primary) 4%,#fff 96%);}
.rp-theme-library__new[hidden]{display:none!important;}
.rp-theme-library__new label{display:grid;gap:5px;margin:0;}
.rp-theme-library__new label span{color:var(--rp-text);font-size:9px;font-weight:900;}
.rp-theme-library__new input{width:100%;min-height:36px;padding:7px 9px;border:1px solid var(--rp-line);border-radius:10px;background:var(--rp-surface);color:var(--rp-text);box-shadow:none;}
.rp-theme-library__new input:focus{border-color:var(--rp-primary);box-shadow:0 0 0 3px var(--rp-primary-soft);outline:0;}
.rp-theme-library__new input.is-invalid{border-color:var(--rp-status-draft);background:var(--rp-danger-soft);}
.rp-theme-library__new>div{display:flex;justify-content:flex-end;gap:7px;}
.rp-theme-library__new .button{min-height:32px!important;padding:5px 9px!important;border-radius:9px!important;font-size:9px!important;}
.rp-theme-library__hint{margin:0;color:var(--rp-muted);font-size:8.25px;line-height:1.4;}
@media(max-width:1500px){.rp-theme-studio-layout{grid-template-columns:minmax(0,1fr) minmax(380px,420px)!important;}.rp-theme-library__grid{grid-template-columns:1fr;}}
@media(max-width:1180px){.rp-theme-studio-layout{grid-template-columns:1fr!important;}.rp-theme-library__grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:620px){.rp-theme-library__grid{grid-template-columns:1fr;}.rp-theme-library__head{display:grid;}.rp-theme-library__head>.button{justify-self:start;}}

/* === ACTIVE COMPONENT: CUSTOMER THEME PREVIEW === */
.rp-theme-customer-preview{display:grid;gap:9px;padding:11px;border:1px solid var(--rp-theme-border);border-radius:16px;background:var(--rp-theme-subtle);}
.rp-theme-customer-preview__head{display:grid;gap:2px;}
.rp-theme-customer-preview__head>span{color:var(--rp-theme-primary-dark);font-size:7.5px;font-weight:950;letter-spacing:.08em;text-transform:uppercase;}
.rp-theme-customer-preview__head strong{color:var(--rp-theme-text);font-size:11px;}
.rp-theme-customer-preview__head small{color:var(--rp-theme-muted);font-size:8px;line-height:1.4;}
.rp-theme-customer-preview__mail{overflow:hidden;border:1px solid var(--rp-theme-border);border-radius:14px;background:var(--rp-theme-surface);box-shadow:0 8px 18px rgba(16,44,25,.04);}
.rp-theme-customer-preview__hero{display:grid;gap:2px;padding:11px 12px;background:linear-gradient(135deg,var(--rp-theme-primary-dark),var(--rp-theme-button));color:#fff;}
.rp-theme-customer-preview__hero span{font-size:12px;font-weight:950;}
.rp-theme-customer-preview__hero small{font-size:7.5px;color:rgba(255,255,255,.82);}
.rp-theme-customer-preview__body{display:grid;gap:8px;padding:10px;}
.rp-theme-customer-preview__pest{display:grid;grid-template-columns:34px minmax(0,1fr);gap:8px;align-items:center;padding:8px;border:1px solid var(--rp-theme-border);border-radius:11px;background:var(--rp-theme-subtle);}
.rp-theme-customer-preview__pest>b{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:color-mix(in srgb,var(--rp-theme-primary) 14%,#fff 86%);font-size:17px;}
.rp-theme-customer-preview__pest span{display:grid;gap:2px;}
.rp-theme-customer-preview__pest strong{color:var(--rp-theme-text);font-size:9px;}
.rp-theme-customer-preview__pest small{color:var(--rp-theme-muted);font-size:7.5px;}
.rp-theme-customer-preview__follow{display:flex;justify-content:space-between;gap:8px;align-items:center;padding:8px 9px;border:1px solid color-mix(in srgb,var(--rp-theme-warning) 34%,#fff 66%);border-radius:10px;background:color-mix(in srgb,var(--rp-theme-warning) 12%,#fff 88%);}
.rp-theme-customer-preview__follow b{color:color-mix(in srgb,var(--rp-theme-warning) 70%,#4b3600 30%);font-size:8px;}
.rp-theme-customer-preview__follow span{color:var(--rp-theme-text);font-size:7.5px;font-weight:800;}

/* === GLOBAL ACTIVE UI + THEME CONTRACT === */
/* This is the final semantic theme bridge for active UI surfaces. It uses the
   shared variables injected on the page/modal root and introduces no new theme
   engine. */
.dsrv.rp-ui,body>.dsrv-modal.rp-ui-modal,.rp-emp-app.rp-emp-ui{
  color:var(--rp-text);
}
.dsrv.rp-ui .dsrv-panel,body>.dsrv-modal.rp-ui-modal .rp-ui-modal__body{
  color:var(--rp-text);
}
.dsrv.rp-ui input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),.dsrv.rp-ui select,.dsrv.rp-ui textarea,body>.dsrv-modal.rp-ui-modal input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),body>.dsrv-modal.rp-ui-modal select,body>.dsrv-modal.rp-ui-modal textarea{
  border-color:var(--rp-line)!important;
  background:var(--rp-surface)!important;
  color:var(--rp-text)!important;
  box-shadow:none!important;
}
.dsrv.rp-ui input:not([type="checkbox"]):not([type="radio"]):not([type="color"]):focus,.dsrv.rp-ui select:focus,.dsrv.rp-ui textarea:focus,body>.dsrv-modal.rp-ui-modal input:not([type="checkbox"]):not([type="radio"]):not([type="color"]):focus,body>.dsrv-modal.rp-ui-modal select:focus,body>.dsrv-modal.rp-ui-modal textarea:focus{
  border-color:color-mix(in srgb,var(--rp-primary) 64%,var(--rp-line) 36%)!important;
  box-shadow:0 0 0 3px var(--rp-primary-focus)!important;
  outline:0!important;
}
.dsrv.rp-ui .button:not(.button-primary):not(.is-danger):not(.dsrv-delete),body>.dsrv-modal.rp-ui-modal .button:not(.button-primary):not(.is-danger):not(.dsrv-delete){
  border-color:var(--rp-line)!important;
  background:linear-gradient(180deg,var(--rp-surface),var(--rp-surface-subtle))!important;
  color:var(--rp-text)!important;
  box-shadow:0 4px 10px color-mix(in srgb,var(--rp-primary-dark) 4%,transparent)!important;
}
.dsrv.rp-ui .button:not(.button-primary):not(.is-danger):not(.dsrv-delete):hover,body>.dsrv-modal.rp-ui-modal .button:not(.button-primary):not(.is-danger):not(.dsrv-delete):hover{
  border-color:color-mix(in srgb,var(--rp-primary) 38%,var(--rp-line) 62%)!important;
  background:color-mix(in srgb,var(--rp-primary) 5%,var(--rp-surface) 95%)!important;
  color:var(--rp-primary-dark)!important;
  box-shadow:0 7px 16px color-mix(in srgb,var(--rp-primary-dark) 7%,transparent)!important;
}

/* Modal shell: same theme, same card/material language across every popup. */
body>.dsrv-modal.rp-ui-modal .rp-ui-modal__card{
  background:var(--rp-surface)!important;
  box-shadow:var(--rp-shadow-lg)!important;
}
body>.dsrv-modal.rp-ui-modal .rp-ui-modal__head{
  border-bottom-color:var(--rp-line)!important;
  background:linear-gradient(180deg,var(--rp-surface),color-mix(in srgb,var(--rp-primary) 4%,var(--rp-surface) 96%))!important;
}
body>.dsrv-modal.rp-ui-modal .rp-ui-modal__foot{
  border-top-color:var(--rp-line)!important;
  background:linear-gradient(180deg,var(--rp-surface-subtle),var(--rp-surface))!important;
}
body>.dsrv-modal.rp-ui-modal .rp-modal-section-nav,body>.dsrv-modal.rp-ui-modal .rp-modal-contextbar,body>.dsrv-modal.rp-ui-modal .dsrv-form-section,body>.dsrv-modal.rp-ui-modal .dsrv-setup-modal__section{
  border-color:var(--rp-line)!important;
}
body>.dsrv-modal.rp-ui-modal .rp-modal-section-nav__item{
  color:var(--rp-muted)!important;
}
body>.dsrv-modal.rp-ui-modal .rp-modal-section-nav__item.is-active{
  border-color:color-mix(in srgb,var(--rp-primary) 34%,var(--rp-line) 66%)!important;
  background:color-mix(in srgb,var(--rp-primary) 9%,var(--rp-surface) 91%)!important;
  color:var(--rp-primary-dark)!important;
}

/* Reports list: premium but restrained; no cartoon-like saturated card fills. */
.dsrv-panel[data-panel="rapporter"] .dsrv-reports-queue{
  display:flex!important;
  flex-direction:column!important;
  gap:12px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.dsrv-panel[data-panel="rapporter"] .dsrv-rowitem--report .dsrv-rowitem-meta--report{
  display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:7px!important;flex-wrap:wrap!important;margin:6px 0!important;padding:0!important;
}
.dsrv-panel[data-panel="rapporter"] .dsrv-rowitem--report .dsrv-rowitem-actions,.dsrv-panel[data-panel="rapporter"] .dsrv-rowitem--report .dsrv-rowitem-actions--compact{
  display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important;flex-wrap:wrap!important;
}
.dsrv-panel[data-panel="rapporter"] .dsrv-rowitem--report .dsrv-rowitem-actions .button,.dsrv-panel[data-panel="rapporter"] .dsrv-rowitem--report .dsrv-rowitem-actions--compact .button{
  min-height:34px!important;padding:0 12px!important;border-radius:10px!important;font-size:11px!important;font-weight:850!important;line-height:1.15!important;
}
.dsrv-panel[data-panel="rapporter"] .dsrv-rowitem--report{
  position:relative!important;
  overflow:hidden!important;
  padding:15px 16px!important;
  border:1px solid var(--rp-line)!important;
  border-radius:18px!important;
  background:linear-gradient(155deg,var(--rp-surface),color-mix(in srgb,var(--rp-primary) 2.2%,var(--rp-surface-subtle) 97.8%))!important;
  box-shadow:0 9px 22px color-mix(in srgb,var(--rp-primary-dark) 5%,transparent)!important;
  transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease!important;
}
.dsrv-panel[data-panel="rapporter"] .dsrv-rowitem--report::before{
  content:""!important;
  position:absolute!important;
  inset:0 auto 0 0!important;
  width:4px!important;
  background:linear-gradient(180deg,color-mix(in srgb,var(--rp-primary) 74%,#fff 26%),var(--rp-button-primary))!important;
}
.dsrv-panel[data-panel="rapporter"] .dsrv-rowitem--report:hover{
  transform:translateY(-1px)!important;
  border-color:color-mix(in srgb,var(--rp-primary) 26%,var(--rp-line) 74%)!important;
  box-shadow:0 14px 30px color-mix(in srgb,var(--rp-primary-dark) 8%,transparent)!important;
}
.dsrv-panel[data-panel="rapporter"] .dsrv-rowitem--report.is-no-charge::before{
  background:linear-gradient(180deg,color-mix(in srgb,var(--rp-warning) 78%,#fff 22%),var(--rp-warning))!important;
}
.dsrv-panel[data-panel="rapporter"] .dsrv-rowitem--report .dsrv-rowitem-title{
  color:var(--rp-text)!important;
  font-weight:950!important;
  letter-spacing:-.01em!important;
}
.dsrv-panel[data-panel="rapporter"] .dsrv-rowitem--report .dsrv-rowitem-sub,.dsrv-panel[data-panel="rapporter"] .dsrv-rowitem--report .dsrv-rowitem-meta-line{
  color:var(--rp-muted)!important;
}
.dsrv-panel[data-panel="rapporter"] .dsrv-report-no-charge-list-card{
  border-left:5px solid var(--rp-warning)!important;
}

/* Report modal: deep, clean materials inspired by the no-charge quality card. */
body>.dsrv-modal.rp-ui-modal.is-report-modal .rp-ui-modal__card{
  background:var(--rp-surface)!important;
}
body>.dsrv-modal.rp-ui-modal.is-report-modal .rp-ui-modal__head{
  background:linear-gradient(135deg,var(--rp-cover-start,var(--rp-primary-dark)) 0%,var(--rp-cover-mid,var(--rp-primary-dark)) 52%,var(--rp-cover-end,var(--rp-primary)) 100%)!important;
  color:#fff!important;
  border-bottom:0!important;
  box-shadow:inset 0 -1px 0 rgba(255,255,255,.10)!important;
}
body>.dsrv-modal.rp-ui-modal.is-report-modal .rp-ui-modal__head *,body>.dsrv-modal.rp-ui-modal.is-report-modal .rp-ui-modal__head .rp-ui-modal__title,body>.dsrv-modal.rp-ui-modal.is-report-modal .rp-ui-modal__head .rp-ui-modal__description{color:#fff!important;stroke:currentColor!important;}
body>.dsrv-modal.rp-ui-modal.is-report-modal .rp-ui-modal__head .rp-ui-modal__close{border-color:rgba(255,255,255,.18)!important;background:rgba(255,255,255,.12)!important;color:#fff!important;}
body>.dsrv-modal.rp-ui-modal.is-report-modal .rp-ui-modal__body{
  background:
    radial-gradient(circle at 88% 0,color-mix(in srgb,var(--rp-primary) 7%,transparent),transparent 31%),
    linear-gradient(180deg,var(--rp-surface-subtle),color-mix(in srgb,var(--rp-surface-subtle) 96%,var(--rp-primary) 4%))!important;
}
body>.dsrv-modal.rp-ui-modal.is-report-modal .rp-modal-section-nav{
  padding:8px!important;
  border:1px solid var(--rp-line)!important;
  border-radius:18px!important;
  background:linear-gradient(180deg,var(--rp-surface),var(--rp-surface-subtle))!important;
  box-shadow:0 8px 20px color-mix(in srgb,var(--rp-primary-dark) 5%,transparent)!important;
}
body>.dsrv-modal.rp-ui-modal.is-report-modal .rp-modal-section-nav__item{
  min-height:48px!important;
  border-radius:12px!important;
}
body>.dsrv-modal.rp-ui-modal.is-report-modal .rp-modal-section-nav__item.is-active{
  box-shadow:inset 0 1px 0 color-mix(in srgb,var(--rp-surface) 78%,#fff 22%),0 7px 16px color-mix(in srgb,var(--rp-primary-dark) 6%,transparent)!important;
}
body>.dsrv-modal.rp-ui-modal.is-report-modal .rp-modal-contextbar{
  border:1px solid var(--rp-line)!important;
  background:linear-gradient(145deg,var(--rp-surface),color-mix(in srgb,var(--rp-primary) 5%,var(--rp-surface-subtle) 95%))!important;
  box-shadow:0 10px 26px color-mix(in srgb,var(--rp-primary-dark) 6%,transparent)!important;
}
body>.dsrv-modal.rp-ui-modal.is-report-modal .dsrv-report-flow-top,body>.dsrv-modal.rp-ui-modal.is-report-modal .dsrv-report-section{
  border:1px solid var(--rp-line)!important;
  border-radius:20px!important;
  background:linear-gradient(155deg,var(--rp-surface),color-mix(in srgb,var(--rp-primary) 2%,var(--rp-surface-subtle) 98%))!important;
  box-shadow:0 12px 28px color-mix(in srgb,var(--rp-primary-dark) 5%,transparent)!important;
}
body>.dsrv-modal.rp-ui-modal.is-report-modal .dsrv-report-flow-step,body>.dsrv-modal.rp-ui-modal.is-report-modal .dsrv-report-flow-metric,body>.dsrv-modal.rp-ui-modal.is-report-modal .dsrv-report-visit-field,body>.dsrv-modal.rp-ui-modal.is-report-modal .dsrv-report-image-slot,body>.dsrv-modal.rp-ui-modal.is-report-modal .dsrv-outcome-card{
  border-color:var(--rp-line)!important;
  background:var(--rp-surface)!important;
  box-shadow:inset 0 1px 0 color-mix(in srgb,var(--rp-surface) 82%,#fff 18%)!important;
}
body>.dsrv-modal.rp-ui-modal.is-report-modal .dsrv-outcome-card:hover{
  border-color:color-mix(in srgb,var(--rp-primary) 32%,var(--rp-line) 68%)!important;
  background:color-mix(in srgb,var(--rp-primary) 3%,var(--rp-surface) 97%)!important;
}
body>.dsrv-modal.rp-ui-modal.is-report-modal .dsrv-outcome-card:has(input:checked),body>.dsrv-modal.rp-ui-modal.is-report-modal .dsrv-outcome-card.is-selected{
  border-color:color-mix(in srgb,var(--rp-primary) 54%,var(--rp-line) 46%)!important;
  background:linear-gradient(145deg,color-mix(in srgb,var(--rp-primary) 8%,var(--rp-surface) 92%),var(--rp-surface))!important;
  box-shadow:0 0 0 3px var(--rp-primary-soft)!important;
}
body>.dsrv-modal.rp-ui-modal.is-report-modal .dsrv-report-no-charge-live{
  border:1px solid var(--rp-warning-line)!important;
  border-left:5px solid var(--rp-warning)!important;
  background:linear-gradient(145deg,color-mix(in srgb,var(--rp-warning) 10%,var(--rp-surface) 90%),var(--rp-surface))!important;
  box-shadow:0 14px 32px color-mix(in srgb,var(--rp-warning) 11%,transparent)!important;
}
body>.dsrv-modal.rp-ui-modal.is-report-modal .dsrv-form-actions{
  gap:9px!important;
  padding:14px 0 2px!important;
  border-top:1px solid var(--rp-line)!important;
}
body>.dsrv-modal.rp-ui-modal.is-report-modal .dsrv-form-actions .button{
  min-height:42px!important;
  max-width:100%!important;
  padding:8px 15px!important;
  border-radius:12px!important;
  white-space:normal!important;
  text-align:center!important;
  line-height:1.25!important;
}
body>.dsrv-modal.rp-ui-modal.is-report-modal .dsrv-submit-report,body>.dsrv-modal.rp-ui-modal.is-report-modal .dsrv-approve-send-plain{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
}
body>.dsrv-modal.rp-ui-modal.is-report-modal .dsrv-submit-report>span,body>.dsrv-modal.rp-ui-modal.is-report-modal .dsrv-approve-send-plain>span{
  position:static!important;
  display:block!important;
  min-width:0!important;
  max-width:100%!important;
  margin:0!important;
  transform:none!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  text-align:center!important;
}
body>.dsrv-modal.rp-ui-modal.is-report-modal .dsrv-submit-report>.rp-icon,body>.dsrv-modal.rp-ui-modal.is-report-modal .dsrv-submit-report>.rp-ui-button__icon,body>.dsrv-modal.rp-ui-modal.is-report-modal .dsrv-approve-send-plain>.rp-icon,body>.dsrv-modal.rp-ui-modal.is-report-modal .dsrv-approve-send-plain>.rp-ui-button__icon{
  flex:0 0 16px!important;
  width:16px!important;
  height:16px!important;
  position:static!important;
  inset:auto!important;
  transform:none!important;
}

/* Employee app surfaces follow its employee-theme variables too. */
.rp-emp-app.rp-emp-ui .rp-emp-card,.rp-emp-app.rp-emp-ui .rp-emp-panel,.rp-emp-app.rp-emp-ui .rp-emp-section{
  border-color:var(--rp-line)!important;
  background:var(--rp-card)!important;
  color:var(--rp-text)!important;
  box-shadow:var(--rp-shadow-sm)!important;
}
.rp-emp-app.rp-emp-ui input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),.rp-emp-app.rp-emp-ui select,.rp-emp-app.rp-emp-ui textarea{
  border-color:var(--rp-line)!important;
  background-color:var(--rp-card)!important;
  color:var(--rp-text)!important;
}

/* Global contract continuation: modal icons, actions, customer cards and Theme Studio. */
body>.dsrv-modal.rp-ui-modal .rp-ui-modal__icon.is-theme,body>.dsrv-modal.rp-ui-modal .rp-ui-modal__icon{
  border-color:color-mix(in srgb,var(--rp-primary) 30%,var(--rp-line) 70%)!important;
  background:linear-gradient(145deg,color-mix(in srgb,var(--rp-primary) 12%,var(--rp-surface) 88%),var(--rp-surface))!important;
  color:var(--rp-primary-dark)!important;
  box-shadow:0 7px 16px color-mix(in srgb,var(--rp-primary-dark) 7%,transparent)!important;
}
body>.dsrv-modal.rp-ui-modal .rp-ui-modal__icon.is-theme svg,body>.dsrv-modal.rp-ui-modal .rp-ui-modal__icon svg{stroke:currentColor!important;color:currentColor!important;}

.dsrv.rp-ui .rp-ui-icon-tile.is-green,body>.dsrv-modal.rp-ui-modal .rp-ui-icon-tile.is-green{
  --rp-tile-ink:var(--rp-primary-dark)!important;
  --rp-tile-bg:var(--rp-primary-soft)!important;
}

.dsrv.rp-ui .button,.dsrv.rp-ui .rp-ui-button,body>.dsrv-modal.rp-ui-modal .button,body>.dsrv-modal.rp-ui-modal .rp-ui-button{
  box-sizing:border-box!important;
}
body>.dsrv-modal.rp-ui-modal .dsrv-form-actions,body>.dsrv-modal.rp-ui-modal [data-rp-modal-footer],body>.dsrv-modal.rp-ui-modal .rp-inline-modal-actions{
  display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:9px!important;flex-wrap:wrap!important;min-width:0!important;
}
body>.dsrv-modal.rp-ui-modal .dsrv-form-actions .button,body>.dsrv-modal.rp-ui-modal [data-rp-modal-footer] .button,body>.dsrv-modal.rp-ui-modal .rp-inline-modal-actions .button{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-width:0!important;max-width:100%!important;min-height:40px!important;padding:8px 13px!important;overflow:hidden!important;white-space:normal!important;text-align:center!important;line-height:1.2!important;
}
body>.dsrv-modal.rp-ui-modal .dsrv-form-actions .button>span:not(.rp-icon):not(.rp-ui-button__icon),body>.dsrv-modal.rp-ui-modal [data-rp-modal-footer] .button>span:not(.rp-icon):not(.rp-ui-button__icon),body>.dsrv-modal.rp-ui-modal .rp-inline-modal-actions .button>span:not(.rp-icon):not(.rp-ui-button__icon){
  position:static!important;display:block!important;min-width:0!important;max-width:100%!important;margin:0!important;transform:none!important;overflow-wrap:anywhere!important;white-space:normal!important;
}

.dsrv-panel[data-panel="kunder"] .rp-customer-card{border-left-color:var(--rp-button-primary)!important;box-shadow:0 16px 36px color-mix(in srgb,var(--rp-primary-dark) 7.5%,transparent)!important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-card__top{background:linear-gradient(105deg,color-mix(in srgb,var(--rp-primary) 6%,var(--rp-surface) 94%) 0%,var(--rp-surface-subtle) 58%,var(--rp-surface) 100%)!important;border-bottom-color:var(--rp-line)!important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-card__eyebrow,.dsrv-panel[data-panel="kunder"] [data-customer-search-status],.dsrv-panel[data-panel="kunder"] .rp-customer-cases-panel__toggle{color:var(--rp-primary-dark)!important;}
.dsrv-panel[data-panel="kunder"] .rp-customer-filters .dsrv-subtab.is-active{border-color:color-mix(in srgb,var(--rp-primary) 55%,var(--rp-line) 45%)!important;background:var(--rp-primary-soft)!important;color:var(--rp-primary-dark)!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--rp-primary) 8%,transparent)!important;}

.rp-icon-ui-cover-kpis .rp-cover-kpi.is-active,.rp-icon-ui-cover-kpis .rp-cover-kpi:focus-visible{border-color:color-mix(in srgb,var(--rp-primary) 48%,rgba(255,255,255,.18))!important;background:linear-gradient(145deg,color-mix(in srgb,var(--rp-primary-dark) 90%,#000 10%),color-mix(in srgb,var(--rp-primary-dark) 62%,var(--rp-primary) 38%))!important;}
