/* Glass is opt-in. Screen-only rules leave printed documents in their own palette. */
.gr-theme-choice-glass .gr-theme-swatch{background:linear-gradient(135deg,#333b35,#bc9064)!important}
.gr-theme-choice-glass .gr-theme-swatch span:nth-child(1){background:#403f38cc!important;backdrop-filter:blur(8px)}
.gr-theme-choice-glass .gr-theme-swatch span:nth-child(2){background:#f6ae6e!important}
.gr-theme-choice-glass .gr-theme-swatch span:nth-child(3){background:#e8e2d5a6!important}
@media screen {
html[data-tema="glass"]{
  color-scheme:dark;--glass-text:#faf6ed;--glass-muted:#d0cbbf;--glass-line:#fff3d72e;
  --glass-panel:rgba(24,35,27,.44);--glass-solid:#292f28;--glass-soft:rgba(22,28,24,.68);
  --glass-accent:#ffc089;--brand:#ffc089;--brand-rgb:255,192,137;--brand-light:#624733;
  --surface-edge:var(--glass-line);--surface-shadow:inset 0 1px 0 #ffffff66,inset 1px 0 0 #ffffff28,inset 0 -1px 0 #101b1555,0 18px 38px #06130d59,0 5px 12px #07160e29,0 0 0 1px #ffffff0a;
  --ring:0 0 0 3px #ffb87588;--card:var(--glass-panel);--text:var(--glass-text);--muted:var(--glass-muted);
  --ob-bg:#292c27;--ob-panel:var(--glass-panel);--ob-soft:var(--glass-solid);--ob-line:var(--glass-line);
  --ob-text:var(--glass-text);--ob-muted:var(--glass-muted);--ob-gold:var(--glass-accent);--ob-green:#a8dbb1;
  --tabs-bg:#292f28;
  background:#292c27;
}
/* Typography stays crisp; corrective colours are scoped to Glass and screen.
   The ID branch supplies specificity without changing any DOM IDs. */
html[data-tema="glass"] body :is(div,span,p,b,strong,small,label,a,button,input,textarea,select,td,th,li,h1,h2,h3,h4){text-shadow:none!important}
html[data-tema="glass"]:is(html,#glass-contrast-scope) body [data-glass-contrast="auto"]{color:var(--glass-readable-color)!important;text-shadow:none!important}
html[data-tema="glass"][data-glass-measuring] :not(.app-sidebar,.app-sidebar *,.gr-mobile-left,.gr-mobile-left *){transition:none!important}
html[data-tema="glass"] :is(input,textarea)::placeholder{color:#d0cbbf!important;opacity:1}
html[data-tema="glass"] :is(select option,select optgroup){background:#292f28!important;color:#faf6ed!important}
html[data-tema="glass"] :is(input,textarea,select,button,a):focus-visible{outline:2px solid #ffc089;outline-offset:3px}
html[data-tema="glass"] body{background:#292c27!important;color:var(--glass-text)!important}
html[data-tema="glass"] body:before{
  content:"";position:fixed;inset:0;pointer-events:none;z-index:0;
  background:linear-gradient(110deg,#18271eb3,#231c164d 60%,#17231ccc),url('glass-interior.svg') center/cover no-repeat;
}
html[data-tema="glass"] :is(#root,.app-shell,.app-content,.gr-page,.gr-layout,.gr-layout-main){background:transparent!important;color:var(--glass-text)}
html[data-tema="glass"] #root{position:relative;z-index:1}
html[data-tema="glass"] .app-shell{isolation:isolate}
html[data-tema="glass"] :is(.app-sidebar,.gr-mobile-left,.gr-mobile-right,.app-bottom-nav){
  background:rgba(31,36,30,.8)!important;color:var(--glass-text)!important;border-color:var(--glass-line)!important;
  -webkit-backdrop-filter:blur(24px) saturate(125%);backdrop-filter:blur(24px) saturate(125%);
}
html[data-tema="glass"] :is(.gr-card,.gr-mapa,.gr-my-task-card,.gr-task-card,.gr-tool-card,.gr-koop-card,.gr-upiti-card,.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-theme-choice,.gr-client-form,.gr-store-stall-card,.ur-room,.gk-card,.visual-module){
  background:var(--glass-panel)!important;color:var(--glass-text)!important;border:1px solid var(--glass-line)!important;
  border-radius:20px!important;box-shadow:var(--surface-shadow)!important;
  -webkit-backdrop-filter:blur(18px) saturate(115%);backdrop-filter:blur(18px) saturate(115%);
}
html[data-tema="glass"] .gr-rail{background:transparent!important}
html[data-tema="glass"] .gr-requests-widget{background:var(--glass-panel)!important;color:var(--glass-text)!important;border-color:var(--glass-line)!important;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}
html[data-tema="glass"] body .app-content .gr-layout :is(.gr-card,.fv-card,.gr-theme-choice){background:var(--glass-panel)!important;color:var(--glass-text)!important;border-color:var(--glass-line)!important}
html[data-tema="glass"] body .app-content .visual-finance :is(div,span,button){color:var(--glass-muted)!important}
html[data-tema="glass"] body .app-content .visual-finance [style*="color: rgb(61, 170, 106)"]{color:#a8dbb1!important}
html[data-tema="glass"] body .app-content .visual-finance [style*="color: rgb(100, 181, 246)"]{color:#a3d9ff!important}
html[data-tema="glass"] body .app-content .visual-finance :is([style*="color: rgb(255, 215, 0)"],[style*="color: rgb(255, 167, 38)"]){color:#ffcc92!important}
html[data-tema="glass"] body .app-content .visual-finance [style*="color: rgb(239, 83, 80)"]{color:#ffaaa2!important}
html[data-tema="glass"] .fv button{background:var(--glass-soft)!important;color:var(--glass-text)!important;border-color:var(--glass-line)!important}
html[data-tema="glass"] .fv-income{color:#a8dbb1!important}
html[data-tema="glass"] .fv-cost{color:#ffcc92!important}
html[data-tema="glass"] :is(.gr-nav,.gr-tile){background:#ffffff08!important;color:var(--glass-muted)!important;border:1px solid #ffffff17!important;border-radius:12px!important;box-shadow:none!important}
html[data-tema="glass"] .gr-nav.active{background:#f4b67825!important;color:#ffce9e!important;border-color:#f4b67866!important;box-shadow:inset 3px 0 #ffc089!important}
html[data-tema="glass"] :is(.gr-nav-sek,.gr-profile-menu-sub,.gr-theme-choice small,.gr-theme-settings-intro,.gr-theme-settings-note){color:var(--glass-muted)!important}
html[data-tema="glass"] :is(h1,h2,h3,h4,.project-card-title,.gr-page-title,.gr-nav-label,.gr-module-heading,.gk-title,.gk-metrics b){color:var(--glass-text)!important}
html[data-tema="glass"] .gr-redesign-icon{display:inline-grid;place-items:center;background:#ffc08918;color:#ffc089;border-radius:10px;font-size:1.25em}
html[data-tema="glass"] :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),textarea,select){background:rgba(22,28,24,.82)!important;color:var(--glass-text)!important;border-color:#ffffff38!important;border-radius:12px!important}
html[data-tema="glass"] :is(input,textarea)::placeholder{color:#b9b9ac!important;opacity:1}
html[data-tema="glass"] :is(input[type="checkbox"],input[type="radio"]){accent-color:#ffc089}
html[data-tema="glass"] :is(.gr-btn,.gr-chip,.gr-chipx,.gr-seg,.gr-seg button,.gr-tabs,.gr-tabs-item,.gr-project-action-secondary,.gr-projekt-brzo,.gr-projekt-brzo button,.gr-dashboard-projects-toggle,.gr-page-back,.gr-back,.gr-graf-card,.gr-fold-left-trigger,.gr-mobile-right-trigger){background:var(--glass-solid)!important;color:var(--glass-text)!important;border-color:var(--glass-line)!important;border-radius:12px!important}
html[data-tema="glass"] :is(.gr-btn-primary,.gr-project-action-primary,.gr-fab,.gr-seg button.active,.gr-tabs-item.active,.gr-chip.active,.gr-chipx.active){background:linear-gradient(120deg,#ffd3a4,#f4a86a)!important;color:#362519!important;border-color:#ffd3a4!important;box-shadow:0 5px 18px #f4a86a26!important}
html[data-tema="glass"] :is(.gr-feed,.gr-feed-list,.gr-tab-body){background:transparent!important;color:var(--glass-text)!important}
html[data-tema="glass"] :is(.gr-feed-bar,.gr-feed-chat-bubble,.gr-add-task-form,.gr-edit-panel,[role="dialog"],.gr-tasks-panel){background:var(--glass-solid)!important;color:var(--glass-text)!important;border-color:var(--glass-line)!important}
html[data-tema="glass"] .gr-feed-chat-bubble.mine{background:#435143!important}
/* Dashboard AI replies keep their own dark surface and crisp, readable text. */
html[data-tema="glass"] body .ai-dashboard-card :is([style*="background: rgb(243, 246, 249)"],[style*="background: rgb(245, 233, 207)"]){background:#25382fee!important;color:#faf6ed!important;border:1px solid #ffffff30;box-shadow:inset 0 1px 0 #ffffff20;text-shadow:none!important}
html[data-tema="glass"] body .ai-dashboard-card [style*="background: rgb(245, 233, 207)"]{background:#4a3d2af2!important}
html[data-tema="glass"] body .ai-dashboard-card :is([style*="background: rgb(243, 246, 249)"],[style*="background: rgb(245, 233, 207)"]) :is(p,span,b,strong,em,small,a){color:inherit!important;text-shadow:none!important}
/* Project feed: notes used a pale yellow inline background while inheriting light text. */
html[data-tema="glass"] .gr-feed-list [style*="background: rgb(255, 253, 231)"]{background:#3b3c2a!important;color:#fff7d9!important;border-left-color:#f6c76c!important}
html[data-tema="glass"] .gr-feed-author{color:#deded0!important}
html[data-tema="glass"] .gr-feed-author strong{color:#faf6ed!important}
html[data-tema="glass"] .gr-feed-author span{color:#d0cbbf!important}
html[data-tema="glass"] .gr-feed-chat-time{color:#deded0!important;opacity:1!important}
html[data-tema="glass"] .app-content a:not(.gr-btn):not(.gr-btn-primary){color:#ffd1a2!important}
html[data-tema="glass"] .gr-feed-del{color:#ffb5ac!important}
html[data-tema="glass"] .project-finance-toggle{background:#29382ff2!important;color:#faf6ed!important;border-color:#96c9ac66!important}
html[data-tema="glass"] .project-finance-toggle-copy strong{color:#faf6ed!important}
html[data-tema="glass"] .project-finance-toggle-copy small{color:#d0dccc!important}
html[data-tema="glass"] .project-finance-toggle-value{color:#aff0c6!important}
html[data-tema="glass"] .project-finance-toggle-icon{background:#9cd3b32b!important;color:#c4e9d0!important}
html[data-tema="glass"] .gr-tabs-wrap::after{background:linear-gradient(90deg,transparent,#292f28 90%)!important}
html[data-tema="glass"] .gr-feed-bar .feed-mode-button{background:#353d32!important;color:#faf6ed!important;border-color:#bfc9b344!important}
html[data-tema="glass"] .gr-feed-bar .feed-mode-button.active{background:#ffc089!important;color:#30251a!important}
html[data-tema="glass"] .gr-feed-bar .feed-mode-button .ti{color:inherit!important}
/* Tinted neutral panels elsewhere in the legacy forms need a dark surface too. */
html[data-tema="glass"] .app-shell :is(div,section,article,button)[style*="background: rgb(255, 249, 233)"],
html[data-tema="glass"] .app-shell :is(div,section,article,button)[style*="background: rgb(255, 244, 224)"],
html[data-tema="glass"] .app-shell :is(div,section,article,button)[style*="background: rgb(240, 240, 240)"]{background:#353d32!important;color:var(--glass-text)!important;border-color:var(--glass-line)!important}
html[data-tema="glass"] :is(td,th,tr,table,.gk-metrics){border-color:var(--glass-line)!important}
html[data-tema="glass"] th{background:#20281fe6!important;color:var(--glass-muted)!important}
html[data-tema="glass"] .gr-theme-choice.is-active{border-color:#ffc089!important;background:#73553999!important}
html[data-tema="glass"] .gr-theme-choice-check{color:#ffc089!important}
html[data-tema="glass"] :is(.gp-widget,.gp-comic,.gp-speech,.gp-chat-title,.gp-chat,.gp-compose,.gp-disclosure,.gp-social,.gp-message){background:var(--glass-panel)!important;color:var(--glass-text)!important;border-color:var(--glass-line)!important}
html[data-tema="glass"] :is(.gp-widget p,.gp-widget strong,.gp-widget small,.gp-widget time){color:inherit!important}
html[data-tema="glass"] .gp-social a{background:var(--glass-soft)!important;color:var(--glass-accent)!important}
/* Neutral inline colours in the older modules; retain status and project accents. */
html[data-tema="glass"] :is(.app-shell,.gr-mobile-left,.gr-mobile-right,.gr-projekt-brzo) :is(div,section,article,header,footer,button,span,p,label,a)[style*="background: rgb(255, 255, 255)"],
html[data-tema="glass"] :is(.app-shell,.gr-mobile-left,.gr-mobile-right) [style*="background: white"],
html[data-tema="glass"] :is(.app-shell,.gr-mobile-left,.gr-mobile-right) [style*="background: rgb(244, 244, 242)"],
html[data-tema="glass"] :is(.app-shell,.gr-mobile-left,.gr-mobile-right) [style*="background: rgb(245, 247, 249)"],
html[data-tema="glass"] :is(.app-shell,.gr-mobile-left,.gr-mobile-right) [style*="background: rgb(248, 250, 252)"]{background:var(--glass-panel)!important;color:var(--glass-text)!important;border-color:var(--glass-line)!important}
html[data-tema="glass"] :is(.app-shell,.gr-mobile-left,.gr-mobile-right) :is(div,span,p,label,b,strong,small,a,button)[style*="color: rgb(26, 26, 26)"],
html[data-tema="glass"] :is(.app-shell,.gr-mobile-left,.gr-mobile-right) [style*="color: rgb(32, 48, 71)"],
html[data-tema="glass"] :is(.app-shell,.gr-mobile-left,.gr-mobile-right) [style*="color: rgb(38, 51, 45)"]{color:var(--glass-text)!important}
html[data-tema="glass"] :is(.app-shell,.gr-mobile-left,.gr-mobile-right) [style*="color: rgb(136, 136, 136)"],
html[data-tema="glass"] :is(.app-shell,.gr-mobile-left,.gr-mobile-right) [style*="color: rgb(102, 123, 137)"]{color:var(--glass-muted)!important}
html[data-tema="glass"] :is(.app-shell,.gr-mobile-left,.gr-mobile-right) :is(div,section,article,button)[style*="background: rgb(245, 230, 204)"],
html[data-tema="glass"] :is(.app-shell,.gr-mobile-left,.gr-mobile-right) :is(div,section,article,button)[style*="background: rgb(247, 245, 240)"],
html[data-tema="glass"] :is(.app-shell,.gr-mobile-left,.gr-mobile-right) :is(div,section,article,button)[style*="background: rgb(240, 244, 248)"]{background:#47483be6!important;color:var(--glass-text)!important;border-color:var(--glass-line)!important}
html[data-tema="glass"] body .app-content .gr-layout :is(.project-card.gr-card.gr-card-hl.gr-proj,.gr-card.gr-task-card,.gr-card.gr-my-task-card){background:var(--glass-panel)!important;color:var(--glass-text)!important;border-color:var(--glass-line)!important;border-left:3px solid var(--project-accent,var(--glass-accent))!important;box-shadow:var(--surface-shadow)!important}
html[data-tema="glass"] :is(.gk-photo,.gk-monogram,.gk-actions button,.gr-search,.gr-racuni-actions,.gr-racuni-expense-filter){background:var(--glass-soft)!important;color:var(--glass-text)!important;border-color:var(--glass-line)!important}
html[data-tema="glass"] :is(.gr-card,.gr-mapa,.gr-profile-menu-card){transition:background .2s,border-color .2s,box-shadow .2s}
@media(hover:hover){html[data-tema="glass"] :is(.gr-card-hl,.gr-mapa,.gr-profile-menu-card):hover{border-color:#ffd2a26b!important;box-shadow:inset 0 1px #ffffff30,0 16px 35px #00000038!important}html[data-tema="glass"] .gr-nav:hover{background:#ffffff16!important;color:#fff!important}}
@media(max-width:767px){html[data-tema="glass"] :is(.gr-card,.gr-mapa,.gr-theme-choice){border-radius:16px!important;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}html[data-tema="glass"] body:before{background-position:38% center}html[data-tema="glass"] :is(.gr-mobile-left,.gr-mobile-right){background:#252e26f5!important}}
/* Floating glass navigation. Keep the content width steady as the desktop rail opens. */
html[data-tema="glass"] body :is(.app-sidebar,.gr-mobile-left){
  background:linear-gradient(145deg,#ffffff18,#ffffff03 45%,#13271d26)!important;
  border:1px solid #ffffff40!important;border-radius:24px!important;
  -webkit-backdrop-filter:blur(16px) saturate(155%);backdrop-filter:blur(16px) saturate(155%);
  box-shadow:inset 0 1px 0 #ffffff44,inset 1px 0 0 #ffffff16,0 18px 44px #08150f33!important;
  color:#fffdf6!important;text-shadow:0 1px 4px #07140bcc;
}
html[data-tema="glass"] body :is(.app-sidebar,.gr-mobile-left)>div{background:transparent!important;border-color:#fff5df26!important}
html[data-tema="glass"] body :is(.app-sidebar,.gr-mobile-left) .gr-nav{
  background:transparent!important;border:1px solid transparent!important;border-radius:14px!important;
  color:#fffdf6!important;box-shadow:none!important;min-height:44px;margin-bottom:5px!important;
  transition:background .28s,border-color .28s,box-shadow .28s,transform .28s cubic-bezier(.2,.8,.2,1)!important;
}
html[data-tema="glass"] body :is(.app-sidebar,.gr-mobile-left) .gr-nav.active{
  background:linear-gradient(110deg,#ffd1a34f,#ffe3c91a)!important;border-color:#ffd9b463!important;
  color:#fff4e6!important;box-shadow:inset 0 1px #fff5e84d,0 5px 16px #1019101a!important;
}
html[data-tema="glass"] body :is(.app-sidebar,.gr-mobile-left) .gr-nav-ico{background:transparent!important;flex:0 0 30px;color:#ffe2bf!important;overflow:visible}
html[data-tema="glass"] body :is(.app-sidebar,.gr-mobile-left) .gr-redesign-icon{background:transparent!important;color:#ffe2bf!important}
html[data-tema="glass"] body :is(.app-sidebar,.gr-mobile-left) .gr-nav-label{color:inherit!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
html[data-tema="glass"] body .gr-mobile-left .gr-nav,
html[data-tema="glass"] body .app-sidebar:is(:hover,:has(:focus-visible)) .gr-nav{border-color:#fff0d84d!important;box-shadow:inset 0 1px 0 #ffffff24,0 3px 8px #08150f18!important;background:#ffffff08!important}
html[data-tema="glass"] body :is(.app-sidebar,.gr-mobile-left) .gr-nav-sek{color:#f1e6d5!important;font-weight:650;letter-spacing:1.4px}
@media(min-width:1280px){
  html[data-tema="glass"] body .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[data-tema="glass"] body .app-sidebar:is(:hover,:has(:focus-visible)){width:252px!important;min-width:252px!important;margin-right:-160px}
  html[data-tema="glass"] body .app-sidebar>div:first-child{padding:18px 20px 16px!important;white-space:nowrap}
  html[data-tema="glass"] body .app-sidebar>div:first-child>div{gap:12px!important}
  html[data-tema="glass"] body .app-sidebar>div:first-child>div>div,
  html[data-tema="glass"] body .app-sidebar>div:last-child>div>div:last-child{opacity:0;transition:opacity .2s;pointer-events:none}
  html[data-tema="glass"] body .app-sidebar:is(:hover,:has(:focus-visible))>div:first-child>div>div,
  html[data-tema="glass"] body .app-sidebar:is(:hover,:has(:focus-visible))>div:last-child>div>div:last-child{opacity:1;pointer-events:auto;transition-delay:.08s}
  html[data-tema="glass"] body .app-sidebar .gr-nav{padding:6px 13px!important;gap:0!important;position:relative}
  html[data-tema="glass"] body .app-sidebar:is(:hover,:has(:focus-visible)) .gr-nav{gap:12px!important}
  html[data-tema="glass"] body .app-sidebar:not(:hover):not(:has(:focus-visible)) .gr-nav>div{display:none}
  html[data-tema="glass"] body .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[data-tema="glass"] body .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[data-tema="glass"] body .app-sidebar:is(:hover,:has(:focus-visible)) .gr-nav-label{max-width:180px;opacity:1;transform:none}
  html[data-tema="glass"] body .app-sidebar .gr-nav-sek{height:20px;padding:4px 12px;overflow:hidden;font-size:0;transition:font-size .2s}
  html[data-tema="glass"] body .app-sidebar:is(:hover,:has(:focus-visible)) .gr-nav-sek{font-size:10px}
}
@media(max-width:1279px){
  html[data-tema="glass"] body .gr-mobile-left{left:12px;top:calc(12px + env(safe-area-inset-top));bottom:calc(12px + env(safe-area-inset-bottom));width:min(84vw,320px);padding-top:0;transform:translateX(calc(-100% - 30px)) scale(.97);transform-origin:left center;transition:transform .42s cubic-bezier(.22,1,.36,1)!important}
  html[data-tema="glass"] body .gr-mobile-left-wrap.open .gr-mobile-left{transform:translateX(0) scale(1)}
  html[data-tema="glass"] body .gr-mobile-left-backdrop{background:#0b171632;backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);transition:opacity .32s}
}
@media(hover:hover){html[data-tema="glass"] body :is(.app-sidebar,.gr-mobile-left) .gr-nav:hover{background:#ffffff18!important;border-color:#ffffff30!important;transform:translateX(2px);box-shadow:inset 0 1px #ffffff26!important}}
/* One glass material across the middle and right, without stacking opaque panels. */
html[data-tema="glass"] body .app-content .gr-layout :is(.project-card.gr-card.gr-card-hl.gr-proj,.gr-card.gr-task-card,.gr-card.gr-my-task-card,.gr-card,.fv-card,.gr-mapa,.gk-card),
html[data-tema="glass"] body :is(.gr-rail,.gr-mobile-rail) :is(.gr-widget,.gr-graditelj-widget,.gr-card,.gp-widget,.gr-requests-widget){
  background:linear-gradient(130deg,#ffffff1c,transparent 48%,#ffffff05),var(--glass-panel)!important;
  border-color:#fff5df47!important;box-shadow:var(--surface-shadow)!important;
  -webkit-backdrop-filter:blur(16px) saturate(145%);backdrop-filter:blur(16px) saturate(145%);
  color:var(--glass-text)!important;text-shadow:0 1px 3px #06180d7a;
}
html[data-tema="glass"] body :is(.gr-rail,.gr-mobile-rail) :is(.gp-comic,.gp-chat,.gp-chat-title,.gp-compose,.gp-disclosure,.gp-social){background:transparent!important;color:var(--glass-text)!important}
html[data-tema="glass"] body :is(.gr-rail,.gr-mobile-rail) :is(.gp-speech,.gp-message){background:#15221a24!important;color:var(--glass-text)!important;border-color:#ffffff30!important}
html[data-tema="glass"] body .gr-mobile-rail{
  top:calc(12px + env(safe-area-inset-top));bottom:calc(12px + env(safe-area-inset-bottom));right:12px;
  width:min(90vw,390px);height:auto;padding:18px 14px 22px;border:1px solid #ffffff40!important;border-radius:24px;
  background:linear-gradient(145deg,#ffffff18,#ffffff03 45%,#13271d26)!important;
  color:var(--glass-text)!important;text-shadow:0 1px 4px #07140bcc;
  -webkit-backdrop-filter:blur(16px) saturate(155%);backdrop-filter:blur(16px) saturate(155%);
  box-shadow:inset 0 1px #ffffff66,inset -1px 0 #ffffff28,-10px 18px 44px #08150f45!important;
  transform:translateX(calc(100% + 30px)) scale(.97);transform-origin:right center;
  transition:transform .42s cubic-bezier(.22,1,.36,1)!important;
}
html[data-tema="glass"] body .gr-mobile-rail-wrap.open .gr-mobile-rail{transform:translateX(0) scale(1)}
html[data-tema="glass"] .gr-mobile-rail-head{background:transparent!important;border-bottom:1px solid #ffffff28;margin-bottom:14px}
html[data-tema="glass"] .gr-mobile-rail-head b{color:#fffdf6!important}
html[data-tema="glass"] .gr-mobile-rail-head span{color:#e0e4d8!important}
html[data-tema="glass"] .gr-mobile-rail-head button{background:#ffffff12!important;color:#fffdf6!important;border:1px solid #ffffff30;box-shadow:inset 0 1px #ffffff38!important}
html[data-tema="glass"] .gr-mobile-rail-backdrop{background:#0b171632!important;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);transition:opacity .32s}
html[data-tema="glass"] .app-content .gr-card [style*="color: rgb(136, 136, 136)"]{color:#e1e1d5!important}
/* Protect glass navigation even above white module content. */
html[data-tema="glass"] body :is(.app-sidebar,.gr-mobile-left,.gr-mobile-rail){background:linear-gradient(145deg,#ffffff10,#ffffff03 45%,#13271d26),#121e16a8!important}
html[data-tema="glass"] body .gr-ico-btn.crveno{color:#ffb5ac!important}
html[data-tema="glass"] body .gr-racuni-page .gr-racun-action{background:#26382ee8!important;color:#faf6ed!important;border:1px solid #ffffff38!important;box-shadow:inset 0 1px #ffffff18}
html[data-tema="glass"] body .gr-racuni-page .gr-racun-action-danger{background:#482d2ae8!important;color:#ffc5bd!important}
html[data-tema="glass"] body .gr-racuni-page .gr-racun-action-success{background:#214533e8!important;color:#ceffdc!important}
html[data-tema="glass"] body .gr-racuni-page .gr-racun-action-warning{background:#4a3d27e8!important;color:#ffe0a9!important}
/* Schedule grid, sticky names, project chips and mobile day cards. */
html[data-tema="glass"] body .gr-schedule-page :is(.gr-schedule-title,.gr-module-title){color:#faf6ed!important}
html[data-tema="glass"] body .gr-schedule-page .gr-rasp-tjedan{background:#243128d9!important;border-color:#ffffff40!important;box-shadow:var(--surface-shadow)!important}
html[data-tema="glass"] body .gr-schedule-page .gr-rasp-tjedan th{background:#24352df2!important;color:#faf6ed!important;border-color:#ffffff30!important}
html[data-tema="glass"] body .gr-schedule-page .gr-rasp-tjedan td{background:#203027c9!important;color:#faf6ed!important;border-color:#ffffff26!important}
html[data-tema="glass"] body .gr-schedule-page .gr-rasp-tjedan :is(td,th):first-child{background:#25372ff7!important;color:#faf6ed!important}
html[data-tema="glass"] body .gr-schedule-page .gr-rasp-tjedan :is(td,th):nth-last-child(-n+2){background:#303a30e8!important}
html[data-tema="glass"] body .gr-schedule-page .gr-rasp-tjedan [style*="background: rgb(255, 253, 245)"]{background:#53452ce8!important}
html[data-tema="glass"] body .gr-schedule-page .gr-cel[style*="dashed"]{background:#65502ee8!important}
html[data-tema="glass"] body .gr-schedule-page .gr-cel-plus{color:#f6d5a8!important;border-color:#d0b48a80!important}
html[data-tema="glass"] body .gr-schedule-page .gr-rchip{background:#35493be8!important;color:#faf6ed!important;border-color:#ffffff40!important;border-left-color:var(--brand)!important}
html[data-tema="glass"] body .gr-schedule-page .gr-rchip :is(b,span,small){color:inherit!important}
html[data-tema="glass"] body :is(.gr-week-day-card,.gr-dan,.gr-kal-dan){background:#26372bd9!important;color:#faf6ed!important;border-color:#ffffff38!important}
/* Income and supplier charts use the same glass material and semantic palette. */
html[data-tema="glass"] body .app-content :is(.fg-summary,.fg-bars){background:linear-gradient(130deg,#ffffff1c,transparent 48%,#ffffff05),var(--glass-panel)!important;border:1px solid #fff5df47!important;border-radius:20px;box-shadow:var(--surface-shadow)!important;backdrop-filter:blur(16px) saturate(145%);-webkit-backdrop-filter:blur(16px) saturate(145%);color:#faf6ed!important}
html[data-tema="glass"] body .app-content :is(.fg-dashboard,.fg-suppliers) :is(h3,.fg-row b,.fg-row>div:first-child,.fg-values b){color:#faf6ed!important}
html[data-tema="glass"] body .app-content :is(.fg-dashboard,.fg-suppliers) :is(.fg-note,.fg-key,.fg-row>small,.fg-values>div,.fg-summary>div>p){color:#deded0!important}
html[data-tema="glass"] body .app-content .fg-eyebrow{color:#ffd1a2!important}
html[data-tema="glass"] body .app-content .fg-track{background:#ffffff16!important;box-shadow:inset 0 1px 3px #07150d55}
html[data-tema="glass"] body .app-content .fg-track .paid{background:linear-gradient(#b7e2c2,#78b391)!important}
html[data-tema="glass"] body .app-content .fg-track .open{background:linear-gradient(#ffcca5,#db997b)!important}
html[data-tema="glass"] body .app-content :is(.fg-values i,.fg-key i){background:#a8d9ba!important}
html[data-tema="glass"] body .app-content :is(.fg-values>div:nth-child(2) i,.fg-key span+span i){background:#ffc089!important}
html[data-tema="glass"] body .app-content .fg-values>div:first-child b{color:#bdeccc!important}
html[data-tema="glass"] body .app-content .fg-values>div:nth-child(2) b{color:#ffd1a2!important}
html[data-tema="glass"] body .app-content .fg-rows{scrollbar-color:#a7b9a88c #ffffff0d}
html[data-tema="glass"] body .app-content .fg-donut svg text{fill:#faf6ed!important}
html[data-tema="glass"] body .app-content .fg-donut svg text:last-child{fill:#deded0!important}
html[data-tema="glass"] body .app-content .fg-donut svg circle[stroke="#db8a7d"]{stroke:#ffc089}
html[data-tema="glass"] body .app-content .fg-donut svg circle[stroke="#77b48e"]{stroke:#a8d9ba}
html[data-tema="glass"] body .app-content .fg-donut{filter:drop-shadow(0 8px 12px #08150f55)}
html[data-tema="glass"] body .app-content .fg-bars button{background:#4a3d2acc!important;color:#ffe0b9!important;border-color:#ffd1a255!important}
/* Bank tracking options: selected and unselected labels share a readable dark palette. */
html[data-tema="glass"] body .app-content .gr-banka-nacin-stanja.gr-card [role="radiogroup"] label{background:#203229dc!important;border-color:#ffffff38!important;text-shadow:none!important}
html[data-tema="glass"] body .app-content .gr-banka-nacin-stanja.gr-card [role="radiogroup"] label:has(input:checked){background:#483b28f2!important;border-color:#ffc089!important;box-shadow:inset 0 1px 0 #ffffff26,0 0 0 2px #ffc08918}
html[data-tema="glass"] body .app-content .gr-banka-nacin-stanja.gr-card [role="radiogroup"] label :is(b,span){color:#faf6ed!important;text-shadow:none!important}
html[data-tema="glass"] body .app-content .gr-banka-nacin-stanja.gr-card [role="radiogroup"] label span[style*="background: rgb(232, 245, 238)"]{background:#214e3d!important;color:#d4ffe6!important}
@media(hover:hover){html[data-tema="glass"] body .app-content .gr-layout .gr-card:hover{box-shadow:inset 0 1px #ffffff8c,inset 1px 0 #ffffff38,0 22px 44px #06130d66,0 5px 12px #07160e33!important}}
html[data-tema="glass"] body :is(.gr-rail,.gr-mobile-rail) :is(.gp-widget,.gr-card,.gr-widget,.gr-requests-widget){transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease!important}
html[data-tema="glass"] body :is(.gr-rail,.gr-mobile-rail) :is(.gp-widget,.gr-card,.gr-widget,.gr-requests-widget):is(:hover,:has(:focus-visible)){position:relative;z-index:1;transform:translateY(-4px)!important;border-color:#ffdbb5!important;box-shadow:inset 0 1px 0 #ffffffc0,inset 1px 0 0 #ffffff65,0 24px 46px #06130d85,0 0 24px #ffc08930!important}
/* Some desktop webviews report a coarse pointer despite receiving mouse hover.
   Suppress lift only on narrow touch layouts, rather than every coarse pointer. */
@media(max-width:767px) and (hover:none){html[data-tema="glass"] body :is(.gr-rail,.gr-mobile-rail) :is(.gp-widget,.gr-card,.gr-widget,.gr-requests-widget):hover{transform:none!important}}
@supports not (backdrop-filter:blur(1px)){html[data-tema="glass"]{--glass-panel:#353b32}html[data-tema="glass"] body :is(.app-sidebar,.gr-mobile-left,.gr-mobile-rail,.app-bottom-nav){background:#262e26!important}}
@media(prefers-reduced-transparency:reduce){html[data-tema="glass"] body :is(.app-sidebar,.gr-mobile-left,.gr-mobile-rail){background:#262e26!important}}
@media(prefers-reduced-transparency:reduce){html[data-tema="glass"]{--glass-panel:#353b32}html[data-tema="glass"] body:before{background:#293227}html[data-tema="glass"] *{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}}
@media(prefers-reduced-motion:reduce){html[data-tema="glass"] *,html[data-tema="glass"] *:before,html[data-tema="glass"] *:after{animation:none!important;transition:none!important}}
}
