:root{
  --brand:#821B2D; --brand-dark:#5f1220; --brand-soft:#f7e9ee;
  --green:#2f6b53; --green-dark:#255642; --bg:#f3f4f6; --card:#fff;
  --line:#e5e7eb; --grid:#d7dde2; --head:#f7f8fa; --muted:#6b7280; --text:#243041;
  --danger:#ef4444; --success:#16a34a; --warn:#facc15; --radius:18px;
}
*{box-sizing:border-box} html,body{margin:0;min-height:100%;background:var(--bg)!important;color:var(--text)!important;font-family:Arial,Helvetica,sans-serif;font-size:14px;color-scheme:light!important;overflow-x:hidden}.section{padding:18px 28px!important}.container.is-fluid{max-width:none!important}.page-shell{min-height:100vh;background:var(--bg)!important}
/* Header kaip originali GAS pusė */
.app-hero{background:var(--bg);padding:26px 28px 10px;border-bottom:0}.header-top{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;flex-wrap:wrap}.brand-box img{max-height:68px;display:block;margin-bottom:8px}.brand-subtitle{color:var(--brand);font-size:14px;line-height:1.3}.user-panel{text-align:right;min-width:320px}.user-panel .line1{font-size:14px;color:#5a6473;margin-bottom:8px}.user-panel .line2{font-size:14px;color:var(--brand);margin-bottom:14px}.top-right-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}.main-nav,.module-tabs{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px;margin-bottom:14px;background:transparent;border:0;padding:0;box-shadow:none}.module-tabs .button,.main-nav .button{height:38px;padding:0 18px;border-radius:9px!important;background:#fff!important;border:1px solid #d8dee4!important;color:#243041!important;box-shadow:none!important;font-weight:500}.module-tabs .button.is-primary,.main-nav .button.is-primary{background:var(--brand)!important;border-color:var(--brand)!important;color:#fff!important}.module-tabs .button.is-warning{background:#7aa05a!important;border-color:#7aa05a!important;color:#fff!important}
/* Senos gas-topbar klasės, jei kur liko */
.gas-topbar{background:var(--bg)!important;color:var(--text)!important;padding:26px 28px 10px;display:flex;align-items:flex-start;justify-content:space-between;gap:24px;box-shadow:none}.gas-title{font-size:18px;color:#202938;font-weight:700;text-transform:uppercase}.gas-menu-btn{display:none}.gas-user{font-size:14px;color:#5a6473;display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.gas-user b{color:#243041}
/* Bulma mygtukai */
.button,.input,.select select,.textarea{border-radius:9px!important}.button{box-shadow:none!important}.button.is-primary,.button.is-success{background:var(--brand)!important;border-color:var(--brand)!important;color:#fff!important}.button.is-primary:hover,.button.is-success:hover{background:var(--brand-dark)!important}.button.is-light{background:#fff!important;border-color:#d8dee4!important;color:#243041!important}.button.is-danger,.button.is-danger.is-light{background:#dc2626!important;border-color:#dc2626!important;color:#fff!important}.button.is-warning{background:#7aa05a!important;border-color:#7aa05a!important;color:#fff!important}.darb-mini-btn{width:30px;height:30px;padding:0!important;font-weight:700}.btn-plus{background:#c1ffb0!important;border-color:#22c55e!important;color:#168a00!important}.btn-minus{background:#ffdbdb!important;border-color:#ef4444!important;color:#ff0505!important}.action-link{font-weight:700}
/* Kortelės */
.card,.gas-card,.box{border-radius:22px!important;box-shadow:0 10px 28px rgba(0,0,0,.06)!important;border:1px solid #ececec!important;background:#fff!important;overflow:hidden;width:100%;max-width:100%}.card-header{background:#fff;border-bottom:1px solid #f0f0f0;box-shadow:none!important}.card-header-title{font-size:16px;font-weight:700;color:#202938;padding:14px 18px;text-transform:none}.card-content{padding:20px 24px;width:100%;max-width:100%}.toolbar-card{background:#fff;border-radius:14px;border:1px solid #ececec;padding:14px 18px;box-shadow:0 10px 28px rgba(0,0,0,.06)}.sticky-actions{position:sticky;top:0;z-index:30;background:var(--bg);padding:8px 0 12px}.title,.subtitle{color:#202938!important}.title.is-4{font-size:18px!important;letter-spacing:0;margin-bottom:0!important}.muted,.small-muted{color:var(--muted)!important}.mini{font-size:.85rem}.table-count{display:inline-flex;align-items:center;justify-content:center;min-width:26px;height:22px;border-radius:11px;background:#f3f4f6;color:#4b5563;font-size:12px;margin-left:8px}
/* Lentelės kaip GAS: šviesios, sticky header, jokių juodų eilučių */
.wrap,.table-wrap{border:1px solid var(--line);border-radius:14px;background:#fff!important;overflow:auto;max-height:760px;width:100%;max-width:100%;-webkit-overflow-scrolling:touch}.wrap.big,.table-wrap.big{max-height:800px}.table-wrap::-webkit-scrollbar,.wrap::-webkit-scrollbar{width:12px;height:12px}.table-wrap::-webkit-scrollbar-thumb,.wrap::-webkit-scrollbar-thumb{background:#9aa3a0;border-radius:8px}.table-wrap::-webkit-scrollbar-track,.wrap::-webkit-scrollbar-track{background:#edf0ee}
table.table{width:100%;border-collapse:separate!important;border-spacing:0!important;background:#fff!important;color:var(--text)!important;margin-bottom:0!important;font-size:13px;--bulma-table-background-color:#fff!important;--bulma-table-color:var(--text)!important;--bulma-table-striped-row-even-background-color:#fbfbfc!important;--bulma-table-row-hover-background-color:#f9eef2!important}table.table th{position:sticky;top:0;background:#fafafa!important;color:#1f2937!important;z-index:3;font-size:11px;font-weight:600;white-space:normal;word-break:normal;overflow-wrap:normal;max-width:150px;min-width:50px;line-height:1.2;border-bottom:1px solid var(--grid)!important;border-right:1px solid var(--grid)!important;padding:7px 8px!important;vertical-align:middle!important}table.table td{background:transparent!important;color:var(--text)!important;font-size:13px;vertical-align:middle!important;white-space:normal;word-break:normal;overflow-wrap:break-word;line-height:1.2;max-width:160px;min-width:70px;overflow:hidden;border-bottom:1px solid var(--grid)!important;border-right:1px solid var(--grid)!important;padding:6px 8px!important}table.table tbody tr{background:#fff!important;color:var(--text)!important}table.table tbody tr:nth-child(even){background:#fbfbfc!important}table.table.is-striped tbody tr:nth-child(even){background:#fbfbfc!important}table.table.is-hoverable tbody tr:hover{background:#f9eef2!important}tr.clickable{cursor:pointer}tr.is-active{background:#f9eef2!important}.status-strigimas td,.status-STRIGIMAS td{background:#ffe5e5!important}.status-vykdoma td,.status-VYKDOMA td{background:#fff8db!important}.status-atlikta td,.status-ATLIKTA td{background:#e8f7e8!important}.status-nauja td,.status-NAUJA td{background:#fff!important}.nowrap{white-space:nowrap!important}.td-task,.th-task{width:140px;min-width:90px;max-width:140px}.td-unit,.th-unit{width:70px;min-width:45px;max-width:70px;text-align:center}.td-money,.th-money{width:92px;min-width:75px;max-width:95px;text-align:right}.file-link{display:block;color:#2563eb!important;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.row-empty td{background:#fff!important;color:#6b7280!important}
.status-badge,.mok-badge{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:28px;padding:0 8px;border-radius:999px;font-weight:700;font-size:15px;line-height:1}.status-badge-nauja{background:#e5e7eb;color:#374151}.status-badge-vykdoma{background:#facc15;color:#111827}.status-badge-strigimas{background:#ef4444;color:#fff}.status-badge-atlikta{background:#16a34a;color:#fff}.mok-badge-apmoketa{background:#16a34a;color:#fff}.mok-badge-neapmoketa{background:#dc2626;color:#fff}.mok-badge-vykdoma{background:#facc15;color:#111827}
/* Formos */
.label{font-size:12px;color:#334155!important;font-weight:700}.input,.textarea,.select select{font-size:13px;background:#fff!important;color:#14212a!important;border-color:#cfd8d2!important;box-shadow:none!important}.input::placeholder{color:#aab2b0!important}.input:focus,.textarea:focus,.select select:focus{border-color:var(--brand)!important;box-shadow:0 0 0 .125em rgba(130,27,45,.12)!important}.textarea{min-height:82px}.noedit{background:#f7f7f8!important}.form-card{padding:18px}.help{font-size:12px;color:var(--muted)!important}.notification{border-radius:12px!important}.import-note{background:#eef7f0;border-left:5px solid #2f6b53;padding:12px;border-radius:8px;color:#31423a}.admin-split{align-items:stretch}
/* Login */
.login-bg{background:linear-gradient(135deg,#f3f4f6,#f7e9ee)!important;min-height:100vh}.login-card{max-width:430px;margin:8vh auto;background:#fff;border-radius:18px;padding:28px;box-shadow:0 15px 42px rgba(0,0,0,.14);border:1px solid #dfe5e1}.login-logo{max-height:72px;display:block;margin:0 auto 12px}.loader{position:fixed;inset:0;display:none;align-items:center;justify-content:center;background:rgba(255,255,255,.65);z-index:9999}.loader.is-active{display:flex}
@media(max-width:768px){.app-hero,.gas-topbar{padding:16px 14px 6px}.header-top{display:block}.user-panel{text-align:left;min-width:0;margin-top:12px}.top-right-actions{justify-content:flex-start}.section{padding:10px!important}.module-tabs,.main-nav{gap:6px}.module-tabs .button,.main-nav .button{height:34px;padding:0 10px;font-size:12px}.sticky-actions{position:static}.card-content{padding:14px}.wrap,.table-wrap{max-height:70vh}table.table th,table.table td{font-size:11px!important;padding:5px 6px!important}.title.is-4{font-size:16px!important}}
/* V8: Darbuotojų veiklos forma iš Objektų skilties */
.veikla-bulk-card{max-width:none!important}.veikla-top-fields .input{height:42px}.veikla-bulk-table-wrap{width:100%;overflow:auto;margin-top:10px}.veikla-bulk-table{width:100%;border-collapse:separate;border-spacing:0;background:#fff}.veikla-bulk-table th{font-size:12px;color:#1f2937;text-align:left;border-bottom:1px solid #d7dde2;padding:8px 10px;background:#fff;position:sticky;top:0;z-index:2}.veikla-bulk-table td{border-bottom:1px solid #d7dde2;padding:6px 10px;background:#fff}.veikla-bulk-table tr:nth-child(even) td{background:#fafafa}.veikla-bulk-table td:nth-child(1){width:24%}.veikla-bulk-table td:nth-child(2){width:18%}.veikla-bulk-table td:nth-child(3){width:31%}.veikla-bulk-table td:nth-child(4){width:27%}.veikla-file-zone{border:1px dashed #d7dde2;border-radius:14px;padding:14px;margin-top:18px;color:#4b5563;background:#fff}.veikla-bulk-table .input{height:38px;font-size:13px}.veikla-bulk-table .noedit{text-align:right;background:#f7f7f8!important}@media(max-width:768px){.veikla-bulk-table{min-width:900px}.veikla-bulk-table td,.veikla-bulk-table th{padding:5px 7px}}
/* V11 papildomos formos */
.table-wrap,.tabelis-wrap{overflow:auto;border:1px solid #d9dee5;border-radius:10px;background:#fff}.month-input{max-width:170px}.tabelis-table{font-size:11px;border-collapse:collapse;min-width:980px}.tabelis-table th,.tabelis-table td{border:1px solid #9aa8b7!important;padding:2px 4px;text-align:center;height:22px;min-width:26px}.tabelis-table .emp-col{min-width:160px;text-align:left;background:#fff;font-weight:700}.tabelis-table .weekend{background:#ffe2e2!important}.samata-table input{height:30px;font-size:12px}.samata-table .section-row td{background:#e9e9e9!important;font-weight:800}.red-value{color:#981b2e!important;font-weight:800}.total-box{max-width:320px}.form-card{max-width:1280px;margin:0 auto}.gas-card{background:#fff;border-radius:18px;box-shadow:0 12px 30px rgba(17,24,39,.06);border:1px solid #e5e7eb;margin-bottom:24px}.gas-card .card-content,.form-card{padding:24px}.btn-minus{background:#d63b30!important;color:white!important;border-color:#d63b30!important}.action-link{font-size:12px!important}

/* V14: grąžintas šviesus GAS žurnalų dizainas po teisių veiksmo mygtukų pakeitimų */
.wrap.big.sticky{background:#fff!important;border:1px solid #d7dde2!important;border-radius:14px!important;overflow:auto!important;max-height:760px!important;box-shadow:none!important}
table.table{background:#fff!important;color:#243041!important;border-collapse:separate!important;border-spacing:0!important}
table.table thead th{background:#fafafa!important;color:#1f2937!important;border-bottom:1px solid #d7dde2!important;border-right:1px solid #d7dde2!important;font-size:11px!important;font-weight:700!important;line-height:1.15!important;padding:7px 8px!important;position:sticky!important;top:0!important;z-index:5!important}
table.table tbody tr{background:#fff!important;color:#243041!important}
table.table tbody tr:nth-child(even){background:#fbfbfc!important}
table.table tbody tr:hover{background:#f9eef2!important}
table.table tbody td{background:transparent!important;color:#243041!important;border-bottom:1px solid #d7dde2!important;border-right:1px solid #d7dde2!important;padding:6px 8px!important;vertical-align:middle!important}
table.table tbody tr.status-atlikta{background:#e8f7e8!important}
table.table tbody tr.status-vykdoma{background:#fff8db!important}
table.table tbody tr.status-strigimas{background:#ffe5e5!important}
table.table tbody tr.status-nauja{background:#fff!important}
table.table tbody tr.status-atlikta td,table.table tbody tr.status-vykdoma td,table.table tbody tr.status-strigimas td,table.table tbody tr.status-nauja td{background:transparent!important}
.action-buttons .button[disabled]{opacity:.45!important;cursor:not-allowed!important;filter:grayscale(.25)}
.action-buttons{gap:5px!important;align-items:center!important}.action-buttons form{margin:0!important}.mini.calc-target-module,.table .input.mini{font-size:12px!important;height:30px!important;padding:4px 7px!important}


/* V17: ikonų veiksmo mygtukai vietoje teksto / +/- */
.action-buttons{
  display:flex!important;
  align-items:center!important;
  gap:5px!important;
  flex-wrap:wrap!important;
  min-width:138px!important;
  max-width:170px!important;
}
.action-buttons form{display:inline-flex!important;margin:0!important;padding:0!important;line-height:1!important}
.action-icon,
.action-buttons .action-icon,
.action-buttons .button.action-icon{
  width:29px!important;
  height:29px!important;
  min-width:29px!important;
  max-width:29px!important;
  padding:0!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  font-size:14px!important;
  line-height:1!important;
  border-radius:8px!important;
  overflow:hidden!important;
}
.action-icon:hover{transform:translateY(-1px);filter:brightness(.98)}
.action-buttons .btn-minus.action-icon{background:#ffe2e2!important;color:#b91c1c!important;border-color:#f3a6a6!important}
.action-buttons .btn-plus.action-icon{background:#dcfce7!important;color:#166534!important;border-color:#86efac!important}
.action-buttons .is-link.action-icon{background:#dbeafe!important;color:#1d4ed8!important;border-color:#93c5fd!important}
.action-buttons .is-primary.action-icon{background:#e0f2fe!important;color:#0369a1!important;border-color:#7dd3fc!important}
.action-buttons .is-warning.action-icon{background:#fef3c7!important;color:#92400e!important;border-color:#fcd34d!important}
.action-buttons .is-info.action-icon{background:#ede9fe!important;color:#5b21b6!important;border-color:#c4b5fd!important}
.action-buttons .button[disabled].action-icon{opacity:.38!important;cursor:not-allowed!important;filter:grayscale(.35)!important;transform:none!important}
table.table th:first-child,
table.table td:first-child{min-width:150px!important;width:150px!important;max-width:180px!important}
@media(max-width:768px){
  .action-buttons{min-width:104px!important;max-width:120px!important;gap:4px!important}
  .action-icon,.action-buttons .action-icon,.action-buttons .button.action-icon{width:26px!important;height:26px!important;min-width:26px!important;max-width:26px!important;font-size:12px!important;border-radius:7px!important}
  table.table th:first-child,table.table td:first-child{min-width:112px!important;width:112px!important;max-width:122px!important}
}

/* ===== V18 ATASKAITOS ===== */
.atask-card .card-content{padding:18px 22px 24px}
.atask-filter-panel{border:1px solid #e1e5ea;border-radius:16px;padding:16px;background:#fff;margin-bottom:16px}
.atask-filter-grid{display:grid;grid-template-columns:repeat(5,minmax(130px,1fr));gap:12px}
.atask-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:10px}
.atask-summary-grid{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:10px;margin:14px 0}
.atask-summary-card{background:#fff;border:1px solid #e1e5ea;border-radius:12px;padding:12px;min-height:58px;box-shadow:0 8px 22px rgba(16,24,40,.04)}
.atask-summary-card div{font-size:12px;color:#667085;margin-bottom:4px}.atask-summary-card b{font-size:15px;color:#071b36}.atask-summary-card-total{background:#fff7f9;border-color:#efcbd4}
.atask-report-wrap{border:1px solid #d6dde6;border-radius:12px;overflow:auto;background:#fff;margin-top:12px}.atask-report-table{width:100%;border-collapse:collapse;font-size:12px}.atask-report-table th{background:#ececec;color:#001b35;font-weight:800;padding:8px;border-bottom:1px solid #d9dfe7}.atask-report-table td{padding:8px;border-bottom:1px solid #e4e8ef}.atask-report-table .is-left{text-align:left}.atask-report-table .is-right{text-align:right;white-space:nowrap}.atask-report-table .is-center{text-align:center;white-space:nowrap}.atask-report-table .subtotal{font-weight:800;background:#f5f5f5}.atask-report-table .section th{background:#e9ecef}.atask-report-table .grand{font-weight:900;background:#f5d8e1;border-top:2px solid #9a1730;text-transform:uppercase}
@media(max-width:1000px){.atask-filter-grid{grid-template-columns:repeat(2,minmax(130px,1fr))}.atask-summary-grid{grid-template-columns:repeat(2,minmax(120px,1fr))}}
@media(max-width:640px){.atask-filter-grid,.atask-summary-grid{grid-template-columns:1fr}.atask-card .card-content{padding:14px}}

/* ===== V19: tik lentelių pinch zoom mobiliai ===== */
.table-wrap,
.wrap,
.tabelis-wrap,
.veikla-bulk-table-wrap,
.atask-report-wrap{
  overflow:auto!important;
  touch-action:none;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  position:relative;
}
.table-wrap > table,
.wrap > table,
.tabelis-wrap > table,
.veikla-bulk-table-wrap > table,
.atask-report-wrap > table{
  transform-origin:top left;
}
.table-zoom-controls{
  position:sticky;
  left:8px;
  top:8px;
  z-index:40;
  display:flex;
  gap:6px;
  width:max-content;
  margin:6px 0 4px 6px;
  pointer-events:auto;
}
.table-zoom-btn{
  border:1px solid #d8dee4;
  background:#fff;
  color:#243041;
  border-radius:8px;
  min-width:34px;
  height:28px;
  padding:0 8px;
  font-size:12px;
  font-weight:700;
  box-shadow:0 4px 12px rgba(0,0,0,.08);
}
.table-zoom-btn:active{transform:translateY(1px)}
.table-zoom-label{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:28px;
  min-width:46px;
  padding:0 8px;
  border-radius:8px;
  background:#f3f4f6;
  color:#4b5563;
  font-size:12px;
  font-weight:700;
  border:1px solid #e5e7eb;
}
.table-zoomed{
  padding-bottom:18px;
}

.table-zoomed{
  cursor:grab;
}
.table-zoomed:active{
  cursor:grabbing;
}

@media(min-width:769px){
  .table-zoom-controls{display:none;}
  .table-wrap,.wrap,.tabelis-wrap,.veikla-bulk-table-wrap,.atask-report-wrap{touch-action:auto;}
}

/* ===== V21: mobilus horizontalus slinkimas formoms, kurios nėra lentelė ===== */
@media (max-width: 768px){
  .gas-card .card-content,
  .form-scroll,
  .veikla-form-scroll,
  .veikla-bulk-card .card-content,
  .samata-form-scroll,
  .pajamavimas-form-scroll,
  .nurasymas-form-scroll{
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch;
    touch-action:pan-x pan-y!important;
    overscroll-behavior-x:contain;
  }

  .form-grid,
  .veikla-form-grid,
  .veikla-top-fields,
  .veikla-file-zone,
  .samata-form-grid,
  .pajamavimas-form-grid,
  .nurasymas-form-grid{
    min-width:760px;
  }

  .veikla-bulk-table{
    min-width:760px;
  }

  .veikla-bulk-table-wrap{
    overflow-x:auto!important;
    overflow-y:visible!important;
    -webkit-overflow-scrolling:touch;
    touch-action:pan-x pan-y!important;
  }
}

/* ===== V22 papildymai ===== */
.v22-progress{min-width:150px;max-width:220px}
.v22-progress-top{display:flex;justify-content:space-between;gap:8px;font-size:12px;margin-bottom:4px;white-space:nowrap}
.v22-progress-top b{font-size:14px;color:#0f766e}
.v22-progress-top span{color:#64748b}
.v22-progress-bar{height:10px;background:#e5e7eb;border-radius:999px;overflow:hidden;box-shadow:inset 0 1px 2px rgba(0,0,0,.08)}
.v22-progress-bar i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#22c55e);border-radius:999px}
.object-drilldown{border:2px solid #dbeafe;box-shadow:0 14px 32px rgba(15,23,42,.08)}
.related-wrap{max-height:360px;margin-bottom:18px}
.pay-icon{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:4px 10px;font-weight:800;font-size:12px;white-space:nowrap}
.pay-ok{background:#dcfce7;color:#166534;border:1px solid #86efac}
.pay-no{background:#fee2e2;color:#991b1b;border:1px solid #fca5a5}
.pay-warn{background:#fef3c7;color:#92400e;border:1px solid #fcd34d}
.pay-unk{background:#f1f5f9;color:#334155;border:1px solid #cbd5e1}
.status-badge-naujas,.status-badge-nauja{background:#e0f2fe;color:#075985}
@media(max-width:768px){.v22-progress{min-width:130px}.pay-icon{font-size:11px;padding:3px 8px}}

/* V24: progresas viename langelyje su besipildančiu fonu */
.v24-progress-cell{
  position:relative;
  min-width:150px;
  height:30px;
  border-radius:10px;
  background:#eef2f7;
  border:1px solid #d7e1e8;
  overflow:hidden;
  box-shadow:inset 0 1px 2px rgba(15,23,42,.08);
  display:flex;
  align-items:center;
  justify-content:center;
  white-space:nowrap;
}
.v24-progress-cell i{
  position:absolute;
  left:0;top:0;bottom:0;
  background:linear-gradient(90deg,#bbf7d0,#22c55e);
  z-index:0;
}
.v24-progress-cell span{
  position:relative;
  z-index:1;
  color:#064e3b;
  font-weight:800;
  font-size:12px;
  text-shadow:0 1px 0 rgba(255,255,255,.65);
}
@media(max-width:768px){.v24-progress-cell{min-width:130px;height:34px}.v24-progress-cell span{font-size:12px}}

/* V24: gyvai skaičiuojami formos laukai */
.auto-calculated-field{
  background:#f0fdf4!important;
  border-color:#86efac!important;
  color:#14532d!important;
  font-weight:700;
}

/* V25: progressas per visą celę */
td.progress-td{
  padding:0!important;
  min-width:190px;
  background:#f8fafc!important;
  vertical-align:middle!important;
}
td.progress-td .v24-progress-cell{
  width:100%;
  min-width:180px;
  height:42px;
  border-radius:0;
  border:0;
  background:#f1f5f9;
  box-shadow:inset 0 0 0 1px rgba(15,23,42,.06);
}
td.progress-td .v24-progress-cell i{
  background:linear-gradient(90deg,#dcfce7 0%,#86efac 55%,#22c55e 100%);
}
td.progress-td .v24-progress-cell span{
  color:#052e16;
  font-weight:700;
  font-size:13px;
  text-shadow:0 1px 0 rgba(255,255,255,.8);
}

/* V25: formos modalas */
.form-modal{
  position:fixed;
  inset:0;
  z-index:10000;
  background:rgba(15,23,42,.55);
  display:none;
  align-items:center;
  justify-content:center;
  padding:6px;
}
.form-modal.is-active{display:flex;}
.form-modal-card{
  width:min(1700px,99.5vw);
  height:min(960px,98vh);
  background:#fff;
  border-radius:22px;
  box-shadow:0 25px 80px rgba(0,0,0,.28);
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
.form-modal-head{
  height:52px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 16px;
  border-bottom:1px solid #e5e7eb;
  background:#f8fafc;
  font-weight:800;
}
.form-modal-frame{
  width:100%;
  flex:1;
  border:0;
  background:#fff;
}

/* V311: iš Darbuotojų veiklos atidaromos apskaitos formos – mažas modalas. */
.form-modal.is-activity-quick .form-modal-card{width:min(780px,96vw);height:min(720px,92vh);border-radius:14px}
.form-modal.is-activity-quick .form-modal-head{height:42px;padding:0 12px;font-size:13px}
@media(max-width:768px){.form-modal.is-activity-quick .form-modal-card{width:100vw;height:96vh;border-radius:10px}}
@media(max-width:768px){
  .form-modal{padding:5px;}
  .form-modal-card{width:100vw;height:98vh;border-radius:12px;}
}


/* V27 pajamavimas likučiai */
.likutis-positive{background:linear-gradient(90deg,#bbf7d0,#dcfce7)!important;color:#14532d!important;font-weight:800!important;border-left:4px solid #22c55e!important}
.likutis-zero{background:#fee2e2!important;color:#991b1b!important;font-weight:700!important;border-left:4px solid #ef4444!important}
.paj-filter-btn{gap:8px;display:inline-flex!important;align-items:center!important}
/* V27 tabelis prašymai */
.tabelis-cell-click{cursor:pointer;transition:.12s ease}
.tabelis-cell-click:hover{outline:2px solid #8b1230;background:#fff7ed!important}
#prasymasPanel{border:2px solid #8b1230;border-radius:18px;box-shadow:0 12px 30px rgba(15,23,42,.10)}

/* V30 prašymų / įsakymų spalvos tabelyje */
.tabelis-table td.req-pr{background:#fff3b0!important;color:#3b2f00!important;font-weight:700}
.tabelis-table td.req-is{background:#c9f7d4!important;color:#064e1f!important;font-weight:700}
.tabelis-table td.req-pr.weekend{background:#ffe7a3!important}
.tabelis-table td.req-is.weekend{background:#bff0c8!important}


/* V36: Nustatymai mobile horizontal scroll */
.settings-page{
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}
.settings-page .table-wrap,
.settings-page .settings-scroll{
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  touch-action:pan-x pan-y;
}
@media (max-width: 768px){
  .settings-page .section{
    min-width:1120px;
  }
  .settings-page .box{
    min-width:1040px;
  }
  .settings-page table{
    min-width:1000px;
  }
}


/* V37 HARD FIX: nustatymai turi važiuoti į šoną telefone */
@media (max-width: 900px){
  html{
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch!important;
  }
  body.settings-page{
    width:1280px!important;
    min-width:1280px!important;
    max-width:none!important;
    overflow-x:visible!important;
    touch-action:pan-x pan-y!important;
  }
  body.settings-page .section,
  body.settings-page .container,
  body.settings-page .box{
    width:1240px!important;
    min-width:1240px!important;
    max-width:none!important;
  }
  body.settings-page .columns{
    width:100%!important;
    min-width:1180px!important;
  }
  body.settings-page .table-wrap{
    width:100%!important;
    max-width:none!important;
    overflow-x:auto!important;
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch!important;
    touch-action:pan-x pan-y!important;
  }
  body.settings-page table{
    min-width:1180px!important;
    width:max-content!important;
  }
  body.settings-page input,
  body.settings-page select,
  body.settings-page textarea{
    touch-action:manipulation!important;
  }
}


/* V38 FINAL: nustatymų puslapis telefone turi būti platus ir slenkamas */
@media (max-width: 900px){
  html:has(body.settings-page),
  body.settings-page{
    overflow-x:scroll!important;
    overflow-y:auto!important;
    width:1400px!important;
    min-width:1400px!important;
    max-width:none!important;
    position:static!important;
    touch-action:pan-x pan-y!important;
  }
  body.settings-page .section,
  body.settings-page .settings-section,
  body.settings-page .container,
  body.settings-page .box,
  body.settings-page .columns,
  body.settings-page .column{
    max-width:none!important;
  }
  body.settings-page .section,
  body.settings-page .settings-section{
    width:1400px!important;
    min-width:1400px!important;
    padding-left:12px!important;
    padding-right:12px!important;
  }
  body.settings-page .container{
    width:1360px!important;
    min-width:1360px!important;
  }
  body.settings-page .box{
    width:1320px!important;
    min-width:1320px!important;
  }
  body.settings-page .table-wrap{
    overflow-x:scroll!important;
    overflow-y:auto!important;
    width:100%!important;
    max-width:none!important;
    -webkit-overflow-scrolling:touch!important;
    touch-action:pan-x pan-y!important;
  }
  body.settings-page table{
    min-width:1250px!important;
    width:1250px!important;
  }
}


/* V39: MOK tik spalvoti burbuliukai be teksto */
.mok-dot{
  display:inline-block!important;
  width:14px!important;
  height:14px!important;
  min-width:14px!important;
  border-radius:50%!important;
  vertical-align:middle!important;
  box-shadow:0 0 0 1px rgba(0,0,0,.12) inset!important;
}
.mok-dot-red{background:#ef1f2d!important;}
.mok-dot-green{background:#1fa64a!important;}
.mok-dot-yellow{background:#facc15!important;}
.mok-badge{
  padding:0!important;
  min-width:14px!important;
  width:14px!important;
  height:14px!important;
  border-radius:50%!important;
  overflow:hidden!important;
  text-indent:-9999px!important;
}

/* V39: Tabelio / PR-ISK veiksmo trynimo mygtukas švelniai raudonas */
#tabelisTable .button.is-danger,
.tabelis-wrap .button.is-danger,
body .table .button.is-danger.is-light{
  background:#ffe4e6!important;
  border-color:#f9a8b4!important;
  color:#7f1d1d!important;
}
#tabelisTable .button.is-danger:hover,
.tabelis-wrap .button.is-danger:hover,
body .table .button.is-danger.is-light:hover{
  background:#fecdd3!important;
  border-color:#fb7185!important;
  color:#7f1d1d!important;
}


/* V42: Darbai / Medžiaga veiksmai: -€ išlaida, +€ pajamos */
.action-buttons .action-eur-minus,
.action-eur-minus{
  background:#fee2e2!important;
  color:#b91c1c!important;
  border-color:#fca5a5!important;
  font-weight:800!important;
  font-size:13px!important;
}
.action-buttons .action-eur-plus,
.action-eur-plus{
  background:#dcfce7!important;
  color:#15803d!important;
  border-color:#86efac!important;
  font-weight:800!important;
  font-size:13px!important;
}
.action-eur-minus:hover,
.action-eur-plus:hover{filter:brightness(.98);transform:translateY(-1px)}


/* V44: Tabelis kaip darbo laiko apskaitos žiniaraštis */
.tabelis-card .card-header-title{
  justify-content:center!important;
  text-align:center!important;
  font-weight:900!important;
}
.tabelis-topbar{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  margin-bottom:8px;
}
.tabelis-sheet-wrap{
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  border:1px solid #111;
  background:#fff;
  max-height:72vh;
}
.tabelis-sheet{
  border-collapse:collapse!important;
  width:max-content!important;
  min-width:1450px!important;
  font-size:10px!important;
  color:#000!important;
  background:#fff!important;
}
.tabelis-sheet th,
.tabelis-sheet td{
  border:1px solid #555!important;
  padding:2px 3px!important;
  height:22px!important;
  min-width:20px!important;
  text-align:center!important;
  vertical-align:middle!important;
  background:#fff;
  line-height:1.1!important;
}
.tabelis-sheet .center{text-align:center!important}
.tabelis-sheet .strong{font-weight:800!important}
.tabelis-sheet .fixed-small{min-width:34px!important;width:34px!important}
.tabelis-sheet .emp-name-col{
  min-width:145px!important;
  width:145px!important;
  text-align:left!important;
  padding-left:6px!important;
  font-weight:700!important;
}
.tabelis-sheet .role-col{
  min-width:130px!important;
  width:130px!important;
  font-size:9px!important;
}
.tabelis-sheet .day-head,
.tabelis-sheet .day-num,
.tabelis-sheet .day-cell{
  min-width:22px!important;
  width:22px!important;
  max-width:22px!important;
  padding:1px!important;
}
.tabelis-sheet .day-num{
  font-weight:700!important;
  background:#fff!important;
}
.tabelis-sheet .weekend{
  background:#fff0c7!important;
}
.tabelis-sheet .day-num.weekend:nth-child(odd),
.tabelis-sheet td.weekend:nth-child(odd){
  background:#f4a1a6!important;
}
.tabelis-sheet .mark-cell{
  background:#dff7e3!important;
  font-weight:700!important;
}
.tabelis-sheet .req-pr{background:#fff3cd!important}
.tabelis-sheet .req-is{background:#f8d7da!important}
.tabelis-sheet .rotate-cell{
  position:relative!important;
  height:98px!important;
  min-width:30px!important;
  width:30px!important;
  white-space:nowrap!important;
}
.tabelis-sheet .rotate-cell span{
  display:inline-block!important;
  transform:rotate(-90deg)!important;
  transform-origin:center center!important;
  white-space:nowrap!important;
  font-size:9px!important;
}
.tabelis-sheet .calc-head{
  min-width:34px!important;
  width:34px!important;
}
.tabelis-sheet .tiny{
  min-width:26px!important;
  width:26px!important;
}
.tabelis-sheet .calc-num{
  min-width:34px!important;
  width:34px!important;
  font-weight:700!important;
}
.tabelis-summary-wrap{
  margin-top:16px;
  display:flex;
  justify-content:center;
  overflow:auto;
}
.tabelis-summary{
  border-collapse:collapse!important;
  font-size:10px!important;
  background:#fff!important;
}
.tabelis-summary th,
.tabelis-summary td{
  border:1px solid #333!important;
  padding:3px 5px!important;
  text-align:center!important;
}
.tabelis-summary .summary-title{
  min-width:260px;
  font-weight:700;
}
.tabelis-summary .row-label{
  font-weight:700;
  min-width:65px;
}
.tabelis-signatures{
  margin-top:18px;
  display:flex;
  justify-content:center;
  gap:32px;
  font-size:11px;
}
@media print{
  .app-hero,.tabs,.notification,.tabelis-topbar,#prasymasPanel,.table-wrap,.subtitle.mt-5{display:none!important}
  .tabelis-sheet-wrap{max-height:none!important;overflow:visible!important;border:none!important}
  .tabelis-sheet{font-size:7px!important;min-width:0!important;width:100%!important}
  .tabelis-sheet th,.tabelis-sheet td{padding:1px!important;height:16px!important}
}


/* V46: Darbuotojų veiklos formoje gyvi skaičiavimai */
.veikla-bulk-table th:nth-child(5),
.veikla-bulk-table th:nth-child(6),
.veikla-bulk-table th:nth-child(7),
.veikla-bulk-table td:nth-child(5),
.veikla-bulk-table td:nth-child(6),
.veikla-bulk-table td:nth-child(7){
  min-width:105px!important;
}
.veikla-bulk-table .vf-one,
.veikla-bulk-table .vf-hourly,
.veikla-bulk-table .vf-total{
  background:#f8fafc!important;
  font-weight:700!important;
  text-align:right!important;
}

/* V47: prekių išdavimo / nurašymo piktograma */
.issue-icon{gap:2px;min-width:36px;display:inline-flex!important;align-items:center;justify-content:center}
.issue-icon .issue-box{font-size:14px;line-height:1}
.issue-icon .issue-arrow{font-size:16px;line-height:1;color:#dc2626;font-weight:900;margin-left:-2px}

/* V60: transporto kuro likutis */
.fuel-wrap{min-width:130px;max-width:220px}
.fuel-bar{height:12px;background:#e5e7eb;border-radius:999px;overflow:hidden;border:1px solid #cbd5e1}
.fuel-bar span{display:block;height:100%;background:linear-gradient(90deg,#ef4444,#f59e0b,#22c55e);border-radius:999px}
.fuel-text{font-size:12px;font-weight:700;margin-top:3px;white-space:nowrap;color:#334155}
.action-icon[title*="kelion"], .action-icon[aria-label*="kelion"]{font-size:16px}

/* V61: šviesus kelionių/mašinytės mygtukas */
.car-action-icon{
  background:#f8fafc!important;
  color:#0f172a!important;
  border:1px solid #cbd5e1!important;
  box-shadow:0 1px 2px rgba(15,23,42,.08)!important;
}
.car-action-icon:hover{background:#eef2ff!important;border-color:#bfdbfe!important;}

/* ===== GRAFIKAS ===== */
.grafikas-page{border-radius:16px}.grafikas-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;flex-wrap:wrap}.grafikas-weekdays,.grafikas-grid{display:grid;grid-template-columns:repeat(7,minmax(110px,1fr));gap:6px}.grafikas-weekdays>div{font-weight:700;text-align:center;padding:7px;border-bottom:1px solid #e5e7eb}.grafikas-weekdays>div.weekend{background:#fff1f1;color:#c0392b;border:1px solid #ffb4b4;border-radius:8px}.gday{min-height:128px;border:1px solid #d9dee7;border-radius:8px;background:#fff;padding:6px;position:relative}.gday.weekend{background:#fff1f1;border-color:#ffb4b4}.gday.holiday{background:#ffecec;border-color:#ff8f8f}.gday.holiday .gdate::after{content:" Šv.";color:#c0392b;font-weight:700}.gday.muted{opacity:.55}.gday.today{outline:2px solid #3273dc}.gday.dragover{background:#eef6ff}.gdate{font-size:12px;font-weight:700;margin-bottom:4px}.gitems{display:flex;flex-direction:column;gap:4px}.gitem{font-size:11px;line-height:1.15;border-radius:6px;padding:5px;border:1px solid #f2c078;background:#fff8df;cursor:pointer;word-break:break-word}.gitem small{display:block;color:#6b7280;margin-top:2px}.gitem.done{border-color:#8bd08b;background:#ecfff0}.gitem.other{border-color:#ff9c9c;background:#fff0f0}.gleg{display:inline-block;margin-right:8px;padding:3px 8px;border-radius:6px;font-size:12px;border:1px solid #ddd}.gleg.plan{background:#fff8df}.gleg.done{background:#ecfff0}.gleg.other{background:#fff0f0}.grafikas-modal-card{width:min(760px,96vw)}.grafikas-employees{border:1px solid #dbdbdb;border-radius:8px;padding:10px;min-height:46px}.grafikas-journal th,.grafikas-journal td{font-size:12px;white-space:nowrap}.grafikas-journal td:nth-child(4),.grafikas-journal td:nth-child(5),.grafikas-journal td:nth-child(6){white-space:normal;min-width:160px}@media(max-width:900px){.grafikas-weekdays,.grafikas-grid{grid-template-columns:repeat(7,120px);overflow:visible}.grafikas-page{overflow-x:auto}.gday{min-height:118px}.grafikas-head{align-items:flex-start}.grafikas-head .title{width:100%;order:-1}.grafikas-journal-box{overflow-x:auto}}

/* GRAFIKAS modalas visada šviesus, nepriklausomai nuo naršyklės / Windows dark mode */
#grafikasModal .modal-card,
#grafikasModal .modal-card-head,
#grafikasModal .modal-card-body,
#grafikasModal .modal-card-foot,
.grafikas-modal-card,
.grafikas-modal-card .modal-card-head,
.grafikas-modal-card .modal-card-body,
.grafikas-modal-card .modal-card-foot{
  background:#ffffff !important;
  color:#1f2937 !important;
}
#grafikasModal .modal-card-head{
  border-bottom:1px solid #e5e7eb !important;
}
#grafikasModal .modal-card-foot{
  border-top:1px solid #e5e7eb !important;
}
#grafikasModal .modal-card-title,
#grafikasModal .label,
#grafikasModal label,
#grafikasModal .checkbox,
#grafikasModal .help{
  color:#1f2937 !important;
}
#grafikasModal .input,
#grafikasModal .textarea,
#grafikasModal .select select{
  background:#ffffff !important;
  color:#111827 !important;
  border-color:#d1d5db !important;
  box-shadow:none !important;
}
#grafikasModal .input::placeholder,
#grafikasModal .textarea::placeholder{
  color:#9ca3af !important;
}
#grafikasModal .grafikas-employees{
  background:#ffffff !important;
  border-color:#d1d5db !important;
  color:#1f2937 !important;
}
#grafikasModal .grafikas-employees label,
#grafikasModal .grafikas-employees .checkbox{
  color:#1f2937 !important;
}
#grafikasModal input[type="checkbox"]{
  accent-color:#3273dc;
}


/* GRAFIKAS MODAL FIX v3: priverstinai šviesus fonas net kai Bulma/Windows dark mode įjungtas */
html #grafikasModal,
body #grafikasModal{
  color-scheme: light !important;
}
html #grafikasModal .modal-card,
html #grafikasModal .modal-card-head,
html #grafikasModal .modal-card-body,
html #grafikasModal .modal-card-foot,
body #grafikasModal .modal-card,
body #grafikasModal .modal-card-head,
body #grafikasModal .modal-card-body,
body #grafikasModal .modal-card-foot{
  background-color:#ffffff !important;
  background:#ffffff !important;
  color:#1f2937 !important;
  --bulma-modal-card-head-background-color:#ffffff !important;
  --bulma-modal-card-body-background-color:#ffffff !important;
  --bulma-modal-card-foot-background-color:#ffffff !important;
  --bulma-modal-card-title-color:#1f2937 !important;
}
html #grafikasModal .modal-card-title,
html #grafikasModal .label,
html #grafikasModal label,
html #grafikasModal .checkbox,
html #grafikasModal .grafikas-employees,
body #grafikasModal .modal-card-title,
body #grafikasModal .label,
body #grafikasModal label,
body #grafikasModal .checkbox,
body #grafikasModal .grafikas-employees{
  color:#1f2937 !important;
}
html #grafikasModal input,
html #grafikasModal textarea,
html #grafikasModal select,
body #grafikasModal input,
body #grafikasModal textarea,
body #grafikasModal select{
  background-color:#ffffff !important;
  background:#ffffff !important;
  color:#111827 !important;
  border-color:#d1d5db !important;
  -webkit-text-fill-color:#111827 !important;
  color-scheme: light !important;
}
html #grafikasModal .grafikas-employees,
body #grafikasModal .grafikas-employees{
  background-color:#ffffff !important;
  background:#ffffff !important;
  border-color:#d1d5db !important;
}
html #grafikasModal .modal-background,
body #grafikasModal .modal-background{
  background:rgba(15,23,42,.45) !important;
}
@media (prefers-color-scheme: dark){
  html #grafikasModal .modal-card,
  html #grafikasModal .modal-card-head,
  html #grafikasModal .modal-card-body,
  html #grafikasModal .modal-card-foot{
    background:#ffffff !important;
    color:#1f2937 !important;
  }
}
/* V70 upload progress */
.nk-upload-progress{display:none;width:100%;margin-top:12px;padding:10px 12px;border:1px solid #d8dee8;border-radius:10px;background:#fff;color:#223;box-shadow:0 2px 8px rgba(0,0,0,.05)}
.nk-upload-progress-label{font-size:.9rem;margin-bottom:6px;font-weight:600}
.nk-upload-bar{height:10px;border-radius:999px;background:#edf1f7;overflow:hidden}
.nk-upload-bar span{display:block;height:100%;width:0%;background:#9a1730;transition:width .2s ease}

/* V77: Grafiko šviesi navigacija ir žurnalo veiksmo ikonėlės kaip kituose žurnaluose */
.grafikas-page, .grafikas-journal-box{background:#ffffff!important;color:#111827!important;}
.grafikas-head .title{color:#111827!important;}
.grafikas-head .buttons .button:not(.is-primary){background:#ffffff!important;color:#111827!important;border:1px solid #d8dee4!important;}
.grafikas-head .buttons .button:not(.is-primary):hover{background:#f3f4f6!important;color:#111827!important;}
.grafikas-journal .action-buttons{display:flex!important;gap:5px!important;align-items:center!important;flex-wrap:nowrap!important;}
.grafikas-journal .action-icon{width:28px!important;height:28px!important;min-width:28px!important;padding:0!important;border-radius:8px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;}
.grafikas-journal .btn-minus.action-icon{background:#ffe2e2!important;color:#b91c1c!important;border-color:#f3a6a6!important;}
.grafikas-journal .btn-plus.action-icon{background:#dcfce7!important;color:#166534!important;border-color:#86efac!important;}
.grafikas-journal th,.grafikas-journal td{color:#111827!important;}
.file-link{display:inline-block;margin:1px 4px 1px 0;padding:2px 7px;border-radius:999px;background:#eef2ff;color:#1d4ed8!important;border:1px solid #bfdbfe;font-weight:700;font-size:12px;text-decoration:none!important;}
.file-link:hover{background:#dbeafe!important;}

/* V61: Darbuotojų veiklos lentelė – sutalpinti Bonus ir skaičiavimo stulpelius */
.veikla-bulk-table{table-layout:fixed!important;min-width:1120px!important}
.veikla-bulk-table th:nth-child(1),.veikla-bulk-table td:nth-child(1){width:16%!important}
.veikla-bulk-table th:nth-child(2),.veikla-bulk-table td:nth-child(2){width:6%!important;min-width:68px!important}
.veikla-bulk-table th:nth-child(3),.veikla-bulk-table td:nth-child(3){width:22%!important}
.veikla-bulk-table th:nth-child(4),.veikla-bulk-table td:nth-child(4){width:17%!important}
.veikla-bulk-table th:nth-child(5),.veikla-bulk-table td:nth-child(5){width:9%!important;min-width:82px!important}
.veikla-bulk-table th:nth-child(6),.veikla-bulk-table td:nth-child(6){width:7%!important;min-width:74px!important}
.veikla-bulk-table th:nth-child(7),.veikla-bulk-table td:nth-child(7){width:8%!important;min-width:82px!important}
.veikla-bulk-table th:nth-child(8),.veikla-bulk-table td:nth-child(8){width:7%!important;min-width:78px!important}
.veikla-bulk-table th:nth-child(9),.veikla-bulk-table td:nth-child(9){width:8%!important;min-width:82px!important}
.veikla-bulk-table .vf-hours{min-width:0!important;text-align:center}
.veikla-bulk-table .vf-bonus{min-width:0!important;text-align:center}
.veikla-bulk-table tr.vf-existing-row td{box-shadow:inset 0 1px 0 rgba(35,130,85,.10)}


/* V78: Darbuotojų veiklos forma – visi dešinės pusės stulpeliai telpa formos lange */
.veikla-bulk-table-wrap{
  width:100%!important;
  overflow-x:hidden!important;
}
.veikla-bulk-table{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  table-layout:fixed!important;
}
.veikla-bulk-table th,
.veikla-bulk-table td{
  min-width:0!important;
  padding-left:5px!important;
  padding-right:5px!important;
  overflow:hidden;
}
.veikla-bulk-table .input{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  padding-left:7px!important;
  padding-right:7px!important;
}
.veikla-bulk-table th.vf-col-employee,
.veikla-bulk-table td.vf-col-employee{width:15%!important;}
.veikla-bulk-table th.vf-col-hours,
.veikla-bulk-table td.vf-col-hours{width:58px!important;min-width:58px!important;max-width:58px!important;}
.veikla-bulk-table th.vf-col-activity,
.veikla-bulk-table td.vf-col-activity{width:auto!important;}
.veikla-bulk-table th.vf-col-notes,
.veikla-bulk-table td.vf-col-notes{width:8%!important;}
.veikla-bulk-table th.vf-col-advance,
.veikla-bulk-table td.vf-col-advance{width:82px!important;}
.veikla-bulk-table th.vf-col-bonus,
.veikla-bulk-table td.vf-col-bonus{width:76px!important;}
.veikla-bulk-table th.vf-col-one,
.veikla-bulk-table td.vf-col-one{width:86px!important;}
.veikla-bulk-table th.vf-col-hourly,
.veikla-bulk-table td.vf-col-hourly{width:72px!important;}
.veikla-bulk-table th.vf-col-total,
.veikla-bulk-table td.vf-col-total{width:86px!important;}
.veikla-bulk-table .vf-hours{padding-left:4px!important;padding-right:4px!important;text-align:center!important;}
.veikla-bulk-table .vf-bonus,
.veikla-bulk-table .vf-one,
.veikla-bulk-table .vf-hourly,
.veikla-bulk-table .vf-total{font-size:12px!important;}

/* V67: kairysis hamburger meniu */
.nk-menu-row{display:flex;align-items:center;gap:12px;margin-top:18px;margin-bottom:12px}
.nk-menu-toggle{width:42px;height:38px;border:1px solid #d8dee4;border-radius:9px;background:#fff;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;cursor:pointer;box-shadow:none;padding:0;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}
.nk-menu-toggle:hover{border-color:#b7c1cb;background:#fbfcfd;box-shadow:0 2px 8px rgba(31,41,55,.08)}
.nk-menu-toggle span{display:block;width:19px;height:2px;border-radius:2px;background:var(--brand)}
.nk-current-module{font-size:13px;font-weight:700;color:#4a5565;letter-spacing:.02em}
.nk-menu-backdrop{position:fixed;inset:0;background:rgba(20,27,37,.34);z-index:1998}
.nk-side-menu{position:fixed;top:0;left:0;bottom:0;width:min(330px,88vw);background:#fff;z-index:1999;box-shadow:12px 0 32px rgba(15,23,42,.18);transform:translateX(-105%);transition:transform .22s ease;display:flex;flex-direction:column;overflow:hidden}
.nk-side-menu.is-open{transform:translateX(0)}
.nk-side-menu-head{height:68px;min-height:68px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;border-bottom:1px solid #e6e9ed;font-size:15px;font-weight:800;color:var(--brand)}
.nk-side-menu-list{padding:12px;overflow-y:auto;overscroll-behavior:contain}
.nk-side-menu-item{display:flex;align-items:center;min-height:42px;padding:9px 12px;margin:2px 0;border-radius:8px;color:#243041;font-size:13px;font-weight:600;text-decoration:none;border:1px solid transparent;transition:background .14s ease,border-color .14s ease,color .14s ease}
.nk-side-menu-item:hover{background:#f4f6f8;border-color:#e4e8ec;color:var(--brand)}
.nk-side-menu-item.is-active{background:var(--brand);border-color:var(--brand);color:#fff}
.nk-side-menu-settings{margin-top:10px;border-top:1px solid #e6e9ed;border-radius:0;padding-top:15px;color:#68884f}
body.nk-menu-open{overflow:hidden}
@media(max-width:768px){.nk-menu-row{margin-top:12px}.nk-current-module{font-size:12px}.nk-side-menu{width:min(310px,90vw)}}

/* V85: PC nuolat atvertas kairysis meniu + mobilus išskleidžiamas meniu */
.nk-menu-icon{width:25px;min-width:25px;display:inline-flex;align-items:center;justify-content:center;font-size:17px;line-height:1}
.nk-menu-label{min-width:0;line-height:1.2}

@media (min-width: 901px){
  :root{--nk-desktop-sidebar:244px}
  .page-shell{margin-left:var(--nk-desktop-sidebar);min-height:100vh}
  .nk-side-menu{
    width:var(--nk-desktop-sidebar)!important;
    max-width:var(--nk-desktop-sidebar)!important;
    transform:none!important;
    box-shadow:4px 0 18px rgba(15,23,42,.08)!important;
    z-index:1200!important;
    border-right:1px solid #e6e9ed;
  }
  .nk-side-menu-head{height:74px;min-height:74px;padding:0 17px;font-size:16px;background:#fff}
  .nk-side-menu-head .delete{display:none!important}
  .nk-side-menu-list{padding:10px 9px 18px}
  .nk-side-menu-item{min-height:40px;padding:8px 10px;gap:8px;font-size:12.5px}
  .nk-side-menu-settings{margin-top:10px;padding-top:13px}
  .nk-menu-row{display:none!important}
  .nk-menu-backdrop{display:none!important}
  body.nk-menu-open{overflow:auto!important}
}

@media (max-width: 900px){
  .page-shell{margin-left:0!important}
  .nk-side-menu{width:min(315px,90vw)!important;transform:translateX(-105%)!important}
  .nk-side-menu.is-open{transform:translateX(0)!important}
  .nk-side-menu-item{gap:8px}
  .nk-menu-row{display:flex!important}
}

/* V85: Nustatymuose redaguojamas meniu eiliškumas */
.nk-menu-order-list{max-width:720px;border:1px solid #e1e6eb;border-radius:10px;overflow:hidden;background:#fff}
.nk-menu-order-row{display:flex;align-items:center;gap:10px;min-height:46px;padding:7px 9px;border-bottom:1px solid #edf0f3;background:#fff;cursor:grab;user-select:none}
.nk-menu-order-row:last-child{border-bottom:0}
.nk-menu-order-row:hover{background:#fafbfc}
.nk-menu-order-row.is-dragging{opacity:.5;background:#f2f5f8}
.nk-menu-order-grip{width:26px;min-width:26px;text-align:center;color:#8793a1;font-size:17px;cursor:grab}
.nk-menu-order-icon{width:28px;min-width:28px;text-align:center;font-size:18px}
.nk-menu-order-title{flex:1;font-weight:700;color:#253142;font-size:13px}
.nk-menu-order-actions{display:flex;gap:5px;margin-left:auto}
.nk-menu-order-actions .button{width:34px;min-width:34px;padding:0;font-weight:800}
@media(max-width:600px){
  .nk-menu-order-row{gap:6px;padding:7px 6px}
  .nk-menu-order-title{font-size:12px}
  .nk-menu-order-actions .button{width:31px;min-width:31px}
}

/* V86: Užduotys + meniu ženkliukas */
.nk-brand-screensaver{display:inline-block;line-height:0;border-radius:8px}
.nk-brand-screensaver:focus-visible{outline:2px solid var(--brand);outline-offset:4px}
.nk-menu-badge{margin-left:auto;min-width:23px;height:23px;padding:0 7px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:#e53935;color:#fff;font-size:11px;font-weight:800;line-height:1;box-shadow:0 1px 2px rgba(0,0,0,.12)}
.nk-side-menu-item.is-active .nk-menu-badge{background:#fff;color:var(--brand)}
.tasks-page{max-width:100%}
.tasks-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:14px}
.tasks-head .buttons{align-items:center}
.tasks-columns{position:relative}
.tasks-columns>summary{list-style:none;cursor:pointer}
.tasks-columns>summary::-webkit-details-marker{display:none}
.tasks-columns-panel{position:absolute;right:0;top:42px;width:260px;z-index:30;padding:13px!important;box-shadow:0 10px 28px rgba(15,23,42,.16)}
.tasks-col-check{display:block;padding:4px 0;font-size:13px}
.tasks-create-box .label{font-size:12px}
.tasks-journal-box{padding:12px!important}
.tasks-table th,.tasks-table td{vertical-align:middle;font-size:12px}
.tasks-table .task-col-task{min-width:280px;white-space:normal;line-height:1.35}
.tasks-table .task-col-comment{min-width:190px;white-space:normal}
.tasks-table .task-col-actions{width:82px;white-space:nowrap}
.tasks-table .task-col-status{width:88px;white-space:nowrap}
.tasks-table .task-col-due,.tasks-table .task-col-created_at,.tasks-table .task-col-status_changed,.tasks-table .task-col-completed_at{white-space:nowrap}
.tasks-table tr.task-overdue>td{background:#fff3f3!important}
.tasks-table tr.task-done>td{opacity:.72}
.task-status-row>td{background:#f8fafc!important;padding:10px 12px!important}
.task-status-form{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap}
.task-status-form .field.is-expanded{flex:1;min-width:260px}
@media(max-width:900px){
  .tasks-columns-panel{position:fixed;left:12px;right:12px;top:120px;width:auto;max-height:70vh;overflow:auto}
  .tasks-create-box .column{width:100%!important}
  .tasks-table{min-width:980px}
  .task-status-form{min-width:720px}
}

/* V87: kompaktiška viršutinė juosta, minimalistinis meniu ir Pagrindinis */
:root{--nk-topbar-h:70px;--nk-sidebar-v87:232px;--nk-ink:#1f2937;--nk-muted:#6b7280;--nk-line:#e6eaf0;--nk-bg:#f6f8fb}
body{background:var(--nk-bg)}
.nk-topbar-v87{position:fixed!important;top:0;left:0;right:0;height:var(--nk-topbar-h);z-index:1400;background:rgba(255,255,255,.98)!important;border-bottom:1px solid var(--nk-line);box-shadow:0 2px 14px rgba(15,23,42,.05);padding:0!important;margin:0!important}
.nk-topbar-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0 24px}
.nk-topbar-left{display:flex;align-items:center;gap:18px;min-width:0;flex:1}
.nk-topbar-v87 .nk-brand-screensaver img{width:142px!important;max-height:45px!important;object-fit:contain;display:block}
.nk-topbar-v87 .nk-menu-toggle{display:none;width:38px;height:36px;min-width:38px}
.nk-global-search{position:relative;width:min(320px,36vw);margin:0}
.nk-global-search input{width:100%;height:38px;border:1px solid #dfe4ea;border-radius:10px;background:#fff;padding:0 13px 0 39px;color:#243041;outline:none;font-size:13px;box-shadow:0 1px 2px rgba(15,23,42,.02)}
.nk-global-search input:focus{border-color:#aeb8c5;box-shadow:0 0 0 3px rgba(100,116,139,.10)}
.nk-search-icon{position:absolute;left:13px;top:50%;transform:translateY(-50%);color:#7b8794;display:flex}
.nk-topbar-user{display:flex;align-items:center;gap:10px;white-space:nowrap}
.nk-bell{position:relative;width:36px;height:36px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;color:#4b5563;text-decoration:none}
.nk-bell:hover{background:#f3f5f8;color:var(--brand)}
.nk-bell>span{position:absolute;right:1px;top:0;min-width:17px;height:17px;padding:0 4px;border-radius:999px;background:#dc2626;color:white;font-size:9px;font-weight:800;display:flex;align-items:center;justify-content:center;border:2px solid white}
.nk-avatar{width:34px;height:34px;border-radius:50%;background:#eef1f5;color:#64748b;border:1px solid #dfe4ea;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:12px}
.nk-user-meta{display:flex;flex-direction:column;line-height:1.15;min-width:95px}.nk-user-meta strong{font-size:12px;color:#111827}.nk-user-meta span{font-size:10.5px;color:#6b7280;margin-top:3px}
.nk-logout-link{width:28px;height:28px;border-radius:8px;display:flex;align-items:center;justify-content:center;color:#94a3b8;text-decoration:none;font-size:16px}.nk-logout-link:hover{background:#f3f4f6;color:#991b2d}
.page-shell{padding-top:var(--nk-topbar-h)!important;min-height:100vh}
.nk-content-section{padding:18px 20px 28px!important}

.nk-side-menu{background:#fff!important;border-right:1px solid var(--nk-line)!important;box-shadow:none!important}
.nk-side-menu-head{display:none!important}
.nk-side-menu-list{padding:14px 10px 20px!important}
.nk-side-menu-item{min-height:40px!important;padding:9px 11px!important;margin:2px 0!important;border-radius:8px!important;gap:10px!important;color:#4b5563!important;font-size:12.5px!important;font-weight:500!important;border:0!important;background:transparent!important}
.nk-side-menu-item:hover{background:#f5f6f8!important;color:#1f2937!important}
.nk-side-menu-item.is-active{background:linear-gradient(135deg,#8f1328,#ad1c34)!important;color:#fff!important;box-shadow:0 4px 10px rgba(143,19,40,.16)}
.nk-menu-icon{width:21px!important;min-width:21px!important;height:21px!important;color:currentColor;font-size:0!important}.nk-menu-icon svg{display:block;width:18px;height:18px}
.nk-menu-label{font-weight:inherit!important;letter-spacing:0!important}
.nk-side-menu-settings{margin-top:10px!important;padding-top:9px!important;border-top:1px solid #edf0f3!important;border-radius:8px!important}
.nk-menu-badge{min-width:20px!important;height:20px!important;padding:0 6px!important;font-size:10px!important}

@media(min-width:901px){
  :root{--nk-desktop-sidebar:var(--nk-sidebar-v87)}
  .page-shell{margin-left:var(--nk-sidebar-v87)!important}
  .nk-side-menu{top:var(--nk-topbar-h)!important;width:var(--nk-sidebar-v87)!important;max-width:var(--nk-sidebar-v87)!important;z-index:1200!important;transform:none!important}
}
@media(max-width:900px){
  :root{--nk-topbar-h:62px}
  .page-shell{margin-left:0!important;padding-top:var(--nk-topbar-h)!important}
  .nk-topbar-inner{padding:0 12px;gap:10px}.nk-topbar-left{gap:10px}.nk-topbar-v87 .nk-menu-toggle{display:inline-flex!important}.nk-topbar-v87 .nk-brand-screensaver img{width:118px!important;max-height:38px!important}
  .nk-global-search{display:none}.nk-user-meta{display:none}.nk-avatar{display:none}.nk-logout-link{display:none}
  .nk-side-menu{top:var(--nk-topbar-h)!important;height:calc(100vh - var(--nk-topbar-h))!important;width:min(310px,88vw)!important;transform:translateX(-105%)!important;z-index:1500!important;box-shadow:10px 0 25px rgba(15,23,42,.16)!important}.nk-side-menu.is-open{transform:translateX(0)!important}
  .nk-menu-backdrop{top:var(--nk-topbar-h)!important;z-index:1490!important}
  .nk-content-section{padding:12px 8px 22px!important}
}

/* Pagrindinis */
.nk-dashboard{max-width:1540px;margin:0 auto;color:var(--nk-ink)}
.nk-dashboard-welcome{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:2px 0 16px}.nk-dashboard-welcome h1{font-size:23px;line-height:1.2;font-weight:800;margin:0;color:#172033}.nk-dashboard-welcome p{font-size:12px;color:#7b8794;margin:5px 0 0}.nk-dashboard-date{font-size:12px;color:#64748b;background:white;border:1px solid var(--nk-line);border-radius:9px;padding:7px 11px}
.nk-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:14px}.nk-stat-card{display:flex;align-items:center;gap:14px;padding:16px 17px;background:white;border:1px solid var(--nk-line);border-radius:12px;text-decoration:none;color:inherit;box-shadow:0 2px 7px rgba(15,23,42,.035);transition:.15s}.nk-stat-card:hover{transform:translateY(-1px);border-color:#d2d8e0;box-shadow:0 6px 18px rgba(15,23,42,.07)}.nk-stat-icon{width:42px;height:42px;border-radius:10px;background:#f1f3f6;color:#475569;display:flex;align-items:center;justify-content:center}.nk-stat-icon svg{width:20px;height:20px}.nk-stat-card b{display:block;font-size:25px;line-height:1;color:#111827}.nk-stat-card div>span{display:block;font-size:11.5px;color:#7a8492;margin-top:6px}
.nk-dash-grid{display:grid;gap:14px;margin-bottom:14px}.nk-dash-grid-two{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.nk-dash-panel{background:white;border:1px solid var(--nk-line);border-radius:12px;padding:15px 16px;min-width:0;box-shadow:0 2px 7px rgba(15,23,42,.03)}.nk-dash-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:11px}.nk-dash-panel-head h2{font-size:14px;font-weight:800;color:#1f2937;margin:0}.nk-dash-panel-head span{display:block;font-size:10.5px;color:#94a3b8;margin-top:3px}.nk-dash-panel-head a{font-size:11px;color:#8f1328;text-decoration:none;font-weight:700;white-space:nowrap}
.nk-task-list-mini{display:flex;flex-direction:column}.nk-task-mini{display:flex;align-items:center;gap:10px;min-height:48px;padding:8px 2px;border-top:1px solid #f0f2f5;text-decoration:none;color:#263244}.nk-task-mini:first-child{border-top:0}.nk-task-mini:hover{background:#fafbfc}.nk-task-mini>div{min-width:0;flex:1}.nk-task-mini b{display:block;font-size:11.5px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nk-task-mini small{display:block;font-size:10px;color:#8994a3;margin-top:3px}.nk-task-dot{width:8px;height:8px;border-radius:50%;background:#3b82f6;min-width:8px}.nk-task-dot.vykdoma{background:#f59e0b}.nk-task-dot.atlikta{background:#22c55e}.nk-overdue{font-size:9.5px!important;margin:0!important;color:#b91c1c!important;background:#fee2e2;padding:3px 6px;border-radius:999px;white-space:nowrap}
.nk-empty-state{padding:22px 8px;text-align:center;color:#9aa4b2;font-size:11px;border:1px dashed #e1e6ec;border-radius:9px;background:#fbfcfd}
.nk-pdf-list{display:flex;flex-direction:column}.nk-pdf-list>a{display:flex;align-items:center;gap:10px;min-height:49px;padding:7px 2px;border-top:1px solid #f0f2f5;text-decoration:none;color:#263244}.nk-pdf-list>a:first-child{border-top:0}.nk-pdf-list>a:hover{background:#fafbfc}.nk-pdf-ico{width:34px;height:34px;border-radius:8px;background:#fff0f2;color:#9b1730;display:flex;align-items:center;justify-content:center;font-size:9px;font-weight:900;border:1px solid #f2d7dc;min-width:34px}.nk-pdf-list a>div{min-width:0;flex:1}.nk-pdf-list b{font-size:11px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nk-pdf-list small{font-size:9.5px;color:#98a2b0;display:block;margin-top:2px}.nk-open-arrow{color:#a6afbb;font-size:13px}
.nk-photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.nk-photo-card{position:relative;display:block;aspect-ratio:1.25/1;border-radius:9px;overflow:hidden;background:#eef1f4;text-decoration:none}.nk-photo-card img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .18s}.nk-photo-card:hover img{transform:scale(1.025)}.nk-photo-card>span{position:absolute;left:0;right:0;bottom:0;padding:18px 7px 6px;background:linear-gradient(transparent,rgba(15,23,42,.74));color:white}.nk-photo-card b{font-size:9.5px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nk-photo-card small{font-size:8.5px;opacity:.82;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nk-photo-empty{grid-column:1/-1}
@media(max-width:1100px){.nk-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.nk-stat-grid{grid-template-columns:1fr}.nk-dash-grid-two{grid-template-columns:1fr}.nk-dashboard-welcome h1{font-size:19px}.nk-dashboard-date{display:none}.nk-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* V116: keli failai viename kompaktiškame DOK meniu */
.dok-compact{display:inline-block;position:relative;overflow:visible!important}
.dok-compact>summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;padding:2px 7px;border-radius:999px;background:#eef2ff;color:#1d4ed8;border:1px solid #bfdbfe;font-weight:700;font-size:12px;line-height:1.35}
.dok-compact>summary::-webkit-details-marker{display:none}
.dok-compact-menu{position:absolute;z-index:50;left:0;top:calc(100% + 4px);min-width:92px;max-height:220px;overflow:auto;padding:5px;background:#fff;border:1px solid #dbe3ee;border-radius:9px;box-shadow:0 8px 24px rgba(15,23,42,.16)}
.dok-compact-menu .file-link{display:block!important;margin:2px 0!important;text-align:center}
td:has(.dok-compact){overflow:visible!important}
@media(max-width:768px){.dok-compact-menu{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);min-width:150px;max-height:60vh}.dok-compact-menu .file-link{padding:7px 10px!important}}


/* V237 – bendras telefono išdėstymas WEB naršyklėje ir PWA */
@media(max-width:900px){
  html,body,.page-shell{width:100%!important;max-width:none!important;margin:0!important;overflow-x:hidden!important}
  .nk-content-section,.section.nk-content-section{padding:8px 6px 22px!important}
  .nk-content-section>.container,
  .nk-content-section>.container.is-fluid,
  .container.is-fluid{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important}
  .nk-dashboard,.form-card,.veikla-bulk-card,.grafikas-page,
  .nk-content-section main,.nk-content-section .main-content{
    width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important
  }
  .nk-content-section .box,.nk-content-section .card{
    max-width:none!important;margin-left:0!important;margin-right:0!important
  }
  .nk-content-section .columns{margin-left:-4px!important;margin-right:-4px!important}
  .nk-content-section .column{padding-left:4px!important;padding-right:4px!important}
}
