/* Affluo — Apple-native sloj (macOS / iOS osjećaj). Učitava se nakon style/agents/polish.css.
   Mijenja izgled, ne logiku: boje sustava, tipografija SF, prozirnost, sheetovi, tab bar na mobitelu.
   Izvorni Affluo logo i zelena ostaju; zelena je samo boja interakcije (tint). */

:root{
  --bg:#1c1c1e; --side:rgba(28,28,30,.72); --panel:#2c2c2e; --elev:#323234;
  --hover:rgba(255,255,255,.06); --fill:rgba(120,120,128,.24); --fill2:rgba(118,118,128,.14);
  --text:#f5f5f7; --muted:rgba(235,235,245,.6); --muted2:rgba(235,235,245,.3); --line:rgba(84,84,88,.5);
  --green:#b6eea1; --green-text:#132010; --tint-soft:rgba(182,238,161,.16);
  --bar:rgba(28,28,30,.72);
  --spring:cubic-bezier(.32,.72,0,1);
  --shadow:0 0 0 .5px rgba(0,0,0,.5),0 20px 60px rgba(0,0,0,.5);
}
body.light{
  --bg:#ffffff; --side:rgba(242,242,247,.8); --panel:#ffffff; --elev:#ffffff;
  --hover:rgba(0,0,0,.04); --fill:rgba(120,120,128,.2); --fill2:rgba(118,118,128,.1);
  --text:#1d1d1f; --muted:rgba(60,60,67,.6); --muted2:rgba(60,60,67,.3); --line:rgba(60,60,67,.18);
  --green:#a6df8f; --green-text:#10200b; --tint-soft:rgba(52,140,40,.12);
  --bar:rgba(249,249,249,.8);
  --shadow:0 0 0 .5px rgba(0,0,0,.08),0 20px 60px rgba(0,0,0,.14);
}

/* Tipografija: SF Text za sadržaj, SF Display za naslove, Apple razmaci slova */
html body{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Helvetica Neue",sans-serif;font-size:14px;letter-spacing:-.006em;line-height:1.45}
html body :is(h1,h2,h3,.brand,.assistant-selector){font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Helvetica Neue",sans-serif}
html body .eyebrow{font-size:11px;font-weight:600;letter-spacing:.04em;color:var(--muted)}

/* Sidebar kao macOS: prozirnost, tanka linija, zaobljeni odabir */
html body .sidebar{background:var(--side);-webkit-backdrop-filter:saturate(180%) blur(40px);backdrop-filter:saturate(180%) blur(40px);border-right:1px solid var(--line)}
html body .brand{font-weight:600;letter-spacing:-.03em}
html body .new-chat{background:var(--fill2);border:0;border-radius:10px;font-weight:500;padding:10px 12px}
html body .new-chat:hover{background:var(--fill)}
html body .nav-item{border-radius:8px;padding:7px 10px;margin:1px 0;font-size:13px;color:var(--text);opacity:.86}
html body .nav-item svg{color:var(--green);opacity:.9}
html body .nav-item:hover{background:var(--hover);opacity:1}
html body .nav-item.active{background:var(--fill);opacity:1;box-shadow:none;font-weight:500}
html body .history-item{border-radius:8px;padding:7px 8px;color:var(--muted)}
html body .history-item:hover,html body .history-item.selected{background:var(--hover);color:var(--text)}
html body .founder-card{border-radius:12px;border:0;background:var(--fill2);padding:10px;margin:14px 0}
html body .avatar{background:var(--fill);border:0}

/* Toolbar: proziran, s tankom linijom */
html body .topbar{height:56px;background:var(--bar);-webkit-backdrop-filter:saturate(180%) blur(30px);backdrop-filter:saturate(180%) blur(30px);border-bottom:1px solid var(--line);position:relative;z-index:2}
html body .assistant-selector{background:var(--fill2);border-radius:8px;padding:5px 10px;font-size:13px;font-weight:600}
html body .assistant-selector:hover{background:var(--fill)}
html body .icon-button{border-radius:8px}
html body .prototype-tag{background:var(--fill2);border-radius:999px;padding:3px 9px;font-size:11px}

/* Dobrodošlica: Large Title */
html body .welcome h1{font-size:34px;font-weight:700;letter-spacing:-.022em;line-height:1.15}
html body .welcome p{font-size:15px;line-height:1.5;color:var(--muted)}
html body .welcome .eyebrow{color:var(--muted)}

/* Composer kao iMessage/ChatGPT za Mac */
html body .composer{background:var(--panel);border:1px solid var(--line);border-radius:22px;box-shadow:0 1px 2px rgba(0,0,0,.12),0 8px 28px rgba(0,0,0,.12);padding:14px 14px 10px}
html body .composer:focus-within{border-color:var(--line);box-shadow:0 0 0 4px var(--tint-soft),0 8px 28px rgba(0,0,0,.14)}
html body .composer textarea{font-size:15px;line-height:1.5}
html body .send-button{width:32px;height:32px}
html body .agent-button{border-radius:999px;background:var(--fill2);padding:5px 10px;font-size:13px}
html body .selected-agent{border-radius:999px;background:var(--tint-soft)}
html body .suggestions button{border:0;background:var(--fill2);border-radius:999px;color:var(--text);font-size:13px;padding:8px 14px}
html body .suggestions button:hover{background:var(--fill)}
html body .suggestions svg{color:var(--green)}

/* Poruke: korisnik u mjehuriću, asistent kao čisti tekst */
html body .user-bubble{background:var(--elev);border-radius:20px 20px 6px 20px;padding:9px 15px;font-size:15px;line-height:1.45}
body.light .user-bubble{background:#e9e9eb}
html body .assistant-text{font-size:15px;line-height:1.6;color:var(--text)}
html body .source-pill{border:0;background:var(--fill2);border-radius:999px;font-size:11px;padding:4px 10px}
html body .document-card{border-radius:14px;border:1px solid var(--line);background:var(--panel)}
html body .document-card:hover{background:var(--hover)}

/* Gumbi: macOS push gumbi */
html body :is(.primary,.secondary){border-radius:10px;font-size:13px;font-weight:600;padding:9px 16px;min-height:34px}
html body .secondary{border:0;background:var(--fill2)}
html body .secondary:hover{background:var(--fill)}
html body :is(button,a,[tabindex]):focus-visible{outline:none;box-shadow:0 0 0 4px var(--tint-soft),0 0 0 1.5px var(--green);border-radius:10px}

/* Kartice i stranice */
html body .page-view h1{font-size:34px;font-weight:700;letter-spacing:-.022em}
html body :is(.assistant-card,.pricing-card){border:1px solid var(--line);border-radius:18px;background:var(--panel)}
html body .lesson-row{border-bottom:1px solid var(--line);border-radius:0}
html body .pricing-card.delta{grid-column:1/-1;background:linear-gradient(135deg,var(--panel),var(--elev))}

/* Inspector (artifact) kao macOS panel */
html body .artifact{background:var(--side);-webkit-backdrop-filter:saturate(180%) blur(40px);backdrop-filter:saturate(180%) blur(40px);border-left:1px solid var(--line)}
html body .artifact-body textarea{font-size:13.5px;color:var(--text);opacity:.88}

/* Polja za unos */
html body :is(dialog input,dialog textarea,.studio-fields input,.studio-fields textarea){background:var(--fill2);border:1px solid transparent;border-radius:10px}
html body :is(dialog input,dialog textarea,.studio-fields input,.studio-fields textarea):focus{border-color:transparent;box-shadow:0 0 0 4px var(--tint-soft),0 0 0 1.5px var(--green)}

/* Dijalog: macOS sheet, tamni zastor bez teškog zamućenja */
html body dialog{border-radius:16px;border:0;background:var(--elev);box-shadow:var(--shadow)}
html body dialog::backdrop{background:rgba(0,0,0,.35);-webkit-backdrop-filter:none;backdrop-filter:none}
.sheet-grabber{display:none}

/* Toast kao iOS HUD */
html body .toast{background:rgba(44,44,46,.86);color:#fff;-webkit-backdrop-filter:blur(20px) saturate(180%);backdrop-filter:blur(20px) saturate(180%);border-radius:14px;font-weight:500}

/* Loading u istoj boji kao aplikacija */
html body .affluo-loading{background:#1c1c1e}

/* Tab bar (samo mobitel) */
.tabbar{display:none}
@media(max-width:700px){
  html body .topbar{height:52px}
  html body main{padding-bottom:calc(54px + env(safe-area-inset-bottom))}
  .tabbar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:4;height:calc(54px + env(safe-area-inset-bottom));padding:4px 6px env(safe-area-inset-bottom);
    background:var(--bar);-webkit-backdrop-filter:saturate(180%) blur(30px);backdrop-filter:saturate(180%) blur(30px);border-top:1px solid var(--line)}
  .tabbar button{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:10px;font-weight:500;color:var(--muted);border-radius:10px}
  .tabbar button svg{width:22px;height:22px}
  .tabbar button.active{color:var(--green)}
  body.light .tabbar button.active{color:#2f7d22}
  html body .artifact{z-index:6;bottom:0}
  html body .welcome h1{font-size:30px}
  html body .page-view h1{font-size:30px}
  /* iOS sheet odozdo, s ručkom */
  html body dialog{margin:auto 0 0;inset:auto 0 0 0;width:100%;max-width:100%;max-height:92dvh;border-radius:16px 16px 0 0;padding:30px 22px calc(26px + env(safe-area-inset-bottom));animation:sheet-up .42s var(--spring)}
  .sheet-grabber{display:block;position:absolute;top:8px;left:50%;width:36px;height:5px;margin-left:-18px;border-radius:3px;background:var(--fill)}
  body.menu-open main{filter:brightness(.55);transition:filter .3s var(--spring)}
}
@keyframes sheet-up{from{transform:translateY(100%)}to{transform:none}}
@media(prefers-reduced-motion:reduce){html body dialog{animation:none}body.menu-open main{transition:none}}

/* Svijetla tema: zelena na bijelom treba više kontrasta (ikone i tint) */
body.light .nav-item svg,body.light .suggestions svg,body.light .assistant-label svg{color:#2f8a24}

/* Izbor modela (Fons · Flumen · Mare) kao macOS segmentirana kontrola */
.model-seg{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:4px;background:var(--fill2);border-radius:12px;margin:10px 0 8px}
.model-seg button{display:flex;flex-direction:column;align-items:flex-start;gap:3px;padding:10px 12px;border-radius:9px;text-align:left;color:var(--text);transition:background-color .2s var(--spring),box-shadow .2s ease}
.model-seg button strong{font-size:13px;font-weight:600}
.model-seg button small{font-size:11px;color:var(--muted);line-height:1.3}
.model-seg button.active{background:var(--elev);box-shadow:0 1px 3px rgba(0,0,0,.25),0 0 0 .5px var(--line)}
.model-seg button.active strong{color:var(--green)}
body.light .model-seg button.active strong{color:#2f8a24}
.model-note{font-size:11px!important;color:var(--muted);margin:0 0 18px!important;line-height:1.5!important}
@media(max-width:480px){.model-seg{grid-template-columns:1fr}}

/* ===== Cook model: radni prostori, Lansiranje, početni panel, Istina, Feed ===== */
.ws-switch{display:flex;align-items:center;gap:10px;width:100%;padding:8px 10px;margin:-12px 0 14px;border-radius:12px;text-align:left;color:var(--text)}
.ws-switch:hover{background:var(--hover)}
.ws-avatar{width:30px;height:30px;border-radius:8px;display:grid;place-items:center;background:var(--fill);font-weight:600;font-size:13px;flex-shrink:0}
.ws-text{min-width:0;flex:1}.ws-text strong{display:block;font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ws-text small{display:block;font-size:11px;color:var(--muted);margin-top:1px}
.ws-switch svg{width:12px;color:var(--muted)}
.modal-agents button.current{background:var(--fill2)}
.ws-form{display:block}.ws-form .primary{margin-top:16px}
.nav-count.feed-count{background:var(--green);color:var(--green-text);border-radius:999px;padding:1px 7px;font-weight:600;font-size:11px}

.launch-card{display:block;width:100%;text-align:left;padding:10px 12px;border-radius:12px;background:var(--fill2);margin-top:14px}
.launch-card:hover{background:var(--fill)}
.launch-text{display:flex;justify-content:space-between;align-items:baseline;gap:8px}
.launch-text strong{font-size:12px;font-weight:600}.launch-text small{font-size:11px;color:var(--muted)}
.launch-bar{display:block;height:4px;border-radius:2px;background:var(--fill);margin-top:8px;overflow:hidden}
.launch-bar i{display:block;height:100%;border-radius:2px;background:var(--green);transition:width .5s var(--spring)}
.launch-step{display:flex;gap:14px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}
.launch-step>span{width:24px;height:24px;border-radius:50%;border:1.5px solid var(--line);display:grid;place-items:center;flex-shrink:0}
.launch-step.ok>span{background:var(--green);border-color:var(--green);color:var(--green-text)}
.launch-step.ok>span svg{width:13px;stroke-width:2.4}
.launch-step>div{flex:1}.launch-step strong{display:block;font-size:14px;font-weight:600}.launch-step small{color:var(--muted);font-size:12px}
.launch-step .secondary{flex-shrink:0}

html body .ctx-chip{border-radius:999px;background:var(--fill2);padding:5px 10px;font-size:12px;color:var(--muted);max-width:180px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .ctx-chip:hover{color:var(--text);background:var(--fill)}

.home-panel{margin:26px auto 0;width:100%}
.home-seg{display:inline-flex;gap:2px;padding:3px;border-radius:10px;background:var(--fill2);margin-bottom:14px}
.home-seg button{padding:6px 14px;border-radius:8px;font-size:12px;font-weight:500;color:var(--muted)}
.home-seg button.active{background:var(--elev);color:var(--text);box-shadow:0 1px 3px rgba(0,0,0,.2),0 0 0 .5px var(--line)}
.task-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.task-card{display:flex;flex-direction:column;gap:6px;text-align:left;padding:14px;border-radius:14px;background:var(--panel);border:1px solid var(--line);min-width:0}
.task-card:hover{background:var(--hover)}
.task-card strong{font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.task-card small{font-size:11px;color:var(--muted)}
.task-status{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--muted)}
.task-status i{width:6px;height:6px;border-radius:50%;background:var(--muted2)}
.task-status.done i{background:var(--green)}
.routine-list{border-radius:14px;background:var(--panel);border:1px solid var(--line);overflow:hidden}
.routine{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid var(--line);cursor:pointer}
.routine:last-child{border-bottom:0}
.routine strong{display:block;font-size:13px;font-weight:600}.routine small{font-size:11px;color:var(--muted)}
.routine input{appearance:none;-webkit-appearance:none;width:42px;height:25px;border-radius:999px;background:var(--fill);position:relative;flex-shrink:0;cursor:pointer;transition:background-color .25s var(--spring)}
.routine input::after{content:'';position:absolute;top:2px;left:2px;width:21px;height:21px;border-radius:50%;background:#fff;box-shadow:0 2px 5px rgba(0,0,0,.25);transition:transform .25s var(--spring)}
.routine input:checked{background:var(--green)}
.routine input:checked::after{transform:translateX(17px)}
.results-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.results-grid label{display:flex;flex-direction:column;gap:6px;padding:12px;border-radius:14px;background:var(--panel);border:1px solid var(--line)}
.results-grid small{font-size:11px;color:var(--muted)}
.results-grid input{background:transparent;border:0;outline:0;color:var(--text);font-size:24px;font-weight:600;width:100%;padding:0;font-variant-numeric:tabular-nums}
.home-note{font-size:11.5px;color:var(--muted);margin:10px 2px 0;line-height:1.5}
.home-empty{font-size:13px;color:var(--muted);padding:16px;border-radius:14px;background:var(--fill2);margin:0}

.truth-form{max-width:720px}
.truth-form label{display:block;font-size:12px;font-weight:600;color:var(--muted);margin:18px 0 7px}
.truth-form textarea{width:100%;background:var(--fill2);border:1px solid transparent;border-radius:12px;padding:12px 14px;color:var(--text);font-size:14px;line-height:1.5;resize:vertical;outline:0}
.truth-form textarea:focus{box-shadow:0 0 0 4px var(--tint-soft),0 0 0 1.5px var(--green)}
.truth-actions{display:flex;align-items:center;gap:14px;margin-top:20px}
.research-card{max-width:720px;margin-top:34px;padding:22px;border-radius:18px;background:var(--panel);border:1px solid var(--line)}
.research-card h2{font-size:20px;font-weight:600;letter-spacing:-.015em;margin:8px 0 12px}
.research-steps{margin:0 0 6px;padding-left:20px;color:var(--text);font-size:13px;line-height:1.9}
.research-card .secondary{margin-top:14px}

.feed-list{max-width:720px;border-radius:16px;background:var(--panel);border:1px solid var(--line);overflow:hidden}
.feed-item{display:flex;gap:12px;align-items:flex-start;padding:13px 16px;border-bottom:1px solid var(--line)}
.feed-item:last-child{border-bottom:0}
.feed-item strong{display:block;font-size:13px;font-weight:500}.feed-item small{font-size:11px;color:var(--muted)}
.feed-dot{width:8px;height:8px;border-radius:50%;background:var(--muted2);margin-top:6px;flex-shrink:0}
.feed-dot.doc,.feed-dot.truth{background:var(--green)}.feed-dot.research{background:#64d2ff}.feed-dot.routine{background:#ffd60a}.feed-dot.ws{background:#bf5af2}

.tabbar .tab-badge{position:absolute;margin:-2px 0 0 18px;min-width:16px;height:16px;padding:0 4px;border-radius:8px;background:#ff453a;color:#fff;font-size:10px;font-weight:600;display:grid;place-items:center}
.tabbar button{position:relative}
@media(max-width:700px){.task-grid{grid-template-columns:1fr}.results-grid{grid-template-columns:repeat(2,1fr)}.home-panel{margin-top:18px}.ws-switch{margin-top:0}}

/* Prazan razgovor s panelom Zadaci/Rutine/Rezultati: stranica se skrola, ništa se ne preklapa */
html body .chat-workspace:has(.welcome:not([hidden])){justify-content:flex-start;overflow-y:auto;padding-top:max(4vh,24px)}
html body .chat-workspace:has(.welcome:not([hidden])) .chat-scroll{flex:0 0 auto;overflow:visible}
html body .chat-workspace:has(.welcome:not([hidden])) .welcome{padding-bottom:26px}
html body .chat-workspace:has(.welcome:not([hidden])) .composer-zone{padding-bottom:28px;flex-shrink:0}
@media(max-width:700px){html body .assistant-selector>span:first-of-type{max-width:118px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}html body .assistant-selector{white-space:nowrap}}

/* ===================== PREMIUM PROLAZ (7.10.) =====================
   Jednobojno. Zelena samo za stanje (napredak, spremljeno), ne za ukrase.
   Manje okvira i kartica; hijerarhija iz razmaka i težine slova. */
:root{--ink:#ececec;--soft:rgba(235,235,245,.5);--hair:rgba(255,255,255,.08);--surface:#232325}
body.light{--ink:#1d1d1f;--soft:rgba(60,60,67,.55);--hair:rgba(0,0,0,.08);--surface:#ffffff}
html body svg{stroke-width:1.75}

/* Sidebar: mirno, bez brojki i ukrasa */
html body .nav-item{color:var(--soft);opacity:1;font-weight:500;gap:11px}
html body .nav-item svg{color:currentColor;opacity:1;width:17px;height:17px}
html body .nav-item:hover{color:var(--ink);background:var(--hair)}
html body .nav-item.active{color:var(--ink);background:var(--hair);box-shadow:none}
html body .nav-count:not(.feed-count){display:none}
html body .nav-count.feed-count{background:var(--hair);color:var(--ink);font-weight:600}
html body .brand-ai{color:var(--soft);font-weight:500;letter-spacing:.02em}
html body .ws-switch{border:1px solid var(--hair);margin:-10px 0 12px}
html body .ws-avatar{background:var(--ink);color:var(--bg);border-radius:7px}
html body .new-chat{background:transparent;border:1px solid var(--hair);color:var(--ink)}
html body .new-chat:hover{background:var(--hair)}
html body .shortcut{color:var(--soft)}
html body .recent .eyebrow{font-size:11px;letter-spacing:.02em;text-transform:none;font-weight:600;color:var(--soft)}
html body .history-item{color:var(--soft);font-size:13px}
html body .launch-card{background:transparent;border:1px solid var(--hair)}
html body .launch-text strong{font-weight:600}
html body .launch-bar{height:3px;background:var(--hair)}
html body .founder-card{background:transparent;padding:6px 10px;margin:6px 0;border-radius:10px}
html body .founder-card:hover{background:var(--hair)}
html body .founder-card img{width:26px;height:26px}
html body .founder-card small{display:none}
html body .founder-card strong{font-size:13px;font-weight:500}
html body .account{display:none}
html body .sidebar-bottom{display:flex;flex-direction:column;gap:2px;border-top:1px solid var(--hair);padding-top:10px}
html body .plans-link{display:flex;align-items:center;gap:10px;padding:7px 10px;border-radius:8px;font-size:13px;color:var(--soft);margin:0}
html body .plans-link:hover{background:var(--hair);color:var(--ink)}
html body .bottom-tools{padding:6px 10px 0;gap:14px}
html body .bottom-tools button{font-size:12px;color:var(--soft)}
html body .bottom-tools button:hover{color:var(--ink)}

/* Gornja traka: bez pozadinskih pilula */
html body .assistant-selector{background:transparent;padding:6px 8px;font-size:14px}
html body .assistant-selector:hover{background:var(--hair)}
html body .prototype-tag{background:transparent;border:1px solid var(--hair);color:var(--soft);font-size:11px;padding:3px 9px}
html body .prototype-tag i{display:none}

/* Dobrodošlica: pozdrav kao u Claude/ChatGPT aplikaciji */
html body .welcome{padding:0 20px 30px;min-height:0}
html body .greet{display:flex;align-items:center;justify-content:center;gap:14px}
html body .greet .welcome-mark{width:40px;height:40px;margin:0}
html body .greet .welcome-mark img{width:162px;height:162px;left:-60px;top:-35px}
html body .greet h1{margin:0;font-size:40px;font-weight:600;letter-spacing:-.03em;line-height:1.1}
html body .chat-workspace:has(.welcome:not([hidden])){padding-top:max(16vh,60px)}

/* Polje za pisanje: tiho, bez zelenog sjaja */
html body .composer{background:var(--surface);border:1px solid var(--hair);border-radius:26px;box-shadow:0 1px 1px rgba(0,0,0,.2),0 10px 40px rgba(0,0,0,.22);padding:16px 16px 12px}
body.light .composer{box-shadow:0 1px 2px rgba(0,0,0,.06),0 10px 40px rgba(0,0,0,.06)}
html body .composer:focus-within{border-color:rgba(255,255,255,.16);box-shadow:0 1px 1px rgba(0,0,0,.2),0 14px 48px rgba(0,0,0,.3)}
body.light .composer:focus-within{border-color:rgba(0,0,0,.16)}
html body .composer textarea{font-size:16px}
html body .composer textarea::placeholder{color:var(--soft)}
html body .composer-hint,html body .ctx-chip{display:none}
html body .agent-button{background:transparent;border:1px solid var(--hair);color:var(--soft);font-size:13px}
html body .agent-button:hover{color:var(--ink);background:var(--hair)}
html body #attach{border:1px solid var(--hair);border-radius:999px;width:32px;height:32px}
html body .send-button{background:var(--ink);color:var(--bg);width:34px;height:34px;box-shadow:none}
html body .send-button:hover{transform:none;opacity:.88;box-shadow:none}
html body .send-button svg{width:18px;height:18px;stroke-width:2.2}

/* Prijedlozi: obični tekstualni gumbi */
html body .suggestions{gap:8px;margin-top:16px}
html body .suggestions svg{display:none}
html body .suggestions button{background:transparent;border:1px solid var(--hair);color:var(--soft);font-size:13px;padding:8px 14px}
html body .suggestions button:hover{color:var(--ink);background:var(--hair)}
html body .demo-note{display:none}

/* Zadaci / Rutine / Rezultati: lista umjesto kartica */
html body .home-panel{margin-top:40px}
html body .home-seg{background:transparent;padding:0;gap:18px;border-bottom:1px solid var(--hair);border-radius:0;margin-bottom:6px;display:flex}
html body .home-seg button{background:transparent!important;box-shadow:none!important;border-radius:0;padding:8px 0;color:var(--soft);border-bottom:1.5px solid transparent;margin-bottom:-1px;font-size:13px}
html body .home-seg button.active{color:var(--ink);border-bottom-color:var(--ink)}
html body .task-grid{display:flex;flex-direction:column;gap:0}
html body .task-card{flex-direction:row;align-items:center;justify-content:space-between;background:transparent;border:0;border-bottom:1px solid var(--hair);border-radius:0;padding:13px 2px}
html body .task-card:hover{background:transparent}
html body .task-card:hover strong{color:var(--ink);text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--soft)}
html body .task-card strong{order:1;font-weight:500;font-size:14px;flex:1;min-width:0}
html body .task-card small{order:2;color:var(--soft);font-size:12px;margin-left:16px;white-space:nowrap}
html body .task-status{order:3;margin-left:16px;white-space:nowrap}
html body .routine-list,html body .results-grid label{background:transparent;border-color:var(--hair)}
html body .home-empty{background:transparent;padding:14px 2px;color:var(--soft)}
html body .home-note{color:var(--soft)}

/* Poruke: asistent bez ikone u boji */
html body .assistant-label{color:var(--soft);font-weight:500}
html body .source-pill{background:transparent;border:1px solid var(--hair)}
html body .document-card{background:var(--surface);border-color:var(--hair)}

/* Gumbi: primarni crno/bijeli; zelena samo za Spremi */
html body .primary{background:var(--ink);color:var(--bg)}
html body #artifact-save,html body .truth-actions .primary{background:var(--green);color:var(--green-text)}
html body .secondary{background:transparent;border:1px solid var(--hair);color:var(--ink)}
html body .secondary:hover{background:var(--hair)}

/* Kartice odjela i cijena: bez kutija oko svega */
html body .assistant-card,html body .pricing-card{background:transparent;border-color:var(--hair)}
html body .assistant-card:hover{background:var(--hair);transform:none}
html body .agent-glyph{color:var(--soft)}

@media(max-width:700px){html body .greet h1{font-size:30px}html body .greet .welcome-mark{width:32px;height:32px}html body .greet .welcome-mark img{width:130px;height:130px;left:-48px;top:-28px}html body .chat-workspace:has(.welcome:not([hidden])){padding-top:9vh}html body .tabbar button.active{color:var(--ink)}html body .task-card small{display:none}}
html body.light .nav-item svg,html body.light .suggestions svg,html body.light .assistant-label svg{color:currentColor}
