/* All selectors scoped to the separate private company portal. */
#mischel-firma-nav{font:inherit;cursor:pointer;border:1px solid #8e7d61;color:#382f26;
 background:#faf8f3;border-radius:7px;padding:8px 12px;white-space:nowrap}
#mischel-firma-nav[hidden],#mischel-firma-dialog [hidden]{display:none!important}
#mischel-firma-dialog{border:1px solid #d9d2c5;background:#fff;color:#25211e;
 width:min(760px,94vw);max-height:min(92vh,920px);padding:24px;border-radius:12px;
 box-shadow:0 14px 60px #0003;overflow:auto}
#mischel-firma-dialog::backdrop{background:rgba(0,0,0,.54)}
#mischel-firma-dialog .firma-dialog-head{display:flex;justify-content:space-between;gap:16px;align-items:start}
#mischel-firma-dialog h2{margin:0 0 12px;font-size:1.6rem}
#mischel-firma-dialog .firma-close{border:0;background:none;color:inherit;font-size:2rem;cursor:pointer;padding:2px 10px}
#mischel-firma-dialog .firma-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0 20px}
#mischel-firma-dialog .firma-tabs button{border:1px solid #c4b59f;background:#fff;
 border-radius:6px;padding:8px 12px;cursor:pointer;font:inherit}
#mischel-firma-dialog .firma-tabs button.active{background:#e9e3d9;border-color:#6c5840}
#mischel-firma-dialog form{margin:0}
#mischel-firma-dialog label{display:flex;flex-direction:column;gap:4px;font-size:14px;margin-bottom:13px}
#mischel-firma-dialog label.firma-check{flex-direction:row;align-items:center}
#mischel-firma-dialog input:not([type=checkbox]),#mischel-firma-dialog select{width:100%;box-sizing:border-box;
 font:inherit;padding:10px;border:1px solid #b8b2aa;border-radius:6px;background:#fff;color:#26211c;min-width:0}
#mischel-firma-dialog .firma-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}
#mischel-firma-dialog .firma-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;grid-column:1/-1;margin:6px 0 12px}
#mischel-firma-dialog .firma-actions button:not(.button){border:0;background:none;color:#594b3e;text-decoration:underline;cursor:pointer;font:inherit}
#mischel-firma-dialog .firma-user{display:flex;flex-direction:column;gap:4px}
#mischel-firma-dialog #firma-message{min-height:1.25em;margin:14px 0 0;color:#544837}
@media(max-width:600px){#mischel-firma-dialog{padding:14px}#mischel-firma-dialog .firma-grid{grid-template-columns:1fr}#mischel-firma-nav{padding:6px 8px;font-size:12px}}

/* 2026-11-07: visual harmonization with existing MISCHEL customer sign-in.
   Private site only, intentionally leave legacy B2B nodes in DOM for older scripts. */
html.mischel-private-firma-mode header nav a[href="#b2b"],
html.mischel-private-firma-mode #b2b {display:none!important}
html.mischel-private-firma-mode #mischel-firma-nav {
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  padding:7px 4px!important;min-height:40px;max-width:none;
  background:transparent!important;border:0!important;box-shadow:none!important;
  border-radius:0!important;color:#332b24!important;
  font:500 14px/1.4 Arial,sans-serif!important;white-space:nowrap;
}
html.mischel-private-firma-mode #mischel-firma-nav:hover,
html.mischel-private-firma-mode #mischel-firma-nav:focus-visible {color:#a78245!important}
html.mischel-private-firma-mode #mischel-firma-nav[hidden]{display:none!important}
#mischel-firma-dialog{
  box-sizing:border-box;width:min(92vw,470px);max-width:470px;
  max-height:90vh;padding:34px 28px;background:#faf7f1;color:#302a24;
  border:1px solid #dccdb9;border-radius:6px;
  box-shadow:0 18px 60px #1114;font:14px/1.5 Arial,sans-serif;
}
#mischel-firma-dialog.firma-dialog-wide{
  width:min(94vw,760px);max-width:760px;
}
#mischel-firma-dialog::backdrop{background:rgba(23,19,14,.58)}
#mischel-firma-dialog .firma-dialog-head{align-items:start}
#mischel-firma-dialog .eyebrow{font-size:10px;letter-spacing:2px;color:#a17f4a;margin:0 0 18px}
#mischel-firma-dialog h2{font:400 clamp(25px,4vw,32px)/1.2 Georgia,serif;color:#302a24;margin:0 0 10px}
#mischel-firma-dialog #firma-private-note{font-size:11px;line-height:1.5;margin:12px 0 20px;color:#766d62}
#mischel-firma-dialog .firma-close{line-height:1;font-size:29px;border-radius:50%;padding:4px 9px}
#mischel-firma-dialog .firma-tabs{gap:0;margin:10px 0 26px;border-bottom:1px solid #dfd2c1;flex-wrap:nowrap}
#mischel-firma-dialog .firma-tabs button{
  padding:11px 12px;border:0;border-bottom:2px solid transparent;
  border-radius:0;background:transparent;color:#6c5f50;font:500 13px/1.3 Arial,sans-serif;
}
#mischel-firma-dialog .firma-tabs button.active{
  color:#332820;border-bottom-color:#ac874e;background:transparent;
}
#mischel-firma-dialog form>label,
#mischel-firma-dialog .firma-grid>label{font-size:13px;color:#40352a;gap:7px;margin-bottom:15px}
#mischel-firma-dialog input:not([type=checkbox]),
#mischel-firma-dialog select{
  width:100%;min-height:45px;padding:11px 12px;
  background:#fffdf9;color:#302a24;border:1px solid #d2c2ae;
  border-radius:4px;font:14px/1.4 Arial,sans-serif;
}
#mischel-firma-dialog input:not([type=checkbox]):focus,
#mischel-firma-dialog select:focus{outline:2px solid #a78245;outline-offset:1px}
#mischel-firma-dialog label.firma-check{
  display:inline-flex!important;flex-direction:row!important;
  justify-content:flex-start!important;align-items:center!important;
  width:100%;gap:9px!important;margin:10px 0 17px;
  font-size:13px;white-space:normal;text-align:left;
}
#mischel-firma-dialog label.firma-check input[type=checkbox]{
  display:block!important;position:static!important;appearance:auto!important;
  width:16px!important;height:16px!important;min-width:16px!important;
  flex:0 0 16px!important;margin:0!important;padding:0!important;
  accent-color:#a78245;
}
#mischel-firma-dialog #firma-login-form .firma-actions{
  flex-direction:column;align-items:stretch;gap:8px;margin:7px 0 13px;
}
#mischel-firma-dialog .firma-actions>.button{
  min-height:45px;padding:11px 16px;background:#302921;color:#fff;
  border:1px solid #302921;border-radius:5px;box-shadow:none;
  font:600 13px Arial,sans-serif;
}
#mischel-firma-dialog #firma-login-form .firma-actions>.button{width:100%}
#mischel-firma-dialog .firma-actions>.button:hover{background:#51402e}
#mischel-firma-dialog .firma-actions button:not(.button){
  text-decoration:none;min-height:33px;text-align:center;font-size:12px;
  color:#725b40;padding:4px;
}
#mischel-firma-dialog .firma-actions button:not(.button):hover{text-decoration:underline}
#mischel-firma-dialog .firma-grid{column-gap:18px;row-gap:2px}
#mischel-firma-dialog #firma-message{font-size:12px;line-height:1.5}
@media(max-width:600px){
  #mischel-firma-dialog{padding:22px 17px}
  #mischel-firma-dialog .firma-tabs button{padding:10px 7px;font-size:12px}
}

/* 2026-11-07 – approved two-line customer/firm sign-in buttons.
   Only styles; existing customer and company sign-in handlers are unchanged. */
html.mischel-private-firma-mode header .mischel-usernav{gap:12px}
html.mischel-private-firma-mode header .mischel-usernav #account-register-open,
html.mischel-private-firma-mode header #mischel-firma-nav{
  box-sizing:border-box;width:144px;min-width:144px;max-width:144px!important;
  height:48px;min-height:48px!important;max-height:48px;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  gap:9px!important;padding:5px 10px!important;border-radius:9px!important;
  white-space:nowrap;font:500 13px/1.12 Arial,sans-serif!important;
  letter-spacing:0!important;text-decoration:none;box-shadow:none!important;
}
html.mischel-private-firma-mode header .mischel-usernav #account-register-open{
  border:1px solid #e8e4dd!important;background:#fff!important;color:#302a24!important;
}
html.mischel-private-firma-mode header .mischel-usernav #account-register-open:hover,
html.mischel-private-firma-mode header .mischel-usernav #account-register-open:focus-visible{
  border-color:#b49a78!important;background:#faf7f1!important;color:#302a24!important;
}
html.mischel-private-firma-mode header .mischel-usernav #account-register-open .mischel-header-person-icon{
  width:17px;height:17px;flex:0 0 17px;
}
/* The existing customer script rebuilds this button after login. Add the
   first line only for guests, leaving the account-name/menu state untouched. */
html.mischel-private-firma-mode header #account-register-open[aria-label="Bei MISCHEL anmelden"] .mischel-header-name{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:1px;max-width:none;line-height:1.1;overflow:visible;
}
html.mischel-private-firma-mode header #account-register-open[aria-label="Bei MISCHEL anmelden"] .mischel-header-name::before{
  content:'Privat';display:block;font:inherit;
}
html.mischel-private-firma-mode header #mischel-firma-nav{
  border:1px solid #382f26!important;background:#382f26!important;color:#fff!important;
}
html.mischel-private-firma-mode header #mischel-firma-nav:hover,
html.mischel-private-firma-mode header #mischel-firma-nav:focus-visible{
  background:#554638!important;border-color:#554638!important;color:#fff!important;
}
html.mischel-private-firma-mode header #mischel-firma-nav[hidden]{display:none!important}
html.mischel-private-firma-mode header #mischel-firma-nav .mischel-login-lines{
  display:flex;flex-direction:column;justify-content:center;align-items:center;gap:1px;line-height:1.1;
}
html.mischel-private-firma-mode header #mischel-firma-nav .mischel-firma-header-icon{
  display:inline-block;width:17px;height:17px;flex:0 0 17px;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round' stroke-linecap='round'%3E%3Crect x='3' y='7' width='18' height='14' rx='1'/%3E%3Cpath d='M9 7V3h6v4M9 21v-5h6v5M7 11h1m8 0h1'/%3E%3C/svg%3E") center / contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round' stroke-linecap='round'%3E%3Crect x='3' y='7' width='18' height='14' rx='1'/%3E%3Cpath d='M9 7V3h6v4M9 21v-5h6v5M7 11h1m8 0h1'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media(max-width:700px){
 html.mischel-private-firma-mode header .mischel-usernav{gap:6px}
 html.mischel-private-firma-mode header .mischel-usernav #account-register-open,
 html.mischel-private-firma-mode header #mischel-firma-nav{
  width:115px;min-width:115px;max-width:115px!important;height:44px;min-height:44px!important;
  font-size:11px!important;gap:5px!important;padding:4px 6px!important;
 }
 html.mischel-private-firma-mode header .mischel-usernav #account-register-open .mischel-header-person-icon,
 html.mischel-private-firma-mode header #mischel-firma-nav .mischel-firma-header-icon{
  width:14px;height:14px;flex-basis:14px;
 }
}
@media(max-width:410px){
 html.mischel-private-firma-mode header .mischel-usernav #account-register-open,
 html.mischel-private-firma-mode header #mischel-firma-nav{
  width:103px;min-width:103px;max-width:103px!important;
  font-size:10.5px!important;padding:4px 5px!important;
 }
}

/* 2026-11-07 – firm login dialog aligned to the private customer dialog. */
#mischel-firma-dialog{
  width:min(470px,92vw)!important;max-width:470px!important;
  padding:26px 28px 30px!important;background:#f8f5ef!important;
  border:1px solid #d7ccbd!important;border-radius:0!important;
  box-shadow:0 18px 60px rgba(0,0,0,.22)!important;
}
#mischel-firma-dialog.firma-dialog-wide{
  width:min(760px,94vw)!important;max-width:760px!important;border-radius:0!important;
}
#mischel-firma-dialog .firma-dialog-head{align-items:flex-start!important;margin-bottom:8px}
#mischel-firma-dialog .firma-dialog-head h2{
  font:400 31px/1.15 Georgia,serif!important;color:#332a22!important;margin:0!important;
}
#mischel-firma-dialog .eyebrow,#mischel-firma-dialog #firma-auth-choices{display:none!important}
#mischel-firma-dialog #firma-private-note{
  margin:0 0 18px!important;font:400 12px/1.45 Arial,sans-serif!important;color:#6f6559!important;
}
#mischel-firma-dialog .firma-close{font-size:22px!important;padding:0 6px!important;color:#3a2f26!important}
#mischel-firma-dialog.firma-dialog-wide .firma-close{padding:0 6px!important}

#mischel-firma-dialog .firma-private-login > label{
  display:flex;flex-direction:column;gap:8px;margin:0 0 14px!important;
  font:400 14px/1.4 Arial,sans-serif!important;color:#3a3027!important;
}
#mischel-firma-dialog .firma-private-login input:not([type=checkbox]){
  min-height:42px!important;padding:10px 14px!important;border:1px solid #d8cdbc!important;
  border-radius:0!important;background:#fff!important;color:#312920!important;
}
#mischel-firma-dialog .firma-password-wrap{position:relative;display:flex;align-items:center}
#mischel-firma-dialog .firma-password-wrap input{padding-right:44px!important}
#mischel-firma-dialog .firma-password-toggle{
  position:absolute;right:10px;top:50%;transform:translateY(-50%);
  border:0;background:transparent;color:#4a4036;cursor:pointer;font-size:18px;line-height:1;padding:2px 4px;
}
#mischel-firma-dialog .firma-check{
  display:flex!important;flex-direction:row!important;align-items:flex-start!important;gap:10px!important;
  margin:6px 0 10px!important;font:400 14px/1.4 Arial,sans-serif!important;color:#55483b!important;
}
#mischel-firma-dialog .firma-check input[type=checkbox]{margin-top:2px!important;accent-color:#b48b43}
#mischel-firma-dialog .firma-check small{color:#74695d;font-size:12px}
#mischel-firma-dialog .firma-inline-links,
#mischel-firma-dialog .firma-secondary-links,
#mischel-firma-dialog .firma-minor-links{
  text-align:left;width:100%;margin:0 0 12px;
}
#mischel-firma-dialog .firma-inline-links button,
#mischel-firma-dialog .firma-secondary-links button,
#mischel-firma-dialog .firma-minor-links button,
#mischel-firma-dialog .firma-register-switch button{
  border:0;background:none;padding:0;color:#6d5638;cursor:pointer;
  text-decoration:underline;font:400 14px/1.35 Arial,sans-serif;
}
#mischel-firma-dialog .firma-private-login .firma-actions{
  display:flex!important;justify-content:center!important;align-items:center!important;
  margin:12px 0 14px!important;
}
#mischel-firma-dialog .firma-private-login .firma-actions > .button{
  width:156px!important;min-height:46px!important;border-radius:12px!important;
  background:#352c24!important;border:1px solid #352c24!important;color:#fff!important;
  font:600 14px/1 Arial,sans-serif!important;padding:12px 18px!important;
  box-shadow:0 4px 10px rgba(0,0,0,.12)!important;
}
#mischel-firma-dialog .firma-private-login .firma-actions > .button:hover{background:#4b3e31!important}
#mischel-firma-dialog .firma-register-switch{
  margin:28px 0 10px!important;font:700 14px/1.4 Arial,sans-serif;color:#372e26;
}
#mischel-firma-dialog .firma-register-switch button{font-weight:400;margin-left:4px}
#mischel-firma-dialog .firma-minor-links{margin-top:6px}
#mischel-firma-dialog #firma-message{margin-top:8px!important;font-size:12px!important;color:#6b5946}

/* keep register/profile forms in the same MISCHEL visual family */
#mischel-firma-dialog.firma-dialog-wide form>label,
#mischel-firma-dialog.firma-dialog-wide .firma-grid>label{
  font:400 14px/1.4 Arial,sans-serif!important;color:#3a3027!important;gap:8px!important;
}
#mischel-firma-dialog.firma-dialog-wide input:not([type=checkbox]),
#mischel-firma-dialog.firma-dialog-wide select{
  min-height:42px!important;border-radius:0!important;padding:10px 14px!important;background:#fff!important;
}
#mischel-firma-dialog.firma-dialog-wide .firma-actions>.button{
  min-height:46px!important;border-radius:12px!important;background:#352c24!important;border-color:#352c24!important;
}

@media(max-width:600px){
  #mischel-firma-dialog{padding:22px 18px 26px!important}
  #mischel-firma-dialog .firma-dialog-head h2{font-size:26px!important}
}

/* 2026-11-07: Keep only the corporate sign-in action and its return link
   aligned like the existing private-customer dialog. No form behavior changed. */
#mischel-firma-dialog #firma-login-form .firma-actions {
  width:100%!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
}
#mischel-firma-dialog #firma-login-form .firma-actions > button[type="submit"] {
  box-sizing:border-box!important;
  display:inline-flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  width:156px!important;
  min-width:156px!important;
  max-width:156px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  text-indent:0!important;
  padding:12px 16px!important;
  line-height:1.2!important;
}
#mischel-firma-dialog #firma-login-form .firma-secondary-links {
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  text-align:center!important;
  width:100%!important;
}
#mischel-firma-dialog #firma-login-form .firma-secondary-links button {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
}


/* 2026-11-07: Separate authenticated company account page, private site only. */
html.mischel-private-firma-mode.mischel-firma-route #main > :not(#mischel-firma-page){display:none!important}
html.mischel-private-firma-mode.mischel-firma-route body{background:#f8f5f0}
#mischel-firma-page{display:block;box-sizing:border-box;max-width:1260px;min-height:68vh;margin:0 auto;padding:54px clamp(18px,4vw,58px) 86px;color:#342c25}
#mischel-firma-page[hidden],#mischel-firma-page [hidden]{display:none!important}
#mischel-firma-page .firma-page-intro{border-bottom:1px solid #e4dacc;padding:0 0 28px;margin:0 0 27px}
#mischel-firma-page .firma-page-intro h1{font:400 clamp(35px,4vw,52px)/1.15 Georgia,serif;color:#322920;margin:10px 0 12px}
#mischel-firma-page .firma-page-intro p:last-child{color:#76685a;margin:0;font:14px/1.5 Arial,sans-serif}
#mischel-firma-page .firma-page-identity{padding:18px 24px;background:#fffdf9;border:1px solid #e8dfd2;border-radius:4px;margin-bottom:24px}
#mischel-firma-page .firma-user{display:flex;flex-direction:column;gap:5px}
#mischel-firma-page .firma-user strong{font:400 23px/1.2 Georgia,serif;overflow-wrap:anywhere}
#mischel-firma-page .firma-user small{font:13px/1.5 Arial,sans-serif;color:#625b50;overflow-wrap:anywhere}
#mischel-firma-page .firma-page-tabs{display:flex;align-items:stretch;gap:3px;flex-wrap:wrap;margin:0 0 22px;padding:0;border-bottom:1px solid #dfd5c8}
#mischel-firma-page .firma-page-tabs button,#mischel-firma-page .firma-page-tabs a{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-height:47px;padding:12px 18px;background:transparent;border:0;border-bottom:3px solid transparent;border-radius:0;color:#55483b;font:500 14px/1.2 Arial,sans-serif;text-decoration:none;cursor:pointer}
#mischel-firma-page .firma-page-tabs button[aria-current="page"]{color:#3c3026;border-bottom-color:#ad8b55;font-weight:700}
#mischel-firma-page .firma-page-tabs button:hover,#mischel-firma-page .firma-page-tabs a:hover{background:#f2e9dc;color:#332a22}
#mischel-firma-page .firma-page-tabs .firma-page-return{margin-left:auto}
#mischel-firma-page .firma-page-card{background:#fffdf9;border:1px solid #e5dbcc;border-radius:3px;padding:clamp(20px,3vw,35px);min-height:360px}
#mischel-firma-page .firma-page-card h2{font:400 25px/1.25 Georgia,serif;margin:0 0 24px;color:#342a20}
#mischel-firma-page #firma-area{display:block}
#mischel-firma-page #firma-area[hidden]{display:none!important}
#mischel-firma-page #firma-profile-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px;max-width:940px}
#mischel-firma-page #firma-profile-form[hidden]{display:none!important}
#mischel-firma-page #firma-profile-form > label{display:flex;flex-direction:column;gap:8px;font:14px/1.4 Arial,sans-serif;color:#3a3027;margin-bottom:11px}
#mischel-firma-page #firma-profile-form input,#mischel-firma-page #firma-profile-form select{box-sizing:border-box;width:100%;min-width:0;min-height:45px;padding:10px 14px;border:1px solid #d8cdbc;border-radius:0;background:#fff;color:#312920;font:14px/1.4 Arial,sans-serif}
#mischel-firma-page #firma-profile-form input:focus,#mischel-firma-page #firma-profile-form select:focus{outline:2px solid #a78245;outline-offset:1px}
#mischel-firma-page #firma-profile-form .firma-actions{grid-column:1/-1;display:flex;justify-content:flex-start;margin:15px 0 0}
#mischel-firma-page #firma-profile-form .firma-actions .button,#mischel-firma-page #firma-page-guard .button{min-height:45px;border:1px solid #382f26;border-radius:8px;background:#382f26;color:#fff;font:600 14px/1.3 Arial,sans-serif;padding:11px 20px;cursor:pointer}
#mischel-firma-page #firma-profile-form .firma-actions .button:hover,#mischel-firma-page #firma-page-guard .button:hover{background:#554638}
#mischel-firma-page #firma-area > .fine{margin-top:25px;color:#76685a;font:13px/1.5 Arial,sans-serif}
#mischel-firma-page #firma-page-message{font:13px/1.5 Arial,sans-serif;color:#5b4d3e;margin:12px 0}
#mischel-firma-page #firma-page-message:empty{display:none}
#mischel-firma-page #firma-page-guard{padding:25px;background:#fffdf9;border:1px solid #e5dbcc;max-width:520px}
#mischel-firma-page #firma-page-guard p{font:14px/1.5 Arial,sans-serif}
.firma-home-notice{box-sizing:border-box;position:relative;z-index:2;margin:15px auto 8px;max-width:1150px;background:#f7f1e6;border:1px solid #dac8ad;border-left:4px solid #987341;padding:14px 48px 14px 18px;color:#493a2b;font:14px/1.5 Arial,sans-serif}
.firma-home-notice button{position:absolute;right:12px;top:8px;border:0;background:transparent;font:22px/1 Arial,sans-serif;cursor:pointer;color:#493a2b}
@media(max-width:650px){
 #mischel-firma-page{padding:25px 14px 60px}
 #mischel-firma-page #firma-profile-form{grid-template-columns:minmax(0,1fr)}
 #mischel-firma-page .firma-page-tabs{flex-wrap:nowrap;overflow-x:auto}
 #mischel-firma-page .firma-page-tabs button,#mischel-firma-page .firma-page-tabs a{white-space:nowrap;padding:12px 10px;font-size:12px}
 #mischel-firma-page .firma-page-tabs .firma-page-return{margin-left:0}
}

/* Firma customer workspace: same top horizontal bar layout as MISCHEL Admin. */
html.mischel-private-firma-mode.mischel-firma-route #mischel-firma-page{
  max-width:none!important;width:100%!important;margin:0!important;padding:0 0 75px!important;
}
#mischel-firma-page #firma-page-content{width:100%;}
#mischel-firma-page .firma-page-tabs{
 display:flex;flex-wrap:nowrap;align-items:center;gap:10px;
 min-height:64px;margin:0 0 38px!important;padding:9px clamp(12px,2.5vw,42px)!important;
 box-sizing:border-box;width:100%;background:#f8f5f0;border:0;border-bottom:1px solid #e3d8c7;
 font-family:Arial,sans-serif;
}
#mischel-firma-page .firma-workspace-brand{
 flex:0 0 auto;margin-right:16px;color:#806440;font:700 13px/1.2 Arial,sans-serif;
 white-space:nowrap;letter-spacing:.03em;
}
#mischel-firma-page .firma-workspace-links{display:flex;flex-wrap:wrap;gap:3px;align-items:center;min-width:0;}
#mischel-firma-page .firma-workspace-links button{
 display:inline-flex;justify-content:center;align-items:center;min-height:39px;
 padding:10px 11px;white-space:nowrap;border:1px solid transparent;border-radius:10px;
 background:transparent;box-shadow:none;color:#3b3027;
 font:400 14px/1.25 Arial,sans-serif;cursor:pointer;text-align:center;
}
#mischel-firma-page .firma-workspace-links button[aria-current="page"]{
 background:#ead7b7;border-color:#c9a66e;color:#4e3417;font-weight:700;
}
#mischel-firma-page .firma-workspace-links button:hover,#mischel-firma-page .firma-workspace-links button:focus-visible{
 background:#f0e4d1;border-color:#d1b58c;outline-offset:2px;
}
#mischel-firma-page .firma-page-close{
 display:grid!important;place-items:center;min-width:44px;min-height:44px;
 width:44px;height:44px;padding:0!important;margin-left:auto;flex:0 0 44px;
 border:1px solid #e0c9a8;border-radius:50%;background:#fffdf8;color:#312820;
 text-decoration:none;font:26px/1 Georgia,serif;box-shadow:0 3px 10px #2e251513;
}
#mischel-firma-page .firma-page-tabs .firma-page-close{
 border:1px solid #e0c9a8;border-radius:50%;background:#fffdf8;
 color:#312820;text-decoration:none;font:26px/1 Georgia,serif;
 min-width:44px;min-height:44px;width:44px;height:44px;padding:0;
}
#mischel-firma-page .firma-page-tabs .firma-page-close:hover{background:#f3e9da;}
#mischel-firma-page .firma-page-intro,#mischel-firma-page .firma-page-identity,
#mischel-firma-page .firma-page-card,#mischel-firma-page #firma-page-message{
 max-width:1144px;margin-left:auto!important;margin-right:auto!important;
 width:calc(100% - 2 * clamp(18px,4vw,58px));box-sizing:border-box;
}
#mischel-firma-page .firma-page-intro{margin-bottom:27px!important;}
#mischel-firma-page .firma-page-card[hidden]{display:none!important;}
#mischel-firma-page .firma-page-other p{font:14px/1.7 Arial,sans-serif;color:#66594b;max-width:760px;}
#mischel-firma-page .firma-page-inquiry-link{display:inline-flex;margin-top:8px;padding:12px 20px;border-radius:8px;background:#382f26;color:#fff;text-decoration:none;font:600 14px Arial,sans-serif;}
#mischel-firma-page .firma-page-inquiry-link[hidden]{display:none!important;}
#mischel-firma-page #firma-page-guard{margin:36px auto;}
/* Signed-in firm button uses the same name + chevron pattern as the personal login. */
html.mischel-private-firma-mode header #mischel-firma-nav .mischel-login-lines.firma-signed-in{
 flex-direction:row;min-width:0;max-width:105px;gap:8px;align-items:center;
}
html.mischel-private-firma-mode header #mischel-firma-nav .firma-header-company{
 display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:88px;
}
html.mischel-private-firma-mode header #mischel-firma-nav .firma-header-chevron{font:19px/1 Georgia,serif;color:#d5b78c;flex:0 0 auto;}
html.mischel-private-firma-mode header .mischel-usernav #mischel-firma-user-menu{
 position:absolute;z-index:1001;right:0;top:calc(100% + 8px);width:min(260px,80vw);
 box-sizing:border-box;padding:9px;background:#fffaf3;border:1px solid #e0c9a8;
 border-radius:8px;box-shadow:0 14px 30px #251b1038;color:#3e3026;
}
html.mischel-private-firma-mode header .mischel-usernav #mischel-firma-user-menu[hidden]{display:none!important;}
#mischel-firma-user-menu .firma-header-person{padding:15px 13px;margin:0 0 7px;background:#f1e5d4;color:#3a2e22;font-weight:600;font-size:14px;overflow-wrap:anywhere;}
#mischel-firma-user-menu button{width:100%;padding:12px 13px;border:0;border-radius:4px;background:transparent;text-align:left;color:inherit;font:14px Arial,sans-serif;cursor:pointer;}
#mischel-firma-user-menu button+button{border-top:1px solid #e7dbc8;}
#mischel-firma-user-menu button:hover{background:#f2e6d5;}
@media(max-width:980px){
 #mischel-firma-page .firma-page-tabs{flex-wrap:wrap;}
 #mischel-firma-page .firma-workspace-brand{margin-right:3px;}
 #mischel-firma-page .firma-workspace-links{order:3;width:100%;overflow-x:auto;flex-wrap:nowrap;}
 #mischel-firma-page .firma-page-close{margin-left:auto;order:2;}
}
@media(max-width:650px){
 #mischel-firma-page .firma-page-tabs{padding:8px 13px!important;gap:8px;}
 #mischel-firma-page .firma-workspace-brand{font-size:12px;}
 #mischel-firma-page .firma-workspace-links button{font-size:12px;min-height:38px;padding:9px 9px;}
 #mischel-firma-page .firma-page-intro,#mischel-firma-page .firma-page-identity,
 #mischel-firma-page .firma-page-card,#mischel-firma-page #firma-page-message{width:calc(100% - 26px);}
}

/* 2026-11-07: Unified company/customer visual layout; no customer CSS changes. */
#mischel-firma-page .firma-page-identity{
 display:flex;align-items:center;gap:18px;
 background:#fffdf9;border:1px solid #e8dfd2;border-radius:12px;
 padding:20px 25px;margin-bottom:26px!important;
 box-shadow:0 5px 22px rgba(61,47,28,.075);
}
#mischel-firma-page .firma-account-avatar{
 display:grid;place-items:center;flex:0 0 50px;width:50px;height:50px;
 border-radius:50%;background:#f2e7d4;border:1px solid #dfbf8e;
 color:#8e682b;font:400 23px/1 Georgia,serif;
}
#mischel-firma-page .firma-page-identity .firma-user{gap:3px;min-width:0;}
#mischel-firma-page .firma-page-identity .firma-user strong{
 font:400 24px/1.2 Georgia,serif;color:#2f281f;
}
#mischel-firma-page .firma-page-identity .firma-user small{font:13px/1.4 Arial,sans-serif;color:#6b6159;}
#mischel-firma-page .firma-page-identity .firma-user .firma-account-status{font:11px/1.4 Arial,sans-serif;color:#82673e;}
#mischel-firma-page .firma-page-intro{margin-bottom:21px!important;}
#mischel-firma-page .firma-page-card{border-radius:4px;min-height:360px;}
#mischel-firma-page #firma-page-profile > h2{display:none;}
#mischel-firma-page #firma-profile-form{display:block!important;max-width:none;}
#mischel-firma-page #firma-profile-form[hidden]{display:none!important;}
#mischel-firma-page .firma-profile-section{margin:0 0 25px;}
#mischel-firma-page .firma-profile-section + .firma-profile-section{
 border-top:1px solid #eee5d8;padding-top:26px;
}
#mischel-firma-page .firma-profile-section h3{
 font:400 25px/1.25 Georgia,serif;color:#342a20;margin:0 0 21px;
}
#mischel-firma-page .firma-profile-grid{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px;
 max-width:940px;
}
#mischel-firma-page .firma-profile-grid label{
 display:flex;flex-direction:column;gap:8px;
 font:14px/1.4 Arial,sans-serif;color:#3a3027;margin-bottom:11px;
}
#mischel-firma-page .firma-profile-grid input,
#mischel-firma-page .firma-profile-grid select{
 box-sizing:border-box;width:100%;min-width:0;min-height:45px;padding:10px 14px;
 border:1px solid #d8cdbc;border-radius:0;background:#fff;color:#312920;
 font:14px/1.4 Arial,sans-serif;
}
#mischel-firma-page .firma-profile-grid input:focus,
#mischel-firma-page .firma-profile-grid select:focus{outline:2px solid #a78245;outline-offset:1px;}
#mischel-firma-page .firma-delivery-same{
 display:flex;align-items:center;gap:9px;font:14px/1.4 Arial,sans-serif;
 margin:0 0 20px;color:#3a3027;cursor:pointer;
}
#mischel-firma-page .firma-delivery-same input{
 box-sizing:border-box;width:17px;height:17px;margin:0;accent-color:#a78245;
}
#mischel-firma-page #firma-delivery-fields[hidden]{display:none!important;}
#mischel-firma-page #firma-profile-form .firma-actions{margin-top:15px;}
@media(max-width:650px){
 #mischel-firma-page .firma-page-identity{padding:15px;gap:12px;}
 #mischel-firma-page .firma-account-avatar{width:44px;height:44px;flex-basis:44px;}
 #mischel-firma-page .firma-profile-grid{grid-template-columns:minmax(0,1fr);}
 #mischel-firma-page .firma-profile-section h3{font-size:23px;}
}
/* Ensure checkbox does not inherit the broad form-input width/min-height. */
#mischel-firma-page #firma-profile-form .firma-delivery-same{
 display:inline-flex!important;flex-direction:row!important;align-items:center!important;
 justify-content:flex-start!important;gap:9px!important;width:auto!important;
}
#mischel-firma-page #firma-profile-form .firma-delivery-same input[type=checkbox]{
 display:inline-block!important;appearance:auto!important;
 width:17px!important;height:17px!important;min-width:17px!important;min-height:17px!important;
 max-width:17px!important;max-height:17px!important;flex:0 0 17px!important;
 border:0!important;border-radius:0!important;padding:0!important;margin:0!important;
}

/* Firm orders reuse existing order palette, scoped to Firmendaten page. */
#firma-orders-host{display:block;max-width:1050px;margin-top:14px}
#firma-orders-host[hidden]{display:none}
#firma-orders-host>label{display:block;margin:0 0 15px;font-weight:600}
#firma-orders-host input[type="search"]{display:block;width:min(100%,480px);padding:10px;margin-top:6px}
#firma-orders-host .firma-order-card{border:1px solid #bda784;border-left:5px solid #bda784;background:#fffdfa;border-radius:9px;padding:16px;margin:13px 0}
#firma-orders-host .firma-order-card[data-order-status="new"]{background:#e8f1fc;border-color:#8eb0d8;border-left-color:#517eb1}
#firma-orders-host .firma-order-card[data-order-status="processing"],#firma-orders-host .firma-order-card[data-order-status="ready"]{background:#fff1d9;border-color:#d8b26b;border-left-color:#bd8737}
#firma-orders-host .firma-order-card[data-order-status="shipped"]{background:#f0eee9;border-color:#beb1a0;border-left-color:#968879}
#firma-orders-host .firma-order-card[data-order-status="delivered"],#firma-orders-host .firma-order-card[data-order-status="collected"]{background:#e6f4e9;border-color:#88bc9a;border-left-color:#4c9164}
#firma-orders-host .firma-order-card[data-order-status="cancelled"]{background:#fce9e7;border-color:#d99a95;border-left-color:#b5524c}
#firma-orders-host .firma-order-heading{display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:10px;margin-bottom:8px}
#firma-orders-host .firma-order-status{font-weight:700;font-size:13px}
#firma-orders-host .firma-order-card p{margin:9px 0;overflow-wrap:anywhere}
#firma-orders-host .firma-order-card details{border-top:1px solid #d5c9b7;margin-top:10px;padding-top:10px}
#firma-orders-host .firma-order-card summary{cursor:pointer;font-weight:600}
#firma-orders-host .firma-orders-pager{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:17px 0}

/* 2026-11-07: align Firma navigation with the compact admin navigation. */
#mischel-firma-page .firma-page-tabs{gap:3px!important;padding:8px 10px!important;min-height:64px}
#mischel-firma-page .firma-workspace-brand{font-size:12px;margin-right:10px}
#mischel-firma-page .firma-workspace-links{gap:2px;flex-wrap:nowrap}
#mischel-firma-page .firma-workspace-links button{font-size:13px;min-height:36px;padding:8px 9px;border-radius:8px}
#mischel-firma-page .firma-page-other #firma-page-other-title:empty,#mischel-firma-page .firma-page-other #firma-page-other-text:empty{display:none}
#mischel-firma-page #firma-page-other{max-width:1144px}
#firma-messages-host,#firma-notifications-host{width:100%}
#firma-messages-host[hidden],#firma-notifications-host[hidden]{display:none!important}
#firma-orders-host .firma-order-card{max-width:none;padding:18px 20px}
#firma-orders-host .mischel-ordered-product{display:flex;align-items:center;gap:16px;padding:12px 0;border-bottom:1px solid #d8d1c4;font-weight:600}
#firma-orders-host .mischel-ordered-thumb{width:80px;min-width:80px;height:80px;border-radius:8px;overflow:hidden;background:#fff;display:grid;place-items:center}
#firma-orders-host .mischel-ordered-thumb img{width:100%;height:100%;object-fit:contain}
#firma-orders-host .mischel-private-order-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:18px;margin:12px 0}
#firma-orders-host .mischel-private-order-field{display:flex;flex-direction:column;gap:4px}
#firma-orders-host .mischel-private-order-costs{display:flex;gap:18px;flex-wrap:wrap;margin:12px 0;font-size:13px}
#firma-orders-host .firma-order-action,#mischel-firma-page .firma-order-action{background:#bb985d;border:0;border-radius:10px;color:#231b12;padding:11px 16px;cursor:pointer;margin:13px 0 5px;font:14px Arial,sans-serif}
#firma-orders-host .firma-order-action:hover,#mischel-firma-page .firma-order-action:hover{background:#cdaa75}
#firma-orders-host .firma-order-action:disabled,#mischel-firma-page .firma-order-action:disabled{opacity:.55;cursor:wait}
#firma-messages-host .mischel-mailbox{display:grid;grid-template-columns:205px minmax(0,1fr);min-height:320px;border:1px solid #dccbb7;border-radius:12px;background:#fffdf9;overflow:hidden}
#firma-messages-host .mischel-mailbox-sidebar{display:flex;flex-direction:column;gap:4px;padding:14px 8px;border-right:1px solid #dfd5c8}
#firma-messages-host .mischel-mailbox-sidebar button{padding:11px;border:0;background:transparent;text-align:left;cursor:pointer;border-radius:7px}
#firma-messages-host .mischel-mailbox-sidebar button.current{background:#ead7b7;font-weight:600}
#firma-messages-host .mischel-mailbox-main{min-width:0;padding:14px}
#firma-messages-host .mischel-mailbox-toolbar{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
#firma-messages-host .mischel-mailbox-search{flex:1;min-width:150px;padding:12px;border:1px solid #dccdb6;border-radius:20px}
#firma-messages-host .mischel-mailbox-bulk{display:flex;gap:16px;justify-content:space-between;flex-wrap:wrap;padding:10px 0}
#firma-messages-host .mischel-mailbox-bulk-actions{display:flex;flex-wrap:wrap;gap:6px}
#firma-messages-host .mischel-mailbox-bulk-button{padding:8px 10px;border:1px solid #dccdb6;background:#fff;border-radius:7px;cursor:pointer}
#firma-messages-host .mischel-mailbox-row{display:flex;align-items:center;gap:10px;border-top:1px solid #e6d9c7;padding:12px 3px}
#firma-messages-host .mischel-mailbox-row.unread{background:#fdf1da}
#firma-messages-host .mischel-mailbox-row-main{flex:1;min-width:0;display:flex;flex-direction:column;text-align:left;border:0;background:transparent;cursor:pointer;gap:6px}
#firma-messages-host .mischel-mailbox-row-top{display:flex;justify-content:space-between;gap:12px}
#firma-messages-host .mischel-mailbox-row-main small{color:#766858;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}
#firma-messages-host .mischel-mailbox-star{font-size:23px;background:transparent;border:0;color:#a77d45;cursor:pointer}
#firma-messages-host .mischel-mailbox-detail{padding:16px 8px;min-height:200px}
#firma-messages-host .mischel-mailbox-back{display:block;background:transparent;border:0;cursor:pointer;padding:8px 0}
#firma-messages-host .firma-message-post{padding:13px;border:1px solid #ebdec9;border-radius:7px;margin:10px 0;background:#fff}
#firma-messages-host .firma-message-post small{display:block;color:#78685b}
#firma-messages-host .mischel-inline-form,#firma-messages-host .mischel-mailbox-compose form{display:grid;gap:12px;margin:14px 0}
#firma-messages-host .mischel-inline-form label{display:grid;gap:7px}
#firma-messages-host .mischel-inline-form :is(textarea,input,select){width:100%;box-sizing:border-box;padding:10px;border:1px solid #d9c9b0}
#firma-notifications-host .firma-notice-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
#firma-notifications-host .firma-notice-toolbar .is-current{background:#ead7b7}
#firma-notifications-host .firma-notice-select{display:flex;align-items:center;gap:14px;margin:15px 0}
#firma-notifications-host .firma-notice-card{display:flex;align-items:flex-start;gap:14px;padding:20px;border:1px solid #e0d2bd;margin:12px 0;border-radius:10px}
#firma-notifications-host .firma-notice-card.unread{background:#faedcf;border-left:4px solid #b58a41}
#firma-notifications-host .firma-notice-card>div:nth-child(2){flex:1}
#firma-notifications-host .firma-notice-card p{margin:8px 0}
#firma-notifications-host .firma-notice-actions{display:flex;gap:9px;flex-wrap:wrap}
#firma-notifications-host .firma-notice-toolbar button,#firma-notifications-host .firma-notice-select button,#firma-notifications-host .firma-notice-actions button{padding:9px 12px;background:#fff;border:1px solid #cfb487;border-radius:7px;cursor:pointer}
#firma-notifications-host .firma-notice-toolbar button.is-current{background:#ead7b7}
@media(max-width:760px){#firma-messages-host .mischel-mailbox{grid-template-columns:1fr}#firma-messages-host .mischel-mailbox-sidebar{flex-direction:row;overflow:auto;border-right:0;border-bottom:1px solid #dfd5c8}#firma-notifications-host .firma-notice-card{flex-wrap:wrap}}

#mischel-firma-page .firma-notification-count{display:inline-flex;align-items:center;justify-content:center;min-width:17px;height:17px;border-radius:50%;background:#b9924e;color:#fff;margin-left:6px;font-size:11px;font-weight:700;padding:0 3px;box-sizing:border-box}


/* MISCHEL 2026-11-07 - firm bar visually matches compact admin bar. */
#mischel-firma-page .firma-page-tabs{
  box-sizing:border-box!important;min-height:64px!important;
  padding:8px 10px!important;gap:3px!important;
  background:#f8f5f0!important;border-bottom:1px solid #e3d8c7!important;
  align-items:center!important;
}
#mischel-firma-page .firma-workspace-brand{
  font-size:12px!important;margin-right:10px!important;
}
#mischel-firma-page .firma-workspace-links{
  gap:2px!important;flex-wrap:nowrap!important;
}
#mischel-firma-page .firma-workspace-links button{
  min-height:36px!important;padding:8px 9px!important;
  font-size:13px!important;border-radius:8px!important;
}
#mischel-firma-page .firma-page-tabs .firma-page-close{
  box-sizing:border-box!important;
  display:grid!important;
  place-items:center!important;
  flex:0 0 44px!important;
  width:44px!important;height:44px!important;
  min-width:44px!important;min-height:44px!important;
  max-width:44px!important;max-height:44px!important;
  margin-left:auto!important;padding:0!important;
  border:1px solid #e0c9a8!important;border-radius:50%!important;
  background:#fffdf8!important;color:#312820!important;
  box-shadow:0 3px 10px #2e251513!important;
  font-size:0!important;line-height:0!important;
  text-decoration:none!important;
  text-align:center!important;
  overflow:hidden!important;
}
#mischel-firma-page .firma-page-tabs .firma-page-close::after{
  content:""!important;
  display:block!important;
  width:16px!important;height:16px!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 5L19 19M19 5L5 19' fill='none' stroke='%23312820' stroke-width='2.1' stroke-linecap='round'/%3E%3C/svg%3E")!important;
  background-size:16px 16px!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  margin:0!important;padding:0!important;
  transform:none!important;
}
@media(max-width:980px){
  #mischel-firma-page .firma-workspace-links{
    flex-wrap:nowrap!important;overflow-x:auto!important;
  }
}


/* 2026-11-07 V2: match the real MISCHEL Admin workspace navigation.
   Desktop tabs are centered on the viewport, independent of brand length.
   The 44px close control uses a centered SVG, not a font glyph.
   Visual changes only: all existing handlers and DOM remain unchanged. */
#mischel-firma-page .firma-page-tabs,
#mischel-account-page > .mischel-customer-topnav {
  position:relative!important;
  box-sizing:border-box!important;
  display:flex!important;
  flex-wrap:nowrap!important;
  justify-content:flex-start!important;
  align-items:center!important;
  width:100%!important;
  min-height:65px!important;
  margin-bottom:38px!important;
  padding:8px 78px 8px 22px!important;
  gap:14px!important;
  color:#342b24!important;
  background:#f7f3ed!important;
  border:0!important;
  border-bottom:1px solid #dfd3c1!important;
  border-radius:0!important;
  box-shadow:0 2px 10px rgba(51,37,21,.07)!important;
  font-family:Arial,sans-serif!important;
}
/* Retain the existing full-viewport alignment of the private account bar. */
#mischel-account-page > .mischel-customer-topnav {
  width:100vw!important;
  max-width:none!important;
  margin-left:calc(50% - 50vw)!important;
}
#mischel-firma-page .firma-workspace-brand,
#mischel-account-page .mischel-customer-topnav-brand {
  flex:0 0 auto!important;
  margin-right:16px!important;
  color:#80653e!important;
  font:700 11px/1.3 Arial,sans-serif!important;
  letter-spacing:.13em!important;
  white-space:nowrap!important;
}
#mischel-firma-page .firma-workspace-links,
#mischel-account-page .mischel-customer-topnav-links {
  /* The Admin bar starts immediately after the title: no viewport centering. */
  position:static!important;
  left:auto!important;
  transform:none!important;
  display:flex!important;
  flex:1 1 auto!important;
  justify-content:flex-start!important;
  align-items:center!important;
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  gap:5px!important;
  flex-wrap:nowrap!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scrollbar-width:none;
}
#mischel-firma-page .firma-workspace-links button,
#mischel-account-page .mischel-customer-topnav-link {
  appearance:none!important;
  box-sizing:border-box!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  min-height:37px!important;
  padding:8px 10px!important;
  color:#393027!important;
  background:transparent!important;
  border:1px solid transparent!important;
  border-radius:9px!important;
  box-shadow:none!important;
  font:500 12px/1.25 Arial,sans-serif!important;
  white-space:nowrap!important;
  cursor:pointer!important;
  text-decoration:none!important;
}
#mischel-firma-page .firma-workspace-links button[aria-current="page"],
#mischel-account-page .mischel-customer-topnav-link[aria-current="page"] {
  background:#e7d5b8!important;
  border-color:#c8a66d!important;
  color:#5b3d1f!important;
  font-weight:700!important;
}
#mischel-firma-page .firma-workspace-links button:hover,
#mischel-account-page .mischel-customer-topnav-link:hover {
  color:#6e4e22!important;
  background:#efe6d8!important;
}
#mischel-firma-page .firma-workspace-links button:focus-visible,
#mischel-account-page .mischel-customer-topnav-link:focus-visible,
#mischel-firma-page .firma-page-tabs .firma-page-close:focus-visible,
#mischel-account-page .mischel-customer-topnav-close:focus-visible {
  outline:2px solid #a77c40!important;
  outline-offset:2px!important;
}
/* Separate close element box from the glyph. Avoid old ::before/glyph offsets. */
#mischel-firma-page .firma-page-tabs .firma-page-close,
#mischel-account-page .mischel-customer-topnav-close {
  position:absolute!important;
  top:50%!important;
  right:18px!important;
  left:auto!important;
  bottom:auto!important;
  transform:translateY(-50%)!important;
  box-sizing:border-box!important;
  display:block!important;
  flex:none!important;
  width:44px!important;
  height:44px!important;
  min-width:44px!important;
  min-height:44px!important;
  max-width:44px!important;
  max-height:44px!important;
  margin:0!important;
  padding:0!important;
  border:1px solid #d9c9b3!important;
  border-radius:50%!important;
  color:transparent!important;
  background:#fbf8f2!important;
  box-shadow:0 2px 7px #31241b18!important;
  font-size:0!important;
  line-height:0!important;
  text-align:center!important;
  text-decoration:none!important;
  overflow:hidden!important;
  cursor:pointer!important;
  z-index:2!important;
}
#mischel-firma-page .firma-page-tabs .firma-page-close::before,
#mischel-account-page .mischel-customer-topnav-close::before {
  content:none!important;
  display:none!important;
}
#mischel-firma-page .firma-page-tabs .firma-page-close::after,
#mischel-account-page .mischel-customer-topnav-close::after {
  content:""!important;
  display:block!important;
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  right:auto!important;
  bottom:auto!important;
  width:20px!important;
  height:20px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  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%3E%3Cpath%20d%3D%22M6%206L18%2018M18%206L6%2018%22%20fill%3D%22none%22%20stroke%3D%22%23342b24%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fsvg%3E") center / 20px 20px no-repeat!important;
  transform:translate(-50%,-50%)!important;
}
#mischel-firma-page .firma-page-tabs .firma-page-close:hover,
#mischel-account-page .mischel-customer-topnav-close:hover {
  background:#eee6da!important;
}
/* Admin uses a select below 1220px; the customer bars retain their
   existing actual buttons, horizontally scrollable instead of inaccessible. */
@media (max-width:1220px) {
  #mischel-firma-page .firma-page-tabs,
  #mischel-account-page > .mischel-customer-topnav {
    gap:10px!important;
    padding-left:12px!important;
    padding-right:70px!important;
  }
  #mischel-firma-page .firma-workspace-links,
  #mischel-account-page .mischel-customer-topnav-links {
    position:static!important;
    left:auto!important;
    transform:none!important;
    flex:1 1 0!important;
    justify-content:flex-start!important;
    min-width:0!important;
    width:auto!important;
    max-width:none!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scrollbar-width:thin;
    -webkit-overflow-scrolling:touch;
  }
}
@media (max-width:650px) {
  #mischel-firma-page .firma-page-tabs,
  #mischel-account-page > .mischel-customer-topnav {
    min-height:61px!important;
    padding:8px 62px 8px 10px!important;
  }
  #mischel-firma-page .firma-workspace-brand,
  #mischel-account-page .mischel-customer-topnav-brand {display:none!important;}
  #mischel-firma-page .firma-page-tabs .firma-page-close,
  #mischel-account-page .mischel-customer-topnav-close {
    right:10px!important;
    width:42px!important;height:42px!important;
    min-width:42px!important;min-height:42px!important;
    max-width:42px!important;max-height:42px!important;
  }
}


/* MISCHEL 2026-11-08: Account WORKSPACE, not storefront + an extra bar.
   Only on the established /firma/firmendaten and /konto/* workspace routes.
   The site header, advertising strip, and footer return automatically on /.
   Keep existing navigation buttons, callbacks, and centered SVG close icon. */
html.mischel-firma-route body > .topline,
html.mischel-firma-route body > header,
html.mischel-firma-route body > footer,
html.mischel-firma-route body > #back-to-top,
html.mischel-account-route body > .topline,
html.mischel-account-route body > header,
html.mischel-account-route body > footer,
html.mischel-account-route body > #back-to-top {
  display:none!important;
}
html.mischel-firma-route body,
html.mischel-account-route body {
  margin:0!important;
  background:#f8f5f0!important;
}
html.mischel-firma-route body > #main,
html.mischel-account-route body > #main {
  box-sizing:border-box!important;
  display:block!important;
  width:100%!important;
  max-width:none!important;
  min-height:100vh!important;
  margin:0!important;
  padding:0!important;
}
/* The client area is a fullscreen workspace; it is not a narrow shop section. */
html.mischel-account-route #mischel-account-page.mischel-account-page {
  box-sizing:border-box!important;
  width:100%!important;
  max-width:none!important;
  min-height:100vh!important;
  margin:0!important;
  padding:0 0 80px!important;
}
html.mischel-account-route #mischel-account-page.mischel-account-page[hidden] {
  display:none!important;
}
/* Navigation is the FIRST visible row, at y=0, exactly like Admin. */
html.mischel-account-route #mischel-account-page > .mischel-customer-topnav,
html.mischel-firma-route #mischel-firma-page .firma-page-tabs {
  box-sizing:border-box!important;
  position:sticky!important;
  top:0!important;
  z-index:50!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
  width:100%!important;
  max-width:none!important;
  min-height:65px!important;
  margin:0 0 38px!important;
  padding-top:8px!important;
  padding-bottom:8px!important;
  border-top:0!important;
}
html.mischel-account-route #mischel-account-page > .mischel-customer-topnav {
  margin-left:0!important; /* cancels former shop-section viewport offset */
  margin-right:0!important;
}
/* The tabs remain full-width while private customer content stays readable. */
html.mischel-account-route #mischel-account-page > .mischel-account-page-intro,
html.mischel-account-route #mischel-account-page > #mischel-account-guard,
html.mischel-account-route #mischel-account-page > #mischel-test-customer-dashboard {
  box-sizing:border-box!important;
  width:calc(100% - 2 * clamp(18px,4vw,58px))!important;
  max-width:1144px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
@media(max-width:650px) {
  html.mischel-account-route #mischel-account-page > .mischel-account-page-intro,
  html.mischel-account-route #mischel-account-page > #mischel-account-guard,
  html.mischel-account-route #mischel-account-page > #mischel-test-customer-dashboard {
    width:calc(100% - 26px)!important;
  }
}


/* 2026-11-08: Firma notifications use the same compact list structure as Admin.
   Only layout and checkbox sizing; existing account authorization/actions unchanged. */
#mischel-firma-page #firma-notifications-host {box-sizing:border-box;min-width:0;}
#mischel-firma-page #firma-notifications-host .firma-notice-toolbar {
  box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;
  column-gap:18px;row-gap:10px;flex-wrap:wrap;margin:0 0 13px;
}
#mischel-firma-page #firma-notifications-host .firma-notice-filters,
#mischel-firma-page #firma-notifications-host .firma-notice-tools {
  display:flex;align-items:center;gap:7px;min-width:0;flex-wrap:wrap;
}
#mischel-firma-page #firma-notifications-host .firma-notice-tools {margin-left:auto;}
#mischel-firma-page #firma-notifications-host .firma-notice-select {
  display:inline-flex;align-items:center;gap:9px;margin:0;white-space:nowrap;
}
#mischel-firma-page #firma-notifications-host .firma-notice-summary {
  font:400 13px/1.45 Arial,sans-serif;color:#826844;margin:0 0 12px;
}
#mischel-firma-page #firma-notifications-host .firma-notice-select-all {
  box-sizing:border-box;display:inline-flex;flex-direction:row;align-items:center;
  justify-content:flex-start;gap:12px;margin:0 0 7px 14px;
  width:auto;font:400 13px/1.35 Arial,sans-serif;color:#3b3027;cursor:pointer;
}
#mischel-firma-page #firma-notifications-host input[type="checkbox"] {
  box-sizing:border-box!important;display:inline-block!important;
  position:static!important;appearance:auto!important;
  width:17px!important;height:17px!important;
  min-width:17px!important;min-height:17px!important;
  max-width:17px!important;max-height:17px!important;
  flex:0 0 17px!important;align-self:start!important;
  padding:0!important;margin:0!important;accent-color:#a78147;
  vertical-align:middle;
}
#mischel-firma-page #firma-notifications-host .firma-notice-select-all input[type="checkbox"] {
  align-self:center!important;
}
#mischel-firma-page #firma-notifications-host .firma-notice-card {
  box-sizing:border-box;display:grid!important;
  grid-template-columns:17px minmax(0,1fr) auto;
  align-items:center;column-gap:14px;row-gap:8px;
  width:100%;min-width:0;min-height:0;
  padding:15px 16px;margin:0 0 10px;
  border:1px solid #e0d2bd;border-radius:10px;background:#fffdf9;
}
#mischel-firma-page #firma-notifications-host .firma-notice-card.unread {
  background:#faedcf;border-left:4px solid #b58a41;
  padding-left:13px;
}
#mischel-firma-page #firma-notifications-host .firma-notice-card > div:nth-child(2) {
  box-sizing:border-box;flex:initial!important;min-width:0;
  max-width:none;overflow-wrap:anywhere;
  font:400 13px/1.45 Arial,sans-serif;
}
#mischel-firma-page #firma-notifications-host .firma-notice-card > div:nth-child(2) strong {
  display:block;font:700 14px/1.4 Arial,sans-serif;margin:0;
}
#mischel-firma-page #firma-notifications-host .firma-notice-card > div:nth-child(2) p {
  margin:5px 0;color:#5c4d3e;line-height:1.4;
}
#mischel-firma-page #firma-notifications-host .firma-notice-card > div:nth-child(2) small {
  display:block;margin-top:8px;color:#8b6d48;font:400 11px/1.3 Arial,sans-serif;
}
#mischel-firma-page #firma-notifications-host .firma-notice-actions {
  display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap;
  min-width:0;
}
#mischel-firma-page #firma-notifications-host button.firma-order-action {margin:0!important;}
#mischel-firma-page #firma-notifications-host :is(.firma-notice-toolbar,.firma-notice-actions) button {
  box-sizing:border-box;min-height:34px;white-space:nowrap;
  border:1px solid #d8bc93;border-radius:7px;
  padding:8px 12px;background:#fffdf9;color:#342b24;
  font:400 12px/1.2 Arial,sans-serif;cursor:pointer;
}
#mischel-firma-page #firma-notifications-host .firma-notice-toolbar button.is-current {
  background:#ead7b7;border-color:#be985e;
}
#mischel-firma-page #firma-notifications-host button:disabled {
  opacity:.5;cursor:not-allowed;
}
#mischel-firma-page #firma-notifications-host .firma-notice-actions button:first-child:not(:last-child) {
  background:#302820;border-color:#302820;color:#fff;
}
@media(max-width:850px) {
  #mischel-firma-page #firma-notifications-host .firma-notice-card {
    grid-template-columns:17px minmax(0,1fr);
  }
  #mischel-firma-page #firma-notifications-host .firma-notice-actions {
    grid-column:2;justify-content:flex-start;
  }
}

/* Match the open Admin notification page: no redundant empty card frame. */
#mischel-firma-page #firma-page-other.firma-notices-active {
  box-sizing:border-box;min-height:0!important;
  border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;
  padding:0!important;
}


/* 2026-11-08: Firma notification order-details expander, same semantics as Admin. */
#mischel-firma-page #firma-notifications-host .firma-notice-order-details {
  grid-column:2 / -1;box-sizing:border-box;min-width:0;width:100%;
  border-top:1px solid #dccdb9;margin:2px 0 0;padding:8px 0 0;
  font:400 12px/1.5 Arial,sans-serif;color:#594631;
}
#mischel-firma-page #firma-notifications-host .firma-notice-order-details > summary {
  display:flex;align-items:center;gap:7px;cursor:pointer;
  list-style:none;min-height:24px;width:max-content;max-width:100%;
  font:400 12px/1.45 Arial,sans-serif;color:#765832;
}
#mischel-firma-page #firma-notifications-host .firma-notice-order-details > summary::-webkit-details-marker {display:none;}
#mischel-firma-page #firma-notifications-host .firma-notice-order-details > summary::before {
  content:"";display:block;width:0;height:0;flex:none;
  border-top:4px solid transparent;border-bottom:4px solid transparent;
  border-left:6px solid currentColor;transition:transform .12s ease;
}
#mischel-firma-page #firma-notifications-host .firma-notice-order-details[open] > summary::before {
  transform:rotate(90deg);
}
#mischel-firma-page #firma-notifications-host .firma-notice-order-details > summary:focus-visible {
  outline:2px solid #9e743c;outline-offset:3px;
}
#mischel-firma-page #firma-notifications-host .firma-notice-order-body {
  display:grid;grid-template-columns:minmax(0,1fr);gap:4px;
  margin:7px 0 4px;padding-left:0;min-width:0;
}
#mischel-firma-page #firma-notifications-host .firma-notice-order-field {
  display:flex;flex-wrap:wrap;gap:5px;overflow-wrap:anywhere;
}
#mischel-firma-page #firma-notifications-host .firma-notice-order-field strong {
  font-weight:600;white-space:nowrap;
}
#mischel-firma-page #firma-notifications-host .firma-notice-order-error {color:#9d352d;}

/* MISCHEL 2026-11-08: Firma > Firmendaten uses Privat > Mein Profil spacing.
   Scoped to this one profile panel; no selectors alter the shop, orders,
   notifications, messages, or the Firma navigation. */
html.mischel-private-firma-mode.mischel-firma-route #mischel-firma-page #firma-page-profile {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  min-height: 0 !important;
}
#mischel-firma-page #firma-page-profile #firma-page-form-host {
  box-sizing: border-box !important;
  width: 100% !important;
  padding: 0 24px !important;
}
#mischel-firma-page #firma-page-profile #firma-profile-form {
  box-sizing: border-box !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
#mischel-firma-page #firma-page-profile #firma-profile-form[hidden] {
  display: none !important;
}
#mischel-firma-page #firma-page-profile .firma-profile-section {
  margin: 0 0 24px !important;
  padding: 0 !important;
  border: 0 !important;
}
#mischel-firma-page #firma-page-profile .firma-profile-section + .firma-profile-section {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: 0 !important;
}
#mischel-firma-page #firma-page-profile .firma-profile-section h3 {
  margin: 4px 0 21px !important;
  color: #342a20 !important;
  font: 400 25px/1.25 Georgia, serif !important;
}
#mischel-firma-page #firma-page-profile .firma-profile-grid {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  column-gap: 18px !important;
  row-gap: 8px !important;
}
#mischel-firma-page #firma-page-profile .firma-profile-grid > label {
  min-width: 0 !important;
  margin-bottom: 11px !important;
}
#mischel-firma-page #firma-page-profile .firma-profile-grid :is(input:not([type=checkbox]), select) {
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 45px !important;
}
#mischel-firma-page #firma-page-profile #firma-profile-form .firma-actions {
  margin: 18px 0 0 !important;
  justify-content: flex-start !important;
}
@media (max-width: 650px) {
  #mischel-firma-page #firma-page-profile #firma-page-form-host {
    padding: 0 15px !important;
  }
  #mischel-firma-page #firma-page-profile .firma-profile-grid {
    grid-template-columns: minmax(0,1fr) !important;
  }
}

/* MISCHEL Firmendaten: faithfully reuse the existing Privat / Mein Profil
   values from style.css + mischel-customer-test.css + account-redesign.css.
   CSS only; scoped to the company profile form and identity card. */
html.mischel-private-firma-mode.mischel-firma-route #mischel-firma-page #firma-page-profile {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  min-height: 0 !important;
}
html.mischel-private-firma-mode.mischel-firma-route #mischel-firma-page #firma-page-profile #firma-page-form-host {
  box-sizing: border-box !important;
  width: 100% !important;
  padding: 0 24px !important;
}
html.mischel-private-firma-mode.mischel-firma-route #mischel-firma-page #firma-page-profile #firma-profile-form {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
html.mischel-private-firma-mode.mischel-firma-route #mischel-firma-page #firma-page-profile #firma-profile-form[hidden] {
  display: none !important;
}
/* Privat profile card: 20x25 padding, no border, 14px radius and soft shadow. */
html.mischel-private-firma-mode.mischel-firma-route #mischel-firma-page .firma-page-identity {
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  padding: 20px 25px !important;
  background: #fffdf9 !important;
  border: 0 !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 18px rgba(65,48,29,.09) !important;
  margin-bottom: 26px !important;
}
html.mischel-private-firma-mode.mischel-firma-route #mischel-firma-page .firma-page-identity .firma-account-avatar {
  box-sizing: border-box !important;
  display: grid !important;
  place-items: center !important;
  width: 54px !important;
  height: 54px !important;
  flex: 0 0 54px !important;
  background: #f0e4d0 !important;
  border: 1px solid #dec6a1 !important;
  border-radius: 50% !important;
  color: #8e6a35 !important;
  font: 400 28px/1 Georgia,serif !important;
}
html.mischel-private-firma-mode.mischel-firma-route #mischel-firma-page .firma-page-identity .firma-user strong {
  font: 400 24px/1.2 Georgia,serif !important;
  color: #2f281f !important;
}
html.mischel-private-firma-mode.mischel-firma-route #mischel-firma-page .firma-page-identity .firma-user small {
  font: 400 13px/1.4 Arial,sans-serif !important;
  color: #6b6159 !important;
}
html.mischel-private-firma-mode.mischel-firma-route #mischel-firma-page .firma-page-identity .firma-user .firma-account-status {
  font: 400 11px/1.4 Arial,sans-serif !important;
  color: #82673e !important;
}
/* Privat form rows: 2 columns with 12px gap, labels at 11px. */
html.mischel-private-firma-mode.mischel-firma-route #mischel-firma-page #firma-page-profile .firma-profile-section {
  margin: 0 0 24px !important;
  border: 0 !important;
  padding: 0 !important;
}
html.mischel-private-firma-mode.mischel-firma-route #mischel-firma-page #firma-page-profile .firma-profile-section + .firma-profile-section {
  margin-top: 0 !important;
  border-top: 0 !important;
  padding-top: 0 !important;
}
html.mischel-private-firma-mode.mischel-firma-route #mischel-firma-page #firma-page-profile .firma-profile-section h3 {
  margin: 4px 0 21px !important;
  font: 400 25px/1.25 Georgia,serif !important;
  color: #342a20 !important;
}
html.mischel-private-firma-mode.mischel-firma-route #mischel-firma-page #firma-page-profile .firma-profile-grid {
  box-sizing: border-box !important;
  display: grid !important;
  width: 100% !important;
  max-width: none !important;
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  gap: 12px !important;
}
html.mischel-private-firma-mode.mischel-firma-route #mischel-firma-page #firma-page-profile .firma-profile-grid > label {
  display: flex !important;
  flex-direction: column !important;
  gap: 7px !important;
  min-width: 0 !important;
  margin: 10px 0 !important;
  font: 400 11px/1.6 Arial,sans-serif !important;
  letter-spacing: .3px !important;
  color: #302a24 !important;
}
/* Privat inputs inherit 11px label text, with 11px padding and warm cream fill.
   Remove the Firma 45px minimum height (Privat has none). */
html.mischel-private-firma-mode.mischel-firma-route #mischel-firma-page #firma-page-profile .firma-profile-grid > label > :is(input:not([type=checkbox]),select) {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 11px !important;
  margin: 6px 0 0 !important;
  border: 1px solid #ddd1be !important;
  border-radius: 0 !important;
  background: #faf7f1 !important;
  color: #28211d !important;
  font: inherit !important;
  letter-spacing: inherit !important;
}
html.mischel-private-firma-mode.mischel-firma-route #mischel-firma-page #firma-page-profile .firma-profile-grid > label > :is(input:not([type=checkbox]),select):focus-visible {
  outline: 2px solid #967440 !important;
  outline-offset: 3px !important;
}
html.mischel-private-firma-mode.mischel-firma-route #mischel-firma-page #firma-page-profile .firma-delivery-same {
  font: 400 11px/1.6 Arial,sans-serif !important;
  letter-spacing: .3px !important;
  color: #302a24 !important;
}
@media (max-width:650px) {
  html.mischel-private-firma-mode.mischel-firma-route #mischel-firma-page #firma-page-profile #firma-page-form-host {padding: 0 15px !important;}
  html.mischel-private-firma-mode.mischel-firma-route #mischel-firma-page #firma-page-profile .firma-profile-grid {grid-template-columns: minmax(0,1fr) !important;}
  html.mischel-private-firma-mode.mischel-firma-route #mischel-firma-page .firma-page-identity .firma-account-avatar {width:42px!important;height:42px!important;flex-basis:42px!important;font-size:21px!important;}
  html.mischel-private-firma-mode.mischel-firma-route #mischel-firma-page .firma-page-identity {padding:15px!important;gap:12px!important;}
}

/* MISCHEL 2026-11-08: Firma notice card height = Privat notice card height.
   At 1350px, closed order detail: 140px -> 130px. Only visual spacing. */
html.mischel-private-firma-mode.mischel-firma-route #mischel-firma-page #firma-notifications-host .firma-notice-card {
  padding-top: 14px !important;
  padding-bottom: 11px !important;
  row-gap: 7px !important;
}
html.mischel-private-firma-mode.mischel-firma-route #mischel-firma-page #firma-notifications-host .firma-notice-card.unread {
  padding-top: 14px !important;
  padding-bottom: 11px !important;
}
html.mischel-private-firma-mode.mischel-firma-route #mischel-firma-page #firma-notifications-host .firma-notice-order-details {
  padding-top: 6px !important;
}
html.mischel-private-firma-mode.mischel-firma-route #mischel-firma-page #firma-notifications-host .firma-notice-order-details > summary {
  min-height: 22px !important;
}


/* 2026-11-08: account-bound Firmenkonto settings, Privat-like form styling. */
#mischel-firma-page .firma-page-other:has(#firma-account-settings-form:not([hidden])){
  background:transparent!important;border:0!important;padding:0!important;min-height:0!important;
}
#mischel-firma-page #firma-account-settings-form{max-width:760px;margin:8px 0 26px;}
#mischel-firma-page .firma-account-password-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px;margin:15px 0;}
#mischel-firma-page .firma-account-password-fields label{display:flex;flex-direction:column;gap:7px;font:400 11px/1.45 Arial,sans-serif;color:#473c30;min-width:0;}
#mischel-firma-page .firma-settings-password-row{position:relative;display:flex;align-items:center;min-width:0;}
#mischel-firma-page .firma-settings-password-row input{width:100%;min-width:0;box-sizing:border-box;padding:11px 44px 11px 11px;background:#faf7f1;border:1px solid #ddd1be;border-radius:0;font:400 13px/1.25 Arial,sans-serif;color:#33291e;}
#mischel-firma-page .firma-settings-password-row button{display:grid;place-items:center;position:absolute;right:4px;top:50%;transform:translateY(-50%);width:34px;height:34px;padding:0;border:0;background:transparent;color:#5c5142;cursor:pointer;}
#mischel-firma-page .firma-account-settings .fine{font:400 12px/1.6 Arial,sans-serif;color:#76685a;}
#mischel-firma-page .firma-account-settings > button[type="submit"]{background:#b9995c;color:#201812;border:1px solid #b9995c;border-radius:9px;padding:11px 18px;font:500 14px Arial,sans-serif;cursor:pointer;}
#mischel-firma-page .firma-account-settings > button[type="submit"]:disabled{opacity:.55;cursor:wait;}
#mischel-firma-page #firma-password-change-status{min-height:1.4em;font:400 12px/1.5 Arial,sans-serif;}
@media(max-width:650px){#mischel-firma-page .firma-account-password-fields{grid-template-columns:minmax(0,1fr);}}

/* 2026-11-08: Firma / Kontoeinstellungen visually mirrors Privat / Passwort & Sicherheit.
   The Firmenkonto password API, minimum length and separate session remain unchanged. */
html.mischel-private-firma-mode.mischel-firma-route #firma-page-content:has(#firma-account-settings-form:not([hidden])) > .firma-page-intro,
html.mischel-private-firma-mode.mischel-firma-route #firma-page-content:has(#firma-account-settings-form:not([hidden])) > .firma-page-identity {
  display: none !important;
}
html.mischel-private-firma-mode.mischel-firma-route #mischel-firma-page #firma-page-other:has(#firma-account-settings-form:not([hidden])) {
  padding: 0 16px !important;
  margin-top: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  min-height: 0 !important;
}
html.mischel-private-firma-mode.mischel-firma-route #mischel-firma-page #firma-page-other:has(#firma-account-settings-form:not([hidden])) > h2 {
  font: 400 25px/1.25 Georgia,serif !important;
  color: #342a20 !important;
  margin: 0 0 24px !important;
}
html.mischel-private-firma-mode.mischel-firma-route #mischel-firma-page #firma-account-settings-form {
  box-sizing: border-box !important;
  max-width: 580px !important;
  width: 100% !important;
  margin: 0 0 28px !important;
  padding: 0 !important;
}
html.mischel-private-firma-mode.mischel-firma-route #mischel-firma-page #firma-account-settings-form > .fine:first-child {
  margin: 0 0 28px !important;
  font: 400 12px/1.6 Arial,sans-serif !important;
  color: #76685a !important;
}
html.mischel-private-firma-mode.mischel-firma-route #mischel-firma-page .firma-account-password-fields {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) !important;
  gap: 19px !important;
  max-width: 580px !important;
  margin: 0 0 18px !important;
}
html.mischel-private-firma-mode.mischel-firma-route #mischel-firma-page .firma-account-password-fields > label {
  display: flex !important;
  flex-direction: column !important;
  gap: 9px !important;
  width: 100% !important;
  max-width: 500px !important;
  margin: 0 !important;
  min-width: 0 !important;
  font: 400 11px/1.6 Arial,sans-serif !important;
  color: #302a24 !important;
  letter-spacing: .3px !important;
}
html.mischel-private-firma-mode.mischel-firma-route #mischel-firma-page .firma-settings-password-row {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  max-width: 500px !important;
  min-width: 0 !important;
}
html.mischel-private-firma-mode.mischel-firma-route #mischel-firma-page .firma-settings-password-row > input {
  box-sizing: border-box !important;
  display: block !important;
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  padding: 11px 44px 11px 11px !important;
  margin: 0 !important;
  background: #fffcf7 !important;
  border: 1px solid #ddd1be !important;
  border-radius: 0 !important;
  color: #302a24 !important;
  font: 400 13px/1.3 Arial,sans-serif !important;
}
html.mischel-private-firma-mode.mischel-firma-route #mischel-firma-page #firma-account-settings-form > .fine:not(:first-child) {
  margin: 0 0 10px !important;
  font: 400 12px/1.6 Arial,sans-serif !important;
  color: #76685a !important;
}
html.mischel-private-firma-mode.mischel-firma-route #mischel-firma-page #firma-account-settings-form > button[type="submit"] {
  box-sizing: border-box !important;
  min-height: 43px !important;
  padding: 11px 19px !important;
  background: #302921 !important;
  border: 1px solid #302921 !important;
  border-radius: 9px !important;
  box-shadow: 0 4px 10px rgba(0,0,0,.12) !important;
  color: #fff !important;
  font: 600 13px/1.2 Arial,sans-serif !important;
}
html.mischel-private-firma-mode.mischel-firma-route #mischel-firma-page #firma-account-settings-form > button[type="submit"]:hover:not(:disabled) {
  background: #51402e !important;
}
@media (max-width:650px){
  html.mischel-private-firma-mode.mischel-firma-route #mischel-firma-page #firma-page-other:has(#firma-account-settings-form:not([hidden])) {
    padding: 0 12px !important;
  }
}

/* 2026-11-09: Firma order question selection matches the existing Privat UI.
   Scope to the compose form only; do not change mailbox, orders, or other forms. */
#firma-messages-host .mischel-mailbox-compose .mischel-scope-choice {
  width:100%;max-width:680px;min-width:0;box-sizing:border-box;
  padding:10px 12px 12px;margin:12px 0 15px;gap:3px;
}
#firma-messages-host .mischel-mailbox-compose .mischel-scope-choice > label {
  display:flex;flex-direction:row;align-items:center;justify-content:flex-start;
  gap:10px;width:100%;min-width:0;min-height:44px;
  margin:0;padding:3px 6px;font-size:13px;line-height:1.35;
  letter-spacing:0;cursor:pointer;
}
#firma-messages-host .mischel-mailbox-compose .mischel-scope-choice > label > input[type="radio"] {
  display:block;flex:0 0 18px;width:18px;height:18px;min-width:18px;min-height:18px;
  margin:0;padding:0;accent-color:#a98042;
}
#firma-messages-host .mischel-mailbox-compose .mischel-scope-choice .mischel-scope-thumb {
  display:block;flex:0 0 36px;width:36px;height:36px;margin:0;
  object-fit:contain;background:#fff;border-radius:6px;
}
@media(max-width:480px){
  #firma-messages-host .mischel-mailbox-compose .mischel-scope-choice {padding:8px;}
  #firma-messages-host .mischel-mailbox-compose .mischel-scope-choice > label {font-size:12px;gap:8px;}
}
/* Paket 20: Edge zeigt sonst ein zweites eigenes "Auge" neben dem Anzeigen-Knopf des Shops */
#mischel-firma-dialog input[type="password"]::-ms-reveal,#mischel-firma-dialog input[type="password"]::-ms-clear{display:none}
