:root{font-family:Inter,Segoe UI,Tahoma,Geneva,Verdana,sans-serif;color:#111827;background:#f7f9fc;--bs-navy: #071a31;--bs-navy-2: #0b2442;--bs-blue: #1976d2;--bs-cyan: #1ea7d7;--bs-purple: #9b2fc2;--bs-border: #e7ebf2;--bs-muted: #667085;--bs-card: #ffffff;--bs-shadow: 0 18px 45px rgba(15, 23, 42, .08);--bs-radius: 8px}*{box-sizing:border-box}body,h1,h2,h3,p{margin:0}a{color:var(--bs-blue)}.auth-wrapper{min-height:100vh;display:grid;place-items:center;padding:1.5rem;overflow:hidden;background:radial-gradient(circle at 7% 6%,rgba(18,151,219,.72),transparent 30%),radial-gradient(circle at 16% 92%,rgba(191,44,146,.78),transparent 30%),radial-gradient(circle at 92% 84%,rgba(196,60,183,.34),transparent 36%),radial-gradient(circle at 52% 32%,rgba(196,232,250,.94),transparent 42%),linear-gradient(135deg,#2f91d4,#cfe8f8 38%,#f4f6ff 64%,#f0d8f1)}.auth-card,.card,.modal-card,.stat-card{background:var(--bs-card);border:1px solid var(--bs-border);border-radius:var(--bs-radius);box-shadow:var(--bs-shadow)}.auth-card{width:min(330px,100%);min-height:380px;align-self:stretch;padding:1.45rem;display:grid;gap:.65rem;align-content:center;border-radius:20px;box-shadow:0 28px 80px #071a3129}.auth-card p,.page-header p{color:var(--bs-muted)}.auth-shell{width:min(760px,100%);display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.95fr);gap:1.05rem;align-items:stretch}.auth-brand-panel{position:relative;min-height:380px;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;padding:1.45rem;color:#fff;border-radius:18px;background:linear-gradient(160deg,#0b1834f0,#0b1834d6 28%,#1d5ea8d1 58%,#5f6fc6c7 78%,#b63d93d6),linear-gradient(145deg,#0b1834,#1d5ea8 45%,#5f6fc6 72%,#b63d93);box-shadow:0 24px 70px #071a3138}.auth-brand-panel:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(circle at 84% 14%,rgba(45,174,248,.56),transparent 33%),radial-gradient(circle at 14% 90%,rgba(207,45,154,.5),transparent 36%),linear-gradient(90deg,rgba(255,255,255,.08),transparent 48%);pointer-events:none}.auth-brand-panel:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background-image:radial-gradient(rgba(164,221,255,.24) 1px,transparent 1px);background-size:14px 14px;-webkit-mask-image:linear-gradient(110deg,transparent 0%,rgba(0,0,0,.35) 42%,rgba(0,0,0,.7) 100%);mask-image:linear-gradient(110deg,transparent 0%,rgba(0,0,0,.35) 42%,rgba(0,0,0,.7) 100%);pointer-events:none}.auth-brand-logo{position:relative;z-index:3;width:min(250px,74%);height:auto;filter:drop-shadow(0 12px 22px rgba(0,0,0,.2))}.auth-orb{position:absolute;border-radius:50%;border:1px solid rgba(119,213,255,.24);pointer-events:none}.auth-orb-blue{right:-78px;top:-42px;width:240px;height:240px;background:radial-gradient(circle,rgba(24,164,232,.52),transparent 68%)}.auth-orb-magenta{left:-86px;bottom:-82px;width:250px;height:250px;border-color:#ec47bf57;background:radial-gradient(circle,rgba(206,42,152,.48),transparent 68%)}.auth-poland-map{position:absolute;right:-18px;top:62px;z-index:1;width:min(74%,380px);height:auto;opacity:.78;filter:drop-shadow(0 0 12px rgba(38,206,255,.28))}.auth-poland-outline{fill:#1976d21a;stroke:#40cdff94;stroke-width:1.7}.auth-map-route{fill:none;stroke:#6edcff61;stroke-width:1.2;stroke-dasharray:6 7}.auth-map-route-2{stroke:#ff56c961}.auth-map-point{fill:#91f1ff;filter:drop-shadow(0 0 8px rgba(123,237,255,.95))}.auth-map-point-magenta{fill:#ff64d5;filter:drop-shadow(0 0 8px rgba(255,91,213,.95))}.auth-circuit-lines{position:absolute;inset:auto -42px -4px auto;z-index:1;width:82%;height:auto;opacity:.5}.auth-circuit-lines path{fill:none;stroke:#25bcf494;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.auth-circuit-lines circle{fill:#229bed;filter:drop-shadow(0 0 7px rgba(79,210,255,.8))}.auth-dot-field{position:absolute;left:0;bottom:0;z-index:1;width:56%;height:42%;background-image:radial-gradient(rgba(255,111,214,.36) 1px,transparent 1px);background-size:10px 10px;-webkit-mask-image:radial-gradient(circle at 0% 100%,rgba(0,0,0,.9),transparent 72%);mask-image:radial-gradient(circle at 0% 100%,rgba(0,0,0,.9),transparent 72%);pointer-events:none}.auth-brand-copy{position:relative;z-index:3;max-width:310px}.auth-brand-copy span{display:inline-flex;margin-bottom:.65rem;padding:.28rem .62rem;border:1px solid rgba(255,255,255,.22);border-radius:999px;color:#c7ecff;font-size:.68rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.auth-brand-copy h1{max-width:310px;font-size:clamp(1.9rem,3vw,2.45rem);line-height:1.08;letter-spacing:-.045em}.auth-brand-copy p{max-width:295px;margin-top:.85rem;color:#c8d8ec;font-size:.9rem;line-height:1.48}.auth-card-heading{display:flex;align-items:center;gap:.75rem;margin-bottom:.3rem}.auth-card-heading h2{color:#0f1f3d;font-size:1.45rem;letter-spacing:-.035em}.auth-card-icon{width:38px;height:38px;flex:0 0 auto;display:grid;place-items:center;border-radius:10px;background:linear-gradient(135deg,#eaf3ff,#f5eaff);color:var(--bs-blue);font-size:1.2rem;font-weight:900}.auth-card input{min-height:38px;border-radius:8px;padding:.5rem .65rem;font-size:.86rem}.auth-submit{min-height:42px;margin-top:.35rem;border-radius:8px;font-size:.9rem;background:linear-gradient(135deg,#1684f8,#3645f4 55%,#9b2fc2);box-shadow:0 16px 34px #2d57f047}.auth-submit:hover{background:linear-gradient(135deg,#0f72dd,#2e38d9 55%,#8425a8)}.app-shell{min-height:100vh;display:grid;grid-template-columns:270px 1fr;background:#f8fafc}.mobile-topbar,.sidebar-overlay{display:none}.sidebar{min-height:100vh;height:100vh;position:sticky;top:0;background:radial-gradient(circle at 95% 20%,rgba(30,167,215,.18),transparent 28%),linear-gradient(180deg,#071a31,#06162a);color:#f9fafb;padding:1.35rem .9rem;display:flex;flex-direction:column;gap:1.5rem;overflow:hidden}.sidebar-main{flex:1 1 auto;min-height:0;overflow-y:auto;padding-right:.2rem;margin-right:-.2rem;scrollbar-gutter:stable}.sidebar-main::-webkit-scrollbar{width:8px}.sidebar-main::-webkit-scrollbar-track{background:transparent}.sidebar-main::-webkit-scrollbar-thumb{background:#c7d7ea42;border-radius:999px}.sidebar-main::-webkit-scrollbar-thumb:hover{background:#c7d7ea6b}.brand{height:56px;display:flex;align-items:center;padding:0 0 1.15rem;margin-bottom:.8rem;border-bottom:1px solid rgba(255,255,255,.08)}.brand img{width:100%;max-height:34px;object-fit:contain;object-position:left center}.menu,.menu-group{display:grid;gap:.3rem}.menu-link{display:flex;align-items:center;gap:.75rem;padding:.78rem .85rem;border-radius:var(--bs-radius);color:#e5edf8;text-decoration:none;font-weight:600;border:1px solid transparent}.menu-group-label{opacity:.92;width:100%;justify-content:space-between;background:transparent;color:#e5edf8}.menu-group-label:hover{background:#ffffff12}.menu-group-main{display:inline-flex;align-items:center;gap:.75rem;min-width:0}.menu-group-chevron{color:#c7d7ea;transition:transform .18s ease}.menu-group-chevron-open{transform:rotate(180deg)}.menu-submenu{display:grid;gap:.25rem;padding-left:2.65rem}.menu-sublink{padding:.6rem .7rem;border-radius:8px;color:#c9d8ea;text-decoration:none;font-size:.92rem;font-weight:600;border:1px solid transparent}.menu-sublink:hover{background:#ffffff12}.menu-sublink-active{background:linear-gradient(135deg,var(--bs-blue),var(--bs-purple));color:#fff;box-shadow:0 10px 24px #1976d247}.menu-icon{width:1.35rem;height:1.35rem;display:grid;place-items:center;color:#c7d7ea}.menu-link:hover{background:#ffffff12}.menu-link-active{background:linear-gradient(135deg,var(--bs-blue),var(--bs-purple));color:#fff;box-shadow:0 10px 24px #1976d247}.sidebar-profile{position:relative;flex-shrink:0;padding-top:1rem;border-top:1px solid rgba(255,255,255,.1);background:linear-gradient(180deg,#071a31eb,#06162afa)}.profile-trigger{width:100%;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.75rem;padding:.65rem;background:transparent;color:#fff;text-align:left}.profile-trigger:hover{background:#ffffff14}.profile-avatar{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:#fff;color:var(--bs-navy);font-weight:800;overflow:hidden}.profile-text{display:grid;gap:.12rem;min-width:0}.profile-text strong,.profile-text small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-text small{color:#b8c7dc}.profile-chevron{color:#c7d7ea}.profile-menu{position:absolute;left:0;right:0;bottom:calc(100% + .55rem);z-index:10;display:grid;gap:.45rem;padding:.6rem;background:#fff;border:1px solid var(--bs-border);border-radius:var(--bs-radius);box-shadow:0 16px 40px #0f172a2e}.profile-menu button{width:100%}.main-content{padding:2rem;min-width:0}.page-header{margin-bottom:1.6rem}.page-header h2{font-size:1.65rem;letter-spacing:0}.page-header p{margin-top:.35rem}.users-grid,.users-grid-single{display:grid;grid-template-columns:1fr;gap:1.35rem}.users-grid-single{max-width:560px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(180px,1fr));gap:1.25rem}.stat-card{min-height:118px;padding:1.15rem;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:1rem}.stat-icon{width:54px;height:54px;display:grid;place-items:center;border-radius:12px;font-weight:800;font-size:1.35rem}.stat-card p{color:#4b5563;font-size:.92rem}.stat-card strong{display:block;margin:.2rem 0;font-size:1.75rem}.stat-card small{color:var(--bs-muted)}.stat-card-blue .stat-icon{color:var(--bs-blue);background:#eaf3ff}.stat-card-green .stat-icon{color:#059669;background:#def7ec}.stat-card-orange .stat-icon{color:#d97706;background:#fff4df}.stat-card-purple .stat-icon{color:var(--bs-purple);background:#f3e8ff}.card{padding:1.35rem;display:grid;gap:1rem}.users-list-card{gap:1.25rem}.users-toolbar{display:flex;justify-content:space-between;align-items:center;gap:1rem}.users-toolbar h3{font-size:1.1rem}.users-toolbar-actions{display:flex;align-items:center;gap:.75rem}.users-toolbar-actions input{width:min(320px,36vw)}label{font-size:.92rem;color:#374151}input,select,button{font:inherit}input,select,textarea{border:1px solid #d9e0ea;border-radius:var(--bs-radius);padding:.65rem .75rem;width:100%;background:#fff}input:focus,select:focus,textarea:focus{outline:3px solid rgba(25,118,210,.14);border-color:var(--bs-blue)}textarea{resize:vertical;min-height:120px;font:inherit}button{border:0;border-radius:var(--bs-radius);background:var(--bs-blue);color:#fff;padding:.68rem .95rem;cursor:pointer;font-weight:600}button:hover{background:#115ea8}button:disabled{cursor:not-allowed;opacity:.65}.secondary-button{background:#fff;color:#1f2937;border:1px solid #d9e0ea}.secondary-button:hover{background:#f3f6fa}.danger-button,.danger-icon-button{color:#b91c1c}.danger-button:hover,.danger-icon-button:hover{background:#fff1f2}.status-message{font-size:.9rem;color:var(--bs-blue)}.error-message{font-size:.9rem;color:#b91c1c}.button-row{display:flex;gap:.75rem}.checkbox-field{display:flex;align-items:center;gap:.55rem}.checkbox-field input{width:auto}.table-wrap{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable;padding-bottom:.3rem;scrollbar-width:thin;scrollbar-color:#a7b7cc #eef3f9}.table-wrap::-webkit-scrollbar{height:10px}.table-wrap::-webkit-scrollbar-track{background:#eef3f9;border-radius:999px}.table-wrap::-webkit-scrollbar-thumb{background:#a7b7cc;border-radius:999px}.table-wrap::-webkit-scrollbar-thumb:hover{background:#7f93ad}table{width:100%;border-collapse:collapse}th,td{text-align:left;border-bottom:1px solid var(--bs-border);padding:1rem .65rem;font-size:.92rem;white-space:nowrap}th{color:#374151;font-weight:700}.user-cell{display:flex;align-items:center;gap:.85rem}.user-cell span:last-child{display:grid;gap:.15rem}.user-cell small{color:var(--bs-muted)}.user-avatar{width:42px;height:42px;flex:0 0 auto;display:grid;place-items:center;border-radius:50%;color:var(--bs-blue);background:#eaf3ff;font-weight:800;overflow:hidden}.user-avatar-image{width:100%;height:100%;display:block;object-fit:cover;border-radius:inherit}.avatar-picker{display:grid;grid-template-columns:auto 1fr;gap:1rem;align-items:center;padding:.9rem 1rem;border:1px solid #d9e0ea;border-radius:14px;background:#f8fbff}.avatar-picker-content{display:grid;gap:.55rem}.avatar-picker-input{display:none}.avatar-picker-actions{display:flex;flex-wrap:wrap;gap:.6rem}.avatar-picker-content small{color:var(--bs-muted)}.role-badge,.status-badge{display:inline-flex;align-items:center;border-radius:999px;padding:.33rem .6rem;font-size:.82rem;font-weight:700}.role-badge{color:#155e9f;background:#eaf3ff}.status-active{color:#047857;background:#def7ec}.status-pending{color:#9a3412;background:#ffedd5}.status-inactive{color:#be123c;background:#ffe4e6}.table-actions{display:flex;gap:.5rem;flex-wrap:wrap}.products-row-clickable{cursor:pointer}.products-row-clickable:hover td{background:#f8fbff}.products-row-clickable:focus-visible{outline:2px solid #1976d2;outline-offset:-2px}.products-table-wrap{overflow-x:auto}.table-wrap .products-table{width:100%;min-width:0;table-layout:fixed}.products-table-selection-column{width:52px}.products-table-name-column{width:35%}.products-table-type-column{width:14%}.products-table-group-column{width:27%}.products-table-amount-column{width:16%}.products-table th,.products-table td{white-space:normal;word-break:break-word}.products-table td:nth-child(3),.products-table th:nth-child(3),.products-table td:nth-child(5),.products-table th:nth-child(5){white-space:nowrap}.products-table .helpdesk-selection-cell{text-align:center}.icon-button{width:2.2rem;height:2.2rem;padding:0;display:grid;place-items:center;background:#fff;color:#334155;border:1px solid #d9e0ea}.icon-button:hover{background:#f3f6fa}.pagination-bar{display:flex;justify-content:space-between;align-items:center;gap:1rem;color:var(--bs-muted)}.pagination-actions{display:flex;align-items:center;gap:.55rem}.pagination-actions span,.pagination-actions small{border:1px solid #d9e0ea;border-radius:var(--bs-radius);padding:.55rem .75rem;background:#fff;color:#1f2937}.page-size-select{display:inline-flex;align-items:center;gap:.45rem;color:var(--bs-muted);font-size:.9rem;font-weight:700}.page-size-select select{width:auto;min-width:82px;padding:.5rem .65rem}.sort-header{display:inline-flex;align-items:center;gap:.35rem;padding:0;background:transparent;border:0;color:inherit;font:inherit;font-weight:800}.sort-header:hover{background:transparent;color:var(--bs-blue);box-shadow:none}.sort-header-active{color:var(--bs-blue)}.dashboard-page{display:grid;gap:0}.dashboard-header{margin-bottom:1.25rem}.dashboard-section-label{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;margin-bottom:.85rem}.dashboard-section-label-spaced{margin-top:1.6rem}.dashboard-section-label span{color:#0f1f3d;font-size:1.05rem;font-weight:900}.dashboard-section-label small{color:var(--bs-muted);font-weight:700;text-transform:capitalize}.dashboard-stats-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.dashboard-card{color:inherit;text-decoration:none;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.dashboard-card:hover{background:#fff;border-color:#1976d261;box-shadow:0 18px 45px #1976d21f;transform:translateY(-1px)}.monitoring-page,.statistics-page,.error-logs-page{display:grid;gap:0}.statistics-header{display:flex;justify-content:space-between;align-items:center;gap:1rem}.month-switcher{display:inline-flex;align-items:center;gap:.65rem;padding:.35rem;border:1px solid var(--bs-border);border-radius:var(--bs-radius);background:#fff;box-shadow:var(--bs-shadow)}.month-switcher strong{min-width:180px;color:#0f1f3d;text-align:center;text-transform:capitalize}.statistics-stats{grid-template-columns:repeat(3,minmax(180px,1fr));margin-bottom:1.6rem}.statistics-card{gap:1.25rem}.statistics-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.error-logs-stats{grid-template-columns:repeat(2,minmax(180px,1fr));margin-bottom:1.6rem}.error-logs-card{gap:1.25rem}.error-logs-filters,.error-logs-filter-row{display:grid;gap:1rem}.error-logs-filter-row-primary{grid-template-columns:minmax(0,1fr) 180px 180px auto;align-items:end}.error-logs-filter-row-secondary{grid-template-columns:repeat(2,minmax(0,1fr))}.error-logs-filter-actions{display:flex;gap:.75rem;justify-content:flex-end;align-items:flex-end;flex-wrap:wrap}.error-logs-table td{vertical-align:top}.error-group-row{cursor:pointer;transition:background .16s ease,box-shadow .16s ease}.error-group-row:hover{background:#f8fbff}.error-group-row-expanded{background:#f3f8ff}.error-occurrence-row td{background:#eaf3ff;border-top-color:#d2e3ff}.error-occurrence-content{padding-left:1.4rem}.error-occurrence-time{position:relative}.error-occurrence-time:before{content:"";position:absolute;left:.75rem;top:.48rem;bottom:.48rem;width:3px;border-radius:999px;background:linear-gradient(180deg,#8ec5ff,#4b9fff)}.error-group-qty{display:inline-flex;min-width:2rem;justify-content:center;padding:.18rem .55rem;border-radius:999px;background:#0f1f3d14;color:#0f1f3d;font-weight:800}.error-detail-trigger{display:block;width:100%;padding:.35rem .45rem;border:0;background:transparent;text-align:left;color:inherit;cursor:pointer;border-radius:12px;transition:background .16s ease,color .16s ease,box-shadow .16s ease}.error-detail-trigger:hover{background:#ffffffb8}.error-detail-trigger:hover strong{color:#0f1f3d}.error-detail-trigger:focus-visible{outline:2px solid rgba(21,94,239,.22);outline-offset:1px;background:#ffffffe0}.error-logs-table th:last-child,.error-logs-table td:last-child{text-align:right;white-space:nowrap}.error-detail-modal{width:min(1180px,calc(100vw - 2rem));height:min(860px,calc(100dvh - 2rem));max-height:calc(100dvh - 2rem);padding:0;gap:0;display:flex;flex-direction:column;overflow:hidden;border-radius:18px;box-shadow:0 22px 64px #0f172a3d}.error-detail-modal .modal-header{flex:0 0 auto;padding:1.1rem 1.25rem;border-bottom:1px solid var(--bs-border);background:#fff}.error-detail-modal-body{display:grid;flex:1 1 auto;min-height:0;gap:1rem;overflow-y:auto;overflow-x:hidden;padding:1.25rem}.error-detail-meta{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.85rem}.error-detail-meta div{display:grid;gap:.2rem;padding:.85rem .95rem;border-radius:14px;background:#f8fbff;border:1px solid #dbe7f5}.error-detail-meta strong{color:#475467;font-size:.78rem}.error-detail-meta span{color:#101828;font-weight:600;word-break:break-word}.error-detail-section{display:grid;gap:.45rem}.error-detail-section strong{color:#344054}.error-detail-section pre{margin:0;padding:1rem;border-radius:14px;background:#0f172a;color:#e5eefb;white-space:pre-wrap;word-break:break-word;font-family:Cascadia Code,Consolas,monospace;font-size:.9rem;line-height:1.5}.error-detail-modal-footer{flex:0 0 auto;display:flex;justify-content:flex-end;gap:.9rem;padding:.9rem 1.35rem 1rem;border-top:1px solid var(--bs-border);background:linear-gradient(180deg,#f8fbffeb,#fff)}.error-occurrence-row .error-detail-trigger:hover{background:#ffffff94}.error-row-subtext{margin-top:.18rem;color:#667085;font-size:.82rem;white-space:normal}.error-row-message{margin-top:.25rem;color:#1f2937;white-space:normal;line-height:1.45}.error-logs-empty{text-align:center;color:#667085;padding:1.25rem .75rem}.clients-stats{grid-template-columns:repeat(4,minmax(180px,1fr));margin-bottom:1.6rem}.clients-card{gap:1.25rem}.clients-search{display:grid;gap:1rem}.clients-search-actions{display:flex;justify-content:flex-end}.clients-group-row{cursor:pointer;transition:background .16s ease,box-shadow .16s ease}.clients-group-row:hover{background:#f8fbff}.clients-group-row-expanded{background:#f3f8ff}.clients-child-row td{background:#edf6ff;border-top-color:#d6e7fb}.clients-child-row-clickable{cursor:pointer;transition:background .16s ease,box-shadow .16s ease}.clients-child-row-clickable:hover td{background:#e4f0ff}.clients-child-indent{position:relative;padding-left:1.4rem}.clients-child-indent:before{content:"";position:absolute;left:.4rem;top:.15rem;bottom:.15rem;width:3px;border-radius:999px;background:linear-gradient(180deg,#8ec5ff,#4b9fff)}.clients-child-name{margin-top:.18rem;color:#667085;font-size:.82rem}.clients-child-hint{margin-top:.2rem;color:#2d7df0;font-size:.74rem;font-weight:600}.clients-empty{text-align:center;color:#667085;padding:1.25rem .75rem}.client-details-modal{width:min(960px,calc(100vw - 3rem));height:min(860px,calc(100dvh - 2rem))}.client-details-modal .user-modal-body{min-height:0;overflow-y:auto}.client-details-icon{font-size:1rem;letter-spacing:.04em}.client-details-body{display:flex;flex-direction:column;min-height:0;overflow-y:auto}.client-details-layout{display:grid;gap:1rem}.client-details-section{display:grid;gap:.75rem;padding:.75rem;border:1px solid #e2eaf5;border-radius:16px;background:linear-gradient(180deg,#fff,#fbfdff);box-shadow:inset 0 1px #ffffffe6}.client-details-section-heading{display:grid;gap:.2rem}.client-details-section-heading h4{color:#0f1f3d;font-size:1.05rem}.client-details-section-heading p{color:#74809b;font-size:.88rem}.client-details-section-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.client-details-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem}.client-details-field{display:grid;gap:.22rem;padding:.6rem .75rem;border:1px solid #e4ebf5;border-radius:10px;background:#f8fbff}.client-details-field span{color:#74809b;font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.client-details-field strong{color:#0f1f3d;font-size:.98rem;line-height:1.4;word-break:break-word}.client-visibility-toggle{display:inline-flex;align-items:center;gap:.55rem}.client-visibility-toggle input{width:16px;height:16px}.client-applications-list{display:grid;gap:.75rem}.client-applications-list-simple{gap:.55rem}.client-application-card{display:flex;align-items:center;justify-content:space-between;gap:.9rem;padding:.9rem .95rem;border:1px solid #e4ebf5;border-radius:12px;background:#f8fbff}.client-application-card strong{color:#0f1f3d}.client-contacts-table-wrap{margin:0}.client-contacts-table th,.client-contacts-table td{white-space:normal}.client-contact-row-clickable{cursor:pointer}.client-contact-row-clickable:hover{background:#f8fbff}.client-contact-modal{width:min(720px,calc(100vw - 3rem));height:min(620px,calc(100dvh - 2rem))}.client-contact-modal-body{min-height:0;overflow-y:auto}.client-contact-modal-footer{justify-content:space-between}.client-contact-modal-footer-start,.client-contact-modal-footer-end{display:flex;align-items:center;gap:.75rem}.client-details-empty{display:grid;gap:.35rem;padding:1rem;border:1px dashed #c8d6ea;border-radius:12px;background:#f8fbff;color:#4d5c78}.status-warning{color:#9a3412;background:#f9731624}.status-blocked{color:#991b1b;background:#ef444424}.statistics-row{cursor:pointer;transition:background .16s ease,box-shadow .16s ease}.statistics-row:hover{background:#f8fbff}.statistics-row:focus-visible{outline:3px solid rgba(25,118,210,.18);outline-offset:-2px;background:#eef6ff}.transaction-count{font-weight:900;color:#0f1f3d}.statistics-detail-modal{position:fixed;z-index:26;width:min(760px,calc(100vw - 2rem));max-height:calc(100vh - 2rem);padding:0;overflow:hidden;border-radius:18px;box-shadow:0 24px 80px #0f172a47}.statistics-detail-modal-header{min-height:92px;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.35rem 1.5rem;border-bottom:1px solid var(--bs-border);background:radial-gradient(circle at 88% 18%,rgba(30,167,215,.12),transparent 28%),linear-gradient(135deg,#eaf3ffbd,#f3e8ffeb);cursor:grab;-webkit-user-select:none;user-select:none}.statistics-detail-modal-header:active{cursor:grabbing}.statistics-detail-heading{display:flex;align-items:center;gap:1rem;min-width:0}.statistics-detail-heading h3{color:#0f1f3d;font-size:1.35rem;letter-spacing:-.02em}.statistics-detail-heading p{margin-top:.35rem;color:#667085;font-size:.95rem}.statistics-detail-icon{width:58px;height:58px;flex:0 0 auto;display:grid;place-items:center;border-radius:16px;background:#fff;color:#2d7df0;border:1px solid rgba(45,125,240,.12);box-shadow:0 12px 28px #2d7df01f;font-size:1.5rem;font-weight:900}.statistics-detail-modal-body{display:grid;gap:1rem;padding:1.35rem 1.5rem 1.5rem;overflow:auto}.statistics-detail-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.statistics-detail-summary-card{display:grid;gap:.25rem;padding:1rem 1.05rem;border:1px solid var(--bs-border);border-radius:14px;background:#f8fbff}.statistics-detail-summary-card span{color:#667085;font-size:.86rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.statistics-detail-summary-card strong{color:#0f1f3d;font-size:1.45rem;letter-spacing:-.03em}.statistics-detail-summary-card small{color:#667085;line-height:1.45}.statistics-detail-table th,.statistics-detail-table td{white-space:normal}.statistics-detail-empty{text-align:center;color:#667085;padding:1.25rem .75rem}.monitoring-stats{margin-bottom:1.6rem}.monitoring-card{gap:1.25rem}.monitoring-toolbar{display:flex;justify-content:space-between;gap:1rem}.monitoring-toolbar h3{font-size:1.1rem}.monitoring-toolbar p{margin-top:.35rem;color:var(--bs-muted)}.monitoring-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.monitoring-filter{position:relative;display:grid;gap:.45rem}.monitoring-filter-trigger{width:100%;min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.75rem .9rem;background:#fff;color:#0f1f3d;border:1px solid #d9e0ea;border-radius:var(--bs-radius);text-align:left}.monitoring-filter-trigger:hover{background:#f8fbff}.monitoring-filter-trigger strong,.monitoring-filter-trigger small{display:block}.monitoring-filter-trigger small{margin-top:.2rem;color:var(--bs-muted);font-weight:600}.monitoring-filter-menu{position:absolute;top:calc(100% + .35rem);left:0;right:0;z-index:12;display:grid;gap:.7rem;max-height:340px;overflow:auto;padding:.75rem;background:#fff;border:1px solid var(--bs-border);border-radius:var(--bs-radius);box-shadow:0 18px 44px #0f172a29}.monitoring-filter-search{width:100%;min-height:40px;padding:.6rem .75rem;border:1px solid #d9e0ea;border-radius:10px;background:#fff;color:#0f1f3d}.monitoring-filter-bulk{display:flex;gap:.5rem;flex-wrap:wrap}.monitoring-filter-options{display:grid;gap:.35rem}.filter-chip{display:flex;align-items:center;gap:.4rem;padding:.4rem .45rem;border:1px solid #d9e0ea;border-radius:6px;background:#fff;color:#1f2937;cursor:pointer}.monitoring-filter-empty{margin:0;padding:.5rem .25rem;color:var(--bs-muted);font-size:.9rem}.filter-chip input{width:auto;accent-color:var(--bs-blue)}.user-client-groups{display:grid;gap:.65rem;padding:.75rem;border:1px solid #d9e0ea;border-radius:12px;background:#f8fbff}.user-client-groups .monitoring-filter-bulk{align-items:center}.user-client-groups .monitoring-filter-bulk small{color:var(--bs-muted);font-weight:700}.user-client-groups .monitoring-filter-options{max-height:180px;overflow:auto}.compact-button{justify-self:start;padding:.4rem .6rem;font-size:.85rem}.stat-filter-card{width:100%;color:inherit;text-align:left}.stat-filter-card:hover{background:#fff;border-color:#1976d261;box-shadow:0 18px 45px #1976d21f}.stat-filter-card-active{border:2px solid var(--bs-blue);box-shadow:0 18px 45px #1976d22e}.monitoring-table th,.monitoring-table td{padding:.48rem .55rem;font-size:.86rem}.monitoring-table .icon-button{width:1.8rem;height:1.8rem}.monitoring-table .latest-version{display:block;margin-top:.15rem;color:#b45309;font-weight:700}.client-status-note{margin-left:.35rem;color:#b45309;font-weight:800}.monitoring-row-outdated{background:#fff8eb}.version-badge{display:inline-flex;align-items:center;border-radius:999px;padding:.2rem .48rem;background:#def7ec;color:#047857;font-weight:800}.version-outdated{background:#ffedd5;color:#c2410c}.activity-cell{font-weight:800}.activity-ok{color:#047857}.activity-warning{color:#d97706;background:#fff7ed}.activity-danger{color:#be123c;background:#fff1f2}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;display:grid;place-items:center;padding:1rem;background:#0f172a85}.modal-card{width:min(480px,100%);max-height:calc(100vh - 2rem);overflow:auto;padding:1rem;display:grid;gap:.7rem}.modal-header{display:flex;justify-content:space-between;align-items:center;gap:.75rem}.user-modal-backdrop{background:#0f172a94;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.user-modal-card{width:min(820px,calc(100vw - 3rem));height:min(860px,calc(100dvh - 2rem));padding:0;gap:0;display:flex;flex-direction:column;overflow:hidden;border-radius:18px;box-shadow:0 22px 64px #0f172a3d}.user-modal-header{min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:1.5rem;padding:1.15rem 1.35rem;border-bottom:1px solid var(--bs-border)}.user-modal-heading{display:flex;align-items:center;gap:.9rem}.user-modal-heading h3{color:#0f1f3d;font-size:clamp(1.2rem,1.8vw,1.5rem);line-height:1.1;letter-spacing:-.03em}.user-modal-heading p{margin-top:.2rem;color:#74809b;font-size:.9rem}.user-modal-icon{width:52px;height:52px;flex:0 0 auto;display:grid;place-items:center;border-radius:14px;background:linear-gradient(135deg,#eaf3ff,#f4f8ff);color:#2d7df0;font-weight:800}.user-modal-icon svg{width:36px;height:36px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.user-modal-close{width:44px;height:44px;padding:0;display:grid;place-items:center;background:#fff;color:#46516c;border:1px solid #d7deeb;border-radius:12px;font-size:1.65rem;line-height:1}.user-modal-close:hover{background:#f6f8fb}.user-modal-body{display:flex;flex-direction:column;align-items:stretch;gap:.85rem;padding:1rem 1.35rem;flex:1 1 auto;min-height:0;overflow:hidden}.user-modal-tabs{display:flex;align-items:flex-end;gap:.35rem;flex:0 0 auto;margin:0 -.1rem;padding:0 .1rem;border-bottom:1px solid #e7ebf2}.user-modal-tab{min-height:44px;padding:.75rem 1.1rem .7rem;border:1px solid transparent;border-bottom:none;border-radius:12px 12px 0 0;background:#f5f7fb;color:#51607b;font-size:.95rem;font-weight:700;transform:translateY(1px)}.user-modal-tab:hover{background:#eef4ff;color:#16315f}.user-modal-tab-active{border-color:#d9e2f0;background:#fff;color:#1758b5;box-shadow:0 -1px #2d7df00a,inset 0 2px #2d7df0}.user-modal-panel{display:grid;flex:1 1 auto;min-height:0;gap:.85rem;align-content:start;overflow-y:auto;padding-top:.25rem}.user-modal-panel-permissions{overflow:hidden}.user-permissions-panel{display:grid;gap:1rem}.user-permissions-panel-scroll{grid-template-rows:auto 1fr;min-height:0;overflow:hidden}.user-permissions-intro{display:grid;gap:.3rem;padding:.9rem 1rem;border:1px solid #e7ebf2;border-radius:14px;background:linear-gradient(180deg,#fbfdff,#f5f9ff)}.user-permissions-intro p{margin:0;color:#51607b}.permission-tree-field{display:grid;gap:.75rem;grid-template-rows:auto 1fr;min-height:0}.permission-tree-toolbar{display:flex;flex-wrap:wrap;gap:.55rem}.permission-tree-shell{display:grid;gap:.35rem;min-height:0;overflow:auto;padding:.75rem 1rem .85rem;border:1px solid #d9e3ef;border-radius:14px;background:#fff}.permission-tree-branch{display:grid;gap:.2rem}.permission-tree-level-1,.permission-tree-level-2,.permission-tree-level-3,.permission-tree-level-4{margin-left:.9rem;padding-left:.7rem;border-left:1px dotted #c8d4e5}.permission-tree-row{display:grid;gap:.18rem}.permission-tree-item{min-height:28px;display:flex;align-items:flex-start;gap:.35rem}.permission-tree-toggle{width:16px;height:16px;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;margin-top:.15rem;padding:0;border:1px solid #b9c7da;border-radius:4px;background:#f8fbff;color:#31476f;font-size:.78rem;line-height:1}.permission-tree-toggle-empty{border-color:transparent;background:transparent;cursor:default}.permission-tree-label{display:flex;align-items:flex-start;gap:.45rem;cursor:pointer;flex:1 1 auto;min-width:0}.permission-tree-label input{width:16px;min-width:16px;height:16px;min-height:16px;margin:.15rem 0 0;padding:0;border-radius:4px;flex:0 0 auto}.permission-tree-text{display:grid;gap:.08rem;flex:1 1 auto;min-width:0}.permission-tree-text strong{color:#16315f;font-size:.93rem;line-height:1.25}.permission-tree-text small{color:#667085;line-height:1.3}.interactive-row{cursor:pointer}.interactive-row:hover td{background:#f8fbff}.form-grid{display:grid;gap:.85rem}.form-grid-two{grid-template-columns:repeat(2,minmax(0,1fr))}.form-field{display:grid;gap:.35rem}.form-field label{color:#33415f;font-size:.9rem}.user-modal-card input,.user-modal-card select,.user-modal-card textarea{min-height:42px;border-radius:10px;border-color:#d6deea;padding:.62rem .78rem;color:#111827;font-size:.95rem}.user-modal-card input:focus,.user-modal-card select:focus,.user-modal-card textarea:focus{outline:4px solid rgba(45,125,240,.14);border-color:#2d7df0}.user-modal-card textarea{min-height:104px}.receivables-filters-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.receivable-search-section{display:grid;gap:.55rem}.searchable-combobox{position:relative}.searchable-combobox-trigger{width:100%;justify-content:space-between;text-align:left}.searchable-combobox-trigger-open{border-color:#1976d257;box-shadow:0 10px 24px #1976d21f}.searchable-combobox-menu{width:100%;display:grid;gap:.6rem}.searchable-combobox-clear{min-height:36px}.searchable-combobox-options{display:grid;gap:.45rem;max-height:220px;overflow-y:auto}.searchable-combobox-option{display:grid;gap:.18rem;padding:.72rem .8rem;border:1px solid #d9e0ea;border-radius:10px;background:#fff;color:#0f1f3d;text-align:left}.searchable-combobox-option:hover{background:#f3f7ff}.searchable-combobox-option strong,.searchable-combobox-option small{display:block}.searchable-combobox-option small,.searchable-combobox-empty{color:#667085}.searchable-combobox-option-active{border-color:#2d7df0;background:linear-gradient(180deg,#eef5ff,#fff);box-shadow:0 10px 24px #2d7df01f}.searchable-combobox-empty{padding:.7rem .8rem;font-size:.92rem}.searchable-select{display:grid;gap:.45rem}.searchable-select-list{display:grid;gap:.45rem;max-height:220px;overflow-y:auto;padding:.3rem;border:1px solid #d6deea;border-radius:12px;background:#f8fbff}.searchable-select-option{display:grid;gap:.18rem;padding:.72rem .8rem;border:1px solid #d9e0ea;border-radius:10px;background:#fff;color:#0f1f3d;text-align:left}.searchable-select-option:hover{background:#f3f7ff}.searchable-select-option strong,.searchable-select-option small{display:block}.searchable-select-option small,.searchable-select-summary,.searchable-select-empty{color:#667085}.searchable-select-option-active{border-color:#2d7df0;background:linear-gradient(180deg,#eef5ff,#fff);box-shadow:0 10px 24px #2d7df01f}.searchable-select-empty{padding:.7rem .8rem;font-size:.92rem}.searchable-select-summary{font-size:.86rem}.receivable-checkbox-option{margin-top:.2rem}.receivable-checkbox-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.receivable-checkbox-option-compact{gap:.65rem;padding:.7rem .8rem;border-radius:12px}.receivable-checkbox-option-compact input{width:16px;height:16px;margin-top:.05rem}.receivable-checkbox-option-compact strong{font-size:.9rem}.receivable-checkbox-option-compact small{font-size:.82rem;line-height:1.35}.receivable-selection-row{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1.15fr) minmax(140px,.7fr);gap:.85rem;align-items:end}.receivable-modal-card{width:min(780px,calc(100vw - 3rem));height:min(760px,calc(100dvh - 2rem))}.receivable-modal-card .user-modal-header{min-height:72px;gap:1rem;padding:.9rem 1rem}.receivable-modal-card .user-modal-heading{gap:.7rem}.receivable-modal-card .user-modal-heading h3{font-size:1rem}.receivable-modal-card .user-modal-heading p{margin-top:.08rem;font-size:.76rem}.receivable-modal-card .user-modal-icon{width:42px;height:42px;border-radius:12px;font-size:.9rem}.receivable-modal-card .user-modal-close{width:38px;height:38px;border-radius:11px;font-size:1.45rem}.receivable-modal-card .user-modal-body{gap:.65rem;padding:.85rem 1rem}.receivable-modal-card .form-grid,.receivable-modal-card .receivable-selection-row,.receivable-modal-card .receivable-pricing-row,.receivable-modal-card .receivable-checkbox-row{gap:.7rem}.receivable-modal-card .form-field{gap:.22rem}.receivable-modal-card .form-field label{font-size:.76rem}.receivable-modal-card input,.receivable-modal-card select,.receivable-modal-card textarea{min-height:40px;padding:.52rem .68rem;font-size:.82rem}.receivable-modal-card textarea{min-height:116px}.receivable-modal-card .currency-input input{padding-right:2.9rem}.receivable-modal-card .currency-input span{right:.75rem;font-size:.78rem}.receivable-modal-card .searchable-combobox-trigger{min-height:40px;padding:.52rem .68rem}.receivable-modal-card .searchable-combobox-trigger strong{font-size:.78rem;font-weight:700}.receivable-modal-card .receivable-product-combobox .searchable-combobox-trigger strong{font-weight:600}.receivable-modal-card .searchable-combobox-trigger small{font-size:.72rem}.receivable-modal-card .searchable-combobox-menu{gap:.45rem}.receivable-modal-card .searchable-combobox-option{padding:.48rem .56rem}.receivable-modal-card .searchable-combobox-option strong{font-size:.78rem;font-weight:700}.receivable-modal-card .searchable-combobox-option small{font-size:.72rem}.receivable-modal-card .settings-visibility-option{gap:.65rem;padding:.75rem .85rem;border-radius:12px}.receivable-modal-card .settings-visibility-option strong{font-size:.78rem;font-weight:700}.receivable-modal-card .settings-visibility-option small{font-size:.72rem;line-height:1.3}.receivable-modal-card .user-modal-footer{gap:.65rem;padding:.8rem 1rem}.receivable-modal-card .user-modal-cancel,.receivable-modal-card .user-modal-primary{min-height:44px;padding:.58rem .95rem}.receivable-pricing-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.85rem;align-items:end}.currency-input{position:relative}.currency-input input{padding-right:3.4rem}.currency-input span{position:absolute;right:.9rem;top:50%;transform:translateY(-50%);color:#667085;font-size:.86rem;font-weight:700;pointer-events:none}.currency-input-readonly input{background:#f8fbff;color:#0f1f3d;font-weight:700}.receivable-number-cell,.receivable-number-input{text-align:right}.receivable-description-cell{min-width:220px;max-width:340px;white-space:normal}.receivable-row-clickable{cursor:pointer}.receivable-row-clickable:hover{background:#f8fbff}.user-options{display:grid;gap:.75rem}.user-settings-section{display:grid;gap:.9rem;padding-top:.2rem}.user-settings-section-header{display:grid;gap:.25rem}.user-settings-section-header p{margin:0;color:#74809b;font-size:.92rem}.user-option{display:grid;grid-template-columns:auto 1fr;gap:.75rem;align-items:start;color:#0f1f3d}.user-option input{width:22px;height:22px;min-height:0;margin:.15rem 0 0;accent-color:#2d7df0}.user-option span{display:grid;gap:.2rem}.user-option strong{font-size:.98rem}.user-option small{color:#74809b;font-size:.92rem}.user-modal-footer{display:flex;flex:0 0 auto;justify-content:flex-end;gap:.9rem;padding:.9rem 1.35rem 1rem;border-top:1px solid var(--bs-border);background:linear-gradient(180deg,#f8fbffeb,#fff)}.user-modal-cancel,.user-modal-primary{min-width:128px;min-height:42px;border-radius:10px;padding:.65rem .95rem;font-size:.95rem;font-weight:800}.user-modal-primary{min-width:220px;display:inline-flex;align-items:center;justify-content:center;gap:.8rem;background:linear-gradient(135deg,#1684f8,#3645f4);box-shadow:0 14px 30px #2d57f047}.user-modal-primary:hover{background:linear-gradient(135deg,#0f72dd,#2e38d9)}.helpdesk-page{display:grid;gap:0}.helpdesk-stats{margin-bottom:1.6rem}.helpdesk-card{gap:1.25rem}.helpdesk-filters{display:grid;gap:.95rem}.helpdesk-filters-row{display:grid;gap:1rem;align-items:end;min-width:0}.helpdesk-filters-row>*{min-width:0}.helpdesk-filters-row-primary{grid-template-columns:96px minmax(180px,1.05fr) minmax(170px,.72fr) minmax(220px,.95fr) minmax(220px,.95fr)}.helpdesk-filters-row-secondary{grid-template-columns:auto auto auto 1fr;align-items:center;justify-content:start}.helpdesk-filter-actions{display:flex;justify-content:flex-start;min-width:fit-content}.helpdesk-search-field{min-width:0}.helpdesk-id-search-field{min-width:96px;max-width:112px}.helpdesk-id-search-field input{text-align:center}.helpdesk-status-filter-field,.helpdesk-client-filter-field{min-width:0}.helpdesk-toolbar-columns{min-width:150px;justify-self:end}.helpdesk-toolbar-columns .monitoring-filter-trigger{min-height:44px;height:44px;padding-top:.72rem;padding-bottom:.72rem}.helpdesk-columns-menu{left:auto;right:0;width:min(420px,calc(100vw - 2rem));min-width:320px;max-height:min(70vh,540px);overflow-x:hidden}.helpdesk-columns-menu .monitoring-filter-bulk{justify-content:space-between}.helpdesk-columns-menu .monitoring-filter-options{gap:.55rem}.helpdesk-clients-menu{width:min(520px,calc(100vw - 2rem));min-width:420px}.helpdesk-column-chip{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.75rem;padding:.65rem .75rem;border-radius:10px}.helpdesk-column-chip-toggle{display:flex;align-items:center;gap:.55rem;min-width:0;font-weight:600;line-height:1.3;cursor:pointer}.helpdesk-column-chip-toggle span{min-width:0;overflow-wrap:anywhere}.helpdesk-column-chip-actions{display:inline-flex;align-items:center;gap:.45rem;flex-shrink:0}.helpdesk-column-chip-actions .compact-button{min-width:34px;min-height:34px;padding:.35rem .55rem;justify-content:center}.helpdesk-column-chip-selected{border-color:#bfd5f7;background:#f8fbff}.helpdesk-table td{vertical-align:top}.helpdesk-table{width:max(100%,1480px)}.helpdesk-column-title{width:360px;min-width:360px;max-width:360px;white-space:normal}.helpdesk-table-shell{max-width:100%;overflow-x:hidden}.helpdesk-table-top-scroll{margin-bottom:.35rem;border:1px solid #dbe5f0;border-radius:999px;background:#f8fbff}.helpdesk-table-sticky-overlay{position:sticky;top:.35rem;z-index:12;margin-bottom:.35rem;max-width:100%;overflow:hidden;border:1px solid #dbe5f0;border-radius:14px;background:#fffffff7;box-shadow:0 10px 24px #0f172a14;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.helpdesk-table-sticky-scroll{padding-bottom:0;background:transparent}.helpdesk-table-sticky-clone{min-width:100%}.helpdesk-table-sticky-clone th{background:#fff}.helpdesk-task-row{cursor:pointer}.helpdesk-task-row-loading td{background:#1a73e814}.helpdesk-selection-cell{width:48px;text-align:center}.helpdesk-selection-cell input{width:16px;height:16px}.helpdesk-bulk-actions{position:relative}.helpdesk-bulk-actions-trigger{min-width:132px;justify-content:space-between}.helpdesk-bulk-actions-menu{position:absolute;top:calc(100% + .45rem);right:0;z-index:30;min-width:220px;display:grid;gap:.2rem;padding:.45rem;border:1px solid var(--bs-border);border-radius:12px;background:#fff;box-shadow:0 18px 42px #0f172a29}.helpdesk-bulk-actions-menu button{width:100%;padding:.72rem .8rem;border-radius:10px;background:transparent;color:#0f1f3d;text-align:left}.helpdesk-bulk-actions-menu button:hover:not(:disabled){background:#f4f8ff}.helpdesk-bulk-modal{width:min(560px,calc(100vw - 2rem))}.helpdesk-primary-action{min-height:44px;padding:.72rem 1rem;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;gap:.55rem;background:var(--bs-blue);color:#fff;font-weight:800}.helpdesk-primary-action:hover:not(:disabled){background:#115ea8}.helpdesk-primary-action:disabled{opacity:.65;cursor:not-allowed}.helpdesk-task-row:hover td{background:#1a73e80a}.helpdesk-task-row-overdue td{background:#dc262614}.helpdesk-task-row-overdue:hover td{background:#dc262624}.helpdesk-assignee-avatars{display:flex;align-items:center;gap:.45rem;flex-wrap:wrap}.helpdesk-assignee-avatar{box-shadow:0 0 0 2px #fff}.helpdesk-assignee-empty{color:var(--bs-muted)}.helpdesk-author-signature{display:grid;gap:.18rem}.helpdesk-author-signature small{color:#667085;font-size:.8rem}.helpdesk-due-inputs{display:grid;grid-template-columns:minmax(0,1fr) 140px;gap:.6rem}.helpdesk-author-badge{display:inline-flex;align-items:center;width:fit-content;padding:.2rem .5rem;border-radius:999px;font-size:.72rem;font-weight:800;letter-spacing:.02em}.helpdesk-author-badge-external{color:#9a3412;background:#ffedd5}.helpdesk-task-row:focus-visible{outline:2px solid var(--bs-blue);outline-offset:-2px}.helpdesk-task-cell{display:grid;gap:.2rem;max-width:340px}.helpdesk-task-cell strong{display:inline-flex;align-items:center;gap:.6rem;flex-wrap:wrap;white-space:normal;overflow-wrap:anywhere;word-break:break-word}.helpdesk-inline-loading{display:inline-flex;align-items:center;gap:.4rem;color:#155e9f;font-size:.82rem;font-weight:700}.helpdesk-inline-loading-spinner{width:14px;height:14px;border:2px solid rgba(21,94,159,.22);border-top-color:#155e9f;border-radius:50%;animation:helpdesk-spin .8s linear infinite}.helpdesk-task-cell small{color:#667085;white-space:normal;line-height:1.45}@keyframes helpdesk-spin{to{transform:rotate(360deg)}}.helpdesk-note-reference-card-pending{opacity:.8;border-style:dashed}.helpdesk-status,.helpdesk-priority{white-space:nowrap}.helpdesk-status-new{color:#155e9f;background:#eaf3ff}.helpdesk-status-waiting{color:#9a3412;background:#f9731624}.helpdesk-status-answered{color:#0f766e;background:#ccfbf1}.helpdesk-status-progress{color:#6d28d9;background:#f3e8ff}.helpdesk-status-hold{color:#475467;background:#f2f4f7}.helpdesk-status-completed,.helpdesk-priority-low{color:#047857;background:#def7ec}.helpdesk-priority-medium{color:#155e9f;background:#eaf3ff}.helpdesk-priority-high{color:#9a3412;background:#ffedd5}.helpdesk-priority-critical{color:#991b1b;background:#fee2e2}.helpdesk-modal-card,.helpdesk-detail-card{width:min(860px,calc(100vw - 2rem))}.helpdesk-create-card{width:min(1180px,calc(100vw - 2rem))}.helpdesk-modal-card{display:flex;flex-direction:column}.helpdesk-modal-card .user-modal-header,.helpdesk-modal-card .user-modal-footer{flex:0 0 auto}.helpdesk-modal-card .user-modal-body{flex:1 1 auto;min-height:0;overflow-y:auto}.helpdesk-modal-card .user-modal-footer{background:linear-gradient(180deg,#f8fbffeb,#fff)}.helpdesk-reference-footer-actions{display:flex;align-items:center;justify-content:space-between;gap:1rem}.helpdesk-detail-card{position:relative}.helpdesk-detail-header-actions{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap}.helpdesk-detail-body{display:grid;gap:.85rem}.helpdesk-detail-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:.85rem}.helpdesk-detail-panel{display:grid;gap:.85rem}.helpdesk-summary-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.6rem}.helpdesk-summary-strip div{display:grid;gap:.2rem;padding:.7rem .8rem;border-radius:12px;border:1px solid var(--bs-border);background:#f8fbff}.helpdesk-summary-strip strong,.helpdesk-inline-form-header strong{color:#344054;font-size:.82rem}.helpdesk-summary-strip span,.helpdesk-inline-form-header p{color:#475467;font-size:.85rem}.helpdesk-inline-form{display:grid;gap:.8rem;padding:.9rem;border:1px solid var(--bs-border);border-radius:14px;background:linear-gradient(180deg,#fbfdff,#f6faff)}.helpdesk-inline-form-header{display:flex;align-items:start;justify-content:space-between;gap:.75rem}.helpdesk-inline-form-header p{margin-top:.2rem}.helpdesk-compact-grid{align-items:end}.helpdesk-meta-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.helpdesk-meta-grid div{display:grid;gap:.25rem;padding:.75rem .85rem;border-radius:12px;border:1px solid var(--bs-border);background:#f8fbff}.helpdesk-meta-grid strong,.helpdesk-description strong,.helpdesk-notes-header strong{color:#344054}.helpdesk-meta-grid span{color:#0f1f3d;font-weight:700}.helpdesk-description{display:grid;gap:.45rem;padding:.85rem .9rem;border:1px solid var(--bs-border);border-radius:12px;background:#fff}.helpdesk-description p{white-space:pre-wrap;color:#475467;line-height:1.6}.helpdesk-notes-header{display:flex;justify-content:space-between;gap:1rem;align-items:start}.helpdesk-notes-header p{margin-top:.2rem;color:#667085}.helpdesk-notes-list{display:grid;gap:.65rem;max-height:280px;overflow:auto;padding-right:.15rem}.helpdesk-note-card{display:grid;gap:.45rem;padding:.85rem .9rem;border-radius:12px;border:1px solid #dbe7f5;background:#f8fbff}.helpdesk-note-card p,.helpdesk-template-option small{white-space:pre-wrap;color:#475467;line-height:1.55}.helpdesk-note-meta{display:flex;justify-content:space-between;gap:1rem}.helpdesk-note-meta small{color:#667085}.helpdesk-note-form{display:grid;gap:.55rem}.helpdesk-note-actions{display:flex;justify-content:flex-end}.helpdesk-content-form{display:grid;gap:.9rem}.helpdesk-attachments-block{display:grid;gap:.65rem;padding:.85rem .9rem;border:1px solid var(--bs-border);border-radius:14px;background:#fbfdff}.helpdesk-attachments-heading{display:grid;gap:.2rem}.helpdesk-attachments-heading p,.helpdesk-upload-panel p,.helpdesk-attachment-empty{color:#667085}.helpdesk-attachments-list{display:grid;gap:.6rem}.helpdesk-attachment-item{display:grid;gap:.18rem;padding:.72rem .82rem;border:1px solid #dbe7f5;border-radius:12px;background:#fff;color:#0f1f3d;text-align:left}.helpdesk-attachment-item:hover{background:#f8fbff}.helpdesk-attachment-name{font-weight:700}.helpdesk-attachment-meta{color:#667085;font-size:.85rem;white-space:normal}.helpdesk-upload-row,.helpdesk-upload-panel{display:grid;gap:.65rem}.helpdesk-upload-row{grid-template-columns:minmax(0,1fr) auto;align-items:end}.helpdesk-selected-files{display:flex;gap:.5rem;flex-wrap:wrap}.helpdesk-selected-files span{display:inline-flex;align-items:center;padding:.28rem .55rem;border-radius:999px;background:#eef4fb;color:#344054;font-size:.82rem;font-weight:700}.helpdesk-attachment-empty{font-size:.92rem}.helpdesk-template-picker{border-top:1px solid var(--bs-border);padding:.9rem 1.35rem 1rem;display:grid;gap:.75rem;background:linear-gradient(180deg,#f8fbffbf,#fffffff2)}.helpdesk-template-picker-modal{width:min(760px,calc(100vw - 2rem));height:auto;min-height:0;max-height:calc(100vh - 2rem);overflow:hidden}.helpdesk-template-picker-body{display:grid;grid-template-rows:auto minmax(0,1fr);gap:1rem;align-content:start;overflow:hidden}.helpdesk-template-search-field{align-content:start}.helpdesk-template-picker-header{display:flex;justify-content:space-between;gap:1rem;align-items:center}.helpdesk-template-picker-list{display:grid;gap:.65rem;max-height:min(55vh,420px);overflow:auto;align-content:start;padding-right:.2rem}.helpdesk-template-option{display:grid;gap:.2rem;padding:.85rem .95rem;text-align:left;background:#fff;color:#0f1f3d;border:1px solid #dbe7f5;border-radius:12px;box-shadow:0 8px 20px #0f172a0a}.helpdesk-template-option:hover{background:#f8fbff;border-color:#bfd5f7;box-shadow:0 14px 28px #2d7df014}.helpdesk-template-option strong{font-size:1rem}.helpdesk-template-option span{color:#2d7df0;font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.helpdesk-template-option small{color:#5f6b85;line-height:1.45}.helpdesk-detail-card{width:min(1240px,calc(100vw - 2rem))}.helpdesk-detail-body{gap:1rem;background:linear-gradient(180deg,#f7fbff,#eef5fb)}.helpdesk-assignment-banner{padding:.85rem 1rem;border-left:6px solid #f4b400;border-radius:14px;background:linear-gradient(180deg,#fff9d6,#fff6bf);color:#4b5563;box-shadow:0 10px 24px #f4b4001f}.helpdesk-assignment-banner strong{color:#1f2937}.helpdesk-detail-grid{grid-template-columns:minmax(0,1.6fr) minmax(310px,.9fr);align-items:start;gap:1rem}.helpdesk-detail-main,.helpdesk-detail-sidebar{display:grid;gap:1rem}.helpdesk-composer-card,.helpdesk-sidebar-card,.helpdesk-thread-card,.helpdesk-thread-empty{border:1px solid var(--bs-border);border-radius:16px;background:#fff;box-shadow:0 10px 28px #0f172a0f}.helpdesk-composer-card,.helpdesk-sidebar-card,.helpdesk-thread-card,.helpdesk-thread-empty,.helpdesk-inline-form{padding:1rem}.helpdesk-thread{display:grid;gap:.85rem}.helpdesk-thread-card-primary{background:linear-gradient(180deg,#fff,#f9fbff)}.helpdesk-thread-meta{display:flex;justify-content:space-between;gap:1rem;align-items:start}.helpdesk-thread-meta div{display:grid;gap:.18rem}.helpdesk-thread-meta small,.helpdesk-thread-context span,.helpdesk-sidebar-heading p,.helpdesk-sidebar-empty,.helpdesk-history-content span{color:#667085}.helpdesk-thread-context{display:flex;gap:.45rem;flex-wrap:wrap;margin-top:.75rem}.helpdesk-thread-context span{display:inline-flex;align-items:center;padding:.28rem .55rem;border-radius:999px;background:#eef4fb;font-size:.82rem;font-weight:700}.helpdesk-thread-card p,.helpdesk-thread-empty p{margin-top:.75rem;white-space:pre-wrap;color:#475467;line-height:1.6}.helpdesk-thread-empty strong{color:#344054}.helpdesk-inline-form{gap:.75rem;border-radius:16px;background:#fff}.helpdesk-sidebar-heading{display:grid;gap:.2rem}.helpdesk-sidebar-heading strong{color:#0f1f3d}.helpdesk-sidebar-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}.helpdesk-sidebar-list{display:grid;gap:.65rem}.helpdesk-sidebar-list div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.8rem;align-items:start}.helpdesk-sidebar-list span{color:#475467}.helpdesk-sidebar-list strong{color:#0f1f3d;text-align:right}.helpdesk-sidebar-empty{line-height:1.55}.helpdesk-history-list{display:grid;gap:.8rem}.helpdesk-history-item{display:grid;grid-template-columns:108px minmax(0,1fr);gap:.85rem;align-items:start}.helpdesk-history-date{color:#344054;font-size:.82rem;font-weight:700;line-height:1.45}.helpdesk-history-content{position:relative;display:grid;gap:.18rem;padding-left:.9rem}.helpdesk-history-content:before{content:"";position:absolute;left:0;top:.32rem;width:8px;height:8px;border-radius:50%;background:#2d7df0;box-shadow:0 0 0 4px #2d7df01f}.helpdesk-history-content strong{color:#0f1f3d;line-height:1.45}.helpdesk-reference-card{width:min(1320px,calc(100vw - 2rem));max-height:calc(100vh - 1.2rem);overflow:hidden;display:flex;flex-direction:column}.helpdesk-reference-layout{grid-template-columns:minmax(0,1.45fr) minmax(320px,.72fr);align-items:start}.helpdesk-reference-main,.helpdesk-reference-notes,.helpdesk-reference-sidebar{display:grid;gap:1rem;min-width:0}.helpdesk-task-section{display:grid;gap:.8rem}.helpdesk-task-reference-id{color:#344054;font-size:.92rem;font-weight:700}.helpdesk-task-title-box,.helpdesk-main-content-box{min-height:50px}.helpdesk-main-content-box{min-height:190px;display:flex;flex-direction:column;justify-content:space-between;gap:.75rem;min-width:0;overflow:hidden}.helpdesk-main-content-text{margin:0;white-space:pre-wrap;line-height:1.6;overflow-wrap:anywhere;word-break:break-word}.helpdesk-yellow-card{padding:.85rem .9rem;border:1px solid #d9e0ea;border-radius:12px;background:linear-gradient(180deg,#fffdf4,#fff8df);box-shadow:0 10px 24px #0f172a0d;color:#1f2937}.helpdesk-yellow-card p{margin:0;white-space:pre-wrap;line-height:1.6;overflow-wrap:anywhere;word-break:break-word}.helpdesk-white-input,.helpdesk-white-textarea{width:100%;border:1px solid #d6deea;border-radius:12px;background:#fff;color:#111827;box-shadow:0 10px 24px #0f172a0d}.helpdesk-white-input{min-height:48px;padding:.7rem .8rem;text-align:left;font-weight:700}.helpdesk-white-textarea{min-height:150px;padding:.85rem .9rem}.helpdesk-attachments-inline-list{display:grid;gap:.55rem}.helpdesk-attachment-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.55rem;align-items:start}.helpdesk-attachment-item{border-radius:12px}.helpdesk-attachment-remove{min-width:82px}.helpdesk-edit-toolbar{display:flex;align-items:center;justify-content:space-between;gap:.9rem;flex-wrap:wrap}.helpdesk-edit-toolbar input[type=file]{max-width:100%}.helpdesk-file-input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.helpdesk-file-picker{display:inline-flex;align-items:center}.helpdesk-file-picker-button{width:auto;min-height:36px;padding:.5rem .8rem}.helpdesk-edit-toolbar-actions{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.helpdesk-main-content-actions,.helpdesk-readonly-actions,.helpdesk-note-reference-actions,.helpdesk-note-template-trigger{display:flex;justify-content:flex-end}.helpdesk-main-content-actions button{min-height:34px;padding:.42rem .7rem;font-size:.86rem}.helpdesk-note-reference-card{display:grid;gap:.55rem}.helpdesk-note-reference-content{margin:0;white-space:pre-wrap;word-break:break-word}.helpdesk-note-reference-header{display:flex;align-items:end;justify-content:space-between;gap:.6rem;flex-wrap:wrap;margin-top:.1rem}.helpdesk-green-note-card{padding:1rem;border:1px solid #c9ead7;border-radius:12px;background:linear-gradient(180deg,#f4fff7,#e7f9ee);box-shadow:0 10px 24px #0f172a0d}.helpdesk-note-reference-meta{color:#344054;font-size:.86rem;display:grid;gap:.1rem}.helpdesk-note-author-meta{display:flex;align-items:center;gap:.35rem;flex-wrap:wrap;margin-top:.1rem;color:#667085;font-size:.78rem}.helpdesk-note-reference-actions{gap:.45rem}.helpdesk-note-reference-actions button{min-height:34px;padding:.42rem .7rem;font-size:.86rem}.helpdesk-checklist-section{display:grid;gap:.85rem;background:#fbfdff}.helpdesk-checklist-header{display:flex;justify-content:space-between;align-items:start;gap:.85rem;flex-wrap:wrap}.helpdesk-checklist-header p,.helpdesk-checklist-empty,.helpdesk-checklist-item-meta{color:#667085;font-size:.86rem}.helpdesk-checklist-title-input{min-height:44px;max-width:420px;font-weight:700}.helpdesk-checklist-actions{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap}.helpdesk-checklist-items{display:grid;gap:.3rem}.helpdesk-checklist-item{display:grid;gap:.22rem;padding:.2rem 0;border-bottom:1px solid rgba(217,224,234,.72)}.helpdesk-checklist-item:last-child{border-bottom:0}.helpdesk-checklist-item-main{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.55rem;align-items:center}.helpdesk-checklist-checkbox{display:flex;align-items:center;gap:.55rem;min-width:0}.helpdesk-checklist-checkbox input[type=checkbox]{width:auto;flex:0 0 auto;margin:0}.helpdesk-checklist-item-input,.helpdesk-checklist-item-label{min-width:0;font-size:.94rem}.helpdesk-checklist-item-input{min-height:34px;padding:.15rem 0;border:0;border-radius:0;background:transparent;box-shadow:none}.helpdesk-checklist-item-label{line-height:1.35}.helpdesk-checklist-item-input-complete,.helpdesk-checklist-item-label-complete{color:#667085;text-decoration:line-through}.helpdesk-checklist-item-actions{display:inline-flex;align-items:center;gap:.3rem}.helpdesk-checklist-order-button,.helpdesk-checklist-remove{width:1.9rem;height:1.9rem;min-width:1.9rem;padding:0;display:inline-grid;place-items:center;border-radius:999px}.helpdesk-checklist-order-button{color:#334155}.helpdesk-checklist-remove{color:#b91c1c}.helpdesk-checklist-item-meta{padding-left:1.65rem}.helpdesk-reference-sidebar{display:grid;gap:1rem}.helpdesk-green-stack{display:grid;gap:.65rem}.helpdesk-green-box,.helpdesk-green-field{color:#0f1f3d}.helpdesk-green-box{display:grid;gap:.2rem;padding:0;text-align:left}.helpdesk-green-box span{font-size:.82rem;font-weight:700}.helpdesk-green-box strong{font-size:.96rem}.helpdesk-green-field{display:grid;gap:.18rem;padding:0}.helpdesk-green-field label{color:#344054;font-size:.8rem;font-weight:800;text-align:left}.helpdesk-green-field select{min-height:42px;border:1px solid #d6deea;border-radius:10px;background:#fff;text-align:left;font-weight:700}.helpdesk-assignees-filter .monitoring-filter-trigger{min-height:42px;padding:.65rem .8rem}.helpdesk-assignees-filter .monitoring-filter-trigger strong{font-size:.92rem}.helpdesk-assignees-filter .monitoring-filter-trigger small{white-space:normal}.helpdesk-assignees-filter .monitoring-filter-menu{z-index:20;gap:.22rem;padding:.35rem}.helpdesk-assignees-filter .monitoring-filter-search{min-height:28px;padding:.28rem .5rem}.helpdesk-assignees-filter .monitoring-filter-bulk{gap:.18rem}.helpdesk-assignees-filter .monitoring-filter-options{gap:.12rem}.helpdesk-assignees-filter .filter-chip{gap:.22rem;padding:.2rem .3rem;border:1px solid transparent;border-radius:6px;background:transparent;min-height:0;font-size:.84rem;line-height:1;transition:background-color .18s ease,border-color .18s ease,color .18s ease}.helpdesk-assignees-filter .filter-chip:hover{background:#eff6ff;border-color:#c7dcff;color:#0f3c8a}.helpdesk-assignees-filter .filter-chip:has(input:checked){background:#ecfdf3;border-color:#b7ebcb;color:#11643a}.helpdesk-assignees-filter .filter-chip span{display:block;line-height:1}.helpdesk-assignees-filter .filter-chip input{width:12px;height:12px;min-height:12px;padding:0;margin:0;border-radius:2px;flex:0 0 auto}.helpdesk-assignees-filter .filter-chip:has(input:checked) input{accent-color:#16a34a}.helpdesk-assignees-filter .compact-button{padding:.18rem .36rem;font-size:.72rem}.helpdesk-meta-lines{display:grid;gap:.28rem;color:#344054;font-size:.92rem}.helpdesk-due-box{display:grid;gap:.35rem;padding:.7rem;border:1px solid #f2c4c4;border-radius:12px;background:linear-gradient(180deg,#fff7f7,#ffeaea);box-shadow:0 10px 24px #0f172a0d;color:#7a1f1f}.helpdesk-due-box label{color:#7a1f1f;text-align:center;font-weight:800}.helpdesk-due-box strong{text-align:center}.helpdesk-due-box input{border:1px solid #e7c6c6;border-radius:10px;background:#fff;color:#111827}.helpdesk-due-actions{display:flex;align-items:center;justify-content:space-between;gap:.6rem;flex-wrap:wrap;font-size:.86rem}.helpdesk-history-card{gap:.7rem}.helpdesk-history-card-header{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.helpdesk-history-card-header button{min-height:34px;padding:.42rem .7rem;font-size:.86rem}.helpdesk-reference-history{display:grid;gap:.55rem}.helpdesk-reference-history-item{display:grid;gap:.15rem;font-size:.92rem}.helpdesk-reference-note-form{gap:.8rem}.helpdesk-note-files-hint{color:#667085;font-size:.88rem}.helpdesk-detail-body{flex:1 1 auto;overflow-y:auto}.helpdesk-reference-footer{display:flex;justify-content:flex-end;padding-bottom:.35rem}.helpdesk-reference-footer-bar{flex:0 0 auto;display:flex;justify-content:flex-end;padding:.9rem 1.35rem 1rem;border-top:1px solid var(--bs-border);background:linear-gradient(180deg,#f8fbffeb,#fff)}.helpdesk-selected-file{display:inline-flex;align-items:center;gap:.45rem}.helpdesk-selected-file button{width:1.5rem;height:1.5rem;padding:0;border-radius:999px;background:#0f1f3d1f;color:#0f1f3d}.helpdesk-selected-file button:hover{background:#0f1f3d2e}.helpdesk-attachment-actions{display:flex;align-items:center;gap:.45rem}.helpdesk-attachment-icon{min-width:44px;padding:.68rem .7rem}.helpdesk-attachment-icon-svg{width:1rem;height:1rem;display:block}.helpdesk-attachment-item-preview{cursor:zoom-in}.helpdesk-attachment-item-pending{cursor:default}.helpdesk-image-preview-modal{width:min(1080px,calc(100vw - 2rem));max-height:calc(100vh - 2rem);overflow:hidden}.helpdesk-image-preview-body{padding:1rem;overflow:auto;background:#f8fafc}.helpdesk-image-preview-body img{display:block;max-width:100%;max-height:calc(100vh - 10rem);margin:0 auto;border-radius:12px;box-shadow:0 16px 40px #0f172a29}.settings-page{display:grid;gap:0}.settings-card,.settings-form,.settings-section{display:grid;gap:1rem}.settings-section{padding:.95rem;border:1px solid var(--bs-border);border-radius:16px;background:linear-gradient(180deg,#fbfdff,#f6faff)}.settings-section-header{display:flex;justify-content:space-between;gap:1rem}.settings-section-header strong{color:#0f1f3d}.settings-section-header p{margin-top:.22rem;color:#667085}.settings-inline-field{display:grid;grid-template-columns:minmax(0,180px) minmax(0,140px);gap:.85rem;align-items:end}.settings-visibility-option{display:flex;align-items:flex-start;gap:.85rem;padding:.95rem 1rem;border:1px solid var(--bs-border);border-radius:14px;background:#f8fbff}.settings-visibility-option input{margin-top:.15rem}.settings-visibility-option span{display:grid;gap:.2rem}.settings-visibility-option strong{color:#0f1f3d}.settings-visibility-option small{color:#667085}.settings-actions-row{display:flex;justify-content:flex-end}.settings-footer{padding:0;border-top:0}.helpdesk-email-template-modal{width:min(1220px,96vw)}.helpdesk-checklist-template-body{display:grid;padding-top:.2rem}.helpdesk-checklist-template-modal{width:min(980px,calc(100vw - 2rem));height:min(760px,calc(100dvh - 2rem))}.helpdesk-checklist-template-panel{display:grid;gap:1rem;align-content:start;min-height:0;overflow-y:auto;padding-right:.15rem}.helpdesk-checklist-template-section{display:grid;gap:.9rem;padding:.95rem;border:1px solid var(--bs-border);border-radius:16px;background:#fbfdff}.helpdesk-checklist-template-section-header{display:flex;justify-content:space-between;align-items:start;gap:1rem}.helpdesk-checklist-template-section-header p{margin-top:.2rem;color:#667085}.helpdesk-checklist-template-items{display:grid;gap:.65rem}.helpdesk-checklist-template-item-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.7rem;align-items:center;padding:.7rem .8rem;border:1px solid #dbe7f5;border-radius:14px;background:#fff;box-shadow:0 10px 22px #0f172a0a}.helpdesk-checklist-template-index{color:#475467;font-weight:700}.helpdesk-checklist-template-item-actions{display:inline-flex;align-items:center;gap:.45rem}.helpdesk-checklist-template-order-button{width:2rem;height:2rem;min-width:2rem;padding:0;display:inline-grid;place-items:center;border-radius:999px}.helpdesk-checklist-template-remove-button{min-height:2rem;padding:.38rem .7rem}.helpdesk-email-template-body,.helpdesk-html-editor{display:grid;gap:1rem}.helpdesk-html-editor-toolbar{display:flex;flex-wrap:wrap;gap:.55rem}.helpdesk-tag-picker{position:relative}.helpdesk-tag-picker-menu{position:absolute;top:calc(100% + .35rem);left:0;z-index:30;width:min(320px,75vw);max-height:320px;overflow:auto;display:grid;gap:.35rem;padding:.75rem;background:#fff;border:1px solid var(--bs-border);border-radius:12px;box-shadow:0 18px 44px #0f172a29}.helpdesk-tag-picker-option{display:grid;gap:.15rem;padding:.55rem .65rem;border:1px solid #d9e0ea;border-radius:10px;background:#fff;color:#0f1f3d;text-align:left}.helpdesk-tag-picker-option:hover{background:#f8fbff}.helpdesk-tag-picker-option strong,.helpdesk-tag-picker-option small{display:block}.helpdesk-tag-picker-option small{color:var(--bs-muted)}.helpdesk-html-editor-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1rem;align-items:start}.helpdesk-email-template-preview{min-height:120px;padding:.9rem 1rem;border:1px solid var(--bs-border);border-radius:14px;background:#fbfdff;color:#0f172a;overflow:auto}.helpdesk-email-template-preview-live{min-height:360px}.helpdesk-email-template-preview p,.helpdesk-email-template-preview ul{margin:0 0 .7rem}.helpdesk-email-template-preview a{color:var(--bs-blue)}@media (min-width: 981px){.app-shell{grid-template-columns:244px 1fr}.sidebar{padding:1rem .72rem;gap:1.05rem}.brand{height:48px;padding-bottom:.82rem;margin-bottom:.5rem}.brand img{max-height:28px}.menu-link{gap:.62rem;padding:.6rem .7rem;font-size:.88rem}.menu-group-main{gap:.62rem}.menu-submenu{padding-left:2.2rem}.menu-sublink{padding:.45rem .55rem;font-size:.84rem}.menu-icon{width:1.08rem;height:1.08rem}.sidebar-profile{padding-top:.68rem}.profile-trigger{gap:.58rem;padding:.48rem}.profile-avatar{width:34px;height:34px}.profile-menu{bottom:calc(100% + .38rem);gap:.28rem;padding:.42rem}.main-content{padding:1.35rem}.page-header{margin-bottom:1.05rem}.page-header h2{font-size:1.38rem}.page-header p{margin-top:.18rem;font-size:.84rem}.stats-grid{grid-template-columns:repeat(4,minmax(160px,1fr));gap:.85rem}.stat-card{min-height:96px;padding:.82rem;gap:.65rem}.stat-icon{width:42px;height:42px;border-radius:9px;font-size:1rem}.stat-card p{font-size:.82rem}.stat-card strong{font-size:1.42rem}.card{padding:.98rem;gap:.78rem}.users-list-card{gap:.85rem}.users-toolbar h3{font-size:.96rem}.users-toolbar-actions{gap:.55rem}label{font-size:.84rem}input,select,textarea{padding:.5rem .6rem}textarea{min-height:96px}button{padding:.52rem .72rem}.status-message,.error-message{font-size:.8rem}.button-row{gap:.5rem}th,td{padding:.68rem .48rem;font-size:.82rem}.user-cell{gap:.58rem}.user-avatar{width:34px;height:34px}.avatar-picker{gap:.72rem;padding:.7rem .8rem}.role-badge,.status-badge{padding:.22rem .42rem;font-size:.72rem}.icon-button{width:1.84rem;height:1.84rem}.pagination-actions span,.pagination-actions small{padding:.36rem .54rem}.page-size-select{font-size:.8rem}.page-size-select select{min-width:70px;padding:.34rem .46rem}.dashboard-header{margin-bottom:.82rem}.dashboard-section-label{gap:.65rem;margin-bottom:.58rem}.dashboard-section-label-spaced{margin-top:1rem}.dashboard-section-label span{font-size:.92rem}.dashboard-stats-grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}.helpdesk-stats{margin-bottom:1.1rem}.helpdesk-card{gap:.82rem}.helpdesk-filters,.helpdesk-filters-row{gap:.68rem}.helpdesk-search-field{max-width:440px}.helpdesk-toolbar-columns{min-width:150px}.helpdesk-toolbar-columns .monitoring-filter-trigger{min-height:44px;height:44px}.helpdesk-columns-menu{min-width:min(320px,calc(100vw - 2rem));width:min(360px,calc(100vw - 2rem))}.helpdesk-selection-cell{width:38px}.helpdesk-selection-cell input{width:14px;height:14px}.helpdesk-bulk-actions-menu button{padding:.52rem .62rem}.helpdesk-primary-action{min-height:36px;padding:.52rem .78rem}.helpdesk-author-signature small{font-size:.72rem}.helpdesk-author-badge{padding:.16rem .4rem;font-size:.64rem}.helpdesk-task-cell strong{gap:.36rem}.helpdesk-task-cell small{line-height:1.28}.helpdesk-due-inputs{grid-template-columns:1fr}.marketing-client-task-modal .helpdesk-due-inputs{grid-template-columns:minmax(0,1fr) 140px}.helpdesk-create-card{width:min(960px,calc(100vw - 2rem))}.helpdesk-create-card .user-modal-header{min-height:64px;gap:.85rem;padding:.72rem .88rem}.helpdesk-create-card .user-modal-heading{gap:.6rem}.helpdesk-create-card .user-modal-heading h3{font-size:1.08rem}.helpdesk-create-card .user-modal-heading p{margin-top:.1rem;font-size:.74rem}.helpdesk-create-card .user-modal-icon{width:38px;height:38px;border-radius:10px;font-size:.82rem}.helpdesk-create-card .user-modal-close{width:34px;height:34px;border-radius:9px;font-size:1.2rem}.helpdesk-create-card .user-modal-body{gap:.55rem;padding:.68rem .88rem}.helpdesk-create-card .user-modal-footer{gap:.55rem;padding:.62rem .88rem .68rem}.helpdesk-create-card .user-modal-cancel,.helpdesk-create-card .user-modal-primary{min-width:104px;min-height:34px;padding:.44rem .68rem;font-size:.82rem}.helpdesk-create-card .helpdesk-detail-body{gap:.55rem}.helpdesk-create-card .helpdesk-detail-grid{grid-template-columns:minmax(0,1.24fr) minmax(240px,.76fr);gap:.55rem}.helpdesk-create-card .helpdesk-reference-main,.helpdesk-create-card .helpdesk-reference-sidebar,.helpdesk-create-card .helpdesk-task-section{gap:.58rem}.helpdesk-create-card .form-field{gap:.22rem}.helpdesk-create-card .form-field label,.helpdesk-create-card .helpdesk-green-field label{font-size:.72rem}.helpdesk-create-card input,.helpdesk-create-card select,.helpdesk-create-card textarea{min-height:34px;padding:.42rem .54rem;font-size:.82rem}.helpdesk-create-card textarea{min-height:108px}.helpdesk-create-card .helpdesk-green-stack{gap:.42rem}.helpdesk-create-card .helpdesk-green-field{gap:.1rem}.helpdesk-create-card .helpdesk-green-field select{min-height:34px;border-radius:8px}.helpdesk-create-card .helpdesk-file-picker-button{min-height:30px;padding:.34rem .56rem;font-size:.78rem}.helpdesk-create-card .helpdesk-selected-files,.helpdesk-create-card .helpdesk-attachments-inline-list{gap:.3rem}}@media (max-width: 1180px){.stats-grid,.dashboard-stats-grid,.statistics-stats,.error-logs-stats{grid-template-columns:repeat(2,minmax(180px,1fr))}.helpdesk-html-editor-grid{grid-template-columns:1fr}}@media (max-width: 980px){.auth-wrapper{padding:1rem}.auth-shell{grid-template-columns:1fr;gap:1rem}.auth-card{min-height:auto;align-self:auto}.auth-brand-panel{min-height:300px;padding:1.35rem}.auth-orb-blue{right:-72px;top:42px;width:220px;height:220px}.auth-orb-magenta{width:220px;height:220px}.auth-poland-map{right:-34px;top:44px;width:min(62%,300px)}.auth-circuit-lines{width:70%}.auth-brand-logo{width:min(230px,74%)}.auth-brand-copy h1{max-width:420px}.app-shell{grid-template-columns:1fr}.mobile-topbar{position:fixed;inset:0 0 auto;z-index:30;height:64px;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.65rem 1rem;background:#071a31f5;box-shadow:0 10px 30px #0f172a2e}.mobile-topbar img{max-width:min(58vw,220px);max-height:28px;object-fit:contain}.mobile-menu-button{width:44px;height:44px;padding:0;display:grid;place-items:center;background:#ffffff1a;border:1px solid rgba(255,255,255,.18);color:#fff;font-size:1.35rem}.mobile-menu-button:hover{background:#ffffff29}.sidebar{position:fixed;inset:0 auto 0 0;z-index:40;width:min(84vw,320px);min-height:100dvh;height:100dvh;transform:translate(-105%);transition:transform .2s ease;box-shadow:22px 0 50px #0f172a47}.sidebar-open{transform:translate(0)}.sidebar-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:35;display:block;padding:0;border-radius:0;background:#0f172a7a}.sidebar-overlay:hover{background:#0f172a7a}.brand{height:auto}.menu{grid-template-columns:1fr}.sidebar-profile{display:block}.main-content{padding:5.25rem 1rem 1rem}.page-header,.dashboard-header{margin-bottom:1.1rem}.page-header h2{font-size:1.45rem}.users-toolbar,.pagination-bar,.monitoring-toolbar,.statistics-header,.users-toolbar-actions{align-items:stretch;flex-direction:column}.users-toolbar-actions input{width:100%}.monitoring-filters,.statistics-filters,.helpdesk-filters,.receivables-filters-grid,.helpdesk-filters-row,.helpdesk-filters-row-primary,.helpdesk-filters-row-secondary,.error-logs-filter-row-primary,.error-logs-filter-row-secondary,.helpdesk-upload-row,.avatar-picker,.settings-inline-field,.receivable-checkbox-row,.receivable-pricing-row,.receivable-selection-row,.helpdesk-detail-grid,.helpdesk-reference-layout{grid-template-columns:1fr}.helpdesk-sidebar-form-grid{grid-template-columns:1fr 1fr}.error-logs-filter-actions{justify-content:stretch;flex-direction:column}.error-logs-filter-actions button{width:100%}.month-switcher{justify-content:space-between;width:100%}.pagination-actions{justify-content:space-between;flex-wrap:wrap}.table-wrap{margin:0 -.35rem;padding:0 .35rem}}@media (max-width: 640px){.auth-wrapper{place-items:stretch;padding:.75rem}.auth-shell{align-content:start}.auth-brand-panel{min-height:220px;border-radius:20px;padding:1.15rem}.auth-brand-logo{width:min(190px,80%)}.auth-orb-blue{right:-72px;top:28px;width:180px;height:180px}.auth-orb-magenta{left:-72px;bottom:-68px;width:190px;height:190px}.auth-poland-map{right:-58px;top:48px;width:min(76%,250px);opacity:.42}.auth-circuit-lines,.auth-dot-field{opacity:.36}.auth-brand-copy span,.auth-brand-copy p{display:none}.auth-brand-copy h1{max-width:280px;font-size:1.65rem}.auth-card{padding:1.15rem;border-radius:18px}.auth-card-heading h2{font-size:1.45rem}.stats-grid,.dashboard-stats-grid,.statistics-stats,.error-logs-stats{grid-template-columns:1fr}.main-content{padding:4.85rem .75rem .85rem}.card,.stat-card{border-radius:12px}.card{padding:1rem}.stat-card{min-height:104px;padding:.95rem;gap:.8rem}.stat-icon{width:46px;height:46px;border-radius:10px;font-size:1.05rem}.stat-card strong{font-size:1.45rem}.dashboard-section-label{align-items:flex-start;flex-direction:column;gap:.15rem}.monitoring-filter-trigger{min-height:52px}th,td,.monitoring-table th,.monitoring-table td{padding:.62rem .55rem;font-size:.82rem}.pagination-bar{font-size:.88rem}.page-size-select{width:100%;justify-content:space-between}.page-size-select select{min-width:110px}.button-row{flex-direction:column}.user-modal-card{width:100%;height:calc(100dvh - 1rem);border-radius:16px}.statistics-detail-modal{width:calc(100vw - 1rem);max-height:calc(100dvh - 1rem);border-radius:16px}.statistics-detail-modal-header,.statistics-detail-modal-body{padding:1.15rem}.statistics-detail-summary{grid-template-columns:1fr}.error-detail-modal{width:calc(100vw - 1rem);height:calc(100dvh - 1rem);max-height:calc(100dvh - 1rem);border-radius:16px}.error-detail-modal .modal-header,.error-detail-modal-body{padding:1rem}.error-detail-meta{grid-template-columns:1fr}.error-detail-trigger{padding:.25rem .2rem}.statistics-detail-heading{align-items:flex-start}.statistics-detail-icon{width:50px;height:50px;border-radius:14px;font-size:1.2rem}.user-modal-header,.user-modal-body,.user-modal-footer{padding:1.25rem}.user-modal-heading{gap:1rem}.user-modal-icon{width:54px;height:54px;border-radius:14px}.user-modal-icon svg{width:30px;height:30px}.form-grid-two{grid-template-columns:1fr}.user-modal-footer{flex-direction:column-reverse}.helpdesk-detail-grid,.helpdesk-meta-grid,.helpdesk-summary-strip,.helpdesk-sidebar-form-grid,.helpdesk-attachment-row{grid-template-columns:1fr}.helpdesk-edit-toolbar,.helpdesk-edit-toolbar-actions,.helpdesk-due-actions{flex-direction:column;align-items:stretch}.helpdesk-history-item,.helpdesk-sidebar-list div,.helpdesk-thread-meta{grid-template-columns:1fr;flex-direction:column}.helpdesk-sidebar-list strong{text-align:left}.helpdesk-template-picker{padding:1rem 1.25rem 1.2rem}.user-modal-cancel,.user-modal-primary{width:100%;min-width:0}}.marketing-status-badge{--status-color: #1976d2;display:inline-flex;align-items:center;gap:.45rem;padding:.35rem .7rem;border-radius:999px;background:color-mix(in srgb,var(--status-color) 16%,white);color:var(--status-color);font-size:.82rem;font-weight:700;line-height:1}.marketing-status-badge:before{content:"";width:.55rem;height:.55rem;border-radius:999px;background:var(--status-color);box-shadow:0 0 0 3px color-mix(in srgb,var(--status-color) 16%,white)}.marketing-status-modal-body{display:grid;gap:1rem}.marketing-status-color-field{display:grid;grid-template-columns:auto 1fr;gap:.75rem;align-items:center}.marketing-status-color-field input[type=color]{width:3.25rem;min-width:3.25rem;height:3rem;padding:.2rem;border:1px solid #d5ddeb;border-radius:.9rem;background:#fff}.marketing-clients-table th,.marketing-clients-table td{vertical-align:middle}.marketing-client-name-cell{display:grid;gap:.3rem}.marketing-client-name-cell small{color:#6b7a96}.clickable-row{cursor:pointer}.clickable-row:hover td{background:#f8fbff}.marketing-client-modal{width:min(1020px,calc(100vw - 2rem));height:min(860px,calc(100dvh - 2rem))}.marketing-client-modal-body{display:flex;flex-direction:column;gap:.85rem;min-height:0;overflow-y:auto}.marketing-client-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:.9rem 1rem;min-width:0}.marketing-client-grid-span-2{grid-column:1 / -1}.marketing-client-primary-field{grid-column:span 8}.marketing-client-status-field{grid-column:span 4}.marketing-client-symbol-field,.marketing-client-nip-field{grid-column:span 6}.marketing-client-salesperson-field,.marketing-client-phone-field,.marketing-client-email-field{grid-column:span 4}.marketing-client-address-field{grid-column:span 6}.marketing-client-postal-field{grid-column:span 2}.marketing-client-city-field{grid-column:span 4}.marketing-client-notes-layout,.marketing-client-notes-list{display:grid;gap:.85rem}.marketing-client-notes-section{padding:.85rem}.marketing-client-note-attachment{justify-content:flex-start;max-width:100%}.marketing-client-tasks-layout{display:grid;gap:.85rem}.attribute-values-list{display:grid;gap:.55rem}.attribute-value-card{display:grid;gap:.45rem;padding:.7rem .8rem;border:1px solid #e3eaf5;border-radius:12px;background:#fbfdff}.attribute-value-card-header{display:flex;align-items:center;justify-content:space-between;gap:.8rem}.attribute-value-card-title{display:grid;gap:.12rem;min-width:0}.attribute-value-card-title strong{color:#23324d;font-size:.94rem;line-height:1.25}.attribute-value-card-header small{color:#6b7a96;font-size:.82rem;line-height:1.35}.attribute-value-default-toggle{display:inline-flex;align-items:center;gap:.35rem;color:#42526e;font-size:.84rem;white-space:nowrap;flex:0 0 auto}.attribute-value-default-toggle input[type=checkbox]{width:15px;height:15px;margin:0}.attribute-value-field{margin:0;gap:.22rem}.attribute-value-field input,.attribute-value-field select{min-height:40px}.marketing-client-attributes-section{display:grid;gap:.55rem;padding:.8rem .9rem}.marketing-client-attributes-section .client-details-section-header{gap:.45rem}.marketing-client-attributes-section .client-details-section-header strong{color:#23324d;font-size:.95rem}.attribute-definition-modal{width:min(920px,calc(100vw - 2rem));max-height:min(760px,calc(100dvh - 2rem));height:auto}.attribute-definition-modal-body{display:grid;align-content:start;gap:.45rem;min-height:0;overflow-y:auto}.attribute-definition-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.55rem .7rem;align-items:start}.attribute-definition-active-card{align-self:start;width:fit-content;max-width:100%;justify-self:start;display:inline-flex;align-items:center;gap:.55rem;padding:.35rem .55rem;margin:0;border:1px solid #e3eaf5;border-radius:10px;background:#fbfdff}.attribute-definition-active-card input[type=checkbox]{width:14px;height:14px;margin:0;flex:0 0 auto}.attribute-definition-active-card>div{display:grid;gap:.08rem}.attribute-definition-active-card strong{color:#23324d;font-size:.88rem;line-height:1.2}.attribute-definition-active-card small{color:#6b7a96;font-size:.76rem;line-height:1.25}.attribute-definition-grid .form-field{gap:.22rem;align-content:start}.attribute-definition-grid input,.attribute-definition-grid select{min-height:40px}.attribute-definition-modal-body>.form-field{gap:.2rem}.attribute-definition-modal-body>.form-field input,.attribute-definition-modal-body>.form-field select,.attribute-definition-modal-body>.form-field textarea{min-height:40px}.attribute-definition-modal-body>.form-field textarea{min-height:78px}.attribute-definition-options-section{display:grid;gap:.65rem;padding:.8rem .9rem}.attribute-definition-options-list{display:grid;gap:.45rem}.attribute-definition-option-row{display:grid;grid-template-columns:minmax(180px,1.1fr) minmax(180px,1.1fr) 90px auto auto;gap:.55rem;align-items:center}.attribute-definition-option-default{display:inline-flex;align-items:center;gap:.4rem;white-space:nowrap;color:#42526e}.attribute-definition-option-row input,.attribute-definition-option-row select{min-height:40px}.marketing-client-tasks-table-wrap{padding-bottom:.15rem}.marketing-client-tasks-table{min-width:760px}.marketing-client-tasks-table th,.marketing-client-tasks-table td{vertical-align:top}.marketing-client-task-title-cell{display:grid;gap:.3rem;min-width:280px;white-space:normal}.marketing-client-task-title-cell strong,.marketing-client-task-title-cell small{white-space:normal;word-break:break-word}.marketing-client-task-title-cell small{color:#6b7a96;line-height:1.45}.marketing-client-task-modal{width:min(820px,calc(100vw - 2rem));max-height:min(760px,calc(100dvh - 2rem))}.marketing-client-note-modal{width:min(900px,calc(100vw - 2rem));max-height:min(760px,calc(100dvh - 2rem))}.marketing-client-note-modal-body{display:grid;gap:.7rem;min-height:0;overflow-y:auto}.marketing-client-note-content-field textarea{min-height:220px}.marketing-client-note-upload-section{display:grid;gap:.55rem;padding:.8rem .9rem;border:1px solid var(--bs-border);border-radius:14px;background:#fbfdff}.marketing-client-note-upload-row{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap}.marketing-client-note-upload-row small{color:var(--bs-muted)}.marketing-client-note-files{gap:.4rem}.marketing-client-note-modal-footer{justify-content:flex-end}.marketing-client-task-modal-body{display:grid;gap:.85rem;min-height:0;overflow-y:auto}.marketing-offer-modal{width:min(1180px,96vw);height:min(860px,calc(100dvh - 2rem))}.marketing-offer-modal-body{display:grid;align-content:start;gap:.9rem;min-height:0;overflow-y:auto}.marketing-offer-modal .client-details-empty{align-content:start}.marketing-offer-primary-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(240px,.7fr) minmax(260px,.85fr);gap:.9rem 1rem;align-items:start}.marketing-offer-top-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.92fr);gap:.9rem 1rem;align-items:start}.marketing-offer-meta-grid{display:grid;grid-template-columns:minmax(180px,1fr) minmax(180px,.9fr) minmax(180px,.9fr) minmax(180px,.9fr);gap:.85rem 1rem;align-items:end}.marketing-offer-primary-grid .form-field,.marketing-offer-top-grid .form-field{gap:.35rem}.marketing-offer-primary-grid input,.marketing-offer-primary-grid select,.marketing-offer-top-grid input,.marketing-offer-top-grid select,.marketing-offer-meta-grid input,.marketing-offer-meta-grid select{min-height:44px}.marketing-offer-section{padding:.9rem .95rem 1rem;border:1px solid #e4ebf5;border-radius:16px;background:#fbfdff}.marketing-offer-empty-state{display:grid;justify-items:start;gap:.4rem;padding:1rem 1.05rem;border:1px dashed #c8d6ea;border-radius:14px;background:linear-gradient(180deg,#fff,#f7fbff)}.marketing-offer-empty-state strong{color:#0f1f3d}.marketing-offer-empty-state p{margin:0;color:#667085;line-height:1.45}.marketing-offer-items-list{display:grid;gap:.6rem}.marketing-offer-item-card{padding:.7rem .8rem;border:1px solid #dde7f3;border-radius:14px;background:#fff}.marketing-offer-item-index{display:flex;align-items:center;justify-content:center;min-width:2rem;height:2.75rem;margin-top:1.45rem;border-radius:10px;background:#eef4ff;color:#2f6fed;font-size:.92rem;font-weight:700}.marketing-offer-item-grid{display:grid;grid-template-columns:42px minmax(220px,2.1fr) minmax(90px,.55fr) minmax(110px,.7fr) minmax(190px,1fr) minmax(190px,1fr) auto;gap:.7rem;align-items:end}.marketing-offer-item-grid .form-field{gap:.28rem}.marketing-offer-item-actions{display:flex;align-items:end;justify-content:flex-end}.marketing-offer-item-actions .secondary-button{min-height:44px;white-space:nowrap}.document-template-modal{width:min(1180px,96vw);height:min(860px,calc(100dvh - 2rem))}.document-template-modal-body,.document-template-help-body{display:grid;align-content:start;gap:.9rem;min-height:0;overflow-y:auto}.document-template-files-list{display:grid;gap:.7rem}.document-template-file-card{display:grid;gap:.75rem;padding:.9rem;border:1px solid #dde7f3;border-radius:14px;background:#fff}.document-template-file-grid{display:grid;grid-template-columns:minmax(0,1fr) 120px auto;gap:.75rem .9rem;align-items:end}.document-template-file-grid-secondary{grid-template-columns:minmax(0,1fr) minmax(240px,.9fr)}.document-template-file-required{display:inline-flex;align-items:center;gap:.45rem;min-height:44px;color:#223557;font-weight:600}.document-template-file-actions{display:flex;justify-content:flex-end}.document-template-help-modal{width:min(1100px,95vw);height:min(820px,calc(100dvh - 2rem))}.document-template-help-toolbar{display:grid;grid-template-columns:minmax(220px,320px);gap:.75rem}.document-template-help-section code{font-size:.92rem;color:#1f4eb4}.marketing-client-task-modal .helpdesk-due-inputs{grid-template-columns:minmax(0,1fr) 140px}.marketing-client-task-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem 1rem}.marketing-client-task-modal-footer{justify-content:space-between}.marketing-overview-toolbar{flex-wrap:wrap}.marketing-overview-filter,.marketing-overview-filter .monitoring-filter-trigger{min-width:220px}.marketing-clients-status-filter,.marketing-clients-status-filter .monitoring-filter-trigger{min-width:260px}.marketing-clients-status-filter-menu{right:auto;min-width:320px;width:max-content;max-width:min(420px,calc(100vw - 3rem))}.marketing-client-lookup .searchable-combobox-trigger{min-height:44px;padding:.55rem .8rem}.marketing-client-lookup .searchable-combobox-trigger strong{font-size:.92rem;font-weight:700}.marketing-client-lookup .searchable-combobox-trigger small{margin-top:.05rem;font-size:.75rem}.marketing-client-lookup .searchable-combobox-menu{width:min(540px,calc(100vw - 3rem))}.marketing-overview-table{min-width:940px}.marketing-overview-note-cell{min-width:360px;max-width:540px;white-space:normal;word-break:break-word;line-height:1.5}.marketing-overview-note-cell strong{font-weight:600}.marketing-overview-attachments{display:flex;flex-wrap:wrap;gap:.4rem}.marketing-overview-attachment-button{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.marketing-overview-tasks-table{min-width:1120px}.marketing-task-row-today td{background:#fff8e8}.marketing-task-row-today:hover td{background:#fff1cf}.marketing-task-row-overdue td{background:#fff0f0}.marketing-task-row-overdue:hover td{background:#ffe2e2}@media (max-width: 900px){.marketing-client-grid{grid-template-columns:1fr}.marketing-client-grid-span-2,.marketing-client-primary-field,.marketing-client-status-field,.marketing-client-symbol-field,.marketing-client-nip-field,.marketing-client-salesperson-field,.marketing-client-phone-field,.marketing-client-email-field,.marketing-client-address-field,.marketing-client-postal-field,.marketing-client-city-field{grid-column:auto}.marketing-client-task-grid,.marketing-offer-primary-grid,.marketing-offer-top-grid,.marketing-offer-meta-grid,.marketing-offer-item-grid,.attribute-definition-grid,.attribute-definition-option-row,.document-template-file-grid,.document-template-file-grid-secondary{grid-template-columns:1fr}.marketing-offer-item-index{margin-top:0}.attribute-value-card-header{flex-direction:column;align-items:stretch}.marketing-client-note-upload-row{align-items:stretch;flex-direction:column}}
