@font-face{font-family:'Montserrat';font-style:normal;font-weight:400 800;font-display:swap;src:url(/smartino/fonts/montserrat-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:400 800;font-display:swap;src:url(/smartino/fonts/montserrat-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:400 800;font-display:swap;src:url(/smartino/fonts/montserrat-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
/* Smartino theme (palette from Smartino Website: navy #072352, lime #c8ee47). Injected by nginx sub_filter.
   Huly sets many variables on `*`, so we override on the theme class AND on its descendants. */

/* ---------- DARK: navy surfaces, lime accents ---------- */
.theme-dark.theme-dark,
.theme-dark.theme-dark * {
  /* buttons / accents */
  --button-primary-BackgroundColor: #c8ee47;
  --button-primary-BorderColor: rgba(7, 35, 82, .25);
  --button-primary-hover-BackgroundColor: #d6f46d;
  --button-primary-active-BackgroundColor: #a9d626;
  --button-primary-loading-LabelColor: #072352;
  --button-accent-LabelColor: #072352;
  --button-accent-IconColor: #072352;
  --selector-active-BackgroundColor: #c8ee47;
  --selector-IconColor: #072352;
  --global-on-accent-TextColor: #072352;
  --global-accent-BackgroundColor: #c8ee47;
  --global-accent-TextColor: #c8ee47;
  --global-accent-IconColor: #c8ee47;
  --global-primary-LinkColor: #c8ee47;
  --global-focus-BorderColor: #c8ee47;
  --global-focus-inset-BorderColor: #0a1d3f;
  --global-subtle-BackgroundColor: #123068;
  --border-talk-indication-primary: #c8ee47;

  /* surfaces (new design tokens) */
  --global-surface-01-BackgroundColor: #061532;
  --global-surface-01-BorderColor: #17305f;
  --global-surface-01-hover-BackgroundColor: #0a1d3f;
  --global-surface-02-BackgroundColor: #0a1d3f;
  --global-surface-02-BorderColor: #1d3a70;
  --global-surface-03-hover-BackgroundColor: #0f2650;
  --global-popover-BackgroundColor: #0f2a58;
  --global-popover-hover-BackgroundColor: #163a76;
  --global-popover-BorderColor: rgba(255, 255, 255, .14);

  /* surfaces (older theme tokens) */
  --theme-bg-color: #0a1d3f;
  --theme-panel-color: #0a1d3f;
  --theme-popup-deactivated: #0a1d3f;
  --theme-statusbar-color: #061532;
  --theme-navpanel-color: #061532;
  --theme-navpanel-selected: rgba(200, 238, 71, .14);
  --theme-comp-header-color: #0d2550;
  --theme-bg-divider-color: #17305f;
  --theme-list-row-color: #0c2248;
  --theme-list-subheader-color: #102a58;
  --theme-list-button-color: #123068;
  --theme-list-button-hover: #19417f;
  --theme-table-header-color: #0d2550;
  --theme-popup-color: #0f2a58;
  --theme-popup-hover: #163a76;
  --theme-popup-header: #1a437f;
  --theme-link-color: #c8ee47;
  --theme-link-button-color: #123068;
  --theme-link-button-hover: #19417f;
  --theme-toggle-on-bg-color: #c8ee47;
  --theme-toggle-on-bg-hover: #a9d626;
  --theme-inbox-activity-bgcolor: #061532;
  --highlight-select: #12305f;
  --highlight-select-border: #1b4585;
  --highlight-select-hover: #163b74;
  --accent-color: #eef2fa;
  --primary-button-default: #c8ee47;
  --primary-button-hovered: #d6f46d;
  --primary-button-pressed: #a9d626;
  --primary-button-focused: #c8ee47;
  --primary-button-outline: #c8ee47;
  --primary-button-color: #072352;
}

/* ---------- LIGHT: white/pale-blue surfaces, navy accents ---------- */
.theme-light.theme-light,
.theme-light.theme-light * {
  --button-primary-BackgroundColor: #072352;
  --button-primary-BorderColor: rgba(7, 35, 82, .2);
  --button-primary-hover-BackgroundColor: #0f3a7a;
  --button-primary-active-BackgroundColor: #051a3d;
  --button-primary-loading-LabelColor: #c8ee47;
  --button-accent-LabelColor: #ffffff;
  --button-accent-IconColor: #ffffff;
  --selector-active-BackgroundColor: #072352;
  --selector-IconColor: #ffffff;
  --global-on-accent-TextColor: #ffffff;
  --global-accent-BackgroundColor: #072352;
  --global-accent-TextColor: #0f3a7a;
  --global-accent-IconColor: #0f3a7a;
  --global-primary-LinkColor: #0f3a7a;
  --global-focus-BorderColor: #0f3a7a;
  --border-talk-indication-primary: #0f3a7a;

  --global-surface-01-BackgroundColor: #eef2fa;
  --global-surface-01-BorderColor: #d5deee;
  --global-surface-01-hover-BackgroundColor: #e3ebf9;
  --global-surface-02-BackgroundColor: #ffffff;
  --global-surface-02-BorderColor: #e6eaf2;
  --global-surface-03-hover-BackgroundColor: #f6f8fb;

  --theme-bg-color: #f6f8fb;
  --theme-navpanel-color: #eef2fa;
  --theme-navpanel-selected: rgba(7, 35, 82, .1);
  --theme-link-color: #0f3a7a;
  --theme-toggle-on-bg-color: #072352;
  --theme-toggle-on-bg-hover: #0f3a7a;
  --highlight-select: #e3ebf9;
  --highlight-select-border: #cfdcf3;
  --highlight-select-hover: #d8e4f7;
  --accent-color: #072352;
  --primary-button-default: #072352;
  --primary-button-hovered: #0f3a7a;
  --primary-button-pressed: #051a3d;
  --primary-button-focused: #072352;
  --primary-button-outline: #0f3a7a;
  --primary-button-color: #ffffff;
}

/* ---------- Left navigation: labelled, like the Nav mockup (desktop only) ---------- */

/* labels only exist visually when the panel is wide */
.antiPanel-application .app .app-text { display: none; }

@media (min-width: 900px) {
  .antiPanel-application.vertical .app.wide .app-text { display: block !important; }
  * { --app-panel-width: 14.5rem !important; }

  .antiPanel-application.vertical {
    align-items: stretch !important;
    background-color: #061532;
    font-family: 'Montserrat', system-ui, sans-serif;
  }
  .theme-light .antiPanel-application.vertical { background-color: #eef2fa; }

  /* top block: logo + wordmark, hamburger, inbox */
  .antiPanel-application.vertical .hamburger-container.landscape {
    align-items: stretch !important;
    margin-top: 1.25rem !important;
    padding: 0 .75rem;
  }
  .antiPanel-application.vertical .logo-container {
    display: flex; align-items: center; gap: .625rem;
    padding: .25rem .75rem 1rem !important; margin: 0 !important;
  }
  .antiPanel-application.vertical .logo-container::after {
    content: 'Smartino';
    font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.25rem;
    letter-spacing: -0.01em; color: #c8ee47;
  }
  .theme-light .antiPanel-application.vertical .logo-container::after { color: #072352; }
  .antiPanel-application.vertical .topmenu-container { display: none !important; }

  /* every app row */
  .antiPanel-application.vertical .apps-vertical { width: 100% !important; min-width: 0 !important; }
  .antiPanel-application.vertical .apps-vertical .box { align-items: stretch !important; }
  .antiPanel-application.vertical .apps-vertical .divider { width: 100% !important; margin: .5rem 0 !important; }
  .antiPanel-application.vertical .app.wide { justify-content: flex-start !important; box-sizing: border-box; min-width: 0; }
  .antiPanel-application.vertical .app.wide .app-text { min-width: 0; flex: 1 1 auto; text-align: left; }
  .antiPanel-application.vertical a { display: block; width: 100%; }
  .antiPanel-application.vertical .app.wide {
    display: flex !important; align-items: center; gap: .75rem;
    width: 100% !important; height: 2.5rem !important;
    padding: 0 .75rem !important; border-radius: .625rem !important;
    border-color: transparent !important; text-align: left;
  }
  .antiPanel-application.vertical .app.wide .icon-container { flex-shrink: 0; color: #c5d2ea; }
  .antiPanel-application.vertical .app.wide .app-text {
    font-size: .875rem; font-weight: 500; color: #c5d2ea; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
  }
  .antiPanel-application.vertical .app.wide:hover { background: rgba(255, 255, 255, .05) !important; }
  .antiPanel-application.vertical .app.wide.selected { background: rgba(200, 238, 71, .14) !important; }
  .antiPanel-application.vertical .app.wide.selected .icon-container,
  .antiPanel-application.vertical .app.wide.selected .app-text { color: #c8ee47; font-weight: 600; }
  .theme-light .antiPanel-application.vertical .app.wide .icon-container,
  .theme-light .antiPanel-application.vertical .app.wide .app-text { color: #34456b; }
  .theme-light .antiPanel-application.vertical .app.wide.selected { background: rgba(7, 35, 82, .1) !important; }
  .theme-light .antiPanel-application.vertical .app.wide.selected .icon-container,
  .theme-light .antiPanel-application.vertical .app.wide.selected .app-text { color: #072352; }

  /* bottom block: customize, support, avatar */
  .antiPanel-application.vertical .info-box.vertical {
    flex-direction: row !important; justify-content: space-between;
    padding: 1rem 1.25rem 0 !important; margin: 0 .75rem 1.25rem !important;
  }
}

/* ---------- Typography + navigator panels (Settings, Team, Tracker, ...) ---------- */
:root, :root * { --font-family: 'Montserrat', system-ui, sans-serif !important; --mono-font: 'Montserrat', system-ui, sans-serif !important; }
/* Montserrat svuda, bez izuzetaka (osim matematickih formula, KaTeX nema isti skup simbola) */
html, body, body *:not(.katex):not(.katex *), body *:not(.katex):not(.katex *)::before, body *:not(.katex):not(.katex *)::after
  { font-family: 'Montserrat', system-ui, sans-serif !important; }

.hulyNavPanel-header {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600 !important; font-size: 1.375rem !important; letter-spacing: -0.01em;
}
.hulyNavPanel-container .hulyNavItem-container {
  border-radius: .625rem !important; min-height: 2.25rem;
}
.theme-dark .hulyNavPanel-container .hulyNavItem-container.selected,
.theme-dark .hulyNavPanel-container .hulyNavItem-container.selected:hover {
  background-color: rgba(200, 238, 71, .14) !important;
}
.theme-dark .hulyNavPanel-container .hulyNavItem-container.selected .hulyNavItem-label,
.theme-dark .hulyNavPanel-container .hulyNavItem-container.selected .hulyNavItem-icon {
  color: #c8ee47 !important; font-weight: 700;
}
.theme-dark .hulyNavPanel-container .hulyNavItem-container:not(.selected):hover {
  background-color: rgba(255, 255, 255, .05) !important;
}
.theme-light .hulyNavPanel-container .hulyNavItem-container.selected {
  background-color: rgba(7, 35, 82, .1) !important;
}
.theme-light .hulyNavPanel-container .hulyNavItem-container.selected .hulyNavItem-label,
.theme-light .hulyNavPanel-container .hulyNavItem-container.selected .hulyNavItem-icon {
  color: #072352 !important; font-weight: 700;
}
.hulyNavGroup-header__label { letter-spacing: .05em; font-weight: 700; }
/* kartica korisnika dole u navigaciji (ime + uloga) */
.sm-me { display: flex; flex-direction: column; margin-left: .5rem; line-height: 1.25; min-width: 0; }
.sm-name { font-weight: 600; font-size: .875rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sm-role { font-size: .75rem; color: var(--theme-dark-color); }
/* donji red navigacije (podesavanja, pomoc, korisnik): globalno pravilo za linkove je stezalo ikonu pomoci preko avatara */
.antiPanel-application.vertical .info-box { gap: .25rem; align-items: center; padding-left: .25rem !important; padding-right: .25rem !important; }
.antiPanel-application.vertical .info-box a { width: auto !important; flex: 0 0 auto; display: flex !important; }
.antiPanel-application.vertical .info-box .flex-center { margin-top: 0 !important; margin-left: .25rem; }
/* Tim (Ljudi/Odsustva): stablo timova levo se ne prikazuje, timovi se biraju u desnom panelu */
body.sm-hide-nav .antiPanel-navigator { display: none !important; }

/* ---------- Drugi levi panel: sakriven, otvara se dugmetom (smartino.js) ---------- */
body.sm-has-nav:not(.sm-nav-open) .antiPanel-navigator { display: none !important; }
.sm-nav-toggle { display: none; }
@media (min-width: 900px) {
  body.sm-has-nav:not(.sm-hide-nav):not(.sm-nav-forced) .sm-nav-toggle {
    display: flex; position: fixed; z-index: 60; top: 50%; left: 232px; transform: translateY(-50%);
    width: 18px; height: 56px; padding: 0; align-items: center; justify-content: center; cursor: pointer;
    background: #0f2a58; color: #c8ee47; border: 1px solid rgba(255, 255, 255, .12); border-left: 0;
    border-radius: 0 10px 10px 0;
  }
  body.sm-nav-open .sm-nav-toggle svg { transform: rotate(180deg); }
  .sm-nav-toggle:hover { background: #163a75; }
  .theme-light .sm-nav-toggle { background: #fff; color: #072352; border-color: rgba(7, 35, 82, .2); }
}

/* ---------- Značke obaveštenja (projekti, razgovori) ---------- */
.sm-badge, .app-badge {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  min-width: 18px; height: 18px; padding: 0 6px; border-radius: 9px;
  background: #c8ee47; color: #072352; font-size: 11px; font-weight: 700; line-height: 1;
}
.app-badge { margin-left: auto; margin-right: .25rem; }
.sm-badge { margin-left: auto; }

/* ---------- Stranice Projekti (patch38) ---------- */
.pj .lnk, .pj .t { text-align: left !important; justify-content: flex-start !important; }

/* Kalendar: kartice termina u mesečnom prikazu su dugmad; Hulyjev stil ih centrira pa se tekst odseca s leve strane */
button.chip { display: block !important; text-align: left !important; justify-content: flex-start !important; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }

/* ---- Raspored (Hulyjeva tabela vremena i odsustava): nasi boje i izgled ---- */
body.sm-schedule .antiTable { background: transparent !important; border-collapse: separate; border-spacing: 0; }
body.sm-schedule .antiTable thead th,
body.sm-schedule .antiTable .scroller-thead__tr th {
  background: #0f2a58 !important;
  color: #a9bad6 !important;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-bottom: 1px solid #1d3a70 !important;
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
}
body.sm-schedule .antiTable .antiTable-body__row,
body.sm-schedule .antiTable .antiTable-body__row td {
  background: transparent !important;
  color: #eef2fa;
  border-color: #1d3a70 !important;
}
body.sm-schedule .antiTable .antiTable-body__row td { border-bottom: 1px solid #17305f !important; padding-top: 0.5rem; padding-bottom: 0.5rem; }
body.sm-schedule .antiTable .antiTable-body__row:hover td,
body.sm-schedule .antiTable .antiTable-body__row.fixed td { background: rgba(200, 238, 71, 0.06) !important; }
body.sm-schedule .antiTable .footer,
body.sm-schedule .antiTable + .space,
body.sm-schedule .antiTable ~ .footer { color: #a9bad6; background: transparent !important; border-color: #1d3a70 !important; }
body.sm-schedule .hulyComponent { background: #0a1d3f !important; }

/* ---------- Obaveštenja kao preklop (smartino.js) ---------- */
.sm-inbox-wrap { display: none; position: fixed; inset: 0; z-index: 1500; }
.sm-inbox-wrap.open { display: block; }
.sm-inbox-back { position: absolute; top: 0; bottom: 0; right: 0; left: var(--sm-inbox-left, 232px); background: rgba(3, 12, 30, .55); }
.sm-inbox-panel {
  position: absolute; top: 0; bottom: 0; left: var(--sm-inbox-left, 232px);
  width: min(440px, calc(100vw - var(--sm-inbox-left, 232px) - 24px)); overflow: hidden;
  background: #0a1d3f; border-left: 1px solid #2c4f8c; box-shadow: -18px 0 48px rgba(0, 0, 0, .5);
}
/* Huly na uskom prozoru (ispod ~900 px) sakriva navigator, pa je iframe širok, a vidi se samo njegova leva kolona (lista) */
.sm-inbox-panel iframe { width: 1100px; max-width: none; height: 100%; border: 0; display: block; clip-path: inset(0 calc(100% - 440px) 0 0); }
.sm-inbox-x { position: absolute; top: .625rem; right: .75rem; z-index: 2; width: 2rem; height: 2rem; border-radius: .5rem; border: 1px solid #2c4f8c; background: #0f2a58; color: #eef2fa; cursor: pointer; }
.sm-inbox-x:hover { background: #163a75; }
/* unutar preklopa: bez levog menija, dugmeta drugog panela i gornje trake */
body.sm-embed .antiPanel-application, body.sm-embed .sm-nav-toggle, body.sm-embed .antiStatusBar { display: none !important; }

.sm-inbox-panel.wide { width: min(1100px, calc(100vw - var(--sm-inbox-left, 232px) - 24px)); }
.sm-inbox-panel.wide iframe { width: 100%; clip-path: none; }
/* gornja traka je sakrivena, pa ispod liste ostaje traka boje pozadine; ista boja kao panel */
html:has(body.sm-embed), body.sm-embed { background: #061532 !important; }
/* sam omotač ne hvata klikove (inače blokira levi meni); hvataju samo pozadina i panel */
.sm-inbox-wrap { pointer-events: none; }
.sm-inbox-back, .sm-inbox-panel { pointer-events: auto; }

/* ---------- TELEFON (ekran uži od 700 px, klasa sm-phone na body iz Workbencha) ----------
   Jedna donja navigacija (SmartinoPhoneNav) umesto Hulyjeve leve / donje trake i desne trake sa widgetima. */
.sm-widgets { display: contents; }
body.sm-phone .sm-widgets { display: none; }
body.sm-phone .antiPanel-application { display: none !important; }
body.sm-phone .workbench-container:not(.inner)::after { display: none; }
body.sm-phone .workbench-container.inner { box-sizing: border-box; padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px)); }
body.sm-phone { overscroll-behavior: none; -webkit-text-size-adjust: 100%; }
body.sm-phone button, body.sm-phone [role='button'] { -webkit-tap-highlight-color: transparent; }
body.sm-phone .antiStatusBar { display: none !important; }
body.sm-phone .app { height: 100% !important; }
body.sm-phone .hulyPanels-container > .ph { flex: 1 1 auto; width: 100%; min-width: 0; }
/* kartice ponuda (SmartinoQuotes): Hulyjevo dugme centrira sadržaj, ovde mora levo */
body.sm-phone .qc { align-items: stretch !important; justify-content: flex-start !important; text-align: left !important; color: #eef2fa !important; gap: 0.25rem; }
body.sm-phone .qc .r1 { color: #eef2fa; }
body.sm-phone .qc .r2 { color: #eef2fa; font-weight: 600; }
body.sm-phone .qc .r3 { color: #a9bad6; font-size: 0.875rem; }
/* dugme "Lista": uska ručka na levoj ivici (ne preklapa polje za pisanje) */
body.sm-phone .sm-list { left: 0 !important; bottom: auto !important; top: 42% !important; width: 1.375rem; min-height: 3.5rem !important; padding: 0 !important; justify-content: center; border-radius: 0 0.75rem 0.75rem 0 !important; border-left: 0 !important; font-size: 0 !important; gap: 0 !important; opacity: 0.92; }
body.sm-phone .sm-list svg { width: 14px; height: 14px; }
/* Hulyjeva plutajuća lista (kanali, obaveštenja, dokumenta): preko celog ekrana, iznad donje navigacije */
body.sm-phone .antiPanel-navigator.fly { top: 0 !important; bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px)) !important; width: 100% !important; max-width: 100% !important; border-radius: 0 !important; }

/* ---------- TELEFON: Projekti kao kartice (SmartinoProjects) ---------- */
body.sm-phone .pl { gap: 0.875rem; }
body.sm-phone .pl h1 { font-size: 1.375rem; }
body.sm-phone .pl header .grow, body.sm-phone .pl .bar .grow { display: none; }
body.sm-phone .pl header input[type='search'] { min-width: 0; flex: 1 1 100%; }
body.sm-phone .pl header .btn { flex: 1 1 100%; min-height: 2.75rem; }
body.sm-phone .pl .bar select { flex: 1 1 8rem; min-width: 0; min-height: 2.75rem; }
body.sm-phone .pl .tabs button { min-height: 2.5rem; }
body.sm-phone .pl .tbl { background: none; border: 0; display: flex; flex-direction: column; gap: 0.625rem; overflow: visible; }
body.sm-phone .pl .th { display: none; }
body.sm-phone .pl .tr { display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: center; gap: 0.375rem 0.5rem; padding: 0.875rem 1rem; border: 1px solid #1d3a70; border-radius: 0.875rem; background: #0f2a58; min-height: 2.75rem; }
body.sm-phone .pl .tr .c1 { order: 1; flex: 1 1 calc(100% - 6.5rem); }
body.sm-phone .pl .tr .rok { order: 2; margin-left: auto; font-size: 0.8125rem; }
body.sm-phone .pl .tr > span:nth-child(2), body.sm-phone .pl .tr > span:nth-child(3) { order: 3; }
body.sm-phone .pl .tr > span:nth-child(2):has(> small), body.sm-phone .pl .tr > span:nth-child(3):has(> small) { display: none; }
body.sm-phone .pl .tr .nx { order: 4; flex: 1 1 100%; font-size: 0.875rem; color: #c5d2ea; }
body.sm-phone .pl .tr .team { order: 5; flex: 1 1 100%; }
body.sm-phone .pl .tr .team:empty { display: none; }

/* ---------- TELEFON: Servis, Prodaja ---------- */
body.sm-phone .sv h1, body.sm-phone .sl h1 { font-size: 1.375rem; }
body.sm-phone .sv .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
body.sm-phone .sv .card { padding: 0.75rem; }
body.sm-phone .sv .card .big { font-size: 1.5rem; }
body.sm-phone .sv .card .b { font-size: 0.6875rem; }
body.sm-phone .sv .lnk { text-align: left; justify-content: flex-start; }
body.sm-phone .sv .panel { padding: 1rem; }
body.sm-phone .sl .scroll { overflow: visible; }
body.sm-phone .sl .board { display: flex; flex-direction: column; gap: 1rem; width: 100%; min-width: 0; }
body.sm-phone .sl .lane { width: 100%; min-width: 0; flex: none; }
body.sm-phone .sl .none { display: none; }
body.sm-phone .sl .lane, body.sm-phone .sl .lane .cards { min-height: 0 !important; height: auto !important; }
/* lista kao panel odozdo (ne preko celog ekrana): vidi se pozadina, X zatvara, klik pored zatvara */
body.sm-phone .antiPanel-navigator.fly { top: 14vh !important; height: auto !important; max-height: none !important; border-radius: 1.25rem 1.25rem 0 0 !important; border: 1px solid #2c4f8c !important; border-bottom: 0 !important; box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.5); overflow: hidden; }
body.sm-phone .workbench-container .cover.shown { background: rgba(2, 10, 28, 0.6) !important; }
.sm-sheet-x { position: absolute; top: 0.625rem; right: 0.75rem; z-index: 5; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.08); color: #eef2fa; font-size: 1.125rem; line-height: 1; cursor: pointer; display: grid; place-content: center; }
body.sm-phone .cl .item { justify-content: flex-start; text-align: left; min-height: 3.25rem; }

/* ---------- PRIJAVA (klasa sm-login na body iz smartino.js): levo logo + naslov, desno forma, prema mockupu Prijava ---------- */
body.sm-login .backd { background: linear-gradient(160deg, #0f2a58 0%, #072352 60%, #061532 100%) !important; }
body.sm-login .backd .back > .flex-row-center:first-child, body.sm-login .sm-orig-brand { display: none !important; }
.sm-login-hero { display: none; }
body.sm-login .sm-login-hero {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1.5rem;
  position: absolute; z-index: 1; left: 0; top: 0; bottom: 0; width: calc(100% - 700px); box-sizing: border-box; padding: 3.5rem 4.5rem;
  font-family: 'Montserrat', system-ui, sans-serif; color: #eef2fa;
}
body.sm-login .sm-login-hero img { width: 112px; height: 112px; }
body.sm-login .sm-login-hero .nm { margin: 0; font-size: 2.75rem; font-weight: 700; letter-spacing: -0.02em; color: #c8ee47; line-height: 1; }
body.sm-login .sm-login-hero h1 { margin: .5rem 0 0; max-width: 28rem; font-size: 1.875rem; line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; }
body.sm-login .sm-login-hero p { margin: 0; max-width: 28rem; font-size: 1.0625rem; line-height: 1.5; color: #c5d2ea; }
body.sm-login .sm-login-hero .chips { display: flex; gap: .625rem; flex-wrap: wrap; }
body.sm-login .sm-login-hero .chips span { background: rgba(200, 238, 71, .14); color: #c8ee47; border-radius: 999px; padding: .375rem .875rem; font-size: .8125rem; font-weight: 700; }
/* forma */
body.sm-login .panel-base { background: #0a1d3f !important; border: 1px solid #1d3a70; }
body.sm-login .panel-base input { color: #eef2fa; }
body.sm-login .panel-base button.primary, body.sm-login .panel-base .antiButton.primary { background: #c8ee47 !important; color: #072352 !important; font-weight: 700; }
body.sm-login .panel-base a { color: #c8ee47; }
body.sm-login .sm-hide { display: none !important; }
@media (max-width: 1100px) { body.sm-login .sm-login-hero { display: none; } }
body.sm-login .sm-invite-note { position: absolute; left: 4.25rem; right: 4.25rem; bottom: 2.25rem; font-size: .8125rem; color: #a9bad6; }

/* ---------- TELEFON: ponuda (stavke) ---------- */
/* na telefonu nema zaglavlja kolona, pa količina i cena dobijaju oznaku u samom polju */
body.sm-phone .ln:not(.lh) input.n { background-repeat: no-repeat; background-position: left 0.75rem center; background-size: auto 1rem; }
body.sm-phone .ln:not(.lh) input.n:first-of-type { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='16'%3E%3Ctext x='0' y='12' font-family='sans-serif' font-size='11' fill='%23a9bad6'%3EKoli%C4%8Dina%3C/text%3E%3C/svg%3E"); }
body.sm-phone .ln:not(.lh) input.n:nth-of-type(2) { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='16'%3E%3Ctext x='0' y='12' font-family='sans-serif' font-size='11' fill='%23a9bad6'%3ECena%3C/text%3E%3C/svg%3E"); }

/* ---------- TELEFON: jedan projekat (SmartinoProject) ---------- */
/* faze: red koji se pomera prstom umesto zgnječenih kolona */
body.sm-phone .pj .phases { display: flex !important; overflow-x: auto; gap: 0.5rem; padding-bottom: 0.375rem; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
body.sm-phone .pj .phases::-webkit-scrollbar { display: none; }
body.sm-phone .pj .phases .phase { flex: 0 0 auto; min-width: 7.5rem; max-width: 9.5rem; scroll-snap-align: start; }
body.sm-phone .pj .phases .phase .lb { white-space: normal; text-align: left; }
/* tabovi (Pregled, Zadaci, ...): jedan red koji se pomera */
body.sm-phone .pj .tabs { overflow-x: auto; flex-wrap: nowrap !important; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
body.sm-phone .pj .tabs::-webkit-scrollbar { display: none; }
body.sm-phone .pj .tabs button { flex: 0 0 auto; white-space: nowrap; min-height: 2.5rem; }
/* "Sledeći korak": manja kartica, dugme preko cele širine ispod teksta */
body.sm-phone .pj section.next { flex-direction: column !important; align-items: stretch !important; gap: 0.75rem; padding: 1rem !important; }
body.sm-phone .pj section.next h2 { font-size: 1.125rem !important; line-height: 1.25; overflow-wrap: anywhere; }
body.sm-phone .pj section.next .btn { width: 100%; min-height: 2.75rem; justify-content: center; }
body.sm-phone .pj .cols { flex-direction: column !important; }
body.sm-phone .pj .cols > .col { width: 100% !important; min-width: 0; flex: none !important; }

/* ---------- TELEFON: Kalendar ---------- */
/* nedeljni prikaz: sedam kolona od 40 px ne stane, pa se tabela pomera prstom (Dan ostaje pregledan na jednoj koloni) */
body.sm-phone .cal { overflow-x: auto; -webkit-overflow-scrolling: touch; }
body.sm-phone .cal .grid { min-width: 34rem; }

/* ---------- TELEFON: Statistika ---------- */
body.sm-phone .st .tabs { overflow-x: auto; flex-wrap: nowrap !important; scrollbar-width: none; }
body.sm-phone .st .tabs::-webkit-scrollbar { display: none; }
body.sm-phone .st .tabs button { flex: 0 0 auto; white-space: nowrap; min-height: 2.5rem; }
body.sm-phone .st .card.tbl { -webkit-overflow-scrolling: touch; }

/* ---------- TELEFON: Propušteno (SmartinoMissed) ---------- */
body.sm-phone .ms > header { flex-direction: column; align-items: stretch !important; gap: 0.75rem; }
body.sm-phone .ms > header .btn { width: 100%; min-height: 2.75rem; justify-content: center; }

/* ---------- PRIJAVA: desna strana po mockupu (bez kartice, ravna pozadina, polja 48 px, limeta dugme) ---------- */
body.sm-login .backd .back { padding: 0 !important; }
body.sm-login .panel-base, body.sm-login .backd .panel {
  background: #0a1d3f !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
  backdrop-filter: none !important; height: 100% !important; margin: 0 !important; align-self: stretch;
}
body.sm-login .panel-base .form-content { width: 100%; max-width: 400px; margin: 0 auto; padding-left: 0; padding-right: 0; }
body.sm-login .panel-base form.container { gap: 1.125rem; }
body.sm-login .panel-base .caption { flex-direction: column !important; align-items: flex-start !important; gap: .375rem; margin-bottom: .25rem; }
body.sm-login .panel-base .caption .title { font-size: 1.625rem !important; font-weight: 600 !important; color: #eef2fa !important; border: 0 !important; padding: 0 !important; }
body.sm-login .panel-base .caption .title::after, body.sm-login .panel-base .caption .title::before { display: none !important; }
body.sm-login .panel-base .caption::after { content: 'Dobro došao nazad.'; font-size: .9375rem; color: #a9bad6; font-weight: 400; }
body.sm-login .panel-base .editbox { height: 48px !important; min-height: 48px; box-sizing: border-box; border-radius: 10px !important; border: 1px solid #2c4f8c !important; background: #0f2a58 !important; }
body.sm-login .panel-base .editbox:focus-within { border-color: #c8ee47 !important; box-shadow: 0 0 0 3px rgba(200, 238, 71, .14); }
body.sm-login .panel-base .status { background: transparent !important; border: 0 !important; color: #ffc857; padding: 0 !important; min-height: 0; }
body.sm-login .panel-base .status * { color: #ffc857 !important; }
body.sm-login .panel-base button { height: 50px; border-radius: 10px !important; border: 0 !important; font-size: 1rem; font-weight: 700; background: #c8ee47 !important; color: #072352 !important; opacity: 1; }
body.sm-login .panel-base button[disabled], body.sm-login .panel-base button.disabled { background: rgba(200, 238, 71, .35) !important; color: rgba(7, 35, 82, .75) !important; cursor: not-allowed; }
body.sm-login .panel-base a { color: #c8ee47 !important; font-weight: 600; }
body.sm-login .sm-invite-note { left: 50%; right: auto; transform: translateX(-50%); width: min(400px, calc(100% - 3rem)); }
body.sm-login .sm-login-hero { width: calc(100% - 656px); }
/* Hulyjev okvir kartice je pseudo-element panela */
body.sm-login .panel-base::before, body.sm-login .panel-base::after { display: none !important; }
body.sm-login .sm-invite-note { text-align: left; }
body.sm-login .sm-invite-note { width: 260px; }
/* forma ranije široka kao stara: Hulyjev kontejner ima bočni razmak */
body.sm-login .panel-base form.container { padding-left: 0 !important; padding-right: 0 !important; width: 100% !important; }
body.sm-login .panel-base .form-content { max-width: 440px; padding: 0 1.5rem; box-sizing: border-box; }
body.sm-login .panel-base .form, body.sm-login .panel-base .form-row, body.sm-login .panel-base .caption, body.sm-login .panel-base .status, body.sm-login .panel-base button { width: 100% !important; box-sizing: border-box; }
body.sm-login .sm-invite-note { width: min(392px, calc(100% - 3rem)); }
body.sm-login .panel-base { width: 656px !important; max-width: 50vw; flex: 0 0 auto; }
body.sm-login .panel-base .form-content { max-width: none; width: 100%; padding: 0 4.5rem; }
body.sm-login .sm-invite-note { width: calc(100% - 9rem); left: 4.5rem; transform: none; }

/* ---- Datum dd/mm/yyyy i vreme 24 h (SmartinoDateInput / SmartinoTimeInput), kalendarska nedelja ---- */
.sm-di { position: relative; display: block; width: 100%; min-width: 0; }
.sm-di > input.sm-di-in { width: 100%; min-height: 2.5rem; padding: 0 2.5rem 0 0.75rem; border-radius: 0.5rem; background: #0a1d3f; color: #eef2fa; border: 1px solid #2c4f8c; font: inherit; font-weight: 500; box-sizing: border-box; }
.sm-di.sm-ti > input.sm-di-in { padding-right: 0.75rem; }
.sm-di > input.sm-di-in::placeholder { color: #6f86ad; }
.sm-di > input.sm-di-in:focus { outline: none; border-color: #c8ee47; }
.sm-di > input.sm-di-in.bad { border-color: #ff8a7a; }
.sm-di > input.sm-di-in:disabled { opacity: 0.5; }
.sm-di > button.sm-di-btn { position: absolute; right: 0.25rem; top: 50%; transform: translateY(-50%); width: 2rem; height: 2rem; display: grid; place-items: center; border: 0; border-radius: 0.375rem; background: transparent; color: #a9bad6; cursor: pointer; padding: 0; }
.sm-di > button.sm-di-btn:hover { color: #c8ee47; }
.sm-di > input.sm-di-pk { position: absolute; right: 0; bottom: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; color-scheme: dark; }
.cal header .wk { font-size: 0.75rem; font-weight: 700; padding: 0.25rem 0.625rem; border-radius: 999px; background: rgba(200, 238, 71, 0.14); color: #c8ee47; white-space: nowrap; }

/* padajuce liste (select): tamna pozadina i svetao tekst, da se opcije citaju */
select option, select optgroup { background-color: #0a1d3f; color: #eef2fa; }
select option:checked, select option:hover { background-color: #1d3a70; color: #ffffff; }

/* ---------- NALOG KUPCA (Guest): druga nijansa (tirkiz) + ekrani za kupca, klasa sm-customer na body iz Workbencha ---------- */
body.sm-customer { --theme-navpanel-color: #04262b; --theme-statusbar-color: #04262b; }
body.sm-customer .antiPanel-application { box-shadow: inset -3px 0 0 #5ee0d0; }
body.sm-customer .sm-role { color: #5ee0d0; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: .6875rem; }
body.sm-customer .sm-pnav { background: #04262b; border-top-color: #0e4a52; }
body.sm-customer .sm-pnav button.on { color: #5ee0d0; }

.cu { --cu: #5ee0d0; display: flex; flex-direction: column; gap: 1.25rem; max-width: 80rem; color: #eef2fa; }
.cu h1 { margin: 0; font-size: 1.625rem; font-weight: 600; }
.cu h2 { margin: 0; font-size: 1.0625rem; font-weight: 600; }
.cu header { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.cu .grow { flex: 1; min-width: 0; }
.cu .muted { color: #a9bad6; } .cu .s { font-size: .8125rem; } .cu .dim { color: #6f86ad; }
.cu .tag { padding: .125rem .625rem; border-radius: 999px; background: rgba(94, 224, 208, .16); color: var(--cu); font-size: .6875rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.cu .back { align-self: flex-start; background: none; border: 0; color: var(--cu); font: inherit; font-weight: 600; cursor: pointer; padding: 0; }
.cu .warn { padding: .75rem 1rem; border-radius: .75rem; background: #0f2a58; border: 1px solid #1d3a70; color: #ffc857; font-size: .875rem; }
.cu .note { color: #8da2c4; font-size: .75rem; margin: .375rem 0; }
.cu .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: 0 1.125rem; border-radius: .625rem; border: 1px solid #2c4f8c; background: #123068; color: #eef2fa; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.cu .btn:hover { background: #163a76; }
.cu .btn.pri { background: var(--cu); color: #04302c; border: 0; font-weight: 700; }
.cu .btn:disabled { opacity: .6; cursor: default; }
.cu .lnk { background: none; border: 0; padding: 0; color: var(--cu); font: inherit; font-weight: 600; cursor: pointer; text-align: left; }
.cu .x { background: none; border: 0; color: #8da2c4; cursor: pointer; font-size: 1rem; padding: .25rem .5rem; } .cu .x:hover { color: #ff8a7a; }

.cu .cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1rem; }
.cu .cards.two { grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); }
.cu .card, .cu .panel { border: 1px solid #1d3a70; border-radius: .875rem; background: #0f2a58; box-shadow: 0 6px 18px rgba(2, 10, 28, .35); }
.cu .card { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: .375rem; padding: 1.125rem; background: linear-gradient(160deg, #143572 0%, #0f2a58 70%); color: inherit; font: inherit; text-align: left; cursor: pointer; }
.cu .card::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--ac, var(--cu)); }
.cu .card.c1 { --ac: #5ee0d0; } .cu .card.c2 { --ac: #7db4ff; } .cu .card.c3 { --ac: #ffc857; } .cu .card.c4 { --ac: #ff9d7a; }
.cu .card:hover { border-color: var(--cu); }
.cu .card .lbl { font-weight: 600; font-size: .8125rem; color: #a9bad6; }
.cu .card .big { font-size: 2.125rem; font-weight: 600; color: #fff; line-height: 1.1; }
.cu .card .mid { font-size: 1.25rem; font-weight: 600; color: #fff; }
.cu .card.proj { gap: .5rem; }
.cu .card .nx { font-size: .875rem; color: #dbe5f6; }
.cu .panel { padding: 1.25rem; background: linear-gradient(180deg, #11306a 0%, #0f2a58 120px); }
.cu .panel.flush { padding: 0; overflow: hidden; }
.cu .panel.accent { border-color: var(--cu); }
.cu .cols { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: flex-start; }
.cu .cols > .panel { flex: 1 1 26rem; min-width: 0; }
.cu .ph { display: flex; align-items: center; gap: .625rem; margin-bottom: .5rem; }
.cu .row { display: flex; align-items: center; gap: .75rem; padding: .75rem 0; border-top: 1px solid #1d3a70; width: 100%; background: none; color: inherit; font: inherit; text-align: left; box-sizing: border-box; }
.cu .row.first { border-top: 0; padding-top: 0; }
.cu button.row { border-left: 0; border-right: 0; border-bottom: 0; cursor: pointer; }
.cu button.row:hover b { color: var(--cu); }
.cu .empty { padding: .75rem 0; font-size: .875rem; }
.cu .when { font-size: .8125rem; font-weight: 700; color: var(--cu); white-space: nowrap; }
.cu .pill { display: inline-block; padding: .125rem .625rem; border-radius: 999px; background: #123068; border: 1px solid #2c4f8c; font-size: .75rem; font-weight: 700; color: #dbe5f6; white-space: nowrap; }
.cu .pill.poslato, .cu .pill.amber, .cu .pill.lime { color: #ffc857; border-color: #8a6a1f; }
.cu .pill.prihvaceno, .cu .pill.green { color: #6fdc9a; border-color: #2c7a52; }
.cu .pill.odbijeno { color: #ff9d8a; border-color: #8a3a2c; }
.cu .dot { width: .625rem; height: .625rem; border-radius: 50%; background: #2c4f8c; flex: 0 0 auto; } .cu .dot.run { background: #ffc857; } .cu .dot.ok { background: #6fdc9a; }
.cu .strike { text-decoration: line-through; color: #8da2c4; }
.cu .steps { display: flex; flex-wrap: wrap; gap: .5rem; }
.cu .st { padding: .375rem .875rem; border-radius: 999px; background: #0a1d3f; border: 1px solid #1d3a70; color: #8da2c4; font-size: .8125rem; font-weight: 600; }
.cu .st.on { background: rgba(94, 224, 208, .14); border-color: #2c8a82; color: #dff7f4; } .cu .st.cur { background: var(--cu); border-color: var(--cu); color: #04302c; font-weight: 800; }
.cu .bar { align-self: stretch; height: .5rem; border-radius: 999px; background: #1d3a70; overflow: hidden; } .cu .bar .fill { display: block; height: 100%; background: var(--cu); }

.cu .seg { display: inline-flex; padding: .25rem; gap: .25rem; border-radius: .75rem; background: #0a1d3f; border: 1px solid #1d3a70; align-self: flex-start; }
.cu .seg button { min-height: 2.25rem; padding: 0 1rem; border-radius: .5rem; border: 0; background: none; color: #a9bad6; font: inherit; font-weight: 600; cursor: pointer; }
.cu .seg button.on { background: var(--cu); color: #04302c; font-weight: 700; }
.cu .filters { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.cu .search, .cu .add input:not([type="checkbox"]) { min-height: 2.5rem; padding: 0 .75rem; border-radius: .5rem; background: #0a1d3f; color: #eef2fa; border: 1px solid #2c4f8c; font: inherit; color-scheme: dark; box-sizing: border-box; min-width: 12rem; }
.cu .chip { min-height: 2.25rem; padding: 0 .875rem; border-radius: 999px; border: 1px solid #2c4f8c; background: #0f2a58; color: #dbe5f6; font: inherit; font-size: .8125rem; font-weight: 600; cursor: pointer; }
.cu .chip.on { background: var(--cu); border-color: var(--cu); color: #04302c; }
.cu .add { display: flex; flex-wrap: wrap; align-items: center; gap: .625rem; margin: .75rem 0 .25rem; }
.cu .add .chk { display: flex; align-items: center; gap: .375rem; font-size: .8125rem; color: #dbe5f6; }
.cu table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.cu th { text-align: left; padding: .75rem 1rem; color: #a9bad6; font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; border-bottom: 1px solid #1d3a70; }
.cu td { padding: .75rem 1rem; border-top: 1px solid #1d3a70; }
.cu .r { text-align: right; }
.cu .qh { display: flex; align-items: center; gap: .75rem; width: 100%; background: none; border: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; padding: 0; }
.cu .tot { font-weight: 700; font-size: 1.0625rem; color: #fff; } .cu .chev { color: #8da2c4; }
.cu .intro { margin: .75rem 0; } .cu .txt { white-space: pre-wrap; margin-top: .75rem; line-height: 1.5; }
.cu .sum { display: flex; flex-direction: column; gap: .25rem; align-items: flex-end; margin: .75rem 0; }
.cu .sum div { display: flex; gap: 1.5rem; } .cu .sum .t { font-size: 1.125rem; font-weight: 700; color: #fff; }
.cu .ico { flex: 0 0 2.5rem; height: 2rem; border-radius: .5rem; background: #123068; display: grid; place-content: center; font-size: .6875rem; font-weight: 800; color: var(--cu); }
.cu .mn { min-width: 9rem; text-align: center; }
.cu .mgrid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cu .mgrid.head span { padding: .625rem; text-align: center; font-size: .75rem; font-weight: 700; color: #a9bad6; border-bottom: 1px solid #1d3a70; }
.cu .cell { min-height: 5.5rem; padding: .375rem; border-top: 1px solid #1d3a70; border-right: 1px solid #1d3a70; display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
.cu .cell:nth-child(7n) { border-right: 0; } .cu .cell.empty { background: #0b2250; }
.cu .cell .dn { font-size: .8125rem; font-weight: 600; color: #a9bad6; }
.cu .cell.today .dn { color: #04302c; background: var(--cu); border-radius: 999px; width: 1.5rem; height: 1.5rem; display: grid; place-content: center; }
.cu .cell .ev { padding: .125rem .375rem; border-radius: .375rem; background: rgba(94, 224, 208, .2); color: #dff7f4; font-size: .75rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 760px) {
  .cu .cell { min-height: 3.5rem; padding: .25rem; } .cu .cell .ev { font-size: .625rem; }
  .cu table { font-size: .8125rem; } .cu th, .cu td { padding: .5rem .5rem; }
}

/* ---------- PRIJAVA NA TELEFONU: logo gore, forma dole (ispod 700 px) ---------- */
@media (max-width: 700px) {
  body.sm-login .bg-image { display: flex !important; flex-direction: column !important; align-items: stretch !important; justify-content: flex-start !important; overflow-y: auto !important; height: 100% !important; }
  body.sm-login .bg-image > .flex-row-center:first-child { display: none !important; }
  body.sm-login .sm-login-hero { display: flex !important; order: -1; position: static !important; width: 100% !important; padding: 2.5rem 1.5rem 1rem !important; gap: .75rem; align-items: center; text-align: center; flex: 0 0 auto; }
  body.sm-login .sm-login-hero img { width: 84px; height: 84px; }
  body.sm-login .sm-login-hero .nm { font-size: 2.25rem; }
  body.sm-login .sm-login-hero h1 { font-size: 1.125rem; margin: 0; }
  body.sm-login .sm-login-hero p, body.sm-login .sm-login-hero .chips { display: none; }
  body.sm-login .panel-base { position: static !important; width: 100% !important; max-width: none !important; height: auto !important; flex: 1 0 auto; border-radius: 1.25rem 1.25rem 0 0 !important; padding: 1.5rem 0 2rem; box-sizing: border-box; }
  body.sm-login .panel-base .scroller-container, body.sm-login .panel-base .horizontalBox { width: 100% !important; height: auto !important; }
  body.sm-login .sm-invite-note { position: static !important; transform: none; width: auto; margin: 1.25rem 1.5rem 0; text-align: center; }
}

.sm-empty-note { display: flex; flex-direction: column; align-items: center; gap: .5rem; padding: 2.5rem 1.5rem; text-align: center; color: #a9bad6; }
.sm-empty-note b { font-size: 1.0625rem; color: #eef2fa; }
.sm-empty-note span { font-size: .875rem; max-width: 18rem; }

#sm-notif-empty { position: fixed; left: 1rem; right: 1rem; top: 30%; z-index: 55; display: flex; flex-direction: column; align-items: center; gap: .625rem; padding: 1.75rem 1.25rem; text-align: center; border-radius: 1rem; border: 1px solid #1d3a70; background: #0f2a58; color: #a9bad6; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
#sm-notif-empty b { font-size: 1.125rem; color: #eef2fa; }
#sm-notif-empty span { font-size: .875rem; }
#sm-notif-empty div { display: flex; gap: .625rem; margin-top: .5rem; }
#sm-notif-empty button { min-height: 2.75rem; padding: 0 1.125rem; border-radius: .625rem; border: 1px solid #2c4f8c; background: #123068; color: #eef2fa; font: inherit; font-weight: 600; cursor: pointer; }
#sm-notif-empty button[data-a=home] { background: #c8ee47; color: #072352; border: 0; font-weight: 700; }
body.sm-customer #sm-notif-empty button[data-a=home] { background: #5ee0d0; color: #04302c; }

/* ---------- Znacke poruka (patch87): zelena = novo, plava = kupac pisao ---------- */
.app-badge.green { background: #22a559; color: #fff; }
.app-badge.blue { background: #2f7de1; color: #fff; }
.notify .notifyMarker { background-color: #22a559 !important; color: #fff !important; }
.notify.customer .notifyMarker { background-color: #2f7de1 !important; }

/* ---------- Ujednačena širina stranica (samo desktop): svi ekrani koriste celu širinu radnog prostora ---------- */
@media (min-width: 900px) {
  body:not(.sm-phone):not(.sm-embed) .hulyPanels-container .box > :is(.sh-wrap, .sl, .wrap, .sv, .st, .cal, .pl, .page),
  body:not(.sm-phone):not(.sm-embed) .kw section.main > .home {
    max-width: none !important; width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; box-sizing: border-box;
  }

  /* leva navigacija: sve stavke stanu na ekran, na niskom prozoru se stisnu, a ako ne stanu, lista se skroluje */
  .antiPanel-application.vertical .apps-vertical { overflow-y: auto; scrollbar-width: none; }
  .antiPanel-application.vertical .app.wide { height: clamp(1.5rem, 3.3vh, 2.5rem) !important; }
  .antiPanel-application.vertical .apps-vertical .divider { margin: .25rem 0 !important; }
  .antiPanel-application.vertical .hamburger-container.landscape { margin-top: clamp(.25rem, 1.5vh, 1.25rem) !important; }
  .antiPanel-application.vertical .logo-container { padding-bottom: clamp(.25rem, 1.2vh, 1rem) !important; }
}

@media (min-width: 900px) {
  body:not(.sm-phone):not(.sm-embed) .hulyPanels-container > .kw { flex: 1 1 auto !important; width: 100% !important; }
  body:not(.sm-phone):not(.sm-embed) .hulyPanels-container .box > .page { padding-left: 2rem !important; padding-right: 2rem !important; }
}

/* ikone leve navigacije: svg-ovi sa fiksnom širinom 24 su se stiskali u kontejner od 18 px i sekli sa leve strane */
@media (min-width: 900px) {
  .antiPanel-application.vertical .app.wide .icon-container { width: 1.125rem; height: 1.125rem; display: flex; align-items: center; justify-content: center; }
  .antiPanel-application.vertical .app.wide .icon-container svg { width: 1.125rem !important; height: 1.125rem !important; flex: none; overflow: visible; }
}

/* scroller navigacije je bio širi od panela (243 u 182 px) i centriran, pa je levi deo ikona izlazio iz panela */
@media (min-width: 900px) {
  .antiPanel-application.vertical .apps-vertical { align-items: stretch !important; overflow-x: hidden; }
  .antiPanel-application.vertical .apps-vertical .scroller-container,
  .antiPanel-application.vertical .apps-vertical .horizontalBox { width: 100% !important; min-width: 0 !important; max-width: 100% !important; }
}

/* >>> loader-start */
/* Smartino loader, varijanta D; generisano build-loaders.py, ne menjati rucno */
.square-spinner-container:not(.size-small), .spinner-container.fullSize .square-spinner-container, .spinner.spinner-x-large, .spinner.spinner-large, .spinner.spinner-medium { background: url("/smartino/loaders/big-light.webp") center / contain no-repeat !important; }
.square-spinner-container.size-small, .spinner.spinner-small, .spinner.spinner-inline { background: url("/smartino/loaders/small-light.webp") center / contain no-repeat !important; }
.theme-dark .square-spinner-container:not(.size-small), .theme-dark .spinner-container.fullSize .square-spinner-container, .theme-dark .spinner.spinner-x-large, .theme-dark .spinner.spinner-large, .theme-dark .spinner.spinner-medium { background: url("/smartino/loaders/big-dark.webp") center / contain no-repeat !important; }
.theme-dark .square-spinner-container.size-small, .theme-dark .spinner.spinner-small, .theme-dark .spinner.spinner-inline { background: url("/smartino/loaders/small-dark.webp") center / contain no-repeat !important; }
.square-spinner-container .loader { visibility: hidden !important; animation: none !important; }
.spinner > svg { opacity: 0 !important; animation: none !important; }
.square-spinner-container { width: 3.5rem !important; height: 3.5rem !important; }
.square-spinner-container.size-small { width: 1.75rem !important; height: 1.75rem !important; }
.square-spinner-container.size-large { width: 5rem !important; height: 5rem !important; }
.spinner-container.fullSize .square-spinner-container { width: 10rem !important; height: 10rem !important; }
html::before { content: ''; position: fixed; inset: 0; z-index: -1; background: #072352 url("/smartino/loaders/big-dark.webp") center / 9rem no-repeat; }
html:has(.spinner-container.fullSize)::before { background-image: none !important; }
html:has(.spinner-container.fullSize)::after { display: none !important; }
.sm-route-loader { position: fixed; inset: 0; z-index: 2147483000; pointer-events: none; background: rgba(7,35,82,.55); opacity: 0; transition: opacity .15s; display: flex; align-items: center; justify-content: center; }
.sm-route-loader.on { opacity: 1; }
.sm-route-loader::after { content: ''; width: 9rem; height: 9rem; background: url("/smartino/loaders/big-dark.webp") center / contain no-repeat; }
/* <<< loader-end */
