/* MAKAM Portal v0.9.7 LUX — polish zgodny z Brand Book
   Brand Book: granat #0B2239, turkus #2F7E88, biel #FFFFFF, szary #94A3B8.
   Założenie: premium = czysto, technicznie, bez zbędnych efektów. */

:root{
  --mk-lux-navy:#0B2239;
  --mk-lux-turq:#2F7E88;
  --mk-lux-turq-2:#3B929D;
  --mk-lux-gray:#94A3B8;
  --mk-lux-white:#FFFFFF;
  --mk-lux-night:#06131D;
  --mk-lux-surface:#0B1C29;
  --mk-lux-surface-2:#102432;
  --mk-lux-surface-3:#142A39;
  --mk-lux-line:#223B4A;
  --mk-lux-text:#EDF4F7;
  --mk-lux-muted:#94A8B4;
}

/* ===== WSPÓLNE / LIGHT ===== */
.makam-portal-app{
  --navy:var(--mk-lux-navy);
  --green:var(--mk-lux-turq);
  --muted:#718290;
}
.mkpa-app{--mk-green:var(--mk-lux-turq)}
.makam-portal-app,.mkpa-app{font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif}
.makam-portal-app h1,.makam-portal-app h2,.makam-portal-app h3,.mkpa-app h1,.mkpa-app h2,.mkpa-app h3{letter-spacing:-.025em}
.makam-portal-app .mkp-eyebrow,.mkpa-app .mkpa-eyebrow{color:var(--mk-lux-turq)!important;letter-spacing:.16em}
.makam-portal-app a,.makam-portal-app button,.mkpa-app a,.mkpa-app button{transition:border-color .16s ease,background .16s ease,color .16s ease,transform .16s ease}

/* header bez zbędnych ozdobników — logo pozostaje głównym znakiem */
.makam-portal-app .mkp-header{border-bottom-color:rgba(11,34,57,.16)}
.makam-portal-app .mkp-brand img{box-shadow:none!important}
.makam-portal-app .mkp-header nav a{border:1px solid transparent}
.makam-portal-app .mkp-header nav a.is-active{border-color:rgba(47,126,136,.26)}

/* karty premium: równe linie, bez ciężkich cieni */
.makam-portal-app .mkp-module-card,
.makam-portal-app .mkp-control-card,
.makam-portal-app .mkp-doc-card,
.makam-portal-app .mkp-control-panel-card,
.makam-portal-app .mkp-control-details,
.makam-portal-app .mkp-summary>div,
.mkpa-app .mkpa-project-card,
.mkpa-app .mkpa-table-card,
.mkpa-app .mkpa-import-card,
.mkpa-app .mkpa-settings-card,
.mkpa-app .mkpa-info-card,
.mkpa-app .mkpa-manager-card,
.mkpa-app .mkpa-editor-card{
  box-shadow:none!important;
}
.makam-portal-app .mkp-module-card:hover,
.makam-portal-app .mkp-control-card:hover{transform:translateY(-1px)}

/* ===== DARK LUX ===== */
html[data-mk-theme="dark"],html[data-mk-theme="dark"] body{background:var(--mk-lux-night)!important}
html[data-mk-theme="dark"] .makam-portal-app{
  --navy:var(--mk-lux-text);
  --navy2:#B6C8D2;
  --green:var(--mk-lux-turq-2);
  --bg:var(--mk-lux-night);
  --card:var(--mk-lux-surface);
  --line:var(--mk-lux-line);
  --text:#DDE8ED;
  --muted:var(--mk-lux-muted);
  max-width:none!important;
  min-height:100vh;
  background:
    linear-gradient(180deg,rgba(47,126,136,.035) 0,transparent 190px),
    var(--mk-lux-night)!important;
  color:#DDE8ED!important;
}
html[data-mk-theme="dark"] .mkp-main,html[data-mk-theme="dark"] .mkp-header{max-width:1440px}
html[data-mk-theme="dark"] .mkp-header{border-bottom:1px solid #183240!important}
html[data-mk-theme="dark"] .mkp-brand-mark img{background:transparent!important;padding:0!important;border-radius:0!important;box-shadow:none!important}
html[data-mk-theme="dark"] .mkp-brand-project{border-left-color:#29404D!important}
html[data-mk-theme="dark"] .mkp-brand-project b{color:#F6FAFB!important;font-weight:700}
html[data-mk-theme="dark"] .mkp-brand-project small,.mkp-brand-tagline{color:#8098A5!important}

/* nav LUX */
html[data-mk-theme="dark"] .mkp-header nav a{color:#A7B8C2!important;background:transparent!important;border-color:transparent!important}
html[data-mk-theme="dark"] .mkp-header nav a:hover{background:#0D202D!important;color:#F2F7F9!important;border-color:#223F4D!important}
html[data-mk-theme="dark"] .mkp-header nav a.is-active{
  background:#102A38!important;
  color:#FFFFFF!important;
  border-color:#2F7E88!important;
  box-shadow:inset 0 -2px 0 #2F7E88!important;
}
html[data-mk-theme="dark"] .mk-theme-toggle{background:#0D202C!important;border-color:#274553!important;color:#E9F2F5!important;box-shadow:none!important}
html[data-mk-theme="dark"] .mk-theme-toggle-icon{background:#12313D!important;color:#72C5CE!important}

/* nagłówki */
html[data-mk-theme="dark"] .mkp-hero h1,
html[data-mk-theme="dark"] .mkp-section-title h1,
html[data-mk-theme="dark"] .mkp-board-title h1,
html[data-mk-theme="dark"] .mkp-control-title h1,
html[data-mk-theme="dark"] .mkp-control-editor-head h1{color:#F5F9FB!important;font-weight:500}
html[data-mk-theme="dark"] .mkp-hero p,
html[data-mk-theme="dark"] .mkp-section-title p,
html[data-mk-theme="dark"] .mkp-board-title p,
html[data-mk-theme="dark"] .mkp-control-title p,
html[data-mk-theme="dark"] .mkp-control-editor-head p{color:#91A6B2!important}
html[data-mk-theme="dark"] .mkp-section-title b{color:#C8D7DE!important}
html[data-mk-theme="dark"] .mkp-eyebrow{color:#67B7C1!important}

/* przyciski */
html[data-mk-theme="dark"] .mkp-back,
html[data-mk-theme="dark"] .mkp-doc-actions a:last-child,
html[data-mk-theme="dark"] .mkp-plan-dialog-action,
html[data-mk-theme="dark"] .mkp-control-savebar button{
  background:#102C3A!important;
  color:#F7FBFC!important;
  border:1px solid #2F7E88!important;
  box-shadow:none!important;
}
html[data-mk-theme="dark"] .mkp-back:hover,
html[data-mk-theme="dark"] .mkp-doc-actions a:last-child:hover,
html[data-mk-theme="dark"] .mkp-plan-dialog-action:hover,
html[data-mk-theme="dark"] .mkp-control-savebar button:hover{background:#153947!important;border-color:#4B9DA7!important}

/* START */
html[data-mk-theme="dark"] .mkp-module-card{
  background:#0B1B27!important;
  border-color:#1D3947!important;
  box-shadow:none!important;
}
html[data-mk-theme="dark"] .mkp-module-card:hover{background:#0D202D!important;border-color:#2F7E88!important}
html[data-mk-theme="dark"] .mkp-module-icon{background:#102B38!important;border:1px solid #244A58}
html[data-mk-theme="dark"] .mkp-module-card h2{color:#F3F8FA!important;font-weight:500}
html[data-mk-theme="dark"] .mkp-module-card p{color:#8FA4AF!important}
html[data-mk-theme="dark"] .mkp-module-card strong{color:#DDE9ED!important}
html[data-mk-theme="dark"] .mkp-module-card strong i{color:#62B3BD!important}
html[data-mk-theme="dark"] .mkp-summary>div{background:#0A1924!important;border:1px solid #1B3542!important}
html[data-mk-theme="dark"] .mkp-summary span{color:#829AA7!important}
html[data-mk-theme="dark"] .mkp-summary strong{color:#F3F8FA!important;font-weight:500}

/* PLANER */
html[data-mk-theme="dark"] .mkp-plan-toolbar{
  background:#0A1B27!important;
  border:1px solid #1F3A48!important;
  box-shadow:none!important;
}
html[data-mk-theme="dark"] .mkp-plan-toolbar button,
html[data-mk-theme="dark"] .mkp-plan-toolbar span[data-plan-zoom-label],
html[data-mk-theme="dark"] .mkp-plan-tabs a{
  background:#0D202C!important;
  border:1px solid #294653!important;
  color:#DDE8ED!important;
}
html[data-mk-theme="dark"] .mkp-plan-toolbar button:hover,html[data-mk-theme="dark"] .mkp-plan-tabs a:hover{border-color:#2F7E88!important}
html[data-mk-theme="dark"] .mkp-plan-tabs a.is-active{background:#11303D!important;border-color:#2F7E88!important;color:#FFF!important}
html[data-mk-theme="dark"] .mkp-plan-image-wrap{background:#07141D!important;border:1px solid #1D3643!important}
html[data-mk-theme="dark"] .mkp-plan-points{
  background:#0B1B27!important;
  border:1px solid #1D3947!important;
  box-shadow:none!important;
}
html[data-mk-theme="dark"] .mkp-plan-points-head{background:#102432!important;border-bottom:1px solid #274250!important}
html[data-mk-theme="dark"] .mkp-plan-points-head span{color:#F4F8FA!important;font-size:18px;font-weight:700}
html[data-mk-theme="dark"] .mkp-plan-points-head b{background:#102F3C!important;border:1px solid #2F7E88!important;color:#CFE7EA!important}
html[data-mk-theme="dark"] .mkp-plan-point-row{
  background:#0B1B27!important;
  border-bottom:1px solid #1F3643!important;
  color:#DCE8ED!important;
}
html[data-mk-theme="dark"] .mkp-plan-point-row:hover{background:#0F2430!important}
html[data-mk-theme="dark"] .mkp-plan-point-row>span{background:#12313D!important;color:#A9D5DB!important;border:1px solid #28515D!important}
html[data-mk-theme="dark"] .mkp-plan-point-row b{color:#E5EEF2!important}
html[data-mk-theme="dark"] .mkp-plan-point-row small{color:#7F97A4!important}
html[data-mk-theme="dark"] .mkp-plan-point-progress>span{background:#102833!important;border:1px solid #244653!important;color:#93AAB5!important}
html[data-mk-theme="dark"] .mkp-plan-point-progress>span b{color:#C7E3E7!important}
html[data-mk-theme="dark"] .mkp-plan-point-progress>span.is-na{opacity:.58}
html[data-mk-theme="dark"] .mkp-plan-point-row.is-complete .mkp-plan-point-progress>span{background:#142B20!important;border-color:#2D5538!important;color:#A8D9B1!important}
html[data-mk-theme="dark"] .mkp-plan-point-row.is-complete>span{background:#5BC31B!important;border-color:#A7E686!important;color:#092844!important}
html[data-mk-theme="dark"] .mkp-plan-point-row>em{background:#163221!important;border:1px solid #35653E!important;color:#A6DAB0!important}
html[data-mk-theme="dark"] .mkp-plan-points [data-plan-point-list],html[data-mk-theme="dark"] .mkp-plan-points{scrollbar-color:#2F7E88 #0A1720;scrollbar-width:thin}

/* STEROWANIE — lista */
html[data-mk-theme="dark"] .mkp-control-room-head h2{color:#EAF1F4!important;font-weight:500}
html[data-mk-theme="dark"] .mkp-control-room-head span{color:#718A97!important}
html[data-mk-theme="dark"] .mkp-control-card{background:#0B1B27!important;border-color:#1D3947!important;box-shadow:none!important}
html[data-mk-theme="dark"] .mkp-control-card:hover{background:#0D202D!important;border-color:#2F7E88!important}
html[data-mk-theme="dark"] .mkp-control-card>div:first-child>span{color:#67B7C1!important}
html[data-mk-theme="dark"] .mkp-control-card h3{color:#F1F6F8!important;font-weight:500}
html[data-mk-theme="dark"] .mkp-control-card p{color:#7F96A2!important}
html[data-mk-theme="dark"] .mkp-control-card-progress b{
  background:#102833!important;
  border:1px solid #244653!important;
  color:#C5DCE3!important;
  padding:5px 9px!important;
}
html[data-mk-theme="dark"] .mkp-control-card-progress small{color:#8CA2AE!important}
html[data-mk-theme="dark"] .mkp-control-card em{color:#DDE8ED!important}

/* STEROWANIE — edycja */
html[data-mk-theme="dark"] .mkp-control-progress-top>div,
html[data-mk-theme="dark"] .mkp-control-product-line,
html[data-mk-theme="dark"] .mkp-control-panel-card,
html[data-mk-theme="dark"] .mkp-control-details,
html[data-mk-theme="dark"] .mkp-control-preview,
html[data-mk-theme="dark"] .mkp-control-button-editor,
html[data-mk-theme="dark"] .mkp-smart-page-config{
  background:#0B1B27!important;
  border-color:#1F3B49!important;
  box-shadow:none!important;
}
html[data-mk-theme="dark"] .mkp-control-progress-top span{color:#8CA2AE!important}
html[data-mk-theme="dark"] .mkp-control-progress-top b{color:#F4F8FA!important;font-weight:500}
html[data-mk-theme="dark"] .mkp-control-progress-top small{color:#708A98!important}
html[data-mk-theme="dark"] .mkp-control-product-line b,html[data-mk-theme="dark"] .mkp-control-panel-title b{color:#EAF2F5!important}
html[data-mk-theme="dark"] .mkp-control-product-line span,html[data-mk-theme="dark"] .mkp-control-product-line em,html[data-mk-theme="dark"] .mkp-control-panel-title span{color:#849AA6!important}
html[data-mk-theme="dark"] .mkp-control-detail-head{border-bottom-color:#203946!important}
html[data-mk-theme="dark"] .mkp-control-detail-head h2{color:#F2F7F9!important;font-weight:500}
html[data-mk-theme="dark"] .mkp-unused-toggle{color:#A8BAC3!important}
html[data-mk-theme="dark"] .mkp-event-field>span,
html[data-mk-theme="dark"] .mkp-label-field>span,
html[data-mk-theme="dark"] .mkp-control-fields label,
html[data-mk-theme="dark"] .mkp-icon-picker legend,
html[data-mk-theme="dark"] .mkp-smart-page-type>span,
html[data-mk-theme="dark"] .mkp-smart-thermostat-inputs span{color:#B4C5CD!important}
html[data-mk-theme="dark"] .mkp-event-field input,
html[data-mk-theme="dark"] .mkp-label-field input,
html[data-mk-theme="dark"] .mkp-control-fields input,
html[data-mk-theme="dark"] .mkp-control-fields select,
html[data-mk-theme="dark"] .mkp-smart-thermostat-inputs input{
  background:#081620!important;
  border-color:#294653!important;
  color:#E8F0F3!important;
  box-shadow:none!important;
}
html[data-mk-theme="dark"] .mkp-event-field input:focus,
html[data-mk-theme="dark"] .mkp-label-field input:focus,
html[data-mk-theme="dark"] .mkp-control-fields input:focus,
html[data-mk-theme="dark"] .mkp-control-fields select:focus{outline:2px solid rgba(47,126,136,.28)!important;border-color:#2F7E88!important}
html[data-mk-theme="dark"] .mkp-control-help,
html[data-mk-theme="dark"] .mkp-control-locked-note,
html[data-mk-theme="dark"] .mkp-control-no-icons{background:#102532!important;border:1px solid #1F3B49!important;color:#93A8B3!important}
html[data-mk-theme="dark"] .mkp-control-no-icons b{color:#E9F1F4!important}
html[data-mk-theme="dark"] .mkp-control-savebar{background:rgba(8,21,30,.96)!important;border-color:#2A4855!important;box-shadow:none!important;backdrop-filter:blur(12px)}
html[data-mk-theme="dark"] .mkp-control-savebar b{color:#F0F6F8!important}
html[data-mk-theme="dark"] .mkp-control-savebar span{color:#8298A4!important}
html[data-mk-theme="dark"] .mkp-engraving{border-top-color:#203946!important}
html[data-mk-theme="dark"] .mkp-engraving-head h3{color:#F0F5F7!important}
html[data-mk-theme="dark"] .mkp-engraving-head p{color:#8199A5!important}

/* ikonki / modal — zostaje techniczny i czytelny */
html[data-mk-theme="dark"] .mkp-touch-icons-dialog{background:#0B1B27!important;border:1px solid #294653!important;box-shadow:none!important}
html[data-mk-theme="dark"] .mkp-touch-dialog-head{border-bottom-color:#203946!important}
html[data-mk-theme="dark"] .mkp-touch-dialog-head h2{color:#F0F6F8!important;font-weight:500}
html[data-mk-theme="dark"] .mkp-touch-dialog-tab{background:#102532!important;border-color:#294653!important;color:#C7D6DC!important}
html[data-mk-theme="dark"] .mkp-touch-dialog-tab.is-active{background:#153541!important;border-color:#2F7E88!important;color:#FFF!important}
html[data-mk-theme="dark"] .mkp-touch-dialog-filters input,html[data-mk-theme="dark"] .mkp-touch-dialog-filters select{background:#081620!important;border-color:#294653!important;color:#E8F0F3!important}
html[data-mk-theme="dark"] .mkp-touch-icon-card,html[data-mk-theme="dark"] .mkp-oled-icon-card{background:#0E2230!important;border-color:#254653!important;box-shadow:none!important}
html[data-mk-theme="dark"] .mkp-touch-icon-card:hover,html[data-mk-theme="dark"] .mkp-oled-icon-card:hover{border-color:#2F7E88!important;background:#112A37!important}

/* DOKUMENTY */
html[data-mk-theme="dark"] .mkp-doc-group{background:#091923!important;border:1px solid #1D3947!important;box-shadow:none!important}
html[data-mk-theme="dark"] .mkp-doc-group-head h2{color:#EAF2F5!important;font-weight:500}
html[data-mk-theme="dark"] .mkp-doc-group-head span{color:#6F8996!important}
html[data-mk-theme="dark"] .mkp-doc-card{background:#0D202C!important;border-color:#234350!important}
html[data-mk-theme="dark"] .mkp-doc-icon{background:#12313D!important;border:1px solid #2B5964!important;color:#8ED4DC!important}
html[data-mk-theme="dark"] .mkp-doc-copy h3{color:#F0F5F7!important;font-weight:500}
html[data-mk-theme="dark"] .mkp-doc-copy p,html[data-mk-theme="dark"] .mkp-doc-copy small{color:#8199A5!important}

/* ROZDZIELNICA klienta — otoczenie ciemne, aparatura jasna */
html[data-mk-theme="dark"] .mkp-search-wrap>label{color:#D8E4E9!important}
html[data-mk-theme="dark"] .mkp-search{background:#081720!important;border-color:#264654!important;box-shadow:none!important}
html[data-mk-theme="dark"] .mkp-search input{color:#E9F1F4!important}
html[data-mk-theme="dark"] .mkp-board-tools{background:#0A1A25!important;border:1px solid #223E4B!important;box-shadow:none!important}
html[data-mk-theme="dark"] .mkp-board-shell{background:#0B1B27!important;border-color:#1F3946!important;box-shadow:none!important}
html[data-mk-theme="dark"] .mkp-board-name,html[data-mk-theme="dark"] .mkp-board-name strong{color:#CFE0E6!important}
html[data-mk-theme="dark"] .mkp-board-name span,html[data-mk-theme="dark"] .mkp-board-name small{color:#7F98A5!important}
/* fizyczna elewacja pozostaje jasna */
html[data-mk-theme="dark"] .mkp-board{background:#F3F5F5!important;color:#17212B!important;border-color:#C6D0D4!important;box-shadow:inset 0 0 0 4px #E7ECEE!important}
html[data-mk-theme="dark"] .mkp-ap-symbol{color:#173552!important}
html[data-mk-theme="dark"] .mkp-row-label{color:#60727B!important}

/* ===== ADMIN LUX ===== */
html[data-mk-theme="dark"] .mkpa-app{
  --mk-bg:var(--mk-lux-night);
  --mk-card:var(--mk-lux-surface);
  --mk-line:var(--mk-lux-line);
  --mk-text:#E6EFF3;
  --mk-muted:#8FA5B0;
  --mk-soft:var(--mk-lux-surface-2);
  --mk-green:var(--mk-lux-turq);
  background:var(--mk-lux-night)!important;
}
html[data-mk-theme="dark"] .mkpa-side{background:#081C2B!important;border-right-color:#1B3847!important}
html[data-mk-theme="dark"] .mkpa-side nav a.is-active{background:#123246!important;color:#FFF!important;border-left:2px solid #2F7E88}
html[data-mk-theme="dark"] .mkpa-top{background:#0B1A25!important;border-color:#1D3744!important}
html[data-mk-theme="dark"] .mkpa-page-head h1{color:#F2F7F9!important;font-weight:500}
html[data-mk-theme="dark"] .mkpa-page-head p{color:#8FA5B0!important}
html[data-mk-theme="dark"] .mkpa-project-card,
html[data-mk-theme="dark"] .mkpa-table-card,
html[data-mk-theme="dark"] .mkpa-import-card,
html[data-mk-theme="dark"] .mkpa-settings-card,
html[data-mk-theme="dark"] .mkpa-info-card,
html[data-mk-theme="dark"] .mkpa-manager-card,
html[data-mk-theme="dark"] .mkpa-editor-card,
html[data-mk-theme="dark"] .mkpa-elevation-card,
html[data-mk-theme="dark"] .mkpa-document-editor,
html[data-mk-theme="dark"] .mkpa-docs-help{
  background:#0B1B27!important;
  border-color:#1F3B49!important;
  box-shadow:none!important;
}
html[data-mk-theme="dark"] .mkpa-elevation-head{background:#0E2230!important;border-bottom-color:#244350!important}
html[data-mk-theme="dark"] .mkpa-elevation-head h2{color:#EAF2F5!important;font-weight:500}
html[data-mk-theme="dark"] .mkpa-elevation-head p{color:#859BA7!important}
html[data-mk-theme="dark"] .mkpa-elevation-frame-wrap{background:#07141D!important}
html[data-mk-theme="dark"] .mkpa-tabs{background:#102432!important;border:1px solid #1E3947!important}
html[data-mk-theme="dark"] .mkpa-tabs a{color:#9FB2BC!important}
html[data-mk-theme="dark"] .mkpa-tabs a.is-active{background:#153541!important;border:1px solid #2F7E88!important;color:#FFF!important;box-shadow:none!important}
html[data-mk-theme="dark"] .mkpa-primary{background:#153541!important;border-color:#2F7E88!important;color:#FFF!important;box-shadow:none!important}
html[data-mk-theme="dark"] .mkpa-secondary{background:#102431!important;border-color:#2A4855!important;color:#DAE6EB!important;box-shadow:none!important}
html[data-mk-theme="dark"] .mkpa-table-card thead th{background:#112633!important;color:#A9BBC4!important;border-color:#274654!important}
html[data-mk-theme="dark"] .mkpa-table-card tbody td{color:#D9E4E9!important;border-color:#1D3440!important}
html[data-mk-theme="dark"] .mkpa-table-card tbody td a,html[data-mk-theme="dark"] .mkpa-table-card tbody td code{color:#BFD5DC!important}
html[data-mk-theme="dark"] .mkpa-table-card tbody tr:hover td{background:#0F2430!important}
html[data-mk-theme="dark"] .mkpa-table-card input,html[data-mk-theme="dark"] .mkpa-table-card select,html[data-mk-theme="dark"] .mkpa-table-card textarea,
html[data-mk-theme="dark"] .mkpa-document-editor input,html[data-mk-theme="dark"] .mkpa-document-editor select,html[data-mk-theme="dark"] .mkpa-document-editor textarea{background:#081620!important;border-color:#294653!important;color:#E8F0F3!important}

/* focus — turkus, zgodnie z marką */
html[data-mk-theme="dark"] .makam-portal-app :focus-visible,html[data-mk-theme="dark"] .mkpa-app :focus-visible{outline:2px solid #2F7E88!important;outline-offset:2px}

/* mobile */
@media(max-width:850px){
  html[data-mk-theme="dark"] .mkp-header nav a.is-active{box-shadow:none!important}
  html[data-mk-theme="dark"] .mkp-plan-points{max-height:280px!important}
}


/* v0.9.9 — Portal LUX: poprawki kontrastu i dialogów */
html[data-mk-theme="dark"] .mkp-touch-icons-dialog{background:#0b1b27!important;color:#e8f0f4!important;border:1px solid #274250!important;box-shadow:0 28px 86px rgba(2,8,12,.62)!important}
html[data-mk-theme="dark"] .mkp-touch-dialog-head p,html[data-mk-theme="dark"] .mkp-touch-icon-count,html[data-mk-theme="dark"] .mkp-touch-dialog-footer span{color:#8fa5b0!important}
html[data-mk-theme="dark"] .mkp-touch-dialog-head>button,html[data-mk-theme="dark"] .mkp-touch-dialog-footer button{background:#12313d!important;color:#f4f8fa!important;border:1px solid #28515d!important}
html[data-mk-theme="dark"] .mkp-touch-dialog-tabs button{background:#102432!important;border-color:#274250!important;color:#dce8ed!important}
html[data-mk-theme="dark"] .mkp-touch-dialog-tabs button.is-active{background:#173746!important;border-color:#7ecb8f!important;color:#ddf0df!important}
html[data-mk-theme="dark"] .mkp-touch-dialog-tabs span{background:#17384c!important;color:#e7f2f6!important}
html[data-mk-theme="dark"] .mkp-touch-dialog-filters input,html[data-mk-theme="dark"] .mkp-touch-dialog-filters select{background:#102432!important;border-color:#274250!important;color:#edf4f7!important}
html[data-mk-theme="dark"] .mkp-touch-icon-card{background:#0f2230!important;border-color:#203a48!important;color:#e7f0f4!important}
html[data-mk-theme="dark"] .mkp-touch-icon-card:hover{border-color:#4e9f8c!important;box-shadow:0 5px 18px rgba(2,8,12,.35)!important}
html[data-mk-theme="dark"] .mkp-touch-icon-card>small{color:#88a0ab!important}
html[data-mk-theme="dark"] .mkp-touch-dialog-footer{background:#0e2230!important;border-top-color:#203a48!important}
html[data-mk-theme="dark"] .mkp-touch-selected{background:#102432!important;border-color:#274250!important}
html[data-mk-theme="dark"] .mkp-touch-selected b{color:#f2f7f9!important}
html[data-mk-theme="dark"] .mkp-touch-selected small{color:#8fa5b0!important}

html[data-mk-theme="dark"] .mkp-board{background:#E7EBEE!important;color:#17212B!important;border-color:#C2CBD0!important;box-shadow:inset 0 0 0 4px #DDE3E7!important}
html[data-mk-theme="dark"] .mkp-board-name{color:#38505f!important}
html[data-mk-theme="dark"] .mkp-board-name strong{color:#243847!important;font-weight:700!important}
html[data-mk-theme="dark"] .mkp-board-name span,html[data-mk-theme="dark"] .mkp-board-name small{color:#5C7280!important}
html[data-mk-theme="dark"] .mkp-row-label{background:#203645!important;border:1px solid #31505f!important;color:#B7C7CF!important}
html[data-mk-theme="dark"] .mkp-row-label b{color:#F0F5F7!important}
html[data-mk-theme="dark"] .mkp-row-label span{color:#93A8B2!important}

html[data-mk-theme="dark"] .mkpa-plan-floor-nav{background:linear-gradient(180deg,#122230,#0f1c27)!important;border-color:#243847!important}
html[data-mk-theme="dark"] .mkpa-plan-floor-nav-head b{color:#e8f0f5!important}
html[data-mk-theme="dark"] .mkpa-plan-floor-nav>a{background:#102432!important;border:1px solid #203b49!important;color:#dce8ed!important}
html[data-mk-theme="dark"] .mkpa-plan-floor-nav>a small{color:#86a0ac!important}
html[data-mk-theme="dark"] .mkpa-plan-floor-nav>a.is-active{background:#edf2f4!important;border-color:#edf2f4!important;color:#0b1f2e!important}
html[data-mk-theme="dark"] .mkpa-plan-floor-nav>a.is-active small{color:#5d6f78!important}


/* v0.9.10 — ADMIN LUX: porządek kolorów w Sterowaniu i Rozdzielnicy */
html[data-mk-theme="dark"] .mkpa-control-summary>div,
html[data-mk-theme="dark"] .mkpa-control-native,
html[data-mk-theme="dark"] .mkpa-control-admin-actions,
html[data-mk-theme="dark"] .mkpa-control-manager-head,
html[data-mk-theme="dark"] .mkpa-control-editor-card,
html[data-mk-theme="dark"] .mkpa-geometry-card,
html[data-mk-theme="dark"] .mkpa-diagnostic-grid article,
html[data-mk-theme="dark"] .mkpa-diagnostic-head,
html[data-mk-theme="dark"] .mkpa-action-grid a{
  background:#0b1b27!important;
  border-color:#1f3b49!important;
  color:#e6eff3!important;
  box-shadow:none!important;
}
html[data-mk-theme="dark"] .mkpa-control-summary span,
html[data-mk-theme="dark"] .mkpa-table-head p,
html[data-mk-theme="dark"] .mkpa-control-admin-actions p,
html[data-mk-theme="dark"] .mkpa-control-manager-head p,
html[data-mk-theme="dark"] .mkpa-control-device p,
html[data-mk-theme="dark"] .mkpa-diagnostic-head p,
html[data-mk-theme="dark"] .mkpa-diagnostic-grid p,
html[data-mk-theme="dark"] .mkpa-geometry-row small,
html[data-mk-theme="dark"] .mkpa-editor-grid label,
html[data-mk-theme="dark"] .mkpa-control-room-head span,
html[data-mk-theme="dark"] .mkpa-section-head p{color:#8fa5b0!important}
html[data-mk-theme="dark"] .mkpa-control-summary strong,
html[data-mk-theme="dark"] .mkpa-control-admin-actions h2,
html[data-mk-theme="dark"] .mkpa-control-manager-head h2,
html[data-mk-theme="dark"] .mkpa-table-head h2,
html[data-mk-theme="dark"] .mkpa-section-head h2,
html[data-mk-theme="dark"] .mkpa-control-room-head b,
html[data-mk-theme="dark"] .mkpa-control-device h3,
html[data-mk-theme="dark"] .mkpa-editor-head h2,
html[data-mk-theme="dark"] .mkpa-diagnostic-head h2,
html[data-mk-theme="dark"] .mkpa-diagnostic-grid h3,
html[data-mk-theme="dark"] .mkpa-geometry-row strong,
html[data-mk-theme="dark"] .mkpa-action-grid b,
html[data-mk-theme="dark"] .mkpa-info-card b{color:#f2f7f9!important}

html[data-mk-theme="dark"] .mkpa-table-head,
html[data-mk-theme="dark"] .mkpa-form-foot,
html[data-mk-theme="dark"] .mkpa-control-filters,
html[data-mk-theme="dark"] .mkpa-manager-toolbar,
html[data-mk-theme="dark"] .mkpa-bulk-bar,
html[data-mk-theme="dark"] .mkpa-plan-points-head,
html[data-mk-theme="dark"] .mkpa-add-card summary{
  background:#102432!important;
  border-color:#203a48!important;
}
html[data-mk-theme="dark"] .mkpa-table-head>span,
html[data-mk-theme="dark"] .mkpa-plan-points-head span,
html[data-mk-theme="dark"] .mkpa-status-ready{
  background:#143646!important;
  border:1px solid #295667!important;
  color:#d7edf3!important;
}
html[data-mk-theme="dark"] .mkpa-control-progress span,
html[data-mk-theme="dark"] .mkpa-panel-card-meta>span,
html[data-mk-theme="dark"] .mkpa-pill{
  background:#132b39!important;
  color:#cfe0e7!important;
  border:1px solid #254250!important;
}
html[data-mk-theme="dark"] .mkpa-pill.is-green{background:#17351f!important;color:#d7f2cb!important;border-color:#2c6540!important}
html[data-mk-theme="dark"] .mkpa-pill.is-blue{background:#153042!important;color:#d4e8f7!important;border-color:#325b75!important}
html[data-mk-theme="dark"] .mkpa-device-type,
html[data-mk-theme="dark"] .mkpa-okline{color:#9fda78!important}
html[data-mk-theme="dark"] .mkpa-control-device,
html[data-mk-theme="dark"] .mkpa-panel-used,
html[data-mk-theme="dark"] .mkpa-add-card,
html[data-mk-theme="dark"] .mkpa-plan-admin-points{
  background:#0f2230!important;
  border-color:#203a48!important;
}
html[data-mk-theme="dark"] .mkpa-control-room-head,
html[data-mk-theme="dark"] .mkpa-diagnostic-grid article,
html[data-mk-theme="dark"] .mkpa-geometry-row,
html[data-mk-theme="dark"] .mkpa-plan-admin-point-row,
html[data-mk-theme="dark"] .mkpa-add-card[open] summary{border-color:#203a48!important}
html[data-mk-theme="dark"] .mkpa-control-card-actions a,
html[data-mk-theme="dark"] .mkpa-mini{
  background:#102432!important;
  color:#edf4f7!important;
  border-color:#274250!important;
}
html[data-mk-theme="dark"] .mkpa-control-card-actions a:hover,
html[data-mk-theme="dark"] .mkpa-mini:hover{border-color:#3c7485!important;background:#153242!important}
html[data-mk-theme="dark"] .mkpa-add-card summary,
html[data-mk-theme="dark"] .mkpa-editor-head>a,
html[data-mk-theme="dark"] .mkpa-panel-used b,
html[data-mk-theme="dark"] .mkpa-plan-points-head b,
html[data-mk-theme="dark"] .mkpa-plan-admin-point-row b{color:#edf4f7!important}
html[data-mk-theme="dark"] .mkpa-plan-admin-point-row small,
html[data-mk-theme="dark"] .mkpa-panel-used span{color:#8fa5b0!important}
html[data-mk-theme="dark"] .mkpa-group-row td{background:#163141!important;color:#e7f0f4!important;border-color:#294654!important}
html[data-mk-theme="dark"] .mkpa-manager-toolbar label,
html[data-mk-theme="dark"] .mkpa-bulk-bar label{color:#9ab0bb!important}
html[data-mk-theme="dark"] .mkpa-control-filters input,
html[data-mk-theme="dark"] .mkpa-control-filters select,
html[data-mk-theme="dark"] .mkpa-manager-toolbar input,
html[data-mk-theme="dark"] .mkpa-manager-toolbar select,
html[data-mk-theme="dark"] .mkpa-bulk-bar input,
html[data-mk-theme="dark"] .mkpa-bulk-bar select,
html[data-mk-theme="dark"] .mkpa-editor-grid input,
html[data-mk-theme="dark"] .mkpa-editor-grid select,
html[data-mk-theme="dark"] .mkpa-editor-grid textarea,
html[data-mk-theme="dark"] .mkpa-geometry-row input,
html[data-mk-theme="dark"] .mkpa-panel-upload input[type=file]{
  background:#081620!important;
  border-color:#294653!important;
  color:#e8f0f3!important;
}
html[data-mk-theme="dark"] .mkpa-danger{background:#2a1418!important;border-color:#6d373c!important;color:#ffd9db!important}
html[data-mk-theme="dark"] .mkpa-link-danger{color:#ff8d92!important}
html[data-mk-theme="dark"] .mkpa-diagnostic-head.is-ok{background:#10261b!important;border-color:#2a5a42!important}
html[data-mk-theme="dark"] .mkpa-diagnostic-head.is-warn{background:#2d2114!important;border-color:#6f5334!important}
html[data-mk-theme="dark"] .mkpa-diagnostic-grid article.has-items{border-color:#7b6140!important}
html[data-mk-theme="dark"] .mkpa-diagnostic-grid article>div>strong{color:#f0b27a!important}
html[data-mk-theme="dark"] .mkpa-diagnostic-grid ul{color:#d3dde2!important}
html[data-mk-theme="dark"] .mkpa-action-grid span,
html[data-mk-theme="dark"] .mkpa-info-card span,
html[data-mk-theme="dark"] .mkpa-info-card p{color:#8fa5b0!important}
html[data-mk-theme="dark"] .mkpa-top a,html[data-mk-theme="dark"] .mkpa-top strong{color:#dfe9ee!important}


/* v0.9.11 — Rozdzielnica: spokojniejsze tło elewacji i ciemniejsza nazwa */

/* v0.9.12 — ADMIN LUX: szybkie akcje i czytelny model urządzenia */
html[data-mk-theme="dark"] .mkpa-control-quick-actions{background:#0f2230!important;border-color:#203a48!important}
html[data-mk-theme="dark"] .mkpa-control-quick-actions>span{color:#8fa5b0!important}
html[data-mk-theme="dark"] .mkpa-control-device-model{color:#72cbd5!important}
html[data-mk-theme="dark"] .mkpa-model-finish{color:#d8e5ea!important}
html[data-mk-theme="dark"] .mkpa-control-filters.is-devices>a{background:#102432!important;border-color:#274250!important;color:#edf4f7!important}

/* v0.9.14 — dark mode: zamykanie okien i uwagi klienta */
html[data-mk-theme="dark"] .mkp-plan-dialog-x,
html[data-mk-theme="dark"] .mkp-panel-close{
  background:#132b39!important;
  color:#dce8ed!important;
  border:1px solid #31505f!important;
  box-shadow:0 4px 14px rgba(0,0,0,.22)!important;
}
html[data-mk-theme="dark"] .mkp-plan-dialog-x:hover,
html[data-mk-theme="dark"] .mkp-panel-close:hover{background:#194052!important;border-color:#3f7180!important;color:#fff!important}
html[data-mk-theme="dark"] .mkp-panel-dismiss{background:#12313d!important;color:#eef5f7!important;border-color:#2e5866!important}
html[data-mk-theme="dark"] .mkp-panel-footer{background:#0b1b27!important}
html[data-mk-theme="dark"] .mkp-client-note{background:#0b1b27!important;border-color:#1f3b49!important;box-shadow:none!important}
html[data-mk-theme="dark"] .mkp-client-note h2{color:#eef5f8!important}
html[data-mk-theme="dark"] .mkp-client-note p,html[data-mk-theme="dark"] .mkp-client-note-foot small{color:#8fa5b0!important}
html[data-mk-theme="dark"] .mkp-client-note textarea{background:#081620!important;border-color:#294653!important;color:#e8f0f3!important}
html[data-mk-theme="dark"] .mkp-client-note-foot button{background:#153541!important;border-color:#2f7e88!important;color:#fff!important}
html[data-mk-theme="dark"] .mkp-note-saved{background:#17351f!important;color:#d7f2cb!important;border:1px solid #2c6540!important}

/* v0.9.14 — ADMIN: użytkownicy i uwagi klienta */
html[data-mk-theme="dark"] .mkpa-user-stats>div,
html[data-mk-theme="dark"] .mkpa-user-create,
html[data-mk-theme="dark"] .mkpa-client-note-card{background:#0b1b27!important;border-color:#1f3b49!important;color:#e6eff3!important}
html[data-mk-theme="dark"] .mkpa-user-stats span,
html[data-mk-theme="dark"] .mkpa-user-create p,
html[data-mk-theme="dark"] .mkpa-user-create label>span,
html[data-mk-theme="dark"] .mkpa-client-note-card small{color:#8fa5b0!important}
html[data-mk-theme="dark"] .mkpa-user-stats strong,
html[data-mk-theme="dark"] .mkpa-user-create h2,
html[data-mk-theme="dark"] .mkpa-client-note-card h2{color:#eef5f8!important}
html[data-mk-theme="dark"] .mkpa-user-create input{background:#081620!important;border-color:#294653!important;color:#e8f0f3!important}
html[data-mk-theme="dark"] .mkpa-client-note-card p{background:#102432!important;color:#d8e4e9!important}
html[data-mk-theme="dark"] .mkpa-client-note-card.has-note{border-left-color:#2f7e88!important}


/* v0.9.15 — read-only + uwagi wewnętrzne w dark mode */
html[data-mk-theme="dark"] .mkpa-readonly-badge{background:#12313d!important;border-color:#2a5663!important;color:#d8edf2!important}
html[data-mk-theme="dark"] .mkpa-internal-note{background:#0b1b27!important;border-color:#1f3b49!important}
html[data-mk-theme="dark"] .mkpa-internal-note h2{color:#eef5f8!important}
html[data-mk-theme="dark"] .mkpa-internal-note p,html[data-mk-theme="dark"] .mkpa-internal-note-foot small{color:#8fa5b0!important}
html[data-mk-theme="dark"] .mkpa-private-pill{background:#17283a!important;border-color:#314c63!important;color:#cfe0ed!important}
html[data-mk-theme="dark"] .mkpa-internal-note textarea,html[data-mk-theme="dark"] .mkpa-role-switch select{background:#081620!important;border-color:#294653!important;color:#e8f0f3!important}


/* v0.9.16 — dark mode interaktywnego podglądu pracownika */
html[data-mk-theme="dark"] .mkpa-worker-preview{background:#0b1b27!important;border-color:#1f3b49!important}
html[data-mk-theme="dark"] .mkpa-worker-preview-head{border-color:#1f3b49!important}
html[data-mk-theme="dark"] .mkpa-worker-preview-head h2{color:#eef5f8!important}
html[data-mk-theme="dark"] .mkpa-worker-preview-head p{color:#8fa5b0!important}
html[data-mk-theme="dark"] .mkpa-worker-frame-wrap{background:#07141d!important}
html[data-mk-theme="dark"] .mkp-staff-readonly .mkp-worker-control-note{background:#102b38!important;border-color:#28505d!important}
html[data-mk-theme="dark"] .mkp-staff-readonly .mkp-worker-control-note b{color:#dff3f6!important}
html[data-mk-theme="dark"] .mkp-staff-readonly .mkp-worker-control-note span{color:#94abb5!important}

/* v0.9.18 — komentarze / dziennik w trybie ciemnym */
html[data-mk-theme="dark"] .mkp-comments-open{background:#102432!important;border-color:#294653!important;color:#d9e8ed!important}
html[data-mk-theme="dark"] .mkp-comments-primary,html[data-mk-theme="dark"] .mkp-comment-compose button,html[data-mk-theme="dark"] .mkp-comment-reply button{background:#153541!important;border-color:#2f7e88!important;color:#fff!important}
html[data-mk-theme="dark"] .mkp-comments-preview-list article,html[data-mk-theme="dark"] .mkp-comment-compose,html[data-mk-theme="dark"] .mkp-comment-item{background:#0b1b27!important;border-color:#1f3b49!important;color:#e6eff3!important}
html[data-mk-theme="dark"] .mkp-comments-preview-list b,html[data-mk-theme="dark"] .mkp-comment-compose h2,html[data-mk-theme="dark"] .mkp-comment-meta b{color:#edf5f8!important}
html[data-mk-theme="dark"] .mkp-comments-preview-list span,html[data-mk-theme="dark"] .mkp-comment-compose p,html[data-mk-theme="dark"] .mkp-comment-meta span,html[data-mk-theme="dark"] .mkp-comment-parent{color:#8fa5b0!important}
html[data-mk-theme="dark"] .mkp-comments-preview-list p,html[data-mk-theme="dark"] .mkp-comment-item>p{color:#d5e1e6!important}
html[data-mk-theme="dark"] .mkp-comment-compose input,html[data-mk-theme="dark"] .mkp-comment-compose select,html[data-mk-theme="dark"] .mkp-comment-compose textarea,html[data-mk-theme="dark"] .mkp-comment-reply textarea{background:#081620!important;border-color:#294653!important;color:#e8f0f3!important}
html[data-mk-theme="dark"] .mkp-comment-meta em{background:#14303d!important;color:#b7cbd4!important}html[data-mk-theme="dark"] .mkp-comment-meta i{background:#17351f!important;color:#d5edcc!important}
html[data-mk-theme="dark"] .mkp-comment-reply{border-color:#203946!important}

html[data-mk-theme="dark"] .mkpa-comments-summary,html[data-mk-theme="dark"] .mkpa-comment-stats>div,html[data-mk-theme="dark"] .mkpa-comment-compose,html[data-mk-theme="dark"] .mkpa-comment-item{background:#0b1b27!important;border-color:#1f3b49!important;color:#e6eff3!important;box-shadow:none!important}
html[data-mk-theme="dark"] .mkpa-comments-summary-head h2,html[data-mk-theme="dark"] .mkpa-comment-stats strong,html[data-mk-theme="dark"] .mkpa-comment-compose h2,html[data-mk-theme="dark"] .mkpa-comment-meta b{color:#eef5f8!important}
html[data-mk-theme="dark"] .mkpa-comments-summary-head p,html[data-mk-theme="dark"] .mkpa-comment-stats span,html[data-mk-theme="dark"] .mkpa-comment-compose p,html[data-mk-theme="dark"] .mkpa-comment-meta span,html[data-mk-theme="dark"] .mkpa-comment-parent{color:#8fa5b0!important}
html[data-mk-theme="dark"] .mkpa-comments-summary-list article{background:#102432!important;border-color:#203b49!important}html[data-mk-theme="dark"] .mkpa-comments-summary-list b{color:#e8f0f4!important}html[data-mk-theme="dark"] .mkpa-comments-summary-list span{color:#8da3ae!important}html[data-mk-theme="dark"] .mkpa-comments-summary-list p,html[data-mk-theme="dark"] .mkpa-comment-item>p{color:#d4e0e5!important}
html[data-mk-theme="dark"] .mkpa-comment-target input,html[data-mk-theme="dark"] .mkpa-comment-visibility select,html[data-mk-theme="dark"] .mkpa-comment-compose input,html[data-mk-theme="dark"] .mkpa-comment-compose select,html[data-mk-theme="dark"] .mkpa-comment-compose textarea,html[data-mk-theme="dark"] .mkpa-comment-actions select,html[data-mk-theme="dark"] .mkpa-comment-actions textarea{background:#081620!important;border-color:#294653!important;color:#e8f0f3!important}
html[data-mk-theme="dark"] .mkpa-comment-filters{background:#0e2230!important;border-color:#1f3b49!important}html[data-mk-theme="dark"] .mkpa-comment-filters select{background:#081620!important;border-color:#294653!important;color:#e8f0f3!important}html[data-mk-theme="dark"] .mkpa-comment-filters>a{color:#9eb3bd!important}
html[data-mk-theme="dark"] .mkpa-comment-meta em{background:#14303d!important;color:#b7cbd4!important}html[data-mk-theme="dark"] .mkpa-comment-meta i{background:#17351f!important;color:#d5edcc!important}html[data-mk-theme="dark"] .mkpa-comment-item.is-private .mkpa-comment-meta i:first-of-type{background:#17283a!important;color:#cfe0ed!important}
html[data-mk-theme="dark"] .mkpa-comment-actions{border-color:#203946!important}


/* v0.9.19 — Planer: CTA i przewijana lista punktów w trybie ciemnym */
html[data-mk-theme="dark"] .mkp-plan-cta a{
  background:#153541!important;
  border:1px solid #2F7E88!important;
  color:#FFFFFF!important;
  box-shadow:none!important;
}
html[data-mk-theme="dark"] .mkp-plan-cta a:hover{
  background:#194352!important;
  border-color:#4A98A2!important;
}
html[data-mk-theme="dark"] .mkp-plan-points-head{
  background:#102432!important;
}

/* v0.9.21 — Rozdzielnica LUX: spójny ciemny warsztat + jasna elewacja techniczna */
html[data-mk-theme="dark"] .mkp-board-find-layout .mkp-search-wrap,
html[data-mk-theme="dark"] .mkp-board-guide{
  background:#0b1b27!important;
  border-color:#1f3b49!important;
  box-shadow:none!important;
}
html[data-mk-theme="dark"] .mkp-board-guide>b{color:#e6eff3!important}
html[data-mk-theme="dark"] .mkp-board-guide>p{color:#849aa5!important}
html[data-mk-theme="dark"] .mkp-board-guide .mkp-board-legend{color:#9bb0ba!important}
html[data-mk-theme="dark"] .mkp-room-open,
html[data-mk-theme="dark"] .mkp-export-pdf,
html[data-mk-theme="dark"] .mkp-zoom-group button{
  background:#102431!important;
  border-color:#2a4855!important;
  color:#dce8ed!important;
  box-shadow:none!important;
}
html[data-mk-theme="dark"] .mkp-room-open:hover,
html[data-mk-theme="dark"] .mkp-export-pdf:hover,
html[data-mk-theme="dark"] .mkp-zoom-group button:hover{
  background:#15313f!important;
  border-color:#356272!important;
  color:#fff!important;
}
html[data-mk-theme="dark"] .mkp-zoom-group button.is-active{
  background:#173e50!important;
  border-color:#2f7e88!important;
  color:#fff!important;
}
html[data-mk-theme="dark"] .mkp-zoom-group output{
  background:#102431!important;
  color:#dce8ed!important;
}
html[data-mk-theme="dark"] .mkp-room-tools small,
html[data-mk-theme="dark"] .mkp-board-hint{color:#8198a4!important}
html[data-mk-theme="dark"] .mkp-board-workspace{
  background:#07151f!important;
  border-color:#1b3542!important;
  box-shadow:none!important;
}
html[data-mk-theme="dark"] .mkp-board-shell{
  background:#0a1a25!important;
  border-color:#203b49!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.01)!important;
}
html[data-mk-theme="dark"] .mkp-board{
  background:#e7ebee!important;
  color:#17212b!important;
  border-color:#c2cbd0!important;
  box-shadow:0 9px 28px rgba(0,0,0,.24),inset 0 0 0 1px rgba(255,255,255,.62)!important;
}
html[data-mk-theme="dark"] .mkp-board-name strong{color:#203543!important}
html[data-mk-theme="dark"] .mkp-board-name span,
html[data-mk-theme="dark"] .mkp-board-name small{color:#58707d!important}
html[data-mk-theme="dark"] .mkp-board-workspace.has-panel .mkp-apparatus-panel{
  background:#0b1b27!important;
  border-color:#244451!important;
  color:#dce8ed!important;
  box-shadow:0 14px 36px rgba(0,0,0,.34)!important;
}
html[data-mk-theme="dark"] .mkp-board-workspace.has-panel .mkp-panel-heading h2,
html[data-mk-theme="dark"] .mkp-board-workspace.has-panel .mkp-panel-description,
html[data-mk-theme="dark"] .mkp-board-workspace.has-panel .mkp-panel-circuit b{color:#eef5f7!important}
html[data-mk-theme="dark"] .mkp-board-workspace.has-panel .mkp-panel-heading>strong,
html[data-mk-theme="dark"] .mkp-board-workspace.has-panel .mkp-panel-explanation,
html[data-mk-theme="dark"] .mkp-board-workspace.has-panel .mkp-panel-facts>div,
html[data-mk-theme="dark"] .mkp-board-workspace.has-panel .mkp-panel-location{
  background:#102532!important;
  border-color:#254552!important;
  color:#cbd9df!important;
}
html[data-mk-theme="dark"] .mkp-board-workspace.has-panel .mkp-panel-facts span,
html[data-mk-theme="dark"] .mkp-board-workspace.has-panel .mkp-panel-circuit span{color:#89a0ab!important}
html[data-mk-theme="dark"] .mkp-board-workspace.has-panel .mkp-panel-facts b{color:#e4edf1!important}
html[data-mk-theme="dark"] .mkp-board-workspace.has-panel .mkp-panel-close{
  background:#12313d!important;
  color:#eef5f7!important;
  border:1px solid #2a515e!important;
}

/* v0.9.22 — pomoc kontekstowa w trybie ciemnym */
html[data-mk-theme="dark"] .mkp-help-button{background:#102632!important;border-color:#294955!important;color:#dce9ee!important;box-shadow:none!important}
html[data-mk-theme="dark"] .mkp-help-button>span{background:#173a46!important;color:#9fd8de!important}
html[data-mk-theme="dark"] .mkp-help-button:hover{background:#15313e!important;border-color:#397080!important}
html[data-mk-theme="dark"] .mkp-help-dialog{background:#0b1b27!important;color:#e8f0f4!important;border-color:#284653!important;box-shadow:0 30px 90px rgba(0,0,0,.55)!important}
html[data-mk-theme="dark"] .mkp-help-dialog-head{background:linear-gradient(180deg,#102532,#0d202c)!important;border-bottom-color:#24414e!important}
html[data-mk-theme="dark"] .mkp-help-dialog-head h2{color:#f0f6f8!important}
html[data-mk-theme="dark"] .mkp-help-dialog-head p{color:#91a7b1!important}
html[data-mk-theme="dark"] .mkp-help-x{background:#132d39!important;border-color:#2b4b58!important;color:#d7e4e9!important}
html[data-mk-theme="dark"] .mkp-help-x:hover{background:#193846!important;color:#fff!important}
html[data-mk-theme="dark"] .mkp-help-steps li>span{background:#153642!important;color:#9ed4da!important}
html[data-mk-theme="dark"] .mkp-help-steps p{color:#d4e0e5!important}
html[data-mk-theme="dark"] .mkp-help-tip{background:#102a2b!important;border-color:#28504b!important}
html[data-mk-theme="dark"] .mkp-help-tip b{color:#8ed0b2!important}
html[data-mk-theme="dark"] .mkp-help-tip p{color:#b8d0c5!important}
html[data-mk-theme="dark"] .mkp-help-dialog-foot{background:rgba(11,27,39,.97)!important;border-top-color:#24414e!important}
html[data-mk-theme="dark"] .mkp-help-dialog-foot label{color:#95aab4!important}
html[data-mk-theme="dark"] .mkp-help-understood{background:#173b4e!important;border-color:#2f7e88!important;color:#fff!important}

/* v0.9.23 — nowe ustawienia i dziennik w trybie ciemnym */
html[data-mk-theme="dark"] .mkpa-legacy-tools{border-top-color:#203946!important}
html[data-mk-theme="dark"] .mkpa-legacy-tools>summary{background:#0f2230!important;border-color:#244451!important;color:#9fb2bc!important}
html[data-mk-theme="dark"] .mkpa-settings-overview article,
html[data-mk-theme="dark"] .mkpa-system-check{background:#0b1b27!important;border-color:#1f3b49!important;box-shadow:none!important}
html[data-mk-theme="dark"] .mkpa-settings-overview strong{color:#edf4f7!important}
html[data-mk-theme="dark"] .mkpa-settings-overview span,
html[data-mk-theme="dark"] .mkpa-settings-overview small{color:#8fa5b0!important}
html[data-mk-theme="dark"] .mkpa-system-check-grid>div{background:#102431!important;border-color:#234350!important}
html[data-mk-theme="dark"] .mkpa-system-check-grid b{color:#e5eef2!important}
html[data-mk-theme="dark"] .mkpa-comment-status-help{background:#102431!important;border-color:#234350!important;color:#91a7b2!important}
html[data-mk-theme="dark"] .mkpa-comment-status-help>b,
html[data-mk-theme="dark"] .mkpa-comment-status-help strong{color:#e5eef2!important}
html[data-mk-theme="dark"] .mkpa-perm{background:#132630!important;color:#a6b9c2!important}
html[data-mk-theme="dark"] .mkpa-perm.is-yes{background:#153226!important;color:#9fd1aa!important}
html[data-mk-theme="dark"] .mkpa-perm.is-no{background:#2a2023!important;color:#c5a1a7!important}
html[data-mk-theme="dark"] .mkpa-perm.is-limited{background:#12303c!important;color:#9fc5d2!important}
html[data-mk-theme="dark"] .mkp-comment-author-role,
html[data-mk-theme="dark"] .mkp-comments-preview-list article>div small{color:#8fa5b0!important}

/* v0.9.25 — dark mode akceptacji */
html[data-mk-theme="dark"] .mkp-project-phase,html[data-mk-theme="dark"] .mkp-approval-panel,html[data-mk-theme="dark"] .mkp-control-decision-strip>div,html[data-mk-theme="dark"] .mkp-approval-history{background:#0d202c!important;border-color:#244351!important;color:#e8f0f4!important}html[data-mk-theme="dark"] .mkp-project-phase b,html[data-mk-theme="dark"] .mkp-approval-panel h2,html[data-mk-theme="dark"] .mkp-control-decision-strip b,html[data-mk-theme="dark"] .mkp-approval-history summary,html[data-mk-theme="dark"] .mkp-control-read-values b{color:#eaf2f5!important}html[data-mk-theme="dark"] .mkp-project-phase p,html[data-mk-theme="dark"] .mkp-approval-panel p,html[data-mk-theme="dark"] .mkp-control-decision-strip span,html[data-mk-theme="dark"] .mkp-approval-history article span{color:#8fa5b0!important}html[data-mk-theme="dark"] .mkp-control-read-values>div{background:#102431!important;border-color:#284653!important}html[data-mk-theme="dark"] .mkp-approve-form input,html[data-mk-theme="dark"] .mkp-change-request textarea{background:#081620!important;border-color:#294653!important;color:#e8f0f3!important}html[data-mk-theme="dark"] .mkp-room-approve{background:#12313d!important;border-color:#2f7e88!important;color:#eaf4f6!important}html[data-mk-theme="dark"] .mkpa-workflow-card,html[data-mk-theme="dark"] .mkpa-approval-overview,html[data-mk-theme="dark"] .mkpa-approval-admin{background:#0b1b27!important;border-color:#1f3b49!important}html[data-mk-theme="dark"] .mkpa-workflow-card h2,html[data-mk-theme="dark"] .mkpa-approval-overview h2,html[data-mk-theme="dark"] .mkpa-approval-admin h2,html[data-mk-theme="dark"] .mkpa-approval-history-list b{color:#eaf2f5!important}html[data-mk-theme="dark"] .mkpa-workflow-card p,html[data-mk-theme="dark"] .mkpa-approval-overview p,html[data-mk-theme="dark"] .mkpa-approval-admin p,html[data-mk-theme="dark"] .mkpa-approval-history-list span,html[data-mk-theme="dark"] .mkpa-approval-history-list small{color:#8fa5b0!important}html[data-mk-theme="dark"] .mkpa-workflow-card li span{background:#102431;border-color:#31505f}html[data-mk-theme="dark"] .mkpa-workflow-card li:before{background:#27404c}

/* v0.9.27 — historia aktywności */
html[data-mk-theme="dark"] .mkpa-activity-card{background:#0b1b27!important;border-color:#1f3b49!important}
html[data-mk-theme="dark"] .mkpa-activity-head{border-color:#203946!important}
html[data-mk-theme="dark"] .mkpa-activity-head h2,html[data-mk-theme="dark"] .mkpa-activity-copy b,html[data-mk-theme="dark"] .mkpa-activity-copy p{color:#e8f0f4!important}
html[data-mk-theme="dark"] .mkpa-activity-head p,html[data-mk-theme="dark"] .mkpa-activity-copy small{color:#8fa5b0!important}
html[data-mk-theme="dark"] .mkpa-activity-head>span,html[data-mk-theme="dark"] .mkpa-activity-copy span,html[data-mk-theme="dark"] .mkpa-activity-copy em{background:#102432!important;color:#9fb2bc!important}
html[data-mk-theme="dark"] .mkpa-activity-list article{border-color:#1d3440!important}


/* v0.9.29 — wyszukiwarki w trybie ciemnym */
html[data-mk-theme="dark"] .mkpa-project-search,html[data-mk-theme="dark"] .mkpa-global-search,html[data-mk-theme="dark"] .mkpa-search-result-card,html[data-mk-theme="dark"] .mkpa-search-empty{background:#0b1b27!important;border-color:#203c49!important;color:#e5eef2!important;box-shadow:none!important}
html[data-mk-theme="dark"] .mkpa-top-search{background:#0c1d28!important;border-color:#23414f!important;color:#e7f0f4!important}
html[data-mk-theme="dark"] .mkpa-search-result-card h3,html[data-mk-theme="dark"] .mkpa-search-summary b{color:#eaf2f5!important}html[data-mk-theme="dark"] .mkpa-search-result-card p,html[data-mk-theme="dark"] .mkpa-search-result-card small,html[data-mk-theme="dark"] .mkpa-search-empty p{color:#8fa5b0!important}html[data-mk-theme="dark"] .mkpa-search-group-head span,html[data-mk-theme="dark"] .mkpa-search-summary strong{background:#12303d!important;color:#a7c0ca!important}
html[data-mk-theme="dark"] .mkp-header-search,html[data-mk-theme="dark"] .mkp-global-search,html[data-mk-theme="dark"] .mkp-search-page-result,html[data-mk-theme="dark"] .mkp-search-page-empty{background:#0b1b27!important;border-color:#203c49!important;color:#e7f0f4!important;box-shadow:none!important}
html[data-mk-theme="dark"] .mkp-header-search input,html[data-mk-theme="dark"] .mkp-global-search input{color:#e8f0f4!important}html[data-mk-theme="dark"] .mkp-search-page-result h3,html[data-mk-theme="dark"] .mkp-search-page-group-head h2,html[data-mk-theme="dark"] .mkp-search-page-summary b,html[data-mk-theme="dark"] .mkp-search-page-empty b{color:#eaf2f5!important}html[data-mk-theme="dark"] .mkp-search-page-result p,html[data-mk-theme="dark"] .mkp-search-page-result small,html[data-mk-theme="dark"] .mkp-search-page-empty p{color:#8fa5b0!important}html[data-mk-theme="dark"] .mkp-search-page-group-head span,html[data-mk-theme="dark"] .mkp-search-page-summary strong{background:#12303d!important;color:#a8c0ca!important}


/* v0.9.34 — globalny pulpit w dark mode */
html[data-mk-theme="dark"] .mkpa-project-viewbar b,html[data-mk-theme="dark"] .mkpa-home-attention-project,html[data-mk-theme="dark"] .mkpa-home-clear b,html[data-mk-theme="dark"] .mkpa-home-activity-row b{color:#e8f0f4!important}
html[data-mk-theme="dark"] .mkpa-project-viewbar a,html[data-mk-theme="dark"] .mkpa-home-attention-actions a{background:#102432!important;border-color:#274452!important;color:#cfe0e6!important}
html[data-mk-theme="dark"] .mkpa-home-attention-actions a.is-photo{background:#10303a!important;border-color:#2f6670!important;color:#a9d9df!important}
html[data-mk-theme="dark"] .mkpa-home-command,html[data-mk-theme="dark"] .mkpa-home-activity{background:#0b1b27!important;border-color:#1f3b49!important;box-shadow:none!important}
html[data-mk-theme="dark"] .mkpa-home-attention-stats article{background:#102432!important;border-color:#203b49!important}
html[data-mk-theme="dark"] .mkpa-home-attention-stats strong{color:#edf5f7!important}
html[data-mk-theme="dark"] .mkpa-home-attention-stats span,html[data-mk-theme="dark"] .mkpa-home-attention-stats small,html[data-mk-theme="dark"] .mkpa-project-last,html[data-mk-theme="dark"] .mkpa-home-attention-row small,html[data-mk-theme="dark"] .mkpa-home-activity-row small{color:#8199a5!important}
html[data-mk-theme="dark"] .mkpa-home-attention-list,html[data-mk-theme="dark"] .mkpa-home-activity-list,html[data-mk-theme="dark"] .mkpa-home-clear{border-color:#203b49!important}
html[data-mk-theme="dark"] .mkpa-home-attention-row,html[data-mk-theme="dark"] .mkpa-home-activity-row{border-color:#1d3440!important}
html[data-mk-theme="dark"] .mkpa-home-activity-row:hover{background:#0f2430!important}
html[data-mk-theme="dark"] .mkpa-home-activity-row span,html[data-mk-theme="dark"] .mkpa-home-clear span{color:#8fa5b0!important}

/* v0.9.35 — dark mode: paszporty urządzeń */
html[data-mk-theme="dark"] .mkpa-asset-stats>div,html[data-mk-theme="dark"] .mkpa-asset-editor>form,html[data-mk-theme="dark"] .mkpa-asset-relations,html[data-mk-theme="dark"] .mkpa-asset-card,html[data-mk-theme="dark"] .mkpa-asset-readonly-detail{background:#0b1b27!important;border-color:#1f3b49!important;box-shadow:none!important}html[data-mk-theme="dark"] .mkpa-asset-stats strong,html[data-mk-theme="dark"] .mkpa-asset-card h2,html[data-mk-theme="dark"] .mkpa-asset-relations a strong,html[data-mk-theme="dark"] .mkpa-asset-facts b{color:#eaf2f5!important}html[data-mk-theme="dark"] .mkpa-asset-card>p,html[data-mk-theme="dark"] .mkpa-asset-card>small,html[data-mk-theme="dark"] .mkpa-asset-trace-mini span,html[data-mk-theme="dark"] .mkpa-asset-relations p{color:#8fa5b0!important}html[data-mk-theme="dark"] .mkpa-asset-relations a,html[data-mk-theme="dark"] .mkpa-asset-facts span{border-color:#284653!important;background:#102431!important}html[data-mk-theme="dark"] .mkpa-asset-readonly-detail aside{background:#102c35!important;border-color:#28515d!important}html[data-mk-theme="dark"] .mkpa-asset-service-note{background:#2a241a!important;border-color:#4b3c25!important}
html[data-mk-theme="dark"] .mkp-asset-card,html[data-mk-theme="dark"] .mkp-asset-detail-main,html[data-mk-theme="dark"] .mkp-asset-photo-grid a{background:#0b1b27!important;border-color:#1f3b49!important;box-shadow:none!important}html[data-mk-theme="dark"] .mkp-asset-card h3,html[data-mk-theme="dark"] .mkp-asset-detail h2,html[data-mk-theme="dark"] .mkp-asset-facts b,html[data-mk-theme="dark"] .mkp-asset-group-head h2,html[data-mk-theme="dark"] .mkp-asset-related-head h3{color:#eaf2f5!important}html[data-mk-theme="dark"] .mkp-asset-card p,html[data-mk-theme="dark"] .mkp-asset-card small,html[data-mk-theme="dark"] .mkp-asset-model,html[data-mk-theme="dark"] .mkp-asset-photo-grid span{color:#8fa5b0!important}html[data-mk-theme="dark"] .mkp-asset-facts span{background:#102431!important;border-color:#284653!important}html[data-mk-theme="dark"] .mkp-asset-note{background:#102431!important;color:#dce7eb!important}html[data-mk-theme="dark"] .mkp-asset-trace{background:#102c35!important;border-color:#28515d!important}html[data-mk-theme="dark"] .mkp-asset-trace h3,html[data-mk-theme="dark"] .mkp-asset-trace b{color:#dfecef!important}
