/* THERMOHERZ Professional UI v2.1 */
:root{
  --pro-navy:#082b4c;
  --pro-navy-2:#0d3b63;
  --pro-red:#b31f2a;
  --pro-bg:#f4f6f8;
  --pro-card:#ffffff;
  --pro-border:#dde4ea;
  --pro-text:#082542;
  --pro-muted:#71808d;
  --pro-blue:#2878e6;
  --pro-green:#29a66f;
  --pro-yellow:#f1b51c;
  --pro-shadow:0 8px 30px rgba(8,43,76,.06);
}

body.pro-authenticated{background:var(--pro-bg);color:var(--pro-text);overflow:hidden}
body.pro-authenticated .app{min-height:0;height:calc(100vh - 68px - 76px);margin-top:68px;margin-bottom:76px;background:var(--pro-bg);display:grid;grid-template-columns:1fr;overflow:hidden}
body.pro-authenticated .workspace{height:100%;overflow:auto;min-width:0;background:var(--pro-bg)}
body.pro-authenticated .module-nav,
body.pro-authenticated .cloud-userbar{display:none!important}
body.pro-authenticated .admin-workspace{display:none!important}

/* Header */
.pro-app-header{position:fixed;left:0;right:0;top:0;height:68px;background:#fff;border-bottom:1px solid #e2e7eb;z-index:900;display:flex;align-items:center;justify-content:space-between;padding:0 20px;box-shadow:0 1px 0 rgba(8,43,76,.02)}
.pro-brand{display:flex;align-items:center;gap:15px;min-width:0}
.pro-brand img{width:108px;height:40px;object-fit:contain;object-position:left center;display:block}
.pro-brand-copy{border-left:1px solid #e1e6ea;padding-left:15px;line-height:1.05}
.pro-brand-kicker{font-size:11.5px;font-weight:950;letter-spacing:.18em;color:var(--pro-red);text-transform:uppercase;margin-bottom:5px}
.pro-brand-title{font-size:20px;font-weight:900;color:var(--pro-text)}
.pro-head-actions{display:flex;align-items:center;gap:10px;position:relative}
.pro-header-nav{flex:1;min-width:0;display:flex;align-items:center;justify-content:center;gap:8px;margin:0 24px}
.pro-header-nav-btn{height:40px;border:0;background:transparent;color:#43525e;border-radius:9px;padding:0 15px;font-size:13px;font-weight:850;white-space:nowrap;cursor:pointer;transition:.16s}
.pro-header-nav-btn:hover{background:#f3f6f8;color:var(--pro-navy)}
.pro-header-nav-btn.active{background:#eef4f7;color:var(--pro-navy);box-shadow:inset 0 -2px 0 var(--pro-navy)}
.pro-user-menu .pro-header-fallback{display:none}
.pro-icon-btn{position:relative;width:40px;height:40px;border-radius:50%;border:1px solid #dce4ea;background:#fff;color:var(--pro-navy);display:grid;place-items:center;cursor:pointer;transition:.16s}
.pro-icon-btn:hover{background:#f6f9fb;border-color:#cbd8e0}
.pro-icon-btn svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.8}
.pro-avatar{width:40px;height:40px;border-radius:50%;border:0;background:var(--pro-navy);color:#fff;font-weight:950;font-size:15px;cursor:pointer;display:grid;place-items:center}
.pro-notif-badge{position:absolute;right:-3px;top:-3px;min-width:18px;height:18px;border-radius:10px;background:var(--pro-red);color:#fff;border:2px solid #fff;font-size:9px;font-weight:900;display:none;align-items:center;justify-content:center;padding:0 4px}
.pro-notif-badge.show{display:flex}
.pro-user-menu{display:none;position:absolute;right:0;top:49px;width:250px;background:#fff;border:1px solid var(--pro-border);border-radius:14px;box-shadow:0 18px 50px rgba(8,43,76,.16);padding:10px;z-index:950}
.pro-user-menu.open{display:block}
.pro-user-meta{padding:8px 10px 11px;border-bottom:1px solid #edf0f3;margin-bottom:6px}
.pro-user-meta b{display:block;font-size:13px;color:var(--pro-text)}
.pro-user-meta small{display:block;margin-top:3px;color:var(--pro-muted);font-size:10px;overflow:hidden;text-overflow:ellipsis}
.pro-menu-btn{width:100%;border:0;background:transparent;text-align:left;padding:9px 10px;border-radius:8px;font-weight:800;color:#43525e;cursor:pointer}
.pro-menu-btn:hover{background:#f3f6f8;color:var(--pro-navy)}
.pro-menu-btn.danger{color:#9c2931}

/* Bottom navigation */
.pro-bottom-nav{position:fixed;left:0;right:0;bottom:0;height:76px;background:#fff;border-top:1px solid #e1e6ea;z-index:900;display:grid;grid-template-columns:repeat(6,1fr);align-items:stretch;padding:0 max(10px,env(safe-area-inset-right)) env(safe-area-inset-bottom) max(10px,env(safe-area-inset-left));box-shadow:0 -4px 20px rgba(8,43,76,.035)}
.pro-nav-item{border:0;background:transparent;color:#81909b;font-size:9px;font-weight:800;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;position:relative;min-width:0}
.pro-nav-item svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.65}
.pro-nav-item:hover,.pro-nav-item.active{color:var(--pro-navy)}
.pro-nav-item.active:after{content:"";position:absolute;top:0;left:21%;right:21%;height:2px;background:var(--pro-navy);border-radius:0 0 3px 3px}
.pro-nav-add{align-self:start;transform:translateY(-19px);gap:4px;color:var(--pro-red)}
.pro-nav-add .pro-plus{width:54px;height:54px;background:var(--pro-red);border:5px solid var(--pro-bg);border-radius:50%;display:grid;place-items:center;color:#fff;box-shadow:0 6px 16px rgba(179,31,42,.22)}
.pro-nav-add .pro-plus svg{width:23px;height:23px;stroke-width:2}
.pro-nav-add:after{display:none!important}

/* Generic page */
.pro-page-workspace{min-height:100%;padding:20px 22px 30px;background:var(--pro-bg)}
.pro-content{max-width:900px;margin:0 auto}
.pro-page-titlebar{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:15px}
.pro-eyebrow{font-size:10px;font-weight:950;letter-spacing:.18em;color:var(--pro-red);text-transform:uppercase;margin-bottom:5px}
.pro-page-titlebar h1{margin:0;font-size:25px;line-height:1.1;color:var(--pro-text);font-weight:900}
.pro-page-titlebar p{margin:5px 0 0;color:var(--pro-muted);font-size:11px}
.pro-primary-btn{border:0;border-radius:9px;background:var(--pro-navy);color:#fff;font-weight:900;font-size:11px;padding:10px 15px;cursor:pointer;box-shadow:0 4px 10px rgba(8,43,76,.12)}
.pro-primary-btn:hover{background:var(--pro-navy-2)}
.pro-ghost-btn{border:1px solid #d5dee5;border-radius:9px;background:#fff;color:var(--pro-navy);font-weight:900;font-size:10px;padding:8px 11px;cursor:pointer}
.pro-card{background:var(--pro-card);border:1px solid var(--pro-border);border-radius:15px;box-shadow:var(--pro-shadow)}

/* Home calendar */
.pro-home-calendar{overflow:hidden}
.pro-calendar-head{display:grid;grid-template-columns:130px 1fr 130px;align-items:center;padding:12px 14px;border-bottom:1px solid #e8edf1}
.pro-cal-controls{display:flex;gap:6px}
.pro-cal-controls button{width:32px;height:32px;border:1px solid #d8e0e6;border-radius:8px;background:#fff;color:var(--pro-navy);font-weight:950;cursor:pointer}
.pro-cal-controls button.today{width:auto;padding:0 10px;font-size:9px}
.pro-calendar-month{text-align:center;font-weight:900;font-size:16px;text-transform:capitalize;color:var(--pro-text)}
.pro-calendar-legend{justify-self:end;display:flex;gap:12px;align-items:center;white-space:nowrap}
.pro-legend{display:flex;align-items:center;gap:5px;color:#6d7c88;font-size:9px;font-weight:800}
.pro-legend-dot{width:8px;height:8px;border-radius:50%}
.pro-weekdays,.pro-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
.pro-weekdays div{text-align:center;padding:8px 3px;color:#687a87;font-size:9px;font-weight:850;background:#fafbfc}
.pro-month-grid{gap:6px;padding:7px;background:#f8fafb}
.pro-day{min-height:66px;background:#fff;border:1px solid #e3e9ed;border-radius:10px;padding:7px;cursor:pointer;transition:.12s;position:relative;overflow:hidden}
.pro-day:hover{border-color:#b8cad6;box-shadow:0 3px 10px rgba(8,43,76,.05)}
.pro-day.other{background:#f7f8f9;color:#a0adb7}
.pro-day.selected{border:2px solid var(--pro-navy);background:#edf4fa;padding:6px}
.pro-day.today:not(.selected){box-shadow:inset 0 0 0 1px #81abc8}
.pro-day-num{font-size:10px;font-weight:950;color:var(--pro-text)}
.pro-day.other .pro-day-num{color:#a4afb8}
.pro-day-dots{display:flex;gap:4px;align-items:center;position:absolute;left:8px;bottom:9px;flex-wrap:wrap;max-width:calc(100% - 16px)}
.pro-day-dot{width:9px;height:9px;border-radius:50%;border:1px solid rgba(0,0,0,.05)}

/* day/task list */
.pro-section{margin-top:16px}
.pro-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 2px 9px}
.pro-section-head h2{margin:0;font-size:16px;font-weight:900;color:var(--pro-text);text-transform:none}
.pro-section-link{border:0;background:transparent;color:var(--pro-text);font-weight:900;font-size:10px;cursor:pointer}
.pro-task-list{display:flex;flex-direction:column;gap:9px}
.pro-task-card{background:#fff;border:1px solid var(--pro-border);border-radius:13px;min-height:74px;padding:11px 12px;display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:10px;align-items:center;cursor:pointer;transition:.12s;box-shadow:0 4px 16px rgba(8,43,76,.035)}
.pro-task-card:hover{border-color:#c3d0d9;transform:translateY(-1px)}
.pro-task-check{width:28px;height:28px;border:1.5px solid #cad6de;border-radius:9px;background:#fff;display:grid;place-items:center;cursor:pointer}
.pro-task-check.done{background:#e9f7ef;border-color:#8dceb0;color:#208154}
.pro-task-title{font-size:12px;font-weight:950;color:var(--pro-text);line-height:1.25}
.pro-task-meta{margin-top:5px;color:#74838e;font-size:9.5px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.pro-task-meta .map{color:var(--pro-navy);font-weight:850;text-decoration:none}
.pro-task-status{font-size:8px;font-weight:950;border-radius:999px;padding:3px 7px;background:#edf2f5;color:#63727c;text-transform:uppercase;letter-spacing:.02em}
.pro-task-status.planirano{background:#eef4fb;color:#336c9c}.pro-task-status.potvrdjeno{background:#e9f8ef;color:#24774a}.pro-task-status.utijeku{background:#fff5db;color:#946b00}.pro-task-status.zavrseno{background:#e8f6ee;color:#1f7d4c}.pro-task-status.otkazano{background:#fbecee;color:#9d323b}
.pro-avatars{display:flex;justify-content:flex-end;margin-top:7px}
.pro-person-avatar{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:9px;font-weight:950;border:2px solid #fff;margin-left:-5px;box-shadow:0 1px 3px rgba(0,0,0,.08)}
.pro-person-avatar.ante{background:var(--pro-blue)}.pro-person-avatar.vinko{background:var(--pro-yellow);color:#4d3900}.pro-person-avatar.damir{background:var(--pro-green)}.pro-person-avatar.other{background:#7a8b97}
.pro-empty{padding:24px;text-align:center;color:#8a98a2;font-size:11px;border:1px dashed #d7e0e6;border-radius:12px;background:#fbfcfd}

/* stats */
.pro-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:15px}
.pro-stat{background:#fff;border:1px solid var(--pro-border);border-radius:13px;padding:13px;text-align:center}
.pro-stat strong{display:block;font-size:20px;color:var(--pro-text);line-height:1}
.pro-stat span{display:block;margin-top:7px;color:#7b8993;font-size:9px}
.pro-stat.late strong{color:#b91d28}.pro-stat.done strong{color:#19865a}

/* tasks */
.pro-filters{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-bottom:12px}
.pro-filters select{height:43px;border:1px solid #d8e0e6;border-radius:10px;background:#fff;color:#263c4e;padding:0 12px;font-weight:700;font-size:10.5px;outline:none}
.pro-filters select:focus{border-color:#8bb1ca;box-shadow:0 0 0 3px rgba(40,120,230,.08)}

/* Team */
.pro-team-list{display:flex;flex-direction:column;gap:10px}
.pro-team-card{background:#fff;border:1px solid var(--pro-border);border-radius:14px;padding:13px 15px;display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:12px}
.pro-team-avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:950;font-size:14px}
.pro-team-card h3{margin:0;font-size:14px;color:var(--pro-text)}
.pro-team-card p{margin:4px 0 0;color:#74838d;font-size:10px}
.pro-team-count{text-align:right}.pro-team-count strong{display:block;font-size:18px;color:var(--pro-text)}.pro-team-count small{color:#85929c;font-size:8.5px}
.pro-admin-area{margin-top:16px}
.pro-admin-area #adminModule{display:block!important}
.pro-admin-area #adminModule>.module-head{display:none}
.pro-admin-area #userAdminSection{border-radius:14px;border-color:var(--pro-border);box-shadow:none;margin:0;background:#fff}

/* Existing calendar page re-skin */
body.pro-authenticated .planner-workspace{height:auto;min-height:100%;padding:20px 22px 30px;background:var(--pro-bg)}
body.pro-authenticated .planner-shell{max-width:900px;margin:0 auto;grid-template-columns:1fr;gap:14px}
body.pro-authenticated .calendar-card{border:1px solid var(--pro-border);border-radius:15px;box-shadow:var(--pro-shadow);overflow:hidden}
body.pro-authenticated .calendar-toolbar{padding:12px 14px}
body.pro-authenticated .calendar-toolbar h2{font-size:17px;color:var(--pro-text);font-weight:900}
body.pro-authenticated .calendar-toolbar button{height:32px;border-radius:8px;font-size:9px}
body.pro-authenticated .calendar-legend{padding:8px 14px;background:#fafbfc;justify-content:center}
body.pro-authenticated .calendar-weekdays div{padding:8px 4px;background:#fafbfc;color:#6e7d88;font-size:9px}
body.pro-authenticated .calendar-grid{gap:6px;padding:7px;background:#f8fafb}
body.pro-authenticated .cal-day{min-height:76px;border:1px solid #e3e9ed!important;border-radius:10px;padding:7px;background:#fff}
body.pro-authenticated .cal-day.other-month{background:#f7f8f9}
body.pro-authenticated .cal-day.today{box-shadow:inset 0 0 0 1px #7aa9c6}
body.pro-authenticated .cal-day .add-day{display:none}
body.pro-authenticated .cal-event{border:0;background:transparent;padding:0;margin:3px 0;overflow:visible}
body.pro-authenticated .cal-event .ev-title,body.pro-authenticated .cal-event .ev-meta{display:none}
body.pro-authenticated .cal-event .event-dots{margin:0;gap:4px}
body.pro-authenticated .cal-event .event-dots .person-dot{width:9px;height:9px}
body.pro-authenticated .upcoming-card{display:none}

/* Event modal */
.pro-modal{position:fixed;inset:0;background:rgba(6,26,44,.52);backdrop-filter:blur(2px);z-index:1200;display:none;align-items:flex-start;justify-content:center;padding:24px;overflow:auto}
.pro-modal.open{display:flex}
.pro-modal-card{width:min(720px,100%);background:#fff;border-radius:17px;box-shadow:0 28px 80px rgba(4,25,42,.28);margin:auto;overflow:hidden;border:1px solid rgba(255,255,255,.6)}
.pro-modal-top{height:54px;display:flex;align-items:center;justify-content:space-between;padding:0 17px;border-bottom:1px solid #e7ebee}
.pro-modal-top strong{font-size:14px;color:var(--pro-text)}
.pro-modal-close{width:34px;height:34px;border:0;border-radius:50%;background:#f2f5f7;color:#52636f;font-size:20px;cursor:pointer}
.pro-modal-body{padding:16px}
.pro-modal-body #plannerModule{display:block!important}
.pro-modal-body #plannerModule>.module-head{display:none}
.pro-modal-body #plannerModule .section{border:0;margin:0;box-shadow:none}
.pro-modal-body #plannerModule .section-title{background:transparent;padding:0 0 11px;font-size:12px;color:var(--pro-text)}
.pro-modal-body #plannerModule .section-body{padding:0}
.pro-modal-body #plannerModule .notice{margin:10px 0 0}
.pro-modal-body .field label{font-size:9.5px;color:#536570}
.pro-modal-body input,.pro-modal-body select,.pro-modal-body textarea{border-radius:9px;border-color:#d7e0e6;background:#fff}
.pro-modal-body .person-check{border-radius:9px;background:#fbfcfd}
.pro-modal-body .planner-actions{margin-top:13px}

/* Notifications */
body.pro-authenticated .notifications-workspace{height:auto;min-height:100%;padding:20px 22px 30px;background:var(--pro-bg)}
body.pro-authenticated .notification-card{max-width:900px;border:1px solid var(--pro-border);border-radius:15px;box-shadow:var(--pro-shadow);padding:16px}
.pro-notif-settings{max-width:900px;margin:0 auto 12px}
.pro-notif-settings #notificationsModule{display:block!important;background:#fff;border:1px solid var(--pro-border);border-radius:15px;padding:14px;box-shadow:var(--pro-shadow)}
.pro-notif-settings #notificationsModule>.module-head{display:none}
.pro-notif-settings .notify-setting{border:0;background:#f7f9fb;margin:0 0 8px}

/* Offers: keep original document logic, clean the editor */
body.pro-page-offers .app{grid-template-columns:410px minmax(0,1fr)}
body.pro-page-offers .editor{display:block!important;height:100%;overflow:auto;background:#fff;border-right:1px solid #dfe5e9;padding:18px 16px 30px}
body:not(.pro-page-offers).pro-authenticated .editor{display:none!important}
body.pro-page-offers .offersModule{display:block}
body.pro-page-offers .preview{height:100%;padding:22px 18px 28px;background:#eef2f5}
body.pro-authenticated #offersModule>.module-head{padding:2px 2px 4px}
body.pro-authenticated #offersModule>.module-head h1{font-size:20px;color:var(--pro-text)}
body.pro-authenticated #offersModule>.module-head p{font-size:10px}
body.pro-authenticated #offersModule .section{border-color:#e0e6ea;border-radius:12px;overflow:hidden;margin-bottom:10px;box-shadow:none}
body.pro-authenticated #offersModule .section-title{background:#f7f9fa;color:var(--pro-text);font-size:10.5px;padding:10px 11px}
body.pro-authenticated #offersModule .section-body{padding:11px}
body.pro-authenticated #offersModule input,body.pro-authenticated #offersModule select,body.pro-authenticated #offersModule textarea{border-radius:8px;border-color:#d6e0e6}
body.pro-authenticated #offersModule .actions{position:sticky;top:-18px;z-index:20;background:#fff;padding:7px 0 9px;margin:5px 0 8px;border-bottom:1px solid #edf0f2}

/* Toast */
.pro-toast{position:fixed;right:20px;bottom:92px;z-index:1500;max-width:360px;background:#0c304f;color:#fff;border-radius:11px;padding:11px 14px;box-shadow:0 14px 40px rgba(8,43,76,.25);font-size:10.5px;font-weight:800;opacity:0;transform:translateY(8px);pointer-events:none;transition:.2s}
.pro-toast.show{opacity:1;transform:translateY(0)}
.pro-toast.error{background:#9e2932}

@media(max-width:1180px){
  .pro-header-nav{gap:3px;margin:0 10px}
  .pro-header-nav-btn{padding:0 9px;font-size:11.5px}
  .pro-current-user{display:none}
}
@media(max-width:900px){
  .pro-header-nav{display:none}
  .pro-user-menu .pro-header-fallback{display:block}
  .pro-bottom-nav{grid-template-columns:repeat(6,1fr)}
  .pro-brand-copy{display:none}
  .pro-brand img{width:100px}
  .pro-page-workspace,body.pro-authenticated .planner-workspace,body.pro-authenticated .notifications-workspace{padding:12px 10px 22px}
  .pro-content{max-width:none}
  .pro-calendar-head{grid-template-columns:110px 1fr;gap:6px}.pro-calendar-legend{display:none}
  .pro-day{min-height:56px;padding:5px}.pro-day.selected{padding:4px}.pro-day-dots{left:5px;bottom:6px;gap:2px}.pro-day-dot{width:7px;height:7px}
  .pro-stats{grid-template-columns:repeat(2,1fr)}
  .pro-filters{grid-template-columns:1fr}
  .pro-task-card{grid-template-columns:30px minmax(0,1fr) auto;padding:10px 9px}
  body.pro-page-offers .app{grid-template-columns:1fr;overflow:auto}
  body.pro-page-offers .editor{height:auto;max-height:none;border-right:0;border-bottom:1px solid #dde4e9}
  body.pro-page-offers .workspace{height:auto;overflow:visible}
  body.pro-page-offers .preview{height:auto;min-height:100vh;overflow:auto}
}
@media(max-width:620px){
  .pro-app-header{padding:0 12px;height:62px}.pro-brand img{width:90px;height:34px}.pro-icon-btn{width:36px;height:36px}.pro-avatar{width:36px;height:36px}
  body.pro-authenticated .app{height:calc(100vh - 62px - 70px);margin-top:62px;margin-bottom:70px}
  .pro-bottom-nav{height:70px;padding-left:0;padding-right:0}.pro-nav-item{font-size:7.5px}.pro-nav-item svg{width:16px;height:16px}.pro-nav-add{transform:translateY(-16px)}.pro-nav-add .pro-plus{width:50px;height:50px}
  .pro-calendar-head{grid-template-columns:1fr auto}.pro-calendar-month{text-align:right;font-size:14px}.pro-cal-controls{grid-column:1}.pro-calendar-legend{display:none}
  .pro-weekdays div{font-size:7.5px}.pro-month-grid{gap:3px;padding:4px}.pro-day{min-height:49px;border-radius:7px}.pro-day-num{font-size:9px}
  .pro-page-titlebar h1{font-size:21px}.pro-page-titlebar p{display:none}
  .pro-team-card{grid-template-columns:40px 1fr auto;padding:11px}.pro-team-avatar{width:38px;height:38px}
  .pro-modal{padding:8px}.pro-modal-card{border-radius:14px}.pro-modal-body{padding:12px}
}
@media print{
  .pro-app-header,.pro-bottom-nav,.pro-toast,.pro-modal{display:none!important}
  body.pro-authenticated .app{height:auto;margin:0;display:block}
  body.pro-page-offers .editor{display:none!important}
  body.pro-page-offers .workspace{height:auto;overflow:visible}
}

/* v2.1.3 — team/admin stabilization */
.pro-admin-area{margin-top:28px}
.pro-admin-area:empty{display:none}
.pro-admin-area #adminModule{display:block!important;background:#fff;border:1px solid var(--pro-border);border-radius:18px;box-shadow:var(--pro-shadow);overflow:hidden;margin:0}
.pro-admin-area #adminModule.hidden{display:none!important}
.pro-admin-area #adminModule>.module-head{display:none!important}
.pro-admin-area #userAdminSection{display:block;margin:0;border:0;background:transparent}
.pro-admin-area #userAdminSection.hidden{display:none!important}
.pro-admin-area #userAdminSection .section-title{padding:18px 20px 10px;background:#fff;border:0;font-size:13px;font-weight:900;color:var(--pro-navy);text-transform:none;letter-spacing:0}
.pro-admin-area #userAdminSection .section-title .muted{display:inline-block;margin-left:8px;font-size:10px;font-weight:700;color:#8b99a5}
.pro-admin-area #userAdminSection .section-body{padding:0 20px 20px;background:#fff}
.pro-admin-area .user-create-grid{display:grid;grid-template-columns:1.2fr 1.35fr .9fr;gap:10px;margin-bottom:10px}
.pro-admin-area .field label{font-size:10px;font-weight:800;color:#526673;margin-bottom:5px}
.pro-admin-area input,.pro-admin-area select{min-height:42px;border:1px solid #cbd7df;border-radius:10px;background:#fff;padding:9px 11px;font-size:12px;color:#102f50}
.pro-admin-area .btn.primary{min-height:42px;border:0;border-radius:10px;background:var(--pro-navy);color:#fff;font-weight:900;padding:0 16px}
.pro-admin-area #userList{margin-top:16px;display:flex;flex-direction:column;gap:8px}
.pro-admin-area .user-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;border:1px solid #e0e7ec;border-radius:12px;padding:12px 14px;background:#fbfcfd;margin:0}
.pro-admin-area .user-row b{font-size:12px;color:var(--pro-navy)}
.pro-admin-area .user-row small{font-size:9.5px;color:#71818c;line-height:1.5}
.pro-admin-area .mini{border:1px solid #cbd7df;border-radius:9px;background:#fff;color:var(--pro-navy);font-weight:800;padding:7px 10px}
@media(max-width:760px){.pro-admin-area .user-create-grid{grid-template-columns:1fr}.pro-admin-area .user-row{grid-template-columns:1fr}.pro-admin-area .saved-actions{justify-content:flex-start}}

/* v2.1.5 — hard print reset: never print application/workspace background around A4 offer */
@media print{
  html,
  body,
  body.pro-authenticated,
  body.pro-page-offers,
  body.pro-page-offers .app,
  body.pro-page-offers .workspace,
  body.pro-page-offers .preview{
    background:#fff!important;
    background-image:none!important;
    box-shadow:none!important;
    border:0!important;
    outline:0!important;
  }
  html,body,body.pro-authenticated,body.pro-page-offers{
    margin:0!important;
    padding:0!important;
  }
  body.pro-page-offers .app,
  body.pro-page-offers .workspace,
  body.pro-page-offers .preview{
    margin:0!important;
    padding:0!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    height:auto!important;
    min-height:0!important;
    overflow:visible!important;
  }
  body.pro-page-offers .preview{
    display:block!important;
  }
  body.pro-page-offers .paper{
    background:#fff!important;
    background-image:none!important;
    box-shadow:none!important;
    border:0!important;
    outline:0!important;
    margin:0!important;
  }
}


/* v2.1.6 — password recovery */
.auth-text-link{display:block;width:100%;border:0;background:transparent;color:#17496b;font-size:10.5px;font-weight:800;text-align:center;padding:10px 6px 2px;cursor:pointer}
.auth-text-link:hover{text-decoration:underline}
.auth-help{font-size:10.5px;line-height:1.55;color:#5f7381;background:#f6f8fa;border:1px solid #e1e7eb;border-radius:9px;padding:10px 11px;margin:0 0 13px}
#forgotForm .field,#resetForm .field{margin-bottom:10px}

/* v2.1.7 — visible logged-in user + audit trail in offers/tasks */
.pro-current-user{display:flex;align-items:center;gap:8px;padding:5px 10px 5px 8px;border:1px solid #e0e7ec;border-radius:12px;background:#fff;min-width:150px}
.pro-online-dot{width:8px;height:8px;border-radius:50%;background:#29a56c;box-shadow:0 0 0 3px #e7f7ef;flex:0 0 auto}
.pro-current-user span:last-child{display:flex;flex-direction:column;min-width:0}
.pro-current-user small{font-size:7px;line-height:1.1;letter-spacing:.11em;color:#8a98a2;font-weight:900}
.pro-current-user b{font-size:10px;line-height:1.25;color:var(--pro-navy);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:185px}
.pro-audit-strip{display:flex;align-items:center;gap:9px;margin:0 0 10px;padding:9px 11px;border:1px solid #dbe5eb;border-radius:10px;background:#f7fafc;color:#52636f}
.pro-audit-strip.unsaved{background:#fff9e9;border-color:#ead9a8}
.pro-audit-icon{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#e8f3f8;color:var(--pro-navy);font-size:11px;font-weight:950;flex:0 0 auto}
.pro-audit-strip.unsaved .pro-audit-icon{background:#fff0bd;color:#806000}
.pro-audit-strip>span:last-child{min-width:0;display:flex;flex-direction:column;gap:2px}
.pro-audit-strip b{font-size:10.5px;color:var(--pro-navy)}
.pro-audit-strip small{font-size:8.8px;line-height:1.4;color:#6f7f89}
.pro-audit-strip small strong{color:#445a68}
.pro-event-audit{margin:0 0 10px}
.pro-task-audit{margin-top:5px;font-size:8.5px;color:#8a98a2;line-height:1.3}
.pro-task-audit b{color:#61737f;font-weight:850}
@media(max-width:760px){.pro-current-user{display:none}.pro-audit-strip small{font-size:8px}.pro-task-audit{font-size:8px}}
@media print{.pro-audit-strip,.pro-current-user{display:none!important}}

/* v2.1.8 — preglednije obaveze i strukturiran unos termina */
.pro-task-summary{display:flex;gap:8px;align-items:center;margin-top:9px;flex-wrap:wrap}
.pro-task-summary span{display:inline-flex;align-items:center;gap:4px;padding:5px 8px;border-radius:999px;background:#fff;border:1px solid var(--pro-border);color:#73818b;font-size:9px;font-weight:750}
.pro-task-summary b{color:var(--pro-text);font-size:10px}
.pro-filters{align-items:end}
.pro-filter-field{display:flex;flex-direction:column;gap:5px;color:#667782;font-size:8.5px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}
.pro-filter-field select{width:100%;text-transform:none;letter-spacing:0}
.pro-task-list-full{gap:15px}
.pro-task-group{display:flex;flex-direction:column;gap:8px}
.pro-task-group-head{display:flex;align-items:center;justify-content:space-between;padding:0 3px 1px;border-bottom:1px solid #dde5ea}
.pro-task-group-head h2{margin:0 0 7px;color:var(--pro-text);font-size:12px;font-weight:950;text-transform:capitalize}
.pro-task-group-head span{margin-bottom:7px;color:#81909a;font-size:8.5px;font-weight:800}
.pro-task-group-list{display:flex;flex-direction:column;gap:8px}
.pro-task-card-full{min-height:104px;grid-template-columns:34px 94px minmax(0,1fr) 116px;gap:13px;padding:12px 13px;align-items:stretch;position:relative;overflow:hidden}
.pro-task-card-full.is-overdue:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:#b4232d}
.pro-task-timebox{border:1px solid #dbe4ea;border-radius:11px;background:#f8fafb;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:78px;padding:7px;text-align:center}
.pro-time-day{font-size:8px;font-weight:950;color:#8a98a2;letter-spacing:.08em}
.pro-time-date{margin-top:2px;font-size:10px;font-weight:900;color:#43596a}
.pro-task-timebox strong{margin-top:5px;font-size:15px;line-height:1;color:var(--pro-navy);font-weight:950}
.pro-task-timebox small{margin-top:4px;font-size:8px;color:#7b8993;font-weight:800}
.pro-task-main{min-width:0;display:flex;flex-direction:column;justify-content:center}
.pro-task-title-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.pro-task-card-full .pro-task-title{font-size:13px;line-height:1.25}
.pro-category-chip{display:inline-flex;align-items:center;padding:3px 7px;border-radius:999px;background:#eef3f6;color:#586b79;font-size:7.5px;font-weight:950;text-transform:uppercase;letter-spacing:.03em}
.pro-task-detail-row{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;margin-top:8px}
.pro-task-detail{display:flex;flex-direction:column;gap:1px;color:#667782;font-size:9px}
.pro-task-detail b{color:#334c5f;font-weight:850;font-size:9.5px}
.pro-detail-label{font-size:7.5px;text-transform:uppercase;letter-spacing:.05em;color:#91a0aa;font-weight:900}
.pro-task-detail.muted-detail b{font-weight:700;color:#98a5ad}
.pro-map-link{font-size:9px;color:var(--pro-navy);font-weight:900;text-decoration:none;padding-bottom:1px}
.pro-task-people{margin-top:7px;display:flex;gap:5px;align-items:center;flex-wrap:wrap;color:#77858f;font-size:8.8px}
.pro-task-people b{color:#526776;font-weight:850}
.pro-task-side{display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-start;gap:7px}
.pro-task-side .pro-avatars{margin-top:2px}
.pro-overdue-badge{font-size:7.5px;font-weight:950;border-radius:999px;padding:3px 7px;background:#fdecef;color:#ae2732;letter-spacing:.05em}
.pro-open-hint{margin-top:auto;color:#9aa6ae;font-size:7.8px;font-weight:800}
.pro-task-card-compact .pro-meta-strong{font-weight:850;color:#526979}
.pro-task-card-compact .pro-category-chip{font-size:7px;padding:2px 6px}

.pro-form-section{border:1px solid #e0e7eb;border-radius:12px;background:#fbfcfd;padding:12px 12px 3px;margin-bottom:11px}
.pro-form-section-time{background:#f8fbfd;border-color:#d8e4eb}
.pro-form-section-head{display:flex;align-items:center;gap:9px;margin-bottom:10px}
.pro-form-section-head>span{width:25px;height:25px;border-radius:8px;background:var(--pro-navy);color:#fff;display:grid;place-items:center;font-size:9px;font-weight:950;flex:0 0 auto}
.pro-form-section-head>div{display:flex;flex-direction:column;gap:1px}
.pro-form-section-head b{font-size:10.5px;color:var(--pro-text);font-weight:950}
.pro-form-section-head small{font-size:8px;color:#85939d}
.pro-form-section .field{margin-bottom:9px}
.pro-form-section .grid2{gap:9px}
.pro-form-section .person-check{background:#fff;border-color:#dbe3e8}
.pro-form-section .inline-buttons{margin-bottom:9px}
.pro-all-day{margin-top:-2px}
.pro-modal-card{width:min(760px,100%)}
.pro-modal-body{padding:14px 16px 16px}
.pro-modal-body #plannerModule .section-title{padding-bottom:9px}
.pro-modal-body .planner-actions{position:sticky;bottom:-16px;background:#fff;border-top:1px solid #e8edef;margin:12px -16px -16px;padding:12px 16px 14px;z-index:2}

@media(max-width:760px){
  .pro-task-card-full{grid-template-columns:30px minmax(0,1fr);gap:8px 10px;padding:11px 10px}
  .pro-task-card-full>.pro-task-check{grid-column:1;grid-row:1}
  .pro-task-timebox{grid-column:2;grid-row:1;min-height:0;display:grid;grid-template-columns:auto auto 1fr auto;gap:6px;justify-content:start;align-items:center;padding:7px 9px;text-align:left}
  .pro-time-day{font-size:7px}.pro-time-date{margin:0;font-size:9px}.pro-task-timebox strong{margin:0;font-size:12px}.pro-task-timebox small{margin:0;font-size:7.5px}
  .pro-task-main{grid-column:2;grid-row:2}
  .pro-task-side{grid-column:2;grid-row:3;flex-direction:row;align-items:center;justify-content:flex-start;flex-wrap:wrap}
  .pro-task-side .pro-avatars{margin:0 0 0 auto}
  .pro-open-hint{display:none}
  .pro-task-title-row{align-items:flex-start}.pro-task-card-full .pro-task-title{font-size:12px}
  .pro-task-group-head h2{font-size:11px}
  .pro-filters{grid-template-columns:1fr}
  .pro-form-section{padding:10px 10px 2px}
  .pro-form-section-head small{display:none}
}


/* v2.1.9 — admin brisanje ponuda, zapamti e-mail i puni mobile layout */
.remember-login{display:flex;align-items:center;gap:8px;margin:-1px 0 11px;color:#5d6f7b;font-size:10px;font-weight:750;cursor:pointer;user-select:none}
.remember-login input{width:16px;height:16px;margin:0;accent-color:var(--pro-navy,#0c304f);flex:0 0 auto}
.remember-login span{line-height:1.25}
.danger-mini{border-color:#e2b8bc!important;color:#a3232c!important;background:#fff7f7!important}
.danger-mini:hover{background:#fdebed!important;border-color:#cf7d84!important}
.mobile-preview-trigger,.mobile-offer-back{display:none}

@media(max-width:760px){
  html,body{max-width:100%;overflow-x:hidden}
  .auth-overlay{padding:10px;align-items:center}
  .auth-card{width:100%;max-width:430px;border-radius:14px}
  .auth-head{padding:16px 16px 12px}.auth-logo{width:250px;margin-bottom:9px}.auth-head h2{font-size:18px}
  .auth-body{padding:15px 16px 18px}
  .auth-body input{min-height:44px;font-size:16px}
  .auth-body .btn.primary{min-height:44px}

  body.pro-page-offers .editor{width:100%;padding:12px 10px 90px;overflow:visible}
  body.pro-page-offers #offersModule>.module-head h1{font-size:22px}
  body.pro-page-offers #offersModule>.module-head p{display:block;font-size:9.5px}
  body.pro-page-offers #offersModule .actions.offer-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;position:sticky;top:0;padding:8px 0 10px}
  .mobile-preview-trigger{display:block!important}
  body.pro-page-offers .grid2,body.pro-page-offers .grid3{grid-template-columns:1fr}
  body.pro-page-offers .templates{grid-template-columns:1fr 1fr}
  body.pro-page-offers .archive{max-height:none;overflow:visible}
  body.pro-page-offers .archive-filters{grid-template-columns:1fr}
  body.pro-page-offers .saved{grid-template-columns:1fr;padding:10px;gap:8px;border-radius:10px}
  body.pro-page-offers .saved b{font-size:12px;line-height:1.35}
  body.pro-page-offers .saved small{font-size:9.5px;line-height:1.5}
  body.pro-page-offers .saved-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  body.pro-page-offers .saved-actions .mini{min-height:36px;font-size:10px}
  body.pro-page-offers .history{max-height:none}
  body.pro-page-offers .preview{display:none!important;padding:8px;background:#fff;overflow:auto}
  body.pro-page-offers.mobile-offer-preview .editor{display:none!important}
  body.pro-page-offers.mobile-offer-preview .preview{display:block!important;min-height:calc(100vh - 62px - 70px);padding:8px}
  body.pro-page-offers.mobile-offer-preview .paper{width:100%;min-height:auto;margin:0;padding:12px 9px 18px;box-shadow:none}
  body.pro-page-offers.mobile-offer-preview .mobile-offer-back{display:block;position:fixed;z-index:1150;left:12px;top:72px;border:0;border-radius:10px;background:#0c304f;color:#fff;padding:10px 13px;font-size:10px;font-weight:900;box-shadow:0 8px 22px rgba(10,45,75,.2)}
  body.pro-page-offers.mobile-offer-preview .print-header{gap:12px}.offer-heading .title{font-size:18px;letter-spacing:3px}
  body.pro-page-offers.mobile-offer-preview table.offer{font-size:5.8pt}
  body.pro-page-offers.mobile-offer-preview .footer{white-space:normal}

  .pro-page-workspace{padding-left:9px;padding-right:9px}
  .pro-page-titlebar{align-items:flex-start;gap:8px}.pro-page-titlebar>button{flex:0 0 auto}
  .pro-task-summary{gap:5px}.pro-task-summary span{padding:4px 6px}
  .pro-task-group-head{align-items:flex-end}
  .pro-task-detail-row{gap:7px}
  .pro-modal-card{max-height:calc(100vh - 16px);overflow:auto}
  .pro-modal-body .grid2{grid-template-columns:1fr}
  .pro-modal-body input,.pro-modal-body select,.pro-modal-body textarea{font-size:16px}
  .pro-modal-body .planner-actions{grid-template-columns:1fr 1fr}
  .pro-modal-body .planner-actions .btn{min-height:42px}
  .pro-admin-area{margin-top:18px}.pro-admin-area #userAdminSection .section-body{padding:0 12px 14px}
}
@media(max-width:390px){
  body.pro-page-offers .templates{grid-template-columns:1fr}
  body.pro-page-offers .saved-actions{grid-template-columns:1fr 1fr}
  body.pro-page-offers .saved-actions .danger-mini{grid-column:1/-1}
  .pro-bottom-nav .pro-nav-item{font-size:7px}
}
@media print{.mobile-offer-back,.mobile-preview-trigger{display:none!important}}

/* v2.2.0 — mobile polish, true scaled A4 preview, centered quick-add, PDF capture */
.pdf-download-btn:disabled{opacity:.62;cursor:wait}
.pdf-capture-root{
  position:fixed!important;left:-12000px!important;top:0!important;width:210mm!important;
  background:#fff!important;z-index:-10!important;pointer-events:none!important;overflow:visible!important
}
.pdf-capture-root .paper{
  width:210mm!important;min-height:297mm!important;height:auto!important;margin:0!important;
  padding:8mm 5mm 18mm!important;background:#fff!important;box-shadow:none!important;
  position:relative!important;overflow:visible!important;transform:none!important
}
.pdf-capture-root .print-header{grid-template-columns:1fr .86fr!important;gap:10mm!important}
.pdf-capture-root .offer-heading .title{font-size:21pt!important;letter-spacing:5.5pt!important}
.pdf-capture-root .summary-grid{grid-template-columns:40% 60%!important}
.pdf-capture-root .fin-panel{padding:1.2mm 1mm 0 4mm!important}
.pdf-capture-root table.offer{font-size:6.55pt!important}
.pdf-capture-root .bottom-grid{grid-template-columns:70% 30%!important}
.pdf-capture-root .footer{position:absolute!important;left:5mm!important;right:5mm!important;bottom:7mm!important;margin:0!important;white-space:nowrap!important}
.pdf-capture-root .screen-note{display:none!important}

@media(max-width:760px){
  /* Treći od šest grid elemenata je prirodno malo lijevo od centra. Pomak ga centrira u viewportu. */
  .pro-nav-add{transform:translate(50%,-16px)!important;z-index:3}
  .pro-nav-add .pro-plus{box-shadow:0 7px 22px rgba(179,31,42,.28)}

  body.pro-page-offers #offersModule .actions.offer-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.pro-page-offers #offersModule .actions.offer-actions .mobile-preview-trigger{grid-column:1/-1}

  /* A4 pregled: ne reflowamo dokument na širinu mobitela. Držimo pravi A4 i skaliramo cijelu stranicu. */
  body.pro-page-offers.mobile-offer-preview .preview{
    display:block!important;position:relative!important;min-height:calc(100vh - 62px - 70px)!important;
    padding:8px!important;overflow:hidden!important;background:#eef2f5!important
  }
  body.pro-page-offers.mobile-offer-preview .paper{
    width:210mm!important;min-width:210mm!important;max-width:none!important;min-height:297mm!important;height:auto!important;
    margin:0!important;padding:8mm 5mm 18mm!important;background:#fff!important;box-shadow:0 8px 28px rgba(8,43,76,.10)!important;
    position:relative!important;overflow:visible!important
  }
  body.pro-page-offers.mobile-offer-preview .print-header{grid-template-columns:1fr .86fr!important;gap:10mm!important}
  body.pro-page-offers.mobile-offer-preview .offer-heading .title{font-size:21pt!important;letter-spacing:5.5pt!important}
  body.pro-page-offers.mobile-offer-preview .summary-grid{grid-template-columns:40% 60%!important}
  body.pro-page-offers.mobile-offer-preview .fin-panel{padding:1.2mm 1mm 0 4mm!important}
  body.pro-page-offers.mobile-offer-preview table.offer{font-size:6.55pt!important}
  body.pro-page-offers.mobile-offer-preview .bottom-grid{grid-template-columns:70% 30%!important}
  body.pro-page-offers.mobile-offer-preview .footer{
    position:absolute!important;left:5mm!important;right:5mm!important;bottom:7mm!important;margin:0!important;white-space:nowrap!important
  }
  body.pro-page-offers.mobile-offer-preview .screen-note{display:none!important}
  body.pro-page-offers.mobile-offer-preview .mobile-offer-back{
    left:12px!important;right:auto!important;top:72px!important;padding:9px 12px!important;font-size:9px!important
  }
}

/* v2.2.1 — ravnomjerna mobilna navigacija */
@media(max-width:760px){
  /* Na mobitelu koristimo 5 ravnomjerno raspoređenih glavnih akcija.
     Tim ostaje dostupan kroz avatar/profil izbornik gore desno. */
  .pro-bottom-nav{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    padding-left:max(4px,env(safe-area-inset-left))!important;
    padding-right:max(4px,env(safe-area-inset-right))!important;
  }
  .pro-bottom-nav .pro-nav-item[data-pro-page="team"]{display:none!important}
  .pro-nav-add{
    transform:translateY(-16px)!important;
    justify-self:stretch!important;
    width:100%!important;
  }
  .pro-nav-add .pro-plus{margin-left:auto!important;margin-right:auto!important}
  .pro-bottom-nav .pro-nav-item{padding-left:2px!important;padding-right:2px!important}
}

/* ======================================================================
   THERMOHERZ — navigation typography refinement (22.09.2026)
   Only top module navigation + bottom navigation are changed.
   ====================================================================== */

/* Top horizontal module navigation */
.pro-header-nav-btn{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:16px;
  font-weight:500;
  letter-spacing:-.01em;
  line-height:1;
  color:#3d4f5c;
  height:42px;
  padding:0 18px;
  border-radius:10px;
  outline:none;
}
.pro-header-nav-btn:hover{
  background:#f2f5f7;
  color:var(--pro-navy);
}
.pro-header-nav-btn.active{
  background:#edf3f6;
  color:var(--pro-navy);
  font-weight:600;
  box-shadow:inset 0 -2px 0 #315b78;
}
.pro-header-nav-btn:focus{outline:none}
.pro-header-nav-btn:focus-visible{
  outline:none;
  box-shadow:inset 0 -2px 0 #315b78,0 0 0 3px rgba(8,43,76,.10);
}

/* Bottom navigation — same visual language as the top navigation */
.pro-bottom-nav .pro-nav-item{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:13px;
  font-weight:500;
  letter-spacing:-.005em;
  color:#5e6f7b;
}
.pro-bottom-nav .pro-nav-item:hover,
.pro-bottom-nav .pro-nav-item.active{
  color:var(--pro-navy);
}
.pro-bottom-nav .pro-nav-item.active{
  font-weight:600;
}
.pro-bottom-nav .pro-nav-item svg{
  width:19px;
  height:19px;
  stroke-width:1.55;
}

/* Keep the red central Add action readable without making it heavy. */
.pro-bottom-nav .pro-nav-add{
  font-weight:600;
}

/* Narrow desktop: remain readable without wrapping. */
@media(max-width:1180px) and (min-width:901px){
  .pro-header-nav-btn{
    font-size:14px;
    font-weight:500;
    padding:0 10px;
  }
  .pro-header-nav-btn.active{font-weight:600}
  .pro-bottom-nav .pro-nav-item{
    font-size:12px;
    font-weight:500;
  }
  .pro-bottom-nav .pro-nav-item.active{font-weight:600}
}

/* Phones/tablets: bottom labels stay larger than before, but fit safely. */
@media(max-width:900px){
  .pro-bottom-nav .pro-nav-item{
    font-size:10.5px!important;
    font-weight:500;
  }
  .pro-bottom-nav .pro-nav-item.active{font-weight:600}
}
@media(max-width:520px){
  .pro-bottom-nav .pro-nav-item{
    font-size:9.5px!important;
  }
}

/* ======================================================================
   THERMOHERZ — Poslovi i naplata: preglednija tipografija liste poslova
   22.09.2026. — mijenja SAMO kartice/listu poslova
   ====================================================================== */

.finance-card{
  padding:15px 17px;
  gap:16px;
}

/* Redni broj posla */
.finance-card .finance-main > div > div:first-child{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:20px!important;
  font-weight:600!important;
  letter-spacing:-.02em;
  color:#123d5a!important;
  line-height:1.15!important;
}

/* Naziv klijenta / posla */
.finance-card .finance-main b{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:15px;
  font-weight:600;
  letter-spacing:-.01em;
  line-height:1.25;
  color:#153c56;
}

/* Datum, vrsta posla, lokacija, opis */
.finance-card .finance-main small{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:11.5px;
  font-weight:400;
  line-height:1.5;
  color:#6a7b86;
  margin-top:4px;
}

/* Upozorenje unutar posla — vidljivo, ali bez teškog bolda */
.finance-card .finance-main small span{
  font-size:11px!important;
  font-weight:600!important;
  line-height:1.4;
}

/* Financijski iznosi na desnoj strani kartice */
.finance-card .finance-money small{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:10.5px;
  font-weight:400;
  line-height:1.4;
  color:#7a8993;
}

.finance-card .finance-money b{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:15px;
  font-weight:600;
  letter-spacing:-.01em;
  line-height:1.3;
  color:#153c56;
  margin:2px 0;
}

/* Statusi */
.finance-card .finance-pill{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:10.5px;
  font-weight:600;
  line-height:1;
  padding:5px 9px;
}

/* Akcijski gumbi samo unutar liste poslova */
.finance-card .finance-actions .mini{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:11px;
  font-weight:500;
  min-height:30px;
  padding:5px 9px;
}

/* Malo ugodniji razmak među karticama */
.finance-card{
  margin-bottom:10px;
}

/* Tablet/mobile: zadrži čitljivost bez razbijanja layouta */
@media(max-width:900px){
  .finance-card .finance-main b{font-size:14px}
  .finance-card .finance-main small{font-size:11px}
  .finance-card .finance-money b{font-size:14px}
  .finance-card .finance-money small{font-size:10px}
  .finance-card .finance-pill{font-size:10px}
}

/* ======================================================================
   THERMOHERZ — Poslovi i naplata: gornji pregled
   22.09.2026. — mijenja SAMO naslov, KPI kartice i brzi blok Kasa
   ====================================================================== */

.finance-titlebar{
  margin-bottom:18px;
}

/* Naslov modula */
.finance-kicker{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:11.5px;
  font-weight:600;
  letter-spacing:.14em;
  line-height:1.2;
}

.finance-titlebar h1{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:31px;
  font-weight:600;
  letter-spacing:-.025em;
  line-height:1.08;
  margin:4px 0 5px;
}

.finance-titlebar p{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:12.5px;
  font-weight:400;
  line-height:1.45;
  color:#687985;
}

/* Novi posao */
.finance-titlebar .btn{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:14px;
  font-weight:600;
  min-height:42px;
  padding:0 16px;
}

/* KPI kartice */
.finance-kpis{
  gap:12px;
  margin-bottom:16px;
}

.finance-kpi{
  padding:16px 15px;
  min-height:96px;
}

.finance-kpi small{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:11px;
  font-weight:500;
  line-height:1.35;
  margin-bottom:6px;
  color:#687985;
}

.finance-kpi b{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:22px;
  font-weight:600;
  letter-spacing:-.02em;
  line-height:1.15;
}

/* Drugi mali red u KPI kartici, npr. 23 od 24 poslova */
.finance-kpi b + small{
  margin-top:5px;
  margin-bottom:0;
  font-size:10.5px;
  font-weight:500;
}

/* Brzi blok Kasa */
.finance-cash-quick{
  padding:14px 14px;
  margin-top:0;
  margin-bottom:14px;
  align-items:center;
}

.finance-cash-quick h3{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:17px;
  font-weight:600;
  line-height:1.2;
  margin:0 0 4px;
  color:#153c56;
}

.finance-cash-quick-copy{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
}

.finance-cash-quick-copy > div,
.finance-cash-quick-copy > small,
.finance-cash-quick-copy p{
  font-size:11.5px;
  font-weight:400;
  line-height:1.45;
  color:#6d7e89;
}

.finance-cash-quick .btn{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:12px;
  font-weight:600;
  min-height:34px;
  padding:0 13px;
}

/* Tablet */
@media(max-width:900px){
  .finance-titlebar h1{font-size:27px}
  .finance-titlebar p{font-size:12px}
  .finance-kpi b{font-size:19px}
  .finance-kpi small{font-size:10.5px}
  .finance-cash-quick h3{font-size:16px}
}

/* ======================================================================
   THERMOHERZ — typografija ostalih modula
   22.09.2026.
   Dira samo: TIM / korisnici, HVAC Selector / Klime i Kalendar.
   ====================================================================== */

/* ----------------------------------------------------------------------
   TIM / KORISNICI
   ---------------------------------------------------------------------- */
body.pro-page-team .pro-eyebrow{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:11.5px;
  font-weight:600;
  letter-spacing:.14em;
}

body.pro-page-team .pro-page-titlebar h1{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:30px;
  font-weight:600;
  letter-spacing:-.025em;
  line-height:1.08;
}

body.pro-page-team .pro-page-titlebar p{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:12.5px;
  font-weight:400;
  line-height:1.45;
}

body.pro-page-team .pro-team-card{
  padding:16px 17px;
  gap:14px;
}

body.pro-page-team .pro-team-avatar{
  width:44px;
  height:44px;
  font-size:14px;
  font-weight:600;
}

body.pro-page-team .pro-team-card h3{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:15px;
  font-weight:600;
  letter-spacing:-.01em;
}

body.pro-page-team .pro-team-card p{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:11.5px;
  font-weight:400;
  line-height:1.45;
}

body.pro-page-team .pro-team-count strong{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:20px;
  font-weight:600;
}

body.pro-page-team .pro-team-count small{
  font-size:10.5px;
  font-weight:400;
}

/* Administrator / korisnički računi na Tim stranici */
body.pro-page-team .pro-admin-area h3,
body.pro-page-team .pro-admin-area .section-title{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:16px;
  font-weight:600;
}

body.pro-page-team .pro-admin-area label{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:11px;
  font-weight:500;
}

body.pro-page-team .pro-admin-area input,
body.pro-page-team .pro-admin-area select,
body.pro-page-team .pro-admin-area textarea{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:13px;
  font-weight:400;
}

body.pro-page-team .pro-admin-area .btn,
body.pro-page-team .pro-admin-area .mini{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:11.5px;
  font-weight:500;
}

body.pro-page-team .pro-admin-area .user-row{
  padding:11px 13px;
}

body.pro-page-team .pro-admin-area .user-row b{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:13px;
  font-weight:600;
}

body.pro-page-team .pro-admin-area .user-row small{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:10.5px;
  font-weight:400;
  line-height:1.5;
}


/* ----------------------------------------------------------------------
   HVAC SELECTOR / KLIME
   ---------------------------------------------------------------------- */
body.pro-page-climate .climate-kicker{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:11.5px!important;
  font-weight:600!important;
  letter-spacing:.14em!important;
}

body.pro-page-climate .climate-head h1{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:30px!important;
  font-weight:600!important;
  letter-spacing:-.025em!important;
  line-height:1.08!important;
}

body.pro-page-climate .climate-head p{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:12.5px!important;
  font-weight:400!important;
  line-height:1.45!important;
}

body.pro-page-climate .climate-btn{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:12px!important;
  font-weight:500!important;
}

body.pro-page-climate .climate-btn.primary,
body.pro-page-climate .climate-btn.red{
  font-weight:600!important;
}

body.pro-page-climate .climate-admin-settings h3{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:15px!important;
  font-weight:600!important;
}

body.pro-page-climate .climate-setting-grid label{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:11px!important;
  font-weight:500!important;
}

body.pro-page-climate .climate-setting-grid input{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:13px!important;
  font-weight:400!important;
}

body.pro-page-climate .climate-search{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:13px!important;
  font-weight:400!important;
}

body.pro-page-climate .climate-power-pill{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:11.5px!important;
  font-weight:500!important;
}

body.pro-page-climate .climate-count{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:10.5px!important;
  font-weight:400!important;
}

/* Kartice uređaja */
body.pro-page-climate .climate-manufacturer{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:17px!important;
  font-weight:600!important;
  letter-spacing:-.01em!important;
}

body.pro-page-climate .climate-model{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:14px!important;
  font-weight:600!important;
}

body.pro-page-climate .climate-supplier{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:10.5px!important;
  font-weight:400!important;
}

body.pro-page-climate .climate-power{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:11px!important;
  font-weight:600!important;
}

body.pro-page-climate .climate-chip{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:10px!important;
  font-weight:500!important;
}

body.pro-page-climate .climate-spec small{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:9.5px!important;
  font-weight:500!important;
}

body.pro-page-climate .climate-spec b{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:11.5px!important;
  font-weight:500!important;
  line-height:1.35!important;
}

body.pro-page-climate .climate-internal-toggle,
body.pro-page-climate .climate-source{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:10.5px!important;
  font-weight:500!important;
}

body.pro-page-climate .climate-price-row span{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:12px!important;
  font-weight:400!important;
}

body.pro-page-climate .climate-price-row b{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:15px!important;
  font-weight:600!important;
}

body.pro-page-climate .climate-actions button{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:11.5px!important;
  font-weight:500!important;
}

body.pro-page-climate .climate-actions .add{
  font-weight:600!important;
}


/* ----------------------------------------------------------------------
   KALENDAR
   ---------------------------------------------------------------------- */
body.pro-page-calendar .calendar-toolbar h2{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:20px!important;
  font-weight:600!important;
  letter-spacing:-.015em;
}

body.pro-page-calendar .calendar-toolbar button{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:11px!important;
  font-weight:500!important;
  min-height:34px;
}

body.pro-page-calendar .calendar-legend,
body.pro-page-calendar .legend-person{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:10.5px!important;
  font-weight:500!important;
}

body.pro-page-calendar .calendar-weekdays div{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:10.5px!important;
  font-weight:600!important;
}

body.pro-page-calendar .cal-day{
  padding:9px!important;
}

body.pro-page-calendar .cal-day .day-no{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:11.5px!important;
  font-weight:600!important;
}

body.pro-page-calendar .cal-event .event-dots .person-dot{
  width:10px!important;
  height:10px!important;
}

/* Ako se na širem prikazu pojavi tekst događaja */
body.pro-page-calendar .cal-event .ev-title{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:11px!important;
  font-weight:600!important;
}

body.pro-page-calendar .cal-event .ev-meta{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:10px!important;
  font-weight:400!important;
}


/* ----------------------------------------------------------------------
   Responsivno — samo blaga korekcija da veći font ne razbije raspored
   ---------------------------------------------------------------------- */
@media(max-width:900px){
  body.pro-page-team .pro-page-titlebar h1,
  body.pro-page-climate .climate-head h1{font-size:27px!important}

  body.pro-page-team .pro-team-card h3{font-size:14px}
  body.pro-page-team .pro-team-card p{font-size:11px}

  body.pro-page-climate .climate-manufacturer{font-size:16px!important}
  body.pro-page-climate .climate-model{font-size:13px!important}
  body.pro-page-climate .climate-price-row b{font-size:14px!important}

  body.pro-page-calendar .calendar-toolbar h2{font-size:18px!important}
  body.pro-page-calendar .calendar-weekdays div{font-size:10px!important}
  body.pro-page-calendar .cal-day .day-no{font-size:11px!important}
}

/* ======================================================================
   THERMOHERZ — navigacijski raspored 22.09.2026.
   Gore: Početna | HVAC Selector / Klime | Tim i korisnici | Poslovi i naplata
   Dolje: Ponude | Obaveze | Dodaj | Kalendar | Klime
   ====================================================================== */

.pro-bottom-nav{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
}

/* Početna je sada u gornjoj vodoravnoj navigaciji; bez ikone. */
.pro-header-nav-btn[data-pro-header-page="home"]{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

/* Dolje ostaje pet potpuno ravnomjerno raspoređenih akcija. */
.pro-bottom-nav .pro-nav-item{
  min-width:0;
  width:100%;
}

/* Centralni Dodaj ostaje točno u sredini (3. od 5). */
.pro-bottom-nav .pro-nav-add{
  grid-column:auto!important;
  justify-self:stretch!important;
}

/* Na manjim ekranima gornji horizontalni nav se i dalje skriva.
   Početna je tada dostupna kroz avatar/profil izbornik. */
@media(max-width:900px){
  .pro-bottom-nav{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
  }
}

/* ======================================================================
   THERMOHERZ — planner correction 22.09.2026.
   BOJE: Ante plavi, Damir zeleni, Vinko žuti.
   KALENDAR: ispod kalendara prikazuje sve aktivne obaveze.
   ====================================================================== */

/* Legacy/core planner dots and participant selection */
.person-dot.ante{background:#2878e6!important}
.person-dot.damir{background:#29a66f!important}
.person-dot.vinko{background:#f1b51c!important}
.person-dot.other{background:#7a8b97!important}

/* Professional avatars use the same mapping */
.pro-person-avatar.ante{background:#2878e6!important;color:#fff!important}
.pro-person-avatar.damir{background:#29a66f!important;color:#fff!important}
.pro-person-avatar.vinko{background:#f1b51c!important;color:#4d3900!important}

.pro-team-avatar.ante{background:#2878e6!important;color:#fff!important}
.pro-team-avatar.damir{background:#29a66f!important;color:#fff!important}
.pro-team-avatar.vinko{background:#f1b51c!important;color:#4d3900!important}

/* Calendar active obligations block */
body.pro-authenticated .upcoming-card.pro-calendar-active-card{
  display:block!important;
  width:100%;
  max-width:none;
  margin:0;
  padding:16px;
  border:1px solid var(--pro-border);
  border-radius:15px;
  background:#fff;
  box-shadow:var(--pro-shadow);
}

body.pro-authenticated .upcoming-card.pro-calendar-active-card>h3{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  margin:0 0 13px;
  padding:0 1px 12px;
  border-bottom:1px solid #e8edf1;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:18px;
  font-weight:600;
  letter-spacing:-.015em;
  color:var(--pro-text);
}

body.pro-authenticated .upcoming-card.pro-calendar-active-card>h3 small{
  font-size:11px;
  font-weight:500;
  color:#75858f;
  letter-spacing:0;
}

.pro-calendar-active-list{
  display:flex!important;
  flex-direction:column;
  gap:10px;
}

/* More readable active-task details */
.pro-calendar-active-list .pro-task-card-full{
  min-height:108px;
}

.pro-calendar-active-list .pro-task-title{
  font-size:14px;
  font-weight:600;
}

.pro-calendar-active-list .pro-task-timebox strong{
  font-weight:600;
}

.pro-calendar-active-list .pro-task-people{
  margin-top:7px;
  font-size:11px;
}

.pro-task-description{
  display:grid;
  grid-template-columns:54px minmax(0,1fr);
  gap:7px;
  margin-top:7px;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:10.5px;
  line-height:1.45;
}
.pro-task-description span{
  color:#7a8993;
  font-weight:500;
}
.pro-task-description b{
  color:#445965;
  font-weight:400;
}

/* Keep the calendar and list one below another. */
body.pro-authenticated .planner-shell{
  grid-template-columns:1fr!important;
  max-width:900px!important;
}

@media(max-width:760px){
  body.pro-authenticated .upcoming-card.pro-calendar-active-card{
    padding:12px 10px;
  }
  body.pro-authenticated .upcoming-card.pro-calendar-active-card>h3{
    font-size:16px;
    align-items:flex-start;
    flex-direction:column;
    gap:3px;
  }
  .pro-task-description{
    grid-template-columns:1fr;
    gap:2px;
  }
}

/* ======================================================================
   THERMOHERZ — Početna: kalendar tipografski identičan stranici Kalendar
   22.09.2026. — mijenja SAMO kalendar na Početnoj
   ====================================================================== */

body.pro-page-home .pro-calendar-head,
body.pro-page-home .pro-home-calendar{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
}

/* Mjesec / godina */
body.pro-page-home .pro-calendar-month{
  font-size:20px!important;
  font-weight:600!important;
  letter-spacing:-.015em!important;
  line-height:1.2!important;
  text-transform:capitalize;
  color:var(--pro-text);
}

/* Strelice + Danas */
body.pro-page-home .pro-cal-controls button{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:11px!important;
  font-weight:500!important;
}
body.pro-page-home .pro-cal-controls button.today{
  font-size:11px!important;
  font-weight:500!important;
}

/* Legenda korisnika */
body.pro-page-home .pro-legend{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:10.5px!important;
  font-weight:500!important;
}
body.pro-page-home .pro-legend-dot{
  width:10px!important;
  height:10px!important;
}

/* Pon / Uto / Sri... */
body.pro-page-home .pro-weekdays div{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:10.5px!important;
  font-weight:600!important;
}

/* Brojevi dana */
body.pro-page-home .pro-day-num{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:11.5px!important;
  font-weight:600!important;
  line-height:1.2!important;
}

/* Točkice zaduženih — iste vizualne veličine kao u punom kalendaru */
body.pro-page-home .pro-day-dot{
  width:10px!important;
  height:10px!important;
}

/* Responsive — isto ponašanje kao stranica Kalendar */
@media(max-width:900px){
  body.pro-page-home .pro-calendar-month{font-size:18px!important}
  body.pro-page-home .pro-weekdays div{font-size:10px!important}
  body.pro-page-home .pro-day-num{font-size:11px!important}
}

/* ======================================================================
   THERMOHERZ — prijavljeni korisnik u headeru
   22.09.2026. — mijenja SAMO pill "PRIJAVLJEN / Ime Prezime"
   ====================================================================== */

.pro-current-user{
  min-width:172px;
  padding:7px 12px 7px 10px;
  gap:9px;
  border-radius:13px;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
}

.pro-online-dot{
  width:9px;
  height:9px;
  box-shadow:0 0 0 3px #e7f7ef;
}

.pro-current-user small{
  font-size:9.5px;
  line-height:1.05;
  letter-spacing:.105em;
  font-weight:600;
  color:#7c8b95;
}

.pro-current-user b{
  font-size:12.5px;
  line-height:1.3;
  font-weight:600;
  letter-spacing:-.005em;
  color:var(--pro-navy);
  max-width:200px;
}

@media(max-width:1180px) and (min-width:761px){
  .pro-current-user{
    min-width:158px;
    padding:6px 10px 6px 9px;
  }
  .pro-current-user small{font-size:8.5px}
  .pro-current-user b{font-size:11.5px}
}

/* ======================================================================
   THERMOHERZ — višednevne obaveze u kalendaru
   22.09.2026.
   Ako obaveza traje više dana, boja svakog zaduženog prikazuje se
   na SVAKOM danu trajanja obaveze, uključujući početni i završni datum.
   ====================================================================== */

.pro-core-span-dots{
  display:flex;
  align-items:center;
  gap:4px;
  margin-top:5px;
  min-height:10px;
  pointer-events:none;
}

.pro-core-span-dots .person-dot{
  width:10px!important;
  height:10px!important;
  border-radius:50%;
  flex:0 0 auto;
  border:1px solid rgba(0,0,0,.10);
}

/* Boje ostaju fiksne i identične ostatku aplikacije. */
.pro-core-span-dots .person-dot.ante{background:#2878e6!important}
.pro-core-span-dots .person-dot.damir{background:#29a66f!important}
.pro-core-span-dots .person-dot.vinko{background:#f1b51c!important}
.pro-core-span-dots .person-dot.other{background:#7a8b97!important}

/* ======================================================================
   THERMOHERZ — Početna: veća tipografija obaveza ispod kalendara
   22.09.2026. — mijenja SAMO odabrani-dan/task prikaz na Početnoj
   ====================================================================== */

body.pro-page-home .pro-section-head{
  margin:18px 2px 10px;
}

body.pro-page-home .pro-section-head h2{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:18px;
  font-weight:600;
  letter-spacing:-.012em;
  line-height:1.2;
  color:var(--pro-text);
}

body.pro-page-home .pro-section-link{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:11px;
  font-weight:500;
}

/* Kartice obaveza na Početnoj */
body.pro-page-home .pro-task-card-compact{
  min-height:88px;
  padding:13px 14px;
  grid-template-columns:32px minmax(0,1fr) auto;
  gap:12px;
}

body.pro-page-home .pro-task-card-compact .pro-task-check{
  width:30px;
  height:30px;
  border-radius:9px;
}

body.pro-page-home .pro-task-card-compact .pro-task-title{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:14px;
  font-weight:600;
  letter-spacing:-.008em;
  line-height:1.3;
}

body.pro-page-home .pro-task-card-compact .pro-task-meta{
  margin-top:6px;
  gap:9px;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:10.5px;
  font-weight:400;
  line-height:1.45;
}

body.pro-page-home .pro-task-card-compact .pro-task-meta .map,
body.pro-page-home .pro-task-card-compact .pro-meta-strong{
  font-weight:500;
}

body.pro-page-home .pro-task-card-compact .pro-category-chip{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:8.5px;
  font-weight:600;
  padding:3px 7px;
}

body.pro-page-home .pro-task-card-compact .pro-task-status{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:9px;
  font-weight:600;
  padding:4px 8px;
}

body.pro-page-home .pro-task-card-compact .pro-person-avatar{
  width:30px;
  height:30px;
  font-size:9.5px;
  font-weight:600;
}

body.pro-page-home .pro-task-card-compact .pro-avatars{
  margin-top:8px;
}

/* Statistika odmah ispod obaveza — uskladi s novom tipografijom */
body.pro-page-home .pro-stat{
  padding:14px;
}

body.pro-page-home .pro-stat strong{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:20px;
  font-weight:600;
}

body.pro-page-home .pro-stat span{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:10px;
  font-weight:400;
}

@media(max-width:900px){
  body.pro-page-home .pro-section-head h2{font-size:16px}
  body.pro-page-home .pro-task-card-compact{
    min-height:82px;
    padding:11px 10px;
    gap:9px;
  }
  body.pro-page-home .pro-task-card-compact .pro-task-title{font-size:13px}
  body.pro-page-home .pro-task-card-compact .pro-task-meta{font-size:10px}
  body.pro-page-home .pro-task-card-compact .pro-task-status{font-size:8.5px}
}

/* ======================================================================
   THERMOHERZ — jedinstvena zaglavlja modula
   22.09.2026.
   REFERENCA: HVAC Selector / Klime
   Dira samo zaglavlja Početna / HVAC / Tim / Poslovi i naplata.
   ====================================================================== */

/* Jednaka geometrija headera */
body.pro-page-home .pro-page-titlebar,
body.pro-page-team .pro-page-titlebar,
body.pro-page-climate .climate-head,
.finance-titlebar{
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:16px!important;
  margin:0 0 18px!important;
}

/* Jednaki kickers: ORGANIZACIJA / INTERNI ALAT / TIM / FINANCIJE / OPERATIVA */
body.pro-page-home .pro-eyebrow,
body.pro-page-team .pro-eyebrow,
body.pro-page-climate .climate-kicker,
.finance-kicker{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
  font-size:11.5px!important;
  font-weight:600!important;
  letter-spacing:.14em!important;
  line-height:1.2!important;
  text-transform:uppercase!important;
  color:var(--pro-red)!important;
  margin:0 0 5px!important;
}

/* Svi glavni naslovi = HVAC Selector standard */
body.pro-page-home .pro-page-titlebar h1,
body.pro-page-team .pro-page-titlebar h1,
body.pro-page-climate .climate-head h1,
.finance-titlebar h1{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
  font-size:30px!important;
  font-weight:600!important;
  letter-spacing:-.025em!important;
  line-height:1.08!important;
  color:var(--pro-text)!important;
  margin:0!important;
}

/* Svi podnaslovi = isti ritam i čitljivost */
body.pro-page-home .pro-page-titlebar p,
body.pro-page-team .pro-page-titlebar p,
body.pro-page-climate .climate-head p,
.finance-titlebar p{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
  font-size:12.5px!important;
  font-weight:400!important;
  line-height:1.45!important;
  color:#687985!important;
  margin:5px 0 0!important;
}

/* Desni CTA gumbi na HVAC-u i financijama — isti vizualni standard */
body.pro-page-climate .climate-head .climate-btn.primary,
.finance-titlebar .btn.primary{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
  min-height:40px!important;
  padding:0 15px!important;
  border-radius:9px!important;
  font-size:12px!important;
  font-weight:600!important;
  line-height:1!important;
  white-space:nowrap!important;
}

/* Tekstni blok lijevo ne smije gurati CTA niti se čudno prelamati */
body.pro-page-home .pro-page-titlebar>div,
body.pro-page-team .pro-page-titlebar>div,
body.pro-page-climate .climate-head>div,
.finance-titlebar>div{
  min-width:0!important;
}

/* Tablet/mobile: sve četiri stranice i dalje ostaju međusobno identične */
@media(max-width:900px){
  body.pro-page-home .pro-page-titlebar,
  body.pro-page-team .pro-page-titlebar,
  body.pro-page-climate .climate-head,
  .finance-titlebar{
    align-items:flex-start!important;
    gap:10px!important;
    margin-bottom:15px!important;
  }

  body.pro-page-home .pro-page-titlebar h1,
  body.pro-page-team .pro-page-titlebar h1,
  body.pro-page-climate .climate-head h1,
  .finance-titlebar h1{
    font-size:27px!important;
  }

  body.pro-page-home .pro-page-titlebar p,
  body.pro-page-team .pro-page-titlebar p,
  body.pro-page-climate .climate-head p,
  .finance-titlebar p{
    font-size:12px!important;
  }

  body.pro-page-climate .climate-head .climate-btn.primary,
  .finance-titlebar .btn.primary{
    min-height:38px!important;
    padding:0 12px!important;
    font-size:11.5px!important;
  }
}

@media(max-width:560px){
  body.pro-page-home .pro-page-titlebar,
  body.pro-page-team .pro-page-titlebar,
  body.pro-page-climate .climate-head,
  .finance-titlebar{
    flex-direction:column!important;
  }
}

/* ======================================================================
   THERMOHERZ — Početna: financijski KPI pregled bez overflowa
   22.09.2026. — mijenja SAMO "Poslovi i naplata" sažetak na Početnoj
   ====================================================================== */

#financeHomeShortcut .finance-kpis{
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:10px!important;
  align-items:stretch!important;
  margin:0!important;
}

#financeHomeShortcut .finance-kpi{
  box-sizing:border-box!important;
  min-width:0!important;
  min-height:118px!important;
  padding:13px 12px 11px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
  overflow:hidden!important;
}

#financeHomeShortcut .finance-kpi small{
  width:100%!important;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
  font-size:10px!important;
  font-weight:500!important;
  line-height:1.25!important;
  margin:0 0 6px!important;
  color:#687985!important;
  overflow-wrap:anywhere!important;
}

#financeHomeShortcut .finance-kpi b{
  width:100%!important;
  max-width:100%!important;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
  font-size:18px!important;
  font-weight:600!important;
  line-height:1.15!important;
  letter-spacing:-.025em!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:clip!important;
}

/* Drugi red u kartici: "23 od 24 poslova" i upozorenje za maržu */
#financeHomeShortcut .finance-kpi b + small{
  margin:6px 0 0!important;
  font-size:9px!important;
  font-weight:500!important;
  line-height:1.28!important;
  white-space:normal!important;
  overflow:visible!important;
}

/* Upozorenje za maržu mora ostati unutar bijele kartice */
#financeHomeShortcut .finance-kpi.gold b + small{
  color:#a86600!important;
  font-size:8.7px!important;
  font-weight:600!important;
  line-height:1.22!important;
  max-width:100%!important;
}

/* Malo uži prikazi: ne stišći šest kartica do nečitljivosti */
@media(max-width:1180px){
  #financeHomeShortcut .finance-kpis{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }

  #financeHomeShortcut .finance-kpi{
    min-height:102px!important;
  }

  #financeHomeShortcut .finance-kpi b{
    font-size:19px!important;
  }
}

@media(max-width:620px){
  #financeHomeShortcut .finance-kpis{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }

  #financeHomeShortcut .finance-kpi{
    min-height:100px!important;
  }

  #financeHomeShortcut .finance-kpi b{
    font-size:17px!important;
  }
}

/* ======================================================================
   THERMOHERZ — OBAVEZE: tipografija usklađena s HVAC Selectorom
   22.09.2026.
   Dira samo stranicu Obaveze i modal za unos/uređivanje obaveze.
   ====================================================================== */

/* Širi radni prostor — Obaveze više ne izgledaju kao minijaturna kartica
   usred velikog ekrana. */
body.pro-page-tasks .pro-content{
  max-width:1100px!important;
}

/* Filteri */
body.pro-page-tasks .pro-filters{
  gap:12px!important;
  margin-bottom:18px!important;
}

body.pro-page-tasks .pro-filter-field{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
  font-size:10.5px!important;
  font-weight:500!important;
  letter-spacing:.02em!important;
  text-transform:none!important;
  color:#657783!important;
  gap:6px!important;
}

body.pro-page-tasks .pro-filters select{
  height:42px!important;
  padding:0 13px!important;
  border-radius:9px!important;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
  font-size:13px!important;
  font-weight:400!important;
  color:#334b5c!important;
}

/* Sažetak: prikazano / otvoreno */
body.pro-page-tasks .pro-task-summary{
  gap:8px!important;
  margin-top:10px!important;
}

body.pro-page-tasks .pro-task-summary span{
  padding:5px 9px!important;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
  font-size:10.5px!important;
  font-weight:400!important;
}

body.pro-page-tasks .pro-task-summary b{
  font-size:11.5px!important;
  font-weight:600!important;
}

/* Grupe po datumu */
body.pro-page-tasks .pro-task-list-full{
  gap:20px!important;
}

body.pro-page-tasks .pro-task-group{
  gap:10px!important;
}

body.pro-page-tasks .pro-task-group-head{
  padding:0 3px 5px!important;
}

body.pro-page-tasks .pro-task-group-head h2{
  margin:0!important;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
  font-size:16px!important;
  font-weight:600!important;
  letter-spacing:-.01em!important;
  line-height:1.3!important;
  text-transform:capitalize!important;
}

body.pro-page-tasks .pro-task-group-head span{
  margin:0!important;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
  font-size:10.5px!important;
  font-weight:500!important;
}

/* Glavna kartica obaveze */
body.pro-page-tasks .pro-task-card-full{
  min-height:116px!important;
  grid-template-columns:36px 108px minmax(0,1fr) 130px!important;
  gap:16px!important;
  padding:14px 15px!important;
  border-radius:13px!important;
}

/* Checkbox */
body.pro-page-tasks .pro-task-card-full>.pro-task-check{
  width:32px!important;
  height:32px!important;
  border-radius:9px!important;
}

/* Blok datuma / vremena */
body.pro-page-tasks .pro-task-timebox{
  min-height:86px!important;
  padding:9px!important;
  border-radius:10px!important;
}

body.pro-page-tasks .pro-time-day{
  font-size:9.5px!important;
  font-weight:600!important;
  letter-spacing:.06em!important;
}

body.pro-page-tasks .pro-time-date{
  margin-top:3px!important;
  font-size:11px!important;
  font-weight:600!important;
}

body.pro-page-tasks .pro-task-timebox strong{
  margin-top:6px!important;
  font-size:17px!important;
  font-weight:600!important;
  line-height:1!important;
}

body.pro-page-tasks .pro-task-timebox small{
  margin-top:5px!important;
  font-size:9px!important;
  font-weight:400!important;
}

/* Naslov taska */
body.pro-page-tasks .pro-task-card-full .pro-task-title{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
  font-size:15px!important;
  font-weight:600!important;
  letter-spacing:-.008em!important;
  line-height:1.3!important;
}

/* Kategorija */
body.pro-page-tasks .pro-category-chip{
  padding:4px 8px!important;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
  font-size:9px!important;
  font-weight:600!important;
  letter-spacing:.02em!important;
}

/* Lokacija / detalji */
body.pro-page-tasks .pro-task-detail-row{
  gap:14px!important;
  margin-top:9px!important;
}

body.pro-page-tasks .pro-task-detail{
  gap:2px!important;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
  font-size:10.5px!important;
  font-weight:400!important;
}

body.pro-page-tasks .pro-task-detail b{
  font-size:11px!important;
  font-weight:500!important;
}

body.pro-page-tasks .pro-detail-label{
  font-size:9px!important;
  font-weight:500!important;
  letter-spacing:.04em!important;
}

body.pro-page-tasks .pro-map-link{
  font-size:10.5px!important;
  font-weight:500!important;
}

/* Zaduženi + audit */
body.pro-page-tasks .pro-task-people{
  margin-top:8px!important;
  gap:6px!important;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
  font-size:10.5px!important;
  font-weight:400!important;
}

body.pro-page-tasks .pro-task-people b{
  font-weight:600!important;
}

body.pro-page-tasks .pro-task-audit{
  margin-top:6px!important;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
  font-size:9.5px!important;
  font-weight:400!important;
  line-height:1.4!important;
}

body.pro-page-tasks .pro-task-audit b{
  font-weight:600!important;
}

/* Desna strana: status + avatar + detalji */
body.pro-page-tasks .pro-task-side{
  gap:8px!important;
}

body.pro-page-tasks .pro-task-status,
body.pro-page-tasks .pro-overdue-badge{
  padding:4px 8px!important;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
  font-size:9px!important;
  font-weight:600!important;
  letter-spacing:.02em!important;
}

body.pro-page-tasks .pro-person-avatar{
  width:31px!important;
  height:31px!important;
  font-size:9.5px!important;
  font-weight:600!important;
}

body.pro-page-tasks .pro-open-hint{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
  font-size:9.5px!important;
  font-weight:500!important;
}

/* ----------------------------------------------------------------------
   MODAL "Obaveza / termin" — ista čitljivost kao ostatak sustava
   ---------------------------------------------------------------------- */
.pro-modal-card{
  width:min(820px,100%)!important;
}

.pro-modal-body .pro-form-section{
  padding:14px 14px 5px!important;
  margin-bottom:12px!important;
}

.pro-modal-body .pro-form-section-head{
  gap:10px!important;
  margin-bottom:11px!important;
}

.pro-modal-body .pro-form-section-head>span{
  width:28px!important;
  height:28px!important;
  font-size:10.5px!important;
  font-weight:600!important;
}

.pro-modal-body .pro-form-section-head b{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
  font-size:12.5px!important;
  font-weight:600!important;
}

.pro-modal-body .pro-form-section-head small{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
  font-size:9.5px!important;
  font-weight:400!important;
  line-height:1.35!important;
}

.pro-modal-body #plannerModule label,
.pro-modal-body #plannerModule .field label{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
  font-size:10.5px!important;
  font-weight:500!important;
}

.pro-modal-body #plannerModule input,
.pro-modal-body #plannerModule select,
.pro-modal-body #plannerModule textarea{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
  font-size:13px!important;
  font-weight:400!important;
}

.pro-modal-body #plannerModule .person-check span:last-child{
  font-size:12px!important;
  font-weight:500!important;
}

/* Responsive */
@media(max-width:900px){
  body.pro-page-tasks .pro-content{
    max-width:none!important;
  }

  body.pro-page-tasks .pro-task-card-full{
    grid-template-columns:32px minmax(0,1fr)!important;
    gap:9px 10px!important;
    padding:12px 11px!important;
  }

  body.pro-page-tasks .pro-task-timebox{
    grid-column:2!important;
    min-height:0!important;
    display:grid!important;
    grid-template-columns:auto auto 1fr auto!important;
    gap:6px!important;
    justify-content:start!important;
    align-items:center!important;
    padding:8px 10px!important;
    text-align:left!important;
  }

  body.pro-page-tasks .pro-time-day{font-size:8.5px!important}
  body.pro-page-tasks .pro-time-date{margin:0!important;font-size:10px!important}
  body.pro-page-tasks .pro-task-timebox strong{margin:0!important;font-size:14px!important}
  body.pro-page-tasks .pro-task-timebox small{margin:0!important;font-size:8.5px!important}
  body.pro-page-tasks .pro-task-card-full .pro-task-title{font-size:14px!important}
}

