body{background:var(--cream2)}
.type-picker{display:grid;gap:16px;margin:32px 0}
.type-card{position:relative;display:grid;gap:12px;text-align:left;padding:25px 55px 25px 25px;border:1px solid var(--line);border-radius:12px;background:#efe6d9;color:var(--ink);cursor:pointer;font:inherit}
.type-card:hover{background:#e5d4bc;border-color:var(--gold)}
.type-card strong{font:26px Georgia,serif}
.type-card>span{color:var(--muted);font-size:14px;line-height:1.7}
.type-card .type-arrow{position:absolute;right:25px;top:35%;font-size:30px;color:#76552d}
.portal-wrap{width:min(1350px,92%);margin:45px auto 70px;min-height:50vh}
.portal-wrap h1{font-size:clamp(32px,4vw,48px);line-height:1.2}
.portal-wrap h2{font-size:27px;margin:28px 0 16px}
.portal-wrap h3{font-size:23px}
.portal-bar{background:#efe6d9;color:var(--ink);padding:18px 4%;display:flex;align-items:center;justify-content:space-between;gap:20px}
.portal-bar>div{display:flex;flex-direction:column;gap:5px;flex-shrink:0}
.portal-bar>div span{color:var(--muted);font-size:12px}
.portal-bar nav{gap:18px;flex-wrap:wrap}
.portal-bar a,.link-button{font-size:13px;color:var(--ink);text-decoration:none}
.portal-bar nav form{margin:0}
.link-button{background:none;border:0;padding:15px 0;cursor:pointer}
.portal-bar nav a:hover,.link-button:hover{color:#76552d}
.page-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:30px}
.page-title p{line-height:1.7;color:var(--muted);max-width:690px}
.narrow{max-width:720px;margin-left:auto;margin-right:auto}
.panel{border:1px solid var(--line);background:#fff;border-radius:12px;padding:25px;margin:22px 0}
.panel.narrow{margin:25px auto}
summary{cursor:pointer;font-weight:700;line-height:1.7}
.panel[open]>summary{margin-bottom:24px}
.user-panel summary span{margin-right:12px}
.portal-form{display:grid;gap:19px;margin:20px 0}
.portal-form .btn,.portal-form>.secondary{justify-self:start}
.portal-form fieldset{border:1px solid var(--line);border-radius:8px;padding:20px;display:grid;gap:17px;min-width:0}
.portal-form legend{padding:0 8px;color:var(--muted);font-weight:700}
.portal-form fieldset[hidden]{display:none}
.field span{font-size:13px;font-weight:700}
.secondary{display:inline-block;border:1px solid var(--line);border-radius:8px;padding:11px 15px;background:#fff;color:var(--ink);font:600 13px Arial,sans-serif;text-decoration:none;cursor:pointer;line-height:1.4}
.secondary:hover{background:var(--cream)}
.inline-form{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0;align-items:center}
.badge{display:inline-block;font-size:11px;background:var(--cream);border-radius:20px;padding:5px 10px;color:#76552d;width:max-content}
.muted{color:var(--muted);font-size:14px;line-height:1.7}
.toolbar{display:flex;gap:8px;flex-wrap:wrap}
.filter-form{display:flex;align-items:end;gap:15px;margin:25px 0}
.filter-form label{display:grid;gap:10px}
.filter-form select{min-width:240px}
.calendar-layout{display:grid;grid-template-columns:minmax(0,1fr) 315px;gap:30px;align-items:start}
.calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px}
.calendar-toolbar h2{margin:0;font-size:30px}
.calendar-toolbar .secondary{font-size:25px;padding:4px 16px}
.legend{display:flex;flex-wrap:wrap;gap:20px;margin:20px 0;font-size:12px;color:var(--muted)}
.legend-gold{color:#865b2b;font-weight:700}
.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:1px;border:1px solid var(--line);background:var(--line);border-radius:10px;overflow:hidden}
.weekday{padding:12px;text-align:center;background:var(--cream);font-weight:700;font-size:12px}
.calendar-day{min-height:115px;background:#fff;padding:10px 7px}
.day-number{font-size:13px;padding:3px}
.calendar-day.today .day-number{background:var(--ink);color:#fff;border-radius:50%;padding:5px}
.other-month{background:#faf8f5;color:#9d968e}
.calendar-event{display:grid;gap:4px;margin:9px 0 0;border-radius:6px;padding:8px 6px;background:#e9d5b6;color:#493320;text-decoration:none;font-size:11px}
.calendar-event:hover{outline:2px solid var(--gold)}
.calendar-event.completed{background:#eeeae4;color:#655e55}
.calendar-event.cancelled{background:#f7f4f0;color:#999;text-decoration:line-through}
.upcoming{background:var(--cream);padding:23px;border-radius:12px}
.upcoming h2{font-size:25px;margin:0 0 20px}
.upcoming-visit{display:flex;align-items:flex-start;gap:12px;color:var(--ink);text-decoration:none;border-bottom:1px solid #dfcdb5;padding:15px 0}
.upcoming-visit strong{font-size:13px;display:block;line-height:1.6}
.upcoming-visit div>span{display:block;font-size:12px;line-height:1.7;color:var(--muted)}
.visit-index{border-radius:50%;background:#fff;width:26px;height:26px;flex:0 0 26px;display:grid;place-items:center;color:#88602f;font-size:12px}
.pending-text{color:#88602f!important}
.week-scroll{overflow-x:auto;padding-bottom:15px}
.week-grid{display:grid;grid-template-columns:repeat(7,minmax(155px,1fr));gap:12px;min-width:1180px}
.week-day{background:#efe6d9;border-radius:10px;padding:12px;min-height:240px}
.week-day h2{font:700 15px Arial,sans-serif;margin:4px 0 18px}
.week-day h2 span{display:block;font-size:11px;color:var(--muted);margin-top:8px;font-weight:400}
.work-visit{display:grid;gap:10px;padding:16px 12px;margin:12px 0;background:#fff;border-radius:8px;text-decoration:none;font-size:12px;border-left:3px solid var(--gold);overflow-wrap:anywhere}
.work-visit:hover{box-shadow:0 3px 14px #0001}
.work-visit.completed{border-left-color:#857967;background:#f8f6f2}
.work-visit.cancelled{opacity:.6;border-left-color:#ccc}
.work-time{font-weight:700;color:#956a36}
.empty-day{font-size:12px;color:var(--muted)}
.pending-row{display:block;padding:12px 0;border-bottom:1px solid var(--line);font-size:14px;text-decoration:none;line-height:1.7}
.visit-panel{max-width:850px;margin:0 auto}
.back-link{display:block;color:#88602f;font-size:14px;margin-bottom:25px;text-decoration:none}
.visit-facts{display:grid;grid-template-columns:1fr 1fr;gap:22px;padding:24px;background:var(--cream);border-radius:10px;margin:28px 0}
.visit-facts>div{display:grid;gap:7px;overflow-wrap:anywhere}
.visit-facts span{color:var(--muted);font-size:12px}
.visit-facts strong{font-size:14px;line-height:1.7}
.preline{white-space:pre-line;line-height:1.8;overflow-wrap:anywhere}
.service-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 0;border-bottom:1px solid var(--line)}
.service-row strong{font-size:14px}
.extra-status{display:block;font-size:12px;color:var(--muted);margin-top:8px}
.extra-status.pending{color:#89602e}
.extra-status.done{color:#486747}
.extra-status.not_done,.extra-status.rejected{color:#974633}
.extras-selection,.completion{padding:22px;background:var(--cream);border-radius:10px;margin:28px 0}
.extras-selection h3,.completion h2{margin-top:0}
.extras-selection p{font-size:14px;line-height:1.7}
.check-row{display:flex;gap:12px;align-items:center;padding:12px;background:#fff;border-radius:6px;cursor:pointer;line-height:1.6}
.check-row input{width:20px;height:20px;flex:0 0 20px;padding:0;accent-color:var(--gold)}
.completed-note{padding:18px;background:#edf1e8;border-radius:8px;color:#476144}
.message{padding:18px 0;border-bottom:1px solid var(--line)}
.message>span{display:block;color:var(--muted);font-size:11px;margin:7px 0}
.password-reset{margin-top:22px}
dialog{width:min(900px,94%);max-height:90vh;border:0;border-radius:14px;background:var(--cream2);padding:35px;box-shadow:0 20px 80px #0005}
dialog::backdrop{background:#17151388}
.dialog-close{position:sticky;top:0;float:right;border:1px solid var(--line);border-radius:50%;width:38px;height:38px;font-size:26px;background:#fff;cursor:pointer;z-index:2}
.dialog-body{clear:both}
input:focus-visible,textarea:focus-visible,select:focus-visible,a:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid #89602e;outline-offset:3px}
@media(max-width:1050px){.portal-bar{align-items:start;flex-direction:column}.portal-bar nav{justify-content:flex-start}.calendar-layout{grid-template-columns:minmax(0,1fr)}.upcoming{display:grid;grid-template-columns:1fr 1fr;column-gap:25px}.upcoming h2,.upcoming>p{grid-column:1/-1}.page-title{display:block}.toolbar{margin-top:20px}}
@media(max-width:600px){.portal-wrap{width:92%;margin-top:30px}.calendar-grid{min-width:560px}.calendar-scroll{overflow:auto}.calendar-day{min-height:100px}.upcoming{display:block}.week-grid{display:block;min-width:0}.week-day{margin-bottom:18px;min-height:0}.week-day .empty-day{margin-bottom:20px}.visit-facts{grid-template-columns:1fr}.service-row{align-items:start;flex-direction:column}.panel{padding:20px}.calendar-toolbar h2{font-size:25px}dialog{padding:22px}.portal-bar nav{gap:13px}.filter-form{align-items:stretch;flex-direction:column}.form-grid{grid-template-columns:1fr}.portal-form fieldset{padding:15px}}

/* Markering af besøg med ekstra services */
.extra-star{display:inline-block;color:#76552d;font-size:15px;line-height:1;vertical-align:baseline;margin-left:3px}
.legend .extra-star{margin-left:0;margin-right:4px}

.invoice-filters{margin:24px 0;flex-wrap:wrap}.invoice-scroll{overflow-x:auto}.invoice-table{width:100%;border-collapse:collapse;text-align:left;font-size:14px}.invoice-table th{background:#eee5d6}.invoice-table th,.invoice-table td{padding:14px 12px;border-bottom:1px solid #e6dfd4;vertical-align:top}.invoice-table th,.invoice-table td:nth-child(n+3){white-space:nowrap}.invoice-overdue{background:#fff2ed}.invoice-overdue td:nth-child(7){color:#9a321b;font-weight:700}

.visit-facts .directions-link{display:inline-flex;align-self:flex-start;margin-top:10px;min-height:44px;align-items:center;}

/* Login og videopræsentation */
.login-main .login-layout{display:flex;flex-direction:column;align-items:center;width:92%;max-width:1180px;margin:64px auto;gap:48px}
.login-main .login-layout .login-shell{width:100%;max-width:460px;margin:0 auto;padding:0}
.login-main .portal-presentation{display:block;box-sizing:border-box;width:100%;max-width:620px;margin:0 auto;text-align:center}
.portal-presentation h2{font-size:36px;line-height:1.2;margin:12px 0 16px}
.portal-presentation>p{max-width:560px;margin-left:auto;margin-right:auto;line-height:1.7;color:#665e54}
.login-main .portal-video{display:block;width:100%;max-width:480px;aspect-ratio:1;margin:24px auto 0;border-radius:16px;background:#171513;box-shadow:0 14px 40px rgba(40,30,16,.12)}
.portal-presentation .presentation-note{font-size:13px;margin-top:12px;margin-bottom:8px}
.presentation-download{font-size:14px;color:#76552d;text-underline-offset:3px}
@media(max-width:800px){.login-main .login-layout{margin:36px auto;gap:44px}.portal-presentation h2{font-size:30px}}

.extra-price{margin-left:auto;white-space:nowrap;font-size:.95em}.extras-selection .check-row{gap:12px;flex-wrap:wrap}

.extra-choice-text{flex:1;min-width:120px}.extra-description{display:block;white-space:pre-line;color:var(--muted,#666);font-weight:400;margin-top:5px;line-height:1.5}.extra-edit-form{display:grid;gap:10px;flex:1 1 320px;max-width:560px}.extra-edit-form textarea{min-height:80px}

/* Kundens mobilportal */
@media(max-width:600px){
.mobile-portal{background:#f6f0e7}
.mobile-portal .site-header{padding:20px 0 12px;min-height:0;background:#fffaf4}
.mobile-portal .header-inner{display:flex;justify-content:center;min-height:0}
.mobile-portal .site-header .brand{min-height:0;justify-content:center}
.mobile-portal .brand-logo{width:220px;max-height:110px;object-position:center}
.mobile-portal .site-header nav{display:none}
.mobile-portal .portal-bar{display:block;padding:12px 5% 22px;background:#fffaf4;border-bottom:1px solid #e6d6c1}
.mobile-portal .portal-bar>div{margin-bottom:16px;text-align:center;font-size:14px}
.mobile-portal .portal-bar nav{display:grid;grid-template-columns:1fr;gap:0;border-top:1px solid #eadfce}
.mobile-portal .portal-bar nav>a{display:flex;align-items:center;gap:13px;min-height:54px;padding:10px 8px;border-bottom:1px solid #eadfce;font-size:15px;font-weight:600}
.mobile-portal .portal-bar nav>a::before{content:'◇';display:grid;place-items:center;flex:0 0 32px;height:32px;border-radius:10px;background:#c6a171;color:#fff;font-size:21px;font-weight:400}
.mobile-portal .portal-bar nav>a[href='portal.php']::before{content:'▦'}
.mobile-portal .portal-bar nav>a[href*='history']::before{content:'✓'}
.mobile-portal .portal-bar nav>a[href*='invoices']::before{content:'▤'}
.mobile-portal .portal-bar nav>a[href*='contact']::before{content:'✉'}
.mobile-portal .portal-bar nav>a[href*='password']{font-size:12px;min-height:44px;font-weight:400}
.mobile-portal .portal-bar nav>a[href*='password']::before{content:'⚿';height:25px;flex-basis:25px;font-size:17px;background:#e8dac6;color:#715638}
.mobile-portal .portal-bar nav form{justify-self:end}.mobile-portal .link-button{font-size:12px;padding:12px 8px;min-height:44px}
.mobile-portal .portal-wrap{width:92%;margin:24px auto 45px}.mobile-portal .portal-wrap h1{font-size:30px}.mobile-portal .page-title{margin-bottom:20px}.mobile-portal .page-title p{font-size:14px}
.mobile-portal .calendar-layout>section{background:#fffaf4;border:1px solid #e8dac6;border-radius:18px;padding:14px 8px;box-shadow:0 8px 25px #6d4b2310;min-width:0}
.mobile-portal .calendar-toolbar{gap:5px;padding:0 4px}.mobile-portal .calendar-toolbar h2{font-size:21px}.mobile-portal .calendar-toolbar .secondary{min-width:44px;min-height:44px;padding:4px 10px;background:transparent;border:0;color:#9c7546}
.mobile-portal .legend{font-size:10px;flex-wrap:wrap;gap:10px;padding:8px 4px}
.mobile-portal .calendar-scroll{overflow:visible}.mobile-portal .calendar-grid{min-width:0;width:100%;gap:1px;border-radius:12px}.mobile-portal .weekday{font-size:10px;padding:10px 0;text-align:center}
.mobile-portal .calendar-day{padding:5px 2px;min-height:80px;min-width:0}.mobile-portal .day-number{font-size:12px}.mobile-portal .calendar-event{font-size:9px;padding:8px 1px;margin-top:4px;min-height:44px;line-height:1.3;text-align:center;gap:3px}.mobile-portal .calendar-event span{font-size:8px;overflow-wrap:anywhere}.mobile-portal .calendar-event strong{font-size:9px;white-space:nowrap}.mobile-portal .extra-star{font-size:10px}
.mobile-portal .calendar-layout>section>p{font-size:12px;padding:0 6px;line-height:1.6}
.mobile-portal .upcoming{background:transparent;padding:0;border:0}.mobile-portal .upcoming h2{font-size:25px}.mobile-portal .upcoming-visit{background:#fff;border:1px solid #e8dac6;border-radius:14px;padding:18px 14px;box-shadow:0 5px 20px #6d4b2308}.mobile-portal .visit-index{background:#ead8bf;color:#715638;border-radius:10px}
.mobile-portal .panel,.mobile-portal .visit-panel{border-radius:16px;padding:20px;background:#fff}.mobile-portal .portal-form input,.mobile-portal .portal-form select,.mobile-portal .portal-form textarea{font-size:16px;min-width:0}.mobile-portal .portal-form .btn,.mobile-portal .portal-form>.secondary{width:100%;min-height:48px;justify-self:stretch}.mobile-portal .visit-facts{gap:16px}.mobile-portal .visit-facts strong{overflow-wrap:anywhere}.mobile-portal .notice{overflow-wrap:anywhere;line-height:1.6}
.mobile-portal dialog{width:96%;max-height:92dvh;padding:16px;border-radius:20px}.mobile-portal .dialog-close{width:44px;height:44px}.mobile-portal .invoice-scroll{border-radius:12px}.mobile-portal .invoice-table{font-size:12px}.mobile-portal .invoice-table th,.mobile-portal .invoice-table td{padding:12px 8px}.mobile-portal footer{line-height:1.8}
.mobile-portal a:focus-visible,.mobile-portal button:focus-visible{outline:3px solid #9c7546;outline-offset:3px}
}

@media(max-width:600px){
.mobile-portal .portal-bar nav>a[href*='users']::before{content:'♙'}
.mobile-portal .portal-bar nav>a[href*='plan']::before{content:'▦'}
.mobile-portal .portal-bar nav>a[href*='extras']::before{content:'✦'}
.mobile-portal .portal-bar nav>a[href*='billy']::before{content:'⇄'}
.mobile-portal .portal-bar nav>a[href*='invoice_overview']::before{content:'▤'}
.mobile-portal .portal-bar nav>a[href*='billing']::before{content:'✓'}
.mobile-portal .portal-bar nav>a[href='portal-type.php']::before{content:'⇄'}
.mobile-portal .week-scroll{overflow:visible;padding-bottom:0}.mobile-portal .week-grid{min-width:0;display:grid;grid-template-columns:1fr;gap:18px}
.mobile-portal .week-day{padding:18px 14px;border:1px solid #e2cfb5;border-radius:18px;background:#eee1cf;min-height:0;margin:0;box-shadow:0 6px 20px #6d4b2308}
.mobile-portal .week-day h2{font-size:18px;margin:0 0 14px}.mobile-portal .week-day h2 span{font-size:12px}
.mobile-portal .work-visit{padding:18px 15px;border-radius:13px;border-left-width:4px;font-size:14px;line-height:1.5;gap:9px}.mobile-portal .work-visit strong{font-size:17px}.mobile-portal .work-time{font-weight:700;color:#715638}
.mobile-portal .toolbar{display:flex;flex-wrap:wrap;gap:8px}.mobile-portal .toolbar a,.mobile-portal .filter-form button{min-height:44px}.mobile-portal .filter-form input,.mobile-portal .filter-form select{font-size:16px;min-width:0;width:100%}
.mobile-portal .service-row{border:1px solid #e8dac6;border-radius:14px;background:#fff;padding:18px;gap:14px}.mobile-portal .extra-edit-form{width:100%;min-width:0}.mobile-portal .extra-edit-form input,.mobile-portal .extra-edit-form textarea,.mobile-portal .extra-edit-form select{font-size:16px;width:100%}
.mobile-portal .inline-form{flex-wrap:wrap;gap:8px}.mobile-portal .inline-form button{min-height:44px}.mobile-portal .completion{border-radius:14px;padding:18px}.mobile-portal .check-row{min-height:48px;align-items:center}.mobile-portal .check-row input{flex-shrink:0}
.mobile-portal .panel summary{overflow-wrap:anywhere}.mobile-portal .portal-wrap{min-width:0}.mobile-portal .portal-wrap h1{overflow-wrap:anywhere}.mobile-portal .user-panel{min-width:0}
}

@media(max-width:600px){.mobile-portal .portal-bar nav>a[href*='today']::before{content:'✓'}.mobile-portal .portal-bar nav>a[href*='calendar']::before{content:'▦'}}

/* Personlig mobilvelkomst og menukort */
.portal-welcome{display:none}
@media(max-width:600px){
.mobile-portal .site-header{background:#fff;padding:12px 0}.mobile-portal .brand-logo{width:190px;max-height:95px}
.mobile-portal .portal-welcome{display:flex;align-items:center;min-height:175px;padding:24px 7%;background:linear-gradient(90deg,rgba(66,45,26,.67),rgba(66,45,26,.08)),url('hero-rentprincip.jpg') center 55%/cover;color:#fff}
.mobile-portal .portal-welcome>div{display:grid;gap:7px;max-width:85%;text-shadow:0 2px 10px #0004}.mobile-portal .portal-welcome span{font-size:16px;line-height:1.5}.mobile-portal .portal-welcome strong{font:26px/1.2 Georgia,serif;overflow-wrap:anywhere}.mobile-portal .portal-welcome small{font-size:12px;letter-spacing:.08em}
.mobile-portal .portal-bar{background:#f6f0e7;border:0;padding:16px 4% 8px}.mobile-portal .portal-bar>div{display:none}.mobile-portal .portal-bar nav{border:0;gap:9px}
.mobile-portal .portal-bar nav>a{position:relative;display:block;min-height:74px;padding:15px 36px 30px 61px;background:#fffdf9;border:1px solid #e8ded0;border-radius:12px;box-shadow:0 3px 12px #71563807;font-size:15px;line-height:1.5}
.mobile-portal .portal-bar nav>a::before{position:absolute;left:16px;top:18px;display:grid;place-items:center;width:30px;height:30px;background:transparent;border-radius:0;color:#785431;font-size:27px;content:'◇'}
.mobile-portal .portal-bar nav>a::after{content:'Åbn oversigt  ›';position:absolute;left:61px;bottom:12px;right:13px;font-size:11px;line-height:1.4;font-weight:400;color:#786f64}
.mobile-portal .portal-bar nav>a[href='portal.php']::after{content:'Se din kalender  ›'}
.mobile-portal.portal-role-customer .portal-bar nav>a[href='portal.php']::after{content:'Se dine næste 8 rengøringer  ›'}
.mobile-portal .portal-bar nav>a[href*='history']::after{content:'Se dine aftaler og udførte rengøringer  ›'}
.mobile-portal .portal-bar nav>a[href*='invoices']::after{content:'Se og hent dine fakturaer  ›'}
.mobile-portal .portal-bar nav>a[href*='contact']::after{content:'Direkte kommunikation med os  ›'}
.mobile-portal .portal-bar nav>a[href*='today']::after{content:'Dine opgaver i dag  ›'}
.mobile-portal .portal-bar nav>a[href*='calendar']::after{content:'Se arbejdsplanen uge for uge  ›'}
.mobile-portal .portal-bar nav>a[href*='plan']::after{content:'Opret og planlæg rengøringer  ›'}
.mobile-portal .portal-bar nav>a[href*='users']::after{content:'Administrér brugere og kunder  ›'}
.mobile-portal .portal-bar nav>a[href*='extras']::after{content:'Administrér ekstra services  ›'}
.mobile-portal .portal-bar nav>a[href*='billy']::after{content:'Kontrollér kundetilknytninger  ›'}
.mobile-portal .portal-bar nav>a[href*='invoice_overview']::after{content:'Se alle fakturaer og betalingsstatus  ›'}
.mobile-portal .portal-bar nav>a[href*='billing']::after{content:'Opgaver, fakturaer og betalingsstatus  ›'}
.mobile-portal .portal-bar nav>a[href='portal-type.php']::after{content:'Vælg en af dine brugertyper  ›'}
.mobile-portal .portal-bar nav>a[href*='password']{min-height:55px;padding-bottom:15px;padding-top:15px;font-size:13px}.mobile-portal .portal-bar nav>a[href*='password']::before{background:transparent;top:13px;font-size:23px;width:30px;height:30px}.mobile-portal .portal-bar nav>a[href*='password']::after{content:none}
.mobile-portal .portal-wrap{margin-top:20px}
}

/* Toppen matcher logoets lyse champagnebaggrund */
.mobile-portal .site-header{background:#faf5ef}

@media(max-width:600px){.mobile-portal .portal-bar nav>a[href*='customer_extras']::before{content:'✦'}.mobile-portal .portal-bar nav>a[href*='customer_extras']::after{content:'Se og vælg ekstra hjælp til dit hjem  ›'}}

/* Stregikoner til kundens mobilmenu */
@media(max-width:600px){
.mobile-portal.portal-role-customer .portal-bar nav>a[href='portal.php']::before{content:"";background:transparent url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2030%22%20fill%3D%22none%22%20stroke%3D%22%23785431%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%224%22%20y%3D%225%22%20width%3D%2220%22%20height%3D%2220%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M9%202v6m10-6v6M4%2011h20M9%2015h1m4%200h1m4%200h1M9%2020h1m4%200h1m4%200h1%22%2F%3E%3C%2Fsvg%3E") center/30px 30px no-repeat;width:30px;height:30px}
.mobile-portal.portal-role-customer .portal-bar nav>a[href*='invoices']::before{content:"";background:transparent url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2030%22%20fill%3D%22none%22%20stroke%3D%22%23785431%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%202h10l6%206v18H7zM17%202v7h6M11%2013h8m-8%205h8m-8%204h6%22%2F%3E%3C%2Fsvg%3E") center/30px 30px no-repeat;width:30px;height:30px}
.mobile-portal.portal-role-customer .portal-bar nav>a[href*='history']::before{content:"";background:transparent url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2030%22%20fill%3D%22none%22%20stroke%3D%22%23785431%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%225%22%20y%3D%225%22%20width%3D%2219%22%20height%3D%2222%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M10%205V3h9v4h-9zM9%2014l3%203%207-7M9%2023h10%22%2F%3E%3C%2Fsvg%3E") center/30px 30px no-repeat;width:30px;height:30px}
.mobile-portal.portal-role-customer .portal-bar nav>a[href*='customer_extras']::before{content:"";background:transparent url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2030%22%20fill%3D%22none%22%20stroke%3D%22%23785431%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M2%203h4l3%2017h15l3-12H7M10%2023h14%22%2F%3E%3Ccircle%20cx%3D%2211%22%20cy%3D%2227%22%20r%3D%221.5%22%2F%3E%3Ccircle%20cx%3D%2223%22%20cy%3D%2227%22%20r%3D%221.5%22%2F%3E%3C%2Fsvg%3E") center/30px 30px no-repeat;width:30px;height:30px}
.mobile-portal.portal-role-customer .portal-bar nav>a[href*='contact']::before{content:"";background:transparent url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2030%22%20fill%3D%22none%22%20stroke%3D%22%23785431%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M26%2014c0%206-5%2011-12%2011-2%200-4-.5-6-1.5L2%2027l2-6c-2-2-3-4-3-7C1%208%206%203%2014%203s12%205%2012%2011z%22%2F%3E%3C%2Fsvg%3E") center/30px 30px no-repeat;width:30px;height:30px}
}

.notification-count{display:inline-block;min-width:22px;padding:3px 7px;border-radius:20px;background:#785431;color:#fff;font:700 12px/1.3 Arial,sans-serif;text-align:center}
@media(max-width:600px){.mobile-portal .portal-bar nav>a[href*='notifications']::before{content:'♧'}.mobile-portal .portal-bar nav>a[href*='notifications']::after{content:'Ekstra ydelser til godkendelse  ›'}}

.mobile-calendar-date{display:none}
@media(max-width:600px){
.mobile-portal.portal-role-customer .calendar-layout>section{background:#fffdf9;padding:16px 10px;border-radius:16px;box-shadow:0 5px 22px #7854310a}
.mobile-portal.portal-role-customer .calendar-toolbar{padding:0 0 8px;border-bottom:1px solid #ecdecb}.mobile-portal.portal-role-customer .calendar-toolbar h2{font:600 21px/1.3 Georgia,serif}.mobile-portal.portal-role-customer .calendar-toolbar .secondary{font-size:29px;color:#b08a58}
.mobile-portal.portal-role-customer .calendar-grid{border:0;background:#fffdf9;gap:4px;border-radius:0;overflow:visible}.mobile-portal.portal-role-customer .weekday{background:transparent;color:#786f64;font-weight:400;padding:9px 0;font-size:11px}
.mobile-portal.portal-role-customer .calendar-day{background:transparent;min-height:48px;padding:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:3px}.mobile-portal.portal-role-customer .calendar-day>.day-number{display:grid;place-items:center;width:100%;height:44px;font-size:13px;padding:0}.mobile-portal.portal-role-customer .calendar-day.has-visits>.day-number{display:none}
.mobile-portal.portal-role-customer .calendar-day.today>.day-number{background:transparent;color:#785431;outline:1px solid #b08a58;border-radius:12px}.mobile-portal.portal-role-customer .calendar-day.other-month{opacity:.4}
.mobile-portal.portal-role-customer .calendar-event{position:relative;display:grid;place-items:center;width:100%;min-height:44px;margin:0;padding:3px 0;background:#ead6b6;color:#493320;border-radius:12px;box-shadow:0 2px 6px #78543112;text-decoration:none}
.mobile-portal.portal-role-customer .calendar-event .mobile-calendar-date{display:block;font-size:14px;line-height:1.5;font-weight:600}.mobile-portal.portal-role-customer .calendar-event strong{font-size:0;line-height:0}.mobile-portal.portal-role-customer .calendar-event .extra-star{position:absolute;right:3px;top:2px;font-size:9px;line-height:1}.mobile-portal.portal-role-customer .calendar-event-status{display:none}
.mobile-portal.portal-role-customer .calendar-event.completed{background:#eee9e1;box-shadow:none}.mobile-portal.portal-role-customer .calendar-event.completed::after{content:'✓';position:absolute;right:3px;bottom:2px;font-size:9px}.mobile-portal.portal-role-customer .calendar-day.today .calendar-event{outline:1px solid #9c7546;outline-offset:1px}.mobile-portal.portal-role-customer .legend{margin:8px 0 12px;font-size:10px}
}

/* Sløret velkomstbaggrund med skarp tekst */
@media(max-width:600px){
.mobile-portal .portal-welcome{position:relative;isolation:isolate;overflow:hidden;background:#b49978;min-height:180px}
.mobile-portal .portal-welcome::before{content:'';position:absolute;inset:-12px;z-index:-2;background:url('hero-rentprincip.jpg') center 55%/cover;filter:blur(5px);transform:scale(1.04)}
.mobile-portal .portal-welcome::after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(64,43,25,.60),rgba(64,43,25,.25))}
.mobile-portal .portal-welcome>div{max-width:100%;gap:9px;text-shadow:0 2px 8px #0005}
.mobile-portal .portal-welcome span{font-size:18px;line-height:1.5;font-weight:400}
.mobile-portal .portal-welcome strong{font:28px/1.25 Georgia,serif}
}

/* Message centre */
.conversation-filters{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0;justify-content:flex-start}
.conversation-filters .selected{background:var(--ink);color:#fff}
.conversation-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 16px;border:1px solid var(--line);border-radius:12px;margin:12px 0;text-decoration:none;color:var(--ink);background:#fff}
.conversation-row:hover{background:var(--cream2)}.conversation-row.unread{border-left:4px solid var(--gold);background:var(--cream2)}
.conversation-row strong{display:block;font-size:17px;overflow-wrap:anywhere}.conversation-row span{display:block;font-size:13px;margin-top:7px}.conversation-row-status{flex-shrink:0;text-align:right}
.conversation-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:24px 0}.conversation-heading h2{margin:0 0 10px;overflow-wrap:anywhere}.conversation-heading p{overflow-wrap:anywhere}.conversation-status{padding:8px 12px;border-radius:20px;background:var(--cream);font-size:13px;white-space:nowrap}
.conversation-message{max-width:90%;border:1px solid var(--line);padding:20px 22px;border-radius:14px;margin:18px 0;background:var(--cream2);overflow-wrap:anywhere}.conversation-message.own{margin-left:auto;background:#fff;border-color:var(--gold)}
.conversation-meta{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:14px}.conversation-meta time{font-size:12px;color:var(--muted)}.conversation-message p{line-height:1.7;margin:14px 0 0}
.conversation-pages{display:flex;justify-content:space-between;flex-wrap:wrap;gap:16px;margin:24px 0;font-size:14px}
.conversation .portal-form{margin:24px 0}.conversation .portal-form textarea{min-height:160px}
@media(max-width:600px){.conversation-row{align-items:flex-start;padding:18px 12px;gap:10px}.conversation-row-status{max-width:85px}.conversation-message{max-width:100%;padding:18px 16px}.conversation-heading{flex-wrap:wrap}.conversation-filters .secondary{padding:10px 13px}}

/* Customer chat and live conversation stream */
.live-chat.panel{padding:0;overflow:hidden;max-width:980px;margin-left:auto;margin-right:auto}
.chat-header{display:flex;gap:16px;align-items:center;padding:24px 28px;border-bottom:1px solid var(--line);background:#fff}
.chat-header h2{font-size:26px;margin:0 0 4px}.chat-header p{margin:0;color:var(--muted);font-size:14px}.chat-avatar{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:var(--ink);color:#e4c99d;font:24px Georgia,serif;flex-shrink:0}
.chat-toolbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;padding:12px 24px;color:var(--muted);font-size:12px;background:var(--cream2)}
.chat-log{height:460px;overflow-y:auto;overscroll-behavior:contain;padding:20px 24px;background:#f5efe6;scrollbar-width:thin}
.chat-log .conversation-message{width:fit-content;max-width:82%;margin:0 auto 18px 0;border:1px solid #e6d9ca;border-radius:18px 18px 18px 4px;background:#fff;box-shadow:0 3px 10px #17151305}
.chat-log .conversation-message.own{margin-left:auto;margin-right:0;background:#eee0cb;border-color:#e3d0b3;border-radius:18px 18px 4px 18px}
.chat-log .conversation-meta{gap:8px 16px}.chat-log .conversation-meta strong{font-size:13px}.chat-log .conversation-meta time{font-size:11px}.chat-log .conversation-message p{font-size:15px;margin-top:9px}
.chat-empty{text-align:center;max-width:400px;margin:90px auto;color:var(--muted);line-height:1.8}
.live-chat .portal-form{padding:22px 26px 0;margin:0}.live-chat .portal-form textarea{min-height:94px;resize:vertical;background:#fff}.chat-compose-footer{display:flex;justify-content:space-between;gap:18px;align-items:center}.chat-compose-footer>span{font-size:12px;line-height:1.6;color:var(--muted);max-width:360px}.chat-compose-footer .btn{white-space:nowrap}.chat-privacy{font-size:12px;color:var(--muted);padding:14px 26px 22px;margin:0;line-height:1.7}
[data-live-chat] button:disabled{opacity:.6;cursor:wait}
@media(max-width:600px){.chat-header{padding:20px 18px}.chat-toolbar{padding:12px 16px}.chat-log{height:400px;padding:18px 12px}.chat-log .conversation-message{max-width:92%;padding:15px 16px}.live-chat .portal-form{padding:18px 16px 0}.chat-compose-footer{flex-direction:column;align-items:stretch;gap:12px}.chat-compose-footer .btn{width:100%}.chat-privacy{padding:14px 16px 20px}}

/* Owner's review of retention and manual cleanup */
.retention-message{padding:20px;margin:18px 0;border:1px solid var(--line);border-radius:12px;background:var(--cream2);overflow-wrap:anywhere}.retention-message p{line-height:1.75}.retention-hold{margin:14px 0;padding:16px;border:1px solid var(--line);border-radius:10px}.retention-hold summary{cursor:pointer;font-weight:700}.retention-list .conversation-row{overflow-wrap:anywhere}.portal-form button:disabled{opacity:.5;cursor:not-allowed}

.retention-panel p,.retention-panel li{line-height:1.75}.retention-panel li{margin-bottom:10px}

/* Stregikoner til Ejer og Planlægger, samme udtryk som kundemenuen. */
.mobile-portal.portal-role-owner .portal-bar nav>a[href="portal.php"]::before,.mobile-portal.portal-role-planner .portal-bar nav>a[href="portal.php"]::before{content:"";display:inline-block;vertical-align:middle;flex-shrink:0;width:30px;height:30px;margin-right:8px;background:transparent url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2030%22%20fill%3D%22none%22%20stroke%3D%22%23785431%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%224%22%20y%3D%225%22%20width%3D%2222%22%20height%3D%2222%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M9%202v6m12-6v6M4%2012h22M9%2017h3m6%200h3M9%2022h3%22%2F%3E%3C%2Fsvg%3E") center/30px 30px no-repeat}
.mobile-portal.portal-role-owner .portal-bar nav>a[href="portal.php?view=contact"]::before,.mobile-portal.portal-role-planner .portal-bar nav>a[href="portal.php?view=contact"]::before{content:"";display:inline-block;vertical-align:middle;flex-shrink:0;width:30px;height:30px;margin-right:8px;background:transparent url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2030%22%20fill%3D%22none%22%20stroke%3D%22%23785431%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M26%2014c0%206-5%2011-12%2011-2%200-4-.5-6-1.5L2%2027l2-6c-2-2-3-4-3-7C1%208%206%203%2014%203s12%205%2012%2011z%22%2F%3E%3C%2Fsvg%3E") center/30px 30px no-repeat}
.mobile-portal.portal-role-owner .portal-bar nav>a[href="portal.php?view=notifications"]::before,.mobile-portal.portal-role-planner .portal-bar nav>a[href="portal.php?view=notifications"]::before{content:"";display:inline-block;vertical-align:middle;flex-shrink:0;width:30px;height:30px;margin-right:8px;background:transparent url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2030%22%20fill%3D%22none%22%20stroke%3D%22%23785431%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2022h20l-3-4v-6a7%207%200%200%200-14%200v6zM12%2026a3%203%200%200%200%206%200M15%203V1%22%2F%3E%3C%2Fsvg%3E") center/30px 30px no-repeat}
.mobile-portal.portal-role-owner .portal-bar nav>a[href="portal.php?view=plan"]::before,.mobile-portal.portal-role-planner .portal-bar nav>a[href="portal.php?view=plan"]::before{content:"";display:inline-block;vertical-align:middle;flex-shrink:0;width:30px;height:30px;margin-right:8px;background:transparent url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2030%22%20fill%3D%22none%22%20stroke%3D%22%23785431%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%224%22%20y%3D%225%22%20width%3D%2222%22%20height%3D%2222%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M9%202v6m12-6v6M4%2012h22M15%2016v8m-4-4h8%22%2F%3E%3C%2Fsvg%3E") center/30px 30px no-repeat}
.mobile-portal.portal-role-owner .portal-bar nav>a[href="portal.php?view=users"]::before,.mobile-portal.portal-role-planner .portal-bar nav>a[href="portal.php?view=users"]::before{content:"";display:inline-block;vertical-align:middle;flex-shrink:0;width:30px;height:30px;margin-right:8px;background:transparent url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2030%22%20fill%3D%22none%22%20stroke%3D%22%23785431%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2211%22%20cy%3D%229%22%20r%3D%224%22%2F%3E%3Cpath%20d%3D%22M3%2026v-4a8%208%200%200%201%2016%200v4M21%205a4%204%200%200%201%200%208m2%204a7%207%200%200%201%204%206v3%22%2F%3E%3C%2Fsvg%3E") center/30px 30px no-repeat}
.mobile-portal.portal-role-owner .portal-bar nav>a[href="portal.php?view=extras"]::before,.mobile-portal.portal-role-planner .portal-bar nav>a[href="portal.php?view=extras"]::before{content:"";display:inline-block;vertical-align:middle;flex-shrink:0;width:30px;height:30px;margin-right:8px;background:transparent url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2030%22%20fill%3D%22none%22%20stroke%3D%22%23785431%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%209h22v5H4zM6%2014v13h18V14M15%209v18M15%209C5%209%207%201%2011%203c3%201%204%206%204%206s1-5%204-6c4-2%206%206-4%206z%22%2F%3E%3C%2Fsvg%3E") center/30px 30px no-repeat}
.mobile-portal.portal-role-owner .portal-bar nav>a[href="portal.php?view=billy"]::before,.mobile-portal.portal-role-planner .portal-bar nav>a[href="portal.php?view=billy"]::before{content:"";display:inline-block;vertical-align:middle;flex-shrink:0;width:30px;height:30px;margin-right:8px;background:transparent url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2030%22%20fill%3D%22none%22%20stroke%3D%22%23785431%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2010l4-4a6%206%200%200%201%208%208l-4%204M18%2020l-4%204a6%206%200%200%201-8-8l4-4M10%2020l10-10%22%2F%3E%3C%2Fsvg%3E") center/30px 30px no-repeat}
.mobile-portal.portal-role-owner .portal-bar nav>a[href="portal.php?view=retention"]::before,.mobile-portal.portal-role-planner .portal-bar nav>a[href="portal.php?view=retention"]::before{content:"";display:inline-block;vertical-align:middle;flex-shrink:0;width:30px;height:30px;margin-right:8px;background:transparent url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2030%22%20fill%3D%22none%22%20stroke%3D%22%23785431%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%207h22M11%207V3h8v4M7%207l1%2020h14l1-20M12%2012v10m6-10v10%22%2F%3E%3C%2Fsvg%3E") center/30px 30px no-repeat}
.mobile-portal.portal-role-owner .portal-bar nav>a[href="portal.php?view=invoice_overview"]::before,.mobile-portal.portal-role-planner .portal-bar nav>a[href="portal.php?view=invoice_overview"]::before{content:"";display:inline-block;vertical-align:middle;flex-shrink:0;width:30px;height:30px;margin-right:8px;background:transparent url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2030%22%20fill%3D%22none%22%20stroke%3D%22%23785431%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%224%22%20width%3D%2224%22%20height%3D%2223%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M3%2011h24M11%2011v16M7%2016h1m7%200h8M7%2022h1m7%200h8%22%2F%3E%3C%2Fsvg%3E") center/30px 30px no-repeat}
.mobile-portal.portal-role-owner .portal-bar nav>a[href="portal.php?view=billing"]::before,.mobile-portal.portal-role-planner .portal-bar nav>a[href="portal.php?view=billing"]::before{content:"";display:inline-block;vertical-align:middle;flex-shrink:0;width:30px;height:30px;margin-right:8px;background:transparent url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2030%22%20fill%3D%22none%22%20stroke%3D%22%23785431%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%202h10l6%206v18H7zM17%202v7h6M11%2014h8m-8%205h8m-8%204h5%22%2F%3E%3C%2Fsvg%3E") center/30px 30px no-repeat}
.mobile-portal.portal-role-owner .portal-bar nav>a[href="portal-type.php"]::before,.mobile-portal.portal-role-planner .portal-bar nav>a[href="portal-type.php"]::before{content:"";display:inline-block;vertical-align:middle;flex-shrink:0;width:30px;height:30px;margin-right:8px;background:transparent url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2030%22%20fill%3D%22none%22%20stroke%3D%22%23785431%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%209h21l-5-5M26%2021H5l5%205%22%2F%3E%3C%2Fsvg%3E") center/30px 30px no-repeat}
.mobile-portal.portal-role-owner .portal-bar nav>a[href="portal.php?view=password"]::before,.mobile-portal.portal-role-planner .portal-bar nav>a[href="portal.php?view=password"]::before{content:"";display:inline-block;vertical-align:middle;flex-shrink:0;width:30px;height:30px;margin-right:8px;background:transparent url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2030%22%20fill%3D%22none%22%20stroke%3D%22%23785431%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%225%22%20y%3D%2213%22%20width%3D%2220%22%20height%3D%2214%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M9%2013V8a6%206%200%200%201%2012%200v5M15%2019v3%22%2F%3E%3C%2Fsvg%3E") center/30px 30px no-repeat}

/* Rengøringsassistentens menu matcher portalens øvrige stregikoner. */
.mobile-portal.portal-role-assistant .portal-bar nav>a[href="portal.php?view=today"]::before{content:"";display:inline-block;vertical-align:middle;flex-shrink:0;width:30px;height:30px;margin-right:8px;background:transparent url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2030%22%20fill%3D%22none%22%20stroke%3D%22%23785431%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%225%22%20y%3D%225%22%20width%3D%2220%22%20height%3D%2222%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M10%205V3h10v4H10zM9%2015l4%204%208-9M10%2023h10%22%2F%3E%3C%2Fsvg%3E") center/30px 30px no-repeat}
.mobile-portal.portal-role-assistant .portal-bar nav>a[href="portal.php?view=calendar"]::before{content:"";display:inline-block;vertical-align:middle;flex-shrink:0;width:30px;height:30px;margin-right:8px;background:transparent url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2030%22%20fill%3D%22none%22%20stroke%3D%22%23785431%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%224%22%20y%3D%225%22%20width%3D%2222%22%20height%3D%2222%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M9%202v6m12-6v6M4%2012h22M9%2017h3m6%200h3M9%2022h3m6%200h3%22%2F%3E%3C%2Fsvg%3E") center/30px 30px no-repeat}
.mobile-portal.portal-role-assistant .portal-bar nav>a[href="portal-type.php"]::before{content:"";display:inline-block;vertical-align:middle;flex-shrink:0;width:30px;height:30px;margin-right:8px;background:transparent url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2030%22%20fill%3D%22none%22%20stroke%3D%22%23785431%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%209h21l-5-5M26%2021H5l5%205%22%2F%3E%3C%2Fsvg%3E") center/30px 30px no-repeat}
.mobile-portal.portal-role-assistant .portal-bar nav>a[href="portal.php?view=password"]::before{content:"";display:inline-block;vertical-align:middle;flex-shrink:0;width:30px;height:30px;margin-right:8px;background:transparent url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2030%22%20fill%3D%22none%22%20stroke%3D%22%23785431%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%225%22%20y%3D%2213%22%20width%3D%2220%22%20height%3D%2214%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M9%2013V8a6%206%200%200%201%2012%200v5M15%2019v3%22%2F%3E%3C%2Fsvg%3E") center/30px 30px no-repeat}

/* Public customer portal hero, matching the other public pages. */
.portal-login-hero{background:linear-gradient(90deg,rgba(17,16,14,.68) 0%,rgba(17,16,14,.52) 42%,rgba(17,16,14,.12) 100%),url('kundeportal-hero-v3.jpg') center/cover no-repeat;padding:100px 0 108px;color:#fff}
.portal-login-hero .eyebrow{color:#e4c99d}
.portal-login-hero h1{max-width:760px;font-size:58px;line-height:1.1;margin:16px 0 22px;text-shadow:0 2px 20px #0003}
.portal-login-hero p{max-width:520px;font-size:18px;line-height:1.75;color:#f6f1e9;text-shadow:0 1px 8px #0004}
.login-main .login-shell h2{font-size:34px;margin:16px 0 18px}
@media(max-width:560px){.portal-login-hero{padding:72px 0 78px;background-position:62% center;background-image:linear-gradient(90deg,rgba(17,16,14,.82),rgba(17,16,14,.57)),url('kundeportal-hero-v3.jpg')}.portal-login-hero h1{font-size:44px}.portal-login-hero p{font-size:17px;max-width:360px}.login-main .login-shell h2{font-size:30px}}

/* Workday recording */
.wt-day{border-top:4px solid #b78950}.wt-day form{margin-top:1rem}.wt-pause{background:#f5ede2;border:1px solid #dfcdb6;color:#29251f;padding:1rem;margin:1rem 0}.wt-pause .secondary{align-self:flex-start}.wt-dialog{max-width:540px;width:calc(100% - 2rem);max-height:85vh;overflow:auto;border:1px solid #dfcdb6;border-radius:18px;padding:24px;background:#fff}.wt-dialog::backdrop{background:rgba(20,17,12,.45)}.wt-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.wt-facts dt{font-size:.85rem;color:#71695e}.wt-facts dd{margin:6px 0;font-weight:600}.wt-record details{margin-top:1rem}.wt-record .portal-form{max-width:560px}@media(max-width:650px){.wt-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.wt-day .btn{width:100%}.wt-dialog{padding:20px}}

.wt-controls{margin:0 0 24px}.wt-controls:empty{display:none}.wt-controls>.portal-form{margin:0}.wt-controls>.wt-pause{max-width:540px}@media(max-width:650px){.wt-controls>.portal-form>.btn{width:100%}}

/* Compact working-time overview; scoped to this page. */
.wt-overview{max-width:1000px;margin:0 auto}.wt-overview>p{max-width:680px;color:#746b60;font-size:14px;line-height:1.6}.wt-overview .wt-filters{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;padding:16px 18px;margin:20px 0 12px;background:#f7f2eb;border:1px solid #e9dfd1;border-radius:14px}.wt-overview .wt-filters .field{flex:1 1 150px;gap:6px;min-width:0}.wt-overview .wt-filters input,.wt-overview .wt-filters select{box-sizing:border-box;width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid #dfd5c7;border-radius:9px;background:#fff;color:#302a23;font-size:15px}.wt-overview .wt-filters .secondary{min-height:44px;padding:10px 20px;border-radius:9px}.wt-overview .wt-export{margin:0 0 18px;text-align:right;max-width:none}.wt-overview .wt-export a{font-size:13px;padding:9px 14px;border-radius:9px}.wt-overview .panel.wt-total{display:flex;align-items:center;flex-wrap:wrap;gap:8px 18px;padding:16px 20px;margin:16px 0;background:#f4ebdf;border-color:#e5d5bf;border-radius:14px}.wt-total-label{font-size:13px;font-weight:600;color:#74614b}.wt-overview .wt-total h2{font-size:24px;line-height:1.2;margin:0}.wt-overview .wt-total p{flex-basis:100%;margin:0;font-size:12px;color:#7b7062}.wt-overview .panel.wt-record{padding:18px 20px;margin:12px 0;border:1px solid #e9e2d9;border-radius:14px;box-shadow:0 3px 14px rgba(65,48,27,.025)}.wt-overview .wt-record>h2{font-size:17px;line-height:1.4;margin:0 0 14px}.wt-overview .wt-facts{margin:0;gap:12px}.wt-overview .wt-facts>div{min-width:0}.wt-overview .wt-facts dt{font-size:12px;color:#8a7d6d}.wt-overview .wt-facts dd{font-size:14px;line-height:1.4;margin:4px 0 0;font-weight:600;overflow-wrap:anywhere}.wt-overview .wt-facts>div:last-child dd{color:#976d3b}.wt-overview .wt-record>p{font-size:12px;color:#827463;margin:12px 0 0}.wt-overview .wt-record>details{padding-top:10px;margin-top:12px;border-top:1px solid #f0ebe4}.wt-overview .wt-record>details>summary{font-size:12px;font-weight:500;color:#85725a}.wt-overview .wt-record>details[open]>summary{margin-bottom:12px}.wt-overview input:focus-visible,.wt-overview select:focus-visible{outline:2px solid #b78950;outline-offset:2px}
@media(max-width:650px){.wt-overview .wt-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;padding:12px}.wt-overview .wt-filters input,.wt-overview .wt-filters select{font-size:16px;max-width:100%}.wt-overview .wt-filters>label:has(select){grid-column:1/-1}.wt-overview .wt-filters>.secondary{grid-column:1/-1}.wt-overview .wt-export{text-align:left}.wt-overview .panel.wt-record{padding:16px}.wt-overview .wt-record>h2{font-size:16px}.wt-overview .wt-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px}.wt-overview .panel.wt-total{padding:14px 16px}.wt-overview .wt-total h2{font-size:22px}}

/* iOS date controls need explicit inline sizing inside grid labels. */
.wt-overview .wt-filters>.field{display:flex;flex-direction:column;min-width:0;max-width:100%}
.wt-overview .wt-filters input[type="date"]{display:block;appearance:none;-webkit-appearance:none;box-sizing:border-box;width:100%;inline-size:100%;min-width:0;min-inline-size:0;max-width:100%;max-inline-size:100%;height:44px;text-align:left}
.wt-overview .wt-filters input[type="date"]::-webkit-date-and-time-value{min-width:0;text-align:left}
.wt-overview .wt-filters input[type="date"]::-webkit-datetime-edit{padding:0}
@media(max-width:650px){.wt-overview .wt-filters{grid-template-columns:minmax(0,1fr)}.wt-overview .wt-filters>.field,.wt-overview .wt-filters>.secondary{grid-column:1/-1;width:100%;box-sizing:border-box}}

/* Agreement cards only; the existing header, navigation and calendar are unchanged. */
.rp-agreements{margin:24px 0 32px}.rp-agreements>h2{margin-bottom:20px}
.rp-agreement-card{display:grid;grid-template-columns:76px minmax(0,1fr) auto;align-items:start;gap:22px;padding:26px;background:#fff;border:1px solid #f1ede6;border-radius:20px;box-shadow:0 5px 18px #30261909;margin:0 0 18px}
.rp-agreement-home{display:grid;place-items:center;width:76px;height:76px;border-radius:50%;background:#f3efe5;color:#202322}.rp-agreement-home svg{width:43px;height:43px}
.rp-agreement-content h3{font-family:'Cormorant Garamond',Georgia,serif;font-size:28px;line-height:1.25;font-weight:500;color:#202322;margin:0 0 10px;overflow-wrap:anywhere}
.rp-agreement-frequency{display:inline-block;padding:5px 17px;border-radius:30px;background:#f6edd6;color:#292d2b;font-size:16px;line-height:1.3}
.rp-agreement-line{display:flex;align-items:center;gap:12px;margin:16px 0 0;line-height:1.5;color:#282b2b;font-size:17px}.rp-agreement-line svg{width:25px;height:25px;flex:0 0 25px}.rp-agreement-line span{overflow-wrap:anywhere}
.rp-agreement-address{font-size:13px;color:#766d61;line-height:1.5;margin:13px 0 0;overflow-wrap:anywhere}
.rp-agreement-link.btn{align-self:end;white-space:nowrap;background:#ad8b48;color:#fff;border:0;border-radius:12px;padding:15px 22px;text-transform:none;letter-spacing:0;font-size:17px;font-weight:400;min-height:48px;text-decoration:none}
.rp-agreement-link.btn:hover{background:#957439}
@media(max-width:700px){.rp-agreement-card{grid-template-columns:54px minmax(0,1fr);gap:12px 16px;padding:20px 16px;border-radius:18px}.rp-agreement-home{width:54px;height:54px}.rp-agreement-home svg{width:33px;height:33px}.rp-agreement-content h3{font-size:24px}.rp-agreement-frequency{font-size:14px;padding:4px 14px}.rp-agreement-line{font-size:14px;gap:9px;margin-top:13px}.rp-agreement-line svg{width:21px;height:21px;flex-basis:21px}.rp-agreement-address{font-size:12px}.rp-agreement-link.btn{grid-column:2;justify-self:end;font-size:15px;padding:12px 20px}}

/* Labelled facts on the individual agreement page. */
.rp-agreement-detail>h1{margin-top:20px;margin-bottom:24px}
.rp-agreement-facts{margin:0 0 32px;border-top:1px solid #e8ded0}
.rp-agreement-facts>div{display:grid;grid-template-columns:155px minmax(0,1fr);gap:16px;padding:18px 0;border-bottom:1px solid #e8ded0}
.rp-agreement-facts dt{font-weight:600;color:#443b30;line-height:1.6}
.rp-agreement-facts dd{margin:0;line-height:1.6;overflow-wrap:anywhere;color:#292723}
@media(max-width:600px){.rp-agreement-facts>div{grid-template-columns:1fr;gap:5px;padding:16px 0}.rp-agreement-detail>h1{margin-top:18px;margin-bottom:20px}}

.rp-customer-address{grid-column:1/-1;min-width:0}.rp-postal-fields{display:grid;grid-template-columns:minmax(100px,1fr) minmax(0,2fr);gap:16px;margin-top:16px}.rp-postal-help{font-size:13px;margin:8px 0 0}.rp-postal-fields .field{min-width:0}

/* Owner enquiry inbox */
.offer-overview{max-width:980px;margin:auto}.offer-overview>p{color:#756a5e;line-height:1.65}.offer-request summary>span{display:grid;gap:6px}.offer-request summary small{font-size:12px;color:#807363;font-weight:400}.offer-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.offer-details dt{font-size:12px;color:#827361}.offer-details dd{margin:5px 0;font-size:15px;overflow-wrap:anywhere}.offer-mail-status{background:#f7f1e8;border-radius:12px;padding:12px 16px;font-size:13px;margin:16px 0}.offer-request .portal-form{margin:12px 0}.offer-delete{margin-top:18px;padding-top:14px;border-top:1px solid #e9dfd2}.offer-delete summary{font-size:13px}.offer-delete p{font-size:13px;line-height:1.6}.offer-overview .toolbar [aria-current=page]{background:#f5ecdf;border-color:#b78950}@media(max-width:560px){.offer-details{grid-template-columns:1fr}.offer-request summary strong{overflow-wrap:anywhere}.offer-request .btn,.offer-request .secondary{width:100%;text-align:center}}

@media(max-width:600px){.mobile-portal .portal-bar nav>a[href*='view=offers']::before{content:'✉'}.mobile-portal .portal-bar nav>a[href*='view=offers']::after{content:'Se og behandl henvendelser fra hjemmesiden  ›'}}

/* Samlet fakturering: én hovedmenu og to oversigter. */
.billing-section-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-width:540px;padding:6px;margin:0 0 24px;background:#eee5d6;border:1px solid #dfd1bd;border-radius:16px}
.billing-section-nav a{display:flex;align-items:center;justify-content:center;min-width:0;min-height:46px;padding:10px 14px;border:1px solid transparent;border-radius:11px;color:#66533e;text-align:center;text-decoration:none;font-weight:600;line-height:1.35;box-sizing:border-box}
.billing-section-nav a[aria-current="page"]{background:#fffdf9;color:#30271e;border-color:#dec8a9;box-shadow:0 2px 6px #30271e0a}
.billing-section-nav a:hover{background:#fff8ee}
.billing-section-nav a:focus-visible{outline:2px solid #805431;outline-offset:2px}
@media(max-width:560px){.billing-section-nav{max-width:none;margin-bottom:20px}.billing-section-nav a{font-size:14px;padding:10px 8px}}

/* Kompakt økonomioverblik, afgrænset fra kundernes fakturavisning. */
.billing-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 16px}
.billing-heading .eyebrow{font-size:10px;letter-spacing:.14em;margin:0 0 4px}
.portal-wrap .billing-heading h1{font-size:32px;line-height:1.15;margin:0}
.billing-heading .billing-section-nav{margin:0;padding:4px;gap:4px;width:360px;border-radius:12px;box-sizing:border-box}
.billing-heading .billing-section-nav a{min-height:40px;padding:8px 12px;border-radius:8px;font-size:13px}
.portal-wrap .panel.billing-panel{padding:20px;margin:0 0 20px;border-radius:14px;box-shadow:0 3px 16px #392b1905}
.billing-panel .billing-intro h2{font-size:23px;line-height:1.25;margin:0 0 5px}
.billing-panel .billing-intro p{font-size:13px;line-height:1.55;color:#796c5c;margin:0}
.billing-filters{display:flex;flex-wrap:wrap;gap:6px;padding:0 0 14px;margin:16px 0 14px;border-bottom:1px solid #ece3d7}
.billing-filters a{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:8px 12px;border:1px solid #e7ddcf;border-radius:9px;background:#fcfaf6;color:#71614f;text-decoration:none;font-size:12px;font-weight:600;line-height:1.35;box-sizing:border-box}
.billing-filters a[aria-current="page"]{color:#664523;border-color:#cba676;background:#f3e7d6}
.billing-filters a:hover{border-color:#b58a53}
.billing-filters a:focus-visible{outline:2px solid #805431;outline-offset:2px}
.billing-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;min-height:22px;border-radius:6px;padding:0 4px;background:#fff;color:#6e573d;font-size:12px;font-variant-numeric:tabular-nums}
.billing-panel .billing-help{font-size:12px;color:#7c6b58;margin:0 0 14px}
.billing-help summary{cursor:pointer;padding:5px 0;font-weight:500}
.billing-help p{font-size:12px;line-height:1.65;max-width:780px;margin:8px 0}
.billing-panel .notice{font-size:12px;line-height:1.55;padding:10px 12px;margin:10px 0}
.billing-empty{padding:28px 12px;text-align:center;border:1px dashed #e6dccd;border-radius:10px;background:#fdfbf8;color:#84735f;font-size:13px}
.billing-panel .invoice-scroll{border:1px solid #ede5da;border-radius:10px}
.billing-panel .billing-table{font-size:12px;line-height:1.5}
.billing-panel .billing-table th{font-size:11px;letter-spacing:.01em;color:#7a6853;background:#f6f0e7;font-weight:600}
.billing-panel .billing-table th,.billing-panel .billing-table td{padding:10px 9px;border-color:#eee7dd}
.billing-panel .billing-table td{color:#4b4237}
.billing-table td:nth-child(2) a{color:#785431;font-weight:600;text-decoration:none}
.billing-panel .billing-table td:nth-child(5),.billing-panel .billing-table td:nth-child(6),.billing-panel .billing-table td:nth-child(7),.billing-panel .billing-table td:nth-child(8){white-space:normal}
.billing-panel .billing-table td small{font-size:11px;color:#897a67}
.billing-panel .billing-table .secondary{min-height:36px;padding:7px 10px;font-size:11px;border-radius:7px;white-space:nowrap;box-sizing:border-box}
.billing-table .pending-text{font-size:11px}
.billing-panel .billing-table input[type=checkbox]{width:18px;height:18px;accent-color:#a17743}
.billing-action-form{margin:0}
.billing-panel .billing-submit{min-height:42px;padding:10px 16px;margin:14px 0 0;font-size:12px;border-radius:9px;letter-spacing:.03em}
.billing-status{display:inline-block;font-size:11px;font-weight:600;padding:4px 7px;border-radius:6px;background:#f1e9dc;color:#805e32}
.billing-status.paid{background:#edf2e9;color:#4e6841}.billing-status.overdue{background:#f9e9e0;color:#944c31}.billing-status.credit{background:#edeae5;color:#6c655d}
@media(max-width:700px){
 .billing-heading{align-items:stretch;flex-direction:column;gap:12px;margin-bottom:14px}
 .portal-wrap .billing-heading h1{font-size:29px}
 .billing-heading .billing-section-nav{width:100%;max-width:none}
 .billing-heading .billing-section-nav a{min-height:44px}
 .portal-wrap .panel.billing-panel{padding:14px;border-radius:13px}
 .billing-panel .billing-intro h2{font-size:21px}
 .billing-panel .billing-intro p{font-size:12px}
 .billing-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:13px 0;padding-bottom:12px}
 .billing-filters a{flex-direction:column;gap:5px;padding:8px 5px;font-size:11px;min-height:44px;text-align:center}
 .billing-panel .invoice-scroll{border:0;border-radius:0;overflow:visible}
 .billing-panel .billing-table{display:block;width:100%}
 .billing-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .billing-table tbody{display:grid;gap:10px}
 .billing-table tbody tr{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px;padding:14px;border:1px solid #e9dfd2;border-radius:11px;background:#fdfbf8;min-width:0}
 .billing-panel .billing-table tbody td{display:block;padding:0;border:0;white-space:normal;min-width:0;overflow-wrap:anywhere;font-size:12px}
 .billing-table td[data-label]::before{content:attr(data-label);display:block;margin-bottom:3px;font-size:10px;color:#8a7963;font-weight:400}
 .billing-tasks-table td:nth-child(2),.billing-tasks-table td:nth-child(6),.billing-tasks-table td:last-child,.billing-invoices-table td:first-child,.billing-invoices-table td:last-child{grid-column:1/-1}
 .billing-panel .billing-tasks-table td:nth-child(2){padding-right:28px}
 .billing-tasks-table td:nth-child(2)>a,.billing-invoices-table td:first-child{font-size:14px;font-weight:600;color:#5e4930}
 .billing-panel .billing-tasks-table td:first-child{display:none}
 .billing-panel .billing-tasks-table td:first-child:has(input){display:flex;position:absolute;right:3px;top:5px;padding:10px;min-width:44px;min-height:44px;box-sizing:border-box;align-items:center;justify-content:center}
 .billing-tasks-table td:first-child::before{display:none}
 .billing-panel .billing-table input[type=checkbox]{width:21px;height:21px;margin:0}
 .billing-panel .billing-table td:last-child{border-top:1px solid #eee4d6;padding-top:9px}
 .billing-panel .billing-table td:last-child .secondary{min-height:40px;padding:9px 12px;font-size:12px}
 .billing-panel .billing-submit{width:100%;min-height:44px;font-size:12px}
 .billing-panel .billing-table .invoice-overdue{background:#fff8f3}
}

/* Billy-forbindelsen er tredje fane i det fælles økonomioverblik. */
.billing-heading .billing-section-nav{grid-template-columns:repeat(3,minmax(0,1fr));width:510px;max-width:100%}
.billing-heading .billing-section-nav a{overflow-wrap:anywhere}
.billing-connection>p,.billing-connection>.portal-form{font-size:13px;line-height:1.6}
.billing-connection .secondary{min-height:40px;padding:9px 12px;font-size:12px;border-radius:8px;box-sizing:border-box}
@media(max-width:700px){.billing-heading .billing-section-nav{width:100%}.billing-heading .billing-section-nav a{font-size:12px;padding:8px 5px}}

/* Kompakt planlægning for Ejer og Planlægger. */
.planning-overview{max-width:1050px;margin:0 auto;min-width:0}
.planning-heading{margin-bottom:18px}
.planning-heading .eyebrow{font-size:10px;letter-spacing:.14em;margin-bottom:5px}
.portal-wrap .planning-heading h1{font-size:32px;line-height:1.2;margin:0 0 8px}
.planning-heading p{font-size:13px;line-height:1.6;color:#7c6d5b;margin:0}
.portal-wrap .planning-overview .panel{padding:20px;border-radius:14px;margin:14px 0;background:#fff;box-shadow:0 3px 16px #392b1905}
.planning-overview .panel h2{font-size:24px;margin:0 0 5px;line-height:1.25}
.planning-overview .panel>p{font-size:13px;line-height:1.6;margin:0 0 12px;color:#7c6d5b}
.planning-overview .panel>summary{font-size:14px;font-weight:600}
.planning-overview .panel[open]>summary{margin-bottom:12px}
.planning-overview .portal-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0 0}
.planning-overview .portal-form .form-grid{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0}
.planning-overview .portal-form .planning-timing{grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr) minmax(0,1fr)}
.planning-overview .field{min-width:0;gap:5px}
.planning-overview .field>span{font-size:12px;line-height:1.4;font-weight:600;color:#6e6050}
.planning-overview .portal-form input:not([type=hidden]):not([type=checkbox]),.planning-overview .portal-form select,.planning-overview .portal-form textarea{box-sizing:border-box;width:100%;min-width:0;max-width:100%;min-height:40px;padding:9px 11px;border:1px solid #dfd4c5;border-radius:9px;background:#fefdfb;color:#302a23;font:14px/1.4 Arial,sans-serif;box-shadow:0 1px 4px #392b1903}
.planning-overview .portal-form textarea{height:76px;min-height:76px;resize:vertical}
.planning-overview .portal-form input:focus-visible,.planning-overview .portal-form select:focus-visible,.planning-overview .portal-form textarea:focus-visible{outline:2px solid #b78950;outline-offset:2px}
.planning-overview .portal-form>.field:has([name=customer_id]),.planning-overview .portal-form>.field:has([name=notes]),.planning-overview .portal-form>p,.planning-overview .portal-form>button,.planning-overview .portal-form>details{grid-column:1/-1}
.planning-overview .portal-form>p{font-size:12px;line-height:1.6;margin:0;color:#837361}
.planning-overview .portal-form>.btn{justify-self:start;width:auto;min-height:42px;padding:10px 16px;font-size:12px;border-radius:9px;letter-spacing:.03em}
.planning-overview .planning-extras{border:1px solid #e8dece;border-radius:10px;background:#fbf7f0;padding:10px 12px}
.planning-extras>summary{font-size:12px;color:#755a38;font-weight:600}
.planning-overview .planning-extras fieldset{border:0;padding:10px 0 0;gap:8px;grid-template-columns:repeat(2,minmax(0,1fr))}
.planning-extras legend{font-size:11px;padding-top:10px}
.planning-extras .check-row{align-items:start;gap:8px;font-size:12px;margin:0;padding:8px;background:#fff;border:1px solid #eee5d8;border-radius:8px;min-width:0}
.planning-extras input[type=checkbox]{width:18px;height:18px;flex-shrink:0;accent-color:#a17743;margin-top:2px}
.planning-extras .extra-choice-text{min-width:0;font-size:12px;overflow-wrap:anywhere}
.planning-extras .extra-price{font-size:11px;white-space:nowrap}
.planning-extras .extra-description{font-size:11px;line-height:1.5}
.planning-pause .portal-form{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:650px){
 .portal-wrap .planning-heading h1{font-size:29px}
 .portal-wrap .planning-overview .panel{padding:15px}
 .planning-overview .panel h2{font-size:23px}
 .planning-overview .portal-form,.planning-overview .portal-form .form-grid{gap:10px}
 .planning-overview .portal-form input:not([type=hidden]):not([type=checkbox]),.planning-overview .portal-form select,.planning-overview .portal-form textarea{font-size:16px;min-height:44px;padding:10px}
 .planning-overview .portal-form .planning-timing{grid-template-columns:repeat(2,minmax(0,1fr))}
 .planning-timing>.field:first-child{grid-column:1/-1}
 .planning-pause .portal-form{grid-template-columns:repeat(2,minmax(0,1fr))}
 .planning-pause .portal-form>.field:first-of-type{grid-column:1/-1}
 .planning-overview .planning-extras fieldset{grid-template-columns:minmax(0,1fr)}
 .planning-overview .portal-form>.btn{width:100%;min-height:44px}
 .planning-overview .field:has([type=datetime-local]),.planning-overview .field:has([name=address]){grid-column:1/-1}
}
@media(max-width:380px){.planning-overview .portal-form .form-grid,.planning-overview .portal-form{grid-template-columns:minmax(0,1fr)}.planning-overview .portal-form .planning-timing{grid-template-columns:minmax(0,1fr)}}

@media(max-width:650px){.planning-overview .portal-form>.field:has(textarea){grid-column:1/-1}}

/* Kompakt arbejdsplan: ensartede filtre, dagsoversigter og besøgskort. */
.workplan-overview{min-width:0}
.workplan-overview .page-title{gap:16px;margin:0 0 14px;align-items:center}
.portal-wrap .workplan-overview h1{font-size:32px;line-height:1.2;margin:0 0 6px}
.workplan-overview .page-title .eyebrow{font-size:10px;letter-spacing:.14em;margin:0 0 4px}
.workplan-overview .page-title p{font-size:13px;line-height:1.5;margin:0;color:#7c6d5b}
.workplan-overview .toolbar{margin:0;gap:5px}
.workplan-overview .secondary{font-size:12px;padding:8px 11px;min-height:38px;border-radius:8px;box-sizing:border-box}
.workplan-overview .legend{font-size:11px;line-height:1.5;margin:0 0 12px;color:#85725b}
.workplan-overview .filter-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto auto;gap:10px;align-items:end;margin:0 0 16px;padding:12px 14px;border:1px solid #e7dccd;border-radius:12px;background:#faf6ef}
.workplan-overview .filter-form label{min-width:0;font-size:11px;font-weight:600;color:#776651;gap:5px}
.workplan-overview .filter-form select{box-sizing:border-box;min-width:0;max-width:100%;width:100%;min-height:40px;padding:8px 10px;font-size:14px;border:1px solid #dfd4c5;border-radius:8px;color:#302a23;background:#fff}
.workplan-overview .filter-form .secondary{min-height:40px;text-align:center}
.workplan-overview .filter-form select:focus-visible{outline:2px solid #b78950;outline-offset:2px}
.workplan-overview .week-scroll{overflow:visible;padding-bottom:0}
.workplan-overview .week-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));min-width:0;gap:8px;align-items:start}
.workplan-overview .week-day{box-sizing:border-box;min-width:0;min-height:160px;margin:0;padding:10px 8px;border:1px solid #e6d9c6;border-radius:12px;background:#f1e8db;box-shadow:none}
.workplan-overview .week-day.is-today{border-color:#b68b55;box-shadow:0 0 0 1px #b68b5530}
.workplan-overview .week-day h2{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:3px 5px;font-size:16px;margin:0 0 5px;line-height:1.3}
.workplan-overview .week-day h2 span{display:inline;font-size:10px;font-weight:400;color:#8a785f;margin:0}
.workplan-overview .week-day h2 .workday-name{font-size:16px;font-weight:600;color:#594832}
.workday-summary{display:flex;align-items:center;justify-content:space-between;gap:5px;font-size:10px;color:#8a765d;border-bottom:1px solid #e3d4be;padding-bottom:8px;margin-bottom:8px;font-variant-numeric:tabular-nums}
.workplan-overview .work-visit{display:grid;min-width:0;gap:5px;margin:8px 0 0;padding:10px 9px;border:1px solid #ebe2d5;border-left:3px solid #b38952;border-radius:9px;background:#fffefa;font-size:11px;line-height:1.45;box-shadow:0 2px 6px #392b1903;overflow-wrap:anywhere}
.workplan-overview a.work-visit:hover{border-color:#cfb28b;box-shadow:0 3px 10px #6d4b2310}
.workplan-overview a.work-visit:focus-visible{outline:2px solid #805431;outline-offset:2px}
.workplan-overview .work-visit strong{font-size:13px;line-height:1.35;font-weight:600;color:#42372b}
.workplan-overview .work-time{font-size:11px;font-weight:700;color:#8a6437;font-variant-numeric:tabular-nums}
.workplan-overview .work-visit .muted{font-size:10px;line-height:1.4;color:#8c7c68}
.workplan-overview .work-visit .badge{width:fit-content;max-width:100%;box-sizing:border-box;font-size:9px;line-height:1.3;padding:3px 6px;background:#f2e8d9;color:#80613b;white-space:normal}
.workplan-overview .work-visit.completed{background:#f8f7f3;border-left-color:#899477}
.workplan-overview .work-visit.completed .badge{background:#eaf0e4;color:#526246}
.workplan-overview .work-visit.cancelled{opacity:.65;border-left-color:#b4aaa0}
.workplan-overview .empty-day{font-size:11px;color:#9b8a74;margin:14px 0 6px}
.workplan-overview .week-day>p.muted{font-size:10px;margin:8px 0 2px}
.workplan-overview .work-visit.wt-pause{background:#f9f1e4;border-left-color:#c19a65;padding:9px 8px}
.workplan-overview .wt-pause>strong{font-size:11px}
.workplan-overview .panel{padding:16px;border-radius:12px;margin:14px 0}
.workplan-overview .panel>summary{font-size:13px}
.workplan-overview .pending-row{padding:9px 0;font-size:12px;line-height:1.5}
.workplan-overview .today-plan{max-width:850px;margin:0}
.workplan-overview .today-plan>p{font-size:12px;line-height:1.6;margin:0 0 12px;color:#83725f}
.workplan-today .work-visit{padding:12px;gap:5px;font-size:12px}
.workplan-today .work-visit strong{font-size:15px}
.workplan-overview .wt-controls{margin-bottom:14px}
.workplan-overview .wt-controls .btn{min-height:44px;padding:10px 16px;font-size:12px;border-radius:9px}
@media(min-width:701px) and (max-width:1050px){.workplan-overview .week-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workplan-overview .week-day{min-height:0}.workplan-overview .work-visit{font-size:12px}.workplan-overview .work-visit strong{font-size:14px}}
@media(max-width:700px){
 .workplan-overview .page-title{display:flex;flex-direction:column;align-items:stretch;gap:12px}
 .portal-wrap .workplan-overview h1{font-size:29px}
 .workplan-overview .page-title .toolbar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;width:100%}
 .workplan-overview .page-title .secondary{min-height:44px;font-size:12px;padding:10px 7px;text-align:center}
 .workplan-overview .filter-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:11px}
 .workplan-overview .filter-form select{font-size:16px;min-height:44px}
 .workplan-overview .filter-form .secondary{min-height:44px}
 .workplan-overview .week-grid{grid-template-columns:minmax(0,1fr);gap:10px}
 .workplan-overview .week-day{min-height:0;padding:12px;border-radius:12px}
 .workplan-overview .week-day h2 .workday-name{font-size:18px}
 .workplan-overview .week-day h2 span{font-size:11px}
 .workday-summary{font-size:11px;padding-bottom:7px}
 .workplan-overview .work-visit{font-size:12px;padding:11px;gap:5px;margin-top:8px}
 .workplan-overview .work-visit strong{font-size:15px}
 .workplan-overview .work-time{font-size:12px}
 .workplan-overview .work-visit .badge{font-size:10px}
 .workplan-overview .empty-day{margin:8px 0 0}
 .workplan-overview .wt-pause .secondary{min-height:44px}
}

.workplan-customer .filter-form{grid-template-columns:minmax(0,1fr) auto;max-width:650px}.workplan-customer .panel.narrow{margin-left:0;max-width:850px}

/* Samme kompakte administrationsdesign til arbejdstider. */
.wt-overview.wt-admin{max-width:1050px;min-width:0}
.wt-admin .wt-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 16px}
.wt-heading .eyebrow{font-size:10px;letter-spacing:.14em;margin-bottom:5px}
.portal-wrap .wt-admin .wt-heading h1{font-size:32px;line-height:1.2;margin:0 0 6px}
.wt-heading p{font-size:13px;line-height:1.5;color:#7c6d5b;margin:0}
.wt-admin .wt-export-link{font-size:12px;min-height:40px;padding:9px 12px;border-radius:8px;white-space:nowrap;box-sizing:border-box}
.wt-admin .wt-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.3fr) auto;align-items:end;gap:10px;padding:12px 14px;margin:0 0 14px;border-radius:12px;background:#faf6ef}
.wt-admin .wt-filters:not(:has(select[name=assistant])){grid-template-columns:repeat(2,minmax(0,1fr)) auto}
.wt-admin .wt-filters .field{min-width:0;gap:5px}
.wt-admin .field>span{font-size:12px;font-weight:600;line-height:1.4;color:#776651}
.wt-admin .wt-filters input,.wt-admin .wt-filters select,.wt-admin .portal-form input,.wt-admin .portal-form select,.wt-admin .portal-form textarea{box-sizing:border-box;display:block;width:100%;min-width:0;max-width:100%;min-height:40px;padding:9px 11px;border:1px solid #dfd4c5;border-radius:9px;background:#fffefa;color:#302a23;font:14px/1.4 Arial,sans-serif}
.wt-admin .wt-filters .secondary{min-height:40px;padding:9px 16px;font-size:12px;border-radius:8px;width:auto;grid-column:auto}
.wt-admin input:focus-visible,.wt-admin select:focus-visible,.wt-admin textarea:focus-visible{outline:2px solid #b78950;outline-offset:2px}
.wt-summary{display:grid;grid-template-columns:minmax(0,1.4fr) repeat(2,minmax(0,1fr));gap:0;margin:0 0 16px;border:1px solid #e4d6c3;border-radius:12px;background:#f3e9da;overflow:hidden}
.wt-summary>div{display:flex;flex-direction:column;gap:5px;padding:14px 18px;min-width:0;border-left:1px solid #e4d6c3}
.wt-summary>div:first-child{border-left:0}
.wt-summary span{font-size:11px;font-weight:600;color:#806b50}
.wt-summary strong{font-size:23px;line-height:1.2;font-weight:600;color:#4b3922;font-variant-numeric:tabular-nums}
.wt-summary small{font-size:10px;line-height:1.5;color:#8b795f}
.wt-admin .panel.wt-record{padding:16px 18px;margin:10px 0;border-radius:12px;box-shadow:0 2px 10px #392b1904}
.wt-record-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 13px}
.wt-admin .wt-record-heading h2{font-size:19px;line-height:1.3;margin:0;min-width:0;overflow-wrap:anywhere}
.wt-record-heading h2>span{display:inline-block;font:12px/1.4 Arial,sans-serif;color:#8b795f;margin-left:12px;white-space:nowrap}
.wt-state{display:inline-block;padding:4px 8px;border-radius:6px;font-size:10px;font-weight:600;line-height:1.4;white-space:nowrap;background:#f2ece2;color:#7c6c56}
.wt-state.done{background:#eaf0e4;color:#526246}.wt-state.active{background:#f6e7ce;color:#8a602e}
.wt-admin .wt-facts{grid-template-columns:minmax(0,.7fr) minmax(0,.7fr) minmax(0,1.5fr) minmax(0,1fr);gap:12px;margin:0}
.wt-admin .wt-facts dt{font-size:11px;color:#8a7963}
.wt-admin .wt-facts dd{font-size:14px;line-height:1.4;margin-top:4px;font-weight:600;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.wt-admin .wt-facts>div:last-child dd{color:#936832}
.wt-admin .wt-record>details{border-top:1px solid #eee6da;margin-top:10px;padding-top:8px}
.wt-admin .wt-record>details>summary{font-size:11px;font-weight:500;color:#8a7253}
.wt-admin .wt-record>p{font-size:12px;line-height:1.6;margin:10px 0;color:#7c6d5b}
.wt-admin .wt-record>details p{font-size:12px;line-height:1.65;color:#7c6d5b}
.wt-admin>.panel{padding:16px 18px;margin:14px 0;border-radius:12px}
.wt-admin>.panel>summary{font-size:13px}
.wt-admin>.muted{font-size:11px;line-height:1.65}
.wt-admin .portal-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:none;margin:14px 0 0}
.wt-admin .portal-form .field{min-width:0;gap:5px}
.wt-admin .portal-form>.field:has(textarea),.wt-admin .portal-form>button,.wt-admin .portal-form>.field:has(select[name=assistant_id]){grid-column:1/-1}
.wt-admin .portal-form textarea{height:76px;min-height:76px;resize:vertical}
.wt-admin .portal-form>.btn{justify-self:start;min-height:42px;width:auto;padding:10px 16px;font-size:12px;border-radius:9px;letter-spacing:.03em}
.wt-empty{padding:26px 14px;border:1px dashed #e6dccd;border-radius:10px;background:#fdfbf8;text-align:center;font-size:13px;color:#84735f}
@media(max-width:700px){
 .wt-admin .wt-heading{align-items:start;flex-direction:column;gap:11px}
 .portal-wrap .wt-admin .wt-heading h1{font-size:29px;overflow-wrap:anywhere}
 .wt-admin .wt-export-link{min-height:44px;white-space:normal}
 .wt-admin .wt-filters,.wt-admin .wt-filters:not(:has(select[name=assistant])){grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:11px}
 .wt-admin .wt-filters>label:has(select),.wt-admin .wt-filters>.secondary{grid-column:1/-1}
 .wt-admin .wt-filters input,.wt-admin .wt-filters select,.wt-admin .portal-form input,.wt-admin .portal-form select,.wt-admin .portal-form textarea{min-height:44px;font-size:16px;padding:10px}
 .wt-admin .wt-filters>.secondary{width:100%;min-height:44px}
 .wt-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
 .wt-summary>div{padding:12px 14px}
 .wt-summary>.wt-summary-main{grid-column:1/-1;border-bottom:1px solid #e4d6c3}
 .wt-summary>div:nth-child(2){border-left:0}
 .wt-summary strong{font-size:22px}
 .wt-admin .panel.wt-record{padding:14px}
 .wt-record-heading{align-items:start;gap:8px}
 .wt-admin .wt-record-heading h2{font-size:18px}
 .wt-record-heading h2>span{display:block;margin:4px 0 0;font-size:11px}
 .wt-admin .wt-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .wt-admin .portal-form>.field:has(input[type=datetime-local]),.wt-admin .portal-form>.field:has(input[type=date]){grid-column:1/-1}
 .wt-admin .portal-form>.btn{width:100%;min-height:44px}
}

/* Beskeder: kompakt indbakke og samlet samtalevisning for administrationen. */
.messages-overview{max-width:1050px;min-width:0;margin:0 auto}
.messages-heading{margin:0 0 16px}
.messages-heading .eyebrow{font-size:10px;letter-spacing:.14em;margin-bottom:5px}
.portal-wrap .messages-heading h1{font-size:32px;line-height:1.2;margin:0 0 7px}
.messages-heading p{font-size:13px;line-height:1.5;margin:0;color:#7c6d5b}
.portal-wrap .messages-overview>.panel{padding:20px;margin:0 0 16px;border-radius:14px;box-shadow:0 3px 16px #392b1905}
.messages-list-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.messages-list-heading h2{font-size:23px;line-height:1.3;margin:0}
.messages-count{background:#f4ede2;border-radius:7px;padding:5px 8px;color:#8a7152;font-size:11px;white-space:nowrap}
.messages-overview .conversation-filters{gap:6px;margin:0 0 14px;padding-bottom:14px;border-bottom:1px solid #ece3d7}
.messages-overview .conversation-filters .secondary{font-size:12px;min-height:40px;padding:9px 13px;border-radius:9px;background:#fcfaf6;color:#79664e;border-color:#e7ddcf;box-sizing:border-box}
.messages-overview .conversation-filters .selected{color:#664523;border-color:#cba676;background:#f3e7d6}
.messages-overview .conversation-row{gap:18px;margin:8px 0 0;padding:13px 15px;border:1px solid #e9e0d4;border-radius:10px;background:#fdfbf8;min-width:0}
.messages-overview .conversation-row:hover{background:#faf3e8;border-color:#d4bb99}
.messages-overview .conversation-row:focus-visible,.messages-overview .conversation-filters a:focus-visible{outline:2px solid #805431;outline-offset:2px}
.messages-overview .conversation-row.unread{border-left:3px solid #b38952;background:#faf2e6}
.messages-row-content{min-width:0;flex:1}
.messages-overview .conversation-row strong{font-size:14px;line-height:1.4;font-weight:600;color:#493b2b}
.messages-overview .conversation-row.unread strong::before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:#b38952;margin:0 7px 2px 0}
.messages-overview .conversation-row .messages-subject{font-size:12px;line-height:1.4;margin-top:3px;color:#75624b;overflow-wrap:anywhere}
.messages-overview .conversation-row .messages-preview{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;font-size:12px;line-height:1.5;margin-top:4px;color:#978773;overflow-wrap:anywhere;font-weight:400}
.messages-overview .conversation-row-status{display:flex;flex-direction:column;align-items:flex-end;gap:8px;max-width:175px}
.messages-overview .conversation-row .messages-state{display:inline-block;margin:0;font-size:10px;font-weight:600;line-height:1.4;padding:4px 7px;border-radius:6px;background:#f0e8dc;color:#806b4d}
.messages-overview .messages-state.unread{background:#eedaba;color:#80582c}
.messages-overview .messages-state.answered{background:#edf1e7;color:#536342}
.messages-overview .conversation-row-status time{font-size:10px;color:#97846b;white-space:nowrap}
.messages-overview .messages-inbox>.muted{font-size:13px;padding:24px 12px;text-align:center;background:#fdfbf8;border:1px dashed #e6dccd;border-radius:10px}
.messages-overview .conversation>.text-link{font-size:12px;letter-spacing:0;text-transform:none;color:#8a6437}
.messages-overview .conversation-heading{gap:12px;margin:14px 0}
.messages-overview .conversation-heading h2{font-size:24px;line-height:1.3;margin:0 0 5px}
.messages-overview .conversation-heading p{font-size:12px;line-height:1.5;margin:0;color:#8a7963}
.messages-overview .conversation-status{font-size:11px;padding:5px 8px;border-radius:7px;background:#f3e9da;color:#826543}
.messages-overview .chat-toolbar{padding:9px 12px;font-size:11px;background:#f4ede3;border-radius:9px 9px 0 0;gap:8px}
.messages-overview .chat-log{height:360px;max-height:55dvh;padding:15px;background:#f8f3eb;border:1px solid #eee3d4;border-top:0;border-radius:0 0 10px 10px}
.messages-overview .chat-log .conversation-message{max-width:85%;margin-bottom:12px;padding:12px 14px;border-radius:12px 12px 12px 3px;box-shadow:none}
.messages-overview .chat-log .conversation-message.own{background:#efe1cc;border-radius:12px 12px 3px 12px}
.messages-overview .chat-log .conversation-meta{gap:4px 12px}
.messages-overview .chat-log .conversation-meta strong{font-size:11px}
.messages-overview .chat-log .conversation-meta time{font-size:10px}
.messages-overview .chat-log .conversation-message p{font-size:14px;line-height:1.6;margin-top:6px}
.messages-overview .conversation h3{font-size:20px;margin:16px 0 0;line-height:1.3}
.messages-overview .conversation .portal-form{margin:10px 0 0;gap:10px}
.messages-overview .conversation .field{min-width:0;gap:5px}
.messages-overview .conversation .field>span{font-size:12px;color:#776651;font-weight:600}
.messages-overview .conversation .portal-form textarea{box-sizing:border-box;width:100%;min-width:0;max-width:100%;height:88px;min-height:88px;padding:10px 12px;border:1px solid #dfd4c5;border-radius:9px;font-size:14px;line-height:1.5;background:#fffefa;resize:vertical}
.messages-overview .conversation .portal-form textarea:focus-visible{outline:2px solid #b78950;outline-offset:2px}
.messages-overview .conversation .portal-form>.muted{font-size:11px;margin:0}
.messages-overview .conversation .portal-form>.btn{width:auto;min-height:42px;padding:10px 16px;font-size:12px;border-radius:9px;letter-spacing:.03em}
.messages-overview .conversation-pages{gap:10px;margin:14px 0;font-size:12px;line-height:1.5}
@media(max-width:650px){
 .portal-wrap .messages-heading h1{font-size:29px}
 .portal-wrap .messages-overview>.panel{padding:14px}
 .messages-list-heading h2{font-size:22px}
 .messages-overview .conversation-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
 .messages-overview .conversation-filters .secondary{min-height:44px;padding:10px 4px;font-size:11px;text-align:center;display:flex;align-items:center;justify-content:center}
 .messages-overview .conversation-row{align-items:start;gap:9px;padding:12px 10px}
 .messages-overview .conversation-row-status{max-width:105px;gap:6px}
 .messages-overview .conversation-row-status time{white-space:normal;text-align:right;line-height:1.5;font-size:9px}
 .messages-overview .conversation-row strong{font-size:13px}
 .messages-overview .conversation-row .messages-preview{font-size:11px}
 .messages-overview .conversation-heading{flex-wrap:wrap;gap:8px}
 .messages-overview .conversation-heading h2{font-size:22px}
 .messages-overview .chat-log{height:340px;max-height:52dvh;padding:10px}
 .messages-overview .chat-log .conversation-message{max-width:94%;padding:11px 12px}
 .messages-overview .conversation .portal-form textarea{font-size:16px}
 .messages-overview .conversation .portal-form>.btn{width:100%;min-height:44px}
}

/* Samlet og kompakt notifikationsoverblik. */
.notifications-overview{max-width:1050px;min-width:0;margin:0 auto}
.notifications-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 16px}
.notifications-heading .eyebrow{font-size:10px;letter-spacing:.14em;margin-bottom:5px}
.portal-wrap .notifications-heading h1{font-size:32px;line-height:1.2;margin:0 0 7px}
.notifications-heading p{font-size:13px;line-height:1.5;color:#7c6d5b;margin:0}
.notifications-total{padding:6px 10px;border:1px solid #dfc7a5;border-radius:8px;background:#f3e6d3;color:#805c31;font-size:11px;font-weight:600;white-space:nowrap}
.notifications-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:0 0 16px}
.notifications-summary a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 16px;border:1px solid #e5d7c3;border-radius:11px;background:#f4ecdf;color:#806748;text-decoration:none}
.notifications-summary a:hover{background:#eddfca;border-color:#c5a477}
.notifications-summary a:focus-visible,.notification-extra:focus-visible{outline:2px solid #805431;outline-offset:2px}
.notifications-summary a>span{font-size:12px;font-weight:600;line-height:1.4}
.notifications-summary strong{font-size:23px;line-height:1;font-weight:600;color:#664a29;font-variant-numeric:tabular-nums}
.portal-wrap .notifications-overview .notification-section{padding:18px;margin:0 0 14px;border-radius:13px;background:#fff;scroll-margin-top:90px;box-shadow:0 3px 16px #392b1905}
.notification-section-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}
.notification-section-heading h2{font-size:23px;line-height:1.3;margin:0}
.notification-section-heading>span{font-size:10px;padding:4px 7px;border-radius:6px;background:#f4ede2;color:#8a7152;white-space:nowrap}
.notification-hint{font-size:12px;line-height:1.5;margin:0 0 12px;color:#8a7963}
.notification-empty{padding:16px 12px;border:1px dashed #e7ddcf;border-radius:9px;background:#fdfbf8;color:#94816a;text-align:center;font-size:12px}
.notification-extra{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;margin-top:8px;border:1px solid #e9dfd1;border-left:3px solid #b38952;border-radius:9px;background:#fcf9f3;color:#5d4a32;text-decoration:none}
.notification-extra:hover{background:#f7eedf;border-color:#cfb28b}
.notification-extra>div{display:grid;gap:4px;min-width:0}
.notification-extra strong{font-size:14px;line-height:1.4;font-weight:600;overflow-wrap:anywhere}
.notification-extra>div>span{font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.notification-extra small{font-size:11px;color:#97856b}
.notification-state{display:inline-block;font-size:10px;font-weight:600;line-height:1.4;padding:4px 7px;border-radius:6px;background:#f2e8d9;color:#82613a;white-space:nowrap}
.notification-state.late{background:#f8e7dc;color:#974e31}.notification-state.timely{background:#edf1e7;color:#536342}
.notification-item{padding:13px 14px;border:1px solid #e9e0d4;border-radius:10px;background:#fdfbf8;margin-top:9px;min-width:0}
.notification-item-heading{display:flex;align-items:start;justify-content:space-between;gap:10px;margin-bottom:9px}
.notification-item-heading h3{font-size:20px;line-height:1.3;margin:0;overflow-wrap:anywhere}
.notification-facts{display:flex;flex-wrap:wrap;gap:8px 24px}
.notification-facts>span{display:flex;flex-direction:column;gap:3px;color:#958167;font-size:10px;line-height:1.5}
.notification-facts strong{font-size:12px;font-weight:500;color:#68553f;font-variant-numeric:tabular-nums}
.notification-note{font-size:12px;line-height:1.6;margin:10px 0;color:#7d6b55;overflow-wrap:anywhere}
.notification-warning{font-size:11px;color:#9a5838;margin:9px 0;line-height:1.5}
.notification-actions{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-top:11px;padding-top:10px;border-top:1px solid #eee5d8}
.notifications-overview .notification-actions .portal-form{display:block;margin:0}
.notifications-overview .notification-actions .secondary,.notifications-overview .notification-actions .portal-form>.secondary{min-height:38px;padding:8px 11px;font-size:11px;border-radius:8px;width:auto;box-sizing:border-box}
.notification-actions .portal-form>.secondary{background:#f3e7d5;border-color:#d8bd96;color:#76522d}
@media(max-width:650px){
 .portal-wrap .notifications-heading h1{font-size:29px}
 .notifications-heading{align-items:start}
 .notifications-heading p{font-size:12px}
 .notifications-total{font-size:10px;padding:5px 7px;margin-top:6px}
 .notifications-summary{gap:6px}
 .notifications-summary a{flex-direction:column;align-items:start;gap:8px;padding:11px 10px;min-height:44px;box-sizing:border-box}
 .notifications-summary a>span{font-size:11px}
 .notifications-summary strong{font-size:22px}
 .portal-wrap .notifications-overview .notification-section{padding:14px}
 .notification-section-heading h2{font-size:21px}
 .notification-extra{flex-direction:column;align-items:start;gap:8px;padding:11px}
 .notification-item{padding:11px}
 .notification-item-heading h3{font-size:19px}
 .notification-item-heading .notification-state{max-width:48%;white-space:normal;text-align:center}
 .notification-facts{gap:8px 16px}
 .notifications-overview .notification-actions .secondary,.notifications-overview .notification-actions .portal-form>.secondary{min-height:44px;padding:10px 11px;font-size:12px}
}

/* Tilbudsforespørgsler i samme kompakte administrationsdesign. */
.offer-overview.offer-admin{max-width:1050px;min-width:0}
.offer-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 16px}
.offer-heading .eyebrow{font-size:10px;letter-spacing:.14em;margin-bottom:5px}
.portal-wrap .offer-admin .offer-heading h1{font-size:32px;line-height:1.2;margin:0 0 7px}
.offer-admin .offer-heading p{font-size:13px;line-height:1.5;margin:0;color:#7c6d5b}
.offer-count{padding:6px 9px;border-radius:8px;background:#f2e7d6;color:#82613a;font-size:11px;white-space:nowrap}
.offer-admin .offer-filters{gap:6px;margin:0 0 16px}
.offer-admin .offer-filters .secondary{min-height:40px;padding:9px 13px;border-radius:9px;background:#fcfaf6;color:#79664e;border-color:#e7ddcf;font-size:12px;width:auto;text-align:center;box-sizing:border-box}
.offer-admin .offer-filters [aria-current=page]{background:#f3e7d6;border-color:#cba676;color:#664523}
.portal-wrap .offer-admin .offer-request{padding:15px 18px;margin:10px 0;border-radius:12px;background:#fff;box-shadow:0 2px 10px #392b1904}
.offer-admin .offer-request>summary{position:relative;display:flex;align-items:center;justify-content:space-between;gap:14px;list-style:none;padding-right:20px;line-height:1.5}
.offer-admin .offer-request>summary::-webkit-details-marker{display:none}
.offer-admin .offer-request>summary::after{content:'+';position:absolute;right:0;top:50%;transform:translateY(-50%);font:21px/1 Arial,sans-serif;color:#a38256}
.offer-admin .offer-request[open]>summary::after{content:'−'}
.offer-admin .offer-request[open]>summary{padding-bottom:13px;margin-bottom:14px;border-bottom:1px solid #eee4d6}
.offer-admin .offer-request>summary:focus-visible,.offer-admin .offer-filters a:focus-visible{outline:2px solid #805431;outline-offset:4px}
.offer-admin .offer-request .offer-summary-main{display:grid;gap:3px;min-width:0}
.offer-summary-main>strong{font-size:14px;font-weight:600;color:#493b2b;overflow-wrap:anywhere}
.offer-admin .offer-request summary small{font-size:11px;color:#9a856b;font-weight:400}
.offer-summary-location{font-size:11px;color:#806a4e;font-weight:400}
.offer-admin .offer-request .offer-summary-status{display:flex;flex-direction:column;align-items:flex-end;gap:5px;flex-shrink:0}
.offer-state{font-size:10px;font-weight:600;padding:4px 7px;border-radius:6px;line-height:1.4;background:#f2e8d9;color:#82613a;white-space:nowrap}
.offer-state.new{background:#f1dfc3;color:#825b2d}.offer-state.closed{background:#edf1e7;color:#536342}
.offer-admin .offer-request summary .offer-mail-pending{font-size:10px;color:#9a643e}
.offer-admin .offer-details{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 18px;margin:0}
.offer-admin .offer-details>div{min-width:0}
.offer-admin .offer-details dt{font-size:11px;color:#8d795f}
.offer-admin .offer-details dd{font-size:13px;line-height:1.5;margin-top:3px;color:#52432f;overflow-wrap:anywhere}
.offer-admin .offer-request h2{font-size:21px;line-height:1.3;margin:18px 0 7px}
.offer-admin .offer-request>p{font-size:13px;line-height:1.65;margin:0 0 13px;color:#75644e;overflow-wrap:anywhere}
.offer-admin .offer-mail-status{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px;padding:12px 14px;margin:14px 0;background:#f8f3ea;border:1px solid #eadecd;border-radius:10px}
.offer-admin .offer-mail-status p{font-size:11px;line-height:1.5;color:#8a7559;margin:0}
.offer-mail-status strong{display:block;font-size:12px;font-weight:600;color:#6c5436;margin-top:3px}
.offer-mail-status>small{grid-column:1/-1;font-size:10px;line-height:1.55;color:#9c8a70}
.offer-admin .offer-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:14px 0 0}
.offer-admin .offer-actions .portal-form{display:block;margin:0}
.offer-admin .offer-request .btn,.offer-admin .offer-request .secondary{min-height:40px;width:auto;padding:9px 13px;font-size:12px;border-radius:8px;letter-spacing:.02em;box-sizing:border-box;text-align:center}
.offer-admin .offer-delete{padding-top:11px;margin-top:15px;border-color:#eee4d6}
.offer-admin .offer-delete summary{font-size:11px;color:#998269;font-weight:500}
.offer-admin .offer-delete p{font-size:11px;line-height:1.65;color:#8a765c;margin:8px 0}
.offer-admin .offer-delete .portal-form{margin:10px 0 0}
.offer-admin>.muted{font-size:11px;line-height:1.6;margin-top:15px}
.offer-admin>.notice{font-size:12px;line-height:1.6;padding:11px 13px;border-radius:9px}
.offer-empty{padding:26px 14px;border:1px dashed #e6dccd;border-radius:10px;background:#fdfbf8;text-align:center;font-size:13px;color:#84735f}
@media(max-width:650px){
 .offer-heading{align-items:start;flex-direction:column;gap:10px}
 .portal-wrap .offer-admin .offer-heading h1{font-size:29px;overflow-wrap:anywhere}
 .offer-admin .offer-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
 .offer-admin .offer-filters .secondary{min-height:44px;font-size:11px;padding:10px 4px;display:flex;align-items:center;justify-content:center}
 .portal-wrap .offer-admin .offer-request{padding:13px 12px}
 .offer-admin .offer-request>summary{gap:10px;padding-right:17px}
 .offer-summary-main>strong{font-size:13px}
 .offer-admin .offer-request summary small{font-size:10px}
 .offer-state{font-size:9px;padding:4px 6px}
 .offer-admin .offer-details{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .offer-admin .offer-details dd{font-size:13px}
 .offer-admin .offer-request h2{font-size:20px}
 .offer-admin .offer-mail-status{grid-template-columns:minmax(0,1fr);padding:11px}
 .offer-admin .offer-actions{align-items:stretch;flex-direction:column;gap:7px}
 .offer-admin .offer-actions .portal-form{width:100%}
 .offer-admin .offer-request .btn,.offer-admin .offer-request .secondary{min-height:44px}
 .offer-admin .offer-actions .btn,.offer-admin .offer-actions .secondary{width:100%}
}

/* Brugere og kunder: to faner og kompakte kontokort. */
.users-overview{max-width:1050px;min-width:0;margin:0 auto}
.users-heading{margin:0 0 16px}
.users-heading .eyebrow{font-size:10px;letter-spacing:.14em;margin-bottom:5px}
.portal-wrap .users-heading h1{font-size:32px;line-height:1.2;margin:0 0 7px}
.users-heading p{font-size:13px;line-height:1.5;color:#7c6d5b;margin:0}
.users-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;max-width:460px;margin:0 0 15px;padding:4px;border:1px solid #dfd1bd;border-radius:12px;background:#eee5d6}
.users-tabs a{display:flex;align-items:center;justify-content:center;gap:9px;min-height:42px;padding:8px 12px;box-sizing:border-box;border:1px solid transparent;border-radius:8px;color:#79664e;text-decoration:none;font-size:13px;font-weight:600}
.users-tabs a[aria-current=page]{background:#fffdf9;border-color:#dec8a9;color:#604424;box-shadow:0 2px 6px #30271e0a}
.users-tab-count{display:inline-flex;justify-content:center;align-items:center;min-width:21px;height:21px;padding:0 4px;box-sizing:border-box;border-radius:6px;background:#f5ede0;font-size:11px;color:#8a6e47}
.users-tabs a:focus-visible,.users-overview summary:focus-visible{outline:2px solid #805431;outline-offset:3px}
.portal-wrap .users-overview>.panel{padding:15px 18px;margin:10px 0;border-radius:12px;background:#fff;box-shadow:0 2px 10px #392b1904}
.users-overview>.users-create{border-color:#ddc7a7;background:#fcf8f0}
.users-overview>.users-create>summary{font-size:13px;color:#80613a;font-weight:600;min-height:24px;line-height:1.8}
.users-list-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:20px 0 11px}
.users-list-heading h2{font-size:23px;line-height:1.3;margin:0}
.users-list-heading>span{font-size:11px;color:#927e64}
.users-overview .user-panel>summary{display:flex;align-items:center;justify-content:space-between;position:relative;gap:12px;padding-right:18px;list-style:none;line-height:1.5}
.users-overview .user-panel>summary::-webkit-details-marker{display:none}
.users-overview .user-panel>summary::after{content:'+';position:absolute;right:0;top:50%;transform:translateY(-50%);font:21px/1 Arial,sans-serif;color:#a38256}
.users-overview .user-panel[open]>summary::after{content:'−'}
.users-overview .user-panel[open]>summary{padding-bottom:13px;margin-bottom:12px;border-bottom:1px solid #eee4d6}
.users-overview .user-panel summary span{margin-right:0}
.user-summary-main{display:grid;gap:3px;min-width:0}
.user-summary-main>strong{font-size:14px;font-weight:600;line-height:1.4;color:#493b2b;overflow-wrap:anywhere}
.user-summary-main>small{font-size:11px;color:#9a856b;font-weight:400;overflow-wrap:anywhere}
.user-role-label{font-size:11px;font-weight:400;color:#806a4e;overflow-wrap:anywhere}
.user-access-state{display:inline-block;flex-shrink:0;padding:4px 7px;border-radius:6px;font-size:10px;font-weight:600;line-height:1.4;background:#edf1e7;color:#536342}
.user-access-state.inactive{background:#f2ece2;color:#948068}
.users-overview .user-contact{font-size:12px;color:#8d795f;line-height:1.6;margin:0 0 12px;overflow-wrap:anywhere}
.users-overview .user-panel h2{font-size:22px;line-height:1.3;margin:18px 0 7px}
.users-overview .user-panel p,.users-overview .users-create p{font-size:12px;line-height:1.65;color:#83715a;overflow-wrap:anywhere}
.users-overview .user-panel .panel{padding:13px 14px;margin:10px 0;border-radius:10px;background:#fdfbf7}
.users-overview .panel>summary,.users-overview .password-reset>summary{font-size:12px;line-height:1.6;color:#776044;font-weight:600;overflow-wrap:anywhere}
.users-overview .panel[open]>summary{margin-bottom:12px}
.users-overview .portal-form{gap:12px;margin:14px 0 0;min-width:0}
.users-overview .portal-form .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0}
.users-overview .field{min-width:0;gap:5px}
.users-overview .field>span{font-size:12px;line-height:1.4;font-weight:600;color:#776651}
.users-overview .portal-form input:not([type=checkbox]):not([type=hidden]),.users-overview .portal-form select,.users-overview .portal-form textarea{box-sizing:border-box;width:100%;min-width:0;max-width:100%;min-height:40px;padding:9px 11px;border:1px solid #dfd4c5;border-radius:9px;background:#fffefa;color:#302a23;font:14px/1.4 Arial,sans-serif}
.users-overview .portal-form textarea{height:80px;min-height:80px;resize:vertical}
.users-overview .portal-form fieldset{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px;border:1px solid #e6dac8;border-radius:10px;background:#fbf7f0;min-width:0}
.users-overview .portal-form fieldset[hidden]{display:none}
.users-overview .portal-form legend{padding:0 6px;font-size:12px;color:#8a6e47}
.users-overview fieldset>p,.users-overview fieldset>fieldset,.users-overview fieldset>.form-grid,.users-overview fieldset>.field:has(textarea){grid-column:1/-1}
.users-overview .role-options .check-row{font-size:12px;line-height:1.5;gap:8px;margin:0}
.users-overview .check-row input[type=checkbox]{width:18px;height:18px;flex-shrink:0;accent-color:#a17743}
.users-overview .portal-form input:focus-visible,.users-overview .portal-form select:focus-visible,.users-overview .portal-form textarea:focus-visible{outline:2px solid #b78950;outline-offset:2px}
.users-overview .portal-form>.btn,.users-overview .portal-form>.secondary,.users-overview .inline-form>.secondary,.users-overview .user-panel p>.secondary{min-height:40px;width:auto;padding:9px 13px;font-size:12px;border-radius:8px;letter-spacing:.02em;box-sizing:border-box}
.users-overview .inline-form{gap:8px;margin:12px 0}
.users-overview .password-reset{border-top:1px solid #eee4d6;margin-top:12px;padding-top:10px}
.users-empty{padding:26px 14px;border:1px dashed #e6dccd;border-radius:10px;background:#fdfbf8;text-align:center;font-size:13px;color:#84735f}
@media(max-width:650px){
 .portal-wrap .users-heading h1{font-size:29px}
 .users-tabs{max-width:none}
 .users-tabs a{min-height:44px;font-size:12px}
 .users-list-heading{align-items:start;gap:8px}
 .users-list-heading h2{font-size:22px}
 .users-list-heading>span{font-size:10px;max-width:135px;text-align:right;line-height:1.5}
 .portal-wrap .users-overview>.panel{padding:14px}
 .user-summary-main>strong{font-size:13px}
 .users-overview .user-panel .panel{padding:12px}
 .users-overview .portal-form .form-grid{grid-template-columns:minmax(0,1fr);gap:10px}
 .users-overview .portal-form fieldset{grid-template-columns:minmax(0,1fr);padding:12px;gap:10px}
 .users-overview .portal-form fieldset.role-options{grid-template-columns:repeat(2,minmax(0,1fr))}
 .users-overview .portal-form input:not([type=checkbox]):not([type=hidden]),.users-overview .portal-form select,.users-overview .portal-form textarea{font-size:16px;min-height:44px;padding:10px}
 .users-overview .portal-form>.btn,.users-overview .portal-form>.secondary,.users-overview .inline-form>.secondary,.users-overview .user-panel p>.secondary{min-height:44px;font-size:12px}
 .users-overview .portal-form>.btn{width:100%}
}

/* Ejerens interne opfølgningsnoter på tilbudsforespørgsler. */
.offer-admin .offer-request{scroll-margin-top:90px}
.offer-admin .offer-notes{padding:13px 14px;margin:14px 0;border:1px solid #e4d5bf;border-radius:10px;background:#fcf8f0}
.offer-notes-heading{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:5px 12px}
.offer-admin .offer-notes-heading h2{font-size:20px;margin:0;line-height:1.3}
.offer-notes-heading>small{font-size:10px;color:#9a856b}
.offer-admin .offer-notes>p{font-size:11px;line-height:1.5;margin:5px 0 10px;color:#8a7559}
.offer-admin .offer-note-form{display:grid;gap:9px;margin:0}
.offer-note-form .field{gap:5px;min-width:0}
.offer-note-form .field>span{font-size:11px;color:#80694c}
.offer-admin .offer-note-form textarea{box-sizing:border-box;width:100%;min-width:0;max-width:100%;height:176px;min-height:176px;padding:10px 12px;border:1px solid #dfd4c5;border-radius:9px;background:#fffefa;color:#302a23;font:14px/1.5 Arial,sans-serif;resize:vertical}
.offer-note-form textarea:focus-visible{outline:2px solid #b78950;outline-offset:2px}
.offer-admin .offer-note-form>.secondary{justify-self:start;background:#f1e4cf;border-color:#d8bd96;color:#76522d}
.offer-admin .offer-request summary .offer-note-indicator{font-size:10px;color:#8b704c}
@media(max-width:650px){.offer-admin .offer-notes{padding:11px}.offer-admin .offer-note-form textarea{font-size:16px}.offer-admin .offer-note-form>.secondary{width:100%;min-height:44px}}

/* Ekstra services: kompakt katalog med redigering efter behov. */
.extras-overview{max-width:1050px;min-width:0;margin:0 auto}
.extras-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 16px}
.extras-heading .eyebrow{font-size:10px;letter-spacing:.14em;margin-bottom:5px}
.portal-wrap .extras-heading h1{font-size:32px;line-height:1.2;margin:0 0 7px}
.extras-heading p{font-size:13px;line-height:1.5;color:#7c6d5b;margin:0}
.extras-count{padding:6px 9px;border-radius:8px;background:#f2e7d6;color:#82613a;font-size:11px;white-space:nowrap}
.portal-wrap .extras-overview>.panel{padding:15px 18px;margin:10px 0;border-radius:12px;background:#fff;box-shadow:0 2px 10px #392b1904}
.extras-overview .extras-create>summary{font-size:13px;color:#80613a;font-weight:600;line-height:1.8}
.extras-overview .extras-create{border-color:#ddc7a7}
.extras-order-hint{font-size:11px;line-height:1.6;color:#927c5f;margin:13px 0}
.extra-service>summary{position:relative;display:flex;align-items:center;justify-content:space-between;gap:20px;list-style:none;padding-right:20px;line-height:1.5}
.extra-service>summary::-webkit-details-marker{display:none}
.extra-service>summary::after{content:'+';position:absolute;right:0;top:50%;transform:translateY(-50%);font:21px/1 Arial,sans-serif;color:#a38256}
.extra-service[open]>summary::after{content:'−'}
.extra-service[open]>summary{padding-bottom:13px;margin-bottom:14px;border-bottom:1px solid #eee4d6}
.extra-service-main{min-width:0;display:grid;gap:5px}
.extra-service-main>strong{font-size:14px;line-height:1.4;font-weight:600;color:#493b2b;overflow-wrap:anywhere}
.extras-overview .extra-service-main .extra-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;font-size:12px;line-height:1.5;color:#927e63;margin:0;white-space:normal;overflow-wrap:anywhere}
.extra-service-meta{display:flex;flex-direction:column;align-items:flex-end;gap:5px;flex-shrink:0}
.extra-service-meta>strong{font-size:13px;line-height:1.4;color:#886037;font-weight:600;font-variant-numeric:tabular-nums}
.extra-service-state{display:inline-block;font-size:10px;line-height:1.4;font-weight:600;padding:4px 7px;border-radius:6px;background:#edf1e7;color:#536342}
.extra-service-state.hidden{background:#f2ece2;color:#948068}
.extras-overview summary:focus-visible{outline:2px solid #805431;outline-offset:3px}
.extras-overview .extra-edit-form,.extras-overview .extras-create .portal-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:none;min-width:0;margin:14px 0 0}
.extras-overview .field{min-width:0;gap:5px}
.extras-overview .field>span{font-size:12px;line-height:1.4;color:#776651;font-weight:600}
.extras-overview .extra-edit-form>.field:has([name=name]),.extras-overview .extra-edit-form>.field:has(textarea),.extras-overview .extra-edit-form>button,.extras-overview .extras-create .portal-form>.field:has([name=name]),.extras-overview .extras-create .portal-form>.field:has(textarea),.extras-overview .extras-create .portal-form>button{grid-column:1/-1}
.extras-overview label:has(select[name=price_unit]){display:grid;gap:5px;min-width:0;font-size:12px;line-height:1.4;color:#776651;font-weight:600}
.extras-overview .extra-edit-form input,.extras-overview .extra-edit-form select,.extras-overview .extra-edit-form textarea,.extras-overview .extras-create .portal-form input,.extras-overview .extras-create .portal-form select,.extras-overview .extras-create .portal-form textarea{box-sizing:border-box;width:100%;min-width:0;max-width:100%;min-height:40px;padding:9px 11px;border:1px solid #dfd4c5;border-radius:9px;background:#fffefa;color:#302a23;font:14px/1.4 Arial,sans-serif}
.extras-overview .extra-edit-form textarea,.extras-overview .extras-create .portal-form textarea{height:80px;min-height:80px;resize:vertical}
.extras-overview input:focus-visible,.extras-overview select:focus-visible,.extras-overview textarea:focus-visible{outline:2px solid #b78950;outline-offset:2px}
.extras-overview .secondary,.extras-overview .btn{min-height:40px;width:auto;padding:9px 13px;font-size:12px;border-radius:8px;letter-spacing:.02em;box-sizing:border-box}
.extras-overview .extra-edit-form>button,.extras-overview .extras-create .portal-form>button{justify-self:start}
.extra-service-actions{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;margin-top:14px;padding-top:12px;border-top:1px solid #eee4d6}
.extras-overview .extra-service-actions .inline-form{margin:0;gap:6px}
.extras-empty{padding:26px 14px;border:1px dashed #e6dccd;border-radius:10px;background:#fdfbf8;text-align:center;font-size:13px;color:#84735f}
@media(max-width:650px){
 .extras-heading{align-items:start;flex-direction:column;gap:10px}
 .portal-wrap .extras-heading h1{font-size:29px}
 .portal-wrap .extras-overview>.panel{padding:14px}
 .extra-service>summary{gap:12px;padding-right:17px}
 .extra-service-main>strong{font-size:13px}
 .extras-overview .extra-service-main .extra-description{font-size:11px}
 .extra-service-meta>strong{font-size:12px}
 .extras-overview .extra-edit-form,.extras-overview .extras-create .portal-form{gap:10px}
 .extras-overview .extra-edit-form input,.extras-overview .extra-edit-form select,.extras-overview .extra-edit-form textarea,.extras-overview .extras-create .portal-form input,.extras-overview .extras-create .portal-form select,.extras-overview .extras-create .portal-form textarea{font-size:16px;min-height:44px;padding:10px}
 .extras-overview .secondary,.extras-overview .btn{min-height:44px;font-size:12px}
 .extras-overview .extra-edit-form>button,.extras-overview .extras-create .portal-form>button{width:100%;justify-self:stretch}
 .extra-service-actions{gap:10px}
}

/* Oprydning: kompakt overblik, bevaring og dokumentation. */
.retention-overview{max-width:1050px;min-width:0;margin:0 auto}
.retention-overview .retention-heading{margin:0 0 16px}
.retention-heading .eyebrow{font-size:10px;letter-spacing:.14em;margin-bottom:5px}
.portal-wrap .retention-heading h1{font-size:32px;line-height:1.2;margin:0 0 7px}
.retention-heading p{font-size:13px;line-height:1.5;color:#7c6d5b;margin:0}
.portal-wrap .retention-overview>.panel{padding:18px;margin:0 0 14px;border-radius:13px;background:#fff;box-shadow:0 3px 16px #392b1905;scroll-margin-top:90px}
.retention-overview .panel h2{font-size:23px;line-height:1.3;margin:0 0 9px}
.retention-overview .panel h3{font-size:20px;line-height:1.3;margin:17px 0 8px}
.retention-overview .panel p,.retention-overview .panel li{font-size:12px;line-height:1.65;color:#83715a}
.retention-overview .panel p{margin:0 0 10px;overflow-wrap:anywhere}
.retention-overview .panel ul{padding-left:20px;margin:10px 0}
.retention-overview .panel li{margin-bottom:7px}
.retention-overview .panel>summary{font-size:13px;color:#776044;font-weight:600;line-height:1.6}
.retention-overview .panel[open]>summary{margin-bottom:12px}
.retention-overview .retention-offers{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#fcf8f0;border-color:#e3d4bd}
.retention-overview .retention-offers h2{font-size:21px;margin:0 0 5px}
.retention-overview .retention-offers p{margin:0}
.retention-offers .secondary{white-space:nowrap;flex-shrink:0}
.retention-navigation{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;max-width:620px;margin:0 0 14px}
.retention-navigation a{display:flex;align-items:center;justify-content:center;min-height:40px;box-sizing:border-box;padding:8px 12px;border:1px solid #e5d7c3;border-radius:9px;background:#f4ecdf;color:#806748;text-decoration:none;font-size:12px;font-weight:600;text-align:center;line-height:1.4}
.retention-navigation a:hover{background:#eddfca;border-color:#c5a477}
.retention-navigation a:focus-visible,.retention-overview summary:focus-visible,.retention-overview .conversation-row:focus-visible{outline:2px solid #805431;outline-offset:3px}
.retention-overview .retention-list .conversation-row{padding:12px 14px;margin:8px 0 0;gap:14px;border-radius:9px;background:#fdfbf8;border-color:#e9e0d4}
.retention-overview .retention-list .conversation-row>div{min-width:0;flex:1}
.retention-overview .retention-list .conversation-row strong{font-size:14px;font-weight:600;color:#493b2b;line-height:1.4}
.retention-overview .retention-list .conversation-row>div>span{font-size:11px;color:#948067;line-height:1.5;margin-top:4px;overflow-wrap:anywhere}
.retention-overview .retention-list .conversation-row>span{font-size:10px;line-height:1.4;margin:0;padding:4px 7px;border-radius:6px;background:#f2e7d6;color:#82613a;flex-shrink:0}
.retention-overview .retention-message{padding:12px 14px;margin:10px 0;border-radius:10px;border-color:#e9dfd1;background:#fcf9f3}
.retention-overview .retention-message>strong{font-size:13px;color:#665035;overflow-wrap:anywhere}
.retention-overview .retention-message p{font-size:12px;line-height:1.65;margin:8px 0 0}
.retention-overview .retention-hold,.retention-overview .retention-guidance{padding:11px 12px;margin:10px 0;border:1px solid #e9dfd1;border-radius:9px;background:#fcf9f3}
.retention-overview .retention-hold>summary,.retention-overview .retention-guidance>summary{font-size:12px;font-weight:600;line-height:1.5;color:#80684a;overflow-wrap:anywhere}
.retention-overview .portal-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin:13px 0 0;min-width:0}
.retention-overview .portal-form>fieldset,.retention-overview .portal-form>p,.retention-overview .portal-form>.check-row,.retention-overview .portal-form>button,.retention-overview .portal-form>.field:has(textarea){grid-column:1/-1}
.retention-overview .portal-form fieldset{min-width:0;padding:12px;border:1px solid #e4d6c2;border-radius:10px;gap:10px}
.retention-overview .portal-form legend{font-size:12px;color:#8a6e47;padding:0 6px}
.retention-overview .field{min-width:0;gap:5px}
.retention-overview .field>span{font-size:12px;font-weight:600;line-height:1.4;color:#776651}
.retention-overview .portal-form input:not([type=checkbox]):not([type=hidden]),.retention-overview .portal-form select,.retention-overview .portal-form textarea{box-sizing:border-box;width:100%;min-width:0;max-width:100%;min-height:40px;padding:9px 11px;border:1px solid #dfd4c5;border-radius:9px;background:#fffefa;color:#302a23;font:14px/1.4 Arial,sans-serif}
.retention-overview .portal-form textarea{height:80px;min-height:80px;resize:vertical}
.retention-overview .portal-form input:focus-visible,.retention-overview .portal-form select:focus-visible,.retention-overview .portal-form textarea:focus-visible{outline:2px solid #b78950;outline-offset:2px}
.retention-overview .portal-form input[type=checkbox]{width:18px;height:18px;flex-shrink:0;accent-color:#a17743;margin-top:2px}
.retention-overview .check-row{align-items:start;gap:8px;font-size:12px;line-height:1.6}
.retention-overview .secondary,.retention-overview .portal-form>.secondary{min-height:40px;width:auto;padding:9px 12px;font-size:12px;border-radius:8px;box-sizing:border-box;justify-self:start}
.retention-overview .notice{font-size:12px;line-height:1.6;padding:10px 12px;margin:10px 0;border-radius:9px}
.retention-overview .conversation-pages{font-size:12px;line-height:1.5;margin:14px 0;gap:10px}
@media(max-width:650px){
 .portal-wrap .retention-heading h1{font-size:29px;overflow-wrap:anywhere}
 .portal-wrap .retention-overview>.panel{padding:14px}
 .retention-overview .retention-offers{flex-direction:column;align-items:start;gap:10px}
 .retention-navigation{max-width:none;gap:5px}
 .retention-navigation a{font-size:11px;min-height:44px;padding:9px 5px}
 .retention-overview .retention-list .conversation-row{align-items:start;padding:11px 10px;gap:8px}
 .retention-overview .retention-list .conversation-row strong{font-size:13px}
 .retention-overview .retention-list .conversation-row>span{max-width:85px;text-align:center}
 .retention-overview .portal-form{grid-template-columns:minmax(0,1fr);gap:10px}
 .retention-overview .portal-form input:not([type=checkbox]):not([type=hidden]),.retention-overview .portal-form select,.retention-overview .portal-form textarea{font-size:16px;min-height:44px;padding:10px}
 .retention-overview .secondary,.retention-overview .portal-form>.secondary{min-height:44px;font-size:12px}
 .retention-overview .portal-form>.secondary{width:100%;justify-self:stretch}
}

/* Tilbudsforløb og manuel statusopfølgning. */
.offer-status-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 12px}
.offer-metric{display:flex;flex-direction:column;gap:7px;min-width:0;padding:14px 15px;border:1px solid #e3d5c1;border-radius:11px;background:#faf6ef;color:#806748;text-decoration:none}
.offer-metric>span{font-size:12px;font-weight:600;line-height:1.4}
.offer-metric>strong{font-size:26px;font-weight:600;line-height:1.1;color:#6b4b27;font-variant-numeric:tabular-nums}
.offer-metric>small{font-size:10px;line-height:1.5;color:#9b876c}
.offer-metric[aria-current=page]{background:#f1e3cd;border-color:#bb9563;box-shadow:0 0 0 1px #bb956320}
.offer-metric.accepted>strong{color:#5a7046}.offer-metric.rejected>strong{color:#936a54}
.offer-metric:hover{border-color:#b58a53}
.offer-metric:focus-visible{outline:2px solid #805431;outline-offset:2px}
.offer-results-summary{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 18px;margin:0 0 14px;padding:11px 13px;background:#fffdf9;border:1px solid #e9dece;border-radius:9px;font-size:12px;line-height:1.6;color:#7d684c}
.offer-results-summary strong{color:#6d4b25;font-variant-numeric:tabular-nums}
.offer-results-summary small{font-size:10px;color:#9b876c}
.offer-legacy-hint{font-size:11px;line-height:1.6;color:#9b7750;margin:0 0 13px}
.offer-state.sent{background:#f4e6cd;color:#8a612d}.offer-state.accepted{background:#edf1e7;color:#536342}.offer-state.rejected{background:#f5e9e2;color:#94634c}
.offer-admin .offer-status-editor{border:1px solid #e4d5bf;border-radius:10px;background:#fcf8f0;padding:13px 14px;margin:14px 0}
.offer-admin .offer-status-editor h2{font-size:20px;margin:0 0 5px}
.offer-status-editor>p{font-size:11px;line-height:1.6;color:#8a7559;margin:0 0 10px}
.offer-admin .offer-status-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;margin:0}
.offer-status-form .field{min-width:0;gap:5px}
.offer-status-form .field>span{font-size:11px;color:#80694c}
.offer-status-form select{box-sizing:border-box;width:100%;min-width:0;max-width:100%;min-height:40px;padding:9px 11px;border:1px solid #dfd4c5;border-radius:9px;background:#fffefa;color:#302a23;font:14px/1.4 Arial,sans-serif}
.offer-status-form select:focus-visible{outline:2px solid #b78950;outline-offset:2px}
.offer-admin .offer-status-form>.secondary{min-height:40px;padding:9px 13px;margin:0;background:#f1e4cf;border-color:#d8bd96;color:#76522d;width:auto}
@media(max-width:650px){
 .offer-status-overview{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .offer-metric{padding:12px;gap:6px}
 .offer-metric>span{font-size:11px}
 .offer-metric>strong{font-size:24px}
 .offer-results-summary{flex-direction:column;align-items:start;font-size:11px;padding:10px 12px;gap:7px}
 .offer-admin .offer-filters{grid-template-columns:repeat(3,minmax(0,1fr))}
 .offer-admin .offer-status-editor{padding:11px}
 .offer-admin .offer-status-form{grid-template-columns:minmax(0,1fr)}
 .offer-status-form select{min-height:44px;font-size:16px;padding:10px}
 .offer-admin .offer-status-form>.secondary{min-height:44px;width:100%}
}

/* Monthly recurring workload on the owner's customer tab. */
.users-hours-summary{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:16px 0;padding:18px 20px;border:1px solid #e5d5bf;border-radius:14px;background:#f7efe3}
.users-hours-summary>div{display:grid;gap:6px;min-width:0}.users-hours-summary>div>span{font-size:12px;color:#77634e}.users-hours-summary strong{font-size:26px;line-height:1.25;color:#30291f;font-weight:600}.users-hours-summary strong small{display:block;font-size:13px;font-weight:400;margin-top:4px}.users-hours-summary>details{max-width:440px;font-size:12px;line-height:1.6;color:#776b5d}.users-hours-summary summary{cursor:pointer;font-size:12px;color:#795e3c}.users-hours-summary p{font-size:12px;line-height:1.6;margin:10px 0 0}.user-summary-main .user-monthly-hours{font-size:12px;color:#805e33;font-weight:600;line-height:1.5}
@media(max-width:650px){.users-hours-summary{flex-direction:column;gap:14px;padding:16px}.users-hours-summary>details{max-width:none;width:100%}.users-hours-summary strong{font-size:24px}}

/* Reuse the public site's outline icons in the owner's top navigation. */
.portal-role-owner .owner-site-header nav>a{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
.portal-role-owner .owner-site-header .public-nav-icon{display:block;flex:0 0 20px;width:20px;height:20px;color:var(--gold)}
.portal-role-owner .owner-site-header nav{flex-wrap:wrap;column-gap:24px;row-gap:0}

/* Additional outline icons for the owner navigation. */
.mobile-portal.portal-role-owner .portal-bar nav>a[href="portal.php?view=worktime"]::before{content:"";display:inline-block;vertical-align:middle;flex-shrink:0;width:30px;height:30px;margin-right:8px;background:transparent url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2030%22%20fill%3D%22none%22%20stroke%3D%22%23785431%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2215%22%20cy%3D%2215%22%20r%3D%2211%22%2F%3E%3Cpath%20d%3D%22M15%208v7l5%203%22%2F%3E%3C%2Fsvg%3E") center/30px 30px no-repeat}
.mobile-portal.portal-role-owner .portal-bar nav>a[href="portal.php?view=offers"]::before{content:"";display:inline-block;vertical-align:middle;flex-shrink:0;width:30px;height:30px;margin-right:8px;background:transparent url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2030%22%20fill%3D%22none%22%20stroke%3D%22%23785431%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M17%203H6v24h18V10L17%203Zm0%200v7h7M10%2015h10m-10%205h7%22%2F%3E%3C%2Fsvg%3E") center/30px 30px no-repeat}

/* Compact password creation and reset via email links. */
.password-setup-main{padding:36px 20px 48px;min-height:52vh}
.password-setup-main .password-setup-card{width:100%;max-width:440px;margin:0 auto;padding:26px 28px;border:1px solid #e6d9c7;border-radius:16px;background:#fffdf9;box-shadow:0 8px 28px #392b1907}
.password-setup-icon{display:grid;place-items:center;width:42px;height:42px;margin:0 0 16px;border:1px solid #e8d9c4;border-radius:12px;background:#f5ecdf;color:#805e37}
.password-setup-card .eyebrow{font-size:10px;letter-spacing:.14em}
.password-setup-card h1{font-size:34px;line-height:1.12;margin:9px 0 12px;overflow-wrap:anywhere}
.password-setup-card p{font-size:13px;line-height:1.6;color:var(--muted);margin:0 0 16px}
.password-setup-card .portal-form{gap:14px;margin:20px 0 0}
.password-setup-card .field{gap:6px;min-width:0}.password-setup-card .field span{font-size:12px;font-weight:600}
.password-setup-card input[type="password"]{min-width:0;min-height:44px;padding:10px 12px;border:1px solid #dfd4c5;border-radius:10px;background:#fff;font:16px/1.4 Arial,sans-serif;box-shadow:0 1px 2px #392b1904}
.password-setup-card input[type="password"]:focus-visible{outline:2px solid #b88449;outline-offset:2px}
.password-setup-card .portal-form .password-setup-hint{font-size:12px;line-height:1.5;margin:0;color:#796e61}
.password-setup-card .btn{justify-self:stretch;width:100%;min-height:44px;padding:12px 16px;border-radius:10px;font-size:12px;text-align:center}
.password-setup-card .password-setup-back{margin:20px 0 0;padding-top:16px;border-top:1px solid #eee4d7;text-align:center;font-size:12px}
.password-setup-back a{color:#805e37;text-underline-offset:3px}.password-setup-back a:focus-visible{outline:2px solid #b88449;outline-offset:4px}
.password-setup-card .notice{font-size:13px;line-height:1.6;padding:12px 14px;margin:16px 0;overflow-wrap:anywhere}
@media(max-width:560px){.password-setup-main{padding:24px 16px 36px}.password-setup-main .password-setup-card{padding:22px 20px}.password-setup-card h1{font-size:30px}}

/* Compact public portal sign-in, matching password creation. */
.portal-signin-main .login-layout{margin:36px auto 48px;gap:36px}
.portal-signin-main .login-layout .login-shell{max-width:420px;padding:0;border:0;box-shadow:none;background:transparent}
.portal-signin-main .login-shell .password-setup-icon{margin-bottom:14px}
.portal-signin-main .login-shell h2{font-size:34px;line-height:1.12;margin:0 0 10px}
.portal-signin-main .signin-intro{font-size:13px;line-height:1.6;color:var(--muted);margin:0 0 20px}
.portal-signin-main .login-shell .form-grid{display:block;margin:0}
.portal-signin-main .login-shell .login-fields{gap:14px}
.portal-signin-main .login-shell .field{gap:6px}
.portal-signin-main .login-shell .field label{font-size:12px;font-weight:600}
.portal-signin-main .login-shell input:not([type="hidden"]){min-height:44px;padding:10px 12px;border-radius:10px;font:16px/1.4 Arial,sans-serif;box-shadow:0 1px 2px #392b1904}
.portal-signin-main .login-shell .btn{margin-top:4px;min-height:44px;padding:12px 16px;border-radius:10px;font-size:12px}
.portal-signin-main .login-shell .login-help{font-size:12px;line-height:1.6;margin:16px 0 0}
.portal-signin-main .login-shell .privacy-form-note{font-size:11px;line-height:1.6;margin:16px 0 0;padding-top:16px;border-top:1px solid #e8ddce;text-align:center}
.portal-signin-main .login-shell .privacy-form-note+.login-help{margin-top:10px}
.portal-signin-main .login-shell .notice{font-size:13px;line-height:1.6;padding:12px 14px;margin:14px 0;overflow-wrap:anywhere}
@media(max-width:560px){.portal-signin-main .login-layout{width:calc(100% - 40px);margin:26px auto 36px;gap:30px}.portal-signin-main .login-shell h2{font-size:30px}}

/* Matching public-site icons in the customer's top menu. */
.portal-role-customer .owner-site-header nav>a{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
.portal-role-customer .owner-site-header .public-nav-icon{display:block;flex:0 0 20px;width:20px;height:20px;color:var(--gold)}
.portal-role-customer .owner-site-header nav{flex-wrap:wrap;column-gap:24px;row-gap:0}
/* Desktop customer navigation uses the same outline symbols as mobile. */
@media(min-width:601px){
.portal-role-customer .portal-bar nav>a,.portal-role-customer .portal-bar .link-button{display:inline-flex;align-items:center;gap:7px}
.portal-role-customer .portal-bar nav>a::before,.portal-role-customer .portal-bar .link-button::before{content:"";display:block;position:static;width:22px;height:22px;flex:0 0 22px;margin:0;background-position:center;background-size:22px 22px;background-repeat:no-repeat}
.portal-role-customer .portal-bar nav>a[href="portal.php"]::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2030%22%20fill%3D%22none%22%20stroke%3D%22%23785431%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%224%22%20y%3D%225%22%20width%3D%2220%22%20height%3D%2220%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M9%202v6m10-6v6M4%2011h20M9%2015h1m4%200h1m4%200h1M9%2020h1m4%200h1m4%200h1%22%2F%3E%3C%2Fsvg%3E")}
.portal-role-customer .portal-bar nav>a[href*="invoices"]::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2030%22%20fill%3D%22none%22%20stroke%3D%22%23785431%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%202h10l6%206v18H7zM17%202v7h6M11%2013h8m-8%205h8m-8%204h6%22%2F%3E%3C%2Fsvg%3E")}
.portal-role-customer .portal-bar nav>a[href*="history"]::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2030%22%20fill%3D%22none%22%20stroke%3D%22%23785431%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%225%22%20y%3D%225%22%20width%3D%2219%22%20height%3D%2222%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M10%205V3h9v4h-9zM9%2014l3%203%207-7M9%2023h10%22%2F%3E%3C%2Fsvg%3E")}
.portal-role-customer .portal-bar nav>a[href*="customer_extras"]::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2030%22%20fill%3D%22none%22%20stroke%3D%22%23785431%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M2%203h4l3%2017h15l3-12H7M10%2023h14%22%2F%3E%3Ccircle%20cx%3D%2211%22%20cy%3D%2227%22%20r%3D%221.5%22%2F%3E%3Ccircle%20cx%3D%2223%22%20cy%3D%2227%22%20r%3D%221.5%22%2F%3E%3C%2Fsvg%3E")}
.portal-role-customer .portal-bar nav>a[href*="contact"]::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2030%22%20fill%3D%22none%22%20stroke%3D%22%23785431%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M26%2014c0%206-5%2011-12%2011-2%200-4-.5-6-1.5L2%2027l2-6c-2-2-3-4-3-7C1%208%206%203%2014%203s12%205%2012%2011z%22%2F%3E%3C%2Fsvg%3E")}
.portal-role-customer .portal-bar nav>a[href="portal.php?view=password"]::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23785431%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%225%22%20y%3D%2210%22%20width%3D%2214%22%20height%3D%2211%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M8%2010V7a4%204%200%200%201%208%200v3M12%2014v3%22%2F%3E%3C%2Fsvg%3E")}
.portal-role-customer .portal-bar nav>a[href="portal-type.php"]::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23785431%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%207h17l-4-4M21%2017H4l4%204%22%2F%3E%3C%2Fsvg%3E")}
.portal-role-customer .portal-bar .link-button::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23785431%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%204H4v16h5M9%2012h12m-5-5%205%205-5%205%22%2F%3E%3C%2Fsvg%3E")}
}

/* Compact calendar for customer accounts; preserve the mobile date tiles. */
.customer-calendar-overview{max-width:1100px;margin:0 auto;min-width:0}
.customer-calendar-overview .page-title{margin-bottom:20px}
.customer-calendar-overview .page-title h1{font-size:34px;line-height:1.15;margin:8px 0 10px}
.customer-calendar-overview .page-title p{font-size:13px;line-height:1.65;margin:0;max-width:620px}
.customer-calendar-overview .calendar-layout{min-width:0}
.customer-calendar-overview .upcoming-visit>div{min-width:0;overflow-wrap:anywhere}
.customer-calendar-overview .calendar-event:focus-visible,.customer-calendar-overview .upcoming-visit:focus-visible{outline:2px solid #b88449;outline-offset:2px}
@media(min-width:601px){
.customer-calendar-overview .calendar-layout{gap:20px}
.customer-calendar-overview .calendar-layout>section{min-width:0;background:#fffdf9;border:1px solid #e6dac8;border-radius:14px;padding:18px;box-shadow:0 3px 16px #392b1904}
.customer-calendar-overview .calendar-toolbar{gap:12px;padding-bottom:12px;border-bottom:1px solid #eee3d4}
.customer-calendar-overview .calendar-toolbar h2{font-size:25px;line-height:1.2}
.customer-calendar-overview .calendar-toolbar .secondary{display:grid;place-items:center;min-width:36px;min-height:36px;padding:3px 10px;border-radius:9px;font-size:24px;line-height:1;color:#805e37;background:#fff}
.customer-calendar-overview .legend{gap:12px;margin:12px 0;font-size:11px;align-items:center}
.customer-calendar-overview .legend>a{margin-left:auto;text-underline-offset:3px}
.customer-calendar-overview .calendar-grid{border-color:#e8decf;border-radius:10px;background:#e8decf}
.customer-calendar-overview .weekday{padding:9px 4px;background:#f5ecdf;font-size:11px;font-weight:600;color:#77634e}
.customer-calendar-overview .calendar-day{min-height:90px;padding:6px;background:#fffdf9;min-width:0}
.customer-calendar-overview .calendar-day.other-month{background:#f7f4ee;color:#aaa195}
.customer-calendar-overview .day-number{display:inline-grid;place-items:center;min-width:24px;min-height:24px;padding:2px;font-size:12px}
.customer-calendar-overview .calendar-day.today .day-number{border-radius:8px;background:#805e37;color:#fff}
.customer-calendar-overview .calendar-event{gap:3px;margin-top:5px;padding:6px;border-radius:7px;font-size:11px;line-height:1.4;background:#eedfc8;color:#493320;overflow-wrap:anywhere;border-left:2px solid #b88449}
.customer-calendar-overview .calendar-event strong{font-size:12px;line-height:1.4}
.customer-calendar-overview .calendar-event.completed{background:#eeeae3;color:#655e55;border-left-color:#a69a87}
.customer-calendar-overview .calendar-event-status{font-size:10px;line-height:1.4}
.customer-calendar-overview .calendar-layout>section>p{font-size:11px;line-height:1.6;margin:12px 0 0;color:#847767}
.customer-calendar-overview .upcoming{padding:18px;border:1px solid #e5d5be;border-radius:14px;background:#f7efe3}
.customer-calendar-overview .upcoming h2{font-size:23px;line-height:1.2;margin:0 0 8px}
.customer-calendar-overview .upcoming-visit{gap:9px;padding:11px 0;border-bottom:1px solid #e4d5bf}
.customer-calendar-overview .upcoming-visit:hover{color:#805e37}
.customer-calendar-overview .visit-index{width:24px;height:24px;flex-basis:24px;border-radius:8px;font-size:11px;background:#fffdf9;border:1px solid #e3d1b6}
.customer-calendar-overview .upcoming-visit strong{font-size:12px;line-height:1.5}
.customer-calendar-overview .upcoming-visit div>span{font-size:11px;line-height:1.55}
.customer-calendar-overview .upcoming>p{font-size:11px;line-height:1.6;margin:12px 0 0;color:#847767}
}
@media(min-width:1051px){.customer-calendar-overview .calendar-layout{grid-template-columns:minmax(0,1fr) 290px}}
@media(max-width:600px){.customer-calendar-overview .page-title h1{font-size:30px}.customer-calendar-overview .page-title{margin-bottom:18px}}

/* Consistent compact pages for customer invoices, agreements, extras and chat. */
.customer-pages{max-width:1050px;min-width:0;margin:0 auto}
.customer-pages .page-title{margin:0 0 20px}
.customer-pages h1{font-size:34px;line-height:1.15;margin:8px 0 10px}
.customer-pages .page-title p,.customer-pages>section>p{font-size:13px;line-height:1.65;color:var(--muted);margin:0 0 16px;max-width:700px}
.customer-pages .panel{padding:18px 20px;margin:14px 0;border-radius:14px;border-color:#e6dac8;box-shadow:0 3px 14px #392b1904;min-width:0}
.customer-pages h2{font-size:25px;line-height:1.2;margin:0 0 12px}
.customer-pages .secondary,.customer-pages .btn{font-size:12px;padding:10px 14px;border-radius:9px;min-height:40px;line-height:1.4}
.customer-pages .upcoming-visit,.customer-pages .work-visit{min-width:0;overflow-wrap:anywhere}
.customer-pages a:focus-visible,.customer-pages button:focus-visible{outline:2px solid #b88449;outline-offset:3px}
/* Invoice rows retain all amounts, dates, payment states and PDF links. */
.customer-page-invoices>section.panel{padding:0;margin:0;background:transparent;border:0;box-shadow:none}
.customer-page-invoices>section>h1{margin-top:8px}
.customer-page-invoices article.panel{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:20px;row-gap:6px;padding:16px 18px;margin:12px 0;background:#fffdf9}
.customer-page-invoices article h2{grid-column:1;font-size:23px;margin:0}
.customer-page-invoices article p{grid-column:1;font-size:12px;line-height:1.6;margin:0;color:#776b5c;overflow-wrap:anywhere}
.customer-page-invoices article p strong{font-size:15px;font-weight:600;color:#30291f}
.customer-page-invoices article .secondary{grid-column:2;grid-row:1 / span 4;align-self:center;white-space:nowrap}
.customer-page-invoices .toolbar{margin:20px 0 0;gap:10px;font-size:12px}
/* Agreements and cleaning history. */
.customer-pages .rp-agreements{margin:0 0 24px}
.customer-pages .rp-agreement-card{grid-template-columns:42px minmax(0,1fr) auto;gap:14px;padding:18px;margin:12px 0;border:1px solid #e6dac8;border-radius:14px;background:#fffdf9;box-shadow:0 3px 14px #392b1904}
.customer-pages .rp-agreement-home{width:42px;height:42px;border-radius:12px;background:#f5ecdf;color:#805e37}
.customer-pages .rp-agreement-home svg{width:25px;height:25px}
.customer-pages .rp-agreement-content h3{font-size:24px;line-height:1.2;margin:0 0 8px}
.customer-pages .rp-agreement-frequency{font-size:12px;padding:4px 11px;background:#f2e5d0;color:#705230}
.customer-pages .rp-agreement-line{font-size:13px;line-height:1.5;margin:10px 0 0;gap:8px}
.customer-pages .rp-agreement-line svg{width:18px;height:18px;flex-basis:18px;color:#947047}
.customer-pages .rp-agreement-address{font-size:12px;line-height:1.6;margin:8px 0 0}
.customer-pages .rp-agreement-link.btn{font-size:12px;min-height:40px;padding:10px 15px;align-self:center}
.customer-pages .customer-history>p{font-size:12px;line-height:1.6;color:#847767;margin:0 0 10px}
.customer-pages .history-visit{padding:12px 0;gap:10px;border-bottom-color:#ece1d2}
.customer-pages .history-visit:last-of-type{border-bottom:0}
.customer-pages .history-visit strong{font-size:12px;line-height:1.5}
.customer-pages .history-visit div>span{font-size:12px;line-height:1.5}
.customer-pages .visit-index{width:25px;height:25px;flex-basis:25px;border-radius:8px;background:#f5ecdf;color:#805e37}
.customer-pages .rp-agreement-facts{margin-bottom:22px}
.customer-pages .rp-agreement-facts>div{grid-template-columns:150px minmax(0,1fr);padding:12px 0;gap:14px;font-size:13px}
.customer-pages .rp-agreement-detail .back-link{font-size:12px}
.customer-pages .rp-agreement-detail>.upcoming-visit{justify-content:space-between;flex-wrap:wrap;gap:8px;padding:12px 0;font-size:12px}
/* Choose a visit for extras, with no duplicated price list. */
.customer-page-customer_extras>.panel>p{font-size:12px;line-height:1.6;color:#847767;margin:0 0 14px}
.customer-page-customer_extras .work-visit{grid-template-columns:minmax(0,1fr) auto;gap:5px 16px;padding:13px 15px;margin:10px 0;border:1px solid #e5d6c0;border-left:3px solid #b88449;border-radius:10px;background:#fcf8f0;box-shadow:none}
.customer-page-customer_extras .work-visit>span:first-child{font-size:12px;color:#84715a}
.customer-page-customer_extras .work-visit>strong{grid-column:1;font-size:13px;line-height:1.5}
.customer-page-customer_extras .work-visit>span:last-child{grid-column:2;grid-row:1 / span 2;align-self:center;font-size:12px;color:#805e37}
/* Chat keeps its live update hooks and privacy information. */
.customer-page-contact{max-width:900px}
.customer-page-contact .live-chat.panel{padding:0;margin:0;border-radius:14px;overflow:hidden}
.customer-page-contact .chat-header{padding:14px 18px;background:#fcf8f0}
.customer-page-contact .chat-header h2{font-size:24px;margin:0 0 3px}
.customer-page-contact .chat-header p{font-size:12px;margin:0}
.customer-page-contact .chat-toolbar{padding:9px 18px;font-size:11px;gap:8px}
.customer-page-contact .chat-toolbar .link-button{font-size:12px}
.customer-page-contact .chat-log{height:340px;max-height:50dvh;padding:16px;background:#f7f1e8}
.customer-page-contact .chat-log .conversation-message{padding:11px 14px;max-width:85%;margin-bottom:12px;border-radius:12px 12px 12px 3px;box-shadow:none}
.customer-page-contact .chat-log .conversation-message.own{border-radius:12px 12px 3px 12px}
.customer-page-contact .conversation-meta{gap:4px 10px}
.customer-page-contact .conversation-meta strong{font-size:12px}
.customer-page-contact .conversation-meta time{font-size:10px}
.customer-page-contact .chat-log .conversation-message p{font-size:14px;line-height:1.6;margin:6px 0 0;overflow-wrap:anywhere}
.customer-page-contact .live-chat .portal-form{padding:16px 18px 0;gap:12px;margin:0}
.customer-page-contact .field span{font-size:12px;font-weight:600}
.customer-page-contact .live-chat textarea{min-height:76px;padding:10px 12px;border:1px solid #dfd4c5;border-radius:10px;font:16px/1.4 Arial,sans-serif;background:#fff}
.customer-page-contact .privacy-form-note{font-size:11px;line-height:1.6}
.customer-page-contact .chat-compose-footer{gap:12px}
.customer-page-contact .chat-compose-footer>span{font-size:11px;line-height:1.5}
.customer-page-contact .chat-privacy{padding:12px 18px 16px;font-size:11px;line-height:1.6}
@media(max-width:650px){
.customer-pages h1{font-size:30px}
.customer-pages .panel{padding:16px;margin:12px 0}
.customer-page-invoices>section.panel{padding:0;margin:0}
.customer-page-invoices article.panel{display:block;padding:15px 16px}
.customer-page-invoices article h2{margin-bottom:6px}
.customer-page-invoices article p{margin:5px 0}
.customer-page-invoices article .secondary{margin-top:8px;min-height:44px}
.customer-pages .rp-agreement-card{grid-template-columns:34px minmax(0,1fr);padding:16px 14px;gap:12px}
.customer-pages .rp-agreement-home{width:34px;height:34px;border-radius:10px}
.customer-pages .rp-agreement-home svg{width:22px;height:22px}
.customer-pages .rp-agreement-content h3{font-size:23px}
.customer-pages .rp-agreement-link.btn{grid-column:2;justify-self:end;min-height:44px}
.customer-pages .rp-agreement-facts>div{grid-template-columns:minmax(0,1fr);gap:4px}
.customer-page-customer_extras .work-visit{grid-template-columns:minmax(0,1fr);padding:13px 12px}
.customer-page-customer_extras .work-visit>span:last-child{grid-column:1;grid-row:auto;font-size:12px}
.customer-page-contact .live-chat.panel{padding:0;margin:0}
.customer-page-contact .chat-header{padding:13px 15px}
.customer-page-contact .chat-toolbar{padding:8px 14px;flex-wrap:wrap}
.customer-page-contact .chat-log{height:300px;max-height:48dvh;padding:12px}
.customer-page-contact .chat-log .conversation-message{max-width:94%;padding:11px 12px}
.customer-page-contact .live-chat .portal-form{padding:14px 15px 0}
.customer-page-contact .chat-compose-footer{flex-direction:column;align-items:stretch}
.customer-page-contact .chat-compose-footer .btn{min-height:44px}
.customer-page-contact .chat-privacy{padding:12px 15px 16px}
}

/* Quiet home background behind the customer's name and desktop navigation. */
@media(min-width:601px){
.portal-role-customer .portal-bar{min-height:148px;padding:26px max(4%,calc((100% - 1180px)/2));gap:28px;align-items:center;background-color:#f5ecdf;background-image:linear-gradient(90deg,rgba(251,247,241,.94),rgba(251,247,241,.84) 58%,rgba(251,247,241,.66)),url('kundeportal-menu-baggrund-v1.webp');background-position:center,center 52%;background-size:cover;background-repeat:no-repeat;border-top:1px solid #e9dfd1;border-bottom:1px solid #e0d1bc}
.portal-role-customer .portal-bar>div{gap:6px;max-width:240px;min-width:0;flex-shrink:1}
.portal-role-customer .portal-bar>div>strong{font-family:'Cormorant Garamond',Georgia,serif;font-size:27px;line-height:1.15;font-weight:600;color:#30291f;overflow-wrap:anywhere}
.portal-role-customer .portal-bar>div>span{font-size:11px;letter-spacing:.08em;color:#76634c}
.portal-role-customer .portal-bar nav{gap:8px;min-width:0;flex:1;align-items:center}
.portal-role-customer .portal-bar nav>a{padding:9px 12px;min-height:42px;font-size:12px;line-height:1.4;border:1px solid #e2d4c0;border-radius:10px;background:rgba(255,253,249,.9);color:#403426;box-shadow:0 2px 6px #392b1904}
.portal-role-customer .portal-bar nav>a:hover{background:#fffdf9;border-color:#bfa37d;color:#785431}
.portal-role-customer .portal-bar nav>a:focus-visible,.portal-role-customer .portal-bar .link-button:focus-visible{outline:2px solid #b88449;outline-offset:3px}
.portal-role-customer .portal-bar nav form{margin:0}
.portal-role-customer .portal-bar .link-button{padding:10px 8px;min-height:42px;font-size:12px;color:#5f4b35}
}
@media(min-width:601px) and (max-width:1050px){.portal-role-customer .portal-bar{align-items:flex-start;gap:16px;padding:24px 4%}.portal-role-customer .portal-bar>div{max-width:100%}.portal-role-customer .portal-bar nav{width:100%;justify-content:flex-start}}

/* Compact customer visit details, in the dialog and on the full page. */
.portal-role-customer #visit-dialog{width:min(820px,94%);max-height:90dvh;padding:22px 24px;border:1px solid #e6dac8;border-radius:16px;background:#fffdf9;scrollbar-width:thin}
.portal-role-customer #visit-dialog .dialog-close{width:32px;height:32px;font-size:22px;line-height:1;background:#fffdf9}
.portal-role-customer .visit-panel{max-width:900px;min-width:0}
.portal-role-customer .visit-panel>.back-link{font-size:12px;margin-bottom:16px}
.portal-role-customer .visit-panel>.eyebrow{font-size:10px;letter-spacing:.14em}
.portal-role-customer .visit-panel>h1{font-size:34px;line-height:1.12;margin:10px 0 18px}
.portal-role-customer .visit-panel>h2{font-size:25px;line-height:1.2;margin:22px 0 10px}
.portal-role-customer .visit-panel>p{font-size:13px;line-height:1.65;margin:0 0 12px}
.portal-role-customer .visit-panel .visit-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 18px;padding:16px 18px;margin:16px 0 20px;border:1px solid #e8dccb;border-radius:12px;background:#f7efe3}
.portal-role-customer .visit-panel .visit-facts>div{gap:4px;min-width:0;align-content:start}
.portal-role-customer .visit-panel .visit-facts span{font-size:11px;line-height:1.5}
.portal-role-customer .visit-panel .visit-facts strong{font-size:12px;line-height:1.55;font-weight:600}
.portal-role-customer .visit-panel .service-row{gap:10px;padding:11px 0;border-bottom-color:#e8ddcd}
.portal-role-customer .visit-panel .service-row strong{font-size:13px}
.portal-role-customer .visit-panel .extra-description{font-size:11px;line-height:1.5;margin-top:3px}
.portal-role-customer .visit-panel .extra-status{font-size:11px;margin-top:5px}
.portal-role-customer .visit-panel .extras-selection{padding:16px 18px;margin:18px 0;border:1px solid #e8dccb;border-radius:12px;background:#f7efe3}
.portal-role-customer .visit-panel .extras-selection h3{font-size:23px;line-height:1.2;margin:0 0 8px}
.portal-role-customer .visit-panel .extras-selection>p{font-size:12px;line-height:1.6;margin:0 0 12px}
.portal-role-customer .visit-panel .portal-form{gap:10px;margin:14px 0}
.portal-role-customer .visit-panel .extras-selection .portal-form{margin:0}
.portal-role-customer .visit-panel .check-row{display:flex;align-items:center;flex-wrap:nowrap;gap:10px;padding:10px 12px;min-height:44px;border:1px solid #eee4d7;border-radius:9px;background:#fffdf9;font-size:12px;line-height:1.5}
.portal-role-customer .visit-panel .check-row input{width:18px;height:18px;flex:0 0 18px;margin:0}
.portal-role-customer .visit-panel .extra-choice-text{flex:1;min-width:0;font-size:12px;line-height:1.5}
.portal-role-customer .visit-panel .extra-price{flex-shrink:0;font-size:12px;margin-left:6px;color:#493320}
.portal-role-customer .visit-panel .btn,.portal-role-customer .visit-panel .secondary{font-size:12px;padding:10px 14px;border-radius:9px;min-height:40px;line-height:1.4}
.portal-role-customer .visit-panel .field{gap:6px;min-width:0}
.portal-role-customer .visit-panel .field span{font-size:12px;font-weight:600}
.portal-role-customer .visit-panel textarea{min-height:76px;padding:10px 12px;border:1px solid #dfd4c5;border-radius:10px;font:16px/1.4 Arial,sans-serif;background:#fff}
.portal-role-customer .visit-panel .message{padding:12px 0;border-bottom-color:#eee4d7}
.portal-role-customer .visit-panel .message>strong{font-size:12px}
.portal-role-customer .visit-panel .message>span{font-size:10px;margin:5px 0}
.portal-role-customer .visit-panel .message>p{font-size:13px;line-height:1.65;margin:6px 0 0}
.portal-role-customer .visit-panel details.panel{padding:14px 16px;margin:18px 0;border-radius:12px;box-shadow:none}
.portal-role-customer .visit-panel details.panel>summary{font-size:12px;color:#805e37}
.portal-role-customer .visit-panel details.panel>p{font-size:12px;line-height:1.65}
.portal-role-customer .visit-panel .completed-note{padding:12px 14px;border-radius:10px;font-size:12px}
@media(max-width:650px){
.portal-role-customer #visit-dialog{width:calc(100% - 24px);padding:16px;max-height:92dvh}
.portal-role-customer #visit-dialog .dialog-close{min-width:40px;min-height:40px}
.portal-role-customer .visit-panel{padding:16px}
.portal-role-customer #visit-dialog .visit-panel{padding:0;background:transparent}
.portal-role-customer .visit-panel>h1{font-size:30px}
.portal-role-customer .visit-panel .visit-facts{grid-template-columns:repeat(2,minmax(0,1fr));padding:13px;gap:12px}
.portal-role-customer .visit-panel .extras-selection{padding:14px 12px}
.portal-role-customer .visit-panel .extras-selection .check-row{display:grid;grid-template-columns:18px minmax(0,1fr);gap:5px 9px;padding:10px}
.portal-role-customer .visit-panel .extras-selection .check-row input{grid-column:1;grid-row:1 / span 2;align-self:center}
.portal-role-customer .visit-panel .extra-choice-text{grid-column:2}
.portal-role-customer .visit-panel .extra-price{grid-column:2;margin:0;justify-self:start}
.portal-role-customer .visit-panel .btn,.portal-role-customer .visit-panel .secondary{min-height:44px}
}
@media(max-width:380px){.portal-role-customer .visit-panel .visit-facts{grid-template-columns:minmax(0,1fr)}}

/* Keep the visit-dialog close icon in the brand palette, including iOS. */
#visit-dialog .dialog-close{color:#171513;-webkit-text-fill-color:#171513;appearance:none;-webkit-appearance:none}
#visit-dialog .dialog-close:hover{color:#785431;-webkit-text-fill-color:#785431}

/* Compact signed-in password form for all portal roles. */
.portal-wrap .password-change{max-width:460px;padding:24px 26px;margin:0 auto;border:1px solid #e6dac8;border-radius:16px;background:#fffdf9;box-shadow:0 4px 20px #392b1905;min-width:0}
.password-change .password-setup-icon{margin-bottom:14px}
.password-change .eyebrow{font-size:10px;letter-spacing:.14em}
.portal-wrap .password-change h1{font-size:32px;line-height:1.15;margin:8px 0 10px}
.password-change>p{font-size:13px;line-height:1.6;color:var(--muted);margin:0 0 18px}
.password-change .portal-form{gap:14px;margin:0}
.password-change .field{gap:6px;min-width:0}
.password-change .field span{font-size:12px;font-weight:600}
.password-change input[type="password"]{width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid #dfd4c5;border-radius:10px;background:#fff;font:16px/1.4 Arial,sans-serif;box-shadow:0 1px 2px #392b1904}
.password-change input[type="password"]:focus-visible{outline:2px solid #b88449;outline-offset:2px}
.password-change .portal-form .btn{width:100%;justify-self:stretch;min-height:44px;padding:12px 16px;margin-top:4px;border-radius:10px;font-size:12px}
@media(max-width:560px){.portal-wrap .password-change{padding:22px 20px}.portal-wrap .password-change h1{font-size:30px}}

/* Administrative backdrop and compact desktop owner navigation. */
@media(min-width:601px){
.portal-role-owner .portal-bar{min-height:148px;padding:26px max(4%,calc((100% - 1180px)/2));gap:28px;align-items:center;background-color:#f5ecdf;background-image:linear-gradient(90deg,rgba(251,247,241,.94),rgba(251,247,241,.84) 58%,rgba(251,247,241,.66)),url('ejerportal-menu-baggrund-v1.webp');background-position:center,center 52%;background-size:cover;background-repeat:no-repeat;border-top:1px solid #e9dfd1;border-bottom:1px solid #e0d1bc}
.portal-role-owner .portal-bar>div{gap:6px;max-width:240px;min-width:0;flex-shrink:1}
.portal-role-owner .portal-bar>div>strong{font-family:'Cormorant Garamond',Georgia,serif;font-size:27px;line-height:1.15;font-weight:600;color:#30291f;overflow-wrap:anywhere}
.portal-role-owner .portal-bar>div>span{font-size:11px;letter-spacing:.08em;color:#76634c}
.portal-role-owner .portal-bar nav{gap:8px;min-width:0;flex:1;align-items:center}
.portal-role-owner .portal-bar nav>a{padding:9px 12px;min-height:42px;font-size:12px;line-height:1.4;border:1px solid #e2d4c0;border-radius:10px;background:rgba(255,253,249,.9);color:#403426;box-shadow:0 2px 6px #392b1904}
.portal-role-owner .portal-bar nav>a:hover{background:#fffdf9;border-color:#bfa37d;color:#785431}
.portal-role-owner .portal-bar nav>a:focus-visible,.portal-role-owner .portal-bar .link-button:focus-visible{outline:2px solid #b88449;outline-offset:3px}
.portal-role-owner .portal-bar nav form{margin:0}
.portal-role-owner .portal-bar .link-button{padding:10px 8px;min-height:42px;font-size:12px;color:#5f4b35}
}
@media(min-width:601px) and (max-width:1050px){.portal-role-owner .portal-bar{align-items:flex-start;gap:16px;padding:24px 4%}.portal-role-owner .portal-bar>div{max-width:100%}.portal-role-owner .portal-bar nav{width:100%;justify-content:flex-start}}


@media(min-width:601px){
.portal-role-owner .portal-bar nav>a,.portal-role-owner .portal-bar .link-button{display:inline-flex;align-items:center;gap:7px}
.mobile-portal.portal-role-owner .portal-bar nav>a[href]::before{position:static;display:block;vertical-align:middle;width:22px;height:22px;flex:0 0 22px;margin:0;background-size:22px 22px;background-position:center}
.portal-role-owner .portal-bar .link-button::before{content:"";display:block;width:22px;height:22px;flex:0 0 22px;background-position:center;background-size:22px 22px;background-repeat:no-repeat}
}
@media(min-width:601px){.portal-role-owner .portal-bar .link-button::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23785431%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%204H4v16h5M9%2012h12m-5-5%205%205-5%205%22%2F%3E%3C%2Fsvg%3E")}}

/* Forgotten-password request uses the same compact authentication card. */
.password-forgot-card input[type="email"]{min-width:0;min-height:44px;padding:10px 12px;border:1px solid #dfd4c5;border-radius:10px;background:#fff;font:16px/1.4 Arial,sans-serif;box-shadow:0 1px 2px #392b1904}
.password-forgot-card input[type="email"]:focus-visible{outline:2px solid #b88449;outline-offset:2px}

/* Compact role selection for accounts with more than one assigned role. */
.portal-wrap.role-picker-page{max-width:560px;width:calc(100% - 40px);margin:36px auto 48px}
.role-picker-panel{padding:26px;border:1px solid #e6dac8;border-radius:16px;background:#fffdf9;box-shadow:0 4px 20px #392b1905}
.role-picker-page .eyebrow{font-size:10px;line-height:1.6;letter-spacing:.12em;overflow-wrap:anywhere}
.role-picker-page h1{font-size:34px;line-height:1.15;margin:8px 0 10px}
.role-picker-panel>p{font-size:13px;line-height:1.65;color:var(--muted);margin:0 0 18px}
.role-picker-page .type-picker{gap:10px;margin:20px 0 0}
.role-picker-page .type-card{display:flex;align-items:center;gap:12px;padding:14px 36px 14px 14px;border:1px solid #e5d6c1;border-radius:12px;background:#fcf8f0;min-height:76px;color:#30291f}
.role-picker-page .type-card:hover{background:#f3e8d7;border-color:#bfa37d}
.role-picker-page .type-card:focus-visible{outline:2px solid #b88449;outline-offset:3px}
.role-picker-page .type-card .type-icon{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;background:#f1e4d0;color:#805e37;border-radius:10px}
.role-picker-page .type-card .type-copy{display:grid;gap:4px;min-width:0;color:#30291f}
.role-picker-page .type-card strong{font-family:'Cormorant Garamond',Georgia,serif;font-size:24px;line-height:1.15;font-weight:600;overflow-wrap:anywhere}
.role-picker-page .type-copy>span{font-size:12px;line-height:1.5;color:#7b6d5a}
.role-picker-page .type-card .type-arrow{right:15px;top:50%;transform:translateY(-50%);font-size:25px;line-height:1;color:#947047}
.role-picker-page .inline-form{justify-content:center;border-top:1px solid #eee4d7;padding-top:16px;margin:18px 0 0}
.role-picker-page .inline-form .secondary{font-size:12px;padding:10px 16px;min-height:40px;border-radius:9px}
.role-picker-page .notice{font-size:13px;line-height:1.6;padding:12px 14px}
@media(max-width:560px){.portal-wrap.role-picker-page{width:calc(100% - 32px);margin:24px auto 36px}.role-picker-panel{padding:22px 18px}.role-picker-page h1{font-size:30px}.role-picker-page .type-card{padding:13px 32px 13px 12px;gap:10px}.role-picker-page .type-card strong{font-size:23px}.role-picker-page .inline-form .secondary{min-height:44px}}


.portal-role-planner .owner-site-header nav>a{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
.portal-role-planner .owner-site-header .public-nav-icon{display:block;flex:0 0 20px;width:20px;height:20px;color:var(--gold)}
.portal-role-planner .owner-site-header nav{flex-wrap:wrap;column-gap:24px;row-gap:0}
/* Planning backdrop and matching compact planner navigation. */
@media(min-width:601px){
.portal-role-planner .portal-bar{min-height:148px;padding:26px max(4%,calc((100% - 1180px)/2));gap:28px;align-items:center;background-color:#f5ecdf;background-image:linear-gradient(90deg,rgba(251,247,241,.94),rgba(251,247,241,.84) 58%,rgba(251,247,241,.66)),url('planlaeggerportal-menu-baggrund-v1.webp');background-position:center,center 52%;background-size:cover;background-repeat:no-repeat;border-top:1px solid #e9dfd1;border-bottom:1px solid #e0d1bc}
.portal-role-planner .portal-bar>div{gap:6px;max-width:240px;min-width:0;flex-shrink:1}
.portal-role-planner .portal-bar>div>strong{font-family:'Cormorant Garamond',Georgia,serif;font-size:27px;line-height:1.15;font-weight:600;color:#30291f;overflow-wrap:anywhere}
.portal-role-planner .portal-bar>div>span{font-size:11px;letter-spacing:.08em;color:#76634c}
.portal-role-planner .portal-bar nav{gap:8px;min-width:0;flex:1;align-items:center}
.portal-role-planner .portal-bar nav>a{padding:9px 12px;min-height:42px;font-size:12px;line-height:1.4;border:1px solid #e2d4c0;border-radius:10px;background:rgba(255,253,249,.9);color:#403426;box-shadow:0 2px 6px #392b1904}
.portal-role-planner .portal-bar nav>a:hover{background:#fffdf9;border-color:#bfa37d;color:#785431}
.portal-role-planner .portal-bar nav>a:focus-visible,.portal-role-planner .portal-bar .link-button:focus-visible{outline:2px solid #b88449;outline-offset:3px}
.portal-role-planner .portal-bar nav form{margin:0}
.portal-role-planner .portal-bar .link-button{padding:10px 8px;min-height:42px;font-size:12px;color:#5f4b35}
}
@media(min-width:601px) and (max-width:1050px){.portal-role-planner .portal-bar{align-items:flex-start;gap:16px;padding:24px 4%}.portal-role-planner .portal-bar>div{max-width:100%}.portal-role-planner .portal-bar nav{width:100%;justify-content:flex-start}}


@media(min-width:601px){
.portal-role-planner .portal-bar nav>a,.portal-role-planner .portal-bar .link-button{display:inline-flex;align-items:center;gap:7px}
.mobile-portal.portal-role-planner .portal-bar nav>a[href]::before{position:static;display:block;vertical-align:middle;width:22px;height:22px;flex:0 0 22px;margin:0;background-size:22px 22px;background-position:center}
.portal-role-planner .portal-bar .link-button::before{content:"";display:block;width:22px;height:22px;flex:0 0 22px;background-position:center;background-size:22px 22px;background-repeat:no-repeat}
}
@media(min-width:601px){.portal-role-planner .portal-bar .link-button::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23785431%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%204H4v16h5M9%2012h12m-5-5%205%205-5%205%22%2F%3E%3C%2Fsvg%3E")}}

.mobile-portal.portal-role-planner .portal-bar nav>a[href="portal.php?view=worktime"]::before{content:"";display:inline-block;vertical-align:middle;flex-shrink:0;width:30px;height:30px;margin-right:8px;background:transparent url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2030%22%20fill%3D%22none%22%20stroke%3D%22%23785431%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2215%22%20cy%3D%2215%22%20r%3D%2211%22%2F%3E%3Cpath%20d%3D%22M15%208v7l5%203%22%2F%3E%3C%2Fsvg%3E") center/30px 30px no-repeat}
@media(min-width:601px){.mobile-portal.portal-role-planner .portal-bar nav>a[href="portal.php?view=worktime"]::before{width:22px;height:22px;flex-basis:22px;margin:0;background-size:22px 22px}}


.portal-role-assistant .owner-site-header nav>a{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
.portal-role-assistant .owner-site-header .public-nav-icon{display:block;flex:0 0 20px;width:20px;height:20px;color:var(--gold)}
.portal-role-assistant .owner-site-header nav{flex-wrap:wrap;column-gap:24px;row-gap:0}
/* Cleaning assistant backdrop and matching compact desktop navigation. */
@media(min-width:601px){
.portal-role-assistant .portal-bar{min-height:148px;padding:26px max(4%,calc((100% - 1180px)/2));gap:28px;align-items:center;background-color:#f5ecdf;background-image:linear-gradient(90deg,rgba(251,247,241,.94),rgba(251,247,241,.84) 58%,rgba(251,247,241,.66)),url('assistentportal-menu-baggrund-v1.webp');background-position:center,center 52%;background-size:cover;background-repeat:no-repeat;border-top:1px solid #e9dfd1;border-bottom:1px solid #e0d1bc}
.portal-role-assistant .portal-bar>div{gap:6px;max-width:240px;min-width:0;flex-shrink:1}
.portal-role-assistant .portal-bar>div>strong{font-family:'Cormorant Garamond',Georgia,serif;font-size:27px;line-height:1.15;font-weight:600;color:#30291f;overflow-wrap:anywhere}
.portal-role-assistant .portal-bar>div>span{font-size:11px;letter-spacing:.08em;color:#76634c}
.portal-role-assistant .portal-bar nav{gap:8px;min-width:0;flex:1;align-items:center}
.portal-role-assistant .portal-bar nav>a{padding:9px 12px;min-height:42px;font-size:12px;line-height:1.4;border:1px solid #e2d4c0;border-radius:10px;background:rgba(255,253,249,.9);color:#403426;box-shadow:0 2px 6px #392b1904}
.portal-role-assistant .portal-bar nav>a:hover{background:#fffdf9;border-color:#bfa37d;color:#785431}
.portal-role-assistant .portal-bar nav>a:focus-visible,.portal-role-assistant .portal-bar .link-button:focus-visible{outline:2px solid #b88449;outline-offset:3px}
.portal-role-assistant .portal-bar nav form{margin:0}
.portal-role-assistant .portal-bar .link-button{padding:10px 8px;min-height:42px;font-size:12px;color:#5f4b35}
}
@media(min-width:601px) and (max-width:1050px){.portal-role-assistant .portal-bar{align-items:flex-start;gap:16px;padding:24px 4%}.portal-role-assistant .portal-bar>div{max-width:100%}.portal-role-assistant .portal-bar nav{width:100%;justify-content:flex-start}}


@media(min-width:601px){
.portal-role-assistant .portal-bar nav>a,.portal-role-assistant .portal-bar .link-button{display:inline-flex;align-items:center;gap:7px}
.mobile-portal.portal-role-assistant .portal-bar nav>a[href]::before{position:static;display:block;vertical-align:middle;width:22px;height:22px;flex:0 0 22px;margin:0;background-size:22px 22px;background-position:center}
.portal-role-assistant .portal-bar .link-button::before{content:"";display:block;width:22px;height:22px;flex:0 0 22px;background-position:center;background-size:22px 22px;background-repeat:no-repeat}
}
@media(min-width:601px){.portal-role-assistant .portal-bar .link-button::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23785431%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%204H4v16h5M9%2012h12m-5-5%205%205-5%205%22%2F%3E%3C%2Fsvg%3E")}}

.mobile-portal.portal-role-assistant .portal-bar nav>a[href="portal.php?view=worktime"]::before{content:"";display:inline-block;vertical-align:middle;flex-shrink:0;width:30px;height:30px;margin-right:8px;background:transparent url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2030%22%20fill%3D%22none%22%20stroke%3D%22%23785431%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2215%22%20cy%3D%2215%22%20r%3D%2211%22%2F%3E%3Cpath%20d%3D%22M15%208v7l5%203%22%2F%3E%3C%2Fsvg%3E") center/30px 30px no-repeat}
@media(min-width:601px){.mobile-portal.portal-role-assistant .portal-bar nav>a[href="portal.php?view=worktime"]::before{width:22px;height:22px;flex-basis:22px;margin:0;background-size:22px 22px}}

/* Compact daily work plan for cleaning assistants. */
.workplan-today{max-width:1050px;margin:0 auto;min-width:0}
.workplan-today .wt-controls{margin:0 0 16px}
.workplan-today .wt-controls:empty{display:none}
.workplan-today .wt-controls>.portal-form{margin:0}
.workplan-today .wt-controls .btn{padding:11px 16px;min-height:44px;border-radius:10px;font-size:12px}
.workplan-today .page-title{margin-bottom:18px;gap:16px}
.portal-wrap .workplan-today .page-title h1{font-size:34px;line-height:1.15;margin:6px 0 8px}
.workplan-today .page-title p{font-size:13px;line-height:1.5}
.workplan-today .page-title>.secondary{font-size:12px;padding:10px 14px;border-radius:9px;min-height:40px;white-space:nowrap}
.workplan-today .panel.today-plan{max-width:none;margin:0;padding:16px 18px;background:#fffdf9;border:1px solid #e6dac8;border-radius:14px;box-shadow:0 3px 14px #392b1904}
.workplan-today .today-plan>p{font-size:12px;line-height:1.6;margin:0 0 12px;color:#847562}
.workplan-today .today-plan>.work-visit{display:grid;grid-template-columns:125px minmax(0,1fr) auto;gap:5px 16px;align-items:start;padding:14px 16px;margin:10px 0 0;background:#fcf8f0;border:1px solid #e8ddcd;border-left:3px solid #b38952;border-radius:10px;box-shadow:none;min-width:0}
.workplan-today .today-plan .work-time{grid-column:1;grid-row:1 / span 2;font-size:12px;line-height:1.6;font-weight:600;color:#805e37;align-self:center}
.workplan-today .today-plan .today-customer{grid-column:2;grid-row:1;font-size:15px;line-height:1.4;font-weight:600;overflow-wrap:anywhere}
.workplan-today .today-plan .today-address{grid-column:2;grid-row:2;font-size:12px;line-height:1.5;color:#847562;overflow-wrap:anywhere}
.workplan-today .today-plan .badge{grid-column:3;grid-row:1;font-size:10px;line-height:1.4;padding:4px 8px;border-radius:20px;background:#eee0ca;align-self:center}
.workplan-today .today-plan .today-kind{grid-column:3;grid-row:2;justify-self:end;font-size:10px;line-height:1.5;color:#847562}
.workplan-today .today-plan>.work-visit.completed{background:#f6f7f2;border-left-color:#899477}
.workplan-today .today-plan>.work-visit.completed .badge{background:#eaf0e4;color:#526246}
.workplan-today .today-plan>.work-visit.cancelled{background:#f6f4f0;border-left-color:#b4aaa0}
.workplan-today .today-plan>.work-visit:hover{border-color:#cfb28b;background:#faf3e8;box-shadow:0 2px 8px #392b1905}
.workplan-today .today-plan>.work-visit:focus-visible{outline:2px solid #b88449;outline-offset:3px}
@media(max-width:700px){
.portal-wrap .workplan-today .page-title h1{font-size:30px}
.workplan-today .page-title{gap:12px}
.workplan-today .page-title>.secondary{align-self:flex-start;min-height:44px}
.workplan-today .panel.today-plan{padding:14px}
.workplan-today .today-plan>.work-visit{grid-template-columns:minmax(0,1fr) auto;gap:5px 10px;padding:12px}
.workplan-today .today-plan .work-time{grid-column:1;grid-row:1;align-self:start;font-size:12px}
.workplan-today .today-plan .today-customer{grid-column:1 / -1;grid-row:2;font-size:15px}
.workplan-today .today-plan .today-address{grid-column:1 / -1;grid-row:3;font-size:12px}
.workplan-today .today-plan .badge{grid-column:2;grid-row:1}
.workplan-today .today-plan .today-kind{grid-column:1 / -1;grid-row:4;justify-self:start}
}

/* Matching compact visit details for cleaning assistants. */
.portal-role-assistant #visit-dialog{width:min(820px,94%);max-height:90dvh;padding:22px 24px;border:1px solid #e6dac8;border-radius:16px;background:#fffdf9;scrollbar-width:thin}
.portal-role-assistant #visit-dialog .dialog-close{width:32px;height:32px;font-size:22px;line-height:1;background:#fffdf9}
.portal-role-assistant .visit-panel{max-width:900px;min-width:0}
.portal-role-assistant .visit-panel>.back-link{font-size:12px;margin-bottom:16px}
.portal-role-assistant .visit-panel>.eyebrow{font-size:10px;letter-spacing:.14em}
.portal-role-assistant .visit-panel>h1{font-size:34px;line-height:1.12;margin:10px 0 18px}
.portal-role-assistant .visit-panel>h2{font-size:25px;line-height:1.2;margin:22px 0 10px}
.portal-role-assistant .visit-panel>p{font-size:13px;line-height:1.65;margin:0 0 12px}
.portal-role-assistant .visit-panel .visit-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 18px;padding:16px 18px;margin:16px 0 20px;border:1px solid #e8dccb;border-radius:12px;background:#f7efe3}
.portal-role-assistant .visit-panel .visit-facts>div{gap:4px;min-width:0;align-content:start}
.portal-role-assistant .visit-panel .visit-facts span{font-size:11px;line-height:1.5}
.portal-role-assistant .visit-panel .visit-facts strong{font-size:12px;line-height:1.55;font-weight:600}
.portal-role-assistant .visit-panel .service-row{gap:10px;padding:11px 0;border-bottom-color:#e8ddcd}
.portal-role-assistant .visit-panel .service-row strong{font-size:13px}
.portal-role-assistant .visit-panel .extra-description{font-size:11px;line-height:1.5;margin-top:3px}
.portal-role-assistant .visit-panel .extra-status{font-size:11px;margin-top:5px}
.portal-role-assistant .visit-panel .extras-selection{padding:16px 18px;margin:18px 0;border:1px solid #e8dccb;border-radius:12px;background:#f7efe3}
.portal-role-assistant .visit-panel .extras-selection h3{font-size:23px;line-height:1.2;margin:0 0 8px}
.portal-role-assistant .visit-panel .extras-selection>p{font-size:12px;line-height:1.6;margin:0 0 12px}
.portal-role-assistant .visit-panel .portal-form{gap:10px;margin:14px 0}
.portal-role-assistant .visit-panel .extras-selection .portal-form{margin:0}
.portal-role-assistant .visit-panel .check-row{display:flex;align-items:center;flex-wrap:nowrap;gap:10px;padding:10px 12px;min-height:44px;border:1px solid #eee4d7;border-radius:9px;background:#fffdf9;font-size:12px;line-height:1.5}
.portal-role-assistant .visit-panel .check-row input{width:18px;height:18px;flex:0 0 18px;margin:0}
.portal-role-assistant .visit-panel .extra-choice-text{flex:1;min-width:0;font-size:12px;line-height:1.5}
.portal-role-assistant .visit-panel .extra-price{flex-shrink:0;font-size:12px;margin-left:6px;color:#493320}
.portal-role-assistant .visit-panel .btn,.portal-role-assistant .visit-panel .secondary{font-size:12px;padding:10px 14px;border-radius:9px;min-height:40px;line-height:1.4}
.portal-role-assistant .visit-panel .field{gap:6px;min-width:0}
.portal-role-assistant .visit-panel .field span{font-size:12px;font-weight:600}
.portal-role-assistant .visit-panel textarea{min-height:76px;padding:10px 12px;border:1px solid #dfd4c5;border-radius:10px;font:16px/1.4 Arial,sans-serif;background:#fff}
.portal-role-assistant .visit-panel .message{padding:12px 0;border-bottom-color:#eee4d7}
.portal-role-assistant .visit-panel .message>strong{font-size:12px}
.portal-role-assistant .visit-panel .message>span{font-size:10px;margin:5px 0}
.portal-role-assistant .visit-panel .message>p{font-size:13px;line-height:1.65;margin:6px 0 0}
.portal-role-assistant .visit-panel details.panel{padding:14px 16px;margin:18px 0;border-radius:12px;box-shadow:none}
.portal-role-assistant .visit-panel details.panel>summary{font-size:12px;color:#805e37}
.portal-role-assistant .visit-panel details.panel>p{font-size:12px;line-height:1.65}
.portal-role-assistant .visit-panel .completed-note{padding:12px 14px;border-radius:10px;font-size:12px}
@media(max-width:650px){
.portal-role-assistant #visit-dialog{width:calc(100% - 24px);padding:16px;max-height:92dvh}
.portal-role-assistant #visit-dialog .dialog-close{min-width:40px;min-height:40px}
.portal-role-assistant .visit-panel{padding:16px}
.portal-role-assistant #visit-dialog .visit-panel{padding:0;background:transparent}
.portal-role-assistant .visit-panel>h1{font-size:30px}
.portal-role-assistant .visit-panel .visit-facts{grid-template-columns:repeat(2,minmax(0,1fr));padding:13px;gap:12px}
.portal-role-assistant .visit-panel .extras-selection{padding:14px 12px}
.portal-role-assistant .visit-panel .extras-selection .check-row{display:grid;grid-template-columns:18px minmax(0,1fr);gap:5px 9px;padding:10px}
.portal-role-assistant .visit-panel .extras-selection .check-row input{grid-column:1;grid-row:1 / span 2;align-self:center}
.portal-role-assistant .visit-panel .extra-choice-text{grid-column:2}
.portal-role-assistant .visit-panel .extra-price{grid-column:2;margin:0;justify-self:start}
.portal-role-assistant .visit-panel .btn,.portal-role-assistant .visit-panel .secondary{min-height:44px}
}
@media(max-width:380px){.portal-role-assistant .visit-panel .visit-facts{grid-template-columns:minmax(0,1fr)}}


.portal-role-assistant .visit-panel .completion{padding:16px 18px;margin:18px 0;border:1px solid #e8dccb;border-radius:12px;background:#f7efe3}
.portal-role-assistant .visit-panel .completion h2{font-size:23px;line-height:1.2;margin:0 0 10px}
.portal-role-assistant .visit-panel .completion p{font-size:12px;line-height:1.6;margin:0 0 10px}
.portal-role-assistant .visit-panel .completion .portal-form{margin:0;gap:12px}
.portal-role-assistant .visit-panel .visit-facts .directions-link{justify-self:start;font-size:12px;min-height:44px;padding:9px 12px;margin-top:6px}
@media(max-width:650px){.portal-role-assistant .visit-panel .completion{padding:14px 12px}.portal-role-assistant .visit-panel .completion .btn{min-height:44px}}

/* Feedback for assistant actions kept inside the visit popup. */
.portal-role-assistant #visit-dialog .dialog-body>.notice{font-size:13px;line-height:1.6;padding:12px 14px;margin:0 0 16px;border-radius:10px}
.portal-role-assistant #visit-dialog[aria-busy="true"] .dialog-close{opacity:.5;cursor:wait}
.portal-role-assistant #visit-dialog[aria-busy="true"] .visit-panel button{cursor:wait}

/* Matching compact visit details for the owner. */
.portal-role-owner #visit-dialog{width:min(820px,94%);max-height:90dvh;padding:22px 24px;border:1px solid #e6dac8;border-radius:16px;background:#fffdf9;scrollbar-width:thin}
.portal-role-owner #visit-dialog .dialog-close{width:32px;height:32px;font-size:22px;line-height:1;background:#fffdf9}
.portal-role-owner .visit-panel{max-width:900px;min-width:0}
.portal-role-owner .visit-panel>.back-link{font-size:12px;margin-bottom:16px}
.portal-role-owner .visit-panel>.eyebrow{font-size:10px;letter-spacing:.14em}
.portal-role-owner .visit-panel>h1{font-size:34px;line-height:1.12;margin:10px 0 18px}
.portal-role-owner .visit-panel>h2{font-size:25px;line-height:1.2;margin:22px 0 10px}
.portal-role-owner .visit-panel>p{font-size:13px;line-height:1.65;margin:0 0 12px}
.portal-role-owner .visit-panel .visit-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 18px;padding:16px 18px;margin:16px 0 20px;border:1px solid #e8dccb;border-radius:12px;background:#f7efe3}
.portal-role-owner .visit-panel .visit-facts>div{gap:4px;min-width:0;align-content:start}
.portal-role-owner .visit-panel .visit-facts span{font-size:11px;line-height:1.5}
.portal-role-owner .visit-panel .visit-facts strong{font-size:12px;line-height:1.55;font-weight:600}
.portal-role-owner .visit-panel .service-row{gap:10px;padding:11px 0;border-bottom-color:#e8ddcd}
.portal-role-owner .visit-panel .service-row strong{font-size:13px}
.portal-role-owner .visit-panel .extra-description{font-size:11px;line-height:1.5;margin-top:3px}
.portal-role-owner .visit-panel .extra-status{font-size:11px;margin-top:5px}
.portal-role-owner .visit-panel .extras-selection{padding:16px 18px;margin:18px 0;border:1px solid #e8dccb;border-radius:12px;background:#f7efe3}
.portal-role-owner .visit-panel .extras-selection h3{font-size:23px;line-height:1.2;margin:0 0 8px}
.portal-role-owner .visit-panel .extras-selection>p{font-size:12px;line-height:1.6;margin:0 0 12px}
.portal-role-owner .visit-panel .portal-form{gap:10px;margin:14px 0}
.portal-role-owner .visit-panel .extras-selection .portal-form{margin:0}
.portal-role-owner .visit-panel .check-row{display:flex;align-items:center;flex-wrap:nowrap;gap:10px;padding:10px 12px;min-height:44px;border:1px solid #eee4d7;border-radius:9px;background:#fffdf9;font-size:12px;line-height:1.5}
.portal-role-owner .visit-panel .check-row input{width:18px;height:18px;flex:0 0 18px;margin:0}
.portal-role-owner .visit-panel .extra-choice-text{flex:1;min-width:0;font-size:12px;line-height:1.5}
.portal-role-owner .visit-panel .extra-price{flex-shrink:0;font-size:12px;margin-left:6px;color:#493320}
.portal-role-owner .visit-panel .btn,.portal-role-owner .visit-panel .secondary{font-size:12px;padding:10px 14px;border-radius:9px;min-height:40px;line-height:1.4}
.portal-role-owner .visit-panel .field{gap:6px;min-width:0}
.portal-role-owner .visit-panel .field span{font-size:12px;font-weight:600}
.portal-role-owner .visit-panel textarea{min-height:76px;padding:10px 12px;border:1px solid #dfd4c5;border-radius:10px;font:16px/1.4 Arial,sans-serif;background:#fff}
.portal-role-owner .visit-panel .message{padding:12px 0;border-bottom-color:#eee4d7}
.portal-role-owner .visit-panel .message>strong{font-size:12px}
.portal-role-owner .visit-panel .message>span{font-size:10px;margin:5px 0}
.portal-role-owner .visit-panel .message>p{font-size:13px;line-height:1.65;margin:6px 0 0}
.portal-role-owner .visit-panel details.panel{padding:14px 16px;margin:18px 0;border-radius:12px;box-shadow:none}
.portal-role-owner .visit-panel details.panel>summary{font-size:12px;color:#805e37}
.portal-role-owner .visit-panel details.panel>p{font-size:12px;line-height:1.65}
.portal-role-owner .visit-panel .completed-note{padding:12px 14px;border-radius:10px;font-size:12px}
@media(max-width:650px){
.portal-role-owner #visit-dialog{width:calc(100% - 24px);padding:16px;max-height:92dvh}
.portal-role-owner #visit-dialog .dialog-close{min-width:40px;min-height:40px}
.portal-role-owner .visit-panel{padding:16px}
.portal-role-owner #visit-dialog .visit-panel{padding:0;background:transparent}
.portal-role-owner .visit-panel>h1{font-size:30px}
.portal-role-owner .visit-panel .visit-facts{grid-template-columns:repeat(2,minmax(0,1fr));padding:13px;gap:12px}
.portal-role-owner .visit-panel .extras-selection{padding:14px 12px}
.portal-role-owner .visit-panel .extras-selection .check-row{display:grid;grid-template-columns:18px minmax(0,1fr);gap:5px 9px;padding:10px}
.portal-role-owner .visit-panel .extras-selection .check-row input{grid-column:1;grid-row:1 / span 2;align-self:center}
.portal-role-owner .visit-panel .extra-choice-text{grid-column:2}
.portal-role-owner .visit-panel .extra-price{grid-column:2;margin:0;justify-self:start}
.portal-role-owner .visit-panel .btn,.portal-role-owner .visit-panel .secondary{min-height:44px}
}
@media(max-width:380px){.portal-role-owner .visit-panel .visit-facts{grid-template-columns:minmax(0,1fr)}}


.portal-role-owner .visit-panel .completion{padding:16px 18px;margin:18px 0;border:1px solid #e8dccb;border-radius:12px;background:#f7efe3}
.portal-role-owner .visit-panel .completion h2{font-size:23px;line-height:1.2;margin:0 0 10px}
.portal-role-owner .visit-panel .completion p{font-size:12px;line-height:1.6;margin:0 0 10px}
.portal-role-owner .visit-panel .completion .portal-form{margin:0;gap:12px}
.portal-role-owner .visit-panel .visit-facts .directions-link{justify-self:start;font-size:12px;min-height:44px;padding:9px 12px;margin-top:6px}
@media(max-width:650px){.portal-role-owner .visit-panel .completion{padding:14px 12px}.portal-role-owner .visit-panel .completion .btn{min-height:44px}}


.portal-role-owner #visit-dialog .dialog-body>.notice{font-size:13px;line-height:1.6;padding:12px 14px;margin:0 0 16px;border-radius:10px}

.extra-charge-field{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-4px 4px 4px;font-size:11px;color:#79694f}.extra-charge-field span{font-size:11px}.extra-charge-field select{width:180px;max-width:55%;min-height:40px;padding:8px 10px;border:1px solid #dfd4c5;border-radius:9px;background:#fff;font-size:14px}@media(max-width:600px){.extra-charge-field select{font-size:16px;min-height:44px}}

.extra-review-actions{display:flex;align-items:flex-start;gap:10px;flex-wrap:wrap;max-width:400px}.extra-review-actions .inline-form{margin:0}.extra-rejection{min-width:100px}.extra-rejection>summary{font-size:12px;color:#805e37;padding:10px 14px;border:1px solid #e4d7c7;border-radius:9px;cursor:pointer}.extra-rejection[open]{width:100%}.extra-rejection .portal-form{margin:12px 0 0}.extra-rejection textarea{min-height:76px;font-size:16px}

/* Keep extra-service content inside the rounded cards on small screens. */
@media(max-width:650px){
.mobile-portal .visit-panel .service-row{box-sizing:border-box;width:100%;max-width:100%;min-width:0;padding:12px 14px;margin:8px 0;gap:12px;align-items:stretch;flex-direction:column;border:1px solid #e8dac6;border-radius:12px;background:#fffdf9}
.mobile-portal .visit-panel .service-row>div{min-width:0;max-width:100%;overflow-wrap:anywhere}
.mobile-portal .visit-panel .service-row strong,.mobile-portal .visit-panel .service-row .extra-description,.mobile-portal .visit-panel .service-row .extra-status{overflow-wrap:anywhere;white-space:normal}
.mobile-portal .visit-panel .extra-review-actions{width:100%;max-width:100%;min-width:0}
.mobile-portal .visit-panel .extra-rejection{box-sizing:border-box;min-width:0;max-width:100%}
.mobile-portal .visit-panel .extra-rejection[open]{width:100%}
.mobile-portal .visit-panel .extra-rejection .portal-form,.mobile-portal .visit-panel .extra-rejection .field{min-width:0;max-width:100%}
.mobile-portal .visit-panel .extra-rejection textarea{box-sizing:border-box;width:100%;max-width:100%}
}

/* Compact offer request dialog, shared with the existing administration styles. */
#offer-dialog{box-sizing:border-box;width:min(820px,94%);max-height:90dvh;overflow:auto;padding:20px 24px;border:1px solid #e6dac8;border-radius:16px;background:#fffdf9;color:#171513;scrollbar-width:thin}
#offer-dialog::backdrop{background:rgba(23,21,19,.52)}
#offer-dialog .dialog-close{display:block;margin:0 0 10px auto;width:40px;height:40px;min-height:40px;padding:0;border:1px solid #e6dac8;border-radius:50%;background:#fffdf9;color:#171513;-webkit-text-fill-color:#171513;appearance:none;-webkit-appearance:none;font:26px/1 Arial,sans-serif;cursor:pointer}
#offer-dialog .dialog-close:hover{color:#785431;-webkit-text-fill-color:#785431}
#offer-dialog .dialog-close:focus-visible{outline:2px solid #a17743;outline-offset:3px}
#offer-dialog .offer-dialog-request{padding:0;margin:0;border:0;box-shadow:none;background:transparent;min-width:0}
#offer-dialog .offer-dialog-heading{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;margin:0 0 18px}
#offer-dialog .offer-dialog-heading h1{width:100%;font-size:32px;line-height:1.15;margin:0;overflow-wrap:anywhere}
#offer-dialog .offer-dialog-heading .offer-summary-main>strong{display:none}
#offer-dialog h2{font-size:23px;margin:16px 0 8px}
#offer-dialog .offer-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px;margin:0;padding:14px;border:1px solid #e8dac6;border-radius:11px;background:#f7efe3}
#offer-dialog .offer-details>div{min-width:0;overflow-wrap:anywhere}
#offer-dialog .offer-details dt{font-size:11px;color:#80694c;margin-bottom:4px}
#offer-dialog .offer-details dd{font-size:13px;margin:0}
#offer-dialog .preline{font-size:13px;line-height:1.6;overflow-wrap:anywhere}
#offer-dialog .notice{padding:12px;border-radius:10px;font-size:13px;line-height:1.6}
#offer-dialog .offer-notes textarea{box-sizing:border-box;width:100%;max-width:100%;min-height:176px;font-size:16px}
#offer-dialog[aria-busy=true]{cursor:wait}
@media(max-width:650px){
 #offer-dialog{width:calc(100% - 24px);max-height:92dvh;padding:16px}
 #offer-dialog .offer-dialog-heading h1{font-size:29px}
 #offer-dialog .offer-details{grid-template-columns:minmax(0,1fr);padding:12px;gap:10px}
 #offer-dialog .offer-actions{flex-wrap:wrap}
 #offer-dialog .offer-actions form,#offer-dialog .offer-actions button{max-width:100%;white-space:normal}
}

/* Customer conversations in a compact staff dialog. */
#message-dialog{box-sizing:border-box;width:min(820px,94%);max-height:90dvh;overflow:auto;padding:20px 24px;border:1px solid #e6dac8;border-radius:16px;background:#fffdf9;color:#171513;scrollbar-width:thin}
#message-dialog::backdrop{background:rgba(23,21,19,.52)}
#message-dialog .dialog-close{display:block;margin:0 0 10px auto;width:40px;height:40px;min-height:40px;padding:0;border:1px solid #e6dac8;border-radius:50%;background:#fffdf9;color:#171513;-webkit-text-fill-color:#171513;appearance:none;-webkit-appearance:none;font:26px/1 Arial,sans-serif;cursor:pointer}
#message-dialog .dialog-close:hover{color:#785431;-webkit-text-fill-color:#785431}
#message-dialog .dialog-close:focus-visible{outline:2px solid #a17743;outline-offset:3px}
#message-dialog .conversation{padding:0;margin:0;border:0;box-shadow:none;background:transparent;min-width:0}
#message-dialog .conversation-heading{margin:0 0 14px;gap:12px}
#message-dialog .conversation-heading h2{font-size:30px;line-height:1.2;margin:0 0 6px}
#message-dialog .conversation-heading p{font-size:12px;margin:0;line-height:1.6}
#message-dialog .conversation-status{font-size:11px;padding:6px 9px;white-space:normal}
#message-dialog .chat-log{box-sizing:border-box;height:320px;max-height:40dvh;padding:14px;border-radius:10px}
#message-dialog .conversation-message{box-sizing:border-box;padding:11px 13px;margin-bottom:12px;max-width:90%}
#message-dialog .conversation-message p{font-size:13px;line-height:1.6;margin:7px 0 0}
#message-dialog .conversation-meta strong{font-size:12px}
#message-dialog .conversation-meta time{font-size:10px}
#message-dialog .chat-toolbar{padding:8px 12px;font-size:11px;border-radius:8px 8px 0 0}
#message-dialog h3{font-size:22px;margin:16px 0 8px}
#message-dialog .portal-form{margin:0;gap:10px}
#message-dialog .field{min-width:0;gap:5px}
#message-dialog .field>span{font-size:12px}
#message-dialog .portal-form textarea{box-sizing:border-box;width:100%;max-width:100%;min-height:80px;padding:10px 12px;border:1px solid #dfd4c5;border-radius:10px;background:#fff;font:16px/1.5 Arial,sans-serif}
#message-dialog .portal-form>.muted{font-size:11px;margin:0}
#message-dialog .portal-form .btn{min-height:44px;font-size:12px;padding:10px 16px;margin:0}
#message-dialog .conversation-pages{font-size:12px;margin:12px 0;gap:10px}
#message-dialog .notice{font-size:13px;padding:12px;border-radius:10px;line-height:1.6}
@media(max-width:650px){#message-dialog{width:calc(100% - 24px);max-height:92dvh;padding:16px}#message-dialog .conversation-heading{flex-direction:column;gap:9px}#message-dialog .conversation-heading h2{font-size:27px}#message-dialog .chat-log{height:280px;max-height:36dvh;padding:10px}#message-dialog .portal-form .btn{width:100%}}

/* Agreement-specific rotation, alongside the existing fixed cleaning tasks. */
.rotation-fields{box-sizing:border-box;min-width:0;grid-column:1/-1;margin:12px 0;padding:14px;border:1px solid #e5d6c1;border-radius:11px;background:#fcf8f1}
.rotation-fields legend{font-size:13px;font-weight:600;color:#785b37;padding:0 6px}
.rotation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}
.rotation-grid .field{min-width:0}.rotation-grid textarea{box-sizing:border-box;width:100%;max-width:100%;min-height:90px;font:16px/1.5 Arial,sans-serif}
.rotation-fields>.muted{font-size:11px;line-height:1.6;margin:10px 0 0}
.rotation-focus{padding:14px 16px;border:1px solid #e4d2b7;background:#f7efe3;border-radius:12px;margin:16px 0;overflow-wrap:anywhere}
.visit-panel .rotation-focus h2,.rotation-focus h2{font-size:23px;margin:8px 0}
.rotation-focus .eyebrow{font-size:11px;letter-spacing:.1em}.rotation-focus p{font-size:13px;line-height:1.65;margin:0}
.rotation-planning{box-sizing:border-box;max-width:1050px;margin:18px auto;padding:18px;border-radius:13px}
.rotation-planning h2{font-size:27px;margin:0 0 12px}.rotation-planning h3{font-size:23px;margin:18px 0 8px}
.rotation-planning .portal-form{gap:10px;margin:12px 0}.rotation-planning .field{min-width:0;font-size:12px}
.rotation-planning select{box-sizing:border-box;width:100%;min-width:0;min-height:44px;padding:10px;border:1px solid #dfd4c5;border-radius:10px;background:#fff;font:16px Arial,sans-serif}
.rotation-planning button{min-height:44px;font-size:12px;padding:10px 16px}.rotation-planning>.muted{font-size:12px;line-height:1.6}
@media(max-width:650px){.rotation-grid{grid-template-columns:minmax(0,1fr)}.rotation-fields{padding:12px}.rotation-planning{padding:14px}.rotation-planning button{width:100%}}

/* Cleaning agreement editor in the same compact dialog style. */
#agreement-dialog{box-sizing:border-box;width:min(860px,94%);max-height:90dvh;overflow:auto;padding:20px 24px;border:1px solid #e6dac8;border-radius:16px;background:#fffdf9;color:#171513;scrollbar-width:thin}
#agreement-dialog::backdrop{background:rgba(23,21,19,.52)}
#agreement-dialog .dialog-close{display:block;margin:0 0 10px auto;width:40px;height:40px;min-height:40px;padding:0;border:1px solid #e6dac8;border-radius:50%;background:#fffdf9;color:#171513;-webkit-text-fill-color:#171513;appearance:none;-webkit-appearance:none;font:26px/1 Arial,sans-serif;cursor:pointer}
#agreement-dialog .dialog-close:focus-visible{outline:2px solid #a17743;outline-offset:3px}
#agreement-dialog h1{font-size:30px;line-height:1.2;margin:0 0 18px;overflow-wrap:anywhere}
#agreement-dialog .portal-form{display:grid;gap:12px;margin:0}
#agreement-dialog .field{min-width:0;gap:5px;font-size:12px}
#agreement-dialog input:not([type=checkbox]):not([type=hidden]),#agreement-dialog select,#agreement-dialog textarea{box-sizing:border-box;min-width:0;width:100%;max-width:100%;min-height:44px;padding:10px 12px;border:1px solid #dfd4c5;border-radius:10px;background:#fff;font:16px/1.4 Arial,sans-serif}
#agreement-dialog textarea{min-height:90px;resize:vertical}
#agreement-dialog fieldset{min-width:0;padding:14px;border:1px solid #e5d6c1;border-radius:11px}
#agreement-dialog legend{font-size:13px;color:#785b37;padding:0 6px}
#agreement-dialog .muted{font-size:11px;line-height:1.6;margin:5px 0}
#agreement-dialog .btn{min-height:44px;font-size:12px;padding:10px 16px;margin:0}
#agreement-dialog .notice{font-size:13px;padding:12px;border-radius:10px;line-height:1.6}
@media(max-width:650px){#agreement-dialog{width:calc(100% - 24px);max-height:92dvh;padding:16px}#agreement-dialog h1{font-size:26px}#agreement-dialog .form-grid{grid-template-columns:minmax(0,1fr)}#agreement-dialog .btn{width:100%}}

/* Compact customer account overview inside the dialog. */
#agreement-dialog{width:min(800px,94%);padding:18px 22px;box-shadow:0 18px 65px #30271e25}
#agreement-dialog .dialog-close{width:36px;height:36px;min-height:36px;font-size:24px;margin-bottom:4px}
#agreement-dialog .customer-popup-heading{display:flex;align-items:center;gap:12px;padding-bottom:14px;border-bottom:1px solid #e9dfd1;margin-bottom:10px}
#agreement-dialog .customer-popup-avatar{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;border:1px solid #ddc8a8;border-radius:12px;background:#f2e5d1;color:#88653c;font:24px/1 Georgia,serif}
#agreement-dialog .customer-popup-heading>div{min-width:0;flex:1}
#agreement-dialog .customer-popup-heading .eyebrow{display:block;font:600 10px/1.4 Arial,sans-serif;letter-spacing:.12em;color:#a17b49;margin-bottom:3px}
#agreement-dialog .customer-popup-heading h1{font-size:29px;margin:0;line-height:1.12}
#agreement-dialog .customer-popup-heading .user-access-state{font-size:10px;padding:5px 8px;border-radius:7px}
#agreement-dialog .customer-popup-panel>.user-contact{font-size:12px;color:#8a7559;margin:0 0 12px;line-height:1.5}
#agreement-dialog .customer-popup-panel>h2{font-size:23px;line-height:1.2;margin:18px 0 5px}
#agreement-dialog .customer-popup-panel>p{font-size:12px;line-height:1.6;margin:7px 0;color:#83715a;overflow-wrap:anywhere}
#agreement-dialog .customer-popup-panel>.panel{padding:11px 13px;margin:8px 0;border:1px solid #e5d8c6;border-radius:10px;background:#fcf9f3;box-shadow:none}
#agreement-dialog .customer-popup-panel>.agreement-editor{background:#fff;border-left:3px solid #b58a53}
#agreement-dialog .customer-popup-panel>.panel>summary{font-size:12px;line-height:1.6;color:#715737;font-weight:600;padding:3px 0;min-height:24px;cursor:pointer;overflow-wrap:anywhere}
#agreement-dialog .customer-popup-panel>.panel[open]>summary{padding-bottom:10px;margin-bottom:12px;border-bottom:1px solid #eee4d6}
#agreement-dialog .customer-popup-panel .portal-form{gap:10px;margin:10px 0 0}
#agreement-dialog .customer-popup-panel .form-grid{gap:10px 12px}
#agreement-dialog .customer-popup-panel .field>span{font-size:11px;line-height:1.4;color:#80694e}
#agreement-dialog .customer-popup-panel input:not([type=checkbox]):not([type=hidden]),#agreement-dialog .customer-popup-panel select,#agreement-dialog .customer-popup-panel textarea{min-height:40px;padding:8px 10px;font-size:14px;border-radius:9px;background:#fffefa}
#agreement-dialog .customer-popup-panel textarea{height:76px;min-height:76px}
#agreement-dialog .customer-popup-panel fieldset{gap:10px;padding:12px;margin:5px 0;background:#faf5ec}
#agreement-dialog .customer-popup-panel legend{font-size:12px}
#agreement-dialog .customer-popup-panel .rotation-fields{margin:5px 0}
#agreement-dialog .customer-popup-panel .rotation-grid{grid-column:1/-1;margin-top:0;gap:10px}
#agreement-dialog .customer-popup-panel .rotation-fields>.check-row{grid-column:1/-1;font-size:12px;line-height:1.5}
#agreement-dialog .customer-popup-panel .muted{font-size:11px;line-height:1.55;margin:4px 0}
#agreement-dialog .customer-popup-panel .btn,#agreement-dialog .customer-popup-panel .secondary{box-sizing:border-box;min-height:40px;padding:9px 13px;font-size:11px;line-height:1.4;letter-spacing:.02em;border-radius:8px;width:auto;justify-self:start;margin:0;white-space:normal}
#agreement-dialog .customer-popup-panel .inline-form{display:flex;flex-wrap:wrap;margin:12px 0 0}
#agreement-dialog .customer-popup-panel .password-reset{padding-top:11px;margin-top:12px;border-top:1px solid #e9dfd1}
#agreement-dialog .customer-popup-panel .password-reset>summary{font-size:12px;color:#8a7356;cursor:pointer}
#agreement-dialog .customer-popup-panel .password-reset p{font-size:11px;line-height:1.6}
#agreement-dialog .customer-popup-panel input:focus-visible,#agreement-dialog .customer-popup-panel textarea:focus-visible,#agreement-dialog .customer-popup-panel select:focus-visible{outline:2px solid #b78950;outline-offset:2px}
@media(max-width:650px){
 #agreement-dialog{width:calc(100% - 24px);padding:14px}
 #agreement-dialog .customer-popup-heading{gap:9px;flex-wrap:wrap;padding-bottom:12px}
 #agreement-dialog .customer-popup-heading h1{font-size:26px}
 #agreement-dialog .customer-popup-avatar{width:38px;height:38px;flex-basis:38px;font-size:22px;border-radius:10px}
 #agreement-dialog .customer-popup-heading .user-access-state{margin-left:auto}
 #agreement-dialog .customer-popup-panel>.panel{padding:10px 11px}
 #agreement-dialog .customer-popup-panel input:not([type=checkbox]):not([type=hidden]),#agreement-dialog .customer-popup-panel select,#agreement-dialog .customer-popup-panel textarea{font-size:16px;min-height:44px;padding:9px 10px}
 #agreement-dialog .customer-popup-panel .btn,#agreement-dialog .customer-popup-panel .secondary{min-height:44px;font-size:12px}
 #agreement-dialog .customer-popup-panel .portal-form>.btn{width:100%;justify-self:stretch}
}

/* Primary customer administration actions share one compact row. */
#agreement-dialog .customer-popup-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:12px 0 16px}
#agreement-dialog .customer-popup-actions .portal-form{display:block;margin:0}
#agreement-dialog .customer-popup-actions .secondary{display:inline-flex;align-items:center;justify-content:center;min-height:40px;margin:0;text-decoration:none}
@media(max-width:650px){#agreement-dialog .customer-popup-actions{align-items:stretch}#agreement-dialog .customer-popup-actions .secondary{min-height:44px}}

#agreement-dialog .customer-popup-actions .inline-form{display:block;margin:0}
#agreement-dialog .customer-popup-actions .customer-delete-action{display:block;align-self:flex-start;border:0;padding:0;margin:0}
#agreement-dialog .customer-popup-actions .customer-delete-action>summary{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:40px;padding:9px 13px;border:1px solid #dfc9ad;border-radius:8px;background:#fffaf3;color:#8a6842;font:600 11px/1.4 Arial,sans-serif;letter-spacing:.02em;cursor:pointer;list-style:none}
#agreement-dialog .customer-popup-actions .customer-delete-action>summary::-webkit-details-marker{display:none}
#agreement-dialog .customer-popup-actions .customer-delete-action>summary:hover{background:#f4e8d6}
#agreement-dialog .customer-popup-actions .customer-delete-action>p,#agreement-dialog .customer-popup-actions .customer-delete-action>form{box-sizing:border-box;flex-basis:100%;width:100%;min-width:0;margin:0;padding:10px 12px;border:1px solid #e6d5bd;border-radius:9px;background:#fcf7ef}
#agreement-dialog .customer-popup-actions .customer-delete-action>p{font-size:11px;line-height:1.6}
#agreement-dialog .customer-popup-actions .customer-delete-action>form{display:grid;gap:10px}
#agreement-dialog .customer-popup-actions .customer-delete-action:not([open])>:not(summary){display:none}
@media(max-width:650px){#agreement-dialog .customer-popup-actions .customer-delete-action>summary{min-height:44px;font-size:12px}}

#agreement-dialog .customer-popup-actions .customer-delete-action[open]{flex-basis:100%}

/* Desktop portal uses the same fixed header as the public homepage. */
.portal-desktop-header{display:block}.portal-mobile-header{display:none}
.invoice-payment-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.invoice-payment-actions .btn,.invoice-payment-actions .secondary{margin:0;white-space:normal;text-align:center}
.invoice-mail-facts{display:grid;grid-template-columns:2fr 1fr 1.5fr 1fr;gap:14px;padding:16px;background:#f5ecdf;border:1px solid #e6d6c1;border-radius:12px;margin:16px 0}.invoice-mail-facts small,.invoice-mail-facts strong{display:block}.invoice-mail-facts small{font-size:12px;color:#746d62;margin-bottom:5px}.invoice-mail-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:24px;align-items:start}.invoice-mail-form{gap:12px}.invoice-mail-form input,.invoice-mail-form select,.invoice-mail-form textarea{box-sizing:border-box;width:100%;min-width:0}.invoice-mail-form textarea{min-height:112px}.invoice-mail-form .invoice-mail-check{display:flex;align-items:flex-start;gap:8px;font-size:13px}.invoice-mail-check input[type=checkbox]{width:17px;height:17px;min-height:0;flex:none;margin-top:3px}.invoice-mail-preview{width:100%;height:680px;border:1px solid #e6d6c1;border-radius:12px;background:#f5efe6}.invoice-mail-status{display:block;margin-top:8px;color:#746d62}.invoice-mail-form button:disabled{opacity:.55;cursor:not-allowed}
.invoice-mail-copy-preview{height:900px;box-sizing:border-box}.invoice-mail-facts strong{overflow-wrap:anywhere}.invoice-mail-plain{margin:16px 0}.invoice-mail-plain summary{cursor:pointer;color:#805b34;font-weight:600}.invoice-mail-plain pre{white-space:pre-wrap;overflow-wrap:anywhere;font:14px/1.7 Arial,sans-serif;padding:16px;border:1px solid #e6d6c1;border-radius:10px;background:#fffdf9}
@media(max-width:850px){.invoice-mail-layout{grid-template-columns:minmax(0,1fr)}.invoice-mail-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.invoice-mail-facts strong{overflow-wrap:anywhere}.invoice-mail-preview{height:600px}}
.invoice-payment-actions .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:600px){.portal-desktop-header{display:none}.portal-mobile-header{display:block}}

/* Shared owner economy area: five sections, one main menu entry. */
.portal-wrap .billing-heading{align-items:center;flex-wrap:wrap}
.portal-wrap .billing-heading .billing-section-nav{display:flex;flex-wrap:wrap;width:auto;max-width:100%;gap:4px}
.portal-wrap .billing-heading .billing-section-nav a{flex:1 1 auto;white-space:nowrap;overflow-wrap:normal;padding:9px 13px}
@media(max-width:800px){.portal-wrap .billing-heading{align-items:stretch;flex-direction:column}.portal-wrap .billing-heading .billing-section-nav a{flex:1 1 calc(33.333% - 8px);white-space:normal}}
@media(max-width:480px){.portal-wrap .billing-heading .billing-section-nav a{flex-basis:calc(50% - 8px);font-size:12px}}

/* Owner meetings and offer status. */
.offer-status-overview{grid-template-columns:repeat(auto-fit,minmax(155px,1fr))}
.offer-state.meeting{background:#efe3d1;color:#785431}
.meeting-overview{max-width:1100px;margin:auto}.meeting-overview .toolbar{flex-wrap:wrap;align-items:center;gap:12px}.meeting-list{display:grid;gap:10px;margin:20px 0}.meeting-card{display:grid;grid-template-columns:100px minmax(0,1fr) 20px;align-items:center;gap:18px;padding:16px 20px;border:1px solid #e5d8c7;border-radius:16px;background:#fffdfa;text-decoration:none;color:inherit}.meeting-card small{display:block;color:#776d61;font-size:13px;margin-top:4px;overflow-wrap:anywhere}.meeting-date{font-size:22px;color:#785431}.meeting-date small{font-size:13px}.meeting-editor{margin-top:24px;padding:24px;border-radius:18px}.meeting-editor h2{margin-top:0}.meeting-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.meeting-fields .field:last-child{grid-column:1/-1}.meeting-fields input,.meeting-fields textarea{width:100%;min-width:0;box-sizing:border-box}.meeting-fields input{font-size:16px}.meeting-editor p{color:#776d61;font-size:14px}.mobile-portal .portal-bar nav>a[href="portal.php?view=meetings"]::before{content:'▦';color:#785431}.mobile-portal .portal-bar nav>a[href="portal.php?view=meetings"]::after{content:'Kundebesøg og aftaler  ›'}
@media(max-width:600px){.meeting-card{grid-template-columns:76px minmax(0,1fr) 12px;gap:10px;padding:14px}.meeting-fields{grid-template-columns:1fr}.meeting-editor{padding:18px}.meeting-overview .offer-heading{flex-wrap:wrap;gap:12px}}

.meeting-month{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin:20px 0}.meeting-weekday{font-size:12px;text-align:center;padding:8px;color:#785431}.meeting-day{min-height:94px;padding:9px;background:#fffdfa;border:1px solid #e5d8c7;border-radius:10px;min-width:0}.meeting-day>strong{font-size:13px}.meeting-day.outside{opacity:.45}.meeting-day.today{border-color:#a47a45;background:#f5ecdf}.meeting-day a{display:block;margin-top:5px;background:#efe3d1;color:#604626;border-radius:5px;padding:5px;font-size:12px;text-decoration:none;overflow-wrap:anywhere}.meeting-day small{font-weight:bold}@media(max-width:700px){.meeting-month{display:none}}

.mobile-portal .portal-bar nav>a[href="portal.php?view=meetings"]::before{content:"";width:25px;height:25px;flex-shrink:0;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23785431' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='3'/%3E%3Cpath d='M7 3v4m10-4v4M3 10h18m-13 5h2m4 0h2m-8 3h2'/%3E%3C/svg%3E") center/contain no-repeat}.meeting-editor{scroll-margin-top:120px}

/* Compact owner meeting calendar, scoped to this view. */
.meeting-overview{max-width:1100px;padding:0 0 20px;color:#302a24}
.meeting-overview .offer-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}
.meeting-overview .offer-heading h1{font-size:34px;line-height:1.12;margin:4px 0 6px}
.meeting-overview .offer-heading p{font-size:13px;line-height:1.5;margin:0;color:#7b7166}
.meeting-overview .eyebrow{font-size:10px;letter-spacing:1.8px}
.meeting-overview .secondary{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:8px 13px;border:1px solid #dfd0bc;border-radius:9px;font-size:12px;line-height:1.4;background:#fffdfa;color:#735332;text-decoration:none;box-sizing:border-box;font-weight:600}
.meeting-overview .offer-heading>.secondary{background:#8b673f;border-color:#8b673f;color:white;white-space:nowrap}
.meeting-overview .meeting-navigation{display:flex;align-items:center;gap:10px;padding:9px 12px;margin:0 0 14px;border:1px solid #e6dbce;border-radius:12px;background:#f7f2eb}
.meeting-navigation>strong{font-size:14px;text-align:center;min-width:135px}
.meeting-navigation>a:last-child{margin-left:auto;font-size:12px;color:#785431}
.meeting-calendar-panel{overflow:hidden;border:1px solid #e3d7c7;border-radius:14px;background:#fffdfa}
.meeting-calendar-caption{display:flex;justify-content:space-between;align-items:center;padding:11px 15px;border-bottom:1px solid #e8dfd3;font-size:12px;font-weight:600;color:#6e5338}
.meeting-calendar-caption small{font-size:11px;font-weight:400;color:#877c70}
.meeting-month{gap:0;margin:0}
.meeting-weekday{padding:9px;background:#f4ede3;font-size:10px;font-weight:600;letter-spacing:.5px}
.meeting-day{min-height:76px;padding:7px;border:0;border-top:1px solid #eee5da;border-right:1px solid #eee5da;border-radius:0;background:#fffdfa;box-sizing:border-box}
.meeting-day:nth-child(7n){border-right:0}.meeting-day.outside{opacity:1;background:#faf7f2;color:#beb4a7}
.meeting-day>strong{font-size:11px;font-weight:500}.meeting-day.today{background:#f8efdf;box-shadow:inset 0 2px #b48955}
.meeting-day.today>strong{color:#795327;font-weight:700}
.meeting-day a{padding:4px 6px;margin-top:4px;border-left:2px solid #aa7e48;border-radius:4px;background:#f0e3d1;color:#684b2e;font-size:11px;line-height:1.4}
.meeting-agenda-title{font-family:Arial,sans-serif;font-size:13px;font-weight:600;margin:20px 0 9px}
.meeting-list{gap:7px;margin:0 0 16px}.meeting-card{grid-template-columns:94px minmax(0,1fr) 16px;gap:14px;padding:11px 14px;border-radius:11px;transition:border-color .15s,background .15s}.meeting-card:hover{border-color:#b8976e;background:#fffaf2}.meeting-date{font-size:18px;line-height:1.2}.meeting-date small{font-size:11px}.meeting-card strong{font-size:13px}.meeting-card small{font-size:11px;line-height:1.4;margin-top:3px}.meeting-card>span:last-child{color:#98764f}
.meeting-overview .meeting-editor{padding:18px 20px;margin-top:18px;border:1px solid #e3d7c7;border-radius:14px;background:#fffdfa;box-shadow:none}
.meeting-editor h2{font-size:25px;line-height:1.2;margin:0 0 6px}.meeting-editor p,.meeting-editor>a{font-size:12px;line-height:1.5;margin:6px 0 12px}
.meeting-editor .portal-form{gap:10px;margin-top:14px}.meeting-fields{gap:10px 14px}.meeting-editor .field{gap:5px;margin:0;min-width:0}.meeting-editor .field>span{font-size:12px;font-weight:600;color:#776957}
.meeting-editor .field input,.meeting-editor .field textarea{border:1px solid #dfd5c8;border-radius:9px;background:white;padding:9px 11px;font:14px Arial,sans-serif;color:#302a24;min-height:39px;box-shadow:inset 0 1px 2px #00000003;max-width:100%}
.meeting-editor .field textarea{min-height:78px;resize:vertical}.meeting-editor .field input:focus,.meeting-editor .field textarea:focus{outline:2px solid #b48c5755;outline-offset:1px;border-color:#b48c57}.meeting-editor .toolbar{margin:4px 0 0}.meeting-editor .toolbar>a,.meeting-editor .link-button{font-size:12px;color:#80674e}.meeting-editor>form:last-child:not(.portal-form){margin-top:12px;border-top:1px solid #eee4d6;padding-top:10px}
@media(max-width:700px){.meeting-calendar-panel{display:none}.meeting-overview .offer-heading h1{font-size:29px}.meeting-overview .offer-heading{gap:12px}.meeting-overview .meeting-navigation{gap:7px;padding:8px;justify-content:space-between}.meeting-navigation>strong{min-width:0;font-size:13px}.meeting-overview .meeting-navigation .secondary{padding:7px 9px;min-height:32px;font-size:11px}.meeting-navigation>a:last-child{flex-basis:100%;text-align:center;margin:0}.meeting-overview .meeting-editor{padding:16px}.meeting-editor .field input,.meeting-editor .field textarea{font-size:16px}.meeting-card{grid-template-columns:80px minmax(0,1fr) 12px;padding:11px 12px;gap:10px}}
#meeting-dialog{width:min(680px,calc(100% - 32px));max-width:680px;max-height:88dvh;box-sizing:border-box;padding:48px 20px 20px;border:1px solid #e2d4c1;border-radius:20px;background:#fffdfa;color:#302a24;overflow:auto;box-shadow:0 24px 80px #20160c33}
#meeting-dialog::backdrop{background:#211a125f;backdrop-filter:blur(2px)}
#meeting-dialog .dialog-close{position:absolute;right:14px;top:12px;width:32px;height:32px;padding:0;min-height:0;border:1px solid #e3d7c7;border-radius:50%;background:#fffdfa;color:#785431;-webkit-text-fill-color:#785431;font:24px Arial,sans-serif;display:grid;place-items:center}
#meeting-dialog .meeting-editor{margin:0;padding:0;border:0;box-shadow:none;background:transparent;scroll-margin:0}
#meeting-dialog .meeting-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
#meeting-dialog .notice{font-size:13px;margin:0 0 14px}
@media(max-width:600px){#meeting-dialog{width:calc(100% - 24px);padding:50px 16px 18px;border-radius:17px;max-height:92dvh}#meeting-dialog .meeting-fields{grid-template-columns:minmax(0,1fr)}#meeting-dialog .meeting-editor h2{font-size:26px}}

.meeting-request-info{margin-top:20px;padding-top:18px;border-top:1px solid #e3d7c7}.meeting-request-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.meeting-request-info h2{font-size:22px;margin:0}.meeting-request-info h3{font:600 12px Arial,sans-serif;margin:16px 0 6px;color:#785431}.meeting-request-info dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0;background:#f7f0e6;padding:14px;border:1px solid #e8dac7;border-radius:11px}.meeting-request-info dl>div{min-width:0}.meeting-request-info dt{font-size:11px;color:#897966;margin-bottom:4px}.meeting-request-info dd{font-size:13px;margin:0;overflow-wrap:anywhere}.meeting-request-info .preline{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.6}.meeting-request-info .offer-state{font-size:11px;padding:5px 8px;border-radius:7px}@media(max-width:450px){.meeting-request-info dl{grid-template-columns:minmax(0,1fr)}}

/* Owner economy: matching outline icon on mobile and desktop. */
.mobile-portal.portal-role-owner .portal-bar nav>a[href="portal.php?view=economy"]::before{content:"";display:inline-block;vertical-align:middle;flex-shrink:0;width:30px;height:30px;margin-right:8px;background:transparent url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2030%22%20fill%3D%22none%22%20stroke%3D%22%23785431%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%224%22%20y%3D%223%22%20width%3D%2222%22%20height%3D%2224%22%20rx%3D%223%22%2F%3E%3Cpath%20d%3D%22M9%209h12M10%2022v-4m5%204v-7m5%207V12%22%2F%3E%3C%2Fsvg%3E") center/30px 30px no-repeat}
@media(min-width:601px){.mobile-portal.portal-role-owner .portal-bar nav>a[href="portal.php?view=economy"]::before{width:22px;height:22px;flex-basis:22px;margin:0;background-size:22px 22px}}

.meeting-readonly{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0;padding:14px;background:#f7f0e6;border:1px solid #e8dac7;border-radius:11px}.meeting-readonly div{min-width:0}.meeting-readonly div:last-child{grid-column:1/-1}.meeting-readonly dt{font-size:11px;color:#897966;margin-bottom:5px}.meeting-readonly dd{margin:0;font-size:14px;overflow-wrap:anywhere;white-space:pre-wrap}@media(max-width:450px){.meeting-readonly{grid-template-columns:minmax(0,1fr)}}

.meeting-editor .field select{box-sizing:border-box;width:100%;max-width:100%;min-width:0;min-height:39px;padding:9px 11px;border:1px solid #dfd5c8;border-radius:9px;background:#fff;color:#302a24;font:14px Arial,sans-serif}.work-visit.work-meeting{border-left:3px solid #a47a45;background:#f7eddf}.work-meeting .badge{background:#e9d7bc;color:#6d4b28}@media(max-width:600px){.meeting-editor .field select{font-size:16px}}

/* Assistant task cards: clear white surfaces, distinct meeting stripe and outline icons. */
.portal-role-assistant .workplan-overview .work-visit{position:relative;padding-left:40px;background:#fff}
.portal-role-assistant .workplan-overview .work-visit::before{content:"";position:absolute;top:13px;left:10px;width:21px;height:21px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23987043%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m14%203-5%209m-3-1%207%204-4%206-7-4%204-6Zm-1%207%203-4m0%206%203-4M18%204v4m-2-2h4m-1%205v3m-1.5-1.5h3%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;pointer-events:none}
.portal-role-assistant .workplan-overview .work-visit.work-meeting{background:#fff;border-left:3px solid #171717}
.portal-role-assistant .workplan-overview .work-visit.work-meeting::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23171717%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%229%22%20cy%3D%227%22%20r%3D%223%22%2F%3E%3Cpath%20d%3D%22M3%2020v-3a6%206%200%200%201%2012%200v3M16%204a3%203%200%200%201%200%206m3%2010v-3a6%206%200%200%200-3-5%22%2F%3E%3C%2Fsvg%3E")}
.portal-role-assistant .workplan-overview .work-visit.work-meeting:hover{background:#fff;border-left-color:#171717}
.portal-role-assistant .work-meeting .badge{background:#f1f1f1;color:#171717}

/* Owner calendar meeting cards match the assistant cards. */
.portal-role-owner .workplan-overview .work-visit.work-meeting{position:relative;padding-left:40px;background:#fff}
.portal-role-owner .workplan-overview .work-visit.work-meeting::before{content:"";position:absolute;top:13px;left:10px;width:21px;height:21px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23987043%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m14%203-5%209m-3-1%207%204-4%206-7-4%204-6Zm-1%207%203-4m0%206%203-4M18%204v4m-2-2h4m-1%205v3m-1.5-1.5h3%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;pointer-events:none}
.portal-role-owner .workplan-overview .work-visit.work-meeting{background:#fff;border-left:3px solid #171717}
.portal-role-owner .workplan-overview .work-visit.work-meeting::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23171717%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%229%22%20cy%3D%227%22%20r%3D%223%22%2F%3E%3Cpath%20d%3D%22M3%2020v-3a6%206%200%200%201%2012%200v3M16%204a3%203%200%200%201%200%206m3%2010v-3a6%206%200%200%200-3-5%22%2F%3E%3C%2Fsvg%3E")}
.portal-role-owner .workplan-overview .work-visit.work-meeting:hover{background:#fff;border-left-color:#171717}
.portal-role-owner .work-meeting .badge{background:#f1f1f1;color:#171717}
.portal-role-owner .meeting-list .meeting-card{position:relative;padding-left:43px;background:#fff;border-left:3px solid #171717}.portal-role-owner .meeting-list .meeting-card::before{content:"";position:absolute;top:15px;left:12px;width:21px;height:21px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23171717%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%229%22%20cy%3D%227%22%20r%3D%223%22%2F%3E%3Cpath%20d%3D%22M3%2020v-3a6%206%200%200%201%2012%200v3M16%204a3%203%200%200%201%200%206m3%2010v-3a6%206%200%200%200-3-5%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}.portal-role-owner .meeting-list .meeting-card:hover{background:#fff;border-left-color:#171717}

/* Same meeting card treatment inside the owner's month grid. */
.portal-role-owner .meeting-month .meeting-day a{position:relative;padding:7px 6px 7px 27px;background:#fff;border:1px solid #e4ded6;border-left:3px solid #171717;border-radius:7px;color:#302a24;line-height:1.45;box-shadow:0 1px 4px #00000005}
.portal-role-owner .meeting-month .meeting-day a::before{content:"";position:absolute;left:6px;top:8px;width:15px;height:15px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23171717%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%229%22%20cy%3D%227%22%20r%3D%223%22%2F%3E%3Cpath%20d%3D%22M3%2020v-3a6%206%200%200%201%2012%200v3M16%204a3%203%200%200%201%200%206m3%2010v-3a6%206%200%200%200-3-5%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;pointer-events:none}
.portal-role-owner .meeting-month .meeting-day a small{display:block;color:#171717;font-size:10px;font-weight:600;margin-bottom:2px}
.portal-role-owner .meeting-month .meeting-day a:hover{background:#fff;border-color:#b7aa98;border-left-color:#171717}

/* Shelved enquiries remain available without affecting offer acceptance metrics. */
.offer-admin .offer-state.shelved{background:#eeeae4;color:#6e665b;border-color:#dbd3c6}.offer-admin .offer-metric.shelved{background:#f6f3ee;border-color:#dfd7ca}.offer-admin .offer-metric.shelved strong{color:#6e665b}

/* Desktop welcome banner aligned with the public page heroes. */
@media (min-width: 601px) {
    .portal-role-owner { --portal-welcome-image: url('ejerportal-menu-baggrund-v1.webp'); }
    .portal-role-planner { --portal-welcome-image: url('planlaeggerportal-menu-baggrund-v1.webp'); }
    .portal-role-assistant { --portal-welcome-image: url('assistentportal-menu-baggrund-v1.webp'); }
    .mobile-portal .portal-welcome {
        box-sizing: border-box;
        display: flex;
        align-items: center;
        min-height: 440px;
        padding: 48px 0;
        color: #fff;
        background: linear-gradient(90deg, rgba(17,16,14,.83), rgba(17,16,14,.66) 50%, rgba(17,16,14,.25)),
            var(--portal-welcome-image, url('kundeportal-menu-baggrund-v1.webp')) center 52% / cover no-repeat;
    }
    .mobile-portal .portal-welcome > div { width: min(1180px, 88%); margin: auto; display: grid; gap: 12px; }
    .mobile-portal .portal-welcome span { color: #e4c99d; text-transform: uppercase; letter-spacing: .16em; font-size: 14px; font-weight: 600; }
    .mobile-portal .portal-welcome strong { font: 500 clamp(44px, 5vw, 58px)/1.1 'Cormorant Garamond', Georgia, serif; overflow-wrap: anywhere; text-shadow: 0 2px 20px #0005; }
    .mobile-portal .portal-welcome small { color: #f6f1e9; font-size: 18px; }
    .mobile-portal[class*="portal-role-"] .portal-bar { min-height: 0; padding-block: 14px; background: #f5ecdf; }
    .mobile-portal[class*="portal-role-"] .portal-bar > div { display: none; }
}
