*{box-sizing:border-box}body{margin:0;background:#f1f5f9;color:#172033;font:15px Inter,system-ui,sans-serif}header{background:linear-gradient(105deg,#102a43,#164e63);color:#fff;padding:17px max(24px,calc((100% - 1240px)/2));display:flex;justify-content:space-between;gap:18px;align-items:center;box-shadow:0 2px 10px #0f172a33}header a{color:#fff;text-decoration:none}header a:hover{text-decoration:underline}main{max-width:1240px;margin:auto;padding:32px}.heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.heading h1{margin:0;font-size:32px}.heading p,small,.sub{color:#64748b}button{background:#0f766e;border:0;border-radius:8px;color:#fff;padding:10px 14px;font-weight:750;cursor:pointer}.secondary{background:#e2e8f0;color:#172033}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:24px 0}.stats div,table,.card,.modal,.work-form{background:#fff;border:1px solid #d8e1ea;border-radius:12px;box-shadow:0 2px 7px #0f172a0a}.stats div{padding:20px}.stats b{display:block;font-size:30px;margin-top:6px}table{width:100%;border-collapse:separate;border-spacing:0;overflow:hidden}th,td{text-align:left;padding:13px;border-bottom:1px solid #e6edf3}th{font-size:12px;color:#64748b;background:#f8fafc}tr:last-child td{border:0}select,input{padding:10px;border:1px solid #cbd5e1;border-radius:7px;background:#fff}form{display:inline}.badge{background:#dbeafe;color:#075985;padding:5px 8px;border-radius:20px;font-size:12px}.login{min-height:100vh;display:grid;place-items:center}.card{padding:27px;width:min(500px,94vw)}.card input{width:100%;margin:7px 0 14px}.card button{width:100%}.error{color:#b42318}.success{color:#15803d}dialog{border:0;padding:0;background:transparent;width:min(700px,96vw);max-width:96vw;max-height:calc(100vh - 84px);margin:70px auto 14px;overflow:auto}dialog::backdrop{background:#0f172a88}.modal{display:block;padding:27px;width:100%;margin:0;min-height:calc(100vh - 105px)}.modal h2{margin:0 0 18px}.modal h3{margin:22px 0 8px}.modal label{display:block;font-weight:700;margin:13px 0 0}.modal input,.modal select{display:block;width:100%;margin:7px 0 0}.modal>p:last-child,.work-form>p:last-of-type{position:sticky;bottom:-27px;background:#fff;padding:12px 0;margin:18px 0 0;border-top:1px solid #dce3eb}.modal>p:last-child button{margin-right:8px}.job-filters{display:flex;gap:10px;align-items:center;margin:18px 0}.job-filters input,.job-filters select{min-width:220px}.work-form{display:block!important;width:min(760px,100%)!important;padding:27px}.work-form button{width:auto!important}@media(max-width:650px){header{padding:14px;align-items:flex-start;flex-direction:column}main{padding:18px}.heading{align-items:flex-start;flex-direction:column}.stats{grid-template-columns:1fr 1fr}table{font-size:13px;display:block;overflow:auto}.heading h1{font-size:25px}.job-filters{align-items:stretch;flex-direction:column}.job-filters input,.job-filters select{min-width:0;width:100%}.modal{padding:20px}}
.part-row{grid-template-columns:2fr 1fr auto!important}.part-row button,.line-row button{width:auto!important;padding:7px 10px!important;align-self:center}
.job-filters+table td:last-child small{display:inline-block!important;margin:0 0 0 12px!important;vertical-align:middle}
table th:last-child,table td:last-child{min-width:330px;white-space:nowrap}table td:last-child small{display:inline-block!important;margin:0 0 0 12px!important;vertical-align:middle}
/* Darbų lentelės veiksmai: kiekvienas elementas visada turi atskirą tarpą.
   Formos ir nuorodos yra tiesioginiai flex elementai, todėl tarpai neišnyksta
   net kai naršyklė perskaičiuoja lentelės plotį. */
body main>table tbody td:last-child{display:flex!important;align-items:center!important;column-gap:14px!important;row-gap:8px!important;white-space:nowrap!important;min-width:440px!important}
body main>table tbody td:last-child>form,body main>table tbody td:last-child>a,body main>table tbody td:last-child>small{display:inline-flex!important;align-items:center!important;flex:0 0 auto!important;margin:0!important}
body main>table tbody td:last-child>form{gap:8px!important}
body main>table tbody td:last-child>small{line-height:1.45!important;color:#64748b!important}
