/* ------------------------------------------------------------------------
   Izveštaji — interface

   The palette, the type and the rhythm are taken from the report this tool
   produces: warm paper, near-black ink, one amber accent, and green or red
   only where a figure genuinely points up or down. The intention is that the
   screen and the PDF read as one piece of work rather than a tool and its
   output.
   --------------------------------------------------------------------- */

:root {
    --paper:        #fbf9f4;
    --paper-2:      #f6f2e8;
    --paper-3:      #f0ebdf;
    --card:         #ffffff;
    --rule:         #eae5d9;
    --rule-strong:  #ddd6c6;

    --ink:          #14171e;
    --ink-2:        #23262e;
    --ink-3:        #3b414c;
    --slate:        #4a515d;
    --slate-2:      #5a6472;
    --muted:        #6b7280;

    --amber:        #b5741a;
    --amber-deep:   #7a570f;
    --amber-wash:   #fdf7e9;
    --green:        #146540;
    --green-deep:   #0d5e3a;
    --green-wash:   #eef6f1;
    --red:          #8e2419;
    --red-wash:     #fbf0ee;

    --radius:       12px;
    --radius-sm:    8px;
    --shadow:       0 1px 2px rgba(20, 23, 30, .04), 0 8px 24px rgba(20, 23, 30, .05);
    --shadow-lift:  0 2px 6px rgba(20, 23, 30, .06), 0 16px 40px rgba(20, 23, 30, .09);

    --sans: "Helvetica Neue", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    --mono: "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

    --sidebar: 318px;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    font-family: var(--sans);
    background: var(--paper);
    color: var(--ink-2);
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0; font-weight: 600; color: var(--ink); }
h1 { font-size: 27px; letter-spacing: -.024em; }
h2 { font-size: 20px; letter-spacing: -.018em; }
h3 { font-size: 16px; letter-spacing: -.012em; }
p  { margin: 0 0 12px; }
a  { color: var(--amber-deep); }

.label {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}

.mono { font-family: var(--mono); font-size: .92em; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.tight { letter-spacing: -.01em; }
.up { color: var(--green-deep); }
.down { color: var(--red); }

/* ---------------------------------------------------------------- login */

.login-wrap {
    min-height: 100%;
    display: grid;
    place-items: center;
    padding: 40px 20px;
    background:
        radial-gradient(1200px 600px at 50% -10%, #ffffff 0%, rgba(255,255,255,0) 60%),
        var(--paper-2);
}

.login-card {
    width: 100%;
    max-width: 392px;
    background: var(--card);
    border: 1px solid var(--rule);
    border-radius: 16px;
    box-shadow: var(--shadow-lift);
    padding: 36px 34px 30px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 26px;
}

.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: linear-gradient(160deg, var(--ink) 0%, var(--slate) 100%);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: -.02em;
    flex: none;
}

.brand-text { line-height: 1.25; }
.brand-text strong { display: block; font-size: 15px; letter-spacing: -.015em; color: var(--ink); }
.brand-text span { font-size: 11.5px; color: var(--muted); }

/* ---------------------------------------------------------------- forms */

.field { margin-bottom: 15px; }

.field > label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink-3);
    margin-bottom: 6px;
    letter-spacing: -.005em;
}

.field .note {
    font-size: 12px;
    color: var(--muted);
    margin-top: 5px;
    line-height: 1.45;
}

input[type=text], input[type=password], input[type=number], input[type=url],
textarea, select {
    width: 100%;
    font-family: var(--sans);
    font-size: 14.5px;
    color: var(--ink);
    background: var(--card);
    border: 1px solid var(--rule-strong);
    border-radius: var(--radius-sm);
    padding: 9px 11px;
    outline: none;
    transition: border-color .14s ease, box-shadow .14s ease, background .14s ease;
}

textarea { line-height: 1.5; resize: vertical; min-height: 74px; }

input:focus, textarea:focus, select:focus {
    border-color: var(--amber);
    box-shadow: 0 0 0 3px rgba(181, 116, 26, .13);
}

input::placeholder, textarea::placeholder { color: #a9a396; }
input:disabled, textarea:disabled, select:disabled { background: var(--paper-3); color: var(--muted); }

.row { display: flex; gap: 12px; }
.row > * { flex: 1; min-width: 0; }

/* -------------------------------------------------------------- buttons */

button, .btn {
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 550;
    letter-spacing: -.008em;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    padding: 9px 16px;
    cursor: pointer;
    transition: background .14s ease, border-color .14s ease, transform .06s ease, box-shadow .14s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    white-space: nowrap;
}

button:active:not(:disabled), .btn:active { transform: translateY(1px); }

.btn-primary {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
    box-shadow: 0 1px 2px rgba(20,23,30,.16);
}
.btn-primary:hover:not(:disabled) { background: #000; }

.btn-secondary {
    background: var(--card);
    color: var(--ink-2);
    border-color: var(--rule-strong);
}
.btn-secondary:hover:not(:disabled) { background: var(--paper-2); border-color: #cfc7b4; }

.btn-ghost {
    background: transparent;
    color: var(--slate-2);
    border-color: transparent;
    padding: 6px 9px;
}
.btn-ghost:hover:not(:disabled) { background: var(--paper-3); color: var(--ink-2); }

.btn-danger { background: var(--card); color: var(--red); border-color: #e9d5d1; }
.btn-danger:hover:not(:disabled) { background: var(--red-wash); }

.btn-wide { width: 100%; }
.btn-lg { padding: 12px 20px; font-size: 15px; }

button:disabled, .btn.is-disabled { opacity: .45; cursor: not-allowed; }

/* --------------------------------------------------------------- layout */

.shell {
    display: grid;
    grid-template-columns: var(--sidebar) minmax(0, 1fr);
    min-height: 100vh;
}

.sidebar {
    background: var(--paper-2);
    border-right: 1px solid var(--rule);
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: sticky;
    top: 0;
    overflow: hidden;
}

.sidebar-head { padding: 20px 20px 14px; border-bottom: 1px solid var(--rule); }
.sidebar-scroll { flex: 1; overflow-y: auto; padding: 16px 14px 24px; }
/* Name over buttons, not beside them. Side by side, three buttons and a
   display name never both fit in a 318px rail: the name either overflowed
   through them or was cut to "Ad…". Stacking gives the name the full width. */
.sidebar-foot {
    border-top: 1px solid var(--rule);
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 9px;
    background: var(--paper-2);
}

.main { min-width: 0; padding: 34px 44px 90px; max-width: 1020px; }

.page-head { margin-bottom: 26px; }
.page-head p { color: var(--slate-2); max-width: 66ch; margin-top: 7px; }

/* ------------------------------------------------------- report types */

.types { display: grid; gap: 9px; margin: 14px 0 20px; }

/* Both of these are <button>, and the button rule above sets nowrap so that
   labels never break mid-phrase. These two carry sentences, not labels, so
   they take the wrapping back — without it the description runs straight out
   of the sidebar. */
.type-card, .run { white-space: normal; }

.type-card {
    text-align: left;
    background: var(--card);
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    padding: 12px 13px;
    display: block;
    width: 100%;
    transition: border-color .14s ease, box-shadow .14s ease, background .14s ease;
}
.type-card:hover:not(:disabled) { border-color: var(--rule-strong); box-shadow: var(--shadow); }
.type-card.is-active { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.type-card:disabled { background: var(--paper-3); opacity: 1; }

.type-card .t-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.type-card .t-name { font-weight: 600; font-size: 14px; color: var(--ink); letter-spacing: -.012em; }
.type-card .t-desc { font-size: 12px; color: var(--muted); margin-top: 3px; line-height: 1.4; }

.pill {
    font-size: 10px;
    font-weight: 650;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 3px 7px;
    border-radius: 999px;
    background: var(--paper-3);
    color: var(--slate-2);
    border: 1px solid var(--rule);
    white-space: nowrap;
}
.pill-amber { background: var(--amber-wash); color: var(--amber-deep); border-color: #f0e2c4; }
.pill-green { background: var(--green-wash); color: var(--green-deep); border-color: #cfe6da; }
.pill-red   { background: var(--red-wash);   color: var(--red);        border-color: #eed6d1; }

/* ------------------------------------------------------ saved reports */

.day-group { margin-bottom: 16px; }

.day-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 0 6px 7px;
}
.day-head .d-name { font-size: 12px; font-weight: 650; color: var(--ink-3); letter-spacing: -.005em; }
.day-head .d-count { font-size: 11px; color: var(--muted); }

.run {
    width: 100%;
    text-align: left;
    background: var(--card);
    border: 1px solid var(--rule);
    border-radius: 10px;
    padding: 9px 11px;
    margin-bottom: 6px;
    display: block;
    transition: border-color .14s ease, box-shadow .14s ease;
}
.run:hover { border-color: var(--rule-strong); box-shadow: var(--shadow); }
.run.is-active { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }

.run .r-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.run .r-title { font-size: 13px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.run .r-meta { font-size: 11.5px; color: var(--muted); margin-top: 2px; display: flex; gap: 7px; align-items: center; }
.run .r-lock { font-size: 11px; color: var(--amber-deep); }

.empty-note {
    font-size: 12.5px;
    color: var(--muted);
    background: var(--card);
    border: 1px dashed var(--rule-strong);
    border-radius: var(--radius);
    padding: 16px 14px;
    text-align: center;
    line-height: 1.5;
}

/* ---------------------------------------------------------------- cards */

.card {
    background: var(--card);
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    padding: 22px 24px;
    margin-bottom: 18px;
    box-shadow: var(--shadow);
}

.card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}
.card-head p { color: var(--slate-2); font-size: 13.5px; margin: 6px 0 0; max-width: 62ch; }

.step-no {
    width: 23px; height: 23px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-size: 11.5px;
    font-weight: 650;
    display: inline-grid;
    place-items: center;
    margin-right: 9px;
    vertical-align: 2px;
}
.step-no.is-done { background: var(--green-deep); }
.step-no.is-idle { background: var(--rule-strong); color: var(--slate-2); }

/* ------------------------------------------------------------ KPI grid */

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }

.kpi {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 10px;
    padding: 13px 14px;
}
.kpi .k-label { font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.kpi .k-value { font-size: 22px; font-weight: 600; letter-spacing: -.026em; color: var(--ink); margin-top: 5px; font-variant-numeric: tabular-nums; }
.kpi .k-sub { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.kpi.tint-amber { background: var(--amber-wash); border-color: #f2e6cd; }
.kpi.tint-green { background: var(--green-wash); border-color: #d5e8de; }
.kpi.tint-red   { background: var(--red-wash);   border-color: #f0dcd8; }

/* ------------------------------------------------------------- tables */

table.grid { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.grid th {
    text-align: left;
    font-size: 10.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 600;
    padding: 0 10px 7px;
    border-bottom: 1px solid var(--rule);
}
table.grid td { padding: 9px 10px; border-bottom: 1px solid var(--rule); color: var(--ink-3); }
table.grid tr:last-child td { border-bottom: none; }
table.grid td.num { text-align: right; font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------- tabs */

.tabs {
    display: flex;
    gap: 2px;
    border-bottom: 1px solid var(--rule);
    margin: 0 0 20px;
    overflow-x: auto;
    scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }

.tab {
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    padding: 9px 13px;
    font-size: 13.5px;
    font-weight: 550;
    color: var(--muted);
    letter-spacing: -.008em;
    transition: color .14s ease, border-color .14s ease;
    margin-bottom: -1px;
}
.tab:hover:not(.is-active) { color: var(--ink-3); }
.tab.is-active { color: var(--ink); border-bottom-color: var(--ink); }

.tab-panel { animation: fade .18s ease both; }

.auto-preview { color: var(--slate-2); font-style: italic; }

/* ------------------------------------------------------ key/value rows */

.kv-row { display: flex; gap: 8px; align-items: center; }
.kv-row .kv-key { max-width: 210px; }
.kv-row .kv-arrow { color: var(--muted); flex: none; font-size: 13px; }

.order-buttons { display: flex; flex-direction: column; gap: 1px; flex: none; }
.order-buttons button {
    padding: 0 6px;
    font-size: 10px;
    line-height: 1.35;
    background: transparent;
    border: 1px solid transparent;
    color: var(--muted);
    border-radius: 4px;
}
.order-buttons button:hover:not(:disabled) { background: var(--paper-3); color: var(--ink); }

/* ------------------------------------------------- wording of a report */

.wording-list {
    max-height: 340px;
    overflow-y: auto;
    border: 1px solid var(--rule);
    border-radius: var(--radius-sm);
    background: var(--paper);
}

.wording-item {
    display: block;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--rule);
    border-radius: 0;
    padding: 8px 12px;
    font-size: 13px;
    color: var(--ink-3);
    white-space: normal;
    transition: background .12s ease;
}
.wording-item:last-child { border-bottom: none; }
.wording-item:hover { background: var(--amber-wash); color: var(--ink); }
.wording-item.is-replaced { background: var(--green-wash); color: var(--green-deep); }

/* ----------------------------------------------------------- questions */

.question {
    border: 1px solid #f0e2c4;
    background: var(--amber-wash);
    border-radius: var(--radius);
    padding: 15px 16px;
    margin-bottom: 11px;
}
.question.is-advisory { border-color: var(--rule); background: var(--paper); }
.question.is-answered { border-color: #cfe6da; background: var(--green-wash); }

.question .q-title { font-weight: 600; font-size: 14.5px; color: var(--ink); letter-spacing: -.012em; }
.question .q-why { font-size: 13px; color: var(--slate); margin-top: 6px; line-height: 1.5; }
.question .q-answer { margin-top: 11px; display: flex; gap: 8px; align-items: flex-start; }
.question .q-answer input { flex: 1; }
.question .q-hint { font-size: 11.5px; color: var(--muted); margin-top: 6px; }

/* ---------------------------------------------------------- ask panel */

.ask {
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    background: var(--paper);
    padding: 16px 17px;
}
.ask-row { display: flex; gap: 8px; }
.ask-row input { flex: 1; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 11px; }
.chip {
    font-size: 12px;
    background: var(--card);
    border: 1px solid var(--rule-strong);
    color: var(--slate);
    border-radius: 999px;
    padding: 5px 11px;
    cursor: pointer;
    transition: background .13s ease, border-color .13s ease, color .13s ease;
}
.chip:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

.answer-box {
    margin-top: 12px;
    background: var(--card);
    border: 1px solid var(--rule);
    border-left: 3px solid var(--ink);
    border-radius: var(--radius-sm);
    padding: 13px 15px;
}
.answer-box.is-missing { border-left-color: var(--amber); }
.answer-box .a-q { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.answer-box .a-a { font-size: 14.5px; color: var(--ink); line-height: 1.5; }
.answer-box .a-src { font-size: 11.5px; color: var(--muted); margin-top: 7px; font-family: var(--mono); }

/* -------------------------------------------------------- verification */

.verify { border-radius: var(--radius); padding: 16px 18px; border: 1px solid; }
.verify.pass { background: var(--green-wash); border-color: #cfe6da; }
.verify.fail { background: var(--red-wash); border-color: #eed6d1; }
.verify h3 { font-size: 15px; }
.verify.pass h3 { color: var(--green-deep); }
.verify.fail h3 { color: var(--red); }

.check { display: flex; gap: 9px; padding: 6px 0; font-size: 13px; align-items: flex-start; }
.check .c-mark { flex: none; width: 15px; font-weight: 700; }
.check.ok .c-mark { color: var(--green-deep); }
.check.no .c-mark { color: var(--red); }
.check.warn .c-mark { color: var(--amber-deep); }
.check .c-detail { color: var(--muted); font-size: 12px; }

/* ------------------------------------------------------------- banner */

.banner {
    border-radius: var(--radius-sm);
    padding: 11px 14px;
    font-size: 13.5px;
    margin-bottom: 16px;
    border: 1px solid;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.banner-amber { background: var(--amber-wash); border-color: #f0e2c4; color: var(--amber-deep); }
.banner-red   { background: var(--red-wash);   border-color: #eed6d1; color: var(--red); }
.banner-ink   { background: var(--ink); border-color: var(--ink); color: #fff; }

/* -------------------------------------------------------------- modal */

.modal-back {
    position: fixed;
    inset: 0;
    background: rgba(20, 23, 30, .38);
    backdrop-filter: blur(2px);
    display: grid;
    place-items: center;
    padding: 24px;
    z-index: 60;
}

.modal {
    background: var(--card);
    border-radius: 15px;
    box-shadow: var(--shadow-lift);
    width: 100%;
    max-width: 560px;
    max-height: 86vh;
    overflow: auto;
    padding: 26px 28px;
}
.modal h2 { margin-bottom: 4px; }
.modal .m-sub { color: var(--slate-2); font-size: 13.5px; margin-bottom: 18px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 20px; }

/* ------------------------------------------------------------ spinner */

.spinner {
    width: 15px; height: 15px;
    border: 2px solid rgba(255,255,255,.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .7s linear infinite;
}
.spinner.dark { border-color: rgba(20,23,30,.2); border-top-color: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }

.fade-in { animation: fade .22s ease both; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* -------------------------------------------------------------- misc */

.hidden { display: none !important; }
.stack > * + * { margin-top: 14px; }
.divider { height: 1px; background: var(--rule); margin: 18px 0; border: 0; }

/* `min-width: 0` alone does not shrink a flex child whose text cannot wrap —
   it only permits it. The ellipsis rules below are the backstop for a name
   long enough to overrun even the full width of the rail. */
.who {
    display: flex; align-items: center; gap: 9px;
    flex: none; min-width: 0; overflow: hidden;
}
.who .w-dot {
    width: 27px; height: 27px; border-radius: 999px; flex: none;
    background: var(--ink); color: #fff;
    display: grid; place-items: center; font-size: 11px; font-weight: 650;
}
.who .w-name, .who .w-role {
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.who .w-name { font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.who .w-role { font-size: 11px; color: var(--muted); }

.toast {
    position: fixed;
    right: 20px; bottom: 20px;
    background: var(--ink);
    color: #fff;
    padding: 11px 16px;
    border-radius: 10px;
    font-size: 13.5px;
    box-shadow: var(--shadow-lift);
    z-index: 80;
    max-width: 380px;
}
.toast.is-error { background: var(--red); }

@media (max-width: 900px) {
    .shell { grid-template-columns: 1fr; }
    .sidebar { position: static; height: auto; max-height: none; }
    .main { padding: 24px 20px 70px; }
}


/* ------------------------------------------------- prelazak među alatima */

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.apps {
    display: inline-flex;
    gap: 2px;
    padding: 3px;
    background: var(--paper-3, #f2eee4);
    border: 1px solid var(--rule);
    border-radius: var(--radius-sm);
}

.app-tab {
    padding: 7px 15px;
    border-radius: 6px;
    font-size: 13.5px;
    font-weight: 550;
    color: var(--muted);
    text-decoration: none;
    transition: background .15s, color .15s;
}

.app-tab:hover { color: var(--ink); }

.app-tab.is-active {
    background: var(--card);
    color: var(--ink);
    box-shadow: 0 1px 2px rgba(20, 23, 30, .06);
}


/* -------------------------------------------------------------------------
   Doterivanje pred predaju klijentu
   ---------------------------------------------------------------------- */

/* Sadržaj je bio zakačen levo na širokim ekranima: `max-width` bez
   centriranja znači prazna desna polovina na monitoru od 27 inča. */
.main { margin: 0 auto; }

/* Vidljiv fokus za tastaturu. Bez ovoga se kroz formu ne može proći bez miša —
   a to nije samo neudobno nego i pravni zahtev za sajt koji se prodaje.
   `:focus-visible`, ne `:focus`, da se prsten ne pojavljuje na klik mišem. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--amber);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Preskoči na sadržaj — prva stanica tastature na svakoj strani. Bez toga se
   kroz celu bočnu traku prolazi pri svakom učitavanju. */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 8px;
    z-index: 100;
    padding: 10px 16px;
    background: var(--ink);
    color: #fff;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 550;
}

.skip-link:focus { left: 8px; }

/* Ko je isključio animacije u sistemu, isključio ih je i ovde. Pulsiranje
   tačke i klizanje trake su ukras, ne informacija. */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
}

/* Štampa: bočna traka i dugmad ne idu na papir. */
@media print {
    .sidebar, .topbar, .row-actions, .btn, button { display: none !important; }
    .main { padding: 0; max-width: none; }
    .card { box-shadow: none; border: 1px solid #ddd; }
}
