:root{--blue:#215fa5;--navy:#17344e;--ink:#243746;--muted:#617484;--line:#dde5eb;--soft:#f5f8fa}*{box-sizing:border-box}body{margin:0;background:var(--soft);color:var(--ink);font-family:"Segoe UI",Arial,sans-serif;font-size:15px;line-height:1.5}button,input,textarea{font:inherit}button,a,input,textarea{outline-offset:4px}a{color:var(--blue)}[hidden]{display:none!important}.preview{background:#fff4d9;text-align:center;padding:8px 16px;color:#745512;font-size:13px}.brand{max-width:1020px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:28px 30px 12px}.brand img{width:205px;height:auto;display:block}.service{display:flex;flex-direction:column;align-items:flex-end;text-decoration:none;color:var(--muted);font-size:13px}.service strong{font-size:18px;color:var(--navy)}main{max-width:960px;margin:auto;padding:30px 30px 40px}.intro{display:flex;justify-content:space-between;gap:30px;align-items:flex-start;margin-bottom:28px}.eyebrow{color:var(--blue);font-weight:600;font-size:12px;letter-spacing:.08em;text-transform:uppercase;margin:0 0 7px}h1{font-size:38px;line-height:1.2;color:var(--navy);letter-spacing:-.8px;margin:0 0 12px}.lead{color:var(--muted);margin:0;max-width:470px}.ticket{text-align:right;display:flex;flex-direction:column;white-space:nowrap;font-size:12px;color:var(--muted);padding-top:6px}.ticket strong{font-size:23px;color:var(--blue);letter-spacing:.4px;margin:4px 0}.customer{display:flex;flex-wrap:wrap;gap:5px 20px;background:#eaf0f6;border-left:3px solid var(--blue);padding:15px 20px;margin-bottom:25px}.customer>span:first-child{width:100%;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.07em;color:var(--muted)}.customer strong{color:var(--navy)}.customer>span:last-child{color:var(--muted)}.section{background:white;border:1px solid var(--line);border-radius:12px;padding:25px 28px;margin-bottom:18px}.section-title{display:flex;align-items:flex-start;gap:13px;margin-bottom:23px}.step{border:1px solid #bfd1e4;color:var(--blue);border-radius:50%;width:28px;height:28px;text-align:center;line-height:26px;flex-shrink:0;font-size:13px;font-weight:600;margin-top:2px}h2{font-size:21px;line-height:1.3;margin:0 0 5px;color:var(--navy);font-weight:650}.section-title p,.muted{margin:0;color:var(--muted);font-size:13px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:17px 24px}label{font-weight:600;font-size:13px}label>span:not(.consent span){color:var(--blue)}input:not([type=checkbox]):not([type=radio]),textarea{display:block;width:100%;margin-top:6px;border:1px solid #ccd6df;background:#fbfcfe;border-radius:6px;padding:11px 12px;color:var(--ink);font-size:15px;font-weight:400;min-width:0}input::placeholder,textarea::placeholder{color:#93a0ac;font-size:14px}input:focus,textarea:focus{border-color:var(--blue);outline:2px solid #dceaf8}fieldset{border:0;padding:0;margin:0}.urgencies{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px}.urgency{display:flex;align-items:flex-start;gap:10px;border:1px solid var(--line);border-top-width:3px;border-radius:7px;padding:13px 12px;cursor:pointer}.urgent{border-top-color:#d77575}.soon{border-top-color:#d7ac4d}.regular{border-top-color:#78a18b}.urgency:has(input:checked){background:#edf5ff;border-color:var(--blue)}.urgency span{color:var(--ink)!important;display:block}.urgency strong{font-size:14px;display:block;margin:0 0 5px}.urgency small{color:var(--muted);font-size:12px;line-height:1.4;display:block;font-weight:400}input[type=radio],input[type=checkbox]{accent-color:var(--blue);width:18px;height:18px;flex-shrink:0;margin:2px 0 0}h3{font-size:15px;margin:23px 0 2px;font-weight:600;color:var(--navy)}h3 span{color:var(--blue)}.trades{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:14px}.trades label{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:500;cursor:pointer}.trades input{width:17px;height:17px;margin:0}.emergency{padding:10px 12px;background:#fff3f0;color:#975042;font-size:13px;border-radius:5px;margin:15px 0 0}.description{display:block}.description textarea{min-height:130px;resize:vertical;line-height:1.6}.counter{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:var(--muted);margin-top:7px}.name-label{display:block;max-width:450px}.signature-header{display:flex;align-items:center;justify-content:space-between;margin-top:19px;margin-bottom:6px}.signature-header label{font-size:13px}.signature-header small{font-size:11px;font-weight:400;color:var(--muted);margin-left:8px}.text-button{border:0;background:transparent;color:var(--blue);padding:3px 5px;font-size:12px;cursor:pointer}#signature{display:block;width:100%;height:105px;border:1px dashed #bac9d5;border-radius:6px;background:linear-gradient(transparent 74%,#dde5eb 74%,#dde5eb 75%,transparent 75%);touch-action:none}.consent{display:flex;gap:11px;align-items:flex-start;font-weight:400;font-size:12px;line-height:1.6;margin-top:20px;color:var(--muted)}.consent input{width:18px;height:18px}.consent span{color:var(--ink)}.send-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 1px}.send-row strong{color:var(--navy);font-size:15px}.send-row p{font-size:12px;color:var(--muted);margin:4px 0 0}button[type=submit],#another{background:var(--blue);color:white;border:0;border-radius:7px;padding:14px 25px;font-size:15px;font-weight:600;cursor:pointer;white-space:nowrap;min-width:205px}button[type=submit] span{margin-left:20px}button:disabled{opacity:.6;cursor:wait}.required-hint{font-size:11px;color:var(--muted);margin:6px 0 0}.error{background:#fff0ee;border:1px solid #e8beb6;padding:12px 16px;border-radius:7px;color:#9a3f31}.result{text-align:center;background:white;border:1px solid var(--line);border-radius:12px;padding:42px 25px;min-height:340px}.result-icon{background:#eaf5ee;color:#467c58;width:62px;height:62px;line-height:62px;border-radius:50%;font-size:33px;margin:0 auto 20px}.result p{color:var(--muted);max-width:520px;margin:15px auto}.result>strong{display:block;color:var(--blue);font-size:28px;margin-top:20px}.result button{margin-top:15px}footer{border-top:1px solid var(--line);padding:22px 25px 30px;display:flex;align-items:center;justify-content:center;gap:10px 22px;flex-wrap:wrap;color:var(--muted);font-size:11px}footer strong{color:var(--navy)}footer a{text-decoration:none}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-width:700px){.brand{padding:20px 20px 8px}.brand img{width:155px}.service strong{font-size:14px}.service{font-size:11px}main{padding:24px 18px 30px}.intro{display:block;margin-bottom:20px}h1{font-size:32px}.ticket{text-align:left;flex-direction:row;flex-wrap:wrap;gap:4px 12px;margin-top:19px;align-items:center}.ticket strong{font-size:19px;margin:0}.ticket>span:last-child{width:100%}.section{padding:21px 18px}.grid{gap:15px}.urgencies{grid-template-columns:1fr}.urgency{padding:12px 13px}.urgency small{font-size:12px}.trades{grid-template-columns:1fr 1fr;gap:15px}.counter>span:first-child{max-width:210px}.signature-header small{display:block;margin-left:0}.send-row{display:block}.send-row button{width:100%;margin-top:15px;padding:16px}.section-title{gap:10px}h2{font-size:19px}footer{display:block;text-align:center}footer>*{display:block;margin:5px}.customer{padding:13px 15px}.customer>span:last-child{width:100%}}@media(max-width:390px){.grid{grid-template-columns:1fr}.brand img{width:135px}.service strong{font-size:12px}}

/* Full brand artwork behind the customer sign-in. */
body{position:relative;min-height:100svh;background:#fff;isolation:isolate}
.brand-art{position:absolute;top:24px;left:24px;right:24px;max-width:1920px;margin:0 auto;z-index:-1;pointer-events:none}
.brand-art img{display:block;width:100%;height:auto}
main{position:relative;padding-top:clamp(200px,18vw,360px)}
body:has(#login-area:not([hidden])) main{max-width:1968px;min-height:calc(100svh - 95px);padding:clamp(160px,13vw,250px) 24px 56px}
.login-card{width:460px;max-width:100%;margin:0 0 0 calc(38% - 230px);background:rgba(255,255,255,.92);backdrop-filter:blur(3px);border:1px solid #dce5deb3;border-radius:16px;padding:32px 36px;box-shadow:0 18px 55px #17344e18}
.login-card h1{font-size:32px}
.login-card .lead{font-size:14px;margin-bottom:25px}
#login-form{display:grid;gap:18px}
#login-button{width:100%;margin-top:5px}
.login-help{font-size:12px;color:var(--muted);margin:22px 0 0}
.account-bar{display:flex;align-items:center;justify-content:space-between;gap:15px;color:var(--muted);font-size:12px;margin-bottom:25px}
.account-bar strong{color:var(--navy)}
.customer #address{color:var(--muted)}
.customer-note{width:100%;margin:4px 0 0;color:var(--muted);font-size:13px;line-height:1.6}
body:has(#login-area:not([hidden])) .error{max-width:460px;margin:0 0 18px calc(38% - 230px)}
footer{position:relative;background:#ffffffeb}
@media(max-width:700px){.brand-art{top:16px;left:12px;right:12px}main{padding-top:clamp(150px,27vw,200px)}body:has(#login-area:not([hidden])) main{padding:clamp(110px,23vw,165px) 18px 38px;min-height:calc(100svh - 190px)}.login-card{width:460px;padding:25px 22px;margin:0 auto}.login-card h1{font-size:28px}body:has(#login-area:not([hidden])) .error{margin:0 auto 18px}.account-bar{align-items:flex-start}.account-bar>span{max-width:75%}}

.photo-upload{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.photo-upload>label{font-weight:600;display:block}.photo-upload label small{font-weight:400;color:var(--muted);margin-left:6px}.photo-upload>p{font-size:12px;color:var(--muted);margin:6px 0 12px}.photo-upload input[type=file]{display:block;width:100%;max-width:100%;border:1px solid var(--line);border-radius:7px;padding:8px;background:var(--soft);font-size:13px}.photo-upload input::file-selector-button{border:0;border-radius:5px;background:var(--blue);color:#fff;padding:9px 13px;margin-right:10px;cursor:pointer}#photo-preview{margin-top:14px;display:flex;gap:16px;align-items:center}#photo-image{display:block;max-width:240px;max-height:180px;border:1px solid var(--line);border-radius:7px;object-fit:contain}#photo-preview>div{min-width:0;display:flex;flex-direction:column;gap:8px;align-items:flex-start}#photo-name{overflow-wrap:anywhere;font-size:13px}#photo-error{color:#9a3f31}@media(max-width:600px){#photo-preview{flex-direction:column;align-items:flex-start}#photo-image{max-width:100%;max-height:240px}}

/* Optional addresses for customers managing several properties. */
.location-choice{margin:22px 0;padding-top:20px;border-top:1px solid var(--line)}
.location-toggle{display:flex;align-items:flex-start;gap:11px;cursor:pointer}.location-toggle>span{color:var(--ink)!important}.location-toggle strong{font-size:15px}.location-toggle small{display:block;font-weight:400;color:var(--muted);font-size:12px;margin-top:4px}
.location-help{font-size:12px;color:var(--muted);line-height:1.6;margin:10px 0 0}
#object-fields,#customer-section{margin-top:22px;padding:0}#object-fields legend,#customer-section legend{font-weight:650;font-size:16px;color:var(--navy);margin-bottom:12px}
.object-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:17px 24px;margin-top:12px}.object-full{grid-column:1/-1}.object-grid small{color:var(--muted);font-weight:400;font-size:11px}#object-details-slot .grid{margin-top:20px}#customer-section input[readonly]{background:var(--soft);color:var(--muted)}
@media(max-width:700px){.object-grid{gap:15px;grid-template-columns:minmax(0,1.8fr) minmax(0,1fr)}}@media(max-width:390px){.object-grid{grid-template-columns:1fr}.object-full{grid-column:auto}}

.object-book-tools{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}.object-book-tools>label{flex:1 1 260px}.object-book-tools .text-button{margin-bottom:8px}.object-button{border:1px solid var(--blue);border-radius:7px;background:#eef4fb;color:var(--blue);padding:11px 15px;font-weight:600;cursor:pointer;white-space:normal}.object-button:hover{background:#e0ecf9}.object-book-status{font-size:13px;line-height:1.6;color:#3b6c42;margin:10px 0}.object-book-status.is-error{color:#9a3f31}.object-book-list{margin:16px 0;padding:16px;border:1px solid var(--line);border-radius:8px;background:var(--soft)}.object-book-list h3{margin:0}.object-book-list #property-list-items{max-height:280px;overflow:auto;margin-top:12px}.object-book-item{width:100%;text-align:left;border:1px solid var(--line);border-radius:7px;padding:11px 12px;margin:0 0 8px;background:#fff;color:var(--ink);cursor:pointer;overflow-wrap:anywhere}.object-book-item:hover{border-color:var(--blue)}.object-book-item strong,.object-book-item span{display:block}.object-book-item span{font-size:12px;color:var(--muted);margin-top:3px}.object-contact-heading{margin:23px 0 0}.object-contact-heading small{font-weight:400;font-size:11px;color:var(--muted);margin-left:5px}.object-contact-grid{margin-top:14px}.object-book-save{display:flex;align-items:center;gap:14px;margin-top:18px;flex-wrap:wrap}.object-book-save span{font-size:12px;color:var(--muted);flex:1 1 260px;line-height:1.6}@media(max-width:600px){.object-book-tools>label{flex-basis:100%}.object-book-tools{gap:9px}.object-book-save{align-items:flex-start;gap:9px}.object-contact-grid{grid-template-columns:1fr}}

/* Customer archive and protected administration. */
.portal-navigation{display:flex;gap:15px;align-items:center;margin:0 0 22px}.ticket-history{scroll-margin-top:20px}.history-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:15px}.history-filters{display:flex;align-items:flex-end;flex-wrap:wrap;gap:15px;margin:22px 0 17px}.history-filters>label{flex:1 1 190px;min-width:0}.history-filters select{display:block;width:100%;max-width:100%;padding:11px 10px;margin-top:6px;border:1px solid #ccd6df;border-radius:6px;background:#fbfcfe;color:var(--ink);font:inherit}.history-filters .history-problem-filter{display:flex;align-items:center;gap:8px;flex:0 1 190px;padding-bottom:12px}.history-card{border:1px solid var(--line);border-radius:9px;padding:18px;margin:15px 0;background:#fff;overflow-wrap:anywhere}.history-card.has-warning{border-color:#d7937c}.history-card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.history-card h3{margin:0;font-size:18px}.history-card p{margin:7px 0;font-size:13px}.history-date,.history-mail{color:var(--muted)}.history-company,.history-address{font-weight:600}.history-summary{white-space:pre-wrap;color:var(--muted)}.history-badge{background:#eef2f6;color:#455e73;border-radius:20px;padding:4px 11px;font-size:12px;white-space:nowrap}.history-badge.is-complete{background:#eaf5ee;color:#326746}.history-completed{color:#326746;font-weight:600}.history-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:16px}.history-actions .object-button{font-size:12px;padding:8px 12px;text-decoration:none}.history-details{border-top:1px solid var(--line);margin-top:18px;padding-top:12px}.history-details h4{margin:4px 0}.history-description{white-space:pre-wrap}.history-details dl{display:grid;grid-template-columns:130px minmax(0,1fr);font-size:12px;gap:6px 10px}.history-details dt{font-weight:600}.history-details dd{margin:0}.history-pages{display:flex;justify-content:space-between;gap:12px}.delivery-warning{margin:0 0 22px;background:#fff2ed;border:1px solid #d7937c;border-left:4px solid #b95031;border-radius:8px;padding:18px 20px;color:#873824}.delivery-warning p{font-size:13px;line-height:1.6}.delivery-warning .object-button{background:#fff;color:#873824;border-color:#b95031;font-size:12px}.is-error{color:#9a3f31!important}@media(max-width:600px){.history-heading{display:block}.history-heading>button{margin-top:12px}.history-filters{display:block}.history-filters>label{display:block;margin-top:14px}.history-filters .history-problem-filter{display:flex;margin-top:18px}.history-card{padding:15px}.history-details dl{grid-template-columns:1fr;gap:3px}.history-details dd{margin-bottom:8px}.history-actions .object-button{flex:1 1 140px;text-align:center}.history-card h3{font-size:16px}}

.weg-unit-fields{margin:20px 0;padding:20px;border:1px solid #dbe4e8;border-radius:12px;background:#f7fafc}.weg-unit-fields>legend,#weg-tenant-fields>legend{font-weight:700;padding:0 8px}.weg-unit-fields select{font:inherit;width:100%;padding:13px;border:1px solid #cbd7df;border-radius:8px;background:white;color:#183a55}.weg-unit-fields input[readonly]{background:#edf3f6}.weg-unit-fields #weg-tenant-fields{margin:22px 0 0;padding:18px;border:1px solid #dbe4e8;border-radius:10px}.weg-unit-fields h3{margin-top:20px}

.management-tools{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:20px 0}.management-tools label{flex:1 1 230px}.management-panel select,.management-form select{display:block;width:100%;font:inherit;padding:12px;border:1px solid #cbd7df;border-radius:8px;background:#fff}.management-list{overflow-x:auto}.management-list table{border-collapse:collapse;width:100%;font-size:14px}.management-list th,.management-list td{text-align:left;vertical-align:top;padding:12px;border-bottom:1px solid #dbe4e8;min-width:100px}.management-list th{background:#edf4f6}.management-form{padding:22px;border:1px solid #cbd7df;border-radius:12px;margin-top:22px;background:#f7fafc}.management-form>label{display:flex;align-items:center;gap:10px;margin:20px 0}.management-form>button{margin-right:12px}.management-form input[type=checkbox]{width:20px;height:20px}.management-panel{scroll-margin-top:20px}

.access-card{border:1px solid #d8e4ec;border-radius:12px;padding:18px;margin:16px 0;background:#f7fafb;overflow-wrap:anywhere}
.access-grants{display:grid;gap:12px;margin:16px 0}.access-grants label,.access-checkbox{display:flex;align-items:flex-start;gap:12px;font-weight:500}
.access-grants input[type=checkbox],.access-checkbox input[type=checkbox]{width:22px;height:22px;flex:none;accent-color:#245d8e;margin:0}
#access-form .access-checkbox{margin:14px 0}#access-credentials p{overflow-wrap:anywhere}.portal-navigation{flex-wrap:wrap}

/* Partner companies, feedback and individual weekly reports. */
.external-choices{border:1px solid #d8e4ec;border-radius:12px;margin:20px 0;padding:20px;background:#f7fafc}.external-choices legend{font-weight:700;padding:0 8px}.external-choice{padding:12px 0;border-bottom:1px solid #d8e4ec}.external-company-options{margin:12px 0 0 30px}.external-company-options p{font-size:13px;color:var(--muted)}.external-company-card{padding:20px;border:1px solid #d8e4ec;border-radius:12px;margin:15px 0;background:#f7fafc}.external-company-card>.access-checkbox{margin:14px 0}.external-company-card select,.feedback-form select,.feedback-page select,#external-new-form select,#reports-manager-form select{display:block;width:100%;font:inherit;padding:12px;border:1px solid #cbd7df;border-radius:8px;background:#fff;color:var(--ink)}.feedback-form{margin:18px 0;padding:18px;border:1px solid #d8e4ec;border-radius:10px;background:#f7fafc}.feedback-form>label,.feedback-page label{display:block;margin:12px 0}.feedback-form textarea,.feedback-page textarea{display:block;width:100%;font:inherit;padding:12px;border:1px solid #cbd7df;border-radius:8px}.feedback-form>button{margin-right:10px}.feedback-page{max-width:850px;margin:auto}.feedback-page h1{font-size:28px}.feedback-notice{border-left:3px solid #e0b343;padding-left:12px}.history-actions button:disabled{opacity:.6;cursor:not-allowed}.external-company-card .grid label{min-width:0}.external-company-card .grid input{max-width:100%}@media(max-width:600px){.external-choices{padding:14px}.external-company-card{padding:15px}.external-company-options{margin-left:12px}.feedback-page h1{font-size:23px}}

/* Optional rating: a single, accessible horizontal row of five stars. */
.rating-widget{margin:18px 0;padding:16px;background:#f6f9fc;border:1px solid #d8e3ec;border-radius:12px}
.rating-content{padding-top:14px}.rating-widget fieldset{border:0;padding:0;margin:0 0 18px;min-width:0}
.rating-widget legend{font-weight:600;margin-bottom:8px}.rating-star-row{display:flex;gap:8px;flex-wrap:nowrap}
.rating-star{position:relative;display:inline-flex!important;margin:0!important;cursor:pointer;min-width:42px;min-height:44px;align-items:center;justify-content:center}
.rating-star input{position:absolute;width:1px;height:1px;opacity:0;margin:0}.rating-star span{font-size:36px;line-height:1.2;color:#8393a4}
.rating-star.selected span{color:#b77700}.rating-star:hover span{color:#b77700}.rating-star:focus-within{outline:3px solid #2162a4;outline-offset:2px;border-radius:6px}
.rating-selection{font-size:14px;margin:6px 0}.rating-thumb-row{display:flex;gap:10px;flex-wrap:wrap}
.rating-thumb{display:flex!important;align-items:center;gap:7px;min-height:44px;padding:7px 10px;border:1px solid #ccd8e2;border-radius:8px;margin:0!important;cursor:pointer}
.rating-thumb input{width:auto;margin:0}.rating-summary{padding:12px 16px;margin:12px 0;background:#fff8e9;border-radius:10px;border:1px solid #e9d6ac}.rating-summary p{white-space:pre-wrap;overflow-wrap:anywhere}.rating-summary h4{margin:0 0 6px}
.rating-content[hidden],.rating-widget[hidden]{display:none!important}

#mail-processing-status{margin:20px 0;padding:18px;border:1px solid #d8e3ec;border-radius:12px;background:#f6f9fc}#mail-processing-status p,#mail-processing-status h4{overflow-wrap:anywhere}.delivery-review .access-checkbox{margin:16px 0}

#objects-selection-panel select,#objects-admin-form select{display:block;width:100%;padding:12px;font:inherit;border:1px solid #cbd7df;border-radius:8px;background:white;color:var(--ink)}#objects-admin-form label{display:block;margin:15px 0}.object-grant-card{border:1px solid #dbe4ea;border-radius:10px;padding:16px;margin:15px 0}#objects-admin-form input[type=checkbox]{width:20px;height:20px}.object-grant-card button{margin:6px 10px 0 0}

.usage-switch{display:flex;gap:10px;align-items:center;margin:18px 0}.usage-switch input{width:22px;height:22px}.usage-filters{display:flex;flex-wrap:wrap;gap:14px;align-items:end}.usage-filters label{display:flex;flex-direction:column;gap:6px;flex:1 1 170px}.usage-filters input,.usage-filters select{padding:10px;width:100%;font:inherit;border:1px solid #cbd7df;border-radius:8px}.usage-table{overflow-x:auto;max-width:100%;margin:15px 0}.usage-table table{border-collapse:collapse;font-size:14px;width:100%}.usage-table th,.usage-table td{text-align:left;padding:10px;border-bottom:1px solid #dbe4ea;min-width:90px}.usage-table th{background:#edf5e8;color:#163952}.usage-table td:first-child{min-width:220px}

.plans-calendar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0}.calendar-month{border:1px solid #c8d8e7;border-radius:10px;padding:10px}.calendar-month h3{margin:0 0 8px}.calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.calendar-days .weekday{font-size:10px;text-align:center}.calendar-days button{min-height:32px;padding:3px;color:#183d63;background:#eef3f8;border:0;border-radius:5px;font-size:12px}.calendar-days .has-event{background:#226d44;color:#fff;font-weight:bold}.calendar-days .paused{background:#857e71}.plan-card{border:1px solid #d1deea;padding:14px;margin:12px 0;border-radius:8px}.plan-meta{color:#45617a;font-size:.9rem}.plan-card .is-error{color:#a82020}.plan-actions{display:flex;flex-wrap:wrap;gap:8px}.plan-checks{display:flex;flex-wrap:wrap;gap:12px}.plan-checks label{display:flex;align-items:center;gap:7px}.request-item{display:flex;gap:8px;margin:8px 0}.request-item textarea{flex:1}.request-file{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:8px 0}#request-fields{border:1px solid #bdd2e4;padding:16px;margin-top:16px}#request-fields label{margin-top:10px}#plans-panel .grid{margin-bottom:16px}@media(max-width:1000px){.plans-calendar{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:580px){.plans-calendar{grid-template-columns:1fr}.request-item{flex-direction:column}}
.request-item label{flex:1}.request-item textarea{width:100%}

.notdienst-fields{border:1px solid #daaaa0;border-radius:12px;padding:18px;margin:16px 0;background:#fff9f7}.notdienst-fields legend{font-weight:700;padding:0 8px}.contract-lookup{display:flex;align-items:end;gap:12px}.contract-lookup label{flex:1}.contract-lookup button{flex-shrink:0}.contract-stage{padding:12px;border-left:3px solid #6fa744;background:#f2f7ee;margin:12px 0}.contract-text{white-space:pre-wrap}.contract-warning{color:#8c3425}.contract-stage-editor{border:1px solid #c9d4dc;border-radius:8px;padding:16px;margin:14px 0}.contract-targets{max-height:300px;overflow-y:auto;padding:8px;border:1px solid #c9d4dc;border-radius:8px}.contract-targets label{margin-bottom:9px}.contract-targets [hidden]{display:none!important}@media(max-width:650px){.contract-lookup{display:block}.contract-lookup button{width:100%;margin-top:10px}}

.planning-warning{padding:12px 15px;background:#fff4dc;border-left:4px solid #dcaa3e;color:#594418;border-radius:4px}.readiness-card{padding:16px;border:1px solid #d4e0e7;border-radius:10px;margin:14px 0}.security-secret,#factor-codes{font:16px/1.8 monospace;overflow-wrap:anywhere;white-space:pre-wrap;padding:12px;background:#edf4f8}.account-bar{flex-wrap:wrap;gap:12px}#security-panel form{margin:20px 0;padding:18px;border:1px solid #d4e0e7;border-radius:10px}#backup-pc p{margin:8px 0}

.contract-warning{color:#b00020;font-weight:600}.pin-state{font-weight:700}.pin-approval{padding:12px;background:#eef4e7;border:1px solid #b1c896;border-radius:8px}.pin-warning{color:#b00020}

.consumer-block{border:1px solid #bbc6d0;border-radius:10px;padding:16px;margin:18px 0}.consumer-block h3{font-size:1rem;margin:16px 0 6px}.consumer-block p{font-size:.9rem;line-height:1.55}.withdrawal-entry{display:flex;justify-content:flex-end;margin:8px 0 16px}.withdrawal-entry button{font-weight:700;border:2px solid #24466b}#withdrawal-panel textarea{width:100%;box-sizing:border-box}#withdrawal-status{overflow-wrap:anywhere}

.foreign-contract-choice{margin:12px 0;padding:14px;border:1px solid #bccbd5;border-radius:8px;min-width:0}.foreign-contract-details{border:0;padding:0;min-width:0}.foreign-contract-details p{white-space:pre-wrap;overflow-wrap:anywhere}.foreign-contract-choice select,.foreign-contract-choice input:not([type=checkbox]),.foreign-contract-choice textarea,.foreign-admin-info textarea{width:100%;box-sizing:border-box}.foreign-contract-details label:has(input[type=checkbox]){display:flex;align-items:flex-start;gap:10px;margin:12px 0}.foreign-contract-details input[type=checkbox]{flex-shrink:0;width:18px;height:18px}.foreign-admin-info{border-top:1px solid #ccd6dd;padding-top:12px;margin-top:12px}

#ticket-area.security-required > :not(.account-bar):not(#security-panel){display:none!important}
#ticket-area.security-required #security-open{display:none}
.legal-page{max-width:950px;margin:auto;padding:28px}.legal-page h1{font-size:30px}.legal-nav{display:flex;gap:18px;flex-wrap:wrap;margin:18px 0}.legal-page p{line-height:1.65}.progress-form{padding:18px;background:#eef3f8;border-radius:8px}.recipient-preview{padding:16px;background:#edf5ef;border-radius:9px;margin:18px 0}

.legal-nav{display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin:16px 0}.legal-nav a{color:#163c69}.legal-document{max-width:980px;margin:20px auto;padding:28px;background:white}.legal-document p{line-height:1.65}.legal-document h2{margin-top:28px}.legal-document h1{font-size:2rem}.legal-document .brand-logo{width:100%;height:auto}.legal-document label{display:block;margin:14px 0}.legal-document input,.legal-document textarea{width:100%;box-sizing:border-box}

#factor-key{display:grid;gap:10px}#factor-key[hidden]{display:none}#factor-key-value{box-sizing:border-box;width:100%;min-width:0;font:600 16px/1.5 monospace;letter-spacing:.04em;padding:12px;border:1px solid #9db2c0;border-radius:6px;background:#fff;color:#17344a}#factor-key label{font-weight:700}


/* Offene Pflichtangaben beim Absendeversuch klar markieren. */
#form .required-missing{border-color:#bd2026!important;box-shadow:0 0 0 2px rgba(189,32,38,.17)!important;background-color:#fff3f3!important}
#form label.required-missing{color:#a1161c}
#form label.required-missing input:not([type=checkbox]):not([type=radio]),#form label.required-missing select,#form label.required-missing textarea{outline:1px solid #bd2026}
#form label.required-missing input[type=checkbox],#form label.required-missing input[type=radio]{outline:2px solid #bd2026;outline-offset:2px}
#form fieldset.required-missing{border:2px solid #bd2026;border-radius:10px;padding:12px;background:#fff8f8}
#form fieldset.trades.required-missing>label{color:#a1161c}
