/* Tema Studio; probna oznaka prikazuje se samo u lokalnom pregledu. */
body.local-redesign {
  --brand:#ae7e32;
  --brand-rgb:174,126,50;
  --brand-light:#f7efdf;
  --surface-edge:#d9e2e5;
  --surface-shadow:0 1px 3px rgba(23,47,63,.06);
  --redesign-navy:#182e3d;
  --redesign-navy-soft:#274558;
  --redesign-muted:#667b89;
  --redesign-canvas:#f2f5f5;
  --redesign-line:#d9e2e5;
  --shadow-sm:0 1px 3px rgba(23,47,63,.06);
  --shadow-md:0 4px 12px rgba(23,47,63,.085);
  --shadow-lg:0 8px 23px rgba(23,47,63,.11);
  color:#192f40;
  background:var(--redesign-canvas);
}
body.local-redesign .app-shell,
body.local-redesign .app-content { background:var(--redesign-canvas) !important; }
body.gr-local-preview.local-redesign .app-content::before {
  content:"LOKALNI IZGLED · spremanje i dalje mijenja podatke u tvojoj aktivnoj bazi";
  display:block;
  flex:none;
  padding:6px 16px;
  background:#f6ecd7;
  color:#73562e;
  border-bottom:1px solid #eadbbd;
  font-size:10px;
  font-weight:800;
  letter-spacing:.055em;
  text-align:center;
}
body.local-redesign .gr-layout { gap:22px; }
body.local-redesign .gr-layout,
body.local-redesign .gr-detail { color:var(--redesign-navy); }
body.local-redesign .gr-layout-main { min-width:0; }
/* Povratak je zajednička kontrola svih modula; izvorna tema ostaje nepromijenjena. */
body.local-redesign .gr-back {
  min-height:44px;
  padding:5px 13px 5px 6px !important;
  gap:9px !important;
  border:1px solid #cbdadd !important;
  border-radius:10px !important;
  background:#fff !important;
  box-shadow:none !important;
  color:#254758 !important;
  font-weight:700;
}
body.local-redesign .gr-back .gr-back-ico {
  width:32px;
  height:32px;
  border-radius:7px !important;
  background:#e8f1f0 !important;
  color:#245c61 !important;
  font-size:24px !important;
}
body.local-redesign .gr-back:hover {
  border-color:#81aaa9 !important;
  background:#f3f8f7 !important;
  transform:translateX(-2px);
}
body.local-redesign .gr-back:hover .gr-back-ico {
  background:#d7e9e7 !important;
  color:#174950 !important;
}
body.local-redesign .gr-back:focus-visible {
  outline:2px solid #347b83;
  outline-offset:2px;
}
body.local-redesign .gr-title,
body.local-redesign .gr-layout h1,
body.local-redesign .gr-layout h2 {
  color:var(--redesign-navy);
  letter-spacing:-.035em;
  line-height:1.2;
}
body.local-redesign .gr-card {
  border-radius:13px !important;
  box-shadow:0 1px 3px rgba(23,47,63,.055) !important;
}
body.local-redesign .gr-card-hl:hover {
  outline:none !important;
  box-shadow:0 4px 12px rgba(23,47,63,.10) !important;
}

/* Ujednačeni obrasci i kontrole na svim modulima, bez promjene validacije. */
body.local-redesign .gr-page-enter input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
body.local-redesign .gr-page-enter select,
body.local-redesign .gr-page-enter textarea {
  border-radius:9px !important;
  box-shadow:none !important;
}
body.local-redesign .gr-page-enter input:focus-visible,
body.local-redesign .gr-page-enter select:focus-visible,
body.local-redesign .gr-page-enter textarea:focus-visible {
  outline:2px solid #ae7e32;
  outline-offset:1px;
}
body.local-redesign .gr-btn { border-radius:9px !important; box-shadow:none !important; }
body.local-redesign .gr-chip { border-radius:7px !important; box-shadow:none !important; }
body.local-redesign .gr-chip:not(.active) { border-color:#d8e2e4; }
body.local-redesign .gr-chip.active { background:#244357 !important; border-color:#244357 !important; }
body.local-redesign .gr-seg { border-radius:10px !important; box-shadow:none !important; }
body.local-redesign .gr-seg-item { border-radius:7px !important; }
body.local-redesign .gr-tabs { border-bottom-color:#d8e2e4; gap:10px; }
body.local-redesign .gr-tabs-item { color:#6d8492; font-weight:650; padding:10px 8px; }
body.local-redesign .gr-tabs-item.active { color:#284658; box-shadow:inset 0 -2px 0 #ad803b; }

/* Jednostavne linijske ikone zamjenjuju nedostajuće lokalne 3D atlase. */
body.local-redesign .modul-vizual.gr-redesign-icon {
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  flex:none;
  background:none !important;
  background-image:none !important;
  border-radius:12px;
  color:#2b5967;
  line-height:1;
  overflow:visible;
  filter:none !important;
  mix-blend-mode:normal !important;
}
body.local-redesign .gr-redesign-icon .ti {
  font-size:25px;
  line-height:1;
  font-weight:400;
}
body.local-redesign .gr-nav-ico .gr-redesign-icon .ti,
body.local-redesign .app-bottom-nav .gr-redesign-icon .ti { font-size:21px; }
body.local-redesign .gr-module-title .gr-redesign-icon .ti,
body.local-redesign .project-card-icon .gr-redesign-icon .ti { font-size:23px; }
body.local-redesign .gr-tiles .gr-redesign-icon .ti { font-size:24px; }
body.local-redesign .gr-redesign-icon-projekti,
body.local-redesign .gr-redesign-icon-racuni,
body.local-redesign .gr-redesign-icon-banka { color:#a87527; }
body.local-redesign .gr-redesign-icon-zadaci,
body.local-redesign .gr-redesign-icon-kalendar,
body.local-redesign .gr-redesign-icon-raspored { color:#20736b; }
body.local-redesign .gr-redesign-icon-financije,
body.local-redesign .gr-redesign-icon-prihodi { color:#38775c; }
body.local-redesign .gr-redesign-icon-ai { color:#6670a8; }

/* Navigacija: kompaktnija, čitljiva i ista logika na svim širinama. */
body.local-redesign .gr-mobile-left {
  background:#fbfcfc;
  box-shadow:12px 0 32px rgba(13,34,47,.19);
}
body.local-redesign .gr-mobile-left .gr-nav {
  min-height:46px;
  margin-bottom:3px !important;
  padding:7px 11px !important;
  border:1px solid transparent !important;
  border-radius:9px !important;
  background:transparent !important;
  box-shadow:none !important;
  color:#345163 !important;
}
body.local-redesign .gr-mobile-left .gr-nav.active {
  background:#e8efef !important;
  color:#173344 !important;
  border-color:#dbe6e5 !important;
  box-shadow:inset 3px 0 #ae7e32 !important;
}
body.local-redesign .gr-mobile-left .gr-nav:hover { background:#edf3f3 !important; transform:none !important; }
body.local-redesign .gr-mobile-left .gr-nav-ico,
body.local-redesign .app-sidebar .gr-nav-ico { background:transparent !important; }
body.local-redesign .gr-mobile-left .gr-nav-sek { color:#778a95; letter-spacing:.09em; }
body.local-redesign .gr-redesign-auth {
  background:radial-gradient(circle at 50% 0%,#e2ebeb 0,transparent 46%),#f2f5f5 !important;
}
body.local-redesign .gr-redesign-auth > img {
  border:1px solid #d8e1e4;
  box-shadow:0 7px 20px rgba(21,45,59,.11) !important;
}
body.local-redesign .gr-redesign-auth-card {
  border:1px solid var(--redesign-line);
  border-radius:15px !important;
  box-shadow:0 7px 26px rgba(21,45,59,.085) !important;
}
body.local-redesign .gr-redesign-auth-card input {
  min-height:44px;
  border-color:#d2dfe3 !important;
  border-radius:9px !important;
}
body.local-redesign .gr-redesign-auth-card button { border-radius:9px !important; }
body.local-redesign .gr-redesign-auth-card button:not(:disabled):hover { filter:brightness(.97); }
body.local-redesign .app-bottom-nav {
  background:rgba(255,255,255,.97) !important;
  border-top:1px solid var(--redesign-line) !important;
  box-shadow:0 -5px 20px rgba(21,47,61,.06) !important;
  backdrop-filter:blur(16px);
}
body.local-redesign .app-bottom-nav .gr-mobile-nav-item {
  min-width:66px;
  min-height:58px !important;
  padding:7px 6px !important;
  background:transparent !important;
  border:1px solid transparent !important;
  border-radius:10px !important;
  box-shadow:none !important;
}
body.local-redesign .app-bottom-nav .gr-mobile-nav-item.active {
  background:#f4ebda !important;
  border-color:#ead9b7 !important;
  box-shadow:none !important;
}
body.local-redesign .app-bottom-nav .gr-mobile-nav-more .gr-mobile-more-icon {
  display:grid;
  place-items:center;
  width:27px;
  height:27px;
  color:#2d6070;
  background:transparent;
}
body.local-redesign .app-bottom-nav .gr-mobile-nav-more > span:last-child { color:#526d7a !important; }
body.local-redesign .app-bottom-nav .gr-mobile-nav-more.is-open {
  background:#eaf2f1 !important;
  border-color:#c4dcd8 !important;
}
body.local-redesign .app-bottom-nav .gr-mobile-nav-more.is-open .gr-mobile-more-icon { color:#1d6670; }
body.local-redesign .app-bottom-nav .gr-mobile-nav-more:hover { background:#f1f6f5 !important; }

/* Pregled: informacijska hijerarhija i brzi ulazi nalik poslovnom alatu. */
body.local-redesign .visual-dashboard .gr-layout-main { background:none !important; }
body.local-redesign .visual-dashboard .gr-layout-main > .gr-card,
body.local-redesign .visual-dashboard .visual-finance {
  border:1px solid var(--redesign-line) !important;
  box-shadow:var(--surface-shadow) !important;
}
body.local-redesign .visual-dashboard .visual-finance {
  background:#1e3949 !important;
  border-color:#1e3949 !important;
}
body.local-redesign .visual-dashboard .gr-tiles { gap:10px !important; }
body.local-redesign .visual-dashboard .gr-tiles .visual-module {
  min-height:72px;
  border-color:var(--redesign-line) !important;
  background:#fff !important;
  box-shadow:0 1px 3px rgba(23,47,63,.05) !important;
  color:var(--redesign-navy) !important;
}
body.local-redesign .visual-dashboard .gr-tiles .visual-module .gr-redesign-icon {
  width:36px !important;
  height:36px !important;
  background:#edf4f3 !important;
  border-radius:9px;
}
body.local-redesign .visual-dashboard .gr-tiles .visual-module:hover {
  background:#f9fbfa !important;
  border-color:#b7c8c9 !important;
  transform:none !important;
  box-shadow:0 4px 12px rgba(23,47,63,.08) !important;
}
body.local-redesign .visual-dashboard .gr-arrow-card {
  border:1px solid var(--redesign-line);
  border-radius:10px !important;
  box-shadow:none !important;
}

/* Projekti i projektni feed: boja grupe ostaje signal, a ne glavni ukras. */
body.local-redesign .project-card { border-radius:12px !important; }
body.local-redesign .project-card:hover {
  transform:none !important;
  box-shadow:0 5px 14px rgba(23,47,63,.09) !important;
}
body.local-redesign .project-card-title { color:var(--redesign-navy) !important; font-size:15px; }
body.local-redesign .project-card-icon { background:#edf3f3; border-radius:9px; }
body.local-redesign .project-card-head :is(.project-card-toggle,.project-card-hours) {
  display:inline-grid !important;
  place-items:center !important;
  width:35px !important;
  min-width:35px !important;
  height:35px !important;
  padding:0 !important;
  border:1px solid #d1dfe2 !important;
  border-radius:8px !important;
  background:#f7faf9 !important;
  color:#2b5965 !important;
  box-shadow:none !important;
  transition:background-color .16s ease,border-color .16s ease,color .16s ease !important;
}
body.local-redesign .project-card-head :is(.project-card-toggle,.project-card-hours):hover {
  border-color:#9bbcc2 !important;
  background:#edf5f3 !important;
  color:#216870 !important;
}
body.local-redesign .project-card-head :is(.project-card-toggle,.project-card-hours):focus-visible {
  outline:2px solid #317f82 !important;
  outline-offset:2px !important;
}
body.local-redesign .project-card-toggle .ti {
  display:inline-block;
  transition:transform .18s ease;
}
body.local-redesign .project-card-toggle[aria-expanded="true"] .ti { transform:rotate(180deg); }
body.local-redesign .project-card-details {
  margin-top:14px !important;
  padding-top:14px !important;
  border-top:1px solid #e1e9eb !important;
  font-size:13px !important;
}
body.local-redesign .project-card-facts {
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px !important;
}
body.local-redesign .project-card-fact {
  display:flex;
  flex-direction:column;
  gap:4px;
  min-width:0;
  padding:10px 12px;
  border:1px solid #e1e9eb;
  border-radius:8px;
  background:#f7faf9;
  line-height:1.35;
}
body.local-redesign .project-card-fact b {
  color:#6e8490;
  font-size:11px;
  font-weight:700;
}
body.local-redesign .project-card-fact > span { color:#1d3c4c; font-size:13px; font-weight:700; }
body.local-redesign .project-card-description {
  margin-top:11px !important;
  color:#526b78 !important;
  font-size:13px;
  line-height:1.5;
}
body.local-redesign .project-card-actions { gap:7px !important; margin-top:12px !important; }
body.local-redesign .project-card-action {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:35px;
  padding:8px 11px !important;
  border:1px solid #cddfe3 !important;
  border-radius:8px !important;
  background:#fff !important;
  color:#24495a !important;
  box-shadow:none !important;
  font-size:12px !important;
  font-weight:750 !important;
  white-space:nowrap;
  transition:background-color .16s ease,border-color .16s ease !important;
}
body.local-redesign .project-card-action:hover { background:#f0f6f5 !important; border-color:#9ebfc3 !important; }
body.local-redesign .project-card-action-primary {
  border-color:#24495a !important;
  background:#24495a !important;
  color:#fff !important;
}
body.local-redesign .project-card-action-primary:hover { background:#306273 !important; border-color:#306273 !important; }
body.local-redesign .project-card-action:focus-visible { outline:2px solid #317f82 !important; outline-offset:2px !important; }
@media(max-width:600px) {
  body.local-redesign .project-card-facts { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.local-redesign .project-card-fact:last-child { grid-column:1/-1; }
}
body.local-redesign .projects-overview-bar,
body.local-redesign .projects-filterbar {
  border:1px solid var(--redesign-line) !important;
  background:#fff !important;
  border-radius:11px !important;
  box-shadow:none !important;
}
body.local-redesign .projects-group-heading { border-bottom:1px solid var(--redesign-line); }
body.local-redesign .projects-group-name { letter-spacing:.06em; }
body.local-redesign .gr-projekt .gr-tabs { background:transparent !important; }
body.local-redesign .gr-projekt .gr-tab-body { background:#fff; }
body.local-redesign .gr-projekt .gr-feed-list { background:#f5f8f7 !important; }

/* Isti mirniji izgled za projektni feed, chat, račune i bočne kartice. */
body.local-redesign .gr-projekt .gr-tabs { background:#f4f6f5; }
body.local-redesign .gr-projekt .gr-feed-list { background:#f7f9f8; }
/* Radnje u detaljima projekta koriste iste ravnije oblike i tamnoplavu boju kao nova tema. */
body.local-redesign .gr-projekt :is(.gr-project-action-primary,.gr-project-action-secondary) {
  min-height:40px;
  border-radius:9px !important;
  padding:8px 14px !important;
  font-size:13px !important;
  font-weight:750 !important;
  box-shadow:none !important;
  transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.local-redesign .gr-projekt .gr-project-action-primary {
  background:#244858 !important;
  color:#fff !important;
  border:1px solid #244858 !important;
}
body.local-redesign .gr-projekt .gr-project-action-secondary {
  background:#fff !important;
  color:#2d6170 !important;
  border:1px solid #bad0d3 !important;
}
body.local-redesign .gr-projekt .gr-project-action-secondary.is-active {
  background:#e7f1ef !important;
  border-color:#78aaa9 !important;
}
body.local-redesign .gr-projekt :is(.gr-project-action-primary,.gr-project-action-secondary):not(:disabled):hover {
  box-shadow:0 2px 8px rgba(23,47,63,.12) !important;
}
body.local-redesign .gr-projekt .gr-project-action-primary:not(:disabled):hover { background:#306273 !important; }
body.local-redesign .gr-projekt .gr-project-action-secondary:not(:disabled):hover { background:#eef6f4 !important; }
body.local-redesign .gr-projekt .gr-project-send { width:42px; height:42px; min-height:42px; padding:0 !important; }
body.local-redesign .gr-projekt :is(.gr-project-choice,.gr-chipx) { border-radius:8px !important; }
body.local-redesign .gr-projekt .gr-project-choice { background:#f1f5f4 !important; color:#345261 !important; border:1px solid #d3e1e2 !important; }
body.local-redesign .gr-projekt .gr-project-choice.is-active { background:#244858 !important; color:#fff !important; border-color:#244858 !important; }
body.local-redesign .gr-screen-ai .gr-ai-action-primary {
  background:#244858 !important;
  color:#fff !important;
  border:1px solid #244858 !important;
  border-radius:9px !important;
  box-shadow:none !important;
}
body.local-redesign .gr-screen-ai .gr-ai-action-primary:not(:disabled):hover { background:#306273 !important; }
body.local-redesign .gr-feed-chat-bubble {
  border-radius:10px 10px 10px 3px;
  border-color:#dce5e7;
  box-shadow:0 1px 3px rgba(23,47,63,.06);
}
body.local-redesign .gr-feed-chat-bubble.mine {
  background:#274558;
  color:#fff;
  border-color:#274558;
  border-radius:10px 10px 3px 10px;
  box-shadow:0 1px 3px rgba(23,47,63,.1);
}
body.local-redesign .gr-feed-bar { border-top:1px solid #dce5e7; }
body.local-redesign .gr-feed-bar textarea { background:#f9fbfa !important; border-color:#dce5e7 !important; }
body.local-redesign .feed-mode-button { border-radius:7px; }
body.local-redesign .feed-mode-button.active { background:#274558; }
body.local-redesign .gr-chat-row,
body.local-redesign .gr-racuni-summary > .gr-card,
body.local-redesign .gr-racuni-page .gr-mapa {
  box-shadow:0 1px 3px rgba(23,47,63,.06) !important;
}
body.local-redesign .gr-racuni-actions,
body.local-redesign .gr-racuni-expense-filter,
body.local-redesign .projects-filterbar { background:#f8faf9 !important; border-color:#dce5e7 !important; }
body.local-redesign .gr-rail .gr-card { box-shadow:0 1px 3px rgba(23,47,63,.055) !important; }
body.local-redesign .gr-finance-section,
body.local-redesign .gr-finance-net,
body.local-redesign .gr-banka-kartica { border-radius:12px !important; box-shadow:0 1px 3px rgba(23,47,63,.065) !important; }
body.local-redesign .gr-racuni-table th { background:#f3f6f6; color:#607786; font-weight:750; }
body.local-redesign .gr-racuni-table tbody tr:hover,
body.local-redesign .gr-trow:hover { background:#f7faf9; }
body.local-redesign .gr-racuni-search .gr-search { box-shadow:none; border-color:#dce5e7; }
body.local-redesign .project-finance-toggle { border-radius:9px; background:#f5f9f7; }
body.local-redesign .project-finance-body { border-color:#dce5e7; }

/* Svi moduli: isti ritam sekcija, obrasci i čitljive tablice. */
body.local-redesign .gr-page-enter .gr-card,
body.local-redesign .gr-page-enter .gr-mapa,
body.local-redesign .gr-page-enter .gr-trosak-card,
body.local-redesign .gr-page-enter .gr-supplier-card,
body.local-redesign .gr-page-enter .gr-koop-card {
  border:1px solid var(--redesign-line) !important;
  box-shadow:0 1px 3px rgba(21,45,59,.05) !important;
}
body.local-redesign .gr-page-enter .gr-card [style*="font-weight: 900"],
body.local-redesign .gr-page-enter .gr-card [style*="fontWeight:900"] { letter-spacing:-.015em; }
body.local-redesign .gr-page-enter :is(input,select,textarea):not([type="checkbox"]):not([type="radio"]):not([type="color"]):not([type="file"]) {
  min-height:40px;
  max-width:100%;
  color:var(--redesign-navy);
  background-color:#fff;
  border-color:#d2dfe3;
}
body.local-redesign .gr-page-enter textarea { line-height:1.5; }
body.local-redesign .gr-page-enter :is(input,select,textarea):disabled {
  background:#f2f5f5;
  color:#82919a;
}
body.local-redesign .gr-page-enter :is(input,select,textarea)::placeholder { color:#8da0a9; }
body.local-redesign .gr-page-enter input[type="checkbox"],
body.local-redesign .gr-page-enter input[type="radio"] { accent-color:#a9782d; }
body.local-redesign .gr-page-enter :is(button,[role="button"]):disabled { opacity:.55; cursor:not-allowed; }
body.local-redesign .gr-page-enter .gr-btn,
body.local-redesign .gr-page-enter .gr-chip,
body.local-redesign .gr-page-enter .gr-chipx { min-height:35px; }
body.local-redesign .gr-page-enter .gr-btn:hover { transform:none !important; }
body.local-redesign .gr-page-enter .gr-chip:not(.active):hover,
body.local-redesign .gr-page-enter .gr-chipx:not(.active):hover {
  background:#f3f7f6 !important;
  border-color:#b5c8cc !important;
  color:#244457 !important;
}
body.local-redesign .gr-page-enter .gr-seg { background:#e7eeef !important; }
body.local-redesign .gr-page-enter .gr-seg-item.active {
  background:#fff !important;
  color:#214355 !important;
  box-shadow:0 1px 3px rgba(21,45,59,.09) !important;
}
body.local-redesign .gr-page-enter table {
  border-collapse:separate;
  border-spacing:0;
}
body.local-redesign .gr-page-enter th {
  background:#f2f6f6;
  color:#617684;
  font-size:11px;
  letter-spacing:.04em;
  text-transform:uppercase;
}
body.local-redesign .gr-page-enter td { border-bottom-color:#e7edef; }
body.local-redesign .gr-page-enter :is(.gr-trow,.gr-row,tbody tr):hover { background:#f7faf9; }

/* Financije, računi i banka: podatkovni prikaz ostaje naglašeniji od ukrasa. */
body.local-redesign .gr-racuni-page .gr-mapa,
body.local-redesign .gr-racuni-page .gr-racuni-summary > .gr-card {
  border:1px solid var(--redesign-line) !important;
  border-radius:12px !important;
}
body.local-redesign .gr-racuni-page .gr-racuni-actions,
body.local-redesign .gr-racuni-page .gr-racuni-expense-filter {
  border:1px solid var(--redesign-line) !important;
  border-radius:11px !important;
  background:#fff !important;
}
body.local-redesign .gr-racuni-page .gr-racuni-switch { width:100%; }
body.local-redesign .gr-racuni-page .gr-racuni-switch .gr-seg {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  width:100%;
  max-width:none;
  box-sizing:border-box;
  gap:4px;
  padding:4px;
  border-radius:10px;
}
body.local-redesign .gr-racuni-page .gr-racuni-switch .gr-seg-item {
  width:100%;
  min-height:44px;
  border-radius:7px !important;
}
body.local-redesign .gr-racuni-page .gr-racuni-table th { background:#f2f6f6 !important; }
body.local-redesign .gr-racuni-page .gr-racuni-actions .gr-chip,
body.local-redesign .gr-racuni-page .gr-racun-export {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  border-radius:8px !important;
}
body.local-redesign .gr-racuni-page .gr-racun-export {
  border:1px solid #c9dadd !important;
  background:#fff !important;
  color:#315569 !important;
}
body.local-redesign .gr-racuni-page .gr-racun-action {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  min-height:31px;
  border:1px solid #d9e5e7 !important;
  border-radius:8px !important;
  background:#f5f8f8 !important;
  color:#315569 !important;
  font-size:11px;
  line-height:1.2;
  text-decoration:none;
}
body.local-redesign .gr-racuni-page .gr-racun-action-icon { display:inline-flex; align-items:center; flex:none; }
body.local-redesign .gr-racuni-page .gr-racun-action:hover:not(:disabled) { background:#eaf2f1 !important; border-color:#acc8ca !important; }
body.local-redesign .gr-racuni-page .gr-racun-action-danger { color:#ad4548 !important; background:#fdf4f4 !important; border-color:#efdadd !important; }
body.local-redesign .gr-racuni-page .gr-racun-action-danger:hover:not(:disabled) { background:#fae9ea !important; border-color:#e3b7bb !important; }
body.local-redesign .gr-racuni-page .gr-racun-action-success { color:#27745a !important; background:#eff8f3 !important; border-color:#cfe7d9 !important; }
body.local-redesign .gr-racuni-page .gr-racun-action-warning { color:#9b6c21 !important; background:#fcf7ec !important; border-color:#eedfbd !important; }
body.local-redesign .gr-financije-page .gr-card,
body.local-redesign .gr-finance-section,
body.local-redesign .gr-finance-net { border:1px solid var(--redesign-line) !important; }
body.local-redesign .gr-finance-net { background:#f5f9f7 !important; }
body.local-redesign .gr-banka-kartica {
  border-radius:15px !important;
  box-shadow:0 7px 19px rgba(21,45,59,.13) !important;
}
body.local-redesign .gr-banka-kartica:hover {
  transform:translateY(-2px) !important;
  box-shadow:0 11px 26px rgba(21,45,59,.18) !important;
}

/* Radni moduli: zadaci, kalendar, raspored, tjedan i dnevnik. */
body.local-redesign :is(.gr-week-day-card,.gr-schedule-page .gr-card,.gr-my-task-card,.gr-dan,.gr-dnevnik-card) {
  border-radius:11px !important;
  border-color:var(--redesign-line) !important;
}
body.local-redesign :is(.gr-week-day-card,.gr-dan,.gr-dnevnik-card):hover {
  transform:none !important;
  box-shadow:0 4px 12px rgba(21,45,59,.09) !important;
}
body.local-redesign .gr-week-day-card.is-today { border-left-color:#ae7e32 !important; }
body.local-redesign .gr-add-task-form { border-color:var(--redesign-line); }

/* Kontakti, resursi, dokumenti i postavke dijele isti obrazac sekcija. */
body.local-redesign :is(.gr-koop-card,.gr-supplier-card,.gr-vehicle-page .gr-card,.gr-profil-firme-card) {
  border-radius:12px !important;
  border-color:var(--redesign-line) !important;
}
body.local-redesign .gr-profil-section-head { border-bottom-color:var(--redesign-line); }
body.local-redesign .gr-profil-section-title { color:var(--redesign-navy); }
body.local-redesign .gr-profil-section-sub { color:var(--redesign-muted); }
body.local-redesign .gr-profil-toggle {
  border-color:var(--redesign-line) !important;
  border-radius:10px !important;
  background:#fbfcfc !important;
}

/* Razgovori: ulaz i poruke ostaju jasni, bez teških sjena. */
body.local-redesign .gr-chat-row { border:1px solid var(--redesign-line) !important; }
body.local-redesign .gr-chat-row:hover { transform:none !important; background:#f9fbfa !important; }
body.local-redesign .gr-feed-chat-bubble.mine { background:#264c5c !important; border-color:#264c5c !important; }
body.local-redesign .gr-feed-author strong { color:#244556; }
body.local-redesign .gr-feed-author span { color:#718793; }
body.local-redesign .gr-feed-bar { background:#fff !important; }

/* Bočni sažeci na širim ekranima su odvojeni tankom linijom. */
body.local-redesign .gr-rail .gr-card {
  border:1px solid var(--redesign-line) !important;
  border-radius:12px !important;
  background:#fff !important;
}
body.local-redesign .gr-rail :is(input,textarea,select) { border-color:#d2dfe3; }

@media(max-width:767px) {
  body.local-redesign .gr-layout { padding:17px 13px 22px; }
  body.local-redesign .gr-title,
  body.local-redesign .gr-layout h1 { font-size:23px; }
  body.local-redesign .gr-card { border-radius:11px !important; }
  body.local-redesign .visual-dashboard .gr-tiles { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
  body.local-redesign .visual-dashboard .gr-tiles .visual-module {
    min-height:67px !important;
    padding:9px 10px !important;
    gap:8px !important;
    font-size:12px !important;
  }
  body.local-redesign .gr-page-enter .gr-card { max-width:100%; }
}
@media(min-width:768px) and (max-width:1279px) {
  body.local-redesign .visual-dashboard .gr-tiles { grid-template-columns:repeat(3,minmax(0,1fr)) !important; }
}

/* Desktop navigacija prati primjer: tamna podloga, jedna aktivna stavka. */
@media(min-width:768px) {
  body.local-redesign .app-sidebar {
    width:222px !important;
    min-width:222px !important;
    background:#182c3c !important;
    border-right:1px solid #243f50 !important;
  }
  body.local-redesign .app-sidebar > div:first-child { border-bottom-color:#344b58 !important; }
  body.local-redesign .app-sidebar > div:first-child > div > div:last-child > div:first-child,
  body.local-redesign .app-sidebar > div:last-child > div > div:last-child > div:first-child { color:#f4f7f7 !important; }
  body.local-redesign .app-sidebar > div:first-child > div > div:last-child > div:last-child,
  body.local-redesign .app-sidebar > div:last-child > div > div:last-child > div:last-child { color:#aabdc6 !important; }
  body.local-redesign .app-sidebar > div:last-child { border-top-color:#344b58 !important; }
  body.local-redesign .app-sidebar .gr-nav-sek { color:#8da4b0 !important; }
  body.local-redesign .app-sidebar .gr-nav { color:#c6d4da !important; background:transparent !important; border-color:transparent !important; }
  body.local-redesign .app-sidebar .gr-nav.active {
    color:#fff !important;
    background:#304b5c !important;
    border-color:#304b5c !important;
    box-shadow:inset 3px 0 #c69a59 !important;
  }
  body.local-redesign .app-sidebar .gr-nav-ico { background:transparent !important; }
  body.local-redesign .app-sidebar .gr-nav-ico .modul-vizual { filter:saturate(.55) brightness(1.2); }
  body.local-redesign .app-sidebar .gr-redesign-icon { color:#bed0d6 !important; }
  body.local-redesign .app-sidebar .gr-nav.active .gr-redesign-icon { color:#eac585 !important; }
  body.local-redesign .app-sidebar .gr-nav:hover { color:#fff !important; background:#284253 !important; transform:none !important; }
}

@media(hover:hover) and (pointer:fine) {
  body.local-redesign .gr-card-hl,
  body.local-redesign .gr-nav,
  body.local-redesign .gr-btn,
  body.local-redesign .gr-chip,
  body.local-redesign .gr-tabs-item { transition:background-color .17s ease,border-color .17s ease,box-shadow .17s ease,color .17s ease !important; }
  body.local-redesign .gr-card-hl:hover,
  body.local-redesign .gr-chat-row:hover,
  body.local-redesign .gr-racuni-page .gr-mapa:hover { transform:none !important; box-shadow:0 4px 12px rgba(23,47,63,.1) !important; }
}
@media(prefers-reduced-motion:reduce) {
  body.local-redesign *,body.local-redesign *::before,body.local-redesign *::after { transition:none !important; animation-duration:.01ms !important; }
}

/* Boje prvog prijedloga: jedna tamna istaknuta površina, jasni naglasci. */
body.local-redesign .visual-dashboard .gr-layout-main > .visual-today {
  background:linear-gradient(135deg,#1d3949,#294c5b) !important;
  border-color:#1d3949 !important;
  color:#fff !important;
  padding:22px 24px !important;
  box-shadow:0 8px 21px rgba(25,56,73,.16) !important;
}
body.local-redesign .visual-dashboard .visual-today > div:first-child {
  color:#dbb36f !important;
  font-size:11px !important;
  letter-spacing:.13em !important;
}
body.local-redesign .visual-dashboard .visual-today > div:nth-child(2) {
  color:#fff !important;
  font-size:20px !important;
  letter-spacing:-.025em;
}
body.local-redesign .visual-dashboard .visual-today > div:last-child { color:#c6d7db !important; }
body.local-redesign .visual-dashboard .visual-finance {
  background:linear-gradient(135deg,#1d3949,#244656) !important;
  border-color:#1d3949 !important;
  box-shadow:0 8px 21px rgba(25,56,73,.13) !important;
}
body.local-redesign .visual-dashboard .visual-finance [style*="rgba(255"] { color:#b9cdd4 !important; }
body.local-redesign .visual-dashboard .visual-finance > div:first-child {
  color:#d2dee1 !important;
  letter-spacing:.04em;
}
body.local-redesign .visual-dashboard .visual-finance .gr-arrow-card {
  border-color:rgba(255,255,255,.2) !important;
  background-color:rgba(255,255,255,.075) !important;
}
body.local-redesign .visual-dashboard .visual-finance .gr-arrow-card:nth-child(1) > div:nth-child(2) { color:#83c0e6 !important; }
body.local-redesign .visual-dashboard .visual-finance .gr-arrow-card:nth-child(2) > div:nth-child(2) { color:#f0ca6f !important; }
body.local-redesign .visual-dashboard .visual-finance .gr-arrow-card:nth-child(3) > div:nth-child(2) { color:#f18d86 !important; }
body.local-redesign .visual-dashboard .visual-finance .gr-arrow-card:nth-child(4) > div:nth-child(2) { color:#edb582 !important; }

/* Boja grupe ostaje vidljiva po cijelom obrubu i bez hovera. */
body.local-redesign .gr-page-enter .gr-layout .project-card.gr-card-hl {
  border:3px solid var(--project-accent,#b9c9ce) !important;
  background:#fff !important;
  box-shadow:0 1px 4px rgba(24,48,62,.06) !important;
  outline:none !important;
  position:relative;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease !important;
}
@media(hover:hover) and (pointer:fine) {
  body.local-redesign .gr-page-enter .gr-layout .project-card.gr-card-hl:hover {
    border-color:var(--project-accent,#b9c9ce) !important;
    border-width:3px !important;
    outline:none !important;
    transform:translateY(-4px) !important;
    box-shadow:0 12px 28px rgba(24,48,62,.18) !important;
    z-index:2;
  }
}
body.local-redesign .project-card .project-group {
  border:1px solid currentColor;
  border-radius:6px;
}
body.local-redesign .project-card .project-progress-track { height:4px; }
/* Sklapanje sekcija je funkcija Pregleda u obje teme; stara zadržava svoj izgled. */
body.local-classic .visual-dashboard .gr-quick-access-classic-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin:6px 0 12px;
}
body.local-classic .visual-dashboard .gr-quick-access-classic-header > div { margin:0; }
body.local-classic .visual-dashboard :is(.gr-quick-access-classic-arrow,.gr-dashboard-fold-classic-arrow) {
  display:grid;
  place-items:center;
  flex:none;
  width:34px;
  height:34px;
  border:1px solid #e3d6bd;
  border-radius:10px;
  background:#fffaf1;
  color:#a4782e;
  font-size:23px;
  line-height:1;
  cursor:pointer;
}
body.local-classic .visual-dashboard :is(.gr-quick-access-classic-arrow,.gr-dashboard-fold-classic-arrow):hover { background:#f7ecd7; }
body.local-classic .visual-dashboard :is(.gr-quick-access-classic-arrow,.gr-dashboard-fold-classic-arrow) > span { display:block; transition:transform .18s ease; }
body.local-classic .visual-dashboard :is(.gr-quick-access-classic-arrow,.gr-dashboard-fold-classic-arrow)[aria-expanded="true"] > span { transform:rotate(180deg); }
body.local-classic .visual-dashboard .gr-dashboard-fold-classic .gr-dashboard-projects-heading { margin-bottom:10px; }
body.local-classic .visual-dashboard .gr-dashboard-fold-classic .gr-dashboard-projects-heading > div:first-child { margin:0; }
body.local-classic .visual-dashboard .gr-dashboard-fold-classic-tools { display:flex; align-items:center; gap:9px; color:#8190a0; font-size:12px; font-weight:700; }
body.local-classic .visual-dashboard .gr-dashboard-fold-classic-action { display:flex; justify-content:flex-end; margin:0 0 10px; }
body.local-classic .visual-dashboard :is(.gr-quick-access-classic,.gr-dashboard-fold-classic) [hidden] { display:none !important; }
@media(max-width:620px) {
  body.local-classic .visual-dashboard .gr-dashboard-fold-classic-action select { max-width:min(100%,230px) !important; }
}
body.local-redesign .visual-dashboard .gr-quick-access { margin:19px 0 21px; }
body.local-redesign .visual-dashboard .gr-quick-access-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  min-height:47px;
  margin:0 0 14px;
  padding:0 2px 10px;
  border:0;
  border-bottom:1px solid #cfdee1;
  background:transparent;
  color:#213d4d;
  text-align:left;
  font-size:18px;
  font-weight:800;
  letter-spacing:-.025em;
  cursor:pointer;
}
body.local-redesign .visual-dashboard .gr-quick-access-arrow {
  display:grid;
  place-items:center;
  width:32px;
  height:32px;
  border:1px solid #cbdce0;
  border-radius:8px;
  background:#fff;
  color:#315665;
  transition:background-color .16s ease,border-color .16s ease;
}
body.local-redesign .visual-dashboard .gr-quick-access-arrow .ti {
  display:inline-block;
  transition:transform .18s ease;
}
body.local-redesign .visual-dashboard .gr-quick-access-header[aria-expanded="true"] .gr-quick-access-arrow .ti { transform:rotate(180deg); }
body.local-redesign .visual-dashboard .gr-quick-access-header:hover .gr-quick-access-arrow { background:#edf5f3; border-color:#a8c9ca; }
body.local-redesign .visual-dashboard .gr-quick-access-header:focus-visible { outline:2px solid #317f82; outline-offset:3px; }
body.local-redesign .visual-dashboard .gr-quick-access > div[hidden] { display:none !important; }
body.local-redesign .visual-dashboard .gr-dashboard-projects-heading {
  border-bottom:1px solid #d7e1e4;
  padding-bottom:10px;
}
body.local-redesign .visual-dashboard .gr-dashboard-fold { margin:19px 0 22px; }
body.local-redesign .visual-dashboard .gr-dashboard-fold-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:47px;
  margin:0 0 14px;
  padding:0 2px 10px;
  border-bottom:1px solid #cfdee1;
}
body.local-redesign .visual-dashboard .gr-dashboard-fold-heading h2 {
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin:0;
  color:#213d4d;
  font-size:18px;
  font-weight:800;
  letter-spacing:-.025em;
  text-transform:none;
}
body.local-redesign .visual-dashboard .gr-dashboard-fold-heading h2 .gr-redesign-icon { width:20px !important; height:20px !important; }
body.local-redesign .visual-dashboard .gr-dashboard-fold-heading h2 .ti { font-size:19px; }
body.local-redesign .visual-dashboard .gr-dashboard-fold-tools { display:flex; align-items:center; justify-content:flex-end; gap:10px; min-width:0; }
body.local-redesign .visual-dashboard .gr-dashboard-fold-action { display:flex; justify-content:flex-end; margin:0 0 12px; }
body.local-redesign .visual-dashboard .gr-dashboard-fold-tools select {
  min-height:33px;
  border:1px solid #cbdce0 !important;
  border-radius:8px !important;
  background:#fff !important;
  color:#345363 !important;
  font-size:12px;
}
body.local-redesign .visual-dashboard .gr-dashboard-fold-count { color:#6b8290; font-size:12px; white-space:nowrap; }
body.local-redesign .visual-dashboard .gr-dashboard-fold-arrow {
  display:grid;
  place-items:center;
  flex:none;
  width:32px;
  height:32px;
  border:1px solid #cbdce0;
  border-radius:8px;
  background:#fff;
  color:#315665;
  cursor:pointer;
}
body.local-redesign .visual-dashboard .gr-dashboard-fold-arrow:hover { background:#edf5f3; border-color:#a8c9ca; }
body.local-redesign .visual-dashboard .gr-dashboard-fold-arrow .ti { display:inline-block; transition:transform .18s ease; }
body.local-redesign .visual-dashboard .gr-dashboard-fold-arrow[aria-expanded="true"] .ti { transform:rotate(180deg); }
body.local-redesign .visual-dashboard .gr-dashboard-fold-content[hidden] { display:none !important; }
@media(max-width:620px) {
  body.local-redesign .visual-dashboard .gr-dashboard-fold-heading { flex-wrap:nowrap; }
  body.local-redesign .visual-dashboard .gr-dashboard-fold-heading h2 { font-size:16px; }
  body.local-redesign .visual-dashboard .gr-dashboard-fold-tools { margin-left:auto; gap:7px; }
  body.local-redesign .visual-dashboard .gr-dashboard-fold-count { font-size:11px; }
  body.local-redesign .visual-dashboard .gr-dashboard-fold-action select { width:100%; max-width:none !important; }
}

/* Uređivanje naziva projektnih grupa dostupno je u obje lokalne teme. */
.projects-groups-manager .projects-group-message { margin:0 0 9px; color:#276d66; font-size:12px; font-weight:700; }
.projects-groups-manager .projects-group-manage-row { min-width:0; flex-wrap:wrap; }
.projects-groups-manager .projects-group-manage-name { min-width:120px; overflow-wrap:anywhere; }
.projects-groups-manager .projects-group-name-input { flex:1 1 180px; min-width:130px; padding:8px 10px; border:1px solid #b9d1d5; border-radius:8px; font:inherit; }
.projects-groups-manager :is(.projects-group-edit,.projects-group-save,.projects-group-cancel) {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  min-height:34px;
  padding:6px 10px;
  border:1px solid #b9d1d5;
  border-radius:8px;
  background:#fff;
  color:#2c6470;
  font-size:12px;
  font-weight:750;
  cursor:pointer;
}
.projects-groups-manager .projects-group-save { border-color:#285565; background:#285565; color:#fff; }
.projects-groups-manager .projects-group-cancel { color:#526e7a; }
.projects-groups-manager :is(.projects-group-edit,.projects-group-cancel):hover { background:#f1f7f6; }
.projects-groups-manager .projects-group-save:hover { background:#346b79; }
@media(max-width:520px) {
  .projects-groups-manager .projects-group-manage-count { margin-left:auto; }
  .projects-groups-manager .projects-group-name-input { flex-basis:calc(100% - 30px); }
}

/* Brzi pristup nosi boju modula; bijela kartica ostaje laka za čitanje. */
body.local-redesign .visual-dashboard .gr-tiles .visual-module {
  border-color:#d8e2e5 !important;
  background:#fff !important;
}
body.local-redesign .visual-dashboard .gr-tiles .visual-module .gr-redesign-icon {
  color:#4b70aa !important;
  background:#eaf0f8 !important;
}
body.local-redesign .visual-dashboard .gr-tiles :is(.modul-projekti,.modul-racuni,.modul-banka,.modul-ponude) .gr-redesign-icon {
  color:#a57224 !important;
  background:#f8f0df !important;
}
body.local-redesign .visual-dashboard .gr-tiles :is(.modul-kalendar,.modul-raspored,.modul-mojtjedan,.modul-zadaci) .gr-redesign-icon {
  color:#15867f !important;
  background:#e4f4f1 !important;
}
body.local-redesign .visual-dashboard .gr-tiles :is(.modul-financije,.modul-prihodi,.modul-place) .gr-redesign-icon {
  color:#338665 !important;
  background:#e9f5ed !important;
}
body.local-redesign .visual-dashboard .gr-tiles :is(.modul-ai,.modul-savjeti,.modul-napomene) .gr-redesign-icon {
  color:#7469a5 !important;
  background:#f0edfa !important;
}

/* I mobilni popis modula prati tamnu bočnu traku iz prve makete. */
body.local-redesign .gr-mobile-left { background:#182c3c !important; }
body.local-redesign .gr-mobile-left > div:first-child,
body.local-redesign .gr-mobile-left > div:last-child { border-color:#344b58 !important; }
body.local-redesign .gr-mobile-left > div:first-child > div > div:first-child,
body.local-redesign .gr-mobile-left > div:last-child > div > div:first-child { color:#f2f6f7 !important; }
body.local-redesign .gr-mobile-left > div:first-child > div > div:last-child,
body.local-redesign .gr-mobile-left > div:last-child > div > div:last-child { color:#9eb5bf !important; }
body.local-redesign .gr-mobile-left > div:first-child > button {
  background:#2b4555 !important;
  color:#eff5f6 !important;
}
body.local-redesign .gr-mobile-left .gr-nav-sek { color:#91a7b2 !important; }
body.local-redesign .gr-mobile-left .gr-nav {
  color:#c8d6dc !important;
  background:transparent !important;
  border-color:transparent !important;
}
body.local-redesign .gr-mobile-left .gr-nav.active {
  color:#fff !important;
  background:#304b5c !important;
  border-color:#304b5c !important;
  box-shadow:inset 3px 0 #c99a52 !important;
}
body.local-redesign .gr-mobile-left .gr-nav:hover { background:#294354 !important; color:#fff !important; }
body.local-redesign .gr-mobile-left .gr-redesign-icon { color:#c8d6dc !important; }
body.local-redesign .gr-mobile-left .gr-nav.active .gr-redesign-icon { color:#eac585 !important; }

@media(max-width:767px) {
  body.local-redesign .visual-dashboard .gr-layout-main > .visual-today { padding:18px 19px !important; }
  body.local-redesign .visual-dashboard .visual-today > div:nth-child(2) { font-size:18px !important; }
}

/* Izbor tema je dostupan u Profilu u oba lokalna izgleda. */
body.local-classic { background:#f4f4f2; }
body.gr-local-preview.local-classic .app-content::before {
  content:"LOKALNI DOSADAŠNJI IZGLED · spremanje i dalje mijenja podatke u aktivnoj bazi";
  display:block;
  flex:none;
  padding:6px 16px;
  background:#f9f0dc;
  border-bottom:1px solid #e9d9b7;
  color:#755a30;
  font-size:10px;
  font-weight:800;
  text-align:center;
}
body.local-classic .gr-theme-settings,
body.local-redesign .gr-theme-settings { max-width:850px; }
body.local-classic .gr-theme-settings-intro,
body.local-redesign .gr-theme-settings-intro {
  color:#627785;
  line-height:1.5;
  margin-bottom:17px;
  font-size:13px;
}
body.local-classic .gr-theme-choice-grid,
body.local-redesign .gr-theme-choice-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:13px;
}
body.local-classic .gr-theme-choice,
body.local-redesign .gr-theme-choice {
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:14px;
  min-width:0;
  padding:15px;
  border:1.5px solid #d9e2e5;
  border-radius:13px;
  background:#fff;
  color:#20384a;
  box-shadow:0 2px 6px rgba(24,48,62,.045);
  cursor:pointer;
  text-align:left;
}
body.local-classic .gr-theme-choice.is-active,
body.local-redesign .gr-theme-choice.is-active {
  border-color:#af803b;
  box-shadow:0 0 0 3px rgba(175,128,59,.13);
}
body.local-classic .gr-theme-choice:hover,
body.local-redesign .gr-theme-choice:hover { border-color:#af803b; }
body.local-classic .gr-theme-swatch,
body.local-redesign .gr-theme-swatch {
  display:grid;
  grid-template-columns:27% 1fr 1fr;
  grid-template-rows:1fr 1fr;
  gap:8px;
  height:110px;
  padding:9px;
  overflow:hidden;
  border-radius:9px;
  border:1px solid #dde5e7;
  background:#f2f5f5;
}
body.local-classic .gr-theme-swatch span,
body.local-redesign .gr-theme-swatch span { border-radius:6px; }
body.local-classic .gr-theme-swatch span:first-child,
body.local-redesign .gr-theme-swatch span:first-child { grid-row:span 2; background:#fff; }
body.local-classic .gr-theme-swatch span:nth-child(2),
body.local-redesign .gr-theme-swatch span:nth-child(2) { grid-column:span 2; background:#f5e6cc; }
body.local-classic .gr-theme-swatch span:last-child,
body.local-redesign .gr-theme-swatch span:last-child { grid-column:span 2; background:#fff; }
body.local-classic .gr-theme-choice-nova .gr-theme-swatch span:first-child,
body.local-redesign .gr-theme-choice-nova .gr-theme-swatch span:first-child { background:#182c3c; }
body.local-classic .gr-theme-choice-nova .gr-theme-swatch span:nth-child(2),
body.local-redesign .gr-theme-choice-nova .gr-theme-swatch span:nth-child(2) { background:#244656; }
body.local-classic .gr-theme-choice-nova .gr-theme-swatch span:last-child,
body.local-redesign .gr-theme-choice-nova .gr-theme-swatch span:last-child { border:1px solid #52a9a1; }
body.local-classic .gr-theme-choice-copy,
body.local-redesign .gr-theme-choice-copy { display:grid; gap:4px; }
body.local-classic .gr-theme-choice-copy strong,
body.local-redesign .gr-theme-choice-copy strong { font-size:16px; }
body.local-classic .gr-theme-choice-copy small,
body.local-redesign .gr-theme-choice-copy small { font-size:12px; line-height:1.45; color:#6c8090; }
body.local-classic .gr-theme-choice-check,
body.local-redesign .gr-theme-choice-check { font-size:12px; font-weight:800; color:#97702f; }
body.local-classic .gr-theme-settings-note,
body.local-redesign .gr-theme-settings-note { margin-top:14px; color:#718693; font-size:12px; }
@media(max-width:650px) {
  body.local-classic .gr-theme-choice-grid,
  body.local-redesign .gr-theme-choice-grid { grid-template-columns:1fr; }
  body.local-classic .gr-theme-swatch,
  body.local-redesign .gr-theme-swatch { height:75px; }
}

/* Tematski naglasak na naslovu modula, bez mijenjanja značenja statusnih boja. */
body.local-redesign .gr-screen-pregled { --screen-accent:#ad7d2f; --screen-accent-soft:#f8f0df; }
body.local-redesign .gr-screen-projekti,
body.local-redesign .gr-screen-dnevnik,
body.local-redesign .gr-screen-ponude { --screen-accent:#ad7d2f; --screen-accent-soft:#f8f0df; }
body.local-redesign .gr-screen-zadaci,
body.local-redesign .gr-screen-kalendar,
body.local-redesign .gr-screen-mojtjedan,
body.local-redesign .gr-screen-raspored { --screen-accent:#17887e; --screen-accent-soft:#e4f4f1; }
body.local-redesign .gr-screen-racuni,
body.local-redesign .gr-screen-banka,
body.local-redesign .gr-screen-obveze,
body.local-redesign .gr-screen-financije,
body.local-redesign .gr-screen-prihodi { --screen-accent:#23846b; --screen-accent-soft:#e7f4ef; }
body.local-redesign .gr-screen-ostali,
body.local-redesign .gr-screen-place { --screen-accent:#aa665a; --screen-accent-soft:#f9eeeb; }
body.local-redesign .gr-screen-radnici,
body.local-redesign .gr-screen-chat,
body.local-redesign .gr-screen-klijenti,
body.local-redesign .gr-screen-kooperanti,
body.local-redesign .gr-screen-dobavljaci { --screen-accent:#5278a5; --screen-accent-soft:#eaf1f8; }
body.local-redesign .gr-screen-vozila,
body.local-redesign .gr-screen-strojevi,
body.local-redesign .gr-screen-skladiste,
body.local-redesign .gr-screen-alati { --screen-accent:#797154; --screen-accent-soft:#f2f1e8; }
body.local-redesign .gr-screen-dokumenti,
body.local-redesign .gr-screen-profilfirme,
body.local-redesign .gr-screen-napomene,
body.local-redesign .gr-screen-upiti,
body.local-redesign .gr-screen-ai,
body.local-redesign .gr-screen-savjeti,
body.local-redesign .gr-screen-admin,
body.local-redesign .gr-screen-profil { --screen-accent:#6776a5; --screen-accent-soft:#eef0f8; }
body.local-redesign .app-shell[class*="gr-screen-"] .gr-module-title .gr-redesign-icon {
  border-radius:9px;
  color:var(--screen-accent,#ad7d2f);
  background:var(--screen-accent-soft,#f8f0df) !important;
}
body.local-redesign .app-shell[class*="gr-screen-"] .gr-layout-main > .gr-card:first-of-type {
  border-top:2px solid var(--screen-accent,#ad7d2f) !important;
}

/* Rad: projekt, dnevnik, zadaci, razgovori i tjedni raspored. */
body.local-redesign .gr-screen-projekti .projects-filterbar { border-top:2px solid #ad7d2f !important; }
body.local-redesign .gr-screen-dnevnik :is(.gr-mapa,.gr-card-hl) { border-left:3px solid #c69a52 !important; }
body.local-redesign .gr-screen-zadaci :is(.gr-task-card,.gr-my-task-subtask) { border-color:#c9dfd9 !important; }
/* Moji zadaci: pregledan popis umjesto starih obojenih kartica i čipova. */
body.local-redesign .gr-screen-zadaci .gr-my-task-filters { margin:16px 0 22px; }
body.local-redesign .gr-screen-zadaci .gr-my-task-filters .gr-chip-row {
  display:inline-flex;
  gap:3px;
  margin:0 !important;
  padding:4px;
  border:1px solid #d4e1e3;
  border-radius:10px;
  background:#e7eff0;
}
body.local-redesign .gr-screen-zadaci .gr-my-task-filters .gr-chip {
  min-width:75px;
  min-height:37px;
  padding:7px 14px;
  border:1px solid transparent !important;
  border-radius:7px !important;
  background:transparent;
  color:#54707e;
  font-size:12px;
  font-weight:750;
}
body.local-redesign .gr-screen-zadaci .gr-my-task-filters .gr-chip.active {
  border-color:#cddcde !important;
  background:#fff !important;
  color:#1e3c4c !important;
  box-shadow:0 1px 3px rgba(20,49,65,.08) !important;
}
body.local-redesign .gr-screen-zadaci .gr-my-task-section {
  margin:22px 0 11px;
  padding:0 0 9px;
  border-bottom:1px solid #d4e1e3;
}
body.local-redesign .gr-screen-zadaci .gr-my-task-section > div {
  margin:0 !important;
  color:#526d79 !important;
  font-size:11px !important;
  font-weight:800 !important;
  letter-spacing:.09em !important;
}
body.local-redesign .gr-screen-zadaci .gr-my-task-card {
  padding:17px 18px !important;
  border:1px solid #d3e0e3 !important;
  border-left:3px solid #4d9990 !important;
  border-radius:10px !important;
  background:#fff !important;
  box-shadow:0 1px 4px rgba(20,49,65,.055) !important;
  transition:border-color .16s ease,box-shadow .16s ease !important;
}
body.local-redesign .gr-screen-zadaci .gr-my-task-card:hover {
  border-color:#abcac9 !important;
  box-shadow:0 5px 15px rgba(20,49,65,.085) !important;
  transform:none !important;
}
body.local-redesign .gr-screen-zadaci .gr-my-task-card.is-done {
  border-left-color:#a4bbb7 !important;
  background:#fbfdfc !important;
}
body.local-redesign .gr-screen-zadaci .gr-my-task-title {
  color:#1e3c4c !important;
  font-size:15px;
  line-height:1.35;
  font-weight:750 !important;
}
body.local-redesign .gr-screen-zadaci .gr-my-task-card.is-done .gr-my-task-title { color:#82949b !important; }
body.local-redesign .gr-screen-zadaci .gr-my-task-check {
  width:27px !important;
  height:27px !important;
  border:1.5px solid #a9c5c4 !important;
  border-radius:7px !important;
  background:#fff !important;
  color:#fff !important;
  font-size:14px !important;
  box-shadow:none !important;
}
body.local-redesign .gr-screen-zadaci .gr-my-task-card.is-done .gr-my-task-check {
  border-color:#338879 !important;
  background:#338879 !important;
}
body.local-redesign .gr-screen-zadaci .gr-my-task-meta { margin-top:9px !important; gap:6px !important; }
body.local-redesign .gr-screen-zadaci .gr-my-task-meta > span {
  padding:3px 9px !important;
  border:1px solid #d8e5e6;
  border-radius:5px !important;
  background:#f3f8f7 !important;
  color:#4b7078 !important;
  font-size:11px !important;
  font-weight:700 !important;
}
body.local-redesign .gr-screen-zadaci .gr-my-task-delete {
  display:grid;
  place-items:center;
  width:29px;
  height:29px;
  border-radius:7px !important;
  color:#879ba4 !important;
}
body.local-redesign .gr-screen-zadaci .gr-my-task-delete:hover { background:#fff1ef !important; color:#b35d58 !important; }
body.local-redesign .gr-screen-zadaci .gr-my-task-card .gr-podz { margin-top:12px !important; padding-top:10px; border-top:1px solid #e6edef; }
body.local-redesign .gr-screen-zadaci .gr-my-task-card .gr-podz-red { min-height:32px; border-top-color:#e6edef !important; }
body.local-redesign .gr-screen-zadaci .gr-my-task-card .gr-podz .gr-chipx {
  min-height:30px !important;
  margin-top:9px !important;
  padding:5px 9px !important;
  border:1px solid #bed5d3 !important;
  border-radius:7px !important;
  background:#f7fbfa !important;
  color:#317a75 !important;
  font-weight:750;
}
body.local-redesign .gr-screen-zadaci .gr-my-task-form {
  padding:19px !important;
  border:1px solid #d3e1e3 !important;
  border-radius:11px !important;
  background:#fff !important;
  box-shadow:0 2px 8px rgba(20,49,65,.06) !important;
}
body.local-redesign .gr-screen-zadaci .gr-my-task-form-head {
  margin-bottom:15px;
  padding-bottom:11px;
  border-bottom:1px solid #e2ebed;
  color:#1e3c4c;
  font-size:17px;
}
body.local-redesign .gr-screen-zadaci .gr-my-task-form-head .ti { color:#33817d !important; }
body.local-redesign .gr-screen-zadaci .gr-my-task-form :is(input,select,textarea) { border-color:#cbdbe0 !important; }
body.local-redesign .gr-screen-zadaci .gr-my-task-form :is(input,select,textarea):focus-visible { outline-color:#33817d !important; }
body.local-redesign .gr-screen-zadaci .gr-my-task-form-label { color:#55717d; }
body.local-redesign .gr-screen-zadaci .gr-my-task-form-switch button.active,
body.local-redesign .gr-screen-zadaci .gr-my-task-form-chips button.selected,
body.local-redesign .gr-screen-zadaci .gr-my-task-priorities button.selected:not([style*="--priority"]) {
  border-color:#33817d !important;
  background:#eaf5f2 !important;
  color:#246f6b !important;
}
body.local-redesign .gr-screen-chat .gr-chat-row { border-left:3px solid #6e8db9 !important; }
body.local-redesign .gr-screen-chat .gr-chat-row:hover { background:#f2f6fa !important; }
body.local-redesign .gr-screen-kalendar .gr-kal-dan { border-radius:9px; }
body.local-redesign .gr-screen-kalendar .gr-kal-dan:hover { background:#eaf5f2 !important; }
body.local-redesign .gr-screen-mojtjedan .gr-week-day-card.is-today { background:#f0f8f4 !important; }
body.local-redesign .gr-screen-raspored .gr-rasp-tjedan { border-color:#d2e6df !important; }

/* Financije: odvojeni sažeci, ista tipografija računa i banke. */
body.local-redesign .gr-screen-racuni .gr-racuni-summary > .gr-card { border-top:2px solid #69aa91 !important; }
body.local-redesign .gr-screen-racuni :is(.gr-racuni-search,.gr-racuni-actions) { background:#fff !important; }
body.local-redesign .gr-screen-banka .gr-banka-kartice { gap:15px; }
body.local-redesign .gr-screen-banka .gr-banka-kartica { border:1px solid rgba(255,255,255,.35) !important; }
body.local-redesign .gr-screen-obveze .gr-card-hl { border-left:3px solid #69aa91 !important; }
body.local-redesign .gr-screen-ostali .gr-trosak-card { border-left:3px solid #d78377 !important; }
body.local-redesign .gr-screen-prihodi .gr-card-hl { border-left:3px solid #67aa86 !important; }
body.local-redesign .gr-screen-ponude .gr-mapa { border-left:3px solid #c49c5c !important; }
body.local-redesign .gr-screen-place .gr-card-hl { border-left:3px solid #9b7cae !important; }
body.local-redesign .gr-screen-financije .gr-finance-net { background:#eaf5ef !important; border-color:#c5e3d1 !important; }

/* Ljudi, resursi i dokumenti: prepoznatljivi detalji bez šarenih pozadina. */
body.local-redesign .gr-screen-radnici .gr-worker-hero { border-left:3px solid #7a9cc5 !important; }
body.local-redesign .gr-screen-kooperanti .gr-koop-card { border-left:3px solid #8a80bd !important; }
body.local-redesign .gr-screen-klijenti .gr-client-card { border-left:3px solid #67a69a !important; }
body.local-redesign .gr-screen-dobavljaci .gr-supplier-card { border-left:3px solid #b18b65 !important; }
body.local-redesign .gr-screen-vozila .gr-vehicle-card { border-left:3px solid #7d9baa !important; }
body.local-redesign .gr-screen-strojevi .gr-machine-card { border-left:3px solid #9b8b6b !important; }
body.local-redesign .gr-screen-skladiste .gr-skl-product-card { border-left:3px solid #6d99bb !important; }
body.local-redesign .gr-screen-alati .gr-tool-card { border-left:3px solid #b88a60 !important; }
body.local-redesign .gr-screen-dokumenti .gr-mapa { border-left:3px solid #7696c1 !important; }
body.local-redesign .gr-screen-profilfirme .gr-profil-firme-card { border-top:2px solid #80aa9b !important; }
body.local-redesign .gr-screen-napomene .gr-grid-2 > .gr-card { border-left-color:#8b85b7 !important; }
body.local-redesign .gr-screen-upiti .gr-upiti-card { border-left:3px solid #8e83b8 !important; }
body.local-redesign .gr-screen-ai .gr-card { border-color:#d7d4ea !important; }
body.local-redesign .gr-screen-savjeti .gr-upute-layout > .gr-card { border-top:2px solid #9a95bf !important; }
body.local-redesign .gr-screen-admin .gr-card-hl { border-left:3px solid #8f9bb6 !important; }
body.local-redesign .gr-screen-profil .gr-profile-menu-card { border-left:3px solid #9aaac7 !important; }

/* Banka: navigacija po instrumentima, izvodi i uređivanje u jeziku nove teme. */
body.local-redesign .gr-screen-banka .gr-banka-categories {
  grid-template-columns:repeat(5,minmax(0,1fr)) !important;
  gap:8px !important;
  margin:18px 0 18px !important;
}
body.local-redesign .gr-screen-banka .gr-banka-category {
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  min-height:73px !important;
  padding:11px 12px !important;
  border:1px solid #d3e1e4 !important;
  border-radius:10px !important;
  background:#fff !important;
  box-shadow:0 1px 3px rgba(20,49,65,.045) !important;
  color:#203e4d !important;
  transition:border-color .16s ease,background-color .16s ease !important;
}
body.local-redesign .gr-screen-banka .gr-banka-category:hover { border-color:#9fc6c4 !important; background:#f7faf9 !important; }
body.local-redesign .gr-screen-banka .gr-banka-category.is-active {
  border-color:#438e88 !important;
  background:#eaf4f1 !important;
  box-shadow:inset 3px 0 #438e88 !important;
}
body.local-redesign .gr-screen-banka .gr-banka-category-icon {
  display:grid;
  place-items:center;
  flex:none;
  width:37px;
  height:37px;
  border-radius:8px;
  background:#edf4f3;
  color:#287c78;
}
body.local-redesign .gr-screen-banka .gr-banka-category.is-active .gr-banka-category-icon { background:#d5eae6; }
body.local-redesign .gr-screen-banka .gr-banka-category-copy { display:grid; gap:3px; min-width:0; }
body.local-redesign .gr-screen-banka .gr-banka-category-copy strong { font-size:13px; line-height:1.25; font-weight:800; }
body.local-redesign .gr-screen-banka .gr-banka-category-copy small { color:#718693; font-size:11px; font-weight:600; }
body.local-redesign .gr-screen-banka .gr-banka-category:focus-visible { outline:2px solid #317f82 !important; outline-offset:2px !important; }
body.local-redesign .gr-screen-banka .gr-banka-notice {
  display:flex;
  align-items:flex-start;
  gap:11px;
  padding:15px 17px !important;
  border:1px solid #cbdfe0 !important;
  border-left:3px solid #4c9991 !important;
  border-radius:10px !important;
  background:#eef5f4 !important;
  color:#345261 !important;
  box-shadow:none !important;
  font-size:12px !important;
  line-height:1.55 !important;
}
body.local-redesign .gr-screen-banka .gr-banka-notice .ti { flex:none; color:#33817d; margin-top:1px; }
body.local-redesign .gr-screen-banka .gr-banka-import {
  padding:19px !important;
  background:#fff !important;
  border:1px solid #d5e1e4 !important;
  border-radius:12px !important;
  box-shadow:0 1px 5px rgba(20,49,65,.055) !important;
}
body.local-redesign .gr-screen-banka .gr-banka-import-title {
  display:flex;
  align-items:center;
  gap:9px;
  color:#1e3c4c;
  font-size:17px !important;
  letter-spacing:-.02em;
  margin-bottom:7px !important;
}
body.local-redesign .gr-screen-banka .gr-banka-import-title .ti { color:#33817d; }
body.local-redesign .gr-screen-banka .gr-banka-import :is(input,select) {
  background:#fff !important;
  border-color:#cddde0 !important;
  border-radius:8px !important;
  color:#1e3c4c !important;
}
body.local-redesign .gr-screen-banka .gr-banka-import button { border-radius:8px !important; box-shadow:none !important; }
body.local-redesign .gr-screen-banka .gr-banka-import-primary,
body.local-redesign .gr-screen-banka .gr-banka-list-head button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  background:#244858 !important;
  color:#fff !important;
  border:1px solid #244858 !important;
  border-radius:8px !important;
  box-shadow:none !important;
  font-size:12px !important;
}
body.local-redesign .gr-screen-banka .gr-banka-import-primary:hover,
body.local-redesign .gr-screen-banka .gr-banka-list-head button:hover { background:#306273 !important; }
body.local-redesign .gr-screen-banka .gr-banka-import-secondary {
  display:inline-flex;
  align-items:center;
  gap:7px;
  background:#fff !important;
  color:#2e6370 !important;
  border:1px solid #b9d1d5 !important;
  font-size:12px !important;
}
body.local-redesign .gr-screen-banka .gr-banka-import-secondary:hover { background:#f3f8f7 !important; }
body.local-redesign .gr-screen-banka .gr-banka-reconcile-summary,
body.local-redesign .gr-screen-banka .gr-banka-last-balances {
  margin-top:16px !important;
  padding:15px 16px !important;
  border:1px solid #d5e4e6 !important;
  border-radius:9px !important;
  background:#f3f8f7 !important;
  color:#3e5967;
  line-height:1.65;
}
body.local-redesign .gr-screen-banka .gr-banka-reconcile-summary > b,
body.local-redesign .gr-screen-banka .gr-banka-last-balances > b { display:block; margin-bottom:5px; color:#1e3c4c; font-size:13px; }
body.local-redesign .gr-screen-banka .gr-banka-reconcile-summary button,
body.local-redesign .gr-screen-banka .gr-banka-statement button { border-color:#b9d1d5 !important; color:#2e6370 !important; background:#fff !important; }
body.local-redesign .gr-screen-banka .gr-banka-reconcile-summary button:hover,
body.local-redesign .gr-screen-banka .gr-banka-statement button:hover { background:#eef6f4 !important; }
body.local-redesign .gr-screen-banka .gr-banka-statement {
  margin-top:16px !important;
  padding:16px !important;
  border:1px solid #d8e3e5 !important;
  border-radius:10px;
  background:#fff;
}
body.local-redesign .gr-screen-banka .gr-banka-statement > div:first-child { color:#1e3c4c; font-size:14px !important; }
body.local-redesign .gr-screen-banka .gr-banka-transaction {
  padding:14px 0 !important;
  border-top:1px solid #e4ecee !important;
  color:#344f5e;
}
body.local-redesign .gr-screen-banka .gr-banka-transaction :is(input,select) {
  min-height:38px;
  border:1px solid #cbdbe0 !important;
  border-radius:8px !important;
  background:#fff !important;
  color:#1e3c4c !important;
}
body.local-redesign .gr-screen-banka .gr-banka-confirm-actions { padding-top:14px; border-top:1px solid #e2ebed; }
body.local-redesign .gr-screen-banka .gr-banka-confirm-actions button { border-radius:8px !important; box-shadow:none !important; }
body.local-redesign .gr-screen-banka .gr-banka-confirm-actions button:first-child { background:#244858 !important; }
body.local-redesign .gr-screen-banka .gr-banka-confirm-actions button:nth-child(2) { background:#318478 !important; }
body.local-redesign .gr-screen-banka .gr-banka-confirm-actions button:last-child { border:1px solid #cbdbe0 !important; color:#345261 !important; }
body.local-redesign .gr-screen-banka .gr-banka-list-head {
  margin:20px 0 11px !important;
  padding-bottom:10px;
  border-bottom:1px solid #d4e1e3;
}
body.local-redesign .gr-screen-banka .gr-banka-list-head h2 { color:#1e3c4c; font-size:18px !important; }
body.local-redesign .gr-screen-banka .gr-banka-account-row {
  border:1px solid #d5e1e4 !important;
  border-left:3px solid #4c9991 !important;
  border-radius:10px !important;
  background:#fff !important;
  box-shadow:0 1px 4px rgba(20,49,65,.055) !important;
  padding:16px 18px !important;
}
body.local-redesign .gr-screen-banka .gr-banka-account-row:hover { border-color:#a9cacb !important; box-shadow:0 4px 12px rgba(20,49,65,.085) !important; }
body.local-redesign .gr-screen-banka .gr-banka-account-name { color:#1c3949; letter-spacing:-.02em; }
body.local-redesign .gr-screen-banka .gr-banka-account-meta { color:#748995 !important; }
body.local-redesign .gr-screen-banka .gr-banka-account-edit { color:#3d7d7d !important; }
body.local-redesign .gr-screen-banka .gr-banka-account-balance {
  margin-top:13px !important;
  padding-top:11px;
  border-top:1px solid #e4ecee;
  color:#617986 !important;
}
body.local-redesign .gr-screen-banka .gr-banka-account-balance b { color:#217e6d; font-size:16px; }
body.local-redesign .gr-screen-banka .gr-banka-kartica {
  border:1px solid rgba(255,255,255,.21) !important;
  border-radius:13px !important;
  box-shadow:0 5px 16px rgba(18,42,67,.13) !important;
}
body.local-redesign .gr-screen-banka .gr-banka-kartica-kreditna { background:linear-gradient(130deg,#1a3447,#244d60) !important; }
body.local-redesign .gr-screen-banka .gr-banka-kartica-debitna { background:linear-gradient(130deg,#205761,#33817d) !important; }
body.local-redesign .gr-screen-banka .gr-banka-kartica::before { opacity:.35; }
body.local-redesign .gr-screen-banka .gr-banka-kartica::after { opacity:.4; }
body.local-redesign .gr-screen-banka .gr-banka-kartica-uredi { color:#d7e8e5; }
body.local-redesign .gr-screen-banka .gr-banka-archived { padding:14px; border:1px solid #d8e3e5; border-radius:9px; background:#fff; }
body.local-redesign .gr-screen-banka .gr-banka-archived summary { cursor:pointer; color:#456371; font-weight:700; }
body.local-redesign .gr-screen-banka .gr-banka-archived button { border-color:#d5e1e4 !important; }
body.local-redesign .gr-banka-dialog-backdrop { background:rgba(16,37,51,.57) !important; }
body.local-redesign .gr-banka-dialog {
  border:1px solid #d7e3e6;
  border-radius:13px !important;
  box-shadow:0 24px 60px rgba(11,33,47,.27) !important;
  padding:22px !important;
  color:#1e3c4c;
}
body.local-redesign .gr-banka-dialog h2 { color:#1e3c4c; padding-bottom:12px; border-bottom:1px solid #e1e9eb; }
body.local-redesign .gr-banka-dialog label { color:#536d7c; font-size:12px; font-weight:650; }
body.local-redesign .gr-banka-dialog :is(input:not([type="checkbox"]),select,textarea) {
  min-height:40px;
  border-color:#cbdbe0 !important;
  border-radius:8px !important;
  background:#fff !important;
  color:#1e3c4c !important;
}
body.local-redesign .gr-banka-dialog input[type="checkbox"] { accent-color:#33817d; }
body.local-redesign .gr-banka-dialog > div:last-child button { border-radius:8px !important; }
body.local-redesign .gr-banka-dialog > div:last-child button:last-child { background:#244858 !important; color:#fff !important; }
@media(max-width:800px) {
  body.local-redesign .gr-screen-banka .gr-banka-categories {
    display:flex !important;
    overflow-x:auto;
    padding-bottom:4px;
    scrollbar-width:thin;
  }
  body.local-redesign .gr-screen-banka .gr-banka-category { flex:0 0 167px; }
}

/* Desni Brzi pregled: isti novi vizual na računalu i u mobilnom kliznom panelu. */
body.local-redesign .gr-mobile-rail {
  background:#edf3f4 !important;
  border-left:1px solid #c5d4d8;
  box-shadow:-18px 0 42px rgba(14,35,48,.25) !important;
  padding:0 15px calc(24px + env(safe-area-inset-bottom)) !important;
}
body.local-redesign .gr-mobile-rail-head {
  margin:0 -15px 18px;
  padding:calc(18px + env(safe-area-inset-top)) 18px 17px;
  background:#182e3d;
  border-bottom:3px solid #4b9991;
}
body.local-redesign .gr-mobile-rail-head b { color:#fff !important; font-size:19px; letter-spacing:-.025em; }
body.local-redesign .gr-mobile-rail-head span { color:#b9cdd2 !important; }
body.local-redesign .gr-mobile-rail-head button {
  background:#2a4757 !important;
  color:#fff !important;
  border:1px solid #496574 !important;
  box-shadow:none !important;
}
body.local-redesign :is(.gr-rail,.gr-mobile-rail) .gr-widget,
body.local-redesign :is(.gr-rail,.gr-mobile-rail) .gr-graditelj-widget,
body.local-redesign :is(.gr-rail,.gr-mobile-rail) .gr-requests-widget {
  background:#fff !important;
  border:1px solid #d5e1e4 !important;
  border-radius:12px !important;
  box-shadow:0 2px 7px rgba(20,49,65,.055) !important;
  padding:15px !important;
  margin-bottom:13px !important;
  transform:none !important;
}
body.local-redesign :is(.gr-rail,.gr-mobile-rail) :is(.gr-widget,.gr-graditelj-widget,.gr-requests-widget):hover {
  border-color:#a8c5c8 !important;
  box-shadow:0 4px 13px rgba(20,49,65,.085) !important;
  transform:none !important;
}
body.local-redesign :is(.gr-rail,.gr-mobile-rail) :is(.rail-widget-title,.gr-graditelj-head b,.gr-requests-widget > div:first-child) {
  color:#193646 !important;
  font-weight:800 !important;
}
body.local-redesign :is(.gr-rail,.gr-mobile-rail) .rail-widget-icon {
  background:#e7f1f1 !important;
  color:#287b77 !important;
  border-radius:8px !important;
}
body.local-redesign :is(.gr-rail,.gr-mobile-rail) .rail-widget-icon .gr-redesign-icon { color:#287b77 !important; }
body.local-redesign :is(.gr-rail,.gr-mobile-rail) .gr-vidi { color:#287b77 !important; }
body.local-redesign :is(.gr-rail,.gr-mobile-rail) :is(input,select,textarea) {
  border:1px solid #cbdbe0 !important;
  border-radius:8px !important;
  background:#f8fafb !important;
  color:#193646 !important;
  box-shadow:none !important;
}
body.local-redesign :is(.gr-rail,.gr-mobile-rail) :is(input,select,textarea):focus-visible {
  border-color:#368d86 !important;
  box-shadow:0 0 0 3px rgba(54,141,134,.16) !important;
}
body.local-redesign :is(.gr-rail,.gr-mobile-rail) .gr-graditelj-head { padding-right:47px; }
body.local-redesign .gr-graditelj-figure-modern {
  position:absolute;
  right:15px;
  top:15px;
  display:grid;
  place-items:center;
  width:36px;
  height:36px;
  border-radius:9px;
  background:#e7f1f1;
  color:#287b77;
}
body.local-redesign :is(.gr-rail,.gr-mobile-rail) .gr-graditelj-widget > button,
body.local-redesign :is(.gr-rail,.gr-mobile-rail) .gr-requests-widget button:first-child {
  background:#244858 !important;
  color:#fff !important;
  border:1px solid #244858 !important;
  border-radius:8px !important;
  box-shadow:none !important;
}
body.local-redesign :is(.gr-rail,.gr-mobile-rail) .gr-graditelj-widget > button:disabled {
  background:#e6edef !important;
  border-color:#e6edef !important;
  color:#68808b !important;
  opacity:1 !important;
}
body.local-redesign :is(.gr-rail,.gr-mobile-rail) .gr-requests-widget {
  border-left:3px solid #4c9a91 !important;
}
body.local-redesign :is(.gr-rail,.gr-mobile-rail) .gr-requests-widget button:nth-child(2) {
  background:#fff !important;
  color:#244858 !important;
  border:1px solid #abc6cb !important;
  border-radius:8px !important;
}
body.local-redesign :is(.gr-rail,.gr-mobile-rail) .gr-tips-open {
  background:#edf5f3 !important;
  border:1px solid #9fc9c2 !important;
  color:#286c68 !important;
  border-radius:8px !important;
}

/* Završni zajednički sloj lokalne teme: koristi se na svakom modulu. */
body.local-redesign {
  --brand:#285565;
  --brand-rgb:40,85,101;
  --brand-light:#e5f0f0;
  --redesign-canvas:#edf3f4;
  --redesign-line:#d4e0e3;
}
body.local-redesign .app-content::before {
  padding:7px 16px;
  border-bottom:1px solid #305b69;
  background:#244657;
  color:#e7f1f1;
  font-weight:700;
  letter-spacing:.045em;
}
body.local-redesign .app-bottom-nav .gr-mobile-nav-item.active {
  border-color:#c7dedb !important;
  background:#e8f2f0 !important;
  color:#1d5b62 !important;
}
body.local-redesign .app-bottom-nav .gr-mobile-nav-item.active :is(.gr-redesign-icon,.ti,span:last-child) { color:#1d5b62 !important; }
body.local-redesign .gr-mobile-left .gr-nav.active { box-shadow:inset 3px 0 #4d9b91 !important; }
@media(min-width:768px) {
  body.local-redesign .app-sidebar .gr-nav.active { box-shadow:inset 3px 0 #4d9b91 !important; }
  body.local-redesign .app-sidebar .gr-nav.active .gr-redesign-icon { color:#95d2ca !important; }
}
body.local-redesign .app-shell[class*="gr-screen-"] .gr-layout-main > .gr-card:first-of-type { border-top:1px solid var(--redesign-line) !important; }
body.local-redesign .app-shell[class*="gr-screen-"] .gr-module-title .gr-redesign-icon {
  background:#e5f0ef !important;
  color:#287c78 !important;
}
body.local-redesign .gr-page-enter :is(.gr-card,.gr-mapa,.gr-trosak-card,.gr-supplier-card,.gr-koop-card,.gr-vehicle-hero,.gr-worker-hero,.gr-machine-hero,.gr-skl-product-hero,.gr-client-hero) {
  border-color:#d4e0e3 !important;
  border-radius:10px !important;
  box-shadow:0 1px 4px rgba(17,45,59,.05) !important;
}
body.local-redesign .gr-page-enter :is(.gr-card,.gr-mapa,.gr-trosak-card,.gr-supplier-card,.gr-koop-card,.gr-vehicle-hero,.gr-worker-hero,.gr-machine-hero,.gr-skl-product-hero,.gr-client-hero):hover {
  box-shadow:0 4px 12px rgba(17,45,59,.08) !important;
}
body.local-redesign .gr-page-enter :is(.gr-vehicle-hero,.gr-worker-hero,.gr-machine-hero,.gr-skl-product-hero,.gr-client-hero) {
  border-left:3px solid var(--screen-accent,#418b86) !important;
  background:#fff !important;
}
body.local-redesign .gr-page-enter :is(.gr-vehicle-hero-icon,.gr-machine-hero-icon,.gr-skl-product-hero-icon,.gr-client-hero-icon,.gr-worker-photo) {
  border-radius:9px !important;
}
body.local-redesign .gr-page-enter .gr-fab {
  width:44px;
  height:44px;
  border:1px solid #244858 !important;
  border-radius:10px !important;
  background:#244858 !important;
  color:#fff !important;
  box-shadow:0 3px 9px rgba(24,58,73,.14) !important;
  font-size:24px;
  font-weight:400;
}
body.local-redesign .gr-page-enter .gr-fab:hover { background:#306273 !important; transform:none !important; }
body.local-redesign .gr-page-enter .gr-btn:not(.outline):not(.custom-color) {
  border-color:#244858 !important;
  background:#244858 !important;
  color:#fff !important;
}
body.local-redesign .gr-page-enter .gr-btn.outline:not(.custom-color) {
  border:1px solid #bad0d3 !important;
  background:#fff !important;
  color:#2d6170 !important;
}
body.local-redesign .gr-page-enter .gr-btn:not(:disabled):hover { filter:brightness(1.08); }
body.local-redesign .gr-page-enter :is(input,select,textarea):focus-visible {
  outline:2px solid #368d86 !important;
  outline-offset:1px;
}
body.local-redesign .gr-page-enter :is(.gr-chip-row,.gr-tabs) { scrollbar-color:#b8ced1 transparent; }
body.local-redesign .gr-page-enter :is(.gr-chip,.gr-chipx,.gr-seg-item) { font-weight:750; }
body.local-redesign .gr-page-enter table { background:#fff; }
body.local-redesign .gr-page-enter :is(th,td) { padding-top:11px; padding-bottom:11px; }
body.local-redesign .gr-page-enter th { background:#eef4f4 !important; color:#536f7c !important; }
body.local-redesign .gr-page-enter .gr-card-hl { transition:border-color .16s ease,box-shadow .16s ease !important; }
body.local-redesign .gr-page-enter .gr-card-hl:hover { border-color:#a8c8c9 !important; transform:none !important; }
body.local-redesign .gr-page-enter .gr-card-hl:focus-visible,
body.local-redesign .gr-page-enter button:focus-visible { outline:2px solid #368d86 !important; outline-offset:2px !important; }

/* Profil: ista tamna identitetska kartica i mirni retci postavki kao u ostalim modulima. */
body.local-redesign .gr-screen-profil .gr-profile-hero {
  min-height:120px;
  padding:23px 25px !important;
  border:1px solid #244858 !important;
  border-radius:11px !important;
  background:linear-gradient(115deg,#182e3d,#285565) !important;
  box-shadow:0 6px 17px rgba(20,45,60,.13) !important;
}
body.local-redesign .gr-screen-profil .gr-profile-hero::after { display:none; }
body.local-redesign .gr-screen-profil .gr-profile-hero-main { gap:18px; }
body.local-redesign .gr-screen-profil .gr-profile-hero-main > div:first-child {
  border:1px solid rgba(255,255,255,.28);
  box-shadow:none !important;
}
body.local-redesign .gr-screen-profil .gr-profile-hero-main > div:last-child > div:first-child {
  font-size:21px !important;
  letter-spacing:-.025em;
}
body.local-redesign .gr-screen-profil .gr-profile-menu-card {
  min-height:68px;
  margin-bottom:8px !important;
  padding:13px 16px !important;
  border:1px solid #d4e0e3 !important;
  border-left:1px solid #d4e0e3 !important;
  border-radius:10px !important;
  background:#fff !important;
  box-shadow:0 1px 3px rgba(17,45,59,.045) !important;
  transform:none !important;
}
body.local-redesign .gr-screen-profil .gr-profile-menu-card:hover {
  border-color:#a9c9c9 !important;
  background:#f9fcfb !important;
  box-shadow:0 3px 10px rgba(17,45,59,.075) !important;
}
body.local-redesign .gr-screen-profil .gr-profile-menu-icon {
  width:36px;
  height:36px;
  border-radius:8px;
  background:#e7f1f0 !important;
}
body.local-redesign .gr-screen-profil .gr-profile-menu-icon .ti { color:#33817d !important; }
body.local-redesign .gr-screen-profil .gr-profile-menu-title { color:#1d3b4b !important; font-size:14px; font-weight:800; }
body.local-redesign .gr-screen-profil .gr-profile-menu-sub { color:#718794 !important; font-size:11px; }
body.local-redesign .gr-screen-profil .gr-profile-menu-card > .ti { color:#65818e !important; }
body.local-redesign .gr-screen-profil .gr-profile-section-label { color:#536e7b; letter-spacing:.08em; }
body.local-redesign .gr-screen-profil .gr-profile-section-label::after { background:#d4e0e3; }

/* Dosljedni podmoduli financija, ljudi, resursa i dokumenata. */
body.local-redesign :is(.gr-screen-racuni,.gr-screen-prihodi,.gr-screen-obveze,.gr-screen-financije,.gr-screen-ostali,.gr-screen-place) .gr-layout-main :is(.gr-racuni-actions,.gr-racuni-expense-filter,.gr-finance-section,.gr-trosak-tipovi) {
  border:1px solid #d4e0e3 !important;
  border-radius:10px !important;
  background:#fff !important;
  box-shadow:0 1px 4px rgba(17,45,59,.045) !important;
}
body.local-redesign :is(.gr-screen-radnici,.gr-screen-klijenti,.gr-screen-kooperanti,.gr-screen-dobavljaci,.gr-screen-vozila,.gr-screen-strojevi,.gr-screen-skladiste,.gr-screen-alati) .gr-layout-main :is(.gr-worker-hero,.gr-client-hero,.gr-vehicle-hero,.gr-machine-hero,.gr-skl-product-hero,.gr-supplier-card,.gr-koop-card) {
  border-color:#d4e0e3 !important;
  background:#fff !important;
}
body.local-redesign :is(.gr-screen-kalendar,.gr-screen-raspored,.gr-screen-mojtjedan,.gr-screen-dnevnik) .gr-layout-main :is(.gr-week-day-card,.gr-dan,.gr-dnevnik-card,.gr-kal-dan,.gr-rasp-tjedan) {
  border-color:#d4e0e3 !important;
  border-radius:10px !important;
  box-shadow:0 1px 4px rgba(17,45,59,.045) !important;
}
body.local-redesign :is(.gr-screen-dokumenti,.gr-screen-profilfirme,.gr-screen-napomene,.gr-screen-upiti,.gr-screen-ai,.gr-screen-savjeti,.gr-screen-admin) .gr-layout-main :is(.gr-mapa,.gr-profil-firme-card,.gr-upiti-card,.gr-card) {
  border-color:#d4e0e3 !important;
  border-radius:10px !important;
  box-shadow:0 1px 4px rgba(17,45,59,.045) !important;
}
@media(max-width:767px) {
  body.local-redesign .gr-page-enter .gr-fab { width:42px; height:42px; }
  body.local-redesign .gr-screen-profil .gr-profile-hero { padding:18px !important; }
  body.local-redesign .gr-screen-profil .gr-profile-menu-card { min-height:65px; }
}

/* Projektna galerija u novoj temi prikazuje cijelu fotografiju, bez rezanja. */
body.local-redesign .gr-project-photo-grid .gr-thumb {
  height:clamp(240px,32vw,380px) !important;
  object-fit:contain !important;
  background:#edf2f3;
}
body.local-redesign .gr-dokument-mapa-broj.ima-dokumente {
  border-color:#a8c9c9;
  background:#e7f3f1;
  color:#176c68;
}
@media(max-width:650px) {
  body.local-redesign .gr-project-photo-grid {
    grid-template-columns:minmax(0,1fr) !important;
  }
}

/* Jednako podizanje svih klikabilnih kartica i mapa kad se koristi stvarni miš. */
body.local-redesign .gr-page-enter .gr-card.gr-card-hl,
body.local-redesign .gr-page-enter .gr-mapa {
  position:relative;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease !important;
}
html.gr-ima-mis body.local-redesign .gr-page-enter .gr-card.gr-card-hl:hover,
html.gr-ima-mis body.local-redesign .gr-page-enter .gr-mapa:hover {
  transform:translateY(-4px) !important;
  box-shadow:0 12px 28px rgba(24,48,62,.18) !important;
  z-index:2;
}
@media(prefers-reduced-motion:reduce) {
  body.local-redesign .gr-page-enter .gr-card.gr-card-hl,
  body.local-redesign .gr-page-enter .gr-mapa { transition:none !important; }
  html.gr-ima-mis body.local-redesign .gr-page-enter .gr-card.gr-card-hl:hover,
  html.gr-ima-mis body.local-redesign .gr-page-enter .gr-mapa:hover { transform:none !important; }
}

/* Financije: mirniji analitički prikaz, jasna hijerarhija i čitljiva neto pozicija. */
body.local-redesign .gr-financije-page .gr-finance-section {
  padding:19px 20px !important;
  border:1px solid #d2e0e3 !important;
  border-top:3px solid #94bdbe !important;
  border-radius:12px !important;
  background:#fff !important;
  box-shadow:0 2px 9px rgba(19,47,61,.055) !important;
  transform:none !important;
}
body.local-redesign .gr-financije-page .gr-finance-section:hover { transform:none !important; box-shadow:0 2px 9px rgba(19,47,61,.055) !important; }
body.local-redesign .gr-financije-page .gr-finance-section-projekti { border-top-color:#668fa7 !important; }
body.local-redesign .gr-financije-page .gr-finance-section-mjeseci { border-top-color:#4f9a92 !important; }
body.local-redesign .gr-financije-page .gr-finance-section-poveznice { border-top-color:#688ca2 !important; }
body.local-redesign .gr-financije-page .gr-finance-section-pdv { border-top-color:#c9a466 !important; }
body.local-redesign .gr-financije-page .gr-finance-section-title {
  color:#1d3b4a !important;
  font-size:17px !important;
  font-weight:850 !important;
  letter-spacing:-.025em !important;
  text-transform:none !important;
  line-height:1.3;
  margin-bottom:12px !important;
}
body.local-redesign .gr-financije-page .gr-finance-summary { gap:10px !important; }
body.local-redesign .gr-financije-page .gr-finance-stat {
  min-width:0;
  padding:15px 16px !important;
  border:1px solid #d5e7e1;
  border-radius:10px !important;
  background:#edf7f2 !important;
}
body.local-redesign .gr-financije-page .gr-finance-stat-expense,
body.local-redesign .gr-financije-page .gr-finance-stat-negative { border-color:#f0d8d5; background:#fcf1ef !important; }
body.local-redesign .gr-financije-page .gr-finance-stat-positive { border-color:#c7e2dc; background:#e9f4f1 !important; }
body.local-redesign .gr-financije-page .gr-finance-stat > div:first-child { color:#5e7580 !important; font-size:12px !important; font-weight:700; }
body.local-redesign .gr-financije-page .gr-finance-stat > div:last-child { font-size:21px !important; line-height:1.25; overflow-wrap:anywhere; }
body.local-redesign .gr-financije-page .gr-finance-stat-income > div:last-child,
body.local-redesign .gr-financije-page .gr-finance-stat-positive > div:last-child { color:#207e62 !important; }
body.local-redesign .gr-financije-page .gr-finance-stat-expense > div:last-child,
body.local-redesign .gr-financije-page .gr-finance-stat-negative > div:last-child { color:#c4514e !important; }
body.local-redesign .gr-financije-page .gr-finance-project-row {
  margin:8px 0;
  padding:13px 14px !important;
  border:1px solid #e2ebed !important;
  border-radius:10px;
  background:#f8fafb;
}
body.local-redesign .gr-financije-page .gr-finance-project-name { color:#213d4c; font-size:14px !important; white-space:normal !important; }
body.local-redesign .gr-financije-page .gr-finance-project-result {
  padding:5px 8px;
  border-radius:7px;
  background:#e6f3ed;
  color:#207e62 !important;
  font-variant-numeric:tabular-nums;
}
body.local-redesign .gr-financije-page .gr-finance-project-result.negative { background:#fbece9; color:#bb4a48 !important; }
body.local-redesign .gr-financije-page .gr-finance-month-intro { margin-bottom:14px; color:#617985; font-size:12px; line-height:1.5; }
body.local-redesign .gr-financije-page .gr-finance-year-label { display:inline-flex; align-items:center; gap:9px; margin-bottom:12px; color:#536e7b; font-size:12px; font-weight:800; }
body.local-redesign .gr-financije-page .gr-finance-year-label select { min-width:100px; padding:7px 30px 7px 10px; border:1px solid #bfd3d7 !important; border-radius:8px !important; background:#fff; color:#1d3b4a; font:inherit; font-size:13px; }
body.local-redesign .gr-financije-page .gr-finance-month-list { display:grid; gap:7px; }
body.local-redesign .gr-financije-page .gr-finance-month-row { display:grid; grid-template-columns:minmax(135px,1.3fr) repeat(3,minmax(100px,1fr)); align-items:center; gap:10px; padding:11px 13px; border:1px solid #e0eaec; border-radius:10px; background:#f8fafb; }
body.local-redesign .gr-financije-page .gr-finance-month-name { color:#1d3b4a; font-size:14px; font-weight:850; text-transform:capitalize; }
body.local-redesign .gr-financije-page .gr-finance-month-value,
body.local-redesign .gr-financije-page .gr-finance-month-difference { display:grid; gap:3px; min-width:0; }
body.local-redesign .gr-financije-page .gr-finance-month-row small { color:#718793; font-size:10px; font-weight:700; }
body.local-redesign .gr-financije-page .gr-finance-month-row b { color:#234252; font-size:13px; font-weight:850; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
body.local-redesign .gr-financije-page .gr-finance-month-difference { padding:7px 9px; border-radius:8px; background:#e8f5ef; }
body.local-redesign .gr-financije-page .gr-finance-month-difference.positive b { color:#1f7c60; }
body.local-redesign .gr-financije-page .gr-finance-month-difference.negative { background:#fbecea; }
body.local-redesign .gr-financije-page .gr-finance-month-difference.negative b { color:#bc4c49; }
body.local-redesign .gr-financije-page .gr-finance-month-empty { padding:16px; border:1px dashed #cddde0; border-radius:9px; color:#697e89; font-size:13px; }
body.local-redesign .gr-financije-page .gr-finance-month-undated { margin-top:12px; padding:10px 12px; border-radius:8px; background:#f7f2e8; color:#735d3c; font-size:11px; line-height:1.45; }
body.local-redesign .gr-financije-page .gr-finance-group-row { border-color:#e0eaec; background:#f8fafb; }
body.local-redesign .gr-financije-page .gr-finance-group-tabs button.active { background:#244556; border-color:#244556; color:#fff; }
body.local-redesign .gr-financije-page .gr-finance-group-heading strong,
body.local-redesign .gr-financije-page .gr-finance-group-values b { color:#1d3b4a; }
body.local-redesign .gr-financije-page .gr-finance-group-heading>b.positive { color:#1f7c60; }
body.local-redesign .gr-financije-page .gr-finance-group-heading>b.negative { color:#bc4c49; }
body.local-redesign .gr-financije-page .gr-finance-net {
  padding:22px 24px !important;
  border:1px solid #23495a !important;
  border-radius:13px !important;
  background:linear-gradient(135deg,#183747,#254c5d) !important;
  color:#fff !important;
  box-shadow:0 9px 22px rgba(20,51,67,.18) !important;
}
body.local-redesign .gr-financije-page .gr-finance-net-label,
body.local-redesign .gr-financije-page .gr-finance-net-sub { opacity:1 !important; color:#c9dde2 !important; }
body.local-redesign .gr-financije-page .gr-finance-net-label { font-size:13px !important; font-weight:700; }
body.local-redesign .gr-financije-page .gr-finance-net-amount { color:#93dfbf !important; font-size:clamp(28px,4vw,38px) !important; line-height:1.2; overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }
body.local-redesign .gr-financije-page .gr-finance-net[data-tone="negative"] .gr-finance-net-amount { color:#ff958b !important; }
body.local-redesign .gr-financije-page .gr-finance-net-sub strong { color:#fff !important; }
body.local-redesign .gr-financije-page .gr-finance-vat-stat { padding:14px 16px !important; border:1px solid #e9dfc9; background:#fbf6ea !important; }
body.local-redesign .gr-financije-page .gr-finance-vat-in { border-color:#cfe5dd; background:#edf6f1 !important; }
body.local-redesign .gr-financije-page .gr-finance-vat-stat strong { display:block; margin-top:4px; color:#1c3b49; font-size:20px; font-weight:850; }
body.local-redesign .gr-financije-page .gr-finance-vat-difference { color:#1d3b4a !important; font-weight:850 !important; }
body.local-redesign .gr-financije-page .gr-finance-cash-save { background:#244c5c !important; }
@media(max-width:650px) {
  body.local-redesign .gr-financije-page .gr-finance-section { padding:16px !important; }
  body.local-redesign .gr-financije-page .gr-finance-project-row > div:first-child { align-items:flex-start !important; }
  body.local-redesign .gr-financije-page .gr-finance-month-row { grid-template-columns:minmax(0,1fr) minmax(105px,auto); gap:8px 12px; }
  body.local-redesign .gr-financije-page .gr-finance-month-name { grid-column:1; grid-row:1; }
  body.local-redesign .gr-financije-page .gr-finance-month-difference { grid-column:2; grid-row:1; }
}

/* Obrazac klijenta slijedi isti sustav površina i kontrola kao ostali moduli. */
body.local-redesign .gr-page-enter .gr-client-form {
  padding:20px !important;
  border:1px solid #d4e0e3 !important;
  border-top:3px solid #68a9a1 !important;
  border-radius:12px !important;
  background:#fff !important;
  box-shadow:0 2px 10px rgba(17,45,59,.06) !important;
}
body.local-redesign .gr-client-form-title { border-bottom-color:#e2ebed; color:#1d3b4a; }
body.local-redesign .gr-client-form-title b { font-size:17px; letter-spacing:-.02em; }
body.local-redesign .gr-client-form-title small { color:#6b8290; font-size:12px; }
body.local-redesign .gr-client-form-icon { background:#e5f1ef; box-shadow:none; border-radius:9px; }
body.local-redesign .gr-client-form-icon .gr-redesign-icon { color:#287c78 !important; }
body.local-redesign .gr-client-hero-icon,
body.local-redesign .gr-client-avatar { background:#e5f1ef !important; }
body.local-redesign .gr-client-hero-icon .gr-redesign-icon,
body.local-redesign .gr-client-avatar .gr-redesign-icon { color:#287c78 !important; }
body.local-redesign .gr-client-type-switch {
  padding:4px;
  border:1px solid #d7e3e5;
  border-radius:10px;
  background:#f3f7f7;
}
body.local-redesign .gr-client-type-switch button {
  min-height:42px;
  border:1px solid transparent !important;
  border-radius:7px !important;
  background:transparent !important;
  color:#5f7784 !important;
  box-shadow:none !important;
}
body.local-redesign .gr-client-type-switch button.is-active {
  border-color:#2c6472 !important;
  background:#285565 !important;
  color:#fff !important;
}
body.local-redesign .gr-client-form input:not([type="checkbox"]) {
  border:1px solid #cbdde1 !important;
  background:#f9fbfb !important;
  color:#1d3b4a !important;
}
body.local-redesign .gr-client-form input:not([type="checkbox"]):focus {
  border-color:#368d86 !important;
  background:#fff !important;
}
body.local-redesign .gr-client-form .gr-btn { min-height:44px; }

/* Stranice i obrasci koriste cijelu raspoloživu širinu srednjeg stupca. */
@media (min-width:768px) {
  body.local-redesign .gr-layout-main .gr-form,
  body.local-redesign .gr-layout-main .gr-detail,
  body.local-redesign .gr-page-enter > .gr-detail,
  body.local-redesign .gr-theme-settings,
  body.local-redesign .gr-screen-dnevnik .gr-page-enter[style*="max-width"] {
    width:100% !important;
    max-width:none !important;
    box-sizing:border-box;
    margin-left:0 !important;
    margin-right:0 !important;
  }
}
@media(max-width:650px) {
  body.local-redesign .gr-page-enter .gr-client-form { padding:16px !important; }
}

/* Ostali obrasci koriste jednake površine, naslove i fokus kroz novu temu. */
body.local-redesign .gr-page-enter :is(.gr-machine-form,.gr-machine-edit-form,.gr-vehicle-form,.gr-ulazni-form,.gr-add-task-form,.gr-my-task-form) {
  border-color:#d4e0e3 !important;
  border-radius:12px !important;
  background:#fff !important;
  box-shadow:0 2px 10px rgba(17,45,59,.06) !important;
}
body.local-redesign .gr-page-enter :is(.gr-machine-form-title,.gr-vehicle-form-title,.gr-skl-form-title) {
  border-bottom-color:#e2ebed !important;
  color:#1d3b4a !important;
}
body.local-redesign .gr-page-enter :is(.gr-machine-form-title,.gr-vehicle-form-title,.gr-skl-form-title) b {
  color:#1d3b4a !important;
}
body.local-redesign .gr-page-enter :is(.gr-machine-form-title,.gr-vehicle-form-title,.gr-skl-form-title) small {
  color:#6b8290 !important;
}
body.local-redesign .gr-page-enter :is(.gr-machine-form-title-icon,.gr-vehicle-form-icon,.gr-skl-form-icon) {
  border-radius:9px !important;
  background:#e5f1ef !important;
  box-shadow:none !important;
}
body.local-redesign .gr-page-enter :is(.gr-machine-form-section-title,.gr-skl-product-bottom strong,.gr-skl-product-arrow) {
  color:#285565 !important;
}
body.local-redesign .gr-page-enter :is(.gr-edit-panel,.gr-add-task-form,.gr-machine-edit-form,.gr-ulazni-form) :is(input,select,textarea):focus {
  border-color:#368d86 !important;
  outline:2px solid #368d86 !important;
  outline-offset:1px;
  box-shadow:none !important;
}
body.local-redesign .gr-page-enter .gr-profil-save,
body.local-redesign .gr-page-enter .calendar-day-actions button {
  border-radius:9px !important;
  background:#285565 !important;
  color:#fff !important;
  box-shadow:none !important;
}
body.local-redesign .gr-page-enter .calendar-nav { color:#285565 !important; border-radius:9px !important; box-shadow:none !important; }
body.local-redesign .gr-page-enter .gr-skl-photo-btn { border-color:#b9d0d4 !important; color:#285565 !important; }
body.local-redesign .gr-page-enter :is(.gr-client-arrow,.projects-overview-count b,.calendar-year-grid b) { color:#285565 !important; }
body.local-redesign .gr-page-enter :is(.gr-week-day-card.is-today,.calendar-week-grid button.today) {
  border-color:#68a9a1 !important;
  background:#edf7f5 !important;
}
body.local-redesign .gr-page-enter :is(.calendar-year-grid button:hover,.gr-racuni-actions .gr-chip:hover,.gr-add-task-form .gr-chipx:hover) {
  border-color:#8fbab9 !important;
  background:#eef6f5 !important;
  color:#285565 !important;
}
body.local-redesign .gr-page-enter .gr-chat-announcement { border-color:#a8c9c9 !important; box-shadow:0 2px 9px rgba(17,45,59,.07) !important; }
body.local-redesign .gr-page-enter :is(.gr-sken-tablica-kontrole button:hover:not(:disabled),.gr-profil-ostalo-add button) { background:#285565 !important; color:#fff !important; }
body.local-redesign .gr-page-enter .gr-sken-tablica-scroll { scrollbar-color:#78aaa9 #f1f5f5 !important; }
body.local-redesign .gr-page-enter .gr-sken-tablica-scroll::-webkit-scrollbar-thumb { background:#78aaa9 !important; }
body.local-redesign .gr-page-enter .gr-banka-kartica:focus-visible { outline-color:#368d86 !important; }
body.local-redesign #gr-splash { background:#edf3f4 !important; }
body.local-redesign #gr-splash .gr-splash-spinner { border-color:#c6d9dd !important; border-top-color:#285565 !important; }
body.local-redesign #gr-splash-slow { color:#5f7784 !important; }
body.local-redesign #gr-splash-slow button { background:#285565 !important; border-radius:9px !important; }

/* Invoice identity and action icons follow the active module palette. */
.gr-racun-card-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 38px;width:38px;min-height:38px;border:1px solid var(--surface-edge,#c8b88b55);border-radius:11px;background:var(--brand-light,#c8922a12);color:var(--brand,#9b7328)}
.gr-racun-card-icon .modul-vizual{flex-shrink:0;font-size:23px}
.gr-racun-action{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:30px;line-height:1.3;text-decoration:none}
.gr-racun-action-icon{display:inline-flex;align-items:center;justify-content:center;flex:none;color:inherit}
.gr-racun-action-icon .ti{color:inherit!important}

/* All themes share the compact desktop rail; theme colours remain independent. */
@media screen and (min-width:1280px){
  html body .app-shell .app-sidebar{width:80px!important;min-width:80px!important;height:calc(100vh - 24px)!important;height:calc(100dvh - 24px)!important;top:12px;margin:12px;z-index:40;overflow:hidden;transition:width .38s cubic-bezier(.22,1,.36,1),min-width .38s cubic-bezier(.22,1,.36,1),margin-right .38s cubic-bezier(.22,1,.36,1)!important}
  html body .app-shell .app-sidebar:is(:hover,:has(:focus-visible)){width:252px!important;min-width:252px!important;margin-right:-160px}
  html body .app-shell .app-sidebar>div:first-child{padding:18px 20px 16px!important;white-space:nowrap}
  html body .app-shell .app-sidebar>div:first-child>div{gap:12px!important}
  html body .app-shell .app-sidebar>div:first-child>div>div,
  html body .app-shell .app-sidebar>div:last-child>div>div:last-child{opacity:0;transition:opacity .2s;pointer-events:none}
  html body .app-shell .app-sidebar:is(:hover,:has(:focus-visible))>div:first-child>div>div,
  html body .app-shell .app-sidebar:is(:hover,:has(:focus-visible))>div:last-child>div>div:last-child{opacity:1;pointer-events:auto;transition-delay:.08s}
  html body .app-shell .app-sidebar .gr-nav{padding:6px 13px!important;gap:0!important;position:relative}
  html body .app-shell .app-sidebar:is(:hover,:has(:focus-visible)) .gr-nav{gap:12px!important}
  html body .app-shell .app-sidebar:not(:hover):not(:has(:focus-visible)) .gr-nav>div{display:none}
  html body .app-shell .app-sidebar:not(:hover):not(:has(:focus-visible)) .gr-nav>span:not(.gr-nav-ico):not(.gr-nav-label){position:absolute;right:0;top:0;font-size:9px!important;min-width:14px!important;padding:1px 4px!important}
  html body .app-shell .app-sidebar .gr-nav-label{max-width:0;opacity:0;transform:translateX(-6px);transition:max-width .38s cubic-bezier(.22,1,.36,1),opacity .22s,transform .3s}
  html body .app-shell .app-sidebar:is(:hover,:has(:focus-visible)) .gr-nav-label{max-width:180px;opacity:1;transform:none}
  html body .app-shell .app-sidebar .gr-nav-sek{height:20px;padding:4px 12px;overflow:hidden;font-size:0;transition:font-size .2s}
  html body .app-shell .app-sidebar:is(:hover,:has(:focus-visible)) .gr-nav-sek{font-size:10px}
}

@media screen and (min-width:1280px){html body .app-shell .app-sidebar{border-radius:24px}html body .app-shell .app-sidebar .gr-nav-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}html body .app-shell .app-sidebar .gr-nav-ico{flex:0 0 30px}html body .app-shell .app-sidebar .gr-nav{margin-left:0!important;margin-right:0!important}html body .app-shell .app-sidebar .gr-nav-ico .modul-vizual{max-width:32px;max-height:32px}}
@media(prefers-reduced-motion:reduce){html body .app-shell .app-sidebar,html body .app-shell .app-sidebar *{transition:none!important}}

/* Small actions share one corner radius across the application. */
@media screen{html body #root button:not(:is(.gr-nav,.gr-tile,.visual-module,.gr-theme-choice,.gr-profile-menu-card,.gr-mobile-nav-item,.gp-mascot)),html body .gr-projekt-brzo button,html body #root a.gr-racun-action{border-radius:8px!important}}

/* Flying cards use layer 4500; navigation stays in front of them, below dialogs. */
@media screen and (min-width:1280px){html body .app-shell .app-sidebar{z-index:4600!important}}

/* Shared geometry: modules 18px, small actions and labels 8px. Portraits remain circular. */
@media screen{
html body #root{--gr-radius-module:18px;--gr-radius-action:8px}
html body #root :is(.gr-card,.gr-mapa,.gr-profile-menu-card,.gr-worker-pass,.gr-finance-summary,.gr-racuni-summary,.ai-dashboard-card,.calendar-day-view,.calendar-year-view,.gr-theme-settings,.gr-client-form,.gr-store-stall-card,.gk-card,.visual-module,.gp-widget,.gr-widget,.gr-requests-widget,.fg-summary,.fg-bars){border-radius:var(--gr-radius-module)!important}
html body #root :is(.pr-member,.pr-asset,.pr-worker-plus,.pr-worker-list,.gr-tag,.project-card-meta>span,.project-group){border-radius:var(--gr-radius-action)!important}
html body #root .project-card-actions .project-card-action{display:inline-flex;align-items:center;gap:7px;border:1px solid var(--surface-edge,#d8e2eb)!important;border-radius:var(--gr-radius-action)!important;background:var(--card,#fff)!important;color:var(--text,#26332d)!important}
html body #root .project-card-actions .project-card-action-primary{background:var(--brand,#c8922a)!important;color:#fff!important}
html[data-tema="glass"] body #root .project-card-actions .project-card-action-primary{color:#362519!important}
html body #root .project-card-actions .ti{color:inherit!important}
html body #root .pr-member-remove{background:transparent!important;color:inherit!important;border-radius:6px!important}
html body #root .project-card-alerts>span{display:inline-flex;align-items:center;gap:4px}
}
