:root{
  --epm-bg:#f6f7f4;
  --epm-card:#ffffff;
  --epm-text:#1d2420;
  --epm-muted:#66706a;
  --epm-border:#e3e7df;
  --epm-lime:#b8ff3d;
  --epm-green:#31b66b;
  --epm-yellow:#f5b942;
  --epm-red:#e5484d;
  --epm-graphite:#202823;
}
.epm-wrap{background:var(--epm-bg);padding:28px;border-radius:24px;margin-top:18px;color:var(--epm-text);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;}
.epm-front{margin:20px 0;}
.epm-hero{background:linear-gradient(135deg,#ffffff 0%,#f2f6ea 55%,#eaffc5 100%);border:1px solid var(--epm-border);border-radius:28px;padding:30px;display:flex;align-items:center;justify-content:flex-start;gap:20px;box-shadow:0 18px 50px rgba(32,40,35,.07);}
.epm-kicker{text-transform:none;font-size:12px;font-weight:800;letter-spacing:.12em;color:var(--epm-green);}
.epm-hero h1{font-size:38px;line-height:1.1;margin:8px 0 8px;color:var(--epm-graphite);font-weight:850;}
.epm-hero p{font-size:16px;color:var(--epm-muted);max-width:760px;margin:0;}
.epm-badge{background:var(--epm-graphite);color:var(--epm-lime);border-radius:999px;padding:12px 18px;font-weight:800;white-space:nowrap;box-shadow:0 10px 30px rgba(32,40,35,.18);}
.epm-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:22px 0;}
.epm-card{background:var(--epm-card);border:1px solid var(--epm-border);border-radius:24px;padding:22px;box-shadow:0 14px 38px rgba(32,40,35,.05);position:relative;overflow:hidden;}
.epm-card:before{content:"";position:absolute;right:-34px;top:-34px;width:88px;height:88px;border-radius:50%;background:var(--epm-lime);opacity:.55;}
.epm-card-title{font-size:13px;text-transform:none;letter-spacing:.08em;color:var(--epm-muted);font-weight:800;}
.epm-card-number{font-size:42px;font-weight:900;line-height:1;margin:16px 0 8px;color:var(--epm-graphite);}
.epm-card-sub{font-size:14px;color:var(--epm-muted);}
.epm-panel{background:var(--epm-card);border:1px solid var(--epm-border);border-radius:24px;padding:24px;margin-top:18px;box-shadow:0 14px 38px rgba(32,40,35,.05);}
.epm-panel h1,.epm-panel h2{margin-top:0;color:var(--epm-graphite);font-weight:850;}
.epm-checks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
.epm-checks span{display:block;background:#f8faf5;border:1px solid var(--epm-border);border-radius:14px;padding:13px 14px;font-weight:700;color:var(--epm-graphite);}
.epm-checks span:before{content:"✓";display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;margin-right:8px;border-radius:50%;background:var(--epm-lime);color:#1b231e;font-weight:900;}
.epm-next{border-left:6px solid var(--epm-lime);}
.epm-denied,.epm-public-box{background:#fff;border:1px solid var(--epm-border);border-radius:22px;padding:24px;color:var(--epm-text);}
@media(max-width:1100px){.epm-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.epm-checks{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:700px){.epm-wrap{padding:16px;border-radius:18px}.epm-hero{display:block;padding:22px;border-radius:20px}.epm-hero h1{font-size:30px}.epm-badge{display:inline-block;margin-top:16px}.epm-grid,.epm-checks{grid-template-columns:1fr}.epm-card-number{font-size:36px}}
.epm-hero-small h1{font-size:32px}.epm-notice{margin-top:18px;border-radius:16px;padding:14px 18px;font-weight:800}.epm-success{background:#ecfff4;border:1px solid #b6efcd;color:#116b3c}.epm-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.epm-form label{display:flex;flex-direction:column;gap:7px}.epm-form label span{font-weight:850;color:var(--epm-graphite)}.epm-form input,.epm-form select,.epm-form textarea{width:100%;max-width:100%;border:1px solid var(--epm-border);border-radius:14px;padding:12px 13px;background:#fbfcf8;color:var(--epm-text);box-shadow:none}.epm-form input:focus,.epm-form select:focus,.epm-form textarea:focus{outline:2px solid rgba(184,255,61,.7);border-color:#91d62f}.epm-full{margin-top:16px}.epm-actions{display:flex;gap:12px;align-items:center;margin-top:18px}.epm-btn{display:inline-flex;align-items:center;justify-content:center;background:var(--epm-graphite);color:var(--epm-lime)!important;border:0;border-radius:999px;padding:12px 18px;font-weight:900;text-decoration:none;cursor:pointer;box-shadow:0 10px 24px rgba(32,40,35,.16)}.epm-btn:hover{color:#fff!important}.epm-btn-light{background:#f3f6ee;color:var(--epm-graphite)!important;border:1px solid var(--epm-border);box-shadow:none}.epm-table-wrap{overflow:auto}.epm-table{width:100%;border-collapse:separate;border-spacing:0 10px}.epm-table th{text-align:left;font-size:12px;text-transform:none;letter-spacing:.08em;color:var(--epm-muted);padding:8px 12px}.epm-table td{background:#fbfcf8;border-top:1px solid var(--epm-border);border-bottom:1px solid var(--epm-border);padding:13px 12px;vertical-align:middle}.epm-table td:first-child{border-left:1px solid var(--epm-border);border-radius:14px 0 0 14px}.epm-table td:last-child{border-right:1px solid var(--epm-border);border-radius:0 14px 14px 0}.epm-table small{color:var(--epm-muted)}.epm-progress{height:10px;background:#e8ecdf;border-radius:999px;overflow:hidden;min-width:120px}.epm-progress span{display:block;height:100%;background:linear-gradient(90deg,var(--epm-green),var(--epm-lime));border-radius:999px}.epm-status{display:inline-flex;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:900;background:#eef2e8;color:var(--epm-graphite)}.epm-status-active{background:#e9fff2;color:#137843}.epm-status-paused{background:#fff7df;color:#91620f}.epm-status-completed{background:#effee2;color:#4c7f00}.epm-status-cancelled{background:#ffecec;color:#a5282d}.epm-link{font-weight:900;color:#1f7a45;text-decoration:none}.epm-link:hover{text-decoration:underline}
@media(max-width:1100px){.epm-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:700px){.epm-form-grid{grid-template-columns:1fr}.epm-actions{display:block}.epm-actions .epm-btn{margin:0 8px 8px 0}.epm-table{min-width:820px}}

.epm-subpanel{margin-top:18px;background:#f9fbf3;border:1px solid var(--epm-border);border-radius:20px;padding:18px}.epm-subpanel h3{margin:0 0 6px;font-size:18px}.epm-subpanel p{margin:0 0 14px;color:var(--epm-muted)}.epm-worker-lines{display:flex;flex-direction:column;gap:10px}.epm-worker-line{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:12px;background:#fff;border:1px solid var(--epm-border);border-radius:16px;padding:12px}.epm-status-partial{background:#fff7df;color:#91620f}.epm-status-not_completed{background:#ffecec;color:#a5282d}.epm-status-completed{background:#effee2;color:#4c7f00}@media(max-width:900px){.epm-worker-line{grid-template-columns:1fr 1fr}}@media(max-width:600px){.epm-worker-line{grid-template-columns:1fr}}

.epm-grid-five{grid-template-columns:repeat(5,minmax(0,1fr));}
.epm-status-ok{background:#e9fff2;color:#137843}.epm-status-warning{background:#fff7df;color:#91620f}.epm-status-danger{background:#ffecec;color:#a5282d}.epm-danger-text{color:#a5282d;font-weight:900}.epm-ok-text{color:#137843;font-weight:900}.epm-forecast-table small{color:var(--epm-muted)}
@media(max-width:1300px){.epm-grid-five{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:800px){.epm-grid-five{grid-template-columns:1fr;}}

.epm-status-pending{background:#f3f4f6;color:#374151;}


.epm-grid-three{grid-template-columns:repeat(3,minmax(0,1fr));}
.epm-inline-form{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.epm-inline-form select{min-width:320px;border:1px solid var(--epm-border);border-radius:14px;padding:12px 13px;background:#fbfcf8;color:var(--epm-text)}
.epm-check{justify-content:center;background:#fbfcf8;border:1px solid var(--epm-border);border-radius:14px;padding:13px}.epm-check input{width:auto!important}.epm-error{background:#ffecec;border:1px solid #ffc7c7;color:#a5282d}
.epm-file-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.epm-file-card{background:#fbfcf8;border:1px solid var(--epm-border);border-radius:18px;overflow:hidden;box-shadow:0 10px 25px rgba(32,40,35,.04)}.epm-file-card.epm-critical{border-color:#c3f45d;box-shadow:0 12px 30px rgba(184,255,61,.18)}.epm-file-thumb{width:100%;height:170px;object-fit:cover;display:block}.epm-file-meta{padding:15px}.epm-file-cat{font-size:12px;text-transform:none;letter-spacing:.08em;color:var(--epm-green);font-weight:900}.epm-file-meta h3{margin:6px 0 8px;font-size:17px}.epm-file-meta p{color:var(--epm-muted);margin:0 0 10px}.epm-file-actions{display:flex;gap:14px;margin-top:12px}.epm-danger-link{color:#a5282d!important}.epm-empty{background:#fbfcf8;border:1px dashed var(--epm-border);border-radius:16px;padding:18px;color:var(--epm-muted);font-weight:700}
.epm-timeline{display:flex;flex-direction:column;gap:14px}.epm-timeline-day{background:#fbfcf8;border:1px solid var(--epm-border);border-radius:18px;padding:16px}.epm-timeline-date{font-weight:900;color:var(--epm-graphite);margin-bottom:10px}.epm-timeline-photos{display:flex;gap:10px;flex-wrap:wrap}.epm-timeline-thumb{width:84px;height:84px;object-fit:cover;border-radius:14px;border:1px solid var(--epm-border)}.epm-timeline-count{margin-top:10px;color:var(--epm-muted);font-weight:800}
@media(max-width:1100px){.epm-file-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:700px){.epm-grid-three,.epm-file-grid{grid-template-columns:1fr}.epm-inline-form select{min-width:100%;}.epm-file-thumb{height:210px}}

/* Executive Dashboard v1.9 */
.epm-executive .epm-quick-actions{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0 4px}.epm-grid-six{grid-template-columns:repeat(6,minmax(0,1fr));}.epm-panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.epm-panel-head h2{margin:0}.epm-dashboard-split{display:grid;grid-template-columns:1.2fr 1fr;gap:18px;margin-top:18px}.epm-recent-files{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.epm-recent-file{display:grid;grid-template-columns:64px 1fr;gap:12px;align-items:center;background:#fbfcf8;border:1px solid var(--epm-border);border-radius:16px;padding:10px}.epm-recent-thumb{width:64px;height:64px;border-radius:14px;background:#f0f4e9;border:1px solid var(--epm-border);display:flex;align-items:center;justify-content:center;text-decoration:none;overflow:hidden}.epm-recent-thumb img{width:100%;height:100%;object-fit:cover;display:block}.epm-recent-thumb span{font-size:26px}.epm-recent-file strong{display:block;color:var(--epm-graphite);line-height:1.2}.epm-recent-file small{display:block;color:var(--epm-muted);margin-top:5px}.epm-feed{display:flex;flex-direction:column;gap:10px}.epm-feed-item{background:#fbfcf8;border:1px solid var(--epm-border);border-radius:16px;padding:13px}.epm-feed-item strong{display:block;color:var(--epm-graphite)}.epm-feed-item span{display:block;color:var(--epm-muted);margin-top:4px}.epm-dashboard-projects td{white-space:nowrap}.epm-dashboard-projects td:first-child,.epm-dashboard-projects td:nth-child(7){white-space:normal}
@media(max-width:1500px){.epm-grid-six{grid-template-columns:repeat(3,minmax(0,1fr));}.epm-dashboard-split{grid-template-columns:1fr}.epm-recent-files{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:800px){.epm-grid-six,.epm-recent-files{grid-template-columns:1fr}.epm-panel-head{display:block}.epm-panel-head .epm-link{display:inline-block;margin-top:8px}.epm-executive .epm-quick-actions .epm-btn{width:100%}}

/* Project Workspace v2.0 */
.epm-project-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0;flex-wrap:wrap}.epm-arrow{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--epm-border);background:#fbfcf8;color:var(--epm-graphite);border-radius:999px;padding:11px 16px;font-weight:900;text-decoration:none}.epm-arrow:hover{background:#efffd1;color:#111}.epm-disabled{opacity:.45;pointer-events:none}.epm-dashboard-nav{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.epm-dashboard-nav select{border:1px solid var(--epm-border);border-radius:999px;padding:9px 12px;background:#fbfcf8;font-weight:800;color:var(--epm-graphite)}.epm-workspace-side{display:flex;align-items:center;gap:12px}.epm-health{border-radius:22px;padding:14px 18px;min-width:110px;text-align:center;box-shadow:0 10px 25px rgba(32,40,35,.08)}.epm-health strong{display:block;font-size:28px;line-height:1;color:var(--epm-graphite);font-weight:950}.epm-health span{display:block;margin-top:5px;font-size:12px;font-weight:900;text-transform:none;letter-spacing:.06em}.epm-health-ok{background:#e9fff2;border:1px solid #b9edcf;color:#137843}.epm-health-warning{background:#fff7df;border:1px solid #f4d88d;color:#91620f}.epm-health-danger{background:#ffecec;border:1px solid #ffc7c7;color:#a5282d}.epm-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.epm-tabs a{background:#fbfcf8;border:1px solid var(--epm-border);border-radius:999px;padding:11px 15px;font-weight:900;color:var(--epm-graphite);text-decoration:none}.epm-tabs a.active{background:var(--epm-graphite);color:var(--epm-lime)}.epm-workspace-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px}.epm-workspace-overview>div{background:#fbfcf8;border:1px solid var(--epm-border);border-radius:16px;padding:14px;color:var(--epm-muted)}.epm-workspace-overview strong{color:var(--epm-graphite)}.epm-workspace-progress{height:16px;margin:12px 0}.epm-muted-note{color:var(--epm-muted);font-weight:700}.epm-doc-thumb{height:170px;display:flex;align-items:center;justify-content:center;background:#f0f4e9;font-size:44px;color:var(--epm-graphite)}
@media(max-width:1000px){.epm-workspace-overview{grid-template-columns:1fr}.epm-workspace-side{align-items:flex-start;flex-direction:column}.epm-project-nav{align-items:stretch}.epm-project-nav a{width:100%}.epm-dashboard-nav{margin-top:10px}}

/* v2.1 Smart Dashboard */
.epm-action-panel{border-left:4px solid #c9ff59;}
.epm-action-list{display:grid;gap:12px;}
.epm-action-item{display:flex;align-items:center;justify-content:space-between;text-decoration:none;color:#17211c;border:1px solid #e4eadf;border-radius:18px;padding:14px 16px;background:#fbfdf8;transition:.18s ease;}
.epm-action-item:hover{transform:translateY(-1px);box-shadow:0 12px 25px rgba(0,0,0,.07);}
.epm-action-item strong{display:block;font-weight:900;}
.epm-action-item small{display:block;margin-top:4px;color:#66736c;}
.epm-action-item span{font-weight:900;border-radius:999px;padding:8px 12px;background:#eef8df;}
.epm-action-danger{border-color:#ffd2d2;background:#fffafa;}
.epm-action-warning{border-color:#ffe8a6;background:#fffdf5;}
.epm-row-danger td:first-child{border-left:4px solid #e74c3c;}
.epm-row-warning td:first-child{border-left:4px solid #f0b429;}
.epm-row-pending td:first-child{border-left:4px solid #b8a7e6;}
.epm-row-ok td:first-child{border-left:4px solid #46c782;}
.epm-project-title-link{text-decoration:none;color:#17211c;}
.epm-project-title-link:hover{color:#098b3e;}
.epm-breadcrumbs{display:flex;align-items:center;gap:10px;margin:16px 0 18px;color:#66736c;font-size:13px;}
.epm-breadcrumbs a{color:#087b38;text-decoration:none;font-weight:800;}
.epm-breadcrumbs strong{color:#17211c;}
.epm-breadcrumbs em{font-style:normal;color:#52605a;}
/* v2.2 Project Materials */
.epm-grid-two{grid-template-columns:repeat(2,minmax(0,1fr));}
@media(max-width:900px){.epm-grid-two{grid-template-columns:1fr;}}

/* Euroreline PM v2.3 Mobile Daily Report */
.epm-mobile-wrap { max-width: 980px; }
.epm-mobile-hero { align-items: center; }
.epm-mobile-project-picker select { max-width: 100%; }
.epm-mobile-project-card { margin-top: 14px; padding: 14px; border: 1px solid #e5e7eb; border-radius: 16px; background: #fbfbfb; }
.epm-mobile-project-card strong { display:block; font-size: 18px; color:#111827; }
.epm-mobile-project-card span { display:block; color:#6b7280; margin: 4px 0 10px; }
.epm-mobile-section h2 { margin-top: 0; }
.epm-mobile-form .epm-panel { margin-bottom: 16px; }
.epm-mobile-list { display: grid; gap: 12px; }
.epm-mobile-row { display: grid; grid-template-columns: minmax(180px, 1.5fr) repeat(3, minmax(90px, .7fr)); gap: 10px; align-items: center; padding: 12px; border: 1px solid #e5e7eb; border-radius: 16px; background: #fff; }
.epm-mobile-row input, .epm-mobile-row select { width: 100%; min-height: 42px; }
.epm-material-row { grid-template-columns: minmax(220px, 2fr) minmax(120px, .8fr); }
.epm-check { display:flex; align-items:center; gap:8px; font-weight:600; }
.epm-check input[type="checkbox"] { width:20px; height:20px; }
.epm-mobile-expense-grid { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:14px; }
.epm-mobile-submit-bar { position: sticky; bottom: 0; z-index: 20; padding: 12px; background: rgba(250,250,250,.92); backdrop-filter: blur(10px); border-top: 1px solid #e5e7eb; margin: 20px -20px -20px; }
.epm-btn-wide { width: 100%; justify-content: center; text-align:center; font-size: 16px; padding: 14px 18px; }
@media (max-width: 760px) {
  .epm-mobile-wrap { margin: 0; padding: 10px; }
  .epm-mobile-hero { padding: 18px; border-radius: 18px; }
  .epm-mobile-hero h1 { font-size: 24px; }
  .epm-mobile-form .epm-form-grid, .epm-mobile-expense-grid { grid-template-columns: 1fr; }
  .epm-mobile-row, .epm-material-row { grid-template-columns: 1fr; gap: 8px; }
  .epm-mobile-row { padding: 14px; }
  .epm-mobile-submit-bar { margin-left: -10px; margin-right: -10px; }
}

/* Euroreline PM Frontend Login / Shell v2.5 */
.epm-login-screen{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:40px 18px;background:radial-gradient(circle at top right,#ddff8a 0,#f6f8f4 38%,#eef1ed 100%);font-family:Inter,Arial,sans-serif;color:#13201c}
.epm-login-card{width:min(980px,100%);display:grid;grid-template-columns:1.1fr .9fr;gap:28px;background:rgba(255,255,255,.82);border:1px solid rgba(19,32,28,.08);border-radius:34px;box-shadow:0 30px 90px rgba(0,0,0,.12);padding:34px;backdrop-filter:blur(10px)}
.epm-login-brand{border-radius:28px;padding:42px;background:linear-gradient(135deg,#fff 0%,#efffd2 100%);display:flex;flex-direction:column;justify-content:center}
.epm-login-brand h1{font-size:46px;line-height:1;margin:14px 0 12px;font-weight:900;letter-spacing:-1.5px;color:#14231f}.epm-login-brand p{font-size:18px;line-height:1.55;color:#5c6965;max-width:520px}.epm-login-form{border-radius:28px;background:#fff;padding:32px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.05);display:flex;flex-direction:column;gap:16px}.epm-login-form label{font-weight:800;font-size:13px;letter-spacing:.02em;color:#16231f}.epm-login-form input[type=text],.epm-login-form input[type=password]{width:100%;margin-top:8px;border:1px solid #dfe8dc;border-radius:16px;padding:15px 16px;font-size:16px;background:#fbfcfa}.epm-login-form input:focus{outline:none;border-color:#b5ff3d;box-shadow:0 0 0 4px rgba(181,255,61,.23)}.epm-login-remember{display:flex!important;align-items:center;gap:10px;font-weight:700!important}.epm-login-remember input{margin:0}.epm-login-form button{border:0;border-radius:18px;background:#14231f;color:#c9ff4b;padding:16px 20px;font-size:16px;font-weight:900;cursor:pointer;box-shadow:0 14px 35px rgba(20,35,31,.22)}.epm-login-form button:hover{transform:translateY(-1px)}.epm-login-lost{font-weight:800;color:#087a31;text-decoration:none;text-align:center}.epm-frontend-shell{min-height:100vh;background:#f5f7f3;padding:18px}.epm-front-topbar{max-width:1500px;margin:0 auto 16px;display:flex;justify-content:space-between;align-items:center;background:#14231f;color:#fff;border-radius:20px;padding:14px 18px;box-shadow:0 16px 40px rgba(0,0,0,.12)}.epm-front-topbar strong{color:#c9ff4b}.epm-front-topbar span{opacity:.75;margin-left:8px}.epm-front-user{display:flex;gap:14px;align-items:center}.epm-front-user a{color:#c9ff4b;font-weight:900;text-decoration:none}.epm-frontend-shell .wrap.epm-wrap{margin:0 auto;max-width:1500px}.epm-frontend-shell #wpbody-content{padding:0}@media(max-width:760px){.epm-login-card{grid-template-columns:1fr;padding:18px;border-radius:24px}.epm-login-brand{padding:26px}.epm-login-brand h1{font-size:34px}.epm-login-form{padding:22px}.epm-front-topbar{align-items:flex-start;gap:10px;flex-direction:column}}

/* Euroreline PM v2.6 - Frontend SaaS Application Shell */
body:has(.epm-saas-app), body:has(.epm-login-screen){ background:#f4f6f2 !important; }
body:has(.epm-saas-app) #wpadminbar{ display:none !important; }
body:has(.epm-saas-app){ margin-top:0 !important; }
body:has(.epm-saas-app) header,
body:has(.epm-saas-app) footer,
body:has(.epm-saas-app) .site-header,
body:has(.epm-saas-app) .site-footer,
body:has(.epm-saas-app) .entry-title{ display:none !important; }
body:has(.epm-saas-app) .site,
body:has(.epm-saas-app) .site-main,
body:has(.epm-saas-app) .content-area,
body:has(.epm-saas-app) article,
body:has(.epm-saas-app) .entry-content{ margin:0 !important; padding:0 !important; max-width:none !important; width:100% !important; }
.epm-saas-app{ min-height:100vh; display:flex; background:#f4f6f2; color:#17231d; font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.epm-saas-sidebar{ width:280px; min-height:100vh; background:#101915; color:#eaf6ec; display:flex; flex-direction:column; position:sticky; top:0; align-self:flex-start; box-shadow:18px 0 45px rgba(10,20,15,.15); z-index:20; }
.epm-saas-brand{ display:flex; align-items:center; gap:14px; padding:26px 22px 22px; border-bottom:1px solid rgba(255,255,255,.08); }
.epm-saas-logo{ width:48px; height:48px; border-radius:16px; display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg,#d8ff74,#8ef060); color:#101915; font-weight:1000; box-shadow:0 14px 35px rgba(172,255,93,.25); }
.epm-saas-brand strong{ display:block; font-size:18px; letter-spacing:-.02em; }
.epm-saas-brand span{ display:block; font-size:12px; color:#b6c7bd; margin-top:3px; }
.epm-saas-nav{ padding:14px; display:flex; flex-direction:column; gap:6px; flex:1; overflow:auto; }
.epm-saas-nav a{ color:#dce9df; text-decoration:none; padding:12px 14px; border-radius:16px; display:flex; align-items:center; gap:10px; font-weight:500; font-size:14px; transition:.15s ease; }
.epm-saas-nav a:hover{ background:rgba(255,255,255,.08); color:#fff; transform:translateX(2px); }
.epm-saas-nav a.active{ background:#d7ff72; color:#101915; font-weight:700; box-shadow:0 12px 30px rgba(160,255,80,.25); }
.epm-saas-nav a span{ width:22px; text-align:center; }
.epm-saas-footer{ padding:18px 20px 24px; color:#aebeb4; font-size:12px; line-height:1.45; border-top:1px solid rgba(255,255,255,.08); }
.epm-saas-footer strong{ color:#d7ff72; }
.epm-saas-main{ flex:1; min-width:0; padding:24px; }
.epm-saas-topbar{ display:flex; justify-content:space-between; align-items:center; gap:18px; margin-bottom:20px; padding:24px 28px; border-radius:28px; background:linear-gradient(135deg,#ffffff 0%,#f7fff0 55%,#dfff95 100%); border:1px solid rgba(115,160,50,.18); box-shadow:0 18px 55px rgba(30,45,30,.08); }
.epm-saas-topbar h1{ margin:4px 0 0; font-size:34px; line-height:1; letter-spacing:-.04em; color:#14211b; }
.epm-saas-user{ display:flex; align-items:center; gap:12px; background:rgba(255,255,255,.58); border:1px solid rgba(0,0,0,.06); border-radius:999px; padding:8px 10px 8px 16px; font-weight:800; }
.epm-saas-user a{ background:#101915; color:#d7ff72; padding:9px 14px; border-radius:999px; text-decoration:none; }
.epm-saas-content .epm-wrap{ margin:0 !important; max-width:none !important; }
.epm-saas-content .epm-hero{ margin-top:0 !important; }
.epm-saas-content{ padding-bottom:28px; }
.epm-saas-content .notice,
.epm-saas-content .update-nag{ display:none !important; }

@media (max-width: 900px){
  .epm-saas-app{ flex-direction:column; }
  .epm-saas-sidebar{ width:100%; min-height:auto; position:relative; }
  .epm-saas-brand{ padding:16px; }
  .epm-saas-nav{ flex-direction:row; overflow:auto; padding:10px; }
  .epm-saas-nav a{ white-space:nowrap; }
  .epm-saas-footer{ display:none; }
  .epm-saas-main{ padding:14px; }
  .epm-saas-topbar{ flex-direction:column; align-items:flex-start; border-radius:22px; padding:20px; }
  .epm-saas-topbar h1{ font-size:28px; }
}


/* Euroreline PM Settings v2.8 */
.epm-settings-form .epm-panel h2{margin-top:0;margin-bottom:18px;font-size:22px;letter-spacing:-.03em;color:#16231f}
.epm-grid.epm-grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:18px}
.epm-settings-form .epm-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.epm-settings-form .epm-full{grid-column:1/-1}
.epm-settings-form label span{display:block;margin-bottom:7px;font-size:13px;font-weight:700;color:#35443d}
.epm-settings-form input[type="text"],.epm-settings-form input[type="email"],.epm-settings-form input[type="url"],.epm-settings-form input[type="number"]{width:100%;min-height:46px;border:1px solid #dfe8dc;border-radius:14px;background:#fbfcfa;padding:11px 13px;font-size:15px;color:#16231f}
.epm-settings-form input:focus{outline:none;border-color:#b8ff3e;box-shadow:0 0 0 4px rgba(184,255,62,.18)}
.epm-settings-form .epm-check{display:flex;align-items:center;gap:10px;padding:12px 13px;border:1px solid #e4eadf;border-radius:14px;background:#fbfcfa;font-weight:500}
.epm-settings-form .epm-check span{margin:0;font-weight:600;color:#26342e}
.epm-settings-form .epm-check input{width:18px;height:18px;accent-color:#a8f03f}
.epm-settings-footer{display:flex;align-items:center;justify-content:space-between;gap:18px}
.epm-settings-signature{color:#5b675f;line-height:1.5;text-align:right}
.epm-settings-signature strong{color:#16231f}
@media(max-width:900px){.epm-grid.epm-grid-2,.epm-settings-form .epm-form-grid{grid-template-columns:1fr}.epm-settings-footer{align-items:flex-start;flex-direction:column}.epm-settings-signature{text-align:left}}

.epm-worker-access-panel .epm-muted{margin-top:-6px;color:#5d6b67;max-width:900px;line-height:1.5}
.epm-login-created-row{padding:6px 0;border-bottom:1px solid rgba(0,0,0,.06)}
.epm-login-created-row:last-child{border-bottom:0}

.epm-static-field{padding:14px 16px;border:1px solid rgba(20,40,30,.12);border-radius:14px;background:#f8fbf4;color:#18251f;}
.epm-notice.epm-error{background:#fff1f1;border:1px solid #ffb6b6;color:#8a1c1c;}

/* Worker login guidance v2.9.9 */
.epm-worker-access-guide .epm-access-guide-box{display:flex;align-items:center;gap:14px;margin-top:14px;padding:16px 18px;border:1px solid rgba(220,38,38,.22);background:#fff7f7;border-radius:18px;color:#17231f;max-width:820px}
.epm-guide-arrow,.epm-red-arrow{display:inline-flex;align-items:center;justify-content:center;color:#dc2626;font-size:34px;font-weight:900;line-height:1;animation:epmArrowPulse 1.2s ease-in-out infinite}
.epm-login-pointer-wrap{display:flex;align-items:center;gap:10px;margin-top:4px}
.epm-worker-login-create-field .epm-help{display:block;margin-top:8px}
.epm-create-login-btn{border-color:#dc2626!important;box-shadow:0 10px 28px rgba(220,38,38,.12)!important}
@keyframes epmArrowPulse{0%,100%{transform:translateX(0)}50%{transform:translateX(6px)}}

/* Euroreline PM v2.10.6 - Mobile camera upload buttons */
.epm-mobile-upload-actions{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-top:10px;
}
.epm-camera-upload{
  display:flex !important;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  min-height:72px;
  padding:14px 12px;
  border:1px solid var(--epm-border);
  border-radius:18px;
  background:#fbfcf8;
  color:var(--epm-graphite);
  font-weight:800;
  cursor:pointer;
}
.epm-camera-upload span{
  margin:0 !important;
  font-size:14px !important;
  font-weight:800 !important;
}
.epm-camera-upload input[type="file"]{
  margin-top:10px;
  font-size:12px;
  max-width:100%;
}
@media(max-width:760px){
  .epm-mobile-upload-actions{grid-template-columns:1fr;}
  .epm-camera-upload{min-height:64px;}
}



.epm-video-thumb{
  width:84px;height:84px;display:inline-flex;align-items:center;justify-content:center;
  border-radius:14px;border:1px solid var(--epm-border);background:#f0f4e9;
  text-decoration:none;font-size:30px;margin-right:10px;
}

/* Euroreline PM v2.10.10 - Forecast totals row */
.epm-forecast-total-row td{
  background:#eef4e7 !important;
  border-top:2px solid #c9dfb8 !important;
  border-bottom:2px solid #c9dfb8 !important;
  font-weight:800;
}
.epm-forecast-total-row td:first-child{
  border-left:2px solid #c9dfb8 !important;
}
.epm-forecast-total-row td:last-child{
  border-right:2px solid #c9dfb8 !important;
}
.epm-forecast-total-row strong{
  color:#14231f;
}

.epm-linklike{background:none;border:0;padding:0;margin:0;font:inherit;cursor:pointer;color:#1f7a45;font-weight:900;text-decoration:none}.epm-linklike:hover{text-decoration:underline}.epm-danger-link,.epm-danger{color:#a5282d!important}


/* Euroreline PM v2.11.6 - Sidebar logout + financial edit */
.epm-sidebar-user-action{padding:0 22px 18px;border-bottom:1px solid rgba(255,255,255,.08);}
.epm-sidebar-user-action a{display:inline-flex;align-items:center;justify-content:center;background:#d7ff72;color:#101915!important;border-radius:999px;padding:9px 14px;font-weight:900;text-decoration:none;font-size:12px;box-shadow:0 10px 24px rgba(160,255,80,.18);}
.epm-sidebar-user-action a:before{content:'↪';margin-right:7px;font-weight:1000;}
.epm-financial-edit-panel{border-left:4px solid var(--epm-lime);}

/* Euroreline PM v2.12.0 - project task planning */
.epm-task-row{grid-template-columns:minmax(220px,2fr) minmax(150px,.8fr) minmax(220px,1.2fr)!important;}
@media(max-width:760px){.epm-task-row{grid-template-columns:1fr!important;}}

/* Euroreline PM v2.12.1 - Project quick task rows */
.epm-project-task-quick-panel{margin-top:18px;}
.epm-project-task-quick-list{display:grid;gap:10px;margin-top:12px;}
.epm-project-task-quick-row{display:grid;grid-template-columns:2fr .7fr .55fr .9fr;gap:10px;align-items:end;background:#fff;border:1px solid var(--epm-border);border-radius:16px;padding:12px;}
.epm-project-task-quick-row label{margin:0;}
@media(max-width:900px){.epm-project-task-quick-row{grid-template-columns:1fr 1fr;}}
@media(max-width:600px){.epm-project-task-quick-row{grid-template-columns:1fr;}}


/* Euroreline PM v2.12.2 - Tasks and financial tabs cleanup */
.epm-linklike{background:none;border:0;padding:0;margin:0;color:#1f7a45;font-weight:900;cursor:pointer;text-decoration:none;font-size:inherit;}
.epm-linklike:hover{text-decoration:underline;}
.epm-danger{color:#cc3366!important;}
.epm-financial-edit-panel .epm-form-grid{align-items:end;}


/* Euroreline PM v2.12.5 - Call Record bridge buttons */
.epm-bridge-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:0 14px 12px 14px;}
.epm-bridge-actions a{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border-radius:999px;padding:8px 11px;font-size:12px;font-weight:900;background:#d7ff72;color:#101915!important;border:1px solid rgba(255,255,255,.15);}
.epm-bridge-actions a:last-child{background:rgba(255,255,255,.08);color:#dce9df!important;}
.epm-bridge-user-actions a.epm-bridge-call-record{background:#d7ff72!important;color:#101915!important;}
@media(max-width:900px){.epm-saas-user.epm-bridge-user-actions{flex-wrap:wrap;border-radius:18px}.epm-bridge-actions{padding:0 10px 10px}}

/* v2.12.8 - 24h time input helper */
.epm-time-24{font-variant-numeric:tabular-nums;}
.epm-time-24::placeholder{color:#8b968f;}

/* Euroreline PM v2.12.9 - Drag sorting for project tasks */
.epm-task-sort-row{cursor:grab;transition:background .15s ease, opacity .15s ease;}
.epm-task-sort-row.epm-dragging{opacity:.55;background:#efffd1!important;}
.epm-drag-handle{font-size:20px;font-weight:900;color:#66706a;text-align:center;cursor:grab;user-select:none;}
.epm-linklike{background:none;border:0;padding:0;margin:0;font:inherit;cursor:pointer;font-weight:900;text-decoration:none;}
.epm-linklike:hover{text-decoration:underline;}


/* Euroreline PM v2.13.0 - Project health label + black draggable task rows */
.epm-drag-handle,
.epm-task-drag-handle,
.epm-sort-handle,
.ui-sortable-handle{
  color:#000 !important;
  fill:#000 !important;
  stroke:#000 !important;
  cursor:grab !important;
}
.epm-drag-handle svg,
.epm-task-drag-handle svg,
.epm-sort-handle svg,
.ui-sortable-handle svg{
  fill:#000 !important;
  stroke:#000 !important;
}
.epm-task-sort-row{
  cursor:grab !important;
}
.epm-task-sort-row:active,
.epm-drag-handle:active{
  cursor:grabbing !important;
}


/* Euroreline PM v2.13.1 - Robust grabbable task rows */
.epm-task-sort-table tbody tr.epm-task-sort-row{
  cursor:grab !important;
  user-select:none !important;
  touch-action:none !important;
}
.epm-task-sort-table tbody tr.epm-task-sort-row:hover td{
  background:#f3ffe0 !important;
}
.epm-task-sort-row.epm-pointer-dragging,
.epm-task-sort-row.epm-dragging{
  opacity:.72 !important;
  outline:2px solid #000 !important;
  cursor:grabbing !important;
}
.epm-drag-handle{
  color:#000 !important;
  font-size:22px !important;
  font-weight:1000 !important;
}


/* Euroreline PM v2.13.2 - Dashboard project health list grabbable */
.epm-dashboard-sort-table tbody tr.epm-dashboard-sort-row{
  cursor:grab !important;
  user-select:none !important;
  touch-action:none !important;
}
.epm-dashboard-sort-table tbody tr.epm-dashboard-sort-row:hover td{
  background:#f3ffe0 !important;
}
.epm-dashboard-sort-row.epm-dashboard-dragging,
.epm-dashboard-sort-row.epm-dashboard-pointer-dragging{
  opacity:.72 !important;
  outline:2px solid #000 !important;
  cursor:grabbing !important;
}
.epm-dashboard-drag-handle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#000 !important;
  font-size:18px !important;
  font-weight:1000 !important;
  line-height:1;
  margin-right:8px;
  cursor:grab !important;
  vertical-align:middle;
}
.epm-dashboard-drag-handle:active{cursor:grabbing !important;}


/* Euroreline PM v2.13.3 - Greek typography fix: no forced uppercase/capitalize */
.epm-wrap,
.epm-wrap *,
.epm-saas-app,
.epm-saas-app *,
.epm-mobile-wrap,
.epm-mobile-wrap *,
.epm-login-screen,
.epm-login-screen *{
  text-transform:none !important;
}
.epm-kicker,
.epm-card-title,
.epm-table th,
.epm-file-cat,
.epm-health span,
.epm-status,
.epm-tabs a,
.epm-saas-nav a{
  letter-spacing:normal !important;
}

.epm-status-no_tasks{background:#f3f4f6;color:#374151;}

/* v2.13.6.1 - Project state column / LED buttons */
.epm-project-state-box{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:7px;
  min-width:130px;
}
.epm-project-state-box > strong{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:13px;
  line-height:1.2;
}
.epm-project-led{
  width:11px;
  height:11px;
  border-radius:999px;
  display:inline-block;
  box-shadow:0 0 0 4px rgba(0,0,0,.04);
}
.epm-project-led-planned{background:#9ca3af;}
.epm-project-led-active{background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.14),0 0 12px rgba(34,197,94,.45);}
.epm-project-led-paused{background:#f59e0b;box-shadow:0 0 0 4px rgba(245,158,11,.14),0 0 12px rgba(245,158,11,.35);}
.epm-project-led-completed{background:#3b82f6;box-shadow:0 0 0 4px rgba(59,130,246,.14),0 0 12px rgba(59,130,246,.35);}
.epm-project-led-cancelled{background:#ef4444;}
.epm-project-state-actions{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}
.epm-inline-status-form{display:inline-flex;margin:0;}
.epm-status-action{
  border:1px solid var(--epm-border);
  background:#fff;
  color:#10211b;
  border-radius:999px;
  padding:6px 9px;
  font-size:11px;
  font-weight:900;
  cursor:pointer;
}
.epm-status-action-active{background:#e9fff2;border-color:#b5ebc9;color:#137843;}
.epm-status-action-paused{background:#fff7df;border-color:#f2d58b;color:#91620f;}
.epm-status-action-completed{background:#eff6ff;border-color:#bfdbfe;color:#1d4ed8;}
.epm-dashboard-projects th:nth-child(2),
.epm-dashboard-projects td:nth-child(2){min-width:150px;}

/* v2.13.7.4 - Align dashboard KPI numbers */
.epm-grid .epm-card,
.epm-grid-five .epm-card,
.epm-grid-six .epm-card{
  display:flex !important;
  flex-direction:column !important;
  justify-content:flex-start !important;
  min-height:150px !important;
}

.epm-grid .epm-card-title,
.epm-grid-five .epm-card-title,
.epm-grid-six .epm-card-title{
  min-height:42px !important;
  display:flex !important;
  align-items:flex-start !important;
  margin:0 !important;
  line-height:1.2 !important;
}

.epm-grid .epm-card-number,
.epm-grid-five .epm-card-number,
.epm-grid-six .epm-card-number{
  margin-top:10px !important;
  margin-bottom:8px !important;
  line-height:1 !important;
  display:block !important;
}

.epm-grid .epm-card-sub,
.epm-grid-five .epm-card-sub,
.epm-grid-six .epm-card-sub{
  margin-top:0 !important;
}

/* v2.13.7.8 - Quote print logo/header cleanup */
.epm-print-quote .epm-print-header{display:flex;align-items:center;justify-content:flex-start;margin-bottom:22px;padding-bottom:14px;border-bottom:2px solid #1f5f3d}
.epm-print-quote .epm-print-logo{max-width:260px;max-height:95px;width:auto;height:auto;object-fit:contain}
.epm-print-quote .epm-print-title{text-align:center;margin:18px 0 4px;color:#101915;letter-spacing:.03em}
.epm-print-quote .epm-panel > h2{text-align:center;color:#1f5f3d;margin-top:0}
@media print{
  .epm-print-quote .epm-print-button{display:none!important}
  .epm-print-quote .epm-panel{box-shadow:none!important;border:0!important}
}

/* v2.13.7.9 - Print only quote content */
@media print{
  body *{
    visibility:hidden !important;
  }
  .epm-print-quote,
  .epm-print-quote *{
    visibility:visible !important;
  }
  .epm-print-quote{
    position:absolute !important;
    left:0 !important;
    top:0 !important;
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
    background:#fff !important;
  }
  .epm-print-quote .epm-panel{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:24px 32px !important;
    box-shadow:none !important;
    border:0 !important;
    background:#fff !important;
  }
  .epm-print-button,
  .epm-sidebar,
  .epm-saas-sidebar,
  .epm-saas-topbar,
  .epm-nav,
  .epm-menu,
  .epm-userbox,
  .epm-actions,
  .epm-quick-actions,
  .epm-footer,
  .epm-powered,
  .epm-brand,
  aside,
  nav,
  header{
    display:none !important;
    visibility:hidden !important;
  }
  .epm-saas-main,
  .epm-saas-content,
  .epm-wrap{
    margin:0 !important;
    padding:0 !important;
    width:100% !important;
    max-width:none !important;
  }
  @page{
    margin:12mm;
  }
}


/* v2.13.7.10 - Quote print signature */
.epm-quote-signature{
  margin-top:34px;
  padding-top:18px;
  border-top:2px solid #1f5f3d;
  text-align:center;
  color:#101915;
  font-size:14px;
  line-height:1.55;
}
.epm-quote-signature p{
  margin:0 0 8px;
}
@media print{
  .epm-quote-signature{
    page-break-inside:avoid;
  }
}

/* v2.13.7.12 - Quote action buttons visual cleanup */
.epm-quote-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  min-width:360px;
}
.epm-quote-actions .epm-action-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  padding:7px 11px;
  border-radius:999px;
  font-size:13px;
  font-weight:700;
  line-height:1.15;
  text-decoration:none !important;
  white-space:nowrap;
  border:1px solid transparent;
  box-shadow:0 4px 12px rgba(16,25,21,.06);
}
.epm-quote-actions .epm-action-pill:hover{
  transform:translateY(-1px);
  text-decoration:none !important;
  filter:brightness(.98);
}
.epm-pill-edit{background:#eef7ff;color:#14517a !important;border-color:#cde7fb !important;}
.epm-pill-print{background:#f3f4f6;color:#30343a !important;border-color:#d9dde3 !important;}
.epm-pill-send{background:#eaf8ef;color:#116b35 !important;border-color:#bee8cd !important;}
.epm-pill-test{background:#fff7df;color:#8a5a00 !important;border-color:#f1d88a !important;}
.epm-pill-project{background:#edf6ff;color:#0d5c91 !important;border-color:#b9def7 !important;}
.epm-pill-archive{background:#fff0f4;color:#c42356 !important;border-color:#f2bdd0 !important;}
@media(max-width:900px){
  .epm-quote-actions{min-width:0;}
  .epm-quote-actions .epm-action-pill{font-size:12px;padding:7px 9px;}
}

/* v2.13.7.21 - Mobile daily report edit controls */
.epm-user-actions{display:flex;flex-direction:column;gap:8px;align-items:flex-start;}
.epm-mobile-my-reports{margin-top:14px;padding:12px;border:1px solid rgba(0,0,0,.08);border-radius:14px;background:#fff;}
.epm-mobile-my-reports h3{margin:0 0 10px;font-size:16px;}
.epm-mobile-report-edit-row{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:10px 0;border-top:1px solid rgba(0,0,0,.08);}
.epm-mobile-report-edit-row:first-of-type{border-top:0;}
.epm-btn-small{padding:8px 10px;font-size:13px;white-space:nowrap;}
.epm-btn-secondary{background:#eef2f7;color:#111827;border:1px solid rgba(0,0,0,.08);}

/* v2.13.7.25 - Collapsible SaaS sidebar for PM Admin */
.epm-sidebar-toggle{
  margin:12px 18px 10px;
  width:calc(100% - 36px);
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  color:#d7ff72;
  border-radius:14px;
  padding:10px 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-weight:900;
  cursor:pointer;
  transition:.15s ease;
}
.epm-sidebar-toggle:hover{background:rgba(215,255,114,.12);color:#fff;}
.epm-sidebar-toggle-icon{font-size:17px;line-height:1;}
.epm-saas-sidebar,.epm-saas-main{transition:width .18s ease,padding .18s ease,flex-basis .18s ease;}
.epm-saas-app.epm-sidebar-collapsed .epm-saas-sidebar{width:82px;min-width:82px;}
.epm-saas-app.epm-sidebar-collapsed .epm-saas-brand{padding:18px 12px;justify-content:center;}
.epm-saas-app.epm-sidebar-collapsed .epm-saas-brand-text,
.epm-saas-app.epm-sidebar-collapsed .epm-sidebar-toggle-text,
.epm-saas-app.epm-sidebar-collapsed .epm-saas-nav a:not(.active),
.epm-saas-app.epm-sidebar-collapsed .epm-sidebar-user-action,
.epm-saas-app.epm-sidebar-collapsed .epm-saas-footer{display:none!important;}
.epm-saas-app.epm-sidebar-collapsed .epm-sidebar-toggle{width:50px;margin:10px auto;padding:11px 0;border-radius:16px;}
.epm-saas-app.epm-sidebar-collapsed .epm-saas-nav{padding:8px 10px;align-items:center;}
.epm-saas-app.epm-sidebar-collapsed .epm-saas-nav a.active{width:46px;height:46px;padding:0;justify-content:center;border-radius:16px;}
.epm-saas-app.epm-sidebar-collapsed .epm-saas-nav a.active span{width:auto;}
.epm-saas-app.epm-sidebar-collapsed .epm-saas-nav a.active{font-size:0;}
.epm-saas-app.epm-sidebar-collapsed .epm-saas-nav a.active span{font-size:18px;}
@media(max-width:900px){
  .epm-sidebar-toggle{display:none!important;}
  .epm-saas-app.epm-sidebar-collapsed .epm-saas-sidebar{width:100%;min-width:0;}
  .epm-saas-app.epm-sidebar-collapsed .epm-saas-brand-text,
  .epm-saas-app.epm-sidebar-collapsed .epm-sidebar-user-action,
  .epm-saas-app.epm-sidebar-collapsed .epm-saas-nav a:not(.active){display:flex!important;}
}


/* v2.13.7.26 - Top horizontal scrollbar above dashboard project control table */
.epm-table-top-scroll{overflow-x:auto;overflow-y:hidden;height:18px;margin:4px 0 8px;border-radius:999px;background:#eef2e8;}
.epm-table-top-scroll-inner{height:1px;}
.epm-dashboard-table-wrap{overflow:auto;}

/* v2.13.7.27 - Narrower project status column in dashboard */
.epm-dashboard-projects th:nth-child(2),
.epm-dashboard-projects td:nth-child(2){
  width:112px !important;
  min-width:112px !important;
  max-width:112px !important;
  white-space:normal !important;
}
.epm-dashboard-projects .epm-project-state-box{
  min-width:0 !important;
  width:104px !important;
  gap:5px !important;
}
.epm-dashboard-projects .epm-project-state-box > strong{
  font-size:12px !important;
}
.epm-dashboard-projects .epm-project-state-actions{
  flex-direction:column !important;
  align-items:flex-start !important;
  gap:4px !important;
}
.epm-dashboard-projects .epm-status-action{
  padding:4px 7px !important;
  font-size:10px !important;
  line-height:1.1 !important;
}
.epm-dashboard-projects .epm-project-led{
  width:9px !important;
  height:9px !important;
}

/* v2.13.7.28 - Narrow right observations column in dashboard */
.epm-dashboard-projects th:nth-child(8),
.epm-dashboard-projects td:nth-child(8){
  width:96px !important;
  min-width:96px !important;
  max-width:96px !important;
  white-space:normal !important;
  font-size:12px !important;
  line-height:1.25 !important;
}
.epm-dashboard-projects td:nth-child(8) small{
  display:block !important;
  max-width:96px !important;
  white-space:normal !important;
  overflow-wrap:anywhere !important;
}
.epm-dashboard-projects td:nth-child(8) .epm-status{
  display:inline-block !important;
  max-width:96px !important;
  white-space:normal !important;
}


/* v2.13.7.29 - Today's daily report status column in dashboard */
.epm-dashboard-projects th:nth-child(2),
.epm-dashboard-projects td:nth-child(2){
  width:128px !important;
  min-width:128px !important;
  max-width:128px !important;
  white-space:normal !important;
}
.epm-today-report{
  display:inline-block;
  border-radius:12px;
  padding:7px 9px;
  font-size:12px;
  font-weight:900;
  line-height:1.25;
  white-space:normal;
}
.epm-today-report small{
  display:block;
  margin-top:3px;
  font-size:10px;
  font-weight:800;
  opacity:.78;
}
.epm-today-report-ok{background:#eaf8ef;color:#116b35;border:1px solid #bee8cd;}
.epm-today-report-missing{background:#fff7df;color:#8a5a00;border:1px solid #f1d88a;}

/* Column indexes shifted by the new "Ημ. Δελτίο" column */
.epm-dashboard-projects th:nth-child(3),
.epm-dashboard-projects td:nth-child(3){
  width:112px !important;
  min-width:112px !important;
  max-width:112px !important;
  white-space:normal !important;
}
.epm-dashboard-projects th:nth-child(9),
.epm-dashboard-projects td:nth-child(9){
  width:96px !important;
  min-width:96px !important;
  max-width:96px !important;
  white-space:normal !important;
  font-size:12px !important;
  line-height:1.25 !important;
}
.epm-dashboard-projects td:nth-child(9) small{
  display:block !important;
  max-width:96px !important;
  white-space:normal !important;
  overflow-wrap:anywhere !important;
}
.epm-dashboard-projects td:nth-child(9) .epm-status{
  display:inline-block !important;
  max-width:96px !important;
  white-space:normal !important;
}


/* v2.13.7.31 - Mobile-first adjustments for dashboard/statistics */
@media (max-width: 782px){
  .epm-wrap .epm-hero,
  .epm-wrap .epm-hero-small{
    padding:18px 16px !important;
    border-radius:18px !important;
  }
  .epm-wrap .epm-hero h1,
  .epm-wrap .epm-panel-head h2{
    font-size:26px !important;
    line-height:1.05 !important;
  }
  .epm-grid.epm-grid-six{
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:10px !important;
    overflow:visible !important;
  }
  .epm-card{
    min-width:0 !important;
    padding:16px 14px !important;
    border-radius:18px !important;
  }
  .epm-card strong,
  .epm-card .epm-card-value{
    font-size:22px !important;
  }
  .epm-card small,
  .epm-card p{
    font-size:13px !important;
    line-height:1.35 !important;
  }
  .epm-panel-head{
    flex-direction:column !important;
    align-items:flex-start !important;
    gap:10px !important;
  }
  .epm-dashboard-nav{
    width:100% !important;
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:8px !important;
  }
  .epm-dashboard-nav span,
  .epm-dashboard-nav select{
    grid-column:1 / -1 !important;
    width:100% !important;
  }
  .epm-action-item{
    display:grid !important;
    grid-template-columns:1fr auto !important;
    gap:10px !important;
    align-items:center !important;
    padding:14px !important;
  }
}

@media (max-width: 430px){
  .epm-grid.epm-grid-six{
    grid-template-columns:1fr !important;
  }
}

/* Euroreline PM v2.13.7.33 - Mobile-first project list drag UX */
.epm-project-title-text{display:inline-block;font-weight:900;color:#061923;}
.epm-dashboard-sort-table tbody tr.epm-dashboard-sort-row,
.epm-dashboard-drag-handle{cursor:grab !important;}
body.epm-dashboard-grabbing,
body.epm-dashboard-grabbing *{cursor:grabbing !important;}
.epm-dashboard-sort-row.epm-dashboard-dragging,
.epm-dashboard-sort-row.epm-dashboard-pointer-dragging{opacity:.72;transform:scale(.995);box-shadow:0 10px 28px rgba(0,0,0,.16);background:#f6ffd9!important;}
.epm-dashboard-sort-row.epm-dashboard-drop-before td{border-top:4px solid #b7ff3c!important;}
.epm-dashboard-sort-row.epm-dashboard-drop-after td{border-bottom:4px solid #b7ff3c!important;}
.epm-dashboard-drag-handle{display:inline-flex;align-items:center;justify-content:center;min-width:34px;min-height:34px;border-radius:12px;background:#efffd1;margin-right:8px;font-size:22px;touch-action:none;user-select:none;}
.epm-dashboard-drag-handle::after{content:' ✋';font-size:15px;margin-left:3px;}
@media (max-width: 782px){
  .epm-dashboard-projects .epm-project-title-text{font-size:15px;line-height:1.25;}
  .epm-dashboard-drag-handle{min-width:42px;min-height:42px;font-size:24px;margin-right:10px;}
  .epm-dashboard-sort-table tbody tr.epm-dashboard-sort-row td:first-child{position:static!important;left:auto!important;z-index:auto!important;background:transparent!important;min-width:210px;}
  .epm-dashboard-sort-row.epm-dashboard-dragging td:first-child,
  .epm-dashboard-sort-row.epm-dashboard-pointer-dragging td:first-child{background:transparent!important;}
}


/* v2.13.7.34 - Compact home hero, mobile-first */
.epm-home-hero{
  min-height:auto !important;
  padding:22px 28px !important;
}
.epm-home-hero h1{
  font-size:30px !important;
  line-height:1.05 !important;
  margin:6px 0 0 !important;
}
.epm-home-hero .epm-kicker{
  display:block;
  margin-bottom:2px;
}
@media (max-width:782px){
  .epm-home-hero{
    padding:16px 16px !important;
    border-radius:18px !important;
  }
  .epm-home-hero h1{
    font-size:22px !important;
  }
}


/* v2.13.7.35 - Smaller mobile project list pagination controls */
@media (max-width: 782px){
  .epm-dashboard-nav{
    display:grid !important;
    grid-template-columns:auto auto auto !important;
    align-items:center !important;
    gap:6px !important;
    width:100% !important;
    margin-top:6px !important;
  }
  .epm-dashboard-nav .epm-arrow,
  .epm-dashboard-nav a.epm-arrow{
    min-height:34px !important;
    padding:7px 10px !important;
    border-radius:16px !important;
    font-size:13px !important;
    line-height:1 !important;
    white-space:nowrap !important;
  }
  .epm-dashboard-nav span{
    grid-column:auto !important;
    width:auto !important;
    font-size:13px !important;
    font-weight:800 !important;
    text-align:center !important;
    white-space:nowrap !important;
  }
  .epm-dashboard-nav select{
    grid-column:1 / -1 !important;
    width:100% !important;
    min-height:36px !important;
    padding:6px 12px !important;
    border-radius:18px !important;
    font-size:14px !important;
    line-height:1.1 !important;
  }
  .epm-project-nav{
    gap:6px !important;
    margin:10px 0 !important;
  }
}
@media (max-width: 430px){
  .epm-dashboard-nav{
    gap:5px !important;
  }
  .epm-dashboard-nav .epm-arrow,
  .epm-dashboard-nav a.epm-arrow{
    padding:7px 8px !important;
    font-size:12px !important;
  }
  .epm-dashboard-nav span{
    font-size:12px !important;
  }
}

/* v2.13.7.36 - Mobile project list horizontal scroll fix: first column must scroll with the table */
@media (max-width:782px){
  .epm-dashboard-sort-table tbody tr.epm-dashboard-sort-row td:first-child,
  .epm-dashboard-projects tbody tr td:first-child{
    position:static!important;
    left:auto!important;
    right:auto!important;
    z-index:auto!important;
    background:transparent!important;
  }
}


/* v2.13.7.37 - Open/closed hand feedback for grab sorting */
.epm-dashboard-drag-handle::after{
  content:' 🖐️' !important;
  font-size:16px !important;
  margin-left:4px !important;
  line-height:1 !important;
}
.epm-dashboard-drag-handle:active::after,
body.epm-dashboard-grabbing .epm-dashboard-drag-handle::after,
.epm-dashboard-sort-row.epm-dashboard-dragging .epm-dashboard-drag-handle::after,
.epm-dashboard-sort-row.epm-dashboard-pointer-dragging .epm-dashboard-drag-handle::after{
  content:' ✊' !important;
}
.epm-dashboard-drag-handle{
  transition:transform .12s ease, background .12s ease, box-shadow .12s ease !important;
}
.epm-dashboard-drag-handle:active,
body.epm-dashboard-grabbing .epm-dashboard-drag-handle,
.epm-dashboard-sort-row.epm-dashboard-dragging .epm-dashboard-drag-handle,
.epm-dashboard-sort-row.epm-dashboard-pointer-dragging .epm-dashboard-drag-handle{
  transform:scale(.96) !important;
  background:#d7ff72 !important;
  box-shadow:0 8px 18px rgba(0,0,0,.14) !important;
}
@media (max-width: 782px){
  .epm-dashboard-drag-handle::after{font-size:18px !important;margin-left:5px !important;}
}

/* v2.13.7.38 - Mobile compact statistics: action first, cards smaller */
@media (max-width: 782px){
  .epm-statistics-page{
    display:flex !important;
    flex-direction:column !important;
    gap:10px !important;
  }
  .epm-statistics-page .epm-hero{
    order:0 !important;
    margin-bottom:0 !important;
  }
  .epm-statistics-page .epm-action-panel{
    order:1 !important;
    margin-top:0 !important;
    padding:14px !important;
    border-radius:18px !important;
  }
  .epm-statistics-page .epm-grid-six{
    order:2 !important;
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:8px !important;
    margin:0 !important;
  }
  .epm-statistics-page .epm-card{
    padding:10px 11px !important;
    border-radius:15px !important;
    min-height:0 !important;
    box-shadow:0 8px 18px rgba(32,40,35,.04) !important;
  }
  .epm-statistics-page .epm-card:before{
    width:42px !important;
    height:42px !important;
    right:-18px !important;
    top:-18px !important;
    opacity:.45 !important;
  }
  .epm-statistics-page .epm-card-title{
    font-size:11px !important;
    line-height:1.15 !important;
    letter-spacing:0 !important;
    margin:0 0 5px !important;
  }
  .epm-statistics-page .epm-card-number{
    font-size:20px !important;
    line-height:1 !important;
    margin:4px 0 0 !important;
    white-space:nowrap !important;
  }
  .epm-statistics-page .epm-card-sub{
    display:none !important;
  }
  .epm-statistics-page .epm-panel-head h2{
    font-size:22px !important;
  }
  .epm-statistics-page .epm-muted-note{
    font-size:12px !important;
    line-height:1.3 !important;
  }
}

@media (max-width: 430px){
  .epm-statistics-page .epm-grid-six{
    grid-template-columns:1fr 1fr !important;
  }
  .epm-statistics-page .epm-card-number{
    font-size:18px !important;
  }
}


/* v2.13.7.39 - Statistics hero: remove badge and smaller mobile text */
.epm-statistics-page .epm-badge{display:none !important;}
@media (max-width: 782px){
  .epm-statistics-page .epm-hero{
    padding:14px 14px !important;
    border-radius:16px !important;
    min-height:0 !important;
  }
  .epm-statistics-page .epm-kicker{
    font-size:11px !important;
    line-height:1.1 !important;
  }
  .epm-statistics-page .epm-hero h1{
    font-size:22px !important;
    line-height:1.05 !important;
    margin:5px 0 4px !important;
  }
  .epm-statistics-page .epm-hero p{
    font-size:12px !important;
    line-height:1.25 !important;
    max-width:100% !important;
  }
}
@media (max-width: 430px){
  .epm-statistics-page .epm-hero{padding:12px 12px !important;}
  .epm-statistics-page .epm-hero h1{font-size:20px !important;}
  .epm-statistics-page .epm-hero p{font-size:11px !important;}
}


/* v2.13.7.40 - Workspace stats compact and moved lower on mobile */
@media (max-width: 782px){
  .epm-workspace{
    display:flex !important;
    flex-direction:column !important;
  }
  .epm-workspace > .epm-hero{order:0 !important;}
  .epm-workspace > .epm-breadcrumbs{order:1 !important;}
  .epm-workspace > .epm-project-nav{order:2 !important;}
  .epm-workspace > .epm-tabs{order:3 !important;}
  .epm-workspace > .epm-panel{order:4 !important;}
  .epm-workspace > .epm-workspace-stats{
    order:9 !important;
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:6px !important;
    margin-top:12px !important;
    margin-bottom:0 !important;
  }
  .epm-workspace .epm-workspace-stats .epm-card{
    padding:8px 9px !important;
    border-radius:13px !important;
    min-height:58px !important;
    box-shadow:0 6px 14px rgba(32,40,35,.035) !important;
  }
  .epm-workspace .epm-workspace-stats .epm-card:before{
    width:34px !important;
    height:34px !important;
    right:-15px !important;
    top:-15px !important;
    opacity:.38 !important;
  }
  .epm-workspace .epm-workspace-stats .epm-card-title{
    min-height:0 !important;
    font-size:10px !important;
    line-height:1.1 !important;
    letter-spacing:0 !important;
    margin:0 0 3px !important;
    display:block !important;
  }
  .epm-workspace .epm-workspace-stats .epm-card-number{
    font-size:17px !important;
    line-height:1 !important;
    margin:2px 0 0 !important;
    white-space:nowrap !important;
  }
  .epm-workspace .epm-workspace-stats .epm-card-sub{
    display:none !important;
  }
}
@media (max-width: 430px){
  .epm-workspace > .epm-workspace-stats{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:5px !important;
  }
  .epm-workspace .epm-workspace-stats .epm-card{
    padding:7px 7px !important;
    min-height:52px !important;
  }
  .epm-workspace .epm-workspace-stats .epm-card-title{font-size:9px !important;}
  .epm-workspace .epm-workspace-stats .epm-card-number{font-size:15px !important;}
}

/* v2.13.7.41 - Mobile compact project workspace hero */
@media (max-width: 782px){
  .epm-workspace > .epm-hero{
    padding:10px 12px !important;
    border-radius:16px !important;
    min-height:0 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:10px !important;
  }
  .epm-workspace > .epm-hero .epm-badge{
    display:none !important;
  }
  .epm-workspace > .epm-hero .epm-kicker{
    font-size:10px !important;
    line-height:1.1 !important;
    margin:0 !important;
  }
  .epm-workspace > .epm-hero h1{
    font-size:20px !important;
    line-height:1.05 !important;
    margin:4px 0 3px !important;
    letter-spacing:-.4px !important;
    word-break:break-word !important;
  }
  .epm-workspace > .epm-hero p{
    font-size:11px !important;
    line-height:1.2 !important;
    margin:0 !important;
  }
  .epm-workspace-side{
    flex:0 0 auto !important;
    flex-direction:row !important;
    align-items:center !important;
    gap:0 !important;
  }
  .epm-workspace .epm-health{
    padding:7px 9px !important;
    min-width:58px !important;
    border-radius:14px !important;
  }
  .epm-workspace .epm-health strong{
    font-size:17px !important;
    line-height:1 !important;
  }
  .epm-workspace .epm-health span{
    font-size:9px !important;
    line-height:1.05 !important;
    margin-top:3px !important;
    letter-spacing:0 !important;
  }
}
@media (max-width: 430px){
  .epm-workspace > .epm-hero{padding:9px 10px !important;}
  .epm-workspace > .epm-hero h1{font-size:18px !important;}
  .epm-workspace > .epm-hero p{font-size:10px !important;}
  .epm-workspace .epm-health{padding:6px 8px !important;min-width:54px !important;}
  .epm-workspace .epm-health strong{font-size:16px !important;}
  .epm-workspace .epm-health span{font-size:8px !important;}
}


/* v2.13.7.42 - Mobile: workspace stats visible only on Επισκόπιση tab */
@media (max-width: 782px){
  .epm-workspace:not(.epm-workspace-tab-overview) > .epm-workspace-stats{
    display:none !important;
  }
}


/* v2.13.7.43 - Mobile: Αρχική labels, remove back button and stop horizontal table overflow */
@media (max-width: 782px){
  /* In workspace keep only previous/next project buttons; hide back-to-home button */
  .epm-workspace .epm-project-nav .epm-btn,
  .epm-workspace .epm-project-nav .epm-btn-light{
    display:none !important;
  }
  .epm-workspace .epm-project-nav{
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:8px !important;
    align-items:stretch !important;
    margin:8px 0 10px !important;
  }
  .epm-workspace .epm-project-nav .epm-arrow{
    width:auto !important;
    min-width:0 !important;
    padding:8px 9px !important;
    font-size:12px !important;
    line-height:1.15 !important;
    white-space:normal !important;
    text-align:center !important;
  }

  /* No right/left page scrolling caused by wide tables */
  html, body,
  #wpwrap, #wpcontent, #wpbody, #wpbody-content,
  .wrap.epm-wrap,
  .epm-wrap,
  .epm-public-box{
    max-width:100% !important;
    overflow-x:hidden !important;
  }
  .epm-table-top-scroll{
    display:none !important;
  }
  .epm-table-wrap,
  .epm-dashboard-table-wrap{
    width:100% !important;
    max-width:100% !important;
    overflow-x:hidden !important;
    overflow-y:visible !important;
  }
  .epm-table,
  .epm-dashboard-projects{
    min-width:0 !important;
    width:100% !important;
    max-width:100% !important;
    display:block !important;
    border-spacing:0 !important;
  }
  .epm-table thead,
  .epm-dashboard-projects thead{
    display:none !important;
  }
  .epm-table tbody,
  .epm-table tr,
  .epm-table td,
  .epm-dashboard-projects tbody,
  .epm-dashboard-projects tr,
  .epm-dashboard-projects td{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    box-sizing:border-box !important;
    white-space:normal !important;
  }
  .epm-table tr,
  .epm-dashboard-projects tr{
    background:#fbfcf8 !important;
    border:1px solid var(--epm-border) !important;
    border-radius:16px !important;
    padding:8px !important;
    margin:0 0 10px !important;
    overflow:hidden !important;
  }
  .epm-table td,
  .epm-dashboard-projects td{
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    padding:7px 8px !important;
    overflow-wrap:anywhere !important;
    word-break:break-word !important;
  }
  .epm-table td:first-child,
  .epm-table td:last-child,
  .epm-dashboard-projects td:first-child,
  .epm-dashboard-projects td:last-child{
    border:0 !important;
    border-radius:0 !important;
  }
  .epm-progress{
    min-width:0 !important;
    width:100% !important;
  }
}


/* v2.13.7.44 - Hide missing previous/next project navigation instead of showing inactive labels */
@media (max-width: 782px){
  .epm-workspace .epm-project-nav{
    display:flex !important;
    gap:8px !important;
  }
  .epm-workspace .epm-project-nav .epm-arrow{
    flex:1 1 0 !important;
  }
}


/* v2.13.7.45 - Mobile navigation endpoint labels + global smaller titles */
.epm-arrow-disabled{
  opacity:.55;
  pointer-events:none;
  background:#f4f6f1 !important;
  color:#6f786f !important;
  border:1px dashed #d8ded4 !important;
  box-shadow:none !important;
  cursor:default !important;
}
@media (max-width: 782px){
  .epm-wrap,
  .epm-saas-content{
    --epm-mobile-title-scale:1;
  }
  .epm-wrap h1,
  .epm-wrap .epm-hero h1,
  .epm-wrap .epm-saas-topbar h1,
  .epm-wrap .epm-panel h1,
  .epm-wrap .epm-panel h2,
  .epm-saas-content h1,
  .epm-saas-content h2{
    font-size:20px !important;
    line-height:1.12 !important;
    letter-spacing:-.02em !important;
  }
  .epm-wrap h3,
  .epm-wrap h4,
  .epm-saas-content h3,
  .epm-saas-content h4{
    font-size:15px !important;
    line-height:1.18 !important;
  }
  .epm-hero{
    padding:12px 14px !important;
    border-radius:18px !important;
  }
  .epm-hero .epm-kicker,
  .epm-kicker{
    font-size:9px !important;
    letter-spacing:.04em !important;
  }
  .epm-hero p,
  .epm-panel p,
  .epm-muted-note{
    font-size:11px !important;
    line-height:1.3 !important;
  }
  .epm-card-title{font-size:10px !important;line-height:1.1 !important;letter-spacing:0 !important;}
  .epm-card-number{font-size:20px !important;line-height:1 !important;margin:7px 0 3px !important;}
  .epm-card-sub{font-size:10px !important;line-height:1.2 !important;}
  .epm-panel{padding:14px !important;border-radius:18px !important;}
  .epm-breadcrumbs{font-size:11px !important;gap:6px !important;margin:8px 0 10px !important;}
  .epm-tabs a,
  .epm-tabs button{font-size:11px !important;padding:8px 9px !important;}
  .epm-workspace .epm-project-nav .epm-arrow-disabled{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    font-weight:900 !important;
  }
}
@media (max-width: 430px){
  .epm-wrap h1,
  .epm-wrap .epm-hero h1,
  .epm-wrap .epm-panel h1,
  .epm-wrap .epm-panel h2,
  .epm-saas-content h1,
  .epm-saas-content h2{
    font-size:18px !important;
  }
  .epm-wrap h3,
  .epm-wrap h4,
  .epm-saas-content h3,
  .epm-saas-content h4{
    font-size:14px !important;
  }
}


/* v2.13.7.46 - Mobile project list vertical scroll fix */
@media (max-width: 782px){
  html, body{
    height:auto !important;
    min-height:100% !important;
    overflow-y:auto !important;
    -webkit-overflow-scrolling:touch !important;
  }
  .epm-saas-app,
  .epm-saas-main,
  .epm-saas-content,
  .wrap.epm-wrap,
  .epm-wrap{
    height:auto !important;
    min-height:0 !important;
    overflow-y:visible !important;
    -webkit-overflow-scrolling:touch !important;
  }
  .epm-dashboard-table-wrap,
  .epm-table-wrap{
    overflow-x:hidden !important;
    overflow-y:visible !important;
    max-height:none !important;
    height:auto !important;
  }
  .epm-dashboard-sort-table tbody tr.epm-dashboard-sort-row{
    touch-action:pan-y !important;
    cursor:default !important;
  }
  .epm-dashboard-sort-table tbody tr.epm-dashboard-sort-row *{
    touch-action:pan-y !important;
  }
  .epm-dashboard-drag-handle,
  .epm-dashboard-drag-handle *{
    touch-action:none !important;
    cursor:grab !important;
  }
  body.epm-dashboard-grabbing{
    overflow-y:hidden !important;
  }
}

/* v2.13.7.50 - Mobile handle: long press drag, triple tap order picker */
@media (max-width: 782px){
  .epm-dashboard-sort-row{touch-action:auto !important;}
  .epm-dashboard-drag-handle{
    touch-action:manipulation !important;
    -webkit-tap-highlight-color:transparent;
    position:relative;
  }
  .epm-dashboard-drag-handle::before{
    content:'ταπ×3';
    position:absolute;
    right:-3px;
    bottom:-7px;
    font-size:9px;
    line-height:1;
    opacity:.62;
    font-weight:700;
    letter-spacing:-.3px;
  }
  .epm-dashboard-sort-row.epm-dashboard-pointer-dragging .epm-dashboard-drag-handle::before,
  body.epm-dashboard-grabbing .epm-dashboard-drag-handle::before{content:'κρατάς';opacity:.9;}
}
.epm-time-invalid{border-color:#dc2626!important;box-shadow:0 0 0 2px rgba(220,38,38,.12)!important;}

/* v2.13.7.53 - Mobile compact cards for project list and project tasks */
@media (max-width: 782px){
  /* Login screen: smaller on phones */
  .epm-login-screen{
    align-items:flex-start !important;
    padding:14px 10px !important;
  }
  .epm-login-card{
    gap:10px !important;
    padding:12px !important;
    border-radius:20px !important;
    box-shadow:0 14px 36px rgba(0,0,0,.10) !important;
  }
  .epm-login-brand{
    padding:16px !important;
    border-radius:16px !important;
  }
  .epm-login-brand h1{
    font-size:24px !important;
    line-height:1.05 !important;
    margin:5px 0 !important;
  }
  .epm-login-brand p{
    font-size:12px !important;
    line-height:1.25 !important;
    margin:0 !important;
  }
  .epm-login-form{
    padding:14px !important;
    gap:10px !important;
  }
  .epm-login-form input[type=text],
  .epm-login-form input[type=password]{
    min-height:40px !important;
    padding:10px 12px !important;
    border-radius:12px !important;
  }
  .epm-login-form button{
    padding:12px 14px !important;
    border-radius:14px !important;
  }

  /* Αρχική / Τα έργα μου: project cards much tighter */
  .epm-user-projects{
    display:grid !important;
    gap:8px !important;
  }
  .epm-user-project-card{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:8px !important;
    padding:10px 11px !important;
    border-radius:14px !important;
    border:1px solid var(--epm-border) !important;
    background:#fff !important;
    box-shadow:0 6px 14px rgba(32,40,35,.04) !important;
  }
  .epm-user-project-card h3{
    font-size:14px !important;
    line-height:1.15 !important;
    margin:0 0 3px !important;
  }
  .epm-user-project-card p{
    font-size:11px !important;
    line-height:1.2 !important;
    margin:0 0 6px !important;
    color:var(--epm-muted) !important;
  }
  .epm-user-project-card small,
  .epm-user-project-card .epm-muted-note{
    font-size:10px !important;
    line-height:1.2 !important;
  }
  .epm-user-project-card .epm-progress{
    height:6px !important;
    margin:4px 0 3px !important;
  }
  .epm-user-actions{
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:6px !important;
    align-items:stretch !important;
  }
  .epm-user-actions .epm-btn,
  .epm-user-actions .epm-link{
    width:100% !important;
    min-height:34px !important;
    padding:8px 9px !important;
    border-radius:13px !important;
    font-size:11px !important;
    line-height:1.1 !important;
    text-align:center !important;
    justify-content:center !important;
  }
  .epm-user-actions .epm-muted-note{
    grid-column:1 / -1 !important;
    margin-top:0 !important;
  }

  /* Mobile daily report selected project card */
  .epm-mobile-project-card{
    margin-top:8px !important;
    padding:9px 10px !important;
    border-radius:13px !important;
  }
  .epm-mobile-project-card strong{
    font-size:14px !important;
    line-height:1.15 !important;
  }
  .epm-mobile-project-card span{
    font-size:11px !important;
    line-height:1.2 !important;
    margin:3px 0 5px !important;
  }

  /* Εργασίες έργου: compact mobile cards */
  .epm-task-sort-table tr.epm-task-sort-row{
    padding:7px !important;
    margin-bottom:7px !important;
    border-radius:13px !important;
  }
  .epm-task-sort-table tr.epm-task-sort-row td{
    padding:4px 6px !important;
    font-size:12px !important;
    line-height:1.2 !important;
  }
  .epm-task-sort-table tr.epm-task-sort-row td:nth-child(1),
  .epm-task-sort-table tr.epm-task-sort-row td:nth-child(2){
    display:inline-flex !important;
    width:auto !important;
    max-width:none !important;
    vertical-align:middle !important;
  }
  .epm-task-sort-table tr.epm-task-sort-row td:nth-child(1){
    font-size:11px !important;
    font-weight:900 !important;
    color:var(--epm-muted) !important;
    padding-right:2px !important;
  }
  .epm-task-sort-table .epm-drag-handle{
    min-width:32px !important;
    min-height:32px !important;
    padding:0 !important;
    border-radius:10px !important;
    font-size:18px !important;
    background:#efffd1 !important;
    align-items:center !important;
    justify-content:center !important;
  }
  .epm-task-sort-table tr.epm-task-sort-row td:nth-child(3){
    padding-top:2px !important;
  }
  .epm-task-sort-table tr.epm-task-sort-row td:nth-child(3) strong{
    font-size:13px !important;
    line-height:1.15 !important;
  }
  .epm-task-sort-table tr.epm-task-sort-row td:nth-child(3) small{
    font-size:10px !important;
    line-height:1.15 !important;
    display:block !important;
    margin-top:2px !important;
  }
  .epm-task-sort-table tr.epm-task-sort-row td:nth-child(4){
    font-size:11px !important;
    color:var(--epm-muted) !important;
  }
  .epm-task-sort-table tr.epm-task-sort-row td:nth-child(5){
    display:flex !important;
    gap:8px !important;
    align-items:center !important;
    padding-top:5px !important;
  }
  .epm-task-sort-table tr.epm-task-sort-row td:nth-child(5) .epm-link{
    font-size:11px !important;
    line-height:1.1 !important;
  }

  /* Quick task rows inside project create/edit */
  .epm-project-task-quick-row{
    gap:7px !important;
    padding:8px !important;
    border-radius:13px !important;
  }
  .epm-project-task-quick-row label span{
    font-size:10px !important;
    margin-bottom:4px !important;
  }
  .epm-project-task-quick-row input,
  .epm-project-task-quick-row select{
    min-height:34px !important;
    padding:7px 9px !important;
    border-radius:11px !important;
    font-size:12px !important;
  }
}


/* v2.13.7.54 - Mobile task card actions moved next to drag handle */
.epm-task-mobile-actions{display:none;}
@media (max-width: 782px){
  .epm-task-sort-table tr.epm-task-sort-row{
    display:grid !important;
    grid-template-columns:auto auto 1fr !important;
    gap:4px 6px !important;
    align-items:center !important;
  }
  .epm-task-sort-table tr.epm-task-sort-row td:nth-child(1){
    grid-column:1 !important;
    grid-row:1 !important;
    width:auto !important;
  }
  .epm-task-sort-table tr.epm-task-sort-row td:nth-child(2){
    grid-column:2 / -1 !important;
    grid-row:1 !important;
    width:100% !important;
    display:flex !important;
    align-items:center !important;
    gap:7px !important;
    padding:0 2px 2px !important;
  }
  .epm-task-sort-table .epm-drag-handle{
    justify-content:flex-start !important;
    background:transparent !important;
    min-width:0 !important;
    min-height:28px !important;
    border-radius:0 !important;
    font-size:18px !important;
    line-height:1 !important;
  }
  .epm-task-mobile-actions{
    display:inline-flex !important;
    align-items:center !important;
    gap:6px !important;
    margin-left:4px !important;
  }
  .epm-task-mobile-actions .epm-link{
    font-size:10px !important;
    line-height:1 !important;
    padding:5px 7px !important;
    border-radius:999px !important;
    background:#eef5ea !important;
    text-decoration:none !important;
  }
  .epm-task-mobile-actions .epm-danger{
    background:#fff0f0 !important;
  }
  .epm-task-sort-table tr.epm-task-sort-row td:nth-child(3){
    grid-column:1 / -1 !important;
    grid-row:2 !important;
    padding:0 2px 2px !important;
  }
  .epm-task-sort-table tr.epm-task-sort-row td:nth-child(4){
    grid-column:1 / -1 !important;
    grid-row:3 !important;
    padding:0 2px !important;
  }
  .epm-task-sort-table tr.epm-task-sort-row td:nth-child(5){
    display:none !important;
  }
}


/* v2.13.7.55 - Compact task page header/form for mobile */
@media (max-width: 782px){
  .epm-workspace .epm-tasks-page-title{
    font-size:15px !important;
    line-height:1.1 !important;
    margin:4px 0 6px !important;
    padding:0 !important;
  }
  .epm-workspace .epm-subpanel:has(.epm-task-form-title){
    padding:8px 9px !important;
    margin:6px 0 8px !important;
    border-radius:12px !important;
  }
  .epm-workspace .epm-task-form-title{
    font-size:13px !important;
    line-height:1.1 !important;
    margin:0 0 7px !important;
    padding:0 !important;
    text-transform:none !important;
    letter-spacing:0 !important;
    font-weight:800 !important;
  }
  .epm-workspace .epm-subpanel:has(.epm-task-form-title) .epm-form-grid{
    gap:6px !important;
    margin:0 !important;
  }
  .epm-workspace .epm-subpanel:has(.epm-task-form-title) label{
    margin:0 0 6px !important;
  }
  .epm-workspace .epm-subpanel:has(.epm-task-form-title) label span{
    font-size:10px !important;
    line-height:1 !important;
    margin-bottom:3px !important;
  }
  .epm-workspace .epm-subpanel:has(.epm-task-form-title) input,
  .epm-workspace .epm-subpanel:has(.epm-task-form-title) select,
  .epm-workspace .epm-subpanel:has(.epm-task-form-title) textarea{
    min-height:32px !important;
    padding:6px 8px !important;
    border-radius:10px !important;
    font-size:12px !important;
    line-height:1.15 !important;
  }
  .epm-workspace .epm-subpanel:has(.epm-task-form-title) textarea{
    min-height:46px !important;
    rows:2;
  }
  .epm-workspace .epm-subpanel:has(.epm-task-form-title) .epm-actions{
    margin-top:4px !important;
    gap:6px !important;
  }
  .epm-workspace .epm-subpanel:has(.epm-task-form-title) .epm-btn{
    min-height:32px !important;
    padding:7px 10px !important;
    border-radius:11px !important;
    font-size:11px !important;
    line-height:1 !important;
  }
  .epm-workspace .epm-assigned-tasks-title{
    font-size:13px !important;
    line-height:1.1 !important;
    margin:8px 0 3px !important;
  }
  .epm-workspace .epm-assigned-tasks-title + .epm-muted-note{
    font-size:10px !important;
    line-height:1.15 !important;
    margin:0 0 6px !important;
  }
}


/* v2.13.7.57 - Tasks form: keep only one visible title and save button */
.epm-visually-hidden{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  padding:0 !important;
  margin:-1px !important;
  overflow:hidden !important;
  clip:rect(0,0,0,0) !important;
  white-space:nowrap !important;
  border:0 !important;
}
.epm-task-select-label select{
  margin-top:0 !important;
}

/* v2.13.7.57 - Mobile task card: order number and hours on the same line */
@media (max-width: 782px){
  .epm-task-sort-table tr.epm-task-sort-row{
    grid-template-columns:auto auto 1fr auto !important;
    gap:3px 6px !important;
  }
  .epm-task-sort-table tr.epm-task-sort-row td:nth-child(1){
    grid-column:1 !important;
    grid-row:1 !important;
    align-self:center !important;
  }
  .epm-task-sort-table tr.epm-task-sort-row td:nth-child(2){
    grid-column:2 / 4 !important;
    grid-row:1 !important;
    align-self:center !important;
    min-width:0 !important;
  }
  .epm-task-sort-table tr.epm-task-sort-row td:nth-child(4){
    grid-column:4 !important;
    grid-row:1 !important;
    align-self:center !important;
    justify-self:end !important;
    text-align:right !important;
    white-space:nowrap !important;
    padding:0 2px !important;
    font-size:10.5px !important;
  }
  .epm-task-sort-table tr.epm-task-sort-row td:nth-child(3){
    grid-column:1 / -1 !important;
    grid-row:2 !important;
  }
}


/* v2.13.7.58 - Real mobile fix: σειρά και ώρες στην ίδια γραμμή */
.epm-task-mobile-hours{display:none;}
@media (max-width: 782px){
  .epm-task-sort-table tr.epm-task-sort-row{
    display:grid !important;
    grid-template-columns:auto 1fr !important;
    gap:3px 6px !important;
    align-items:center !important;
  }
  .epm-task-sort-table tr.epm-task-sort-row td:nth-child(1){
    grid-column:1 !important;
    grid-row:1 !important;
    width:auto !important;
    max-width:none !important;
    display:inline-flex !important;
    align-items:center !important;
    gap:6px !important;
    padding:0 2px 2px !important;
    white-space:nowrap !important;
  }
  .epm-task-order-index{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-width:18px !important;
    font-size:11px !important;
    font-weight:900 !important;
    color:var(--epm-muted) !important;
  }
  .epm-task-mobile-hours{
    display:inline-flex !important;
    align-items:center !important;
    padding:3px 7px !important;
    border-radius:999px !important;
    background:#eef5ea !important;
    color:var(--epm-graphite) !important;
    font-size:10px !important;
    font-weight:900 !important;
    line-height:1 !important;
  }
  .epm-task-sort-table tr.epm-task-sort-row td:nth-child(2){
    grid-column:2 !important;
    grid-row:1 !important;
    width:auto !important;
    max-width:100% !important;
    min-width:0 !important;
    display:flex !important;
    align-items:center !important;
    gap:6px !important;
    padding:0 2px 2px !important;
  }
  .epm-task-sort-table tr.epm-task-sort-row td:nth-child(3){
    grid-column:1 / -1 !important;
    grid-row:2 !important;
    padding:0 2px 2px !important;
  }
  .epm-task-sort-table tr.epm-task-sort-row td:nth-child(4){
    display:none !important;
  }
  .epm-task-sort-table tr.epm-task-sort-row td:nth-child(5){
    display:none !important;
  }
}

/* v2.13.7.59 - Real fix: task form hours/order same row + horizontal workspace tabs on mobile */
@media (max-width: 782px){
  /* Workspace submenu: Επισκόπιση / Εργασίες / Οικονομικά κλπ like central menu */
  .epm-workspace .epm-tabs{
    display:flex !important;
    flex-wrap:nowrap !important;
    gap:6px !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    -webkit-overflow-scrolling:touch !important;
    scroll-snap-type:x proximity !important;
    padding:4px 2px 8px !important;
    margin:8px 0 10px !important;
    max-width:100% !important;
  }
  .epm-workspace .epm-tabs::-webkit-scrollbar{
    height:4px !important;
  }
  .epm-workspace .epm-tabs a{
    flex:0 0 auto !important;
    white-space:nowrap !important;
    scroll-snap-align:start !important;
    font-size:11px !important;
    line-height:1 !important;
    padding:8px 10px !important;
    min-height:30px !important;
    border-radius:999px !important;
  }

  /* Προσθήκη εργασίας: η Ώρα/Ώρες και η Σειρά μπαίνουν στην ίδια γραμμή */
  .epm-workspace .epm-subpanel:has(.epm-task-form-title) .epm-form-grid{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
    gap:6px !important;
    align-items:end !important;
  }
  .epm-workspace .epm-subpanel:has(.epm-task-form-title) .epm-task-select-label{
    grid-column:1 / -1 !important;
  }
  .epm-workspace .epm-subpanel:has(.epm-task-form-title) .epm-form-grid label:not(.epm-task-select-label){
    min-width:0 !important;
  }
  .epm-workspace .epm-subpanel:has(.epm-task-form-title) .epm-form-grid label:not(.epm-task-select-label) input{
    width:100% !important;
  }

  /* Κάρτες εργασιών: αριθμός σειράς και ώρες στην ίδια γραμμή, σίγουρα */
  .epm-task-sort-table tr.epm-task-sort-row{
    display:grid !important;
    grid-template-columns:auto minmax(0,1fr) !important;
    grid-template-areas:
      "order handle"
      "title title" !important;
    gap:3px 6px !important;
    align-items:center !important;
  }
  .epm-task-sort-table tr.epm-task-sort-row td.epm-task-order-number,
  .epm-task-sort-table tr.epm-task-sort-row td:nth-child(1){
    grid-area:order !important;
    display:inline-flex !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:5px !important;
    white-space:nowrap !important;
    width:auto !important;
    max-width:none !important;
    padding:0 2px !important;
  }
  .epm-task-order-index{
    display:inline-flex !important;
    min-width:18px !important;
    line-height:1 !important;
  }
  .epm-task-mobile-hours{
    display:inline-flex !important;
    align-items:center !important;
    white-space:nowrap !important;
    font-size:10px !important;
    line-height:1 !important;
    padding:3px 6px !important;
    border-radius:999px !important;
    background:#eef5ea !important;
    color:var(--epm-graphite) !important;
    font-weight:900 !important;
  }
  .epm-task-sort-table tr.epm-task-sort-row td.epm-drag-handle,
  .epm-task-sort-table tr.epm-task-sort-row td:nth-child(2){
    grid-area:handle !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:6px !important;
    min-width:0 !important;
    width:auto !important;
    padding:0 2px !important;
  }
  .epm-task-sort-table tr.epm-task-sort-row td:nth-child(3){
    grid-area:title !important;
    display:block !important;
    min-width:0 !important;
    padding:1px 2px 0 !important;
  }
  .epm-task-sort-table tr.epm-task-sort-row td:nth-child(4),
  .epm-task-sort-table tr.epm-task-sort-row td:nth-child(5){
    display:none !important;
  }
}

/* v2.13.7.62 - Collapsible latest daily reports with project filter */
.epm-reports-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.epm-reports-head h2{margin:0}
.epm-btn-small{padding:7px 12px;font-size:12px;line-height:1.1}
.epm-report-filter{margin:8px 0 12px}
.epm-report-filter label{display:block;max-width:420px}
.epm-report-filter span{display:block;font-weight:700;margin-bottom:5px;font-size:12px;color:#334155}
.epm-report-filter select{width:100%;padding:9px 10px;border:1px solid #cbd5e1;border-radius:10px;background:#fff}
.epm-report-list{display:grid;gap:8px}
.epm-report-item{border:1px solid #e2e8f0;border-radius:12px;background:#fff;overflow:hidden}
.epm-report-summary{cursor:pointer;display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;padding:10px 12px;font-weight:700;list-style:none}
.epm-report-summary::-webkit-details-marker{display:none}
.epm-report-summary:before{content:'▸';font-size:12px;color:#64748b;margin-right:-4px}
.epm-report-item[open] .epm-report-summary:before{content:'▾'}
.epm-report-date{font-size:12px;color:#475569;white-space:nowrap}
.epm-report-project{font-size:14px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.epm-report-status{font-size:11px;white-space:nowrap}
.epm-report-details{border-top:1px solid #e2e8f0;padding:10px 12px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px;font-size:13px;color:#334155}
.epm-report-full,.epm-report-actions{grid-column:1/-1}
.epm-report-actions{display:flex;align-items:center;gap:14px;padding-top:4px}
.epm-report-actions form{margin:0}
.epm-empty{padding:12px;border:1px dashed #cbd5e1;border-radius:12px;color:#64748b;background:#f8fafc}
@media (max-width: 782px){
  .epm-reports-latest-panel{padding:10px!important}
  .epm-reports-head{margin-bottom:6px}
  .epm-reports-head h2{font-size:15px!important;line-height:1.15!important}
  .epm-btn-small{padding:6px 9px!important;font-size:11px!important;border-radius:9px!important}
  .epm-report-filter{margin:6px 0 8px!important}
  .epm-report-filter span{font-size:11px!important;margin-bottom:3px!important}
  .epm-report-filter select{padding:7px 8px!important;font-size:12px!important;border-radius:9px!important}
  .epm-report-list{gap:6px!important}
  .epm-report-summary{grid-template-columns:auto 1fr;gap:5px 8px;padding:7px 9px!important}
  .epm-report-summary:before{grid-row:1 / span 2;align-self:center}
  .epm-report-date{font-size:11px!important}
  .epm-report-project{font-size:12px!important;line-height:1.15!important}
  .epm-report-status{grid-column:2;justify-self:start;font-size:10px!important;padding:2px 6px!important}
  .epm-report-details{grid-template-columns:1fr!important;padding:7px 9px!important;gap:5px!important;font-size:11.5px!important;line-height:1.25!important}
  .epm-report-actions{gap:12px!important;font-size:12px!important}
}

/* v78 - Daily report 2B: one picker + fixed added task list */
.epm-daily-task-picker-row { align-items: end; }
.epm-daily-fixed-task-title { display:flex; flex-direction:column; gap:4px; min-width:0; }
.epm-daily-fixed-task-title span { font-size:12px; font-weight:700; color:#5b6770; }
.epm-daily-fixed-task-title strong { font-size:15px; line-height:1.25; word-break:break-word; }
@media (max-width: 700px) {
  .epm-daily-task-picker-row { display:grid !important; grid-template-columns:1fr !important; gap:8px !important; }
  .epm-mobile-daily-task-row { display:grid !important; grid-template-columns:1fr !important; gap:8px !important; }
  .epm-daily-fixed-task-title strong { font-size:13px !important; }
}


/* v87 - Project edit button and no task-assignment block on project edit forms */
.epm-edit-project-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top:6px;
  padding:5px 10px;
  border-radius:999px;
  background:#fff3d6;
  color:#9a5a00!important;
  border:1px solid #ffd48a;
  text-decoration:none!important;
  font-weight:900;
}
.epm-edit-project-link:hover{
  background:#ffe4ad;
  color:#6f3f00!important;
  text-decoration:none!important;
}
@media(max-width:782px){
  .epm-edit-project-link{
    padding:4px 8px;
    font-size:11px;
    margin-top:4px;
  }
}

/* v2.13.7.88 - Compact, professional Αρχική project list */
.epm-executive .epm-panel:has(.epm-dashboard-projects){
  padding:18px !important;
  border-radius:20px !important;
}
.epm-executive .epm-panel:has(.epm-dashboard-projects) .epm-panel-head{
  margin-bottom:8px !important;
}
.epm-dashboard-projects{
  border-spacing:0 6px !important;
  table-layout:fixed !important;
  width:100% !important;
}
.epm-dashboard-projects th{
  padding:5px 7px !important;
  font-size:10.5px !important;
  line-height:1.15 !important;
  font-weight:900 !important;
}
.epm-dashboard-projects td{
  padding:7px 7px !important;
  font-size:12px !important;
  line-height:1.22 !important;
  vertical-align:middle !important;
  overflow-wrap:anywhere !important;
  word-break:normal !important;
}
.epm-dashboard-projects th:nth-child(1),
.epm-dashboard-projects td:nth-child(1){width:22% !important;min-width:0 !important;max-width:none !important;}
.epm-dashboard-projects th:nth-child(2),
.epm-dashboard-projects td:nth-child(2){width:10% !important;min-width:0 !important;max-width:none !important;}
.epm-dashboard-projects th:nth-child(3),
.epm-dashboard-projects td:nth-child(3){width:13% !important;min-width:0 !important;max-width:none !important;}
.epm-dashboard-projects th:nth-child(4),
.epm-dashboard-projects td:nth-child(4){width:10% !important;min-width:0 !important;max-width:none !important;}
.epm-dashboard-projects th:nth-child(5),
.epm-dashboard-projects td:nth-child(5),
.epm-dashboard-projects th:nth-child(6),
.epm-dashboard-projects td:nth-child(6),
.epm-dashboard-projects th:nth-child(7),
.epm-dashboard-projects td:nth-child(7),
.epm-dashboard-projects th:nth-child(8),
.epm-dashboard-projects td:nth-child(8){width:8.5% !important;min-width:0 !important;max-width:none !important;}
.epm-dashboard-projects th:nth-child(9),
.epm-dashboard-projects td:nth-child(9){width:11% !important;min-width:0 !important;max-width:none !important;}
.epm-dashboard-projects th:nth-child(10),
.epm-dashboard-projects td:nth-child(10){width:9% !important;min-width:0 !important;max-width:none !important;}
.epm-dashboard-projects .epm-project-title-text{
  font-size:13px !important;
  line-height:1.15 !important;
  display:inline !important;
}
.epm-dashboard-projects td:first-child small{
  display:block !important;
  font-size:10.5px !important;
  line-height:1.15 !important;
  margin-top:2px !important;
  color:#68736d !important;
}
.epm-dashboard-projects .epm-dashboard-drag-handle{
  min-width:28px !important;
  min-height:28px !important;
  font-size:16px !important;
  border-radius:9px !important;
  margin-right:5px !important;
  vertical-align:middle !important;
}
.epm-dashboard-projects .epm-dashboard-drag-handle::after{
  font-size:12px !important;
  margin-left:2px !important;
}
.epm-dashboard-projects .epm-today-report{
  font-size:11px !important;
  padding:4px 7px !important;
  line-height:1.15 !important;
}
.epm-dashboard-projects .epm-today-report small{
  font-size:10px !important;
}
.epm-dashboard-projects .epm-project-state-box{
  width:auto !important;
  min-width:0 !important;
  gap:4px !important;
}
.epm-dashboard-projects .epm-project-state-box > strong{
  font-size:11px !important;
  line-height:1.15 !important;
}
.epm-dashboard-projects .epm-project-state-actions{
  gap:3px !important;
}
.epm-dashboard-projects .epm-status-action{
  padding:3px 6px !important;
  font-size:9.5px !important;
  line-height:1.05 !important;
}
.epm-dashboard-projects .epm-progress{
  height:7px !important;
  min-width:0 !important;
  width:100% !important;
}
.epm-dashboard-projects .epm-status{
  padding:4px 7px !important;
  font-size:10.5px !important;
  line-height:1.1 !important;
  max-width:100% !important;
}
.epm-dashboard-projects td:nth-child(9) small{
  max-width:100% !important;
  font-size:10.5px !important;
  line-height:1.18 !important;
  display:-webkit-box !important;
  -webkit-line-clamp:2 !important;
  -webkit-box-orient:vertical !important;
  overflow:hidden !important;
}
.epm-dashboard-projects td:nth-child(10) .epm-link{
  display:inline-block !important;
  font-size:11px !important;
  line-height:1.1 !important;
  margin:1px 0 !important;
}
.epm-edit-project-link{
  color:#8a5a00 !important;
}

@media (max-width: 782px){
  .epm-executive .epm-panel:has(.epm-dashboard-projects){
    padding:10px !important;
    border-radius:16px !important;
    margin-top:10px !important;
  }
  .epm-executive .epm-panel:has(.epm-dashboard-projects) .epm-panel-head{
    gap:6px !important;
    margin-bottom:6px !important;
  }
  .epm-executive .epm-panel:has(.epm-dashboard-projects) .epm-panel-head h2{
    font-size:17px !important;
    line-height:1.1 !important;
  }
  .epm-dashboard-table-wrap{
    overflow-x:hidden !important;
    overflow-y:visible !important;
  }
  .epm-dashboard-projects{
    display:block !important;
    width:100% !important;
    min-width:0 !important;
    border-spacing:0 !important;
  }
  .epm-dashboard-projects thead{
    display:none !important;
  }
  .epm-dashboard-projects tbody{
    display:block !important;
    width:100% !important;
  }
  .epm-dashboard-projects tr.epm-dashboard-sort-row{
    display:grid !important;
    grid-template-columns:1fr auto !important;
    gap:6px 8px !important;
    padding:8px !important;
    margin:0 0 8px !important;
    border:1px solid var(--epm-border) !important;
    border-radius:14px !important;
    background:#fbfcf8 !important;
    box-shadow:0 6px 18px rgba(32,40,35,.035) !important;
    overflow:hidden !important;
  }
  .epm-dashboard-projects td{
    display:block !important;
    width:auto !important;
    min-width:0 !important;
    max-width:100% !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    font-size:11.5px !important;
    line-height:1.18 !important;
    overflow-wrap:anywhere !important;
  }
  .epm-dashboard-projects td:nth-child(1){
    grid-column:1 / -1 !important;
    display:flex !important;
    align-items:center !important;
    gap:5px !important;
  }
  .epm-dashboard-projects td:nth-child(1) .epm-project-title-text{
    flex:1 1 auto !important;
    min-width:0 !important;
    font-size:13px !important;
    line-height:1.12 !important;
  }
  .epm-dashboard-projects td:nth-child(1) small{
    font-size:10px !important;
    line-height:1.1 !important;
    margin-top:2px !important;
  }
  .epm-dashboard-projects .epm-dashboard-drag-handle{
    flex:0 0 auto !important;
    min-width:30px !important;
    min-height:30px !important;
    font-size:16px !important;
    margin-right:1px !important;
  }
  .epm-dashboard-projects .epm-dashboard-drag-handle::after{
    font-size:12px !important;
    margin-left:2px !important;
  }
  .epm-dashboard-projects td:nth-child(2){
    grid-column:1 / 2 !important;
    align-self:center !important;
  }
  .epm-dashboard-projects td:nth-child(3){
    grid-column:2 / 3 !important;
    align-self:center !important;
    justify-self:end !important;
  }
  .epm-dashboard-projects td:nth-child(4){
    grid-column:1 / -1 !important;
  }
  .epm-dashboard-projects td:nth-child(5),
  .epm-dashboard-projects td:nth-child(6),
  .epm-dashboard-projects td:nth-child(7),
  .epm-dashboard-projects td:nth-child(8){
    display:none !important;
  }
  .epm-dashboard-projects td:nth-child(9){
    grid-column:1 / 2 !important;
    align-self:center !important;
  }
  .epm-dashboard-projects td:nth-child(9) small{
    display:none !important;
  }
  .epm-dashboard-projects td:nth-child(10){
    grid-column:2 / 3 !important;
    display:flex !important;
    gap:6px !important;
    align-items:center !important;
    justify-content:flex-end !important;
  }
  .epm-dashboard-projects td:nth-child(10) br{
    display:none !important;
  }
  .epm-dashboard-projects td:nth-child(10) .epm-link{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-height:27px !important;
    padding:5px 8px !important;
    border-radius:999px !important;
    background:#eef6e8 !important;
    font-size:10.5px !important;
    line-height:1 !important;
    white-space:nowrap !important;
    text-decoration:none !important;
  }
  .epm-dashboard-projects td:nth-child(10) .epm-edit-project-link{
    background:#fff5dc !important;
    color:#7a4d00 !important;
  }
  .epm-dashboard-projects .epm-today-report{
    padding:4px 6px !important;
    font-size:10.5px !important;
    line-height:1.05 !important;
  }
  .epm-dashboard-projects .epm-project-state-box{
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:4px !important;
    width:auto !important;
  }
  .epm-dashboard-projects .epm-project-led{
    width:8px !important;
    height:8px !important;
  }
  .epm-dashboard-projects .epm-project-state-box > strong{
    font-size:10.5px !important;
    white-space:nowrap !important;
  }
  .epm-dashboard-projects .epm-project-state-actions{
    display:flex !important;
    flex-direction:row !important;
    gap:3px !important;
  }
  .epm-dashboard-projects .epm-status-action{
    padding:3px 5px !important;
    font-size:9px !important;
  }
  .epm-dashboard-projects .epm-progress{
    height:6px !important;
  }
  .epm-dashboard-projects td:nth-child(4) small{
    display:block !important;
    margin-top:2px !important;
    font-size:10px !important;
    line-height:1 !important;
  }
  .epm-dashboard-projects .epm-status{
    padding:4px 6px !important;
    font-size:10px !important;
    line-height:1 !important;
    white-space:nowrap !important;
  }
}

@media (max-width: 430px){
  .epm-dashboard-projects tr.epm-dashboard-sort-row{
    gap:5px 6px !important;
    padding:7px !important;
  }
  .epm-dashboard-projects td:nth-child(2),
  .epm-dashboard-projects td:nth-child(3),
  .epm-dashboard-projects td:nth-child(9),
  .epm-dashboard-projects td:nth-child(10){
    grid-column:1 / -1 !important;
    justify-self:stretch !important;
  }
  .epm-dashboard-projects td:nth-child(10){
    justify-content:flex-start !important;
  }
}

/* v2.13.7.89 - Real mobile fix for Αρχική / Λίστα έργων cards
   Keeps desktop compact table intact. Mobile becomes clean stacked cards. */
@media (max-width: 782px){
  html, body,
  #wpwrap, #wpcontent, #wpbody, #wpbody-content,
  .wrap.epm-wrap,
  .epm-wrap,
  .epm-executive,
  .epm-executive *{
    box-sizing:border-box !important;
  }

  .epm-executive .epm-panel:has(.epm-dashboard-projects){
    padding:10px !important;
    border-radius:18px !important;
    overflow:visible !important;
  }

  .epm-dashboard-table-wrap,
  .epm-table-wrap:has(.epm-dashboard-projects){
    width:100% !important;
    max-width:100% !important;
    overflow-x:hidden !important;
    overflow-y:visible !important;
  }

  .epm-dashboard-projects,
  .epm-dashboard-projects tbody{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    table-layout:auto !important;
    border-spacing:0 !important;
  }

  .epm-dashboard-projects thead{display:none !important;}

  .epm-dashboard-projects tr.epm-dashboard-sort-row{
    display:flex !important;
    flex-direction:column !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    padding:11px !important;
    margin:0 0 10px !important;
    gap:0 !important;
    border:1px solid rgba(12,30,20,.10) !important;
    border-radius:18px !important;
    background:#fbfcf8 !important;
    box-shadow:0 8px 22px rgba(20,32,24,.06) !important;
    overflow:hidden !important;
  }

  .epm-dashboard-projects td,
  .epm-dashboard-projects td:nth-child(1),
  .epm-dashboard-projects td:nth-child(2),
  .epm-dashboard-projects td:nth-child(3),
  .epm-dashboard-projects td:nth-child(4),
  .epm-dashboard-projects td:nth-child(5),
  .epm-dashboard-projects td:nth-child(6),
  .epm-dashboard-projects td:nth-child(7),
  .epm-dashboard-projects td:nth-child(8),
  .epm-dashboard-projects td:nth-child(9),
  .epm-dashboard-projects td:nth-child(10){
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    padding:0 !important;
    white-space:normal !important;
    overflow-wrap:break-word !important;
    word-break:normal !important;
  }

  /* Hide heavy financial columns on mobile. */
  .epm-dashboard-projects td:nth-child(5),
  .epm-dashboard-projects td:nth-child(6),
  .epm-dashboard-projects td:nth-child(7),
  .epm-dashboard-projects td:nth-child(8){
    display:none !important;
  }

  /* Project title row */
  .epm-dashboard-projects td:nth-child(1){
    display:grid !important;
    grid-template-columns:40px 1fr !important;
    grid-template-rows:auto auto !important;
    column-gap:10px !important;
    row-gap:2px !important;
    align-items:center !important;
    margin-bottom:8px !important;
  }
  .epm-dashboard-projects td:nth-child(1) br{display:none !important;}
  .epm-dashboard-projects .epm-dashboard-drag-handle{
    grid-column:1 !important;
    grid-row:1 / span 2 !important;
    width:38px !important;
    height:38px !important;
    min-width:38px !important;
    min-height:38px !important;
    margin:0 !important;
    border-radius:14px !important;
    font-size:20px !important;
  }
  .epm-dashboard-projects .epm-dashboard-drag-handle::after{
    font-size:13px !important;
    margin-left:2px !important;
  }
  .epm-dashboard-projects td:nth-child(1) .epm-project-title-text{
    grid-column:2 !important;
    grid-row:1 !important;
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    font-size:15px !important;
    line-height:1.18 !important;
    letter-spacing:0 !important;
    white-space:normal !important;
    overflow-wrap:break-word !important;
    word-break:normal !important;
  }
  .epm-dashboard-projects td:nth-child(1) .epm-project-title-text strong{
    display:block !important;
    white-space:normal !important;
    overflow-wrap:break-word !important;
    word-break:normal !important;
  }
  .epm-dashboard-projects td:nth-child(1) small{
    grid-column:2 !important;
    grid-row:2 !important;
    display:block !important;
    width:100% !important;
    font-size:12px !important;
    line-height:1.15 !important;
    color:#66736d !important;
    white-space:normal !important;
    overflow-wrap:break-word !important;
    word-break:normal !important;
    margin:0 !important;
  }

  /* Compact info rows */
  .epm-dashboard-projects td:nth-child(2),
  .epm-dashboard-projects td:nth-child(3),
  .epm-dashboard-projects td:nth-child(4),
  .epm-dashboard-projects td:nth-child(9){
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:12px !important;
    padding:7px 0 !important;
    border-top:1px solid rgba(12,30,20,.07) !important;
    font-size:12px !important;
    line-height:1.2 !important;
  }
  .epm-dashboard-projects td:nth-child(2)::before,
  .epm-dashboard-projects td:nth-child(3)::before,
  .epm-dashboard-projects td:nth-child(4)::before,
  .epm-dashboard-projects td:nth-child(9)::before{
    flex:0 0 auto !important;
    color:#6b766f !important;
    font-size:11px !important;
    line-height:1 !important;
    font-weight:900 !important;
  }
  .epm-dashboard-projects td:nth-child(2)::before{content:'Ημ. δελτίο';}
  .epm-dashboard-projects td:nth-child(3)::before{content:'Κατάσταση';}
  .epm-dashboard-projects td:nth-child(4)::before{content:'Πρόοδος';}
  .epm-dashboard-projects td:nth-child(9)::before{content:'Ένδειξη';}

  .epm-dashboard-projects .epm-today-report{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    max-width:70% !important;
    padding:5px 8px !important;
    border-radius:999px !important;
    font-size:11px !important;
    line-height:1.05 !important;
    text-align:center !important;
    white-space:normal !important;
    word-break:normal !important;
  }
  .epm-dashboard-projects .epm-today-report small{
    display:inline !important;
    font-size:10px !important;
    margin-left:4px !important;
  }

  .epm-dashboard-projects .epm-project-state-box{
    display:flex !important;
    flex-wrap:wrap !important;
    justify-content:flex-end !important;
    align-items:center !important;
    gap:5px !important;
    width:auto !important;
    min-width:0 !important;
    max-width:75% !important;
  }
  .epm-dashboard-projects .epm-project-state-box > strong{
    font-size:11.5px !important;
    line-height:1.1 !important;
    white-space:normal !important;
  }
  .epm-dashboard-projects .epm-project-led{
    width:9px !important;
    height:9px !important;
    min-width:9px !important;
  }
  .epm-dashboard-projects .epm-project-state-actions{
    display:flex !important;
    flex-wrap:wrap !important;
    justify-content:flex-end !important;
    gap:4px !important;
    width:100% !important;
  }
  .epm-dashboard-projects .epm-status-action{
    padding:4px 6px !important;
    border-radius:8px !important;
    font-size:10px !important;
    line-height:1 !important;
    white-space:nowrap !important;
  }

  .epm-dashboard-projects td:nth-child(4){
    display:grid !important;
    grid-template-columns:auto 1fr auto !important;
    align-items:center !important;
  }
  .epm-dashboard-projects td:nth-child(4)::before{grid-column:1 !important;}
  .epm-dashboard-projects td:nth-child(4) .epm-progress{
    grid-column:2 !important;
    height:7px !important;
    width:100% !important;
    min-width:0 !important;
  }
  .epm-dashboard-projects td:nth-child(4) small{
    grid-column:3 !important;
    font-size:11px !important;
    line-height:1 !important;
    margin:0 !important;
    white-space:nowrap !important;
  }

  .epm-dashboard-projects td:nth-child(9) small{display:none !important;}
  .epm-dashboard-projects td:nth-child(9) .epm-status{
    display:inline-flex !important;
    max-width:70% !important;
    padding:5px 8px !important;
    border-radius:999px !important;
    font-size:11px !important;
    line-height:1.05 !important;
    text-align:center !important;
    white-space:normal !important;
    overflow-wrap:break-word !important;
    word-break:normal !important;
  }

  /* Actions */
  .epm-dashboard-projects td:nth-child(10){
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:8px !important;
    padding-top:9px !important;
    border-top:1px solid rgba(12,30,20,.07) !important;
  }
  .epm-dashboard-projects td:nth-child(10) br{display:none !important;}
  .epm-dashboard-projects td:nth-child(10) .epm-link{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-height:32px !important;
    padding:7px 11px !important;
    border-radius:999px !important;
    font-size:12px !important;
    line-height:1 !important;
    white-space:nowrap !important;
    text-decoration:none !important;
  }
  .epm-dashboard-projects td:nth-child(10) .epm-link:not(.epm-edit-project-link){
    background:#eef8e9 !important;
    color:#087b36 !important;
  }
  .epm-dashboard-projects td:nth-child(10) .epm-edit-project-link{
    background:#fff5dc !important;
    color:#7a4d00 !important;
    border:1px solid #ffd48a !important;
  }
}

@media (max-width: 430px){
  .epm-dashboard-projects tr.epm-dashboard-sort-row{
    padding:10px !important;
    margin-bottom:9px !important;
  }
  .epm-dashboard-projects td:nth-child(1){
    grid-template-columns:38px 1fr !important;
    column-gap:9px !important;
  }
  .epm-dashboard-projects td:nth-child(1) .epm-project-title-text{
    font-size:14px !important;
  }
  .epm-dashboard-projects td:nth-child(2),
  .epm-dashboard-projects td:nth-child(3),
  .epm-dashboard-projects td:nth-child(4),
  .epm-dashboard-projects td:nth-child(9){
    gap:8px !important;
  }
}

/* v2.13.7.91 - Mobile project tasks: same functional logic as desktop, compact layout only */
@media (max-width: 782px){
  .epm-workspace-tab-tasks .epm-task-sort-table{
    display:block !important;
    width:100% !important;
    min-width:0 !important;
  }
  .epm-workspace-tab-tasks .epm-task-sort-table tbody{
    display:grid !important;
    gap:8px !important;
    width:100% !important;
  }
  .epm-workspace-tab-tasks .epm-task-sort-table thead{
    display:none !important;
  }
  .epm-workspace-tab-tasks .epm-task-sort-table tr.epm-task-sort-row{
    display:grid !important;
    grid-template-columns:auto minmax(0,1fr) !important;
    grid-template-areas:
      "order handle"
      "title title" !important;
    align-items:center !important;
    gap:5px 7px !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin:0 !important;
    padding:9px !important;
    border:1px solid var(--epm-border) !important;
    border-radius:14px !important;
    background:#fbfcf8 !important;
    box-sizing:border-box !important;
    overflow:hidden !important;
  }
  .epm-workspace-tab-tasks .epm-task-sort-table tr.epm-task-sort-row td{
    border:0 !important;
    background:transparent !important;
    box-sizing:border-box !important;
    min-width:0 !important;
    max-width:100% !important;
    width:auto !important;
    padding:0 !important;
    white-space:normal !important;
    overflow-wrap:anywhere !important;
  }
  .epm-workspace-tab-tasks .epm-task-sort-table td.epm-task-order-number{
    grid-area:order !important;
    display:inline-flex !important;
    flex-direction:row !important;
    align-items:center !important;
    gap:6px !important;
    white-space:nowrap !important;
  }
  .epm-workspace-tab-tasks .epm-task-order-index{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-width:24px !important;
    min-height:24px !important;
    border-radius:999px !important;
    background:#eef5ea !important;
    color:var(--epm-graphite) !important;
    font-weight:900 !important;
    font-size:12px !important;
  }
  .epm-workspace-tab-tasks .epm-task-mobile-hours{
    display:inline-flex !important;
    align-items:center !important;
    white-space:nowrap !important;
    font-size:11px !important;
    line-height:1 !important;
    padding:5px 7px !important;
    border-radius:999px !important;
    background:#f2f7ec !important;
    color:var(--epm-muted) !important;
    font-weight:800 !important;
  }
  .epm-workspace-tab-tasks .epm-task-sort-table td.epm-drag-handle{
    grid-area:handle !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:6px !important;
    min-height:30px !important;
    cursor:grab !important;
    touch-action:none !important;
  }
  .epm-workspace-tab-tasks .epm-task-mobile-actions{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:6px !important;
    flex-wrap:wrap !important;
    margin-left:auto !important;
  }
  .epm-workspace-tab-tasks .epm-task-mobile-actions .epm-link{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-height:26px !important;
    padding:6px 8px !important;
    border-radius:999px !important;
    background:#eef5ea !important;
    font-size:10px !important;
    line-height:1 !important;
    text-decoration:none !important;
  }
  .epm-workspace-tab-tasks .epm-task-mobile-actions .epm-danger{
    background:#fff0f0 !important;
  }
  .epm-workspace-tab-tasks .epm-task-sort-table td:nth-child(3){
    grid-area:title !important;
    display:block !important;
    width:100% !important;
  }
  .epm-workspace-tab-tasks .epm-task-sort-table td:nth-child(3) strong{
    display:block !important;
    font-size:13px !important;
    line-height:1.2 !important;
    word-break:normal !important;
    overflow-wrap:anywhere !important;
  }
  .epm-workspace-tab-tasks .epm-task-sort-table td:nth-child(3) small{
    display:block !important;
    margin-top:3px !important;
    font-size:10px !important;
    line-height:1.25 !important;
  }
  .epm-workspace-tab-tasks .epm-task-sort-table td:nth-child(4),
  .epm-workspace-tab-tasks .epm-task-sort-table td:nth-child(5){
    display:none !important;
  }
}

/* v2.13.7.92 - Αποθήκη cleanup + compact mobile inventory cards */
.epm-inventory-page .epm-inventory-hero p,
.epm-inventory-page .epm-inventory-hero .epm-badge{
  display:none !important;
}
.epm-inventory-page .epm-inventory-hero{
  align-items:center;
}

@media (max-width: 782px){
  .epm-inventory-page .epm-hero{
    padding:14px 16px !important;
    border-radius:18px !important;
    margin-bottom:10px !important;
  }
  .epm-inventory-page .epm-hero h1{
    font-size:22px !important;
    line-height:1.1 !important;
    margin:0 !important;
  }
  .epm-inventory-page .epm-panel{
    padding:10px !important;
    border-radius:16px !important;
    margin-top:10px !important;
  }
  .epm-inventory-page .epm-panel h2{
    font-size:18px !important;
    margin:0 0 8px !important;
  }
  .epm-inventory-page .epm-actions{
    margin:8px 0 !important;
  }
  .epm-inventory-page #epm-toggle-inventory-form{
    width:100% !important;
    min-height:38px !important;
    padding:9px 12px !important;
    font-size:13px !important;
  }
  .epm-inventory-page .epm-table-wrap{
    overflow-x:hidden !important;
  }
  .epm-inventory-page .epm-inventory-table,
  .epm-inventory-page .epm-inventory-table tbody{
    display:block !important;
    width:100% !important;
    min-width:0 !important;
  }
  .epm-inventory-page .epm-inventory-table thead{
    display:none !important;
  }
  .epm-inventory-page .epm-inventory-table tr{
    display:grid !important;
    grid-template-columns:1fr auto !important;
    gap:4px 8px !important;
    padding:9px 10px !important;
    margin:0 0 8px !important;
    border:1px solid rgba(12,30,20,.10) !important;
    border-radius:14px !important;
    background:#fbfcf8 !important;
    box-shadow:none !important;
  }
  .epm-inventory-page .epm-inventory-table td{
    display:flex !important;
    width:auto !important;
    max-width:100% !important;
    min-width:0 !important;
    border:0 !important;
    background:transparent !important;
    border-radius:0 !important;
    padding:0 !important;
    font-size:12px !important;
    line-height:1.2 !important;
    white-space:normal !important;
    overflow-wrap:anywhere !important;
    align-items:center !important;
    gap:5px !important;
  }
  .epm-inventory-page .epm-inventory-table td:first-child{
    grid-column:1 / -1 !important;
    display:block !important;
    padding-bottom:3px !important;
  }
  .epm-inventory-page .epm-inventory-table td:first-child strong{
    display:block !important;
    font-size:14px !important;
    line-height:1.15 !important;
    letter-spacing:0 !important;
  }
  .epm-inventory-page .epm-inventory-table td:first-child small{
    display:none !important;
  }
  .epm-inventory-page .epm-inventory-table td:nth-child(2),
  .epm-inventory-page .epm-inventory-table td:nth-child(3),
  .epm-inventory-page .epm-inventory-table td:nth-child(6){
    display:none !important;
  }
  .epm-inventory-page .epm-inventory-table td:nth-child(4)::before{content:'Κόστος:';font-weight:900;color:#66736d;}
  .epm-inventory-page .epm-inventory-table td:nth-child(5)::before{content:'Απόθεμα:';font-weight:900;color:#66736d;}
  .epm-inventory-page .epm-inventory-table td:nth-child(7){
    justify-content:flex-start !important;
  }
  .epm-inventory-page .epm-inventory-table td:nth-child(8){
    grid-column:1 / -1 !important;
    display:flex !important;
    justify-content:flex-end !important;
    gap:10px !important;
    padding-top:4px !important;
  }
  .epm-inventory-page .epm-inventory-table .epm-status{
    padding:4px 8px !important;
    font-size:11px !important;
  }
  .epm-inventory-page .epm-inventory-table .epm-link{
    font-size:12px !important;
    padding:5px 7px !important;
    border-radius:999px !important;
    background:#eef5e7 !important;
    text-decoration:none !important;
  }
  .epm-inventory-page .epm-inventory-table .epm-danger-link{
    background:#fff0f0 !important;
  }
}


/* v2.13.7.95 - Αποθήκη: desktop untouched, compact accordion only on mobile */
.epm-inventory-mobile-list{display:none;}
@media (min-width: 783px){
  .epm-inventory-page .epm-inventory-mobile-list{display:none !important;}
}
@media (max-width: 782px){
  .epm-inventory-page .epm-inventory-desktop-wrap{display:none !important;}
  .epm-inventory-page .epm-inventory-mobile-list{display:block !important;}
  .epm-inventory-page .epm-inventory-mobile-item{
    margin:0 0 6px !important;
    border:1px solid rgba(12,30,20,.10) !important;
    border-radius:12px !important;
    overflow:hidden !important;
    background:#fff !important;
  }
  .epm-inventory-page .epm-inventory-mobile-toggle{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    width:100% !important;
    min-height:38px !important;
    border:0 !important;
    background:#fbfcf8 !important;
    padding:9px 11px !important;
    text-align:left !important;
    color:#102018 !important;
    cursor:pointer !important;
  }
  .epm-inventory-page .epm-inventory-mobile-toggle strong{
    font-size:13px !important;
    line-height:1.18 !important;
    font-weight:850 !important;
  }
  .epm-inventory-page .epm-inventory-mobile-toggle span{
    font-size:12px !important;
    opacity:.7 !important;
    transition:transform .15s ease !important;
  }
  .epm-inventory-page .epm-inventory-open .epm-inventory-mobile-toggle span{
    transform:rotate(180deg) !important;
  }
  .epm-inventory-page .epm-inventory-mobile-details{
    display:none !important;
    border-top:1px solid rgba(12,30,20,.08) !important;
    padding:8px 11px 10px !important;
    font-size:12px !important;
    line-height:1.35 !important;
    color:#43514b !important;
  }
  .epm-inventory-page .epm-inventory-open .epm-inventory-mobile-details{
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:6px 10px !important;
  }
  .epm-inventory-page .epm-inventory-mobile-details b{color:#102018 !important;}
  .epm-inventory-page .epm-inventory-low{color:#a5282d !important;font-weight:900 !important;}
  .epm-inventory-page .epm-inventory-mobile-actions{
    grid-column:1 / -1 !important;
    display:flex !important;
    justify-content:flex-end !important;
    gap:10px !important;
    padding-top:4px !important;
  }
  .epm-inventory-page .epm-inventory-mobile-empty{
    padding:10px 12px !important;
    font-size:13px !important;
    color:#56615c !important;
    background:#fff !important;
    border:1px solid rgba(12,30,20,.10) !important;
    border-radius:12px !important;
  }
}

/* v2.13.7.98 - Αποθήκη: ανάθεση υλικού σε έργο μέσα από την καρτέλα υλικού */
.epm-material-assign-box{
  margin-top:16px;
  padding:14px;
  border:1px solid rgba(12,30,20,.10);
  border-radius:14px;
  background:#fbfcf8;
}
.epm-material-assign-box h3{
  margin:0 0 10px;
  font-size:16px;
  line-height:1.25;
}
.epm-material-assign-form{
  display:grid;
  grid-template-columns:minmax(220px,1fr) auto;
  gap:10px;
  align-items:end;
}
.epm-material-assign-form label{margin:0;}
@media (max-width:782px){
  .epm-inventory-page .epm-inventory-mobile-assign{
    grid-column:1 / -1 !important;
    display:grid !important;
    grid-template-columns:1fr auto !important;
    gap:7px !important;
    align-items:end !important;
    margin-top:4px !important;
    padding-top:7px !important;
    border-top:1px dashed rgba(12,30,20,.14) !important;
  }
  .epm-inventory-page .epm-inventory-mobile-assign label span{
    font-size:11px !important;
    line-height:1.1 !important;
    margin-bottom:3px !important;
  }
  .epm-inventory-page .epm-inventory-mobile-assign select{
    min-height:34px !important;
    padding:6px 9px !important;
    border-radius:10px !important;
    font-size:12px !important;
  }
  .epm-inventory-page .epm-inventory-mobile-assign .epm-btn{
    min-height:34px !important;
    padding:6px 10px !important;
    border-radius:999px !important;
    font-size:12px !important;
    white-space:nowrap !important;
    box-shadow:none !important;
  }
}

/* v2.13.7.101 - Admin Εργασίες: compact accordion list */
.epm-tasks-page .epm-tasks-hero .epm-kicker,
.epm-tasks-page .epm-tasks-hero .epm-badge{display:none !important;}
.epm-tasks-page .epm-tasks-hero{padding:24px 28px !important;}
.epm-tasks-page .epm-tasks-hero h1{margin:0 0 6px !important;}
.epm-tasks-page .epm-tasks-hero p{margin:0 !important;max-width:720px !important;}
.epm-tasks-page .epm-task-editor-panel{padding:18px !important;}
.epm-tasks-page .epm-task-editor-panel > h2{margin:0 0 14px !important;font-size:22px !important;}
.epm-task-accordion{display:grid;gap:8px;}
.epm-task-accordion-item{border:1px solid rgba(12,30,20,.10);border-radius:14px;background:#fff;overflow:hidden;}
.epm-task-accordion-item summary{list-style:none;display:flex;align-items:center;gap:10px;justify-content:space-between;padding:12px 14px;cursor:pointer;user-select:none;}
.epm-task-accordion-item summary::-webkit-details-marker{display:none;}
.epm-task-accordion-title{font-weight:900;color:#102018;line-height:1.25;overflow-wrap:anywhere;}
.epm-task-inactive{margin-left:auto;padding:4px 8px;border-radius:999px;background:#f3f4ef;color:#6b766f;font-size:12px;font-weight:800;white-space:nowrap;}
.epm-task-accordion-open{font-size:12px;font-weight:850;color:#0b7a3a;background:#ecffd8;border-radius:999px;padding:5px 9px;white-space:nowrap;}
.epm-task-accordion-item[open] .epm-task-accordion-open::before{content:'Κλείσιμο';}
.epm-task-accordion-item[open] .epm-task-accordion-open{font-size:0;}
.epm-task-accordion-item[open] .epm-task-accordion-open::before{font-size:12px;}
.epm-task-accordion-body{border-top:1px solid rgba(12,30,20,.08);padding:12px 14px 14px;background:#fbfcf8;}
.epm-task-accordion-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:10px;}
.epm-task-accordion-meta div,.epm-task-accordion-desc{border:1px solid rgba(12,30,20,.08);border-radius:12px;background:#fff;padding:9px 10px;}
.epm-task-accordion-meta span,.epm-task-accordion-desc span{display:block;font-size:12px;font-weight:800;color:#65716c;margin-bottom:4px;}
.epm-task-accordion-meta strong{font-size:14px;color:#102018;}
.epm-task-accordion-desc p{margin:0;color:#26332c;line-height:1.35;overflow-wrap:anywhere;}
.epm-task-accordion-actions{display:flex;gap:14px;justify-content:flex-end;align-items:center;margin-top:10px;}
@media (max-width:782px){
  .epm-tasks-page .epm-tasks-hero{padding:14px 16px !important;border-radius:16px !important;margin-bottom:10px !important;}
  .epm-tasks-page .epm-tasks-hero h1{font-size:24px !important;line-height:1.05 !important;}
  .epm-tasks-page .epm-tasks-hero p{font-size:12px !important;line-height:1.25 !important;}
  .epm-tasks-page .epm-task-editor-panel{padding:12px !important;border-radius:16px !important;margin-bottom:10px !important;}
  .epm-tasks-page .epm-task-editor-panel > h2{font-size:17px !important;margin-bottom:9px !important;}
  .epm-tasks-page .epm-form-grid{gap:8px !important;}
  .epm-tasks-page .epm-form label span{font-size:12px !important;margin-bottom:3px !important;}
  .epm-tasks-page .epm-form input,
  .epm-tasks-page .epm-form textarea{min-height:34px !important;padding:7px 9px !important;font-size:13px !important;border-radius:10px !important;}
  .epm-tasks-page .epm-form textarea{min-height:58px !important;}
  .epm-tasks-page .epm-actions .epm-btn{min-height:34px !important;padding:7px 11px !important;font-size:12px !important;border-radius:999px !important;}
  .epm-tasks-page .epm-task-list-panel{padding:12px !important;border-radius:16px !important;}
  .epm-tasks-page .epm-task-list-panel > h2{font-size:18px !important;margin:0 0 10px !important;}
  .epm-task-accordion{gap:6px !important;}
  .epm-task-accordion-item{border-radius:12px !important;}
  .epm-task-accordion-item summary{padding:9px 10px !important;gap:7px !important;}
  .epm-task-accordion-title{font-size:13px !important;line-height:1.18 !important;}
  .epm-task-inactive{font-size:10px !important;padding:3px 6px !important;}
  .epm-task-accordion-open{font-size:10px !important;padding:4px 7px !important;}
  .epm-task-accordion-item[open] .epm-task-accordion-open::before{font-size:10px !important;}
  .epm-task-accordion-body{padding:8px 10px 10px !important;}
  .epm-task-accordion-meta{grid-template-columns:1fr 1fr !important;gap:6px !important;margin-bottom:6px !important;}
  .epm-task-accordion-meta div,.epm-task-accordion-desc{padding:7px 8px !important;border-radius:10px !important;}
  .epm-task-accordion-meta span,.epm-task-accordion-desc span{font-size:10px !important;margin-bottom:2px !important;}
  .epm-task-accordion-meta strong{font-size:12px !important;}
  .epm-task-accordion-desc p{font-size:12px !important;line-height:1.28 !important;}
  .epm-task-accordion-actions{margin-top:7px !important;gap:10px !important;font-size:12px !important;justify-content:flex-start !important;}
}

/* v2.13.7.103 - Admin Tasks: add/edit form collapsed by default */
.epm-tasks-page .epm-task-form-toggle{
  padding:14px 18px !important;
}
.epm-tasks-page .epm-task-form-toggle:not([open]){
  padding:12px 14px !important;
}
.epm-tasks-page .epm-task-form-summary{
  list-style:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  cursor:pointer;
  user-select:none;
  background:#0d1d16;
  color:#d7ff7a;
  border-radius:12px;
  padding:11px 18px;
  font-weight:950;
  line-height:1.1;
  box-shadow:0 12px 26px rgba(0,0,0,.10);
}
.epm-tasks-page .epm-task-form-summary::-webkit-details-marker{display:none;}
.epm-tasks-page .epm-task-form-toggle[open] .epm-task-form-summary{
  margin-bottom:14px;
}
.epm-tasks-page .epm-task-form-toggle[open] .epm-task-form-summary span::after{
  content:'  ↑';
}
@media (max-width: 760px){
  .epm-tasks-page .epm-task-form-toggle{
    padding:10px !important;
    border-radius:14px !important;
    margin-bottom:10px !important;
  }
  .epm-tasks-page .epm-task-form-summary{
    width:100%;
    min-height:34px;
    padding:8px 12px !important;
    border-radius:999px !important;
    font-size:12px !important;
  }
  .epm-tasks-page .epm-task-form-toggle[open] .epm-task-form-summary{
    margin-bottom:9px !important;
  }
}

/* v2.13.7.110 - Mobile compact οικονομικά έργου only */
@media (max-width: 782px){
  .epm-workspace-tab-financials .epm-panel{
    padding:10px !important;
    border-radius:16px !important;
    margin-top:8px !important;
  }
  .epm-workspace-tab-financials .epm-panel > h2{
    font-size:20px !important;
    line-height:1.05 !important;
    margin:0 0 8px !important;
  }
  .epm-workspace-tab-financials .epm-notice{
    margin-top:8px !important;
    padding:8px 10px !important;
    border-radius:12px !important;
    font-size:12px !important;
    line-height:1.25 !important;
  }
  .epm-workspace-tab-financials .epm-grid-three{
    grid-template-columns:1fr !important;
    gap:6px !important;
    margin:8px 0 !important;
  }
  .epm-workspace-tab-financials .epm-grid-three .epm-subpanel{
    margin:0 !important;
    padding:8px 10px !important;
    border-radius:12px !important;
    min-height:0 !important;
    line-height:1.18 !important;
    box-shadow:none !important;
  }
  .epm-workspace-tab-financials .epm-grid-three .epm-subpanel strong{
    display:inline-block !important;
    margin-right:6px !important;
    font-size:12px !important;
    line-height:1.1 !important;
  }
  .epm-workspace-tab-financials .epm-subpanel{
    margin-top:8px !important;
    padding:10px !important;
    border-radius:14px !important;
  }
  .epm-workspace-tab-financials .epm-subpanel h3{
    font-size:15px !important;
    line-height:1.15 !important;
    margin:0 0 8px !important;
  }
  .epm-workspace-tab-financials .epm-financial-edit-panel{
    border-left-width:3px !important;
  }
  .epm-workspace-tab-financials .epm-financial-edit-panel .epm-form-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:7px !important;
    margin:0 !important;
  }
  .epm-workspace-tab-financials .epm-form label{
    gap:3px !important;
  }
  .epm-workspace-tab-financials .epm-form label span{
    font-size:10px !important;
    line-height:1.12 !important;
    min-height:22px !important;
    display:flex !important;
    align-items:flex-end !important;
  }
  .epm-workspace-tab-financials .epm-form input,
  .epm-workspace-tab-financials .epm-form select{
    min-height:34px !important;
    padding:6px 8px !important;
    border-radius:10px !important;
    font-size:13px !important;
  }
  .epm-workspace-tab-financials .epm-actions{
    margin-top:8px !important;
    display:block !important;
  }
  .epm-workspace-tab-financials .epm-actions .epm-btn{
    width:100% !important;
    min-height:34px !important;
    padding:7px 12px !important;
    border-radius:999px !important;
    font-size:12px !important;
    box-shadow:none !important;
  }
  .epm-workspace-tab-financials .epm-table{
    min-width:0 !important;
    width:100% !important;
    border-spacing:0 5px !important;
  }
  .epm-workspace-tab-financials .epm-table tbody,
  .epm-workspace-tab-financials .epm-table tr{
    display:block !important;
    width:100% !important;
  }
  .epm-workspace-tab-financials .epm-table tr{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto !important;
    gap:8px !important;
    align-items:center !important;
    padding:7px 9px !important;
    margin:0 0 5px !important;
    background:#fff !important;
    border:1px solid rgba(12,30,20,.08) !important;
    border-radius:12px !important;
  }
  .epm-workspace-tab-financials .epm-table td{
    display:block !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    font-size:12px !important;
    line-height:1.2 !important;
    white-space:normal !important;
    overflow-wrap:anywhere !important;
  }
  .epm-workspace-tab-financials .epm-table td:last-child{
    text-align:right !important;
    white-space:nowrap !important;
    font-size:12px !important;
  }
}
@media (max-width: 430px){
  .epm-workspace-tab-financials .epm-panel > h2{
    font-size:18px !important;
  }
  .epm-workspace-tab-financials .epm-financial-edit-panel .epm-form-grid{
    grid-template-columns:1fr 1fr !important;
    gap:6px !important;
  }
  .epm-workspace-tab-financials .epm-form label span{
    font-size:9px !important;
    min-height:20px !important;
  }
  .epm-workspace-tab-financials .epm-form input,
  .epm-workspace-tab-financials .epm-form select{
    font-size:12px !important;
    min-height:32px !important;
    padding:5px 7px !important;
  }
}


/* v2.13.7.111 - Mobile: very compact project workspace overview only */
@media (max-width: 782px){
  .epm-workspace-tab-overview{
    padding-left:8px !important;
    padding-right:8px !important;
  }
  .epm-workspace-tab-overview > .epm-hero{
    padding:8px 10px !important;
    border-radius:14px !important;
    margin:6px 0 7px !important;
    gap:8px !important;
  }
  .epm-workspace-tab-overview > .epm-hero .epm-kicker{
    font-size:9px !important;
    line-height:1 !important;
  }
  .epm-workspace-tab-overview > .epm-hero h1{
    font-size:17px !important;
    line-height:1.05 !important;
    margin:2px 0 !important;
    letter-spacing:-.2px !important;
  }
  .epm-workspace-tab-overview > .epm-hero p{
    font-size:10px !important;
    line-height:1.1 !important;
    margin:0 !important;
  }
  .epm-workspace-tab-overview .epm-health{
    min-width:48px !important;
    padding:5px 7px !important;
    border-radius:12px !important;
  }
  .epm-workspace-tab-overview .epm-health strong{
    font-size:14px !important;
  }
  .epm-workspace-tab-overview .epm-health span{
    display:none !important;
  }
  .epm-workspace-tab-overview > .epm-breadcrumbs{
    margin:4px 0 6px !important;
    font-size:10px !important;
    line-height:1.15 !important;
    gap:4px !important;
  }
  .epm-workspace-tab-overview > .epm-project-nav{
    margin:5px 0 7px !important;
    gap:5px !important;
  }
  .epm-workspace-tab-overview > .epm-project-nav .epm-arrow{
    min-height:28px !important;
    padding:6px 8px !important;
    font-size:10px !important;
    border-radius:999px !important;
    line-height:1.05 !important;
  }
  .epm-workspace-tab-overview > .epm-tabs{
    margin:4px 0 6px !important;
    padding-bottom:5px !important;
  }
  .epm-workspace-tab-overview > .epm-tabs a{
    font-size:10px !important;
    min-height:26px !important;
    padding:6px 8px !important;
  }
  .epm-workspace-tab-overview > .epm-panel{
    padding:9px !important;
    margin-top:5px !important;
    border-radius:15px !important;
    box-shadow:0 6px 18px rgba(32,40,35,.04) !important;
  }
  .epm-workspace-tab-overview > .epm-panel > h2{
    font-size:16px !important;
    line-height:1.05 !important;
    margin:0 0 7px !important;
  }
  .epm-workspace-tab-overview .epm-workspace-overview{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:5px !important;
    margin:0 0 7px !important;
  }
  .epm-workspace-tab-overview .epm-workspace-overview > div{
    padding:6px 7px !important;
    border-radius:10px !important;
    min-height:0 !important;
    font-size:10.5px !important;
    line-height:1.15 !important;
    overflow:hidden !important;
    overflow-wrap:anywhere !important;
  }
  .epm-workspace-tab-overview .epm-workspace-overview strong{
    display:block !important;
    font-size:9.5px !important;
    line-height:1.1 !important;
    margin-bottom:2px !important;
    color:#5f6a63 !important;
  }
  .epm-workspace-tab-overview .epm-status{
    padding:2px 6px !important;
    font-size:9.5px !important;
    line-height:1.1 !important;
    border-radius:999px !important;
  }
  .epm-workspace-tab-overview .epm-workspace-progress{
    height:6px !important;
    margin:5px 0 6px !important;
  }
  .epm-workspace-tab-overview .epm-notice{
    padding:7px 9px !important;
    border-radius:10px !important;
    font-size:10.5px !important;
    line-height:1.2 !important;
    margin:6px 0 !important;
  }
  .epm-workspace-tab-overview > .epm-workspace-stats{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:4px !important;
    margin-top:8px !important;
  }
  .epm-workspace-tab-overview .epm-workspace-stats .epm-card{
    padding:6px 6px !important;
    min-height:43px !important;
    border-radius:11px !important;
  }
  .epm-workspace-tab-overview .epm-workspace-stats .epm-card:before{
    width:24px !important;
    height:24px !important;
    right:-11px !important;
    top:-11px !important;
  }
  .epm-workspace-tab-overview .epm-workspace-stats .epm-card-title{
    font-size:8.5px !important;
    line-height:1.05 !important;
    margin-bottom:2px !important;
  }
  .epm-workspace-tab-overview .epm-workspace-stats .epm-card-number{
    font-size:13px !important;
    line-height:1 !important;
    margin:0 !important;
  }
  .epm-workspace-tab-overview .epm-workspace-stats .epm-card-sub{
    display:none !important;
  }
}
@media (max-width: 430px){
  .epm-workspace-tab-overview .epm-workspace-overview{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:4px !important;
  }
  .epm-workspace-tab-overview .epm-workspace-overview > div{
    padding:5px 6px !important;
    font-size:10px !important;
  }
  .epm-workspace-tab-overview > .epm-hero h1{
    font-size:16px !important;
  }
  .epm-workspace-tab-overview > .epm-panel > h2{
    font-size:15px !important;
  }
}

/* v2.13.7.113-fixed - Project workspace tasks: add/edit form closed by default */
.epm-workspace .epm-project-task-form-toggle{
  padding:12px 14px !important;
}
.epm-workspace .epm-project-task-form-toggle[open]{
  padding:14px 16px !important;
}
.epm-workspace .epm-project-task-form-summary{
  list-style:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  cursor:pointer;
  user-select:none;
  background:#0d1d16;
  color:#d7ff7a;
  border-radius:12px;
  padding:10px 16px;
  font-weight:950;
  line-height:1.1;
  box-shadow:0 12px 26px rgba(0,0,0,.10);
}
.epm-workspace .epm-project-task-form-summary::-webkit-details-marker{display:none;}
.epm-workspace .epm-project-task-form-toggle[open] .epm-project-task-form-summary{
  margin-bottom:12px;
}
.epm-workspace .epm-project-task-form-toggle[open] .epm-project-task-form-summary .epm-task-form-title::after{
  content:'  ↑';
}
@media (max-width: 782px){
  .epm-workspace .epm-project-task-form-toggle{
    padding:8px 9px !important;
    margin:6px 0 8px !important;
    border-radius:12px !important;
  }
  .epm-workspace .epm-project-task-form-summary{
    width:100%;
    min-height:32px;
    padding:7px 10px !important;
    border-radius:999px !important;
    font-size:12px !important;
  }
  .epm-workspace .epm-project-task-form-toggle[open] .epm-project-task-form-summary{
    margin-bottom:8px !important;
  }
}

/* v2.13.7.115 - Project materials: clear Greek labels + closed material cards */
.epm-project-material-accordion{display:grid;gap:8px;margin:8px 0 18px;}
.epm-project-material-item{border:1px solid rgba(12,30,20,.12);border-radius:14px;background:#fff;overflow:hidden;box-shadow:0 8px 18px rgba(12,30,20,.04);}
.epm-project-material-item summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;cursor:pointer;user-select:none;}
.epm-project-material-item summary::-webkit-details-marker{display:none;}
.epm-project-material-name{font-weight:950;color:#102018;line-height:1.22;overflow-wrap:anywhere;}
.epm-project-material-summary{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:12px;color:#65716c;font-weight:800;white-space:nowrap;}
.epm-project-material-summary strong{color:#102018;}
.epm-project-material-summary em{font-style:normal;background:#ecffd8;color:#0b7a3a;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:900;}
.epm-project-material-item[open] .epm-project-material-summary em{font-size:0;}
.epm-project-material-item[open] .epm-project-material-summary em:before{content:'Κλείσιμο';font-size:11px;}
.epm-project-material-body{border-top:1px solid rgba(12,30,20,.08);padding:12px 14px;background:#fbfcf8;}
.epm-project-material-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;}
.epm-project-material-grid>div{background:#fff;border:1px solid rgba(12,30,20,.08);border-radius:12px;padding:9px 10px;min-width:0;}
.epm-project-material-grid span{display:block;font-size:12px;font-weight:800;color:#65716c;margin-bottom:4px;}
.epm-project-material-grid strong{display:block;font-size:14px;color:#102018;overflow-wrap:anywhere;}
.epm-project-material-grid .epm-progress{height:8px;margin:2px 0 5px;}
.epm-project-material-actions{display:flex;align-items:center;justify-content:flex-end;gap:14px;margin-top:10px;}
.epm-project-material-over{border-color:rgba(165,40,45,.35);background:#fff8f8;}
.epm-danger-text strong{color:#a5282d !important;}
.epm-empty-state{border:1px dashed rgba(12,30,20,.18);border-radius:12px;background:#fbfcf8;color:#65716c;font-weight:800;padding:12px 14px;}
@media(max-width:782px){
  .epm-project-material-accordion{gap:6px !important;margin:6px 0 12px !important;}
  .epm-project-material-item{border-radius:11px !important;box-shadow:none !important;}
  .epm-project-material-item summary{padding:8px 9px !important;gap:7px !important;align-items:flex-start !important;}
  .epm-project-material-name{font-size:13px !important;line-height:1.18 !important;}
  .epm-project-material-summary{font-size:10px !important;gap:4px !important;justify-content:flex-end !important;white-space:normal !important;text-align:right !important;}
  .epm-project-material-summary em{font-size:10px !important;padding:3px 6px !important;}
  .epm-project-material-item[open] .epm-project-material-summary em:before{font-size:10px !important;}
  .epm-project-material-body{padding:8px 9px 9px !important;}
  .epm-project-material-grid{grid-template-columns:1fr 1fr !important;gap:6px !important;}
  .epm-project-material-grid>div{padding:6px 7px !important;border-radius:9px !important;}
  .epm-project-material-grid span{font-size:9.5px !important;margin-bottom:2px !important;}
  .epm-project-material-grid strong{font-size:11.5px !important;}
  .epm-project-material-actions{margin-top:7px !important;justify-content:flex-start !important;gap:10px !important;font-size:12px !important;}
  .epm-consumption-log-table{font-size:11.5px !important;}
}

/* v117: Project materials add form closed by default */
.epm-project-material-form summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.epm-project-material-form summary::-webkit-details-marker { display: none; }
.epm-project-material-form summary::after {
  content: ' ▾';
  font-weight: 600;
}
.epm-project-material-form[open] summary::after { content: ' ▴'; }
.epm-project-material-form form { margin-top: 12px; }
@media (max-width: 782px) {
  .epm-project-material-form { padding: 10px 12px !important; margin-bottom: 10px !important; }
  .epm-project-material-form summary { font-size: 14px; line-height: 1.2; }
  .epm-project-material-form form { margin-top: 8px; }
}

/* v2.13.7.118 - Project staff: compact collapsed list with attendance merged */
.epm-project-workers-panel{padding:0 !important;overflow:hidden;}
.epm-project-workers-summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;cursor:pointer;user-select:none;font-weight:950;color:#102018;}
.epm-project-workers-summary::-webkit-details-marker{display:none;}
.epm-project-workers-summary strong{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:24px;padding:0 8px;border-radius:999px;background:#ecffd8;color:#0b7a3a;font-size:12px;font-weight:950;}
.epm-project-workers-panel[open] .epm-project-workers-summary{border-bottom:1px solid rgba(12,30,20,.08);}
.epm-project-workers-summary span:after{content:'  ▾';font-weight:900;color:#65716c;}
.epm-project-workers-panel[open] .epm-project-workers-summary span:after{content:'  ▴';}
.epm-project-worker-list{display:grid;gap:6px;padding:10px 12px 12px;background:#fbfcf8;}
.epm-project-worker-item{border:1px solid rgba(12,30,20,.10);border-radius:10px;background:#fff;overflow:hidden;}
.epm-project-worker-item summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;cursor:pointer;user-select:none;}
.epm-project-worker-item summary::-webkit-details-marker{display:none;}
.epm-project-worker-name{font-size:14px;font-weight:950;color:#102018;line-height:1.2;overflow-wrap:anywhere;}
.epm-project-worker-meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end;font-size:11px;font-weight:850;color:#65716c;text-align:right;}
.epm-project-worker-meta em{font-style:normal;background:#ecffd8;color:#0b7a3a;border-radius:999px;padding:3px 7px;font-size:10.5px;font-weight:950;}
.epm-project-worker-meta strong{font-size:11px;color:#102018;white-space:nowrap;}
.epm-project-worker-meta b{font-size:10.5px;font-weight:950;color:#0b7a3a;background:#eef8e4;border-radius:999px;padding:3px 7px;white-space:nowrap;}
.epm-project-worker-item[open] .epm-project-worker-meta b{font-size:0;}
.epm-project-worker-item[open] .epm-project-worker-meta b:before{content:'Κλείσιμο';font-size:10.5px;}
.epm-project-worker-body{border-top:1px solid rgba(12,30,20,.08);padding:9px 10px;background:#fbfcf8;}
.epm-project-worker-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin-bottom:8px;}
.epm-project-worker-grid>div{background:#fff;border:1px solid rgba(12,30,20,.08);border-radius:9px;padding:6px 7px;min-width:0;}
.epm-project-worker-grid span{display:block;font-size:10.5px;font-weight:850;color:#65716c;margin-bottom:2px;}
.epm-project-worker-grid strong{display:block;font-size:12px;color:#102018;overflow-wrap:anywhere;}
.epm-project-worker-body h4{font-size:13px;margin:8px 0 6px;color:#102018;}
.epm-worker-log-list{display:grid;gap:4px;}
.epm-worker-log-row{display:grid;grid-template-columns:1fr 1fr .9fr .9fr .8fr;gap:6px;align-items:center;background:#fff;border:1px solid rgba(12,30,20,.08);border-radius:8px;padding:6px 7px;font-size:11.5px;color:#26332c;}
.epm-worker-log-row strong{text-align:right;color:#102018;}
@media(max-width:782px){
  .epm-project-workers-summary{padding:8px 9px !important;font-size:13px !important;}
  .epm-project-workers-summary strong{min-width:24px;height:21px;font-size:10.5px !important;padding:0 6px !important;}
  .epm-project-worker-list{padding:6px !important;gap:5px !important;}
  .epm-project-worker-item{border-radius:9px !important;}
  .epm-project-worker-item summary{padding:7px 8px !important;gap:6px !important;align-items:flex-start !important;}
  .epm-project-worker-name{font-size:12.5px !important;line-height:1.15 !important;}
  .epm-project-worker-meta{font-size:9.5px !important;gap:4px !important;}
  .epm-project-worker-meta em,.epm-project-worker-meta b{font-size:9.5px !important;padding:2px 5px !important;}
  .epm-project-worker-item[open] .epm-project-worker-meta b:before{font-size:9.5px !important;}
  .epm-project-worker-meta strong{font-size:9.5px !important;}
  .epm-project-worker-body{padding:7px 8px !important;}
  .epm-project-worker-grid{grid-template-columns:1fr 1fr !important;gap:5px !important;margin-bottom:6px !important;}
  .epm-project-worker-grid>div{padding:5px 6px !important;border-radius:8px !important;}
  .epm-project-worker-grid span{font-size:9px !important;margin-bottom:1px !important;}
  .epm-project-worker-grid strong{font-size:10.5px !important;}
  .epm-project-worker-body h4{font-size:12px !important;margin:6px 0 4px !important;}
  .epm-worker-log-row{grid-template-columns:1fr 1fr !important;gap:4px !important;padding:5px 6px !important;font-size:10px !important;}
  .epm-worker-log-row strong{text-align:left !important;}
}

/* v2.13.7.121 - Project staff layout: new worker / assignment as clean closed panels */
.epm-project-staff-card{padding:0 !important;overflow:hidden;background:#fff;border-color:rgba(12,30,20,.12);box-shadow:0 10px 26px rgba(16,32,24,.04);}
.epm-project-staff-card>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;cursor:pointer;user-select:none;font-weight:950;color:#102018;line-height:1.2;}
.epm-project-staff-card>summary::-webkit-details-marker{display:none;}
.epm-project-staff-card>summary:after{content:'▾';font-weight:950;color:#60716a;font-size:13px;}
.epm-project-staff-card[open]>summary{border-bottom:1px solid rgba(12,30,20,.08);}
.epm-project-staff-card[open]>summary:after{content:'▴';}
.epm-project-staff-card>.epm-form{padding:14px 15px 15px;margin:0;background:#fbfcf8;}
.epm-project-new-worker-card>summary{background:#f4fbef;}
.epm-project-staff-assign-card>summary{background:#f8faf6;}
.epm-project-responsible-card{margin-top:12px !important;}
@media(max-width:782px){
  .epm-project-staff-card{border-radius:13px !important;margin-top:9px !important;}
  .epm-project-staff-card>summary{padding:9px 10px !important;font-size:13px !important;gap:8px !important;}
  .epm-project-staff-card>summary:after{font-size:11px !important;}
  .epm-project-staff-card>.epm-form{padding:9px 10px 10px !important;gap:7px !important;}
  .epm-project-staff-card .epm-form-grid{gap:7px !important;}
  .epm-project-staff-card label span{font-size:11px !important;}
  .epm-project-staff-card input,.epm-project-staff-card select,.epm-project-staff-card textarea{font-size:13px !important;padding:8px 9px !important;min-height:36px !important;}
  .epm-project-staff-card .epm-btn{padding:8px 10px !important;font-size:12.5px !important;min-height:36px !important;}
  .epm-project-responsible-card{padding:10px 11px !important;margin-top:9px !important;}
  .epm-project-responsible-card h3{font-size:13px !important;margin-bottom:5px !important;}
}

/* v123: Project vehicles assignment closed by default; daily vehicle logs live only in Daily Reports */
.epm-workspace .epm-project-vehicle-assign-card > summary{
  cursor:pointer;
  font-weight:800;
  color:#123528;
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.epm-workspace .epm-project-vehicle-assign-card > summary::-webkit-details-marker{display:none;}
.epm-workspace .epm-project-vehicle-assign-card > summary::after{content:'▾';font-size:13px;opacity:.7;}
.epm-workspace .epm-project-vehicle-assign-card[open] > summary::after{content:'▴';}
.epm-workspace .epm-project-vehicle-assign-card form{margin-top:12px;}
@media (max-width: 782px){
  .epm-workspace .epm-project-vehicle-assign-card{padding:10px 12px!important;margin-bottom:10px!important;}
  .epm-workspace .epm-project-vehicle-assign-card > summary{font-size:14px;line-height:1.2;}
  .epm-workspace .epm-project-vehicle-assign-card form{margin-top:8px;}
}

/* v125: Project daily reports as collapsed opening list, not cards/table */
.epm-report-accordion-list{
  display:grid;
  gap:8px;
  margin:10px 0 18px;
}
.epm-report-accordion-item{
  border:1px solid rgba(12,30,20,.12);
  border-radius:12px;
  background:#fff;
  overflow:hidden;
  box-shadow:0 8px 20px rgba(12,30,20,.04);
}
.epm-report-accordion-summary{
  list-style:none;
  cursor:pointer;
  user-select:none;
  display:grid;
  grid-template-columns:110px minmax(100px,1fr) 70px minmax(160px,2fr);
  gap:10px;
  align-items:center;
  padding:10px 12px;
  line-height:1.2;
}
.epm-report-accordion-summary::-webkit-details-marker{display:none;}
.epm-report-accordion-summary:after{
  content:'▾';
  justify-self:end;
  color:#60716a;
  font-weight:900;
}
.epm-report-accordion-item[open] .epm-report-accordion-summary{
  border-bottom:1px solid rgba(12,30,20,.08);
  background:#fbfcf8;
}
.epm-report-accordion-item[open] .epm-report-accordion-summary:after{content:'▴';}
.epm-report-date{font-weight:950;color:#102018;white-space:nowrap;}
.epm-report-user{font-weight:800;color:#425047;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.epm-report-progress{font-weight:950;color:#0b7a3a;background:#ecffd8;border-radius:999px;padding:4px 8px;text-align:center;font-size:12px;}
.epm-report-summary-text{color:#60716a;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.epm-report-accordion-body{padding:12px 14px;background:#fff;}
.epm-report-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:9px;}
.epm-report-detail-grid>div,.epm-report-detail-block{border:1px solid rgba(12,30,20,.08);border-radius:10px;background:#fbfcf8;padding:8px 10px;}
.epm-report-detail-grid span,.epm-report-detail-block span{display:block;font-size:11px;font-weight:850;color:#60716a;margin-bottom:3px;}
.epm-report-detail-grid strong{font-size:13px;color:#102018;}
.epm-report-detail-block{margin-top:8px;}
.epm-report-detail-block p{margin:0;font-size:13px;color:#26332c;line-height:1.35;}
.epm-report-actions{margin-top:10px;gap:8px;align-items:center;}
.epm-report-actions form{display:inline-flex;margin:0;}
.epm-btn-danger{background:#8f1d2c!important;color:#fff!important;border-color:#8f1d2c!important;}
@media(max-width:782px){
  .epm-report-accordion-list{gap:6px!important;margin:6px 0 12px!important;}
  .epm-report-accordion-item{border-radius:10px!important;box-shadow:none!important;}
  .epm-report-accordion-summary{
    grid-template-columns:auto 1fr auto;
    gap:6px!important;
    padding:7px 8px!important;
    font-size:12px!important;
  }
  .epm-report-date{font-size:12.5px!important;}
  .epm-report-user{font-size:11px!important;}
  .epm-report-progress{font-size:10.5px!important;padding:3px 6px!important;}
  .epm-report-summary-text{grid-column:1 / -1;font-size:10.5px!important;white-space:nowrap;}
  .epm-report-accordion-summary:after{font-size:10px;}
  .epm-report-accordion-body{padding:8px!important;}
  .epm-report-detail-grid{grid-template-columns:1fr 1fr 1fr!important;gap:5px!important;margin-bottom:6px!important;}
  .epm-report-detail-grid>div,.epm-report-detail-block{padding:6px 7px!important;border-radius:8px!important;}
  .epm-report-detail-grid span,.epm-report-detail-block span{font-size:9.5px!important;margin-bottom:1px!important;}
  .epm-report-detail-grid strong{font-size:10.5px!important;}
  .epm-report-detail-block{margin-top:5px!important;}
  .epm-report-detail-block p{font-size:11px!important;line-height:1.25!important;}
  .epm-report-actions{margin-top:7px!important;gap:6px!important;}
  .epm-report-actions .epm-btn{font-size:11px!important;padding:6px 8px!important;min-height:30px!important;}
}

/* v2.13.7.126 - Project status: Προγραμματισμένο */
.epm-status-planned{background:#eef2ff;color:#3730a3;}
.epm-status-action-planned{background:#eef2ff;border-color:#c7d2fe;color:#3730a3;}

/* v2.13.7.127 - Home project list as closed accordion, mobile-first */
.epm-home-project-list{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top:4px;
}
.epm-home-project-item{
  border:1px solid var(--epm-border);
  border-radius:16px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 8px 24px rgba(32,40,35,.06);
}
.epm-home-project-blue{background:#edf6ff;border-color:#cfe5ff;}
.epm-home-project-grey{background:#f2f4f6;border-color:#d9dee5;}
.epm-home-project-summary{
  list-style:none;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto auto;
  align-items:center;
  gap:12px;
  padding:12px 14px;
  cursor:pointer;
  user-select:none;
}
.epm-home-project-summary::-webkit-details-marker{display:none;}
.epm-home-project-title-wrap{min-width:0;display:flex;flex-direction:column;gap:3px;}
.epm-home-project-title-wrap strong{
  color:var(--epm-graphite);
  font-size:15px;
  line-height:1.2;
  font-weight:950;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.epm-home-project-title-wrap small{
  color:var(--epm-muted);
  font-size:12px;
  font-weight:800;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.epm-home-project-summary-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end;}
.epm-home-status-pill{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  padding:5px 9px;
  font-size:12px;
  font-weight:950;
  border:1px solid rgba(32,40,35,.12);
  background:#fff;
  color:var(--epm-graphite);
  white-space:nowrap;
}
.epm-home-status-planned{background:#eef4ff;color:#24508f;}
.epm-home-status-active{background:#e9fff2;color:#137843;}
.epm-home-status-paused{background:#fff7df;color:#91620f;}
.epm-home-status-completed{background:#edf8ee;color:#1f6d3a;}
.epm-home-open-indicator{
  border:1px solid var(--epm-border);
  border-radius:999px;
  padding:6px 10px;
  background:#fff;
  color:var(--epm-muted);
  font-weight:900;
  font-size:12px;
  white-space:nowrap;
}
.epm-home-project-item[open] .epm-home-open-indicator{background:var(--epm-graphite);color:var(--epm-lime);border-color:var(--epm-graphite);}
.epm-home-project-item[open] .epm-home-open-indicator::before{content:'Κλείσιμο';}
.epm-home-project-item[open] .epm-home-open-indicator{font-size:0;}
.epm-home-project-item[open] .epm-home-open-indicator::before{font-size:12px;}
.epm-home-project-details{
  padding:0 14px 14px;
  border-top:1px solid rgba(32,40,35,.08);
}
.epm-home-info-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  padding-top:12px;
}
.epm-home-info-card{
  border:1px solid rgba(32,40,35,.08);
  border-radius:14px;
  padding:11px 12px;
  min-width:0;
}
.epm-home-info-grey{background:#f0f2f4;border-color:#d2d8df;}
.epm-home-info-blue{background:#e6f2ff;border-color:#b8d8ff;}
.epm-home-info-card>span{
  display:block;
  color:var(--epm-muted);
  font-size:11px;
  font-weight:950;
  letter-spacing:.02em;
  margin-bottom:5px;
}
.epm-home-info-card>strong{
  display:block;
  color:var(--epm-graphite);
  font-size:16px;
  font-weight:950;
  line-height:1.15;
}
.epm-home-info-card small{display:block;color:var(--epm-muted);margin-top:5px;font-weight:700;line-height:1.35;}
.epm-home-today-card-ok{background:#e7f9ef;border-color:#9bd7b5;}
.epm-home-today-card-missing{background:#fff2df;border-color:#f2c071;}
.epm-home-today-card-missing>strong{color:#8a4b00;}
.epm-home-today-card-ok>strong{color:#0f6b3a;}

.epm-home-info-wide{grid-column:span 3;}
.epm-home-progress{height:10px;margin-top:8px;}
.epm-home-project-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px;}
.epm-home-project-actions .epm-btn{padding:9px 13px;border-radius:12px;}
.epm-home-project-list .epm-project-state-box{padding:0;background:transparent;border:0;box-shadow:none;}
.epm-home-project-list .epm-project-state-box>strong{font-size:14px;}
.epm-home-project-list .epm-project-state-actions{gap:5px;margin-top:6px;}
.epm-home-project-list .epm-status-action{font-size:11px;padding:6px 8px;}
.epm-home-project-list .epm-dashboard-dragging,
.epm-home-project-list .epm-dashboard-pointer-dragging{opacity:.75;transform:scale(.995);box-shadow:0 14px 32px rgba(0,0,0,.16);}
.epm-home-project-list .epm-dashboard-drop-before{border-top:4px solid #b7ff3c!important;}
.epm-home-project-list .epm-dashboard-drop-after{border-bottom:4px solid #b7ff3c!important;}

@media(max-width:782px){
  .epm-home-project-list{gap:8px;}
  .epm-home-project-item{border-radius:14px;box-shadow:0 5px 15px rgba(32,40,35,.05);}
  .epm-home-project-summary{
    grid-template-columns:auto minmax(0,1fr) auto;
    gap:8px;
    padding:9px 10px;
  }
  .epm-home-project-title-wrap strong{font-size:13px;white-space:normal;line-height:1.15;}
  .epm-home-project-title-wrap small{font-size:11px;white-space:normal;line-height:1.15;}
  .epm-home-project-summary-meta{
    grid-column:2 / 4;
    justify-content:flex-start;
    gap:6px;
    margin-top:2px;
  }
  .epm-home-status-pill,
  .epm-home-project-summary-meta .epm-today-report{font-size:11px!important;padding:4px 7px!important;line-height:1.1;}
  .epm-home-open-indicator{font-size:11px;padding:5px 8px;}
  .epm-home-project-details{padding:0 9px 10px;}
  .epm-home-info-grid{grid-template-columns:1fr 1fr;gap:7px;padding-top:9px;}
  .epm-home-info-card{padding:8px 9px;border-radius:12px;}
  .epm-home-info-card>span{font-size:10px;margin-bottom:3px;}
  .epm-home-info-card>strong{font-size:13px;}
  .epm-home-info-card small{font-size:11px;margin-top:3px;}
  .epm-home-info-wide{grid-column:span 2;}
  .epm-home-progress{height:8px;margin-top:6px;}
  .epm-home-project-actions{gap:6px;margin-top:9px;}
  .epm-home-project-actions .epm-btn{padding:8px 10px;font-size:12px;flex:1 1 auto;}
  .epm-home-project-list .epm-project-state-box>strong{font-size:12px;}
  .epm-home-project-list .epm-project-led{width:9px;height:9px;}
  .epm-home-project-list .epm-project-state-actions{gap:4px;}
  .epm-home-project-list .epm-status-action{font-size:10px;padding:5px 6px;}
  .epm-home-project-list .epm-dashboard-drag-handle{
    min-width:32px!important;
    min-height:32px!important;
    font-size:18px!important;
    margin-right:0!important;
    border-radius:10px!important;
  }
  .epm-home-project-list .epm-dashboard-drag-handle::after{display:none!important;}
}

/* v2.13.7.129 - Home: no open/close chip, pending report in observations, status filter */
.epm-home-project-summary{
  grid-template-columns:auto minmax(0,1fr) auto;
}
.epm-home-open-indicator{display:none!important;}
.epm-home-list-head{align-items:flex-end;gap:12px;}
.epm-home-status-filter{
  display:flex;
  flex-direction:column;
  gap:4px;
  min-width:210px;
  margin:0;
}
.epm-home-status-filter>span{
  font-size:11px;
  font-weight:900;
  color:var(--epm-muted);
}
.epm-home-status-filter select{
  min-height:38px;
  padding:7px 34px 7px 10px;
  border-radius:10px;
  font-size:13px;
  font-weight:800;
  background:#fff;
}
.epm-home-pending-report-note{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:5px 8px;
  margin:0 0 8px;
  padding:7px 9px;
  border:1px solid #f2c071;
  border-radius:10px;
  background:#fff2df;
}
.epm-home-pending-report-note strong{
  color:#8a4b00;
  font-size:13px;
  font-weight:950;
}
.epm-home-pending-report-note small{
  margin:0!important;
  color:#7b5a30;
  font-size:11px;
}
@media(max-width:782px){
  .epm-home-list-head{
    align-items:stretch!important;
    gap:7px!important;
  }
  .epm-home-status-filter{
    width:100%;
    min-width:0;
    gap:3px;
  }
  .epm-home-status-filter>span{font-size:10px;}
  .epm-home-status-filter select{
    width:100%;
    min-height:34px;
    padding:5px 30px 5px 9px;
    font-size:12px;
  }
  .epm-home-pending-report-note{
    padding:6px 7px;
    margin-bottom:6px;
    border-radius:8px;
  }
  .epm-home-pending-report-note strong{font-size:11px;}
  .epm-home-pending-report-note small{font-size:10px;}
}

/* v2.13.7.130 - Professional, mobile-first project calendar */
.epm-calendar-page{--epm-cal-active:#23834f;--epm-cal-active-soft:#edf8f1;--epm-cal-planned:#173f73;--epm-cal-planned-soft:#eef3f9;}
.epm-calendar-hero{padding:22px 26px;border-radius:22px;background:linear-gradient(135deg,#fff 0%,#f5f8f2 58%,#edf5ff 100%)}
.epm-calendar-hero h1{font-size:30px;margin:5px 0 5px}
.epm-calendar-hero p{font-size:14px}
.epm-calendar-toolbar{display:grid;grid-template-columns:auto minmax(220px,1fr) auto;align-items:center;gap:16px;margin-top:16px;padding:12px;background:#fff;border:1px solid var(--epm-border);border-radius:18px;box-shadow:0 9px 26px rgba(32,40,35,.045)}
.epm-calendar-nav,.epm-calendar-view-switch{display:flex;align-items:center;gap:6px}
.epm-calendar-icon-btn,.epm-calendar-today-btn,.epm-calendar-view-switch button{min-height:36px;border:1px solid var(--epm-border);border-radius:10px;background:#f8faf6;color:var(--epm-graphite);font-weight:850;cursor:pointer}
.epm-calendar-icon-btn{width:38px;padding:0;font-size:25px;line-height:1}
.epm-calendar-today-btn{padding:0 13px}
.epm-calendar-view-switch button{padding:0 12px;font-size:12px}
.epm-calendar-view-switch button.is-active{background:var(--epm-graphite);border-color:var(--epm-graphite);color:var(--epm-lime)}
.epm-calendar-range-title{text-align:center;font-size:17px;color:var(--epm-graphite);text-transform:none}
.epm-calendar-filters{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;margin-top:10px;padding:10px 12px;background:rgba(255,255,255,.72);border:1px solid var(--epm-border);border-radius:16px}
.epm-calendar-filters label{display:flex;flex-direction:column;gap:4px;margin:0}
.epm-calendar-filters label>span{font-size:10px;font-weight:900;color:var(--epm-muted)}
.epm-calendar-filters select,.epm-calendar-filters input{height:36px;min-width:170px;border:1px solid var(--epm-border);border-radius:10px;background:#fff;padding:5px 10px;box-shadow:none;font-size:12px}
.epm-calendar-search{flex:1;min-width:220px}
.epm-calendar-search input{width:100%;min-width:0}
.epm-calendar-custom-range{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap}
.epm-calendar-custom-range .epm-btn{min-height:36px;padding:8px 14px;font-size:12px;box-shadow:none}
.epm-calendar-legend{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:10px 2px;color:var(--epm-muted);font-size:11px;font-weight:750}
.epm-calendar-legend span{display:inline-flex;align-items:center;gap:6px}
.epm-calendar-dot{width:9px;height:9px;border-radius:50%;display:inline-block}
.epm-calendar-dot-active{background:var(--epm-cal-active)}
.epm-calendar-dot-planned{background:var(--epm-cal-planned)}
.epm-calendar-dot-overdue{background:var(--epm-cal-overdue)}
.epm-calendar-shell{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,350px);gap:14px;align-items:start}
#epm-calendar-stage,.epm-calendar-agenda{min-width:0;background:#fff;border:1px solid var(--epm-border);border-radius:19px;box-shadow:0 12px 32px rgba(32,40,35,.05);overflow:hidden}
.epm-calendar-agenda{position:sticky;top:44px}
.epm-calendar-agenda-head{padding:15px 16px 11px;border-bottom:1px solid var(--epm-border);background:#fafcf8}
.epm-calendar-agenda-head>span{font-size:10px;color:var(--epm-muted);font-weight:900;text-transform:none;letter-spacing:.07em}
.epm-calendar-agenda-head h2{font-size:16px;margin:3px 0 2px;text-transform:none}
.epm-calendar-agenda-head small{color:var(--epm-muted);font-weight:750}
.epm-calendar-agenda-list,.epm-calendar-day-cards,.epm-calendar-custom-list{display:flex;flex-direction:column;gap:8px;padding:10px}
.epm-calendar-project-card{border:1px solid #e1e8e1;border-left:4px solid var(--epm-cal-active);border-radius:13px;background:var(--epm-cal-active-soft);padding:11px;box-shadow:none}
.epm-calendar-project-card.epm-calendar-project-planned{border-left-color:var(--epm-cal-planned);background:var(--epm-cal-planned-soft)}
.epm-calendar-project-card.epm-calendar-project-overdue{border-left-color:var(--epm-cal-overdue)}
.epm-calendar-project-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}
.epm-calendar-project-card h3{font-size:14px;line-height:1.25;margin:3px 0 0;color:var(--epm-graphite);overflow-wrap:anywhere}
.epm-calendar-status{display:inline-flex;padding:3px 7px;border-radius:999px;background:rgba(255,255,255,.75);color:#4b5a51;font-size:9px;font-weight:900}
.epm-calendar-dates{flex:none;font-size:9px;font-weight:850;color:var(--epm-muted);text-align:right;max-width:105px}
.epm-calendar-project-meta{display:grid;grid-template-columns:1fr;gap:3px;margin-top:7px;color:#536058;font-size:10px}
.epm-calendar-project-meta b{color:#2d3932}
.epm-calendar-progress{height:5px;margin-top:8px;border-radius:999px;background:rgba(50,70,58,.1);overflow:hidden}
.epm-calendar-progress span{display:block;height:100%;border-radius:999px;background:var(--epm-cal-active)}
.epm-calendar-project-planned .epm-calendar-progress span{background:var(--epm-cal-planned)}
.epm-calendar-project-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px}
.epm-calendar-project-foot small{color:var(--epm-muted);font-size:9px;font-weight:750}
.epm-calendar-project-foot>div{display:flex;gap:5px}
.epm-calendar-project-foot .epm-btn{min-height:28px;padding:5px 9px;font-size:9px;box-shadow:none}
.epm-calendar-empty{padding:24px;text-align:center;color:var(--epm-muted);font-weight:750;background:#fafcf8;border:1px dashed var(--epm-border);border-radius:12px}
.epm-calendar-day-view-head,.epm-calendar-custom-summary{display:flex;align-items:center;justify-content:space-between;padding:13px 15px;border-bottom:1px solid var(--epm-border);background:#fafcf8}
.epm-calendar-day-view-head span,.epm-calendar-custom-summary span{font-weight:900;text-transform:none;color:var(--epm-graphite)}
.epm-calendar-day-view-head strong,.epm-calendar-custom-summary strong{font-size:11px;color:var(--epm-muted)}
.epm-calendar-week-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));min-height:500px}
.epm-calendar-week-day{min-width:0;border-right:1px solid var(--epm-border);background:#fff}
.epm-calendar-week-day:last-child{border-right:0}
.epm-calendar-week-day>header{display:flex;align-items:center;justify-content:space-between;padding:10px;border-bottom:1px solid var(--epm-border);background:#fafcf8}
.epm-calendar-week-day>header span{font-size:10px;font-weight:900;color:var(--epm-muted);text-transform:none}
.epm-calendar-week-day>header b{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;font-size:12px}
.epm-calendar-week-day.is-today>header b{background:var(--epm-graphite);color:var(--epm-lime)}
.epm-calendar-week-day.is-selected{box-shadow:inset 0 0 0 2px #9fc6ed}
.epm-calendar-week-day>div{display:flex;flex-direction:column;gap:5px;padding:7px}
.epm-calendar-event{display:block;width:100%;max-width:100%;border:1px solid #dce8df;border-left:3px solid var(--epm-cal-active);border-radius:7px;background:var(--epm-cal-active-soft);padding:5px 6px;text-align:left;color:#294033;cursor:pointer;overflow:hidden}
.epm-calendar-event.epm-calendar-project-planned{border-left-color:var(--epm-cal-planned);background:var(--epm-cal-planned-soft);color:#294661}
.epm-calendar-event.epm-calendar-project-overdue{border-left-color:var(--epm-cal-overdue)}
.epm-calendar-event span{display:block;font-size:9px;font-weight:850;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.epm-calendar-more{border:0;background:transparent;color:#54705e;font-size:10px;font-weight:900;cursor:pointer}
.epm-calendar-week-agenda{display:none}
.epm-calendar-month-weekdays{display:grid;grid-template-columns:repeat(7,1fr);background:#f7f9f5;border-bottom:1px solid var(--epm-border)}
.epm-calendar-month-weekdays span{text-align:center;padding:9px 4px;font-size:10px;font-weight:900;color:var(--epm-muted)}
.epm-calendar-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));grid-auto-rows:minmax(104px,1fr)}
.epm-calendar-month-day{position:relative;min-width:0;padding:7px;border:0;border-right:1px solid var(--epm-border);border-bottom:1px solid var(--epm-border);background:#fff;cursor:pointer;text-align:left;overflow:hidden}
.epm-calendar-month-day:nth-child(7n){border-right:0}
.epm-calendar-month-day.is-outside{background:#fafbfa;color:#a3aaa5}
.epm-calendar-month-day.is-today .epm-calendar-day-number{background:var(--epm-graphite);color:var(--epm-lime)}
.epm-calendar-month-day.is-selected{box-shadow:inset 0 0 0 2px #9fc6ed}
.epm-calendar-day-number{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;font-size:11px;font-weight:900}
.epm-calendar-month-events{display:flex;flex-direction:column;gap:3px;margin-top:4px}
.epm-calendar-more-label{font-size:9px;font-weight:900;color:var(--epm-muted);padding-left:4px}
.epm-calendar-mobile-count,.epm-calendar-mobile-dots{display:none}
.epm-calendar-mobile-tip{padding:18px;color:var(--epm-muted);font-size:11px;text-align:center}
.epm-calendar-unscheduled{margin-top:12px;background:#fff;border:1px solid var(--epm-border);border-radius:16px;overflow:hidden}
.epm-calendar-unscheduled>summary{padding:12px 15px;font-weight:900;cursor:pointer;background:#fafcf8}
#epm-calendar-unscheduled-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px}

@media(max-width:1150px){
  .epm-calendar-toolbar{grid-template-columns:auto 1fr}.epm-calendar-view-switch{grid-column:1/-1;justify-content:flex-end}
  .epm-calendar-shell{grid-template-columns:minmax(0,1fr) 300px}
}
@media(max-width:782px){
  .epm-calendar-page{margin:0!important;padding:8px!important;border-radius:0!important;overflow-x:hidden}
  .epm-calendar-hero{padding:11px 13px!important;border-radius:14px!important}
  .epm-calendar-hero .epm-kicker{font-size:9px}.epm-calendar-hero h1{font-size:18px!important;margin:2px 0!important}.epm-calendar-hero p{font-size:10px!important;line-height:1.25}
  .epm-calendar-toolbar{display:flex;flex-wrap:wrap;gap:7px;padding:7px;margin-top:8px;border-radius:13px}
  .epm-calendar-nav{order:1}.epm-calendar-range-title{order:2;flex:1;min-width:120px;text-align:right;font-size:12px;line-height:1.2}.epm-calendar-view-switch{order:3;width:100%;display:grid;grid-template-columns:repeat(4,1fr);gap:4px}
  .epm-calendar-icon-btn,.epm-calendar-today-btn{min-height:31px}.epm-calendar-icon-btn{width:31px;font-size:21px}.epm-calendar-today-btn{padding:0 8px;font-size:10px}
  .epm-calendar-view-switch button{min-width:0;min-height:31px;padding:0 3px;font-size:9px;border-radius:8px}
  .epm-calendar-filters{display:grid;grid-template-columns:105px minmax(0,1fr);gap:6px;padding:7px;margin-top:6px;border-radius:12px}
  .epm-calendar-filters label>span{font-size:8px}.epm-calendar-filters select,.epm-calendar-filters input{height:32px;min-width:0;width:100%;padding:4px 7px;font-size:10px;border-radius:8px}.epm-calendar-search{min-width:0}
  .epm-calendar-custom-range{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr auto;gap:5px}.epm-calendar-custom-range .epm-btn{min-height:32px;padding:5px 8px;font-size:9px}
  .epm-calendar-legend{gap:10px;margin:7px 2px;font-size:9px}.epm-calendar-dot{width:7px;height:7px}
  .epm-calendar-shell{display:block}.epm-calendar-agenda{position:static;margin-top:8px}
  #epm-calendar-stage,.epm-calendar-agenda{border-radius:13px;box-shadow:none}
  .epm-calendar-project-card{padding:8px;border-radius:10px}.epm-calendar-project-card h3{font-size:12px}.epm-calendar-status{font-size:8px;padding:2px 5px}.epm-calendar-dates{font-size:8px;max-width:88px}.epm-calendar-project-meta{font-size:9px;margin-top:5px}.epm-calendar-project-foot{margin-top:6px}.epm-calendar-project-foot .epm-btn{min-height:25px;padding:4px 7px;font-size:8px}.epm-calendar-project-foot small{font-size:8px}
  .epm-calendar-agenda-head{padding:10px}.epm-calendar-agenda-head h2{font-size:13px}.epm-calendar-agenda-list,.epm-calendar-day-cards,.epm-calendar-custom-list{padding:7px;gap:6px}
  .epm-calendar-week-grid{display:none}.epm-calendar-week-agenda{display:flex;flex-direction:column}
  .epm-calendar-week-mobile-day{border-bottom:1px solid var(--epm-border)}.epm-calendar-week-mobile-day:last-child{border-bottom:0}.epm-calendar-week-mobile-day>summary{display:flex;align-items:center;justify-content:space-between;padding:9px 10px;font-size:10px;font-weight:900;cursor:pointer;text-transform:none}.epm-calendar-week-mobile-day>summary b{display:grid;place-items:center;min-width:22px;height:22px;border-radius:999px;background:#eef2ec}.epm-calendar-week-mobile-day>div{display:flex;flex-direction:column;gap:6px;padding:0 7px 7px}
  .epm-calendar-month-weekdays span{padding:6px 1px;font-size:8px}.epm-calendar-month-grid{grid-auto-rows:51px}.epm-calendar-month-day{padding:4px;min-height:51px}.epm-calendar-day-number{width:20px;height:20px;font-size:9px}.epm-calendar-month-events{display:none}.epm-calendar-mobile-count{display:block;position:absolute;right:5px;top:5px;min-width:17px;height:17px;line-height:17px;text-align:center;border-radius:999px;background:#eef2ec;color:#465349;font-size:8px;font-weight:900}.epm-calendar-mobile-count:empty{display:none}.epm-calendar-mobile-dots{display:flex;gap:2px;position:absolute;left:5px;bottom:5px}.epm-calendar-mobile-dots i{width:4px;height:4px;border-radius:50%;background:var(--epm-cal-active)}.epm-calendar-mobile-dots i.planned{background:var(--epm-cal-planned)}
  .epm-calendar-empty{padding:14px;font-size:10px}.epm-calendar-mobile-tip{padding:10px;font-size:9px}
  #epm-calendar-unscheduled-list{grid-template-columns:1fr;padding:7px}.epm-calendar-unscheduled>summary{padding:9px 10px;font-size:10px}
}

/* v2.13.7.131 — Calendar entry is visible from Home on every screen size */
.epm-calendar-home-link{display:inline-flex;align-items:center;gap:6px}
.epm-calendar-home-link:before{content:"\1F4C5";font-size:14px;line-height:1}
@media (max-width:782px){
  .epm-quick-actions{display:flex;gap:6px;flex-wrap:wrap;margin:7px 0!important}
  .epm-calendar-home-link{min-height:32px!important;padding:5px 9px!important;font-size:10px!important}
}


/* v2.13.7.135 - Calendar agenda on demand, compact mobile navigation */
.epm-calendar-agenda[hidden]{display:none!important;}
@media(max-width:782px){
  .epm-calendar-hero{padding:8px 11px!important;}
  .epm-calendar-hero h1{font-size:16px!important;line-height:1.15!important;margin:0!important;}
  .epm-calendar-toolbar{gap:5px!important;padding:6px!important;}
  .epm-calendar-nav{gap:3px!important;padding:2px!important;border:1px solid var(--epm-border);border-radius:10px;background:#f8faf6;}
  .epm-calendar-icon-btn,.epm-calendar-today-btn{min-height:25px!important;height:25px!important;border:0!important;background:transparent!important;box-shadow:none!important;}
  .epm-calendar-icon-btn{width:24px!important;font-size:16px!important;line-height:1!important;padding:0!important;}
  .epm-calendar-today-btn{padding:0 5px!important;font-size:8px!important;letter-spacing:.01em!important;}
  .epm-calendar-range-title{font-size:10px!important;min-width:100px!important;}
  .epm-calendar-mobile-dots i{width:5px!important;height:5px!important;background:#23834f!important;}
  .epm-calendar-mobile-dots i.planned{background:#173f73!important;}
}

/* v2.13.7.136 — Truly compact calendar action buttons on mobile */
@media (max-width:782px){
  .epm-calendar-page .epm-calendar-custom-range .epm-btn,
  .epm-calendar-page .epm-calendar-project-foot .epm-btn{
    display:inline-flex!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    min-height:31px!important;
    height:31px!important;
    padding:0 7px!important;
    margin:0!important;
    flex:0 0 auto!important;
    font-size:9px!important;
    line-height:1!important;
    font-weight:850!important;
    border-radius:8px!important;
    box-shadow:none!important;
    white-space:nowrap!important;
  }
  .epm-calendar-page .epm-calendar-project-foot>div{
    display:flex!important;
    flex:0 0 auto!important;
    gap:4px!important;
    width:auto!important;
  }
  .epm-calendar-page .epm-calendar-project-foot{
    align-items:center!important;
    flex-wrap:nowrap!important;
  }
  .epm-calendar-page .epm-calendar-custom-range{
    align-items:end!important;
  }
}


/* v2.13.7.137 — Mobile month: status dots only; hide empty daily agenda */
@media (max-width:782px){
  .epm-calendar-page .epm-calendar-mobile-count{display:none!important;}
  .epm-calendar-page .epm-calendar-mobile-dots{
    display:flex!important;
    align-items:center!important;
    flex-wrap:wrap!important;
    gap:3px!important;
    left:5px!important;
    right:5px!important;
    bottom:5px!important;
    max-height:15px!important;
    overflow:hidden!important;
  }
  .epm-calendar-page .epm-calendar-mobile-dots i{
    display:block!important;
    flex:0 0 6px!important;
    width:6px!important;
    height:6px!important;
    border-radius:50%!important;
    background:#159447!important;
    box-shadow:0 0 0 1px rgba(0,0,0,.08)!important;
  }
  .epm-calendar-page .epm-calendar-mobile-dots i.active{background:#159447!important;}
  .epm-calendar-page .epm-calendar-mobile-dots i.planned{background:#123f7a!important;}
  .epm-calendar-page .epm-calendar-agenda[hidden]{display:none!important;}
}

/* v2.13.7.138 — Planned projects use a hollow outlined dot */
.epm-calendar-dot-planned{
  background:transparent!important;
  border:2px solid var(--epm-cal-planned)!important;
  box-sizing:border-box!important;
}
@media (max-width:782px){
  .epm-calendar-page .epm-calendar-mobile-dots i.planned{
    background:transparent!important;
    border:2px solid #123f7a!important;
    box-shadow:none!important;
    box-sizing:border-box!important;
  }
}

/* v2.13.7.139 — Hotel-style project timeline, mobile first */
.epm-timeline-wrap{--epm-timeline-name:190px;--epm-timeline-day:42px;overflow:hidden;background:#fff;border-radius:14px}
.epm-timeline-scroll{overflow:auto;max-width:100%;max-height:68vh;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
.epm-timeline-header{display:grid;grid-template-columns:var(--epm-timeline-name) max-content;position:sticky;top:0;z-index:8;min-width:calc(var(--epm-timeline-name) + var(--epm-timeline-days)*var(--epm-timeline-day));background:#fff;border-bottom:1px solid var(--epm-border)}
.epm-timeline-corner{position:sticky;left:0;z-index:10;display:flex;align-items:center;padding:10px 12px;background:#f7f9f5;border-right:1px solid var(--epm-border);font-size:11px;font-weight:900;text-transform:none;letter-spacing:.05em}
.epm-timeline-days{display:grid;grid-template-columns:repeat(var(--epm-timeline-days),var(--epm-timeline-day));grid-column:2}
.epm-timeline-day-head{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:48px;border-right:1px solid #e7ebe5;background:#fff}
.epm-timeline-day-head small{font-size:9px;color:#778078;text-transform:none}.epm-timeline-day-head b{font-size:12px}.epm-timeline-day-head.is-weekend{background:#fafbfa}.epm-timeline-day-head.is-today{background:#eef7f1;color:#167143;box-shadow:inset 0 -3px #159447}
.epm-timeline-body{min-width:calc(var(--epm-timeline-name) + var(--epm-timeline-days)*var(--epm-timeline-day))}
.epm-timeline-row{display:grid;grid-template-columns:var(--epm-timeline-name) max-content;min-height:54px;border-bottom:1px solid #edf0ec}
.epm-timeline-project{position:sticky;left:0;z-index:5;display:flex;flex-direction:column;justify-content:center;min-width:0;padding:8px 12px;background:#fff;border-right:1px solid var(--epm-border);color:inherit;text-decoration:none}
.epm-timeline-project strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.epm-timeline-project small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:2px;font-size:9px;color:#6c756d}
.epm-timeline-track{position:relative;display:grid;grid-template-columns:repeat(var(--epm-timeline-days),var(--epm-timeline-day));align-items:center;grid-column:2;min-height:54px}
.epm-timeline-day-bg{grid-row:1;align-self:stretch;border-right:1px solid #edf0ec}.epm-timeline-day-bg.is-weekend{background:#fafbfa}.epm-timeline-day-bg.is-today{background:#f1faf4}
.epm-timeline-bar{grid-row:1;z-index:2;display:flex;align-items:center;height:30px;margin:0 3px;padding:0 9px;border-radius:7px;text-decoration:none;overflow:hidden;box-sizing:border-box}
.epm-timeline-bar span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:900}
.epm-timeline-bar.epm-calendar-project-active{background:#159447;color:#fff;border:2px solid #159447}
.epm-timeline-bar.epm-calendar-project-planned{background:#fff;color:#123f7a;border:3px solid #123f7a}
.epm-timeline-empty{padding:24px;font-size:12px;color:#687169}

@media(max-width:782px){
  .epm-calendar-view-switch{display:flex!important;grid-template-columns:none!important;overflow-x:auto!important;gap:4px!important;padding-bottom:2px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .epm-calendar-view-switch::-webkit-scrollbar{display:none}
  .epm-calendar-view-switch button{flex:0 0 auto!important;min-width:66px!important;padding:0 8px!important}
  .epm-calendar-view-switch button[data-view="timeline"]{min-width:88px!important}
  .epm-timeline-wrap{--epm-timeline-name:112px;--epm-timeline-day:34px;border-radius:12px}
  .epm-timeline-scroll{max-height:65vh;scroll-snap-type:x proximity}
  .epm-timeline-corner{padding:7px 8px;font-size:9px}
  .epm-timeline-day-head{min-height:42px;scroll-snap-align:start}.epm-timeline-day-head small{font-size:8px}.epm-timeline-day-head b{font-size:10px}
  .epm-timeline-row,.epm-timeline-track{min-height:48px}
  .epm-timeline-project{padding:6px 7px}.epm-timeline-project strong{font-size:10px}.epm-timeline-project small{font-size:8px}
  .epm-timeline-bar{height:28px;margin:0 2px;padding:0 6px;border-radius:6px;min-width:28px}
  .epm-timeline-bar span{font-size:9px}
  .epm-timeline-bar.epm-calendar-project-planned{border-width:3px}
}


/* v2.13.7.140 — Timeline continuity and direct project opening */
.epm-timeline-project{justify-content:center}
.epm-timeline-track{cursor:pointer}
.epm-timeline-bar{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
@media (max-width:782px){
  .epm-timeline-project strong{font-size:10px;line-height:1.25}
  .epm-timeline-bar{min-height:30px}
}


/* v2.13.7.141 — Timeline starts at today while retaining past dates and full bottom row */
.epm-timeline-body::after{content:"";display:block;height:36px;min-width:100%}
.epm-timeline-scroll{scroll-padding-bottom:36px}
@media (max-width:782px){
  .epm-timeline-scroll{max-height:72vh;padding-bottom:8px}
  .epm-timeline-body::after{height:52px}
}

/* v2.13.7.142 — Automatic timeline time-overrun segment */
.epm-timeline-overrun{
  grid-row:1;
  z-index:3;
  display:flex;
  align-items:center;
  justify-content:center;
  height:30px;
  margin:0 3px;
  padding:0 8px;
  border:3px solid #d52222;
  border-radius:7px;
  background:rgba(213,34,34,.045);
  color:#b51717;
  box-sizing:border-box;
  overflow:hidden;
  text-decoration:none;
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
}
.epm-timeline-overrun span{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:10px;
  font-weight:900;
  line-height:1;
}
@media(max-width:782px){
  .epm-timeline-overrun{
    min-width:30px;
    height:30px;
    margin:0 2px;
    padding:0 5px;
    border-width:3px;
    border-radius:6px;
  }
  .epm-timeline-overrun span{font-size:8px}
}


/* v2.13.7.144 — mobile-first unified project action */
.epm-project-open-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:112px;
}
.epm-workspace-edit-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:40px;
  padding:9px 13px;
  border:1px solid var(--epm-border);
  border-radius:12px;
  background:#fff;
  color:var(--epm-graphite);
  font-size:13px;
  font-weight:900;
  line-height:1.15;
  text-decoration:none;
  box-shadow:0 5px 14px rgba(32,40,35,.06);
}
.epm-workspace-edit-btn:hover{background:#f6f9f1;color:var(--epm-graphite);}

@media (max-width: 768px){
  .epm-home-project-actions{
    display:block;
    margin-top:10px;
  }
  .epm-home-project-actions .epm-project-open-btn{
    width:100%;
    min-height:38px;
    padding:8px 12px;
    font-size:12px;
    border-radius:10px;
  }
  .epm-workspace-side{
    width:100%;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:8px;
    align-items:center;
  }
  .epm-workspace-edit-btn{
    min-width:0;
    min-height:36px;
    padding:7px 10px;
    border-radius:10px;
    font-size:12px;
    white-space:nowrap;
  }
  .epm-workspace-side .epm-health{
    min-width:82px;
    padding:9px 10px;
    border-radius:14px;
  }
  .epm-workspace-side .epm-health strong{font-size:20px;}
  .epm-workspace-side .epm-health span{font-size:10px;}
  .epm-workspace-side .epm-badge{display:none;}
}

@media (max-width: 390px){
  .epm-workspace-edit-btn span{display:none;}
  .epm-workspace-edit-btn{width:38px;padding:7px;}
}


/* v2.13.7.145 — Fix mobile workspace edit label wrapping */
@media (max-width:782px){
  .epm-workspace > .epm-hero{
    align-items:flex-start!important;
  }
  .epm-workspace > .epm-hero > div:first-child{
    min-width:0!important;
    flex:1 1 auto!important;
  }
  .epm-workspace > .epm-hero .epm-workspace-side{
    width:auto!important;
    min-width:max-content!important;
    flex:0 0 auto!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-end!important;
    gap:6px!important;
  }
  .epm-workspace-edit-btn{
    width:auto!important;
    min-width:max-content!important;
    max-width:none!important;
    flex:0 0 auto!important;
    white-space:nowrap!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
    line-height:1!important;
  }
  .epm-workspace-edit-btn span{
    display:inline-block!important;
    width:auto!important;
    white-space:nowrap!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
    line-height:1!important;
  }
}
@media (max-width:390px){
  .epm-workspace-edit-btn span{display:none!important;}
  .epm-workspace-edit-btn{min-width:36px!important;width:36px!important;}
}

/* v2.13.7.146 — compact mobile project header */
@media (max-width:782px){
  .epm-workspace > .epm-hero .epm-kicker,
  .epm-workspace > .epm-hero > div:first-child > p{
    display:none!important;
  }
  .epm-workspace > .epm-hero h1{
    font-size:17px!important;
    line-height:1.15!important;
    margin:1px 0 0!important;
    letter-spacing:-.2px!important;
    overflow-wrap:anywhere!important;
  }
  .epm-workspace-side .epm-health{
    min-width:70px!important;
    padding:7px 8px!important;
  }
  .epm-workspace-side .epm-health strong{
    font-size:15px!important;
    line-height:1!important;
  }
  .epm-workspace-side .epm-health span{
    font-size:9px!important;
    line-height:1.05!important;
  }
}


/* v2.13.7.147 — smaller mobile project header and global natural text case */
.epm-wrap,
.epm-wrap *,
.epm-saas-app,
.epm-saas-app *,
.epm-mobile-wrap,
.epm-mobile-wrap *,
.epm-login-screen,
.epm-login-screen *,
.epm-calendar-wrap,
.epm-calendar-wrap *{
  text-transform:none!important;
}

@media (max-width:782px){
  .epm-workspace > .epm-hero h1{
    font-size:14px!important;
    line-height:1.18!important;
    font-weight:850!important;
    margin:0!important;
    letter-spacing:0!important;
  }
  .epm-workspace-side .epm-health{
    min-width:54px!important;
    padding:5px 6px!important;
    border-radius:10px!important;
  }
  .epm-workspace-side .epm-health strong{
    font-size:8px!important;
    line-height:1!important;
    font-weight:900!important;
  }
  .epm-workspace-side .epm-health span{
    font-size:7px!important;
    line-height:1!important;
    margin-top:3px!important;
  }
}


/* v2.13.7.148 — definitive natural-case rule across every PM screen */
body.epm-page *,
body[class*="epm"] *,
body .epm-wrap *,
body .epm-saas-app *,
body .epm-mobile-wrap *,
body .epm-login-screen *,
body .epm-calendar-wrap *,
body .epm-workspace *,
body .epm-timeline-wrap * {
  text-transform: none !important;
}


/* v2.13.7.149 — page-wide natural case, including Elementor containers */
html body.epm-natural-case-page,
html body.epm-natural-case-page * {
  text-transform: none !important;
}


/* v2.13.7.150 — final natural-case fallback; JS reapplies after Elementor/dynamic rendering */
html body.epm-natural-case-page,
html body.epm-natural-case-page * {
  text-transform: none !important;
}


/* v2.13.7.151 — Compact timeline project-name column */
.epm-timeline-wrap{--epm-timeline-name:72px}
.epm-timeline-project{padding-left:7px;padding-right:7px}
.epm-timeline-project strong{display:block;overflow:visible;text-overflow:clip;white-space:nowrap;font-size:10px;line-height:1.1}
.epm-timeline-corner{padding-left:7px;padding-right:7px}
@media(max-width:782px){
  .epm-timeline-wrap{--epm-timeline-name:52px}
  .epm-timeline-project{padding:5px 4px}
  .epm-timeline-project strong{font-size:9px;letter-spacing:-.15px}
  .epm-timeline-corner{justify-content:center;padding:6px 3px;font-size:8px;letter-spacing:0}
}

/* Project profit indicator */
.epm-profit-positive .epm-card-number,.epm-workspace-overview .epm-profit-positive{color:#137843}
.epm-profit-negative .epm-card-number,.epm-workspace-overview .epm-profit-negative{color:#b3261e}
.epm-profit-neutral .epm-card-number,.epm-workspace-overview .epm-profit-neutral{color:#68737d}


/* Daily report filtered project groups */
.epm-report-project-group {
    margin: 12px 0;
    border: 1px solid #d9e2e8;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}
.epm-report-project-group-summary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    cursor: pointer;
    font-weight: 700;
    color: #17362f;
    background: #f5f8f7;
    list-style: none;
}
.epm-report-project-group-summary::-webkit-details-marker { display: none; }
.epm-report-project-group-summary::before {
    content: '▶';
    font-size: 11px;
    color: #55756c;
    transition: transform .18s ease;
}
.epm-report-project-group[open] > .epm-report-project-group-summary::before {
    transform: rotate(90deg);
}
.epm-report-project-group-title { flex: 1; }
.epm-report-project-group-count {
    font-size: 12px;
    color: #6b7b76;
    font-weight: 600;
}
.epm-report-project-group-body {
    display: grid;
    gap: 10px;
    padding: 12px;
}
.epm-report-project-group-body .epm-report-item { margin: 0; }
@media (max-width: 782px) {
    .epm-report-project-group-summary { padding: 12px 13px; }
    .epm-report-project-group-body { padding: 9px; }
}

/* v2.14.1 - Unified add/create controls for tasks, workers, materials and vehicles */
.epm-mobile-form #epm-add-daily-task-row,
.epm-mobile-form #epm-add-daily-worker-row,
.epm-mobile-form #epm-add-daily-material-row,
.epm-mobile-form #epm-add-daily-vehicle-row {
    min-height: 44px;
    padding: 10px 15px;
    border: 1px solid #cbd6ce;
    border-radius: 12px;
    background: #f7faf5;
    color: #17362f !important;
    box-shadow: none;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.25;
    white-space: normal;
}
.epm-mobile-form #epm-add-daily-task-row:hover,
.epm-mobile-form #epm-add-daily-worker-row:hover,
.epm-mobile-form #epm-add-daily-material-row:hover,
.epm-mobile-form #epm-add-daily-vehicle-row:hover {
    background: #eef7e8;
    border-color: #9fcf58;
    color: #17362f !important;
}

.epm-inline-create-card {
    margin-top: 10px;
    border: 1px solid #d7dfd8;
    border-radius: 12px;
    background: #fbfcf9;
    box-shadow: none;
    overflow: hidden;
}
.epm-inline-create-card > summary {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 15px;
    cursor: pointer;
    list-style: none;
    color: #17362f;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.25;
    background: #f7faf5;
}
.epm-inline-create-card > summary::-webkit-details-marker { display: none; }
.epm-inline-create-card > summary::before {
    content: '+';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    border: 1px solid #aebbb2;
    border-radius: 50%;
    color: #315f4e;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
}
.epm-inline-create-card[open] > summary::before { content: '−'; }
.epm-inline-create-card > summary:hover {
    background: #eef7e8;
}
.epm-inline-create-card[open] > summary {
    border-bottom: 1px solid #d7dfd8;
}
.epm-inline-create-card > .epm-form,
.epm-inline-create-card > .epm-daily-inline-form {
    padding: 15px;
}

@media (max-width: 782px) {
    .epm-mobile-form #epm-add-daily-task-row,
    .epm-mobile-form #epm-add-daily-worker-row,
    .epm-mobile-form #epm-add-daily-material-row,
    .epm-mobile-form #epm-add-daily-vehicle-row,
    .epm-inline-create-card > summary {
        width: 100%;
        min-height: 46px;
        font-size: 14px;
    }
}


/* v2.14.2 - Strictly unified add/create controls in project cards and daily report */
.epm-workspace details.epm-project-add-card,
.epm-workspace details.epm-project-create-card {
    margin: 0 0 12px !important;
    padding: 0 !important;
    border: 1px solid #d7dfd8 !important;
    border-radius: 12px !important;
    background: #fbfcf9 !important;
    box-shadow: none !important;
    overflow: hidden !important;
}
.epm-workspace details.epm-project-add-card > summary,
.epm-workspace details.epm-project-create-card > summary {
    display: flex !important;
    align-items: center !important;
    min-height: 46px !important;
    padding: 11px 15px !important;
    margin: 0 !important;
    list-style: none !important;
    cursor: pointer !important;
    background: #f5f8f3 !important;
    color: #17362f !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.epm-workspace details.epm-project-add-card > summary::-webkit-details-marker,
.epm-workspace details.epm-project-create-card > summary::-webkit-details-marker { display:none !important; }
.epm-workspace details.epm-project-add-card > summary::before,
.epm-workspace details.epm-project-create-card > summary::before {
    content: '+' !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 20px !important;
    height: 20px !important;
    margin-right: 8px !important;
    border: 1px solid #aebbb2 !important;
    border-radius: 50% !important;
    color: #315f4e !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}
.epm-workspace details.epm-project-add-card[open] > summary::before,
.epm-workspace details.epm-project-create-card[open] > summary::before { content:'−' !important; }
.epm-workspace details.epm-project-add-card > summary::after,
.epm-workspace details.epm-project-create-card > summary::after { content:none !important; }
.epm-workspace details.epm-project-add-card[open] > summary,
.epm-workspace details.epm-project-create-card[open] > summary {
    border-bottom: 1px solid #d7dfd8 !important;
}
.epm-workspace details.epm-project-add-card > form,
.epm-workspace details.epm-project-create-card > form {
    margin: 0 !important;
    padding: 15px !important;
}

/* Daily report: same visible button styling and guaranteed contrast */
.epm-mobile-form #epm-add-daily-task-row,
.epm-mobile-form #epm-add-daily-worker-row,
.epm-mobile-form #epm-add-daily-material-row,
.epm-mobile-form #epm-add-daily-vehicle-row {
    min-height: 46px !important;
    padding: 11px 15px !important;
    border: 1px solid #cbd6ce !important;
    border-radius: 12px !important;
    background: #f5f8f3 !important;
    color: #17362f !important;
    -webkit-text-fill-color: #17362f !important;
    box-shadow: none !important;
    text-shadow: none !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
}
.epm-mobile-form #epm-add-daily-task-row:hover,
.epm-mobile-form #epm-add-daily-worker-row:hover,
.epm-mobile-form #epm-add-daily-material-row:hover,
.epm-mobile-form #epm-add-daily-vehicle-row:hover {
    background: #edf5e8 !important;
    border-color: #9fcf58 !important;
    color: #17362f !important;
    -webkit-text-fill-color: #17362f !important;
}
.epm-mobile-form .epm-inline-create-card > summary {
    min-height: 46px !important;
    padding: 11px 15px !important;
    background: #f5f8f3 !important;
    color: #17362f !important;
    -webkit-text-fill-color: #17362f !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-shadow: none !important;
}

@media (max-width:782px){
  .epm-workspace details.epm-project-add-card > summary,
  .epm-workspace details.epm-project-create-card > summary,
  .epm-mobile-form #epm-add-daily-task-row,
  .epm-mobile-form #epm-add-daily-worker-row,
  .epm-mobile-form #epm-add-daily-material-row,
  .epm-mobile-form #epm-add-daily-vehicle-row,
  .epm-mobile-form .epm-inline-create-card > summary {
      width:100% !important;
      font-size:14px !important;
  }
}

/* v2.14.3 - Project tasks: align both add/create controls to the left */
.epm-workspace details.epm-project-task-form-toggle > summary.epm-project-task-form-summary {
    display: flex !important;
    width: 100% !important;
    justify-content: flex-start !important;
    text-align: left !important;
}
.epm-workspace details.epm-project-task-form-toggle > summary.epm-project-task-form-summary .epm-task-form-title {
    text-align: left !important;
}

/* v2.14.4 - Personnel project actions: identical left alignment */
.epm-workspace details.epm-project-staff-card.epm-project-add-card > summary,
.epm-workspace details.epm-project-staff-card.epm-project-create-card > summary {
    justify-content: flex-start !important;
    text-align: left !important;
    width: 100% !important;
}


/* v2.14.7 - Vehicle project actions stacked */
.epm-workspace .epm-project-vehicle-actions {
    grid-template-columns: 1fr !important;
}

/* v2.14.9 - Vehicle action summaries: true left alignment */
.epm-workspace .epm-project-vehicle-actions details > summary,
.epm-workspace .epm-project-vehicle-actions .epm-project-vehicle-summary {
    justify-content: flex-start !important;
    text-align: left !important;
    width: 100% !important;
}
.epm-workspace .epm-project-vehicle-actions details > summary::after,
.epm-workspace .epm-project-vehicle-actions .epm-project-vehicle-summary::after {
    margin-left: auto !important;
}

/* v2.15.2 - Inline resource price editing inside project cards */
.epm-inline-price-form{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(170px,1fr));
    gap:10px;
    align-items:end;
    margin:12px 0;
    padding:12px;
    border:1px solid rgba(12,30,20,.10);
    border-radius:12px;
    background:#f8faf8;
}
.epm-inline-price-form label span{display:block;font-size:11px;font-weight:800;color:#65716c;margin-bottom:4px;}
.epm-inline-price-form input,.epm-inline-price-form select{width:100%;}
.epm-inline-price-form .epm-btn{min-height:42px;}
.epm-inline-vehicle-cost-form{min-width:330px;margin:0 0 8px;}
@media(max-width:782px){
  .epm-inline-price-form{grid-template-columns:1fr;padding:9px;}
  .epm-inline-vehicle-cost-form{min-width:0;}
  .epm-workspace .epm-table{display:block;overflow-x:auto;}
}

/* v2.17.2 - Editable project material price inside daily report */
.epm-mobile-daily-material-row{grid-template-columns:minmax(210px,1.7fr) minmax(150px,.8fr) minmax(120px,.65fr) auto;}
.epm-mobile-daily-material-row .epm-daily-material-price,
.epm-mobile-daily-material-row .epm-daily-material-qty{display:flex;flex-direction:column;gap:6px;margin:0;}
.epm-mobile-daily-material-row .epm-daily-material-price span,
.epm-mobile-daily-material-row .epm-daily-material-qty span{font-size:12px;font-weight:800;color:var(--epm-muted);}
@media(max-width:760px){.epm-mobile-daily-material-row{grid-template-columns:1fr;}}

/* v2.17.4 - Universal navigation on every PM screen */
.epm-global-navigation{
    position:relative;
    z-index:18;
    display:grid;
    grid-template-columns:minmax(230px,auto) minmax(260px,1fr) minmax(300px,auto);
    align-items:center;
    gap:14px;
    margin:0 0 18px;
    padding:10px 12px;
    border:1px solid var(--epm-border);
    border-radius:20px;
    background:rgba(255,255,255,.96);
    box-shadow:0 10px 28px rgba(25,45,34,.08);
}
.epm-global-nav-start,.epm-global-nav-end,.epm-global-nav-sequence{display:flex;align-items:center;gap:8px;min-width:0;}
.epm-global-nav-end{justify-content:flex-end;}
.epm-global-nav-sequence{justify-content:center;}
.epm-global-nav-sequence>strong{
    max-width:240px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:var(--epm-graphite);
    font-size:14px;
    text-align:center;
}
.epm-global-nav-button,.epm-global-nav-arrow{
    appearance:none;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:40px;
    padding:9px 13px;
    border:1px solid var(--epm-border);
    border-radius:999px;
    background:#f7f9f4;
    color:var(--epm-graphite)!important;
    text-decoration:none!important;
    font-size:13px;
    font-weight:850;
    line-height:1.15;
    cursor:pointer;
    white-space:nowrap;
}
.epm-global-nav-button:hover,.epm-global-nav-arrow:hover{background:#efffd1;color:#111!important;}
.epm-global-nav-primary{background:var(--epm-graphite);border-color:var(--epm-graphite);color:var(--epm-lime)!important;}
.epm-global-nav-primary:hover{background:#111b16;color:#fff!important;}
.epm-global-nav-arrow span{max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.epm-global-nav-arrow.is-disabled{opacity:.35;pointer-events:none;min-width:40px;}
.epm-global-nav-menu{position:relative;}
.epm-global-nav-menu>summary{list-style:none;}
.epm-global-nav-menu>summary::-webkit-details-marker{display:none;}
.epm-global-nav-menu-panel{
    position:absolute;
    right:0;
    top:calc(100% + 8px);
    width:255px;
    max-height:min(70vh,560px);
    overflow:auto;
    padding:10px;
    border:1px solid var(--epm-border);
    border-radius:18px;
    background:#fff;
    box-shadow:0 20px 50px rgba(20,38,28,.18);
}
.epm-global-nav-menu-panel a,.epm-mobile-nav-menu-panel a{
    display:flex;
    align-items:center;
    gap:10px;
    padding:10px 12px;
    border-radius:12px;
    color:var(--epm-graphite)!important;
    text-decoration:none!important;
    font-weight:800;
}
.epm-global-nav-menu-panel a:hover,.epm-mobile-nav-menu-panel a:hover,
.epm-global-nav-menu-panel a.active,.epm-mobile-nav-menu-panel a.active{background:#efffd1;}
.epm-global-nav-menu-panel a span,.epm-mobile-nav-menu-panel a span{width:24px;text-align:center;}
.epm-mobile-bottom-nav{display:none;}

@media(max-width:1180px){
    .epm-global-navigation{grid-template-columns:auto 1fr auto;}
    .epm-global-nav-sequence .epm-global-nav-arrow span{display:none;}
    .epm-global-nav-end>.epm-global-nav-button:not(.epm-global-nav-primary){display:none;}
}

@media(max-width:782px){
    .epm-saas-app{padding-bottom:78px!important;}
    .epm-global-navigation{
        grid-template-columns:1fr auto;
        gap:8px;
        margin:0 0 12px;
        padding:8px;
        border-radius:16px;
    }
    .epm-global-nav-start{min-width:0;}
    .epm-global-nav-start .epm-global-nav-button{padding:9px 11px;font-size:12px;}
    .epm-global-nav-sequence{justify-content:flex-end;}
    .epm-global-nav-sequence>strong{max-width:140px;font-size:12px;}
    .epm-global-nav-sequence .epm-global-nav-arrow{min-width:36px;padding:8px 10px;}
    .epm-global-nav-end{display:none;}

    .epm-mobile-bottom-nav{
        position:fixed;
        left:0;
        right:0;
        bottom:0;
        z-index:99999;
        display:grid;
        grid-template-columns:repeat(5,minmax(0,1fr));
        align-items:stretch;
        min-height:66px;
        padding:6px max(6px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left));
        border-top:1px solid #dbe4dc;
        background:rgba(255,255,255,.97);
        box-shadow:0 -12px 30px rgba(18,36,25,.14);
        backdrop-filter:blur(14px);
        -webkit-backdrop-filter:blur(14px);
    }
    .epm-mobile-nav-item{
        appearance:none;
        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:center;
        gap:2px;
        min-width:0;
        min-height:52px;
        margin:0;
        padding:4px 2px;
        border:0;
        border-radius:14px;
        background:transparent;
        color:#435049!important;
        text-decoration:none!important;
        cursor:pointer;
    }
    .epm-mobile-nav-item>span{font-size:19px;line-height:1;}
    .epm-mobile-nav-item>small{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:850;line-height:1.1;}
    .epm-mobile-nav-item.active{background:#efffd1;color:#15231b!important;}
    .epm-mobile-nav-primary{margin-top:-14px!important;min-height:60px!important;border:5px solid #fff!important;border-radius:50%!important;background:var(--epm-graphite)!important;color:var(--epm-lime)!important;box-shadow:0 8px 24px rgba(22,38,28,.25)!important;}
    .epm-mobile-nav-primary>span{font-size:28px;}
    .epm-mobile-nav-primary>small{display:none;}
    .epm-mobile-nav-menu{position:relative;min-width:0;}
    .epm-mobile-nav-menu>summary{list-style:none;height:100%;}
    .epm-mobile-nav-menu>summary::-webkit-details-marker{display:none;}
    .epm-mobile-nav-menu-panel{
        position:fixed;
        left:10px;
        right:10px;
        bottom:76px;
        z-index:100000;
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:5px;
        max-height:min(65vh,520px);
        overflow:auto;
        padding:12px;
        border:1px solid var(--epm-border);
        border-radius:20px;
        background:#fff;
        box-shadow:0 20px 55px rgba(18,36,25,.24);
    }
    .epm-mobile-nav-menu-panel>strong{grid-column:1/-1;padding:4px 8px 8px;color:var(--epm-graphite);}
    .epm-mobile-nav-menu-panel a{font-size:12px;padding:10px 8px;}
    .epm-mobile-nav-menu-panel a span{width:20px;}
}

/* v2.17.5 - Tasks-only daily report section; manual day-plan controls removed. */


/* v2.17.6 - Clearer daily-report project tasks heading and add-task block. */
/* v2.17.7 - Italic, normal-weight add-task block title. */
.epm-daily-task-add-block {
    margin: 12px 0 16px;
    padding: 13px;
    border: 1px solid #d5e0e8;
    border-radius: 14px;
    background: #f2f6f8;
}
.epm-daily-task-add-block > h3 {
    margin: 0 0 11px;
    color: #1d3b33;
    font-size: 16px;
    font-weight: 400;
    font-style: italic;
    line-height: 1.25;
}
.epm-daily-task-add-block .epm-daily-task-picker-row {
    margin: 0;
}
.epm-daily-task-add-block .epm-inline-create-card {
    margin-bottom: 0;
    background: #ffffff;
}
@media (max-width: 782px) {
    .epm-daily-task-add-block {
        margin-top: 10px;
        padding: 11px;
        border-radius: 13px;
    }
    .epm-daily-task-add-block > h3 {
        font-size: 15px;
    }
}


/* Project cost breakdown by resource — v2.17.8 */
.epm-cost-breakdown-card{margin:0 0 18px;padding:18px;border:1px solid var(--epm-border);border-radius:18px;background:linear-gradient(135deg,#fbfcf8 0%,#f1f8f4 100%);box-shadow:0 8px 24px rgba(20,56,45,.06)}
.epm-cost-breakdown-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px}
.epm-cost-breakdown-heading>div:first-child span,.epm-cost-breakdown-total span{display:block;color:var(--epm-muted);font-size:12px;font-weight:850}
.epm-cost-breakdown-heading>div:first-child strong{display:block;margin-top:4px;color:var(--epm-graphite);font-size:17px;line-height:1.3}
.epm-cost-breakdown-total{text-align:right;min-width:180px}
.epm-cost-breakdown-total strong{display:block;margin-top:4px;color:#075b42;font-size:24px;line-height:1.1}
.epm-cost-breakdown-select{display:block;margin-bottom:12px}
.epm-cost-breakdown-select>span{display:block;margin-bottom:6px;color:var(--epm-graphite);font-size:13px;font-weight:900}
.epm-cost-breakdown-select select{width:100%;max-width:420px;min-height:46px;border:1px solid var(--epm-border);border-radius:12px;background:#fff;color:var(--epm-graphite);font-weight:850;padding:8px 12px}
.epm-cost-breakdown-result{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;border:1px solid #bfe2d4;border-radius:14px;background:#e8f7f0;color:#075b42}
.epm-cost-breakdown-result span{font-weight:850}
.epm-cost-breakdown-result strong{font-size:22px;white-space:nowrap}
@media(max-width:700px){.epm-cost-breakdown-heading{flex-direction:column}.epm-cost-breakdown-total{text-align:left;min-width:0}.epm-cost-breakdown-select select{max-width:none}.epm-cost-breakdown-result strong{font-size:19px}}
