:root{--nav:#082f49;--blue:#0b67b2;--bg:#f4f7fa;--panel:#fff;--text:#17212b;--muted:#667085;--line:#e3e8ef;--red:#b42318;--redbg:#fee4e2;--green:#067647;--greenbg:#dcfae6}*{box-sizing:border-box}body{margin:0;font-family:Inter,Segoe UI,Arial,sans-serif;background:var(--bg);color:var(--text)}header{height:64px;background:var(--nav);color:white;display:flex;align-items:center;justify-content:space-between;padding:0 22px;position:sticky;top:0;z-index:5}.brand{font-size:21px;font-weight:900;color:white;text-decoration:none}.brand span{font-weight:600}.menu-btn{display:none;background:none;color:white;border:0;font-size:24px}aside{position:fixed;left:0;top:64px;bottom:0;width:245px;background:white;border-right:1px solid var(--line);overflow:auto}aside nav{padding:14px}aside a,aside button{display:flex;justify-content:space-between;width:100%;padding:11px 12px;border-radius:9px;color:#344054;text-decoration:none;border:0;background:none;font:inherit;text-align:left}aside a:hover{background:#eef6fd;color:var(--blue)}aside h4{margin:18px 12px 5px;color:#98a2b3;font-size:11px;text-transform:uppercase;letter-spacing:.08em}aside b{background:#e8f1fb;padding:2px 7px;border-radius:99px}.with-menu{margin-left:245px}main{padding:28px;max-width:1500px}.head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}.head h1{margin:0;font-size:clamp(27px,4vw,40px)}.head p{margin:5px 0;color:var(--muted)}.btn,button{padding:11px 15px;border:1px solid var(--line);border-radius:9px;background:white;font-weight:700;cursor:pointer;text-decoration:none;color:var(--text)}.primary{background:var(--blue);border-color:var(--blue);color:white}.danger{background:var(--red)!important;color:white}.success{background:var(--green)!important;color:white}.wide{width:100%}.metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-bottom:22px}.metrics.three{grid-template-columns:repeat(3,1fr)}.metrics>a,.metrics>div{min-height:120px;padding:18px;background:white;border-radius:15px;box-shadow:0 6px 20px #102a4310;text-decoration:none;color:var(--text);display:flex;flex-direction:column;justify-content:space-between}.metrics span{color:var(--muted)}.metrics strong{font-size:30px}.metrics .danger{background:var(--redbg)!important;color:var(--red)}.metrics .success{background:var(--greenbg)!important;color:var(--green)}.panel,.form-card,.auth,.card,.qr-card{background:white;border:1px solid var(--line);border-radius:15px;box-shadow:0 6px 20px #102a4310;padding:22px}.cols{display:grid;grid-template-columns:1fr 1fr;gap:18px}.panel{margin-bottom:18px}.panel h2,.form-card h2{margin-top:0}.row{display:flex;justify-content:space-between;gap:18px;padding:15px 2px;border-bottom:1px solid var(--line);text-decoration:none;color:var(--text)}.row:last-child{border:0}.row small{display:block;color:var(--muted);margin-top:5px}.row em{display:inline-block;margin-top:7px;padding:3px 8px;background:var(--redbg);color:var(--red);border-radius:99px;font-size:12px}.right{text-align:right}.pill{background:#eef2f6;padding:5px 9px;border-radius:99px;font-size:12px}.pill.big{font-size:14px;padding:9px 13px}.tabs{display:flex;gap:12px;margin-top:10px}.search{display:flex;gap:10px;margin-bottom:14px}.search input{flex:1}input,select,textarea{width:100%;padding:12px;border:1px solid #cfd6df;border-radius:9px;font:inherit;background:white}label{font-weight:700}form p{margin:0 0 16px}.form-card{max-width:740px}.auth{max-width:460px;margin:8vh auto}.public{max-width:650px}.center{text-align:center}.check{width:70px;height:70px;background:var(--greenbg);color:var(--green);font-size:40px;border-radius:50%;display:grid;place-items:center;margin:auto}.lead{font-size:19px;line-height:1.55}dl{display:grid;grid-template-columns:150px 1fr;gap:9px 14px}dt{color:var(--muted)}dd{margin:0;font-weight:600}.actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:20px}.photos{display:grid;grid-template-columns:1fr 1fr;gap:16px}.photos img,.meter-photo{width:100%;max-height:420px;object-fit:contain;background:#101828;border-radius:10px}.placeholder{min-height:150px;border:2px dashed #cfd6df;border-radius:10px;display:grid;place-items:center;color:var(--muted);padding:15px;text-align:center}.legacy{word-break:break-all;background:#f9fafb;padding:10px;border-radius:8px}.timeline{padding:10px 0;border-bottom:1px solid var(--line)}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.card{text-decoration:none;color:var(--text)}.card h2{margin-top:0}.card small,.card strong{display:block;margin-top:10px}.big-number{font-size:44px;font-weight:900}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:12px;border-bottom:1px solid var(--line);white-space:nowrap}.qr-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.qr-card{text-align:center}.qr-card img{width:160px;max-width:100%}.qr-card small{display:block;word-break:break-all;color:var(--muted);margin-top:8px}.msg{padding:12px 15px;border-radius:9px;background:#e8f1fb;margin-bottom:15px}.msg.success{background:var(--greenbg);color:var(--green)}@media(max-width:900px){.metrics{grid-template-columns:repeat(2,1fr)}.cards,.qr-grid{grid-template-columns:repeat(2,1fr)}.cols{grid-template-columns:1fr}}@media(max-width:680px){header{height:58px}.menu-btn{display:block}aside{top:58px;transform:translateX(-100%);transition:.2s;z-index:10}.menu-open aside{transform:translateX(0)}.with-menu{margin-left:0}main{padding:18px 12px}.head{align-items:flex-start;flex-direction:column}.metrics,.metrics.three,.cards,.qr-grid,.photos{grid-template-columns:1fr}.row{flex-direction:column}.right{text-align:left}dl{grid-template-columns:1fr}.tabs{flex-wrap:wrap}}

/* Formular operațional Defect nou — V2.1 */
.defect-form-layout{display:grid;grid-template-columns:minmax(0,760px) minmax(280px,380px);gap:20px;align-items:start}.operational-form{max-width:none}.field-block{margin-bottom:18px}.field-block label{display:block;margin-bottom:7px}.field-block small{display:block;color:var(--muted);margin-top:6px;line-height:1.4}.field-block .errorlist,.form-errors .errorlist{margin:7px 0 0;padding:10px 14px 10px 30px;background:var(--redbg);color:var(--red);border-radius:9px}.auto-mapping-card{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;background:#eef6fd;border:1px solid #cfe4f7;border-radius:12px;padding:14px;margin:4px 0 18px}.auto-mapping-card>div{min-width:0}.auto-mapping-card span{display:block;color:var(--muted);font-size:12px;margin-bottom:5px}.auto-mapping-card strong{display:block;color:#0b4f82;overflow-wrap:anywhere}.automation-summary{position:sticky;top:84px;background:white;border:1px solid var(--line);border-radius:15px;box-shadow:0 6px 20px #102a4310;padding:22px}.automation-summary h2{margin-top:0}.automation-summary dl{grid-template-columns:120px 1fr}.security-note{margin:18px 0 0;padding:12px;background:var(--greenbg);color:var(--green);border-radius:9px;font-size:13px;line-height:1.45}@media(max-width:1050px){.defect-form-layout{grid-template-columns:1fr}.automation-summary{position:static}}@media(max-width:680px){.auto-mapping-card{grid-template-columns:1fr}.automation-summary dl{grid-template-columns:1fr}}


/* V2.3 — câmpuri cu autocomplete, fără introducere liberă */
.searchable-select-wrap{position:relative}
.searchable-select-input{width:100%;padding:13px 46px 13px 14px;border:1px solid #aeb9c7;border-radius:10px;background:#fff;font:inherit;color:var(--text)}
.searchable-select-input:focus{outline:3px solid #0b67b21f;border-color:var(--blue)}
.searchable-select-input[aria-invalid="true"]{border-color:var(--red)}
.searchable-select-toggle{position:absolute;right:6px;top:6px;width:36px;height:36px;padding:0;border:0;background:transparent;font-size:17px;color:#667085}
.searchable-select-menu{position:absolute;z-index:40;left:0;right:0;top:calc(100% + 5px);max-height:310px;overflow:auto;background:#fff;border:1px solid #b9c3cf;border-radius:11px;box-shadow:0 16px 38px #102a4326;padding:5px}
.searchable-select-menu[hidden]{display:none}
.searchable-select-option{display:block;width:100%;padding:11px 12px;border:0;border-radius:8px;background:#fff;text-align:left;font:inherit;color:var(--text);cursor:pointer}
.searchable-select-option:hover,.searchable-select-option.is-active{background:#eaf4fd;color:#07558f}
.searchable-select-option strong{font-weight:800}
.searchable-select-empty{padding:14px;color:var(--muted);text-align:center}
.searchable-select-hint{padding:8px 10px;color:var(--muted);font-size:12px;border-bottom:1px solid var(--line)}
.searchable-native-select{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;overflow:hidden!important;left:0!important;bottom:0!important}
@media(max-width:680px){
  .searchable-select-menu{position:fixed;left:10px;right:10px;top:auto;bottom:12px;max-height:54vh;border-radius:15px;padding:8px}
  .searchable-select-option{padding:14px 12px;font-size:16px}
  .searchable-select-hint{font-size:13px}
}

/* MEEX help center v2: detailed, contextual and responsive. */
body.meex-help-open{overflow:hidden!important}
.meex-help-backdrop{padding:24px!important;background:rgba(15,23,42,.72)!important;backdrop-filter:blur(3px)}
.meex-help-dialog{display:flex!important;flex-direction:column!important;width:min(920px,100%)!important;height:min(88vh,860px)!important;max-height:88vh!important;padding:0!important;overflow:hidden!important;border:1px solid #dbe4f0!important;border-radius:22px!important;background:#fff!important;color:#172033!important;box-shadow:0 28px 90px rgba(15,23,42,.42)!important;outline:none}
.meex-help-header{position:relative;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:24px 70px 20px 28px;border-bottom:1px solid #e2e8f0;background:linear-gradient(135deg,#f8fbff 0%,#eef6ff 100%)}
.meex-help-kicker{margin:0 0 5px!important;color:#2563eb!important;font-size:11px!important;font-weight:950!important;letter-spacing:.12em!important}
.meex-help-dialog h2{margin:0 0 7px!important;color:#13213a!important;font-size:27px!important;line-height:1.12!important}
.meex-help-role{margin:0!important;color:#64748b!important;font-size:13.5px!important}
.meex-help-close{position:absolute!important;right:18px!important;top:16px!important;width:42px;height:42px;border:1px solid #cbd5e1!important;border-radius:13px!important;background:#fff!important;color:#0f172a!important;font-size:28px!important;font-weight:800!important;line-height:1!important;box-shadow:0 4px 12px rgba(15,23,42,.08)}
.meex-help-layout{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:0;flex:1}
.meex-help-toc{overflow-y:auto;padding:20px 14px;border-right:1px solid #e2e8f0;background:#f8fafc}
.meex-help-toc:before{content:"CUPRINS";display:block;margin:0 8px 10px;color:#64748b;font-size:10px;font-weight:950;letter-spacing:.12em}
.meex-help-toc button{display:block;width:100%;margin:4px 0;padding:10px 11px;border:0;border-radius:11px;background:transparent;color:#334155;text-align:left;font-size:12.5px;font-weight:850;line-height:1.25;cursor:pointer}
.meex-help-toc button:hover,.meex-help-toc button:focus{background:#eaf2ff;color:#1d4ed8;outline:none}
.meex-help-main{min-width:0;overflow-y:auto;overscroll-behavior:contain;padding:22px 26px 28px;scroll-behavior:smooth}
.meex-help-summary{display:flex;gap:13px;align-items:flex-start;margin-bottom:17px;padding:15px 17px;border:1px solid #bfdbfe;border-radius:14px;background:#eff6ff}
.meex-help-summary-icon{display:flex;align-items:center;justify-content:center;width:28px;height:28px;flex:0 0 28px;border-radius:9px;background:#2563eb;color:#fff;font-size:16px;font-weight:950}
.meex-help-summary b{display:block;margin:0 0 3px;color:#1e3a8a;font-size:14px}.meex-help-summary p{color:#334155!important;font-size:13.5px!important;line-height:1.5!important}
.meex-help-content{display:grid;gap:10px}
.meex-help-section{scroll-margin-top:12px;border:1px solid #dbe4f0;border-radius:14px;background:#fff;overflow:hidden;box-shadow:0 4px 14px rgba(15,23,42,.035)}
.meex-help-section summary{display:flex;align-items:center;gap:10px;padding:13px 15px;color:#172033;font-size:14px;font-weight:900;line-height:1.3;cursor:pointer;list-style:none;background:#fbfdff}
.meex-help-section summary::-webkit-details-marker{display:none}.meex-help-section summary:after{content:"+";margin-left:auto;color:#2563eb;font-size:20px}.meex-help-section[open] summary:after{content:"−"}
.meex-help-section summary span{display:flex;align-items:center;justify-content:center;width:27px;height:27px;flex:0 0 27px;border-radius:9px;background:#dbeafe;color:#1d4ed8;font-size:12px;font-weight:950}
.meex-help-section-body{padding:2px 18px 16px;border-top:1px solid #eef2f7;background:#fff}
.meex-help-section-body ol,.meex-help-section-body ul{margin:12px 0 0 20px!important;padding:0!important;color:#475467!important;font-size:13.5px!important;line-height:1.55!important}
.meex-help-section-body li{padding:3px 0!important}.meex-help-section-body li::marker{color:#2563eb;font-weight:900}
.meex-help-warning{margin-top:13px;padding:11px 13px;border-left:4px solid #dc2626;border-radius:9px;background:#fff1f2;color:#881337;font-size:12.5px;line-height:1.45}
.meex-help-admin-section{border-color:#c4b5fd}.meex-help-admin-section summary span{background:#ede9fe;color:#6d28d9}
.meex-help-support{margin-top:17px;padding:13px 15px;border:1px solid #fde68a;border-radius:12px;background:#fffbeb;color:#713f12;font-size:12.5px;line-height:1.5}
.meex-help-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 24px;border-top:1px solid #e2e8f0;background:#fff;color:#64748b;font-size:11.5px;font-weight:750}
.meex-help-done{min-width:120px!important;background:#1d4ed8!important;color:#fff!important;border-color:#1d4ed8!important}
html[data-meex-theme="dark"] .meex-help-dialog,html[data-meex-theme="dark"] .meex-help-section-body,html[data-meex-theme="dark"] .meex-help-footer{background:#111827!important;color:#e5e7eb!important}
html[data-meex-theme="dark"] .meex-help-header{background:linear-gradient(135deg,#172033,#111827)!important;border-color:#334155!important}html[data-meex-theme="dark"] .meex-help-dialog h2{color:#f8fafc!important}html[data-meex-theme="dark"] .meex-help-toc{background:#0f172a!important;border-color:#334155!important}html[data-meex-theme="dark"] .meex-help-toc button{color:#cbd5e1!important}html[data-meex-theme="dark"] .meex-help-section,html[data-meex-theme="dark"] .meex-help-section summary{background:#172033!important;border-color:#334155!important;color:#f1f5f9!important}
@media(max-width:720px){.meex-help-backdrop{padding:0!important;place-items:stretch!important}.meex-help-dialog{width:100%!important;height:100dvh!important;max-height:100dvh!important;border:0!important;border-radius:0!important}.meex-help-header{padding:18px 62px 15px 17px}.meex-help-dialog h2{font-size:21px!important}.meex-help-role{font-size:12px!important}.meex-help-close{right:12px!important;top:11px!important;width:40px;height:40px}.meex-help-layout{display:flex;flex-direction:column}.meex-help-toc{display:flex;gap:6px;flex:0 0 auto;overflow-x:auto;overflow-y:hidden;padding:9px 12px;border-right:0;border-bottom:1px solid #e2e8f0;white-space:nowrap}.meex-help-toc:before{display:none}.meex-help-toc button{width:auto;flex:0 0 auto;margin:0;padding:8px 10px;background:#f1f5f9;font-size:11.5px}.meex-help-main{padding:15px 13px 22px}.meex-help-summary{padding:13px}.meex-help-section summary{padding:12px;font-size:13px}.meex-help-section-body{padding:1px 13px 14px}.meex-help-section-body ol,.meex-help-section-body ul{font-size:13px!important}.meex-help-footer{padding:10px 13px}.meex-help-footer span{display:none}.meex-help-done{width:100%!important}.meex-context-help{right:10px!important;bottom:12px!important}}


/* V2.4 — paritate formular client și flux operațional */
.guest-request-shell{max-width:780px;margin:0 auto;display:grid;gap:16px}
.guest-request-header,.guest-info-card,.guest-form-card{
  background:#fff;border:1px solid var(--line);border-radius:14px;
  box-shadow:0 6px 20px #102a4310;padding:22px
}
.guest-request-header{border-top:9px solid #673ab7}
.guest-request-header h1{font-size:clamp(25px,4vw,36px);margin:0 0 14px}
.guest-request-header p,.guest-info-card p{line-height:1.55}
.guest-request-header .guest-request-brand{margin:0 0 4px;color:var(--blue);font-size:14px;font-weight:800}
.guest-request-header .guest-request-subtitle{margin:-8px 0 14px;color:var(--muted);font-size:17px;font-weight:700}
.guest-info-card h2{font-size:18px;margin:0 0 14px}
.guest-info-card a{color:var(--blue);font-weight:700}
.readonly-room{
  display:flex;align-items:center;gap:14px;flex-wrap:wrap;
  background:#eef6fd;border:1px solid #cfe4f7;border-radius:11px;
  padding:14px 16px;margin-bottom:22px
}
.readonly-room span{font-weight:700}
.readonly-room strong{font-size:25px;color:#0b4f82}
.readonly-room small{width:100%;color:var(--muted)}
.request-type-fieldset{
  border:0;padding:0;margin:0 0 22px;min-width:0
}
.request-type-fieldset legend{font-weight:800;margin-bottom:12px}
.request-type-fieldset legend span{color:var(--red)}
.request-type-fieldset ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.request-type-fieldset label{
  display:flex;align-items:flex-start;gap:10px;font-weight:500;
  padding:9px 10px;border:1px solid transparent;border-radius:9px
}
.request-type-fieldset label:hover{background:#f7f8fa;border-color:var(--line)}
.request-type-fieldset input{width:auto;margin-top:3px}
.guest-submit{margin-top:6px}
.guest-success{max-width:680px}
.request-tabs a.active,.tabs a.active{
  background:#e8f1fb;color:var(--blue);font-weight:800;
  padding:7px 10px;border-radius:8px
}
.request-room{display:grid;gap:4px}
.request-room strong{font-size:18px}
.request-room span{font-weight:700}
.internal-comment{
  margin-top:18px;padding:14px;background:#f8fafc;
  border-left:4px solid var(--blue);border-radius:8px
}
.internal-comment p{margin:7px 0 0;white-space:pre-wrap}
.resolve-request-form{margin-top:12px}
.sms-card{display:grid;gap:12px}
.sms-preview{
  text-align:left;padding:15px;background:#f8fafc;border:1px solid var(--line);
  border-radius:10px;white-space:pre-wrap;line-height:1.5
}
.msg.warning{background:#fff4ce;color:#754b00}
.operational-toast{
  position:fixed;right:18px;bottom:18px;z-index:100;
  max-width:360px;padding:15px 18px;border-radius:12px;
  color:#fff;font-weight:800;box-shadow:0 14px 35px #10182840;
  transform:translateY(30px);opacity:0;transition:.22s
}
.operational-toast.show{transform:translateY(0);opacity:1}
.operational-toast.request{background:#7a3e00}
.operational-toast.defect{background:#0b5cab}
@media(max-width:680px){
  .guest-request-shell{gap:11px}
  .guest-request-header,.guest-info-card,.guest-form-card{padding:17px}
  .operational-toast{left:12px;right:12px;bottom:12px;max-width:none}
}

/* Portal public clienți — navigare compactă, fără schimbarea rutelor QR */
.guest-portal-shell{max-width:620px;margin:0 auto;display:grid;gap:13px}
.guest-portal-topbar,.guest-portal-welcome,.guest-portal-section,.guest-form-card{
  background:#fff;border:1px solid var(--line);border-radius:16px;
  box-shadow:0 6px 20px #102a4310
}
.guest-portal-topbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 17px;border-top:4px solid #0b5cab}
.guest-hotel-identity{min-width:0}.guest-hotel-title,.guest-hotel-identity small{display:block}
.guest-hotel-title{color:#102a43;font-size:clamp(19px,5vw,25px);font-weight:900;line-height:1.05;letter-spacing:.015em;text-transform:uppercase}
.guest-hotel-identity small{margin-top:5px;color:var(--muted);font-size:11px;font-weight:700;line-height:1.2}
.guest-room-chip{display:flex;flex-direction:column;align-items:center;gap:1px;min-width:88px;padding:8px 11px;border:1px solid #b9d8f1;border-radius:12px;background:linear-gradient(145deg,#f5faff,#e7f3fc);white-space:nowrap;box-shadow:inset 0 1px 0 #fff}
.guest-room-chip strong{color:#0b4f82;font-size:15px;font-weight:900;line-height:1.1;text-transform:uppercase}.guest-room-chip span{color:#55758d;font-size:9px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.guest-portal-welcome,.guest-portal-section{padding:20px}.guest-portal-welcome{border-top:7px solid #673ab7}
.guest-portal-welcome h1,.guest-portal-section h1{margin:2px 0 9px;font-size:clamp(24px,6vw,32px);line-height:1.12}
.guest-portal-welcome>p:last-child,.guest-portal-section>p{margin:0;color:var(--muted);line-height:1.5}
.guest-portal-brand{margin:0!important;color:var(--blue)!important;font-size:12px!important;font-weight:800!important;text-transform:uppercase;letter-spacing:.04em}
.guest-portal-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}
.guest-portal-action{min-height:148px;display:flex;flex-direction:column;padding:16px;border:1px solid var(--line);border-radius:16px;background:#fff;color:var(--text);text-decoration:none;box-shadow:0 5px 16px #102a430d}
.guest-portal-action:hover,.guest-portal-action:focus{border-color:#8ebbe0;box-shadow:0 8px 22px #0b67b21a}
.guest-portal-icon{width:38px;height:38px;display:grid;place-items:center;margin-bottom:14px;border-radius:12px;background:#e8f1fb;color:#0b5cab;font-size:20px;font-weight:900}
.guest-portal-action.menus .guest-portal-icon{background:#fff1d8;color:#8a5100}.guest-portal-action.rules .guest-portal-icon{background:#e7f7ee;color:#087443}.guest-portal-action.information .guest-portal-icon{background:#eee9ff;color:#5932a3}
.guest-portal-action strong{font-size:17px}.guest-portal-action small{margin-top:3px;color:var(--muted);font-weight:700}.guest-portal-action em{margin-top:auto;padding-top:11px;color:#667085;font-size:12px;font-style:normal;line-height:1.35}
.guest-reception-call{display:flex;align-items:center;gap:12px;padding:14px 16px;border:1px solid #b8dfca;border-radius:14px;background:#edf9f2;color:#075e36;text-decoration:none}
.guest-reception-call>span:first-child{font-size:24px}.guest-reception-call strong,.guest-reception-call small{display:block}.guest-reception-call small{margin-top:3px}
.guest-portal-back{justify-self:start;padding:10px 13px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--text);font-weight:800;text-decoration:none}
.guest-request-header.compact{padding:18px;border-top-width:7px}.guest-request-header.compact h1{margin-bottom:8px}.guest-request-header.compact .guest-request-subtitle{margin:-3px 0 10px}
.guest-portal-notice{margin-top:14px;padding:11px 13px;border-radius:10px;background:#fff6df;color:#754b00}
.guest-room-service-card{display:grid;gap:13px;margin-top:16px;padding:17px;border:1px solid #f2c76f;border-radius:16px;background:linear-gradient(145deg,#fffaf0,#fff3d8);box-shadow:0 8px 24px #7a4b0014;color:var(--text)}
.guest-room-service-heading{display:flex;align-items:center;gap:12px}.guest-room-service-heading h2{margin:0;font-size:20px;line-height:1.2}.guest-room-service-heading p{margin:3px 0 0;color:#765413;font-size:12px;font-weight:700}.guest-room-service-icon{width:42px;height:42px;display:grid;place-items:center;flex:0 0 42px;border-radius:13px;background:#8a5100;color:#fff;font-size:21px}
.guest-room-service-copy{color:#3f3a30;font-size:14px;line-height:1.5}.guest-room-service-copy strong{font-weight:700}.guest-room-service-copy-en{padding-top:10px;border-top:1px solid #ead5a8;color:#695f4e;font-size:13px}
.guest-room-service-call{min-height:54px;display:flex;align-items:center;justify-content:center;gap:10px;padding:11px 14px;border-radius:13px;background:#087443;color:#fff;text-decoration:none;text-align:left;box-shadow:0 6px 16px #0874432e}.guest-room-service-call:hover,.guest-room-service-call:focus-visible{background:#056237;box-shadow:0 8px 20px #0874433d;outline:3px solid #8dddb5;outline-offset:2px}.guest-room-service-call>span:first-child{font-size:22px}.guest-room-service-call strong,.guest-room-service-call small{display:block}.guest-room-service-call strong{font-size:15px}.guest-room-service-call small{margin-top:2px;color:#dff7e9;font-size:11px}
.guest-document-list,.guest-information-list{display:grid;gap:10px;margin-top:16px}
.guest-document-row{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid var(--line);border-radius:13px;background:#fff;color:var(--text);text-decoration:none}
.guest-document-row>span:nth-child(2){flex:1;min-width:0}.guest-document-row strong,.guest-document-row small{display:block;overflow-wrap:anywhere}.guest-document-row small{margin-top:4px;color:var(--muted)}.guest-document-row>b{color:var(--blue);font-size:25px}
.guest-document-symbol{width:36px;height:36px;display:grid;place-items:center;flex:0 0 36px;border-radius:10px;background:#fff1d8;color:#8a5100;font-size:20px}
.guest-empty-state{display:grid;gap:4px;padding:20px;border:2px dashed #cfd6df;border-radius:13px;text-align:center;color:var(--muted)}
.guest-information-list article{padding:15px;border:1px solid var(--line);border-radius:13px;background:#fff}.guest-information-list h2{margin:0 0 8px;font-size:17px}.guest-information-list p{margin:0;line-height:1.55}.guest-information-list a{color:var(--blue);font-weight:800}
.guest-rules-list{display:grid;gap:10px;margin:16px 0 0;padding:0;counter-reset:guest-rule;list-style:none}
.guest-rules-list li{position:relative;padding:14px 14px 14px 51px;border:1px solid var(--line);border-radius:13px;background:#fff;counter-increment:guest-rule}
.guest-rules-list li:before{content:counter(guest-rule);position:absolute;left:13px;top:13px;width:27px;height:27px;display:grid;place-items:center;border-radius:9px;background:#e8f1fb;color:#0b5cab;font-weight:900}
.guest-rules-list strong,.guest-rules-list span{display:block;line-height:1.45}.guest-rules-list span{margin-top:5px;color:var(--muted)}
.guest-portal-footer{padding:8px;color:var(--muted);font-size:11px;font-weight:700;text-align:center}
@media(max-width:430px){
  .guest-portal-shell{gap:10px}.guest-portal-topbar{gap:10px;padding:12px 13px}.guest-hotel-title{font-size:18px}.guest-hotel-identity small{font-size:9px}.guest-room-chip{min-width:82px;padding:8px 9px}.guest-room-chip strong{font-size:14px}
  .guest-portal-welcome,.guest-portal-section{padding:17px}.guest-portal-grid{gap:9px}.guest-portal-action{min-height:135px;padding:13px}.guest-portal-action strong{font-size:15px}.guest-portal-action em{font-size:11px}.guest-portal-icon{margin-bottom:11px}
}
@media(max-width:330px){.guest-portal-grid{grid-template-columns:1fr}.guest-portal-action{min-height:118px}}

/* Solicitări QR: validare vizibilă, confirmare și suspendare controlată */
.guest-validation-summary{display:grid;gap:4px;margin:0 0 18px;padding:14px 15px;border:2px solid #dc2626;border-radius:12px;background:#fff1f2;color:#881337}
.guest-validation-summary strong{font-size:16px}.guest-validation-summary span{font-size:13px}.guest-validation-summary .errorlist{margin:6px 0 0;padding-left:20px}
.guest-form-card .errorlist{margin:7px 0 0;padding:9px 12px 9px 30px;border-radius:9px;background:#fff1f2;color:#b42318;font-weight:700}
.guest-form-card input[aria-invalid=true],.guest-form-card textarea[aria-invalid=true],.guest-form-card select[aria-invalid=true]{border:2px solid #dc2626;background:#fffafa}
.guest-request-unavailable{padding:18px;border:2px solid #f59e0b;border-radius:15px;background:#fff7ed;color:#7c2d12}
.guest-request-unavailable>strong,.guest-request-unavailable>span{display:block}.guest-request-unavailable>strong{font-size:18px}.guest-request-unavailable>span{margin-top:3px}.guest-request-unavailable p{margin:11px 0 0;line-height:1.45}.guest-request-unavailable a{color:#9a3412;font-weight:900}
.guest-success-return{display:inline-flex;align-items:center;justify-content:center;margin-top:22px}.guest-success-countdown{margin:12px 0 0;color:var(--muted);font-size:13px}
.request-room-guard{margin-top:18px}.request-room-guard-form{display:grid;grid-template-columns:minmax(180px,260px) minmax(260px,1fr);gap:14px;align-items:end}.request-room-guard-form p{margin:0}.request-room-guard-form button{justify-self:start}
.request-room-guard-active{margin-bottom:14px;padding:14px;border-left:5px solid #dc2626;border-radius:10px;background:#fff1f2;color:#881337}.request-room-guard-active p{margin:6px 0 0}
@media(max-width:680px){.request-room-guard-form{grid-template-columns:1fr}.request-room-guard-form button{width:100%}}

/* V2.5 — import management Fidelio */
.import-source-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px}
.import-source-card{display:grid;gap:8px;padding:18px;border:1px solid var(--line);border-radius:13px;background:#fff;text-decoration:none;color:var(--text)}
.import-source-card strong{font-size:19px}.import-source-card span{color:var(--muted)}
.import-source-card.active{border-color:#77acd3;background:#eef7fd;box-shadow:0 8px 20px #0b67b214}
.import-source-card.active b{color:var(--blue)}.import-source-card.pending{opacity:.65;background:#f8fafc}
.import-upload-panel{max-width:820px}.import-upload-form{display:grid;gap:18px}.import-upload-form input[type=file]{padding:16px;border:2px dashed #9fb3c8;border-radius:12px;background:#f8fbfe}
.import-check-cards .card{min-height:90px}.import-status.analyzed{background:#fff1c2;color:#7a5100}.import-status.confirmed{background:#d9f5e6;color:#087443}.import-status.reverted{background:#eceff3;color:#475467}.import-status.error{background:#fee4e2;color:#b42318}
.import-actions-panel{display:flex;justify-content:space-between;align-items:center;gap:20px}.import-actions-panel form{margin:0}.import-raw-details summary{cursor:pointer;font-weight:800;font-size:17px}.head.compact{margin-bottom:10px}.danger{background:#b42318;color:#fff;border:0;border-radius:9px;padding:12px 16px;font-weight:800;cursor:pointer}
@media(max-width:720px){.import-actions-panel{align-items:stretch;flex-direction:column}.import-actions-panel form,.import-actions-panel button{width:100%}}


/* V2.6 — totaluri utilități proprietar / chiriași */
.utility-actions{display:flex;gap:10px;flex-wrap:wrap}
.utility-filter{
  display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap
}
.utility-filter>div{min-width:170px}
.utility-filter label{display:block;font-weight:800;margin-bottom:6px}
.utility-kpis{margin-top:18px}
.owner-pill{background:#e6f4ea;color:#176b3a}
.utility-summary-table th,.utility-summary-table td{
  vertical-align:top;white-space:nowrap
}
.utility-summary-table td:first-child,
.utility-summary-table th:first-child{
  position:sticky;left:0;background:inherit;z-index:1;min-width:235px
}
.owner-row{background:#eef8f1}
.tenant-row{background:#fff}
.general-row{background:#e8f1fb;border-top:3px solid #0b5cab}
.general-row td{font-size:15px}
.calculation-source{margin-top:7px;font-size:12px;color:var(--muted)}
.calculation-source summary{cursor:pointer;color:var(--blue)}
.calculation-source ul{margin:7px 0 0;padding-left:17px;max-width:330px;white-space:normal}
.utility-details summary{cursor:pointer;font-size:18px;font-weight:800}
.utility-rule{border-left:5px solid #0b5cab}
@media(max-width:700px){
  .utility-filter{align-items:stretch}
  .utility-filter>div,.utility-filter button{width:100%}
  .utility-actions{width:100%}
  .utility-actions .btn{flex:1}
}

/* V2.7 — beneficiari, alocări și transferuri contoare */
.metrics.four{grid-template-columns:repeat(4,minmax(0,1fr))}
.warning-metric{background:#fff4ce!important;color:#754b00!important}
.warning-metric span{color:#754b00!important}
.beneficiary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.beneficiary-card{display:block;background:#fff;border:1px solid var(--line);border-radius:15px;padding:20px;text-decoration:none;color:var(--text);box-shadow:0 6px 20px #102a4310}
.beneficiary-card.inactive{opacity:.72;background:#f8fafc}
.beneficiary-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.beneficiary-card h2{margin:0}.beneficiary-card p{color:var(--muted);min-height:42px}
.beneficiary-stats{display:flex;gap:16px;flex-wrap:wrap;margin:16px 0}.beneficiary-stats span{color:var(--muted)}.beneficiary-stats strong{color:var(--text)}
.danger-pill{background:#fee4e2;color:#b42318}.info{background:#e8f1fb;color:#0b4f82}
.utility-form-card{max-width:860px}.utility-form-card .helptext{display:block;color:var(--muted);margin-top:5px;font-size:13px}.utility-form-card ul.errorlist{background:#fee4e2;color:#b42318;border-radius:8px;padding:10px 12px 10px 30px}
.detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.detail-grid>div{padding:14px;background:#f8fafc;border-radius:10px}.detail-grid span{display:block;color:var(--muted);font-size:12px;margin-bottom:6px}.detail-grid strong{overflow-wrap:anywhere}
.meter-card{padding:0;overflow:hidden}.card-main-link{display:block;padding:20px;color:var(--text);text-decoration:none}.card-actions{display:flex;border-top:1px solid var(--line)}.card-actions a{flex:1;text-align:center;padding:11px;text-decoration:none;color:var(--blue);font-weight:800}.card-actions a+a{border-left:1px solid var(--line)}
.unassigned-row{background:#fff1f0;color:#8f1d14}.unassigned-row td:first-child{background:#fff1f0!important}
button:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:1000px){.beneficiary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.metrics.four{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.beneficiary-grid,.metrics.four,.detail-grid{grid-template-columns:1fr}.beneficiary-card p{min-height:0}}


/* V2.8 — management Fidelio, buget și forecast */
.budget-head-actions{display:flex;gap:10px;flex-wrap:wrap}
.management-kpis{margin-top:18px}
.management-comparison-table th,.management-comparison-table td{
  vertical-align:top;white-space:nowrap
}
.management-comparison-table td:first-child,
.management-comparison-table th:first-child{
  position:sticky;left:0;background:#fff;z-index:2;min-width:250px
}
.management-comparison-table small{display:block;color:var(--muted);margin-top:4px}
.management-total-row{background:#e8f1fb;font-size:15px;border-top:3px solid #0b5cab}
.management-total-row td:first-child{background:#e8f1fb}
.planning-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.calculation-preview{
  padding:14px;border-radius:10px;background:#eef7fd;margin:14px 0
}
.calculation-preview span{display:block;color:var(--muted);font-size:12px}
.calculation-preview strong{display:block;margin-top:5px}
.inline-action{margin-top:14px}
.msg.info{background:#e8f1fb;color:#0b4f82}
.msg.success{background:#e6f4ea;color:#176b3a}
@media(max-width:980px){
  .planning-grid{grid-template-columns:1fr}
}
@media(max-width:700px){
  .budget-head-actions{width:100%}
  .budget-head-actions .btn{flex:1}
}


/* V2.9 — aprovizionare hotel + restaurant */
.quick-actions,.procurement-actions{display:flex;gap:10px;flex-wrap:wrap}
.procurement-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}
.procurement-tabs a{padding:10px 14px;border-radius:999px;background:#edf3f7;text-decoration:none;font-weight:800;color:#24445c}
.procurement-tabs a.active{background:#0b5cab;color:#fff}
.procurement-tabs b{margin-left:5px;background:rgba(255,255,255,.3);padding:2px 7px;border-radius:999px}
.procurement-cards{display:grid;gap:14px}
.procurement-card{display:block;background:#fff;border:1px solid #dbe5ec;border-radius:16px;padding:18px;text-decoration:none;color:inherit;box-shadow:0 4px 16px rgba(11,47,74,.06);position:relative}
.procurement-card:hover{border-color:#7eaccd;transform:translateY(-1px)}
.procurement-card.overdue{border-left:6px solid #b42318}
.procurement-card-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}
.procurement-card-head h2{margin:3px 0 12px}
.procurement-card-grid{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:12px}
.procurement-card-grid span{display:flex;flex-direction:column;gap:3px;color:#334f63}
.procurement-card-grid b{font-size:12px;color:#708698;text-transform:uppercase}
.overdue-label{position:absolute;right:18px;bottom:12px;color:#b42318;font-weight:900}
.procurement-new{background:#fff1cc;color:#7b5200}
.procurement-assigned{background:#e5f0ff;color:#164f91}
.procurement-ordered{background:#e8e3ff;color:#4d3a9a}
.procurement-purchased{background:#e7f7f0;color:#176b46}
.procurement-received{background:#d8f2df;color:#176b35}
.procurement-rejected,.procurement-cancelled{background:#f6dddd;color:#90251f}
.procurement-form .wide,.form-grid .wide{grid-column:1/-1}
.procurement-items-editor{margin:24px 0}
.procurement-item-form{border:1px solid #dbe5ec;border-radius:14px;padding:14px;margin-bottom:12px;background:#f9fbfc}
.item-fields{display:grid;grid-template-columns:1.2fr 2fr 2fr .8fr .7fr 1fr 1.3fr 1.5fr;gap:10px;align-items:end}
.item-fields .field{min-width:0}
.item-fields label{font-size:12px}
.remove-check{display:inline-flex;gap:8px;align-items:center;margin-top:10px;color:#9c2b24}
.procurement-metrics{grid-template-columns:repeat(4,1fr)}
.procurement-detail-cols{align-items:start}
.detail-list{display:grid;grid-template-columns:145px 1fr;gap:9px 14px;margin:0}
.detail-list dt{font-weight:800;color:#597184}.detail-list dd{margin:0}
.document-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}
.document-card,.document-preview{display:block;border:1px solid #dbe5ec;border-radius:14px;overflow:hidden;text-decoration:none;color:inherit;background:#fff}
.document-card img,.document-preview img{width:100%;height:180px;object-fit:cover;display:block}
.document-card>div{padding:12px;display:flex;flex-direction:column;gap:5px}
.document-card small{color:#6f8493}.document-card strong{color:#0b5cab}
.pdf-icon{height:180px;display:grid;place-items:center;background:#f1f4f6;color:#b42318;font-size:30px;font-weight:900}
.document-preview span{display:block;padding:10px;font-weight:800}
.danger-outline{border-color:#b42318!important;color:#b42318!important;background:#fff!important}
.inactive-card{opacity:.65}
.operational-toast.procurement{border-left-color:#7a50c7}
@media(max-width:1100px){.procurement-card-grid{grid-template-columns:repeat(3,1fr)}.item-fields{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){.procurement-card-grid,.procurement-metrics{grid-template-columns:1fr 1fr}.procurement-card-head{flex-direction:column}.item-fields{grid-template-columns:1fr}.detail-list{grid-template-columns:1fr}.detail-list dt{margin-top:6px}.procurement-actions .btn{flex:1 1 45%}}

/* S1.3 — istoric complet pe cameră în detaliul defectului */
.room-history-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:16px;
  padding-bottom:14px;border-bottom:1px solid var(--line)
}
.room-history-head h2{margin:0 0 5px}
.room-history-head p{margin:0;color:var(--muted)}
.room-history-count{
  min-width:46px;height:46px;padding:0 10px;border-radius:999px;
  display:grid;place-items:center;background:#e8f1fb;color:#07558f;
  font-size:18px;font-weight:900
}
.room-history-list{display:grid}
.room-history-item{
  display:flex;justify-content:space-between;align-items:flex-start;gap:18px;
  padding:15px 2px;border-bottom:1px solid var(--line);
  color:var(--text);text-decoration:none
}
.room-history-item:last-child{border-bottom:0}
.room-history-item:hover{background:#f8fbfe}
.room-history-main{display:grid;gap:5px;min-width:0}
.room-history-main strong{overflow-wrap:anywhere}
.room-history-main span,.room-history-main small{
  color:var(--muted);line-height:1.4
}
.room-history-main small{
  padding:7px 9px;border-left:3px solid var(--green);
  background:var(--greenbg);color:#14532d;border-radius:5px
}
.room-history-status{
  display:grid;justify-items:end;gap:7px;flex:0 0 auto;text-align:right
}
.room-history-status small{color:var(--muted)}
.room-history-empty{margin:16px 0 0;color:var(--muted)}
@media(max-width:680px){
  .room-history-panel{padding:17px}
  .room-history-item{display:grid;gap:10px}
  .room-history-status{display:flex;justify-items:start;align-items:center;text-align:left}
}

/* S1.11: aceeași lizibilitate QR ca la pontaj, inclusiv în scanare portret. */
.qr-card img{
  display:block;
  width:min(260px,100%);
  aspect-ratio:1;
  margin:4px auto;
  background:#fff;
  border:12px solid #fff;
  border-radius:14px;
}
.qr-print-link{
  display:inline-flex;
  margin-top:12px;
}

.meex-public-main{
  width:min(100%,860px);
  margin:0 auto;
  padding:18px 14px 36px;
}
.meex-qr-staff-header{
  position:sticky;
  top:0;
  z-index:5;
}
.meex-qr-staff-main{
  width:min(100%,1180px);
  margin:0 auto;
  padding:22px 14px 42px;
}
@media(max-width:680px){
  .meex-public-main,.meex-qr-staff-main{padding:14px 10px 32px}
  .meex-qr-staff-header{padding:0 14px}
}

/* S1.12: acțiunea principală de raportare trebuie să fie evidentă pe mobil. */
body > aside a.meex-defect-create-action,
body .meex-v3435-menu a.meex-v3435-link[href="/defecte/nou/"]{
  min-height:54px!important;
  margin:7px 0 9px!important;
  padding:11px 13px!important;
  border:1px solid #b91c1c!important;
  border-radius:14px!important;
  background:linear-gradient(135deg,#dc2626,#b91c1c)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  box-shadow:0 9px 20px rgba(185,28,28,.24)!important;
  font-size:14px!important;
  font-weight:950!important;
}
body .meex-v3435-menu a.meex-v3435-link[href="/defecte/nou/"] .meex-v3435-dot{
  width:28px!important;
  height:28px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#fff!important;
  color:#b91c1c!important;
  -webkit-text-fill-color:#b91c1c!important;
}
body .meex-v3435-menu a.meex-v3435-link[href="/defecte/nou/"] .meex-v3435-dot::before{
  content:"+";
  font-size:20px;
  font-weight:950;
  line-height:1;
}
body > aside a.meex-defect-create-action:hover,
body .meex-v3435-menu a.meex-v3435-link[href="/defecte/nou/"]:hover{
  background:linear-gradient(135deg,#ef4444,#b91c1c)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  transform:translateY(-1px)!important;
}
.meex-v3435-sidebar .meex-v3435-logo {
    width: 46px !important;
    height: 46px !important;
    border-radius: 14px !important;
    background-image: url("/static/icons/meex-192.c93b88fe223f.png?v=1") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    font-size: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

@media (max-width: 760px) {
    .meex-v3435-sidebar .meex-v3435-logo {
        width: 38px !important;
        height: 38px !important;
        border-radius: 12px !important;
        flex: 0 0 38px !important;
        margin: 0 !important;
    }
}
@media (max-width: 760px) {
    .meex-v3435-sidebar .meex-v3435-logo {
        display: none !important;
    }
}
.meex-v3435-sidebar .meex-v3435-brand {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 12px !important;
    min-height: 64px !important;
    border-radius: 16px !important;
    overflow: hidden !important;
}

.meex-v3435-sidebar .meex-v3435-logo {
    display: block !important;
    flex: 0 0 46px !important;
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    min-height: 46px !important;

    background-image: url("/static/icons/meex-192.c93b88fe223f.png?v=2") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;

    border-radius: 13px !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;

    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    font-size: 0 !important;
}

.meex-v3435-sidebar .meex-v3435-brand-title {
    font-size: 15px !important;
    line-height: 1.15 !important;
    font-weight: 850 !important;
    white-space: nowrap !important;
}

.meex-v3435-sidebar .meex-v3435-brand-sub {
    font-size: 11px !important;
    line-height: 1.2 !important;
    margin-top: 2px !important;
}

/* ANDROID / TELEFON */
@media (max-width: 760px) {

    .meex-v3435-sidebar .meex-v3435-brand {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        padding: 8px 10px !important;
        min-height: 56px !important;
        margin: 0 0 8px 0 !important;
    }

    .meex-v3435-sidebar .meex-v3435-logo {
        display: block !important;
        flex: 0 0 38px !important;
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
        border-radius: 11px !important;
        margin: 0 !important;
    }

    .meex-v3435-sidebar .meex-v3435-brand-title {
        font-size: 14px !important;
        line-height: 1.1 !important;
    }

    .meex-v3435-sidebar .meex-v3435-brand-sub {
        font-size: 10.5px !important;
        line-height: 1.15 !important;
    }
}

/* ANDROID LANDSCAPE */
@media (max-width: 900px) and (orientation: landscape) {

    .meex-v3435-sidebar .meex-v3435-brand {
        min-height: 52px !important;
        padding: 7px 9px !important;
        gap: 8px !important;
    }

    .meex-v3435-sidebar .meex-v3435-logo {
        display: block !important;
        flex: 0 0 36px !important;
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        border-radius: 10px !important;
    }

    .meex-v3435-sidebar .meex-v3435-brand-title {
        font-size: 13.5px !important;
    }

    .meex-v3435-sidebar .meex-v3435-brand-sub {
        font-size: 10px !important;
    }
}
.meex-mobile-account-bar {
    position: relative !important;
}
.meex-mobile-home{display:none}

/* Sigla MEEX pe Android portrait */
@media (max-width: 760px) and (orientation: portrait) {

    .meex-mobile-account-bar::before {
        content: "" !important;
        display: block !important;

        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;

        background-image: url("/static/icons/meex-192.c93b88fe223f.png?v=3") !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;

        border-radius: 11px !important;
        margin-right: 8px !important;
        flex: 0 0 38px !important;
    }

    .meex-mobile-account-bar {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        flex-wrap:wrap !important;
    }

    .meex-mobile-account-identity {
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }
    .meex-mobile-home{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;flex:0 0 auto!important;min-height:34px!important;padding:7px 11px!important;border-radius:10px!important;background:#eff6ff!important;border:1px solid #bfdbfe!important;color:#1457d9!important;-webkit-text-fill-color:#1457d9!important;text-decoration:none!important;font-size:12px!important;font-weight:900!important;order:3!important}
}

/* Pe landscape folosim brandingul din sidebar */
@media (max-width: 900px) and (orientation: landscape) {

    .meex-mobile-account-bar::before {
        display: none !important;
        content: none !important;
    }

    .meex-v3435-sidebar .meex-v3435-logo {
        display: block !important;
    }
}
/* MEEX - elimina brandingul vechi din header doar pe desktop */
@media (min-width: 761px) {
    header .brand {
        display: none !important;
    }
}

/* S1.47 — Defecte rezolvate profesional, filtre și raport managerial. */
.defect-professional-page,.defect-report-page{min-width:0}
.defect-list-head,.defect-report-head{align-items:flex-start}
.defect-head-actions{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}
.defect-tabs a{
  padding:8px 12px;border-radius:9px;text-decoration:none;color:var(--muted);
  font-weight:800
}
.defect-tabs a.active{background:#dbeafe;color:#1d4ed8}
.defect-tabs a{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.defect-tabs a strong{font-weight:950}
.defect-tab-blocked.active{background:#fee2e2;color:#b42318}
.defect-tab-resolved.active{background:#dcfce7;color:#15803d}
.defect-inventory-note{margin:7px 0 0;color:var(--muted);font-size:12px;line-height:1.35}
.defect-summary-note{margin:6px 0 0;padding:8px 11px;border-left:4px solid #2563eb;border-radius:8px;background:#eff6ff;color:#1e3a8a;font-size:13px;line-height:1.35}
.defect-filter-panel{padding:17px}
.defect-filter-grid{
  display:grid;grid-template-columns:minmax(250px,2fr) minmax(180px,1fr) minmax(160px,.75fr) minmax(160px,.75fr);
  gap:12px;align-items:end
}
.defect-filter-grid label,.defect-report-filter label{display:grid;gap:6px;min-width:0}
.defect-filter-grid label>span,.defect-report-filter label>span{
  color:var(--muted);font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.035em
}
.defect-filter-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:14px}
.defect-result-count{margin-left:auto;color:#344054}
.defect-filter-error{margin:10px 0 0;color:#b42318;font-weight:800}
.defect-professional-list{padding:4px 20px}
.defect-professional-row{
  display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;
  padding:18px 2px;border-bottom:1px solid var(--line);color:var(--text);text-decoration:none
}
.defect-professional-row:last-child{border-bottom:0}
.defect-professional-row:hover{background:#f8fbfe}
.defect-row-main{display:grid;gap:9px;min-width:0}
.defect-row-title{display:flex;gap:8px;align-items:baseline;min-width:0}
.defect-row-title>strong{font-size:19px;color:#0b4f82;flex:0 0 auto}
.defect-row-title>span{font-weight:800;overflow-wrap:anywhere}
.defect-row-meta{display:flex;gap:7px;flex-wrap:wrap;color:var(--muted);font-size:13px}
.defect-row-meta span:not(:last-child)::after{content:" ·"}
.defect-resolution-summary{
  display:grid;gap:5px;padding:11px 13px;border-left:4px solid #067647;
  border-radius:7px;background:#ecfdf3;color:#14532d
}
.defect-resolution-label{font-size:11px;font-weight:950;text-transform:uppercase;letter-spacing:.06em}
.defect-resolution-summary strong{overflow-wrap:anywhere}
.defect-resolution-summary small{color:#397153}
.defect-blocked-label{
  justify-self:start;padding:4px 8px;border-radius:999px;background:#fee4e2;color:#b42318;
  font-size:12px;font-weight:900;font-style:normal
}
.defect-row-status{display:grid;gap:8px;justify-items:end;align-content:start;text-align:right}
.defect-row-action{color:#155eef;font-size:12px;font-weight:900;white-space:nowrap}
.defect-status,.defect-priority{font-weight:900;white-space:nowrap}
.defect-status-new{background:#dbeafe;color:#1d4ed8}
.defect-status-taken{background:#fef3c7;color:#92400e}
.defect-status-waiting{background:#f3e8ff;color:#7e22ce}
.defect-status-resolved{background:#dcfae6;color:#067647}
.defect-priority{padding:4px 8px;border-radius:999px;background:#eef2f6;color:#475467;font-size:12px}
.defect-priority-critical,.defect-priority-urgent{background:#fee4e2;color:#b42318}
.defect-empty-state{display:grid;gap:6px;padding:28px 4px;text-align:center;color:var(--muted)}
.defect-empty-state strong{color:var(--text)}
.defect-location-groups{padding:8px 14px}
.defect-location-group{border-bottom:1px solid var(--line)}
.defect-location-group:last-child{border-bottom:0}
.defect-location-group summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:9px 8px;cursor:pointer;list-style-position:inside;color:var(--text);border-radius:10px}
.defect-location-group summary:hover{background:#f1f6fb}
.defect-location-summary-main{display:inline-flex;align-items:center;gap:10px;min-width:0;flex-wrap:wrap}
.defect-location-summary-main strong{font-size:17px;color:#0b4f82}
.defect-location-summary-main b{padding:5px 9px;border-radius:999px;background:#dbeafe;color:#1d4ed8;font-size:12px;white-space:nowrap}
.defect-location-summary-action{color:var(--muted);font-size:12px;font-weight:800;white-space:nowrap}
.defect-location-group-items{padding:0 8px 8px 27px}
.defect-location-group-items .defect-professional-row{margin:8px 0;padding:14px 16px;border:1px solid #d8e3ef;border-left:4px solid #2563eb;border-radius:10px;background:#f8fbff;box-shadow:0 2px 7px rgba(16,24,40,.04)}
.defect-location-group-items .defect-professional-row:hover{background:#eef6ff;border-color:#8bb8ef;box-shadow:0 3px 10px rgba(37,99,235,.12)}
.defect-location-group-items .defect-row-title>strong{font-size:17px;color:#102a43}
.defect-report-filter{display:flex;align-items:end;gap:10px;flex-wrap:wrap;padding:16px}
.defect-report-filter label{min-width:220px}
.defect-report-metrics{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:18px
}
.defect-report-metrics article{
  min-width:0;min-height:138px;padding:17px;border:1px solid var(--line);border-radius:15px;
  background:#fff;box-shadow:0 6px 20px #102a4310;display:grid;align-content:space-between;gap:7px
}
.defect-report-metrics article>span,.defect-report-metrics article>small{color:var(--muted)}
.defect-report-metrics article>strong{font-size:30px;overflow-wrap:anywhere}
.defect-report-metrics article.metric-success{background:#ecfdf3;color:#067647}
.defect-report-metrics article.metric-danger{background:#fff1f2;color:#b42318}
.defect-report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.defect-ranking{margin:0;min-width:0}
.defect-ranking ol{list-style:none;margin:0;padding:0}
.defect-ranking li{
  display:flex;justify-content:space-between;gap:14px;padding:10px 0;border-bottom:1px solid var(--line)
}
.defect-ranking li:last-child{border-bottom:0}
.defect-ranking li span{min-width:0;overflow-wrap:anywhere}
.defect-ranking li strong{
  min-width:30px;height:30px;padding:0 8px;border-radius:999px;background:#e8f1fb;color:#07558f;
  display:grid;place-items:center
}
.defect-report-note{margin-top:18px;color:var(--muted);line-height:1.55}

/* Ajutor contextual discret, separat de meniul operațional. */
.meex-context-help{position:fixed;right:18px;bottom:18px;z-index:1500;border:1px solid #bfdbfe;border-radius:999px;padding:9px 13px;background:#fff;color:#1d4ed8;font-weight:900;box-shadow:0 8px 24px #0f172a22;cursor:pointer}
.meex-help-backdrop{position:fixed;inset:0;z-index:1600;display:grid;place-items:center;padding:18px;background:#0f172a66}
.meex-help-backdrop[hidden]{display:none}
.meex-help-dialog{position:relative;width:min(520px,100%);max-height:min(78vh,680px);overflow-y:auto;overscroll-behavior:contain;padding:25px 25px 22px;border-radius:18px;background:#fff;color:#172033;box-shadow:0 18px 60px #0f172a44}
.meex-help-kicker{margin:0 0 5px;color:#2563eb;font-size:11px;font-weight:950;letter-spacing:.08em}
.meex-help-dialog h2{margin:0 0 12px;font-size:24px}.meex-help-dialog p{margin:0;color:#475467;line-height:1.55;font-size:14px}.meex-help-close{position:absolute;right:12px;top:9px;border:0;background:transparent;color:#64748b;font-size:28px;cursor:pointer}
.meex-help-dialog h3{margin:14px 0 5px;font-size:15px;color:#0f3d8f}.meex-help-dialog ol{margin:6px 0 0 19px;padding:0;color:#475467;font-size:14px;line-height:1.5}.meex-help-dialog li{padding:2px 0}
html[data-meex-theme="dark"] .meex-context-help{background:#111827;color:#bfdbfe;border-color:#2563eb}
html[data-meex-theme="dark"] .meex-help-dialog{background:#111827;color:#e5e7eb}.meex-help-dialog{color:var(--text)}html[data-meex-theme="dark"] .meex-help-dialog p{color:#cbd5e1}
html[data-meex-theme="dark"] .meex-help-dialog h3{color:#93c5fd!important;-webkit-text-fill-color:#93c5fd!important}html[data-meex-theme="dark"] .meex-help-dialog ol{color:#cbd5e1}
@media(max-width:680px){.meex-context-help{right:10px;bottom:12px;padding:8px 11px;font-size:12px}.meex-help-dialog{max-height:calc(100vh - 32px);padding:22px 19px 18px}.meex-help-dialog h2{font-size:21px}}

html[data-meex-theme="dark"] .defect-professional-row:hover{background:#172033!important}
html[data-meex-theme="dark"] .defect-location-group summary:hover{background:#172033!important}
html[data-meex-theme="dark"] .defect-location-summary-main strong{color:#93c5fd!important;-webkit-text-fill-color:#93c5fd!important}
html[data-meex-theme="dark"] .defect-location-summary-main b{background:#1e3a5f!important;color:#bfdbfe!important;-webkit-text-fill-color:#bfdbfe!important}
html[data-meex-theme="dark"] .defect-tabs a.active{background:#1e3a5f!important;color:#bfdbfe!important;-webkit-text-fill-color:#bfdbfe!important}
html[data-meex-theme="dark"] .defect-tabs a.defect-tab-blocked.active{background:#4c1d1d!important;color:#fecaca!important;-webkit-text-fill-color:#fecaca!important}
html[data-meex-theme="dark"] .defect-tabs a.defect-tab-resolved.active{background:#14532d!important;color:#bbf7d0!important;-webkit-text-fill-color:#bbf7d0!important}
html[data-meex-theme="dark"] .defect-result-count{color:#e5e7eb!important;-webkit-text-fill-color:#e5e7eb!important}
html[data-meex-theme="dark"] .defect-summary-note{background:#172554!important;color:#bfdbfe!important;-webkit-text-fill-color:#bfdbfe!important;border-left-color:#60a5fa!important}
html[data-meex-theme="dark"] .defect-row-title>strong{color:#93c5fd!important;-webkit-text-fill-color:#93c5fd!important}
html[data-meex-theme="dark"] .defect-resolution-summary,
html[data-meex-theme="dark"] .defect-resolution-summary *{color:#bbf7d0!important;-webkit-text-fill-color:#bbf7d0!important}
html[data-meex-theme="dark"] .defect-resolution-summary{background:#123524!important}
html[data-meex-theme="dark"] .defect-report-metrics article{background:#111827!important}
html[data-meex-theme="dark"] .defect-report-metrics article,
html[data-meex-theme="dark"] .defect-report-metrics article *{color:#e5e7eb!important;-webkit-text-fill-color:#e5e7eb!important}
html[data-meex-theme="dark"] .defect-report-metrics article.metric-success{background:#123524!important}
html[data-meex-theme="dark"] .defect-report-metrics article.metric-success strong{color:#86efac!important;-webkit-text-fill-color:#86efac!important}
html[data-meex-theme="dark"] .defect-report-metrics article.metric-danger{background:#3b1820!important}
html[data-meex-theme="dark"] .defect-report-metrics article.metric-danger strong{color:#fca5a5!important;-webkit-text-fill-color:#fca5a5!important}

@media(max-width:1050px){
  .defect-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .defect-report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:680px){
  .defect-list-head,.defect-report-head{gap:14px}
  .defect-head-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}
  .defect-head-actions .btn{min-height:46px;display:flex;align-items:center;justify-content:center;text-align:center}
  .defect-head-actions .primary{grid-column:1/-1}
  .defect-tabs{gap:6px;display:flex;flex-wrap:nowrap;overflow-x:auto;padding:2px 1px 5px;scrollbar-width:none}
  .defect-tabs::-webkit-scrollbar{display:none}
  .defect-tabs a{min-height:42px;flex:0 0 auto;padding:8px 11px;border:1px solid var(--line);font-size:13px}
  .defect-tabs .defect-tab-detail{display:none}
  .defect-inventory-note{font-size:11px;margin-top:3px}
  .defect-summary-note{font-size:11px;margin-top:5px;padding:7px 9px}
  .defect-filter-panel,.defect-professional-list{padding:14px}
  .defect-filter-grid,.defect-report-metrics,.defect-report-grid{grid-template-columns:1fr}
  .defect-filter-actions{display:grid;grid-template-columns:1fr 1fr}
  .defect-filter-actions .btn{min-height:46px;display:flex;align-items:center;justify-content:center;text-align:center}
  .defect-result-count{grid-column:1/-1;margin:4px 0 0}
  .defect-professional-row{grid-template-columns:1fr;gap:12px;padding:17px 0}
  .defect-location-groups{padding:5px 9px}
  .defect-location-group summary{min-height:58px;padding:8px 5px}
  .defect-location-summary-main{gap:6px}
  .defect-location-summary-main strong{font-size:15px}
  .defect-location-summary-action{font-size:11px}
  .defect-location-group-items{padding-left:14px}
  .defect-row-title{display:grid;gap:5px}
  .defect-row-status{display:flex;justify-items:start;align-items:center;text-align:left;flex-wrap:wrap}
  .defect-report-filter{align-items:stretch}
  .defect-report-filter label,.defect-report-filter button{width:100%;min-width:0;min-height:46px}
  .defect-report-metrics article{min-height:120px}
}

/* S1.49 — meniu și formulare lizibile pe telefon, inclusiv landscape. */
@media (max-width: 950px) and (orientation: landscape) {
  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .menu-btn,
  .meex-mobile-menu-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 42px !important;
    width: 42px !important;
    min-width: 42px !important;
    height: 40px !important;
    padding: 0 !important;
  }

  body > aside,
  body > aside.meex-v3435-sidebar,
  body .meex-sidebar {
    display: block !important;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    max-width: none !important;
    margin: 0 !important;
    transform: translateX(-105%) !important;
    transition: transform .2s ease !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    z-index: 1600 !important;
  }

  body.meex-with-status-toolbar > aside,
  body.meex-with-status-toolbar > aside.meex-v3435-sidebar {
    top: 114px !important;
    max-height: calc(100dvh - 114px) !important;
  }

  body:not(.meex-with-status-toolbar) > aside,
  body:not(.meex-with-status-toolbar) > aside.meex-v3435-sidebar {
    top: 64px !important;
    max-height: calc(100dvh - 64px) !important;
  }

  body.menu-open > aside,
  body.menu-open > aside.meex-v3435-sidebar,
  body.menu-open .meex-sidebar {
    transform: translateX(0) !important;
  }

  body > aside nav,
  body > aside .meex-v3435-menu {
    width: min(100%, 720px) !important;
    margin: 0 auto !important;
  }

  main.with-menu,
  .with-menu {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
  }

  main,
  .meex-main,
  .main-content,
  .page-content {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
}

@media (max-width: 950px) {
  body main select:not(.searchable-native-select),
  body .page-content select:not(.searchable-native-select),
  body .main-content select:not(.searchable-native-select) {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 48px !important;
    height: auto !important;
    padding: 11px 38px 11px 12px !important;
    font-size: 16px !important;
    line-height: 1.35 !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    box-sizing: border-box !important;
  }

  body main select:not(.searchable-native-select) option,
  body .page-content select:not(.searchable-native-select) option,
  body .main-content select:not(.searchable-native-select) option {
    font-size: 16px !important;
    line-height: 1.35 !important;
  }

  .defect-filter-grid label,
  .defect-filter-grid label > span {
    overflow: visible !important;
  }
}

html[data-meex-theme="dark"] body main select:not(.searchable-native-select),
html[data-meex-theme="dark"] body main select:not(.searchable-native-select) option {
  color: var(--mx-text) !important;
  -webkit-text-fill-color: var(--mx-text) !important;
  background: var(--mx-surface) !important;
}

/* S1.53 — deschidere mobilă compactă, strict după drepturi. */
.dashboard-mobile-hint{display:none}
.dashboard-events-action,.dashboard-event-metric{border-color:#99f6e4!important}
@media(max-width:680px){
  .dashboard-quick-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;margin-top:4px}
  .dashboard-quick-actions .btn{width:100%;min-height:44px;padding:10px 8px;text-align:center;justify-content:center}
  .dashboard-quick-actions .primary{grid-column:1/-1}
  .dashboard-mobile-hint{display:block;margin:0 0 14px;padding:10px 12px;border:1px solid #bfdbfe;border-radius:12px;background:#eff6ff;color:#1e3a8a;font-size:12px;line-height:1.35}
  .dashboard-activity-feed{display:none!important}
  .metrics{margin-bottom:0}
}

/* S1.57 — Home mobil: operațional, compact și strict pe drepturi. */
.dashboard-home-actions .btn{font-weight:850}
.dashboard-home-defects{border-color:#bfdbfe!important;background:#eff6ff!important;color:#1d4ed8!important}
.dashboard-home-requests{border-color:#bbf7d0!important;background:#f0fdf4!important;color:#047857!important}
.dashboard-home-events{border-color:#99f6e4!important;background:#f0fdfa!important;color:#0f766e!important}
.dashboard-home-notifications{border-color:#ddd6fe!important;background:#f5f3ff!important;color:#6d28d9!important}
.dashboard-home-attendance{border-color:#fde68a!important;background:#fffbeb!important;color:#b45309!important}
.dashboard-home-parking{border-color:#bfdbfe!important;background:#eff6ff!important;color:#1d4ed8!important}
.dashboard-parking-metric{border-top:4px solid #2563eb!important;background:#eff6ff!important;color:#153b75!important}.dashboard-parking-metric small{color:#64748b;font-weight:700}
@media(max-width:680px){.dashboard-parking-metric{min-height:105px!important}}
.dashboard-home-procurement{border-color:#fed7aa!important;background:#fff7ed!important;color:#c2410c!important}
@media(max-width:680px){
  .dashboard-home-actions{margin-bottom:2px!important}
  .dashboard-home-actions .dashboard-home-wide,
  .dashboard-home-actions .dashboard-home-procurement{grid-column:1/-1}
  .dashboard-home-actions .btn{font-size:13px;letter-spacing:-.1px}
}

/* Keep help-center v2 sizing after legacy contextual-help declarations. */
.meex-help-backdrop{padding:24px!important;background:rgba(15,23,42,.72)!important;place-items:center!important}
.meex-help-dialog{display:flex!important;flex-direction:column!important;width:min(920px,100%)!important;height:min(88vh,860px)!important;max-height:88vh!important;padding:0!important;overflow:hidden!important;border-radius:22px!important}
.meex-help-dialog h2{margin:0 0 7px!important;font-size:27px!important}.meex-help-close{right:18px!important;top:16px!important;width:42px!important;height:42px!important;border:1px solid #cbd5e1!important;border-radius:13px!important;background:#fff!important;color:#0f172a!important}
@media(max-width:720px){.meex-help-backdrop{padding:0!important;place-items:stretch!important}.meex-help-dialog{width:100%!important;height:100dvh!important;max-height:100dvh!important;padding:0!important;border-radius:0!important}.meex-help-dialog h2{font-size:21px!important}.meex-help-close{right:12px!important;top:11px!important;width:40px!important;height:40px!important}}

/* S1.64 — contrast profesional pentru Situații camere și antet QR fără suprapuneri. */
.defect-professional-page .defect-tabs{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,max-content))!important;
  gap:8px!important;
  align-items:stretch!important;
  margin-top:12px!important;
}
.defect-professional-page .defect-tabs a{
  min-height:44px!important;
  padding:10px 13px!important;
  border:1px solid #cbd5e1!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:0 3px 10px rgba(15,23,42,.06)!important;
  color:#334155!important;
  -webkit-text-fill-color:#334155!important;
}
.defect-professional-page .defect-tabs a span,
.defect-professional-page .defect-tabs a strong,
.defect-professional-page .defect-tabs a small{
  color:inherit!important;
  -webkit-text-fill-color:inherit!important;
  opacity:1!important;
}
.defect-professional-page .defect-tabs a.defect-tab-active.active{background:#1d4ed8!important;border-color:#1d4ed8!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
.defect-professional-page .defect-tabs a.defect-tab-blocked.active{background:#b42338!important;border-color:#b42338!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
.defect-professional-page .defect-tabs a.defect-tab-resolved.active{background:#15803d!important;border-color:#15803d!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
.defect-professional-page .defect-inventory-note{
  display:block!important;
  width:fit-content!important;
  max-width:100%!important;
  margin:9px 0 0!important;
  padding:8px 11px!important;
  border:1px solid #dbe5f0!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#475569!important;
  -webkit-text-fill-color:#475569!important;
  font-size:12px!important;
}
.meex-qr-list-head{display:block!important;margin-bottom:18px!important}
.meex-qr-list-intro{
  display:block!important;
  width:100%!important;
  padding:20px!important;
  border:1px solid var(--mx-line)!important;
  border-radius:17px!important;
  background:var(--mx-surface)!important;
  box-shadow:var(--mx-shadow-soft)!important;
}
.meex-qr-list-intro h1{margin:0 0 12px!important}
.meex-qr-list-meta{display:grid!important;gap:7px!important}
.meex-qr-list-meta p{margin:0!important;line-height:1.45!important}
.meex-qr-list-meta strong{overflow-wrap:anywhere!important}
.meex-qr-list-actions{display:flex!important;flex-wrap:wrap!important;gap:9px!important;margin:16px 0 13px!important;position:static!important}
.meex-qr-list-actions .btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;position:static!important;min-height:44px!important;margin:0!important}
.meex-qr-list-tabs{display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin:0!important;position:static!important}
.meex-qr-list-tabs a{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:42px!important;padding:9px 12px!important;position:static!important;text-decoration:none!important}
html[data-meex-theme="dark"] .defect-professional-page .defect-tabs a{background:#172335!important;border-color:#475569!important;color:#e2e8f0!important;-webkit-text-fill-color:#e2e8f0!important}
html[data-meex-theme="dark"] .defect-professional-page .defect-tabs a.defect-tab-active.active{background:#1d4ed8!important;border-color:#60a5fa!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
html[data-meex-theme="dark"] .defect-professional-page .defect-tabs a.defect-tab-blocked.active{background:#7f1d2d!important;border-color:#fb7185!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
html[data-meex-theme="dark"] .defect-professional-page .defect-tabs a.defect-tab-resolved.active{background:#166534!important;border-color:#4ade80!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
html[data-meex-theme="dark"] .defect-professional-page .defect-inventory-note{background:#172335!important;border-color:#475569!important;color:#e2e8f0!important;-webkit-text-fill-color:#e2e8f0!important}
@media(max-width:680px){
  .defect-professional-page .defect-tabs{grid-template-columns:repeat(3,minmax(max-content,1fr))!important;overflow-x:auto!important}
  .defect-professional-page .defect-tabs a{min-height:42px!important;padding:8px 10px!important}
  .meex-qr-list-intro{padding:15px!important;border-radius:14px!important}
  .meex-qr-list-actions .btn{width:100%!important}
  .meex-qr-list-tabs{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
