@font-face {
    font-family: "Geist";
    src: url("geist-latin-ext.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

/* 1.8.161: logo klienta bez osobnej ikony oraz wyrównanie nagłówków desktopowych. */
.choma-portal-app .choma-sidebar__logo--choma {
    box-sizing:border-box !important;
    height:58px !important;
    min-height:58px !important;
    overflow:hidden !important;
}
.choma-portal-app .choma-sidebar__brand-logo,
.choma-portal-app .choma-topbar__brand-logo {
    display:block !important;
    width:100% !important;
    height:100% !important;
    max-width:100% !important;
    max-height:100% !important;
    object-fit:contain !important;
    object-position:left center !important;
}
.choma-portal-app.choma-view-settings .choma-brand-crop {
    display:grid;
    min-width:0;
    gap:10px;
    padding:15px;
    border:1px dashed #adc2d1;
    border-radius:9px;
    background:linear-gradient(135deg,#fff 0%,#f7fafc 100%);
    color:#092f53;
}
.choma-portal-app.choma-view-settings .choma-brand-crop > strong {
    font-size:11px;
    font-weight:800;
    letter-spacing:.07em;
    text-transform:uppercase;
}
.choma-portal-app.choma-view-settings .choma-brand-crop__stage {
    display:flex;
    box-sizing:border-box;
    overflow:hidden;
    align-items:center;
    justify-content:center;
    border:1px solid #d4dee5;
    border-radius:8px;
    background-color:#fff;
    background-image:linear-gradient(45deg,#eef2f4 25%,transparent 25%),linear-gradient(-45deg,#eef2f4 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#eef2f4 75%),linear-gradient(-45deg,transparent 75%,#eef2f4 75%);
    background-position:0 0,0 6px,6px -6px,-6px 0;
    background-size:12px 12px;
}
.choma-portal-app.choma-view-settings .choma-brand-crop__stage--logo {
    width:100%;
    height:112px;
}
.choma-portal-app.choma-view-settings .choma-brand-crop__stage :is(img,canvas) {
    display:block;
    width:100%;
    height:100%;
    object-fit:contain;
}
.choma-portal-app.choma-view-settings .choma-brand-crop__stage [hidden] {
    display:none !important;
}
.choma-portal-app.choma-view-settings .choma-brand-crop__controls {
    display:grid;
    gap:7px;
}
.choma-portal-app.choma-view-settings .choma-brand-crop__controls[hidden] {
    display:none !important;
}
.choma-portal-app.choma-view-settings .choma-brand-crop__controls > span {
    display:grid;
    grid-template-columns:92px minmax(0,1fr);
    align-items:center;
    gap:8px;
    color:#607586;
    font-size:10px;
    font-weight:700;
}
.choma-portal-app.choma-view-settings .choma-branding-url {
    grid-column:1 / -1;
}
.choma-portal-app.choma-view-settings .choma-branding-url input[type="text"] {
    box-sizing:border-box;
    width:100%;
    min-height:42px;
    padding:0 13px;
    border:1px solid var(--oso-control-border);
    border-radius:7px;
    background:var(--choma-theme-surface,#fff);
    color:#123d62;
    font:600 13px/1 Geist,Arial,sans-serif;
    letter-spacing:0;
    text-transform:none;
}

@media (max-width:900px) {
    .choma-portal-app .choma-topbar__mobile-logo {
        height:42px !important;
        overflow:hidden !important;
    }
    .choma-portal-app .choma-topbar__mobile-logo .choma-topbar__brand-logo {
        object-fit:contain !important;
        object-position:left center !important;
    }
    .choma-portal-app.choma-view-settings .choma-branding-url {
        grid-column:auto;
    }
}

/* 1.8.68 — wspólny język wizualny modułów i czytelne ustawienia panelu. */
.choma-portal-app {
    --oso-card-border:#d5e0e7;
    --oso-card-shadow:0 14px 36px rgba(36,66,88,.07);
    --oso-pearl-gradient:linear-gradient(135deg,#fff 0%,#f8fafb 60%,#f1f5f7 100%);
    --oso-control-border:#c8d8e3;
    --oso-red:#d3163a;
}
.choma-portal-app .choma-module-head {
    position:relative;
    min-height:112px;
    align-items:flex-end;
    margin-bottom:24px;
    padding:0 4px 21px;
    border-bottom:1px solid #dce5eb;
}
.choma-portal-app .choma-module-head::after {
    position:absolute;
    right:0;
    bottom:-1px;
    left:0;
    height:2px;
    border-radius:999px;
    background:linear-gradient(90deg,var(--oso-red) 0 76px,rgba(11,73,200,.16) 76px 100%);
    content:"";
}
.choma-portal-app .choma-module-head .choma-eyebrow {
    margin-bottom:10px;
    color:var(--oso-red);
    font-size:12px;
    letter-spacing:.12em;
}
.choma-portal-app .choma-module-head h1 {
    color:#102c42;
}
.choma-portal-app .choma-module-head p {
    max-width:760px;
    color:#667b8c;
}

/* Ustawienia: czytelny wybór wariantu oraz osobny obszar personalizacji. */
.choma-portal-app.choma-view-settings .choma-appearance-panel,
.choma-portal-app.choma-view-settings .choma-branding-panel,
.choma-portal-app.choma-view-settings .choma-permissions-panel {
    overflow:hidden;
    border:1px solid var(--oso-card-border);
    border-radius:12px;
    background:#fff;
    box-shadow:var(--oso-card-shadow);
}
.choma-portal-app.choma-view-settings .choma-branding-panel,
.choma-portal-app.choma-view-settings .choma-permissions-panel {
    margin-top:24px;
}
.choma-portal-app.choma-view-settings :is(.choma-appearance-panel,.choma-branding-panel,.choma-permissions-panel) > .choma-panel__head {
    align-items:flex-start !important;
    margin:0;
    padding:24px 28px;
    border-bottom:1px solid #e1e7ec;
    background:var(--oso-pearl-gradient);
}
.choma-portal-app.choma-view-settings .choma-appearance-panel > .choma-panel__head {
    background:#fff !important;
    box-shadow:none !important;
}
.choma-portal-app.choma-view-settings :is(.choma-appearance-panel,.choma-branding-panel,.choma-permissions-panel) > .choma-panel__head .choma-eyebrow {
    color:var(--oso-red);
    font-size:11px;
    letter-spacing:.12em;
}
.choma-portal-app.choma-view-settings :is(.choma-appearance-panel,.choma-branding-panel,.choma-permissions-panel) > .choma-panel__head h2 {
    margin-top:7px;
    color:#102c42;
    font-size:clamp(28px,2.4vw,38px);
}
.choma-portal-app.choma-view-settings .choma-branding-panel > .choma-panel__head p {
    max-width:820px;
    margin:9px 0 0;
    color:#667b8c;
    font-size:13px;
    line-height:1.55;
}
.choma-portal-app.choma-view-settings .choma-appearance-panel > form {
    padding:26px 28px 28px;
}
.choma-portal-app.choma-view-settings .choma-theme-choices {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:14px;
}
.choma-portal-app.choma-view-settings .choma-theme-choice {
    position:relative;
    display:grid !important;
    width:100% !important;
    height:auto !important;
    min-height:88px !important;
    grid-template-columns:58px minmax(0,1fr) !important;
    grid-template-rows:auto auto !important;
    align-items:center !important;
    gap:3px 14px !important;
    margin:0 !important;
    padding:14px 16px !important;
    overflow:hidden;
    border:1px solid #d1dde5 !important;
    border-radius:10px !important;
    background:#fff !important;
    color:#102f48 !important;
    box-shadow:0 5px 15px rgba(36,66,88,.04) !important;
    text-align:left !important;
    transform:none !important;
    transition:border-color .22s ease,box-shadow .22s ease,background .22s ease,transform .22s ease !important;
}
.choma-portal-app.choma-view-settings .choma-theme-choice::before {
    position:absolute;
    inset:0 auto 0 0;
    width:4px;
    background:transparent;
    content:"";
}
.choma-portal-app.choma-view-settings .choma-theme-choice:hover,
.choma-portal-app.choma-view-settings .choma-theme-choice:focus-visible {
    border-color:#91aec2 !important;
    background:var(--oso-pearl-gradient) !important;
    box-shadow:0 9px 22px rgba(36,66,88,.10) !important;
    transform:translateY(-1px) !important;
}
.choma-portal-app.choma-view-settings .choma-theme-choice.is-current {
    border-color:#6d96b3 !important;
    background:linear-gradient(135deg,#fff 0%,#f4f8fb 100%) !important;
    box-shadow:0 0 0 2px rgba(12,90,255,.08),0 9px 22px rgba(36,66,88,.08) !important;
}
.choma-portal-app.choma-view-settings .choma-theme-choice.is-current::before {
    background:var(--oso-gradient);
}
.choma-portal-app.choma-view-settings .choma-theme-choice .choma-theme-swatch {
    grid-row:1 / 3;
    width:54px;
    height:54px;
    border:1px solid rgba(9,47,83,.14);
    border-radius:10px;
    box-shadow:inset 0 -2px 0 rgba(0,0,0,.10);
}
.choma-portal-app.choma-view-settings .choma-theme-choice strong {
    align-self:end;
    margin:0;
    color:#102f48;
    font-size:14px;
    font-weight:750;
    line-height:1.2;
}
.choma-portal-app.choma-view-settings .choma-theme-choice small {
    align-self:start;
    color:#718493;
    font-size:11px;
    font-weight:500;
    line-height:1.35;
}
.choma-portal-app.choma-view-settings .choma-appearance-hint {
    margin:17px 0 0;
    color:#718493;
    font-size:11px;
}
.choma-portal-app.choma-view-settings .choma-branding-form {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px 20px;
    margin:0;
    padding:26px 28px 28px;
}
.choma-portal-app.choma-view-settings .choma-branding-form label {
    display:grid;
    gap:9px;
    min-width:0;
    padding:15px;
    border:1px dashed #adc2d1;
    border-radius:9px;
    background:linear-gradient(135deg,#fff 0%,#f7fafc 100%);
    color:#092f53;
    font-size:11px;
    font-weight:800;
    letter-spacing:.07em;
    text-transform:uppercase;
}
.choma-portal-app.choma-view-settings .choma-branding-form input[type="file"] {
    width:100%;
    min-height:48px;
    padding:7px;
    border:1px solid var(--oso-control-border);
    border-radius:7px;
    background:#fff;
    color:#607586;
    font-size:12px;
    letter-spacing:0;
    text-transform:none;
    cursor:pointer;
}
.choma-portal-app.choma-view-settings .choma-branding-form input[type="file"]::file-selector-button {
    min-height:32px;
    margin-right:12px;
    padding:0 14px;
    border:0;
    border-radius:6px;
    background:var(--oso-gradient);
    color:#fff;
    font-size:10px;
    font-weight:800;
    letter-spacing:.06em;
    cursor:pointer;
}
.choma-portal-app.choma-view-settings .choma-branding-form > .choma-btn {
    grid-column:1 / -1;
    justify-self:start;
}
.choma-portal-app.choma-view-settings .choma-system-status-head {
    margin-top:38px;
}
.choma-portal-app.choma-view-settings .choma-settings-grid {
    gap:14px;
}
.choma-portal-app.choma-view-settings .choma-component-card {
    position:relative;
    min-height:170px;
    padding:23px;
    overflow:hidden;
    border:1px solid var(--oso-card-border);
    border-radius:11px;
    background:#fff;
    box-shadow:0 9px 25px rgba(36,66,88,.055);
}
.choma-portal-app.choma-view-settings .choma-component-card::before {
    position:absolute;
    inset:0 auto 0 0;
    width:4px;
    background:var(--oso-gradient);
    content:"";
}
.choma-portal-app.choma-view-settings .choma-component-card h2 {
    margin:18px 0 8px;
    color:#102f48;
    font-size:24px;
}
.choma-portal-app.choma-view-settings .choma-component-card p {
    margin:0;
    color:#6a7d8c;
    font-size:12px;
    line-height:1.55;
}
.choma-portal-app.choma-view-settings .choma-permissions-panel dl {
    padding:10px 28px 23px;
}
.choma-portal-app.choma-view-settings .choma-permissions-panel dl div {
    padding:14px 0;
    border-bottom:1px solid #e3e9ed;
}
.choma-portal-app.choma-view-settings .choma-permissions-panel dd {
    color:#0b49c8;
}
.choma-portal-app.choma-view-settings .choma-permissions-panel > .choma-btn {
    margin:0 28px 28px;
}

/* Wspólne karty, formularze i listy: Kontakty, Procesy, Oferty, Wpisy i Akceptacje. */
.choma-portal-app:is(.choma-view-leads,.choma-view-processes,.choma-view-offers,.choma-view-offer,.choma-view-publications,.choma-view-publication,.choma-view-approvals) .choma-panel {
    border-color:var(--oso-card-border);
    border-radius:12px;
    background:#fff;
    box-shadow:var(--oso-card-shadow);
}
.choma-portal-app:is(.choma-view-leads,.choma-view-processes,.choma-view-offers,.choma-view-offer,.choma-view-publications,.choma-view-publication,.choma-view-approvals) .choma-panel__head {
    margin:0;
    padding:23px 27px;
    border-bottom:1px solid #e1e7ec;
    background:var(--oso-pearl-gradient);
}
.choma-portal-app:is(.choma-view-leads,.choma-view-processes,.choma-view-offers,.choma-view-offer,.choma-view-publications,.choma-view-publication,.choma-view-approvals) .choma-panel__head .choma-eyebrow {
    color:var(--oso-red);
    font-size:11px;
    letter-spacing:.11em;
}
.choma-portal-app:is(.choma-view-leads,.choma-view-processes,.choma-view-offers,.choma-view-offer,.choma-view-publications,.choma-view-publication,.choma-view-approvals) .choma-panel__head h2 {
    margin-top:6px;
    color:#102c42;
}
.choma-portal-app:is(.choma-view-offers,.choma-view-offer,.choma-view-publications,.choma-view-publication) :is(.choma-quick-create,.choma-editor-panel) > form:not(.choma-ai-reanalyze) {
    display:grid;
    gap:18px;
    margin:0;
    padding:27px;
}
.choma-portal-app:is(.choma-view-offers,.choma-view-offer,.choma-view-publications,.choma-view-publication) :is(.choma-quick-create,.choma-editor-panel) > form:not(.choma-ai-reanalyze) > label {
    display:grid;
    gap:8px;
    color:#092f53;
    font-size:11px;
    font-weight:780;
    letter-spacing:.06em;
    text-transform:uppercase;
}
.choma-portal-app:is(.choma-view-offers,.choma-view-offer,.choma-view-publications,.choma-view-publication) :is(.choma-quick-create,.choma-editor-panel) :is(input[type="text"],input[type="search"],select,textarea) {
    width:100%;
    min-height:48px;
    margin:0;
    padding:0 14px;
    border:1px solid var(--oso-control-border);
    border-radius:8px;
    outline:0;
    background:#fff;
    color:#102f48;
    box-shadow:inset 0 1px 2px rgba(36,66,88,.03);
    font-size:14px;
    font-weight:450;
    letter-spacing:0;
    text-transform:none;
}
.choma-portal-app:is(.choma-view-offers,.choma-view-offer,.choma-view-publications,.choma-view-publication) :is(.choma-quick-create,.choma-editor-panel) textarea {
    min-height:132px;
    padding:13px 15px;
    line-height:1.55;
    resize:vertical;
}
.choma-portal-app:is(.choma-view-offers,.choma-view-offer,.choma-view-publications,.choma-view-publication) :is(.choma-quick-create,.choma-editor-panel) :is(input,select,textarea):focus {
    border-color:#6e9abc;
    box-shadow:0 0 0 3px rgba(12,90,255,.08);
}
.choma-portal-app:is(.choma-view-offers,.choma-view-offer,.choma-view-publications,.choma-view-publication) .choma-editor-actions {
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}
.choma-portal-app:is(.choma-view-offers,.choma-view-offer,.choma-view-publications,.choma-view-publication) .choma-ai-reanalyze {
    margin:0;
    padding:0 27px 27px;
}
.choma-portal-app:is(.choma-view-leads,.choma-view-processes,.choma-view-offers,.choma-view-offer,.choma-view-publications,.choma-view-publication,.choma-view-approvals,.choma-view-settings) .choma-btn--primary {
    min-height:38px;
    border:1px solid #0a4bd0;
    border-left:4px solid var(--oso-red);
    border-radius:7px;
    background:var(--oso-gradient);
    color:#fff;
    box-shadow:0 8px 18px rgba(12,90,255,.14);
}
.choma-portal-app:is(.choma-view-leads,.choma-view-processes,.choma-view-offers,.choma-view-offer,.choma-view-publications,.choma-view-publication,.choma-view-approvals,.choma-view-settings) .choma-btn--primary:hover,
.choma-portal-app:is(.choma-view-leads,.choma-view-processes,.choma-view-offers,.choma-view-offer,.choma-view-publications,.choma-view-publication,.choma-view-approvals,.choma-view-settings) .choma-btn--primary:focus-visible {
    border-color:#0a4bd0;
    border-left-color:var(--oso-red);
    background:var(--oso-gradient);
    color:#fff;
    box-shadow:0 11px 23px rgba(12,90,255,.22);
    transform:translateY(-1px);
}
.choma-portal-app:is(.choma-view-leads,.choma-view-processes,.choma-view-offers,.choma-view-offer,.choma-view-publications,.choma-view-publication,.choma-view-approvals,.choma-view-settings) .choma-btn--outline {
    min-height:38px;
    border:1px solid #8da9bd;
    border-left:4px solid var(--oso-red);
    border-radius:7px;
    background:linear-gradient(135deg,#fff 0%,#f5f8fa 100%);
    color:#0b49c8;
}
.choma-portal-app:is(.choma-view-leads,.choma-view-processes,.choma-view-offers,.choma-view-offer,.choma-view-publications,.choma-view-publication,.choma-view-approvals,.choma-view-settings) .choma-btn--outline:hover,
.choma-portal-app:is(.choma-view-leads,.choma-view-processes,.choma-view-offers,.choma-view-offer,.choma-view-publications,.choma-view-publication,.choma-view-approvals,.choma-view-settings) .choma-btn--outline:focus-visible {
    border-color:#668eaa;
    border-left-color:var(--oso-red);
    background:var(--oso-pearl-gradient);
    color:#0839b9;
    box-shadow:0 8px 18px rgba(36,66,88,.10);
    transform:translateY(-1px);
}
.choma-portal-app:is(.choma-view-publications,.choma-view-approvals) .choma-center-status-grid {
    gap:13px;
    margin-bottom:22px;
}
.choma-portal-app:is(.choma-view-publications,.choma-view-approvals) .choma-center-status-card {
    position:relative;
    min-height:92px;
    padding:18px 20px 19px;
    overflow:hidden;
    border:1px solid var(--oso-card-border);
    border-radius:10px;
    background:#fff;
    box-shadow:0 7px 20px rgba(36,66,88,.05);
}
.choma-portal-app:is(.choma-view-publications,.choma-view-approvals) .choma-center-status-card::after {
    position:absolute;
    right:0;
    bottom:0;
    left:0;
    height:3px;
    background:var(--oso-gradient);
    content:"";
}
.choma-portal-app:is(.choma-view-publications,.choma-view-approvals) .choma-center-status-card strong {
    color:#252b31;
    font-weight:650;
}
.choma-portal-app:is(.choma-view-publications,.choma-view-approvals) .choma-center-status-card span {
    color:#667b8c;
}
.choma-portal-app:is(.choma-view-leads,.choma-view-publications,.choma-view-approvals) .choma-portal-table-wrap {
    overflow:auto;
    border-radius:0 0 11px 11px;
}
.choma-portal-app:is(.choma-view-leads,.choma-view-publications,.choma-view-approvals) .choma-portal-table th {
    padding:14px 18px;
    border-bottom:1px solid #d9e3e9;
    background:var(--oso-pearl-gradient);
    color:#5f7484;
    font-size:9px;
}
.choma-portal-app:is(.choma-view-leads,.choma-view-publications,.choma-view-approvals) .choma-portal-table td {
    padding:16px 18px;
    border-bottom:1px solid #e6ecef;
    color:#536b7b;
    font-size:11px;
}
.choma-portal-app:is(.choma-view-leads,.choma-view-publications,.choma-view-approvals) .choma-portal-table tbody tr {
    background:#fff;
    transition:background .2s ease,box-shadow .2s ease;
}
.choma-portal-app:is(.choma-view-leads,.choma-view-publications,.choma-view-approvals) .choma-portal-table tbody tr:hover {
    background:var(--oso-pearl-gradient);
    box-shadow:inset 4px 0 #0b59e6;
}
.choma-portal-app.choma-view-leads .choma-portal-filters {
    display:grid;
    grid-template-columns:minmax(220px,1.4fr) minmax(150px,.75fr) minmax(160px,.85fr) auto auto;
    align-items:end;
    gap:14px;
    margin-bottom:20px;
    padding:20px;
    border:1px solid var(--oso-card-border);
    border-radius:11px;
    background:#fff;
    box-shadow:0 9px 25px rgba(36,66,88,.05);
}
.choma-portal-app.choma-view-leads .choma-portal-filters label {
    color:#092f53;
    font-size:10px;
    font-weight:780;
    letter-spacing:.06em;
    text-transform:uppercase;
}
.choma-portal-app.choma-view-leads .choma-portal-filters :is(input,select) {
    height:46px;
    border:1px solid var(--oso-control-border);
    border-radius:8px;
    background:#fff;
    color:#102f48;
    font-size:13px;
    font-weight:450;
    letter-spacing:0;
    text-transform:none;
}
.choma-portal-app.choma-view-leads .choma-filter-clear {
    min-height:38px;
    align-content:center;
    color:#687d8d;
    font-size:11px;
    font-weight:700;
    letter-spacing:.04em;
    text-decoration:none;
    text-transform:uppercase;
}
.choma-portal-app:is(.choma-view-processes,.choma-view-offers) .choma-mail-list {
    display:grid;
    gap:9px;
    padding:20px 24px 24px;
}
.choma-portal-app:is(.choma-view-processes,.choma-view-offers) .choma-mail-list > a {
    position:relative;
    min-height:62px;
    padding:13px 17px 13px 20px;
    overflow:hidden;
    border:1px solid #dbe4ea;
    border-radius:9px;
    background:#fff;
    box-shadow:0 4px 12px rgba(36,66,88,.035);
    transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease,background .22s ease;
}
.choma-portal-app:is(.choma-view-processes,.choma-view-offers) .choma-mail-list > a::before {
    position:absolute;
    inset:0 auto 0 0;
    width:4px;
    background:var(--oso-gradient);
    content:"";
}
.choma-portal-app:is(.choma-view-processes,.choma-view-offers) .choma-mail-list > a:hover,
.choma-portal-app:is(.choma-view-processes,.choma-view-offers) .choma-mail-list > a:focus-visible {
    border-color:#9bb4c6;
    background:var(--oso-pearl-gradient);
    box-shadow:0 8px 22px rgba(36,66,88,.10);
    transform:translateY(-1px);
}
.choma-portal-app:is(.choma-view-processes,.choma-view-offers) .choma-mail-list > a > span {
    color:var(--oso-red);
    font-size:10px;
    font-weight:800;
    letter-spacing:.07em;
}
.choma-portal-app:is(.choma-view-processes,.choma-view-offers) .choma-mail-list > a > strong {
    color:#102f48;
}
.choma-portal-app:is(.choma-view-processes,.choma-view-offers) .choma-mail-list > a > time {
    color:#718493;
}
.choma-portal-app:is(.choma-view-offer,.choma-view-publication) .choma-rich-editor {
    overflow:hidden;
    border:1px solid var(--oso-control-border);
    border-radius:8px;
    background:#fff;
}
.choma-portal-app:is(.choma-view-offer,.choma-view-publication) .choma-center-info {
    margin:0 0 20px;
    border:1px solid #cddce6;
    border-left:4px solid #0b59e6;
    border-radius:8px;
    background:var(--oso-pearl-gradient);
}

@media (max-width:1000px) {
    .choma-portal-app.choma-view-settings .choma-theme-choices {
        grid-template-columns:1fr;
    }
    .choma-portal-app.choma-view-leads .choma-portal-filters {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .choma-portal-app.choma-view-leads .choma-portal-filters > label:first-of-type {
        grid-column:1 / -1;
    }
}
@media (max-width:700px) {
    .choma-portal-app .choma-module-head {
        min-height:0;
        align-items:flex-start;
        flex-direction:column;
        padding:0 0 18px;
    }
    .choma-portal-app .choma-module-head .choma-btn {
        width:100%;
    }
    .choma-portal-app.choma-view-settings :is(.choma-appearance-panel,.choma-branding-panel,.choma-permissions-panel) > .choma-panel__head,
    .choma-portal-app:is(.choma-view-leads,.choma-view-processes,.choma-view-offers,.choma-view-offer,.choma-view-publications,.choma-view-publication,.choma-view-approvals) .choma-panel__head {
        padding:20px 18px;
    }
    .choma-portal-app.choma-view-settings .choma-appearance-panel > form,
    .choma-portal-app.choma-view-settings .choma-branding-form,
    .choma-portal-app:is(.choma-view-offers,.choma-view-offer,.choma-view-publications,.choma-view-publication) :is(.choma-quick-create,.choma-editor-panel) > form:not(.choma-ai-reanalyze) {
        padding:20px 18px;
    }
    .choma-portal-app.choma-view-settings .choma-branding-form {
        grid-template-columns:1fr;
    }
    .choma-portal-app.choma-view-settings .choma-branding-form > .choma-btn {
        width:100%;
    }
    .choma-portal-app.choma-view-leads .choma-portal-filters {
        grid-template-columns:1fr;
        padding:17px;
    }
    .choma-portal-app.choma-view-leads .choma-portal-filters > label:first-of-type {
        grid-column:auto;
    }
    .choma-portal-app.choma-view-leads .choma-portal-filters .choma-btn {
        width:100%;
    }
    .choma-portal-app:is(.choma-view-publications,.choma-view-approvals) .choma-center-status-grid {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .choma-portal-app:is(.choma-view-processes,.choma-view-offers) .choma-mail-list {
        padding:16px;
    }
}
@media (max-width:430px) {
    .choma-portal-app.choma-view-settings .choma-theme-choice {
        grid-template-columns:50px minmax(0,1fr) !important;
        padding:12px !important;
    }
    .choma-portal-app.choma-view-settings .choma-theme-choice .choma-theme-swatch {
        width:46px;
        height:46px;
    }
    .choma-portal-app:is(.choma-view-publications,.choma-view-approvals) .choma-center-status-grid {
        grid-template-columns:1fr;
    }
}

/* 1.8.3: uproszczone Kontakty i czytelne narzędzia biurowe. */
.choma-portal-app .choma-system-header__technology{gap:4px}
.choma-portal-app .choma-system-header__technology img{margin-left:0}
.choma-portal-app .choma-sidebar__technology-logo{display:block;width:132px!important;max-width:100%;height:auto;filter:brightness(0) invert(1);opacity:.92}
.choma-portal-app .choma-sidebar__technology>span:last-child{min-width:0}
.choma-message-back{display:inline-flex;align-items:center;min-height:34px;padding:0 10px;border:1px solid #c8d5de;color:#123d62!important;font-size:11px;font-weight:700;letter-spacing:.06em;text-decoration:none;text-transform:uppercase;white-space:nowrap}
.choma-message-back:hover{border-color:#cf1738;color:#bd1031!important}
.choma-calendar-voice-note form{display:grid!important;grid-template-columns:1fr!important;gap:16px;padding:22px!important}
.choma-calendar-voice-note form>label{display:grid!important;grid-template-columns:1fr!important;gap:8px;width:100%!important;font-weight:700}
.choma-calendar-voice-note form input,.choma-calendar-voice-note form textarea{width:100%!important;max-width:none!important}
.choma-calendar-voice-note form textarea{min-height:150px!important}
.choma-calendar-voice-note form>button{justify-self:start;margin-left:0!important}
.choma-direct-note-intro,.choma-direct-note-intro+form{margin-left:26px;margin-right:26px}
@media (max-width:700px){.choma-calendar-voice-note form{padding:16px!important}.choma-direct-note-intro,.choma-direct-note-intro+form{margin-left:16px;margin-right:16px}.choma-message-back{font-size:10px}}

/* 1.8.4: jedna notatka, procesy i finalne logo na jasnym panelu. */
.choma-portal-app .choma-sidebar__technology-logo{filter:none!important;opacity:1}
.choma-note-composer{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px!important;padding:28px!important}
.choma-note-composer>strong,.choma-note-composer>p,.choma-note-composer>.choma-dictation-field,.choma-note-composer>button{grid-column:1/-1}
.choma-note-composer label{display:grid;gap:8px;color:#123d62;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.choma-note-composer label small{color:#64798b;font-size:10px;font-weight:500;letter-spacing:0;text-transform:none}
.choma-note-composer textarea{min-height:160px!important}
.choma-note-composer .choma-note-calendar-link{display:flex;align-items:center;gap:10px;grid-column:1/-1;letter-spacing:0;text-transform:none}
.choma-note-calendar-link input[type="date"]{max-width:190px;margin-left:8px}
.choma-calendar-note-link .choma-panel__head{align-items:center}
@media (max-width:700px){.choma-note-composer{grid-template-columns:1fr;padding:18px!important}.choma-note-composer label{grid-column:1}.choma-note-composer .choma-note-calendar-link{align-items:flex-start;flex-wrap:wrap}.choma-note-calendar-link input[type="date"]{margin-left:0}}

:root {
    --navy-950: #06243c;
    --navy-900: #082d4b;
    --navy-800: #0c3c61;
    --navy-700: #12547f;
    --blue-500: #1788d0;
    --red-600: #d40835;
    --red-500: #ea1742;
    --pearl: #f5f3ee;
    --white: #fff;
    --ink: #172a37;
    --muted: #697985;
    --line: #dce2e5;
    --soft-blue: #eaf3f9;
    --soft-red: #fff0f3;
    --soft-green: #eaf6ee;
    --green: #24754a;
    --shadow: 0 18px 50px rgba(7, 39, 62, .08);
    --sidebar: 232px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--pearl);
}

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    color: var(--ink);
    background: var(--pearl);
    font-family: "Geist", Arial, sans-serif;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid rgba(23, 136, 208, .3);
    outline-offset: 2px;
}

.choma-eyebrow {
    display: block;
    margin-bottom: 13px;
    color: var(--red-600);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .2em;
    line-height: 1.3;
}

.choma-btn {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 0;
    font-size: 11px;
    font-weight: 780;
    letter-spacing: .12em;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, background-color .18s ease, color .18s ease;
}

.choma-btn:hover {
    transform: translateY(-2px);
}

.choma-btn span {
    color: inherit;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0;
}

.choma-btn--primary {
    border-color: var(--red-600);
    color: #fff;
    background: var(--red-600);
}

.choma-btn--primary:hover {
    border-color: #b8072e;
    color: #fff;
    background: #b8072e;
}

.choma-btn--outline {
    border-color: #aebbc3;
    color: var(--navy-900);
    background: transparent;
}

.choma-btn--outline:hover {
    border-color: var(--navy-900);
    color: var(--navy-900);
}

/* Logowanie */
.choma-portal-login-page {
    overflow-x: hidden;
    background: var(--navy-900);
}

.choma-login {
    display: grid;
    min-height: 100vh;
    grid-template-columns: minmax(420px, 1.15fr) minmax(420px, .85fr);
}

.choma-login__brand {
    position: relative;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(38px, 5vw, 80px);
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 78% 24%, rgba(37, 149, 222, .42), transparent 30%),
        linear-gradient(145deg, rgba(6, 36, 60, .93), rgba(7, 54, 86, .92)),
        var(--navy-900);
}

.choma-login__brand::before {
    position: absolute;
    top: -35%;
    right: -22%;
    width: 72vw;
    height: 72vw;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
    box-shadow: 0 0 0 9vw rgba(255, 255, 255, .016), 0 0 0 18vw rgba(255, 255, 255, .012);
    content: "";
}

.choma-login__brand::after {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 55%;
    height: 3px;
    background: var(--red-600);
    content: "";
}

.choma-login__choma-logo {
    position: relative;
    z-index: 1;
    width: min(400px, 68%);
    height: auto;
}

.choma-login__brand > div {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin-top: auto;
    padding-top: 80px;
}

.choma-login__kicker {
    display: block;
    margin-bottom: 25px;
    color: var(--red-500);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .28em;
}

.choma-login__brand h1 {
    margin: 0 0 28px;
    color: #f7f6f2;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(46px, 5.2vw, 82px);
    font-weight: 400;
    letter-spacing: -.045em;
    line-height: .98;
}

.choma-login__brand p {
    max-width: 580px;
    margin: 0;
    color: rgba(255, 255, 255, .7);
    font-size: 16px;
    line-height: 1.7;
}

.choma-login__form-wrap {
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    padding: 50px clamp(30px, 7vw, 100px);
    background: var(--pearl);
}

.choma-login__form {
    width: min(100%, 440px);
}

.choma-login__form h2 {
    margin: 0 0 12px;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(40px, 4vw, 58px);
    font-weight: 400;
    letter-spacing: -.04em;
    line-height: 1;
}

.choma-login__form > p {
    margin: 0 0 35px;
    color: var(--muted);
    line-height: 1.6;
}

.choma-login__form > label,
.choma-lead-form > label,
.choma-portal-filters > label {
    display: block;
    margin-bottom: 20px;
    color: #52636e;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .03em;
}

.choma-login__form input[type="text"],
.choma-login__form input[type="password"],
.choma-lead-form input,
.choma-lead-form select,
.choma-lead-form textarea,
.choma-portal-filters input,
.choma-portal-filters select {
    display: block;
    width: 100%;
    height: 50px;
    margin-top: 8px;
    padding: 0 14px;
    border: 1px solid #cad2d7;
    border-radius: 0;
    outline: none;
    color: var(--ink);
    background: #fff;
    box-shadow: none;
    transition: border-color .16s ease, box-shadow .16s ease;
}

.choma-login__form input:focus,
.choma-lead-form input:focus,
.choma-lead-form select:focus,
.choma-lead-form textarea:focus,
.choma-portal-filters input:focus,
.choma-portal-filters select:focus {
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px rgba(23, 136, 208, .1);
}

.choma-login__options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin: 4px 0 28px;
    color: var(--muted);
    font-size: 12px;
}

.choma-login__options a {
    color: var(--navy-700);
    text-decoration: none;
}

.choma-check {
    display: flex;
    align-items: center;
    gap: 8px;
}

.choma-check input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--red-600);
}

.choma-login__form .choma-btn {
    width: 100%;
    min-height: 55px;
}

.choma-login__form > small {
    display: block;
    margin-top: 22px;
    color: #89959d;
    font-size: 10px;
    line-height: 1.5;
    text-align: center;
}

.choma-login--denied {
    display: flex;
    align-items: center;
    justify-content: center;
}

.choma-alert {
    margin: 0 0 22px;
    padding: 13px 15px;
    border-left: 3px solid var(--red-600);
    color: #7e1830;
    background: var(--soft-red);
    font-size: 13px;
    line-height: 1.5;
}

.choma-alert--success {
    border-color: var(--green);
    color: #205f40;
    background: var(--soft-green);
}

/* Konstrukcja aplikacji */
.choma-app {
    min-height: 100vh;
}

.choma-sidebar {
    position: fixed;
    z-index: 30;
    top: 0;
    bottom: 0;
    left: 0;
    display: flex;
    width: var(--sidebar);
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 34px 24px 26px;
    color: #fff;
    background:
        radial-gradient(circle at 100% 0, rgba(26, 129, 193, .25), transparent 32%),
        var(--navy-900);
}

.choma-sidebar__logo {
    display: block;
    margin-bottom: 50px;
}

.choma-sidebar__logo img {
    display: block;
    width: 165px;
    height: auto;
}

.choma-sidebar nav {
    display: grid;
    gap: 7px;
}

.choma-sidebar nav a,
.choma-mobile-nav a {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px 12px;
    color: rgba(255, 255, 255, .68);
    font-size: 12px;
    font-weight: 650;
    letter-spacing: .035em;
    text-decoration: none;
    transition: color .16s ease, background-color .16s ease;
}

.choma-sidebar nav a span,
.choma-mobile-nav a span {
    display: inline-flex;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .82);
    font-size: 18px;
    line-height: 1;
}

.choma-sidebar nav a:hover,
.choma-sidebar nav a.is-active {
    color: #fff;
    background: rgba(255, 255, 255, .08);
}

.choma-sidebar nav a.is-active {
    box-shadow: inset 3px 0 var(--red-500);
}

.choma-sidebar__footer {
    margin-top: auto;
    padding: 19px 12px 0;
    border-top: 1px solid rgba(255, 255, 255, .13);
}

.choma-sidebar__footer span {
    color: var(--red-500);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .22em;
}

.choma-sidebar__footer p {
    margin: 7px 0 0;
    color: rgba(255, 255, 255, .42);
    font-size: 10px;
    line-height: 1.5;
}

.choma-app__body {
    min-height: 100vh;
    padding-left: var(--sidebar);
}

.choma-topbar {
    position: sticky;
    z-index: 20;
    top: 0;
    display: flex;
    min-height: 74px;
    align-items: center;
    justify-content: flex-end;
    padding: 0 clamp(22px, 4vw, 56px);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .93);
    backdrop-filter: blur(14px);
}

.choma-topbar__mobile-logo {
    display: none;
}

.choma-topbar__right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.choma-site-link {
    display:inline-flex;
    min-height:34px;
    align-items:center;
    justify-content:center;
    padding:0 15px;
    border:1px solid var(--choma-theme-primary-dark,#0a4bd0);
    border-left:4px solid var(--choma-theme-edge,#d3163a);
    border-radius:7px;
    background:var(--oso-gradient,linear-gradient(135deg,#16488b 0%,#0871ff 100%));
    color:#fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-decoration: none;
}

.choma-user {
    display: flex;
    align-items: center;
    gap: 11px;
}

.choma-user > span {
    display: inline-flex;
    width: 37px;
    height: 37px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: var(--navy-800);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
}

.choma-user div {
    display: grid;
    gap: 2px;
}

.choma-user strong {
    color: var(--ink);
    font-size: 12px;
}

.choma-user a {
    color: var(--muted);
    font-size: 10px;
    text-decoration: none;
}

.choma-main {
    width: min(100%, 1560px);
    margin: 0 auto;
    padding: clamp(28px, 4vw, 58px) clamp(20px, 4vw, 58px) 70px;
}

.choma-mobile-nav {
    display: none;
}

.choma-page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 32px;
}

.choma-page-head h1 {
    margin: 0 0 9px;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(43px, 4.4vw, 66px);
    font-weight: 400;
    letter-spacing: -.045em;
    line-height: .98;
}

.choma-page-head p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

.choma-page-head--compact h1,
.choma-page-head--lead h1 {
    font-size: clamp(42px, 4vw, 60px);
}

.choma-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 13px;
    margin-bottom: 22px;
}

.choma-metric {
    position: relative;
    display: grid;
    min-height: 120px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 15px;
    padding: 22px;
    overflow: hidden;
    border: 1px solid var(--line);
    color: var(--ink);
    background: #fff;
    box-shadow: 0 8px 25px rgba(7, 39, 62, .035);
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease;
}

.choma-metric::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: var(--navy-700);
    content: "";
}

.choma-metric:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.choma-metric > span {
    min-width: 52px;
    color: var(--navy-900);
    font-size: 37px;
    font-weight: 540;
    letter-spacing: -.04em;
}

.choma-metric div {
    display: grid;
    gap: 5px;
}

.choma-metric strong {
    font-size: 13px;
}

.choma-metric small {
    color: var(--muted);
    font-size: 10px;
    line-height: 1.3;
}

.choma-metric > b {
    color: #9ba8af;
    font-size: 19px;
    font-weight: 400;
}

.choma-metric--red::before { background: var(--red-600); }
.choma-metric--blue::before { background: var(--blue-500); }
.choma-metric--green::before { background: var(--green); }
.choma-metric--navy::before { background: var(--navy-800); }

.choma-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
    gap: 22px;
    margin-bottom: 22px;
}

.choma-panel {
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 8px 30px rgba(7, 39, 62, .035);
}

.choma-panel__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 26px 18px;
    border-bottom: 1px solid #e7ebed;
}

.choma-panel__head .choma-eyebrow {
    margin-bottom: 7px;
    font-size: 9px;
}

.choma-panel__head h2 {
    margin: 0;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 29px;
    font-weight: 400;
    letter-spacing: -.025em;
}

.choma-panel__head > a {
    color: var(--red-600);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .07em;
    text-decoration: none;
    text-transform: uppercase;
}

.choma-empty {
    padding: 45px 26px;
    color: var(--muted);
    text-align: center;
}

.choma-empty strong {
    color: var(--navy-900);
    font-size: 17px;
}

.choma-empty p {
    margin: 7px 0 0;
    font-size: 12px;
}

.choma-task-list a {
    display: grid;
    min-height: 73px;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px 25px;
    border-bottom: 1px solid #edf0f2;
    color: var(--ink);
    text-decoration: none;
    transition: background-color .15s ease;
}

.choma-task-list a:last-child {
    border-bottom: 0;
}

.choma-task-list a:hover {
    background: #f8fafb;
}

.choma-task-time {
    color: var(--navy-700);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
}

.choma-task-time.is-overdue {
    color: var(--red-600);
}

.choma-task-list div {
    display: grid;
    gap: 5px;
}

.choma-task-list strong {
    font-size: 13px;
}

.choma-task-list small {
    overflow: hidden;
    color: var(--muted);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.choma-task-list b {
    color: var(--red-600);
    font-size: 18px;
    font-weight: 400;
}

.choma-pipeline {
    padding: 17px 25px 21px;
}

.choma-pipeline a {
    display: grid;
    grid-template-columns: minmax(110px, 1fr) minmax(80px, 1fr) 26px;
    align-items: center;
    gap: 13px;
    padding: 8px 0;
    color: var(--muted);
    font-size: 10px;
    font-weight: 650;
    text-decoration: none;
}

.choma-pipeline a > i {
    display: block;
    height: 4px;
    overflow: hidden;
    background: #e7ecef;
}

.choma-pipeline a > i b {
    display: block;
    min-width: 3px;
    height: 100%;
    background: linear-gradient(90deg, var(--navy-700), var(--blue-500));
}

.choma-pipeline a > strong {
    color: var(--navy-900);
    font-size: 13px;
    text-align: right;
}

.choma-panel--latest {
    overflow: hidden;
}

.choma-portal-table-wrap {
    overflow-x: auto;
}

.choma-portal-table {
    width: 100%;
    border-collapse: collapse;
}

.choma-portal-table th {
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
    color: #77858e;
    background: #f8f9f9;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
}

.choma-portal-table td {
    padding: 17px 18px;
    border-bottom: 1px solid #edf0f2;
    color: #53646f;
    font-size: 11px;
    line-height: 1.45;
    vertical-align: middle;
}

.choma-portal-table tr:last-child td {
    border-bottom: 0;
}

.choma-portal-table tbody tr {
    transition: background-color .15s ease;
}

.choma-portal-table tbody tr:hover {
    background: #fbfcfc;
}

.choma-portal-table td > a:not(.choma-client):not(.choma-row-arrow) {
    color: var(--navy-700);
    font-weight: 650;
    text-decoration: none;
}

.choma-portal-table td > small {
    display: block;
    margin-top: 3px;
    color: #8b979e;
    font-size: 9px;
}

.choma-client {
    display: grid;
    gap: 4px;
    min-width: 155px;
    color: var(--ink);
    text-decoration: none;
}

.choma-client strong {
    font-size: 12px;
}

.choma-client small {
    color: #8b979e;
    font-size: 9px;
    font-weight: 400;
}

.choma-kind-label,
.choma-stage {
    display: inline-flex;
    min-height: 27px;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    color: var(--navy-800);
    background: var(--soft-blue);
    font-size: 9px;
    font-weight: 780;
    letter-spacing: .04em;
    line-height: 1;
    white-space: nowrap;
}

.choma-kind-label--owner {
    color: #755226;
    background: #f6eee3;
}

.choma-stage--new,
.choma-stage--lost {
    color: #b30830;
    background: var(--soft-red);
}

.choma-stage--won {
    color: var(--green);
    background: var(--soft-green);
}

.choma-portal-table .is-overdue {
    color: var(--red-600);
    font-weight: 750;
}

.choma-row-arrow {
    color: var(--red-600);
    font-size: 18px;
    text-decoration: none;
}

.choma-portal-filters {
    display: grid;
    grid-template-columns: minmax(220px, 1.4fr) minmax(150px, .75fr) minmax(160px, .85fr) auto auto;
    align-items: end;
    gap: 12px;
    margin-bottom: 17px;
    padding: 18px;
    border: 1px solid var(--line);
    background: #fff;
}

.choma-portal-filters > label {
    margin: 0;
}

.choma-portal-filters label > span,
.choma-lead-form label > span {
    display: block;
    margin-bottom: 7px;
}

.choma-portal-filters input,
.choma-portal-filters select {
    height: 44px;
    margin: 0;
}

.choma-portal-filters .choma-btn {
    height: 44px;
}

.choma-filter-clear {
    align-self: center;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
}

.choma-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-top: 24px;
}

.choma-pagination a {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    color: var(--navy-800);
    background: #fff;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

.choma-pagination a.is-current {
    border-color: var(--navy-900);
    color: #fff;
    background: var(--navy-900);
}

.choma-back {
    display: inline-flex;
    margin-bottom: 26px;
    color: var(--red-600);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .06em;
    text-decoration: none;
    text-transform: uppercase;
}

.choma-page-head--lead {
    align-items: center;
    margin-bottom: 19px;
}

.choma-page-head--lead > .choma-stage {
    padding: 8px 15px;
    font-size: 10px;
}

.choma-lead-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 22px;
}

.choma-lead-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(340px, .7fr);
    gap: 22px;
    align-items: start;
}

.choma-lead-grid > div {
    display: grid;
    gap: 22px;
}

.choma-lead-card .choma-panel__head {
    padding-bottom: 17px;
}

.choma-lead-data {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    padding: 6px 26px 23px;
}

.choma-lead-data > div {
    padding: 16px 18px 16px 0;
    border-bottom: 1px solid #edf0f2;
}

.choma-lead-data > div:nth-child(odd) {
    padding-right: 25px;
}

.choma-lead-data > div.is-wide {
    grid-column: 1 / -1;
}

.choma-lead-data dt,
.choma-source-data dt {
    margin-bottom: 6px;
    color: #839099;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.choma-lead-data dd,
.choma-source-data dd {
    margin: 0;
    color: var(--ink);
    font-size: 12px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.choma-lead-data dd a,
.choma-source-data dd a {
    color: var(--navy-700);
    font-weight: 650;
    text-decoration: none;
}

.choma-lead-form {
    padding: 23px 26px 27px;
}

.choma-lead-form > label {
    margin-bottom: 17px;
}

.choma-lead-form input,
.choma-lead-form select {
    height: 46px;
    margin: 0;
}

.choma-lead-form textarea {
    height: auto;
    min-height: 118px;
    margin: 0;
    padding-top: 12px;
    resize: vertical;
}

.choma-lead-form .choma-btn {
    width: 100%;
}

.choma-lead-card--sticky {
    position: sticky;
    top: 96px;
}

.choma-source-data {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 8px 26px 22px;
}

.choma-source-data > div {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 15px;
    padding: 13px 0;
    border-bottom: 1px solid #edf0f2;
}

.choma-source-data > div:last-child {
    border-bottom: 0;
}

.choma-source-data dt {
    margin: 0;
}

.choma-portal-timeline {
    position: relative;
    margin: 0;
    padding: 23px 28px 28px 50px;
    list-style: none;
}

.choma-portal-timeline::before {
    position: absolute;
    top: 28px;
    bottom: 32px;
    left: 30px;
    width: 1px;
    background: #dce2e5;
    content: "";
}

.choma-portal-timeline li {
    position: relative;
    margin-bottom: 24px;
}

.choma-portal-timeline li:last-child {
    margin-bottom: 0;
}

.choma-portal-timeline li::before {
    position: absolute;
    top: 3px;
    left: -24px;
    width: 9px;
    height: 9px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--blue-500);
    box-shadow: 0 0 0 1px var(--blue-500);
    content: "";
}

.choma-portal-timeline li.activity-email_failed::before {
    background: var(--red-600);
    box-shadow: 0 0 0 1px var(--red-600);
}

.choma-portal-timeline time,
.choma-portal-timeline small {
    color: #89969e;
    font-size: 9px;
}

.choma-portal-timeline p {
    margin: 5px 0 3px;
    color: var(--ink);
    font-size: 12px;
    line-height: 1.55;
}

.choma-center-glance {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
    margin-bottom: 22px;
}
.choma-center-glance--tools{grid-template-columns:repeat(3,minmax(0,1fr))}

.choma-center-glance-card {
    display: grid;
    min-height: 92px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 15px;
    padding: 18px 22px;
    border: 1px solid var(--line);
    color: var(--ink);
    background: linear-gradient(105deg, #fff 0%, #f7fafb 100%);
    box-shadow: 0 8px 25px rgba(7, 39, 62, .035);
    text-decoration: none;
    transition: border-color .18s ease, transform .18s ease;
}

.choma-center-glance-card:hover {
    border-color: #c7d4db;
    transform: translateY(-2px);
}

.choma-center-glance-card.is-disabled {
    background: #fafbfb;
    box-shadow: none;
}

.choma-center-glance-card > span {
    min-width: 44px;
    color: var(--navy-900);
    font-size: 31px;
    font-weight: 550;
    letter-spacing: -.04em;
}

.choma-center-glance-card > div {
    display: grid;
    gap: 5px;
}

.choma-center-glance-card strong {
    font-size: 13px;
}

.choma-center-glance-card small,
.choma-center-muted {
    color: var(--muted);
    font-size: 10px;
    line-height: 1.45;
}

.choma-center-glance-card > b {
    color: var(--red-600);
    font-size: 18px;
    font-weight: 400;
}

.choma-center-info {
    margin: -10px 0 20px;
    padding: 13px 16px;
    border: 1px solid #d7e2e8;
    border-left: 3px solid var(--blue-500);
    color: #53646f;
    background: #f7fafb;
    font-size: 11px;
    line-height: 1.5;
}

.choma-center-status-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(130px, 1fr));
    gap: 11px;
    margin-bottom: 18px;
}

.choma-center-status-card {
    display: grid;
    gap: 5px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    background: #fff;
}

.choma-center-status-card strong {
    color: #252b31;
    font-size: 30px;
    font-weight: 550;
    letter-spacing: -.035em;
}

.choma-center-status-card span {
    color: var(--muted);
    font-size: 9px;
    font-weight: 750;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.choma-center-panel {
    overflow: hidden;
}

.choma-center-title {
    color: var(--ink);
    font-size: 12px;
    font-weight: 700;
}

.choma-center-wp-link {
    display: inline-flex;
    align-items: center;
    color: var(--red-600) !important;
    font-size: 9px;
    font-weight: 800 !important;
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.choma-stage--oso_ready,
.choma-stage--pending,
.choma-stage--approved {
    color: #5b4d12;
    background: #f5f0d7;
}

.choma-stage--oso_approved,
.choma-stage--completed,
.choma-stage--publish {
    color: var(--green);
    background: var(--soft-green);
}

.choma-stage--rejected,
.choma-stage--cancelled,
.choma-stage--failed {
    color: #b30830;
    background: var(--soft-red);
}

@media (max-width: 1240px) {
    :root { --sidebar: 205px; }

    .choma-sidebar {
        padding-right: 18px;
        padding-left: 18px;
    }

    .choma-sidebar__logo img {
        width: 150px;
    }

    .choma-metrics {
        grid-template-columns: repeat(2, minmax(180px, 1fr));
    }

    .choma-dashboard-grid,
    .choma-lead-grid {
        grid-template-columns: 1fr;
    }

    .choma-center-status-grid {
        grid-template-columns: repeat(2, minmax(130px, 1fr));
    }

    .choma-lead-card--sticky {
        position: static;
    }
}

@media (max-width: 900px) {
    .choma-login {
        grid-template-columns: 1fr;
    }

    .choma-login__brand {
        min-height: 42vh;
        padding: 35px 28px 45px;
    }

    .choma-login__choma-logo {
        width: min(330px, 70%);
    }

    .choma-login__brand > div {
        padding-top: 70px;
    }

    .choma-login__brand h1 {
        font-size: clamp(43px, 10vw, 65px);
    }

    .choma-login__form-wrap {
        min-height: 58vh;
        padding: 55px 25px;
    }

    .choma-sidebar {
        display: none;
    }

    .choma-app__body {
        padding-left: 0;
    }

    .choma-topbar {
        min-height: 68px;
        justify-content: space-between;
        padding: 0 20px;
        border-bottom-color: rgba(255, 255, 255, .1);
        background: var(--navy-900);
        backdrop-filter: none;
    }

    .choma-topbar__mobile-logo {
        display: block;
    }

    .choma-topbar__mobile-logo img {
        display: block;
        width: 154px;
        height: auto;
    }

    .choma-site-link {
        display: none;
    }

    .choma-user > span {
        border: 1px solid rgba(255, 255, 255, .25);
        background: rgba(255, 255, 255, .1);
    }

    .choma-user strong,
    .choma-user a {
        color: #fff;
    }

    .choma-user a {
        opacity: .62;
    }

    .choma-main {
        padding-bottom: 100px;
    }

    .choma-mobile-nav {
        position: fixed;
        z-index: 40;
        right: 0;
        bottom: 0;
        left: 0;
        display: grid;
        min-height: 70px;
        grid-template-columns: repeat(3, 1fr);
        padding-bottom: env(safe-area-inset-bottom);
        border-top: 1px solid rgba(255, 255, 255, .12);
        background: rgba(6, 36, 60, .97);
        box-shadow: 0 -10px 30px rgba(6, 36, 60, .15);
        backdrop-filter: blur(12px);
    }

    .choma-mobile-nav a {
        flex-direction: column;
        gap: 3px;
        justify-content: center;
        padding: 8px 5px;
        font-size: 9px;
    }

    .choma-mobile-nav a.is-active {
        color: #fff;
    }

    .choma-mobile-nav a.is-active span {
        color: var(--red-500);
    }

    .choma-portal-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .choma-portal-filters > label:first-of-type {
        grid-column: 1 / -1;
    }
}

@media (max-width: 680px) {
    .choma-topbar__mobile-logo img {
        width: 132px;
    }

    .choma-user div {
        display: none;
    }

    .choma-main {
        padding: 31px 15px 94px;
    }

    .choma-page-head {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 25px;
    }

    .choma-page-head h1 {
        font-size: 45px;
    }

    .choma-page-head .choma-btn {
        width: 100%;
    }

    .choma-metrics {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .choma-center-glance,
    .choma-center-status-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .choma-center-glance-card {
        min-height: 88px;
        padding: 16px 18px;
    }

    .choma-center-info {
        margin-top: -5px;
    }

    .choma-metric {
        min-height: 99px;
        padding: 17px 18px;
    }

    .choma-metric > span {
        font-size: 33px;
    }

    .choma-dashboard-grid {
        gap: 14px;
    }

    .choma-panel__head {
        align-items: flex-start;
        padding: 20px 18px 15px;
    }

    .choma-panel__head h2 {
        font-size: 25px;
    }

    .choma-task-list a {
        grid-template-columns: 64px minmax(0, 1fr) auto;
        padding: 12px 17px;
    }

    .choma-pipeline {
        padding: 14px 18px 18px;
    }

    .choma-pipeline a {
        grid-template-columns: minmax(95px, 1fr) minmax(55px, .75fr) 22px;
    }

    .choma-portal-filters {
        grid-template-columns: 1fr;
        padding: 15px;
    }

    .choma-portal-filters > label:first-of-type {
        grid-column: auto;
    }

    .choma-portal-filters .choma-btn {
        width: 100%;
    }

    .choma-filter-clear {
        padding: 8px 0 2px;
        text-align: center;
    }

    .choma-panel--latest {
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .choma-panel--latest > .choma-panel__head {
        border: 1px solid var(--line);
        background: #fff;
    }

    .choma-portal-table,
    .choma-portal-table tbody,
    .choma-portal-table tr,
    .choma-portal-table td {
        display: block;
        width: 100%;
    }

    .choma-portal-table thead {
        display: none;
    }

    .choma-portal-table tbody {
        display: grid;
        gap: 11px;
    }

    .choma-portal-table tr {
        position: relative;
        padding: 17px 18px 15px;
        border: 1px solid var(--line);
        background: #fff;
        box-shadow: 0 8px 22px rgba(7, 39, 62, .04);
    }

    .choma-portal-table td {
        display: grid;
        grid-template-columns: 112px minmax(0, 1fr);
        align-items: center;
        gap: 10px;
        padding: 8px 0;
        border: 0;
    }

    .choma-portal-table td::before {
        color: #8a969e;
        content: attr(data-label);
        font-size: 8px;
        font-weight: 800;
        letter-spacing: .1em;
        text-transform: uppercase;
    }

    .choma-portal-table td:first-child {
        display: block;
        padding: 0 36px 12px 0;
        border-bottom: 1px solid #edf0f2;
    }

    .choma-portal-table td:first-child::before {
        display: none;
    }

    .choma-portal-table td:last-child {
        position: absolute;
        top: 12px;
        right: 16px;
        display: block;
        width: auto;
        padding: 0;
    }

    .choma-portal-table td:last-child::before {
        display: none;
    }

    .choma-center-table td:last-child {
        position: static;
        display: grid;
        width: 100%;
        padding: 8px 0;
    }

    .choma-center-table td:last-child::before {
        display: block;
    }

    .choma-center-wp-link {
        white-space: normal;
    }

    .choma-client strong {
        font-size: 14px;
    }

    .choma-portal-table td > small {
        margin: 0;
    }

    .choma-page-head--lead {
        margin-bottom: 16px;
    }

    .choma-lead-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .choma-lead-actions .choma-btn:first-child {
        grid-column: 1 / -1;
    }

    .choma-lead-grid {
        gap: 14px;
    }

    .choma-lead-grid > div {
        gap: 14px;
    }

    .choma-lead-data {
        grid-template-columns: 1fr;
        padding: 5px 18px 18px;
    }

    .choma-lead-data > div,
    .choma-lead-data > div:nth-child(odd) {
        padding-right: 0;
    }

    .choma-lead-data > div.is-wide {
        grid-column: auto;
    }

    .choma-lead-form {
        padding: 19px 18px 22px;
    }

    .choma-source-data {
        padding-right: 18px;
        padding-left: 18px;
    }

    .choma-source-data > div {
        grid-template-columns: 105px minmax(0, 1fr);
    }

    .choma-portal-timeline {
        padding-right: 19px;
        padding-left: 43px;
    }

    .choma-portal-timeline::before {
        left: 25px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

/* 1.4.0 - modular Centrum Zarządzania screens. */
.choma-sidebar__logo{margin-bottom:30px}
.choma-sidebar nav{gap:3px}
.choma-sidebar nav a{padding:9px 10px;font-size:11px}
.choma-sidebar nav a span{font-size:16px}
.choma-module-placeholder{
    max-width:820px;
    padding:46px;
}
.choma-module-placeholder__status,
.choma-component-state{
    display:inline-flex;
    padding:6px 10px;
    border-radius:999px;
    color:#725d13;
    background:#f5f0d7;
    font-size:9px;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
}
.choma-module-placeholder h2,
.choma-component-card h2{
    margin:24px 0 13px;
    color:var(--ink);
    font-family:Georgia,"Times New Roman",serif;
    font-size:35px;
    font-weight:400;
}
.choma-module-placeholder>p,
.choma-component-card p,
.choma-permissions-panel>p{
    max-width:690px;
    color:var(--muted);
    font-size:13px;
    line-height:1.7;
}
.choma-module-placeholder .choma-center-info{margin:30px 0 0}
.choma-settings-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
    margin-bottom:20px;
}
.choma-component-card{padding:25px}
.choma-component-card h2{font-size:25px}
.choma-component-state.is-ready{color:var(--green);background:var(--soft-green)}
.choma-component-state.is-off{color:#68757d;background:#edf0f2}
.choma-permissions-panel{padding-bottom:26px}
.choma-permissions-panel dl{display:grid;margin:0;padding:8px 26px 22px}
.choma-permissions-panel dl div{display:flex;justify-content:space-between;gap:30px;padding:13px 0;border-bottom:1px solid var(--line)}
.choma-permissions-panel dt{color:var(--ink);font-size:12px}
.choma-permissions-panel dd{margin:0;color:var(--muted);font-size:11px;font-weight:700}
.choma-permissions-panel>p,.choma-permissions-panel>.choma-btn{margin-right:26px;margin-left:26px}
.choma-mobile-module-menu{display:none}

@media (max-width:1240px){
    .choma-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:680px){
    .choma-module-placeholder{padding:28px 22px}
    .choma-settings-grid{grid-template-columns:1fr}
    .choma-permissions-panel dl div{align-items:flex-start;flex-direction:column;gap:6px}
}
@media (max-width:900px){
    .choma-mobile-module-menu{position:relative;display:block;margin-left:auto}
    .choma-mobile-module-menu summary{cursor:pointer;color:#fff;list-style:none;font-size:10px;font-weight:800;letter-spacing:.12em}
    .choma-mobile-module-menu summary::-webkit-details-marker{display:none}
    .choma-mobile-module-menu nav{position:absolute;z-index:50;top:34px;right:0;display:grid;width:min(290px,calc(100vw - 30px));padding:10px;background:var(--navy-900);box-shadow:0 18px 40px rgba(4,20,31,.3)}
    .choma-mobile-module-menu nav a{display:flex;align-items:center;gap:10px;padding:10px;color:rgba(255,255,255,.75);font-size:11px;text-decoration:none}
    .choma-mobile-module-menu nav a.is-active{color:#fff;background:rgba(255,255,255,.08)}
    .choma-mobile-module-menu nav a span{display:inline-flex;width:20px;justify-content:center}
}

/* 1.4.1 - official OpenSmart One branding; presentation only. */
.choma-login__technology{
    display:flex;
    align-items:center;
    gap:12px;
    width:max-content;
    max-width:100%;
    margin-top:28px;
    padding:7px 13px 7px 7px;
    border:1px solid rgba(255,255,255,.14);
    border-radius:14px;
    background:rgba(255,255,255,.055);
}
.choma-login__brand .choma-login__technology-icon{
    display:block;
    width:42px;
    height:42px;
    padding:3px;
    border-radius:11px;
    object-fit:contain;
    background:rgba(255,255,255,.96);
    box-shadow:0 8px 22px rgba(0,0,0,.16);
}
.choma-login__technology span{
    color:rgba(255,255,255,.74);
    font-size:11px;
    font-weight:650;
    letter-spacing:.055em;
    white-space:nowrap;
}
.choma-sidebar__logo{margin-bottom:14px}
.choma-sidebar__technology{
    display:flex;
    align-items:center;
    gap:9px;
    margin-bottom:24px;
    padding:8px 9px;
    border:1px solid rgba(255,255,255,.09);
    background:rgba(255,255,255,.035);
}
.choma-sidebar__technology-icon{
    display:inline-flex;
    width:38px;
    height:38px;
    flex:0 0 38px;
    align-items:center;
    justify-content:center;
    padding:3px;
    border-radius:10px;
    background:rgba(255,255,255,.97);
    box-shadow:0 8px 20px rgba(0,0,0,.16);
}
.choma-sidebar__technology-icon img{
    display:block;
    width:100%;
    height:100%;
    border-radius:8px;
    object-fit:contain;
}
.choma-sidebar__technology small{
    color:rgba(255,255,255,.62);
    font-size:9px;
    font-weight:650;
    letter-spacing:.045em;
    line-height:1.25;
    white-space:nowrap;
}
.choma-sidebar__technology--bottom{
    margin-top:auto;
    margin-bottom:0;
}
.choma-system-header{
    display:flex;
    min-width:0;
    align-items:center;
    justify-content:space-between;
    gap:28px;
    padding:17px clamp(22px,4vw,56px);
    border-bottom:1px solid var(--line);
    background:linear-gradient(100deg,#fbfaf7 0%,#f4f3ee 100%);
}
.choma-system-header__primary{
    display:grid;
    min-width:0;
    gap:3px;
}
.choma-system-header__primary span{
    color:var(--red-600);
    font-size:8px;
    font-weight:800;
    letter-spacing:.19em;
}
.choma-system-header__primary strong{
    overflow:hidden;
    color:var(--navy-900);
    font-family:Georgia,"Times New Roman",serif;
    font-size:20px;
    font-weight:400;
    letter-spacing:-.02em;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.choma-system-header__technology{
    display:flex;
    min-width:0;
    align-items:center;
    gap:13px;
}
.choma-system-header__technology img{
    display:block;
    width:clamp(168px,15vw,214px);
    max-height:54px;
    object-fit:contain;
}
.choma-system-header__technology small{
    padding-right:13px;
    border-right:1px solid rgba(16,42,61,.15);
    color:#6f7b82;
    font-size:9px;
    font-weight:650;
    letter-spacing:.045em;
    white-space:nowrap;
}

/* Centrum operacyjne 1.6.0 */
.choma-quick-create,
.choma-editor-panel{
    margin-bottom:24px;
}
.choma-quick-create form,
.choma-editor-panel form,
.choma-compose__form{
    display:grid;
    gap:16px;
}
.choma-quick-create form,
.choma-editor-panel form{
    min-width:0;
    padding:24px 26px 28px;
}
.choma-quick-create label,
.choma-editor-panel label,
.choma-compose__form label{
    display:grid;
    gap:7px;
    color:var(--navy-900);
    font-size:11px;
    font-weight:750;
    letter-spacing:.06em;
    text-transform:uppercase;
}
.choma-quick-create input,
.choma-quick-create textarea,
.choma-quick-create select,
.choma-editor-panel input,
.choma-editor-panel textarea,
.choma-editor-panel select,
.choma-compose__form input,
.choma-compose__form textarea{
    width:100%;
    min-height:46px;
    padding:12px 14px;
    border:1px solid var(--line);
    border-radius:3px;
    outline:0;
    background:#fff;
    color:var(--navy-900);
    font:500 14px/1.5 Geist,Arial,sans-serif;
    letter-spacing:0;
    text-transform:none;
}
.choma-quick-create input:focus,
.choma-quick-create textarea:focus,
.choma-editor-panel input:focus,
.choma-editor-panel textarea:focus,
.choma-compose__form input:focus,
.choma-compose__form textarea:focus{
    border-color:#52718a;
    box-shadow:0 0 0 3px rgba(32,83,119,.08);
}
.choma-form-row{
    display:grid;
    grid-template-columns:minmax(0,1.6fr) repeat(2,minmax(180px,.7fr));
    gap:14px;
}
.choma-editor-actions,
.choma-message__actions{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:10px;
}
.choma-rich-editor{
    overflow:hidden;
    border:1px solid var(--line);
    border-radius:3px;
    background:#fff;
}
.choma-rich-editor__toolbar{
    display:flex;
    flex-wrap:wrap;
    gap:5px;
    padding:8px;
    border-bottom:1px solid var(--line);
    background:#f4f3ef;
}
.choma-rich-editor__toolbar button{
    min-height:32px;
    padding:6px 10px;
    border:1px solid #d7d9d9;
    background:#fff;
    color:var(--navy-900);
    cursor:pointer;
}
.choma-rich-editor__surface{
    min-height:330px;
    padding:24px;
    outline:0;
    color:#263640;
    font:400 16px/1.72 Georgia,"Times New Roman",serif;
    letter-spacing:0;
    text-transform:none;
}
.choma-rich-editor__surface h2{
    margin:1.5em 0 .5em;
    color:var(--navy-900);
    font-size:26px;
    font-weight:400;
}
.choma-mail-tabs{
    display:flex;
    gap:8px;
    margin:0 0 18px;
    overflow:auto;
    padding-bottom:3px;
}
.choma-mail-tabs a{
    flex:0 0 auto;
    padding:10px 14px;
    border:1px solid var(--line);
    background:#fff;
    color:#52636e;
    text-decoration:none;
}
.choma-mail-tabs a.is-active{
    border-color:var(--navy-900);
    color:var(--navy-900);
    font-weight:700;
}
.choma-mail-list{
    display:grid;
}
.choma-mail-list > a,
.choma-mail-list > div{
    display:grid;
    grid-template-columns:minmax(150px,.8fr) minmax(260px,2fr) minmax(120px,.5fr);
    gap:18px;
    align-items:center;
    padding:16px 20px;
    border-top:1px solid var(--line);
    color:#53626c;
    text-decoration:none;
}
.choma-mail-list > a:hover{
    background:#faf9f5;
}
.choma-mail-list > a.is-unread strong,
.choma-mail-list > a.is-unread span{
    color:var(--navy-900);
    font-weight:750;
}
.choma-mail-list strong{
    overflow:hidden;
    color:#263640;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.choma-mail-list time{
    text-align:right;
    white-space:nowrap;
}
.choma-compose{
    position:relative;
}
.choma-compose summary{
    list-style:none;
    cursor:pointer;
}
.choma-compose summary::-webkit-details-marker{display:none}
.choma-compose__form{
    position:absolute;
    z-index:50;
    top:calc(100% + 10px);
    right:0;
    width:min(520px,80vw);
    padding:22px;
    border:1px solid var(--line);
    background:#fff;
    box-shadow:0 22px 55px rgba(8,45,75,.18);
}
.choma-message__body{
    max-width:820px;
    min-height:220px;
    padding:28px 0;
    color:#33454f;
    font-size:15px;
    line-height:1.72;
}
.choma-message__body img{max-width:100%;height:auto}
.choma-message__attachments{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin:0 0 24px;
    padding:14px;
    background:#f5f4f0;
}
.choma-message__attachments span{
    padding:5px 8px;
    border:1px solid var(--line);
    background:#fff;
}

@media (max-width:900px){
    .choma-page-head h1,
    .choma-page-head--compact h1,
    .choma-page-head--lead h1{font-size:clamp(38px,7vw,48px);line-height:1.03}
    .choma-center-glance--tools{grid-template-columns:1fr}
    .choma-form-row{grid-template-columns:1fr}
    .choma-form-row>*{min-width:0}
    .choma-mail-list > a,.choma-mail-list > div{grid-template-columns:1fr;gap:5px}
    .choma-mail-list time{text-align:left}
    .choma-compose__form{position:fixed;inset:82px 14px auto;width:auto;max-height:calc(100vh - 100px);overflow:auto}
}

@media (max-width:900px){
    .choma-login__brand{min-height:520px}
    .choma-system-header{padding:14px 20px}
    .choma-system-header__technology img{width:170px;max-height:46px}
}
@media (max-width:560px){
    .choma-system-header{
        align-items:flex-start;
        flex-direction:column;
        gap:11px;
        padding:13px 15px 15px;
    }
    .choma-system-header__primary strong{font-size:17px}
    .choma-system-header__technology{width:100%;justify-content:space-between}
    .choma-system-header__technology img{width:min(180px,62vw);max-height:44px}
    .choma-system-header__technology small{font-size:8px}
    .choma-quick-create form,
    .choma-editor-panel form{padding:18px 16px 22px}
}

.choma-approval-preview{
    max-width:620px;
    margin-top:10px;
    padding:10px 12px;
    border:1px solid var(--line);
    border-radius:8px;
    background:#fbfaf7;
}
.choma-approval-preview summary{
    cursor:pointer;
    color:var(--navy-900);
    font-size:12px;
    font-weight:700;
}
.choma-approval-preview dl{
    display:grid;
    gap:6px;
    margin:12px 0;
}
.choma-approval-preview dl div{
    display:grid;
    grid-template-columns:64px minmax(0,1fr);
    gap:10px;
}
.choma-approval-preview dt,
.choma-approval-preview dd{
    margin:0;
    overflow-wrap:anywhere;
}
.choma-approval-preview dt{
    color:#75808a;
    font-size:11px;
    text-transform:uppercase;
}
.choma-approval-preview p{
    max-height:180px;
    margin:10px 0 0;
    overflow:auto;
    color:#53606a;
    font-size:12px;
    line-height:1.55;
}
.choma-approval-action{
    display:inline-block;
    margin:3px 5px 3px 0;
}
.choma-approval-action .choma-btn{
    min-height:34px;
    padding:8px 12px;
    font-size:9px;
}
.choma-approval-error{
    display:block;
    margin-top:7px;
    color:#a22638;
    line-height:1.45;
}
.choma-alert--success{
    margin-bottom:20px;
    border-color:#9dc6aa;
    background:#eef8f1;
    color:#245f37;
}

@media (max-width:700px){
    .choma-approval-preview{max-width:100%}
    .choma-approval-action{display:block;margin:6px 0}
    .choma-approval-action .choma-btn{width:100%}
}

/* 1.7.0 - spójny wygląd Centrum z aplikacją OpenSmart One. */
.choma-portal-app{
    background:#f2f5f8;
}
.choma-portal-app .choma-sidebar{
    width:292px;
    padding:18px 12px 12px;
    color:#193650;
    background:linear-gradient(180deg,#e7edf2 0%,#dce5ec 100%);
    box-shadow:inset -1px 0 #cbd6df;
}
.choma-portal-app .choma-app__body{
    padding-left:292px;
}
.choma-sidebar__logo--choma{
    display:flex;
    min-height:64px;
    align-items:center;
    margin:0 0 14px;
    padding:12px 13px;
    border-radius:14px;
    background:rgba(255,255,255,.54);
}
.choma-sidebar__logo--choma img{
    width:238px;
    max-width:100%;
}
.choma-portal-app .choma-sidebar nav{
    gap:6px;
}
.choma-sidebar__group-label{
    margin:10px 10px 0;
    color:#64798b;
    font-size:9px;
    font-weight:850;
    letter-spacing:.095em;
}
.choma-portal-app .choma-sidebar nav a{
    min-height:44px;
    gap:10px;
    padding:10px 12px;
    border:1px solid rgba(198,210,220,.78);
    border-radius:11px;
    color:#486078;
    background:rgba(255,255,255,.74);
    font-size:14px;
    font-weight:700;
    letter-spacing:0;
    box-shadow:0 4px 14px rgba(31,62,86,.025);
}
.choma-portal-app .choma-sidebar nav a span{
    color:#c8a550;
    font-size:17px;
}
.choma-portal-app .choma-sidebar nav a:hover{
    color:#092f53;
    background:#fff;
}
.choma-portal-app .choma-sidebar nav a.is-active{
    border-color:#123d62;
    color:#fff;
    background:#123d62;
    box-shadow:inset 4px 0 #c8a550,0 8px 20px rgba(9,47,83,.12);
}
.choma-portal-app .choma-sidebar nav a.is-active span{
    color:#e2bc4e;
}
.choma-portal-app .choma-sidebar__technology{
    gap:10px;
    margin:16px 0 0;
    padding:9px;
    border:0;
    border-top:1px solid #c5d1db;
    background:transparent;
}
.choma-portal-app .choma-sidebar__technology-icon{
    width:38px;
    height:38px;
    flex-basis:38px;
    padding:0;
    overflow:hidden;
    border-radius:12px;
    background:transparent;
}
.choma-portal-app .choma-sidebar__technology>span:last-child{
    display:grid;
    gap:1px;
}
.choma-portal-app .choma-sidebar__technology strong{
    color:#143452;
    font-size:11px;
}
.choma-portal-app .choma-sidebar__technology small{
    color:#64798b;
    font-size:8px;
    letter-spacing:.02em;
}
.choma-portal-app .choma-topbar{
    min-height:66px;
    border-bottom-color:#d8e1e8;
    background:rgba(248,250,252,.94);
}
.choma-portal-app .choma-system-header{
    padding:12px clamp(24px,3vw,46px);
    border-bottom-color:#d8e1e8;
    background:#fff;
}
.choma-portal-app .choma-system-header__technology img{
    width:158px;
    max-height:42px;
    margin-left:-4px;
}
.choma-portal-app .choma-system-header__technology{gap:4px}
.choma-portal-app .choma-system-header__technology small{padding-right:7px}
.choma-portal-app .choma-main{
    width:min(100%,1680px);
    padding:clamp(30px,3.2vw,52px) clamp(24px,3vw,52px) 72px;
}
.choma-portal-app .choma-page-head h1{
    font-family:Geist,Arial,sans-serif;
    font-size:clamp(42px,4vw,58px);
    font-weight:500;
    letter-spacing:-.045em;
    line-height:1;
}
.choma-portal-app .choma-page-head p{
    font-size:15px;
}
.choma-portal-app .choma-panel,
.choma-portal-app .choma-metric,
.choma-portal-app .choma-center-glance-card,
.choma-calendar-summary article{
    border-color:#dbe3ea;
    border-radius:18px;
    box-shadow:0 12px 34px rgba(26,57,82,.055);
}
.choma-calendar-head{
    align-items:center;
}
.choma-calendar-summary{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
    margin:0 0 20px;
}
.choma-calendar-summary article{
    display:grid;
    min-height:76px;
    align-content:center;
    gap:4px;
    padding:15px 18px;
    border:1px solid #dbe3ea;
    background:#fff;
}
.choma-calendar-summary article:first-child{
    border-color:#123d62;
    box-shadow:inset 0 -3px #123d62;
}
.choma-calendar-summary span{
    color:#758596;
    font-size:11px;
}
.choma-calendar-summary strong{
    color:#092f53;
    font-size:22px;
    font-weight:550;
}
.choma-calendar-summary article:last-child strong{
    font-size:14px;
}
.choma-calendar-shell{
    padding:28px 30px 30px;
}
.choma-calendar-toolbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    margin-bottom:24px;
}
.choma-calendar-toolbar h2{
    margin:7px 0 0;
    color:#092f53;
    font-size:22px;
    font-weight:550;
}
.choma-calendar-toolbar nav{
    display:flex;
    gap:9px;
}
.choma-calendar-toolbar nav a{
    display:inline-flex;
    min-width:44px;
    min-height:44px;
    align-items:center;
    justify-content:center;
    padding:8px 14px;
    border:1px solid #d6e0e8;
    border-radius:12px;
    color:#092f53;
    background:#fff;
    font-weight:750;
    text-decoration:none;
}
.choma-calendar-months{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:16px;
}
.choma-calendar-month{
    padding:20px 18px 22px;
    border:1px solid #dde5eb;
    border-radius:17px;
    background:#fbfcfd;
}
.choma-calendar-month.is-center{
    border-color:#d4b667;
    background:#fff;
}
.choma-calendar-month h3{
    margin:0 0 17px;
    color:#092f53;
    font-size:14px;
    font-weight:550;
    text-align:center;
}
.choma-calendar-weekdays,
.choma-calendar-days{
    display:grid;
    grid-template-columns:repeat(7,minmax(0,1fr));
}
.choma-calendar-weekdays span{
    padding:7px 1px;
    color:#788797;
    font-size:10px;
    font-weight:750;
    text-align:center;
}
.choma-calendar-days a,
.choma-calendar-days>.is-empty{
    position:relative;
    display:flex;
    min-width:0;
    min-height:42px;
    align-items:center;
    justify-content:center;
    border-radius:11px;
}
.choma-calendar-days a{
    color:#0a3257;
    font-size:13px;
    text-decoration:none;
}
.choma-calendar-days a:hover{
    background:#edf4f9;
}
.choma-calendar-days a.has-events{
    background:#edf4fa;
}
.choma-calendar-days a.is-selected{
    color:#fff;
    background:#092f53;
    box-shadow:0 8px 18px rgba(9,47,83,.18);
}
.choma-calendar-days a i{
    position:absolute;
    right:0;
    bottom:2px;
    left:0;
    color:inherit;
    font-size:8px;
    font-style:normal;
    text-align:center;
}
.choma-calendar-day-events{
    display:grid;
    grid-template-columns:minmax(190px,.55fr) minmax(0,1.45fr);
    gap:24px;
    margin-top:24px;
    padding:22px 4px 0;
    border-top:1px solid #e1e7ec;
}
.choma-calendar-day-events h3{
    margin:7px 0 0;
    color:#092f53;
    font-size:18px;
}
.choma-calendar-day-events>p{
    margin:4px 0;
    color:#6b7c8b;
}
.choma-calendar-event-list{
    display:grid;
    gap:9px;
}
.choma-calendar-event-list article{
    display:grid;
    gap:4px;
    padding:13px 15px;
    border-left:3px solid #c8a550;
    border-radius:8px;
    background:#f5f8fa;
}
.choma-calendar-event-list time{
    color:#748493;
    font-size:10px;
}
.choma-calendar-event-list strong{
    color:#092f53;
}
.choma-calendar-event-list p{
    margin:0;
    color:#677988;
    font-size:12px;
}
.choma-calendar-create{
    margin-top:20px;
    scroll-margin-top:90px;
}

@media (max-width:1180px){
    .choma-calendar-months{grid-template-columns:1fr}
    .choma-calendar-month{display:none}
    .choma-calendar-month.is-center{display:block}
}
@media (max-width:900px){
    .choma-portal-app .choma-app__body{padding-left:0}
    .choma-portal-app .choma-topbar{
        color:#092f53;
        background:#f8fafc;
    }
    .choma-portal-app .choma-topbar__mobile-logo img{width:205px}
    .choma-portal-app .choma-mobile-module-menu summary,
    .choma-portal-app .choma-user strong,
    .choma-portal-app .choma-user a{color:#092f53}
    .choma-portal-app .choma-user>span{border:0;background:#092f53}
    .choma-portal-app .choma-mobile-module-menu nav{background:#092f53}
    .choma-calendar-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
    .choma-calendar-summary article:last-child{grid-column:1/-1}
}
@media (max-width:620px){
    .choma-portal-app .choma-system-header{display:none}
    .choma-calendar-head .choma-btn{width:100%}
    .choma-calendar-summary{grid-template-columns:1fr}
    .choma-calendar-summary article:last-child{grid-column:auto}
    .choma-calendar-shell{padding:20px 14px}
    .choma-calendar-toolbar{align-items:flex-start;flex-direction:column}
    .choma-calendar-toolbar nav{width:100%}
    .choma-calendar-toolbar nav a:nth-child(2){flex:1}
    .choma-calendar-month{padding:17px 10px}
    .choma-calendar-days a,.choma-calendar-days>.is-empty{min-height:39px}
    .choma-calendar-day-events{grid-template-columns:1fr}
}

/* 1.7.3: działania operacyjne i osobisty wariant kolorystyczny. */
.choma-btn--danger-outline{
    border:1px solid #b4233c;
    color:#a41631;
    background:transparent;
}
.choma-btn--danger-outline:hover{
    color:#fff;
    background:#a41631;
}
.choma-danger-zone{
    border-color:#ead0d5 !important;
    background:#fffafa;
}
.choma-danger-zone>p{
    margin:0 0 18px;
    color:#6f555b;
    font-size:13px;
    line-height:1.6;
}
.choma-appearance-panel{
    margin-bottom:30px;
}
.choma-appearance-panel>form{
    padding:0 28px 28px;
}
.choma-theme-choices{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
    margin:0 0 22px;
}
.choma-theme-choices label{
    display:grid;
    grid-template-columns:auto 58px minmax(0,1fr);
    align-items:center;
    gap:5px 12px;
    padding:14px;
    border:1px solid #d7e0e7;
    border-radius:12px;
    background:#fbfcfd;
    cursor:pointer;
}
.choma-theme-choices input{grid-row:1/3}
.choma-theme-choices strong{align-self:end;color:#173b5b;font-size:14px}
.choma-theme-choices small{align-self:start;color:#70808d;font-size:11px}
.choma-theme-swatch{
    grid-row:1/3;
    width:58px;
    height:42px;
    border-radius:9px;
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.16);
}
.choma-theme-swatch--navy{background:linear-gradient(135deg,#082d4b,#12547f)}
.choma-theme-swatch--graphite{position:relative;background:linear-gradient(100deg,#062a43 0%,#0e5f86 100%)}

.choma-theme-graphite{
    --navy-950:#041d34;
    --navy-900:#062a43;
    --navy-800:#073756;
    --navy-700:#0a4364;
    --blue-500:#0e5f86;
    --ink:#102f48;
    --muted:#687c8b;
    --line:#cad8df;
    --soft-blue:#edf3f5;
    --oso-gradient:linear-gradient(100deg,#062a43 0%,#0e5f86 100%);
    --choma-theme-primary:#0e5f86;
    --choma-theme-primary-dark:#041d34;
    --choma-theme-edge:#d3163a;
    --choma-theme-sidebar:linear-gradient(145deg,#0b4860 0%,#126b83 58%,#1b8198 100%);
    --choma-theme-shadow:rgba(6,42,67,.22);
    --choma-theme-tint:rgba(14,95,134,.15);
}
.choma-theme-graphite .choma-sidebar nav a.is-active,
.choma-theme-graphite .choma-mobile-module-menu nav,
.choma-theme-graphite .choma-user>span,
.choma-theme-graphite .choma-calendar-days a.is-selected,
.choma-theme-graphite .choma-btn--primary{
    border-color:#062a43;
    background:linear-gradient(100deg,#062a43 0%,#0e5f86 100%);
}
.choma-theme-graphite .choma-sidebar nav a.is-active{
    box-shadow:inset 4px 0 #d3163a,0 8px 20px rgba(6,42,67,.2);
}
.choma-theme-graphite .choma-sidebar nav a:hover,
.choma-theme-graphite .choma-calendar-toolbar h2,
.choma-theme-graphite .choma-calendar-month h3,
.choma-theme-graphite .choma-calendar-day-events h3,
.choma-theme-graphite .choma-calendar-event-list strong,
.choma-theme-graphite .choma-theme-choices strong{
    color:#073756;
}
.choma-theme-graphite .choma-calendar-summary article:first-child{
    border-color:#073756;
    box-shadow:inset 0 -3px #073756;
}
.choma-theme-graphite .choma-calendar-summary strong,
.choma-theme-graphite .choma-calendar-days a,
.choma-theme-graphite .choma-calendar-toolbar nav a{
    color:#073756;
}

/* Końcowe pozycjonowanie brandingu 1.7.7 — ponad starszymi korektami. */
.choma-portal-app .choma-system-header__technology{
    width:auto;
    justify-content:flex-start;
    gap:0;
}
.choma-portal-app .choma-system-header__technology small{
    padding-right:0;
    border-right:0;
}
.choma-portal-app .choma-system-header__technology img{
    margin-left:0;
}

/* 1.8.0: asystent tworzy wyłącznie szkice; formularz wysyłki zawsze pozostaje osiągalny. */
.choma-compose{max-width:100%;}
.choma-compose__body{display:grid;gap:18px;width:min(100%,720px);max-height:min(72vh,760px);overflow:auto;padding:18px;background:#fff;border:1px solid var(--line);box-shadow:0 18px 45px rgba(10,35,55,.14)}
.choma-compose__body form,.choma-editor-panel form{display:grid;gap:13px}
.choma-assistant-form{padding:16px;border:1px solid #dce5ea;background:#f5f8fa}
.choma-assistant-form>strong{color:#123d62;font-size:12px;letter-spacing:.11em}
.choma-assistant-form>p{margin:0;color:var(--muted);font-size:13px;line-height:1.55}
.choma-dictation-field textarea{min-width:0;resize:vertical}
.choma-btn--small{min-width:104px;padding:0 13px}
.choma-editor-panel>.choma-assistant-form{margin:22px 22px 0}
@media (max-width:620px){.choma-compose__body{width:calc(100vw - 40px);max-height:78vh;padding:14px}.choma-editor-panel>.choma-assistant-form{margin:16px 16px 0}.choma-btn--small{min-height:40px}}
@media (max-width:620px){
    .choma-portal-app .choma-system-header__technology{width:auto;justify-content:flex-start}
}

/* 1.8.7 — jedna, statyczna kompozycja Poczty oraz końcowe wyrównanie brandingu. */
.choma-portal-app .choma-system-header__technology{display:inline-flex!important;align-items:center!important;gap:0!important;width:auto!important;white-space:nowrap!important}
.choma-portal-app .choma-system-header__technology small{display:inline-block!important;margin:0!important;padding:0!important;line-height:1!important}
.choma-portal-app .choma-system-header__technology img{display:block!important;width:118px!important;height:auto!important;max-height:30px!important;margin:0 0 0 -34px!important;transform:none!important}
.choma-portal-app .choma-sidebar__technology{display:grid!important;grid-template-columns:48px minmax(0,1fr)!important;align-items:center!important;gap:10px!important;padding:12px 4px 0!important}
.choma-portal-app .choma-sidebar__technology-icon,.choma-portal-app .choma-sidebar__technology-icon img{width:48px!important;height:48px!important}
.choma-portal-app .choma-sidebar__technology-copy{display:flex!important;min-width:0!important;flex-direction:column!important;align-items:flex-start!important;gap:4px!important}
.choma-portal-app .choma-sidebar__technology-logo{display:block!important;width:126px!important;height:auto!important;max-width:100%!important;filter:none!important;opacity:1!important;transform:translateX(-13px)!important}
.choma-portal-app .choma-sidebar__technology-copy small{display:block!important;margin:0 0 0 -13px!important;padding:0!important;color:#64798b!important;font-size:9px!important;line-height:1.2!important;text-align:left!important}

/* Napisz wiadomość otwiera jeden formularz w bieżącym widoku Poczty, nie nakładkę. */
.choma-portal-app .choma-panel__head{align-items:flex-start!important}
.choma-portal-app .choma-compose{position:static!important;z-index:auto!important;max-width:none!important;overflow:visible!important;border:0!important;background:transparent!important;box-shadow:none!important}
.choma-portal-app .choma-compose[open]{position:static!important;inset:auto!important;z-index:auto!important;overflow:visible!important;border:0!important;background:transparent!important;box-shadow:none!important}
.choma-portal-app .choma-compose>summary,.choma-portal-app .choma-compose[open]>summary{position:static!important;top:auto!important;display:inline-flex!important;min-width:166px!important;min-height:40px!important;margin:0!important;padding:0 16px!important;background:#d3163a!important;color:#fff!important;box-shadow:none!important}
.choma-portal-app .choma-compose[open] .choma-compose__body{width:100%!important;max-width:none!important;max-height:none!important;margin:18px 0 0!important;padding:24px!important;overflow:visible!important;background:#fff!important;border:1px solid #d5e0e7!important;box-shadow:none!important}
.choma-portal-app .choma-compose__body{display:grid!important;grid-template-columns:1fr!important;gap:20px!important}
.choma-portal-app .choma-compose__body .choma-assistant-form,.choma-portal-app .choma-compose__body .choma-compose__form{width:100%!important;margin:0!important;min-width:0!important}
.choma-portal-app .choma-compose__body .choma-compose__form{border-top:1px solid #dbe4ea!important;padding-top:20px!important}

@media (min-width:901px){
  .choma-portal-app .choma-sidebar{width:236px!important;padding:12px 9px 10px!important}
  .choma-portal-app .choma-app__body{padding-left:236px!important}
  .choma-portal-app .choma-sidebar__logo--choma{min-height:50px!important;padding:9px!important}
  .choma-portal-app .choma-sidebar__logo--choma img{width:174px!important}
  .choma-portal-app .choma-sidebar nav a{min-height:37px!important;padding:8px 11px!important;font-size:14px!important}
}
@media (max-width:720px){
  .choma-portal-app .choma-compose[open] .choma-compose__body{padding:16px!important}
}

/* 1.8.8 — formularz nowej wiadomości jest częścią jednej karty Poczty. */
.choma-portal-app .choma-compose--mail{display:block!important;width:100%!important;margin:0!important}
.choma-portal-app .choma-compose--mail>summary{margin:0 0 18px!important}
.choma-portal-app .choma-compose--mail[open]>summary{margin:0 0 18px!important}
.choma-portal-app .choma-compose--mail[open] .choma-compose__body{display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important;margin:0!important}
.choma-portal-app .choma-compose--mail[open] .choma-assistant-form{padding:0 0 20px!important;border:0!important;background:transparent!important}
.choma-portal-app .choma-compose--mail[open] .choma-compose__form{margin:0!important;padding:20px 0 0!important;border-top:1px solid #dbe4ea!important;background:transparent!important}
.choma-portal-app .choma-sidebar__technology-copy small{margin-left:-21px!important}

/* 1.8.9 — bez <details>: Poczta ma jeden stabilny panel tworzenia wiadomości. */
.choma-portal-app section.choma-compose--mail{
  display:block!important;
  width:100%!important;
  margin:0 0 24px!important;
  padding:24px!important;
  overflow:visible!important;
  border:1px solid #d5e0e7!important;
  background:#fff!important;
  box-shadow:none!important;
}
.choma-portal-app .choma-compose--mail .choma-compose__title{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:5px!important;margin:0 0 18px!important}
.choma-portal-app .choma-compose--mail .choma-compose__title strong{color:#173b5b!important;font-size:22px!important;font-weight:650!important;line-height:1.15!important}
.choma-portal-app .choma-compose--mail .choma-compose__body{display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;overflow:visible!important;border:0!important;background:transparent!important;box-shadow:none!important}
.choma-portal-app .choma-compose--mail .choma-assistant-form{display:grid!important;width:100%!important;margin:0!important;padding:0 0 20px!important;border:0!important;background:transparent!important}
.choma-portal-app .choma-compose--mail .choma-compose__form{display:grid!important;width:100%!important;margin:0!important;padding:20px 0 0!important;border-top:1px solid #dbe4ea!important;background:transparent!important}
.choma-portal-app .choma-compose--mail .choma-compose__form textarea{min-height:180px!important}
@media (max-width:720px){.choma-portal-app section.choma-compose--mail{padding:16px!important}.choma-portal-app .choma-compose--mail .choma-compose__title strong{font-size:19px!important}}

/* 1.8.6 — końcowe reguły układu: jeden widok Poczty i zwarty branding. */
@media (min-width:901px){
    .choma-portal-app .choma-sidebar{width:250px!important;padding:12px 10px 10px!important}
    .choma-portal-app .choma-app__body{padding-left:250px!important}
    .choma-portal-app .choma-sidebar__logo--choma{min-height:52px!important;margin-bottom:8px!important;padding:8px 10px!important}
    .choma-portal-app .choma-sidebar__logo--choma img{width:184px!important}
    .choma-portal-app .choma-sidebar nav a{min-height:38px!important;padding:7px 10px!important;font-size:12px!important}
    .choma-portal-app .choma-sidebar__group-label{margin:7px 0 3px!important;font-size:9px!important}
}
.choma-portal-app .choma-sidebar__technology{
    display:grid!important;
    grid-template-columns:44px minmax(0,1fr)!important;
    align-items:center!important;
    gap:9px!important;
    padding:10px 4px 0!important;
}
.choma-portal-app .choma-sidebar__technology-icon{width:44px!important;height:44px!important;display:grid!important;place-items:center!important}
.choma-portal-app .choma-sidebar__technology-icon img{width:44px!important;height:44px!important;object-fit:contain!important}
.choma-portal-app .choma-sidebar__technology-copy{display:flex!important;min-width:0!important;flex-direction:column!important;align-items:flex-start!important;gap:3px!important}
.choma-portal-app .choma-sidebar__technology-logo{display:block!important;width:126px!important;max-width:100%!important;height:auto!important;filter:none!important;opacity:1!important}
.choma-portal-app .choma-sidebar__technology-copy small{display:block!important;margin:0!important;padding:0!important;color:#64798b!important;font-size:9px!important;line-height:1.2!important;letter-spacing:.02em!important;text-align:left!important}
.choma-portal-app .choma-system-header__technology{display:inline-flex!important;align-items:center!important;gap:0!important;white-space:nowrap!important}
.choma-portal-app .choma-system-header__technology small{display:block!important;margin:0!important;padding:0!important;line-height:1!important}
.choma-portal-app .choma-system-header__technology img{display:block!important;width:124px!important;max-height:32px!important;margin:-1px 0 0 -28px!important;transform:none!important}

/* Poczta nie może tworzyć pływającego drugiego ekranu. */
.choma-portal-app .choma-compose[open]{
    position:static!important;
    inset:auto!important;
    z-index:auto!important;
    overflow:visible!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
}
.choma-portal-app .choma-compose[open]>summary{
    position:static!important;
    display:inline-flex!important;
    min-width:0!important;
    min-height:38px!important;
    padding:0 14px!important;
    color:#fff!important;
    background:#d3163a!important;
    border:1px solid #d3163a!important;
    box-shadow:none!important;
    font-size:10px!important;
    font-weight:800!important;
    letter-spacing:.08em!important;
}
.choma-portal-app .choma-compose[open] .choma-compose__body{
    width:100%!important;
    max-width:none!important;
    max-height:none!important;
    margin:16px 0 0!important;
    padding:22px!important;
    overflow:visible!important;
    background:#f7fafc!important;
    border:1px solid #d7e1e8!important;
    box-shadow:none!important;
}
.choma-portal-app .choma-compose__body{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:18px!important}
.choma-portal-app .choma-compose__body .choma-assistant-form,.choma-portal-app .choma-compose__body .choma-compose__form{margin:0!important;min-width:0!important}
@media (max-width:720px){.choma-portal-app .choma-compose__body{grid-template-columns:1fr!important}.choma-portal-app .choma-compose[open] .choma-compose__body{padding:16px!important}}

/* 1.8.5: zwarty, czytelny panel bez dziedziczenia dawnych układów. */
@media (min-width:901px){
    .choma-portal-app .choma-sidebar{width:270px;padding:16px 11px 12px}
    .choma-portal-app .choma-app__body{padding-left:270px}
    .choma-portal-app .choma-sidebar__logo--choma{min-height:58px;margin-bottom:11px;padding:10px 12px}
    .choma-portal-app .choma-sidebar__logo--choma img{width:210px}
    .choma-portal-app .choma-sidebar nav a{min-height:40px;padding:8px 11px;font-size:13px}
    .choma-portal-app .choma-sidebar__group-label{margin-top:8px}
}
.choma-portal-app .choma-sidebar__technology{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:10px;padding:10px 4px 0;background:transparent;border:0;border-top:1px solid #c5d1db}
.choma-portal-app .choma-sidebar__technology>span:last-child{display:flex;min-width:0;flex-direction:column;align-items:flex-start;gap:4px}
.choma-portal-app .choma-sidebar__technology-logo{display:block;width:142px!important;max-width:100%;height:auto;filter:none!important;opacity:1}
.choma-portal-app .choma-sidebar__technology small{display:block;margin:0;color:#64798b;font-size:9px;line-height:1.2;letter-spacing:.02em}
.choma-portal-app .choma-system-header__technology{display:inline-flex!important;align-items:center!important;gap:3px!important}
.choma-portal-app .choma-system-header__technology small{display:block;padding:0!important;margin:0!important;border:0!important;line-height:1}
.choma-portal-app .choma-system-header__technology img{display:block;margin-left:-18px!important;margin-right:0!important;width:142px!important;max-height:38px!important}
.choma-portal-app .choma-message-back{display:inline-flex!important;min-height:34px!important;padding:0 11px!important;border:1px solid #d3163a!important;color:#b20f2e!important;background:#fff!important;font-size:10px!important;line-height:1!important;font-weight:800!important;letter-spacing:.08em!important;text-decoration:none!important;text-transform:uppercase!important}
.choma-portal-app .choma-message-back::before{content:none!important}
.choma-portal-app .choma-note-composer{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:14px!important;padding:24px!important}
.choma-portal-app .choma-note-composer textarea{min-height:135px!important}
.choma-portal-app .choma-note-calendar-link{display:grid!important;grid-template-columns:18px minmax(0,1fr) 170px!important;align-items:center!important;gap:10px!important;padding:5px 0!important}
.choma-portal-app .choma-note-calendar-link input[type="checkbox"]{appearance:auto!important;width:18px!important;height:18px!important;min-width:18px!important;margin:0!important;accent-color:#d3163a}
.choma-portal-app .choma-note-calendar-link > .choma-note-calendar-label{font-size:12px!important;font-weight:700!important;letter-spacing:0!important;text-transform:none!important}
.choma-portal-app .choma-note-calendar-link input[type="date"]{width:170px!important;max-width:100%!important;margin:0!important}
.choma-branding-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:end}
.choma-branding-form label{display:grid;gap:7px;color:#123d62;font-size:11px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}
.choma-branding-form input[type="file"]{padding:10px;border:1px solid #ced9e1;background:#fff}
.choma-branding-form .choma-btn{justify-self:start}
@media (max-width:700px){.choma-portal-app .choma-note-calendar-link{grid-template-columns:18px minmax(0,1fr)!important}.choma-portal-app .choma-note-calendar-link input[type="date"]{grid-column:2;width:100%!important}.choma-branding-form{grid-template-columns:1fr}}
.choma-portal-app .choma-compose>summary.choma-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:176px!important;min-height:40px!important;padding:0 16px!important;color:#fff!important;background:#d3163a!important;border:1px solid #d3163a!important;font-size:10px!important;font-weight:800!important;letter-spacing:.09em!important;line-height:1!important;text-indent:0!important}
.choma-portal-app .choma-compose>summary.choma-btn::marker{display:none!important;content:""}

/* Ostateczna warstwa brandingu: logo OpenSmart One jest przeznaczone dla jasnego sidebara. */
.choma-portal-app .choma-sidebar__technology-logo{
    display:block;
    width:132px!important;
    max-width:100%;
    height:auto;
    filter:none!important;
    opacity:1;
}
.choma-portal-app .choma-system-header__technology{
    gap:4px;
}

/* 1.8.4: finalne reguły układu. */
.choma-portal-app .choma-system-header__technology{gap:4px}
.choma-portal-app .choma-system-header__technology img{margin-left:0}
.choma-portal-app .choma-sidebar__technology-logo{display:block;width:132px!important;max-width:100%;height:auto;filter:none!important;opacity:1}
.choma-portal-app .choma-sidebar__technology>span:last-child{min-width:0}
.choma-message-back{display:inline-flex;align-items:center;min-height:34px;padding:0 10px;border:1px solid #c8d5de;color:#123d62!important;font-size:11px;font-weight:700;letter-spacing:.06em;text-decoration:none;text-transform:uppercase;white-space:nowrap}
.choma-message-back:hover{border-color:#cf1738;color:#bd1031!important}
.choma-calendar-note-link .choma-panel__head{align-items:center}
.choma-note-composer{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px!important;padding:28px!important}
.choma-note-composer>strong,.choma-note-composer>p,.choma-note-composer>.choma-dictation-field,.choma-note-composer>button{grid-column:1/-1}
.choma-note-composer label{display:grid;gap:8px;color:#123d62;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.choma-note-composer label small{color:#64798b;font-size:10px;font-weight:500;letter-spacing:0;text-transform:none}
.choma-note-composer textarea{min-height:160px!important}
.choma-note-composer .choma-note-calendar-link{display:flex;align-items:center;gap:10px;grid-column:1/-1;letter-spacing:0;text-transform:none}
.choma-note-calendar-link input[type="date"]{max-width:190px;margin-left:8px}
@media (max-width:700px){.choma-note-composer{grid-template-columns:1fr;padding:18px!important}.choma-note-composer label{grid-column:1}.choma-note-composer .choma-note-calendar-link{align-items:flex-start;flex-wrap:wrap}.choma-note-calendar-link input[type="date"]{margin-left:0}.choma-message-back{font-size:10px}}

/* 1.8.3: finalne ustawienia ponad starszymi korektami. */
.choma-portal-app .choma-system-header__technology{gap:4px}
.choma-portal-app .choma-system-header__technology img{margin-left:0}
.choma-portal-app .choma-sidebar__technology-logo{display:block;width:132px!important;max-width:100%;height:auto;filter:brightness(0) invert(1);opacity:.92}
.choma-portal-app .choma-sidebar__technology>span:last-child{min-width:0}
.choma-message-back{display:inline-flex;align-items:center;min-height:34px;padding:0 10px;border:1px solid #c8d5de;color:#123d62!important;font-size:11px;font-weight:700;letter-spacing:.06em;text-decoration:none;text-transform:uppercase;white-space:nowrap}
.choma-message-back:hover{border-color:#cf1738;color:#bd1031!important}
.choma-calendar-voice-note form{display:grid!important;grid-template-columns:1fr!important;gap:16px;padding:22px!important}
.choma-calendar-voice-note form>label{display:grid!important;grid-template-columns:1fr!important;gap:8px;width:100%!important;font-weight:700}
.choma-calendar-voice-note form input,.choma-calendar-voice-note form textarea{width:100%!important;max-width:none!important}
.choma-calendar-voice-note form textarea{min-height:150px!important}
.choma-calendar-voice-note form>button{justify-self:start;margin-left:0!important}
.choma-direct-note-intro,.choma-direct-note-intro+form{margin-left:26px;margin-right:26px}
@media (max-width:700px){.choma-calendar-voice-note form{padding:16px!important}.choma-direct-note-intro,.choma-direct-note-intro+form{margin-left:16px;margin-right:16px}.choma-message-back{font-size:10px}}

/* Wspólny, szeroki układ asystenta: Poczta, Dokumenty i Notatki. */
.choma-editor-panel .choma-assistant-form,
.choma-assistant-panel .choma-assistant-form{
    margin:0 0 28px;
    padding:28px;
    border:1px solid #d7e1e8;
    background:#f7fafc;
}
.choma-editor-panel .choma-assistant-form textarea,
.choma-assistant-panel .choma-assistant-form textarea{
    min-height:118px;
}
.choma-compose[open]{
    position:fixed;
    inset:86px max(24px,8vw) 24px;
    z-index:100;
    overflow:auto;
    border:1px solid #d3dfe7;
    background:#f7fafc;
    box-shadow:0 22px 60px rgba(13,37,57,.24);
}
.choma-compose[open]>summary{
    position:sticky;
    top:0;
    z-index:2;
    padding:18px 28px;
    background:#fff;
    box-shadow:0 1px 0 #dbe4ea;
}
.choma-compose[open] .choma-compose__body{
    width:min(980px,100%);
    max-width:none;
    max-height:none;
    margin:0 auto;
    padding:24px 28px 32px;
    overflow:visible;
}
.choma-compose[open] .choma-compose__form{
    padding-bottom:8px;
}
@media (max-width:620px){
    .choma-compose[open]{
        inset:62px 10px 10px;
    }
    .choma-compose[open]>summary,
    .choma-compose[open] .choma-compose__body{
        padding-right:16px;
        padding-left:16px;
    }
}

/* 1.8.2: czytelne, pełnoszerokie formularze asystenta i notatek. */
.choma-editor-panel form.choma-assistant-form,
.choma-assistant-panel form.choma-assistant-form,
.choma-compose__body form.choma-assistant-form,
.choma-calendar-voice-note form{
    width:100%;
    max-width:none;
    grid-template-columns:minmax(0,1fr);
}
.choma-editor-panel label.choma-dictation-field,
.choma-assistant-panel label.choma-dictation-field,
.choma-compose__body label.choma-dictation-field,
.choma-calendar-voice-note label.choma-dictation-field{
    display:block;
    width:100%;
}
.choma-editor-panel label.choma-dictation-field textarea,
.choma-assistant-panel label.choma-dictation-field textarea,
.choma-compose__body label.choma-dictation-field textarea,
.choma-calendar-voice-note label.choma-dictation-field textarea{
    display:block;
    width:100%;
    min-height:132px;
    margin-top:8px;
}
.choma-editor-panel button[data-choma-dictation],
.choma-assistant-panel button[data-choma-dictation],
.choma-compose__body button[data-choma-dictation],
.choma-calendar-voice-note button[data-choma-dictation]{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    min-width:118px;
    min-height:38px;
    margin-top:10px;
    border:1px solid #cf1738;
    color:#bd1031;
    background:#fff;
    box-shadow:none;
}
.choma-editor-panel button[data-choma-dictation]::before,
.choma-assistant-panel button[data-choma-dictation]::before,
.choma-compose__body button[data-choma-dictation]::before,
.choma-calendar-voice-note button[data-choma-dictation]::before{
    content:"🎙";
    font-size:13px;
    line-height:1;
}
.choma-editor-panel button[data-choma-dictation]:hover,
.choma-assistant-panel button[data-choma-dictation]:hover,
.choma-compose__body button[data-choma-dictation]:hover,
.choma-calendar-voice-note button[data-choma-dictation]:hover{
    background:#fff4f6;
}
.choma-editor-panel .choma-assistant-form select,
.choma-assistant-panel .choma-assistant-form select,
.choma-compose__body .choma-assistant-form select{
    width:100%;
    min-height:48px;
}
.choma-direct-note-intro{
    margin:4px 0 0;
    padding:18px 0 2px;
    border-top:1px solid #dce5ea;
}
.choma-direct-note-intro strong{
    color:#123d62;
    font-size:11px;
    letter-spacing:.1em;
}
.choma-direct-note-intro p{
    margin:7px 0 0;
    color:var(--muted);
    font-size:13px;
    line-height:1.55;
}

/* 1.7.8: trwały wybór wyglądu i zwarty panel boczny bez widocznego suwaka. */
.choma-portal-app .choma-sidebar{
    scrollbar-width:none;
    -ms-overflow-style:none;
}
.choma-portal-app .choma-sidebar::-webkit-scrollbar{
    display:none;
    width:0;
    height:0;
}
.choma-theme-choice{
    display:grid;
    width:100%;
    min-width:0;
    grid-template-columns:58px minmax(0,1fr);
    align-items:center;
    gap:5px 12px;
    padding:14px;
    border:1px solid #d7e0e7;
    border-radius:12px;
    color:inherit;
    background:#fbfcfd;
    font:inherit;
    text-align:left;
    cursor:pointer;
    appearance:none;
}
.choma-theme-choice:hover{
    border-color:#9fb5c6;
    background:#fff;
}
.choma-theme-choice.is-current{
    border-color:#123d62;
    box-shadow:0 0 0 2px rgba(18,61,98,.12);
}
.choma-theme-choice .choma-theme-swatch{
    grid-row:1/3;
}
.choma-theme-choice strong{
    align-self:end;
    color:#173b5b;
    font-size:14px;
}
.choma-theme-choice small{
    align-self:start;
    color:#70808d;
    font-size:11px;
}
.choma-appearance-hint{
    margin:0;
    color:#70808d;
    font-size:12px;
}
@media (min-width:901px){
    .choma-portal-app .choma-sidebar{
        padding-top:12px;
        padding-bottom:9px;
    }
    .choma-portal-app .choma-sidebar__logo--choma{
        min-height:54px;
        margin-bottom:7px;
        padding:8px 12px;
    }
    .choma-portal-app .choma-sidebar__logo--choma img{
        width:220px;
    }
    .choma-portal-app .choma-sidebar nav{
        gap:3px;
    }
    .choma-portal-app .choma-sidebar__group-label{
        margin-top:6px;
        font-size:8px;
    }
    .choma-portal-app .choma-sidebar nav a{
        min-height:38px;
        gap:8px;
        padding:6px 10px;
        font-size:13px;
    }
    .choma-portal-app .choma-sidebar nav a span,
    .choma-portal-app .choma-sidebar nav a:first-of-type span{
        font-size:16px;
    }
    .choma-portal-app .choma-sidebar__technology{
        gap:9px;
        margin-top:auto;
        padding:7px 8px;
    }
    .choma-portal-app .choma-sidebar__technology-icon{
        width:42px;
        height:42px;
        flex-basis:42px;
    }
}
@media (max-width:900px){
    .choma-theme-choice{grid-template-columns:58px minmax(0,1fr)}
}

/* 1.7.7: branding, trzy trwałe warianty kolorystyczne i bezpieczne odstępy treści. */
.choma-portal-app .choma-system-header__technology{
    width:auto;
    justify-content:flex-start;
    gap:0;
}
.choma-portal-app .choma-system-header__technology small{
    padding:0;
    border-right:0;
}
.choma-portal-app .choma-system-header__technology img{
    margin-left:-18px;
}
.choma-portal-app .choma-sidebar__technology{
    gap:13px;
    padding:12px 10px;
}
.choma-portal-app .choma-sidebar__technology-icon{
    width:50px;
    height:50px;
    flex-basis:50px;
    border-radius:14px;
}
.choma-portal-app .choma-sidebar__technology strong{
    font-size:14px;
    line-height:1.2;
}
.choma-portal-app .choma-sidebar__technology small{
    font-size:9.5px;
    line-height:1.3;
}
.choma-message .choma-panel__head>div{
    min-width:0;
}
.choma-message .choma-panel__head h2{
    overflow-wrap:anywhere;
}
.choma-message__body{
    max-width:none;
    padding:30px 32px;
    overflow-x:auto;
    overflow-wrap:anywhere;
}
.choma-message__body table{
    max-width:100% !important;
}
.choma-message__body pre{
    white-space:pre-wrap;
}
.choma-message__attachments{
    margin-right:32px;
    margin-left:32px;
}
.choma-message__actions{
    padding:0 32px 30px;
}
.choma-danger-zone>p,
.choma-danger-zone>form{
    margin-right:26px;
    margin-left:26px;
}
.choma-theme-choices{
    grid-template-columns:repeat(4,minmax(0,1fr));
}
.choma-theme-swatch--dark{
    position:relative;
    background:linear-gradient(135deg,#1E201C,#303129);
}
.choma-theme-swatch--dark::after{
    position:absolute;
    inset:8px;
    border-radius:6px;
    background:#f4f5f3;
    content:"";
}

/* Grafit jasny: neutralne tło i trwałe grafitowe akcenty. */
.choma-portal-app.choma-theme-graphite .choma-sidebar{
    color:#fff;
    background:linear-gradient(145deg,#0b4860 0%,#126b83 58%,#1b8198 100%);
    box-shadow:inset -1px 0 rgba(255,255,255,.12);
}
.choma-portal-app.choma-theme-graphite .choma-sidebar__group-label{
    color:rgba(255,255,255,.68);
}
.choma-portal-app.choma-theme-graphite .choma-sidebar nav a{
    border-color:rgba(255,255,255,.2);
    color:rgba(255,255,255,.92);
    background:linear-gradient(100deg,#062a43 0%,#0b4a6d 100%);
}
.choma-portal-app.choma-theme-graphite .choma-sidebar nav a span{
    color:rgba(255,255,255,.84);
}
.choma-portal-app.choma-theme-graphite .choma-sidebar nav a:hover{
    color:#fff;
    background:linear-gradient(100deg,#0e5f86 0%,#2b83a3 100%);
}
.choma-portal-app.choma-theme-graphite .choma-sidebar nav a.is-active{
    border-color:rgba(255,255,255,.58);
    color:#fff;
    background:linear-gradient(100deg,#0e5f86 0%,#2b83a3 100%);
}
.choma-portal-app.choma-theme-graphite .choma-sidebar nav a.is-active span{
    color:#fff;
}
.choma-portal-app.choma-theme-graphite .choma-sidebar__technology{
    border-top-color:rgba(255,255,255,.22);
}
.choma-portal-app.choma-theme-graphite .choma-sidebar__technology strong{
    color:#fff;
}
.choma-portal-app.choma-theme-graphite .choma-sidebar__technology small{
    color:#f2f0eb !important;
}

/* Grafit ciemny: ciemne podłoże, jasne kafle i błękitny hover. */
.choma-portal-app.choma-theme-dark .choma-sidebar{
    color:#f7f6f2;
    background:linear-gradient(180deg,#1E201C 0%,#303129 100%);
    box-shadow:inset -1px 0 rgba(255,255,255,.08);
}
.choma-portal-app.choma-theme-dark .choma-sidebar__logo--choma{
    background:#f7f7f4;
}
.choma-portal-app.choma-theme-dark .choma-sidebar__group-label{
    color:rgba(255,255,255,.58);
}
.choma-portal-app.choma-theme-dark .choma-sidebar nav a{
    border-color:rgba(255,255,255,.18);
    color:#303a40;
    background:#f3f4f2;
    box-shadow:0 5px 16px rgba(0,0,0,.12);
}
.choma-portal-app.choma-theme-dark .choma-sidebar nav a span{
    color:#244b68;
}
.choma-portal-app.choma-theme-dark .choma-sidebar nav a:hover{
    border-color:#c4dce9;
    color:#0a3257;
    background:#dcecf5;
}
.choma-portal-app.choma-theme-dark .choma-sidebar nav a.is-active{
    border-color:#dcecf5;
    color:#092f53;
    background:#eef6fa;
    box-shadow:inset 4px 0 #d3163a,0 9px 22px rgba(0,0,0,.18);
}
.choma-portal-app.choma-theme-dark .choma-sidebar nav a.is-active span{
    color:#092f53;
}
.choma-portal-app.choma-theme-dark .choma-sidebar__technology{
    border-top-color:rgba(255,255,255,.18);
}
.choma-portal-app.choma-theme-dark .choma-sidebar__technology strong{
    color:#fff;
}
.choma-portal-app.choma-theme-dark .choma-sidebar__technology small{
    color:rgba(255,255,255,.62);
}

@media (max-width:900px){
    .choma-theme-choices{grid-template-columns:1fr}
}
@media (max-width:620px){
    .choma-message__body{padding:24px 18px}
    .choma-message__attachments{margin-right:18px;margin-left:18px}
    .choma-message__actions{padding:0 18px 24px}
    .choma-danger-zone>p,.choma-danger-zone>form{margin-right:18px;margin-left:18px}
    .choma-portal-app .choma-system-header__technology{width:auto;justify-content:flex-start}
}
@media (max-width:620px){
    .choma-theme-choices{grid-template-columns:1fr}
    .choma-appearance-panel>form{padding:0 18px 22px}
}

/* 1.7.2: korekta ergonomii Centrum i czytelniejsze narzędzia AI. */
.choma-portal-app .choma-system-header__technology{
    gap:0;
}
.choma-portal-app .choma-system-header__technology small{
    padding-right:2px;
}
.choma-portal-app .choma-system-header__technology img{
    margin-left:-1px;
}
.choma-portal-app .choma-page-head h1,
.choma-portal-app .choma-page-head--compact h1,
.choma-portal-app .choma-page-head--lead h1{
    font-size:clamp(35px,3.25vw,49px);
    line-height:1.02;
}
.choma-portal-app .choma-sidebar nav a span{
    width:24px;
    color:#31536f;
    font-size:18px;
    font-weight:500;
}
.choma-portal-app .choma-sidebar nav a:first-of-type span{
    font-size:22px;
    font-weight:750;
}
.choma-portal-app .choma-sidebar nav a.is-active{
    box-shadow:inset 4px 0 #d3163a,0 8px 20px rgba(9,47,83,.12);
}
.choma-portal-app .choma-sidebar nav a.is-active span{
    color:#fff;
}
.choma-dictation-field{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:stretch;
}
.choma-dictation-field input{
    min-width:0;
}
.choma-dictation-field button{
    min-width:108px;
    border:1px solid #cbd7e0;
    border-left:0;
    color:#123d62;
    background:#f4f7f9;
    font-size:10px;
    font-weight:800;
    letter-spacing:.08em;
    cursor:pointer;
}
.choma-dictation-field button:hover{
    background:#eaf1f5;
}
.choma-dictation-field button:disabled{
    cursor:wait;
    opacity:.72;
}
.choma-ai-reanalyze{
    margin:0 28px 28px;
    padding-top:20px;
    border-top:1px solid #e4eaee;
}
.choma-page-head--lead{
    min-height:0;
    align-items:center;
    padding:4px 0 2px;
}
.choma-lead-head__aside{
    display:grid;
    justify-items:end;
    gap:9px;
    min-width:245px;
    text-align:right;
}
.choma-lead-head__aside>strong{
    color:#173b5b;
    font-size:13px;
    font-weight:720;
}
.choma-lead-head__aside>a{
    color:#bf1132;
    font-size:10px;
    font-weight:780;
    letter-spacing:.06em;
    text-decoration:none;
    text-transform:uppercase;
}
.choma-lead-card--sticky{
    position:static;
    top:auto;
}
@media (max-width:900px){
    .choma-lead-head__aside{
        justify-items:start;
        min-width:0;
        text-align:left;
    }
}
@media (max-width:620px){
    .choma-portal-app .choma-page-head h1,
    .choma-portal-app .choma-page-head--compact h1,
    .choma-portal-app .choma-page-head--lead h1{
        font-size:clamp(32px,10vw,40px);
    }
    .choma-dictation-field{
        grid-template-columns:1fr;
    }
    .choma-dictation-field button{
        min-height:42px;
        border-top:0;
        border-left:1px solid #cbd7e0;
    }
}

/* Wariant grafitowy musi pozostać ostatnią warstwą kolorystyczną. */
.choma-theme-graphite .choma-sidebar nav a.is-active,
.choma-theme-graphite .choma-mobile-module-menu nav,
.choma-theme-graphite .choma-user>span,
.choma-theme-graphite .choma-calendar-days a.is-selected,
.choma-theme-graphite .choma-btn--primary{
    border-color:#062a43;
    background:linear-gradient(100deg,#062a43 0%,#0e5f86 100%);
}
.choma-theme-graphite .choma-sidebar nav a.is-active{
    box-shadow:inset 4px 0 #d3163a,0 8px 20px rgba(6,42,67,.2);
}
.choma-theme-graphite .choma-sidebar nav a:hover,
.choma-theme-graphite .choma-calendar-toolbar h2,
.choma-theme-graphite .choma-calendar-month h3,
.choma-theme-graphite .choma-calendar-day-events h3,
.choma-theme-graphite .choma-calendar-event-list strong,
.choma-theme-graphite .choma-calendar-summary strong,
.choma-theme-graphite .choma-calendar-days a,
.choma-theme-graphite .choma-calendar-toolbar nav a{
    color:#073756;
}

/* Końcowe pozycjonowanie brandingu 1.7.7 — ponad starszymi korektami. */
.choma-portal-app .choma-system-header__technology{
    width:auto;
    justify-content:flex-start;
    gap:0;
}
.choma-portal-app .choma-system-header__technology small{
    padding-right:0;
    border-right:0;
}
.choma-portal-app .choma-system-header__technology img{
    margin-left:-18px;
}
@media (max-width:620px){
    .choma-portal-app .choma-system-header__technology{width:auto;justify-content:flex-start}
}
/* 1.8.11 — wyłącznie dolny branding OpenSmart One w sidebarze. */
.choma-portal-app .choma-sidebar__technology--bottom {
  display: grid !important;
  grid-template-columns: 48px minmax(0, 1fr) !important;
  align-items: center !important;
  column-gap: 18px !important;
  padding: 14px 6px 0 !important;
}

.choma-portal-app .choma-sidebar__technology--bottom .choma-sidebar__technology-icon,
.choma-portal-app .choma-sidebar__technology--bottom .choma-sidebar__technology-icon img {
  width: 48px !important;
  height: 48px !important;
}

.choma-portal-app .choma-sidebar__technology--bottom .choma-sidebar__technology-copy {
  display: flex !important;
  min-width: 0 !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 5px !important;
}

.choma-portal-app .choma-sidebar__technology--bottom .choma-sidebar__technology-logo {
  display: block !important;
  width: 132px !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  transform: none !important;
  filter: none !important;
  opacity: 1 !important;
}

.choma-portal-app .choma-sidebar__technology--bottom .choma-sidebar__technology-copy small {
  display: block !important;
  margin: 0 0 0 8px !important;
  padding: 0 !important;
  color: #64798b !important;
  font-size: 9px !important;
  line-height: 1.2 !important;
  text-align: left !important;
}

/* 1.8.12 — wyłącznie korekta dwóch odstępów brandingu. */
.choma-portal-app .choma-sidebar__technology--bottom .choma-sidebar__technology-copy small {
  margin-top: -12px !important;
}

.choma-system-header__technology {
  display: inline-flex !important;
  align-items: center !important;
  gap: 2px !important;
  white-space: nowrap !important;
}

.choma-system-header__technology small {
  margin: 0 !important;
  padding: 0 !important;
}

.choma-system-header__technology img {
  display: block !important;
  width: 112px !important;
  max-height: 32px !important;
  margin: 0 !important;
  transform: none !important;
}

/* 1.8.16 — panel 224 px: po 20 px po obu stronach logo CHOMA. */
.choma-portal-app .choma-sidebar {
  width: 224px !important;
}

.choma-portal-app .choma-app__body {
  padding-left: 224px !important;
}

/* 1.8.13 — tylko precyzyjne wyrównanie brandingu. */
.choma-portal-app .choma-sidebar__technology--bottom .choma-sidebar__technology-copy small {
  transform: translateY(-8px) !important;
}

.choma-system-header__technology img {
  margin-left: -16px !important;
}

/* 1.8.17 — Poczta: jeden formularz, lista odebranych pozostaje widokiem głównym. */
.choma-portal-app .choma-center-panel:has(.choma-mail-composer) { display:grid!important; gap:20px!important; }
.choma-portal-app .choma-center-panel:has(.choma-mail-composer) > .choma-panel__head,
.choma-portal-app .choma-center-panel:has(.choma-mail-composer) > .choma-mail-list,
.choma-portal-app .choma-center-panel:has(.choma-mail-composer) > .choma-empty { order:0; }
.choma-portal-app .choma-mail-composer { order:1; position:static!important; inset:auto!important; display:block!important; width:100%!important; max-width:none!important; margin:0!important; overflow:visible!important; background:transparent!important; border:0!important; box-shadow:none!important; }
.choma-portal-app .choma-mail-composer > summary { display:inline-flex!important; align-items:center; justify-content:center; width:auto!important; min-width:0!important; min-height:38px!important; margin:0!important; padding:0 15px!important; cursor:pointer; list-style:none; background:#d3163a!important; color:#fff!important; border:1px solid #d3163a!important; font-size:10px!important; font-weight:800!important; letter-spacing:.09em!important; line-height:1!important; }
.choma-portal-app .choma-mail-composer > summary::-webkit-details-marker { display:none; }
.choma-portal-app .choma-mail-composer[open] > summary { margin-bottom:16px!important; }
.choma-portal-app .choma-mail-compose-form { position:static!important; display:grid!important; grid-template-columns:1fr!important; gap:16px!important; width:100%!important; min-width:0!important; margin:0!important; padding:22px!important; overflow:visible!important; background:#fff!important; border:1px solid #d5e0e7!important; box-shadow:none!important; }
.choma-portal-app .choma-mail-compose-form label,
.choma-portal-app .choma-mail-compose-form fieldset { position:static!important; display:grid!important; min-width:0!important; margin:0!important; }
.choma-portal-app .choma-mail-compose-form__fields { display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:14px!important; }
.choma-portal-app .choma-mail-compose-form input,
.choma-portal-app .choma-mail-compose-form textarea,
.choma-portal-app .choma-mail-compose-form select { position:static!important; width:100%!important; min-width:0!important; box-sizing:border-box!important; }
.choma-portal-app .choma-mail-compose-form > label > textarea { min-height:180px!important; }
.choma-portal-app .choma-mail-compose-form__assistant { grid-template-columns:minmax(0,1fr) 190px auto!important; align-items:end!important; gap:12px!important; padding:16px!important; border:1px solid #dbe4ea!important; background:#f7fafc!important; }
.choma-portal-app .choma-mail-compose-form__assistant legend { padding:0 5px; color:#173b5b; font-size:11px; font-weight:800; letter-spacing:.09em; text-transform:uppercase; }
.choma-portal-app .choma-mail-compose-form__assistant p { grid-column:1 / -1; margin:0; color:#587087; font-size:14px; }
.choma-portal-app .choma-mail-compose-form__assistant .choma-dictation-field { grid-column:1; }
.choma-portal-app .choma-mail-compose-form__assistant .choma-dictation-field textarea { min-height:84px!important; }
.choma-portal-app .choma-mail-compose-form__assistant .choma-dictation-field button { position:static!important; width:max-content!important; min-height:34px!important; margin-top:8px!important; }
.choma-portal-app .choma-mail-compose-form__assistant > button { min-height:40px!important; }
.choma-portal-app .choma-mail-compose-form > .choma-btn--primary { justify-self:start; width:auto!important; min-width:150px!important; min-height:42px!important; }
@media (max-width:720px) {
  .choma-portal-app .choma-mail-compose-form { padding:16px!important; }
  .choma-portal-app .choma-mail-compose-form__fields,
  .choma-portal-app .choma-mail-compose-form__assistant { grid-template-columns:1fr!important; }
  .choma-portal-app .choma-mail-compose-form__assistant p { grid-column:auto; }
}

/* 1.8.24 — tylko: perłowe logowanie, mobilny układ, branding dolny i załączniki. */
body.choma-portal-login-page,
.choma-portal-login-page .choma-login__form-wrap {
  background:#f6f7f6 !important;
}

.choma-portal-app .choma-sidebar__technology--bottom {
  grid-template-columns:58px minmax(0,1fr) !important;
  column-gap:16px !important;
  align-items:center !important;
}

.choma-portal-app .choma-sidebar__technology--bottom .choma-sidebar__technology-icon {
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:58px !important;
  height:58px !important;
  padding:5px !important;
  overflow:visible !important;
  border-radius:17px !important;
  background:rgba(255,255,255,.94) !important;
  box-shadow:0 0 0 2px rgba(255,255,255,.8),0 8px 22px rgba(8,45,75,.22),0 0 18px rgba(255,255,255,.55) !important;
}

.choma-portal-app .choma-sidebar__technology--bottom .choma-sidebar__technology-icon img {
  width:48px !important;
  height:48px !important;
  border-radius:12px !important;
}

.choma-portal-app .choma-message__attachments a {
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:5px 10px;
  border:1px solid #c8d5de;
  border-radius:5px;
  color:#133f63;
  background:#fff;
  font-size:12px;
  font-weight:700;
  text-decoration:none;
}

.choma-portal-app .choma-message__attachments a:hover,
.choma-portal-app .choma-message__attachments a:focus-visible {
  border-color:#d3163a;
  color:#b91033;
}

.choma-portal-app .choma-message__actions {
  gap:10px !important;
}

.choma-portal-app .choma-message__actions > form,
.choma-portal-app .choma-message__actions > details {
  margin:0 !important;
}

.choma-portal-app .choma-message__actions .choma-btn,
.choma-portal-app .choma-message__actions button {
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:auto !important;
  min-width:0 !important;
  min-height:34px !important;
  padding:0 14px !important;
  border-radius:5px !important;
  font-size:10px !important;
  letter-spacing:.08em !important;
  line-height:1 !important;
}

@media (max-width:900px) {
  html,
  body.choma-portal-app {
    width:100% !important;
    max-width:100% !important;
    overflow-x:hidden !important;
  }

  .choma-portal-app .choma-sidebar {
    display:none !important;
  }

  .choma-portal-app .choma-app__body,
  .choma-portal-app .choma-main,
  .choma-portal-app .choma-topbar,
  .choma-portal-app .choma-system-header {
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
  }

  .choma-portal-app .choma-app__body {
    padding-left:0 !important;
  }
}

/* 1.8.34 — poczta: czytelna hierarchia bez suwaków. */
.choma-portal-app .choma-mail-tabs,
.choma-portal-app .choma-mail-folder-tabs {
    overflow:visible !important;
    overflow-x:visible !important;
    overflow-y:visible !important;
    scrollbar-width:none !important;
}
.choma-portal-app .choma-mail-tabs::-webkit-scrollbar,
.choma-portal-app .choma-mail-folder-tabs::-webkit-scrollbar { display:none !important; width:0 !important; height:0 !important; }

/* Główne zakładki skrzynek: delikatna linia od dołu. */
.choma-portal-app .choma-mail-tabs { border-bottom:1px solid #d6e0e8 !important; }
.choma-portal-app .choma-mail-tabs > a::after { display:block !important; }

/* Foldery to nawigacja drugiego poziomu: akcent z lewej, bez kolejnej ramki. */
.choma-portal-app .choma-mail-folder-tabs {
    align-items:center !important;
    gap:10px !important;
    border-bottom:0 !important;
}
.choma-portal-app .choma-mail-folder-tabs > a {
    min-height:34px !important;
    padding:0 4px 0 13px !important;
}
.choma-portal-app .choma-mail-folder-tabs > a::after { display:none !important; }
.choma-portal-app .choma-mail-folder-tabs > a::before {
    content:"";
    position:absolute;
    top:5px;
    bottom:5px;
    left:0;
    width:3px;
    border-radius:3px;
    background:var(--oso-gradient, linear-gradient(180deg,#07347b 0%,#1268ee 55%,#0e91ce 100%));
    opacity:0;
    transform:scaleY(.35);
    transition:opacity .18s ease, transform .18s ease;
}
.choma-portal-app .choma-mail-folder-tabs > a:hover::before,
.choma-portal-app .choma-mail-folder-tabs > a:focus-visible::before,
.choma-portal-app .choma-mail-folder-tabs > a.is-active::before { opacity:1; transform:scaleY(1); }

/* Pole przekazania: niewielki checkbox przy etykiecie, bez odziedziczonego układu formularza. */
.choma-portal-app .choma-mail-forward-attachments {
    display:inline-flex !important;
    grid-column:auto !important;
    grid-template-columns:none !important;
    justify-self:start !important;
    width:auto !important;
    max-width:none !important;
    min-height:18px !important;
    padding:0 !important;
    margin:4px 0 16px !important;
    border:0 !important;
    background:transparent !important;
    line-height:1.2 !important;
}
.choma-portal-app .choma-mail-forward-attachments input[type="checkbox"] {
    appearance:auto !important;
    box-sizing:border-box !important;
    flex:0 0 14px !important;
    width:14px !important;
    height:14px !important;
    min-width:14px !important;
    min-height:14px !important;
    margin:0 !important;
    padding:0 !important;
    accent-color:#1268ee !important;
}

/* 1.8.18 — samodzielny, aplikacyjny widok Poczty. */
.choma-portal-app .choma-mail-screen {
  display: block !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 30px !important;
}
.choma-portal-app .choma-mail-screen__head {
  display: flex !important;
  align-items: end !important;
  justify-content: space-between !important;
  gap: 24px !important;
  margin-bottom: 24px !important;
}
.choma-portal-app .choma-mail-screen__head h2 { margin: 4px 0 0 !important; }
.choma-portal-app .choma-mail-screen__head p { margin: 8px 0 0 !important; }
.choma-portal-app .choma-mail-screen__new,
.choma-portal-app .choma-mail-screen__back {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  height: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;
  padding: 0 16px !important;
  white-space: nowrap !important;
}
.choma-portal-app .choma-mail-screen .choma-mail-list {
  display: grid !important;
  gap: 0 !important;
  border-top: 1px solid #dce5eb !important;
}
.choma-portal-app .choma-mail-screen .choma-mail-list > a {
  display: grid !important;
  grid-template-columns: minmax(190px,.85fr) minmax(280px,2fr) auto !important;
  align-items: center !important;
  gap: 18px !important;
  padding: 17px 14px !important;
  border-bottom: 1px solid #dce5eb !important;
  background: transparent !important;
}
.choma-portal-app .choma-mail-screen .choma-mail-list > a:hover { background: #f4f8fb !important; }
.choma-portal-app .choma-mail-screen .choma-mail-list em {
  color: #708398 !important;
  font-size: 12px !important;
  font-style: normal !important;
}
.choma-portal-app .choma-mail-screen .choma-mail-list time { white-space: nowrap !important; }
.choma-portal-app .choma-mail-screen .choma-mail-compose-form {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 22px !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 30px !important;
  border: 1px solid #d9e3ea !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 18px 44px rgba(23,59,91,.08) !important;
}
.choma-portal-app .choma-mail-screen .choma-mail-compose-form label {
  display: grid !important;
  gap: 8px !important;
  color: #173b5b !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: .07em !important;
  text-transform: uppercase !important;
}
.choma-portal-app .choma-mail-screen .choma-mail-compose-form__fields {
  display: grid !important;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr)) !important;
  gap: 16px !important;
}
.choma-portal-app .choma-mail-screen .choma-mail-compose-form input,
.choma-portal-app .choma-mail-screen .choma-mail-compose-form textarea,
.choma-portal-app .choma-mail-screen .choma-mail-compose-form select {
  width: 100% !important;
  min-height: 46px !important;
  padding: 12px 14px !important;
  color: #173147 !important;
  border: 1px solid #cbd9e3 !important;
  border-radius: 8px !important;
  background: #fbfcfd !important;
  box-shadow: none !important;
  font: inherit !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}
.choma-portal-app .choma-mail-screen .choma-mail-compose-form textarea { resize: vertical !important; }
.choma-portal-app .choma-mail-screen .choma-mail-compose-form > label > textarea { min-height: 230px !important; }
.choma-portal-app .choma-mail-screen .choma-mail-compose-form input:focus,
.choma-portal-app .choma-mail-screen .choma-mail-compose-form textarea:focus,
.choma-portal-app .choma-mail-screen .choma-mail-compose-form select:focus {
  outline: 2px solid rgba(211,22,58,.18) !important;
  outline-offset: 1px !important;
  border-color: #d3163a !important;
}
.choma-portal-app .choma-mail-screen .choma-mail-compose-form__assistant {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) 240px auto !important;
  align-items: end !important;
  gap: 16px !important;
  margin: 0 !important;
  padding: 20px !important;
  border: 1px solid #d6e1ea !important;
  border-radius: 10px !important;
  background: #f5f8fb !important;
}
.choma-portal-app .choma-mail-screen .choma-mail-compose-form__assistant legend {
  padding: 0 7px !important;
  color: #173b5b !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: .09em !important;
  text-transform: uppercase !important;
}
.choma-portal-app .choma-mail-screen .choma-mail-compose-form__assistant p {
  grid-column: 1 / -1 !important;
  margin: 0 !important;
  color: #587087 !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}
.choma-portal-app .choma-mail-screen .choma-mail-compose-form__assistant .choma-dictation-field {
  display: grid !important;
  grid-column: 1 !important;
  gap: 8px !important;
}
.choma-portal-app .choma-mail-screen .choma-mail-compose-form__assistant .choma-dictation-field textarea { min-height: 128px !important; }
.choma-portal-app .choma-mail-screen .choma-mail-compose-form__assistant .choma-dictation-field button {
  position: static !important;
  justify-self: start !important;
  width: auto !important;
  min-height: 34px !important;
  margin: 0 !important;
}
.choma-portal-app .choma-mail-screen .choma-mail-compose-form__assistant > button,
.choma-portal-app .choma-mail-screen .choma-mail-compose-form > .choma-btn--primary {
  justify-self: stretch !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 46px !important;
  padding: 0 18px !important;
}
.choma-portal-app .choma-mail-screen .choma-mail-compose-form > .choma-btn--primary { justify-self: start !important; min-width: 160px !important; }

/* Poczta 1.8.19: czytelne oznaczenia skrzynek i spokojniejsze wykończenie formularza. */
.choma-portal-app .choma-mail-tabs > a:not(:first-child) { position:relative; padding-left:29px !important; }
.choma-portal-app .choma-mail-tabs > a:not(:first-child) > i,
.choma-portal-app .choma-mail-sender > i { display:inline-block; width:8px; height:8px; flex:0 0 8px; border-radius:50%; background:var(--mail-account-color,#1d4f78); }
.choma-portal-app .choma-mail-tabs > a:not(:first-child) > i { position:absolute; left:13px; top:50%; transform:translateY(-50%); }
.choma-portal-app .choma-mail-screen__new { padding:0 18px !important; border-radius:6px !important; color:#fff !important; background:#d3163a !important; border-color:#d3163a !important; line-height:1 !important; }
.choma-portal-app .choma-mail-screen__new:hover,
.choma-portal-app .choma-mail-screen__new:focus { color:#fff !important; background:#b91031 !important; border-color:#b91031 !important; }
.choma-portal-app .choma-mail-screen .choma-mail-list .choma-mail-sender { display:flex !important; align-items:center; gap:8px; min-width:0; }
.choma-portal-app .choma-mail-screen .choma-mail-list .choma-mail-sender em { display:none !important; }
.choma-portal-app .choma-mail-screen .choma-mail-compose-form__assistant { grid-template-columns:minmax(0,2fr) minmax(190px,.75fr) auto !important; column-gap:20px !important; }
.choma-portal-app .choma-mail-screen .choma-mail-compose-form__assistant .choma-dictation-field { position:relative !important; padding-bottom:36px !important; }
.choma-portal-app .choma-mail-screen .choma-mail-compose-form__assistant .choma-dictation-field textarea { width:100% !important; min-height:138px !important; padding:14px 15px !important; font-size:14px !important; font-weight:400 !important; line-height:1.5 !important; color:#18334b !important; background:#fff !important; }
.choma-portal-app .choma-mail-screen .choma-mail-compose-form__assistant .choma-dictation-field textarea::placeholder { color:#8a9aaa !important; opacity:.82 !important; font-weight:400 !important; }
.choma-portal-app .choma-mail-screen .choma-mail-compose-form__assistant .choma-dictation-field button { position:absolute !important; left:0 !important; bottom:0 !important; width:auto !important; min-height:29px !important; margin:0 !important; padding:0 11px !important; border-radius:4px !important; font-size:10px !important; }
.choma-portal-app .choma-mail-screen .choma-mail-compose-form > .choma-btn--primary { min-height:40px !important; padding:0 19px !important; border-radius:6px !important; }

/* Poczta 1.8.20: wspólne osie listy, nagłówka i formularza asystenta. */
.choma-portal-app .choma-mail-screen .choma-mail-list > a { padding-left:30px !important; padding-right:30px !important; }
.choma-portal-app .choma-mail-screen__new { padding:0 15px !important; border-radius:5px !important; display:inline-flex !important; align-items:center !important; justify-content:center !important; }
.choma-portal-app .choma-mail-screen .choma-mail-compose-form > .choma-btn--primary { min-height:36px !important; min-width:122px !important; padding:0 15px !important; border-radius:5px !important; display:inline-flex !important; align-items:center !important; justify-content:center !important; }
.choma-portal-app .choma-mail-screen .choma-mail-compose-form__assistant { grid-template-columns: minmax(460px,2fr) minmax(210px,.72fr) auto !important; align-items:end !important; column-gap:24px !important; padding:26px 24px 22px !important; }
.choma-portal-app .choma-mail-screen .choma-mail-compose-form__assistant legend { position:relative !important; top:auto !important; margin:0 0 8px 2px !important; padding:0 !important; color:#d3163a !important; font-size:11px !important; }
.choma-portal-app .choma-mail-screen .choma-mail-compose-form__assistant-title { grid-column:1 / -1 !important; display:block !important; margin:0 0 2px 2px !important; color:#d3163a !important; font-size:11px !important; font-weight:800 !important; letter-spacing:.09em !important; text-transform:uppercase !important; }
.choma-portal-app .choma-mail-screen .choma-mail-compose-form__assistant p { margin:0 0 8px !important; }
.choma-portal-app .choma-mail-screen .choma-mail-compose-form__assistant .choma-dictation-field { grid-column:1 !important; }
.choma-portal-app .choma-mail-screen .choma-mail-compose-form__assistant .choma-dictation-field textarea { min-height:142px !important; }
.choma-portal-app .choma-mail-screen .choma-mail-compose-form__assistant .choma-dictation-field button { display:inline-flex !important; align-items:center !important; justify-content:center !important; }
@media (max-width:760px) {
  .choma-portal-app .choma-mail-screen .choma-mail-list > a { padding-left:20px !important; padding-right:20px !important; }
  .choma-portal-app .choma-mail-screen .choma-mail-compose-form__assistant { grid-template-columns:1fr !important; }
}

/* 1.8.88 — końcowe ujednolicenie mobilne: nagłówek, skróty, moduły i formularze. */
.choma-portal-app .choma-user-menu {
    position:relative;
    margin:0;
}
.choma-portal-app .choma-user-menu > summary {
    display:flex;
    align-items:center;
    gap:10px;
    list-style:none;
    cursor:pointer;
}
.choma-portal-app .choma-user-menu > summary::-webkit-details-marker {
    display:none;
}
.choma-portal-app .choma-user-menu > summary > span {
    display:inline-flex;
    width:37px;
    height:37px;
    align-items:center;
    justify-content:center;
    border:1px solid #d3163a;
    border-radius:50%;
    background:var(--oso-gradient,linear-gradient(135deg,#16488b 0%,#0871ff 100%));
    color:#fff;
    font-size:11px;
    font-weight:800;
    line-height:1;
}
.choma-portal-app .choma-user-menu > summary > div {
    display:grid;
}
.choma-portal-app .choma-user-menu__popover {
    position:absolute;
    z-index:100;
    top:calc(100% + 9px);
    right:0;
    min-width:145px;
    padding:6px;
    border:1px solid #d7e1e8;
    border-radius:9px;
    background:#fff;
    box-shadow:0 12px 28px rgba(11,44,72,.18);
}
.choma-portal-app .choma-user-menu:not([open]) > .choma-user-menu__popover {
    display:none;
}
.choma-portal-app .choma-user-menu__popover > a {
    display:flex;
    min-height:34px;
    align-items:center;
    justify-content:center;
    padding:0 10px;
    border-left:3px solid #d3163a;
    border-radius:6px;
    background:linear-gradient(135deg,#16488b 0%,#0871ff 100%);
    color:#fff;
    font-size:9px;
    font-weight:800;
    letter-spacing:.08em;
    text-decoration:none;
    white-space:nowrap;
}

@media (max-width:900px) {
    body.choma-portal-app {
        --choma-mobile-header:58px;
        --choma-mobile-nav:44px;
    }
    .choma-portal-app .choma-topbar {
        gap:10px !important;
        padding-right:12px !important;
        padding-left:12px !important;
    }
    .choma-portal-app .choma-topbar__mobile-logo {
        width:min(180px,48vw) !important;
    }
    .choma-portal-app .choma-topbar__mobile-logo img {
        width:100% !important;
        max-width:180px !important;
    }
    .choma-portal-app .choma-mobile-module-menu {
        margin-left:auto !important;
    }
    .choma-portal-app .choma-mobile-module-menu summary {
        width:66px !important;
        min-width:66px !important;
    }
    .choma-portal-app .choma-topbar__right {
        margin-left:0 !important;
    }
    .choma-portal-app .choma-user {
        display:flex !important;
        gap:0 !important;
    }
    .choma-portal-app .choma-user-menu > summary {
        gap:0 !important;
    }
    .choma-portal-app .choma-user-menu > summary > span {
        width:34px !important;
        height:34px !important;
        border:1px solid #d3163a !important;
        box-shadow:0 4px 12px rgba(12,90,255,.18) !important;
        font-size:9px !important;
    }
    .choma-portal-app .choma-user-menu > summary > div {
        display:none !important;
    }
    .choma-portal-app .choma-user-menu[open] > .choma-user-menu__popover {
        display:block !important;
    }
    .choma-portal-app .choma-user-menu__popover {
        top:calc(100% + 8px) !important;
        right:0 !important;
        min-width:126px !important;
        padding:5px !important;
    }
    .choma-portal-app .choma-user-menu__popover > a {
        min-height:32px !important;
        font-size:8px !important;
    }
    .choma-portal-app .choma-mobile-nav {
        min-height:var(--choma-mobile-nav) !important;
        height:calc(var(--choma-mobile-nav) + env(safe-area-inset-bottom)) !important;
    }
    .choma-portal-app .choma-mobile-nav a {
        height:var(--choma-mobile-nav) !important;
        gap:0 !important;
        padding:2px 4px !important;
        font-size:10px !important;
        line-height:1.05 !important;
    }
    .choma-portal-app .choma-mobile-nav .choma-nav-icon {
        width:15px !important;
        height:15px !important;
        flex-basis:15px !important;
    }
    .choma-portal-app .choma-mobile-nav .choma-nav-link--mail .choma-nav-icon {
        -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='14' rx='2' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='m4 7 8 6 8-6' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
        mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='14' rx='2' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='m4 7 8 6 8-6' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    }
    .choma-portal-app .choma-mobile-nav .choma-nav-link--calendar .choma-nav-icon {
        -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3.5' y='5.5' width='17' height='15' rx='2' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='M7 3.5v4M17 3.5v4M3.5 9.5h17' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") !important;
        mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3.5' y='5.5' width='17' height='15' rx='2' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='M7 3.5v4M17 3.5v4M3.5 9.5h17' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") !important;
    }
    .choma-portal-app .choma-mobile-nav .choma-nav-link--notes .choma-nav-icon {
        -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 4h14v16H5zM8 8h8M8 12h8M8 16h5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
        mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 4h14v16H5zM8 8h8M8 12h8M8 16h5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    }
}

@media (max-width:760px) {
    .choma-portal-app .choma-main > :is(
        .choma-page-head,
        .choma-module-head,
        .choma-metrics,
        .choma-center-glance,
        .choma-center-glance--tools,
        .choma-center-status-grid,
        .choma-dashboard-grid,
        .choma-panel,
        .choma-mail-tabs,
        .choma-mail-folder-tabs,
        .choma-calendar-summary
    ) {
        box-sizing:border-box !important;
        width:100% !important;
        max-width:none !important;
        margin-right:0 !important;
        margin-left:0 !important;
    }
    .choma-portal-app :is(
        .choma-quick-create,
        .choma-editor-panel,
        .choma-assistant-panel,
        .choma-mail-screen,
        .choma-message,
        .choma-calendar-shell,
        .choma-calendar-create,
        .choma-document-database,
        .choma-note-library
    ) {
        box-sizing:border-box !important;
        width:100% !important;
        max-width:none !important;
        margin-right:0 !important;
        margin-left:0 !important;
    }
    .choma-portal-app :is(
        .choma-mail-compose-form__assistant,
        form.choma-calendar-assistant,
        .choma-document-assistant,
        .choma-note-assistant,
        .choma-assistant-template
    ) {
        box-sizing:border-box !important;
        width:100% !important;
        max-width:none !important;
        margin-right:0 !important;
        margin-left:0 !important;
    }
    .choma-portal-app.choma-view-calendar .choma-calendar-create form.choma-calendar-assistant.choma-assistant-template,
    .choma-portal-app.choma-view-documents .choma-document-assistant.choma-assistant-template form.choma-document-assistant__form,
    .choma-portal-app.choma-view-notes .choma-note-assistant.choma-assistant-template form.choma-note-assistant__form {
        box-sizing:border-box !important;
        width:100% !important;
        max-width:none !important;
        margin:0 !important;
        padding-right:14px !important;
        padding-left:14px !important;
    }
    .choma-portal-app .choma-panel__head,
    .choma-portal-app .choma-quick-create > form,
    .choma-portal-app .choma-editor-panel > form,
    .choma-portal-app .choma-mail-compose-form,
    .choma-portal-app .choma-assistant-template {
        box-sizing:border-box !important;
        width:100% !important;
    }
    .choma-portal-app .choma-page-head > :is(.choma-btn,a.choma-btn),
    .choma-portal-app .choma-module-head > :is(.choma-btn,a.choma-btn),
    .choma-portal-app .choma-mail-screen__head > :is(.choma-btn,a.choma-btn),
    .choma-portal-app .choma-message-back {
        box-sizing:border-box !important;
        width:100% !important;
        max-width:none !important;
        justify-content:center !important;
        margin:0 !important;
        white-space:nowrap !important;
    }
    .choma-portal-app .choma-mail-screen__head {
        display:grid !important;
        grid-template-columns:minmax(0,1fr) !important;
        align-items:start !important;
    }

    /* Poczta: przycisk Wszystkie po lewej, skrzynki w jednej równej kolumnie po prawej. */
    .choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-tabs {
        display:grid !important;
        overflow:visible !important;
        grid-template-columns:minmax(88px,.72fr) minmax(0,1.28fr) !important;
        grid-auto-rows:34px !important;
        align-items:start !important;
        gap:6px 8px !important;
        padding:7px !important;
    }
    .choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-tabs > a,
    .choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-tabs > a:first-child,
    .choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-tabs > a:not(:first-child) {
        box-sizing:border-box !important;
        width:100% !important;
        min-width:0 !important;
        min-height:34px !important;
        height:34px !important;
        justify-content:center !important;
        padding:0 8px !important;
        border:1px solid #d4e0e8 !important;
        border-left:3px solid #d3163a !important;
        border-radius:7px !important;
        font-size:8px !important;
        line-height:1.15 !important;
        text-align:center !important;
        white-space:normal !important;
    }
    .choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-tabs > a:first-child {
        grid-column:1 !important;
        grid-row:1 !important;
        white-space:nowrap !important;
    }
    .choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-tabs > a:not(:first-child) {
        grid-column:2 !important;
        position:relative !important;
        padding-left:22px !important;
    }
    .choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-tabs > a:not(:first-child) > i {
        left:9px !important;
    }

    /* Notatnik: jedna niska linia z checkboxem, opisem i samą ikoną kalendarza. */
    body.choma-portal-app.choma-view-notes .choma-main .choma-note-manual-form > label.choma-note-calendar-link {
        position:relative !important;
        display:grid !important;
        box-sizing:border-box !important;
        min-height:42px !important;
        height:42px !important;
        grid-template-columns:18px minmax(0,1fr) 36px !important;
        align-items:center !important;
        gap:8px !important;
        padding:4px 7px 4px 10px !important;
        overflow:visible !important;
    }
    body.choma-portal-app.choma-view-notes .choma-main .choma-note-manual-form > label.choma-note-calendar-link > input[type="checkbox"],
    body.choma-portal-app.choma-view-notes .choma-main .choma-note-manual-form > label.choma-note-calendar-link > .choma-note-calendar-label {
        position:static !important;
        align-self:center !important;
        margin:0 !important;
    }
    body.choma-portal-app.choma-view-notes .choma-main .choma-note-manual-form > label.choma-note-calendar-link > .choma-note-calendar-label {
        font-size:10px !important;
        line-height:1.15 !important;
    }
    body.choma-portal-app.choma-view-notes .choma-main .choma-note-manual-form > label.choma-note-calendar-link > input[type="date"] {
        grid-column:3 !important;
        box-sizing:border-box !important;
        width:36px !important;
        min-width:36px !important;
        max-width:36px !important;
        min-height:32px !important;
        height:32px !important;
        max-height:32px !important;
        margin:0 !important;
        padding:0 6px !important;
        border:1px solid #cbd9e3 !important;
        border-radius:6px !important;
        background:#fff !important;
        color:transparent !important;
        font-size:0 !important;
    }
    body.choma-portal-app.choma-view-notes .choma-main .choma-note-manual-form > label.choma-note-calendar-link > input[type="date"]::-webkit-datetime-edit {
        display:none !important;
    }
    body.choma-portal-app.choma-view-notes .choma-main .choma-note-manual-form > label.choma-note-calendar-link > input[type="date"]::-webkit-calendar-picker-indicator {
        width:18px !important;
        height:18px !important;
        margin:auto !important;
        padding:0 !important;
        opacity:1 !important;
        cursor:pointer !important;
    }

    /* Każdy asystent zachowuje tę samą szerokość, wysokość pola i kontrolek. */
    .choma-portal-app .choma-assistant-template .choma-tool-assistant__head,
    .choma-portal-app .choma-assistant-template .choma-tool-assistant__controls,
    .choma-portal-app .choma-assistant-template .choma-dictation-field,
    .choma-portal-app .choma-assistant-template .choma-dictation-field > textarea {
        box-sizing:border-box !important;
        width:100% !important;
        max-width:none !important;
    }
    .choma-portal-app .choma-assistant-template .choma-assistant-template__style,
    .choma-portal-app .choma-assistant-template .choma-assistant-template__style > select,
    .choma-portal-app .choma-assistant-template .choma-tool-assistant__submit {
        box-sizing:border-box !important;
        width:100% !important;
        max-width:none !important;
    }
    .choma-portal-app .choma-assistant-template .choma-tool-assistant__controls > .choma-dictation-field > button[data-choma-dictation],
    .choma-portal-app .choma-assistant-template .choma-assistant-template__style > select,
    .choma-portal-app .choma-assistant-template .choma-tool-assistant__controls > button.choma-tool-assistant__submit {
        min-height:36px !important;
        height:36px !important;
        max-height:36px !important;
    }

    /* Zwarte warianty i pola plików w Ustawieniach. */
    .choma-portal-app.choma-view-settings .choma-theme-choice {
        box-sizing:border-box !important;
        width:100% !important;
        min-height:62px !important;
        height:62px !important;
        padding:8px 10px !important;
    }
    .choma-portal-app.choma-view-settings .choma-branding-form > label {
        box-sizing:border-box !important;
        width:100% !important;
        padding:10px !important;
    }
}

@media (max-width:390px) {
    .choma-portal-app .choma-topbar__mobile-logo {
        width:min(162px,45vw) !important;
    }
    .choma-portal-app .choma-topbar__mobile-logo img {
        max-width:162px !important;
    }
    .choma-portal-app .choma-mobile-module-menu summary {
        width:62px !important;
        min-width:62px !important;
    }
    .choma-portal-app .choma-user-menu > summary > span {
        width:32px !important;
        height:32px !important;
    }
}

/* 1.8.89 FINAL — mobilny rytm szerokości i zwarty ekran logowania. */
@media (max-width:760px) {
    body.choma-portal-app {
        --choma-mobile-list-width:calc(100vw - 24px);
        --choma-mobile-create-width:calc(100vw - 24px);
        --choma-mobile-assistant-width:calc(100vw - 64px);
    }

    /* Kategoria 1: listy i widoki danych. */
    .choma-portal-app .choma-main > :is(
        .choma-panel--tasks,
        .choma-panel--pipeline,
        .choma-panel--latest,
        .choma-contacts-panel,
        .choma-processes-panel,
        .choma-calendar-shell,
        .choma-document-database,
        .choma-note-library,
        .choma-center-status-grid,
        .choma-calendar-summary
    ),
    .choma-portal-app.choma-view-mail .choma-main > .choma-mail-screen,
    .choma-portal-app.choma-view-message .choma-main > .choma-message {
        box-sizing:border-box !important;
        width:min(var(--choma-mobile-list-width),100%) !important;
        max-width:var(--choma-mobile-list-width) !important;
        margin-right:auto !important;
        margin-left:auto !important;
    }

    /* Kategoria 2: formularze tworzenia i edycji. */
    .choma-portal-app .choma-main > :is(
        .choma-quick-create,
        .choma-editor-panel,
        .choma-calendar-create,
        .choma-document-editor,
        .choma-note-editor
    ),
    .choma-portal-app.choma-view-mail .choma-main > .choma-mail-screen {
        box-sizing:border-box !important;
        width:min(var(--choma-mobile-create-width),100%) !important;
        max-width:var(--choma-mobile-create-width) !important;
        margin-right:auto !important;
        margin-left:auto !important;
    }

    /* Kategoria 3: wszystkie panele Pomocy asystenta — wzorzec z Poczty. */
    .choma-portal-app .choma-mail-compose-form__assistant.choma-assistant-template,
    .choma-portal-app form.choma-calendar-assistant.choma-assistant-template,
    .choma-portal-app .choma-document-assistant.choma-assistant-template,
    .choma-portal-app .choma-note-assistant.choma-assistant-template {
        box-sizing:border-box !important;
        width:min(var(--choma-mobile-assistant-width),100%) !important;
        max-width:var(--choma-mobile-assistant-width) !important;
        margin-right:auto !important;
        margin-left:auto !important;
    }
    .choma-portal-app .choma-document-assistant.choma-assistant-template form.choma-document-assistant__form,
    .choma-portal-app .choma-note-assistant.choma-assistant-template form.choma-note-assistant__form {
        box-sizing:border-box !important;
        width:100% !important;
        max-width:100% !important;
        margin:0 !important;
    }
    .choma-portal-app .choma-assistant-template,
    .choma-portal-app .choma-assistant-template form {
        overflow:hidden !important;
        border-radius:10px !important;
    }
    .choma-portal-app .choma-assistant-template .choma-tool-assistant__head,
    .choma-portal-app .choma-assistant-template .choma-tool-assistant__controls,
    .choma-portal-app .choma-assistant-template .choma-dictation-field,
    .choma-portal-app .choma-assistant-template .choma-dictation-field > textarea,
    .choma-portal-app .choma-assistant-template .choma-assistant-template__style,
    .choma-portal-app .choma-assistant-template .choma-assistant-template__style > select,
    .choma-portal-app .choma-assistant-template .choma-tool-assistant__submit {
        box-sizing:border-box !important;
        width:100% !important;
        max-width:100% !important;
    }
    .choma-portal-app .choma-assistant-template .choma-tool-assistant__controls > .choma-dictation-field > textarea {
        min-height:122px !important;
        height:122px !important;
        max-height:122px !important;
    }
    .choma-portal-app .choma-assistant-template .choma-tool-assistant__controls {
        gap:14px !important;
    }
    .choma-portal-app .choma-assistant-template .choma-tool-assistant__controls > .choma-dictation-field > button[data-choma-dictation],
    .choma-portal-app .choma-assistant-template .choma-assistant-template__style > select,
    .choma-portal-app .choma-assistant-template .choma-tool-assistant__controls > button.choma-tool-assistant__submit {
        min-height:36px !important;
        height:36px !important;
        max-height:36px !important;
    }

    /* Każda lista ma ten sam wewnętrzny rytm i wysokość pojedynczego wiersza. */
    .choma-portal-app :is(.choma-mail-list,.choma-note-list,.choma-calendar-event-list) {
        box-sizing:border-box !important;
        width:100% !important;
        gap:7px !important;
    }
    .choma-portal-app :is(.choma-mail-list,.choma-note-list) > a,
    .choma-portal-app .choma-calendar-event-list > article {
        box-sizing:border-box !important;
        width:100% !important;
        min-height:54px !important;
        margin:0 !important;
        padding-top:9px !important;
        padding-bottom:9px !important;
    }
    .choma-portal-app .choma-portal-table-wrap,
    .choma-portal-app .choma-portal-table {
        box-sizing:border-box !important;
        width:100% !important;
        max-width:100% !important;
    }

    /* Notatki: jeden niski wiersz, natywne pole daty klikalne nad ikoną. */
    body.choma-portal-app.choma-view-notes .choma-main .choma-note-manual-form > label.choma-note-calendar-link {
        position:relative !important;
        display:grid !important;
        box-sizing:border-box !important;
        width:100% !important;
        min-height:42px !important;
        height:42px !important;
        grid-template-columns:18px minmax(0,1fr) 36px !important;
        align-items:center !important;
        gap:8px !important;
        margin:0 !important;
        padding:4px 7px 4px 10px !important;
        overflow:hidden !important;
    }
    body.choma-portal-app.choma-view-notes .choma-note-calendar-link > input[type="checkbox"],
    body.choma-portal-app.choma-view-notes .choma-note-calendar-link > span {
        align-self:center !important;
        margin:0 !important;
    }
    body.choma-portal-app.choma-view-notes .choma-note-calendar-link > span:not(.choma-note-calendar-picker) {
        font-size:10px !important;
        line-height:1.15 !important;
    }
    body.choma-portal-app.choma-view-notes .choma-note-calendar-picker {
        position:relative !important;
        display:block !important;
        box-sizing:border-box !important;
        grid-column:3 !important;
        width:36px !important;
        min-width:36px !important;
        height:32px !important;
        min-height:32px !important;
        overflow:hidden !important;
        border:1px solid #cbd9e3 !important;
        border-radius:6px !important;
        background:#fff !important;
    }
    body.choma-portal-app.choma-view-notes .choma-note-calendar-picker > i {
        position:absolute !important;
        top:50% !important;
        left:50% !important;
        width:16px !important;
        height:16px !important;
        border:1.5px solid #0b3d79 !important;
        border-radius:2px !important;
        pointer-events:none !important;
        transform:translate(-50%,-45%) !important;
    }
    body.choma-portal-app.choma-view-notes .choma-note-calendar-picker > i::before {
        position:absolute !important;
        top:3px !important;
        right:-1.5px !important;
        left:-1.5px !important;
        height:1.5px !important;
        background:#0b3d79 !important;
        content:"" !important;
    }
    body.choma-portal-app.choma-view-notes .choma-note-calendar-picker > input[type="date"] {
        position:absolute !important;
        inset:0 !important;
        z-index:2 !important;
        display:block !important;
        box-sizing:border-box !important;
        width:100% !important;
        min-width:0 !important;
        height:100% !important;
        min-height:0 !important;
        margin:0 !important;
        padding:0 !important;
        border:0 !important;
        opacity:0 !important;
        cursor:pointer !important;
    }
}

/* Na większych ekranach nowy wrapper zachowuje pełne pole daty. */
@media (min-width:761px) {
    .choma-portal-app .choma-note-calendar-picker {
        position:relative;
        display:block;
        width:190px;
        height:36px;
    }
    .choma-portal-app .choma-note-calendar-picker > input[type="date"] {
        box-sizing:border-box;
        width:100%;
        height:36px;
        min-height:36px;
        margin:0;
        padding:0 12px;
    }
    .choma-portal-app .choma-note-calendar-picker > i {
        display:none;
    }
}

@media (max-width:760px) {
    body.choma-portal-login-page {
        width:100% !important;
        min-height:100svh !important;
        height:100svh !important;
        overflow:hidden !important;
        background:#f6f7f6 !important;
    }
    .choma-portal-login-page .choma-login {
        display:grid !important;
        width:100% !important;
        min-height:100svh !important;
        height:100svh !important;
        grid-template-columns:minmax(0,1fr) !important;
        grid-template-rows:112px minmax(0,1fr) !important;
        overflow:hidden !important;
    }
    .choma-portal-login-page .choma-login__brand {
        display:grid !important;
        min-height:0 !important;
        height:112px !important;
        grid-template-columns:minmax(0,1fr) auto !important;
        align-items:center !important;
        gap:12px !important;
        padding:16px 24px !important;
    }
    .choma-portal-login-page .choma-login__brand::before {
        top:-180px !important;
        right:-130px !important;
        width:360px !important;
        height:360px !important;
    }
    .choma-portal-login-page .choma-login__choma-logo {
        width:min(178px,48vw) !important;
        max-width:178px !important;
    }
    .choma-portal-login-page .choma-login__brand > div {
        margin:0 !important;
        padding:0 !important;
    }
    .choma-portal-login-page .choma-login__brand :is(.choma-login__kicker,h1,p) {
        display:none !important;
    }
    .choma-portal-login-page .choma-login__technology {
        display:flex !important;
        min-height:36px !important;
        gap:7px !important;
        padding:5px 8px !important;
        border-radius:8px !important;
    }
    .choma-portal-login-page .choma-login__brand .choma-login__technology-icon {
        width:26px !important;
        height:26px !important;
        border-radius:7px !important;
    }
    .choma-portal-login-page .choma-login__technology span {
        font-size:8px !important;
        white-space:nowrap !important;
    }
    .choma-portal-login-page .choma-login__form-wrap {
        min-height:0 !important;
        height:auto !important;
        align-items:start !important;
        padding:16px 24px 14px !important;
        overflow:hidden !important;
    }
    .choma-portal-login-page .choma-login__form {
        width:100% !important;
        max-width:440px !important;
        margin:0 auto !important;
    }
    .choma-portal-login-page .choma-login__form > .choma-eyebrow {
        font-size:9px !important;
        letter-spacing:.14em !important;
    }
    .choma-portal-login-page .choma-login__form h2 {
        margin:5px 0 6px !important;
        font-size:34px !important;
        line-height:1 !important;
    }
    .choma-portal-login-page .choma-login__form > p {
        margin:0 0 13px !important;
        font-size:11px !important;
        line-height:1.35 !important;
    }
    .choma-portal-login-page .choma-login__form > label {
        margin-bottom:9px !important;
        font-size:10px !important;
    }
    .choma-portal-login-page .choma-login__form input[type="text"],
    .choma-portal-login-page .choma-login__form input[type="password"] {
        height:40px !important;
        margin-top:4px !important;
        padding:0 12px !important;
    }
    .choma-portal-login-page .choma-login__options {
        gap:10px !important;
        margin:2px 0 12px !important;
        font-size:10px !important;
    }
    .choma-portal-login-page .choma-login__form .choma-btn {
        min-height:42px !important;
        height:42px !important;
    }
    .choma-portal-login-page .choma-login__form > small {
        margin-top:9px !important;
        font-size:8px !important;
        line-height:1.3 !important;
    }
    .choma-portal-login-page .choma-alert {
        margin-bottom:9px !important;
        padding:8px 10px !important;
        font-size:10px !important;
    }
}

@media (max-width:760px) and (max-height:680px) {
    .choma-portal-login-page .choma-login {
        grid-template-rows:82px minmax(0,1fr) !important;
    }
    .choma-portal-login-page .choma-login__brand {
        height:82px !important;
        padding-top:10px !important;
        padding-bottom:10px !important;
    }
    .choma-portal-login-page .choma-login__technology {
        display:none !important;
    }
    .choma-portal-login-page .choma-login__form-wrap {
        padding-top:10px !important;
        padding-bottom:8px !important;
    }
    .choma-portal-login-page .choma-login__form > p,
    .choma-portal-login-page .choma-login__form > small {
        display:none !important;
    }
    .choma-portal-login-page .choma-login__form input[type="text"],
    .choma-portal-login-page .choma-login__form input[type="password"] {
        height:36px !important;
    }
}

/* Poczta 1.8.21: pole instrukcji zajmuje pełną przestrzeń między dyktowaniem a stylem. */
@media (min-width:761px) {
  .choma-portal-app .choma-mail-screen .choma-mail-compose-form__assistant {
    grid-template-columns:minmax(0,1fr) minmax(210px,.34fr) auto !important;
  }
  .choma-portal-app .choma-mail-screen .choma-mail-compose-form__assistant .choma-dictation-field {
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    justify-self:stretch !important;
  }
  .choma-portal-app .choma-mail-screen .choma-mail-compose-form__assistant .choma-dictation-field textarea {
    display:block !important;
    width:100% !important;
    max-width:none !important;
    box-sizing:border-box !important;
  }
}
@media (max-width:760px) {
  .choma-portal-app .choma-mail-screen { padding: 20px !important; }
  .choma-portal-app .choma-mail-screen__head { align-items: start !important; flex-direction: column !important; }
  .choma-portal-app .choma-mail-screen .choma-mail-list > a,
  .choma-portal-app .choma-mail-screen .choma-mail-compose-form__assistant { grid-template-columns: 1fr !important; }
  .choma-portal-app .choma-mail-screen .choma-mail-compose-form__assistant p { grid-column: auto !important; }
}

/* Poczta 1.8.22: stabilny układ pola instrukcji asystenta. */
.choma-portal-app .choma-mail-screen .choma-mail-compose-form { container-type: inline-size; }
.choma-portal-app .choma-mail-screen .choma-mail-compose-form__assistant { display: block !important; }
.choma-portal-app .choma-mail-screen .choma-mail-compose-form__assistant-title,
.choma-portal-app .choma-mail-screen .choma-mail-compose-form__assistant > p {
  display: block !important;
  grid-column: auto !important;
}
.choma-portal-app .choma-mail-screen .choma-mail-compose-form__assistant-controls {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 210px 160px !important;
  align-items: end !important;
  gap: 24px !important;
}
.choma-portal-app .choma-mail-screen .choma-mail-compose-form__assistant-controls > .choma-dictation-field {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  padding-bottom: 36px !important;
  box-sizing: border-box !important;
}
.choma-portal-app .choma-mail-screen .choma-mail-compose-form__assistant-controls > .choma-dictation-field textarea {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  box-sizing: border-box !important;
}
.choma-portal-app .choma-mail-screen .choma-mail-compose-form__assistant-controls > .choma-dictation-field button {
  position: absolute !important;
  left: 0 !important;
  bottom: 0 !important;
}
.choma-portal-app .choma-mail-screen .choma-mail-compose-form__assistant-controls > .choma-mail-compose-form__assistant-style {
  display: grid !important;
  gap: 8px !important;
  min-width: 0 !important;
}
.choma-portal-app .choma-mail-screen .choma-mail-compose-form__assistant-controls > .choma-mail-compose-form__assistant-style select,
.choma-portal-app .choma-mail-screen .choma-mail-compose-form__assistant-controls > .choma-btn {
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}
@container (max-width: 720px) {
  .choma-portal-app .choma-mail-screen .choma-mail-compose-form__assistant-controls {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* Poczta 1.8.23: oddech pola i pełna obwódka przycisku dyktowania. */
.choma-portal-app .choma-mail-screen .choma-mail-compose-form__assistant-title {
  transform: translateY(-3px) !important;
}
.choma-portal-app .choma-mail-screen .choma-mail-compose-form__assistant-controls > .choma-dictation-field textarea {
  margin-top: 8px !important;
}
.choma-portal-app .choma-mail-screen .choma-mail-compose-form__assistant-controls > .choma-dictation-field button {
  margin-top: 8px !important;
  border-left: 1px solid #cbd7e0 !important;
}

/* 1.8.31 — foldery poczty: odbierane, wysłane, spam i kosz. */
.choma-portal-app .choma-mail-folder-tabs {
  display:flex;
  align-items:center;
  gap:8px;
  margin:0 0 18px;
  padding:0;
  overflow-x:auto;
}
.choma-portal-app .choma-mail-folder-tabs a {
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:0 13px;
  border:1px solid #d6e1ea;
  border-radius:5px;
  background:#fff;
  color:#52636e;
  font-size:10px;
  font-weight:800;
  letter-spacing:.08em;
  text-decoration:none;
}
.choma-portal-app .choma-mail-folder-tabs a:hover,
.choma-portal-app .choma-mail-folder-tabs a:focus,
.choma-portal-app .choma-mail-folder-tabs a.is-active {
  border-color:#173b5b;
  color:#173b5b;
  background:#f5f8fb;
}
.choma-portal-app .choma-mail-folder-tabs a.is-active { box-shadow:inset 0 -2px 0 #d3163a; }
.choma-portal-app .choma-mail-empty-action { margin:0; }
.choma-portal-app .choma-mail-empty-button {
  box-sizing:border-box;
  min-height:30px;
  padding:0 13px;
  border:0;
  border-left:4px solid var(--choma-theme-primary-dark,#082879);
  border-radius:5px;
  background:linear-gradient(90deg,#e31943 0%,#c60f32 100%);
  color:#fff;
  font:780 10px/1 Geist,Arial,sans-serif;
  letter-spacing:1.1px;
  cursor:pointer;
}
.choma-portal-app .choma-mail-empty-button:hover,
.choma-portal-app .choma-mail-empty-button:focus-visible { transform:translateY(-1px); box-shadow:0 5px 12px rgba(198,15,50,.2); }
.choma-portal-app .choma-mail-empty-label--mobile { display:none; }
@media (max-width:760px) {
  .choma-portal-app .choma-mail-folder-tabs { margin-bottom:14px; }
  .choma-portal-app .choma-mail-empty-label--desktop { display:none; }
  .choma-portal-app .choma-mail-empty-label--mobile { display:inline; }
}

/* 1.8.25 — wspólny, spokojny standard narzędzi i mobilki. */
:root { --oso-blue:#0c54eb; --oso-navy:#082c84; --oso-gradient:linear-gradient(135deg,#0c5aff 0%,#0839b9 48%,#082879 100%); }

/* Pasek brandingowy: wąskie światło wokół ikony, równa oś logo i podpisu. */
.choma-portal-app .choma-sidebar__technology--bottom { grid-template-columns:54px minmax(0,1fr) !important; gap:16px !important; align-items:center !important; }
.choma-portal-app .choma-sidebar__technology--bottom .choma-sidebar__technology-icon { width:54px !important; height:54px !important; padding:3px !important; border-radius:15px !important; overflow:visible !important; background:rgba(255,255,255,.92) !important; box-shadow:0 1px 0 rgba(255,255,255,.95),0 6px 15px rgba(7,40,86,.24),0 0 10px rgba(255,255,255,.45) !important; }
.choma-portal-app .choma-sidebar__technology--bottom .choma-sidebar__technology-icon img { width:48px !important; height:48px !important; border-radius:12px !important; }
.choma-portal-app .choma-sidebar__technology--bottom .choma-sidebar__technology-copy { display:flex !important; flex-direction:column !important; align-items:flex-start !important; gap:1px !important; min-width:0 !important; }
.choma-portal-app .choma-sidebar__technology--bottom .choma-sidebar__technology-logo { width:132px !important; max-width:100% !important; margin:0 !important; transform:none !important; }
.choma-portal-app .choma-sidebar__technology--bottom .choma-sidebar__technology-copy small { margin:-1px 0 0 !important; padding:0 !important; transform:none !important; align-self:flex-start !important; line-height:1.2 !important; }

/* Ten sam kolor systemowy dla zaznaczeń zamiast jednolitego granatu. */
.choma-portal-app .choma-sidebar nav a.is-active,
.choma-portal-app .choma-mobile-nav a.is-active,
.choma-portal-app .choma-calendar-days a.is-selected { background:var(--oso-gradient) !important; border-color:#0c54eb !important; color:#fff !important; }
.choma-portal-app .choma-sidebar nav a.is-active { box-shadow:inset 4px 0 #e1083d,0 8px 20px rgba(8,46,132,.2) !important; }
.choma-portal-app .choma-calendar-days a.is-selected span,
.choma-portal-app .choma-calendar-days a.is-selected i { color:#fff !important; }

/* Wszystkie akcje wiadomości mają tę samą, smukłą wysokość. */
.choma-portal-app .choma-message__actions { display:flex !important; gap:10px !important; align-items:center !important; }
.choma-portal-app .choma-message__actions > form,
.choma-portal-app .choma-message__actions > details { margin:0 !important; }
.choma-portal-app .choma-message__actions .choma-btn,
.choma-portal-app .choma-message__actions button,
.choma-portal-app .choma-message__actions .choma-compose > summary { display:inline-flex !important; align-items:center !important; justify-content:center !important; width:auto !important; min-width:0 !important; height:34px !important; min-height:34px !important; margin:0 !important; padding:0 14px !important; border-radius:5px !important; font-size:10px !important; line-height:1 !important; letter-spacing:.08em !important; }

/* Wspólna proporcja paneli Poczty, Kalendarza, Dokumentów i Notatek. */
.choma-portal-app .choma-assistant-form,
.choma-portal-app .choma-note-composer,
.choma-portal-app .choma-calendar-create form { border-radius:12px !important; }
.choma-portal-app .choma-assistant-form .choma-dictation-field textarea,
.choma-portal-app .choma-note-composer .choma-dictation-field textarea,
.choma-portal-app .choma-calendar-create textarea { border:1px solid #cfdae3 !important; border-radius:8px !important; background:#fff !important; }
.choma-portal-app button[data-choma-dictation] { display:inline-flex !important; align-items:center !important; justify-content:center !important; min-height:32px !important; padding:0 12px !important; border-radius:5px !important; }

@media (max-width:900px) {
  html,body.choma-portal-app { width:100% !important; max-width:100% !important; overflow-x:hidden !important; }
  .choma-portal-app .choma-sidebar { display:none !important; }
  .choma-portal-app .choma-app__body { width:100% !important; max-width:100% !important; min-width:0 !important; padding-left:0 !important; }
  .choma-portal-app .choma-main { width:100% !important; max-width:100% !important; min-width:0 !important; padding:22px 16px 104px !important; }
  .choma-portal-app .choma-main > section,
  .choma-portal-app .choma-center-panel,
  .choma-portal-app .choma-panel { width:100% !important; max-width:none !important; margin-left:0 !important; margin-right:0 !important; }
  .choma-portal-app .choma-page-head,
  .choma-portal-app .choma-mail-screen { padding-left:4px !important; padding-right:4px !important; }
  .choma-portal-app .choma-panel { padding:20px 16px !important; }
  .choma-portal-app .choma-mail-screen { padding:20px 4px !important; }
  .choma-portal-app .choma-mail-screen .choma-panel { padding:20px 16px !important; }
  .choma-portal-app .choma-mail-compose-form,
  .choma-portal-app .choma-assistant-form,
  .choma-portal-app .choma-note-composer,
  .choma-portal-app .choma-calendar-create form { padding:18px !important; }
  .choma-portal-app .choma-form-row,
  .choma-portal-app .choma-mail-compose-form__fields,
  .choma-portal-app .choma-mail-compose-form__assistant-controls { grid-template-columns:1fr !important; }
  .choma-portal-app .choma-mail-list > a { padding-left:14px !important; padding-right:14px !important; }
}

/* 1.8.26 FINAL — celowo na końcu kaskady, aby starsze poprawki niczego nie nadpisywały. */
:root { --oso-gradient:linear-gradient(90deg,#082879 0%,#0839b9 48%,#0c5aff 100%); }
.choma-portal-app .choma-sidebar__technology--bottom { grid-template-columns:54px minmax(0,1fr) !important; gap:16px !important; }
.choma-portal-app .choma-sidebar__technology--bottom .choma-sidebar__technology-icon { width:54px !important; height:54px !important; padding:3px !important; border-radius:15px !important; box-shadow:0 1px 0 rgba(255,255,255,.95),0 6px 15px rgba(7,40,86,.24),0 0 10px rgba(255,255,255,.45) !important; }
.choma-portal-app .choma-sidebar__technology--bottom .choma-sidebar__technology-copy { gap:1px !important; }
.choma-portal-app .choma-sidebar__technology--bottom .choma-sidebar__technology-copy small { margin-top:-1px !important; line-height:1.2 !important; }
.choma-portal-app .choma-sidebar nav a.is-active,.choma-portal-app .choma-mobile-nav a.is-active,.choma-portal-app .choma-calendar-days a.is-selected { background:var(--oso-gradient) !important; border-color:#0c54eb !important; color:#fff !important; }
.choma-portal-app .choma-sidebar nav a.is-active { box-shadow:inset 4px 0 #e1083d,0 8px 20px rgba(8,46,132,.2) !important; }
.choma-portal-app .choma-user > span { background:var(--oso-gradient) !important; }
.choma-portal-app .choma-logout-button { display:inline-flex !important; width:30px !important; height:30px !important; align-items:center !important; justify-content:center !important; border-radius:50% !important; color:#fff !important; background:#d40835 !important; font-size:17px !important; font-weight:600 !important; line-height:1 !important; text-decoration:none !important; }
.choma-portal-app .choma-main .choma-btn:not(.choma-page-head > .choma-btn):not(.choma-module-head > .choma-btn):not(.choma-mail-screen__head > .choma-btn):not(.choma-portal-filters > .choma-btn):not(.choma-document-import-button):not(.choma-calendar-submit):not(.choma-note-submit):not(.choma-document-submit):not(.choma-mail-screen__new):not(.choma-mail-screen__back),.choma-portal-app .choma-main button:not(.choma-rich-editor__toolbar button):not(.choma-portal-filters > button.choma-btn):not(.choma-calendar-submit):not(.choma-note-submit):not(.choma-document-submit):not(.choma-mail-screen__new):not(.choma-mail-screen__back):not(.choma-theme-choice) { min-height:34px !important; height:34px !important; padding:0 14px !important; border-radius:5px !important; display:inline-flex !important; align-items:center !important; justify-content:center !important; line-height:1 !important; }
.choma-portal-app .choma-danger-zone { position:relative !important; padding:22px 26px !important; }
.choma-portal-app .choma-danger-zone > .choma-panel__head { min-height:34px !important; margin-bottom:8px !important; }
.choma-portal-app .choma-danger-zone > form { position:absolute !important; top:22px !important; right:26px !important; margin:0 !important; }
.choma-portal-app .choma-danger-zone > p { max-width:680px !important; margin:0 !important; }
@media (max-width:900px) { .choma-portal-app .choma-main { padding-left:14px !important; padding-right:14px !important; } .choma-portal-app .choma-panel,.choma-portal-app .choma-mail-screen .choma-panel { padding-left:16px !important; padding-right:16px !important; } .choma-portal-app .choma-danger-zone { padding:18px 16px !important; } .choma-portal-app .choma-danger-zone > form { position:static !important; margin:12px 0 0 !important; } }

/* 1.8.26 — oszczędne komponenty oraz jeden akcent systemowy. */
:root { --oso-gradient:linear-gradient(90deg,#082879 0%,#0839b9 48%,#0c5aff 100%); }

/* Znak dostawcy ma wspólną, stabilną oś: podpis zaczyna się pod logotypem. */
.choma-portal-app .choma-sidebar__technology--bottom { grid-template-columns:54px minmax(0,1fr) !important; gap:16px !important; }
.choma-portal-app .choma-sidebar__technology--bottom .choma-sidebar__technology-copy { gap:1px !important; }
.choma-portal-app .choma-sidebar__technology--bottom .choma-sidebar__technology-copy small { margin-top:-1px !important; line-height:1.2 !important; }

/* Wszystkie zwykłe akcje w obszarze roboczym otrzymują wysokość Nowej wiadomości. */
.choma-portal-app .choma-main .choma-lead-actions .choma-btn { min-width:0 !important; }

/* Górny narożnik: znak użytkownika korzysta z tego samego gradientu, a wylogowanie jest czytelną ikoną. */
.choma-portal-app .choma-user { gap:10px !important; }
.choma-portal-app .choma-user > span { background:var(--oso-gradient) !important; }
.choma-portal-app .choma-logout-button { display:inline-flex !important; width:30px !important; height:30px !important; align-items:center !important; justify-content:center !important; border-radius:50% !important; color:#fff !important; background:#d40835 !important; font-size:17px !important; font-weight:600 !important; line-height:1 !important; text-decoration:none !important; }
.choma-portal-app .choma-logout-button:hover,.choma-portal-app .choma-logout-button:focus-visible { background:#af092d !important; }
.choma-portal-app .choma-site-link { color:#0a477a !important; font-weight:800 !important; }

/* Strefa destrukcyjna jest zwarta, a jej akcja pozostaje przy nagłówku. */
.choma-portal-app .choma-danger-zone { position:relative !important; padding:22px 26px !important; }
.choma-portal-app .choma-danger-zone > .choma-panel__head { min-height:34px !important; margin-bottom:8px !important; }
.choma-portal-app .choma-danger-zone > form { position:absolute !important; top:22px !important; right:26px !important; margin:0 !important; }
.choma-portal-app .choma-danger-zone > p { max-width:680px !important; margin:0 !important; }

@media (max-width:900px) {
  .choma-portal-app .choma-main { padding-left:14px !important; padding-right:14px !important; }
  .choma-portal-app .choma-panel,.choma-portal-app .choma-mail-screen .choma-panel { padding-left:16px !important; padding-right:16px !important; }
  .choma-portal-app .choma-danger-zone { padding:18px 16px !important; }
  .choma-portal-app .choma-danger-zone > form { position:static !important; margin:12px 0 0 !important; }
}

/* 1.8.24 — finalne reguły po wszystkich historycznych nadpisaniach. */
body.choma-portal-login-page,
.choma-portal-login-page .choma-login__form-wrap { background:#f6f7f6 !important; }
.choma-portal-app .choma-sidebar__technology--bottom { grid-template-columns:58px minmax(0,1fr) !important; column-gap:16px !important; align-items:center !important; }
.choma-portal-app .choma-sidebar__technology--bottom .choma-sidebar__technology-icon { display:inline-flex !important; align-items:center !important; justify-content:center !important; width:58px !important; height:58px !important; padding:5px !important; overflow:visible !important; border-radius:17px !important; background:rgba(255,255,255,.94) !important; box-shadow:0 0 0 2px rgba(255,255,255,.8),0 8px 22px rgba(8,45,75,.22),0 0 18px rgba(255,255,255,.55) !important; }
.choma-portal-app .choma-sidebar__technology--bottom .choma-sidebar__technology-icon img { width:48px !important; height:48px !important; border-radius:12px !important; }
.choma-portal-app .choma-message__attachments a { display:inline-flex; align-items:center; min-height:32px; padding:5px 10px; border:1px solid #c8d5de; border-radius:5px; color:#133f63; background:#fff; font-size:12px; font-weight:700; text-decoration:none; }
.choma-portal-app .choma-message__attachments a:hover,.choma-portal-app .choma-message__attachments a:focus-visible { border-color:#d3163a; color:#b91033; }
.choma-portal-app .choma-message__actions { gap:10px !important; }
.choma-portal-app .choma-message__actions > form,.choma-portal-app .choma-message__actions > details { margin:0 !important; }
.choma-portal-app .choma-message__actions .choma-btn,.choma-portal-app .choma-message__actions button { display:inline-flex !important; align-items:center !important; justify-content:center !important; width:auto !important; min-width:0 !important; min-height:34px !important; padding:0 14px !important; border-radius:5px !important; font-size:10px !important; letter-spacing:.08em !important; line-height:1 !important; }
@media (max-width:900px) { html,body.choma-portal-app { width:100% !important; max-width:100% !important; overflow-x:hidden !important; } .choma-portal-app .choma-sidebar { display:none !important; } .choma-portal-app .choma-app__body,.choma-portal-app .choma-main,.choma-portal-app .choma-topbar,.choma-portal-app .choma-system-header { width:100% !important; max-width:100% !important; min-width:0 !important; } .choma-portal-app .choma-app__body { padding-left:0 !important; } }

/* 1.8.25 — końcowa warstwa: wspólny standard narzędzi. */
.choma-portal-app .choma-sidebar__technology--bottom { grid-template-columns:54px minmax(0,1fr) !important; gap:16px !important; align-items:center !important; }
.choma-portal-app .choma-sidebar__technology--bottom .choma-sidebar__technology-icon { width:54px !important; height:54px !important; padding:3px !important; border-radius:15px !important; background:rgba(255,255,255,.92) !important; box-shadow:0 1px 0 rgba(255,255,255,.95),0 6px 15px rgba(7,40,86,.24),0 0 10px rgba(255,255,255,.45) !important; }
.choma-portal-app .choma-sidebar__technology--bottom .choma-sidebar__technology-copy { display:flex !important; flex-direction:column !important; align-items:flex-start !important; gap:3px !important; min-width:0 !important; }
.choma-portal-app .choma-sidebar__technology--bottom .choma-sidebar__technology-logo { width:132px !important; max-width:100% !important; margin:0 !important; transform:none !important; }
.choma-portal-app .choma-sidebar__technology--bottom .choma-sidebar__technology-copy small { margin:0 !important; padding:0 !important; transform:none !important; align-self:flex-start !important; }

.choma-portal-app .choma-sidebar nav a.is-active,
.choma-portal-app .choma-mobile-nav a.is-active,
.choma-portal-app .choma-calendar-days a.is-selected { background:var(--oso-gradient) !important; border-color:#0c54eb !important; color:#fff !important; }
.choma-portal-app .choma-sidebar nav a.is-active { box-shadow:inset 4px 0 #e1083d,0 8px 20px rgba(8,46,132,.2) !important; }
.choma-portal-app .choma-calendar-days a.is-selected span,.choma-portal-app .choma-calendar-days a.is-selected i { color:#fff !important; }

.choma-portal-app .choma-message__actions .choma-btn,
.choma-portal-app .choma-message__actions button,
.choma-portal-app .choma-message__actions .choma-compose > summary { height:34px !important; min-height:34px !important; }

@media (max-width:900px) {
  .choma-portal-app .choma-main { padding:22px 16px 104px !important; }
  .choma-portal-app .choma-main > section,.choma-portal-app .choma-center-panel,.choma-portal-app .choma-panel { width:100% !important; max-width:none !important; margin-left:0 !important; margin-right:0 !important; }
  .choma-portal-app .choma-page-head,.choma-portal-app .choma-mail-screen { padding-left:4px !important; padding-right:4px !important; }
  .choma-portal-app .choma-panel { padding:20px 16px !important; }
  .choma-portal-app .choma-mail-screen { padding:20px 4px !important; }
  .choma-portal-app .choma-mail-screen .choma-panel { padding:20px 16px !important; }
  .choma-portal-app .choma-mail-compose-form,.choma-portal-app .choma-assistant-form,.choma-portal-app .choma-note-composer,.choma-portal-app .choma-calendar-create form { padding:18px !important; }
  .choma-portal-app .choma-form-row,.choma-portal-app .choma-mail-compose-form__fields,.choma-portal-app .choma-mail-compose-form__assistant-controls { grid-template-columns:1fr !important; }
  .choma-portal-app .choma-mail-list > a { padding-left:14px !important; padding-right:14px !important; }
}
/* 1.8.26 FINAL CASCADE — must remain last. */
.choma-portal-app .choma-sidebar__technology--bottom .choma-sidebar__technology-copy { gap:1px !important; }
.choma-portal-app .choma-sidebar__technology--bottom .choma-sidebar__technology-copy small { margin:-1px 0 0 !important; line-height:1.2 !important; }
.choma-portal-app .choma-site-link { font-size:0 !important; }
.choma-portal-app .choma-site-link::after { content:"ODWIEDŹ STRONĘ ↗"; color:#f2f0eb !important; font-size:11px; letter-spacing:.08em; }

/* 1.8.28: korekta podpisu dostawcy po ostatnim układzie mobilnym. */
.choma-portal-app .choma-sidebar__technology--bottom .choma-sidebar__technology-copy {
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
    gap:0 !important;
}
.choma-portal-app .choma-sidebar__technology--bottom .choma-sidebar__technology-copy small {
    display:block !important;
    margin:-10px 0 0 7px !important;
    padding:0 !important;
    align-self:flex-start !important;
    line-height:1.15 !important;
}
.choma-portal-app .choma-sidebar__technology--bottom .choma-sidebar__technology-logo {
    width:144px !important;
}

/* 1.8.33 — poczta: jednolity system zakładek oraz pełne przekazywanie. */
.choma-portal-app .choma-mail-tabs,
.choma-portal-app .choma-mail-folder-tabs {
    display:flex !important;
    align-items:flex-end !important;
    flex-wrap:wrap !important;
    gap:0 24px !important;
    margin:0 0 22px !important;
    padding:0 !important;
    border:0 !important;
    border-bottom:1px solid #d6e0e8 !important;
    background:transparent !important;
}
.choma-portal-app .choma-mail-tabs > a,
.choma-portal-app .choma-mail-folder-tabs > a,
.choma-portal-app .choma-mail-tabs > a:not(:first-child) {
    position:relative !important;
    display:inline-flex !important;
    align-items:center !important;
    min-height:40px !important;
    margin:0 !important;
    padding:0 0 11px !important;
    border:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
    background:transparent !important;
    color:#52636e !important;
    font-size:13px !important;
    font-weight:750 !important;
    letter-spacing:.02em !important;
    text-decoration:none !important;
}
.choma-portal-app .choma-mail-tabs > a::after,
.choma-portal-app .choma-mail-folder-tabs > a::after {
    content:"";
    position:absolute;
    right:0;
    bottom:-1px;
    left:0;
    height:3px;
    transform:scaleX(0);
    transform-origin:left center;
    background:var(--oso-gradient, linear-gradient(90deg,#07347b 0%,#1268ee 55%,#0e91ce 100%));
    transition:transform .18s ease;
}
.choma-portal-app .choma-mail-tabs > a:hover,
.choma-portal-app .choma-mail-tabs > a:focus-visible,
.choma-portal-app .choma-mail-tabs > a.is-active,
.choma-portal-app .choma-mail-folder-tabs > a:hover,
.choma-portal-app .choma-mail-folder-tabs > a:focus-visible,
.choma-portal-app .choma-mail-folder-tabs > a.is-active {
    color:#082f7a !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
}
.choma-portal-app .choma-mail-tabs > a:hover::after,
.choma-portal-app .choma-mail-tabs > a:focus-visible::after,
.choma-portal-app .choma-mail-tabs > a.is-active::after,
.choma-portal-app .choma-mail-folder-tabs > a:hover::after,
.choma-portal-app .choma-mail-folder-tabs > a:focus-visible::after,
.choma-portal-app .choma-mail-folder-tabs > a.is-active::after { transform:scaleX(1) !important; }
.choma-portal-app .choma-mail-tabs > a:not(:first-child) > i {
    position:static !important;
    display:inline-block !important;
    width:8px !important;
    height:8px !important;
    margin:0 8px 0 0 !important;
    transform:none !important;
    background:var(--mail-account-color) !important;
    border-radius:50% !important;
}
.choma-portal-app .choma-mail-forward-attachments {
    display:inline-flex !important;
    align-items:center !important;
    gap:8px !important;
    margin:2px 0 18px !important;
    color:#36546c !important;
    font-size:13px !important;
}
@media (max-width:900px) {
    .choma-portal-app .choma-mail-tabs,
    .choma-portal-app .choma-mail-folder-tabs { gap:0 16px !important; margin-bottom:18px !important; }
    .choma-portal-app .choma-mail-tabs > a,
    .choma-portal-app .choma-mail-folder-tabs > a { min-height:36px !important; font-size:11px !important; padding-bottom:9px !important; }
}

/* 1.8.34 final cascade: these mail rules must remain last. */
.choma-portal-app .choma-mail-tabs,
.choma-portal-app .choma-mail-folder-tabs {
    overflow:visible !important;
    overflow-x:visible !important;
    overflow-y:visible !important;
    scrollbar-width:none !important;
}
.choma-portal-app .choma-mail-tabs::-webkit-scrollbar,
.choma-portal-app .choma-mail-folder-tabs::-webkit-scrollbar { display:none !important; width:0 !important; height:0 !important; }
.choma-portal-app .choma-mail-tabs { border-bottom:1px solid #d6e0e8 !important; }
.choma-portal-app .choma-mail-tabs > a::after { display:block !important; }
.choma-portal-app .choma-mail-folder-tabs { align-items:center !important; gap:10px !important; border-bottom:0 !important; }
.choma-portal-app .choma-mail-folder-tabs > a { min-height:34px !important; padding:0 4px 0 13px !important; }
.choma-portal-app .choma-mail-folder-tabs > a::after { display:none !important; }
.choma-portal-app .choma-mail-folder-tabs > a::before {
    content:""; position:absolute; top:5px; bottom:5px; left:0; width:3px; border-radius:3px;
    background:var(--oso-gradient, linear-gradient(180deg,#07347b 0%,#1268ee 55%,#0e91ce 100%));
    opacity:0; transform:scaleY(.35); transition:opacity .18s ease, transform .18s ease;
}
.choma-portal-app .choma-mail-folder-tabs > a:hover::before,
.choma-portal-app .choma-mail-folder-tabs > a:focus-visible::before,
.choma-portal-app .choma-mail-folder-tabs > a.is-active::before { opacity:1; transform:scaleY(1); }
.choma-portal-app .choma-mail-forward-attachments {
    display:inline-flex !important; grid-column:auto !important; grid-template-columns:none !important;
    justify-self:start !important; width:auto !important; max-width:none !important; min-height:18px !important;
    padding:0 !important; margin:4px 0 16px !important; border:0 !important; background:transparent !important; line-height:1.2 !important;
}
.choma-portal-app .choma-mail-forward-attachments input[type="checkbox"] {
    appearance:auto !important; box-sizing:border-box !important; flex:0 0 14px !important;
    width:14px !important; height:14px !important; min-width:14px !important; min-height:14px !important;
    margin:0 !important; padding:0 !important; accent-color:#1268ee !important;
}

/* 1.8.36 — wspólny, zaokrąglony podpis OpenSmart One dla poczty. */
.choma-portal-app .choma-mail-tabs > a::after {
    height:3px !important;
    border-radius:999px !important;
}
.choma-portal-app .choma-mail-folder-tabs > a::before {
    top:6px !important;
    bottom:6px !important;
    width:3px !important;
    border-radius:999px !important;
}

/* Akcje otwartej wiadomości: funkcje zwykłe są podkreślone gradientem,
   a tylko akcja twórcza jest pełnym przyciskiem technologicznego gradientu. */
.choma-portal-app .choma-message__actions .choma-btn,
.choma-portal-app .choma-message__actions button,
.choma-portal-app .choma-message__actions .choma-compose > summary {
    position:relative !important;
    overflow:hidden !important;
    border:1px solid #c6d6e4 !important;
    background:#fff !important;
    color:#0b3c69 !important;
    box-shadow:none !important;
    transition:transform .18s ease, background-color .18s ease, box-shadow .18s ease, border-color .18s ease !important;
}
.choma-portal-app .choma-message__actions .choma-btn::after,
.choma-portal-app .choma-message__actions button::after,
.choma-portal-app .choma-message__actions .choma-compose > summary::after {
    content:"";
    position:absolute;
    right:10px;
    bottom:4px;
    left:10px;
    height:2px;
    border-radius:999px;
    background:var(--oso-gradient, linear-gradient(90deg,#07347b 0%,#1268ee 55%,#0e91ce 100%));
    opacity:.9;
}
.choma-portal-app .choma-message__actions .choma-btn:hover,
.choma-portal-app .choma-message__actions .choma-btn:focus-visible,
.choma-portal-app .choma-message__actions button:hover,
.choma-portal-app .choma-message__actions button:focus-visible,
.choma-portal-app .choma-message__actions .choma-compose > summary:hover,
.choma-portal-app .choma-message__actions .choma-compose > summary:focus-visible {
    transform:translateY(-1px) !important;
    border-color:#76a9e3 !important;
    background:#f4f9ff !important;
    color:#073c7c !important;
    box-shadow:0 5px 12px rgba(8,76,145,.12) !important;
}
.choma-portal-app .choma-message__actions .choma-btn--primary,
.choma-portal-app .choma-message__actions button.choma-btn--primary {
    border-color:transparent !important;
    background:var(--oso-gradient, linear-gradient(90deg,#07347b 0%,#1268ee 55%,#0e91ce 100%)) !important;
    color:#fff !important;
    box-shadow:0 6px 14px rgba(8,76,145,.22) !important;
}
.choma-portal-app .choma-message__actions .choma-btn--primary::after,
.choma-portal-app .choma-message__actions button.choma-btn--primary::after { background:rgba(255,255,255,.68) !important; }
.choma-portal-app .choma-message__actions .choma-btn--primary:hover,
.choma-portal-app .choma-message__actions .choma-btn--primary:focus-visible,
.choma-portal-app .choma-message__actions button.choma-btn--primary:hover,
.choma-portal-app .choma-message__actions button.choma-btn--primary:focus-visible {
    background:linear-gradient(90deg,#0a4599 0%,#2879f4 55%,#18a4df 100%) !important;
    color:#fff !important;
}

/* 1.8.37 — cała poczta korzysta z trzech poziomów identyfikacji OpenSmart One. */
.choma-portal-app .choma-mail-tabs,
.choma-portal-app .choma-mail-folder-tabs { border-bottom:0 !important; }

/* Poziom pierwszy: aktywna skrzynka i główne przejścia. */
.choma-portal-app .choma-mail-tabs > a,
.choma-portal-app .choma-mail-screen__new,
.choma-portal-app .choma-mail-screen__back,
.choma-portal-app .choma-message-back {
    position:relative !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    padding:0 14px !important;
    border:1px solid #c6d6e4 !important;
    border-radius:5px !important;
    background:#fff !important;
    color:#0b3c69 !important;
    box-shadow:none !important;
    text-decoration:none !important;
    transition:transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease !important;
}
.choma-portal-app .choma-mail-tabs > a::after,
.choma-portal-app .choma-mail-screen__new::after,
.choma-portal-app .choma-mail-screen__back::after,
.choma-portal-app .choma-message-back::after {
    content:"" !important;
    position:absolute !important;
    right:10px !important;
    bottom:4px !important;
    left:10px !important;
    height:2px !important;
    border-radius:999px !important;
    background:var(--oso-gradient, linear-gradient(90deg,#07347b 0%,#1268ee 55%,#0e91ce 100%)) !important;
    transform:none !important;
    opacity:.9 !important;
}
.choma-portal-app .choma-mail-tabs > a.is-active,
.choma-portal-app .choma-mail-screen__new {
    border-color:transparent !important;
    background:var(--oso-gradient, linear-gradient(90deg,#07347b 0%,#1268ee 55%,#0e91ce 100%)) !important;
    color:#fff !important;
    box-shadow:0 6px 14px rgba(8,76,145,.22) !important;
}
.choma-portal-app .choma-mail-screen__back,
.choma-portal-app .choma-message-back {
    border-color:transparent !important;
    background:var(--oso-gradient, linear-gradient(90deg,#07347b 0%,#1268ee 55%,#0e91ce 100%)) !important;
    color:#fff !important;
    box-shadow:0 6px 14px rgba(8,76,145,.22) !important;
}
.choma-portal-app .choma-mail-tabs > a.is-active::after,
.choma-portal-app .choma-mail-screen__new::after,
.choma-portal-app .choma-mail-screen__back::after,
.choma-portal-app .choma-message-back::after { background:rgba(255,255,255,.68) !important; }
.choma-portal-app .choma-mail-tabs > a:hover,
.choma-portal-app .choma-mail-tabs > a:focus-visible,
.choma-portal-app .choma-mail-screen__new:hover,
.choma-portal-app .choma-mail-screen__new:focus-visible,
.choma-portal-app .choma-mail-screen__back:hover,
.choma-portal-app .choma-mail-screen__back:focus-visible,
.choma-portal-app .choma-message-back:hover,
.choma-portal-app .choma-message-back:focus-visible {
    transform:translateY(-1px) !important;
    border-color:#76a9e3 !important;
    background:#f4f9ff !important;
    color:#073c7c !important;
    box-shadow:0 5px 12px rgba(8,76,145,.12) !important;
}
.choma-portal-app .choma-mail-tabs > a.is-active:hover,
.choma-portal-app .choma-mail-tabs > a.is-active:focus-visible,
.choma-portal-app .choma-mail-screen__new:hover,
.choma-portal-app .choma-mail-screen__new:focus-visible,
.choma-portal-app .choma-mail-screen__back:hover,
.choma-portal-app .choma-mail-screen__back:focus-visible,
.choma-portal-app .choma-message-back:hover,
.choma-portal-app .choma-message-back:focus-visible {
    background:linear-gradient(90deg,#0a4599 0%,#2879f4 55%,#18a4df 100%) !important;
    color:#fff !important;
}

/* Poziom drugi: foldery pozostają lekką nawigacją z zaokrąglonym akcentem z lewej. */
.choma-portal-app .choma-mail-folder-tabs > a { border:0 !important; background:transparent !important; }
.choma-portal-app .choma-mail-folder-tabs > a::before { border-radius:999px !important; }

/* 1.8.38 — skrzynki mają dokładnie proporcje przycisków akcji wiadomości. */
.choma-portal-app .choma-mail-tabs {
    display:flex !important;
    flex-wrap:wrap !important;
    align-items:center !important;
    gap:12px !important;
    margin:0 0 22px !important;
    padding:0 !important;
}
.choma-portal-app .choma-mail-tabs > a {
    box-sizing:border-box !important;
    min-height:42px !important;
    padding:0 16px !important;
    border:1px solid #c6d6e4 !important;
    border-radius:6px !important;
    font-size:13px !important;
    font-weight:700 !important;
    letter-spacing:.02em !important;
    line-height:1 !important;
}
.choma-portal-app .choma-mail-tabs > a::after {
    right:12px !important;
    bottom:5px !important;
    left:12px !important;
    height:3px !important;
    border-radius:999px !important;
}
.choma-portal-app .choma-mail-tabs > a > i {
    margin-right:9px !important;
}
@media (max-width:900px) {
    .choma-portal-app .choma-mail-tabs { gap:9px !important; }
    .choma-portal-app .choma-mail-tabs > a { min-height:38px !important; padding:0 12px !important; font-size:12px !important; }
}

/* 1.8.39 — więcej oddechu między skrzynkami, bez zmiany pozostałej poczty. */
@media (min-width:901px) {
    .choma-portal-app .choma-mail-tabs {
        gap:20px !important;
    }
    .choma-portal-app .choma-mail-tabs > a {
        min-height:44px !important;
        padding:0 20px !important;
    }
    .choma-portal-app .choma-mail-tabs > a:first-child {
        min-width:118px !important;
    }
}

/* 1.8.42 — poczta: delikatniejszy poziom skrzynek i czerwony detal „Nowa wiadomość”. */
.choma-portal-app .choma-mail-tabs > a,
.choma-portal-app .choma-mail-tabs > a:not(:first-child) {
    min-height:38px !important;
    font-weight:600 !important;
}
.choma-portal-app .choma-mail-tabs > a::after,
.choma-portal-app .choma-mail-tabs > a:not(:first-child)::after {
    height:1px !important;
}
.choma-portal-app .choma-mail-screen__new {
    border-color:#e1bec8 !important;
    background:#fff !important;
    color:#d3163a !important;
    font-weight:600 !important;
    box-shadow:none !important;
}
.choma-portal-app .choma-mail-screen__new::after {
    height:1px !important;
    background:#d3163a !important;
    opacity:1 !important;
}
.choma-portal-app .choma-mail-screen__new:hover,
.choma-portal-app .choma-mail-screen__new:focus-visible {
    border-color:#d3163a !important;
    background:#fff6f8 !important;
    color:#b90c2d !important;
    box-shadow:0 5px 12px rgba(211,22,58,.13) !important;
}

/* 1.8.45 — ten blok MUSI pozostać fizycznie ostatni w pliku.
   Przycisk „Nowa wiadomość”: tło OpenSmart One, czerwony napis i detal. */
.choma-portal-app .choma-mail-screen__new.choma-btn--primary,
.choma-portal-app a.choma-mail-screen__new {
    border:1px solid transparent !important;
    background:var(--oso-gradient) !important;
    color:#f2f1ed !important;
    font-weight:600 !important;
    box-shadow:0 7px 16px rgba(8,76,145,.24) !important;
}
@media (min-width:783px){.choma-portal-app .choma-mail-screen__new{min-height:38px !important}}
.choma-portal-app .choma-mail-screen__new.choma-btn--primary::after,
.choma-portal-app a.choma-mail-screen__new::after {
    height:1px !important;
    border-radius:999px !important;
    background:#d3163a !important;
    opacity:1 !important;
}
.choma-portal-app .choma-mail-screen__new.choma-btn--primary:hover,
.choma-portal-app .choma-mail-screen__new.choma-btn--primary:focus-visible,
.choma-portal-app a.choma-mail-screen__new:hover,
.choma-portal-app a.choma-mail-screen__new:focus-visible {
    border-color:transparent !important;
    background:linear-gradient(90deg,#082879 0%,#0839b9 48%,#0c5aff 100%) !important;
    color:#f2f1ed !important;
    box-shadow:0 9px 20px rgba(18,104,238,.30) !important;
}

/* 1.8.46 — foldery poczty w stylistyce lekkich kart OpenSmart One. */
.choma-portal-app .choma-mail-folder-tabs > a {
    min-height:38px !important;
    padding:0 15px 0 18px !important;
    border:1px solid rgba(18,104,238,.36) !important;
    border-radius:7px !important;
    background:rgba(235,246,255,.68) !important;
    color:#073c7c !important;
    font-weight:600 !important;
    text-shadow:none !important;
    filter:none !important;
    box-shadow:none !important;
}
.choma-portal-app .choma-mail-folder-tabs > a::before {
    top:5px !important;
    bottom:5px !important;
    left:4px !important;
    width:4px !important;
    border-radius:999px !important;
    background:linear-gradient(180deg,#07347b 0%,#1268ee 55%,#0e91ce 100%) !important;
    box-shadow:none !important;
}
.choma-portal-app .choma-mail-folder-tabs > a:hover,
.choma-portal-app .choma-mail-folder-tabs > a:focus-visible,
.choma-portal-app .choma-mail-folder-tabs > a.is-active {
    border-color:rgba(18,104,238,.72) !important;
    background:rgba(227,242,255,.94) !important;
    color:#06356e !important;
    text-shadow:none !important;
    box-shadow:0 5px 13px rgba(18,104,238,.16) !important;
}

/* 1.8.44 — końcowa, celowo ostatnia kaskada poczty.
   Poprzednie reguły historyczne nie mogą już nadpisywać tych detali. */
.choma-portal-app .choma-mail-tabs > a,
.choma-portal-app .choma-mail-tabs > a:not(:first-child) {
    min-height:38px !important;
    padding:0 20px !important;
    font-size:12px !important;
    font-weight:600 !important;
    letter-spacing:.025em !important;
}
.choma-portal-app .choma-mail-tabs > a::after,
.choma-portal-app .choma-mail-tabs > a:not(:first-child)::after {
    height:2px !important;
    border-radius:999px !important;
}
.choma-portal-app .choma-mail-tabs > a.is-active::after,
.choma-portal-app .choma-mail-tabs > a.is-active:not(:first-child)::after {
    background:#f2f1ed !important;
}
.choma-portal-app .choma-mail-screen__new {
    border-color:transparent !important;
    background:var(--oso-gradient,linear-gradient(90deg,#07347b 0%,#1268ee 55%,#0e91ce 100%)) !important;
    color:#ff647b !important;
    font-weight:600 !important;
    box-shadow:0 7px 16px rgba(8,76,145,.24) !important;
}
.choma-portal-app .choma-mail-screen__new::after {
    height:2px !important;
    border-radius:999px !important;
    background:#ff647b !important;
    opacity:1 !important;
}
.choma-portal-app .choma-mail-screen__new:hover,
.choma-portal-app .choma-mail-screen__new:focus-visible {
    border-color:transparent !important;
    background:linear-gradient(90deg,#0a4599 0%,#2879f4 55%,#18a4df 100%) !important;
    color:#ff8b9a !important;
    box-shadow:0 9px 20px rgba(18,104,238,.30) !important;
}

/* Foldery: ostry tekst, zaokrąglony znacznik oraz zauważalny hover. */
.choma-portal-app .choma-mail-folder-tabs > a {
    min-height:34px !important;
    padding:0 11px 0 14px !important;
    border:1px solid transparent !important;
    border-radius:6px !important;
    color:#314e69 !important;
    font-weight:600 !important;
    text-shadow:none !important;
    filter:none !important;
    transition:color .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease !important;
}
.choma-portal-app .choma-mail-folder-tabs > a::before {
    top:7px !important;
    bottom:7px !important;
    left:3px !important;
    width:3px !important;
    border-radius:999px !important;
    box-shadow:none !important;
}
.choma-portal-app .choma-mail-folder-tabs > a:hover,
.choma-portal-app .choma-mail-folder-tabs > a:focus-visible {
    color:#073c7c !important;
    border-color:rgba(18,104,238,.42) !important;
    background:rgba(230,242,255,.70) !important;
    box-shadow:0 5px 13px rgba(18,104,238,.18) !important;
    text-shadow:none !important;
    transform:translateY(-1px) !important;
}

/* 1.8.53 — końcowa, identyczna geometria dwóch przejść poczty. */
.choma-portal-app a.choma-mail-screen__new.choma-btn--primary,
.choma-portal-app a.choma-mail-screen__back.choma-btn--outline {
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    box-sizing:border-box !important;
    padding:0 16px !important;
    border:1px solid transparent !important;
    border-left:4px solid #d3163a !important;
    border-radius:7px !important;
    background:var(--oso-gradient) !important;
    color:#f2f1ed !important;
    font-family:Arial, sans-serif !important;
    font-size:12px !important;
    font-weight:600 !important;
    font-style:normal !important;
    font-variant:normal !important;
    font-variant-ligatures:none !important;
    letter-spacing:.04em !important;
    line-height:1 !important;
    text-decoration:none !important;
    text-shadow:none !important;
    box-shadow:none !important;
    transform:none !important;
}
.choma-portal-app a.choma-mail-screen__new.choma-btn--primary::after,
.choma-portal-app a.choma-mail-screen__back.choma-btn--outline::after {
    display:none !important;
    content:none !important;
}
.choma-portal-app a.choma-mail-screen__new.choma-btn--primary:hover,
.choma-portal-app a.choma-mail-screen__new.choma-btn--primary:focus-visible,
.choma-portal-app a.choma-mail-screen__back.choma-btn--outline:hover,
.choma-portal-app a.choma-mail-screen__back.choma-btn--outline:focus-visible {
    border-left-color:#d3163a !important;
    background:var(--oso-gradient) !important;
    color:#f2f1ed !important;
    box-shadow:0 8px 12px rgba(18,104,238,.28) !important;
    transform:translateY(-1px) !important;
}

/* 1.8.58 — techniczny kalendarz z asystentem. */
.choma-portal-app .choma-calendar-summary article:first-child {
    position:relative !important;
    overflow:hidden !important;
    border:1px solid transparent !important;
    background:linear-gradient(#fff,#fff) padding-box,var(--oso-gradient) border-box !important;
    box-shadow:0 12px 34px rgba(12,90,255,.08) !important;
}
.choma-portal-app .choma-calendar-summary article:first-child::after {
    position:absolute;
    right:-1px;
    bottom:-1px;
    left:-1px;
    height:5px;
    border-radius:999px 999px 15px 15px;
    background:var(--oso-gradient);
    content:"";
}
.choma-portal-app .choma-calendar-summary article:first-child strong,
.choma-portal-app .choma-calendar-create .choma-eyebrow,
.choma-portal-app .choma-calendar-assistant .choma-mail-compose-form__assistant-title {
    color:#0839b9 !important;
}

.choma-portal-app .choma-calendar-create > form:not(.choma-calendar-assistant) {
    margin-bottom:18px !important;
}
.choma-portal-app .choma-calendar-submit {
    position:relative !important;
    overflow:hidden !important;
    width:100% !important;
    border:1px solid transparent !important;
    background:linear-gradient(#fff,#fff) padding-box,var(--oso-gradient) border-box !important;
    color:#0839b9 !important;
    font-weight:750 !important;
    letter-spacing:.08em !important;
    box-shadow:none !important;
    transition:transform .28s cubic-bezier(.2,.7,.2,1),box-shadow .28s ease !important;
}
.choma-portal-app .choma-calendar-submit::after {
    position:absolute !important;
    right:-1px !important;
    bottom:-1px !important;
    left:-1px !important;
    display:block !important;
    height:4px !important;
    border-radius:999px 999px 5px 5px !important;
    background:var(--oso-gradient) !important;
    opacity:1 !important;
    content:"" !important;
}
.choma-portal-app .choma-calendar-submit:hover,
.choma-portal-app .choma-calendar-submit:focus-visible {
    color:#062f76 !important;
    box-shadow:0 8px 16px rgba(12,90,255,.18) !important;
    transform:translateY(-2px) !important;
}

.choma-portal-app .choma-mail-folder-tabs > a.is-active {
    color:#073c7c !important;
    border-color:transparent !important;
    background:transparent !important;
    box-shadow:none !important;
    text-shadow:none !important;
}
.choma-portal-app .choma-mail-folder-tabs > a:hover::before,
.choma-portal-app .choma-mail-folder-tabs > a:focus-visible::before,
.choma-portal-app .choma-mail-folder-tabs > a.is-active::before {
    box-shadow:none !important;
}

/* Trzy kolumny listy zawsze sygnalizują odczyt tym samym ciężarem pisma. */
.choma-portal-app .choma-mail-list > a,
.choma-portal-app .choma-mail-list > a .choma-mail-sender,
.choma-portal-app .choma-mail-list > a strong,
.choma-portal-app .choma-mail-list > a time {
    font-weight:400 !important;
    text-shadow:none !important;
}
.choma-portal-app .choma-mail-list > a.is-unread .choma-mail-sender,
.choma-portal-app .choma-mail-list > a.is-unread strong,
.choma-portal-app .choma-mail-list > a.is-unread time {
    font-weight:700 !important;
}

/* Każda akcja wiadomości ma identyczną, bezcieniową typografię. */
.choma-portal-app .choma-message__actions .choma-btn,
.choma-portal-app .choma-message__actions button,
.choma-portal-app .choma-message__actions summary {
    font-family:"Geist",Arial,sans-serif !important;
    font-size:12px !important;
    font-weight:600 !important;
    font-style:normal !important;
    font-variant-ligatures:none !important;
    letter-spacing:.045em !important;
    text-shadow:none !important;
    -webkit-font-smoothing:antialiased !important;
    -moz-osx-font-smoothing:grayscale !important;
}

/* 1.8.43 — końcowy detal poczty i spójna typografia akcji. */
.choma-portal-app .choma-mail-tabs > a::after,
.choma-portal-app .choma-mail-tabs > a:not(:first-child)::after {
    height:2px !important;
}
.choma-portal-app .choma-mail-screen__new {
    border-color:transparent !important;
    background:var(--oso-gradient, linear-gradient(90deg,#07347b 0%,#1268ee 55%,#0e91ce 100%)) !important;
    color:#ff647b !important;
    font-weight:600 !important;
    box-shadow:0 7px 16px rgba(8,76,145,.24) !important;
}
.choma-portal-app .choma-mail-screen__new::after {
    height:2px !important;
    background:#ff647b !important;
    opacity:1 !important;
}
.choma-portal-app .choma-mail-screen__new:hover,
.choma-portal-app .choma-mail-screen__new:focus-visible {
    background:linear-gradient(90deg,#0a4599 0%,#2879f4 55%,#18a4df 100%) !important;
    color:#ff8b9a !important;
    box-shadow:0 9px 20px rgba(18,104,238,.30) !important;
}
.choma-portal-app .choma-message__actions .choma-btn,
.choma-portal-app .choma-message__actions button,
.choma-portal-app .choma-message__actions summary {
    font-family:"Geist",Arial,sans-serif !important;
    font-size:12px !important;
    font-weight:600 !important;
    font-style:normal !important;
    font-variant-ligatures:none !important;
    letter-spacing:.045em !important;
    text-shadow:none !important;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
}

/* Końcowa kaskada 1.8.41: wyżej niż historyczny desktopowy adapter 1.8.40. */
@media (min-width:901px) {
    .choma-portal-app .choma-mail-tabs {
        gap:18px !important;
    }
    .choma-portal-app .choma-mail-tabs > a,
    .choma-portal-app .choma-mail-tabs > a:not(:first-child) {
        min-height:42px !important;
        padding:0 18px !important;
        border-color:#d2dfea !important;
        background:#fff !important;
        color:#123e6c !important;
        font-size:12px !important;
        font-weight:650 !important;
        letter-spacing:.025em !important;
        box-shadow:none !important;
    }
    .choma-portal-app .choma-mail-tabs > a.is-active,
    .choma-portal-app .choma-mail-tabs > a.is-active:not(:first-child) {
        border-color:transparent !important;
        background:var(--oso-gradient, linear-gradient(90deg,#07347b 0%,#1268ee 55%,#0e91ce 100%)) !important;
        color:#f2f1ed !important;
        box-shadow:0 7px 16px rgba(8,76,145,.24) !important;
    }
}

/* 1.8.41 — subtelniejsza hierarchia i perłowe detale aktywnego widoku. */
.choma-portal-app .choma-mail-tabs {
    gap:18px !important;
}
.choma-portal-app .choma-mail-tabs > a,
.choma-portal-app .choma-mail-tabs > a:not(:first-child) {
    min-height:42px !important;
    padding:0 18px !important;
    border-color:#d2dfea !important;
    border-radius:6px !important;
    color:#123e6c !important;
    font-size:12px !important;
    font-weight:650 !important;
    letter-spacing:.025em !important;
    box-shadow:none !important;
}
.choma-portal-app .choma-mail-tabs > a::after,
.choma-portal-app .choma-mail-tabs > a:not(:first-child)::after {
    right:12px !important;
    bottom:5px !important;
    left:12px !important;
    height:2px !important;
    border-radius:999px !important;
    background:var(--oso-gradient, linear-gradient(90deg,#07347b 0%,#1268ee 55%,#0e91ce 100%)) !important;
}
.choma-portal-app .choma-mail-tabs > a:hover,
.choma-portal-app .choma-mail-tabs > a:focus-visible {
    transform:translateY(-1px) !important;
    border-color:#83b1ec !important;
    background:#f6fbff !important;
    color:#073c7c !important;
    box-shadow:0 6px 16px rgba(18,104,238,.16) !important;
}
.choma-portal-app .choma-mail-tabs > a.is-active,
.choma-portal-app .choma-mail-tabs > a.is-active:not(:first-child) {
    border-color:transparent !important;
    background:var(--oso-gradient, linear-gradient(90deg,#07347b 0%,#1268ee 55%,#0e91ce 100%)) !important;
    color:#f2f1ed !important;
    box-shadow:0 7px 16px rgba(8,76,145,.24) !important;
}
.choma-portal-app .choma-mail-tabs > a.is-active::after,
.choma-portal-app .choma-mail-tabs > a.is-active:not(:first-child)::after,
.choma-portal-app .choma-mail-screen__new::after,
.choma-portal-app .choma-mail-screen__back::after,
.choma-portal-app .choma-message-back::after {
    background:#f2f1ed !important;
    opacity:1 !important;
}
.choma-portal-app .choma-mail-tabs > a.is-active:hover,
.choma-portal-app .choma-mail-tabs > a.is-active:focus-visible,
.choma-portal-app .choma-mail-tabs > a.is-active:not(:first-child):hover,
.choma-portal-app .choma-mail-tabs > a.is-active:not(:first-child):focus-visible {
    background:linear-gradient(90deg,#0a4599 0%,#2879f4 55%,#18a4df 100%) !important;
    color:#f2f1ed !important;
    box-shadow:0 9px 20px rgba(18,104,238,.30) !important;
}

/* Foldery zostają lekkie: zaokrąglony znacznik i dyskretna techniczna poświata. */
.choma-portal-app .choma-mail-folder-tabs > a {
    position:relative !important;
    border:0 !important;
    border-radius:5px !important;
    color:#314e69 !important;
    transition:color .18s ease, text-shadow .18s ease, transform .18s ease !important;
}
.choma-portal-app .choma-mail-folder-tabs > a::before {
    top:6px !important;
    bottom:6px !important;
    left:0 !important;
    width:3px !important;
    border-radius:999px !important;
    background:var(--oso-gradient, linear-gradient(180deg,#07347b 0%,#1268ee 55%,#0e91ce 100%)) !important;
    box-shadow:0 0 0 rgba(18,104,238,0) !important;
}
.choma-portal-app .choma-mail-folder-tabs > a:hover,
.choma-portal-app .choma-mail-folder-tabs > a:focus-visible,
.choma-portal-app .choma-mail-folder-tabs > a.is-active {
    color:#073c7c !important;
    text-shadow:0 0 10px rgba(18,104,238,.16) !important;
}
.choma-portal-app .choma-mail-folder-tabs > a:hover::before,
.choma-portal-app .choma-mail-folder-tabs > a:focus-visible::before,
.choma-portal-app .choma-mail-folder-tabs > a.is-active::before {
    opacity:1 !important;
    transform:scaleY(1) !important;
    box-shadow:0 0 9px rgba(18,104,238,.34) !important;
}

/* 1.8.40 — starsza reguła dla nazw skrzynek nie może ściskać ich kontenerów. */
@media (min-width:901px) {
    .choma-portal-app .choma-mail-tabs > a,
    .choma-portal-app .choma-mail-tabs > a:not(:first-child) {
        min-height:38px !important;
        padding:0 18px !important;
        border:1px solid #d2dfea !important;
        border-radius:6px !important;
        background:#fff !important;
        font-weight:600 !important;
    }
    .choma-portal-app .choma-mail-tabs > a.is-active,
    .choma-portal-app .choma-mail-tabs > a.is-active:not(:first-child) {
        border-color:transparent !important;
        background:var(--oso-gradient, linear-gradient(90deg,#07347b 0%,#1268ee 55%,#0e91ce 100%)) !important;
        color:#f2f1ed !important;
        box-shadow:0 7px 16px rgba(8,76,145,.24) !important;
    }
}

/* 1.8.42 — ostatnia warstwa poczty: lekkie skrzynki i czerwony detal tworzenia. */
.choma-portal-app .choma-mail-tabs > a::after,
.choma-portal-app .choma-mail-tabs > a:not(:first-child)::after {
    height:1px !important;
}
.choma-portal-app .choma-mail-screen__new {
    border-color:#e1bec8 !important;
    background:#fff !important;
    color:#d3163a !important;
    font-weight:600 !important;
    box-shadow:none !important;
}
.choma-portal-app .choma-mail-screen__new::after {
    height:1px !important;
    background:#d3163a !important;
    opacity:1 !important;
}
.choma-portal-app .choma-mail-screen__new:hover,
.choma-portal-app .choma-mail-screen__new:focus-visible {
    border-color:#d3163a !important;
    background:#fff6f8 !important;
    color:#b90c2d !important;
    box-shadow:0 5px 12px rgba(211,22,58,.13) !important;
}

/* 1.8.45 — końcowy override przycisku „Nowa wiadomość”. */
.choma-portal-app .choma-mail-screen__new.choma-btn--primary,
.choma-portal-app a.choma-mail-screen__new {
    border:1px solid transparent !important;
    background:var(--oso-gradient) !important;
    color:#f2f1ed !important;
    font-weight:600 !important;
    box-shadow:0 7px 16px rgba(8,76,145,.24) !important;
}
.choma-portal-app .choma-mail-screen__new.choma-btn--primary::after,
.choma-portal-app a.choma-mail-screen__new::after {
    height:1px !important;
    border-radius:999px !important;
    background:#d3163a !important;
    opacity:1 !important;
}
.choma-portal-app .choma-mail-screen__new.choma-btn--primary:hover,
.choma-portal-app .choma-mail-screen__new.choma-btn--primary:focus-visible,
.choma-portal-app a.choma-mail-screen__new:hover,
.choma-portal-app a.choma-mail-screen__new:focus-visible {
    border-color:transparent !important;
    background:var(--oso-gradient) !important;
    color:#f2f1ed !important;
    box-shadow:0 9px 20px rgba(18,104,238,.30) !important;
}

/* 1.8.49 — krawędź tylko dla aktywnego folderu lub hovera, bez skoku tekstu. */
.choma-portal-app .choma-mail-folder-tabs > a {
    padding:0 15px !important;
    border:1px solid rgba(18,104,238,.36) !important;
    border-left:1px solid rgba(18,104,238,.36) !important;
    border-radius:7px !important;
    background:#ffffff !important;
    color:#073c7c !important;
    font-weight:600 !important;
    text-shadow:none !important;
    filter:none !important;
    box-shadow:none !important;
}
.choma-portal-app .choma-mail-folder-tabs > a::before {
    display:none !important;
}
.choma-portal-app .choma-mail-folder-tabs > a:hover,
.choma-portal-app .choma-mail-folder-tabs > a:focus-visible {
    border:1px solid rgba(18,104,238,.72) !important;
    border-left:4px solid #1268ee !important;
    background:#ffffff !important;
    color:#06356e !important;
    text-shadow:none !important;
    box-shadow:0 5px 13px rgba(18,104,238,.16) !important;
    transform:translateY(-1px) !important;
}
.choma-portal-app .choma-mail-folder-tabs > a.is-active {
    border:1px solid rgba(18,104,238,.72) !important;
    border-left:4px solid #1268ee !important;
    background:#ffffff !important;
    color:#06356e !important;
    text-shadow:none !important;
    box-shadow:none !important;
    transform:none !important;
}

/* 1.8.52 — dwa główne przejścia poczty: identyczna typografia i czerwona krawędź. */
.choma-portal-app .choma-mail-screen__new,
.choma-portal-app .choma-mail-screen__back {
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    padding:0 16px !important;
    box-sizing:border-box !important;
    border:1px solid transparent !important;
    border-left:4px solid #d3163a !important;
    border-radius:7px !important;
    background:var(--oso-gradient) !important;
    color:#f2f1ed !important;
    font-family:Arial, sans-serif !important;
    font-size:12px !important;
    font-weight:600 !important;
    font-style:normal !important;
    font-variant:normal !important;
    font-variant-ligatures:none !important;
    letter-spacing:.04em !important;
    line-height:1 !important;
    text-rendering:auto !important;
    text-shadow:none !important;
    -webkit-font-smoothing:antialiased !important;
    box-shadow:none !important;
    transform:none !important;
    transition:transform .18s ease, box-shadow .18s ease, background .18s ease !important;
}
.choma-portal-app .choma-mail-screen__new::after,
.choma-portal-app .choma-mail-screen__back::after {
    height:1px !important;
    border-radius:999px !important;
    background:#f2f1ed !important;
    opacity:1 !important;
}
.choma-portal-app .choma-mail-screen__new:hover,
.choma-portal-app .choma-mail-screen__new:focus-visible,
.choma-portal-app .choma-mail-screen__back:hover,
.choma-portal-app .choma-mail-screen__back:focus-visible {
    border-left-color:#d3163a !important;
    background:linear-gradient(90deg,#0a4599 0%,#2879f4 55%,#18a4df 100%) !important;
    color:#f2f1ed !important;
    box-shadow:0 8px 18px rgba(18,104,238,.30) !important;
    transform:translateY(-1px) !important;
}

/* 1.8.53 final — dwie identyczne akcje poczty, po wszystkich starszych regułach. */
.choma-portal-app a.choma-mail-screen__new.choma-btn--primary,
.choma-portal-app a.choma-mail-screen__back.choma-btn--outline {
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    box-sizing:border-box !important;
    padding:0 16px !important;
    border:1px solid transparent !important;
    border-left:4px solid #d3163a !important;
    border-radius:7px !important;
    background:var(--oso-gradient) !important;
    color:#f2f1ed !important;
    font-family:Arial, sans-serif !important;
    font-size:12px !important;
    font-weight:600 !important;
    font-style:normal !important;
    font-variant:normal !important;
    font-variant-ligatures:none !important;
    letter-spacing:.04em !important;
    line-height:1 !important;
    text-decoration:none !important;
    text-shadow:none !important;
    box-shadow:none !important;
    transform:none !important;
    transition:transform .18s ease, box-shadow .18s ease, background .18s ease !important;
}
.choma-portal-app a.choma-mail-screen__new.choma-btn--primary::after,
.choma-portal-app a.choma-mail-screen__back.choma-btn--outline::after {
    display:none !important;
    content:none !important;
}
.choma-portal-app a.choma-mail-screen__new.choma-btn--primary:hover,
.choma-portal-app a.choma-mail-screen__new.choma-btn--primary:focus-visible,
.choma-portal-app a.choma-mail-screen__back.choma-btn--outline:hover,
.choma-portal-app a.choma-mail-screen__back.choma-btn--outline:focus-visible {
    border-left-color:#d3163a !important;
    background:var(--oso-gradient) !important;
    color:#f2f1ed !important;
    box-shadow:0 8px 12px rgba(18,104,238,.28) !important;
    transform:translateY(-1px) !important;
}

/* 1.8.58 ABSOLUTE FINAL — stała geometria folderów bez poziomego skoku. */
.choma-portal-app .choma-mail-folder-tabs > a {
    box-sizing:border-box !important;
    height:34px !important;
    min-height:34px !important;
    max-height:34px !important;
    padding:0 14px !important;
    border:1px solid rgba(12,90,255,.36) !important;
    border-left:4px solid transparent !important;
    border-radius:7px !important;
    background:#fff !important;
    color:#073c7c !important;
    box-shadow:none !important;
    transform:translate3d(0,0,0) !important;
    transition:transform .28s cubic-bezier(.2,.7,.2,1),box-shadow .28s ease,border-color .28s ease,background-color .28s ease !important;
}
.choma-portal-app .choma-mail-folder-tabs > a:hover,
.choma-portal-app .choma-mail-folder-tabs > a:focus-visible {
    border:1px solid rgba(12,90,255,.72) !important;
    border-left:4px solid #0c5aff !important;
    background:#fff !important;
    color:#062f76 !important;
    box-shadow:0 8px 16px rgba(12,90,255,.18) !important;
    transform:translate3d(0,-2px,0) !important;
}
.choma-portal-app .choma-mail-folder-tabs > a.is-active {
    border:1px solid rgba(12,90,255,.72) !important;
    border-left:4px solid #0c5aff !important;
    background:#fff !important;
    color:#062f76 !important;
    box-shadow:none !important;
    transform:translate3d(0,0,0) !important;
}

/* 1.8.59 — łagodne krawędzie, poprawny asystent i własny selektor daty z czasem. */
.choma-portal-app .choma-calendar-summary article:first-child {
    position:relative !important;
    overflow:hidden !important;
    border:1px solid transparent !important;
    border-radius:18px !important;
    background:linear-gradient(#fff,#fff) padding-box,var(--oso-gradient) border-box !important;
    box-shadow:inset 0 -4px 0 #0839b9,0 12px 34px rgba(12,90,255,.07) !important;
}
.choma-portal-app .choma-calendar-summary article:first-child::after {
    display:none !important;
    content:none !important;
}
.choma-portal-app .choma-calendar-submit {
    overflow:hidden !important;
    border:1px solid transparent !important;
    border-radius:6px !important;
    background:linear-gradient(#fff,#fff) padding-box,var(--oso-gradient) border-box !important;
    color:#d3163a !important;
    box-shadow:inset 0 -4px 0 #0839b9 !important;
}
.choma-portal-app .choma-calendar-submit::after {
    display:none !important;
    content:none !important;
}
.choma-portal-app .choma-calendar-submit:hover,
.choma-portal-app .choma-calendar-submit:focus-visible {
    color:#b80f2f !important;
    box-shadow:inset 0 -4px 0 #0839b9,0 7px 15px rgba(12,90,255,.16) !important;
    transform:translateY(-1px) !important;
}

.choma-portal-app .choma-datetime-control {
    position:relative !important;
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 44px !important;
    gap:0 !important;
    align-items:stretch !important;
    width:100% !important;
}
.choma-portal-app .choma-datetime-display {
    width:100% !important;
    height:60px !important;
    min-height:60px !important;
    padding:0 16px !important;
    border:1px solid #cfdae3 !important;
    border-right:0 !important;
    border-radius:6px 0 0 6px !important;
    background:#fff !important;
    color:#082879 !important;
    cursor:pointer !important;
}
.choma-portal-app .choma-main .choma-datetime-toggle {
    position:relative !important;
    width:44px !important;
    height:60px !important;
    min-height:60px !important;
    padding:0 !important;
    border:1px solid #cfdae3 !important;
    border-left:0 !important;
    border-radius:0 6px 6px 0 !important;
    background:#fff !important;
    color:#082879 !important;
    box-shadow:none !important;
}
.choma-portal-app .choma-main .choma-datetime-toggle:hover,
.choma-portal-app .choma-main .choma-datetime-toggle:focus-visible {
    background:#f3f7ff !important;
    color:#0c5aff !important;
}
.choma-portal-app .choma-calendar-glyph {
    position:relative;
    display:block;
    width:15px;
    height:14px;
    border:2px solid currentColor;
    border-radius:2px;
}
.choma-portal-app .choma-calendar-glyph::before {
    position:absolute;
    top:2px;
    right:-2px;
    left:-2px;
    height:2px;
    background:currentColor;
    content:"";
}
.choma-portal-app .choma-datetime-control.has-error .choma-datetime-display,
.choma-portal-app .choma-datetime-control.has-error .choma-datetime-toggle {
    border-color:#d3163a !important;
}
.choma-portal-app .choma-datetime-popover[hidden] {
    display:none !important;
}
.choma-portal-app .choma-datetime-popover {
    position:absolute !important;
    z-index:80 !important;
    top:calc(100% + 8px) !important;
    left:0 !important;
    display:block !important;
    width:min(440px,calc(100vw - 64px)) !important;
    padding:14px !important;
    border:1px solid #ccd8e4 !important;
    border-radius:12px !important;
    background:#fff !important;
    box-shadow:0 18px 42px rgba(8,40,121,.18) !important;
    color:#082879 !important;
}
.choma-portal-app .choma-form-row > label:last-child .choma-datetime-popover {
    right:0 !important;
    left:auto !important;
}
.choma-portal-app .choma-picker-layout {
    display:grid !important;
    grid-template-columns:minmax(280px,1fr) 105px !important;
    gap:14px !important;
}
.choma-portal-app .choma-picker-calendar,
.choma-portal-app .choma-picker-time,
.choma-portal-app .choma-picker-head,
.choma-portal-app .choma-picker-weekdays,
.choma-portal-app .choma-picker-days,
.choma-portal-app .choma-picker-footer,
.choma-portal-app .choma-picker-time-unit {
    display:grid !important;
}
.choma-portal-app .choma-picker-head {
    grid-template-columns:34px minmax(0,1fr) 34px !important;
    align-items:center !important;
    margin-bottom:8px !important;
}
.choma-portal-app .choma-picker-head strong {
    text-align:center !important;
    font-size:13px !important;
}
.choma-portal-app .choma-picker-weekdays,
.choma-portal-app .choma-picker-days {
    grid-template-columns:repeat(7,minmax(0,1fr)) !important;
    gap:2px !important;
}
.choma-portal-app .choma-picker-weekdays small {
    padding:5px 0 !important;
    color:#5e7287 !important;
    font-size:9px !important;
    font-weight:700 !important;
    text-align:center !important;
}
.choma-portal-app .choma-main .choma-datetime-popover button {
    min-width:0 !important;
    height:34px !important;
    min-height:34px !important;
    padding:0 !important;
    border:1px solid transparent !important;
    border-radius:6px !important;
    background:#fff !important;
    color:#082879 !important;
    box-shadow:none !important;
    font-size:12px !important;
}
.choma-portal-app .choma-main .choma-datetime-popover button:hover,
.choma-portal-app .choma-main .choma-datetime-popover button:focus-visible {
    border-color:rgba(12,90,255,.28) !important;
    background:#f2f6ff !important;
    color:#0c5aff !important;
}
.choma-portal-app .choma-main .choma-picker-days button.is-selected {
    border-color:transparent !important;
    background:var(--oso-gradient) !important;
    color:#fff !important;
}
.choma-portal-app .choma-picker-footer {
    grid-template-columns:1fr 1fr !important;
    gap:8px !important;
    margin-top:8px !important;
}
.choma-portal-app .choma-main .choma-picker-footer button {
    color:#0839b9 !important;
    font-weight:700 !important;
}
.choma-portal-app .choma-picker-time {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:7px !important;
    align-content:center !important;
    padding-left:13px !important;
    border-left:1px solid #e0e7ee !important;
}
.choma-portal-app .choma-picker-time-unit {
    grid-template-rows:34px 40px 15px 34px !important;
    gap:4px !important;
    align-items:center !important;
    justify-items:center !important;
}
.choma-portal-app .choma-picker-time-unit strong {
    color:#0839b9 !important;
    font-size:22px !important;
    line-height:1 !important;
}
.choma-portal-app .choma-picker-time-unit small {
    color:#617790 !important;
    font-size:8px !important;
    font-weight:800 !important;
    letter-spacing:.05em !important;
    text-transform:uppercase !important;
}
.choma-portal-app .choma-main .choma-picker-time-unit button {
    width:38px !important;
    border-color:rgba(12,90,255,.34) !important;
    color:#0839b9 !important;
    font-size:17px !important;
}

.choma-portal-app .choma-calendar-create form.choma-calendar-assistant {
    display:block !important;
    width:100% !important;
    padding:26px 24px 22px !important;
    border:1px solid #ccddef !important;
    border-radius:12px !important;
    background:#f5f8fc !important;
}
.choma-portal-app .choma-calendar-assistant .choma-mail-compose-form__assistant-title {
    display:block !important;
    margin:0 0 7px !important;
    color:#d3163a !important;
    font-size:11px !important;
    font-weight:800 !important;
    letter-spacing:.09em !important;
    text-transform:uppercase !important;
}
.choma-portal-app .choma-calendar-assistant > p {
    margin:0 0 16px !important;
    color:#526c87 !important;
    font-size:14px !important;
    line-height:1.55 !important;
}
.choma-portal-app .choma-calendar-assistant__controls {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 190px !important;
    gap:24px !important;
    align-items:end !important;
}
.choma-portal-app .choma-calendar-assistant__controls > .choma-dictation-field {
    position:relative !important;
    display:block !important;
    width:100% !important;
    min-width:0 !important;
    padding-bottom:40px !important;
}
.choma-portal-app .choma-calendar-assistant__controls > .choma-dictation-field textarea {
    display:block !important;
    width:100% !important;
    min-height:142px !important;
    margin-top:8px !important;
    padding:14px 15px !important;
    box-sizing:border-box !important;
    color:#18334b !important;
    font-size:14px !important;
    font-weight:400 !important;
    line-height:1.5 !important;
}
.choma-portal-app .choma-calendar-assistant__controls > .choma-dictation-field button[data-choma-dictation] {
    position:absolute !important;
    bottom:0 !important;
    left:0 !important;
    width:auto !important;
    min-width:135px !important;
    height:32px !important;
    min-height:32px !important;
    margin:0 !important;
    padding:0 14px !important;
}
.choma-portal-app button[data-choma-dictation].is-listening {
    border-color:#d3163a !important;
    background:#fff4f6 !important;
    color:#d3163a !important;
}
.choma-portal-app .choma-calendar-assistant__submit {
    width:190px !important;
    border-color:#d8aab5 !important;
    color:#d3163a !important;
    font-weight:750 !important;
}
.choma-portal-app .choma-calendar-assistant__submit:hover,
.choma-portal-app .choma-calendar-assistant__submit:focus-visible {
    border-color:#d3163a !important;
    background:#fff5f7 !important;
    color:#b80f2f !important;
}

@media (max-width:760px) {
    .choma-portal-app .choma-calendar-assistant__controls { grid-template-columns:1fr !important; }
    .choma-portal-app .choma-calendar-assistant__submit { width:100% !important; }
    .choma-portal-app .choma-picker-layout { grid-template-columns:minmax(0,1fr) 86px !important; gap:8px !important; }
    .choma-portal-app .choma-picker-time { border-top:0 !important; border-left:1px solid #e0e7ee !important; padding:0 0 0 8px !important; }
}

/* 1.8.60 — lżejsza karta „Dzisiaj” i smuklejszy formularz spotkania. */
.choma-portal-app .choma-calendar-summary article:first-child {
    border:0 !important;
    background:#fff !important;
    box-shadow:inset 0 -4px 0 #0839b9,0 12px 34px rgba(12,90,255,.07) !important;
}
.choma-portal-app .choma-calendar-summary article:first-child strong {
    color:#d3163a !important;
}
.choma-portal-app .choma-calendar-toolbar .choma-eyebrow,
.choma-portal-app .choma-calendar-day-events .choma-eyebrow,
.choma-portal-app .choma-calendar-create .choma-panel__head .choma-eyebrow,
.choma-portal-app .choma-calendar-assistant .choma-mail-compose-form__assistant-title {
    color:#d3163a !important;
    font-size:11px !important;
    font-weight:800 !important;
    letter-spacing:.09em !important;
}
.choma-portal-app .choma-calendar-submit {
    box-shadow:inset 0 -3px 0 #d3163a !important;
}
.choma-portal-app .choma-calendar-submit:hover,
.choma-portal-app .choma-calendar-submit:focus-visible {
    box-shadow:inset 0 -3px 0 #d3163a,0 7px 15px rgba(211,22,58,.13) !important;
}
.choma-portal-app .choma-calendar-create .choma-form-row > label > input[type="text"] {
    height:46px !important;
    min-height:46px !important;
    padding:0 14px !important;
}
.choma-portal-app .choma-datetime-display {
    height:46px !important;
    min-height:46px !important;
    padding:0 14px !important;
}
.choma-portal-app .choma-main .choma-datetime-control button.choma-datetime-toggle {
    height:46px !important;
    min-height:46px !important;
}
.choma-portal-app .choma-picker-time-unit strong {
    font-weight:600 !important;
}

/* 1.8.61 — wspólna kolorystyka przycisków kalendarza i lżejszy czas. */
.choma-portal-app .choma-calendar-summary article:first-child strong {
    color:#092f53 !important;
}
.choma-portal-app .choma-calendar-create form.choma-calendar-assistant .choma-calendar-assistant__submit {
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    box-sizing:border-box !important;
    height:38px !important;
    min-height:38px !important;
    padding:0 16px !important;
    border:1px solid transparent !important;
    border-left:4px solid #d3163a !important;
    border-radius:7px !important;
    background:var(--oso-gradient) !important;
    color:#fff !important;
    box-shadow:none !important;
    transition:transform .22s ease,box-shadow .22s ease !important;
}
.choma-portal-app .choma-calendar-create form.choma-calendar-assistant .choma-calendar-assistant__submit:hover,
.choma-portal-app .choma-calendar-create form.choma-calendar-assistant .choma-calendar-assistant__submit:focus-visible {
    border-left-color:#d3163a !important;
    background:var(--oso-gradient) !important;
    color:#fff !important;
    box-shadow:0 8px 15px rgba(12,90,255,.24) !important;
    transform:translateY(-1px) !important;
}
.choma-portal-app .choma-calendar-create form > button.choma-calendar-submit {
    border:1px solid transparent !important;
    border-radius:7px !important;
    background:var(--oso-gradient) !important;
    color:#fff !important;
    box-shadow:inset 0 -3px 0 #d3163a !important;
}
@media (min-width:783px) {
    .choma-portal-app .choma-calendar-create form > button.choma-calendar-submit {
        height:34px !important;
        min-height:34px !important;
        max-height:34px !important;
    }
}
.choma-portal-app .choma-calendar-create form > button.choma-calendar-submit:hover,
.choma-portal-app .choma-calendar-create form > button.choma-calendar-submit:focus-visible {
    background:var(--oso-gradient) !important;
    color:#fff !important;
    box-shadow:inset 0 -3px 0 #d3163a,0 8px 15px rgba(12,90,255,.22) !important;
}
.choma-portal-app .choma-picker-time-unit strong {
    font-weight:500 !important;
}

/* 1.8.62 — edycja spotkań i jaśniejszy techniczny gradient. */
:root {
    --oso-gradient:linear-gradient(90deg,#0b49c8 0%,#0b59e6 52%,#0c6cff 100%);
}
.choma-portal-app .choma-calendar-summary article:first-child {
    box-shadow:inset 0 -4px 0 #d3163a,0 12px 34px rgba(211,22,58,.07) !important;
}
.choma-portal-app .choma-calendar-create form > button.choma-calendar-submit {
    border-color:#0a4bd0 !important;
    box-shadow:inset 0 -2px 0 rgba(5,42,132,.42),0 9px 20px rgba(12,90,255,.15) !important;
}
.choma-portal-app .choma-calendar-create form > button.choma-calendar-submit:hover,
.choma-portal-app .choma-calendar-create form > button.choma-calendar-submit:focus-visible {
    box-shadow:inset 0 -2px 0 rgba(5,42,132,.42),0 11px 23px rgba(12,90,255,.23) !important;
}
.choma-portal-app .choma-picker-time-unit strong {
    font-weight:600 !important;
}
.choma-portal-app .choma-calendar-event-list article {
    transition:transform .22s ease,background-color .22s ease,box-shadow .22s ease;
}
.choma-portal-app .choma-calendar-event-list article:hover,
.choma-portal-app .choma-calendar-event-list article:focus-within {
    background:#fffaf0;
    box-shadow:0 8px 22px rgba(124,91,20,.11);
    transform:translateY(-1px);
}
.choma-portal-app .choma-calendar-event-list article.is-editing {
    box-shadow:0 0 0 2px rgba(200,165,80,.28);
}
.choma-portal-app .choma-calendar-event-open {
    display:grid;
    gap:4px;
    color:inherit;
    text-decoration:none;
}
.choma-portal-app .choma-calendar-event-open > span {
    justify-self:start;
    margin-top:4px;
    color:#0b49c8;
    font-size:10px;
    font-weight:750;
    letter-spacing:.08em;
}
.choma-portal-app .choma-calendar-event-open > span b {
    display:inline-block;
    margin-left:3px;
    transition:transform .22s ease;
}
.choma-portal-app .choma-calendar-event-open:hover > span b,
.choma-portal-app .choma-calendar-event-open:focus-visible > span b {
    transform:translateX(2px);
}
.choma-portal-app .choma-calendar-edit-actions {
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:10px;
    margin:0 27px 27px;
}
.choma-portal-app .choma-calendar-edit-actions form {
    margin:0;
}
.choma-portal-app .choma-event-contact-fields [hidden] {
    display:none !important;
}
.choma-portal-app .choma-event-invite-toggle {
    display:flex;
    min-height:40px;
    align-items:center;
    flex-direction:row;
    gap:10px;
    align-self:end;
}
.choma-portal-app .choma-event-invite-toggle input[type="checkbox"] {
    width:18px;
    height:18px;
    margin:0;
}
@media (max-width:620px) {
    .choma-portal-app .choma-calendar-edit-actions {
        align-items:stretch;
        flex-direction:column;
        margin:0 14px 14px;
    }
    .choma-portal-app .choma-calendar-edit-actions .choma-btn {
        width:100%;
    }
}

/* 1.8.65 — szybki import dokumentów i nowy panel asystenta. */
.choma-portal-app .choma-document-head {
    align-items:center;
}
.choma-portal-app .choma-document-quick-upload {
    margin:0;
}
.choma-portal-app .choma-document-import-button {
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:40px;
    padding:0 18px;
    overflow:hidden;
    border:1px solid transparent;
    border-left:4px solid #d3163a;
    border-radius:7px;
    background:var(--oso-gradient);
    color:#fff;
    box-shadow:0 8px 18px rgba(12,90,255,.14);
    cursor:pointer;
    transition:transform .22s ease,box-shadow .22s ease;
}
.choma-portal-app .choma-document-import-button:hover,
.choma-portal-app .choma-document-import-button:focus-within {
    color:#fff;
    box-shadow:0 10px 22px rgba(12,90,255,.23);
    transform:translateY(-1px);
}
.choma-portal-app .choma-document-import-button > span {
    font-size:11px;
    font-weight:800;
    letter-spacing:.07em;
}
.choma-portal-app .choma-document-import-button input[type="file"] {
    position:absolute;
    width:1px;
    height:1px;
    margin:-1px;
    padding:0;
    overflow:hidden;
    clip:rect(0,0,0,0);
    border:0;
    opacity:0;
}
.choma-portal-app .choma-document-quick-upload.is-uploading .choma-document-import-button {
    pointer-events:none;
    opacity:.72;
}
.choma-portal-app .choma-document-assistant {
    overflow:hidden;
    border-color:#cadbe7;
    background:linear-gradient(135deg,#f7fafc 0%,#edf4f8 100%);
    box-shadow:0 14px 36px rgba(36,66,88,.08);
}
.choma-portal-app .choma-document-assistant form.choma-document-assistant__form {
    display:grid !important;
    gap:20px !important;
    margin:0 !important;
    padding:28px !important;
    border:0 !important;
    background:transparent !important;
}
.choma-portal-app .choma-document-assistant__head {
    display:grid;
    gap:7px;
}
.choma-portal-app .choma-document-assistant__head > strong {
    color:#d3163a;
    font-size:12px;
    font-weight:800;
    letter-spacing:.11em;
}
.choma-portal-app .choma-document-assistant__head > p {
    margin:0;
    color:#607484;
    font-size:14px;
}
.choma-portal-app .choma-document-assistant__controls {
    display:grid;
    grid-template-columns:minmax(0,1.75fr) minmax(260px,.65fr);
    align-items:end;
    gap:28px;
}
.choma-portal-app .choma-document-assistant__controls label {
    color:#092f53;
    font-size:11px;
    font-weight:750;
    letter-spacing:.06em;
    text-transform:uppercase;
}
.choma-portal-app .choma-document-assistant__controls textarea,
.choma-portal-app .choma-document-assistant__controls select {
    width:100%;
    border:1px solid #c8d8e3;
    border-radius:9px;
    outline:0;
    background:#fff;
    color:#092f53;
    box-shadow:inset 0 1px 2px rgba(36,66,88,.03);
}
.choma-portal-app .choma-document-assistant__controls textarea {
    min-height:168px !important;
    margin-top:8px;
    padding:14px 16px;
    resize:vertical;
}
.choma-portal-app .choma-document-assistant__controls select {
    min-height:48px;
    margin-top:8px;
    padding:0 14px;
}
.choma-portal-app .choma-document-assistant__controls textarea:focus,
.choma-portal-app .choma-document-assistant__controls select:focus {
    border-color:#6e9abc;
    box-shadow:0 0 0 3px rgba(12,90,255,.08);
}
.choma-portal-app .choma-document-assistant__actions {
    display:grid;
    gap:16px;
}
.choma-portal-app .choma-document-assistant__submit {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:100%;
    min-height:48px;
    padding:0 18px;
    border:1px solid transparent;
    border-left:4px solid #d3163a;
    border-radius:8px;
    background:var(--oso-gradient);
    color:#fff;
    box-shadow:0 9px 20px rgba(12,90,255,.15);
}
.choma-portal-app .choma-document-assistant__submit:hover,
.choma-portal-app .choma-document-assistant__submit:focus-visible {
    background:var(--oso-gradient);
    color:#fff;
    box-shadow:0 11px 24px rgba(12,90,255,.24);
    transform:translateY(-1px);
}
@media (max-width:760px) {
    .choma-portal-app .choma-document-head {
        align-items:stretch;
    }
    .choma-portal-app .choma-document-import-button {
        width:100%;
    }
    .choma-portal-app .choma-document-assistant__controls {
        grid-template-columns:1fr;
        gap:18px;
    }
}

/* 1.8.63 — delikatniejsze podkreślenie kafelka i perłowy hover spotkań. */
.choma-portal-app .choma-calendar-summary article:first-child {
    box-shadow:inset 0 -3px 0 #0839b9,0 12px 34px rgba(12,90,255,.07) !important;
}
.choma-portal-app .choma-calendar-event-list article:hover,
.choma-portal-app .choma-calendar-event-list article:focus-within {
    background:linear-gradient(135deg,#fff 0%,#f9fbfc 58%,#f1f5f7 100%);
    box-shadow:0 8px 22px rgba(36,66,88,.10);
}

/* 1.8.64 — uporządkowany moduł Dokumenty i prywatne pliki. */
.choma-portal-app .choma-document-editor .choma-panel__head {
    border-bottom:1px solid #e1e7ec;
}
.choma-portal-app .choma-document-upload {
    padding:16px;
    border:1px dashed #b9cad7;
    border-radius:8px;
    background:linear-gradient(135deg,#fff 0%,#f7fafc 100%);
}
.choma-portal-app .choma-document-upload > span {
    color:#092f53;
}
.choma-portal-app .choma-document-upload > small {
    color:#6b7c8b;
    font-size:11px;
    font-weight:500;
    letter-spacing:0;
    text-transform:none;
}
.choma-portal-app .choma-document-upload input[type="file"] {
    min-height:48px;
    padding:7px;
    border-style:solid;
    background:#fff;
    cursor:pointer;
}
.choma-portal-app .choma-document-upload input[type="file"]::file-selector-button {
    min-height:32px;
    margin-right:12px;
    padding:0 14px;
    border:0;
    border-radius:6px;
    background:var(--oso-gradient);
    color:#fff;
    font-size:11px;
    font-weight:750;
    letter-spacing:.06em;
    cursor:pointer;
}
.choma-portal-app .choma-document-submit {
    width:100%;
    border:1px solid #0a4bd0;
    border-radius:7px;
    background:var(--oso-gradient);
    color:#fff;
    box-shadow:inset 0 -2px 0 rgba(5,42,132,.42),0 9px 20px rgba(12,90,255,.14);
}
.choma-portal-app .choma-document-submit:hover,
.choma-portal-app .choma-document-submit:focus-visible {
    background:var(--oso-gradient);
    color:#fff;
    box-shadow:inset 0 -2px 0 rgba(5,42,132,.42),0 11px 23px rgba(12,90,255,.22);
    transform:translateY(-1px);
}
.choma-portal-app .choma-document-files {
    display:grid;
    gap:10px;
    padding:16px;
    border:1px solid #d7e1e8;
    border-radius:8px;
    background:#f7fafc;
}
.choma-portal-app .choma-document-files > strong {
    color:#d3163a;
    font-size:11px;
    letter-spacing:.1em;
}
.choma-portal-app .choma-document-files > div {
    display:grid;
    gap:7px;
}
.choma-portal-app .choma-document-files a {
    display:grid;
    grid-template-columns:minmax(0,1fr) auto auto;
    align-items:center;
    gap:12px;
    padding:10px 12px;
    border:1px solid #d9e3e9;
    border-radius:7px;
    background:#fff;
    color:#092f53;
    text-decoration:none;
    transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;
}
.choma-portal-app .choma-document-files a:hover,
.choma-portal-app .choma-document-files a:focus-visible {
    border-color:#89a9c0;
    box-shadow:0 7px 18px rgba(36,66,88,.09);
    transform:translateY(-1px);
}
.choma-portal-app .choma-document-files a span {
    overflow:hidden;
    font-size:13px;
    font-weight:650;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.choma-portal-app .choma-document-files a small {
    color:#728290;
    font-size:11px;
}
.choma-portal-app .choma-document-files a b {
    color:#0b49c8;
    font-size:10px;
    letter-spacing:.06em;
}
.choma-portal-app .choma-document-assistant {
    margin-bottom:24px;
}
.choma-portal-app .choma-document-assistant form.choma-assistant-form {
    margin:0 !important;
    padding:26px !important;
}
.choma-portal-app .choma-document-assistant .choma-assistant-form > strong {
    color:#d3163a !important;
    font-size:12px;
    font-weight:800;
    letter-spacing:.11em;
}
.choma-portal-app .choma-document-database {
    margin-top:0;
}
@media (max-width:620px) {
    .choma-portal-app .choma-document-files a {
        grid-template-columns:minmax(0,1fr) auto;
    }
    .choma-portal-app .choma-document-files a small {
        display:none;
    }
}

/* 1.8.67 — Notatnik w aktualnej stylistyce technicznej OpenSmart One. */
.choma-portal-app .choma-note-editor,
.choma-portal-app .choma-note-library {
    overflow:hidden;
    border:1px solid #d7e1e8;
    border-radius:12px;
    background:#fff;
    box-shadow:0 14px 36px rgba(36,66,88,.07);
}
.choma-portal-app .choma-note-editor > .choma-panel__head,
.choma-portal-app .choma-note-library > .choma-panel__head {
    margin:0;
    padding:24px 28px;
    border-bottom:1px solid #e1e7ec;
    background:linear-gradient(135deg,#fff 0%,#f8fafb 60%,#f1f5f7 100%);
}
.choma-portal-app .choma-note-editor > .choma-panel__head .choma-eyebrow,
.choma-portal-app .choma-note-library > .choma-panel__head .choma-eyebrow {
    color:#d3163a;
    font-size:12px;
    font-weight:800;
    letter-spacing:.11em;
}
.choma-portal-app .choma-note-editor > .choma-panel__head h2,
.choma-portal-app .choma-note-library > .choma-panel__head h2 {
    margin-top:7px;
    color:#102c42;
}
.choma-portal-app .choma-note-editor form.choma-note-composer,
.choma-portal-app .choma-note-editor form.choma-note-edit-form {
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:20px 24px !important;
    width:100% !important;
    margin:0 !important;
    padding:28px !important;
    border:0 !important;
    border-radius:0 !important;
    background:#fff !important;
}
.choma-portal-app .choma-note-editor form.choma-note-composer > label,
.choma-portal-app .choma-note-editor form.choma-note-edit-form > label {
    display:block !important;
    min-width:0;
    color:#092f53 !important;
    font-size:11px !important;
    font-weight:750 !important;
    letter-spacing:.06em !important;
    text-transform:uppercase !important;
}
.choma-portal-app .choma-note-editor form.choma-note-composer > label > small {
    color:#718493;
    font-size:10px;
    font-weight:550;
    letter-spacing:0;
    text-transform:none;
}
.choma-portal-app .choma-note-editor form.choma-note-composer input[type="text"],
.choma-portal-app .choma-note-editor form.choma-note-composer input[type="date"],
.choma-portal-app .choma-note-editor form.choma-note-composer select,
.choma-portal-app .choma-note-editor form.choma-note-composer textarea,
.choma-portal-app .choma-note-editor form.choma-note-edit-form input[type="text"]:not(.choma-datetime-display) {
    width:100% !important;
    min-height:48px !important;
    margin-top:8px !important;
    border:1px solid #c8d8e3 !important;
    border-radius:8px !important;
    outline:0 !important;
    background:#fff !important;
    color:#102f48 !important;
    box-shadow:inset 0 1px 2px rgba(36,66,88,.03) !important;
    font-size:14px !important;
    font-weight:450 !important;
    letter-spacing:0 !important;
    text-transform:none !important;
}
.choma-portal-app .choma-note-editor form.choma-note-composer input[type="text"],
.choma-portal-app .choma-note-editor form.choma-note-composer input[type="date"],
.choma-portal-app .choma-note-editor form.choma-note-composer select,
.choma-portal-app .choma-note-editor form.choma-note-edit-form input[type="text"]:not(.choma-datetime-display) {
    padding:0 14px !important;
}
.choma-portal-app .choma-note-editor form.choma-note-composer textarea {
    min-height:174px !important;
    padding:14px 16px !important;
    line-height:1.55 !important;
    resize:vertical;
}
.choma-portal-app .choma-note-editor form.choma-note-composer input:focus,
.choma-portal-app .choma-note-editor form.choma-note-composer select:focus,
.choma-portal-app .choma-note-editor form.choma-note-composer textarea:focus,
.choma-portal-app .choma-note-editor form.choma-note-edit-form input:focus {
    border-color:#6e9abc !important;
    box-shadow:0 0 0 3px rgba(12,90,255,.08) !important;
}
.choma-portal-app .choma-note-editor .choma-note-content-field,
.choma-portal-app .choma-note-editor form.choma-note-edit-form > label:nth-of-type(2),
.choma-portal-app .choma-note-editor form.choma-note-edit-form > .choma-note-submit {
    grid-column:1 / -1 !important;
}
.choma-portal-app .choma-note-editor .choma-note-content-field button[data-choma-dictation] {
    position:static !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:auto !important;
    min-width:118px !important;
    min-height:36px !important;
    margin:10px 0 0 !important;
    padding:0 14px !important;
    border:1px solid #8da9bd !important;
    border-left:4px solid #d3163a !important;
    border-radius:6px !important;
    background:linear-gradient(135deg,#fff 0%,#f5f8fa 100%) !important;
    color:#0b49c8 !important;
    box-shadow:none !important;
    font-size:10px !important;
    font-weight:800 !important;
    letter-spacing:.08em !important;
    transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease !important;
}
.choma-portal-app .choma-note-editor .choma-note-content-field button[data-choma-dictation]:hover,
.choma-portal-app .choma-note-editor .choma-note-content-field button[data-choma-dictation]:focus-visible {
    border-color:#5d88a8 !important;
    border-left-color:#d3163a !important;
    background:linear-gradient(135deg,#fff 0%,#eef3f6 100%) !important;
    box-shadow:0 7px 17px rgba(36,66,88,.10) !important;
    transform:translateY(-1px) !important;
}
.choma-portal-app .choma-note-editor form.choma-note-composer > label.choma-note-calendar-link {
    grid-column:1 / -1 !important;
    display:grid !important;
    grid-template-columns:18px minmax(0,1fr) 190px !important;
    align-items:center !important;
    gap:11px !important;
    min-height:66px;
    padding:10px 14px !important;
    border:1px solid #d7e1e8;
    border-radius:8px;
    background:linear-gradient(135deg,#fff 0%,#f7fafc 100%);
    letter-spacing:0 !important;
    text-transform:none !important;
}
.choma-portal-app .choma-note-editor .choma-note-calendar-link input[type="checkbox"] {
    appearance:auto !important;
    width:18px !important;
    height:18px !important;
    min-width:18px !important;
    margin:0 !important;
    accent-color:#0b59e6;
}
.choma-portal-app .choma-note-editor .choma-note-calendar-link > span {
    color:#294961 !important;
    font-size:12px !important;
    font-weight:700 !important;
    letter-spacing:0 !important;
    text-transform:none !important;
}
.choma-portal-app .choma-note-editor .choma-note-calendar-link input[type="date"] {
    width:190px !important;
    max-width:100% !important;
    margin:0 !important;
}
.choma-portal-app .choma-note-editor form.choma-note-composer > button.choma-note-submit,
.choma-portal-app .choma-note-editor form.choma-note-edit-form > button.choma-note-submit {
    grid-column:1 / -1 !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:100% !important;
    margin:0 !important;
    padding:0 18px !important;
    border:1px solid transparent !important;
    border-left:4px solid #d3163a !important;
    border-radius:6px !important;
    background:var(--oso-gradient) !important;
    color:#fff !important;
    box-shadow:0 9px 20px rgba(12,90,255,.15) !important;
    font-size:11px !important;
    font-weight:800 !important;
    letter-spacing:.08em !important;
    transition:transform .22s ease,box-shadow .22s ease !important;
}
.choma-portal-app .choma-note-editor form.choma-note-composer > button.choma-note-submit:hover,
.choma-portal-app .choma-note-editor form.choma-note-composer > button.choma-note-submit:focus-visible,
.choma-portal-app .choma-note-editor form.choma-note-edit-form > button.choma-note-submit:hover,
.choma-portal-app .choma-note-editor form.choma-note-edit-form > button.choma-note-submit:focus-visible {
    background:var(--oso-gradient) !important;
    color:#fff !important;
    box-shadow:0 11px 24px rgba(12,90,255,.24) !important;
    transform:translateY(-1px) !important;
}
.choma-portal-app .choma-note-editor form.choma-note-edit-form {
    grid-template-columns:minmax(0,1fr) !important;
}
.choma-portal-app .choma-note-editor form.choma-note-edit-form .choma-rich-editor {
    margin-top:8px;
    overflow:hidden;
    border:1px solid #c8d8e3;
    border-radius:8px;
    background:#fff;
}
.choma-portal-app .choma-note-library {
    margin-top:24px;
}
.choma-portal-app .choma-note-list {
    display:grid;
    gap:9px;
    padding:20px 24px 24px;
}
.choma-portal-app .choma-note-list > a {
    position:relative;
    display:grid;
    grid-template-columns:110px minmax(0,1fr) auto;
    align-items:center;
    gap:18px;
    min-height:62px;
    padding:13px 17px 13px 20px;
    overflow:hidden;
    border:1px solid #dbe4ea;
    border-radius:9px;
    background:#fff;
    color:#102f48;
    text-decoration:none;
    box-shadow:0 4px 12px rgba(36,66,88,.035);
    transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease,background .22s ease;
}
.choma-portal-app .choma-note-list > a::before {
    content:"";
    position:absolute;
    inset:0 auto 0 0;
    width:4px;
    background:var(--oso-gradient);
}
.choma-portal-app .choma-note-list > a:hover,
.choma-portal-app .choma-note-list > a:focus-visible {
    border-color:#9bb4c6;
    background:linear-gradient(135deg,#fff 0%,#f9fbfc 58%,#f1f5f7 100%);
    box-shadow:0 8px 22px rgba(36,66,88,.10);
    transform:translateY(-1px);
}
.choma-portal-app .choma-note-list > a > span {
    color:#d3163a;
    font-size:10px;
    font-weight:800;
    letter-spacing:.09em;
}
.choma-portal-app .choma-note-list > a > strong {
    overflow:hidden;
    color:#102f48;
    font-size:14px;
    font-weight:700;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.choma-portal-app .choma-note-list > a > time {
    color:#718493;
    font-size:11px;
    white-space:nowrap;
}
@media (max-width:760px) {
    .choma-portal-app .choma-note-editor > .choma-panel__head,
    .choma-portal-app .choma-note-library > .choma-panel__head {
        padding:20px 18px;
    }
    .choma-portal-app .choma-note-editor form.choma-note-composer,
    .choma-portal-app .choma-note-editor form.choma-note-edit-form {
        grid-template-columns:minmax(0,1fr) !important;
        padding:20px 18px !important;
    }
    .choma-portal-app .choma-note-editor form.choma-note-composer > label.choma-note-calendar-link {
        grid-template-columns:18px minmax(0,1fr) !important;
    }
    .choma-portal-app .choma-note-editor .choma-note-calendar-link input[type="date"] {
        grid-column:2;
        width:100% !important;
    }
    .choma-portal-app .choma-note-list {
        padding:16px;
    }
    .choma-portal-app .choma-note-list > a {
        grid-template-columns:minmax(0,1fr) auto;
        gap:6px 12px;
    }
    .choma-portal-app .choma-note-list > a > span {
        grid-column:1 / -1;
    }
}

/* Kaskadowa blokada wyboru wariantu po globalnym ujednoliceniu wysokości przycisków. */
.choma-portal-app.choma-view-settings .choma-main button.choma-theme-choice {
    display:grid !important;
    width:100% !important;
    height:63px !important;
    min-height:63px !important;
    max-height:63px !important;
    grid-template-columns:37px minmax(0,1fr) !important;
    grid-template-rows:auto auto !important;
    align-items:center !important;
    align-content:center !important;
    justify-content:stretch !important;
    gap:3px 12px !important;
    padding:8px 15px !important;
    border-radius:14px !important;
    line-height:normal !important;
    text-align:left !important;
}
.choma-portal-app.choma-view-settings .choma-main button.choma-theme-choice .choma-theme-swatch {
    grid-row:1 / 3 !important;
}
@media (max-width:430px) {
    .choma-portal-app.choma-view-settings .choma-main button.choma-theme-choice {
        min-height:67px !important;
        height:67px !important;
        max-height:67px !important;
        grid-template-columns:41px minmax(0,1fr) !important;
        padding:4px 12px !important;
    }
}

/* 1.8.69 — jeden system wizualny dla Biura, Poczty, Kalendarza, Dokumentów i Notatnika. */
.choma-portal-app:is(.choma-view-dashboard,.choma-view-mail,.choma-view-message,.choma-view-calendar,.choma-view-documents,.choma-view-notes) .choma-module-head {
    position:relative;
    min-height:112px;
    align-items:flex-end;
    margin-bottom:24px;
    padding:0 4px 21px;
    border-bottom:1px solid #dce5eb;
}
.choma-portal-app:is(.choma-view-dashboard,.choma-view-mail,.choma-view-message,.choma-view-calendar,.choma-view-documents,.choma-view-notes) .choma-module-head::after {
    position:absolute;
    right:0;
    bottom:-1px;
    left:0;
    height:2px;
    border-radius:999px;
    background:linear-gradient(90deg,#d3163a 0 76px,rgba(11,73,200,.16) 76px 100%);
    content:"";
}
.choma-portal-app:is(.choma-view-dashboard,.choma-view-mail,.choma-view-message,.choma-view-calendar,.choma-view-documents,.choma-view-notes) .choma-module-head .choma-eyebrow {
    margin-bottom:10px;
    color:#d3163a;
    font-size:12px;
    font-weight:800;
    letter-spacing:.12em;
}
.choma-portal-app:is(.choma-view-dashboard,.choma-view-mail,.choma-view-message,.choma-view-calendar,.choma-view-documents,.choma-view-notes) .choma-module-head h1 {
    color:#102c42;
}
.choma-portal-app:is(.choma-view-dashboard,.choma-view-mail,.choma-view-message,.choma-view-calendar,.choma-view-documents,.choma-view-notes) .choma-module-head p {
    max-width:780px;
    color:#667b8c;
}

/* Biuro. */
.choma-portal-app.choma-view-dashboard .choma-dashboard-head > .choma-btn {
    border:1px solid #8da9bd;
    border-left:4px solid #d3163a;
    border-radius:7px;
    background:linear-gradient(135deg,#fff 0%,#f5f8fa 100%);
    color:#0b49c8;
}
@media (min-width:783px){.choma-portal-app.choma-view-dashboard .choma-dashboard-head > .choma-btn{min-height:38px}}
.choma-portal-app.choma-view-dashboard .choma-dashboard-head > .choma-btn:hover,
.choma-portal-app.choma-view-dashboard .choma-dashboard-head > .choma-btn:focus-visible {
    border-color:#668eaa;
    border-left-color:#d3163a;
    background:var(--oso-pearl-gradient);
    color:#0839b9;
    box-shadow:0 8px 18px rgba(36,66,88,.10);
    transform:translateY(-1px);
}
.choma-portal-app.choma-view-dashboard .choma-metrics {
    gap:13px;
    margin-bottom:22px;
}
.choma-portal-app.choma-view-dashboard .choma-metric {
    min-height:108px;
    overflow:hidden;
    border:1px solid var(--oso-card-border);
    border-radius:10px;
    background:#fff;
    box-shadow:0 7px 20px rgba(36,66,88,.05);
    transition:border-color .22s ease,box-shadow .22s ease,transform .22s ease;
}
.choma-portal-app.choma-view-dashboard .choma-metric::before {
    top:auto;
    right:0;
    bottom:0;
    left:0;
    width:auto;
    height:3px;
    background:var(--oso-gradient);
}
.choma-portal-app.choma-view-dashboard .choma-metric:hover,
.choma-portal-app.choma-view-dashboard .choma-metric:focus-visible {
    border-color:#9bb4c6;
    background:var(--oso-pearl-gradient);
    box-shadow:0 10px 25px rgba(36,66,88,.11);
    transform:translateY(-1px);
}
.choma-portal-app.choma-view-dashboard .choma-metric > span {
    color:#0b49c8;
    font-size:32px;
    font-weight:650;
}
.choma-portal-app.choma-view-dashboard .choma-metric--red > span,
.choma-portal-app.choma-view-dashboard .choma-metric .is-overdue {
    color:#d3163a;
}
.choma-portal-app.choma-view-dashboard .choma-center-glance {
    gap:13px;
    margin-bottom:22px;
}
.choma-portal-app.choma-view-dashboard .choma-center-glance-card {
    position:relative;
    min-height:92px;
    overflow:hidden;
    border:1px solid var(--oso-card-border);
    border-radius:10px;
    background:#fff;
    box-shadow:0 7px 20px rgba(36,66,88,.05);
    transition:border-color .22s ease,box-shadow .22s ease,transform .22s ease,background .22s ease;
}
.choma-portal-app.choma-view-dashboard .choma-center-glance-card::before {
    position:absolute;
    inset:0 auto 0 0;
    width:4px;
    background:var(--oso-gradient);
    content:"";
}
.choma-portal-app.choma-view-dashboard .choma-center-glance-card:hover,
.choma-portal-app.choma-view-dashboard .choma-center-glance-card:focus-visible {
    border-color:#9bb4c6;
    background:var(--oso-pearl-gradient);
    box-shadow:0 10px 25px rgba(36,66,88,.11);
    transform:translateY(-1px);
}
.choma-portal-app.choma-view-dashboard .choma-center-glance-card > span {
    color:#0b49c8;
    font-weight:650;
}
.choma-portal-app.choma-view-dashboard :is(.choma-panel--tasks,.choma-panel--pipeline,.choma-panel--latest) {
    overflow:hidden;
    border:1px solid var(--oso-card-border);
    border-radius:12px;
    background:#fff;
    box-shadow:var(--oso-card-shadow);
}
.choma-portal-app.choma-view-dashboard :is(.choma-panel--tasks,.choma-panel--pipeline,.choma-panel--latest) > .choma-panel__head {
    margin:0;
    padding:23px 27px;
    border-bottom:1px solid #e1e7ec;
    background:var(--oso-pearl-gradient);
}
.choma-portal-app.choma-view-dashboard :is(.choma-panel--tasks,.choma-panel--pipeline,.choma-panel--latest) > .choma-panel__head .choma-eyebrow {
    color:#d3163a;
    font-size:11px;
    letter-spacing:.11em;
}
.choma-portal-app.choma-view-dashboard :is(.choma-panel--tasks,.choma-panel--pipeline,.choma-panel--latest) > .choma-panel__head h2 {
    margin-top:6px;
    color:#102c42;
}
.choma-portal-app.choma-view-dashboard .choma-task-list a {
    border-bottom:1px solid #e6ecef;
    background:#fff;
    transition:background .2s ease,box-shadow .2s ease,transform .2s ease;
}
.choma-portal-app.choma-view-dashboard .choma-task-list a:hover,
.choma-portal-app.choma-view-dashboard .choma-task-list a:focus-visible {
    background:var(--oso-pearl-gradient);
    box-shadow:inset 4px 0 #0b59e6;
    transform:translateY(-1px);
}
.choma-portal-app.choma-view-dashboard .choma-pipeline a {
    margin:3px 0;
    padding:10px 11px;
    border-radius:8px;
    transition:background .2s ease,transform .2s ease;
}
.choma-portal-app.choma-view-dashboard .choma-pipeline a:hover,
.choma-portal-app.choma-view-dashboard .choma-pipeline a:focus-visible {
    background:var(--oso-pearl-gradient);
    transform:translateY(-1px);
}
.choma-portal-app.choma-view-dashboard .choma-pipeline a > i b {
    background:var(--oso-gradient);
}
.choma-portal-app.choma-view-dashboard .choma-portal-table th {
    background:var(--oso-pearl-gradient);
    color:#5f7484;
}
.choma-portal-app.choma-view-dashboard .choma-portal-table tbody tr:hover {
    background:var(--oso-pearl-gradient);
    box-shadow:inset 4px 0 #0b59e6;
}

/* Poczta i pojedyncza wiadomość. */
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-tabs {
    display:flex;
    gap:8px;
    margin:0 0 14px;
    padding:9px;
    overflow-x:auto;
    border:1px solid var(--oso-card-border);
    border-radius:11px;
    background:#fff;
    box-shadow:0 7px 20px rgba(36,66,88,.05);
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-tabs > a {
    min-height:38px;
    padding:0 14px;
    border:1px solid #d3dfe7;
    border-radius:8px;
    background:#fff;
    color:#516a7c;
    transition:border-color .22s ease,background .22s ease,color .22s ease,box-shadow .22s ease,transform .22s ease;
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-tabs > a:hover,
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-tabs > a:focus-visible {
    border-color:#91aec2;
    background:var(--oso-pearl-gradient);
    color:#0b49c8;
    box-shadow:0 7px 17px rgba(36,66,88,.09);
    transform:translateY(-1px);
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-tabs > a.is-active {
    border-color:#0a4bd0;
    border-left:4px solid #d3163a;
    background:var(--oso-gradient);
    color:#fff;
    box-shadow:0 7px 17px rgba(12,90,255,.16);
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-folder-tabs {
    margin:0 0 18px !important;
    padding:8px !important;
    overflow-x:auto !important;
    border:1px solid var(--oso-card-border) !important;
    border-radius:10px !important;
    background:#fff !important;
    box-shadow:0 7px 20px rgba(36,66,88,.045) !important;
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-folder-tabs > a {
    border-radius:7px !important;
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-screen,
.choma-portal-app.choma-view-message .choma-message {
    overflow:hidden;
    padding:0 !important;
    border:1px solid var(--oso-card-border);
    border-radius:12px;
    background:#fff;
    box-shadow:var(--oso-card-shadow);
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-screen > .choma-mail-screen__head,
.choma-portal-app.choma-view-message .choma-message > .choma-panel__head {
    align-items:flex-start !important;
    margin:0;
    padding:23px 27px !important;
    border-bottom:1px solid #e1e7ec;
    background:var(--oso-pearl-gradient);
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-screen__head .choma-eyebrow,
.choma-portal-app.choma-view-message .choma-message > .choma-panel__head .choma-eyebrow {
    color:#d3163a;
    font-size:11px;
    letter-spacing:.11em;
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-screen__head h2,
.choma-portal-app.choma-view-message .choma-message > .choma-panel__head h2 {
    margin-top:6px;
    color:#102c42;
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-screen > .choma-mail-list {
    display:grid;
    gap:8px;
    padding:18px 22px 22px;
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-screen > .choma-mail-list > a {
    position:relative;
    min-height:58px;
    padding:12px 16px 12px 19px !important;
    overflow:hidden;
    border:1px solid #dbe4ea;
    border-radius:8px;
    background:#fff;
    box-shadow:0 3px 10px rgba(36,66,88,.025);
    transition:border-color .22s ease,background .22s ease,box-shadow .22s ease,transform .22s ease;
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-screen > .choma-mail-list > a::before {
    position:absolute;
    inset:0 auto 0 0;
    width:4px;
    background:var(--oso-gradient);
    content:"";
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-screen > .choma-mail-list > a:hover,
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-screen > .choma-mail-list > a:focus-visible {
    border-color:#9bb4c6;
    background:var(--oso-pearl-gradient) !important;
    box-shadow:0 8px 22px rgba(36,66,88,.10);
    transform:translateY(-1px);
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-screen .choma-mail-compose-form {
    margin:0;
    padding:27px !important;
    background:#fff;
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-screen .choma-mail-compose-form :is(input,select,textarea) {
    border-color:var(--oso-control-border) !important;
    border-radius:8px !important;
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-screen .choma-mail-compose-form__assistant {
    border:1px solid #d4e0e8 !important;
    border-radius:10px !important;
    background:var(--oso-pearl-gradient) !important;
}
.choma-portal-app.choma-view-message .choma-message__body {
    max-width:none;
    padding:28px 30px;
}
.choma-portal-app.choma-view-message .choma-message__attachments {
    padding:15px 17px;
    border:1px solid #d7e1e8;
    border-radius:8px;
    background:var(--oso-pearl-gradient);
}

/* Kalendarz. */
.choma-portal-app.choma-view-calendar .choma-calendar-summary {
    gap:13px;
    margin-bottom:22px;
}
.choma-portal-app.choma-view-calendar .choma-calendar-summary article {
    position:relative;
    min-height:92px;
    padding:18px 20px 19px;
    overflow:hidden;
    border:1px solid var(--oso-card-border) !important;
    border-radius:10px;
    background:#fff;
    box-shadow:0 7px 20px rgba(36,66,88,.05) !important;
}
.choma-portal-app.choma-view-calendar .choma-calendar-summary article::after {
    position:absolute;
    right:0;
    bottom:0;
    left:0;
    height:3px;
    border-radius:999px 999px 0 0;
    background:var(--oso-gradient);
    content:"";
}
.choma-portal-app.choma-view-calendar .choma-calendar-summary article strong {
    color:#0b49c8 !important;
    font-weight:650;
}
.choma-portal-app.choma-view-calendar .choma-calendar-summary article span {
    color:#667b8c;
}
.choma-portal-app.choma-view-calendar :is(.choma-calendar-shell,.choma-calendar-create,.choma-calendar-voice-note) {
    overflow:hidden;
    border:1px solid var(--oso-card-border);
    border-radius:12px;
    background:#fff;
    box-shadow:var(--oso-card-shadow);
}
.choma-portal-app.choma-view-calendar .choma-calendar-shell {
    padding:0;
}
.choma-portal-app.choma-view-calendar .choma-calendar-toolbar {
    margin:0;
    padding:23px 27px;
    border-bottom:1px solid #e1e7ec;
    background:var(--oso-pearl-gradient);
}
.choma-portal-app.choma-view-calendar .choma-calendar-toolbar .choma-eyebrow,
.choma-portal-app.choma-view-calendar .choma-calendar-day-events .choma-eyebrow,
.choma-portal-app.choma-view-calendar :is(.choma-calendar-create,.choma-calendar-voice-note) > .choma-panel__head .choma-eyebrow {
    color:#d3163a !important;
    font-size:11px;
    letter-spacing:.11em;
}
.choma-portal-app.choma-view-calendar .choma-calendar-months {
    gap:16px;
    padding:24px 27px 0;
}
.choma-portal-app.choma-view-calendar .choma-calendar-month {
    border:1px solid #d9e3e9;
    border-radius:10px;
    background:#fff;
    box-shadow:0 5px 15px rgba(36,66,88,.035);
}
.choma-portal-app.choma-view-calendar .choma-calendar-month.is-center {
    border-color:#8caac0;
    box-shadow:0 0 0 2px rgba(12,90,255,.06),0 7px 20px rgba(36,66,88,.06);
}
.choma-portal-app.choma-view-calendar .choma-calendar-day-events {
    margin:24px 27px 0;
    padding:24px 0 27px;
}
.choma-portal-app.choma-view-calendar .choma-calendar-event-list article {
    border:1px solid #dbe4ea;
    border-left:4px solid #c8a550;
    border-radius:8px;
    background:#fff;
    box-shadow:0 4px 12px rgba(36,66,88,.035);
}
.choma-portal-app.choma-view-calendar .choma-calendar-event-list article:hover,
.choma-portal-app.choma-view-calendar .choma-calendar-event-list article:focus-within {
    border-color:#9bb4c6;
    border-left-color:#c8a550;
    background:var(--oso-pearl-gradient);
    box-shadow:0 8px 22px rgba(36,66,88,.10);
    transform:translateY(-1px);
}
.choma-portal-app.choma-view-calendar :is(.choma-calendar-create,.choma-calendar-voice-note) > .choma-panel__head {
    margin:0;
    padding:23px 27px;
    border-bottom:1px solid #e1e7ec;
    background:var(--oso-pearl-gradient);
}
.choma-portal-app.choma-view-calendar :is(.choma-calendar-create,.choma-calendar-voice-note) > .choma-panel__head h2 {
    margin-top:6px;
    color:#102c42;
}
.choma-portal-app.choma-view-calendar .choma-calendar-create > form:not(.choma-calendar-assistant),
.choma-portal-app.choma-view-calendar .choma-calendar-voice-note > form {
    padding:27px !important;
}
.choma-portal-app.choma-view-calendar .choma-calendar-assistant {
    margin:0 27px 27px !important;
    border:1px solid #d4e0e8 !important;
    border-radius:10px !important;
    background:var(--oso-pearl-gradient) !important;
}

/* Dokumenty. */
.choma-portal-app.choma-view-documents :is(.choma-document-editor,.choma-document-assistant,.choma-document-database) {
    overflow:hidden;
    border:1px solid var(--oso-card-border);
    border-radius:12px;
    background:#fff;
    box-shadow:var(--oso-card-shadow);
}
.choma-portal-app.choma-view-documents :is(.choma-document-editor,.choma-document-database) > .choma-panel__head {
    margin:0;
    padding:23px 27px;
    border-bottom:1px solid #e1e7ec;
    background:var(--oso-pearl-gradient);
}
.choma-portal-app.choma-view-documents :is(.choma-document-editor,.choma-document-database) > .choma-panel__head .choma-eyebrow,
.choma-portal-app.choma-view-documents .choma-document-assistant__head > strong {
    color:#d3163a;
    font-size:11px;
    letter-spacing:.11em;
}
.choma-portal-app.choma-view-documents :is(.choma-document-editor,.choma-document-database) > .choma-panel__head h2 {
    margin-top:6px;
    color:#102c42;
}
.choma-portal-app.choma-view-documents .choma-document-editor > form {
    display:grid;
    gap:18px;
    margin:0;
    padding:27px;
}
.choma-portal-app.choma-view-documents .choma-document-editor > form > label:not(.choma-document-upload) {
    display:grid;
    gap:8px;
    color:#092f53;
    font-size:11px;
    font-weight:780;
    letter-spacing:.06em;
    text-transform:uppercase;
}
.choma-portal-app.choma-view-documents .choma-document-editor input[type="text"] {
    width:100%;
    min-height:48px;
    padding:0 14px;
    border:1px solid var(--oso-control-border);
    border-radius:8px;
    outline:0;
    background:#fff;
    color:#102f48;
    font-size:14px;
    font-weight:450;
    letter-spacing:0;
    text-transform:none;
}
.choma-portal-app.choma-view-documents .choma-document-editor input[type="text"]:focus {
    border-color:#6e9abc;
    box-shadow:0 0 0 3px rgba(12,90,255,.08);
}
.choma-portal-app.choma-view-documents .choma-document-submit {
    border-left:4px solid #d3163a;
}
.choma-portal-app.choma-view-documents .choma-document-assistant {
    margin-top:24px;
    margin-bottom:24px;
}
.choma-portal-app.choma-view-documents .choma-document-assistant form.choma-document-assistant__form {
    padding:27px !important;
    background:var(--oso-pearl-gradient) !important;
}
.choma-portal-app.choma-view-documents .choma-document-assistant__controls :is(textarea,select) {
    border-color:var(--oso-control-border);
    border-radius:8px;
}
.choma-portal-app.choma-view-documents .choma-document-database > .choma-mail-list {
    display:grid;
    gap:8px;
    padding:18px 22px 22px;
}
.choma-portal-app.choma-view-documents .choma-document-database > .choma-mail-list > a {
    position:relative;
    min-height:58px;
    padding:12px 16px 12px 19px;
    overflow:hidden;
    border:1px solid #dbe4ea;
    border-radius:8px;
    background:#fff;
    box-shadow:0 3px 10px rgba(36,66,88,.025);
    transition:border-color .22s ease,background .22s ease,box-shadow .22s ease,transform .22s ease;
}
.choma-portal-app.choma-view-documents .choma-document-database > .choma-mail-list > a::before {
    position:absolute;
    inset:0 auto 0 0;
    width:4px;
    background:var(--oso-gradient);
    content:"";
}
.choma-portal-app.choma-view-documents .choma-document-database > .choma-mail-list > a:hover,
.choma-portal-app.choma-view-documents .choma-document-database > .choma-mail-list > a:focus-visible {
    border-color:#9bb4c6;
    background:var(--oso-pearl-gradient);
    box-shadow:0 8px 22px rgba(36,66,88,.10);
    transform:translateY(-1px);
}

/* Notatnik — zachowuje dotychczasowy układ, ale dzieli nagłówek i rytm z resztą panelu. */
.choma-portal-app.choma-view-notes :is(.choma-note-editor,.choma-note-library) {
    border-color:var(--oso-card-border);
    box-shadow:var(--oso-card-shadow);
}
.choma-portal-app.choma-view-notes :is(.choma-note-editor,.choma-note-library) > .choma-panel__head {
    padding:23px 27px;
    background:var(--oso-pearl-gradient);
}

@media (max-width:1000px) {
    .choma-portal-app.choma-view-dashboard .choma-metrics {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .choma-portal-app.choma-view-dashboard .choma-center-glance--tools {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}
@media (max-width:760px) {
    .choma-portal-app:is(.choma-view-dashboard,.choma-view-mail,.choma-view-message,.choma-view-calendar,.choma-view-documents,.choma-view-notes) .choma-module-head {
        min-height:0;
        align-items:flex-start;
        flex-direction:column;
        padding:0 0 18px;
    }
    .choma-portal-app:is(.choma-view-dashboard,.choma-view-mail,.choma-view-calendar,.choma-view-documents) .choma-module-head :is(.choma-btn,.choma-document-quick-upload,.choma-document-import-button) {
        width:100%;
    }
    .choma-portal-app.choma-view-dashboard .choma-center-glance,
    .choma-portal-app.choma-view-dashboard .choma-center-glance--tools {
        grid-template-columns:1fr;
    }
    .choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-screen > .choma-mail-screen__head,
    .choma-portal-app.choma-view-message .choma-message > .choma-panel__head,
    .choma-portal-app.choma-view-calendar .choma-calendar-toolbar,
    .choma-portal-app.choma-view-calendar :is(.choma-calendar-create,.choma-calendar-voice-note) > .choma-panel__head,
    .choma-portal-app.choma-view-documents :is(.choma-document-editor,.choma-document-database) > .choma-panel__head,
    .choma-portal-app.choma-view-notes :is(.choma-note-editor,.choma-note-library) > .choma-panel__head {
        padding:20px 18px !important;
    }
    .choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-screen > .choma-mail-list,
    .choma-portal-app.choma-view-documents .choma-document-database > .choma-mail-list {
        padding:16px;
    }
    .choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-screen .choma-mail-compose-form,
    .choma-portal-app.choma-view-calendar .choma-calendar-create > form:not(.choma-calendar-assistant),
    .choma-portal-app.choma-view-calendar .choma-calendar-voice-note > form,
    .choma-portal-app.choma-view-documents .choma-document-editor > form,
    .choma-portal-app.choma-view-documents .choma-document-assistant form.choma-document-assistant__form {
        padding:20px 18px !important;
    }
    .choma-portal-app.choma-view-calendar .choma-calendar-months {
        padding:20px 18px 0;
    }
    .choma-portal-app.choma-view-calendar .choma-calendar-day-events {
        margin:20px 18px 0;
        padding-bottom:20px;
    }
    .choma-portal-app.choma-view-calendar .choma-calendar-assistant {
        margin:0 18px 20px !important;
    }
}
@media (max-width:520px) {
    .choma-portal-app.choma-view-dashboard .choma-metrics {
        grid-template-columns:1fr;
    }
    .choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-tabs {
        border-radius:9px;
    }
    .choma-portal-app.choma-view-calendar .choma-calendar-summary {
        grid-template-columns:1fr;
    }
}

/* Pierwszy kafel Kalendarza podlega tej samej geometrii co pozostałe podsumowania. */
.choma-portal-app.choma-view-calendar .choma-calendar-summary article:first-child {
    border:1px solid var(--oso-card-border) !important;
    border-radius:10px !important;
    background:#fff !important;
    box-shadow:0 7px 20px rgba(36,66,88,.05) !important;
}
.choma-portal-app.choma-view-calendar .choma-calendar-summary article:first-child::after {
    display:block !important;
    right:0 !important;
    bottom:0 !important;
    left:0 !important;
    height:3px !important;
    border-radius:999px 999px 0 0 !important;
    background:var(--oso-gradient) !important;
    content:"" !important;
}

/* 1.8.70 — identyczny przycisk dyktowania we wszystkich modułach Centrum. */
body.choma-portal-app[class*="choma-view-"] .choma-main .choma-dictation-field button[data-choma-dictation] {
    display:inline-flex !important;
    width:max-content !important;
    min-width:146px !important;
    height:46px !important;
    min-height:46px !important;
    max-height:46px !important;
    align-items:center !important;
    justify-content:center !important;
    gap:10px !important;
    padding:0 18px 0 15px !important;
    border:1px solid #86a8c0 !important;
    border-left:5px solid #d3163a !important;
    border-radius:7px !important;
    background:linear-gradient(135deg,#fff 0%,#f7f9fb 100%) !important;
    color:#0b49c8 !important;
    box-shadow:none !important;
    font-size:12px !important;
    font-weight:820 !important;
    letter-spacing:.09em !important;
    line-height:1 !important;
    text-transform:uppercase !important;
    cursor:pointer !important;
    transition:border-color .22s ease,background .22s ease,color .22s ease,box-shadow .22s ease,transform .22s ease !important;
}
body.choma-portal-app[class*="choma-view-"] .choma-main .choma-dictation-field button[data-choma-dictation]::before {
    display:block !important;
    width:14px !important;
    height:16px !important;
    flex:0 0 14px !important;
    background:currentColor !important;
    content:"" !important;
    -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 14a3 3 0 0 0 3-3V5a3 3 0 0 0-6 0v6a3 3 0 0 0 3 3Zm5-3a5 5 0 0 1-10 0H5a7 7 0 0 0 6 6.92V21H8v2h8v-2h-3v-3.08A7 7 0 0 0 19 11h-2Z'/%3E%3C/svg%3E") center / contain no-repeat !important;
    mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 14a3 3 0 0 0 3-3V5a3 3 0 0 0-6 0v6a3 3 0 0 0 3 3Zm5-3a5 5 0 0 1-10 0H5a7 7 0 0 0 6 6.92V21H8v2h8v-2h-3v-3.08A7 7 0 0 0 19 11h-2Z'/%3E%3C/svg%3E") center / contain no-repeat !important;
}
body.choma-portal-app[class*="choma-view-"] .choma-main .choma-dictation-field button[data-choma-dictation]:hover,
body.choma-portal-app[class*="choma-view-"] .choma-main .choma-dictation-field button[data-choma-dictation]:focus-visible {
    border-color:#5f8baa !important;
    border-left-color:#d3163a !important;
    background:var(--oso-pearl-gradient) !important;
    color:#0839b9 !important;
    box-shadow:0 8px 18px rgba(36,66,88,.11) !important;
    transform:translateY(-1px) !important;
}
body.choma-portal-app[class*="choma-view-"] .choma-main .choma-dictation-field button[data-choma-dictation].is-listening {
    border-color:#d3163a !important;
    border-left-color:#d3163a !important;
    background:linear-gradient(135deg,#fff 0%,#fff2f5 100%) !important;
    color:#d3163a !important;
    box-shadow:0 0 0 3px rgba(211,22,58,.08) !important;
}
body.choma-portal-app[class*="choma-view-"] .choma-main .choma-dictation-field button[data-choma-dictation]:disabled {
    cursor:wait !important;
    opacity:.66 !important;
}
.choma-portal-app .choma-mail-screen .choma-mail-compose-form__assistant-controls > .choma-dictation-field,
.choma-portal-app .choma-calendar-assistant__controls > .choma-dictation-field {
    padding-bottom:56px !important;
}
.choma-portal-app .choma-mail-screen .choma-mail-compose-form__assistant-controls > .choma-dictation-field button[data-choma-dictation],
.choma-portal-app .choma-calendar-assistant__controls > .choma-dictation-field button[data-choma-dictation] {
    bottom:0 !important;
    left:0 !important;
    margin:0 !important;
}
@media (max-width:620px) {
    body.choma-portal-app[class*="choma-view-"] .choma-main .choma-dictation-field button[data-choma-dictation] {
        width:max-content !important;
        min-width:146px !important;
        border:1px solid #86a8c0 !important;
        border-left:5px solid #d3163a !important;
    }
}

/* 1.8.71 — wspólne akcenty przycisków, list oraz załączniki poczty. */
.choma-portal-app :is(.choma-calendar-submit,.choma-document-submit,.choma-note-submit) {
    box-sizing:border-box !important;
    display:flex !important;
    width:100% !important;
    block-size:34px !important;
    min-block-size:34px !important;
    max-block-size:34px !important;
    height:34px !important;
    min-height:34px !important;
    max-height:34px !important;
    align-items:center !important;
    justify-content:center !important;
    padding-top:0 !important;
    padding-bottom:0 !important;
    border:1px solid #0a4bd0 !important;
    border-left:5px solid #d3163a !important;
    border-radius:7px !important;
    background:var(--oso-gradient) !important;
    color:#fff !important;
    box-shadow:0 6px 16px rgba(12,90,255,.14) !important;
    font-family:Geist,Arial,sans-serif !important;
    font-size:14px !important;
    font-weight:800 !important;
    letter-spacing:.08em !important;
    line-height:1 !important;
}
.choma-portal-app :is(.choma-calendar-submit,.choma-document-submit,.choma-note-submit):hover,
.choma-portal-app :is(.choma-calendar-submit,.choma-document-submit,.choma-note-submit):focus-visible {
    border-color:#083fba !important;
    border-left-color:#d3163a !important;
    background:linear-gradient(135deg,#163b65 0%,#075df0 100%) !important;
    color:#fff !important;
    box-shadow:0 9px 21px rgba(12,90,255,.20) !important;
    transform:translateY(-1px) !important;
}

.choma-portal-app.choma-view-calendar .choma-calendar-event-list article,
.choma-portal-app.choma-view-calendar .choma-calendar-event-list article:hover,
.choma-portal-app.choma-view-calendar .choma-calendar-event-list article:focus-within,
.choma-portal-app.choma-view-calendar .choma-calendar-event-list article.is-editing {
    border-left-color:#0b59e6 !important;
}

.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-tabs > a,
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-tabs > a:hover,
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-tabs > a:focus-visible,
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-tabs > a.is-active {
    border-left:5px solid #d3163a !important;
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-compose-form > .choma-btn--primary {
    min-width:150px !important;
    min-height:44px !important;
    border:1px solid #0a4bd0 !important;
    border-left:5px solid #d3163a !important;
    border-radius:7px !important;
    background:var(--oso-gradient) !important;
    color:#fff !important;
    box-shadow:0 6px 16px rgba(12,90,255,.14) !important;
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-compose-form > .choma-btn--primary:hover,
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-compose-form > .choma-btn--primary:focus-visible {
    border-color:#083fba !important;
    border-left-color:#d3163a !important;
    background:linear-gradient(135deg,#163b65 0%,#075df0 100%) !important;
    color:#fff !important;
    box-shadow:0 9px 21px rgba(12,90,255,.20) !important;
    transform:translateY(-1px) !important;
}
.choma-portal-app .choma-mail-attachment-upload {
    position:relative;
    display:flex !important;
    align-items:center;
    gap:13px !important;
    width:max-content;
    max-width:100%;
    color:inherit !important;
    font-size:inherit !important;
    font-weight:inherit !important;
    letter-spacing:normal !important;
    text-transform:none !important;
    cursor:pointer;
}
.choma-portal-app .choma-mail-attachment-upload__button {
    display:inline-flex;
    min-height:44px;
    align-items:center;
    justify-content:center;
    padding:0 18px;
    border:1px solid #0a4bd0;
    border-left:5px solid #d3163a;
    border-radius:7px;
    background:var(--oso-gradient);
    color:#fff;
    box-shadow:0 6px 16px rgba(12,90,255,.14);
    font-size:12px;
    font-weight:820;
    letter-spacing:.08em;
    line-height:1;
    text-transform:uppercase;
    transition:border-color .22s ease,background .22s ease,box-shadow .22s ease,transform .22s ease;
}
.choma-portal-app .choma-mail-attachment-upload:hover .choma-mail-attachment-upload__button,
.choma-portal-app .choma-mail-attachment-upload:focus-within .choma-mail-attachment-upload__button {
    border-color:#083fba;
    border-left-color:#d3163a;
    background:linear-gradient(135deg,#163b65 0%,#075df0 100%);
    box-shadow:0 9px 21px rgba(12,90,255,.20);
    transform:translateY(-1px);
}
.choma-portal-app .choma-mail-attachment-upload > small {
    color:#617789;
    font-size:12px;
    font-weight:520;
    line-height:1.4;
}
.choma-portal-app .choma-mail-attachment-upload > small.is-error {
    color:#b81734;
    font-weight:700;
}
.choma-portal-app .choma-mail-attachment-upload > input[type="file"] {
    position:absolute !important;
    width:1px !important;
    height:1px !important;
    margin:-1px !important;
    padding:0 !important;
    overflow:hidden !important;
    clip:rect(0 0 0 0) !important;
    white-space:nowrap !important;
}

.choma-portal-app.choma-view-dashboard :is(.choma-metric > span,.choma-center-glance-card > span,.choma-pipeline a > strong) {
    color:#252b31 !important;
}
.choma-portal-app.choma-view-dashboard .choma-panel--latest > .choma-panel__head > a {
    display:inline-flex;
    min-height:40px;
    align-items:center;
    justify-content:center;
    padding:0 16px;
    border:1px solid #0a4bd0;
    border-left:5px solid #d3163a;
    border-radius:7px;
    background:var(--oso-gradient);
    color:#fff;
    box-shadow:0 6px 16px rgba(12,90,255,.14);
    font-size:11px;
    font-weight:820;
    letter-spacing:.07em;
    text-transform:uppercase;
    transition:border-color .22s ease,background .22s ease,box-shadow .22s ease,transform .22s ease;
}
.choma-portal-app.choma-view-dashboard .choma-panel--latest > .choma-panel__head > a:hover,
.choma-portal-app.choma-view-dashboard .choma-panel--latest > .choma-panel__head > a:focus-visible {
    border-color:#083fba;
    border-left-color:#d3163a;
    background:linear-gradient(135deg,#163b65 0%,#075df0 100%);
    color:#fff;
    box-shadow:0 9px 21px rgba(12,90,255,.20);
    transform:translateY(-1px);
}
.choma-portal-app.choma-view-dashboard .choma-panel--latest .choma-portal-table tbody tr > td:first-child,
.choma-portal-app.choma-view-leads .choma-contacts-panel .choma-portal-table tbody tr > td:first-child {
    border-left:4px solid #0b59e6 !important;
}
.choma-portal-app.choma-view-dashboard .choma-panel--latest .choma-portal-table tbody tr,
.choma-portal-app.choma-view-leads .choma-contacts-panel .choma-portal-table tbody tr {
    box-shadow:inset 4px 0 #0b59e6;
}

@media (max-width:620px) {
    .choma-portal-app .choma-mail-attachment-upload {
        align-items:flex-start;
        flex-direction:column;
    }
    .choma-portal-app .choma-mail-attachment-upload__button {
        width:100%;
    }
    .choma-portal-app.choma-view-dashboard .choma-panel--latest > .choma-panel__head > a {
        width:100%;
    }
}

/* 1.8.72 — smuklejsze listy, osobne ranty oraz wyrównane przyciski Dyktuj. */
.choma-portal-app .choma-sidebar nav a,
.choma-portal-app .choma-sidebar nav a:hover,
.choma-portal-app .choma-sidebar nav a:focus-visible,
.choma-portal-app .choma-sidebar nav a.is-active {
    border-left:4px solid #d3163a !important;
}
.choma-portal-app .choma-sidebar nav a.is-active {
    box-shadow:0 8px 20px rgba(8,46,132,.20) !important;
}

body.choma-portal-app[class*="choma-view-"] .choma-main .choma-dictation-field button[data-choma-dictation] {
    max-height:38px !important;
    border-left-width:4px !important;
}
.choma-portal-app .choma-mail-screen .choma-mail-compose-form__assistant-controls > .choma-dictation-field,
.choma-portal-app .choma-calendar-assistant__controls > .choma-dictation-field {
    padding-bottom:48px !important;
}
.choma-portal-app.choma-view-publications .choma-quick-create .choma-dictation-field {
    grid-template-columns:minmax(0,1fr) auto !important;
    align-items:center !important;
    gap:10px !important;
}
.choma-portal-app.choma-view-publications .choma-quick-create .choma-dictation-field > input[type="text"] {
    height:38px !important;
    min-height:38px !important;
    padding:0 14px !important;
}

.choma-portal-app.choma-view-publications .choma-center-panel .choma-center-table,
.choma-portal-app.choma-view-dashboard .choma-panel--latest .choma-portal-table,
.choma-portal-app.choma-view-leads .choma-contacts-panel .choma-portal-table {
    border-collapse:separate !important;
    border-spacing:0 6px !important;
    background:#f3f6f8 !important;
}
.choma-portal-app.choma-view-publications .choma-center-panel .choma-center-table thead th,
.choma-portal-app.choma-view-dashboard .choma-panel--latest .choma-portal-table thead th,
.choma-portal-app.choma-view-leads .choma-contacts-panel .choma-portal-table thead th {
    border-bottom:0 !important;
}
.choma-portal-app.choma-view-publications .choma-center-panel .choma-center-table tbody td,
.choma-portal-app.choma-view-dashboard .choma-panel--latest .choma-portal-table tbody td,
.choma-portal-app.choma-view-leads .choma-contacts-panel .choma-portal-table tbody td {
    padding:9px 18px !important;
    border-top:1px solid #e1e8ed !important;
    border-bottom:1px solid #e1e8ed !important;
    background:#fff;
}
.choma-portal-app.choma-view-publications .choma-center-panel .choma-center-table tbody td:first-child,
.choma-portal-app.choma-view-dashboard .choma-panel--latest .choma-portal-table tbody td:first-child,
.choma-portal-app.choma-view-leads .choma-contacts-panel .choma-portal-table tbody td:first-child {
    border-left:3px solid #0b59e6 !important;
    border-radius:7px 0 0 7px;
}
.choma-portal-app.choma-view-publications .choma-center-panel .choma-center-table tbody td:last-child,
.choma-portal-app.choma-view-dashboard .choma-panel--latest .choma-portal-table tbody td:last-child,
.choma-portal-app.choma-view-leads .choma-contacts-panel .choma-portal-table tbody td:last-child {
    border-right:1px solid #e1e8ed !important;
    border-radius:0 7px 7px 0;
}
.choma-portal-app.choma-view-publications .choma-center-panel .choma-center-table tbody tr,
.choma-portal-app.choma-view-publications .choma-center-panel .choma-center-table tbody tr:hover,
.choma-portal-app.choma-view-dashboard .choma-panel--latest .choma-portal-table tbody tr,
.choma-portal-app.choma-view-dashboard .choma-panel--latest .choma-portal-table tbody tr:hover,
.choma-portal-app.choma-view-leads .choma-contacts-panel .choma-portal-table tbody tr,
.choma-portal-app.choma-view-leads .choma-contacts-panel .choma-portal-table tbody tr:hover {
    box-shadow:none !important;
}
.choma-portal-app.choma-view-publications .choma-center-panel .choma-center-table tbody tr:hover td,
.choma-portal-app.choma-view-dashboard .choma-panel--latest .choma-portal-table tbody tr:hover td,
.choma-portal-app.choma-view-leads .choma-contacts-panel .choma-portal-table tbody tr:hover td {
    background:var(--oso-pearl-gradient) !important;
}
.choma-portal-app.choma-view-publications .choma-center-panel .choma-center-table tbody tr:hover td:first-child,
.choma-portal-app.choma-view-dashboard .choma-panel--latest .choma-portal-table tbody tr:hover td:first-child,
.choma-portal-app.choma-view-leads .choma-contacts-panel .choma-portal-table tbody tr:hover td:first-child {
    border-left-color:#0b59e6 !important;
}

.choma-portal-app .choma-note-editor form.choma-note-composer > label.choma-note-calendar-link {
    min-height:54px !important;
    padding:6px 12px !important;
}
.choma-portal-app .choma-note-editor .choma-note-calendar-link input[type="date"] {
    height:42px !important;
    min-height:42px !important;
}
.choma-portal-app .choma-note-list > a {
    min-height:52px !important;
    padding:9px 16px 9px 19px !important;
}
.choma-portal-app .choma-note-list > a::before,
.choma-portal-app.choma-view-documents .choma-document-database > .choma-mail-list > a::before {
    width:3px !important;
}
.choma-portal-app .choma-note-list > a > time,
.choma-portal-app.choma-view-documents .choma-document-database > .choma-mail-list > a > time {
    color:#617789 !important;
    font-size:12px !important;
    font-weight:520 !important;
}
.choma-portal-app.choma-view-documents .choma-document-database > .choma-mail-list > a {
    min-height:50px !important;
    padding:8px 16px 8px 18px !important;
}

.choma-portal-app.choma-view-calendar .choma-calendar-assistant__controls {
    padding-right:10px !important;
    box-sizing:border-box !important;
}
.choma-portal-app.choma-view-calendar .choma-calendar-create form > button.choma-calendar-submit,
.choma-portal-app.choma-view-calendar .choma-calendar-create form > button.choma-calendar-submit:hover,
.choma-portal-app.choma-view-calendar .choma-calendar-create form > button.choma-calendar-submit:focus-visible {
    border-left:5px solid #d3163a !important;
}

@media (max-width:760px) {
    .choma-portal-app.choma-view-publications .choma-center-panel .choma-center-table,
    .choma-portal-app.choma-view-dashboard .choma-panel--latest .choma-portal-table,
    .choma-portal-app.choma-view-leads .choma-contacts-panel .choma-portal-table {
        border-spacing:0 !important;
        background:transparent !important;
    }
    .choma-portal-app.choma-view-publications .choma-center-panel .choma-center-table tbody tr,
    .choma-portal-app.choma-view-dashboard .choma-panel--latest .choma-portal-table tbody tr,
    .choma-portal-app.choma-view-leads .choma-contacts-panel .choma-portal-table tbody tr {
        border-left:3px solid #0b59e6 !important;
        border-radius:7px;
    }
    .choma-portal-app.choma-view-publications .choma-center-panel .choma-center-table tbody td,
    .choma-portal-app.choma-view-dashboard .choma-panel--latest .choma-portal-table tbody td,
    .choma-portal-app.choma-view-leads .choma-contacts-panel .choma-portal-table tbody td {
        padding:7px 0 !important;
        border:0 !important;
        border-radius:0 !important;
    }
    .choma-portal-app.choma-view-calendar .choma-calendar-assistant__controls {
        padding-right:0 !important;
    }
}

/* 1.8.73 — końcowe zagęszczenie Kalendarza, Notatnika, Dokumentów i Poczty. */
.choma-portal-app.choma-view-calendar .choma-calendar-summary article,
.choma-portal-app.choma-view-calendar .choma-calendar-summary article:first-child {
    min-height:78px !important;
    padding:12px 18px 14px !important;
}
.choma-portal-app.choma-view-calendar .choma-calendar-summary article strong {
    color:#252b31 !important;
    font-weight:650 !important;
}
.choma-portal-app .choma-note-editor form.choma-note-composer > label.choma-note-calendar-link {
    min-height:48px !important;
    padding:4px 10px !important;
}
.choma-portal-app .choma-note-editor .choma-note-calendar-link input[type="date"] {
    height:36px !important;
    min-height:36px !important;
}
.choma-portal-app .choma-document-upload input[type="file"]::file-selector-button {
    border:1px solid #0a4bd0 !important;
    border-left:4px solid #d3163a !important;
    background:var(--oso-gradient) !important;
    color:#fff !important;
}
.choma-portal-app.choma-view-documents .choma-document-database > .choma-mail-list > a {
    min-height:44px !important;
    padding:6px 15px 6px 18px !important;
}
.choma-portal-app.choma-view-documents .choma-document-database > .choma-mail-list > a > time {
    font-size:13px !important;
}
.choma-portal-app.choma-view-calendar .choma-calendar-event-list article {
    padding:0 !important;
}
.choma-portal-app.choma-view-calendar .choma-calendar-event-open {
    gap:2px !important;
    padding:9px 13px !important;
}
.choma-portal-app.choma-view-calendar .choma-calendar-event-open > span {
    display:none !important;
}
.choma-portal-app.choma-view-calendar .choma-calendar-edit-actions :is(.choma-btn,button) {
    display:inline-flex !important;
    height:38px !important;
    min-height:38px !important;
    align-items:center !important;
    justify-content:center !important;
    padding:0 16px !important;
    border-radius:7px !important;
    font-size:11px !important;
    font-weight:800 !important;
    letter-spacing:.07em !important;
}
.choma-portal-app.choma-view-calendar .choma-calendar-edit-actions > a.choma-btn--outline {
    border:1px solid #8da9bd !important;
    border-left:4px solid #d3163a !important;
    background:var(--oso-pearl-gradient) !important;
    color:#0b49c8 !important;
}
.choma-portal-app.choma-view-calendar .choma-calendar-edit-actions .choma-btn--danger-outline {
    border:1px solid #df9bab !important;
    border-left:4px solid #d3163a !important;
    background:linear-gradient(135deg,#fff 0%,#fff5f7 100%) !important;
    color:#c41435 !important;
}
.choma-portal-app.choma-view-calendar .choma-calendar-edit-actions :is(.choma-btn,button):hover,
.choma-portal-app.choma-view-calendar .choma-calendar-edit-actions :is(.choma-btn,button):focus-visible {
    box-shadow:0 8px 18px rgba(36,66,88,.11) !important;
    transform:translateY(-1px) !important;
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-tabs > a,
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-tabs > a:first-child {
    min-height:38px !important;
    padding:0 20px !important;
    font-size:13px !important;
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-tabs > a:not(:first-child) {
    padding:0 20px 0 36px !important;
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-tabs > a:not(:first-child) > i {
    left:16px !important;
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-tabs > a::after,
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-tabs > a:not(:first-child)::after {
    display:none !important;
    content:none !important;
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-folder-tabs > a {
    height:34px !important;
    min-height:34px !important;
    padding:0 13px !important;
    border:1px solid rgba(18,104,238,.36) !important;
    border-left:1px solid rgba(18,104,238,.36) !important;
    border-radius:7px !important;
    background:#fff !important;
    color:#073c7c !important;
    box-shadow:none !important;
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-folder-tabs > a:hover,
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-folder-tabs > a:focus-visible,
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-folder-tabs > a.is-active {
    border:1px solid rgba(18,104,238,.72) !important;
    border-left:3px solid #1268ee !important;
    background:#fff !important;
    color:#06356e !important;
    box-shadow:0 5px 13px rgba(18,104,238,.13) !important;
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-folder-tabs > a::before,
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-folder-tabs > a::after {
    display:none !important;
    content:none !important;
}
@media (max-width:620px) {
    .choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-tabs > a,
    .choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-tabs > a:first-child {
        padding-right:16px !important;
        padding-left:16px !important;
    }
    .choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-tabs > a:not(:first-child) {
        padding-left:32px !important;
    }
}

/* 1.8.74 — ostatnie dopracowanie Poczty, Notatnika, Ofert, Analiz i Decyzji. */
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-tabs > a {
    box-sizing:border-box !important;
    height:38px !important;
    min-height:38px !important;
    align-items:center !important;
    justify-content:center !important;
    line-height:1.15 !important;
    padding-top:1px !important;
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-tabs > a:not(:first-child) {
    min-width:0 !important;
    padding-right:13px !important;
    padding-left:30px !important;
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-tabs > a:not(:first-child) > i {
    left:12px !important;
}

.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-folder-tabs > a,
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-folder-tabs > a.is-active {
    position:relative !important;
    box-sizing:border-box !important;
    height:32px !important;
    min-height:32px !important;
    padding:0 12px !important;
    overflow:hidden !important;
    border:1px solid rgba(18,104,238,.36) !important;
    transform:translate(0,0) !important;
    transition:transform .22s ease,border-color .22s ease,background .22s ease,color .22s ease,box-shadow .22s ease !important;
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-folder-tabs > a::before {
    position:absolute !important;
    top:0 !important;
    bottom:0 !important;
    left:0 !important;
    display:block !important;
    width:3px !important;
    border-radius:0 !important;
    background:#1268ee !important;
    box-shadow:none !important;
    content:"" !important;
    opacity:0 !important;
    transform:none !important;
    transition:opacity .22s ease !important;
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-folder-tabs > a:hover,
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-folder-tabs > a:focus-visible,
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-folder-tabs > a.is-active:hover,
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-folder-tabs > a.is-active:focus-visible {
    border:1px solid rgba(18,104,238,.72) !important;
    background:var(--oso-pearl-gradient) !important;
    box-shadow:0 5px 13px rgba(18,104,238,.13) !important;
    transform:translate(0,-1px) !important;
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-folder-tabs > a:hover::before,
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-folder-tabs > a:focus-visible::before,
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-folder-tabs > a.is-active::before {
    opacity:1 !important;
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-folder-tabs > a::after {
    display:none !important;
    content:none !important;
}

.choma-portal-app .choma-note-editor form.choma-note-composer > label.choma-note-calendar-link {
    box-sizing:border-box !important;
    height:50px !important;
    min-height:50px !important;
    padding:4px 10px !important;
}
.choma-portal-app .choma-note-editor .choma-note-calendar-link input[type="date"] {
    box-sizing:border-box !important;
    height:34px !important;
    min-height:34px !important;
    padding-top:0 !important;
    padding-bottom:0 !important;
}

.choma-portal-app.choma-view-offers .choma-mail-list > a {
    box-sizing:border-box !important;
    min-height:50px !important;
    padding:9px 17px 9px 20px !important;
}

.choma-portal-app.choma-view-publications .choma-center-panel .choma-center-table tbody td {
    transition:background-color .22s ease,border-color .22s ease !important;
}
.choma-portal-app.choma-view-publications .choma-center-panel .choma-center-table tbody tr:hover,
.choma-portal-app.choma-view-publications .choma-center-panel .choma-center-table tbody tr:focus-within {
    background:transparent !important;
    box-shadow:none !important;
}
.choma-portal-app.choma-view-publications .choma-center-panel .choma-center-table tbody tr:hover td,
.choma-portal-app.choma-view-publications .choma-center-panel .choma-center-table tbody tr:focus-within td {
    border-top-color:#d7e2e9 !important;
    border-bottom-color:#d7e2e9 !important;
    background:#f7fafc !important;
    box-shadow:none !important;
}

.choma-portal-app.choma-view-approvals .choma-center-status-card {
    box-sizing:border-box !important;
    min-height:78px !important;
    padding:12px 20px 15px !important;
}
.choma-portal-app.choma-view-approvals .choma-center-status-card strong {
    color:#252b31 !important;
    font-weight:650 !important;
}

@media (max-width:620px) {
    .choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-tabs > a:not(:first-child) {
        padding-right:12px !important;
        padding-left:28px !important;
    }
    .choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-tabs > a:not(:first-child) > i {
        left:11px !important;
    }
}

/* 1.8.75 — układ wysyłki Poczty i końcowe wyrównania formularzy. */
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-compose-actions {
    display:flex !important;
    flex-wrap:wrap !important;
    align-items:center !important;
    gap:10px 16px !important;
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-compose-actions .choma-mail-attachment-upload {
    display:flex !important;
    flex:0 1 auto !important;
    width:auto !important;
    max-width:100% !important;
    align-items:center !important;
    gap:12px !important;
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-compose-actions .choma-mail-attachment-upload__button,
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-compose-actions .choma-mail-send-button {
    box-sizing:border-box !important;
    display:inline-flex !important;
    width:auto !important;
    min-width:0 !important;
    height:34px !important;
    min-height:34px !important;
    max-height:34px !important;
    align-items:center !important;
    justify-content:center !important;
    padding:0 15px !important;
    border:1px solid #0a4bd0 !important;
    border-left:4px solid #d3163a !important;
    border-radius:7px !important;
    background:var(--oso-gradient) !important;
    color:#fff !important;
    box-shadow:0 5px 13px rgba(12,90,255,.12) !important;
    font-size:11px !important;
    font-weight:820 !important;
    letter-spacing:.08em !important;
    line-height:1 !important;
    white-space:nowrap !important;
    transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease !important;
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-compose-actions .choma-mail-attachment-upload:hover .choma-mail-attachment-upload__button,
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-compose-actions .choma-mail-attachment-upload:focus-within .choma-mail-attachment-upload__button,
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-compose-actions .choma-mail-send-button:hover,
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-compose-actions .choma-mail-send-button:focus-visible {
    border-color:#0a4bd0 !important;
    border-left-color:#d3163a !important;
    background:var(--oso-gradient) !important;
    color:#fff !important;
    box-shadow:5px 7px 17px rgba(18,104,238,.22) !important;
    transform:translateY(-1px) !important;
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-compose-actions .choma-mail-attachment-upload > small {
    display:block !important;
    max-width:min(460px,52vw) !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
}

.choma-portal-app .choma-note-editor form.choma-note-composer > label.choma-note-calendar-link {
    align-items:center !important;
    overflow:hidden !important;
}
.choma-portal-app .choma-note-editor form.choma-note-composer > label.choma-note-calendar-link input[type="date"] {
    box-sizing:border-box !important;
    width:190px !important;
    height:34px !important;
    min-height:34px !important;
    max-height:34px !important;
    align-self:center !important;
    margin:0 !important;
    padding:0 12px !important;
}

.choma-portal-app.choma-view-leads .choma-portal-filters {
    align-items:end !important;
}
.choma-portal-app.choma-view-leads .choma-portal-filters :is(input[type="search"],select),
.choma-portal-app.choma-view-leads .choma-portal-filters .choma-btn,
.choma-portal-app.choma-view-leads .choma-portal-filters .choma-filter-clear {
    box-sizing:border-box !important;
    height:42px !important;
    min-height:42px !important;
    max-height:42px !important;
    margin:0 !important;
}
.choma-portal-app.choma-view-leads .choma-portal-filters .choma-filter-clear {
    display:inline-flex !important;
    align-self:end !important;
    align-items:center !important;
    justify-content:center !important;
    padding:0 4px !important;
    line-height:1 !important;
}

.choma-portal-app.choma-view-publications .choma-center-panel .choma-center-table thead,
.choma-portal-app.choma-view-publications .choma-center-panel .choma-center-table thead tr {
    background:#f4f7f9 !important;
    box-shadow:none !important;
}
.choma-portal-app.choma-view-publications .choma-center-panel .choma-center-table thead th {
    border:0 !important;
    border-bottom:1px solid #d9e3e9 !important;
    border-radius:0 !important;
    outline:0 !important;
    background:#f4f7f9 !important;
    box-shadow:none !important;
}

.choma-portal-app .choma-mail-screen .choma-mail-compose-form__assistant-controls > .choma-mail-compose-form__assistant-style select,
.choma-portal-app .choma-mail-screen .choma-mail-compose-form__assistant-controls > .choma-btn,
.choma-portal-app .choma-mail-screen .choma-mail-compose-form__assistant-controls > .choma-dictation-field button[data-choma-dictation] {
    box-sizing:border-box !important;
    height:38px !important;
    min-height:38px !important;
    max-height:38px !important;
    margin:0 !important;
}
.choma-portal-app .choma-mail-screen .choma-mail-compose-form__assistant-controls > .choma-mail-compose-form__assistant-style select {
    padding:0 12px !important;
}

@media (max-width:620px) {
    .choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-compose-actions {
        align-items:flex-start !important;
        flex-direction:column !important;
    }
    .choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-compose-actions .choma-mail-attachment-upload {
        width:100% !important;
    }
    .choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-compose-actions .choma-mail-attachment-upload__button {
        flex:0 0 auto !important;
        width:auto !important;
    }
    .choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-compose-actions .choma-mail-attachment-upload > small {
        max-width:calc(100vw - 220px) !important;
    }
}

/* 1.8.76 — finalne proporcje Kontaktów, Notatnika, Poczty i przycisków Dyktuj. */
.choma-portal-app.choma-view-leads .choma-contacts-panel .choma-portal-table thead,
.choma-portal-app.choma-view-leads .choma-contacts-panel .choma-portal-table thead tr {
    background:#f4f7f9 !important;
    box-shadow:none !important;
}
.choma-portal-app.choma-view-leads .choma-contacts-panel .choma-portal-table thead th {
    border:0 !important;
    border-bottom:1px solid #d9e3e9 !important;
    border-radius:0 !important;
    outline:0 !important;
    background:#f4f7f9 !important;
    box-shadow:none !important;
}

.choma-portal-app .choma-note-editor form.choma-note-composer > label.choma-note-calendar-link {
    box-sizing:border-box !important;
    height:45px !important;
    min-height:45px !important;
    max-height:45px !important;
    align-items:center !important;
    padding:3px 10px !important;
}
.choma-portal-app .choma-note-editor form.choma-note-composer > label.choma-note-calendar-link > :is(input,span) {
    align-self:center !important;
}
.choma-portal-app .choma-note-editor form.choma-note-composer > label.choma-note-calendar-link input[type="date"] {
    height:32px !important;
    min-height:32px !important;
    max-height:32px !important;
    margin:0 !important;
}

.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-compose-actions {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    align-items:start !important;
    gap:12px !important;
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-compose-actions .choma-mail-attachment-upload {
    justify-self:start !important;
    width:auto !important;
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-compose-actions .choma-mail-attachment-upload__button {
    width:auto !important;
    min-width:0 !important;
    padding-right:14px !important;
    padding-left:14px !important;
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-compose-actions .choma-mail-send-button {
    justify-self:stretch !important;
    width:100% !important;
    max-width:none !important;
}

body.choma-portal-app[class*="choma-view-"] .choma-main .choma-dictation-field button[data-choma-dictation] {
    box-sizing:border-box !important;
    height:36px !important;
    min-height:36px !important;
    max-height:36px !important;
    padding-top:0 !important;
    padding-bottom:0 !important;
}
.choma-portal-app .choma-mail-screen .choma-mail-compose-form__assistant-controls > .choma-mail-compose-form__assistant-style select,
.choma-portal-app .choma-mail-screen .choma-mail-compose-form__assistant-controls > .choma-btn {
    height:36px !important;
    min-height:36px !important;
    max-height:36px !important;
}

@media (max-width:620px) {
    .choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-compose-actions {
        display:grid !important;
        align-items:start !important;
    }
    .choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-compose-actions .choma-mail-attachment-upload {
        width:100% !important;
        align-items:center !important;
        flex-direction:row !important;
    }
}

/* 1.8.77 — jednolite tabele, przyciski kontaktów i wysokości jednoliniowych list. */
.choma-portal-app.choma-view-dashboard .choma-panel--latest .choma-portal-table thead,
.choma-portal-app.choma-view-dashboard .choma-panel--latest .choma-portal-table thead tr {
    background:#f4f7f9 !important;
    box-shadow:none !important;
}
.choma-portal-app.choma-view-dashboard .choma-panel--latest .choma-portal-table thead th {
    border:0 !important;
    border-bottom:1px solid #d9e3e9 !important;
    border-radius:0 !important;
    outline:0 !important;
    background:#f4f7f9 !important;
    box-shadow:none !important;
}
.choma-portal-app.choma-view-dashboard .choma-panel--latest .choma-portal-table tbody td,
.choma-portal-app.choma-view-leads .choma-contacts-panel .choma-portal-table tbody td {
    background:#fff !important;
    box-shadow:none !important;
    transition:background-color .22s ease,border-color .22s ease !important;
}
.choma-portal-app.choma-view-dashboard .choma-panel--latest .choma-portal-table tbody tr:hover,
.choma-portal-app.choma-view-dashboard .choma-panel--latest .choma-portal-table tbody tr:focus-within,
.choma-portal-app.choma-view-leads .choma-contacts-panel .choma-portal-table tbody tr:hover,
.choma-portal-app.choma-view-leads .choma-contacts-panel .choma-portal-table tbody tr:focus-within {
    background:transparent !important;
    box-shadow:none !important;
}
.choma-portal-app.choma-view-dashboard .choma-panel--latest .choma-portal-table tbody tr:hover td,
.choma-portal-app.choma-view-dashboard .choma-panel--latest .choma-portal-table tbody tr:focus-within td,
.choma-portal-app.choma-view-leads .choma-contacts-panel .choma-portal-table tbody tr:hover td,
.choma-portal-app.choma-view-leads .choma-contacts-panel .choma-portal-table tbody tr:focus-within td {
    background:#f7fafc !important;
    box-shadow:none !important;
}

.choma-portal-app.choma-view-dashboard .choma-dashboard-head > .choma-btn,
.choma-portal-app.choma-view-processes .choma-processes-head > .choma-btn,
.choma-portal-app.choma-view-leads .choma-contacts-head > .choma-btn {
    box-sizing:border-box !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    padding:0 16px !important;
    border:1px solid #0a4bd0 !important;
    border-left:4px solid #d3163a !important;
    border-radius:7px !important;
    background:var(--oso-gradient) !important;
    color:#fff !important;
    box-shadow:0 6px 16px rgba(12,90,255,.14) !important;
}
@media (min-width:783px){
    .choma-portal-app:is(.choma-view-dashboard,.choma-view-publications,.choma-view-offers,.choma-view-calendar,.choma-view-notes,.choma-view-leads,.choma-view-processes,.choma-view-mail) .choma-module-head > .choma-btn,
    .choma-portal-app.choma-view-documents .choma-document-head .choma-document-import-button,
    .choma-portal-app.choma-view-mail .choma-mail-screen__head > .choma-mail-screen__new {
        box-sizing:border-box !important;
        display:inline-flex !important;
        width:236px !important;
        min-width:236px !important;
        max-width:236px !important;
        height:38px !important;
        min-height:38px !important;
        max-height:38px !important;
        align-items:center !important;
        justify-content:space-between !important;
        gap:25px !important;
        padding:0 20px !important;
        border:1px solid #0a4bd0 !important;
        border-left:4px solid #d3163a !important;
        border-radius:7px !important;
        background:var(--oso-gradient) !important;
        color:#fff !important;
        font-size:11px !important;
        font-weight:780 !important;
        letter-spacing:.12em !important;
        line-height:1 !important;
        white-space:nowrap !important;
        box-shadow:0 6px 16px rgba(12,90,255,.14) !important;
    }
    .choma-portal-app.choma-view-documents .choma-document-head .choma-document-import-button > span {
        font-size:inherit !important;
        font-weight:inherit !important;
        letter-spacing:inherit !important;
    }
    .choma-portal-app:is(.choma-view-dashboard,.choma-view-publications,.choma-view-offers,.choma-view-calendar,.choma-view-notes,.choma-view-leads,.choma-view-processes,.choma-view-mail) .choma-module-head > .choma-btn:hover,
    .choma-portal-app:is(.choma-view-dashboard,.choma-view-publications,.choma-view-offers,.choma-view-calendar,.choma-view-notes,.choma-view-leads,.choma-view-processes,.choma-view-mail) .choma-module-head > .choma-btn:focus-visible,
    .choma-portal-app.choma-view-documents .choma-document-head .choma-document-import-button:hover,
    .choma-portal-app.choma-view-documents .choma-document-head .choma-document-import-button:focus-visible,
    .choma-portal-app.choma-view-mail .choma-mail-screen__head > .choma-mail-screen__new:hover,
    .choma-portal-app.choma-view-mail .choma-mail-screen__head > .choma-mail-screen__new:focus-visible {
        border-color:#0a4bd0 !important;
        border-left-color:#d3163a !important;
        background:var(--oso-gradient) !important;
        color:#fff !important;
        box-shadow:5px 7px 17px rgba(18,104,238,.22) !important;
        transform:translateY(-1px) !important;
    }
}
.choma-portal-app.choma-view-dashboard .choma-dashboard-head > .choma-btn:hover,
.choma-portal-app.choma-view-dashboard .choma-dashboard-head > .choma-btn:focus-visible,
.choma-portal-app.choma-view-processes .choma-processes-head > .choma-btn:hover,
.choma-portal-app.choma-view-processes .choma-processes-head > .choma-btn:focus-visible,
.choma-portal-app.choma-view-leads .choma-contacts-head > .choma-btn:hover,
.choma-portal-app.choma-view-leads .choma-contacts-head > .choma-btn:focus-visible {
    border-color:#0a4bd0 !important;
    border-left-color:#d3163a !important;
    background:var(--oso-gradient) !important;
    color:#fff !important;
    box-shadow:5px 7px 17px rgba(18,104,238,.22) !important;
    transform:translateY(-1px) !important;
}
.choma-portal-app :is(.choma-dashboard-head,.choma-processes-head,.choma-contacts-head) > .choma-btn span {
    color:inherit !important;
}

@media (min-width:783px) {
    .choma-portal-app:is(.choma-view-dashboard,.choma-view-publications,.choma-view-offers,.choma-view-calendar,.choma-view-notes,.choma-view-leads,.choma-view-processes) .choma-module-head > .choma-btn > span:last-child:not([data-choma-document-import-label]) {
        display:none !important;
    }
    .choma-portal-app:is(.choma-view-dashboard,.choma-view-publications,.choma-view-offers,.choma-view-calendar,.choma-view-notes,.choma-view-leads,.choma-view-processes,.choma-view-mail) .choma-module-head > .choma-btn::after,
    .choma-portal-app.choma-view-documents .choma-document-head .choma-document-import-button::after,
    .choma-portal-app.choma-view-mail .choma-mail-screen__head > .choma-mail-screen__new::after {
        content:"\2192";
        flex:0 0 auto;
        color:#fff;
        font-size:18px;
        font-weight:400;
        letter-spacing:0;
        line-height:1;
    }
}

.choma-portal-app .choma-note-editor form.choma-note-composer > label.choma-note-calendar-link > :is(input,span) {
    position:relative !important;
    top:-2px !important;
}

.choma-portal-app .choma-note-list > a,
.choma-portal-app:is(.choma-view-processes,.choma-view-offers) .choma-mail-list > a,
.choma-portal-app.choma-view-documents .choma-document-database > .choma-mail-list > a {
    box-sizing:border-box !important;
    min-height:46px !important;
    padding-top:6px !important;
    padding-bottom:6px !important;
}

.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-compose-actions .choma-mail-attachment-upload__button {
    height:34px !important;
    min-height:34px !important;
    max-height:34px !important;
    padding-right:12px !important;
    padding-left:12px !important;
    font-size:10px !important;
    font-weight:700 !important;
    letter-spacing:.06em !important;
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-compose-actions .choma-mail-send-button {
    height:34px !important;
    min-height:34px !important;
    max-height:34px !important;
    font-size:12px !important;
    font-weight:820 !important;
}

/* 1.8.78 — Poczta jak Dokumenty, domknięty asystent Kalendarza i akcje nagłówków. */
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-compose-actions {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    gap:18px !important;
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-compose-actions .choma-mail-attachment-upload {
    box-sizing:border-box !important;
    display:grid !important;
    width:100% !important;
    max-width:none !important;
    gap:8px !important;
    padding:16px !important;
    border:1px dashed #b9cad7 !important;
    border-radius:8px !important;
    background:linear-gradient(135deg,#fff 0%,#f7fafc 100%) !important;
    color:#092f53 !important;
    cursor:default !important;
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-compose-actions .choma-mail-attachment-upload > span {
    color:#092f53 !important;
    font-size:11px !important;
    font-weight:780 !important;
    letter-spacing:.06em !important;
    line-height:1.2 !important;
    text-transform:uppercase !important;
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-compose-actions .choma-mail-attachment-upload > small {
    display:block !important;
    max-width:none !important;
    overflow:visible !important;
    color:#6b7c8b !important;
    font-size:11px !important;
    font-weight:500 !important;
    letter-spacing:0 !important;
    line-height:1.4 !important;
    text-overflow:clip !important;
    text-transform:none !important;
    white-space:normal !important;
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-compose-actions .choma-mail-attachment-upload > input[type="file"] {
    position:static !important;
    box-sizing:border-box !important;
    display:block !important;
    width:100% !important;
    height:auto !important;
    min-height:48px !important;
    margin:0 !important;
    padding:7px !important;
    overflow:visible !important;
    clip:auto !important;
    border:1px solid var(--oso-control-border) !important;
    border-radius:3px !important;
    background:#fff !important;
    color:#102f48 !important;
    font-size:13px !important;
    white-space:normal !important;
    opacity:1 !important;
    cursor:pointer !important;
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-compose-actions .choma-mail-attachment-upload > input[type="file"]::file-selector-button,
.choma-portal-app .choma-document-upload input[type="file"]::file-selector-button {
    min-height:32px !important;
    margin-right:12px !important;
    padding:0 14px !important;
    border:1px solid #0a4bd0 !important;
    border-left:4px solid #d3163a !important;
    border-radius:6px !important;
    background:var(--oso-gradient) !important;
    color:#fff !important;
    font-size:11px !important;
    font-weight:750 !important;
    letter-spacing:.06em !important;
    cursor:pointer !important;
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-compose-actions .choma-mail-send-button,
.choma-portal-app .choma-document-submit {
    box-sizing:border-box !important;
    display:inline-flex !important;
    width:100% !important;
    height:34px !important;
    min-height:34px !important;
    max-height:34px !important;
    align-items:center !important;
    justify-content:center !important;
    padding:0 16px !important;
    border:1px solid #0a4bd0 !important;
    border-left:5px solid #d3163a !important;
    border-radius:7px !important;
    background:var(--oso-gradient) !important;
    color:#fff !important;
    box-shadow:inset 0 -2px 0 rgba(5,42,132,.42),0 9px 20px rgba(12,90,255,.14) !important;
    font-size:14px !important;
    font-weight:800 !important;
    letter-spacing:.08em !important;
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-compose-actions .choma-mail-send-button:hover,
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-compose-actions .choma-mail-send-button:focus-visible,
.choma-portal-app .choma-document-submit:hover,
.choma-portal-app .choma-document-submit:focus-visible {
    border-color:#0a4bd0 !important;
    border-left-color:#d3163a !important;
    background:var(--oso-gradient) !important;
    color:#fff !important;
    box-shadow:inset 0 -2px 0 rgba(5,42,132,.42),5px 9px 21px rgba(12,90,255,.22) !important;
    transform:translateY(-1px) !important;
}

.choma-portal-app.choma-view-calendar .choma-calendar-create form.choma-calendar-assistant {
    box-sizing:border-box !important;
    width:calc(100% - 54px) !important;
    max-width:calc(100% - 54px) !important;
    margin:0 27px 27px !important;
}
.choma-portal-app.choma-view-calendar .choma-calendar-assistant__controls {
    box-sizing:border-box !important;
    width:100% !important;
    padding-right:0 !important;
}
.choma-portal-app.choma-view-calendar .choma-calendar-assistant__submit {
    justify-self:end !important;
    margin-right:0 !important;
}

@media (max-width:782px) {
.choma-portal-app :is(.choma-notes-head,.choma-offers-head,.choma-publications-head) > .choma-scroll-action {
    box-sizing:border-box !important;
    display:inline-flex !important;
    height:38px !important;
    min-height:38px !important;
    align-items:center !important;
    justify-content:center !important;
    padding:0 16px !important;
    border:1px solid #0a4bd0 !important;
    border-left:4px solid #d3163a !important;
    border-radius:7px !important;
    background:var(--oso-gradient) !important;
    color:#fff !important;
    box-shadow:0 6px 16px rgba(12,90,255,.14) !important;
    font-size:11px !important;
    font-weight:800 !important;
    letter-spacing:.07em !important;
    text-decoration:none !important;
}
.choma-portal-app :is(.choma-notes-head,.choma-offers-head,.choma-publications-head) > .choma-scroll-action:hover,
.choma-portal-app :is(.choma-notes-head,.choma-offers-head,.choma-publications-head) > .choma-scroll-action:focus-visible {
    border-color:#0a4bd0 !important;
    border-left-color:#d3163a !important;
    background:var(--oso-gradient) !important;
    color:#fff !important;
    box-shadow:5px 7px 17px rgba(18,104,238,.22) !important;
    transform:translateY(-1px) !important;
}
}
.choma-portal-app :is(#choma-new-note,#choma-new-offer,#choma-new-publication) {
    scroll-margin-top:24px;
}

@media (max-width:760px) {
    .choma-portal-app.choma-view-calendar .choma-calendar-create form.choma-calendar-assistant {
        width:calc(100% - 36px) !important;
        max-width:calc(100% - 36px) !important;
        margin:0 18px 20px !important;
    }
    .choma-portal-app :is(.choma-notes-head,.choma-offers-head,.choma-publications-head) > .choma-scroll-action {
        width:100% !important;
    }
}

/* 1.8.79 — końcowe proporcje poczty i wyrównanie kolumny etapu; musi pozostać na końcu kaskady. */
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-compose-actions > .choma-mail-send-button {
    box-sizing:border-box !important;
    block-size:34px !important;
    min-block-size:34px !important;
    max-block-size:34px !important;
    height:34px !important;
    min-height:34px !important;
    max-height:34px !important;
    align-self:start !important;
    padding-block:0 !important;
    font-size:13px !important;
    font-weight:800 !important;
    line-height:1 !important;
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-compose-form__assistant-controls > button.choma-btn--outline {
    box-sizing:border-box !important;
    height:36px !important;
    min-height:36px !important;
    max-height:36px !important;
    padding:0 15px !important;
    border:1px solid #0a4bd0 !important;
    border-left:4px solid #d3163a !important;
    border-radius:7px !important;
    background:var(--oso-gradient) !important;
    color:#fff !important;
    box-shadow:0 6px 16px rgba(12,90,255,.14) !important;
    font-size:11px !important;
    font-weight:800 !important;
    letter-spacing:.07em !important;
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-compose-form__assistant-controls > button.choma-btn--outline:hover,
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-compose-form__assistant-controls > button.choma-btn--outline:focus-visible {
    border-color:#0a4bd0 !important;
    border-left-color:#d3163a !important;
    background:var(--oso-gradient) !important;
    color:#fff !important;
    box-shadow:5px 7px 17px rgba(18,104,238,.22) !important;
    transform:translateY(-1px) !important;
}
@media (min-width:761px) {
    .choma-portal-app.choma-view-publications .choma-center-panel .choma-center-table thead th:nth-child(2) {
        padding-left:30px !important;
    }
}

/* 1.8.80 — wspólny, zwarty asystent narzędzi oraz odświeżona karta klienta. */
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-compose-actions > .choma-mail-send-button {
    block-size:34px !important;
    min-block-size:34px !important;
    max-block-size:34px !important;
    height:34px !important;
    min-height:34px !important;
    max-height:34px !important;
    padding-block:0 !important;
    font-size:14px !important;
    line-height:1 !important;
}

.choma-portal-app .choma-tool-assistant {
    box-sizing:border-box !important;
    overflow:hidden !important;
    border:1px solid #cadbe7 !important;
    border-radius:10px !important;
    background:linear-gradient(135deg,#f7fafc 0%,#edf4f8 100%) !important;
    box-shadow:0 14px 36px rgba(36,66,88,.08) !important;
}
.choma-portal-app :is(.choma-mail-compose-form__assistant,form.choma-calendar-assistant,form.choma-note-composer).choma-tool-assistant {
    padding:24px 26px !important;
}
.choma-portal-app .choma-document-assistant.choma-tool-assistant form.choma-document-assistant__form {
    gap:18px !important;
    padding:24px 26px !important;
    background:transparent !important;
}
.choma-portal-app .choma-tool-assistant__head {
    display:grid !important;
    gap:6px !important;
    margin:0 0 18px !important;
}
.choma-portal-app .choma-tool-assistant__head > strong {
    margin:0 !important;
    color:#d3163a !important;
    font-size:11px !important;
    font-weight:800 !important;
    letter-spacing:.11em !important;
    line-height:1.2 !important;
    text-transform:uppercase !important;
}
.choma-portal-app .choma-tool-assistant__head > p {
    margin:0 !important;
    color:#607484 !important;
    font-size:14px !important;
    font-weight:450 !important;
    line-height:1.4 !important;
}
.choma-portal-app .choma-tool-assistant__controls {
    display:grid !important;
    grid-template-columns:minmax(0,1.75fr) minmax(260px,.65fr) !important;
    align-items:end !important;
    gap:24px 28px !important;
    width:100% !important;
    padding:0 !important;
}
.choma-portal-app .choma-tool-assistant__controls > .choma-dictation-field {
    position:static !important;
    display:grid !important;
    gap:8px !important;
    min-width:0 !important;
    padding:0 !important;
    color:#092f53 !important;
    font-size:11px !important;
    font-weight:750 !important;
    letter-spacing:.06em !important;
    text-transform:uppercase !important;
}
.choma-portal-app .choma-tool-assistant__controls > .choma-dictation-field textarea {
    box-sizing:border-box !important;
    display:block !important;
    width:100% !important;
    height:134px !important;
    min-height:134px !important;
    max-height:none !important;
    margin:0 !important;
    padding:13px 15px !important;
    border:1px solid #c8d8e3 !important;
    border-radius:8px !important;
    background:#fff !important;
    color:#092f53 !important;
    font-size:13px !important;
    font-weight:450 !important;
    letter-spacing:0 !important;
    line-height:1.5 !important;
    text-transform:none !important;
    resize:vertical !important;
}
.choma-portal-app .choma-tool-assistant__controls > .choma-dictation-field button[data-choma-dictation] {
    position:static !important;
    inset:auto !important;
    justify-self:start !important;
    width:auto !important;
    min-width:118px !important;
    margin:0 !important;
}
.choma-portal-app .choma-tool-assistant__actions {
    display:grid !important;
    align-content:end !important;
    gap:14px !important;
    min-width:0 !important;
}
.choma-portal-app .choma-tool-assistant__actions--single {
    align-self:end !important;
}
.choma-portal-app .choma-tool-assistant__actions > label {
    display:grid !important;
    gap:8px !important;
    margin:0 !important;
    color:#092f53 !important;
    font-size:11px !important;
    font-weight:750 !important;
    letter-spacing:.06em !important;
    text-transform:uppercase !important;
}
.choma-portal-app .choma-tool-assistant__actions select {
    box-sizing:border-box !important;
    width:100% !important;
    height:42px !important;
    min-height:42px !important;
    max-height:42px !important;
    margin:0 !important;
    padding:0 13px !important;
    border:1px solid #c8d8e3 !important;
    border-radius:8px !important;
    background:#fff !important;
    color:#092f53 !important;
    font-size:12px !important;
    font-weight:650 !important;
    letter-spacing:0 !important;
    text-transform:none !important;
}
.choma-portal-app .choma-tool-assistant__submit,
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-tool-assistant__submit.choma-btn--outline {
    box-sizing:border-box !important;
    display:inline-flex !important;
    width:100% !important;
    height:38px !important;
    min-height:38px !important;
    max-height:38px !important;
    align-items:center !important;
    justify-content:center !important;
    padding:0 12px !important;
    border:1px solid #0a4bd0 !important;
    border-left:4px solid #d3163a !important;
    border-radius:7px !important;
    background:var(--oso-gradient) !important;
    color:#fff !important;
    box-shadow:0 6px 16px rgba(12,90,255,.14) !important;
    font-size:10px !important;
    font-weight:700 !important;
    letter-spacing:.045em !important;
    line-height:1 !important;
    text-align:center !important;
    white-space:nowrap !important;
}
.choma-portal-app .choma-tool-assistant__submit:hover,
.choma-portal-app .choma-tool-assistant__submit:focus-visible {
    border-color:#0a4bd0 !important;
    border-left-color:#d3163a !important;
    background:var(--oso-gradient) !important;
    color:#fff !important;
    box-shadow:5px 7px 17px rgba(18,104,238,.22) !important;
    transform:translateY(-1px) !important;
}

.choma-portal-app.choma-view-notes .choma-note-editor form.choma-note-composer.choma-tool-assistant {
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:18px !important;
    background:linear-gradient(135deg,#f7fafc 0%,#edf4f8 100%) !important;
}
.choma-portal-app.choma-view-notes .choma-note-composer .choma-note-assistant__meta {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    gap:14px !important;
    padding-top:18px !important;
    border-top:1px solid #d7e2e9 !important;
}
.choma-portal-app.choma-view-notes .choma-note-composer .choma-note-assistant__meta > label {
    color:#092f53 !important;
    font-size:11px !important;
    font-weight:750 !important;
    letter-spacing:.06em !important;
    text-transform:uppercase !important;
}
.choma-portal-app.choma-view-notes .choma-note-composer .choma-note-title-field input[type="text"] {
    box-sizing:border-box !important;
    width:100% !important;
    height:42px !important;
    min-height:42px !important;
    margin-top:8px !important;
    padding:0 13px !important;
    border:1px solid #c8d8e3 !important;
    border-radius:8px !important;
    background:#fff !important;
}
.choma-portal-app.choma-view-notes .choma-note-composer .choma-note-calendar-link {
    box-sizing:border-box !important;
    display:grid !important;
    grid-template-columns:18px minmax(0,1fr) 190px !important;
    align-items:center !important;
    gap:11px !important;
    height:45px !important;
    min-height:45px !important;
    padding:3px 10px !important;
    border:1px solid #d5e1e8 !important;
    border-radius:8px !important;
    background:rgba(255,255,255,.62) !important;
    letter-spacing:0 !important;
    text-transform:none !important;
}
.choma-portal-app.choma-view-notes .choma-note-composer .choma-note-calendar-link input[type="date"] {
    box-sizing:border-box !important;
    width:190px !important;
    height:32px !important;
    min-height:32px !important;
    max-height:32px !important;
    margin:0 !important;
}

.choma-portal-app.choma-view-lead .choma-page-head--lead {
    padding-bottom:18px !important;
    border-bottom:1px solid #c8d8e3 !important;
}
.choma-portal-app.choma-view-lead .choma-lead-head__aside > a,
.choma-portal-app.choma-view-lead .choma-lead-actions .choma-btn,
.choma-portal-app.choma-view-lead .choma-lead-form > .choma-btn--primary {
    box-sizing:border-box !important;
    display:inline-flex !important;
    height:38px !important;
    min-height:38px !important;
    align-items:center !important;
    justify-content:center !important;
    padding:0 15px !important;
    border:1px solid #0a4bd0 !important;
    border-left:4px solid #d3163a !important;
    border-radius:7px !important;
    background:var(--oso-gradient) !important;
    color:#fff !important;
    box-shadow:0 6px 16px rgba(12,90,255,.14) !important;
    font-size:10px !important;
    font-weight:800 !important;
    letter-spacing:.07em !important;
    line-height:1 !important;
    text-decoration:none !important;
    text-transform:uppercase !important;
}
.choma-portal-app.choma-view-lead .choma-lead-head__aside > a:hover,
.choma-portal-app.choma-view-lead .choma-lead-actions .choma-btn:hover,
.choma-portal-app.choma-view-lead .choma-lead-actions .choma-btn:focus-visible,
.choma-portal-app.choma-view-lead .choma-lead-form > .choma-btn--primary:hover,
.choma-portal-app.choma-view-lead .choma-lead-form > .choma-btn--primary:focus-visible {
    border-color:#0a4bd0 !important;
    border-left-color:#d3163a !important;
    background:var(--oso-gradient) !important;
    color:#fff !important;
    box-shadow:5px 7px 17px rgba(18,104,238,.22) !important;
    transform:translateY(-1px) !important;
}
.choma-portal-app.choma-view-lead .choma-lead-card {
    overflow:hidden !important;
    border:1px solid var(--oso-card-border) !important;
    border-radius:12px !important;
    background:#fff !important;
    box-shadow:var(--oso-card-shadow) !important;
}
.choma-portal-app.choma-view-lead .choma-lead-card > .choma-panel__head {
    margin:0 !important;
    padding:20px 24px !important;
    border-bottom:1px solid #e1e7ec !important;
    background:var(--oso-pearl-gradient) !important;
}
.choma-portal-app.choma-view-lead .choma-lead-card > .choma-panel__head .choma-eyebrow {
    color:#d3163a !important;
}
.choma-portal-app.choma-view-lead .choma-lead-card > .choma-panel__head h2 {
    margin-top:6px !important;
    color:#102c42 !important;
}
.choma-portal-app.choma-view-lead .choma-lead-form :is(input,select,textarea) {
    box-sizing:border-box !important;
    border:1px solid #c8d8e3 !important;
    border-radius:8px !important;
    background:#fff !important;
    color:#092f53 !important;
}
.choma-portal-app.choma-view-lead .choma-lead-form :is(input,select) {
    height:42px !important;
    min-height:42px !important;
}
.choma-portal-app.choma-view-lead .choma-lead-form :is(input,select,textarea):focus {
    border-color:#6e9abc !important;
    box-shadow:0 0 0 3px rgba(12,90,255,.08) !important;
}
.choma-portal-app.choma-view-lead .choma-danger-zone {
    border-color:#e2cbd1 !important;
    background:linear-gradient(135deg,#fff 0%,#fff7f8 100%) !important;
}

@media (max-width:760px) {
    .choma-portal-app .choma-tool-assistant__controls {
        grid-template-columns:minmax(0,1fr) !important;
        gap:18px !important;
    }
    .choma-portal-app :is(.choma-mail-compose-form__assistant,form.choma-calendar-assistant,form.choma-note-composer).choma-tool-assistant,
    .choma-portal-app .choma-document-assistant.choma-tool-assistant form.choma-document-assistant__form {
        padding:20px 18px !important;
    }
    .choma-portal-app.choma-view-notes .choma-note-composer .choma-note-calendar-link {
        grid-template-columns:18px minmax(0,1fr) !important;
        height:auto !important;
        min-height:45px !important;
    }
    .choma-portal-app.choma-view-notes .choma-note-composer .choma-note-calendar-link input[type="date"] {
        grid-column:2 !important;
        width:100% !important;
    }
}

/* 1.8.81 — jeden wierny szablon Pomocy asystenta na podstawie widoku Poczty. */
.choma-portal-app .choma-assistant-template,
.choma-portal-app .choma-assistant-template form.choma-document-assistant__form {
    box-sizing:border-box !important;
}
.choma-portal-app :is(.choma-mail-compose-form__assistant,form.choma-calendar-assistant,form.choma-note-composer).choma-assistant-template {
    display:block !important;
    padding:28px 30px !important;
    border:1px solid #cadbe7 !important;
    border-radius:10px !important;
    background:linear-gradient(135deg,#f7fafc 0%,#edf4f8 100%) !important;
    box-shadow:0 14px 36px rgba(36,66,88,.08) !important;
}
.choma-portal-app .choma-document-assistant.choma-assistant-template {
    padding:0 !important;
}
.choma-portal-app .choma-document-assistant.choma-assistant-template form.choma-document-assistant__form {
    display:block !important;
    margin:0 !important;
    padding:28px 30px !important;
    border:0 !important;
    background:linear-gradient(135deg,#f7fafc 0%,#edf4f8 100%) !important;
}
.choma-portal-app .choma-assistant-template .choma-tool-assistant__head {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    gap:7px !important;
    margin:0 0 20px !important;
}
.choma-portal-app .choma-assistant-template .choma-tool-assistant__head > strong {
    margin:0 !important;
    color:#d3163a !important;
    font-size:12px !important;
    font-weight:800 !important;
    letter-spacing:.11em !important;
    line-height:1.2 !important;
    text-transform:uppercase !important;
}
.choma-portal-app .choma-assistant-template .choma-tool-assistant__head > p {
    margin:0 !important;
    color:#607484 !important;
    font-size:14px !important;
    font-weight:450 !important;
    line-height:1.4 !important;
}
.choma-portal-app .choma-assistant-template .choma-tool-assistant__controls {
    box-sizing:border-box !important;
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 262px 200px !important;
    align-items:end !important;
    gap:30px !important;
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
}
.choma-portal-app .choma-assistant-template .choma-tool-assistant__controls > .choma-dictation-field {
    position:static !important;
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    grid-auto-flow:row !important;
    grid-column:1 !important;
    align-items:stretch !important;
    gap:10px !important;
    min-width:0 !important;
    margin:0 !important;
    padding:0 !important;
    color:#092f53 !important;
    font-size:11px !important;
    font-weight:750 !important;
    letter-spacing:.06em !important;
    text-transform:uppercase !important;
}
.choma-portal-app .choma-assistant-template .choma-tool-assistant__controls > .choma-dictation-field > textarea {
    grid-column:1 !important;
    box-sizing:border-box !important;
    display:block !important;
    width:100% !important;
    height:178px !important;
    min-height:178px !important;
    max-height:178px !important;
    margin:0 !important;
    padding:14px 16px !important;
    border:1px solid #c8d8e3 !important;
    border-radius:8px !important;
    background:#fff !important;
    color:#092f53 !important;
    font-size:13px !important;
    font-weight:450 !important;
    letter-spacing:0 !important;
    line-height:1.5 !important;
    text-transform:none !important;
    resize:vertical !important;
}
.choma-portal-app .choma-assistant-template .choma-tool-assistant__controls > .choma-dictation-field > button[data-choma-dictation] {
    position:static !important;
    inset:auto !important;
    grid-column:1 !important;
    box-sizing:border-box !important;
    display:inline-flex !important;
    width:182px !important;
    min-width:182px !important;
    max-width:182px !important;
    height:44px !important;
    min-height:44px !important;
    max-height:44px !important;
    align-items:center !important;
    justify-content:center !important;
    justify-self:start !important;
    margin:2px 0 0 !important;
    padding:0 15px !important;
    border:1px solid #8eaec5 !important;
    border-left:4px solid #d3163a !important;
    border-radius:7px !important;
    background:linear-gradient(135deg,#fff 0%,#f4f7f9 100%) !important;
    color:#0b49c8 !important;
    box-shadow:none !important;
    font-size:11px !important;
    font-weight:800 !important;
    letter-spacing:.08em !important;
    line-height:1 !important;
}
.choma-portal-app .choma-assistant-template .choma-tool-assistant__controls > .choma-dictation-field > button[data-choma-dictation]:hover,
.choma-portal-app .choma-assistant-template .choma-tool-assistant__controls > .choma-dictation-field > button[data-choma-dictation]:focus-visible {
    border-color:#5d88a8 !important;
    border-left-color:#d3163a !important;
    background:linear-gradient(135deg,#fff 0%,#eef3f6 100%) !important;
    color:#0b49c8 !important;
    box-shadow:5px 7px 17px rgba(36,66,88,.11) !important;
    transform:translateY(-1px) !important;
}
.choma-portal-app .choma-assistant-template .choma-assistant-template__style {
    box-sizing:border-box !important;
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    grid-column:2 !important;
    align-self:end !important;
    gap:8px !important;
    min-width:0 !important;
    margin:0 !important;
    padding:0 !important;
    color:#092f53 !important;
    font-size:11px !important;
    font-weight:750 !important;
    letter-spacing:.06em !important;
    text-transform:uppercase !important;
}
.choma-portal-app .choma-assistant-template .choma-assistant-template__style > select {
    box-sizing:border-box !important;
    display:block !important;
    width:100% !important;
    height:44px !important;
    min-height:44px !important;
    max-height:44px !important;
    margin:0 !important;
    padding:0 13px !important;
    border:1px solid #c8d8e3 !important;
    border-radius:8px !important;
    background:#fff !important;
    color:#092f53 !important;
    font-size:12px !important;
    font-weight:650 !important;
    letter-spacing:0 !important;
    text-transform:none !important;
}
.choma-portal-app .choma-assistant-template .choma-tool-assistant__controls > .choma-tool-assistant__submit {
    box-sizing:border-box !important;
    display:inline-flex !important;
    grid-column:3 !important;
    width:200px !important;
    min-width:200px !important;
    max-width:200px !important;
    height:44px !important;
    min-height:44px !important;
    max-height:44px !important;
    align-items:center !important;
    justify-content:center !important;
    align-self:end !important;
    margin:0 !important;
    padding:0 12px !important;
    border:1px solid #0a4bd0 !important;
    border-left:4px solid #d3163a !important;
    border-radius:7px !important;
    background:var(--oso-gradient) !important;
    color:#fff !important;
    box-shadow:0 6px 16px rgba(12,90,255,.14) !important;
    font-size:10px !important;
    font-weight:700 !important;
    letter-spacing:.045em !important;
    line-height:1 !important;
    text-align:center !important;
    white-space:nowrap !important;
}
.choma-portal-app .choma-assistant-template .choma-tool-assistant__controls > .choma-tool-assistant__submit:hover,
.choma-portal-app .choma-assistant-template .choma-tool-assistant__controls > .choma-tool-assistant__submit:focus-visible {
    border-color:#0a4bd0 !important;
    border-left-color:#d3163a !important;
    background:var(--oso-gradient) !important;
    color:#fff !important;
    box-shadow:5px 7px 17px rgba(18,104,238,.22) !important;
    transform:translateY(-1px) !important;
}
.choma-portal-app.choma-view-notes .choma-note-composer.choma-assistant-template .choma-note-assistant__meta {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    gap:14px !important;
    margin-top:20px !important;
    padding-top:18px !important;
    border-top:1px solid #d7e2e9 !important;
}
.choma-portal-app.choma-view-notes .choma-note-composer.choma-assistant-template .choma-note-calendar-link > :is(input,span) {
    position:static !important;
    top:auto !important;
}

@media (max-width:1050px) and (min-width:761px) {
    .choma-portal-app .choma-assistant-template .choma-tool-assistant__controls {
        grid-template-columns:minmax(0,1fr) 220px 180px !important;
        gap:18px !important;
    }
    .choma-portal-app .choma-assistant-template .choma-tool-assistant__controls > .choma-tool-assistant__submit {
        width:180px !important;
        min-width:180px !important;
        max-width:180px !important;
        font-size:9px !important;
    }
}
@media (max-width:760px) {
    .choma-portal-app .choma-assistant-template .choma-tool-assistant__controls {
        grid-template-columns:minmax(0,1fr) !important;
        align-items:stretch !important;
        gap:18px !important;
    }
    .choma-portal-app .choma-assistant-template .choma-assistant-template__style,
    .choma-portal-app .choma-assistant-template .choma-tool-assistant__controls > .choma-tool-assistant__submit {
        grid-column:1 !important;
        width:100% !important;
        min-width:0 !important;
        max-width:none !important;
    }
    .choma-portal-app .choma-assistant-template .choma-tool-assistant__controls > .choma-dictation-field {
        grid-column:1 !important;
    }
    .choma-portal-app :is(.choma-mail-compose-form__assistant,form.choma-calendar-assistant,form.choma-note-composer).choma-assistant-template,
    .choma-portal-app .choma-document-assistant.choma-assistant-template form.choma-document-assistant__form {
        padding:20px 18px !important;
    }
}

/* 1.8.82 — końcowe reguły nowego przepływu asystenta. */
.choma-portal-app .choma-note-assistant.choma-assistant-template{padding:0!important;overflow:hidden!important}
.choma-portal-app .choma-note-assistant.choma-assistant-template form.choma-note-assistant__form{display:block!important;box-sizing:border-box!important;width:100%!important;margin:0!important;padding:28px 30px!important;border:0!important;background:linear-gradient(135deg,#f7fafc 0%,#edf4f8 100%)!important}
.choma-portal-app.choma-view-calendar .choma-calendar-assistant.choma-assistant-template .choma-tool-assistant__controls{grid-template-columns:minmax(0,1fr) 200px!important}
.choma-portal-app.choma-view-calendar .choma-calendar-assistant.choma-assistant-template .choma-tool-assistant__submit{grid-column:2!important}
.choma-portal-app.choma-view-notes .choma-note-manual-form>:is(label:first-of-type,label:nth-of-type(2),.choma-note-calendar-link,.choma-note-submit){grid-column:1/-1!important}
.choma-portal-app.choma-view-notes .choma-note-manual-form>.choma-note-calendar-link{box-sizing:border-box!important;display:grid!important;grid-template-columns:18px minmax(0,1fr) 190px!important;align-items:center!important;gap:11px!important;height:54px!important;min-height:54px!important;margin:0!important;padding:4px 12px!important;border:1px solid #d7e1e8!important;border-radius:8px!important;background:linear-gradient(135deg,#fff 0%,#f7fafc 100%)!important;letter-spacing:0!important;text-transform:none!important}
.choma-portal-app.choma-view-notes .choma-note-manual-form>.choma-note-calendar-link>input[type="checkbox"],.choma-portal-app.choma-view-notes .choma-note-manual-form>.choma-note-calendar-link>.choma-note-calendar-label{position:static!important;top:auto!important;align-self:center!important;margin-top:0!important;margin-bottom:0!important}
.choma-portal-app.choma-view-notes .choma-note-manual-form>.choma-note-calendar-link input[type="date"]{box-sizing:border-box!important;width:190px!important;height:36px!important;min-height:36px!important;max-height:36px!important;padding:0 12px!important}
@media (max-width:1050px) and (min-width:761px){.choma-portal-app.choma-view-calendar .choma-calendar-assistant.choma-assistant-template .choma-tool-assistant__controls{grid-template-columns:minmax(0,1fr) 180px!important}}
@media (max-width:760px){.choma-portal-app.choma-view-calendar .choma-calendar-assistant.choma-assistant-template .choma-tool-assistant__controls{grid-template-columns:minmax(0,1fr)!important}.choma-portal-app.choma-view-calendar .choma-calendar-assistant.choma-assistant-template .choma-tool-assistant__submit{grid-column:1!important}.choma-portal-app .choma-note-assistant.choma-assistant-template form.choma-note-assistant__form{padding:20px 18px!important}.choma-portal-app.choma-view-notes .choma-note-manual-form>.choma-note-calendar-link{grid-template-columns:18px minmax(0,1fr)!important;height:auto!important;min-height:54px!important}.choma-portal-app.choma-view-notes .choma-note-manual-form>.choma-note-calendar-link input[type="date"]{grid-column:2!important;width:100%!important}}

/* 1.8.86 — dokumenty i notatnik: prawa para kontrolek ma wzorcowe 36 px jak DYKTUJ w Poczcie. */
body.choma-portal-app:is(.choma-view-documents,.choma-view-notes) .choma-main .choma-assistant-template .choma-tool-assistant__controls > .choma-assistant-template__style > select,
body.choma-portal-app:is(.choma-view-documents,.choma-view-notes) .choma-main .choma-assistant-template .choma-tool-assistant__controls > button.choma-tool-assistant__submit {
    box-sizing:border-box !important;
    block-size:36px !important;
    min-block-size:36px !important;
    max-block-size:36px !important;
    height:36px !important;
    min-height:36px !important;
    max-height:36px !important;
    margin-block:0 !important;
    padding-block:0 !important;
    line-height:1 !important;
}

/* 1.8.87 — zwarty, spójny interfejs całego Centrum na telefonach i tabletach. */
@media (max-width:900px) {
    html {
        background:#fff !important;
    }
    body.choma-portal-app {
        --choma-mobile-header:58px;
        --choma-mobile-nav:50px;
        background:#f3f6f8 !important;
    }
    .choma-portal-app .choma-topbar {
        z-index:80 !important;
        min-height:var(--choma-mobile-header) !important;
        height:var(--choma-mobile-header) !important;
        justify-content:flex-start !important;
        gap:7px !important;
        padding:0 11px !important;
        border-bottom:1px solid #dbe4ea !important;
        background:#fff !important;
        box-shadow:0 5px 18px rgba(16,44,66,.07) !important;
        backdrop-filter:none !important;
    }
    .choma-portal-app .choma-topbar__mobile-logo {
        display:block !important;
        width:min(158px,42vw) !important;
        min-width:0 !important;
        margin:0 !important;
    }
    .choma-portal-app .choma-topbar__mobile-logo img {
        display:block !important;
        width:100% !important;
        max-width:158px !important;
        height:auto !important;
    }
    .choma-portal-app .choma-mobile-module-menu {
        position:relative !important;
        z-index:82 !important;
        display:block !important;
        flex:0 0 auto !important;
        margin:0 0 0 auto !important;
    }
    .choma-portal-app .choma-mobile-module-menu summary {
        position:relative !important;
        z-index:84 !important;
        display:inline-flex !important;
        width:55px !important;
        min-width:55px !important;
        height:32px !important;
        align-items:center !important;
        justify-content:center !important;
        padding:0 !important;
        border:1px solid #0a4bd0 !important;
        border-left:4px solid #d3163a !important;
        border-radius:7px !important;
        background:var(--oso-gradient,linear-gradient(135deg,#16488b 0%,#0871ff 100%)) !important;
        color:#fff !important;
        box-shadow:0 5px 13px rgba(12,90,255,.17) !important;
        font-size:8px !important;
        font-weight:820 !important;
        letter-spacing:.09em !important;
        line-height:1 !important;
    }
    .choma-portal-app .choma-mobile-module-menu[open]::before {
        position:fixed !important;
        z-index:81 !important;
        inset:var(--choma-mobile-header) 0 0 !important;
        background:rgba(8,28,46,.28) !important;
        content:"" !important;
        backdrop-filter:blur(2px) !important;
    }
    .choma-portal-app .choma-mobile-module-menu nav {
        position:fixed !important;
        z-index:83 !important;
        top:calc(var(--choma-mobile-header) + 8px) !important;
        right:11px !important;
        bottom:auto !important;
        left:11px !important;
        display:grid !important;
        width:auto !important;
        max-height:none !important;
        align-content:start !important;
        gap:6px !important;
        padding:11px !important;
        overflow:visible !important;
        border:1px solid rgba(255,255,255,.16) !important;
        border-radius:13px !important;
        background:linear-gradient(145deg,#061d47 0%,#083f9f 52%,#0b6cf2 100%) !important;
        box-shadow:0 20px 48px rgba(4,24,54,.32) !important;
        overscroll-behavior:auto !important;
    }
    .choma-portal-app .choma-mobile-module-menu__group {
        display:block !important;
        margin:8px 7px 3px !important;
        color:rgba(255,255,255,.62) !important;
        font-size:7px !important;
        font-weight:820 !important;
        letter-spacing:.16em !important;
        line-height:1.2 !important;
    }
    .choma-portal-app .choma-mobile-module-menu__group:first-child {
        margin-top:2px !important;
    }
    .choma-portal-app .choma-mobile-module-menu nav a {
        display:flex !important;
        min-height:36px !important;
        align-items:center !important;
        gap:9px !important;
        padding:0 11px !important;
        border:1px solid rgba(255,255,255,.09) !important;
        border-left:3px solid #d3163a !important;
        border-radius:7px !important;
        background:rgba(255,255,255,.055) !important;
        color:rgba(255,255,255,.88) !important;
        font-size:12px !important;
        font-weight:680 !important;
        letter-spacing:.025em !important;
        text-decoration:none !important;
    }
    .choma-portal-app .choma-mobile-module-menu nav a:hover,
    .choma-portal-app .choma-mobile-module-menu nav a:focus-visible {
        background:rgba(255,255,255,.12) !important;
        color:#fff !important;
    }
    .choma-portal-app .choma-mobile-module-menu nav a.is-active {
        border-color:rgba(255,255,255,.55) !important;
        border-left-color:#d3163a !important;
        background:#fff !important;
        color:#0b3e83 !important;
        box-shadow:0 7px 18px rgba(0,19,55,.18) !important;
    }
    .choma-portal-app .choma-mobile-module-menu nav a .choma-nav-icon {
        display:inline-flex !important;
        width:18px !important;
        height:18px !important;
        align-items:center !important;
        justify-content:center !important;
        color:inherit !important;
        font-size:14px !important;
    }
    .choma-portal-app .choma-topbar__right {
        flex:0 0 auto !important;
        gap:0 !important;
        margin:0 !important;
    }
    .choma-portal-app .choma-user {
        gap:5px !important;
    }
    .choma-portal-app .choma-user > span {
        width:32px !important;
        height:32px !important;
        border:0 !important;
        background:var(--oso-gradient,linear-gradient(135deg,#16488b 0%,#0871ff 100%)) !important;
        color:#fff !important;
        box-shadow:0 4px 12px rgba(12,90,255,.18) !important;
        font-size:9px !important;
    }
    .choma-portal-app .choma-user div {
        display:none !important;
    }
    .choma-portal-app .choma-logout-button {
        display:inline-flex !important;
        width:29px !important;
        height:29px !important;
        align-items:center !important;
        justify-content:center !important;
        border:1px solid #f0a9b7 !important;
        border-radius:50% !important;
        background:#fff5f7 !important;
        color:#c71738 !important;
        font-size:13px !important;
        opacity:1 !important;
    }
    .choma-portal-app .choma-system-header {
        display:none !important;
    }
    .choma-portal-app .choma-main {
        padding-bottom:calc(var(--choma-mobile-nav) + 18px + env(safe-area-inset-bottom)) !important;
    }
    .choma-portal-app .choma-mobile-nav {
        z-index:70 !important;
        display:grid !important;
        min-height:var(--choma-mobile-nav) !important;
        height:calc(var(--choma-mobile-nav) + env(safe-area-inset-bottom)) !important;
        grid-template-columns:repeat(3,minmax(0,1fr)) !important;
        padding:0 0 env(safe-area-inset-bottom) !important;
        border-top:1px solid #d7e2e9 !important;
        background:rgba(255,255,255,.97) !important;
        box-shadow:0 -8px 24px rgba(16,44,66,.10) !important;
        backdrop-filter:blur(12px) !important;
    }
    .choma-portal-app .choma-mobile-nav a {
        min-width:0 !important;
        height:var(--choma-mobile-nav) !important;
        flex-direction:column !important;
        gap:1px !important;
        justify-content:center !important;
        padding:3px 4px !important;
        border:0 !important;
        color:#566d7d !important;
        background:transparent !important;
        font-size:8px !important;
        font-weight:720 !important;
        letter-spacing:.02em !important;
    }
    .choma-portal-app .choma-mobile-nav a.is-active {
        color:#fff !important;
        background:linear-gradient(135deg,#16488b 0%,#0871ff 100%) !important;
        box-shadow:inset 0 3px #d3163a !important;
    }
    .choma-portal-app .choma-mobile-nav .choma-nav-icon {
        display:block !important;
        width:16px !important;
        height:16px !important;
        flex:0 0 16px !important;
        color:inherit !important;
        background:currentColor !important;
        font-size:0 !important;
        line-height:0 !important;
        -webkit-mask-position:center !important;
        -webkit-mask-repeat:no-repeat !important;
        -webkit-mask-size:contain !important;
        mask-position:center !important;
        mask-repeat:no-repeat !important;
        mask-size:contain !important;
    }
    .choma-portal-app .choma-mobile-nav .choma-nav-link--dashboard .choma-nav-icon {
        -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 11.5 12 4l9 7.5v8a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1z' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
        mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 11.5 12 4l9 7.5v8a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1z' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    }
    .choma-portal-app .choma-mobile-nav .choma-nav-link--leads .choma-nav-icon {
        -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='3.2' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='M5.5 20c.6-4 2.8-6 6.5-6s5.9 2 6.5 6' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") !important;
        mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='3.2' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='M5.5 20c.6-4 2.8-6 6.5-6s5.9 2 6.5 6' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") !important;
    }
    .choma-portal-app .choma-mobile-nav .choma-nav-link--phone .choma-nav-icon {
        -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.2 3.5 4.8 5.9c-.8.8-.4 4.1 3.4 7.9s7.1 4.2 7.9 3.4l2.4-2.4-4-3-1.7 1.7c-1.5-.7-3.6-2.8-4.3-4.3l1.7-1.7z' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
        mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.2 3.5 4.8 5.9c-.8.8-.4 4.1 3.4 7.9s7.1 4.2 7.9 3.4l2.4-2.4-4-3-1.7 1.7c-1.5-.7-3.6-2.8-4.3-4.3l1.7-1.7z' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    }
}

@media (max-width:760px) {
    .choma-portal-app .choma-main {
        width:100% !important;
        padding:18px 12px calc(var(--choma-mobile-nav) + 18px + env(safe-area-inset-bottom)) !important;
    }
    .choma-portal-app .choma-page-head,
    .choma-portal-app .choma-module-head,
    .choma-portal-app:is(.choma-view-dashboard,.choma-view-mail,.choma-view-message,.choma-view-calendar,.choma-view-documents,.choma-view-notes) .choma-module-head {
        min-height:0 !important;
        align-items:flex-start !important;
        gap:12px !important;
        margin-bottom:17px !important;
        padding:0 2px 14px !important;
    }
    .choma-portal-app .choma-module-head::after {
        height:2px !important;
        background:linear-gradient(90deg,#d3163a 0 58px,rgba(11,73,200,.16) 58px 100%) !important;
    }
    .choma-portal-app .choma-page-head .choma-eyebrow,
    .choma-portal-app .choma-module-head .choma-eyebrow {
        margin-bottom:6px !important;
        font-size:9px !important;
        letter-spacing:.12em !important;
    }
    .choma-portal-app .choma-page-head h1,
    .choma-portal-app .choma-page-head--compact h1,
    .choma-portal-app .choma-page-head--lead h1 {
        margin-bottom:5px !important;
        font-size:clamp(31px,9.2vw,39px) !important;
        line-height:1.02 !important;
    }
    .choma-portal-app .choma-page-head p {
        font-size:12px !important;
        line-height:1.42 !important;
    }
    .choma-portal-app .choma-page-head > .choma-btn,
    .choma-portal-app .choma-page-head > a.choma-btn {
        width:100% !important;
        font-size:9px !important;
        white-space:nowrap !important;
    }
    .choma-portal-app .choma-panel,
    .choma-portal-app .choma-center-panel,
    .choma-portal-app:is(.choma-view-dashboard,.choma-view-mail,.choma-view-message,.choma-view-calendar,.choma-view-documents,.choma-view-notes) :is(.choma-panel,.choma-mail-screen,.choma-message,.choma-calendar-shell,.choma-calendar-create,.choma-calendar-voice-note) {
        border-radius:10px !important;
        box-shadow:0 7px 20px rgba(36,66,88,.055) !important;
    }
    .choma-portal-app .choma-panel__head,
    .choma-portal-app:is(.choma-view-dashboard,.choma-view-mail,.choma-view-message,.choma-view-calendar,.choma-view-documents,.choma-view-notes) :is(.choma-panel,.choma-mail-screen,.choma-message,.choma-calendar-create,.choma-calendar-voice-note) > :is(.choma-panel__head,.choma-mail-screen__head) {
        min-height:0 !important;
        align-items:center !important;
        gap:9px !important;
        padding:13px 14px 11px !important;
    }
    .choma-portal-app .choma-panel__head .choma-eyebrow {
        margin-bottom:4px !important;
        font-size:8px !important;
    }
    .choma-portal-app .choma-panel__head h2 {
        font-size:23px !important;
        line-height:1.05 !important;
    }
    .choma-portal-app .choma-empty {
        padding:24px 15px !important;
    }
    .choma-portal-app .choma-empty strong {
        font-size:14px !important;
    }
    .choma-portal-app .choma-empty p {
        font-size:10px !important;
    }

    /* Biuro: statystyki i listy są wyraźnie niższe. */
    .choma-portal-app.choma-view-dashboard .choma-metrics,
    .choma-portal-app.choma-view-dashboard .choma-center-glance,
    .choma-portal-app.choma-view-dashboard .choma-center-glance--tools {
        grid-template-columns:1fr !important;
        gap:7px !important;
        margin-bottom:12px !important;
    }
    .choma-portal-app.choma-view-dashboard .choma-metric,
    .choma-portal-app.choma-view-dashboard .choma-center-glance-card {
        min-height:64px !important;
        height:64px !important;
        grid-template-columns:42px minmax(0,1fr) 16px !important;
        gap:9px !important;
        padding:8px 13px !important;
        border-radius:9px !important;
    }
    .choma-portal-app.choma-view-dashboard :is(.choma-metric,.choma-center-glance-card) > span {
        min-width:0 !important;
        font-size:24px !important;
    }
    .choma-portal-app.choma-view-dashboard :is(.choma-metric,.choma-center-glance-card) > div {
        gap:2px !important;
    }
    .choma-portal-app.choma-view-dashboard :is(.choma-metric,.choma-center-glance-card) strong {
        font-size:12px !important;
        line-height:1.15 !important;
    }
    .choma-portal-app.choma-view-dashboard :is(.choma-metric,.choma-center-glance-card) small {
        font-size:9px !important;
        line-height:1.2 !important;
    }
    .choma-portal-app.choma-view-dashboard :is(.choma-metric,.choma-center-glance-card) > b {
        font-size:15px !important;
    }
    .choma-portal-app.choma-view-dashboard .choma-dashboard-grid {
        gap:12px !important;
        margin-bottom:12px !important;
    }
    .choma-portal-app.choma-view-dashboard .choma-task-list a {
        grid-template-columns:52px minmax(0,1fr) 14px !important;
        gap:8px !important;
        padding:8px 12px !important;
    }
    .choma-portal-app.choma-view-dashboard .choma-task-list strong,
    .choma-portal-app.choma-view-dashboard .choma-pipeline span {
        font-size:11px !important;
    }
    .choma-portal-app.choma-view-dashboard .choma-task-list small {
        font-size:8px !important;
    }
    .choma-portal-app.choma-view-dashboard .choma-pipeline {
        padding:9px 12px 12px !important;
    }
    .choma-portal-app.choma-view-dashboard .choma-pipeline a {
        min-height:32px !important;
        padding:5px 7px !important;
    }
    .choma-portal-app.choma-view-dashboard .choma-panel--latest > .choma-panel__head {
        display:grid !important;
        grid-template-columns:minmax(0,1fr) auto !important;
        align-items:center !important;
    }
    .choma-portal-app.choma-view-dashboard .choma-panel--latest > .choma-panel__head > a {
        width:auto !important;
        min-width:0 !important;
        min-height:30px !important;
        height:30px !important;
        padding:0 10px !important;
        font-size:7px !important;
        letter-spacing:.045em !important;
        line-height:1 !important;
        white-space:nowrap !important;
    }

    /* Wszystkie tabele przechodzą w zwarte, dwukolumnowe karty bez podwójnych rantów. */
    .choma-portal-app .choma-portal-table tbody {
        display:grid !important;
        gap:7px !important;
        padding:7px 0 !important;
    }
    .choma-portal-app .choma-portal-table tbody tr {
        position:relative !important;
        display:grid !important;
        width:100% !important;
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        gap:3px 11px !important;
        padding:9px 11px 9px 14px !important;
        border:1px solid #dce5eb !important;
        border-left:3px solid #0b59e6 !important;
        border-radius:8px !important;
        background:#fff !important;
        box-shadow:none !important;
    }
    .choma-portal-app .choma-portal-table tbody tr:hover td {
        background:transparent !important;
    }
    .choma-portal-app .choma-portal-table tbody td,
    .choma-portal-app .choma-portal-table tbody td:first-child,
    .choma-portal-app .choma-portal-table tbody td:last-child {
        position:static !important;
        display:grid !important;
        width:100% !important;
        min-width:0 !important;
        grid-template-columns:1fr !important;
        gap:2px !important;
        padding:3px 0 !important;
        border:0 !important;
        border-radius:0 !important;
        background:transparent !important;
        box-shadow:none !important;
    }
    .choma-portal-app .choma-portal-table tbody td:first-child {
        grid-column:1 / -1 !important;
        padding:0 26px 6px 0 !important;
        border-bottom:1px solid #edf1f4 !important;
    }
    .choma-portal-app .choma-portal-table tbody td::before {
        display:block !important;
        color:#7b8d99 !important;
        font-size:7px !important;
        line-height:1.15 !important;
    }
    .choma-portal-app .choma-portal-table tbody td:first-child::before,
    .choma-portal-app .choma-portal-table tbody td:last-child::before {
        display:none !important;
    }
    .choma-portal-app .choma-portal-table:not(.choma-center-table) tbody td:last-child {
        position:absolute !important;
        top:10px !important;
        right:10px !important;
        width:auto !important;
        padding:0 !important;
    }
    .choma-portal-app .choma-portal-table tbody .choma-client {
        display:grid !important;
        gap:1px !important;
        padding-left:0 !important;
        border-left:0 !important;
    }
    .choma-portal-app .choma-portal-table tbody .choma-client strong {
        font-size:12px !important;
        line-height:1.2 !important;
    }
    .choma-portal-app .choma-portal-table tbody :is(.choma-client small,td > small) {
        margin:0 !important;
        font-size:8px !important;
        line-height:1.25 !important;
    }
    .choma-portal-app .choma-portal-table tbody :is(.choma-kind-label,.choma-stage) {
        min-height:24px !important;
        width:max-content !important;
        max-width:100% !important;
        padding:0 9px !important;
        font-size:8px !important;
    }
    .choma-portal-app .choma-center-table tbody td:last-child {
        grid-column:1 / -1 !important;
        padding-top:5px !important;
        border-top:1px solid #edf1f4 !important;
    }

    /* Formularze i akcje. */
    .choma-portal-app .choma-portal-filters,
    .choma-portal-app .choma-quick-create form,
    .choma-portal-app .choma-editor-panel form,
    .choma-portal-app .choma-lead-form,
    .choma-portal-app .choma-mail-screen .choma-mail-compose-form,
    .choma-portal-app.choma-view-calendar .choma-calendar-create > form:not(.choma-calendar-assistant),
    .choma-portal-app.choma-view-documents .choma-document-editor > form,
    .choma-portal-app.choma-view-notes .choma-note-manual-form {
        gap:11px !important;
        padding:14px !important;
    }
    .choma-portal-app .choma-portal-filters {
        grid-template-columns:1fr !important;
        margin-bottom:14px !important;
    }
    .choma-portal-app :is(.choma-portal-filters,.choma-quick-create,.choma-editor-panel,.choma-lead-form,.choma-mail-compose-form,.choma-calendar-create,.choma-document-editor,.choma-note-manual-form) :is(input[type="text"]:not(.choma-datetime-display),input[type="email"],input[type="search"],input[type="date"],input[type="datetime-local"],select) {
        min-height:40px !important;
        height:40px !important;
        padding:0 11px !important;
        font-size:12px !important;
    }
    .choma-portal-app :is(.choma-portal-filters,.choma-quick-create,.choma-editor-panel,.choma-lead-form,.choma-mail-compose-form,.choma-calendar-create,.choma-document-editor,.choma-note-manual-form) textarea {
        min-height:96px !important;
        padding:10px 11px !important;
        font-size:12px !important;
    }
    .choma-portal-app .choma-portal-filters .choma-filter-clear {
        min-height:34px !important;
        height:34px !important;
        padding:0 11px !important;
        font-size:8px !important;
    }
    .choma-portal-app .choma-filter-clear {
        display:flex !important;
        align-items:center !important;
        justify-content:center !important;
        padding:0 8px !important;
    }
    .choma-portal-app .choma-rich-editor__toolbar {
        gap:4px !important;
        padding:6px !important;
    }
    .choma-portal-app .choma-rich-editor__toolbar button {
        min-height:29px !important;
        padding:4px 7px !important;
        font-size:10px !important;
    }
    .choma-portal-app .choma-rich-editor__surface {
        min-height:210px !important;
        padding:14px !important;
        font-size:14px !important;
    }

    /* Poczta. */
    .choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-tabs {
        gap:6px !important;
        margin-bottom:9px !important;
        padding:6px !important;
        border-radius:9px !important;
    }
    .choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-tabs > a,
    .choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-tabs > a:first-child,
    .choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-tabs > a:not(:first-child) {
        min-width:max-content !important;
        min-height:32px !important;
        height:32px !important;
        padding:0 10px 0 13px !important;
        font-size:9px !important;
        white-space:nowrap !important;
    }
    .choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-folder-tabs {
        gap:5px !important;
        margin-bottom:10px !important;
        padding:5px !important;
    }
    .choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-folder-tabs > a {
        min-height:30px !important;
        height:30px !important;
        padding:0 10px !important;
        font-size:9px !important;
    }
    .choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-screen > .choma-mail-list,
    .choma-portal-app.choma-view-documents .choma-document-database > .choma-mail-list {
        gap:6px !important;
        padding:8px !important;
    }
    .choma-portal-app .choma-mail-list > a,
    .choma-portal-app .choma-mail-list > div {
        min-height:46px !important;
        grid-template-columns:minmax(0,1fr) auto !important;
        gap:2px 9px !important;
        padding:8px 10px 8px 13px !important;
        border:1px solid #dce5eb !important;
        border-radius:7px !important;
    }
    .choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-list > a > :is(span,strong) {
        grid-column:1 !important;
        min-width:0 !important;
        overflow:hidden !important;
        text-overflow:ellipsis !important;
        white-space:nowrap !important;
        font-size:12px !important;
        line-height:1.2 !important;
    }
    .choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-list > a > time {
        grid-column:2 !important;
        grid-row:1 !important;
        align-self:start !important;
        font-size:10px !important;
        line-height:1.2 !important;
    }
    .choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-attachment-upload {
        align-items:stretch !important;
        flex-direction:column !important;
        gap:7px !important;
        width:100% !important;
    }
    .choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-attachment-upload__button {
        width:max-content !important;
        font-size:9px !important;
    }
    .choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-compose-form > .choma-btn--primary {
        width:100% !important;
        font-size:11px !important;
    }
    .choma-portal-app.choma-view-message .choma-message__body {
        min-height:0 !important;
        padding:16px 14px !important;
        font-size:13px !important;
    }

    /* Kalendarz. */
    .choma-portal-app.choma-view-calendar .choma-calendar-summary,
    .choma-portal-app.choma-view-calendar .choma-calendar-summary:last-child {
        grid-template-columns:repeat(3,minmax(0,1fr)) !important;
        gap:6px !important;
        margin-bottom:12px !important;
    }
    .choma-portal-app.choma-view-calendar .choma-calendar-summary article,
    .choma-portal-app.choma-view-calendar .choma-calendar-summary article:first-child,
    .choma-portal-app.choma-view-calendar .choma-calendar-summary article:last-child {
        min-height:64px !important;
        height:64px !important;
        grid-column:auto !important;
        padding:9px 10px 11px !important;
    }
    .choma-portal-app.choma-view-calendar .choma-calendar-summary article span {
        font-size:8px !important;
    }
    .choma-portal-app.choma-view-calendar .choma-calendar-summary article strong {
        margin-top:3px !important;
        font-size:15px !important;
        line-height:1.05 !important;
        overflow-wrap:anywhere !important;
    }
    .choma-portal-app.choma-view-calendar .choma-calendar-toolbar {
        gap:8px !important;
        padding:13px 14px !important;
    }
    .choma-portal-app.choma-view-calendar .choma-calendar-toolbar h2 {
        font-size:22px !important;
    }
    .choma-portal-app.choma-view-calendar .choma-calendar-toolbar nav a {
        width:31px !important;
        height:31px !important;
    }
    .choma-portal-app.choma-view-calendar .choma-calendar-months {
        padding:12px 10px 0 !important;
    }
    .choma-portal-app.choma-view-calendar .choma-calendar-days a,
    .choma-portal-app.choma-view-calendar .choma-calendar-days > .is-empty {
        min-height:34px !important;
        font-size:10px !important;
    }
    .choma-portal-app.choma-view-calendar .choma-calendar-day-events {
        margin:12px 12px 0 !important;
        padding-bottom:12px !important;
    }
    .choma-portal-app.choma-view-calendar .choma-calendar-event-list {
        gap:6px !important;
    }
    .choma-portal-app.choma-view-calendar .choma-calendar-event-list article {
        min-height:0 !important;
        padding:8px 10px 8px 13px !important;
    }
    .choma-portal-app.choma-view-calendar .choma-calendar-event-list :is(strong,p,time) {
        line-height:1.25 !important;
    }

    /* Dokumenty, notatki i asystenci. */
    .choma-portal-app .choma-assistant-template,
    .choma-portal-app .choma-note-assistant.choma-assistant-template form.choma-note-assistant__form,
    .choma-portal-app .choma-document-assistant.choma-assistant-template form.choma-document-assistant__form,
    .choma-portal-app :is(.choma-mail-compose-form__assistant,form.choma-calendar-assistant,form.choma-note-composer).choma-assistant-template {
        padding:14px !important;
    }
    .choma-portal-app .choma-assistant-template textarea,
    .choma-portal-app .choma-tool-assistant__prompt,
    .choma-portal-app .choma-assistant-template .choma-tool-assistant__controls > .choma-dictation-field > textarea {
        min-height:116px !important;
        max-height:116px !important;
        height:116px !important;
        padding:10px 11px !important;
        font-size:12px !important;
    }
    .choma-portal-app .choma-assistant-template .choma-tool-assistant__controls {
        gap:9px !important;
        margin-top:9px !important;
    }
    .choma-portal-app .choma-assistant-template .choma-assistant-template__style > select {
        min-height:36px !important;
        max-height:36px !important;
        height:36px !important;
        padding-top:0 !important;
        padding-bottom:0 !important;
    }
    .choma-portal-app .choma-note-manual-form > .choma-note-calendar-link {
        display:grid !important;
        min-height:48px !important;
        height:48px !important;
        grid-template-columns:18px minmax(0,1fr) 128px !important;
        align-items:center !important;
        gap:8px !important;
        padding:7px 10px !important;
    }
    .choma-portal-app .choma-note-manual-form > .choma-note-calendar-link input[type="date"] {
        grid-column:3 !important;
        width:128px !important;
        min-height:34px !important;
        height:34px !important;
        margin:0 !important;
    }
    .choma-portal-app :is(.choma-calendar-submit,.choma-document-submit,.choma-note-submit) {
        min-height:34px !important;
        height:34px !important;
        max-height:34px !important;
    }
    .choma-portal-app .choma-note-list > a,
    .choma-portal-app.choma-view-documents .choma-document-database > .choma-mail-list > a {
        min-height:44px !important;
        padding:7px 11px 7px 14px !important;
    }

    /* Statusy, ustawienia i widoki szczegółowe. */
    .choma-portal-app .choma-center-status-grid {
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        gap:7px !important;
        margin-bottom:12px !important;
    }
    .choma-portal-app .choma-center-status-card {
        min-height:62px !important;
        gap:2px !important;
        padding:9px 11px !important;
    }
    .choma-portal-app .choma-center-status-card strong {
        font-size:22px !important;
    }
    .choma-portal-app .choma-center-status-card span {
        font-size:7px !important;
    }
    .choma-portal-app.choma-view-settings .choma-theme-choices,
    .choma-portal-app.choma-view-settings .choma-branding-form {
        grid-template-columns:1fr !important;
        gap:8px !important;
    }
    .choma-portal-app.choma-view-settings .choma-theme-choice {
        min-height:64px !important;
        grid-template-columns:42px minmax(0,1fr) !important;
        padding:9px 11px !important;
    }
    .choma-portal-app.choma-view-settings .choma-theme-choice .choma-theme-swatch {
        width:39px !important;
        height:39px !important;
    }
    .choma-portal-app.choma-view-settings :is(.choma-appearance-panel,.choma-branding-panel,.choma-permissions-panel) > .choma-panel__head,
    .choma-portal-app.choma-view-settings :is(.choma-appearance-panel > form,.choma-branding-form,.choma-permissions-panel > form) {
        padding:14px !important;
    }
    .choma-portal-app.choma-view-lead .choma-page-head--lead {
        gap:10px !important;
    }
    .choma-portal-app.choma-view-lead .choma-lead-head__aside {
        width:100% !important;
        align-items:flex-start !important;
        gap:5px !important;
    }
    .choma-portal-app.choma-view-lead .choma-lead-actions {
        grid-template-columns:repeat(3,minmax(0,1fr)) !important;
        gap:6px !important;
        margin-bottom:12px !important;
    }
    .choma-portal-app.choma-view-lead .choma-lead-actions .choma-btn:first-child {
        grid-column:auto !important;
    }
    .choma-portal-app.choma-view-lead .choma-lead-grid,
    .choma-portal-app.choma-view-lead .choma-lead-grid > div {
        gap:10px !important;
    }
    .choma-portal-app.choma-view-lead .choma-lead-data {
        gap:0 !important;
        padding:3px 13px 12px !important;
    }
    .choma-portal-app.choma-view-lead .choma-lead-data > div {
        padding:8px 0 !important;
    }
    .choma-portal-app.choma-view-lead :is(.choma-source-data,.choma-portal-timeline) {
        padding-top:10px !important;
        padding-right:13px !important;
        padding-bottom:13px !important;
    }
    .choma-portal-app .choma-danger-zone p {
        margin:0 !important;
        padding:12px 13px 7px !important;
        font-size:10px !important;
    }
}

@media (max-width:390px) {
    .choma-portal-app .choma-topbar__mobile-logo {
        width:min(142px,39vw) !important;
    }
    .choma-portal-app .choma-mobile-module-menu summary {
        width:50px !important;
        min-width:50px !important;
    }
    .choma-portal-app .choma-user > span {
        width:30px !important;
        height:30px !important;
    }
    .choma-portal-app .choma-logout-button {
        width:27px !important;
        height:27px !important;
    }
    .choma-portal-app.choma-view-calendar .choma-calendar-summary article {
        padding-right:7px !important;
        padding-left:7px !important;
    }
    .choma-portal-app.choma-view-calendar .choma-calendar-summary article strong {
        font-size:13px !important;
    }
    .choma-portal-app .choma-note-manual-form > .choma-note-calendar-link {
        grid-template-columns:18px minmax(0,1fr) 112px !important;
    }
    .choma-portal-app .choma-note-manual-form > .choma-note-calendar-link input[type="date"] {
        width:112px !important;
        padding-right:7px !important;
        padding-left:7px !important;
        font-size:10px !important;
    }
}

@media (max-width:760px) {
    .choma-portal-app.choma-view-publications .choma-center-panel .choma-center-table tbody td,
    .choma-portal-app.choma-view-dashboard .choma-panel--latest .choma-portal-table tbody td,
    .choma-portal-app.choma-view-leads .choma-contacts-panel .choma-portal-table tbody td {
        padding:3px 0 !important;
        border:0 !important;
        border-radius:0 !important;
        background:transparent !important;
    }
    .choma-portal-app.choma-view-publications .choma-center-panel .choma-center-table tbody td:first-child,
    .choma-portal-app.choma-view-dashboard .choma-panel--latest .choma-portal-table tbody tr > td:first-child,
    .choma-portal-app.choma-view-leads .choma-contacts-panel .choma-portal-table tbody tr > td:first-child {
        padding:0 26px 6px 0 !important;
        border:0 !important;
        border-bottom:1px solid #edf1f4 !important;
        border-left:0 !important;
        border-radius:0 !important;
    }
    .choma-portal-app.choma-view-publications .choma-center-panel .choma-center-table tbody td:last-child {
        padding-top:5px !important;
        border-top:1px solid #edf1f4 !important;
    }
    .choma-portal-app.choma-view-dashboard .choma-panel--latest .choma-portal-table tbody tr,
    .choma-portal-app.choma-view-leads .choma-contacts-panel .choma-portal-table tbody tr {
        box-shadow:none !important;
    }
}

/* 1.8.88 FINAL — ta warstwa celowo pozostaje ostatnia w kaskadzie mobilnej. */
@media (max-width:900px) {
    body.choma-portal-app {
        --choma-mobile-header:58px;
        --choma-mobile-nav:44px;
    }
    .choma-portal-app .choma-topbar {
        gap:10px !important;
        padding-right:12px !important;
        padding-left:12px !important;
    }
    .choma-portal-app .choma-topbar__mobile-logo {
        width:min(180px,48vw) !important;
    }
    .choma-portal-app .choma-topbar__mobile-logo img {
        width:100% !important;
        max-width:180px !important;
    }
    .choma-portal-app .choma-mobile-module-menu {
        margin-left:auto !important;
    }
    .choma-portal-app .choma-mobile-module-menu summary {
        width:66px !important;
        min-width:66px !important;
    }
    .choma-portal-app .choma-topbar__right {
        margin-left:0 !important;
    }
    .choma-portal-app .choma-user {
        display:flex !important;
        gap:0 !important;
    }
    .choma-portal-app .choma-user-menu > summary {
        gap:0 !important;
    }
    .choma-portal-app .choma-user-menu > summary > span {
        width:34px !important;
        height:34px !important;
        border:1px solid #d3163a !important;
        background:linear-gradient(135deg,#16488b 0%,#0871ff 100%) !important;
        box-shadow:0 4px 12px rgba(12,90,255,.18) !important;
        color:#fff !important;
        font-size:11px !important;
    }
    .choma-portal-app .choma-user-menu > summary > div {
        display:none !important;
    }
    .choma-portal-app .choma-user-menu[open] > .choma-user-menu__popover {
        display:block !important;
    }
    .choma-portal-app .choma-user-menu__popover {
        top:calc(100% + 8px) !important;
        right:0 !important;
        min-width:126px !important;
        padding:5px !important;
    }
    .choma-portal-app .choma-user-menu__popover > a {
        min-height:32px !important;
        font-size:8px !important;
    }
    .choma-portal-app .choma-mobile-nav {
        min-height:var(--choma-mobile-nav) !important;
        height:calc(var(--choma-mobile-nav) + env(safe-area-inset-bottom)) !important;
    }
    .choma-portal-app .choma-mobile-nav a {
        height:var(--choma-mobile-nav) !important;
        gap:0 !important;
        padding:2px 4px !important;
        font-size:10px !important;
        line-height:1.05 !important;
    }
    .choma-portal-app .choma-mobile-nav .choma-nav-icon {
        width:15px !important;
        height:15px !important;
        flex-basis:15px !important;
    }
    .choma-portal-app .choma-mobile-nav .choma-nav-link--mail .choma-nav-icon {
        -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='14' rx='2' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='m4 7 8 6 8-6' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
        mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='14' rx='2' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='m4 7 8 6 8-6' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    }
    .choma-portal-app .choma-mobile-nav .choma-nav-link--calendar .choma-nav-icon {
        -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3.5' y='5.5' width='17' height='15' rx='2' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='M7 3.5v4M17 3.5v4M3.5 9.5h17' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") !important;
        mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3.5' y='5.5' width='17' height='15' rx='2' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='M7 3.5v4M17 3.5v4M3.5 9.5h17' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") !important;
    }
    .choma-portal-app .choma-mobile-nav .choma-nav-link--notes .choma-nav-icon {
        -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 4h14v16H5zM8 8h8M8 12h8M8 16h5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
        mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 4h14v16H5zM8 8h8M8 12h8M8 16h5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    }
}

@media (max-width:760px) {
    .choma-portal-app .choma-main > :is(.choma-page-head,.choma-module-head,.choma-metrics,.choma-center-glance,.choma-center-glance--tools,.choma-center-status-grid,.choma-dashboard-grid,.choma-panel,.choma-mail-tabs,.choma-mail-folder-tabs,.choma-calendar-summary),
    .choma-portal-app :is(.choma-quick-create,.choma-editor-panel,.choma-assistant-panel,.choma-mail-screen,.choma-message,.choma-calendar-shell,.choma-calendar-create,.choma-document-database,.choma-note-library),
    .choma-portal-app :is(.choma-mail-compose-form__assistant,form.choma-calendar-assistant,.choma-document-assistant,.choma-note-assistant,.choma-assistant-template) {
        box-sizing:border-box !important;
        width:100% !important;
        max-width:none !important;
        margin-right:0 !important;
        margin-left:0 !important;
    }
    .choma-portal-app.choma-view-calendar .choma-calendar-create form.choma-calendar-assistant.choma-assistant-template,
    .choma-portal-app.choma-view-documents .choma-document-assistant.choma-assistant-template form.choma-document-assistant__form,
    .choma-portal-app.choma-view-notes .choma-note-assistant.choma-assistant-template form.choma-note-assistant__form {
        box-sizing:border-box !important;
        width:100% !important;
        max-width:none !important;
        margin:0 !important;
        padding-right:14px !important;
        padding-left:14px !important;
    }
    .choma-portal-app .choma-page-head > :is(.choma-btn,a.choma-btn),
    .choma-portal-app .choma-module-head > :is(.choma-btn,a.choma-btn),
    .choma-portal-app .choma-mail-screen__head > :is(.choma-btn,a.choma-btn),
    .choma-portal-app .choma-message-back {
        box-sizing:border-box !important;
        width:100% !important;
        max-width:none !important;
        margin:0 !important;
        white-space:nowrap !important;
    }
    .choma-portal-app .choma-mail-screen__head {
        display:grid !important;
        grid-template-columns:minmax(0,1fr) !important;
        align-items:start !important;
    }
    .choma-portal-app .choma-mail-screen__head--empty-action {
        grid-template-columns:minmax(0,1fr) auto !important;
        align-items:center !important;
    }
    .choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-tabs {
        display:grid !important;
        overflow:visible !important;
        grid-template-columns:minmax(88px,.72fr) minmax(0,1.28fr) !important;
        grid-auto-rows:34px !important;
        align-items:start !important;
        gap:6px 8px !important;
        padding:7px !important;
    }
    .choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-tabs > a,
    .choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-tabs > a:first-child,
    .choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-tabs > a:not(:first-child) {
        box-sizing:border-box !important;
        width:100% !important;
        min-width:0 !important;
        min-height:34px !important;
        height:34px !important;
        justify-content:center !important;
        padding:0 8px !important;
        border:1px solid #d4e0e8 !important;
        border-left:3px solid #d3163a !important;
        border-radius:7px !important;
        font-size:8px !important;
        line-height:1.15 !important;
        text-align:center !important;
        white-space:normal !important;
    }
    .choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-tabs > a:first-child {
        grid-column:1 !important;
        grid-row:1 !important;
        white-space:nowrap !important;
    }
    .choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-tabs > a:not(:first-child) {
        grid-column:2 !important;
        position:relative !important;
        padding-left:22px !important;
    }
    .choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-tabs > a:not(:first-child) > i {
        left:9px !important;
    }
    body.choma-portal-app.choma-view-notes .choma-main .choma-note-manual-form > label.choma-note-calendar-link {
        position:relative !important;
        display:grid !important;
        box-sizing:border-box !important;
        min-height:42px !important;
        height:42px !important;
        grid-template-columns:18px minmax(0,1fr) 36px !important;
        align-items:center !important;
        gap:8px !important;
        padding:4px 7px 4px 10px !important;
        overflow:visible !important;
    }
    body.choma-portal-app.choma-view-notes .choma-main .choma-note-manual-form > label.choma-note-calendar-link > input[type="checkbox"],
    body.choma-portal-app.choma-view-notes .choma-main .choma-note-manual-form > label.choma-note-calendar-link > .choma-note-calendar-label {
        position:static !important;
        align-self:center !important;
        margin:0 !important;
    }
    body.choma-portal-app.choma-view-notes .choma-main .choma-note-manual-form > label.choma-note-calendar-link > .choma-note-calendar-label {
        font-size:10px !important;
        line-height:1.15 !important;
    }
    body.choma-portal-app.choma-view-notes .choma-main .choma-note-manual-form > label.choma-note-calendar-link > input[type="date"] {
        grid-column:3 !important;
        box-sizing:border-box !important;
        width:36px !important;
        min-width:36px !important;
        max-width:36px !important;
        min-height:32px !important;
        height:32px !important;
        max-height:32px !important;
        margin:0 !important;
        padding:0 6px !important;
        border:1px solid #cbd9e3 !important;
        border-radius:6px !important;
        background:#fff !important;
        color:transparent !important;
        font-size:0 !important;
    }
    body.choma-portal-app.choma-view-notes .choma-main .choma-note-manual-form > label.choma-note-calendar-link > input[type="date"]::-webkit-datetime-edit {
        display:none !important;
    }
    body.choma-portal-app.choma-view-notes .choma-main .choma-note-manual-form > label.choma-note-calendar-link > input[type="date"]::-webkit-calendar-picker-indicator {
        width:18px !important;
        height:18px !important;
        margin:auto !important;
        padding:0 !important;
        opacity:1 !important;
        cursor:pointer !important;
    }
    .choma-portal-app .choma-assistant-template .choma-tool-assistant__head,
    .choma-portal-app .choma-assistant-template .choma-tool-assistant__controls,
    .choma-portal-app .choma-assistant-template .choma-dictation-field,
    .choma-portal-app .choma-assistant-template .choma-dictation-field > textarea,
    .choma-portal-app .choma-assistant-template .choma-assistant-template__style,
    .choma-portal-app .choma-assistant-template .choma-assistant-template__style > select,
    .choma-portal-app .choma-assistant-template .choma-tool-assistant__submit {
        box-sizing:border-box !important;
        width:100% !important;
        max-width:none !important;
    }
    .choma-portal-app .choma-assistant-template .choma-assistant-template__style > select {
        min-height:36px !important;
        height:36px !important;
        max-height:36px !important;
    }
    .choma-portal-app.choma-view-settings .choma-theme-choice {
        box-sizing:border-box !important;
        width:100% !important;
        min-height:62px !important;
        height:62px !important;
        padding:8px 10px !important;
    }
    .choma-portal-app.choma-view-settings .choma-branding-form > label {
        box-sizing:border-box !important;
        width:100% !important;
        padding:10px !important;
    }
}

@media (max-width:390px) {
    .choma-portal-app .choma-topbar__mobile-logo {
        width:min(162px,45vw) !important;
    }
    .choma-portal-app .choma-topbar__mobile-logo img {
        max-width:162px !important;
    }
    .choma-portal-app .choma-mobile-module-menu summary {
        width:62px !important;
        min-width:62px !important;
    }
    .choma-portal-app .choma-user-menu > summary > span {
        width:32px !important;
        height:32px !important;
    }
}

/* 1.8.92 — wspólny wybór daty notatki i jednolita struktura asystentów. */
.choma-portal-app .choma-note-calendar-link {
    position:relative;
    overflow:visible;
}
.choma-portal-app .choma-note-date-control {
    position:relative;
    display:grid;
    place-items:center;
}
.choma-portal-app .choma-note-date-toggle {
    display:grid;
    box-sizing:border-box;
    width:36px;
    height:36px;
    margin:0;
    padding:0;
    place-items:center;
    border:1px solid #c9d8e3;
    border-radius:7px;
    background:#fff;
    color:#0b3d79;
    cursor:pointer;
}
.choma-portal-app .choma-note-date-popover {
    position:absolute;
    z-index:80;
    top:calc(100% + 8px);
    right:0;
    box-sizing:border-box;
    width:310px;
    padding:10px;
    border:1px solid #c9d8e3;
    border-radius:12px;
    background:#fff;
    box-shadow:0 18px 44px rgba(8,35,61,.2);
}
.choma-portal-app .choma-note-date-popover[hidden] { display:none !important; }
.choma-portal-app .choma-note-picker-calendar { display:block; }

/* 1.8.93 — własny, bezpieczny ekran odzyskiwania dostępu. */
.choma-password-recovery-page {
    min-height:100vh;
    overflow-x:hidden;
    background:
        radial-gradient(circle at 78% 18%, rgba(37,149,222,.36), transparent 30%),
        linear-gradient(145deg, rgba(6,36,60,.98), rgba(7,54,86,.97)),
        #07243d;
}
.choma-password-recovery {
    position:relative;
    display:grid;
    box-sizing:border-box;
    min-height:100vh;
    place-items:center;
    padding:110px 24px 90px;
    overflow:hidden;
}
.choma-password-recovery::before {
    position:absolute;
    top:-36vw;
    right:-22vw;
    width:78vw;
    height:78vw;
    border:1px solid rgba(255,255,255,.08);
    border-radius:50%;
    box-shadow:0 0 0 9vw rgba(255,255,255,.016),0 0 0 18vw rgba(255,255,255,.012);
    content:"";
}
.choma-password-recovery__logo {
    position:absolute;
    z-index:1;
    top:34px;
    left:34px;
    width:min(360px,58vw);
    height:auto;
}
.choma-password-recovery__form {
    position:relative;
    z-index:1;
    display:grid;
    box-sizing:border-box;
    width:min(100%,520px);
    gap:18px;
    padding:38px;
    border:1px solid rgba(255,255,255,.35);
    border-radius:18px;
    background:rgba(249,251,252,.97);
    box-shadow:0 24px 70px rgba(2,20,35,.3);
}
.choma-password-recovery__form .choma-eyebrow {
    color:#d3163a;
}
.choma-password-recovery__form h1 {
    margin:0;
    color:#102c42;
    font-family:Georgia,"Times New Roman",serif;
    font-size:clamp(38px,5vw,56px);
    font-weight:400;
    letter-spacing:-.04em;
    line-height:1;
}
.choma-password-recovery__form > p {
    margin:0 0 4px;
    color:#587087;
    line-height:1.55;
}
.choma-password-recovery__form > label {
    display:grid;
    gap:8px;
    color:#102c42;
    font-size:12px;
    font-weight:800;
    letter-spacing:.03em;
}
.choma-password-recovery__form input[type="text"] {
    box-sizing:border-box;
    width:100%;
    height:48px;
    padding:0 14px;
    border:1px solid #bfcfda;
    border-radius:8px;
    outline:none;
    background:#fff;
    color:#102c42;
    font:inherit;
    font-weight:500;
}
.choma-password-recovery__form input[type="text"]:focus {
    border-color:#126fe0;
    box-shadow:0 0 0 3px rgba(18,111,224,.12);
}
.choma-password-recovery__form .choma-btn {
    width:100%;
    min-height:44px;
}
.choma-password-recovery__form .choma-btn--primary {
    border:1px solid #126fe0;
    border-left:5px solid #df0038;
    border-radius:7px;
    background:linear-gradient(105deg,#164ec5 0%,#0b79ff 100%);
    color:#fff;
    box-shadow:0 12px 26px rgba(15,96,217,.2);
}
.choma-password-recovery__form .choma-btn--primary:hover,
.choma-password-recovery__form .choma-btn--primary:focus-visible {
    background:linear-gradient(105deg,#164ec5 0%,#0b79ff 100%);
    box-shadow:4px 8px 22px rgba(15,96,217,.28);
    transform:translateY(-1px);
}
.choma-password-recovery__back {
    justify-self:center;
    color:#0b4b86;
    font-size:11px;
    font-weight:800;
    letter-spacing:.08em;
    text-decoration:none;
}
.choma-password-recovery__technology {
    position:absolute;
    z-index:1;
    bottom:24px;
    left:34px;
    display:flex;
    min-height:42px;
    align-items:center;
    gap:10px;
    padding:5px 14px 5px 5px;
    border:1px solid rgba(255,255,255,.16);
    border-radius:11px;
    background:rgba(255,255,255,.035);
    color:#fff;
    font-size:11px;
    font-weight:700;
}
.choma-password-recovery__technology img {
    width:32px;
    height:32px;
    border-radius:8px;
}

/* 1.8.100 — wspólny komponent dostępu oraz pełny wybór terminu notatki. */
.choma-access-submit {
    display:flex !important;
    box-sizing:border-box;
    width:100% !important;
    height:55px;
    min-height:55px !important;
    align-items:center;
    justify-content:center;
    padding:0 20px !important;
    border:0 !important;
    border-radius:8px !important;
    color:#fff !important;
    background:linear-gradient(90deg,#126fe0 0 8px,#d3163a 8px 100%) !important;
    box-shadow:0 12px 26px rgba(211,22,58,.2) !important;
}
.choma-access-submit:hover,
.choma-access-submit:focus-visible {
    background:linear-gradient(90deg,#0b5fc5 0 8px,#b8072e 8px 100%) !important;
    box-shadow:0 12px 26px rgba(211,22,58,.28) !important;
}
.choma-portal-app.choma-view-notes .choma-note-manual-form > .choma-note-calendar-link {
    grid-template-columns:minmax(0,1fr) minmax(240px,320px) !important;
    height:58px !important;
    min-height:58px !important;
    padding:6px 9px !important;
    align-items:center !important;
    overflow:visible !important;
}
.choma-portal-app.choma-view-notes .choma-note-manual-form .choma-note-calendar-option {
    grid-column:1 !important;
    display:flex !important;
    align-items:center !important;
    gap:11px !important;
    min-width:0 !important;
}
.choma-portal-app.choma-view-notes .choma-note-manual-form .choma-note-datetime-control {
    z-index:2;
    grid-column:2 !important;
    width:100% !important;
    height:46px !important;
    min-height:46px !important;
    overflow:visible !important;
}
@media (max-width:760px) {
    .choma-portal-app.choma-view-notes .choma-note-manual-form > .choma-note-calendar-link {
        grid-template-columns:minmax(0,1fr) !important;
        height:auto !important;
        min-height:112px !important;
        gap:8px !important;
        padding:8px 10px !important;
    }
    .choma-portal-app.choma-view-notes .choma-note-manual-form .choma-note-calendar-option,
    .choma-portal-app.choma-view-notes .choma-note-manual-form .choma-note-datetime-control {
        grid-column:1 !important;
    }
}
.choma-portal-app.choma-view-notes .choma-note-datetime-control .choma-note-date-popover {
    position:absolute !important;
    z-index:80 !important;
    top:calc(100% + 8px) !important;
    right:auto !important;
    left:0 !important;
    display:block !important;
    width:min(440px,calc(100vw - 64px)) !important;
    padding:14px !important;
    border:1px solid #ccd8e4 !important;
    border-radius:12px !important;
    background:#fff !important;
    box-shadow:0 18px 42px rgba(8,40,121,.18) !important;
}
.choma-portal-app.choma-view-notes .choma-note-datetime-control .choma-note-date-popover[hidden] { display:none !important; }

/* Ustawienia konta: czytelne warianty, skróty i podgląd pracy asystenta. */
.choma-portal-app.choma-view-settings .choma-main button.choma-theme-choice {
    min-height:63px !important;
    height:63px !important;
    max-height:63px !important;
    grid-template-columns:37px minmax(0,1fr) !important;
    grid-template-rows:auto auto !important;
    align-content:center !important;
    gap:3px 12px !important;
    padding:8px 15px !important;
    border:1px solid #cfdae3 !important;
    border-radius:14px !important;
    background:linear-gradient(145deg,#fff 0%,#f4f7f9 100%) !important;
    box-shadow:0 12px 28px rgba(8,43,69,.07) !important;
    text-align:left !important;
}
.choma-portal-app.choma-view-settings .choma-theme-choices { width:calc(100% - 32px) !important; margin-inline:auto !important; gap:20px !important; }
.choma-portal-app.choma-view-settings .choma-theme-choice:hover,
.choma-portal-app.choma-view-settings .choma-theme-choice:focus-visible { border-color:#83a9ca !important; box-shadow:0 16px 34px rgba(8,43,69,.12) !important; transform:translateY(-2px) !important; }
.choma-portal-app.choma-view-settings .choma-theme-choice.is-current { border:1px solid #cfdae3 !important; background:linear-gradient(145deg,#fff 0%,#edf5ff 100%) !important; box-shadow:0 15px 34px rgba(12,90,255,.16) !important; }
.choma-portal-app.choma-view-settings .choma-theme-choice.is-current::before { background:#0c5aff !important; }
@media (min-width:783px) {
    .choma-portal-app.choma-view-settings .choma-theme-choice .choma-theme-swatch { grid-row:1 / 3 !important; width:37px !important; height:37px !important; border-radius:8px !important; box-shadow:inset 0 0 0 1px rgba(255,255,255,.45),0 7px 16px rgba(8,43,69,.13) !important; }
    .choma-portal-app.choma-view-settings .choma-theme-choice strong { align-self:end !important; font-size:14px !important; line-height:1.2 !important; }
    .choma-portal-app.choma-view-settings .choma-theme-choice small { align-self:start !important; font-size:11px !important; line-height:1.4 !important; }
}
.choma-shortcuts-panel .choma-panel__head { margin-bottom:22px !important; }
.choma-shortcuts-form { display:grid; width:min(1120px,calc(100% - 64px)); margin:0 auto 28px; gap:24px; }
.choma-shortcuts-fields { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.choma-shortcuts-fields label { display:grid; gap:9px; color:#0c3657; font-size:11px; font-weight:780; letter-spacing:.1em; text-transform:uppercase; }
.choma-shortcuts-fields select { width:100%; min-height:40px; height:40px; padding:0 12px; border:1px solid #cfdae3; border-radius:7px; background:#fff; color:#0c3657; font-size:13px; box-shadow:0 5px 14px rgba(8,43,69,.04); }
.choma-shortcuts-form > .choma-btn { justify-self:start; margin-top:2px; }
.choma-portal-app.choma-view-publications .choma-publication-generator-form { display:grid !important; grid-template-columns:minmax(0,1fr) !important; width:min(100%,1080px) !important; margin-inline:auto !important; gap:20px !important; }
.choma-portal-app.choma-view-publications .choma-publication-generator-form > label { display:grid !important; grid-template-columns:minmax(0,1fr) !important; gap:8px !important; width:100% !important; }
.choma-portal-app.choma-view-publications .choma-publication-generator-form > .choma-dictation-field { position:static !important; display:grid !important; grid-template-columns:minmax(0,1fr) !important; width:100% !important; gap:10px !important; padding-bottom:0 !important; }
.choma-portal-app.choma-view-publications .choma-publication-generator-form > .choma-dictation-field textarea { display:block !important; width:100% !important; min-height:164px !important; padding:14px 15px !important; resize:vertical !important; }
.choma-portal-app.choma-view-publications .choma-publication-generator-form > .choma-dictation-field button[data-choma-dictation] { position:static !important; inset:auto !important; justify-self:start !important; width:auto !important; min-width:146px !important; height:36px !important; min-height:36px !important; margin:0 !important; padding:0 18px !important; }
.choma-portal-app.choma-view-publications .choma-publication-generator-form > .choma-editor-actions { display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:12px !important; }
.choma-portal-app.choma-view-publications .choma-publication-generator-form > .choma-editor-actions > * { width:100% !important; }
.choma-ai-working { position:relative; display:flex; min-height:56px; align-items:center; gap:13px; overflow:hidden; padding:0 18px; border:1px solid #cbd8e4; border-radius:10px; background:#f6f9fc; color:#0b3760; }
.choma-ai-working[hidden] { display:none !important; }
.choma-ai-working::after { position:absolute; inset:0; background:linear-gradient(105deg,transparent 25%,rgba(255,255,255,.9) 48%,transparent 72%); content:""; transform:translateX(-100%); animation:choma-ai-shimmer 1.35s linear infinite; }
.choma-ai-working span { width:12px; height:12px; border-radius:50%; background:#0c5aff; box-shadow:0 0 0 6px rgba(12,90,255,.12); }
.choma-ai-working strong { position:relative; z-index:1; }
.choma-publication-preview-image { margin:0 0 24px; overflow:hidden; border-radius:12px; background:#edf2f6; }
.choma-publication-preview-image img { display:block; width:100%; max-height:440px; object-fit:cover; }
.choma-picker-today { grid-column:1 / -1; justify-self:end; border:0 !important; background:transparent !important; box-shadow:none !important; color:#0839b9 !important; font-weight:780 !important; }
@keyframes choma-ai-shimmer { to { transform:translateX(100%); } }

@media (max-width:782px) {
    .choma-portal-app.choma-view-settings .choma-theme-choices { width:calc(100% - 16px) !important; grid-template-columns:1fr !important; gap:14px !important; }
    .choma-portal-app.choma-view-settings .choma-main button.choma-theme-choice { min-height:67px !important; height:67px !important; max-height:67px !important; grid-template-columns:41px minmax(0,1fr) !important; align-content:center !important; gap:2px 12px !important; padding:4px 12px !important; }
    .choma-portal-app.choma-view-settings .choma-theme-choice .choma-theme-swatch { width:41px !important; height:41px !important; }
    .choma-portal-app.choma-view-settings .choma-theme-choice strong { font-size:16px !important; }
    .choma-portal-app.choma-view-settings .choma-theme-choice small { font-size:13px !important; }
    .choma-shortcuts-panel .choma-panel__head { margin-bottom:18px !important; }
    .choma-shortcuts-form { width:calc(100% - 32px); margin-bottom:22px; gap:20px; }
    .choma-shortcuts-fields { grid-template-columns:1fr; gap:14px; }
    .choma-shortcuts-fields select { min-height:40px; height:40px; }
    .choma-shortcuts-form > .choma-btn { width:100%; }
    .choma-portal-app.choma-view-publications .choma-publication-generator-form > .choma-editor-actions { grid-template-columns:1fr !important; }
    .choma-portal-app.choma-view-publications .choma-publication-generator-form > .choma-dictation-field textarea { min-height:132px !important; }
}

/* 1.8.114: jedna szerokość modułów na desktopie i wspólna oś ekranów dostępu. */
@media (min-width:901px) {
    .choma-portal-app .choma-main {
        width:100% !important;
        max-width:none !important;
        padding-right:30px !important;
        padding-left:30px !important;
    }
    .choma-portal-login-page .choma-login__form {
        transform:translateY(-8px);
    }
}
.choma-login__technology,
.choma-password-recovery__technology {
    align-items:center;
    line-height:1;
}
.choma-login__technology img,
.choma-password-recovery__technology img {
    display:block;
    flex:0 0 auto;
}

/* 1.8.121: cztery kompletne warianty kolorystyczne panelu i ekranów dostępu. */
.choma-portal-app.choma-theme-navy {
    --navy-950:#061b48;
    --navy-900:#071f55;
    --navy-800:#082879;
    --navy-700:#0839b9;
    --blue-500:#174fae;
    --ink:#102c42;
    --muted:#667b8c;
    --line:#cbd8df;
    --soft-blue:#edf1f8;
    --oso-card-border:#cbd8df;
    --oso-control-border:#bdced7;
    --oso-pearl-gradient:linear-gradient(145deg,#fff 0%,#edf3f5 100%);
    --oso-gradient:linear-gradient(90deg,#071f55 0%,#082879 52%,#0839b9 100%);
    --choma-theme-primary:#0839b9;
    --choma-theme-primary-dark:#071f55;
    --choma-theme-edge:#d3163a;
    --choma-theme-canvas:#edf2f4;
    --choma-theme-surface:#fff;
    --choma-theme-soft:#edf1f8;
    --choma-theme-sidebar:linear-gradient(155deg,#061b48 0%,#071f55 48%,#0839b9 100%);
    --choma-theme-shadow:rgba(7,31,85,.18);
    --choma-theme-tint:rgba(8,57,185,.14);
}
.choma-portal-app.choma-theme-graphite-premium {
    --navy-950:#111310;
    --navy-900:#191b18;
    --navy-800:#292c27;
    --navy-700:#41443f;
    --blue-500:#5a5d56;
    --ink:#252823;
    --muted:#70736c;
    --line:#d4d5cf;
    --soft-blue:#efefeb;
    --oso-card-border:#d4d5cf;
    --oso-control-border:#c9cac3;
    --oso-pearl-gradient:linear-gradient(145deg,#fff 0%,#f0f0eb 100%);
    --oso-gradient:linear-gradient(100deg,#111310 0%,#292c27 50%,#4b4e48 100%);
    --choma-theme-primary:#4b4e48;
    --choma-theme-primary-dark:#111310;
    --choma-theme-edge:#d3163a;
    --choma-theme-canvas:#f0f0ec;
    --choma-theme-surface:#fff;
    --choma-theme-soft:#ecece7;
    --choma-theme-sidebar:linear-gradient(155deg,#5a5e54 0%,#666b60 55%,#74796c 100%);
    --choma-theme-shadow:rgba(17,19,16,.18);
    --choma-theme-tint:rgba(75,78,72,.14);
}
@media (min-width:1001px) {
    .choma-portal-app.choma-theme-graphite {
        --choma-theme-canvas:#e8eff0;
        --choma-theme-surface:#f6f9f9;
        --choma-theme-soft:#e3edef;
        --choma-desktop-sidebar-bg:linear-gradient(180deg,#d3dede 0%,#c6d3d4 100%);
    }
    .choma-portal-app.choma-theme-navy {
        --choma-theme-canvas:#e9edf4;
        --choma-theme-surface:#f7f9fc;
        --choma-theme-soft:#e4e9f3;
        --choma-desktop-sidebar-bg:linear-gradient(180deg,#d2d9e6 0%,#bdc8da 100%);
    }
    .choma-portal-app.choma-theme-graphite-premium {
        --choma-desktop-sidebar-bg:linear-gradient(180deg,#dadad4 0%,#c7c8c0 100%);
    }
    .choma-portal-app:is(.choma-theme-graphite,.choma-theme-navy),
    .choma-portal-app:is(.choma-theme-graphite,.choma-theme-navy) .choma-app__body {
        background:var(--choma-theme-canvas);
    }
    .choma-portal-app:is(.choma-theme-graphite,.choma-theme-navy) :is(.choma-topbar,.choma-system-header) {
        border-color:var(--line);
        background:var(--choma-theme-surface);
    }
    .choma-portal-app:is(.choma-theme-graphite,.choma-theme-navy) .choma-sidebar {
        background:var(--choma-desktop-sidebar-bg);
    }
    .choma-portal-app.choma-theme-graphite .choma-sidebar nav a {
        border-color:#b5c7c9;
        color:#173f49;
        background:linear-gradient(100deg,#fbfcfb 0%,#f3f7f6 100%);
    }
    .choma-portal-app.choma-theme-graphite .choma-sidebar nav a span {
        color:#285761;
    }
    .choma-portal-app.choma-theme-graphite .choma-sidebar__group-label {
        color:#4b4e48;
    }
    .choma-portal-app.choma-theme-graphite .choma-sidebar nav a:hover:not(.is-active) {
        border-color:#d9e5e5;
        color:#173f49;
        background:#fff;
    }
    .choma-portal-app.choma-theme-graphite .choma-sidebar nav a:hover:not(.is-active) span {
        color:#285761;
    }
    .choma-portal-app.choma-theme-graphite .choma-sidebar nav a.is-active {
        border-color:#062a43;
        color:#fff;
        background:linear-gradient(100deg,#062a43 0%,#0b4a6d 100%);
    }
    .choma-portal-app.choma-theme-graphite .choma-sidebar nav a.is-active span {
        color:#fff;
    }
    .choma-portal-app:is(.choma-theme-opensmart,.choma-theme-graphite,.choma-theme-navy,.choma-theme-graphite-premium) .choma-sidebar nav a.is-active:hover {
        filter:brightness(1.18);
    }
    .choma-portal-app .choma-sidebar__technology--bottom {
        transform:translateY(-14px);
    }
    .choma-portal-app .choma-sidebar__technology--bottom .choma-sidebar__technology-icon {
        transform:translateY(6px);
    }
    .choma-portal-app:is(.choma-theme-graphite,.choma-theme-navy) :is(
        .choma-panel,
        .choma-metric,
        .choma-center-glance-card,
        .choma-center-status-card,
        .choma-calendar-summary article,
        .choma-portal-table-wrap,
        .choma-mail-list > a,
        .choma-compose__body,
        .choma-ai-working
    ) {
        border-color:var(--line);
        background:var(--choma-theme-surface);
    }
}
.choma-portal-app:is(.choma-theme-graphite-premium,.choma-theme-red) {
    color:var(--ink);
    background:var(--choma-theme-canvas);
}
.choma-portal-app:is(.choma-theme-graphite-premium,.choma-theme-red) :focus-visible {
    outline-color:var(--choma-theme-tint);
}
.choma-portal-app:is(.choma-theme-graphite-premium,.choma-theme-red) :is(.choma-app__body,.choma-main) {
    background:var(--choma-theme-canvas);
}
.choma-portal-app:is(.choma-theme-graphite-premium,.choma-theme-red) :is(.choma-topbar,.choma-system-header) {
    border-color:var(--line);
    background:rgba(255,255,255,.94);
}
.choma-portal-app:is(.choma-theme-graphite-premium,.choma-theme-red) .choma-sidebar {
    color:#252823;
    background:var(--choma-desktop-sidebar-bg,var(--choma-theme-canvas));
    box-shadow:none;
}
.choma-portal-app:is(.choma-theme-graphite-premium,.choma-theme-red) .choma-sidebar__logo--choma {
    background:rgba(255,255,255,.94);
    box-shadow:0 10px 24px rgba(0,0,0,.12);
}
.choma-portal-app:is(.choma-theme-graphite-premium,.choma-theme-red) .choma-sidebar__group-label {
    color:#555951;
}
.choma-portal-app:is(.choma-theme-graphite-premium,.choma-theme-red) .choma-sidebar nav a {
    border-color:#c9cbc4;
    color:#252823;
    background:#fff;
    box-shadow:0 5px 14px rgba(17,19,16,.06);
}
.choma-portal-app:is(.choma-theme-graphite-premium,.choma-theme-red) .choma-sidebar nav a span {
    color:#4b4e48;
}
.choma-portal-app.choma-theme-graphite-premium .choma-sidebar nav a:not(.is-active) {
    background:#f8f8f4;
}
.choma-portal-app:is(.choma-theme-graphite-premium,.choma-theme-red) .choma-sidebar nav a.is-active {
    border-color:rgba(255,255,255,.55);
    color:#fff;
    background:linear-gradient(100deg,#191b18 0%,#292c27 100%);
    box-shadow:inset 4px 0 var(--choma-theme-edge),0 9px 22px rgba(0,0,0,.16);
}
.choma-portal-app:is(.choma-theme-graphite-premium,.choma-theme-red) .choma-sidebar nav a.is-active span {
    color:#fff;
}
.choma-portal-app.choma-theme-graphite-premium .choma-sidebar nav a:hover:not(.is-active) {
    border-color:#e5e5df;
    color:#252823;
    background:#fff;
    box-shadow:0 8px 20px rgba(17,19,16,.10);
}
.choma-portal-app.choma-theme-graphite-premium .choma-sidebar nav a:hover:not(.is-active) span {
    color:#4b4e48;
}
.choma-portal-app:is(.choma-theme-graphite-premium,.choma-theme-red) .choma-sidebar__technology {
    border-top-color:#bfc1ba;
}
.choma-portal-app:is(.choma-theme-graphite-premium,.choma-theme-red) .choma-sidebar__technology :is(strong,small),
.choma-portal-app:is(.choma-theme-graphite-premium,.choma-theme-red) .choma-sidebar__technology-copy small {
    color:#4b4e48 !important;
}
.choma-portal-app:is(.choma-theme-graphite-premium,.choma-theme-red) :is(
    .choma-panel,
    .choma-metric,
    .choma-center-glance-card,
    .choma-center-status-card,
    .choma-calendar-summary article,
    .choma-portal-table-wrap,
    .choma-mail-list > a,
    .choma-compose__body,
    .choma-ai-working
) {
    border-color:var(--line);
    background:var(--choma-theme-surface);
    box-shadow:0 12px 34px var(--choma-theme-shadow);
}
.choma-portal-app:is(.choma-theme-graphite-premium,.choma-theme-red) :is(.choma-panel__head,.choma-quick-create,.choma-editor-panel,.choma-assistant-template) {
    border-color:var(--line);
}
.choma-portal-app:is(.choma-theme-graphite-premium,.choma-theme-red) :is(
    .choma-page-head h1,
    .choma-module-head h1,
    .choma-panel__head h2,
    .choma-metric strong,
    .choma-center-glance-card strong,
    .choma-calendar-toolbar h2,
    .choma-calendar-month h3,
    .choma-calendar-day-events h3,
    .choma-calendar-event-list strong,
    .choma-calendar-summary strong
) {
    color:var(--ink);
}
.choma-portal-app:is(.choma-theme-graphite-premium,.choma-theme-red) :is(
    .choma-page-head p,
    .choma-module-head p,
    .choma-panel__head p,
    .choma-metric small,
    .choma-center-glance-card small,
    .choma-appearance-hint
) {
    color:var(--muted);
}
.choma-portal-app:is(.choma-theme-graphite-premium,.choma-theme-red) :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea,.choma-rich-editor) {
    border-color:var(--oso-control-border);
    background:#fff;
    color:var(--ink);
}
.choma-portal-app:is(.choma-theme-graphite-premium,.choma-theme-red) :is(input,select,textarea):focus {
    border-color:var(--choma-theme-primary);
    box-shadow:0 0 0 3px var(--choma-theme-tint);
}
.choma-portal-app:is(.choma-theme-graphite-premium,.choma-theme-red) :is(input[type="checkbox"],input[type="radio"]) {
    accent-color:var(--choma-theme-primary);
}
.choma-portal-app:is(.choma-theme-graphite,.choma-theme-graphite-premium,.choma-theme-red) :is(
    .choma-btn--primary,
    .choma-calendar-submit,
    .choma-note-submit,
    .choma-document-submit,
    .choma-document-import-button,
    .choma-mail-screen__new,
    .choma-mail-screen__back,
    .choma-mail-send-button,
    .choma-tool-assistant__submit,
    .choma-scroll-action
) {
    border-color:var(--choma-theme-primary-dark) !important;
    border-left-color:var(--choma-theme-edge) !important;
    background:var(--oso-gradient) !important;
    color:#fff !important;
    box-shadow:0 10px 24px var(--choma-theme-shadow) !important;
}
.choma-portal-app:is(.choma-theme-graphite,.choma-theme-graphite-premium,.choma-theme-red) .choma-branding-form input[type="file"]::file-selector-button,
.choma-portal-app:is(.choma-theme-graphite,.choma-theme-graphite-premium,.choma-theme-red) .choma-document-upload input[type="file"]::file-selector-button {
    border-color:var(--choma-theme-primary-dark) !important;
    border-left-color:var(--choma-theme-edge) !important;
    background:var(--oso-gradient) !important;
    color:#fff !important;
    box-shadow:0 10px 24px var(--choma-theme-shadow) !important;
}
.choma-portal-app:is(.choma-theme-graphite,.choma-theme-graphite-premium,.choma-theme-red) :is(
    .choma-btn--primary,
    .choma-calendar-submit,
    .choma-note-submit,
    .choma-document-submit,
    .choma-document-import-button,
    .choma-mail-screen__new,
    .choma-mail-screen__back,
    .choma-mail-send-button,
    .choma-tool-assistant__submit,
    .choma-scroll-action
):is(:hover,:focus-visible) {
    border-color:var(--choma-theme-primary-dark) !important;
    border-left-color:var(--choma-theme-edge) !important;
    background:var(--oso-gradient) !important;
    filter:brightness(1.07);
}
.choma-portal-app:is(.choma-theme-graphite,.choma-theme-graphite-premium,.choma-theme-red) :is(.choma-btn--outline,.choma-filter-clear,.choma-picker-today) {
    border-color:var(--choma-theme-primary) !important;
    color:var(--choma-theme-primary) !important;
}
.choma-portal-app:is(.choma-theme-graphite,.choma-theme-graphite-premium,.choma-theme-red) :is(
    .choma-user > span,
    .choma-calendar-days a.is-selected,
    .choma-mobile-nav a.is-active
) {
    border-color:var(--choma-theme-primary-dark) !important;
    background:var(--oso-gradient) !important;
    color:#fff !important;
}
.choma-portal-app:is(.choma-theme-graphite,.choma-theme-graphite-premium,.choma-theme-red) .choma-mobile-module-menu nav {
    background:var(--choma-theme-sidebar);
}
.choma-portal-app:is(.choma-theme-graphite-premium,.choma-theme-red) .choma-mobile-nav {
    border-color:var(--line);
    background:var(--choma-theme-surface);
}
.choma-portal-app:is(.choma-theme-graphite-premium,.choma-theme-red) .choma-module-head::after {
    background:linear-gradient(90deg,var(--oso-red) 0 76px,var(--choma-theme-tint) 76px 100%);
}
.choma-portal-app:is(.choma-theme-graphite-premium,.choma-theme-red) :is(
    .choma-center-status-card::after,
    .choma-component-card::before
) {
    background:var(--oso-gradient);
}
.choma-portal-app:is(.choma-theme-graphite-premium,.choma-theme-red) .choma-ai-working span {
    background:var(--choma-theme-primary);
    box-shadow:0 0 0 6px var(--choma-theme-tint);
}
.choma-portal-app:is(.choma-theme-graphite-premium,.choma-theme-red).choma-view-settings .choma-theme-choice.is-current {
    border-color:#cfdae3 !important;
    background:var(--oso-pearl-gradient) !important;
    box-shadow:0 15px 34px var(--choma-theme-shadow) !important;
}
.choma-portal-app:is(.choma-theme-graphite-premium,.choma-theme-red).choma-view-settings .choma-theme-choice.is-current::before {
    background:#0c5aff !important;
}
.choma-portal-app:is(.choma-theme-graphite-premium,.choma-theme-red).choma-view-settings .choma-theme-choice :is(strong,small) {
    color:var(--ink);
}
.choma-portal-app:is(.choma-theme-graphite-premium,.choma-theme-red) .choma-portal-table tbody tr:hover td:first-child {
    border-left-color:var(--choma-theme-primary) !important;
}
.choma-portal-app:is(.choma-theme-graphite-premium,.choma-theme-red) :is(
    .choma-module-head > .choma-btn,
    .choma-dashboard-head > .choma-btn,
    .choma-processes-head > .choma-btn,
    .choma-contacts-head > .choma-btn,
    .choma-user-menu > summary > span,
    .choma-mobile-module-menu summary
) {
    border-color:var(--choma-theme-primary-dark) !important;
    border-left-color:var(--choma-theme-edge) !important;
    background:var(--oso-gradient) !important;
    color:#fff !important;
    box-shadow:0 10px 24px var(--choma-theme-shadow) !important;
}
.choma-portal-app:is(.choma-theme-graphite,.choma-theme-navy) :is(
    .choma-module-head > .choma-btn,
    .choma-dashboard-head > .choma-btn,
    .choma-processes-head > .choma-btn,
    .choma-contacts-head > .choma-btn,
    .choma-user-menu > summary > span,
    .choma-mobile-module-menu summary
) {
    border-color:var(--choma-theme-primary-dark) !important;
    border-left-color:var(--choma-theme-edge) !important;
    background:var(--oso-gradient) !important;
    color:#fff !important;
    box-shadow:0 10px 24px var(--choma-theme-shadow) !important;
}
.choma-portal-app.choma-theme-graphite .choma-site-link {
    border-color:var(--choma-theme-primary-dark) !important;
    border-left-color:var(--choma-theme-edge) !important;
    background:var(--oso-gradient) !important;
    color:#fff !important;
    box-shadow:0 10px 24px var(--choma-theme-shadow) !important;
}
.choma-portal-app.choma-theme-opensmart .choma-site-link {
    border-color:var(--choma-theme-primary-dark) !important;
    border-left:4px solid #d3163a !important;
    background:var(--oso-gradient) !important;
    color:#fff !important;
    box-shadow:0 10px 24px var(--choma-theme-shadow) !important;
    transition:transform .18s ease,box-shadow .18s ease;
}
.choma-portal-app:is(.choma-theme-graphite,.choma-theme-graphite-premium,.choma-theme-red) :is(
    .choma-dictation-field button,
    button[data-choma-dictation],
    .choma-note-date-toggle,
    .choma-datetime-toggle,
    .choma-datetime-popover button,
    .choma-picker-footer button,
    .choma-picker-time-unit button,
    .choma-calendar-toolbar nav a,
    .choma-mail-attachment-upload__button,
    .choma-message-back
) {
    border-color:var(--choma-theme-primary) !important;
    border-left-color:var(--choma-theme-edge) !important;
    color:var(--choma-theme-primary) !important;
}
.choma-portal-app:is(.choma-theme-graphite-premium,.choma-theme-red) :is(
    .choma-mail-tabs > a,
    .choma-mail-folder-tabs > a,
    .choma-document-files a,
    .choma-message__attachments a,
    .choma-calendar-event-open > span
):is(:hover,:focus-visible),
.choma-portal-app:is(.choma-theme-graphite-premium,.choma-theme-red) :is(.choma-mail-tabs > a.is-active,.choma-mail-folder-tabs > a.is-active) {
    border-color:var(--choma-theme-primary) !important;
    background:var(--choma-theme-soft) !important;
    color:var(--choma-theme-primary) !important;
}
.choma-portal-app:is(.choma-theme-opensmart,.choma-theme-graphite,.choma-theme-navy,.choma-theme-graphite-premium) .choma-site-link:is(:hover,:focus-visible) {
    border-color:var(--choma-theme-primary-dark) !important;
    border-left:4px solid #d3163a !important;
    background:var(--oso-gradient) !important;
    color:#fff !important;
    box-shadow:0 14px 28px var(--choma-theme-shadow) !important;
    transform:translateY(-2px);
}
.choma-portal-app:is(.choma-theme-opensmart,.choma-theme-graphite,.choma-theme-navy,.choma-theme-graphite-premium) .choma-site-link:is(:hover,:focus-visible)::after {
    color:#f2f0eb !important;
}
.choma-portal-app:is(.choma-theme-graphite-premium,.choma-theme-red) :is(
    .choma-mail-tabs > a::after,
    .choma-mail-folder-tabs > a::after,
    .choma-mail-folder-tabs > a::before,
    .choma-message__actions .choma-btn::after,
    .choma-message__actions button::after,
    .choma-message__actions .choma-compose > summary::after
) {
    background:var(--oso-gradient) !important;
}
.choma-portal-app:is(.choma-theme-graphite-premium,.choma-theme-red) :is(
    .choma-calendar-summary article:first-child,
    .choma-calendar-event-list article,
    .choma-note-list > a,
    .choma-portal-table tbody tr
) {
    border-color:var(--line);
}
.choma-portal-app:is(.choma-theme-graphite-premium,.choma-theme-red) .choma-calendar-summary article:first-child {
    border-color:var(--choma-theme-primary) !important;
    box-shadow:inset 0 -3px var(--choma-theme-primary),0 12px 34px var(--choma-theme-shadow);
}
.choma-portal-app:is(.choma-theme-graphite-premium,.choma-theme-red) :is(
    .choma-calendar-summary article:first-child strong,
    .choma-calendar-create .choma-eyebrow,
    .choma-calendar-assistant .choma-mail-compose-form__assistant-title,
    .choma-picker-time-unit strong,
    .choma-datetime-display,
    .choma-direct-note-intro strong,
    .choma-document-files a b
) {
    color:var(--choma-theme-primary) !important;
}
.choma-portal-app:is(.choma-theme-graphite-premium,.choma-theme-red) :is(
    .choma-note-composer label,
    .choma-document-editor > form > label:not(.choma-document-upload),
    .choma-mail-screen .choma-mail-compose-form label,
    .choma-tool-assistant__actions > label,
    .choma-shortcuts-fields label,
    .choma-branding-form label
) {
    color:var(--ink) !important;
}

.choma-theme-swatch--deep-navy {
    position:relative;
    background:linear-gradient(90deg,#071f55 0%,#082879 52%,#0839b9 100%);
}
.choma-theme-swatch--graphite-premium {
    position:relative;
    background:linear-gradient(100deg,#111310 0%,#292c27 50%,#4b4e48 100%);
}
.choma-theme-swatch--navy {
    position:relative;
    background:linear-gradient(100deg,#0b49c8 0%,#0b59e6 52%,#0c6cff 100%);
}
.choma-theme-swatch--navy::before,
.choma-theme-swatch--graphite::before,
.choma-theme-swatch--deep-navy::before,
.choma-theme-swatch--graphite-premium::before {
    position:absolute;
    inset:0 auto 0 0;
    width:5px;
    border-radius:inherit;
    background:#d3163a;
    content:"";
}
.choma-portal-app .choma-user-menu > summary > span {
    border:2px solid var(--choma-theme-primary-dark,#0a4bd0) !important;
    border-left-color:#d3163a !important;
}
.choma-user-menu__initials,
.choma-user-menu__power {
    display:inline-flex;
    width:100%;
    height:100%;
    align-items:center;
    justify-content:center;
}
.choma-user-menu__power {
    display:none;
}
.choma-user-menu__power svg {
    width:56%;
    height:56%;
    fill:none;
    stroke:currentColor;
    stroke-width:2.2;
    stroke-linecap:round;
}
.choma-user-menu.is-logout-armed .choma-user-menu__initials {
    display:none;
}
.choma-user-menu.is-logout-armed .choma-user-menu__power {
    display:inline-flex;
}

@media (min-width:1001px) {
    .choma-portal-app.choma-view-settings .choma-theme-choices {
        grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    }
}
@media (min-width:783px) and (max-width:1000px) {
    .choma-portal-app.choma-view-settings .choma-theme-choices {
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    }
}

.choma-portal-app .choma-sidebar__logo--choma {
    border:0 !important;
    background:transparent !important;
    box-shadow:none !important;
}
.choma-portal-app .choma-sidebar__brand-logo--pearl {
    display:none !important;
}
.choma-portal-app.choma-theme-graphite-premium .choma-sidebar__brand-logo--dark {
    display:block !important;
}
.choma-portal-app.choma-theme-graphite-premium .choma-sidebar__brand-logo--pearl {
    display:none !important;
}
.choma-portal-app .choma-sidebar nav a:is(:focus,:focus-visible,.is-active) {
    outline:0 !important;
    border-color:rgba(8,20,29,.52) !important;
    border-left:4px solid #d3163a !important;
}
.choma-alert--ephemeral {
    transition:opacity .2s ease,transform .2s ease !important;
}
.choma-alert--ephemeral.is-dismissing {
    opacity:0 !important;
    transform:translateY(-5px) !important;
}

/* 1.8.126: perłowy znak OpenSmart One na ciemnych wariantach panelu. */
.choma-portal-app .choma-sidebar__technology-logo--pearl {
    display:none !important;
}
.choma-portal-app.choma-theme-graphite-premium .choma-sidebar__technology--bottom {
    grid-template-columns:54px minmax(0,1fr) !important;
}
.choma-portal-app.choma-theme-graphite-premium .choma-sidebar__technology-logo--default {
    display:block !important;
}
.choma-portal-app.choma-theme-graphite-premium .choma-sidebar__technology--bottom .choma-sidebar__technology-icon {
    display:inline-flex !important;
    border:2px solid rgba(255,255,255,.92) !important;
    background:rgba(255,255,255,.98) !important;
    box-shadow:0 0 0 1px rgba(255,255,255,.5),0 0 18px rgba(255,255,255,.62),0 8px 20px rgba(0,0,0,.24) !important;
}
.choma-portal-app.choma-theme-graphite-premium .choma-sidebar__technology-logo--pearl {
    display:none !important;
    width:138px !important;
    max-width:100% !important;
    height:auto !important;
    margin:0 !important;
    filter:none !important;
    opacity:1 !important;
    transform:none !important;
}

/* 1.8.128: jasne znaki tylko na granatowym i grafitowym tle. */
.choma-portal-app.choma-theme-opensmart :is(.choma-sidebar__brand-logo--dark,.choma-topbar__brand-logo--dark,.choma-sidebar__technology-logo--default) {
    display:block !important;
}
.choma-portal-app.choma-theme-opensmart :is(.choma-sidebar__brand-logo--pearl,.choma-topbar__brand-logo--pearl,.choma-sidebar__technology-logo--pearl) {
    display:none !important;
}
.choma-portal-app.choma-theme-navy .choma-sidebar__technology-logo--default {
    display:block !important;
}
.choma-portal-app.choma-theme-navy .choma-sidebar__technology-logo--pearl {
    display:none !important;
}
.choma-portal-app .choma-topbar__brand-logo--pearl {
    display:none !important;
}
.choma-portal-app.choma-theme-graphite-premium .choma-topbar__brand-logo--dark {
    display:block !important;
}
.choma-portal-app.choma-theme-graphite-premium .choma-topbar__brand-logo--pearl {
    display:none !important;
}

/* Wariant oliwkowy: pojedyncze, czytelne znaki firmowe. */
.choma-portal-app .choma-topbar__mobile-logo .choma-topbar__brand-logo--dark {
    display:block !important;
}
.choma-portal-app .choma-topbar__mobile-logo .choma-topbar__brand-logo--pearl {
    display:none !important;
}
@media (min-width:1001px) {
    .choma-portal-app.choma-theme-graphite .choma-sidebar__brand-logo--dark {
        display:block !important;
    }
    .choma-portal-app.choma-theme-graphite .choma-sidebar__brand-logo--pearl {
        display:none !important;
    }
    .choma-portal-app.choma-theme-graphite .choma-sidebar__technology-logo--default {
        display:block !important;
    }
    .choma-portal-app.choma-theme-graphite .choma-sidebar__technology-logo--pearl {
        display:none !important;
    }
}

/* 1.8.127: załączniki oferty oraz wspólna szerokość sekcji Poczty na desktopie. */
.choma-portal-app .choma-offer-attachments__grid {
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(210px,1fr));
    gap:18px;
    padding:24px 30px 30px;
}
.choma-portal-app .choma-offer-attachments__grid > a {
    display:flex;
    min-height:120px;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    border:1px solid #d7e2e9;
    border-radius:10px;
    background:#f8fafc;
}
.choma-portal-app .choma-offer-attachments__grid img {
    display:block;
    width:100%;
    height:190px;
    object-fit:cover;
}
.choma-portal-app .choma-offer-attachments__file {
    padding:18px;
    color:#08395f;
    font-weight:700;
    text-align:center;
}
@media (min-width:761px) {
    .choma-portal-app.choma-view-mail .choma-main > .choma-mail-screen {
        width:100% !important;
        max-width:none !important;
        margin-right:0 !important;
        margin-left:0 !important;
    }
}
@media (max-width:760px) {
    .choma-portal-app .choma-offer-attachments__grid {
        grid-template-columns:1fr;
        padding:18px;
    }
}

@media (min-width:901px) {
    .choma-portal-app .choma-topbar {
        padding-left:clamp(24px,3vw,46px) !important;
        padding-right:30px !important;
    }
    .choma-portal-app .choma-system-header {
        padding-right:clamp(24px,3vw,52px) !important;
        padding-left:clamp(24px,3vw,52px) !important;
    }
    .choma-portal-app .choma-sidebar__logo--choma {
        box-sizing:border-box !important;
        height:52px !important;
        min-height:52px !important;
        margin-bottom:2px !important;
        overflow:hidden !important;
    }
    .choma-portal-app .choma-sidebar__logo--choma .choma-sidebar__brand-logo {
        width:100% !important;
        height:100% !important;
        max-width:100% !important;
        max-height:100% !important;
        object-fit:contain !important;
        object-position:left center !important;
    }
    .choma-portal-app .choma-sidebar nav > .choma-sidebar__group-label:first-child {
        margin-top:0 !important;
    }
}

/* 1.8.175: zaznaczanie wiadomości oraz zwarty układ Poczty. */
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-selection-form {
    margin:0;
    padding:18px 22px 22px;
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-selection-form .choma-mail-list {
    gap:8px;
    padding:0 !important;
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-list--selectable > .choma-mail-list-row {
    position:relative;
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 18px !important;
    align-items:center !important;
    gap:10px !important;
    min-height:54px !important;
    padding:0 16px 0 19px !important;
    overflow:hidden;
    border:1px solid #dbe4ea !important;
    border-radius:8px !important;
    background:#fff;
    box-shadow:0 3px 10px rgba(36,66,88,.025);
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-list--selectable > .choma-mail-list-row::before {
    position:absolute;
    inset:0 auto 0 0;
    width:4px;
    background:var(--oso-gradient);
    content:"";
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-list-row > a {
    display:grid;
    grid-template-columns:minmax(150px,.8fr) minmax(220px,1.65fr) minmax(125px,.52fr);
    align-items:center;
    gap:18px;
    min-width:0;
    padding:11px 0;
    color:inherit;
    text-decoration:none;
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-list-row > a > :is(span,strong,time) {
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-list-row > a:not(.is-unread) > :is(span,strong,time) {
    font-weight:400 !important;
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-list-row > a.is-unread > :is(span,strong,time) {
    font-weight:780 !important;
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-list-row:hover {
    border-color:#9bb4c6 !important;
    background:var(--oso-pearl-gradient) !important;
    box-shadow:0 8px 22px rgba(36,66,88,.10);
}
.choma-portal-app .choma-mail-select {
    display:flex;
    align-items:center;
    justify-content:center;
    width:18px;
    height:18px;
    cursor:pointer;
}
.choma-portal-app .choma-mail-select input {
    position:absolute;
    width:1px;
    height:1px;
    overflow:hidden;
    opacity:0;
}
.choma-portal-app .choma-mail-select > span {
    box-sizing:border-box;
    display:block;
    width:14px;
    height:14px;
    border:1px solid #7990a0;
    border-radius:3px;
    background:#fff;
}
.choma-portal-app .choma-mail-select input:checked + span {
    border-color:#0c5aff;
    background:#0c5aff;
    box-shadow:inset 0 0 0 3px #fff;
}
.choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-folder-tabs > a {
    justify-content:center !important;
    box-sizing:border-box !important;
    flex:0 0 104px !important;
    width:104px !important;
    min-width:104px !important;
    max-width:104px !important;
    padding-right:12px !important;
    padding-left:12px !important;
    text-align:center !important;
}
.choma-portal-app.choma-view-mail .choma-mail-screen__head .choma-mail-empty-button {
    box-sizing:border-box !important;
    width:auto !important;
    min-width:128px !important;
    height:32px !important;
    min-height:32px !important;
    max-height:32px !important;
    padding:0 15px !important;
    font-size:11px !important;
    line-height:1 !important;
}

@media (max-width:760px) {
    .choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-folder-tabs {
        gap:10px !important;
    }
    .choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-folder-tabs > a {
        flex:0 0 auto !important;
        width:auto !important;
        min-width:0 !important;
        max-width:none !important;
        padding-right:10px !important;
        padding-left:10px !important;
    }
    .choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-folder-tabs > a:nth-child(3),
    .choma-portal-app:is(.choma-view-mail,.choma-view-message) .choma-mail-folder-tabs > a:nth-child(4) {
        min-width:48px !important;
        padding-right:13px !important;
        padding-left:13px !important;
    }
    .choma-portal-app.choma-view-mail .choma-mail-selection-form,
    .choma-portal-app.choma-view-mail .choma-mail-selection-form .choma-mail-list,
    .choma-portal-app.choma-view-mail .choma-mail-screen > .choma-mail-list {
        display:block !important;
        visibility:visible !important;
        max-height:none !important;
        overflow:visible !important;
        opacity:1 !important;
    }
    .choma-portal-app.choma-view-mail .choma-mail-selection-form {
        padding:8px !important;
    }
    .choma-portal-app.choma-view-mail .choma-mail-selection-form .choma-mail-list,
    .choma-portal-app.choma-view-mail .choma-mail-screen > .choma-mail-list {
        display:grid !important;
        gap:6px !important;
    }
    .choma-portal-app.choma-view-mail .choma-mail-list--selectable > .choma-mail-list-row {
        grid-template-columns:minmax(0,1fr) 14px !important;
        gap:5px !important;
        min-height:42px !important;
        height:42px !important;
        padding:4px 8px 4px 12px !important;
    }
    .choma-portal-app.choma-view-mail .choma-mail-list-row > a {
        display:grid !important;
        grid-template-columns:minmax(0,1fr) auto !important;
        grid-template-rows:auto auto !important;
        gap:1px 7px !important;
        min-width:0 !important;
        padding:0 !important;
    }
    .choma-portal-app.choma-view-mail .choma-mail-list-row > a > .choma-mail-sender {
        grid-column:1 !important;
        grid-row:1 !important;
        font-size:12px !important;
        line-height:1.1 !important;
    }
    .choma-portal-app.choma-view-mail .choma-mail-list-row > a > time {
        grid-column:2 !important;
        grid-row:1 !important;
        align-self:start !important;
        font-size:10px !important;
        line-height:1.1 !important;
    }
    .choma-portal-app.choma-view-mail .choma-mail-list-row > a > strong {
        grid-column:1 / -1 !important;
        grid-row:2 !important;
        padding-right:2px;
        font-size:12px !important;
        line-height:1.1 !important;
    }
    .choma-portal-app.choma-view-mail .choma-mail-list-row .choma-mail-select {
        align-self:end;
        width:14px;
        height:14px;
        margin-bottom:1px;
    }
    .choma-portal-app.choma-view-mail .choma-mail-list-row .choma-mail-select > span {
        width:12px;
        height:12px;
    }
    .choma-portal-app.choma-view-message .choma-message__actions {
        display:grid !important;
        grid-template-columns:repeat(3,minmax(0,1fr)) !important;
        gap:8px !important;
    }
    .choma-portal-app.choma-view-message .choma-message__actions > .choma-compose {
        grid-column:1 !important;
        grid-row:1 !important;
    }
    .choma-portal-app.choma-view-message .choma-message__actions > a {
        grid-column:2 !important;
        grid-row:1 !important;
    }
    .choma-portal-app.choma-view-message .choma-message__actions > .choma-message__delete-action {
        grid-column:3 !important;
        grid-row:1 !important;
    }
    .choma-portal-app.choma-view-message .choma-message__actions > .choma-message__offer-action {
        grid-column:1 / -1 !important;
        grid-row:2 !important;
    }
    .choma-portal-app.choma-view-message .choma-message__actions > :is(a,form,details),
    .choma-portal-app.choma-view-message .choma-message__actions :is(.choma-btn,button,summary) {
        width:100% !important;
    }
}
